aril 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +26 -0
  2. package/esm2022/aril.mjs +5 -0
  3. package/esm2022/http/aril-http.mjs +5 -0
  4. package/esm2022/http/index.mjs +4 -0
  5. package/esm2022/http/lib/enums.mjs +22 -0
  6. package/esm2022/http/lib/interfaces.mjs +35 -0
  7. package/esm2022/http/src/httpClient.mjs +11 -0
  8. package/esm2022/http/src/serviceBase.mjs +79 -0
  9. package/esm2022/http/src/serviceStateMethods.mjs +26 -0
  10. package/esm2022/public-api.mjs +2 -0
  11. package/esm2022/ui/aril-ui.mjs +5 -0
  12. package/esm2022/ui/button/aril-ui-button.mjs +5 -0
  13. package/esm2022/ui/button/index.mjs +2 -0
  14. package/esm2022/ui/button/src/button.component.mjs +11 -0
  15. package/esm2022/ui/calendar/aril-ui-calendar.mjs +5 -0
  16. package/esm2022/ui/calendar/index.mjs +2 -0
  17. package/esm2022/ui/calendar/src/calendar.component.mjs +11 -0
  18. package/esm2022/ui/checkbox/aril-ui-checkbox.mjs +5 -0
  19. package/esm2022/ui/checkbox/index.mjs +2 -0
  20. package/esm2022/ui/checkbox/src/checkbox.component.mjs +11 -0
  21. package/esm2022/ui/index.mjs +2 -0
  22. package/esm2022/ui/lib/aril-ui-lib.mjs +5 -0
  23. package/esm2022/ui/lib/index.mjs +5 -0
  24. package/esm2022/ui/lib/src/form/form-field-builder.mjs +23 -0
  25. package/esm2022/ui/lib/src/form/form-validation.mjs +14 -0
  26. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +49 -0
  27. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +25 -0
  28. package/esm2022/util/aril-util.mjs +5 -0
  29. package/esm2022/util/index.mjs +2 -0
  30. package/esm2022/util/init-event/aril-util-init-event.mjs +5 -0
  31. package/esm2022/util/init-event/index.mjs +2 -0
  32. package/esm2022/util/init-event/src/init-event.directive.mjs +22 -0
  33. package/esm2022/util/lib/aril-util-lib.mjs +5 -0
  34. package/esm2022/util/lib/index.mjs +3 -0
  35. package/esm2022/util/lib/src/interfaces.mjs +2 -0
  36. package/esm2022/util/lib/src/types.mjs +2 -0
  37. package/esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs +5 -0
  38. package/esm2022/util/primitive-extensions/index.mjs +5 -0
  39. package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +2 -0
  40. package/esm2022/util/primitive-extensions/src/date.extensions.mjs +95 -0
  41. package/esm2022/util/primitive-extensions/src/number.extensions.mjs +33 -0
  42. package/esm2022/util/primitive-extensions/src/string.extensions.mjs +17 -0
  43. package/esm2022/util/pub-sub/aril-util-pub-sub.mjs +5 -0
  44. package/esm2022/util/pub-sub/index.mjs +2 -0
  45. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +27 -0
  46. package/fesm2022/aril-http.mjs +174 -0
  47. package/fesm2022/aril-http.mjs.map +1 -0
  48. package/fesm2022/aril-ui-button.mjs +18 -0
  49. package/fesm2022/aril-ui-button.mjs.map +1 -0
  50. package/fesm2022/aril-ui-calendar.mjs +18 -0
  51. package/fesm2022/aril-ui-calendar.mjs.map +1 -0
  52. package/fesm2022/aril-ui-checkbox.mjs +18 -0
  53. package/fesm2022/aril-ui-checkbox.mjs.map +1 -0
  54. package/fesm2022/aril-ui-lib.mjs +115 -0
  55. package/fesm2022/aril-ui-lib.mjs.map +1 -0
  56. package/fesm2022/aril-ui.mjs +8 -0
  57. package/fesm2022/aril-ui.mjs.map +1 -0
  58. package/fesm2022/aril-util-init-event.mjs +29 -0
  59. package/fesm2022/aril-util-init-event.mjs.map +1 -0
  60. package/fesm2022/aril-util-lib.mjs +4 -0
  61. package/fesm2022/aril-util-lib.mjs.map +1 -0
  62. package/fesm2022/aril-util-primitive-extensions.mjs +146 -0
  63. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -0
  64. package/fesm2022/aril-util-pub-sub.mjs +34 -0
  65. package/fesm2022/aril-util-pub-sub.mjs.map +1 -0
  66. package/fesm2022/aril-util.mjs +8 -0
  67. package/fesm2022/aril-util.mjs.map +1 -0
  68. package/fesm2022/aril.mjs +8 -0
  69. package/fesm2022/aril.mjs.map +1 -0
  70. package/http/index.d.ts +3 -0
  71. package/http/lib/enums.d.ts +17 -0
  72. package/http/lib/interfaces.d.ts +41 -0
  73. package/http/src/httpClient.d.ts +10 -0
  74. package/http/src/serviceBase.d.ts +2 -0
  75. package/http/src/serviceStateMethods.d.ts +4 -0
  76. package/index.d.ts +5 -0
  77. package/package.json +91 -0
  78. package/public-api.d.ts +1 -0
  79. package/ui/button/index.d.ts +1 -0
  80. package/ui/button/src/button.component.d.ts +5 -0
  81. package/ui/calendar/index.d.ts +1 -0
  82. package/ui/calendar/src/calendar.component.d.ts +5 -0
  83. package/ui/checkbox/index.d.ts +1 -0
  84. package/ui/checkbox/src/checkbox.component.d.ts +5 -0
  85. package/ui/index.d.ts +1 -0
  86. package/ui/lib/index.d.ts +4 -0
  87. package/ui/lib/src/form/form-field-builder.d.ts +7 -0
  88. package/ui/lib/src/form/form-validation.d.ts +2 -0
  89. package/ui/lib/src/input/common-input-validators.service.d.ts +19 -0
  90. package/ui/lib/src/input/input-disabled.directive.d.ts +9 -0
  91. package/util/index.d.ts +1 -0
  92. package/util/init-event/index.d.ts +1 -0
  93. package/util/init-event/src/init-event.directive.d.ts +8 -0
  94. package/util/lib/index.d.ts +2 -0
  95. package/util/lib/src/interfaces.d.ts +38 -0
  96. package/util/lib/src/types.d.ts +22 -0
  97. package/util/primitive-extensions/index.d.ts +4 -0
  98. package/util/primitive-extensions/src/boolean.extensions.d.ts +1 -0
  99. package/util/primitive-extensions/src/date.extensions.d.ts +8 -0
  100. package/util/primitive-extensions/src/number.extensions.d.ts +12 -0
  101. package/util/primitive-extensions/src/string.extensions.d.ts +10 -0
  102. package/util/pub-sub/index.d.ts +1 -0
  103. package/util/pub-sub/src/pub-sub.service.d.ts +21 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-lib.mjs","sources":["../../projects/aril/ui/lib/src/input/input-disabled.directive.ts","../../projects/aril/ui/lib/src/input/common-input-validators.service.ts","../../projects/aril/ui/lib/src/form/form-validation.ts","../../projects/aril/ui/lib/src/form/form-field-builder.ts","../../projects/aril/ui/lib/aril-ui-lib.ts"],"sourcesContent":["import { Directive, Input } from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\n\r\n@Directive({\r\n standalone: true,\r\n selector: '[arilDisabled]'\r\n})\r\nexport class InputDisabledDirective {\r\n constructor(private ngControl: NgControl) { }\r\n\r\n @Input() set arilDisabled(condition: boolean) {\r\n const action = condition ? 'disable' : 'enable';\r\n if (this.ngControl.control) this.ngControl.control[action]();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\r\nimport \"aril/util/primitive-extensions\";\r\n\r\nexport type DateRangeFormat = \"minute\" | \"hour\" | \"day\" | \"month\" | \"year\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CommonInputValidatorsService {\r\n\r\n /**\r\n * @param sdCtrlName - name of the start date form control\r\n * @param edCtrlName - name of the end date form control\r\n * @param rangeValue - range between start and end date. Default value is 1\r\n * @param rangeFormat - format of the range. Default value is \"day\"\r\n */\r\n dateRange(sdCtrlName: string, edCtrlName: string, rangeValue = 0, rangeFormat: DateRangeFormat = \"day\"): ValidatorFn {\r\n return (control: AbstractControl): ValidationErrors | null => {\r\n const start: number = control.get(sdCtrlName)?.value;\r\n const end: number = control.get(edCtrlName)?.value;\r\n\r\n const startJSDate = start.longToDate();\r\n const endJSDate = end.longToDate();\r\n\r\n if (startJSDate && endJSDate) {\r\n const isRangeValid = (endJSDate.getTime() - startJSDate.getTime() > rangeValue);\r\n\r\n return isRangeValid ? null : { dateRange: `The end date must be at least ${rangeValue} ${rangeFormat} bigger than the start date` };\r\n }\r\n\r\n return null;\r\n }\r\n }\r\n\r\n /**\r\n * @description - pasword match vs.\r\n */\r\n strictMatch(controlName: string, matchingControlName: string): ValidatorFn {\r\n return (control: AbstractControl): ValidationErrors | null => {\r\n const firstField = control.get(controlName);\r\n const secondField = control.get(matchingControlName);\r\n\r\n if (!firstField || !secondField) {\r\n return null;\r\n }\r\n\r\n if (firstField.value !== secondField.value) {\r\n return { strictMatch: `${controlName} and ${matchingControlName} do not match` };\r\n }\r\n\r\n return null;\r\n }\r\n }\r\n}\r\n","import { FormArray, FormControl, FormGroup } from \"@angular/forms\";\r\n\r\nexport const checkValidInputs = (formGroup: FormGroup | FormArray) => {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n control.markAsDirty({ onlySelf: true });\r\n } else if (control instanceof FormGroup || control instanceof FormArray) {\r\n checkValidInputs(control);\r\n }\r\n });\r\n}","import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';\r\n\r\nexport const addControlsWithValidation = (form: FormGroup, controls: { name: string, validator?: ValidatorFn }[]) => {\r\n controls.forEach(control => {\r\n if (!form.contains(control.name)) {\r\n form.addControl(control.name, new FormControl('', control.validator));\r\n }\r\n });\r\n}\r\n\r\nexport const removeControls = (form: FormGroup, controlNames: string[]) => {\r\n controlNames.forEach(controlName => {\r\n if (form.contains(controlName)) {\r\n form.removeControl(controlName);\r\n }\r\n });\r\n}\r\n\r\nexport const updateValueAndValidities = (form: FormGroup, controlNames: string[]) => {\r\n controlNames.forEach(controlName => {\r\n if (form.contains(controlName)) {\r\n form.get(controlName)?.updateValueAndValidity();\r\n }\r\n });\r\n\r\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAOa,sBAAsB,CAAA;AACjC,IAAA,WAAA,CAAoB,SAAoB,EAAA;QAApB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;KAAK;IAE7C,IAAa,YAAY,CAAC,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I;AAClF,IAAA,YAAY,CAAC,OAAO,CAAC,WAAW,IAAG;AACjC,QAAA,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;YAC9B,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,sBAAsB,EAAE,CAAC;SACjD;AACH,KAAC,CAAC,CAAC;AAEL;;ACzBA;;AAEG;;;;"}
@@ -0,0 +1,8 @@
1
+ const aril_ui = "ARiL-UI";
2
+
3
+ /**
4
+ * Generated bundle index. Do not edit.
5
+ */
6
+
7
+ export { aril_ui };
8
+ //# sourceMappingURL=aril-ui.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui.mjs","sources":["../../projects/aril/ui/index.ts","../../projects/aril/ui/aril-ui.ts"],"sourcesContent":["export const aril_ui = \"ARiL-UI\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,OAAO,GAAG;;ACAvB;;AAEG;;;;"}
@@ -0,0 +1,29 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Directive, Output } from '@angular/core';
3
+
4
+ class InitEventDirective {
5
+ constructor() {
6
+ this.arilUtilInit = new EventEmitter();
7
+ }
8
+ ngOnInit() {
9
+ this.arilUtilInit.emit();
10
+ }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: InitEventDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
12
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: InitEventDirective, isStandalone: true, selector: "[arilUtilInit]", outputs: { arilUtilInit: "arilUtilInit" }, ngImport: i0 }); }
13
+ }
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: InitEventDirective, decorators: [{
15
+ type: Directive,
16
+ args: [{
17
+ standalone: true,
18
+ selector: '[arilUtilInit]'
19
+ }]
20
+ }], propDecorators: { arilUtilInit: [{
21
+ type: Output
22
+ }] } });
23
+
24
+ /**
25
+ * Generated bundle index. Do not edit.
26
+ */
27
+
28
+ export { InitEventDirective };
29
+ //# sourceMappingURL=aril-util-init-event.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-util-init-event.mjs","sources":["../../projects/aril/util/init-event/src/init-event.directive.ts","../../projects/aril/util/init-event/aril-util-init-event.ts"],"sourcesContent":["import { Directive, EventEmitter, Output } from '@angular/core';\r\n\r\n@Directive({\r\n standalone: true,\r\n selector: '[arilUtilInit]'\r\n})\r\nexport class InitEventDirective {\r\n\r\n @Output() arilUtilInit: EventEmitter<never> = new EventEmitter<never>();\r\n\r\n ngOnInit() {\r\n this.arilUtilInit.emit();\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,kBAAkB,CAAA;AAJ/B,IAAA,WAAA,GAAA;AAMY,QAAA,IAAA,CAAA,YAAY,GAAwB,IAAI,YAAY,EAAS,CAAC;AAKzE,KAAA;IAHC,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KAC1B;8GANU,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,OAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gBAAgB;AAC3B,iBAAA,CAAA;8BAGW,YAAY,EAAA,CAAA;sBAArB,MAAM;;;ACRT;;AAEG;;;;"}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ //# sourceMappingURL=aril-util-lib.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-util-lib.mjs","sources":["../../projects/aril/util/lib/aril-util-lib.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
@@ -0,0 +1,146 @@
1
+ Date.prototype.safeBool = function () {
2
+ return !!this;
3
+ };
4
+ Date.prototype.dateToString = function (format) {
5
+ if (!this || !this.getTime || isNaN(this.getTime()))
6
+ return undefined;
7
+ switch (format) {
8
+ case "hour":
9
+ format = "hh:mm";
10
+ break;
11
+ case "time":
12
+ format = "dd/MMMM/yyyy hh:mm";
13
+ break;
14
+ case "second":
15
+ format = "dd/MMMM/yyyy hh:mm:ss";
16
+ break;
17
+ case "minute":
18
+ format = "dd/MMMM/yyyy hh:mm";
19
+ break;
20
+ case "day":
21
+ format = "dd/MMMM/yyyy";
22
+ break;
23
+ case "onlyDay":
24
+ format = "dd";
25
+ break;
26
+ case "month":
27
+ format = "MMMM/yyyy";
28
+ break;
29
+ case "monthInt":
30
+ format = "MM/yyyy";
31
+ break;
32
+ case "onlyMonth":
33
+ format = "MMMM";
34
+ break;
35
+ case "year":
36
+ format = "yyyy";
37
+ break;
38
+ default:
39
+ format = format ? format : "dd/MMMM/yyyy";
40
+ break;
41
+ }
42
+ const months = ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"];
43
+ const year = this.getFullYear().toString();
44
+ const month = this.getMonth() >= 9 ? (this.getMonth() + 1).toString() : ("0" + (this.getMonth() + 1).toString());
45
+ const monthText = months[this.getMonth()];
46
+ const day = this.getDate() > 9 ? this.getDate().toString() : ("0" + this.getDate().toString());
47
+ const hour = this.getHours() > 9 ? this.getHours().toString() : ("0" + this.getHours().toString());
48
+ const minute = this.getMinutes() > 9 ? this.getMinutes().toString() : ("0" + this.getMinutes().toString());
49
+ const second = this.getSeconds() > 9 ? this.getSeconds().toString() : ("0" + this.getSeconds().toString());
50
+ const dictionary = { "dd": day, "hh": hour, "mm": minute, "ss": second, "yyyy": year, "MMMM": monthText, "MM": month };
51
+ let result = format;
52
+ for (const i in dictionary) {
53
+ result = result.replace(i, dictionary[i]);
54
+ }
55
+ return result;
56
+ };
57
+ Date.prototype.dateToLong = function (zoomLevel) {
58
+ if (!this || !this.getFullYear)
59
+ return undefined;
60
+ const year = this.getFullYear().toString();
61
+ const month = this.getMonth() >= 9 ? (this.getMonth() + 1).toString() : ("0" + (this.getMonth() + 1).toString());
62
+ const day = this.getDate() > 9 ? this.getDate().toString() : ("0" + this.getDate().toString());
63
+ const hour = this.getHours() > 9 ? this.getHours().toString() : ("0" + this.getHours().toString());
64
+ const minute = this.getMinutes() > 9 ? this.getMinutes().toString() : ("0" + this.getMinutes().toString());
65
+ const second = this.getSeconds() > 9 ? this.getSeconds().toString() : ("0" + this.getSeconds().toString());
66
+ let result;
67
+ if (!zoomLevel)
68
+ zoomLevel = "day";
69
+ switch (zoomLevel) {
70
+ case "time":
71
+ result = year + month + day + hour + minute + second;
72
+ break;
73
+ case "minute":
74
+ result = year + month + day + hour + minute + "00";
75
+ break;
76
+ case "hour":
77
+ result = year + month + day + hour + "0000";
78
+ break;
79
+ case "day":
80
+ result = year + month + day + "000000";
81
+ break;
82
+ case "month":
83
+ result = year + month + "01000000";
84
+ break;
85
+ case "year":
86
+ result = year + "0101000000";
87
+ break;
88
+ default:
89
+ result = year + month + day + "000000";
90
+ break;
91
+ }
92
+ return result;
93
+ };
94
+
95
+ Number.prototype.safeBool = function () {
96
+ return !!this;
97
+ };
98
+ Number.prototype.isNull = function () { return this === null; };
99
+ Number.prototype.isUndefined = function () { return this === undefined; };
100
+ Number.prototype.isNullOrUndefined = function () { return this.isNull() || this.isUndefined(); };
101
+ Number.prototype.longToDate = function () {
102
+ if (!this || this.toString() == "0")
103
+ return undefined;
104
+ const str = this.toString();
105
+ const year = str.substring(0, 4);
106
+ const month = str.substring(4, 6);
107
+ const day = str.substring(6, 8);
108
+ const hour = str.substring(8, 10);
109
+ const min = str.substring(10, 12);
110
+ const sn = str.substring(12, 14);
111
+ return new Date(year + "-" + month + "-" + day + " " + hour + ":" + min + ":" + sn);
112
+ };
113
+ Number.prototype.longToString = function (format) {
114
+ if (!this || this.toString() == "0")
115
+ return undefined;
116
+ return this.longToDate()?.dateToString(format);
117
+ };
118
+ Number.prototype.decimalToString = function (format) {
119
+ if (!this && this !== 0)
120
+ return undefined;
121
+ if (!format)
122
+ return this.toString();
123
+ const count = (format.match(/#/g) || []).length;
124
+ return Number(parseFloat(this.toString()).toFixed(count)).toString();
125
+ };
126
+
127
+ String.prototype.safeBool = function () {
128
+ return !!this;
129
+ };
130
+ String.prototype.escapeRegExp = function () {
131
+ return this.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
132
+ };
133
+ String.prototype.toCamelCase = function () {
134
+ return this.replace(/(?:^\w|[A-Z]|-|\b\w)/g, (character, index) => index === 0 ? character.toLocaleLowerCase() : character.toLocaleUpperCase());
135
+ };
136
+ String.prototype.toPascalCase = function () {
137
+ return this.replace(/(?:^\w|[A-Z]|-|\b\w)/g, firstCharacter => firstCharacter.toLocaleUpperCase());
138
+ };
139
+ String.prototype.toCapitalizeFirstLetter = function () {
140
+ return this.charAt(0).toLocaleUpperCase() + this.slice(1);
141
+ };
142
+
143
+ /**
144
+ * Generated bundle index. Do not edit.
145
+ */
146
+ //# sourceMappingURL=aril-util-primitive-extensions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-util-primitive-extensions.mjs","sources":["../../projects/aril/util/primitive-extensions/src/date.extensions.ts","../../projects/aril/util/primitive-extensions/src/number.extensions.ts","../../projects/aril/util/primitive-extensions/src/string.extensions.ts","../../projects/aril/util/primitive-extensions/aril-util-primitive-extensions.ts"],"sourcesContent":["declare global {\r\n interface Date {\r\n safeBool(): boolean;\r\n dateToString(format?: string): string | undefined;\r\n dateToLong(zoomLevel?: string): string | undefined;\r\n }\r\n}\r\n\r\nDate.prototype.safeBool = function (): boolean {\r\n return !!this\r\n}\r\n\r\nDate.prototype.dateToString = function (format?: string): string | undefined {\r\n if (!this || !this.getTime || isNaN(this.getTime())) return undefined;\r\n switch (format) {\r\n case \"hour\": format = \"hh:mm\"; break;\r\n case \"time\": format = \"dd/MMMM/yyyy hh:mm\"; break;\r\n case \"second\": format = \"dd/MMMM/yyyy hh:mm:ss\"; break;\r\n case \"minute\": format = \"dd/MMMM/yyyy hh:mm\"; break;\r\n case \"day\": format = \"dd/MMMM/yyyy\"; break;\r\n case \"onlyDay\": format = \"dd\"; break;\r\n case \"month\": format = \"MMMM/yyyy\"; break;\r\n case \"monthInt\": format = \"MM/yyyy\"; break;\r\n case \"onlyMonth\": format = \"MMMM\"; break;\r\n case \"year\": format = \"yyyy\"; break;\r\n default: format = format ? format : \"dd/MMMM/yyyy\"; break;\r\n }\r\n\r\n const months = [\"Ocak\", \"Şubat\", \"Mart\", \"Nisan\", \"Mayıs\", \"Haziran\", \"Temmuz\", \"Ağustos\", \"Eylül\", \"Ekim\", \"Kasım\", \"Aralık\"];\r\n\r\n const year = this.getFullYear().toString();\r\n const month = this.getMonth() >= 9 ? (this.getMonth() + 1).toString() : (\"0\" + (this.getMonth() + 1).toString());\r\n const monthText = months[this.getMonth()];\r\n const day = this.getDate() > 9 ? this.getDate().toString() : (\"0\" + this.getDate().toString());\r\n const hour = this.getHours() > 9 ? this.getHours().toString() : (\"0\" + this.getHours().toString());\r\n const minute = this.getMinutes() > 9 ? this.getMinutes().toString() : (\"0\" + this.getMinutes().toString());\r\n const second = this.getSeconds() > 9 ? this.getSeconds().toString() : (\"0\" + this.getSeconds().toString());\r\n\r\n const dictionary: { [key: string]: string } = { \"dd\": day, \"hh\": hour, \"mm\": minute, \"ss\": second, \"yyyy\": year, \"MMMM\": monthText, \"MM\": month };\r\n\r\n let result = format;\r\n for (const i in dictionary) {\r\n result = result.replace(i, dictionary[i]);\r\n }\r\n return result;\r\n}\r\n\r\nDate.prototype.dateToLong = function (zoomLevel?: string): string | undefined {\r\n if (!this || !this.getFullYear) return undefined;\r\n\r\n const year = this.getFullYear().toString();\r\n const month = this.getMonth() >= 9 ? (this.getMonth() + 1).toString() : (\"0\" + (this.getMonth() + 1).toString());\r\n const day = this.getDate() > 9 ? this.getDate().toString() : (\"0\" + this.getDate().toString());\r\n\r\n const hour = this.getHours() > 9 ? this.getHours().toString() : (\"0\" + this.getHours().toString());\r\n const minute = this.getMinutes() > 9 ? this.getMinutes().toString() : (\"0\" + this.getMinutes().toString());\r\n const second = this.getSeconds() > 9 ? this.getSeconds().toString() : (\"0\" + this.getSeconds().toString());\r\n\r\n let result;\r\n if (!zoomLevel) zoomLevel = \"day\";\r\n switch (zoomLevel) {\r\n case \"time\":\r\n result = year + month + day + hour + minute + second;\r\n break;\r\n case \"minute\":\r\n result = year + month + day + hour + minute + \"00\";\r\n break;\r\n case \"hour\":\r\n result = year + month + day + hour + \"0000\";\r\n break;\r\n case \"day\":\r\n result = year + month + day + \"000000\";\r\n break;\r\n case \"month\":\r\n result = year + month + \"01000000\";\r\n break;\r\n case \"year\":\r\n result = year + \"0101000000\";\r\n break;\r\n default:\r\n result = year + month + day + \"000000\";\r\n break;\r\n }\r\n return result;\r\n}\r\n\r\nexport { };","declare global {\r\n interface Number {\r\n safeBool(): boolean;\r\n isNull(): boolean;\r\n isUndefined(): boolean;\r\n isNullOrUndefined(): boolean;\r\n longToDate(): Date | undefined;\r\n longToString(format?: string): string | undefined;\r\n decimalToString(format: string): string | undefined;\r\n }\r\n}\r\n\r\nNumber.prototype.safeBool = function (): boolean {\r\n return !!this\r\n}\r\n\r\nNumber.prototype.isNull = function (): boolean { return this === null; }\r\n\r\nNumber.prototype.isUndefined = function (): boolean { return this === undefined; }\r\n\r\nNumber.prototype.isNullOrUndefined = function (): boolean { return this.isNull() || this.isUndefined(); }\r\n\r\nNumber.prototype.longToDate = function (): Date | undefined {\r\n if (!this || this.toString() == \"0\") return undefined;\r\n\r\n const str = this.toString();\r\n\r\n const year = str.substring(0, 4);\r\n const month = str.substring(4, 6);\r\n const day = str.substring(6, 8);\r\n const hour = str.substring(8, 10);\r\n const min = str.substring(10, 12);\r\n const sn = str.substring(12, 14);\r\n\r\n return new Date(year + \"-\" + month + \"-\" + day + \" \" + hour + \":\" + min + \":\" + sn);\r\n}\r\n\r\nNumber.prototype.longToString = function (format?: string): string | undefined {\r\n if (!this || this.toString() == \"0\") return undefined;\r\n return this.longToDate()?.dateToString(format);\r\n}\r\n\r\nNumber.prototype.decimalToString = function (format: string): string | undefined {\r\n if (!this && this !== 0) return undefined;\r\n if (!format) return this.toString();\r\n\r\n const count = (format.match(/#/g) || []).length;\r\n return Number(parseFloat(this.toString()).toFixed(count)).toString();\r\n};\r\n\r\nexport { };\r\n","declare global {\r\n interface String {\r\n safeBool(): boolean;\r\n escapeRegExp(): string;\r\n toCamelCase(): string;\r\n toPascalCase(): string;\r\n toCapitalizeFirstLetter(): string;\r\n }\r\n}\r\n\r\nString.prototype.safeBool = function (): boolean {\r\n return !!this\r\n}\r\n\r\nString.prototype.escapeRegExp = function (): string {\r\n return this.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\r\n};\r\n\r\nString.prototype.toCamelCase = function (): string {\r\n return this.replace(/(?:^\\w|[A-Z]|-|\\b\\w)/g, (character, index) =>\r\n index === 0 ? character.toLocaleLowerCase() : character.toLocaleUpperCase()\r\n );\r\n};\r\n\r\nString.prototype.toPascalCase = function (): string {\r\n return this.replace(/(?:^\\w|[A-Z]|-|\\b\\w)/g, firstCharacter =>\r\n firstCharacter.toLocaleUpperCase()\r\n );\r\n};\r\n\r\nString.prototype.toCapitalizeFirstLetter = function (): string {\r\n return this.charAt(0).toLocaleUpperCase() + this.slice(1);\r\n};\r\n\r\n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AuB,EAAE,CAAC,SAAS,EAAE,KAAK,KAC5D,KAAK,KAAK,CAAC,GAAG,SAAS,CAAC,iBAAiB,EAAE,GAAG,SAAS,CAAC,iBAAiB,EAAE,CAC5E,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,SAAS,CAAC,YAAY,GAAG,YAAA;AAC9B,IAAA,OAAO,IAAI,CAAC,OAAO,CAAC,uBAAuB,EAAE,cAAc,IACzD,cAAc,CAAC,iBAAiB,EAAE,CACnC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,SAAS,CAAC,uBAAuB,GAAG,YAAA;AACzC,IAAA,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAC5D,CAAC;;AChCD;;AAEG"}
@@ -0,0 +1,34 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable } from '@angular/core';
3
+
4
+ const PubSubEvents = {
5
+ popstate: "popstate",
6
+ navigateBetweenApps: "navigateBetweenApps",
7
+ navigateInApps: "navigateInApps"
8
+ };
9
+ class PubSubService {
10
+ publish(e) {
11
+ dispatchEvent(new CustomEvent(e.name, { detail: e.data }));
12
+ }
13
+ subscribe(eventName, listener) {
14
+ addEventListener(eventName, (event) => { listener(event.detail); });
15
+ }
16
+ unSubscribe(eventName, listener) {
17
+ removeEventListener(eventName, listener);
18
+ }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: PubSubService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: PubSubService, providedIn: 'root' }); }
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: PubSubService, decorators: [{
23
+ type: Injectable,
24
+ args: [{
25
+ providedIn: 'root'
26
+ }]
27
+ }] });
28
+
29
+ /**
30
+ * Generated bundle index. Do not edit.
31
+ */
32
+
33
+ export { PubSubEvents, PubSubService };
34
+ //# sourceMappingURL=aril-util-pub-sub.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-util-pub-sub.mjs","sources":["../../projects/aril/util/pub-sub/src/pub-sub.service.ts","../../projects/aril/util/pub-sub/aril-util-pub-sub.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\ntype CustomEvent = {\r\n name: string,\r\n data: {\r\n path: string;\r\n custom?: any;\r\n }\r\n}\r\n\r\nexport const PubSubEvents = {\r\n popstate: \"popstate\",\r\n navigateBetweenApps: \"navigateBetweenApps\",\r\n navigateInApps: \"navigateInApps\"\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PubSubService {\r\n\r\n publish(e: CustomEvent) {\r\n dispatchEvent(new CustomEvent(e.name, { detail: e.data }));\r\n }\r\n\r\n subscribe(eventName: string, listener: (data: any) => void) {\r\n addEventListener(eventName, (event: any) => { listener(event.detail) });\r\n }\r\n\r\n unSubscribe(eventName: string, listener: () => void) {\r\n removeEventListener(eventName, listener);\r\n }\r\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAUa,MAAA,YAAY,GAAG;AAC1B,IAAA,QAAQ,EAAE,UAAU;AACpB,IAAA,mBAAmB,EAAE,qBAAqB;AAC1C,IAAA,cAAc,EAAE,gBAAgB;EACjC;MAKY,aAAa,CAAA;AAExB,IAAA,OAAO,CAAC,CAAc,EAAA;AACpB,QAAA,aAAa,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;KAC5D;IAED,SAAS,CAAC,SAAiB,EAAE,QAA6B,EAAA;AACxD,QAAA,gBAAgB,CAAC,SAAS,EAAE,CAAC,KAAU,KAAO,EAAA,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA,EAAE,CAAC,CAAC;KACzE;IAED,WAAW,CAAC,SAAiB,EAAE,QAAoB,EAAA;AACjD,QAAA,mBAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;KAC1C;8GAZU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAb,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,cAFZ,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEP,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
@@ -0,0 +1,8 @@
1
+ const aril_util = "ARiL-UTIL";
2
+
3
+ /**
4
+ * Generated bundle index. Do not edit.
5
+ */
6
+
7
+ export { aril_util };
8
+ //# sourceMappingURL=aril-util.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-util.mjs","sources":["../../projects/aril/util/index.ts","../../projects/aril/util/aril-util.ts"],"sourcesContent":["export const aril_util = \"ARiL-UTIL\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,SAAS,GAAG;;ACAzB;;AAEG;;;;"}
@@ -0,0 +1,8 @@
1
+ const aril = "ARiL-UI-LIB";
2
+
3
+ /**
4
+ * Generated bundle index. Do not edit.
5
+ */
6
+
7
+ export { aril };
8
+ //# sourceMappingURL=aril.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril.mjs","sources":["../../projects/aril/public-api.ts","../../projects/aril/aril.ts"],"sourcesContent":["export const aril = \"ARiL-UI-LIB\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAO,MAAM,IAAI,GAAG;;ACApB;;AAEG;;;;"}
@@ -0,0 +1,3 @@
1
+ export * from './src/httpClient';
2
+ export * from './src/serviceBase';
3
+ export * from './src/serviceStateMethods';
@@ -0,0 +1,17 @@
1
+ export declare enum HTTPMethods {
2
+ GET = "GET",// Read
3
+ POST = "POST",// Create
4
+ DELETE = "DELETE"
5
+ }
6
+ export declare enum APIs {
7
+ crm = "crm",
8
+ wdm = "wdm",
9
+ billing = "billing",
10
+ payment = "payment",
11
+ yeap = "yeap"
12
+ }
13
+ export declare enum ProxyTypes {
14
+ Native = 0,
15
+ ServerSide = 1,
16
+ ClientSide = 2
17
+ }
@@ -0,0 +1,41 @@
1
+ import { ProxyTypes } from "./enums";
2
+ export interface ServiceCallStates {
3
+ serviceCalled: boolean;
4
+ waitingForResponse: boolean;
5
+ responseIsRecieved: boolean;
6
+ serviceCallFailed: boolean;
7
+ }
8
+ export type ServiceCallStateMap<T> = {
9
+ [K in keyof T]?: T[K] extends Function ? ServiceCallStates : never;
10
+ };
11
+ export declare class ServiceResponse<T> {
12
+ params: any;
13
+ response: T;
14
+ proxy: ProxyTypes;
15
+ items: Array<T>;
16
+ paging: {
17
+ currentPage: number;
18
+ pageSize: number;
19
+ totalItemCount: number;
20
+ totalPageCount: number;
21
+ };
22
+ constructor(resp?: T);
23
+ }
24
+ export declare class ClientSidePagingResponse {
25
+ originalResponse: any;
26
+ allItems: any[];
27
+ constructor();
28
+ }
29
+ export declare class ServerSidePagingRequest {
30
+ params: any;
31
+ pageNumber: number;
32
+ pageSize: number;
33
+ constructor();
34
+ }
35
+ export declare class ServerSidePagingResponse {
36
+ originalResponse: any;
37
+ items: any[];
38
+ totalItemCount: number;
39
+ totalPageCount: number;
40
+ constructor();
41
+ }
@@ -0,0 +1,10 @@
1
+ import { InjectionToken } from "@angular/core";
2
+ import { APIs } from "../lib/enums";
3
+ import { ServiceCallStateMap } from "../lib/interfaces";
4
+ export declare const API_TOKEN: InjectionToken<APIs>;
5
+ export declare abstract class RestClient {
6
+ private readonly httpClient;
7
+ private readonly baseAPI;
8
+ private readonly injector;
9
+ abstract states: ServiceCallStateMap<any>;
10
+ }
@@ -0,0 +1,2 @@
1
+ import { APIs, HTTPMethods, ProxyTypes } from '../lib/enums';
2
+ export declare function ServiceCall(httpMethod: HTTPMethods, proxy: ProxyTypes, remoteAPI?: APIs): MethodDecorator;
@@ -0,0 +1,4 @@
1
+ import { ServiceCallStateMap } from "../lib/interfaces";
2
+ export declare const callState: (states: ServiceCallStateMap<any>, serviceName: any) => void;
3
+ export declare const successState: (states: ServiceCallStateMap<any>, serviceName: any) => void;
4
+ export declare const errorState: (states: ServiceCallStateMap<any>, serviceName: any) => void;
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="aril" />
5
+ export * from './public-api';
package/package.json ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "aril",
3
+ "version": "0.0.2",
4
+ "peerDependencies": {
5
+ "@angular/common": "^17.1.0",
6
+ "@angular/core": "^17.1.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "sideEffects": false,
12
+ "module": "fesm2022/aril.mjs",
13
+ "typings": "index.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./index.d.ts",
20
+ "esm2022": "./esm2022/aril.mjs",
21
+ "esm": "./esm2022/aril.mjs",
22
+ "default": "./fesm2022/aril.mjs"
23
+ },
24
+ "./http": {
25
+ "types": "./http/index.d.ts",
26
+ "esm2022": "./esm2022/http/aril-http.mjs",
27
+ "esm": "./esm2022/http/aril-http.mjs",
28
+ "default": "./fesm2022/aril-http.mjs"
29
+ },
30
+ "./ui": {
31
+ "types": "./ui/index.d.ts",
32
+ "esm2022": "./esm2022/ui/aril-ui.mjs",
33
+ "esm": "./esm2022/ui/aril-ui.mjs",
34
+ "default": "./fesm2022/aril-ui.mjs"
35
+ },
36
+ "./util": {
37
+ "types": "./util/index.d.ts",
38
+ "esm2022": "./esm2022/util/aril-util.mjs",
39
+ "esm": "./esm2022/util/aril-util.mjs",
40
+ "default": "./fesm2022/aril-util.mjs"
41
+ },
42
+ "./ui/button": {
43
+ "types": "./ui/button/index.d.ts",
44
+ "esm2022": "./esm2022/ui/button/aril-ui-button.mjs",
45
+ "esm": "./esm2022/ui/button/aril-ui-button.mjs",
46
+ "default": "./fesm2022/aril-ui-button.mjs"
47
+ },
48
+ "./ui/calendar": {
49
+ "types": "./ui/calendar/index.d.ts",
50
+ "esm2022": "./esm2022/ui/calendar/aril-ui-calendar.mjs",
51
+ "esm": "./esm2022/ui/calendar/aril-ui-calendar.mjs",
52
+ "default": "./fesm2022/aril-ui-calendar.mjs"
53
+ },
54
+ "./ui/lib": {
55
+ "types": "./ui/lib/index.d.ts",
56
+ "esm2022": "./esm2022/ui/lib/aril-ui-lib.mjs",
57
+ "esm": "./esm2022/ui/lib/aril-ui-lib.mjs",
58
+ "default": "./fesm2022/aril-ui-lib.mjs"
59
+ },
60
+ "./ui/checkbox": {
61
+ "types": "./ui/checkbox/index.d.ts",
62
+ "esm2022": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
63
+ "esm": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
64
+ "default": "./fesm2022/aril-ui-checkbox.mjs"
65
+ },
66
+ "./util/init-event": {
67
+ "types": "./util/init-event/index.d.ts",
68
+ "esm2022": "./esm2022/util/init-event/aril-util-init-event.mjs",
69
+ "esm": "./esm2022/util/init-event/aril-util-init-event.mjs",
70
+ "default": "./fesm2022/aril-util-init-event.mjs"
71
+ },
72
+ "./util/lib": {
73
+ "types": "./util/lib/index.d.ts",
74
+ "esm2022": "./esm2022/util/lib/aril-util-lib.mjs",
75
+ "esm": "./esm2022/util/lib/aril-util-lib.mjs",
76
+ "default": "./fesm2022/aril-util-lib.mjs"
77
+ },
78
+ "./util/primitive-extensions": {
79
+ "types": "./util/primitive-extensions/index.d.ts",
80
+ "esm2022": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
81
+ "esm": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
82
+ "default": "./fesm2022/aril-util-primitive-extensions.mjs"
83
+ },
84
+ "./util/pub-sub": {
85
+ "types": "./util/pub-sub/index.d.ts",
86
+ "esm2022": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
87
+ "esm": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
88
+ "default": "./fesm2022/aril-util-pub-sub.mjs"
89
+ }
90
+ }
91
+ }
@@ -0,0 +1 @@
1
+ export declare const aril = "ARiL-UI-LIB";
@@ -0,0 +1 @@
1
+ export * from './src/button.component';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ButtonComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "aril-ui-button", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './src/calendar.component';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CalendarComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "aril-ui-calendar", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './src/checkbox.component';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CheckboxComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "aril-ui-checkbox", never, {}, {}, never, never, true, never>;
5
+ }
package/ui/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare const aril_ui = "ARiL-UI";
@@ -0,0 +1,4 @@
1
+ export * from './src/input/input-disabled.directive';
2
+ export * from './src/input/common-input-validators.service';
3
+ export * from './src/form/form-validation';
4
+ export * from './src/form/form-field-builder';
@@ -0,0 +1,7 @@
1
+ import { FormGroup, ValidatorFn } from '@angular/forms';
2
+ export declare const addControlsWithValidation: (form: FormGroup, controls: {
3
+ name: string;
4
+ validator?: ValidatorFn;
5
+ }[]) => void;
6
+ export declare const removeControls: (form: FormGroup, controlNames: string[]) => void;
7
+ export declare const updateValueAndValidities: (form: FormGroup, controlNames: string[]) => void;
@@ -0,0 +1,2 @@
1
+ import { FormArray, FormGroup } from "@angular/forms";
2
+ export declare const checkValidInputs: (formGroup: FormGroup | FormArray) => void;
@@ -0,0 +1,19 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ import "aril/util/primitive-extensions";
3
+ import * as i0 from "@angular/core";
4
+ export type DateRangeFormat = "minute" | "hour" | "day" | "month" | "year";
5
+ export declare class CommonInputValidatorsService {
6
+ /**
7
+ * @param sdCtrlName - name of the start date form control
8
+ * @param edCtrlName - name of the end date form control
9
+ * @param rangeValue - range between start and end date. Default value is 1
10
+ * @param rangeFormat - format of the range. Default value is "day"
11
+ */
12
+ dateRange(sdCtrlName: string, edCtrlName: string, rangeValue?: number, rangeFormat?: DateRangeFormat): ValidatorFn;
13
+ /**
14
+ * @description - pasword match vs.
15
+ */
16
+ strictMatch(controlName: string, matchingControlName: string): ValidatorFn;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonInputValidatorsService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommonInputValidatorsService>;
19
+ }
@@ -0,0 +1,9 @@
1
+ import { NgControl } from '@angular/forms';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InputDisabledDirective {
4
+ private ngControl;
5
+ constructor(ngControl: NgControl);
6
+ set arilDisabled(condition: boolean);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDisabledDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputDisabledDirective, "[arilDisabled]", never, { "arilDisabled": { "alias": "arilDisabled"; "required": false; }; }, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1 @@
1
+ export declare const aril_util = "ARiL-UTIL";
@@ -0,0 +1 @@
1
+ export * from './src/init-event.directive';
@@ -0,0 +1,8 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InitEventDirective {
4
+ arilUtilInit: EventEmitter<never>;
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<InitEventDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InitEventDirective, "[arilUtilInit]", never, {}, { "arilUtilInit": "arilUtilInit"; }, never, never, true, never>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './src/types';
2
+ export * from './src/interfaces';