@softheon/armature 17.4.1 → 17.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/base-components/base-component-api.mjs +2 -1
- package/esm2022/lib/base-components/base-component.module.mjs +16 -7
- package/esm2022/lib/base-components/sof-input-stepper/sof-input-stepper.component.mjs +185 -0
- package/fesm2022/softheon-armature.mjs +187 -7
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/lib/base-components/base-component-api.d.ts +1 -0
- package/lib/base-components/base-component.module.d.ts +20 -18
- package/lib/base-components/sof-input-stepper/sof-input-stepper.component.d.ts +78 -0
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';
|
|
|
23
23
|
import * as i9 from '@angular/material/sidenav';
|
|
24
24
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
25
25
|
import * as i10 from '@angular/material/button';
|
|
26
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
26
|
+
import { MatButtonModule, MatIconButton } from '@angular/material/button';
|
|
27
27
|
import * as i11 from '@angular/material/list';
|
|
28
28
|
import { MatListModule } from '@angular/material/list';
|
|
29
29
|
import * as i12 from '@angular/material/tooltip';
|
|
@@ -5153,6 +5153,179 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImpor
|
|
|
5153
5153
|
type: Input
|
|
5154
5154
|
}] } });
|
|
5155
5155
|
|
|
5156
|
+
/**
|
|
5157
|
+
* Custom Input Stepper Component
|
|
5158
|
+
*/
|
|
5159
|
+
class SofInputStepperComponent {
|
|
5160
|
+
/** The derived form control */
|
|
5161
|
+
get derivedFormControl() {
|
|
5162
|
+
return this.control?.control;
|
|
5163
|
+
}
|
|
5164
|
+
/**
|
|
5165
|
+
* Constructor.
|
|
5166
|
+
* @param control The ng control
|
|
5167
|
+
*/
|
|
5168
|
+
constructor(control) {
|
|
5169
|
+
this.control = control;
|
|
5170
|
+
/** The minimum value */
|
|
5171
|
+
this.min = null;
|
|
5172
|
+
/** The max value */
|
|
5173
|
+
this.max = null;
|
|
5174
|
+
/** The step by which the number increases/decreases */
|
|
5175
|
+
this.step = 1;
|
|
5176
|
+
/** The label text */
|
|
5177
|
+
this.labelText = '';
|
|
5178
|
+
/** If the input is required or not */
|
|
5179
|
+
this.isRequired = true;
|
|
5180
|
+
/** The error message */
|
|
5181
|
+
this.requiredErrorMessage = '';
|
|
5182
|
+
/** The min max error message */
|
|
5183
|
+
this.minMaxErrorMessage = '';
|
|
5184
|
+
/** The aria label */
|
|
5185
|
+
this.ariaLabel = '';
|
|
5186
|
+
/** The value change event emitter */
|
|
5187
|
+
this.valueChange = new EventEmitter();
|
|
5188
|
+
/** If the input is disabled or not */
|
|
5189
|
+
this.isDisabled = false;
|
|
5190
|
+
/** The control name */
|
|
5191
|
+
this.controlName = "";
|
|
5192
|
+
/** The OnChange form control method */
|
|
5193
|
+
this.onChange = (toggleVal) => { };
|
|
5194
|
+
/** The OnTouched form control method */
|
|
5195
|
+
this.onTouched = () => { };
|
|
5196
|
+
/** The component subscription */
|
|
5197
|
+
this.subscription = new Subscription();
|
|
5198
|
+
if (this.control) {
|
|
5199
|
+
this.control.valueAccessor = this;
|
|
5200
|
+
setTimeout(() => {
|
|
5201
|
+
this.controlName = this.control.name;
|
|
5202
|
+
});
|
|
5203
|
+
}
|
|
5204
|
+
}
|
|
5205
|
+
/**
|
|
5206
|
+
* Component Initialization
|
|
5207
|
+
*/
|
|
5208
|
+
ngOnInit() {
|
|
5209
|
+
if (!this.ariaLabel) {
|
|
5210
|
+
this.ariaLabel = this.labelText;
|
|
5211
|
+
}
|
|
5212
|
+
this.setDefinedValidators();
|
|
5213
|
+
// Subscribe to form control's validation
|
|
5214
|
+
this.subscription.add(this.derivedFormControl?.valueChanges?.subscribe(() => {
|
|
5215
|
+
this.setDefinedValidators();
|
|
5216
|
+
}));
|
|
5217
|
+
}
|
|
5218
|
+
/** After View Initialization */
|
|
5219
|
+
ngAfterViewInit() {
|
|
5220
|
+
if (this.customValue != undefined && this.customValue != null) {
|
|
5221
|
+
this.derivedFormControl?.markAsTouched();
|
|
5222
|
+
this.derivedFormControl?.updateValueAndValidity();
|
|
5223
|
+
}
|
|
5224
|
+
}
|
|
5225
|
+
/** Triggered when control is changed
|
|
5226
|
+
* @param fn The callback function.
|
|
5227
|
+
*/
|
|
5228
|
+
registerOnChange(fn) {
|
|
5229
|
+
this.onChange = fn;
|
|
5230
|
+
}
|
|
5231
|
+
/** Triggered when control is touched
|
|
5232
|
+
* @param fn The callback function.
|
|
5233
|
+
*/
|
|
5234
|
+
registerOnTouched(fn) {
|
|
5235
|
+
this.onTouched = fn;
|
|
5236
|
+
}
|
|
5237
|
+
/** Sets the disabled state
|
|
5238
|
+
* @param isDisabled If the control is disabled or not
|
|
5239
|
+
*/
|
|
5240
|
+
setDisabledState(isDisabled) {
|
|
5241
|
+
this.isDisabled = isDisabled;
|
|
5242
|
+
}
|
|
5243
|
+
/** Component Destruction */
|
|
5244
|
+
ngOnDestroy() {
|
|
5245
|
+
this.subscription.unsubscribe();
|
|
5246
|
+
}
|
|
5247
|
+
/** Triggered when the form control value is set outside the component
|
|
5248
|
+
* @param newVal The new value.
|
|
5249
|
+
*/
|
|
5250
|
+
writeValue(newVal) {
|
|
5251
|
+
this.customValue = newVal;
|
|
5252
|
+
}
|
|
5253
|
+
/** Increase the value by step */
|
|
5254
|
+
increaseVal() {
|
|
5255
|
+
let newVal = this.customValue;
|
|
5256
|
+
if (!newVal) {
|
|
5257
|
+
newVal = 0;
|
|
5258
|
+
}
|
|
5259
|
+
newVal += this.step;
|
|
5260
|
+
if (this.max != null && newVal > this.max) {
|
|
5261
|
+
newVal = this.max;
|
|
5262
|
+
}
|
|
5263
|
+
this.customValue = newVal;
|
|
5264
|
+
this.derivedFormControl.setValue(this.customValue);
|
|
5265
|
+
this.derivedFormControl.markAsTouched();
|
|
5266
|
+
}
|
|
5267
|
+
/** Decrease the value by step */
|
|
5268
|
+
decreaseVal() {
|
|
5269
|
+
let newVal = this.customValue;
|
|
5270
|
+
if (!newVal) {
|
|
5271
|
+
newVal = 0;
|
|
5272
|
+
}
|
|
5273
|
+
newVal -= this.step;
|
|
5274
|
+
if (this.min != null && newVal < this.min) {
|
|
5275
|
+
newVal = this.min;
|
|
5276
|
+
}
|
|
5277
|
+
this.customValue = newVal;
|
|
5278
|
+
this.derivedFormControl.setValue(this.customValue);
|
|
5279
|
+
this.derivedFormControl.markAsTouched();
|
|
5280
|
+
}
|
|
5281
|
+
/** Updates the isRequired field based on the control */
|
|
5282
|
+
setDefinedValidators() {
|
|
5283
|
+
// Only update if a control is available
|
|
5284
|
+
if (this.derivedFormControl) {
|
|
5285
|
+
const controlValidator = this.control.control.validator;
|
|
5286
|
+
// Set the required state false when no control validator function is provided
|
|
5287
|
+
if (!controlValidator) {
|
|
5288
|
+
this.isRequired = false;
|
|
5289
|
+
return;
|
|
5290
|
+
}
|
|
5291
|
+
this.isRequired = this.derivedFormControl?.hasValidator(Validators.required);
|
|
5292
|
+
}
|
|
5293
|
+
}
|
|
5294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SofInputStepperComponent, deps: [{ token: i1$4.NgControl, host: true, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5295
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.7", type: SofInputStepperComponent, selector: "sof-input-stepper", inputs: { customValue: "customValue", min: "min", max: "max", step: "step", labelText: "labelText", isRequired: ["required", "isRequired"], requiredErrorMessage: "requiredErrorMessage", minMaxErrorMessage: "minMaxErrorMessage", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<div *ngIf=\"derivedFormControl\" fxLayoutAlign=\"row\" class=\"input-stepper-container\">\r\n <mat-form-field appearance=\"outline\" class=\"full-width sof-form-field\">\r\n <mat-label>{{ labelText | translate}}</mat-label>\r\n <input [formControl]=\"derivedFormControl\" matInput type=\"number\" [name]=\"controlName\" id=\"stepper-{{controlName}}\"\r\n attr.aria-label=\"{{ariaLabel | translate}}\" [required]=\"isRequired\" [value]=\"customValue\" [step]=\"step\"\r\n placeholder=\"{{ labelText | translate}}\" [disabled]=\"isDisabled\">\r\n <mat-error *ngIf=\"derivedFormControl?.errors?.required\">{{ requiredErrorMessage | translate}}</mat-error>\r\n <mat-error *ngIf=\"derivedFormControl?.errors?.min || derivedFormControl?.errors?.max\">{{ minMaxErrorMessage | translate}}</mat-error>\r\n <span matSuffix class=\"error\" *ngIf=\"derivedFormControl?.touched && derivedFormControl?.invalid\">\r\n <i class=\"fa-light fa-circle-exclamation\"></i>\r\n </span>\r\n </mat-form-field>\r\n <button mat-flat-button [ngClass]=\"{'invalid': derivedFormControl?.touched && derivedFormControl?.invalid}\" [disabled]=\"isDisabled\"\r\n class=\"sof-flat-icon-button\" size=\"large\" id=\"decrease-step-{{controlName}}\" (click)=\"decreaseVal()\">\r\n <i class=\"fa-regular fa-minus\"></i>\r\n </button>\r\n <button mat-flat-button [ngClass]=\"{'invalid': derivedFormControl?.touched && derivedFormControl?.invalid}\" [disabled]=\"isDisabled\"\r\n class=\"sof-flat-icon-button\" size=\"large\" id=\"increase-step-{{controlName}}\" (click)=\"increaseVal()\">\r\n <i class=\"fa-regular fa-plus\"></i>\r\n </button>\r\n</div>", styles: [":root{--primary-color-50-parts: #edf4ff;--primary-color-100-parts: #b9d4fc;--primary-color-200-parts: #8ab7fb;--primary-color-300-parts: #5b9af9;--primary-color-400-parts: #3784f7;--primary-color-500-parts: #146ef6;--primary-color-600-parts: #1266f5;--primary-color-700-parts: #0e5bf3;--primary-color-800-parts: #0b51f2;--primary-color-900-parts: #063fef;--primary-color-A100-parts: #ffffff;--primary-color-A200-parts: #e4e9ff;--primary-color-A400-parts: #b1c0ff;--primary-color-A700-parts: #97acff;--primary-color-contrast-50-parts: rgba(0, 0, 0, .87);--primary-color-contrast-100-parts: rgba(0, 0, 0, .87);--primary-color-contrast-200-parts: rgba(0, 0, 0, .87);--primary-color-contrast-300-parts: rgba(0, 0, 0, .87);--primary-color-contrast-400-parts: rgba(255, 255, 255, 1);--primary-color-contrast-500-parts: rgba(255, 255, 255, 1);--primary-color-contrast-600-parts: rgba(255, 255, 255, 1);--primary-color-contrast-700-parts: rgba(255, 255, 255, 1);--primary-color-contrast-800-parts: rgba(255, 255, 255, 1);--primary-color-contrast-900-parts: rgba(255, 255, 255, 1);--primary-color-contrast-A100-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A200-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A400-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A700-parts: rgba(0, 0, 0, .87);--primary-color-50-parts-rgb: 237, 244, 255;--primary-color-100-parts-rgb: 185, 212, 252;--primary-color-200-parts-rgb: 138, 183, 251;--primary-color-300-parts-rgb: 91, 154, 249;--primary-color-400-parts-rgb: 55, 132, 247;--primary-color-500-parts-rgb: 20, 110, 246;--primary-color-600-parts-rgb: 18, 102, 245;--primary-color-700-parts-rgb: 14, 91, 243;--primary-color-800-parts-rgb: 11, 81, 242;--primary-color-900-parts-rgb: 6, 63, 239;--primary-color-A100-parts-rgb: 255, 255, 255;--primary-color-A200-parts-rgb: 228, 233, 255;--primary-color-A400-parts-rgb: 177, 192, 255;--primary-color-A700-parts-rgb: 151, 172, 255;--accent-color-50-parts: #e0f2f1;--accent-color-100-parts: #b2dfdb;--accent-color-200-parts: #80cbc4;--accent-color-300-parts: #4db6ac;--accent-color-400-parts: #26a69a;--accent-color-500-parts: #009688;--accent-color-600-parts: #00897b;--accent-color-700-parts: #00796b;--accent-color-800-parts: #00695c;--accent-color-900-parts: #004d40;--accent-color-A100-parts: #a7ffeb;--accent-color-A200-parts: #64ffda;--accent-color-A400-parts: #1de9b6;--accent-color-A700-parts: #00bfa5;--accent-color-contrast-50-parts: #000000;--accent-color-contrast-100-parts: #000000;--accent-color-contrast-200-parts: #000000;--accent-color-contrast-300-parts: #000000;--accent-color-contrast-400-parts: #000000;--accent-color-contrast-500-parts: #ffffff;--accent-color-contrast-600-parts: #ffffff;--accent-color-contrast-700-parts: #ffffff;--accent-color-contrast-800-parts: #ffffff;--accent-color-contrast-900-parts: #ffffff;--accent-color-contrast-A100-parts: #000000;--accent-color-contrast-A200-parts: #000000;--accent-color-contrast-A400-parts: #000000;--accent-color-contrast-A700-parts: #000000;--accent-color-50-parts-rgb: 224, 242, 241;--accent-color-100-parts-rgb: 178, 223, 219;--accent-color-200-parts-rgb: 128, 203, 196;--accent-color-300-parts-rgb: 77, 182, 172;--accent-color-400-parts-rgb: 38, 166, 154;--accent-color-500-parts-rgb: 0, 150, 136;--accent-color-600-parts-rgb: 0, 137, 123;--accent-color-700-parts-rgb: 0, 121, 107;--accent-color-800-parts-rgb: 0, 105, 92;--accent-color-900-parts-rgb: 0, 77, 64;--accent-color-A100-parts-rgb: 167, 255, 235;--accent-color-A200-parts-rgb: 100, 255, 218;--accent-color-A400-parts-rgb: 29, 233, 182;--accent-color-A700-parts-rgb: 0, 191, 165;--warn-color-50-parts: #fdf3e7;--warn-color-100-parts: #fbe1c3;--warn-color-200-parts: #f9ce9c;--warn-color-300-parts: #f6ba74;--warn-color-400-parts: #f4ab56;--warn-color-500-parts: #f29c38;--warn-color-600-parts: #f09432;--warn-color-700-parts: #ee8a2b;--warn-color-800-parts: #ec8024;--warn-color-900-parts: #e86e17;--warn-color-A100-parts: #ffffff;--warn-color-A200-parts: #fff0e6;--warn-color-A400-parts: #ffd0b3;--warn-color-A700-parts: #ffc19a;--warn-color-contrast-50-parts: rgba(0, 0, 0, .87);--warn-color-contrast-100-parts: rgba(0, 0, 0, .87);--warn-color-contrast-200-parts: rgba(0, 0, 0, .87);--warn-color-contrast-300-parts: rgba(0, 0, 0, .87);--warn-color-contrast-400-parts: rgba(0, 0, 0, .87);--warn-color-contrast-500-parts: rgba(0, 0, 0, .87);--warn-color-contrast-600-parts: rgba(0, 0, 0, .87);--warn-color-contrast-700-parts: rgba(0, 0, 0, .87);--warn-color-contrast-800-parts: rgba(0, 0, 0, .87);--warn-color-contrast-900-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A100-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A200-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A400-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A700-parts: rgba(0, 0, 0, .87);--warn-color-50-parts-rgb: 253, 243, 231;--warn-color-100-parts-rgb: 251, 225, 195;--warn-color-200-parts-rgb: 249, 206, 156;--warn-color-300-parts-rgb: 246, 186, 116;--warn-color-400-parts-rgb: 244, 171, 86;--warn-color-500-parts-rgb: 242, 156, 56;--warn-color-600-parts-rgb: 240, 148, 50;--warn-color-700-parts-rgb: 238, 138, 43;--warn-color-800-parts-rgb: 236, 128, 36;--warn-color-900-parts-rgb: 232, 110, 23;--warn-color-A100-parts-rgb: 255, 255, 255;--warn-color-A200-parts-rgb: 255, 240, 230;--warn-color-A400-parts-rgb: 255, 208, 179;--warn-color-A700-parts-rgb: 255, 193, 154;--info-color-50-parts: #e7f3fb;--info-color-100-parts: #c2e0f4;--info-color-200-parts: #9acced;--info-color-300-parts: #71b7e6;--info-color-400-parts: #52a7e0;--info-color-500-parts: #3498db;--info-color-600-parts: #2f90d7;--info-color-700-parts: #2785d2;--info-color-800-parts: #217bcd;--info-color-900-parts: #156ac4;--info-color-A100-parts: #f5f9ff;--info-color-A200-parts: #c2ddff;--info-color-A400-parts: #8fc1ff;--info-color-A700-parts: #75b3ff;--info-color-contrast-50-parts: rgba(0, 0, 0, .87);--info-color-contrast-100-parts: rgba(0, 0, 0, .87);--info-color-contrast-200-parts: rgba(0, 0, 0, .87);--info-color-contrast-300-parts: rgba(0, 0, 0, .87);--info-color-contrast-400-parts: rgba(255, 255, 255, 1);--info-color-contrast-500-parts: rgba(255, 255, 255, 1);--info-color-contrast-600-parts: rgba(255, 255, 255, 1);--info-color-contrast-700-parts: rgba(255, 255, 255, 1);--info-color-contrast-800-parts: rgba(255, 255, 255, 1);--info-color-contrast-900-parts: rgba(255, 255, 255, 1);--info-color-contrast-A100-parts: rgba(0, 0, 0, .87);--info-color-contrast-A200-parts: rgba(0, 0, 0, .87);--info-color-contrast-A400-parts: rgba(0, 0, 0, .87);--info-color-contrast-A700-parts: rgba(0, 0, 0, .87);--info-color-50-parts-rgb: 231, 243, 251;--info-color-100-parts-rgb: 194, 224, 244;--info-color-200-parts-rgb: 154, 204, 237;--info-color-300-parts-rgb: 113, 183, 230;--info-color-400-parts-rgb: 82, 167, 224;--info-color-500-parts-rgb: 52, 152, 219;--info-color-600-parts-rgb: 47, 144, 215;--info-color-700-parts-rgb: 39, 133, 210;--info-color-800-parts-rgb: 33, 123, 205;--info-color-900-parts-rgb: 21, 106, 196;--info-color-A100-parts-rgb: 245, 249, 255;--info-color-A200-parts-rgb: 194, 221, 255;--info-color-A400-parts-rgb: 143, 193, 255;--info-color-A700-parts-rgb: 117, 179, 255;--success-color-50-parts: #edf5eb;--success-color-100-parts: #d1e6ce;--success-color-200-parts: #b3d6ae;--success-color-300-parts: #95c58d;--success-color-400-parts: #7eb874;--success-color-500-parts: #67ac5c;--success-color-600-parts: #5fa554;--success-color-700-parts: #549b4a;--success-color-800-parts: #4a9241;--success-color-900-parts: #398230;--success-color-A100-parts: #d0ffcb;--success-color-A200-parts: #a2ff98;--success-color-A400-parts: #74ff65;--success-color-A700-parts: #5dff4c;--success-color-contrast-50-parts: rgba(0, 0, 0, .87);--success-color-contrast-100-parts: rgba(0, 0, 0, .87);--success-color-contrast-200-parts: rgba(0, 0, 0, .87);--success-color-contrast-300-parts: rgba(0, 0, 0, .87);--success-color-contrast-400-parts: rgba(0, 0, 0, .87);--success-color-contrast-500-parts: rgba(0, 0, 0, .87);--success-color-contrast-600-parts: rgba(0, 0, 0, .87);--success-color-contrast-700-parts: rgba(255, 255, 255, 1);--success-color-contrast-800-parts: rgba(255, 255, 255, 1);--success-color-contrast-900-parts: rgba(255, 255, 255, 1);--success-color-contrast-A100-parts: rgba(0, 0, 0, .87);--success-color-contrast-A200-parts: rgba(0, 0, 0, .87);--success-color-contrast-A400-parts: rgba(0, 0, 0, .87);--success-color-contrast-A700-parts: rgba(0, 0, 0, .87);--success-color-50-parts-rgb: 237, 245, 235;--success-color-100-parts-rgb: 209, 230, 206;--success-color-200-parts-rgb: 179, 214, 174;--success-color-300-parts-rgb: 149, 197, 141;--success-color-400-parts-rgb: 126, 184, 116;--success-color-500-parts-rgb: 103, 172, 92;--success-color-600-parts-rgb: 95, 165, 84;--success-color-700-parts-rgb: 84, 155, 74;--success-color-800-parts-rgb: 74, 146, 65;--success-color-900-parts-rgb: 57, 130, 48;--success-color-A100-parts-rgb: 208, 255, 203;--success-color-A200-parts-rgb: 162, 255, 152;--success-color-A400-parts-rgb: 116, 255, 101;--success-color-A700-parts-rgb: 93, 255, 76;--error-color-50-parts: #fceae8;--error-color-100-parts: #f8c9c5;--error-color-200-parts: #f3a69e;--error-color-300-parts: #ee8277;--error-color-400-parts: #eb6759;--error-color-500-parts: #e74c3c;--error-color-600-parts: #e44536;--error-color-700-parts: #e03c2e;--error-color-800-parts: #dd3327;--error-color-900-parts: #d7241a;--error-color-A100-parts: #ffffff;--error-color-A200-parts: #ffd9d7;--error-color-A400-parts: #ffa8a4;--error-color-A700-parts: #ff8f8b;--error-color-contrast-50-parts: rgba(0, 0, 0, .87);--error-color-contrast-100-parts: rgba(0, 0, 0, .87);--error-color-contrast-200-parts: rgba(0, 0, 0, .87);--error-color-contrast-300-parts: rgba(0, 0, 0, .87);--error-color-contrast-400-parts: rgba(0, 0, 0, .87);--error-color-contrast-500-parts: rgba(255, 255, 255, 1);--error-color-contrast-600-parts: rgba(255, 255, 255, 1);--error-color-contrast-700-parts: rgba(255, 255, 255, 1);--error-color-contrast-800-parts: rgba(255, 255, 255, 1);--error-color-contrast-900-parts: rgba(255, 255, 255, 1);--error-color-contrast-A100-parts: rgba(0, 0, 0, .87);--error-color-contrast-A200-parts: rgba(0, 0, 0, .87);--error-color-contrast-A400-parts: rgba(0, 0, 0, .87);--error-color-contrast-A700-parts: rgba(0, 0, 0, .87);--error-color-50-parts-rgb: 252, 234, 232;--error-color-100-parts-rgb: 248, 201, 197;--error-color-200-parts-rgb: 248, 201, 197;--error-color-300-parts-rgb: 238, 130, 119;--error-color-400-parts-rgb: 235, 103, 89;--error-color-500-parts-rgb: 231, 76, 60;--error-color-600-parts-rgb: 228, 69, 54;--error-color-700-parts-rgb: 224, 60, 46;--error-color-800-parts-rgb: 221, 51, 39;--error-color-900-parts-rgb: 215, 36, 26;--error-color-A100-parts-rgb: 255, 255, 255;--error-color-A200-parts-rgb: 255, 217, 215;--error-color-A400-parts-rgb: 255, 168, 164;--error-color-A700-parts-rgb: 255, 143, 139;--neutral-color-50-parts: #e9e9e9;--neutral-color-100-parts: #dddddd;--neutral-color-200-parts: #cccccc;--neutral-color-300-parts: #b0b0b0;--neutral-color-400-parts: #909090;--neutral-color-500-parts: #515151;--neutral-color-600-parts: #424242;--neutral-color-700-parts: #333333;--neutral-color-800-parts: #212121;--neutral-color-900-parts: #141414;--neutral-color-A100-parts: #ffffff;--neutral-color-A200-parts: #ffffff;--neutral-color-A400-parts: #ffffff;--neutral-color-A700-parts: #ffffff;--neutral-color-contrast-50-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-100-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-200-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-300-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-400-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-500-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-600-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-700-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-800-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-900-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-A100-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A200-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A400-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A700-parts: rgba(0, 0, 0, .87);--neutral-color-50-parts-rgb: 233, 233, 233;--neutral-color-100-parts-rgb: 221, 221, 221;--neutral-color-200-parts-rgb: 204, 204, 204;--neutral-color-300-parts-rgb: 176, 176, 176;--neutral-color-400-parts-rgb: 144, 144, 144;--neutral-color-500-parts-rgb: 81, 81, 81;--neutral-color-600-parts-rgb: 66, 66, 66;--neutral-color-700-parts-rgb: 51, 51, 51;--neutral-color-800-parts-rgb: 33, 33, 33;--neutral-color-900-parts-rgb: 20, 20, 20;--neutral-color-A100-parts-rgb: 255, 255, 255;--neutral-color-A200-parts-rgb: 255, 255, 255;--neutral-color-A400-parts-rgb: 255, 255, 255;--neutral-color-A700-parts-rgb: 255, 255, 255}:host::ng-deep mat-form-field.sof-form-field{height:56px!important}:host::ng-deep mat-form-field.sof-form-field .mdc-text-field--outlined{height:56px!important}:host::ng-deep mat-form-field.sof-form-field .mat-mdc-form-field-flex div.mdc-notched-outline__trailing{border-radius:0!important;border-right:0px!important}:host::ng-deep mat-form-field.sof-form-field:not(.mat-form-field-invalid):not(.mat-form-field-disabled) .mat-mdc-form-field-flex:hover div.mdc-notched-outline__trailing{border-right:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-hover-outline-color)!important}:host::ng-deep .mat-focused:not(.mat-form-field-invalid) .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-right:2px solid var(--primary-color-500-parts)!important}.input-stepper-container button{height:56px!important;background:var(--surface-level-one, #FAFAFA);border-radius:0!important;border-top:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-outline-color)!important;border-bottom:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-outline-color)!important}.input-stepper-container button.mat-mdc-button-disabled{border-top:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-disabled-outline-color)!important;border-bottom:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-disabled-outline-color)!important}.input-stepper-container button:not(.invalid):hover{border-left:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-hover-outline-color)!important;border-right:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-hover-outline-color)!important;border-color:var(--mdc-outlined-text-field-hover-outline-color)!important}.input-stepper-container button:not(.invalid):focus{border:2px solid var(--primary-color-500-parts)!important}.input-stepper-container button:last-of-type{border-left:1px solid #E9E9E9;border-right:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-outline-color)!important;border-top-right-radius:6px!important;border-bottom-right-radius:6px!important}.input-stepper-container button:last-of-type.mat-mdc-button-disabled{border-right:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-disabled-outline-color)!important}.input-stepper-container button:last-of-type:not(.invalid):hover{border-color:var(--mdc-outlined-text-field-hover-outline-color)!important}.input-stepper-container button:last-of-type:not(.invalid):focus{border:2px solid var(--primary-color-500-parts)!important}.input-stepper-container button.invalid{border-color:var(--error-color-900-parts)!important;border-width:2px!important}.input-stepper-container button.invalid:last-of-type{border-left:1px solid #E9E9E9!important}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "directive", type: i1$4.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: i1$4.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i5$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i10.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i4$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
5296
|
+
}
|
|
5297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SofInputStepperComponent, decorators: [{
|
|
5298
|
+
type: Component,
|
|
5299
|
+
args: [{ selector: 'sof-input-stepper', template: "<div *ngIf=\"derivedFormControl\" fxLayoutAlign=\"row\" class=\"input-stepper-container\">\r\n <mat-form-field appearance=\"outline\" class=\"full-width sof-form-field\">\r\n <mat-label>{{ labelText | translate}}</mat-label>\r\n <input [formControl]=\"derivedFormControl\" matInput type=\"number\" [name]=\"controlName\" id=\"stepper-{{controlName}}\"\r\n attr.aria-label=\"{{ariaLabel | translate}}\" [required]=\"isRequired\" [value]=\"customValue\" [step]=\"step\"\r\n placeholder=\"{{ labelText | translate}}\" [disabled]=\"isDisabled\">\r\n <mat-error *ngIf=\"derivedFormControl?.errors?.required\">{{ requiredErrorMessage | translate}}</mat-error>\r\n <mat-error *ngIf=\"derivedFormControl?.errors?.min || derivedFormControl?.errors?.max\">{{ minMaxErrorMessage | translate}}</mat-error>\r\n <span matSuffix class=\"error\" *ngIf=\"derivedFormControl?.touched && derivedFormControl?.invalid\">\r\n <i class=\"fa-light fa-circle-exclamation\"></i>\r\n </span>\r\n </mat-form-field>\r\n <button mat-flat-button [ngClass]=\"{'invalid': derivedFormControl?.touched && derivedFormControl?.invalid}\" [disabled]=\"isDisabled\"\r\n class=\"sof-flat-icon-button\" size=\"large\" id=\"decrease-step-{{controlName}}\" (click)=\"decreaseVal()\">\r\n <i class=\"fa-regular fa-minus\"></i>\r\n </button>\r\n <button mat-flat-button [ngClass]=\"{'invalid': derivedFormControl?.touched && derivedFormControl?.invalid}\" [disabled]=\"isDisabled\"\r\n class=\"sof-flat-icon-button\" size=\"large\" id=\"increase-step-{{controlName}}\" (click)=\"increaseVal()\">\r\n <i class=\"fa-regular fa-plus\"></i>\r\n </button>\r\n</div>", styles: [":root{--primary-color-50-parts: #edf4ff;--primary-color-100-parts: #b9d4fc;--primary-color-200-parts: #8ab7fb;--primary-color-300-parts: #5b9af9;--primary-color-400-parts: #3784f7;--primary-color-500-parts: #146ef6;--primary-color-600-parts: #1266f5;--primary-color-700-parts: #0e5bf3;--primary-color-800-parts: #0b51f2;--primary-color-900-parts: #063fef;--primary-color-A100-parts: #ffffff;--primary-color-A200-parts: #e4e9ff;--primary-color-A400-parts: #b1c0ff;--primary-color-A700-parts: #97acff;--primary-color-contrast-50-parts: rgba(0, 0, 0, .87);--primary-color-contrast-100-parts: rgba(0, 0, 0, .87);--primary-color-contrast-200-parts: rgba(0, 0, 0, .87);--primary-color-contrast-300-parts: rgba(0, 0, 0, .87);--primary-color-contrast-400-parts: rgba(255, 255, 255, 1);--primary-color-contrast-500-parts: rgba(255, 255, 255, 1);--primary-color-contrast-600-parts: rgba(255, 255, 255, 1);--primary-color-contrast-700-parts: rgba(255, 255, 255, 1);--primary-color-contrast-800-parts: rgba(255, 255, 255, 1);--primary-color-contrast-900-parts: rgba(255, 255, 255, 1);--primary-color-contrast-A100-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A200-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A400-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A700-parts: rgba(0, 0, 0, .87);--primary-color-50-parts-rgb: 237, 244, 255;--primary-color-100-parts-rgb: 185, 212, 252;--primary-color-200-parts-rgb: 138, 183, 251;--primary-color-300-parts-rgb: 91, 154, 249;--primary-color-400-parts-rgb: 55, 132, 247;--primary-color-500-parts-rgb: 20, 110, 246;--primary-color-600-parts-rgb: 18, 102, 245;--primary-color-700-parts-rgb: 14, 91, 243;--primary-color-800-parts-rgb: 11, 81, 242;--primary-color-900-parts-rgb: 6, 63, 239;--primary-color-A100-parts-rgb: 255, 255, 255;--primary-color-A200-parts-rgb: 228, 233, 255;--primary-color-A400-parts-rgb: 177, 192, 255;--primary-color-A700-parts-rgb: 151, 172, 255;--accent-color-50-parts: #e0f2f1;--accent-color-100-parts: #b2dfdb;--accent-color-200-parts: #80cbc4;--accent-color-300-parts: #4db6ac;--accent-color-400-parts: #26a69a;--accent-color-500-parts: #009688;--accent-color-600-parts: #00897b;--accent-color-700-parts: #00796b;--accent-color-800-parts: #00695c;--accent-color-900-parts: #004d40;--accent-color-A100-parts: #a7ffeb;--accent-color-A200-parts: #64ffda;--accent-color-A400-parts: #1de9b6;--accent-color-A700-parts: #00bfa5;--accent-color-contrast-50-parts: #000000;--accent-color-contrast-100-parts: #000000;--accent-color-contrast-200-parts: #000000;--accent-color-contrast-300-parts: #000000;--accent-color-contrast-400-parts: #000000;--accent-color-contrast-500-parts: #ffffff;--accent-color-contrast-600-parts: #ffffff;--accent-color-contrast-700-parts: #ffffff;--accent-color-contrast-800-parts: #ffffff;--accent-color-contrast-900-parts: #ffffff;--accent-color-contrast-A100-parts: #000000;--accent-color-contrast-A200-parts: #000000;--accent-color-contrast-A400-parts: #000000;--accent-color-contrast-A700-parts: #000000;--accent-color-50-parts-rgb: 224, 242, 241;--accent-color-100-parts-rgb: 178, 223, 219;--accent-color-200-parts-rgb: 128, 203, 196;--accent-color-300-parts-rgb: 77, 182, 172;--accent-color-400-parts-rgb: 38, 166, 154;--accent-color-500-parts-rgb: 0, 150, 136;--accent-color-600-parts-rgb: 0, 137, 123;--accent-color-700-parts-rgb: 0, 121, 107;--accent-color-800-parts-rgb: 0, 105, 92;--accent-color-900-parts-rgb: 0, 77, 64;--accent-color-A100-parts-rgb: 167, 255, 235;--accent-color-A200-parts-rgb: 100, 255, 218;--accent-color-A400-parts-rgb: 29, 233, 182;--accent-color-A700-parts-rgb: 0, 191, 165;--warn-color-50-parts: #fdf3e7;--warn-color-100-parts: #fbe1c3;--warn-color-200-parts: #f9ce9c;--warn-color-300-parts: #f6ba74;--warn-color-400-parts: #f4ab56;--warn-color-500-parts: #f29c38;--warn-color-600-parts: #f09432;--warn-color-700-parts: #ee8a2b;--warn-color-800-parts: #ec8024;--warn-color-900-parts: #e86e17;--warn-color-A100-parts: #ffffff;--warn-color-A200-parts: #fff0e6;--warn-color-A400-parts: #ffd0b3;--warn-color-A700-parts: #ffc19a;--warn-color-contrast-50-parts: rgba(0, 0, 0, .87);--warn-color-contrast-100-parts: rgba(0, 0, 0, .87);--warn-color-contrast-200-parts: rgba(0, 0, 0, .87);--warn-color-contrast-300-parts: rgba(0, 0, 0, .87);--warn-color-contrast-400-parts: rgba(0, 0, 0, .87);--warn-color-contrast-500-parts: rgba(0, 0, 0, .87);--warn-color-contrast-600-parts: rgba(0, 0, 0, .87);--warn-color-contrast-700-parts: rgba(0, 0, 0, .87);--warn-color-contrast-800-parts: rgba(0, 0, 0, .87);--warn-color-contrast-900-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A100-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A200-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A400-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A700-parts: rgba(0, 0, 0, .87);--warn-color-50-parts-rgb: 253, 243, 231;--warn-color-100-parts-rgb: 251, 225, 195;--warn-color-200-parts-rgb: 249, 206, 156;--warn-color-300-parts-rgb: 246, 186, 116;--warn-color-400-parts-rgb: 244, 171, 86;--warn-color-500-parts-rgb: 242, 156, 56;--warn-color-600-parts-rgb: 240, 148, 50;--warn-color-700-parts-rgb: 238, 138, 43;--warn-color-800-parts-rgb: 236, 128, 36;--warn-color-900-parts-rgb: 232, 110, 23;--warn-color-A100-parts-rgb: 255, 255, 255;--warn-color-A200-parts-rgb: 255, 240, 230;--warn-color-A400-parts-rgb: 255, 208, 179;--warn-color-A700-parts-rgb: 255, 193, 154;--info-color-50-parts: #e7f3fb;--info-color-100-parts: #c2e0f4;--info-color-200-parts: #9acced;--info-color-300-parts: #71b7e6;--info-color-400-parts: #52a7e0;--info-color-500-parts: #3498db;--info-color-600-parts: #2f90d7;--info-color-700-parts: #2785d2;--info-color-800-parts: #217bcd;--info-color-900-parts: #156ac4;--info-color-A100-parts: #f5f9ff;--info-color-A200-parts: #c2ddff;--info-color-A400-parts: #8fc1ff;--info-color-A700-parts: #75b3ff;--info-color-contrast-50-parts: rgba(0, 0, 0, .87);--info-color-contrast-100-parts: rgba(0, 0, 0, .87);--info-color-contrast-200-parts: rgba(0, 0, 0, .87);--info-color-contrast-300-parts: rgba(0, 0, 0, .87);--info-color-contrast-400-parts: rgba(255, 255, 255, 1);--info-color-contrast-500-parts: rgba(255, 255, 255, 1);--info-color-contrast-600-parts: rgba(255, 255, 255, 1);--info-color-contrast-700-parts: rgba(255, 255, 255, 1);--info-color-contrast-800-parts: rgba(255, 255, 255, 1);--info-color-contrast-900-parts: rgba(255, 255, 255, 1);--info-color-contrast-A100-parts: rgba(0, 0, 0, .87);--info-color-contrast-A200-parts: rgba(0, 0, 0, .87);--info-color-contrast-A400-parts: rgba(0, 0, 0, .87);--info-color-contrast-A700-parts: rgba(0, 0, 0, .87);--info-color-50-parts-rgb: 231, 243, 251;--info-color-100-parts-rgb: 194, 224, 244;--info-color-200-parts-rgb: 154, 204, 237;--info-color-300-parts-rgb: 113, 183, 230;--info-color-400-parts-rgb: 82, 167, 224;--info-color-500-parts-rgb: 52, 152, 219;--info-color-600-parts-rgb: 47, 144, 215;--info-color-700-parts-rgb: 39, 133, 210;--info-color-800-parts-rgb: 33, 123, 205;--info-color-900-parts-rgb: 21, 106, 196;--info-color-A100-parts-rgb: 245, 249, 255;--info-color-A200-parts-rgb: 194, 221, 255;--info-color-A400-parts-rgb: 143, 193, 255;--info-color-A700-parts-rgb: 117, 179, 255;--success-color-50-parts: #edf5eb;--success-color-100-parts: #d1e6ce;--success-color-200-parts: #b3d6ae;--success-color-300-parts: #95c58d;--success-color-400-parts: #7eb874;--success-color-500-parts: #67ac5c;--success-color-600-parts: #5fa554;--success-color-700-parts: #549b4a;--success-color-800-parts: #4a9241;--success-color-900-parts: #398230;--success-color-A100-parts: #d0ffcb;--success-color-A200-parts: #a2ff98;--success-color-A400-parts: #74ff65;--success-color-A700-parts: #5dff4c;--success-color-contrast-50-parts: rgba(0, 0, 0, .87);--success-color-contrast-100-parts: rgba(0, 0, 0, .87);--success-color-contrast-200-parts: rgba(0, 0, 0, .87);--success-color-contrast-300-parts: rgba(0, 0, 0, .87);--success-color-contrast-400-parts: rgba(0, 0, 0, .87);--success-color-contrast-500-parts: rgba(0, 0, 0, .87);--success-color-contrast-600-parts: rgba(0, 0, 0, .87);--success-color-contrast-700-parts: rgba(255, 255, 255, 1);--success-color-contrast-800-parts: rgba(255, 255, 255, 1);--success-color-contrast-900-parts: rgba(255, 255, 255, 1);--success-color-contrast-A100-parts: rgba(0, 0, 0, .87);--success-color-contrast-A200-parts: rgba(0, 0, 0, .87);--success-color-contrast-A400-parts: rgba(0, 0, 0, .87);--success-color-contrast-A700-parts: rgba(0, 0, 0, .87);--success-color-50-parts-rgb: 237, 245, 235;--success-color-100-parts-rgb: 209, 230, 206;--success-color-200-parts-rgb: 179, 214, 174;--success-color-300-parts-rgb: 149, 197, 141;--success-color-400-parts-rgb: 126, 184, 116;--success-color-500-parts-rgb: 103, 172, 92;--success-color-600-parts-rgb: 95, 165, 84;--success-color-700-parts-rgb: 84, 155, 74;--success-color-800-parts-rgb: 74, 146, 65;--success-color-900-parts-rgb: 57, 130, 48;--success-color-A100-parts-rgb: 208, 255, 203;--success-color-A200-parts-rgb: 162, 255, 152;--success-color-A400-parts-rgb: 116, 255, 101;--success-color-A700-parts-rgb: 93, 255, 76;--error-color-50-parts: #fceae8;--error-color-100-parts: #f8c9c5;--error-color-200-parts: #f3a69e;--error-color-300-parts: #ee8277;--error-color-400-parts: #eb6759;--error-color-500-parts: #e74c3c;--error-color-600-parts: #e44536;--error-color-700-parts: #e03c2e;--error-color-800-parts: #dd3327;--error-color-900-parts: #d7241a;--error-color-A100-parts: #ffffff;--error-color-A200-parts: #ffd9d7;--error-color-A400-parts: #ffa8a4;--error-color-A700-parts: #ff8f8b;--error-color-contrast-50-parts: rgba(0, 0, 0, .87);--error-color-contrast-100-parts: rgba(0, 0, 0, .87);--error-color-contrast-200-parts: rgba(0, 0, 0, .87);--error-color-contrast-300-parts: rgba(0, 0, 0, .87);--error-color-contrast-400-parts: rgba(0, 0, 0, .87);--error-color-contrast-500-parts: rgba(255, 255, 255, 1);--error-color-contrast-600-parts: rgba(255, 255, 255, 1);--error-color-contrast-700-parts: rgba(255, 255, 255, 1);--error-color-contrast-800-parts: rgba(255, 255, 255, 1);--error-color-contrast-900-parts: rgba(255, 255, 255, 1);--error-color-contrast-A100-parts: rgba(0, 0, 0, .87);--error-color-contrast-A200-parts: rgba(0, 0, 0, .87);--error-color-contrast-A400-parts: rgba(0, 0, 0, .87);--error-color-contrast-A700-parts: rgba(0, 0, 0, .87);--error-color-50-parts-rgb: 252, 234, 232;--error-color-100-parts-rgb: 248, 201, 197;--error-color-200-parts-rgb: 248, 201, 197;--error-color-300-parts-rgb: 238, 130, 119;--error-color-400-parts-rgb: 235, 103, 89;--error-color-500-parts-rgb: 231, 76, 60;--error-color-600-parts-rgb: 228, 69, 54;--error-color-700-parts-rgb: 224, 60, 46;--error-color-800-parts-rgb: 221, 51, 39;--error-color-900-parts-rgb: 215, 36, 26;--error-color-A100-parts-rgb: 255, 255, 255;--error-color-A200-parts-rgb: 255, 217, 215;--error-color-A400-parts-rgb: 255, 168, 164;--error-color-A700-parts-rgb: 255, 143, 139;--neutral-color-50-parts: #e9e9e9;--neutral-color-100-parts: #dddddd;--neutral-color-200-parts: #cccccc;--neutral-color-300-parts: #b0b0b0;--neutral-color-400-parts: #909090;--neutral-color-500-parts: #515151;--neutral-color-600-parts: #424242;--neutral-color-700-parts: #333333;--neutral-color-800-parts: #212121;--neutral-color-900-parts: #141414;--neutral-color-A100-parts: #ffffff;--neutral-color-A200-parts: #ffffff;--neutral-color-A400-parts: #ffffff;--neutral-color-A700-parts: #ffffff;--neutral-color-contrast-50-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-100-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-200-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-300-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-400-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-500-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-600-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-700-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-800-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-900-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-A100-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A200-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A400-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A700-parts: rgba(0, 0, 0, .87);--neutral-color-50-parts-rgb: 233, 233, 233;--neutral-color-100-parts-rgb: 221, 221, 221;--neutral-color-200-parts-rgb: 204, 204, 204;--neutral-color-300-parts-rgb: 176, 176, 176;--neutral-color-400-parts-rgb: 144, 144, 144;--neutral-color-500-parts-rgb: 81, 81, 81;--neutral-color-600-parts-rgb: 66, 66, 66;--neutral-color-700-parts-rgb: 51, 51, 51;--neutral-color-800-parts-rgb: 33, 33, 33;--neutral-color-900-parts-rgb: 20, 20, 20;--neutral-color-A100-parts-rgb: 255, 255, 255;--neutral-color-A200-parts-rgb: 255, 255, 255;--neutral-color-A400-parts-rgb: 255, 255, 255;--neutral-color-A700-parts-rgb: 255, 255, 255}:host::ng-deep mat-form-field.sof-form-field{height:56px!important}:host::ng-deep mat-form-field.sof-form-field .mdc-text-field--outlined{height:56px!important}:host::ng-deep mat-form-field.sof-form-field .mat-mdc-form-field-flex div.mdc-notched-outline__trailing{border-radius:0!important;border-right:0px!important}:host::ng-deep mat-form-field.sof-form-field:not(.mat-form-field-invalid):not(.mat-form-field-disabled) .mat-mdc-form-field-flex:hover div.mdc-notched-outline__trailing{border-right:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-hover-outline-color)!important}:host::ng-deep .mat-focused:not(.mat-form-field-invalid) .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-right:2px solid var(--primary-color-500-parts)!important}.input-stepper-container button{height:56px!important;background:var(--surface-level-one, #FAFAFA);border-radius:0!important;border-top:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-outline-color)!important;border-bottom:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-outline-color)!important}.input-stepper-container button.mat-mdc-button-disabled{border-top:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-disabled-outline-color)!important;border-bottom:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-disabled-outline-color)!important}.input-stepper-container button:not(.invalid):hover{border-left:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-hover-outline-color)!important;border-right:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-hover-outline-color)!important;border-color:var(--mdc-outlined-text-field-hover-outline-color)!important}.input-stepper-container button:not(.invalid):focus{border:2px solid var(--primary-color-500-parts)!important}.input-stepper-container button:last-of-type{border-left:1px solid #E9E9E9;border-right:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-outline-color)!important;border-top-right-radius:6px!important;border-bottom-right-radius:6px!important}.input-stepper-container button:last-of-type.mat-mdc-button-disabled{border-right:var(--mdc-outlined-text-field-outline-width) solid var(--mdc-outlined-text-field-disabled-outline-color)!important}.input-stepper-container button:last-of-type:not(.invalid):hover{border-color:var(--mdc-outlined-text-field-hover-outline-color)!important}.input-stepper-container button:last-of-type:not(.invalid):focus{border:2px solid var(--primary-color-500-parts)!important}.input-stepper-container button.invalid{border-color:var(--error-color-900-parts)!important;border-width:2px!important}.input-stepper-container button.invalid:last-of-type{border-left:1px solid #E9E9E9!important}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}\n"] }]
|
|
5300
|
+
}], ctorParameters: () => [{ type: i1$4.NgControl, decorators: [{
|
|
5301
|
+
type: Self
|
|
5302
|
+
}, {
|
|
5303
|
+
type: Optional
|
|
5304
|
+
}, {
|
|
5305
|
+
type: Host
|
|
5306
|
+
}] }], propDecorators: { customValue: [{
|
|
5307
|
+
type: Input
|
|
5308
|
+
}], min: [{
|
|
5309
|
+
type: Input
|
|
5310
|
+
}], max: [{
|
|
5311
|
+
type: Input
|
|
5312
|
+
}], step: [{
|
|
5313
|
+
type: Input
|
|
5314
|
+
}], labelText: [{
|
|
5315
|
+
type: Input
|
|
5316
|
+
}], isRequired: [{
|
|
5317
|
+
type: Input,
|
|
5318
|
+
args: ["required"]
|
|
5319
|
+
}], requiredErrorMessage: [{
|
|
5320
|
+
type: Input
|
|
5321
|
+
}], minMaxErrorMessage: [{
|
|
5322
|
+
type: Input
|
|
5323
|
+
}], ariaLabel: [{
|
|
5324
|
+
type: Input
|
|
5325
|
+
}], valueChange: [{
|
|
5326
|
+
type: Output
|
|
5327
|
+
}] } });
|
|
5328
|
+
|
|
5156
5329
|
/** Public api for the footer module */
|
|
5157
5330
|
|
|
5158
5331
|
/** The components */
|
|
@@ -5167,7 +5340,8 @@ const components$1 = [
|
|
|
5167
5340
|
SofBadgeComponent,
|
|
5168
5341
|
SofImageCheckboxComponent,
|
|
5169
5342
|
SofSimpleAlertComponent,
|
|
5170
|
-
SofConfirmAddressComponent
|
|
5343
|
+
SofConfirmAddressComponent,
|
|
5344
|
+
SofInputStepperComponent
|
|
5171
5345
|
];
|
|
5172
5346
|
/** The material modules */
|
|
5173
5347
|
const materialModules$2 = [
|
|
@@ -5182,7 +5356,9 @@ const materialModules$2 = [
|
|
|
5182
5356
|
MatTooltipModule,
|
|
5183
5357
|
MatButtonToggleModule,
|
|
5184
5358
|
MatCardModule,
|
|
5185
|
-
MatRadioModule
|
|
5359
|
+
MatRadioModule,
|
|
5360
|
+
MatInputModule,
|
|
5361
|
+
MatIconButton
|
|
5186
5362
|
];
|
|
5187
5363
|
/** The BaseComponentModule Module */
|
|
5188
5364
|
class BaseComponentModule {
|
|
@@ -5197,7 +5373,8 @@ class BaseComponentModule {
|
|
|
5197
5373
|
SofBadgeComponent,
|
|
5198
5374
|
SofImageCheckboxComponent,
|
|
5199
5375
|
SofSimpleAlertComponent,
|
|
5200
|
-
SofConfirmAddressComponent
|
|
5376
|
+
SofConfirmAddressComponent,
|
|
5377
|
+
SofInputStepperComponent], imports: [RouterModule,
|
|
5201
5378
|
CommonModule,
|
|
5202
5379
|
FlexLayoutModule,
|
|
5203
5380
|
FormsModule$1,
|
|
@@ -5213,7 +5390,9 @@ class BaseComponentModule {
|
|
|
5213
5390
|
MatTooltipModule,
|
|
5214
5391
|
MatButtonToggleModule,
|
|
5215
5392
|
MatCardModule,
|
|
5216
|
-
MatRadioModule
|
|
5393
|
+
MatRadioModule,
|
|
5394
|
+
MatInputModule,
|
|
5395
|
+
MatIconButton], exports: [SofProgressBarComponent,
|
|
5217
5396
|
SofRadioCardComponent,
|
|
5218
5397
|
SofBannerComponent,
|
|
5219
5398
|
SofAlertComponent,
|
|
@@ -5223,7 +5402,8 @@ class BaseComponentModule {
|
|
|
5223
5402
|
SofBadgeComponent,
|
|
5224
5403
|
SofImageCheckboxComponent,
|
|
5225
5404
|
SofSimpleAlertComponent,
|
|
5226
|
-
SofConfirmAddressComponent
|
|
5405
|
+
SofConfirmAddressComponent,
|
|
5406
|
+
SofInputStepperComponent] }); }
|
|
5227
5407
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: BaseComponentModule, imports: [RouterModule,
|
|
5228
5408
|
CommonModule,
|
|
5229
5409
|
FlexLayoutModule,
|
|
@@ -7531,5 +7711,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImpor
|
|
|
7531
7711
|
* Generated bundle index. Do not edit.
|
|
7532
7712
|
*/
|
|
7533
7713
|
|
|
7534
|
-
export { ALERT_BANNER_CONFIG, AbstractSamlEntryService, AbstractSamlService, AbstractStartupService, AccessTokenClaims, AlertBannerComponent, AlertBannerModule, AlertBannerService, AlertService, AlphaNumericDirective, AppTemplateComponent, ApplicationUserModel, ArRoleNavService, ArmError, ArmatureFooterComponent, ArmatureFooterModule, ArmatureHeaderComponent, ArmatureHeaderModule, ArmatureModule, ArmatureNavigationComponent, ArmatureResizePanelsModule, Attribute, AuthorizationService, BannerService, BannerType, BaseComponentModule, BaseConfigService, CacheExpirationType, ComponentSavePrintComponent, ComponentSavePrintService, Configuration, ConfirmAddressData, CoverageDetail, CssOverride, CssOverrideDirective, CustomAuthConfigService, DISABLE_ACCESS_FOR_NO_PAGES_ROLE, DISTRIBUTED_CACHE_BASE_PATH, DataStoreConfig, DecodedAccessToken, DefaultConfigService, DialogResult, DistributedCacheModule, ErrorCommonComponent, ErrorCommonConfig, ErrorModule, FAQ, FAQConfig, FEDERATED_MODULE_ID, FaqComponent, FaqModule, FeedbackToolComponent, FeedbackToolModule, FooterConfig, FormsModule, HYBRID_SAML_OAUTH_CONFIG, HeaderAuthSettings, HybridSamlOAuthConfig, HybridSamlOauthService, InputTrimDirective, LettersCharactersDirective, LettersOnlyDirective, MobileHeaderMenuComponent, ModalData, NavigationModule, NumbersOnlyDirective, Oauth2RoleService, OauthModule, PhoneFormatPipe, PolicyPerson, RBAC_CONFIG, RbacActionDirective, RbacConfig, RbacModule, RedirectSamlComponent, RedirectSamlRequest, RedirectSessionConfigs, ResizePanelsComponent, RoleAccess, RoleNavService, RoutePath, RumConfig, RumModule, RumService, SESSION_CONFIG, SOF_BLANK_LANGUAGE_OVERRIDE, SOF_DATE_PIPE_FORMATS, SamlModule, SamlService, ServerCacheService, SessionConfig, SessionService, SharedErrorService, SiteMapComponent, SiteMapDirection, SofAddressComponent, SofAlertComponent, SofArComponentSavePrintModule, SofBadgeComponent, SofBannerComponent, SofBlankPipe, SofButtonToggleGroupComponent, SofConfirmAddressComponent, SofDatePipe, SofImageCheckboxComponent, SofModalComponent, SofPipeModule, SofProgressBarComponent, SofRadioCardComponent, SofSimpleAlertComponent, SofSsnPipe, SofStarRatingComponent, SoftheonErrorHandlerService, SsoGatewayEntryService, SsoGatewayModel, States, ThemeModule, ThemeService, TypedSession, USER_ENTITY_SERVICE_CONFIG, UserEntityService, UserEntityServiceConfig, ValidationKeys, WINDOW, httpVerb, initializerFactory, keyPathPrefix, languageStorageKey, newGuid, pascalToCamel, preSignInRouteStorageKey, routeToPreLoginRoute, sessionBasePathFactory };
|
|
7714
|
+
export { ALERT_BANNER_CONFIG, AbstractSamlEntryService, AbstractSamlService, AbstractStartupService, AccessTokenClaims, AlertBannerComponent, AlertBannerModule, AlertBannerService, AlertService, AlphaNumericDirective, AppTemplateComponent, ApplicationUserModel, ArRoleNavService, ArmError, ArmatureFooterComponent, ArmatureFooterModule, ArmatureHeaderComponent, ArmatureHeaderModule, ArmatureModule, ArmatureNavigationComponent, ArmatureResizePanelsModule, Attribute, AuthorizationService, BannerService, BannerType, BaseComponentModule, BaseConfigService, CacheExpirationType, ComponentSavePrintComponent, ComponentSavePrintService, Configuration, ConfirmAddressData, CoverageDetail, CssOverride, CssOverrideDirective, CustomAuthConfigService, DISABLE_ACCESS_FOR_NO_PAGES_ROLE, DISTRIBUTED_CACHE_BASE_PATH, DataStoreConfig, DecodedAccessToken, DefaultConfigService, DialogResult, DistributedCacheModule, ErrorCommonComponent, ErrorCommonConfig, ErrorModule, FAQ, FAQConfig, FEDERATED_MODULE_ID, FaqComponent, FaqModule, FeedbackToolComponent, FeedbackToolModule, FooterConfig, FormsModule, HYBRID_SAML_OAUTH_CONFIG, HeaderAuthSettings, HybridSamlOAuthConfig, HybridSamlOauthService, InputTrimDirective, LettersCharactersDirective, LettersOnlyDirective, MobileHeaderMenuComponent, ModalData, NavigationModule, NumbersOnlyDirective, Oauth2RoleService, OauthModule, PhoneFormatPipe, PolicyPerson, RBAC_CONFIG, RbacActionDirective, RbacConfig, RbacModule, RedirectSamlComponent, RedirectSamlRequest, RedirectSessionConfigs, ResizePanelsComponent, RoleAccess, RoleNavService, RoutePath, RumConfig, RumModule, RumService, SESSION_CONFIG, SOF_BLANK_LANGUAGE_OVERRIDE, SOF_DATE_PIPE_FORMATS, SamlModule, SamlService, ServerCacheService, SessionConfig, SessionService, SharedErrorService, SiteMapComponent, SiteMapDirection, SofAddressComponent, SofAlertComponent, SofArComponentSavePrintModule, SofBadgeComponent, SofBannerComponent, SofBlankPipe, SofButtonToggleGroupComponent, SofConfirmAddressComponent, SofDatePipe, SofImageCheckboxComponent, SofInputStepperComponent, SofModalComponent, SofPipeModule, SofProgressBarComponent, SofRadioCardComponent, SofSimpleAlertComponent, SofSsnPipe, SofStarRatingComponent, SoftheonErrorHandlerService, SsoGatewayEntryService, SsoGatewayModel, States, ThemeModule, ThemeService, TypedSession, USER_ENTITY_SERVICE_CONFIG, UserEntityService, UserEntityServiceConfig, ValidationKeys, WINDOW, httpVerb, initializerFactory, keyPathPrefix, languageStorageKey, newGuid, pascalToCamel, preSignInRouteStorageKey, routeToPreLoginRoute, sessionBasePathFactory };
|
|
7535
7715
|
//# sourceMappingURL=softheon-armature.mjs.map
|