s4y-ui 3.0.4 → 3.2.4
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/fesm2022/s4y-ui.mjs
CHANGED
|
@@ -210,7 +210,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
|
|
|
210
210
|
}] } });
|
|
211
211
|
|
|
212
212
|
class AsideComponent {
|
|
213
|
-
_asideService = inject(AsideService);
|
|
214
213
|
router = inject(Router);
|
|
215
214
|
sanitizer = inject(DomSanitizer);
|
|
216
215
|
asideService = inject(AsideService);
|
|
@@ -221,7 +220,7 @@ class AsideComponent {
|
|
|
221
220
|
userImage = input('');
|
|
222
221
|
userName = input('');
|
|
223
222
|
userEmail = input('');
|
|
224
|
-
isOpened = this.
|
|
223
|
+
isOpened = this.asideService.isOpened;
|
|
225
224
|
menuTemplate;
|
|
226
225
|
headerTemplate;
|
|
227
226
|
footerTemplate;
|
|
@@ -229,7 +228,7 @@ class AsideComponent {
|
|
|
229
228
|
if (menu.children && menu.children.length > 0) {
|
|
230
229
|
this.closeOtherMenus(menu);
|
|
231
230
|
if (!this.isOpened()) {
|
|
232
|
-
this.
|
|
231
|
+
this.asideService.onToggle();
|
|
233
232
|
}
|
|
234
233
|
menu.isOpen = !menu.isOpen;
|
|
235
234
|
}
|
|
@@ -2647,5 +2646,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
|
|
|
2647
2646
|
* Generated bundle index. Do not edit.
|
|
2648
2647
|
*/
|
|
2649
2648
|
|
|
2650
|
-
export { AsideComponent, AvatarComponent, BreadcrumbComponent, BreadcrumbItemDirective, BreadcrumbService, ButtonComponent, CheckboxComponent, ClickOutsideDirective, DashboardContainerComponent, DashboardLayoutComponent, DashboardModule, DashboardRoutesComponent, DrawerComponent, ErrorMessageComponent, FormFieldComponent, FormFieldPasswordComponent, FormsKitModule, HintComponent, InputComponent, InputPrefixComponent, InputSufixComponent, LabelComponent, LoadingModalComponent, LoadingModalService, MaskDirective, ModalComponent, ModalConfirmationComponent, ModalConfirmationService, NavbarComponent, PaginationComponent, RadioComponent, SearchBarComponent, SelectComponent, SliderComponent, SpinnerComponent, StepComponent, StepPanelComponent, StepperComponent, SvgComponent, SvgService, TableComponent, TableSortDirective, ToastComponent, ToastService, ToggleComponent, TooltipComponent, TooltipDirective, TooltipModule, TooltipPosition };
|
|
2649
|
+
export { AsideComponent, AsideService, AvatarComponent, BreadcrumbComponent, BreadcrumbItemDirective, BreadcrumbService, ButtonComponent, CheckboxComponent, ClickOutsideDirective, DashboardContainerComponent, DashboardLayoutComponent, DashboardModule, DashboardRoutesComponent, DrawerComponent, ErrorMessageComponent, FormFieldComponent, FormFieldPasswordComponent, FormsKitModule, HintComponent, InputComponent, InputPrefixComponent, InputSufixComponent, LabelComponent, LoadingModalComponent, LoadingModalService, MaskDirective, ModalComponent, ModalConfirmationComponent, ModalConfirmationService, NavbarComponent, PaginationComponent, RadioComponent, SearchBarComponent, SelectComponent, SliderComponent, SpinnerComponent, StepComponent, StepPanelComponent, StepperComponent, SvgComponent, SvgService, TableComponent, TableSortDirective, ToastComponent, ToastService, ToggleComponent, TooltipComponent, TooltipDirective, TooltipModule, TooltipPosition };
|
|
2651
2650
|
//# sourceMappingURL=s4y-ui.mjs.map
|