{"version":3,"file":"ngx-ui-tour-ng-bootstrap.mjs","sources":["../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/ng-bootstrap-tour.service.ts","../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/tour-step-template.service.ts","../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/tour-anchor.directive.ts","../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/tour-step-template/tour-default-step-template/tour-default-step-template.component.ts","../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/tour-step-template/tour-default-step-template/tour-default-step-template.component.html","../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/tour-step-template/tour-step-template.component.ts","../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/tour-step-template/tour-step-template.component.html","../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/tour-proxy-anchor.component.ts","../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/tour-ng-bootstrap.ts","../../../libs/ngx-ui-tour-ng-bootstrap/src/lib/provide-ui-tour.ts","../../../libs/ngx-ui-tour-ng-bootstrap/src/ngx-ui-tour-ng-bootstrap.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\r\nimport {TourService} from 'ngx-ui-tour-core';\r\n\r\nimport type {INgbStepOption} from './step-option.interface';\r\n\r\n@Injectable()\r\nexport class NgbTourService<T extends INgbStepOption = INgbStepOption> extends TourService<T> {}\r\n","import type {TemplateRef} from '@angular/core';\r\nimport {Injectable} from '@angular/core';\r\nimport type {IStepOption} from 'ngx-ui-tour-core';\r\n\r\n@Injectable()\r\nexport class TourStepTemplateService {\r\n  public template: TemplateRef<{ step: IStepOption }>;\r\n}\r\n","import {Directive, ElementRef, inject, type OnDestroy, type OnInit, signal, input} from '@angular/core';\r\nimport type {Placement} from '@ng-bootstrap/ng-bootstrap';\r\nimport {NgbPopover} from '@ng-bootstrap/ng-bootstrap';\r\nimport type {TourAnchorDirective} from 'ngx-ui-tour-core';\r\n\r\nimport {NgbTourService} from './ng-bootstrap-tour.service';\r\nimport type {INgbStepOption} from './step-option.interface';\r\nimport {TourStepTemplateService} from './tour-step-template.service';\r\nimport {firstValueFrom} from 'rxjs';\r\nimport type {Options} from '@popperjs/core';\r\n\r\n\r\n@Directive({\r\n    selector: '[tourAnchor]',\r\n    hostDirectives: [NgbPopover],\r\n    host: {\r\n        '[class.touranchor--is-active]': 'isActive()'\r\n    }\r\n})\r\nexport class TourAnchorNgBootstrapDirective implements OnInit, OnDestroy, TourAnchorDirective {\r\n\r\n    public readonly tourAnchor = input<string>();\r\n\r\n    public isActive = signal(false);\r\n    public readonly element = inject(ElementRef);\r\n    private readonly tourService = inject(NgbTourService);\r\n    private readonly tourStepTemplate = inject(TourStepTemplateService);\r\n    private popoverDirective = inject(NgbPopover, {host: true});\r\n\r\n    constructor() {\r\n        this.popoverDirective.autoClose = false;\r\n        this.popoverDirective.triggers = '';\r\n        // eslint-disable-next-line @typescript-eslint/no-empty-function\r\n        this.popoverDirective.toggle = () => {};\r\n    }\r\n\r\n    public ngOnInit(): void {\r\n        this.tourService.register(this.tourAnchor(), this);\r\n    }\r\n\r\n    public ngOnDestroy(): void {\r\n        this.tourService.unregister(this.tourAnchor());\r\n    }\r\n\r\n    // noinspection JSUnusedGlobalSymbols\r\n    public async showTourStep(step: INgbStepOption) {\r\n        if (this.popoverDirective.isOpen()) {\r\n            await firstValueFrom(this.popoverDirective.hidden);\r\n        }\r\n\r\n        this.isActive.set(true);\r\n        this.popoverDirective.ngbPopover = this.tourStepTemplate.template;\r\n        if (step.useLegacyTitle) {\r\n            this.popoverDirective.popoverTitle = step.title;\r\n        }\r\n        this.popoverDirective.container = 'body';\r\n\r\n        const popoverClass = step.popoverClass ?? '';\r\n        this.popoverDirective.popoverClass = `tour-step ${popoverClass}`;\r\n        this.popoverDirective.placement = (step.placement || 'auto')\r\n            .replace('before', 'left').replace('after', 'right')\r\n            .replace('below', 'bottom').replace('above', 'top') as Placement;\r\n\r\n        const offset = step.backdropConfig?.offset;\r\n\r\n        if (offset) {\r\n            this.popoverDirective.popperOptions = options => this.setOffsetModifier(options, offset);\r\n        }\r\n        this.popoverDirective.positionTarget = this.element.nativeElement;\r\n\r\n        this.popoverDirective.open({step});\r\n    }\r\n\r\n    private setOffsetModifier(options: Partial<Options>, offset: number): Partial<Options> {\r\n        const offsetModifier = options.modifiers\r\n                ?.find(modifier => modifier.name === 'offset' && modifier.options),\r\n            arrowHeight = 10;\r\n\r\n        if (offsetModifier) {\r\n            offsetModifier.options['offset'] = [0, offset + arrowHeight];\r\n        }\r\n\r\n        return options;\r\n    }\r\n\r\n    // noinspection JSUnusedGlobalSymbols\r\n    public hideTourStep(): void {\r\n        this.isActive.set(false);\r\n        this.popoverDirective.close();\r\n    }\r\n\r\n}\r\n","import {ChangeDetectionStrategy, Component, inject, input} from '@angular/core';\r\nimport type {INgbStepOption} from '../../step-option.interface';\r\nimport {NgbTourService} from '../../ng-bootstrap-tour.service';\r\n\r\n@Component({\r\n    selector: 'tour-default-step-template',\r\n    imports: [],\r\n    templateUrl: './tour-default-step-template.component.html',\r\n    styleUrl: './tour-default-step-template.component.scss',\r\n    changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class TourDefaultStepTemplateComponent {\r\n\r\n    readonly step = input.required<INgbStepOption>();\r\n    protected readonly tourService = inject(NgbTourService);\r\n\r\n}\r\n","@let step = this.step();\r\n\r\n<div\r\n    [style.width]=\"step.stepDimensions?.width\"\r\n    [style.min-width]=\"step.stepDimensions?.minWidth\"\r\n    [style.max-width]=\"step.stepDimensions?.maxWidth\"\r\n    class=\"main-container\"\r\n>\r\n    @if (!step?.useLegacyTitle && step?.title) {\r\n        <div class=\"title-container\">\r\n            <h5>{{ step?.title }}</h5>\r\n            <button\r\n                type=\"button\"\r\n                class=\"btn-close\"\r\n                aria-label=\"Close\"\r\n                (click)=\"tourService.end()\"\r\n            ></button>\r\n        </div>\r\n    }\r\n    <p\r\n        class=\"card-text\"\r\n        [innerHTML]=\"step?.content\"\r\n    ></p>\r\n    <div\r\n        class=\"buttons\"\r\n        [class.no-progress]=\"!step.showProgress\"\r\n    >\r\n        <button\r\n            [disabled]=\"!tourService.hasPrev(step)\"\r\n            class=\"btn btn-sm btn-outline-secondary prev\"\r\n            (click)=\"tourService.prev()\"\r\n        >\r\n            <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">\r\n                <path d=\"M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z\"/>\r\n            </svg>\r\n            {{ step?.prevBtnTitle }}\r\n        </button>\r\n        @if (step.showProgress) {\r\n            <div class=\"progress\">{{ tourService.steps.indexOf(step) + 1 }} / {{ tourService.steps.length }}</div>\r\n        }\r\n        @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n            <button\r\n                class=\"btn btn-sm btn-outline-primary next\"\r\n                (click)=\"tourService.next()\"\r\n            >\r\n                {{ step?.nextBtnTitle }}\r\n                <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">\r\n                    <path d=\"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z\"/>\r\n                </svg>\r\n            </button>\r\n        }\r\n        @if (!tourService.hasNext(step)) {\r\n            <button\r\n                class=\"btn btn-sm btn-outline-primary\"\r\n                (click)=\"tourService.end()\"\r\n            >\r\n                {{ step?.endBtnTitle }}\r\n            </button>\r\n        }\r\n    </div>\r\n</div>\r\n","import {\r\n    type AfterContentInit,\r\n    ChangeDetectionStrategy,\r\n    Component,\r\n    contentChild,\r\n    inject,\r\n    input,\r\n    TemplateRef,\r\n    viewChild\r\n} from '@angular/core';\r\nimport {TourHotkeyListenerComponent} from 'ngx-ui-tour-core';\r\nimport {TourStepTemplateService} from '../tour-step-template.service';\r\nimport {NgbTourService} from '../ng-bootstrap-tour.service';\r\nimport type {IStepOption} from '../../public_api';\r\nimport {TourDefaultStepTemplateComponent} from './tour-default-step-template/tour-default-step-template.component';\r\n\r\n@Component({\r\n    selector: 'tour-step-template',\r\n    templateUrl: './tour-step-template.component.html',\r\n    styleUrls: ['./tour-step-template.component.scss'],\r\n    imports: [\r\n        TourDefaultStepTemplateComponent\r\n    ],\r\n    changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class TourStepTemplateComponent extends TourHotkeyListenerComponent implements AfterContentInit {\r\n\r\n    public readonly defaultTourStepTemplate = viewChild('tourStep', {read: TemplateRef});\r\n    public readonly stepTemplate = input<TemplateRef<{ step: IStepOption }>>();\r\n    public readonly stepTemplateContent = contentChild(TemplateRef);\r\n\r\n    private readonly tourStepTemplateService = inject(TourStepTemplateService);\r\n    public override readonly tourService = inject(NgbTourService);\r\n\r\n    public ngAfterContentInit(): void {\r\n        this.tourStepTemplateService.template =\r\n            this.stepTemplate() ||\r\n            this.stepTemplateContent() ||\r\n            this.defaultTourStepTemplate();\r\n    }\r\n\r\n}\r\n","<ng-template #tourStep let-step=\"step\">\r\n    <tour-default-step-template\r\n        [step]=\"step\"\r\n    />\r\n</ng-template>\r\n","import {BaseTourProxyAnchor} from 'ngx-ui-tour-core';\r\nimport {ChangeDetectionStrategy, Component, inject, input} from '@angular/core';\r\nimport {TourAnchorNgBootstrapDirective} from './tour-anchor.directive';\r\n\r\n@Component({\r\n    selector: 'tour-proxy-anchor',\r\n    template: ``,\r\n    changeDetection: ChangeDetectionStrategy.OnPush,\r\n    imports: [],\r\n    hostDirectives: [{\r\n        directive: TourAnchorNgBootstrapDirective,\r\n        inputs: ['tourAnchor: anchorId']\r\n    }]\r\n})\r\nexport class TourProxyAnchorComponent extends BaseTourProxyAnchor {\r\n\r\n    // noinspection JSUnusedGlobalSymbols\r\n    protected override readonly anchorDirective = inject(TourAnchorNgBootstrapDirective, {\r\n        host: true\r\n    });\r\n\r\n    public override readonly anchorEl = input.required<string | HTMLElement>();\r\n\r\n}\r\n","import {TourAnchorNgBootstrapDirective} from './tour-anchor.directive';\r\nimport {TourStepTemplateComponent} from './tour-step-template/tour-step-template.component';\r\nimport {TourProxyAnchorComponent} from './tour-proxy-anchor.component';\r\n\r\nexport const TourNgBootstrap = [\r\n    TourAnchorNgBootstrapDirective, TourStepTemplateComponent, TourProxyAnchorComponent\r\n] as const;\r\n","import {type EnvironmentProviders, makeEnvironmentProviders} from '@angular/core';\r\nimport type {INgbStepOption} from './step-option.interface';\r\nimport {UI_TOUR_OPTIONS} from 'ngx-ui-tour-core';\r\nimport {NgbTourService} from './ng-bootstrap-tour.service';\r\nimport {TourStepTemplateService} from './tour-step-template.service';\r\n\r\n\r\nexport function provideUiTour(\r\n    config: INgbStepOption = {}\r\n): EnvironmentProviders {\r\n    const options: INgbStepOption = {\r\n        useLegacyTitle: false,\r\n        placement: 'auto',\r\n        ...config\r\n    };\r\n\r\n    return makeEnvironmentProviders([\r\n        {\r\n            provide: UI_TOUR_OPTIONS,\r\n            useValue: options\r\n        },\r\n        NgbTourService,\r\n        TourStepTemplateService\r\n    ]);\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAMM,MAAO,cAA0D,SAAQ,WAAc,CAAA;8GAAhF,cAAc,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAd,cAAc,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B;;;MCAY,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAvB,uBAAuB,EAAA,CAAA,CAAA;;2FAAvB,uBAA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