@acorex/components 18.14.1-next.2 → 18.14.1-next.4
Sign up to get free protection for your applications and to get access to all the features.
- package/check-box/lib/check-box.component.d.ts +4 -2
- package/common/lib/components/selection-base.component.class.d.ts +1 -0
- package/esm2022/check-box/lib/check-box.component.mjs +23 -27
- package/esm2022/common/lib/classes/components.class.mjs +1 -1
- package/esm2022/common/lib/components/selection-base.component.class.mjs +5 -1
- package/esm2022/cron-job/lib/day/day.component.mjs +1 -1
- package/esm2022/cron-job/lib/hours/hours.component.mjs +1 -1
- package/esm2022/cron-job/lib/minutes/minutes.component.mjs +1 -1
- package/esm2022/cron-job/lib/month/month.component.mjs +1 -1
- package/esm2022/cron-job/lib/seconds/seconds.component.mjs +1 -1
- package/esm2022/cron-job/lib/year/year.component.mjs +1 -1
- package/esm2022/form/lib/form.component.mjs +27 -5
- package/esm2022/selection-list/lib/selection-list.component.mjs +2 -2
- package/esm2022/side-menu/lib/side-menu.component.mjs +2 -2
- package/fesm2022/acorex-components-check-box.mjs +23 -27
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +4 -0
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +6 -6
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +25 -4
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +1 -1
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +2 -2
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/form/lib/form.component.d.ts +6 -2
- package/package.json +1 -1
@@ -40,10 +40,11 @@ export declare class AXCheckBoxComponent extends AXCheckBoxComponent_base {
|
|
40
40
|
*/
|
41
41
|
protected ngOnInit(): void;
|
42
42
|
/**
|
43
|
-
*
|
43
|
+
* @ignore
|
44
44
|
*/
|
45
|
+
ngAfterViewInit(): void;
|
45
46
|
/**
|
46
|
-
*
|
47
|
+
* @ignore
|
47
48
|
*/
|
48
49
|
private _handleClick;
|
49
50
|
/**
|
@@ -54,6 +55,7 @@ export declare class AXCheckBoxComponent extends AXCheckBoxComponent_base {
|
|
54
55
|
* @ignore
|
55
56
|
*/
|
56
57
|
private get __hostClass();
|
58
|
+
protected changeValue(): void;
|
57
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
58
60
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], false, never>;
|
59
61
|
}
|
@@ -47,6 +47,7 @@ export declare abstract class MXSelectionValueComponent<T = unknown> extends MXV
|
|
47
47
|
protected getDisplayText(item: T): any;
|
48
48
|
protected getValue(item: T): any;
|
49
49
|
protected clearSelectionCache(): void;
|
50
|
+
protected softClearSelectionCache(): void;
|
50
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXSelectionValueComponent<any>, never>;
|
51
52
|
static ɵprov: i0.ɵɵInjectableDeclaration<MXSelectionValueComponent<any>>;
|
52
53
|
}
|
@@ -5,8 +5,7 @@ import { ChangeDetectionStrategy, Component, ContentChildren, HostBinding, HostL
|
|
5
5
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
6
6
|
import { classes } from 'polytype';
|
7
7
|
import * as i0 from "@angular/core";
|
8
|
-
import * as i1 from "@angular/
|
9
|
-
import * as i2 from "@angular/forms";
|
8
|
+
import * as i1 from "@angular/forms";
|
10
9
|
/**
|
11
10
|
* A checkbox component that allows users to select or deselect an option.
|
12
11
|
*
|
@@ -66,33 +65,25 @@ export class AXCheckBoxComponent extends classes((MXValueComponent), MXColorComp
|
|
66
65
|
this.registerValidation();
|
67
66
|
}
|
68
67
|
/**
|
69
|
-
*
|
68
|
+
* @ignore
|
70
69
|
*/
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
// });
|
80
|
-
// }
|
70
|
+
ngAfterViewInit() {
|
71
|
+
this._labels?.forEach((c) => {
|
72
|
+
//TODO: remove listener
|
73
|
+
c.getHostElement().addEventListener('click', () => {
|
74
|
+
this.changeValue();
|
75
|
+
});
|
76
|
+
});
|
77
|
+
}
|
81
78
|
/**
|
82
|
-
*
|
79
|
+
* @ignore
|
83
80
|
*/
|
84
|
-
_handleClick(
|
85
|
-
|
81
|
+
_handleClick(e) {
|
82
|
+
e.stopPropagation();
|
86
83
|
if (this.readonly || this.disabled) {
|
87
|
-
|
84
|
+
e.preventDefault();
|
88
85
|
return false;
|
89
86
|
}
|
90
|
-
const allowedTags = ['label', 'svg', 'path', 'input'];
|
91
|
-
const targetTag = event.target.tagName.toLowerCase();
|
92
|
-
if (!allowedTags.includes(targetTag)) {
|
93
|
-
return false;
|
94
|
-
}
|
95
|
-
this.commitValue(!this.value, true);
|
96
87
|
return true;
|
97
88
|
}
|
98
89
|
/**
|
@@ -107,15 +98,20 @@ export class AXCheckBoxComponent extends classes((MXValueComponent), MXColorComp
|
|
107
98
|
get __hostClass() {
|
108
99
|
return `ax-${this.color ? this.color : 'primary'}-solid`;
|
109
100
|
}
|
101
|
+
changeValue() {
|
102
|
+
if (!this.readonly && !this.disabled) {
|
103
|
+
this.commitValue(!this.value, true);
|
104
|
+
}
|
105
|
+
}
|
110
106
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCheckBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
111
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
107
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.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: [
|
112
108
|
{ provide: AXValuableComponent, useExisting: AXCheckBoxComponent },
|
113
109
|
{
|
114
110
|
provide: NG_VALUE_ACCESSOR,
|
115
111
|
useExisting: forwardRef(() => AXCheckBoxComponent),
|
116
112
|
multi: true,
|
117
113
|
},
|
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 }); }
|
114
|
+
], 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\" (click)=\"changeValue()\">\n @if (cb.indeterminate) {\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <rect x=\"3\" y=\"7\" width=\"10\" height=\"2\" />\n </svg>\n }\n @if (cb.checked) {\n <svg 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 }\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{transition:.15s cubic-bezier(0,0,.2,1)}.ax-ghost-solid .ax-check-box:checked,.ax-ghost-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-ghost-solid .ax-check-box:focus-visible,.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-500))}.ax-ghost-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore))}\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 }); }
|
119
115
|
}
|
120
116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
|
121
117
|
type: Component,
|
@@ -126,7 +122,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
126
122
|
useExisting: forwardRef(() => AXCheckBoxComponent),
|
127
123
|
multi: true,
|
128
124
|
},
|
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"] }]
|
125
|
+
], 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\" (click)=\"changeValue()\">\n @if (cb.indeterminate) {\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <rect x=\"3\" y=\"7\" width=\"10\" height=\"2\" />\n </svg>\n }\n @if (cb.checked) {\n <svg 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 }\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{transition:.15s cubic-bezier(0,0,.2,1)}.ax-ghost-solid .ax-check-box:checked,.ax-ghost-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-ghost-solid .ax-check-box:focus-visible,.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-500))}.ax-ghost-solid .ax-checkbox-background svg{fill:rgba(var(--ax-color-primary-fore))}\n"] }]
|
130
126
|
}], propDecorators: { _labels: [{
|
131
127
|
type: ContentChildren,
|
132
128
|
args: [AXLabelComponent]
|
@@ -139,4 +135,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
139
135
|
type: HostBinding,
|
140
136
|
args: ['class']
|
141
137
|
}] } });
|
142
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIj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ZGl2PlxuPC9kaXY+XG48bmctY29udGVudCBzZWxlY3Q9XCJheC12YWxpZGF0aW9uLXJ1bGVcIj48L25nLWNvbnRlbnQ+XG4iXX0=
|
@@ -73,4 +73,4 @@ export class AXPagedComponent extends AXComponent {
|
|
73
73
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPagedComponent, decorators: [{
|
74
74
|
type: Injectable
|
75
75
|
}] });
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tb24vc3JjL2xpYi9jbGFzc2VzL2NvbXBvbmVudHMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFnQixVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLE9BQU8sRUFBdUIsTUFBTSxnQkFBZ0IsQ0FBQzs7QUFFOUQsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLFVBQVUsQ0FBQztBQUV2QyxNQUFNLE9BQU8scUJBQXNCLFNBQVEsT0FBTztDQUVqRDtBQUNELE1BQU0sT0FBTyxrQkFBa0I7SUFBL0I7UUFDRSxXQUFNLEdBQUcsS0FBSyxDQUFDO0lBRWpCLENBQUM7Q0FBQTtBQUVELE1BQU0sT0FBTyxpQkFBaUI7Q0FHN0I7QUFPRDs7R0FFRztBQUNILE1BQU0sT0FBTyx3QkFBeUIsU0FBUSxPQUEwQjtJQUV0RSxZQUNFLFFBR1M7UUFFVCxLQUFLLENBQUMsUUFBUSxDQUFDLENBQUM7SUFDbEIsQ0FBQztJQUVNLEtBQUs7UUFDVixJQUFJLElBQ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90YWxDb3VudCgpOiBudW1iZXI7XG4gIGdldCBwYWdlU2l6ZSgpOiBudW1iZXI7XG4gIG9uUGFnZUNoYW5nZWQ6IEV2ZW50RW1pdHRlcjxBWFZhbHVlQ2hhbmdlZEV2ZW50PG51bWJlcj4+O1xufVxuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgQVhQYWdlZENvbXBvbmVudCBleHRlbmRzIEFYQ29tcG9uZW50IGltcGxlbWVudHMgQVhQYWdlZENvbXBvbmVudEludGVyZmFjZSB7XG4gIGFic3RyYWN0IGdvVG9QYWdlKHBhZ2U6IG51bWJlcik7XG4gIGFic3RyYWN0IGdldCB0b3RhbENvdW50KCk6IG51bWJlcjtcbiAgYWJzdHJhY3QgcGFnZVNpemU6IG51bWJlcjtcbiAgYWJzdHJhY3Qgb25QYWdlQ2hhbmdlZDogRXZlbnRFbWl0dGVyPEFYVmFsdWVDaGFuZ2VkRXZlbnQ8bnVtYmVyPj47XG59XG4iXX0=
|
@@ -220,10 +220,14 @@ export class MXSelectionValueComponent extends MXValueComponent {
|
|
220
220
|
this.dataService.selectedItems = [];
|
221
221
|
this.cdr.markForCheck();
|
222
222
|
}
|
223
|
+
softClearSelectionCache() {
|
224
|
+
this.dataService.cacheList = {};
|
225
|
+
this.cdr.markForCheck();
|
226
|
+
}
|
223
227
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MXSelectionValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
224
228
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MXSelectionValueComponent }); }
|
225
229
|
}
|
226
230
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MXSelectionValueComponent, decorators: [{
|
227
231
|
type: Injectable
|
228
232
|
}] });
|
229
|
-
//# sourceMappingURL=data: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m9ybWFsaXplSXRlbVt0aGlzLnZhbHVlRmllbGRdO1xuICB9XG5cbiAgcHJvdGVjdGVkIGdldFZhbHVlKGl0ZW06IFQpIHtcbiAgICBjb25zdCBub3JtYWxpemVJdGVtID0gdGhpcy5ub3JtYWxpemVJdGVtKGl0ZW0pIGFzIGFueTtcbiAgICByZXR1cm4gbm9ybWFsaXplSXRlbVt0aGlzLnZhbHVlRmllbGRdO1xuICB9XG5cbiAgcHJvdGVjdGVkIGNsZWFyU2VsZWN0aW9uQ2FjaGUoKSB7XG4gICAgdGhpcy5kYXRhU2VydmljZS5jYWNoZUxpc3QgPSB7fTtcbiAgICB0aGlzLmRhdGFTZXJ2aWNlLnNlbGVjdGVkSXRlbXMgPSBbXTtcbiAgICB0aGlzLmNkci5tYXJrRm9yQ2hlY2soKTtcbiAgfVxuXG4gIHByb3RlY3RlZCBzb2Z0Q2xlYXJTZWxlY3Rpb25DYWNoZSgpIHtcbiAgICB0aGlzLmRhdGFTZXJ2aWNlLmNhY2hlTGlzdCA9IHt9O1xuICAgIHRoaXMuY2RyLm1hcmtGb3JDaGVjaygpO1xuICB9XG59XG4iXX0=
|
@@ -52,7 +52,7 @@ export class AXCronDayComponent {
|
|
52
52
|
return this.dayService.dayModel.baseOnMonth.type === BaseOnMonthType.Before ? true : false;
|
53
53
|
}
|
54
54
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCronDayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
55
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXCronDayComponent, selector: "ax-cron-day", ngImport: i0, template: "<div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"option\"\n id=\"option1\"\n value=\"every\"\n [(ngModel)]=\"dayService.dayModel.type\"\n checked\n />\n <label for=\"option1\">{{ 'Every' | translate | async }} {{ 'time.day' | translate | async }}</label>\n</div>\n\n<div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"option\"\n id=\"option2\"\n value=\"boweek\"\n [(ngModel)]=\"dayService.dayModel.type\"\n />\n <label for=\"option2\">{{ 'Base on week' | translate | async }}</label>\n</div>\n\n<div class=\"ax-block-container\">\n <div class=\"ax-week-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"boweek\"\n id=\"boweekLast\"\n value=\"last\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.type\"\n [disabled]=\"!isBoWeek\"\n />\n\n <span>{{ 'On the last' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek\"\n [dataSource]=\"boWeekDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.last.day\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'of the month' | translate | async }}</span>\n </div>\n\n <div>\n <div class=\"ax-radio-container\">\n <input\n type=\"radio\"\n class=\"ax-radio\"\n name=\"boweek\"\n id=\"boweekCustom\"\n value=\"custom\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.type\"\n [disabled]=\"!isBoWeek\"\n />\n <label for=\"boweekLast\">{{ 'Custom' | translate | async }}</label>\n </div>\n\n <div class=\"ax-block-container\">\n <div class=\"ax-week-container\">\n <ax-check-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.repeat.isRepeat\"\n >\n </ax-check-box>\n\n <span>{{ 'Every' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"daysList\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.repeat.interval\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'day(s) starting on' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"boWeekDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.repeat.startAt\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n </div>\n\n <div class=\"ax-specific-container\">\n <div class=\"ax-flex-container\">\n <ax-check-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.specific.isSpecefic\"\n >\n </ax-check-box>\n <label>{{ 'Specific day(s) of week (choose one or many)' | translate | async }}</label>\n </div>\n\n <ax-form>\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"boWeekDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [placeholder]=\"'select day(s)' | translate | async\"\n [multiple]=\"true\"\n (onValueChanged)=\"changeHandler($event)\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n </div>\n\n <div class=\"ax-week-container\">\n <ax-check-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.dayOfMonth.isDayOfMonth\"\n >\n </ax-check-box>\n\n <span>{{ 'On the' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"daysIndexInMonth\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.dayOfMonth.xst\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'st' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"boWeekDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.dayOfMonth.day\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'of month' | translate | async }}</span>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"option\"\n id=\"option3\"\n value=\"bomonth\"\n [(ngModel)]=\"dayService.dayModel.type\"\n />\n <label for=\"option2\">{{ 'Base on Month' | translate | async }}</label>\n</div>\n\n<div class=\"ax-block-container\">\n <div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"bomonth\"\n id=\"bomonthLast\"\n value=\"last\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.type\"\n [disabled]=\"!isBoMonth\"\n />\n <label for=\"bomonthLast\">{{ 'On the Last day of the month' | translate | async }}</label>\n </div>\n\n <div class=\"ax-week-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"bomonth\"\n id=\"bomonthLast\"\n value=\"before\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.type\"\n [disabled]=\"!isBoMonth\"\n />\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoMonth || !isBoMonthBefore\"\n [dataSource]=\"zeroTo30\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.before\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'day(s) before the end of the month' | translate | async }}</span>\n </div>\n\n <div class=\"ax-block-container\">\n <div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"bomonth\"\n id=\"bomonthCustom\"\n value=\"custom\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.type\"\n [disabled]=\"!isBoMonth\"\n />\n <label for=\"bomonthCustom\">{{ 'Custom' | translate | async }}</label>\n </div>\n\n <div class=\"ax-block-container\">\n <div class=\"ax-week-container\">\n <ax-check-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.custom.repeat.isRepeat\"\n >\n </ax-check-box>\n\n <span>{{ 'Every' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [dataSource]=\"zeroTo30\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.custom.repeat.interval\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'day(s) starting on' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [dataSource]=\"zeroTo30\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.custom.repeat.startAt\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'st of the month' | translate | async }}</span>\n </div>\n\n <div class=\"ax-specific-container\">\n <div class=\"ax-flex-container\">\n <ax-check-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.custom.specific.isSpecefic\"\n >\n </ax-check-box>\n\n <label>{{ 'Specific day(s) of month (choose one or many)' | translate | async }}</label>\n </div>\n\n <ax-form>\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [dataSource]=\"boMonthDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [placeholder]=\"'select day(s)' | translate | async\"\n [multiple]=\"true\"\n (onValueChanged)=\"changeHandler2($event)\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n </div>\n </div>\n </div>\n</div>\n", styles: ["ax-cron-day .ax-radio-container,ax-cron-hours .ax-radio-container,ax-cron-minutes .ax-radio-container,ax-cron-month .ax-radio-container,ax-cron-seconds .ax-radio-container,ax-cron-year .ax-radio-container{margin-bottom:.5rem;display:flex;align-items:center}ax-cron-day .ax-radio-container input,ax-cron-hours .ax-radio-container input,ax-cron-minutes .ax-radio-container input,ax-cron-month .ax-radio-container input,ax-cron-seconds .ax-radio-container input,ax-cron-year .ax-radio-container input{margin-inline-end:.5rem}ax-cron-day .ax-block-container,ax-cron-hours .ax-block-container,ax-cron-minutes .ax-block-container,ax-cron-month .ax-block-container,ax-cron-seconds .ax-block-container,ax-cron-year .ax-block-container{padding-inline-start:1.5rem}ax-cron-day .ax-block-container .ax-every-container,ax-cron-hours .ax-block-container .ax-every-container,ax-cron-minutes .ax-block-container .ax-every-container,ax-cron-month .ax-block-container .ax-every-container,ax-cron-seconds .ax-block-container .ax-every-container,ax-cron-year .ax-block-container .ax-every-container{display:flex;align-items:center}ax-cron-day .ax-block-container .ax-every-container ax-form,ax-cron-hours .ax-block-container .ax-every-container ax-form,ax-cron-minutes .ax-block-container .ax-every-container ax-form,ax-cron-month .ax-block-container .ax-every-container ax-form,ax-cron-seconds .ax-block-container .ax-every-container ax-form,ax-cron-year .ax-block-container .ax-every-container ax-form{width:fit-content;margin-inline:.5rem}ax-cron-day .ax-block-container .ax-specific-container,ax-cron-hours .ax-block-container .ax-specific-container,ax-cron-minutes .ax-block-container .ax-specific-container,ax-cron-month .ax-block-container .ax-specific-container,ax-cron-seconds .ax-block-container .ax-specific-container,ax-cron-year .ax-block-container .ax-specific-container{margin-block:.5rem}ax-cron-day .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-hours .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-minutes .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-month .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-seconds .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-year .ax-block-container .ax-specific-container .ax-flex-container{display:flex;align-items:center;margin-bottom:.5rem}ax-cron-day .ax-block-container .ax-between-container,ax-cron-hours .ax-block-container .ax-between-container,ax-cron-minutes .ax-block-container .ax-between-container,ax-cron-month .ax-block-container .ax-between-container,ax-cron-seconds .ax-block-container .ax-between-container,ax-cron-year .ax-block-container .ax-between-container{display:flex;align-items:center}ax-cron-day .ax-block-container .ax-between-container .ax-flex-container,ax-cron-hours .ax-block-container .ax-between-container .ax-flex-container,ax-cron-minutes .ax-block-container .ax-between-container .ax-flex-container,ax-cron-month .ax-block-container .ax-between-container .ax-flex-container,ax-cron-seconds .ax-block-container .ax-between-container .ax-flex-container,ax-cron-year .ax-block-container .ax-between-container .ax-flex-container{display:flex;align-items:center;margin-bottom:.5rem}ax-cron-day .ax-block-container .ax-between-container ax-form,ax-cron-hours .ax-block-container .ax-between-container ax-form,ax-cron-minutes .ax-block-container .ax-between-container ax-form,ax-cron-month .ax-block-container .ax-between-container ax-form,ax-cron-seconds .ax-block-container .ax-between-container ax-form,ax-cron-year .ax-block-container .ax-between-container ax-form{width:fit-content;margin-inline:.5rem}ax-cron-day .ax-block-container .ax-week-container,ax-cron-hours .ax-block-container .ax-week-container,ax-cron-minutes .ax-block-container .ax-week-container,ax-cron-month .ax-block-container .ax-week-container,ax-cron-seconds .ax-block-container .ax-week-container,ax-cron-year .ax-block-container .ax-week-container{display:flex;align-items:center;margin-bottom:.5rem}ax-cron-day .ax-block-container .ax-week-container ax-form,ax-cron-hours .ax-block-container .ax-week-container ax-form,ax-cron-minutes .ax-block-container .ax-week-container ax-form,ax-cron-month .ax-block-container .ax-week-container ax-form,ax-cron-seconds .ax-block-container .ax-week-container ax-form,ax-cron-year .ax-block-container .ax-week-container ax-form{width:fit-content;margin-inline:.5rem}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { 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"] }, { kind: "component", type: i3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "component", type: i4.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i4.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "component", type: i5.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
55
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXCronDayComponent, selector: "ax-cron-day", ngImport: i0, template: "<div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"option\"\n id=\"option1\"\n value=\"every\"\n [(ngModel)]=\"dayService.dayModel.type\"\n checked\n />\n <label for=\"option1\">{{ 'Every' | translate | async }} {{ 'time.day' | translate | async }}</label>\n</div>\n\n<div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"option\"\n id=\"option2\"\n value=\"boweek\"\n [(ngModel)]=\"dayService.dayModel.type\"\n />\n <label for=\"option2\">{{ 'Base on week' | translate | async }}</label>\n</div>\n\n<div class=\"ax-block-container\">\n <div class=\"ax-week-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"boweek\"\n id=\"boweekLast\"\n value=\"last\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.type\"\n [disabled]=\"!isBoWeek\"\n />\n\n <span>{{ 'On the last' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek\"\n [dataSource]=\"boWeekDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.last.day\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'of the month' | translate | async }}</span>\n </div>\n\n <div>\n <div class=\"ax-radio-container\">\n <input\n type=\"radio\"\n class=\"ax-radio\"\n name=\"boweek\"\n id=\"boweekCustom\"\n value=\"custom\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.type\"\n [disabled]=\"!isBoWeek\"\n />\n <label for=\"boweekLast\">{{ 'Custom' | translate | async }}</label>\n </div>\n\n <div class=\"ax-block-container\">\n <div class=\"ax-week-container\">\n <ax-check-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.repeat.isRepeat\"\n >\n </ax-check-box>\n\n <span>{{ 'Every' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"daysList\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.repeat.interval\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'day(s) starting on' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"boWeekDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.repeat.startAt\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n </div>\n\n <div class=\"ax-specific-container\">\n <div class=\"ax-flex-container\">\n <ax-check-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.specific.isSpecefic\"\n >\n </ax-check-box>\n <label>{{ 'Specific day(s) of week (choose one or many)' | translate | async }}</label>\n </div>\n\n <ax-form>\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"boWeekDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [placeholder]=\"'select day(s)' | translate | async\"\n [multiple]=\"true\"\n (onValueChanged)=\"changeHandler($event)\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n </div>\n\n <div class=\"ax-week-container\">\n <ax-check-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.dayOfMonth.isDayOfMonth\"\n >\n </ax-check-box>\n\n <span>{{ 'On the' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"daysIndexInMonth\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.dayOfMonth.xst\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'st' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoWeek || !isBoWeekCustom\"\n [dataSource]=\"boWeekDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnWeek.custom.dayOfMonth.day\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'of month' | translate | async }}</span>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"option\"\n id=\"option3\"\n value=\"bomonth\"\n [(ngModel)]=\"dayService.dayModel.type\"\n />\n <label for=\"option2\">{{ 'Base on Month' | translate | async }}</label>\n</div>\n\n<div class=\"ax-block-container\">\n <div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"bomonth\"\n id=\"bomonthLast\"\n value=\"last\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.type\"\n [disabled]=\"!isBoMonth\"\n />\n <label for=\"bomonthLast\">{{ 'On the Last day of the month' | translate | async }}</label>\n </div>\n\n <div class=\"ax-week-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"bomonth\"\n id=\"bomonthLast\"\n value=\"before\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.type\"\n [disabled]=\"!isBoMonth\"\n />\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoMonth || !isBoMonthBefore\"\n [dataSource]=\"zeroTo30\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.before\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'day(s) before the end of the month' | translate | async }}</span>\n </div>\n\n <div class=\"ax-block-container\">\n <div class=\"ax-radio-container\">\n <input\n class=\"ax-radio\"\n type=\"radio\"\n name=\"bomonth\"\n id=\"bomonthCustom\"\n value=\"custom\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.type\"\n [disabled]=\"!isBoMonth\"\n />\n <label for=\"bomonthCustom\">{{ 'Custom' | translate | async }}</label>\n </div>\n\n <div class=\"ax-block-container\">\n <div class=\"ax-week-container\">\n <ax-check-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.custom.repeat.isRepeat\"\n >\n </ax-check-box>\n\n <span>{{ 'Every' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [dataSource]=\"zeroTo30\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.custom.repeat.interval\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'day(s) starting on' | translate | async }}</span>\n\n <ax-form class=\"ax-sm\">\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [dataSource]=\"zeroTo30\"\n textField=\"text\"\n valueField=\"id\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.custom.repeat.startAt\"\n >\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n\n <span>{{ 'st of the month' | translate | async }}</span>\n </div>\n\n <div class=\"ax-specific-container\">\n <div class=\"ax-flex-container\">\n <ax-check-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [(ngModel)]=\"dayService.dayModel.baseOnMonth.custom.specific.isSpecefic\"\n >\n </ax-check-box>\n\n <label>{{ 'Specific day(s) of month (choose one or many)' | translate | async }}</label>\n </div>\n\n <ax-form>\n <ax-form-field>\n <ax-select-box\n [disabled]=\"!isBoMonth || !isBoMonthCustom\"\n [dataSource]=\"boMonthDropDownList\"\n textField=\"text\"\n valueField=\"id\"\n [placeholder]=\"'select day(s)' | translate | async\"\n [multiple]=\"true\"\n (onValueChanged)=\"changeHandler2($event)\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-select-box>\n </ax-form-field>\n </ax-form>\n </div>\n </div>\n </div>\n</div>\n", styles: ["ax-cron-day .ax-radio-container,ax-cron-hours .ax-radio-container,ax-cron-minutes .ax-radio-container,ax-cron-month .ax-radio-container,ax-cron-seconds .ax-radio-container,ax-cron-year .ax-radio-container{margin-bottom:.5rem;display:flex;align-items:center}ax-cron-day .ax-radio-container input,ax-cron-hours .ax-radio-container input,ax-cron-minutes .ax-radio-container input,ax-cron-month .ax-radio-container input,ax-cron-seconds .ax-radio-container input,ax-cron-year .ax-radio-container input{margin-inline-end:.5rem}ax-cron-day .ax-block-container,ax-cron-hours .ax-block-container,ax-cron-minutes .ax-block-container,ax-cron-month .ax-block-container,ax-cron-seconds .ax-block-container,ax-cron-year .ax-block-container{padding-inline-start:1.5rem}ax-cron-day .ax-block-container .ax-every-container,ax-cron-hours .ax-block-container .ax-every-container,ax-cron-minutes .ax-block-container .ax-every-container,ax-cron-month .ax-block-container .ax-every-container,ax-cron-seconds .ax-block-container .ax-every-container,ax-cron-year .ax-block-container .ax-every-container{display:flex;align-items:center}ax-cron-day .ax-block-container .ax-every-container ax-form,ax-cron-hours .ax-block-container .ax-every-container ax-form,ax-cron-minutes .ax-block-container .ax-every-container ax-form,ax-cron-month .ax-block-container .ax-every-container ax-form,ax-cron-seconds .ax-block-container .ax-every-container ax-form,ax-cron-year .ax-block-container .ax-every-container ax-form{width:fit-content;margin-inline:.5rem}ax-cron-day .ax-block-container .ax-specific-container,ax-cron-hours .ax-block-container .ax-specific-container,ax-cron-minutes .ax-block-container .ax-specific-container,ax-cron-month .ax-block-container .ax-specific-container,ax-cron-seconds .ax-block-container .ax-specific-container,ax-cron-year .ax-block-container .ax-specific-container{margin-block:.5rem}ax-cron-day .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-hours .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-minutes .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-month .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-seconds .ax-block-container .ax-specific-container .ax-flex-container,ax-cron-year .ax-block-container .ax-specific-container .ax-flex-container{display:flex;align-items:center;margin-bottom:.5rem}ax-cron-day .ax-block-container .ax-between-container,ax-cron-hours .ax-block-container .ax-between-container,ax-cron-minutes .ax-block-container .ax-between-container,ax-cron-month .ax-block-container .ax-between-container,ax-cron-seconds .ax-block-container .ax-between-container,ax-cron-year .ax-block-container .ax-between-container{display:flex;align-items:center}ax-cron-day .ax-block-container .ax-between-container .ax-flex-container,ax-cron-hours .ax-block-container .ax-between-container .ax-flex-container,ax-cron-minutes .ax-block-container .ax-between-container .ax-flex-container,ax-cron-month .ax-block-container .ax-between-container .ax-flex-container,ax-cron-seconds .ax-block-container .ax-between-container .ax-flex-container,ax-cron-year .ax-block-container .ax-between-container .ax-flex-container{display:flex;align-items:center;margin-bottom:.5rem}ax-cron-day .ax-block-container .ax-between-container ax-form,ax-cron-hours .ax-block-container .ax-between-container ax-form,ax-cron-minutes .ax-block-container .ax-between-container ax-form,ax-cron-month .ax-block-container .ax-between-container ax-form,ax-cron-seconds .ax-block-container .ax-between-container ax-form,ax-cron-year .ax-block-container .ax-between-container ax-form{width:fit-content;margin-inline:.5rem}ax-cron-day .ax-block-container .ax-week-container,ax-cron-hours .ax-block-container .ax-week-container,ax-cron-minutes .ax-block-container .ax-week-container,ax-cron-month .ax-block-container .ax-week-container,ax-cron-seconds .ax-block-container .ax-week-container,ax-cron-year .ax-block-container .ax-week-container{display:flex;align-items:center;margin-bottom:.5rem}ax-cron-day .ax-block-container .ax-week-container ax-form,ax-cron-hours .ax-block-container .ax-week-container ax-form,ax-cron-minutes .ax-block-container .ax-week-container ax-form,ax-cron-month .ax-block-container .ax-week-container ax-form,ax-cron-seconds .ax-block-container .ax-week-container ax-form,ax-cron-year .ax-block-container .ax-week-container ax-form{width:fit-content;margin-inline:.5rem}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { 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"] }, { kind: "component", type: i3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "component", type: i4.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i4.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "component", type: i5.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
56
56
|
}
|
57
57
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCronDayComponent, decorators: [{
|
58
58
|
type: Component,
|