@skyux/indicators 9.0.0-alpha.3 → 9.0.0-alpha.5
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/documentation.json +594 -596
- package/esm2022/lib/modules/alert/alert.module.mjs +1 -5
- package/esm2022/lib/modules/chevron/chevron.module.mjs +1 -5
- package/esm2022/lib/modules/help-inline/help-inline.module.mjs +1 -5
- package/esm2022/lib/modules/label/label.module.mjs +4 -16
- package/esm2022/lib/modules/status-indicator/status-indicator.module.mjs +1 -5
- package/esm2022/lib/modules/tokens/tokens.module.mjs +4 -16
- package/esm2022/lib/modules/wait/wait.module.mjs +6 -5
- package/esm2022/lib/modules/wait/wait.service.mjs +9 -11
- package/fesm2022/skyux-indicators.mjs +29 -64
- package/fesm2022/skyux-indicators.mjs.map +1 -1
- package/lib/modules/alert/alert.module.d.ts +4 -5
- package/lib/modules/chevron/chevron.module.d.ts +4 -5
- package/lib/modules/help-inline/help-inline.module.d.ts +4 -5
- package/lib/modules/label/label.module.d.ts +3 -4
- package/lib/modules/status-indicator/status-indicator.module.d.ts +4 -5
- package/lib/modules/tokens/tokens.module.d.ts +3 -4
- package/lib/modules/wait/wait.module.d.ts +2 -3
- package/package.json +5 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i1 from '@angular/common';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, Injectable, Pipe, Component, Input, ChangeDetectionStrategy, NgModule, EventEmitter, Output, ChangeDetectorRef, ElementRef, Directive, ViewChild, ViewChildren } from '@angular/core';
|
|
5
|
-
import * as i5 from '@skyux/i18n';
|
|
6
|
-
import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS, SkyLibResourcesService } from '@skyux/i18n';
|
|
4
|
+
import { inject, Injectable, Pipe, Component, Input, ChangeDetectionStrategy, NgModule, EventEmitter, Output, ChangeDetectorRef, ElementRef, Directive, ViewChild, ViewChildren, EnvironmentInjector } from '@angular/core';
|
|
7
5
|
import * as i2 from '@skyux/theme';
|
|
8
6
|
import { SkyThemeIconManifestService, SkyThemeService, SkyThemeModule } from '@skyux/theme';
|
|
7
|
+
import * as i5 from '@skyux/i18n';
|
|
8
|
+
import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS, SkyLibResourcesService } from '@skyux/i18n';
|
|
9
9
|
import * as i2$1 from '@skyux/core';
|
|
10
10
|
import { SkyLogService, SkyTrimModule, SkyMutationObserverService, SkyLiveAnnouncerService, SkyAppWindowRef, SkyDynamicComponentService, SkyDynamicComponentLocation } from '@skyux/core';
|
|
11
11
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
@@ -408,12 +408,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
408
408
|
class SkyAlertModule {
|
|
409
409
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
410
410
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyAlertModule, declarations: [SkyAlertComponent], imports: [CommonModule,
|
|
411
|
-
SkyI18nModule,
|
|
412
411
|
SkyIconModule,
|
|
413
412
|
SkyIndicatorsResourcesModule,
|
|
414
413
|
SkyThemeModule], exports: [SkyAlertComponent] }); }
|
|
415
414
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyAlertModule, imports: [CommonModule,
|
|
416
|
-
SkyI18nModule,
|
|
417
415
|
SkyIconModule,
|
|
418
416
|
SkyIndicatorsResourcesModule,
|
|
419
417
|
SkyThemeModule] }); }
|
|
@@ -424,7 +422,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
424
422
|
declarations: [SkyAlertComponent],
|
|
425
423
|
imports: [
|
|
426
424
|
CommonModule,
|
|
427
|
-
SkyI18nModule,
|
|
428
425
|
SkyIconModule,
|
|
429
426
|
SkyIndicatorsResourcesModule,
|
|
430
427
|
SkyThemeModule,
|
|
@@ -549,12 +546,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
549
546
|
class SkyChevronModule {
|
|
550
547
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyChevronModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
551
548
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyChevronModule, declarations: [SkyChevronComponent], imports: [CommonModule,
|
|
552
|
-
SkyI18nModule,
|
|
553
549
|
SkyIndicatorsResourcesModule,
|
|
554
550
|
SkyThemeModule,
|
|
555
551
|
SkyExpansionIndicatorModule], exports: [SkyChevronComponent] }); }
|
|
556
552
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyChevronModule, imports: [CommonModule,
|
|
557
|
-
SkyI18nModule,
|
|
558
553
|
SkyIndicatorsResourcesModule,
|
|
559
554
|
SkyThemeModule,
|
|
560
555
|
SkyExpansionIndicatorModule] }); }
|
|
@@ -565,7 +560,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
565
560
|
declarations: [SkyChevronComponent],
|
|
566
561
|
imports: [
|
|
567
562
|
CommonModule,
|
|
568
|
-
SkyI18nModule,
|
|
569
563
|
SkyIndicatorsResourcesModule,
|
|
570
564
|
SkyThemeModule,
|
|
571
565
|
SkyExpansionIndicatorModule,
|
|
@@ -617,12 +611,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
617
611
|
class SkyHelpInlineModule {
|
|
618
612
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
619
613
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineModule, declarations: [SkyHelpInlineComponent, SkyHelpInlineAriaExpandedPipe], imports: [CommonModule,
|
|
620
|
-
SkyI18nModule,
|
|
621
614
|
SkyIconModule,
|
|
622
615
|
SkyIndicatorsResourcesModule,
|
|
623
616
|
SkyThemeModule], exports: [SkyHelpInlineComponent] }); }
|
|
624
617
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineModule, imports: [CommonModule,
|
|
625
|
-
SkyI18nModule,
|
|
626
618
|
SkyIconModule,
|
|
627
619
|
SkyIndicatorsResourcesModule,
|
|
628
620
|
SkyThemeModule] }); }
|
|
@@ -633,7 +625,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
633
625
|
declarations: [SkyHelpInlineComponent, SkyHelpInlineAriaExpandedPipe],
|
|
634
626
|
imports: [
|
|
635
627
|
CommonModule,
|
|
636
|
-
SkyI18nModule,
|
|
637
628
|
SkyIconModule,
|
|
638
629
|
SkyIndicatorsResourcesModule,
|
|
639
630
|
SkyThemeModule,
|
|
@@ -833,25 +824,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
833
824
|
|
|
834
825
|
class SkyLabelModule {
|
|
835
826
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
836
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, declarations: [SkyLabelComponent], imports: [CommonModule,
|
|
837
|
-
|
|
838
|
-
SkyIconModule,
|
|
839
|
-
SkyIndicatorsResourcesModule], exports: [SkyLabelComponent] }); }
|
|
840
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, imports: [CommonModule,
|
|
841
|
-
SkyI18nModule,
|
|
842
|
-
SkyIconModule,
|
|
843
|
-
SkyIndicatorsResourcesModule] }); }
|
|
827
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, declarations: [SkyLabelComponent], imports: [CommonModule, SkyIconModule, SkyIndicatorsResourcesModule], exports: [SkyLabelComponent] }); }
|
|
828
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, imports: [CommonModule, SkyIconModule, SkyIndicatorsResourcesModule] }); }
|
|
844
829
|
}
|
|
845
830
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, decorators: [{
|
|
846
831
|
type: NgModule,
|
|
847
832
|
args: [{
|
|
848
833
|
declarations: [SkyLabelComponent],
|
|
849
|
-
imports: [
|
|
850
|
-
CommonModule,
|
|
851
|
-
SkyI18nModule,
|
|
852
|
-
SkyIconModule,
|
|
853
|
-
SkyIndicatorsResourcesModule,
|
|
854
|
-
],
|
|
834
|
+
imports: [CommonModule, SkyIconModule, SkyIndicatorsResourcesModule],
|
|
855
835
|
exports: [SkyLabelComponent],
|
|
856
836
|
}]
|
|
857
837
|
}] });
|
|
@@ -955,12 +935,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
955
935
|
class SkyStatusIndicatorModule {
|
|
956
936
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyStatusIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
957
937
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyStatusIndicatorModule, declarations: [SkyStatusIndicatorComponent], imports: [CommonModule,
|
|
958
|
-
SkyI18nModule,
|
|
959
938
|
SkyIconModule,
|
|
960
939
|
SkyIndicatorsResourcesModule,
|
|
961
940
|
SkyTrimModule], exports: [SkyStatusIndicatorComponent] }); }
|
|
962
941
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyStatusIndicatorModule, imports: [CommonModule,
|
|
963
|
-
SkyI18nModule,
|
|
964
942
|
SkyIconModule,
|
|
965
943
|
SkyIndicatorsResourcesModule,
|
|
966
944
|
SkyTrimModule] }); }
|
|
@@ -971,7 +949,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
971
949
|
declarations: [SkyStatusIndicatorComponent],
|
|
972
950
|
imports: [
|
|
973
951
|
CommonModule,
|
|
974
|
-
SkyI18nModule,
|
|
975
952
|
SkyIconModule,
|
|
976
953
|
SkyIndicatorsResourcesModule,
|
|
977
954
|
SkyTrimModule,
|
|
@@ -1589,25 +1566,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
1589
1566
|
|
|
1590
1567
|
class SkyTokensModule {
|
|
1591
1568
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1592
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, declarations: [SkyTokenComponent, SkyTokensComponent], imports: [CommonModule,
|
|
1593
|
-
|
|
1594
|
-
SkyIconModule,
|
|
1595
|
-
SkyIndicatorsResourcesModule], exports: [SkyTokenComponent, SkyTokensComponent] }); }
|
|
1596
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, imports: [CommonModule,
|
|
1597
|
-
SkyI18nModule,
|
|
1598
|
-
SkyIconModule,
|
|
1599
|
-
SkyIndicatorsResourcesModule] }); }
|
|
1569
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, declarations: [SkyTokenComponent, SkyTokensComponent], imports: [CommonModule, SkyIconModule, SkyIndicatorsResourcesModule], exports: [SkyTokenComponent, SkyTokensComponent] }); }
|
|
1570
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, imports: [CommonModule, SkyIconModule, SkyIndicatorsResourcesModule] }); }
|
|
1600
1571
|
}
|
|
1601
1572
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, decorators: [{
|
|
1602
1573
|
type: NgModule,
|
|
1603
1574
|
args: [{
|
|
1604
1575
|
declarations: [SkyTokenComponent, SkyTokensComponent],
|
|
1605
|
-
imports: [
|
|
1606
|
-
CommonModule,
|
|
1607
|
-
SkyI18nModule,
|
|
1608
|
-
SkyIconModule,
|
|
1609
|
-
SkyIndicatorsResourcesModule,
|
|
1610
|
-
],
|
|
1576
|
+
imports: [CommonModule, SkyIconModule, SkyIndicatorsResourcesModule],
|
|
1611
1577
|
exports: [SkyTokenComponent, SkyTokensComponent],
|
|
1612
1578
|
}]
|
|
1613
1579
|
}] });
|
|
@@ -2013,30 +1979,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
|
2013
1979
|
type: Input
|
|
2014
1980
|
}] } });
|
|
2015
1981
|
|
|
2016
|
-
class SkyWaitModule {
|
|
2017
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2018
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, declarations: [SkyWaitComponent, SkyWaitPageComponent], imports: [CommonModule, SkyI18nModule, SkyIndicatorsResourcesModule], exports: [SkyWaitComponent] }); }
|
|
2019
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, imports: [CommonModule, SkyI18nModule, SkyIndicatorsResourcesModule] }); }
|
|
2020
|
-
}
|
|
2021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, decorators: [{
|
|
2022
|
-
type: NgModule,
|
|
2023
|
-
args: [{
|
|
2024
|
-
declarations: [SkyWaitComponent, SkyWaitPageComponent],
|
|
2025
|
-
imports: [CommonModule, SkyI18nModule, SkyIndicatorsResourcesModule],
|
|
2026
|
-
exports: [SkyWaitComponent],
|
|
2027
|
-
}]
|
|
2028
|
-
}] });
|
|
2029
|
-
|
|
2030
1982
|
let waitComponent;
|
|
2031
1983
|
let waitComponentRef;
|
|
2032
1984
|
let pageWaitBlockingCount = 0;
|
|
2033
1985
|
let pageWaitNonBlockingCount = 0;
|
|
2034
|
-
// Need to add the following to classes which contain static methods.
|
|
2035
|
-
// See: https://github.com/ng-packagr/ng-packagr/issues/641
|
|
2036
|
-
// @dynamic
|
|
2037
1986
|
class SkyWaitService {
|
|
2038
1987
|
#windowSvc = inject(SkyAppWindowRef);
|
|
2039
1988
|
#dynamicComponentService = inject(SkyDynamicComponentService);
|
|
1989
|
+
#environmentInjector = inject(EnvironmentInjector);
|
|
2040
1990
|
/**
|
|
2041
1991
|
* Starts a blocking page wait on the page.
|
|
2042
1992
|
*/
|
|
@@ -2122,7 +2072,10 @@ class SkyWaitService {
|
|
|
2122
2072
|
// Ensuring here that we recheck this after the setTimeout is over so that we don't clash
|
|
2123
2073
|
// with any other waits that are created.
|
|
2124
2074
|
if (!waitComponent) {
|
|
2125
|
-
waitComponentRef = this.#dynamicComponentService.createComponent(SkyWaitPageComponent, {
|
|
2075
|
+
waitComponentRef = this.#dynamicComponentService.createComponent(SkyWaitPageComponent, {
|
|
2076
|
+
environmentInjector: this.#environmentInjector,
|
|
2077
|
+
location: SkyDynamicComponentLocation.BodyBottom,
|
|
2078
|
+
});
|
|
2126
2079
|
waitComponent = waitComponentRef.instance;
|
|
2127
2080
|
}
|
|
2128
2081
|
this.#setWaitComponentProperties(isBlocking);
|
|
@@ -2171,12 +2124,24 @@ class SkyWaitService {
|
|
|
2171
2124
|
}
|
|
2172
2125
|
}
|
|
2173
2126
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2174
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitService
|
|
2127
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitService }); }
|
|
2175
2128
|
}
|
|
2176
2129
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitService, decorators: [{
|
|
2177
|
-
type: Injectable
|
|
2130
|
+
type: Injectable
|
|
2131
|
+
}] });
|
|
2132
|
+
|
|
2133
|
+
class SkyWaitModule {
|
|
2134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2135
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, declarations: [SkyWaitComponent, SkyWaitPageComponent], imports: [CommonModule, SkyIndicatorsResourcesModule], exports: [SkyWaitComponent] }); }
|
|
2136
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, providers: [SkyWaitService], imports: [CommonModule, SkyIndicatorsResourcesModule] }); }
|
|
2137
|
+
}
|
|
2138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, decorators: [{
|
|
2139
|
+
type: NgModule,
|
|
2178
2140
|
args: [{
|
|
2179
|
-
|
|
2141
|
+
declarations: [SkyWaitComponent, SkyWaitPageComponent],
|
|
2142
|
+
imports: [CommonModule, SkyIndicatorsResourcesModule],
|
|
2143
|
+
exports: [SkyWaitComponent],
|
|
2144
|
+
providers: [SkyWaitService],
|
|
2180
2145
|
}]
|
|
2181
2146
|
}] });
|
|
2182
2147
|
|