neo.mjs 6.9.2 → 6.9.3
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.9.
|
239
|
+
* @default '6.9.3'
|
240
240
|
* @memberOf! module:Neo
|
241
241
|
* @name config.version
|
242
242
|
* @type String
|
243
243
|
*/
|
244
|
-
version: '6.9.
|
244
|
+
version: '6.9.3'
|
245
245
|
};
|
246
246
|
|
247
247
|
Object.assign(DefaultConfig, {
|
@@ -134,6 +134,15 @@ class Component extends Base {
|
|
134
134
|
return component || null
|
135
135
|
}
|
136
136
|
|
137
|
+
/**
|
138
|
+
* Convenience shortcut for accessing model.Component based data.Stores
|
139
|
+
* @param {String} key
|
140
|
+
* @returns {Neo.data.Store}
|
141
|
+
*/
|
142
|
+
getStore(key) {
|
143
|
+
return this.getModel().getStore(key)
|
144
|
+
}
|
145
|
+
|
137
146
|
/**
|
138
147
|
* Override this method inside your view controllers as a starting point in case you need references
|
139
148
|
* (instead of using onConstructed() inside your controller)
|
@@ -661,12 +661,13 @@ class Select extends Picker {
|
|
661
661
|
autocomplete: 'no',
|
662
662
|
autocorrect : 'off',
|
663
663
|
cls : ['neo-textfield-input', 'neo-typeahead-input'],
|
664
|
+
disabled : true,
|
664
665
|
id : me.getInputHintId(),
|
665
666
|
spellcheck : 'false'
|
666
667
|
}, inputEl.vdom]
|
667
668
|
}
|
668
669
|
} else {
|
669
|
-
VDomUtil.replaceVdomChild(vdom, inputEl.parentNode.id, inputEl.vdom)
|
670
|
+
VDomUtil.replaceVdomChild(vdom, inputEl.parentNode.id, inputEl.vdom)
|
670
671
|
}
|
671
672
|
|
672
673
|
!silent && me.update()
|
package/src/model/Component.mjs
CHANGED
@@ -458,7 +458,7 @@ class Component extends Base {
|
|
458
458
|
* Access the closest store inside the VM parent chain.
|
459
459
|
* @param {String} key
|
460
460
|
* @param {Neo.model.Component} originModel=this for internal usage only
|
461
|
-
* @returns {
|
461
|
+
* @returns {Neo.data.Store}
|
462
462
|
*/
|
463
463
|
getStore(key, originModel=this) {
|
464
464
|
let me = this,
|