limitng 0.22.26 → 0.22.28
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.
- package/fesm2022/limitng-alt-buyuk-kart.mjs +191 -37
- package/fesm2022/limitng-alt-buyuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-alt-kucuk-kart.mjs +157 -32
- package/fesm2022/limitng-alt-kucuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-api-models-bildirimler.mjs +41 -45
- package/fesm2022/limitng-api-models-bildirimler.mjs.map +1 -1
- package/fesm2022/limitng-api-models-enums.mjs +345 -350
- package/fesm2022/limitng-api-models-enums.mjs.map +1 -1
- package/fesm2022/limitng-api-models-fourDConstants.mjs +84 -88
- package/fesm2022/limitng-api-models-fourDConstants.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-izinislemleri-izindetaylari.mjs +25 -30
- package/fesm2022/limitng-api-models-kisisel-izinislemleri-izindetaylari.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-izinislemleri-izinfiltre.mjs +17 -22
- package/fesm2022/limitng-api-models-kisisel-izinislemleri-izinfiltre.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-izinislemleri-izinguncelle.mjs +0 -4
- package/fesm2022/limitng-api-models-kisisel-izinislemleri-izinliste.mjs +28 -32
- package/fesm2022/limitng-api-models-kisisel-izinislemleri-izinliste.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-izinislemleri.mjs +1 -5
- package/fesm2022/limitng-api-models-kisisel-izinislemleri.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri-masrafdetaylari.mjs +61 -66
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri-masrafdetaylari.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri-masraffiltre.mjs +18 -23
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri-masraffiltre.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri-masrafguncelle.mjs +0 -4
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri-masrafliste.mjs +47 -51
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri-masrafliste.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri.mjs +1 -5
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-onayislemleri-onaydetaylari.mjs +47 -51
- package/fesm2022/limitng-api-models-kisisel-onayislemleri-onaydetaylari.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-onayislemleri-onayfiltre.mjs +37 -42
- package/fesm2022/limitng-api-models-kisisel-onayislemleri-onayfiltre.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-onayislemleri-onayguncelle.mjs +11 -15
- package/fesm2022/limitng-api-models-kisisel-onayislemleri-onayguncelle.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-onayislemleri-onayliste.mjs +37 -41
- package/fesm2022/limitng-api-models-kisisel-onayislemleri-onayliste.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel-onayislemleri.mjs +1 -5
- package/fesm2022/limitng-api-models-kisisel-onayislemleri.mjs.map +1 -1
- package/fesm2022/limitng-api-models-kisisel.mjs +1 -5
- package/fesm2022/limitng-api-models-kisisel.mjs.map +1 -1
- package/fesm2022/limitng-api-models-logbook.mjs +130 -135
- package/fesm2022/limitng-api-models-logbook.mjs.map +1 -1
- package/fesm2022/limitng-api-models-login.mjs +61 -79
- package/fesm2022/limitng-api-models-login.mjs.map +1 -1
- package/fesm2022/limitng-api-models-onay-onayagonderdetaylari.mjs +57 -61
- package/fesm2022/limitng-api-models-onay-onayagonderdetaylari.mjs.map +1 -1
- package/fesm2022/limitng-api-models-onay-onaybilgi.mjs +0 -4
- package/fesm2022/limitng-api-models-onay.mjs +1 -5
- package/fesm2022/limitng-api-models-onay.mjs.map +1 -1
- package/fesm2022/limitng-api-models-ortak.mjs +169 -178
- package/fesm2022/limitng-api-models-ortak.mjs.map +1 -1
- package/fesm2022/limitng-api-models-ozet-ozetdata.mjs +0 -4
- package/fesm2022/limitng-api-models-ozet-ozetkartalan.mjs +0 -4
- package/fesm2022/limitng-api-models-ozet.mjs +1 -5
- package/fesm2022/limitng-api-models-ozet.mjs.map +1 -1
- package/fesm2022/limitng-api-models-raporlar-izinraporu-izinrapordetaylari.mjs +9 -13
- package/fesm2022/limitng-api-models-raporlar-izinraporu-izinrapordetaylari.mjs.map +1 -1
- package/fesm2022/limitng-api-models-raporlar-izinraporu-izinraporliste.mjs +21 -26
- package/fesm2022/limitng-api-models-raporlar-izinraporu-izinraporliste.mjs.map +1 -1
- package/fesm2022/limitng-api-models-raporlar-izinraporu.mjs +1 -5
- package/fesm2022/limitng-api-models-raporlar-izinraporu.mjs.map +1 -1
- package/fesm2022/limitng-api-models-raporlar-listedensec.mjs +32 -30
- package/fesm2022/limitng-api-models-raporlar-listedensec.mjs.map +1 -1
- package/fesm2022/limitng-api-models-raporlar-rapordetaylari.mjs +75 -79
- package/fesm2022/limitng-api-models-raporlar-rapordetaylari.mjs.map +1 -1
- package/fesm2022/limitng-api-models-raporlar-raporzamanlama.mjs +43 -47
- package/fesm2022/limitng-api-models-raporlar-raporzamanlama.mjs.map +1 -1
- package/fesm2022/limitng-api-models-raporlar-tablodansec.mjs +22 -26
- package/fesm2022/limitng-api-models-raporlar-tablodansec.mjs.map +1 -1
- package/fesm2022/limitng-api-models-raporlar.mjs +1 -5
- package/fesm2022/limitng-api-models-raporlar.mjs.map +1 -1
- package/fesm2022/limitng-api-models-sistemozet.mjs +192 -196
- package/fesm2022/limitng-api-models-sistemozet.mjs.map +1 -1
- package/fesm2022/limitng-api-models-sistemraporlari.mjs +9 -14
- package/fesm2022/limitng-api-models-sistemraporlari.mjs.map +1 -1
- package/fesm2022/limitng-api-models-timeSheet-timeSheetGirisListeler.mjs +315 -320
- package/fesm2022/limitng-api-models-timeSheet-timeSheetGirisListeler.mjs.map +1 -1
- package/fesm2022/limitng-api-models-timeSheet-timeSheetLog.mjs +15 -19
- package/fesm2022/limitng-api-models-timeSheet-timeSheetLog.mjs.map +1 -1
- package/fesm2022/limitng-api-models-timeSheet-timeSheetOzetListe.mjs +24 -29
- package/fesm2022/limitng-api-models-timeSheet-timeSheetOzetListe.mjs.map +1 -1
- package/fesm2022/limitng-api-models-timeSheet-timeSheetSecenekler.mjs +32 -36
- package/fesm2022/limitng-api-models-timeSheet-timeSheetSecenekler.mjs.map +1 -1
- package/fesm2022/limitng-api-models-timeSheet.mjs +1 -5
- package/fesm2022/limitng-api-models-timeSheet.mjs.map +1 -1
- package/fesm2022/limitng-api-models-xl-xlConfig.mjs +379 -420
- package/fesm2022/limitng-api-models-xl-xlConfig.mjs.map +1 -1
- package/fesm2022/limitng-api-models-xl-xlConstants.mjs +60 -64
- package/fesm2022/limitng-api-models-xl-xlConstants.mjs.map +1 -1
- package/fesm2022/limitng-api-models-xl-xlOptions.mjs +35 -39
- package/fesm2022/limitng-api-models-xl-xlOptions.mjs.map +1 -1
- package/fesm2022/limitng-api-models-xl-xlTools.mjs +3 -8
- package/fesm2022/limitng-api-models-xl-xlTools.mjs.map +1 -1
- package/fesm2022/limitng-api-models-xl.mjs +1 -5
- package/fesm2022/limitng-api-models-xl.mjs.map +1 -1
- package/fesm2022/limitng-api-models.mjs +1 -5
- package/fesm2022/limitng-api-models.mjs.map +1 -1
- package/fesm2022/limitng-api.mjs +724 -846
- package/fesm2022/limitng-api.mjs.map +1 -1
- package/fesm2022/limitng-blob-response-handler.mjs +1000 -1205
- package/fesm2022/limitng-blob-response-handler.mjs.map +1 -1
- package/fesm2022/limitng-dikey-baslikli-panel-sol.mjs +121 -27
- package/fesm2022/limitng-dikey-baslikli-panel-sol.mjs.map +1 -1
- package/fesm2022/limitng-dikey-baslikli-panel.mjs +121 -27
- package/fesm2022/limitng-dikey-baslikli-panel.mjs.map +1 -1
- package/fesm2022/limitng-directives-adAlani.directive.mjs +100 -83
- package/fesm2022/limitng-directives-adAlani.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-adresAlani.directive.mjs +101 -84
- package/fesm2022/limitng-directives-adresAlani.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-buyukHarf.directive.mjs +83 -69
- package/fesm2022/limitng-directives-buyukHarf.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs +83 -69
- package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-dirty.directive.mjs +70 -34
- package/fesm2022/limitng-directives-dirty.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-disable.directive.mjs +289 -155
- package/fesm2022/limitng-directives-disable.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-flexBasis.directive.mjs +187 -63
- package/fesm2022/limitng-directives-flexBasis.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs +83 -69
- package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-imleciBasaAl.directive.mjs +56 -45
- package/fesm2022/limitng-directives-imleciBasaAl.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-kodAlani.directive.mjs +106 -93
- package/fesm2022/limitng-directives-kodAlani.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs +106 -71
- package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-okTuslariylaIcerdeGezin.directive.mjs +44 -28
- package/fesm2022/limitng-directives-okTuslariylaIcerdeGezin.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs +82 -68
- package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-standartAlan.directive.mjs +100 -83
- package/fesm2022/limitng-directives-standartAlan.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs +255 -96
- package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-translate-key.directive.ts.mjs +52 -37
- package/fesm2022/limitng-directives-translate-key.directive.ts.mjs.map +1 -1
- package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs +83 -69
- package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs +93 -70
- package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives.mjs +1747 -1046
- package/fesm2022/limitng-directives.mjs.map +1 -1
- package/fesm2022/limitng-filtre-bar.mjs +241 -90
- package/fesm2022/limitng-filtre-bar.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-detay.mjs +335 -229
- package/fesm2022/limitng-geri-ileri-detay.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-liste.mjs +382 -281
- package/fesm2022/limitng-geri-ileri-liste.mjs.map +1 -1
- package/fesm2022/limitng-pipes-ayAdiPipe.mjs +54 -40
- package/fesm2022/limitng-pipes-ayAdiPipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-boolToPlus.pipe.mjs +42 -23
- package/fesm2022/limitng-pipes-boolToPlus.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-boolToPlusMinus.pipe.mjs +42 -23
- package/fesm2022/limitng-pipes-boolToPlusMinus.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-dateToText.pipe.mjs +43 -24
- package/fesm2022/limitng-pipes-dateToText.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-evetHayir.pipe.mjs +50 -33
- package/fesm2022/limitng-pipes-evetHayir.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-global-filter-formatter.pipe.mjs +51 -36
- package/fesm2022/limitng-pipes-global-filter-formatter.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-mecraTuru.pipe.mjs +43 -24
- package/fesm2022/limitng-pipes-mecraTuru.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-safe.pipe.mjs +53 -34
- package/fesm2022/limitng-pipes-safe.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-toSeverity.pipe.mjs +50 -30
- package/fesm2022/limitng-pipes-toSeverity.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-tooltip-formatter.pipe.mjs +56 -47
- package/fesm2022/limitng-pipes-tooltip-formatter.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes.mjs +1 -5
- package/fesm2022/limitng-pipes.mjs.map +1 -1
- package/fesm2022/limitng-rapor-kart-models.mjs +18 -23
- package/fesm2022/limitng-rapor-kart-models.mjs.map +1 -1
- package/fesm2022/limitng-rapor-kart.mjs +215 -58
- package/fesm2022/limitng-rapor-kart.mjs.map +1 -1
- package/fesm2022/limitng-sol-buyuk-kart.mjs +184 -37
- package/fesm2022/limitng-sol-buyuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-sol-kucuk-kart.mjs +150 -32
- package/fesm2022/limitng-sol-kucuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-yatay-baslikli-panel.mjs +231 -49
- package/fesm2022/limitng-yatay-baslikli-panel.mjs.map +1 -1
- package/fesm2022/limitng.mjs +6 -11
- package/package.json +1 -1
- package/types/limitng-alt-buyuk-kart.d.ts +48 -20
- package/types/limitng-alt-buyuk-kart.d.ts.map +1 -1
- package/types/limitng-alt-kucuk-kart.d.ts +43 -15
- package/types/limitng-alt-kucuk-kart.d.ts.map +1 -1
- package/types/limitng-api-models-bildirimler.d.ts +29 -32
- package/types/limitng-api-models-bildirimler.d.ts.map +1 -1
- package/types/limitng-api-models-enums.d.ts +389 -391
- package/types/limitng-api-models-enums.d.ts.map +1 -1
- package/types/limitng-api-models-fourDConstants.d.ts +83 -85
- package/types/limitng-api-models-fourDConstants.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-izinislemleri-izindetaylari.d.ts +23 -27
- package/types/limitng-api-models-kisisel-izinislemleri-izindetaylari.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-izinislemleri-izinfiltre.d.ts +10 -13
- package/types/limitng-api-models-kisisel-izinislemleri-izinfiltre.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-izinislemleri-izinguncelle.d.ts +5 -8
- package/types/limitng-api-models-kisisel-izinislemleri-izinguncelle.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-izinislemleri-izinliste.d.ts +24 -27
- package/types/limitng-api-models-kisisel-izinislemleri-izinliste.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-izinislemleri.d.ts +3 -3
- package/types/limitng-api-models-kisisel-izinislemleri.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-masrafislemleri-masrafdetaylari.d.ts +57 -61
- package/types/limitng-api-models-kisisel-masrafislemleri-masrafdetaylari.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-masrafislemleri-masraffiltre.d.ts +11 -14
- package/types/limitng-api-models-kisisel-masrafislemleri-masraffiltre.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-masrafislemleri-masrafguncelle.d.ts +6 -9
- package/types/limitng-api-models-kisisel-masrafislemleri-masrafguncelle.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-masrafislemleri-masrafliste.d.ts +70 -74
- package/types/limitng-api-models-kisisel-masrafislemleri-masrafliste.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-masrafislemleri.d.ts +3 -3
- package/types/limitng-api-models-kisisel-masrafislemleri.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-onayislemleri-onaydetaylari.d.ts +71 -74
- package/types/limitng-api-models-kisisel-onayislemleri-onaydetaylari.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-onayislemleri-onayfiltre.d.ts +30 -33
- package/types/limitng-api-models-kisisel-onayislemleri-onayfiltre.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-onayislemleri-onayguncelle.d.ts +7 -9
- package/types/limitng-api-models-kisisel-onayislemleri-onayguncelle.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-onayislemleri-onayliste.d.ts +30 -32
- package/types/limitng-api-models-kisisel-onayislemleri-onayliste.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel-onayislemleri.d.ts +3 -3
- package/types/limitng-api-models-kisisel-onayislemleri.d.ts.map +1 -1
- package/types/limitng-api-models-kisisel.d.ts +3 -3
- package/types/limitng-api-models-kisisel.d.ts.map +1 -1
- package/types/limitng-api-models-logbook.d.ts +100 -103
- package/types/limitng-api-models-logbook.d.ts.map +1 -1
- package/types/limitng-api-models-login.d.ts +52 -55
- package/types/limitng-api-models-login.d.ts.map +1 -1
- package/types/limitng-api-models-onay-onayagonderdetaylari.d.ts +61 -65
- package/types/limitng-api-models-onay-onayagonderdetaylari.d.ts.map +1 -1
- package/types/limitng-api-models-onay-onaybilgi.d.ts +3 -5
- package/types/limitng-api-models-onay-onaybilgi.d.ts.map +1 -1
- package/types/limitng-api-models-onay.d.ts +3 -3
- package/types/limitng-api-models-onay.d.ts.map +1 -1
- package/types/limitng-api-models-ortak.d.ts +240 -244
- package/types/limitng-api-models-ortak.d.ts.map +1 -1
- package/types/limitng-api-models-ozet-ozetdata.d.ts +16 -19
- package/types/limitng-api-models-ozet-ozetdata.d.ts.map +1 -1
- package/types/limitng-api-models-ozet-ozetkartalan.d.ts +11 -13
- package/types/limitng-api-models-ozet-ozetkartalan.d.ts.map +1 -1
- package/types/limitng-api-models-ozet.d.ts +3 -3
- package/types/limitng-api-models-ozet.d.ts.map +1 -1
- package/types/limitng-api-models-raporlar-izinraporu-izinrapordetaylari.d.ts +13 -16
- package/types/limitng-api-models-raporlar-izinraporu-izinrapordetaylari.d.ts.map +1 -1
- package/types/limitng-api-models-raporlar-izinraporu-izinraporliste.d.ts +14 -17
- package/types/limitng-api-models-raporlar-izinraporu-izinraporliste.d.ts.map +1 -1
- package/types/limitng-api-models-raporlar-izinraporu.d.ts +3 -3
- package/types/limitng-api-models-raporlar-izinraporu.d.ts.map +1 -1
- package/types/limitng-api-models-raporlar-listedensec.d.ts +21 -24
- package/types/limitng-api-models-raporlar-listedensec.d.ts.map +1 -1
- package/types/limitng-api-models-raporlar-rapordetaylari.d.ts +53 -55
- package/types/limitng-api-models-raporlar-rapordetaylari.d.ts.map +1 -1
- package/types/limitng-api-models-raporlar-raporzamanlama.d.ts +41 -44
- package/types/limitng-api-models-raporlar-raporzamanlama.d.ts.map +1 -1
- package/types/limitng-api-models-raporlar-tablodansec.d.ts +23 -26
- package/types/limitng-api-models-raporlar-tablodansec.d.ts.map +1 -1
- package/types/limitng-api-models-raporlar.d.ts +3 -3
- package/types/limitng-api-models-raporlar.d.ts.map +1 -1
- package/types/limitng-api-models-sistemozet.d.ts +169 -173
- package/types/limitng-api-models-sistemozet.d.ts.map +1 -1
- package/types/limitng-api-models-sistemraporlari.d.ts +9 -13
- package/types/limitng-api-models-sistemraporlari.d.ts.map +1 -1
- package/types/limitng-api-models-timeSheet-timeSheetGirisListeler.d.ts +295 -299
- package/types/limitng-api-models-timeSheet-timeSheetGirisListeler.d.ts.map +1 -1
- package/types/limitng-api-models-timeSheet-timeSheetLog.d.ts +12 -15
- package/types/limitng-api-models-timeSheet-timeSheetLog.d.ts.map +1 -1
- package/types/limitng-api-models-timeSheet-timeSheetOzetListe.d.ts +17 -20
- package/types/limitng-api-models-timeSheet-timeSheetOzetListe.d.ts.map +1 -1
- package/types/limitng-api-models-timeSheet-timeSheetSecenekler.d.ts +28 -30
- package/types/limitng-api-models-timeSheet-timeSheetSecenekler.d.ts.map +1 -1
- package/types/limitng-api-models-timeSheet.d.ts +3 -3
- package/types/limitng-api-models-timeSheet.d.ts.map +1 -1
- package/types/limitng-api-models-xl-xlConfig.d.ts +196 -199
- package/types/limitng-api-models-xl-xlConfig.d.ts.map +1 -1
- package/types/limitng-api-models-xl-xlConstants.d.ts +59 -61
- package/types/limitng-api-models-xl-xlConstants.d.ts.map +1 -1
- package/types/limitng-api-models-xl-xlOptions.d.ts +23 -26
- package/types/limitng-api-models-xl-xlOptions.d.ts.map +1 -1
- package/types/limitng-api-models-xl-xlTools.d.ts +2 -5
- package/types/limitng-api-models-xl-xlTools.d.ts.map +1 -1
- package/types/limitng-api-models-xl.d.ts +3 -3
- package/types/limitng-api-models-xl.d.ts.map +1 -1
- package/types/limitng-api-models.d.ts +3 -3
- package/types/limitng-api-models.d.ts.map +1 -1
- package/types/limitng-api.d.ts +65 -68
- package/types/limitng-api.d.ts.map +1 -1
- package/types/limitng-blob-response-handler.d.ts +285 -291
- package/types/limitng-blob-response-handler.d.ts.map +1 -1
- package/types/limitng-dikey-baslikli-panel-sol.d.ts +30 -12
- package/types/limitng-dikey-baslikli-panel-sol.d.ts.map +1 -1
- package/types/limitng-dikey-baslikli-panel.d.ts +30 -12
- package/types/limitng-dikey-baslikli-panel.d.ts.map +1 -1
- package/types/limitng-directives-adAlani.directive.d.ts +26 -27
- package/types/limitng-directives-adAlani.directive.d.ts.map +1 -1
- package/types/limitng-directives-adresAlani.directive.d.ts +26 -27
- package/types/limitng-directives-adresAlani.directive.d.ts.map +1 -1
- package/types/limitng-directives-buyukHarf.directive.d.ts +24 -25
- package/types/limitng-directives-buyukHarf.directive.d.ts.map +1 -1
- package/types/limitng-directives-ciftBoslukTek.directive.d.ts +24 -25
- package/types/limitng-directives-ciftBoslukTek.directive.d.ts.map +1 -1
- package/types/limitng-directives-dirty.directive.d.ts +15 -12
- package/types/limitng-directives-dirty.directive.d.ts.map +1 -1
- package/types/limitng-directives-disable.directive.d.ts +40 -38
- package/types/limitng-directives-disable.directive.d.ts.map +1 -1
- package/types/limitng-directives-flexBasis.directive.d.ts +39 -24
- package/types/limitng-directives-flexBasis.directive.d.ts.map +1 -1
- package/types/limitng-directives-ilkHarfBuyuk.directive.d.ts +24 -25
- package/types/limitng-directives-ilkHarfBuyuk.directive.d.ts.map +1 -1
- package/types/limitng-directives-imleciBasaAl.directive.d.ts +11 -14
- package/types/limitng-directives-imleciBasaAl.directive.d.ts.map +1 -1
- package/types/limitng-directives-kodAlani.directive.d.ts +26 -29
- package/types/limitng-directives-kodAlani.directive.d.ts.map +1 -1
- package/types/limitng-directives-maksimumUzunluk.directive.d.ts +31 -26
- package/types/limitng-directives-maksimumUzunluk.directive.d.ts.map +1 -1
- package/types/limitng-directives-okTuslariylaIcerdeGezin.directive.d.ts +6 -9
- package/types/limitng-directives-okTuslariylaIcerdeGezin.directive.d.ts.map +1 -1
- package/types/limitng-directives-sagSolBoslukSil.directive.d.ts +24 -25
- package/types/limitng-directives-sagSolBoslukSil.directive.d.ts.map +1 -1
- package/types/limitng-directives-standartAlan.directive.d.ts +26 -27
- package/types/limitng-directives-standartAlan.directive.d.ts.map +1 -1
- package/types/limitng-directives-sutunGenisligi.directive.d.ts +53 -32
- package/types/limitng-directives-sutunGenisligi.directive.d.ts.map +1 -1
- package/types/limitng-directives-translate-key.directive.ts.d.ts +9 -12
- package/types/limitng-directives-translate-key.directive.ts.d.ts.map +1 -1
- package/types/limitng-directives-tumBoslukSil.directive.d.ts +24 -25
- package/types/limitng-directives-tumBoslukSil.directive.d.ts.map +1 -1
- package/types/limitng-directives-tumIlkHarfBuyuk.directive.d.ts +26 -26
- package/types/limitng-directives-tumIlkHarfBuyuk.directive.d.ts.map +1 -1
- package/types/limitng-directives.d.ts +386 -323
- package/types/limitng-directives.d.ts.map +1 -1
- package/types/limitng-filtre-bar.d.ts +55 -30
- package/types/limitng-filtre-bar.d.ts.map +1 -1
- package/types/limitng-geri-ileri-detay.d.ts +59 -57
- package/types/limitng-geri-ileri-detay.d.ts.map +1 -1
- package/types/limitng-geri-ileri-liste.d.ts +66 -64
- package/types/limitng-geri-ileri-liste.d.ts.map +1 -1
- package/types/limitng-pipes-ayAdiPipe.d.ts +8 -11
- package/types/limitng-pipes-ayAdiPipe.d.ts.map +1 -1
- package/types/limitng-pipes-boolToPlus.pipe.d.ts +7 -10
- package/types/limitng-pipes-boolToPlus.pipe.d.ts.map +1 -1
- package/types/limitng-pipes-boolToPlusMinus.pipe.d.ts +7 -10
- package/types/limitng-pipes-boolToPlusMinus.pipe.d.ts.map +1 -1
- package/types/limitng-pipes-dateToText.pipe.d.ts +7 -10
- package/types/limitng-pipes-dateToText.pipe.d.ts.map +1 -1
- package/types/limitng-pipes-evetHayir.pipe.d.ts +9 -12
- package/types/limitng-pipes-evetHayir.pipe.d.ts.map +1 -1
- package/types/limitng-pipes-global-filter-formatter.pipe.d.ts +8 -11
- package/types/limitng-pipes-global-filter-formatter.pipe.d.ts.map +1 -1
- package/types/limitng-pipes-mecraTuru.pipe.d.ts +7 -10
- package/types/limitng-pipes-mecraTuru.pipe.d.ts.map +1 -1
- package/types/limitng-pipes-safe.pipe.d.ts +9 -12
- package/types/limitng-pipes-safe.pipe.d.ts.map +1 -1
- package/types/limitng-pipes-toSeverity.pipe.d.ts +8 -12
- package/types/limitng-pipes-toSeverity.pipe.d.ts.map +1 -1
- package/types/limitng-pipes-tooltip-formatter.pipe.d.ts +8 -11
- package/types/limitng-pipes-tooltip-formatter.pipe.d.ts.map +1 -1
- package/types/limitng-pipes.d.ts +3 -3
- package/types/limitng-pipes.d.ts.map +1 -1
- package/types/limitng-rapor-kart-models.d.ts +14 -17
- package/types/limitng-rapor-kart-models.d.ts.map +1 -1
- package/types/limitng-rapor-kart.d.ts +36 -24
- package/types/limitng-rapor-kart.d.ts.map +1 -1
- package/types/limitng-sol-buyuk-kart.d.ts +47 -19
- package/types/limitng-sol-buyuk-kart.d.ts.map +1 -1
- package/types/limitng-sol-kucuk-kart.d.ts +42 -14
- package/types/limitng-sol-kucuk-kart.d.ts.map +1 -1
- package/types/limitng-yatay-baslikli-panel.d.ts +66 -22
- package/types/limitng-yatay-baslikli-panel.d.ts.map +1 -1
- package/types/limitng.d.ts +6 -7
- package/fesm2022/limitng-api-models-kisisel-izinislemleri-izinguncelle.mjs.map +0 -1
- package/fesm2022/limitng-api-models-kisisel-masrafislemleri-masrafguncelle.mjs.map +0 -1
- package/fesm2022/limitng-api-models-onay-onaybilgi.mjs.map +0 -1
- package/fesm2022/limitng-api-models-ozet-ozetdata.mjs.map +0 -1
- package/fesm2022/limitng-api-models-ozet-ozetkartalan.mjs.map +0 -1
- package/fesm2022/limitng.mjs.map +0 -1
- package/types/limitng.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-geri-ileri-liste.mjs","sources":["../../src/app/components/geri-ileri-liste/geri-ileri-liste.model.ts","../../src/app/components/geri-ileri-liste/geri-ileri-liste.component.ts","../../src/app/components/geri-ileri-liste/geri-ileri-liste.component.html","../../src/app/components/geri-ileri-liste/limitng-geri-ileri-liste.ts"],"sourcesContent":["import { cloneDeep, isEqual, isObject, transform } from 'lodash-es';\r\nimport { MenuItem } from 'primeng/api';\r\n\r\nexport class UndoRedoListeStack {\r\n undoHareketler: UndoRedoListeHareket[] = [];\r\n redoHareketler: UndoRedoListeHareket[] = [];\r\n\r\n undoItems: MenuItem[] = [];\r\n redoItems: MenuItem[] = [];\r\n\r\n undoTip = '';\r\n redoTip = '';\r\n\r\n collection: any[];\r\n\r\n constructor(collection: any[]) {\r\n this.collection = collection;\r\n }\r\n\r\n hareketEkle(hareketAciklama: string, hareketTuru: UndoRedoListeHareketTuru, altHareketler: UndoRedoListeAltHareket[], satirNo = 0) {\r\n if (altHareketler.length > 0) {\r\n this.undoHareketler.unshift(new UndoRedoListeHareket(hareketTuru, hareketAciklama, altHareketler, satirNo));\r\n this.redoHareketler = [];\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n }\r\n\r\n hareketEkleSatirSil(satirNesne: any, satirNo: number) {\r\n const alanlar: UndoRedoListeAlan[] = [new UndoRedoListeAlan(satirNesne.id, '', cloneDeep(satirNesne), '')];\r\n const altHareket = new UndoRedoListeAltHareket(satirNesne.id, alanlar);\r\n this.hareketEkle('Satır Sil', UndoRedoListeHareketTuru.satirSil, [altHareket], satirNo);\r\n }\r\n\r\n hareketEkleSatirEkle(satirNesne: any) {\r\n const alanlar: UndoRedoListeAlan[] = [new UndoRedoListeAlan(satirNesne.id, '', '', cloneDeep(satirNesne))];\r\n const altHareket = new UndoRedoListeAltHareket(satirNesne.id, alanlar);\r\n this.hareketEkle('Satır Ekle', UndoRedoListeHareketTuru.satirEkle, [altHareket]);\r\n }\r\n\r\n hareketEkleSatirGuncelle(eskiNesne: any, yeniNesne: any) {\r\n const fark = this.difference(\r\n yeniNesne as Record<string, unknown>,\r\n eskiNesne as Record<string, unknown>\r\n );\r\n\r\n const alanlar: UndoRedoListeAlan[] = [];\r\n for (const [key, value] of Object.entries(fark)) {\r\n alanlar.push(new UndoRedoListeAlan(eskiNesne.id, key, eskiNesne[key], value));\r\n }\r\n if (alanlar.length > 0) {\r\n const altHareket = new UndoRedoListeAltHareket(eskiNesne.id, alanlar);\r\n this.hareketEkle('Satır Güncelle', UndoRedoListeHareketTuru.satirGuncelle, [altHareket]);\r\n }\r\n }\r\n\r\n hareketEkleSatirGuncelleAlan(id: string, alanAdi: string, eskiDeger: any, yeniDeger: any) {\r\n const alanlar: UndoRedoListeAlan[] = [new UndoRedoListeAlan(id, alanAdi, eskiDeger, yeniDeger)];\r\n if (eskiDeger !== yeniDeger) {\r\n const altHareket = new UndoRedoListeAltHareket(id, alanlar);\r\n this.hareketEkle(alanAdi + ' Güncelle', UndoRedoListeHareketTuru.satirGuncelle, [altHareket]);\r\n }\r\n }\r\n\r\n private difference(object: Record<string, unknown>, base: Record<string, unknown>) {\r\n return transform(\r\n object,\r\n (result: Record<string, unknown>, value: unknown, key: string) => {\r\n const baseValue = base[key];\r\n if (!isEqual(value, baseValue)) {\r\n result[key] =\r\n isObject(value) && isObject(baseValue)\r\n ? this.difference(value as Record<string, unknown>, baseValue as Record<string, unknown>)\r\n : value;\r\n }\r\n },\r\n {} as Record<string, unknown>\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 if (this.undoHareketler.length === 0) {\r\n return;\r\n }\r\n const hareket = this.undoHareketler[0];\r\n if (!hareket) {\r\n return;\r\n }\r\n switch (hareket.hareketTuru) {\r\n case UndoRedoListeHareketTuru.satirEkle:\r\n for (const altHareket of hareket.altHareketler) {\r\n const satirNo = this.collection.findIndex(element => element.id === altHareket.id);\r\n this.collection.splice(satirNo, 1);\r\n }\r\n break;\r\n\r\n case UndoRedoListeHareketTuru.satirSil:\r\n for (const altHareket of hareket.altHareketler) {\r\n this.collection.splice(hareket.satirNo, 0, 1);\r\n const ilkAlan = altHareket.alanlar[0];\r\n if (ilkAlan) {\r\n this.collection[hareket.satirNo] = ilkAlan.eskiDeger;\r\n }\r\n }\r\n break;\r\n\r\n case UndoRedoListeHareketTuru.satirGuncelle:\r\n for (const altHareket of hareket.altHareketler) {\r\n const satirNo = this.collection.findIndex(element => element.id === altHareket.id);\r\n for (const alan of altHareket.alanlar) {\r\n this.collection[satirNo][alan.alanAdi] = alan.eskiDeger;\r\n }\r\n }\r\n\r\n break;\r\n }\r\n\r\n const geriAl = this.undoHareketler.shift();\r\n if (geriAl) {\r\n this.redoHareketler.unshift(geriAl);\r\n }\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n\r\n redo() {\r\n if (this.redoHareketler.length === 0) {\r\n return;\r\n }\r\n const hareket = this.redoHareketler[0];\r\n if (!hareket) {\r\n return;\r\n }\r\n switch (hareket.hareketTuru) {\r\n case UndoRedoListeHareketTuru.satirSil:\r\n for (const altHareket of hareket.altHareketler) {\r\n void altHareket;\r\n this.collection.splice(hareket.satirNo, 1);\r\n }\r\n break;\r\n\r\n case UndoRedoListeHareketTuru.satirEkle:\r\n for (const altHareket of hareket.altHareketler) {\r\n this.collection.splice(hareket.satirNo, 0, 1);\r\n const ilkAlan = altHareket.alanlar[0];\r\n if (ilkAlan) {\r\n this.collection[hareket.satirNo] = ilkAlan.yeniDeger;\r\n }\r\n }\r\n break;\r\n\r\n case UndoRedoListeHareketTuru.satirGuncelle:\r\n for (const altHareket of hareket.altHareketler) {\r\n const satirNo = this.collection.findIndex(element => element.id === altHareket.id);\r\n for (const alan of altHareket.alanlar) {\r\n this.collection[satirNo][alan.alanAdi] = alan.yeniDeger;\r\n }\r\n }\r\n break;\r\n\r\n }\r\n\r\n const ileriAl = this.redoHareketler.shift();\r\n if (ileriAl) {\r\n this.undoHareketler.unshift(ileriAl);\r\n }\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 const ilkUndo = this.undoHareketler[0];\r\n if (ilkUndo) {\r\n this.undoTip = ilkUndo.hareketAciklama;\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 const ilkRedo = this.redoHareketler[0];\r\n if (ilkRedo) {\r\n this.redoTip = ilkRedo.hareketAciklama;\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 UndoRedoListeHareket {\r\n hareketAciklama = '';\r\n hareketTuru = UndoRedoListeHareketTuru.satirEkle;\r\n altHareketler: UndoRedoListeAltHareket[] = [];\r\n satirNo = 0;\r\n\r\n constructor(hareketTuru: UndoRedoListeHareketTuru, hareketAciklama: string, altHareketler: UndoRedoListeAltHareket[], 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 UndoRedoListeAltHareket {\r\n id = '';\r\n alanlar: UndoRedoListeAlan[] = [];\r\n constructor(id: string, alanlar: UndoRedoListeAlan[]) {\r\n this.id = id;\r\n this.alanlar = alanlar;\r\n }\r\n}\r\n\r\nexport class UndoRedoListeAlan {\r\n id = '';\r\n alanAdi = '';\r\n eskiDeger: any;\r\n yeniDeger: any;\r\n\r\n constructor(id: string, alanAdi: string, eskiDeger: any, yeniDeger: any) {\r\n this.id = id;\r\n this.alanAdi = alanAdi;\r\n this.eskiDeger = eskiDeger;\r\n this.yeniDeger = yeniDeger;\r\n }\r\n}\r\n\r\nexport enum UndoRedoListeHareketTuru {\r\n satirEkle = 'Satır Ekle',\r\n satirGuncelle = 'Satır Güncelle',\r\n satirSil = 'Satır Sil'\r\n}\r\n","import { Component, input, OnChanges, OnInit, SimpleChanges } from '@angular/core';\r\n\r\nimport { ButtonDirective } from 'primeng/button';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\nimport { v4 as uuidv4 } from 'uuid';\r\n\r\nimport { UndoRedoListeStack } from './geri-ileri-liste.model';\r\n\r\n@Component({\r\n selector: 'geri-ileri-liste',\r\n imports: [ButtonDirective, SplitButtonModule, TooltipModule],\r\n templateUrl: 'geri-ileri-liste.component.html'\r\n})\r\n\r\n// @Injectable({ providedIn: 'root' })\r\nexport class GeriIleriListeComponent implements OnInit, OnChanges {\r\n readonly collection = input<any[]>([]);\r\n\r\n undoRedoStack = new UndoRedoListeStack(this.collection());\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.generateIDs(this.collection());\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.collection) {\r\n this.undoRedoStack.collection = this.collection();\r\n }\r\n }\r\n\r\n generateIDs(collection: any[]) {\r\n collection.map((element) => element.id = uuidv4());\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","<p-splitbutton class=\"mx-1\" icon=\"fas fa-undo\" [model]=\"undoRedoStack.undoItems\" [disabled]=\"!undoRedoStack.canUndo()\"\r\n [pTooltip]=\"undoRedoStack.undoTip\" tooltipZIndex=\"100000\" escape (onClick)=\"undoClick()\" />\r\n<p-splitbutton class=\"mx-1\" icon=\"fas fa-redo\" [model]=\"undoRedoStack.redoItems\" [disabled]=\"!undoRedoStack.canRedo()\"\r\n [pTooltip]=\"undoRedoStack.redoTip\" tooltipZIndex=\"100000\" escape (onClick)=\"redoClick()\" />\r\n<button pButton type=\"button\" class=\"mx-1\" title=\"Reset\" iconOnly\r\n [disabled]=\"!undoRedoStack.canRedo() && !undoRedoStack.canUndo()\" (click)=\"resetUndo()\">\r\n <i class=\"fas fa-sync\"></i>\r\n</button>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["uuidv4"],"mappings":";;;;;;;;;;MAGa,kBAAkB,CAAA;AAY7B,IAAA,WAAA,CAAY,UAAiB,EAAA;QAX7B,IAAA,CAAA,cAAc,GAA2B,EAAE;QAC3C,IAAA,CAAA,cAAc,GAA2B,EAAE;QAE3C,IAAA,CAAA,SAAS,GAAe,EAAE;QAC1B,IAAA,CAAA,SAAS,GAAe,EAAE;QAE1B,IAAA,CAAA,OAAO,GAAG,EAAE;QACZ,IAAA,CAAA,OAAO,GAAG,EAAE;AAKV,QAAA,IAAI,C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AAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDGY,eAAe,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,WAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,MAAA,EAAA,OAAA,EAAA,QAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,SAAA,EAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,iBAAiB,kiBAAE,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,iBAAA,EAAA,cAAA,EAAA,eAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,QAAA,EAAA,WAAA,EAAA,WAAA,EAAA,MAAA,EAAA,aAAA,EAAA,cAAA,EAAA,UAAA,EAAA,YAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,YAAA,EAAA,kBAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAKhD,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,WACnB,CAAC,eAAe,EAAE,iBAAiB,EAAE,aAAa,CAAC,EAAA,QAAA,EAAA,irBAAA,EAAA;;;AEX9D;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"limitng-geri-ileri-liste.mjs","names":[],"sources":["../../src/app/components/geri-ileri-liste/geri-ileri-liste.model.ts","../../src/app/components/geri-ileri-liste/geri-ileri-liste.component.ts","../../src/app/components/geri-ileri-liste/geri-ileri-liste.component.html"],"sourcesContent":["import { cloneDeep, isEqual, isObject, transform } from 'lodash-es';\r\nimport { MenuItem } from 'primeng/api';\r\n\r\nexport class UndoRedoListeStack {\r\n undoHareketler: UndoRedoListeHareket[] = [];\r\n redoHareketler: UndoRedoListeHareket[] = [];\r\n\r\n undoItems: MenuItem[] = [];\r\n redoItems: MenuItem[] = [];\r\n\r\n undoTip = '';\r\n redoTip = '';\r\n\r\n collection: any[];\r\n\r\n constructor(collection: any[]) {\r\n this.collection = collection;\r\n }\r\n\r\n hareketEkle(hareketAciklama: string, hareketTuru: UndoRedoListeHareketTuru, altHareketler: UndoRedoListeAltHareket[], satirNo = 0) {\r\n if (altHareketler.length > 0) {\r\n this.undoHareketler.unshift(new UndoRedoListeHareket(hareketTuru, hareketAciklama, altHareketler, satirNo));\r\n this.redoHareketler = [];\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n }\r\n\r\n hareketEkleSatirSil(satirNesne: any, satirNo: number) {\r\n const alanlar: UndoRedoListeAlan[] = [new UndoRedoListeAlan(satirNesne.id, '', cloneDeep(satirNesne), '')];\r\n const altHareket = new UndoRedoListeAltHareket(satirNesne.id, alanlar);\r\n this.hareketEkle('Satır Sil', UndoRedoListeHareketTuru.satirSil, [altHareket], satirNo);\r\n }\r\n\r\n hareketEkleSatirEkle(satirNesne: any) {\r\n const alanlar: UndoRedoListeAlan[] = [new UndoRedoListeAlan(satirNesne.id, '', '', cloneDeep(satirNesne))];\r\n const altHareket = new UndoRedoListeAltHareket(satirNesne.id, alanlar);\r\n this.hareketEkle('Satır Ekle', UndoRedoListeHareketTuru.satirEkle, [altHareket]);\r\n }\r\n\r\n hareketEkleSatirGuncelle(eskiNesne: any, yeniNesne: any) {\r\n const fark = this.difference(\r\n yeniNesne as Record<string, unknown>,\r\n eskiNesne as Record<string, unknown>\r\n );\r\n\r\n const alanlar: UndoRedoListeAlan[] = [];\r\n for (const [key, value] of Object.entries(fark)) {\r\n alanlar.push(new UndoRedoListeAlan(eskiNesne.id, key, eskiNesne[key], value));\r\n }\r\n if (alanlar.length > 0) {\r\n const altHareket = new UndoRedoListeAltHareket(eskiNesne.id, alanlar);\r\n this.hareketEkle('Satır Güncelle', UndoRedoListeHareketTuru.satirGuncelle, [altHareket]);\r\n }\r\n }\r\n\r\n hareketEkleSatirGuncelleAlan(id: string, alanAdi: string, eskiDeger: any, yeniDeger: any) {\r\n const alanlar: UndoRedoListeAlan[] = [new UndoRedoListeAlan(id, alanAdi, eskiDeger, yeniDeger)];\r\n if (eskiDeger !== yeniDeger) {\r\n const altHareket = new UndoRedoListeAltHareket(id, alanlar);\r\n this.hareketEkle(alanAdi + ' Güncelle', UndoRedoListeHareketTuru.satirGuncelle, [altHareket]);\r\n }\r\n }\r\n\r\n private difference(object: Record<string, unknown>, base: Record<string, unknown>) {\r\n return transform(\r\n object,\r\n (result: Record<string, unknown>, value: unknown, key: string) => {\r\n const baseValue = base[key];\r\n if (!isEqual(value, baseValue)) {\r\n result[key] =\r\n isObject(value) && isObject(baseValue)\r\n ? this.difference(value as Record<string, unknown>, baseValue as Record<string, unknown>)\r\n : value;\r\n }\r\n },\r\n {} as Record<string, unknown>\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 if (this.undoHareketler.length === 0) {\r\n return;\r\n }\r\n const hareket = this.undoHareketler[0];\r\n if (!hareket) {\r\n return;\r\n }\r\n switch (hareket.hareketTuru) {\r\n case UndoRedoListeHareketTuru.satirEkle:\r\n for (const altHareket of hareket.altHareketler) {\r\n const satirNo = this.collection.findIndex(element => element.id === altHareket.id);\r\n this.collection.splice(satirNo, 1);\r\n }\r\n break;\r\n\r\n case UndoRedoListeHareketTuru.satirSil:\r\n for (const altHareket of hareket.altHareketler) {\r\n this.collection.splice(hareket.satirNo, 0, 1);\r\n const ilkAlan = altHareket.alanlar[0];\r\n if (ilkAlan) {\r\n this.collection[hareket.satirNo] = ilkAlan.eskiDeger;\r\n }\r\n }\r\n break;\r\n\r\n case UndoRedoListeHareketTuru.satirGuncelle:\r\n for (const altHareket of hareket.altHareketler) {\r\n const satirNo = this.collection.findIndex(element => element.id === altHareket.id);\r\n for (const alan of altHareket.alanlar) {\r\n this.collection[satirNo][alan.alanAdi] = alan.eskiDeger;\r\n }\r\n }\r\n\r\n break;\r\n }\r\n\r\n const geriAl = this.undoHareketler.shift();\r\n if (geriAl) {\r\n this.redoHareketler.unshift(geriAl);\r\n }\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n\r\n redo() {\r\n if (this.redoHareketler.length === 0) {\r\n return;\r\n }\r\n const hareket = this.redoHareketler[0];\r\n if (!hareket) {\r\n return;\r\n }\r\n switch (hareket.hareketTuru) {\r\n case UndoRedoListeHareketTuru.satirSil:\r\n for (const altHareket of hareket.altHareketler) {\r\n void altHareket;\r\n this.collection.splice(hareket.satirNo, 1);\r\n }\r\n break;\r\n\r\n case UndoRedoListeHareketTuru.satirEkle:\r\n for (const altHareket of hareket.altHareketler) {\r\n this.collection.splice(hareket.satirNo, 0, 1);\r\n const ilkAlan = altHareket.alanlar[0];\r\n if (ilkAlan) {\r\n this.collection[hareket.satirNo] = ilkAlan.yeniDeger;\r\n }\r\n }\r\n break;\r\n\r\n case UndoRedoListeHareketTuru.satirGuncelle:\r\n for (const altHareket of hareket.altHareketler) {\r\n const satirNo = this.collection.findIndex(element => element.id === altHareket.id);\r\n for (const alan of altHareket.alanlar) {\r\n this.collection[satirNo][alan.alanAdi] = alan.yeniDeger;\r\n }\r\n }\r\n break;\r\n\r\n }\r\n\r\n const ileriAl = this.redoHareketler.shift();\r\n if (ileriAl) {\r\n this.undoHareketler.unshift(ileriAl);\r\n }\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 const ilkUndo = this.undoHareketler[0];\r\n if (ilkUndo) {\r\n this.undoTip = ilkUndo.hareketAciklama;\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 const ilkRedo = this.redoHareketler[0];\r\n if (ilkRedo) {\r\n this.redoTip = ilkRedo.hareketAciklama;\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 UndoRedoListeHareket {\r\n hareketAciklama = '';\r\n hareketTuru = UndoRedoListeHareketTuru.satirEkle;\r\n altHareketler: UndoRedoListeAltHareket[] = [];\r\n satirNo = 0;\r\n\r\n constructor(hareketTuru: UndoRedoListeHareketTuru, hareketAciklama: string, altHareketler: UndoRedoListeAltHareket[], 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 UndoRedoListeAltHareket {\r\n id = '';\r\n alanlar: UndoRedoListeAlan[] = [];\r\n constructor(id: string, alanlar: UndoRedoListeAlan[]) {\r\n this.id = id;\r\n this.alanlar = alanlar;\r\n }\r\n}\r\n\r\nexport class UndoRedoListeAlan {\r\n id = '';\r\n alanAdi = '';\r\n eskiDeger: any;\r\n yeniDeger: any;\r\n\r\n constructor(id: string, alanAdi: string, eskiDeger: any, yeniDeger: any) {\r\n this.id = id;\r\n this.alanAdi = alanAdi;\r\n this.eskiDeger = eskiDeger;\r\n this.yeniDeger = yeniDeger;\r\n }\r\n}\r\n\r\nexport enum UndoRedoListeHareketTuru {\r\n satirEkle = 'Satır Ekle',\r\n satirGuncelle = 'Satır Güncelle',\r\n satirSil = 'Satır Sil'\r\n}\r\n","import { Component, input, OnChanges, OnInit, SimpleChanges } from '@angular/core';\r\n\r\nimport { ButtonDirective } from 'primeng/button';\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\nimport { v4 as uuidv4 } from 'uuid';\r\n\r\nimport { UndoRedoListeStack } from './geri-ileri-liste.model';\r\n\r\n@Component({\r\n selector: 'geri-ileri-liste',\r\n imports: [ButtonDirective, SplitButtonModule, TooltipModule],\n templateUrl: 'geri-ileri-liste.component.html'\r\n})\r\n\r\n// @Injectable({ providedIn: 'root' })\r\nexport class GeriIleriListeComponent implements OnInit, OnChanges {\r\n readonly collection = input<any[]>([]);\r\n\r\n undoRedoStack = new UndoRedoListeStack(this.collection());\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.generateIDs(this.collection());\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.collection) {\r\n this.undoRedoStack.collection = this.collection();\r\n }\r\n }\r\n\r\n generateIDs(collection: any[]) {\r\n collection.map((element) => element.id = uuidv4());\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","<p-splitbutton class=\"mx-1\" icon=\"fas fa-undo\" [model]=\"undoRedoStack.undoItems\" [disabled]=\"!undoRedoStack.canUndo()\"\r\n [pTooltip]=\"undoRedoStack.undoTip\" tooltipZIndex=\"100000\" escape (onClick)=\"undoClick()\" />\r\n<p-splitbutton class=\"mx-1\" icon=\"fas fa-redo\" [model]=\"undoRedoStack.redoItems\" [disabled]=\"!undoRedoStack.canRedo()\"\r\n [pTooltip]=\"undoRedoStack.redoTip\" tooltipZIndex=\"100000\" escape (onClick)=\"redoClick()\" />\r\n<button pButton type=\"button\" class=\"mx-1\" title=\"Reset\" iconOnly\r\n [disabled]=\"!undoRedoStack.canRedo() && !undoRedoStack.canUndo()\" (click)=\"resetUndo()\">\r\n <i class=\"fas fa-sync\"></i>\r\n</button>\r\n"],"mappings":";;;;;;;;;AAGA,IAAa,qBAAb,MAA+B;CAY7B,YAAY,YAAiB;EAX7B,KAAA,iBAAyC,CAAA;EACzC,KAAA,iBAAyC,CAAA;EAEzC,KAAA,YAAwB,CAAA;EACxB,KAAA,YAAwB,CAAA;EAExB,KAAA,UAAU;EACV,KAAA,UAAU;EAKR,KAAK,aAAa;CACpB;CAEA,YAAY,iBAAyB,aAAuC,eAA0C,UAAU,GAAC;EAC/H,IAAI,cAAc,SAAS,GAAG;GAC5B,KAAK,eAAe,QAAQ,IAAI,qBAAqB,aAAa,iBAAiB,eAAe,OAAO,CAAC;GAC1G,KAAK,iBAAiB,CAAA;GACtB,KAAK,iBAAgB;GACrB,KAAK,iBAAgB;EACvB;CACF;CAEA,oBAAoB,YAAiB,SAAe;EAClD,MAAM,UAA+B,CAAC,IAAI,kBAAkB,WAAW,IAAI,IAAI,UAAU,UAAU,GAAG,EAAE,CAAC;EACzG,MAAM,aAAa,IAAI,wBAAwB,WAAW,IAAI,OAAO;EACrE,KAAK,YAAY,aAAa,yBAAyB,UAAU,CAAC,UAAU,GAAG,OAAO;CACxF;CAEA,qBAAqB,YAAe;EAClC,MAAM,UAA+B,CAAC,IAAI,kBAAkB,WAAW,IAAI,IAAI,IAAI,UAAU,UAAU,CAAC,CAAC;EACzG,MAAM,aAAa,IAAI,wBAAwB,WAAW,IAAI,OAAO;EACrE,KAAK,YAAY,cA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+1,55 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { TranslateService } from
|
|
4
|
-
import { GlobalFunctions } from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Pipe, inject } from "@angular/core";
|
|
3
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
+
import { GlobalFunctions } from "limitng/api";
|
|
5
|
+
var AyAdiPipe = class AyAdiPipe {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.translateService = inject(TranslateService);
|
|
8
|
+
}
|
|
9
|
+
transform(ayNo) {
|
|
10
|
+
if (ayNo === null || ayNo === void 0 || ayNo === "") return "";
|
|
11
|
+
const ayNoNumber = Number(ayNo);
|
|
12
|
+
if (!Number.isInteger(ayNoNumber)) return "";
|
|
13
|
+
if (ayNoNumber === 0) return this.translateService.instant("genel.tumu");
|
|
14
|
+
const dil = this.translateService.getCurrentLang() ?? this.translateService.getFallbackLang() ?? "tr";
|
|
15
|
+
return GlobalFunctions.ayAdiVer(ayNoNumber, dil);
|
|
16
|
+
}
|
|
17
|
+
static {
|
|
18
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
19
|
+
minVersion: "12.0.0",
|
|
20
|
+
version: "22.1.8",
|
|
21
|
+
ngImport: i0,
|
|
22
|
+
type: AyAdiPipe,
|
|
23
|
+
deps: [],
|
|
24
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
static {
|
|
28
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
29
|
+
minVersion: "14.0.0",
|
|
30
|
+
version: "22.1.8",
|
|
31
|
+
ngImport: i0,
|
|
32
|
+
type: AyAdiPipe,
|
|
33
|
+
isStandalone: true,
|
|
34
|
+
name: "ayAdi",
|
|
35
|
+
pure: false
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
40
|
+
minVersion: "12.0.0",
|
|
41
|
+
version: "22.1.8",
|
|
42
|
+
ngImport: i0,
|
|
43
|
+
type: AyAdiPipe,
|
|
44
|
+
decorators: [{
|
|
45
|
+
type: Pipe,
|
|
46
|
+
args: [{
|
|
47
|
+
name: "ayAdi",
|
|
48
|
+
standalone: true,
|
|
49
|
+
pure: false
|
|
50
|
+
}]
|
|
51
|
+
}]
|
|
52
|
+
});
|
|
40
53
|
export { AyAdiPipe };
|
|
41
|
-
|
|
54
|
+
|
|
55
|
+
//# sourceMappingURL=limitng-pipes-ayAdiPipe.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-pipes-ayAdiPipe.mjs","sources":["../../src/app/components/pipes/ayAdiPipe/ayAdi.pipe.ts"
|
|
1
|
+
{"version":3,"file":"limitng-pipes-ayAdiPipe.mjs","names":[],"sources":["../../src/app/components/pipes/ayAdiPipe/ayAdi.pipe.ts"],"sourcesContent":["import { inject, Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Pipe({\r\n name: 'ayAdi',\r\n standalone: true,\r\n pure: false\r\n})\r\nexport class AyAdiPipe implements PipeTransform {\r\n private readonly translateService = inject(TranslateService);\r\n\r\n transform(ayNo: number | string | null | undefined): string {\r\n if ((ayNo === null) || (ayNo === undefined) || (ayNo === '')) {\r\n return '';\r\n }\r\n\r\n const ayNoNumber = Number(ayNo);\r\n if (!Number.isInteger(ayNoNumber)) {\r\n return '';\r\n }\r\n\r\n if (ayNoNumber === 0) {\r\n return this.translateService.instant('genel.tumu');\r\n }\r\n\r\n const dil = this.translateService.getCurrentLang() ?? this.translateService.getFallbackLang() ?? 'tr';\n return GlobalFunctions.ayAdiVer(ayNoNumber, dil);\n }\n}\n"],"mappings":";;;;AAWA,IAAa,YAAb,MAAa,UAAS;CALtB,cAAA;EAMmB,KAAA,mBAAmB,OAAO,gBAAgB;CAmB5D;CAjBC,UAAU,MAAwC;EAChD,IAAK,SAAS,QAAU,SAAS,UAAe,SAAS,IACvD,OAAO;EAGT,MAAM,aAAa,OAAO,IAAI;EAC9B,IAAI,CAAC,OAAO,UAAU,UAAU,GAC9B,OAAO;EAGT,IAAI,eAAe,GACjB,OAAO,KAAK,iBAAiB,QAAQ,YAAY;EAGnD,MAAM,MAAM,KAAK,iBAAiB,eAAc,KAAM,KAAK,iBAAiB,gBAAe,KAAM;EACjG,OAAO,gBAAgB,SAAS,YAAY,GAAG;CACjD;CAnBW;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAS,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAT;EAAA,KAAA,QAAA,GAAA,gBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAS,cAAA;GAAA,MAAA;GAAA,MAAA;EAAA,CAAA;CAAA;;AAAT,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAS,YAAA,CAAA;EALrB,MAAA;EAAK,MAAA,CAAA;GACJ,MAAM;GACN,YAAY;GACZ,MAAM;EACP,CAAA"}
|
|
@@ -1,24 +1,43 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { Pipe } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Pipe } from "@angular/core";
|
|
3
|
+
var BoolToPlusPipe = class BoolToPlusPipe {
|
|
4
|
+
transform(value) {
|
|
5
|
+
return value ? "+" : "";
|
|
6
|
+
}
|
|
7
|
+
static {
|
|
8
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
9
|
+
minVersion: "12.0.0",
|
|
10
|
+
version: "22.1.8",
|
|
11
|
+
ngImport: i0,
|
|
12
|
+
type: BoolToPlusPipe,
|
|
13
|
+
deps: [],
|
|
14
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
static {
|
|
18
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
19
|
+
minVersion: "14.0.0",
|
|
20
|
+
version: "22.1.8",
|
|
21
|
+
ngImport: i0,
|
|
22
|
+
type: BoolToPlusPipe,
|
|
23
|
+
isStandalone: true,
|
|
24
|
+
name: "boolToPlus"
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
29
|
+
minVersion: "12.0.0",
|
|
30
|
+
version: "22.1.8",
|
|
31
|
+
ngImport: i0,
|
|
32
|
+
type: BoolToPlusPipe,
|
|
33
|
+
decorators: [{
|
|
34
|
+
type: Pipe,
|
|
35
|
+
args: [{
|
|
36
|
+
name: "boolToPlus",
|
|
37
|
+
standalone: true
|
|
38
|
+
}]
|
|
39
|
+
}]
|
|
40
|
+
});
|
|
23
41
|
export { BoolToPlusPipe };
|
|
24
|
-
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=limitng-pipes-boolToPlus.pipe.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-pipes-boolToPlus.pipe.mjs","
|
|
1
|
+
{"version":3,"file":"limitng-pipes-boolToPlus.pipe.mjs","names":[],"sources":["../../src/app/components/pipes/boolToPlus.pipe/boolToPlus.pipe.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'boolToPlus',\r\n standalone: true\r\n})\r\nexport class BoolToPlusPipe implements PipeTransform {\r\n\r\n transform(value: boolean): string {\r\n return value ? '+' : '';\r\n }\r\n}\r\n\r\n"],"mappings":";;AAMA,IAAa,iBAAb,MAAa,eAAc;CAEzB,UAAU,OAAc;EACtB,OAAO,QAAQ,MAAM;CACvB;CAJW;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAc,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAd;EAAA,KAAA,QAAA,GAAA,gBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAc,cAAA;GAAA,MAAA;EAAA,CAAA;CAAA;;AAAd,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAc,YAAA,CAAA;EAJ1B,MAAA;EAAK,MAAA,CAAA;GACJ,MAAM;GACN,YAAY;EACb,CAAA"}
|
|
@@ -1,24 +1,43 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { Pipe } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Pipe } from "@angular/core";
|
|
3
|
+
var BoolToPlusMinusPipe = class BoolToPlusMinusPipe {
|
|
4
|
+
transform(value) {
|
|
5
|
+
return value ? "+" : "-";
|
|
6
|
+
}
|
|
7
|
+
static {
|
|
8
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
9
|
+
minVersion: "12.0.0",
|
|
10
|
+
version: "22.1.8",
|
|
11
|
+
ngImport: i0,
|
|
12
|
+
type: BoolToPlusMinusPipe,
|
|
13
|
+
deps: [],
|
|
14
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
static {
|
|
18
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
19
|
+
minVersion: "14.0.0",
|
|
20
|
+
version: "22.1.8",
|
|
21
|
+
ngImport: i0,
|
|
22
|
+
type: BoolToPlusMinusPipe,
|
|
23
|
+
isStandalone: true,
|
|
24
|
+
name: "boolToPlusMinus"
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
29
|
+
minVersion: "12.0.0",
|
|
30
|
+
version: "22.1.8",
|
|
31
|
+
ngImport: i0,
|
|
32
|
+
type: BoolToPlusMinusPipe,
|
|
33
|
+
decorators: [{
|
|
34
|
+
type: Pipe,
|
|
35
|
+
args: [{
|
|
36
|
+
name: "boolToPlusMinus",
|
|
37
|
+
standalone: true
|
|
38
|
+
}]
|
|
39
|
+
}]
|
|
40
|
+
});
|
|
23
41
|
export { BoolToPlusMinusPipe };
|
|
24
|
-
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=limitng-pipes-boolToPlusMinus.pipe.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-pipes-boolToPlusMinus.pipe.mjs","
|
|
1
|
+
{"version":3,"file":"limitng-pipes-boolToPlusMinus.pipe.mjs","names":[],"sources":["../../src/app/components/pipes/boolToPlusMinus.pipe/boolToPlusMinus.pipe.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'boolToPlusMinus',\r\n standalone: true\r\n})\r\nexport class BoolToPlusMinusPipe implements PipeTransform {\r\n\r\n transform(value: boolean): string {\r\n return value ? '+' : '-';\r\n }\r\n}\r\n"],"mappings":";;AAMA,IAAa,sBAAb,MAAa,oBAAmB;CAE9B,UAAU,OAAc;EACtB,OAAO,QAAQ,MAAM;CACvB;CAJW;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAmB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAnB;EAAA,KAAA,QAAA,GAAA,gBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAmB,cAAA;GAAA,MAAA;EAAA,CAAA;CAAA;;AAAnB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAmB,YAAA,CAAA;EAJ/B,MAAA;EAAK,MAAA,CAAA;GACJ,MAAM;GACN,YAAY;EACb,CAAA"}
|
|
@@ -1,25 +1,44 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { Pipe } from
|
|
3
|
-
import { GlobalFunctions } from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Pipe } from "@angular/core";
|
|
3
|
+
import { GlobalFunctions } from "limitng/api";
|
|
4
|
+
var DateToTextPipe = class DateToTextPipe {
|
|
5
|
+
transform(value) {
|
|
6
|
+
return GlobalFunctions.dateToText(value);
|
|
7
|
+
}
|
|
8
|
+
static {
|
|
9
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
10
|
+
minVersion: "12.0.0",
|
|
11
|
+
version: "22.1.8",
|
|
12
|
+
ngImport: i0,
|
|
13
|
+
type: DateToTextPipe,
|
|
14
|
+
deps: [],
|
|
15
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
static {
|
|
19
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
20
|
+
minVersion: "14.0.0",
|
|
21
|
+
version: "22.1.8",
|
|
22
|
+
ngImport: i0,
|
|
23
|
+
type: DateToTextPipe,
|
|
24
|
+
isStandalone: true,
|
|
25
|
+
name: "dateToText"
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
30
|
+
minVersion: "12.0.0",
|
|
31
|
+
version: "22.1.8",
|
|
32
|
+
ngImport: i0,
|
|
33
|
+
type: DateToTextPipe,
|
|
34
|
+
decorators: [{
|
|
35
|
+
type: Pipe,
|
|
36
|
+
args: [{
|
|
37
|
+
name: "dateToText",
|
|
38
|
+
standalone: true
|
|
39
|
+
}]
|
|
40
|
+
}]
|
|
41
|
+
});
|
|
24
42
|
export { DateToTextPipe };
|
|
25
|
-
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=limitng-pipes-dateToText.pipe.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-pipes-dateToText.pipe.mjs","
|
|
1
|
+
{"version":3,"file":"limitng-pipes-dateToText.pipe.mjs","names":[],"sources":["../../src/app/components/pipes/dateToText.pipe/dateToText.pipe.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Pipe({\r\n name: 'dateToText',\r\n standalone: true\r\n})\r\nexport class DateToTextPipe implements PipeTransform {\r\n\r\n transform(value: Date): string {\r\n return GlobalFunctions.dateToText(value);\r\n }\r\n}\r\n"],"mappings":";;;AAQA,IAAa,iBAAb,MAAa,eAAc;CAEzB,UAAU,OAAW;EACnB,OAAO,gBAAgB,WAAW,KAAK;CACzC;CAJW;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAc,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAd;EAAA,KAAA,QAAA,GAAA,gBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAc,cAAA;GAAA,MAAA;EAAA,CAAA;CAAA;;AAAd,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAc,YAAA,CAAA;EAJ1B,MAAA;EAAK,MAAA,CAAA;GACJ,MAAM;GACN,YAAY;EACb,CAAA"}
|
|
@@ -1,34 +1,51 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { TranslateService } from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Pipe, inject } from "@angular/core";
|
|
3
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
+
var EvetHayirPipe = class EvetHayirPipe {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.translateService = inject(TranslateService);
|
|
7
|
+
}
|
|
8
|
+
transform(value) {
|
|
9
|
+
if (value == null) return "";
|
|
10
|
+
return value ? this.translateService.instant("genel.evet") : this.translateService.instant("genel.hayir");
|
|
11
|
+
}
|
|
12
|
+
static {
|
|
13
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
14
|
+
minVersion: "12.0.0",
|
|
15
|
+
version: "22.1.8",
|
|
16
|
+
ngImport: i0,
|
|
17
|
+
type: EvetHayirPipe,
|
|
18
|
+
deps: [],
|
|
19
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
24
|
+
minVersion: "14.0.0",
|
|
25
|
+
version: "22.1.8",
|
|
26
|
+
ngImport: i0,
|
|
27
|
+
type: EvetHayirPipe,
|
|
28
|
+
isStandalone: true,
|
|
29
|
+
name: "evetHayir",
|
|
30
|
+
pure: false
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
35
|
+
minVersion: "12.0.0",
|
|
36
|
+
version: "22.1.8",
|
|
37
|
+
ngImport: i0,
|
|
38
|
+
type: EvetHayirPipe,
|
|
39
|
+
decorators: [{
|
|
40
|
+
type: Pipe,
|
|
41
|
+
args: [{
|
|
42
|
+
name: "evetHayir",
|
|
43
|
+
standalone: true,
|
|
44
|
+
pure: false
|
|
45
|
+
}]
|
|
46
|
+
}],
|
|
47
|
+
ctorParameters: () => []
|
|
48
|
+
});
|
|
33
49
|
export { EvetHayirPipe };
|
|
34
|
-
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=limitng-pipes-evetHayir.pipe.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-pipes-evetHayir.pipe.mjs","
|
|
1
|
+
{"version":3,"file":"limitng-pipes-evetHayir.pipe.mjs","names":[],"sources":["../../src/app/components/pipes/evetHayir.pipe/evetHayir.pipe.ts"],"sourcesContent":["import { inject, Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Pipe({\r\n name: 'evetHayir',\r\n standalone: true,\r\n pure: false\r\n})\r\nexport class EvetHayirPipe implements PipeTransform {\r\n private readonly translateService = inject(TranslateService);\r\n constructor() { }\r\n\r\n transform(value: boolean | null | undefined): string {\r\n if (value == null) {\r\n return '';\r\n }\r\n return value\r\n ? this.translateService.instant('genel.evet')\r\n : this.translateService.instant('genel.hayir');\r\n }\r\n}\r\n"],"mappings":";;;AASA,IAAa,gBAAb,MAAa,cAAa;CAExB,cAAA;EADiB,KAAA,mBAAmB,OAAO,gBAAgB;CAC3C;CAEhB,UAAU,OAAiC;EACzC,IAAI,SAAS,MACX,OAAO;EAET,OAAO,QACH,KAAK,iBAAiB,QAAQ,YAAY,IAC1C,KAAK,iBAAiB,QAAQ,aAAa;CACjD;CAXW;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAa,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAb;EAAA,KAAA,QAAA,GAAA,gBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAa,cAAA;GAAA,MAAA;GAAA,MAAA;EAAA,CAAA;CAAA;;AAAb,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAa,YAAA,CAAA;EALzB,MAAA;EAAK,MAAA,CAAA;GACJ,MAAM;GACN,YAAY;GACZ,MAAM;EACP,CAAA"}
|