@skyux/indicators 5.5.0 → 5.6.2
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/bundles/skyux-indicators.umd.js +205 -205
- package/documentation.json +121 -533
- package/esm2015/lib/modules/alert/alert.component.js.map +1 -1
- package/esm2015/lib/modules/alert/alert.module.js +3 -3
- package/esm2015/lib/modules/alert/alert.module.js.map +1 -1
- package/esm2015/lib/modules/chevron/chevron.module.js +2 -2
- package/esm2015/lib/modules/chevron/chevron.module.js.map +1 -1
- package/esm2015/lib/modules/expansion-indicator/expansion-indicator.module.js +2 -2
- package/esm2015/lib/modules/expansion-indicator/expansion-indicator.module.js.map +1 -1
- package/esm2015/lib/modules/help-inline/help-inline.module.js +1 -1
- package/esm2015/lib/modules/help-inline/help-inline.module.js.map +1 -1
- package/esm2015/lib/modules/icon/icon-class-list.pipe.js.map +1 -1
- package/esm2015/lib/modules/icon/icon-resolver.service.js.map +1 -1
- package/esm2015/lib/modules/icon/icon.component.js.map +1 -1
- package/esm2015/lib/modules/icon/icon.module.js +4 -4
- package/esm2015/lib/modules/icon/icon.module.js.map +1 -1
- package/esm2015/lib/modules/key-info/key-info.module.js +1 -1
- package/esm2015/lib/modules/key-info/key-info.module.js.map +1 -1
- package/esm2015/lib/modules/label/label.component.js.map +1 -1
- package/esm2015/lib/modules/label/label.module.js +1 -1
- package/esm2015/lib/modules/label/label.module.js.map +1 -1
- package/esm2015/lib/modules/shared/indicator-icon-utility.js.map +1 -1
- package/esm2015/lib/modules/shared/sky-indicators-resources.module.js +1 -1
- package/esm2015/lib/modules/shared/sky-indicators-resources.module.js.map +1 -1
- package/esm2015/lib/modules/status-indicator/status-indicator.component.js.map +1 -1
- package/esm2015/lib/modules/status-indicator/status-indicator.module.js +2 -2
- package/esm2015/lib/modules/status-indicator/status-indicator.module.js.map +1 -1
- package/esm2015/lib/modules/text-highlight/text-highlight.directive.js +53 -54
- package/esm2015/lib/modules/text-highlight/text-highlight.directive.js.map +1 -1
- package/esm2015/lib/modules/text-highlight/text-highlight.module.js.map +1 -1
- package/esm2015/lib/modules/tokens/token.component.js.map +1 -1
- package/esm2015/lib/modules/tokens/tokens.component.js +1 -1
- package/esm2015/lib/modules/tokens/tokens.component.js.map +1 -1
- package/esm2015/lib/modules/tokens/tokens.module.js +3 -3
- package/esm2015/lib/modules/tokens/tokens.module.js.map +1 -1
- package/esm2015/lib/modules/wait/wait.component.js.map +1 -1
- package/esm2015/lib/modules/wait/wait.module.js +2 -2
- package/esm2015/lib/modules/wait/wait.module.js.map +1 -1
- package/esm2015/lib/modules/wait/wait.service.js.map +1 -1
- package/esm2015/testing/alert-fixture.js.map +1 -1
- package/esm2015/testing/label-fixture.js.map +1 -1
- package/esm2015/testing/wait-fixture.js.map +1 -1
- package/fesm2015/skyux-indicators-testing.js.map +1 -1
- package/fesm2015/skyux-indicators.js +146 -147
- package/fesm2015/skyux-indicators.js.map +1 -1
- package/lib/modules/status-indicator/status-indicator.component.d.ts +1 -1
- package/lib/modules/text-highlight/text-highlight.directive.d.ts +4 -4
- package/lib/modules/tokens/tokens.component.d.ts +1 -1
- package/package.json +14 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@skyux/indicators', ['exports', '@angular/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.indicators = {}), global.ng.
|
|
5
|
-
})(this, (function (exports, i0, i1$1,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@skyux/i18n'), require('@skyux/theme'), require('@skyux/core'), require('@angular/animations'), require('rxjs'), require('rxjs/operators')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@skyux/indicators', ['exports', '@angular/common', '@angular/core', '@skyux/i18n', '@skyux/theme', '@skyux/core', '@angular/animations', 'rxjs', 'rxjs/operators'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.indicators = {}), global.ng.common, global.ng.core, global.i1$1, global.i3, global.i1$2, global.ng.animations, global.rxjs, global.rxjs.operators));
|
|
5
|
+
})(this, (function (exports, i1, i0, i1$1, i3, i1$2, animations, rxjs, operators) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -22,76 +22,12 @@
|
|
|
22
22
|
return Object.freeze(n);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
25
26
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
|
|
27
|
-
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1);
|
|
27
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
28
28
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
29
29
|
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
30
30
|
|
|
31
|
-
/**
|
|
32
|
-
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
33
|
-
* The contents of this file were automatically generated by
|
|
34
|
-
* the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-indicators' schematic.
|
|
35
|
-
* To update this file, simply rerun the command.
|
|
36
|
-
*/
|
|
37
|
-
var RESOURCES = {
|
|
38
|
-
'EN-US': {
|
|
39
|
-
skyux_alert_close: { message: 'Close the alert' },
|
|
40
|
-
skyux_help_inline_button_title: { message: 'Show help content' },
|
|
41
|
-
skyux_status_indicator_sr_completed: { message: 'Completed:' },
|
|
42
|
-
skyux_status_indicator_sr_error: { message: 'Error:' },
|
|
43
|
-
skyux_status_indicator_sr_important_info: {
|
|
44
|
-
message: 'Important information:',
|
|
45
|
-
},
|
|
46
|
-
skyux_status_indicator_sr_warning: { message: 'Warning:' },
|
|
47
|
-
skyux_tokens_dismiss_button_title: { message: 'Remove item' },
|
|
48
|
-
skyux_wait_aria_alt_text: { message: 'Loading.' },
|
|
49
|
-
skyux_wait_blocking_aria_alt_text: { message: 'Loading. Please wait.' },
|
|
50
|
-
skyux_wait_page_aria_alt_text: { message: 'Page loading.' },
|
|
51
|
-
skyux_wait_page_blocking_aria_alt_text: {
|
|
52
|
-
message: 'Page loading. Please wait.',
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
};
|
|
56
|
-
var SkyIndicatorsResourcesProvider = /** @class */ (function () {
|
|
57
|
-
function SkyIndicatorsResourcesProvider() {
|
|
58
|
-
}
|
|
59
|
-
SkyIndicatorsResourcesProvider.prototype.getString = function (localeInfo, name) {
|
|
60
|
-
return i1.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
61
|
-
};
|
|
62
|
-
return SkyIndicatorsResourcesProvider;
|
|
63
|
-
}());
|
|
64
|
-
/**
|
|
65
|
-
* Import into any component library module that needs to use resource strings.
|
|
66
|
-
*/
|
|
67
|
-
var SkyIndicatorsResourcesModule = /** @class */ (function () {
|
|
68
|
-
function SkyIndicatorsResourcesModule() {
|
|
69
|
-
}
|
|
70
|
-
return SkyIndicatorsResourcesModule;
|
|
71
|
-
}());
|
|
72
|
-
SkyIndicatorsResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
73
|
-
SkyIndicatorsResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, exports: [i1.SkyI18nModule] });
|
|
74
|
-
SkyIndicatorsResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, providers: [
|
|
75
|
-
{
|
|
76
|
-
provide: i1.SKY_LIB_RESOURCES_PROVIDERS,
|
|
77
|
-
useClass: SkyIndicatorsResourcesProvider,
|
|
78
|
-
multi: true,
|
|
79
|
-
},
|
|
80
|
-
], imports: [i1.SkyI18nModule] });
|
|
81
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, decorators: [{
|
|
82
|
-
type: i0.NgModule,
|
|
83
|
-
args: [{
|
|
84
|
-
exports: [i1.SkyI18nModule],
|
|
85
|
-
providers: [
|
|
86
|
-
{
|
|
87
|
-
provide: i1.SKY_LIB_RESOURCES_PROVIDERS,
|
|
88
|
-
useClass: SkyIndicatorsResourcesProvider,
|
|
89
|
-
multi: true,
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
}]
|
|
93
|
-
}] });
|
|
94
|
-
|
|
95
31
|
/*! *****************************************************************************
|
|
96
32
|
Copyright (c) Microsoft Corporation.
|
|
97
33
|
|
|
@@ -495,6 +431,28 @@
|
|
|
495
431
|
}]
|
|
496
432
|
}], ctorParameters: function () { return [{ type: SkyIconResolverService }]; } });
|
|
497
433
|
|
|
434
|
+
var SkyIconStackComponent = /** @class */ (function () {
|
|
435
|
+
function SkyIconStackComponent() {
|
|
436
|
+
}
|
|
437
|
+
return SkyIconStackComponent;
|
|
438
|
+
}());
|
|
439
|
+
SkyIconStackComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconStackComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
440
|
+
SkyIconStackComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: { size: "size", baseIcon: "baseIcon", topIcon: "topIcon" }, ngImport: i0__namespace, template: "<span\n aria-hidden=\"true\"\n class=\"sky-icon-stack fa-stack\"\n [ngClass]=\"size ? 'fa-' + size + ' sky-icon-stack-size-' + size : ''\"\n>\n <i\n *ngIf=\"baseIcon\"\n class=\"sky-icon fa-stack-2x\"\n [ngClass]=\"baseIcon.icon | skyIconClassList: baseIcon.iconType\"\n ></i>\n <i\n *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"topIcon.icon | skyIconClassList: topIcon.iconType\"\n ></i>\n</span>\n", styles: [":host{display:inline-block;vertical-align:bottom}.sky-icon-stack-size-xs.fa-stack{width:1.25em;height:1.25em;line-height:1.25em}.sky-icon-stack-size-xs .fa-stack-2x{font-size:1.25em}.sky-icon-stack-size-xs .fa-stack-1x{font-size:.625em}.fa-stack-1x.sky-i-check:before{position:relative;top:1px}.fa-stack-1x.sky-i-exclamation:before{position:relative;top:2px;left:-.5px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-icon-inverse{color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-icon-inverse{color:#121212}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "skyIconClassList": SkyIconClassListPipe } });
|
|
441
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconStackComponent, decorators: [{
|
|
442
|
+
type: i0.Component,
|
|
443
|
+
args: [{
|
|
444
|
+
selector: 'sky-icon-stack',
|
|
445
|
+
template: "<span\n aria-hidden=\"true\"\n class=\"sky-icon-stack fa-stack\"\n [ngClass]=\"size ? 'fa-' + size + ' sky-icon-stack-size-' + size : ''\"\n>\n <i\n *ngIf=\"baseIcon\"\n class=\"sky-icon fa-stack-2x\"\n [ngClass]=\"baseIcon.icon | skyIconClassList: baseIcon.iconType\"\n ></i>\n <i\n *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"topIcon.icon | skyIconClassList: topIcon.iconType\"\n ></i>\n</span>\n",
|
|
446
|
+
styles: [":host{display:inline-block;vertical-align:bottom}.sky-icon-stack-size-xs.fa-stack{width:1.25em;height:1.25em;line-height:1.25em}.sky-icon-stack-size-xs .fa-stack-2x{font-size:1.25em}.sky-icon-stack-size-xs .fa-stack-1x{font-size:.625em}.fa-stack-1x.sky-i-check:before{position:relative;top:1px}.fa-stack-1x.sky-i-exclamation:before{position:relative;top:2px;left:-.5px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-icon-inverse{color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-icon-inverse{color:#121212}\n"],
|
|
447
|
+
}]
|
|
448
|
+
}], propDecorators: { size: [{
|
|
449
|
+
type: i0.Input
|
|
450
|
+
}], baseIcon: [{
|
|
451
|
+
type: i0.Input
|
|
452
|
+
}], topIcon: [{
|
|
453
|
+
type: i0.Input
|
|
454
|
+
}] } });
|
|
455
|
+
|
|
498
456
|
var SkyIconComponent = /** @class */ (function () {
|
|
499
457
|
function SkyIconComponent() {
|
|
500
458
|
/**
|
|
@@ -529,45 +487,87 @@
|
|
|
529
487
|
type: i0.Input
|
|
530
488
|
}] } });
|
|
531
489
|
|
|
532
|
-
var SkyIconStackComponent = /** @class */ (function () {
|
|
533
|
-
function SkyIconStackComponent() {
|
|
534
|
-
}
|
|
535
|
-
return SkyIconStackComponent;
|
|
536
|
-
}());
|
|
537
|
-
SkyIconStackComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconStackComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
538
|
-
SkyIconStackComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: { size: "size", baseIcon: "baseIcon", topIcon: "topIcon" }, ngImport: i0__namespace, template: "<span\n aria-hidden=\"true\"\n class=\"sky-icon-stack fa-stack\"\n [ngClass]=\"size ? 'fa-' + size + ' sky-icon-stack-size-' + size : ''\"\n>\n <i\n *ngIf=\"baseIcon\"\n class=\"sky-icon fa-stack-2x\"\n [ngClass]=\"baseIcon.icon | skyIconClassList: baseIcon.iconType\"\n ></i>\n <i\n *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"topIcon.icon | skyIconClassList: topIcon.iconType\"\n ></i>\n</span>\n", styles: [":host{display:inline-block;vertical-align:bottom}.sky-icon-stack-size-xs.fa-stack{width:1.25em;height:1.25em;line-height:1.25em}.sky-icon-stack-size-xs .fa-stack-2x{font-size:1.25em}.sky-icon-stack-size-xs .fa-stack-1x{font-size:.625em}.fa-stack-1x.sky-i-check:before{position:relative;top:1px}.fa-stack-1x.sky-i-exclamation:before{position:relative;top:2px;left:-.5px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-icon-inverse{color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-icon-inverse{color:#121212}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "skyIconClassList": SkyIconClassListPipe } });
|
|
539
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconStackComponent, decorators: [{
|
|
540
|
-
type: i0.Component,
|
|
541
|
-
args: [{
|
|
542
|
-
selector: 'sky-icon-stack',
|
|
543
|
-
template: "<span\n aria-hidden=\"true\"\n class=\"sky-icon-stack fa-stack\"\n [ngClass]=\"size ? 'fa-' + size + ' sky-icon-stack-size-' + size : ''\"\n>\n <i\n *ngIf=\"baseIcon\"\n class=\"sky-icon fa-stack-2x\"\n [ngClass]=\"baseIcon.icon | skyIconClassList: baseIcon.iconType\"\n ></i>\n <i\n *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"topIcon.icon | skyIconClassList: topIcon.iconType\"\n ></i>\n</span>\n",
|
|
544
|
-
styles: [":host{display:inline-block;vertical-align:bottom}.sky-icon-stack-size-xs.fa-stack{width:1.25em;height:1.25em;line-height:1.25em}.sky-icon-stack-size-xs .fa-stack-2x{font-size:1.25em}.sky-icon-stack-size-xs .fa-stack-1x{font-size:.625em}.fa-stack-1x.sky-i-check:before{position:relative;top:1px}.fa-stack-1x.sky-i-exclamation:before{position:relative;top:2px;left:-.5px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-icon-inverse{color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-icon-inverse{color:#121212}\n"],
|
|
545
|
-
}]
|
|
546
|
-
}], propDecorators: { size: [{
|
|
547
|
-
type: i0.Input
|
|
548
|
-
}], baseIcon: [{
|
|
549
|
-
type: i0.Input
|
|
550
|
-
}], topIcon: [{
|
|
551
|
-
type: i0.Input
|
|
552
|
-
}] } });
|
|
553
|
-
|
|
554
490
|
var SkyIconModule = /** @class */ (function () {
|
|
555
491
|
function SkyIconModule() {
|
|
556
492
|
}
|
|
557
493
|
return SkyIconModule;
|
|
558
494
|
}());
|
|
559
495
|
SkyIconModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
560
|
-
SkyIconModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, declarations: [SkyIconClassListPipe, SkyIconComponent, SkyIconStackComponent], imports: [i1
|
|
561
|
-
SkyIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, imports: [[i1
|
|
496
|
+
SkyIconModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, declarations: [SkyIconClassListPipe, SkyIconComponent, SkyIconStackComponent], imports: [i1.CommonModule, i3.SkyThemeIconManifestModule], exports: [SkyIconComponent, SkyIconStackComponent] });
|
|
497
|
+
SkyIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, imports: [[i1.CommonModule, i3.SkyThemeIconManifestModule]] });
|
|
562
498
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, decorators: [{
|
|
563
499
|
type: i0.NgModule,
|
|
564
500
|
args: [{
|
|
565
501
|
declarations: [SkyIconClassListPipe, SkyIconComponent, SkyIconStackComponent],
|
|
566
|
-
imports: [i1
|
|
502
|
+
imports: [i1.CommonModule, i3.SkyThemeIconManifestModule],
|
|
567
503
|
exports: [SkyIconComponent, SkyIconStackComponent],
|
|
568
504
|
}]
|
|
569
505
|
}] });
|
|
570
506
|
|
|
507
|
+
/**
|
|
508
|
+
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
509
|
+
* The contents of this file were automatically generated by
|
|
510
|
+
* the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-indicators' schematic.
|
|
511
|
+
* To update this file, simply rerun the command.
|
|
512
|
+
*/
|
|
513
|
+
var RESOURCES = {
|
|
514
|
+
'EN-US': {
|
|
515
|
+
skyux_alert_close: { message: 'Close the alert' },
|
|
516
|
+
skyux_help_inline_button_title: { message: 'Show help content' },
|
|
517
|
+
skyux_status_indicator_sr_completed: { message: 'Completed:' },
|
|
518
|
+
skyux_status_indicator_sr_error: { message: 'Error:' },
|
|
519
|
+
skyux_status_indicator_sr_important_info: {
|
|
520
|
+
message: 'Important information:',
|
|
521
|
+
},
|
|
522
|
+
skyux_status_indicator_sr_warning: { message: 'Warning:' },
|
|
523
|
+
skyux_tokens_dismiss_button_title: { message: 'Remove item' },
|
|
524
|
+
skyux_wait_aria_alt_text: { message: 'Loading.' },
|
|
525
|
+
skyux_wait_blocking_aria_alt_text: { message: 'Loading. Please wait.' },
|
|
526
|
+
skyux_wait_page_aria_alt_text: { message: 'Page loading.' },
|
|
527
|
+
skyux_wait_page_blocking_aria_alt_text: {
|
|
528
|
+
message: 'Page loading. Please wait.',
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
};
|
|
532
|
+
var SkyIndicatorsResourcesProvider = /** @class */ (function () {
|
|
533
|
+
function SkyIndicatorsResourcesProvider() {
|
|
534
|
+
}
|
|
535
|
+
SkyIndicatorsResourcesProvider.prototype.getString = function (localeInfo, name) {
|
|
536
|
+
return i1$1.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
537
|
+
};
|
|
538
|
+
return SkyIndicatorsResourcesProvider;
|
|
539
|
+
}());
|
|
540
|
+
/**
|
|
541
|
+
* Import into any component library module that needs to use resource strings.
|
|
542
|
+
*/
|
|
543
|
+
var SkyIndicatorsResourcesModule = /** @class */ (function () {
|
|
544
|
+
function SkyIndicatorsResourcesModule() {
|
|
545
|
+
}
|
|
546
|
+
return SkyIndicatorsResourcesModule;
|
|
547
|
+
}());
|
|
548
|
+
SkyIndicatorsResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
549
|
+
SkyIndicatorsResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, exports: [i1$1.SkyI18nModule] });
|
|
550
|
+
SkyIndicatorsResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, providers: [
|
|
551
|
+
{
|
|
552
|
+
provide: i1$1.SKY_LIB_RESOURCES_PROVIDERS,
|
|
553
|
+
useClass: SkyIndicatorsResourcesProvider,
|
|
554
|
+
multi: true,
|
|
555
|
+
},
|
|
556
|
+
], imports: [i1$1.SkyI18nModule] });
|
|
557
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, decorators: [{
|
|
558
|
+
type: i0.NgModule,
|
|
559
|
+
args: [{
|
|
560
|
+
exports: [i1$1.SkyI18nModule],
|
|
561
|
+
providers: [
|
|
562
|
+
{
|
|
563
|
+
provide: i1$1.SKY_LIB_RESOURCES_PROVIDERS,
|
|
564
|
+
useClass: SkyIndicatorsResourcesProvider,
|
|
565
|
+
multi: true,
|
|
566
|
+
},
|
|
567
|
+
],
|
|
568
|
+
}]
|
|
569
|
+
}] });
|
|
570
|
+
|
|
571
571
|
/**
|
|
572
572
|
* @internl
|
|
573
573
|
*/
|
|
@@ -675,14 +675,14 @@
|
|
|
675
675
|
return SkyAlertModule;
|
|
676
676
|
}());
|
|
677
677
|
SkyAlertModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
678
|
-
SkyAlertModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertModule, declarations: [SkyAlertComponent], imports: [i1
|
|
679
|
-
i1.SkyI18nModule,
|
|
678
|
+
SkyAlertModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertModule, declarations: [SkyAlertComponent], imports: [i1.CommonModule,
|
|
679
|
+
i1$1.SkyI18nModule,
|
|
680
680
|
SkyIconModule,
|
|
681
681
|
SkyIndicatorsResourcesModule,
|
|
682
682
|
i3.SkyThemeModule], exports: [SkyAlertComponent] });
|
|
683
683
|
SkyAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertModule, imports: [[
|
|
684
|
-
i1
|
|
685
|
-
i1.SkyI18nModule,
|
|
684
|
+
i1.CommonModule,
|
|
685
|
+
i1$1.SkyI18nModule,
|
|
686
686
|
SkyIconModule,
|
|
687
687
|
SkyIndicatorsResourcesModule,
|
|
688
688
|
i3.SkyThemeModule,
|
|
@@ -692,8 +692,8 @@
|
|
|
692
692
|
args: [{
|
|
693
693
|
declarations: [SkyAlertComponent],
|
|
694
694
|
imports: [
|
|
695
|
-
i1
|
|
696
|
-
i1.SkyI18nModule,
|
|
695
|
+
i1.CommonModule,
|
|
696
|
+
i1$1.SkyI18nModule,
|
|
697
697
|
SkyIconModule,
|
|
698
698
|
SkyIndicatorsResourcesModule,
|
|
699
699
|
i3.SkyThemeModule,
|
|
@@ -740,6 +740,23 @@
|
|
|
740
740
|
type: i0.Input
|
|
741
741
|
}] } });
|
|
742
742
|
|
|
743
|
+
var SkyExpansionIndicatorModule = /** @class */ (function () {
|
|
744
|
+
function SkyExpansionIndicatorModule() {
|
|
745
|
+
}
|
|
746
|
+
return SkyExpansionIndicatorModule;
|
|
747
|
+
}());
|
|
748
|
+
SkyExpansionIndicatorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
749
|
+
SkyExpansionIndicatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, declarations: [SkyExpansionIndicatorComponent], imports: [i1.CommonModule, i3.SkyThemeModule], exports: [SkyExpansionIndicatorComponent] });
|
|
750
|
+
SkyExpansionIndicatorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, imports: [[i1.CommonModule, i3.SkyThemeModule]] });
|
|
751
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, decorators: [{
|
|
752
|
+
type: i0.NgModule,
|
|
753
|
+
args: [{
|
|
754
|
+
declarations: [SkyExpansionIndicatorComponent],
|
|
755
|
+
imports: [i1.CommonModule, i3.SkyThemeModule],
|
|
756
|
+
exports: [SkyExpansionIndicatorComponent],
|
|
757
|
+
}]
|
|
758
|
+
}] });
|
|
759
|
+
|
|
743
760
|
/**
|
|
744
761
|
* Creates an accessible button that wraps the chevron icon.
|
|
745
762
|
* @internal
|
|
@@ -806,37 +823,20 @@
|
|
|
806
823
|
type: i0.Output
|
|
807
824
|
}] } });
|
|
808
825
|
|
|
809
|
-
var SkyExpansionIndicatorModule = /** @class */ (function () {
|
|
810
|
-
function SkyExpansionIndicatorModule() {
|
|
811
|
-
}
|
|
812
|
-
return SkyExpansionIndicatorModule;
|
|
813
|
-
}());
|
|
814
|
-
SkyExpansionIndicatorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
815
|
-
SkyExpansionIndicatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, declarations: [SkyExpansionIndicatorComponent], imports: [i1$1.CommonModule, i3.SkyThemeModule], exports: [SkyExpansionIndicatorComponent] });
|
|
816
|
-
SkyExpansionIndicatorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, imports: [[i1$1.CommonModule, i3.SkyThemeModule]] });
|
|
817
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, decorators: [{
|
|
818
|
-
type: i0.NgModule,
|
|
819
|
-
args: [{
|
|
820
|
-
declarations: [SkyExpansionIndicatorComponent],
|
|
821
|
-
imports: [i1$1.CommonModule, i3.SkyThemeModule],
|
|
822
|
-
exports: [SkyExpansionIndicatorComponent],
|
|
823
|
-
}]
|
|
824
|
-
}] });
|
|
825
|
-
|
|
826
826
|
var SkyChevronModule = /** @class */ (function () {
|
|
827
827
|
function SkyChevronModule() {
|
|
828
828
|
}
|
|
829
829
|
return SkyChevronModule;
|
|
830
830
|
}());
|
|
831
831
|
SkyChevronModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
832
|
-
SkyChevronModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronModule, declarations: [SkyChevronComponent], imports: [i1
|
|
833
|
-
i1.SkyI18nModule,
|
|
832
|
+
SkyChevronModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronModule, declarations: [SkyChevronComponent], imports: [i1.CommonModule,
|
|
833
|
+
i1$1.SkyI18nModule,
|
|
834
834
|
SkyIndicatorsResourcesModule,
|
|
835
835
|
i3.SkyThemeModule,
|
|
836
836
|
SkyExpansionIndicatorModule], exports: [SkyChevronComponent] });
|
|
837
837
|
SkyChevronModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronModule, imports: [[
|
|
838
|
-
i1
|
|
839
|
-
i1.SkyI18nModule,
|
|
838
|
+
i1.CommonModule,
|
|
839
|
+
i1$1.SkyI18nModule,
|
|
840
840
|
SkyIndicatorsResourcesModule,
|
|
841
841
|
i3.SkyThemeModule,
|
|
842
842
|
SkyExpansionIndicatorModule,
|
|
@@ -846,8 +846,8 @@
|
|
|
846
846
|
args: [{
|
|
847
847
|
declarations: [SkyChevronComponent],
|
|
848
848
|
imports: [
|
|
849
|
-
i1
|
|
850
|
-
i1.SkyI18nModule,
|
|
849
|
+
i1.CommonModule,
|
|
850
|
+
i1$1.SkyI18nModule,
|
|
851
851
|
SkyIndicatorsResourcesModule,
|
|
852
852
|
i3.SkyThemeModule,
|
|
853
853
|
SkyExpansionIndicatorModule,
|
|
@@ -887,14 +887,14 @@
|
|
|
887
887
|
return SkyHelpInlineModule;
|
|
888
888
|
}());
|
|
889
889
|
SkyHelpInlineModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
890
|
-
SkyHelpInlineModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineModule, declarations: [SkyHelpInlineComponent], imports: [i1
|
|
891
|
-
i1.SkyI18nModule,
|
|
890
|
+
SkyHelpInlineModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineModule, declarations: [SkyHelpInlineComponent], imports: [i1.CommonModule,
|
|
891
|
+
i1$1.SkyI18nModule,
|
|
892
892
|
SkyIconModule,
|
|
893
893
|
SkyIndicatorsResourcesModule,
|
|
894
894
|
i3.SkyThemeModule], exports: [SkyHelpInlineComponent] });
|
|
895
895
|
SkyHelpInlineModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineModule, imports: [[
|
|
896
|
-
i1
|
|
897
|
-
i1.SkyI18nModule,
|
|
896
|
+
i1.CommonModule,
|
|
897
|
+
i1$1.SkyI18nModule,
|
|
898
898
|
SkyIconModule,
|
|
899
899
|
SkyIndicatorsResourcesModule,
|
|
900
900
|
i3.SkyThemeModule,
|
|
@@ -904,8 +904,8 @@
|
|
|
904
904
|
args: [{
|
|
905
905
|
declarations: [SkyHelpInlineComponent],
|
|
906
906
|
imports: [
|
|
907
|
-
i1
|
|
908
|
-
i1.SkyI18nModule,
|
|
907
|
+
i1.CommonModule,
|
|
908
|
+
i1$1.SkyI18nModule,
|
|
909
909
|
SkyIconModule,
|
|
910
910
|
SkyIndicatorsResourcesModule,
|
|
911
911
|
i3.SkyThemeModule,
|
|
@@ -984,10 +984,10 @@
|
|
|
984
984
|
SkyKeyInfoModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
985
985
|
SkyKeyInfoModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoModule, declarations: [SkyKeyInfoComponent,
|
|
986
986
|
SkyKeyInfoLabelComponent,
|
|
987
|
-
SkyKeyInfoValueComponent], imports: [i1
|
|
987
|
+
SkyKeyInfoValueComponent], imports: [i1.CommonModule], exports: [SkyKeyInfoComponent,
|
|
988
988
|
SkyKeyInfoLabelComponent,
|
|
989
989
|
SkyKeyInfoValueComponent] });
|
|
990
|
-
SkyKeyInfoModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoModule, imports: [[i1
|
|
990
|
+
SkyKeyInfoModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoModule, imports: [[i1.CommonModule]] });
|
|
991
991
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoModule, decorators: [{
|
|
992
992
|
type: i0.NgModule,
|
|
993
993
|
args: [{
|
|
@@ -996,7 +996,7 @@
|
|
|
996
996
|
SkyKeyInfoLabelComponent,
|
|
997
997
|
SkyKeyInfoValueComponent,
|
|
998
998
|
],
|
|
999
|
-
imports: [i1
|
|
999
|
+
imports: [i1.CommonModule],
|
|
1000
1000
|
exports: [
|
|
1001
1001
|
SkyKeyInfoComponent,
|
|
1002
1002
|
SkyKeyInfoLabelComponent,
|
|
@@ -1050,13 +1050,13 @@
|
|
|
1050
1050
|
return SkyLabelModule;
|
|
1051
1051
|
}());
|
|
1052
1052
|
SkyLabelModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1053
|
-
SkyLabelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, declarations: [SkyLabelComponent], imports: [i1
|
|
1054
|
-
SkyLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, imports: [[i1
|
|
1053
|
+
SkyLabelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, declarations: [SkyLabelComponent], imports: [i1.CommonModule, SkyIconModule], exports: [SkyLabelComponent] });
|
|
1054
|
+
SkyLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, imports: [[i1.CommonModule, SkyIconModule]] });
|
|
1055
1055
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, decorators: [{
|
|
1056
1056
|
type: i0.NgModule,
|
|
1057
1057
|
args: [{
|
|
1058
1058
|
declarations: [SkyLabelComponent],
|
|
1059
|
-
imports: [i1
|
|
1059
|
+
imports: [i1.CommonModule, SkyIconModule],
|
|
1060
1060
|
exports: [SkyLabelComponent],
|
|
1061
1061
|
}]
|
|
1062
1062
|
}] });
|
|
@@ -1172,13 +1172,13 @@
|
|
|
1172
1172
|
return SkyStatusIndicatorModule;
|
|
1173
1173
|
}());
|
|
1174
1174
|
SkyStatusIndicatorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1175
|
-
SkyStatusIndicatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorModule, declarations: [SkyStatusIndicatorComponent], imports: [i1
|
|
1176
|
-
i1.SkyI18nModule,
|
|
1175
|
+
SkyStatusIndicatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorModule, declarations: [SkyStatusIndicatorComponent], imports: [i1.CommonModule,
|
|
1176
|
+
i1$1.SkyI18nModule,
|
|
1177
1177
|
SkyIconModule,
|
|
1178
1178
|
SkyIndicatorsResourcesModule], exports: [SkyStatusIndicatorComponent] });
|
|
1179
1179
|
SkyStatusIndicatorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorModule, imports: [[
|
|
1180
|
-
i1
|
|
1181
|
-
i1.SkyI18nModule,
|
|
1180
|
+
i1.CommonModule,
|
|
1181
|
+
i1$1.SkyI18nModule,
|
|
1182
1182
|
SkyIconModule,
|
|
1183
1183
|
SkyIndicatorsResourcesModule,
|
|
1184
1184
|
]] });
|
|
@@ -1187,8 +1187,8 @@
|
|
|
1187
1187
|
args: [{
|
|
1188
1188
|
declarations: [SkyStatusIndicatorComponent],
|
|
1189
1189
|
imports: [
|
|
1190
|
-
i1
|
|
1191
|
-
i1.SkyI18nModule,
|
|
1190
|
+
i1.CommonModule,
|
|
1191
|
+
i1$1.SkyI18nModule,
|
|
1192
1192
|
SkyIconModule,
|
|
1193
1193
|
SkyIndicatorsResourcesModule,
|
|
1194
1194
|
],
|
|
@@ -1233,61 +1233,8 @@
|
|
|
1233
1233
|
enumerable: false,
|
|
1234
1234
|
configurable: true
|
|
1235
1235
|
});
|
|
1236
|
-
SkyTextHighlightDirective.prototype.ngOnChanges = function (changes) {
|
|
1237
|
-
if (changes.skyHighlight && !changes.skyHighlight.firstChange) {
|
|
1238
|
-
this.highlight();
|
|
1239
|
-
}
|
|
1240
|
-
};
|
|
1241
|
-
SkyTextHighlightDirective.prototype.ngAfterViewInit = function () {
|
|
1242
|
-
var self = this;
|
|
1243
|
-
this.observer = this.observerService.create(function (mutations) {
|
|
1244
|
-
self.highlight();
|
|
1245
|
-
});
|
|
1246
|
-
this.observeDom();
|
|
1247
|
-
if (this._skyHighlight && this._skyHighlight.length > 0) {
|
|
1248
|
-
this.highlight();
|
|
1249
|
-
}
|
|
1250
|
-
};
|
|
1251
|
-
SkyTextHighlightDirective.prototype.ngOnDestroy = function () {
|
|
1252
|
-
/* istanbul ignore else */
|
|
1253
|
-
if (this.observer) {
|
|
1254
|
-
this.observer.disconnect();
|
|
1255
|
-
}
|
|
1256
|
-
};
|
|
1257
|
-
SkyTextHighlightDirective.prototype.readyForHighlight = function (searchText) {
|
|
1258
|
-
return searchText && searchText.length > 0 && this.el.nativeElement;
|
|
1259
|
-
};
|
|
1260
|
-
SkyTextHighlightDirective.prototype.highlight = function () {
|
|
1261
|
-
/* istanbul ignore else */
|
|
1262
|
-
if (this.observer) {
|
|
1263
|
-
this.observer.disconnect();
|
|
1264
|
-
}
|
|
1265
|
-
var searchText = this._skyHighlight;
|
|
1266
|
-
if (this.existingHighlight) {
|
|
1267
|
-
SkyTextHighlightDirective.removeHighlight(this.el);
|
|
1268
|
-
}
|
|
1269
|
-
/* istanbul ignore else */
|
|
1270
|
-
if (this.readyForHighlight(searchText)) {
|
|
1271
|
-
var node = this.el.nativeElement;
|
|
1272
|
-
// mark all matched text in the DOM
|
|
1273
|
-
SkyTextHighlightDirective.markTextNodes(node, searchText);
|
|
1274
|
-
this.existingHighlight = true;
|
|
1275
|
-
}
|
|
1276
|
-
this.observeDom();
|
|
1277
|
-
};
|
|
1278
|
-
SkyTextHighlightDirective.prototype.observeDom = function () {
|
|
1279
|
-
/* istanbul ignore else */
|
|
1280
|
-
if (this.observer) {
|
|
1281
|
-
var config = {
|
|
1282
|
-
attributes: false,
|
|
1283
|
-
childList: true,
|
|
1284
|
-
characterData: true,
|
|
1285
|
-
};
|
|
1286
|
-
this.observer.observe(this.el.nativeElement, config);
|
|
1287
|
-
}
|
|
1288
|
-
};
|
|
1289
1236
|
SkyTextHighlightDirective.cleanRegex = function (regex) {
|
|
1290
|
-
return regex.replace(/[
|
|
1237
|
+
return regex.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&');
|
|
1291
1238
|
};
|
|
1292
1239
|
SkyTextHighlightDirective.markNode = function (node, searchTerms) {
|
|
1293
1240
|
/* istanbul ignore else */
|
|
@@ -1338,6 +1285,59 @@
|
|
|
1338
1285
|
}
|
|
1339
1286
|
}
|
|
1340
1287
|
};
|
|
1288
|
+
SkyTextHighlightDirective.prototype.ngOnChanges = function (changes) {
|
|
1289
|
+
if (changes.skyHighlight && !changes.skyHighlight.firstChange) {
|
|
1290
|
+
this.highlight();
|
|
1291
|
+
}
|
|
1292
|
+
};
|
|
1293
|
+
SkyTextHighlightDirective.prototype.ngAfterViewInit = function () {
|
|
1294
|
+
var _this = this;
|
|
1295
|
+
this.observer = this.observerService.create(function () {
|
|
1296
|
+
_this.highlight();
|
|
1297
|
+
});
|
|
1298
|
+
this.observeDom();
|
|
1299
|
+
if (this._skyHighlight && this._skyHighlight.length > 0) {
|
|
1300
|
+
this.highlight();
|
|
1301
|
+
}
|
|
1302
|
+
};
|
|
1303
|
+
SkyTextHighlightDirective.prototype.ngOnDestroy = function () {
|
|
1304
|
+
/* istanbul ignore else */
|
|
1305
|
+
if (this.observer) {
|
|
1306
|
+
this.observer.disconnect();
|
|
1307
|
+
}
|
|
1308
|
+
};
|
|
1309
|
+
SkyTextHighlightDirective.prototype.readyForHighlight = function (searchText) {
|
|
1310
|
+
return searchText && searchText.length > 0 && this.el.nativeElement;
|
|
1311
|
+
};
|
|
1312
|
+
SkyTextHighlightDirective.prototype.highlight = function () {
|
|
1313
|
+
/* istanbul ignore else */
|
|
1314
|
+
if (this.observer) {
|
|
1315
|
+
this.observer.disconnect();
|
|
1316
|
+
}
|
|
1317
|
+
var searchText = this._skyHighlight;
|
|
1318
|
+
if (this.existingHighlight) {
|
|
1319
|
+
SkyTextHighlightDirective.removeHighlight(this.el);
|
|
1320
|
+
}
|
|
1321
|
+
/* istanbul ignore else */
|
|
1322
|
+
if (this.readyForHighlight(searchText)) {
|
|
1323
|
+
var node = this.el.nativeElement;
|
|
1324
|
+
// mark all matched text in the DOM
|
|
1325
|
+
SkyTextHighlightDirective.markTextNodes(node, searchText);
|
|
1326
|
+
this.existingHighlight = true;
|
|
1327
|
+
}
|
|
1328
|
+
this.observeDom();
|
|
1329
|
+
};
|
|
1330
|
+
SkyTextHighlightDirective.prototype.observeDom = function () {
|
|
1331
|
+
/* istanbul ignore else */
|
|
1332
|
+
if (this.observer) {
|
|
1333
|
+
var config = {
|
|
1334
|
+
attributes: false,
|
|
1335
|
+
childList: true,
|
|
1336
|
+
characterData: true,
|
|
1337
|
+
};
|
|
1338
|
+
this.observer.observe(this.el.nativeElement, config);
|
|
1339
|
+
}
|
|
1340
|
+
};
|
|
1341
1341
|
return SkyTextHighlightDirective;
|
|
1342
1342
|
}());
|
|
1343
1343
|
SkyTextHighlightDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextHighlightDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i1__namespace$2.MutationObserverService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
@@ -1852,13 +1852,13 @@
|
|
|
1852
1852
|
return SkyTokensModule;
|
|
1853
1853
|
}());
|
|
1854
1854
|
SkyTokensModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1855
|
-
SkyTokensModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensModule, declarations: [SkyTokenComponent, SkyTokensComponent], imports: [i1
|
|
1856
|
-
i1.SkyI18nModule,
|
|
1855
|
+
SkyTokensModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensModule, declarations: [SkyTokenComponent, SkyTokensComponent], imports: [i1.CommonModule,
|
|
1856
|
+
i1$1.SkyI18nModule,
|
|
1857
1857
|
SkyIconModule,
|
|
1858
1858
|
SkyIndicatorsResourcesModule], exports: [SkyTokenComponent, SkyTokensComponent] });
|
|
1859
1859
|
SkyTokensModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensModule, imports: [[
|
|
1860
|
-
i1
|
|
1861
|
-
i1.SkyI18nModule,
|
|
1860
|
+
i1.CommonModule,
|
|
1861
|
+
i1$1.SkyI18nModule,
|
|
1862
1862
|
SkyIconModule,
|
|
1863
1863
|
SkyIndicatorsResourcesModule,
|
|
1864
1864
|
]] });
|
|
@@ -1867,8 +1867,8 @@
|
|
|
1867
1867
|
args: [{
|
|
1868
1868
|
declarations: [SkyTokenComponent, SkyTokensComponent],
|
|
1869
1869
|
imports: [
|
|
1870
|
-
i1
|
|
1871
|
-
i1.SkyI18nModule,
|
|
1870
|
+
i1.CommonModule,
|
|
1871
|
+
i1$1.SkyI18nModule,
|
|
1872
1872
|
SkyIconModule,
|
|
1873
1873
|
SkyIndicatorsResourcesModule,
|
|
1874
1874
|
],
|
|
@@ -2228,13 +2228,13 @@
|
|
|
2228
2228
|
return SkyWaitModule;
|
|
2229
2229
|
}());
|
|
2230
2230
|
SkyWaitModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2231
|
-
SkyWaitModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, declarations: [SkyWaitComponent, SkyWaitPageComponent], imports: [i1
|
|
2232
|
-
SkyWaitModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, imports: [[i1
|
|
2231
|
+
SkyWaitModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, declarations: [SkyWaitComponent, SkyWaitPageComponent], imports: [i1.CommonModule, i1$1.SkyI18nModule, SkyIndicatorsResourcesModule], exports: [SkyWaitComponent] });
|
|
2232
|
+
SkyWaitModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, imports: [[i1.CommonModule, i1$1.SkyI18nModule, SkyIndicatorsResourcesModule]] });
|
|
2233
2233
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, decorators: [{
|
|
2234
2234
|
type: i0.NgModule,
|
|
2235
2235
|
args: [{
|
|
2236
2236
|
declarations: [SkyWaitComponent, SkyWaitPageComponent],
|
|
2237
|
-
imports: [i1
|
|
2237
|
+
imports: [i1.CommonModule, i1$1.SkyI18nModule, SkyIndicatorsResourcesModule],
|
|
2238
2238
|
exports: [SkyWaitComponent],
|
|
2239
2239
|
entryComponents: [SkyWaitPageComponent],
|
|
2240
2240
|
}]
|