neo.mjs 6.10.5 → 6.10.6
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/apps/ServiceWorker.mjs
CHANGED
package/package.json
CHANGED
package/src/DefaultConfig.mjs
CHANGED
@@ -236,12 +236,12 @@ const DefaultConfig = {
|
|
236
236
|
useVdomWorker: true,
|
237
237
|
/**
|
238
238
|
* buildScripts/injectPackageVersion.mjs will update this value
|
239
|
-
* @default '6.10.
|
239
|
+
* @default '6.10.6'
|
240
240
|
* @memberOf! module:Neo
|
241
241
|
* @name config.version
|
242
242
|
* @type String
|
243
243
|
*/
|
244
|
-
version: '6.10.
|
244
|
+
version: '6.10.6'
|
245
245
|
};
|
246
246
|
|
247
247
|
Object.assign(DefaultConfig, {
|
package/src/model/Component.mjs
CHANGED
@@ -494,7 +494,11 @@ class Component extends Base {
|
|
494
494
|
let me = this,
|
495
495
|
data, keyLeaf, parentModel, scope;
|
496
496
|
|
497
|
-
if (Neo.isObject(
|
497
|
+
if (Neo.isObject(value)) {
|
498
|
+
Object.entries(value).forEach(([dataKey, dataValue]) => {
|
499
|
+
me.internalSetData(`${key}.${dataKey}`, dataValue, originModel)
|
500
|
+
})
|
501
|
+
} else if (Neo.isObject(key)) {
|
498
502
|
Object.entries(key).forEach(([dataKey, dataValue]) => {
|
499
503
|
me.internalSetData(dataKey, dataValue, originModel)
|
500
504
|
})
|
@@ -559,8 +563,8 @@ class Component extends Base {
|
|
559
563
|
|
560
564
|
Object.entries(binding).forEach(([componentId, configObject]) => {
|
561
565
|
component = Neo.getComponent(componentId) || Neo.get(componentId); // timing issue: the cmp might not be registered inside manager.Component yet
|
562
|
-
config
|
563
|
-
model
|
566
|
+
config = {};
|
567
|
+
model = component.getModel();
|
564
568
|
|
565
569
|
if (!hierarchyData[model.id]) {
|
566
570
|
hierarchyData[model.id] = model.getHierarchyData()
|