limitng 0.18.49 → 0.18.50
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/dikey-baslikli-panel/dikey-baslikli-panel.component.d.ts.map +1 -1
- package/directives/disable.directive/disable.directive.d.ts +5 -5
- package/directives/disable.directive/disable.directive.d.ts.map +1 -1
- package/esm2022/dikey-baslikli-panel/dikey-baslikli-panel.component.mjs +3 -4
- package/esm2022/dikey-baslikli-panel-sol/dikey-baslikli-panel-sol.component.mjs +4 -4
- package/esm2022/directives/disable.directive/disable.directive.mjs +12 -12
- package/esm2022/geri-ileri-detay/geri-ileri-detay.component.mjs +2 -2
- package/esm2022/geri-ileri-liste/geri-ileri-liste.component.mjs +2 -2
- package/esm2022/rapor-kart/rapor-kart.component.mjs +5 -5
- package/fesm2022/limitng-dikey-baslikli-panel-sol.mjs +3 -3
- package/fesm2022/limitng-dikey-baslikli-panel-sol.mjs.map +1 -1
- package/fesm2022/limitng-dikey-baslikli-panel.mjs +2 -3
- package/fesm2022/limitng-dikey-baslikli-panel.mjs.map +1 -1
- package/fesm2022/limitng-directives-disable.directive.mjs +11 -11
- package/fesm2022/limitng-directives-disable.directive.mjs.map +1 -1
- package/fesm2022/limitng-directives.mjs +11 -11
- package/fesm2022/limitng-directives.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-detay.mjs +1 -1
- package/fesm2022/limitng-geri-ileri-detay.mjs.map +1 -1
- package/fesm2022/limitng-geri-ileri-liste.mjs +1 -1
- package/fesm2022/limitng-geri-ileri-liste.mjs.map +1 -1
- package/fesm2022/limitng-rapor-kart.mjs +4 -4
- package/fesm2022/limitng-rapor-kart.mjs.map +1 -1
- package/package.json +103 -103
- package/rapor-kart/rapor-kart.component.d.ts +2 -2
- package/rapor-kart/rapor-kart.component.d.ts.map +1 -1
- package/assets/images/Download_Hover.svg +0 -71
- package/assets/images/Download_Normal.svg +0 -71
- package/assets/images/Download_Pressed.svg +0 -130
- package/assets/images/Outlook_Hover.svg +0 -102
- package/assets/images/Outlook_Normal.svg +0 -56
- package/assets/images/Outlook_Pressed.svg +0 -102
|
@@ -6,16 +6,16 @@ class DikeyBaslikliPanelSolComponent {
|
|
|
6
6
|
this.baslik = input.required();
|
|
7
7
|
this.renk = input('skyblue');
|
|
8
8
|
this.baslikFontSize = input(1.5, { transform: numberAttribute });
|
|
9
|
-
this.baslikGenislik = input(
|
|
9
|
+
this.baslikGenislik = input(3, { transform: numberAttribute });
|
|
10
10
|
}
|
|
11
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: DikeyBaslikliPanelSolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.3", 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=\"dikey-baslikli-panel-blok\" [style.backgroundColor]=\"renk()\"
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.3", 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
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", 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
|
-
}, template: "<div class=\"dikey-baslikli-panel-blok\" [style.backgroundColor]=\"renk()\"
|
|
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
|
}] });
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -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(
|
|
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,EAAU,CAAC;AAClC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;QAExB,IAAc,CAAA,cAAA,GAAG,KAAK,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC,CAAC;QAC5D,IAAc,CAAA,cAAA,GAAG,KAAK,CAAC,CAAC,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC,CAAC;AAE3D,KAAA;8GAPY,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;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,EAAA;;2FDVa,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAV1C,SAAS;+BACE,0BAA0B,EAAA,UAAA,EACxB,IAAI,EAGV,IAAA,EAAA;AACJ,wBAAA,OAAO,EAAE,qBAAqB;AAC/B,qBAAA,EAAA,QAAA,EAAA,mzBAAA,EAAA,MAAA,EAAA,CAAA,+YAAA,CAAA,EAAA,CAAA;;;AETH;;AAEG;;;;"}
|
|
@@ -6,17 +6,16 @@ class DikeyBaslikliPanelComponent {
|
|
|
6
6
|
this.baslik = input.required();
|
|
7
7
|
this.renk = input('skyblue');
|
|
8
8
|
this.baslikFontSize = input(1.5, { transform: numberAttribute });
|
|
9
|
-
//baslikGenislik = input(2, { transform: numberAttribute });
|
|
10
9
|
this.baslikGenislik = input(3, { transform: numberAttribute });
|
|
11
10
|
}
|
|
12
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: DikeyBaslikliPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.3", 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\">\r\n <div class=\"flex flex-
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.3", 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=\"flex flex-wrap mb-2\">\r\n <ng-content />\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\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-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"] }); }
|
|
14
13
|
}
|
|
15
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: DikeyBaslikliPanelComponent, decorators: [{
|
|
16
15
|
type: Component,
|
|
17
16
|
args: [{ selector: 'dikey-baslikli-panel', standalone: true, host: {
|
|
18
17
|
'class': 'flex flex-wrap mb-2'
|
|
19
|
-
}, template: "<div class=\"flex flex-auto\">\r\n <div class=\"flex flex-
|
|
18
|
+
}, template: "<div class=\"flex flex-auto justify-between\">\r\n <div class=\"flex flex-wrap mb-2\">\r\n <ng-content />\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\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-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"] }]
|
|
20
19
|
}] });
|
|
21
20
|
|
|
22
21
|
/**
|
|
@@ -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
|
|
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=\"flex flex-wrap mb-2\">\r\n <ng-content />\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\r\n</div>\r\n","/**\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,EAAU,CAAC;AAClC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;QAExB,IAAc,CAAA,cAAA,GAAG,KAAK,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC,CAAC;QAC5D,IAAc,CAAA,cAAA,GAAG,KAAK,CAAC,CAAC,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC,CAAC;AAE3D,KAAA;8GAPY,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,kqBCZxC,81BAuBA,EAAA,MAAA,EAAA,CAAA,wXAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FDXa,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAVvC,SAAS;+BACE,sBAAsB,EAAA,UAAA,EACpB,IAAI,EAGV,IAAA,EAAA;AACJ,wBAAA,OAAO,EAAE,qBAAqB;AAC/B,qBAAA,EAAA,QAAA,EAAA,81BAAA,EAAA,MAAA,EAAA,CAAA,wXAAA,CAAA,EAAA,CAAA;;;AETH;;AAEG;;;;"}
|
|
@@ -2,11 +2,11 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { inject, ElementRef, Renderer2, contentChildren, booleanAttribute, Directive, Input } from '@angular/core';
|
|
3
3
|
import { Button } from 'primeng/button';
|
|
4
4
|
import { Checkbox } from 'primeng/checkbox';
|
|
5
|
-
import { Dropdown } from 'primeng/dropdown';
|
|
6
5
|
import { InputNumber } from 'primeng/inputnumber';
|
|
7
|
-
import { InputSwitch } from 'primeng/inputswitch';
|
|
8
6
|
import { RadioButton } from 'primeng/radiobutton';
|
|
7
|
+
import { Select } from 'primeng/select';
|
|
9
8
|
import { SelectButton } from 'primeng/selectbutton';
|
|
9
|
+
import { ToggleSwitch } from 'primeng/toggleswitch';
|
|
10
10
|
|
|
11
11
|
const DISABLED = 'disabled';
|
|
12
12
|
const APP_DISABLED = 'app-disabled';
|
|
@@ -19,9 +19,9 @@ class DisableDirective {
|
|
|
19
19
|
this.appDisable = false;
|
|
20
20
|
this.checkboxes = contentChildren(Checkbox, { descendants: true });
|
|
21
21
|
this.radioButtons = contentChildren(RadioButton, { descendants: true });
|
|
22
|
-
this.
|
|
22
|
+
this.selects = contentChildren(Select, { descendants: true });
|
|
23
23
|
this.selectbuttons = contentChildren(SelectButton, { descendants: true });
|
|
24
|
-
this.
|
|
24
|
+
this.toggleSwitches = contentChildren(ToggleSwitch, { descendants: true });
|
|
25
25
|
this.inputNumbers = contentChildren(InputNumber, { descendants: true });
|
|
26
26
|
this.buttons = contentChildren(Button, { descendants: true });
|
|
27
27
|
}
|
|
@@ -40,9 +40,9 @@ class DisableDirective {
|
|
|
40
40
|
radiobutton.setDisabledState(this.appDisable);
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
if (this.
|
|
44
|
-
this.
|
|
45
|
-
|
|
43
|
+
if (this.selects()) {
|
|
44
|
+
this.selects().forEach(select => {
|
|
45
|
+
select.setDisabledState(this.appDisable);
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
if (this.selectbuttons()) {
|
|
@@ -50,9 +50,9 @@ class DisableDirective {
|
|
|
50
50
|
selectbutton.setDisabledState(this.appDisable);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
if (this.
|
|
54
|
-
this.
|
|
55
|
-
|
|
53
|
+
if (this.toggleSwitches()) {
|
|
54
|
+
this.toggleSwitches().forEach(toggleSwitch => {
|
|
55
|
+
toggleSwitch.setDisabledState(this.appDisable);
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
if (this.inputNumbers) {
|
|
@@ -114,7 +114,7 @@ class DisableDirective {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: DisableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
117
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "18.2.3", 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: "
|
|
117
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "18.2.3", 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
119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: DisableDirective, decorators: [{
|
|
120
120
|
type: Directive,
|
|
@@ -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 {
|
|
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 eleRef = inject(ElementRef);\r\n private 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.eleRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n\r\n }\r\n disableElementPrimeNG() {\r\n if (this.checkboxes()) {\r\n this.checkboxes().forEach(checkbox => {\r\n checkbox.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.radioButtons()) {\r\n this.radioButtons().forEach(radiobutton => {\r\n radiobutton.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.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.eleRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n private disableElement(element: any) {\r\n\r\n if ((element.localName === 'p-button') || (element.localName === 'p-inputtextarea')) {\r\n if (!element.hasAttribute(\"data-alwaysEnabled\")) {\r\n element.children[0].disabled = this.appDisable\r\n }\r\n }\r\n // eslint-disable-next-line no-dupe-else-if\r\n else if ((element.localName === 'p-dropdown') || (element.localName === 'p-checkbox') || (element.localName === 'p-radiobutton') || (element.localName === 'p-inputtext')) {\r\n }\r\n else {\r\n\r\n if (this.appDisable) {\r\n if (!element.hasAttribute(DISABLED)) {\r\n this.renderer.setAttribute(element, APP_DISABLED, '');\r\n this.renderer.setAttribute(element, DISABLED, 'true');\r\n\r\n // disabling anchor tab keyboard event\r\n if (element.tagName.toLowerCase() === TAG_ANCHOR) {\r\n this.renderer.setAttribute(element, TAB_INDEX, '-1');\r\n }\r\n }\r\n } else {\r\n if (element.hasAttribute(APP_DISABLED)) {\r\n if (element.getAttribute('disabled') !== '') {\r\n element.removeAttribute(DISABLED);\r\n }\r\n element.removeAttribute(APP_DISABLED);\r\n if (element.tagName.toLowerCase() === TAG_ANCHOR) {\r\n element.removeAttribute(TAB_INDEX);\r\n }\r\n }\r\n }\r\n if (element.children) {\r\n for (const child of element.children) {\r\n this.disableElement(child);\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\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eAAA,EAAA,SAAA,EACA,YAAY,EACX,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,SAAA,EAAA,YAAY,EACd,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,SAAA,EAAA,WAAW,6EAChB,MAAM,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAXrB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;8BAKyC,UAAU,EAAA,CAAA;sBAAjD,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAA;;;ACvBxC;;AAEG;;;;"}
|
|
@@ -4,11 +4,11 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
4
4
|
import { GlobalFunctions } from 'limitng/api';
|
|
5
5
|
import { Button } from 'primeng/button';
|
|
6
6
|
import { Checkbox } from 'primeng/checkbox';
|
|
7
|
-
import { Dropdown } from 'primeng/dropdown';
|
|
8
7
|
import { InputNumber } from 'primeng/inputnumber';
|
|
9
|
-
import { InputSwitch } from 'primeng/inputswitch';
|
|
10
8
|
import { RadioButton } from 'primeng/radiobutton';
|
|
9
|
+
import { Select } from 'primeng/select';
|
|
11
10
|
import { SelectButton } from 'primeng/selectbutton';
|
|
11
|
+
import { ToggleSwitch } from 'primeng/toggleswitch';
|
|
12
12
|
|
|
13
13
|
class AdAlaniDirective {
|
|
14
14
|
constructor() {
|
|
@@ -306,9 +306,9 @@ class DisableDirective {
|
|
|
306
306
|
this.appDisable = false;
|
|
307
307
|
this.checkboxes = contentChildren(Checkbox, { descendants: true });
|
|
308
308
|
this.radioButtons = contentChildren(RadioButton, { descendants: true });
|
|
309
|
-
this.
|
|
309
|
+
this.selects = contentChildren(Select, { descendants: true });
|
|
310
310
|
this.selectbuttons = contentChildren(SelectButton, { descendants: true });
|
|
311
|
-
this.
|
|
311
|
+
this.toggleSwitches = contentChildren(ToggleSwitch, { descendants: true });
|
|
312
312
|
this.inputNumbers = contentChildren(InputNumber, { descendants: true });
|
|
313
313
|
this.buttons = contentChildren(Button, { descendants: true });
|
|
314
314
|
}
|
|
@@ -327,9 +327,9 @@ class DisableDirective {
|
|
|
327
327
|
radiobutton.setDisabledState(this.appDisable);
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
|
-
if (this.
|
|
331
|
-
this.
|
|
332
|
-
|
|
330
|
+
if (this.selects()) {
|
|
331
|
+
this.selects().forEach(select => {
|
|
332
|
+
select.setDisabledState(this.appDisable);
|
|
333
333
|
});
|
|
334
334
|
}
|
|
335
335
|
if (this.selectbuttons()) {
|
|
@@ -337,9 +337,9 @@ class DisableDirective {
|
|
|
337
337
|
selectbutton.setDisabledState(this.appDisable);
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
|
-
if (this.
|
|
341
|
-
this.
|
|
342
|
-
|
|
340
|
+
if (this.toggleSwitches()) {
|
|
341
|
+
this.toggleSwitches().forEach(toggleSwitch => {
|
|
342
|
+
toggleSwitch.setDisabledState(this.appDisable);
|
|
343
343
|
});
|
|
344
344
|
}
|
|
345
345
|
if (this.inputNumbers) {
|
|
@@ -401,7 +401,7 @@ class DisableDirective {
|
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: DisableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
404
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "18.2.3", 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: "
|
|
404
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "18.2.3", 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 }); }
|
|
405
405
|
}
|
|
406
406
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: DisableDirective, decorators: [{
|
|
407
407
|
type: Directive,
|