@mintplayer/ng-bootstrap 13.4.2 → 13.7.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 (162) hide show
  1. package/esm2020/index.mjs +2 -1
  2. package/esm2020/lib/components/accordion/accordion/accordion.component.mjs +3 -3
  3. package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +3 -3
  4. package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +3 -3
  5. package/esm2020/lib/components/accordion/accordion.module.mjs +4 -4
  6. package/esm2020/lib/components/accordion/from-overlay/from-overlay.directive.mjs +3 -3
  7. package/esm2020/lib/components/accordion/from-overlay-id/from-overlay-id.directive.mjs +3 -3
  8. package/esm2020/lib/components/alert/alert/alert.component.mjs +3 -3
  9. package/esm2020/lib/components/alert/alert-close/alert-close.component.mjs +3 -3
  10. package/esm2020/lib/components/alert/alert.module.mjs +4 -4
  11. package/esm2020/lib/components/calendar/calendar.component.mjs +3 -3
  12. package/esm2020/lib/components/calendar/calendar.module.mjs +4 -4
  13. package/esm2020/lib/components/card/card/card.component.mjs +3 -3
  14. package/esm2020/lib/components/card/card-header/card-header.component.mjs +3 -3
  15. package/esm2020/lib/components/card/card.module.mjs +4 -4
  16. package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +3 -3
  17. package/esm2020/lib/components/carousel/carousel-image/carousel-image.directive.mjs +3 -3
  18. package/esm2020/lib/components/carousel/carousel.module.mjs +4 -4
  19. package/esm2020/lib/components/code-snippet/code-snippet.component.mjs +3 -3
  20. package/esm2020/lib/components/code-snippet/code-snippet.module.mjs +4 -4
  21. package/esm2020/lib/components/context-menu/context-menu.directive.mjs +3 -3
  22. package/esm2020/lib/components/context-menu/context-menu.module.mjs +4 -4
  23. package/esm2020/lib/components/copy/copy.directive.mjs +3 -3
  24. package/esm2020/lib/components/copy/copy.module.mjs +4 -4
  25. package/esm2020/lib/components/datatable/datatable/datatable.component.mjs +6 -6
  26. package/esm2020/lib/components/datatable/datatable-column/datatable-column.directive.mjs +3 -3
  27. package/esm2020/lib/components/datatable/datatable.module.mjs +4 -4
  28. package/esm2020/lib/components/datatable/row-template/row-template.directive.mjs +3 -3
  29. package/esm2020/lib/components/datepicker/datepicker.component.mjs +3 -3
  30. package/esm2020/lib/components/datepicker/datepicker.module.mjs +4 -4
  31. package/esm2020/lib/components/dropdown/dropdown/dropdown.directive.mjs +3 -3
  32. package/esm2020/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.mjs +3 -3
  33. package/esm2020/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.mjs +3 -3
  34. package/esm2020/lib/components/dropdown/dropdown.module.mjs +4 -4
  35. package/esm2020/lib/components/file-upload/component/file-upload.component.mjs +3 -3
  36. package/esm2020/lib/components/file-upload/directive/file-upload-template.directive.mjs +3 -3
  37. package/esm2020/lib/components/file-upload/file-upload.module.mjs +4 -4
  38. package/esm2020/lib/components/for/for.directive.mjs +3 -3
  39. package/esm2020/lib/components/for/for.module.mjs +4 -4
  40. package/esm2020/lib/components/list-group/list-group/list-group.component.mjs +3 -3
  41. package/esm2020/lib/components/list-group/list-group-item/list-group-item.component.mjs +3 -3
  42. package/esm2020/lib/components/list-group/list-group.module.mjs +4 -4
  43. package/esm2020/lib/components/modal/components/index.mjs +3 -0
  44. package/esm2020/lib/components/modal/components/modal/modal.component.mjs +21 -0
  45. package/esm2020/lib/components/modal/components/modal-host/modal-host.component.mjs +72 -0
  46. package/esm2020/lib/components/modal/directives/index.mjs +3 -1
  47. package/esm2020/lib/components/modal/directives/modal/modal.directive.mjs +18 -0
  48. package/esm2020/lib/components/modal/directives/modal-body/modal-body.directive.mjs +11 -10
  49. package/esm2020/lib/components/modal/directives/modal-close/modal-close.directive.mjs +24 -0
  50. package/esm2020/lib/components/modal/directives/modal-footer/modal-footer.directive.mjs +11 -10
  51. package/esm2020/lib/components/modal/directives/modal-header/modal-header.directive.mjs +11 -10
  52. package/esm2020/lib/components/modal/index.mjs +2 -3
  53. package/esm2020/lib/components/modal/modal.module.mjs +37 -12
  54. package/esm2020/lib/components/modal/providers/portal-factory.provider.mjs +3 -0
  55. package/esm2020/lib/components/multiselect/component/multiselect.component.mjs +3 -3
  56. package/esm2020/lib/components/multiselect/directives/button-template/button-template.directive.mjs +3 -3
  57. package/esm2020/lib/components/multiselect/directives/footer-template/footer-template.directive.mjs +3 -3
  58. package/esm2020/lib/components/multiselect/directives/header-template/header-template.directive.mjs +3 -3
  59. package/esm2020/lib/components/multiselect/multiselect.module.mjs +4 -4
  60. package/esm2020/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.mjs +3 -3
  61. package/esm2020/lib/components/navbar/expand-button/expand-button.directive.mjs +3 -3
  62. package/esm2020/lib/components/navbar/nav-link/nav-link.directive.mjs +3 -3
  63. package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +3 -3
  64. package/esm2020/lib/components/navbar/navbar-brand/navbar-brand.component.mjs +3 -3
  65. package/esm2020/lib/components/navbar/navbar-content/navbar-content.directive.mjs +3 -3
  66. package/esm2020/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.mjs +4 -4
  67. package/esm2020/lib/components/navbar/navbar-item/navbar-item.component.mjs +3 -3
  68. package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +3 -3
  69. package/esm2020/lib/components/navbar/navbar-toggler/navbar-toggler.component.mjs +3 -3
  70. package/esm2020/lib/components/navbar/navbar.module.mjs +4 -4
  71. package/esm2020/lib/components/offcanvas/components/offcanvas/offcanvas.component.mjs +3 -3
  72. package/esm2020/lib/components/offcanvas/components/offcanvas-body/offcanvas-body.component.mjs +3 -3
  73. package/esm2020/lib/components/offcanvas/components/offcanvas-header/offcanvas-header.component.mjs +3 -3
  74. package/esm2020/lib/components/offcanvas/components/offcanvas-host/offcanvas-host.component.mjs +3 -3
  75. package/esm2020/lib/components/offcanvas/directives/offcanvas-close/offcanvas-close.directive.mjs +3 -3
  76. package/esm2020/lib/components/offcanvas/directives/offcanvas-content/offcanvas-content.directive.mjs +3 -3
  77. package/esm2020/lib/components/offcanvas/offcanvas.module.mjs +4 -4
  78. package/esm2020/lib/components/pagination/pagination/pagination.component.mjs +3 -3
  79. package/esm2020/lib/components/pagination/pagination.module.mjs +4 -4
  80. package/esm2020/lib/components/progress-bar/progress/progress.component.mjs +3 -3
  81. package/esm2020/lib/components/progress-bar/progress-bar/progress-bar.component.mjs +3 -3
  82. package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +4 -4
  83. package/esm2020/lib/components/rating/rating.component.mjs +3 -3
  84. package/esm2020/lib/components/rating/rating.module.mjs +4 -4
  85. package/esm2020/lib/components/scheduler/components/resource-group-presenter/resource-group-presenter.component.mjs +3 -3
  86. package/esm2020/lib/components/scheduler/components/scheduler/scheduler.component.mjs +3 -3
  87. package/esm2020/lib/components/scheduler/pipes/bs-seconds-timespan.pipe/bs-seconds-timespan.pipe.mjs +3 -3
  88. package/esm2020/lib/components/scheduler/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.mjs +3 -3
  89. package/esm2020/lib/components/scheduler/pipes/date-offset/date-offset.pipe.mjs +3 -3
  90. package/esm2020/lib/components/scheduler/pipes/day-of-week/day-of-week.pipe.mjs +3 -3
  91. package/esm2020/lib/components/scheduler/scheduler.module.mjs +4 -4
  92. package/esm2020/lib/components/scheduler/services/timeline/timeline.service.mjs +3 -3
  93. package/esm2020/lib/components/scrollspy/component/scrollspy.component.mjs +3 -3
  94. package/esm2020/lib/components/scrollspy/directives/scrollspy.directive.mjs +3 -3
  95. package/esm2020/lib/components/scrollspy/scrollspy.module.mjs +4 -4
  96. package/esm2020/lib/components/select2/component/select2.component.mjs +3 -3
  97. package/esm2020/lib/components/select2/directive/item-template.directive.mjs +3 -3
  98. package/esm2020/lib/components/select2/select2.module.mjs +4 -4
  99. package/esm2020/lib/components/snackbar/component/snackbar.component.mjs +3 -3
  100. package/esm2020/lib/components/snackbar/directives/snackbar-close/snackbar-close.directive.mjs +3 -3
  101. package/esm2020/lib/components/snackbar/service/snackbar.service.mjs +3 -3
  102. package/esm2020/lib/components/snackbar/snackbar.module.mjs +4 -4
  103. package/esm2020/lib/components/tab-control/tab-control/tab-control.component.mjs +3 -3
  104. package/esm2020/lib/components/tab-control/tab-control.module.mjs +4 -4
  105. package/esm2020/lib/components/tab-control/tab-page/tab-page.component.mjs +3 -3
  106. package/esm2020/lib/components/timepicker/timepicker.component.mjs +3 -3
  107. package/esm2020/lib/components/timepicker/timepicker.module.mjs +4 -4
  108. package/esm2020/lib/components/toggle-button/toggle-button.component.mjs +3 -3
  109. package/esm2020/lib/components/toggle-button/toggle-button.module.mjs +4 -4
  110. package/esm2020/lib/components/tooltip/component/tooltip.component.mjs +3 -3
  111. package/esm2020/lib/components/tooltip/directive/tooltip.directive.mjs +3 -3
  112. package/esm2020/lib/components/tooltip/tooltip.module.mjs +4 -4
  113. package/esm2020/lib/components/typeahead/typeahead.component.mjs +3 -3
  114. package/esm2020/lib/components/typeahead/typeahead.module.mjs +4 -4
  115. package/esm2020/lib/directives/enhanced-paste/enhanced-paste.directive.mjs +3 -3
  116. package/esm2020/lib/directives/enhanced-paste/enhanced-paste.module.mjs +4 -4
  117. package/esm2020/lib/directives/index.mjs +2 -0
  118. package/esm2020/lib/pipes/font-color/font-color.module.mjs +4 -4
  119. package/esm2020/lib/pipes/font-color/font-color.pipe.mjs +3 -3
  120. package/esm2020/lib/pipes/format-bytes/format-bytes.module.mjs +4 -4
  121. package/esm2020/lib/pipes/format-bytes/format-bytes.pipe.mjs +3 -3
  122. package/esm2020/lib/pipes/in-list/in-list.module.mjs +4 -4
  123. package/esm2020/lib/pipes/in-list/in-list.pipe.mjs +3 -3
  124. package/esm2020/lib/pipes/month-name/month-name.module.mjs +4 -4
  125. package/esm2020/lib/pipes/month-name/month-name.pipe.mjs +3 -3
  126. package/esm2020/lib/pipes/uc-first/uc-first.module.mjs +4 -4
  127. package/esm2020/lib/pipes/uc-first/uc-first.pipe.mjs +3 -3
  128. package/esm2020/lib/pipes/weekday-name/weekday-name.module.mjs +4 -4
  129. package/esm2020/lib/pipes/weekday-name/weekday-name.pipe.mjs +3 -3
  130. package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +3 -3
  131. package/esm2020/lib/services/scroll-offset/scroll-offset.service.mjs +3 -3
  132. package/fesm2015/mintplayer-ng-bootstrap.mjs +555 -492
  133. package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
  134. package/fesm2020/mintplayer-ng-bootstrap.mjs +552 -490
  135. package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
  136. package/index.d.ts +1 -0
  137. package/lib/components/datatable/datatable/datatable.component.d.ts +1 -1
  138. package/lib/components/modal/components/index.d.ts +2 -0
  139. package/lib/components/modal/{component → components}/modal/modal.component.d.ts +5 -6
  140. package/lib/components/modal/components/modal-host/modal-host.component.d.ts +23 -0
  141. package/lib/components/modal/directives/index.d.ts +2 -0
  142. package/lib/components/modal/directives/modal/modal.directive.d.ts +8 -0
  143. package/lib/components/modal/directives/modal-body/modal-body.directive.d.ts +1 -3
  144. package/lib/components/modal/directives/modal-close/modal-close.directive.d.ts +9 -0
  145. package/lib/components/modal/directives/modal-footer/modal-footer.directive.d.ts +1 -3
  146. package/lib/components/modal/directives/modal-header/modal-header.directive.d.ts +1 -3
  147. package/lib/components/modal/index.d.ts +1 -2
  148. package/lib/components/modal/modal.module.d.ts +7 -5
  149. package/lib/components/modal/providers/portal-factory.provider.d.ts +3 -0
  150. package/lib/directives/index.d.ts +1 -0
  151. package/package.json +12 -12
  152. package/esm2020/lib/components/modal/component/index.mjs +0 -3
  153. package/esm2020/lib/components/modal/component/modal/modal.component.mjs +0 -13
  154. package/esm2020/lib/components/modal/component/modal-content/modal-content.component.mjs +0 -39
  155. package/esm2020/lib/components/modal/interfaces/index.mjs +0 -2
  156. package/esm2020/lib/components/modal/interfaces/modal-animation-meta.mjs +0 -2
  157. package/esm2020/lib/components/modal/service/modal.service.mjs +0 -52
  158. package/lib/components/modal/component/index.d.ts +0 -2
  159. package/lib/components/modal/component/modal-content/modal-content.component.d.ts +0 -15
  160. package/lib/components/modal/interfaces/index.d.ts +0 -1
  161. package/lib/components/modal/interfaces/modal-animation-meta.d.ts +0 -7
  162. package/lib/components/modal/service/modal.service.d.ts +0 -14
@@ -7,18 +7,18 @@ import { BsDatatableColumnDirective } from './datatable-column/datatable-column.
7
7
  import * as i0 from "@angular/core";
8
8
  export class BsDatatableModule {
9
9
  }
10
- BsDatatableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatatableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- BsDatatableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatatableModule, declarations: [BsDatatableComponent,
10
+ BsDatatableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatatableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
+ BsDatatableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatatableModule, declarations: [BsDatatableComponent,
12
12
  BsRowTemplateDirective,
13
13
  BsDatatableColumnDirective], imports: [CommonModule,
14
14
  BsPaginationModule], exports: [BsDatatableComponent,
15
15
  BsRowTemplateDirective,
16
16
  BsDatatableColumnDirective] });
17
- BsDatatableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatatableModule, imports: [[
17
+ BsDatatableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatatableModule, imports: [[
18
18
  CommonModule,
19
19
  BsPaginationModule
20
20
  ]] });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatatableModule, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatatableModule, decorators: [{
22
22
  type: NgModule,
23
23
  args: [{
24
24
  declarations: [
@@ -8,9 +8,9 @@ export class BsRowTemplateDirective {
8
8
  this.datatableComponent.rowTemplate = templateRef;
9
9
  }
10
10
  }
11
- BsRowTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsRowTemplateDirective, deps: [{ token: i1.BsDatatableComponent }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
12
- BsRowTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BsRowTemplateDirective, selector: "[bsRowTemplate]", ngImport: i0 });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsRowTemplateDirective, decorators: [{
11
+ BsRowTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsRowTemplateDirective, deps: [{ token: i1.BsDatatableComponent }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
12
+ BsRowTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsRowTemplateDirective, selector: "[bsRowTemplate]", ngImport: i0 });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsRowTemplateDirective, decorators: [{
14
14
  type: Directive,
15
15
  args: [{
16
16
  selector: '[bsRowTemplate]'
@@ -30,9 +30,9 @@ export class BsDatepickerComponent {
30
30
  this.currentMonthChange.emit(value);
31
31
  }
32
32
  }
33
- BsDatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
- BsDatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: BsDatepickerComponent, selector: "bs-datepicker", inputs: { selectedDate: "selectedDate", currentMonth: "currentMonth" }, outputs: { selectedDateChange: "selectedDateChange", currentMonthChange: "currentMonthChange" }, ngImport: i0, template: "<div bsDropdown [hasBackdrop]=\"true\" [closeOnClickOutside]=\"true\">\n <button bsDropdownToggle class=\"btn btn-primary\">{{ selectedDate | date }}</button>\n <div *bsDropdownMenu>\n <bs-calendar [(selectedDate)]=\"selectedDate\" [(currentMonth)]=\"currentMonth\"></bs-calendar>\n </div>\n</div>", styles: [""], components: [{ type: i1.BsCalendarComponent, selector: "bs-calendar", inputs: ["currentMonth", "selectedDate"], outputs: ["currentMonthChange", "selectedDateChange"] }], directives: [{ type: i2.BsDropdownDirective, selector: "[bsDropdown]", inputs: ["hasBackdrop", "sameWidth", "closeOnClickOutside", "sameDropdownWidth", "isOpen"], outputs: ["isOpenChange"] }, { type: i3.BsDropdownToggleDirective, selector: "[bsDropdownToggle]" }, { type: i4.BsDropdownMenuDirective, selector: "[bsDropdownMenu]" }], pipes: { "date": i5.DatePipe } });
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatepickerComponent, decorators: [{
33
+ BsDatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ BsDatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BsDatepickerComponent, selector: "bs-datepicker", inputs: { selectedDate: "selectedDate", currentMonth: "currentMonth" }, outputs: { selectedDateChange: "selectedDateChange", currentMonthChange: "currentMonthChange" }, ngImport: i0, template: "<div bsDropdown [hasBackdrop]=\"true\" [closeOnClickOutside]=\"true\">\n <button bsDropdownToggle class=\"btn btn-primary\">{{ selectedDate | date }}</button>\n <div *bsDropdownMenu>\n <bs-calendar [(selectedDate)]=\"selectedDate\" [(currentMonth)]=\"currentMonth\"></bs-calendar>\n </div>\n</div>", styles: [""], components: [{ type: i1.BsCalendarComponent, selector: "bs-calendar", inputs: ["currentMonth", "selectedDate"], outputs: ["currentMonthChange", "selectedDateChange"] }], directives: [{ type: i2.BsDropdownDirective, selector: "[bsDropdown]", inputs: ["hasBackdrop", "sameWidth", "closeOnClickOutside", "sameDropdownWidth", "isOpen"], outputs: ["isOpenChange"] }, { type: i3.BsDropdownToggleDirective, selector: "[bsDropdownToggle]" }, { type: i4.BsDropdownMenuDirective, selector: "[bsDropdownMenu]" }], pipes: { "date": i5.DatePipe } });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatepickerComponent, decorators: [{
36
36
  type: Component,
37
37
  args: [{ selector: 'bs-datepicker', template: "<div bsDropdown [hasBackdrop]=\"true\" [closeOnClickOutside]=\"true\">\n <button bsDropdownToggle class=\"btn btn-primary\">{{ selectedDate | date }}</button>\n <div *bsDropdownMenu>\n <bs-calendar [(selectedDate)]=\"selectedDate\" [(currentMonth)]=\"currentMonth\"></bs-calendar>\n </div>\n</div>", styles: [""] }]
38
38
  }], propDecorators: { selectedDateChange: [{
@@ -6,16 +6,16 @@ import { BsDropdownModule } from '../dropdown/dropdown.module';
6
6
  import * as i0 from "@angular/core";
7
7
  export class BsDatepickerModule {
8
8
  }
9
- BsDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- BsDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatepickerModule, declarations: [BsDatepickerComponent], imports: [CommonModule,
9
+ BsDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ BsDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatepickerModule, declarations: [BsDatepickerComponent], imports: [CommonModule,
11
11
  BsCalendarModule,
12
12
  BsDropdownModule], exports: [BsDatepickerComponent] });
13
- BsDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatepickerModule, imports: [[
13
+ BsDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatepickerModule, imports: [[
14
14
  CommonModule,
15
15
  BsCalendarModule,
16
16
  BsDropdownModule
17
17
  ]] });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDatepickerModule, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDatepickerModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  declarations: [
@@ -29,9 +29,9 @@ export class BsDropdownDirective {
29
29
  this.isOpen = false;
30
30
  }
31
31
  }
32
- BsDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
33
- BsDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BsDropdownDirective, selector: "[bsDropdown]", inputs: { hasBackdrop: "hasBackdrop", sameWidth: "sameWidth", closeOnClickOutside: "closeOnClickOutside", sameDropdownWidth: "sameDropdownWidth", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, host: { listeners: { "window:blur": "onBlur()" } }, queries: [{ propertyName: "menu", first: true, predicate: BsDropdownMenuDirective, descendants: true }, { propertyName: "toggle", first: true, predicate: BsDropdownToggleDirective, descendants: true }], ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownDirective, decorators: [{
32
+ BsDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
33
+ BsDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsDropdownDirective, selector: "[bsDropdown]", inputs: { hasBackdrop: "hasBackdrop", sameWidth: "sameWidth", closeOnClickOutside: "closeOnClickOutside", sameDropdownWidth: "sameDropdownWidth", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, host: { listeners: { "window:blur": "onBlur()" } }, queries: [{ propertyName: "menu", first: true, predicate: BsDropdownMenuDirective, descendants: true }, { propertyName: "toggle", first: true, predicate: BsDropdownToggleDirective, descendants: true }], ngImport: i0 });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: '[bsDropdown]'
@@ -70,9 +70,9 @@ export class BsDropdownMenuDirective extends ClickOutsideDirective {
70
70
  }
71
71
  }
72
72
  }
73
- BsDropdownMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownMenuDirective, deps: [{ token: forwardRef(() => BsDropdownDirective) }, { token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive });
74
- BsDropdownMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BsDropdownMenuDirective, selector: "[bsDropdownMenu]", host: { listeners: { "clickOutside": "clickedOutside($event)" }, properties: { "class.show": "this.show" } }, usesInheritance: true, ngImport: i0 });
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownMenuDirective, decorators: [{
73
+ BsDropdownMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownMenuDirective, deps: [{ token: forwardRef(() => BsDropdownDirective) }, { token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive });
74
+ BsDropdownMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsDropdownMenuDirective, selector: "[bsDropdownMenu]", host: { listeners: { "clickOutside": "clickedOutside($event)" }, properties: { "class.show": "this.show" } }, usesInheritance: true, ngImport: i0 });
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownMenuDirective, decorators: [{
76
76
  type: Directive,
77
77
  args: [{
78
78
  selector: '[bsDropdownMenu]'
@@ -14,9 +14,9 @@ export class BsDropdownToggleDirective {
14
14
  });
15
15
  }
16
16
  }
17
- BsDropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownToggleDirective, deps: [{ token: i1.BsDropdownDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
18
- BsDropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BsDropdownToggleDirective, selector: "[bsDropdownToggle]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownToggleDirective, decorators: [{
17
+ BsDropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownToggleDirective, deps: [{ token: i1.BsDropdownDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
18
+ BsDropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsDropdownToggleDirective, selector: "[bsDropdownToggle]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownToggleDirective, decorators: [{
20
20
  type: Directive,
21
21
  args: [{
22
22
  selector: '[bsDropdownToggle]'
@@ -8,20 +8,20 @@ import { BsDropdownToggleDirective } from './dropdown-toggle/dropdown-toggle.dir
8
8
  import * as i0 from "@angular/core";
9
9
  export class BsDropdownModule {
10
10
  }
11
- BsDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- BsDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownModule, declarations: [BsDropdownDirective,
11
+ BsDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
+ BsDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownModule, declarations: [BsDropdownDirective,
13
13
  BsDropdownToggleDirective,
14
14
  BsDropdownMenuDirective], imports: [CommonModule,
15
15
  OverlayModule,
16
16
  ClickOutsideModule], exports: [BsDropdownDirective,
17
17
  BsDropdownToggleDirective,
18
18
  BsDropdownMenuDirective] });
19
- BsDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownModule, imports: [[
19
+ BsDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownModule, imports: [[
20
20
  CommonModule,
21
21
  OverlayModule,
22
22
  ClickOutsideModule
23
23
  ]] });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsDropdownModule, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsDropdownModule, decorators: [{
25
25
  type: NgModule,
26
26
  args: [{
27
27
  declarations: [
@@ -56,9 +56,9 @@ export class BsFileUploadComponent {
56
56
  this.filesDropped.emit(newFiles);
57
57
  }
58
58
  }
59
- BsFileUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsFileUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
60
- BsFileUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: BsFileUploadComponent, selector: "bs-file-upload", inputs: { dropFilesCaption: "dropFilesCaption", browseFilesCaption: "browseFilesCaption", placeholder: "placeholder", files: "files" }, outputs: { filesDropped: "filesDropped" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "onDrop($event)" } }, ngImport: i0, template: "<div class=\"dropzone border position-relative p-5\" [class.dragging]=\"isDraggingFile\">\n <input type=\"file\" multiple #fileUpload (change)=\"onChange($event)\" [title]=\"placeholder\" [placeholder]=\"placeholder\" class=\"position-absolute w-100 h-100\">\n <!-- <img src=\"/assets/ic-file-upload.svg\" [alt]=\"placeholder\"> -->\n <span class=\"h3 d-block\">{{ dropFilesCaption }}</span>\n <label class=\"btn btn-primary position-relative\" [bsFor]=\"fileUpload\">{{ browseFilesCaption }}</label>\n</div>\n<ul class=\"list-group files-list\">\n <li class=\"list-group-item\" *ngFor=\"let upload of files\">\n <ng-container *ngTemplateOutlet=\"fileTemplate ?? defaultFileTemplate; context: { $implicit: upload }\"></ng-container>\n </li>\n</ul>\n\n<ng-template #defaultFileTemplate let-upload>\n <div class=\"d-flex flex-row mx-auto\">\n <div class=\"file-img\"></div>\n <div class=\"flex-grow-1 text-start px-2\">\n <span class=\"d-block text-truncate text-secondary\">{{ upload.file.name }}</span>\n <span class=\"d-block text-grey mb-0\">{{ upload.file.size | bsFormatBytes }}</span>\n <bs-progress [height]=\"4\">\n <bs-progress-bar [minimum]=\"0\" [maximum]=\"upload.file.size\" [value]=\"upload.progress\"></bs-progress-bar>\n </bs-progress>\n </div>\n </div>\n</ng-template>", styles: [".dropzone{z-index:1}.dropzone.dragging{border:4px solid #CB1535!important;background:#DC88A8;margin:-3px -3px -4px}.dropzone input{opacity:0;z-index:2;top:0;left:0}.dropzone .btn{z-index:5}.files-list{margin-top:-1px}.files-list .d-flex{max-width:400px}.text-grey{color:#999}.list-group span{margin:-5px auto}\n"], components: [{ type: i1.BsProgressComponent, selector: "bs-progress", inputs: ["height", "isIndeterminate"] }, { type: i2.BsProgressBarComponent, selector: "bs-progress-bar", inputs: ["minimum", "maximum", "value", "color", "striped", "animated"] }], directives: [{ type: i3.BsForDirective, selector: "[bsFor]", inputs: ["bsFor"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "bsFormatBytes": i5.BsFormatBytesPipe } });
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsFileUploadComponent, decorators: [{
59
+ BsFileUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsFileUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
60
+ BsFileUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BsFileUploadComponent, selector: "bs-file-upload", inputs: { dropFilesCaption: "dropFilesCaption", browseFilesCaption: "browseFilesCaption", placeholder: "placeholder", files: "files" }, outputs: { filesDropped: "filesDropped" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "onDrop($event)" } }, ngImport: i0, template: "<div class=\"dropzone border position-relative p-5\" [class.dragging]=\"isDraggingFile\">\n <input type=\"file\" multiple #fileUpload (change)=\"onChange($event)\" [title]=\"placeholder\" [placeholder]=\"placeholder\" class=\"position-absolute w-100 h-100\">\n <!-- <img src=\"/assets/ic-file-upload.svg\" [alt]=\"placeholder\"> -->\n <span class=\"h3 d-block\">{{ dropFilesCaption }}</span>\n <label class=\"btn btn-primary position-relative\" [bsFor]=\"fileUpload\">{{ browseFilesCaption }}</label>\n</div>\n<ul class=\"list-group files-list\">\n <li class=\"list-group-item\" *ngFor=\"let upload of files\">\n <ng-container *ngTemplateOutlet=\"fileTemplate ?? defaultFileTemplate; context: { $implicit: upload }\"></ng-container>\n </li>\n</ul>\n\n<ng-template #defaultFileTemplate let-upload>\n <div class=\"d-flex flex-row mx-auto\">\n <div class=\"file-img\"></div>\n <div class=\"flex-grow-1 text-start px-2\">\n <span class=\"d-block text-truncate text-secondary\">{{ upload.file.name }}</span>\n <span class=\"d-block text-grey mb-0\">{{ upload.file.size | bsFormatBytes }}</span>\n <bs-progress [height]=\"4\">\n <bs-progress-bar [minimum]=\"0\" [maximum]=\"upload.file.size\" [value]=\"upload.progress\"></bs-progress-bar>\n </bs-progress>\n </div>\n </div>\n</ng-template>", styles: [".dropzone{z-index:1}.dropzone.dragging{border:4px solid #CB1535!important;background:#DC88A8;margin:-3px -3px -4px}.dropzone input{opacity:0;z-index:2;top:0;left:0}.dropzone .btn{z-index:5}.files-list{margin-top:-1px}.files-list .d-flex{max-width:400px}.text-grey{color:#999}.list-group span{margin:-5px auto}\n"], components: [{ type: i1.BsProgressComponent, selector: "bs-progress", inputs: ["height", "isIndeterminate"] }, { type: i2.BsProgressBarComponent, selector: "bs-progress-bar", inputs: ["minimum", "maximum", "value", "color", "striped", "animated"] }], directives: [{ type: i3.BsForDirective, selector: "[bsFor]", inputs: ["bsFor"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "bsFormatBytes": i5.BsFormatBytesPipe } });
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsFileUploadComponent, decorators: [{
62
62
  type: Component,
63
63
  args: [{ selector: 'bs-file-upload', template: "<div class=\"dropzone border position-relative p-5\" [class.dragging]=\"isDraggingFile\">\n <input type=\"file\" multiple #fileUpload (change)=\"onChange($event)\" [title]=\"placeholder\" [placeholder]=\"placeholder\" class=\"position-absolute w-100 h-100\">\n <!-- <img src=\"/assets/ic-file-upload.svg\" [alt]=\"placeholder\"> -->\n <span class=\"h3 d-block\">{{ dropFilesCaption }}</span>\n <label class=\"btn btn-primary position-relative\" [bsFor]=\"fileUpload\">{{ browseFilesCaption }}</label>\n</div>\n<ul class=\"list-group files-list\">\n <li class=\"list-group-item\" *ngFor=\"let upload of files\">\n <ng-container *ngTemplateOutlet=\"fileTemplate ?? defaultFileTemplate; context: { $implicit: upload }\"></ng-container>\n </li>\n</ul>\n\n<ng-template #defaultFileTemplate let-upload>\n <div class=\"d-flex flex-row mx-auto\">\n <div class=\"file-img\"></div>\n <div class=\"flex-grow-1 text-start px-2\">\n <span class=\"d-block text-truncate text-secondary\">{{ upload.file.name }}</span>\n <span class=\"d-block text-grey mb-0\">{{ upload.file.size | bsFormatBytes }}</span>\n <bs-progress [height]=\"4\">\n <bs-progress-bar [minimum]=\"0\" [maximum]=\"upload.file.size\" [value]=\"upload.progress\"></bs-progress-bar>\n </bs-progress>\n </div>\n </div>\n</ng-template>", styles: [".dropzone{z-index:1}.dropzone.dragging{border:4px solid #CB1535!important;background:#DC88A8;margin:-3px -3px -4px}.dropzone input{opacity:0;z-index:2;top:0;left:0}.dropzone .btn{z-index:5}.files-list{margin-top:-1px}.files-list .d-flex{max-width:400px}.text-grey{color:#999}.list-group span{margin:-5px auto}\n"] }]
64
64
  }], propDecorators: { dropFilesCaption: [{
@@ -7,9 +7,9 @@ export class BsFileUploadTemplateDirective {
7
7
  fileUploadComponent.fileTemplate = templateRef;
8
8
  }
9
9
  }
10
- BsFileUploadTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsFileUploadTemplateDirective, deps: [{ token: i1.BsFileUploadComponent }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
11
- BsFileUploadTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BsFileUploadTemplateDirective, selector: "[bsFileUploadTemplate]", ngImport: i0 });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsFileUploadTemplateDirective, decorators: [{
10
+ BsFileUploadTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsFileUploadTemplateDirective, deps: [{ token: i1.BsFileUploadComponent }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
11
+ BsFileUploadTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsFileUploadTemplateDirective, selector: "[bsFileUploadTemplate]", ngImport: i0 });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsFileUploadTemplateDirective, decorators: [{
13
13
  type: Directive,
14
14
  args: [{
15
15
  selector: '[bsFileUploadTemplate]'
@@ -8,20 +8,20 @@ import { BsFileUploadTemplateDirective } from './directive/file-upload-template.
8
8
  import * as i0 from "@angular/core";
9
9
  export class BsFileUploadModule {
10
10
  }
11
- BsFileUploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- BsFileUploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsFileUploadModule, declarations: [BsFileUploadComponent,
11
+ BsFileUploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
+ BsFileUploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsFileUploadModule, declarations: [BsFileUploadComponent,
13
13
  BsFileUploadTemplateDirective], imports: [CommonModule,
14
14
  BsForModule,
15
15
  BsFormatBytesModule,
16
16
  BsProgressBarModule], exports: [BsFileUploadComponent,
17
17
  BsFileUploadTemplateDirective] });
18
- BsFileUploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsFileUploadModule, imports: [[
18
+ BsFileUploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsFileUploadModule, imports: [[
19
19
  CommonModule,
20
20
  BsForModule,
21
21
  BsFormatBytesModule,
22
22
  BsProgressBarModule
23
23
  ]] });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsFileUploadModule, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsFileUploadModule, decorators: [{
25
25
  type: NgModule,
26
26
  args: [{
27
27
  declarations: [
@@ -19,9 +19,9 @@ export class BsForDirective {
19
19
  }
20
20
  }
21
21
  }
22
- BsForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsForDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
23
- BsForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BsForDirective, selector: "[bsFor]", inputs: { bsFor: "bsFor" }, host: { listeners: { "click": "onMouseClick()" }, properties: { "class.cursor-default": "this.defaultCursor" } }, ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsForDirective, decorators: [{
22
+ BsForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsForDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
23
+ BsForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsForDirective, selector: "[bsFor]", inputs: { bsFor: "bsFor" }, host: { listeners: { "click": "onMouseClick()" }, properties: { "class.cursor-default": "this.defaultCursor" } }, ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsForDirective, decorators: [{
25
25
  type: Directive,
26
26
  args: [{
27
27
  selector: '[bsFor]'
@@ -4,12 +4,12 @@ import { BsForDirective } from './for.directive';
4
4
  import * as i0 from "@angular/core";
5
5
  export class BsForModule {
6
6
  }
7
- BsForModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsForModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- BsForModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsForModule, declarations: [BsForDirective], imports: [CommonModule], exports: [BsForDirective] });
9
- BsForModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsForModule, imports: [[
7
+ BsForModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsForModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ BsForModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsForModule, declarations: [BsForDirective], imports: [CommonModule], exports: [BsForDirective] });
9
+ BsForModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsForModule, imports: [[
10
10
  CommonModule
11
11
  ]] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsForModule, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsForModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  declarations: [
@@ -7,9 +7,9 @@ export class BsListGroupComponent {
7
7
  ngOnInit() {
8
8
  }
9
9
  }
10
- BsListGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- BsListGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: BsListGroupComponent, selector: "bs-list-group", queries: [{ propertyName: "items", predicate: BsListGroupItemComponent }], ngImport: i0, template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [""] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsListGroupComponent, decorators: [{
10
+ BsListGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ BsListGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BsListGroupComponent, selector: "bs-list-group", queries: [{ propertyName: "items", predicate: BsListGroupItemComponent }], ngImport: i0, template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [""] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsListGroupComponent, decorators: [{
13
13
  type: Component,
14
14
  args: [{ selector: 'bs-list-group', template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [""] }]
15
15
  }], ctorParameters: function () { return []; }, propDecorators: { items: [{
@@ -6,9 +6,9 @@ export class BsListGroupItemComponent {
6
6
  ngOnInit() {
7
7
  }
8
8
  }
9
- BsListGroupItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
- BsListGroupItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: BsListGroupItemComponent, selector: "bs-list-group-item", ngImport: i0, template: "<li class=\"list-group-item\">\n <ng-content></ng-content>\n</li>", styles: [".list-group-item{margin-bottom:-1px}\n"] });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
9
+ BsListGroupItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
+ BsListGroupItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BsListGroupItemComponent, selector: "bs-list-group-item", ngImport: i0, template: "<li class=\"list-group-item\">\n <ng-content></ng-content>\n</li>", styles: [".list-group-item{margin-bottom:-1px}\n"] });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
12
12
  type: Component,
13
13
  args: [{ selector: 'bs-list-group-item', template: "<li class=\"list-group-item\">\n <ng-content></ng-content>\n</li>", styles: [".list-group-item{margin-bottom:-1px}\n"] }]
14
14
  }], ctorParameters: function () { return []; } });
@@ -5,12 +5,12 @@ import { BsListGroupItemComponent } from './list-group-item/list-group-item.comp
5
5
  import * as i0 from "@angular/core";
6
6
  export class BsListGroupModule {
7
7
  }
8
- BsListGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsListGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- BsListGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsListGroupModule, declarations: [BsListGroupComponent,
8
+ BsListGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsListGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ BsListGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsListGroupModule, declarations: [BsListGroupComponent,
10
10
  BsListGroupItemComponent], imports: [CommonModule], exports: [BsListGroupComponent,
11
11
  BsListGroupItemComponent] });
12
- BsListGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsListGroupModule, imports: [[CommonModule]] });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsListGroupModule, decorators: [{
12
+ BsListGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsListGroupModule, imports: [[CommonModule]] });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsListGroupModule, decorators: [{
14
14
  type: NgModule,
15
15
  args: [{
16
16
  imports: [CommonModule],
@@ -0,0 +1,3 @@
1
+ export * from './modal/modal.component';
2
+ export * from './modal-host/modal-host.component';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3NyYy9saWIvY29tcG9uZW50cy9tb2RhbC9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxtQ0FBbUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9kYWwvbW9kYWwuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbW9kYWwtaG9zdC9tb2RhbC1ob3N0LmNvbXBvbmVudCc7Il19
@@ -0,0 +1,21 @@
1
+ import { Component, Inject, TemplateRef } from '@angular/core';
2
+ import { FadeInOutAnimation } from '@mintplayer/ng-animations';
3
+ import { MODAL_CONTENT } from '../../providers/modal-content.provider';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common";
6
+ export class BsModalComponent {
7
+ constructor(template) {
8
+ this.isOpen = false;
9
+ this.template = template;
10
+ }
11
+ }
12
+ BsModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalComponent, deps: [{ token: MODAL_CONTENT }], target: i0.ɵɵFactoryTarget.Component });
13
+ BsModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BsModalComponent, selector: "bs-modal-content", ngImport: i0, template: "<div class=\"modal d-block\" [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n </div>\n</div>\n\n<div [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-backdrop fade\" [class.show]=\"isOpen\"></div>\n</div>", styles: [""], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [FadeInOutAnimation] });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalComponent, decorators: [{
15
+ type: Component,
16
+ args: [{ selector: 'bs-modal-content', animations: [FadeInOutAnimation], template: "<div class=\"modal d-block\" [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n </div>\n</div>\n\n<div [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-backdrop fade\" [class.show]=\"isOpen\"></div>\n</div>", styles: [""] }]
17
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
18
+ type: Inject,
19
+ args: [MODAL_CONTENT]
20
+ }] }]; } });
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50c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==
@@ -0,0 +1,72 @@
1
+ import { Overlay } from '@angular/cdk/overlay';
2
+ import { Component, ComponentFactoryResolver, EventEmitter, HostListener, Inject, Injector, Input, Output } from '@angular/core';
3
+ import { MODAL_CONTENT } from '../../providers/modal-content.provider';
4
+ import { PORTAL_FACTORY } from '../../providers/portal-factory.provider';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/cdk/overlay";
7
+ export class BsModalHostComponent {
8
+ constructor(overlay, parentInjector, portalFactory, componentFactoryResolver) {
9
+ this.overlay = overlay;
10
+ this.parentInjector = parentInjector;
11
+ this.portalFactory = portalFactory;
12
+ this.componentFactoryResolver = componentFactoryResolver;
13
+ //#region isOpen
14
+ this._isOpen = false;
15
+ this.isOpenChange = new EventEmitter();
16
+ //#endregion
17
+ this.closeOnEscape = true;
18
+ }
19
+ get isOpen() {
20
+ return this._isOpen;
21
+ }
22
+ set isOpen(value) {
23
+ this._isOpen = value;
24
+ if (this.componentInstance) {
25
+ this.componentInstance.instance.isOpen = value;
26
+ }
27
+ this.isOpenChange.emit(value);
28
+ }
29
+ ngAfterViewInit() {
30
+ const injector = Injector.create({
31
+ providers: [
32
+ { provide: MODAL_CONTENT, useValue: this.template }
33
+ ],
34
+ parent: this.parentInjector
35
+ });
36
+ // const portal = new ComponentPortal(BsModalComponent, null, injector, this.componentFactoryResolver);
37
+ const portal = this.portalFactory(injector);
38
+ const overlayRef = this.overlay.create({
39
+ scrollStrategy: this.overlay.scrollStrategies.reposition(),
40
+ positionStrategy: this.overlay.position()
41
+ .global().centerHorizontally().bottom('0').top('0').left('0').right('0'),
42
+ width: '100%',
43
+ hasBackdrop: false
44
+ });
45
+ this.componentInstance = overlayRef.attach(portal);
46
+ this.componentInstance.instance.isOpen = this._isOpen;
47
+ }
48
+ onKeyDown(ev) {
49
+ if (this.isOpen && this.closeOnEscape && ev.code === 'Escape') {
50
+ this.isOpen = false;
51
+ }
52
+ }
53
+ }
54
+ BsModalHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalHostComponent, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: PORTAL_FACTORY }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
55
+ BsModalHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BsModalHostComponent, selector: "bs-modal", inputs: { isOpen: "isOpen", closeOnEscape: "closeOnEscape" }, outputs: { isOpenChange: "isOpenChange" }, host: { listeners: { "document:keydown": "onKeyDown($event)" } }, ngImport: i0, template: "", styles: [""] });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalHostComponent, decorators: [{
57
+ type: Component,
58
+ args: [{ selector: 'bs-modal', template: "", styles: [""] }]
59
+ }], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.Injector }, { type: undefined, decorators: [{
60
+ type: Inject,
61
+ args: [PORTAL_FACTORY]
62
+ }] }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { isOpen: [{
63
+ type: Input
64
+ }], isOpenChange: [{
65
+ type: Output
66
+ }], closeOnEscape: [{
67
+ type: Input
68
+ }], onKeyDown: [{
69
+ type: HostListener,
70
+ args: ['document:keydown', ['$event']]
71
+ }] } });
72
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtaG9zdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3NyYy9saWIvY29tcG9uZW50cy9tb2RhbC9jb21wb25lbnRzL21vZGFsLWhvc3QvbW9kYWwtaG9zdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmct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G9zaXRpb24oKSxcbiAgICAgIHBvc2l0aW9uU3RyYXRlZ3k6IHRoaXMub3ZlcmxheS5wb3NpdGlvbigpXG4gICAgICAgIC5nbG9iYWwoKS5jZW50ZXJIb3Jpem9udGFsbHkoKS5ib3R0b20oJzAnKS50b3AoJzAnKS5sZWZ0KCcwJykucmlnaHQoJzAnKSxcbiAgICAgIHdpZHRoOiAnMTAwJScsXG4gICAgICBoYXNCYWNrZHJvcDogZmFsc2VcbiAgICB9KTtcbiAgICB0aGlzLmNvbXBvbmVudEluc3RhbmNlID0gb3ZlcmxheVJlZi5hdHRhY2g8QnNNb2RhbENvbXBvbmVudD4ocG9ydGFsKTtcbiAgICB0aGlzLmNvbXBvbmVudEluc3RhbmNlLmluc3RhbmNlLmlzT3BlbiA9IHRoaXMuX2lzT3BlbjtcbiAgfVxuXG4gIFxuICBASG9zdExpc3RlbmVyKCdkb2N1bWVudDprZXlkb3duJywgWyckZXZlbnQnXSlcbiAgcHJpdmF0ZSBvbktleURvd24oZXY6IEtleWJvYXJkRXZlbnQpIHtcbiAgICBpZiAodGhpcy5pc09wZW4gJiYgdGhpcy5jbG9zZU9uRXNjYXBlICYmIGV2LmNvZGUgPT09ICdFc2NhcGUnKSB7XG4gICAgICB0aGlzLmlzT3BlbiA9IGZhbHNlO1xuICAgIH1cbiAgfVxufSIsIiJdfQ==
@@ -1,4 +1,6 @@
1
+ export * from './modal/modal.directive';
1
2
  export * from './modal-header/modal-header.directive';
2
3
  export * from './modal-body/modal-body.directive';
3
4
  export * from './modal-footer/modal-footer.directive';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3NyYy9saWIvY29tcG9uZW50cy9tb2RhbC9kaXJlY3RpdmVzL2luZGV4LnRzIl0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W9kYWwtZm9vdGVyL21vZGFsLWZvb3Rlci5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9tb2RhbC1jbG9zZS9tb2RhbC1jbG9zZS5kaXJlY3RpdmUnOyJdfQ==
@@ -0,0 +1,18 @@
1
+ import { Directive, TemplateRef } from '@angular/core';
2
+ import { BsModalHostComponent } from '../../components/modal-host/modal-host.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../components/modal-host/modal-host.component";
5
+ export class BsModalDirective {
6
+ constructor(template, host) {
7
+ host.template = template;
8
+ }
9
+ }
10
+ BsModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalDirective, deps: [{ token: i0.TemplateRef }, { token: i1.BsModalHostComponent }], target: i0.ɵɵFactoryTarget.Directive });
11
+ BsModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsModalDirective, selector: "[bsModal]", ngImport: i0 });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalDirective, decorators: [{
13
+ type: Directive,
14
+ args: [{
15
+ selector: '[bsModal]'
16
+ }]
17
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i1.BsModalHostComponent }]; } });
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9zcmMvbGliL2NvbXBvbmVudHMvbW9kYWwvZGlyZWN0aXZlcy9tb2RhbC9tb2RhbC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sa0RBQWtELENBQUM7OztBQUt4RixNQUFNLE9BQU8sZ0JBQWdCO0lBRTNCLFlBQVksUUFBMEIsRUFBRSxJQUEwQjtRQUNoRSxJQUFJLENBQUMsUUFBUSxHQUFHLFFBQVEsQ0FBQztJQUMzQixDQUFDOzs2R0FKVSxnQkFBZ0I7aUdBQWhCLGdCQUFnQjsyRkFBaEIsZ0JBQWdCO2tCQUg1QixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxXQUFXO2lCQUN0QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEJzTW9kYWxIb3N0Q29tcG9uZW50IH0gZnJvbSAnLi4vLi4vY29tcG9uZW50cy9tb2RhbC1ob3N0L21vZGFsLWhvc3QuY29tcG9uZW50JztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2JzTW9kYWxdJ1xufSlcbmV4cG9ydCBjbGFzcyBCc01vZGFsRGlyZWN0aXZlIHtcblxuICBjb25zdHJ1Y3Rvcih0ZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55PiwgaG9zdDogQnNNb2RhbEhvc3RDb21wb25lbnQpIHtcbiAgICBob3N0LnRlbXBsYXRlID0gdGVtcGxhdGU7XG4gIH1cbiAgXG59XG4iXX0=
@@ -1,18 +1,19 @@
1
- import { Directive, TemplateRef } from '@angular/core';
2
- import { BsModalComponent } from '../../component/modal/modal.component';
1
+ import { Directive, HostBinding } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
- import * as i1 from "../../component/modal/modal.component";
5
3
  export class BsModalBodyDirective {
6
- constructor(modal, template) {
7
- modal.body = template;
4
+ constructor() {
5
+ this.bodyClass = true;
8
6
  }
9
7
  }
10
- BsModalBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsModalBodyDirective, deps: [{ token: i1.BsModalComponent }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
11
- BsModalBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BsModalBodyDirective, selector: "[bsModalBody]", ngImport: i0 });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsModalBodyDirective, decorators: [{
8
+ BsModalBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
+ BsModalBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsModalBodyDirective, selector: "[bsModalBody]", host: { properties: { "class.modal-body": "this.bodyClass" } }, ngImport: i0 });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalBodyDirective, decorators: [{
13
11
  type: Directive,
14
12
  args: [{
15
13
  selector: '[bsModalBody]'
16
14
  }]
17
- }], ctorParameters: function () { return [{ type: i1.BsModalComponent }, { type: i0.TemplateRef }]; } });
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtYm9keS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3NyYy9saWIvY29tcG9uZW50cy9tb2RhbC9kaXJlY3RpdmVzL21vZGFsLWJvZHkvbW9kYWwtYm9keS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sdUNBQXVDLENBQUM7OztBQUt6RSxNQUFNLE9BQU8sb0JBQW9CO0lBRS9CLFlBQVksS0FBdUIsRUFBRSxRQUEwQjtRQUM3RCxLQUFLLENBQUMsSUFBSSxHQUFHLFFBQVEsQ0FBQztJQUN4QixDQUFDOztpSEFKVSxvQkFBb0I7cUdBQXBCLG9CQUFvQjsyRkFBcEIsb0JBQW9CO2tCQUhoQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxlQUFlO2lCQUMxQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEJzTW9kYWxDb21wb25lbnQgfSBmcm9tICcuLi8uLi9jb21wb25lbnQvbW9kYWwvbW9kYWwuY29tcG9uZW50JztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2JzTW9kYWxCb2R5XSdcbn0pXG5leHBvcnQgY2xhc3MgQnNNb2RhbEJvZHlEaXJlY3RpdmUge1xuXG4gIGNvbnN0cnVjdG9yKG1vZGFsOiBCc01vZGFsQ29tcG9uZW50LCB0ZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55Pikge1xuICAgIG1vZGFsLmJvZHkgPSB0ZW1wbGF0ZTtcbiAgfVxuXG59XG4iXX0=
15
+ }], propDecorators: { bodyClass: [{
16
+ type: HostBinding,
17
+ args: ['class.modal-body']
18
+ }] } });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtYm9keS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3NyYy9saWIvY29tcG9uZW50cy9tb2RhbC9kaXJlY3RpdmVzL21vZGFsLWJvZHkvbW9kYWwtYm9keS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS3ZELE1BQU0sT0FBTyxvQkFBb0I7SUFIakM7UUFLbUMsY0FBUyxHQUFHLElBQUksQ0FBQztLQUVuRDs7aUhBSlksb0JBQW9CO3FHQUFwQixvQkFBb0I7MkZBQXBCLG9CQUFvQjtrQkFIaEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsZUFBZTtpQkFDMUI7OEJBR2tDLFNBQVM7c0JBQXpDLFdBQVc7dUJBQUMsa0JBQWtCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBIb3N0QmluZGluZyB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbYnNNb2RhbEJvZHldJ1xufSlcbmV4cG9ydCBjbGFzcyBCc01vZGFsQm9keURpcmVjdGl2ZSB7XG5cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcy5tb2RhbC1ib2R5JykgYm9keUNsYXNzID0gdHJ1ZTtcblxufVxuIl19
@@ -0,0 +1,24 @@
1
+ import { Directive, HostListener } from '@angular/core';
2
+ import { BsModalHostComponent } from '../../components/modal-host/modal-host.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../components/modal-host/modal-host.component";
5
+ export class BsModalCloseDirective {
6
+ constructor(host) {
7
+ this.host = host;
8
+ }
9
+ onClick() {
10
+ this.host.isOpen = false;
11
+ }
12
+ }
13
+ BsModalCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalCloseDirective, deps: [{ token: i1.BsModalHostComponent }], target: i0.ɵɵFactoryTarget.Directive });
14
+ BsModalCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsModalCloseDirective, selector: "[bsModalClose]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalCloseDirective, decorators: [{
16
+ type: Directive,
17
+ args: [{
18
+ selector: '[bsModalClose]'
19
+ }]
20
+ }], ctorParameters: function () { return [{ type: i1.BsModalHostComponent }]; }, propDecorators: { onClick: [{
21
+ type: HostListener,
22
+ args: ['click']
23
+ }] } });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtY2xvc2UuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9zcmMvbGliL2NvbXBvbmVudHMvbW9kYWwvZGlyZWN0aXZlcy9tb2RhbC1jbG9zZS9tb2RhbC1jbG9zZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDeEQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sa0RBQWtELENBQUM7OztBQUt4RixNQUFNLE9BQU8scUJBQXFCO0lBRWhDLFlBQW9CLElBQTBCO1FBQTFCLFNBQUksR0FBSixJQUFJLENBQXNCO0lBQUksQ0FBQztJQUU1QixPQUFPO1FBQzVCLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxHQUFHLEtBQUssQ0FBQztJQUMzQixDQUFDOztrSEFOVSxxQkFBcUI7c0dBQXJCLHFCQUFxQjsyRkFBckIscUJBQXFCO2tCQUhqQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxnQkFBZ0I7aUJBQzNCOzJHQUt3QixPQUFPO3NCQUE3QixZQUFZO3VCQUFDLE9BQU8iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEhvc3RMaXN0ZW5lciB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQnNNb2RhbEhvc3RDb21wb25lbnQgfSBmcm9tICcuLi8uLi9jb21wb25lbnRzL21vZGFsLWhvc3QvbW9kYWwtaG9zdC5jb21wb25lbnQnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbYnNNb2RhbENsb3NlXSdcbn0pXG5leHBvcnQgY2xhc3MgQnNNb2RhbENsb3NlRGlyZWN0aXZlIHtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGhvc3Q6IEJzTW9kYWxIb3N0Q29tcG9uZW50KSB7IH1cblxuICBASG9zdExpc3RlbmVyKCdjbGljaycpIG9uQ2xpY2soKSB7XG4gICAgdGhpcy5ob3N0LmlzT3BlbiA9IGZhbHNlO1xuICB9XG59XG4iXX0=
@@ -1,18 +1,19 @@
1
- import { Directive, TemplateRef } from '@angular/core';
2
- import { BsModalComponent } from '../../component/modal/modal.component';
1
+ import { Directive, HostBinding } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
- import * as i1 from "../../component/modal/modal.component";
5
3
  export class BsModalFooterDirective {
6
- constructor(modal, template) {
7
- modal.footer = template;
4
+ constructor() {
5
+ this.footerClass = true;
8
6
  }
9
7
  }
10
- BsModalFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsModalFooterDirective, deps: [{ token: i1.BsModalComponent }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
11
- BsModalFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BsModalFooterDirective, selector: "[bsModalFooter]", ngImport: i0 });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BsModalFooterDirective, decorators: [{
8
+ BsModalFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
+ BsModalFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: BsModalFooterDirective, selector: "[bsModalFooter]", host: { properties: { "class.modal-footer": "this.footerClass" } }, ngImport: i0 });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BsModalFooterDirective, decorators: [{
13
11
  type: Directive,
14
12
  args: [{
15
13
  selector: '[bsModalFooter]'
16
14
  }]
17
- }], ctorParameters: function () { return [{ type: i1.BsModalComponent }, { type: i0.TemplateRef }]; } });
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtZm9vdGVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvc3JjL2xpYi9jb21wb25lbnRzL21vZGFsL2RpcmVjdGl2ZXMvbW9kYWwtZm9vdGVyL21vZGFsLWZvb3Rlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sdUNBQXVDLENBQUM7OztBQUt6RSxNQUFNLE9BQU8sc0JBQXNCO0lBRWpDLFlBQVksS0FBdUIsRUFBRSxRQUEwQjtRQUM3RCxLQUFLLENBQUMsTUFBTSxHQUFHLFFBQVEsQ0FBQztJQUMxQixDQUFDOzttSEFKVSxzQkFBc0I7dUdBQXRCLHNCQUFzQjsyRkFBdEIsc0JBQXNCO2tCQUhsQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxpQkFBaUI7aUJBQzVCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBUZW1wbGF0ZVJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQnNNb2RhbENvbXBvbmVudCB9IGZyb20gJy4uLy4uL2NvbXBvbmVudC9tb2RhbC9tb2RhbC5jb21wb25lbnQnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbYnNNb2RhbEZvb3Rlcl0nXG59KVxuZXhwb3J0IGNsYXNzIEJzTW9kYWxGb290ZXJEaXJlY3RpdmUge1xuXG4gIGNvbnN0cnVjdG9yKG1vZGFsOiBCc01vZGFsQ29tcG9uZW50LCB0ZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55Pikge1xuICAgIG1vZGFsLmZvb3RlciA9IHRlbXBsYXRlO1xuICB9XG5cbn1cbiJdfQ==
15
+ }], propDecorators: { footerClass: [{
16
+ type: HostBinding,
17
+ args: ['class.modal-footer']
18
+ }] } });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtZm9vdGVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvc3JjL2xpYi9jb21wb25lbnRzL21vZGFsL2RpcmVjdGl2ZXMvbW9kYWwtZm9vdGVyL21vZGFsLWZvb3Rlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS3ZELE1BQU0sT0FBTyxzQkFBc0I7SUFIbkM7UUFLcUMsZ0JBQVcsR0FBRyxJQUFJLENBQUM7S0FFdkQ7O21IQUpZLHNCQUFzQjt1R0FBdEIsc0JBQXNCOzJGQUF0QixzQkFBc0I7a0JBSGxDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLGlCQUFpQjtpQkFDNUI7OEJBR29DLFdBQVc7c0JBQTdDLFdBQVc7dUJBQUMsb0JBQW9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBIb3N0QmluZGluZyB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbYnNNb2RhbEZvb3Rlcl0nXG59KVxuZXhwb3J0IGNsYXNzIEJzTW9kYWxGb290ZXJEaXJlY3RpdmUge1xuXG4gIEBIb3N0QmluZGluZygnY2xhc3MubW9kYWwtZm9vdGVyJykgZm9vdGVyQ2xhc3MgPSB0cnVlO1xuXG59XG4iXX0=