@clr/angular 16.3.1 → 17.0.0-beta.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/accordion/accordion-panel.d.ts +0 -12
- package/accordion/accordion.d.ts +0 -3
- package/clarity.api.md +49 -62
- package/data/datagrid/datagrid.module.d.ts +36 -37
- package/data/datagrid/index.d.ts +0 -1
- package/data/datagrid/providers/items.d.ts +2 -11
- package/emphasis/alert/alert.d.ts +6 -2
- package/emphasis/alert/alert.module.d.ts +2 -1
- package/esm2020/accordion/accordion-panel.mjs +1 -13
- package/esm2020/accordion/accordion.mjs +1 -4
- package/esm2020/data/datagrid/datagrid-column-toggle.mjs +3 -4
- package/esm2020/data/datagrid/datagrid-items.mjs +1 -2
- package/esm2020/data/datagrid/datagrid-row.mjs +3 -3
- package/esm2020/data/datagrid/datagrid.mjs +3 -5
- package/esm2020/data/datagrid/datagrid.module.mjs +1 -5
- package/esm2020/data/datagrid/index.mjs +1 -2
- package/esm2020/data/datagrid/providers/items.mjs +3 -21
- package/esm2020/data/datagrid/providers/selection.mjs +16 -22
- package/esm2020/data/datagrid/utils/key-navigation-grid.controller.mjs +2 -2
- package/esm2020/data/tree-view/tree-node.mjs +1 -1
- package/esm2020/emphasis/alert/alert-item.mjs +9 -3
- package/esm2020/emphasis/alert/alert.mjs +24 -9
- package/esm2020/emphasis/alert/alert.module.mjs +5 -4
- package/esm2020/emphasis/alert/alerts.mjs +3 -2
- package/esm2020/emphasis/alert/providers/icon-and-types.service.mjs +16 -1
- package/esm2020/emphasis/alert/utils/alert-types.mjs +2 -2
- package/esm2020/forms/common/abstract-container.mjs +20 -18
- package/esm2020/forms/common/error.mjs +3 -2
- package/esm2020/forms/common/success.mjs +3 -2
- package/esm2020/forms/password/password-container.mjs +3 -3
- package/esm2020/modal/modal.mjs +3 -8
- package/esm2020/progress/progress-bars/progress-bar.mjs +8 -26
- package/esm2020/utils/i18n/common-strings.default.mjs +3 -1
- package/esm2020/utils/i18n/common-strings.interface.mjs +1 -1
- package/esm2020/wizard/wizard.mjs +6 -29
- package/fesm2015/clr-angular.mjs +120 -212
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +120 -209
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/common/abstract-container.d.ts +4 -6
- package/modal/modal.d.ts +1 -2
- package/package.json +6 -6
- package/progress/progress-bars/progress-bar.d.ts +2 -10
- package/utils/i18n/common-strings.interface.d.ts +8 -0
- package/wizard/wizard.d.ts +2 -12
- package/data/datagrid/datagrid-items-trackby.d.ts +0 -10
- package/esm2020/data/datagrid/datagrid-items-trackby.mjs +0 -43
package/fesm2020/clr-angular.mjs
CHANGED
|
@@ -279,6 +279,8 @@ const commonStringsDefault = {
|
|
|
279
279
|
success: 'Success',
|
|
280
280
|
warning: 'Warning',
|
|
281
281
|
danger: 'Error',
|
|
282
|
+
neutral: 'Neutral',
|
|
283
|
+
unknown: 'Unknown',
|
|
282
284
|
rowActions: 'Available actions',
|
|
283
285
|
pickColumns: 'Manage Columns',
|
|
284
286
|
showColumns: 'Show Columns',
|
|
@@ -535,17 +537,8 @@ class ClrAccordionPanel {
|
|
|
535
537
|
this.accordionService = accordionService;
|
|
536
538
|
this.ifExpandService = ifExpandService;
|
|
537
539
|
this.cdr = cdr;
|
|
538
|
-
/**
|
|
539
|
-
* Whether the panel is disabled.
|
|
540
|
-
*/
|
|
541
540
|
this.disabled = false;
|
|
542
|
-
/**
|
|
543
|
-
* Whether the panel is open.
|
|
544
|
-
*/
|
|
545
541
|
this.panelOpen = false;
|
|
546
|
-
/**
|
|
547
|
-
* Event that is emitted when the panel is opened or closed. The boolean emitted indicates the current state.
|
|
548
|
-
*/
|
|
549
542
|
this.panelOpenChange = new EventEmitter();
|
|
550
543
|
this.AccordionStatus = AccordionStatus;
|
|
551
544
|
this.isAccordion = true;
|
|
@@ -574,9 +567,6 @@ class ClrAccordionPanel {
|
|
|
574
567
|
this.accordionService.disablePanel(this.id, changes.disabled.currentValue);
|
|
575
568
|
}
|
|
576
569
|
}
|
|
577
|
-
/**
|
|
578
|
-
* Toggles this panel open or closed.
|
|
579
|
-
*/
|
|
580
570
|
togglePanel() {
|
|
581
571
|
this.accordionService.togglePanel(this.id);
|
|
582
572
|
}
|
|
@@ -650,9 +640,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
650
640
|
class ClrAccordion {
|
|
651
641
|
constructor(accordionService) {
|
|
652
642
|
this.accordionService = accordionService;
|
|
653
|
-
/**
|
|
654
|
-
* Whether the accordion supports multiple panels opened at the same time.
|
|
655
|
-
*/
|
|
656
643
|
this.multiPanel = false;
|
|
657
644
|
this.subscriptions = [];
|
|
658
645
|
}
|
|
@@ -4226,7 +4213,7 @@ class ClrControlError extends ClrAbstractControl {
|
|
|
4226
4213
|
}
|
|
4227
4214
|
}
|
|
4228
4215
|
ClrControlError.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrControlError, deps: [{ token: ControlIdService, optional: true }, { token: ContainerIdService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4229
|
-
ClrControlError.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrControlError, selector: "clr-control-error", host: { properties: { "class.clr-subtext": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4216
|
+
ClrControlError.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrControlError, selector: "clr-control-error", host: { properties: { "class.clr-subtext": "true", "class.error": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4230
4217
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrControlError, decorators: [{
|
|
4231
4218
|
type: Component,
|
|
4232
4219
|
args: [{
|
|
@@ -4234,6 +4221,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
4234
4221
|
template: `<ng-content></ng-content>`,
|
|
4235
4222
|
host: {
|
|
4236
4223
|
'[class.clr-subtext]': 'true',
|
|
4224
|
+
'[class.error]': 'true',
|
|
4237
4225
|
'[attr.id]': 'id',
|
|
4238
4226
|
},
|
|
4239
4227
|
}]
|
|
@@ -4488,7 +4476,7 @@ class ClrControlSuccess extends ClrAbstractControl {
|
|
|
4488
4476
|
}
|
|
4489
4477
|
}
|
|
4490
4478
|
ClrControlSuccess.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrControlSuccess, deps: [{ token: ControlIdService, optional: true }, { token: ContainerIdService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4491
|
-
ClrControlSuccess.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrControlSuccess, selector: "clr-control-success", host: { properties: { "class.clr-subtext": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4479
|
+
ClrControlSuccess.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrControlSuccess, selector: "clr-control-success", host: { properties: { "class.clr-subtext": "true", "class.success": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4492
4480
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrControlSuccess, decorators: [{
|
|
4493
4481
|
type: Component,
|
|
4494
4482
|
args: [{
|
|
@@ -4496,6 +4484,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
4496
4484
|
template: `<ng-content></ng-content>`,
|
|
4497
4485
|
host: {
|
|
4498
4486
|
'[class.clr-subtext]': 'true',
|
|
4487
|
+
'[class.success]': 'true',
|
|
4499
4488
|
'[attr.id]': 'id',
|
|
4500
4489
|
},
|
|
4501
4490
|
}]
|
|
@@ -4576,25 +4565,27 @@ class ClrAbstractContainer {
|
|
|
4576
4565
|
}
|
|
4577
4566
|
/**
|
|
4578
4567
|
* @NOTE
|
|
4579
|
-
* Helper control is a bit different than the others, it must be visible
|
|
4580
|
-
* -
|
|
4581
|
-
*
|
|
4582
|
-
*
|
|
4583
|
-
* For example user implement only Error control then if CONTROL_STATE is VALID then helper
|
|
4584
|
-
* control must be visible.
|
|
4568
|
+
* Helper control is a bit different than the others, it must be always visible:
|
|
4569
|
+
* - Labels and instructions must always accompany forms and are persistent.
|
|
4570
|
+
* - The recommendation here is to always have helper text or anything instructions visible.
|
|
4571
|
+
* - The expectation is to have error text + helper text in the errored state. this way all users will have the helper text information always available.
|
|
4585
4572
|
*/
|
|
4586
4573
|
get showHelper() {
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4574
|
+
/**
|
|
4575
|
+
* @NOTE
|
|
4576
|
+
* Saving the previous version in case something is changed. We'll return always true so we can be flexible
|
|
4577
|
+
* and keep the condition per components.
|
|
4578
|
+
*
|
|
4579
|
+
* return (
|
|
4580
|
+
* Helper Component exist and the state of the form is NONE (not touched)
|
|
4581
|
+
* (!!this.controlHelperComponent && (!this.touched || this.state === CONTROL_STATE.NONE)) ||
|
|
4582
|
+
* or there is no success component but the state of the form is VALID - show helper information
|
|
4583
|
+
* (!!this.controlSuccessComponent === false && this.state === CONTROL_STATE.VALID) ||
|
|
4584
|
+
* or there is no error component but the state of the form is INVALID - show helper information
|
|
4585
|
+
* (!!this.controlErrorComponent === false && this.state === CONTROL_STATE.INVALID)
|
|
4586
|
+
* );
|
|
4587
|
+
*/
|
|
4588
|
+
return Boolean(this.controlHelperComponent);
|
|
4598
4589
|
}
|
|
4599
4590
|
get showValid() {
|
|
4600
4591
|
return this.touched && this.state === CONTROL_STATE.VALID && !!this.controlSuccessComponent;
|
|
@@ -10020,7 +10011,7 @@ ClrPasswordContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
10020
10011
|
class="clr-input-group-icon-action"
|
|
10021
10012
|
type="button"
|
|
10022
10013
|
>
|
|
10023
|
-
<cds-icon
|
|
10014
|
+
<cds-icon class="clr-password-eye-icon" [attr.shape]="show ? 'eye-hide' : 'eye'"></cds-icon>
|
|
10024
10015
|
<span class="clr-sr-only">
|
|
10025
10016
|
{{ show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow }}
|
|
10026
10017
|
</span>
|
|
@@ -10064,7 +10055,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
10064
10055
|
class="clr-input-group-icon-action"
|
|
10065
10056
|
type="button"
|
|
10066
10057
|
>
|
|
10067
|
-
<cds-icon
|
|
10058
|
+
<cds-icon class="clr-password-eye-icon" [attr.shape]="show ? 'eye-hide' : 'eye'"></cds-icon>
|
|
10068
10059
|
<span class="clr-sr-only">
|
|
10069
10060
|
{{ show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow }}
|
|
10070
10061
|
</span>
|
|
@@ -13246,11 +13237,9 @@ class Items {
|
|
|
13246
13237
|
this._change = new Subject();
|
|
13247
13238
|
this._allChanges = new Subject();
|
|
13248
13239
|
/**
|
|
13249
|
-
* Tracking function to identify objects.
|
|
13250
|
-
*
|
|
13251
|
-
* @deprecated in v15 and scheduled for removal in v17 (CDE-71)
|
|
13240
|
+
* Tracking function to identify objects.
|
|
13252
13241
|
*/
|
|
13253
|
-
this.
|
|
13242
|
+
this.trackBy = item => item;
|
|
13254
13243
|
}
|
|
13255
13244
|
get smart() {
|
|
13256
13245
|
return this._smart;
|
|
@@ -13327,22 +13316,6 @@ class Items {
|
|
|
13327
13316
|
this._filterItems();
|
|
13328
13317
|
}
|
|
13329
13318
|
}
|
|
13330
|
-
canTrackBy() {
|
|
13331
|
-
// all items are needed unless `datagridTrackBy` is set because `iteratorTrackBy` requires the item's index
|
|
13332
|
-
return !!this.datagridTrackBy || Array.isArray(this.all);
|
|
13333
|
-
}
|
|
13334
|
-
trackBy(item, index) {
|
|
13335
|
-
if (this.datagridTrackBy) {
|
|
13336
|
-
return this.datagridTrackBy(item);
|
|
13337
|
-
}
|
|
13338
|
-
else if (Array.isArray(this.all)) {
|
|
13339
|
-
index = index ?? this.all.indexOf(item);
|
|
13340
|
-
return this.iteratorTrackBy(index, item);
|
|
13341
|
-
}
|
|
13342
|
-
else {
|
|
13343
|
-
throw new Error('improper call to Items#trackBy');
|
|
13344
|
-
}
|
|
13345
|
-
}
|
|
13346
13319
|
emitChange() {
|
|
13347
13320
|
this._change.next(this.displayed);
|
|
13348
13321
|
}
|
|
@@ -13425,7 +13398,6 @@ class ClrDatagridItems {
|
|
|
13425
13398
|
this._rawItems = items ? items : []; // local copy for ngOnChange diffing
|
|
13426
13399
|
}
|
|
13427
13400
|
set trackBy(value) {
|
|
13428
|
-
this.items.iteratorTrackBy = value;
|
|
13429
13401
|
this.iterableProxy.ngForTrackBy = value;
|
|
13430
13402
|
}
|
|
13431
13403
|
/**
|
|
@@ -13940,12 +13912,10 @@ class Selection {
|
|
|
13940
13912
|
let selectionUpdated = false;
|
|
13941
13913
|
// if the currentSingle has been set before data was loaded, we look up and save the ref from current data set
|
|
13942
13914
|
if (this.currentSingle && !this.prevSingleSelectionRef) {
|
|
13943
|
-
|
|
13944
|
-
this.prevSingleSelectionRef = this._items.trackBy(this.currentSingle);
|
|
13945
|
-
}
|
|
13915
|
+
this.prevSingleSelectionRef = this._items.trackBy(this.currentSingle);
|
|
13946
13916
|
}
|
|
13947
|
-
updatedItems.forEach(
|
|
13948
|
-
const ref = this._items.trackBy(item
|
|
13917
|
+
updatedItems.forEach(item => {
|
|
13918
|
+
const ref = this._items.trackBy(item);
|
|
13949
13919
|
// If one of the updated items is the previously selectedSingle, set it as the new one
|
|
13950
13920
|
if (this.prevSingleSelectionRef === ref) {
|
|
13951
13921
|
newSingle = item;
|
|
@@ -13978,20 +13948,18 @@ class Selection {
|
|
|
13978
13948
|
let selectionUpdated = false;
|
|
13979
13949
|
// if the current has been set before data was loaded, we look up and save the ref from current data set
|
|
13980
13950
|
if (this.current.length > 0 && this.prevSelectionRefs.length !== this.current.length) {
|
|
13981
|
-
|
|
13982
|
-
|
|
13983
|
-
this.
|
|
13984
|
-
|
|
13985
|
-
});
|
|
13986
|
-
}
|
|
13951
|
+
this.prevSelectionRefs = [];
|
|
13952
|
+
this.current.forEach(item => {
|
|
13953
|
+
this.prevSelectionRefs.push(this._items.trackBy(item));
|
|
13954
|
+
});
|
|
13987
13955
|
}
|
|
13988
13956
|
// Duplicate loop, when the issue is issue#2342 is revisited keep in mind that
|
|
13989
13957
|
// we need to go over every updated item and check to see if there are valid to be
|
|
13990
13958
|
// locked or not and update it. When only add items that are found in the lockedRefs back.
|
|
13991
13959
|
//
|
|
13992
13960
|
// The both loops below that goes over updatedItems could be combined into one.
|
|
13993
|
-
updatedItems.forEach(
|
|
13994
|
-
const ref = this._items.trackBy(item
|
|
13961
|
+
updatedItems.forEach(item => {
|
|
13962
|
+
const ref = this._items.trackBy(item);
|
|
13995
13963
|
if (this.lockedRefs.indexOf(ref) > -1) {
|
|
13996
13964
|
updateLockedRef.push(ref);
|
|
13997
13965
|
}
|
|
@@ -14000,8 +13968,8 @@ class Selection {
|
|
|
14000
13968
|
// currently, the selection is cleared when filter is applied, so the logic inside
|
|
14001
13969
|
// the if statement below results in broken behavior.
|
|
14002
13970
|
if (leftOver.length > 0) {
|
|
14003
|
-
updatedItems.forEach(
|
|
14004
|
-
const ref = this._items.trackBy(item
|
|
13971
|
+
updatedItems.forEach(item => {
|
|
13972
|
+
const ref = this._items.trackBy(item);
|
|
14005
13973
|
// Look in current selected refs array if item is selected, and update actual value
|
|
14006
13974
|
const selectedIndex = this.prevSelectionRefs.indexOf(ref);
|
|
14007
13975
|
if (selectedIndex > -1) {
|
|
@@ -14067,7 +14035,7 @@ class Selection {
|
|
|
14067
14035
|
return;
|
|
14068
14036
|
}
|
|
14069
14037
|
this._currentSingle = value;
|
|
14070
|
-
if (
|
|
14038
|
+
if (value) {
|
|
14071
14039
|
this.prevSingleSelectionRef = this._items.trackBy(value);
|
|
14072
14040
|
}
|
|
14073
14041
|
this.emitChange();
|
|
@@ -14213,10 +14181,8 @@ class Selection {
|
|
|
14213
14181
|
*/
|
|
14214
14182
|
selectItem(item) {
|
|
14215
14183
|
this.current = this.current.concat(item);
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
-
this.prevSelectionRefs.push(this._items.trackBy(item));
|
|
14219
|
-
}
|
|
14184
|
+
// Push selected ref onto array
|
|
14185
|
+
this.prevSelectionRefs.push(this._items.trackBy(item));
|
|
14220
14186
|
}
|
|
14221
14187
|
/**
|
|
14222
14188
|
* Deselects an item
|
|
@@ -14234,7 +14200,7 @@ class Selection {
|
|
|
14234
14200
|
* Make sure that it could be locked
|
|
14235
14201
|
*/
|
|
14236
14202
|
canItBeLocked() {
|
|
14237
|
-
return this._selectionType !== SelectionType.None
|
|
14203
|
+
return this._selectionType !== SelectionType.None;
|
|
14238
14204
|
}
|
|
14239
14205
|
emitChange() {
|
|
14240
14206
|
if (this._selectionType === SelectionType.Single) {
|
|
@@ -14566,7 +14532,7 @@ ClrDatagridRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
14566
14532
|
DatagridIfExpandService,
|
|
14567
14533
|
{ provide: IfExpandService, useExisting: DatagridIfExpandService },
|
|
14568
14534
|
{ provide: LoadingListener, useExisting: DatagridIfExpandService },
|
|
14569
|
-
], queries: [{ propertyName: "dgCells", predicate: ClrDatagridCell }], viewQueries: [{ propertyName: "expandAnimation", first: true, predicate: ClrExpandableAnimation, descendants: true }, { propertyName: "detailButton", first: true, predicate: ["detailButton"], descendants: true }, { propertyName: "_stickyCells", first: true, predicate: ["stickyCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_scrollableCells", first: true, predicate: ["scrollableCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_calculatedCells", first: true, predicate: ["calculatedCells"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<!--\n We need to wrap the #rowContent in label element if we are in rowSelectionMode.\n Clicking of that wrapper label will equate to clicking on the whole row, which triggers the checkbox to toggle.\n-->\n<div\n class=\"datagrid-row-clickable\"\n *ngIf=\"selection.rowSelectionMode\"\n (mousedown)=\"clearRanges($event)\"\n (click)=\"selectRow(!selected, $event)\"\n>\n <clr-expandable-animation [clrExpandTrigger]=\"expandAnimationTrigger\" *ngIf=\"expand.expandable\">\n <ng-template [ngTemplateOutlet]=\"rowContent\"></ng-template>\n </clr-expandable-animation>\n <ng-template [ngTemplateOutlet]=\"rowContent\" *ngIf=\"!expand.expandable\"></ng-template>\n</div>\n\n<clr-expandable-animation\n *ngIf=\"!selection.rowSelectionMode && expand.expandable\"\n [clrExpandTrigger]=\"expandAnimationTrigger\"\n>\n <ng-template [ngTemplateOutlet]=\"rowContent\"></ng-template>\n</clr-expandable-animation>\n\n<ng-template *ngIf=\"!selection.rowSelectionMode && !expand.expandable\" [ngTemplateOutlet]=\"rowContent\"></ng-template>\n\n<!--\n We need the \"project into template\" hacks because we need this in 2 different places\n depending on whether the details replace the row or not.\n-->\n<ng-template #detail>\n <ng-content select=\"clr-dg-row-detail\"></ng-content>\n</ng-template>\n\n<ng-template #rowContent>\n <div\n role=\"row\"\n [id]=\"id\"\n class=\"datagrid-row-master datagrid-row-flex\"\n [class.datagrid-row-detail-open]=\"detailService.isRowOpen(item)\"\n >\n <div class=\"datagrid-row-sticky\">\n <!-- Sticky elements here -->\n <ng-container #stickyCells>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Multi\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-checkbox-wrapper>\n <input\n type=\"checkbox\"\n clrCheckbox\n [ngModel]=\"selected\"\n (ngModelChange)=\"toggle($event)\"\n [id]=\"checkboxId\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <!-- Usage of class clr-col-null here prevents clr-col-* classes from being added when a datagrid is wrapped inside clrForm -->\n <label [for]=\"checkboxId\" class=\"clr-control-label clr-col-null\" (click)=\"clearRanges($event)\">\n <span class=\"clr-sr-only\">{{clrDgRowSelectionLabel || commonStrings.keys.select}}</span>\n </label>\n </clr-checkbox-wrapper>\n </div>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Single\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-radio-wrapper>\n <input\n type=\"radio\"\n clrRadio\n [id]=\"radioId\"\n [name]=\"selection.id + '-radio'\"\n [value]=\"item\"\n [(ngModel)]=\"selection.currentSingle\"\n [checked]=\"selection.currentSingle === item\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <label class=\"clr-control-label clr-col-null\" [for]=\"radioId\">\n <span class=\"clr-sr-only\">{{ clrDgRowSelectionLabel || commonStrings.keys.select }}</span>\n </label>\n </clr-radio-wrapper>\n </div>\n <div\n *ngIf=\"rowActionService.hasActionableRow\"\n class=\"datagrid-row-actions datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-content select=\"clr-dg-action-overflow\"></ng-content>\n </div>\n <div\n *ngIf=\"globalExpandable.hasExpandableRow\"\n class=\"datagrid-expandable-caret datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-container *ngIf=\"expand.expandable\">\n <button\n *ngIf=\"!expand.loading\"\n (click)=\"toggleExpand()\"\n type=\"button\"\n class=\"datagrid-expandable-caret-button\"\n [attr.aria-expanded]=\"expand.expanded\"\n [attr.aria-label]=\"expand.expanded ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-controls]=\"expandableId\"\n >\n <cds-icon\n shape=\"angle\"\n class=\"datagrid-expandable-caret-icon\"\n [attr.direction]=\"expand.expanded ? 'down' : 'right'\"\n [attr.title]=\"expand.expanded ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n ></cds-icon>\n </button>\n <clr-spinner *ngIf=\"expand.loading\" clrSmall>{{ commonStrings.keys.loading }}</clr-spinner>\n </ng-container>\n </div>\n <div
|
|
14535
|
+
], queries: [{ propertyName: "dgCells", predicate: ClrDatagridCell }], viewQueries: [{ propertyName: "expandAnimation", first: true, predicate: ClrExpandableAnimation, descendants: true }, { propertyName: "detailButton", first: true, predicate: ["detailButton"], descendants: true }, { propertyName: "_stickyCells", first: true, predicate: ["stickyCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_scrollableCells", first: true, predicate: ["scrollableCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_calculatedCells", first: true, predicate: ["calculatedCells"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<!--\n We need to wrap the #rowContent in label element if we are in rowSelectionMode.\n Clicking of that wrapper label will equate to clicking on the whole row, which triggers the checkbox to toggle.\n-->\n<div\n class=\"datagrid-row-clickable\"\n *ngIf=\"selection.rowSelectionMode\"\n (mousedown)=\"clearRanges($event)\"\n (click)=\"selectRow(!selected, $event)\"\n>\n <clr-expandable-animation [clrExpandTrigger]=\"expandAnimationTrigger\" *ngIf=\"expand.expandable\">\n <ng-template [ngTemplateOutlet]=\"rowContent\"></ng-template>\n </clr-expandable-animation>\n <ng-template [ngTemplateOutlet]=\"rowContent\" *ngIf=\"!expand.expandable\"></ng-template>\n</div>\n\n<clr-expandable-animation\n *ngIf=\"!selection.rowSelectionMode && expand.expandable\"\n [clrExpandTrigger]=\"expandAnimationTrigger\"\n>\n <ng-template [ngTemplateOutlet]=\"rowContent\"></ng-template>\n</clr-expandable-animation>\n\n<ng-template *ngIf=\"!selection.rowSelectionMode && !expand.expandable\" [ngTemplateOutlet]=\"rowContent\"></ng-template>\n\n<!--\n We need the \"project into template\" hacks because we need this in 2 different places\n depending on whether the details replace the row or not.\n-->\n<ng-template #detail>\n <ng-content select=\"clr-dg-row-detail\"></ng-content>\n</ng-template>\n\n<ng-template #rowContent>\n <div\n role=\"row\"\n [id]=\"id\"\n class=\"datagrid-row-master datagrid-row-flex\"\n [class.datagrid-row-detail-open]=\"detailService.isRowOpen(item)\"\n >\n <div class=\"datagrid-row-sticky\">\n <!-- Sticky elements here -->\n <ng-container #stickyCells>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Multi\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-checkbox-wrapper>\n <input\n type=\"checkbox\"\n clrCheckbox\n [ngModel]=\"selected\"\n (ngModelChange)=\"toggle($event)\"\n [id]=\"checkboxId\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <!-- Usage of class clr-col-null here prevents clr-col-* classes from being added when a datagrid is wrapped inside clrForm -->\n <label [for]=\"checkboxId\" class=\"clr-control-label clr-col-null\" (click)=\"clearRanges($event)\">\n <span class=\"clr-sr-only\">{{clrDgRowSelectionLabel || commonStrings.keys.select}}</span>\n </label>\n </clr-checkbox-wrapper>\n </div>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Single\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-radio-wrapper>\n <input\n type=\"radio\"\n clrRadio\n [id]=\"radioId\"\n [name]=\"selection.id + '-radio'\"\n [value]=\"item\"\n [(ngModel)]=\"selection.currentSingle\"\n [checked]=\"selection.currentSingle === item\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <label class=\"clr-control-label clr-col-null\" [for]=\"radioId\">\n <span class=\"clr-sr-only\">{{ clrDgRowSelectionLabel || commonStrings.keys.select }}</span>\n </label>\n </clr-radio-wrapper>\n </div>\n <div\n *ngIf=\"rowActionService.hasActionableRow\"\n class=\"datagrid-row-actions datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-content select=\"clr-dg-action-overflow\"></ng-content>\n </div>\n <div\n *ngIf=\"globalExpandable.hasExpandableRow\"\n class=\"datagrid-expandable-caret datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-container *ngIf=\"expand.expandable\">\n <button\n *ngIf=\"!expand.loading\"\n (click)=\"toggleExpand()\"\n type=\"button\"\n class=\"datagrid-expandable-caret-button\"\n [attr.aria-expanded]=\"expand.expanded\"\n [attr.aria-label]=\"expand.expanded ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-controls]=\"expandableId\"\n >\n <cds-icon\n shape=\"angle\"\n class=\"datagrid-expandable-caret-icon\"\n [attr.direction]=\"expand.expanded ? 'down' : 'right'\"\n [attr.title]=\"expand.expanded ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n ></cds-icon>\n </button>\n <clr-spinner *ngIf=\"expand.loading\" clrSmall>{{ commonStrings.keys.loading }}</clr-spinner>\n </ng-container>\n </div>\n <div *ngIf=\"detailService.enabled\" class=\"datagrid-detail-caret datagrid-fixed-column datagrid-cell\">\n <button\n (click)=\"detailService.toggle(item, detailButton)\"\n type=\"button\"\n #detailButton\n class=\"datagrid-detail-caret-button\"\n [class.is-open]=\"detailService.isRowOpen(item)\"\n [attr.aria-label]=\"detailService.isRowOpen(item) ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-expanded]=\"detailService.isOpen\"\n [attr.aria-controls]=\"detailService.id\"\n aria-haspopup=\"dialog\"\n >\n <cds-icon\n shape=\"angle-double\"\n [attr.direction]=\"detailService.isRowOpen(item) ? 'left' : 'right'\"\n class=\"datagrid-detail-caret-icon\"\n [attr.title]=\"detailService.isRowOpen(item) ? commonStrings.keys.close: commonStrings.keys.open\"\n ></cds-icon>\n </button>\n </div>\n </ng-container>\n <!-- placeholder for projecting other sticky cells as pinned-->\n </div>\n <div class=\"datagrid-row-scrollable\" [ngClass]=\"{'is-replaced': replaced && expanded}\">\n <div class=\"datagrid-scrolling-cells\">\n <ng-content select=\"clr-dg-cell\"></ng-content>\n <ng-container #scrollableCells></ng-container>\n </div>\n <!-- details here when replace, re-visit when sticky container is used for pinned cells -->\n <ng-template *ngIf=\"replaced && !expand.loading\" [ngTemplateOutlet]=\"detail\"></ng-template>\n <ng-template *ngIf=\"!replaced && !expand.loading\" [ngTemplateOutlet]=\"detail\"></ng-template>\n </div>\n </div>\n</ng-template>\n\n<ng-container #calculatedCells></ng-container>\n", dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CdsIconCustomTag, selector: "cds-icon" }, { kind: "directive", type: ClrLabel, selector: "label", inputs: ["for"] }, { kind: "directive", type: ClrCheckbox, selector: "[clrCheckbox],[clrToggle]" }, { kind: "component", type: ClrCheckboxWrapper, selector: "clr-checkbox-wrapper,clr-toggle-wrapper" }, { kind: "directive", type: ClrRadio, selector: "[clrRadio]" }, { kind: "component", type: ClrRadioWrapper, selector: "clr-radio-wrapper" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ClrExpandableAnimation, selector: "clr-expandable-animation", inputs: ["clrExpandTrigger"] }, { kind: "component", type: ClrSpinner, selector: "clr-spinner", inputs: ["clrInline", "clrInverse", "clrSmall", "clrMedium"] }, { kind: "directive", type: ClrDatagridSelectionCellDirective, selector: ".datagrid-select" }] });
|
|
14570
14536
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrDatagridRow, decorators: [{
|
|
14571
14537
|
type: Component,
|
|
14572
14538
|
args: [{ selector: 'clr-dg-row', host: {
|
|
@@ -14578,7 +14544,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
14578
14544
|
DatagridIfExpandService,
|
|
14579
14545
|
{ provide: IfExpandService, useExisting: DatagridIfExpandService },
|
|
14580
14546
|
{ provide: LoadingListener, useExisting: DatagridIfExpandService },
|
|
14581
|
-
], template: "<!--\n We need to wrap the #rowContent in label element if we are in rowSelectionMode.\n Clicking of that wrapper label will equate to clicking on the whole row, which triggers the checkbox to toggle.\n-->\n<div\n class=\"datagrid-row-clickable\"\n *ngIf=\"selection.rowSelectionMode\"\n (mousedown)=\"clearRanges($event)\"\n (click)=\"selectRow(!selected, $event)\"\n>\n <clr-expandable-animation [clrExpandTrigger]=\"expandAnimationTrigger\" *ngIf=\"expand.expandable\">\n <ng-template [ngTemplateOutlet]=\"rowContent\"></ng-template>\n </clr-expandable-animation>\n <ng-template [ngTemplateOutlet]=\"rowContent\" *ngIf=\"!expand.expandable\"></ng-template>\n</div>\n\n<clr-expandable-animation\n *ngIf=\"!selection.rowSelectionMode && expand.expandable\"\n [clrExpandTrigger]=\"expandAnimationTrigger\"\n>\n <ng-template [ngTemplateOutlet]=\"rowContent\"></ng-template>\n</clr-expandable-animation>\n\n<ng-template *ngIf=\"!selection.rowSelectionMode && !expand.expandable\" [ngTemplateOutlet]=\"rowContent\"></ng-template>\n\n<!--\n We need the \"project into template\" hacks because we need this in 2 different places\n depending on whether the details replace the row or not.\n-->\n<ng-template #detail>\n <ng-content select=\"clr-dg-row-detail\"></ng-content>\n</ng-template>\n\n<ng-template #rowContent>\n <div\n role=\"row\"\n [id]=\"id\"\n class=\"datagrid-row-master datagrid-row-flex\"\n [class.datagrid-row-detail-open]=\"detailService.isRowOpen(item)\"\n >\n <div class=\"datagrid-row-sticky\">\n <!-- Sticky elements here -->\n <ng-container #stickyCells>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Multi\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-checkbox-wrapper>\n <input\n type=\"checkbox\"\n clrCheckbox\n [ngModel]=\"selected\"\n (ngModelChange)=\"toggle($event)\"\n [id]=\"checkboxId\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <!-- Usage of class clr-col-null here prevents clr-col-* classes from being added when a datagrid is wrapped inside clrForm -->\n <label [for]=\"checkboxId\" class=\"clr-control-label clr-col-null\" (click)=\"clearRanges($event)\">\n <span class=\"clr-sr-only\">{{clrDgRowSelectionLabel || commonStrings.keys.select}}</span>\n </label>\n </clr-checkbox-wrapper>\n </div>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Single\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-radio-wrapper>\n <input\n type=\"radio\"\n clrRadio\n [id]=\"radioId\"\n [name]=\"selection.id + '-radio'\"\n [value]=\"item\"\n [(ngModel)]=\"selection.currentSingle\"\n [checked]=\"selection.currentSingle === item\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <label class=\"clr-control-label clr-col-null\" [for]=\"radioId\">\n <span class=\"clr-sr-only\">{{ clrDgRowSelectionLabel || commonStrings.keys.select }}</span>\n </label>\n </clr-radio-wrapper>\n </div>\n <div\n *ngIf=\"rowActionService.hasActionableRow\"\n class=\"datagrid-row-actions datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-content select=\"clr-dg-action-overflow\"></ng-content>\n </div>\n <div\n *ngIf=\"globalExpandable.hasExpandableRow\"\n class=\"datagrid-expandable-caret datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-container *ngIf=\"expand.expandable\">\n <button\n *ngIf=\"!expand.loading\"\n (click)=\"toggleExpand()\"\n type=\"button\"\n class=\"datagrid-expandable-caret-button\"\n [attr.aria-expanded]=\"expand.expanded\"\n [attr.aria-label]=\"expand.expanded ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-controls]=\"expandableId\"\n >\n <cds-icon\n shape=\"angle\"\n class=\"datagrid-expandable-caret-icon\"\n [attr.direction]=\"expand.expanded ? 'down' : 'right'\"\n [attr.title]=\"expand.expanded ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n ></cds-icon>\n </button>\n <clr-spinner *ngIf=\"expand.loading\" clrSmall>{{ commonStrings.keys.loading }}</clr-spinner>\n </ng-container>\n </div>\n <div
|
|
14547
|
+
], template: "<!--\n We need to wrap the #rowContent in label element if we are in rowSelectionMode.\n Clicking of that wrapper label will equate to clicking on the whole row, which triggers the checkbox to toggle.\n-->\n<div\n class=\"datagrid-row-clickable\"\n *ngIf=\"selection.rowSelectionMode\"\n (mousedown)=\"clearRanges($event)\"\n (click)=\"selectRow(!selected, $event)\"\n>\n <clr-expandable-animation [clrExpandTrigger]=\"expandAnimationTrigger\" *ngIf=\"expand.expandable\">\n <ng-template [ngTemplateOutlet]=\"rowContent\"></ng-template>\n </clr-expandable-animation>\n <ng-template [ngTemplateOutlet]=\"rowContent\" *ngIf=\"!expand.expandable\"></ng-template>\n</div>\n\n<clr-expandable-animation\n *ngIf=\"!selection.rowSelectionMode && expand.expandable\"\n [clrExpandTrigger]=\"expandAnimationTrigger\"\n>\n <ng-template [ngTemplateOutlet]=\"rowContent\"></ng-template>\n</clr-expandable-animation>\n\n<ng-template *ngIf=\"!selection.rowSelectionMode && !expand.expandable\" [ngTemplateOutlet]=\"rowContent\"></ng-template>\n\n<!--\n We need the \"project into template\" hacks because we need this in 2 different places\n depending on whether the details replace the row or not.\n-->\n<ng-template #detail>\n <ng-content select=\"clr-dg-row-detail\"></ng-content>\n</ng-template>\n\n<ng-template #rowContent>\n <div\n role=\"row\"\n [id]=\"id\"\n class=\"datagrid-row-master datagrid-row-flex\"\n [class.datagrid-row-detail-open]=\"detailService.isRowOpen(item)\"\n >\n <div class=\"datagrid-row-sticky\">\n <!-- Sticky elements here -->\n <ng-container #stickyCells>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Multi\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-checkbox-wrapper>\n <input\n type=\"checkbox\"\n clrCheckbox\n [ngModel]=\"selected\"\n (ngModelChange)=\"toggle($event)\"\n [id]=\"checkboxId\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <!-- Usage of class clr-col-null here prevents clr-col-* classes from being added when a datagrid is wrapped inside clrForm -->\n <label [for]=\"checkboxId\" class=\"clr-control-label clr-col-null\" (click)=\"clearRanges($event)\">\n <span class=\"clr-sr-only\">{{clrDgRowSelectionLabel || commonStrings.keys.select}}</span>\n </label>\n </clr-checkbox-wrapper>\n </div>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Single\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-radio-wrapper>\n <input\n type=\"radio\"\n clrRadio\n [id]=\"radioId\"\n [name]=\"selection.id + '-radio'\"\n [value]=\"item\"\n [(ngModel)]=\"selection.currentSingle\"\n [checked]=\"selection.currentSingle === item\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <label class=\"clr-control-label clr-col-null\" [for]=\"radioId\">\n <span class=\"clr-sr-only\">{{ clrDgRowSelectionLabel || commonStrings.keys.select }}</span>\n </label>\n </clr-radio-wrapper>\n </div>\n <div\n *ngIf=\"rowActionService.hasActionableRow\"\n class=\"datagrid-row-actions datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-content select=\"clr-dg-action-overflow\"></ng-content>\n </div>\n <div\n *ngIf=\"globalExpandable.hasExpandableRow\"\n class=\"datagrid-expandable-caret datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-container *ngIf=\"expand.expandable\">\n <button\n *ngIf=\"!expand.loading\"\n (click)=\"toggleExpand()\"\n type=\"button\"\n class=\"datagrid-expandable-caret-button\"\n [attr.aria-expanded]=\"expand.expanded\"\n [attr.aria-label]=\"expand.expanded ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-controls]=\"expandableId\"\n >\n <cds-icon\n shape=\"angle\"\n class=\"datagrid-expandable-caret-icon\"\n [attr.direction]=\"expand.expanded ? 'down' : 'right'\"\n [attr.title]=\"expand.expanded ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n ></cds-icon>\n </button>\n <clr-spinner *ngIf=\"expand.loading\" clrSmall>{{ commonStrings.keys.loading }}</clr-spinner>\n </ng-container>\n </div>\n <div *ngIf=\"detailService.enabled\" class=\"datagrid-detail-caret datagrid-fixed-column datagrid-cell\">\n <button\n (click)=\"detailService.toggle(item, detailButton)\"\n type=\"button\"\n #detailButton\n class=\"datagrid-detail-caret-button\"\n [class.is-open]=\"detailService.isRowOpen(item)\"\n [attr.aria-label]=\"detailService.isRowOpen(item) ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-expanded]=\"detailService.isOpen\"\n [attr.aria-controls]=\"detailService.id\"\n aria-haspopup=\"dialog\"\n >\n <cds-icon\n shape=\"angle-double\"\n [attr.direction]=\"detailService.isRowOpen(item) ? 'left' : 'right'\"\n class=\"datagrid-detail-caret-icon\"\n [attr.title]=\"detailService.isRowOpen(item) ? commonStrings.keys.close: commonStrings.keys.open\"\n ></cds-icon>\n </button>\n </div>\n </ng-container>\n <!-- placeholder for projecting other sticky cells as pinned-->\n </div>\n <div class=\"datagrid-row-scrollable\" [ngClass]=\"{'is-replaced': replaced && expanded}\">\n <div class=\"datagrid-scrolling-cells\">\n <ng-content select=\"clr-dg-cell\"></ng-content>\n <ng-container #scrollableCells></ng-container>\n </div>\n <!-- details here when replace, re-visit when sticky container is used for pinned cells -->\n <ng-template *ngIf=\"replaced && !expand.loading\" [ngTemplateOutlet]=\"detail\"></ng-template>\n <ng-template *ngIf=\"!replaced && !expand.loading\" [ngTemplateOutlet]=\"detail\"></ng-template>\n </div>\n </div>\n</ng-template>\n\n<ng-container #calculatedCells></ng-container>\n" }]
|
|
14582
14548
|
}], ctorParameters: function () { return [{ type: Selection }, { type: RowActionService }, { type: ExpandableRowsCount }, { type: DatagridIfExpandService }, { type: DetailService }, { type: DisplayModeService }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: ClrCommonStringsService }, { type: Items }, { type: undefined, decorators: [{
|
|
14583
14549
|
type: Inject,
|
|
14584
14550
|
args: [DOCUMENT]
|
|
@@ -14884,7 +14850,7 @@ class KeyNavigationGridController {
|
|
|
14884
14850
|
const dir = this.host.dir;
|
|
14885
14851
|
const inlineStart = dir === 'rtl' ? 'ArrowRight' : 'ArrowLeft';
|
|
14886
14852
|
const inlineEnd = dir === 'rtl' ? 'ArrowLeft' : 'ArrowRight';
|
|
14887
|
-
const itemsPerPage =
|
|
14853
|
+
const itemsPerPage = this.rows.length || 0;
|
|
14888
14854
|
if (e.code === 'ArrowUp' && y !== 0) {
|
|
14889
14855
|
y = y - 1;
|
|
14890
14856
|
}
|
|
@@ -15016,7 +14982,7 @@ class ClrDatagrid {
|
|
|
15016
14982
|
this.selection.rowSelectionMode = value;
|
|
15017
14983
|
}
|
|
15018
14984
|
set trackBy(value) {
|
|
15019
|
-
this.items.
|
|
14985
|
+
this.items.trackBy = value;
|
|
15020
14986
|
}
|
|
15021
14987
|
/**
|
|
15022
14988
|
* Indicates if all currently displayed items are selected
|
|
@@ -15058,9 +15024,7 @@ class ClrDatagrid {
|
|
|
15058
15024
|
});
|
|
15059
15025
|
// Try to update only when there is something cached and its open.
|
|
15060
15026
|
if (this.detailService.state && this.detailService.isOpen) {
|
|
15061
|
-
const row = this.items.
|
|
15062
|
-
? this.rows.find(row => this.items.trackBy(row.item) === this.items.trackBy(this.detailService.state))
|
|
15063
|
-
: undefined;
|
|
15027
|
+
const row = this.rows.find(row => this.items.trackBy(row.item) === this.items.trackBy(this.detailService.state));
|
|
15064
15028
|
/**
|
|
15065
15029
|
* Reopen updated row or close it
|
|
15066
15030
|
*/
|
|
@@ -15443,45 +15407,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
15443
15407
|
*/
|
|
15444
15408
|
const columnToggleTrackByFn = index => index;
|
|
15445
15409
|
|
|
15446
|
-
/*
|
|
15447
|
-
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
15448
|
-
* This software is released under MIT license.
|
|
15449
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
15450
|
-
*/
|
|
15451
|
-
class ClrDatagridItemsTrackBy {
|
|
15452
|
-
constructor(_items) {
|
|
15453
|
-
this._items = _items;
|
|
15454
|
-
}
|
|
15455
|
-
set trackBy(value) {
|
|
15456
|
-
/**
|
|
15457
|
-
* This is a workaround to prevent the items `trackBy` function from
|
|
15458
|
-
* being replaced when the "manage columns" button is clicked. This is
|
|
15459
|
-
* not a complete solution. If there is another `ngForTrackBy` function
|
|
15460
|
-
* within the datagrid in application code, it could sill replace the
|
|
15461
|
-
* items `trackBy` function whether it is the row iterator or not.
|
|
15462
|
-
*/
|
|
15463
|
-
if (value === columnToggleTrackByFn) {
|
|
15464
|
-
return;
|
|
15465
|
-
}
|
|
15466
|
-
if (this._items) {
|
|
15467
|
-
this._items.iteratorTrackBy = value;
|
|
15468
|
-
}
|
|
15469
|
-
}
|
|
15470
|
-
}
|
|
15471
|
-
ClrDatagridItemsTrackBy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrDatagridItemsTrackBy, deps: [{ token: Items, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15472
|
-
ClrDatagridItemsTrackBy.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: ClrDatagridItemsTrackBy, selector: "[ngForTrackBy]", inputs: { trackBy: ["ngForTrackBy", "trackBy"] }, ngImport: i0 });
|
|
15473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrDatagridItemsTrackBy, decorators: [{
|
|
15474
|
-
type: Directive,
|
|
15475
|
-
args: [{
|
|
15476
|
-
selector: '[ngForTrackBy]',
|
|
15477
|
-
}]
|
|
15478
|
-
}], ctorParameters: function () { return [{ type: Items, decorators: [{
|
|
15479
|
-
type: Optional
|
|
15480
|
-
}] }]; }, propDecorators: { trackBy: [{
|
|
15481
|
-
type: Input,
|
|
15482
|
-
args: ['ngForTrackBy']
|
|
15483
|
-
}] } });
|
|
15484
|
-
|
|
15485
15410
|
/*
|
|
15486
15411
|
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
15487
15412
|
* This software is released under MIT license.
|
|
@@ -15650,7 +15575,7 @@ ClrDatagridColumnToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
15650
15575
|
<clr-dg-column-toggle-button (clrAllSelected)="allColumnsSelected()"></clr-dg-column-toggle-button>
|
|
15651
15576
|
</div>
|
|
15652
15577
|
</div>
|
|
15653
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "directive", type: CdsIconCustomTag, selector: "cds-icon" }, { kind: "directive", type: ClrLabel, selector: "label", inputs: ["for"] }, { kind: "directive", type: ClrCheckbox, selector: "[clrCheckbox],[clrToggle]" }, { kind: "component", type: ClrCheckboxWrapper, selector: "clr-checkbox-wrapper,clr-toggle-wrapper" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: ClrPopoverAnchor, selector: "[clrPopoverAnchor]" }, { kind: "directive", type: ClrPopoverCloseButton, selector: "[clrPopoverCloseButton]", outputs: ["clrPopoverOnCloseChange"] }, { kind: "directive", type: ClrPopoverOpenCloseButton, selector: "[clrPopoverOpenCloseButton]", outputs: ["clrPopoverOpenCloseChange"] }, { kind: "directive", type: ClrPopoverContent, selector: "[clrPopoverContent]", inputs: ["clrPopoverContent", "clrPopoverContentAt", "clrPopoverContentOutsideClickToClose", "clrPopoverContentScrollToClose"] }, { kind: "
|
|
15578
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "directive", type: CdsIconCustomTag, selector: "cds-icon" }, { kind: "directive", type: ClrLabel, selector: "label", inputs: ["for"] }, { kind: "directive", type: ClrCheckbox, selector: "[clrCheckbox],[clrToggle]" }, { kind: "component", type: ClrCheckboxWrapper, selector: "clr-checkbox-wrapper,clr-toggle-wrapper" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: ClrPopoverAnchor, selector: "[clrPopoverAnchor]" }, { kind: "directive", type: ClrPopoverCloseButton, selector: "[clrPopoverCloseButton]", outputs: ["clrPopoverOnCloseChange"] }, { kind: "directive", type: ClrPopoverOpenCloseButton, selector: "[clrPopoverOpenCloseButton]", outputs: ["clrPopoverOpenCloseChange"] }, { kind: "directive", type: ClrPopoverContent, selector: "[clrPopoverContent]", inputs: ["clrPopoverContent", "clrPopoverContentAt", "clrPopoverContentOutsideClickToClose", "clrPopoverContentScrollToClose"] }, { kind: "component", type: ClrDatagridColumnToggleButton, selector: "clr-dg-column-toggle-button", outputs: ["clrAllSelected"] }] });
|
|
15654
15579
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrDatagridColumnToggle, decorators: [{
|
|
15655
15580
|
type: Component,
|
|
15656
15581
|
args: [{
|
|
@@ -17167,7 +17092,6 @@ const CLR_DATAGRID_DIRECTIVES = [
|
|
|
17167
17092
|
ClrDatagridFooter,
|
|
17168
17093
|
ClrDatagridHideableColumn,
|
|
17169
17094
|
ClrDatagridItems,
|
|
17170
|
-
ClrDatagridItemsTrackBy,
|
|
17171
17095
|
ClrDatagridPageSize,
|
|
17172
17096
|
ClrDatagridPagination,
|
|
17173
17097
|
ClrDatagridPlaceholder,
|
|
@@ -17214,7 +17138,6 @@ ClrDatagridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
17214
17138
|
ClrDatagridFooter,
|
|
17215
17139
|
ClrDatagridHideableColumn,
|
|
17216
17140
|
ClrDatagridItems,
|
|
17217
|
-
ClrDatagridItemsTrackBy,
|
|
17218
17141
|
ClrDatagridPageSize,
|
|
17219
17142
|
ClrDatagridPagination,
|
|
17220
17143
|
ClrDatagridPlaceholder,
|
|
@@ -17264,7 +17187,6 @@ ClrDatagridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
17264
17187
|
ClrDatagridFooter,
|
|
17265
17188
|
ClrDatagridHideableColumn,
|
|
17266
17189
|
ClrDatagridItems,
|
|
17267
|
-
ClrDatagridItemsTrackBy,
|
|
17268
17190
|
ClrDatagridPageSize,
|
|
17269
17191
|
ClrDatagridPagination,
|
|
17270
17192
|
ClrDatagridPlaceholder,
|
|
@@ -19719,13 +19641,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
19719
19641
|
}]
|
|
19720
19642
|
}] });
|
|
19721
19643
|
|
|
19644
|
+
/*
|
|
19645
|
+
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
19646
|
+
* This software is released under MIT license.
|
|
19647
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
19648
|
+
*/
|
|
19649
|
+
|
|
19722
19650
|
/*
|
|
19723
19651
|
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
19724
19652
|
* This software is released under MIT license.
|
|
19725
19653
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
19726
19654
|
*/
|
|
19727
19655
|
// @TODO Make this an enum
|
|
19728
|
-
const ALERT_TYPES = ['info', 'warning', 'danger', 'success'];
|
|
19656
|
+
const ALERT_TYPES = ['info', 'warning', 'danger', 'success', 'neutral', 'unknown', 'loading'];
|
|
19729
19657
|
|
|
19730
19658
|
/*
|
|
19731
19659
|
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
@@ -19782,6 +19710,21 @@ class AlertIconAndTypesService {
|
|
|
19782
19710
|
returnObj.cssClass = 'alert-success';
|
|
19783
19711
|
returnObj.title = this.commonStrings.keys.success;
|
|
19784
19712
|
break;
|
|
19713
|
+
case 'neutral':
|
|
19714
|
+
returnObj.shape = 'note-edit';
|
|
19715
|
+
returnObj.cssClass = 'alert-neutral';
|
|
19716
|
+
returnObj.title = this.commonStrings.keys.neutral;
|
|
19717
|
+
break;
|
|
19718
|
+
case 'unknown':
|
|
19719
|
+
returnObj.shape = 'help';
|
|
19720
|
+
returnObj.cssClass = 'alert-neutral';
|
|
19721
|
+
returnObj.title = this.commonStrings.keys.unknown;
|
|
19722
|
+
break;
|
|
19723
|
+
case 'loading':
|
|
19724
|
+
returnObj.shape = 'loading';
|
|
19725
|
+
returnObj.cssClass = 'alert-neutral';
|
|
19726
|
+
returnObj.title = this.commonStrings.keys.unknown;
|
|
19727
|
+
break;
|
|
19785
19728
|
default:
|
|
19786
19729
|
returnObj.shape = this.defaultIconShape;
|
|
19787
19730
|
returnObj.cssClass = 'alert-info';
|
|
@@ -19903,7 +19846,6 @@ class ClrAlert {
|
|
|
19903
19846
|
this.commonStrings = commonStrings;
|
|
19904
19847
|
this.renderer = renderer;
|
|
19905
19848
|
this.hostElement = hostElement;
|
|
19906
|
-
this.isLight = false;
|
|
19907
19849
|
this.isSmall = false;
|
|
19908
19850
|
this.closable = true;
|
|
19909
19851
|
this.isAppLevel = false;
|
|
@@ -19911,12 +19853,21 @@ class ClrAlert {
|
|
|
19911
19853
|
this._closedChanged = new EventEmitter(false);
|
|
19912
19854
|
this._closed = false;
|
|
19913
19855
|
this.subscriptions = [];
|
|
19856
|
+
this._isLightweight = false;
|
|
19857
|
+
}
|
|
19858
|
+
get isLightweight() {
|
|
19859
|
+
return this._isLightweight;
|
|
19860
|
+
}
|
|
19861
|
+
set isLightweight(val) {
|
|
19862
|
+
this._isLightweight = val;
|
|
19863
|
+
this.configAlertType(this._origAlertType);
|
|
19914
19864
|
}
|
|
19915
19865
|
get alertType() {
|
|
19916
19866
|
return this.iconService.alertType;
|
|
19917
19867
|
}
|
|
19918
19868
|
set alertType(val) {
|
|
19919
|
-
this.
|
|
19869
|
+
this._origAlertType = val;
|
|
19870
|
+
this.configAlertType(val);
|
|
19920
19871
|
}
|
|
19921
19872
|
set alertIconShape(value) {
|
|
19922
19873
|
this.iconService.alertIconShape = value;
|
|
@@ -19958,6 +19909,13 @@ class ClrAlert {
|
|
|
19958
19909
|
ngOnDestroy() {
|
|
19959
19910
|
this.subscriptions.forEach(sub => sub.unsubscribe());
|
|
19960
19911
|
}
|
|
19912
|
+
configAlertType(val) {
|
|
19913
|
+
let innerVal = val;
|
|
19914
|
+
if (!this._isLightweight && (innerVal === 'loading' || innerVal === 'unknown')) {
|
|
19915
|
+
innerVal = 'info';
|
|
19916
|
+
}
|
|
19917
|
+
this.iconService.alertType = innerVal;
|
|
19918
|
+
}
|
|
19961
19919
|
open() {
|
|
19962
19920
|
this._closed = false;
|
|
19963
19921
|
if (this.multiAlertService) {
|
|
@@ -19978,16 +19936,13 @@ class ClrAlert {
|
|
|
19978
19936
|
}
|
|
19979
19937
|
}
|
|
19980
19938
|
ClrAlert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlert, deps: [{ token: AlertIconAndTypesService }, { token: i0.ChangeDetectorRef }, { token: MultiAlertService, optional: true }, { token: ClrCommonStringsService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
19981
|
-
ClrAlert.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrAlert, selector: "clr-alert", inputs: {
|
|
19939
|
+
ClrAlert.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrAlert, selector: "clr-alert", inputs: { isSmall: ["clrAlertSizeSmall", "isSmall"], closable: ["clrAlertClosable", "closable"], isAppLevel: ["clrAlertAppLevel", "isAppLevel"], clrCloseButtonAriaLabel: "clrCloseButtonAriaLabel", isLightweight: ["clrAlertLightweight", "isLightweight"], alertType: ["clrAlertType", "alertType"], alertIconShape: ["clrAlertIcon", "alertIconShape"], closed: ["clrAlertClosed", "closed"] }, outputs: { _closedChanged: "clrAlertClosedChange" }, providers: [AlertIconAndTypesService], ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<div\n *ngIf=\"!_closed\"\n class=\"alert\"\n [ngClass]=\"alertClass\"\n [class.alert-sm]=\"isSmall\"\n [class.alert-lightweight]=\"isLightweight\"\n [class.alert-app-level]=\"isAppLevel\"\n>\n <div class=\"alert-items\">\n <ng-content></ng-content>\n </div>\n <button type=\"button\" class=\"close\" *ngIf=\"closable\" (click)=\"close()\" [attr.aria-label]=\"clrCloseButtonAriaLabel\">\n <cds-icon shape=\"window-close\"></cds-icon>\n </button>\n</div>\n", dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CdsIconCustomTag, selector: "cds-icon" }] });
|
|
19982
19940
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlert, decorators: [{
|
|
19983
19941
|
type: Component,
|
|
19984
|
-
args: [{ selector: 'clr-alert', providers: [AlertIconAndTypesService], template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<div\n *ngIf=\"!_closed\"\n class=\"alert\"\n [ngClass]=\"alertClass\"\n [class.alert-sm]=\"isSmall\"\n [class.alert-lightweight]=\"
|
|
19942
|
+
args: [{ selector: 'clr-alert', providers: [AlertIconAndTypesService], template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<div\n *ngIf=\"!_closed\"\n class=\"alert\"\n [ngClass]=\"alertClass\"\n [class.alert-sm]=\"isSmall\"\n [class.alert-lightweight]=\"isLightweight\"\n [class.alert-app-level]=\"isAppLevel\"\n>\n <div class=\"alert-items\">\n <ng-content></ng-content>\n </div>\n <button type=\"button\" class=\"close\" *ngIf=\"closable\" (click)=\"close()\" [attr.aria-label]=\"clrCloseButtonAriaLabel\">\n <cds-icon shape=\"window-close\"></cds-icon>\n </button>\n</div>\n" }]
|
|
19985
19943
|
}], ctorParameters: function () { return [{ type: AlertIconAndTypesService }, { type: i0.ChangeDetectorRef }, { type: MultiAlertService, decorators: [{
|
|
19986
19944
|
type: Optional
|
|
19987
|
-
}] }, { type: ClrCommonStringsService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
19988
|
-
type: Input,
|
|
19989
|
-
args: ['clrAlertLightweight']
|
|
19990
|
-
}], isSmall: [{
|
|
19945
|
+
}] }, { type: ClrCommonStringsService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { isSmall: [{
|
|
19991
19946
|
type: Input,
|
|
19992
19947
|
args: ['clrAlertSizeSmall']
|
|
19993
19948
|
}], closable: [{
|
|
@@ -20001,6 +19956,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
20001
19956
|
}], _closedChanged: [{
|
|
20002
19957
|
type: Output,
|
|
20003
19958
|
args: ['clrAlertClosedChange']
|
|
19959
|
+
}], isLightweight: [{
|
|
19960
|
+
type: Input,
|
|
19961
|
+
args: ['clrAlertLightweight']
|
|
20004
19962
|
}], alertType: [{
|
|
20005
19963
|
type: Input,
|
|
20006
19964
|
args: ['clrAlertType']
|
|
@@ -20025,24 +19983,28 @@ class ClrAlertItem {
|
|
|
20025
19983
|
ClrAlertItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlertItem, deps: [{ token: AlertIconAndTypesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20026
19984
|
ClrAlertItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrAlertItem, selector: "clr-alert-item", host: { classAttribute: "alert-item" }, ngImport: i0, template: `
|
|
20027
19985
|
<div class="alert-icon-wrapper">
|
|
19986
|
+
<clr-spinner class="alert-spinner" clrInline *ngIf="iconService.alertIconShape === 'loading'"></clr-spinner>
|
|
20028
19987
|
<cds-icon
|
|
20029
19988
|
class="alert-icon"
|
|
20030
19989
|
role="img"
|
|
19990
|
+
*ngIf="iconService.alertIconShape !== 'loading'"
|
|
20031
19991
|
[attr.shape]="iconService.alertIconShape"
|
|
20032
19992
|
[attr.aria-label]="iconService.alertIconTitle"
|
|
20033
19993
|
></cds-icon>
|
|
20034
19994
|
</div>
|
|
20035
19995
|
<ng-content></ng-content>
|
|
20036
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: CdsIconCustomTag, selector: "cds-icon" }] });
|
|
19996
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CdsIconCustomTag, selector: "cds-icon" }, { kind: "component", type: ClrSpinner, selector: "clr-spinner", inputs: ["clrInline", "clrInverse", "clrSmall", "clrMedium"] }] });
|
|
20037
19997
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlertItem, decorators: [{
|
|
20038
19998
|
type: Component,
|
|
20039
19999
|
args: [{
|
|
20040
20000
|
selector: 'clr-alert-item',
|
|
20041
20001
|
template: `
|
|
20042
20002
|
<div class="alert-icon-wrapper">
|
|
20003
|
+
<clr-spinner class="alert-spinner" clrInline *ngIf="iconService.alertIconShape === 'loading'"></clr-spinner>
|
|
20043
20004
|
<cds-icon
|
|
20044
20005
|
class="alert-icon"
|
|
20045
20006
|
role="img"
|
|
20007
|
+
*ngIf="iconService.alertIconShape !== 'loading'"
|
|
20046
20008
|
[attr.shape]="iconService.alertIconShape"
|
|
20047
20009
|
[attr.aria-label]="iconService.alertIconTitle"
|
|
20048
20010
|
></cds-icon>
|
|
@@ -20220,7 +20182,7 @@ class ClrAlerts {
|
|
|
20220
20182
|
}
|
|
20221
20183
|
}
|
|
20222
20184
|
ClrAlerts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlerts, deps: [{ token: MultiAlertService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20223
|
-
ClrAlerts.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrAlerts, selector: "clr-alerts", inputs: { _inputCurrentIndex: ["clrCurrentAlertIndex", "_inputCurrentIndex"], currentAlert: ["clrCurrentAlert", "currentAlert"] }, outputs: { currentAlertChange: "clrCurrentAlertChange", currentAlertIndexChange: "clrCurrentAlertIndexChange" }, host: { properties: { "class.alerts": "true", "class.alert-danger": "this.currentAlertType == 'danger'", "class.alert-info": "this.currentAlertType == 'info'", "class.alert-success": "this.currentAlertType == 'success'", "class.alert-warning": "this.currentAlertType == 'warning'" } }, providers: [MultiAlertService], queries: [{ propertyName: "allAlerts", predicate: ClrAlert }], ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n<div class=\"alerts-wrapper\">\n <clr-alerts-pager *ngIf=\"multiAlertService.count > 1\" [clrCurrentAlertIndex]=\"currentAlertIndex\"></clr-alerts-pager>\n <ng-content select=\"clr-alert\"></ng-content>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ClrAlertsPager, selector: "clr-alerts-pager", inputs: ["clrCurrentAlert", "clrCurrentAlertIndex"], outputs: ["clrCurrentAlertChange", "clrCurrentAlertIndexChange"] }] });
|
|
20185
|
+
ClrAlerts.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrAlerts, selector: "clr-alerts", inputs: { _inputCurrentIndex: ["clrCurrentAlertIndex", "_inputCurrentIndex"], currentAlert: ["clrCurrentAlert", "currentAlert"] }, outputs: { currentAlertChange: "clrCurrentAlertChange", currentAlertIndexChange: "clrCurrentAlertIndexChange" }, host: { properties: { "class.alerts": "true", "class.alert-danger": "this.currentAlertType == 'danger'", "class.alert-info": "this.currentAlertType == 'info'", "class.alert-success": "this.currentAlertType == 'success'", "class.alert-warning": "this.currentAlertType == 'warning'", "class.alert-neutral": "this.currentAlertType == 'neutral'" } }, providers: [MultiAlertService], queries: [{ propertyName: "allAlerts", predicate: ClrAlert }], ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n<div class=\"alerts-wrapper\">\n <clr-alerts-pager *ngIf=\"multiAlertService.count > 1\" [clrCurrentAlertIndex]=\"currentAlertIndex\"></clr-alerts-pager>\n <ng-content select=\"clr-alert\"></ng-content>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ClrAlertsPager, selector: "clr-alerts-pager", inputs: ["clrCurrentAlert", "clrCurrentAlertIndex"], outputs: ["clrCurrentAlertChange", "clrCurrentAlertIndexChange"] }] });
|
|
20224
20186
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlerts, decorators: [{
|
|
20225
20187
|
type: Component,
|
|
20226
20188
|
args: [{ selector: 'clr-alerts', providers: [MultiAlertService], host: {
|
|
@@ -20229,6 +20191,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
20229
20191
|
'[class.alert-info]': "this.currentAlertType == 'info'",
|
|
20230
20192
|
'[class.alert-success]': "this.currentAlertType == 'success'",
|
|
20231
20193
|
'[class.alert-warning]': "this.currentAlertType == 'warning'",
|
|
20194
|
+
'[class.alert-neutral]': "this.currentAlertType == 'neutral'",
|
|
20232
20195
|
}, template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n<div class=\"alerts-wrapper\">\n <clr-alerts-pager *ngIf=\"multiAlertService.count > 1\" [clrCurrentAlertIndex]=\"currentAlertIndex\"></clr-alerts-pager>\n <ng-content select=\"clr-alert\"></ng-content>\n</div>\n", styles: [":host{display:block}\n"] }]
|
|
20233
20196
|
}], ctorParameters: function () { return [{ type: MultiAlertService }]; }, propDecorators: { currentAlertChange: [{
|
|
20234
20197
|
type: Output,
|
|
@@ -20259,12 +20222,12 @@ class ClrAlertModule {
|
|
|
20259
20222
|
}
|
|
20260
20223
|
}
|
|
20261
20224
|
ClrAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20262
|
-
ClrAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.2", ngImport: i0, type: ClrAlertModule, declarations: [ClrAlert, ClrAlertItem, ClrAlerts, ClrAlertsPager, ClrAlertText], imports: [CommonModule, ClrIconModule, ClrDropdownModule], exports: [ClrAlert, ClrAlertItem, ClrAlerts, ClrAlertsPager, ClrAlertText] });
|
|
20263
|
-
ClrAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlertModule, imports: [CommonModule, ClrIconModule, ClrDropdownModule] });
|
|
20225
|
+
ClrAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.2", ngImport: i0, type: ClrAlertModule, declarations: [ClrAlert, ClrAlertItem, ClrAlerts, ClrAlertsPager, ClrAlertText], imports: [CommonModule, ClrIconModule, ClrDropdownModule, ClrSpinnerModule], exports: [ClrAlert, ClrAlertItem, ClrAlerts, ClrAlertsPager, ClrAlertText] });
|
|
20226
|
+
ClrAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlertModule, imports: [CommonModule, ClrIconModule, ClrDropdownModule, ClrSpinnerModule] });
|
|
20264
20227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrAlertModule, decorators: [{
|
|
20265
20228
|
type: NgModule,
|
|
20266
20229
|
args: [{
|
|
20267
|
-
imports: [CommonModule, ClrIconModule, ClrDropdownModule],
|
|
20230
|
+
imports: [CommonModule, ClrIconModule, ClrDropdownModule, ClrSpinnerModule],
|
|
20268
20231
|
declarations: [CLR_ALERT_DIRECTIVES],
|
|
20269
20232
|
exports: [CLR_ALERT_DIRECTIVES],
|
|
20270
20233
|
}]
|
|
@@ -22157,12 +22120,10 @@ class ClrModal {
|
|
|
22157
22120
|
this.stopClose = false;
|
|
22158
22121
|
this.altClose = new EventEmitter(false);
|
|
22159
22122
|
this.labelledBy = this.modalId;
|
|
22160
|
-
// presently this is only used by inline wizards
|
|
22161
|
-
this.bypassScrollService = false;
|
|
22162
22123
|
}
|
|
22163
22124
|
// Detect when _open is set to true and set no-scrolling to true
|
|
22164
22125
|
ngOnChanges(changes) {
|
|
22165
|
-
if (
|
|
22126
|
+
if (changes && Object.prototype.hasOwnProperty.call(changes, '_open')) {
|
|
22166
22127
|
if (changes._open.currentValue) {
|
|
22167
22128
|
this._scrollingService.stopScrolling();
|
|
22168
22129
|
this.modalStackService.trackModalOpen(this);
|
|
@@ -22202,7 +22163,7 @@ class ClrModal {
|
|
|
22202
22163
|
}
|
|
22203
22164
|
}
|
|
22204
22165
|
ClrModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrModal, deps: [{ token: ScrollingService }, { token: ClrCommonStringsService }, { token: ModalStackService }], target: i0.ɵɵFactoryTarget.Component });
|
|
22205
|
-
ClrModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrModal, selector: "clr-modal", inputs: { _open: ["clrModalOpen", "_open"], closable: ["clrModalClosable", "closable"], closeButtonAriaLabel: ["clrModalCloseButtonAriaLabel", "closeButtonAriaLabel"], size: ["clrModalSize", "size"], staticBackdrop: ["clrModalStaticBackdrop", "staticBackdrop"], skipAnimation: ["clrModalSkipAnimation", "skipAnimation"], stopClose: ["clrModalPreventClose", "stopClose"], labelledBy: ["clrModalLabelledById", "labelledBy"]
|
|
22166
|
+
ClrModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrModal, selector: "clr-modal", inputs: { _open: ["clrModalOpen", "_open"], closable: ["clrModalClosable", "closable"], closeButtonAriaLabel: ["clrModalCloseButtonAriaLabel", "closeButtonAriaLabel"], size: ["clrModalSize", "size"], staticBackdrop: ["clrModalStaticBackdrop", "staticBackdrop"], skipAnimation: ["clrModalSkipAnimation", "skipAnimation"], stopClose: ["clrModalPreventClose", "stopClose"], labelledBy: ["clrModalLabelledById", "labelledBy"] }, outputs: { _openChanged: "clrModalOpenChange", altClose: "clrModalAlternateClose" }, host: { properties: { "class.open": "this._open" } }, usesOnChanges: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<div class=\"modal\" *ngIf=\"_open\">\n <!--fixme: revisit when ngClass works with exit animation-->\n <div\n cdkTrapFocus\n [cdkTrapFocusAutoCapture]=\"true\"\n [@fadeDown]=\"skipAnimation\"\n (@fadeDown.done)=\"fadeDone($event)\"\n class=\"modal-dialog\"\n [class.modal-sm]=\"size == 'sm'\"\n [class.modal-lg]=\"size == 'lg'\"\n [class.modal-xl]=\"size == 'xl'\"\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-hidden]=\"!_open\"\n [attr.aria-labelledby]=\"labelledBy\"\n >\n <div class=\"clr-sr-only\">{{commonStrings.keys.modalContentStart}}</div>\n <div class=\"modal-content-wrapper\">\n <!-- only used in wizards -->\n <ng-content select=\".modal-nav\"></ng-content>\n\n <div class=\"modal-content\">\n <div class=\"modal-header--accessible\">\n <div class=\"modal-title-wrapper\" id=\"{{modalId}}\" cdkFocusInitial tabindex=\"-1\">\n <ng-content select=\".modal-title\"></ng-content>\n </div>\n <button\n type=\"button\"\n [attr.aria-label]=\"closeButtonAriaLabel || commonStrings.keys.close\"\n class=\"close\"\n *ngIf=\"closable\"\n (click)=\"close()\"\n >\n <cds-icon shape=\"window-close\"></cds-icon>\n </button>\n </div>\n <div class=\"modal-body-wrapper\">\n <ng-content select=\".modal-body\"></ng-content>\n </div>\n <ng-content select=\".modal-footer\"></ng-content>\n </div>\n </div>\n <div class=\"clr-sr-only\">{{commonStrings.keys.modalContentEnd}}</div>\n </div>\n\n <div [@fade] class=\"modal-backdrop\" aria-hidden=\"true\" (click)=\"staticBackdrop || close()\"></div>\n</div>\n", styles: [":host{display:none}:host.open{display:inline}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "directive", type: CdsIconCustomTag, selector: "cds-icon" }], viewProviders: [ScrollingService], animations: [
|
|
22206
22167
|
trigger('fadeDown', [
|
|
22207
22168
|
transition('* => false', [style({ opacity: 0, transform: 'translate(0, -25%)' }), animate('0.2s ease-in-out')]),
|
|
22208
22169
|
transition('false => *', [animate('0.2s ease-in-out', style({ opacity: 0, transform: 'translate(0, -25%)' }))]),
|
|
@@ -22257,9 +22218,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
22257
22218
|
}], labelledBy: [{
|
|
22258
22219
|
type: Input,
|
|
22259
22220
|
args: ['clrModalLabelledById']
|
|
22260
|
-
}], bypassScrollService: [{
|
|
22261
|
-
type: Input,
|
|
22262
|
-
args: ['clrModalOverrideScrollService']
|
|
22263
22221
|
}] } });
|
|
22264
22222
|
|
|
22265
22223
|
/*
|
|
@@ -22918,26 +22876,14 @@ class ClrProgressBar {
|
|
|
22918
22876
|
get loopClass() {
|
|
22919
22877
|
return this._loop;
|
|
22920
22878
|
}
|
|
22921
|
-
/** @deprecated since 2.0, remove in 4.0 */
|
|
22922
|
-
set clrWarning(value) {
|
|
22923
|
-
this._warning = isBooleanAttributeSet(value);
|
|
22924
|
-
}
|
|
22925
22879
|
get warningClass() {
|
|
22926
|
-
return this.
|
|
22927
|
-
}
|
|
22928
|
-
/** @deprecated since 2.0, remove in 4.0 */
|
|
22929
|
-
set clrSuccess(value) {
|
|
22930
|
-
this._success = isBooleanAttributeSet(value);
|
|
22880
|
+
return this.color === 'warning';
|
|
22931
22881
|
}
|
|
22932
22882
|
get successClass() {
|
|
22933
|
-
return this.
|
|
22934
|
-
}
|
|
22935
|
-
/** @deprecated since 2.0, remove in 4.0 */
|
|
22936
|
-
set clrDanger(value) {
|
|
22937
|
-
this._danger = isBooleanAttributeSet(value);
|
|
22883
|
+
return this.color === 'success';
|
|
22938
22884
|
}
|
|
22939
22885
|
get dangerClass() {
|
|
22940
|
-
return this.
|
|
22886
|
+
return this.color === 'danger';
|
|
22941
22887
|
}
|
|
22942
22888
|
set clrFlash(value) {
|
|
22943
22889
|
this._flash = isBooleanAttributeSet(value);
|
|
@@ -22970,7 +22916,7 @@ class ClrProgressBar {
|
|
|
22970
22916
|
}
|
|
22971
22917
|
}
|
|
22972
22918
|
ClrProgressBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrProgressBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22973
|
-
ClrProgressBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrProgressBar, selector: "clr-progress-bar", inputs: { max: ["clrMax", "max"], displayval: ["clrDisplayval", "displayval"], value: ["clrValue", "value"], id: "id", clrCompact: "clrCompact", clrLabeled: "clrLabeled", clrFade: "clrFade", clrLoop: "clrLoop",
|
|
22919
|
+
ClrProgressBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrProgressBar, selector: "clr-progress-bar", inputs: { max: ["clrMax", "max"], displayval: ["clrDisplayval", "displayval"], color: ["clrColor", "color"], value: ["clrValue", "value"], id: "id", clrCompact: "clrCompact", clrLabeled: "clrLabeled", clrFade: "clrFade", clrLoop: "clrLoop", clrFlash: "clrFlash", clrFlashDanger: "clrFlashDanger" }, host: { properties: { "attr.id": "this.externalId", "class.progress": "this.progressClass", "class.compact": "this.compactClass", "class.labeled": "this.labeledClass", "class.progress-fade": "this.fadeClass", "class.loop": "this.loopClass", "class.warning": "this.warningClass", "class.success": "this.successClass", "class.danger": "this.dangerClass", "class.flash": "this.flashClass", "class.flash-danger": "this.flashDangerClass" } }, ngImport: i0, template: `
|
|
22974
22920
|
<progress [id]="id" [attr.max]="max" [attr.value]="value" [attr.data-displayval]="displayValue"></progress>
|
|
22975
22921
|
<span *ngIf="displayStringValue()">{{ displayValue }}</span>
|
|
22976
22922
|
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
@@ -22989,6 +22935,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
22989
22935
|
}], displayval: [{
|
|
22990
22936
|
type: Input,
|
|
22991
22937
|
args: ['clrDisplayval']
|
|
22938
|
+
}], color: [{
|
|
22939
|
+
type: Input,
|
|
22940
|
+
args: ['clrColor']
|
|
22992
22941
|
}], value: [{
|
|
22993
22942
|
type: Input,
|
|
22994
22943
|
args: ['clrValue']
|
|
@@ -23024,21 +22973,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
23024
22973
|
}], loopClass: [{
|
|
23025
22974
|
type: HostBinding,
|
|
23026
22975
|
args: ['class.loop']
|
|
23027
|
-
}], clrWarning: [{
|
|
23028
|
-
type: Input,
|
|
23029
|
-
args: ['clrWarning']
|
|
23030
22976
|
}], warningClass: [{
|
|
23031
22977
|
type: HostBinding,
|
|
23032
22978
|
args: ['class.warning']
|
|
23033
|
-
}], clrSuccess: [{
|
|
23034
|
-
type: Input,
|
|
23035
|
-
args: ['clrSuccess']
|
|
23036
22979
|
}], successClass: [{
|
|
23037
22980
|
type: HostBinding,
|
|
23038
22981
|
args: ['class.success']
|
|
23039
|
-
}], clrDanger: [{
|
|
23040
|
-
type: Input,
|
|
23041
|
-
args: ['clrDanger']
|
|
23042
22982
|
}], dangerClass: [{
|
|
23043
22983
|
type: HostBinding,
|
|
23044
22984
|
args: ['class.danger']
|
|
@@ -25371,14 +25311,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
25371
25311
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
25372
25312
|
*/
|
|
25373
25313
|
class ClrWizard {
|
|
25374
|
-
constructor(platformId, commonStrings, navService, pageCollection, buttonService, headerActionService,
|
|
25314
|
+
constructor(platformId, commonStrings, navService, pageCollection, buttonService, headerActionService, differs) {
|
|
25375
25315
|
this.platformId = platformId;
|
|
25376
25316
|
this.commonStrings = commonStrings;
|
|
25377
25317
|
this.navService = navService;
|
|
25378
25318
|
this.pageCollection = pageCollection;
|
|
25379
25319
|
this.buttonService = buttonService;
|
|
25380
25320
|
this.headerActionService = headerActionService;
|
|
25381
|
-
this.elementRef = elementRef;
|
|
25382
25321
|
/**
|
|
25383
25322
|
* Set the aria-label for the stepnav section of the wizard. Set using `[clrWizardStepnavAriaLabel]` input.
|
|
25384
25323
|
*/
|
|
@@ -25392,12 +25331,6 @@ class ClrWizard {
|
|
|
25392
25331
|
* in the top right corner. Set using `[clrWizardClosable]` input.
|
|
25393
25332
|
*/
|
|
25394
25333
|
this.closable = true;
|
|
25395
|
-
/**
|
|
25396
|
-
* Used to communicate to the underlying modal that animations are not
|
|
25397
|
-
* wanted. Primary use is for the display of static/inline wizards.
|
|
25398
|
-
* Set using `[clrWizardPreventModalAnimation]` input.
|
|
25399
|
-
*/
|
|
25400
|
-
this._stopModalAnimations = false;
|
|
25401
25334
|
/**
|
|
25402
25335
|
* Emits when the wizard is opened or closed.
|
|
25403
25336
|
* Listen via `(clrWizardOpenChange)` event.
|
|
@@ -25536,16 +25469,9 @@ class ClrWizard {
|
|
|
25536
25469
|
get isFirst() {
|
|
25537
25470
|
return this.navService.currentPageIsFirst;
|
|
25538
25471
|
}
|
|
25539
|
-
get isInline() {
|
|
25540
|
-
return this.elementRef.nativeElement.classList.contains('clr-wizard--inline');
|
|
25541
|
-
}
|
|
25542
|
-
get stopModalAnimations() {
|
|
25543
|
-
return this._stopModalAnimations ? 'true' : 'false';
|
|
25544
|
-
}
|
|
25545
25472
|
ngAfterContentInit() {
|
|
25546
25473
|
this.pageCollection.pages = this.pages;
|
|
25547
25474
|
this.headerActionService.wizardHeaderActions = this.headerActions;
|
|
25548
|
-
this.initializeButtons();
|
|
25549
25475
|
}
|
|
25550
25476
|
ngDoCheck() {
|
|
25551
25477
|
this.updateNavOnPageChanges();
|
|
@@ -25747,12 +25673,6 @@ class ClrWizard {
|
|
|
25747
25673
|
changes.forEachRemovedItem(() => this.navService.updateNavigation());
|
|
25748
25674
|
}
|
|
25749
25675
|
}
|
|
25750
|
-
initializeButtons() {
|
|
25751
|
-
// Only trigger buttons ready if default is open (inlined)
|
|
25752
|
-
if (this._open) {
|
|
25753
|
-
this.buttonService.buttonsReady = true;
|
|
25754
|
-
}
|
|
25755
|
-
}
|
|
25756
25676
|
emitWizardFinished() {
|
|
25757
25677
|
if (!this.stopNext) {
|
|
25758
25678
|
this.forceFinish();
|
|
@@ -25760,8 +25680,8 @@ class ClrWizard {
|
|
|
25760
25680
|
this.wizardFinished.emit();
|
|
25761
25681
|
}
|
|
25762
25682
|
}
|
|
25763
|
-
ClrWizard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrWizard, deps: [{ token: PLATFORM_ID }, { token: ClrCommonStringsService }, { token: WizardNavigationService }, { token: PageCollectionService }, { token: ButtonHubService }, { token: HeaderActionService }, { token: i0.
|
|
25764
|
-
ClrWizard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrWizard, selector: "clr-wizard", inputs: { stepnavAriaLabel: ["clrWizardStepnavAriaLabel", "stepnavAriaLabel"], size: ["clrWizardSize", "size"], closable: ["clrWizardClosable", "closable"],
|
|
25683
|
+
ClrWizard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrWizard, deps: [{ token: PLATFORM_ID }, { token: ClrCommonStringsService }, { token: WizardNavigationService }, { token: PageCollectionService }, { token: ButtonHubService }, { token: HeaderActionService }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Component });
|
|
25684
|
+
ClrWizard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClrWizard, selector: "clr-wizard", inputs: { stepnavAriaLabel: ["clrWizardStepnavAriaLabel", "stepnavAriaLabel"], size: ["clrWizardSize", "size"], closable: ["clrWizardClosable", "closable"], forceForward: ["clrWizardForceForwardNavigation", "forceForward"], clrWizardOpen: "clrWizardOpen", stopNext: ["clrWizardPreventDefaultNext", "stopNext"], stopCancel: ["clrWizardPreventDefaultCancel", "stopCancel"], stopNavigation: ["clrWizardPreventNavigation", "stopNavigation"], disableStepnav: ["clrWizardDisableStepnav", "disableStepnav"] }, outputs: { _openChanged: "clrWizardOpenChange", onCancel: "clrWizardOnCancel", wizardFinished: "clrWizardOnFinish", onReset: "clrWizardOnReset", currentPageChanged: "clrWizardCurrentPageChanged", onMoveNext: "clrWizardOnNext", onMovePrevious: "clrWizardOnPrevious" }, host: { properties: { "class.clr-wizard": "true", "class.wizard-md": "size == 'md'", "class.wizard-lg": "size == 'lg'", "class.wizard-xl": "size == 'xl'", "class.lastPage": "navService.currentPageIsLast" } }, providers: [WizardNavigationService, PageCollectionService, ButtonHubService, HeaderActionService], queries: [{ propertyName: "wizardTitle", first: true, predicate: ClrWizardTitle, descendants: true }, { propertyName: "pages", predicate: ClrWizardPage, descendants: true }, { propertyName: "headerActions", predicate: ClrWizardHeaderAction }], viewQueries: [{ propertyName: "pageTitle", first: true, predicate: ["pageTitle"], descendants: true }], ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<clr-modal\n [clrModalOpen]=\"_open\"\n [clrModalSize]=\"size\"\n [clrModalClosable]=\"closable\"\n [clrModalStaticBackdrop]=\"true\"\n [clrModalPreventClose]=\"true\"\n (clrModalAlternateClose)=\"modalCancel()\"\n [clrModalLabelledById]=\"wizardId\"\n>\n <div class=\"modal-nav clr-wizard-stepnav-wrapper\" role=\"region\" [attr.aria-label]=\"stepnavAriaLabel\">\n <div class=\"clr-wizard-title\" id=\"{{wizardId}}\" role=\"heading\" [attr.aria-level]=\"wizardTitle.headingLevel || 1\">\n <ng-content select=\"clr-wizard-title\"></ng-content>\n </div>\n <clr-wizard-stepnav></clr-wizard-stepnav>\n </div>\n\n <div class=\"modal-title\" role=\"heading\" [attr.aria-level]=\"navService.currentPage.pageTitle.headingLevel || 2\">\n <span tabindex=\"-1\" #pageTitle class=\"modal-title-text\">\n <ng-template [ngTemplateOutlet]=\"navService.currentPageTitle\"></ng-template>\n </span>\n\n <div class=\"modal-header-actions-wrapper\" *ngIf=\"headerActionService.displayHeaderActionsWrapper\">\n <div *ngIf=\"headerActionService.showWizardHeaderActions\">\n <ng-content select=\"clr-wizard-header-action\"></ng-content>\n </div>\n <div *ngIf=\"headerActionService.currentPageHasHeaderActions\">\n <ng-template [ngTemplateOutlet]=\"navService.currentPage.headerActions\"></ng-template>\n </div>\n </div>\n </div>\n\n <div class=\"modal-body\">\n <main clr-wizard-pages-wrapper class=\"clr-wizard-content\">\n <ng-content></ng-content>\n </main>\n </div>\n <div class=\"modal-footer clr-wizard-footer\">\n <div class=\"clr-wizard-footer-buttons\">\n <div\n *ngIf=\"navService.currentPage && !navService.currentPage.hasButtons\"\n class=\"clr-wizard-footer-buttons-wrapper\"\n >\n <ng-content select=\"clr-wizard-button\"></ng-content>\n </div>\n <div\n *ngIf=\"navService.currentPage && navService.currentPage.hasButtons\"\n class=\"clr-wizard-footer-buttons-wrapper\"\n >\n <ng-template [ngTemplateOutlet]=\"navService.currentPage.buttons\"></ng-template>\n </div>\n </div>\n </div>\n</clr-modal>\n", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ClrModal, selector: "clr-modal", inputs: ["clrModalOpen", "clrModalClosable", "clrModalCloseButtonAriaLabel", "clrModalSize", "clrModalStaticBackdrop", "clrModalSkipAnimation", "clrModalPreventClose", "clrModalLabelledById"], outputs: ["clrModalOpenChange", "clrModalAlternateClose"] }, { kind: "directive", type: ClrModalBody, selector: ".modal-body" }, { kind: "component", type: ClrWizardStepnav, selector: "clr-wizard-stepnav" }] });
|
|
25765
25685
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrWizard, decorators: [{
|
|
25766
25686
|
type: Component,
|
|
25767
25687
|
args: [{ selector: 'clr-wizard', providers: [WizardNavigationService, PageCollectionService, ButtonHubService, HeaderActionService], host: {
|
|
@@ -25770,11 +25690,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
25770
25690
|
'[class.wizard-lg]': "size == 'lg'",
|
|
25771
25691
|
'[class.wizard-xl]': "size == 'xl'",
|
|
25772
25692
|
'[class.lastPage]': 'navService.currentPageIsLast',
|
|
25773
|
-
}, template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<clr-modal\n [clrModalOpen]=\"_open\"\n [clrModalSize]=\"size\"\n [clrModalClosable]=\"closable\"\n [clrModalStaticBackdrop]=\"true\"\n [
|
|
25693
|
+
}, template: "<!--\n ~ Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<clr-modal\n [clrModalOpen]=\"_open\"\n [clrModalSize]=\"size\"\n [clrModalClosable]=\"closable\"\n [clrModalStaticBackdrop]=\"true\"\n [clrModalPreventClose]=\"true\"\n (clrModalAlternateClose)=\"modalCancel()\"\n [clrModalLabelledById]=\"wizardId\"\n>\n <div class=\"modal-nav clr-wizard-stepnav-wrapper\" role=\"region\" [attr.aria-label]=\"stepnavAriaLabel\">\n <div class=\"clr-wizard-title\" id=\"{{wizardId}}\" role=\"heading\" [attr.aria-level]=\"wizardTitle.headingLevel || 1\">\n <ng-content select=\"clr-wizard-title\"></ng-content>\n </div>\n <clr-wizard-stepnav></clr-wizard-stepnav>\n </div>\n\n <div class=\"modal-title\" role=\"heading\" [attr.aria-level]=\"navService.currentPage.pageTitle.headingLevel || 2\">\n <span tabindex=\"-1\" #pageTitle class=\"modal-title-text\">\n <ng-template [ngTemplateOutlet]=\"navService.currentPageTitle\"></ng-template>\n </span>\n\n <div class=\"modal-header-actions-wrapper\" *ngIf=\"headerActionService.displayHeaderActionsWrapper\">\n <div *ngIf=\"headerActionService.showWizardHeaderActions\">\n <ng-content select=\"clr-wizard-header-action\"></ng-content>\n </div>\n <div *ngIf=\"headerActionService.currentPageHasHeaderActions\">\n <ng-template [ngTemplateOutlet]=\"navService.currentPage.headerActions\"></ng-template>\n </div>\n </div>\n </div>\n\n <div class=\"modal-body\">\n <main clr-wizard-pages-wrapper class=\"clr-wizard-content\">\n <ng-content></ng-content>\n </main>\n </div>\n <div class=\"modal-footer clr-wizard-footer\">\n <div class=\"clr-wizard-footer-buttons\">\n <div\n *ngIf=\"navService.currentPage && !navService.currentPage.hasButtons\"\n class=\"clr-wizard-footer-buttons-wrapper\"\n >\n <ng-content select=\"clr-wizard-button\"></ng-content>\n </div>\n <div\n *ngIf=\"navService.currentPage && navService.currentPage.hasButtons\"\n class=\"clr-wizard-footer-buttons-wrapper\"\n >\n <ng-template [ngTemplateOutlet]=\"navService.currentPage.buttons\"></ng-template>\n </div>\n </div>\n </div>\n</clr-modal>\n" }]
|
|
25774
25694
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
25775
25695
|
type: Inject,
|
|
25776
25696
|
args: [PLATFORM_ID]
|
|
25777
|
-
}] }, { type: ClrCommonStringsService }, { type: WizardNavigationService }, { type: PageCollectionService }, { type: ButtonHubService }, { type: HeaderActionService }, { type: i0.
|
|
25697
|
+
}] }, { type: ClrCommonStringsService }, { type: WizardNavigationService }, { type: PageCollectionService }, { type: ButtonHubService }, { type: HeaderActionService }, { type: i0.IterableDiffers }]; }, propDecorators: { stepnavAriaLabel: [{
|
|
25778
25698
|
type: Input,
|
|
25779
25699
|
args: ['clrWizardStepnavAriaLabel']
|
|
25780
25700
|
}], size: [{
|
|
@@ -25783,9 +25703,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
25783
25703
|
}], closable: [{
|
|
25784
25704
|
type: Input,
|
|
25785
25705
|
args: ['clrWizardClosable']
|
|
25786
|
-
}], _stopModalAnimations: [{
|
|
25787
|
-
type: Input,
|
|
25788
|
-
args: ['clrWizardPreventModalAnimation']
|
|
25789
25706
|
}], _openChanged: [{
|
|
25790
25707
|
type: Output,
|
|
25791
25708
|
args: ['clrWizardOpenChange']
|
|
@@ -26430,15 +26347,9 @@ const CLR_MENU_POSITIONS = [
|
|
|
26430
26347
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
26431
26348
|
*/
|
|
26432
26349
|
|
|
26433
|
-
/*
|
|
26434
|
-
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
26435
|
-
* This software is released under MIT license.
|
|
26436
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
26437
|
-
*/
|
|
26438
|
-
|
|
26439
26350
|
/**
|
|
26440
26351
|
* Generated bundle index. Do not edit.
|
|
26441
26352
|
*/
|
|
26442
26353
|
|
|
26443
|
-
export { CHANGE_KEYS, CLR_ALERT_DIRECTIVES, CLR_BUTTON_GROUP_DIRECTIVES, CLR_DATAGRID_DIRECTIVES, CLR_DATEPICKER_DIRECTIVES, CLR_DROPDOWN_DIRECTIVES, CLR_ICON_DIRECTIVES, CLR_LAYOUT_DIRECTIVES, CLR_LOADING_BUTTON_DIRECTIVES, CLR_LOADING_DIRECTIVES, CLR_MENU_POSITIONS, CLR_MODAL_DIRECTIVES, CLR_NAVIGATION_DIRECTIVES, CLR_PROGRESS_BAR_DIRECTIVES, CLR_SIGNPOST_DIRECTIVES, CLR_SPINNER_DIRECTIVES, CLR_STACK_VIEW_DIRECTIVES, CLR_TABS_DIRECTIVES, CLR_TOOLTIP_DIRECTIVES, CLR_TREE_VIEW_DIRECTIVES, CLR_VERTICAL_NAV_DIRECTIVES, CLR_WIZARD_DIRECTIVES, CONDITIONAL_DIRECTIVES, CUSTOM_BUTTON_TYPES, CdsIconCustomTag, ClarityModule, ClrAbstractContainer, ClrAccordion, ClrAccordionContent, ClrAccordionDescription, ClrAccordionModule, ClrAccordionPanel, ClrAccordionTitle, ClrAlert, ClrAlertItem, ClrAlertModule, ClrAlertText, ClrAlerts, ClrAlertsPager, ClrAlignment, ClrAriaCurrentLink, ClrAxis, ClrButton, ClrButtonGroup, ClrButtonGroupModule, ClrButtonModule, ClrCalendar, ClrCheckbox, ClrCheckboxContainer, ClrCheckboxModule, ClrCheckboxWrapper, ClrCombobox, ClrComboboxContainer, ClrComboboxModule, ClrCommonFormsModule, ClrCommonStringsService, ClrConditionalModule, ClrControl, ClrControlContainer, ClrControlError, ClrControlHelper, ClrControlSuccess, ClrDataModule, ClrDatagrid, ClrDatagridActionBar, ClrDatagridActionOverflow, ClrDatagridCell, ClrDatagridColumn, ClrDatagridColumnSeparator, ClrDatagridColumnToggle, ClrDatagridColumnToggleButton, ClrDatagridDetail, ClrDatagridDetailBody, ClrDatagridDetailHeader, ClrDatagridFilter, ClrDatagridFooter, ClrDatagridHideableColumn, ClrDatagridItems,
|
|
26354
|
+
export { CHANGE_KEYS, CLR_ALERT_DIRECTIVES, CLR_BUTTON_GROUP_DIRECTIVES, CLR_DATAGRID_DIRECTIVES, CLR_DATEPICKER_DIRECTIVES, CLR_DROPDOWN_DIRECTIVES, CLR_ICON_DIRECTIVES, CLR_LAYOUT_DIRECTIVES, CLR_LOADING_BUTTON_DIRECTIVES, CLR_LOADING_DIRECTIVES, CLR_MENU_POSITIONS, CLR_MODAL_DIRECTIVES, CLR_NAVIGATION_DIRECTIVES, CLR_PROGRESS_BAR_DIRECTIVES, CLR_SIGNPOST_DIRECTIVES, CLR_SPINNER_DIRECTIVES, CLR_STACK_VIEW_DIRECTIVES, CLR_TABS_DIRECTIVES, CLR_TOOLTIP_DIRECTIVES, CLR_TREE_VIEW_DIRECTIVES, CLR_VERTICAL_NAV_DIRECTIVES, CLR_WIZARD_DIRECTIVES, CONDITIONAL_DIRECTIVES, CUSTOM_BUTTON_TYPES, CdsIconCustomTag, ClarityModule, ClrAbstractContainer, ClrAccordion, ClrAccordionContent, ClrAccordionDescription, ClrAccordionModule, ClrAccordionPanel, ClrAccordionTitle, ClrAlert, ClrAlertItem, ClrAlertModule, ClrAlertText, ClrAlerts, ClrAlertsPager, ClrAlignment, ClrAriaCurrentLink, ClrAxis, ClrButton, ClrButtonGroup, ClrButtonGroupModule, ClrButtonModule, ClrCalendar, ClrCheckbox, ClrCheckboxContainer, ClrCheckboxModule, ClrCheckboxWrapper, ClrCombobox, ClrComboboxContainer, ClrComboboxModule, ClrCommonFormsModule, ClrCommonStringsService, ClrConditionalModule, ClrControl, ClrControlContainer, ClrControlError, ClrControlHelper, ClrControlSuccess, ClrDataModule, ClrDatagrid, ClrDatagridActionBar, ClrDatagridActionOverflow, ClrDatagridCell, ClrDatagridColumn, ClrDatagridColumnSeparator, ClrDatagridColumnToggle, ClrDatagridColumnToggleButton, ClrDatagridDetail, ClrDatagridDetailBody, ClrDatagridDetailHeader, ClrDatagridFilter, ClrDatagridFooter, ClrDatagridHideableColumn, ClrDatagridItems, ClrDatagridModule, ClrDatagridPageSize, ClrDatagridPagination, ClrDatagridPlaceholder, ClrDatagridRow, ClrDatagridRowDetail, ClrDatagridSortOrder, ClrDatalist, ClrDatalistContainer, ClrDatalistInput, ClrDatalistModule, ClrDateContainer, ClrDateInput, ClrDateInputValidator, ClrDatepickerModule, ClrDatepickerViewManager, ClrDay, ClrDaypicker, ClrDestroyService, ClrDropdown, ClrDropdownItem, ClrDropdownMenu, ClrDropdownModule, ClrDropdownTrigger, ClrEmphasisModule, ClrExpandableAnimation, ClrFocusOnViewInit, ClrFocusOnViewInitModule, ClrForm, ClrFormLayout, ClrFormsModule, ClrHeader, ClrIconCustomTag, ClrIconModule, ClrIfActive, ClrIfDetail, ClrIfError, ClrIfExpanded, ClrIfOpen, ClrIfSuccess, ClrInput, ClrInputContainer, ClrInputModule, ClrLabel, ClrLayout, ClrLayoutModule, ClrLoading, ClrLoadingButton, ClrLoadingButtonModule, ClrLoadingModule, ClrLoadingState, ClrMainContainer, ClrMainContainerModule, ClrModal, ClrModalBody, ClrModalModule, ClrMonthpicker, ClrNavLevel, ClrNavigationModule, ClrOption, ClrOptionItems, ClrOptionSelected, ClrOptions, ClrPassword, ClrPasswordContainer, ClrPasswordModule, ClrPopoverAnchor, ClrPopoverContent, ClrPopoverEventsService, ClrPopoverHostDirective, ClrPopoverModule, ClrPopoverPositionService, ClrPopoverToggleService, ClrProgressBar, ClrProgressBarModule, ClrRadio, ClrRadioContainer, ClrRadioModule, ClrRadioWrapper, ClrRange, ClrRangeContainer, ClrRangeModule, ClrRecursiveForOf, ClrSelect, ClrSelectContainer, ClrSelectModule, ClrSelectedState, ClrSide, ClrSignpost, ClrSignpostContent, ClrSignpostModule, ClrSignpostTrigger, ClrSpinner, ClrSpinnerModule, ClrStackBlock, ClrStackContentInput, ClrStackHeader, ClrStackView, ClrStackViewCustomTags, ClrStackViewLabel, ClrStackViewModule, ClrStandaloneCdkTrapFocus, ClrStepButton, ClrStepButtonType, ClrStepper, ClrStepperModule, ClrStepperPanel, ClrStopEscapePropagationDirective, ClrTab, ClrTabContent, ClrTabLink, ClrTabOverflowContent, ClrTabs, ClrTabsModule, ClrTextarea, ClrTextareaContainer, ClrTextareaModule, ClrTimeline, ClrTimelineLayout, ClrTimelineModule, ClrTimelineStep, ClrTimelineStepDescription, ClrTimelineStepHeader, ClrTimelineStepState, ClrTimelineStepTitle, ClrTooltip, ClrTooltipContent, ClrTooltipModule, ClrTooltipTrigger, ClrTree, ClrTreeNode, ClrTreeNodeLink, ClrTreeViewModule, ClrVerticalNav, ClrVerticalNavGroup, ClrVerticalNavGroupChildren, ClrVerticalNavIcon, ClrVerticalNavLink, ClrVerticalNavModule, ClrWizard, ClrWizardButton, ClrWizardHeaderAction, ClrWizardModule, ClrWizardPage, ClrWizardPageButtons, ClrWizardPageHeaderActions, ClrWizardPageNavTitle, ClrWizardPageTitle, ClrWizardStepnav, ClrWizardStepnavItem, ClrWizardTitle, ClrYearpicker, DEFAULT_BUTTON_TYPES, DatagridNumericFilter, DatagridPropertyComparator, DatagridPropertyNumericFilter, DatagridPropertyStringFilter, DatagridStringFilter, EXPANDABLE_ANIMATION_DIRECTIVES, FOCUS_ON_VIEW_INIT, FOCUS_ON_VIEW_INIT_DIRECTIVES, IS_TOGGLE, IS_TOGGLE_PROVIDER, LoadingListener, MainContainerWillyWonka, NavDetectionOompaLoompa, TOGGLE_SERVICE, TOGGLE_SERVICE_PROVIDER, ToggleServiceFactory, WrappedFormControl, collapse, commonStringsDefault, fade, fadeSlide, isToggleFactory, slide, AccordionOompaLoompa as ÇlrAccordionOompaLoompa, AccordionWillyWonka as ÇlrAccordionWillyWonka, ActionableOompaLoompa as ÇlrActionableOompaLoompa, ActiveOompaLoompa as ÇlrActiveOompaLoompa, ClrPopoverCloseButton as ÇlrClrPopoverCloseButton, ClrPopoverModuleNext as ÇlrClrPopoverModuleNext, ClrPopoverOpenCloseButton as ÇlrClrPopoverOpenCloseButton, DatagridCellRenderer as ÇlrDatagridCellRenderer, DatagridDetailRegisterer as ÇlrDatagridDetailRegisterer, DatagridHeaderRenderer as ÇlrDatagridHeaderRenderer, DatagridMainRenderer as ÇlrDatagridMainRenderer, DatagridRowRenderer as ÇlrDatagridRowRenderer, ClrDatagridSelectionCellDirective as ÇlrDatagridSelectionCellDirective, DatagridWillyWonka as ÇlrDatagridWillyWonka, ExpandableOompaLoompa as ÇlrExpandableOompaLoompa, StepperOompaLoompa as ÇlrStepperOompaLoompa, StepperWillyWonka as ÇlrStepperWillyWonka, TabsWillyWonka as ÇlrTabsWillyWonka, WrappedCell as ÇlrWrappedCell, WrappedColumn as ÇlrWrappedColumn, WrappedRow as ÇlrWrappedRow };
|
|
26444
26355
|
//# sourceMappingURL=clr-angular.mjs.map
|