@mintplayer/ng-bootstrap 21.14.0 → 21.15.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.
@@ -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 { BsDropdownDirective, BsDropdownMenuDirective } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuComponent, BsDropdownItemComponent } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsFormComponent, BsFormControlDirective } from '@mintplayer/ng-bootstrap/form';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsProgressComponent } 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 imports: [FormsModule, BsFormComponent, BsFormControlDirective, BsDropdownDirective, BsDropdownMenuDirective, BsDropdownMenuComponent, BsDropdownItemComponent, BsProgressComponent, BsHasOverlayComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTypeaheadComponent {\n\n isOpen = model(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 readonly textbox = viewChild.required<ElementRef<HTMLInputElement>>('textbox');\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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CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE1B/E;;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 { BsDropdownDirective, BsDropdownMenuDirective } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuComponent, BsDropdownItemComponent } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsFormComponent, BsFormControlDirective } from '@mintplayer/ng-bootstrap/form';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsProgressComponent } 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 imports: [FormsModule, BsFormComponent, BsFormControlDirective, BsDropdownDirective, BsDropdownMenuDirective, BsDropdownMenuComponent, BsDropdownItemComponent, BsProgressComponent, BsHasOverlayComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTypeaheadComponent {\n\n isOpen = model(false);\n readonly listboxId = `typeahead-listbox-${typeaheadIdCounter++}`;\n\n suggestions = input<any[]>([]);\n isLoading = signal<boolean>(false);\n showNoSuggestions = computed(() => this.suggestions().length === 0);\n\n readonly textbox = viewChild.required<ElementRef<HTMLInputElement>>('textbox');\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":";;;;;;;;;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ANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-bootstrap",
3
3
  "private": false,
4
- "version": "21.14.0",
4
+ "version": "21.15.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
@@ -18,8 +18,8 @@ declare class BsCarouselImageDirective {
18
18
  declare class BsCarouselComponent implements AfterViewInit, OnDestroy {
19
19
  private platformId;
20
20
  private destroyRef;
21
- colors: typeof Color;
22
- isServerSide: boolean;
21
+ readonly colors: typeof Color;
22
+ readonly isServerSide: boolean;
23
23
  currentImageIndex: _angular_core.WritableSignal<number>;
24
24
  readonly images: _angular_core.Signal<readonly BsCarouselImageDirective[]>;
25
25
  resizeObserver?: ResizeObserver;
@@ -34,7 +34,7 @@ declare class BsColorWheelComponent {
34
34
  hsChange: _angular_core.OutputEmitterRef<HS>;
35
35
  disabled: _angular_core.InputSignal<boolean>;
36
36
  viewInited: _angular_core.WritableSignal<boolean>;
37
- private isPointerDown;
37
+ private readonly isPointerDown;
38
38
  private canvasContext;
39
39
  squareSize: _angular_core.Signal<number | null>;
40
40
  shiftX: _angular_core.Signal<number | null>;
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
2
2
  import { Color } from '@mintplayer/ng-bootstrap';
3
3
 
4
4
  declare class BsDatepickerComponent {
5
- colors: typeof Color;
5
+ readonly colors: typeof Color;
6
6
  selectedDate: _angular_core.ModelSignal<Date>;
7
7
  currentMonth: _angular_core.ModelSignal<Date>;
8
8
  disableDateFn: _angular_core.InputSignal<((date: Date) => boolean) | undefined>;
@@ -12,7 +12,7 @@ declare class BsFileUploadComponent {
12
12
  readonly dropFilesCaption: _angular_core.InputSignal<string>;
13
13
  readonly browseFilesCaption: _angular_core.InputSignal<string>;
14
14
  readonly placeholder: _angular_core.InputSignal<string>;
15
- colors: typeof Color;
15
+ readonly colors: typeof Color;
16
16
  isDraggingFile: _angular_core.WritableSignal<boolean>;
17
17
  fileTemplate?: TemplateRef<FileUpload>;
18
18
  readonly files: _angular_core.ModelSignal<FileUpload[]>;
@@ -55,8 +55,8 @@ declare class BsNavbarDropdownComponent implements OnDestroy {
55
55
  private injector;
56
56
  private document;
57
57
  private platformId;
58
- private isAttached;
59
- private isDestroyed;
58
+ private readonly isAttached;
59
+ private readonly isDestroyed;
60
60
  private domPortal?;
61
61
  private overlay?;
62
62
  private pendingShowInOverlay;
@@ -83,7 +83,7 @@ declare class BsNavbarItemComponent implements AfterContentInit, AfterContentChe
83
83
  private platformId;
84
84
  private router;
85
85
  parentDropdown: any;
86
- hasDropdown: boolean;
86
+ readonly hasDropdown: _angular_core.Signal<boolean>;
87
87
  anchorTag: HTMLAnchorElement | null;
88
88
  readonly dropdowns: _angular_core.Signal<readonly BsNavbarDropdownComponent[]>;
89
89
  constructor();
@@ -117,11 +117,10 @@ declare class BsExpandButtonContext {
117
117
  $implicit: boolean;
118
118
  }
119
119
 
120
- declare class DropdownToggleDirective implements AfterContentInit {
120
+ declare class DropdownToggleDirective {
121
121
  private elementRef;
122
122
  private bsNavbarItem;
123
123
  childDropdowns: QueryList<BsNavbarDropdownComponent>;
124
- ngAfterContentInit(): void;
125
124
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownToggleDirective, never>;
126
125
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DropdownToggleDirective, "bs-navbar-item", never, {}, {}, ["childDropdowns"], never, true, never>;
127
126
  }
@@ -13,7 +13,7 @@ declare class BsSelect2Component<T extends HasId<U>, U> {
13
13
  provideSuggestions: _angular_core.OutputEmitterRef<string>;
14
14
  isFocused: _angular_core.WritableSignal<boolean>;
15
15
  selectedItems: _angular_core.ModelSignal<T[]>;
16
- private charWidth;
16
+ private readonly charWidth;
17
17
  searchWidth: _angular_core.WritableSignal<number>;
18
18
  itemTemplate?: TemplateRef<T>;
19
19
  suggestionTemplate?: TemplateRef<T>;
@@ -18,8 +18,8 @@ declare class BsSignaturePadComponent implements AfterViewInit {
18
18
  signature: _angular_core.ModelSignal<Signature>;
19
19
  width: _angular_core.InputSignal<number>;
20
20
  height: _angular_core.InputSignal<number>;
21
- minHeight: number;
22
- isDrawing: boolean;
21
+ readonly minHeight = 5;
22
+ readonly isDrawing: _angular_core.WritableSignal<boolean>;
23
23
  readonly canvas: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
24
24
  context: CanvasRenderingContext2D | null;
25
25
  ngAfterViewInit(): void;
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
2
2
  import { Color } from '@mintplayer/ng-bootstrap';
3
3
 
4
4
  declare class BsSpinnerComponent {
5
- colors: typeof Color;
5
+ readonly colors: typeof Color;
6
6
  type: _angular_core.InputSignal<"border" | "grow">;
7
7
  color: _angular_core.InputSignal<Color>;
8
8
  spinnerClass: _angular_core.Signal<string>;
@@ -6,7 +6,7 @@ declare class BsTimepickerComponent {
6
6
  private sanitizer;
7
7
  constructor();
8
8
  clock: _angular_core.WritableSignal<SafeHtml | undefined>;
9
- colors: typeof Color;
9
+ readonly colors: typeof Color;
10
10
  isOpen: _angular_core.ModelSignal<boolean>;
11
11
  readonly presetTimestamps: _angular_core.WritableSignal<Date[]>;
12
12
  isFocused: _angular_core.WritableSignal<boolean>;
@@ -3,7 +3,7 @@ import { ElementRef } from '@angular/core';
3
3
 
4
4
  declare class BsTypeaheadComponent {
5
5
  isOpen: _angular_core.ModelSignal<boolean>;
6
- listboxId: string;
6
+ readonly listboxId: string;
7
7
  suggestions: _angular_core.InputSignal<any[]>;
8
8
  isLoading: _angular_core.WritableSignal<boolean>;
9
9
  showNoSuggestions: _angular_core.Signal<boolean>;