@bravura/ui 4.0.0 → 5.0.1

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.
Files changed (86) hide show
  1. package/CHANGELOG.md +587 -578
  2. package/README.md +56 -56
  3. package/esm2022/alert/alert-container.component.mjs +4 -4
  4. package/esm2022/alert/alert-message.component.mjs +4 -4
  5. package/esm2022/alert/alert.module.mjs +5 -5
  6. package/esm2022/behavior/await.directive.mjs +4 -4
  7. package/esm2022/behavior/behavior.module.mjs +5 -5
  8. package/esm2022/behavior/observe-content-class.directive.mjs +4 -4
  9. package/esm2022/behavior/sizing-monitor.directive.mjs +4 -4
  10. package/esm2022/behavior/sizing.directive.mjs +4 -4
  11. package/esm2022/clip-note/clip-note.component.mjs +4 -4
  12. package/esm2022/clip-note/clip-note.directive.mjs +4 -4
  13. package/esm2022/clip-note/clip-note.module.mjs +5 -5
  14. package/esm2022/common/common.module.mjs +5 -5
  15. package/esm2022/currency-input/currency-input.directive.mjs +4 -4
  16. package/esm2022/currency-input/currency-input.module.mjs +5 -5
  17. package/esm2022/decimal-input/decimal-input.directive.mjs +4 -4
  18. package/esm2022/decimal-input/decimal-input.module.mjs +5 -5
  19. package/esm2022/discrete-input/discrete-input.component.mjs +4 -4
  20. package/esm2022/discrete-input/discrete-input.module.mjs +5 -5
  21. package/esm2022/file-upload/file-upload.component.mjs +4 -4
  22. package/esm2022/file-upload/file-upload.module.mjs +5 -5
  23. package/esm2022/file-upload/file-upload.service.mjs +4 -4
  24. package/esm2022/form-field/form-field.component.mjs +7 -7
  25. package/esm2022/form-field/form-field.module.mjs +5 -5
  26. package/esm2022/icon-font/icon-font.module.mjs +5 -5
  27. package/esm2022/icon-font/icon.directive.mjs +4 -4
  28. package/esm2022/icon-font/utilities.mjs +1 -1
  29. package/esm2022/panel/panel-section.component.mjs +4 -4
  30. package/esm2022/panel/panel.component.mjs +4 -4
  31. package/esm2022/panel/panel.module.mjs +5 -5
  32. package/esm2022/panel/tinted.directive.mjs +4 -4
  33. package/esm2022/phone-number/phone-number.directive.mjs +4 -4
  34. package/esm2022/phone-number/phone-number.module.mjs +5 -5
  35. package/esm2022/phone-number/phone-number.pipe.mjs +4 -4
  36. package/esm2022/phone-number/phone-number.validator.mjs +4 -4
  37. package/esm2022/radio-panel/radio-panel-item.component.mjs +5 -5
  38. package/esm2022/radio-panel/radio-panel.component.mjs +4 -4
  39. package/esm2022/radio-panel/radio-panel.module.mjs +5 -5
  40. package/esm2022/selection-panel/selection-panel-item.component.mjs +4 -4
  41. package/esm2022/selection-panel/selection-panel.directive.mjs +4 -4
  42. package/esm2022/selection-panel/selection-panel.module.mjs +5 -5
  43. package/esm2022/skeletons/skeleton-loader-presets.directive.mjs +4 -4
  44. package/esm2022/skeletons/skeleton-loader.component.mjs +4 -4
  45. package/esm2022/skeletons/skeletons.module.mjs +5 -5
  46. package/esm2022/stepper/stepper.component.mjs +4 -4
  47. package/esm2022/stepper/stepper.module.mjs +5 -5
  48. package/esm2022/tooltip/tooltip.component.mjs +5 -5
  49. package/esm2022/tooltip/tooltip.directive.mjs +4 -4
  50. package/esm2022/tooltip/tooltip.module.mjs +5 -5
  51. package/fesm2022/bravura-ui-alert.mjs +10 -10
  52. package/fesm2022/bravura-ui-alert.mjs.map +1 -1
  53. package/fesm2022/bravura-ui-behavior.mjs +16 -16
  54. package/fesm2022/bravura-ui-behavior.mjs.map +1 -1
  55. package/fesm2022/bravura-ui-clip-note.mjs +10 -10
  56. package/fesm2022/bravura-ui-clip-note.mjs.map +1 -1
  57. package/fesm2022/bravura-ui-common.mjs +4 -4
  58. package/fesm2022/bravura-ui-common.mjs.map +1 -1
  59. package/fesm2022/bravura-ui-currency-input.mjs +7 -7
  60. package/fesm2022/bravura-ui-currency-input.mjs.map +1 -1
  61. package/fesm2022/bravura-ui-decimal-input.mjs +7 -7
  62. package/fesm2022/bravura-ui-decimal-input.mjs.map +1 -1
  63. package/fesm2022/bravura-ui-discrete-input.mjs +7 -7
  64. package/fesm2022/bravura-ui-discrete-input.mjs.map +1 -1
  65. package/fesm2022/bravura-ui-file-upload.mjs +10 -10
  66. package/fesm2022/bravura-ui-file-upload.mjs.map +1 -1
  67. package/fesm2022/bravura-ui-form-field.mjs +10 -10
  68. package/fesm2022/bravura-ui-form-field.mjs.map +1 -1
  69. package/fesm2022/bravura-ui-icon-font.mjs +7 -7
  70. package/fesm2022/bravura-ui-icon-font.mjs.map +1 -1
  71. package/fesm2022/bravura-ui-panel.mjs +13 -13
  72. package/fesm2022/bravura-ui-panel.mjs.map +1 -1
  73. package/fesm2022/bravura-ui-phone-number.mjs +13 -13
  74. package/fesm2022/bravura-ui-phone-number.mjs.map +1 -1
  75. package/fesm2022/bravura-ui-radio-panel.mjs +11 -11
  76. package/fesm2022/bravura-ui-radio-panel.mjs.map +1 -1
  77. package/fesm2022/bravura-ui-selection-panel.mjs +10 -10
  78. package/fesm2022/bravura-ui-selection-panel.mjs.map +1 -1
  79. package/fesm2022/bravura-ui-skeletons.mjs +10 -10
  80. package/fesm2022/bravura-ui-skeletons.mjs.map +1 -1
  81. package/fesm2022/bravura-ui-stepper.mjs +7 -7
  82. package/fesm2022/bravura-ui-stepper.mjs.map +1 -1
  83. package/fesm2022/bravura-ui-tooltip.mjs +11 -11
  84. package/fesm2022/bravura-ui-tooltip.mjs.map +1 -1
  85. package/package.json +22 -19
  86. package/theme/_ui-theme.scss +112 -112
@@ -144,14 +144,14 @@ class StepperComponent extends CdkStepper {
144
144
  this.changeDetectorRef.markForCheck();
145
145
  });
146
146
  }
147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StepperComponent, deps: [{ token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DOCUMENT }, { token: STEPPER_GLOBAL_OPTIONS, self: true }, { token: STEPPER_GLOBAL_OPTIONS, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component }); }
148
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: StepperComponent, selector: "bui-stepper, [buiStepper]", inputs: { selectedIndex: "selectedIndex", disableRipple: "disableRipple", color: "color", indicatorFormatter: "indicatorFormatter", nextStepLabelPrefix: "nextStepLabelPrefix" }, outputs: { animationDone: "animationDone" }, host: { attributes: { "role": "tablist" }, properties: { "attr.aria-orientation": "orientation" }, classAttribute: "bui-stepper bui-host" }, providers: [
147
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperComponent, deps: [{ token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DOCUMENT }, { token: STEPPER_GLOBAL_OPTIONS, self: true }, { token: STEPPER_GLOBAL_OPTIONS, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component }); }
148
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: StepperComponent, selector: "bui-stepper, [buiStepper]", inputs: { selectedIndex: "selectedIndex", disableRipple: "disableRipple", color: "color", indicatorFormatter: "indicatorFormatter", nextStepLabelPrefix: "nextStepLabelPrefix" }, outputs: { animationDone: "animationDone" }, host: { attributes: { "role": "tablist" }, properties: { "attr.aria-orientation": "orientation" }, classAttribute: "bui-stepper bui-host" }, providers: [
149
149
  { provide: MatStepper, useExisting: StepperComponent },
150
150
  { provide: CdkStepper, useExisting: StepperComponent },
151
151
  { provide: STEPPER_GLOBAL_OPTIONS, useValue: { displayDefaultIndicatorType: false } }
152
152
  ], queries: [{ propertyName: "_steps", predicate: MatStep, descendants: true }, { propertyName: "_icons", predicate: MatStepperIcon, descendants: true }], viewQueries: [{ propertyName: "_editIconTemplate", first: true, predicate: ["editIconTemplate"], descendants: true, static: true }, { propertyName: "_stepHeader", predicate: MatStepHeader, descendants: true }], exportAs: ["buiStepper", "matStepper", "matVerticalStepper", "matHorizontalStepper"], usesInheritance: true, ngImport: i0, template: "<div class=\"bui-stepper-wrapper\" [style.display]=\"_leftDrawerState.startsWith('open') ? 'flex' : 'block'\" #sizeMonitor>\r\n\t<div\r\n\t\tclass=\"bui-stepper-left-header-container\"\r\n\t\t[@leftDrawer]=\"_leftDrawerState\"\r\n\t\t(@leftDrawer.start)=\"_leftDrawerStarted.next($event)\"\r\n\t\t(@leftDrawer.done)=\"_leftDrawerEnded.next($event)\"\r\n\t>\r\n\t\t<div\r\n\t\t\t*ngFor=\"let step of steps; let i = index; let isLast = last\"\r\n\t\t\tclass=\"bui-stepper-header-wrapper\"\r\n\t\t\t[class.bui-stepper-vertical-line]=\"!isLast\"\r\n\t\t>\r\n\t\t\t<mat-step-header\r\n\t\t\t\tclass=\"bui-stepper-header\"\r\n\t\t\t\t(click)=\"step.select()\"\r\n\t\t\t\t(keydown)=\"_onKeydown($event)\"\r\n\t\t\t\t[tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\r\n\t\t\t\t[id]=\"_getStepLabelId(i)\"\r\n\t\t\t\t[attr.aria-posinset]=\"i + 1\"\r\n\t\t\t\t[attr.aria-setsize]=\"steps.length\"\r\n\t\t\t\t[attr.aria-controls]=\"_getStepContentId(i)\"\r\n\t\t\t\t[attr.aria-selected]=\"selectedIndex == i\"\r\n\t\t\t\t[attr.aria-label]=\"step.ariaLabel || null\"\r\n\t\t\t\t[attr.aria-labelledby]=\"!step.ariaLabel && step.ariaLabelledby ? step.ariaLabelledby : null\"\r\n\t\t\t\t[attr.aria-disabled]=\"_stepIsNavigable(i, step) ? null : true\"\r\n\t\t\t\t[index]=\"i\"\r\n\t\t\t\t[state]=\"_getIndicatorType(i, step.state)\"\r\n\t\t\t\t[label]=\"step.stepLabel || step.label\"\r\n\t\t\t\t[selected]=\"selectedIndex === i\"\r\n\t\t\t\t[active]=\"_stepIsNavigable(i, step)\"\r\n\t\t\t\t[optional]=\"step.optional\"\r\n\t\t\t\t[errorMessage]=\"step.errorMessage\"\r\n\t\t\t\t[iconOverrides]=\"_iconOverrides\"\r\n\t\t\t\t[disableRipple]=\"disableRipple || !_stepIsNavigable(i, step)\"\r\n\t\t\t\t[color]=\"step.color || color\"\r\n\t\t\t></mat-step-header>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"bui-stepper-content-container\" [buiSizingBy]=\"sizeMonitor\" (buiResized)=\"_widthChanged($event.width)\">\r\n\t\t<div\r\n\t\t\tclass=\"bui-stepper-top-header-container\"\r\n\t\t\t[class.bui-stepper-header-active]=\"_leftDrawerState === 'void'\"\r\n\t\t\t[@topDrawer]=\"_topDrawerState\"\r\n\t\t\t(@topDrawer.start)=\"_topDrawerStarted.next($event)\"\r\n\t\t\t(@topDrawer.done)=\"_topDrawerEnded.next($event)\"\r\n\t\t>\r\n\t\t\t<div\r\n\t\t\t\tclass=\"bui-stepper-top-header-progress\"\r\n\t\t\t\t[style]=\"'height:' + _progressCircleSize + 'px; width:' + _progressCircleSize + 'px'\"\r\n\t\t\t>\r\n\t\t\t\t<mat-progress-spinner\r\n\t\t\t\t\tclass=\"bui-progress-spinner-light\"\r\n\t\t\t\t\t[value]=\"100\"\r\n\t\t\t\t\t[diameter]=\"_progressCircleSize\"\r\n\t\t\t\t\t[strokeWidth]=\"_progressCircleWidth\"\r\n\t\t\t\t></mat-progress-spinner>\r\n\t\t\t\t<mat-progress-spinner\r\n\t\t\t\t\t[color]=\"color\"\r\n\t\t\t\t\t[value]=\"((selectedIndex + 1) * 100) / steps.length\"\r\n\t\t\t\t\t[diameter]=\"_progressCircleSize\"\r\n\t\t\t\t\t[strokeWidth]=\"_progressCircleWidth\"\r\n\t\t\t\t></mat-progress-spinner>\r\n\t\t\t\t<span class=\"bui-stepper-top-header-indicator\">\r\n\t\t\t\t\t{{ indicatorFormatter(selectedIndex + 1, steps.length) }}\r\n\t\t\t\t</span>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"bui-stepper-top-header-titles-wrapper\" *ngIf=\"selected\">\r\n\t\t\t\t<div class=\"bui-stepper-top-header-title\">\r\n\t\t\t\t\t<ng-template\r\n\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\r\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: selected }\"\r\n\t\t\t\t\t></ng-template>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"bui-stepper-top-header-title-next\" *ngIf=\"selectedIndex < steps.length - 1\">\r\n\t\t\t\t\t{{ nextStepLabelPrefix }}\r\n\t\t\t\t\t<ng-template\r\n\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\r\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: steps.get(selectedIndex + 1) }\"\r\n\t\t\t\t\t></ng-template>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"bui-stepper-content-wrapper\" [class.bui-stepper-content-wrapper-transitioning]=\"_stepTransitioning\">\r\n\t\t\t<div\r\n\t\t\t\t*ngFor=\"let step of steps; let i = index\"\r\n\t\t\t\tclass=\"bui-stepper-content\"\r\n\t\t\t\trole=\"tabpanel\"\r\n\t\t\t\t[@stepTransition]=\"_getAnimationDirection(i)\"\r\n\t\t\t\t(@stepTransition.start)=\"_startStepTransition()\"\r\n\t\t\t\t(@stepTransition.done)=\"_animationDone.next($event)\"\r\n\t\t\t\t[id]=\"_getStepContentId(i)\"\r\n\t\t\t\t[attr.aria-labelledby]=\"_getStepLabelId(i)\"\r\n\t\t\t\t[attr.aria-expanded]=\"selectedIndex === i\"\r\n\t\t\t>\r\n\t\t\t\t<div class=\"bui-stepper-content-header-label\" *ngIf=\"!_narrow\">\r\n\t\t\t\t\t<ng-template [ngTemplateOutlet]=\"labelTemplate\" [ngTemplateOutletContext]=\"{ $implicit: step }\"></ng-template>\r\n\t\t\t\t</div>\r\n\t\t\t\t<ng-template [ngTemplateOutlet]=\"step.content\"></ng-template>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n\r\n<ng-template #labelTemplate let-step>\r\n\t<ng-template [ngIf]=\"step.stepLabel\" [ngIfElse]=\"stringLabelTempl\">\r\n\t\t<ng-template [ngTemplateOutlet]=\"step.stepLabel.template\"></ng-template>\r\n\t</ng-template>\r\n\t<ng-template #stringLabelTempl>{{ step.label }}</ng-template>\r\n</ng-template>\r\n\r\n<ng-template #editIconTemplate let-index=\"index\">\r\n\t<span>{{ index + 1 }}</span>\r\n</ng-template>\r\n", styles: [".bui-stepper:not([hidden]){display:block;box-sizing:border-box}.bui-stepper-wrapper{display:flex;box-sizing:border-box;background-color:var(--bui-bg-card)}.bui-stepper-left-header-container{max-width:30%}.bui-stepper-header-wrapper{position:relative}.bui-stepper-vertical-line:before{content:\"\";position:absolute;left:28px;border-left-width:1px;border-left-style:solid;border-left-color:var(--bui-color-divider);top:44px;bottom:-12px}[dir=rtl] .bui-stepper-vertical-line:before{left:auto;right:0}.bui-stepper-content-header-label{font-size:larger;font-weight:700;margin-bottom:32px}.bui-stepper .bui-stepper-header{display:flex;align-items:center;padding:0 16px;height:56px}.bui-stepper .bui-stepper-header .mat-step-icon{margin-right:16px}[dir=rtl] .bui-stepper .bui-stepper-header .mat-step-icon{margin-right:0;margin-left:16px}.bui-stepper .bui-stepper-header .mat-step-icon.mat-step-icon-state-done{background-color:var(--bui-color-success);color:#fff}.bui-stepper .bui-stepper-header .mat-step-icon.mat-step-icon-state-number{color:var(--bui-bg-card)}.bui-stepper-top-header-container{display:flex;align-items:stretch}.bui-stepper-top-header-container.bui-stepper-header-active{margin-bottom:16px}.bui-progress-spinner-light circle{stroke:var(--bui-color-divider)!important}.bui-stepper-top-header-progress{position:relative;display:flex;justify-content:center;align-items:center;margin-right:16px}[dir=rtl] .bui-stepper-top-header-progress{margin-right:unset;margin-left:16px}.bui-stepper-top-header-progress>.mat-mdc-progress-spinner{position:absolute}.bui-stepper-top-header-progress .bui-stepper-top-header-indicator{color:var(--bui-color-muted)}.bui-stepper-top-header-titles-wrapper{display:flex;flex-basis:max-content;flex-direction:column;justify-content:space-evenly;flex-shrink:3}.bui-stepper-top-header-title{font-size:larger}.bui-stepper-top-header-title-next{color:var(--bui-color-muted)}.bui-stepper-content-container{flex:1 1 100%;padding:16px;display:flex;flex-direction:column}.bui-stepper-content-wrapper{flex:1 1 100%}.bui-stepper-content-wrapper-transitioning{overflow:hidden}.bui-stepper-content{outline:0}.bui-stepper-content[aria-expanded=false]{height:0;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.MatStepHeader, selector: "mat-step-header", inputs: ["state", "label", "errorMessage", "iconOverrides", "index", "selected", "active", "optional", "disableRipple", "color"] }, { kind: "component", type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i5.SizingDirective, selector: "[buiSizing],[buiResized],[buiSizingBy],[buiFixedHeight]", inputs: ["buiSizing", "sizingBy", "buiSizingBy", "buiFixedHeight"], outputs: ["buiResized"] }], animations: [animation.stepTransition, animation.leftDrawer, animation.topDrawer], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
153
153
  }
154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StepperComponent, decorators: [{
154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperComponent, decorators: [{
155
155
  type: Component,
156
156
  args: [{ selector: 'bui-stepper, [buiStepper]', exportAs: 'buiStepper, matStepper, matVerticalStepper, matHorizontalStepper', inputs: ['selectedIndex'], host: {
157
157
  class: 'bui-stepper bui-host',
@@ -204,8 +204,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
204
204
  }] } });
205
205
 
206
206
  class StepperModule {
207
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
208
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: StepperModule, declarations: [StepperComponent], imports: [CommonModule,
207
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
208
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: StepperModule, declarations: [StepperComponent], imports: [CommonModule,
209
209
  PortalModule,
210
210
  CdkStepperModule,
211
211
  MatStepperModule,
@@ -214,7 +214,7 @@ class StepperModule {
214
214
  MatRippleModule,
215
215
  MatProgressSpinnerModule,
216
216
  BehaviorModule], exports: [StepperComponent, MatStepperModule] }); }
217
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StepperModule, imports: [CommonModule,
217
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperModule, imports: [CommonModule,
218
218
  PortalModule,
219
219
  CdkStepperModule,
220
220
  MatStepperModule,
@@ -224,7 +224,7 @@ class StepperModule {
224
224
  MatProgressSpinnerModule,
225
225
  BehaviorModule, MatStepperModule] }); }
226
226
  }
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StepperModule, decorators: [{
227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperModule, decorators: [{
228
228
  type: NgModule,
229
229
  args: [{
230
230
  declarations: [StepperComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"bravura-ui-stepper.mjs","sources":["../../../projects/ui/stepper/stepper-animation.ts","../../../projects/ui/stepper/stepper.component.ts","../../../projects/ui/stepper/stepper.component.html","../../../projects/ui/stepper/stepper.module.ts","../../../projects/ui/stepper/bravura-ui-stepper.ts"],"sourcesContent":["import {\r\n\tanimate,\r\n\tAnimationStateMetadata,\r\n\tAnimationTransitionMetadata,\r\n\tstate,\r\n\tstyle,\r\n\ttransition,\r\n\ttrigger\r\n} from '@angular/animations';\r\n\r\nfunction drawerAnimations(isLeft: boolean): (AnimationStateMetadata | AnimationTransitionMetadata)[] {\r\n\tconst closedStyle = { opacity: '0', height: 0, width: 0, visibility: 'hidden' };\r\n\tconst left = { ...closedStyle, transform: 'translateX(50%)' };\r\n\tconst height = { ...closedStyle, transform: 'scaleY(0.5)' };\r\n\treturn [\r\n\t\tstate('open, open-instant', style({ visibility: 'visible' })),\r\n\t\tstate('void', style(isLeft ? left : height)),\r\n\t\ttransition('void => open-instant', animate('0ms')),\r\n\t\ttransition('void <=> open, open-instant => void', animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)'))\r\n\t];\r\n}\r\n\r\nexport default {\r\n\tstepTransition: trigger('stepTransition', [\r\n\t\tstate('previous', style({ transform: 'translate3d(0, -100%, 0)', visibility: 'hidden' })),\r\n\t\tstate('current', style({ transform: 'none', visibility: 'inherit' })),\r\n\t\tstate('next', style({ transform: 'translate3d(0, 100%, 0)', visibility: 'hidden' })),\r\n\t\ttransition('* => *', animate('500ms cubic-bezier(0.35, 0, 0.25, 1)'))\r\n\t]),\r\n\r\n\tleftDrawer: trigger('leftDrawer', drawerAnimations(true)),\r\n\ttopDrawer: trigger('topDrawer', drawerAnimations(false))\r\n};\r\n","import { AnimationEvent } from '@angular/animations';\r\nimport { Directionality } from '@angular/cdk/bidi';\r\nimport { CdkStepper, STEPPER_GLOBAL_OPTIONS, StepContentPositionState, StepperOptions } from '@angular/cdk/stepper';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport {\r\n\tAfterContentInit,\r\n\tChangeDetectionStrategy,\r\n\tChangeDetectorRef,\r\n\tComponent,\r\n\tContentChildren,\r\n\tElementRef,\r\n\tEventEmitter,\r\n\tInject,\r\n\tInput,\r\n\tOptional,\r\n\tOutput,\r\n\tQueryList,\r\n\tSelf,\r\n\tSkipSelf,\r\n\tTemplateRef,\r\n\tViewChild,\r\n\tViewChildren,\r\n\tViewEncapsulation\r\n} from '@angular/core';\r\nimport { ThemePalette } from '@angular/material/core';\r\nimport { MatStep, MatStepHeader, MatStepper, MatStepperIcon, MatStepperIconContext } from '@angular/material/stepper';\r\nimport { Subject } from 'rxjs';\r\nimport { distinctUntilChanged, filter, takeUntil } from 'rxjs/operators';\r\nimport animation from './stepper-animation';\r\n\r\n/** @ignore */\r\nconst BREAKPOINT = 768;\r\n\r\n/**\r\n * [Angular Material's stepper](https://material.angular.io/components/stepper/overview) provides a wizard-like workflow by dividing\r\n * content into logical steps.\r\n *\r\n * This stepper extends Angular's to customise the presentation of its headers to achieve a better user experience in both mobile and\r\n * desktop browsers.\r\n *\r\n */\r\n@Component({\r\n\tselector: 'bui-stepper, [buiStepper]',\r\n\texportAs: 'buiStepper, matStepper, matVerticalStepper, matHorizontalStepper',\r\n\ttemplateUrl: './stepper.component.html',\r\n\tstyleUrls: ['./stepper.component.scss'],\r\n\tinputs: ['selectedIndex'],\r\n\thost: {\r\n\t\tclass: 'bui-stepper bui-host',\r\n\t\t'[attr.aria-orientation]': 'orientation',\r\n\t\trole: 'tablist'\r\n\t},\r\n\tanimations: [animation.stepTransition, animation.leftDrawer, animation.topDrawer],\r\n\tproviders: [\r\n\t\t{ provide: MatStepper, useExisting: StepperComponent },\r\n\t\t{ provide: CdkStepper, useExisting: StepperComponent },\r\n\t\t{ provide: STEPPER_GLOBAL_OPTIONS, useValue: { displayDefaultIndicatorType: false } }\r\n\t],\r\n\tencapsulation: ViewEncapsulation.None,\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class StepperComponent extends CdkStepper implements AfterContentInit {\r\n\t/** @ignore The list of step headers of the steps in the stepper. */\r\n\t@ViewChildren(MatStepHeader) override _stepHeader!: QueryList<MatStepHeader>;\r\n\r\n\t/** @ignore Full list of steps inside the stepper, including inside nested steppers. */\r\n\t@ContentChildren(MatStep, { descendants: true }) override _steps!: QueryList<MatStep>;\r\n\r\n\t/** @ignore Steps that belong to the current stepper, excluding ones from nested steppers. */\r\n\toverride readonly steps: QueryList<MatStep> = new QueryList<MatStep>();\r\n\r\n\t/** @ignore Custom icon overrides passed in by the consumer. */\r\n\t@ContentChildren(MatStepperIcon, { descendants: true }) _icons!: QueryList<MatStepperIcon>;\r\n\r\n\t/** @ignore Event emitted when the current step is done transitioning in. */\r\n\t@Output() readonly animationDone: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n\t/** Whether ripples should be disabled for the step headers. */\r\n\t@Input() disableRipple?: boolean;\r\n\r\n\t/** Theme color for all of the steps in stepper. */\r\n\t@Input() color: ThemePalette;\r\n\r\n\t/**\r\n\t * A function that constructs the text in the progress cycle for the 'narrow' view.\r\n\t *\r\n\t * Default value: `'{selected step} of {total number of steps}'`\r\n\t */\r\n\t@Input() indicatorFormatter: (index: number, total: number) => string;\r\n\r\n\t/** The text that precedes the name of the next step label, used in the 'narrow' view. */\r\n\t@Input() nextStepLabelPrefix = 'Next: ';\r\n\r\n\t/** @ignore Consumer-specified template-refs to be used to override the header icons. */\r\n\t_iconOverrides: Record<string, TemplateRef<MatStepperIconContext>> = {};\r\n\r\n\t/** @ignore Stream of animation `done` events when the body expands/collapses. */\r\n\treadonly _animationDone = new Subject<AnimationEvent>();\r\n\r\n\t/** @ignore Whether the stepper is in a narrow container */\r\n\t_narrow = false;\r\n\r\n\t/** @ignore Emits whenever the drawer has started animating. */\r\n\treadonly _leftDrawerStarted = new Subject<AnimationEvent>();\r\n\t/** @ignore Emits whenever the drawer is done animating. */\r\n\treadonly _leftDrawerEnded = new Subject<AnimationEvent>();\r\n\t/** @ignore Current state of the sidenav animation. */\r\n\t_leftDrawerState: 'open-instant' | 'open' | 'void' = 'open-instant';\r\n\r\n\t/** @ignore Emits whenever the drawer has started animating. */\r\n\treadonly _topDrawerStarted = new Subject<AnimationEvent>();\r\n\t/** @ignore Emits whenever the drawer is done animating. */\r\n\treadonly _topDrawerEnded = new Subject<AnimationEvent>();\r\n\t/** @ignore Current state of the sidenav animation. */\r\n\t_topDrawerState: 'open-instant' | 'open' | 'void' = 'void';\r\n\r\n\t/** @ignore */ readonly _progressCircleSize = 80;\r\n\t/** @ignore */ readonly _progressCircleWidth = 5;\r\n\t/** @ignore */ _stepTransitioning = false;\r\n\r\n\t@ViewChild('editIconTemplate', { static: true })\r\n\tprivate _editIconTemplate!: TemplateRef<any>;\r\n\r\n\tconstructor(\r\n\t\t@Optional() dir: Directionality,\r\n\t\tprivate changeDetectorRef: ChangeDetectorRef,\r\n\t\tprivate _buiElRef: ElementRef<HTMLElement>,\r\n\t\t@Inject(DOCUMENT) _document: any,\r\n\t\t@Self() @Inject(STEPPER_GLOBAL_OPTIONS) stepperOptions: StepperOptions,\r\n\t\t@Optional() @SkipSelf() @Inject(STEPPER_GLOBAL_OPTIONS) defaultStepperOptions?: StepperOptions\r\n\t) {\r\n\t\tsuper(dir, changeDetectorRef, _buiElRef);\r\n\t\tthis.orientation = 'vertical';\r\n\t\tthis.indicatorFormatter = (index, total) => `${index} of ${total}`;\r\n\t\tObject.keys(defaultStepperOptions || {})\r\n\t\t\t.filter(k => k !== 'displayDefaultIndicatorType')\r\n\t\t\t.forEach(((k: keyof StepperOptions) => (stepperOptions[k] = defaultStepperOptions![k])) as any);\r\n\t}\r\n\r\n\toverride ngAfterContentInit() {\r\n\t\tsuper.ngAfterContentInit();\r\n\t\tthis._icons.forEach(({ name, templateRef }) => (this._iconOverrides[name] = templateRef));\r\n\r\n\t\t// Mark the component for change detection whenever the content children query changes\r\n\t\tthis.steps.changes.pipe(takeUntil(this._destroyed)).subscribe(() => {\r\n\t\t\tthis._stateChanged();\r\n\t\t});\r\n\r\n\t\tthis._animationDone\r\n\t\t\t.pipe(\r\n\t\t\t\tdistinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState),\r\n\t\t\t\ttakeUntil(this._destroyed)\r\n\t\t\t)\r\n\t\t\t.subscribe(event => {\r\n\t\t\t\tif ((event.toState as StepContentPositionState) === 'current') {\r\n\t\t\t\t\tthis.animationDone.emit();\r\n\t\t\t\t\tthis._stepTransitioning = false;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\tthis._leftDrawerEnded\r\n\t\t\t.pipe(\r\n\t\t\t\tdistinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState),\r\n\t\t\t\tfilter(ev => ev.toState === 'void' && ev.toState !== ev.fromState),\r\n\t\t\t\ttakeUntil(this._destroyed)\r\n\t\t\t)\r\n\t\t\t.subscribe(() => {\r\n\t\t\t\tthis._topDrawerState = 'open';\r\n\t\t\t});\r\n\r\n\t\tthis._topDrawerEnded\r\n\t\t\t.pipe(\r\n\t\t\t\tdistinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState),\r\n\t\t\t\tfilter(ev => ev.toState === 'void' && ev.toState !== ev.fromState),\r\n\t\t\t\ttakeUntil(this._destroyed)\r\n\t\t\t)\r\n\t\t\t.subscribe(() => {\r\n\t\t\t\tthis._leftDrawerState = 'open';\r\n\t\t\t});\r\n\t\tthis._iconOverrides.edit = this._iconOverrides.edit || this._editIconTemplate;\r\n\t}\r\n\r\n\t/** @ignore */\r\n\t_stepIsNavigable(index: number, step: MatStep): boolean {\r\n\t\treturn step.completed || this.selectedIndex === index || !this.linear;\r\n\t}\r\n\r\n\t/** @ignore */\r\n\t_widthChanged(w: number) {\r\n\t\tconst narrow = Math.abs(w - BREAKPOINT) < 20 ? this._narrow : w < BREAKPOINT;\r\n\t\tconst cls = 'bui-stepper-narrow';\r\n\t\tconst classList = this._buiElRef.nativeElement.classList;\r\n\t\tif (narrow) {\r\n\t\t\tthis._leftDrawerState = 'void';\r\n\t\t\tclassList.add(cls);\r\n\t\t} else {\r\n\t\t\tthis._topDrawerState = 'void';\r\n\t\t\tclassList.remove(cls);\r\n\t\t}\r\n\t\tif (this._narrow !== narrow) {\r\n\t\t\tthis._narrow = narrow;\r\n\t\t\tthis._stateChanged();\r\n\t\t}\r\n\t}\r\n\r\n\t/** @ignore */\r\n\t_startStepTransition() {\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis._stepTransitioning = true;\r\n\t\t\tthis.changeDetectorRef.markForCheck();\r\n\t\t});\r\n\t}\r\n}\r\n","<div class=\"bui-stepper-wrapper\" [style.display]=\"_leftDrawerState.startsWith('open') ? 'flex' : 'block'\" #sizeMonitor>\r\n\t<div\r\n\t\tclass=\"bui-stepper-left-header-container\"\r\n\t\t[@leftDrawer]=\"_leftDrawerState\"\r\n\t\t(@leftDrawer.start)=\"_leftDrawerStarted.next($event)\"\r\n\t\t(@leftDrawer.done)=\"_leftDrawerEnded.next($event)\"\r\n\t>\r\n\t\t<div\r\n\t\t\t*ngFor=\"let step of steps; let i = index; let isLast = last\"\r\n\t\t\tclass=\"bui-stepper-header-wrapper\"\r\n\t\t\t[class.bui-stepper-vertical-line]=\"!isLast\"\r\n\t\t>\r\n\t\t\t<mat-step-header\r\n\t\t\t\tclass=\"bui-stepper-header\"\r\n\t\t\t\t(click)=\"step.select()\"\r\n\t\t\t\t(keydown)=\"_onKeydown($event)\"\r\n\t\t\t\t[tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\r\n\t\t\t\t[id]=\"_getStepLabelId(i)\"\r\n\t\t\t\t[attr.aria-posinset]=\"i + 1\"\r\n\t\t\t\t[attr.aria-setsize]=\"steps.length\"\r\n\t\t\t\t[attr.aria-controls]=\"_getStepContentId(i)\"\r\n\t\t\t\t[attr.aria-selected]=\"selectedIndex == i\"\r\n\t\t\t\t[attr.aria-label]=\"step.ariaLabel || null\"\r\n\t\t\t\t[attr.aria-labelledby]=\"!step.ariaLabel && step.ariaLabelledby ? step.ariaLabelledby : null\"\r\n\t\t\t\t[attr.aria-disabled]=\"_stepIsNavigable(i, step) ? null : true\"\r\n\t\t\t\t[index]=\"i\"\r\n\t\t\t\t[state]=\"_getIndicatorType(i, step.state)\"\r\n\t\t\t\t[label]=\"step.stepLabel || step.label\"\r\n\t\t\t\t[selected]=\"selectedIndex === i\"\r\n\t\t\t\t[active]=\"_stepIsNavigable(i, step)\"\r\n\t\t\t\t[optional]=\"step.optional\"\r\n\t\t\t\t[errorMessage]=\"step.errorMessage\"\r\n\t\t\t\t[iconOverrides]=\"_iconOverrides\"\r\n\t\t\t\t[disableRipple]=\"disableRipple || !_stepIsNavigable(i, step)\"\r\n\t\t\t\t[color]=\"step.color || color\"\r\n\t\t\t></mat-step-header>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"bui-stepper-content-container\" [buiSizingBy]=\"sizeMonitor\" (buiResized)=\"_widthChanged($event.width)\">\r\n\t\t<div\r\n\t\t\tclass=\"bui-stepper-top-header-container\"\r\n\t\t\t[class.bui-stepper-header-active]=\"_leftDrawerState === 'void'\"\r\n\t\t\t[@topDrawer]=\"_topDrawerState\"\r\n\t\t\t(@topDrawer.start)=\"_topDrawerStarted.next($event)\"\r\n\t\t\t(@topDrawer.done)=\"_topDrawerEnded.next($event)\"\r\n\t\t>\r\n\t\t\t<div\r\n\t\t\t\tclass=\"bui-stepper-top-header-progress\"\r\n\t\t\t\t[style]=\"'height:' + _progressCircleSize + 'px; width:' + _progressCircleSize + 'px'\"\r\n\t\t\t>\r\n\t\t\t\t<mat-progress-spinner\r\n\t\t\t\t\tclass=\"bui-progress-spinner-light\"\r\n\t\t\t\t\t[value]=\"100\"\r\n\t\t\t\t\t[diameter]=\"_progressCircleSize\"\r\n\t\t\t\t\t[strokeWidth]=\"_progressCircleWidth\"\r\n\t\t\t\t></mat-progress-spinner>\r\n\t\t\t\t<mat-progress-spinner\r\n\t\t\t\t\t[color]=\"color\"\r\n\t\t\t\t\t[value]=\"((selectedIndex + 1) * 100) / steps.length\"\r\n\t\t\t\t\t[diameter]=\"_progressCircleSize\"\r\n\t\t\t\t\t[strokeWidth]=\"_progressCircleWidth\"\r\n\t\t\t\t></mat-progress-spinner>\r\n\t\t\t\t<span class=\"bui-stepper-top-header-indicator\">\r\n\t\t\t\t\t{{ indicatorFormatter(selectedIndex + 1, steps.length) }}\r\n\t\t\t\t</span>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"bui-stepper-top-header-titles-wrapper\" *ngIf=\"selected\">\r\n\t\t\t\t<div class=\"bui-stepper-top-header-title\">\r\n\t\t\t\t\t<ng-template\r\n\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\r\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: selected }\"\r\n\t\t\t\t\t></ng-template>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"bui-stepper-top-header-title-next\" *ngIf=\"selectedIndex < steps.length - 1\">\r\n\t\t\t\t\t{{ nextStepLabelPrefix }}\r\n\t\t\t\t\t<ng-template\r\n\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\r\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: steps.get(selectedIndex + 1) }\"\r\n\t\t\t\t\t></ng-template>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"bui-stepper-content-wrapper\" [class.bui-stepper-content-wrapper-transitioning]=\"_stepTransitioning\">\r\n\t\t\t<div\r\n\t\t\t\t*ngFor=\"let step of steps; let i = index\"\r\n\t\t\t\tclass=\"bui-stepper-content\"\r\n\t\t\t\trole=\"tabpanel\"\r\n\t\t\t\t[@stepTransition]=\"_getAnimationDirection(i)\"\r\n\t\t\t\t(@stepTransition.start)=\"_startStepTransition()\"\r\n\t\t\t\t(@stepTransition.done)=\"_animationDone.next($event)\"\r\n\t\t\t\t[id]=\"_getStepContentId(i)\"\r\n\t\t\t\t[attr.aria-labelledby]=\"_getStepLabelId(i)\"\r\n\t\t\t\t[attr.aria-expanded]=\"selectedIndex === i\"\r\n\t\t\t>\r\n\t\t\t\t<div class=\"bui-stepper-content-header-label\" *ngIf=\"!_narrow\">\r\n\t\t\t\t\t<ng-template [ngTemplateOutlet]=\"labelTemplate\" [ngTemplateOutletContext]=\"{ $implicit: step }\"></ng-template>\r\n\t\t\t\t</div>\r\n\t\t\t\t<ng-template [ngTemplateOutlet]=\"step.content\"></ng-template>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n\r\n<ng-template #labelTemplate let-step>\r\n\t<ng-template [ngIf]=\"step.stepLabel\" [ngIfElse]=\"stringLabelTempl\">\r\n\t\t<ng-template [ngTemplateOutlet]=\"step.stepLabel.template\"></ng-template>\r\n\t</ng-template>\r\n\t<ng-template #stringLabelTempl>{{ step.label }}</ng-template>\r\n</ng-template>\r\n\r\n<ng-template #editIconTemplate let-index=\"index\">\r\n\t<span>{{ index + 1 }}</span>\r\n</ng-template>\r\n","import { PortalModule } from '@angular/cdk/portal';\r\nimport { CdkStepperModule } from '@angular/cdk/stepper';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatRippleModule } from '@angular/material/core';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { BehaviorModule } from '@bravura/ui/behavior';\r\nimport { StepperComponent } from './stepper.component';\r\n\r\n@NgModule({\r\n\tdeclarations: [StepperComponent],\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tPortalModule,\r\n\t\tCdkStepperModule,\r\n\t\tMatStepperModule,\r\n\t\tMatButtonModule,\r\n\t\tMatIconModule,\r\n\t\tMatRippleModule,\r\n\t\tMatProgressSpinnerModule,\r\n\t\tBehaviorModule\r\n\t],\r\n\texports: [StepperComponent, MatStepperModule]\r\n})\r\nexport class StepperModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAUA,SAAS,gBAAgB,CAAC,MAAe,EAAA;AACxC,IAAA,MAAM,WAAW,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC;IAChF,MAAM,IAAI,GAAG,EAAE,GAAG,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC9D,MAAM,MAAM,GAAG,EAAE,GAAG,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;IAC5D,OAAO;QACN,KAAK,CAAC,oBAAoB,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC;AAC7D,QAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,GAAG,MAAM,CAAC,CAAC;AAC5C,QAAA,UAAU,CAAC,sBAAsB,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;AAClD,QAAA,UAAU,CAAC,qCAAqC,EAAE,OAAO,CAAC,wCAAwC,CAAC,CAAC;KACpG,CAAC;AACH,CAAC;AAED,gBAAe;AACd,IAAA,cAAc,EAAE,OAAO,CAAC,gBAAgB,EAAE;AACzC,QAAA,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,0BAA0B,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;AACzF,QAAA,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,S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a,CAAA;+GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;gHAAb,aAAa,EAAA,YAAA,EAAA,CAdV,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAE9B,YAAY;YACZ,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,eAAe;YACf,aAAa;YACb,eAAe;YACf,wBAAwB;YACxB,cAAc,CAAA,EAAA,OAAA,EAAA,CAEL,gBAAgB,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;AAEhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAZxB,YAAY;YACZ,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,eAAe;YACf,aAAa;YACb,eAAe;YACf,wBAAwB;AACxB,YAAA,cAAc,EAEa,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAEhC,aAAa,EAAA,UAAA,EAAA,CAAA;kBAfzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACR,YAAY;wBACZ,YAAY;wBACZ,gBAAgB;wBAChB,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,eAAe;wBACf,wBAAwB;wBACxB,cAAc;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;AAC7C,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
1
+ {"version":3,"file":"bravura-ui-stepper.mjs","sources":["../../../projects/ui/stepper/stepper-animation.ts","../../../projects/ui/stepper/stepper.component.ts","../../../projects/ui/stepper/stepper.component.html","../../../projects/ui/stepper/stepper.module.ts","../../../projects/ui/stepper/bravura-ui-stepper.ts"],"sourcesContent":["import {\r\n\tanimate,\r\n\tAnimationStateMetadata,\r\n\tAnimationTransitionMetadata,\r\n\tstate,\r\n\tstyle,\r\n\ttransition,\r\n\ttrigger\r\n} from '@angular/animations';\r\n\r\nfunction drawerAnimations(isLeft: boolean): (AnimationStateMetadata | AnimationTransitionMetadata)[] {\r\n\tconst closedStyle = { opacity: '0', height: 0, width: 0, visibility: 'hidden' };\r\n\tconst left = { ...closedStyle, transform: 'translateX(50%)' };\r\n\tconst height = { ...closedStyle, transform: 'scaleY(0.5)' };\r\n\treturn [\r\n\t\tstate('open, open-instant', style({ visibility: 'visible' })),\r\n\t\tstate('void', style(isLeft ? left : height)),\r\n\t\ttransition('void => open-instant', animate('0ms')),\r\n\t\ttransition('void <=> open, open-instant => void', animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)'))\r\n\t];\r\n}\r\n\r\nexport default {\r\n\tstepTransition: trigger('stepTransition', [\r\n\t\tstate('previous', style({ transform: 'translate3d(0, -100%, 0)', visibility: 'hidden' })),\r\n\t\tstate('current', style({ transform: 'none', visibility: 'inherit' })),\r\n\t\tstate('next', style({ transform: 'translate3d(0, 100%, 0)', visibility: 'hidden' })),\r\n\t\ttransition('* => *', animate('500ms cubic-bezier(0.35, 0, 0.25, 1)'))\r\n\t]),\r\n\r\n\tleftDrawer: trigger('leftDrawer', drawerAnimations(true)),\r\n\ttopDrawer: trigger('topDrawer', drawerAnimations(false))\r\n};\r\n","import { AnimationEvent } from '@angular/animations';\r\nimport { Directionality } from '@angular/cdk/bidi';\r\nimport { CdkStepper, STEPPER_GLOBAL_OPTIONS, StepContentPositionState, StepperOptions } from '@angular/cdk/stepper';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport {\r\n\tAfterContentInit,\r\n\tChangeDetectionStrategy,\r\n\tChangeDetectorRef,\r\n\tComponent,\r\n\tContentChildren,\r\n\tElementRef,\r\n\tEventEmitter,\r\n\tInject,\r\n\tInput,\r\n\tOptional,\r\n\tOutput,\r\n\tQueryList,\r\n\tSelf,\r\n\tSkipSelf,\r\n\tTemplateRef,\r\n\tViewChild,\r\n\tViewChildren,\r\n\tViewEncapsulation\r\n} from '@angular/core';\r\nimport { ThemePalette } from '@angular/material/core';\r\nimport { MatStep, MatStepHeader, MatStepper, MatStepperIcon, MatStepperIconContext } from '@angular/material/stepper';\r\nimport { Subject } from 'rxjs';\r\nimport { distinctUntilChanged, filter, takeUntil } from 'rxjs/operators';\r\nimport animation from './stepper-animation';\r\n\r\n/** @ignore */\r\nconst BREAKPOINT = 768;\r\n\r\n/**\r\n * [Angular Material's stepper](https://material.angular.io/components/stepper/overview) provides a wizard-like workflow by dividing\r\n * content into logical steps.\r\n *\r\n * This stepper extends Angular's to customise the presentation of its headers to achieve a better user experience in both mobile and\r\n * desktop browsers.\r\n *\r\n */\r\n@Component({\r\n\tselector: 'bui-stepper, [buiStepper]',\r\n\texportAs: 'buiStepper, matStepper, matVerticalStepper, matHorizontalStepper',\r\n\ttemplateUrl: './stepper.component.html',\r\n\tstyleUrls: ['./stepper.component.scss'],\r\n\tinputs: ['selectedIndex'],\r\n\thost: {\r\n\t\tclass: 'bui-stepper bui-host',\r\n\t\t'[attr.aria-orientation]': 'orientation',\r\n\t\trole: 'tablist'\r\n\t},\r\n\tanimations: [animation.stepTransition, animation.leftDrawer, animation.topDrawer],\r\n\tproviders: [\r\n\t\t{ provide: MatStepper, useExisting: StepperComponent },\r\n\t\t{ provide: CdkStepper, useExisting: StepperComponent },\r\n\t\t{ provide: STEPPER_GLOBAL_OPTIONS, useValue: { displayDefaultIndicatorType: false } }\r\n\t],\r\n\tencapsulation: ViewEncapsulation.None,\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class StepperComponent extends CdkStepper implements AfterContentInit {\r\n\t/** @ignore The list of step headers of the steps in the stepper. */\r\n\t@ViewChildren(MatStepHeader) override _stepHeader!: QueryList<MatStepHeader>;\r\n\r\n\t/** @ignore Full list of steps inside the stepper, including inside nested steppers. */\r\n\t@ContentChildren(MatStep, { descendants: true }) override _steps!: QueryList<MatStep>;\r\n\r\n\t/** @ignore Steps that belong to the current stepper, excluding ones from nested steppers. */\r\n\toverride readonly steps: QueryList<MatStep> = new QueryList<MatStep>();\r\n\r\n\t/** @ignore Custom icon overrides passed in by the consumer. */\r\n\t@ContentChildren(MatStepperIcon, { descendants: true }) _icons!: QueryList<MatStepperIcon>;\r\n\r\n\t/** @ignore Event emitted when the current step is done transitioning in. */\r\n\t@Output() readonly animationDone: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n\t/** Whether ripples should be disabled for the step headers. */\r\n\t@Input() disableRipple?: boolean;\r\n\r\n\t/** Theme color for all of the steps in stepper. */\r\n\t@Input() color: ThemePalette;\r\n\r\n\t/**\r\n\t * A function that constructs the text in the progress cycle for the 'narrow' view.\r\n\t *\r\n\t * Default value: `'{selected step} of {total number of steps}'`\r\n\t */\r\n\t@Input() indicatorFormatter: (index: number, total: number) => string;\r\n\r\n\t/** The text that precedes the name of the next step label, used in the 'narrow' view. */\r\n\t@Input() nextStepLabelPrefix = 'Next: ';\r\n\r\n\t/** @ignore Consumer-specified template-refs to be used to override the header icons. */\r\n\t_iconOverrides: Record<string, TemplateRef<MatStepperIconContext>> = {};\r\n\r\n\t/** @ignore Stream of animation `done` events when the body expands/collapses. */\r\n\treadonly _animationDone = new Subject<AnimationEvent>();\r\n\r\n\t/** @ignore Whether the stepper is in a narrow container */\r\n\t_narrow = false;\r\n\r\n\t/** @ignore Emits whenever the drawer has started animating. */\r\n\treadonly _leftDrawerStarted = new Subject<AnimationEvent>();\r\n\t/** @ignore Emits whenever the drawer is done animating. */\r\n\treadonly _leftDrawerEnded = new Subject<AnimationEvent>();\r\n\t/** @ignore Current state of the sidenav animation. */\r\n\t_leftDrawerState: 'open-instant' | 'open' | 'void' = 'open-instant';\r\n\r\n\t/** @ignore Emits whenever the drawer has started animating. */\r\n\treadonly _topDrawerStarted = new Subject<AnimationEvent>();\r\n\t/** @ignore Emits whenever the drawer is done animating. */\r\n\treadonly _topDrawerEnded = new Subject<AnimationEvent>();\r\n\t/** @ignore Current state of the sidenav animation. */\r\n\t_topDrawerState: 'open-instant' | 'open' | 'void' = 'void';\r\n\r\n\t/** @ignore */ readonly _progressCircleSize = 80;\r\n\t/** @ignore */ readonly _progressCircleWidth = 5;\r\n\t/** @ignore */ _stepTransitioning = false;\r\n\r\n\t@ViewChild('editIconTemplate', { static: true })\r\n\tprivate _editIconTemplate!: TemplateRef<any>;\r\n\r\n\tconstructor(\r\n\t\t@Optional() dir: Directionality,\r\n\t\tprivate changeDetectorRef: ChangeDetectorRef,\r\n\t\tprivate _buiElRef: ElementRef<HTMLElement>,\r\n\t\t@Inject(DOCUMENT) _document: any,\r\n\t\t@Self() @Inject(STEPPER_GLOBAL_OPTIONS) stepperOptions: StepperOptions,\r\n\t\t@Optional() @SkipSelf() @Inject(STEPPER_GLOBAL_OPTIONS) defaultStepperOptions?: StepperOptions\r\n\t) {\r\n\t\tsuper(dir, changeDetectorRef, _buiElRef);\r\n\t\tthis.orientation = 'vertical';\r\n\t\tthis.indicatorFormatter = (index, total) => `${index} of ${total}`;\r\n\t\tObject.keys(defaultStepperOptions || {})\r\n\t\t\t.filter(k => k !== 'displayDefaultIndicatorType')\r\n\t\t\t.forEach(((k: keyof StepperOptions) => (stepperOptions[k] = defaultStepperOptions![k])) as any);\r\n\t}\r\n\r\n\toverride ngAfterContentInit() {\r\n\t\tsuper.ngAfterContentInit();\r\n\t\tthis._icons.forEach(({ name, templateRef }) => (this._iconOverrides[name] = templateRef));\r\n\r\n\t\t// Mark the component for change detection whenever the content children query changes\r\n\t\tthis.steps.changes.pipe(takeUntil(this._destroyed)).subscribe(() => {\r\n\t\t\tthis._stateChanged();\r\n\t\t});\r\n\r\n\t\tthis._animationDone\r\n\t\t\t.pipe(\r\n\t\t\t\tdistinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState),\r\n\t\t\t\ttakeUntil(this._destroyed)\r\n\t\t\t)\r\n\t\t\t.subscribe(event => {\r\n\t\t\t\tif ((event.toState as StepContentPositionState) === 'current') {\r\n\t\t\t\t\tthis.animationDone.emit();\r\n\t\t\t\t\tthis._stepTransitioning = false;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\tthis._leftDrawerEnded\r\n\t\t\t.pipe(\r\n\t\t\t\tdistinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState),\r\n\t\t\t\tfilter(ev => ev.toState === 'void' && ev.toState !== ev.fromState),\r\n\t\t\t\ttakeUntil(this._destroyed)\r\n\t\t\t)\r\n\t\t\t.subscribe(() => {\r\n\t\t\t\tthis._topDrawerState = 'open';\r\n\t\t\t});\r\n\r\n\t\tthis._topDrawerEnded\r\n\t\t\t.pipe(\r\n\t\t\t\tdistinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState),\r\n\t\t\t\tfilter(ev => ev.toState === 'void' && ev.toState !== ev.fromState),\r\n\t\t\t\ttakeUntil(this._destroyed)\r\n\t\t\t)\r\n\t\t\t.subscribe(() => {\r\n\t\t\t\tthis._leftDrawerState = 'open';\r\n\t\t\t});\r\n\t\tthis._iconOverrides.edit = this._iconOverrides.edit || this._editIconTemplate;\r\n\t}\r\n\r\n\t/** @ignore */\r\n\t_stepIsNavigable(index: number, step: MatStep): boolean {\r\n\t\treturn step.completed || this.selectedIndex === index || !this.linear;\r\n\t}\r\n\r\n\t/** @ignore */\r\n\t_widthChanged(w: number) {\r\n\t\tconst narrow = Math.abs(w - BREAKPOINT) < 20 ? this._narrow : w < BREAKPOINT;\r\n\t\tconst cls = 'bui-stepper-narrow';\r\n\t\tconst classList = this._buiElRef.nativeElement.classList;\r\n\t\tif (narrow) {\r\n\t\t\tthis._leftDrawerState = 'void';\r\n\t\t\tclassList.add(cls);\r\n\t\t} else {\r\n\t\t\tthis._topDrawerState = 'void';\r\n\t\t\tclassList.remove(cls);\r\n\t\t}\r\n\t\tif (this._narrow !== narrow) {\r\n\t\t\tthis._narrow = narrow;\r\n\t\t\tthis._stateChanged();\r\n\t\t}\r\n\t}\r\n\r\n\t/** @ignore */\r\n\t_startStepTransition() {\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis._stepTransitioning = true;\r\n\t\t\tthis.changeDetectorRef.markForCheck();\r\n\t\t});\r\n\t}\r\n}\r\n","<div class=\"bui-stepper-wrapper\" [style.display]=\"_leftDrawerState.startsWith('open') ? 'flex' : 'block'\" #sizeMonitor>\r\n\t<div\r\n\t\tclass=\"bui-stepper-left-header-container\"\r\n\t\t[@leftDrawer]=\"_leftDrawerState\"\r\n\t\t(@leftDrawer.start)=\"_leftDrawerStarted.next($event)\"\r\n\t\t(@leftDrawer.done)=\"_leftDrawerEnded.next($event)\"\r\n\t>\r\n\t\t<div\r\n\t\t\t*ngFor=\"let step of steps; let i = index; let isLast = last\"\r\n\t\t\tclass=\"bui-stepper-header-wrapper\"\r\n\t\t\t[class.bui-stepper-vertical-line]=\"!isLast\"\r\n\t\t>\r\n\t\t\t<mat-step-header\r\n\t\t\t\tclass=\"bui-stepper-header\"\r\n\t\t\t\t(click)=\"step.select()\"\r\n\t\t\t\t(keydown)=\"_onKeydown($event)\"\r\n\t\t\t\t[tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\r\n\t\t\t\t[id]=\"_getStepLabelId(i)\"\r\n\t\t\t\t[attr.aria-posinset]=\"i + 1\"\r\n\t\t\t\t[attr.aria-setsize]=\"steps.length\"\r\n\t\t\t\t[attr.aria-controls]=\"_getStepContentId(i)\"\r\n\t\t\t\t[attr.aria-selected]=\"selectedIndex == i\"\r\n\t\t\t\t[attr.aria-label]=\"step.ariaLabel || null\"\r\n\t\t\t\t[attr.aria-labelledby]=\"!step.ariaLabel && step.ariaLabelledby ? step.ariaLabelledby : null\"\r\n\t\t\t\t[attr.aria-disabled]=\"_stepIsNavigable(i, step) ? null : true\"\r\n\t\t\t\t[index]=\"i\"\r\n\t\t\t\t[state]=\"_getIndicatorType(i, step.state)\"\r\n\t\t\t\t[label]=\"step.stepLabel || step.label\"\r\n\t\t\t\t[selected]=\"selectedIndex === i\"\r\n\t\t\t\t[active]=\"_stepIsNavigable(i, step)\"\r\n\t\t\t\t[optional]=\"step.optional\"\r\n\t\t\t\t[errorMessage]=\"step.errorMessage\"\r\n\t\t\t\t[iconOverrides]=\"_iconOverrides\"\r\n\t\t\t\t[disableRipple]=\"disableRipple || !_stepIsNavigable(i, step)\"\r\n\t\t\t\t[color]=\"step.color || color\"\r\n\t\t\t></mat-step-header>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"bui-stepper-content-container\" [buiSizingBy]=\"sizeMonitor\" (buiResized)=\"_widthChanged($event.width)\">\r\n\t\t<div\r\n\t\t\tclass=\"bui-stepper-top-header-container\"\r\n\t\t\t[class.bui-stepper-header-active]=\"_leftDrawerState === 'void'\"\r\n\t\t\t[@topDrawer]=\"_topDrawerState\"\r\n\t\t\t(@topDrawer.start)=\"_topDrawerStarted.next($event)\"\r\n\t\t\t(@topDrawer.done)=\"_topDrawerEnded.next($event)\"\r\n\t\t>\r\n\t\t\t<div\r\n\t\t\t\tclass=\"bui-stepper-top-header-progress\"\r\n\t\t\t\t[style]=\"'height:' + _progressCircleSize + 'px; width:' + _progressCircleSize + 'px'\"\r\n\t\t\t>\r\n\t\t\t\t<mat-progress-spinner\r\n\t\t\t\t\tclass=\"bui-progress-spinner-light\"\r\n\t\t\t\t\t[value]=\"100\"\r\n\t\t\t\t\t[diameter]=\"_progressCircleSize\"\r\n\t\t\t\t\t[strokeWidth]=\"_progressCircleWidth\"\r\n\t\t\t\t></mat-progress-spinner>\r\n\t\t\t\t<mat-progress-spinner\r\n\t\t\t\t\t[color]=\"color\"\r\n\t\t\t\t\t[value]=\"((selectedIndex + 1) * 100) / steps.length\"\r\n\t\t\t\t\t[diameter]=\"_progressCircleSize\"\r\n\t\t\t\t\t[strokeWidth]=\"_progressCircleWidth\"\r\n\t\t\t\t></mat-progress-spinner>\r\n\t\t\t\t<span class=\"bui-stepper-top-header-indicator\">\r\n\t\t\t\t\t{{ indicatorFormatter(selectedIndex + 1, steps.length) }}\r\n\t\t\t\t</span>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"bui-stepper-top-header-titles-wrapper\" *ngIf=\"selected\">\r\n\t\t\t\t<div class=\"bui-stepper-top-header-title\">\r\n\t\t\t\t\t<ng-template\r\n\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\r\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: selected }\"\r\n\t\t\t\t\t></ng-template>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"bui-stepper-top-header-title-next\" *ngIf=\"selectedIndex < steps.length - 1\">\r\n\t\t\t\t\t{{ nextStepLabelPrefix }}\r\n\t\t\t\t\t<ng-template\r\n\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\r\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: steps.get(selectedIndex + 1) }\"\r\n\t\t\t\t\t></ng-template>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"bui-stepper-content-wrapper\" [class.bui-stepper-content-wrapper-transitioning]=\"_stepTransitioning\">\r\n\t\t\t<div\r\n\t\t\t\t*ngFor=\"let step of steps; let i = index\"\r\n\t\t\t\tclass=\"bui-stepper-content\"\r\n\t\t\t\trole=\"tabpanel\"\r\n\t\t\t\t[@stepTransition]=\"_getAnimationDirection(i)\"\r\n\t\t\t\t(@stepTransition.start)=\"_startStepTransition()\"\r\n\t\t\t\t(@stepTransition.done)=\"_animationDone.next($event)\"\r\n\t\t\t\t[id]=\"_getStepContentId(i)\"\r\n\t\t\t\t[attr.aria-labelledby]=\"_getStepLabelId(i)\"\r\n\t\t\t\t[attr.aria-expanded]=\"selectedIndex === i\"\r\n\t\t\t>\r\n\t\t\t\t<div class=\"bui-stepper-content-header-label\" *ngIf=\"!_narrow\">\r\n\t\t\t\t\t<ng-template [ngTemplateOutlet]=\"labelTemplate\" [ngTemplateOutletContext]=\"{ $implicit: step }\"></ng-template>\r\n\t\t\t\t</div>\r\n\t\t\t\t<ng-template [ngTemplateOutlet]=\"step.content\"></ng-template>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n\r\n<ng-template #labelTemplate let-step>\r\n\t<ng-template [ngIf]=\"step.stepLabel\" [ngIfElse]=\"stringLabelTempl\">\r\n\t\t<ng-template [ngTemplateOutlet]=\"step.stepLabel.template\"></ng-template>\r\n\t</ng-template>\r\n\t<ng-template #stringLabelTempl>{{ step.label }}</ng-template>\r\n</ng-template>\r\n\r\n<ng-template #editIconTemplate let-index=\"index\">\r\n\t<span>{{ index + 1 }}</span>\r\n</ng-template>\r\n","import { PortalModule } from '@angular/cdk/portal';\r\nimport { CdkStepperModule } from '@angular/cdk/stepper';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatRippleModule } from '@angular/material/core';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { BehaviorModule } from '@bravura/ui/behavior';\r\nimport { StepperComponent } from './stepper.component';\r\n\r\n@NgModule({\r\n\tdeclarations: [StepperComponent],\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tPortalModule,\r\n\t\tCdkStepperModule,\r\n\t\tMatStepperModule,\r\n\t\tMatButtonModule,\r\n\t\tMatIconModule,\r\n\t\tMatRippleModule,\r\n\t\tMatProgressSpinnerModule,\r\n\t\tBehaviorModule\r\n\t],\r\n\texports: [StepperComponent, MatStepperModule]\r\n})\r\nexport class StepperModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAUA,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,OAAA,EAAA,CAEL,gBAAgB,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;AAEhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAZxB,YAAY;YACZ,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,eAAe;YACf,aAAa;YACb,eAAe;YACf,wBAAwB;AACxB,YAAA,cAAc,EAEa,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEhC,aAAa,EAAA,UAAA,EAAA,CAAA;kBAfzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACR,YAAY;wBACZ,YAAY;wBACZ,gBAAgB;wBAChB,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,eAAe;wBACf,wBAAwB;wBACxB,cAAc;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;AAC7C,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
@@ -39,10 +39,10 @@ class TooltipComponent extends TooltipComponent$1 {
39
39
  }
40
40
  super.show(delay);
41
41
  }
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: BUI_TOOLTIP_TEMPLATE_REF }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
43
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TooltipComponent, selector: "bui-tooltip-component", host: { attributes: { "aria-hidden": "true" }, listeners: { "mouseleave": "_handleMouseLeave($event)" }, properties: { "style.zoom": "isVisible() ? 1 : null" }, classAttribute: "bui-tooltip-component bui-host" }, viewQueries: [{ propertyName: "_tooltip", first: true, predicate: ["tooltip"], descendants: true, static: true }, { propertyName: "tooltipDiv", first: true, predicate: ["tooltipDiv"], descendants: true, static: true }, { propertyName: "messageCont", first: true, predicate: ["messageCont"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n\t#tooltip\n\tclass=\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip bui-tooltip\"\n\t[ngClass]=\"tooltipClass\"\n\t(animationend)=\"_handleAnimationEnd($event)\"\n\t[class.mdc-tooltip--multiline]=\"_isMultiline\"\n>\n\t<div #tooltipDiv>\n\t\t<ng-container #messageCont></ng-container>\n\t</div>\n</div>\n", styles: [".bui-tooltip.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-size: inherit;padding:8px;border-radius:4px;background-color:var(--mdc-plain-tooltip-container-color, #fff);color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-400{max-width:400px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-500{max-width:500px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-600{max-width:600px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-700{max-width:700px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-800{max-width:800px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-900{max-width:900px!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [matTooltipAnimations.tooltipState], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: BUI_TOOLTIP_TEMPLATE_REF }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
43
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: TooltipComponent, selector: "bui-tooltip-component", host: { attributes: { "aria-hidden": "true" }, listeners: { "mouseleave": "_handleMouseLeave($event)" }, properties: { "style.zoom": "isVisible() ? 1 : null" }, classAttribute: "bui-tooltip-component bui-host" }, viewQueries: [{ propertyName: "_tooltip", first: true, predicate: ["tooltip"], descendants: true, static: true }, { propertyName: "tooltipDiv", first: true, predicate: ["tooltipDiv"], descendants: true, static: true }, { propertyName: "messageCont", first: true, predicate: ["messageCont"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div\r\n\t#tooltip\r\n\tclass=\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip bui-tooltip\"\r\n\t[ngClass]=\"tooltipClass\"\r\n\t(animationend)=\"_handleAnimationEnd($event)\"\r\n\t[class.mdc-tooltip--multiline]=\"_isMultiline\"\r\n>\r\n\t<div #tooltipDiv>\r\n\t\t<ng-container #messageCont></ng-container>\r\n\t</div>\r\n</div>\r\n", styles: [".bui-tooltip.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-size: inherit;padding:8px;border-radius:4px;background-color:var(--mdc-plain-tooltip-container-color, #fff);color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-400{max-width:400px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-500{max-width:500px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-600{max-width:600px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-700{max-width:700px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-800{max-width:800px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-900{max-width:900px!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [matTooltipAnimations.tooltipState], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
44
44
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipComponent, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TooltipComponent, decorators: [{
46
46
  type: Component,
47
47
  args: [{ selector: 'bui-tooltip-component', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [matTooltipAnimations.tooltipState], host: {
48
48
  class: 'bui-tooltip-component bui-host',
@@ -51,7 +51,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
51
51
  '[style.zoom]': 'isVisible() ? 1 : null',
52
52
  '(mouseleave)': '_handleMouseLeave($event)',
53
53
  'aria-hidden': 'true'
54
- }, template: "<div\n\t#tooltip\n\tclass=\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip bui-tooltip\"\n\t[ngClass]=\"tooltipClass\"\n\t(animationend)=\"_handleAnimationEnd($event)\"\n\t[class.mdc-tooltip--multiline]=\"_isMultiline\"\n>\n\t<div #tooltipDiv>\n\t\t<ng-container #messageCont></ng-container>\n\t</div>\n</div>\n", styles: [".bui-tooltip.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-size: inherit;padding:8px;border-radius:4px;background-color:var(--mdc-plain-tooltip-container-color, #fff);color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-400{max-width:400px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-500{max-width:500px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-600{max-width:600px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-700{max-width:700px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-800{max-width:800px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-900{max-width:900px!important}\n"] }]
54
+ }, template: "<div\r\n\t#tooltip\r\n\tclass=\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip bui-tooltip\"\r\n\t[ngClass]=\"tooltipClass\"\r\n\t(animationend)=\"_handleAnimationEnd($event)\"\r\n\t[class.mdc-tooltip--multiline]=\"_isMultiline\"\r\n>\r\n\t<div #tooltipDiv>\r\n\t\t<ng-container #messageCont></ng-container>\r\n\t</div>\r\n</div>\r\n", styles: [".bui-tooltip.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-size: inherit;padding:8px;border-radius:4px;background-color:var(--mdc-plain-tooltip-container-color, #fff);color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-400{max-width:400px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-500{max-width:500px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-600{max-width:600px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-700{max-width:700px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-800{max-width:800px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-900{max-width:900px!important}\n"] }]
55
55
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
56
56
  type: Inject,
57
57
  args: [BUI_TOOLTIP_TEMPLATE_REF]
@@ -161,15 +161,15 @@ class TooltipDirective extends MatTooltip {
161
161
  ngOnDestroy() {
162
162
  this._contentSub.unsubscribe();
163
163
  }
164
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i1$1.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i2.Platform }, { token: i3.AriaDescriber }, { token: i3.FocusMonitor }, { token: MAT_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality, optional: true }, { token: MAT_TOOLTIP_DEFAULT_OPTIONS, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
165
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: TooltipDirective, selector: "[buiTooltip]", inputs: { buiTooltipPosition: "buiTooltipPosition", buiTooltipDisabled: "buiTooltipDisabled", buiTooltip: "buiTooltip", buiTooltipClass: "buiTooltipClass" }, host: { listeners: { "click": "clicked()" }, classAttribute: "mat-tooltip-trigger bui-tooltip-trigger" }, providers: [
164
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TooltipDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i1$1.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i2.Platform }, { token: i3.AriaDescriber }, { token: i3.FocusMonitor }, { token: MAT_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality, optional: true }, { token: MAT_TOOLTIP_DEFAULT_OPTIONS, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
165
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: TooltipDirective, selector: "[buiTooltip]", inputs: { buiTooltipPosition: "buiTooltipPosition", buiTooltipDisabled: "buiTooltipDisabled", buiTooltip: "buiTooltip", buiTooltipClass: "buiTooltipClass" }, host: { listeners: { "click": "clicked()" }, classAttribute: "mat-tooltip-trigger bui-tooltip-trigger" }, providers: [
166
166
  {
167
167
  provide: BUI_TOOLTIP_TEMPLATE_REF,
168
168
  useExisting: forwardRef(() => TooltipDirective)
169
169
  }
170
170
  ], exportAs: ["buiTooltip"], usesInheritance: true, ngImport: i0 }); }
171
171
  }
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipDirective, decorators: [{
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TooltipDirective, decorators: [{
173
173
  type: Directive,
174
174
  args: [{
175
175
  selector: '[buiTooltip]',
@@ -211,11 +211,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
211
211
  }] } });
212
212
 
213
213
  class TooltipModule {
214
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
215
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TooltipModule, declarations: [TooltipDirective, TooltipComponent], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule], exports: [TooltipDirective, MatCommonModule, CdkScrollableModule] }); }
216
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipModule, providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule, MatCommonModule, CdkScrollableModule] }); }
214
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
215
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: TooltipModule, declarations: [TooltipDirective, TooltipComponent], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule], exports: [TooltipDirective, MatCommonModule, CdkScrollableModule] }); }
216
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TooltipModule, providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule, MatCommonModule, CdkScrollableModule] }); }
217
217
  }
218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipModule, decorators: [{
218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TooltipModule, decorators: [{
219
219
  type: NgModule,
220
220
  args: [{
221
221
  imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule],
@@ -1 +1 @@
1
- {"version":3,"file":"bravura-ui-tooltip.mjs","sources":["../../../projects/ui/tooltip/tooltip.component.ts","../../../projects/ui/tooltip/tooltip.component.html","../../../projects/ui/tooltip/tooltip.directive.ts","../../../projects/ui/tooltip/tooltip.module.ts","../../../projects/ui/tooltip/bravura-ui-tooltip.ts"],"sourcesContent":["import {\r\n\tANIMATION_MODULE_TYPE,\r\n\tChangeDetectionStrategy,\r\n\tChangeDetectorRef,\r\n\tComponent,\r\n\tElementRef,\r\n\tInject,\r\n\tInjectionToken,\r\n\tOptional,\r\n\tTemplateRef,\r\n\tViewChild,\r\n\tViewContainerRef,\r\n\tViewEncapsulation\r\n} from '@angular/core';\r\nimport { matTooltipAnimations, TooltipComponent as MatTooltipComponent } from '@angular/material/tooltip';\r\nimport { getTextWidth } from '@bravura/ui/common';\r\n\r\n/**\r\n * @ignore\r\n */\r\ninterface TooltipTemplateContainer {\r\n\ttemplate?: TemplateRef<any>;\r\n\tmessage?: string;\r\n}\r\n\r\n/**\r\n * @ignore\r\n */\r\nexport const BUI_TOOLTIP_TEMPLATE_REF = new InjectionToken<TooltipTemplateContainer>(\r\n\t'@bravura/ui/tooltip/templateContainer'\r\n);\r\n\r\n@Component({\r\n\tselector: 'bui-tooltip-component',\r\n\ttemplateUrl: './tooltip.component.html',\r\n\tstyleUrls: ['./tooltip.component.scss'],\r\n\tencapsulation: ViewEncapsulation.None,\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tanimations: [matTooltipAnimations.tooltipState],\r\n\thost: {\r\n\t\tclass: 'bui-tooltip-component bui-host',\r\n\t\t// Forces the element to have a layout in IE and Edge. This fixes issues where the element\r\n\t\t// won't be rendered if the animations are disabled or there is no web animations polyfill.\r\n\t\t'[style.zoom]': 'isVisible() ? 1 : null',\r\n\t\t'(mouseleave)': '_handleMouseLeave($event)',\r\n\t\t'aria-hidden': 'true'\r\n\t}\r\n})\r\nexport class TooltipComponent extends MatTooltipComponent {\r\n\tprivate _messageCopy = '';\r\n\r\n\t@ViewChild('tooltip', { static: true })\r\n\t_tooltip!: ElementRef<HTMLElement>;\r\n\r\n\t@ViewChild('tooltipDiv', { static: true })\r\n\tprivate tooltipDiv!: ElementRef<HTMLDivElement>;\r\n\r\n\t@ViewChild('messageCont', { static: true, read: ViewContainerRef })\r\n\tprivate messageCont!: ViewContainerRef;\r\n\r\n\tconstructor(\r\n\t\tchangeDetectorRef: ChangeDetectorRef,\r\n\t\telementRef: ElementRef<HTMLElement>,\r\n\t\t@Inject(BUI_TOOLTIP_TEMPLATE_REF) public _tooltipInst: TooltipTemplateContainer,\r\n\t\t@Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string\r\n\t) {\r\n\t\tsuper(changeDetectorRef, elementRef, animationMode);\r\n\t}\r\n\r\n\tshow(delay: number): void {\r\n\t\tif (this._messageCopy !== this.message && !this._tooltipInst.template) {\r\n\t\t\tthis.tooltipDiv.nativeElement.innerHTML = this.message;\r\n\t\t\tthis._messageCopy = this.message;\r\n\t\t\tconst width = Math.max(Math.sqrt(getTextWidth(this.message) * 40), 360);\r\n\t\t\tthis._tooltip.nativeElement.style.maxWidth = `${width}px`;\r\n\t\t} else if (this._tooltipInst.template) {\r\n\t\t\tthis.messageCont.clear();\r\n\t\t\tconst ref = this.messageCont.createEmbeddedView(this._tooltipInst.template);\r\n\t\t\tref.detectChanges();\r\n\t\t\tthis._tooltipInst.message = this.message = this.tooltipDiv.nativeElement.textContent as string;\r\n\t\t}\r\n\t\tsuper.show(delay);\r\n\t}\r\n}\r\n\r\n(TooltipComponent as any).ɵcmp.styles.push(...(MatTooltipComponent as any).ɵcmp.styles);\r\n","<div\n\t#tooltip\n\tclass=\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip bui-tooltip\"\n\t[ngClass]=\"tooltipClass\"\n\t(animationend)=\"_handleAnimationEnd($event)\"\n\t[class.mdc-tooltip--multiline]=\"_isMultiline\"\n>\n\t<div #tooltipDiv>\n\t\t<ng-container #messageCont></ng-container>\n\t</div>\n</div>\n","import { AriaDescriber, FocusMonitor } from '@angular/cdk/a11y';\r\nimport { Directionality } from '@angular/cdk/bidi';\r\nimport { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport {\r\n\tDirective,\r\n\tElementRef,\r\n\tHostListener,\r\n\tInject,\r\n\tInput,\r\n\tNgZone,\r\n\tOptional,\r\n\tTemplateRef,\r\n\tViewContainerRef,\r\n\tforwardRef\r\n} from '@angular/core';\r\nimport {\r\n\tMAT_TOOLTIP_DEFAULT_OPTIONS,\r\n\tMAT_TOOLTIP_SCROLL_STRATEGY,\r\n\tMatTooltip,\r\n\tMatTooltipDefaultOptions,\r\n\tTooltipPosition\r\n} from '@angular/material/tooltip';\r\nimport { Observable, Subject, Subscription } from 'rxjs';\r\nimport { BUI_TOOLTIP_TEMPLATE_REF } from './tooltip.component';\r\n\r\n/**\r\n * This directive extends [Angular Material tooltip](https://material.angular.io/components/tooltip/overview), with the additional capability of displaying\r\n * HTML content in the overlay area.\r\n *\r\n * All the other features are identical as those in Angular Material tooltip.\r\n */\r\n@Directive({\r\n\tselector: '[buiTooltip]',\r\n\texportAs: 'buiTooltip',\r\n\thost: {\r\n\t\tclass: 'mat-tooltip-trigger bui-tooltip-trigger'\r\n\t},\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: BUI_TOOLTIP_TEMPLATE_REF,\r\n\t\t\tuseExisting: forwardRef(() => TooltipDirective)\r\n\t\t}\r\n\t]\r\n})\r\nexport class TooltipDirective extends MatTooltip {\r\n\t// private _tooltipComponent = TooltipComponent;\r\n\tprivate _templateRef?: TemplateRef<any>;\r\n\tprivate _contentSub: Subscription = new Subject<void>().subscribe();\r\n\tprivate _contentObs?: Observable<string>;\r\n\r\n\tconstructor(\r\n\t\toverlay: Overlay,\r\n\t\telementRef: ElementRef<HTMLElement>,\r\n\t\tscrollDispatcher: ScrollDispatcher,\r\n\t\tviewContainerRef: ViewContainerRef,\r\n\t\tngZone: NgZone,\r\n\t\tplatform: Platform,\r\n\t\tariaDescriber: AriaDescriber,\r\n\t\tfocusMonitor: FocusMonitor,\r\n\t\t@Inject(MAT_TOOLTIP_SCROLL_STRATEGY) scrollStrategy: any,\r\n\t\t@Optional() dir: Directionality,\r\n\t\t@Optional() @Inject(MAT_TOOLTIP_DEFAULT_OPTIONS) defaultOptions: MatTooltipDefaultOptions,\r\n\t\t@Inject(DOCUMENT) _document: any\r\n\t) {\r\n\t\tsuper(\r\n\t\t\toverlay,\r\n\t\t\telementRef,\r\n\t\t\tscrollDispatcher,\r\n\t\t\tviewContainerRef,\r\n\t\t\tngZone,\r\n\t\t\tplatform,\r\n\t\t\tariaDescriber,\r\n\t\t\tfocusMonitor,\r\n\t\t\tscrollStrategy,\r\n\t\t\tdir,\r\n\t\t\tdefaultOptions,\r\n\t\t\t_document\r\n\t\t);\r\n\t\tthis.touchGestures = 'off';\r\n\t\tconst element = elementRef.nativeElement;\r\n\t\telement.setAttribute('aria-hidden', 'false');\r\n\t\tif (element.tabIndex === -1) {\r\n\t\t\telement.tabIndex = 0;\r\n\t\t\telement.setAttribute('aria-roledescription', 'tooltip');\r\n\t\t}\r\n\t}\r\n\r\n\t/** Allows the user to define the position of the tooltip relative to the parent element */\r\n\t@Input()\r\n\tget buiTooltipPosition(): TooltipPosition {\r\n\t\treturn this.position;\r\n\t}\r\n\tset buiTooltipPosition(value: TooltipPosition) {\r\n\t\tthis.position = value;\r\n\t}\r\n\r\n\t/** Disables the display of the tooltip. */\r\n\t@Input()\r\n\tget buiTooltipDisabled(): boolean {\r\n\t\treturn this.disabled;\r\n\t}\r\n\tset buiTooltipDisabled(value) {\r\n\t\tthis.disabled = value;\r\n\t}\r\n\r\n\t/** The message to be displayed in the tooltip. */\r\n\t@Input()\r\n\tget buiTooltip(): string | TemplateRef<any> | Observable<string> {\r\n\t\treturn this._templateRef || this.message;\r\n\t}\r\n\tset buiTooltip(value) {\r\n\t\tthis._contentSub.unsubscribe();\r\n\t\tthis._contentObs = undefined;\r\n\t\tif (typeof value === 'string') {\r\n\t\t\tthis.message = value;\r\n\t\t} else if (value instanceof TemplateRef) {\r\n\t\t\tthis._templateRef = value;\r\n\t\t\tif (value) {\r\n\t\t\t\tthis.message = '[bui-tooltip-template]';\r\n\t\t\t} else {\r\n\t\t\t\tthis._templateRef = undefined;\r\n\t\t\t\tthis.message = '';\r\n\t\t\t}\r\n\t\t} else if (value instanceof Observable) {\r\n\t\t\tthis.message = '...';\r\n\t\t\tthis._contentObs = value;\r\n\t\t}\r\n\t}\r\n\r\n\t/** @ignore */\r\n\tget template(): TemplateRef<any> | undefined {\r\n\t\treturn this._templateRef;\r\n\t}\r\n\r\n\t/** Classes to be passed to the tooltip. Supports the same syntax as `ngClass`. */\r\n\t@Input()\r\n\tget buiTooltipClass() {\r\n\t\treturn this.tooltipClass;\r\n\t}\r\n\tset buiTooltipClass(value: string | string[] | Set<string> | { [key: string]: any }) {\r\n\t\tthis.tooltipClass = value;\r\n\t}\r\n\r\n\t/** @ignore */\r\n\t@HostListener('click')\r\n\tclicked() {\r\n\t\tthis.toggle();\r\n\t}\r\n\r\n\t/** Shows the tooltip after the delay in ms, defaults to tooltip-delay-show or 0ms if no input */\r\n\tshow(\r\n\t\tdelay: number = this.showDelay,\r\n\t\torigin?:\r\n\t\t\t| {\r\n\t\t\t\t\tx: number;\r\n\t\t\t\t\ty: number;\r\n\t\t\t }\r\n\t\t\t| undefined\r\n\t): void {\r\n\t\tif (this._contentObs) {\r\n\t\t\tthis._contentSub.unsubscribe();\r\n\t\t\tthis._contentSub = this._contentObs.subscribe(c => {\r\n\t\t\t\tthis.message = c;\r\n\t\t\t\tthis._contentSub.unsubscribe();\r\n\t\t\t\tsuper.show(delay, origin);\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tsuper.show(delay, origin);\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis._contentSub.unsubscribe();\r\n\t}\r\n}\r\n","import { A11yModule } from '@angular/cdk/a11y';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { MatCommonModule } from '@angular/material/core';\r\nimport { MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER } from '@angular/material/tooltip';\r\nimport { TooltipComponent } from './tooltip.component';\r\nimport { TooltipDirective } from './tooltip.directive';\r\n\r\n@NgModule({\r\n\timports: [A11yModule, CommonModule, OverlayModule, MatCommonModule],\r\n\texports: [TooltipDirective, MatCommonModule, CdkScrollableModule],\r\n\tdeclarations: [TooltipDirective, TooltipComponent],\r\n\tproviders: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER]\r\n})\r\nexport class TooltipModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["MatTooltipComponent","i1"],"mappings":";;;;;;;;;;;;;;;;AAyBA;;AAEG;MACU,wBAAwB,GAAG,IAAI,cAAc,CACzD,uCAAuC,EACtC;AAkBI,MAAO,gBAAiB,SAAQA,kBAAmB,CAAA;AAYxD,IAAA,WAAA,CACC,iBAAoC,EACpC,UAAmC,EACM,YAAsC,EACpC,aAAsB,EAAA;AAEjE,QAAA,KAAK,CAAC,iBAAiB,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;QAHX,IAAY,CAAA,YAAA,GAA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AAA,EAAA,CAAA,CAAA,EAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,iBAHV,gBAAgB,EAAE,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAFvC,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,CAAA,EAAA,OAAA,EAAA,CACxD,gBAAgB,EAAE,eAAe,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;AAIpD,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAFd,SAAA,EAAA,CAAC,4CAA4C,CAAC,YAH/C,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EACtC,eAAe,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAIpD,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,CAAC;AACnE,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,mBAAmB,CAAC;AACjE,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;oBAClD,SAAS,EAAE,CAAC,4CAA4C,CAAC;AACzD,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
1
+ {"version":3,"file":"bravura-ui-tooltip.mjs","sources":["../../../projects/ui/tooltip/tooltip.component.ts","../../../projects/ui/tooltip/tooltip.component.html","../../../projects/ui/tooltip/tooltip.directive.ts","../../../projects/ui/tooltip/tooltip.module.ts","../../../projects/ui/tooltip/bravura-ui-tooltip.ts"],"sourcesContent":["import {\r\n\tANIMATION_MODULE_TYPE,\r\n\tChangeDetectionStrategy,\r\n\tChangeDetectorRef,\r\n\tComponent,\r\n\tElementRef,\r\n\tInject,\r\n\tInjectionToken,\r\n\tOptional,\r\n\tTemplateRef,\r\n\tViewChild,\r\n\tViewContainerRef,\r\n\tViewEncapsulation\r\n} from '@angular/core';\r\nimport { matTooltipAnimations, TooltipComponent as MatTooltipComponent } from '@angular/material/tooltip';\r\nimport { getTextWidth } from '@bravura/ui/common';\r\n\r\n/**\r\n * @ignore\r\n */\r\ninterface TooltipTemplateContainer {\r\n\ttemplate?: TemplateRef<any>;\r\n\tmessage?: string;\r\n}\r\n\r\n/**\r\n * @ignore\r\n */\r\nexport const BUI_TOOLTIP_TEMPLATE_REF = new InjectionToken<TooltipTemplateContainer>(\r\n\t'@bravura/ui/tooltip/templateContainer'\r\n);\r\n\r\n@Component({\r\n\tselector: 'bui-tooltip-component',\r\n\ttemplateUrl: './tooltip.component.html',\r\n\tstyleUrls: ['./tooltip.component.scss'],\r\n\tencapsulation: ViewEncapsulation.None,\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tanimations: [matTooltipAnimations.tooltipState],\r\n\thost: {\r\n\t\tclass: 'bui-tooltip-component bui-host',\r\n\t\t// Forces the element to have a layout in IE and Edge. This fixes issues where the element\r\n\t\t// won't be rendered if the animations are disabled or there is no web animations polyfill.\r\n\t\t'[style.zoom]': 'isVisible() ? 1 : null',\r\n\t\t'(mouseleave)': '_handleMouseLeave($event)',\r\n\t\t'aria-hidden': 'true'\r\n\t}\r\n})\r\nexport class TooltipComponent extends MatTooltipComponent {\r\n\tprivate _messageCopy = '';\r\n\r\n\t@ViewChild('tooltip', { static: true })\r\n\t_tooltip!: ElementRef<HTMLElement>;\r\n\r\n\t@ViewChild('tooltipDiv', { static: true })\r\n\tprivate tooltipDiv!: ElementRef<HTMLDivElement>;\r\n\r\n\t@ViewChild('messageCont', { static: true, read: ViewContainerRef })\r\n\tprivate messageCont!: ViewContainerRef;\r\n\r\n\tconstructor(\r\n\t\tchangeDetectorRef: ChangeDetectorRef,\r\n\t\telementRef: ElementRef<HTMLElement>,\r\n\t\t@Inject(BUI_TOOLTIP_TEMPLATE_REF) public _tooltipInst: TooltipTemplateContainer,\r\n\t\t@Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string\r\n\t) {\r\n\t\tsuper(changeDetectorRef, elementRef, animationMode);\r\n\t}\r\n\r\n\tshow(delay: number): void {\r\n\t\tif (this._messageCopy !== this.message && !this._tooltipInst.template) {\r\n\t\t\tthis.tooltipDiv.nativeElement.innerHTML = this.message;\r\n\t\t\tthis._messageCopy = this.message;\r\n\t\t\tconst width = Math.max(Math.sqrt(getTextWidth(this.message) * 40), 360);\r\n\t\t\tthis._tooltip.nativeElement.style.maxWidth = `${width}px`;\r\n\t\t} else if (this._tooltipInst.template) {\r\n\t\t\tthis.messageCont.clear();\r\n\t\t\tconst ref = this.messageCont.createEmbeddedView(this._tooltipInst.template);\r\n\t\t\tref.detectChanges();\r\n\t\t\tthis._tooltipInst.message = this.message = this.tooltipDiv.nativeElement.textContent as string;\r\n\t\t}\r\n\t\tsuper.show(delay);\r\n\t}\r\n}\r\n\r\n(TooltipComponent as any).ɵcmp.styles.push(...(MatTooltipComponent as any).ɵcmp.styles);\r\n","<div\r\n\t#tooltip\r\n\tclass=\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip bui-tooltip\"\r\n\t[ngClass]=\"tooltipClass\"\r\n\t(animationend)=\"_handleAnimationEnd($event)\"\r\n\t[class.mdc-tooltip--multiline]=\"_isMultiline\"\r\n>\r\n\t<div #tooltipDiv>\r\n\t\t<ng-container #messageCont></ng-container>\r\n\t</div>\r\n</div>\r\n","import { AriaDescriber, FocusMonitor } from '@angular/cdk/a11y';\r\nimport { Directionality } from '@angular/cdk/bidi';\r\nimport { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport {\r\n\tDirective,\r\n\tElementRef,\r\n\tHostListener,\r\n\tInject,\r\n\tInput,\r\n\tNgZone,\r\n\tOptional,\r\n\tTemplateRef,\r\n\tViewContainerRef,\r\n\tforwardRef\r\n} from '@angular/core';\r\nimport {\r\n\tMAT_TOOLTIP_DEFAULT_OPTIONS,\r\n\tMAT_TOOLTIP_SCROLL_STRATEGY,\r\n\tMatTooltip,\r\n\tMatTooltipDefaultOptions,\r\n\tTooltipPosition\r\n} from '@angular/material/tooltip';\r\nimport { Observable, Subject, Subscription } from 'rxjs';\r\nimport { BUI_TOOLTIP_TEMPLATE_REF } from './tooltip.component';\r\n\r\n/**\r\n * This directive extends [Angular Material tooltip](https://material.angular.io/components/tooltip/overview), with the additional capability of displaying\r\n * HTML content in the overlay area.\r\n *\r\n * All the other features are identical as those in Angular Material tooltip.\r\n */\r\n@Directive({\r\n\tselector: '[buiTooltip]',\r\n\texportAs: 'buiTooltip',\r\n\thost: {\r\n\t\tclass: 'mat-tooltip-trigger bui-tooltip-trigger'\r\n\t},\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: BUI_TOOLTIP_TEMPLATE_REF,\r\n\t\t\tuseExisting: forwardRef(() => TooltipDirective)\r\n\t\t}\r\n\t]\r\n})\r\nexport class TooltipDirective extends MatTooltip {\r\n\t// private _tooltipComponent = TooltipComponent;\r\n\tprivate _templateRef?: TemplateRef<any>;\r\n\tprivate _contentSub: Subscription = new Subject<void>().subscribe();\r\n\tprivate _contentObs?: Observable<string>;\r\n\r\n\tconstructor(\r\n\t\toverlay: Overlay,\r\n\t\telementRef: ElementRef<HTMLElement>,\r\n\t\tscrollDispatcher: ScrollDispatcher,\r\n\t\tviewContainerRef: ViewContainerRef,\r\n\t\tngZone: NgZone,\r\n\t\tplatform: Platform,\r\n\t\tariaDescriber: AriaDescriber,\r\n\t\tfocusMonitor: FocusMonitor,\r\n\t\t@Inject(MAT_TOOLTIP_SCROLL_STRATEGY) scrollStrategy: any,\r\n\t\t@Optional() dir: Directionality,\r\n\t\t@Optional() @Inject(MAT_TOOLTIP_DEFAULT_OPTIONS) defaultOptions: MatTooltipDefaultOptions,\r\n\t\t@Inject(DOCUMENT) _document: any\r\n\t) {\r\n\t\tsuper(\r\n\t\t\toverlay,\r\n\t\t\telementRef,\r\n\t\t\tscrollDispatcher,\r\n\t\t\tviewContainerRef,\r\n\t\t\tngZone,\r\n\t\t\tplatform,\r\n\t\t\tariaDescriber,\r\n\t\t\tfocusMonitor,\r\n\t\t\tscrollStrategy,\r\n\t\t\tdir,\r\n\t\t\tdefaultOptions,\r\n\t\t\t_document\r\n\t\t);\r\n\t\tthis.touchGestures = 'off';\r\n\t\tconst element = elementRef.nativeElement;\r\n\t\telement.setAttribute('aria-hidden', 'false');\r\n\t\tif (element.tabIndex === -1) {\r\n\t\t\telement.tabIndex = 0;\r\n\t\t\telement.setAttribute('aria-roledescription', 'tooltip');\r\n\t\t}\r\n\t}\r\n\r\n\t/** Allows the user to define the position of the tooltip relative to the parent element */\r\n\t@Input()\r\n\tget buiTooltipPosition(): TooltipPosition {\r\n\t\treturn this.position;\r\n\t}\r\n\tset buiTooltipPosition(value: TooltipPosition) {\r\n\t\tthis.position = value;\r\n\t}\r\n\r\n\t/** Disables the display of the tooltip. */\r\n\t@Input()\r\n\tget buiTooltipDisabled(): boolean {\r\n\t\treturn this.disabled;\r\n\t}\r\n\tset buiTooltipDisabled(value) {\r\n\t\tthis.disabled = value;\r\n\t}\r\n\r\n\t/** The message to be displayed in the tooltip. */\r\n\t@Input()\r\n\tget buiTooltip(): string | TemplateRef<any> | Observable<string> {\r\n\t\treturn this._templateRef || this.message;\r\n\t}\r\n\tset buiTooltip(value) {\r\n\t\tthis._contentSub.unsubscribe();\r\n\t\tthis._contentObs = undefined;\r\n\t\tif (typeof value === 'string') {\r\n\t\t\tthis.message = value;\r\n\t\t} else if (value instanceof TemplateRef) {\r\n\t\t\tthis._templateRef = value;\r\n\t\t\tif (value) {\r\n\t\t\t\tthis.message = '[bui-tooltip-template]';\r\n\t\t\t} else {\r\n\t\t\t\tthis._templateRef = undefined;\r\n\t\t\t\tthis.message = '';\r\n\t\t\t}\r\n\t\t} else if (value instanceof Observable) {\r\n\t\t\tthis.message = '...';\r\n\t\t\tthis._contentObs = value;\r\n\t\t}\r\n\t}\r\n\r\n\t/** @ignore */\r\n\tget template(): TemplateRef<any> | undefined {\r\n\t\treturn this._templateRef;\r\n\t}\r\n\r\n\t/** Classes to be passed to the tooltip. Supports the same syntax as `ngClass`. */\r\n\t@Input()\r\n\tget buiTooltipClass() {\r\n\t\treturn this.tooltipClass;\r\n\t}\r\n\tset buiTooltipClass(value: string | string[] | Set<string> | { [key: string]: any }) {\r\n\t\tthis.tooltipClass = value;\r\n\t}\r\n\r\n\t/** @ignore */\r\n\t@HostListener('click')\r\n\tclicked() {\r\n\t\tthis.toggle();\r\n\t}\r\n\r\n\t/** Shows the tooltip after the delay in ms, defaults to tooltip-delay-show or 0ms if no input */\r\n\tshow(\r\n\t\tdelay: number = this.showDelay,\r\n\t\torigin?:\r\n\t\t\t| {\r\n\t\t\t\t\tx: number;\r\n\t\t\t\t\ty: number;\r\n\t\t\t }\r\n\t\t\t| undefined\r\n\t): void {\r\n\t\tif (this._contentObs) {\r\n\t\t\tthis._contentSub.unsubscribe();\r\n\t\t\tthis._contentSub = this._contentObs.subscribe(c => {\r\n\t\t\t\tthis.message = c;\r\n\t\t\t\tthis._contentSub.unsubscribe();\r\n\t\t\t\tsuper.show(delay, origin);\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tsuper.show(delay, origin);\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis._contentSub.unsubscribe();\r\n\t}\r\n}\r\n","import { A11yModule } from '@angular/cdk/a11y';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { MatCommonModule } from '@angular/material/core';\r\nimport { MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER } from '@angular/material/tooltip';\r\nimport { TooltipComponent } from './tooltip.component';\r\nimport { TooltipDirective } from './tooltip.directive';\r\n\r\n@NgModule({\r\n\timports: [A11yModule, CommonModule, OverlayModule, MatCommonModule],\r\n\texports: [TooltipDirective, MatCommonModule, CdkScrollableModule],\r\n\tdeclarations: [TooltipDirective, TooltipComponent],\r\n\tproviders: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER]\r\n})\r\nexport class TooltipModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["MatTooltipComponent","i1"],"mappings":";;;;;;;;;;;;;;;;AAyBA;;AAEG;MACU,wBAAwB,GAAG,IAAI,cAAc,CACzD,uCAAuC,EACtC;AAkBI,MAAO,gBAAiB,SAAQA,kBAAmB,CAAA;AAYxD,IAAA,WAAA,CACC,iBAAoC,EACpC,UAAmC,EACM,YAAsC,EACpC,aAAsB,EAAA;AAEjE,QAAA,KAAK,CAAC,iBAAiB,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;QAHX,IAAY,CAAA,YAAA,GAAZ,YAAY,CAA0B;QAdxE,IAAY,CAAA,YAAA,GAAG,EAAE,CAAC;KAkBzB;AAED,IAAA,IAAI,CAAC,KAAa,EAAA;AACjB,QAAA,IAAI,IAAI,CAAC,YAAY,KAAK,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE;YACtE,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;AACvD,YAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC;YACjC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAA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A,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAFd,SAAA,EAAA,CAAC,4CAA4C,CAAC,YAH/C,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EACtC,eAAe,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIpD,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,CAAC;AACnE,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,mBAAmB,CAAC;AACjE,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;oBAClD,SAAS,EAAE,CAAC,4CAA4C,CAAC;AACzD,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bravura/ui",
3
3
  "description": "Bravura UI Components for Angular applications",
4
- "version": "4.0.0",
4
+ "version": "5.0.1",
5
5
  "keywords": [
6
6
  "Angular",
7
7
  "Angular Material",
@@ -9,23 +9,20 @@
9
9
  ],
10
10
  "author": "Bravura Solutions",
11
11
  "peerDependencies": {
12
- "@angular/cdk": "^17.1.1",
13
- "@angular/common": "^17.1.1",
14
- "@angular/compiler": "^17.1.1",
15
- "@angular/core": "^17.1.1",
16
- "@angular/forms": "^17.1.1",
17
- "@angular/material": "^17.1.1",
12
+ "@angular/cdk": "^18.2.2",
13
+ "@angular/common": "^18.2.2",
14
+ "@angular/compiler": "^18.2.2",
15
+ "@angular/core": "^18.2.2",
16
+ "@angular/forms": "^18.2.2",
17
+ "@angular/material": "^18.2.2",
18
18
  "@ngneat/content-loader": "^7.0.0",
19
19
  "intl-tel-input": "^18.1.6",
20
20
  "rxjs": "~7.8.0"
21
21
  },
22
- "dependencies": {
23
- "tslib": "^2.4.0"
24
- },
25
- "license": "ISC",
26
- "module": "fesm2022/bravura-ui.mjs",
27
- "typings": "index.d.ts",
28
22
  "exports": {
23
+ "./theme": {
24
+ "sass": "./theme/_ui-theme.scss"
25
+ },
29
26
  "./package.json": {
30
27
  "default": "./package.json"
31
28
  },
@@ -77,18 +74,18 @@
77
74
  "esm": "./esm2022/discrete-input/bravura-ui-discrete-input.mjs",
78
75
  "default": "./fesm2022/bravura-ui-discrete-input.mjs"
79
76
  },
80
- "./file-upload": {
81
- "types": "./file-upload/index.d.ts",
82
- "esm2022": "./esm2022/file-upload/bravura-ui-file-upload.mjs",
83
- "esm": "./esm2022/file-upload/bravura-ui-file-upload.mjs",
84
- "default": "./fesm2022/bravura-ui-file-upload.mjs"
85
- },
86
77
  "./form-field": {
87
78
  "types": "./form-field/index.d.ts",
88
79
  "esm2022": "./esm2022/form-field/bravura-ui-form-field.mjs",
89
80
  "esm": "./esm2022/form-field/bravura-ui-form-field.mjs",
90
81
  "default": "./fesm2022/bravura-ui-form-field.mjs"
91
82
  },
83
+ "./file-upload": {
84
+ "types": "./file-upload/index.d.ts",
85
+ "esm2022": "./esm2022/file-upload/bravura-ui-file-upload.mjs",
86
+ "esm": "./esm2022/file-upload/bravura-ui-file-upload.mjs",
87
+ "default": "./fesm2022/bravura-ui-file-upload.mjs"
88
+ },
92
89
  "./icon-font": {
93
90
  "types": "./icon-font/index.d.ts",
94
91
  "esm2022": "./esm2022/icon-font/bravura-ui-icon-font.mjs",
@@ -150,5 +147,11 @@
150
147
  "default": "./fesm2022/bravura-ui-radio-panel-testing.mjs"
151
148
  }
152
149
  },
150
+ "dependencies": {
151
+ "tslib": "^2.4.0"
152
+ },
153
+ "license": "ISC",
154
+ "module": "fesm2022/bravura-ui.mjs",
155
+ "typings": "index.d.ts",
153
156
  "sideEffects": false
154
157
  }