limitng 0.21.35 → 0.21.37
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 +12 -12
- package/fesm2022/limitng-alt-buyuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-alt-kucuk-kart.mjs +10 -10
- package/fesm2022/limitng-alt-kucuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-dikey-baslikli-panel-sol.mjs +7 -7
- package/fesm2022/limitng-dikey-baslikli-panel-sol.mjs.map +1 -1
- package/fesm2022/limitng-dikey-baslikli-panel.mjs +7 -7
- package/fesm2022/limitng-dikey-baslikli-panel.mjs.map +1 -1
- package/fesm2022/limitng-directives-adAlani.directive.mjs +3 -3
- package/fesm2022/limitng-directives-adresAlani.directive.mjs +3 -3
- package/fesm2022/limitng-directives-buyukHarf.directive.mjs +3 -3
- package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs +3 -3
- package/fesm2022/limitng-directives-dirty.directive.mjs +4 -4
- package/fesm2022/limitng-directives-dirty.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-disable.directive.mjs +14 -14
- package/fesm2022/limitng-directives-disable.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-flexBasis.directive.mjs +12 -12
- package/fesm2022/limitng-directives-flexBasis.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs +3 -3
- package/fesm2022/limitng-directives-imleciBasaAl.directive.mjs +3 -3
- package/fesm2022/limitng-directives-kodAlani.directive.mjs +3 -3
- package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs +4 -4
- package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives-okTuslariylaIcerdeGezin.directive.mjs +3 -3
- package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs +3 -3
- package/fesm2022/limitng-directives-standartAlan.directive.mjs +3 -3
- package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs +16 -16
- 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-tumIlkHarfBuyuk.directive.mjs +3 -3
- package/fesm2022/limitng-directives.mjs +80 -80
- package/fesm2022/limitng-directives.mjs.map +1 -1
- package/fesm2022/limitng-filtre-bar.mjs +15 -15
- package/fesm2022/limitng-filtre-bar.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-detay.mjs +4 -4
- package/fesm2022/limitng-geri-ileri-detay.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-liste.mjs +4 -4
- 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 +7 -7
- package/fesm2022/limitng-rapor-kart.mjs.map +1 -1
- package/fesm2022/limitng-sol-buyuk-kart.mjs +11 -11
- package/fesm2022/limitng-sol-buyuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-sol-kucuk-kart.mjs +9 -9
- package/fesm2022/limitng-sol-kucuk-kart.mjs.map +1 -1
- package/fesm2022/limitng-yatay-baslikli-panel.mjs +13 -13
- package/fesm2022/limitng-yatay-baslikli-panel.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4,20 +4,20 @@ import { input, numberAttribute, computed, contentChild, Component } from '@angu
|
|
|
4
4
|
|
|
5
5
|
class AltBuyukKartComponent {
|
|
6
6
|
constructor() {
|
|
7
|
-
this.baslik = input.required(...(ngDevMode ? [{ debugName: "baslik" }] : []));
|
|
8
|
-
this.baslikRenk = input.required(...(ngDevMode ? [{ debugName: "baslikRenk" }] : []));
|
|
9
|
-
this.genislik = input('40.5em', ...(ngDevMode ? [{ debugName: "genislik" }] : []));
|
|
10
|
-
this.yukseklik = input(21, { ...(ngDevMode ? { debugName: "yukseklik" } : {}), transform: numberAttribute });
|
|
11
|
-
this.baslikYukseklik = input(3, { ...(ngDevMode ? { debugName: "baslikYukseklik" } : {}), transform: numberAttribute });
|
|
12
|
-
this.baslikFontSize = input(1, { ...(ngDevMode ? { debugName: "baslikFontSize" } : {}), transform: numberAttribute });
|
|
13
|
-
this.baslikUst = computed(() => this.yukseklik() - this.baslikYukseklik(), ...(ngDevMode ? [{ debugName: "baslikUst" }] : []));
|
|
14
|
-
this.sagAlt = contentChild('sagAlt', ...(ngDevMode ? [{ debugName: "sagAlt" }] : []));
|
|
15
|
-
this.solAlt = contentChild('solAlt', ...(ngDevMode ? [{ debugName: "solAlt" }] : []));
|
|
7
|
+
this.baslik = input.required(...(ngDevMode ? [{ debugName: "baslik" }] : /* istanbul ignore next */ []));
|
|
8
|
+
this.baslikRenk = input.required(...(ngDevMode ? [{ debugName: "baslikRenk" }] : /* istanbul ignore next */ []));
|
|
9
|
+
this.genislik = input('40.5em', ...(ngDevMode ? [{ debugName: "genislik" }] : /* istanbul ignore next */ []));
|
|
10
|
+
this.yukseklik = input(21, { ...(ngDevMode ? { debugName: "yukseklik" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
11
|
+
this.baslikYukseklik = input(3, { ...(ngDevMode ? { debugName: "baslikYukseklik" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
12
|
+
this.baslikFontSize = input(1, { ...(ngDevMode ? { debugName: "baslikFontSize" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
13
|
+
this.baslikUst = computed(() => this.yukseklik() - this.baslikYukseklik(), ...(ngDevMode ? [{ debugName: "baslikUst" }] : /* istanbul ignore next */ []));
|
|
14
|
+
this.sagAlt = contentChild('sagAlt', ...(ngDevMode ? [{ debugName: "sagAlt" }] : /* istanbul ignore next */ []));
|
|
15
|
+
this.solAlt = contentChild('solAlt', ...(ngDevMode ? [{ debugName: "solAlt" }] : /* istanbul ignore next */ []));
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AltBuyukKartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", 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: "21.2.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AltBuyukKartComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
22
|
args: [{ selector: 'alt-buyuk-kart', imports: [NgTemplateOutlet], host: {
|
|
23
23
|
'[style.width]': 'genislik()'
|
|
@@ -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,qBAAqB,CAAA;AAVlC,IAAA,WAAA,GAAA;AAWE,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,
|
|
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,4EAAU;AACjC,QAAA,IAAA,CAAA,UAAU,GAA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AAA,EAAA,gBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,QAAQ,mEACR,QAAQ,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE7BlD;;AAEG;;;;"}
|
|
@@ -3,18 +3,18 @@ import { input, numberAttribute, computed, Component } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
class AltKucukKartComponent {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.baslik = input.required(...(ngDevMode ? [{ debugName: "baslik" }] : []));
|
|
7
|
-
this.baslikRenk = input.required(...(ngDevMode ? [{ debugName: "baslikRenk" }] : []));
|
|
8
|
-
this.genislik = input('20em', ...(ngDevMode ? [{ debugName: "genislik" }] : []));
|
|
9
|
-
this.yukseklik = input(13, { ...(ngDevMode ? { debugName: "yukseklik" } : {}), transform: numberAttribute });
|
|
10
|
-
this.baslikYukseklik = input(3, { ...(ngDevMode ? { debugName: "baslikYukseklik" } : {}), transform: numberAttribute });
|
|
11
|
-
this.baslikFontSize = input(1, { ...(ngDevMode ? { debugName: "baslikFontSize" } : {}), transform: numberAttribute });
|
|
12
|
-
this.baslikUst = computed(() => this.yukseklik() - this.baslikYukseklik(), ...(ngDevMode ? [{ debugName: "baslikUst" }] : []));
|
|
6
|
+
this.baslik = input.required(...(ngDevMode ? [{ debugName: "baslik" }] : /* istanbul ignore next */ []));
|
|
7
|
+
this.baslikRenk = input.required(...(ngDevMode ? [{ debugName: "baslikRenk" }] : /* istanbul ignore next */ []));
|
|
8
|
+
this.genislik = input('20em', ...(ngDevMode ? [{ debugName: "genislik" }] : /* istanbul ignore next */ []));
|
|
9
|
+
this.yukseklik = input(13, { ...(ngDevMode ? { debugName: "yukseklik" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
10
|
+
this.baslikYukseklik = input(3, { ...(ngDevMode ? { debugName: "baslikYukseklik" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
11
|
+
this.baslikFontSize = input(1, { ...(ngDevMode ? { debugName: "baslikFontSize" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
12
|
+
this.baslikUst = computed(() => this.yukseklik() - this.baslikYukseklik(), ...(ngDevMode ? [{ debugName: "baslikUst" }] : /* istanbul ignore next */ []));
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AltKucukKartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.2", 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: "21.2.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AltKucukKartComponent, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{ selector: 'alt-kucuk-kart', standalone: true, host: {
|
|
20
20
|
'[style.width]': 'genislik()'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-alt-kucuk-kart.mjs","sources":["../../src/app/components/alt-kucuk-kart/alt-kucuk-kart.component.ts","../../src/app/components/alt-kucuk-kart/alt-kucuk-kart.component.html","../../src/app/components/alt-kucuk-kart/limitng-alt-kucuk-kart.ts"],"sourcesContent":["import { Component, computed, input, numberAttribute } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'alt-kucuk-kart',\r\n standalone: true,\r\n templateUrl: 'alt-kucuk-kart.component.html',\r\n styleUrl: 'alt-kucuk-kart.component.scss',\r\n host: {\r\n '[style.width]': 'genislik()'\r\n }\r\n})\r\nexport class AltKucukKartComponent {\r\n readonly baslik = input.required<string>();\r\n readonly baslikRenk = input.required<string>();\r\n\r\n readonly genislik = input('20em');\r\n readonly yukseklik = input(13, { transform: numberAttribute });\r\n\r\n readonly baslikYukseklik = input(3, { transform: numberAttribute });\r\n readonly baslikFontSize = input(1, { transform: numberAttribute });\r\n\r\n readonly baslikUst = computed(() => this.yukseklik() - this.baslikYukseklik());\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 <ng-content />\r\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAWa,qBAAqB,CAAA;AATlC,IAAA,WAAA,GAAA;AAUW,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"limitng-alt-kucuk-kart.mjs","sources":["../../src/app/components/alt-kucuk-kart/alt-kucuk-kart.component.ts","../../src/app/components/alt-kucuk-kart/alt-kucuk-kart.component.html","../../src/app/components/alt-kucuk-kart/limitng-alt-kucuk-kart.ts"],"sourcesContent":["import { Component, computed, input, numberAttribute } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'alt-kucuk-kart',\r\n standalone: true,\r\n templateUrl: 'alt-kucuk-kart.component.html',\r\n styleUrl: 'alt-kucuk-kart.component.scss',\r\n host: {\r\n '[style.width]': 'genislik()'\r\n }\r\n})\r\nexport class AltKucukKartComponent {\r\n readonly baslik = input.required<string>();\r\n readonly baslikRenk = input.required<string>();\r\n\r\n readonly genislik = input('20em');\r\n readonly yukseklik = input(13, { transform: numberAttribute });\r\n\r\n readonly baslikYukseklik = input(3, { transform: numberAttribute });\r\n readonly baslikFontSize = input(1, { transform: numberAttribute });\r\n\r\n readonly baslikUst = computed(() => this.yukseklik() - this.baslikYukseklik());\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 <ng-content />\r\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAWa,qBAAqB,CAAA;AATlC,IAAA,WAAA,GAAA;AAUW,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,4EAAU;AACjC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,QAAQ,gFAAU;AAErC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,MAAM,+EAAC;QACxB,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,EAAE,iFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;QAErD,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,CAAC,uFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;QAC1D,IAAA,CAAA,cAAc,GAAG,KAAK,CAAC,CAAC,sFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;AAEzD,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,SAAS,EAAE,GAAG,IAAI,CAAC,eAAe,EAAE,gFAAC;AAC/E,IAAA;8GAXY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,27BCXlC,yeAWM,EAAA,MAAA,EAAA,CAAA,2bAAA,CAAA,EAAA,CAAA,CAAA;;2FDAO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBATjC,SAAS;+BACE,gBAAgB,EAAA,UAAA,EACd,IAAI,EAAA,IAAA,EAGV;AACJ,wBAAA,eAAe,EAAE;AAClB,qBAAA,EAAA,QAAA,EAAA,yeAAA,EAAA,MAAA,EAAA,CAAA,2bAAA,CAAA,EAAA;;;AETH;;AAEG;;;;"}
|
|
@@ -3,15 +3,15 @@ import { input, numberAttribute, Component } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
class DikeyBaslikliPanelSolComponent {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.baslik = input.required(...(ngDevMode ? [{ debugName: "baslik" }] : []));
|
|
7
|
-
this.renk = input('skyblue', ...(ngDevMode ? [{ debugName: "renk" }] : []));
|
|
8
|
-
this.baslikFontSize = input(1.5, { ...(ngDevMode ? { debugName: "baslikFontSize" } : {}), transform: numberAttribute });
|
|
9
|
-
this.baslikGenislik = input(3, { ...(ngDevMode ? { debugName: "baslikGenislik" } : {}), transform: numberAttribute });
|
|
6
|
+
this.baslik = input.required(...(ngDevMode ? [{ debugName: "baslik" }] : /* istanbul ignore next */ []));
|
|
7
|
+
this.renk = input('skyblue', ...(ngDevMode ? [{ debugName: "renk" }] : /* istanbul ignore next */ []));
|
|
8
|
+
this.baslikFontSize = input(1.5, { ...(ngDevMode ? { debugName: "baslikFontSize" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
9
|
+
this.baslikGenislik = input(3, { ...(ngDevMode ? { debugName: "baslikGenislik" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: DikeyBaslikliPanelSolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.2", 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: "21.2.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", 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'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-dikey-baslikli-panel-sol.mjs","sources":["../../src/app/components/dikey-baslikli-panel-sol/dikey-baslikli-panel-sol.component.ts","../../src/app/components/dikey-baslikli-panel-sol/dikey-baslikli-panel-sol.component.html","../../src/app/components/dikey-baslikli-panel-sol/limitng-dikey-baslikli-panel-sol.ts"],"sourcesContent":["import { Component, input, numberAttribute } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'dikey-baslikli-panel-sol',\r\n standalone: true,\r\n templateUrl: 'dikey-baslikli-panel-sol.component.html',\r\n styleUrl: 'dikey-baslikli-panel-sol.component.scss',\r\n host: {\r\n 'class': 'flex flex-wrap mb-2'\r\n }\r\n})\r\n\r\nexport class DikeyBaslikliPanelSolComponent {\r\n baslik = input.required<string>();\r\n renk = input('skyblue');\r\n\r\n baslikFontSize = input(1.5, { transform: numberAttribute });\r\n baslikGenislik = input(3, { transform: numberAttribute });\r\n\r\n}\r\n","<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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAYa,8BAA8B,CAAA;AAV3C,IAAA,WAAA,GAAA;AAWE,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"limitng-dikey-baslikli-panel-sol.mjs","sources":["../../src/app/components/dikey-baslikli-panel-sol/dikey-baslikli-panel-sol.component.ts","../../src/app/components/dikey-baslikli-panel-sol/dikey-baslikli-panel-sol.component.html","../../src/app/components/dikey-baslikli-panel-sol/limitng-dikey-baslikli-panel-sol.ts"],"sourcesContent":["import { Component, input, numberAttribute } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'dikey-baslikli-panel-sol',\r\n standalone: true,\r\n templateUrl: 'dikey-baslikli-panel-sol.component.html',\r\n styleUrl: 'dikey-baslikli-panel-sol.component.scss',\r\n host: {\r\n 'class': 'flex flex-wrap mb-2'\r\n }\r\n})\r\n\r\nexport class DikeyBaslikliPanelSolComponent {\r\n baslik = input.required<string>();\r\n renk = input('skyblue');\r\n\r\n baslikFontSize = input(1.5, { transform: numberAttribute });\r\n baslikGenislik = input(3, { transform: numberAttribute });\r\n\r\n}\r\n","<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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAYa,8BAA8B,CAAA;AAV3C,IAAA,WAAA,GAAA;AAWE,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,4EAAU;AACjC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,SAAS,2EAAC;QAEvB,IAAA,CAAA,cAAc,GAAG,KAAK,CAAC,GAAG,sFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;QAC3D,IAAA,CAAA,cAAc,GAAG,KAAK,CAAC,CAAC,sFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;AAE1D,IAAA;8GAPY,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,sqBCZ3C,mzBAsBA,EAAA,MAAA,EAAA,CAAA,+YAAA,CAAA,EAAA,CAAA,CAAA;;2FDVa,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAV1C,SAAS;+BACE,0BAA0B,EAAA,UAAA,EACxB,IAAI,EAAA,IAAA,EAGV;AACJ,wBAAA,OAAO,EAAE;AACV,qBAAA,EAAA,QAAA,EAAA,mzBAAA,EAAA,MAAA,EAAA,CAAA,+YAAA,CAAA,EAAA;;;AETH;;AAEG;;;;"}
|
|
@@ -3,15 +3,15 @@ import { input, numberAttribute, Component } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
class DikeyBaslikliPanelComponent {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.baslik = input.required(...(ngDevMode ? [{ debugName: "baslik" }] : []));
|
|
7
|
-
this.renk = input('skyblue', ...(ngDevMode ? [{ debugName: "renk" }] : []));
|
|
8
|
-
this.baslikFontSize = input(1.5, { ...(ngDevMode ? { debugName: "baslikFontSize" } : {}), transform: numberAttribute });
|
|
9
|
-
this.baslikGenislik = input(3, { ...(ngDevMode ? { debugName: "baslikGenislik" } : {}), transform: numberAttribute });
|
|
6
|
+
this.baslik = input.required(...(ngDevMode ? [{ debugName: "baslik" }] : /* istanbul ignore next */ []));
|
|
7
|
+
this.renk = input('skyblue', ...(ngDevMode ? [{ debugName: "renk" }] : /* istanbul ignore next */ []));
|
|
8
|
+
this.baslikFontSize = input(1.5, { ...(ngDevMode ? { debugName: "baslikFontSize" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
9
|
+
this.baslikGenislik = input(3, { ...(ngDevMode ? { debugName: "baslikGenislik" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: DikeyBaslikliPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.2", 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: "21.2.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", 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'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-dikey-baslikli-panel.mjs","sources":["../../src/app/components/dikey-baslikli-panel/dikey-baslikli-panel.component.ts","../../src/app/components/dikey-baslikli-panel/dikey-baslikli-panel.component.html","../../src/app/components/dikey-baslikli-panel/limitng-dikey-baslikli-panel.ts"],"sourcesContent":["import { Component, input, numberAttribute } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'dikey-baslikli-panel',\r\n standalone: true,\r\n templateUrl: 'dikey-baslikli-panel.component.html',\r\n styleUrl: 'dikey-baslikli-panel.component.scss',\r\n host: {\r\n 'class': 'flex flex-wrap mb-2'\r\n }\r\n})\r\n\r\nexport class DikeyBaslikliPanelComponent {\r\n baslik = input.required<string>();\r\n renk = input('skyblue');\r\n\r\n baslikFontSize = input(1.5, { transform: numberAttribute });\r\n baslikGenislik = input(3, { transform: numberAttribute });\r\n\r\n}\r\n","<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>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAYa,2BAA2B,CAAA;AAVxC,IAAA,WAAA,GAAA;AAWE,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"limitng-dikey-baslikli-panel.mjs","sources":["../../src/app/components/dikey-baslikli-panel/dikey-baslikli-panel.component.ts","../../src/app/components/dikey-baslikli-panel/dikey-baslikli-panel.component.html","../../src/app/components/dikey-baslikli-panel/limitng-dikey-baslikli-panel.ts"],"sourcesContent":["import { Component, input, numberAttribute } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'dikey-baslikli-panel',\r\n standalone: true,\r\n templateUrl: 'dikey-baslikli-panel.component.html',\r\n styleUrl: 'dikey-baslikli-panel.component.scss',\r\n host: {\r\n 'class': 'flex flex-wrap mb-2'\r\n }\r\n})\r\n\r\nexport class DikeyBaslikliPanelComponent {\r\n baslik = input.required<string>();\r\n renk = input('skyblue');\r\n\r\n baslikFontSize = input(1.5, { transform: numberAttribute });\r\n baslikGenislik = input(3, { transform: numberAttribute });\r\n\r\n}\r\n","<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>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAYa,2BAA2B,CAAA;AAVxC,IAAA,WAAA,GAAA;AAWE,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,4EAAU;AACjC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,SAAS,2EAAC;QAEvB,IAAA,CAAA,cAAc,GAAG,KAAK,CAAC,GAAG,sFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;QAC3D,IAAA,CAAA,cAAc,GAAG,KAAK,CAAC,CAAC,sFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;AAE1D,IAAA;8GAPY,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,kqBCZxC,o4BAuBM,EAAA,MAAA,EAAA,CAAA,wXAAA,CAAA,EAAA,CAAA,CAAA;;2FDXO,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAVvC,SAAS;+BACE,sBAAsB,EAAA,UAAA,EACpB,IAAI,EAAA,IAAA,EAGV;AACJ,wBAAA,OAAO,EAAE;AACV,qBAAA,EAAA,QAAA,EAAA,o4BAAA,EAAA,MAAA,EAAA,CAAA,wXAAA,CAAA,EAAA;;;AETH;;AAEG;;;;"}
|
|
@@ -48,8 +48,8 @@ class AdAlaniDirective {
|
|
|
48
48
|
setDisabledState(isDisabled) {
|
|
49
49
|
this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
50
50
|
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
52
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AdAlaniDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
52
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: AdAlaniDirective, isStandalone: true, selector: "[adAlani]", outputs: { kodChange: "kodChange" }, host: { listeners: { "blur": "onInput($event)", "keypress": "onKeyPress($event)" } }, providers: [
|
|
53
53
|
{
|
|
54
54
|
provide: NG_VALUE_ACCESSOR,
|
|
55
55
|
useExisting: forwardRef(() => AdAlaniDirective),
|
|
@@ -57,7 +57,7 @@ class AdAlaniDirective {
|
|
|
57
57
|
},
|
|
58
58
|
], ngImport: i0 }); }
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AdAlaniDirective, decorators: [{
|
|
61
61
|
type: Directive,
|
|
62
62
|
args: [{
|
|
63
63
|
selector: '[adAlani]',
|
|
@@ -49,8 +49,8 @@ class AdresAlaniDirective {
|
|
|
49
49
|
setDisabledState(isDisabled) {
|
|
50
50
|
this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
53
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AdresAlaniDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
53
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: AdresAlaniDirective, isStandalone: true, selector: "[adresAlani]", outputs: { kodChange: "kodChange" }, host: { listeners: { "blur": "onInput($event)", "keypress": "onKeyPress($event)" } }, providers: [
|
|
54
54
|
{
|
|
55
55
|
provide: NG_VALUE_ACCESSOR,
|
|
56
56
|
useExisting: forwardRef(() => AdresAlaniDirective),
|
|
@@ -58,7 +58,7 @@ class AdresAlaniDirective {
|
|
|
58
58
|
},
|
|
59
59
|
], ngImport: i0 }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AdresAlaniDirective, decorators: [{
|
|
62
62
|
type: Directive,
|
|
63
63
|
args: [{
|
|
64
64
|
selector: '[adresAlani]',
|
|
@@ -35,8 +35,8 @@ class BuyukHarfDirective {
|
|
|
35
35
|
setDisabledState(isDisabled) {
|
|
36
36
|
this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
39
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: BuyukHarfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
39
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: BuyukHarfDirective, isStandalone: true, selector: "[buyukHarf]", outputs: { buyukHarfChange: "buyukHarfChange" }, host: { listeners: { "blur": "onInput($event)" } }, providers: [
|
|
40
40
|
{
|
|
41
41
|
provide: NG_VALUE_ACCESSOR,
|
|
42
42
|
useExisting: forwardRef(() => BuyukHarfDirective),
|
|
@@ -44,7 +44,7 @@ class BuyukHarfDirective {
|
|
|
44
44
|
},
|
|
45
45
|
], ngImport: i0 }); }
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: BuyukHarfDirective, decorators: [{
|
|
48
48
|
type: Directive,
|
|
49
49
|
args: [{
|
|
50
50
|
selector: '[buyukHarf]',
|
|
@@ -35,8 +35,8 @@ class CiftBoslukTekDirective {
|
|
|
35
35
|
setDisabledState(isDisabled) {
|
|
36
36
|
this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
39
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CiftBoslukTekDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
39
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CiftBoslukTekDirective, isStandalone: true, selector: "[ciftBoslukTek]", outputs: { ciftBoslukTekChange: "ciftBoslukTekChange" }, host: { listeners: { "blur": "onInput($event)" } }, providers: [
|
|
40
40
|
{
|
|
41
41
|
provide: NG_VALUE_ACCESSOR,
|
|
42
42
|
useExisting: forwardRef(() => CiftBoslukTekDirective),
|
|
@@ -44,7 +44,7 @@ class CiftBoslukTekDirective {
|
|
|
44
44
|
},
|
|
45
45
|
], ngImport: i0 }); }
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CiftBoslukTekDirective, decorators: [{
|
|
48
48
|
type: Directive,
|
|
49
49
|
args: [{
|
|
50
50
|
selector: '[ciftBoslukTek]',
|
|
@@ -3,7 +3,7 @@ import { input, booleanAttribute, Directive } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
class DirtyDirective {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.appDirty = input(false, { ...(ngDevMode ? { debugName: "appDirty" } : {}), transform: booleanAttribute });
|
|
6
|
+
this.appDirty = input(false, { ...(ngDevMode ? { debugName: "appDirty" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
7
7
|
}
|
|
8
8
|
ngAfterViewChecked() {
|
|
9
9
|
const inputs = document.querySelectorAll('[required]');
|
|
@@ -16,10 +16,10 @@ class DirtyDirective {
|
|
|
16
16
|
cl.remove('ng-pristine');
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
20
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: DirtyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: DirtyDirective, isStandalone: true, selector: "[appDirty]", inputs: { appDirty: { classPropertyName: "appDirty", publicName: "appDirty", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: DirtyDirective, decorators: [{
|
|
23
23
|
type: Directive,
|
|
24
24
|
args: [{
|
|
25
25
|
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 readonly appDirty = input(false, { transform: booleanAttribute });\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngAfterViewChecked() {\r\n const inputs = document.querySelectorAll('[required]');\r\n\r\n for (const input of inputs) {\r\n const cl = input.classList;\r\n if (!cl) {\ncontinue;\n}\r\n cl.add('ng-dirty');\r\n cl.remove('ng-pristine');\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;QADS,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,
|
|
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 readonly appDirty = input(false, { transform: booleanAttribute });\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngAfterViewChecked() {\r\n const inputs = document.querySelectorAll('[required]');\r\n\r\n for (const input of inputs) {\r\n const cl = input.classList;\r\n if (!cl) {\ncontinue;\n}\r\n cl.add('ng-dirty');\r\n cl.remove('ng-pristine');\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;QADS,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;IAG7D;IAEJ,kBAAkB,GAAA;QAChB,MAAM,MAAM,GAAG,QAAQ,CAAC,gBAAgB,CAAC,YAAY,CAAC;AAEtD,QAAA,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;AAC1B,YAAA,MAAM,EAAE,GAAG,KAAK,CAAC,SAAS;YAC1B,IAAI,CAAC,EAAE,EAAE;gBACf;YACA;AACM,YAAA,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC;AAClB,YAAA,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC;QAC1B;IACF;8GAjBW,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE;AACX,iBAAA;;;ACLD;;AAEG;;;;"}
|
|
@@ -11,10 +11,10 @@ class AlwaysEnabledDirective {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this.el = inject((ElementRef));
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
15
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlwaysEnabledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
15
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: AlwaysEnabledDirective, isStandalone: true, selector: "[appAlwaysEnabled]", ngImport: i0 }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlwaysEnabledDirective, decorators: [{
|
|
18
18
|
type: Directive,
|
|
19
19
|
args: [{
|
|
20
20
|
selector: '[appAlwaysEnabled]',
|
|
@@ -26,16 +26,16 @@ class DisableDirective {
|
|
|
26
26
|
constructor() {
|
|
27
27
|
this._elementRef = inject((ElementRef));
|
|
28
28
|
this._renderer = inject(Renderer2);
|
|
29
|
-
this.appDisable = input(false, { ...(ngDevMode ? { debugName: "appDisable" } : {}), transform: booleanAttribute });
|
|
29
|
+
this.appDisable = input(false, { ...(ngDevMode ? { debugName: "appDisable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
30
30
|
/* PrimeNG CVA bileşenleri */
|
|
31
|
-
this.checkboxes = contentChildren(Checkbox, { ...(ngDevMode ? { debugName: "checkboxes" } : {}), descendants: true });
|
|
32
|
-
this.radioButtons = contentChildren(RadioButton, { ...(ngDevMode ? { debugName: "radioButtons" } : {}), descendants: true });
|
|
33
|
-
this.selects = contentChildren(Select, { ...(ngDevMode ? { debugName: "selects" } : {}), descendants: true });
|
|
34
|
-
this.selectbuttons = contentChildren(SelectButton, { ...(ngDevMode ? { debugName: "selectbuttons" } : {}), descendants: true });
|
|
35
|
-
this.toggleSwitches = contentChildren(ToggleSwitch, { ...(ngDevMode ? { debugName: "toggleSwitches" } : {}), descendants: true });
|
|
36
|
-
this.inputNumbers = contentChildren(InputNumber, { ...(ngDevMode ? { debugName: "inputNumbers" } : {}), descendants: true });
|
|
31
|
+
this.checkboxes = contentChildren(Checkbox, { ...(ngDevMode ? { debugName: "checkboxes" } : /* istanbul ignore next */ {}), descendants: true });
|
|
32
|
+
this.radioButtons = contentChildren(RadioButton, { ...(ngDevMode ? { debugName: "radioButtons" } : /* istanbul ignore next */ {}), descendants: true });
|
|
33
|
+
this.selects = contentChildren(Select, { ...(ngDevMode ? { debugName: "selects" } : /* istanbul ignore next */ {}), descendants: true });
|
|
34
|
+
this.selectbuttons = contentChildren(SelectButton, { ...(ngDevMode ? { debugName: "selectbuttons" } : /* istanbul ignore next */ {}), descendants: true });
|
|
35
|
+
this.toggleSwitches = contentChildren(ToggleSwitch, { ...(ngDevMode ? { debugName: "toggleSwitches" } : /* istanbul ignore next */ {}), descendants: true });
|
|
36
|
+
this.inputNumbers = contentChildren(InputNumber, { ...(ngDevMode ? { debugName: "inputNumbers" } : /* istanbul ignore next */ {}), descendants: true });
|
|
37
37
|
/* Always Enabled marker */
|
|
38
|
-
this.alwaysEnabled = contentChildren(AlwaysEnabledDirective, { ...(ngDevMode ? { debugName: "alwaysEnabled" } : {}), descendants: true });
|
|
38
|
+
this.alwaysEnabled = contentChildren(AlwaysEnabledDirective, { ...(ngDevMode ? { debugName: "alwaysEnabled" } : /* istanbul ignore next */ {}), descendants: true });
|
|
39
39
|
}
|
|
40
40
|
/* ---------------- lifecycle ---------------- */
|
|
41
41
|
ngOnChanges() {
|
|
@@ -137,10 +137,10 @@ class DisableDirective {
|
|
|
137
137
|
return this.alwaysEnabled()
|
|
138
138
|
?.some(d => d.el.nativeElement === element) ?? false;
|
|
139
139
|
}
|
|
140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
141
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.
|
|
140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: DisableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
141
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.2", type: DisableDirective, isStandalone: true, selector: "[appDisable]", inputs: { appDisable: { classPropertyName: "appDisable", publicName: "appDisable", isSignal: true, isRequired: false, transformFunction: null } }, 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: "alwaysEnabled", predicate: AlwaysEnabledDirective, descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0 }); }
|
|
142
142
|
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: DisableDirective, decorators: [{
|
|
144
144
|
type: Directive,
|
|
145
145
|
args: [{
|
|
146
146
|
selector: '[appDisable]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitng-directives-disable.directive.mjs","sources":["../../src/app/components/directives/disable.directive/always-enabled.directive.ts","../../src/app/components/directives/disable.directive/disable.directive.ts","../../src/app/components/directives/disable.directive/limitng-directives-disable.directive.ts"],"sourcesContent":["import { Directive, ElementRef, inject } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appAlwaysEnabled]',\r\n standalone: true\r\n})\r\nexport class AlwaysEnabledDirective {\r\n readonly el = inject(ElementRef<HTMLElement>);\r\n}\r\n","import { AfterContentInit, AfterViewInit, booleanAttribute, contentChildren, Directive, ElementRef, inject, input, OnChanges, Renderer2 } from '@angular/core';\r\n\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\nimport { AlwaysEnabledDirective } from './always-enabled.directive';\r\n\r\n@Directive({\r\n selector: '[appDisable]',\r\n standalone: true\r\n})\r\nexport class DisableDirective\r\n implements OnChanges, AfterViewInit, AfterContentInit {\r\n\r\n private readonly _elementRef = inject(ElementRef<HTMLElement>);\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n readonly appDisable = input(false, { transform: booleanAttribute });\r\n\r\n /* PrimeNG CVA bileşenleri */\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\r\n /* Always Enabled marker */\r\n alwaysEnabled = contentChildren(AlwaysEnabledDirective, { descendants: true });\r\n\r\n /* ---------------- lifecycle ---------------- */\r\n\r\n ngOnChanges(): void {\r\n this.disableElement(this._elementRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.disableElement(this._elementRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n /* ---------------- PrimeNG ---------------- */\r\n\r\n private disableElementPrimeNG(): void {\r\n const groups = [\r\n this.checkboxes(),\r\n this.radioButtons(),\r\n this.selects(),\r\n this.selectbuttons(),\r\n this.toggleSwitches(),\r\n this.inputNumbers()\r\n ];\r\n\r\n for (const controls of groups) {\r\n if (!controls?.length) {\ncontinue;\n}\r\n\r\n for (const control of controls) {\r\n if (this.isAlwaysEnabledPrimeNg(control)) {\r\n control.setDisabledState(false);\r\n } else {\r\n control.setDisabledState(this.appDisable());\r\n }\r\n }\r\n }\r\n }\r\n\r\n private isAlwaysEnabledPrimeNg(control: any): boolean {\r\n const native = this.getNativeElement(control);\r\n return !!native && this.isAlwaysEnabledElement(native);\r\n }\r\n\r\n private getNativeElement(control: any): HTMLElement | null {\r\n return (\r\n control?.el?.nativeElement ||\r\n control?.input?.nativeElement ||\r\n control?._el?.nativeElement ||\r\n null\r\n );\r\n }\r\n\r\n /* ---------------- Native DOM ---------------- */\r\n\r\n private disableElement(element: HTMLElement): void {\r\n if (!element) {\nreturn;\n}\r\n\r\n if (this.isAlwaysEnabledElement(element)) {\nreturn;\n}\r\n\r\n const tag = element.localName;\r\n\r\n /* p-button özel */\r\n if (tag === 'p-button') {\r\n const child = element.children[0] as HTMLButtonElement | null;\r\n if (child) {\r\n child.disabled = this.appDisable();\r\n }\r\n return;\r\n }\r\n\r\n /* PrimeNG CVA component shell'leri → DOM'dan elleme */\r\n if (\r\n tag === 'p-checkbox' ||\r\n tag === 'p-radiobutton' ||\r\n tag === 'p-select' ||\r\n tag === 'p-selectbutton' ||\r\n tag === 'p-toggleswitch' ||\r\n tag === 'p-inputnumber'\r\n ) {\r\n return;\r\n }\r\n\r\n /* Native HTML */\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 if (element.tagName.toLowerCase() === 'a') {\r\n this._renderer.setAttribute(element, 'tabindex', '-1');\r\n }\r\n }\r\n } else {\r\n if (element.hasAttribute('app-disabled')) {\r\n element.removeAttribute('disabled');\r\n element.removeAttribute('app-disabled');\r\n\r\n if (element.tagName.toLowerCase() === 'a') {\r\n element.removeAttribute('tabindex');\r\n }\r\n }\r\n }\r\n\r\n for (const child of Array.from(element.children)) {\r\n this.disableElement(child as HTMLElement);\r\n }\r\n }\r\n\r\n\r\n /* ---------------- helpers ---------------- */\r\n\r\n private isAlwaysEnabledElement(element: HTMLElement): boolean {\r\n return this.alwaysEnabled()\r\n ?.some(d => d.el.nativeElement === element) ?? false;\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAMa,sBAAsB,CAAA;AAJnC,IAAA,WAAA,GAAA;AAKW,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,EAAC,UAAuB,EAAC;AAC9C,IAAA;8GAFY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,oBAAoB;AAC9B,oBAAA,UAAU,EAAE;AACb,iBAAA;;;MCUY,gBAAgB,CAAA;AAJ7B,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,EAAC,UAAuB,EAAC;AAC7C,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAErC,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,KAAK,uDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;QAGnE,IAAA,CAAA,UAAU,GAAG,eAAe,CAAC,QAAQ,uDAAI,WAAW,EAAE,IAAI,EAAA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AA,CAAA,EAAA,CAAA,UAAA,CAAA,MAGjC,sBAAsB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AChC/E;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"limitng-directives-disable.directive.mjs","sources":["../../src/app/components/directives/disable.directive/always-enabled.directive.ts","../../src/app/components/directives/disable.directive/disable.directive.ts","../../src/app/components/directives/disable.directive/limitng-directives-disable.directive.ts"],"sourcesContent":["import { Directive, ElementRef, inject } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appAlwaysEnabled]',\r\n standalone: true\r\n})\r\nexport class AlwaysEnabledDirective {\r\n readonly el = inject(ElementRef<HTMLElement>);\r\n}\r\n","import { AfterContentInit, AfterViewInit, booleanAttribute, contentChildren, Directive, ElementRef, inject, input, OnChanges, Renderer2 } from '@angular/core';\r\n\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\nimport { AlwaysEnabledDirective } from './always-enabled.directive';\r\n\r\n@Directive({\r\n selector: '[appDisable]',\r\n standalone: true\r\n})\r\nexport class DisableDirective\r\n implements OnChanges, AfterViewInit, AfterContentInit {\r\n\r\n private readonly _elementRef = inject(ElementRef<HTMLElement>);\r\n private readonly _renderer = inject(Renderer2);\r\n\r\n readonly appDisable = input(false, { transform: booleanAttribute });\r\n\r\n /* PrimeNG CVA bileşenleri */\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\r\n /* Always Enabled marker */\r\n alwaysEnabled = contentChildren(AlwaysEnabledDirective, { descendants: true });\r\n\r\n /* ---------------- lifecycle ---------------- */\r\n\r\n ngOnChanges(): void {\r\n this.disableElement(this._elementRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.disableElement(this._elementRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n /* ---------------- PrimeNG ---------------- */\r\n\r\n private disableElementPrimeNG(): void {\r\n const groups = [\r\n this.checkboxes(),\r\n this.radioButtons(),\r\n this.selects(),\r\n this.selectbuttons(),\r\n this.toggleSwitches(),\r\n this.inputNumbers()\r\n ];\r\n\r\n for (const controls of groups) {\r\n if (!controls?.length) {\ncontinue;\n}\r\n\r\n for (const control of controls) {\r\n if (this.isAlwaysEnabledPrimeNg(control)) {\r\n control.setDisabledState(false);\r\n } else {\r\n control.setDisabledState(this.appDisable());\r\n }\r\n }\r\n }\r\n }\r\n\r\n private isAlwaysEnabledPrimeNg(control: any): boolean {\r\n const native = this.getNativeElement(control);\r\n return !!native && this.isAlwaysEnabledElement(native);\r\n }\r\n\r\n private getNativeElement(control: any): HTMLElement | null {\r\n return (\r\n control?.el?.nativeElement ||\r\n control?.input?.nativeElement ||\r\n control?._el?.nativeElement ||\r\n null\r\n );\r\n }\r\n\r\n /* ---------------- Native DOM ---------------- */\r\n\r\n private disableElement(element: HTMLElement): void {\r\n if (!element) {\nreturn;\n}\r\n\r\n if (this.isAlwaysEnabledElement(element)) {\nreturn;\n}\r\n\r\n const tag = element.localName;\r\n\r\n /* p-button özel */\r\n if (tag === 'p-button') {\r\n const child = element.children[0] as HTMLButtonElement | null;\r\n if (child) {\r\n child.disabled = this.appDisable();\r\n }\r\n return;\r\n }\r\n\r\n /* PrimeNG CVA component shell'leri → DOM'dan elleme */\r\n if (\r\n tag === 'p-checkbox' ||\r\n tag === 'p-radiobutton' ||\r\n tag === 'p-select' ||\r\n tag === 'p-selectbutton' ||\r\n tag === 'p-toggleswitch' ||\r\n tag === 'p-inputnumber'\r\n ) {\r\n return;\r\n }\r\n\r\n /* Native HTML */\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 if (element.tagName.toLowerCase() === 'a') {\r\n this._renderer.setAttribute(element, 'tabindex', '-1');\r\n }\r\n }\r\n } else {\r\n if (element.hasAttribute('app-disabled')) {\r\n element.removeAttribute('disabled');\r\n element.removeAttribute('app-disabled');\r\n\r\n if (element.tagName.toLowerCase() === 'a') {\r\n element.removeAttribute('tabindex');\r\n }\r\n }\r\n }\r\n\r\n for (const child of Array.from(element.children)) {\r\n this.disableElement(child as HTMLElement);\r\n }\r\n }\r\n\r\n\r\n /* ---------------- helpers ---------------- */\r\n\r\n private isAlwaysEnabledElement(element: HTMLElement): boolean {\r\n return this.alwaysEnabled()\r\n ?.some(d => d.el.nativeElement === element) ?? false;\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAMa,sBAAsB,CAAA;AAJnC,IAAA,WAAA,GAAA;AAKW,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,EAAC,UAAuB,EAAC;AAC9C,IAAA;8GAFY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,SAAS;AAAC,YAAA,IAAA,EAAA,C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A,EAAA,CAAA,UAAA,CAAA,MAClC,YAAY,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,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,aAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAGjC,sBAAsB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AChC/E;;AAEG;;;;"}
|
|
@@ -4,15 +4,15 @@ import { inject, ElementRef, input, numberAttribute, Directive } from '@angular/
|
|
|
4
4
|
class FlexBasisDirective {
|
|
5
5
|
constructor() {
|
|
6
6
|
this._elementRef = inject(ElementRef);
|
|
7
|
-
this.flexBasis = input(0, { ...(ngDevMode ? { debugName: "flexBasis" } : {}), transform: numberAttribute });
|
|
7
|
+
this.flexBasis = input(0, { ...(ngDevMode ? { debugName: "flexBasis" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
8
8
|
}
|
|
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: "21.2.
|
|
13
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: FlexBasisDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: FlexBasisDirective, isStandalone: true, selector: "[flexBasis]", inputs: { flexBasis: { classPropertyName: "flexBasis", publicName: "flexBasis", isSignal: true, isRequired: false, transformFunction: null } }, usesOnChanges: true, ngImport: i0 }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: FlexBasisDirective, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
selector: '[flexBasis]',
|
|
@@ -22,15 +22,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
22
22
|
class FlexBasisEmDirective {
|
|
23
23
|
constructor() {
|
|
24
24
|
this._elementRef = inject(ElementRef);
|
|
25
|
-
this.flexBasisEm = input(0, { ...(ngDevMode ? { debugName: "flexBasisEm" } : {}), transform: numberAttribute });
|
|
25
|
+
this.flexBasisEm = input(0, { ...(ngDevMode ? { debugName: "flexBasisEm" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
26
26
|
}
|
|
27
27
|
ngOnChanges() {
|
|
28
28
|
this._elementRef.nativeElement.style.flexBasis = this.flexBasisEm() + 'em';
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
31
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: FlexBasisEmDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: FlexBasisEmDirective, isStandalone: true, selector: "[flexBasisEm]", inputs: { flexBasisEm: { classPropertyName: "flexBasisEm", publicName: "flexBasisEm", isSignal: true, isRequired: false, transformFunction: null } }, usesOnChanges: true, ngImport: i0 }); }
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: FlexBasisEmDirective, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: '[flexBasisEm]',
|
|
@@ -40,15 +40,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
40
40
|
class FlexBasisPxDirective {
|
|
41
41
|
constructor() {
|
|
42
42
|
this._elementRef = inject(ElementRef);
|
|
43
|
-
this.flexBasisPx = input(0, { ...(ngDevMode ? { debugName: "flexBasisPx" } : {}), transform: numberAttribute });
|
|
43
|
+
this.flexBasisPx = input(0, { ...(ngDevMode ? { debugName: "flexBasisPx" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
44
44
|
}
|
|
45
45
|
ngOnChanges() {
|
|
46
46
|
this._elementRef.nativeElement.style.flexBasis = this.flexBasisPx() + 'px';
|
|
47
47
|
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
49
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: FlexBasisPxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
49
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: FlexBasisPxDirective, isStandalone: true, selector: "[flexBasisFBPx]", inputs: { flexBasisPx: { classPropertyName: "flexBasisPx", publicName: "flexBasisPx", isSignal: true, isRequired: false, transformFunction: null } }, usesOnChanges: true, ngImport: i0 }); }
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: FlexBasisPxDirective, decorators: [{
|
|
52
52
|
type: Directive,
|
|
53
53
|
args: [{
|
|
54
54
|
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 readonly flexBasis = input(0, { transform: numberAttribute });\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 readonly flexBasisEm = input(0, { transform: numberAttribute });\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 readonly flexBasisPx = input(0, { transform: numberAttribute });\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;QAExC,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,CAAC,
|
|
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 readonly flexBasis = input(0, { transform: numberAttribute });\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 readonly flexBasisEm = input(0, { transform: numberAttribute });\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 readonly flexBasisPx = input(0, { transform: numberAttribute });\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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