neo.mjs 4.3.28 → 4.3.30
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.
@@ -47,7 +47,10 @@ class FooterContainer extends Container {
|
|
47
47
|
}, {
|
48
48
|
flex: 1
|
49
49
|
}, {
|
50
|
-
html :
|
50
|
+
html : [
|
51
|
+
'Country Flag Icons made by <a target="_blank" href="https://www.flaticon.com/authors/freepik" title="Freepik">',
|
52
|
+
'Freepik</a> from <a target="_blank" href="https://www.flaticon.com/" title="Flaticon"> www.flaticon.com</a>.'
|
53
|
+
].join('')
|
51
54
|
}, {
|
52
55
|
ntype : 'button',
|
53
56
|
cls : ['neo-button'],
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "neo.mjs",
|
3
|
-
"version": "4.3.
|
3
|
+
"version": "4.3.30",
|
4
4
|
"description": "The webworkers driven UI framework",
|
5
5
|
"type": "module",
|
6
6
|
"repository": {
|
@@ -56,7 +56,7 @@
|
|
56
56
|
"neo-jsdoc": "^1.0.1",
|
57
57
|
"neo-jsdoc-x": "^1.0.4",
|
58
58
|
"postcss": "^8.4.20",
|
59
|
-
"sass": "^1.
|
59
|
+
"sass": "^1.57.0",
|
60
60
|
"webpack": "^5.75.0",
|
61
61
|
"webpack-cli": "^5.0.1",
|
62
62
|
"webpack-dev-server": "4.11.1",
|
package/src/container/Base.mjs
CHANGED
package/src/list/Base.mjs
CHANGED
@@ -305,7 +305,7 @@ class Base extends Component {
|
|
305
305
|
selectionModel = me.selectionModel,
|
306
306
|
item;
|
307
307
|
|
308
|
-
isHeader && cls.push('neo-header');
|
308
|
+
isHeader && cls.push('neo-list-header');
|
309
309
|
|
310
310
|
if (!me.disableSelection && selectionModel) {
|
311
311
|
if (selectionModel.isSelected(itemId)) {
|
@@ -509,9 +509,12 @@ class Base extends Component {
|
|
509
509
|
* @param {Object} data
|
510
510
|
*/
|
511
511
|
onItemClick(node, data) {
|
512
|
-
let me
|
512
|
+
let me = this,
|
513
|
+
record = me.store.get(me.getItemRecordId(node.id));
|
513
514
|
|
514
|
-
!me.disableSelection && me.
|
515
|
+
if (!me.disableSelection && (!me.useHeaders || !record.isHeader)) {
|
516
|
+
me.selectionModel?.select(node.id);
|
517
|
+
}
|
515
518
|
|
516
519
|
/**
|
517
520
|
* The itemClick event fires when a click occurs on a list item
|
@@ -519,7 +522,7 @@ class Base extends Component {
|
|
519
522
|
* @param {String} id the record matching the list item
|
520
523
|
* @returns {Object}
|
521
524
|
*/
|
522
|
-
me.fire('itemClick',
|
525
|
+
me.fire('itemClick', record);
|
523
526
|
}
|
524
527
|
|
525
528
|
/**
|
package/src/model/Component.mjs
CHANGED
@@ -438,7 +438,7 @@ class Component extends Base {
|
|
438
438
|
parentModel = me.getParent();
|
439
439
|
|
440
440
|
if (!parentModel) {
|
441
|
-
console.error(`store '${key}' found inside this model or parents.`, originModel);
|
441
|
+
console.error(`store '${key}' not found inside this model or parents.`, originModel);
|
442
442
|
}
|
443
443
|
|
444
444
|
return parentModel.getStore(key, originModel);
|