@ifsworld/granite-components 11.2.0 → 11.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/index.mjs +2 -1
- package/esm2022/lib/core/core.module.mjs +8 -3
- package/esm2022/lib/core/hide-on-overflow.directive.mjs +83 -0
- package/esm2022/lib/menu/menu-base.mjs +8 -2
- package/esm2022/lib/menu/menu-panel.mjs +1 -1
- package/esm2022/lib/menu/menu-trigger-for.directive.mjs +11 -1
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +11 -9
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +6 -4
- package/fesm2022/ifsworld-granite-components.mjs +128 -27
- package/fesm2022/ifsworld-granite-components.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/core/core.module.d.ts +2 -1
- package/lib/core/hide-on-overflow.directive.d.ts +21 -0
- package/lib/menu/menu-base.d.ts +6 -2
- package/lib/menu/menu-panel.d.ts +2 -0
- package/lib/menu/menu-trigger-for.directive.d.ts +2 -0
- package/lib/progress-bar/progress-bar.component.d.ts +1 -1
- package/lib/progress-bar/progress-bar.module.d.ts +3 -1
- package/package.json +7 -7
|
@@ -4,7 +4,7 @@ import * as i1$1 from '@angular/common';
|
|
|
4
4
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
5
5
|
import { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
6
6
|
import { Subject, BehaviorSubject, combineLatest, Subscription, merge, of, asapScheduler, fromEvent } from 'rxjs';
|
|
7
|
-
import { takeUntil, filter, map, startWith, switchMap, take, delay } from 'rxjs/operators';
|
|
7
|
+
import { takeUntil, filter, map, startWith, switchMap, take, delay, debounceTime } from 'rxjs/operators';
|
|
8
8
|
import { ComponentHarness, HarnessPredicate, TestKey } from '@angular/cdk/testing';
|
|
9
9
|
import * as i1$2 from '@angular/cdk/overlay';
|
|
10
10
|
import { OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
@@ -19,6 +19,8 @@ import * as i2 from '@angular/cdk/collections';
|
|
|
19
19
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
20
20
|
import * as i2$1 from '@angular/forms';
|
|
21
21
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
22
|
+
import * as i3$1 from '@ifsworld/granite-components/tooltip';
|
|
23
|
+
import { GraniteTooltipModule } from '@ifsworld/granite-components/tooltip';
|
|
22
24
|
|
|
23
25
|
class GraniteArrangeGridItemComponent {
|
|
24
26
|
constructor(element) {
|
|
@@ -870,6 +872,10 @@ class _MenuBaseComponent {
|
|
|
870
872
|
* Event emitted when the menu is closed
|
|
871
873
|
*/
|
|
872
874
|
this.closed = new EventEmitter();
|
|
875
|
+
/**
|
|
876
|
+
* Event emitted when the menu is opened
|
|
877
|
+
*/
|
|
878
|
+
this.opened = new EventEmitter();
|
|
873
879
|
/**
|
|
874
880
|
* Used for locating the panel in tests and setting the aria-control attribute
|
|
875
881
|
* for the menu trigger.
|
|
@@ -1139,7 +1145,7 @@ class _MenuBaseComponent {
|
|
|
1139
1145
|
});
|
|
1140
1146
|
}
|
|
1141
1147
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: _MenuBaseComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1142
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: _MenuBaseComponent, inputs: { xPosition: "xPosition", yPosition: "yPosition", title: "title", closeLabel: "closeLabel", openOnHover: "openOnHover" }, outputs: { closed: "closed" }, queries: [{ propertyName: "_allItems", predicate: GraniteMenuItemComponent, descendants: true }], viewQueries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 }); }
|
|
1148
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: _MenuBaseComponent, inputs: { xPosition: "xPosition", yPosition: "yPosition", title: "title", closeLabel: "closeLabel", openOnHover: "openOnHover" }, outputs: { closed: "closed", opened: "opened" }, queries: [{ propertyName: "_allItems", predicate: GraniteMenuItemComponent, descendants: true }], viewQueries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 }); }
|
|
1143
1149
|
}
|
|
1144
1150
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: _MenuBaseComponent, decorators: [{
|
|
1145
1151
|
type: Directive
|
|
@@ -1161,6 +1167,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1161
1167
|
args: [GraniteMenuItemComponent, { descendants: true }]
|
|
1162
1168
|
}], closed: [{
|
|
1163
1169
|
type: Output
|
|
1170
|
+
}], opened: [{
|
|
1171
|
+
type: Output
|
|
1164
1172
|
}] } });
|
|
1165
1173
|
|
|
1166
1174
|
class GraniteMenuTouchCloseComponent {
|
|
@@ -1486,6 +1494,7 @@ class GraniteMenuTriggerForDirective {
|
|
|
1486
1494
|
if (this._isMenuOpen) {
|
|
1487
1495
|
return;
|
|
1488
1496
|
}
|
|
1497
|
+
this.openedEvent();
|
|
1489
1498
|
this._checkMenu();
|
|
1490
1499
|
this.menu.parentMenu = this.triggersSubmenu()
|
|
1491
1500
|
? this._parentMenu
|
|
@@ -1555,6 +1564,15 @@ class GraniteMenuTriggerForDirective {
|
|
|
1555
1564
|
this._setIsMenuOpen(true);
|
|
1556
1565
|
this.menu.focusFirstItem(this._openedBy || 'program');
|
|
1557
1566
|
}
|
|
1567
|
+
/** Emits an eventtype when the menu is opened */
|
|
1568
|
+
openedEvent() {
|
|
1569
|
+
if (this._openedBy === 'touch' || this._openedBy === 'mouse') {
|
|
1570
|
+
this.menu.opened.emit('click');
|
|
1571
|
+
}
|
|
1572
|
+
else {
|
|
1573
|
+
this.menu.opened.emit('keydown');
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1558
1576
|
/** Whether the menu triggers a sub-menu or a top-level one. */
|
|
1559
1577
|
triggersSubmenu() {
|
|
1560
1578
|
return !!(this._menuItemInstance && this._parentMenu);
|
|
@@ -3907,28 +3925,107 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3907
3925
|
}]
|
|
3908
3926
|
}] });
|
|
3909
3927
|
|
|
3928
|
+
class GraniteHideOnOverflowDirective {
|
|
3929
|
+
constructor(_elementRef, renderer) {
|
|
3930
|
+
this._elementRef = _elementRef;
|
|
3931
|
+
this.renderer = renderer;
|
|
3932
|
+
}
|
|
3933
|
+
ngAfterViewInit() {
|
|
3934
|
+
this.hideOnOverflow();
|
|
3935
|
+
this.observeResize();
|
|
3936
|
+
this.observeContentChange();
|
|
3937
|
+
}
|
|
3938
|
+
ngOnDestroy() {
|
|
3939
|
+
this.unObserveResize();
|
|
3940
|
+
this.unObserveContentChange();
|
|
3941
|
+
}
|
|
3942
|
+
hideOnOverflow() {
|
|
3943
|
+
const element = this._elementRef?.nativeElement;
|
|
3944
|
+
if (element) {
|
|
3945
|
+
const contentWidth = element.scrollWidth;
|
|
3946
|
+
const containerWidth = element.clientWidth;
|
|
3947
|
+
if (contentWidth > containerWidth) {
|
|
3948
|
+
this.renderer.setStyle(element, 'visibility', 'hidden');
|
|
3949
|
+
}
|
|
3950
|
+
else {
|
|
3951
|
+
this.renderer.removeStyle(element, 'visibility');
|
|
3952
|
+
}
|
|
3953
|
+
}
|
|
3954
|
+
}
|
|
3955
|
+
observeResize() {
|
|
3956
|
+
if (window.ResizeObserver) {
|
|
3957
|
+
const element = this._elementRef?.nativeElement;
|
|
3958
|
+
if (element) {
|
|
3959
|
+
this.resizeObserver = new ResizeObserver(() => this.hideOnOverflow());
|
|
3960
|
+
this.resizeObserver.observe(element);
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
else {
|
|
3964
|
+
this.subscribeToResize();
|
|
3965
|
+
}
|
|
3966
|
+
}
|
|
3967
|
+
unObserveResize() {
|
|
3968
|
+
if (this.resizeObserver) {
|
|
3969
|
+
this.resizeObserver.disconnect();
|
|
3970
|
+
}
|
|
3971
|
+
if (this.resizeSubscription) {
|
|
3972
|
+
this.resizeSubscription.unsubscribe();
|
|
3973
|
+
}
|
|
3974
|
+
}
|
|
3975
|
+
subscribeToResize() {
|
|
3976
|
+
this.resizeSubscription = fromEvent(window, 'resize')
|
|
3977
|
+
.pipe(debounceTime(1000))
|
|
3978
|
+
.subscribe(() => this.hideOnOverflow());
|
|
3979
|
+
}
|
|
3980
|
+
observeContentChange() {
|
|
3981
|
+
const element = this._elementRef?.nativeElement;
|
|
3982
|
+
if (element) {
|
|
3983
|
+
this.mutationObserver = new MutationObserver(() => this.hideOnOverflow());
|
|
3984
|
+
this.mutationObserver.observe(element, {
|
|
3985
|
+
childList: true,
|
|
3986
|
+
subtree: true,
|
|
3987
|
+
characterData: true,
|
|
3988
|
+
});
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
unObserveContentChange() {
|
|
3992
|
+
if (this.mutationObserver) {
|
|
3993
|
+
this.mutationObserver.disconnect();
|
|
3994
|
+
}
|
|
3995
|
+
}
|
|
3996
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteHideOnOverflowDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3997
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GraniteHideOnOverflowDirective, selector: "[graniteHideOnOverflow]", exportAs: ["graniteHideOnOverflow"], ngImport: i0 }); }
|
|
3998
|
+
}
|
|
3999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteHideOnOverflowDirective, decorators: [{
|
|
4000
|
+
type: Directive,
|
|
4001
|
+
args: [{
|
|
4002
|
+
selector: '[graniteHideOnOverflow]',
|
|
4003
|
+
exportAs: 'graniteHideOnOverflow',
|
|
4004
|
+
}]
|
|
4005
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; } });
|
|
4006
|
+
|
|
3910
4007
|
class GraniteProgressBarComponent {
|
|
3911
4008
|
constructor() {
|
|
3912
4009
|
this.progressBarData = [];
|
|
3913
4010
|
this.showLabel = false;
|
|
3914
4011
|
this.DEFAULT_TOTAL = 100;
|
|
3915
|
-
this.DEFAULT_BACKGROUND = '--granite-color-background-
|
|
3916
|
-
this.DEFAULT_STACK_COLOR = '--granite-color-
|
|
4012
|
+
this.DEFAULT_BACKGROUND = '--granite-color-background-selected';
|
|
4013
|
+
this.DEFAULT_STACK_COLOR = '--granite-color-categorical-3';
|
|
3917
4014
|
this.DEFAULT_COLOR = '--granite-color-text';
|
|
3918
4015
|
this.total = this.DEFAULT_TOTAL;
|
|
3919
4016
|
}
|
|
3920
4017
|
getBackgroundColor() {
|
|
3921
4018
|
return this.getColorVar(this.DEFAULT_BACKGROUND);
|
|
3922
4019
|
}
|
|
3923
|
-
|
|
4020
|
+
getFontColor(color) {
|
|
3924
4021
|
return color
|
|
3925
4022
|
? this.getColorVar(color)
|
|
3926
|
-
: this.getColorVar(this.
|
|
4023
|
+
: this.getColorVar(this.DEFAULT_COLOR);
|
|
3927
4024
|
}
|
|
3928
|
-
|
|
4025
|
+
getStackColor(color) {
|
|
3929
4026
|
return color
|
|
3930
4027
|
? this.getColorVar(color)
|
|
3931
|
-
: this.getColorVar(this.
|
|
4028
|
+
: this.getColorVar(this.DEFAULT_STACK_COLOR);
|
|
3932
4029
|
}
|
|
3933
4030
|
getColorVar(color) {
|
|
3934
4031
|
return color?.startsWith('--granite') ? `var(${color})` : color;
|
|
@@ -3956,31 +4053,17 @@ class GraniteProgressBarComponent {
|
|
|
3956
4053
|
}
|
|
3957
4054
|
}
|
|
3958
4055
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3959
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GraniteProgressBarComponent, selector: "granite-progress-bar", inputs: { progressBarData: "progressBarData", showLabel: "showLabel" }, exportAs: ["graniteProgressBar"], usesOnChanges: true, ngImport: i0, template: "<div\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n class=\"progress\"\n [style.background-color]=\"getBackgroundColor()\"\n>\n <div\n *ngFor=\"let bar of progressBarData; let i = index\"\n [style.background-color]=\"getStackColor(bar.backgroundColor)\"\n [style.width]=\"getStringOfWidth(getWidth(bar.value))\"\n [style.color]=\"getFontColor(bar.foregroundColor)\"\n [
|
|
4056
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GraniteProgressBarComponent, selector: "granite-progress-bar", inputs: { progressBarData: "progressBarData", showLabel: "showLabel" }, exportAs: ["graniteProgressBar"], usesOnChanges: true, ngImport: i0, template: "<div\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n class=\"progress\"\n [style.background-color]=\"getBackgroundColor()\"\n>\n <div\n *ngFor=\"let bar of progressBarData; let i = index\"\n [style.background-color]=\"getStackColor(bar.backgroundColor)\"\n [style.width]=\"getStringOfWidth(getWidth(bar.value))\"\n [style.color]=\"getFontColor(bar.foregroundColor)\"\n [graniteTooltipTriggerFor]=\"tooltip\"\n class=\"progress-bar\"\n >\n <label *ngIf=\"showLabel\" graniteHideOnOverflow>{{ bar.valueLabel }}</label>\n <granite-tooltip #tooltip> {{ bar.valueLabel }} </granite-tooltip>\n </div>\n</div>\n", styles: [":host{width:100%;height:.5rem;line-height:.5rem;box-sizing:border-box;border-radius:var(--granite-radius-s);font-size:.25rem}.progress{display:flex;width:inherit;height:inherit;overflow:hidden;border-radius:inherit;background-color:var(--granite-color-background-selected)}.progress-bar{display:flex;align-items:center;box-sizing:border-box;width:inherit;height:inherit;line-height:inherit;font-size:inherit;vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;color:var(--granite-color-text);overflow:hidden;text-align:center;justify-content:center}.progress-bar label{width:100%}.progress-bar:last-child{justify-content:flex-end;text-align:end;padding-inline-end:var(--granite-spacing-16)}.progress-bar:first-child{justify-content:flex-start;text-align:start;padding-inline-start:var(--granite-spacing-16)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: GraniteHideOnOverflowDirective, selector: "[graniteHideOnOverflow]", exportAs: ["graniteHideOnOverflow"] }, { kind: "component", type: i3$1.GraniteTooltipComponent, selector: "granite-tooltip" }, { kind: "directive", type: i3$1.GraniteTooltipTriggerForDirective, selector: "[graniteTooltipTriggerFor]", inputs: ["graniteTooltipTriggerFor", "hideDelay", "showDelay", "showOnKeyboardFocus", "showOnClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3960
4057
|
}
|
|
3961
4058
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarComponent, decorators: [{
|
|
3962
4059
|
type: Component,
|
|
3963
|
-
args: [{ selector: 'granite-progress-bar', exportAs: 'graniteProgressBar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n class=\"progress\"\n [style.background-color]=\"getBackgroundColor()\"\n>\n <div\n *ngFor=\"let bar of progressBarData; let i = index\"\n [style.background-color]=\"getStackColor(bar.backgroundColor)\"\n [style.width]=\"getStringOfWidth(getWidth(bar.value))\"\n [style.color]=\"getFontColor(bar.foregroundColor)\"\n [
|
|
4060
|
+
args: [{ selector: 'granite-progress-bar', exportAs: 'graniteProgressBar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n class=\"progress\"\n [style.background-color]=\"getBackgroundColor()\"\n>\n <div\n *ngFor=\"let bar of progressBarData; let i = index\"\n [style.background-color]=\"getStackColor(bar.backgroundColor)\"\n [style.width]=\"getStringOfWidth(getWidth(bar.value))\"\n [style.color]=\"getFontColor(bar.foregroundColor)\"\n [graniteTooltipTriggerFor]=\"tooltip\"\n class=\"progress-bar\"\n >\n <label *ngIf=\"showLabel\" graniteHideOnOverflow>{{ bar.valueLabel }}</label>\n <granite-tooltip #tooltip> {{ bar.valueLabel }} </granite-tooltip>\n </div>\n</div>\n", styles: [":host{width:100%;height:.5rem;line-height:.5rem;box-sizing:border-box;border-radius:var(--granite-radius-s);font-size:.25rem}.progress{display:flex;width:inherit;height:inherit;overflow:hidden;border-radius:inherit;background-color:var(--granite-color-background-selected)}.progress-bar{display:flex;align-items:center;box-sizing:border-box;width:inherit;height:inherit;line-height:inherit;font-size:inherit;vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;color:var(--granite-color-text);overflow:hidden;text-align:center;justify-content:center}.progress-bar label{width:100%}.progress-bar:last-child{justify-content:flex-end;text-align:end;padding-inline-end:var(--granite-spacing-16)}.progress-bar:first-child{justify-content:flex-start;text-align:start;padding-inline-start:var(--granite-spacing-16)}\n"] }]
|
|
3964
4061
|
}], propDecorators: { progressBarData: [{
|
|
3965
4062
|
type: Input
|
|
3966
4063
|
}], showLabel: [{
|
|
3967
4064
|
type: Input
|
|
3968
4065
|
}] } });
|
|
3969
4066
|
|
|
3970
|
-
class GraniteProgressBarModule {
|
|
3971
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3972
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarModule, declarations: [GraniteProgressBarComponent], imports: [CommonModule], exports: [GraniteProgressBarComponent] }); }
|
|
3973
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarModule, imports: [CommonModule] }); }
|
|
3974
|
-
}
|
|
3975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarModule, decorators: [{
|
|
3976
|
-
type: NgModule,
|
|
3977
|
-
args: [{
|
|
3978
|
-
declarations: [GraniteProgressBarComponent],
|
|
3979
|
-
exports: [GraniteProgressBarComponent],
|
|
3980
|
-
imports: [CommonModule],
|
|
3981
|
-
}]
|
|
3982
|
-
}] });
|
|
3983
|
-
|
|
3984
4067
|
/**
|
|
3985
4068
|
* Directive used to tell components and their sub components that client output
|
|
3986
4069
|
* should be adapted for desktop devices like personal computers.
|
|
@@ -4091,10 +4174,12 @@ class GraniteCoreModule {
|
|
|
4091
4174
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GraniteCoreModule, declarations: [ClientOutputDesktopDirective,
|
|
4092
4175
|
ClientOutputTouchDirective,
|
|
4093
4176
|
ClientInputDesktopDirective,
|
|
4094
|
-
ClientInputTouchDirective
|
|
4177
|
+
ClientInputTouchDirective,
|
|
4178
|
+
GraniteHideOnOverflowDirective], exports: [ClientOutputDesktopDirective,
|
|
4095
4179
|
ClientOutputTouchDirective,
|
|
4096
4180
|
ClientInputDesktopDirective,
|
|
4097
|
-
ClientInputTouchDirective
|
|
4181
|
+
ClientInputTouchDirective,
|
|
4182
|
+
GraniteHideOnOverflowDirective] }); }
|
|
4098
4183
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteCoreModule }); }
|
|
4099
4184
|
}
|
|
4100
4185
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteCoreModule, decorators: [{
|
|
@@ -4105,16 +4190,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4105
4190
|
ClientOutputTouchDirective,
|
|
4106
4191
|
ClientInputDesktopDirective,
|
|
4107
4192
|
ClientInputTouchDirective,
|
|
4193
|
+
GraniteHideOnOverflowDirective,
|
|
4108
4194
|
],
|
|
4109
4195
|
exports: [
|
|
4110
4196
|
ClientOutputDesktopDirective,
|
|
4111
4197
|
ClientOutputTouchDirective,
|
|
4112
4198
|
ClientInputDesktopDirective,
|
|
4113
4199
|
ClientInputTouchDirective,
|
|
4200
|
+
GraniteHideOnOverflowDirective,
|
|
4114
4201
|
],
|
|
4115
4202
|
}]
|
|
4116
4203
|
}] });
|
|
4117
4204
|
|
|
4205
|
+
class GraniteProgressBarModule {
|
|
4206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4207
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarModule, declarations: [GraniteProgressBarComponent], imports: [CommonModule, GraniteCoreModule, GraniteTooltipModule], exports: [GraniteProgressBarComponent] }); }
|
|
4208
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarModule, imports: [CommonModule, GraniteCoreModule, GraniteTooltipModule] }); }
|
|
4209
|
+
}
|
|
4210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GraniteProgressBarModule, decorators: [{
|
|
4211
|
+
type: NgModule,
|
|
4212
|
+
args: [{
|
|
4213
|
+
declarations: [GraniteProgressBarComponent],
|
|
4214
|
+
exports: [GraniteProgressBarComponent],
|
|
4215
|
+
imports: [CommonModule, GraniteCoreModule, GraniteTooltipModule],
|
|
4216
|
+
}]
|
|
4217
|
+
}] });
|
|
4218
|
+
|
|
4118
4219
|
class GraniteTitlePipe {
|
|
4119
4220
|
transform(value) {
|
|
4120
4221
|
const words = value.split(/(?=[A-Z ])/);
|
|
@@ -4311,5 +4412,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4311
4412
|
* Generated bundle index. Do not edit.
|
|
4312
4413
|
*/
|
|
4313
4414
|
|
|
4314
|
-
export { ButtonSelectors, ClientInputDesktopDirective, ClientInputTouchDirective, ClientOutputDesktopDirective, ClientOutputTouchDirective, GRANITE_CLIENT_INPUT, GRANITE_CLIENT_OUTPUT, GraniteAnchorComponent, GraniteArrangeGridComponent, GraniteArrangeGridItemComponent, GraniteArrangeGridModule, GraniteArrangeGridOrientation, GraniteBadgeComponent, GraniteBadgeHarness, GraniteBadgeModule, GraniteButtonComponent, GraniteButtonModule, GraniteCardActionsComponent, GraniteCardAvatarComponent, GraniteCardBodyComponent, GraniteCardComponent, GraniteCardContentComponent, GraniteCardFooterComponent, GraniteCardHeaderComponent, GraniteCardHeaderSubTitleComponent, GraniteCardHeaderTitleComponent, GraniteCardListComponent, GraniteCardListModule, GraniteCheckboxComponent, GraniteCheckboxGroupComponent, GraniteCheckboxModule, GraniteChipComponent, GraniteChipInputDirective, GraniteChipListComponent, GraniteChipSelectionChangeEvent, GraniteChipsModule, GraniteCoreModule, GraniteDividerDirective, GraniteGridComponent, GraniteGridItemComponent, GraniteGridModule, GraniteIconComponent, GraniteIconModule, GraniteInputFieldComponent, GraniteInputFieldModule, GraniteLabelComponent, GraniteLabelModule, GraniteMenuComponent, GraniteMenuHarness, GraniteMenuItemComponent, GraniteMenuItemHarness, GraniteMenuModule, GraniteMenuTouchCloseComponent, GraniteMenuTouchTitleItemComponent, GraniteMenuTriggerForDirective, GraniteProgressBarComponent, GraniteProgressBarModule, GraniteRadioButtonComponent, GraniteRadioButtonModule, GraniteRadioGroupComponent, GraniteTitleDirective, GraniteTitlePipe, GraniteToggleSwitchComponent, GraniteToggleSwitchModule, PurePipesModule, deviceDesktop, deviceTouch, disabledMixin, graniteMenuDesktopAnimations, graniteMenuTouchAnimations };
|
|
4415
|
+
export { ButtonSelectors, ClientInputDesktopDirective, ClientInputTouchDirective, ClientOutputDesktopDirective, ClientOutputTouchDirective, GRANITE_CLIENT_INPUT, GRANITE_CLIENT_OUTPUT, GraniteAnchorComponent, GraniteArrangeGridComponent, GraniteArrangeGridItemComponent, GraniteArrangeGridModule, GraniteArrangeGridOrientation, GraniteBadgeComponent, GraniteBadgeHarness, GraniteBadgeModule, GraniteButtonComponent, GraniteButtonModule, GraniteCardActionsComponent, GraniteCardAvatarComponent, GraniteCardBodyComponent, GraniteCardComponent, GraniteCardContentComponent, GraniteCardFooterComponent, GraniteCardHeaderComponent, GraniteCardHeaderSubTitleComponent, GraniteCardHeaderTitleComponent, GraniteCardListComponent, GraniteCardListModule, GraniteCheckboxComponent, GraniteCheckboxGroupComponent, GraniteCheckboxModule, GraniteChipComponent, GraniteChipInputDirective, GraniteChipListComponent, GraniteChipSelectionChangeEvent, GraniteChipsModule, GraniteCoreModule, GraniteDividerDirective, GraniteGridComponent, GraniteGridItemComponent, GraniteGridModule, GraniteHideOnOverflowDirective, GraniteIconComponent, GraniteIconModule, GraniteInputFieldComponent, GraniteInputFieldModule, GraniteLabelComponent, GraniteLabelModule, GraniteMenuComponent, GraniteMenuHarness, GraniteMenuItemComponent, GraniteMenuItemHarness, GraniteMenuModule, GraniteMenuTouchCloseComponent, GraniteMenuTouchTitleItemComponent, GraniteMenuTriggerForDirective, GraniteProgressBarComponent, GraniteProgressBarModule, GraniteRadioButtonComponent, GraniteRadioButtonModule, GraniteRadioGroupComponent, GraniteTitleDirective, GraniteTitlePipe, GraniteToggleSwitchComponent, GraniteToggleSwitchModule, PurePipesModule, deviceDesktop, deviceTouch, disabledMixin, graniteMenuDesktopAnimations, graniteMenuTouchAnimations };
|
|
4315
4416
|
//# sourceMappingURL=ifsworld-granite-components.mjs.map
|