@acorex/components 18.14.0 → 18.14.1-next.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) 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/alert/lib/alert.component.mjs +10 -14
  32. package/esm2022/avatar/lib/avatar.component.mjs +2 -2
  33. package/esm2022/calendar/lib/calendar.component.mjs +186 -158
  34. package/esm2022/calendar/lib/calendar.module.mjs +5 -4
  35. package/esm2022/check-box/lib/check-box.component.mjs +39 -22
  36. package/esm2022/common/lib/components/selection-base.component.class.mjs +2 -1
  37. package/esm2022/cron-job/acorex-components-cron-job.mjs +5 -0
  38. package/esm2022/cron-job/index.mjs +9 -0
  39. package/esm2022/cron-job/lib/cron-job-container/cron-job-container.component.mjs +90 -0
  40. package/esm2022/cron-job/lib/cron-job.module.mjs +80 -0
  41. package/esm2022/cron-job/lib/cron-job.service.mjs +60 -0
  42. package/esm2022/cron-job/lib/day/day.component.mjs +61 -0
  43. package/esm2022/cron-job/lib/day/day.model.mjs +88 -0
  44. package/esm2022/cron-job/lib/day/day.service.mjs +196 -0
  45. package/esm2022/cron-job/lib/hours/hours.component.mjs +38 -0
  46. package/esm2022/cron-job/lib/hours/hours.model.mjs +8 -0
  47. package/esm2022/cron-job/lib/hours/hours.service.mjs +82 -0
  48. package/esm2022/cron-job/lib/minutes/minutes.component.mjs +38 -0
  49. package/esm2022/cron-job/lib/minutes/minutes.model.mjs +8 -0
  50. package/esm2022/cron-job/lib/minutes/minutes.service.mjs +82 -0
  51. package/esm2022/cron-job/lib/month/month.component.mjs +47 -0
  52. package/esm2022/cron-job/lib/month/month.model.mjs +8 -0
  53. package/esm2022/cron-job/lib/month/month.service.mjs +96 -0
  54. package/esm2022/cron-job/lib/seconds/seconds.component.mjs +38 -0
  55. package/esm2022/cron-job/lib/seconds/seconds.model.mjs +8 -0
  56. package/esm2022/cron-job/lib/seconds/seconds.service.mjs +82 -0
  57. package/esm2022/cron-job/lib/types/iexpression.mjs +2 -0
  58. package/esm2022/cron-job/lib/types/shared.model.mjs +49 -0
  59. package/esm2022/cron-job/lib/year/year.component.mjs +45 -0
  60. package/esm2022/cron-job/lib/year/year.model.mjs +28 -0
  61. package/esm2022/cron-job/lib/year/year.service.mjs +82 -0
  62. package/esm2022/datetime-input/lib/datetime-input.component.mjs +38 -10
  63. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +17 -4
  64. package/esm2022/list/lib/list.component.mjs +3 -3
  65. package/esm2022/loading/lib/loading.component.mjs +7 -3
  66. package/esm2022/loading/lib/loading.service.mjs +3 -3
  67. package/esm2022/radio/lib/radio.component.mjs +3 -3
  68. package/esm2022/selection-list/lib/selection-list.component.mjs +18 -28
  69. package/esm2022/text-box/lib/text-box.component.mjs +11 -8
  70. package/esm2022/time-line/lib/time-line-item.component.mjs +3 -3
  71. package/esm2022/time-line/lib/time-line.component.mjs +18 -4
  72. package/fesm2022/acorex-components-action-sheet.mjs +1 -1
  73. package/fesm2022/acorex-components-alert.mjs +10 -14
  74. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  75. package/fesm2022/acorex-components-audio-wave.mjs +1 -1
  76. package/fesm2022/acorex-components-avatar.mjs +3 -3
  77. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  78. package/fesm2022/acorex-components-badge.mjs +1 -1
  79. package/fesm2022/acorex-components-bottom-navigation.mjs +1 -1
  80. package/fesm2022/acorex-components-breadcrumbs.mjs +1 -1
  81. package/fesm2022/acorex-components-button-group.mjs +1 -1
  82. package/fesm2022/acorex-components-button.mjs +1 -1
  83. package/fesm2022/acorex-components-calendar.mjs +188 -160
  84. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  85. package/fesm2022/acorex-components-check-box.mjs +39 -22
  86. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  87. package/fesm2022/acorex-components-chips.mjs +1 -1
  88. package/fesm2022/acorex-components-circular-progress.mjs +1 -1
  89. package/fesm2022/acorex-components-collapse.mjs +1 -1
  90. package/fesm2022/acorex-components-color-box.mjs +1 -1
  91. package/fesm2022/acorex-components-color-palette.mjs +1 -1
  92. package/fesm2022/acorex-components-comment.mjs +1 -1
  93. package/fesm2022/acorex-components-common.mjs +2 -1
  94. package/fesm2022/acorex-components-common.mjs.map +1 -1
  95. package/fesm2022/acorex-components-conversation.mjs +1 -1
  96. package/fesm2022/acorex-components-cron-job.mjs +1191 -0
  97. package/fesm2022/acorex-components-cron-job.mjs.map +1 -0
  98. package/fesm2022/acorex-components-data-pager.mjs +1 -1
  99. package/fesm2022/acorex-components-data-table.mjs +1 -1
  100. package/fesm2022/acorex-components-datetime-box.mjs +1 -1
  101. package/fesm2022/acorex-components-datetime-input.mjs +36 -8
  102. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  103. package/fesm2022/acorex-components-datetime-picker.mjs +16 -3
  104. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  105. package/fesm2022/acorex-components-decorators.mjs +1 -1
  106. package/fesm2022/acorex-components-dialog.mjs +1 -1
  107. package/fesm2022/acorex-components-drawer.mjs +1 -1
  108. package/fesm2022/acorex-components-dropdown-button.mjs +1 -1
  109. package/fesm2022/acorex-components-dropdown.mjs +1 -1
  110. package/fesm2022/acorex-components-form.mjs +1 -1
  111. package/fesm2022/acorex-components-image-editor.mjs +1 -1
  112. package/fesm2022/acorex-components-image.mjs +1 -1
  113. package/fesm2022/acorex-components-json-viewer.mjs +1 -1
  114. package/fesm2022/acorex-components-label.mjs +1 -1
  115. package/fesm2022/acorex-components-list.mjs +3 -3
  116. package/fesm2022/acorex-components-list.mjs.map +1 -1
  117. package/fesm2022/acorex-components-loading-dialog.mjs +1 -1
  118. package/fesm2022/acorex-components-loading.mjs +9 -5
  119. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  120. package/fesm2022/acorex-components-map.mjs +1 -1
  121. package/fesm2022/acorex-components-media-viewer.mjs +1 -1
  122. package/fesm2022/acorex-components-menu.mjs +1 -1
  123. package/fesm2022/acorex-components-nav.mjs +1 -1
  124. package/fesm2022/acorex-components-navbar.mjs +1 -1
  125. package/fesm2022/acorex-components-notification.mjs +1 -1
  126. package/fesm2022/acorex-components-number-box.mjs +1 -1
  127. package/fesm2022/acorex-components-otp.mjs +1 -1
  128. package/fesm2022/acorex-components-page.mjs +1 -1
  129. package/fesm2022/acorex-components-paint.mjs +1 -1
  130. package/fesm2022/acorex-components-password-box.mjs +1 -1
  131. package/fesm2022/acorex-components-phone-box.mjs +1 -1
  132. package/fesm2022/acorex-components-picker.mjs +1 -1
  133. package/fesm2022/acorex-components-popover.mjs +1 -1
  134. package/fesm2022/acorex-components-popup.mjs +1 -1
  135. package/fesm2022/acorex-components-progress-bar.mjs +1 -1
  136. package/fesm2022/acorex-components-qrcode.mjs +1 -1
  137. package/fesm2022/acorex-components-radio.mjs +3 -3
  138. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  139. package/fesm2022/acorex-components-range-slider.mjs +1 -1
  140. package/fesm2022/acorex-components-rate-picker.mjs +1 -1
  141. package/fesm2022/acorex-components-result.mjs +1 -1
  142. package/fesm2022/acorex-components-routing-progress.mjs +1 -1
  143. package/fesm2022/acorex-components-scheduler.mjs +1 -1
  144. package/fesm2022/acorex-components-search-box.mjs +1 -1
  145. package/fesm2022/acorex-components-select-box.mjs +1 -1
  146. package/fesm2022/acorex-components-selection-list.mjs +18 -28
  147. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  148. package/fesm2022/acorex-components-side-menu.mjs +1 -1
  149. package/fesm2022/acorex-components-skeleton.mjs +1 -1
  150. package/fesm2022/acorex-components-slider.mjs +1 -1
  151. package/fesm2022/acorex-components-step-wizard.mjs +1 -1
  152. package/fesm2022/acorex-components-switch.mjs +1 -1
  153. package/fesm2022/acorex-components-tabs.mjs +1 -1
  154. package/fesm2022/acorex-components-tag.mjs +1 -1
  155. package/fesm2022/acorex-components-text-area.mjs +1 -1
  156. package/fesm2022/acorex-components-text-box.mjs +10 -7
  157. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  158. package/fesm2022/acorex-components-time-line.mjs +19 -5
  159. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  160. package/fesm2022/acorex-components-toast.mjs +1 -1
  161. package/fesm2022/acorex-components-tooltip.mjs +1 -1
  162. package/fesm2022/acorex-components-uploader.mjs +1 -1
  163. package/fesm2022/acorex-components-wysiwyg.mjs +1 -1
  164. package/package.json +7 -1
  165. package/selection-list/lib/selection-list.component.d.ts +4 -12
  166. package/text-box/lib/text-box.component.d.ts +2 -2
  167. package/time-line/lib/time-line.component.d.ts +2 -0
@@ -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,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
22
23
  providers: [],
23
24
  }]
24
25
  }] });
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NhbGVuZGFyL3NyYy9saWIvY2FsZW5kYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUM3RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUN0RSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFFM0QsTUFBTSxTQUFTLEdBQUcsQ0FBQyxtQkFBbUIsRUFBRSx3QkFBd0IsQ0F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uZW50cy90b29sdGlwJztcbmltcG9ydCB7IEFYRGF0ZVRpbWVNb2R1bGUgfSBmcm9tICdAYWNvcmV4L2NvcmUvZGF0ZS10aW1lJztcbmltcG9ydCB7IEFYVHJhbnNsYXRpb25Nb2R1bGUgfSBmcm9tICdAYWNvcmV4L2NvcmUvdHJhbnNsYXRpb24nO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBWENhbGVuZGFyUmFuZ2VDb21wb25lbnQgfSBmcm9tICcuL2NhbGVuZGFyLXJhbmdlLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBBWENhbGVuZGFyQ29tcG9uZW50IH0gZnJvbSAnLi9jYWxlbmRhci5jb21wb25lbnQnO1xuXG5jb25zdCBDT01QT05FTlQgPSBbQVhDYWxlbmRhckNvbXBvbmVudCwgQVhDYWxlbmRhclJhbmdlQ29tcG9uZW50XTtcbmNvbnN0IE1PRFVMRVMgPSBbQ29tbW9uTW9kdWxlLCBBWERhdGVUaW1lTW9kdWxlLCBBWFRyYW5zbGF0aW9uTW9kdWxlLCBBWFRvb2x0aXBNb2R1bGUsIEFYUmlwcGxlRGlyZWN0aXZlXTtcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbLi4uQ09NUE9ORU5UXSxcbiAgaW1wb3J0czogWy4uLk1PRFVMRVNdLFxuICBleHBvcnRzOiBbLi4uQ09NUE9ORU5UXSxcbiAgcHJvdmlkZXJzOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhDYWxlbmRhck1vZHVsZSB7fVxuIl19
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2stYm94LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jaGVjay1ib3gvc3JjL2xpYi9jaGVjay1ib3guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NoZWNrLWJveC9zcmMvbGliL2NoZWNrLWJveC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUVsRixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUM1RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUM5RCxPQUFPLEVBRUwsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxlQUFlLEVBQ2YsWUFBWSxFQUNaLEtBQUssRUFDTCxTQUFTLEVBQ1QsaUJBQWlCLEVBQ2pCLFVBQVUsR0FDWCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7O0FBRW5EOzs7O0dBSUc7QUFrQkgsTUFBTSxPQUFPLG1CQUFvQixTQUFRLGdCQUFnQztJQWpCekU7O1FBd0JFOzs7O1dBSUc7UUFFSSxrQkFBYSxHQUFHLEtBQUssQ0FBQztRQUU3Qjs7V0FFRztRQUNPLHdCQUFtQixHQUFHLEtBQUssQ0FBQzt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1sbnM9XCJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Z1wiIHdpZHRoPVwiMTZcIiBoZWlnaHQ9XCIxNlwiIHZpZXdCb3g9XCIwIDAgMTYgMTZcIj5cbiAgICAgICAgPHBhdGhcbiAgICAgICAgICBkPVwiTTEyLjIwNyA0Ljc5M2ExIDEgMCAwMTAgMS40MTRsLTUgNWExIDEgMCAwMS0xLjQxNCAwbC0yLTJhMSAxIDAgMDExLjQxNC0xLjQxNEw2LjUgOS4wODZsNC4yOTMtNC4yOTNhMSAxIDAgMDExLjQxNCAwelwiXG4gICAgICAgIC8+XG4gICAgICA8L3N2Zz5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXYgY2xhc3M9XCJheC1jaGVja2JveC1lbmQtc2lkZVwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWxhYmVsXCI+PC9uZy1jb250ZW50PlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWZvcm0taGludFwiPjwvbmctY29udGVudD5cbiAgICA8c3BhbiBjbGFzcz1cImF4LWVycm9yLWNvbnRhaW5lclwiPjwvc3Bhbj5cbiAgPC9kaXY+XG48L2Rpdj5cbjxuZy1jb250ZW50IHNlbGVjdD1cImF4LXZhbGlkYXRpb24tcnVsZVwiPjwvbmctY29udGVudD5cbiJdfQ==
@@ -218,6 +218,7 @@ export class MXSelectionValueComponent extends MXValueComponent {
218
218
  clearSelectionCache() {
219
219
  this.dataService.cacheList = {};
220
220
  this.dataService.selectedItems = [];
221
+ this.cdr.markForCheck();
221
222
  }
222
223
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MXSelectionValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
223
224
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MXSelectionValueComponent }); }
@@ -225,4 +226,4 @@ export class MXSelectionValueComponent extends MXValueComponent {
225
226
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MXSelectionValueComponent, decorators: [{
226
227
  type: Injectable
227
228
  }] });
228
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWJhc2UuY29tcG9uZW50LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvc2VsZWN0aW9uLWJhc2UuY29tcG9uZW50LmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsVUFBVSxFQUFFLGNBQWMsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBRzNELE1BQU0sT0FBTyx3QkFBd0I7SUFEckM7UUFFUyxrQkFBYSxHQUFjLEVBQUUsQ0FBQztRQUM5QixjQUFTLEdBQXdDLEVBQUUsQ0FBQztLQUM1RDs4R0FIWSx3QkFBd0I7a0hBQXhCLHdCQUF3Qjs7MkZBQXhCLHdCQUF3QjtrQkFEcEMsVUFBVTs7QUFNWCxNQUFNLENBQUMsTUFBTSx1QkFBdUIsR0FBRyxJQUFJLGNBQWMsQ0FDdkQseUJBQXlCLENBQzFCLENBQUM7QUFHRixNQUFNLE9BQWdCLHlCQUF1QyxTQUFRLGdCQUF5QjtJQUQ5Rjs7UUFFVSxrQkFBYSxHQUFHLE1BQU0sQ0FBQyxlQ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gICAgLy9cbiAgICBpZiAodGhpcy5kYXRhU2VydmljZS5jYWNoZUxpc3RbY2FjaGVLZXldICYmIHRoaXMuZGF0YVNlcnZpY2UuY2FjaGVMaXN0W2NhY2hlS2V5XVt0aGlzLnRleHRGaWVsZF0pXG4gICAgICByZXR1cm4gdGhpcy5kYXRhU2VydmljZS5jYWNoZUxpc3RbY2FjaGVLZXldO1xuICAgIC8vXG4gICAgY29uc3Qgb2JqOiB1bmtub3duID0ge307XG4gICAgaWYgKGNvbXBsZXggJiYgaGFzVGV4dCkge1xuICAgICAgT2JqZWN0LmFzc2lnbihvYmosIGl0ZW0pO1xuICAgIH0gZWxzZSB7XG4gICAgICBjb25zdCBleGlzdHNJdGVtID0gZmluZEJ5a2V5ID8gdGhpcy5nZXRJdGVtQnlLZXkoa2V5KSA6IG51bGw7XG4gICAgICBpZiAoZXhpc3RzSXRlbSAmJiBleGlzdHNJdGVtIGluc3RhbmNlb2YgUHJvbWlzZSkge1xuICAgICAgICBvYmpbdGhpcy52YWx1ZUZpZWxkXSA9IGtleTtcbiAgICAgICAgb2JqWydpc0xvYWRpbmcnXSA9IHRydWU7XG4gICAgICAgIG9ialt0aGlzLnRleHRGaWVsZF0gPSAnTG9hZGluZyc7XG4gICAgICAgIC8vXG4gICAgICAgIGV4aXN0c0l0ZW1cbiAgICAgICAgICAudGhlbigocikgPT4ge1xuICAgICAgICAgICAgaWYgKHR5cGVvZiByID09PSAnb2JqZWN0JyAmJiByKSB7XG4gICAgICAgICAgICAgIG9ialt0aGlzLnZhbHVlRmllbGRdID0gclt0aGlzLnZhbHVlRmllbGRdO1xuICAgICAgICAgICAgICBvYmpbdGhpcy50ZXh0RmllbGRdID0gclt0aGlzLnRleHRGaWVsZF07XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICBvYmpbdGhpcy52YWx1ZUZpZWxkXSA9IHIgfHwga2V5O1xuICAgICAgICAgICAgICBvYmpbdGhpcy50ZXh0RmllbGRdID0gcjtcb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ShpdGVtOiBUKSB7XG4gICAgY29uc3Qgbm9ybWFsaXplSXRlbSA9IHRoaXMubm9ybWFsaXplSXRlbShpdGVtKSBhcyBhbnk7XG4gICAgcmV0dXJuIG5vcm1hbGl6ZUl0ZW1bdGhpcy52YWx1ZUZpZWxkXTtcbiAgfVxuXG4gIHByb3RlY3RlZCBjbGVhclNlbGVjdGlvbkNhY2hlKCkge1xuICAgIHRoaXMuZGF0YVNlcnZpY2UuY2FjaGVMaXN0ID0ge307XG4gICAgdGhpcy5kYXRhU2VydmljZS5zZWxlY3RlZEl0ZW1zID0gW107XG4gICAgdGhpcy5jZHIubWFya0ZvckNoZWNrKCk7XG4gIH1cbn1cbiJdfQ==
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3Jvbi1qb2ItY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jcm9uLWpvYi9zcmMvb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