@progress/kendo-react-layout 4.14.0-dev.202201141235 → 4.14.1
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.
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-layout',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1642516530,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/es/panelbar/util.js
CHANGED
|
@@ -118,13 +118,12 @@ export function flatVisibleItems(data, flattedItems) {
|
|
|
118
118
|
* @hidden
|
|
119
119
|
*/
|
|
120
120
|
export function flatChildren(children, flattenChildren) {
|
|
121
|
-
var _this = this;
|
|
122
121
|
if (flattenChildren === void 0) { flattenChildren = []; }
|
|
123
122
|
React.Children.forEach(children, function (child) {
|
|
124
123
|
if (child && child.props && !child.props.disabled) {
|
|
125
124
|
flattenChildren.push(child);
|
|
126
125
|
if (child.props.children) {
|
|
127
|
-
|
|
126
|
+
flatChildren(child.props.children, flattenChildren);
|
|
128
127
|
}
|
|
129
128
|
}
|
|
130
129
|
});
|
|
@@ -135,13 +134,12 @@ export function flatChildren(children, flattenChildren) {
|
|
|
135
134
|
* @hidden
|
|
136
135
|
*/
|
|
137
136
|
export function flatVisibleChildren(children, flattenVisibleChildren) {
|
|
138
|
-
var _this = this;
|
|
139
137
|
if (flattenVisibleChildren === void 0) { flattenVisibleChildren = []; }
|
|
140
138
|
React.Children.forEach(children, function (child) {
|
|
141
139
|
if (child && child.props && !child.props.disabled && (child.props.expanded || child.props.parentExpanded)) {
|
|
142
140
|
flattenVisibleChildren.push(child);
|
|
143
141
|
if (child.props.children) {
|
|
144
|
-
|
|
142
|
+
flatVisibleChildren(child.props.children, flattenVisibleChildren);
|
|
145
143
|
}
|
|
146
144
|
}
|
|
147
145
|
});
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-layout',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1642516530,
|
|
11
11
|
version: '',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
};
|
|
@@ -121,13 +121,12 @@ exports.flatVisibleItems = flatVisibleItems;
|
|
|
121
121
|
* @hidden
|
|
122
122
|
*/
|
|
123
123
|
function flatChildren(children, flattenChildren) {
|
|
124
|
-
var _this = this;
|
|
125
124
|
if (flattenChildren === void 0) { flattenChildren = []; }
|
|
126
125
|
React.Children.forEach(children, function (child) {
|
|
127
126
|
if (child && child.props && !child.props.disabled) {
|
|
128
127
|
flattenChildren.push(child);
|
|
129
128
|
if (child.props.children) {
|
|
130
|
-
|
|
129
|
+
flatChildren(child.props.children, flattenChildren);
|
|
131
130
|
}
|
|
132
131
|
}
|
|
133
132
|
});
|
|
@@ -139,13 +138,12 @@ exports.flatChildren = flatChildren;
|
|
|
139
138
|
* @hidden
|
|
140
139
|
*/
|
|
141
140
|
function flatVisibleChildren(children, flattenVisibleChildren) {
|
|
142
|
-
var _this = this;
|
|
143
141
|
if (flattenVisibleChildren === void 0) { flattenVisibleChildren = []; }
|
|
144
142
|
React.Children.forEach(children, function (child) {
|
|
145
143
|
if (child && child.props && !child.props.disabled && (child.props.expanded || child.props.parentExpanded)) {
|
|
146
144
|
flattenVisibleChildren.push(child);
|
|
147
145
|
if (child.props.children) {
|
|
148
|
-
|
|
146
|
+
flatVisibleChildren(child.props.children, flattenVisibleChildren);
|
|
149
147
|
}
|
|
150
148
|
}
|
|
151
149
|
});
|