coer-elements 0.0.31 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- package/components/lib/coer-button/coer-button.component.d.ts +1 -1
- package/components/lib/coer-numberbox/coer-numberbox.component.d.ts +1 -1
- package/components/lib/coer-textarea/coer-textarea.component.d.ts +1 -1
- package/components/lib/coer-textbox/coer-textbox.component.d.ts +1 -1
- package/esm2022/components/lib/coer-sidenav/coer-sidenav.component.mjs +2 -2
- package/esm2022/components/lib/coer-sidenav/coer-tree-accordion/coer-tree-accordion.component.mjs +3 -2
- package/esm2022/tools/lib/service.class.mjs +288 -128
- package/fesm2022/coer-elements-components.mjs +2 -2
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +287 -127
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/coer-elements.css +1 -3
- package/styles/containers.scss +2 -2
- package/tools/lib/service.class.d.ts +5 -5
@@ -2504,7 +2504,7 @@ class CoerTreeAccordion {
|
|
2504
2504
|
|| (this.isCollapsed && element.classList.contains('active-link'));
|
2505
2505
|
};
|
2506
2506
|
/** */
|
2507
|
-
this.IsMenu = (item) => item.hasOwnProperty('items');
|
2507
|
+
this.IsMenu = (item) => item.hasOwnProperty('items') && Tools.IsNotOnlyWhiteSpace(item.items);
|
2508
2508
|
}
|
2509
2509
|
get _tree() {
|
2510
2510
|
return [...this.tree].concat([{ ...this.item }]);
|
@@ -2621,7 +2621,7 @@ class CoerSidenav {
|
|
2621
2621
|
this.sidenav = viewChild.required('matSidenav');
|
2622
2622
|
this.menuList = viewChildren(CoerTreeAccordion);
|
2623
2623
|
/** */
|
2624
|
-
this.IsMenu = (item) => item.hasOwnProperty('items');
|
2624
|
+
this.IsMenu = (item) => item.hasOwnProperty('items') && Tools.IsNotOnlyWhiteSpace(item.items);
|
2625
2625
|
/** */
|
2626
2626
|
this.GetIcon = (item) => {
|
2627
2627
|
if (item && item.hasOwnProperty('icon') && item.icon.length > 0) {
|