@bizdoc/core 3.3.14 → 3.3.15
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/assets/themes/brown.min.css +1 -1
- package/assets/themes/deep-purple-light-blue.min.css +1 -1
- package/assets/themes/deep-purple-teal.min.css +1 -1
- package/assets/themes/default.min.css +1 -1
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo-amber.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/fesm2022/bizdoc-core.mjs +19 -5
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/package.json +1 -1
    
        package/fesm2022/bizdoc-core.mjs
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            import * as i0 from '@angular/core';
         | 
| 2 2 | 
             
            import { InjectionToken, Inject, Injectable, Pipe, Directive, Component, Injector, ElementRef, HostListener, TemplateRef, ViewContainerRef, ViewChild, Input, HostBinding, Output, Optional, Self, EventEmitter, NgModule, ViewChildren, inject, Host, SkipSelf, ViewEncapsulation, ContentChild, ContentChildren, provideAppInitializer } from '@angular/core';
         | 
| 3 | 
            -
            import { Subject, Observable, firstValueFrom, forkJoin,  | 
| 3 | 
            +
            import { Subject, Observable, firstValueFrom, forkJoin, BehaviorSubject, merge, takeUntil as takeUntil$1, shareReplay as shareReplay$1, map as map$1, of, filter as filter$1, from, interval, switchMap as switchMap$1, isObservable, catchError as catchError$1, startWith as startWith$1, EMPTY, debounceTime as debounceTime$1 } from 'rxjs';
         | 
| 4 4 | 
             
            import { map, tap, shareReplay, filter, startWith, takeUntil, debounceTime, switchMap, catchError, first, take, finalize } from 'rxjs/operators';
         | 
| 5 5 | 
             
            import * as i4 from '@angular/material/chips';
         | 
| 6 6 | 
             
            import { MatChipInput, MatChipsModule, MatChipListbox } from '@angular/material/chips';
         | 
| @@ -43,7 +43,7 @@ import { ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/port | |
| 43 43 | 
             
            import * as i3 from '@angular/material/snack-bar';
         | 
| 44 44 | 
             
            import { MatSnackBarModule, MAT_SNACK_BAR_DATA, MatSnackBar } from '@angular/material/snack-bar';
         | 
| 45 45 | 
             
            import * as i1$2 from '@angular/router';
         | 
| 46 | 
            -
            import { NavigationStart as NavigationStart$1, ActivationEnd, RouterModule, provideRouter,  | 
| 46 | 
            +
            import { NavigationStart as NavigationStart$1, ActivationEnd, RouterModule, provideRouter, withEnabledBlockingInitialNavigation } from '@angular/router';
         | 
| 47 47 | 
             
            import * as i1$3 from '@angular/forms';
         | 
| 48 48 | 
             
            import { Validators, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
         | 
| 49 49 | 
             
            import * as i2$3 from '@angular/material/datepicker';
         | 
| @@ -3057,8 +3057,22 @@ class GuideComponent { | |
| 3057 3057 | 
             
                            withPositions(positions).
         | 
| 3058 3058 | 
             
                            withGrowAfterOpen();
         | 
| 3059 3059 | 
             
                        if (outOfBound(element)) {
         | 
| 3060 | 
            -
                             | 
| 3061 | 
            -
             | 
| 3060 | 
            +
                            const complete = new Promise((resolve) => {
         | 
| 3061 | 
            +
                                const io = new IntersectionObserver(e => {
         | 
| 3062 | 
            +
                                    //            console.log(e[0]);
         | 
| 3063 | 
            +
                                    if (!e[0].isIntersecting)
         | 
| 3064 | 
            +
                                        return;
         | 
| 3065 | 
            +
                                    resolve();
         | 
| 3066 | 
            +
                                    io.disconnect();
         | 
| 3067 | 
            +
                                }, {
         | 
| 3068 | 
            +
                                    threshold: 0.9
         | 
| 3069 | 
            +
                                });
         | 
| 3070 | 
            +
                                io.observe(element);
         | 
| 3071 | 
            +
                            });
         | 
| 3072 | 
            +
                            element.scrollIntoView({ behavior: 'smooth', block: 'end' });
         | 
| 3073 | 
            +
                            await complete;
         | 
| 3074 | 
            +
                            //  await firstValueFrom(fromEvent(document, 'scroll', { capture: true }).
         | 
| 3075 | 
            +
                            //    pipe(debounceTime(150)));
         | 
| 3062 3076 | 
             
                        }
         | 
| 3063 3077 | 
             
                        execute &&
         | 
| 3064 3078 | 
             
                            element.click();
         | 
| @@ -37645,7 +37659,7 @@ class BizDocModule { | |
| 37645 37659 | 
             
                    if (isMobile()) {
         | 
| 37646 37660 | 
             
                        routes && MOBILE_CONFIG.push(...routes);
         | 
| 37647 37661 | 
             
                        MOBILE_CONFIG.push({ path: '', redirectTo, pathMatch: 'full' });
         | 
| 37648 | 
            -
                        providers.push(provideRouter(MOBILE_CONFIG,  | 
| 37662 | 
            +
                        providers.push(provideRouter(MOBILE_CONFIG, withEnabledBlockingInitialNavigation()));
         | 
| 37649 37663 | 
             
                    }
         | 
| 37650 37664 | 
             
                    else {
         | 
| 37651 37665 | 
             
                        routes && PANES_CONFIG.push(...routes);
         |