@fundamental-ngx/core 0.46.0-rc.70 → 0.46.0-rc.72
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/busy-indicator/busy-indicator.component.mjs +3 -3
- package/esm2022/micro-process-flow/components/micro-process-flow-item/micro-process-flow-item.component.mjs +3 -3
- package/fesm2022/fundamental-ngx-core-busy-indicator.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-busy-indicator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs.map +1 -1
- package/fundamental-ngx-core-v0.46.0-rc.72.tgz +0 -0
- package/package.json +3 -3
- package/schematics/add-dependencies/index.js +4 -4
- package/fundamental-ngx-core-v0.46.0-rc.70.tgz +0 -0
|
@@ -35,7 +35,7 @@ export class BusyIndicatorComponent {
|
|
|
35
35
|
provide: FD_BUSY_INDICATOR_COMPONENT,
|
|
36
36
|
useExisting: BusyIndicatorComponent
|
|
37
37
|
}
|
|
38
|
-
], viewQueries: [{ propertyName: "fakeFocusElement", first: true, predicate: ["fakeFocusElement"], descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n
|
|
38
|
+
], viewQueries: [{ propertyName: "fakeFocusElement", first: true, predicate: ["fakeFocusElement"], descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n >\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n </div>\n\n <span *ngIf=\"label\" class=\"fd-busy-indicator-extended__label\">{{ label }}</span>\n\n <div class=\"fd-busy-indicator__overlay\"></div>\n\n <div #fakeFocusElement tabindex=\"0\" aria-hidden=\"true\" (focusin)=\"fakeElementFocusHandler($event)\"></div>\n</ng-container>\n", styles: ["/*!\n * Fundamental Library Styles v0.30.2-rc.30\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-busy-indicator{--Dot_Color:var(--fdBusy_Indicator_Dot_Color);--Dot_Size:.5rem;-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--Dot_Color);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:0;font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;position:relative;text-align:center}.fd-busy-indicator--contrast{--Dot_Color:var(--fdBusy_Indicator_Dot_Contrast_Color)}.fd-busy-indicator--m{--Dot_Size:1rem}.fd-busy-indicator--l{--Dot_Size:2rem}.fd-busy-indicator:after,.fd-busy-indicator:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-extended{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;gap:1rem;justify-content:center;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-busy-indicator-extended:after,.fd-busy-indicator-extended:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-extended.fd-busy-indicator-extended--message-toast{-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapPageFooter_Background);box-shadow:var(--sapContent_Shadow2);max-width:23.125rem;text-shadow:var(--sapContent_TextShadow);width:23.125rem}.fd-busy-indicator-extended__label{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapPageFooter_TextColor);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;text-align:center}.fd-busy-indicator-extended__label:after,.fd-busy-indicator-extended__label:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator__circle{-webkit-box-sizing:border-box;animation:grow 1.6s cubic-bezier(.32,.06,.85,1.11) infinite;background-color:currentColor;border:0;border-radius:50%;box-sizing:border-box;color:var(--sapTextColor);color:var(--Dot_Color);display:inline-block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:var(--Dot_Size);line-height:var(--sapContent_LineHeight);margin:0;padding:0;position:relative;width:var(--Dot_Size)}.fd-busy-indicator__circle:after,.fd-busy-indicator__circle:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator__circle:nth-child(2){animation-delay:.2s}.fd-busy-indicator__circle:nth-child(3){animation-delay:.4s}.fd-busy-indicator-dialog{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;gap:1rem;justify-content:center;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-busy-indicator-dialog:after,.fd-busy-indicator-dialog:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-dialog .fd-busy-indicator{margin:.5rem auto;width:100%}@keyframes grow{0%,50%,to{transform:scale(.5)}25%{transform:scale(1)}}*+.fd-busy-indicator,*+.fd-busy-indicator+.fd-busy-indicator-extended__label{white-space:nowrap;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}*+.fd-busy-indicator+.fd-busy-indicator-extended__label{z-index:2;transform:translate(-50%,50%)!important}.fd-busy-indicator:first-child~.fd-busy-indicator__overlay{background-color:transparent}.fd-busy-indicator{z-index:2}.fd-busy-indicator__container{display:block;position:relative}.fd-busy-indicator__container:focus{outline-width:var(--sapContent_FocusWidth, .0625rem);outline-color:var(--sapContent_FocusColor, #000);outline-style:var(--sapContent_FocusStyle, dotted)}.fd-busy-indicator__container[tabindex=\"-1\"]{outline:none}.fd-busy-indicator__container--inline{display:inline-block}.fd-busy-indicator__overlay{position:absolute;inset:0;z-index:1;background-color:var(--sapBaseColor);opacity:.72}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
39
39
|
}
|
|
40
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: BusyIndicatorComponent, decorators: [{
|
|
41
41
|
type: Component,
|
|
@@ -53,7 +53,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImpor
|
|
|
53
53
|
'[attr.title]': 'title',
|
|
54
54
|
'[class.fd-busy-indicator__container]': 'true',
|
|
55
55
|
'[class.fd-busy-indicator__container--inline]': '!block'
|
|
56
|
-
}, standalone: true, imports: [NgIf], template: "<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n
|
|
56
|
+
}, standalone: true, imports: [NgIf], template: "<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n >\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n </div>\n\n <span *ngIf=\"label\" class=\"fd-busy-indicator-extended__label\">{{ label }}</span>\n\n <div class=\"fd-busy-indicator__overlay\"></div>\n\n <div #fakeFocusElement tabindex=\"0\" aria-hidden=\"true\" (focusin)=\"fakeElementFocusHandler($event)\"></div>\n</ng-container>\n", styles: ["/*!\n * Fundamental Library Styles v0.30.2-rc.30\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-busy-indicator{--Dot_Color:var(--fdBusy_Indicator_Dot_Color);--Dot_Size:.5rem;-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--Dot_Color);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:0;font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;position:relative;text-align:center}.fd-busy-indicator--contrast{--Dot_Color:var(--fdBusy_Indicator_Dot_Contrast_Color)}.fd-busy-indicator--m{--Dot_Size:1rem}.fd-busy-indicator--l{--Dot_Size:2rem}.fd-busy-indicator:after,.fd-busy-indicator:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-extended{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;gap:1rem;justify-content:center;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-busy-indicator-extended:after,.fd-busy-indicator-extended:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-extended.fd-busy-indicator-extended--message-toast{-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapPageFooter_Background);box-shadow:var(--sapContent_Shadow2);max-width:23.125rem;text-shadow:var(--sapContent_TextShadow);width:23.125rem}.fd-busy-indicator-extended__label{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapPageFooter_TextColor);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;text-align:center}.fd-busy-indicator-extended__label:after,.fd-busy-indicator-extended__label:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator__circle{-webkit-box-sizing:border-box;animation:grow 1.6s cubic-bezier(.32,.06,.85,1.11) infinite;background-color:currentColor;border:0;border-radius:50%;box-sizing:border-box;color:var(--sapTextColor);color:var(--Dot_Color);display:inline-block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:var(--Dot_Size);line-height:var(--sapContent_LineHeight);margin:0;padding:0;position:relative;width:var(--Dot_Size)}.fd-busy-indicator__circle:after,.fd-busy-indicator__circle:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator__circle:nth-child(2){animation-delay:.2s}.fd-busy-indicator__circle:nth-child(3){animation-delay:.4s}.fd-busy-indicator-dialog{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;gap:1rem;justify-content:center;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-busy-indicator-dialog:after,.fd-busy-indicator-dialog:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-dialog .fd-busy-indicator{margin:.5rem auto;width:100%}@keyframes grow{0%,50%,to{transform:scale(.5)}25%{transform:scale(1)}}*+.fd-busy-indicator,*+.fd-busy-indicator+.fd-busy-indicator-extended__label{white-space:nowrap;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}*+.fd-busy-indicator+.fd-busy-indicator-extended__label{z-index:2;transform:translate(-50%,50%)!important}.fd-busy-indicator:first-child~.fd-busy-indicator__overlay{background-color:transparent}.fd-busy-indicator{z-index:2}.fd-busy-indicator__container{display:block;position:relative}.fd-busy-indicator__container:focus{outline-width:var(--sapContent_FocusWidth, .0625rem);outline-color:var(--sapContent_FocusColor, #000);outline-style:var(--sapContent_FocusStyle, dotted)}.fd-busy-indicator__container[tabindex=\"-1\"]{outline:none}.fd-busy-indicator__container--inline{display:inline-block}.fd-busy-indicator__overlay{position:absolute;inset:0;z-index:1;background-color:var(--sapBaseColor);opacity:.72}\n"] }]
|
|
57
57
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { loading: [{
|
|
58
58
|
type: Input
|
|
59
59
|
}], size: [{
|
|
@@ -75,4 +75,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImpor
|
|
|
75
75
|
type: HostListener,
|
|
76
76
|
args: ['keydown', ['$event']]
|
|
77
77
|
}] } });
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzeS1pbmRpY2F0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3NyYy9saWIvYnVzeS1pbmRpY2F0b3IvYnVzeS1pbmRpY2F0b3IuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3NyYy9saWIvYnVzeS1pbmRpY2F0b3IvYnVzeS1pbmRpY2F0b3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsV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Fzcy5mZC1idXN5LWluZGljYXRvci0tbV09XCJzaXplID09PSAnbSdcIlxuICAgICAgICBbY2xhc3MuZmQtYnVzeS1pbmRpY2F0b3ItLXNdPVwic2l6ZSA9PT0gJ3MnXCJcbiAgICA+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJmZC1idXN5LWluZGljYXRvcl9fY2lyY2xlXCI+PC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJmZC1idXN5LWluZGljYXRvcl9fY2lyY2xlXCI+PC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJmZC1idXN5LWluZGljYXRvcl9fY2lyY2xlXCI+PC9kaXY+XG4gICAgPC9kaXY+XG5cbiAgICA8c3BhbiAqbmdJZj1cImxhYmVsXCIgY2xhc3M9XCJmZC1idXN5LWluZGljYXRvci1leHRlbmRlZF9fbGFiZWxcIj57eyBsYWJlbCB9fTwvc3Bhbj5cblxuICAgIDxkaXYgY2xhc3M9XCJmZC1idXN5LWluZGljYXRvcl9fb3ZlcmxheVwiPjwvZGl2PlxuXG4gICAgPGRpdiAjZmFrZUZvY3VzRWxlbWVudCB0YWJpbmRleD1cIjBcIiBhcmlhLWhpZGRlbj1cInRydWVcIiAoZm9jdXNpbik9XCJmYWtlRWxlbWVudEZvY3VzSGFuZGxlcigkZXZlbnQpXCI+PC9kaXY+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -24,7 +24,7 @@ export class MicroProcessFlowItemComponent {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MicroProcessFlowItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: MicroProcessFlowItemComponent, isStandalone: true, selector: "fd-micro-process-flow-item", inputs: { state: "state", intermediate: "intermediate" }, host: { properties: { "class.fd-micro-process-flow__item--positive": "state === \"positive\"", "class.fd-micro-process-flow__item--critical": "state === \"critical\"", "class.fd-micro-process-flow__item--negative": "state === \"negative\"", "class.fd-micro-process-flow__item--information": "state === \"information\"" }, classAttribute: "fd-micro-process-flow__item" }, queries: [{ propertyName: "focusableElement", first: true, predicate: MicroProcessFlowFocusableItemDirective, descendants: true }], ngImport: i0, template: "<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: MicroProcessFlowItemComponent, isStandalone: true, selector: "fd-micro-process-flow-item", inputs: { state: "state", intermediate: "intermediate" }, host: { properties: { "class.fd-micro-process-flow__item--positive": "state === \"positive\"", "class.fd-micro-process-flow__item--critical": "state === \"critical\"", "class.fd-micro-process-flow__item--negative": "state === \"negative\"", "class.fd-micro-process-flow__item--information": "state === \"information\"" }, classAttribute: "fd-micro-process-flow__item" }, queries: [{ propertyName: "focusableElement", first: true, predicate: MicroProcessFlowFocusableItemDirective, descendants: true }], ngImport: i0, template: "<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n", styles: ["fd-micro-process-flow-item .fd-info-label__text{white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
28
28
|
}
|
|
29
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MicroProcessFlowItemComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
@@ -34,7 +34,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImpor
|
|
|
34
34
|
'[class.fd-micro-process-flow__item--critical]': 'state === "critical"',
|
|
35
35
|
'[class.fd-micro-process-flow__item--negative]': 'state === "negative"',
|
|
36
36
|
'[class.fd-micro-process-flow__item--information]': 'state === "information"'
|
|
37
|
-
}, standalone: true, imports: [NgIf], template: "<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n" }]
|
|
37
|
+
}, standalone: true, imports: [NgIf], template: "<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n", styles: ["fd-micro-process-flow-item .fd-info-label__text{white-space:nowrap}\n"] }]
|
|
38
38
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { state: [{
|
|
39
39
|
type: Input
|
|
40
40
|
}], intermediate: [{
|
|
@@ -43,4 +43,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImpor
|
|
|
43
43
|
type: ContentChild,
|
|
44
44
|
args: [MicroProcessFlowFocusableItemDirective]
|
|
45
45
|
}] } });
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWljcm8tcHJvY2Vzcy1mbG93LWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3NyYy9saWIvbWljcm8tcHJvY2Vzcy1mbG93L2NvbXBvbmVudHMvbWljcm8tcHJvY2Vzcy1mbG93LWl0ZW0vbWljcm8tcHJvY2Vzcy1mbG93LWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3NyYy9saWIvbWljcm8tcHJvY2Vzcy1mbG93L2NvbXBvbmVudHMvbWljcm8tcHJvY2Vzcy1mbG93LWl0ZW0vbWljcm8tcHJvY2Vzcy1mbG93LWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZDLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osVUFBVSxFQUNWLEtBQUssRUFDTCxpQkFBaUIsRUFDcEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLHNDQUFzQyxFQUFFLE1BQU0sbURBQW1ELENBQU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yby1wcm9jZXNzLWZsb3ctaW50ZXJtZWRpYXJ5LWl0ZW1dXCI+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -37,7 +37,7 @@ class BusyIndicatorComponent {
|
|
|
37
37
|
provide: FD_BUSY_INDICATOR_COMPONENT,
|
|
38
38
|
useExisting: BusyIndicatorComponent
|
|
39
39
|
}
|
|
40
|
-
], viewQueries: [{ propertyName: "fakeFocusElement", first: true, predicate: ["fakeFocusElement"], descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n
|
|
40
|
+
], viewQueries: [{ propertyName: "fakeFocusElement", first: true, predicate: ["fakeFocusElement"], descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n >\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n </div>\n\n <span *ngIf=\"label\" class=\"fd-busy-indicator-extended__label\">{{ label }}</span>\n\n <div class=\"fd-busy-indicator__overlay\"></div>\n\n <div #fakeFocusElement tabindex=\"0\" aria-hidden=\"true\" (focusin)=\"fakeElementFocusHandler($event)\"></div>\n</ng-container>\n", styles: ["/*!\n * Fundamental Library Styles v0.30.2-rc.30\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-busy-indicator{--Dot_Color:var(--fdBusy_Indicator_Dot_Color);--Dot_Size:.5rem;-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--Dot_Color);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:0;font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;position:relative;text-align:center}.fd-busy-indicator--contrast{--Dot_Color:var(--fdBusy_Indicator_Dot_Contrast_Color)}.fd-busy-indicator--m{--Dot_Size:1rem}.fd-busy-indicator--l{--Dot_Size:2rem}.fd-busy-indicator:after,.fd-busy-indicator:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-extended{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;gap:1rem;justify-content:center;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-busy-indicator-extended:after,.fd-busy-indicator-extended:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-extended.fd-busy-indicator-extended--message-toast{-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapPageFooter_Background);box-shadow:var(--sapContent_Shadow2);max-width:23.125rem;text-shadow:var(--sapContent_TextShadow);width:23.125rem}.fd-busy-indicator-extended__label{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapPageFooter_TextColor);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;text-align:center}.fd-busy-indicator-extended__label:after,.fd-busy-indicator-extended__label:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator__circle{-webkit-box-sizing:border-box;animation:grow 1.6s cubic-bezier(.32,.06,.85,1.11) infinite;background-color:currentColor;border:0;border-radius:50%;box-sizing:border-box;color:var(--sapTextColor);color:var(--Dot_Color);display:inline-block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:var(--Dot_Size);line-height:var(--sapContent_LineHeight);margin:0;padding:0;position:relative;width:var(--Dot_Size)}.fd-busy-indicator__circle:after,.fd-busy-indicator__circle:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator__circle:nth-child(2){animation-delay:.2s}.fd-busy-indicator__circle:nth-child(3){animation-delay:.4s}.fd-busy-indicator-dialog{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;gap:1rem;justify-content:center;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-busy-indicator-dialog:after,.fd-busy-indicator-dialog:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-dialog .fd-busy-indicator{margin:.5rem auto;width:100%}@keyframes grow{0%,50%,to{transform:scale(.5)}25%{transform:scale(1)}}*+.fd-busy-indicator,*+.fd-busy-indicator+.fd-busy-indicator-extended__label{white-space:nowrap;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}*+.fd-busy-indicator+.fd-busy-indicator-extended__label{z-index:2;transform:translate(-50%,50%)!important}.fd-busy-indicator:first-child~.fd-busy-indicator__overlay{background-color:transparent}.fd-busy-indicator{z-index:2}.fd-busy-indicator__container{display:block;position:relative}.fd-busy-indicator__container:focus{outline-width:var(--sapContent_FocusWidth, .0625rem);outline-color:var(--sapContent_FocusColor, #000);outline-style:var(--sapContent_FocusStyle, dotted)}.fd-busy-indicator__container[tabindex=\"-1\"]{outline:none}.fd-busy-indicator__container--inline{display:inline-block}.fd-busy-indicator__overlay{position:absolute;inset:0;z-index:1;background-color:var(--sapBaseColor);opacity:.72}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
41
41
|
}
|
|
42
42
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: BusyIndicatorComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
@@ -55,7 +55,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImpor
|
|
|
55
55
|
'[attr.title]': 'title',
|
|
56
56
|
'[class.fd-busy-indicator__container]': 'true',
|
|
57
57
|
'[class.fd-busy-indicator__container--inline]': '!block'
|
|
58
|
-
}, standalone: true, imports: [NgIf], template: "<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n
|
|
58
|
+
}, standalone: true, imports: [NgIf], template: "<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n >\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n </div>\n\n <span *ngIf=\"label\" class=\"fd-busy-indicator-extended__label\">{{ label }}</span>\n\n <div class=\"fd-busy-indicator__overlay\"></div>\n\n <div #fakeFocusElement tabindex=\"0\" aria-hidden=\"true\" (focusin)=\"fakeElementFocusHandler($event)\"></div>\n</ng-container>\n", styles: ["/*!\n * Fundamental Library Styles v0.30.2-rc.30\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-busy-indicator{--Dot_Color:var(--fdBusy_Indicator_Dot_Color);--Dot_Size:.5rem;-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--Dot_Color);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:0;font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;position:relative;text-align:center}.fd-busy-indicator--contrast{--Dot_Color:var(--fdBusy_Indicator_Dot_Contrast_Color)}.fd-busy-indicator--m{--Dot_Size:1rem}.fd-busy-indicator--l{--Dot_Size:2rem}.fd-busy-indicator:after,.fd-busy-indicator:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-extended{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;gap:1rem;justify-content:center;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-busy-indicator-extended:after,.fd-busy-indicator-extended:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-extended.fd-busy-indicator-extended--message-toast{-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapPageFooter_Background);box-shadow:var(--sapContent_Shadow2);max-width:23.125rem;text-shadow:var(--sapContent_TextShadow);width:23.125rem}.fd-busy-indicator-extended__label{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapPageFooter_TextColor);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;text-align:center}.fd-busy-indicator-extended__label:after,.fd-busy-indicator-extended__label:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator__circle{-webkit-box-sizing:border-box;animation:grow 1.6s cubic-bezier(.32,.06,.85,1.11) infinite;background-color:currentColor;border:0;border-radius:50%;box-sizing:border-box;color:var(--sapTextColor);color:var(--Dot_Color);display:inline-block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:var(--Dot_Size);line-height:var(--sapContent_LineHeight);margin:0;padding:0;position:relative;width:var(--Dot_Size)}.fd-busy-indicator__circle:after,.fd-busy-indicator__circle:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator__circle:nth-child(2){animation-delay:.2s}.fd-busy-indicator__circle:nth-child(3){animation-delay:.4s}.fd-busy-indicator-dialog{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;gap:1rem;justify-content:center;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-busy-indicator-dialog:after,.fd-busy-indicator-dialog:before{box-sizing:inherit;font-size:inherit}.fd-busy-indicator-dialog .fd-busy-indicator{margin:.5rem auto;width:100%}@keyframes grow{0%,50%,to{transform:scale(.5)}25%{transform:scale(1)}}*+.fd-busy-indicator,*+.fd-busy-indicator+.fd-busy-indicator-extended__label{white-space:nowrap;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}*+.fd-busy-indicator+.fd-busy-indicator-extended__label{z-index:2;transform:translate(-50%,50%)!important}.fd-busy-indicator:first-child~.fd-busy-indicator__overlay{background-color:transparent}.fd-busy-indicator{z-index:2}.fd-busy-indicator__container{display:block;position:relative}.fd-busy-indicator__container:focus{outline-width:var(--sapContent_FocusWidth, .0625rem);outline-color:var(--sapContent_FocusColor, #000);outline-style:var(--sapContent_FocusStyle, dotted)}.fd-busy-indicator__container[tabindex=\"-1\"]{outline:none}.fd-busy-indicator__container--inline{display:inline-block}.fd-busy-indicator__overlay{position:absolute;inset:0;z-index:1;background-color:var(--sapBaseColor);opacity:.72}\n"] }]
|
|
59
59
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { loading: [{
|
|
60
60
|
type: Input
|
|
61
61
|
}], size: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-core-busy-indicator.mjs","sources":["../../../../libs/core/src/lib/busy-indicator/tokens.ts","../../../../libs/core/src/lib/busy-indicator/busy-indicator.component.ts","../../../../libs/core/src/lib/busy-indicator/busy-indicator.component.html","../../../../libs/core/src/lib/busy-indicator/busy-indicator-extended/busy-indicator-extended.directive.ts","../../../../libs/core/src/lib/busy-indicator/busy-indicator.module.ts","../../../../libs/core/src/lib/busy-indicator/fundamental-ngx-core-busy-indicator.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport const FD_BUSY_INDICATOR_COMPONENT = new InjectionToken('FdBusyIndicatorComponent');\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostListener,\n Input,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { KeyUtil } from '@fundamental-ngx/cdk/utils';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { TAB } from '@angular/cdk/keycodes';\nimport { FD_BUSY_INDICATOR_COMPONENT } from './tokens';\nimport { NgIf } from '@angular/common';\n\nexport type BusyIndicatorSize = 's' | 'm' | 'l';\n\n@Component({\n selector: 'fd-busy-indicator',\n templateUrl: './busy-indicator.component.html',\n styleUrls: ['./busy-indicator.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: FD_BUSY_INDICATOR_COMPONENT,\n useExisting: BusyIndicatorComponent\n }\n ],\n host: {\n '[attr.role]': \"loading ? 'progressbar' : 'presentation'\",\n '[attr.tabindex]': 'loading ? 0 : -1',\n '[attr.aria-busy]': 'loading',\n '[attr.aria-live]': 'ariaLive',\n '[attr.aria-label]': 'ariaLabel',\n '[attr.title]': 'title',\n '[class.fd-busy-indicator__container]': 'true',\n '[class.fd-busy-indicator__container--inline]': '!block'\n },\n standalone: true,\n imports: [NgIf]\n})\nexport class BusyIndicatorComponent {\n /** Whether to display the loading indicator animation. */\n @Input()\n loading: boolean;\n\n /** The size of the loading indicator, default will be medium */\n @Input()\n size: BusyIndicatorSize = 'm';\n\n /** Whether to use loader as block element */\n @Input()\n block = false;\n\n /** Aria label attribute value. */\n @Input()\n ariaLabel: Nullable<string>;\n\n /** title attribute value for tooltip. */\n @Input()\n title: string;\n\n /** add loading label value */\n @Input()\n label?: string;\n\n /** Aria live attribute value. */\n @Input()\n ariaLive: Nullable<'assertive' | 'polite' | 'off'> = 'polite';\n\n /** @hidden */\n @ViewChild('fakeFocusElement')\n fakeFocusElement: ElementRef;\n\n /** @hidden */\n constructor(private _elementRef: ElementRef) {}\n\n /** @hidden If focus escapes busy container focus element after wrapped content */\n @HostListener('keydown', ['$event'])\n hostFocusChangeHandler(event: KeyboardEvent): void {\n if (this.loading && KeyUtil.isKeyCode(event, TAB) && !event.shiftKey) {\n this.fakeFocusElement.nativeElement.focus();\n }\n }\n\n /** @hidden If busy container is navigated as \"previous focusable element\",\n * focus busy indicator to prevent from focusing wrapped content */\n fakeElementFocusHandler(event: FocusEvent): void {\n if (this.loading && event.relatedTarget !== this._elementRef.nativeElement) {\n event.stopPropagation();\n this._elementRef.nativeElement.focus();\n }\n }\n}\n","<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n [class.fd-busy-indicator--absolute]=\"busyIndicator?.previousElementSibling\"\n >\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n </div>\n\n <span *ngIf=\"label\" class=\"fd-busy-indicator-extended__label\">{{ label }}</span>\n\n <div\n class=\"fd-busy-indicator__overlay\"\n [class.fd-busy-indicator__overlay--transparent]=\"!busyIndicator?.previousElementSibling\"\n ></div>\n\n <div #fakeFocusElement tabindex=\"0\" aria-hidden=\"true\" (focusin)=\"fakeElementFocusHandler($event)\"></div>\n</ng-container>\n","import { AfterContentInit, ContentChild, Directive, ElementRef } from '@angular/core';\nimport { BusyIndicatorComponent } from '../busy-indicator.component';\nimport { FD_BUSY_INDICATOR_COMPONENT } from '../tokens';\n\nconst messageToastClass = 'fd-message-toast';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: '[fd-busy-indicator-extended]',\n standalone: true\n})\nexport class BusyIndicatorExtendedDirective implements AfterContentInit {\n /** @hidden */\n @ContentChild(FD_BUSY_INDICATOR_COMPONENT)\n busyIndicator: BusyIndicatorComponent;\n\n /** @hidden */\n constructor(public readonly elementRef: ElementRef) {}\n\n /** @hidden */\n ngAfterContentInit(): void {\n this._appendCssToParent();\n }\n\n /** @hidden */\n private _appendCssToParent(): void {\n const hasLabel = this.busyIndicator.label;\n if (!hasLabel) {\n return;\n }\n const classList = this.elementRef.nativeElement.parentElement?.classList;\n if (classList) {\n classList.add('fd-busy-indicator-extended');\n if (classList.contains(messageToastClass)) {\n classList.add('fd-busy-indicator-extended--message-toast');\n }\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BusyIndicatorComponent } from './busy-indicator.component';\nimport { BusyIndicatorExtendedDirective } from './busy-indicator-extended/busy-indicator-extended.directive';\n\n@NgModule({\n exports: [BusyIndicatorComponent, BusyIndicatorExtendedDirective],\n imports: [CommonModule, BusyIndicatorComponent, BusyIndicatorExtendedDirective]\n})\nexport class BusyIndicatorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAEa,2BAA2B,GAAG,IAAI,cAAc,CAAC,0BAA0B;;MCwC3E,sBAAsB,CA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AAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAFlB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEb,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,8BAA8B,CAAC;AACjE,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,sBAAsB,EAAE,8BAA8B,CAAC;AAClF,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-core-busy-indicator.mjs","sources":["../../../../libs/core/src/lib/busy-indicator/tokens.ts","../../../../libs/core/src/lib/busy-indicator/busy-indicator.component.ts","../../../../libs/core/src/lib/busy-indicator/busy-indicator.component.html","../../../../libs/core/src/lib/busy-indicator/busy-indicator-extended/busy-indicator-extended.directive.ts","../../../../libs/core/src/lib/busy-indicator/busy-indicator.module.ts","../../../../libs/core/src/lib/busy-indicator/fundamental-ngx-core-busy-indicator.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport const FD_BUSY_INDICATOR_COMPONENT = new InjectionToken('FdBusyIndicatorComponent');\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostListener,\n Input,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { KeyUtil } from '@fundamental-ngx/cdk/utils';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { TAB } from '@angular/cdk/keycodes';\nimport { FD_BUSY_INDICATOR_COMPONENT } from './tokens';\nimport { NgIf } from '@angular/common';\n\nexport type BusyIndicatorSize = 's' | 'm' | 'l';\n\n@Component({\n selector: 'fd-busy-indicator',\n templateUrl: './busy-indicator.component.html',\n styleUrls: ['./busy-indicator.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: FD_BUSY_INDICATOR_COMPONENT,\n useExisting: BusyIndicatorComponent\n }\n ],\n host: {\n '[attr.role]': \"loading ? 'progressbar' : 'presentation'\",\n '[attr.tabindex]': 'loading ? 0 : -1',\n '[attr.aria-busy]': 'loading',\n '[attr.aria-live]': 'ariaLive',\n '[attr.aria-label]': 'ariaLabel',\n '[attr.title]': 'title',\n '[class.fd-busy-indicator__container]': 'true',\n '[class.fd-busy-indicator__container--inline]': '!block'\n },\n standalone: true,\n imports: [NgIf]\n})\nexport class BusyIndicatorComponent {\n /** Whether to display the loading indicator animation. */\n @Input()\n loading: boolean;\n\n /** The size of the loading indicator, default will be medium */\n @Input()\n size: BusyIndicatorSize = 'm';\n\n /** Whether to use loader as block element */\n @Input()\n block = false;\n\n /** Aria label attribute value. */\n @Input()\n ariaLabel: Nullable<string>;\n\n /** title attribute value for tooltip. */\n @Input()\n title: string;\n\n /** add loading label value */\n @Input()\n label?: string;\n\n /** Aria live attribute value. */\n @Input()\n ariaLive: Nullable<'assertive' | 'polite' | 'off'> = 'polite';\n\n /** @hidden */\n @ViewChild('fakeFocusElement')\n fakeFocusElement: ElementRef;\n\n /** @hidden */\n constructor(private _elementRef: ElementRef) {}\n\n /** @hidden If focus escapes busy container focus element after wrapped content */\n @HostListener('keydown', ['$event'])\n hostFocusChangeHandler(event: KeyboardEvent): void {\n if (this.loading && KeyUtil.isKeyCode(event, TAB) && !event.shiftKey) {\n this.fakeFocusElement.nativeElement.focus();\n }\n }\n\n /** @hidden If busy container is navigated as \"previous focusable element\",\n * focus busy indicator to prevent from focusing wrapped content */\n fakeElementFocusHandler(event: FocusEvent): void {\n if (this.loading && event.relatedTarget !== this._elementRef.nativeElement) {\n event.stopPropagation();\n this._elementRef.nativeElement.focus();\n }\n }\n}\n","<ng-content></ng-content>\n\n<ng-container *ngIf=\"loading\">\n <div\n #busyIndicator\n class=\"fd-busy-indicator\"\n [class.fd-busy-indicator--l]=\"size === 'l'\"\n [class.fd-busy-indicator--m]=\"size === 'm'\"\n [class.fd-busy-indicator--s]=\"size === 's'\"\n >\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n <div class=\"fd-busy-indicator__circle\"></div>\n </div>\n\n <span *ngIf=\"label\" class=\"fd-busy-indicator-extended__label\">{{ label }}</span>\n\n <div class=\"fd-busy-indicator__overlay\"></div>\n\n <div #fakeFocusElement tabindex=\"0\" aria-hidden=\"true\" (focusin)=\"fakeElementFocusHandler($event)\"></div>\n</ng-container>\n","import { AfterContentInit, ContentChild, Directive, ElementRef } from '@angular/core';\nimport { BusyIndicatorComponent } from '../busy-indicator.component';\nimport { FD_BUSY_INDICATOR_COMPONENT } from '../tokens';\n\nconst messageToastClass = 'fd-message-toast';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: '[fd-busy-indicator-extended]',\n standalone: true\n})\nexport class BusyIndicatorExtendedDirective implements AfterContentInit {\n /** @hidden */\n @ContentChild(FD_BUSY_INDICATOR_COMPONENT)\n busyIndicator: BusyIndicatorComponent;\n\n /** @hidden */\n constructor(public readonly elementRef: ElementRef) {}\n\n /** @hidden */\n ngAfterContentInit(): void {\n this._appendCssToParent();\n }\n\n /** @hidden */\n private _appendCssToParent(): void {\n const hasLabel = this.busyIndicator.label;\n if (!hasLabel) {\n return;\n }\n const classList = this.elementRef.nativeElement.parentElement?.classList;\n if (classList) {\n classList.add('fd-busy-indicator-extended');\n if (classList.contains(messageToastClass)) {\n classList.add('fd-busy-indicator-extended--message-toast');\n }\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BusyIndicatorComponent } from './busy-indicator.component';\nimport { BusyIndicatorExtendedDirective } from './busy-indicator-extended/busy-indicator-extended.directive';\n\n@NgModule({\n exports: [BusyIndicatorComponent, BusyIndicatorExtendedDirective],\n imports: [CommonModule, BusyIndicatorComponent, Bus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B,EAAA,OAAA,EAAA,CAFlB,YAAY,EAAE,sBAAsB,EAAE,8BAA8B,CAAA,EAAA,OAAA,EAAA,CADpE,sBAAsB,EAAE,8BAA8B,CAAA,EAAA,CAAA,CAAA,EAAA;AAGvD,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAFlB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEb,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,8BAA8B,CAAC;AACjE,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,sBAAsB,EAAE,8BAA8B,CAAC;AAClF,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -115,7 +115,7 @@ class MicroProcessFlowItemComponent {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MicroProcessFlowItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
118
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: MicroProcessFlowItemComponent, isStandalone: true, selector: "fd-micro-process-flow-item", inputs: { state: "state", intermediate: "intermediate" }, host: { properties: { "class.fd-micro-process-flow__item--positive": "state === \"positive\"", "class.fd-micro-process-flow__item--critical": "state === \"critical\"", "class.fd-micro-process-flow__item--negative": "state === \"negative\"", "class.fd-micro-process-flow__item--information": "state === \"information\"" }, classAttribute: "fd-micro-process-flow__item" }, queries: [{ propertyName: "focusableElement", first: true, predicate: MicroProcessFlowFocusableItemDirective, descendants: true }], ngImport: i0, template: "<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
118
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: MicroProcessFlowItemComponent, isStandalone: true, selector: "fd-micro-process-flow-item", inputs: { state: "state", intermediate: "intermediate" }, host: { properties: { "class.fd-micro-process-flow__item--positive": "state === \"positive\"", "class.fd-micro-process-flow__item--critical": "state === \"critical\"", "class.fd-micro-process-flow__item--negative": "state === \"negative\"", "class.fd-micro-process-flow__item--information": "state === \"information\"" }, classAttribute: "fd-micro-process-flow__item" }, queries: [{ propertyName: "focusableElement", first: true, predicate: MicroProcessFlowFocusableItemDirective, descendants: true }], ngImport: i0, template: "<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n", styles: ["fd-micro-process-flow-item .fd-info-label__text{white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
119
119
|
}
|
|
120
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MicroProcessFlowItemComponent, decorators: [{
|
|
121
121
|
type: Component,
|
|
@@ -125,7 +125,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImpor
|
|
|
125
125
|
'[class.fd-micro-process-flow__item--critical]': 'state === "critical"',
|
|
126
126
|
'[class.fd-micro-process-flow__item--negative]': 'state === "negative"',
|
|
127
127
|
'[class.fd-micro-process-flow__item--information]': 'state === "information"'
|
|
128
|
-
}, standalone: true, imports: [NgIf], template: "<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n" }]
|
|
128
|
+
}, standalone: true, imports: [NgIf], template: "<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n", styles: ["fd-micro-process-flow-item .fd-info-label__text{white-space:nowrap}\n"] }]
|
|
129
129
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { state: [{
|
|
130
130
|
type: Input
|
|
131
131
|
}], intermediate: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-core-micro-process-flow.mjs","sources":["../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow-icon/micro-process-flow-icon.component.ts","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow-icon/micro-process-flow-icon.component.html","../../../../libs/core/src/lib/micro-process-flow/injection-tokens.ts","../../../../libs/core/src/lib/micro-process-flow/micro-process-flow-focusable-item.directive.ts","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow-item/micro-process-flow-item.component.ts","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow-item/micro-process-flow-item.component.html","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow/micro-process-flow.component.ts","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow/micro-process-flow.component.html","../../../../libs/core/src/lib/micro-process-flow/micro-process-flow-intermediary-item.directive.ts","../../../../libs/core/src/lib/micro-process-flow/micro-process-flow.module.ts","../../../../libs/core/src/lib/micro-process-flow/fundamental-ngx-core-micro-process-flow.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { IconComponent, IconFont } from '@fundamental-ngx/core/icon';\n\n@Component({\n selector: 'fd-micro-process-flow-icon',\n templateUrl: './micro-process-flow-icon.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'fd-micro-process-flow__icon-container'\n },\n standalone: true,\n imports: [IconComponent]\n})\nexport class MicroProcessFlowIconComponent {\n /** The icon name to display. See the icon page for the list of icons\n * here: https://sap.github.io/fundamental-ngx/icon\n */\n @Input() glyph: string;\n\n /**\n * The icon font\n * Options include: 'SAP-icons', 'BusinessSuiteInAppSymbols' and 'SAP-icons-TNT'\n */\n @Input() font: IconFont = 'SAP-icons';\n\n /** user's custom classes */\n @Input()\n class: string;\n\n /** Aria-label for Icon. */\n @Input()\n ariaLabel: Nullable<string>;\n}\n","<fd-icon\n class=\"fd-micro-process-flow__icon\"\n [ariaLabel]=\"ariaLabel\"\n [glyph]=\"glyph\"\n [class]=\"class\"\n [font]=\"font\"\n></fd-icon>\n","import { InjectionToken } from '@angular/core';\nimport { Subject } from 'rxjs';\n\nexport interface MicroProcessFlowComponentInterface {\n canItemsReceiveFocus: Subject<boolean>;\n setFocusedElementIndex(elm: HTMLElement): void;\n}\n\nexport const MICRO_PROCESS_FLOW = new InjectionToken<MicroProcessFlowComponentInterface>(\n 'Micro process flow component dependency'\n);\n","import { Directive, ElementRef, HostListener, Inject, OnInit, Optional } from '@angular/core';\nimport { MICRO_PROCESS_FLOW, MicroProcessFlowComponentInterface } from './injection-tokens';\n\n@Directive({\n selector: '[fdMicroProcessFlowFocusableItem], [fd-micro-process-flow-focusable-item]',\n host: {\n class: 'fd-micro-process-flow__focusable-item'\n },\n standalone: true\n})\nexport class MicroProcessFlowFocusableItemDirective implements OnInit {\n /** @hidden */\n constructor(\n public elRef: ElementRef<HTMLElement>,\n @Optional() @Inject(MICRO_PROCESS_FLOW) private _microProcessFlow: MicroProcessFlowComponentInterface\n ) {}\n\n /** @hidden */\n ngOnInit(): void {\n this.setFocusable();\n }\n\n /** Sets ability to focus on the element or not. */\n setFocusable(focusable = false): void {\n this.elRef.nativeElement.setAttribute('tabindex', focusable ? '0' : '-1');\n }\n\n /** Focuses on the element without scrolling it to the viewport */\n focus(options: FocusOptions): void {\n this.elRef.nativeElement.focus(options);\n }\n\n /**\n * @hidden\n * Handler for focus events\n */\n @HostListener('focus')\n onFocus(): void {\n this._microProcessFlow?.setFocusedElementIndex(this.elRef.nativeElement);\n this._microProcessFlow?.canItemsReceiveFocus.next(false);\n }\n\n /** @hidden */\n @HostListener('blur')\n onBlur(): void {\n this._microProcessFlow?.canItemsReceiveFocus.next(true);\n }\n}\n","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ElementRef,\n Input,\n ViewEncapsulation\n} from '@angular/core';\nimport { MicroProcessFlowFocusableItemDirective } from '../../micro-process-flow-focusable-item.directive';\nimport { MicroProcessFlowItemType } from '../../types';\n\n@Component({\n selector: 'fd-micro-process-flow-item',\n templateUrl: './micro-process-flow-item.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'fd-micro-process-flow__item',\n '[class.fd-micro-process-flow__item--positive]': 'state === \"positive\"',\n '[class.fd-micro-process-flow__item--critical]': 'state === \"critical\"',\n '[class.fd-micro-process-flow__item--negative]': 'state === \"negative\"',\n '[class.fd-micro-process-flow__item--information]': 'state === \"information\"'\n },\n standalone: true,\n imports: [NgIf]\n})\nexport class MicroProcessFlowItemComponent {\n /** Item state */\n @Input()\n state: MicroProcessFlowItemType = 'none';\n\n /** Whether or not display connector line */\n @Input()\n intermediate = false;\n\n /** @hidden */\n _lastItem = false;\n\n /** Element that can receive focus. */\n @ContentChild(MicroProcessFlowFocusableItemDirective)\n focusableElement: MicroProcessFlowFocusableItemDirective;\n\n /** @hidden */\n constructor(private _cd: ChangeDetectorRef, public elRef: ElementRef) {}\n\n /**\n * @param value Is current item the last one\n */\n setLastItem(value: boolean): void {\n if (value !== this._lastItem) {\n this._lastItem = value;\n this._cd.detectChanges();\n }\n }\n}\n","<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n","import { ENTER, LEFT_ARROW, RIGHT_ARROW, SPACE } from '@angular/cdk/keycodes';\nimport { NgIf } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n QueryList,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { KeyUtil, RtlService } from '@fundamental-ngx/cdk/utils';\nimport { ContentDensityObserver, contentDensityObserverProviders } from '@fundamental-ngx/core/content-density';\nimport { Subject, Subscription } from 'rxjs';\nimport { debounceTime, startWith } from 'rxjs/operators';\nimport { MICRO_PROCESS_FLOW } from '../../injection-tokens';\nimport { MicroProcessFlowFocusableItemDirective } from '../../micro-process-flow-focusable-item.directive';\nimport { MicroProcessFlowItemComponent } from '../micro-process-flow-item/micro-process-flow-item.component';\n\n@Component({\n selector: 'fd-micro-process-flow',\n templateUrl: './micro-process-flow.component.html',\n styleUrls: ['./micro-process-flow.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'fd-micro-process-flow',\n '[class.fd-micro-process-flow--independent-steps]': 'independentSteps'\n },\n providers: [\n {\n provide: MICRO_PROCESS_FLOW,\n useExisting: MicroProcessFlowComponent\n },\n contentDensityObserverProviders()\n ],\n standalone: true,\n imports: [NgIf]\n})\nexport class MicroProcessFlowComponent implements OnInit, OnDestroy, AfterViewInit {\n /** Should connector between items be hidden. */\n @Input()\n independentSteps = false;\n\n /** Pagination transition speed in milliseconds */\n @Input()\n transitionSpeed = 300;\n\n /** Pagination transition effect */\n @Input()\n transitionTimingFunction = 'ease';\n\n /** Micro process flow items. */\n @ContentChildren(MicroProcessFlowItemComponent)\n items: QueryList<MicroProcessFlowItemComponent>;\n\n /** Micro process flow items. */\n @ContentChildren(MicroProcessFlowFocusableItemDirective, { descendants: true })\n focusableItems: QueryList<MicroProcessFlowFocusableItemDirective>;\n\n /**\n * Previous items outside the viewport.\n */\n previousItemsCount = 0;\n\n /**\n * Next items outside the viewport.\n */\n nextItemsCount = 0;\n\n /** Indicating whether or not any element is focused */\n canItemsReceiveFocus = new Subject<boolean>();\n\n /** Should show next button. */\n get showNextButton(): boolean {\n return this.nextItemsCount > 0;\n }\n\n /** Should show previous button. */\n get showPreviousButton(): boolean {\n return this.previousItemsCount > 0;\n }\n\n /** @hidden */\n @ViewChild('wrapperContainer')\n private _wrapperContainer: ElementRef<HTMLElement>;\n\n /** @hidden */\n @ViewChild('container')\n private _container: ElementRef<HTMLElement>;\n\n /** @hidden */\n @ViewChild('goNextButton')\n private _goNextButton: ElementRef<HTMLElement>;\n\n /** @hidden */\n private _isRtl = false;\n\n /** @hidden */\n private get _paginationDirection(): number {\n return this._isRtl ? 1 : -1;\n }\n\n /** @hidden */\n private _subscriptions = new Subscription();\n\n /** @hidden */\n private _navigationKeys = [LEFT_ARROW, RIGHT_ARROW];\n\n /** @hidden */\n private _actionKeys = [SPACE, ENTER];\n\n /** @hidden */\n private _focusedElementIndex = -1;\n\n /** @hidden */\n constructor(\n private _cd: ChangeDetectorRef,\n @Optional() private _rtl: RtlService,\n private _contentDensityObserver: ContentDensityObserver\n ) {\n _contentDensityObserver.subscribe();\n }\n\n /** @hidden */\n ngOnInit(): void {\n // If any element is currently focused, disable ability to navigate bentween items with tab.\n this._subscriptions.add(\n this.canItemsReceiveFocus.pipe(debounceTime(10)).subscribe((value) => {\n if (value) {\n this._setFocusableVisibleItems();\n } else {\n this._disableFocusableItems();\n }\n })\n );\n\n if (this._rtl) {\n this._subscriptions.add(\n this._rtl.rtl.subscribe((value) => {\n this._isRtl = value;\n\n if (this.showPreviousButton) {\n this._paginate(0);\n }\n })\n );\n }\n }\n\n /** @hidden */\n ngAfterViewInit(): void {\n this.listenOnItemsChange();\n }\n\n /** @hidden */\n ngOnDestroy(): void {\n this._subscriptions.unsubscribe();\n }\n\n /** @hidden */\n @HostListener('keydown', ['$event'])\n handleKeyboardEvent(event: KeyboardEvent): void {\n if (KeyUtil.isKeyCode(event, this._navigationKeys)) {\n const isRightKey = KeyUtil.isKeyCode(event, RIGHT_ARROW);\n const direction = isRightKey ? 1 : -1;\n event.stopImmediatePropagation();\n\n const elementIndexToScroll = this._getPreviousItemsCount() + direction;\n const elementExists = this.items.get(elementIndexToScroll);\n\n if (!elementExists) {\n return;\n }\n\n this.previousItemsCount = 0;\n\n this._paginate(elementIndexToScroll);\n\n // Force browset not to scroll to the element since it's done with pagination function.\n this.items.get(this._getPreviousItemsCount())?.focusableElement?.focus({\n preventScroll: true\n });\n }\n }\n\n /** Listens on items change and checks if navigation buttons should be visible. */\n listenOnItemsChange(): void {\n this._subscriptions.add(\n this.items.changes.pipe(startWith(0)).subscribe(() => {\n this.items.forEach((item) => {\n item.setLastItem(false);\n });\n\n this.items.last?.setLastItem(true);\n this._setNavigationButtons();\n this._paginate(0);\n })\n );\n }\n\n /** Scrolls to the next item. */\n goNext(): void {\n this._paginate();\n }\n\n /** Scrolls to the previous item. */\n goBack(): void {\n this._paginate(-1);\n }\n\n /**\n * Checks if navigation buttons should be visible depending on the amount of items\n * and current pagination offset.\n */\n private _setNavigationButtons(): void {\n if (this._container === undefined) {\n return;\n }\n\n const containerWidth = this._container.nativeElement.offsetWidth;\n const itemsWidth = this._wrapperContainer.nativeElement.offsetWidth;\n const nextButtonWidth = this._goNextButton?.nativeElement.offsetWidth || 0;\n\n if (itemsWidth < containerWidth) {\n return;\n }\n\n // Skip previously shown items out of the calculation.\n const itemsToDisplay = this.items\n .toArray()\n .slice(this.previousItemsCount)\n .map((i) => i.elRef);\n\n // Check if all items can be fitted inside the container if we remove 'next' button.\n if (this.previousItemsCount > 0) {\n const remainingWidth = itemsToDisplay.reduce((width, elm) => elm.nativeElement.offsetWidth + width, 0);\n\n if (remainingWidth <= nextButtonWidth + containerWidth) {\n this.nextItemsCount = 0;\n this._cd.detectChanges();\n return;\n }\n }\n\n this._setNextItemsCount(itemsToDisplay, containerWidth);\n this._cd.detectChanges();\n }\n\n /**\n * Sets last focused element index.\n * @param elm Focused HTML element.\n */\n setFocusedElementIndex(elm: HTMLElement): void {\n this._focusedElementIndex = this.focusableItems.toArray().findIndex((item) => item.elRef.nativeElement === elm);\n }\n\n /**\n * Navigates to a specific page when the user presses 'Space' or 'Enter' key.\n * @param offset How much items needs to be scrolled relatively to the hidden previous items.\n * @param event The keyboard event.\n */\n onKeypressHandler(offset: number, event: KeyboardEvent): void {\n if (KeyUtil.isKeyCode(event, this._actionKeys)) {\n event.preventDefault();\n this._paginate(offset);\n }\n }\n\n /**\n * Calculate how many items are out of the viewport.\n * @param itemsToDisplay Array of html elements that needs to be shown.\n * @param containerWidth Width of the parent container to calculate amount of items possible to fit.\n */\n private _setNextItemsCount(itemsToDisplay: ElementRef<HTMLElement>[], containerWidth: number): void {\n let visibleItemsWidth = 0;\n let newVisibleItemsWidth = 0;\n\n for (const [index, item] of itemsToDisplay.entries()) {\n newVisibleItemsWidth = visibleItemsWidth + item.nativeElement.offsetWidth;\n\n if (newVisibleItemsWidth <= containerWidth) {\n visibleItemsWidth = newVisibleItemsWidth;\n } else {\n this.nextItemsCount = itemsToDisplay.length - index;\n break;\n }\n }\n }\n\n /**\n * @hidden\n * Performs scrolling to the defined element based on the offset argument.\n * @param offset How much items needs to be scrolled relatively to the hidden previous items.\n */\n private _paginate(offset: number = 1): void {\n if (this.items === undefined || this.items.length === 0) {\n return;\n }\n\n this.previousItemsCount = this._focusedElementIndex = this.previousItemsCount + offset;\n\n // We need to set prev button first.\n this._setNavigationButtons();\n this._setFocusableVisibleItems();\n\n const currentItem = this.items.get(this.previousItemsCount);\n const containerWidth = this._container.nativeElement.offsetWidth;\n const wrapperContainerWidth = this._wrapperContainer.nativeElement.offsetWidth;\n\n if (!currentItem || containerWidth >= wrapperContainerWidth) {\n // Cancel pagination and revert previous items count back.\n this.previousItemsCount = this.previousItemsCount - offset;\n }\n\n const elmOffset = this._getPreviousItemsWidth();\n\n this._wrapperContainer.nativeElement.style.transform = `translateX(${elmOffset * this._paginationDirection}px)`;\n\n this._setNavigationButtons();\n this._setFocusableVisibleItems();\n }\n\n /**\n * @hidden\n * Calculates total width of previously shown items.\n * @returns {Number} total width of previously shown items.\n */\n private _getPreviousItemsWidth(): number {\n return this.items\n .toArray()\n .slice(0, this.previousItemsCount)\n .reduce((width, item) => item.elRef.nativeElement.offsetWidth + width, 0);\n }\n\n /** @hidden */\n private _disableFocusableItems(): void {\n this.items.forEach((item) => item.focusableElement?.setFocusable(false));\n }\n\n /** @hidden */\n private _setFocusableVisibleItems(): void {\n this._disableFocusableItems();\n\n const containerWidth = this._container.nativeElement.offsetWidth;\n\n const itemsToDisplay = this.items.toArray().slice(this.previousItemsCount);\n\n let visibleItemsWidth = 0;\n let newVisibleItemsWidth = 0;\n\n for (const item of itemsToDisplay) {\n newVisibleItemsWidth = visibleItemsWidth + item.elRef.nativeElement.offsetWidth;\n\n if (newVisibleItemsWidth <= containerWidth) {\n visibleItemsWidth = newVisibleItemsWidth;\n item.focusableElement?.setFocusable(true);\n } else {\n break;\n }\n }\n }\n\n /** @hidden */\n private _getPreviousItemsCount(): number {\n return this._focusedElementIndex === -1 ? this.previousItemsCount : this._focusedElementIndex;\n }\n}\n","<a\n tabindex=\"0\"\n class=\"fd-micro-process-flow__link-previous\"\n role=\"button\"\n type=\"button\"\n (click)=\"goBack()\"\n (keypress)=\"onKeypressHandler(-1, $event)\"\n *ngIf=\"showPreviousButton\"\n>\n {{ previousItemsCount }}\n</a>\n<div class=\"fd-micro-process-flow__overflow-container\" #container>\n <div\n class=\"fd-micro-process-flow__wrapper\"\n #wrapperContainer\n [style.transition-duration]=\"transitionSpeed + 'ms'\"\n [style.transition-timing-function]=\"transitionTimingFunction\"\n >\n <ng-content select=\"fd-micro-process-flow-item\"></ng-content>\n </div>\n</div>\n<a\n tabindex=\"0\"\n class=\"fd-micro-process-flow__link-next\"\n role=\"button\"\n type=\"button\"\n (click)=\"goNext()\"\n (keypress)=\"onKeypressHandler(1, $event)\"\n *ngIf=\"showNextButton\"\n #goNextButton\n>\n {{ nextItemsCount }}\n</a>\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[fdMicroProcessFlowIntermediaryItem], [fd-micro-process-flow-intermediary-item]',\n host: {\n class: 'fd-micro-process-flow__intermediary-item'\n },\n standalone: true\n})\nexport class MicroProcessFlowIntermediaryItemDirective {}\n","import { NgModule } from '@angular/core';\nimport { MicroProcessFlowIconComponent } from './components/micro-process-flow-icon/micro-process-flow-icon.component';\nimport { MicroProcessFlowItemComponent } from './components/micro-process-flow-item/micro-process-flow-item.component';\nimport { MicroProcessFlowComponent } from './components/micro-process-flow/micro-process-flow.component';\nimport { MicroProcessFlowFocusableItemDirective } from './micro-process-flow-focusable-item.directive';\nimport { MicroProcessFlowIntermediaryItemDirective } from './micro-process-flow-intermediary-item.directive';\n\nconst components = [\n MicroProcessFlowComponent,\n MicroProcessFlowItemComponent,\n MicroProcessFlowIconComponent,\n MicroProcessFlowIntermediaryItemDirective,\n MicroProcessFlowFocusableItemDirective\n];\n\n@NgModule({\n imports: [...components],\n exports: [...components]\n})\nexport class MicroProcessFlowModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAea,6BAA6B,CAAA;AAX1C,IAAA,WAAA,GAAA;AAiBI;;;AAGG;QACM,IAAI,CAAA,IAAA,GAAa,WAAW,CAAC;AASzC,KAAA;8GAnBY,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,IAAA,EAAA,MAAA,EAAA,KAAA,EAAA,OAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,uCAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECf1C,sKAOA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDMc,aAAa,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,OAAA,EAAA,WAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAA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AA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAX/B,yBAAyB;YACzB,6BAA6B;YAC7B,6BAA6B;YAC7B,yCAAyC;AACzC,YAAA,sCAAsC,aAJtC,yBAAyB;YACzB,6BAA6B;YAC7B,6BAA6B;YAC7B,yCAAyC;YACzC,sCAAsC,CAAA,EAAA,CAAA,CAAA,EAAA;AAO7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAT/B,6BAA6B,CAAA,EAAA,CAAA,CAAA,EAAA;;2FASpB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-core-micro-process-flow.mjs","sources":["../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow-icon/micro-process-flow-icon.component.ts","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow-icon/micro-process-flow-icon.component.html","../../../../libs/core/src/lib/micro-process-flow/injection-tokens.ts","../../../../libs/core/src/lib/micro-process-flow/micro-process-flow-focusable-item.directive.ts","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow-item/micro-process-flow-item.component.ts","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow-item/micro-process-flow-item.component.html","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow/micro-process-flow.component.ts","../../../../libs/core/src/lib/micro-process-flow/components/micro-process-flow/micro-process-flow.component.html","../../../../libs/core/src/lib/micro-process-flow/micro-process-flow-intermediary-item.directive.ts","../../../../libs/core/src/lib/micro-process-flow/micro-process-flow.module.ts","../../../../libs/core/src/lib/micro-process-flow/fundamental-ngx-core-micro-process-flow.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { IconComponent, IconFont } from '@fundamental-ngx/core/icon';\n\n@Component({\n selector: 'fd-micro-process-flow-icon',\n templateUrl: './micro-process-flow-icon.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'fd-micro-process-flow__icon-container'\n },\n standalone: true,\n imports: [IconComponent]\n})\nexport class MicroProcessFlowIconComponent {\n /** The icon name to display. See the icon page for the list of icons\n * here: https://sap.github.io/fundamental-ngx/icon\n */\n @Input() glyph: string;\n\n /**\n * The icon font\n * Options include: 'SAP-icons', 'BusinessSuiteInAppSymbols' and 'SAP-icons-TNT'\n */\n @Input() font: IconFont = 'SAP-icons';\n\n /** user's custom classes */\n @Input()\n class: string;\n\n /** Aria-label for Icon. */\n @Input()\n ariaLabel: Nullable<string>;\n}\n","<fd-icon\n class=\"fd-micro-process-flow__icon\"\n [ariaLabel]=\"ariaLabel\"\n [glyph]=\"glyph\"\n [class]=\"class\"\n [font]=\"font\"\n></fd-icon>\n","import { InjectionToken } from '@angular/core';\nimport { Subject } from 'rxjs';\n\nexport interface MicroProcessFlowComponentInterface {\n canItemsReceiveFocus: Subject<boolean>;\n setFocusedElementIndex(elm: HTMLElement): void;\n}\n\nexport const MICRO_PROCESS_FLOW = new InjectionToken<MicroProcessFlowComponentInterface>(\n 'Micro process flow component dependency'\n);\n","import { Directive, ElementRef, HostListener, Inject, OnInit, Optional } from '@angular/core';\nimport { MICRO_PROCESS_FLOW, MicroProcessFlowComponentInterface } from './injection-tokens';\n\n@Directive({\n selector: '[fdMicroProcessFlowFocusableItem], [fd-micro-process-flow-focusable-item]',\n host: {\n class: 'fd-micro-process-flow__focusable-item'\n },\n standalone: true\n})\nexport class MicroProcessFlowFocusableItemDirective implements OnInit {\n /** @hidden */\n constructor(\n public elRef: ElementRef<HTMLElement>,\n @Optional() @Inject(MICRO_PROCESS_FLOW) private _microProcessFlow: MicroProcessFlowComponentInterface\n ) {}\n\n /** @hidden */\n ngOnInit(): void {\n this.setFocusable();\n }\n\n /** Sets ability to focus on the element or not. */\n setFocusable(focusable = false): void {\n this.elRef.nativeElement.setAttribute('tabindex', focusable ? '0' : '-1');\n }\n\n /** Focuses on the element without scrolling it to the viewport */\n focus(options: FocusOptions): void {\n this.elRef.nativeElement.focus(options);\n }\n\n /**\n * @hidden\n * Handler for focus events\n */\n @HostListener('focus')\n onFocus(): void {\n this._microProcessFlow?.setFocusedElementIndex(this.elRef.nativeElement);\n this._microProcessFlow?.canItemsReceiveFocus.next(false);\n }\n\n /** @hidden */\n @HostListener('blur')\n onBlur(): void {\n this._microProcessFlow?.canItemsReceiveFocus.next(true);\n }\n}\n","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ElementRef,\n Input,\n ViewEncapsulation\n} from '@angular/core';\nimport { MicroProcessFlowFocusableItemDirective } from '../../micro-process-flow-focusable-item.directive';\nimport { MicroProcessFlowItemType } from '../../types';\n\n@Component({\n selector: 'fd-micro-process-flow-item',\n templateUrl: './micro-process-flow-item.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'fd-micro-process-flow__item',\n '[class.fd-micro-process-flow__item--positive]': 'state === \"positive\"',\n '[class.fd-micro-process-flow__item--critical]': 'state === \"critical\"',\n '[class.fd-micro-process-flow__item--negative]': 'state === \"negative\"',\n '[class.fd-micro-process-flow__item--information]': 'state === \"information\"'\n },\n styles: [\n `\n fd-micro-process-flow-item .fd-info-label__text {\n white-space: nowrap;\n }\n `\n ],\n standalone: true,\n imports: [NgIf]\n})\nexport class MicroProcessFlowItemComponent {\n /** Item state */\n @Input()\n state: MicroProcessFlowItemType = 'none';\n\n /** Whether or not display connector line */\n @Input()\n intermediate = false;\n\n /** @hidden */\n _lastItem = false;\n\n /** Element that can receive focus. */\n @ContentChild(MicroProcessFlowFocusableItemDirective)\n focusableElement: MicroProcessFlowFocusableItemDirective;\n\n /** @hidden */\n constructor(private _cd: ChangeDetectorRef, public elRef: ElementRef) {}\n\n /**\n * @param value Is current item the last one\n */\n setLastItem(value: boolean): void {\n if (value !== this._lastItem) {\n this._lastItem = value;\n this._cd.detectChanges();\n }\n }\n}\n","<div class=\"fd-micro-process-flow__content\">\n <div class=\"fd-micro-process-flow__content-wrapper\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"fd-micro-process-flow__connector\"\n *ngIf=\"!_lastItem\"\n [class.fd-micro-process-flow__connector--intermediate]=\"intermediate\"\n >\n <ng-content select=\"[fd-micro-process-flow-intermediary-item]\"></ng-content>\n </div>\n</div>\n","import { ENTER, LEFT_ARROW, RIGHT_ARROW, SPACE } from '@angular/cdk/keycodes';\nimport { NgIf } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n QueryList,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { KeyUtil, RtlService } from '@fundamental-ngx/cdk/utils';\nimport { ContentDensityObserver, contentDensityObserverProviders } from '@fundamental-ngx/core/content-density';\nimport { Subject, Subscription } from 'rxjs';\nimport { debounceTime, startWith } from 'rxjs/operators';\nimport { MICRO_PROCESS_FLOW } from '../../injection-tokens';\nimport { MicroProcessFlowFocusableItemDirective } from '../../micro-process-flow-focusable-item.directive';\nimport { MicroProcessFlowItemComponent } from '../micro-process-flow-item/micro-process-flow-item.component';\n\n@Component({\n selector: 'fd-micro-process-flow',\n templateUrl: './micro-process-flow.component.html',\n styleUrls: ['./micro-process-flow.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'fd-micro-process-flow',\n '[class.fd-micro-process-flow--independent-steps]': 'independentSteps'\n },\n providers: [\n {\n provide: MICRO_PROCESS_FLOW,\n useExisting: MicroProcessFlowComponent\n },\n contentDensityObserverProviders()\n ],\n standalone: true,\n imports: [NgIf]\n})\nexport class MicroProcessFlowComponent implements OnInit, OnDestroy, AfterViewInit {\n /** Should connector between items be hidden. */\n @Input()\n independentSteps = false;\n\n /** Pagination transition speed in milliseconds */\n @Input()\n transitionSpeed = 300;\n\n /** Pagination transition effect */\n @Input()\n transitionTimingFunction = 'ease';\n\n /** Micro process flow items. */\n @ContentChildren(MicroProcessFlowItemComponent)\n items: QueryList<MicroProcessFlowItemComponent>;\n\n /** Micro process flow items. */\n @ContentChildren(MicroProcessFlowFocusableItemDirective, { descendants: true })\n focusableItems: QueryList<MicroProcessFlowFocusableItemDirective>;\n\n /**\n * Previous items outside the viewport.\n */\n previousItemsCount = 0;\n\n /**\n * Next items outside the viewport.\n */\n nextItemsCount = 0;\n\n /** Indicating whether or not any element is focused */\n canItemsReceiveFocus = new Subject<boolean>();\n\n /** Should show next button. */\n get showNextButton(): boolean {\n return this.nextItemsCount > 0;\n }\n\n /** Should show previous button. */\n get showPreviousButton(): boolean {\n return this.previousItemsCount > 0;\n }\n\n /** @hidden */\n @ViewChild('wrapperContainer')\n private _wrapperContainer: ElementRef<HTMLElement>;\n\n /** @hidden */\n @ViewChild('container')\n private _container: ElementRef<HTMLElement>;\n\n /** @hidden */\n @ViewChild('goNextButton')\n private _goNextButton: ElementRef<HTMLElement>;\n\n /** @hidden */\n private _isRtl = false;\n\n /** @hidden */\n private get _paginationDirection(): number {\n return this._isRtl ? 1 : -1;\n }\n\n /** @hidden */\n private _subscriptions = new Subscription();\n\n /** @hidden */\n private _navigationKeys = [LEFT_ARROW, RIGHT_ARROW];\n\n /** @hidden */\n private _actionKeys = [SPACE, ENTER];\n\n /** @hidden */\n private _focusedElementIndex = -1;\n\n /** @hidden */\n constructor(\n private _cd: ChangeDetectorRef,\n @Optional() private _rtl: RtlService,\n private _contentDensityObserver: ContentDensityObserver\n ) {\n _contentDensityObserver.subscribe();\n }\n\n /** @hidden */\n ngOnInit(): void {\n // If any element is currently focused, disable ability to navigate bentween items with tab.\n this._subscriptions.add(\n this.canItemsReceiveFocus.pipe(debounceTime(10)).subscribe((value) => {\n if (value) {\n this._setFocusableVisibleItems();\n } else {\n this._disableFocusableItems();\n }\n })\n );\n\n if (this._rtl) {\n this._subscriptions.add(\n this._rtl.rtl.subscribe((value) => {\n this._isRtl = value;\n\n if (this.showPreviousButton) {\n this._paginate(0);\n }\n })\n );\n }\n }\n\n /** @hidden */\n ngAfterViewInit(): void {\n this.listenOnItemsChange();\n }\n\n /** @hidden */\n ngOnDestroy(): void {\n this._subscriptions.unsubscribe();\n }\n\n /** @hidden */\n @HostListener('keydown', ['$event'])\n handleKeyboardEvent(event: KeyboardEvent): void {\n if (KeyUtil.isKeyCode(event, this._navigationKeys)) {\n const isRightKey = KeyUtil.isKeyCode(event, RIGHT_ARROW);\n const direction = isRightKey ? 1 : -1;\n event.stopImmediatePropagation();\n\n const elementIndexToScroll = this._getPreviousItemsCount() + direction;\n const elementExists = this.items.get(elementIndexToScroll);\n\n if (!elementExists) {\n return;\n }\n\n this.previousItemsCount = 0;\n\n this._paginate(elementIndexToScroll);\n\n // Force browset not to scroll to the element since it's done with pagination function.\n this.items.get(this._getPreviousItemsCount())?.focusableElement?.focus({\n preventScroll: true\n });\n }\n }\n\n /** Listens on items change and checks if navigation buttons should be visible. */\n listenOnItemsChange(): void {\n this._subscriptions.add(\n this.items.changes.pipe(startWith(0)).subscribe(() => {\n this.items.forEach((item) => {\n item.setLastItem(false);\n });\n\n this.items.last?.setLastItem(true);\n this._setNavigationButtons();\n this._paginate(0);\n })\n );\n }\n\n /** Scrolls to the next item. */\n goNext(): void {\n this._paginate();\n }\n\n /** Scrolls to the previous item. */\n goBack(): void {\n this._paginate(-1);\n }\n\n /**\n * Checks if navigation buttons should be visible depending on the amount of items\n * and current pagination offset.\n */\n private _setNavigationButtons(): void {\n if (this._container === undefined) {\n return;\n }\n\n const containerWidth = this._container.nativeElement.offsetWidth;\n const itemsWidth = this._wrapperContainer.nativeElement.offsetWidth;\n const nextButtonWidth = this._goNextButton?.nativeElement.offsetWidth || 0;\n\n if (itemsWidth < containerWidth) {\n return;\n }\n\n // Skip previously shown items out of the calculation.\n const itemsToDisplay = this.items\n .toArray()\n .slice(this.previousItemsCount)\n .map((i) => i.elRef);\n\n // Check if all items can be fitted inside the container if we remove 'next' button.\n if (this.previousItemsCount > 0) {\n const remainingWidth = itemsToDisplay.reduce((width, elm) => elm.nativeElement.offsetWidth + width, 0);\n\n if (remainingWidth <= nextButtonWidth + containerWidth) {\n this.nextItemsCount = 0;\n this._cd.detectChanges();\n return;\n }\n }\n\n this._setNextItemsCount(itemsToDisplay, containerWidth);\n this._cd.detectChanges();\n }\n\n /**\n * Sets last focused element index.\n * @param elm Focused HTML element.\n */\n setFocusedElementIndex(elm: HTMLElement): void {\n this._focusedElementIndex = this.focusableItems.toArray().findIndex((item) => item.elRef.nativeElement === elm);\n }\n\n /**\n * Navigates to a specific page when the user presses 'Space' or 'Enter' key.\n * @param offset How much items needs to be scrolled relatively to the hidden previous items.\n * @param event The keyboard event.\n */\n onKeypressHandler(offset: number, event: KeyboardEvent): void {\n if (KeyUtil.isKeyCode(event, this._actionKeys)) {\n event.preventDefault();\n this._paginate(offset);\n }\n }\n\n /**\n * Calculate how many items are out of the viewport.\n * @param itemsToDisplay Array of html elements that needs to be shown.\n * @param containerWidth Width of the parent container to calculate amount of items possible to fit.\n */\n private _setNextItemsCount(itemsToDisplay: ElementRef<HTMLElement>[], containerWidth: number): void {\n let visibleItemsWidth = 0;\n let newVisibleItemsWidth = 0;\n\n for (const [index, item] of itemsToDisplay.entries()) {\n newVisibleItemsWidth = visibleItemsWidth + item.nativeElement.offsetWidth;\n\n if (newVisibleItemsWidth <= containerWidth) {\n visibleItemsWidth = newVisibleItemsWidth;\n } else {\n this.nextItemsCount = itemsToDisplay.length - index;\n break;\n }\n }\n }\n\n /**\n * @hidden\n * Performs scrolling to the defined element based on the offset argument.\n * @param offset How much items needs to be scrolled relatively to the hidden previous items.\n */\n private _paginate(offset: number = 1): void {\n if (this.items === undefined || this.items.length === 0) {\n return;\n }\n\n this.previousItemsCount = this._focusedElementIndex = this.previousItemsCount + offset;\n\n // We need to set prev button first.\n this._setNavigationButtons();\n this._setFocusableVisibleItems();\n\n const currentItem = this.items.get(this.previousItemsCount);\n const containerWidth = this._container.nativeElement.offsetWidth;\n const wrapperContainerWidth = this._wrapperContainer.nativeElement.offsetWidth;\n\n if (!currentItem || containerWidth >= wrapperContainerWidth) {\n // Cancel pagination and revert previous items count back.\n this.previousItemsCount = this.previousItemsCount - offset;\n }\n\n const elmOffset = this._getPreviousItemsWidth();\n\n this._wrapperContainer.nativeElement.style.transform = `translateX(${elmOffset * this._paginationDirection}px)`;\n\n this._setNavigationButtons();\n this._setFocusableVisibleItems();\n }\n\n /**\n * @hidden\n * Calculates total width of previously shown items.\n * @returns {Number} total width of previously shown items.\n */\n private _getPreviousItemsWidth(): number {\n return this.items\n .toArray()\n .slice(0, this.previousItemsCount)\n .reduce((width, item) => item.elRef.nativeElement.offsetWidth + width, 0);\n }\n\n /** @hidden */\n private _disableFocusableItems(): void {\n this.items.forEach((item) => item.focusableElement?.setFocusable(false));\n }\n\n /** @hidden */\n private _setFocusableVisibleItems(): void {\n this._disableFocusableItems();\n\n const containerWidth = this._container.nativeElement.offsetWidth;\n\n const itemsToDisplay = this.items.toArray().slice(this.previousItemsCount);\n\n let visibleItemsWidth = 0;\n let newVisibleItemsWidth = 0;\n\n for (const item of itemsToDisplay) {\n newVisibleItemsWidth = visibleItemsWidth + item.elRef.nativeElement.offsetWidth;\n\n if (newVisibleItemsWidth <= containerWidth) {\n visibleItemsWidth = newVisibleItemsWidth;\n item.focusableElement?.setFocusable(true);\n } else {\n break;\n }\n }\n }\n\n /** @hidden */\n private _getPreviousItemsCount(): number {\n return this._focusedElementIndex === -1 ? this.previousItemsCount : this._focusedElementIndex;\n }\n}\n","<a\n tabindex=\"0\"\n class=\"fd-micro-process-flow__link-previous\"\n role=\"button\"\n type=\"button\"\n (click)=\"goBack()\"\n (keypress)=\"onKeypressHandler(-1, $event)\"\n *ngIf=\"showPreviousButton\"\n>\n {{ previousItemsCount }}\n</a>\n<div class=\"fd-micro-process-flow__overflow-container\" #container>\n <div\n class=\"fd-micro-process-flow__wrapper\"\n #wrapperContainer\n [style.transition-duration]=\"transitionSpeed + 'ms'\"\n [style.transition-timing-function]=\"transitionTimingFunction\"\n >\n <ng-content select=\"fd-micro-process-flow-item\"></ng-content>\n </div>\n</div>\n<a\n tabindex=\"0\"\n class=\"fd-micro-process-flow__link-next\"\n role=\"button\"\n type=\"button\"\n (click)=\"goNext()\"\n (keypress)=\"onKeypressHandler(1, $event)\"\n *ngIf=\"showNextButton\"\n #goNextButton\n>\n {{ nextItemsCount }}\n</a>\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[fdMicroProcessFlowIntermediaryItem], [fd-micro-process-flow-intermediary-item]',\n host: {\n class: 'fd-micro-process-flow__intermediary-item'\n },\n standalone: true\n})\nexport class MicroProcessFlowIntermediaryItemDirective {}\n","import { NgModule } from '@angular/core';\nimport { MicroProcessFlowIconComponent } from './components/micro-process-flow-icon/micro-process-flow-icon.component';\nimport { MicroProcessFlowItemComponent } from './components/micro-process-flow-item/micro-process-flow-item.component';\nimport { MicroProcessFlowComponent } from './components/micro-process-flow/micro-process-flow.component';\nimport { MicroProcessFlowFocusableItemDirective } from './micro-process-flow-focusable-item.directive';\nimport { MicroProcessFlowIntermediaryItemDirective } from './micro-process-flow-intermediary-item.directive';\n\nconst components = [\n MicroProcessFlowComponent,\n MicroProcessFlowItemComponent,\n MicroProcessFlowIconComponent,\n MicroProcessFlowIntermediaryItemDirective,\n MicroProcessFlowFocusableItemDirective\n];\n\n@NgModule({\n imports: [...components],\n exports: [...components]\n})\nexport class MicroProcessFlowModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAea,6BAA6B,CAAA;AAX1C,IAAA,WAAA,GAAA;AAiBI;;;AAGG;QACM,IAAI,CAAA,IAAA,GAAa,WAAW,CAAC;AASzC,KAAA;8GAnBY,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,IAAA,EAAA,MAAA,EAAA,KAAA,EAAA,OAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,uCAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECf1C,sKAOA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDMc,aAAa,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,OAAA,EAAA,WAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAEd,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAXzC,SAAS;+BACI,4BAA4B,EAAA,aAAA,EAEvB,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EACzC,IAAA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B,6BAA6B;YAC7B,6BAA6B;YAC7B,yCAAyC;AACzC,YAAA,sCAAsC,aAJtC,yBAAyB;YACzB,6BAA6B;YAC7B,6BAA6B;YAC7B,yCAAyC;YACzC,sCAAsC,CAAA,EAAA,CAAA,CAAA,EAAA;AAO7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAT/B,6BAA6B,CAAA,EAAA,CAAA,CAAA,EAAA;;2FASpB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/core",
|
|
3
|
-
"version": "0.46.0-rc.
|
|
3
|
+
"version": "0.46.0-rc.72",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"ng-update": {
|
|
6
6
|
"migrations": "./schematics/migrations.json"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@angular/forms": "^16.2.0",
|
|
24
24
|
"@angular/platform-browser": "^16.2.0",
|
|
25
25
|
"@angular/router": "^16.2.0",
|
|
26
|
-
"@fundamental-ngx/cdk": "0.46.0-rc.
|
|
27
|
-
"@fundamental-ngx/i18n": "0.46.0-rc.
|
|
26
|
+
"@fundamental-ngx/cdk": "0.46.0-rc.72",
|
|
27
|
+
"@fundamental-ngx/i18n": "0.46.0-rc.72",
|
|
28
28
|
"@sap-theming/theming-base-content": "^11.6.0",
|
|
29
29
|
"fundamental-styles": "0.30.2-rc.30",
|
|
30
30
|
"rxjs": "^7.8.0"
|
|
@@ -54,21 +54,21 @@ function addExternalLibraries(options) {
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/i18n') ||
|
|
57
|
-
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.46.0-rc.
|
|
57
|
+
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.46.0-rc.72', '<')) {
|
|
58
58
|
dependencies.push({
|
|
59
59
|
type: dependencies_1.NodeDependencyType.Default,
|
|
60
60
|
// Will be replaced with the real version during sync-version script run
|
|
61
|
-
version: `0.46.0-rc.
|
|
61
|
+
version: `0.46.0-rc.72`,
|
|
62
62
|
name: '@fundamental-ngx/i18n',
|
|
63
63
|
overwrite: true
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/cdk') ||
|
|
67
|
-
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.46.0-rc.
|
|
67
|
+
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.46.0-rc.72', '<')) {
|
|
68
68
|
dependencies.push({
|
|
69
69
|
type: dependencies_1.NodeDependencyType.Default,
|
|
70
70
|
// Will be replaced with the real version during sync-version script run
|
|
71
|
-
version: `0.46.0-rc.
|
|
71
|
+
version: `0.46.0-rc.72`,
|
|
72
72
|
name: '@fundamental-ngx/cdk',
|
|
73
73
|
overwrite: true
|
|
74
74
|
});
|
|
Binary file
|