@syncfusion/ej2-angular-navigations 32.1.19 → 32.1.24-ngcc
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/@syncfusion/ej2-angular-navigations.es5.js +2247 -0
- package/@syncfusion/ej2-angular-navigations.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-navigations.js +2070 -0
- package/@syncfusion/ej2-angular-navigations.js.map +1 -0
- package/LICENSE +10 -0
- package/README.md +4 -11
- package/dist/ej2-angular-navigations.umd.js +2356 -0
- package/dist/ej2-angular-navigations.umd.js.map +1 -0
- package/dist/ej2-angular-navigations.umd.min.js +11 -0
- package/dist/ej2-angular-navigations.umd.min.js.map +1 -0
- package/ej2-angular-navigations.d.ts +15 -0
- package/ej2-angular-navigations.metadata.json +1 -0
- package/package.json +48 -30
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/accordion/accordion-all.module.d.ts +5 -11
- package/src/accordion/accordion.component.d.ts +54 -57
- package/src/accordion/accordion.module.d.ts +5 -12
- package/src/accordion/items.directive.d.ts +75 -80
- package/src/appbar/appbar-all.module.d.ts +5 -11
- package/src/appbar/appbar.component.d.ts +29 -32
- package/src/appbar/appbar.module.d.ts +5 -11
- package/src/breadcrumb/breadcrumb-all.module.d.ts +5 -11
- package/src/breadcrumb/breadcrumb.component.d.ts +46 -49
- package/src/breadcrumb/breadcrumb.module.d.ts +5 -12
- package/src/breadcrumb/items.directive.d.ts +51 -56
- package/src/carousel/carousel-all.module.d.ts +5 -11
- package/src/carousel/carousel.component.d.ts +78 -81
- package/src/carousel/carousel.module.d.ts +5 -12
- package/src/carousel/items.directive.d.ts +50 -55
- package/src/context-menu/contextmenu-all.module.d.ts +5 -11
- package/src/context-menu/contextmenu.component.d.ts +35 -38
- package/src/context-menu/contextmenu.module.d.ts +5 -11
- package/src/index.d.ts +41 -41
- package/src/menu/items.directive.d.ts +50 -55
- package/src/menu/menu-all.module.d.ts +5 -11
- package/src/menu/menu.component.d.ts +43 -46
- package/src/menu/menu.module.d.ts +5 -12
- package/src/sidebar/sidebar-all.module.d.ts +5 -11
- package/src/sidebar/sidebar.component.d.ts +33 -36
- package/src/sidebar/sidebar.module.d.ts +5 -11
- package/src/stepper/stepper-all.module.d.ts +5 -11
- package/src/stepper/stepper.component.d.ts +57 -60
- package/src/stepper/stepper.module.d.ts +5 -12
- package/src/stepper/steps.directive.d.ts +76 -81
- package/src/tab/items.directive.d.ts +77 -82
- package/src/tab/tab-all.module.d.ts +5 -11
- package/src/tab/tab.component.d.ts +41 -44
- package/src/tab/tab.module.d.ts +5 -12
- package/src/toolbar/items.directive.d.ts +142 -147
- package/src/toolbar/toolbar-all.module.d.ts +5 -11
- package/src/toolbar/toolbar.component.d.ts +35 -38
- package/src/toolbar/toolbar.module.d.ts +5 -12
- package/src/treeview/treeview-all.module.d.ts +5 -11
- package/src/treeview/treeview.component.d.ts +62 -65
- package/src/treeview/treeview.module.d.ts +5 -11
- package/styles/accordion/bds.scss +1 -1
- package/styles/accordion/bootstrap-dark.scss +1 -1
- package/styles/accordion/bootstrap.scss +1 -1
- package/styles/accordion/bootstrap4.scss +1 -1
- package/styles/accordion/bootstrap5-dark.scss +1 -1
- package/styles/accordion/bootstrap5.3.scss +1 -1
- package/styles/accordion/bootstrap5.scss +1 -1
- package/styles/accordion/fabric-dark.scss +1 -1
- package/styles/accordion/fabric.scss +1 -1
- package/styles/accordion/fluent-dark.scss +1 -1
- package/styles/accordion/fluent.scss +1 -1
- package/styles/accordion/fluent2.scss +1 -1
- package/styles/accordion/highcontrast-light.scss +1 -1
- package/styles/accordion/highcontrast.scss +1 -1
- package/styles/accordion/material-dark.scss +1 -1
- package/styles/accordion/material.scss +1 -1
- package/styles/accordion/material3-dark.scss +2 -1
- package/styles/accordion/material3.scss +2 -1
- package/styles/accordion/tailwind-dark.scss +1 -1
- package/styles/accordion/tailwind.scss +1 -1
- package/styles/accordion/tailwind3.scss +1 -1
- package/styles/appbar/bds.scss +1 -1
- package/styles/appbar/bootstrap-dark.scss +1 -1
- package/styles/appbar/bootstrap.scss +1 -1
- package/styles/appbar/bootstrap4.scss +1 -1
- package/styles/appbar/bootstrap5-dark.scss +1 -1
- package/styles/appbar/bootstrap5.3.scss +1 -1
- package/styles/appbar/bootstrap5.scss +1 -1
- package/styles/appbar/fabric-dark.scss +1 -1
- package/styles/appbar/fabric.scss +1 -1
- package/styles/appbar/fluent-dark.scss +1 -1
- package/styles/appbar/fluent.scss +1 -1
- package/styles/appbar/fluent2.scss +1 -1
- package/styles/appbar/highcontrast-light.scss +1 -1
- package/styles/appbar/highcontrast.scss +1 -1
- package/styles/appbar/material-dark.scss +1 -1
- package/styles/appbar/material.scss +1 -1
- package/styles/appbar/material3-dark.scss +2 -1
- package/styles/appbar/material3.scss +2 -1
- package/styles/appbar/tailwind-dark.scss +1 -1
- package/styles/appbar/tailwind.scss +1 -1
- package/styles/appbar/tailwind3.scss +1 -1
- package/styles/bds-lite.scss +1 -1
- package/styles/bds.scss +14 -14
- package/styles/bootstrap-dark-lite.scss +1 -1
- package/styles/bootstrap-dark.scss +14 -14
- package/styles/bootstrap-lite.scss +1 -1
- package/styles/bootstrap.scss +14 -14
- package/styles/bootstrap4-lite.scss +1 -1
- package/styles/bootstrap4.scss +14 -14
- package/styles/bootstrap5-dark-lite.scss +1 -1
- package/styles/bootstrap5-dark.scss +14 -14
- package/styles/bootstrap5-lite.scss +1 -1
- package/styles/bootstrap5.3-lite.scss +1 -1
- package/styles/bootstrap5.3.scss +14 -14
- package/styles/bootstrap5.scss +14 -14
- package/styles/breadcrumb/bds.scss +1 -1
- package/styles/breadcrumb/bootstrap-dark.scss +1 -1
- package/styles/breadcrumb/bootstrap.scss +1 -1
- package/styles/breadcrumb/bootstrap4.scss +1 -1
- package/styles/breadcrumb/bootstrap5-dark.scss +1 -1
- package/styles/breadcrumb/bootstrap5.3.scss +1 -1
- package/styles/breadcrumb/bootstrap5.scss +1 -1
- package/styles/breadcrumb/fabric-dark.scss +1 -1
- package/styles/breadcrumb/fabric.scss +1 -1
- package/styles/breadcrumb/fluent-dark.scss +1 -1
- package/styles/breadcrumb/fluent.scss +1 -1
- package/styles/breadcrumb/fluent2.scss +1 -1
- package/styles/breadcrumb/highcontrast-light.scss +1 -1
- package/styles/breadcrumb/highcontrast.scss +1 -1
- package/styles/breadcrumb/material-dark.scss +1 -1
- package/styles/breadcrumb/material.scss +1 -1
- package/styles/breadcrumb/material3-dark.scss +2 -1
- package/styles/breadcrumb/material3.scss +2 -1
- package/styles/breadcrumb/tailwind-dark.scss +1 -1
- package/styles/breadcrumb/tailwind.scss +1 -1
- package/styles/breadcrumb/tailwind3.scss +1 -1
- package/styles/carousel/bds.scss +1 -1
- package/styles/carousel/bootstrap-dark.scss +1 -1
- package/styles/carousel/bootstrap.scss +1 -1
- package/styles/carousel/bootstrap4.scss +1 -1
- package/styles/carousel/bootstrap5-dark.scss +1 -1
- package/styles/carousel/bootstrap5.3.scss +1 -1
- package/styles/carousel/bootstrap5.scss +1 -1
- package/styles/carousel/fabric-dark.scss +1 -1
- package/styles/carousel/fabric.scss +1 -1
- package/styles/carousel/fluent-dark.scss +1 -1
- package/styles/carousel/fluent.scss +1 -1
- package/styles/carousel/fluent2.scss +1 -1
- package/styles/carousel/highcontrast-light.scss +1 -1
- package/styles/carousel/highcontrast.scss +1 -1
- package/styles/carousel/material-dark.scss +1 -1
- package/styles/carousel/material.scss +1 -1
- package/styles/carousel/material3-dark.scss +2 -1
- package/styles/carousel/material3.scss +2 -1
- package/styles/carousel/tailwind-dark.scss +1 -1
- package/styles/carousel/tailwind.scss +1 -1
- package/styles/carousel/tailwind3.scss +1 -1
- package/styles/context-menu/bds.scss +1 -1
- package/styles/context-menu/bootstrap-dark.scss +1 -1
- package/styles/context-menu/bootstrap.scss +1 -1
- package/styles/context-menu/bootstrap4.scss +1 -1
- package/styles/context-menu/bootstrap5-dark.scss +1 -1
- package/styles/context-menu/bootstrap5.3.scss +1 -1
- package/styles/context-menu/bootstrap5.scss +1 -1
- package/styles/context-menu/fabric-dark.scss +1 -1
- package/styles/context-menu/fabric.scss +1 -1
- package/styles/context-menu/fluent-dark.scss +1 -1
- package/styles/context-menu/fluent.scss +1 -1
- package/styles/context-menu/fluent2.scss +1 -1
- package/styles/context-menu/highcontrast-light.scss +1 -1
- package/styles/context-menu/highcontrast.scss +1 -1
- package/styles/context-menu/material-dark.scss +1 -1
- package/styles/context-menu/material.scss +1 -1
- package/styles/context-menu/material3-dark.scss +2 -1
- package/styles/context-menu/material3.scss +2 -1
- package/styles/context-menu/tailwind-dark.scss +1 -1
- package/styles/context-menu/tailwind.scss +1 -1
- package/styles/context-menu/tailwind3.scss +1 -1
- package/styles/fabric-dark-lite.scss +1 -1
- package/styles/fabric-dark.scss +14 -14
- package/styles/fabric-lite.scss +1 -1
- package/styles/fabric.scss +14 -14
- package/styles/fluent-dark-lite.scss +1 -1
- package/styles/fluent-dark.scss +14 -14
- package/styles/fluent-lite.scss +1 -1
- package/styles/fluent.scss +14 -14
- package/styles/fluent2-lite.scss +1 -1
- package/styles/fluent2.scss +14 -14
- package/styles/h-scroll/bds.scss +1 -1
- package/styles/h-scroll/bootstrap-dark.scss +1 -1
- package/styles/h-scroll/bootstrap.scss +1 -1
- package/styles/h-scroll/bootstrap4.scss +1 -1
- package/styles/h-scroll/bootstrap5-dark.scss +1 -1
- package/styles/h-scroll/bootstrap5.3.scss +1 -1
- package/styles/h-scroll/bootstrap5.scss +1 -1
- package/styles/h-scroll/fabric-dark.scss +1 -1
- package/styles/h-scroll/fabric.scss +1 -1
- package/styles/h-scroll/fluent-dark.scss +1 -1
- package/styles/h-scroll/fluent.scss +1 -1
- package/styles/h-scroll/fluent2.scss +1 -1
- package/styles/h-scroll/highcontrast-light.scss +1 -1
- package/styles/h-scroll/highcontrast.scss +1 -1
- package/styles/h-scroll/material-dark.scss +1 -1
- package/styles/h-scroll/material.scss +1 -1
- package/styles/h-scroll/material3-dark.scss +2 -1
- package/styles/h-scroll/material3.scss +2 -1
- package/styles/h-scroll/tailwind-dark.scss +1 -1
- package/styles/h-scroll/tailwind.scss +1 -1
- package/styles/h-scroll/tailwind3.scss +1 -1
- package/styles/highcontrast-light-lite.scss +1 -1
- package/styles/highcontrast-light.scss +14 -14
- package/styles/highcontrast-lite.scss +1 -1
- package/styles/highcontrast.scss +14 -14
- package/styles/material-dark-lite.scss +1 -1
- package/styles/material-dark.scss +14 -14
- package/styles/material-lite.scss +1 -1
- package/styles/material.scss +14 -14
- package/styles/material3-dark-lite.scss +1 -1
- package/styles/material3-dark.scss +15 -14
- package/styles/material3-lite.scss +1 -1
- package/styles/material3.scss +15 -14
- package/styles/menu/bds.scss +1 -1
- package/styles/menu/bootstrap-dark.scss +1 -1
- package/styles/menu/bootstrap.scss +1 -1
- package/styles/menu/bootstrap4.scss +1 -1
- package/styles/menu/bootstrap5-dark.scss +1 -1
- package/styles/menu/bootstrap5.3.scss +1 -1
- package/styles/menu/bootstrap5.scss +1 -1
- package/styles/menu/fabric-dark.scss +1 -1
- package/styles/menu/fabric.scss +1 -1
- package/styles/menu/fluent-dark.scss +1 -1
- package/styles/menu/fluent.scss +1 -1
- package/styles/menu/fluent2.scss +1 -1
- package/styles/menu/highcontrast-light.scss +1 -1
- package/styles/menu/highcontrast.scss +1 -1
- package/styles/menu/material-dark.scss +1 -1
- package/styles/menu/material.scss +1 -1
- package/styles/menu/material3-dark.scss +2 -1
- package/styles/menu/material3.scss +2 -1
- package/styles/menu/tailwind-dark.scss +1 -1
- package/styles/menu/tailwind.scss +1 -1
- package/styles/menu/tailwind3.scss +1 -1
- package/styles/pager/bds.scss +1 -1
- package/styles/pager/bootstrap-dark.scss +1 -1
- package/styles/pager/bootstrap.scss +1 -1
- package/styles/pager/bootstrap4.scss +1 -1
- package/styles/pager/bootstrap5-dark.scss +1 -1
- package/styles/pager/bootstrap5.3.scss +1 -1
- package/styles/pager/bootstrap5.scss +1 -1
- package/styles/pager/fabric-dark.scss +1 -1
- package/styles/pager/fabric.scss +1 -1
- package/styles/pager/fluent-dark.scss +1 -1
- package/styles/pager/fluent.scss +1 -1
- package/styles/pager/fluent2.scss +1 -1
- package/styles/pager/highcontrast-light.scss +1 -1
- package/styles/pager/highcontrast.scss +1 -1
- package/styles/pager/material-dark.scss +1 -1
- package/styles/pager/material.scss +1 -1
- package/styles/pager/material3-dark.scss +2 -1
- package/styles/pager/material3.scss +2 -1
- package/styles/pager/tailwind-dark.scss +1 -1
- package/styles/pager/tailwind.scss +1 -1
- package/styles/pager/tailwind3.scss +1 -1
- package/styles/sidebar/bds.scss +1 -1
- package/styles/sidebar/bootstrap-dark.scss +1 -1
- package/styles/sidebar/bootstrap.scss +1 -1
- package/styles/sidebar/bootstrap4.scss +1 -1
- package/styles/sidebar/bootstrap5-dark.scss +1 -1
- package/styles/sidebar/bootstrap5.3.scss +1 -1
- package/styles/sidebar/bootstrap5.scss +1 -1
- package/styles/sidebar/fabric-dark.scss +1 -1
- package/styles/sidebar/fabric.scss +1 -1
- package/styles/sidebar/fluent-dark.scss +1 -1
- package/styles/sidebar/fluent.scss +1 -1
- package/styles/sidebar/fluent2.scss +1 -1
- package/styles/sidebar/highcontrast-light.scss +1 -1
- package/styles/sidebar/highcontrast.scss +1 -1
- package/styles/sidebar/material-dark.scss +1 -1
- package/styles/sidebar/material.scss +1 -1
- package/styles/sidebar/material3-dark.scss +2 -1
- package/styles/sidebar/material3.scss +2 -1
- package/styles/sidebar/tailwind-dark.scss +1 -1
- package/styles/sidebar/tailwind.scss +1 -1
- package/styles/sidebar/tailwind3.scss +1 -1
- package/styles/stepper/bds.scss +1 -1
- package/styles/stepper/bootstrap-dark.scss +1 -1
- package/styles/stepper/bootstrap.scss +1 -1
- package/styles/stepper/bootstrap4.scss +1 -1
- package/styles/stepper/bootstrap5-dark.scss +1 -1
- package/styles/stepper/bootstrap5.3.scss +1 -1
- package/styles/stepper/bootstrap5.scss +1 -1
- package/styles/stepper/fabric-dark.scss +1 -1
- package/styles/stepper/fabric.scss +1 -1
- package/styles/stepper/fluent-dark.scss +1 -1
- package/styles/stepper/fluent.scss +1 -1
- package/styles/stepper/fluent2.scss +1 -1
- package/styles/stepper/highcontrast-light.scss +1 -1
- package/styles/stepper/highcontrast.scss +1 -1
- package/styles/stepper/material-dark.scss +1 -1
- package/styles/stepper/material.scss +1 -1
- package/styles/stepper/material3-dark.scss +2 -1
- package/styles/stepper/material3.scss +2 -1
- package/styles/stepper/tailwind-dark.scss +1 -1
- package/styles/stepper/tailwind.scss +1 -1
- package/styles/stepper/tailwind3.scss +1 -1
- package/styles/tab/bds.scss +1 -1
- package/styles/tab/bootstrap-dark.scss +1 -1
- package/styles/tab/bootstrap.scss +1 -1
- package/styles/tab/bootstrap4.scss +1 -1
- package/styles/tab/bootstrap5-dark.scss +1 -1
- package/styles/tab/bootstrap5.3.scss +1 -1
- package/styles/tab/bootstrap5.scss +1 -1
- package/styles/tab/fabric-dark.scss +1 -1
- package/styles/tab/fabric.scss +1 -1
- package/styles/tab/fluent-dark.scss +1 -1
- package/styles/tab/fluent.scss +1 -1
- package/styles/tab/fluent2.scss +1 -1
- package/styles/tab/highcontrast-light.scss +1 -1
- package/styles/tab/highcontrast.scss +1 -1
- package/styles/tab/material-dark.scss +1 -1
- package/styles/tab/material.scss +1 -1
- package/styles/tab/material3-dark.scss +2 -1
- package/styles/tab/material3.scss +2 -1
- package/styles/tab/tailwind-dark.scss +1 -1
- package/styles/tab/tailwind.scss +1 -1
- package/styles/tab/tailwind3.scss +1 -1
- package/styles/tailwind-dark-lite.scss +1 -1
- package/styles/tailwind-dark.scss +14 -14
- package/styles/tailwind-lite.scss +1 -1
- package/styles/tailwind.scss +14 -14
- package/styles/tailwind3-lite.scss +1 -1
- package/styles/tailwind3.scss +14 -14
- package/styles/toolbar/bds.scss +1 -1
- package/styles/toolbar/bootstrap-dark.scss +1 -1
- package/styles/toolbar/bootstrap.scss +1 -1
- package/styles/toolbar/bootstrap4.scss +1 -1
- package/styles/toolbar/bootstrap5-dark.scss +1 -1
- package/styles/toolbar/bootstrap5.3.scss +1 -1
- package/styles/toolbar/bootstrap5.scss +1 -1
- package/styles/toolbar/fabric-dark.scss +1 -1
- package/styles/toolbar/fabric.scss +1 -1
- package/styles/toolbar/fluent-dark.scss +1 -1
- package/styles/toolbar/fluent.scss +1 -1
- package/styles/toolbar/fluent2.scss +1 -1
- package/styles/toolbar/highcontrast-light.scss +1 -1
- package/styles/toolbar/highcontrast.scss +1 -1
- package/styles/toolbar/material-dark.scss +1 -1
- package/styles/toolbar/material.scss +1 -1
- package/styles/toolbar/material3-dark.scss +2 -1
- package/styles/toolbar/material3.scss +2 -1
- package/styles/toolbar/tailwind-dark.scss +1 -1
- package/styles/toolbar/tailwind.scss +1 -1
- package/styles/toolbar/tailwind3.scss +1 -1
- package/styles/treeview/bds.scss +1 -1
- package/styles/treeview/bootstrap-dark.scss +1 -1
- package/styles/treeview/bootstrap.scss +1 -1
- package/styles/treeview/bootstrap4.scss +1 -1
- package/styles/treeview/bootstrap5-dark.scss +1 -1
- package/styles/treeview/bootstrap5.3.scss +1 -1
- package/styles/treeview/bootstrap5.scss +1 -1
- package/styles/treeview/fabric-dark.scss +1 -1
- package/styles/treeview/fabric.scss +1 -1
- package/styles/treeview/fluent-dark.scss +1 -1
- package/styles/treeview/fluent.scss +1 -1
- package/styles/treeview/fluent2.scss +1 -1
- package/styles/treeview/highcontrast-light.scss +1 -1
- package/styles/treeview/highcontrast.scss +1 -1
- package/styles/treeview/material-dark.scss +1 -1
- package/styles/treeview/material.scss +1 -1
- package/styles/treeview/material3-dark.scss +2 -1
- package/styles/treeview/material3.scss +2 -1
- package/styles/treeview/tailwind-dark.scss +1 -1
- package/styles/treeview/tailwind.scss +1 -1
- package/styles/treeview/tailwind3.scss +1 -1
- package/styles/v-scroll/bds.scss +1 -1
- package/styles/v-scroll/bootstrap-dark.scss +1 -1
- package/styles/v-scroll/bootstrap.scss +1 -1
- package/styles/v-scroll/bootstrap4.scss +1 -1
- package/styles/v-scroll/bootstrap5-dark.scss +1 -1
- package/styles/v-scroll/bootstrap5.3.scss +1 -1
- package/styles/v-scroll/bootstrap5.scss +1 -1
- package/styles/v-scroll/fabric-dark.scss +1 -1
- package/styles/v-scroll/fabric.scss +1 -1
- package/styles/v-scroll/fluent-dark.scss +1 -1
- package/styles/v-scroll/fluent.scss +1 -1
- package/styles/v-scroll/fluent2.scss +1 -1
- package/styles/v-scroll/highcontrast-light.scss +1 -1
- package/styles/v-scroll/highcontrast.scss +1 -1
- package/styles/v-scroll/material-dark.scss +1 -1
- package/styles/v-scroll/material.scss +1 -1
- package/styles/v-scroll/material3-dark.scss +2 -1
- package/styles/v-scroll/material3.scss +2 -1
- package/styles/v-scroll/tailwind-dark.scss +1 -1
- package/styles/v-scroll/tailwind.scss +1 -1
- package/styles/v-scroll/tailwind3.scss +1 -1
- package/CHANGELOG.md +0 -3112
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/accordion/accordion-all.module.mjs +0 -23
- package/esm2020/src/accordion/accordion.component.mjs +0 -77
- package/esm2020/src/accordion/accordion.module.mjs +0 -34
- package/esm2020/src/accordion/items.directive.mjs +0 -72
- package/esm2020/src/appbar/appbar-all.module.mjs +0 -23
- package/esm2020/src/appbar/appbar.component.mjs +0 -59
- package/esm2020/src/appbar/appbar.module.mjs +0 -25
- package/esm2020/src/breadcrumb/breadcrumb-all.module.mjs +0 -23
- package/esm2020/src/breadcrumb/breadcrumb.component.mjs +0 -77
- package/esm2020/src/breadcrumb/breadcrumb.module.mjs +0 -34
- package/esm2020/src/breadcrumb/items.directive.mjs +0 -58
- package/esm2020/src/carousel/carousel-all.module.mjs +0 -23
- package/esm2020/src/carousel/carousel.component.mjs +0 -95
- package/esm2020/src/carousel/carousel.module.mjs +0 -34
- package/esm2020/src/carousel/items.directive.mjs +0 -66
- package/esm2020/src/context-menu/contextmenu-all.module.mjs +0 -23
- package/esm2020/src/context-menu/contextmenu.component.mjs +0 -60
- package/esm2020/src/context-menu/contextmenu.module.mjs +0 -25
- package/esm2020/src/index.mjs +0 -42
- package/esm2020/src/menu/items.directive.mjs +0 -46
- package/esm2020/src/menu/menu-all.module.mjs +0 -23
- package/esm2020/src/menu/menu.component.mjs +0 -71
- package/esm2020/src/menu/menu.module.mjs +0 -34
- package/esm2020/src/sidebar/sidebar-all.module.mjs +0 -23
- package/esm2020/src/sidebar/sidebar.component.mjs +0 -59
- package/esm2020/src/sidebar/sidebar.module.mjs +0 -25
- package/esm2020/src/stepper/stepper-all.module.mjs +0 -23
- package/esm2020/src/stepper/stepper.component.mjs +0 -77
- package/esm2020/src/stepper/stepper.module.mjs +0 -34
- package/esm2020/src/stepper/steps.directive.mjs +0 -58
- package/esm2020/src/tab/items.directive.mjs +0 -78
- package/esm2020/src/tab/tab-all.module.mjs +0 -23
- package/esm2020/src/tab/tab.component.mjs +0 -64
- package/esm2020/src/tab/tab.module.mjs +0 -34
- package/esm2020/src/toolbar/items.directive.mjs +0 -66
- package/esm2020/src/toolbar/toolbar-all.module.mjs +0 -23
- package/esm2020/src/toolbar/toolbar.component.mjs +0 -64
- package/esm2020/src/toolbar/toolbar.module.mjs +0 -34
- package/esm2020/src/treeview/treeview-all.module.mjs +0 -23
- package/esm2020/src/treeview/treeview.component.mjs +0 -66
- package/esm2020/src/treeview/treeview.module.mjs +0 -25
- package/esm2020/syncfusion-ej2-angular-navigations.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-navigations.mjs +0 -1615
- package/fesm2015/syncfusion-ej2-angular-navigations.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-navigations.mjs +0 -1615
- package/fesm2020/syncfusion-ej2-angular-navigations.mjs.map +0 -1
- package/syncfusion-ej2-angular-navigations.d.ts +0 -5
|
@@ -0,0 +1,2070 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import { Accordion, AppBar, Breadcrumb, Carousel, ContextMenu, Menu, Sidebar, Stepper, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11
|
+
};
|
|
12
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
13
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
14
|
+
};
|
|
15
|
+
let input = ['content', 'cssClass', 'disabled', 'expanded', 'header', 'iconCss', 'id', 'visible'];
|
|
16
|
+
let outputs = [];
|
|
17
|
+
/**
|
|
18
|
+
* 'e-accordionitem' directive represent a item of the Angular Accordion.
|
|
19
|
+
* It must be contained in a Accordion component(`ejs-accordion`).
|
|
20
|
+
* ```html
|
|
21
|
+
* <ejs-accordion>
|
|
22
|
+
* <e-accordionitems>
|
|
23
|
+
* <e-accordionitem header='Header1'></e-accordionitem>
|
|
24
|
+
* <e-accordionitem header='Header2' content='Content2'></e-accordionitem>
|
|
25
|
+
* </e-accordionitems>
|
|
26
|
+
* </ejs-accordion>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class AccordionItemDirective extends ComplexBase {
|
|
30
|
+
/**
|
|
31
|
+
* @param {?} viewContainerRef
|
|
32
|
+
*/
|
|
33
|
+
constructor(viewContainerRef) {
|
|
34
|
+
super();
|
|
35
|
+
this.viewContainerRef = viewContainerRef;
|
|
36
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
37
|
+
this.registerEvents(outputs);
|
|
38
|
+
this.directivePropList = input;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
AccordionItemDirective.decorators = [
|
|
42
|
+
{ type: Directive, args: [{
|
|
43
|
+
selector: 'e-accordionitems>e-accordionitem',
|
|
44
|
+
inputs: input,
|
|
45
|
+
outputs: outputs,
|
|
46
|
+
queries: {}
|
|
47
|
+
},] },
|
|
48
|
+
];
|
|
49
|
+
/**
|
|
50
|
+
* @nocollapse
|
|
51
|
+
*/
|
|
52
|
+
AccordionItemDirective.ctorParameters = () => [
|
|
53
|
+
{ type: ViewContainerRef, },
|
|
54
|
+
];
|
|
55
|
+
AccordionItemDirective.propDecorators = {
|
|
56
|
+
'header': [{ type: ContentChild, args: ['header',] },],
|
|
57
|
+
'content': [{ type: ContentChild, args: ['content',] },],
|
|
58
|
+
};
|
|
59
|
+
__decorate([
|
|
60
|
+
Template(),
|
|
61
|
+
__metadata("design:type", Object)
|
|
62
|
+
], AccordionItemDirective.prototype, "header", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
Template(),
|
|
65
|
+
__metadata("design:type", Object)
|
|
66
|
+
], AccordionItemDirective.prototype, "content", void 0);
|
|
67
|
+
/**
|
|
68
|
+
* AccordionItem Array Directive
|
|
69
|
+
*/
|
|
70
|
+
class AccordionItemsDirective extends ArrayBase {
|
|
71
|
+
constructor() {
|
|
72
|
+
super('items');
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
AccordionItemsDirective.decorators = [
|
|
76
|
+
{ type: Directive, args: [{
|
|
77
|
+
selector: 'ejs-accordion>e-accordionitems',
|
|
78
|
+
queries: {
|
|
79
|
+
children: new ContentChildren(AccordionItemDirective)
|
|
80
|
+
},
|
|
81
|
+
},] },
|
|
82
|
+
];
|
|
83
|
+
/**
|
|
84
|
+
* @nocollapse
|
|
85
|
+
*/
|
|
86
|
+
AccordionItemsDirective.ctorParameters = () => [];
|
|
87
|
+
|
|
88
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
89
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
90
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
91
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
92
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
93
|
+
};
|
|
94
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
95
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
96
|
+
};
|
|
97
|
+
const inputs = ['animation', 'dataSource', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandMode', 'expandedIndices', 'headerTemplate', 'height', 'itemTemplate', 'items', 'locale', 'width'];
|
|
98
|
+
const outputs$1 = ['clicked', 'created', 'destroyed', 'expanded', 'expanding', 'expandedIndicesChange'];
|
|
99
|
+
const twoWays = ['expandedIndices'];
|
|
100
|
+
/**
|
|
101
|
+
* Represents the Angular Accordion Component.
|
|
102
|
+
* ```html
|
|
103
|
+
* <ejs-accordion></ejs-accordion>
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
let AccordionComponent = class AccordionComponent extends Accordion {
|
|
107
|
+
/**
|
|
108
|
+
* @param {?} ngEle
|
|
109
|
+
* @param {?} srenderer
|
|
110
|
+
* @param {?} viewContainerRef
|
|
111
|
+
* @param {?} injector
|
|
112
|
+
*/
|
|
113
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
114
|
+
super();
|
|
115
|
+
this.ngEle = ngEle;
|
|
116
|
+
this.srenderer = srenderer;
|
|
117
|
+
this.viewContainerRef = viewContainerRef;
|
|
118
|
+
this.injector = injector;
|
|
119
|
+
this.tags = ['items'];
|
|
120
|
+
this.element = this.ngEle.nativeElement;
|
|
121
|
+
this.injectedModules = this.injectedModules || [];
|
|
122
|
+
this.registerEvents(outputs$1);
|
|
123
|
+
this.addTwoWay.call(this, twoWays);
|
|
124
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
125
|
+
this.containerContext = new ComponentBase();
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* @return {?}
|
|
129
|
+
*/
|
|
130
|
+
ngOnInit() {
|
|
131
|
+
this.containerContext.ngOnInit(this);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* @return {?}
|
|
135
|
+
*/
|
|
136
|
+
ngAfterViewInit() {
|
|
137
|
+
this.containerContext.ngAfterViewInit(this);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @return {?}
|
|
141
|
+
*/
|
|
142
|
+
ngOnDestroy() {
|
|
143
|
+
this.containerContext.ngOnDestroy(this);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* @return {?}
|
|
147
|
+
*/
|
|
148
|
+
ngAfterContentChecked() {
|
|
149
|
+
this.tagObjects[0].instance = this.childItems;
|
|
150
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
AccordionComponent.decorators = [
|
|
154
|
+
{ type: Component, args: [{
|
|
155
|
+
selector: 'ejs-accordion',
|
|
156
|
+
inputs: inputs,
|
|
157
|
+
outputs: outputs$1,
|
|
158
|
+
template: `<ng-content select='div'></ng-content>`,
|
|
159
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
160
|
+
queries: {
|
|
161
|
+
childItems: new ContentChild(AccordionItemsDirective)
|
|
162
|
+
}
|
|
163
|
+
},] },
|
|
164
|
+
];
|
|
165
|
+
/**
|
|
166
|
+
* @nocollapse
|
|
167
|
+
*/
|
|
168
|
+
AccordionComponent.ctorParameters = () => [
|
|
169
|
+
{ type: ElementRef, },
|
|
170
|
+
{ type: Renderer2, },
|
|
171
|
+
{ type: ViewContainerRef, },
|
|
172
|
+
{ type: Injector, },
|
|
173
|
+
];
|
|
174
|
+
AccordionComponent.propDecorators = {
|
|
175
|
+
'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
|
|
176
|
+
'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
|
|
177
|
+
};
|
|
178
|
+
__decorate$1([
|
|
179
|
+
Template(),
|
|
180
|
+
__metadata$1("design:type", Object)
|
|
181
|
+
], AccordionComponent.prototype, "headerTemplate", void 0);
|
|
182
|
+
__decorate$1([
|
|
183
|
+
Template(),
|
|
184
|
+
__metadata$1("design:type", Object)
|
|
185
|
+
], AccordionComponent.prototype, "itemTemplate", void 0);
|
|
186
|
+
AccordionComponent = __decorate$1([
|
|
187
|
+
ComponentMixins([ComponentBase]),
|
|
188
|
+
__metadata$1("design:paramtypes", [ElementRef,
|
|
189
|
+
Renderer2,
|
|
190
|
+
ViewContainerRef,
|
|
191
|
+
Injector])
|
|
192
|
+
], AccordionComponent);
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* NgModule definition for the Accordion component.
|
|
196
|
+
*/
|
|
197
|
+
class AccordionModule {
|
|
198
|
+
}
|
|
199
|
+
AccordionModule.decorators = [
|
|
200
|
+
{ type: NgModule, args: [{
|
|
201
|
+
imports: [CommonModule],
|
|
202
|
+
declarations: [
|
|
203
|
+
AccordionComponent,
|
|
204
|
+
AccordionItemDirective,
|
|
205
|
+
AccordionItemsDirective
|
|
206
|
+
],
|
|
207
|
+
exports: [
|
|
208
|
+
AccordionComponent,
|
|
209
|
+
AccordionItemDirective,
|
|
210
|
+
AccordionItemsDirective
|
|
211
|
+
]
|
|
212
|
+
},] },
|
|
213
|
+
];
|
|
214
|
+
/**
|
|
215
|
+
* @nocollapse
|
|
216
|
+
*/
|
|
217
|
+
AccordionModule.ctorParameters = () => [];
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* NgModule definition for the Accordion component with providers.
|
|
221
|
+
*/
|
|
222
|
+
class AccordionAllModule {
|
|
223
|
+
}
|
|
224
|
+
AccordionAllModule.decorators = [
|
|
225
|
+
{ type: NgModule, args: [{
|
|
226
|
+
imports: [CommonModule, AccordionModule],
|
|
227
|
+
exports: [
|
|
228
|
+
AccordionModule
|
|
229
|
+
],
|
|
230
|
+
providers: []
|
|
231
|
+
},] },
|
|
232
|
+
];
|
|
233
|
+
/**
|
|
234
|
+
* @nocollapse
|
|
235
|
+
*/
|
|
236
|
+
AccordionAllModule.ctorParameters = () => [];
|
|
237
|
+
|
|
238
|
+
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
239
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
240
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
241
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
242
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
243
|
+
};
|
|
244
|
+
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
|
245
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
246
|
+
};
|
|
247
|
+
let input$1 = ['align', 'cssClass', 'disabled', 'htmlAttributes', 'id', 'overflow', 'prefixIcon', 'showAlwaysInPopup', 'showTextOn', 'suffixIcon', 'tabIndex', 'template', 'text', 'tooltipText', 'type', 'visible', 'width'];
|
|
248
|
+
let outputs$2 = ['click'];
|
|
249
|
+
/**
|
|
250
|
+
* 'e-item' directive represent a item of the Angular Toolbar.
|
|
251
|
+
* It must be contained in a Toolbar component(`ejs-toolbar`).
|
|
252
|
+
* ```html
|
|
253
|
+
* <ejs-toolbar>
|
|
254
|
+
* <e-items>
|
|
255
|
+
* <e-item text='Cut'></e-item>
|
|
256
|
+
* <e-item text='Copy'></e-item>
|
|
257
|
+
* </e-items>
|
|
258
|
+
* </ejs-toolbar>
|
|
259
|
+
* ```
|
|
260
|
+
*/
|
|
261
|
+
class ItemDirective extends ComplexBase {
|
|
262
|
+
/**
|
|
263
|
+
* @param {?} viewContainerRef
|
|
264
|
+
*/
|
|
265
|
+
constructor(viewContainerRef) {
|
|
266
|
+
super();
|
|
267
|
+
this.viewContainerRef = viewContainerRef;
|
|
268
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
269
|
+
this.registerEvents(outputs$2);
|
|
270
|
+
this.directivePropList = input$1;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
ItemDirective.decorators = [
|
|
274
|
+
{ type: Directive, args: [{
|
|
275
|
+
selector: 'e-items>e-item',
|
|
276
|
+
inputs: input$1,
|
|
277
|
+
outputs: outputs$2,
|
|
278
|
+
queries: {}
|
|
279
|
+
},] },
|
|
280
|
+
];
|
|
281
|
+
/**
|
|
282
|
+
* @nocollapse
|
|
283
|
+
*/
|
|
284
|
+
ItemDirective.ctorParameters = () => [
|
|
285
|
+
{ type: ViewContainerRef, },
|
|
286
|
+
];
|
|
287
|
+
ItemDirective.propDecorators = {
|
|
288
|
+
'template': [{ type: ContentChild, args: ['template',] },],
|
|
289
|
+
};
|
|
290
|
+
__decorate$2([
|
|
291
|
+
Template(),
|
|
292
|
+
__metadata$2("design:type", Object)
|
|
293
|
+
], ItemDirective.prototype, "template", void 0);
|
|
294
|
+
/**
|
|
295
|
+
* Item Array Directive
|
|
296
|
+
*/
|
|
297
|
+
class ItemsDirective extends ArrayBase {
|
|
298
|
+
constructor() {
|
|
299
|
+
super('items');
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
ItemsDirective.decorators = [
|
|
303
|
+
{ type: Directive, args: [{
|
|
304
|
+
selector: 'ejs-toolbar>e-items',
|
|
305
|
+
queries: {
|
|
306
|
+
children: new ContentChildren(ItemDirective)
|
|
307
|
+
},
|
|
308
|
+
},] },
|
|
309
|
+
];
|
|
310
|
+
/**
|
|
311
|
+
* @nocollapse
|
|
312
|
+
*/
|
|
313
|
+
ItemsDirective.ctorParameters = () => [];
|
|
314
|
+
|
|
315
|
+
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
316
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
317
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
318
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
319
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
320
|
+
};
|
|
321
|
+
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
|
322
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
323
|
+
};
|
|
324
|
+
const inputs$1 = ['allowKeyboard', 'cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width'];
|
|
325
|
+
const outputs$3 = ['beforeCreate', 'clicked', 'created', 'destroyed', 'keyDown'];
|
|
326
|
+
const twoWays$1 = [''];
|
|
327
|
+
/**
|
|
328
|
+
* Represents the Angular Toolbar Component.
|
|
329
|
+
* ```html
|
|
330
|
+
* <ejs-toolbar></ejs-toolbar>
|
|
331
|
+
* ```
|
|
332
|
+
*/
|
|
333
|
+
let ToolbarComponent = class ToolbarComponent extends Toolbar {
|
|
334
|
+
/**
|
|
335
|
+
* @param {?} ngEle
|
|
336
|
+
* @param {?} srenderer
|
|
337
|
+
* @param {?} viewContainerRef
|
|
338
|
+
* @param {?} injector
|
|
339
|
+
*/
|
|
340
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
341
|
+
super();
|
|
342
|
+
this.ngEle = ngEle;
|
|
343
|
+
this.srenderer = srenderer;
|
|
344
|
+
this.viewContainerRef = viewContainerRef;
|
|
345
|
+
this.injector = injector;
|
|
346
|
+
this.tags = ['items'];
|
|
347
|
+
this.element = this.ngEle.nativeElement;
|
|
348
|
+
this.injectedModules = this.injectedModules || [];
|
|
349
|
+
this.registerEvents(outputs$3);
|
|
350
|
+
this.addTwoWay.call(this, twoWays$1);
|
|
351
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
352
|
+
this.containerContext = new ComponentBase();
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* @return {?}
|
|
356
|
+
*/
|
|
357
|
+
ngOnInit() {
|
|
358
|
+
this.containerContext.ngOnInit(this);
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* @return {?}
|
|
362
|
+
*/
|
|
363
|
+
ngAfterViewInit() {
|
|
364
|
+
this.containerContext.ngAfterViewInit(this);
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* @return {?}
|
|
368
|
+
*/
|
|
369
|
+
ngOnDestroy() {
|
|
370
|
+
this.containerContext.ngOnDestroy(this);
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* @return {?}
|
|
374
|
+
*/
|
|
375
|
+
ngAfterContentChecked() {
|
|
376
|
+
this.tagObjects[0].instance = this.childItems;
|
|
377
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
ToolbarComponent.decorators = [
|
|
381
|
+
{ type: Component, args: [{
|
|
382
|
+
selector: 'ejs-toolbar',
|
|
383
|
+
inputs: inputs$1,
|
|
384
|
+
outputs: outputs$3,
|
|
385
|
+
template: `<ng-content select='div'></ng-content>`,
|
|
386
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
387
|
+
queries: {
|
|
388
|
+
childItems: new ContentChild(ItemsDirective)
|
|
389
|
+
}
|
|
390
|
+
},] },
|
|
391
|
+
];
|
|
392
|
+
/**
|
|
393
|
+
* @nocollapse
|
|
394
|
+
*/
|
|
395
|
+
ToolbarComponent.ctorParameters = () => [
|
|
396
|
+
{ type: ElementRef, },
|
|
397
|
+
{ type: Renderer2, },
|
|
398
|
+
{ type: ViewContainerRef, },
|
|
399
|
+
{ type: Injector, },
|
|
400
|
+
];
|
|
401
|
+
ToolbarComponent = __decorate$3([
|
|
402
|
+
ComponentMixins([ComponentBase]),
|
|
403
|
+
__metadata$3("design:paramtypes", [ElementRef,
|
|
404
|
+
Renderer2,
|
|
405
|
+
ViewContainerRef,
|
|
406
|
+
Injector])
|
|
407
|
+
], ToolbarComponent);
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* NgModule definition for the Toolbar component.
|
|
411
|
+
*/
|
|
412
|
+
class ToolbarModule {
|
|
413
|
+
}
|
|
414
|
+
ToolbarModule.decorators = [
|
|
415
|
+
{ type: NgModule, args: [{
|
|
416
|
+
imports: [CommonModule],
|
|
417
|
+
declarations: [
|
|
418
|
+
ToolbarComponent,
|
|
419
|
+
ItemDirective,
|
|
420
|
+
ItemsDirective
|
|
421
|
+
],
|
|
422
|
+
exports: [
|
|
423
|
+
ToolbarComponent,
|
|
424
|
+
ItemDirective,
|
|
425
|
+
ItemsDirective
|
|
426
|
+
]
|
|
427
|
+
},] },
|
|
428
|
+
];
|
|
429
|
+
/**
|
|
430
|
+
* @nocollapse
|
|
431
|
+
*/
|
|
432
|
+
ToolbarModule.ctorParameters = () => [];
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* NgModule definition for the Toolbar component with providers.
|
|
436
|
+
*/
|
|
437
|
+
class ToolbarAllModule {
|
|
438
|
+
}
|
|
439
|
+
ToolbarAllModule.decorators = [
|
|
440
|
+
{ type: NgModule, args: [{
|
|
441
|
+
imports: [CommonModule, ToolbarModule],
|
|
442
|
+
exports: [
|
|
443
|
+
ToolbarModule
|
|
444
|
+
],
|
|
445
|
+
providers: []
|
|
446
|
+
},] },
|
|
447
|
+
];
|
|
448
|
+
/**
|
|
449
|
+
* @nocollapse
|
|
450
|
+
*/
|
|
451
|
+
ToolbarAllModule.ctorParameters = () => [];
|
|
452
|
+
|
|
453
|
+
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
454
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
455
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
456
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
457
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
458
|
+
};
|
|
459
|
+
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
|
460
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
461
|
+
};
|
|
462
|
+
const inputs$2 = ['animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hoverDelay', 'itemTemplate', 'items', 'locale', 'showItemOnClick', 'target', 'template'];
|
|
463
|
+
const outputs$4 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
464
|
+
const twoWays$2 = [''];
|
|
465
|
+
/**
|
|
466
|
+
* Represents the EJ2 Angular ContextMenu Component.
|
|
467
|
+
* ```html
|
|
468
|
+
* <div id='target'>Right click / Touch hold to open the ContextMenu</div>
|
|
469
|
+
* <ejs-contextmenu target='#target' [items]='menuItems'></ejs-contextmenu>
|
|
470
|
+
* ```
|
|
471
|
+
*/
|
|
472
|
+
let ContextMenuComponent = class ContextMenuComponent extends ContextMenu {
|
|
473
|
+
/**
|
|
474
|
+
* @param {?} ngEle
|
|
475
|
+
* @param {?} srenderer
|
|
476
|
+
* @param {?} viewContainerRef
|
|
477
|
+
* @param {?} injector
|
|
478
|
+
*/
|
|
479
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
480
|
+
super();
|
|
481
|
+
this.ngEle = ngEle;
|
|
482
|
+
this.srenderer = srenderer;
|
|
483
|
+
this.viewContainerRef = viewContainerRef;
|
|
484
|
+
this.injector = injector;
|
|
485
|
+
this.element = this.ngEle.nativeElement;
|
|
486
|
+
this.injectedModules = this.injectedModules || [];
|
|
487
|
+
this.registerEvents(outputs$4);
|
|
488
|
+
this.addTwoWay.call(this, twoWays$2);
|
|
489
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
490
|
+
this.context = new ComponentBase();
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* @return {?}
|
|
494
|
+
*/
|
|
495
|
+
ngOnInit() {
|
|
496
|
+
this.context.ngOnInit(this);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* @return {?}
|
|
500
|
+
*/
|
|
501
|
+
ngAfterViewInit() {
|
|
502
|
+
this.context.ngAfterViewInit(this);
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* @return {?}
|
|
506
|
+
*/
|
|
507
|
+
ngOnDestroy() {
|
|
508
|
+
this.context.ngOnDestroy(this);
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* @return {?}
|
|
512
|
+
*/
|
|
513
|
+
ngAfterContentChecked() {
|
|
514
|
+
this.context.ngAfterContentChecked(this);
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
ContextMenuComponent.decorators = [
|
|
518
|
+
{ type: Component, args: [{
|
|
519
|
+
selector: 'ejs-contextmenu',
|
|
520
|
+
inputs: inputs$2,
|
|
521
|
+
outputs: outputs$4,
|
|
522
|
+
template: '',
|
|
523
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
524
|
+
queries: {}
|
|
525
|
+
},] },
|
|
526
|
+
];
|
|
527
|
+
/**
|
|
528
|
+
* @nocollapse
|
|
529
|
+
*/
|
|
530
|
+
ContextMenuComponent.ctorParameters = () => [
|
|
531
|
+
{ type: ElementRef, },
|
|
532
|
+
{ type: Renderer2, },
|
|
533
|
+
{ type: ViewContainerRef, },
|
|
534
|
+
{ type: Injector, },
|
|
535
|
+
];
|
|
536
|
+
ContextMenuComponent = __decorate$4([
|
|
537
|
+
ComponentMixins([ComponentBase]),
|
|
538
|
+
__metadata$4("design:paramtypes", [ElementRef,
|
|
539
|
+
Renderer2,
|
|
540
|
+
ViewContainerRef,
|
|
541
|
+
Injector])
|
|
542
|
+
], ContextMenuComponent);
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* NgModule definition for the ContextMenu component.
|
|
546
|
+
*/
|
|
547
|
+
class ContextMenuModule {
|
|
548
|
+
}
|
|
549
|
+
ContextMenuModule.decorators = [
|
|
550
|
+
{ type: NgModule, args: [{
|
|
551
|
+
imports: [CommonModule],
|
|
552
|
+
declarations: [
|
|
553
|
+
ContextMenuComponent
|
|
554
|
+
],
|
|
555
|
+
exports: [
|
|
556
|
+
ContextMenuComponent
|
|
557
|
+
]
|
|
558
|
+
},] },
|
|
559
|
+
];
|
|
560
|
+
/**
|
|
561
|
+
* @nocollapse
|
|
562
|
+
*/
|
|
563
|
+
ContextMenuModule.ctorParameters = () => [];
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* NgModule definition for the ContextMenu component with providers.
|
|
567
|
+
*/
|
|
568
|
+
class ContextMenuAllModule {
|
|
569
|
+
}
|
|
570
|
+
ContextMenuAllModule.decorators = [
|
|
571
|
+
{ type: NgModule, args: [{
|
|
572
|
+
imports: [CommonModule, ContextMenuModule],
|
|
573
|
+
exports: [
|
|
574
|
+
ContextMenuModule
|
|
575
|
+
],
|
|
576
|
+
providers: []
|
|
577
|
+
},] },
|
|
578
|
+
];
|
|
579
|
+
/**
|
|
580
|
+
* @nocollapse
|
|
581
|
+
*/
|
|
582
|
+
ContextMenuAllModule.ctorParameters = () => [];
|
|
583
|
+
|
|
584
|
+
let input$2 = ['disabled', 'iconCss', 'id', 'text', 'url'];
|
|
585
|
+
let outputs$5 = [];
|
|
586
|
+
/**
|
|
587
|
+
* `e-breadcrumb-item` directive represent a item of the Angular Breadcrumb.
|
|
588
|
+
* It must be contained in a Breadcrumb component(`ejs-breadcrumb`).
|
|
589
|
+
* ```html
|
|
590
|
+
* <ejs-breadcrumb>
|
|
591
|
+
* <e-breadcrumb-items>
|
|
592
|
+
* <e-breadcrumb-item text='Home' url='/'></e-breadcrumb-item>
|
|
593
|
+
* <e-breadcrumb-item text='Index' url='./index'></e-breadcrumb-item>
|
|
594
|
+
* </e-breadcrumb-items>
|
|
595
|
+
* </ejs-breadcrumb>
|
|
596
|
+
* ```
|
|
597
|
+
*/
|
|
598
|
+
class BreadcrumbItemDirective extends ComplexBase {
|
|
599
|
+
/**
|
|
600
|
+
* @param {?} viewContainerRef
|
|
601
|
+
*/
|
|
602
|
+
constructor(viewContainerRef) {
|
|
603
|
+
super();
|
|
604
|
+
this.viewContainerRef = viewContainerRef;
|
|
605
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
606
|
+
this.registerEvents(outputs$5);
|
|
607
|
+
this.directivePropList = input$2;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
BreadcrumbItemDirective.decorators = [
|
|
611
|
+
{ type: Directive, args: [{
|
|
612
|
+
selector: 'ejs-breadcrumb>e-breadcrumb-items>e-breadcrumb-item',
|
|
613
|
+
inputs: input$2,
|
|
614
|
+
outputs: outputs$5,
|
|
615
|
+
queries: {}
|
|
616
|
+
},] },
|
|
617
|
+
];
|
|
618
|
+
/**
|
|
619
|
+
* @nocollapse
|
|
620
|
+
*/
|
|
621
|
+
BreadcrumbItemDirective.ctorParameters = () => [
|
|
622
|
+
{ type: ViewContainerRef, },
|
|
623
|
+
];
|
|
624
|
+
/**
|
|
625
|
+
* BreadcrumbItem Array Directive
|
|
626
|
+
*/
|
|
627
|
+
class BreadcrumbItemsDirective extends ArrayBase {
|
|
628
|
+
constructor() {
|
|
629
|
+
super('items');
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
BreadcrumbItemsDirective.decorators = [
|
|
633
|
+
{ type: Directive, args: [{
|
|
634
|
+
selector: 'ejs-breadcrumb>e-breadcrumb-items',
|
|
635
|
+
queries: {
|
|
636
|
+
children: new ContentChildren(BreadcrumbItemDirective)
|
|
637
|
+
},
|
|
638
|
+
},] },
|
|
639
|
+
];
|
|
640
|
+
/**
|
|
641
|
+
* @nocollapse
|
|
642
|
+
*/
|
|
643
|
+
BreadcrumbItemsDirective.ctorParameters = () => [];
|
|
644
|
+
|
|
645
|
+
var __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
646
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
647
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
648
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
649
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
650
|
+
};
|
|
651
|
+
var __metadata$5 = (this && this.__metadata) || function (k, v) {
|
|
652
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
653
|
+
};
|
|
654
|
+
const inputs$3 = ['activeItem', 'cssClass', 'disabled', 'enableActiveItemNavigation', 'enableNavigation', 'enablePersistence', 'enableRtl', 'itemTemplate', 'items', 'locale', 'maxItems', 'overflowMode', 'separatorTemplate', 'url'];
|
|
655
|
+
const outputs$6 = ['beforeItemRender', 'created', 'itemClick', 'activeItemChange'];
|
|
656
|
+
const twoWays$3 = ['activeItem'];
|
|
657
|
+
/**
|
|
658
|
+
* Represents the EJ2 Angular Breadcrumb Component.
|
|
659
|
+
* ```html
|
|
660
|
+
* <ejs-breadcrumb [items]='breadcrumbItems'></ejs-breadcrumb>
|
|
661
|
+
* ```
|
|
662
|
+
*/
|
|
663
|
+
let BreadcrumbComponent = class BreadcrumbComponent extends Breadcrumb {
|
|
664
|
+
/**
|
|
665
|
+
* @param {?} ngEle
|
|
666
|
+
* @param {?} srenderer
|
|
667
|
+
* @param {?} viewContainerRef
|
|
668
|
+
* @param {?} injector
|
|
669
|
+
*/
|
|
670
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
671
|
+
super();
|
|
672
|
+
this.ngEle = ngEle;
|
|
673
|
+
this.srenderer = srenderer;
|
|
674
|
+
this.viewContainerRef = viewContainerRef;
|
|
675
|
+
this.injector = injector;
|
|
676
|
+
this.tags = ['items'];
|
|
677
|
+
this.element = this.ngEle.nativeElement;
|
|
678
|
+
this.injectedModules = this.injectedModules || [];
|
|
679
|
+
this.registerEvents(outputs$6);
|
|
680
|
+
this.addTwoWay.call(this, twoWays$3);
|
|
681
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
682
|
+
this.context = new ComponentBase();
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* @return {?}
|
|
686
|
+
*/
|
|
687
|
+
ngOnInit() {
|
|
688
|
+
this.context.ngOnInit(this);
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* @return {?}
|
|
692
|
+
*/
|
|
693
|
+
ngAfterViewInit() {
|
|
694
|
+
this.context.ngAfterViewInit(this);
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* @return {?}
|
|
698
|
+
*/
|
|
699
|
+
ngOnDestroy() {
|
|
700
|
+
this.context.ngOnDestroy(this);
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* @return {?}
|
|
704
|
+
*/
|
|
705
|
+
ngAfterContentChecked() {
|
|
706
|
+
this.tagObjects[0].instance = this.childItems;
|
|
707
|
+
this.context.ngAfterContentChecked(this);
|
|
708
|
+
}
|
|
709
|
+
};
|
|
710
|
+
BreadcrumbComponent.decorators = [
|
|
711
|
+
{ type: Component, args: [{
|
|
712
|
+
selector: 'ejs-breadcrumb',
|
|
713
|
+
inputs: inputs$3,
|
|
714
|
+
outputs: outputs$6,
|
|
715
|
+
template: '',
|
|
716
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
717
|
+
queries: {
|
|
718
|
+
childItems: new ContentChild(BreadcrumbItemsDirective)
|
|
719
|
+
}
|
|
720
|
+
},] },
|
|
721
|
+
];
|
|
722
|
+
/**
|
|
723
|
+
* @nocollapse
|
|
724
|
+
*/
|
|
725
|
+
BreadcrumbComponent.ctorParameters = () => [
|
|
726
|
+
{ type: ElementRef, },
|
|
727
|
+
{ type: Renderer2, },
|
|
728
|
+
{ type: ViewContainerRef, },
|
|
729
|
+
{ type: Injector, },
|
|
730
|
+
];
|
|
731
|
+
BreadcrumbComponent.propDecorators = {
|
|
732
|
+
'separatorTemplate': [{ type: ContentChild, args: ['separatorTemplate',] },],
|
|
733
|
+
'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
|
|
734
|
+
};
|
|
735
|
+
__decorate$5([
|
|
736
|
+
Template(),
|
|
737
|
+
__metadata$5("design:type", Object)
|
|
738
|
+
], BreadcrumbComponent.prototype, "separatorTemplate", void 0);
|
|
739
|
+
__decorate$5([
|
|
740
|
+
Template(),
|
|
741
|
+
__metadata$5("design:type", Object)
|
|
742
|
+
], BreadcrumbComponent.prototype, "itemTemplate", void 0);
|
|
743
|
+
BreadcrumbComponent = __decorate$5([
|
|
744
|
+
ComponentMixins([ComponentBase]),
|
|
745
|
+
__metadata$5("design:paramtypes", [ElementRef,
|
|
746
|
+
Renderer2,
|
|
747
|
+
ViewContainerRef,
|
|
748
|
+
Injector])
|
|
749
|
+
], BreadcrumbComponent);
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* NgModule definition for the Breadcrumb component.
|
|
753
|
+
*/
|
|
754
|
+
class BreadcrumbModule {
|
|
755
|
+
}
|
|
756
|
+
BreadcrumbModule.decorators = [
|
|
757
|
+
{ type: NgModule, args: [{
|
|
758
|
+
imports: [CommonModule],
|
|
759
|
+
declarations: [
|
|
760
|
+
BreadcrumbComponent,
|
|
761
|
+
BreadcrumbItemDirective,
|
|
762
|
+
BreadcrumbItemsDirective
|
|
763
|
+
],
|
|
764
|
+
exports: [
|
|
765
|
+
BreadcrumbComponent,
|
|
766
|
+
BreadcrumbItemDirective,
|
|
767
|
+
BreadcrumbItemsDirective
|
|
768
|
+
]
|
|
769
|
+
},] },
|
|
770
|
+
];
|
|
771
|
+
/**
|
|
772
|
+
* @nocollapse
|
|
773
|
+
*/
|
|
774
|
+
BreadcrumbModule.ctorParameters = () => [];
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* NgModule definition for the Breadcrumb component with providers.
|
|
778
|
+
*/
|
|
779
|
+
class BreadcrumbAllModule {
|
|
780
|
+
}
|
|
781
|
+
BreadcrumbAllModule.decorators = [
|
|
782
|
+
{ type: NgModule, args: [{
|
|
783
|
+
imports: [CommonModule, BreadcrumbModule],
|
|
784
|
+
exports: [
|
|
785
|
+
BreadcrumbModule
|
|
786
|
+
],
|
|
787
|
+
providers: []
|
|
788
|
+
},] },
|
|
789
|
+
];
|
|
790
|
+
/**
|
|
791
|
+
* @nocollapse
|
|
792
|
+
*/
|
|
793
|
+
BreadcrumbAllModule.ctorParameters = () => [];
|
|
794
|
+
|
|
795
|
+
var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
796
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
797
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
798
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
799
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
800
|
+
};
|
|
801
|
+
var __metadata$6 = (this && this.__metadata) || function (k, v) {
|
|
802
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
803
|
+
};
|
|
804
|
+
let input$3 = ['cssClass', 'htmlAttributes', 'interval', 'template'];
|
|
805
|
+
let outputs$7 = [];
|
|
806
|
+
/**
|
|
807
|
+
* `e-carousel-item` directive represent a item of the Angular Carousel.
|
|
808
|
+
* It must be contained in a Carousel component(`ejs-carousel`).
|
|
809
|
+
* ```html
|
|
810
|
+
* <ejs-carousel>
|
|
811
|
+
* <e-carousel-items>
|
|
812
|
+
* <e-carousel-item template='#item1'></e-carousel-item>
|
|
813
|
+
* <e-carousel-item template='#item2'></e-carousel-item>
|
|
814
|
+
* </e-carousel-items>
|
|
815
|
+
* </ejs-carousel>
|
|
816
|
+
* ```
|
|
817
|
+
*/
|
|
818
|
+
class CarouselItemDirective extends ComplexBase {
|
|
819
|
+
/**
|
|
820
|
+
* @param {?} viewContainerRef
|
|
821
|
+
*/
|
|
822
|
+
constructor(viewContainerRef) {
|
|
823
|
+
super();
|
|
824
|
+
this.viewContainerRef = viewContainerRef;
|
|
825
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
826
|
+
this.registerEvents(outputs$7);
|
|
827
|
+
this.directivePropList = input$3;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
CarouselItemDirective.decorators = [
|
|
831
|
+
{ type: Directive, args: [{
|
|
832
|
+
selector: 'ejs-carousel>e-carousel-items>e-carousel-item',
|
|
833
|
+
inputs: input$3,
|
|
834
|
+
outputs: outputs$7,
|
|
835
|
+
queries: {}
|
|
836
|
+
},] },
|
|
837
|
+
];
|
|
838
|
+
/**
|
|
839
|
+
* @nocollapse
|
|
840
|
+
*/
|
|
841
|
+
CarouselItemDirective.ctorParameters = () => [
|
|
842
|
+
{ type: ViewContainerRef, },
|
|
843
|
+
];
|
|
844
|
+
CarouselItemDirective.propDecorators = {
|
|
845
|
+
'template': [{ type: ContentChild, args: ['template',] },],
|
|
846
|
+
};
|
|
847
|
+
__decorate$6([
|
|
848
|
+
Template(),
|
|
849
|
+
__metadata$6("design:type", Object)
|
|
850
|
+
], CarouselItemDirective.prototype, "template", void 0);
|
|
851
|
+
/**
|
|
852
|
+
* CarouselItem Array Directive
|
|
853
|
+
*/
|
|
854
|
+
class CarouselItemsDirective extends ArrayBase {
|
|
855
|
+
constructor() {
|
|
856
|
+
super('items');
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
CarouselItemsDirective.decorators = [
|
|
860
|
+
{ type: Directive, args: [{
|
|
861
|
+
selector: 'ejs-carousel>e-carousel-items',
|
|
862
|
+
queries: {
|
|
863
|
+
children: new ContentChildren(CarouselItemDirective)
|
|
864
|
+
},
|
|
865
|
+
},] },
|
|
866
|
+
];
|
|
867
|
+
/**
|
|
868
|
+
* @nocollapse
|
|
869
|
+
*/
|
|
870
|
+
CarouselItemsDirective.ctorParameters = () => [];
|
|
871
|
+
|
|
872
|
+
var __decorate$7 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
873
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
874
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
875
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
876
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
877
|
+
};
|
|
878
|
+
var __metadata$7 = (this && this.__metadata) || function (k, v) {
|
|
879
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
880
|
+
};
|
|
881
|
+
const inputs$4 = ['allowKeyboardInteraction', 'animationEffect', 'autoPlay', 'buttonsVisibility', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableTouchSwipe', 'height', 'htmlAttributes', 'indicatorsTemplate', 'indicatorsType', 'interval', 'itemTemplate', 'items', 'locale', 'loop', 'nextButtonTemplate', 'partialVisible', 'pauseOnHover', 'playButtonTemplate', 'previousButtonTemplate', 'selectedIndex', 'showIndicators', 'showPlayButton', 'swipeMode', 'width'];
|
|
882
|
+
const outputs$8 = ['slideChanged', 'slideChanging', 'selectedIndexChange'];
|
|
883
|
+
const twoWays$4 = ['selectedIndex'];
|
|
884
|
+
/**
|
|
885
|
+
* Represents the EJ2 Angular Carousel Component.
|
|
886
|
+
* ```html
|
|
887
|
+
* <ejs-carousel [items]='carouselItems'></ejs-carousel>
|
|
888
|
+
* ```
|
|
889
|
+
*/
|
|
890
|
+
let CarouselComponent = class CarouselComponent extends Carousel {
|
|
891
|
+
/**
|
|
892
|
+
* @param {?} ngEle
|
|
893
|
+
* @param {?} srenderer
|
|
894
|
+
* @param {?} viewContainerRef
|
|
895
|
+
* @param {?} injector
|
|
896
|
+
*/
|
|
897
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
898
|
+
super();
|
|
899
|
+
this.ngEle = ngEle;
|
|
900
|
+
this.srenderer = srenderer;
|
|
901
|
+
this.viewContainerRef = viewContainerRef;
|
|
902
|
+
this.injector = injector;
|
|
903
|
+
this.tags = ['items'];
|
|
904
|
+
this.element = this.ngEle.nativeElement;
|
|
905
|
+
this.injectedModules = this.injectedModules || [];
|
|
906
|
+
this.registerEvents(outputs$8);
|
|
907
|
+
this.addTwoWay.call(this, twoWays$4);
|
|
908
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
909
|
+
this.context = new ComponentBase();
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* @return {?}
|
|
913
|
+
*/
|
|
914
|
+
ngOnInit() {
|
|
915
|
+
this.context.ngOnInit(this);
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* @return {?}
|
|
919
|
+
*/
|
|
920
|
+
ngAfterViewInit() {
|
|
921
|
+
this.context.ngAfterViewInit(this);
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* @return {?}
|
|
925
|
+
*/
|
|
926
|
+
ngOnDestroy() {
|
|
927
|
+
this.context.ngOnDestroy(this);
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* @return {?}
|
|
931
|
+
*/
|
|
932
|
+
ngAfterContentChecked() {
|
|
933
|
+
this.tagObjects[0].instance = this.childItems;
|
|
934
|
+
this.context.ngAfterContentChecked(this);
|
|
935
|
+
}
|
|
936
|
+
};
|
|
937
|
+
CarouselComponent.decorators = [
|
|
938
|
+
{ type: Component, args: [{
|
|
939
|
+
selector: 'ejs-carousel',
|
|
940
|
+
inputs: inputs$4,
|
|
941
|
+
outputs: outputs$8,
|
|
942
|
+
template: '',
|
|
943
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
944
|
+
queries: {
|
|
945
|
+
childItems: new ContentChild(CarouselItemsDirective)
|
|
946
|
+
}
|
|
947
|
+
},] },
|
|
948
|
+
];
|
|
949
|
+
/**
|
|
950
|
+
* @nocollapse
|
|
951
|
+
*/
|
|
952
|
+
CarouselComponent.ctorParameters = () => [
|
|
953
|
+
{ type: ElementRef, },
|
|
954
|
+
{ type: Renderer2, },
|
|
955
|
+
{ type: ViewContainerRef, },
|
|
956
|
+
{ type: Injector, },
|
|
957
|
+
];
|
|
958
|
+
CarouselComponent.propDecorators = {
|
|
959
|
+
'indicatorsTemplate': [{ type: ContentChild, args: ['indicatorsTemplate',] },],
|
|
960
|
+
'nextButtonTemplate': [{ type: ContentChild, args: ['nextButtonTemplate',] },],
|
|
961
|
+
'previousButtonTemplate': [{ type: ContentChild, args: ['previousButtonTemplate',] },],
|
|
962
|
+
'playButtonTemplate': [{ type: ContentChild, args: ['playButtonTemplate',] },],
|
|
963
|
+
'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
|
|
964
|
+
};
|
|
965
|
+
__decorate$7([
|
|
966
|
+
Template(),
|
|
967
|
+
__metadata$7("design:type", Object)
|
|
968
|
+
], CarouselComponent.prototype, "indicatorsTemplate", void 0);
|
|
969
|
+
__decorate$7([
|
|
970
|
+
Template(),
|
|
971
|
+
__metadata$7("design:type", Object)
|
|
972
|
+
], CarouselComponent.prototype, "nextButtonTemplate", void 0);
|
|
973
|
+
__decorate$7([
|
|
974
|
+
Template(),
|
|
975
|
+
__metadata$7("design:type", Object)
|
|
976
|
+
], CarouselComponent.prototype, "previousButtonTemplate", void 0);
|
|
977
|
+
__decorate$7([
|
|
978
|
+
Template(),
|
|
979
|
+
__metadata$7("design:type", Object)
|
|
980
|
+
], CarouselComponent.prototype, "playButtonTemplate", void 0);
|
|
981
|
+
__decorate$7([
|
|
982
|
+
Template(),
|
|
983
|
+
__metadata$7("design:type", Object)
|
|
984
|
+
], CarouselComponent.prototype, "itemTemplate", void 0);
|
|
985
|
+
CarouselComponent = __decorate$7([
|
|
986
|
+
ComponentMixins([ComponentBase]),
|
|
987
|
+
__metadata$7("design:paramtypes", [ElementRef,
|
|
988
|
+
Renderer2,
|
|
989
|
+
ViewContainerRef,
|
|
990
|
+
Injector])
|
|
991
|
+
], CarouselComponent);
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* NgModule definition for the Carousel component.
|
|
995
|
+
*/
|
|
996
|
+
class CarouselModule {
|
|
997
|
+
}
|
|
998
|
+
CarouselModule.decorators = [
|
|
999
|
+
{ type: NgModule, args: [{
|
|
1000
|
+
imports: [CommonModule],
|
|
1001
|
+
declarations: [
|
|
1002
|
+
CarouselComponent,
|
|
1003
|
+
CarouselItemDirective,
|
|
1004
|
+
CarouselItemsDirective
|
|
1005
|
+
],
|
|
1006
|
+
exports: [
|
|
1007
|
+
CarouselComponent,
|
|
1008
|
+
CarouselItemDirective,
|
|
1009
|
+
CarouselItemsDirective
|
|
1010
|
+
]
|
|
1011
|
+
},] },
|
|
1012
|
+
];
|
|
1013
|
+
/**
|
|
1014
|
+
* @nocollapse
|
|
1015
|
+
*/
|
|
1016
|
+
CarouselModule.ctorParameters = () => [];
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* NgModule definition for the Carousel component with providers.
|
|
1020
|
+
*/
|
|
1021
|
+
class CarouselAllModule {
|
|
1022
|
+
}
|
|
1023
|
+
CarouselAllModule.decorators = [
|
|
1024
|
+
{ type: NgModule, args: [{
|
|
1025
|
+
imports: [CommonModule, CarouselModule],
|
|
1026
|
+
exports: [
|
|
1027
|
+
CarouselModule
|
|
1028
|
+
],
|
|
1029
|
+
providers: []
|
|
1030
|
+
},] },
|
|
1031
|
+
];
|
|
1032
|
+
/**
|
|
1033
|
+
* @nocollapse
|
|
1034
|
+
*/
|
|
1035
|
+
CarouselAllModule.ctorParameters = () => [];
|
|
1036
|
+
|
|
1037
|
+
var __decorate$8 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1038
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1039
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1040
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1041
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1042
|
+
};
|
|
1043
|
+
var __metadata$8 = (this && this.__metadata) || function (k, v) {
|
|
1044
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1045
|
+
};
|
|
1046
|
+
let input$4 = ['content', 'cssClass', 'disabled', 'header', 'headerTemplate', 'id', 'tabIndex', 'visible'];
|
|
1047
|
+
let outputs$9 = [];
|
|
1048
|
+
/**
|
|
1049
|
+
* 'e-tabitem' directive represent a item of the Angular Tab.
|
|
1050
|
+
* It must be contained in a Tab component(`ejs-tab`).
|
|
1051
|
+
* ```html
|
|
1052
|
+
* <ejs-tab>
|
|
1053
|
+
* <e-tabitems>
|
|
1054
|
+
* <e-tabitem [header]='Header 1' [content]='Content 1'></e-tabitem>
|
|
1055
|
+
* <e-tabitem [header]='Header 2' [content]='Content 2'></e-tabitem>
|
|
1056
|
+
* <e-tabitems>
|
|
1057
|
+
* </ejs-tab>
|
|
1058
|
+
* ```
|
|
1059
|
+
*/
|
|
1060
|
+
class TabItemDirective extends ComplexBase {
|
|
1061
|
+
/**
|
|
1062
|
+
* @param {?} viewContainerRef
|
|
1063
|
+
*/
|
|
1064
|
+
constructor(viewContainerRef) {
|
|
1065
|
+
super();
|
|
1066
|
+
this.viewContainerRef = viewContainerRef;
|
|
1067
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1068
|
+
this.registerEvents(outputs$9);
|
|
1069
|
+
this.directivePropList = input$4;
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
TabItemDirective.decorators = [
|
|
1073
|
+
{ type: Directive, args: [{
|
|
1074
|
+
selector: 'e-tabitems>e-tabitem',
|
|
1075
|
+
inputs: input$4,
|
|
1076
|
+
outputs: outputs$9,
|
|
1077
|
+
queries: {}
|
|
1078
|
+
},] },
|
|
1079
|
+
];
|
|
1080
|
+
/**
|
|
1081
|
+
* @nocollapse
|
|
1082
|
+
*/
|
|
1083
|
+
TabItemDirective.ctorParameters = () => [
|
|
1084
|
+
{ type: ViewContainerRef, },
|
|
1085
|
+
];
|
|
1086
|
+
TabItemDirective.propDecorators = {
|
|
1087
|
+
'content': [{ type: ContentChild, args: ['content',] },],
|
|
1088
|
+
'header_text': [{ type: ContentChild, args: ['headerText',] },],
|
|
1089
|
+
'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
|
|
1090
|
+
};
|
|
1091
|
+
__decorate$8([
|
|
1092
|
+
Template(),
|
|
1093
|
+
__metadata$8("design:type", Object)
|
|
1094
|
+
], TabItemDirective.prototype, "content", void 0);
|
|
1095
|
+
__decorate$8([
|
|
1096
|
+
Template(),
|
|
1097
|
+
__metadata$8("design:type", Object)
|
|
1098
|
+
], TabItemDirective.prototype, "header_text", void 0);
|
|
1099
|
+
__decorate$8([
|
|
1100
|
+
Template(),
|
|
1101
|
+
__metadata$8("design:type", Object)
|
|
1102
|
+
], TabItemDirective.prototype, "headerTemplate", void 0);
|
|
1103
|
+
/**
|
|
1104
|
+
* TabItem Array Directive
|
|
1105
|
+
*/
|
|
1106
|
+
class TabItemsDirective extends ArrayBase {
|
|
1107
|
+
constructor() {
|
|
1108
|
+
super('items');
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
TabItemsDirective.decorators = [
|
|
1112
|
+
{ type: Directive, args: [{
|
|
1113
|
+
selector: 'ejs-tab>e-tabitems',
|
|
1114
|
+
queries: {
|
|
1115
|
+
children: new ContentChildren(TabItemDirective)
|
|
1116
|
+
},
|
|
1117
|
+
},] },
|
|
1118
|
+
];
|
|
1119
|
+
/**
|
|
1120
|
+
* @nocollapse
|
|
1121
|
+
*/
|
|
1122
|
+
TabItemsDirective.ctorParameters = () => [];
|
|
1123
|
+
|
|
1124
|
+
var __decorate$9 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1125
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1126
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1127
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1128
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1129
|
+
};
|
|
1130
|
+
var __metadata$9 = (this && this.__metadata) || function (k, v) {
|
|
1131
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1132
|
+
};
|
|
1133
|
+
const inputs$5 = ['allowDragAndDrop', 'animation', 'clearTemplates', 'cssClass', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'headerPlacement', 'height', 'heightAdjustMode', 'items', 'loadOn', 'locale', 'overflowMode', 'reorderActiveTab', 'scrollStep', 'selectedItem', 'showCloseButton', 'swipeMode', 'width'];
|
|
1134
|
+
const outputs$10 = ['added', 'adding', 'created', 'destroyed', 'dragged', 'dragging', 'onDragStart', 'removed', 'removing', 'selected', 'selecting'];
|
|
1135
|
+
const twoWays$5 = [''];
|
|
1136
|
+
/**
|
|
1137
|
+
* Represents the Angular Tab Component.
|
|
1138
|
+
* ```html
|
|
1139
|
+
* <ejs-tab></ejs-tab>
|
|
1140
|
+
* ```
|
|
1141
|
+
*/
|
|
1142
|
+
let TabComponent = class TabComponent extends Tab {
|
|
1143
|
+
/**
|
|
1144
|
+
* @param {?} ngEle
|
|
1145
|
+
* @param {?} srenderer
|
|
1146
|
+
* @param {?} viewContainerRef
|
|
1147
|
+
* @param {?} injector
|
|
1148
|
+
*/
|
|
1149
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
1150
|
+
super();
|
|
1151
|
+
this.ngEle = ngEle;
|
|
1152
|
+
this.srenderer = srenderer;
|
|
1153
|
+
this.viewContainerRef = viewContainerRef;
|
|
1154
|
+
this.injector = injector;
|
|
1155
|
+
this.tags = ['items'];
|
|
1156
|
+
this.element = this.ngEle.nativeElement;
|
|
1157
|
+
this.injectedModules = this.injectedModules || [];
|
|
1158
|
+
this.registerEvents(outputs$10);
|
|
1159
|
+
this.addTwoWay.call(this, twoWays$5);
|
|
1160
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1161
|
+
this.containerContext = new ComponentBase();
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
* @return {?}
|
|
1165
|
+
*/
|
|
1166
|
+
ngOnInit() {
|
|
1167
|
+
this.containerContext.ngOnInit(this);
|
|
1168
|
+
}
|
|
1169
|
+
/**
|
|
1170
|
+
* @return {?}
|
|
1171
|
+
*/
|
|
1172
|
+
ngAfterViewInit() {
|
|
1173
|
+
this.containerContext.ngAfterViewInit(this);
|
|
1174
|
+
}
|
|
1175
|
+
/**
|
|
1176
|
+
* @return {?}
|
|
1177
|
+
*/
|
|
1178
|
+
ngOnDestroy() {
|
|
1179
|
+
this.containerContext.ngOnDestroy(this);
|
|
1180
|
+
}
|
|
1181
|
+
/**
|
|
1182
|
+
* @return {?}
|
|
1183
|
+
*/
|
|
1184
|
+
ngAfterContentChecked() {
|
|
1185
|
+
this.tagObjects[0].instance = this.childItems;
|
|
1186
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
1187
|
+
}
|
|
1188
|
+
};
|
|
1189
|
+
TabComponent.decorators = [
|
|
1190
|
+
{ type: Component, args: [{
|
|
1191
|
+
selector: 'ejs-tab',
|
|
1192
|
+
inputs: inputs$5,
|
|
1193
|
+
outputs: outputs$10,
|
|
1194
|
+
template: `<ng-content select='div'></ng-content>`,
|
|
1195
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1196
|
+
queries: {
|
|
1197
|
+
childItems: new ContentChild(TabItemsDirective)
|
|
1198
|
+
}
|
|
1199
|
+
},] },
|
|
1200
|
+
];
|
|
1201
|
+
/**
|
|
1202
|
+
* @nocollapse
|
|
1203
|
+
*/
|
|
1204
|
+
TabComponent.ctorParameters = () => [
|
|
1205
|
+
{ type: ElementRef, },
|
|
1206
|
+
{ type: Renderer2, },
|
|
1207
|
+
{ type: ViewContainerRef, },
|
|
1208
|
+
{ type: Injector, },
|
|
1209
|
+
];
|
|
1210
|
+
TabComponent = __decorate$9([
|
|
1211
|
+
ComponentMixins([ComponentBase]),
|
|
1212
|
+
__metadata$9("design:paramtypes", [ElementRef,
|
|
1213
|
+
Renderer2,
|
|
1214
|
+
ViewContainerRef,
|
|
1215
|
+
Injector])
|
|
1216
|
+
], TabComponent);
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* NgModule definition for the Tab component.
|
|
1220
|
+
*/
|
|
1221
|
+
class TabModule {
|
|
1222
|
+
}
|
|
1223
|
+
TabModule.decorators = [
|
|
1224
|
+
{ type: NgModule, args: [{
|
|
1225
|
+
imports: [CommonModule],
|
|
1226
|
+
declarations: [
|
|
1227
|
+
TabComponent,
|
|
1228
|
+
TabItemDirective,
|
|
1229
|
+
TabItemsDirective
|
|
1230
|
+
],
|
|
1231
|
+
exports: [
|
|
1232
|
+
TabComponent,
|
|
1233
|
+
TabItemDirective,
|
|
1234
|
+
TabItemsDirective
|
|
1235
|
+
]
|
|
1236
|
+
},] },
|
|
1237
|
+
];
|
|
1238
|
+
/**
|
|
1239
|
+
* @nocollapse
|
|
1240
|
+
*/
|
|
1241
|
+
TabModule.ctorParameters = () => [];
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* NgModule definition for the Tab component with providers.
|
|
1245
|
+
*/
|
|
1246
|
+
class TabAllModule {
|
|
1247
|
+
}
|
|
1248
|
+
TabAllModule.decorators = [
|
|
1249
|
+
{ type: NgModule, args: [{
|
|
1250
|
+
imports: [CommonModule, TabModule],
|
|
1251
|
+
exports: [
|
|
1252
|
+
TabModule
|
|
1253
|
+
],
|
|
1254
|
+
providers: []
|
|
1255
|
+
},] },
|
|
1256
|
+
];
|
|
1257
|
+
/**
|
|
1258
|
+
* @nocollapse
|
|
1259
|
+
*/
|
|
1260
|
+
TabAllModule.ctorParameters = () => [];
|
|
1261
|
+
|
|
1262
|
+
var __decorate$10 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1263
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1264
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1265
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1266
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1267
|
+
};
|
|
1268
|
+
var __metadata$10 = (this && this.__metadata) || function (k, v) {
|
|
1269
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1270
|
+
};
|
|
1271
|
+
const inputs$6 = ['allowDragAndDrop', 'allowEditing', 'allowMultiSelection', 'allowTextWrap', 'animation', 'autoCheck', 'checkDisabledChildren', 'checkOnClick', 'checkedNodes', 'cssClass', 'disabled', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandOn', 'expandedNodes', 'fields', 'fullRowNavigable', 'fullRowSelect', 'loadOnDemand', 'locale', 'nodeTemplate', 'selectedNodes', 'showCheckBox', 'sortOrder'];
|
|
1272
|
+
const outputs$11 = ['actionFailure', 'created', 'dataBound', 'dataSourceChanged', 'destroyed', 'drawNode', 'keyPress', 'nodeChecked', 'nodeChecking', 'nodeClicked', 'nodeCollapsed', 'nodeCollapsing', 'nodeDragStart', 'nodeDragStop', 'nodeDragging', 'nodeDropped', 'nodeEdited', 'nodeEditing', 'nodeExpanded', 'nodeExpanding', 'nodeSelected', 'nodeSelecting'];
|
|
1273
|
+
const twoWays$6 = [''];
|
|
1274
|
+
/**
|
|
1275
|
+
* TreeView component is used to represent the hierarchical data in tree like structure with advanced functions to perform edit, drag and drop, selection with check-box and more.
|
|
1276
|
+
* ```html
|
|
1277
|
+
* <ej-treeview allowDragAndDrop='true'></ej-treeview>
|
|
1278
|
+
* ```
|
|
1279
|
+
*/
|
|
1280
|
+
let TreeViewComponent = class TreeViewComponent extends TreeView {
|
|
1281
|
+
/**
|
|
1282
|
+
* @param {?} ngEle
|
|
1283
|
+
* @param {?} srenderer
|
|
1284
|
+
* @param {?} viewContainerRef
|
|
1285
|
+
* @param {?} injector
|
|
1286
|
+
*/
|
|
1287
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
1288
|
+
super();
|
|
1289
|
+
this.ngEle = ngEle;
|
|
1290
|
+
this.srenderer = srenderer;
|
|
1291
|
+
this.viewContainerRef = viewContainerRef;
|
|
1292
|
+
this.injector = injector;
|
|
1293
|
+
this.element = this.ngEle.nativeElement;
|
|
1294
|
+
this.injectedModules = this.injectedModules || [];
|
|
1295
|
+
this.registerEvents(outputs$11);
|
|
1296
|
+
this.addTwoWay.call(this, twoWays$6);
|
|
1297
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1298
|
+
this.context = new ComponentBase();
|
|
1299
|
+
}
|
|
1300
|
+
/**
|
|
1301
|
+
* @return {?}
|
|
1302
|
+
*/
|
|
1303
|
+
ngOnInit() {
|
|
1304
|
+
this.context.ngOnInit(this);
|
|
1305
|
+
}
|
|
1306
|
+
/**
|
|
1307
|
+
* @return {?}
|
|
1308
|
+
*/
|
|
1309
|
+
ngAfterViewInit() {
|
|
1310
|
+
this.context.ngAfterViewInit(this);
|
|
1311
|
+
}
|
|
1312
|
+
/**
|
|
1313
|
+
* @return {?}
|
|
1314
|
+
*/
|
|
1315
|
+
ngOnDestroy() {
|
|
1316
|
+
this.context.ngOnDestroy(this);
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* @return {?}
|
|
1320
|
+
*/
|
|
1321
|
+
ngAfterContentChecked() {
|
|
1322
|
+
this.context.ngAfterContentChecked(this);
|
|
1323
|
+
}
|
|
1324
|
+
};
|
|
1325
|
+
TreeViewComponent.decorators = [
|
|
1326
|
+
{ type: Component, args: [{
|
|
1327
|
+
selector: 'ejs-treeview',
|
|
1328
|
+
inputs: inputs$6,
|
|
1329
|
+
outputs: outputs$11,
|
|
1330
|
+
template: '',
|
|
1331
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1332
|
+
queries: {}
|
|
1333
|
+
},] },
|
|
1334
|
+
];
|
|
1335
|
+
/**
|
|
1336
|
+
* @nocollapse
|
|
1337
|
+
*/
|
|
1338
|
+
TreeViewComponent.ctorParameters = () => [
|
|
1339
|
+
{ type: ElementRef, },
|
|
1340
|
+
{ type: Renderer2, },
|
|
1341
|
+
{ type: ViewContainerRef, },
|
|
1342
|
+
{ type: Injector, },
|
|
1343
|
+
];
|
|
1344
|
+
TreeViewComponent.propDecorators = {
|
|
1345
|
+
'nodeTemplate': [{ type: ContentChild, args: ['nodeTemplate',] },],
|
|
1346
|
+
};
|
|
1347
|
+
__decorate$10([
|
|
1348
|
+
Template(),
|
|
1349
|
+
__metadata$10("design:type", Object)
|
|
1350
|
+
], TreeViewComponent.prototype, "nodeTemplate", void 0);
|
|
1351
|
+
TreeViewComponent = __decorate$10([
|
|
1352
|
+
ComponentMixins([ComponentBase]),
|
|
1353
|
+
__metadata$10("design:paramtypes", [ElementRef,
|
|
1354
|
+
Renderer2,
|
|
1355
|
+
ViewContainerRef,
|
|
1356
|
+
Injector])
|
|
1357
|
+
], TreeViewComponent);
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* NgModule definition for the TreeView component.
|
|
1361
|
+
*/
|
|
1362
|
+
class TreeViewModule {
|
|
1363
|
+
}
|
|
1364
|
+
TreeViewModule.decorators = [
|
|
1365
|
+
{ type: NgModule, args: [{
|
|
1366
|
+
imports: [CommonModule],
|
|
1367
|
+
declarations: [
|
|
1368
|
+
TreeViewComponent
|
|
1369
|
+
],
|
|
1370
|
+
exports: [
|
|
1371
|
+
TreeViewComponent
|
|
1372
|
+
]
|
|
1373
|
+
},] },
|
|
1374
|
+
];
|
|
1375
|
+
/**
|
|
1376
|
+
* @nocollapse
|
|
1377
|
+
*/
|
|
1378
|
+
TreeViewModule.ctorParameters = () => [];
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* NgModule definition for the TreeView component with providers.
|
|
1382
|
+
*/
|
|
1383
|
+
class TreeViewAllModule {
|
|
1384
|
+
}
|
|
1385
|
+
TreeViewAllModule.decorators = [
|
|
1386
|
+
{ type: NgModule, args: [{
|
|
1387
|
+
imports: [CommonModule, TreeViewModule],
|
|
1388
|
+
exports: [
|
|
1389
|
+
TreeViewModule
|
|
1390
|
+
],
|
|
1391
|
+
providers: []
|
|
1392
|
+
},] },
|
|
1393
|
+
];
|
|
1394
|
+
/**
|
|
1395
|
+
* @nocollapse
|
|
1396
|
+
*/
|
|
1397
|
+
TreeViewAllModule.ctorParameters = () => [];
|
|
1398
|
+
|
|
1399
|
+
var __decorate$11 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1400
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1401
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1402
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1403
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1404
|
+
};
|
|
1405
|
+
var __metadata$11 = (this && this.__metadata) || function (k, v) {
|
|
1406
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1407
|
+
};
|
|
1408
|
+
const inputs$7 = ['animate', 'closeOnDocumentClick', 'dockSize', 'enableDock', 'enableGestures', 'enablePersistence', 'enableRtl', 'height', 'isOpen', 'locale', 'mediaQuery', 'position', 'showBackdrop', 'target', 'type', 'width', 'zIndex'];
|
|
1409
|
+
const outputs$12 = ['change', 'close', 'created', 'destroyed', 'open', 'isOpenChange'];
|
|
1410
|
+
const twoWays$7 = ['isOpen'];
|
|
1411
|
+
/**
|
|
1412
|
+
* Represents the Essential JS 2 Angular Sidebar Component.
|
|
1413
|
+
* ```html
|
|
1414
|
+
* <ejs-sidebar></ejs-sidebar>
|
|
1415
|
+
* ```
|
|
1416
|
+
*/
|
|
1417
|
+
let SidebarComponent = class SidebarComponent extends Sidebar {
|
|
1418
|
+
/**
|
|
1419
|
+
* @param {?} ngEle
|
|
1420
|
+
* @param {?} srenderer
|
|
1421
|
+
* @param {?} viewContainerRef
|
|
1422
|
+
* @param {?} injector
|
|
1423
|
+
*/
|
|
1424
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
1425
|
+
super();
|
|
1426
|
+
this.ngEle = ngEle;
|
|
1427
|
+
this.srenderer = srenderer;
|
|
1428
|
+
this.viewContainerRef = viewContainerRef;
|
|
1429
|
+
this.injector = injector;
|
|
1430
|
+
this.element = this.ngEle.nativeElement;
|
|
1431
|
+
this.injectedModules = this.injectedModules || [];
|
|
1432
|
+
this.registerEvents(outputs$12);
|
|
1433
|
+
this.addTwoWay.call(this, twoWays$7);
|
|
1434
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1435
|
+
this.containerContext = new ComponentBase();
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* @return {?}
|
|
1439
|
+
*/
|
|
1440
|
+
ngOnInit() {
|
|
1441
|
+
this.containerContext.ngOnInit(this);
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
* @return {?}
|
|
1445
|
+
*/
|
|
1446
|
+
ngAfterViewInit() {
|
|
1447
|
+
this.containerContext.ngAfterViewInit(this);
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* @return {?}
|
|
1451
|
+
*/
|
|
1452
|
+
ngOnDestroy() {
|
|
1453
|
+
this.containerContext.ngOnDestroy(this);
|
|
1454
|
+
}
|
|
1455
|
+
/**
|
|
1456
|
+
* @return {?}
|
|
1457
|
+
*/
|
|
1458
|
+
ngAfterContentChecked() {
|
|
1459
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
1460
|
+
}
|
|
1461
|
+
};
|
|
1462
|
+
SidebarComponent.decorators = [
|
|
1463
|
+
{ type: Component, args: [{
|
|
1464
|
+
selector: 'ejs-sidebar',
|
|
1465
|
+
inputs: inputs$7,
|
|
1466
|
+
outputs: outputs$12,
|
|
1467
|
+
template: `<ng-content ></ng-content>`,
|
|
1468
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1469
|
+
queries: {}
|
|
1470
|
+
},] },
|
|
1471
|
+
];
|
|
1472
|
+
/**
|
|
1473
|
+
* @nocollapse
|
|
1474
|
+
*/
|
|
1475
|
+
SidebarComponent.ctorParameters = () => [
|
|
1476
|
+
{ type: ElementRef, },
|
|
1477
|
+
{ type: Renderer2, },
|
|
1478
|
+
{ type: ViewContainerRef, },
|
|
1479
|
+
{ type: Injector, },
|
|
1480
|
+
];
|
|
1481
|
+
SidebarComponent = __decorate$11([
|
|
1482
|
+
ComponentMixins([ComponentBase]),
|
|
1483
|
+
__metadata$11("design:paramtypes", [ElementRef,
|
|
1484
|
+
Renderer2,
|
|
1485
|
+
ViewContainerRef,
|
|
1486
|
+
Injector])
|
|
1487
|
+
], SidebarComponent);
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* NgModule definition for the Sidebar component.
|
|
1491
|
+
*/
|
|
1492
|
+
class SidebarModule {
|
|
1493
|
+
}
|
|
1494
|
+
SidebarModule.decorators = [
|
|
1495
|
+
{ type: NgModule, args: [{
|
|
1496
|
+
imports: [CommonModule],
|
|
1497
|
+
declarations: [
|
|
1498
|
+
SidebarComponent
|
|
1499
|
+
],
|
|
1500
|
+
exports: [
|
|
1501
|
+
SidebarComponent
|
|
1502
|
+
]
|
|
1503
|
+
},] },
|
|
1504
|
+
];
|
|
1505
|
+
/**
|
|
1506
|
+
* @nocollapse
|
|
1507
|
+
*/
|
|
1508
|
+
SidebarModule.ctorParameters = () => [];
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* NgModule definition for the Sidebar component with providers.
|
|
1512
|
+
*/
|
|
1513
|
+
class SidebarAllModule {
|
|
1514
|
+
}
|
|
1515
|
+
SidebarAllModule.decorators = [
|
|
1516
|
+
{ type: NgModule, args: [{
|
|
1517
|
+
imports: [CommonModule, SidebarModule],
|
|
1518
|
+
exports: [
|
|
1519
|
+
SidebarModule
|
|
1520
|
+
],
|
|
1521
|
+
providers: []
|
|
1522
|
+
},] },
|
|
1523
|
+
];
|
|
1524
|
+
/**
|
|
1525
|
+
* @nocollapse
|
|
1526
|
+
*/
|
|
1527
|
+
SidebarAllModule.ctorParameters = () => [];
|
|
1528
|
+
|
|
1529
|
+
let input$5 = ['htmlAttributes', 'iconCss', 'id', 'items', 'separator', 'text', 'url'];
|
|
1530
|
+
let outputs$13 = [];
|
|
1531
|
+
class MenuItemDirective extends ComplexBase {
|
|
1532
|
+
/**
|
|
1533
|
+
* @param {?} viewContainerRef
|
|
1534
|
+
*/
|
|
1535
|
+
constructor(viewContainerRef) {
|
|
1536
|
+
super();
|
|
1537
|
+
this.viewContainerRef = viewContainerRef;
|
|
1538
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1539
|
+
this.registerEvents(outputs$13);
|
|
1540
|
+
this.directivePropList = input$5;
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
MenuItemDirective.decorators = [
|
|
1544
|
+
{ type: Directive, args: [{
|
|
1545
|
+
selector: 'ejs-menu>e-menu-items>e-menu-item>',
|
|
1546
|
+
inputs: input$5,
|
|
1547
|
+
outputs: outputs$13,
|
|
1548
|
+
queries: {}
|
|
1549
|
+
},] },
|
|
1550
|
+
];
|
|
1551
|
+
/**
|
|
1552
|
+
* @nocollapse
|
|
1553
|
+
*/
|
|
1554
|
+
MenuItemDirective.ctorParameters = () => [
|
|
1555
|
+
{ type: ViewContainerRef, },
|
|
1556
|
+
];
|
|
1557
|
+
/**
|
|
1558
|
+
* MenuItem Array Directive
|
|
1559
|
+
*/
|
|
1560
|
+
class MenuItemsDirective extends ArrayBase {
|
|
1561
|
+
constructor() {
|
|
1562
|
+
super('items');
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
MenuItemsDirective.decorators = [
|
|
1566
|
+
{ type: Directive, args: [{
|
|
1567
|
+
selector: 'ejs-menu>e-menu-items',
|
|
1568
|
+
queries: {
|
|
1569
|
+
children: new ContentChildren(MenuItemDirective)
|
|
1570
|
+
},
|
|
1571
|
+
},] },
|
|
1572
|
+
];
|
|
1573
|
+
/**
|
|
1574
|
+
* @nocollapse
|
|
1575
|
+
*/
|
|
1576
|
+
MenuItemsDirective.ctorParameters = () => [];
|
|
1577
|
+
|
|
1578
|
+
var __decorate$12 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1579
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1580
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1581
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1582
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1583
|
+
};
|
|
1584
|
+
var __metadata$12 = (this && this.__metadata) || function (k, v) {
|
|
1585
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1586
|
+
};
|
|
1587
|
+
const inputs$8 = ['animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hamburgerMode', 'hoverDelay', 'items', 'locale', 'orientation', 'showItemOnClick', 'target', 'template', 'title'];
|
|
1588
|
+
const outputs$14 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
1589
|
+
const twoWays$8 = [''];
|
|
1590
|
+
/**
|
|
1591
|
+
* Represents the EJ2 Angular Menu Component.
|
|
1592
|
+
* ```html
|
|
1593
|
+
* <ejs-menu [items]='menuItems'></ejs-menu>
|
|
1594
|
+
* ```
|
|
1595
|
+
*/
|
|
1596
|
+
let MenuComponent = class MenuComponent extends Menu {
|
|
1597
|
+
/**
|
|
1598
|
+
* @param {?} ngEle
|
|
1599
|
+
* @param {?} srenderer
|
|
1600
|
+
* @param {?} viewContainerRef
|
|
1601
|
+
* @param {?} injector
|
|
1602
|
+
*/
|
|
1603
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
1604
|
+
super();
|
|
1605
|
+
this.ngEle = ngEle;
|
|
1606
|
+
this.srenderer = srenderer;
|
|
1607
|
+
this.viewContainerRef = viewContainerRef;
|
|
1608
|
+
this.injector = injector;
|
|
1609
|
+
this.tags = ['items'];
|
|
1610
|
+
this.element = this.ngEle.nativeElement;
|
|
1611
|
+
this.injectedModules = this.injectedModules || [];
|
|
1612
|
+
this.registerEvents(outputs$14);
|
|
1613
|
+
this.addTwoWay.call(this, twoWays$8);
|
|
1614
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1615
|
+
this.context = new ComponentBase();
|
|
1616
|
+
}
|
|
1617
|
+
/**
|
|
1618
|
+
* @return {?}
|
|
1619
|
+
*/
|
|
1620
|
+
ngOnInit() {
|
|
1621
|
+
this.context.ngOnInit(this);
|
|
1622
|
+
}
|
|
1623
|
+
/**
|
|
1624
|
+
* @return {?}
|
|
1625
|
+
*/
|
|
1626
|
+
ngAfterViewInit() {
|
|
1627
|
+
this.context.ngAfterViewInit(this);
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
* @return {?}
|
|
1631
|
+
*/
|
|
1632
|
+
ngOnDestroy() {
|
|
1633
|
+
this.context.ngOnDestroy(this);
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
* @return {?}
|
|
1637
|
+
*/
|
|
1638
|
+
ngAfterContentChecked() {
|
|
1639
|
+
this.tagObjects[0].instance = this.childItems;
|
|
1640
|
+
this.context.ngAfterContentChecked(this);
|
|
1641
|
+
}
|
|
1642
|
+
};
|
|
1643
|
+
MenuComponent.decorators = [
|
|
1644
|
+
{ type: Component, args: [{
|
|
1645
|
+
selector: 'ejs-menu',
|
|
1646
|
+
inputs: inputs$8,
|
|
1647
|
+
outputs: outputs$14,
|
|
1648
|
+
template: '',
|
|
1649
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1650
|
+
queries: {
|
|
1651
|
+
childItems: new ContentChild(MenuItemsDirective)
|
|
1652
|
+
}
|
|
1653
|
+
},] },
|
|
1654
|
+
];
|
|
1655
|
+
/**
|
|
1656
|
+
* @nocollapse
|
|
1657
|
+
*/
|
|
1658
|
+
MenuComponent.ctorParameters = () => [
|
|
1659
|
+
{ type: ElementRef, },
|
|
1660
|
+
{ type: Renderer2, },
|
|
1661
|
+
{ type: ViewContainerRef, },
|
|
1662
|
+
{ type: Injector, },
|
|
1663
|
+
];
|
|
1664
|
+
MenuComponent.propDecorators = {
|
|
1665
|
+
'template': [{ type: ContentChild, args: ['template',] },],
|
|
1666
|
+
};
|
|
1667
|
+
__decorate$12([
|
|
1668
|
+
Template(),
|
|
1669
|
+
__metadata$12("design:type", Object)
|
|
1670
|
+
], MenuComponent.prototype, "template", void 0);
|
|
1671
|
+
MenuComponent = __decorate$12([
|
|
1672
|
+
ComponentMixins([ComponentBase]),
|
|
1673
|
+
__metadata$12("design:paramtypes", [ElementRef,
|
|
1674
|
+
Renderer2,
|
|
1675
|
+
ViewContainerRef,
|
|
1676
|
+
Injector])
|
|
1677
|
+
], MenuComponent);
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* NgModule definition for the Menu component.
|
|
1681
|
+
*/
|
|
1682
|
+
class MenuModule {
|
|
1683
|
+
}
|
|
1684
|
+
MenuModule.decorators = [
|
|
1685
|
+
{ type: NgModule, args: [{
|
|
1686
|
+
imports: [CommonModule],
|
|
1687
|
+
declarations: [
|
|
1688
|
+
MenuComponent,
|
|
1689
|
+
MenuItemDirective,
|
|
1690
|
+
MenuItemsDirective
|
|
1691
|
+
],
|
|
1692
|
+
exports: [
|
|
1693
|
+
MenuComponent,
|
|
1694
|
+
MenuItemDirective,
|
|
1695
|
+
MenuItemsDirective
|
|
1696
|
+
]
|
|
1697
|
+
},] },
|
|
1698
|
+
];
|
|
1699
|
+
/**
|
|
1700
|
+
* @nocollapse
|
|
1701
|
+
*/
|
|
1702
|
+
MenuModule.ctorParameters = () => [];
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* NgModule definition for the Menu component with providers.
|
|
1706
|
+
*/
|
|
1707
|
+
class MenuAllModule {
|
|
1708
|
+
}
|
|
1709
|
+
MenuAllModule.decorators = [
|
|
1710
|
+
{ type: NgModule, args: [{
|
|
1711
|
+
imports: [CommonModule, MenuModule],
|
|
1712
|
+
exports: [
|
|
1713
|
+
MenuModule
|
|
1714
|
+
],
|
|
1715
|
+
providers: []
|
|
1716
|
+
},] },
|
|
1717
|
+
];
|
|
1718
|
+
/**
|
|
1719
|
+
* @nocollapse
|
|
1720
|
+
*/
|
|
1721
|
+
MenuAllModule.ctorParameters = () => [];
|
|
1722
|
+
|
|
1723
|
+
var __decorate$13 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1724
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1725
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1726
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1727
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1728
|
+
};
|
|
1729
|
+
var __metadata$13 = (this && this.__metadata) || function (k, v) {
|
|
1730
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1731
|
+
};
|
|
1732
|
+
const inputs$9 = ['colorMode', 'cssClass', 'enablePersistence', 'enableRtl', 'htmlAttributes', 'isSticky', 'locale', 'mode', 'position'];
|
|
1733
|
+
const outputs$15 = ['created', 'destroyed'];
|
|
1734
|
+
const twoWays$9 = [''];
|
|
1735
|
+
/**
|
|
1736
|
+
* Represents the Essential JS 2 Angular AppBar Component.
|
|
1737
|
+
* ```html
|
|
1738
|
+
* <ejs-appbar></ejs-appbar>
|
|
1739
|
+
* ```
|
|
1740
|
+
*/
|
|
1741
|
+
let AppBarComponent = class AppBarComponent extends AppBar {
|
|
1742
|
+
/**
|
|
1743
|
+
* @param {?} ngEle
|
|
1744
|
+
* @param {?} srenderer
|
|
1745
|
+
* @param {?} viewContainerRef
|
|
1746
|
+
* @param {?} injector
|
|
1747
|
+
*/
|
|
1748
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
1749
|
+
super();
|
|
1750
|
+
this.ngEle = ngEle;
|
|
1751
|
+
this.srenderer = srenderer;
|
|
1752
|
+
this.viewContainerRef = viewContainerRef;
|
|
1753
|
+
this.injector = injector;
|
|
1754
|
+
this.element = this.ngEle.nativeElement;
|
|
1755
|
+
this.injectedModules = this.injectedModules || [];
|
|
1756
|
+
this.registerEvents(outputs$15);
|
|
1757
|
+
this.addTwoWay.call(this, twoWays$9);
|
|
1758
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1759
|
+
this.containerContext = new ComponentBase();
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
* @return {?}
|
|
1763
|
+
*/
|
|
1764
|
+
ngOnInit() {
|
|
1765
|
+
this.containerContext.ngOnInit(this);
|
|
1766
|
+
}
|
|
1767
|
+
/**
|
|
1768
|
+
* @return {?}
|
|
1769
|
+
*/
|
|
1770
|
+
ngAfterViewInit() {
|
|
1771
|
+
this.containerContext.ngAfterViewInit(this);
|
|
1772
|
+
}
|
|
1773
|
+
/**
|
|
1774
|
+
* @return {?}
|
|
1775
|
+
*/
|
|
1776
|
+
ngOnDestroy() {
|
|
1777
|
+
this.containerContext.ngOnDestroy(this);
|
|
1778
|
+
}
|
|
1779
|
+
/**
|
|
1780
|
+
* @return {?}
|
|
1781
|
+
*/
|
|
1782
|
+
ngAfterContentChecked() {
|
|
1783
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
1784
|
+
}
|
|
1785
|
+
};
|
|
1786
|
+
AppBarComponent.decorators = [
|
|
1787
|
+
{ type: Component, args: [{
|
|
1788
|
+
selector: 'ejs-appbar',
|
|
1789
|
+
inputs: inputs$9,
|
|
1790
|
+
outputs: outputs$15,
|
|
1791
|
+
template: `<ng-content ></ng-content>`,
|
|
1792
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1793
|
+
queries: {}
|
|
1794
|
+
},] },
|
|
1795
|
+
];
|
|
1796
|
+
/**
|
|
1797
|
+
* @nocollapse
|
|
1798
|
+
*/
|
|
1799
|
+
AppBarComponent.ctorParameters = () => [
|
|
1800
|
+
{ type: ElementRef, },
|
|
1801
|
+
{ type: Renderer2, },
|
|
1802
|
+
{ type: ViewContainerRef, },
|
|
1803
|
+
{ type: Injector, },
|
|
1804
|
+
];
|
|
1805
|
+
AppBarComponent = __decorate$13([
|
|
1806
|
+
ComponentMixins([ComponentBase]),
|
|
1807
|
+
__metadata$13("design:paramtypes", [ElementRef,
|
|
1808
|
+
Renderer2,
|
|
1809
|
+
ViewContainerRef,
|
|
1810
|
+
Injector])
|
|
1811
|
+
], AppBarComponent);
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* NgModule definition for the AppBar component.
|
|
1815
|
+
*/
|
|
1816
|
+
class AppBarModule {
|
|
1817
|
+
}
|
|
1818
|
+
AppBarModule.decorators = [
|
|
1819
|
+
{ type: NgModule, args: [{
|
|
1820
|
+
imports: [CommonModule],
|
|
1821
|
+
declarations: [
|
|
1822
|
+
AppBarComponent
|
|
1823
|
+
],
|
|
1824
|
+
exports: [
|
|
1825
|
+
AppBarComponent
|
|
1826
|
+
]
|
|
1827
|
+
},] },
|
|
1828
|
+
];
|
|
1829
|
+
/**
|
|
1830
|
+
* @nocollapse
|
|
1831
|
+
*/
|
|
1832
|
+
AppBarModule.ctorParameters = () => [];
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* NgModule definition for the AppBar component with providers.
|
|
1836
|
+
*/
|
|
1837
|
+
class AppBarAllModule {
|
|
1838
|
+
}
|
|
1839
|
+
AppBarAllModule.decorators = [
|
|
1840
|
+
{ type: NgModule, args: [{
|
|
1841
|
+
imports: [CommonModule, AppBarModule],
|
|
1842
|
+
exports: [
|
|
1843
|
+
AppBarModule
|
|
1844
|
+
],
|
|
1845
|
+
providers: []
|
|
1846
|
+
},] },
|
|
1847
|
+
];
|
|
1848
|
+
/**
|
|
1849
|
+
* @nocollapse
|
|
1850
|
+
*/
|
|
1851
|
+
AppBarAllModule.ctorParameters = () => [];
|
|
1852
|
+
|
|
1853
|
+
let input$6 = ['cssClass', 'disabled', 'iconCss', 'isValid', 'label', 'optional', 'status', 'text'];
|
|
1854
|
+
let outputs$16 = [];
|
|
1855
|
+
/**
|
|
1856
|
+
* 'e-step' directive represents a step of the Angular Stepper.
|
|
1857
|
+
* It must be contained in a Stepper component(`ejs-stepper`).
|
|
1858
|
+
* ```html
|
|
1859
|
+
* <ejs-stepper>
|
|
1860
|
+
* <e-steps>
|
|
1861
|
+
* <e-step [iconCss]='e-icons e-folder' [text]='Step 1' />
|
|
1862
|
+
* <e-step [iconCss]='e-icons e-folder' [text]='Step 2' />
|
|
1863
|
+
* </e-steps>
|
|
1864
|
+
* </ejs-stepper>
|
|
1865
|
+
* ```
|
|
1866
|
+
*/
|
|
1867
|
+
class StepDirective extends ComplexBase {
|
|
1868
|
+
/**
|
|
1869
|
+
* @param {?} viewContainerRef
|
|
1870
|
+
*/
|
|
1871
|
+
constructor(viewContainerRef) {
|
|
1872
|
+
super();
|
|
1873
|
+
this.viewContainerRef = viewContainerRef;
|
|
1874
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1875
|
+
this.registerEvents(outputs$16);
|
|
1876
|
+
this.directivePropList = input$6;
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
StepDirective.decorators = [
|
|
1880
|
+
{ type: Directive, args: [{
|
|
1881
|
+
selector: 'ejs-stepper>e-steps>e-step',
|
|
1882
|
+
inputs: input$6,
|
|
1883
|
+
outputs: outputs$16,
|
|
1884
|
+
queries: {}
|
|
1885
|
+
},] },
|
|
1886
|
+
];
|
|
1887
|
+
/**
|
|
1888
|
+
* @nocollapse
|
|
1889
|
+
*/
|
|
1890
|
+
StepDirective.ctorParameters = () => [
|
|
1891
|
+
{ type: ViewContainerRef, },
|
|
1892
|
+
];
|
|
1893
|
+
/**
|
|
1894
|
+
* Step Array Directive
|
|
1895
|
+
*/
|
|
1896
|
+
class StepsDirective extends ArrayBase {
|
|
1897
|
+
constructor() {
|
|
1898
|
+
super('steps');
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
StepsDirective.decorators = [
|
|
1902
|
+
{ type: Directive, args: [{
|
|
1903
|
+
selector: 'ejs-stepper>e-steps',
|
|
1904
|
+
queries: {
|
|
1905
|
+
children: new ContentChildren(StepDirective)
|
|
1906
|
+
},
|
|
1907
|
+
},] },
|
|
1908
|
+
];
|
|
1909
|
+
/**
|
|
1910
|
+
* @nocollapse
|
|
1911
|
+
*/
|
|
1912
|
+
StepsDirective.ctorParameters = () => [];
|
|
1913
|
+
|
|
1914
|
+
var __decorate$14 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1915
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1916
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1917
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1918
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1919
|
+
};
|
|
1920
|
+
var __metadata$14 = (this && this.__metadata) || function (k, v) {
|
|
1921
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1922
|
+
};
|
|
1923
|
+
const inputs$10 = ['activeStep', 'animation', 'cssClass', 'enablePersistence', 'enableRtl', 'labelPosition', 'linear', 'locale', 'orientation', 'readOnly', 'showTooltip', 'stepType', 'steps', 'template', 'tooltipTemplate'];
|
|
1924
|
+
const outputs$17 = ['beforeStepRender', 'created', 'stepChanged', 'stepChanging', 'stepClick', 'activeStepChange'];
|
|
1925
|
+
const twoWays$10 = ['activeStep'];
|
|
1926
|
+
/**
|
|
1927
|
+
* Represents the EJ2 Angular Stepper Component.
|
|
1928
|
+
* ```html
|
|
1929
|
+
* <nav ejs-stepper [steps]='stepItems'></nav>
|
|
1930
|
+
* ```
|
|
1931
|
+
*/
|
|
1932
|
+
let StepperComponent = class StepperComponent extends Stepper {
|
|
1933
|
+
/**
|
|
1934
|
+
* @param {?} ngEle
|
|
1935
|
+
* @param {?} srenderer
|
|
1936
|
+
* @param {?} viewContainerRef
|
|
1937
|
+
* @param {?} injector
|
|
1938
|
+
*/
|
|
1939
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
1940
|
+
super();
|
|
1941
|
+
this.ngEle = ngEle;
|
|
1942
|
+
this.srenderer = srenderer;
|
|
1943
|
+
this.viewContainerRef = viewContainerRef;
|
|
1944
|
+
this.injector = injector;
|
|
1945
|
+
this.tags = ['steps'];
|
|
1946
|
+
this.element = this.ngEle.nativeElement;
|
|
1947
|
+
this.injectedModules = this.injectedModules || [];
|
|
1948
|
+
this.registerEvents(outputs$17);
|
|
1949
|
+
this.addTwoWay.call(this, twoWays$10);
|
|
1950
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1951
|
+
this.containerContext = new ComponentBase();
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* @return {?}
|
|
1955
|
+
*/
|
|
1956
|
+
ngOnInit() {
|
|
1957
|
+
this.containerContext.ngOnInit(this);
|
|
1958
|
+
}
|
|
1959
|
+
/**
|
|
1960
|
+
* @return {?}
|
|
1961
|
+
*/
|
|
1962
|
+
ngAfterViewInit() {
|
|
1963
|
+
this.containerContext.ngAfterViewInit(this);
|
|
1964
|
+
}
|
|
1965
|
+
/**
|
|
1966
|
+
* @return {?}
|
|
1967
|
+
*/
|
|
1968
|
+
ngOnDestroy() {
|
|
1969
|
+
this.containerContext.ngOnDestroy(this);
|
|
1970
|
+
}
|
|
1971
|
+
/**
|
|
1972
|
+
* @return {?}
|
|
1973
|
+
*/
|
|
1974
|
+
ngAfterContentChecked() {
|
|
1975
|
+
this.tagObjects[0].instance = this.childSteps;
|
|
1976
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
1977
|
+
}
|
|
1978
|
+
};
|
|
1979
|
+
StepperComponent.decorators = [
|
|
1980
|
+
{ type: Component, args: [{
|
|
1981
|
+
selector: 'ejs-stepper',
|
|
1982
|
+
inputs: inputs$10,
|
|
1983
|
+
outputs: outputs$17,
|
|
1984
|
+
template: `<ng-content select='nav'></ng-content>`,
|
|
1985
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1986
|
+
queries: {
|
|
1987
|
+
childSteps: new ContentChild(StepsDirective)
|
|
1988
|
+
}
|
|
1989
|
+
},] },
|
|
1990
|
+
];
|
|
1991
|
+
/**
|
|
1992
|
+
* @nocollapse
|
|
1993
|
+
*/
|
|
1994
|
+
StepperComponent.ctorParameters = () => [
|
|
1995
|
+
{ type: ElementRef, },
|
|
1996
|
+
{ type: Renderer2, },
|
|
1997
|
+
{ type: ViewContainerRef, },
|
|
1998
|
+
{ type: Injector, },
|
|
1999
|
+
];
|
|
2000
|
+
StepperComponent.propDecorators = {
|
|
2001
|
+
'template': [{ type: ContentChild, args: ['template',] },],
|
|
2002
|
+
'tooltipTemplate': [{ type: ContentChild, args: ['tooltipTemplate',] },],
|
|
2003
|
+
};
|
|
2004
|
+
__decorate$14([
|
|
2005
|
+
Template(),
|
|
2006
|
+
__metadata$14("design:type", Object)
|
|
2007
|
+
], StepperComponent.prototype, "template", void 0);
|
|
2008
|
+
__decorate$14([
|
|
2009
|
+
Template(),
|
|
2010
|
+
__metadata$14("design:type", Object)
|
|
2011
|
+
], StepperComponent.prototype, "tooltipTemplate", void 0);
|
|
2012
|
+
StepperComponent = __decorate$14([
|
|
2013
|
+
ComponentMixins([ComponentBase]),
|
|
2014
|
+
__metadata$14("design:paramtypes", [ElementRef,
|
|
2015
|
+
Renderer2,
|
|
2016
|
+
ViewContainerRef,
|
|
2017
|
+
Injector])
|
|
2018
|
+
], StepperComponent);
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* NgModule definition for the Stepper component.
|
|
2022
|
+
*/
|
|
2023
|
+
class StepperModule {
|
|
2024
|
+
}
|
|
2025
|
+
StepperModule.decorators = [
|
|
2026
|
+
{ type: NgModule, args: [{
|
|
2027
|
+
imports: [CommonModule],
|
|
2028
|
+
declarations: [
|
|
2029
|
+
StepperComponent,
|
|
2030
|
+
StepDirective,
|
|
2031
|
+
StepsDirective
|
|
2032
|
+
],
|
|
2033
|
+
exports: [
|
|
2034
|
+
StepperComponent,
|
|
2035
|
+
StepDirective,
|
|
2036
|
+
StepsDirective
|
|
2037
|
+
]
|
|
2038
|
+
},] },
|
|
2039
|
+
];
|
|
2040
|
+
/**
|
|
2041
|
+
* @nocollapse
|
|
2042
|
+
*/
|
|
2043
|
+
StepperModule.ctorParameters = () => [];
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
* NgModule definition for the Stepper component with providers.
|
|
2047
|
+
*/
|
|
2048
|
+
class StepperAllModule {
|
|
2049
|
+
}
|
|
2050
|
+
StepperAllModule.decorators = [
|
|
2051
|
+
{ type: NgModule, args: [{
|
|
2052
|
+
imports: [CommonModule, StepperModule],
|
|
2053
|
+
exports: [
|
|
2054
|
+
StepperModule
|
|
2055
|
+
],
|
|
2056
|
+
providers: []
|
|
2057
|
+
},] },
|
|
2058
|
+
];
|
|
2059
|
+
/**
|
|
2060
|
+
* @nocollapse
|
|
2061
|
+
*/
|
|
2062
|
+
StepperAllModule.ctorParameters = () => [];
|
|
2063
|
+
|
|
2064
|
+
/**
|
|
2065
|
+
* Generated bundle index. Do not edit.
|
|
2066
|
+
*/
|
|
2067
|
+
|
|
2068
|
+
export { AccordionItemDirective, AccordionItemsDirective, AccordionComponent, AccordionModule, AccordionAllModule, ItemDirective, ItemsDirective, ToolbarComponent, ToolbarModule, ToolbarAllModule, ContextMenuComponent, ContextMenuModule, ContextMenuAllModule, BreadcrumbItemDirective, BreadcrumbItemsDirective, BreadcrumbComponent, BreadcrumbModule, BreadcrumbAllModule, CarouselItemDirective, CarouselItemsDirective, CarouselComponent, CarouselModule, CarouselAllModule, TabItemDirective, TabItemsDirective, TabComponent, TabModule, TabAllModule, TreeViewComponent, TreeViewModule, TreeViewAllModule, SidebarComponent, SidebarModule, SidebarAllModule, MenuItemDirective, MenuItemsDirective, MenuComponent, MenuModule, MenuAllModule, AppBarComponent, AppBarModule, AppBarAllModule, StepDirective, StepsDirective, StepperComponent, StepperModule, StepperAllModule, inputs as ɵa, outputs$1 as ɵb, inputs$9 as ɵs, outputs$15 as ɵt, inputs$3 as ɵg, outputs$6 as ɵh, inputs$4 as ɵi, outputs$8 as ɵj, inputs$2 as ɵe, outputs$4 as ɵf, inputs$8 as ɵq, outputs$14 as ɵr, inputs$7 as ɵo, outputs$12 as ɵp, inputs$10 as ɵu, outputs$17 as ɵv, inputs$5 as ɵk, outputs$10 as ɵl, inputs$1 as ɵc, outputs$3 as ɵd, inputs$6 as ɵm, outputs$11 as ɵn };
|
|
2069
|
+
export { MenuAnimationSettings, MenuItem, FieldSettings, HScroll, VScroll, addScrolling, destroyScroll, Item, Toolbar, AccordionActionSettings, AccordionAnimationSettings, AccordionItem, Accordion, ContextMenu, Menu, TabActionSettings, TabAnimationSettings, Header, TabItem, Tab, FieldsSettings, ActionSettings, NodeAnimationSettings, TreeView, Sidebar, BreadcrumbOverflowMode, BreadcrumbItem, Breadcrumb, CarouselSwipeMode, CarouselItem, Carousel, AppBar, StepStatus, Step, StepperOrientation, StepperBase, StepperAnimationSettings, StepLabelPosition, StepType, Stepper } from '@syncfusion/ej2-navigations';
|
|
2070
|
+
//# sourceMappingURL=ej2-angular-navigations.js.map
|