@bravura/ui 5.2.4 → 6.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.
- package/CHANGELOG.md +14 -1
- package/README.md +1 -0
- package/_index.scss +5 -5
- package/fesm2022/bravura-ui-alert-testing.mjs.map +1 -1
- package/fesm2022/bravura-ui-alert.mjs +13 -13
- package/fesm2022/bravura-ui-alert.mjs.map +1 -1
- package/fesm2022/bravura-ui-behavior.mjs +25 -21
- package/fesm2022/bravura-ui-behavior.mjs.map +1 -1
- package/fesm2022/bravura-ui-clip-note.mjs +15 -14
- package/fesm2022/bravura-ui-clip-note.mjs.map +1 -1
- package/fesm2022/bravura-ui-common.mjs +5 -5
- package/fesm2022/bravura-ui-common.mjs.map +1 -1
- package/fesm2022/bravura-ui-currency-input.mjs +10 -9
- package/fesm2022/bravura-ui-currency-input.mjs.map +1 -1
- package/fesm2022/bravura-ui-decimal-input.mjs +10 -9
- package/fesm2022/bravura-ui-decimal-input.mjs.map +1 -1
- package/fesm2022/bravura-ui-discrete-input.mjs +9 -9
- package/fesm2022/bravura-ui-discrete-input.mjs.map +1 -1
- package/fesm2022/bravura-ui-file-upload.mjs +12 -12
- package/fesm2022/bravura-ui-file-upload.mjs.map +1 -1
- package/fesm2022/bravura-ui-form-field.mjs +14 -13
- package/fesm2022/bravura-ui-form-field.mjs.map +1 -1
- package/fesm2022/bravura-ui-icon-font.mjs +10 -9
- package/fesm2022/bravura-ui-icon-font.mjs.map +1 -1
- package/fesm2022/bravura-ui-panel.mjs +18 -17
- package/fesm2022/bravura-ui-panel.mjs.map +1 -1
- package/fesm2022/bravura-ui-phone-number.mjs +20 -17
- package/fesm2022/bravura-ui-phone-number.mjs.map +1 -1
- package/fesm2022/bravura-ui-radio-panel-testing.mjs.map +1 -1
- package/fesm2022/bravura-ui-radio-panel.mjs +14 -14
- package/fesm2022/bravura-ui-radio-panel.mjs.map +1 -1
- package/fesm2022/bravura-ui-selection-panel.mjs +14 -13
- package/fesm2022/bravura-ui-selection-panel.mjs.map +1 -1
- package/fesm2022/bravura-ui-skeletons.mjs +18 -13
- package/fesm2022/bravura-ui-skeletons.mjs.map +1 -1
- package/fesm2022/bravura-ui-stepper.mjs +22 -20
- package/fesm2022/bravura-ui-stepper.mjs.map +1 -1
- package/fesm2022/bravura-ui-tooltip.mjs +14 -13
- package/fesm2022/bravura-ui-tooltip.mjs.map +1 -1
- package/m3-theme.scss +155 -155
- package/package.json +15 -55
- package/radio-panel/_radio-panel-theme.scss +11 -11
- package/selection-panel/_selection-panel-theme.scss +33 -33
- package/stepper/_stepper-theme.scss +20 -20
- package/theme/_ui-theme-legacy.scss +112 -112
- package/theme/_ui-theme.scss +101 -101
- package/esm2022/alert/alert-container.component.mjs +0 -207
- package/esm2022/alert/alert-message.component.mjs +0 -101
- package/esm2022/alert/alert.module.mjs +0 -22
- package/esm2022/alert/bravura-ui-alert.mjs +0 -5
- package/esm2022/alert/public-api.mjs +0 -2
- package/esm2022/alert/testing/bravura-ui-alert-testing.mjs +0 -5
- package/esm2022/alert/testing/test-api.mjs +0 -44
- package/esm2022/behavior/await.directive.mjs +0 -133
- package/esm2022/behavior/behavior.module.mjs +0 -37
- package/esm2022/behavior/bravura-ui-behavior.mjs +0 -5
- package/esm2022/behavior/observe-content-class.directive.mjs +0 -63
- package/esm2022/behavior/public-api.mjs +0 -6
- package/esm2022/behavior/sizing-monitor.directive.mjs +0 -31
- package/esm2022/behavior/sizing.directive.mjs +0 -256
- package/esm2022/bravura-ui.mjs +0 -5
- package/esm2022/clip-note/bravura-ui-clip-note.mjs +0 -5
- package/esm2022/clip-note/clip-note.component.mjs +0 -216
- package/esm2022/clip-note/clip-note.directive.mjs +0 -141
- package/esm2022/clip-note/clip-note.module.mjs +0 -32
- package/esm2022/clip-note/public-api.mjs +0 -2
- package/esm2022/common/bravura-ui-common.mjs +0 -5
- package/esm2022/common/common-utils.mjs +0 -34
- package/esm2022/common/common.module.mjs +0 -53
- package/esm2022/common/public-api.mjs +0 -3
- package/esm2022/currency-input/bravura-ui-currency-input.mjs +0 -5
- package/esm2022/currency-input/currency-input.directive.mjs +0 -276
- package/esm2022/currency-input/currency-input.module.mjs +0 -19
- package/esm2022/currency-input/public-api.mjs +0 -2
- package/esm2022/decimal-input/bravura-ui-decimal-input.mjs +0 -5
- package/esm2022/decimal-input/decimal-input.directive.mjs +0 -122
- package/esm2022/decimal-input/decimal-input.module.mjs +0 -19
- package/esm2022/decimal-input/public-api.mjs +0 -2
- package/esm2022/discrete-input/bravura-ui-discrete-input.mjs +0 -5
- package/esm2022/discrete-input/discrete-input.component.mjs +0 -337
- package/esm2022/discrete-input/discrete-input.module.mjs +0 -21
- package/esm2022/discrete-input/public-api.mjs +0 -3
- package/esm2022/file-upload/bravura-ui-file-upload.mjs +0 -5
- package/esm2022/file-upload/file-upload.component.mjs +0 -400
- package/esm2022/file-upload/file-upload.module.mjs +0 -44
- package/esm2022/file-upload/file-upload.service.mjs +0 -29
- package/esm2022/file-upload/public-api.mjs +0 -7
- package/esm2022/form-field/bravura-ui-form-field.mjs +0 -5
- package/esm2022/form-field/form-field.component.mjs +0 -82
- package/esm2022/form-field/form-field.module.mjs +0 -33
- package/esm2022/form-field/public-api.mjs +0 -3
- package/esm2022/icon-font/bravura-ui-icon-font.mjs +0 -5
- package/esm2022/icon-font/icon-font.module.mjs +0 -22
- package/esm2022/icon-font/icon.directive.mjs +0 -102
- package/esm2022/icon-font/public-api.mjs +0 -4
- package/esm2022/icon-font/utilities.mjs +0 -51
- package/esm2022/panel/bravura-ui-panel.mjs +0 -5
- package/esm2022/panel/panel-section.component.mjs +0 -41
- package/esm2022/panel/panel.component.mjs +0 -87
- package/esm2022/panel/panel.module.mjs +0 -23
- package/esm2022/panel/public-api.mjs +0 -2
- package/esm2022/panel/tinted.directive.mjs +0 -60
- package/esm2022/phone-number/bravura-ui-phone-number.mjs +0 -5
- package/esm2022/phone-number/phone-number.directive.mjs +0 -188
- package/esm2022/phone-number/phone-number.module.mjs +0 -24
- package/esm2022/phone-number/phone-number.pipe.mjs +0 -47
- package/esm2022/phone-number/phone-number.validator.mjs +0 -64
- package/esm2022/phone-number/public-api.mjs +0 -2
- package/esm2022/public-api.mjs +0 -2
- package/esm2022/radio-panel/bravura-ui-radio-panel.mjs +0 -5
- package/esm2022/radio-panel/public-api.mjs +0 -4
- package/esm2022/radio-panel/radio-panel-item.component.mjs +0 -93
- package/esm2022/radio-panel/radio-panel.component.mjs +0 -81
- package/esm2022/radio-panel/radio-panel.module.mjs +0 -25
- package/esm2022/radio-panel/testing/bravura-ui-radio-panel-testing.mjs +0 -5
- package/esm2022/radio-panel/testing/test-api.mjs +0 -46
- package/esm2022/selection-panel/bravura-ui-selection-panel.mjs +0 -5
- package/esm2022/selection-panel/public-api.mjs +0 -4
- package/esm2022/selection-panel/selection-panel-item.component.mjs +0 -163
- package/esm2022/selection-panel/selection-panel.directive.mjs +0 -119
- package/esm2022/selection-panel/selection-panel.module.mjs +0 -23
- package/esm2022/skeletons/bravura-ui-skeletons.mjs +0 -5
- package/esm2022/skeletons/public-api.mjs +0 -4
- package/esm2022/skeletons/skeleton-loader-presets.directive.mjs +0 -83
- package/esm2022/skeletons/skeleton-loader.component.mjs +0 -76
- package/esm2022/skeletons/skeletons.module.mjs +0 -35
- package/esm2022/stepper/bravura-ui-stepper.mjs +0 -5
- package/esm2022/stepper/public-api.mjs +0 -4
- package/esm2022/stepper/step-label-top.directive.mjs +0 -40
- package/esm2022/stepper/stepper-animation.mjs +0 -23
- package/esm2022/stepper/stepper.component.mjs +0 -178
- package/esm2022/stepper/stepper.module.mjs +0 -53
- package/esm2022/tooltip/bravura-ui-tooltip.mjs +0 -5
- package/esm2022/tooltip/public-api.mjs +0 -4
- package/esm2022/tooltip/tooltip.component.mjs +0 -63
- package/esm2022/tooltip/tooltip.directive.mjs +0 -150
- package/esm2022/tooltip/tooltip.module.mjs +0 -25
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bravura-ui-stepper.mjs","sources":["../../../projects/ui/stepper/step-label-top.directive.ts","../../../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 { AfterContentInit, ContentChild, Directive, inject, Optional, TemplateRef } from '@angular/core';\nimport { MatStep } from '@angular/material/stepper';\n\n@Directive({\n\tselector: '[buiStepLabelTop]'\n})\nexport class StepLabelTopDirective {\n\tconstructor(@Optional() public templateRef: TemplateRef<any>) {}\n}\n\n@Directive({\n\tselector: 'mat-step'\n})\nexport class StepDirective implements AfterContentInit {\n\t@ContentChild(StepLabelTopDirective)\n\t@Optional()\n\tstepLabelTopDirective: StepLabelTopDirective;\n\n\tstep = inject(MatStep);\n\n\tconstructor() {}\n\n\tngAfterContentInit(): void {\n\t\t(this.step as any).stepLabelTopTemplate = this.stepLabelTopDirective?.templateRef;\n\t}\n}\n","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';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { CdkStepper, STEPPER_GLOBAL_OPTIONS, StepContentPositionState, StepperOptions } from '@angular/cdk/stepper';\nimport { DOCUMENT } from '@angular/common';\nimport {\n\tAfterContentInit,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tContentChildren,\n\tElementRef,\n\tEventEmitter,\n\tInject,\n\tInput,\n\tOptional,\n\tOutput,\n\tQueryList,\n\tSelf,\n\tSkipSelf,\n\tTemplateRef,\n\tViewChild,\n\tViewChildren,\n\tViewEncapsulation\n} from '@angular/core';\nimport { ThemePalette } from '@angular/material/core';\nimport { MatStep, MatStepHeader, MatStepper, MatStepperIcon, MatStepperIconContext } from '@angular/material/stepper';\nimport { Subject } from 'rxjs';\nimport { distinctUntilChanged, filter, takeUntil } from 'rxjs/operators';\nimport animation from './stepper-animation';\n\n/** @ignore */\nconst BREAKPOINT = 768;\n\n/**\n * [Angular Material's stepper](https://material.angular.io/components/stepper/overview) provides a wizard-like workflow by dividing\n * content into logical steps.\n *\n * This stepper extends Angular's to customise the presentation of its headers to achieve a better user experience in both mobile and\n * desktop browsers.\n *\n */\n\n@Component({\n\tselector: 'bui-stepper, [buiStepper]',\n\texportAs: 'buiStepper, matStepper, matVerticalStepper, matHorizontalStepper',\n\ttemplateUrl: './stepper.component.html',\n\tstyleUrls: ['./stepper.component.scss'],\n\tinputs: ['selectedIndex'],\n\thost: {\n\t\tclass: 'bui-stepper bui-host',\n\t\t'[attr.aria-orientation]': 'orientation',\n\t\trole: 'tablist'\n\t},\n\tanimations: [animation.stepTransition, animation.leftDrawer, animation.topDrawer],\n\tproviders: [\n\t\t{ provide: MatStepper, useExisting: StepperComponent },\n\t\t{ provide: CdkStepper, useExisting: StepperComponent },\n\t\t{ provide: STEPPER_GLOBAL_OPTIONS, useValue: { displayDefaultIndicatorType: false } }\n\t],\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class StepperComponent extends CdkStepper implements AfterContentInit {\n\t/** @ignore The list of step headers of the steps in the stepper. */\n\t@ViewChildren(MatStepHeader) override _stepHeader!: QueryList<MatStepHeader>;\n\n\t/** @ignore Full list of steps inside the stepper, including inside nested steppers. */\n\t@ContentChildren(MatStep, { descendants: true }) override _steps!: QueryList<MatStep>;\n\n\t/** @ignore Steps that belong to the current stepper, excluding ones from nested steppers. */\n\toverride readonly steps: QueryList<MatStep> = new QueryList<MatStep>();\n\n\t/** @ignore Custom icon overrides passed in by the consumer. */\n\t@ContentChildren(MatStepperIcon, { descendants: true }) _icons!: QueryList<MatStepperIcon>;\n\n\t/** @ignore Event emitted when the current step is done transitioning in. */\n\t@Output() readonly animationDone: EventEmitter<void> = new EventEmitter<void>();\n\n\t/** Whether ripples should be disabled for the step headers. */\n\t@Input() disableRipple?: boolean;\n\n\t/** Theme color for all of the steps in stepper. */\n\t@Input() color: ThemePalette;\n\n\t/**\n\t * A function that constructs the text in the progress cycle for the 'narrow' view.\n\t *\n\t * Default value: `'{selected step} of {total number of steps}'`\n\t */\n\t@Input() indicatorFormatter: (index: number, total: number) => string;\n\n\t/** The text that precedes the name of the next step label, used in the 'narrow' view. */\n\t@Input() nextStepLabelPrefix = 'Next: ';\n\n\t/** @ignore Consumer-specified template-refs to be used to override the header icons. */\n\t_iconOverrides: Record<string, TemplateRef<MatStepperIconContext>> = {};\n\n\t/** @ignore Stream of animation `done` events when the body expands/collapses. */\n\treadonly _animationDone = new Subject<AnimationEvent>();\n\n\t/** @ignore Whether the stepper is in a narrow container */\n\t_narrow = false;\n\n\t/** @ignore Emits whenever the drawer has started animating. */\n\treadonly _leftDrawerStarted = new Subject<AnimationEvent>();\n\t/** @ignore Emits whenever the drawer is done animating. */\n\treadonly _leftDrawerEnded = new Subject<AnimationEvent>();\n\t/** @ignore Current state of the sidenav animation. */\n\t_leftDrawerState: 'open-instant' | 'open' | 'void' = 'open-instant';\n\n\t/** @ignore Emits whenever the drawer has started animating. */\n\treadonly _topDrawerStarted = new Subject<AnimationEvent>();\n\t/** @ignore Emits whenever the drawer is done animating. */\n\treadonly _topDrawerEnded = new Subject<AnimationEvent>();\n\t/** @ignore Current state of the sidenav animation. */\n\t_topDrawerState: 'open-instant' | 'open' | 'void' = 'void';\n\n\t/** @ignore */ readonly _progressCircleSize = 80;\n\t/** @ignore */ readonly _progressCircleWidth = 5;\n\t/** @ignore */ _stepTransitioning = false;\n\n\t@ViewChild('editIconTemplate', { static: true })\n\tprivate _editIconTemplate!: TemplateRef<any>;\n\n\tconstructor(\n\t\t@Optional() dir: Directionality,\n\t\tprivate changeDetectorRef: ChangeDetectorRef,\n\t\tprivate _buiElRef: ElementRef<HTMLElement>,\n\t\t@Inject(DOCUMENT) _document: any,\n\t\t@Self() @Inject(STEPPER_GLOBAL_OPTIONS) stepperOptions: StepperOptions,\n\t\t@Optional() @SkipSelf() @Inject(STEPPER_GLOBAL_OPTIONS) defaultStepperOptions?: StepperOptions\n\t) {\n\t\tsuper(dir, changeDetectorRef, _buiElRef);\n\t\tthis.orientation = 'vertical';\n\t\tthis.indicatorFormatter = (index, total) => `${index} of ${total}`;\n\t\tObject.keys(defaultStepperOptions || {})\n\t\t\t.filter(k => k !== 'displayDefaultIndicatorType')\n\t\t\t.forEach(((k: keyof StepperOptions) => (stepperOptions[k] = defaultStepperOptions![k])) as any);\n\t}\n\n\toverride ngAfterContentInit() {\n\t\tsuper.ngAfterContentInit();\n\t\tthis._icons.forEach(({ name, templateRef }) => (this._iconOverrides[name] = templateRef));\n\n\t\t// Mark the component for change detection whenever the content children query changes\n\t\tthis.steps.changes.pipe(takeUntil(this._destroyed)).subscribe(() => {\n\t\t\tthis._stateChanged();\n\t\t});\n\n\t\tthis._animationDone\n\t\t\t.pipe(\n\t\t\t\tdistinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState),\n\t\t\t\ttakeUntil(this._destroyed)\n\t\t\t)\n\t\t\t.subscribe(event => {\n\t\t\t\tif ((event.toState as StepContentPositionState) === 'current') {\n\t\t\t\t\tthis.animationDone.emit();\n\t\t\t\t\tthis._stepTransitioning = false;\n\t\t\t\t}\n\t\t\t});\n\n\t\tthis._leftDrawerEnded\n\t\t\t.pipe(\n\t\t\t\tdistinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState),\n\t\t\t\tfilter(ev => ev.toState === 'void' && ev.toState !== ev.fromState),\n\t\t\t\ttakeUntil(this._destroyed)\n\t\t\t)\n\t\t\t.subscribe(() => {\n\t\t\t\tthis._topDrawerState = 'open';\n\t\t\t});\n\n\t\tthis._topDrawerEnded\n\t\t\t.pipe(\n\t\t\t\tdistinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState),\n\t\t\t\tfilter(ev => ev.toState === 'void' && ev.toState !== ev.fromState),\n\t\t\t\ttakeUntil(this._destroyed)\n\t\t\t)\n\t\t\t.subscribe(() => {\n\t\t\t\tthis._leftDrawerState = 'open';\n\t\t\t});\n\t\tthis._iconOverrides.edit = this._iconOverrides.edit || this._editIconTemplate;\n\t}\n\n\t/** @ignore */\n\t_stepIsNavigable(index: number, step: MatStep): boolean {\n\t\treturn step.completed || this.selectedIndex === index || !this.linear;\n\t}\n\n\t/** @ignore */\n\t_widthChanged(w: number) {\n\t\tconst narrow = Math.abs(w - BREAKPOINT) < 20 ? this._narrow : w < BREAKPOINT;\n\t\tconst cls = 'bui-stepper-narrow';\n\t\tconst classList = this._buiElRef.nativeElement.classList;\n\t\tif (narrow) {\n\t\t\tthis._leftDrawerState = 'void';\n\t\t\tclassList.add(cls);\n\t\t} else {\n\t\t\tthis._topDrawerState = 'void';\n\t\t\tclassList.remove(cls);\n\t\t}\n\t\tif (this._narrow !== narrow) {\n\t\t\tthis._narrow = narrow;\n\t\t\tthis._stateChanged();\n\t\t}\n\t}\n\n\t/** @ignore */\n\t_startStepTransition() {\n\t\tsetTimeout(() => {\n\t\t\tthis._stepTransitioning = true;\n\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t});\n\t}\n\n\ttoCustomStep(step: any) {\n\t\treturn <any>step;\n\t}\n}\n","<div class=\"bui-stepper-wrapper\" [style.display]=\"_leftDrawerState.startsWith('open') ? 'flex' : 'block'\" #sizeMonitor>\n\t<div\n\t\tclass=\"bui-stepper-left-header-container\"\n\t\t[@leftDrawer]=\"_leftDrawerState\"\n\t\t(@leftDrawer.start)=\"_leftDrawerStarted.next($event)\"\n\t\t(@leftDrawer.done)=\"_leftDrawerEnded.next($event)\"\n\t>\n\t\t<div class=\"bui-step-progress-label\">Step {{ selectedIndex + 1 }} of {{ steps.length }}</div>\n\t\t<div\n\t\t\t*ngFor=\"let step of steps; let i = index; let isLast = last\"\n\t\t\tclass=\"bui-stepper-header-wrapper\"\n\t\t\t[class.bui-stepper-vertical-line]=\"!isLast\"\n\t\t>\n\t\t\t<mat-step-header\n\t\t\t\tclass=\"bui-stepper-header\"\n\t\t\t\t(click)=\"step.select()\"\n\t\t\t\t(keydown)=\"_onKeydown($event)\"\n\t\t\t\t[tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n\t\t\t\t[id]=\"_getStepLabelId(i)\"\n\t\t\t\t[attr.aria-posinset]=\"i + 1\"\n\t\t\t\t[attr.aria-setsize]=\"steps.length\"\n\t\t\t\t[attr.aria-controls]=\"_getStepContentId(i)\"\n\t\t\t\t[attr.aria-selected]=\"selectedIndex == i\"\n\t\t\t\t[attr.aria-label]=\"step.ariaLabel || null\"\n\t\t\t\t[attr.aria-labelledby]=\"!step.ariaLabel && step.ariaLabelledby ? step.ariaLabelledby : null\"\n\t\t\t\t[attr.aria-disabled]=\"_stepIsNavigable(i, step) ? null : true\"\n\t\t\t\t[index]=\"i\"\n\t\t\t\t[state]=\"_getIndicatorType(i, step.state)\"\n\t\t\t\t[label]=\"step.stepLabel || step.label\"\n\t\t\t\t[selected]=\"selectedIndex === i\"\n\t\t\t\t[active]=\"_stepIsNavigable(i, step)\"\n\t\t\t\t[optional]=\"step.optional\"\n\t\t\t\t[errorMessage]=\"step.errorMessage\"\n\t\t\t\t[iconOverrides]=\"_iconOverrides\"\n\t\t\t\t[disableRipple]=\"disableRipple || !_stepIsNavigable(i, step)\"\n\t\t\t\t[color]=\"step.color || color\"\n\t\t\t></mat-step-header>\n\t\t</div>\n\t</div>\n\n\t<div class=\"bui-stepper-content-container\" [buiSizingBy]=\"sizeMonitor\" (buiResized)=\"_widthChanged($event.width)\">\n\t\t<div\n\t\t\tclass=\"bui-stepper-top-header-container\"\n\t\t\t[class.bui-stepper-header-active]=\"_leftDrawerState === 'void'\"\n\t\t\t[@topDrawer]=\"_topDrawerState\"\n\t\t\t(@topDrawer.start)=\"_topDrawerStarted.next($event)\"\n\t\t\t(@topDrawer.done)=\"_topDrawerEnded.next($event)\"\n\t\t>\n\t\t\t<div class=\"bui-stepper-top-header-progress\">\n\t\t\t\t<span class=\"bui-stepper-top-header-indicator\">\n\t\t\t\t\tStep {{ indicatorFormatter(selectedIndex + 1, steps.length) }}\n\t\t\t\t</span>\n\t\t\t</div>\n\n\t\t\t<div class=\"bui-stepper-progress-indicator\">\n\t\t\t\t<div\n\t\t\t\t\trole=\"button\"\n\t\t\t\t\t(click)=\"selectedIndex = i\"\n\t\t\t\t\tclass=\"bui-stepper-progress-indicator-section\"\n\t\t\t\t\t*ngFor=\"let s of steps; let i = index\"\n\t\t\t\t\t[class.bui-step-section-interacted]=\"i <= selectedIndex\"\n\t\t\t\t></div>\n\t\t\t</div>\n\t\t\t<div class=\"bui-stepper-top-header-title-next\" *ngIf=\"selectedIndex < steps.length - 1\">\n\t\t\t\t{{ nextStepLabelPrefix }}\n\t\t\t\t<ng-template\n\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: steps.get(selectedIndex + 1) }\"\n\t\t\t\t></ng-template>\n\t\t\t</div>\n\n\t\t\t<div class=\"bui-stepper-top-header-titles-wrapper\" *ngIf=\"selected\">\n\t\t\t\t<ng-container *ngTemplateOutlet=\"toCustomStep(selected).stepLabelTopTemplate\"></ng-container>\n\t\t\t\t<div class=\"bui-stepper-top-header-title\">\n\t\t\t\t\t<ng-template\n\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: selected }\"\n\t\t\t\t\t></ng-template>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"bui-stepper-content-wrapper\" [class.bui-stepper-content-wrapper-transitioning]=\"_stepTransitioning\">\n\t\t\t<div\n\t\t\t\t*ngFor=\"let step of steps; let i = index\"\n\t\t\t\tclass=\"bui-stepper-content\"\n\t\t\t\trole=\"tabpanel\"\n\t\t\t\t[@stepTransition]=\"_getAnimationDirection(i)\"\n\t\t\t\t(@stepTransition.start)=\"_startStepTransition()\"\n\t\t\t\t(@stepTransition.done)=\"_animationDone.next($event)\"\n\t\t\t\t[id]=\"_getStepContentId(i)\"\n\t\t\t\t[attr.aria-labelledby]=\"_getStepLabelId(i)\"\n\t\t\t\t[attr.aria-expanded]=\"selectedIndex === i\"\n\t\t\t>\n\t\t\t\t<div class=\"bui-stepper-content-header-label\" *ngIf=\"!_narrow\">\n\t\t\t\t\t<ng-container *ngTemplateOutlet=\"toCustomStep(step).stepLabelTopTemplate\"></ng-container>\n\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<ng-template\n\t\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\n\t\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: step }\"\n\t\t\t\t\t\t></ng-template>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<ng-template [ngTemplateOutlet]=\"step.content\"></ng-template>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n\n<ng-template #labelTemplate let-step>\n\t<ng-template [ngIf]=\"step.stepLabel\" [ngIfElse]=\"stringLabelTempl\">\n\t\t<ng-template [ngTemplateOutlet]=\"step.stepLabel.template\"></ng-template>\n\t</ng-template>\n\t<ng-template #stringLabelTempl>{{ step.label }}</ng-template>\n</ng-template>\n\n<ng-template #editIconTemplate let-index=\"index\">\n\t<span>{{ index + 1 }}</span>\n</ng-template>\n","import { PortalModule } from '@angular/cdk/portal';\nimport { CdkStepperModule } from '@angular/cdk/stepper';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatRippleModule } from '@angular/material/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatStepperModule } from '@angular/material/stepper';\nimport { BehaviorModule } from '@bravura/ui/behavior';\nimport { StepDirective, StepLabelTopDirective } from './step-label-top.directive';\nimport { StepperComponent } from './stepper.component';\n\n@NgModule({\n\tdeclarations: [StepperComponent, StepDirective, StepLabelTopDirective],\n\timports: [\n\t\tCommonModule,\n\t\tPortalModule,\n\t\tCdkStepperModule,\n\t\tMatStepperModule,\n\t\tMatButtonModule,\n\t\tMatIconModule,\n\t\tMatRippleModule,\n\t\tMatProgressSpinnerModule,\n\t\tBehaviorModule\n\t],\n\texports: [StepperComponent, MatStepperModule, StepLabelTopDirective, StepDirective]\n})\nexport class StepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;MAMa,qBAAqB,CAAA;AACjC,IAAA,WAAA,CAA+B,WAA6B,EAAA;QAA7B,IAAW,CAAA,WAAA,GA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A,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,iBAdV,gBAAgB,EAAE,aAAa,EAAE,qBAAqB,aAEpE,YAAY;YACZ,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,eAAe;YACf,aAAa;YACb,eAAe;YACf,wBAAwB;AACxB,YAAA,cAAc,aAEL,gBAAgB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;AAEtE,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;AACT,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,aAAa,EAAE,qBAAqB,CAAC;AACtE,oBAAA,OAAO,EAAE;wBACR,YAAY;wBACZ,YAAY;wBACZ,gBAAgB;wBAChB,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,eAAe;wBACf,wBAAwB;wBACxB,cAAc;AACd,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,aAAa,CAAC;AACnF,iBAAA,CAAA;;;AC3BD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"bravura-ui-stepper.mjs","sources":["../../../projects/ui/stepper/step-label-top.directive.ts","../../../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 { AfterContentInit, ContentChild, Directive, inject, Optional, TemplateRef } from '@angular/core';\r\nimport { MatStep } from '@angular/material/stepper';\r\n\r\n@Directive({\r\n\tselector: '[buiStepLabelTop]',\r\n\tstandalone: false\r\n})\r\nexport class StepLabelTopDirective {\r\n\tconstructor(@Optional() public templateRef: TemplateRef<any>) {}\r\n}\r\n\r\n@Directive({\r\n\tselector: 'mat-step',\r\n\tstandalone: false\r\n})\r\nexport class StepDirective implements AfterContentInit {\r\n\t@ContentChild(StepLabelTopDirective)\r\n\t@Optional()\r\n\tstepLabelTopDirective: StepLabelTopDirective;\r\n\r\n\tstep = inject(MatStep);\r\n\r\n\tconstructor() {}\r\n\r\n\tngAfterContentInit(): void {\r\n\t\t(this.step as any).stepLabelTopTemplate = this.stepLabelTopDirective?.templateRef;\r\n\t}\r\n}\r\n","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\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\tstandalone: false\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\ttoCustomStep(step: any) {\r\n\t\treturn <any>step;\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 class=\"bui-step-progress-label\">Step {{ selectedIndex + 1 }} of {{ steps.length }}</div>\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 class=\"bui-stepper-top-header-progress\">\r\n\t\t\t\t<span class=\"bui-stepper-top-header-indicator\">\r\n\t\t\t\t\tStep {{ indicatorFormatter(selectedIndex + 1, steps.length) }}\r\n\t\t\t\t</span>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"bui-stepper-progress-indicator\">\r\n\t\t\t\t<div\r\n\t\t\t\t\trole=\"button\"\r\n\t\t\t\t\t(click)=\"selectedIndex = i\"\r\n\t\t\t\t\tclass=\"bui-stepper-progress-indicator-section\"\r\n\t\t\t\t\t*ngFor=\"let s of steps; let i = index\"\r\n\t\t\t\t\t[class.bui-step-section-interacted]=\"i <= selectedIndex\"\r\n\t\t\t\t></div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"bui-stepper-top-header-title-next\" *ngIf=\"selectedIndex < steps.length - 1\">\r\n\t\t\t\t{{ nextStepLabelPrefix }}\r\n\t\t\t\t<ng-template\r\n\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\r\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: steps.get(selectedIndex + 1) }\"\r\n\t\t\t\t></ng-template>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"bui-stepper-top-header-titles-wrapper\" *ngIf=\"selected\">\r\n\t\t\t\t<ng-container *ngTemplateOutlet=\"toCustomStep(selected).stepLabelTopTemplate\"></ng-container>\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</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-container *ngTemplateOutlet=\"toCustomStep(step).stepLabelTopTemplate\"></ng-container>\r\n\r\n\t\t\t\t\t<div>\r\n\t\t\t\t\t\t<ng-template\r\n\t\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\r\n\t\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: step }\"\r\n\t\t\t\t\t\t></ng-template>\r\n\t\t\t\t\t</div>\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 { StepDirective, StepLabelTopDirective } from './step-label-top.directive';\r\nimport { StepperComponent } from './stepper.component';\r\n\r\n@NgModule({\r\n\tdeclarations: [StepperComponent, StepDirective, StepLabelTopDirective],\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, StepLabelTopDirective, StepDirective]\r\n})\r\nexport class StepperModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;MAOa,qBAAqB,CAAA;AACjC,IAAA,WAAA,CAA+B,WAA6B,EAAA;QAA7B,IAAW,CAAA,WAAA,GAAX,WAAW;;+GAD9B,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAArB,qBAAqB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAA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;oBACD,OAAO,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,aAAa;AAClF,iBAAA;;;AC3BD;;AAEG;;;;"}
|
|
@@ -6,7 +6,7 @@ import { CdkScrollableModule } from '@angular/cdk/scrolling';
|
|
|
6
6
|
import * as i1 from '@angular/common';
|
|
7
7
|
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
|
-
import { InjectionToken, ANIMATION_MODULE_TYPE, ViewContainerRef,
|
|
9
|
+
import { InjectionToken, ANIMATION_MODULE_TYPE, ViewContainerRef, ViewChild, Inject, Optional, ChangeDetectionStrategy, ViewEncapsulation, Component, TemplateRef, forwardRef, HostListener, Input, Directive, NgModule } from '@angular/core';
|
|
10
10
|
import { MatCommonModule } from '@angular/material/core';
|
|
11
11
|
import { TooltipComponent as TooltipComponent$1, matTooltipAnimations, MatTooltip, MAT_TOOLTIP_SCROLL_STRATEGY, MAT_TOOLTIP_DEFAULT_OPTIONS, MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER } from '@angular/material/tooltip';
|
|
12
12
|
import { getTextWidth } from '@bravura/ui/common';
|
|
@@ -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: "
|
|
43
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", 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: "19.2.17", type: TooltipComponent, isStandalone: false, 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: "
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", 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: "18.2.2", ngImpor
|
|
|
51
51
|
'[style.zoom]': 'isVisible() ? 1 : null',
|
|
52
52
|
'(mouseleave)': '_handleMouseLeave($event)',
|
|
53
53
|
'aria-hidden': 'true'
|
|
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"] }]
|
|
54
|
+
}, standalone: false, 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]
|
|
@@ -163,15 +163,15 @@ class TooltipDirective extends MatTooltip {
|
|
|
163
163
|
ngOnDestroy() {
|
|
164
164
|
this._contentSub.unsubscribe();
|
|
165
165
|
}
|
|
166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
167
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
166
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", 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 }); }
|
|
167
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.17", type: TooltipDirective, isStandalone: false, selector: "[buiTooltip]", inputs: { buiTooltipPosition: "buiTooltipPosition", buiTooltipDisabled: "buiTooltipDisabled", buiTooltip: "buiTooltip", buiTooltipClass: "buiTooltipClass" }, host: { listeners: { "click": "clicked()" }, classAttribute: "mat-tooltip-trigger bui-tooltip-trigger" }, providers: [
|
|
168
168
|
{
|
|
169
169
|
provide: BUI_TOOLTIP_TEMPLATE_REF,
|
|
170
170
|
useExisting: forwardRef(() => TooltipDirective)
|
|
171
171
|
}
|
|
172
172
|
], exportAs: ["buiTooltip"], usesInheritance: true, ngImport: i0 }); }
|
|
173
173
|
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
175
175
|
type: Directive,
|
|
176
176
|
args: [{
|
|
177
177
|
selector: '[buiTooltip]',
|
|
@@ -184,7 +184,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
|
184
184
|
provide: BUI_TOOLTIP_TEMPLATE_REF,
|
|
185
185
|
useExisting: forwardRef(() => TooltipDirective)
|
|
186
186
|
}
|
|
187
|
-
]
|
|
187
|
+
],
|
|
188
|
+
standalone: false
|
|
188
189
|
}]
|
|
189
190
|
}], ctorParameters: () => [{ type: i1$1.Overlay }, { type: i0.ElementRef }, { type: i1$1.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i2.Platform }, { type: i3.AriaDescriber }, { type: i3.FocusMonitor }, { type: undefined, decorators: [{
|
|
190
191
|
type: Inject,
|
|
@@ -213,11 +214,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
|
213
214
|
}] } });
|
|
214
215
|
|
|
215
216
|
class TooltipModule {
|
|
216
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
217
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
218
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
217
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
218
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TooltipModule, declarations: [TooltipDirective, TooltipComponent], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule], exports: [TooltipDirective, MatCommonModule, CdkScrollableModule] }); }
|
|
219
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TooltipModule, providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule, MatCommonModule, CdkScrollableModule] }); }
|
|
219
220
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TooltipModule, decorators: [{
|
|
221
222
|
type: NgModule,
|
|
222
223
|
args: [{
|
|
223
224
|
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\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';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';\nimport { Platform } from '@angular/cdk/platform';\nimport { DOCUMENT } from '@angular/common';\nimport {\n\tDirective,\n\tElementRef,\n\tHostListener,\n\tInject,\n\tInput,\n\tNgZone,\n\tOptional,\n\tTemplateRef,\n\tViewContainerRef,\n\tforwardRef\n} from '@angular/core';\nimport {\n\tMAT_TOOLTIP_DEFAULT_OPTIONS,\n\tMAT_TOOLTIP_SCROLL_STRATEGY,\n\tMatTooltip,\n\tMatTooltipDefaultOptions,\n\tTooltipPosition\n} from '@angular/material/tooltip';\nimport { Observable, Subject, Subscription } from 'rxjs';\nimport { BUI_TOOLTIP_TEMPLATE_REF, TooltipComponent } from './tooltip.component';\n\n/**\n * This directive extends [Angular Material tooltip](https://material.angular.io/components/tooltip/overview), with the additional capability of displaying\n * HTML content in the overlay area.\n *\n * All the other features are identical as those in Angular Material tooltip.\n */\n@Directive({\n\tselector: '[buiTooltip]',\n\texportAs: 'buiTooltip',\n\thost: {\n\t\tclass: 'mat-tooltip-trigger bui-tooltip-trigger'\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: BUI_TOOLTIP_TEMPLATE_REF,\n\t\t\tuseExisting: forwardRef(() => TooltipDirective)\n\t\t}\n\t]\n})\nexport class TooltipDirective extends MatTooltip {\n\tprivate _templateRef?: TemplateRef<any>;\n\tprivate _contentSub: Subscription = new Subject<void>().subscribe();\n\tprivate _contentObs?: Observable<string>;\n\n\tconstructor(\n\t\toverlay: Overlay,\n\t\telementRef: ElementRef<HTMLElement>,\n\t\tscrollDispatcher: ScrollDispatcher,\n\t\tviewContainerRef: ViewContainerRef,\n\t\tngZone: NgZone,\n\t\tplatform: Platform,\n\t\tariaDescriber: AriaDescriber,\n\t\tfocusMonitor: FocusMonitor,\n\t\t@Inject(MAT_TOOLTIP_SCROLL_STRATEGY) scrollStrategy: any,\n\t\t@Optional() dir: Directionality,\n\t\t@Optional() @Inject(MAT_TOOLTIP_DEFAULT_OPTIONS) defaultOptions: MatTooltipDefaultOptions,\n\t\t@Inject(DOCUMENT) _document: any\n\t) {\n\t\tsuper(\n\t\t\toverlay,\n\t\t\telementRef,\n\t\t\tscrollDispatcher,\n\t\t\tviewContainerRef,\n\t\t\tngZone,\n\t\t\tplatform,\n\t\t\tariaDescriber,\n\t\t\tfocusMonitor,\n\t\t\tscrollStrategy,\n\t\t\tdir,\n\t\t\tdefaultOptions,\n\t\t\t_document\n\t\t);\n\t\tconst _self = this as any;\n\t\t_self._tooltipComponent = TooltipComponent;\n\t\tthis.touchGestures = 'off';\n\t\tconst element = elementRef.nativeElement;\n\t\telement.setAttribute('aria-hidden', 'false');\n\t\tif (element.tabIndex === -1) {\n\t\t\telement.tabIndex = 0;\n\t\t\telement.setAttribute('aria-roledescription', 'tooltip');\n\t\t}\n\t}\n\n\t/** Allows the user to define the position of the tooltip relative to the parent element */\n\t@Input()\n\tget buiTooltipPosition(): TooltipPosition {\n\t\treturn this.position;\n\t}\n\tset buiTooltipPosition(value: TooltipPosition) {\n\t\tthis.position = value;\n\t}\n\n\t/** Disables the display of the tooltip. */\n\t@Input()\n\tget buiTooltipDisabled(): boolean {\n\t\treturn this.disabled;\n\t}\n\tset buiTooltipDisabled(value) {\n\t\tthis.disabled = value;\n\t}\n\n\t/** The message to be displayed in the tooltip. */\n\t@Input()\n\tget buiTooltip(): string | TemplateRef<any> | Observable<string> {\n\t\treturn this._templateRef || this.message;\n\t}\n\tset buiTooltip(value) {\n\t\tthis._contentSub.unsubscribe();\n\t\tthis._contentObs = undefined;\n\t\tif (typeof value === 'string') {\n\t\t\tthis.message = value;\n\t\t} else if (value instanceof TemplateRef) {\n\t\t\tthis._templateRef = value;\n\t\t\tif (value) {\n\t\t\t\tthis.message = '[bui-tooltip-template]';\n\t\t\t} else {\n\t\t\t\tthis._templateRef = undefined;\n\t\t\t\tthis.message = '';\n\t\t\t}\n\t\t} else if (value instanceof Observable) {\n\t\t\tthis.message = '...';\n\t\t\tthis._contentObs = value;\n\t\t}\n\t}\n\n\t/** @ignore */\n\tget template(): TemplateRef<any> | undefined {\n\t\treturn this._templateRef;\n\t}\n\n\t/** Classes to be passed to the tooltip. Supports the same syntax as `ngClass`. */\n\t@Input()\n\tget buiTooltipClass() {\n\t\treturn this.tooltipClass;\n\t}\n\tset buiTooltipClass(value: string | string[] | Set<string> | { [key: string]: any }) {\n\t\tthis.tooltipClass = value;\n\t}\n\n\t/** @ignore */\n\t@HostListener('click')\n\tclicked() {\n\t\tthis.toggle();\n\t}\n\n\t/** Shows the tooltip after the delay in ms, defaults to tooltip-delay-show or 0ms if no input */\n\tshow(\n\t\tdelay: number = this.showDelay,\n\t\torigin?:\n\t\t\t| {\n\t\t\t\t\tx: number;\n\t\t\t\t\ty: number;\n\t\t\t }\n\t\t\t| undefined\n\t): void {\n\t\tif (this._contentObs) {\n\t\t\tthis._contentSub.unsubscribe();\n\t\t\tthis._contentSub = this._contentObs.subscribe(c => {\n\t\t\t\tthis.message = c;\n\t\t\t\tthis._contentSub.unsubscribe();\n\t\t\t\tsuper.show(delay, origin);\n\t\t\t});\n\t\t} else {\n\t\t\tsuper.show(delay, origin);\n\t\t}\n\t}\n\n\tngOnDestroy() {\n\t\tthis._contentSub.unsubscribe();\n\t}\n}\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,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;AACxE,YAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,GA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AA,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;;;;"}
|
|
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\tstandalone: false\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, TooltipComponent } 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\tstandalone: false\r\n})\r\nexport class TooltipDirective extends MatTooltip {\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\tconst _self = this as any;\r\n\t\t_self._tooltipComponent = TooltipComponent;\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":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AA,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;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;;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;AACxD,iBAAA;;;ACfD;;AAEG;;;;"}
|
package/m3-theme.scss
CHANGED
|
@@ -1,155 +1,155 @@
|
|
|
1
|
-
// This file was generated by running 'ng generate @angular/material:m3-theme'.
|
|
2
|
-
// Proceed with caution if making changes to this file.
|
|
3
|
-
|
|
4
|
-
@use 'sass:map';
|
|
5
|
-
@use '@angular/material' as mat;
|
|
6
|
-
|
|
7
|
-
// Note: Color palettes are generated from primary: #135ac5, secondary: #29bcb0
|
|
8
|
-
$_palettes: (
|
|
9
|
-
primary: (
|
|
10
|
-
0: #000000,
|
|
11
|
-
10: #001944,
|
|
12
|
-
20: #002d6d,
|
|
13
|
-
25: #003783,
|
|
14
|
-
30: #00429a,
|
|
15
|
-
35: #004db1,
|
|
16
|
-
40: #1159c4,
|
|
17
|
-
50: #3973df,
|
|
18
|
-
60: #588dfb,
|
|
19
|
-
70: #84aaff,
|
|
20
|
-
80: #afc6ff,
|
|
21
|
-
90: #d9e2ff,
|
|
22
|
-
95: #edf0ff,
|
|
23
|
-
98: #faf8ff,
|
|
24
|
-
99: #fefbff,
|
|
25
|
-
100: #ffffff
|
|
26
|
-
),
|
|
27
|
-
secondary: (
|
|
28
|
-
0: #000000,
|
|
29
|
-
10: #00201d,
|
|
30
|
-
20: #003733,
|
|
31
|
-
25: #00433e,
|
|
32
|
-
30: #00504a,
|
|
33
|
-
35: #005d56,
|
|
34
|
-
40: #006a63,
|
|
35
|
-
50: #00867c,
|
|
36
|
-
60: #00a297,
|
|
37
|
-
70: #2dbeb2,
|
|
38
|
-
80: #54dace,
|
|
39
|
-
90: #75f7ea,
|
|
40
|
-
95: #b2fff5,
|
|
41
|
-
98: #e4fffa,
|
|
42
|
-
99: #f2fffc,
|
|
43
|
-
100: #ffffff
|
|
44
|
-
),
|
|
45
|
-
tertiary: (
|
|
46
|
-
0: #000000,
|
|
47
|
-
10: #330044,
|
|
48
|
-
20: #54006d,
|
|
49
|
-
25: #620f7c,
|
|
50
|
-
30: #6f2089,
|
|
51
|
-
35: #7c2f96,
|
|
52
|
-
40: #8a3ca3,
|
|
53
|
-
50: #a556be,
|
|
54
|
-
60: #c270da,
|
|
55
|
-
70: #df8bf7,
|
|
56
|
-
80: #f0b0ff,
|
|
57
|
-
90: #fbd7ff,
|
|
58
|
-
95: #ffebff,
|
|
59
|
-
98: #fff7fb,
|
|
60
|
-
99: #fffbff,
|
|
61
|
-
100: #ffffff
|
|
62
|
-
),
|
|
63
|
-
neutral: (
|
|
64
|
-
0: #000000,
|
|
65
|
-
10: #191b22,
|
|
66
|
-
20: #2e3037,
|
|
67
|
-
25: #393b43,
|
|
68
|
-
30: #44464e,
|
|
69
|
-
35: #50525a,
|
|
70
|
-
40: #5c5e66,
|
|
71
|
-
50: #75777f,
|
|
72
|
-
60: #8f9099,
|
|
73
|
-
70: #aaabb4,
|
|
74
|
-
80: #c5c6cf,
|
|
75
|
-
90: #e1e2eb,
|
|
76
|
-
95: #f0f0fa,
|
|
77
|
-
98: #faf8ff,
|
|
78
|
-
99: #fefbff,
|
|
79
|
-
100: #ffffff,
|
|
80
|
-
4: #0c0e14,
|
|
81
|
-
6: #11131a,
|
|
82
|
-
12: #1d1f26,
|
|
83
|
-
17: #282a31,
|
|
84
|
-
22: #32353c,
|
|
85
|
-
24: #373940,
|
|
86
|
-
87: #d9d9e3,
|
|
87
|
-
92: #e7e7f1,
|
|
88
|
-
94: #ededf7,
|
|
89
|
-
96: #f3f3fc
|
|
90
|
-
),
|
|
91
|
-
neutral-variant: (
|
|
92
|
-
0: #000000,
|
|
93
|
-
10: #171b26,
|
|
94
|
-
20: #2c303c,
|
|
95
|
-
25: #373b47,
|
|
96
|
-
30: #424653,
|
|
97
|
-
35: #4e525f,
|
|
98
|
-
40: #5a5e6b,
|
|
99
|
-
50: #737784,
|
|
100
|
-
60: #8c909f,
|
|
101
|
-
70: #a7abba,
|
|
102
|
-
80: #c2c6d5,
|
|
103
|
-
90: #dfe2f2,
|
|
104
|
-
95: #edf0ff,
|
|
105
|
-
98: #faf8ff,
|
|
106
|
-
99: #fefbff,
|
|
107
|
-
100: #ffffff
|
|
108
|
-
),
|
|
109
|
-
error: (
|
|
110
|
-
0: #000000,
|
|
111
|
-
10: #410002,
|
|
112
|
-
20: #690005,
|
|
113
|
-
25: #7e0007,
|
|
114
|
-
30: #93000a,
|
|
115
|
-
35: #a80710,
|
|
116
|
-
40: #ba1a1a,
|
|
117
|
-
50: #de3730,
|
|
118
|
-
60: #ff5449,
|
|
119
|
-
70: #ff897d,
|
|
120
|
-
80: #ffb4ab,
|
|
121
|
-
90: #ffdad6,
|
|
122
|
-
95: #ffedea,
|
|
123
|
-
98: #fff8f7,
|
|
124
|
-
99: #fffbff,
|
|
125
|
-
100: #ffffff
|
|
126
|
-
)
|
|
127
|
-
);
|
|
128
|
-
|
|
129
|
-
$_rest: (
|
|
130
|
-
secondary: map.get($_palettes, secondary),
|
|
131
|
-
neutral: map.get($_palettes, neutral),
|
|
132
|
-
neutral-variant: map.get($_palettes, neutral-variant),
|
|
133
|
-
error: map.get($_palettes, error)
|
|
134
|
-
);
|
|
135
|
-
$_primary: map.merge(map.get($_palettes, primary), $_rest);
|
|
136
|
-
$_tertiary: map.merge(map.get($_palettes, tertiary), $_rest);
|
|
137
|
-
|
|
138
|
-
$light-theme: mat.define-theme(
|
|
139
|
-
(
|
|
140
|
-
color: (
|
|
141
|
-
theme-type: light,
|
|
142
|
-
primary: $_primary,
|
|
143
|
-
tertiary: $_tertiary
|
|
144
|
-
)
|
|
145
|
-
)
|
|
146
|
-
);
|
|
147
|
-
$dark-theme: mat.define-theme(
|
|
148
|
-
(
|
|
149
|
-
color: (
|
|
150
|
-
theme-type: dark,
|
|
151
|
-
primary: $_primary,
|
|
152
|
-
tertiary: $_tertiary
|
|
153
|
-
)
|
|
154
|
-
)
|
|
155
|
-
);
|
|
1
|
+
// This file was generated by running 'ng generate @angular/material:m3-theme'.
|
|
2
|
+
// Proceed with caution if making changes to this file.
|
|
3
|
+
|
|
4
|
+
@use 'sass:map';
|
|
5
|
+
@use '@angular/material' as mat;
|
|
6
|
+
|
|
7
|
+
// Note: Color palettes are generated from primary: #135ac5, secondary: #29bcb0
|
|
8
|
+
$_palettes: (
|
|
9
|
+
primary: (
|
|
10
|
+
0: #000000,
|
|
11
|
+
10: #001944,
|
|
12
|
+
20: #002d6d,
|
|
13
|
+
25: #003783,
|
|
14
|
+
30: #00429a,
|
|
15
|
+
35: #004db1,
|
|
16
|
+
40: #1159c4,
|
|
17
|
+
50: #3973df,
|
|
18
|
+
60: #588dfb,
|
|
19
|
+
70: #84aaff,
|
|
20
|
+
80: #afc6ff,
|
|
21
|
+
90: #d9e2ff,
|
|
22
|
+
95: #edf0ff,
|
|
23
|
+
98: #faf8ff,
|
|
24
|
+
99: #fefbff,
|
|
25
|
+
100: #ffffff
|
|
26
|
+
),
|
|
27
|
+
secondary: (
|
|
28
|
+
0: #000000,
|
|
29
|
+
10: #00201d,
|
|
30
|
+
20: #003733,
|
|
31
|
+
25: #00433e,
|
|
32
|
+
30: #00504a,
|
|
33
|
+
35: #005d56,
|
|
34
|
+
40: #006a63,
|
|
35
|
+
50: #00867c,
|
|
36
|
+
60: #00a297,
|
|
37
|
+
70: #2dbeb2,
|
|
38
|
+
80: #54dace,
|
|
39
|
+
90: #75f7ea,
|
|
40
|
+
95: #b2fff5,
|
|
41
|
+
98: #e4fffa,
|
|
42
|
+
99: #f2fffc,
|
|
43
|
+
100: #ffffff
|
|
44
|
+
),
|
|
45
|
+
tertiary: (
|
|
46
|
+
0: #000000,
|
|
47
|
+
10: #330044,
|
|
48
|
+
20: #54006d,
|
|
49
|
+
25: #620f7c,
|
|
50
|
+
30: #6f2089,
|
|
51
|
+
35: #7c2f96,
|
|
52
|
+
40: #8a3ca3,
|
|
53
|
+
50: #a556be,
|
|
54
|
+
60: #c270da,
|
|
55
|
+
70: #df8bf7,
|
|
56
|
+
80: #f0b0ff,
|
|
57
|
+
90: #fbd7ff,
|
|
58
|
+
95: #ffebff,
|
|
59
|
+
98: #fff7fb,
|
|
60
|
+
99: #fffbff,
|
|
61
|
+
100: #ffffff
|
|
62
|
+
),
|
|
63
|
+
neutral: (
|
|
64
|
+
0: #000000,
|
|
65
|
+
10: #191b22,
|
|
66
|
+
20: #2e3037,
|
|
67
|
+
25: #393b43,
|
|
68
|
+
30: #44464e,
|
|
69
|
+
35: #50525a,
|
|
70
|
+
40: #5c5e66,
|
|
71
|
+
50: #75777f,
|
|
72
|
+
60: #8f9099,
|
|
73
|
+
70: #aaabb4,
|
|
74
|
+
80: #c5c6cf,
|
|
75
|
+
90: #e1e2eb,
|
|
76
|
+
95: #f0f0fa,
|
|
77
|
+
98: #faf8ff,
|
|
78
|
+
99: #fefbff,
|
|
79
|
+
100: #ffffff,
|
|
80
|
+
4: #0c0e14,
|
|
81
|
+
6: #11131a,
|
|
82
|
+
12: #1d1f26,
|
|
83
|
+
17: #282a31,
|
|
84
|
+
22: #32353c,
|
|
85
|
+
24: #373940,
|
|
86
|
+
87: #d9d9e3,
|
|
87
|
+
92: #e7e7f1,
|
|
88
|
+
94: #ededf7,
|
|
89
|
+
96: #f3f3fc
|
|
90
|
+
),
|
|
91
|
+
neutral-variant: (
|
|
92
|
+
0: #000000,
|
|
93
|
+
10: #171b26,
|
|
94
|
+
20: #2c303c,
|
|
95
|
+
25: #373b47,
|
|
96
|
+
30: #424653,
|
|
97
|
+
35: #4e525f,
|
|
98
|
+
40: #5a5e6b,
|
|
99
|
+
50: #737784,
|
|
100
|
+
60: #8c909f,
|
|
101
|
+
70: #a7abba,
|
|
102
|
+
80: #c2c6d5,
|
|
103
|
+
90: #dfe2f2,
|
|
104
|
+
95: #edf0ff,
|
|
105
|
+
98: #faf8ff,
|
|
106
|
+
99: #fefbff,
|
|
107
|
+
100: #ffffff
|
|
108
|
+
),
|
|
109
|
+
error: (
|
|
110
|
+
0: #000000,
|
|
111
|
+
10: #410002,
|
|
112
|
+
20: #690005,
|
|
113
|
+
25: #7e0007,
|
|
114
|
+
30: #93000a,
|
|
115
|
+
35: #a80710,
|
|
116
|
+
40: #ba1a1a,
|
|
117
|
+
50: #de3730,
|
|
118
|
+
60: #ff5449,
|
|
119
|
+
70: #ff897d,
|
|
120
|
+
80: #ffb4ab,
|
|
121
|
+
90: #ffdad6,
|
|
122
|
+
95: #ffedea,
|
|
123
|
+
98: #fff8f7,
|
|
124
|
+
99: #fffbff,
|
|
125
|
+
100: #ffffff
|
|
126
|
+
)
|
|
127
|
+
);
|
|
128
|
+
|
|
129
|
+
$_rest: (
|
|
130
|
+
secondary: map.get($_palettes, secondary),
|
|
131
|
+
neutral: map.get($_palettes, neutral),
|
|
132
|
+
neutral-variant: map.get($_palettes, neutral-variant),
|
|
133
|
+
error: map.get($_palettes, error)
|
|
134
|
+
);
|
|
135
|
+
$_primary: map.merge(map.get($_palettes, primary), $_rest);
|
|
136
|
+
$_tertiary: map.merge(map.get($_palettes, tertiary), $_rest);
|
|
137
|
+
|
|
138
|
+
$light-theme: mat.define-theme(
|
|
139
|
+
(
|
|
140
|
+
color: (
|
|
141
|
+
theme-type: light,
|
|
142
|
+
primary: $_primary,
|
|
143
|
+
tertiary: $_tertiary
|
|
144
|
+
)
|
|
145
|
+
)
|
|
146
|
+
);
|
|
147
|
+
$dark-theme: mat.define-theme(
|
|
148
|
+
(
|
|
149
|
+
color: (
|
|
150
|
+
theme-type: dark,
|
|
151
|
+
primary: $_primary,
|
|
152
|
+
tertiary: $_tertiary
|
|
153
|
+
)
|
|
154
|
+
)
|
|
155
|
+
);
|