@syncfusion/ej2-navigations 20.2.49 → 20.3.47
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/CHANGELOG.md +23 -0
- package/README.md +14 -0
- package/appbar.d.ts +4 -0
- package/appbar.js +4 -0
- package/dist/ej2-navigations.min.js +10 -0
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +355 -45
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +375 -46
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +13 -12
- package/src/appbar/appbar-model.d.ts +76 -0
- package/src/appbar/appbar.d.ts +112 -0
- package/src/appbar/appbar.js +220 -0
- package/src/appbar/index.d.ts +3 -0
- package/src/appbar/index.js +2 -0
- package/src/carousel/carousel-model.d.ts +11 -2
- package/src/carousel/carousel.d.ts +9 -0
- package/src/carousel/carousel.js +105 -14
- package/src/common/menu-base.js +2 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/tab/tab.d.ts +11 -7
- package/src/tab/tab.js +23 -16
- package/src/treeview/treeview.d.ts +1 -0
- package/src/treeview/treeview.js +24 -14
- package/styles/accordion/_all.scss +1 -1
- package/styles/accordion/_bootstrap-dark-definition.scss +5 -2
- package/styles/accordion/_bootstrap-definition.scss +3 -3
- package/styles/accordion/_bootstrap4-definition.scss +4 -1
- package/styles/accordion/_bootstrap5-definition.scss +1 -1
- package/styles/accordion/_fabric-dark-definition.scss +3 -4
- package/styles/accordion/_fabric-definition.scss +3 -3
- package/styles/accordion/_fluent-definition.scss +0 -1
- package/styles/accordion/_fusionnew-definition.scss +1 -1
- package/styles/accordion/_highcontrast-definition.scss +4 -4
- package/styles/accordion/_highcontrast-light-definition.scss +1 -1
- package/styles/accordion/_layout.scss +8 -9
- package/styles/accordion/_material-dark-definition.scss +3 -1
- package/styles/accordion/_material-definition.scss +1 -0
- package/styles/accordion/_material3-definition.scss +1 -1
- package/styles/accordion/_tailwind-definition.scss +0 -1
- package/styles/accordion/_theme.scss +6 -5
- package/styles/accordion/bootstrap-dark.css +1 -0
- package/styles/accordion/bootstrap.css +1 -0
- package/styles/accordion/bootstrap4.css +1 -0
- package/styles/accordion/bootstrap5-dark.css +2 -0
- package/styles/accordion/bootstrap5.css +2 -0
- package/styles/accordion/fabric-dark.css +1 -0
- package/styles/accordion/fabric.css +1 -0
- package/styles/accordion/fluent-dark.css +1 -0
- package/styles/accordion/fluent.css +1 -0
- package/styles/accordion/highcontrast-light.css +1 -0
- package/styles/accordion/highcontrast.css +1 -0
- package/styles/accordion/icons/_bootstrap-dark.scss +2 -2
- package/styles/accordion/icons/_bootstrap.scss +2 -2
- package/styles/accordion/icons/_bootstrap4.scss +2 -2
- package/styles/accordion/icons/_bootstrap5.scss +2 -3
- package/styles/accordion/icons/_fabric-dark.scss +2 -2
- package/styles/accordion/icons/_fabric.scss +2 -2
- package/styles/accordion/icons/_fluent.scss +2 -3
- package/styles/accordion/icons/_fusionnew.scss +2 -3
- package/styles/accordion/icons/_highcontrast-light.scss +2 -2
- package/styles/accordion/icons/_highcontrast.scss +2 -2
- package/styles/accordion/icons/_material-dark.scss +2 -2
- package/styles/accordion/icons/_material.scss +2 -2
- package/styles/accordion/icons/_material3.scss +2 -3
- package/styles/accordion/icons/_tailwind.scss +2 -3
- package/styles/accordion/material-dark.css +1 -0
- package/styles/accordion/material.css +1 -0
- package/styles/accordion/tailwind-dark.css +1 -0
- package/styles/accordion/tailwind.css +1 -0
- package/styles/appbar/_all.scss +2 -0
- package/styles/appbar/_bootstrap-dark-definition.scss +8 -0
- package/styles/appbar/_bootstrap-definition.scss +8 -0
- package/styles/appbar/_bootstrap4-definition.scss +8 -0
- package/styles/appbar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/appbar/_bootstrap5-definition.scss +8 -0
- package/styles/appbar/_fabric-dark-definition.scss +8 -0
- package/styles/appbar/_fabric-definition.scss +8 -0
- package/styles/appbar/_fluent-dark-definition.scss +1 -0
- package/styles/appbar/_fluent-definition.scss +8 -0
- package/styles/appbar/_fusionnew-definition.scss +8 -0
- package/styles/appbar/_highcontrast-definition.scss +8 -0
- package/styles/appbar/_highcontrast-light-definition.scss +8 -0
- package/styles/appbar/_layout.scss +81 -0
- package/styles/appbar/_material-dark-definition.scss +8 -0
- package/styles/appbar/_material-definition.scss +8 -0
- package/styles/appbar/_material3-definition.scss +8 -0
- package/styles/appbar/_tailwind-dark-definition.scss +1 -0
- package/styles/appbar/_tailwind-definition.scss +8 -0
- package/styles/appbar/_theme.scss +208 -0
- package/styles/appbar/bootstrap-dark.css +244 -0
- package/styles/appbar/bootstrap-dark.scss +3 -0
- package/styles/appbar/bootstrap.css +244 -0
- package/styles/appbar/bootstrap.scss +3 -0
- package/styles/appbar/bootstrap4.css +244 -0
- package/styles/appbar/bootstrap4.scss +3 -0
- package/styles/appbar/bootstrap5-dark.css +244 -0
- package/styles/appbar/bootstrap5-dark.scss +3 -0
- package/styles/appbar/bootstrap5.css +244 -0
- package/styles/appbar/bootstrap5.scss +3 -0
- package/styles/appbar/fabric-dark.css +244 -0
- package/styles/appbar/fabric-dark.scss +3 -0
- package/styles/appbar/fabric.css +244 -0
- package/styles/appbar/fabric.scss +3 -0
- package/styles/appbar/fluent-dark.css +244 -0
- package/styles/appbar/fluent-dark.scss +3 -0
- package/styles/appbar/fluent.css +244 -0
- package/styles/appbar/fluent.scss +3 -0
- package/styles/appbar/highcontrast-light.css +244 -0
- package/styles/appbar/highcontrast-light.scss +3 -0
- package/styles/appbar/highcontrast.css +244 -0
- package/styles/appbar/highcontrast.scss +3 -0
- package/styles/appbar/material-dark.css +245 -0
- package/styles/appbar/material-dark.scss +3 -0
- package/styles/appbar/material.css +245 -0
- package/styles/appbar/material.scss +3 -0
- package/styles/appbar/tailwind-dark.css +245 -0
- package/styles/appbar/tailwind-dark.scss +3 -0
- package/styles/appbar/tailwind.css +245 -0
- package/styles/appbar/tailwind.scss +3 -0
- package/styles/bootstrap-dark.css +340 -21
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +345 -26
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +348 -29
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +360 -36
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +360 -36
- package/styles/bootstrap5.scss +1 -0
- package/styles/breadcrumb/_all.scss +1 -0
- package/styles/breadcrumb/_bootstrap-dark-definition.scss +1 -2
- package/styles/breadcrumb/_layout.scss +4 -3
- package/styles/breadcrumb/_theme.scss +1 -0
- package/styles/breadcrumb/icons/_bootstrap-dark.scss +1 -1
- package/styles/breadcrumb/icons/_bootstrap.scss +1 -1
- package/styles/breadcrumb/icons/_bootstrap4.scss +1 -1
- package/styles/breadcrumb/icons/_bootstrap5.scss +1 -1
- package/styles/breadcrumb/icons/_fabric-dark.scss +1 -1
- package/styles/breadcrumb/icons/_fabric.scss +1 -1
- package/styles/breadcrumb/icons/_fluent.scss +1 -1
- package/styles/breadcrumb/icons/_fusionnew.scss +1 -1
- package/styles/breadcrumb/icons/_highcontrast-light.scss +1 -1
- package/styles/breadcrumb/icons/_highcontrast.scss +1 -1
- package/styles/breadcrumb/icons/_material-dark.scss +1 -1
- package/styles/breadcrumb/icons/_material.scss +1 -1
- package/styles/breadcrumb/icons/_material3.scss +1 -1
- package/styles/breadcrumb/icons/_tailwind-dark.scss +1 -1
- package/styles/breadcrumb/icons/_tailwind.scss +1 -1
- package/styles/carousel/_all.scss +1 -1
- package/styles/carousel/_layout.scss +44 -5
- package/styles/carousel/bootstrap-dark.css +46 -11
- package/styles/carousel/bootstrap.css +46 -11
- package/styles/carousel/bootstrap4.css +46 -11
- package/styles/carousel/bootstrap5-dark.css +46 -11
- package/styles/carousel/bootstrap5.css +46 -11
- package/styles/carousel/fabric-dark.css +46 -11
- package/styles/carousel/fabric.css +46 -11
- package/styles/carousel/fluent-dark.css +46 -11
- package/styles/carousel/fluent.css +46 -11
- package/styles/carousel/highcontrast-light.css +46 -11
- package/styles/carousel/highcontrast.css +46 -11
- package/styles/carousel/material-dark.css +46 -11
- package/styles/carousel/material.css +46 -11
- package/styles/carousel/tailwind-dark.css +46 -11
- package/styles/carousel/tailwind.css +46 -11
- package/styles/context-menu/_bootstrap-dark-definition.scss +2 -1
- package/styles/context-menu/_bootstrap4-definition.scss +3 -3
- package/styles/context-menu/_bootstrap5-definition.scss +2 -2
- package/styles/context-menu/_fabric-dark-definition.scss +2 -1
- package/styles/context-menu/_highcontrast-light-definition.scss +2 -1
- package/styles/context-menu/_layout-mixin.scss +0 -1
- package/styles/context-menu/_layout.scss +1 -0
- package/styles/context-menu/_material-dark-definition.scss +2 -1
- package/styles/context-menu/_theme.scss +1 -0
- package/styles/context-menu/bootstrap4.css +2 -2
- package/styles/context-menu/bootstrap5-dark.css +3 -3
- package/styles/context-menu/bootstrap5.css +3 -3
- package/styles/context-menu/fluent-dark.css +1 -1
- package/styles/context-menu/fluent.css +1 -1
- package/styles/context-menu/icons/_bootstrap-dark.scss +1 -0
- package/styles/context-menu/icons/_bootstrap.scss +1 -0
- package/styles/context-menu/icons/_bootstrap4.scss +1 -0
- package/styles/context-menu/icons/_bootstrap5.scss +1 -0
- package/styles/context-menu/icons/_fabric-dark.scss +1 -0
- package/styles/context-menu/icons/_fabric.scss +1 -0
- package/styles/context-menu/icons/_fluent.scss +1 -0
- package/styles/context-menu/icons/_fusionnew.scss +1 -0
- package/styles/context-menu/icons/_highcontrast-light.scss +1 -0
- package/styles/context-menu/icons/_highcontrast.scss +1 -0
- package/styles/context-menu/icons/_material-dark.scss +1 -0
- package/styles/context-menu/icons/_material.scss +1 -0
- package/styles/context-menu/icons/_material3.scss +1 -0
- package/styles/context-menu/icons/_tailwind-dark.scss +1 -0
- package/styles/context-menu/icons/_tailwind.scss +1 -0
- package/styles/context-menu/tailwind-dark.css +1 -1
- package/styles/context-menu/tailwind.css +1 -1
- package/styles/fabric-dark.css +340 -21
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +340 -21
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +352 -33
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +352 -33
- package/styles/fluent.scss +1 -0
- package/styles/h-scroll/_all.scss +1 -1
- package/styles/h-scroll/_bootstrap-dark-definition.scss +4 -3
- package/styles/h-scroll/_bootstrap-definition.scss +3 -4
- package/styles/h-scroll/_bootstrap5-definition.scss +5 -7
- package/styles/h-scroll/_fabric-dark-definition.scss +4 -3
- package/styles/h-scroll/_fabric-definition.scss +4 -4
- package/styles/h-scroll/_fluent-definition.scss +5 -7
- package/styles/h-scroll/_fusionnew-definition.scss +5 -7
- package/styles/h-scroll/_highcontrast-definition.scss +4 -4
- package/styles/h-scroll/_highcontrast-light-definition.scss +4 -3
- package/styles/h-scroll/_layout.scss +11 -13
- package/styles/h-scroll/_material-dark-definition.scss +6 -5
- package/styles/h-scroll/_material-definition.scss +8 -10
- package/styles/h-scroll/_material3-definition.scss +5 -7
- package/styles/h-scroll/_tailwind-definition.scss +6 -8
- package/styles/h-scroll/_theme.scss +3 -5
- package/styles/h-scroll/bootstrap-dark.css +0 -2
- package/styles/h-scroll/bootstrap.css +0 -2
- package/styles/h-scroll/bootstrap4.css +0 -2
- package/styles/h-scroll/bootstrap5-dark.css +0 -2
- package/styles/h-scroll/bootstrap5.css +0 -2
- package/styles/h-scroll/fabric-dark.css +0 -2
- package/styles/h-scroll/fabric.css +0 -2
- package/styles/h-scroll/fluent-dark.css +0 -2
- package/styles/h-scroll/fluent.css +0 -2
- package/styles/h-scroll/highcontrast-light.css +0 -2
- package/styles/h-scroll/highcontrast.css +0 -2
- package/styles/h-scroll/icons/_bootstrap-dark.scss +3 -4
- package/styles/h-scroll/icons/_bootstrap.scss +3 -4
- package/styles/h-scroll/icons/_bootstrap4.scss +3 -4
- package/styles/h-scroll/icons/_bootstrap5.scss +3 -3
- package/styles/h-scroll/icons/_fabric-dark.scss +3 -3
- package/styles/h-scroll/icons/_fabric.scss +3 -3
- package/styles/h-scroll/icons/_fluent.scss +3 -3
- package/styles/h-scroll/icons/_fusionnew.scss +3 -3
- package/styles/h-scroll/icons/_highcontrast-light.scss +3 -3
- package/styles/h-scroll/icons/_highcontrast.scss +3 -3
- package/styles/h-scroll/icons/_material-dark.scss +3 -3
- package/styles/h-scroll/icons/_material.scss +3 -3
- package/styles/h-scroll/icons/_material3.scss +3 -3
- package/styles/h-scroll/icons/_tailwind.scss +3 -3
- package/styles/h-scroll/material-dark.css +0 -2
- package/styles/h-scroll/material.css +0 -2
- package/styles/h-scroll/tailwind-dark.css +0 -2
- package/styles/h-scroll/tailwind.css +0 -2
- package/styles/highcontrast-light.css +339 -20
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +339 -20
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +339 -20
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +339 -20
- package/styles/material.scss +1 -0
- package/styles/menu/_bootstrap-dark-definition.scss +2 -1
- package/styles/menu/_fabric-dark-definition.scss +2 -1
- package/styles/menu/_fluent-definition.scss +0 -1
- package/styles/menu/_layout.scss +4 -3
- package/styles/menu/_material-dark-definition.scss +2 -1
- package/styles/menu/_tailwind-definition.scss +0 -1
- package/styles/menu/_theme.scss +22 -1
- package/styles/menu/bootstrap-dark.css +22 -0
- package/styles/menu/bootstrap.css +22 -0
- package/styles/menu/bootstrap4.css +22 -0
- package/styles/menu/bootstrap5-dark.css +23 -1
- package/styles/menu/bootstrap5.css +23 -1
- package/styles/menu/fabric-dark.css +22 -0
- package/styles/menu/fabric.css +22 -0
- package/styles/menu/fluent-dark.css +23 -1
- package/styles/menu/fluent.css +23 -1
- package/styles/menu/highcontrast-light.css +22 -0
- package/styles/menu/highcontrast.css +22 -0
- package/styles/menu/icons/_bootstrap-dark.scss +1 -0
- package/styles/menu/icons/_bootstrap.scss +1 -0
- package/styles/menu/icons/_bootstrap4.scss +1 -0
- package/styles/menu/icons/_bootstrap5.scss +1 -0
- package/styles/menu/icons/_fabric-dark.scss +1 -0
- package/styles/menu/icons/_fabric.scss +1 -0
- package/styles/menu/icons/_fluent.scss +1 -0
- package/styles/menu/icons/_fusionnew.scss +1 -0
- package/styles/menu/icons/_highcontrast-light.scss +1 -0
- package/styles/menu/icons/_highcontrast.scss +1 -0
- package/styles/menu/icons/_material-dark.scss +1 -0
- package/styles/menu/icons/_material.scss +1 -0
- package/styles/menu/icons/_material3.scss +1 -0
- package/styles/menu/icons/_tailwind-dark.scss +1 -0
- package/styles/menu/icons/_tailwind.scss +1 -0
- package/styles/menu/material-dark.css +22 -0
- package/styles/menu/material.css +22 -0
- package/styles/menu/tailwind-dark.css +23 -1
- package/styles/menu/tailwind.css +23 -1
- package/styles/pager/_all.scss +1 -1
- package/styles/pager/_bootstrap-dark-definition.scss +0 -1
- package/styles/pager/_bootstrap-definition.scss +3 -4
- package/styles/pager/_bootstrap4-definition.scss +6 -6
- package/styles/pager/_bootstrap5-definition.scss +5 -5
- package/styles/pager/_fabric-dark-definition.scss +2 -2
- package/styles/pager/_fabric-definition.scss +0 -1
- package/styles/pager/_fluent-definition.scss +1 -1
- package/styles/pager/_highcontrast-definition.scss +0 -1
- package/styles/pager/_highcontrast-light-definition.scss +3 -2
- package/styles/pager/_layout.scss +35 -38
- package/styles/pager/_material-dark-definition.scss +2 -2
- package/styles/pager/_material-definition.scss +0 -1
- package/styles/pager/_tailwind-definition.scss +7 -7
- package/styles/pager/_theme.scss +3 -4
- package/styles/pager/bootstrap-dark.css +5 -3
- package/styles/pager/bootstrap.css +10 -8
- package/styles/pager/bootstrap4.css +11 -9
- package/styles/pager/bootstrap5-dark.css +14 -12
- package/styles/pager/bootstrap5.css +14 -12
- package/styles/pager/fabric-dark.css +5 -3
- package/styles/pager/fabric.css +5 -3
- package/styles/pager/fluent-dark.css +6 -4
- package/styles/pager/fluent.css +6 -4
- package/styles/pager/highcontrast-light.css +4 -2
- package/styles/pager/highcontrast.css +4 -2
- package/styles/pager/icons/_bootstrap-dark.scss +2 -2
- package/styles/pager/icons/_bootstrap.scss +2 -1
- package/styles/pager/icons/_bootstrap4.scss +2 -1
- package/styles/pager/icons/_bootstrap5.scss +2 -2
- package/styles/pager/icons/_fabric-dark.scss +4 -4
- package/styles/pager/icons/_fabric.scss +4 -4
- package/styles/pager/icons/_fluent.scss +2 -2
- package/styles/pager/icons/_fusionnew.scss +2 -2
- package/styles/pager/icons/_highcontrast-light.scss +3 -3
- package/styles/pager/icons/_highcontrast.scss +9 -4
- package/styles/pager/icons/_material-dark.scss +2 -2
- package/styles/pager/icons/_material.scss +10 -5
- package/styles/pager/icons/_material3.scss +2 -2
- package/styles/pager/icons/_tailwind.scss +2 -2
- package/styles/pager/material-dark.css +4 -2
- package/styles/pager/material.css +4 -2
- package/styles/pager/tailwind-dark.css +19 -17
- package/styles/pager/tailwind.css +19 -17
- package/styles/sidebar/_bootstrap5-definition.scss +1 -0
- package/styles/sidebar/_fabric-definition.scss +0 -2
- package/styles/sidebar/_fluent-definition.scss +1 -0
- package/styles/sidebar/_fusionnew-definition.scss +1 -0
- package/styles/sidebar/_icons.scss +1 -1
- package/styles/sidebar/_layout.scss +1 -0
- package/styles/sidebar/_material3-definition.scss +1 -0
- package/styles/sidebar/_tailwind-definition.scss +1 -0
- package/styles/sidebar/_theme.scss +19 -28
- package/styles/sidebar/bootstrap-dark.css +4 -0
- package/styles/sidebar/bootstrap.css +4 -0
- package/styles/sidebar/bootstrap4.css +4 -0
- package/styles/sidebar/bootstrap5-dark.css +4 -0
- package/styles/sidebar/bootstrap5.css +4 -0
- package/styles/sidebar/fabric-dark.css +4 -0
- package/styles/sidebar/fabric.css +4 -0
- package/styles/sidebar/fluent-dark.css +4 -0
- package/styles/sidebar/fluent.css +4 -0
- package/styles/sidebar/highcontrast-light.css +4 -0
- package/styles/sidebar/highcontrast.css +4 -0
- package/styles/sidebar/material-dark.css +4 -0
- package/styles/sidebar/material.css +4 -0
- package/styles/sidebar/tailwind-dark.css +4 -0
- package/styles/sidebar/tailwind.css +4 -0
- package/styles/tab/_bootstrap-dark-definition.scss +2 -1
- package/styles/tab/_bootstrap5-definition.scss +1 -1
- package/styles/tab/_fabric-dark-definition.scss +2 -2
- package/styles/tab/_fabric-definition.scss +0 -1
- package/styles/tab/_fusionnew-definition.scss +1 -1
- package/styles/tab/_highcontrast-definition.scss +0 -1
- package/styles/tab/_highcontrast-light-definition.scss +0 -2
- package/styles/tab/_icons.scss +1 -0
- package/styles/tab/_layout.scss +24 -26
- package/styles/tab/_material-dark-definition.scss +2 -3
- package/styles/tab/_material-definition.scss +0 -1
- package/styles/tab/_material3-definition.scss +1 -1
- package/styles/tab/_tailwind-definition.scss +0 -1
- package/styles/tab/_theme.scss +6 -8
- package/styles/tab/bootstrap-dark.css +1 -1
- package/styles/tab/bootstrap.css +1 -1
- package/styles/tab/bootstrap4.css +1 -1
- package/styles/tab/bootstrap5-dark.css +5 -2
- package/styles/tab/bootstrap5.css +5 -2
- package/styles/tab/fabric-dark.css +1 -1
- package/styles/tab/fabric.css +1 -1
- package/styles/tab/fluent-dark.css +5 -5
- package/styles/tab/fluent.css +5 -5
- package/styles/tab/highcontrast-light.css +1 -1
- package/styles/tab/highcontrast.css +1 -1
- package/styles/tab/icons/_bootstrap-dark.scss +1 -0
- package/styles/tab/icons/_bootstrap.scss +1 -0
- package/styles/tab/icons/_bootstrap4.scss +1 -0
- package/styles/tab/icons/_bootstrap5.scss +1 -1
- package/styles/tab/icons/_fabric-dark.scss +1 -0
- package/styles/tab/icons/_fabric.scss +1 -0
- package/styles/tab/icons/_fluent.scss +1 -1
- package/styles/tab/icons/_fusionnew.scss +1 -1
- package/styles/tab/icons/_highcontrast-light.scss +1 -0
- package/styles/tab/icons/_highcontrast.scss +1 -0
- package/styles/tab/icons/_material-dark.scss +1 -0
- package/styles/tab/icons/_material.scss +1 -0
- package/styles/tab/icons/_material3.scss +1 -1
- package/styles/tab/icons/_tailwind.scss +1 -1
- package/styles/tab/material-dark.css +1 -1
- package/styles/tab/material.css +1 -1
- package/styles/tab/tailwind-dark.css +1 -1
- package/styles/tab/tailwind.css +1 -1
- package/styles/tailwind-dark.css +359 -38
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +359 -38
- package/styles/tailwind.scss +1 -0
- package/styles/toolbar/_all.scss +1 -1
- package/styles/toolbar/_bootstrap-dark-definition.scss +6 -5
- package/styles/toolbar/_bootstrap-definition.scss +13 -13
- package/styles/toolbar/_bootstrap4-definition.scss +6 -6
- package/styles/toolbar/_bootstrap5-definition.scss +1 -1
- package/styles/toolbar/_fabric-dark-definition.scss +2 -1
- package/styles/toolbar/_fluent-definition.scss +2 -2
- package/styles/toolbar/_fusionnew-definition.scss +1 -1
- package/styles/toolbar/_highcontrast-light-definition.scss +2 -1
- package/styles/toolbar/_layout.scss +50 -74
- package/styles/toolbar/_material-dark-definition.scss +9 -11
- package/styles/toolbar/_material-definition.scss +12 -13
- package/styles/toolbar/_material3-definition.scss +1 -1
- package/styles/toolbar/_theme.scss +5 -8
- package/styles/toolbar/bootstrap-dark.css +10 -2
- package/styles/toolbar/bootstrap.css +10 -2
- package/styles/toolbar/bootstrap4.css +10 -2
- package/styles/toolbar/bootstrap5-dark.css +12 -3
- package/styles/toolbar/bootstrap5.css +12 -3
- package/styles/toolbar/fabric-dark.css +10 -2
- package/styles/toolbar/fabric.css +10 -2
- package/styles/toolbar/fluent-dark.css +15 -7
- package/styles/toolbar/fluent.css +15 -7
- package/styles/toolbar/highcontrast-light.css +10 -2
- package/styles/toolbar/highcontrast.css +10 -2
- package/styles/toolbar/icons/_bootstrap-dark.scss +1 -1
- package/styles/toolbar/icons/_bootstrap.scss +1 -1
- package/styles/toolbar/icons/_bootstrap4.scss +1 -1
- package/styles/toolbar/icons/_bootstrap5.scss +1 -2
- package/styles/toolbar/icons/_fabric-dark.scss +1 -1
- package/styles/toolbar/icons/_fabric.scss +1 -1
- package/styles/toolbar/icons/_fluent.scss +1 -2
- package/styles/toolbar/icons/_fusionnew.scss +1 -2
- package/styles/toolbar/icons/_highcontrast-light.scss +1 -1
- package/styles/toolbar/icons/_highcontrast.scss +1 -1
- package/styles/toolbar/icons/_material-dark.scss +1 -1
- package/styles/toolbar/icons/_material.scss +1 -1
- package/styles/toolbar/icons/_material3.scss +1 -2
- package/styles/toolbar/icons/_tailwind.scss +1 -2
- package/styles/toolbar/material-dark.css +10 -2
- package/styles/toolbar/material.css +10 -2
- package/styles/toolbar/tailwind-dark.css +11 -3
- package/styles/toolbar/tailwind.css +11 -3
- package/styles/treeview/_all.scss +1 -1
- package/styles/treeview/_bootstrap-dark-definition.scss +1 -1
- package/styles/treeview/_bootstrap-definition.scss +1 -1
- package/styles/treeview/_bootstrap4-definition.scss +3 -3
- package/styles/treeview/_bootstrap5-definition.scss +1 -1
- package/styles/treeview/_fabric-dark-definition.scss +1 -1
- package/styles/treeview/_fabric-definition.scss +1 -1
- package/styles/treeview/_fluent-definition.scss +1 -1
- package/styles/treeview/_fusionnew-definition.scss +1 -1
- package/styles/treeview/_highcontrast-definition.scss +1 -1
- package/styles/treeview/_highcontrast-light-definition.scss +1 -1
- package/styles/treeview/_layout.scss +23 -18
- package/styles/treeview/_material-dark-definition.scss +1 -1
- package/styles/treeview/_material-definition.scss +1 -1
- package/styles/treeview/_material3-definition.scss +1 -1
- package/styles/treeview/_tailwind-definition.scss +2 -2
- package/styles/treeview/_theme.scss +15 -12
- package/styles/treeview/bootstrap-dark.css +6 -0
- package/styles/treeview/bootstrap.css +6 -0
- package/styles/treeview/bootstrap4.css +6 -0
- package/styles/treeview/bootstrap5-dark.css +6 -0
- package/styles/treeview/bootstrap5.css +6 -0
- package/styles/treeview/fabric-dark.css +6 -0
- package/styles/treeview/fabric.css +6 -0
- package/styles/treeview/fluent-dark.css +6 -0
- package/styles/treeview/fluent.css +6 -0
- package/styles/treeview/highcontrast-light.css +6 -0
- package/styles/treeview/highcontrast.css +6 -0
- package/styles/treeview/icons/_bootstrap-dark.scss +1 -1
- package/styles/treeview/icons/_bootstrap.scss +1 -1
- package/styles/treeview/icons/_bootstrap4.scss +1 -2
- package/styles/treeview/icons/_bootstrap5.scss +1 -1
- package/styles/treeview/icons/_fabric-dark.scss +1 -1
- package/styles/treeview/icons/_fabric.scss +1 -1
- package/styles/treeview/icons/_fluent.scss +1 -1
- package/styles/treeview/icons/_fusionnew.scss +1 -1
- package/styles/treeview/icons/_highcontrast-light.scss +1 -1
- package/styles/treeview/icons/_highcontrast.scss +1 -1
- package/styles/treeview/icons/_material-dark.scss +1 -1
- package/styles/treeview/icons/_material.scss +1 -1
- package/styles/treeview/icons/_material3.scss +1 -1
- package/styles/treeview/icons/_tailwind-dark.scss +1 -1
- package/styles/treeview/icons/_tailwind.scss +1 -1
- package/styles/treeview/material-dark.css +6 -0
- package/styles/treeview/material.css +6 -0
- package/styles/treeview/tailwind-dark.css +7 -0
- package/styles/treeview/tailwind.css +7 -0
- package/styles/v-scroll/_all.scss +1 -1
- package/styles/v-scroll/_bootstrap-dark-definition.scss +5 -4
- package/styles/v-scroll/_bootstrap-definition.scss +3 -3
- package/styles/v-scroll/_bootstrap4-definition.scss +1 -1
- package/styles/v-scroll/_bootstrap5-definition.scss +3 -3
- package/styles/v-scroll/_fabric-dark-definition.scss +6 -5
- package/styles/v-scroll/_fabric-definition.scss +4 -4
- package/styles/v-scroll/_fluent-definition.scss +3 -3
- package/styles/v-scroll/_fusionnew-definition.scss +3 -3
- package/styles/v-scroll/_highcontrast-definition.scss +4 -4
- package/styles/v-scroll/_highcontrast-light-definition.scss +6 -5
- package/styles/v-scroll/_layout.scss +4 -4
- package/styles/v-scroll/_material-dark-definition.scss +6 -5
- package/styles/v-scroll/_material-definition.scss +5 -5
- package/styles/v-scroll/_material3-definition.scss +3 -3
- package/styles/v-scroll/_tailwind-definition.scss +3 -3
- package/styles/v-scroll/_theme.scss +2 -1
- package/styles/v-scroll/bootstrap-dark.css +0 -2
- package/styles/v-scroll/bootstrap.css +0 -2
- package/styles/v-scroll/bootstrap4.css +0 -2
- package/styles/v-scroll/bootstrap5-dark.css +0 -2
- package/styles/v-scroll/bootstrap5.css +0 -2
- package/styles/v-scroll/fabric-dark.css +0 -2
- package/styles/v-scroll/fabric.css +0 -2
- package/styles/v-scroll/fluent-dark.css +0 -2
- package/styles/v-scroll/fluent.css +0 -2
- package/styles/v-scroll/highcontrast-light.css +0 -2
- package/styles/v-scroll/highcontrast.css +0 -2
- package/styles/v-scroll/icons/_bootstrap-dark.scss +1 -1
- package/styles/v-scroll/icons/_bootstrap.scss +1 -1
- package/styles/v-scroll/icons/_bootstrap4.scss +1 -1
- package/styles/v-scroll/icons/_bootstrap5.scss +1 -1
- package/styles/v-scroll/icons/_fabric-dark.scss +1 -0
- package/styles/v-scroll/icons/_fabric.scss +1 -0
- package/styles/v-scroll/icons/_fluent.scss +1 -1
- package/styles/v-scroll/icons/_fusionnew.scss +1 -1
- package/styles/v-scroll/icons/_highcontrast-light.scss +1 -0
- package/styles/v-scroll/icons/_highcontrast.scss +1 -0
- package/styles/v-scroll/icons/_material-dark.scss +1 -0
- package/styles/v-scroll/icons/_material.scss +1 -0
- package/styles/v-scroll/icons/_material3.scss +1 -1
- package/styles/v-scroll/icons/_tailwind.scss +1 -1
- package/styles/v-scroll/material-dark.css +0 -2
- package/styles/v-scroll/material.css +0 -2
- package/styles/v-scroll/tailwind-dark.css +0 -2
- package/styles/v-scroll/tailwind.css +0 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.3.47
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-navigations@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-navigations@
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@19.60.1",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-mnO+XJ2JF8kvnesSRv932kfHNge3XVO4kjdbgSyez+ipbe4yCjoghRDv0/+okKmmdQjArN9yLMZkyqdT5pZV3w==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-navigations",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"/@syncfusion/ej2-filemanager",
|
|
28
28
|
"/@syncfusion/ej2-gantt",
|
|
29
29
|
"/@syncfusion/ej2-grids",
|
|
30
|
+
"/@syncfusion/ej2-image-editor",
|
|
30
31
|
"/@syncfusion/ej2-inplace-editor",
|
|
31
32
|
"/@syncfusion/ej2-kanban",
|
|
32
33
|
"/@syncfusion/ej2-pdfviewer",
|
|
@@ -37,8 +38,8 @@
|
|
|
37
38
|
"/@syncfusion/ej2-spreadsheet",
|
|
38
39
|
"/@syncfusion/ej2-vue-navigations"
|
|
39
40
|
],
|
|
40
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
|
41
|
-
"_shasum": "
|
|
41
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-navigations/-/ej2-navigations-19.60.1.tgz",
|
|
42
|
+
"_shasum": "b484d37710ff0871e9082d7ef103487ec7fcc99c",
|
|
42
43
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
43
44
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
44
45
|
"author": {
|
|
@@ -49,17 +50,17 @@
|
|
|
49
50
|
},
|
|
50
51
|
"bundleDependencies": false,
|
|
51
52
|
"dependencies": {
|
|
52
|
-
"@syncfusion/ej2-base": "~20.
|
|
53
|
-
"@syncfusion/ej2-buttons": "~20.
|
|
54
|
-
"@syncfusion/ej2-data": "~20.
|
|
55
|
-
"@syncfusion/ej2-inputs": "~20.
|
|
56
|
-
"@syncfusion/ej2-lists": "~20.
|
|
57
|
-
"@syncfusion/ej2-popups": "~20.
|
|
53
|
+
"@syncfusion/ej2-base": "~20.3.47",
|
|
54
|
+
"@syncfusion/ej2-buttons": "~20.3.47",
|
|
55
|
+
"@syncfusion/ej2-data": "~20.3.47",
|
|
56
|
+
"@syncfusion/ej2-inputs": "~20.3.47",
|
|
57
|
+
"@syncfusion/ej2-lists": "~20.3.47",
|
|
58
|
+
"@syncfusion/ej2-popups": "~20.3.47"
|
|
58
59
|
},
|
|
59
60
|
"deprecated": false,
|
|
60
61
|
"description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
|
|
61
62
|
"devDependencies": {},
|
|
62
|
-
"es2015": "./dist/es6/ej2-navigations.
|
|
63
|
+
"es2015": "./dist/es6/ej2-navigations.es5.js",
|
|
63
64
|
"homepage": "https://github.com/syncfusion/ej2-javascript-ui-controls#readme",
|
|
64
65
|
"keywords": [
|
|
65
66
|
"ej2",
|
|
@@ -159,6 +160,6 @@
|
|
|
159
160
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
160
161
|
},
|
|
161
162
|
"typings": "index.d.ts",
|
|
162
|
-
"version": "20.
|
|
163
|
+
"version": "20.3.47",
|
|
163
164
|
"sideEffects": false
|
|
164
165
|
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Component, NotifyPropertyChanges, INotifyPropertyChanged, Property, Event, EmitType } from '@syncfusion/ej2-base';import { addClass, removeClass, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
2
|
+
import {AppBarMode,AppBarPosition,AppBarColor} from "./appbar";
|
|
3
|
+
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Interface for a class AppBar
|
|
7
|
+
*/
|
|
8
|
+
export interface AppBarModel extends ComponentModel{
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the mode of the AppBar that defines the AppBar height. The possible values for this property are as follows:
|
|
12
|
+
* * Regular
|
|
13
|
+
* * Prominent
|
|
14
|
+
* * Dense
|
|
15
|
+
*
|
|
16
|
+
* @default 'Regular'
|
|
17
|
+
*/
|
|
18
|
+
mode?: AppBarMode;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Specifies the position of the AppBar. The possible values for this property are as follows:
|
|
22
|
+
* * Top
|
|
23
|
+
* * Bottom
|
|
24
|
+
*
|
|
25
|
+
* @default 'Top'
|
|
26
|
+
*/
|
|
27
|
+
position?: AppBarPosition;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Accepts single/multiple CSS classes (separated by a space) to be used for AppBar customization.
|
|
31
|
+
*
|
|
32
|
+
* @default null
|
|
33
|
+
*/
|
|
34
|
+
cssClass?: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Defines whether the AppBar position is fixed or not while scrolling the page.
|
|
38
|
+
* When set to `true`, the AppBar will be sticky while scrolling.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
isSticky?: boolean;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Accepts HTML attributes/custom attributes that will be applied to the AppBar element.
|
|
46
|
+
*
|
|
47
|
+
* @default null
|
|
48
|
+
*/
|
|
49
|
+
htmlAttributes?: Record<string, string>;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Specifies the color mode that defines the color of the AppBar component. The possible values for this property are as follows:
|
|
53
|
+
* * Light
|
|
54
|
+
* * Dark
|
|
55
|
+
* * Primary
|
|
56
|
+
* * Inherit
|
|
57
|
+
*
|
|
58
|
+
* @default 'Light'
|
|
59
|
+
*/
|
|
60
|
+
colorMode?: AppBarColor;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Triggers after the AppBar component is created.
|
|
64
|
+
*
|
|
65
|
+
* @event created
|
|
66
|
+
*/
|
|
67
|
+
created?: EmitType<Event>;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Triggers when the AppBar component is destroyed.
|
|
71
|
+
*
|
|
72
|
+
* @event destroyed
|
|
73
|
+
*/
|
|
74
|
+
destroyed?: EmitType<Event>;
|
|
75
|
+
|
|
76
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Component, INotifyPropertyChanged, EmitType } from '@syncfusion/ej2-base';
|
|
2
|
+
import { AppBarModel } from './appbar-model';
|
|
3
|
+
/**
|
|
4
|
+
* Specifies the height mode of the AppBar component which defines the height of the AppBar.
|
|
5
|
+
*
|
|
6
|
+
* * `Regular` - Specifies default height for the AppBar.
|
|
7
|
+
* * `Prominent` - Specifies longer height for the AppBar to show the longer titles and images, or to provide a stronger presence.
|
|
8
|
+
* * `Dense` - Specifies compressed (short) height for the AppBar to accommodate all the app bar content in a denser layout.
|
|
9
|
+
*/
|
|
10
|
+
export declare type AppBarMode = 'Regular' | 'Prominent' | 'Dense';
|
|
11
|
+
/**
|
|
12
|
+
* Specifies the position of the AppBar.
|
|
13
|
+
*
|
|
14
|
+
* * `Top` - Position the AppBar at the top.
|
|
15
|
+
* * `Bottom` - Position the AppBar at the bottom.
|
|
16
|
+
*/
|
|
17
|
+
export declare type AppBarPosition = 'Top' | 'Bottom';
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the color of the AppBar component.
|
|
20
|
+
*
|
|
21
|
+
* * `Light` - Specifies the AppBar in light color.
|
|
22
|
+
* * `Dark` - Specifies the AppBar in dark color.
|
|
23
|
+
* * `Primary` - Specifies the AppBar in a primary color.
|
|
24
|
+
* * `Inherit` - Inherit color from parent for AppBar. AppBar background and colors are inherited from its parent element.
|
|
25
|
+
*/
|
|
26
|
+
export declare type AppBarColor = 'Light' | 'Dark' | 'Primary' | 'Inherit';
|
|
27
|
+
/**
|
|
28
|
+
* The AppBar displays the information and actions related to the current application screen. It is used to show branding, screen titles, navigation, and actions.
|
|
29
|
+
* Support to inherit colors from AppBar provided to <c>Button</c>, <c>DropDownButton</c>, <c>Menu</c> and <c>TextBox</c>.
|
|
30
|
+
* Set <c>CssClass</c> property with <code>e-inherit</code> CSS class to inherit the background and color from AppBar.
|
|
31
|
+
*/
|
|
32
|
+
export declare class AppBar extends Component<HTMLElement> implements INotifyPropertyChanged {
|
|
33
|
+
/**
|
|
34
|
+
* Specifies the mode of the AppBar that defines the AppBar height. The possible values for this property are as follows:
|
|
35
|
+
* * Regular
|
|
36
|
+
* * Prominent
|
|
37
|
+
* * Dense
|
|
38
|
+
*
|
|
39
|
+
* @default 'Regular'
|
|
40
|
+
*/
|
|
41
|
+
mode: AppBarMode;
|
|
42
|
+
/**
|
|
43
|
+
* Specifies the position of the AppBar. The possible values for this property are as follows:
|
|
44
|
+
* * Top
|
|
45
|
+
* * Bottom
|
|
46
|
+
*
|
|
47
|
+
* @default 'Top'
|
|
48
|
+
*/
|
|
49
|
+
position: AppBarPosition;
|
|
50
|
+
/**
|
|
51
|
+
* Accepts single/multiple CSS classes (separated by a space) to be used for AppBar customization.
|
|
52
|
+
*
|
|
53
|
+
* @default null
|
|
54
|
+
*/
|
|
55
|
+
cssClass: string;
|
|
56
|
+
/**
|
|
57
|
+
* Defines whether the AppBar position is fixed or not while scrolling the page.
|
|
58
|
+
* When set to `true`, the AppBar will be sticky while scrolling.
|
|
59
|
+
*
|
|
60
|
+
* @default false
|
|
61
|
+
*/
|
|
62
|
+
isSticky: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Accepts HTML attributes/custom attributes that will be applied to the AppBar element.
|
|
65
|
+
*
|
|
66
|
+
* @default null
|
|
67
|
+
*/
|
|
68
|
+
htmlAttributes: Record<string, string>;
|
|
69
|
+
/**
|
|
70
|
+
* Specifies the color mode that defines the color of the AppBar component. The possible values for this property are as follows:
|
|
71
|
+
* * Light
|
|
72
|
+
* * Dark
|
|
73
|
+
* * Primary
|
|
74
|
+
* * Inherit
|
|
75
|
+
*
|
|
76
|
+
* @default 'Light'
|
|
77
|
+
*/
|
|
78
|
+
colorMode: AppBarColor;
|
|
79
|
+
/**
|
|
80
|
+
* Triggers after the AppBar component is created.
|
|
81
|
+
*
|
|
82
|
+
* @event created
|
|
83
|
+
*/
|
|
84
|
+
created: EmitType<Event>;
|
|
85
|
+
/**
|
|
86
|
+
* Triggers when the AppBar component is destroyed.
|
|
87
|
+
*
|
|
88
|
+
* @event destroyed
|
|
89
|
+
*/
|
|
90
|
+
destroyed: EmitType<Event>;
|
|
91
|
+
/**
|
|
92
|
+
* Constructor for creating the AppBar widget
|
|
93
|
+
*
|
|
94
|
+
* @param {AppBarModel} options Accepts the AppBar model properties to initiate the rendering
|
|
95
|
+
* @param {string | HTMLElement} element Accepts the DOM element reference
|
|
96
|
+
*/
|
|
97
|
+
constructor(options?: AppBarModel, element?: string | HTMLElement);
|
|
98
|
+
/**
|
|
99
|
+
* Removes the control from the DOM and also removes all its related events.
|
|
100
|
+
*
|
|
101
|
+
* @returns {void}
|
|
102
|
+
*/
|
|
103
|
+
destroy(): void;
|
|
104
|
+
protected getModuleName(): string;
|
|
105
|
+
protected getPersistData(): string;
|
|
106
|
+
protected preRender(): void;
|
|
107
|
+
protected render(): void;
|
|
108
|
+
onPropertyChanged(newProp: AppBarModel, oldProp: AppBarModel): void;
|
|
109
|
+
private setHtmlAttributes;
|
|
110
|
+
private setHeightMode;
|
|
111
|
+
private setColorMode;
|
|
112
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
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;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
import { Component, NotifyPropertyChanges, Property, Event } from '@syncfusion/ej2-base';
|
|
21
|
+
import { addClass, removeClass, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
|
+
// Constant variables
|
|
23
|
+
var CLS_APPBAR = 'e-appbar';
|
|
24
|
+
var CLS_HORIZONTAL_BOTTOM = 'e-horizontal-bottom';
|
|
25
|
+
var CLS_STICKY = 'e-sticky';
|
|
26
|
+
var CLS_PROMINENT = 'e-prominent';
|
|
27
|
+
var CLS_DENSE = 'e-dense';
|
|
28
|
+
var CLS_RTL = 'e-rtl';
|
|
29
|
+
var CLS_LIGHT = 'e-light';
|
|
30
|
+
var CLS_DARK = 'e-dark';
|
|
31
|
+
var CLS_PRIMARY = 'e-primary';
|
|
32
|
+
var CLS_INHERIT = 'e-inherit';
|
|
33
|
+
/**
|
|
34
|
+
* The AppBar displays the information and actions related to the current application screen. It is used to show branding, screen titles, navigation, and actions.
|
|
35
|
+
* Support to inherit colors from AppBar provided to <c>Button</c>, <c>DropDownButton</c>, <c>Menu</c> and <c>TextBox</c>.
|
|
36
|
+
* Set <c>CssClass</c> property with <code>e-inherit</code> CSS class to inherit the background and color from AppBar.
|
|
37
|
+
*/
|
|
38
|
+
var AppBar = /** @class */ (function (_super) {
|
|
39
|
+
__extends(AppBar, _super);
|
|
40
|
+
/**
|
|
41
|
+
* Constructor for creating the AppBar widget
|
|
42
|
+
*
|
|
43
|
+
* @param {AppBarModel} options Accepts the AppBar model properties to initiate the rendering
|
|
44
|
+
* @param {string | HTMLElement} element Accepts the DOM element reference
|
|
45
|
+
*/
|
|
46
|
+
function AppBar(options, element) {
|
|
47
|
+
return _super.call(this, options, element) || this;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Removes the control from the DOM and also removes all its related events.
|
|
51
|
+
*
|
|
52
|
+
* @returns {void}
|
|
53
|
+
*/
|
|
54
|
+
AppBar.prototype.destroy = function () {
|
|
55
|
+
_super.prototype.destroy.call(this);
|
|
56
|
+
this.element.classList.remove(CLS_APPBAR);
|
|
57
|
+
this.element.removeAttribute('style');
|
|
58
|
+
this.element.removeAttribute('role');
|
|
59
|
+
};
|
|
60
|
+
AppBar.prototype.getModuleName = function () {
|
|
61
|
+
return 'appbar';
|
|
62
|
+
};
|
|
63
|
+
AppBar.prototype.getPersistData = function () {
|
|
64
|
+
return this.addOnPersist([]);
|
|
65
|
+
};
|
|
66
|
+
AppBar.prototype.preRender = function () {
|
|
67
|
+
// pre render code
|
|
68
|
+
};
|
|
69
|
+
AppBar.prototype.render = function () {
|
|
70
|
+
if (this.element.tagName !== 'HEADER') {
|
|
71
|
+
this.element.setAttribute('role', 'header');
|
|
72
|
+
}
|
|
73
|
+
if (this.cssClass) {
|
|
74
|
+
addClass([this.element], this.cssClass.split(' '));
|
|
75
|
+
}
|
|
76
|
+
if (this.position === 'Bottom') {
|
|
77
|
+
this.element.classList.add(CLS_HORIZONTAL_BOTTOM);
|
|
78
|
+
}
|
|
79
|
+
if (this.isSticky) {
|
|
80
|
+
this.element.classList.add(CLS_STICKY);
|
|
81
|
+
}
|
|
82
|
+
if (this.enableRtl) {
|
|
83
|
+
this.element.classList.add(CLS_RTL);
|
|
84
|
+
}
|
|
85
|
+
this.setHeightMode();
|
|
86
|
+
this.setColorMode();
|
|
87
|
+
if (!isNullOrUndefined(this.htmlAttributes)) {
|
|
88
|
+
this.setHtmlAttributes(this.htmlAttributes, this.element);
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
AppBar.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
92
|
+
for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
|
|
93
|
+
var prop = _a[_i];
|
|
94
|
+
switch (prop) {
|
|
95
|
+
case 'mode':
|
|
96
|
+
removeClass([this.element], [CLS_DENSE, CLS_PROMINENT]);
|
|
97
|
+
this.setHeightMode();
|
|
98
|
+
break;
|
|
99
|
+
case 'position':
|
|
100
|
+
if (this.position === 'Bottom') {
|
|
101
|
+
addClass([this.element], CLS_HORIZONTAL_BOTTOM);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
removeClass([this.element], CLS_HORIZONTAL_BOTTOM);
|
|
105
|
+
}
|
|
106
|
+
break;
|
|
107
|
+
case 'cssClass':
|
|
108
|
+
if (oldProp.cssClass) {
|
|
109
|
+
removeClass([this.element], oldProp.cssClass.split(' '));
|
|
110
|
+
}
|
|
111
|
+
if (newProp.cssClass) {
|
|
112
|
+
addClass([this.element], newProp.cssClass.split(' '));
|
|
113
|
+
}
|
|
114
|
+
break;
|
|
115
|
+
case 'isSticky':
|
|
116
|
+
if (this.isSticky) {
|
|
117
|
+
addClass([this.element], CLS_STICKY);
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
removeClass([this.element], CLS_STICKY);
|
|
121
|
+
}
|
|
122
|
+
break;
|
|
123
|
+
case 'htmlAttributes':
|
|
124
|
+
if (!isNullOrUndefined(this.htmlAttributes)) {
|
|
125
|
+
if (!isNullOrUndefined(oldProp.htmlAttributes)) {
|
|
126
|
+
var keys = Object.keys(oldProp.htmlAttributes);
|
|
127
|
+
for (var _b = 0, keys_1 = keys; _b < keys_1.length; _b++) {
|
|
128
|
+
var key = keys_1[_b];
|
|
129
|
+
if (key === 'class') {
|
|
130
|
+
removeClass([this.element], oldProp.htmlAttributes[key]);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
this.element.removeAttribute(key);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
this.setHtmlAttributes(newProp.htmlAttributes, this.element);
|
|
138
|
+
}
|
|
139
|
+
break;
|
|
140
|
+
case 'colorMode':
|
|
141
|
+
removeClass([this.element], [CLS_DARK, CLS_PRIMARY, CLS_INHERIT, CLS_LIGHT]);
|
|
142
|
+
this.setColorMode();
|
|
143
|
+
break;
|
|
144
|
+
case 'enableRtl':
|
|
145
|
+
if (this.enableRtl) {
|
|
146
|
+
addClass([this.element], CLS_RTL);
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
removeClass([this.element], CLS_RTL);
|
|
150
|
+
}
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
AppBar.prototype.setHtmlAttributes = function (attribute, element) {
|
|
156
|
+
var keys = Object.keys(attribute);
|
|
157
|
+
for (var _i = 0, keys_2 = keys; _i < keys_2.length; _i++) {
|
|
158
|
+
var key = keys_2[_i];
|
|
159
|
+
if (key === 'class') {
|
|
160
|
+
addClass([element], attribute[key]);
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
element.setAttribute(key, attribute[key]);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
AppBar.prototype.setHeightMode = function () {
|
|
168
|
+
if (this.mode === 'Prominent') {
|
|
169
|
+
this.element.classList.add(CLS_PROMINENT);
|
|
170
|
+
}
|
|
171
|
+
else if (this.mode === 'Dense') {
|
|
172
|
+
this.element.classList.add(CLS_DENSE);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
AppBar.prototype.setColorMode = function () {
|
|
176
|
+
switch (this.colorMode) {
|
|
177
|
+
case 'Light':
|
|
178
|
+
this.element.classList.add(CLS_LIGHT);
|
|
179
|
+
break;
|
|
180
|
+
case 'Dark':
|
|
181
|
+
this.element.classList.add(CLS_DARK);
|
|
182
|
+
break;
|
|
183
|
+
case 'Primary':
|
|
184
|
+
this.element.classList.add(CLS_PRIMARY);
|
|
185
|
+
break;
|
|
186
|
+
case 'Inherit':
|
|
187
|
+
this.element.classList.add(CLS_INHERIT);
|
|
188
|
+
break;
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
__decorate([
|
|
192
|
+
Property('Regular')
|
|
193
|
+
], AppBar.prototype, "mode", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
Property('Top')
|
|
196
|
+
], AppBar.prototype, "position", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
Property()
|
|
199
|
+
], AppBar.prototype, "cssClass", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
Property(false)
|
|
202
|
+
], AppBar.prototype, "isSticky", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
Property()
|
|
205
|
+
], AppBar.prototype, "htmlAttributes", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
Property('Light')
|
|
208
|
+
], AppBar.prototype, "colorMode", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
Event()
|
|
211
|
+
], AppBar.prototype, "created", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
Event()
|
|
214
|
+
], AppBar.prototype, "destroyed", void 0);
|
|
215
|
+
AppBar = __decorate([
|
|
216
|
+
NotifyPropertyChanges
|
|
217
|
+
], AppBar);
|
|
218
|
+
return AppBar;
|
|
219
|
+
}(Component));
|
|
220
|
+
export { AppBar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EventHandler, Collection, Property, Event, EmitType, formatUnit, INotifyPropertyChanged, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { ChildProperty, addClass, removeClass, setStyleAttribute, attributes, getUniqueID, compile,
|
|
1
|
+
import { Component, EventHandler, Collection, Property, Event, EmitType, formatUnit, INotifyPropertyChanged, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { ChildProperty, addClass, removeClass, setStyleAttribute, attributes, getUniqueID, compile, getInstance, L10n } from '@syncfusion/ej2-base';import { append, closest, isNullOrUndefined, remove, classList, Touch, SwipeEventArgs, KeyboardEvents, KeyboardEventArgs, BaseEventArgs } from '@syncfusion/ej2-base';import { Button } from '@syncfusion/ej2-buttons';
|
|
2
2
|
import {CarouselAnimationEffect,CarouselButtonVisibility,SlideChangingEventArgs,SlideChangedEventArgs} from "./carousel";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -55,7 +55,7 @@ export interface CarouselModel extends ComponentModel{
|
|
|
55
55
|
* * Slide
|
|
56
56
|
* * Fade
|
|
57
57
|
* * Custom
|
|
58
|
-
*
|
|
58
|
+
*
|
|
59
59
|
* @default 'Slide'
|
|
60
60
|
*/
|
|
61
61
|
animationEffect?: CarouselAnimationEffect;
|
|
@@ -190,6 +190,15 @@ export interface CarouselModel extends ComponentModel{
|
|
|
190
190
|
*/
|
|
191
191
|
buttonsVisibility?: CarouselButtonVisibility;
|
|
192
192
|
|
|
193
|
+
/**
|
|
194
|
+
* Enables active slide with partial previous/next slides.
|
|
195
|
+
*
|
|
196
|
+
* Slide animation only applicable if the partialVisible is enabled.
|
|
197
|
+
*
|
|
198
|
+
* @default false
|
|
199
|
+
*/
|
|
200
|
+
partialVisible?: boolean;
|
|
201
|
+
|
|
193
202
|
/**
|
|
194
203
|
* Accepts HTML attributes/custom attributes to add in individual carousel item.
|
|
195
204
|
*
|
|
@@ -221,6 +221,14 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
|
|
|
221
221
|
* @default 'Visible'
|
|
222
222
|
*/
|
|
223
223
|
buttonsVisibility: CarouselButtonVisibility;
|
|
224
|
+
/**
|
|
225
|
+
* Enables active slide with partial previous/next slides.
|
|
226
|
+
*
|
|
227
|
+
* Slide animation only applicable if the partialVisible is enabled.
|
|
228
|
+
*
|
|
229
|
+
* @default false
|
|
230
|
+
*/
|
|
231
|
+
partialVisible: boolean;
|
|
224
232
|
/**
|
|
225
233
|
* Accepts HTML attributes/custom attributes to add in individual carousel item.
|
|
226
234
|
*
|
|
@@ -251,6 +259,7 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
|
|
|
251
259
|
protected preRender(): void;
|
|
252
260
|
protected render(): void;
|
|
253
261
|
onPropertyChanged(newProp: CarouselModel, oldProp: CarouselModel): void;
|
|
262
|
+
private reRenderSlides;
|
|
254
263
|
private initialize;
|
|
255
264
|
private renderSlides;
|
|
256
265
|
private renderSlide;
|