@skyux/action-bars 5.5.0 → 5.6.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/bundles/skyux-action-bars.umd.js +252 -252
- package/documentation.json +26 -26
- package/esm2015/lib/modules/shared/sky-action-bars-resources.module.js +1 -1
- package/esm2015/lib/modules/shared/sky-action-bars-resources.module.js.map +1 -1
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-actions.component.js +1 -1
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-actions.component.js.map +1 -1
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-cancel.component.js +1 -1
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-cancel.component.js.map +1 -1
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-primary-action.component.js +1 -1
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-primary-action.component.js.map +1 -1
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-action.component.js +1 -1
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-action.component.js.map +1 -1
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-actions.component.js +2 -2
- package/esm2015/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-actions.component.js.map +1 -1
- package/esm2015/lib/modules/summary-action-bar/summary/summary-action-bar-summary.component.js +1 -1
- package/esm2015/lib/modules/summary-action-bar/summary/summary-action-bar-summary.component.js.map +1 -1
- package/esm2015/lib/modules/summary-action-bar/summary-action-bar-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/summary-action-bar/summary-action-bar.component.js +5 -5
- package/esm2015/lib/modules/summary-action-bar/summary-action-bar.component.js.map +1 -1
- package/esm2015/lib/modules/summary-action-bar/summary-action-bar.module.js +2 -2
- package/esm2015/lib/modules/summary-action-bar/summary-action-bar.module.js.map +1 -1
- package/esm2015/testing/summary-action-bar/summary-action-bar-fixture.js.map +1 -1
- package/esm2015/testing/summary-action-bar/summary-action-bar.module.js.map +1 -1
- package/fesm2015/skyux-action-bars-testing.js.map +1 -1
- package/fesm2015/skyux-action-bars.js +213 -213
- package/fesm2015/skyux-action-bars.js.map +1 -1
- package/lib/modules/summary-action-bar/actions/summary-action-bar-secondary-actions.component.d.ts +1 -1
- package/lib/modules/summary-action-bar/summary-action-bar.component.d.ts +2 -2
- package/package.json +6 -6
|
@@ -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/action-bars', ['exports', '@angular/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux["action-bars"] = {}), global.ng.
|
|
5
|
-
})(this, (function (exports, i0, i4,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@skyux/i18n'), require('@skyux/indicators'), require('@skyux/popovers'), require('@skyux/theme'), require('@skyux/core'), require('rxjs'), require('@skyux/animations'), require('rxjs/operators')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@skyux/action-bars', ['exports', '@angular/common', '@angular/core', '@skyux/i18n', '@skyux/indicators', '@skyux/popovers', '@skyux/theme', '@skyux/core', 'rxjs', '@skyux/animations', 'rxjs/operators'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux["action-bars"] = {}), global.ng.common, global.ng.core, global.i4, global.i3$1, global.i2, global.i3, global.i2$1, global.rxjs, global.animations, global.rxjs.operators));
|
|
5
|
+
})(this, (function (exports, i4$1, i0, i4, i3$1, i2, i3, i2$1, rxjs, animations, operators) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
return Object.freeze(n);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4$1);
|
|
25
26
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
27
|
-
var
|
|
27
|
+
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4);
|
|
28
|
+
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
29
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
28
30
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
29
31
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
30
|
-
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
31
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
function SkyActionBarsResourcesProvider() {
|
|
49
49
|
}
|
|
50
50
|
SkyActionBarsResourcesProvider.prototype.getString = function (localeInfo, name) {
|
|
51
|
-
return
|
|
51
|
+
return i4.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
52
52
|
};
|
|
53
53
|
return SkyActionBarsResourcesProvider;
|
|
54
54
|
}());
|
|
@@ -61,21 +61,21 @@
|
|
|
61
61
|
return SkyActionBarsResourcesModule;
|
|
62
62
|
}());
|
|
63
63
|
SkyActionBarsResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
64
|
-
SkyActionBarsResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, exports: [
|
|
64
|
+
SkyActionBarsResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, exports: [i4.SkyI18nModule] });
|
|
65
65
|
SkyActionBarsResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, providers: [
|
|
66
66
|
{
|
|
67
|
-
provide:
|
|
67
|
+
provide: i4.SKY_LIB_RESOURCES_PROVIDERS,
|
|
68
68
|
useClass: SkyActionBarsResourcesProvider,
|
|
69
69
|
multi: true,
|
|
70
70
|
},
|
|
71
|
-
], imports: [
|
|
71
|
+
], imports: [i4.SkyI18nModule] });
|
|
72
72
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionBarsResourcesModule, decorators: [{
|
|
73
73
|
type: i0.NgModule,
|
|
74
74
|
args: [{
|
|
75
|
-
exports: [
|
|
75
|
+
exports: [i4.SkyI18nModule],
|
|
76
76
|
providers: [
|
|
77
77
|
{
|
|
78
|
-
provide:
|
|
78
|
+
provide: i4.SKY_LIB_RESOURCES_PROVIDERS,
|
|
79
79
|
useClass: SkyActionBarsResourcesProvider,
|
|
80
80
|
multi: true,
|
|
81
81
|
},
|
|
@@ -84,24 +84,210 @@
|
|
|
84
84
|
}] });
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Contains actions for the `sky-summary-action-bar` component.
|
|
88
88
|
*/
|
|
89
|
-
var
|
|
90
|
-
function
|
|
89
|
+
var SkySummaryActionBarActionsComponent = /** @class */ (function () {
|
|
90
|
+
function SkySummaryActionBarActionsComponent() {
|
|
91
91
|
}
|
|
92
|
-
return
|
|
92
|
+
return SkySummaryActionBarActionsComponent;
|
|
93
93
|
}());
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type:
|
|
94
|
+
SkySummaryActionBarActionsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarActionsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
95
|
+
SkySummaryActionBarActionsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarActionsComponent, selector: "sky-summary-action-bar-actions", ngImport: i0__namespace, template: "<ng-content></ng-content>\n", styles: [":host{display:inline-flex}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
96
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarActionsComponent, decorators: [{
|
|
97
97
|
type: i0.Component,
|
|
98
98
|
args: [{
|
|
99
|
-
selector: 'sky-summary-action-bar-
|
|
99
|
+
selector: 'sky-summary-action-bar-actions',
|
|
100
100
|
template: "<ng-content></ng-content>\n",
|
|
101
|
+
styles: [":host{display:inline-flex}\n"],
|
|
101
102
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
102
103
|
}]
|
|
103
104
|
}] });
|
|
104
105
|
|
|
106
|
+
/**
|
|
107
|
+
* Displays a cancel action.
|
|
108
|
+
*/
|
|
109
|
+
var SkySummaryActionBarCancelComponent = /** @class */ (function () {
|
|
110
|
+
function SkySummaryActionBarCancelComponent() {
|
|
111
|
+
/**
|
|
112
|
+
* Indicates whether to disable the cancel action.
|
|
113
|
+
*/
|
|
114
|
+
this.disabled = false;
|
|
115
|
+
/**
|
|
116
|
+
* Fires when users select the cancel action.
|
|
117
|
+
*/
|
|
118
|
+
this.actionClick = new i0.EventEmitter();
|
|
119
|
+
}
|
|
120
|
+
SkySummaryActionBarCancelComponent.prototype.onCancelClicked = function () {
|
|
121
|
+
this.actionClick.emit();
|
|
122
|
+
};
|
|
123
|
+
return SkySummaryActionBarCancelComponent;
|
|
124
|
+
}());
|
|
125
|
+
SkySummaryActionBarCancelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarCancelComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
126
|
+
SkySummaryActionBarCancelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarCancelComponent, selector: "sky-summary-action-bar-cancel", inputs: { disabled: "disabled" }, outputs: { actionClick: "actionClick" }, ngImport: i0__namespace, template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-link sky-summary-action-bar-cancel\"\n [disabled]=\"disabled\"\n (click)=\"onCancelClicked()\"\n>\n <ng-content></ng-content>\n</button>\n", styles: ["::ng-deep .sky-modal .sky-modal-footer-container button.sky-btn-link:first-child{margin-left:initial}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
127
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarCancelComponent, decorators: [{
|
|
128
|
+
type: i0.Component,
|
|
129
|
+
args: [{
|
|
130
|
+
selector: 'sky-summary-action-bar-cancel',
|
|
131
|
+
template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-link sky-summary-action-bar-cancel\"\n [disabled]=\"disabled\"\n (click)=\"onCancelClicked()\"\n>\n <ng-content></ng-content>\n</button>\n",
|
|
132
|
+
styles: ["::ng-deep .sky-modal .sky-modal-footer-container button.sky-btn-link:first-child{margin-left:initial}\n"],
|
|
133
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
134
|
+
}]
|
|
135
|
+
}], propDecorators: { disabled: [{
|
|
136
|
+
type: i0.Input
|
|
137
|
+
}], actionClick: [{
|
|
138
|
+
type: i0.Output
|
|
139
|
+
}] } });
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Displays a primary button.
|
|
143
|
+
*/
|
|
144
|
+
var SkySummaryActionBarPrimaryActionComponent = /** @class */ (function () {
|
|
145
|
+
function SkySummaryActionBarPrimaryActionComponent() {
|
|
146
|
+
/**
|
|
147
|
+
* Indicates whether to disable the primary action.
|
|
148
|
+
* @default false
|
|
149
|
+
*/
|
|
150
|
+
this.disabled = false;
|
|
151
|
+
/**
|
|
152
|
+
* Fires when users select the primary action.
|
|
153
|
+
*/
|
|
154
|
+
this.actionClick = new i0.EventEmitter();
|
|
155
|
+
}
|
|
156
|
+
SkySummaryActionBarPrimaryActionComponent.prototype.onButtonClicked = function () {
|
|
157
|
+
this.actionClick.emit();
|
|
158
|
+
};
|
|
159
|
+
return SkySummaryActionBarPrimaryActionComponent;
|
|
160
|
+
}());
|
|
161
|
+
SkySummaryActionBarPrimaryActionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarPrimaryActionComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
162
|
+
SkySummaryActionBarPrimaryActionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarPrimaryActionComponent, selector: "sky-summary-action-bar-primary-action", inputs: { disabled: "disabled" }, outputs: { actionClick: "actionClick" }, ngImport: i0__namespace, template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-primary\"\n [disabled]=\"disabled\"\n (click)=\"onButtonClicked()\"\n>\n <ng-content></ng-content>\n</button>\n", styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
163
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarPrimaryActionComponent, decorators: [{
|
|
164
|
+
type: i0.Component,
|
|
165
|
+
args: [{
|
|
166
|
+
selector: 'sky-summary-action-bar-primary-action',
|
|
167
|
+
template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-primary\"\n [disabled]=\"disabled\"\n (click)=\"onButtonClicked()\"\n>\n <ng-content></ng-content>\n</button>\n",
|
|
168
|
+
styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"],
|
|
169
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
170
|
+
}]
|
|
171
|
+
}], propDecorators: { disabled: [{
|
|
172
|
+
type: i0.Input
|
|
173
|
+
}], actionClick: [{
|
|
174
|
+
type: i0.Output
|
|
175
|
+
}] } });
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Specifies secondary actions.
|
|
179
|
+
*/
|
|
180
|
+
var SkySummaryActionBarSecondaryActionComponent = /** @class */ (function () {
|
|
181
|
+
function SkySummaryActionBarSecondaryActionComponent(changeDetector) {
|
|
182
|
+
this.changeDetector = changeDetector;
|
|
183
|
+
/**
|
|
184
|
+
* Indicates whether to disable a secondary action.
|
|
185
|
+
* @default false
|
|
186
|
+
*/
|
|
187
|
+
this.disabled = false;
|
|
188
|
+
/**
|
|
189
|
+
* Fires when users select a secondary action.
|
|
190
|
+
*/
|
|
191
|
+
this.actionClick = new i0.EventEmitter();
|
|
192
|
+
}
|
|
193
|
+
Object.defineProperty(SkySummaryActionBarSecondaryActionComponent.prototype, "isDropdown", {
|
|
194
|
+
get: function () {
|
|
195
|
+
return this._isDropdown;
|
|
196
|
+
},
|
|
197
|
+
set: function (value) {
|
|
198
|
+
this._isDropdown = value;
|
|
199
|
+
this.changeDetector.detectChanges();
|
|
200
|
+
},
|
|
201
|
+
enumerable: false,
|
|
202
|
+
configurable: true
|
|
203
|
+
});
|
|
204
|
+
SkySummaryActionBarSecondaryActionComponent.prototype.onButtonClicked = function () {
|
|
205
|
+
this.actionClick.emit();
|
|
206
|
+
};
|
|
207
|
+
return SkySummaryActionBarSecondaryActionComponent;
|
|
208
|
+
}());
|
|
209
|
+
SkySummaryActionBarSecondaryActionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSecondaryActionComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
210
|
+
SkySummaryActionBarSecondaryActionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarSecondaryActionComponent, selector: "sky-summary-action-bar-secondary-action", inputs: { disabled: "disabled" }, outputs: { actionClick: "actionClick" }, ngImport: i0__namespace, template: "<ng-container *ngIf=\"!isDropdown\">\n <button\n type=\"button\"\n class=\"sky-btn\"\n role=\"menuitem\"\n [disabled]=\"disabled\"\n [skyThemeClass]=\"{\n 'sky-btn-secondary': 'default',\n 'sky-btn-default': 'modern'\n }\"\n (click)=\"onButtonClicked()\"\n >\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</ng-container>\n<sky-dropdown-item *ngIf=\"isDropdown\">\n <button type=\"button\" [disabled]=\"disabled\" (click)=\"onButtonClicked()\">\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</sky-dropdown-item>\n\n<ng-template #summaryActionBarSecondaryAction>\n <ng-content></ng-content>\n</ng-template>\n", styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"], components: [{ type: i2__namespace.λ1, selector: "sky-dropdown-item", inputs: ["ariaRole"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
211
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSecondaryActionComponent, decorators: [{
|
|
212
|
+
type: i0.Component,
|
|
213
|
+
args: [{
|
|
214
|
+
selector: 'sky-summary-action-bar-secondary-action',
|
|
215
|
+
template: "<ng-container *ngIf=\"!isDropdown\">\n <button\n type=\"button\"\n class=\"sky-btn\"\n role=\"menuitem\"\n [disabled]=\"disabled\"\n [skyThemeClass]=\"{\n 'sky-btn-secondary': 'default',\n 'sky-btn-default': 'modern'\n }\"\n (click)=\"onButtonClicked()\"\n >\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</ng-container>\n<sky-dropdown-item *ngIf=\"isDropdown\">\n <button type=\"button\" [disabled]=\"disabled\" (click)=\"onButtonClicked()\">\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</sky-dropdown-item>\n\n<ng-template #summaryActionBarSecondaryAction>\n <ng-content></ng-content>\n</ng-template>\n",
|
|
216
|
+
styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"],
|
|
217
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
218
|
+
}]
|
|
219
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { disabled: [{
|
|
220
|
+
type: i0.Input
|
|
221
|
+
}], actionClick: [{
|
|
222
|
+
type: i0.Output
|
|
223
|
+
}] } });
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Contains secondary actions specified with `sky-summary-action-bar-secondary-action`
|
|
227
|
+
* components.
|
|
228
|
+
*/
|
|
229
|
+
var SkySummaryActionBarSecondaryActionsComponent = /** @class */ (function () {
|
|
230
|
+
function SkySummaryActionBarSecondaryActionsComponent(changeDetector, mediaQueryService) {
|
|
231
|
+
this.changeDetector = changeDetector;
|
|
232
|
+
this.mediaQueryService = mediaQueryService;
|
|
233
|
+
this.isMobile = false;
|
|
234
|
+
this.dropdownMessageStream = new rxjs.Subject();
|
|
235
|
+
this.actionClicks = [];
|
|
236
|
+
}
|
|
237
|
+
SkySummaryActionBarSecondaryActionsComponent.prototype.ngAfterContentInit = function () {
|
|
238
|
+
var _this = this;
|
|
239
|
+
this.mediaQuerySubscription = this.mediaQueryService.subscribe(function (args) {
|
|
240
|
+
_this.isMobile = args === i2$1.SkyMediaBreakpoints.xs;
|
|
241
|
+
_this.checkAndUpdateChildrenType();
|
|
242
|
+
});
|
|
243
|
+
this.actionChanges = this.secondaryActionComponents.changes.subscribe(function () {
|
|
244
|
+
_this.checkAndUpdateChildrenType();
|
|
245
|
+
});
|
|
246
|
+
if (this.mediaQueryService.current === i2$1.SkyMediaBreakpoints.xs) {
|
|
247
|
+
this.isMobile = true;
|
|
248
|
+
}
|
|
249
|
+
this.checkAndUpdateChildrenType();
|
|
250
|
+
};
|
|
251
|
+
SkySummaryActionBarSecondaryActionsComponent.prototype.ngOnDestroy = function () {
|
|
252
|
+
this.mediaQuerySubscription.unsubscribe();
|
|
253
|
+
this.actionChanges.unsubscribe();
|
|
254
|
+
this.actionClicks.forEach(function (actionClick) { return actionClick.unsubscribe(); });
|
|
255
|
+
};
|
|
256
|
+
SkySummaryActionBarSecondaryActionsComponent.prototype.checkAndUpdateChildrenType = function () {
|
|
257
|
+
var _this = this;
|
|
258
|
+
/* istanbul ignore else */
|
|
259
|
+
if (this.secondaryActionComponents) {
|
|
260
|
+
var isDropdown_1 = false;
|
|
261
|
+
if (this.secondaryActionComponents.length >= 5 || this.isMobile) {
|
|
262
|
+
isDropdown_1 = true;
|
|
263
|
+
}
|
|
264
|
+
this.secondaryActionComponents.forEach(function (action) {
|
|
265
|
+
action.isDropdown = isDropdown_1;
|
|
266
|
+
_this.actionClicks.push(action.actionClick.subscribe(function () {
|
|
267
|
+
_this.dropdownMessageStream.next({
|
|
268
|
+
type: i2.SkyDropdownMessageType.Close,
|
|
269
|
+
});
|
|
270
|
+
}));
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
this.changeDetector.detectChanges();
|
|
274
|
+
};
|
|
275
|
+
return SkySummaryActionBarSecondaryActionsComponent;
|
|
276
|
+
}());
|
|
277
|
+
SkySummaryActionBarSecondaryActionsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSecondaryActionsComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace$1.SkyMediaQueryService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
278
|
+
SkySummaryActionBarSecondaryActionsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarSecondaryActionsComponent, selector: "sky-summary-action-bar-secondary-actions", queries: [{ propertyName: "secondaryActionComponents", predicate: SkySummaryActionBarSecondaryActionComponent }], ngImport: i0__namespace, template: "<div\n *ngIf=\"!isMobile && secondaryActionComponents.length < 5\"\n class=\"sky-summary-action-bar-secondary-buttons\"\n role=\"menubar\"\n>\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryActions\"\n ></ng-container>\n</div>\n<div *ngIf=\"isMobile || secondaryActionComponents.length > 4\">\n <sky-dropdown\n buttonType=\"ellipsis-h\"\n [attr.title]=\"'skyux_summary_action_bar_open_secondary' | skyLibResources\"\n [messageStream]=\"dropdownMessageStream\"\n >\n <sky-dropdown-menu>\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryActions\"\n ></ng-container>\n </sky-dropdown-menu>\n </sky-dropdown>\n</div>\n<ng-template #summaryActionBarSecondaryActions>\n <ng-content select=\"sky-summary-action-bar-secondary-action\"></ng-content>\n</ng-template>\n", components: [{ type: i2__namespace.λ3, selector: "sky-dropdown", inputs: ["buttonStyle", "buttonType", "disabled", "dismissOnBlur", "label", "horizontalAlignment", "messageStream", "title", "trigger"] }, { type: i2__namespace.λ4, selector: "sky-dropdown-menu", inputs: ["ariaLabelledBy", "ariaRole", "useNativeFocus"], outputs: ["menuChanges"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "skyLibResources": i4__namespace$1.SkyLibResourcesPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
279
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSecondaryActionsComponent, decorators: [{
|
|
280
|
+
type: i0.Component,
|
|
281
|
+
args: [{
|
|
282
|
+
selector: 'sky-summary-action-bar-secondary-actions',
|
|
283
|
+
template: "<div\n *ngIf=\"!isMobile && secondaryActionComponents.length < 5\"\n class=\"sky-summary-action-bar-secondary-buttons\"\n role=\"menubar\"\n>\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryActions\"\n ></ng-container>\n</div>\n<div *ngIf=\"isMobile || secondaryActionComponents.length > 4\">\n <sky-dropdown\n buttonType=\"ellipsis-h\"\n [attr.title]=\"'skyux_summary_action_bar_open_secondary' | skyLibResources\"\n [messageStream]=\"dropdownMessageStream\"\n >\n <sky-dropdown-menu>\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryActions\"\n ></ng-container>\n </sky-dropdown-menu>\n </sky-dropdown>\n</div>\n<ng-template #summaryActionBarSecondaryActions>\n <ng-content select=\"sky-summary-action-bar-secondary-action\"></ng-content>\n</ng-template>\n",
|
|
284
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
285
|
+
}]
|
|
286
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace$1.SkyMediaQueryService }]; }, propDecorators: { secondaryActionComponents: [{
|
|
287
|
+
type: i0.ContentChildren,
|
|
288
|
+
args: [SkySummaryActionBarSecondaryActionComponent]
|
|
289
|
+
}] } });
|
|
290
|
+
|
|
105
291
|
/**
|
|
106
292
|
* @internal
|
|
107
293
|
*/
|
|
@@ -185,11 +371,30 @@
|
|
|
185
371
|
};
|
|
186
372
|
return SkySummaryActionBarAdapterService;
|
|
187
373
|
}());
|
|
188
|
-
SkySummaryActionBarAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }, { token: i2__namespace.SkyAppWindowRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
374
|
+
SkySummaryActionBarAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }, { token: i2__namespace$1.SkyAppWindowRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
189
375
|
SkySummaryActionBarAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarAdapterService });
|
|
190
376
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarAdapterService, decorators: [{
|
|
191
377
|
type: i0.Injectable
|
|
192
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }, { type: i2__namespace.SkyAppWindowRef }]; } });
|
|
378
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }, { type: i2__namespace$1.SkyAppWindowRef }]; } });
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Specifies the summary information to display.
|
|
382
|
+
*/
|
|
383
|
+
var SkySummaryActionBarSummaryComponent = /** @class */ (function () {
|
|
384
|
+
function SkySummaryActionBarSummaryComponent() {
|
|
385
|
+
}
|
|
386
|
+
return SkySummaryActionBarSummaryComponent;
|
|
387
|
+
}());
|
|
388
|
+
SkySummaryActionBarSummaryComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSummaryComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
389
|
+
SkySummaryActionBarSummaryComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarSummaryComponent, selector: "sky-summary-action-bar-summary", ngImport: i0__namespace, template: "<ng-content></ng-content>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
390
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSummaryComponent, decorators: [{
|
|
391
|
+
type: i0.Component,
|
|
392
|
+
args: [{
|
|
393
|
+
selector: 'sky-summary-action-bar-summary',
|
|
394
|
+
template: "<ng-content></ng-content>\n",
|
|
395
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
396
|
+
}]
|
|
397
|
+
}] });
|
|
193
398
|
|
|
194
399
|
/**
|
|
195
400
|
* Auto-incrementing integer used to generate unique ids for summary action bar components.
|
|
@@ -215,7 +420,7 @@
|
|
|
215
420
|
Object.defineProperty(SkySummaryActionBarComponent.prototype, "isSummaryCollapsible", {
|
|
216
421
|
get: function () {
|
|
217
422
|
return (this.type === SkySummaryActionBarType.StandardModal ||
|
|
218
|
-
this.mediaQueryService.current === i2.SkyMediaBreakpoints.xs);
|
|
423
|
+
this.mediaQueryService.current === i2$1.SkyMediaBreakpoints.xs);
|
|
219
424
|
},
|
|
220
425
|
enumerable: false,
|
|
221
426
|
configurable: true
|
|
@@ -285,7 +490,7 @@
|
|
|
285
490
|
SkySummaryActionBarComponent.prototype.setupReactiveState = function () {
|
|
286
491
|
var _this = this;
|
|
287
492
|
this.mediaQuerySubscription = this.mediaQueryService.subscribe(function (args) {
|
|
288
|
-
if (args !== i2.SkyMediaBreakpoints.xs) {
|
|
493
|
+
if (args !== i2$1.SkyMediaBreakpoints.xs) {
|
|
289
494
|
_this.isSummaryCollapsed = false;
|
|
290
495
|
_this.slideDirection = 'down';
|
|
291
496
|
}
|
|
@@ -345,8 +550,8 @@
|
|
|
345
550
|
};
|
|
346
551
|
return SkySummaryActionBarComponent;
|
|
347
552
|
}());
|
|
348
|
-
SkySummaryActionBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarComponent, deps: [{ token: SkySummaryActionBarAdapterService }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }, { token: i2__namespace.SkyMediaQueryService }, { token: i2__namespace.MutationObserverService }, { token: i2__namespace.SkyAppWindowRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
349
|
-
SkySummaryActionBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarComponent, selector: "sky-summary-action-bar", providers: [SkySummaryActionBarAdapterService], queries: [{ propertyName: "summaryElement", first: true, predicate: SkySummaryActionBarSummaryComponent, descendants: true, read: i0.ElementRef }], ngImport: i0__namespace, template: "<div\n class=\"sky-summary-action-bar\"\n [ngClass]=\"{\n 'sky-summary-action-bar-summary-collapsible': isSummaryCollapsible,\n 'sky-summary-action-bar-modal': type === 1 || type === 2,\n 'sky-summary-action-bar-split-view': type === 4\n }\"\n>\n <div class=\"sky-summary-action-bar-actions\">\n <ng-content select=\"sky-summary-action-bar-actions\"></ng-content>\n </div>\n <ng-container *ngIf=\"summaryContentExists()\">\n <div\n class=\"sky-summary-action-bar-summary\"\n [id]=\"summaryId\"\n [@skyAnimationSlide]=\"slideDirection\"\n (@skyAnimationSlide.start)=\"summaryTransitionStart()\"\n (@skyAnimationSlide.done)=\"summaryTransitionEnd()\"\n >\n <div class=\"sky-summary-action-bar-summary-body\">\n <div class=\"sky-summary-action-bar-summary-items\">\n <ng-content select=\"sky-summary-action-bar-summary\"></ng-content>\n </div>\n <div\n *ngIf=\"isSummaryCollapsible && !isSummaryCollapsed\"\n class=\"sky-summary-action-bar-details-collapse\"\n >\n <ng-container *ngTemplateOutlet=\"chevron\"></ng-container>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"isSummaryCollapsible && isSummaryCollapsed\"\n class=\"sky-summary-action-bar-details-expand\"\n >\n <ng-container *ngTemplateOutlet=\"chevron\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #chevron>\n <sky-chevron\n [attr.aria-controls]=\"summaryId\"\n [ariaLabel]=\"'skyux_summary_action_bar_expand' | skyLibResources\"\n [direction]=\"isSummaryCollapsed ? 'up' : 'down'\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-default': 'modern'\n }\"\n (directionChange)=\"onDirectionChange($event)\"\n >\n </sky-chevron>\n</ng-template>\n", styles: [".sky-summary-action-bar{display:flex;align-items:center;width:100%;margin-top:20px;position:fixed;bottom:0;left:0;z-index:999;background-color:#fff;box-shadow:0 -3px 3px #cdcfd2}.sky-summary-action-bar-modal,.sky-summary-action-bar-split-view{position:relative;margin-top:0}.sky-summary-action-bar-split-view{box-shadow:none}.sky-summary-action-bar-actions{padding:10px 20px 10px 10px;flex-shrink:0;background-color:#fff;z-index:999}.sky-summary-action-bar-summary{margin:10px 0;border-left:1px solid #e2e3e4}.sky-summary-action-bar-summary-body{padding-left:20px;display:flex}.sky-summary-action-bar-summary-items{display:flex;flex-wrap:wrap;flex-grow:1;margin-right:10px}.sky-summary-action-bar-details-expand{margin-left:auto;margin-right:10px}.sky-summary-action-bar-details-expand,.sky-summary-action-bar-details-collapse{display:none}.sky-summary-action-bar-summary-collapsible.sky-summary-action-bar{flex-wrap:wrap}.sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-summary{order:-1;width:100%;border-bottom:1px solid #e2e3e4;margin:0;border-left:none;z-index:998}.sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-summary-body{padding:10px}.sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-details-expand,.sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-details-collapse{display:block}:host-context(.sky-theme-modern) .sky-summary-action-bar-actions{padding:20px 30px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary{border:none}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-body{padding-left:30px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-actions{padding:20px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-summary-body{padding:20px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-items{margin-bottom:-10px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-items ::ng-deep sky-key-info{margin:0 30px 10px 0;display:inline-block}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-items ::ng-deep sky-key-info:last-child{margin:0 0 10px}.sky-theme-modern .sky-summary-action-bar-actions{padding:20px 30px}.sky-theme-modern .sky-summary-action-bar-summary{border:none}.sky-theme-modern .sky-summary-action-bar-summary-body{padding-left:30px}.sky-theme-modern .sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-actions{padding:20px}.sky-theme-modern .sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-summary-body{padding:20px}.sky-theme-modern .sky-summary-action-bar-summary-items{margin-bottom:-10px}.sky-theme-modern .sky-summary-action-bar-summary-items ::ng-deep sky-key-info{margin:0 30px 10px 0;display:inline-block}.sky-theme-modern .sky-summary-action-bar-summary-items ::ng-deep sky-key-info:last-child{margin:0 0 10px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-summary-action-bar{background-color:#000;box-shadow:none}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-summary-action-bar-actions{background-color:#000}.sky-theme-modern.sky-theme-mode-dark .sky-summary-action-bar{background-color:#000;box-shadow:none}.sky-theme-modern.sky-theme-mode-dark .sky-summary-action-bar-actions{background-color:#000}\n"], components: [{ type: i3__namespace.λ2, selector: "sky-chevron", inputs: ["ariaControls", "ariaLabel", "direction", "disabled"], outputs: ["directionChange"] }], directives: [{ type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type:
|
|
553
|
+
SkySummaryActionBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarComponent, deps: [{ token: SkySummaryActionBarAdapterService }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }, { token: i2__namespace$1.SkyMediaQueryService }, { token: i2__namespace$1.MutationObserverService }, { token: i2__namespace$1.SkyAppWindowRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
554
|
+
SkySummaryActionBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarComponent, selector: "sky-summary-action-bar", providers: [SkySummaryActionBarAdapterService], queries: [{ propertyName: "summaryElement", first: true, predicate: SkySummaryActionBarSummaryComponent, descendants: true, read: i0.ElementRef }], ngImport: i0__namespace, template: "<div\n class=\"sky-summary-action-bar\"\n [ngClass]=\"{\n 'sky-summary-action-bar-summary-collapsible': isSummaryCollapsible,\n 'sky-summary-action-bar-modal': type === 1 || type === 2,\n 'sky-summary-action-bar-split-view': type === 4\n }\"\n>\n <div class=\"sky-summary-action-bar-actions\">\n <ng-content select=\"sky-summary-action-bar-actions\"></ng-content>\n </div>\n <ng-container *ngIf=\"summaryContentExists()\">\n <div\n class=\"sky-summary-action-bar-summary\"\n [id]=\"summaryId\"\n [@skyAnimationSlide]=\"slideDirection\"\n (@skyAnimationSlide.start)=\"summaryTransitionStart()\"\n (@skyAnimationSlide.done)=\"summaryTransitionEnd()\"\n >\n <div class=\"sky-summary-action-bar-summary-body\">\n <div class=\"sky-summary-action-bar-summary-items\">\n <ng-content select=\"sky-summary-action-bar-summary\"></ng-content>\n </div>\n <div\n *ngIf=\"isSummaryCollapsible && !isSummaryCollapsed\"\n class=\"sky-summary-action-bar-details-collapse\"\n >\n <ng-container *ngTemplateOutlet=\"chevron\"></ng-container>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"isSummaryCollapsible && isSummaryCollapsed\"\n class=\"sky-summary-action-bar-details-expand\"\n >\n <ng-container *ngTemplateOutlet=\"chevron\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #chevron>\n <sky-chevron\n [attr.aria-controls]=\"summaryId\"\n [ariaLabel]=\"'skyux_summary_action_bar_expand' | skyLibResources\"\n [direction]=\"isSummaryCollapsed ? 'up' : 'down'\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-default': 'modern'\n }\"\n (directionChange)=\"onDirectionChange($event)\"\n >\n </sky-chevron>\n</ng-template>\n", styles: [".sky-summary-action-bar{display:flex;align-items:center;width:100%;margin-top:20px;position:fixed;bottom:0;left:0;z-index:999;background-color:#fff;box-shadow:0 -3px 3px #cdcfd2}.sky-summary-action-bar-modal,.sky-summary-action-bar-split-view{position:relative;margin-top:0}.sky-summary-action-bar-split-view{box-shadow:none}.sky-summary-action-bar-actions{padding:10px 20px 10px 10px;flex-shrink:0;background-color:#fff;z-index:999}.sky-summary-action-bar-summary{margin:10px 0;border-left:1px solid #e2e3e4}.sky-summary-action-bar-summary-body{padding-left:20px;display:flex}.sky-summary-action-bar-summary-items{display:flex;flex-wrap:wrap;flex-grow:1;margin-right:10px}.sky-summary-action-bar-details-expand{margin-left:auto;margin-right:10px}.sky-summary-action-bar-details-expand,.sky-summary-action-bar-details-collapse{display:none}.sky-summary-action-bar-summary-collapsible.sky-summary-action-bar{flex-wrap:wrap}.sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-summary{order:-1;width:100%;border-bottom:1px solid #e2e3e4;margin:0;border-left:none;z-index:998}.sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-summary-body{padding:10px}.sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-details-expand,.sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-details-collapse{display:block}:host-context(.sky-theme-modern) .sky-summary-action-bar-actions{padding:20px 30px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary{border:none}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-body{padding-left:30px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-actions{padding:20px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-summary-body{padding:20px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-items{margin-bottom:-10px}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-items ::ng-deep sky-key-info{margin:0 30px 10px 0;display:inline-block}:host-context(.sky-theme-modern) .sky-summary-action-bar-summary-items ::ng-deep sky-key-info:last-child{margin:0 0 10px}.sky-theme-modern .sky-summary-action-bar-actions{padding:20px 30px}.sky-theme-modern .sky-summary-action-bar-summary{border:none}.sky-theme-modern .sky-summary-action-bar-summary-body{padding-left:30px}.sky-theme-modern .sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-actions{padding:20px}.sky-theme-modern .sky-summary-action-bar-summary-collapsible .sky-summary-action-bar-summary-body{padding:20px}.sky-theme-modern .sky-summary-action-bar-summary-items{margin-bottom:-10px}.sky-theme-modern .sky-summary-action-bar-summary-items ::ng-deep sky-key-info{margin:0 30px 10px 0;display:inline-block}.sky-theme-modern .sky-summary-action-bar-summary-items ::ng-deep sky-key-info:last-child{margin:0 0 10px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-summary-action-bar{background-color:#000;box-shadow:none}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-summary-action-bar-actions{background-color:#000}.sky-theme-modern.sky-theme-mode-dark .sky-summary-action-bar{background-color:#000;box-shadow:none}.sky-theme-modern.sky-theme-mode-dark .sky-summary-action-bar-actions{background-color:#000}\n"], components: [{ type: i3__namespace$1.λ2, selector: "sky-chevron", inputs: ["ariaControls", "ariaLabel", "direction", "disabled"], outputs: ["directionChange"] }], directives: [{ type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }], pipes: { "skyLibResources": i4__namespace$1.SkyLibResourcesPipe }, animations: [animations.skyAnimationSlide], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
350
555
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarComponent, decorators: [{
|
|
351
556
|
type: i0.Component,
|
|
352
557
|
args: [{
|
|
@@ -357,216 +562,11 @@
|
|
|
357
562
|
providers: [SkySummaryActionBarAdapterService],
|
|
358
563
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
359
564
|
}]
|
|
360
|
-
}], ctorParameters: function () { return [{ type: SkySummaryActionBarAdapterService }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ElementRef }, { type: i2__namespace.SkyMediaQueryService }, { type: i2__namespace.MutationObserverService }, { type: i2__namespace.SkyAppWindowRef }]; }, propDecorators: { summaryElement: [{
|
|
565
|
+
}], ctorParameters: function () { return [{ type: SkySummaryActionBarAdapterService }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ElementRef }, { type: i2__namespace$1.SkyMediaQueryService }, { type: i2__namespace$1.MutationObserverService }, { type: i2__namespace$1.SkyAppWindowRef }]; }, propDecorators: { summaryElement: [{
|
|
361
566
|
type: i0.ContentChild,
|
|
362
567
|
args: [SkySummaryActionBarSummaryComponent, { read: i0.ElementRef }]
|
|
363
568
|
}] } });
|
|
364
569
|
|
|
365
|
-
/**
|
|
366
|
-
* Contains actions for the `sky-summary-action-bar` component.
|
|
367
|
-
*/
|
|
368
|
-
var SkySummaryActionBarActionsComponent = /** @class */ (function () {
|
|
369
|
-
function SkySummaryActionBarActionsComponent() {
|
|
370
|
-
}
|
|
371
|
-
return SkySummaryActionBarActionsComponent;
|
|
372
|
-
}());
|
|
373
|
-
SkySummaryActionBarActionsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarActionsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
374
|
-
SkySummaryActionBarActionsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarActionsComponent, selector: "sky-summary-action-bar-actions", ngImport: i0__namespace, template: "<ng-content></ng-content>\n", styles: [":host{display:inline-flex}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
375
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarActionsComponent, decorators: [{
|
|
376
|
-
type: i0.Component,
|
|
377
|
-
args: [{
|
|
378
|
-
selector: 'sky-summary-action-bar-actions',
|
|
379
|
-
template: "<ng-content></ng-content>\n",
|
|
380
|
-
styles: [":host{display:inline-flex}\n"],
|
|
381
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
382
|
-
}]
|
|
383
|
-
}] });
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* Displays a cancel action.
|
|
387
|
-
*/
|
|
388
|
-
var SkySummaryActionBarCancelComponent = /** @class */ (function () {
|
|
389
|
-
function SkySummaryActionBarCancelComponent() {
|
|
390
|
-
/**
|
|
391
|
-
* Indicates whether to disable the cancel action.
|
|
392
|
-
*/
|
|
393
|
-
this.disabled = false;
|
|
394
|
-
/**
|
|
395
|
-
* Fires when users select the cancel action.
|
|
396
|
-
*/
|
|
397
|
-
this.actionClick = new i0.EventEmitter();
|
|
398
|
-
}
|
|
399
|
-
SkySummaryActionBarCancelComponent.prototype.onCancelClicked = function () {
|
|
400
|
-
this.actionClick.emit();
|
|
401
|
-
};
|
|
402
|
-
return SkySummaryActionBarCancelComponent;
|
|
403
|
-
}());
|
|
404
|
-
SkySummaryActionBarCancelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarCancelComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
405
|
-
SkySummaryActionBarCancelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarCancelComponent, selector: "sky-summary-action-bar-cancel", inputs: { disabled: "disabled" }, outputs: { actionClick: "actionClick" }, ngImport: i0__namespace, template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-link sky-summary-action-bar-cancel\"\n [disabled]=\"disabled\"\n (click)=\"onCancelClicked()\"\n>\n <ng-content></ng-content>\n</button>\n", styles: ["::ng-deep .sky-modal .sky-modal-footer-container button.sky-btn-link:first-child{margin-left:initial}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
406
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarCancelComponent, decorators: [{
|
|
407
|
-
type: i0.Component,
|
|
408
|
-
args: [{
|
|
409
|
-
selector: 'sky-summary-action-bar-cancel',
|
|
410
|
-
template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-link sky-summary-action-bar-cancel\"\n [disabled]=\"disabled\"\n (click)=\"onCancelClicked()\"\n>\n <ng-content></ng-content>\n</button>\n",
|
|
411
|
-
styles: ["::ng-deep .sky-modal .sky-modal-footer-container button.sky-btn-link:first-child{margin-left:initial}\n"],
|
|
412
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
413
|
-
}]
|
|
414
|
-
}], propDecorators: { disabled: [{
|
|
415
|
-
type: i0.Input
|
|
416
|
-
}], actionClick: [{
|
|
417
|
-
type: i0.Output
|
|
418
|
-
}] } });
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* Displays a primary button.
|
|
422
|
-
*/
|
|
423
|
-
var SkySummaryActionBarPrimaryActionComponent = /** @class */ (function () {
|
|
424
|
-
function SkySummaryActionBarPrimaryActionComponent() {
|
|
425
|
-
/**
|
|
426
|
-
* Indicates whether to disable the primary action.
|
|
427
|
-
* @default false
|
|
428
|
-
*/
|
|
429
|
-
this.disabled = false;
|
|
430
|
-
/**
|
|
431
|
-
* Fires when users select the primary action.
|
|
432
|
-
*/
|
|
433
|
-
this.actionClick = new i0.EventEmitter();
|
|
434
|
-
}
|
|
435
|
-
SkySummaryActionBarPrimaryActionComponent.prototype.onButtonClicked = function () {
|
|
436
|
-
this.actionClick.emit();
|
|
437
|
-
};
|
|
438
|
-
return SkySummaryActionBarPrimaryActionComponent;
|
|
439
|
-
}());
|
|
440
|
-
SkySummaryActionBarPrimaryActionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarPrimaryActionComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
441
|
-
SkySummaryActionBarPrimaryActionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarPrimaryActionComponent, selector: "sky-summary-action-bar-primary-action", inputs: { disabled: "disabled" }, outputs: { actionClick: "actionClick" }, ngImport: i0__namespace, template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-primary\"\n [disabled]=\"disabled\"\n (click)=\"onButtonClicked()\"\n>\n <ng-content></ng-content>\n</button>\n", styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
442
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarPrimaryActionComponent, decorators: [{
|
|
443
|
-
type: i0.Component,
|
|
444
|
-
args: [{
|
|
445
|
-
selector: 'sky-summary-action-bar-primary-action',
|
|
446
|
-
template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-primary\"\n [disabled]=\"disabled\"\n (click)=\"onButtonClicked()\"\n>\n <ng-content></ng-content>\n</button>\n",
|
|
447
|
-
styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"],
|
|
448
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
449
|
-
}]
|
|
450
|
-
}], propDecorators: { disabled: [{
|
|
451
|
-
type: i0.Input
|
|
452
|
-
}], actionClick: [{
|
|
453
|
-
type: i0.Output
|
|
454
|
-
}] } });
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* Specifies secondary actions.
|
|
458
|
-
*/
|
|
459
|
-
var SkySummaryActionBarSecondaryActionComponent = /** @class */ (function () {
|
|
460
|
-
function SkySummaryActionBarSecondaryActionComponent(changeDetector) {
|
|
461
|
-
this.changeDetector = changeDetector;
|
|
462
|
-
/**
|
|
463
|
-
* Indicates whether to disable a secondary action.
|
|
464
|
-
* @default false
|
|
465
|
-
*/
|
|
466
|
-
this.disabled = false;
|
|
467
|
-
/**
|
|
468
|
-
* Fires when users select a secondary action.
|
|
469
|
-
*/
|
|
470
|
-
this.actionClick = new i0.EventEmitter();
|
|
471
|
-
}
|
|
472
|
-
Object.defineProperty(SkySummaryActionBarSecondaryActionComponent.prototype, "isDropdown", {
|
|
473
|
-
get: function () {
|
|
474
|
-
return this._isDropdown;
|
|
475
|
-
},
|
|
476
|
-
set: function (value) {
|
|
477
|
-
this._isDropdown = value;
|
|
478
|
-
this.changeDetector.detectChanges();
|
|
479
|
-
},
|
|
480
|
-
enumerable: false,
|
|
481
|
-
configurable: true
|
|
482
|
-
});
|
|
483
|
-
SkySummaryActionBarSecondaryActionComponent.prototype.onButtonClicked = function () {
|
|
484
|
-
this.actionClick.emit();
|
|
485
|
-
};
|
|
486
|
-
return SkySummaryActionBarSecondaryActionComponent;
|
|
487
|
-
}());
|
|
488
|
-
SkySummaryActionBarSecondaryActionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSecondaryActionComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
489
|
-
SkySummaryActionBarSecondaryActionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarSecondaryActionComponent, selector: "sky-summary-action-bar-secondary-action", inputs: { disabled: "disabled" }, outputs: { actionClick: "actionClick" }, ngImport: i0__namespace, template: "<ng-container *ngIf=\"!isDropdown\">\n <button\n type=\"button\"\n class=\"sky-btn\"\n role=\"menuitem\"\n [disabled]=\"disabled\"\n [skyThemeClass]=\"{\n 'sky-btn-secondary': 'default',\n 'sky-btn-default': 'modern'\n }\"\n (click)=\"onButtonClicked()\"\n >\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</ng-container>\n<sky-dropdown-item *ngIf=\"isDropdown\">\n <button type=\"button\" [disabled]=\"disabled\" (click)=\"onButtonClicked()\">\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</sky-dropdown-item>\n\n<ng-template #summaryActionBarSecondaryAction>\n <ng-content></ng-content>\n</ng-template>\n", styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"], components: [{ type: i2__namespace$1.λ1, selector: "sky-dropdown-item", inputs: ["ariaRole"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
490
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSecondaryActionComponent, decorators: [{
|
|
491
|
-
type: i0.Component,
|
|
492
|
-
args: [{
|
|
493
|
-
selector: 'sky-summary-action-bar-secondary-action',
|
|
494
|
-
template: "<ng-container *ngIf=\"!isDropdown\">\n <button\n type=\"button\"\n class=\"sky-btn\"\n role=\"menuitem\"\n [disabled]=\"disabled\"\n [skyThemeClass]=\"{\n 'sky-btn-secondary': 'default',\n 'sky-btn-default': 'modern'\n }\"\n (click)=\"onButtonClicked()\"\n >\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</ng-container>\n<sky-dropdown-item *ngIf=\"isDropdown\">\n <button type=\"button\" [disabled]=\"disabled\" (click)=\"onButtonClicked()\">\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryAction\"\n ></ng-container>\n </button>\n</sky-dropdown-item>\n\n<ng-template #summaryActionBarSecondaryAction>\n <ng-content></ng-content>\n</ng-template>\n",
|
|
495
|
-
styles: [".sky-btn{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn{margin-right:10px}.sky-theme-modern .sky-btn{margin-right:10px}\n"],
|
|
496
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
497
|
-
}]
|
|
498
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { disabled: [{
|
|
499
|
-
type: i0.Input
|
|
500
|
-
}], actionClick: [{
|
|
501
|
-
type: i0.Output
|
|
502
|
-
}] } });
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* Contains secondary actions specified with `sky-summary-action-bar-secondary-action`
|
|
506
|
-
* components.
|
|
507
|
-
*/
|
|
508
|
-
var SkySummaryActionBarSecondaryActionsComponent = /** @class */ (function () {
|
|
509
|
-
function SkySummaryActionBarSecondaryActionsComponent(changeDetector, mediaQueryService) {
|
|
510
|
-
this.changeDetector = changeDetector;
|
|
511
|
-
this.mediaQueryService = mediaQueryService;
|
|
512
|
-
this.isMobile = false;
|
|
513
|
-
this.dropdownMessageStream = new rxjs.Subject();
|
|
514
|
-
this.actionClicks = [];
|
|
515
|
-
}
|
|
516
|
-
SkySummaryActionBarSecondaryActionsComponent.prototype.ngAfterContentInit = function () {
|
|
517
|
-
var _this = this;
|
|
518
|
-
this.mediaQuerySubscription = this.mediaQueryService.subscribe(function (args) {
|
|
519
|
-
_this.isMobile = args === i2.SkyMediaBreakpoints.xs;
|
|
520
|
-
_this.checkAndUpdateChildrenType();
|
|
521
|
-
});
|
|
522
|
-
this.actionChanges = this.secondaryActionComponents.changes.subscribe(function () {
|
|
523
|
-
_this.checkAndUpdateChildrenType();
|
|
524
|
-
});
|
|
525
|
-
if (this.mediaQueryService.current === i2.SkyMediaBreakpoints.xs) {
|
|
526
|
-
this.isMobile = true;
|
|
527
|
-
}
|
|
528
|
-
this.checkAndUpdateChildrenType();
|
|
529
|
-
};
|
|
530
|
-
SkySummaryActionBarSecondaryActionsComponent.prototype.ngOnDestroy = function () {
|
|
531
|
-
this.mediaQuerySubscription.unsubscribe();
|
|
532
|
-
this.actionChanges.unsubscribe();
|
|
533
|
-
this.actionClicks.forEach(function (actionClick) { return actionClick.unsubscribe(); });
|
|
534
|
-
};
|
|
535
|
-
SkySummaryActionBarSecondaryActionsComponent.prototype.checkAndUpdateChildrenType = function () {
|
|
536
|
-
var _this = this;
|
|
537
|
-
/* istanbul ignore else */
|
|
538
|
-
if (this.secondaryActionComponents) {
|
|
539
|
-
var isDropdown_1 = false;
|
|
540
|
-
if (this.secondaryActionComponents.length >= 5 || this.isMobile) {
|
|
541
|
-
isDropdown_1 = true;
|
|
542
|
-
}
|
|
543
|
-
this.secondaryActionComponents.forEach(function (action) {
|
|
544
|
-
action.isDropdown = isDropdown_1;
|
|
545
|
-
_this.actionClicks.push(action.actionClick.subscribe(function () {
|
|
546
|
-
_this.dropdownMessageStream.next({
|
|
547
|
-
type: i2$1.SkyDropdownMessageType.Close,
|
|
548
|
-
});
|
|
549
|
-
}));
|
|
550
|
-
});
|
|
551
|
-
}
|
|
552
|
-
this.changeDetector.detectChanges();
|
|
553
|
-
};
|
|
554
|
-
return SkySummaryActionBarSecondaryActionsComponent;
|
|
555
|
-
}());
|
|
556
|
-
SkySummaryActionBarSecondaryActionsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSecondaryActionsComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.SkyMediaQueryService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
557
|
-
SkySummaryActionBarSecondaryActionsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkySummaryActionBarSecondaryActionsComponent, selector: "sky-summary-action-bar-secondary-actions", queries: [{ propertyName: "secondaryActionComponents", predicate: SkySummaryActionBarSecondaryActionComponent }], ngImport: i0__namespace, template: "<div\n *ngIf=\"!isMobile && secondaryActionComponents.length < 5\"\n class=\"sky-summary-action-bar-secondary-buttons\"\n role=\"menubar\"\n>\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryActions\"\n ></ng-container>\n</div>\n<div *ngIf=\"isMobile || secondaryActionComponents.length > 4\">\n <sky-dropdown\n buttonType=\"ellipsis-h\"\n [attr.title]=\"'skyux_summary_action_bar_open_secondary' | skyLibResources\"\n [messageStream]=\"dropdownMessageStream\"\n >\n <sky-dropdown-menu>\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryActions\"\n ></ng-container>\n </sky-dropdown-menu>\n </sky-dropdown>\n</div>\n<ng-template #summaryActionBarSecondaryActions>\n <ng-content select=\"sky-summary-action-bar-secondary-action\"></ng-content>\n</ng-template>\n", components: [{ type: i2__namespace$1.λ3, selector: "sky-dropdown", inputs: ["buttonStyle", "buttonType", "disabled", "dismissOnBlur", "label", "horizontalAlignment", "messageStream", "title", "trigger"] }, { type: i2__namespace$1.λ4, selector: "sky-dropdown-menu", inputs: ["ariaLabelledBy", "ariaRole", "useNativeFocus"], outputs: ["menuChanges"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "skyLibResources": i6__namespace.SkyLibResourcesPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
558
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarSecondaryActionsComponent, decorators: [{
|
|
559
|
-
type: i0.Component,
|
|
560
|
-
args: [{
|
|
561
|
-
selector: 'sky-summary-action-bar-secondary-actions',
|
|
562
|
-
template: "<div\n *ngIf=\"!isMobile && secondaryActionComponents.length < 5\"\n class=\"sky-summary-action-bar-secondary-buttons\"\n role=\"menubar\"\n>\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryActions\"\n ></ng-container>\n</div>\n<div *ngIf=\"isMobile || secondaryActionComponents.length > 4\">\n <sky-dropdown\n buttonType=\"ellipsis-h\"\n [attr.title]=\"'skyux_summary_action_bar_open_secondary' | skyLibResources\"\n [messageStream]=\"dropdownMessageStream\"\n >\n <sky-dropdown-menu>\n <ng-container\n *ngTemplateOutlet=\"summaryActionBarSecondaryActions\"\n ></ng-container>\n </sky-dropdown-menu>\n </sky-dropdown>\n</div>\n<ng-template #summaryActionBarSecondaryActions>\n <ng-content select=\"sky-summary-action-bar-secondary-action\"></ng-content>\n</ng-template>\n",
|
|
563
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
564
|
-
}]
|
|
565
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace.SkyMediaQueryService }]; }, propDecorators: { secondaryActionComponents: [{
|
|
566
|
-
type: i0.ContentChildren,
|
|
567
|
-
args: [SkySummaryActionBarSecondaryActionComponent]
|
|
568
|
-
}] } });
|
|
569
|
-
|
|
570
570
|
var SkySummaryActionBarModule = /** @class */ (function () {
|
|
571
571
|
function SkySummaryActionBarModule() {
|
|
572
572
|
}
|
|
@@ -579,13 +579,13 @@
|
|
|
579
579
|
SkySummaryActionBarPrimaryActionComponent,
|
|
580
580
|
SkySummaryActionBarSecondaryActionComponent,
|
|
581
581
|
SkySummaryActionBarSecondaryActionsComponent,
|
|
582
|
-
SkySummaryActionBarSummaryComponent], imports: [i4.CommonModule,
|
|
583
|
-
i3.SkyChevronModule,
|
|
584
|
-
i2
|
|
585
|
-
|
|
586
|
-
i3.SkyIconModule,
|
|
582
|
+
SkySummaryActionBarSummaryComponent], imports: [i4$1.CommonModule,
|
|
583
|
+
i3$1.SkyChevronModule,
|
|
584
|
+
i2.SkyDropdownModule,
|
|
585
|
+
i4.SkyI18nModule,
|
|
586
|
+
i3$1.SkyIconModule,
|
|
587
587
|
SkyActionBarsResourcesModule,
|
|
588
|
-
|
|
588
|
+
i3.SkyThemeModule], exports: [SkySummaryActionBarComponent,
|
|
589
589
|
SkySummaryActionBarActionsComponent,
|
|
590
590
|
SkySummaryActionBarCancelComponent,
|
|
591
591
|
SkySummaryActionBarPrimaryActionComponent,
|
|
@@ -593,13 +593,13 @@
|
|
|
593
593
|
SkySummaryActionBarSecondaryActionsComponent,
|
|
594
594
|
SkySummaryActionBarSummaryComponent] });
|
|
595
595
|
SkySummaryActionBarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarModule, imports: [[
|
|
596
|
-
i4.CommonModule,
|
|
597
|
-
i3.SkyChevronModule,
|
|
598
|
-
i2
|
|
599
|
-
|
|
600
|
-
i3.SkyIconModule,
|
|
596
|
+
i4$1.CommonModule,
|
|
597
|
+
i3$1.SkyChevronModule,
|
|
598
|
+
i2.SkyDropdownModule,
|
|
599
|
+
i4.SkyI18nModule,
|
|
600
|
+
i3$1.SkyIconModule,
|
|
601
601
|
SkyActionBarsResourcesModule,
|
|
602
|
-
|
|
602
|
+
i3.SkyThemeModule,
|
|
603
603
|
]] });
|
|
604
604
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkySummaryActionBarModule, decorators: [{
|
|
605
605
|
type: i0.NgModule,
|
|
@@ -614,13 +614,13 @@
|
|
|
614
614
|
SkySummaryActionBarSummaryComponent,
|
|
615
615
|
],
|
|
616
616
|
imports: [
|
|
617
|
-
i4.CommonModule,
|
|
618
|
-
i3.SkyChevronModule,
|
|
619
|
-
i2
|
|
620
|
-
|
|
621
|
-
i3.SkyIconModule,
|
|
617
|
+
i4$1.CommonModule,
|
|
618
|
+
i3$1.SkyChevronModule,
|
|
619
|
+
i2.SkyDropdownModule,
|
|
620
|
+
i4.SkyI18nModule,
|
|
621
|
+
i3$1.SkyIconModule,
|
|
622
622
|
SkyActionBarsResourcesModule,
|
|
623
|
-
|
|
623
|
+
i3.SkyThemeModule,
|
|
624
624
|
],
|
|
625
625
|
exports: [
|
|
626
626
|
SkySummaryActionBarComponent,
|