invensys-ng 21.3.6 → 21.3.7
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/fesm2022/invensys-ng.mjs +182 -1
- package/fesm2022/invensys-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/types/invensys-ng.d.ts +71 -2
package/fesm2022/invensys-ng.mjs
CHANGED
|
@@ -6296,6 +6296,187 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
|
|
|
6296
6296
|
args: ['document:click', ['$event']]
|
|
6297
6297
|
}] } });
|
|
6298
6298
|
|
|
6299
|
+
/** A single step rendered inside an {@link IStepper}. */
|
|
6300
|
+
class IStep {
|
|
6301
|
+
/** Primary text shown in the step navigation. */
|
|
6302
|
+
label;
|
|
6303
|
+
/** Optional supporting text shown below the label. */
|
|
6304
|
+
description;
|
|
6305
|
+
/** Optional PrimeIcons class used instead of the step number. */
|
|
6306
|
+
icon;
|
|
6307
|
+
/** Marks the step as successfully completed. */
|
|
6308
|
+
completed = false;
|
|
6309
|
+
/** Marks the step as optional. */
|
|
6310
|
+
optional = false;
|
|
6311
|
+
/** Prevents the step from being selected. */
|
|
6312
|
+
disabled = false;
|
|
6313
|
+
/** Projected step content. */
|
|
6314
|
+
contentTemplate;
|
|
6315
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: IStep, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6316
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.12", type: IStep, isStandalone: true, selector: "i-step", inputs: { label: "label", description: "description", icon: "icon", completed: "completed", optional: "optional", disabled: "disabled" }, viewQueries: [{ propertyName: "contentTemplate", first: true, predicate: ["contentTemplate"], descendants: true, static: true }], ngImport: i0, template: `
|
|
6317
|
+
<ng-template #contentTemplate>
|
|
6318
|
+
<ng-content></ng-content>
|
|
6319
|
+
</ng-template>
|
|
6320
|
+
`, isInline: true });
|
|
6321
|
+
}
|
|
6322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: IStep, decorators: [{
|
|
6323
|
+
type: Component,
|
|
6324
|
+
args: [{
|
|
6325
|
+
selector: 'i-step',
|
|
6326
|
+
standalone: true,
|
|
6327
|
+
template: `
|
|
6328
|
+
<ng-template #contentTemplate>
|
|
6329
|
+
<ng-content></ng-content>
|
|
6330
|
+
</ng-template>
|
|
6331
|
+
`,
|
|
6332
|
+
}]
|
|
6333
|
+
}], propDecorators: { label: [{
|
|
6334
|
+
type: Input,
|
|
6335
|
+
args: [{ required: true }]
|
|
6336
|
+
}], description: [{
|
|
6337
|
+
type: Input
|
|
6338
|
+
}], icon: [{
|
|
6339
|
+
type: Input
|
|
6340
|
+
}], completed: [{
|
|
6341
|
+
type: Input
|
|
6342
|
+
}], optional: [{
|
|
6343
|
+
type: Input
|
|
6344
|
+
}], disabled: [{
|
|
6345
|
+
type: Input
|
|
6346
|
+
}], contentTemplate: [{
|
|
6347
|
+
type: ViewChild,
|
|
6348
|
+
args: ['contentTemplate', { static: true }]
|
|
6349
|
+
}] } });
|
|
6350
|
+
|
|
6351
|
+
/**
|
|
6352
|
+
* Guided, stateful navigation for multi-step workflows.
|
|
6353
|
+
*
|
|
6354
|
+
* @example
|
|
6355
|
+
* ```html
|
|
6356
|
+
* <i-stepper [(activeIndex)]="activeStep" [linear]="true">
|
|
6357
|
+
* <i-step label="Details" description="Name and access" [completed]="detailsValid">
|
|
6358
|
+
* Details form
|
|
6359
|
+
* </i-step>
|
|
6360
|
+
* <i-step label="Columns" [disabled]="!detailsValid">
|
|
6361
|
+
* Column selection
|
|
6362
|
+
* </i-step>
|
|
6363
|
+
* </i-stepper>
|
|
6364
|
+
* ```
|
|
6365
|
+
*/
|
|
6366
|
+
class IStepper {
|
|
6367
|
+
/** Zero-based index of the active step. */
|
|
6368
|
+
activeIndex = 0;
|
|
6369
|
+
/** Prevents skipping incomplete steps when enabled. */
|
|
6370
|
+
linear = false;
|
|
6371
|
+
/** Navigation layout. Horizontal steppers collapse to vertical on small screens. */
|
|
6372
|
+
orientation = 'horizontal';
|
|
6373
|
+
/** Accessible label for the step navigation. */
|
|
6374
|
+
ariaLabel = 'Progress';
|
|
6375
|
+
/** Supports two-way binding of the active step. */
|
|
6376
|
+
activeIndexChange = new EventEmitter();
|
|
6377
|
+
/** Emitted after the user selects a different step. */
|
|
6378
|
+
onChange = new EventEmitter();
|
|
6379
|
+
stepComponents;
|
|
6380
|
+
componentId = UniqueComponentId('i-stepper-');
|
|
6381
|
+
steps = [];
|
|
6382
|
+
ngAfterContentInit() {
|
|
6383
|
+
this.syncSteps();
|
|
6384
|
+
this.stepComponents.changes.subscribe(() => this.syncSteps());
|
|
6385
|
+
}
|
|
6386
|
+
selectStep(event, index) {
|
|
6387
|
+
if (index === this.activeIndex || !this.canSelect(index)) {
|
|
6388
|
+
return;
|
|
6389
|
+
}
|
|
6390
|
+
const previousIndex = this.activeIndex;
|
|
6391
|
+
this.activeIndex = index;
|
|
6392
|
+
this.activeIndexChange.emit(index);
|
|
6393
|
+
this.onChange.emit({ originalEvent: event, index, previousIndex });
|
|
6394
|
+
}
|
|
6395
|
+
canSelect(index) {
|
|
6396
|
+
const step = this.steps[index];
|
|
6397
|
+
if (!step || step.disabled) {
|
|
6398
|
+
return false;
|
|
6399
|
+
}
|
|
6400
|
+
if (!this.linear || index <= this.activeIndex) {
|
|
6401
|
+
return true;
|
|
6402
|
+
}
|
|
6403
|
+
return this.steps.slice(0, index).every(item => item.completed || item.optional);
|
|
6404
|
+
}
|
|
6405
|
+
onKeyDown(event, index) {
|
|
6406
|
+
const directionKeys = this.orientation === 'vertical'
|
|
6407
|
+
? ['ArrowUp', 'ArrowDown']
|
|
6408
|
+
: ['ArrowLeft', 'ArrowRight'];
|
|
6409
|
+
if (event.key === directionKeys[0]) {
|
|
6410
|
+
this.focusAdjacent(index, -1);
|
|
6411
|
+
event.preventDefault();
|
|
6412
|
+
}
|
|
6413
|
+
else if (event.key === directionKeys[1]) {
|
|
6414
|
+
this.focusAdjacent(index, 1);
|
|
6415
|
+
event.preventDefault();
|
|
6416
|
+
}
|
|
6417
|
+
else if (event.key === 'Home') {
|
|
6418
|
+
this.focusBoundary(0, 1);
|
|
6419
|
+
event.preventDefault();
|
|
6420
|
+
}
|
|
6421
|
+
else if (event.key === 'End') {
|
|
6422
|
+
this.focusBoundary(this.steps.length - 1, -1);
|
|
6423
|
+
event.preventDefault();
|
|
6424
|
+
}
|
|
6425
|
+
}
|
|
6426
|
+
syncSteps() {
|
|
6427
|
+
this.steps = this.stepComponents.toArray();
|
|
6428
|
+
if (this.steps.length === 0) {
|
|
6429
|
+
this.activeIndex = 0;
|
|
6430
|
+
return;
|
|
6431
|
+
}
|
|
6432
|
+
this.activeIndex = Math.min(Math.max(this.activeIndex, 0), this.steps.length - 1);
|
|
6433
|
+
}
|
|
6434
|
+
focusAdjacent(index, direction) {
|
|
6435
|
+
let nextIndex = index + direction;
|
|
6436
|
+
while (nextIndex >= 0 && nextIndex < this.steps.length) {
|
|
6437
|
+
if (this.canSelect(nextIndex)) {
|
|
6438
|
+
this.focusStep(nextIndex);
|
|
6439
|
+
return;
|
|
6440
|
+
}
|
|
6441
|
+
nextIndex += direction;
|
|
6442
|
+
}
|
|
6443
|
+
}
|
|
6444
|
+
focusBoundary(index, direction) {
|
|
6445
|
+
let candidate = index;
|
|
6446
|
+
while (candidate >= 0 && candidate < this.steps.length) {
|
|
6447
|
+
if (this.canSelect(candidate)) {
|
|
6448
|
+
this.focusStep(candidate);
|
|
6449
|
+
return;
|
|
6450
|
+
}
|
|
6451
|
+
candidate += direction;
|
|
6452
|
+
}
|
|
6453
|
+
}
|
|
6454
|
+
focusStep(index) {
|
|
6455
|
+
document.getElementById(`${this.componentId}-step-${index}`)?.focus();
|
|
6456
|
+
}
|
|
6457
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: IStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6458
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: IStepper, isStandalone: true, selector: "i-stepper", inputs: { activeIndex: "activeIndex", linear: "linear", orientation: "orientation", ariaLabel: "ariaLabel" }, outputs: { activeIndexChange: "activeIndexChange", onChange: "onChange" }, queries: [{ propertyName: "stepComponents", predicate: IStep }], ngImport: i0, template: "<div\n class=\"i-stepper\"\n [ngClass]=\"'i-stepper--' + orientation\"\n [attr.id]=\"componentId\"\n>\n <ol class=\"i-stepper__navigation\" [attr.aria-label]=\"ariaLabel\">\n @for (step of steps; track step; let index = $index; let last = $last) {\n <li\n class=\"i-stepper__item\"\n [class.i-stepper__item--active]=\"activeIndex === index\"\n [class.i-stepper__item--completed]=\"step.completed\"\n [class.i-stepper__item--disabled]=\"!canSelect(index)\"\n >\n <button\n class=\"i-stepper__trigger\"\n type=\"button\"\n [attr.id]=\"componentId + '-step-' + index\"\n [attr.aria-current]=\"activeIndex === index ? 'step' : null\"\n [attr.aria-controls]=\"componentId + '-panel-' + index\"\n [attr.aria-describedby]=\"step.description ? componentId + '-description-' + index : null\"\n [attr.tabindex]=\"activeIndex === index ? 0 : -1\"\n [disabled]=\"!canSelect(index)\"\n (click)=\"selectStep($event, index)\"\n (keydown)=\"onKeyDown($event, index)\"\n >\n <span class=\"i-stepper__indicator\" aria-hidden=\"true\">\n @if (step.icon) {\n <i [ngClass]=\"step.icon\" class=\"i-stepper__icon\"></i>\n } @else {\n {{ index + 1 }}\n }\n @if (step.completed) {\n <span class=\"i-stepper__complete-mark\">\n <i class=\"pi pi-check\"></i>\n </span>\n }\n </span>\n <span class=\"i-stepper__copy\">\n <span class=\"i-stepper__meta\">\n <span>Step {{ index + 1 }} of {{ steps.length }}</span>\n @if (step.completed) {\n <span class=\"i-stepper__status i-stepper__status--completed\">Completed</span>\n } @else if (step.optional) {\n <span class=\"i-stepper__status\">Optional</span>\n }\n </span>\n <span class=\"i-stepper__label\">{{ step.label }}</span>\n @if (step.description) {\n <span\n class=\"i-stepper__description\"\n [attr.id]=\"componentId + '-description-' + index\"\n >{{ step.description }}</span>\n }\n </span>\n <i class=\"pi pi-chevron-right i-stepper__chevron\" aria-hidden=\"true\"></i>\n </button>\n @if (!last) {\n <span class=\"i-stepper__connector\" aria-hidden=\"true\"></span>\n }\n </li>\n }\n </ol>\n\n @for (step of steps; track step; let index = $index) {\n <section\n class=\"i-stepper__panel\"\n [class.i-stepper__panel--active]=\"activeIndex === index\"\n [attr.id]=\"componentId + '-panel-' + index\"\n [attr.aria-labelledby]=\"componentId + '-step-' + index\"\n [attr.hidden]=\"activeIndex !== index || null\"\n role=\"region\"\n >\n @if (activeIndex === index) {\n <ng-container [ngTemplateOutlet]=\"step.contentTemplate\"></ng-container>\n }\n </section>\n }\n</div>\n", styles: [".i-stepper{color:var(--color-text-primary)}.i-stepper__trigger{border-color:var(--color-border);background:var(--surface-card)}.i-stepper__trigger:hover:not(:disabled){background:var(--surface-hover);border-color:color-mix(in srgb,var(--color-primary) 35%,var(--color-border));transform:translateY(-1px)}.i-stepper__trigger:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.i-stepper__trigger:disabled{color:var(--color-text-disabled);cursor:not-allowed}.i-stepper__indicator{border-color:var(--color-border);background:var(--surface-ground);color:var(--color-text-secondary)}.i-stepper__description,.i-stepper__meta{color:var(--color-text-secondary)}.i-stepper__status{background:var(--surface-hover)}.i-stepper__status--completed{background:color-mix(in srgb,var(--color-success) 12%,transparent);color:var(--color-success)}.i-stepper__complete-mark{border-color:var(--surface-card);background:var(--color-success);color:var(--color-contrast-inverse)}.i-stepper__connector{background:var(--color-border)}.i-stepper__item--active .i-stepper__trigger{border-color:color-mix(in srgb,var(--color-primary) 55%,var(--color-border));box-shadow:0 6px 18px color-mix(in srgb,var(--color-primary) 12%,transparent)}.i-stepper__item--active .i-stepper__indicator{border-color:color-mix(in srgb,var(--color-primary) 35%,transparent);background:color-mix(in srgb,var(--color-primary) 10%,var(--surface-card));color:var(--color-primary)}.i-stepper__item--active .i-stepper__label{color:var(--color-primary)}.i-stepper__item--active .i-stepper__chevron{color:var(--color-primary);opacity:1;transform:translate(0)}.i-stepper__item--completed .i-stepper__indicator{border-color:var(--color-success);background:color-mix(in srgb,var(--color-success) 10%,var(--surface-card));color:var(--color-success)}.i-stepper__item--completed .i-stepper__connector{background:var(--color-success)}.i-stepper__item--disabled{opacity:.58}.i-stepper{display:flex;width:100%}.i-stepper--horizontal{flex-direction:column}.i-stepper--horizontal .i-stepper__navigation{display:flex;width:100%;align-items:stretch}.i-stepper--horizontal .i-stepper__item{display:flex;flex:1 1 0;align-items:center;min-width:0}.i-stepper--horizontal .i-stepper__trigger{flex:1 1 auto;align-self:stretch}.i-stepper--horizontal .i-stepper__connector{flex:0 0 24px;height:2px;margin:0 6px}.i-stepper--vertical{flex-direction:row;gap:24px}.i-stepper--vertical .i-stepper__navigation{flex:0 0 min(280px,35%)}.i-stepper--vertical .i-stepper__item{position:relative;padding-bottom:12px}.i-stepper--vertical .i-stepper__trigger{width:100%}.i-stepper--vertical .i-stepper__connector{position:absolute;top:66px;bottom:0;left:34px;width:2px}.i-stepper--vertical .i-stepper__panel{flex:1 1 auto;min-width:0}.i-stepper__navigation{box-sizing:border-box;margin:0;padding:0;list-style:none}.i-stepper__trigger{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:82px;padding:14px;overflow:hidden;border:1px solid;border-radius:8px;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}.i-stepper__indicator{position:relative;display:inline-flex;flex:0 0 42px;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid;border-radius:10px;font-weight:600;transition:background .2s,border-color .2s,color .2s}.i-stepper__icon{font-size:18px}.i-stepper__complete-mark{position:absolute;right:-5px;bottom:-5px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:2px solid;border-radius:50%;font-size:9px}.i-stepper__copy,.i-stepper__label,.i-stepper__description{display:block}.i-stepper__copy{flex:1 1 auto;min-width:0}.i-stepper__meta{display:flex;align-items:center;gap:7px;margin-bottom:4px;font-size:.72em;font-weight:600;letter-spacing:.035em;line-height:1.2;text-transform:uppercase}.i-stepper__status{display:inline-flex;align-items:center;min-height:18px;padding:0 6px;border-radius:999px;font-size:.9em;letter-spacing:.02em}.i-stepper__label{font-weight:600;line-height:1.3}.i-stepper__description{margin-top:3px;font-size:.8em;line-height:1.35}.i-stepper__chevron{flex:0 0 auto;font-size:11px;opacity:0;transform:translate(-4px);transition:opacity .2s,transform .2s}.i-stepper__panel{display:none;padding-top:24px}.i-stepper__panel--active{display:block}@media(max-width:768px){.i-stepper--horizontal .i-stepper__navigation{flex-direction:column}.i-stepper--horizontal .i-stepper__item{position:relative;padding-bottom:10px}.i-stepper--horizontal .i-stepper__connector{position:absolute;top:82px;bottom:0;left:34px;width:2px;height:auto;margin:0}.i-stepper--vertical{flex-direction:column;gap:0}.i-stepper--vertical .i-stepper__navigation{flex-basis:auto}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
6459
|
+
}
|
|
6460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: IStepper, decorators: [{
|
|
6461
|
+
type: Component,
|
|
6462
|
+
args: [{ selector: 'i-stepper', standalone: true, imports: [NgClass, NgTemplateOutlet], template: "<div\n class=\"i-stepper\"\n [ngClass]=\"'i-stepper--' + orientation\"\n [attr.id]=\"componentId\"\n>\n <ol class=\"i-stepper__navigation\" [attr.aria-label]=\"ariaLabel\">\n @for (step of steps; track step; let index = $index; let last = $last) {\n <li\n class=\"i-stepper__item\"\n [class.i-stepper__item--active]=\"activeIndex === index\"\n [class.i-stepper__item--completed]=\"step.completed\"\n [class.i-stepper__item--disabled]=\"!canSelect(index)\"\n >\n <button\n class=\"i-stepper__trigger\"\n type=\"button\"\n [attr.id]=\"componentId + '-step-' + index\"\n [attr.aria-current]=\"activeIndex === index ? 'step' : null\"\n [attr.aria-controls]=\"componentId + '-panel-' + index\"\n [attr.aria-describedby]=\"step.description ? componentId + '-description-' + index : null\"\n [attr.tabindex]=\"activeIndex === index ? 0 : -1\"\n [disabled]=\"!canSelect(index)\"\n (click)=\"selectStep($event, index)\"\n (keydown)=\"onKeyDown($event, index)\"\n >\n <span class=\"i-stepper__indicator\" aria-hidden=\"true\">\n @if (step.icon) {\n <i [ngClass]=\"step.icon\" class=\"i-stepper__icon\"></i>\n } @else {\n {{ index + 1 }}\n }\n @if (step.completed) {\n <span class=\"i-stepper__complete-mark\">\n <i class=\"pi pi-check\"></i>\n </span>\n }\n </span>\n <span class=\"i-stepper__copy\">\n <span class=\"i-stepper__meta\">\n <span>Step {{ index + 1 }} of {{ steps.length }}</span>\n @if (step.completed) {\n <span class=\"i-stepper__status i-stepper__status--completed\">Completed</span>\n } @else if (step.optional) {\n <span class=\"i-stepper__status\">Optional</span>\n }\n </span>\n <span class=\"i-stepper__label\">{{ step.label }}</span>\n @if (step.description) {\n <span\n class=\"i-stepper__description\"\n [attr.id]=\"componentId + '-description-' + index\"\n >{{ step.description }}</span>\n }\n </span>\n <i class=\"pi pi-chevron-right i-stepper__chevron\" aria-hidden=\"true\"></i>\n </button>\n @if (!last) {\n <span class=\"i-stepper__connector\" aria-hidden=\"true\"></span>\n }\n </li>\n }\n </ol>\n\n @for (step of steps; track step; let index = $index) {\n <section\n class=\"i-stepper__panel\"\n [class.i-stepper__panel--active]=\"activeIndex === index\"\n [attr.id]=\"componentId + '-panel-' + index\"\n [attr.aria-labelledby]=\"componentId + '-step-' + index\"\n [attr.hidden]=\"activeIndex !== index || null\"\n role=\"region\"\n >\n @if (activeIndex === index) {\n <ng-container [ngTemplateOutlet]=\"step.contentTemplate\"></ng-container>\n }\n </section>\n }\n</div>\n", styles: [".i-stepper{color:var(--color-text-primary)}.i-stepper__trigger{border-color:var(--color-border);background:var(--surface-card)}.i-stepper__trigger:hover:not(:disabled){background:var(--surface-hover);border-color:color-mix(in srgb,var(--color-primary) 35%,var(--color-border));transform:translateY(-1px)}.i-stepper__trigger:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.i-stepper__trigger:disabled{color:var(--color-text-disabled);cursor:not-allowed}.i-stepper__indicator{border-color:var(--color-border);background:var(--surface-ground);color:var(--color-text-secondary)}.i-stepper__description,.i-stepper__meta{color:var(--color-text-secondary)}.i-stepper__status{background:var(--surface-hover)}.i-stepper__status--completed{background:color-mix(in srgb,var(--color-success) 12%,transparent);color:var(--color-success)}.i-stepper__complete-mark{border-color:var(--surface-card);background:var(--color-success);color:var(--color-contrast-inverse)}.i-stepper__connector{background:var(--color-border)}.i-stepper__item--active .i-stepper__trigger{border-color:color-mix(in srgb,var(--color-primary) 55%,var(--color-border));box-shadow:0 6px 18px color-mix(in srgb,var(--color-primary) 12%,transparent)}.i-stepper__item--active .i-stepper__indicator{border-color:color-mix(in srgb,var(--color-primary) 35%,transparent);background:color-mix(in srgb,var(--color-primary) 10%,var(--surface-card));color:var(--color-primary)}.i-stepper__item--active .i-stepper__label{color:var(--color-primary)}.i-stepper__item--active .i-stepper__chevron{color:var(--color-primary);opacity:1;transform:translate(0)}.i-stepper__item--completed .i-stepper__indicator{border-color:var(--color-success);background:color-mix(in srgb,var(--color-success) 10%,var(--surface-card));color:var(--color-success)}.i-stepper__item--completed .i-stepper__connector{background:var(--color-success)}.i-stepper__item--disabled{opacity:.58}.i-stepper{display:flex;width:100%}.i-stepper--horizontal{flex-direction:column}.i-stepper--horizontal .i-stepper__navigation{display:flex;width:100%;align-items:stretch}.i-stepper--horizontal .i-stepper__item{display:flex;flex:1 1 0;align-items:center;min-width:0}.i-stepper--horizontal .i-stepper__trigger{flex:1 1 auto;align-self:stretch}.i-stepper--horizontal .i-stepper__connector{flex:0 0 24px;height:2px;margin:0 6px}.i-stepper--vertical{flex-direction:row;gap:24px}.i-stepper--vertical .i-stepper__navigation{flex:0 0 min(280px,35%)}.i-stepper--vertical .i-stepper__item{position:relative;padding-bottom:12px}.i-stepper--vertical .i-stepper__trigger{width:100%}.i-stepper--vertical .i-stepper__connector{position:absolute;top:66px;bottom:0;left:34px;width:2px}.i-stepper--vertical .i-stepper__panel{flex:1 1 auto;min-width:0}.i-stepper__navigation{box-sizing:border-box;margin:0;padding:0;list-style:none}.i-stepper__trigger{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:82px;padding:14px;overflow:hidden;border:1px solid;border-radius:8px;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}.i-stepper__indicator{position:relative;display:inline-flex;flex:0 0 42px;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid;border-radius:10px;font-weight:600;transition:background .2s,border-color .2s,color .2s}.i-stepper__icon{font-size:18px}.i-stepper__complete-mark{position:absolute;right:-5px;bottom:-5px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:2px solid;border-radius:50%;font-size:9px}.i-stepper__copy,.i-stepper__label,.i-stepper__description{display:block}.i-stepper__copy{flex:1 1 auto;min-width:0}.i-stepper__meta{display:flex;align-items:center;gap:7px;margin-bottom:4px;font-size:.72em;font-weight:600;letter-spacing:.035em;line-height:1.2;text-transform:uppercase}.i-stepper__status{display:inline-flex;align-items:center;min-height:18px;padding:0 6px;border-radius:999px;font-size:.9em;letter-spacing:.02em}.i-stepper__label{font-weight:600;line-height:1.3}.i-stepper__description{margin-top:3px;font-size:.8em;line-height:1.35}.i-stepper__chevron{flex:0 0 auto;font-size:11px;opacity:0;transform:translate(-4px);transition:opacity .2s,transform .2s}.i-stepper__panel{display:none;padding-top:24px}.i-stepper__panel--active{display:block}@media(max-width:768px){.i-stepper--horizontal .i-stepper__navigation{flex-direction:column}.i-stepper--horizontal .i-stepper__item{position:relative;padding-bottom:10px}.i-stepper--horizontal .i-stepper__connector{position:absolute;top:82px;bottom:0;left:34px;width:2px;height:auto;margin:0}.i-stepper--vertical{flex-direction:column;gap:0}.i-stepper--vertical .i-stepper__navigation{flex-basis:auto}}\n"] }]
|
|
6463
|
+
}], propDecorators: { activeIndex: [{
|
|
6464
|
+
type: Input
|
|
6465
|
+
}], linear: [{
|
|
6466
|
+
type: Input
|
|
6467
|
+
}], orientation: [{
|
|
6468
|
+
type: Input
|
|
6469
|
+
}], ariaLabel: [{
|
|
6470
|
+
type: Input
|
|
6471
|
+
}], activeIndexChange: [{
|
|
6472
|
+
type: Output
|
|
6473
|
+
}], onChange: [{
|
|
6474
|
+
type: Output
|
|
6475
|
+
}], stepComponents: [{
|
|
6476
|
+
type: ContentChildren,
|
|
6477
|
+
args: [IStep]
|
|
6478
|
+
}] } });
|
|
6479
|
+
|
|
6299
6480
|
/**
|
|
6300
6481
|
* Tab Panel Component
|
|
6301
6482
|
*
|
|
@@ -9925,5 +10106,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
|
|
|
9925
10106
|
* Generated bundle index. Do not edit.
|
|
9926
10107
|
*/
|
|
9927
10108
|
|
|
9928
|
-
export { AbstractDialog, CLAIMS_CHECKER, ConfirmationDialogComponent, ConfirmationDialogService, DataUpdateEventService, DialogService, EmptyStateComponent, IAccordion, IAccordionList, IButton, ICalendar, ICard, IChart, ICheckbox, IChip, IChipsComponent, IDialog, IDialogActions, IDialogBase, IDivider, IInputText, IListbox, IMessage, IMultiSelect, IOverlayPanel, IPanel, IPlaceholder, IProgressSpinner, IRadioButton, ISelect, ITabPanel, ITable, ITabs, ITag, ITextarea, IToggle, ITreeView, IWhisper, LayoutComponent, LayoutService, LocalStorageColorSchemeKey, MenuComponent, NoContentComponent, SeoService, SidebarComponent, StructuredDataService, TooltipComponent, TooltipDirective, TopbarComponent, UniqueComponentId, WhisperService, ZIndexUtils, lastId, provideMenuClaimsChecker };
|
|
10109
|
+
export { AbstractDialog, CLAIMS_CHECKER, ConfirmationDialogComponent, ConfirmationDialogService, DataUpdateEventService, DialogService, EmptyStateComponent, IAccordion, IAccordionList, IButton, ICalendar, ICard, IChart, ICheckbox, IChip, IChipsComponent, IDialog, IDialogActions, IDialogBase, IDivider, IInputText, IListbox, IMessage, IMultiSelect, IOverlayPanel, IPanel, IPlaceholder, IProgressSpinner, IRadioButton, ISelect, IStep, IStepper, ITabPanel, ITable, ITabs, ITag, ITextarea, IToggle, ITreeView, IWhisper, LayoutComponent, LayoutService, LocalStorageColorSchemeKey, MenuComponent, NoContentComponent, SeoService, SidebarComponent, StructuredDataService, TooltipComponent, TooltipDirective, TopbarComponent, UniqueComponentId, WhisperService, ZIndexUtils, lastId, provideMenuClaimsChecker };
|
|
9929
10110
|
//# sourceMappingURL=invensys-ng.mjs.map
|