@hitsoft/e-donusum 1.0.5
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/.eslintrc.json +44 -0
- package/README.md +24 -0
- package/_metronic/kt/_utils/DomHelpers.ts +478 -0
- package/_metronic/kt/_utils/ElementAnimateUtil.ts +111 -0
- package/_metronic/kt/_utils/EventHandlerUtil.ts +144 -0
- package/_metronic/kt/_utils/_DOMEventHandlerUtil.ts +60 -0
- package/_metronic/kt/_utils/_DataUtil.ts +72 -0
- package/_metronic/kt/_utils/_ElementStyleUtil.ts +17 -0
- package/_metronic/kt/_utils/_TypesHelpers.ts +54 -0
- package/_metronic/kt/_utils/index.ts +12 -0
- package/_metronic/kt/_utils/models/OffsetModel.ts +4 -0
- package/_metronic/kt/_utils/models/ViewPortModel.ts +4 -0
- package/_metronic/kt/components/MenuComponent.ts +1093 -0
- package/_metronic/kt/components/_CookieComponent.ts +60 -0
- package/_metronic/kt/components/_DrawerComponent.ts +385 -0
- package/_metronic/kt/components/_FeedbackComponent.ts +152 -0
- package/_metronic/kt/components/_PasswordMeterComponent.ts +273 -0
- package/_metronic/kt/components/_ScrollComponent.ts +312 -0
- package/_metronic/kt/components/_ScrollTopComponent.ts +148 -0
- package/_metronic/kt/components/_StepperComponent.ts +354 -0
- package/_metronic/kt/components/_StickyComponent.ts +293 -0
- package/_metronic/kt/components/_SwapperComponent.ts +208 -0
- package/_metronic/kt/components/_ToggleComponent.ts +218 -0
- package/_metronic/kt/components/index.ts +11 -0
- package/_metronic/kt/index.ts +3 -0
- package/_metronic/kt/kt-helpers.ts +12 -0
- package/_metronic/kt/layout/ThemeMode.ts +211 -0
- package/_metronic/kt/layout/index.ts +1 -0
- package/_metronic/layout/components/content/content.component.html +12 -0
- package/_metronic/layout/components/content/content.component.scss +0 -0
- package/_metronic/layout/components/content/content.component.ts +35 -0
- package/_metronic/layout/components/footer/footer.component.html +32 -0
- package/_metronic/layout/components/footer/footer.component.scss +0 -0
- package/_metronic/layout/components/footer/footer.component.spec.ts +25 -0
- package/_metronic/layout/components/footer/footer.component.ts +13 -0
- package/_metronic/layout/components/header/header-menu/header-menu.component.html +546 -0
- package/_metronic/layout/components/header/header-menu/header-menu.component.scss +4 -0
- package/_metronic/layout/components/header/header-menu/header-menu.component.spec.ts +25 -0
- package/_metronic/layout/components/header/header-menu/header-menu.component.ts +53 -0
- package/_metronic/layout/components/header/header.component.html +87 -0
- package/_metronic/layout/components/header/header.component.scss +0 -0
- package/_metronic/layout/components/header/header.component.spec.ts +25 -0
- package/_metronic/layout/components/header/header.component.ts +139 -0
- package/_metronic/layout/components/header/navbar/navbar.component.html +92 -0
- package/_metronic/layout/components/header/navbar/navbar.component.scss +0 -0
- package/_metronic/layout/components/header/navbar/navbar.component.spec.ts +23 -0
- package/_metronic/layout/components/header/navbar/navbar.component.ts +26 -0
- package/_metronic/layout/components/header/page-title/page-title.component.html +57 -0
- package/_metronic/layout/components/header/page-title/page-title.component.ts +31 -0
- package/_metronic/layout/components/scripts-init/scripts-init.component.html +0 -0
- package/_metronic/layout/components/scripts-init/scripts-init.component.ts +82 -0
- package/_metronic/layout/components/sidebar/sidebar-footer/sidebar-footer.component.html +9 -0
- package/_metronic/layout/components/sidebar/sidebar-footer/sidebar-footer.component.scss +0 -0
- package/_metronic/layout/components/sidebar/sidebar-footer/sidebar-footer.component.spec.ts +23 -0
- package/_metronic/layout/components/sidebar/sidebar-footer/sidebar-footer.component.ts +15 -0
- package/_metronic/layout/components/sidebar/sidebar-logo/sidebar-logo.component.html +26 -0
- package/_metronic/layout/components/sidebar/sidebar-logo/sidebar-logo.component.scss +0 -0
- package/_metronic/layout/components/sidebar/sidebar-logo/sidebar-logo.component.spec.ts +23 -0
- package/_metronic/layout/components/sidebar/sidebar-logo/sidebar-logo.component.ts +36 -0
- package/_metronic/layout/components/sidebar/sidebar-menu/sidebar-menu.component.html +397 -0
- package/_metronic/layout/components/sidebar/sidebar-menu/sidebar-menu.component.scss +0 -0
- package/_metronic/layout/components/sidebar/sidebar-menu/sidebar-menu.component.spec.ts +23 -0
- package/_metronic/layout/components/sidebar/sidebar-menu/sidebar-menu.component.ts +15 -0
- package/_metronic/layout/components/sidebar/sidebar.component.html +16 -0
- package/_metronic/layout/components/sidebar/sidebar.component.scss +0 -0
- package/_metronic/layout/components/sidebar/sidebar.component.spec.ts +23 -0
- package/_metronic/layout/components/sidebar/sidebar.component.ts +203 -0
- package/_metronic/layout/components/toolbar/accounting/accounting.component.html +84 -0
- package/_metronic/layout/components/toolbar/accounting/accounting.component.scss +0 -0
- package/_metronic/layout/components/toolbar/accounting/accounting.component.spec.ts +23 -0
- package/_metronic/layout/components/toolbar/accounting/accounting.component.ts +14 -0
- package/_metronic/layout/components/toolbar/classic/classic.component.html +37 -0
- package/_metronic/layout/components/toolbar/classic/classic.component.scss +0 -0
- package/_metronic/layout/components/toolbar/classic/classic.component.spec.ts +23 -0
- package/_metronic/layout/components/toolbar/classic/classic.component.ts +88 -0
- package/_metronic/layout/components/toolbar/extended/extended.component.html +100 -0
- package/_metronic/layout/components/toolbar/extended/extended.component.scss +0 -0
- package/_metronic/layout/components/toolbar/extended/extended.component.spec.ts +23 -0
- package/_metronic/layout/components/toolbar/extended/extended.component.ts +12 -0
- package/_metronic/layout/components/toolbar/reports/reports.component.html +62 -0
- package/_metronic/layout/components/toolbar/reports/reports.component.scss +0 -0
- package/_metronic/layout/components/toolbar/reports/reports.component.spec.ts +23 -0
- package/_metronic/layout/components/toolbar/reports/reports.component.ts +14 -0
- package/_metronic/layout/components/toolbar/saas/saas.component.html +77 -0
- package/_metronic/layout/components/toolbar/saas/saas.component.scss +0 -0
- package/_metronic/layout/components/toolbar/saas/saas.component.spec.ts +23 -0
- package/_metronic/layout/components/toolbar/saas/saas.component.ts +14 -0
- package/_metronic/layout/components/toolbar/toolbar.component.html +27 -0
- package/_metronic/layout/components/toolbar/toolbar.component.scss +0 -0
- package/_metronic/layout/components/toolbar/toolbar.component.spec.ts +25 -0
- package/_metronic/layout/components/toolbar/toolbar.component.ts +126 -0
- package/_metronic/layout/components/topbar/topbar.component.html +90 -0
- package/_metronic/layout/components/topbar/topbar.component.scss +0 -0
- package/_metronic/layout/components/topbar/topbar.component.spec.ts +25 -0
- package/_metronic/layout/components/topbar/topbar.component.ts +21 -0
- package/_metronic/layout/core/configs/config.ts +215 -0
- package/_metronic/layout/core/configs/dark-header.config.ts +138 -0
- package/_metronic/layout/core/configs/dark-sidebar.config.ts +138 -0
- package/_metronic/layout/core/configs/light-header.config.ts +138 -0
- package/_metronic/layout/core/configs/light-sidebar.config.ts +138 -0
- package/_metronic/layout/core/layout-init.service.ts +133 -0
- package/_metronic/layout/core/layout.service.ts +227 -0
- package/_metronic/layout/core/page-info.service.ts +151 -0
- package/_metronic/layout/index.ts +3 -0
- package/_metronic/layout/layout.component.html +70 -0
- package/_metronic/layout/layout.component.scss +15 -0
- package/_metronic/layout/layout.component.ts +400 -0
- package/_metronic/layout/layout.module.ts +93 -0
- package/_metronic/partials/content/cards/card1/card1.component.html +80 -0
- package/_metronic/partials/content/cards/card1/card1.component.ts +19 -0
- package/_metronic/partials/content/cards/card2/card2.component.html +69 -0
- package/_metronic/partials/content/cards/card2/card2.component.ts +21 -0
- package/_metronic/partials/content/cards/card3/card3.component.html +78 -0
- package/_metronic/partials/content/cards/card3/card3.component.ts +18 -0
- package/_metronic/partials/content/cards/card4/card4.component.html +9 -0
- package/_metronic/partials/content/cards/card4/card4.component.ts +14 -0
- package/_metronic/partials/content/cards/card5/card5.component.html +58 -0
- package/_metronic/partials/content/cards/card5/card5.component.ts +19 -0
- package/_metronic/partials/content/cards/cards.module.ts +39 -0
- package/_metronic/partials/content/cards/icon-user.model.ts +6 -0
- package/_metronic/partials/content/cards/user-list/user-list.component.html +15 -0
- package/_metronic/partials/content/cards/user-list/user-list.component.scss +0 -0
- package/_metronic/partials/content/cards/user-list/user-list.component.spec.ts +25 -0
- package/_metronic/partials/content/cards/user-list/user-list.component.ts +15 -0
- package/_metronic/partials/content/chat-inner/chat-inner.component.html +122 -0
- package/_metronic/partials/content/chat-inner/chat-inner.component.ts +74 -0
- package/_metronic/partials/content/chat-inner/chat-inner.module.ts +11 -0
- package/_metronic/partials/content/chat-inner/dataExample.ts +209 -0
- package/_metronic/partials/content/dropdown-menus/dropdown-menu1/dropdown-menu1.component.html +88 -0
- package/_metronic/partials/content/dropdown-menus/dropdown-menu1/dropdown-menu1.component.ts +15 -0
- package/_metronic/partials/content/dropdown-menus/dropdown-menu2/dropdown-menu2.component.html +53 -0
- package/_metronic/partials/content/dropdown-menus/dropdown-menu2/dropdown-menu2.component.ts +15 -0
- package/_metronic/partials/content/dropdown-menus/dropdown-menu3/dropdown-menu3.component.html +74 -0
- package/_metronic/partials/content/dropdown-menus/dropdown-menu3/dropdown-menu3.component.ts +15 -0
- package/_metronic/partials/content/dropdown-menus/dropdown-menus.module.ts +20 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget17/cards-widget17.component.html +100 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget17/cards-widget17.component.scss +0 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget17/cards-widget17.component.spec.ts +23 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget17/cards-widget17.component.ts +89 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget18/cards-widget18.component.html +154 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget18/cards-widget18.component.scss +0 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget18/cards-widget18.component.spec.ts +23 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget18/cards-widget18.component.ts +28 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget20/cards-widget20.component.html +40 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget20/cards-widget20.component.scss +3 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget20/cards-widget20.component.spec.ts +23 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget20/cards-widget20.component.ts +16 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget7/cards-widget7.component.html +47 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget7/cards-widget7.component.scss +0 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget7/cards-widget7.component.spec.ts +23 -0
- package/_metronic/partials/content/widgets/_new/cards/cards-widget7/cards-widget7.component.ts +29 -0
- package/_metronic/partials/content/widgets/_new/charts/new-charts-widget8/new-charts-widget8.component.html +298 -0
- package/_metronic/partials/content/widgets/_new/charts/new-charts-widget8/new-charts-widget8.component.scss +0 -0
- package/_metronic/partials/content/widgets/_new/charts/new-charts-widget8/new-charts-widget8.component.spec.ts +23 -0
- package/_metronic/partials/content/widgets/_new/charts/new-charts-widget8/new-charts-widget8.component.ts +358 -0
- package/_metronic/partials/content/widgets/_new/engage/engage-widget10/engage-widget10.component.html +47 -0
- package/_metronic/partials/content/widgets/_new/engage/engage-widget10/engage-widget10.component.scss +0 -0
- package/_metronic/partials/content/widgets/_new/engage/engage-widget10/engage-widget10.component.spec.ts +23 -0
- package/_metronic/partials/content/widgets/_new/engage/engage-widget10/engage-widget10.component.ts +15 -0
- package/_metronic/partials/content/widgets/_new/lists/lists-widget26/lists-widget26.component.html +46 -0
- package/_metronic/partials/content/widgets/_new/lists/lists-widget26/lists-widget26.component.scss +0 -0
- package/_metronic/partials/content/widgets/_new/lists/lists-widget26/lists-widget26.component.spec.ts +23 -0
- package/_metronic/partials/content/widgets/_new/lists/lists-widget26/lists-widget26.component.ts +20 -0
- package/_metronic/partials/content/widgets/_new/tables/tables-widget16/tables-widget16.component.html +1 -0
- package/_metronic/partials/content/widgets/_new/tables/tables-widget16/tables-widget16.component.scss +0 -0
- package/_metronic/partials/content/widgets/_new/tables/tables-widget16/tables-widget16.component.spec.ts +23 -0
- package/_metronic/partials/content/widgets/_new/tables/tables-widget16/tables-widget16.component.ts +15 -0
- package/_metronic/partials/content/widgets/advance-tables/advance-tables-widget1/advance-tables-widget1.component.html +400 -0
- package/_metronic/partials/content/widgets/advance-tables/advance-tables-widget1/advance-tables-widget1.component.ts +10 -0
- package/_metronic/partials/content/widgets/advance-tables/advance-tables-widget2/advance-tables-widget2.component.html +357 -0
- package/_metronic/partials/content/widgets/advance-tables/advance-tables-widget2/advance-tables-widget2.component.ts +17 -0
- package/_metronic/partials/content/widgets/advance-tables/advance-tables-widget7/advance-tables-widget7.component.html +1267 -0
- package/_metronic/partials/content/widgets/advance-tables/advance-tables-widget7/advance-tables-widget7.component.ts +16 -0
- package/_metronic/partials/content/widgets/base-tables/base-tables-widget1/base-tables-widget1.component.html +1108 -0
- package/_metronic/partials/content/widgets/base-tables/base-tables-widget1/base-tables-widget1.component.ts +25 -0
- package/_metronic/partials/content/widgets/base-tables/base-tables-widget2/base-tables-widget2.component.html +675 -0
- package/_metronic/partials/content/widgets/base-tables/base-tables-widget2/base-tables-widget2.component.ts +21 -0
- package/_metronic/partials/content/widgets/base-tables/base-tables-widget6/base-tables-widget6.component.html +985 -0
- package/_metronic/partials/content/widgets/base-tables/base-tables-widget6/base-tables-widget6.component.ts +21 -0
- package/_metronic/partials/content/widgets/charts/charts-widget1/charts-widget1.component.html +51 -0
- package/_metronic/partials/content/widgets/charts/charts-widget1/charts-widget1.component.ts +128 -0
- package/_metronic/partials/content/widgets/charts/charts-widget2/charts-widget2.component.html +62 -0
- package/_metronic/partials/content/widgets/charts/charts-widget2/charts-widget2.component.ts +129 -0
- package/_metronic/partials/content/widgets/charts/charts-widget3/charts-widget3.component.html +63 -0
- package/_metronic/partials/content/widgets/charts/charts-widget3/charts-widget3.component.ts +141 -0
- package/_metronic/partials/content/widgets/charts/charts-widget4/charts-widget4.component.html +55 -0
- package/_metronic/partials/content/widgets/charts/charts-widget4/charts-widget4.component.ts +146 -0
- package/_metronic/partials/content/widgets/charts/charts-widget5/charts-widget5.component.html +36 -0
- package/_metronic/partials/content/widgets/charts/charts-widget5/charts-widget5.component.ts +132 -0
- package/_metronic/partials/content/widgets/charts/charts-widget6/charts-widget6.component.html +54 -0
- package/_metronic/partials/content/widgets/charts/charts-widget6/charts-widget6.component.ts +146 -0
- package/_metronic/partials/content/widgets/charts/charts-widget7/charts-widget7.component.html +66 -0
- package/_metronic/partials/content/widgets/charts/charts-widget7/charts-widget7.component.ts +167 -0
- package/_metronic/partials/content/widgets/charts/charts-widget8/charts-widget8.component.html +66 -0
- package/_metronic/partials/content/widgets/charts/charts-widget8/charts-widget8.component.ts +170 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget2/feeds-widget2.component.html +107 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget2/feeds-widget2.component.ts +11 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget3/feeds-widget3.component.html +186 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget3/feeds-widget3.component.ts +11 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget4/feeds-widget4.component.html +106 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget4/feeds-widget4.component.ts +11 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget5/feeds-widget5.component.html +114 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget5/feeds-widget5.component.ts +11 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget6/feeds-widget6.component.html +117 -0
- package/_metronic/partials/content/widgets/feeds/feeds-widget6/feeds-widget6.component.ts +11 -0
- package/_metronic/partials/content/widgets/lists/lists-widget1/lists-widget1.component.html +123 -0
- package/_metronic/partials/content/widgets/lists/lists-widget1/lists-widget1.component.ts +9 -0
- package/_metronic/partials/content/widgets/lists/lists-widget2/lists-widget2.component.html +108 -0
- package/_metronic/partials/content/widgets/lists/lists-widget2/lists-widget2.component.ts +9 -0
- package/_metronic/partials/content/widgets/lists/lists-widget3/lists-widget3.component.html +149 -0
- package/_metronic/partials/content/widgets/lists/lists-widget3/lists-widget3.component.ts +9 -0
- package/_metronic/partials/content/widgets/lists/lists-widget4/lists-widget4.component.html +192 -0
- package/_metronic/partials/content/widgets/lists/lists-widget4/lists-widget4.component.ts +10 -0
- package/_metronic/partials/content/widgets/lists/lists-widget5/lists-widget5.component.html +169 -0
- package/_metronic/partials/content/widgets/lists/lists-widget5/lists-widget5.component.ts +9 -0
- package/_metronic/partials/content/widgets/lists/lists-widget6/lists-widget6.component.html +103 -0
- package/_metronic/partials/content/widgets/lists/lists-widget6/lists-widget6.component.ts +9 -0
- package/_metronic/partials/content/widgets/lists/lists-widget7/lists-widget7.component.html +130 -0
- package/_metronic/partials/content/widgets/lists/lists-widget7/lists-widget7.component.ts +9 -0
- package/_metronic/partials/content/widgets/lists/lists-widget8/lists-widget8.component.html +182 -0
- package/_metronic/partials/content/widgets/lists/lists-widget8/lists-widget8.component.ts +10 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget1/mixed-widget1.component.html +169 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget1/mixed-widget1.component.ts +10 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget10/mixed-widget10.component.html +39 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget10/mixed-widget10.component.ts +140 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget11/mixed-widget11.component.html +40 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget11/mixed-widget11.component.ts +133 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget2/mixed-widget2.component.html +84 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget2/mixed-widget2.component.ts +157 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget3/mixed-widget3.component.html +92 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget3/mixed-widget3.component.ts +141 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget4/mixed-widget4.component.html +101 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget4/mixed-widget4.component.ts +14 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget5/mixed-widget5.component.html +57 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget5/mixed-widget5.component.ts +14 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget6/mixed-widget6.component.html +118 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget6/mixed-widget6.component.ts +140 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget7/mixed-widget7.component.html +60 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget7/mixed-widget7.component.ts +65 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget8/mixed-widget8.component.html +158 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget8/mixed-widget8.component.ts +164 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget9/mixed-widget9.component.html +147 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget9/mixed-widget9.component.scss +0 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget9/mixed-widget9.component.spec.ts +25 -0
- package/_metronic/partials/content/widgets/mixed/mixed-widget9/mixed-widget9.component.ts +140 -0
- package/_metronic/partials/content/widgets/stats/stats-widget1/stats-widget1.component.html +12 -0
- package/_metronic/partials/content/widgets/stats/stats-widget1/stats-widget1.component.ts +13 -0
- package/_metronic/partials/content/widgets/stats/stats-widget2/stats-widget2.component.html +13 -0
- package/_metronic/partials/content/widgets/stats/stats-widget2/stats-widget2.component.ts +14 -0
- package/_metronic/partials/content/widgets/stats/stats-widget3/stats-widget3.component.html +46 -0
- package/_metronic/partials/content/widgets/stats/stats-widget3/stats-widget3.component.ts +160 -0
- package/_metronic/partials/content/widgets/stats/stats-widget4/stats-widget4.component.html +44 -0
- package/_metronic/partials/content/widgets/stats/stats-widget4/stats-widget4.component.ts +159 -0
- package/_metronic/partials/content/widgets/stats/stats-widget5/stats-widget5.component.html +14 -0
- package/_metronic/partials/content/widgets/stats/stats-widget5/stats-widget5.component.ts +15 -0
- package/_metronic/partials/content/widgets/stats/stats-widget6/stats-widget6.component.html +24 -0
- package/_metronic/partials/content/widgets/stats/stats-widget6/stats-widget6.component.ts +14 -0
- package/_metronic/partials/content/widgets/tables/tables-widget1/tables-widget1.component.html +273 -0
- package/_metronic/partials/content/widgets/tables/tables-widget1/tables-widget1.component.ts +9 -0
- package/_metronic/partials/content/widgets/tables/tables-widget10/tables-widget10.component.html +489 -0
- package/_metronic/partials/content/widgets/tables/tables-widget10/tables-widget10.component.ts +11 -0
- package/_metronic/partials/content/widgets/tables/tables-widget11/tables-widget11.component.html +464 -0
- package/_metronic/partials/content/widgets/tables/tables-widget11/tables-widget11.component.ts +11 -0
- package/_metronic/partials/content/widgets/tables/tables-widget12/tables-widget12.component.html +550 -0
- package/_metronic/partials/content/widgets/tables/tables-widget12/tables-widget12.component.ts +11 -0
- package/_metronic/partials/content/widgets/tables/tables-widget13/tables-widget13.component.html +485 -0
- package/_metronic/partials/content/widgets/tables/tables-widget13/tables-widget13.component.ts +11 -0
- package/_metronic/partials/content/widgets/tables/tables-widget14/tables-widget14.component.html +1 -0
- package/_metronic/partials/content/widgets/tables/tables-widget14/tables-widget14.component.scss +0 -0
- package/_metronic/partials/content/widgets/tables/tables-widget14/tables-widget14.component.spec.ts +25 -0
- package/_metronic/partials/content/widgets/tables/tables-widget14/tables-widget14.component.ts +15 -0
- package/_metronic/partials/content/widgets/tables/tables-widget2/tables-widget2.component.html +238 -0
- package/_metronic/partials/content/widgets/tables/tables-widget2/tables-widget2.component.ts +9 -0
- package/_metronic/partials/content/widgets/tables/tables-widget3/tables-widget3.component.html +150 -0
- package/_metronic/partials/content/widgets/tables/tables-widget3/tables-widget3.component.ts +11 -0
- package/_metronic/partials/content/widgets/tables/tables-widget4/tables-widget4.component.html +707 -0
- package/_metronic/partials/content/widgets/tables/tables-widget4/tables-widget4.component.ts +24 -0
- package/_metronic/partials/content/widgets/tables/tables-widget5/tables-widget5.component.html +608 -0
- package/_metronic/partials/content/widgets/tables/tables-widget5/tables-widget5.component.ts +26 -0
- package/_metronic/partials/content/widgets/tables/tables-widget6/tables-widget6.component.html +632 -0
- package/_metronic/partials/content/widgets/tables/tables-widget6/tables-widget6.component.ts +26 -0
- package/_metronic/partials/content/widgets/tables/tables-widget7/tables-widget7.component.html +616 -0
- package/_metronic/partials/content/widgets/tables/tables-widget7/tables-widget7.component.ts +26 -0
- package/_metronic/partials/content/widgets/tables/tables-widget8/tables-widget8.component.html +575 -0
- package/_metronic/partials/content/widgets/tables/tables-widget8/tables-widget8.component.ts +26 -0
- package/_metronic/partials/content/widgets/tables/tables-widget9/tables-widget9.component.html +489 -0
- package/_metronic/partials/content/widgets/tables/tables-widget9/tables-widget9.component.ts +9 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget1/tiles-widget1.component.html +175 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget1/tiles-widget1.component.ts +202 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget10/tiles-widget10.component.html +27 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget10/tiles-widget10.component.ts +12 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget11/tiles-widget11.component.html +28 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget11/tiles-widget11.component.ts +19 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget12/tiles-widget12.component.html +21 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget12/tiles-widget12.component.ts +18 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget13/tiles-widget13.component.html +26 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget13/tiles-widget13.component.ts +12 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget14/tiles-widget14.component.html +24 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget14/tiles-widget14.component.ts +10 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget3/tiles-widget3.component.html +23 -0
- package/_metronic/partials/content/widgets/tiles/tiles-widget3/tiles-widget3.component.ts +12 -0
- package/_metronic/partials/content/widgets/widgets.module.ts +262 -0
- package/_metronic/partials/index.ts +16 -0
- package/_metronic/partials/layout/drawers/activity-drawer/activity-drawer.component.html +649 -0
- package/_metronic/partials/layout/drawers/activity-drawer/activity-drawer.component.ts +11 -0
- package/_metronic/partials/layout/drawers/drawers.module.ts +21 -0
- package/_metronic/partials/layout/drawers/messenger-drawer/messenger-drawer.component.html +59 -0
- package/_metronic/partials/layout/drawers/messenger-drawer/messenger-drawer.component.ts +11 -0
- package/_metronic/partials/layout/engages/engages.component.html +29 -0
- package/_metronic/partials/layout/engages/engages.component.scss +0 -0
- package/_metronic/partials/layout/engages/engages.component.ts +15 -0
- package/_metronic/partials/layout/engages/engages.module.ts +29 -0
- package/_metronic/partials/layout/engages/explore-main-drawer/explore-main-drawer.component.html +177 -0
- package/_metronic/partials/layout/engages/explore-main-drawer/explore-main-drawer.component.ts +19 -0
- package/_metronic/partials/layout/engages/help-drawer/help-drawer.component.html +156 -0
- package/_metronic/partials/layout/engages/help-drawer/help-drawer.component.ts +17 -0
- package/_metronic/partials/layout/engages/purchase-toolbar/purchase-toolbar.component.html +8 -0
- package/_metronic/partials/layout/engages/purchase-toolbar/purchase-toolbar.component.ts +16 -0
- package/_metronic/partials/layout/extras/dropdown-inner/notifications-inner/notifications-inner.component.html +176 -0
- package/_metronic/partials/layout/extras/dropdown-inner/notifications-inner/notifications-inner.component.ts +155 -0
- package/_metronic/partials/layout/extras/dropdown-inner/quick-links-inner/quick-links-inner.component.html +77 -0
- package/_metronic/partials/layout/extras/dropdown-inner/quick-links-inner/quick-links-inner.component.ts +13 -0
- package/_metronic/partials/layout/extras/dropdown-inner/search-result-inner/search-result-inner.component.html +120 -0
- package/_metronic/partials/layout/extras/dropdown-inner/search-result-inner/search-result-inner.component.ts +104 -0
- package/_metronic/partials/layout/extras/dropdown-inner/user-inner/user-inner.component.html +161 -0
- package/_metronic/partials/layout/extras/dropdown-inner/user-inner/user-inner.component.ts +95 -0
- package/_metronic/partials/layout/extras/extras.module.ts +41 -0
- package/_metronic/partials/layout/extras/scroll-top/scroll-top.component.html +1 -0
- package/_metronic/partials/layout/extras/scroll-top/scroll-top.component.ts +75 -0
- package/_metronic/partials/layout/modals/invite-users-modal/invite-users-modal.component.html +0 -0
- package/_metronic/partials/layout/modals/invite-users-modal/invite-users-modal.component.ts +9 -0
- package/_metronic/partials/layout/modals/main-modal/main-modal.component.html +0 -0
- package/_metronic/partials/layout/modals/main-modal/main-modal.component.ts +9 -0
- package/_metronic/partials/layout/modals/modal/modal.component.html +31 -0
- package/_metronic/partials/layout/modals/modal/modal.component.ts +50 -0
- package/_metronic/partials/layout/modals/modal.config.ts +13 -0
- package/_metronic/partials/layout/modals/modals.module.ts +34 -0
- package/_metronic/partials/layout/modals/upgrade-plan-modal/upgrade-plan-modal.component.html +0 -0
- package/_metronic/partials/layout/modals/upgrade-plan-modal/upgrade-plan-modal.component.ts +9 -0
- package/_metronic/partials/layout/splash-screen/splash-screen.component.html +14 -0
- package/_metronic/partials/layout/splash-screen/splash-screen.component.scss +57 -0
- package/_metronic/partials/layout/splash-screen/splash-screen.component.ts +17 -0
- package/_metronic/partials/layout/splash-screen/splash-screen.module.ts +10 -0
- package/_metronic/partials/layout/splash-screen/splash-screen.service.ts +51 -0
- package/_metronic/partials/layout/theme-mode-switcher/theme-mode-switcher.component.html +56 -0
- package/_metronic/partials/layout/theme-mode-switcher/theme-mode-switcher.component.ts +27 -0
- package/_metronic/partials/layout/theme-mode-switcher/theme-mode.module.ts +16 -0
- package/_metronic/partials/layout/theme-mode-switcher/theme-mode.service.ts +87 -0
- package/_metronic/shared/keenicon/icons.json +1 -0
- package/_metronic/shared/keenicon/keenicon.component.html +4 -0
- package/_metronic/shared/keenicon/keenicon.component.scss +0 -0
- package/_metronic/shared/keenicon/keenicon.component.spec.ts +23 -0
- package/_metronic/shared/keenicon/keenicon.component.ts +30 -0
- package/_metronic/shared/shared.module.ts +17 -0
- package/config/ng-package.json +7 -0
- package/config/src/e-donusum-config.module.ts +98 -0
- package/config/src/enums/eDonusum-route-names.ts +9 -0
- package/config/src/enums/index.ts +1 -0
- package/config/src/enums/route-names.ts +3 -0
- package/config/src/providers/branch-route.provider.ts +21 -0
- package/config/src/providers/business-partner-group-route.provider.ts +21 -0
- package/config/src/providers/business-partner-route.provider.ts +21 -0
- package/config/src/providers/despatch-document-reference-route.provider.ts +21 -0
- package/config/src/providers/despatch-line-order-line-reference-route.provider.ts +20 -0
- package/config/src/providers/despatch-line-route.provider.ts +21 -0
- package/config/src/providers/despatch-note-route.provider.ts +21 -0
- package/config/src/providers/despatch-route.provider.ts +21 -0
- package/config/src/providers/gib-partner-pk-all-route.provider.ts +21 -0
- package/config/src/providers/gib-partner-pk-route.provider.ts +21 -0
- package/config/src/providers/hit-providers/branch-route.provider.ts +23 -0
- package/config/src/providers/hit-providers/business-partner-group-route.provider.ts +23 -0
- package/config/src/providers/hit-providers/business-partner-route.provider.ts +23 -0
- package/config/src/providers/hit-providers/despatch-route.provider.ts +22 -0
- package/config/src/providers/hit-providers/gib-partner-pk-all-route.provider.ts +22 -0
- package/config/src/providers/hit-providers/gib-partner-pk-route.provider.ts +22 -0
- package/config/src/providers/hit-providers/inbound-invoice-route.provider.ts +22 -0
- package/config/src/providers/hit-providers/invoice-route.provider.ts +22 -0
- package/config/src/providers/hit-providers/note-rule-route.provider.ts +23 -0
- package/config/src/providers/hit-providers/route.provider.ts +62 -0
- package/config/src/providers/hit-providers/wizard-route.provider.ts +21 -0
- package/config/src/providers/hit-providers/xslt-format-route.provider.ts +22 -0
- package/config/src/providers/hit-providers/xslt-rule-route.provider.ts +22 -0
- package/config/src/providers/index.ts +1 -0
- package/config/src/providers/invoice-document-reference-route.provider.ts +21 -0
- package/config/src/providers/invoice-line-despatch-line-reference-route.provider.ts +20 -0
- package/config/src/providers/invoice-line-order-line-reference-route.provider.ts +21 -0
- package/config/src/providers/invoice-line-receipt-line-reference-route.provider.ts +20 -0
- package/config/src/providers/invoice-line-route.provider.ts +21 -0
- package/config/src/providers/invoice-note-route.provider.ts +21 -0
- package/config/src/providers/invoice-route.provider.ts +21 -0
- package/config/src/providers/note-rule-doc-type-route.provider.ts +21 -0
- package/config/src/providers/note-rule-route.provider.ts +21 -0
- package/config/src/providers/note-rule-scenario-route.provider.ts +21 -0
- package/config/src/providers/params-company-route.provider.ts +21 -0
- package/config/src/providers/params-general-route.provider.ts +21 -0
- package/config/src/providers/params-integrator-route.provider.ts +21 -0
- package/config/src/providers/paramse-dispatch-route.provider.ts +21 -0
- package/config/src/providers/paramse-invoice-route.provider.ts +21 -0
- package/config/src/providers/route.provider.ts +26 -0
- package/config/src/providers/xslt-format-route.provider.ts +21 -0
- package/config/src/providers/xslt-rule-doc-type-route.provider.ts +21 -0
- package/config/src/providers/xslt-rule-route.provider.ts +21 -0
- package/config/src/providers/xslt-rule-scenario-route.provider.ts +21 -0
- package/config/src/public-api.ts +3 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +20 -0
- package/src/lib/branches/branch/branch-routing.module.ts +36 -0
- package/src/lib/branches/branch/branch.module.ts +34 -0
- package/src/lib/branches/branch/components/branch.component.html +375 -0
- package/src/lib/branches/branch/components/branch.component.ts +141 -0
- package/src/lib/business-partner-groups/business-partner-group/business-partner-group-routing.module.ts +36 -0
- package/src/lib/business-partner-groups/business-partner-group/business-partner-group.module.ts +34 -0
- package/src/lib/business-partner-groups/business-partner-group/components/business-partner-group.component.html +273 -0
- package/src/lib/business-partner-groups/business-partner-group/components/business-partner-group.component.ts +129 -0
- package/src/lib/business-partners/business-partner/business-partner-routing.module.ts +36 -0
- package/src/lib/business-partners/business-partner/business-partner.module.ts +34 -0
- package/src/lib/business-partners/business-partner/components/business-partner.component.html +584 -0
- package/src/lib/business-partners/business-partner/components/business-partner.component.ts +150 -0
- package/src/lib/components/e-donusum.component.ts +15 -0
- package/src/lib/components/hit-inbound-invoices/hit-inbound-invoice-routing.module.ts +37 -0
- package/src/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.html +165 -0
- package/src/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.ts +131 -0
- package/src/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.ts +44 -0
- package/src/lib/components/hit-invoices/hit-invoice.component.html +1309 -0
- package/src/lib/components/hit-invoices/hit-invoice.component.ts +114 -0
- package/src/lib/components/hit-invoices/hit-invoice.module.ts +43 -0
- package/src/lib/components/hit-invoices/sanitize-html.pipe.ts +15 -0
- package/src/lib/components/hit-note-rules/hit-note-rule.component.html +384 -0
- package/src/lib/components/hit-note-rules/hit-note-rule.component.ts +388 -0
- package/src/lib/components/hit-note-rules/hit-note-rule.module.ts +40 -0
- package/src/lib/components/hit-paramas-invoices/hit-params-invoice.component.html +90 -0
- package/src/lib/components/hit-paramas-invoices/hit-params-invoice.component.ts +147 -0
- package/src/lib/components/hit-paramas-invoices/hit-params-invoice.module.ts +20 -0
- package/src/lib/components/hit-params-companies/hit-params-company.component.html +209 -0
- package/src/lib/components/hit-params-companies/hit-params-company.component.ts +153 -0
- package/src/lib/components/hit-params-companies/hit-params-company.module.ts +18 -0
- package/src/lib/components/hit-params-dispatches/hit-params-dispatch.component.html +178 -0
- package/src/lib/components/hit-params-dispatches/hit-params-dispatch.component.ts +167 -0
- package/src/lib/components/hit-params-dispatches/hit-params-dispatch.module.ts +20 -0
- package/src/lib/components/hit-params-generals/hit-params-general.component.html +0 -0
- package/src/lib/components/hit-params-generals/hit-params-general.component.ts +67 -0
- package/src/lib/components/hit-params-generals/hit-params-general.module.ts +22 -0
- package/src/lib/components/hit-params-generals/hit-params-generals-part1/hit-params-general-part1.component.html +91 -0
- package/src/lib/components/hit-params-generals/hit-params-generals-part1/hit-params-general-part1.component.ts +203 -0
- package/src/lib/components/hit-params-generals/hit-params-generals-part1/hit-params-general-part1.module.ts +21 -0
- package/src/lib/components/hit-params-generals/hit-params-generals-part2/hit-params-general-part2.component.html +27 -0
- package/src/lib/components/hit-params-generals/hit-params-generals-part2/hit-params-general-part2.component.ts +94 -0
- package/src/lib/components/hit-params-generals/hit-params-generals-part2/hit-params-general-part2.module.ts +20 -0
- package/src/lib/components/hit-params-integrators/hit-params-integrator.component.html +116 -0
- package/src/lib/components/hit-params-integrators/hit-params-integrator.component.ts +216 -0
- package/src/lib/components/hit-params-integrators/hit-params-integrator.module.ts +20 -0
- package/src/lib/components/hit-setup-wizard/hit-setup-wizard-routing.module.ts +37 -0
- package/src/lib/components/hit-setup-wizard/hit-setup-wizard.component.html +277 -0
- package/src/lib/components/hit-setup-wizard/hit-setup-wizard.component.ts +147 -0
- package/src/lib/components/hit-setup-wizard/hit-setup-wizard.module.ts +37 -0
- package/src/lib/components/hit-xslt-formats/hit-xslt-format.component.html +142 -0
- package/src/lib/components/hit-xslt-formats/hit-xslt-format.component.ts +179 -0
- package/src/lib/components/hit-xslt-formats/hit-xslt-format.module.ts +38 -0
- package/src/lib/components/hit-xslt-rules/hit-xslt-rule.component.html +341 -0
- package/src/lib/components/hit-xslt-rules/hit-xslt-rule.component.ts +363 -0
- package/src/lib/components/hit-xslt-rules/hit-xslt-rule.module.ts +40 -0
- package/src/lib/despatch-document-references/despatch-document-reference/components/despatch-document-reference.component.html +446 -0
- package/src/lib/despatch-document-references/despatch-document-reference/components/despatch-document-reference.component.ts +157 -0
- package/src/lib/despatch-document-references/despatch-document-reference/despatch-document-reference-routing.module.ts +36 -0
- package/src/lib/despatch-document-references/despatch-document-reference/despatch-document-reference.module.ts +34 -0
- package/src/lib/despatch-line-order-line-references/despatch-line-order-line-reference/components/despatch-line-order-line-reference.component.html +786 -0
- package/src/lib/despatch-line-order-line-references/despatch-line-order-line-reference/components/despatch-line-order-line-reference.component.ts +169 -0
- package/src/lib/despatch-line-order-line-references/despatch-line-order-line-reference/despatch-line-order-line-reference-routing.module.ts +36 -0
- package/src/lib/despatch-line-order-line-references/despatch-line-order-line-reference/despatch-line-order-line-reference.module.ts +34 -0
- package/src/lib/despatch-lines/despatch-line/components/despatch-line.component.html +843 -0
- package/src/lib/despatch-lines/despatch-line/components/despatch-line.component.ts +190 -0
- package/src/lib/despatch-lines/despatch-line/despatch-line-routing.module.ts +36 -0
- package/src/lib/despatch-lines/despatch-line/despatch-line.module.ts +34 -0
- package/src/lib/despatch-notes/despatch-note/components/despatch-note.component.html +181 -0
- package/src/lib/despatch-notes/despatch-note/components/despatch-note.component.ts +141 -0
- package/src/lib/despatch-notes/despatch-note/despatch-note-routing.module.ts +36 -0
- package/src/lib/despatch-notes/despatch-note/despatch-note.module.ts +34 -0
- package/src/lib/despatches/despatch/components/despatch.component.html +3798 -0
- package/src/lib/despatches/despatch/components/despatch.component.ts +387 -0
- package/src/lib/despatches/despatch/despatch-routing.module.ts +36 -0
- package/src/lib/despatches/despatch/despatch.module.ts +34 -0
- package/src/lib/e-donusum-routing.module.ts +102 -0
- package/src/lib/e-donusum.component.spec.ts +25 -0
- package/src/lib/e-donusum.module.ts +54 -0
- package/src/lib/e-donusum.service.spec.ts +16 -0
- package/src/lib/gib-partner-pk-alls/gib-partner-pk-all/components/gib-partner-pk-all.component.html +671 -0
- package/src/lib/gib-partner-pk-alls/gib-partner-pk-all/components/gib-partner-pk-all.component.ts +157 -0
- package/src/lib/gib-partner-pk-alls/gib-partner-pk-all/gib-partner-pk-all-routing.module.ts +36 -0
- package/src/lib/gib-partner-pk-alls/gib-partner-pk-all/gib-partner-pk-all.module.ts +34 -0
- package/src/lib/gib-partner-pks/gib-partner-pk/components/gib-partner-pk.component.html +671 -0
- package/src/lib/gib-partner-pks/gib-partner-pk/components/gib-partner-pk.component.ts +154 -0
- package/src/lib/gib-partner-pks/gib-partner-pk/gib-partner-pk-routing.module.ts +36 -0
- package/src/lib/gib-partner-pks/gib-partner-pk/gib-partner-pk.module.ts +34 -0
- package/src/lib/hit-proxy/devexpress-query-builder/devexpress-load-options.model.ts +20 -0
- package/src/lib/hit-proxy/devexpress-query-builder/devexpress-query-builder.ts +51 -0
- package/src/lib/hit-proxy/hit-branches/hit-branch.service.ts +29 -0
- package/src/lib/hit-proxy/hit-connectors/hit-connector.service.ts +43 -0
- package/src/lib/hit-proxy/hit-content-master/models.ts +14 -0
- package/src/lib/hit-proxy/hit-document-types/hit-document-type.service.ts +27 -0
- package/src/lib/hit-proxy/hit-entegrators/hit-entegrator.service.ts +45 -0
- package/src/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.ts +34 -0
- package/src/lib/hit-proxy/hit-inventory-transfer-addresses/hit-inventory-transfer-address.service.ts +20 -0
- package/src/lib/hit-proxy/hit-invoices/hit-invoice.service.ts +96 -0
- package/src/lib/hit-proxy/hit-note-rule-doc-types/hit-note-rule-doc-type.service.ts +20 -0
- package/src/lib/hit-proxy/hit-note-rule-scenarios/hit-note-rule-scenario.service.ts +20 -0
- package/src/lib/hit-proxy/hit-note-rules/hit-note-rule.service.ts +83 -0
- package/src/lib/hit-proxy/hit-note-rules/models.ts +42 -0
- package/src/lib/hit-proxy/hit-params-companies/hit-params-company.service.ts +37 -0
- package/src/lib/hit-proxy/hit-params-dispatches/hit-params-dispatch.service.ts +20 -0
- package/src/lib/hit-proxy/hit-params-generals/hit-params-general.service.ts +20 -0
- package/src/lib/hit-proxy/hit-params-integrators/hit-params-integrator.service.ts +20 -0
- package/src/lib/hit-proxy/hit-params-invoices/hit-params-invoice.service.ts +20 -0
- package/src/lib/hit-proxy/hit-scenario-types/hit-scenario-type.service.ts +27 -0
- package/src/lib/hit-proxy/hit-xslt-formats/hit-xslt-format.service.ts +57 -0
- package/src/lib/hit-proxy/hit-xslt-formats/models.ts +12 -0
- package/src/lib/hit-proxy/hit-xslt-rule-doc-types/hit-xslt-rule-doc-type.service.ts +20 -0
- package/src/lib/hit-proxy/hit-xslt-rule-scenarios/hit-xslt-rule-scenario.service.ts +20 -0
- package/src/lib/hit-proxy/hit-xslt-rules/hit-xslt-rule.service.ts +71 -0
- package/src/lib/hit-proxy/hit-xslt-rules/models.ts +42 -0
- package/src/lib/invoice-document-references/invoice-document-reference/components/invoice-document-reference.component.html +446 -0
- package/src/lib/invoice-document-references/invoice-document-reference/components/invoice-document-reference.component.ts +157 -0
- package/src/lib/invoice-document-references/invoice-document-reference/invoice-document-reference-routing.module.ts +36 -0
- package/src/lib/invoice-document-references/invoice-document-reference/invoice-document-reference.module.ts +34 -0
- package/src/lib/invoice-line-despatch-line-references/invoice-line-despatch-line-reference/components/invoice-line-despatch-line-reference.component.html +497 -0
- package/src/lib/invoice-line-despatch-line-references/invoice-line-despatch-line-reference/components/invoice-line-despatch-line-reference.component.ts +157 -0
- package/src/lib/invoice-line-despatch-line-references/invoice-line-despatch-line-reference/invoice-line-despatch-line-reference-routing.module.ts +36 -0
- package/src/lib/invoice-line-despatch-line-references/invoice-line-despatch-line-reference/invoice-line-despatch-line-reference.module.ts +34 -0
- package/src/lib/invoice-line-order-line-references/invoice-line-order-line-reference/components/invoice-line-order-line-reference.component.html +783 -0
- package/src/lib/invoice-line-order-line-references/invoice-line-order-line-reference/components/invoice-line-order-line-reference.component.ts +169 -0
- package/src/lib/invoice-line-order-line-references/invoice-line-order-line-reference/invoice-line-order-line-reference-routing.module.ts +36 -0
- package/src/lib/invoice-line-order-line-references/invoice-line-order-line-reference/invoice-line-order-line-reference.module.ts +34 -0
- package/src/lib/invoice-line-receipt-line-references/invoice-line-receipt-line-reference/components/invoice-line-receipt-line-reference.component.html +494 -0
- package/src/lib/invoice-line-receipt-line-references/invoice-line-receipt-line-reference/components/invoice-line-receipt-line-reference.component.ts +157 -0
- package/src/lib/invoice-line-receipt-line-references/invoice-line-receipt-line-reference/invoice-line-receipt-line-reference-routing.module.ts +36 -0
- package/src/lib/invoice-line-receipt-line-references/invoice-line-receipt-line-reference/invoice-line-receipt-line-reference.module.ts +34 -0
- package/src/lib/invoice-lines/invoice-line/components/invoice-line.component.html +843 -0
- package/src/lib/invoice-lines/invoice-line/components/invoice-line.component.ts +190 -0
- package/src/lib/invoice-lines/invoice-line/invoice-line-routing.module.ts +36 -0
- package/src/lib/invoice-lines/invoice-line/invoice-line.module.ts +34 -0
- package/src/lib/invoice-notes/invoice-note/components/invoice-note.component.html +181 -0
- package/src/lib/invoice-notes/invoice-note/components/invoice-note.component.ts +141 -0
- package/src/lib/invoice-notes/invoice-note/invoice-note-routing.module.ts +36 -0
- package/src/lib/invoice-notes/invoice-note/invoice-note.module.ts +34 -0
- package/src/lib/invoices/invoice/components/invoice.component.html +4182 -0
- package/src/lib/invoices/invoice/components/invoice.component.ts +377 -0
- package/src/lib/invoices/invoice/invoice-routing.module.ts +30 -0
- package/src/lib/invoices/invoice/invoice.module.ts +34 -0
- package/src/lib/note-rule-doc-types/note-rule-doc-type/components/note-rule-doc-type.component.html +199 -0
- package/src/lib/note-rule-doc-types/note-rule-doc-type/components/note-rule-doc-type.component.ts +124 -0
- package/src/lib/note-rule-doc-types/note-rule-doc-type/note-rule-doc-type-routing.module.ts +36 -0
- package/src/lib/note-rule-doc-types/note-rule-doc-type/note-rule-doc-type.module.ts +34 -0
- package/src/lib/note-rule-scenarios/note-rule-scenario/components/note-rule-scenario.component.html +199 -0
- package/src/lib/note-rule-scenarios/note-rule-scenario/components/note-rule-scenario.component.ts +124 -0
- package/src/lib/note-rule-scenarios/note-rule-scenario/note-rule-scenario-routing.module.ts +36 -0
- package/src/lib/note-rule-scenarios/note-rule-scenario/note-rule-scenario.module.ts +34 -0
- package/src/lib/note-rules/note-rule/components/note-rule.component.html +624 -0
- package/src/lib/note-rules/note-rule/components/note-rule.component.ts +162 -0
- package/src/lib/note-rules/note-rule/note-rule-routing.module.ts +31 -0
- package/src/lib/note-rules/note-rule/note-rule.module.ts +34 -0
- package/src/lib/params-companies/params-company/components/params-company.component.html +847 -0
- package/src/lib/params-companies/params-company/components/params-company.component.ts +176 -0
- package/src/lib/params-companies/params-company/params-company-routing.module.ts +34 -0
- package/src/lib/params-companies/params-company/params-company.module.ts +34 -0
- package/src/lib/params-generals/params-general/components/params-general.component.html +504 -0
- package/src/lib/params-generals/params-general/components/params-general.component.ts +141 -0
- package/src/lib/params-generals/params-general/params-general-routing.module.ts +34 -0
- package/src/lib/params-generals/params-general/params-general.module.ts +34 -0
- package/src/lib/params-integrators/params-integrator/components/params-integrator.component.html +499 -0
- package/src/lib/params-integrators/params-integrator/components/params-integrator.component.ts +162 -0
- package/src/lib/params-integrators/params-integrator/params-integrator-routing.module.ts +34 -0
- package/src/lib/params-integrators/params-integrator/params-integrator.module.ts +34 -0
- package/src/lib/paramse-dispatches/paramse-dispatch/components/paramse-dispatch.component.html +771 -0
- package/src/lib/paramse-dispatches/paramse-dispatch/components/paramse-dispatch.component.ts +163 -0
- package/src/lib/paramse-dispatches/paramse-dispatch/paramse-dispatch-routing.module.ts +34 -0
- package/src/lib/paramse-dispatches/paramse-dispatch/paramse-dispatch.module.ts +34 -0
- package/src/lib/paramse-invoices/paramse-invoice/components/paramse-invoice.component.html +433 -0
- package/src/lib/paramse-invoices/paramse-invoice/components/paramse-invoice.component.ts +151 -0
- package/src/lib/paramse-invoices/paramse-invoice/paramse-invoice-routing.module.ts +34 -0
- package/src/lib/paramse-invoices/paramse-invoice/paramse-invoice.module.ts +34 -0
- package/src/lib/proxy/branches/branch.service.ts +75 -0
- package/src/lib/proxy/branches/index.ts +2 -0
- package/src/lib/proxy/branches/models.ts +46 -0
- package/src/lib/proxy/business-partner-groups/business-partner-group.service.ts +56 -0
- package/src/lib/proxy/business-partner-groups/index.ts +2 -0
- package/src/lib/proxy/business-partner-groups/models.ts +36 -0
- package/src/lib/proxy/business-partners/business-partner.service.ts +74 -0
- package/src/lib/proxy/business-partners/index.ts +2 -0
- package/src/lib/proxy/business-partners/models.ts +70 -0
- package/src/lib/proxy/despatch-document-references/despatch-document-reference.service.ts +92 -0
- package/src/lib/proxy/despatch-document-references/index.ts +2 -0
- package/src/lib/proxy/despatch-document-references/models.ts +57 -0
- package/src/lib/proxy/despatch-line-order-line-references/despatch-line-order-line-reference.service.ts +92 -0
- package/src/lib/proxy/despatch-line-order-line-references/index.ts +2 -0
- package/src/lib/proxy/despatch-line-order-line-references/models.ts +86 -0
- package/src/lib/proxy/despatch-lines/despatch-line.service.ts +92 -0
- package/src/lib/proxy/despatch-lines/index.ts +2 -0
- package/src/lib/proxy/despatch-lines/models.ts +108 -0
- package/src/lib/proxy/despatch-notes/despatch-note.service.ts +92 -0
- package/src/lib/proxy/despatch-notes/index.ts +2 -0
- package/src/lib/proxy/despatch-notes/models.ts +36 -0
- package/src/lib/proxy/despatches/despatch.service.ts +75 -0
- package/src/lib/proxy/despatches/index.ts +2 -0
- package/src/lib/proxy/despatches/models.ts +338 -0
- package/src/lib/proxy/generate-proxy.json +31780 -0
- package/src/lib/proxy/gib-partner-pk-alls/gib-partner-pk-all.service.ts +75 -0
- package/src/lib/proxy/gib-partner-pk-alls/index.ts +2 -0
- package/src/lib/proxy/gib-partner-pk-alls/models.ts +62 -0
- package/src/lib/proxy/gib-partner-pks/gib-partner-pk.service.ts +75 -0
- package/src/lib/proxy/gib-partner-pks/index.ts +2 -0
- package/src/lib/proxy/gib-partner-pks/models.ts +62 -0
- package/src/lib/proxy/index.ts +31 -0
- package/src/lib/proxy/invoice-document-references/index.ts +2 -0
- package/src/lib/proxy/invoice-document-references/invoice-document-reference.service.ts +92 -0
- package/src/lib/proxy/invoice-document-references/models.ts +57 -0
- package/src/lib/proxy/invoice-line-despatch-line-references/index.ts +2 -0
- package/src/lib/proxy/invoice-line-despatch-line-references/invoice-line-despatch-line-reference.service.ts +92 -0
- package/src/lib/proxy/invoice-line-despatch-line-references/models.ts +61 -0
- package/src/lib/proxy/invoice-line-order-line-references/index.ts +2 -0
- package/src/lib/proxy/invoice-line-order-line-references/invoice-line-order-line-reference.service.ts +92 -0
- package/src/lib/proxy/invoice-line-order-line-references/models.ts +86 -0
- package/src/lib/proxy/invoice-line-receipt-line-references/index.ts +2 -0
- package/src/lib/proxy/invoice-line-receipt-line-references/invoice-line-receipt-line-reference.service.ts +92 -0
- package/src/lib/proxy/invoice-line-receipt-line-references/models.ts +61 -0
- package/src/lib/proxy/invoice-lines/index.ts +2 -0
- package/src/lib/proxy/invoice-lines/invoice-line.service.ts +92 -0
- package/src/lib/proxy/invoice-lines/models.ts +108 -0
- package/src/lib/proxy/invoice-notes/index.ts +2 -0
- package/src/lib/proxy/invoice-notes/invoice-note.service.ts +92 -0
- package/src/lib/proxy/invoice-notes/models.ts +36 -0
- package/src/lib/proxy/invoices/index.ts +2 -0
- package/src/lib/proxy/invoices/invoice.service.ts +75 -0
- package/src/lib/proxy/invoices/models.ts +359 -0
- package/src/lib/proxy/note-rule-doc-types/index.ts +2 -0
- package/src/lib/proxy/note-rule-doc-types/models.ts +31 -0
- package/src/lib/proxy/note-rule-doc-types/note-rule-doc-type.service.ts +74 -0
- package/src/lib/proxy/note-rule-scenarios/index.ts +2 -0
- package/src/lib/proxy/note-rule-scenarios/models.ts +31 -0
- package/src/lib/proxy/note-rule-scenarios/note-rule-scenario.service.ts +74 -0
- package/src/lib/proxy/note-rules/index.ts +2 -0
- package/src/lib/proxy/note-rules/models.ts +78 -0
- package/src/lib/proxy/note-rules/note-rule.service.ts +75 -0
- package/src/lib/proxy/params-companies/index.ts +2 -0
- package/src/lib/proxy/params-companies/models.ts +101 -0
- package/src/lib/proxy/params-companies/params-company.service.ts +75 -0
- package/src/lib/proxy/params-generals/index.ts +2 -0
- package/src/lib/proxy/params-generals/models.ts +44 -0
- package/src/lib/proxy/params-generals/params-general.service.ts +75 -0
- package/src/lib/proxy/params-integrators/index.ts +2 -0
- package/src/lib/proxy/params-integrators/models.ts +72 -0
- package/src/lib/proxy/params-integrators/params-integrator.service.ts +92 -0
- package/src/lib/proxy/paramse-dispatches/index.ts +2 -0
- package/src/lib/proxy/paramse-dispatches/models.ts +73 -0
- package/src/lib/proxy/paramse-dispatches/paramse-dispatch.service.ts +75 -0
- package/src/lib/proxy/paramse-invoices/index.ts +2 -0
- package/src/lib/proxy/paramse-invoices/models.ts +48 -0
- package/src/lib/proxy/paramse-invoices/paramse-invoice.service.ts +75 -0
- package/src/lib/proxy/shared/index.ts +1 -0
- package/src/lib/proxy/shared/models.ts +14 -0
- package/src/lib/proxy/xslt-formats/index.ts +2 -0
- package/src/lib/proxy/xslt-formats/models.ts +33 -0
- package/src/lib/proxy/xslt-formats/xslt-format.service.ts +56 -0
- package/src/lib/proxy/xslt-rule-doc-types/index.ts +2 -0
- package/src/lib/proxy/xslt-rule-doc-types/models.ts +31 -0
- package/src/lib/proxy/xslt-rule-doc-types/xslt-rule-doc-type.service.ts +74 -0
- package/src/lib/proxy/xslt-rule-scenarios/index.ts +2 -0
- package/src/lib/proxy/xslt-rule-scenarios/models.ts +31 -0
- package/src/lib/proxy/xslt-rule-scenarios/xslt-rule-scenario.service.ts +74 -0
- package/src/lib/proxy/xslt-rules/index.ts +2 -0
- package/src/lib/proxy/xslt-rules/models.ts +61 -0
- package/src/lib/proxy/xslt-rules/xslt-rule.service.ts +74 -0
- package/src/lib/services/e-donusum.service.ts +18 -0
- package/src/lib/xslt-formats/xslt-format/components/xslt-format.component.html +272 -0
- package/src/lib/xslt-formats/xslt-format/components/xslt-format.component.ts +122 -0
- package/src/lib/xslt-formats/xslt-format/xslt-format-routing.module.ts +36 -0
- package/src/lib/xslt-formats/xslt-format/xslt-format.module.ts +34 -0
- package/src/lib/xslt-rule-doc-types/xslt-rule-doc-type/components/xslt-rule-doc-type.component.html +199 -0
- package/src/lib/xslt-rule-doc-types/xslt-rule-doc-type/components/xslt-rule-doc-type.component.ts +124 -0
- package/src/lib/xslt-rule-doc-types/xslt-rule-doc-type/xslt-rule-doc-type-routing.module.ts +18 -0
- package/src/lib/xslt-rule-doc-types/xslt-rule-doc-type/xslt-rule-doc-type.module.ts +34 -0
- package/src/lib/xslt-rule-scenarios/xslt-rule-scenario/components/xslt-rule-scenario.component.html +199 -0
- package/src/lib/xslt-rule-scenarios/xslt-rule-scenario/components/xslt-rule-scenario.component.ts +124 -0
- package/src/lib/xslt-rule-scenarios/xslt-rule-scenario/xslt-rule-scenario-routing.module.ts +18 -0
- package/src/lib/xslt-rule-scenarios/xslt-rule-scenario/xslt-rule-scenario.module.ts +34 -0
- package/src/lib/xslt-rules/xslt-rule/components/xslt-rule.component.html +496 -0
- package/src/lib/xslt-rules/xslt-rule/components/xslt-rule.component.ts +141 -0
- package/src/lib/xslt-rules/xslt-rule/xslt-rule-routing.module.ts +30 -0
- package/src/lib/xslt-rules/xslt-rule/xslt-rule.module.ts +34 -0
- package/src/public-api.ts +7 -0
- package/src/test.ts +29 -0
- package/tsconfig.lib.json +20 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { ILayout } from './config';
|
|
2
|
+
|
|
3
|
+
export const LightSidebarConfig: ILayout = {
|
|
4
|
+
main: {
|
|
5
|
+
componentName: 'main',
|
|
6
|
+
type: 'default',
|
|
7
|
+
pageBgWhite: false,
|
|
8
|
+
},
|
|
9
|
+
app: {
|
|
10
|
+
general: {
|
|
11
|
+
componentName: 'general',
|
|
12
|
+
evolution: true,
|
|
13
|
+
layoutType: 'default',
|
|
14
|
+
mode: 'light',
|
|
15
|
+
rtl: false,
|
|
16
|
+
primaryColor: '#50CD89',
|
|
17
|
+
pageBgWhite: false,
|
|
18
|
+
pageWidth: 'default',
|
|
19
|
+
},
|
|
20
|
+
header: {
|
|
21
|
+
componentName: 'header',
|
|
22
|
+
display: true,
|
|
23
|
+
default: {
|
|
24
|
+
container: 'fluid',
|
|
25
|
+
containerClass: 'd-flex align-items-stretch justify-content-between',
|
|
26
|
+
fixed: {
|
|
27
|
+
desktop: true,
|
|
28
|
+
mobile: false,
|
|
29
|
+
},
|
|
30
|
+
content: 'menu',
|
|
31
|
+
menu: {
|
|
32
|
+
display: true,
|
|
33
|
+
iconType: 'svg',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
sidebar: {
|
|
38
|
+
componentName: 'sidebar',
|
|
39
|
+
display: true,
|
|
40
|
+
default: {
|
|
41
|
+
class: 'flex-column',
|
|
42
|
+
push: {
|
|
43
|
+
header: true,
|
|
44
|
+
toolbar: true,
|
|
45
|
+
footer: true,
|
|
46
|
+
},
|
|
47
|
+
drawer: {
|
|
48
|
+
enabled: true,
|
|
49
|
+
attributes: {
|
|
50
|
+
'data-kt-drawer': 'true',
|
|
51
|
+
'data-kt-drawer-name': 'app-sidebar',
|
|
52
|
+
'data-kt-drawer-activate': '{default: true, lg: false}',
|
|
53
|
+
'data-kt-drawer-overlay': 'true',
|
|
54
|
+
'data-kt-drawer-width': '225px',
|
|
55
|
+
'data-kt-drawer-direction': 'start',
|
|
56
|
+
'data-kt-drawer-toggle': '#kt_app_sidebar_mobile_toggle',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
fixed: {
|
|
60
|
+
desktop: true,
|
|
61
|
+
},
|
|
62
|
+
minimize: {
|
|
63
|
+
desktop: {
|
|
64
|
+
enabled: true,
|
|
65
|
+
default: false,
|
|
66
|
+
hoverable: true,
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
menu: {
|
|
70
|
+
iconType: 'svg',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
toolbar: {
|
|
75
|
+
componentName: 'toolbar',
|
|
76
|
+
display: true,
|
|
77
|
+
layout: 'classic',
|
|
78
|
+
class: 'py-3 py-lg-6',
|
|
79
|
+
container: 'fluid',
|
|
80
|
+
containerClass: 'd-flex flex-stack',
|
|
81
|
+
fixed: {
|
|
82
|
+
desktop: false,
|
|
83
|
+
mobile: false,
|
|
84
|
+
},
|
|
85
|
+
// custom settings,
|
|
86
|
+
filterButton: true,
|
|
87
|
+
daterangepickerButton: false,
|
|
88
|
+
primaryButton: true,
|
|
89
|
+
primaryButtonLabel: 'Create',
|
|
90
|
+
primaryButtonModal: 'create-app',
|
|
91
|
+
},
|
|
92
|
+
pageTitle: {
|
|
93
|
+
componentName: 'page-title',
|
|
94
|
+
display: true,
|
|
95
|
+
breadCrumb: true,
|
|
96
|
+
description: false,
|
|
97
|
+
direction: 'column',
|
|
98
|
+
},
|
|
99
|
+
content: {
|
|
100
|
+
componentName: 'content',
|
|
101
|
+
container: 'fluid',
|
|
102
|
+
},
|
|
103
|
+
footer: {
|
|
104
|
+
componentName: 'footer',
|
|
105
|
+
display: true,
|
|
106
|
+
container: 'fluid',
|
|
107
|
+
containerClass:
|
|
108
|
+
'd-flex flex-column flex-md-row flex-center flex-md-stack py-3',
|
|
109
|
+
fixed: {
|
|
110
|
+
desktop: false,
|
|
111
|
+
mobile: false,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
pageLoader: {
|
|
115
|
+
componentName: 'page-loader',
|
|
116
|
+
type: 'none',
|
|
117
|
+
logoImage: 'default.svg',
|
|
118
|
+
logoClass: 'mh-75px',
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
illustrations: {
|
|
122
|
+
componentName: 'illustrations',
|
|
123
|
+
set: 'sketchy-1',
|
|
124
|
+
},
|
|
125
|
+
scrolltop: {
|
|
126
|
+
componentName: 'scrolltop',
|
|
127
|
+
display: true,
|
|
128
|
+
},
|
|
129
|
+
engage: {
|
|
130
|
+
componentName: 'engage',
|
|
131
|
+
demos: {
|
|
132
|
+
enabled: true,
|
|
133
|
+
},
|
|
134
|
+
purchase: {
|
|
135
|
+
enabled: false,
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { ILayout, LayoutType } from './configs/config';
|
|
4
|
+
import { LayoutService } from './layout.service';
|
|
5
|
+
|
|
6
|
+
@Injectable({
|
|
7
|
+
providedIn: 'root',
|
|
8
|
+
})
|
|
9
|
+
export class LayoutInitService {
|
|
10
|
+
private config = new BehaviorSubject<ILayout | null>(null);
|
|
11
|
+
constructor(private layout: LayoutService) {}
|
|
12
|
+
|
|
13
|
+
reInitProps(layoutType?: LayoutType) {
|
|
14
|
+
this.layout.reInitProps();
|
|
15
|
+
const currentLayoutType = layoutType
|
|
16
|
+
? layoutType
|
|
17
|
+
: this.layout.getBaseLayoutTypeFromRouteOrLocalStorage();
|
|
18
|
+
const config = this.layout.getLayoutConfig(currentLayoutType);
|
|
19
|
+
this.layout.currentLayoutTypeSubject.next(currentLayoutType)
|
|
20
|
+
this.config.next({ ...config });
|
|
21
|
+
|
|
22
|
+
// init base layout
|
|
23
|
+
this.initLayoutSettings(currentLayoutType, config);
|
|
24
|
+
this.initToolbarSettings(config);
|
|
25
|
+
this.initWidthSettings(config);
|
|
26
|
+
this.layout.layoutConfigSubject.next({ ...this.config.value });
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
setBaseLayoutType(layoutType: LayoutType) {
|
|
30
|
+
this.layout.setBaseLayoutType(layoutType);
|
|
31
|
+
this.reInitProps(layoutType);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
private initLayoutSettings(layoutType: LayoutType, config: ILayout) {
|
|
35
|
+
// clear body classes
|
|
36
|
+
const bodyClasses = document.body.classList.value.split(' ');
|
|
37
|
+
bodyClasses.forEach((cssClass) => document.body.classList.remove(cssClass));
|
|
38
|
+
// clear body attributes
|
|
39
|
+
const bodyAttributes = document.body
|
|
40
|
+
.getAttributeNames()
|
|
41
|
+
.filter((t) => t.indexOf('data-') > -1);
|
|
42
|
+
bodyAttributes.forEach((attr) => document.body.removeAttribute(attr));
|
|
43
|
+
document.body.setAttribute('style', '');
|
|
44
|
+
document.body.setAttribute('id', 'kt_app_body');
|
|
45
|
+
document.body.setAttribute('data-kt-app-layout', layoutType);
|
|
46
|
+
document.body.setAttribute('data-kt-name', 'metronic');
|
|
47
|
+
document.body.classList.add('app-default');
|
|
48
|
+
|
|
49
|
+
const pageWidth = config.app?.general?.pageWidth;
|
|
50
|
+
if (layoutType === 'light-header' || layoutType === 'dark-header') {
|
|
51
|
+
if (pageWidth === 'default') {
|
|
52
|
+
const header = config.app?.header;
|
|
53
|
+
if (header && header.default && header.default.container) {
|
|
54
|
+
header.default.container = 'fixed';
|
|
55
|
+
}
|
|
56
|
+
const toolbar = config.app?.toolbar;
|
|
57
|
+
if (toolbar) {
|
|
58
|
+
toolbar.container = 'fixed';
|
|
59
|
+
}
|
|
60
|
+
const content = config.app?.content;
|
|
61
|
+
if (content) {
|
|
62
|
+
content.container = 'fixed';
|
|
63
|
+
}
|
|
64
|
+
const footer = config.app?.footer;
|
|
65
|
+
if (footer) {
|
|
66
|
+
footer.container = 'fixed';
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const updatedApp = {
|
|
70
|
+
...config.app,
|
|
71
|
+
...header,
|
|
72
|
+
...toolbar,
|
|
73
|
+
...content,
|
|
74
|
+
...footer,
|
|
75
|
+
};
|
|
76
|
+
this.config.next({ ...config, ...updatedApp });
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
private initToolbarSettings(config: ILayout) {
|
|
82
|
+
const appHeaderDefaultContent = config.app?.header?.default?.content;
|
|
83
|
+
if (appHeaderDefaultContent === 'page-title') {
|
|
84
|
+
const toolbar = config.app?.toolbar;
|
|
85
|
+
if (toolbar) {
|
|
86
|
+
toolbar.display = false;
|
|
87
|
+
const updatedApp = { ...config.app, ...toolbar };
|
|
88
|
+
this.config.next({ ...config, ...updatedApp });
|
|
89
|
+
}
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const pageTitle = this.config.value?.app?.pageTitle;
|
|
94
|
+
if (pageTitle) {
|
|
95
|
+
pageTitle.description = false;
|
|
96
|
+
pageTitle.breadCrumb = true;
|
|
97
|
+
const updatedApp = { ...config.app, ...pageTitle };
|
|
98
|
+
this.config.next({ ...config, ...updatedApp });
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
private initWidthSettings(config: ILayout) {
|
|
103
|
+
const pageWidth = config.app?.general?.pageWidth;
|
|
104
|
+
if (!pageWidth || pageWidth === 'default') {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
const header = config.app?.header;
|
|
109
|
+
if (header && header.default) {
|
|
110
|
+
header.default.container = pageWidth;
|
|
111
|
+
}
|
|
112
|
+
const toolbar = config.app?.toolbar;
|
|
113
|
+
if (toolbar) {
|
|
114
|
+
toolbar.container = pageWidth;
|
|
115
|
+
}
|
|
116
|
+
const content = config.app?.content;
|
|
117
|
+
if (content) {
|
|
118
|
+
content.container = pageWidth;
|
|
119
|
+
}
|
|
120
|
+
const footer = config.app?.footer;
|
|
121
|
+
if (footer) {
|
|
122
|
+
footer.container = pageWidth;
|
|
123
|
+
}
|
|
124
|
+
const updatedApp = {
|
|
125
|
+
...config.app,
|
|
126
|
+
...header,
|
|
127
|
+
...toolbar,
|
|
128
|
+
...content,
|
|
129
|
+
...footer,
|
|
130
|
+
};
|
|
131
|
+
this.config.next({ ...this.config.value, ...updatedApp });
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { environment } from 'src/environments/environment';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import * as objectPath from 'object-path';
|
|
5
|
+
import {
|
|
6
|
+
LayoutType,
|
|
7
|
+
ILayout,
|
|
8
|
+
CSSClassesType,
|
|
9
|
+
HTMLAttributesType,
|
|
10
|
+
} from './configs/config';
|
|
11
|
+
import { DarkHeaderConfig } from './configs/dark-header.config';
|
|
12
|
+
import { DarkSidebarConfig } from './configs/dark-sidebar.config';
|
|
13
|
+
import { LightHeaderConfig } from './configs/light-header.config';
|
|
14
|
+
import { LightSidebarConfig } from './configs/light-sidebar.config';
|
|
15
|
+
import { ActivatedRoute } from '@angular/router';
|
|
16
|
+
|
|
17
|
+
const LAYOUT_CONFIG_LOCAL_STORAGE_KEY = `${environment.appVersion}-layoutConfig`;
|
|
18
|
+
const BASE_LAYOUT_TYPE_LOCAL_STORAGE_KEY = `${environment.appVersion}-baseLayoutType`;
|
|
19
|
+
const defaultBaseLayoutType: LayoutType = 'dark-sidebar';
|
|
20
|
+
const defaultLayoutConfig: ILayout = DarkSidebarConfig;
|
|
21
|
+
|
|
22
|
+
export function getEmptyHTMLAttributes(): HTMLAttributesType {
|
|
23
|
+
return {
|
|
24
|
+
asideMenu: {},
|
|
25
|
+
headerMobile: {},
|
|
26
|
+
headerMenu: {},
|
|
27
|
+
headerContainer: {},
|
|
28
|
+
pageTitle: {},
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function getEmptyCssClasses(): CSSClassesType {
|
|
33
|
+
return {
|
|
34
|
+
header: [],
|
|
35
|
+
headerContainer: [],
|
|
36
|
+
headerMobile: [],
|
|
37
|
+
headerMenu: [],
|
|
38
|
+
aside: [],
|
|
39
|
+
asideMenu: [],
|
|
40
|
+
asideToggle: [],
|
|
41
|
+
toolbar: [],
|
|
42
|
+
toolbarContainer: [],
|
|
43
|
+
content: [],
|
|
44
|
+
contentContainer: [],
|
|
45
|
+
footerContainer: [],
|
|
46
|
+
sidebar: [],
|
|
47
|
+
pageTitle: [],
|
|
48
|
+
wrapper: [],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@Injectable({
|
|
53
|
+
providedIn: 'root',
|
|
54
|
+
})
|
|
55
|
+
export class LayoutService {
|
|
56
|
+
public currentLayoutTypeSubject = new BehaviorSubject<LayoutType | null>(
|
|
57
|
+
null
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
public layoutConfigSubject: BehaviorSubject<ILayout> =
|
|
61
|
+
new BehaviorSubject<ILayout>(
|
|
62
|
+
this.getLayoutConfig(this.getBaseLayoutTypeFromRouteOrLocalStorage())
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
// scope list of css classes
|
|
66
|
+
private classes: BehaviorSubject<CSSClassesType> =
|
|
67
|
+
new BehaviorSubject<CSSClassesType>(getEmptyCssClasses());
|
|
68
|
+
|
|
69
|
+
// scope list of html attributes
|
|
70
|
+
private attrs: BehaviorSubject<HTMLAttributesType> =
|
|
71
|
+
new BehaviorSubject<HTMLAttributesType>(getEmptyHTMLAttributes());
|
|
72
|
+
|
|
73
|
+
constructor(private activatedRoute: ActivatedRoute) {}
|
|
74
|
+
|
|
75
|
+
getProp(path: string, config?: ILayout): string | boolean | undefined | Object {
|
|
76
|
+
if (config) {
|
|
77
|
+
return objectPath.get(config, path);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return objectPath.get(this.layoutConfigSubject.value, path);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
setCSSClass(path: string, classesInStr: string) {
|
|
84
|
+
const updatedCssClasses = { ...this.classes.value };
|
|
85
|
+
const cssClasses = updatedCssClasses[path];
|
|
86
|
+
if (!cssClasses) {
|
|
87
|
+
updatedCssClasses[path] = [];
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
classesInStr
|
|
91
|
+
.split(' ')
|
|
92
|
+
.forEach((cssClass: string) => updatedCssClasses[path].push(cssClass));
|
|
93
|
+
|
|
94
|
+
this.classes.next(updatedCssClasses);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
getCSSClasses(path: string): string[] {
|
|
98
|
+
const cssClasses = this.classes.value[path];
|
|
99
|
+
if (!cssClasses) {
|
|
100
|
+
return [];
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
return cssClasses;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
getStringCSSClasses(path: string) {
|
|
107
|
+
return this.getCSSClasses(path).join(' ');
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
getHTMLAttributes(path: string): {
|
|
111
|
+
[attrName: string]: string | boolean;
|
|
112
|
+
} {
|
|
113
|
+
const attributesObj = this.attrs.value[path];
|
|
114
|
+
if (!attributesObj) {
|
|
115
|
+
return {};
|
|
116
|
+
}
|
|
117
|
+
return attributesObj;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
setHTMLAttribute(path: string, attrKey: string, attrValue: string | boolean) {
|
|
121
|
+
const updatedAttributes = { ...this.attrs.value };
|
|
122
|
+
const attributesObj = updatedAttributes[path];
|
|
123
|
+
if (!attributesObj) {
|
|
124
|
+
updatedAttributes[path] = {};
|
|
125
|
+
}
|
|
126
|
+
updatedAttributes[path][attrKey] = attrValue;
|
|
127
|
+
this.attrs.next(updatedAttributes);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
getBaseLayoutTypeFromRouteOrLocalStorage(): LayoutType {
|
|
131
|
+
const routeData = this.activatedRoute?.firstChild?.snapshot?.data;
|
|
132
|
+
if (routeData && routeData.layout) {
|
|
133
|
+
return routeData.layout as LayoutType;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
return this.getBaseLayoutTypeFromLocalStorage();
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
getBaseLayoutTypeFromLocalStorage(): LayoutType {
|
|
140
|
+
if (localStorage) {
|
|
141
|
+
const layoutType = localStorage.getItem(
|
|
142
|
+
BASE_LAYOUT_TYPE_LOCAL_STORAGE_KEY
|
|
143
|
+
);
|
|
144
|
+
if (layoutType) {
|
|
145
|
+
return layoutType as LayoutType;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
this.setBaseLayoutType(defaultBaseLayoutType);
|
|
149
|
+
}
|
|
150
|
+
return defaultBaseLayoutType;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
getLayoutByType(layoutType: LayoutType | undefined): ILayout {
|
|
154
|
+
switch (layoutType) {
|
|
155
|
+
case 'dark-sidebar':
|
|
156
|
+
return DarkSidebarConfig;
|
|
157
|
+
case 'light-sidebar':
|
|
158
|
+
return LightSidebarConfig;
|
|
159
|
+
case 'dark-header':
|
|
160
|
+
return DarkHeaderConfig;
|
|
161
|
+
case 'light-header':
|
|
162
|
+
return LightHeaderConfig;
|
|
163
|
+
default:
|
|
164
|
+
return defaultLayoutConfig;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
getLayoutConfig(layoutType: LayoutType): ILayout {
|
|
169
|
+
const storedLayoutType = this.getBaseLayoutTypeFromLocalStorage();
|
|
170
|
+
if (layoutType && storedLayoutType) {
|
|
171
|
+
const configInString = localStorage.getItem(
|
|
172
|
+
`${layoutType}-${LAYOUT_CONFIG_LOCAL_STORAGE_KEY}`
|
|
173
|
+
);
|
|
174
|
+
|
|
175
|
+
if (configInString) {
|
|
176
|
+
try {
|
|
177
|
+
return JSON.parse(configInString) as ILayout;
|
|
178
|
+
} catch (ex) {
|
|
179
|
+
console.log('reading config exception', ex);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
return this.getLayoutByType(layoutType);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
setBaseLayoutType(layoutType: LayoutType) {
|
|
188
|
+
const config = this.getLayoutByType(layoutType);
|
|
189
|
+
if (localStorage) {
|
|
190
|
+
localStorage.setItem(BASE_LAYOUT_TYPE_LOCAL_STORAGE_KEY, layoutType);
|
|
191
|
+
localStorage.setItem(
|
|
192
|
+
`${layoutType}-${LAYOUT_CONFIG_LOCAL_STORAGE_KEY}`,
|
|
193
|
+
JSON.stringify(config)
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
// document.location.reload();
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
saveBaseConfig(config: ILayout) {
|
|
200
|
+
const baseLayoutType = this.getBaseLayoutTypeFromLocalStorage();
|
|
201
|
+
if (localStorage) {
|
|
202
|
+
localStorage.setItem(
|
|
203
|
+
`${baseLayoutType}-${LAYOUT_CONFIG_LOCAL_STORAGE_KEY}`,
|
|
204
|
+
JSON.stringify(config)
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
document.location.reload();
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
resetBaseConfig() {
|
|
212
|
+
const layoutType = this.getBaseLayoutTypeFromLocalStorage;
|
|
213
|
+
|
|
214
|
+
if (localStorage) {
|
|
215
|
+
localStorage.removeItem(
|
|
216
|
+
`${layoutType}-${LAYOUT_CONFIG_LOCAL_STORAGE_KEY}`
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
document.location.reload();
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
reInitProps() {
|
|
224
|
+
this.classes.next(getEmptyCssClasses());
|
|
225
|
+
this.attrs.next(getEmptyHTMLAttributes());
|
|
226
|
+
}
|
|
227
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
|
|
4
|
+
export interface PageLink {
|
|
5
|
+
title: string;
|
|
6
|
+
path: string;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
isSeparator?: boolean;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export class PageInfo {
|
|
12
|
+
breadcrumbs: Array<PageLink> = [];
|
|
13
|
+
title: string = '';
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@Injectable({
|
|
17
|
+
providedIn: 'root',
|
|
18
|
+
})
|
|
19
|
+
export class PageInfoService {
|
|
20
|
+
public title: BehaviorSubject<string> = new BehaviorSubject<string>(
|
|
21
|
+
'Dashboard'
|
|
22
|
+
);
|
|
23
|
+
public description: BehaviorSubject<string> = new BehaviorSubject<string>('');
|
|
24
|
+
public breadcrumbs: BehaviorSubject<Array<PageLink>> = new BehaviorSubject<
|
|
25
|
+
Array<PageLink>
|
|
26
|
+
>([]);
|
|
27
|
+
|
|
28
|
+
constructor() {}
|
|
29
|
+
|
|
30
|
+
public setTitle(_title: string) {
|
|
31
|
+
this.title.next(_title);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public updateTitle(_title: string) {
|
|
35
|
+
setTimeout(() => {
|
|
36
|
+
this.setTitle(_title);
|
|
37
|
+
}, 1);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public setDescription(_title: string) {
|
|
41
|
+
this.description.next(_title);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public updateDescription(_description: string) {
|
|
45
|
+
setTimeout(() => {
|
|
46
|
+
this.setDescription(_description);
|
|
47
|
+
}, 1);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setBreadcrumbs(_bs: Array<PageLink>) {
|
|
51
|
+
this.breadcrumbs.next(_bs);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public updateBreadcrumbs(_bs: Array<PageLink>) {
|
|
55
|
+
setTimeout(() => {
|
|
56
|
+
this.setBreadcrumbs(_bs);
|
|
57
|
+
}, 20);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public calculateTitle() {
|
|
61
|
+
const asideTitle = this.calculateTitleInMenu('kt_app_sidebar');
|
|
62
|
+
const headerTitle = this.calculateTitleInMenu('kt_app_header_wrapper');
|
|
63
|
+
const title = asideTitle || headerTitle || '';
|
|
64
|
+
this.setTitle(title);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public calculateTitleInMenu(menuId: string): string | undefined {
|
|
68
|
+
const menu = document.getElementById(menuId);
|
|
69
|
+
if (!menu) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
const allActiveMenuLinks = Array.from<HTMLLinkElement>(
|
|
74
|
+
menu.querySelectorAll('a.menu-link')
|
|
75
|
+
).filter((link) => link.classList.contains('active'));
|
|
76
|
+
|
|
77
|
+
if (!allActiveMenuLinks || allActiveMenuLinks.length === 0) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
const titleSpan = allActiveMenuLinks[0].querySelector(
|
|
82
|
+
'span.menu-title'
|
|
83
|
+
) as HTMLSpanElement | null;
|
|
84
|
+
if (!titleSpan) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return titleSpan.innerText;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
public calculateBreadcrumbs() {
|
|
92
|
+
const asideBc = this.calculateBreadcrumbsInMenu('kt_app_sidebar');
|
|
93
|
+
const headerBc = this.calculateBreadcrumbsInMenu('kt_app_header_wrapper');
|
|
94
|
+
const bc = asideBc && asideBc.length > 0 ? asideBc : headerBc;
|
|
95
|
+
|
|
96
|
+
if (!bc) {
|
|
97
|
+
this.setBreadcrumbs([]);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
this.setBreadcrumbs(bc);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
public calculateBreadcrumbsInMenu(
|
|
104
|
+
menuId: string
|
|
105
|
+
): Array<PageLink> | undefined {
|
|
106
|
+
const result: Array<PageLink> = [];
|
|
107
|
+
const menu = document.getElementById(menuId);
|
|
108
|
+
if (!menu) {
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const allActiveParents = Array.from<HTMLDivElement>(
|
|
113
|
+
menu.querySelectorAll('div.menu-item')
|
|
114
|
+
).filter((link) => link.classList.contains('here'));
|
|
115
|
+
|
|
116
|
+
if (!allActiveParents || allActiveParents.length === 0) {
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
allActiveParents.forEach((parent) => {
|
|
121
|
+
const titleSpan = parent.querySelector(
|
|
122
|
+
'span.menu-title'
|
|
123
|
+
) as HTMLSpanElement | null;
|
|
124
|
+
if (!titleSpan) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
const title = titleSpan.innerText;
|
|
129
|
+
const path = titleSpan.getAttribute('data-link');
|
|
130
|
+
if (!path) {
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
result.push({
|
|
135
|
+
title,
|
|
136
|
+
path,
|
|
137
|
+
isSeparator: false,
|
|
138
|
+
isActive: false,
|
|
139
|
+
});
|
|
140
|
+
// add separator
|
|
141
|
+
result.push({
|
|
142
|
+
title: '',
|
|
143
|
+
path: '',
|
|
144
|
+
isSeparator: true,
|
|
145
|
+
isActive: false,
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
return result;
|
|
150
|
+
}
|
|
151
|
+
}
|