@mintplayer/ng-bootstrap 20.0.0 → 20.2.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.
Files changed (177) hide show
  1. package/calendar/index.d.ts +3 -2
  2. package/code-snippet/index.d.ts +6 -6
  3. package/color-picker/index.d.ts +3 -2
  4. package/dock/index.d.ts +236 -165
  5. package/dropdown/index.d.ts +4 -3
  6. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +13 -13
  7. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  8. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +10 -10
  9. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
  10. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +3 -3
  11. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
  12. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +10 -10
  13. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
  14. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +3 -3
  15. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
  16. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +3 -3
  17. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +1 -1
  18. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +9 -9
  19. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -1
  20. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +8 -7
  21. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
  22. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +10 -10
  23. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
  24. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +14 -14
  25. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  26. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +3 -3
  27. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
  28. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +9 -11
  29. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +41 -34
  31. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-container.mjs +3 -3
  33. package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +1 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +7 -7
  35. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
  36. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +3 -3
  37. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
  38. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +13 -13
  39. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +3 -3
  41. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +2552 -505
  43. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +3 -3
  45. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -1
  46. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +10 -10
  47. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +18 -17
  49. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +3 -3
  51. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +3 -3
  53. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +1 -1
  54. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +13 -13
  55. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
  56. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +3 -3
  57. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
  58. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +3 -3
  59. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +1 -1
  60. package/fesm2022/mintplayer-ng-bootstrap-for.mjs +3 -3
  61. package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -1
  62. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +13 -13
  63. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +19 -19
  65. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +3 -3
  67. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -1
  68. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +3 -3
  69. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +1 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +3 -3
  71. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +1 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +3 -3
  73. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +16 -16
  75. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +1 -1
  76. package/fesm2022/mintplayer-ng-bootstrap-let.mjs +3 -3
  77. package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +1 -1
  78. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +3 -3
  79. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +1 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +10 -10
  81. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
  82. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +12 -12
  83. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +1 -1
  84. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +3 -3
  85. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
  86. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +27 -25
  87. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
  88. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +16 -16
  89. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -1
  90. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +3 -3
  91. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
  92. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +38 -39
  93. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  94. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +15 -13
  95. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -1
  96. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +3 -3
  97. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -1
  98. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +25 -25
  99. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  100. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +3 -3
  101. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -1
  102. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +3 -3
  103. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  104. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +6 -6
  105. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
  106. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +10 -10
  107. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
  108. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +3 -3
  109. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
  110. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +20 -19
  111. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  112. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +10 -10
  113. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  114. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +10 -10
  115. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  116. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +3 -3
  117. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  118. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +10 -10
  119. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
  120. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +38 -36
  121. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  122. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +13 -13
  123. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  124. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs +16 -16
  125. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs.map +1 -1
  126. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +13 -13
  127. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  128. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +13 -13
  129. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
  130. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +10 -10
  131. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
  132. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +6 -4
  133. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  134. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +3 -3
  135. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +1 -1
  136. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +3 -3
  137. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
  138. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +3 -3
  139. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +1 -1
  140. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +18 -16
  141. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
  142. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +10 -10
  143. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
  144. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +14 -14
  145. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  146. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +3 -3
  147. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
  148. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +3 -3
  149. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
  150. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +25 -25
  151. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
  152. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +13 -13
  153. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
  154. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +10 -10
  155. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
  156. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +10 -10
  157. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  158. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +3 -3
  159. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +1 -1
  160. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +3 -3
  161. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  162. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +3 -3
  163. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +1 -1
  164. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +3 -3
  165. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -1
  166. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +3 -3
  167. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +1 -1
  168. package/navbar/index.d.ts +3 -2
  169. package/navigation-lock/index.d.ts +3 -1
  170. package/package.json +9 -9
  171. package/popover/index.d.ts +4 -3
  172. package/scheduler/index.d.ts +3 -2
  173. package/splitter/index.d.ts +3 -2
  174. package/src/styles/utilities/cursor.scss +3 -1
  175. package/src/styles/utilities/overflow.scss +3 -1
  176. package/src/styles/utilities/white-space.scss +3 -1
  177. package/src/styles/utilities/width.scss +3 -1
@@ -7,7 +7,7 @@ import { BehaviorSubject, combineLatest, map, debounceTime, switchMap, take } fr
7
7
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
8
8
 
9
9
  class BsColorWheelComponent {
10
- constructor(element) {
10
+ constructor(element, destroy) {
11
11
  // this.resizeObserver = new ResizeObserver((entries) => {
12
12
  // for (const entry of entries) {
13
13
  // if (entry.target === this.element.nativeElement) {
@@ -19,6 +19,7 @@ class BsColorWheelComponent {
19
19
  // }
20
20
  // });
21
21
  this.element = element;
22
+ this.destroy = destroy;
22
23
  this.positionRelative = true;
23
24
  //#region Hue/Luminosity
24
25
  this.hs$ = new BehaviorSubject({ hue: 0, saturation: 0 });
@@ -141,7 +142,9 @@ class BsColorWheelComponent {
141
142
  ngAfterViewInit() {
142
143
  // this.resizeObserver.observe(this.element.nativeElement);
143
144
  this.viewInited$.next(true);
144
- this.canvasContext = this.canvas.nativeElement.getContext('2d', { willReadFrequently: true });
145
+ if (typeof window !== 'undefined') {
146
+ this.canvasContext = this.canvas.nativeElement.getContext('2d', { willReadFrequently: true });
147
+ }
145
148
  }
146
149
  onPointerDown(ev) {
147
150
  if (!this.disabled$.value) {
@@ -178,7 +181,7 @@ class BsColorWheelComponent {
178
181
  y: ev.clientY - (subtract ? rect.top : 0),
179
182
  };
180
183
  }
181
- this.position2color(co.x, co.y).pipe(take(1)).subscribe((color) => {
184
+ this.position2color(co.x, co.y).pipe(take(1), takeUntilDestroyed(this.destroy)).subscribe((color) => {
182
185
  if (color) {
183
186
  this.hs$.next({ hue: color.hue, saturation: color.saturation });
184
187
  }
@@ -290,13 +293,13 @@ class BsColorWheelComponent {
290
293
  return (n % max) / max;
291
294
  }
292
295
  }
293
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsColorWheelComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
294
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.0", type: BsColorWheelComponent, isStandalone: false, selector: "bs-color-wheel", inputs: { diameterRatio: "diameterRatio", width: "width", height: "height", hs: "hs", luminosity: "luminosity" }, outputs: { hsChange: "hsChange" }, host: { listeners: { "document:mousemove": "onMouseMove($event)", "document:mouseup": "onPointerUp($event)" }, properties: { "class.position-relative": "this.positionRelative" } }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true }], ngImport: i0, template: "<canvas\n class=\"d-block\"\n [width]=\"width$ | async\"\n [height]=\"height$ | async\"\n (mousedown)=\"onPointerDown($event)\"\n (touchstart)=\"onPointerDown($event)\"\n (touchmove)=\"onPointerMove($event)\"\n (touchend)=\"onPointerUp($event)\"\n #canvas></canvas>\n\n@if (markerPosition$ | async; as markerPosition) {\n <div class=\"thumb position-absolute pe-none\" [style.left.px]=\"markerPosition.x\" [style.top.px]=\"markerPosition.y\"></div>\n}", styles: [".thumb{width:30px;height:30px;border-radius:15px;margin-top:-15px;margin-left:-15px;box-sizing:border-box;border:2px solid white;box-shadow:#0000001a 0 0 10px 5px}\n"], dependencies: [{ kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
296
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsColorWheelComponent, deps: [{ token: i0.ElementRef }, { token: i0.DestroyRef }], target: i0.ɵɵFactoryTarget.Component }); }
297
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.7", type: BsColorWheelComponent, isStandalone: false, selector: "bs-color-wheel", inputs: { diameterRatio: "diameterRatio", width: "width", height: "height", hs: "hs", luminosity: "luminosity" }, outputs: { hsChange: "hsChange" }, host: { listeners: { "document:mousemove": "onMouseMove($event)", "document:mouseup": "onPointerUp($event)" }, properties: { "class.position-relative": "this.positionRelative" } }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true }], ngImport: i0, template: "<canvas\n class=\"d-block\"\n [width]=\"width$ | async\"\n [height]=\"height$ | async\"\n (mousedown)=\"onPointerDown($event)\"\n (touchstart)=\"onPointerDown($event)\"\n (touchmove)=\"onPointerMove($event)\"\n (touchend)=\"onPointerUp($event)\"\n #canvas></canvas>\n\n@if (markerPosition$ | async; as markerPosition) {\n <div class=\"thumb position-absolute pe-none\" [style.left.px]=\"markerPosition.x\" [style.top.px]=\"markerPosition.y\"></div>\n}", styles: [".thumb{width:30px;height:30px;border-radius:15px;margin-top:-15px;margin-left:-15px;box-sizing:border-box;border:2px solid white;box-shadow:#0000001a 0 0 10px 5px}\n"], dependencies: [{ kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
295
298
  }
296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsColorWheelComponent, decorators: [{
299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsColorWheelComponent, decorators: [{
297
300
  type: Component,
298
301
  args: [{ selector: 'bs-color-wheel', standalone: false, template: "<canvas\n class=\"d-block\"\n [width]=\"width$ | async\"\n [height]=\"height$ | async\"\n (mousedown)=\"onPointerDown($event)\"\n (touchstart)=\"onPointerDown($event)\"\n (touchmove)=\"onPointerMove($event)\"\n (touchend)=\"onPointerUp($event)\"\n #canvas></canvas>\n\n@if (markerPosition$ | async; as markerPosition) {\n <div class=\"thumb position-absolute pe-none\" [style.left.px]=\"markerPosition.x\" [style.top.px]=\"markerPosition.y\"></div>\n}", styles: [".thumb{width:30px;height:30px;border-radius:15px;margin-top:-15px;margin-left:-15px;box-sizing:border-box;border:2px solid white;box-shadow:#0000001a 0 0 10px 5px}\n"] }]
299
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { positionRelative: [{
302
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.DestroyRef }], propDecorators: { positionRelative: [{
300
303
  type: HostBinding,
301
304
  args: ['class.position-relative']
302
305
  }], diameterRatio: [{
@@ -381,10 +384,10 @@ class BsSliderComponent {
381
384
  const limited = Math.max(0, Math.min(1, percent));
382
385
  this.value$.next(limited);
383
386
  }
384
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsSliderComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
385
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0", type: BsSliderComponent, isStandalone: false, selector: "bs-slider", inputs: { value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "document:mousemove": "onPointerMove($event)", "document:mouseup": "onPointerUp($event)" }, properties: { "class.d-block": "this.dBlock", "class.position-relative": "this.positionRelative" } }, viewQueries: [{ propertyName: "track", first: true, predicate: ["track"], descendants: true }, { propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true }], ngImport: i0, template: "<div class=\"wrapper d-block position-relative\">\n <div #track class=\"track2\"\n (mousedown)=\"onPointerDown($event)\"\n (touchstart)=\"onPointerDown($event)\"\n (touchmove)=\"onPointerMove($event)\"\n (touchend)=\"onPointerUp($event)\">\n <ng-content select=\"[bsTrack]\"></ng-content>\n </div>\n <div #thumb\n (mousedown)=\"onPointerDown($event)\"\n (touchstart)=\"onPointerDown($event)\"\n (touchmove)=\"onPointerMove($event)\"\n (touchend)=\"onPointerUp($event)\"\n [class]=\"cursorClass$ | async\"\n [style.margin-left.px]=\"thumbMarginLeft$ | async\">\n <ng-content select=\"[bsThumb]\"></ng-content>\n </div>\n</div>", styles: [".track2{height:8px}.wrapper{padding-top:8px;padding-bottom:8px}::ng-deep .thumb{width:24px;height:24px;top:0;border-radius:50%;box-shadow:0 0 0 .1rem #646b7240}::ng-deep .track{height:8px;border-radius:8px}\n"], dependencies: [{ kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
387
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsSliderComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
388
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.7", type: BsSliderComponent, isStandalone: false, selector: "bs-slider", inputs: { value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "document:mousemove": "onPointerMove($event)", "document:mouseup": "onPointerUp($event)" }, properties: { "class.d-block": "this.dBlock", "class.position-relative": "this.positionRelative" } }, viewQueries: [{ propertyName: "track", first: true, predicate: ["track"], descendants: true }, { propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true }], ngImport: i0, template: "<div class=\"wrapper d-block position-relative\">\n <div #track class=\"track2\"\n (mousedown)=\"onPointerDown($event)\"\n (touchstart)=\"onPointerDown($event)\"\n (touchmove)=\"onPointerMove($event)\"\n (touchend)=\"onPointerUp($event)\">\n <ng-content select=\"[bsTrack]\"></ng-content>\n </div>\n <div #thumb\n (mousedown)=\"onPointerDown($event)\"\n (touchstart)=\"onPointerDown($event)\"\n (touchmove)=\"onPointerMove($event)\"\n (touchend)=\"onPointerUp($event)\"\n [class]=\"cursorClass$ | async\"\n [style.margin-left.px]=\"thumbMarginLeft$ | async\">\n <ng-content select=\"[bsThumb]\"></ng-content>\n </div>\n</div>", styles: [".track2{height:8px}.wrapper{padding-top:8px;padding-bottom:8px}::ng-deep .thumb{width:24px;height:24px;top:0;border-radius:50%;box-shadow:0 0 0 .1rem #646b7240}::ng-deep .track{height:8px;border-radius:8px}\n"], dependencies: [{ kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
386
389
  }
387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsSliderComponent, decorators: [{
390
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsSliderComponent, decorators: [{
388
391
  type: Component,
389
392
  args: [{ selector: 'bs-slider', standalone: false, template: "<div class=\"wrapper d-block position-relative\">\n <div #track class=\"track2\"\n (mousedown)=\"onPointerDown($event)\"\n (touchstart)=\"onPointerDown($event)\"\n (touchmove)=\"onPointerMove($event)\"\n (touchend)=\"onPointerUp($event)\">\n <ng-content select=\"[bsTrack]\"></ng-content>\n </div>\n <div #thumb\n (mousedown)=\"onPointerDown($event)\"\n (touchstart)=\"onPointerDown($event)\"\n (touchmove)=\"onPointerMove($event)\"\n (touchend)=\"onPointerUp($event)\"\n [class]=\"cursorClass$ | async\"\n [style.margin-left.px]=\"thumbMarginLeft$ | async\">\n <ng-content select=\"[bsThumb]\"></ng-content>\n </div>\n</div>", styles: [".track2{height:8px}.wrapper{padding-top:8px;padding-bottom:8px}::ng-deep .thumb{width:24px;height:24px;top:0;border-radius:50%;box-shadow:0 0 0 .1rem #646b7240}::ng-deep .track{height:8px;border-radius:8px}\n"] }]
390
393
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dBlock: [{
@@ -414,10 +417,10 @@ class BsThumbDirective {
414
417
  constructor() {
415
418
  this.thumbClass = true;
416
419
  }
417
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
418
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: BsThumbDirective, isStandalone: false, selector: "[bsThumb]", host: { properties: { "class.thumb": "this.thumbClass", "class.position-absolute": "this.thumbClass" } }, ngImport: i0 }); }
420
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
421
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.7", type: BsThumbDirective, isStandalone: false, selector: "[bsThumb]", host: { properties: { "class.thumb": "this.thumbClass", "class.position-absolute": "this.thumbClass" } }, ngImport: i0 }); }
419
422
  }
420
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsThumbDirective, decorators: [{
423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsThumbDirective, decorators: [{
421
424
  type: Directive,
422
425
  args: [{
423
426
  selector: '[bsThumb]',
@@ -434,10 +437,10 @@ class BsTrackDirective {
434
437
  constructor() {
435
438
  this.trackClass = true;
436
439
  }
437
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsTrackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
438
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: BsTrackDirective, isStandalone: false, selector: "[bsTrack]", host: { properties: { "class.track": "this.trackClass" } }, ngImport: i0 }); }
440
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsTrackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
441
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.7", type: BsTrackDirective, isStandalone: false, selector: "[bsTrack]", host: { properties: { "class.track": "this.trackClass" } }, ngImport: i0 }); }
439
442
  }
440
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsTrackDirective, decorators: [{
443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsTrackDirective, decorators: [{
441
444
  type: Directive,
442
445
  args: [{
443
446
  selector: '[bsTrack]',
@@ -495,12 +498,14 @@ class BsLuminosityStripComponent {
495
498
  this.luminosity$.next(value);
496
499
  }
497
500
  ngAfterViewInit() {
498
- this.canvasContext = this.canvas.nativeElement.getContext('2d', { willReadFrequently: true });
501
+ if (typeof window !== 'undefined') {
502
+ this.canvasContext = this.canvas.nativeElement.getContext('2d', { willReadFrequently: true });
503
+ }
499
504
  }
500
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsLuminosityStripComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
501
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0", type: BsLuminosityStripComponent, isStandalone: false, selector: "bs-luminosity-strip", inputs: { hs: "hs", luminosity: "luminosity" }, outputs: { luminosityChange: "luminosityChange" }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true }], ngImport: i0, template: "<bs-slider [value]=\"(luminosity$ | async)!\" (valueChange)=\"luminosityChange.emit($event)\">\n <canvas bsTrack class=\"position-absolute w-100\" #canvas></canvas>\n <div bsThumb [style.background]=\"resultBackground$ | async\"></div>\n</bs-slider>", styles: [""], dependencies: [{ kind: "component", type: BsSliderComponent, selector: "bs-slider", inputs: ["value"], outputs: ["valueChange"] }, { kind: "directive", type: BsThumbDirective, selector: "[bsThumb]" }, { kind: "directive", type: BsTrackDirective, selector: "[bsTrack]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
505
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsLuminosityStripComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
506
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.7", type: BsLuminosityStripComponent, isStandalone: false, selector: "bs-luminosity-strip", inputs: { hs: "hs", luminosity: "luminosity" }, outputs: { luminosityChange: "luminosityChange" }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true }], ngImport: i0, template: "<bs-slider [value]=\"(luminosity$ | async)!\" (valueChange)=\"luminosityChange.emit($event)\">\n <canvas bsTrack class=\"position-absolute w-100\" #canvas></canvas>\n <div bsThumb [style.background]=\"resultBackground$ | async\"></div>\n</bs-slider>", styles: [""], dependencies: [{ kind: "component", type: BsSliderComponent, selector: "bs-slider", inputs: ["value"], outputs: ["valueChange"] }, { kind: "directive", type: BsThumbDirective, selector: "[bsThumb]" }, { kind: "directive", type: BsTrackDirective, selector: "[bsTrack]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
502
507
  }
503
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsLuminosityStripComponent, decorators: [{
508
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsLuminosityStripComponent, decorators: [{
504
509
  type: Component,
505
510
  args: [{ selector: 'bs-luminosity-strip', standalone: false, template: "<bs-slider [value]=\"(luminosity$ | async)!\" (valueChange)=\"luminosityChange.emit($event)\">\n <canvas bsTrack class=\"position-absolute w-100\" #canvas></canvas>\n <div bsThumb [style.background]=\"resultBackground$ | async\"></div>\n</bs-slider>" }]
506
511
  }], ctorParameters: () => [], propDecorators: { hs: [{
@@ -567,12 +572,14 @@ class BsAlphaStripComponent {
567
572
  this.alpha$.next(value);
568
573
  }
569
574
  ngAfterViewInit() {
570
- this.canvasContext = this.canvas.nativeElement.getContext('2d', { willReadFrequently: true });
575
+ if (typeof window !== 'undefined') {
576
+ this.canvasContext = this.canvas.nativeElement.getContext('2d', { willReadFrequently: true });
577
+ }
571
578
  }
572
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsAlphaStripComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
573
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0", type: BsAlphaStripComponent, isStandalone: false, selector: "bs-alpha-strip", inputs: { hs: "hs", luminosity: "luminosity", alpha: "alpha" }, outputs: { alphaChange: "alphaChange" }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["track"], descendants: true }], ngImport: i0, template: "<bs-slider [value]=\"(alpha$ | async)!\" (valueChange)=\"alphaChange.emit($event)\">\n <canvas bsTrack class=\" track position-absolute w-100\" #track></canvas>\n\n <!-- [style.background]=\"resultBackground$ | async\" -->\n <div bsThumb [style.background]=\"resultBackground$ | async\"></div>\n</bs-slider>", styles: [".track{background-image:linear-gradient(45deg,#C0C0C0 25%,transparent 25%),linear-gradient(-45deg,#C0C0C0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#C0C0C0 75%),linear-gradient(-45deg,transparent 75%,#C0C0C0 75%);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0px}\n"], dependencies: [{ kind: "component", type: BsSliderComponent, selector: "bs-slider", inputs: ["value"], outputs: ["valueChange"] }, { kind: "directive", type: BsThumbDirective, selector: "[bsThumb]" }, { kind: "directive", type: BsTrackDirective, selector: "[bsTrack]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
579
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsAlphaStripComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
580
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.7", type: BsAlphaStripComponent, isStandalone: false, selector: "bs-alpha-strip", inputs: { hs: "hs", luminosity: "luminosity", alpha: "alpha" }, outputs: { alphaChange: "alphaChange" }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["track"], descendants: true }], ngImport: i0, template: "<bs-slider [value]=\"(alpha$ | async)!\" (valueChange)=\"alphaChange.emit($event)\">\n <canvas bsTrack class=\" track position-absolute w-100\" #track></canvas>\n\n <!-- [style.background]=\"resultBackground$ | async\" -->\n <div bsThumb [style.background]=\"resultBackground$ | async\"></div>\n</bs-slider>", styles: [".track{background-image:linear-gradient(45deg,#C0C0C0 25%,transparent 25%),linear-gradient(-45deg,#C0C0C0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#C0C0C0 75%),linear-gradient(-45deg,transparent 75%,#C0C0C0 75%);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0px}\n"], dependencies: [{ kind: "component", type: BsSliderComponent, selector: "bs-slider", inputs: ["value"], outputs: ["valueChange"] }, { kind: "directive", type: BsThumbDirective, selector: "[bsThumb]" }, { kind: "directive", type: BsTrackDirective, selector: "[bsTrack]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
574
581
  }
575
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsAlphaStripComponent, decorators: [{
582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsAlphaStripComponent, decorators: [{
576
583
  type: Component,
577
584
  args: [{ selector: 'bs-alpha-strip', standalone: false, template: "<bs-slider [value]=\"(alpha$ | async)!\" (valueChange)=\"alphaChange.emit($event)\">\n <canvas bsTrack class=\" track position-absolute w-100\" #track></canvas>\n\n <!-- [style.background]=\"resultBackground$ | async\" -->\n <div bsThumb [style.background]=\"resultBackground$ | async\"></div>\n</bs-slider>", styles: [".track{background-image:linear-gradient(45deg,#C0C0C0 25%,transparent 25%),linear-gradient(-45deg,#C0C0C0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#C0C0C0 75%),linear-gradient(-45deg,transparent 75%,#C0C0C0 75%);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0px}\n"] }]
578
585
  }], ctorParameters: () => [], propDecorators: { hs: [{
@@ -613,10 +620,10 @@ class BsColorPickerComponent {
613
620
  set alpha(value) {
614
621
  this.alpha$.next(value);
615
622
  }
616
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsColorPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
617
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.0", type: BsColorPickerComponent, isStandalone: false, selector: "bs-color-picker", inputs: { size: "size", allowAlpha: "allowAlpha", alpha: "alpha" }, outputs: { alphaChange: "alphaChange" }, viewQueries: [{ propertyName: "colorWheel", first: true, predicate: ["wheel"], descendants: true }], ngImport: i0, template: "@let letDisabled = (disabled$ | async)!;\n@let letHS = (hs$ | async)!;\n@let letLuminosity = (luminosity$ | async)!;\n@let letAlpha = (alpha$ | async)!;\n\n<bs-color-wheel [hs]=\"letHS\" (hsChange)=\"hs$.next($event)\" [luminosity]=\"letLuminosity\" [width]=\"(size$ | async) ?? 150\" [height]=\"(size$ | async) ?? 150\" #wheel></bs-color-wheel>\n<bs-luminosity-strip [hs]=\"letHS\" [luminosity]=\"letLuminosity\" (luminosityChange)=\"luminosity$.next($event)\" class=\"d-block mt-2\" [style.width.px]=\"size$ | async\" #strip></bs-luminosity-strip>\n@if (allowAlpha$ | async) {\n <bs-alpha-strip [hs]=\"letHS\" [luminosity]=\"letLuminosity\" [alpha]=\"letAlpha\" (alphaChange)=\"alpha$.next($event)\" class=\"d-block mt-2\" [style.width.px]=\"size$ | async\" #alpha></bs-alpha-strip>\n}", styles: [""], dependencies: [{ kind: "component", type: BsColorWheelComponent, selector: "bs-color-wheel", inputs: ["diameterRatio", "width", "height", "hs", "luminosity"], outputs: ["hsChange"] }, { kind: "component", type: BsLuminosityStripComponent, selector: "bs-luminosity-strip", inputs: ["hs", "luminosity"], outputs: ["luminosityChange"] }, { kind: "component", type: BsAlphaStripComponent, selector: "bs-alpha-strip", inputs: ["hs", "luminosity", "alpha"], outputs: ["alphaChange"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
623
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsColorPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
624
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.7", type: BsColorPickerComponent, isStandalone: false, selector: "bs-color-picker", inputs: { size: "size", allowAlpha: "allowAlpha", alpha: "alpha" }, outputs: { alphaChange: "alphaChange" }, viewQueries: [{ propertyName: "colorWheel", first: true, predicate: ["wheel"], descendants: true }], ngImport: i0, template: "@let letDisabled = (disabled$ | async)!;\n@let letHS = (hs$ | async)!;\n@let letLuminosity = (luminosity$ | async)!;\n@let letAlpha = (alpha$ | async)!;\n\n<bs-color-wheel [hs]=\"letHS\" (hsChange)=\"hs$.next($event)\" [luminosity]=\"letLuminosity\" [width]=\"(size$ | async) ?? 150\" [height]=\"(size$ | async) ?? 150\" #wheel></bs-color-wheel>\n<bs-luminosity-strip [hs]=\"letHS\" [luminosity]=\"letLuminosity\" (luminosityChange)=\"luminosity$.next($event)\" class=\"d-block mt-2\" [style.width.px]=\"size$ | async\" #strip></bs-luminosity-strip>\n@if (allowAlpha$ | async) {\n <bs-alpha-strip [hs]=\"letHS\" [luminosity]=\"letLuminosity\" [alpha]=\"letAlpha\" (alphaChange)=\"alpha$.next($event)\" class=\"d-block mt-2\" [style.width.px]=\"size$ | async\" #alpha></bs-alpha-strip>\n}", styles: [""], dependencies: [{ kind: "component", type: BsColorWheelComponent, selector: "bs-color-wheel", inputs: ["diameterRatio", "width", "height", "hs", "luminosity"], outputs: ["hsChange"] }, { kind: "component", type: BsLuminosityStripComponent, selector: "bs-luminosity-strip", inputs: ["hs", "luminosity"], outputs: ["luminosityChange"] }, { kind: "component", type: BsAlphaStripComponent, selector: "bs-alpha-strip", inputs: ["hs", "luminosity", "alpha"], outputs: ["alphaChange"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
618
625
  }
619
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsColorPickerComponent, decorators: [{
626
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsColorPickerComponent, decorators: [{
620
627
  type: Component,
621
628
  args: [{ selector: 'bs-color-picker', standalone: false, template: "@let letDisabled = (disabled$ | async)!;\n@let letHS = (hs$ | async)!;\n@let letLuminosity = (luminosity$ | async)!;\n@let letAlpha = (alpha$ | async)!;\n\n<bs-color-wheel [hs]=\"letHS\" (hsChange)=\"hs$.next($event)\" [luminosity]=\"letLuminosity\" [width]=\"(size$ | async) ?? 150\" [height]=\"(size$ | async) ?? 150\" #wheel></bs-color-wheel>\n<bs-luminosity-strip [hs]=\"letHS\" [luminosity]=\"letLuminosity\" (luminosityChange)=\"luminosity$.next($event)\" class=\"d-block mt-2\" [style.width.px]=\"size$ | async\" #strip></bs-luminosity-strip>\n@if (allowAlpha$ | async) {\n <bs-alpha-strip [hs]=\"letHS\" [luminosity]=\"letLuminosity\" [alpha]=\"letAlpha\" (alphaChange)=\"alpha$.next($event)\" class=\"d-block mt-2\" [style.width.px]=\"size$ | async\" #alpha></bs-alpha-strip>\n}" }]
622
629
  }], ctorParameters: () => [], propDecorators: { colorWheel: [{
@@ -730,15 +737,15 @@ class BsColorPickerValueAccessor {
730
737
  h *= 360;
731
738
  return { h, s, l };
732
739
  }
733
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsColorPickerValueAccessor, deps: [{ token: forwardRef(() => BsColorPickerComponent) }, { token: i0.DestroyRef }], target: i0.ɵɵFactoryTarget.Directive }); }
734
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: BsColorPickerValueAccessor, isStandalone: false, selector: "bs-color-picker", providers: [{
740
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsColorPickerValueAccessor, deps: [{ token: forwardRef(() => BsColorPickerComponent) }, { token: i0.DestroyRef }], target: i0.ɵɵFactoryTarget.Directive }); }
741
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.7", type: BsColorPickerValueAccessor, isStandalone: false, selector: "bs-color-picker", providers: [{
735
742
  provide: NG_VALUE_ACCESSOR,
736
743
  // useExisting: BsColorPickerValueAccessor,
737
744
  useExisting: forwardRef(() => BsColorPickerValueAccessor),
738
745
  multi: true
739
746
  }], exportAs: ["bsColorPicker"], ngImport: i0 }); }
740
747
  }
741
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsColorPickerValueAccessor, decorators: [{
748
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsColorPickerValueAccessor, decorators: [{
742
749
  type: Directive,
743
750
  args: [{
744
751
  selector: 'bs-color-picker',
@@ -757,8 +764,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImpor
757
764
  }] }, { type: i0.DestroyRef }] });
758
765
 
759
766
  class BsColorPickerModule {
760
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
761
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: BsColorPickerModule, declarations: [BsColorPickerComponent,
767
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
768
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.7", ngImport: i0, type: BsColorPickerModule, declarations: [BsColorPickerComponent,
762
769
  BsColorPickerValueAccessor,
763
770
  BsColorWheelComponent,
764
771
  BsLuminosityStripComponent,
@@ -774,9 +781,9 @@ class BsColorPickerModule {
774
781
  BsThumbDirective,
775
782
  BsTrackDirective,
776
783
  BsAlphaStripComponent] }); }
777
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsColorPickerModule, imports: [FormsModule] }); }
784
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsColorPickerModule, imports: [FormsModule] }); }
778
785
  }
779
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: BsColorPickerModule, decorators: [{
786
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: BsColorPickerModule, decorators: [{
780
787
  type: NgModule,
781
788
  args: [{
782
789
  declarations: [