@mintplayer/ng-bootstrap 21.5.0 → 21.6.0
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/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +16 -13
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +8 -4
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +22 -16
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +9 -5
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +12 -4
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +43 -5
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +4 -2
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +51 -0
- package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs.map +1 -0
- package/package.json +5 -1
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +2 -1
- package/types/mintplayer-ng-bootstrap-modal.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +2 -0
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-rating.d.ts +2 -0
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +18 -9
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-viewport.d.ts +16 -0
|
@@ -13,9 +13,11 @@ import { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';
|
|
|
13
13
|
import * as i6 from '@mintplayer/ng-bootstrap/progress-bar';
|
|
14
14
|
import { BsProgressBarModule } from '@mintplayer/ng-bootstrap/progress-bar';
|
|
15
15
|
|
|
16
|
+
let typeaheadIdCounter = 0;
|
|
16
17
|
class BsTypeaheadComponent {
|
|
17
18
|
constructor() {
|
|
18
19
|
this.isOpen = signal(false, ...(ngDevMode ? [{ debugName: "isOpen" }] : []));
|
|
20
|
+
this.listboxId = `typeahead-listbox-${typeaheadIdCounter++}`;
|
|
19
21
|
this.suggestions = input([], ...(ngDevMode ? [{ debugName: "suggestions" }] : []));
|
|
20
22
|
this.isLoading = signal(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
|
|
21
23
|
this.showNoSuggestions = computed(() => this.suggestions().length === 0, ...(ngDevMode ? [{ debugName: "showNoSuggestions" }] : []));
|
|
@@ -56,11 +58,11 @@ class BsTypeaheadComponent {
|
|
|
56
58
|
this.textbox.nativeElement.focus();
|
|
57
59
|
}
|
|
58
60
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsTypeaheadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
59
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsTypeaheadComponent, isStandalone: true, selector: "bs-typeahead", inputs: { suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, searchterm: { classPropertyName: "searchterm", publicName: "searchterm", isSignal: true, isRequired: false, transformFunction: null }, isLoadingText: { classPropertyName: "isLoadingText", publicName: "isLoadingText", isSignal: true, isRequired: false, transformFunction: null }, noSuggestionsText: { classPropertyName: "noSuggestionsText", publicName: "noSuggestionsText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { searchterm: "searchtermChange", provideSuggestions: "provideSuggestions", suggestionSelected: "suggestionSelected", submitted: "submitted" }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true }], ngImport: i0, template: "<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"
|
|
61
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsTypeaheadComponent, isStandalone: true, selector: "bs-typeahead", inputs: { suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, searchterm: { classPropertyName: "searchterm", publicName: "searchterm", isSignal: true, isRequired: false, transformFunction: null }, isLoadingText: { classPropertyName: "isLoadingText", publicName: "isLoadingText", isSignal: true, isRequired: false, transformFunction: null }, noSuggestionsText: { classPropertyName: "noSuggestionsText", publicName: "noSuggestionsText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { searchterm: "searchtermChange", provideSuggestions: "provideSuggestions", suggestionSelected: "suggestionSelected", submitted: "submitted" }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true }], ngImport: i0, template: "<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\" role=\"combobox\" [attr.aria-expanded]=\"isOpen()\">\n <input type=\"text\"\n #textbox\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n (keyup.enter)=\"onSubmit()\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n [attr.aria-controls]=\"isOpen() ? listboxId : null\"\n autocomplete=\"off\" />\n <bs-dropdown-menu *bsDropdownMenu role=\"listbox\" [id]=\"listboxId\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item [disabled]=\"true\" role=\"option\" aria-disabled=\"true\">\n {{ isLoadingText() }}\n </bs-dropdown-item>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <bs-dropdown-item [disabled]=\"true\" role=\"option\" aria-disabled=\"true\">\n {{ noSuggestionsText() }}\n </bs-dropdown-item>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <bs-dropdown-item (click)=\"suggestionClicked(suggestion)\" role=\"option\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n", styles: ["bs-progress{margin-top:-8px;margin-bottom:6px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: BsFormModule }, { kind: "component", type: i2.BsFormComponent, selector: "bs-form", inputs: ["action", "method"], outputs: ["submitted"] }, { kind: "directive", type: i2.BsFormControlDirective, selector: "bs-form input:not(.no-form-control), bs-form textarea:not(.no-form-control)" }, { kind: "ngmodule", type: BsDropdownModule }, { kind: "directive", type: i3.BsDropdownDirective, selector: "[bsDropdown]", inputs: ["hasBackdrop", "sameWidth", "closeOnClickOutside", "sameDropdownWidth", "isOpen"], outputs: ["isOpenChange"] }, { kind: "directive", type: i3.BsDropdownMenuDirective, selector: "[bsDropdownMenu]" }, { kind: "component", type: i4.BsHasOverlayComponent, selector: "bs-has-overlay" }, { kind: "ngmodule", type: BsDropdownMenuModule }, { kind: "component", type: i5.BsDropdownMenuComponent, selector: "bs-dropdown-menu", inputs: ["maxHeight"] }, { kind: "component", type: i5.BsDropdownItemComponent, selector: "bs-dropdown-item", inputs: ["isSelected", "disabled"] }, { kind: "ngmodule", type: BsProgressBarModule }, { kind: "component", type: i6.BsProgressComponent, selector: "bs-progress", inputs: ["height", "isIndeterminate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
60
62
|
}
|
|
61
63
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsTypeaheadComponent, decorators: [{
|
|
62
64
|
type: Component,
|
|
63
|
-
args: [{ selector: 'bs-typeahead', standalone: true, imports: [FormsModule, BsFormModule, BsDropdownModule, BsDropdownMenuModule, BsProgressBarModule, BsHasOverlayComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"
|
|
65
|
+
args: [{ selector: 'bs-typeahead', standalone: true, imports: [FormsModule, BsFormModule, BsDropdownModule, BsDropdownMenuModule, BsProgressBarModule, BsHasOverlayComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\" role=\"combobox\" [attr.aria-expanded]=\"isOpen()\">\n <input type=\"text\"\n #textbox\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n (keyup.enter)=\"onSubmit()\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n [attr.aria-controls]=\"isOpen() ? listboxId : null\"\n autocomplete=\"off\" />\n <bs-dropdown-menu *bsDropdownMenu role=\"listbox\" [id]=\"listboxId\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item [disabled]=\"true\" role=\"option\" aria-disabled=\"true\">\n {{ isLoadingText() }}\n </bs-dropdown-item>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <bs-dropdown-item [disabled]=\"true\" role=\"option\" aria-disabled=\"true\">\n {{ noSuggestionsText() }}\n </bs-dropdown-item>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <bs-dropdown-item (click)=\"suggestionClicked(suggestion)\" role=\"option\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n", styles: ["bs-progress{margin-top:-8px;margin-bottom:6px}\n"] }]
|
|
64
66
|
}], ctorParameters: () => [], propDecorators: { suggestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "suggestions", required: false }] }], textbox: [{
|
|
65
67
|
type: ViewChild,
|
|
66
68
|
args: ['textbox']
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-typeahead.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.ts","../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.html","../../../../libs/mintplayer-ng-bootstrap/typeahead/mintplayer-ng-bootstrap-typeahead.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, input, model, output, signal, ViewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { BsDropdownModule } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuModule } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsFormModule } from '@mintplayer/ng-bootstrap/form';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsProgressBarModule } from '@mintplayer/ng-bootstrap/progress-bar';\n\n@Component({\n selector: 'bs-typeahead',\n templateUrl: './typeahead.component.html',\n styleUrls: ['./typeahead.component.scss'],\n standalone: true,\n imports: [FormsModule, BsFormModule, BsDropdownModule, BsDropdownMenuModule, BsProgressBarModule, BsHasOverlayComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTypeaheadComponent {\n\n isOpen = signal(false);\n\n suggestions = input<any[]>([]);\n isLoading = signal<boolean>(false);\n showNoSuggestions = computed(() => this.suggestions().length === 0);\n\n @ViewChild('textbox') textbox!: ElementRef<HTMLInputElement>;\n searchterm = model('');\n isLoadingText = input('Loading...');\n noSuggestionsText = input('No suggestions found');\n provideSuggestions = output<string>();\n suggestionSelected = output<any>();\n submitted = output<string>();\n\n constructor() {\n effect(() => {\n const suggestions = this.suggestions();\n if (suggestions) {\n this.isLoading.set(false);\n }\n });\n }\n\n onProvideSuggestions(value: string) {\n this.searchterm.set(value);\n if (value === '') {\n this.isOpen.set(false);\n } else {\n this.isLoading.set(true);\n this.isOpen.set(true);\n this.provideSuggestions.emit(value);\n }\n }\n\n suggestionClicked(suggestion: any) {\n this.searchterm.set(suggestion.text);\n this.isOpen.set(false);\n this.suggestionSelected.emit(suggestion);\n }\n\n onSubmit() {\n this.isOpen.set(false);\n this.submitted.emit(this.searchterm());\n }\n\n public focus() {\n this.textbox.nativeElement.focus();\n }\n}\n","<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-typeahead.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.ts","../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.html","../../../../libs/mintplayer-ng-bootstrap/typeahead/mintplayer-ng-bootstrap-typeahead.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, input, model, output, signal, ViewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { BsDropdownModule } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuModule } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsFormModule } from '@mintplayer/ng-bootstrap/form';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsProgressBarModule } from '@mintplayer/ng-bootstrap/progress-bar';\n\nlet typeaheadIdCounter = 0;\n\n@Component({\n selector: 'bs-typeahead',\n templateUrl: './typeahead.component.html',\n styleUrls: ['./typeahead.component.scss'],\n standalone: true,\n imports: [FormsModule, BsFormModule, BsDropdownModule, BsDropdownMenuModule, BsProgressBarModule, BsHasOverlayComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTypeaheadComponent {\n\n isOpen = signal(false);\n listboxId = `typeahead-listbox-${typeaheadIdCounter++}`;\n\n suggestions = input<any[]>([]);\n isLoading = signal<boolean>(false);\n showNoSuggestions = computed(() => this.suggestions().length === 0);\n\n @ViewChild('textbox') textbox!: ElementRef<HTMLInputElement>;\n searchterm = model('');\n isLoadingText = input('Loading...');\n noSuggestionsText = input('No suggestions found');\n provideSuggestions = output<string>();\n suggestionSelected = output<any>();\n submitted = output<string>();\n\n constructor() {\n effect(() => {\n const suggestions = this.suggestions();\n if (suggestions) {\n this.isLoading.set(false);\n }\n });\n }\n\n onProvideSuggestions(value: string) {\n this.searchterm.set(value);\n if (value === '') {\n this.isOpen.set(false);\n } else {\n this.isLoading.set(true);\n this.isOpen.set(true);\n this.provideSuggestions.emit(value);\n }\n }\n\n suggestionClicked(suggestion: any) {\n this.searchterm.set(suggestion.text);\n this.isOpen.set(false);\n this.suggestionSelected.emit(suggestion);\n }\n\n onSubmit() {\n this.isOpen.set(false);\n this.submitted.emit(this.searchterm());\n }\n\n public focus() {\n this.textbox.nativeElement.focus();\n }\n}\n","<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\" role=\"combobox\" [attr.aria-expanded]=\"isOpen()\">\n <input type=\"text\"\n #textbox\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n (keyup.enter)=\"onSubmit()\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n [attr.aria-controls]=\"isOpen() ? listboxId : null\"\n autocomplete=\"off\" />\n <bs-dropdown-menu *bsDropdownMenu role=\"listbox\" [id]=\"listboxId\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item [disabled]=\"true\" role=\"option\" aria-disabled=\"true\">\n {{ isLoadingText() }}\n </bs-dropdown-item>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <bs-dropdown-item [disabled]=\"true\" role=\"option\" aria-disabled=\"true\">\n {{ noSuggestionsText() }}\n </bs-dropdown-item>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <bs-dropdown-item (click)=\"suggestionClicked(suggestion)\" role=\"option\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,IAAI,kBAAkB,GAAG,CAAC;MAUb,oBAAoB,CAAA;AAiB/B,IAAA,WAAA,GAAA;AAfA,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,KAAK,k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AA,EAAA,cAAc,cAGZ,IAAI,EAAA,OAAA,EACP,CAAC,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,qBAAqB,CAAC,EAAA,eAAA,EACvG,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,+jDAAA,EAAA,MAAA,EAAA,CAAA,kDAAA,CAAA,EAAA;;sBAW9C,SAAS;uBAAC,SAAS;;;AE3BtB;;AAEG;;;;"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, ElementRef, PLATFORM_ID, EventEmitter, Output, Directive } from '@angular/core';
|
|
3
|
+
import { isPlatformServer } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class BsInViewportDirective {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.elementRef = inject(ElementRef);
|
|
8
|
+
this.platformId = inject(PLATFORM_ID);
|
|
9
|
+
this.observer = null;
|
|
10
|
+
this.isDestroyed = false;
|
|
11
|
+
this.bsInViewport = new EventEmitter();
|
|
12
|
+
}
|
|
13
|
+
ngAfterViewInit() {
|
|
14
|
+
if (isPlatformServer(this.platformId)) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
this.observer = new IntersectionObserver((entries) => {
|
|
18
|
+
if (!this.isDestroyed) {
|
|
19
|
+
for (const entry of entries) {
|
|
20
|
+
this.bsInViewport.emit(entry.isIntersecting);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
this.observer.observe(this.elementRef.nativeElement);
|
|
25
|
+
}
|
|
26
|
+
ngOnDestroy() {
|
|
27
|
+
this.isDestroyed = true;
|
|
28
|
+
if (this.observer) {
|
|
29
|
+
this.observer.disconnect();
|
|
30
|
+
this.observer = null;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInViewportDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
34
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsInViewportDirective, isStandalone: true, selector: "[bsInViewport]", outputs: { bsInViewport: "bsInViewport" }, ngImport: i0 }); }
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInViewportDirective, decorators: [{
|
|
37
|
+
type: Directive,
|
|
38
|
+
args: [{
|
|
39
|
+
selector: '[bsInViewport]',
|
|
40
|
+
standalone: true,
|
|
41
|
+
}]
|
|
42
|
+
}], propDecorators: { bsInViewport: [{
|
|
43
|
+
type: Output
|
|
44
|
+
}] } });
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Generated bundle index. Do not edit.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
export { BsInViewportDirective };
|
|
51
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-viewport.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-viewport.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/viewport/src/viewport/viewport.directive.ts","../../../../libs/mintplayer-ng-bootstrap/viewport/mintplayer-ng-bootstrap-viewport.ts"],"sourcesContent":["import { AfterViewInit, Directive, ElementRef, EventEmitter, inject, OnDestroy, Output, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\n\n@Directive({\n selector: '[bsInViewport]',\n standalone: true,\n})\nexport class BsInViewportDirective implements AfterViewInit, OnDestroy {\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly platformId = inject(PLATFORM_ID);\n private observer: IntersectionObserver | null = null;\n private isDestroyed = false;\n\n @Output() bsInViewport = new EventEmitter<boolean>();\n\n ngAfterViewInit() {\n if (isPlatformServer(this.platformId)) {\n return;\n }\n\n this.observer = new IntersectionObserver((entries) => {\n if (!this.isDestroyed) {\n for (const entry of entries) {\n this.bsInViewport.emit(entry.isIntersecting);\n }\n }\n });\n\n this.observer.observe(this.elementRef.nativeElement);\n }\n\n ngOnDestroy() {\n this.isDestroyed = true;\n if (this.observer) {\n this.observer.disconnect();\n this.observer = null;\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,qBAAqB,CAAA;AAJlC,IAAA,WAAA,GAAA;AAKmB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;AACxD,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;QACzC,IAAA,CAAA,QAAQ,GAAgC,IAAI;QAC5C,IAAA,CAAA,WAAW,GAAG,KAAK;AAEjB,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAW;AAyBrD,IAAA;IAvBC,eAAe,GAAA;AACb,QAAA,IAAI,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YACrC;QACF;QAEA,IAAI,CAAC,QAAQ,GAAG,IAAI,oBAAoB,CAAC,CAAC,OAAO,KAAI;AACnD,YAAA,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;AACrB,gBAAA,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE;oBAC3B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC;gBAC9C;YACF;AACF,QAAA,CAAC,CAAC;QAEF,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;IACtD;IAEA,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,WAAW,GAAG,IAAI;AACvB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,YAAA,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE;AAC1B,YAAA,IAAI,CAAC,QAAQ,GAAG,IAAI;QACtB;IACF;8GA9BW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,OAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;sBAOE;;;ACbH;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/ng-bootstrap",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "21.
|
|
4
|
+
"version": "21.6.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
|
|
@@ -340,6 +340,10 @@
|
|
|
340
340
|
"types": "./types/mintplayer-ng-bootstrap-user-agent.d.ts",
|
|
341
341
|
"default": "./fesm2022/mintplayer-ng-bootstrap-user-agent.mjs"
|
|
342
342
|
},
|
|
343
|
+
"./viewport": {
|
|
344
|
+
"types": "./types/mintplayer-ng-bootstrap-viewport.d.ts",
|
|
345
|
+
"default": "./fesm2022/mintplayer-ng-bootstrap-viewport.mjs"
|
|
346
|
+
},
|
|
343
347
|
"./word-count": {
|
|
344
348
|
"types": "./types/mintplayer-ng-bootstrap-word-count.d.ts",
|
|
345
349
|
"default": "./fesm2022/mintplayer-ng-bootstrap-word-count.mjs"
|
|
@@ -17,7 +17,6 @@ declare class BsDropdownMenuDirective extends ClickOutsideDirective {
|
|
|
17
17
|
private overlayRef;
|
|
18
18
|
private templatePortal;
|
|
19
19
|
constructor();
|
|
20
|
-
get show(): any;
|
|
21
20
|
clickedOutside(event: Event): void;
|
|
22
21
|
onEscape(event: Event): void;
|
|
23
22
|
private doClose;
|
|
@@ -29,6 +28,8 @@ declare class BsDropdownToggleDirective {
|
|
|
29
28
|
private dropdown;
|
|
30
29
|
constructor(dropdown: BsDropdownDirective, toggleButton: ElementRef);
|
|
31
30
|
toggleButton: ElementRef;
|
|
31
|
+
ariaHasPopup: string;
|
|
32
|
+
get ariaExpanded(): boolean;
|
|
32
33
|
onClick(): void;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownToggleDirective, never>;
|
|
34
35
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownToggleDirective, "[bsDropdownToggle]", never, {}, {}, never, never, false, never>;
|
|
@@ -59,6 +59,7 @@ declare class BsModalFooterDirective {
|
|
|
59
59
|
|
|
60
60
|
declare class BsModalCloseDirective {
|
|
61
61
|
private host;
|
|
62
|
+
ariaLabel: string;
|
|
62
63
|
onClick(): void;
|
|
63
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalCloseDirective, never>;
|
|
64
65
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BsModalCloseDirective, "[bsModalClose]", never, {}, {}, never, never, false, never>;
|
|
@@ -11,6 +11,7 @@ import * as i16 from '@mintplayer/ng-bootstrap/dropdown-divider';
|
|
|
11
11
|
import * as i17 from '@mintplayer/ng-bootstrap/navbar-toggler';
|
|
12
12
|
|
|
13
13
|
declare class BsNavbarComponent {
|
|
14
|
+
private resizeTimeout;
|
|
14
15
|
constructor();
|
|
15
16
|
onWindowResize(): void;
|
|
16
17
|
nav: ElementRef;
|
|
@@ -39,6 +40,7 @@ declare class BsNavbarNavComponent {
|
|
|
39
40
|
windowWidth: _angular_core.WritableSignal<number | null>;
|
|
40
41
|
isResizing: _angular_core.WritableSignal<boolean>;
|
|
41
42
|
collapse: _angular_core.InputSignal<boolean>;
|
|
43
|
+
private resizeTimeout;
|
|
42
44
|
showNavs: _angular_core.Signal<boolean>;
|
|
43
45
|
constructor();
|
|
44
46
|
onWindowResize(): void;
|
|
@@ -58,6 +58,7 @@ declare class BsOffcanvasHostComponent implements AfterViewInit, OnDestroy {
|
|
|
58
58
|
|
|
59
59
|
declare class BsOffcanvasCloseDirective {
|
|
60
60
|
private offcanvas;
|
|
61
|
+
ariaLabel: string;
|
|
61
62
|
onClick(): void;
|
|
62
63
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsOffcanvasCloseDirective, never>;
|
|
63
64
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsOffcanvasCloseDirective, "[bsOffcanvasClose]", never, {}, {}, never, never, false, never>;
|
|
@@ -3,26 +3,35 @@ import { SafeHtml } from '@angular/platform-browser';
|
|
|
3
3
|
import * as i3 from '@angular/common';
|
|
4
4
|
import * as i4 from '@mintplayer/ng-bootstrap/list-group';
|
|
5
5
|
|
|
6
|
-
declare class BsTreeviewComponent {
|
|
7
|
-
private parent;
|
|
8
|
-
level: i0.Signal<number>;
|
|
9
|
-
indentation: i0.Signal<number>;
|
|
10
|
-
isExpanded: i0.ModelSignal<boolean>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsTreeviewComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsTreeviewComponent, "bs-treeview", never, { "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; }, { "isExpanded": "isExpandedChange"; }, never, ["*"], false, never>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
6
|
declare class BsTreeviewItemComponent {
|
|
16
7
|
readonly parent: BsTreeviewComponent;
|
|
17
8
|
private sanitizer;
|
|
9
|
+
private destroyRef;
|
|
18
10
|
childTree?: BsTreeviewComponent;
|
|
19
11
|
chevronRight: i0.WritableSignal<SafeHtml | undefined>;
|
|
12
|
+
tabIndex: i0.Signal<0 | -1>;
|
|
20
13
|
constructor();
|
|
21
14
|
onClick(ev: MouseEvent): void;
|
|
22
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsTreeviewItemComponent, never>;
|
|
23
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<BsTreeviewItemComponent, "bs-treeview-item", never, {}, {}, ["childTree"], ["*", "bs-treeview"], false, never>;
|
|
24
17
|
}
|
|
25
18
|
|
|
19
|
+
declare class BsTreeviewComponent {
|
|
20
|
+
private parent;
|
|
21
|
+
level: i0.Signal<number>;
|
|
22
|
+
indentation: i0.Signal<number>;
|
|
23
|
+
isExpanded: i0.ModelSignal<boolean>;
|
|
24
|
+
private items;
|
|
25
|
+
focusedItem: i0.WritableSignal<BsTreeviewItemComponent | null>;
|
|
26
|
+
private getRootTree;
|
|
27
|
+
registerItem(item: BsTreeviewItemComponent): void;
|
|
28
|
+
unregisterItem(item: BsTreeviewItemComponent): void;
|
|
29
|
+
setFocusedItem(item: BsTreeviewItemComponent): void;
|
|
30
|
+
isFocusedItem(item: BsTreeviewItemComponent): boolean;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTreeviewComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsTreeviewComponent, "bs-treeview", never, { "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; }, { "isExpanded": "isExpandedChange"; }, never, ["*"], false, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
26
35
|
declare class BsTreeviewModule {
|
|
27
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsTreeviewModule, never>;
|
|
28
37
|
static ɵmod: i0.ɵɵNgModuleDeclaration<BsTreeviewModule, [typeof BsTreeviewComponent, typeof BsTreeviewItemComponent], [typeof i3.CommonModule, typeof i4.BsListGroupModule], [typeof BsTreeviewComponent, typeof BsTreeviewItemComponent]>;
|
|
@@ -3,6 +3,7 @@ import { ElementRef } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
declare class BsTypeaheadComponent {
|
|
5
5
|
isOpen: _angular_core.WritableSignal<boolean>;
|
|
6
|
+
listboxId: string;
|
|
6
7
|
suggestions: _angular_core.InputSignal<any[]>;
|
|
7
8
|
isLoading: _angular_core.WritableSignal<boolean>;
|
|
8
9
|
showNoSuggestions: _angular_core.Signal<boolean>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class BsInViewportDirective implements AfterViewInit, OnDestroy {
|
|
5
|
+
private readonly elementRef;
|
|
6
|
+
private readonly platformId;
|
|
7
|
+
private observer;
|
|
8
|
+
private isDestroyed;
|
|
9
|
+
bsInViewport: EventEmitter<boolean>;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsInViewportDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsInViewportDirective, "[bsInViewport]", never, {}, { "bsInViewport": "bsInViewport"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { BsInViewportDirective };
|