limitng 0.20.48 → 0.20.49
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 +4 -4
- package/fesm2022/limitng-alt-buyuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-alt-kucuk-kart.mjs +4 -4
- package/fesm2022/limitng-dikey-baslikli-panel-sol.mjs +4 -4
- package/fesm2022/limitng-dikey-baslikli-panel.mjs +4 -4
- package/fesm2022/limitng-directives-adAlani.directive.mjs +3 -3
- package/fesm2022/limitng-directives-adAlani.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-adresAlani.directive.mjs +3 -3
- package/fesm2022/limitng-directives-adresAlani.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-buyukHarf.directive.mjs +3 -3
- package/fesm2022/limitng-directives-buyukHarf.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs +3 -3
- package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-dirty.directive.mjs +3 -3
- package/fesm2022/limitng-directives-dirty.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-disable.directive.mjs +4 -4
- package/fesm2022/limitng-directives-disable.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-flexBasis.directive.mjs +9 -9
- package/fesm2022/limitng-directives-flexBasis.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs +3 -3
- package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-imleciBasaAl.directive.mjs +3 -3
- package/fesm2022/limitng-directives-imleciBasaAl.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-kodAlani.directive.mjs +3 -3
- package/fesm2022/limitng-directives-kodAlani.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs +3 -3
- package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-okTuslariylaIcerdeGezin.directive.mjs +3 -3
- package/fesm2022/limitng-directives-okTuslariylaIcerdeGezin.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs +3 -3
- package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-standartAlan.directive.mjs +3 -3
- package/fesm2022/limitng-directives-standartAlan.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs +12 -12
- package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-translate-key.directive.ts.mjs +3 -3
- package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs +3 -3
- package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs +3 -3
- package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives.mjs +61 -61
- package/fesm2022/limitng-directives.mjs.map +1 -1
- package/fesm2022/limitng-filtre-bar.mjs +4 -4
- package/fesm2022/limitng-filtre-bar.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-detay.mjs +3 -3
- package/fesm2022/limitng-geri-ileri-detay.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-liste.mjs +3 -3
- package/fesm2022/limitng-geri-ileri-liste.mjs.map +1 -1
- package/fesm2022/limitng-pipes-boolToPlus.pipe.mjs +3 -3
- package/fesm2022/limitng-pipes-boolToPlusMinus.pipe.mjs +3 -3
- package/fesm2022/limitng-pipes-dateToText.pipe.mjs +3 -3
- package/fesm2022/limitng-pipes-evetHayir.pipe.mjs +3 -3
- package/fesm2022/limitng-pipes-global-filter-formatter.pipe.mjs +3 -3
- package/fesm2022/limitng-pipes-mecraTuru.pipe.mjs +3 -3
- package/fesm2022/limitng-pipes-safe.pipe.mjs +3 -3
- package/fesm2022/limitng-pipes-toSeverity.pipe.mjs +3 -3
- package/fesm2022/limitng-pipes-tooltip-formatter.pipe.mjs +3 -3
- package/fesm2022/limitng-rapor-kart.mjs +4 -4
- package/fesm2022/limitng-sol-buyuk-kart.mjs +4 -4
- package/fesm2022/limitng-sol-buyuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-sol-kucuk-kart.mjs +4 -4
- package/fesm2022/limitng-yatay-baslikli-panel.mjs +4 -4
- package/package.json +79 -79
|
@@ -14,15 +14,15 @@ class AltBuyukKartComponent {
|
|
|
14
14
|
this.sagAlt = contentChild('sagAlt', ...(ngDevMode ? [{ debugName: "sagAlt" }] : []));
|
|
15
15
|
this.solAlt = contentChild('solAlt', ...(ngDevMode ? [{ debugName: "solAlt" }] : []));
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: AltBuyukKartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.5", type: AltBuyukKartComponent, isStandalone: true, selector: "alt-buyuk-kart", inputs: { baslik: { classPropertyName: "baslik", publicName: "baslik", isSignal: true, isRequired: true, transformFunction: null }, baslikRenk: { classPropertyName: "baslikRenk", publicName: "baslikRenk", isSignal: true, isRequired: true, transformFunction: null }, genislik: { classPropertyName: "genislik", publicName: "genislik", isSignal: true, isRequired: false, transformFunction: null }, yukseklik: { classPropertyName: "yukseklik", publicName: "yukseklik", isSignal: true, isRequired: false, transformFunction: null }, baslikYukseklik: { classPropertyName: "baslikYukseklik", publicName: "baslikYukseklik", isSignal: true, isRequired: false, transformFunction: null }, baslikFontSize: { classPropertyName: "baslikFontSize", publicName: "baslikFontSize", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.width": "genislik()" } }, queries: [{ propertyName: "sagAlt", first: true, predicate: ["sagAlt"], descendants: true, isSignal: true }, { propertyName: "solAlt", first: true, predicate: ["solAlt"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"wrapper\" [style.height.rem]=\"yukseklik()\">\r\n <div class=\"alt-baslik\" [style.backgroundColor]=\"baslikRenk()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.top.rem]=\"baslikUst()\">\r\n </div>\r\n\r\n <div class=\"baslik-yazi\" [style.font-size.rem]=\"baslikFontSize()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.color]=\"baslikRenk()\" [style.top.rem]=\"baslikUst()\">\r\n <b>{{baslik()}}</b>\r\n </div>\r\n\r\n @if (sagAlt()) {\r\n <div class=\"sag-alt\" [style.height.rem]=\"baslikYukseklik()\" [style.top.rem]=\"baslikUst()\">\r\n <ng-container *ngTemplateOutlet=\"sagAlt(); context: {$implicit: sagIcerik}\">\r\n {{sagIcerik}}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (solAlt()) {\r\n <div class=\"sol-alt\" [style.height.rem]=\"baslikYukseklik()\" [style.top.rem]=\"baslikUst()\">\r\n <ng-container *ngTemplateOutlet=\"solAlt(); context: {$implicit: solIcerik}\">\r\n {{solIcerik()}}\r\n </ng-container>\r\n </div>\r\n }\r\n <ng-content />\r\n</div>\r\n", styles: [":host{float:left;margin:.5em 0 0 .5em;background-color:transparent;border:transparent}:host .wrapper{background:var(--p-form-field-background);position:relative;border-radius:.35em;box-shadow:inset 0 0 .35em .15em #0003}:host .alt-baslik{position:absolute;opacity:.2;width:100%}:host .baslik-yazi{position:absolute;width:100%;display:flex;justify-content:center;align-items:center;padding-right:.4rem;padding-left:.4rem;line-height:1.5}:host .sag-alt{position:absolute;padding:.4em;width:50%;text-align:right;left:50%;z-index:1000}:host .sol-alt{position:absolute;padding:.4em;width:50%;text-align:left;z-index:1000}\n/*!_variable.scss*/\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: AltBuyukKartComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
22
|
args: [{ selector: 'alt-buyuk-kart', imports: [NgTemplateOutlet], host: {
|
|
23
23
|
'[style.width]': 'genislik()'
|
|
24
24
|
}, template: "<div class=\"wrapper\" [style.height.rem]=\"yukseklik()\">\r\n <div class=\"alt-baslik\" [style.backgroundColor]=\"baslikRenk()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.top.rem]=\"baslikUst()\">\r\n </div>\r\n\r\n <div class=\"baslik-yazi\" [style.font-size.rem]=\"baslikFontSize()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.color]=\"baslikRenk()\" [style.top.rem]=\"baslikUst()\">\r\n <b>{{baslik()}}</b>\r\n </div>\r\n\r\n @if (sagAlt()) {\r\n <div class=\"sag-alt\" [style.height.rem]=\"baslikYukseklik()\" [style.top.rem]=\"baslikUst()\">\r\n <ng-container *ngTemplateOutlet=\"sagAlt(); context: {$implicit: sagIcerik}\">\r\n {{sagIcerik}}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (solAlt()) {\r\n <div class=\"sol-alt\" [style.height.rem]=\"baslikYukseklik()\" [style.top.rem]=\"baslikUst()\">\r\n <ng-container *ngTemplateOutlet=\"solAlt(); context: {$implicit: solIcerik}\">\r\n {{solIcerik()}}\r\n </ng-container>\r\n </div>\r\n }\r\n <ng-content />\r\n</div>\r\n", styles: [":host{float:left;margin:.5em 0 0 .5em;background-color:transparent;border:transparent}:host .wrapper{background:var(--p-form-field-background);position:relative;border-radius:.35em;box-shadow:inset 0 0 .35em .15em #0003}:host .alt-baslik{position:absolute;opacity:.2;width:100%}:host .baslik-yazi{position:absolute;width:100%;display:flex;justify-content:center;align-items:center;padding-right:.4rem;padding-left:.4rem;line-height:1.5}:host .sag-alt{position:absolute;padding:.4em;width:50%;text-align:right;left:50%;z-index:1000}:host .sol-alt{position:absolute;padding:.4em;width:50%;text-align:left;z-index:1000}\n/*!_variable.scss*/\n"] }]
|
|
25
|
-
}] });
|
|
25
|
+
}], propDecorators: { baslik: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslik", required: true }] }], baslikRenk: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikRenk", required: true }] }], genislik: [{ type: i0.Input, args: [{ isSignal: true, alias: "genislik", required: false }] }], yukseklik: [{ type: i0.Input, args: [{ isSignal: true, alias: "yukseklik", required: false }] }], baslikYukseklik: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikYukseklik", required: false }] }], baslikFontSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikFontSize", required: false }] }], sagAlt: [{ type: i0.ContentChild, args: ['sagAlt', { isSignal: true }] }], solAlt: [{ type: i0.ContentChild, args: ['solAlt', { isSignal: true }] }] } });
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-alt-buyuk-kart.mjs","sources":["../../src/app/components/alt-buyuk-kart/alt-buyuk-kart.component.ts","../../src/app/components/alt-buyuk-kart/alt-buyuk-kart.component.html","../../src/app/components/alt-buyuk-kart/limitng-alt-buyuk-kart.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\r\nimport { Component, computed, contentChild, input, numberAttribute, TemplateRef } from '@angular/core';\r\n\r\n@Component({\n selector: 'alt-buyuk-kart',\n imports: [NgTemplateOutlet],\n templateUrl: 'alt-buyuk-kart.component.html',\n styleUrl: 'alt-buyuk-kart.component.scss',\n host: {\n '[style.width]': 'genislik()'\n }\n})\r\n\r\nexport class AltBuyukKartComponent {\r\n baslik = input.required<string>();\r\n baslikRenk = input.required<string>();\r\n\r\n genislik = input<string>('40.5em');\r\n yukseklik = input(21, { transform: numberAttribute });\r\n\r\n baslikYukseklik = input(3, { transform: numberAttribute });\r\n baslikFontSize = input(1, { transform: numberAttribute });\r\n\r\n baslikUst = computed(() => this.yukseklik() - this.baslikYukseklik());\r\n\r\n sagIcerik: any;\r\n solIcerik: any;\r\n\r\n sagAlt = contentChild<TemplateRef<any>>('sagAlt');\r\n solAlt = contentChild<TemplateRef<any>>('solAlt');\r\n\r\n}\r\n","<div class=\"wrapper\" [style.height.rem]=\"yukseklik()\">\r\n <div class=\"alt-baslik\" [style.backgroundColor]=\"baslikRenk()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.top.rem]=\"baslikUst()\">\r\n </div>\r\n\r\n <div class=\"baslik-yazi\" [style.font-size.rem]=\"baslikFontSize()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.color]=\"baslikRenk()\" [style.top.rem]=\"baslikUst()\">\r\n <b>{{baslik()}}</b>\r\n </div>\r\n\r\n @if (sagAlt()) {\r\n <div class=\"sag-alt\" [style.height.rem]=\"baslikYukseklik()\" [style.top.rem]=\"baslikUst()\">\r\n <ng-container *ngTemplateOutlet=\"sagAlt(); context: {$implicit: sagIcerik}\">\r\n {{sagIcerik}}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (solAlt()) {\r\n <div class=\"sol-alt\" [style.height.rem]=\"baslikYukseklik()\" [style.top.rem]=\"baslikUst()\">\r\n <ng-container *ngTemplateOutlet=\"solAlt(); context: {$implicit: solIcerik}\">\r\n {{solIcerik()}}\r\n </ng-container>\r\n </div>\r\n }\r\n <ng-content />\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;MAaa,qBAAq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AA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDrBc,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAQjB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAVjC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAAA,OAAA,EACjB,CAAC,gBAAgB,CAAC,EAAA,IAAA,EAGrB;AACF,wBAAA,eAAe,EAAE;AACpB,qBAAA,EAAA,QAAA,EAAA,qhCAAA,EAAA,MAAA,EAAA,CAAA,ioBAAA,CAAA,EAAA
|
|
1
|
+
{"version":3,"file":"limitng-alt-buyuk-kart.mjs","sources":["../../src/app/components/alt-buyuk-kart/alt-buyuk-kart.component.ts","../../src/app/components/alt-buyuk-kart/alt-buyuk-kart.component.html","../../src/app/components/alt-buyuk-kart/limitng-alt-buyuk-kart.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\r\nimport { Component, computed, contentChild, input, numberAttribute, TemplateRef } from '@angular/core';\r\n\r\n@Component({\n selector: 'alt-buyuk-kart',\n imports: [NgTemplateOutlet],\n templateUrl: 'alt-buyuk-kart.component.html',\n styleUrl: 'alt-buyuk-kart.component.scss',\n host: {\n '[style.width]': 'genislik()'\n }\n})\r\n\r\nexport class AltBuyukKartComponent {\r\n baslik = input.required<string>();\r\n baslikRenk = input.required<string>();\r\n\r\n genislik = input<string>('40.5em');\r\n yukseklik = input(21, { transform: numberAttribute });\r\n\r\n baslikYukseklik = input(3, { transform: numberAttribute });\r\n baslikFontSize = input(1, { transform: numberAttribute });\r\n\r\n baslikUst = computed(() => this.yukseklik() - this.baslikYukseklik());\r\n\r\n sagIcerik: any;\r\n solIcerik: any;\r\n\r\n sagAlt = contentChild<TemplateRef<any>>('sagAlt');\r\n solAlt = contentChild<TemplateRef<any>>('solAlt');\r\n\r\n}\r\n","<div class=\"wrapper\" [style.height.rem]=\"yukseklik()\">\r\n <div class=\"alt-baslik\" [style.backgroundColor]=\"baslikRenk()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.top.rem]=\"baslikUst()\">\r\n </div>\r\n\r\n <div class=\"baslik-yazi\" [style.font-size.rem]=\"baslikFontSize()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.color]=\"baslikRenk()\" [style.top.rem]=\"baslikUst()\">\r\n <b>{{baslik()}}</b>\r\n </div>\r\n\r\n @if (sagAlt()) {\r\n <div class=\"sag-alt\" [style.height.rem]=\"baslikYukseklik()\" [style.top.rem]=\"baslikUst()\">\r\n <ng-container *ngTemplateOutlet=\"sagAlt(); context: {$implicit: sagIcerik}\">\r\n {{sagIcerik}}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (solAlt()) {\r\n <div class=\"sol-alt\" [style.height.rem]=\"baslikYukseklik()\" [style.top.rem]=\"baslikUst()\">\r\n <ng-container *ngTemplateOutlet=\"solAlt(); context: {$implicit: solIcerik}\">\r\n {{solIcerik()}}\r\n </ng-container>\r\n </div>\r\n }\r\n <ng-content />\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;MAaa,qBAAqB,CAAA;AAVlC,IAAA,WAAA,GAAA;AAWE,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,iDAAU;AACjC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,QAAQ,qDAAU;AAErC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAS,QAAQ,oDAAC;AAClC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,EAAE,6CAAI,SAAS,EAAE,eAAe,EAAA,CAAA,GAAA,CAA5B,EAAE,SAAS,EAAE,eAAe,EAAE,GAAC;AAErD,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,CAAC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YAAA,EAAA,IAAA,EAAA,CAAA,QAAQ,mEACR,QAAQ,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE7BlD;;AAEG;;;;"}
|
|
@@ -11,15 +11,15 @@ class AltKucukKartComponent {
|
|
|
11
11
|
this.baslikFontSize = input(1, ...(ngDevMode ? [{ debugName: "baslikFontSize", transform: numberAttribute }] : [{ transform: numberAttribute }]));
|
|
12
12
|
this.baslikUst = computed(() => this.yukseklik() - this.baslikYukseklik(), ...(ngDevMode ? [{ debugName: "baslikUst" }] : []));
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: AltKucukKartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.5", type: AltKucukKartComponent, isStandalone: true, selector: "alt-kucuk-kart", inputs: { baslik: { classPropertyName: "baslik", publicName: "baslik", isSignal: true, isRequired: true, transformFunction: null }, baslikRenk: { classPropertyName: "baslikRenk", publicName: "baslikRenk", isSignal: true, isRequired: true, transformFunction: null }, genislik: { classPropertyName: "genislik", publicName: "genislik", isSignal: true, isRequired: false, transformFunction: null }, yukseklik: { classPropertyName: "yukseklik", publicName: "yukseklik", isSignal: true, isRequired: false, transformFunction: null }, baslikYukseklik: { classPropertyName: "baslikYukseklik", publicName: "baslikYukseklik", isSignal: true, isRequired: false, transformFunction: null }, baslikFontSize: { classPropertyName: "baslikFontSize", publicName: "baslikFontSize", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.width": "genislik()" } }, ngImport: i0, template: "<div class=\"wrapper\" [style.height.rem]=\"yukseklik()\">\r\n <div class=\"alt-baslik\" [style.backgroundColor]=\"baslikRenk()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.top.rem]=\"baslikUst()\">\r\n </div>\r\n\r\n <div class=\"baslik-yazi\" [style.font-size.rem]=\"baslikFontSize()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.color]=\"baslikRenk()\" [style.top.rem]=\"baslikUst()\">\r\n <b>{{baslik()}}</b>\r\n </div>\r\n\r\n <ng-content />\r\n</div>", styles: [":host{float:left;margin:.5em 0 0 .5em;background-color:transparent;border:transparent}:host .wrapper{background-color:#fff;position:relative;border-radius:.35em;box-shadow:inset 0 0 .35em .15em #0003}:host .alt-baslik{position:absolute;opacity:.2;width:100%}:host .baslik-yazi{position:absolute;width:100%;text-align:center;display:flex;justify-content:center;align-items:center;padding-right:.4rem;padding-left:.4rem}\n/*!_variable.scss*/\n"] }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: AltKucukKartComponent, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{ selector: 'alt-kucuk-kart', standalone: true, host: {
|
|
20
20
|
'[style.width]': 'genislik()'
|
|
21
21
|
}, template: "<div class=\"wrapper\" [style.height.rem]=\"yukseklik()\">\r\n <div class=\"alt-baslik\" [style.backgroundColor]=\"baslikRenk()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.top.rem]=\"baslikUst()\">\r\n </div>\r\n\r\n <div class=\"baslik-yazi\" [style.font-size.rem]=\"baslikFontSize()\" [style.height.rem]=\"baslikYukseklik()\"\r\n [style.color]=\"baslikRenk()\" [style.top.rem]=\"baslikUst()\">\r\n <b>{{baslik()}}</b>\r\n </div>\r\n\r\n <ng-content />\r\n</div>", styles: [":host{float:left;margin:.5em 0 0 .5em;background-color:transparent;border:transparent}:host .wrapper{background-color:#fff;position:relative;border-radius:.35em;box-shadow:inset 0 0 .35em .15em #0003}:host .alt-baslik{position:absolute;opacity:.2;width:100%}:host .baslik-yazi{position:absolute;width:100%;text-align:center;display:flex;justify-content:center;align-items:center;padding-right:.4rem;padding-left:.4rem}\n/*!_variable.scss*/\n"] }]
|
|
22
|
-
}] });
|
|
22
|
+
}], propDecorators: { baslik: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslik", required: true }] }], baslikRenk: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikRenk", required: true }] }], genislik: [{ type: i0.Input, args: [{ isSignal: true, alias: "genislik", required: false }] }], yukseklik: [{ type: i0.Input, args: [{ isSignal: true, alias: "yukseklik", required: false }] }], baslikYukseklik: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikYukseklik", required: false }] }], baslikFontSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikFontSize", required: false }] }] } });
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Generated bundle index. Do not edit.
|
|
@@ -8,15 +8,15 @@ class DikeyBaslikliPanelSolComponent {
|
|
|
8
8
|
this.baslikFontSize = input(1.5, ...(ngDevMode ? [{ debugName: "baslikFontSize", transform: numberAttribute }] : [{ transform: numberAttribute }]));
|
|
9
9
|
this.baslikGenislik = input(3, ...(ngDevMode ? [{ debugName: "baslikGenislik", transform: numberAttribute }] : [{ transform: numberAttribute }]));
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: DikeyBaslikliPanelSolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.5", type: DikeyBaslikliPanelSolComponent, isStandalone: true, selector: "dikey-baslikli-panel-sol", inputs: { baslik: { classPropertyName: "baslik", publicName: "baslik", isSignal: true, isRequired: true, transformFunction: null }, renk: { classPropertyName: "renk", publicName: "renk", isSignal: true, isRequired: false, transformFunction: null }, baslikFontSize: { classPropertyName: "baslikFontSize", publicName: "baslikFontSize", isSignal: true, isRequired: false, transformFunction: null }, baslikGenislik: { classPropertyName: "baslikGenislik", publicName: "baslikGenislik", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "flex flex-wrap mb-2" }, ngImport: i0, template: "<div class=\"flex flex-auto\">\r\n <div class=\"dikey-baslikli-panel-blok\" [style.backgroundColor]=\"renk()\" [style.font-size.rem]=\"baslikFontSize()\"\r\n [style.width.rem]=\"baslikGenislik()\">\r\n <div class=\"flex h-full justify-between flex-wrap flex-col\" [style.width.rem]=\"baslikGenislik()\">\r\n <div class=\"flex place-items-center justify-center w-full h-4 my-2\">\r\n <i class=\"fas fa-angle-double-up\"></i>\r\n </div>\r\n\r\n <div class=\"grow baslik-yazi\">\r\n {{baslik()}}\r\n </div>\r\n\r\n <div class=\"flex place-items-center justify-center w-full h-4 my-2\">\r\n <i class=\"fas fa-angle-double-down\"></i>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"flex flex-wrap mb-2\">\r\n <ng-content />\r\n </div>\r\n</div>\r\n", styles: [":host{background-color:#ffffffb3;border-radius:.35em;width:100%;margin-bottom:.5em}:host .dikey-baslikli-panel-blok{flex:0 0 auto;color:#fff;border-top-left-radius:.35em;color:#f5f5f5;border-bottom-left-radius:.35em}:host .baslik-yazi{width:100%;writing-mode:vertical-lr;transform:rotate(180deg);text-orientation:mixed;display:flex;justify-content:center;align-items:center}\n/*!_variable.scss*/\n"] }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: DikeyBaslikliPanelSolComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'dikey-baslikli-panel-sol', standalone: true, host: {
|
|
17
17
|
'class': 'flex flex-wrap mb-2'
|
|
18
18
|
}, template: "<div class=\"flex flex-auto\">\r\n <div class=\"dikey-baslikli-panel-blok\" [style.backgroundColor]=\"renk()\" [style.font-size.rem]=\"baslikFontSize()\"\r\n [style.width.rem]=\"baslikGenislik()\">\r\n <div class=\"flex h-full justify-between flex-wrap flex-col\" [style.width.rem]=\"baslikGenislik()\">\r\n <div class=\"flex place-items-center justify-center w-full h-4 my-2\">\r\n <i class=\"fas fa-angle-double-up\"></i>\r\n </div>\r\n\r\n <div class=\"grow baslik-yazi\">\r\n {{baslik()}}\r\n </div>\r\n\r\n <div class=\"flex place-items-center justify-center w-full h-4 my-2\">\r\n <i class=\"fas fa-angle-double-down\"></i>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"flex flex-wrap mb-2\">\r\n <ng-content />\r\n </div>\r\n</div>\r\n", styles: [":host{background-color:#ffffffb3;border-radius:.35em;width:100%;margin-bottom:.5em}:host .dikey-baslikli-panel-blok{flex:0 0 auto;color:#fff;border-top-left-radius:.35em;color:#f5f5f5;border-bottom-left-radius:.35em}:host .baslik-yazi{width:100%;writing-mode:vertical-lr;transform:rotate(180deg);text-orientation:mixed;display:flex;justify-content:center;align-items:center}\n/*!_variable.scss*/\n"] }]
|
|
19
|
-
}] });
|
|
19
|
+
}], propDecorators: { baslik: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslik", required: true }] }], renk: [{ type: i0.Input, args: [{ isSignal: true, alias: "renk", required: false }] }], baslikFontSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikFontSize", required: false }] }], baslikGenislik: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikGenislik", required: false }] }] } });
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Generated bundle index. Do not edit.
|
|
@@ -8,15 +8,15 @@ class DikeyBaslikliPanelComponent {
|
|
|
8
8
|
this.baslikFontSize = input(1.5, ...(ngDevMode ? [{ debugName: "baslikFontSize", transform: numberAttribute }] : [{ transform: numberAttribute }]));
|
|
9
9
|
this.baslikGenislik = input(3, ...(ngDevMode ? [{ debugName: "baslikGenislik", transform: numberAttribute }] : [{ transform: numberAttribute }]));
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: DikeyBaslikliPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.5", type: DikeyBaslikliPanelComponent, isStandalone: true, selector: "dikey-baslikli-panel", inputs: { baslik: { classPropertyName: "baslik", publicName: "baslik", isSignal: true, isRequired: true, transformFunction: null }, renk: { classPropertyName: "renk", publicName: "renk", isSignal: true, isRequired: false, transformFunction: null }, baslikFontSize: { classPropertyName: "baslikFontSize", publicName: "baslikFontSize", isSignal: true, isRequired: false, transformFunction: null }, baslikGenislik: { classPropertyName: "baslikGenislik", publicName: "baslikGenislik", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "flex flex-wrap mb-2" }, ngImport: i0, template: "<div class=\"flex flex-auto justify-between\">\r\n <div class=\"w-full\">\r\n <div class=\"flex flex-wrap mb-2\">\r\n <ng-content />\r\n </div>\r\n </div>\r\n <div class=\"flex justify-items-end dikey-baslikli-panel-blok\" [style.backgroundColor]=\"renk()\"\r\n [style.font-size.rem]=\"baslikFontSize()\" [style.width.rem]=\"baslikGenislik()\">\r\n <div class=\"flex h-full justify-between flex-wrap flex-col\" [style.width.rem]=\"baslikGenislik()\">\r\n <div class=\"flex place-items-center justify-center w-full h-4 my-2\">\r\n <i class=\"fas fa-angle-double-up\"></i>\r\n </div>\r\n\r\n <div class=\"grow baslik-yazi\">\r\n {{baslik()}}\r\n </div>\r\n\r\n <div class=\"flex place-items-center justify-center w-full h-4 my-2\">\r\n <i class=\"fas fa-angle-double-down\"></i>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n</div>", styles: [":host{background-color:#ffffffb3;border-radius:.35em;width:100%;margin-bottom:.5em}:host .dikey-baslikli-panel-blok{flex:0 0 auto;color:#fff;border-top-right-radius:.35em;color:#f5f5f5;border-bottom-right-radius:.35em}:host .baslik-yazi{width:100%;writing-mode:vertical-lr;text-orientation:mixed;display:flex;justify-content:center;align-items:center}\n/*!_variable.scss*/\n"] }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: DikeyBaslikliPanelComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'dikey-baslikli-panel', standalone: true, host: {
|
|
17
17
|
'class': 'flex flex-wrap mb-2'
|
|
18
18
|
}, template: "<div class=\"flex flex-auto justify-between\">\r\n <div class=\"w-full\">\r\n <div class=\"flex flex-wrap mb-2\">\r\n <ng-content />\r\n </div>\r\n </div>\r\n <div class=\"flex justify-items-end dikey-baslikli-panel-blok\" [style.backgroundColor]=\"renk()\"\r\n [style.font-size.rem]=\"baslikFontSize()\" [style.width.rem]=\"baslikGenislik()\">\r\n <div class=\"flex h-full justify-between flex-wrap flex-col\" [style.width.rem]=\"baslikGenislik()\">\r\n <div class=\"flex place-items-center justify-center w-full h-4 my-2\">\r\n <i class=\"fas fa-angle-double-up\"></i>\r\n </div>\r\n\r\n <div class=\"grow baslik-yazi\">\r\n {{baslik()}}\r\n </div>\r\n\r\n <div class=\"flex place-items-center justify-center w-full h-4 my-2\">\r\n <i class=\"fas fa-angle-double-down\"></i>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n</div>", styles: [":host{background-color:#ffffffb3;border-radius:.35em;width:100%;margin-bottom:.5em}:host .dikey-baslikli-panel-blok{flex:0 0 auto;color:#fff;border-top-right-radius:.35em;color:#f5f5f5;border-bottom-right-radius:.35em}:host .baslik-yazi{width:100%;writing-mode:vertical-lr;text-orientation:mixed;display:flex;justify-content:center;align-items:center}\n/*!_variable.scss*/\n"] }]
|
|
19
|
-
}] });
|
|
19
|
+
}], propDecorators: { baslik: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslik", required: true }] }], renk: [{ type: i0.Input, args: [{ isSignal: true, alias: "renk", required: false }] }], baslikFontSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikFontSize", required: false }] }], baslikGenislik: [{ type: i0.Input, args: [{ isSignal: true, alias: "baslikGenislik", required: false }] }] } });
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Generated bundle index. Do not edit.
|
|
@@ -44,8 +44,8 @@ class AdAlaniDirective {
|
|
|
44
44
|
setDisabledState(isDisabled) {
|
|
45
45
|
this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
46
46
|
}
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
48
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: AdAlaniDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
48
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.5", type: AdAlaniDirective, isStandalone: true, selector: "[adAlani]", outputs: { kodChange: "kodChange" }, host: { listeners: { "blur": "onInput($event)", "keypress": "onKeyPress($event)" } }, providers: [
|
|
49
49
|
{
|
|
50
50
|
provide: NG_VALUE_ACCESSOR,
|
|
51
51
|
useExisting: forwardRef(() => AdAlaniDirective),
|
|
@@ -53,7 +53,7 @@ class AdAlaniDirective {
|
|
|
53
53
|
},
|
|
54
54
|
], ngImport: i0 }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: AdAlaniDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{
|
|
59
59
|
selector: '[adAlani]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-adAlani.directive.mjs","sources":["../../src/app/components/directives/adAlani.directive/adAlani.directive.ts","../../src/app/components/directives/adAlani.directive/limitng-directives-adAlani.directive.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, forwardRef, inject, Output, Renderer2 } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[adAlani]',\r\n standalone: true,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AdAlaniDirective),\r\n multi: true,\r\n },\r\n ],\r\n host: {\r\n '(blur)': 'onInput($event)',\r\n '(keypress)': 'onKeyPress($event)',\r\n }\r\n})\r\n\r\nexport class AdAlaniDirective implements ControlValueAccessor {\r\n private readonly _elementRef = inject(ElementRef, { self: true });\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n\r\n @Output() kodChange = new EventEmitter<string>();\r\n\r\n regex = /[a-z0-9 çÇğĞıİöÖşŞüÜ.,]/i;\r\n\r\n onKeyPress(evt: KeyboardEvent) {\r\n const key = evt.key;\r\n if (!this.regex.test(key)) {\r\n const value = this._elementRef.nativeElement.value;\r\n this._onChange(value);\r\n evt.preventDefault();\r\n }\r\n else {\r\n return\r\n }\r\n }\r\n\r\n onInput(event: FocusEvent) {\r\n let value = GlobalFunctions.buyukHarfeCevir((event.target as HTMLInputElement).value.trim());\r\n value = GlobalFunctions.ciftBoslukTekYap(value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n\r\n this._onChange(value);\r\n event.preventDefault();\r\n\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAqBa,gBAAgB,CAAA;AAhB7B,IAAA,WAAA,GAAA;QAiBmB,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAChD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;AAQpC,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,YAAY,EAAU;QAEhD,IAAA,CAAA,KAAK,GAAG,0BAA0B;AA2CnC,IAAA;AAzCC,IAAA,UAAU,CAAC,GAAkB,EAAA;AAC3B,QAAA,MAAM,GAAG,GAAG,G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A,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,OAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,SAAA,EAbhB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,iBAAiB;AAC1B,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,gBAAgB,CAAC;AAC/C,gBAAA,KAAK,EAAE,IAAI;AACZ,aAAA;AACF,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAOU,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAhB5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,WAAW;AACrB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,sBAAsB,CAAC;AAC/C,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACF,qBAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,QAAQ,EAAE,iBAAiB;AAC3B,wBAAA,YAAY,EAAE,oBAAoB;AACnC;AACF,iBAAA
|
|
1
|
+
{"version":3,"file":"limitng-directives-adAlani.directive.mjs","sources":["../../src/app/components/directives/adAlani.directive/adAlani.directive.ts","../../src/app/components/directives/adAlani.directive/limitng-directives-adAlani.directive.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, forwardRef, inject, Output, Renderer2 } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[adAlani]',\r\n standalone: true,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AdAlaniDirective),\r\n multi: true,\r\n },\r\n ],\r\n host: {\r\n '(blur)': 'onInput($event)',\r\n '(keypress)': 'onKeyPress($event)',\r\n }\r\n})\r\n\r\nexport class AdAlaniDirective implements ControlValueAccessor {\r\n private readonly _elementRef = inject(ElementRef, { self: true });\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n\r\n @Output() kodChange = new EventEmitter<string>();\r\n\r\n regex = /[a-z0-9 çÇğĞıİöÖşŞüÜ.,]/i;\r\n\r\n onKeyPress(evt: KeyboardEvent) {\r\n const key = evt.key;\r\n if (!this.regex.test(key)) {\r\n const value = this._elementRef.nativeElement.value;\r\n this._onChange(value);\r\n evt.preventDefault();\r\n }\r\n else {\r\n return\r\n }\r\n }\r\n\r\n onInput(event: FocusEvent) {\r\n let value = GlobalFunctions.buyukHarfeCevir((event.target as HTMLInputElement).value.trim());\r\n value = GlobalFunctions.ciftBoslukTekYap(value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n\r\n this._onChange(value);\r\n event.preventDefault();\r\n\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAqBa,gBAAgB,CAAA;AAhB7B,IAAA,WAAA,GAAA;QAiBmB,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAChD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;AAQpC,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,YAAY,EAAU;QAEhD,IAAA,CAAA,KAAK,GAAG,0BAA0B;AA2CnC,IAAA;AAzCC,IAAA,UAAU,CAAC,GAAkB,EAAA;AAC3B,QAAA,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG;QACnB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;YACzB,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,KAAK;AAClD,YAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;YACrB,GAAG,CAAC,cAAc,EAAE;QACtB;aACK;YACH;QACF;IACF;AAEA,IAAA,OAAO,CAAC,KAAiB,EAAA;AACvB,QAAA,IAAI,KAAK,GAAG,eAAe,CAAC,eAAe,CAAE,KAAK,CAAC,MAA2B,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;AAC5F,QAAA,KAAK,GAAG,eAAe,CAAC,gBAAgB,CAAC,KAAK,CAAC;AAC/C,QAAA,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC;AAE1E,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;QACrB,KAAK,CAAC,cAAc,EAAE;IAExB;;AAGA,IAAA,UAAU,CAAC,KAAU,EAA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W;AACrB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,sBAAsB,CAAC;AAC/C,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACF,qBAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,QAAQ,EAAE,iBAAiB;AAC3B,wBAAA,YAAY,EAAE,oBAAoB;AACnC;AACF,iBAAA;;sBAYE;;;AC/BH;;AAEG;;;;"}
|
|
@@ -45,8 +45,8 @@ class AdresAlaniDirective {
|
|
|
45
45
|
setDisabledState(isDisabled) {
|
|
46
46
|
this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
47
47
|
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
49
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: AdresAlaniDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
49
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.5", type: AdresAlaniDirective, isStandalone: true, selector: "[adresAlani]", outputs: { kodChange: "kodChange" }, host: { listeners: { "blur": "onInput($event)", "keypress": "onKeyPress($event)" } }, providers: [
|
|
50
50
|
{
|
|
51
51
|
provide: NG_VALUE_ACCESSOR,
|
|
52
52
|
useExisting: forwardRef(() => AdresAlaniDirective),
|
|
@@ -54,7 +54,7 @@ class AdresAlaniDirective {
|
|
|
54
54
|
},
|
|
55
55
|
], ngImport: i0 }); }
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: AdresAlaniDirective, decorators: [{
|
|
58
58
|
type: Directive,
|
|
59
59
|
args: [{
|
|
60
60
|
selector: '[adresAlani]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-adresAlani.directive.mjs","sources":["../../src/app/components/directives/adresAlani.directive/adresAlani.directive.ts","../../src/app/components/directives/adresAlani.directive/limitng-directives-adresAlani.directive.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, forwardRef, inject, Output, Renderer2 } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[adresAlani]',\r\n standalone: true,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AdresAlaniDirective),\r\n multi: true,\r\n },\r\n ],\r\n host: {\r\n '(blur)': 'onInput($event)',\r\n '(keypress)': 'onKeyPress($event)',\r\n }\r\n})\r\n\r\nexport class AdresAlaniDirective implements ControlValueAccessor {\r\n private readonly _elementRef = inject(ElementRef, { self: true });\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n\r\n @Output() kodChange = new EventEmitter<string>();\r\n\r\n regex = /[a-z0-9 çÇğĞıİöÖşŞüÜ.,]/i;\r\n\r\n onKeyPress(evt: KeyboardEvent) {\r\n const key = evt.key;\r\n if (!this.regex.test(key)) {\r\n const value = this._elementRef.nativeElement.value;\r\n this._onChange(value);\r\n evt.preventDefault();\r\n }\r\n else {\r\n return\r\n }\r\n }\r\n\r\n onInput(event: FocusEvent) {\r\n let value = (event.target as HTMLInputElement).value.trim()\r\n value = GlobalFunctions.ciftBoslukTekYap(value);\r\n value = GlobalFunctions.tumIlkHarfBuyut(value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n\r\n this._onChange(value);\r\n event.preventDefault();\r\n\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAqBa,mBAAmB,CAAA;AAhBhC,IAAA,WAAA,GAAA;QAiBmB,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAChD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;AAQpC,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,YAAY,EAAU;QAEhD,IAAA,CAAA,KAAK,GAAG,0BAA0B;AA4CnC,IAAA;AA1CC,IAAA,UAAU,CAAC,GAAkB,EAAA;AAC3B,QAAA,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG;QACnB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;YACzB,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,KAAK;AAClD,YAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;YACrB,GAAG,CAAC,cAAc,EAAE;QACtB;aACK;YACH;QACF;IACF;AAEA,IAAA,OAAO,CAAC,KAAiB,EAAA;QACvB,IAA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AA,EAAA,SAAA,EAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,SAAA,EAbnB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,iBAAiB;AAC1B,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,mBAAmB,CAAC;AAClD,gBAAA,KAAK,EAAE,IAAI;AACZ,aAAA;AACF,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAOU,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAhB/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,yBAAyB,CAAC;AAClD,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACF,qBAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,QAAQ,EAAE,iBAAiB;AAC3B,wBAAA,YAAY,EAAE,oBAAoB;AACnC;AACF,iBAAA
|
|
1
|
+
{"version":3,"file":"limitng-directives-adresAlani.directive.mjs","sources":["../../src/app/components/directives/adresAlani.directive/adresAlani.directive.ts","../../src/app/components/directives/adresAlani.directive/limitng-directives-adresAlani.directive.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, forwardRef, inject, Output, Renderer2 } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[adresAlani]',\r\n standalone: true,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AdresAlaniDirective),\r\n multi: true,\r\n },\r\n ],\r\n host: {\r\n '(blur)': 'onInput($event)',\r\n '(keypress)': 'onKeyPress($event)',\r\n }\r\n})\r\n\r\nexport class AdresAlaniDirective implements ControlValueAccessor {\r\n private readonly _elementRef = inject(ElementRef, { self: true });\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n\r\n @Output() kodChange = new EventEmitter<string>();\r\n\r\n regex = /[a-z0-9 çÇğĞıİöÖşŞüÜ.,]/i;\r\n\r\n onKeyPress(evt: KeyboardEvent) {\r\n const key = evt.key;\r\n if (!this.regex.test(key)) {\r\n const value = this._elementRef.nativeElement.value;\r\n this._onChange(value);\r\n evt.preventDefault();\r\n }\r\n else {\r\n return\r\n }\r\n }\r\n\r\n onInput(event: FocusEvent) {\r\n let value = (event.target as HTMLInputElement).value.trim()\r\n value = GlobalFunctions.ciftBoslukTekYap(value);\r\n value = GlobalFunctions.tumIlkHarfBuyut(value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n\r\n this._onChange(value);\r\n event.preventDefault();\r\n\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAqBa,mBAAmB,CAAA;AAhBhC,IAAA,WAAA,GAAA;QAiBmB,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,EAAE,EAA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;AACJ,wBAAA,QAAQ,EAAE,iBAAiB;AAC3B,wBAAA,YAAY,EAAE,oBAAoB;AACnC;AACF,iBAAA;;sBAYE;;;AC/BH;;AAEG;;;;"}
|
|
@@ -31,8 +31,8 @@ class BuyukHarfDirective {
|
|
|
31
31
|
setDisabledState(isDisabled) {
|
|
32
32
|
this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
33
33
|
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
35
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: BuyukHarfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
35
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.5", type: BuyukHarfDirective, isStandalone: true, selector: "[buyukHarf]", outputs: { buyukHarfChange: "buyukHarfChange" }, host: { listeners: { "blur": "onInput($event)" } }, providers: [
|
|
36
36
|
{
|
|
37
37
|
provide: NG_VALUE_ACCESSOR,
|
|
38
38
|
useExisting: forwardRef(() => BuyukHarfDirective),
|
|
@@ -40,7 +40,7 @@ class BuyukHarfDirective {
|
|
|
40
40
|
},
|
|
41
41
|
], ngImport: i0 }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: BuyukHarfDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[buyukHarf]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-buyukHarf.directive.mjs","sources":["../../src/app/components/directives/buyukHarf.directive/buyukHarf.directive.ts","../../src/app/components/directives/buyukHarf.directive/limitng-directives-buyukHarf.directive.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, forwardRef, inject, Output, Renderer2 } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[buyukHarf]',\r\n standalone: true,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => BuyukHarfDirective),\r\n multi: true,\r\n },\r\n ],\r\n host: {\r\n '(blur)': 'onInput($event)'\r\n }\r\n})\r\n\r\nexport class BuyukHarfDirective implements ControlValueAccessor {\r\n private readonly _elementRef = inject(ElementRef, { self: true });\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n\r\n @Output() buyukHarfChange = new EventEmitter<string>();\r\n\r\n onInput(event: FocusEvent) {\r\n const value = GlobalFunctions.buyukHarfeCevir((event.target as HTMLInputElement).value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n this._onChange(value);\r\n event.preventDefault();\r\n\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';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AA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,OAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,SAAA,EAZlB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,iBAAiB;AAC1B,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;AACjD,gBAAA,KAAK,EAAE,IAAI;AACZ,aAAA;AACF,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAMU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAf9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,wBAAwB,CAAC;AACjD,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACF,qBAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,QAAQ,EAAE;AACX;AACF,iBAAA
|
|
1
|
+
{"version":3,"file":"limitng-directives-buyukHarf.directive.mjs","sources":["../../src/app/components/directives/buyukHarf.directive/buyukHarf.directive.ts","../../src/app/components/directives/buyukHarf.directive/limitng-directives-buyukHarf.directive.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, forwardRef, inject, Output, Renderer2 } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[buyukHarf]',\r\n standalone: true,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => BuyukHarfDirective),\r\n multi: true,\r\n },\r\n ],\r\n host: {\r\n '(blur)': 'onInput($event)'\r\n }\r\n})\r\n\r\nexport class BuyukHarfDirective implements ControlValueAccessor {\r\n private readonly _elementRef = inject(ElementRef, { self: true });\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n\r\n @Output() buyukHarfChange = new EventEmitter<string>();\r\n\r\n onInput(event: FocusEvent) {\r\n const value = GlobalFunctions.buyukHarfeCevir((event.target as HTMLInputElement).value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n this._onChange(value);\r\n event.preventDefault();\r\n\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAoBa,kBAAkB,CAAA;AAf/B,IAAA,WAAA,GAAA;QAgBmB,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAChD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;AAQpC,QAAA,IAAA,CAAA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A,EAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,SAAA,EAZlB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,iBAAiB;AAC1B,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;AACjD,gBAAA,KAAK,EAAE,IAAI;AACZ,aAAA;AACF,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAMU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAf9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,wBAAwB,CAAC;AACjD,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACF,qBAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,QAAQ,EAAE;AACX;AACF,iBAAA;;sBAYE;;;AC9BH;;AAEG;;;;"}
|
|
@@ -31,8 +31,8 @@ class CiftBoslukTekDirective {
|
|
|
31
31
|
setDisabledState(isDisabled) {
|
|
32
32
|
this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
33
33
|
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
35
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: CiftBoslukTekDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
35
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.5", type: CiftBoslukTekDirective, isStandalone: true, selector: "[ciftBoslukTek]", outputs: { ciftBoslukTekChange: "ciftBoslukTekChange" }, host: { listeners: { "blur": "onInput($event)" } }, providers: [
|
|
36
36
|
{
|
|
37
37
|
provide: NG_VALUE_ACCESSOR,
|
|
38
38
|
useExisting: forwardRef(() => CiftBoslukTekDirective),
|
|
@@ -40,7 +40,7 @@ class CiftBoslukTekDirective {
|
|
|
40
40
|
},
|
|
41
41
|
], ngImport: i0 }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: CiftBoslukTekDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[ciftBoslukTek]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-ciftBoslukTek.directive.mjs","sources":["../../src/app/components/directives/ciftBoslukTek.directive/ciftBoslukTek.directive.ts","../../src/app/components/directives/ciftBoslukTek.directive/limitng-directives-ciftBoslukTek.directive.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, forwardRef, inject, Output, Renderer2 } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[ciftBoslukTek]',\r\n standalone: true,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => CiftBoslukTekDirective),\r\n multi: true,\r\n },\r\n ],\r\n host: {\r\n '(blur)': 'onInput($event)'\r\n }\r\n})\r\nexport class CiftBoslukTekDirective implements ControlValueAccessor {\r\n private readonly _elementRef = inject(ElementRef, { self: true });\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n @Output() ciftBoslukTekChange = new EventEmitter<string>()\r\n\r\n onInput(event: FocusEvent) {\r\n const value = GlobalFunctions.ciftBoslukTekYap((event.target as HTMLInputElement).value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n this._onChange(value);\r\n event.preventDefault();\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAmBa,sBAAsB,CAAA;AAdnC,IAAA,WAAA,GAAA;QAemB,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAChD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;AAOpC,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,YAAY,EAAU;AA4B3D,IAAA;AA1BC,IAAA,OAAO,CAAC,KAAiB,EAAA;AACvB,QAAA,MAAM,KAAK,GAAG,eAAe,CAAC,gBAAgB,CAAE,KAAK,CAAC,MAA2B,CAAC,KAAK,CAAC;AACxF,QAAA,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC;AAC1E,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;QACrB,KAAK,CAAC,cAAc,EAAE;IACxB;;AA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E,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,4BAA4B,CAAC;AACrD,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACF,qBAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,QAAQ,EAAE;AACX;AACF,iBAAA
|
|
1
|
+
{"version":3,"file":"limitng-directives-ciftBoslukTek.directive.mjs","sources":["../../src/app/components/directives/ciftBoslukTek.directive/ciftBoslukTek.directive.ts","../../src/app/components/directives/ciftBoslukTek.directive/limitng-directives-ciftBoslukTek.directive.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, forwardRef, inject, Output, Renderer2 } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[ciftBoslukTek]',\r\n standalone: true,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => CiftBoslukTekDirective),\r\n multi: true,\r\n },\r\n ],\r\n host: {\r\n '(blur)': 'onInput($event)'\r\n }\r\n})\r\nexport class CiftBoslukTekDirective implements ControlValueAccessor {\r\n private readonly _elementRef = inject(ElementRef, { self: true });\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n @Output() ciftBoslukTekChange = new EventEmitter<string>()\r\n\r\n onInput(event: FocusEvent) {\r\n const value = GlobalFunctions.ciftBoslukTekYap((event.target as HTMLInputElement).value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n this._onChange(value);\r\n event.preventDefault();\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAmBa,sBAAsB,CAAA;AAdnC,IAAA,WAAA,GAAA;QAemB,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAChD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;AAOpC,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,YAAY,EAAU;AA4B3D,IAAA;AA1BC,IAAA,OAAO,CAAC,KAAiB,EAAA;AACvB,QAAA,MAAM,KAAK,GAAG,eAAe,CAAC,gBAAgB,CAAE,KAAK,CAAC,MAA2B,CAAC,KAAK,CAAC;AACxF,QAAA,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC;AAC1E,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;QACrB,KAAK,CAAC,cAAc,EAAE;IACxB;;AAGA,IAAA,UAAU,CAAC,KAAU,EAAA;AACnB,QAAA,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC;IAC5E;;AAGA,IAAA,gBAAgB,CAAC,EAAoB,EAAA;AACnC,QAAA,IAAI,CAAC,SAAS,GAAG,E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oBAAA,IAAI,EAAE;AACJ,wBAAA,QAAQ,EAAE;AACX;AACF,iBAAA;;sBAUE;;;AC5BH;;AAEG;;;;"}
|
|
@@ -15,10 +15,10 @@ class DirtyDirective {
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
19
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: DirtyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
19
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.5", type: DirtyDirective, isStandalone: true, selector: "[appDirty]", inputs: { appDirty: ["appDirty", "appDirty", booleanAttribute] }, ngImport: i0 }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: DirtyDirective, decorators: [{
|
|
22
22
|
type: Directive,
|
|
23
23
|
args: [{
|
|
24
24
|
standalone: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-dirty.directive.mjs","sources":["../../src/app/components/directives/dirty.directive/dirty.directive.ts","../../src/app/components/directives/dirty.directive/limitng-directives-dirty.directive.ts"],"sourcesContent":["import { AfterViewChecked, booleanAttribute, Directive, Input } from '@angular/core';\r\n\r\n@Directive({\r\n standalone: true,\r\n selector: '[appDirty]'\r\n})\r\nexport class DirtyDirective implements AfterViewChecked {\r\n @Input({ transform: booleanAttribute }) appDirty = false;\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngAfterViewChecked() {\r\n const inputsDocument = document.querySelectorAll(\"[required]\")\r\n inputsDocument.forEach(input => {\r\n const cl = input.classList;\r\n if (cl) {\r\n cl.add('ng-dirty')\r\n cl.remove('ng-pristine')\r\n }\r\n });\r\n }\r\n\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAMa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA;QADwC,IAAA,CAAA,QAAQ,GAAG,KAAK;IAGpD;IAEJ,kBAAkB,GAAA;QAChB,MAAM,cAAc,GAAG,QAAQ,CAAC,gBAAgB,CAAC,YAAY,CAAC;AAC9D,QAAA,cAAc,CAAC,OAAO,CAAC,KAAK,IAAG;AAC7B,YAAA,MAAM,EAAE,GAAG,KAAK,CAAC,SAAS;YAC1B,IAAI,EAAE,EAAE;AACN,gBAAA,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC;AAClB,gBAAA,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC;YAC1B;AACF,QAAA,CAAC,CAAC;IACJ;8GAfW,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,cAAc,2FACL,gBAAgB,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FADzB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE;AACX,iBAAA
|
|
1
|
+
{"version":3,"file":"limitng-directives-dirty.directive.mjs","sources":["../../src/app/components/directives/dirty.directive/dirty.directive.ts","../../src/app/components/directives/dirty.directive/limitng-directives-dirty.directive.ts"],"sourcesContent":["import { AfterViewChecked, booleanAttribute, Directive, Input } from '@angular/core';\r\n\r\n@Directive({\r\n standalone: true,\r\n selector: '[appDirty]'\r\n})\r\nexport class DirtyDirective implements AfterViewChecked {\r\n @Input({ transform: booleanAttribute }) appDirty = false;\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngAfterViewChecked() {\r\n const inputsDocument = document.querySelectorAll(\"[required]\")\r\n inputsDocument.forEach(input => {\r\n const cl = input.classList;\r\n if (cl) {\r\n cl.add('ng-dirty')\r\n cl.remove('ng-pristine')\r\n }\r\n });\r\n }\r\n\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAMa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA;QADwC,IAAA,CAAA,QAAQ,GAAG,KAAK;IAGpD;IAEJ,kBAAkB,GAAA;QAChB,MAAM,cAAc,GAAG,QAAQ,CAAC,gBAAgB,CAAC,YAAY,CAAC;AAC9D,QAAA,cAAc,CAAC,OAAO,CAAC,KAAK,IAAG;AAC7B,YAAA,MAAM,EAAE,GAAG,KAAK,CAAC,SAAS;YAC1B,IAAI,EAAE,EAAE;AACN,gBAAA,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC;AAClB,gBAAA,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC;YAC1B;AACF,QAAA,CAAC,CAAC;IACJ;8GAfW,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,cAAc,2FACL,gBAAgB,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FADzB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE;AACX,iBAAA;;sBAEE,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;;ACPxC;;AAEG;;;;"}
|
|
@@ -113,10 +113,10 @@ class DisableDirective {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
117
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.3.
|
|
116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: DisableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
117
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.3.5", type: DisableDirective, isStandalone: true, selector: "[appDisable]", inputs: { appDisable: ["appDisable", "appDisable", booleanAttribute] }, queries: [{ propertyName: "checkboxes", predicate: Checkbox, descendants: true, isSignal: true }, { propertyName: "radioButtons", predicate: RadioButton, descendants: true, isSignal: true }, { propertyName: "selects", predicate: Select, descendants: true, isSignal: true }, { propertyName: "selectbuttons", predicate: SelectButton, descendants: true, isSignal: true }, { propertyName: "toggleSwitches", predicate: ToggleSwitch, descendants: true, isSignal: true }, { propertyName: "inputNumbers", predicate: InputNumber, descendants: true, isSignal: true }, { propertyName: "buttons", predicate: Button, descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0 }); }
|
|
118
118
|
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: DisableDirective, decorators: [{
|
|
120
120
|
type: Directive,
|
|
121
121
|
args: [{
|
|
122
122
|
selector: '[appDisable]',
|
|
@@ -125,7 +125,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
125
125
|
}], propDecorators: { appDisable: [{
|
|
126
126
|
type: Input,
|
|
127
127
|
args: [{ transform: booleanAttribute }]
|
|
128
|
-
}] } });
|
|
128
|
+
}], checkboxes: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => Checkbox), { ...{ descendants: true }, isSignal: true }] }], radioButtons: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => RadioButton), { ...{ descendants: true }, isSignal: true }] }], selects: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => Select), { ...{ descendants: true }, isSignal: true }] }], selectbuttons: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => SelectButton), { ...{ descendants: true }, isSignal: true }] }], toggleSwitches: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ToggleSwitch), { ...{ descendants: true }, isSignal: true }] }], inputNumbers: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => InputNumber), { ...{ descendants: true }, isSignal: true }] }], buttons: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => Button), { ...{ descendants: true }, isSignal: true }] }] } });
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* Generated bundle index. Do not edit.
|
|
@@ -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 { AfterContentInit, AfterViewInit, booleanAttribute, contentChildren, Directive, ElementRef, inject, Input, OnChanges, Renderer2 } from '@angular/core';\r\n\r\nimport { Button } from 'primeng/button';\r\nimport { Checkbox } from 'primeng/checkbox';\r\nimport { InputNumber } from 'primeng/inputnumber';\r\nimport { RadioButton } from 'primeng/radiobutton';\r\nimport { Select } from 'primeng/select';\r\nimport { SelectButton } from 'primeng/selectbutton';\r\nimport { ToggleSwitch } from 'primeng/toggleswitch';\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 standalone: true\r\n})\r\nexport class DisableDirective implements OnChanges, AfterViewInit, AfterContentInit {\r\n private readonly _elementRef = inject(ElementRef);\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n @Input({ transform: booleanAttribute }) appDisable = false;\r\n checkboxes = contentChildren(Checkbox, { descendants: true });\r\n radioButtons = contentChildren(RadioButton, { descendants: true });\r\n selects = contentChildren(Select, { descendants: true });\r\n selectbuttons = contentChildren(SelectButton, { descendants: true });\r\n toggleSwitches = contentChildren(ToggleSwitch, { descendants: true });\r\n inputNumbers = contentChildren(InputNumber, { descendants: true });\r\n buttons = contentChildren(Button, { descendants: true });\r\n\r\n ngOnChanges() {\r\n this.disableElement(this._elementRef.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.selects()) {\r\n this.selects().forEach(select => {\r\n select.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.toggleSwitches()) {\r\n this.toggleSwitches().forEach(toggleSwitch => {\r\n toggleSwitch.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._elementRef.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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;AAUA,MAAM,QAAQ,GAAG,UAAU;AAC3B,MAAM,YAAY,GAAG,cAAc;AACnC,MAAM,SAAS,GAAG,UAAU;AAC5B,MAAM,UAAU,GAAG,GAAG;MAMT,gBAAgB,CAAA;AAJ7B,IAAA,WAAA,GAAA;AAKmB,QAAA,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A,EAAA,EAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,SAAA,EACX,YAAY,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,SAAA,EACd,WAAW,6EAChB,MAAM,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAXrB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,UAAU,EAAE;AACb,iBAAA;8BAKyC,UAAU,EAAA,CAAA;sBAAjD,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;;ACvBxC;;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 { AfterContentInit, AfterViewInit, booleanAttribute, contentChildren, Directive, ElementRef, inject, Input, OnChanges, Renderer2 } from '@angular/core';\r\n\r\nimport { Button } from 'primeng/button';\r\nimport { Checkbox } from 'primeng/checkbox';\r\nimport { InputNumber } from 'primeng/inputnumber';\r\nimport { RadioButton } from 'primeng/radiobutton';\r\nimport { Select } from 'primeng/select';\r\nimport { SelectButton } from 'primeng/selectbutton';\r\nimport { ToggleSwitch } from 'primeng/toggleswitch';\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 standalone: true\r\n})\r\nexport class DisableDirective implements OnChanges, AfterViewInit, AfterContentInit {\r\n private readonly _elementRef = inject(ElementRef);\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n @Input({ transform: booleanAttribute }) appDisable = false;\r\n checkboxes = contentChildren(Checkbox, { descendants: true });\r\n radioButtons = contentChildren(RadioButton, { descendants: true });\r\n selects = contentChildren(Select, { descendants: true });\r\n selectbuttons = contentChildren(SelectButton, { descendants: true });\r\n toggleSwitches = contentChildren(ToggleSwitch, { descendants: true });\r\n inputNumbers = contentChildren(InputNumber, { descendants: true });\r\n buttons = contentChildren(Button, { descendants: true });\r\n\r\n ngOnChanges() {\r\n this.disableElement(this._elementRef.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.selects()) {\r\n this.selects().forEach(select => {\r\n select.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.toggleSwitches()) {\r\n this.toggleSwitches().forEach(toggleSwitch => {\r\n toggleSwitch.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._elementRef.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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;AAUA,MAAM,QAAQ,GAAG,UAAU;AAC3B,MAAM,YAAY,GAAG,cAAc;AACnC,MAAM,SAAS,GAAG,UAAU;AAC5B,MAAM,UAAU,GAAG,GAAG;MAMT,gBAAgB,CAAA;AAJ7B,IAAA,WAAA,GAAA;AAKmB,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;AAChC,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAEN,IAAA,CAAA,UAAU,GAAG,KAAK;AAC1D,QAAA,IAAA,CAAA,UAAU,GAAG,eAAe,CAAC,QAAQ,8CAAI,WAAW,EAAE,IAAI,E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,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACrC,WAAW,QAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACvC,MAAM,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AC9BzD;;AAEG;;;;"}
|
|
@@ -9,10 +9,10 @@ class FlexBasisDirective {
|
|
|
9
9
|
ngOnChanges() {
|
|
10
10
|
this._elementRef.nativeElement.style.flexBasis = this.flexBasis;
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
13
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: FlexBasisDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.5", type: FlexBasisDirective, isStandalone: true, selector: "[flexBasis]", inputs: { flexBasis: ["flexBasis", "flexBasis", numberAttribute] }, usesOnChanges: true, ngImport: i0 }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: FlexBasisDirective, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
selector: '[flexBasis]',
|
|
@@ -30,10 +30,10 @@ class FlexBasisEmDirective {
|
|
|
30
30
|
ngOnChanges() {
|
|
31
31
|
this._elementRef.nativeElement.style.flexBasis = this.flexBasisEm + 'em';
|
|
32
32
|
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
34
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: FlexBasisEmDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
34
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.5", type: FlexBasisEmDirective, isStandalone: true, selector: "[flexBasisEm]", inputs: { flexBasisEm: ["flexBasisEm", "flexBasisEm", numberAttribute] }, usesOnChanges: true, ngImport: i0 }); }
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: FlexBasisEmDirective, decorators: [{
|
|
37
37
|
type: Directive,
|
|
38
38
|
args: [{
|
|
39
39
|
selector: '[flexBasisEm]',
|
|
@@ -51,10 +51,10 @@ class FlexBasisPxDirective {
|
|
|
51
51
|
ngOnChanges() {
|
|
52
52
|
this._elementRef.nativeElement.style.flexBasis = this.flexBasisPx + 'px';
|
|
53
53
|
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
55
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: FlexBasisPxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
55
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.5", type: FlexBasisPxDirective, isStandalone: true, selector: "[flexBasisFBPx]", inputs: { flexBasisPx: ["flexBasisPx", "flexBasisPx", numberAttribute] }, usesOnChanges: true, ngImport: i0 }); }
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: FlexBasisPxDirective, decorators: [{
|
|
58
58
|
type: Directive,
|
|
59
59
|
args: [{
|
|
60
60
|
selector: '[flexBasisFBPx]',
|
|
@@ -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 { Directive, ElementRef, inject, Input, numberAttribute, OnChanges } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[flexBasis]',\r\n standalone: true\r\n})\r\nexport class FlexBasisDirective implements OnChanges {\r\n private readonly _elementRef = inject(ElementRef);\r\n\r\n @Input({ transform: numberAttribute }) flexBasis = 0;\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 standalone: true\r\n})\r\nexport class FlexBasisEmDirective implements OnChanges {\r\n private readonly _elementRef = inject(ElementRef);\r\n\r\n @Input({ transform: numberAttribute }) flexBasisEm = 0;\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 standalone: true\r\n})\r\nexport class FlexBasisPxDirective implements OnChanges {\r\n private readonly _elementRef = inject(ElementRef);\r\n\r\n @Input({ transform: numberAttribute }) flexBasisPx = 0;\r\n\r\n ngOnChanges() {\r\n this._elementRef.nativeElement.style.flexBasis = this.flexBasisPx + 'px';\r\n }\r\n}\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAMa,kBAAkB,CAAA;AAJ/B,IAAA,WAAA,GAAA;AAKmB,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;QAEV,IAAA,CAAA,SAAS,GAAG,CAAC;AAKrD,IAAA;IAHC,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS;IACjE;8GAPW,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,+FAGT,eAAe,CAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAHxB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,UAAU,EAAE;AACb,iBAAA
|
|
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 { Directive, ElementRef, inject, Input, numberAttribute, OnChanges } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[flexBasis]',\r\n standalone: true\r\n})\r\nexport class FlexBasisDirective implements OnChanges {\r\n private readonly _elementRef = inject(ElementRef);\r\n\r\n @Input({ transform: numberAttribute }) flexBasis = 0;\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 standalone: true\r\n})\r\nexport class FlexBasisEmDirective implements OnChanges {\r\n private readonly _elementRef = inject(ElementRef);\r\n\r\n @Input({ transform: numberAttribute }) flexBasisEm = 0;\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 standalone: true\r\n})\r\nexport class FlexBasisPxDirective implements OnChanges {\r\n private readonly _elementRef = inject(ElementRef);\r\n\r\n @Input({ transform: numberAttribute }) flexBasisPx = 0;\r\n\r\n ngOnChanges() {\r\n this._elementRef.nativeElement.style.flexBasis = this.flexBasisPx + 'px';\r\n }\r\n}\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAMa,kBAAkB,CAAA;AAJ/B,IAAA,WAAA,GAAA;AAKmB,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;QAEV,IAAA,CAAA,SAAS,GAAG,CAAC;AAKrD,IAAA;IAHC,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS;IACjE;8GAPW,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA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eAAe,EAAE;;MAW1B,oBAAoB,CAAA;AAJjC,IAAA,WAAA,GAAA;AAKmB,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;QAEV,IAAA,CAAA,WAAW,GAAG,CAAC;AAKvD,IAAA;IAHC,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,GAAG,IAAI;IAC1E;8GAPW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,yGAGX,eAAe,CAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAHxB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE;AACb,iBAAA;;sBAIE,KAAK;uBAAC,EAAE,SAAS,EAAE,eAAe,EAAE;;;ACrCvC;;AAEG;;;;"}
|
|
@@ -31,8 +31,8 @@ class IlkHarfBuyukDirective {
|
|
|
31
31
|
setDisabledState(isDisabled) {
|
|
32
32
|
this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
33
33
|
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
35
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: IlkHarfBuyukDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
35
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.5", type: IlkHarfBuyukDirective, isStandalone: true, selector: "[ilkHarfBuyuk]", outputs: { ilkHarfBuyukChange: "ilkHarfBuyukChange" }, host: { listeners: { "blur": "onInput($event)" } }, providers: [
|
|
36
36
|
{
|
|
37
37
|
provide: NG_VALUE_ACCESSOR,
|
|
38
38
|
useExisting: forwardRef(() => IlkHarfBuyukDirective),
|
|
@@ -40,7 +40,7 @@ class IlkHarfBuyukDirective {
|
|
|
40
40
|
},
|
|
41
41
|
], ngImport: i0 }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: IlkHarfBuyukDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[ilkHarfBuyuk]',
|