@soyfri/template 1.0.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.
- package/README.md +39 -0
- package/dist/assets/ts/_utils/DomHelpers.d.ts +29 -0
- package/dist/assets/ts/_utils/DomHelpers.js +380 -0
- package/dist/assets/ts/_utils/ElementAnimateUtil.d.ts +10 -0
- package/dist/assets/ts/_utils/ElementAnimateUtil.js +90 -0
- package/dist/assets/ts/_utils/EventHandlerUtil.d.ts +24 -0
- package/dist/assets/ts/_utils/EventHandlerUtil.js +105 -0
- package/dist/assets/ts/_utils/_DOMEventHandlerUtil.d.ts +6 -0
- package/dist/assets/ts/_utils/_DOMEventHandlerUtil.js +55 -0
- package/dist/assets/ts/_utils/_DataUtil.d.ts +9 -0
- package/dist/assets/ts/_utils/_DataUtil.js +66 -0
- package/dist/assets/ts/_utils/_ElementStyleUtil.d.ts +5 -0
- package/dist/assets/ts/_utils/_ElementStyleUtil.js +23 -0
- package/dist/assets/ts/_utils/_TypesHelpers.d.ts +10 -0
- package/dist/assets/ts/_utils/_TypesHelpers.js +54 -0
- package/dist/assets/ts/_utils/index.d.ts +9 -0
- package/dist/assets/ts/_utils/index.js +28 -0
- package/dist/assets/ts/_utils/models/OffsetModel.d.ts +4 -0
- package/dist/assets/ts/_utils/models/OffsetModel.js +2 -0
- package/dist/assets/ts/_utils/models/ViewPortModel.d.ts +4 -0
- package/dist/assets/ts/_utils/models/ViewPortModel.js +2 -0
- package/dist/assets/ts/components/MenuComponent.d.ts +88 -0
- package/dist/assets/ts/components/MenuComponent.js +857 -0
- package/dist/assets/ts/components/SearchComponent.d.ts +66 -0
- package/dist/assets/ts/components/SearchComponent.js +362 -0
- package/dist/assets/ts/components/_CookieComponent.d.ts +25 -0
- package/dist/assets/ts/components/_CookieComponent.js +66 -0
- package/dist/assets/ts/components/_DrawerComponent.d.ts +57 -0
- package/dist/assets/ts/components/_DrawerComponent.js +325 -0
- package/dist/assets/ts/components/_FeedbackComponent.d.ts +32 -0
- package/dist/assets/ts/components/_FeedbackComponent.js +113 -0
- package/dist/assets/ts/components/_ImageInputComponent.d.ts +43 -0
- package/dist/assets/ts/components/_ImageInputComponent.js +176 -0
- package/dist/assets/ts/components/_PasswordMeterComponent.d.ts +54 -0
- package/dist/assets/ts/components/_PasswordMeterComponent.js +206 -0
- package/dist/assets/ts/components/_ScrollComponent.d.ts +32 -0
- package/dist/assets/ts/components/_ScrollComponent.js +262 -0
- package/dist/assets/ts/components/_ScrollTopComponent.d.ts +24 -0
- package/dist/assets/ts/components/_ScrollTopComponent.js +115 -0
- package/dist/assets/ts/components/_StepperComponent.d.ts +52 -0
- package/dist/assets/ts/components/_StepperComponent.js +256 -0
- package/dist/assets/ts/components/_StickyComponent.d.ts +35 -0
- package/dist/assets/ts/components/_StickyComponent.js +239 -0
- package/dist/assets/ts/components/_SwapperComponent.d.ts +36 -0
- package/dist/assets/ts/components/_SwapperComponent.js +173 -0
- package/dist/assets/ts/components/_ToggleComponent.d.ts +36 -0
- package/dist/assets/ts/components/_ToggleComponent.js +161 -0
- package/dist/assets/ts/components/index.d.ts +13 -0
- package/dist/assets/ts/components/index.js +30 -0
- package/dist/assets/ts/index.d.ts +2 -0
- package/dist/assets/ts/index.js +68 -0
- package/dist/assets/ts/layout/ThemeMode.d.ts +20 -0
- package/dist/assets/ts/layout/ThemeMode.js +182 -0
- package/dist/assets/ts/layout/index.d.ts +1 -0
- package/dist/assets/ts/layout/index.js +17 -0
- package/dist/helpers/AssetHelpers.d.ts +2 -0
- package/dist/helpers/AssetHelpers.js +19 -0
- package/dist/helpers/RouterHelpers.d.ts +2 -0
- package/dist/helpers/RouterHelpers.js +21 -0
- package/dist/helpers/components/KTCard.d.ts +17 -0
- package/dist/helpers/components/KTCard.js +19 -0
- package/dist/helpers/components/KTCardBody.d.ts +9 -0
- package/dist/helpers/components/KTCardBody.js +15 -0
- package/dist/helpers/components/KTIcon.d.ts +8 -0
- package/dist/helpers/components/KTIcon.js +30 -0
- package/dist/helpers/components/KTSVG.d.ts +8 -0
- package/dist/helpers/components/KTSVG.js +12 -0
- package/dist/helpers/crud-helper/consts.d.ts +4 -0
- package/dist/helpers/crud-helper/consts.js +7 -0
- package/dist/helpers/crud-helper/helpers.d.ts +14 -0
- package/dist/helpers/crud-helper/helpers.js +110 -0
- package/dist/helpers/crud-helper/models.d.ts +61 -0
- package/dist/helpers/crud-helper/models.js +21 -0
- package/dist/helpers/dataExamples.d.ts +37 -0
- package/dist/helpers/dataExamples.js +251 -0
- package/dist/helpers/icons-config/icons.d.ts +5 -0
- package/dist/helpers/icons-config/icons.js +578 -0
- package/dist/helpers/index.d.ts +11 -0
- package/dist/helpers/index.js +27 -0
- package/dist/helpers/react18MigrationHelpers.d.ts +6 -0
- package/dist/helpers/react18MigrationHelpers.js +10 -0
- package/dist/i18n/Metronici18n.d.ts +6 -0
- package/dist/i18n/Metronici18n.js +62 -0
- package/dist/i18n/i18nProvider.d.ts +11 -0
- package/dist/i18n/i18nProvider.js +31 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +24 -0
- package/dist/layout/MasterInit.d.ts +2 -0
- package/dist/layout/MasterInit.js +39 -0
- package/dist/layout/MasterLayout.d.ts +3 -0
- package/dist/layout/MasterLayout.js +40 -0
- package/dist/layout/components/content/Content.d.ts +4 -0
- package/dist/layout/components/content/Content.js +27 -0
- package/dist/layout/components/content/index.d.ts +1 -0
- package/dist/layout/components/content/index.js +17 -0
- package/dist/layout/components/footer/Footer.d.ts +3 -0
- package/dist/layout/components/footer/Footer.js +38 -0
- package/dist/layout/components/footer/FooterWrapper.d.ts +3 -0
- package/dist/layout/components/footer/FooterWrapper.js +20 -0
- package/dist/layout/components/footer/index.d.ts +1 -0
- package/dist/layout/components/footer/index.js +17 -0
- package/dist/layout/components/header/Header.d.ts +3 -0
- package/dist/layout/components/header/Header.js +86 -0
- package/dist/layout/components/header/HeaderWrapper.d.ts +2 -0
- package/dist/layout/components/header/HeaderWrapper.js +44 -0
- package/dist/layout/components/header/Navbar.d.ts +3 -0
- package/dist/layout/components/header/Navbar.js +43 -0
- package/dist/layout/components/header/header-menus/MegaMenu.d.ts +3 -0
- package/dist/layout/components/header/header-menus/MegaMenu.js +74 -0
- package/dist/layout/components/header/header-menus/MenuInner.d.ts +2 -0
- package/dist/layout/components/header/header-menus/MenuInner.js +50 -0
- package/dist/layout/components/header/header-menus/MenuInnerWithSub.d.ts +15 -0
- package/dist/layout/components/header/header-menus/MenuInnerWithSub.js +58 -0
- package/dist/layout/components/header/header-menus/MenuItem.d.ts +11 -0
- package/dist/layout/components/header/header-menus/MenuItem.js +28 -0
- package/dist/layout/components/header/header-menus/index.d.ts +1 -0
- package/dist/layout/components/header/header-menus/index.js +17 -0
- package/dist/layout/components/header/index.d.ts +1 -0
- package/dist/layout/components/header/index.js +17 -0
- package/dist/layout/components/scroll-top/ScrollTop.d.ts +2 -0
- package/dist/layout/components/scroll-top/ScrollTop.js +51 -0
- package/dist/layout/components/scroll-top/index.d.ts +1 -0
- package/dist/layout/components/scroll-top/index.js +17 -0
- package/dist/layout/components/sidebar/Sidebar.d.ts +3 -0
- package/dist/layout/components/sidebar/Sidebar.js +133 -0
- package/dist/layout/components/sidebar/SidebarFooter.d.ts +3 -0
- package/dist/layout/components/sidebar/SidebarFooter.js +18 -0
- package/dist/layout/components/sidebar/SidebarLogo.d.ts +7 -0
- package/dist/layout/components/sidebar/SidebarLogo.js +54 -0
- package/dist/layout/components/sidebar/index.d.ts +1 -0
- package/dist/layout/components/sidebar/index.js +17 -0
- package/dist/layout/components/sidebar/sidebar-menu/SidebarMenu.d.ts +3 -0
- package/dist/layout/components/sidebar/sidebar-menu/SidebarMenu.js +15 -0
- package/dist/layout/components/sidebar/sidebar-menu/SidebarMenuItem.d.ts +11 -0
- package/dist/layout/components/sidebar/sidebar-menu/SidebarMenuItem.js +31 -0
- package/dist/layout/components/sidebar/sidebar-menu/SidebarMenuItemWithSub.d.ts +11 -0
- package/dist/layout/components/sidebar/sidebar-menu/SidebarMenuItemWithSub.js +30 -0
- package/dist/layout/components/sidebar/sidebar-menu/SidebarMenuMain.d.ts +3 -0
- package/dist/layout/components/sidebar/sidebar-menu/SidebarMenuMain.js +63 -0
- package/dist/layout/components/toolbar/Toolbar.d.ts +3 -0
- package/dist/layout/components/toolbar/Toolbar.js +88 -0
- package/dist/layout/components/toolbar/ToolbarWrapper.d.ts +3 -0
- package/dist/layout/components/toolbar/ToolbarWrapper.js +34 -0
- package/dist/layout/components/toolbar/index.d.ts +1 -0
- package/dist/layout/components/toolbar/index.js +17 -0
- package/dist/layout/components/toolbar/page-title/PageTitle.d.ts +3 -0
- package/dist/layout/components/toolbar/page-title/PageTitle.js +44 -0
- package/dist/layout/components/toolbar/page-title/PageTitleWrapper.d.ts +3 -0
- package/dist/layout/components/toolbar/page-title/PageTitleWrapper.js +18 -0
- package/dist/layout/components/toolbar/page-title/index.d.ts +1 -0
- package/dist/layout/components/toolbar/page-title/index.js +17 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarAccounting.d.ts +3 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarAccounting.js +68 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarClassic.d.ts +3 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarClassic.js +33 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarExtended.d.ts +3 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarExtended.js +73 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarReports.d.ts +3 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarReports.js +59 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarSaas.d.ts +3 -0
- package/dist/layout/components/toolbar/toolbars/ToolbarSaas.js +59 -0
- package/dist/layout/components/toolbar/toolbars/index.d.ts +5 -0
- package/dist/layout/components/toolbar/toolbars/index.js +21 -0
- package/dist/layout/core/MetronicSplashScreen.d.ts +7 -0
- package/dist/layout/core/MetronicSplashScreen.js +78 -0
- package/dist/layout/core/PageData.d.ts +25 -0
- package/dist/layout/core/PageData.js +96 -0
- package/dist/layout/core/_LayoutConfig.d.ts +2 -0
- package/dist/layout/core/_LayoutConfig.js +140 -0
- package/dist/layout/core/_LayoutProvider.d.ts +17 -0
- package/dist/layout/core/_LayoutProvider.js +114 -0
- package/dist/layout/core/_LayoutSetup.d.ts +33 -0
- package/dist/layout/core/_LayoutSetup.js +218 -0
- package/dist/layout/core/_Models.d.ts +247 -0
- package/dist/layout/core/_Models.js +2 -0
- package/dist/layout/core/index.d.ts +6 -0
- package/dist/layout/core/index.js +22 -0
- package/dist/layout/index.d.ts +12 -0
- package/dist/layout/index.js +33 -0
- package/dist/partials/chat/ChatInner.d.ts +6 -0
- package/dist/partials/chat/ChatInner.js +114 -0
- package/dist/partials/content/activity/Item1.d.ts +3 -0
- package/dist/partials/content/activity/Item1.js +50 -0
- package/dist/partials/content/activity/Item2.d.ts +3 -0
- package/dist/partials/content/activity/Item2.js +23 -0
- package/dist/partials/content/activity/Item3.d.ts +3 -0
- package/dist/partials/content/activity/Item3.js +40 -0
- package/dist/partials/content/activity/Item4.d.ts +3 -0
- package/dist/partials/content/activity/Item4.js +31 -0
- package/dist/partials/content/activity/Item5.d.ts +3 -0
- package/dist/partials/content/activity/Item5.js +40 -0
- package/dist/partials/content/activity/Item6.d.ts +3 -0
- package/dist/partials/content/activity/Item6.js +27 -0
- package/dist/partials/content/activity/Item7.d.ts +3 -0
- package/dist/partials/content/activity/Item7.js +31 -0
- package/dist/partials/content/activity/Item8.d.ts +3 -0
- package/dist/partials/content/activity/Item8.js +26 -0
- package/dist/partials/content/activity/index.d.ts +8 -0
- package/dist/partials/content/activity/index.js +24 -0
- package/dist/partials/content/cards/Card1.d.ts +12 -0
- package/dist/partials/content/cards/Card1.js +28 -0
- package/dist/partials/content/cards/Card2.d.ts +14 -0
- package/dist/partials/content/cards/Card2.js +32 -0
- package/dist/partials/content/cards/Card3.d.ts +12 -0
- package/dist/partials/content/cards/Card3.js +30 -0
- package/dist/partials/content/cards/Card4.d.ts +8 -0
- package/dist/partials/content/cards/Card4.js +19 -0
- package/dist/partials/content/cards/Card5.d.ts +13 -0
- package/dist/partials/content/cards/Card5.js +38 -0
- package/dist/partials/content/code-highlight/CodeBlock.d.ts +7 -0
- package/dist/partials/content/code-highlight/CodeBlock.js +75 -0
- package/dist/partials/content/dropdown/Dropdown1.d.ts +2 -0
- package/dist/partials/content/dropdown/Dropdown1.js +41 -0
- package/dist/partials/content/dropdown/Dropdown2.d.ts +3 -0
- package/dist/partials/content/dropdown/Dropdown2.js +35 -0
- package/dist/partials/content/dropdown/Dropdown3.d.ts +3 -0
- package/dist/partials/content/dropdown/Dropdown3.js +40 -0
- package/dist/partials/content/editor/EditorToolbar.d.ts +58 -0
- package/dist/partials/content/editor/EditorToolbar.js +54 -0
- package/dist/partials/content/portal/Portal.d.ts +12 -0
- package/dist/partials/content/portal/Portal.js +25 -0
- package/dist/partials/index.d.ts +22 -0
- package/dist/partials/index.js +42 -0
- package/dist/partials/layout/InboxCompose.d.ts +7 -0
- package/dist/partials/layout/InboxCompose.js +98 -0
- package/dist/partials/layout/RightToolbar.d.ts +3 -0
- package/dist/partials/layout/RightToolbar.js +18 -0
- package/dist/partials/layout/SearchModal.d.ts +7 -0
- package/dist/partials/layout/SearchModal.js +62 -0
- package/dist/partials/layout/activity-drawer/ActivityDrawer.d.ts +3 -0
- package/dist/partials/layout/activity-drawer/ActivityDrawer.js +40 -0
- package/dist/partials/layout/create-app/CreateApp.d.ts +3 -0
- package/dist/partials/layout/create-app/CreateApp.js +11 -0
- package/dist/partials/layout/drawer-messenger/DrawerMessenger.d.ts +3 -0
- package/dist/partials/layout/drawer-messenger/DrawerMessenger.js +26 -0
- package/dist/partials/layout/header-menus/HeaderNotificationsMenu.d.ts +3 -0
- package/dist/partials/layout/header-menus/HeaderNotificationsMenu.js +58 -0
- package/dist/partials/layout/header-menus/HeaderUserMenu.d.ts +3 -0
- package/dist/partials/layout/header-menus/HeaderUserMenu.js +58 -0
- package/dist/partials/layout/header-menus/Languages.d.ts +3 -0
- package/dist/partials/layout/header-menus/Languages.js +62 -0
- package/dist/partials/layout/help-drawer/HelpDrawer.d.ts +3 -0
- package/dist/partials/layout/help-drawer/HelpDrawer.js +62 -0
- package/dist/partials/layout/help-drawer/ToggleHelpDrawer.d.ts +3 -0
- package/dist/partials/layout/help-drawer/ToggleHelpDrawer.js +9 -0
- package/dist/partials/layout/purchase/PurchaseButton.d.ts +3 -0
- package/dist/partials/layout/purchase/PurchaseButton.js +12 -0
- package/dist/partials/layout/quick-links/QuicLinks.d.ts +3 -0
- package/dist/partials/layout/quick-links/QuicLinks.js +39 -0
- package/dist/partials/layout/search/Search.d.ts +3 -0
- package/dist/partials/layout/search/Search.js +334 -0
- package/dist/partials/layout/search/SearchInner.d.ts +3 -0
- package/dist/partials/layout/search/SearchInner.js +37 -0
- package/dist/partials/layout/theme-mode/ThemeModeProvider.d.ts +17 -0
- package/dist/partials/layout/theme-mode/ThemeModeProvider.js +102 -0
- package/dist/partials/layout/theme-mode/ThemeModeSwitcher.d.ts +9 -0
- package/dist/partials/layout/theme-mode/ThemeModeSwitcher.js +42 -0
- package/dist/partials/modals/create-app-stepper/CreateAppModal.d.ts +7 -0
- package/dist/partials/modals/create-app-stepper/CreateAppModal.js +176 -0
- package/dist/partials/modals/create-app-stepper/IAppModels.d.ts +22 -0
- package/dist/partials/modals/create-app-stepper/IAppModels.js +9 -0
- package/dist/partials/modals/create-app-stepper/steps/Step1.d.ts +4 -0
- package/dist/partials/modals/create-app-stepper/steps/Step1.js +84 -0
- package/dist/partials/modals/create-app-stepper/steps/Step2.d.ts +4 -0
- package/dist/partials/modals/create-app-stepper/steps/Step2.js +57 -0
- package/dist/partials/modals/create-app-stepper/steps/Step3.d.ts +4 -0
- package/dist/partials/modals/create-app-stepper/steps/Step3.js +81 -0
- package/dist/partials/modals/create-app-stepper/steps/Step4.d.ts +4 -0
- package/dist/partials/modals/create-app-stepper/steps/Step4.js +47 -0
- package/dist/partials/modals/create-app-stepper/steps/Step5.d.ts +3 -0
- package/dist/partials/modals/create-app-stepper/steps/Step5.js +18 -0
- package/dist/partials/modals/invite-users/InviteUsers.d.ts +3 -0
- package/dist/partials/modals/invite-users/InviteUsers.js +161 -0
- package/dist/partials/modals/select-location/SelectLocationModal.d.ts +11 -0
- package/dist/partials/modals/select-location/SelectLocationModal.js +58 -0
- package/dist/partials/modals/upgrade-plan/UpgradePlan.d.ts +3 -0
- package/dist/partials/modals/upgrade-plan/UpgradePlan.js +230 -0
- package/dist/partials/widgets/_new/cards/CardsWidget17.d.ts +9 -0
- package/dist/partials/widgets/_new/cards/CardsWidget17.js +122 -0
- package/dist/partials/widgets/_new/cards/CardsWidget20.d.ts +9 -0
- package/dist/partials/widgets/_new/cards/CardsWidget20.js +26 -0
- package/dist/partials/widgets/_new/cards/CardsWidget7.d.ts +11 -0
- package/dist/partials/widgets/_new/cards/CardsWidget7.js +35 -0
- package/dist/partials/widgets/_new/engage/EngageWidget10.d.ts +6 -0
- package/dist/partials/widgets/_new/engage/EngageWidget10.js +31 -0
- package/dist/partials/widgets/_new/lists/ListsWidget26.d.ts +6 -0
- package/dist/partials/widgets/_new/lists/ListsWidget26.js +47 -0
- package/dist/partials/widgets/charts/ChartsWidget1.d.ts +6 -0
- package/dist/partials/widgets/charts/ChartsWidget1.js +182 -0
- package/dist/partials/widgets/charts/ChartsWidget2.d.ts +6 -0
- package/dist/partials/widgets/charts/ChartsWidget2.js +180 -0
- package/dist/partials/widgets/charts/ChartsWidget3.d.ts +6 -0
- package/dist/partials/widgets/charts/ChartsWidget3.js +191 -0
- package/dist/partials/widgets/charts/ChartsWidget4.d.ts +6 -0
- package/dist/partials/widgets/charts/ChartsWidget4.js +196 -0
- package/dist/partials/widgets/charts/ChartsWidget5.d.ts +6 -0
- package/dist/partials/widgets/charts/ChartsWidget5.js +183 -0
- package/dist/partials/widgets/charts/ChartsWidget6.d.ts +6 -0
- package/dist/partials/widgets/charts/ChartsWidget6.js +195 -0
- package/dist/partials/widgets/charts/ChartsWidget7.d.ts +6 -0
- package/dist/partials/widgets/charts/ChartsWidget7.js +215 -0
- package/dist/partials/widgets/charts/ChartsWidget8.d.ts +6 -0
- package/dist/partials/widgets/charts/ChartsWidget8.js +218 -0
- package/dist/partials/widgets/engage/EngageWidget1.d.ts +11 -0
- package/dist/partials/widgets/engage/EngageWidget1.js +25 -0
- package/dist/partials/widgets/engage/EngageWidget2.d.ts +9 -0
- package/dist/partials/widgets/engage/EngageWidget2.js +22 -0
- package/dist/partials/widgets/engage/EngageWidget3.d.ts +9 -0
- package/dist/partials/widgets/engage/EngageWidget3.js +40 -0
- package/dist/partials/widgets/feeds/FeedsWidget2.d.ts +6 -0
- package/dist/partials/widgets/feeds/FeedsWidget2.js +43 -0
- package/dist/partials/widgets/feeds/FeedsWidget3.d.ts +6 -0
- package/dist/partials/widgets/feeds/FeedsWidget3.js +62 -0
- package/dist/partials/widgets/feeds/FeedsWidget4.d.ts +6 -0
- package/dist/partials/widgets/feeds/FeedsWidget4.js +43 -0
- package/dist/partials/widgets/feeds/FeedsWidget5.d.ts +6 -0
- package/dist/partials/widgets/feeds/FeedsWidget5.js +46 -0
- package/dist/partials/widgets/feeds/FeedsWidget6.d.ts +6 -0
- package/dist/partials/widgets/feeds/FeedsWidget6.js +45 -0
- package/dist/partials/widgets/index.d.ts +71 -0
- package/dist/partials/widgets/index.js +97 -0
- package/dist/partials/widgets/lists/ListsWidget1.d.ts +6 -0
- package/dist/partials/widgets/lists/ListsWidget1.js +58 -0
- package/dist/partials/widgets/lists/ListsWidget2.d.ts +6 -0
- package/dist/partials/widgets/lists/ListsWidget2.js +51 -0
- package/dist/partials/widgets/lists/ListsWidget3.d.ts +6 -0
- package/dist/partials/widgets/lists/ListsWidget3.js +69 -0
- package/dist/partials/widgets/lists/ListsWidget4.d.ts +7 -0
- package/dist/partials/widgets/lists/ListsWidget4.js +77 -0
- package/dist/partials/widgets/lists/ListsWidget5.d.ts +6 -0
- package/dist/partials/widgets/lists/ListsWidget5.js +74 -0
- package/dist/partials/widgets/lists/ListsWidget6.d.ts +6 -0
- package/dist/partials/widgets/lists/ListsWidget6.js +48 -0
- package/dist/partials/widgets/lists/ListsWidget7.d.ts +6 -0
- package/dist/partials/widgets/lists/ListsWidget7.js +54 -0
- package/dist/partials/widgets/lists/ListsWidget8.d.ts +6 -0
- package/dist/partials/widgets/lists/ListsWidget8.js +74 -0
- package/dist/partials/widgets/lists/ListsWidget9.d.ts +6 -0
- package/dist/partials/widgets/lists/ListsWidget9.js +89 -0
- package/dist/partials/widgets/mixed/MixedWidget1.d.ts +7 -0
- package/dist/partials/widgets/mixed/MixedWidget1.js +70 -0
- package/dist/partials/widgets/mixed/MixedWidget10.d.ts +8 -0
- package/dist/partials/widgets/mixed/MixedWidget10.js +188 -0
- package/dist/partials/widgets/mixed/MixedWidget11.d.ts +8 -0
- package/dist/partials/widgets/mixed/MixedWidget11.js +180 -0
- package/dist/partials/widgets/mixed/MixedWidget13.d.ts +8 -0
- package/dist/partials/widgets/mixed/MixedWidget13.js +204 -0
- package/dist/partials/widgets/mixed/MixedWidget14.d.ts +8 -0
- package/dist/partials/widgets/mixed/MixedWidget14.js +166 -0
- package/dist/partials/widgets/mixed/MixedWidget15.d.ts +7 -0
- package/dist/partials/widgets/mixed/MixedWidget15.js +49 -0
- package/dist/partials/widgets/mixed/MixedWidget2.d.ts +9 -0
- package/dist/partials/widgets/mixed/MixedWidget2.js +213 -0
- package/dist/partials/widgets/mixed/MixedWidget3.d.ts +8 -0
- package/dist/partials/widgets/mixed/MixedWidget3.js +207 -0
- package/dist/partials/widgets/mixed/MixedWidget4.d.ts +11 -0
- package/dist/partials/widgets/mixed/MixedWidget4.js +43 -0
- package/dist/partials/widgets/mixed/MixedWidget5.d.ts +10 -0
- package/dist/partials/widgets/mixed/MixedWidget5.js +29 -0
- package/dist/partials/widgets/mixed/MixedWidget6.d.ts +8 -0
- package/dist/partials/widgets/mixed/MixedWidget6.js +211 -0
- package/dist/partials/widgets/mixed/MixedWidget7.d.ts +8 -0
- package/dist/partials/widgets/mixed/MixedWidget7.js +125 -0
- package/dist/partials/widgets/mixed/MixedWidget8.d.ts +8 -0
- package/dist/partials/widgets/mixed/MixedWidget8.js +239 -0
- package/dist/partials/widgets/mixed/MixedWidget9.d.ts +8 -0
- package/dist/partials/widgets/mixed/MixedWidget9.js +227 -0
- package/dist/partials/widgets/statistics/StatisticsWidget1.d.ts +10 -0
- package/dist/partials/widgets/statistics/StatisticsWidget1.js +21 -0
- package/dist/partials/widgets/statistics/StatisticsWidget2.d.ts +9 -0
- package/dist/partials/widgets/statistics/StatisticsWidget2.js +18 -0
- package/dist/partials/widgets/statistics/StatisticsWidget3.d.ts +10 -0
- package/dist/partials/widgets/statistics/StatisticsWidget3.js +189 -0
- package/dist/partials/widgets/statistics/StatisticsWidget4.d.ts +10 -0
- package/dist/partials/widgets/statistics/StatisticsWidget4.js +191 -0
- package/dist/partials/widgets/statistics/StatisticsWidget5.d.ts +13 -0
- package/dist/partials/widgets/statistics/StatisticsWidget5.js +17 -0
- package/dist/partials/widgets/statistics/StatisticsWidget6.d.ts +10 -0
- package/dist/partials/widgets/statistics/StatisticsWidget6.js +19 -0
- package/dist/partials/widgets/tables/TablesWidget1.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget1.js +117 -0
- package/dist/partials/widgets/tables/TablesWidget10.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget10.js +174 -0
- package/dist/partials/widgets/tables/TablesWidget11.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget11.js +163 -0
- package/dist/partials/widgets/tables/TablesWidget12.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget12.js +227 -0
- package/dist/partials/widgets/tables/TablesWidget13.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget13.js +186 -0
- package/dist/partials/widgets/tables/TablesWidget2.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget2.js +113 -0
- package/dist/partials/widgets/tables/TablesWidget3.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget3.js +83 -0
- package/dist/partials/widgets/tables/TablesWidget4.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget4.js +357 -0
- package/dist/partials/widgets/tables/TablesWidget5.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget5.js +228 -0
- package/dist/partials/widgets/tables/TablesWidget6.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget6.js +249 -0
- package/dist/partials/widgets/tables/TablesWidget7.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget7.js +249 -0
- package/dist/partials/widgets/tables/TablesWidget8.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget8.js +222 -0
- package/dist/partials/widgets/tables/TablesWidget9.d.ts +6 -0
- package/dist/partials/widgets/tables/TablesWidget9.js +174 -0
- package/dist/partials/widgets/tiles/TilesWidget1.d.ts +8 -0
- package/dist/partials/widgets/tiles/TilesWidget1.js +18 -0
- package/dist/partials/widgets/tiles/TilesWidget2.d.ts +9 -0
- package/dist/partials/widgets/tiles/TilesWidget2.js +28 -0
- package/dist/partials/widgets/tiles/TilesWidget3.d.ts +9 -0
- package/dist/partials/widgets/tiles/TilesWidget3.js +21 -0
- package/dist/partials/widgets/tiles/TilesWidget4.d.ts +6 -0
- package/dist/partials/widgets/tiles/TilesWidget4.js +18 -0
- package/dist/partials/widgets/tiles/TilesWidget5.d.ts +12 -0
- package/dist/partials/widgets/tiles/TilesWidget5.js +19 -0
- package/package.json +73 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare class DOMEventHandlerUtil {
|
|
2
|
+
static store: Map<any, any>;
|
|
3
|
+
static on(element: HTMLElement, selector: string, eventName: string, callBack: any): string;
|
|
4
|
+
static off(element: HTMLElement, eventName: string, eventId: string): void;
|
|
5
|
+
static one(element: HTMLElement, eventName: string, callBack: Function): void;
|
|
6
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DOMEventHandlerUtil = void 0;
|
|
4
|
+
var _TypesHelpers_1 = require("./_TypesHelpers");
|
|
5
|
+
var DOMEventHandlerUtil = /** @class */ (function () {
|
|
6
|
+
function DOMEventHandlerUtil() {
|
|
7
|
+
}
|
|
8
|
+
DOMEventHandlerUtil.on = function (element, selector, eventName, callBack) {
|
|
9
|
+
var eventId = (0, _TypesHelpers_1.getUniqueIdWithPrefix)('DOMEvent');
|
|
10
|
+
DOMEventHandlerUtil.store.set(eventId, function (e) {
|
|
11
|
+
var targets = element.querySelectorAll(selector);
|
|
12
|
+
var target = e.target;
|
|
13
|
+
while (target && target !== element) {
|
|
14
|
+
for (var i = 0; i < targets.length; i++) {
|
|
15
|
+
if (target === targets[i]) {
|
|
16
|
+
callBack.call(target, e);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
if (target.parentElement) {
|
|
20
|
+
target = target.parentElement;
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
target = null;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
element.addEventListener(eventName, DOMEventHandlerUtil.store.get(eventId));
|
|
28
|
+
return eventId;
|
|
29
|
+
};
|
|
30
|
+
DOMEventHandlerUtil.off = function (element, eventName, eventId) {
|
|
31
|
+
var funcFromStore = DOMEventHandlerUtil.store.get(eventId);
|
|
32
|
+
if (!funcFromStore) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
element.removeEventListener(eventName, funcFromStore);
|
|
36
|
+
DOMEventHandlerUtil.store.delete(eventId);
|
|
37
|
+
};
|
|
38
|
+
DOMEventHandlerUtil.one = function (element, eventName, callBack) {
|
|
39
|
+
element.addEventListener(eventName, function calee(e) {
|
|
40
|
+
// remove event
|
|
41
|
+
if (e.target && e.target.removeEventListener) {
|
|
42
|
+
e.target.removeEventListener(e.type, calee);
|
|
43
|
+
}
|
|
44
|
+
if (element && e && e.currentTarget) {
|
|
45
|
+
// if (element && element.removeEventListener && e && e.currentTarget) {
|
|
46
|
+
e.currentTarget.removeEventListener(e.type, calee);
|
|
47
|
+
}
|
|
48
|
+
// call hander
|
|
49
|
+
return callBack(e);
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
DOMEventHandlerUtil.store = new Map();
|
|
53
|
+
return DOMEventHandlerUtil;
|
|
54
|
+
}());
|
|
55
|
+
exports.DOMEventHandlerUtil = DOMEventHandlerUtil;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class DataUtil {
|
|
2
|
+
static store: Map<HTMLElement, Map<string, unknown>>;
|
|
3
|
+
static set(instance: HTMLElement | undefined, key: string, data: unknown): void;
|
|
4
|
+
static get(instance: HTMLElement, key: string): unknown | undefined;
|
|
5
|
+
static remove(instance: HTMLElement, key: string): void;
|
|
6
|
+
static removeOne(instance: HTMLElement, key: string, eventId: string): void;
|
|
7
|
+
static has(instance: HTMLElement, key: string): boolean;
|
|
8
|
+
static getAllInstancesByKey(key: string): any[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataUtil = void 0;
|
|
4
|
+
var DataUtil = /** @class */ (function () {
|
|
5
|
+
function DataUtil() {
|
|
6
|
+
}
|
|
7
|
+
DataUtil.set = function (instance, key, data) {
|
|
8
|
+
if (!instance) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
var instanceData = DataUtil.store.get(instance);
|
|
12
|
+
if (!instanceData) {
|
|
13
|
+
var newMap = new Map().set(key, data);
|
|
14
|
+
DataUtil.store.set(instance, newMap);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
instanceData.set(key, data);
|
|
18
|
+
};
|
|
19
|
+
DataUtil.get = function (instance, key) {
|
|
20
|
+
var instanceData = DataUtil.store.get(instance);
|
|
21
|
+
if (!instanceData) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
return instanceData.get(key);
|
|
25
|
+
};
|
|
26
|
+
DataUtil.remove = function (instance, key) {
|
|
27
|
+
var instanceData = DataUtil.store.get(instance);
|
|
28
|
+
if (!instanceData) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
instanceData.delete(key);
|
|
32
|
+
};
|
|
33
|
+
DataUtil.removeOne = function (instance, key, eventId) {
|
|
34
|
+
var instanceData = DataUtil.store.get(instance);
|
|
35
|
+
if (!instanceData) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
var eventsIds = instanceData.get(key);
|
|
39
|
+
if (!eventsIds) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
var updateEventsIds = eventsIds.filter(function (f) { return f !== eventId; });
|
|
43
|
+
DataUtil.set(instance, key, updateEventsIds);
|
|
44
|
+
};
|
|
45
|
+
DataUtil.has = function (instance, key) {
|
|
46
|
+
var instanceData = DataUtil.store.get(instance);
|
|
47
|
+
if (instanceData) {
|
|
48
|
+
return instanceData.has(key);
|
|
49
|
+
}
|
|
50
|
+
return false;
|
|
51
|
+
};
|
|
52
|
+
DataUtil.getAllInstancesByKey = function (key) {
|
|
53
|
+
var result = [];
|
|
54
|
+
DataUtil.store.forEach(function (val) {
|
|
55
|
+
val.forEach(function (v, k) {
|
|
56
|
+
if (k === key) {
|
|
57
|
+
result.push(v);
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
return result;
|
|
62
|
+
};
|
|
63
|
+
DataUtil.store = new Map();
|
|
64
|
+
return DataUtil;
|
|
65
|
+
}());
|
|
66
|
+
exports.DataUtil = DataUtil;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ElementStyleUtil = void 0;
|
|
4
|
+
var ElementStyleUtil = /** @class */ (function () {
|
|
5
|
+
function ElementStyleUtil() {
|
|
6
|
+
}
|
|
7
|
+
ElementStyleUtil.set = function (element, property, value, important) {
|
|
8
|
+
if (important) {
|
|
9
|
+
element.style.setProperty(property, value, 'important');
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
element.style.setProperty(property, value);
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
ElementStyleUtil.get = function (element, attributeName) {
|
|
16
|
+
return element.style.getPropertyValue(attributeName);
|
|
17
|
+
};
|
|
18
|
+
ElementStyleUtil.remove = function (element, attibuteName) {
|
|
19
|
+
element.style.removeProperty(attibuteName);
|
|
20
|
+
};
|
|
21
|
+
return ElementStyleUtil;
|
|
22
|
+
}());
|
|
23
|
+
exports.ElementStyleUtil = ElementStyleUtil;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare function getObjectPropertyValueByKey(obj: any, key: string): any | undefined;
|
|
2
|
+
/**
|
|
3
|
+
* Generates unique ID for give prefix.
|
|
4
|
+
* @param {string} prefix Prefix for generated ID
|
|
5
|
+
* @returns {boolean}
|
|
6
|
+
*/
|
|
7
|
+
declare function getUniqueIdWithPrefix(prefix: string | undefined): string;
|
|
8
|
+
declare function stringSnakeToCamel(str: string): string;
|
|
9
|
+
declare function toJSON(value: string | JSON): JSON | undefined;
|
|
10
|
+
export { getObjectPropertyValueByKey, getUniqueIdWithPrefix, stringSnakeToCamel, toJSON };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toJSON = exports.stringSnakeToCamel = exports.getUniqueIdWithPrefix = exports.getObjectPropertyValueByKey = void 0;
|
|
4
|
+
function getObjectPropertyValueByKey(obj, key) {
|
|
5
|
+
var map = new Map(Object.keys(obj).map(function (key) { return [key, obj[key]]; }));
|
|
6
|
+
if (obj.hasOwnProperty(key) && map) {
|
|
7
|
+
return map.get(key);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.getObjectPropertyValueByKey = getObjectPropertyValueByKey;
|
|
11
|
+
/**
|
|
12
|
+
* Generates unique ID for give prefix.
|
|
13
|
+
* @param {string} prefix Prefix for generated ID
|
|
14
|
+
* @returns {boolean}
|
|
15
|
+
*/
|
|
16
|
+
function getUniqueIdWithPrefix(prefix) {
|
|
17
|
+
var result = Math.floor(Math.random() * new Date().getTime()).toString();
|
|
18
|
+
if (!prefix) {
|
|
19
|
+
return result;
|
|
20
|
+
}
|
|
21
|
+
return "".concat(prefix).concat(result);
|
|
22
|
+
}
|
|
23
|
+
exports.getUniqueIdWithPrefix = getUniqueIdWithPrefix;
|
|
24
|
+
/* eslint-disable no-useless-escape */
|
|
25
|
+
function stringSnakeToCamel(str) {
|
|
26
|
+
return str.replace(/(\-\w)/g, function (m) {
|
|
27
|
+
return m[1].toUpperCase();
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
exports.stringSnakeToCamel = stringSnakeToCamel;
|
|
31
|
+
function toJSON(value) {
|
|
32
|
+
if (typeof value !== 'string') {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
if (!value) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
// ("'" => "\"");
|
|
39
|
+
var result = value
|
|
40
|
+
.toString()
|
|
41
|
+
.split('')
|
|
42
|
+
.map(function (el) { return (el !== "'" ? el : '"'); })
|
|
43
|
+
.join('');
|
|
44
|
+
var jsonStr = result.replace(/(\w+:)|(\w+ :)/g, function (matched) {
|
|
45
|
+
return '"' + matched.substring(0, matched.length - 1) + '":';
|
|
46
|
+
});
|
|
47
|
+
try {
|
|
48
|
+
return JSON.parse(jsonStr);
|
|
49
|
+
}
|
|
50
|
+
catch (_a) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.toJSON = toJSON;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './models/OffsetModel';
|
|
2
|
+
export * from './models/ViewPortModel';
|
|
3
|
+
export * from './DomHelpers';
|
|
4
|
+
export * from './_TypesHelpers';
|
|
5
|
+
export * from './_DataUtil';
|
|
6
|
+
export * from './_DOMEventHandlerUtil';
|
|
7
|
+
export * from './_ElementStyleUtil';
|
|
8
|
+
export * from './ElementAnimateUtil';
|
|
9
|
+
export * from './EventHandlerUtil';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Types
|
|
18
|
+
__exportStar(require("./models/OffsetModel"), exports);
|
|
19
|
+
__exportStar(require("./models/ViewPortModel"), exports);
|
|
20
|
+
// Helpers
|
|
21
|
+
__exportStar(require("./DomHelpers"), exports);
|
|
22
|
+
__exportStar(require("./_TypesHelpers"), exports);
|
|
23
|
+
// Basic
|
|
24
|
+
__exportStar(require("./_DataUtil"), exports);
|
|
25
|
+
__exportStar(require("./_DOMEventHandlerUtil"), exports);
|
|
26
|
+
__exportStar(require("./_ElementStyleUtil"), exports);
|
|
27
|
+
__exportStar(require("./ElementAnimateUtil"), exports);
|
|
28
|
+
__exportStar(require("./EventHandlerUtil"), exports);
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export interface MenuOptions {
|
|
2
|
+
dropdown: {
|
|
3
|
+
hoverTimeout: number;
|
|
4
|
+
zindex: number;
|
|
5
|
+
};
|
|
6
|
+
accordion: {
|
|
7
|
+
slideSpeed: number;
|
|
8
|
+
expand: boolean;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
declare const defaultMenuOptions: MenuOptions;
|
|
12
|
+
declare class MenuComponent {
|
|
13
|
+
element: HTMLElement;
|
|
14
|
+
options: MenuOptions;
|
|
15
|
+
instanceUid: string;
|
|
16
|
+
triggerElement: HTMLElement | null;
|
|
17
|
+
constructor(_element: HTMLElement, options: MenuOptions);
|
|
18
|
+
private _setTriggerElement;
|
|
19
|
+
private _isTriggerElement;
|
|
20
|
+
private _getItemOption;
|
|
21
|
+
private _getItemElement;
|
|
22
|
+
private _getItemParentElement;
|
|
23
|
+
private _getItemParentElements;
|
|
24
|
+
private _getDropdownPopperConfig;
|
|
25
|
+
private _getItemChildElement;
|
|
26
|
+
private _getItemChildElements;
|
|
27
|
+
private _getItemSubElement;
|
|
28
|
+
private _getCss;
|
|
29
|
+
private _getItemSubType;
|
|
30
|
+
private _isItemSubShown;
|
|
31
|
+
private _isItemDropdownPermanent;
|
|
32
|
+
private _isItemParentShown;
|
|
33
|
+
private _isItemSubElement;
|
|
34
|
+
private _hasItemSub;
|
|
35
|
+
private _getItemLinkElement;
|
|
36
|
+
private _getItemToggleElement;
|
|
37
|
+
private _showDropdown;
|
|
38
|
+
private initDropdownPopper;
|
|
39
|
+
private _hideDropdown;
|
|
40
|
+
private destroyDropdownPopper;
|
|
41
|
+
private _showAccordion;
|
|
42
|
+
private _hideAccordion;
|
|
43
|
+
private _hideAccordions;
|
|
44
|
+
private _reset;
|
|
45
|
+
private _destroy;
|
|
46
|
+
private _update;
|
|
47
|
+
private _hide;
|
|
48
|
+
private _show;
|
|
49
|
+
private _toggle;
|
|
50
|
+
private _mouseout;
|
|
51
|
+
private _mouseover;
|
|
52
|
+
private _dismiss;
|
|
53
|
+
private _link;
|
|
54
|
+
private _click;
|
|
55
|
+
click: (element: HTMLElement, e: Event) => void;
|
|
56
|
+
link: (element: HTMLElement, e: Event) => void;
|
|
57
|
+
dismiss: (element: HTMLElement, e: Event) => void;
|
|
58
|
+
mouseover: (element: HTMLElement, e: Event) => void;
|
|
59
|
+
mouseout: (element: HTMLElement, e: Event) => void;
|
|
60
|
+
getItemTriggerType: (item: HTMLElement) => string | boolean | JSON | null;
|
|
61
|
+
getItemSubType: (element: HTMLElement) => "dropdown" | "accordion";
|
|
62
|
+
show: (item: HTMLElement) => void;
|
|
63
|
+
hide: (item: HTMLElement) => void;
|
|
64
|
+
reset: (item: HTMLElement) => void;
|
|
65
|
+
update: () => void;
|
|
66
|
+
getElement: () => HTMLElement;
|
|
67
|
+
getItemLinkElement: (item: HTMLElement) => HTMLElement | null;
|
|
68
|
+
getItemToggleElement: (item: HTMLElement) => HTMLElement | null;
|
|
69
|
+
getItemSubElement: (item: HTMLElement) => HTMLElement | null;
|
|
70
|
+
getItemParentElements: (item: HTMLElement) => HTMLElement[];
|
|
71
|
+
isItemSubShown: (item: HTMLElement) => boolean;
|
|
72
|
+
isItemParentShown: (item: HTMLElement) => boolean;
|
|
73
|
+
getTriggerElement: () => HTMLElement | null;
|
|
74
|
+
isItemDropdownPermanent: (item: HTMLElement) => boolean;
|
|
75
|
+
hideAccordions: (item: HTMLElement) => void;
|
|
76
|
+
on: (name: string, handler: any) => void;
|
|
77
|
+
one: (name: string, handler: any) => void;
|
|
78
|
+
off: (name: string, handlerId: string) => void;
|
|
79
|
+
static getInstance: (element: HTMLElement) => MenuComponent | null;
|
|
80
|
+
static hideDropdowns: (skip: HTMLElement | undefined) => void;
|
|
81
|
+
static updateDropdowns: () => void;
|
|
82
|
+
static createInstances: (selector: string) => void;
|
|
83
|
+
static initGlobalHandlers: () => void;
|
|
84
|
+
static bootstrap: () => void;
|
|
85
|
+
static reinitialization: () => void;
|
|
86
|
+
static createInsance: (selector: string, options?: MenuOptions) => MenuComponent | undefined;
|
|
87
|
+
}
|
|
88
|
+
export { MenuComponent, defaultMenuOptions };
|