@mintplayer/ng-bootstrap 21.4.4 → 21.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +4 -4
  2. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  3. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +2 -2
  4. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
  5. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +16 -13
  6. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  7. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +8 -4
  8. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
  9. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +22 -16
  10. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  11. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +9 -5
  12. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  13. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +12 -4
  14. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  15. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +2 -2
  16. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
  17. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +6 -6
  18. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  19. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +2 -2
  20. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
  21. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +43 -5
  22. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +4 -2
  24. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  25. package/package.json +3 -7
  26. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +2 -1
  27. package/types/mintplayer-ng-bootstrap-modal.d.ts +1 -0
  28. package/types/mintplayer-ng-bootstrap-navbar.d.ts +2 -0
  29. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +1 -0
  30. package/types/mintplayer-ng-bootstrap-rating.d.ts +2 -0
  31. package/types/mintplayer-ng-bootstrap-treeview.d.ts +18 -9
  32. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +1 -0
  33. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +0 -263
  34. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +0 -1
  35. package/types/mintplayer-ng-bootstrap-splitter.d.ts +0 -76
@@ -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\" #textbox [ngModel]=\"searchterm()\" (ngModelChange)=\"onProvideSuggestions($event)\" (keyup.enter)=\"onSubmit()\" />\n <bs-dropdown-menu *bsDropdownMenu>\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item [disabled]=\"true\">\n {{ isLoadingText() }}\n </bs-dropdown-item>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <bs-dropdown-item [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </bs-dropdown-item>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <bs-dropdown-item (click)=\"suggestionClicked(suggestion)\">\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 }); }
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\" #textbox [ngModel]=\"searchterm()\" (ngModelChange)=\"onProvideSuggestions($event)\" (keyup.enter)=\"onSubmit()\" />\n <bs-dropdown-menu *bsDropdownMenu>\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item [disabled]=\"true\">\n {{ isLoadingText() }}\n </bs-dropdown-item>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <bs-dropdown-item [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </bs-dropdown-item>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <bs-dropdown-item (click)=\"suggestionClicked(suggestion)\">\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"] }]
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\" #textbox [ngModel]=\"searchterm()\" (ngModelChange)=\"onProvideSuggestions($event)\" (keyup.enter)=\"onSubmit()\" />\n <bs-dropdown-menu *bsDropdownMenu>\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item [disabled]=\"true\">\n {{ isLoadingText() }}\n </bs-dropdown-item>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <bs-dropdown-item [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </bs-dropdown-item>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <bs-dropdown-item (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n }\n }\n </bs-dropdown-menu>\n </div>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A,EAAA,CAAA,CAAA;;2FAGrF,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,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,kqCAAA,EAAA,MAAA,EAAA,CAAA,kDAAA,CAAA,EAAA;;sBAU9C,SAAS;uBAAC,SAAS;;;AExBtB;;AAEG;;;;"}
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,kDAAC;AACtB,QAAA,IAAA,CAAA,SAAS,GAAG,CAAA,kBAAA,EAAqB,kBAAkB,EAAE,EAAE;AAEvD,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAQ,EAAE,uDAAC;AAC9B,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAU,KAAK,qDAAC;AAClC,QAAA,IAAA,CAAA,iBAAiB,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC,MAAM,KAAK,CAAC,6DAAC;AAGnE,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,EAAE,sDAAC;AACtB,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,YAAY,yDAAC;AACnC,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAC,sBAAsB,6DAAC;QACjD,IAAA,CAAA,kBAAkB,GAAG,MAAM,EAAU;QACrC,IAAA,CAAA,kBAAkB,GAAG,MAAM,EAAO;QAClC,IAAA,CAAA,SAAS,GAAG,MAAM,EAAU;QAG1B,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE;YACtC,IAAI,WAAW,EAAE;AACf,gBAAA,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC;YAC3B;AACF,QAAA,CA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YAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,iBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGrF,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,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;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-bootstrap",
3
3
  "private": false,
4
- "version": "21.4.4",
4
+ "version": "21.5.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
@@ -292,10 +292,6 @@
292
292
  "types": "./types/mintplayer-ng-bootstrap-split-string.d.ts",
293
293
  "default": "./fesm2022/mintplayer-ng-bootstrap-split-string.mjs"
294
294
  },
295
- "./splitter": {
296
- "types": "./types/mintplayer-ng-bootstrap-splitter.d.ts",
297
- "default": "./fesm2022/mintplayer-ng-bootstrap-splitter.mjs"
298
- },
299
295
  "./sticky-footer": {
300
296
  "types": "./types/mintplayer-ng-bootstrap-sticky-footer.d.ts",
301
297
  "default": "./fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs"
@@ -365,9 +361,9 @@
365
361
  "@mintplayer/pagination": "^2.2.0",
366
362
  "@mintplayer/ng-focus-on-load": "^21.1.0",
367
363
  "@mintplayer/ng-swiper": "^21.1.1",
368
- "@mintplayer/parentify": "^1.1.0",
369
364
  "@mintplayer/scheduler-core": "^1.1.0",
370
- "@mintplayer/scheduler-wc": "^1.2.0"
365
+ "@mintplayer/scheduler-wc": "^1.2.0",
366
+ "@mintplayer/splitter": "^1.0.0"
371
367
  },
372
368
  "dependencies": {
373
369
  "tslib": "^2.3.0"
@@ -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>;
@@ -1,6 +1,8 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
 
3
3
  declare class BsRatingComponent {
4
+ role: string;
5
+ ariaLabel: string;
4
6
  constructor();
5
7
  maximum: _angular_core.InputSignal<number>;
6
8
  value: _angular_core.ModelSignal<number>;
@@ -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>;
@@ -1,263 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ElementRef, ChangeDetectionStrategy, Component, Pipe, input, signal, computed, HostListener, HostBinding, ViewChildren, ContentChildren, NgModule } from '@angular/core';
3
- import { AsyncPipe } from '@angular/common';
4
- import * as i1 from '@angular/cdk/portal';
5
- import { DomPortal, PortalModule } from '@angular/cdk/portal';
6
- import * as i2 from '@mintplayer/ng-bootstrap/user-agent';
7
- import { BsUserAgentDirective } from '@mintplayer/ng-bootstrap/user-agent';
8
-
9
- var EDragOperation;
10
- (function (EDragOperation) {
11
- EDragOperation[EDragOperation["none"] = 0] = "none";
12
- EDragOperation[EDragOperation["resizeSplitter"] = 1] = "resizeSplitter";
13
- })(EDragOperation || (EDragOperation = {}));
14
-
15
- class BsSplitPanelComponent {
16
- constructor() {
17
- this.element = inject(ElementRef);
18
- }
19
- ngAfterViewInit() {
20
- setTimeout(() => this.portal = new DomPortal(this.element.nativeElement), 10);
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSplitPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: BsSplitPanelComponent, isStandalone: false, selector: "bs-split-panel", ngImport: i0, template: "<div class=\"w-100 h-100\">\n <ng-content></ng-content>\n</div>", styles: [":host{display:block;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSplitPanelComponent, decorators: [{
26
- type: Component,
27
- args: [{ selector: 'bs-split-panel', standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"w-100 h-100\">\n <ng-content></ng-content>\n</div>", styles: [":host{display:block;height:100%}\n"] }]
28
- }] });
29
-
30
- class BsElementAtPipe {
31
- transform(value, index) {
32
- if (value) {
33
- return value[index];
34
- }
35
- else {
36
- return null;
37
- }
38
- }
39
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsElementAtPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
40
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: BsElementAtPipe, isStandalone: false, name: "bsElementAt" }); }
41
- }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsElementAtPipe, decorators: [{
43
- type: Pipe,
44
- args: [{
45
- name: 'bsElementAt',
46
- standalone: false,
47
- }]
48
- }] });
49
-
50
- class BsSplitterComponent {
51
- constructor() {
52
- this.orientation = input('horizontal', ...(ngDevMode ? [{ debugName: "orientation" }] : []));
53
- this.previewSizes = signal(null, ...(ngDevMode ? [{ debugName: "previewSizes" }] : []));
54
- this.panels = signal([], ...(ngDevMode ? [{ debugName: "panels" }] : []));
55
- this.isResizing = signal(false, ...(ngDevMode ? [{ debugName: "isResizing" }] : []));
56
- this.touchedDivider = signal(null, ...(ngDevMode ? [{ debugName: "touchedDivider" }] : []));
57
- this.classes = true;
58
- this.directionClass = computed(() => {
59
- switch (this.orientation()) {
60
- case 'horizontal': return 'flex-row';
61
- case 'vertical': return 'flex-column';
62
- }
63
- }, ...(ngDevMode ? [{ debugName: "directionClass" }] : []));
64
- this.splitterClass = computed(() => {
65
- switch (this.orientation()) {
66
- case 'horizontal': return 'split-hor';
67
- case 'vertical': return 'split-ver';
68
- }
69
- }, ...(ngDevMode ? [{ debugName: "splitterClass" }] : []));
70
- this.widthStyles = computed(() => {
71
- const orientation = this.orientation();
72
- const previewSizes = this.previewSizes();
73
- const panels = this.panels();
74
- switch (orientation) {
75
- case 'horizontal':
76
- if (previewSizes) {
77
- return [...Array(panels.length).keys()].map((v, i) => {
78
- if (i < previewSizes.length) {
79
- return previewSizes[i] + 'px';
80
- }
81
- else {
82
- return '100%';
83
- }
84
- });
85
- }
86
- else {
87
- return Array(panels.length).fill('100%');
88
- }
89
- case 'vertical':
90
- return null;
91
- }
92
- }, ...(ngDevMode ? [{ debugName: "widthStyles" }] : []));
93
- this.heightStyles = computed(() => {
94
- const orientation = this.orientation();
95
- const previewSizes = this.previewSizes();
96
- const panels = this.panels();
97
- switch (orientation) {
98
- case 'horizontal':
99
- return null;
100
- case 'vertical':
101
- if (previewSizes) {
102
- return [...Array(panels.length).keys()].map((v, i) => {
103
- if (i < previewSizes.length) {
104
- return previewSizes[i] + 'px';
105
- }
106
- else {
107
- return '100%';
108
- }
109
- });
110
- }
111
- else {
112
- return Array(panels.length).fill('100%');
113
- }
114
- }
115
- }, ...(ngDevMode ? [{ debugName: "heightStyles" }] : []));
116
- this.operation = null;
117
- }
118
- set panelsList(value) {
119
- this.panels.set(value.toArray());
120
- }
121
- computeSizes() {
122
- if (typeof window !== 'undefined') {
123
- const sizes = this.splitPanels
124
- .map((sp) => {
125
- const styles = window.getComputedStyle(sp.nativeElement);
126
- switch (this.orientation()) {
127
- case 'horizontal': return styles.width;
128
- case 'vertical': return styles.height;
129
- }
130
- })
131
- .map((size) => size.slice(0, -2))
132
- .map((size) => parseFloat(size));
133
- return sizes;
134
- }
135
- else {
136
- return this.splitPanels.map(p => 50);
137
- }
138
- }
139
- startResizeMouse(ev, indexBefore, indexAfter) {
140
- ev.preventDefault();
141
- this.startResize(indexBefore, indexAfter, { x: ev.clientX, y: ev.clientY });
142
- }
143
- startResizeTouch(ev, indexBefore, indexAfter, divider) {
144
- if (ev.cancelable) {
145
- ev.preventDefault();
146
- ev.stopPropagation();
147
- this.touchedDivider.set(divider);
148
- this.startResize(indexBefore, indexAfter, { x: ev.touches[0].clientX, y: ev.touches[0].clientY });
149
- }
150
- }
151
- startResize(indexBefore, indexAfter, pt) {
152
- const sizes = this.computeSizes();
153
- this.previewSizes.set(sizes);
154
- this.operation = {
155
- operation: EDragOperation.resizeSplitter,
156
- startPosition: pt,
157
- sizes,
158
- indexBefore,
159
- indexAfter,
160
- };
161
- this.isResizing.set(true);
162
- }
163
- onMouseMove(ev) {
164
- this.onResizeMove({ x: ev.clientX, y: ev.clientY });
165
- }
166
- onTouchMove(ev) {
167
- if (this.operation) {
168
- ev.preventDefault();
169
- ev.stopPropagation();
170
- }
171
- this.onResizeMove({ x: ev.touches[0].clientX, y: ev.touches[0].clientY });
172
- }
173
- onResizeMove(pt) {
174
- if (this.operation) {
175
- switch (this.operation.operation) {
176
- case EDragOperation.resizeSplitter:
177
- {
178
- const orientation = this.orientation();
179
- switch (orientation) {
180
- case 'horizontal':
181
- const deltaX = pt.x - this.operation.startPosition.x;
182
- const sx = Array.from(this.operation.sizes);
183
- sx[this.operation.indexBefore] = this.operation.sizes[this.operation.indexBefore] + deltaX;
184
- sx[this.operation.indexAfter] = this.operation.sizes[this.operation.indexAfter] - deltaX;
185
- this.previewSizes.set(sx);
186
- break;
187
- case 'vertical':
188
- const deltaY = pt.y - this.operation.startPosition.y;
189
- const sy = Array.from(this.operation.sizes);
190
- sy[this.operation.indexBefore] = this.operation.sizes[this.operation.indexBefore] + deltaY;
191
- sy[this.operation.indexAfter] = this.operation.sizes[this.operation.indexAfter] - deltaY;
192
- this.previewSizes.set(sy);
193
- break;
194
- }
195
- }
196
- break;
197
- }
198
- }
199
- }
200
- onMouseUp(ev) {
201
- this.onResizeUp();
202
- }
203
- onTouchEnd(ev) {
204
- if (this.operation) {
205
- ev.preventDefault();
206
- ev.stopPropagation();
207
- }
208
- this.touchedDivider.set(null);
209
- this.onResizeUp();
210
- }
211
- onResizeUp() {
212
- this.isResizing.set(false);
213
- this.operation = null;
214
- }
215
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSplitterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
216
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsSplitterComponent, isStandalone: false, selector: "bs-splitter", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "document:mousemove": "onMouseMove($event)", "document:mouseup": "onMouseUp($event)" }, properties: { "class.w-100": "this.classes", "class.h-100": "this.classes", "class.d-flex": "this.classes" } }, queries: [{ propertyName: "panelsList", predicate: BsSplitPanelComponent }], viewQueries: [{ propertyName: "splitPanels", predicate: ["splitPanel"], descendants: true }], ngImport: i0, template: "<div class=\"d-flex w-100 root\" [class]=\"[directionClass(), splitterClass()]\" bsUserAgent>\n <ng-content></ng-content>\n @for (panel of panels(); let index = $index; let last = $last; track panel) {\n @let widthStylesValue = widthStyles();\n @let heightStylesValue = heightStyles();\n\n <div class=\"split-panel overflow-hidden\" [class.flex-none]=\"isResizing()\" #splitPanel [style.width]=\"widthStylesValue | bsElementAt:index\" [style.height]=\"heightStylesValue | bsElementAt:index\">\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </div>\n @if (!last) {\n <div class=\"divider\" bsUserAgent [class.hover]=\"touchedDivider() === divider\" #divider (mousedown)=\"startResizeMouse($event, index, index + 1)\" (touchstart)=\"startResizeTouch($event, index, index + 1, divider)\" (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd($event)\"></div>\n }\n }\n</div>\n", styles: [".root{--thumb-margin: 3px}.root.os-android{--thumb-margin: 20px}.split-panel{flex-grow:1}.divider{flex-shrink:0;transition:background-color .15s ease-in-out;z-index:3}.divider:before{background-position:center center;background-repeat:no-repeat}.divider:not(.os-android):hover:before{background-color:#1389fd;border-radius:4px}.divider.os-android.hover:before{background-color:#1389fd;border-radius:4px}.divider:before{content:\"\";display:block;background-color:#eee}.split-hor>.divider{width:calc(8px + 2 * var(--thumb-margin));height:100%;cursor:col-resize;border-left:var(--thumb-margin) solid transparent;border-right:var(--thumb-margin) solid transparent}.split-hor>.divider:before{height:100%;width:8px;margin:0 auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.split-hor>.split-panel:not(:first-child){margin-left:calc(-1 * var(--thumb-margin))}.split-hor>.split-panel:not(:last-child){margin-right:calc(-1 * var(--thumb-margin))}.split-ver>.divider{width:100%;height:calc(8px + 2 * var(--thumb-margin));cursor:row-resize;border-top:var(--thumb-margin) solid transparent;border-bottom:var(--thumb-margin) solid transparent}.split-ver>.divider:before{height:8px;margin:auto 0;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.split-ver>.split-panel:not(:first-child){margin-top:calc(-1 * var(--thumb-margin))}.split-ver>.split-panel:not(:last-child){margin-bottom:calc(-1 * var(--thumb-margin))}.flex-none{flex:none}\n"], dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i2.BsUserAgentDirective, selector: "[bsUserAgent]", outputs: ["detected"] }, { kind: "pipe", type: BsElementAtPipe, name: "bsElementAt" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
217
- }
218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSplitterComponent, decorators: [{
219
- type: Component,
220
- args: [{ selector: 'bs-splitter', standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"d-flex w-100 root\" [class]=\"[directionClass(), splitterClass()]\" bsUserAgent>\n <ng-content></ng-content>\n @for (panel of panels(); let index = $index; let last = $last; track panel) {\n @let widthStylesValue = widthStyles();\n @let heightStylesValue = heightStyles();\n\n <div class=\"split-panel overflow-hidden\" [class.flex-none]=\"isResizing()\" #splitPanel [style.width]=\"widthStylesValue | bsElementAt:index\" [style.height]=\"heightStylesValue | bsElementAt:index\">\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </div>\n @if (!last) {\n <div class=\"divider\" bsUserAgent [class.hover]=\"touchedDivider() === divider\" #divider (mousedown)=\"startResizeMouse($event, index, index + 1)\" (touchstart)=\"startResizeTouch($event, index, index + 1, divider)\" (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd($event)\"></div>\n }\n }\n</div>\n", styles: [".root{--thumb-margin: 3px}.root.os-android{--thumb-margin: 20px}.split-panel{flex-grow:1}.divider{flex-shrink:0;transition:background-color .15s ease-in-out;z-index:3}.divider:before{background-position:center center;background-repeat:no-repeat}.divider:not(.os-android):hover:before{background-color:#1389fd;border-radius:4px}.divider.os-android.hover:before{background-color:#1389fd;border-radius:4px}.divider:before{content:\"\";display:block;background-color:#eee}.split-hor>.divider{width:calc(8px + 2 * var(--thumb-margin));height:100%;cursor:col-resize;border-left:var(--thumb-margin) solid transparent;border-right:var(--thumb-margin) solid transparent}.split-hor>.divider:before{height:100%;width:8px;margin:0 auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.split-hor>.split-panel:not(:first-child){margin-left:calc(-1 * var(--thumb-margin))}.split-hor>.split-panel:not(:last-child){margin-right:calc(-1 * var(--thumb-margin))}.split-ver>.divider{width:100%;height:calc(8px + 2 * var(--thumb-margin));cursor:row-resize;border-top:var(--thumb-margin) solid transparent;border-bottom:var(--thumb-margin) solid transparent}.split-ver>.divider:before{height:8px;margin:auto 0;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.split-ver>.split-panel:not(:first-child){margin-top:calc(-1 * var(--thumb-margin))}.split-ver>.split-panel:not(:last-child){margin-bottom:calc(-1 * var(--thumb-margin))}.flex-none{flex:none}\n"] }]
221
- }], propDecorators: { orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], panelsList: [{
222
- type: ContentChildren,
223
- args: [BsSplitPanelComponent]
224
- }], splitPanels: [{
225
- type: ViewChildren,
226
- args: ['splitPanel']
227
- }], classes: [{
228
- type: HostBinding,
229
- args: ['class.w-100']
230
- }, {
231
- type: HostBinding,
232
- args: ['class.h-100']
233
- }, {
234
- type: HostBinding,
235
- args: ['class.d-flex']
236
- }], onMouseMove: [{
237
- type: HostListener,
238
- args: ['document:mousemove', ['$event']]
239
- }], onMouseUp: [{
240
- type: HostListener,
241
- args: ['document:mouseup', ['$event']]
242
- }] } });
243
-
244
- class BsSplitterModule {
245
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSplitterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
246
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: BsSplitterModule, declarations: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe], imports: [AsyncPipe, PortalModule, BsUserAgentDirective], exports: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe] }); }
247
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSplitterModule, imports: [PortalModule] }); }
248
- }
249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSplitterModule, decorators: [{
250
- type: NgModule,
251
- args: [{
252
- declarations: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],
253
- imports: [AsyncPipe, PortalModule, BsUserAgentDirective],
254
- exports: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],
255
- }]
256
- }] });
257
-
258
- /**
259
- * Generated bundle index. Do not edit.
260
- */
261
-
262
- export { BsElementAtPipe, BsSplitPanelComponent, BsSplitterComponent, BsSplitterModule };
263
- //# sourceMappingURL=mintplayer-ng-bootstrap-splitter.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-splitter.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/splitter/src/interfaces/drag-operation.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/split-panel/split-panel.component.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/split-panel/split-panel.component.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/element-at/element-at.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter.module.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/mintplayer-ng-bootstrap-splitter.ts"],"sourcesContent":["import { Point } from \"./point\";\n\nexport interface DragOperation {\n operation: EDragOperation;\n startPosition: Point;\n sizes: number[];\n indexBefore: number;\n indexAfter: number;\n}\n\nexport enum EDragOperation {\n none,\n resizeSplitter,\n}","import { DomPortal } from '@angular/cdk/portal';\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, AfterViewInit } from '@angular/core';\n\n@Component({\n selector: 'bs-split-panel',\n templateUrl: './split-panel.component.html',\n styleUrls: ['./split-panel.component.scss'],\n standalone: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSplitPanelComponent implements AfterViewInit {\n\n private element = inject(ElementRef);\n\n portal?: DomPortal;\n\n ngAfterViewInit() {\n setTimeout(() => this.portal = new DomPortal(this.element.nativeElement), 10);\n }\n}\n","<div class=\"w-100 h-100\">\n <ng-content></ng-content>\n</div>","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsElementAt',\n standalone: false,\n})\nexport class BsElementAtPipe implements PipeTransform {\n\n transform(value: any[] | null | undefined, index: number) {\n if (value) {\n return value[index];\n } else {\n return null;\n }\n }\n\n}\n","import { ChangeDetectionStrategy, Component, computed, ContentChildren, ElementRef, HostBinding, HostListener, input, QueryList, signal, ViewChildren } from '@angular/core';\nimport { DragOperation, EDragOperation } from '../interfaces/drag-operation';\nimport { Point } from '../interfaces/point';\nimport { BsSplitPanelComponent } from '../split-panel/split-panel.component';\nimport { Direction } from '../types/direction.type';\n\n@Component({\n selector: 'bs-splitter',\n templateUrl: './splitter.component.html',\n styleUrls: ['./splitter.component.scss'],\n standalone: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSplitterComponent {\n\n orientation = input<Direction>('horizontal');\n previewSizes = signal<number[] | null>(null);\n panels = signal<BsSplitPanelComponent[]>([]);\n isResizing = signal<boolean>(false);\n touchedDivider = signal<HTMLDivElement | null>(null);\n\n @ContentChildren(BsSplitPanelComponent) set panelsList(value: QueryList<BsSplitPanelComponent>) {\n this.panels.set(value.toArray());\n }\n @ViewChildren('splitPanel') splitPanels!: QueryList<ElementRef<HTMLDivElement>>;\n\n @HostBinding('class.w-100')\n @HostBinding('class.h-100')\n @HostBinding('class.d-flex')\n classes = true;\n\n directionClass = computed(() => {\n switch (this.orientation()) {\n case 'horizontal': return 'flex-row';\n case 'vertical': return 'flex-column';\n }\n });\n\n splitterClass = computed(() => {\n switch (this.orientation()) {\n case 'horizontal': return 'split-hor';\n case 'vertical': return 'split-ver';\n }\n });\n\n widthStyles = computed(() => {\n const orientation = this.orientation();\n const previewSizes = this.previewSizes();\n const panels = this.panels();\n switch (orientation) {\n case 'horizontal':\n if (previewSizes) {\n return [...Array(panels.length).keys()].map((v, i) => {\n if (i < previewSizes.length) {\n return previewSizes[i] + 'px';\n } else {\n return '100%';\n }\n });\n } else {\n return Array(panels.length).fill('100%');\n }\n case 'vertical':\n return null;\n }\n });\n\n heightStyles = computed(() => {\n const orientation = this.orientation();\n const previewSizes = this.previewSizes();\n const panels = this.panels();\n switch (orientation) {\n case 'horizontal':\n return null;\n case 'vertical':\n if (previewSizes) {\n return [...Array(panels.length).keys()].map((v, i) => {\n if (i < previewSizes.length) {\n return previewSizes[i] + 'px';\n } else {\n return '100%';\n }\n });\n } else {\n return Array(panels.length).fill('100%');\n }\n }\n });\n\n operation: DragOperation | null = null;\n\n computeSizes() {\n if (typeof window !== 'undefined') {\n const sizes = this.splitPanels\n .map((sp) => {\n const styles = window.getComputedStyle(sp.nativeElement);\n switch (this.orientation()) {\n case 'horizontal': return styles.width;\n case 'vertical': return styles.height;\n }\n })\n .map((size) => size.slice(0, -2))\n .map((size) => parseFloat(size));\n return sizes;\n } else {\n return this.splitPanels.map(p => 50);\n }\n }\n\n startResizeMouse(ev: MouseEvent, indexBefore: number, indexAfter: number) {\n ev.preventDefault();\n this.startResize(indexBefore, indexAfter, { x: ev.clientX, y: ev.clientY });\n }\n\n startResizeTouch(ev: TouchEvent, indexBefore: number, indexAfter: number, divider: HTMLDivElement) {\n if (ev.cancelable) {\n ev.preventDefault();\n ev.stopPropagation();\n this.touchedDivider.set(divider);\n this.startResize(indexBefore, indexAfter, { x: ev.touches[0].clientX, y: ev.touches[0].clientY });\n }\n }\n\n private startResize(indexBefore: number, indexAfter: number, pt: Point) {\n const sizes = this.computeSizes();\n this.previewSizes.set(sizes);\n this.operation = {\n operation: EDragOperation.resizeSplitter,\n startPosition: pt,\n sizes,\n indexBefore,\n indexAfter,\n };\n\n this.isResizing.set(true);\n }\n\n @HostListener('document:mousemove', ['$event'])\n onMouseMove(ev: MouseEvent) {\n this.onResizeMove({ x: ev.clientX, y: ev.clientY });\n }\n\n onTouchMove(ev: TouchEvent) {\n if (this.operation) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n this.onResizeMove({ x: ev.touches[0].clientX, y: ev.touches[0].clientY });\n }\n\n onResizeMove(pt: Point) {\n if (this.operation) {\n switch (this.operation.operation) {\n case EDragOperation.resizeSplitter: {\n const orientation = this.orientation();\n switch (orientation) {\n case 'horizontal':\n const deltaX = pt.x - this.operation.startPosition.x;\n const sx = Array.from(this.operation.sizes);\n sx[this.operation.indexBefore] = this.operation.sizes[this.operation.indexBefore] + deltaX;\n sx[this.operation.indexAfter] = this.operation.sizes[this.operation.indexAfter] - deltaX;\n this.previewSizes.set(sx);\n break;\n case 'vertical':\n const deltaY = pt.y - this.operation.startPosition.y;\n const sy = Array.from(this.operation.sizes);\n sy[this.operation.indexBefore] = this.operation.sizes[this.operation.indexBefore] + deltaY;\n sy[this.operation.indexAfter] = this.operation.sizes[this.operation.indexAfter] - deltaY;\n this.previewSizes.set(sy);\n break;\n }\n } break;\n }\n }\n }\n\n @HostListener('document:mouseup', ['$event'])\n onMouseUp(ev: MouseEvent) {\n this.onResizeUp();\n }\n\n onTouchEnd(ev: TouchEvent) {\n if (this.operation) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n this.touchedDivider.set(null);\n this.onResizeUp();\n }\n\n onResizeUp() {\n this.isResizing.set(false);\n this.operation = null;\n }\n}\n","<div class=\"d-flex w-100 root\" [class]=\"[directionClass(), splitterClass()]\" bsUserAgent>\n <ng-content></ng-content>\n @for (panel of panels(); let index = $index; let last = $last; track panel) {\n @let widthStylesValue = widthStyles();\n @let heightStylesValue = heightStyles();\n\n <div class=\"split-panel overflow-hidden\" [class.flex-none]=\"isResizing()\" #splitPanel [style.width]=\"widthStylesValue | bsElementAt:index\" [style.height]=\"heightStylesValue | bsElementAt:index\">\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </div>\n @if (!last) {\n <div class=\"divider\" bsUserAgent [class.hover]=\"touchedDivider() === divider\" #divider (mousedown)=\"startResizeMouse($event, index, index + 1)\" (touchstart)=\"startResizeTouch($event, index, index + 1, divider)\" (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd($event)\"></div>\n }\n }\n</div>\n","import { NgModule } from '@angular/core';\nimport { AsyncPipe } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { BsUserAgentDirective } from '@mintplayer/ng-bootstrap/user-agent';\nimport { BsSplitterComponent } from './splitter/splitter.component';\nimport { BsSplitPanelComponent } from './split-panel/split-panel.component';\nimport { BsElementAtPipe } from './element-at/element-at.pipe';\n\n@NgModule({\n declarations: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],\n imports: [AsyncPipe, PortalModule, BsUserAgentDirective],\n exports: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],\n})\nexport class BsSplitterModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3.BsElementAtPipe"],"mappings":";;;;;;;;AAUA,IAAY,cAGX;AAHD,CAAA,UAAY,cAAc,EAAA;AACtB,IAAA,cAAA,CAAA,cAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI;AACJ,IAAA,cAAA,CAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,gBAAc;AAClB,CAAC,EAHW,cAAc,KAAd,cAAc,GAAA,EAAA,CAAA,CAAA;;MCAb,qBAAqB,CAAA;AAPlC,IAAA,WAAA,GAAA;AASU,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC;AAOrC,IAAA;IAHC,eAAe,GAAA;QACb,UAAU,CAAC,MAAM,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC;IAC/E;8GARW,qBAAqB,EAAA,IAAA,EAAA,EAAA,E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