@acorex/components 18.14.1-next.0 → 18.14.1-next.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. package/calendar/lib/calendar.component.d.ts +16 -5
  2. package/calendar/lib/calendar.module.d.ts +2 -1
  3. package/check-box/lib/check-box.component.d.ts +13 -5
  4. package/cron-job/README.md +3 -0
  5. package/cron-job/index.d.ts +8 -0
  6. package/cron-job/lib/cron-job-container/cron-job-container.component.d.ts +31 -0
  7. package/cron-job/lib/cron-job.module.d.ts +25 -0
  8. package/cron-job/lib/cron-job.service.d.ts +22 -0
  9. package/cron-job/lib/day/day.component.d.ts +22 -0
  10. package/cron-job/lib/day/day.model.d.ts +61 -0
  11. package/cron-job/lib/day/day.service.d.ts +17 -0
  12. package/cron-job/lib/hours/hours.component.d.ts +14 -0
  13. package/cron-job/lib/hours/hours.model.d.ts +5 -0
  14. package/cron-job/lib/hours/hours.service.d.ts +13 -0
  15. package/cron-job/lib/minutes/minutes.component.d.ts +14 -0
  16. package/cron-job/lib/minutes/minutes.model.d.ts +5 -0
  17. package/cron-job/lib/minutes/minutes.service.d.ts +13 -0
  18. package/cron-job/lib/month/month.component.d.ts +16 -0
  19. package/cron-job/lib/month/month.model.d.ts +5 -0
  20. package/cron-job/lib/month/month.service.d.ts +14 -0
  21. package/cron-job/lib/seconds/seconds.component.d.ts +14 -0
  22. package/cron-job/lib/seconds/seconds.model.d.ts +5 -0
  23. package/cron-job/lib/seconds/seconds.service.d.ts +13 -0
  24. package/cron-job/lib/types/iexpression.d.ts +3 -0
  25. package/cron-job/lib/types/shared.model.d.ts +37 -0
  26. package/cron-job/lib/year/year.component.d.ts +15 -0
  27. package/cron-job/lib/year/year.model.d.ts +16 -0
  28. package/cron-job/lib/year/year.service.d.ts +12 -0
  29. package/datetime-input/lib/datetime-input.component.d.ts +9 -0
  30. package/datetime-picker/lib/datetime-picker.component.d.ts +1 -0
  31. package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +2 -2
  32. package/esm2022/calendar/lib/calendar.component.mjs +186 -158
  33. package/esm2022/calendar/lib/calendar.module.mjs +5 -4
  34. package/esm2022/check-box/lib/check-box.component.mjs +39 -22
  35. package/esm2022/cron-job/acorex-components-cron-job.mjs +5 -0
  36. package/esm2022/cron-job/index.mjs +9 -0
  37. package/esm2022/cron-job/lib/cron-job-container/cron-job-container.component.mjs +90 -0
  38. package/esm2022/cron-job/lib/cron-job.module.mjs +80 -0
  39. package/esm2022/cron-job/lib/cron-job.service.mjs +60 -0
  40. package/esm2022/cron-job/lib/day/day.component.mjs +61 -0
  41. package/esm2022/cron-job/lib/day/day.model.mjs +88 -0
  42. package/esm2022/cron-job/lib/day/day.service.mjs +196 -0
  43. package/esm2022/cron-job/lib/hours/hours.component.mjs +38 -0
  44. package/esm2022/cron-job/lib/hours/hours.model.mjs +8 -0
  45. package/esm2022/cron-job/lib/hours/hours.service.mjs +82 -0
  46. package/esm2022/cron-job/lib/minutes/minutes.component.mjs +38 -0
  47. package/esm2022/cron-job/lib/minutes/minutes.model.mjs +8 -0
  48. package/esm2022/cron-job/lib/minutes/minutes.service.mjs +82 -0
  49. package/esm2022/cron-job/lib/month/month.component.mjs +47 -0
  50. package/esm2022/cron-job/lib/month/month.model.mjs +8 -0
  51. package/esm2022/cron-job/lib/month/month.service.mjs +96 -0
  52. package/esm2022/cron-job/lib/seconds/seconds.component.mjs +38 -0
  53. package/esm2022/cron-job/lib/seconds/seconds.model.mjs +8 -0
  54. package/esm2022/cron-job/lib/seconds/seconds.service.mjs +82 -0
  55. package/esm2022/cron-job/lib/types/iexpression.mjs +2 -0
  56. package/esm2022/cron-job/lib/types/shared.model.mjs +49 -0
  57. package/esm2022/cron-job/lib/year/year.component.mjs +45 -0
  58. package/esm2022/cron-job/lib/year/year.model.mjs +28 -0
  59. package/esm2022/cron-job/lib/year/year.service.mjs +82 -0
  60. package/esm2022/datetime-input/lib/datetime-input.component.mjs +38 -10
  61. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +17 -4
  62. package/esm2022/list/lib/list.component.mjs +3 -3
  63. package/esm2022/loading/lib/loading.component.mjs +7 -3
  64. package/esm2022/loading/lib/loading.service.mjs +2 -2
  65. package/esm2022/radio/lib/radio.component.mjs +3 -3
  66. package/esm2022/selection-list/lib/selection-list.component.mjs +70 -28
  67. package/esm2022/text-box/lib/text-box.component.mjs +11 -8
  68. package/fesm2022/acorex-components-action-sheet.mjs +1 -1
  69. package/fesm2022/acorex-components-alert.mjs +1 -1
  70. package/fesm2022/acorex-components-audio-wave.mjs +1 -1
  71. package/fesm2022/acorex-components-avatar.mjs +1 -1
  72. package/fesm2022/acorex-components-badge.mjs +1 -1
  73. package/fesm2022/acorex-components-bottom-navigation.mjs +3 -3
  74. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  75. package/fesm2022/acorex-components-breadcrumbs.mjs +1 -1
  76. package/fesm2022/acorex-components-button-group.mjs +1 -1
  77. package/fesm2022/acorex-components-button.mjs +1 -1
  78. package/fesm2022/acorex-components-calendar.mjs +188 -160
  79. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  80. package/fesm2022/acorex-components-check-box.mjs +39 -22
  81. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  82. package/fesm2022/acorex-components-chips.mjs +1 -1
  83. package/fesm2022/acorex-components-circular-progress.mjs +1 -1
  84. package/fesm2022/acorex-components-collapse.mjs +1 -1
  85. package/fesm2022/acorex-components-color-box.mjs +1 -1
  86. package/fesm2022/acorex-components-color-palette.mjs +1 -1
  87. package/fesm2022/acorex-components-comment.mjs +1 -1
  88. package/fesm2022/acorex-components-common.mjs +1 -1
  89. package/fesm2022/acorex-components-conversation.mjs +1 -1
  90. package/fesm2022/acorex-components-cron-job.mjs +1191 -0
  91. package/fesm2022/acorex-components-cron-job.mjs.map +1 -0
  92. package/fesm2022/acorex-components-data-pager.mjs +1 -1
  93. package/fesm2022/acorex-components-data-table.mjs +1 -1
  94. package/fesm2022/acorex-components-datetime-box.mjs +1 -1
  95. package/fesm2022/acorex-components-datetime-input.mjs +36 -8
  96. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  97. package/fesm2022/acorex-components-datetime-picker.mjs +16 -3
  98. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  99. package/fesm2022/acorex-components-decorators.mjs +1 -1
  100. package/fesm2022/acorex-components-dialog.mjs +1 -1
  101. package/fesm2022/acorex-components-drawer.mjs +1 -1
  102. package/fesm2022/acorex-components-dropdown-button.mjs +1 -1
  103. package/fesm2022/acorex-components-dropdown.mjs +1 -1
  104. package/fesm2022/acorex-components-form.mjs +1 -1
  105. package/fesm2022/acorex-components-image-editor.mjs +1 -1
  106. package/fesm2022/acorex-components-image.mjs +1 -1
  107. package/fesm2022/acorex-components-json-viewer.mjs +1 -1
  108. package/fesm2022/acorex-components-label.mjs +1 -1
  109. package/fesm2022/acorex-components-list.mjs +3 -3
  110. package/fesm2022/acorex-components-list.mjs.map +1 -1
  111. package/fesm2022/acorex-components-loading-dialog.mjs +1 -1
  112. package/fesm2022/acorex-components-loading.mjs +8 -4
  113. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  114. package/fesm2022/acorex-components-map.mjs +1 -1
  115. package/fesm2022/acorex-components-media-viewer.mjs +1 -1
  116. package/fesm2022/acorex-components-menu.mjs +1 -1
  117. package/fesm2022/acorex-components-nav.mjs +1 -1
  118. package/fesm2022/acorex-components-navbar.mjs +1 -1
  119. package/fesm2022/acorex-components-notification.mjs +1 -1
  120. package/fesm2022/acorex-components-number-box.mjs +1 -1
  121. package/fesm2022/acorex-components-otp.mjs +1 -1
  122. package/fesm2022/acorex-components-page.mjs +1 -1
  123. package/fesm2022/acorex-components-paint.mjs +1 -1
  124. package/fesm2022/acorex-components-password-box.mjs +1 -1
  125. package/fesm2022/acorex-components-phone-box.mjs +1 -1
  126. package/fesm2022/acorex-components-picker.mjs +1 -1
  127. package/fesm2022/acorex-components-popover.mjs +1 -1
  128. package/fesm2022/acorex-components-popup.mjs +1 -1
  129. package/fesm2022/acorex-components-progress-bar.mjs +1 -1
  130. package/fesm2022/acorex-components-qrcode.mjs +1 -1
  131. package/fesm2022/acorex-components-radio.mjs +3 -3
  132. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  133. package/fesm2022/acorex-components-range-slider.mjs +1 -1
  134. package/fesm2022/acorex-components-rate-picker.mjs +1 -1
  135. package/fesm2022/acorex-components-result.mjs +1 -1
  136. package/fesm2022/acorex-components-routing-progress.mjs +1 -1
  137. package/fesm2022/acorex-components-scheduler.mjs +1 -1
  138. package/fesm2022/acorex-components-search-box.mjs +1 -1
  139. package/fesm2022/acorex-components-select-box.mjs +1 -1
  140. package/fesm2022/acorex-components-selection-list.mjs +70 -28
  141. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  142. package/fesm2022/acorex-components-side-menu.mjs +1 -1
  143. package/fesm2022/acorex-components-skeleton.mjs +1 -1
  144. package/fesm2022/acorex-components-slider.mjs +1 -1
  145. package/fesm2022/acorex-components-step-wizard.mjs +1 -1
  146. package/fesm2022/acorex-components-switch.mjs +1 -1
  147. package/fesm2022/acorex-components-tabs.mjs +1 -1
  148. package/fesm2022/acorex-components-tag.mjs +1 -1
  149. package/fesm2022/acorex-components-text-area.mjs +1 -1
  150. package/fesm2022/acorex-components-text-box.mjs +10 -7
  151. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  152. package/fesm2022/acorex-components-time-line.mjs +1 -1
  153. package/fesm2022/acorex-components-toast.mjs +1 -1
  154. package/fesm2022/acorex-components-tooltip.mjs +1 -1
  155. package/fesm2022/acorex-components-uploader.mjs +1 -1
  156. package/fesm2022/acorex-components-wysiwyg.mjs +1 -1
  157. package/package.json +7 -1
  158. package/selection-list/lib/selection-list.component.d.ts +26 -6
  159. package/text-box/lib/text-box.component.d.ts +2 -2
@@ -1,3 +1,4 @@
1
+ import { AXRippleDirective } from '@acorex/components/common';
1
2
  import { AXTooltipModule } from '@acorex/components/tooltip';
2
3
  import { AXDateTimeModule } from '@acorex/core/date-time';
3
4
  import { AXTranslationModule } from '@acorex/core/translation';
@@ -7,11 +8,11 @@ import { AXCalendarRangeComponent } from './calendar-range.component';
7
8
  import { AXCalendarComponent } from './calendar.component';
8
9
  import * as i0 from "@angular/core";
9
10
  const COMPONENT = [AXCalendarComponent, AXCalendarRangeComponent];
10
- const MODULES = [CommonModule, AXDateTimeModule, AXTranslationModule, AXTooltipModule];
11
+ const MODULES = [CommonModule, AXDateTimeModule, AXTranslationModule, AXTooltipModule, AXRippleDirective];
11
12
  export class AXCalendarModule {
12
13
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
13
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent, AXCalendarRangeComponent], imports: [CommonModule, AXDateTimeModule, AXTranslationModule, AXTooltipModule], exports: [AXCalendarComponent, AXCalendarRangeComponent] }); }
14
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarModule, imports: [MODULES] }); }
14
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent, AXCalendarRangeComponent], imports: [CommonModule, AXDateTimeModule, AXTranslationModule, AXTooltipModule, AXRippleDirective], exports: [AXCalendarComponent, AXCalendarRangeComponent] }); }
15
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarModule, imports: [CommonModule, AXDateTimeModule, AXTranslationModule, AXTooltipModule] }); }
15
16
  }
16
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarModule, decorators: [{
17
18
  type: NgModule,
@@ -22,4 +23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bW9uJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBWENhbGVuZGFyUmFuZ2VDb21wb25lbnQgfSBmcm9tICcuL2NhbGVuZGFyLXJhbmdlLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBBWENhbGVuZGFyQ29tcG9uZW50IH0gZnJvbSAnLi9jYWxlbmRhci5jb21wb25lbnQnO1xuXG5jb25zdCBDT01QT05FTlQgPSBbQVhDYWxlbmRhckNvbXBvbmVudCwgQVhDYWxlbmRhclJhbmdlQ29tcG9uZW50XTtcbmNvbnN0IE1PRFVMRVMgPSBbQ29tbW9uTW9kdWxlLCBBWERhdGVUaW1lTW9kdWxlLCBBWFRyYW5zbGF0aW9uTW9kdWxlLCBBWFRvb2x0aXBNb2R1bGUsIEFYUmlwcGxlRGlyZWN0aXZlXTtcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbLi4uQ09NUE9ORU5UXSxcbiAgaW1wb3J0czogWy4uLk1PRFVMRVNdLFxuICBleHBvcnRzOiBbLi4uQ09NUE9ORU5UXSxcbiAgcHJvdmlkZXJzOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhDYWxlbmRhck1vZHVsZSB7fVxuIl19
@@ -1,16 +1,18 @@
1
- import { AXValuableComponent, MXValueComponent } from '@acorex/components/common';
1
+ import { AXValuableComponent, MXColorComponent, MXValueComponent } from '@acorex/components/common';
2
2
  import { AXLabelComponent } from '@acorex/components/label';
3
3
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
4
- import { ChangeDetectionStrategy, Component, ContentChildren, HostListener, Input, QueryList, ViewEncapsulation, forwardRef, } from '@angular/core';
4
+ import { ChangeDetectionStrategy, Component, ContentChildren, HostBinding, HostListener, Input, QueryList, ViewEncapsulation, forwardRef, } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
+ import { classes } from 'polytype';
6
7
  import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/forms";
8
+ import * as i1 from "@angular/common";
9
+ import * as i2 from "@angular/forms";
8
10
  /**
9
11
  * A checkbox component that allows users to select or deselect an option.
10
12
  *
11
13
  * @category Components
12
14
  */
13
- export class AXCheckBoxComponent extends MXValueComponent {
15
+ export class AXCheckBoxComponent extends classes((MXValueComponent), MXColorComponent) {
14
16
  constructor() {
15
17
  super(...arguments);
16
18
  /**
@@ -66,25 +68,31 @@ export class AXCheckBoxComponent extends MXValueComponent {
66
68
  /**
67
69
  * @ignore
68
70
  */
69
- ngAfterViewInit() {
70
- this._labels?.forEach((c) => {
71
- //TODO: remove listener
72
- c.getHostElement().addEventListener('click', () => {
73
- if (!this.readonly && !this.disabled) {
74
- this.commitValue(!this.value, true);
75
- }
76
- });
77
- });
78
- }
71
+ // ngAfterViewInit() {
72
+ // this._labels?.forEach((c) => {
73
+ // //TODO: remove listener
74
+ // c.getHostElement().addEventListener('click', () => {
75
+ // if (!this.readonly && !this.disabled) {
76
+ // this.commitValue(!this.value, true);
77
+ // }
78
+ // });
79
+ // });
80
+ // }
79
81
  /**
80
82
  * @ignore
81
83
  */
82
- _handleClick(e) {
83
- e.stopPropagation();
84
+ _handleClick(event) {
85
+ event.stopPropagation();
84
86
  if (this.readonly || this.disabled) {
85
- e.preventDefault();
87
+ event.preventDefault();
88
+ return false;
89
+ }
90
+ const allowedTags = ['label', 'svg', 'path', 'input'];
91
+ const targetTag = event.target.tagName.toLowerCase();
92
+ if (!allowedTags.includes(targetTag)) {
86
93
  return false;
87
94
  }
95
+ this.commitValue(!this.value, true);
88
96
  return true;
89
97
  }
90
98
  /**
@@ -93,26 +101,32 @@ export class AXCheckBoxComponent extends MXValueComponent {
93
101
  _handleModelChange(value) {
94
102
  this.commitValue(value, true);
95
103
  }
104
+ /**
105
+ * @ignore
106
+ */
107
+ get __hostClass() {
108
+ return `ax-${this.color ? this.color : 'primary'}-solid`;
109
+ }
96
110
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCheckBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
97
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", value: "value", name: "name", id: "id", checked: "checked", indeterminate: "indeterminate" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { listeners: { "click": "_handleClick($event)" } }, providers: [
111
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", color: "color", value: "value", name: "name", id: "id", checked: "checked", indeterminate: "indeterminate" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { listeners: { "click": "_handleClick($event)" }, properties: { "class": "this.__hostClass" } }, providers: [
98
112
  { provide: AXValuableComponent, useExisting: AXCheckBoxComponent },
99
113
  {
100
114
  provide: NG_VALUE_ACCESSOR,
101
115
  useExisting: forwardRef(() => AXCheckBoxComponent),
102
116
  multi: true,
103
117
  },
104
- ], queries: [{ propertyName: "_labels", predicate: AXLabelComponent }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\n <div class=\"ax-checkbox-start-side\">\n <input\n [id]=\"id\"\n class=\"ax-checkbox\"\n type=\"checkbox\"\n [indeterminate]=\"_stateIndeterminate\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [checked]=\"value\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n />\n </div>\n <div class=\"ax-checkbox-end-side\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n <span class=\"ax-error-container\"></span>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>\n", styles: [".ax-checkbox-label{display:flex;width:fit-content;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:flex-start;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label.ax-state-readonly{opacity:.75}.ax-checkbox-label.ax-state-disabled{cursor:not-allowed;opacity:.5}.ax-checkbox-label.ax-state-disabled .ax-checkbox:disabled{opacity:1}.ax-checkbox-label .ax-checkbox-start-side{display:flex;height:1.25rem;align-items:center}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}.ax-checkbox-label .ax-checkbox-end-side ax-label label{margin-bottom:0}.ax-checkbox-label .ax-checkbox-end-side ax-form-hint{margin-top:.25rem;cursor:text;-webkit-user-select:text;user-select:text}\n"], dependencies: [{ kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
118
+ ], queries: [{ propertyName: "_labels", predicate: AXLabelComponent }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\n <div class=\"ax-checkbox-start-side\">\n <input\n [id]=\"id\"\n class=\"ax-check-box\"\n type=\"checkbox\"\n [indeterminate]=\"_stateIndeterminate\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [checked]=\"value\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n #cb\n />\n <div class=\"ax-checkbox-background\">\n <svg\n *ngIf=\"cb.indeterminate\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n >\n <rect x=\"3\" y=\"7\" width=\"10\" height=\"2\" />\n </svg>\n <svg *ngIf=\"cb.checked\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path\n d=\"M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z\"\n />\n </svg>\n </div>\n </div>\n <div class=\"ax-checkbox-end-side\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n <span class=\"ax-error-container\"></span>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>\n", styles: [".ax-dark ax-check-box.ax-primary-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-primary-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-primary-200))!important;background-color:rgba(var(--ax-color-primary-200))!important}.ax-dark ax-check-box.ax-primary-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-primary-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-primary-200))}.ax-dark ax-check-box.ax-primary-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore-tint))}.ax-dark ax-check-box.ax-secondary-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-secondary-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-secondary-200))!important;background-color:rgba(var(--ax-color-secondary-200))!important}.ax-dark ax-check-box.ax-secondary-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-secondary-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-secondary-200))}.ax-dark ax-check-box.ax-secondary-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-secondary-fore-tint))}.ax-dark ax-check-box.ax-success-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-success-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-success-200))!important;background-color:rgba(var(--ax-color-success-200))!important}.ax-dark ax-check-box.ax-success-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-success-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-success-200))}.ax-dark ax-check-box.ax-success-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-success-fore-tint))}.ax-dark ax-check-box.ax-warning-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-warning-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-warning-200))!important;background-color:rgba(var(--ax-color-warning-200))!important}.ax-dark ax-check-box.ax-warning-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-warning-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-warning-200))}.ax-dark ax-check-box.ax-warning-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-warning-fore-tint))}.ax-dark ax-check-box.ax-danger-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-danger-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-danger-200))!important;background-color:rgba(var(--ax-color-danger-200))!important}.ax-dark ax-check-box.ax-danger-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-danger-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-danger-200))}.ax-dark ax-check-box.ax-danger-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-danger-fore-tint))}.ax-dark ax-check-box.ax-info-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-info-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-info-200))!important;background-color:rgba(var(--ax-color-info-200))!important}.ax-dark ax-check-box.ax-info-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-info-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-info-200))}.ax-dark ax-check-box.ax-info-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-info-fore-tint))}.ax-dark .ax-ghost-solid .ax-check-box:checked,.ax-dark .ax-ghost-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-primary-200))!important;background-color:rgba(var(--ax-color-primary-200))!important}.ax-dark .ax-ghost-solid .ax-check-box:focus-visible,.ax-dark .ax-ghost-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-primary-200))}.ax-dark .ax-ghost-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore-tint))}.ax-checkbox-label{display:flex;width:fit-content;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:flex-start;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label.ax-state-readonly{opacity:.75}.ax-checkbox-label.ax-state-disabled{cursor:not-allowed;opacity:.5}.ax-checkbox-label.ax-state-disabled .ax-check-box:disabled{opacity:1}.ax-checkbox-label .ax-checkbox-start-side{display:flex;height:1.25rem;align-items:center;position:relative}.ax-checkbox-label .ax-checkbox-start-side .ax-check-box{margin:0;height:1rem;min-width:1rem;cursor:pointer;-webkit-appearance:none;appearance:none;border-radius:.25rem;border-width:1px;border-color:rgba(var(--ax-color-input-border));background-color:rgba(var(--ax-color-input-surface));vertical-align:middle;outline:2px solid transparent;outline-offset:2px}.ax-checkbox-label .ax-checkbox-start-side .ax-check-box:disabled{cursor:not-allowed;opacity:.5}.ax-checkbox-label .ax-checkbox-start-side .ax-checkbox-background{position:absolute}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}.ax-checkbox-label .ax-checkbox-end-side ax-label label{margin-bottom:0}.ax-checkbox-label .ax-checkbox-end-side ax-form-hint{margin-top:.25rem;cursor:text;-webkit-user-select:text;user-select:text}ax-check-box.ax-primary-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-primary-solid .ax-check-box:checked,ax-check-box.ax-primary-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-primary-500))!important;background-color:rgba(var(--ax-color-primary-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-primary-solid .ax-check-box:focus-visible,ax-check-box.ax-primary-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-primary-500))}ax-check-box.ax-primary-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore))}ax-check-box.ax-secondary-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-secondary-solid .ax-check-box:checked,ax-check-box.ax-secondary-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-secondary-500))!important;background-color:rgba(var(--ax-color-secondary-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-secondary-solid .ax-check-box:focus-visible,ax-check-box.ax-secondary-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-secondary-500))}ax-check-box.ax-secondary-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-secondary-fore))}ax-check-box.ax-success-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-success-solid .ax-check-box:checked,ax-check-box.ax-success-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-success-500))!important;background-color:rgba(var(--ax-color-success-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-success-solid .ax-check-box:focus-visible,ax-check-box.ax-success-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-success-500))}ax-check-box.ax-success-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-success-fore))}ax-check-box.ax-warning-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-warning-solid .ax-check-box:checked,ax-check-box.ax-warning-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-warning-500))!important;background-color:rgba(var(--ax-color-warning-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-warning-solid .ax-check-box:focus-visible,ax-check-box.ax-warning-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-warning-500))}ax-check-box.ax-warning-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-warning-fore))}ax-check-box.ax-danger-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-danger-solid .ax-check-box:checked,ax-check-box.ax-danger-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-danger-500))!important;background-color:rgba(var(--ax-color-danger-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-danger-solid .ax-check-box:focus-visible,ax-check-box.ax-danger-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-danger-500))}ax-check-box.ax-danger-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-danger-fore))}ax-check-box.ax-info-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-info-solid .ax-check-box:checked,ax-check-box.ax-info-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-info-500))!important;background-color:rgba(var(--ax-color-info-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-info-solid .ax-check-box:focus-visible,ax-check-box.ax-info-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-info-500))}ax-check-box.ax-info-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-info-fore))}.ax-ghost-solid .ax-check-box .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}.ax-ghost-solid .ax-check-box .ax-check-box:checked,.ax-ghost-solid .ax-check-box .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-primary-500))!important;background-color:rgba(var(--ax-color-primary-500))!important;background-size:contain;background-repeat:no-repeat}.ax-ghost-solid .ax-check-box .ax-check-box:focus-visible,.ax-ghost-solid .ax-check-box .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-primary-500))}.ax-ghost-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore))}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
105
119
  }
106
120
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
107
121
  type: Component,
108
- args: [{ selector: 'ax-check-box', inputs: ['disabled', 'tabIndex', 'readonly', 'value', 'name', 'id', 'checked'], outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
122
+ args: [{ selector: 'ax-check-box', inputs: ['disabled', 'tabIndex', 'readonly', 'color', 'value', 'name', 'id', 'checked'], outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
109
123
  { provide: AXValuableComponent, useExisting: AXCheckBoxComponent },
110
124
  {
111
125
  provide: NG_VALUE_ACCESSOR,
112
126
  useExisting: forwardRef(() => AXCheckBoxComponent),
113
127
  multi: true,
114
128
  },
115
- ], template: "<div class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\n <div class=\"ax-checkbox-start-side\">\n <input\n [id]=\"id\"\n class=\"ax-checkbox\"\n type=\"checkbox\"\n [indeterminate]=\"_stateIndeterminate\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [checked]=\"value\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n />\n </div>\n <div class=\"ax-checkbox-end-side\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n <span class=\"ax-error-container\"></span>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>\n", styles: [".ax-checkbox-label{display:flex;width:fit-content;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:flex-start;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label.ax-state-readonly{opacity:.75}.ax-checkbox-label.ax-state-disabled{cursor:not-allowed;opacity:.5}.ax-checkbox-label.ax-state-disabled .ax-checkbox:disabled{opacity:1}.ax-checkbox-label .ax-checkbox-start-side{display:flex;height:1.25rem;align-items:center}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}.ax-checkbox-label .ax-checkbox-end-side ax-label label{margin-bottom:0}.ax-checkbox-label .ax-checkbox-end-side ax-form-hint{margin-top:.25rem;cursor:text;-webkit-user-select:text;user-select:text}\n"] }]
129
+ ], template: "<div class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\n <div class=\"ax-checkbox-start-side\">\n <input\n [id]=\"id\"\n class=\"ax-check-box\"\n type=\"checkbox\"\n [indeterminate]=\"_stateIndeterminate\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [checked]=\"value\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n #cb\n />\n <div class=\"ax-checkbox-background\">\n <svg\n *ngIf=\"cb.indeterminate\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n >\n <rect x=\"3\" y=\"7\" width=\"10\" height=\"2\" />\n </svg>\n <svg *ngIf=\"cb.checked\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path\n d=\"M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z\"\n />\n </svg>\n </div>\n </div>\n <div class=\"ax-checkbox-end-side\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n <span class=\"ax-error-container\"></span>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>\n", styles: [".ax-dark ax-check-box.ax-primary-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-primary-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-primary-200))!important;background-color:rgba(var(--ax-color-primary-200))!important}.ax-dark ax-check-box.ax-primary-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-primary-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-primary-200))}.ax-dark ax-check-box.ax-primary-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore-tint))}.ax-dark ax-check-box.ax-secondary-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-secondary-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-secondary-200))!important;background-color:rgba(var(--ax-color-secondary-200))!important}.ax-dark ax-check-box.ax-secondary-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-secondary-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-secondary-200))}.ax-dark ax-check-box.ax-secondary-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-secondary-fore-tint))}.ax-dark ax-check-box.ax-success-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-success-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-success-200))!important;background-color:rgba(var(--ax-color-success-200))!important}.ax-dark ax-check-box.ax-success-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-success-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-success-200))}.ax-dark ax-check-box.ax-success-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-success-fore-tint))}.ax-dark ax-check-box.ax-warning-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-warning-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-warning-200))!important;background-color:rgba(var(--ax-color-warning-200))!important}.ax-dark ax-check-box.ax-warning-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-warning-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-warning-200))}.ax-dark ax-check-box.ax-warning-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-warning-fore-tint))}.ax-dark ax-check-box.ax-danger-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-danger-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-danger-200))!important;background-color:rgba(var(--ax-color-danger-200))!important}.ax-dark ax-check-box.ax-danger-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-danger-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-danger-200))}.ax-dark ax-check-box.ax-danger-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-danger-fore-tint))}.ax-dark ax-check-box.ax-info-solid .ax-check-box:checked,.ax-dark ax-check-box.ax-info-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-info-200))!important;background-color:rgba(var(--ax-color-info-200))!important}.ax-dark ax-check-box.ax-info-solid .ax-check-box:focus-visible,.ax-dark ax-check-box.ax-info-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-info-200))}.ax-dark ax-check-box.ax-info-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-info-fore-tint))}.ax-dark .ax-ghost-solid .ax-check-box:checked,.ax-dark .ax-ghost-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-primary-200))!important;background-color:rgba(var(--ax-color-primary-200))!important}.ax-dark .ax-ghost-solid .ax-check-box:focus-visible,.ax-dark .ax-ghost-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-primary-200))}.ax-dark .ax-ghost-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore-tint))}.ax-checkbox-label{display:flex;width:fit-content;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:flex-start;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label.ax-state-readonly{opacity:.75}.ax-checkbox-label.ax-state-disabled{cursor:not-allowed;opacity:.5}.ax-checkbox-label.ax-state-disabled .ax-check-box:disabled{opacity:1}.ax-checkbox-label .ax-checkbox-start-side{display:flex;height:1.25rem;align-items:center;position:relative}.ax-checkbox-label .ax-checkbox-start-side .ax-check-box{margin:0;height:1rem;min-width:1rem;cursor:pointer;-webkit-appearance:none;appearance:none;border-radius:.25rem;border-width:1px;border-color:rgba(var(--ax-color-input-border));background-color:rgba(var(--ax-color-input-surface));vertical-align:middle;outline:2px solid transparent;outline-offset:2px}.ax-checkbox-label .ax-checkbox-start-side .ax-check-box:disabled{cursor:not-allowed;opacity:.5}.ax-checkbox-label .ax-checkbox-start-side .ax-checkbox-background{position:absolute}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}.ax-checkbox-label .ax-checkbox-end-side ax-label label{margin-bottom:0}.ax-checkbox-label .ax-checkbox-end-side ax-form-hint{margin-top:.25rem;cursor:text;-webkit-user-select:text;user-select:text}ax-check-box.ax-primary-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-primary-solid .ax-check-box:checked,ax-check-box.ax-primary-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-primary-500))!important;background-color:rgba(var(--ax-color-primary-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-primary-solid .ax-check-box:focus-visible,ax-check-box.ax-primary-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-primary-500))}ax-check-box.ax-primary-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore))}ax-check-box.ax-secondary-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-secondary-solid .ax-check-box:checked,ax-check-box.ax-secondary-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-secondary-500))!important;background-color:rgba(var(--ax-color-secondary-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-secondary-solid .ax-check-box:focus-visible,ax-check-box.ax-secondary-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-secondary-500))}ax-check-box.ax-secondary-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-secondary-fore))}ax-check-box.ax-success-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-success-solid .ax-check-box:checked,ax-check-box.ax-success-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-success-500))!important;background-color:rgba(var(--ax-color-success-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-success-solid .ax-check-box:focus-visible,ax-check-box.ax-success-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-success-500))}ax-check-box.ax-success-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-success-fore))}ax-check-box.ax-warning-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-warning-solid .ax-check-box:checked,ax-check-box.ax-warning-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-warning-500))!important;background-color:rgba(var(--ax-color-warning-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-warning-solid .ax-check-box:focus-visible,ax-check-box.ax-warning-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-warning-500))}ax-check-box.ax-warning-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-warning-fore))}ax-check-box.ax-danger-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-danger-solid .ax-check-box:checked,ax-check-box.ax-danger-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-danger-500))!important;background-color:rgba(var(--ax-color-danger-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-danger-solid .ax-check-box:focus-visible,ax-check-box.ax-danger-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-danger-500))}ax-check-box.ax-danger-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-danger-fore))}ax-check-box.ax-info-solid .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}ax-check-box.ax-info-solid .ax-check-box:checked,ax-check-box.ax-info-solid .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-info-500))!important;background-color:rgba(var(--ax-color-info-500))!important;background-size:contain;background-repeat:no-repeat}ax-check-box.ax-info-solid .ax-check-box:focus-visible,ax-check-box.ax-info-solid .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-info-500))}ax-check-box.ax-info-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-info-fore))}.ax-ghost-solid .ax-check-box .ax-check-box{transition:.15s cubic-bezier(0,0,.2,1)}.ax-ghost-solid .ax-check-box .ax-check-box:checked,.ax-ghost-solid .ax-check-box .ax-check-box:indeterminate{border-color:rgba(var(--ax-color-primary-500))!important;background-color:rgba(var(--ax-color-primary-500))!important;background-size:contain;background-repeat:no-repeat}.ax-ghost-solid .ax-check-box .ax-check-box:focus-visible,.ax-ghost-solid .ax-check-box .ax-check-box:focus{box-shadow:0 0 0 2px rgba(var(--ax-color-surface)),0 0 0 4px rgba(var(--ax-color-primary-500))}.ax-ghost-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore))}\n"] }]
116
130
  }], propDecorators: { _labels: [{
117
131
  type: ContentChildren,
118
132
  args: [AXLabelComponent]
@@ -121,5 +135,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
121
135
  }], _handleClick: [{
122
136
  type: HostListener,
123
137
  args: ['click', ['$event']]
138
+ }], __hostClass: [{
139
+ type: HostBinding,
140
+ args: ['class']
124
141
  }] } });
125
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2stYm94LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYn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JcbiAgICAgIFtpbmRldGVybWluYXRlXT1cIl9zdGF0ZUluZGV0ZXJtaW5hdGVcIlxuICAgICAgW25nTW9kZWxdPVwidmFsdWVcIlxuICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwiX2hhbmRsZU1vZGVsQ2hhbmdlKCRldmVudClcIlxuICAgICAgW2NoZWNrZWRdPVwidmFsdWVcIlxuICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICAgIFtyZWFkb25seV09XCJyZWFkb25seVwiXG4gICAgICBbdGFiaW5kZXhdPVwidGFiSW5kZXhcIlxuICAgICAgKGZvY3VzKT1cImVtaXRPbkZvY3VzRXZlbnQoJGV2ZW50KVwiXG4gICAgICAoYmx1cik9XCJlbWl0T25CbHVyRXZlbnQoJGV2ZW50KVwiXG4gICAgLz5cbiAgPC9kaXY+XG4gIDxkaXYgY2xhc3M9XCJheC1jaGVja2JveC1lbmQtc2lkZVwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWxhYmVsXCI+PC9uZy1jb250ZW50PlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWZvcm0taGludFwiPjwvbmctY29udGVudD5cbiAgICA8c3BhbiBjbGFzcz1cImF4LWVycm9yLWNvbnRhaW5lclwiPjwvc3Bhbj5cbiAgPC9kaXY+XG48L2Rpdj5cbjxuZy1jb250ZW50IHNlbGVjdD1cImF4LXZhbGlkYXRpb24tcnVsZVwiPjwvbmctY29udGVudD5cbiJdfQ==
142
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2stYm94LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jaGVjay1ib3gvc3JjL2xpYi9jaGVjay1ib3guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25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jQxNC0xLjQxNEw2LjUgOS4wODZsNC4yOTMtNC4yOTNhMSAxIDAgMDExLjQxNCAwelwiXG4gICAgICAgIC8+XG4gICAgICA8L3N2Zz5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXYgY2xhc3M9XCJheC1jaGVja2JveC1lbmQtc2lkZVwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWxhYmVsXCI+PC9uZy1jb250ZW50PlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWZvcm0taGludFwiPjwvbmctY29udGVudD5cbiAgICA8c3BhbiBjbGFzcz1cImF4LWVycm9yLWNvbnRhaW5lclwiPjwvc3Bhbj5cbiAgPC9kaXY+XG48L2Rpdj5cbjxuZy1jb250ZW50IHNlbGVjdD1cImF4LXZhbGlkYXRpb24tcnVsZVwiPjwvbmctY29udGVudD5cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtY3Jvbi1qb2IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY3Jvbi1qb2Ivc3JjL2Fjb3JleC1jb21wb25lbnRzLWNyb24tam9iLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,9 @@
1
+ export * from './lib/cron-job-container/cron-job-container.component';
2
+ export * from './lib/cron-job.module';
3
+ export * from './lib/day/day.component';
4
+ export * from './lib/hours/hours.component';
5
+ export * from './lib/minutes/minutes.component';
6
+ export * from './lib/month/month.component';
7
+ export * from './lib/seconds/seconds.component';
8
+ export * from './lib/year/year.component';
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY3Jvbi1qb2Ivc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdURBQXVELENBQUM7QUFDdEUsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2Nyb24tam9iLWNvbnRhaW5lci9jcm9uLWpvYi1jb250YWluZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2Nyb24tam9iLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9kYXkvZGF5LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ob3Vycy9ob3Vycy5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbWludXRlcy9taW51dGVzLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9tb250aC9tb250aC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvc2Vjb25kcy9zZWNvbmRzLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi95ZWFyL3llYXIuY29tcG9uZW50JztcblxuIl19
@@ -0,0 +1,90 @@
1
+ import { AXTabsComponent } from '@acorex/components/tabs';
2
+ import { afterNextRender, Component, inject, output, signal, viewChild, ViewEncapsulation, } from '@angular/core';
3
+ import { StringService } from '../cron-job.service';
4
+ import { DayService } from '../day/day.service';
5
+ import { HoursService } from '../hours/hours.service';
6
+ import { MinutesService } from '../minutes/minutes.service';
7
+ import { MonthService } from '../month/month.service';
8
+ import { SecondsService } from '../seconds/seconds.service';
9
+ import { YearService } from '../year/year.service';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@acorex/components/tabs";
12
+ import * as i2 from "@acorex/components/decorators";
13
+ import * as i3 from "@angular/forms";
14
+ import * as i4 from "@acorex/components/text-box";
15
+ import * as i5 from "@acorex/components/button";
16
+ import * as i6 from "../day/day.component";
17
+ import * as i7 from "../hours/hours.component";
18
+ import * as i8 from "../minutes/minutes.component";
19
+ import * as i9 from "../month/month.component";
20
+ import * as i10 from "../seconds/seconds.component";
21
+ import * as i11 from "../year/year.component";
22
+ import * as i12 from "@angular/common";
23
+ import * as i13 from "@acorex/core/translation";
24
+ export class AXCronJobContainerComponent {
25
+ constructor() {
26
+ this.tabComponent = viewChild(AXTabsComponent);
27
+ this.activeTab = signal('Seconds');
28
+ this.expResult = '* * * ? * * *';
29
+ this.onExpressionChange = output();
30
+ this.#init = afterNextRender(() => {
31
+ this.tabComponent().onActiveTabChanged.subscribe((e) => {
32
+ this.activeTab.set(e.tab.key);
33
+ });
34
+ });
35
+ this.options = signal({
36
+ fit: true,
37
+ look: 'with-line',
38
+ location: 'bottom',
39
+ });
40
+ this.secondsService = inject(SecondsService);
41
+ this.minutesService = inject(MinutesService);
42
+ this.hoursService = inject(HoursService);
43
+ this.monthService = inject(MonthService);
44
+ this.dayService = inject(DayService);
45
+ this.yearService = inject(YearService);
46
+ }
47
+ #init;
48
+ onGetModel() {
49
+ const secondsExp = this.secondsService.getExpression();
50
+ const minutesExp = this.minutesService.getExpression();
51
+ const hoursExp = this.hoursService.getExpression();
52
+ const monthExp = this.monthService.getExpression();
53
+ const dayExp = this.dayService.getExpression();
54
+ const yearExp = this.yearService.getExpression();
55
+ this.expResult = `${secondsExp} ${minutesExp} ${hoursExp} ${dayExp[1]} ${monthExp} ${dayExp[0]} ${yearExp}`;
56
+ this.onExpressionChange.emit({ data: this.expResult, component: this });
57
+ }
58
+ reverseExpression(cronExpressionPattern) {
59
+ this.expResult = this.dayService.expressionValidation(this.expResult, cronExpressionPattern);
60
+ this.secondsService.reversExpression(cronExpressionPattern);
61
+ this.minutesService.reversExpression(cronExpressionPattern);
62
+ this.hoursService.reversExpression(cronExpressionPattern);
63
+ this.dayService.reversExpression(cronExpressionPattern);
64
+ this.monthService.reversExpression(cronExpressionPattern);
65
+ this.yearService.reversExpression(cronExpressionPattern);
66
+ }
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCronJobContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
68
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXCronJobContainerComponent, selector: "ax-cron-job-container", outputs: { onExpressionChange: "onExpressionChange" }, providers: [
69
+ SecondsService,
70
+ MinutesService,
71
+ HoursService,
72
+ DayService,
73
+ MonthService,
74
+ YearService,
75
+ StringService,
76
+ ], viewQueries: [{ propertyName: "tabComponent", first: true, predicate: AXTabsComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<ax-tabs [look]=\"options().look\" [fitParent]=\"options().fit\" [location]=\"options().location\">\n <ax-tab-item key=\"Seconds\" [text]=\"'time.Seconds' | translate | async\"> </ax-tab-item>\n <ax-tab-item key=\"Minutes\" [text]=\"'time.Minutes' | translate | async\"> </ax-tab-item>\n <ax-tab-item key=\"Hours\" [text]=\"'time.Hours' | translate | async\"> </ax-tab-item>\n <ax-tab-item key=\"Days\" [text]=\"'time.Days' | translate | async\"></ax-tab-item>\n <ax-tab-item key=\"Months\" [text]=\"'time.Months' | translate | async\"></ax-tab-item>\n <ax-tab-item key=\"Years\" [text]=\"'time.Years' | translate | async\"></ax-tab-item>\n</ax-tabs>\n\n<div class=\"ax-cron-tools-container\">\n @switch (activeTab()) {\n @case ('Seconds') {\n <ax-cron-seconds></ax-cron-seconds>\n }\n @case ('Minutes') {\n <ax-cron-minutes></ax-cron-minutes>\n }\n @case ('Hours') {\n <ax-cron-hours></ax-cron-hours>\n }\n @case ('Days') {\n <ax-cron-day></ax-cron-day>\n }\n @case ('Months') {\n <ax-cron-month></ax-cron-month>\n }\n @case ('Years') {\n <ax-cron-year></ax-cron-year>\n }\n }\n</div>\n\n<div class=\"ax-btn-result-container\">\n <ax-button\n color=\"primary\"\n [text]=\"'Generate Expression' | translate | async\"\n class=\"btn btn-success\"\n (click)=\"onGetModel()\"\n ></ax-button>\n\n <div>\n <ax-text-box [ngModel]=\"expResult\" (ngModelChange)=\"reverseExpression($event)\">\n <ax-clear-button></ax-clear-button>\n </ax-text-box>\n </div>\n</div>\n", styles: ["ax-cron-job-container{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden}.ax-btn-result-container{padding:.5rem 1rem;display:flex;justify-content:space-between;align-items:center}.ax-btn-result-container ax-button{margin-inline-end:1rem}.ax-cron-tools-container{padding:1rem;border-bottom:1px solid rgb(var(--ax-color-border-default))}\n"], dependencies: [{ kind: "component", type: i1.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i1.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "component", type: i2.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i6.AXCronDayComponent, selector: "ax-cron-day" }, { kind: "component", type: i7.AXCronHoursComponent, selector: "ax-cron-hours" }, { kind: "component", type: i8.AXCronMinutesComponent, selector: "ax-cron-minutes" }, { kind: "component", type: i9.AXCronMonthComponent, selector: "ax-cron-month" }, { kind: "component", type: i10.AXCronSecondsComponent, selector: "ax-cron-seconds" }, { kind: "component", type: i11.AXCronYearComponent, selector: "ax-cron-year" }, { kind: "pipe", type: i12.AsyncPipe, name: "async" }, { kind: "pipe", type: i13.AXTranslatorPipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
77
+ }
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCronJobContainerComponent, decorators: [{
79
+ type: Component,
80
+ args: [{ selector: 'ax-cron-job-container', providers: [
81
+ SecondsService,
82
+ MinutesService,
83
+ HoursService,
84
+ DayService,
85
+ MonthService,
86
+ YearService,
87
+ StringService,
88
+ ], encapsulation: ViewEncapsulation.None, template: "<ax-tabs [look]=\"options().look\" [fitParent]=\"options().fit\" [location]=\"options().location\">\n <ax-tab-item key=\"Seconds\" [text]=\"'time.Seconds' | translate | async\"> </ax-tab-item>\n <ax-tab-item key=\"Minutes\" [text]=\"'time.Minutes' | translate | async\"> </ax-tab-item>\n <ax-tab-item key=\"Hours\" [text]=\"'time.Hours' | translate | async\"> </ax-tab-item>\n <ax-tab-item key=\"Days\" [text]=\"'time.Days' | translate | async\"></ax-tab-item>\n <ax-tab-item key=\"Months\" [text]=\"'time.Months' | translate | async\"></ax-tab-item>\n <ax-tab-item key=\"Years\" [text]=\"'time.Years' | translate | async\"></ax-tab-item>\n</ax-tabs>\n\n<div class=\"ax-cron-tools-container\">\n @switch (activeTab()) {\n @case ('Seconds') {\n <ax-cron-seconds></ax-cron-seconds>\n }\n @case ('Minutes') {\n <ax-cron-minutes></ax-cron-minutes>\n }\n @case ('Hours') {\n <ax-cron-hours></ax-cron-hours>\n }\n @case ('Days') {\n <ax-cron-day></ax-cron-day>\n }\n @case ('Months') {\n <ax-cron-month></ax-cron-month>\n }\n @case ('Years') {\n <ax-cron-year></ax-cron-year>\n }\n }\n</div>\n\n<div class=\"ax-btn-result-container\">\n <ax-button\n color=\"primary\"\n [text]=\"'Generate Expression' | translate | async\"\n class=\"btn btn-success\"\n (click)=\"onGetModel()\"\n ></ax-button>\n\n <div>\n <ax-text-box [ngModel]=\"expResult\" (ngModelChange)=\"reverseExpression($event)\">\n <ax-clear-button></ax-clear-button>\n </ax-text-box>\n </div>\n</div>\n", styles: ["ax-cron-job-container{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden}.ax-btn-result-container{padding:.5rem 1rem;display:flex;justify-content:space-between;align-items:center}.ax-btn-result-container ax-button{margin-inline-end:1rem}.ax-cron-tools-container{padding:1rem;border-bottom:1px solid rgb(var(--ax-color-border-default))}\n"] }]
89
+ }] });
90
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3Jvbi1qb2ItY29udGFpbmVyLmNvbXBvbmVudC5qcyIs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iYnRuIGJ0bi1zdWNjZXNzXCJcbiAgICAoY2xpY2spPVwib25HZXRNb2RlbCgpXCJcbiAgPjwvYXgtYnV0dG9uPlxuXG4gIDxkaXY+XG4gICAgPGF4LXRleHQtYm94IFtuZ01vZGVsXT1cImV4cFJlc3VsdFwiIChuZ01vZGVsQ2hhbmdlKT1cInJldmVyc2VFeHByZXNzaW9uKCRldmVudClcIj5cbiAgICAgIDxheC1jbGVhci1idXR0b24+PC9heC1jbGVhci1idXR0b24+XG4gICAgPC9heC10ZXh0LWJveD5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,80 @@
1
+ import { AXBadgeModule } from '@acorex/components/badge';
2
+ import { AXButtonModule } from '@acorex/components/button';
3
+ import { AXCheckBoxModule } from '@acorex/components/check-box';
4
+ import { AXDecoratorModule } from '@acorex/components/decorators';
5
+ import { AXFormModule } from '@acorex/components/form';
6
+ import { AXLabelModule } from '@acorex/components/label';
7
+ import { AXSelectBoxModule } from '@acorex/components/select-box';
8
+ import { AXTabsModule } from '@acorex/components/tabs';
9
+ import { AXTextBoxModule } from '@acorex/components/text-box';
10
+ import { AXTranslationModule } from '@acorex/core/translation';
11
+ import { CommonModule } from '@angular/common';
12
+ import { NgModule } from '@angular/core';
13
+ import { FormsModule } from '@angular/forms';
14
+ import { AXCronJobContainerComponent } from './cron-job-container/cron-job-container.component';
15
+ import { AXCronDayComponent } from './day/day.component';
16
+ import { AXCronHoursComponent } from './hours/hours.component';
17
+ import { AXCronMinutesComponent } from './minutes/minutes.component';
18
+ import { AXCronMonthComponent } from './month/month.component';
19
+ import { AXCronSecondsComponent } from './seconds/seconds.component';
20
+ import { AXCronYearComponent } from './year/year.component';
21
+ import * as i0 from "@angular/core";
22
+ const COMPONENT = [
23
+ AXCronJobContainerComponent,
24
+ AXCronDayComponent,
25
+ AXCronHoursComponent,
26
+ AXCronMinutesComponent,
27
+ AXCronMonthComponent,
28
+ AXCronSecondsComponent,
29
+ AXCronYearComponent,
30
+ ];
31
+ const MODULES = [
32
+ AXTabsModule,
33
+ AXBadgeModule,
34
+ AXDecoratorModule,
35
+ CommonModule,
36
+ FormsModule,
37
+ AXSelectBoxModule,
38
+ AXFormModule,
39
+ AXLabelModule,
40
+ AXCheckBoxModule,
41
+ AXTextBoxModule,
42
+ AXTranslationModule,
43
+ ];
44
+ export class AXCronJobModule {
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCronJobModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
46
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXCronJobModule, declarations: [AXCronJobContainerComponent,
47
+ AXCronDayComponent,
48
+ AXCronHoursComponent,
49
+ AXCronMinutesComponent,
50
+ AXCronMonthComponent,
51
+ AXCronSecondsComponent,
52
+ AXCronYearComponent], imports: [AXTabsModule,
53
+ AXBadgeModule,
54
+ AXDecoratorModule,
55
+ CommonModule,
56
+ FormsModule,
57
+ AXSelectBoxModule,
58
+ AXFormModule,
59
+ AXLabelModule,
60
+ AXCheckBoxModule,
61
+ AXTextBoxModule,
62
+ AXTranslationModule, AXButtonModule, AXLabelModule], exports: [AXCronJobContainerComponent,
63
+ AXCronDayComponent,
64
+ AXCronHoursComponent,
65
+ AXCronMinutesComponent,
66
+ AXCronMonthComponent,
67
+ AXCronSecondsComponent,
68
+ AXCronYearComponent] }); }
69
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCronJobModule, imports: [MODULES, AXButtonModule, AXLabelModule] }); }
70
+ }
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCronJobModule, decorators: [{
72
+ type: NgModule,
73
+ args: [{
74
+ declarations: [...COMPONENT],
75
+ imports: [...MODULES, AXButtonModule, AXLabelModule],
76
+ exports: [...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NvbXBvbmVudCc7XG5pbXBvcnQgeyBBWENyb25ZZWFyQ29tcG9uZW50IH0gZnJvbSAnLi95ZWFyL3llYXIuY29tcG9uZW50JztcblxuY29uc3QgQ09NUE9ORU5UID0gW1xuICBBWENyb25Kb2JDb250YWluZXJDb21wb25lbnQsXG4gIEFYQ3JvbkRheUNvbXBvbmVudCxcbiAgQVhDcm9uSG91cnNDb21wb25lbnQsXG4gIEFYQ3Jvbk1pbnV0ZXNDb21wb25lbnQsXG4gIEFYQ3Jvbk1vbnRoQ29tcG9uZW50LFxuICBBWENyb25TZWNvbmRzQ29tcG9uZW50LFxuICBBWENyb25ZZWFyQ29tcG9uZW50LFxuXTtcblxuY29uc3QgTU9EVUxFUyA9IFtcbiAgQVhUYWJzTW9kdWxlLFxuICBBWEJhZGdlTW9kdWxlLFxuICBBWERlY29yYXRvck1vZHVsZSxcbiAgQ29tbW9uTW9kdWxlLFxuICBGb3Jtc01vZHVsZSxcbiAgQVhTZWxlY3RCb3hNb2R1bGUsXG4gIEFYRm9ybU1vZHVsZSxcbiAgQVhMYWJlbE1vZHVsZSxcbiAgQVhDaGVja0JveE1vZHVsZSxcbiAgQVhUZXh0Qm94TW9kdWxlLFxuICBBWFRyYW5zbGF0aW9uTW9kdWxlLFxuXTtcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbLi4uQ09NUE9ORU5UXSxcbiAgaW1wb3J0czogWy4uLk1PRFVMRVMsIEFYQnV0dG9uTW9kdWxlLCBBWExhYmVsTW9kdWxlXSxcbiAgZXhwb3J0czogWy4uLkNPTVBPTkVOVF0sXG4gIHByb3ZpZGVyczogW10sXG59KVxuZXhwb3J0IGNsYXNzIEFYQ3JvbkpvYk1vZHVsZSB7fVxuIl19
@@ -0,0 +1,60 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class StringService {
4
+ addComma(str) {
5
+ if (str !== '')
6
+ // add , to end of string
7
+ str = str.concat(',');
8
+ return str;
9
+ }
10
+ getRegexItem(cronExpressionPattern, itemIndex) {
11
+ const expressionItemsList = cronExpressionPattern.split(' ');
12
+ return expressionItemsList[itemIndex] ? expressionItemsList[itemIndex] : '*';
13
+ }
14
+ getIntervalCronData(regex) {
15
+ const regexDataList = regex.split(',');
16
+ const rangePattern = '/';
17
+ const item = regexDataList.find((item) => item.includes(rangePattern));
18
+ return item
19
+ ? { interval: parseInt(item.split('/')[1]), startAt: parseInt(item.split('/')[0]) }
20
+ : undefined;
21
+ }
22
+ getSpecificCronData(regex, dropDowndara) {
23
+ const regexDataList = regex.split(',');
24
+ // **Regex pattern to find only digits in an array items.**
25
+ const regexPattern = new RegExp('^[0-9]+$');
26
+ const items = regexDataList.filter((item) => regexPattern.test(item));
27
+ return items.length ? this.mapItemsToDropDownItem(items, dropDowndara) : undefined;
28
+ }
29
+ getRangeCronData(regex) {
30
+ const regexDataList = regex.split(',');
31
+ const rangePattern = '-';
32
+ const item = regexDataList.find((item) => item.includes(rangePattern));
33
+ return item
34
+ ? { from: parseInt(item.split(rangePattern)[0]), to: parseInt(item.split(rangePattern)[1]) }
35
+ : undefined;
36
+ }
37
+ getDayOfMonthCronData(regex) {
38
+ const regexDataList = regex.split(',');
39
+ const rangePattern = '#';
40
+ const item = regexDataList.find((item) => item.includes(rangePattern));
41
+ return item
42
+ ? { day: parseInt(item.split(rangePattern)[0]), xst: parseInt(item.split(rangePattern)[1]) }
43
+ : undefined;
44
+ }
45
+ mapItemsToDropDownItem(items, dropDowndata) {
46
+ return items.map((item) => {
47
+ if (dropDowndata) {
48
+ const dropDownItem = dropDowndata[parseInt(item) - 1];
49
+ return dropDownItem ? { id: parseInt(item), text: dropDownItem } : { id: parseInt(item), text: item };
50
+ }
51
+ return { id: parseInt(item), text: item };
52
+ });
53
+ }
54
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: StringService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
55
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: StringService }); }
56
+ }
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: StringService, decorators: [{
58
+ type: Injectable
59
+ }] });
60
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3Jvbi1qb2Iuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jcm9uLWpvYi9zcmMvbGliL2Nyb24tam9iLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFJM0MsTUFBTSxPQUFPLGFBQWE7SUFDakIsUUFBUSxDQUFDLEdBQVc7UUFDekIsSUFBSSxHQUFHLEtBQUssRUFBRTtZQUNaLHlCQUF5QjtZQUN6QixHQUFHLEdBQUcsR0FBRyxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUV4QixPQUFPLEdBQUcsQ0FBQztJQUNiLENBQUM7SUFFRCxZQUFZLENBQUMscUJBQTZCLEVBQUUsU0FBMEI7UUFDcEUsTUFBTSxtQkFBbUIsR0FBRyxxQkFBcUIsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUM7UUFDN0QsT0FBTyxtQkFBbUIsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsbUJBQW1CLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQztJQUMvRSxDQUFDO0lBRUQsbUJBQW1CLENBQUMsS0FBYTtRQUMvQixNQUFNLGFBQWEsR0FBa0IsS0FBSyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ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