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.
- package/alt-buyuk-kart/alt-buyuk-kart.component.d.ts +25 -25
- package/alt-buyuk-kart/index.d.ts +5 -5
- package/alt-buyuk-kart/public_api.d.ts +1 -1
- package/alt-kucuk-kart/alt-kucuk-kart.component.d.ts +26 -26
- package/alt-kucuk-kart/index.d.ts +5 -5
- package/alt-kucuk-kart/public_api.d.ts +1 -1
- package/api/globalFunctions.d.ts +45 -45
- package/api/index.d.ts +5 -5
- package/api/models/enums.d.ts +133 -133
- package/api/models/faturalama/faturaFiltre.d.ts +58 -58
- package/api/models/fourDConstants.d.ts +85 -84
- package/api/models/fourDConstants.d.ts.map +1 -1
- package/api/models/index.d.ts +5 -5
- package/api/models/kisisel/izin-islemleri/izinDetaylari.d.ts +24 -24
- package/api/models/kisisel/izin-islemleri/izinFiltre.d.ts +13 -13
- package/api/models/kisisel/izin-islemleri/izinGuncelle.d.ts +11 -11
- package/api/models/kisisel/izin-islemleri/izinListe.d.ts +28 -28
- package/api/models/kisisel/izin-islemleri/izinSilAlanlar.d.ts +4 -4
- package/api/models/kisisel/kullanici-onay-islemleri/onayDetaylari.d.ts +82 -82
- package/api/models/kisisel/kullanici-onay-islemleri/onayFiltre.d.ts +40 -40
- package/api/models/kisisel/kullanici-onay-islemleri/onayGuncelle.d.ts +7 -7
- package/api/models/kisisel/kullanici-onay-islemleri/onayListe.d.ts +31 -31
- package/api/models/kisisel/masraf-islemleri/masrafDetaylari.d.ts +57 -57
- package/api/models/kisisel/masraf-islemleri/masrafFiltre.d.ts +16 -16
- package/api/models/kisisel/masraf-islemleri/masrafGuncelle.d.ts +12 -12
- package/api/models/kisisel/masraf-islemleri/masrafListe.d.ts +82 -82
- package/api/models/kisisel/masraf-islemleri/masrafSilAlanlar.d.ts +4 -4
- package/api/models/logbook/logbook.d.ts +103 -103
- package/api/models/login/login.d.ts +22 -22
- package/api/models/onayBilgi.d.ts +8 -8
- package/api/models/onaya-gonder-sorgu/onayaGonderDetaylar.d.ts +66 -66
- package/api/models/ortak.d.ts +111 -111
- package/api/models/ozet/OzetKartAlan.d.ts +15 -15
- package/api/models/ozet/ozetData.d.ts +21 -21
- package/api/models/planlama/kampanya/kampanyaFiltre.d.ts +16 -16
- package/api/models/planlama/tarife/tarifeFiltre.d.ts +19 -19
- package/api/models/public_api.d.ts +53 -53
- package/api/models/raporlar/izin-raporu/izinRaporDetaylari.d.ts +14 -14
- package/api/models/raporlar/izin-raporu/izinRaporListe.d.ts +16 -16
- package/api/models/raporlar/listeden-sec/listeSecenekler.d.ts +16 -16
- package/api/models/raporlar/rapor-detay/raporDetaylari.d.ts +52 -52
- package/api/models/raporlar/rapor-detay/raporSilGonderAlanlar.d.ts +8 -8
- package/api/models/raporlar/rapor-zamanlama/zamanlamaAyarlari.d.ts +45 -45
- package/api/models/sistem-ozet/sistemOzetData.d.ts +143 -143
- package/api/models/sistem-raporlari/sistemRaporlariData.d.ts +10 -10
- package/api/models/tanimlama/mecra/mecraFiltre.d.ts +23 -23
- package/api/models/tanimlama/musteri/musteriFiltre.d.ts +20 -20
- package/api/models/tanimlama/musteri-grubu/musteriGrubuFiltre.d.ts +10 -10
- package/api/models/tanimlama/pazarlama-sirketi/pazarlamaSirketiFiltre.d.ts +20 -20
- package/api/models/tanimlama/urun/urunFiltre.d.ts +13 -13
- package/api/models/teklif-siparis/teklifDetaylari.d.ts +24 -24
- package/api/models/teklif-siparis/teklifFiltre.d.ts +13 -13
- package/api/models/teklif-siparis/teklifGuncelle.d.ts +11 -11
- package/api/models/teklif-siparis/teklifListe.d.ts +27 -27
- package/api/models/teklif-siparis/teklifSilAlanlar.d.ts +4 -4
- package/api/models/theme/bildirimler.d.ts +30 -30
- package/api/models/timeSheet/timeSheetGirisListeler.d.ts +324 -324
- package/api/models/timeSheet/timeSheetLog.d.ts +14 -14
- package/api/models/timeSheet/timeSheetOzetListe.d.ts +18 -18
- package/api/models/timeSheet/timeSheetSecenekler.d.ts +28 -28
- package/api/models/xlConfig.d.ts +195 -195
- package/api/models/xlConfig.d.ts.map +1 -1
- package/api/models/xlConstants.d.ts +59 -59
- package/api/models/xlOptions.d.ts +26 -26
- package/api/models/xlTools.d.ts +2 -2
- package/api/public_api.d.ts +1 -1
- package/dikey-baslikli-panel/dikey-baslikli-panel.component.d.ts +16 -16
- package/dikey-baslikli-panel/index.d.ts +5 -5
- package/dikey-baslikli-panel/public_api.d.ts +1 -1
- package/directives/buyukHarf.directive/buyukHarf.directive.d.ts +16 -16
- package/directives/buyukHarf.directive/index.d.ts +5 -5
- package/directives/buyukHarf.directive/public_api.d.ts +1 -1
- package/directives/ciftBoslukTek.directive/ciftBoslukTek.directive.d.ts +16 -16
- package/directives/ciftBoslukTek.directive/index.d.ts +5 -5
- package/directives/ciftBoslukTek.directive/public_api.d.ts +1 -1
- package/directives/disable.directive/disable.directive.d.ts +35 -35
- package/directives/disable.directive/index.d.ts +5 -5
- package/directives/disable.directive/public_api.d.ts +1 -1
- package/directives/flexBasis.directive/flexBasis.directive.d.ts +32 -32
- package/directives/flexBasis.directive/index.d.ts +5 -5
- package/directives/flexBasis.directive/public_api.d.ts +1 -1
- package/directives/ilkHarfBuyuk.directive/ilkHarfBuyuk.directive.d.ts +16 -16
- package/directives/ilkHarfBuyuk.directive/index.d.ts +5 -5
- package/directives/ilkHarfBuyuk.directive/public_api.d.ts +1 -1
- package/directives/index.d.ts +5 -5
- package/directives/maksimumUzunluk.directive/index.d.ts +5 -5
- package/directives/maksimumUzunluk.directive/maksimumUzunluk.directive.d.ts +17 -17
- package/directives/maksimumUzunluk.directive/public_api.d.ts +1 -1
- package/directives/public_api.d.ts +10 -10
- package/directives/sagSolBoslukSil.directive/index.d.ts +5 -5
- package/directives/sagSolBoslukSil.directive/public_api.d.ts +1 -1
- package/directives/sagSolBoslukSil.directive/sagSolBoslukSil.directive.d.ts +16 -16
- package/directives/sutunGenisligi.directive/index.d.ts +5 -5
- package/directives/sutunGenisligi.directive/public_api.d.ts +1 -1
- package/directives/sutunGenisligi.directive/sutunGenisligi.directive.d.ts +42 -42
- package/directives/tumBoslukSil.directive/index.d.ts +5 -5
- package/directives/tumBoslukSil.directive/public_api.d.ts +1 -1
- package/directives/tumBoslukSil.directive/tumBoslukSil.directive.d.ts +16 -16
- package/directives/tumIlkHarfBuyuk.directive/index.d.ts +5 -5
- package/directives/tumIlkHarfBuyuk.directive/public_api.d.ts +1 -1
- package/directives/tumIlkHarfBuyuk.directive/tumIlkHarfBuyuk.directive.d.ts +16 -16
- package/esm2022/alt-buyuk-kart/alt-buyuk-kart.component.mjs +60 -58
- package/esm2022/alt-buyuk-kart/limitng-alt-buyuk-kart.mjs +4 -4
- package/esm2022/alt-buyuk-kart/public_api.mjs +1 -1
- package/esm2022/alt-kucuk-kart/alt-kucuk-kart.component.mjs +60 -58
- package/esm2022/alt-kucuk-kart/limitng-alt-kucuk-kart.mjs +4 -4
- package/esm2022/alt-kucuk-kart/public_api.mjs +1 -1
- package/esm2022/api/globalFunctions.mjs +525 -525
- package/esm2022/api/limitng-api.mjs +4 -4
- package/esm2022/api/models/enums.mjs +143 -143
- package/esm2022/api/models/faturalama/faturaFiltre.mjs +60 -60
- package/esm2022/api/models/fourDConstants.mjs +90 -89
- package/esm2022/api/models/kisisel/izin-islemleri/izinDetaylari.mjs +15 -15
- package/esm2022/api/models/kisisel/izin-islemleri/izinFiltre.mjs +16 -16
- package/esm2022/api/models/kisisel/izin-islemleri/izinGuncelle.mjs +5 -5
- package/esm2022/api/models/kisisel/izin-islemleri/izinListe.mjs +25 -25
- package/esm2022/api/models/kisisel/izin-islemleri/izinSilAlanlar.mjs +6 -6
- package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayDetaylari.mjs +40 -40
- package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayFiltre.mjs +41 -41
- package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayGuncelle.mjs +9 -9
- package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayListe.mjs +34 -34
- package/esm2022/api/models/kisisel/masraf-islemleri/masrafDetaylari.mjs +53 -53
- package/esm2022/api/models/kisisel/masraf-islemleri/masrafFiltre.mjs +19 -19
- package/esm2022/api/models/kisisel/masraf-islemleri/masrafGuncelle.mjs +5 -5
- package/esm2022/api/models/kisisel/masraf-islemleri/masrafListe.mjs +40 -40
- package/esm2022/api/models/kisisel/masraf-islemleri/masrafSilAlanlar.mjs +6 -6
- package/esm2022/api/models/limitng-api-models.mjs +4 -4
- package/esm2022/api/models/logbook/logbook.mjs +110 -110
- package/esm2022/api/models/login/login.mjs +10 -10
- package/esm2022/api/models/onayBilgi.mjs +8 -8
- package/esm2022/api/models/onaya-gonder-sorgu/onayaGonderDetaylar.mjs +55 -55
- package/esm2022/api/models/ortak.mjs +83 -83
- package/esm2022/api/models/ozet/OzetKartAlan.mjs +1 -1
- package/esm2022/api/models/ozet/ozetData.mjs +1 -1
- package/esm2022/api/models/planlama/kampanya/kampanyaFiltre.mjs +19 -19
- package/esm2022/api/models/planlama/tarife/tarifeFiltre.mjs +22 -22
- package/esm2022/api/models/public_api.mjs +65 -65
- package/esm2022/api/models/raporlar/izin-raporu/izinRaporDetaylari.mjs +7 -7
- package/esm2022/api/models/raporlar/izin-raporu/izinRaporListe.mjs +18 -18
- package/esm2022/api/models/raporlar/listeden-sec/listeSecenekler.mjs +18 -18
- package/esm2022/api/models/raporlar/rapor-detay/raporDetaylari.mjs +62 -62
- package/esm2022/api/models/raporlar/rapor-detay/raporSilGonderAlanlar.mjs +6 -6
- package/esm2022/api/models/raporlar/rapor-zamanlama/zamanlamaAyarlari.mjs +46 -46
- package/esm2022/api/models/sistem-ozet/sistemOzetData.mjs +171 -171
- package/esm2022/api/models/sistem-raporlari/sistemRaporlariData.mjs +7 -7
- package/esm2022/api/models/tanimlama/mecra/mecraFiltre.mjs +23 -23
- package/esm2022/api/models/tanimlama/musteri/musteriFiltre.mjs +23 -23
- package/esm2022/api/models/tanimlama/musteri-grubu/musteriGrubuFiltre.mjs +13 -13
- package/esm2022/api/models/tanimlama/pazarlama-sirketi/pazarlamaSirketiFiltre.mjs +21 -21
- package/esm2022/api/models/tanimlama/urun/urunFiltre.mjs +16 -16
- package/esm2022/api/models/teklif-siparis/teklifDetaylari.mjs +15 -15
- package/esm2022/api/models/teklif-siparis/teklifFiltre.mjs +16 -16
- package/esm2022/api/models/teklif-siparis/teklifGuncelle.mjs +5 -5
- package/esm2022/api/models/teklif-siparis/teklifListe.mjs +27 -27
- package/esm2022/api/models/teklif-siparis/teklifSilAlanlar.mjs +6 -6
- package/esm2022/api/models/theme/bildirimler.mjs +38 -38
- package/esm2022/api/models/timeSheet/timeSheetGirisListeler.mjs +304 -304
- package/esm2022/api/models/timeSheet/timeSheetLog.mjs +13 -13
- package/esm2022/api/models/timeSheet/timeSheetOzetListe.mjs +21 -21
- package/esm2022/api/models/timeSheet/timeSheetSecenekler.mjs +29 -29
- package/esm2022/api/models/xlConfig.mjs +437 -437
- package/esm2022/api/models/xlConstants.mjs +65 -65
- package/esm2022/api/models/xlOptions.mjs +33 -33
- package/esm2022/api/models/xlTools.mjs +2 -2
- package/esm2022/api/public_api.mjs +1 -1
- package/esm2022/dikey-baslikli-panel/dikey-baslikli-panel.component.mjs +41 -39
- package/esm2022/dikey-baslikli-panel/limitng-dikey-baslikli-panel.mjs +4 -4
- package/esm2022/dikey-baslikli-panel/public_api.mjs +1 -1
- package/esm2022/directives/buyukHarf.directive/buyukHarf.directive.mjs +42 -40
- package/esm2022/directives/buyukHarf.directive/limitng-directives-buyukHarf.directive.mjs +4 -4
- package/esm2022/directives/buyukHarf.directive/public_api.mjs +1 -1
- package/esm2022/directives/ciftBoslukTek.directive/ciftBoslukTek.directive.mjs +43 -41
- package/esm2022/directives/ciftBoslukTek.directive/limitng-directives-ciftBoslukTek.directive.mjs +4 -4
- package/esm2022/directives/ciftBoslukTek.directive/public_api.mjs +1 -1
- package/esm2022/directives/disable.directive/disable.directive.mjs +157 -155
- package/esm2022/directives/disable.directive/limitng-directives-disable.directive.mjs +4 -4
- package/esm2022/directives/disable.directive/public_api.mjs +1 -1
- package/esm2022/directives/flexBasis.directive/flexBasis.directive.mjs +78 -74
- package/esm2022/directives/flexBasis.directive/limitng-directives-flexBasis.directive.mjs +4 -4
- package/esm2022/directives/flexBasis.directive/public_api.mjs +1 -1
- package/esm2022/directives/ilkHarfBuyuk.directive/ilkHarfBuyuk.directive.mjs +43 -41
- package/esm2022/directives/ilkHarfBuyuk.directive/limitng-directives-ilkHarfBuyuk.directive.mjs +4 -4
- package/esm2022/directives/ilkHarfBuyuk.directive/public_api.mjs +1 -1
- package/esm2022/directives/limitng-directives.mjs +4 -4
- package/esm2022/directives/maksimumUzunluk.directive/limitng-directives-maksimumUzunluk.directive.mjs +4 -4
- package/esm2022/directives/maksimumUzunluk.directive/maksimumUzunluk.directive.mjs +48 -46
- package/esm2022/directives/maksimumUzunluk.directive/public_api.mjs +1 -1
- package/esm2022/directives/public_api.mjs +10 -10
- package/esm2022/directives/sagSolBoslukSil.directive/limitng-directives-sagSolBoslukSil.directive.mjs +4 -4
- package/esm2022/directives/sagSolBoslukSil.directive/public_api.mjs +1 -1
- package/esm2022/directives/sagSolBoslukSil.directive/sagSolBoslukSil.directive.mjs +42 -40
- package/esm2022/directives/sutunGenisligi.directive/limitng-directives-sutunGenisligi.directive.mjs +4 -4
- package/esm2022/directives/sutunGenisligi.directive/public_api.mjs +1 -1
- package/esm2022/directives/sutunGenisligi.directive/sutunGenisligi.directive.mjs +112 -107
- package/esm2022/directives/tumBoslukSil.directive/limitng-directives-tumBoslukSil.directive.mjs +4 -4
- package/esm2022/directives/tumBoslukSil.directive/public_api.mjs +1 -1
- package/esm2022/directives/tumBoslukSil.directive/tumBoslukSil.directive.mjs +43 -41
- package/esm2022/directives/tumIlkHarfBuyuk.directive/limitng-directives-tumIlkHarfBuyuk.directive.mjs +4 -4
- package/esm2022/directives/tumIlkHarfBuyuk.directive/public_api.mjs +1 -1
- package/esm2022/directives/tumIlkHarfBuyuk.directive/tumIlkHarfBuyuk.directive.mjs +44 -42
- package/esm2022/filtre-bar/filtre-bar.component.mjs +128 -126
- package/esm2022/filtre-bar/limitng-filtre-bar.mjs +4 -4
- package/esm2022/filtre-bar/public_api.mjs +1 -1
- package/esm2022/geri-ileri-detay/geri-ileri-detay.component.mjs +57 -56
- package/esm2022/geri-ileri-detay/geri-ileri-detay.model.mjs +161 -161
- package/esm2022/geri-ileri-detay/limitng-geri-ileri-detay.mjs +4 -4
- package/esm2022/geri-ileri-detay/public_api.mjs +2 -2
- package/esm2022/geri-ileri-liste/geri-ileri-liste.component.mjs +62 -61
- package/esm2022/geri-ileri-liste/geri-ileri-liste.model.mjs +200 -200
- package/esm2022/geri-ileri-liste/limitng-geri-ileri-liste.mjs +4 -4
- package/esm2022/geri-ileri-liste/public_api.mjs +2 -2
- package/esm2022/limitng.mjs +4 -4
- package/esm2022/pipes/boolToPlus.pipe/boolToPlus.pipe.mjs +31 -29
- package/esm2022/pipes/boolToPlus.pipe/limitng-pipes-boolToPlus.pipe.mjs +4 -4
- package/esm2022/pipes/boolToPlus.pipe/public_api.mjs +1 -1
- package/esm2022/pipes/boolToPlusMinus.pipe/boolToPlusMinus.pipe.mjs +31 -29
- package/esm2022/pipes/boolToPlusMinus.pipe/limitng-pipes-boolToPlusMinus.pipe.mjs +4 -4
- package/esm2022/pipes/boolToPlusMinus.pipe/public_api.mjs +1 -1
- package/esm2022/pipes/dateToText.pipe/dateToText.pipe.mjs +32 -30
- package/esm2022/pipes/dateToText.pipe/limitng-pipes-dateToText.pipe.mjs +4 -4
- package/esm2022/pipes/dateToText.pipe/public_api.mjs +1 -1
- package/esm2022/pipes/evetHayir.pipe/evetHayir.pipe.mjs +31 -29
- package/esm2022/pipes/evetHayir.pipe/limitng-pipes-evetHayir.pipe.mjs +4 -4
- package/esm2022/pipes/evetHayir.pipe/public_api.mjs +1 -1
- package/esm2022/pipes/limitng-pipes.mjs +4 -4
- package/esm2022/pipes/mecraTuru.pipe/limitng-pipes-mecraTuru.pipe.mjs +4 -4
- package/esm2022/pipes/mecraTuru.pipe/mecraTuru.pipe.mjs +32 -30
- package/esm2022/pipes/mecraTuru.pipe/public_api.mjs +1 -1
- package/esm2022/pipes/public_api.mjs +5 -5
- package/esm2022/pipes/safe.pipe/limitng-pipes-safe.pipe.mjs +4 -4
- package/esm2022/pipes/safe.pipe/public_api.mjs +1 -1
- package/esm2022/pipes/safe.pipe/safe.pipe.mjs +42 -40
- package/esm2022/public_api.mjs +6 -6
- package/esm2022/rapor-kart/limitng-rapor-kart.mjs +4 -4
- package/esm2022/rapor-kart/models/limitng-rapor-kart-models.mjs +4 -4
- package/esm2022/rapor-kart/models/public_api.mjs +1 -1
- package/esm2022/rapor-kart/models/rapor-kart-secenekler.mjs +9 -9
- package/esm2022/rapor-kart/public_api.mjs +1 -1
- package/esm2022/rapor-kart/rapor-kart.component.mjs +66 -64
- package/esm2022/sol-buyuk-kart/limitng-sol-buyuk-kart.mjs +4 -4
- package/esm2022/sol-buyuk-kart/public_api.mjs +1 -1
- package/esm2022/sol-buyuk-kart/sol-buyuk-kart.component.mjs +55 -53
- package/esm2022/sol-kucuk-kart/limitng-sol-kucuk-kart.mjs +4 -4
- package/esm2022/sol-kucuk-kart/public_api.mjs +1 -1
- package/esm2022/sol-kucuk-kart/sol-kucuk-kart.component.mjs +48 -46
- package/esm2022/yatay-baslikli-panel/limitng-yatay-baslikli-panel.mjs +4 -4
- package/esm2022/yatay-baslikli-panel/public_api.mjs +1 -1
- package/esm2022/yatay-baslikli-panel/yatay-baslikli-panel.component.mjs +78 -76
- package/fesm2022/limitng-alt-buyuk-kart.mjs +54 -54
- package/fesm2022/limitng-alt-buyuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-alt-kucuk-kart.mjs +54 -54
- package/fesm2022/limitng-alt-kucuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-api-models.mjs +2284 -2283
- package/fesm2022/limitng-api-models.mjs.map +1 -1
- package/fesm2022/limitng-api.mjs +666 -666
- package/fesm2022/limitng-dikey-baslikli-panel.mjs +36 -36
- package/fesm2022/limitng-dikey-baslikli-panel.mjs.map +1 -1
- package/fesm2022/limitng-directives-buyukHarf.directive.mjs +37 -37
- package/fesm2022/limitng-directives-buyukHarf.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs +37 -37
- package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-disable.directive.mjs +145 -145
- package/fesm2022/limitng-directives-disable.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-flexBasis.directive.mjs +71 -71
- package/fesm2022/limitng-directives-flexBasis.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs +37 -37
- package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs +43 -43
- package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs +37 -37
- package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs +104 -104
- package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs +37 -37
- package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs +38 -38
- package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives.mjs +568 -568
- package/fesm2022/limitng-directives.mjs.map +1 -1
- package/fesm2022/limitng-filtre-bar.mjs +121 -121
- package/fesm2022/limitng-filtre-bar.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-detay.mjs +202 -203
- package/fesm2022/limitng-geri-ileri-detay.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-liste.mjs +246 -247
- package/fesm2022/limitng-geri-ileri-liste.mjs.map +1 -1
- package/fesm2022/limitng-pipes-boolToPlus.pipe.mjs +27 -27
- package/fesm2022/limitng-pipes-boolToPlus.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-boolToPlusMinus.pipe.mjs +27 -27
- package/fesm2022/limitng-pipes-boolToPlusMinus.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-dateToText.pipe.mjs +27 -27
- package/fesm2022/limitng-pipes-dateToText.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-evetHayir.pipe.mjs +27 -27
- package/fesm2022/limitng-pipes-evetHayir.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-mecraTuru.pipe.mjs +27 -27
- package/fesm2022/limitng-pipes-mecraTuru.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes-safe.pipe.mjs +37 -37
- package/fesm2022/limitng-pipes-safe.pipe.mjs.map +1 -1
- package/fesm2022/limitng-pipes.mjs +137 -137
- package/fesm2022/limitng-pipes.mjs.map +1 -1
- package/fesm2022/limitng-rapor-kart-models.mjs +10 -10
- package/fesm2022/limitng-rapor-kart.mjs +60 -60
- package/fesm2022/limitng-rapor-kart.mjs.map +1 -1
- package/fesm2022/limitng-sol-buyuk-kart.mjs +48 -48
- package/fesm2022/limitng-sol-buyuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-sol-kucuk-kart.mjs +42 -42
- package/fesm2022/limitng-sol-kucuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-yatay-baslikli-panel.mjs +70 -70
- package/fesm2022/limitng-yatay-baslikli-panel.mjs.map +1 -1
- package/fesm2022/limitng.mjs +2 -2
- package/filtre-bar/filtre-bar.component.d.ts +35 -35
- package/filtre-bar/index.d.ts +5 -5
- package/filtre-bar/public_api.d.ts +1 -1
- package/geri-ileri-detay/geri-ileri-detay.component.d.ts +24 -24
- package/geri-ileri-detay/geri-ileri-detay.model.d.ts +45 -45
- package/geri-ileri-detay/index.d.ts +5 -5
- package/geri-ileri-detay/public_api.d.ts +2 -2
- package/geri-ileri-liste/geri-ileri-liste.component.d.ts +26 -26
- package/geri-ileri-liste/geri-ileri-liste.model.d.ts +50 -50
- package/geri-ileri-liste/index.d.ts +5 -5
- package/geri-ileri-liste/public_api.d.ts +2 -2
- package/index.d.ts +5 -5
- package/package.json +37 -37
- package/pipes/boolToPlus.pipe/boolToPlus.pipe.d.ts +12 -12
- package/pipes/boolToPlus.pipe/index.d.ts +5 -5
- package/pipes/boolToPlus.pipe/public_api.d.ts +1 -1
- package/pipes/boolToPlusMinus.pipe/boolToPlusMinus.pipe.d.ts +12 -12
- package/pipes/boolToPlusMinus.pipe/index.d.ts +5 -5
- package/pipes/boolToPlusMinus.pipe/public_api.d.ts +1 -1
- package/pipes/dateToText.pipe/dateToText.pipe.d.ts +12 -12
- package/pipes/dateToText.pipe/index.d.ts +5 -5
- package/pipes/dateToText.pipe/public_api.d.ts +1 -1
- package/pipes/evetHayir.pipe/evetHayir.pipe.d.ts +12 -12
- package/pipes/evetHayir.pipe/index.d.ts +5 -5
- package/pipes/evetHayir.pipe/public_api.d.ts +1 -1
- package/pipes/index.d.ts +5 -5
- package/pipes/mecraTuru.pipe/index.d.ts +5 -5
- package/pipes/mecraTuru.pipe/mecraTuru.pipe.d.ts +12 -12
- package/pipes/mecraTuru.pipe/public_api.d.ts +1 -1
- package/pipes/public_api.d.ts +5 -5
- package/pipes/safe.pipe/index.d.ts +5 -5
- package/pipes/safe.pipe/public_api.d.ts +1 -1
- package/pipes/safe.pipe/safe.pipe.d.ts +15 -15
- package/public_api.d.ts +6 -6
- package/rapor-kart/index.d.ts +5 -5
- package/rapor-kart/models/index.d.ts +5 -5
- package/rapor-kart/models/public_api.d.ts +1 -1
- package/rapor-kart/models/rapor-kart-secenekler.d.ts +7 -7
- package/rapor-kart/public_api.d.ts +1 -1
- package/rapor-kart/rapor-kart.component.d.ts +29 -29
- package/sol-buyuk-kart/index.d.ts +5 -5
- package/sol-buyuk-kart/public_api.d.ts +1 -1
- package/sol-buyuk-kart/sol-buyuk-kart.component.d.ts +24 -24
- package/sol-kucuk-kart/index.d.ts +5 -5
- package/sol-kucuk-kart/public_api.d.ts +1 -1
- package/sol-kucuk-kart/sol-kucuk-kart.component.d.ts +19 -19
- package/yatay-baslikli-panel/index.d.ts +5 -5
- package/yatay-baslikli-panel/public_api.d.ts +1 -1
- package/yatay-baslikli-panel/yatay-baslikli-panel.component.d.ts +28 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-disable.directive.mjs","sources":["../../src/app/components/directives/disable.directive/disable.directive.ts","../../src/app/components/directives/disable.directive/limitng-directives-disable.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { AfterContentInit, AfterViewInit, ContentChildren, Directive, ElementRef, Input, NgModule, OnChanges, QueryList, Renderer2 } from '@angular/core';\r\nimport { Button } from 'primeng/button';\r\nimport { Checkbox } from 'primeng/checkbox';\r\nimport { Dropdown } from 'primeng/dropdown';\r\nimport { InputNumber } from 'primeng/inputnumber';\r\nimport { InputSwitch } from 'primeng/inputswitch';\r\nimport { RadioButton } from 'primeng/radiobutton';\r\nimport { SelectButton } from 'primeng/selectbutton';\r\n\r\nconst DISABLED = 'disabled';\r\nconst APP_DISABLED = 'app-disabled';\r\nconst TAB_INDEX = 'tabindex';\r\nconst TAG_ANCHOR = 'a';\r\n\r\n@Directive({\r\n selector: '[appDisable]'\r\n})\r\nexport class DisableDirective implements OnChanges, AfterViewInit, AfterContentInit {\r\n\r\n @Input() appDisable = false;\r\n @ContentChildren(Checkbox, { descendants: true }) checkboxes: QueryList<Checkbox>;\r\n @ContentChildren(RadioButton, { descendants: true }) radioButtons: QueryList<RadioButton>;\r\n @ContentChildren(Dropdown, { descendants: true }) dropdowns: QueryList<Dropdown>;\r\n @ContentChildren(SelectButton, { descendants: true }) selectbuttons: QueryList<SelectButton>;\r\n @ContentChildren(InputSwitch, { descendants: true }) inputSwitches: QueryList<InputSwitch>;\r\n @ContentChildren(InputNumber, { descendants: true }) inputNumbers: QueryList<InputNumber>;\r\n @ContentChildren(Button, { descendants: true }) buttons: QueryList<Button>;\r\n // @ContentChildren(InputText, { descendants: true }) inputTexts: QueryList<InputText>;\r\n constructor(\r\n private eleRef: ElementRef,\r\n private renderer: Renderer2\r\n ) { }\r\n\r\n ngOnChanges() {\r\n this.disableElement(this.eleRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n\r\n }\r\n disableElementPrimeNG() {\r\n if (this.checkboxes) {\r\n this.checkboxes.forEach(checkbox => {\r\n checkbox.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.radioButtons) {\r\n this.radioButtons.forEach(radiobutton => {\r\n radiobutton.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.dropdowns) {\r\n this.dropdowns.forEach(dropdown => {\r\n dropdown.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.selectbuttons) {\r\n this.selectbuttons.forEach(selectbutton => {\r\n selectbutton.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.inputSwitches) {\r\n this.inputSwitches.forEach(inputSwitch => {\r\n inputSwitch.setDisabledState(this.appDisable);\r\n });\r\n }\r\n if (this.inputNumbers) {\r\n this.inputNumbers.forEach(inputNumber => {\r\n inputNumber.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n /*\r\n if (this.inputTexts) {\r\n this.inputTexts.forEach(inputText => {\r\n inputText.el.nativeElement.disabled = this.appDisable;\r\n });\r\n }\r\n */\r\n\r\n }\r\n\r\n ngAfterContentInit() {\r\n this.disableElementPrimeNG();\r\n }\r\n ngAfterViewInit() {\r\n this.disableElement(this.eleRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n private disableElement(element: any) {\r\n\r\n if ((element.localName === 'p-button') || (element.localName === 'p-inputtextarea')) {\r\n if (!element.hasAttribute(\"data-alwaysEnabled\")) {\r\n element.children[0].disabled = this.appDisable\r\n }\r\n }\r\n // eslint-disable-next-line no-dupe-else-if\r\n else if ((element.localName === 'p-dropdown') || (element.localName === 'p-checkbox') || (element.localName === 'p-radiobutton') || (element.localName === 'p-inputtext')) {\r\n }\r\n else {\r\n\r\n if (this.appDisable) {\r\n if (!element.hasAttribute(DISABLED)) {\r\n this.renderer.setAttribute(element, APP_DISABLED, '');\r\n this.renderer.setAttribute(element, DISABLED, 'true');\r\n\r\n // disabling anchor tab keyboard event\r\n if (element.tagName.toLowerCase() === TAG_ANCHOR) {\r\n this.renderer.setAttribute(element, TAB_INDEX, '-1');\r\n }\r\n }\r\n } else {\r\n if (element.hasAttribute(APP_DISABLED)) {\r\n if (element.getAttribute('disabled') !== '') {\r\n element.removeAttribute(DISABLED);\r\n }\r\n element.removeAttribute(APP_DISABLED);\r\n if (element.tagName.toLowerCase() === TAG_ANCHOR) {\r\n element.removeAttribute(TAB_INDEX);\r\n }\r\n }\r\n }\r\n if (element.children) {\r\n for (const child of element.children) {\r\n this.disableElement(child);\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [DisableDirective],\r\n exports: [DisableDirective]\r\n})\r\nexport class DisableDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;AAUA,MAAM,QAAQ,GAAG,UAAU,CAAC;AAC5B,MAAM,YAAY,GAAG,cAAc,CAAC;AACpC,MAAM,SAAS,GAAG,UAAU,CAAC;AAC7B,MAAM,UAAU,GAAG,GAAG,CAAC;MAKV,gBAAgB,CAAA;;IAW3B,WACU,CAAA,MAAkB,EAClB,QAAmB,EAAA;QADnB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAY;QAClB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAXpB,IA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C3ID;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"limitng-directives-disable.directive.mjs","sources":["../../src/app/components/directives/disable.directive/disable.directive.ts","../../src/app/components/directives/disable.directive/limitng-directives-disable.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { AfterContentInit, AfterViewInit, ContentChildren, Directive, ElementRef, Input, NgModule, OnChanges, QueryList, Renderer2 } from '@angular/core';\r\nimport { Button } from 'primeng/button';\r\nimport { Checkbox } from 'primeng/checkbox';\r\nimport { Dropdown } from 'primeng/dropdown';\r\nimport { InputNumber } from 'primeng/inputnumber';\r\nimport { InputSwitch } from 'primeng/inputswitch';\r\nimport { RadioButton } from 'primeng/radiobutton';\r\nimport { SelectButton } from 'primeng/selectbutton';\r\n\r\nconst DISABLED = 'disabled';\r\nconst APP_DISABLED = 'app-disabled';\r\nconst TAB_INDEX = 'tabindex';\r\nconst TAG_ANCHOR = 'a';\r\n\r\n@Directive({\r\n selector: '[appDisable]'\r\n})\r\nexport class DisableDirective implements OnChanges, AfterViewInit, AfterContentInit {\r\n\r\n @Input() appDisable = false;\r\n @ContentChildren(Checkbox, { descendants: true }) checkboxes: QueryList<Checkbox>;\r\n @ContentChildren(RadioButton, { descendants: true }) radioButtons: QueryList<RadioButton>;\r\n @ContentChildren(Dropdown, { descendants: true }) dropdowns: QueryList<Dropdown>;\r\n @ContentChildren(SelectButton, { descendants: true }) selectbuttons: QueryList<SelectButton>;\r\n @ContentChildren(InputSwitch, { descendants: true }) inputSwitches: QueryList<InputSwitch>;\r\n @ContentChildren(InputNumber, { descendants: true }) inputNumbers: QueryList<InputNumber>;\r\n @ContentChildren(Button, { descendants: true }) buttons: QueryList<Button>;\r\n // @ContentChildren(InputText, { descendants: true }) inputTexts: QueryList<InputText>;\r\n constructor(\r\n private eleRef: ElementRef,\r\n private renderer: Renderer2\r\n ) { }\r\n\r\n ngOnChanges() {\r\n this.disableElement(this.eleRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n\r\n }\r\n disableElementPrimeNG() {\r\n if (this.checkboxes) {\r\n this.checkboxes.forEach(checkbox => {\r\n checkbox.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.radioButtons) {\r\n this.radioButtons.forEach(radiobutton => {\r\n radiobutton.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.dropdowns) {\r\n this.dropdowns.forEach(dropdown => {\r\n dropdown.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.selectbuttons) {\r\n this.selectbuttons.forEach(selectbutton => {\r\n selectbutton.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.inputSwitches) {\r\n this.inputSwitches.forEach(inputSwitch => {\r\n inputSwitch.setDisabledState(this.appDisable);\r\n });\r\n }\r\n if (this.inputNumbers) {\r\n this.inputNumbers.forEach(inputNumber => {\r\n inputNumber.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n /*\r\n if (this.inputTexts) {\r\n this.inputTexts.forEach(inputText => {\r\n inputText.el.nativeElement.disabled = this.appDisable;\r\n });\r\n }\r\n */\r\n\r\n }\r\n\r\n ngAfterContentInit() {\r\n this.disableElementPrimeNG();\r\n }\r\n ngAfterViewInit() {\r\n this.disableElement(this.eleRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n private disableElement(element: any) {\r\n\r\n if ((element.localName === 'p-button') || (element.localName === 'p-inputtextarea')) {\r\n if (!element.hasAttribute(\"data-alwaysEnabled\")) {\r\n element.children[0].disabled = this.appDisable\r\n }\r\n }\r\n // eslint-disable-next-line no-dupe-else-if\r\n else if ((element.localName === 'p-dropdown') || (element.localName === 'p-checkbox') || (element.localName === 'p-radiobutton') || (element.localName === 'p-inputtext')) {\r\n }\r\n else {\r\n\r\n if (this.appDisable) {\r\n if (!element.hasAttribute(DISABLED)) {\r\n this.renderer.setAttribute(element, APP_DISABLED, '');\r\n this.renderer.setAttribute(element, DISABLED, 'true');\r\n\r\n // disabling anchor tab keyboard event\r\n if (element.tagName.toLowerCase() === TAG_ANCHOR) {\r\n this.renderer.setAttribute(element, TAB_INDEX, '-1');\r\n }\r\n }\r\n } else {\r\n if (element.hasAttribute(APP_DISABLED)) {\r\n if (element.getAttribute('disabled') !== '') {\r\n element.removeAttribute(DISABLED);\r\n }\r\n element.removeAttribute(APP_DISABLED);\r\n if (element.tagName.toLowerCase() === TAG_ANCHOR) {\r\n element.removeAttribute(TAB_INDEX);\r\n }\r\n }\r\n }\r\n if (element.children) {\r\n for (const child of element.children) {\r\n this.disableElement(child);\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [DisableDirective],\r\n exports: [DisableDirective]\r\n})\r\nexport class DisableDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;AAUA,MAAM,QAAQ,GAAG,UAAU,CAAC;AAC5B,MAAM,YAAY,GAAG,cAAc,CAAC;AACpC,MAAM,SAAS,GAAG,UAAU,CAAC;AAC7B,MAAM,UAAU,GAAG,GAAG,CAAC;AAEvB,MAGa,gBAAgB,CAAA;;IAW3B,WACU,CAAA,MAAkB,EAClB,QAAmB,EAAA;QADnB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAY;QAClB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAXpB,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;KAYvB;IAEL,WAAW,GAAA;QACT,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAC/C,IAAI,CAAC,qBAAqB,EAAE,CAAC;KAE9B;IACD,qBAAqB,GAAA;QACnB,IAAI,IAAI,CAAC,UAAU,EAAE;AACnB,YAAA,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,IAAG;AACjC,gBAAA,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;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,CAAA;;AA4GhD,MAKa,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EA1HtB,YAAA,EAAA,CAAA,gBAAgB,CAsHjB,EAAA,OAAA,EAAA,CAAA,YAAY,aAtHX,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;AA0HhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAJvB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA,CAAA;;;AC3ID;;AAEG;;;;"}
|
|
@@ -2,79 +2,79 @@ import { CommonModule } from '@angular/common';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
4
4
|
|
|
5
|
-
class FlexBasisDirective {
|
|
6
|
-
constructor(elementRef) {
|
|
7
|
-
this.elementRef = elementRef;
|
|
8
|
-
this.flexBasis = 0;
|
|
9
|
-
}
|
|
10
|
-
ngOnChanges() {
|
|
11
|
-
this.elementRef.nativeElement.style.flexBasis = this.flexBasis;
|
|
12
|
-
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
17
|
-
type: Directive,
|
|
18
|
-
args: [{
|
|
19
|
-
selector: '[flexBasis]'
|
|
20
|
-
}]
|
|
21
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flexBasis: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}] } });
|
|
24
|
-
class FlexBasisEmDirective {
|
|
25
|
-
constructor(elementRef) {
|
|
26
|
-
this.elementRef = elementRef;
|
|
27
|
-
this.flexBasisEm = 0;
|
|
28
|
-
}
|
|
29
|
-
ngOnChanges() {
|
|
30
|
-
this.elementRef.nativeElement.style.flexBasis = this.flexBasisEm + 'em';
|
|
31
|
-
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
33
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
34
|
-
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
36
|
-
type: Directive,
|
|
37
|
-
args: [{
|
|
38
|
-
selector: '[flexBasisEm]'
|
|
39
|
-
}]
|
|
40
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flexBasisEm: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}] } });
|
|
43
|
-
class FlexBasisPxDirective {
|
|
44
|
-
constructor(elementRef) {
|
|
45
|
-
this.elementRef = elementRef;
|
|
46
|
-
this.flexBasisPx = 0;
|
|
47
|
-
}
|
|
48
|
-
ngOnChanges() {
|
|
49
|
-
this.elementRef.nativeElement.style.flexBasis = this.flexBasisPx + 'px';
|
|
50
|
-
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
52
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
55
|
-
type: Directive,
|
|
56
|
-
args: [{
|
|
57
|
-
selector: '[flexBasisFBPx]'
|
|
58
|
-
}]
|
|
59
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flexBasisPx: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}] } });
|
|
62
|
-
class FlexBasisDirectiveModule {
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
64
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
|
65
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
|
66
|
-
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
68
|
-
type: NgModule,
|
|
69
|
-
args: [{
|
|
70
|
-
imports: [CommonModule],
|
|
71
|
-
declarations: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective],
|
|
72
|
-
exports: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective]
|
|
73
|
-
}]
|
|
5
|
+
class FlexBasisDirective {
|
|
6
|
+
constructor(elementRef) {
|
|
7
|
+
this.elementRef = elementRef;
|
|
8
|
+
this.flexBasis = 0;
|
|
9
|
+
}
|
|
10
|
+
ngOnChanges() {
|
|
11
|
+
this.elementRef.nativeElement.style.flexBasis = this.flexBasis;
|
|
12
|
+
}
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.3", type: FlexBasisDirective, selector: "[flexBasis]", inputs: { flexBasis: "flexBasis" }, usesOnChanges: true, ngImport: i0 }); }
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisDirective, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: '[flexBasis]'
|
|
20
|
+
}]
|
|
21
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flexBasis: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}] } });
|
|
24
|
+
class FlexBasisEmDirective {
|
|
25
|
+
constructor(elementRef) {
|
|
26
|
+
this.elementRef = elementRef;
|
|
27
|
+
this.flexBasisEm = 0;
|
|
28
|
+
}
|
|
29
|
+
ngOnChanges() {
|
|
30
|
+
this.elementRef.nativeElement.style.flexBasis = this.flexBasisEm + 'em';
|
|
31
|
+
}
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisEmDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
33
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.3", type: FlexBasisEmDirective, selector: "[flexBasisEm]", inputs: { flexBasisEm: "flexBasisEm" }, usesOnChanges: true, ngImport: i0 }); }
|
|
34
|
+
}
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisEmDirective, decorators: [{
|
|
36
|
+
type: Directive,
|
|
37
|
+
args: [{
|
|
38
|
+
selector: '[flexBasisEm]'
|
|
39
|
+
}]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flexBasisEm: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}] } });
|
|
43
|
+
class FlexBasisPxDirective {
|
|
44
|
+
constructor(elementRef) {
|
|
45
|
+
this.elementRef = elementRef;
|
|
46
|
+
this.flexBasisPx = 0;
|
|
47
|
+
}
|
|
48
|
+
ngOnChanges() {
|
|
49
|
+
this.elementRef.nativeElement.style.flexBasis = this.flexBasisPx + 'px';
|
|
50
|
+
}
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisPxDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
52
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.3", type: FlexBasisPxDirective, selector: "[flexBasisFBPx]", inputs: { flexBasisPx: "flexBasisPx" }, usesOnChanges: true, ngImport: i0 }); }
|
|
53
|
+
}
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisPxDirective, decorators: [{
|
|
55
|
+
type: Directive,
|
|
56
|
+
args: [{
|
|
57
|
+
selector: '[flexBasisFBPx]'
|
|
58
|
+
}]
|
|
59
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flexBasisPx: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}] } });
|
|
62
|
+
class FlexBasisDirectiveModule {
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
64
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisDirectiveModule, declarations: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective], imports: [CommonModule], exports: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective] }); }
|
|
65
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisDirectiveModule, imports: [CommonModule] }); }
|
|
66
|
+
}
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FlexBasisDirectiveModule, decorators: [{
|
|
68
|
+
type: NgModule,
|
|
69
|
+
args: [{
|
|
70
|
+
imports: [CommonModule],
|
|
71
|
+
declarations: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective],
|
|
72
|
+
exports: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective]
|
|
73
|
+
}]
|
|
74
74
|
}] });
|
|
75
75
|
|
|
76
|
-
/**
|
|
77
|
-
* Generated bundle index. Do not edit.
|
|
76
|
+
/**
|
|
77
|
+
* Generated bundle index. Do not edit.
|
|
78
78
|
*/
|
|
79
79
|
|
|
80
80
|
export { FlexBasisDirective, FlexBasisDirectiveModule, FlexBasisEmDirective, FlexBasisPxDirective };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-flexBasis.directive.mjs","sources":["../../src/app/components/directives/flexBasis.directive/flexBasis.directive.ts","../../src/app/components/directives/flexBasis.directive/limitng-directives-flexBasis.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, Input, NgModule, OnChanges, Renderer2 } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[flexBasis]'\r\n})\r\nexport class FlexBasisDirective implements OnChanges {\r\n @Input() flexBasis = 0;\r\n\r\n constructor(public elementRef: ElementRef) { }\r\n\r\n ngOnChanges() {\r\n this.elementRef.nativeElement.style.flexBasis = this.flexBasis;\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[flexBasisEm]'\r\n})\r\nexport class FlexBasisEmDirective implements OnChanges {\r\n @Input() flexBasisEm = 0;\r\n\r\n constructor(public elementRef: ElementRef) { }\r\n\r\n ngOnChanges() {\r\n this.elementRef.nativeElement.style.flexBasis = this.flexBasisEm + 'em';\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[flexBasisFBPx]'\r\n})\r\nexport class FlexBasisPxDirective implements OnChanges {\r\n @Input() flexBasisPx = 0;\r\n\r\n constructor(public elementRef: ElementRef) { }\r\n\r\n ngOnChanges() {\r\n this.elementRef.nativeElement.style.flexBasis = this.flexBasisPx + 'px';\r\n }\r\n}\r\n\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [ FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective],\r\n exports: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective]\r\n})\r\nexport class FlexBasisDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"limitng-directives-flexBasis.directive.mjs","sources":["../../src/app/components/directives/flexBasis.directive/flexBasis.directive.ts","../../src/app/components/directives/flexBasis.directive/limitng-directives-flexBasis.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, Input, NgModule, OnChanges, Renderer2 } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[flexBasis]'\r\n})\r\nexport class FlexBasisDirective implements OnChanges {\r\n @Input() flexBasis = 0;\r\n\r\n constructor(public elementRef: ElementRef) { }\r\n\r\n ngOnChanges() {\r\n this.elementRef.nativeElement.style.flexBasis = this.flexBasis;\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[flexBasisEm]'\r\n})\r\nexport class FlexBasisEmDirective implements OnChanges {\r\n @Input() flexBasisEm = 0;\r\n\r\n constructor(public elementRef: ElementRef) { }\r\n\r\n ngOnChanges() {\r\n this.elementRef.nativeElement.style.flexBasis = this.flexBasisEm + 'em';\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[flexBasisFBPx]'\r\n})\r\nexport class FlexBasisPxDirective implements OnChanges {\r\n @Input() flexBasisPx = 0;\r\n\r\n constructor(public elementRef: ElementRef) { }\r\n\r\n ngOnChanges() {\r\n this.elementRef.nativeElement.style.flexBasis = this.flexBasisPx + 'px';\r\n }\r\n}\r\n\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [ FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective],\r\n exports: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective]\r\n})\r\nexport class FlexBasisDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAGA,MAGa,kBAAkB,CAAA;AAG7B,IAAA,WAAA,CAAmB,UAAsB,EAAA;QAAtB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAY;QAFhC,IAAS,CAAA,SAAA,GAAG,CAAC,CAAC;KAEuB;IAE9C,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;KAChE;8GAPU,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAlB,kBAAkB,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACxB,iBAAA,CAAA;iGAEU,SAAS,EAAA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EAAE,CAAE,kBAAkB,EAAE,oBAAoB,EAAE,oBAAoB,CAAC;AAC/E,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,oBAAoB,EAAE,oBAAoB,CAAC;AAC1E,iBAAA,CAAA;;;AC/CD;;AAEG;;;;"}
|
|
@@ -3,45 +3,45 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { EventEmitter, Directive, Output, HostListener, NgModule } from '@angular/core';
|
|
4
4
|
import { GlobalFunctions } from 'limitng/api';
|
|
5
5
|
|
|
6
|
-
class IlkHarfBuyukDirective {
|
|
7
|
-
constructor(ref) {
|
|
8
|
-
this.ref = ref;
|
|
9
|
-
this.ngModelChange = new EventEmitter();
|
|
10
|
-
}
|
|
11
|
-
onInput(event) {
|
|
12
|
-
this.ref.nativeElement.value = GlobalFunctions.ilkHarfBuyut(event.target.value);
|
|
13
|
-
this.ngModelChange.emit(this.ref.nativeElement.value);
|
|
14
|
-
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
16
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
19
|
-
type: Directive,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: '[ilkHarfBuyuk]'
|
|
22
|
-
}]
|
|
23
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { ngModelChange: [{
|
|
24
|
-
type: Output
|
|
25
|
-
}], onInput: [{
|
|
26
|
-
type: HostListener,
|
|
27
|
-
args: ['blur', ['$event']]
|
|
28
|
-
}] } });
|
|
29
|
-
class IlkHarfBuyukDirectiveModule {
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
31
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
|
32
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
35
|
-
type: NgModule,
|
|
36
|
-
args: [{
|
|
37
|
-
imports: [CommonModule],
|
|
38
|
-
declarations: [IlkHarfBuyukDirective],
|
|
39
|
-
exports: [IlkHarfBuyukDirective]
|
|
40
|
-
}]
|
|
6
|
+
class IlkHarfBuyukDirective {
|
|
7
|
+
constructor(ref) {
|
|
8
|
+
this.ref = ref;
|
|
9
|
+
this.ngModelChange = new EventEmitter();
|
|
10
|
+
}
|
|
11
|
+
onInput(event) {
|
|
12
|
+
this.ref.nativeElement.value = GlobalFunctions.ilkHarfBuyut(event.target.value);
|
|
13
|
+
this.ngModelChange.emit(this.ref.nativeElement.value);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: IlkHarfBuyukDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
16
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.3", type: IlkHarfBuyukDirective, selector: "[ilkHarfBuyuk]", outputs: { ngModelChange: "ngModelChange" }, host: { listeners: { "blur": "onInput($event)" } }, ngImport: i0 }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: IlkHarfBuyukDirective, decorators: [{
|
|
19
|
+
type: Directive,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: '[ilkHarfBuyuk]'
|
|
22
|
+
}]
|
|
23
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { ngModelChange: [{
|
|
24
|
+
type: Output
|
|
25
|
+
}], onInput: [{
|
|
26
|
+
type: HostListener,
|
|
27
|
+
args: ['blur', ['$event']]
|
|
28
|
+
}] } });
|
|
29
|
+
class IlkHarfBuyukDirectiveModule {
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: IlkHarfBuyukDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
31
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: IlkHarfBuyukDirectiveModule, declarations: [IlkHarfBuyukDirective], imports: [CommonModule], exports: [IlkHarfBuyukDirective] }); }
|
|
32
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: IlkHarfBuyukDirectiveModule, imports: [CommonModule] }); }
|
|
33
|
+
}
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: IlkHarfBuyukDirectiveModule, decorators: [{
|
|
35
|
+
type: NgModule,
|
|
36
|
+
args: [{
|
|
37
|
+
imports: [CommonModule],
|
|
38
|
+
declarations: [IlkHarfBuyukDirective],
|
|
39
|
+
exports: [IlkHarfBuyukDirective]
|
|
40
|
+
}]
|
|
41
41
|
}] });
|
|
42
42
|
|
|
43
|
-
/**
|
|
44
|
-
* Generated bundle index. Do not edit.
|
|
43
|
+
/**
|
|
44
|
+
* Generated bundle index. Do not edit.
|
|
45
45
|
*/
|
|
46
46
|
|
|
47
47
|
export { IlkHarfBuyukDirective, IlkHarfBuyukDirectiveModule };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-ilkHarfBuyuk.directive.mjs","sources":["../../src/app/components/directives/ilkHarfBuyuk.directive/ilkHarfBuyuk.directive.ts","../../src/app/components/directives/ilkHarfBuyuk.directive/limitng-directives-ilkHarfBuyuk.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, EventEmitter, HostListener, NgModule, Output } from '@angular/core';\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[ilkHarfBuyuk]'\r\n})\r\nexport class IlkHarfBuyukDirective {\r\n @Output() ngModelChange: EventEmitter<any> = new EventEmitter();\r\n\r\n constructor(public ref: ElementRef) { }\r\n\r\n @HostListener('blur', ['$event']) onInput(event) {\r\n this.ref.nativeElement.value = GlobalFunctions.ilkHarfBuyut(event.target.value);\r\n this.ngModelChange.emit(this.ref.nativeElement.value);\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [IlkHarfBuyukDirective],\r\n exports: [IlkHarfBuyukDirective]\r\n})\r\nexport class IlkHarfBuyukDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"limitng-directives-ilkHarfBuyuk.directive.mjs","sources":["../../src/app/components/directives/ilkHarfBuyuk.directive/ilkHarfBuyuk.directive.ts","../../src/app/components/directives/ilkHarfBuyuk.directive/limitng-directives-ilkHarfBuyuk.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, EventEmitter, HostListener, NgModule, Output } from '@angular/core';\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[ilkHarfBuyuk]'\r\n})\r\nexport class IlkHarfBuyukDirective {\r\n @Output() ngModelChange: EventEmitter<any> = new EventEmitter();\r\n\r\n constructor(public ref: ElementRef) { }\r\n\r\n @HostListener('blur', ['$event']) onInput(event) {\r\n this.ref.nativeElement.value = GlobalFunctions.ilkHarfBuyut(event.target.value);\r\n this.ngModelChange.emit(this.ref.nativeElement.value);\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [IlkHarfBuyukDirective],\r\n exports: [IlkHarfBuyukDirective]\r\n})\r\nexport class I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IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,EAhB3B,YAAA,EAAA,CAAA,qBAAqB,CAYtB,EAAA,OAAA,EAAA,CAAA,YAAY,aAZX,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;AAgBrB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,YAJ5B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBALvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,qBAAqB,CAAC;oBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACjC,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
|
|
@@ -2,51 +2,51 @@ import { CommonModule } from '@angular/common';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { EventEmitter, Directive, Output, Input, HostListener, NgModule } from '@angular/core';
|
|
4
4
|
|
|
5
|
-
class MaksimumUzunlukDirective {
|
|
6
|
-
constructor(ref) {
|
|
7
|
-
this.ref = ref;
|
|
8
|
-
this.ngModelChange = new EventEmitter();
|
|
9
|
-
this.maksimum = 0;
|
|
10
|
-
}
|
|
11
|
-
onInput(event) {
|
|
12
|
-
if (this.maksimum !== 0) {
|
|
13
|
-
this.ref.nativeElement.value = event.target.value.substring(0, this.maksimum);
|
|
14
|
-
this.ngModelChange.emit(this.ref.nativeElement.value);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
18
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
21
|
-
type: Directive,
|
|
22
|
-
args: [{
|
|
23
|
-
selector: '[maksimumUzunluk]'
|
|
24
|
-
}]
|
|
25
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { ngModelChange: [{
|
|
26
|
-
type: Output
|
|
27
|
-
}], maksimum: [{
|
|
28
|
-
type: Input,
|
|
29
|
-
args: ['maksimumUzunluk']
|
|
30
|
-
}], onInput: [{
|
|
31
|
-
type: HostListener,
|
|
32
|
-
args: ['blur', ['$event']]
|
|
33
|
-
}] } });
|
|
34
|
-
class MaksimumUzunlukDirectiveModule {
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
36
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
|
37
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
40
|
-
type: NgModule,
|
|
41
|
-
args: [{
|
|
42
|
-
imports: [CommonModule],
|
|
43
|
-
declarations: [MaksimumUzunlukDirective],
|
|
44
|
-
exports: [MaksimumUzunlukDirective]
|
|
45
|
-
}]
|
|
5
|
+
class MaksimumUzunlukDirective {
|
|
6
|
+
constructor(ref) {
|
|
7
|
+
this.ref = ref;
|
|
8
|
+
this.ngModelChange = new EventEmitter();
|
|
9
|
+
this.maksimum = 0;
|
|
10
|
+
}
|
|
11
|
+
onInput(event) {
|
|
12
|
+
if (this.maksimum !== 0) {
|
|
13
|
+
this.ref.nativeElement.value = event.target.value.substring(0, this.maksimum);
|
|
14
|
+
this.ngModelChange.emit(this.ref.nativeElement.value);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: MaksimumUzunlukDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.3", type: MaksimumUzunlukDirective, selector: "[maksimumUzunluk]", inputs: { maksimum: ["maksimumUzunluk", "maksimum"] }, outputs: { ngModelChange: "ngModelChange" }, host: { listeners: { "blur": "onInput($event)" } }, ngImport: i0 }); }
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: MaksimumUzunlukDirective, decorators: [{
|
|
21
|
+
type: Directive,
|
|
22
|
+
args: [{
|
|
23
|
+
selector: '[maksimumUzunluk]'
|
|
24
|
+
}]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { ngModelChange: [{
|
|
26
|
+
type: Output
|
|
27
|
+
}], maksimum: [{
|
|
28
|
+
type: Input,
|
|
29
|
+
args: ['maksimumUzunluk']
|
|
30
|
+
}], onInput: [{
|
|
31
|
+
type: HostListener,
|
|
32
|
+
args: ['blur', ['$event']]
|
|
33
|
+
}] } });
|
|
34
|
+
class MaksimumUzunlukDirectiveModule {
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: MaksimumUzunlukDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
36
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: MaksimumUzunlukDirectiveModule, declarations: [MaksimumUzunlukDirective], imports: [CommonModule], exports: [MaksimumUzunlukDirective] }); }
|
|
37
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: MaksimumUzunlukDirectiveModule, imports: [CommonModule] }); }
|
|
38
|
+
}
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: MaksimumUzunlukDirectiveModule, decorators: [{
|
|
40
|
+
type: NgModule,
|
|
41
|
+
args: [{
|
|
42
|
+
imports: [CommonModule],
|
|
43
|
+
declarations: [MaksimumUzunlukDirective],
|
|
44
|
+
exports: [MaksimumUzunlukDirective]
|
|
45
|
+
}]
|
|
46
46
|
}] });
|
|
47
47
|
|
|
48
|
-
/**
|
|
49
|
-
* Generated bundle index. Do not edit.
|
|
48
|
+
/**
|
|
49
|
+
* Generated bundle index. Do not edit.
|
|
50
50
|
*/
|
|
51
51
|
|
|
52
52
|
export { MaksimumUzunlukDirective, MaksimumUzunlukDirectiveModule };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-maksimumUzunluk.directive.mjs","sources":["../../src/app/components/directives/maksimumUzunluk.directive/maksimumUzunluk.directive.ts","../../src/app/components/directives/maksimumUzunluk.directive/limitng-directives-maksimumUzunluk.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, EventEmitter, HostListener, Input, NgModule, Output } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[maksimumUzunluk]'\r\n})\r\nexport class MaksimumUzunlukDirective {\r\n @Output() ngModelChange: EventEmitter<any> = new EventEmitter();\r\n @Input('maksimumUzunluk') maksimum = 0;\r\n\r\n constructor(public ref: ElementRef) { }\r\n\r\n @HostListener('blur', ['$event']) onInput(event) {\r\n if (this.maksimum !== 0) {\r\n this.ref.nativeElement.value = event.target.value.substring(0, this.maksimum);\r\n this.ngModelChange.emit(this.ref.nativeElement.value);\r\n }\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [MaksimumUzunlukDirective],\r\n exports: [MaksimumUzunlukDirective]\r\n})\r\nexport class MaksimumUzunlukDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"limitng-directives-maksimumUzunluk.directive.mjs","sources":["../../src/app/components/directives/maksimumUzunluk.directive/maksimumUzunluk.directive.ts","../../src/app/components/directives/maksimumUzunluk.directive/limitng-directives-maksimumUzunluk.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, EventEmitter, HostListener, Input, NgModule, Output } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[maksimumUzunluk]'\r\n})\r\nexport class MaksimumUzunlukDirective {\r\n @Output() ngModelChange: EventEmitter<any> = new EventEmitter();\r\n @Input('maksimumUzunluk') maksimum = 0;\r\n\r\n constructor(public ref: ElementRef) { }\r\n\r\n @HostListener('blur', ['$event']) onInput(event) {\r\n if (this.maksimum !== 0) {\r\n this.ref.nativeElement.value = event.target.value.substring(0, this.maksimum);\r\n this.ngModelChange.emit(this.ref.nativeElement.value);\r\n }\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [MaksimumUzunlukDirective],\r\n exports: [MaksimumUzunlukDirective]\r\n})\r\nexport class MaksimumUzunlukDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAGA,MAGa,wBAAwB,CAAA;AAInC,IAAA,WAAA,CAAmB,GAAe,EAAA;QAAf,IAAG,CAAA,GAAA,GAAH,GAAG,CAAY;AAHxB,QAAA,IAAA,CAAA,aAAa,GAAsB,IAAI,YAAY,EAAE,CAAC;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IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,EAnB9B,YAAA,EAAA,CAAA,wBAAwB,CAezB,EAAA,OAAA,EAAA,CAAA,YAAY,aAfX,wBAAwB,CAAA,EAAA,CAAA,CAAA,EAAA;AAmBxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,YAJ/B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAL1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;AACpC,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
|
|
@@ -2,45 +2,45 @@ import { CommonModule } from '@angular/common';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { EventEmitter, Directive, Output, HostListener, NgModule } from '@angular/core';
|
|
4
4
|
|
|
5
|
-
class SagSolBoslukSilDirective {
|
|
6
|
-
constructor(ref) {
|
|
7
|
-
this.ref = ref;
|
|
8
|
-
this.ngModelChange = new EventEmitter();
|
|
9
|
-
}
|
|
10
|
-
onInput(event) {
|
|
11
|
-
this.ref.nativeElement.value = event.target.value.trim();
|
|
12
|
-
this.ngModelChange.emit(this.ref.nativeElement.value);
|
|
13
|
-
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
15
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
18
|
-
type: Directive,
|
|
19
|
-
args: [{
|
|
20
|
-
selector: '[sagSolBoslukSil]'
|
|
21
|
-
}]
|
|
22
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { ngModelChange: [{
|
|
23
|
-
type: Output
|
|
24
|
-
}], onInput: [{
|
|
25
|
-
type: HostListener,
|
|
26
|
-
args: ['blur', ['$event']]
|
|
27
|
-
}] } });
|
|
28
|
-
class SagSolBoslukSilDirectiveModule {
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
30
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
|
31
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
34
|
-
type: NgModule,
|
|
35
|
-
args: [{
|
|
36
|
-
imports: [CommonModule],
|
|
37
|
-
declarations: [SagSolBoslukSilDirective],
|
|
38
|
-
exports: [SagSolBoslukSilDirective]
|
|
39
|
-
}]
|
|
5
|
+
class SagSolBoslukSilDirective {
|
|
6
|
+
constructor(ref) {
|
|
7
|
+
this.ref = ref;
|
|
8
|
+
this.ngModelChange = new EventEmitter();
|
|
9
|
+
}
|
|
10
|
+
onInput(event) {
|
|
11
|
+
this.ref.nativeElement.value = event.target.value.trim();
|
|
12
|
+
this.ngModelChange.emit(this.ref.nativeElement.value);
|
|
13
|
+
}
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: SagSolBoslukSilDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
15
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.3", type: SagSolBoslukSilDirective, selector: "[sagSolBoslukSil]", outputs: { ngModelChange: "ngModelChange" }, host: { listeners: { "blur": "onInput($event)" } }, ngImport: i0 }); }
|
|
16
|
+
}
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: SagSolBoslukSilDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[sagSolBoslukSil]'
|
|
21
|
+
}]
|
|
22
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { ngModelChange: [{
|
|
23
|
+
type: Output
|
|
24
|
+
}], onInput: [{
|
|
25
|
+
type: HostListener,
|
|
26
|
+
args: ['blur', ['$event']]
|
|
27
|
+
}] } });
|
|
28
|
+
class SagSolBoslukSilDirectiveModule {
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: SagSolBoslukSilDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
30
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: SagSolBoslukSilDirectiveModule, declarations: [SagSolBoslukSilDirective], imports: [CommonModule], exports: [SagSolBoslukSilDirective] }); }
|
|
31
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: SagSolBoslukSilDirectiveModule, imports: [CommonModule] }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: SagSolBoslukSilDirectiveModule, decorators: [{
|
|
34
|
+
type: NgModule,
|
|
35
|
+
args: [{
|
|
36
|
+
imports: [CommonModule],
|
|
37
|
+
declarations: [SagSolBoslukSilDirective],
|
|
38
|
+
exports: [SagSolBoslukSilDirective]
|
|
39
|
+
}]
|
|
40
40
|
}] });
|
|
41
41
|
|
|
42
|
-
/**
|
|
43
|
-
* Generated bundle index. Do not edit.
|
|
42
|
+
/**
|
|
43
|
+
* Generated bundle index. Do not edit.
|
|
44
44
|
*/
|
|
45
45
|
|
|
46
46
|
export { SagSolBoslukSilDirective, SagSolBoslukSilDirectiveModule };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-sagSolBoslukSil.directive.mjs","sources":["../../src/app/components/directives/sagSolBoslukSil.directive/sagSolBoslukSil.directive.ts","../../src/app/components/directives/sagSolBoslukSil.directive/limitng-directives-sagSolBoslukSil.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, EventEmitter, HostListener, NgModule, Output } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[sagSolBoslukSil]'\r\n})\r\nexport class SagSolBoslukSilDirective {\r\n @Output() ngModelChange: EventEmitter<any> = new EventEmitter();\r\n\r\n constructor(public ref: ElementRef) { }\r\n\r\n @HostListener('blur', ['$event']) onInput(event) {\r\n this.ref.nativeElement.value = event.target.value.trim();\r\n this.ngModelChange.emit(this.ref.nativeElement.value);\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [SagSolBoslukSilDirective],\r\n exports: [SagSolBoslukSilDirective]\r\n})\r\nexport class SagSolBoslukSilDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"limitng-directives-sagSolBoslukSil.directive.mjs","sources":["../../src/app/components/directives/sagSolBoslukSil.directive/sagSolBoslukSil.directive.ts","../../src/app/components/directives/sagSolBoslukSil.directive/limitng-directives-sagSolBoslukSil.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, EventEmitter, HostListener, NgModule, Output } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[sagSolBoslukSil]'\r\n})\r\nexport class SagSolBoslukSilDirective {\r\n @Output() ngModelChange: EventEmitter<any> = new EventEmitter();\r\n\r\n constructor(public ref: ElementRef) { }\r\n\r\n @HostListener('blur', ['$event']) onInput(event) {\r\n this.ref.nativeElement.value = event.target.value.trim();\r\n this.ngModelChange.emit(this.ref.nativeElement.value);\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [SagSolBoslukSilDirective],\r\n exports: [SagSolBoslukSilDirective]\r\n})\r\nexport class SagSolBoslukSilDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAGA,MAGa,wBAAwB,CAAA;AAGnC,IAAA,WAAA,CAAmB,GAAe,EAAA;QAAf,IAAG,CAAA,GAAA,GAAH,GAAG,CAAY;AAFxB,QAAA,IAAA,CAAA,aAAa,GAAsB,IAAI,YAAY,EAAE,CAAC;KAEzB;AAEL,IAAA,OAAO,CAAC,KAAK,EAAA;AAC7C,QAAA,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;AACzD,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KACvD;8GARU,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAxB,wBAAwB,EAAA,QAAA,EAAA,mBAAA,EAAA,OA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