@mintplayer/ng-bootstrap 13.1.10 → 13.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_bootstrap.scss +14 -0
- package/esm2020/lib/components/accordion/accordion/accordion.component.mjs +2 -4
- package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +1 -11
- package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +3 -8
- package/esm2020/lib/components/accordion/accordion.module.mjs +4 -8
- package/esm2020/lib/components/alert/alert/alert.component.mjs +2 -4
- package/esm2020/lib/components/alert/alert-close/alert-close.component.mjs +1 -3
- package/esm2020/lib/components/calendar/calendar.component.mjs +16 -15
- package/esm2020/lib/components/card/card/card.component.mjs +4 -10
- package/esm2020/lib/components/card/card-header/card-header.component.mjs +2 -6
- package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +9 -7
- package/esm2020/lib/components/carousel/carousel-image/carousel-image.directive.mjs +1 -1
- package/esm2020/lib/components/code-snippet/code-snippet.component.mjs +28 -0
- package/esm2020/lib/components/code-snippet/code-snippet.module.mjs +34 -0
- package/esm2020/lib/components/code-snippet/index.mjs +3 -0
- package/esm2020/lib/components/context-menu/context-menu.directive.mjs +34 -14
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +8 -4
- package/esm2020/lib/components/copy/copy.directive.mjs +45 -0
- package/esm2020/lib/components/copy/copy.module.mjs +26 -0
- package/esm2020/lib/components/copy/index.mjs +3 -0
- package/esm2020/lib/components/datatable/datatable/datatable.component.mjs +6 -8
- package/esm2020/lib/components/datatable/datatable-settings.mjs +1 -1
- package/esm2020/lib/components/datatable/datatable.module.mjs +1 -1
- package/esm2020/lib/components/datatable/row-template/row-template.directive.mjs +3 -3
- package/esm2020/lib/components/datepicker/datepicker.component.mjs +32 -7
- package/esm2020/lib/components/dropdown/dropdown/dropdown.directive.mjs +10 -3
- package/esm2020/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.mjs +14 -16
- package/esm2020/lib/components/file-upload/component/file-upload.component.mjs +85 -0
- package/esm2020/lib/components/file-upload/directive/file-upload-template.directive.mjs +18 -0
- package/esm2020/lib/components/file-upload/file-upload.mjs +2 -0
- package/esm2020/lib/components/file-upload/file-upload.module.mjs +43 -0
- package/esm2020/lib/components/file-upload/index.mjs +5 -0
- package/esm2020/lib/components/for/for.directive.mjs +38 -0
- package/esm2020/lib/components/for/for.module.mjs +26 -0
- package/esm2020/lib/components/for/index.mjs +3 -0
- package/esm2020/lib/components/index.mjs +7 -1
- package/esm2020/lib/components/modal/component/index.mjs +3 -0
- package/esm2020/lib/components/modal/component/modal/modal.component.mjs +13 -0
- package/esm2020/lib/components/modal/component/modal-content/modal-content.component.mjs +27 -0
- package/esm2020/lib/components/modal/directives/index.mjs +4 -0
- package/esm2020/lib/components/modal/directives/modal-body/modal-body.directive.mjs +18 -0
- package/esm2020/lib/components/modal/directives/modal-footer/modal-footer.directive.mjs +18 -0
- package/esm2020/lib/components/modal/directives/modal-header/modal-header.directive.mjs +18 -0
- package/esm2020/lib/components/modal/index.mjs +5 -0
- package/esm2020/lib/components/modal/interfaces/index.mjs +2 -0
- package/esm2020/lib/components/modal/interfaces/modal-animation-meta.mjs +2 -0
- package/esm2020/lib/components/modal/modal.module.mjs +48 -0
- package/esm2020/lib/components/modal/providers/modal-content.provider.mjs +3 -0
- package/esm2020/lib/components/modal/service/modal.service.mjs +52 -0
- package/esm2020/lib/components/multiselect/component/multiselect.component.mjs +34 -0
- package/esm2020/lib/components/multiselect/directives/button-template/button-template.directive.mjs +18 -0
- package/esm2020/lib/components/multiselect/directives/footer-template/footer-template.directive.mjs +18 -0
- package/esm2020/lib/components/multiselect/directives/header-template/header-template.directive.mjs +18 -0
- package/esm2020/lib/components/multiselect/directives/index.mjs +4 -0
- package/esm2020/lib/components/multiselect/index.mjs +3 -2
- package/esm2020/lib/components/multiselect/multiselect.module.mjs +21 -6
- package/esm2020/lib/components/navbar/index.mjs +2 -1
- package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +3 -3
- package/esm2020/lib/components/navbar/navbar-brand/navbar-brand.component.mjs +18 -0
- package/esm2020/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.mjs +7 -6
- package/esm2020/lib/components/navbar/navbar-item/navbar-item.component.mjs +16 -5
- package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +1 -1
- package/esm2020/lib/components/navbar/navbar.module.mjs +10 -5
- package/esm2020/lib/components/pagination/pagination/pagination.component.mjs +88 -71
- package/esm2020/lib/components/rating/index.mjs +3 -0
- package/esm2020/lib/components/rating/rating.component.mjs +72 -0
- package/esm2020/lib/components/rating/rating.module.mjs +26 -0
- package/esm2020/lib/components/scrollspy/component/scrollspy.component.mjs +30 -6
- package/esm2020/lib/components/select2/component/select2.component.mjs +7 -9
- package/esm2020/lib/components/select2/directive/item-template.directive.mjs +1 -2
- package/esm2020/lib/components/snackbar/component/snackbar.component.mjs +1 -1
- package/esm2020/lib/components/snackbar/service/snackbar.service.mjs +4 -4
- package/esm2020/lib/components/snackbar/snackbar.module.mjs +8 -4
- package/esm2020/lib/components/tab-control/tab-control/tab-control.component.mjs +8 -7
- package/esm2020/lib/components/tab-control/tab-page/tab-page.component.mjs +4 -6
- package/esm2020/lib/components/toggle-button/toggle-button.component.mjs +19 -15
- package/esm2020/lib/components/tooltip/directive/tooltip.directive.mjs +9 -3
- package/esm2020/lib/components/tooltip/tooltip.module.mjs +8 -4
- package/esm2020/lib/interfaces/date-day-of-month.mjs +1 -1
- package/esm2020/lib/interfaces/index.mjs +2 -1
- package/esm2020/lib/interfaces/week.mjs +1 -1
- package/esm2020/lib/interfaces/weekday.mjs +2 -0
- package/esm2020/lib/pipes/format-bytes/format-bytes.module.mjs +26 -0
- package/esm2020/lib/pipes/format-bytes/format-bytes.pipe.mjs +23 -0
- package/esm2020/lib/pipes/format-bytes/index.mjs +3 -0
- package/esm2020/lib/pipes/index.mjs +2 -1
- package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +34 -18
- package/fesm2015/mintplayer-ng-bootstrap.mjs +1347 -579
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap.mjs +1342 -580
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/lib/components/accordion/accordion/accordion.component.d.ts +1 -4
- package/lib/components/accordion/accordion-tab/accordion-tab.component.d.ts +1 -4
- package/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.d.ts +1 -4
- package/lib/components/accordion/accordion.module.d.ts +1 -2
- package/lib/components/alert/alert/alert.component.d.ts +1 -4
- package/lib/components/alert/alert-close/alert-close.component.d.ts +1 -3
- package/lib/components/calendar/calendar.component.d.ts +4 -5
- package/lib/components/card/card/card.component.d.ts +1 -6
- package/lib/components/card/card-header/card-header.component.d.ts +1 -4
- package/lib/components/carousel/carousel/carousel.component.d.ts +9 -9
- package/lib/components/code-snippet/code-snippet.component.d.ts +12 -0
- package/lib/components/code-snippet/code-snippet.module.d.ts +10 -0
- package/lib/components/code-snippet/index.d.ts +2 -0
- package/lib/components/context-menu/context-menu.directive.d.ts +4 -2
- package/lib/components/context-menu/context-menu.module.d.ts +2 -1
- package/lib/components/copy/copy.directive.d.ts +11 -0
- package/lib/components/copy/copy.module.d.ts +8 -0
- package/lib/components/copy/index.d.ts +2 -0
- package/lib/components/datatable/datatable/datatable.component.d.ts +4 -5
- package/lib/components/datatable/row-template/row-template.directive.d.ts +1 -1
- package/lib/components/datepicker/datepicker.component.d.ts +11 -7
- package/lib/components/dropdown/dropdown/dropdown.directive.d.ts +1 -0
- package/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +3 -3
- package/lib/components/file-upload/component/file-upload.component.d.ts +19 -0
- package/lib/components/file-upload/directive/file-upload-template.directive.d.ts +8 -0
- package/lib/components/file-upload/file-upload.d.ts +4 -0
- package/lib/components/file-upload/file-upload.module.d.ts +12 -0
- package/lib/components/file-upload/index.d.ts +4 -0
- package/lib/components/for/for.directive.d.ts +8 -0
- package/lib/components/for/for.module.d.ts +8 -0
- package/lib/components/for/index.d.ts +2 -0
- package/lib/components/index.d.ts +6 -0
- package/lib/components/modal/component/index.d.ts +2 -0
- package/lib/components/modal/component/modal/modal.component.d.ts +10 -0
- package/lib/components/modal/component/modal-content/modal-content.component.d.ts +13 -0
- package/lib/components/modal/directives/index.d.ts +3 -0
- package/lib/components/modal/directives/modal-body/modal-body.directive.d.ts +8 -0
- package/lib/components/modal/directives/modal-footer/modal-footer.directive.d.ts +8 -0
- package/lib/components/modal/directives/modal-header/modal-header.directive.d.ts +8 -0
- package/lib/components/modal/index.d.ts +4 -0
- package/lib/components/modal/interfaces/index.d.ts +1 -0
- package/lib/components/modal/interfaces/modal-animation-meta.d.ts +7 -0
- package/lib/components/modal/modal.module.d.ts +13 -0
- package/lib/components/modal/providers/modal-content.provider.d.ts +2 -0
- package/lib/components/modal/service/modal.service.d.ts +14 -0
- package/lib/components/multiselect/{multiselect.component.d.ts → component/multiselect.component.d.ts} +7 -6
- package/lib/components/multiselect/directives/button-template/button-template.directive.d.ts +8 -0
- package/lib/components/multiselect/directives/footer-template/footer-template.directive.d.ts +8 -0
- package/lib/components/multiselect/directives/header-template/header-template.directive.d.ts +8 -0
- package/lib/components/multiselect/directives/index.d.ts +3 -0
- package/lib/components/multiselect/index.d.ts +2 -1
- package/lib/components/multiselect/multiselect.module.d.ts +8 -5
- package/lib/components/navbar/index.d.ts +1 -0
- package/lib/components/navbar/navbar/navbar.component.d.ts +1 -1
- package/lib/components/navbar/navbar-brand/navbar-brand.component.d.ts +6 -0
- package/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.d.ts +4 -4
- package/lib/components/navbar/navbar-item/navbar-item.component.d.ts +3 -4
- package/lib/components/navbar/navbar.module.d.ts +5 -4
- package/lib/components/pagination/pagination/pagination.component.d.ts +9 -10
- package/lib/components/rating/index.d.ts +2 -0
- package/lib/components/rating/rating.component.d.ts +22 -0
- package/lib/components/rating/rating.module.d.ts +8 -0
- package/lib/components/scrollspy/component/scrollspy.component.d.ts +11 -3
- package/lib/components/select2/component/select2.component.d.ts +4 -6
- package/lib/components/snackbar/component/snackbar.component.d.ts +1 -2
- package/lib/components/snackbar/snackbar.module.d.ts +2 -1
- package/lib/components/tab-control/tab-control/tab-control.component.d.ts +4 -6
- package/lib/components/tab-control/tab-page/tab-page.component.d.ts +3 -4
- package/lib/components/toggle-button/toggle-button.component.d.ts +5 -5
- package/lib/components/tooltip/directive/tooltip.directive.d.ts +1 -0
- package/lib/components/tooltip/tooltip.module.d.ts +2 -1
- package/lib/interfaces/date-day-of-month.d.ts +1 -0
- package/lib/interfaces/index.d.ts +1 -0
- package/lib/interfaces/week.d.ts +1 -1
- package/lib/interfaces/weekday.d.ts +4 -0
- package/lib/pipes/format-bytes/format-bytes.module.d.ts +8 -0
- package/lib/pipes/format-bytes/format-bytes.pipe.d.ts +7 -0
- package/lib/pipes/format-bytes/index.d.ts +2 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/services/calendar-month/calendar-month.service.d.ts +2 -0
- package/package.json +3 -2
- package/src/assets/ic-upload-file.svg +7 -0
- package/src/styles/custom.scss +12 -0
- package/src/styles/ngx-highlight-themes/solarized-dark.scss +89 -0
- package/src/styles/utilities/cursor.scss +10 -0
- package/src/styles/utilities/white-space.scss +10 -0
- package/esm2020/lib/components/multiselect/multiselect.component.mjs +0 -36
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./multiselect.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
2
|
+
import * as i1 from "./component/multiselect.component";
|
|
3
|
+
import * as i2 from "./directives/header-template/header-template.directive";
|
|
4
|
+
import * as i3 from "./directives/footer-template/footer-template.directive";
|
|
5
|
+
import * as i4 from "./directives/button-template/button-template.directive";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "../dropdown/dropdown.module";
|
|
8
|
+
import * as i7 from "@mintplayer/ng-focus-on-load";
|
|
6
9
|
export declare class BsMultiselectModule {
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsMultiselectModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BsMultiselectModule, [typeof i1.BsMultiselectComponent], [typeof
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsMultiselectModule, [typeof i1.BsMultiselectComponent, typeof i2.BsHeaderTemplateDirective, typeof i3.BsFooterTemplateDirective, typeof i4.BsButtonTemplateDirective], [typeof i5.CommonModule, typeof i6.BsDropdownModule, typeof i7.FocusOnLoadModule], [typeof i1.BsMultiselectComponent, typeof i2.BsHeaderTemplateDirective, typeof i3.BsFooterTemplateDirective, typeof i4.BsButtonTemplateDirective]>;
|
|
9
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<BsMultiselectModule>;
|
|
10
13
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './navbar.module';
|
|
2
2
|
export * from './navbar/navbar.component';
|
|
3
|
+
export * from './navbar-brand/navbar-brand.component';
|
|
3
4
|
export * from './navbar-nav/navbar-nav.component';
|
|
4
5
|
export * from './navbar-dropdown/navbar-dropdown.component';
|
|
5
6
|
export * from './navbar-item/navbar-item.component';
|
|
@@ -6,5 +6,5 @@ export declare class BsNavbarComponent {
|
|
|
6
6
|
isExpanded$: BehaviorSubject<boolean>;
|
|
7
7
|
toggleExpanded(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarComponent, "bs-navbar", never, {}, {}, never, ["*"]>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarComponent, "bs-navbar", never, {}, {}, never, ["bs-navbar-brand", "*"]>;
|
|
10
10
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BsNavbarBrandComponent {
|
|
3
|
+
routerLink: any[];
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarBrandComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarBrandComponent, "bs-navbar-brand", never, { "routerLink": "routerLink"; }, {}, never, ["*"]>;
|
|
6
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { QueryList } from '@angular/core';
|
|
2
2
|
import { BsNavbarItemComponent } from '../navbar-item/navbar-item.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BsNavbarDropdownComponent
|
|
4
|
+
export declare class BsNavbarDropdownComponent {
|
|
5
5
|
constructor(parentDropdown: BsNavbarDropdownComponent, navbarItem: BsNavbarItemComponent);
|
|
6
|
+
autoclose: boolean;
|
|
6
7
|
isVisible: boolean;
|
|
7
8
|
navbarItem: BsNavbarItemComponent;
|
|
8
9
|
parentDropdown: BsNavbarDropdownComponent;
|
|
9
10
|
get elementsToExclude(): HTMLElement[];
|
|
10
|
-
ngOnInit(): void;
|
|
11
11
|
childDropdowns: QueryList<BsNavbarDropdownComponent>;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarDropdownComponent, [{ optional: true; host: true; skipSelf: true; }, { host: true; }]>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarDropdownComponent, "bs-navbar-dropdown", never, {}, {}, ["childDropdowns"], ["*"]>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarDropdownComponent, "bs-navbar-dropdown", never, { "autoclose": "autoclose"; }, {}, ["childDropdowns"], ["*"]>;
|
|
14
14
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { AfterContentChecked, ElementRef,
|
|
1
|
+
import { AfterContentChecked, ElementRef, QueryList } from '@angular/core';
|
|
2
2
|
import { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BsNavbarItemComponent implements
|
|
4
|
+
export declare class BsNavbarItemComponent implements AfterContentChecked {
|
|
5
5
|
private element;
|
|
6
6
|
constructor(parentDropdown: BsNavbarDropdownComponent, element: ElementRef);
|
|
7
7
|
parentDropdown: BsNavbarDropdownComponent;
|
|
8
8
|
hasDropdown: boolean;
|
|
9
9
|
anchorTag: HTMLAnchorElement | null;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngAfterContentChecked(): void;
|
|
12
10
|
dropdowns: QueryList<BsNavbarDropdownComponent>;
|
|
11
|
+
ngAfterContentChecked(): void;
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarItemComponent, [{ optional: true; }, null]>;
|
|
14
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarItemComponent, "bs-navbar-item", never, {}, {}, ["dropdowns"], ["*"]>;
|
|
15
14
|
}
|
|
@@ -6,11 +6,12 @@ import * as i4 from "./navbar-item/navbar-item.component";
|
|
|
6
6
|
import * as i5 from "./dropdown-toggle/dropdown-toggle.directive";
|
|
7
7
|
import * as i6 from "./nav-link/nav-link.directive";
|
|
8
8
|
import * as i7 from "./navbar-content/navbar-content.directive";
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "@angular/
|
|
11
|
-
import * as i10 from "@
|
|
9
|
+
import * as i8 from "./navbar-brand/navbar-brand.component";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "@angular/router";
|
|
12
|
+
import * as i11 from "@mintplayer/ng-click-outside";
|
|
12
13
|
export declare class BsNavbarModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BsNavbarModule, [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.NavbarContentDirective], [typeof
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsNavbarModule, [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.NavbarContentDirective, typeof i8.BsNavbarBrandComponent], [typeof i9.CommonModule, typeof i10.RouterModule, typeof i11.ClickOutsideModule], [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.NavbarContentDirective, typeof i8.BsNavbarBrandComponent]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<BsNavbarModule>;
|
|
16
17
|
}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { PageWithSelection } from '../../../interfaces/page-with-selection';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BsPaginationComponent implements
|
|
5
|
+
export declare class BsPaginationComponent implements OnDestroy {
|
|
6
6
|
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
ngOnDestroy(): void;
|
|
9
|
-
onSelectPage(event: MouseEvent, page: number): boolean;
|
|
10
|
-
onPrevious(): boolean;
|
|
11
|
-
onNext(): boolean;
|
|
12
7
|
/** All page numbers. */
|
|
13
8
|
pageNumbers$: BehaviorSubject<number[]>;
|
|
14
9
|
/** Page numbers to be displayed to the user. */
|
|
@@ -28,18 +23,22 @@ export declare class BsPaginationComponent implements OnInit, OnDestroy {
|
|
|
28
23
|
/** Monitor OnDestroyed hook. */
|
|
29
24
|
private destroyed$;
|
|
30
25
|
private _selectedPageNumber;
|
|
26
|
+
private _numberOfBoxes;
|
|
27
|
+
private _pageNumbers;
|
|
28
|
+
private _showArrows;
|
|
31
29
|
selectedPageNumberChange: EventEmitter<number>;
|
|
32
30
|
set selectedPageNumber(value: number);
|
|
33
31
|
get selectedPageNumber(): number;
|
|
34
|
-
private _numberOfBoxes;
|
|
35
32
|
set numberOfBoxes(value: number);
|
|
36
33
|
get numberOfBoxes(): number;
|
|
37
|
-
private _pageNumbers;
|
|
38
34
|
set pageNumbers(value: number[]);
|
|
39
35
|
get pageNumbers(): number[];
|
|
40
|
-
private _showArrows;
|
|
41
36
|
set showArrows(value: boolean);
|
|
42
37
|
get showArrows(): boolean;
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
onSelectPage(event: MouseEvent, page: number): boolean;
|
|
40
|
+
onPrevious(): boolean;
|
|
41
|
+
onNext(): boolean;
|
|
43
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsPaginationComponent, never>;
|
|
44
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<BsPaginationComponent, "bs-pagination", never, { "selectedPageNumber": "selectedPageNumber"; "numberOfBoxes": "numberOfBoxes"; "pageNumbers": "pageNumbers"; "showArrows": "showArrows"; }, { "selectedPageNumberChange": "selectedPageNumberChange"; }, never, never>;
|
|
45
44
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsRatingComponent implements OnDestroy {
|
|
5
|
+
constructor();
|
|
6
|
+
destroyed$: Subject<unknown>;
|
|
7
|
+
maximum$: BehaviorSubject<number>;
|
|
8
|
+
value$: BehaviorSubject<number>;
|
|
9
|
+
previewValue$: BehaviorSubject<number | null>;
|
|
10
|
+
stars$: Observable<boolean[]>;
|
|
11
|
+
set maximum(value: number);
|
|
12
|
+
valueChange: EventEmitter<number>;
|
|
13
|
+
starsChange: EventEmitter<number>;
|
|
14
|
+
get value(): number;
|
|
15
|
+
set value(value: number);
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
hoverValue(index: number): void;
|
|
18
|
+
selectValue(index: number): void;
|
|
19
|
+
onMouseLeave(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsRatingComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsRatingComponent, "bs-rating", never, { "maximum": "maximum"; "value": "value"; }, { "valueChange": "valueChange"; "starsChange": "starsChange"; }, never, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./rating.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BsRatingModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsRatingModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsRatingModule, [typeof i1.BsRatingComponent], [typeof i2.CommonModule], [typeof i1.BsRatingComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsRatingModule>;
|
|
8
|
+
}
|
|
@@ -1,16 +1,24 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, AfterViewInit, ElementRef, NgZone, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { BsScrollOffsetService } from '../../../services/scroll-offset/scroll-offset.service';
|
|
3
3
|
import { BsScrollspyDirective } from '../directives/scrollspy.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BsScrollspyComponent implements AfterViewInit {
|
|
5
|
+
export declare class BsScrollspyComponent implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
6
6
|
private scrollOffsetService;
|
|
7
|
-
|
|
7
|
+
private zone;
|
|
8
|
+
constructor(scrollOffsetService: BsScrollOffsetService, document: any, zone: NgZone);
|
|
9
|
+
private destroyed$;
|
|
10
|
+
private viewInit$;
|
|
11
|
+
private contentInit$;
|
|
8
12
|
directives: QueryList<BsScrollspyDirective>;
|
|
9
13
|
anchors: QueryList<ElementRef<HTMLSpanElement>>;
|
|
10
14
|
doc: Document;
|
|
11
15
|
activeDirective: BsScrollspyDirective | null;
|
|
12
16
|
ngAfterViewInit(): void;
|
|
17
|
+
ngAfterContentInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
13
19
|
onWindowScroll(): void;
|
|
20
|
+
setActiveDirective(): void;
|
|
21
|
+
scrollToCurrentInSpy(): void;
|
|
14
22
|
scrollToHeader(directive: BsScrollspyDirective): void;
|
|
15
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsScrollspyComponent, never>;
|
|
16
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<BsScrollspyComponent, "bs-scrollspy", never, {}, {}, ["directives"], ["*"]>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter,
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BsSelect2Component implements
|
|
4
|
+
export declare class BsSelect2Component implements AfterViewInit {
|
|
5
5
|
isOpen: boolean;
|
|
6
6
|
suggestions$: BehaviorSubject<any[]>;
|
|
7
7
|
isLoading$: BehaviorSubject<boolean>;
|
|
8
8
|
hostWidth$: BehaviorSubject<number>;
|
|
9
|
+
defaultItemTemplate: TemplateRef<any>;
|
|
9
10
|
searchBox: ElementRef<HTMLInputElement>;
|
|
10
11
|
itemsBox: ElementRef<HTMLDivElement>;
|
|
11
12
|
searchterm: string;
|
|
@@ -15,16 +16,13 @@ export declare class BsSelect2Component implements OnInit, AfterViewInit {
|
|
|
15
16
|
isFocused: boolean;
|
|
16
17
|
private charWidth;
|
|
17
18
|
searchWidth: number;
|
|
18
|
-
|
|
19
|
+
itemTemplate?: TemplateRef<any>;
|
|
19
20
|
ngAfterViewInit(): void;
|
|
20
21
|
onProvideSuggestions(value: string): void;
|
|
21
22
|
onSuggestionClicked(suggestion: any): void;
|
|
22
23
|
onRemoveItem(item: any, event: MouseEvent): void;
|
|
23
|
-
ngOnInit(): void;
|
|
24
24
|
onResize(): void;
|
|
25
25
|
focus(): void;
|
|
26
|
-
defaultItemTemplate: TemplateRef<any>;
|
|
27
|
-
itemTemplate?: TemplateRef<any>;
|
|
28
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsSelect2Component, never>;
|
|
29
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<BsSelect2Component, "bs-select2", never, { "searchterm": "searchterm"; "suggestions": "suggestions"; "selectedItems": "selectedItems"; }, { "provideSuggestions": "provideSuggestions"; }, never, never>;
|
|
30
28
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
2
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
-
import { SnackbarAnimationMeta } from '../interfaces/snackbar-animation-meta';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BsSnackbarComponent {
|
|
6
5
|
constructor(content: TemplateRef<any>);
|
|
7
6
|
displayBlock: boolean;
|
|
8
7
|
width100: boolean;
|
|
9
8
|
content: TemplateRef<any>;
|
|
10
|
-
|
|
9
|
+
private instance;
|
|
11
10
|
animationState: string;
|
|
12
11
|
animationStateChanged: EventEmitter<AnimationEvent>;
|
|
13
12
|
onAnimationChanged(event: AnimationEvent): void;
|
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./component/snackbar.component";
|
|
3
3
|
import * as i2 from "./directives/snackbar-close/snackbar-close.directive";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/cdk/overlay";
|
|
5
6
|
export declare class BsSnackbarModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsSnackbarModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BsSnackbarModule, [typeof i1.BsSnackbarComponent, typeof i2.BsSnackbarCloseDirective], [typeof i3.CommonModule], [typeof i1.BsSnackbarComponent, typeof i2.BsSnackbarCloseDirective]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsSnackbarModule, [typeof i1.BsSnackbarComponent, typeof i2.BsSnackbarCloseDirective], [typeof i3.CommonModule, typeof i4.OverlayModule], [typeof i1.BsSnackbarComponent, typeof i2.BsSnackbarCloseDirective]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<BsSnackbarModule>;
|
|
9
10
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { BsTabPageComponent } from '../tab-page/tab-page.component';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BsTabControlComponent
|
|
5
|
-
constructor();
|
|
6
|
-
ngOnInit(): void;
|
|
7
|
-
setActiveTab(tab: BsTabPageComponent): boolean;
|
|
3
|
+
export declare class BsTabControlComponent {
|
|
8
4
|
tabPages: BsTabPageComponent[];
|
|
5
|
+
border: boolean;
|
|
9
6
|
activeTab: BsTabPageComponent | null;
|
|
7
|
+
setActiveTab(tab: BsTabPageComponent): boolean;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsTabControlComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsTabControlComponent, "bs-tab-control", never, {}, {}, ["tabPages"], ["*"]>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsTabControlComponent, "bs-tab-control", never, { "border": "border"; }, {}, ["tabPages"], ["*"]>;
|
|
12
10
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { BsTabControlComponent } from '../tab-control/tab-control.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BsTabPageComponent
|
|
4
|
+
export declare class BsTabPageComponent {
|
|
5
5
|
tabControl: BsTabControlComponent;
|
|
6
6
|
constructor(tabControl: BsTabControlComponent);
|
|
7
|
-
headerTemplate: TemplateRef<any>;
|
|
8
7
|
disabled: boolean;
|
|
9
|
-
|
|
8
|
+
headerTemplate: TemplateRef<any>;
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsTabPageComponent, never>;
|
|
11
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<BsTabPageComponent, "bs-tab-page", never, { "disabled": "disabled"; }, {}, ["headerTemplate"], ["*"]>;
|
|
12
11
|
}
|
|
@@ -2,14 +2,14 @@ import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BsToggleButtonComponent implements AfterViewInit {
|
|
4
4
|
disableAnimations: boolean;
|
|
5
|
-
ngAfterViewInit(): void;
|
|
6
5
|
_isToggled: boolean | null;
|
|
6
|
+
change: EventEmitter<boolean | null>;
|
|
7
7
|
isToggledChange: EventEmitter<boolean | null>;
|
|
8
8
|
get isToggled(): boolean | null;
|
|
9
9
|
set isToggled(value: boolean | null);
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
onChange(event: Event): void;
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsToggleButtonComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsToggleButtonComponent, "bs-toggle-button", never, { "isToggled": "isToggled"; "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsToggleButtonComponent, "bs-toggle-button", never, { "isToggled": "isToggled"; "disabled": "disabled"; }, { "change": "change"; "isToggledChange": "isToggledChange"; }, never, ["*"]>;
|
|
15
15
|
}
|
|
@@ -12,6 +12,7 @@ export declare class BsTooltipDirective {
|
|
|
12
12
|
private injector;
|
|
13
13
|
private portal;
|
|
14
14
|
private overlayRef;
|
|
15
|
+
private onBlur;
|
|
15
16
|
showTooltip(): void;
|
|
16
17
|
hideTooltip(): void;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsTooltipDirective, [null, null, null, null, { host: true; skipSelf: true; }]>;
|
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./directive/tooltip.directive";
|
|
3
3
|
import * as i2 from "./component/tooltip.component";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/cdk/overlay";
|
|
5
6
|
export declare class BsTooltipModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsTooltipModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BsTooltipModule, [typeof i1.BsTooltipDirective, typeof i2.BsTooltipComponent], [typeof i3.CommonModule], [typeof i1.BsTooltipDirective]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsTooltipModule, [typeof i1.BsTooltipDirective, typeof i2.BsTooltipComponent], [typeof i3.CommonModule, typeof i4.OverlayModule], [typeof i1.BsTooltipDirective]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<BsTooltipModule>;
|
|
9
10
|
}
|
package/lib/interfaces/week.d.ts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./format-bytes.pipe";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BsFormatBytesModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFormatBytesModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsFormatBytesModule, [typeof i1.BsFormatBytesPipe], [typeof i2.CommonModule], [typeof i1.BsFormatBytesPipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsFormatBytesModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BsFormatBytesPipe implements PipeTransform {
|
|
4
|
+
transform(value: number, decimals?: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFormatBytesPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BsFormatBytesPipe, "bsFormatBytes">;
|
|
7
|
+
}
|
package/lib/pipes/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export declare class BsCalendarMonthService {
|
|
|
11
11
|
dayOfYear(date: Date): number;
|
|
12
12
|
toUTC(date: Date): number;
|
|
13
13
|
chunk<T>(items: T[], size: number): T[][];
|
|
14
|
+
getMondayBefore(date: Date): Date;
|
|
15
|
+
getSundayAfter(date: Date): Date;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsCalendarMonthService, never>;
|
|
15
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<BsCalendarMonthService>;
|
|
16
18
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/ng-bootstrap",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "13.1.
|
|
4
|
+
"version": "13.1.15",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap"
|
|
@@ -15,10 +15,11 @@
|
|
|
15
15
|
"@mintplayer/ng-click-outside": "^13.0.0",
|
|
16
16
|
"@mintplayer/ng-animations": "^13.0.0",
|
|
17
17
|
"@mintplayer/ng-pagination": "^13.1.0",
|
|
18
|
+
"@mintplayer/ng-focus-on-load": "^13.1.0",
|
|
18
19
|
"@angular/animations": "13.1.1",
|
|
19
20
|
"@angular/platform-browser": "13.1.1",
|
|
20
21
|
"rxjs": "~7.4.0",
|
|
21
|
-
"
|
|
22
|
+
"ngx-highlightjs": "^6.1.1",
|
|
22
23
|
"@angular/router": "13.1.1",
|
|
23
24
|
"@angular/forms": "13.1.1"
|
|
24
25
|
},
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="63" height="64" viewBox="0 0 63 64">
|
|
2
|
+
<g fill="#3B454F" fill-rule="nonzero">
|
|
3
|
+
<path d="M42.656 15.135a1.953 1.953 0 0 1-1.391-.578L31.5 4.795l-9.765 9.762a1.97 1.97 0 1 1-2.785-2.785L30.106.616a1.97 1.97 0 0 1 2.785 0l11.157 11.156a1.97 1.97 0 0 1-1.392 3.363z"/>
|
|
4
|
+
<path d="M31.5 36.791a1.97 1.97 0 0 1-1.969-1.969V2.01a1.97 1.97 0 0 1 3.938 0v32.812a1.97 1.97 0 0 1-1.969 1.969z"/>
|
|
5
|
+
<path d="M55.781 63.041H7.22A7.225 7.225 0 0 1 0 55.822V41.385a4.599 4.599 0 0 1 4.594-4.594h7.234a4.567 4.567 0 0 1 4.402 3.276l2.814 9.382a.658.658 0 0 0 .628.467h23.656a.658.658 0 0 0 .628-.467l2.814-9.385a4.572 4.572 0 0 1 4.402-3.273h7.234A4.599 4.599 0 0 1 63 41.385v14.437a7.225 7.225 0 0 1-7.219 7.219zM4.594 40.729a.656.656 0 0 0-.657.656v14.437a3.286 3.286 0 0 0 3.282 3.282H55.78a3.286 3.286 0 0 0 3.282-3.282V41.385a.656.656 0 0 0-.657-.656h-7.234a.65.65 0 0 0-.628.467L47.73 50.58a4.628 4.628 0 0 1-4.402 3.274H19.672a4.567 4.567 0 0 1-4.402-3.276l-2.814-9.382a.65.65 0 0 0-.628-.467H4.594z"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
Theme: Solarized Dark
|
|
3
|
+
Author: Ethan Schoonover (modified by aramisgithub)
|
|
4
|
+
License: ~ MIT (or more permissive) [via base16-schemes-source]
|
|
5
|
+
Maintainer: @highlightjs/core-team
|
|
6
|
+
Version: 2021.09.0
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
pre code.hljs {
|
|
10
|
+
display: block;
|
|
11
|
+
overflow-x: auto;
|
|
12
|
+
padding: 1em;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
code.hljs {
|
|
16
|
+
padding: 3px 5px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.hljs {
|
|
20
|
+
color: #93a1a1;
|
|
21
|
+
background: #002b36;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.hljs ::selection, .hljs::selection {
|
|
25
|
+
background-color: #586e75;
|
|
26
|
+
color: #93a1a1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.hljs-comment {
|
|
30
|
+
color: #657b83;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.hljs-tag {
|
|
34
|
+
color: #839496;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.hljs-operator, .hljs-punctuation, .hljs-subst {
|
|
38
|
+
color: #93a1a1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.hljs-operator {
|
|
42
|
+
opacity: 0.7;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.hljs-bullet, .hljs-deletion, .hljs-name, .hljs-selector-tag, .hljs-template-variable, .hljs-variable {
|
|
46
|
+
color: #dc322f;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.hljs-attr, .hljs-link, .hljs-literal, .hljs-number, .hljs-symbol, .hljs-variable.constant_ {
|
|
50
|
+
color: #cb4b16;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.hljs-class .hljs-title, .hljs-title, .hljs-title.class_ {
|
|
54
|
+
color: #b58900;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.hljs-strong {
|
|
58
|
+
font-weight: 700;
|
|
59
|
+
color: #b58900;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.hljs-addition, .hljs-code, .hljs-string, .hljs-title.class_.inherited__ {
|
|
63
|
+
color: #859900;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.hljs-built_in, .hljs-doctag, .hljs-keyword.hljs-atrule, .hljs-quote, .hljs-regexp {
|
|
67
|
+
color: #2aa198;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.hljs-attribute, .hljs-function .hljs-title, .hljs-section, .hljs-title.function_, .ruby .hljs-property {
|
|
71
|
+
color: #268bd2;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.diff .hljs-meta, .hljs-keyword, .hljs-template-tag, .hljs-type {
|
|
75
|
+
color: #6c71c4;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.hljs-emphasis {
|
|
79
|
+
color: #6c71c4;
|
|
80
|
+
font-style: italic;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.hljs-meta, .hljs-meta .hljs-keyword, .hljs-meta .hljs-string {
|
|
84
|
+
color: #d33682;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.hljs-meta .hljs-keyword, .hljs-meta-keyword {
|
|
88
|
+
font-weight: 700;
|
|
89
|
+
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Component, ContentChild, Input, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../dropdown/dropdown/dropdown.directive";
|
|
4
|
-
import * as i2 from "../dropdown/dropdown-toggle/dropdown-toggle.directive";
|
|
5
|
-
import * as i3 from "../dropdown/dropdown-menu/dropdown-menu.directive";
|
|
6
|
-
import * as i4 from "@angular/common";
|
|
7
|
-
export class BsMultiselectComponent {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.items = [];
|
|
10
|
-
this.selectedItems = [];
|
|
11
|
-
}
|
|
12
|
-
itemChange(item, event) {
|
|
13
|
-
if (!!event.target.checked) {
|
|
14
|
-
this.selectedItems.push(item);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
this.selectedItems.splice(this.selectedItems.findIndex((i) => i === item), 1);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
ngOnInit() {
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
BsMultiselectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsMultiselectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
BsMultiselectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsMultiselectComponent, selector: "bs-multiselect", inputs: { items: "items", selectedItems: "selectedItems" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<div bsDropdown [hasBackdrop]=\"true\" [closeOnClickOutside]=\"true\">\n <button bsDropdownToggle class=\"btn btn-primary\">{{ selectedItems.length }} selected</button>\n <div *bsDropdownMenu class=\"bg-white mw-250px p-3 border rounded shadow\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n <hr class=\"my-2\">\n <label *ngFor=\"let item of items\" class=\"form-check\">\n <input type=\"checkbox\" [checked]=\"selectedItems.indexOf(item) > -1\" (change)=\"itemChange(item, $event)\" class=\"form-check-input\">\n <span class=\"form-check-label\">{{ item }}</span>\n </label>\n </div>\n</div>", styles: [".mw-250px{min-width:250px}\n"], directives: [{ type: i1.BsDropdownDirective, selector: "[bsDropdown]", inputs: ["hasBackdrop", "sameWidth", "closeOnClickOutside", "isOpen"], outputs: ["isOpenChange"] }, { type: i2.BsDropdownToggleDirective, selector: "[bsDropdownToggle]" }, { type: i3.BsDropdownMenuDirective, selector: "[bsDropdownMenu]" }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsMultiselectComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'bs-multiselect', template: "<div bsDropdown [hasBackdrop]=\"true\" [closeOnClickOutside]=\"true\">\n <button bsDropdownToggle class=\"btn btn-primary\">{{ selectedItems.length }} selected</button>\n <div *bsDropdownMenu class=\"bg-white mw-250px p-3 border rounded shadow\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n <hr class=\"my-2\">\n <label *ngFor=\"let item of items\" class=\"form-check\">\n <input type=\"checkbox\" [checked]=\"selectedItems.indexOf(item) > -1\" (change)=\"itemChange(item, $event)\" class=\"form-check-input\">\n <span class=\"form-check-label\">{{ item }}</span>\n </label>\n </div>\n</div>", styles: [".mw-250px{min-width:250px}\n"] }]
|
|
28
|
-
}], ctorParameters: function () { return []; }, propDecorators: { template: [{
|
|
29
|
-
type: ContentChild,
|
|
30
|
-
args: [TemplateRef]
|
|
31
|
-
}], items: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], selectedItems: [{
|
|
34
|
-
type: Input
|
|
35
|
-
}] } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGlzZWxlY3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9zcm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