@open-rlb/ng-bootstrap 3.1.17 → 3.1.18
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.
|
@@ -4504,6 +4504,7 @@ class NavbarComponent {
|
|
|
4504
4504
|
}, ...(ngDevMode ? [{ debugName: "_navExpand" }] : []));
|
|
4505
4505
|
this.navbarItemsGroups = contentChildren(NavbarItemsComponent, { ...(ngDevMode ? { debugName: "navbarItemsGroups" } : {}), descendants: true });
|
|
4506
4506
|
this.dark = input(true, { ...(ngDevMode ? { debugName: "dark" } : {}), alias: 'dark', transform: booleanAttribute });
|
|
4507
|
+
this.showSideBarToggler = input(true, { ...(ngDevMode ? { debugName: "showSideBarToggler" } : {}), transform: booleanAttribute });
|
|
4507
4508
|
this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
4508
4509
|
this.placement = input(undefined, ...(ngDevMode ? [{ debugName: "placement" }] : []));
|
|
4509
4510
|
this.expand = input(undefined, ...(ngDevMode ? [{ debugName: "expand" }] : []));
|
|
@@ -4545,22 +4546,25 @@ class NavbarComponent {
|
|
|
4545
4546
|
}
|
|
4546
4547
|
}
|
|
4547
4548
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NavbarComponent, deps: [{ token: UniqueIdService }, { token: i0.ViewContainerRef }, { token: SidebarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4548
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: NavbarComponent, isStandalone: false, selector: "rlb-navbar", inputs: { dark: { classPropertyName: "dark", publicName: "dark", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, expand: { classPropertyName: "expand", publicName: "expand", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, enableDropdownToggler: { classPropertyName: "enableDropdownToggler", publicName: "enable-dropdown-toggler", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "navbarItemsGroups", predicate: NavbarItemsComponent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true, static: true }], ngImport: i0, template: `
|
|
4549
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: NavbarComponent, isStandalone: false, selector: "rlb-navbar", inputs: { dark: { classPropertyName: "dark", publicName: "dark", isSignal: true, isRequired: false, transformFunction: null }, showSideBarToggler: { classPropertyName: "showSideBarToggler", publicName: "showSideBarToggler", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, expand: { classPropertyName: "expand", publicName: "expand", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, enableDropdownToggler: { classPropertyName: "enableDropdownToggler", publicName: "enable-dropdown-toggler", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "navbarItemsGroups", predicate: NavbarItemsComponent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true, static: true }], ngImport: i0, template: `
|
|
4549
4550
|
<ng-template #template>
|
|
4550
4551
|
<nav
|
|
4551
4552
|
class="navbar px-2 bg-{{ color() }} {{ placement() }} {{ _navExpand() }} {{ cssClass() }}"
|
|
4552
4553
|
[attr.data-bs-theme]="dark() ? 'dark' : 'light'"
|
|
4553
4554
|
>
|
|
4554
4555
|
<div class="container-fluid">
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4556
|
+
@if (showSideBarToggler()) {
|
|
4557
|
+
<button
|
|
4558
|
+
class="sidebar-toggler me-3"
|
|
4559
|
+
type="button"
|
|
4560
|
+
rlb-button
|
|
4561
|
+
aria-label="Toggle sidebar"
|
|
4562
|
+
(click)="toggleSidebar()"
|
|
4563
|
+
>
|
|
4564
|
+
<span class="navbar-toggler-icon"></span>
|
|
4565
|
+
</button>
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4564
4568
|
<ng-content select="[rlb-navbar-brand], [rlb-button][toggle], rlb-navbar-separator" />
|
|
4565
4569
|
@if (enableDropdownToggler()) {
|
|
4566
4570
|
<button
|
|
@@ -4601,15 +4605,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
4601
4605
|
[attr.data-bs-theme]="dark() ? 'dark' : 'light'"
|
|
4602
4606
|
>
|
|
4603
4607
|
<div class="container-fluid">
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4608
|
+
@if (showSideBarToggler()) {
|
|
4609
|
+
<button
|
|
4610
|
+
class="sidebar-toggler me-3"
|
|
4611
|
+
type="button"
|
|
4612
|
+
rlb-button
|
|
4613
|
+
aria-label="Toggle sidebar"
|
|
4614
|
+
(click)="toggleSidebar()"
|
|
4615
|
+
>
|
|
4616
|
+
<span class="navbar-toggler-icon"></span>
|
|
4617
|
+
</button>
|
|
4618
|
+
}
|
|
4619
|
+
|
|
4613
4620
|
<ng-content select="[rlb-navbar-brand], [rlb-button][toggle], rlb-navbar-separator" />
|
|
4614
4621
|
@if (enableDropdownToggler()) {
|
|
4615
4622
|
<button
|
|
@@ -4645,7 +4652,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
4645
4652
|
args: ['template', { static: true }]
|
|
4646
4653
|
}], navbarItemsGroups: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => NavbarItemsComponent), { ...{
|
|
4647
4654
|
descendants: true,
|
|
4648
|
-
}, isSignal: true }] }], dark: [{ type: i0.Input, args: [{ isSignal: true, alias: "dark", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], expand: [{ type: i0.Input, args: [{ isSignal: true, alias: "expand", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], enableDropdownToggler: [{ type: i0.Input, args: [{ isSignal: true, alias: "enable-dropdown-toggler", required: false }] }] } });
|
|
4655
|
+
}, isSignal: true }] }], dark: [{ type: i0.Input, args: [{ isSignal: true, alias: "dark", required: false }] }], showSideBarToggler: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSideBarToggler", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], expand: [{ type: i0.Input, args: [{ isSignal: true, alias: "expand", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], enableDropdownToggler: [{ type: i0.Input, args: [{ isSignal: true, alias: "enable-dropdown-toggler", required: false }] }] } });
|
|
4649
4656
|
|
|
4650
4657
|
class OffcanvasBodyComponent {
|
|
4651
4658
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: OffcanvasBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|