neo.mjs 5.10.9 → 5.10.10
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
@@ -20,7 +20,6 @@ class MainContainerController extends Component {
|
|
20
20
|
}
|
21
21
|
|
22
22
|
/**
|
23
|
-
*
|
24
23
|
* @param {Object} record
|
25
24
|
*/
|
26
25
|
onApiListLeafClick(record) {
|
@@ -36,11 +35,10 @@ class MainContainerController extends Component {
|
|
36
35
|
iconCls: record.singleton ? 'fa fa-arrow-alt-circle-right' : 'fa fa-copyright',
|
37
36
|
text : record.name
|
38
37
|
}
|
39
|
-
})
|
38
|
+
})
|
40
39
|
}
|
41
40
|
|
42
41
|
/**
|
43
|
-
*
|
44
42
|
* @param {Object} record
|
45
43
|
*/
|
46
44
|
onExamplesListLeafClick(record) {
|
@@ -72,7 +70,7 @@ class MainContainerController extends Component {
|
|
72
70
|
module: module.default,
|
73
71
|
id : name,
|
74
72
|
tabButtonConfig
|
75
|
-
})
|
73
|
+
})
|
76
74
|
}
|
77
75
|
);
|
78
76
|
} else {
|
@@ -95,13 +93,12 @@ class MainContainerController extends Component {
|
|
95
93
|
items,
|
96
94
|
style: {padding: '10px'},
|
97
95
|
tabButtonConfig
|
98
|
-
})
|
96
|
+
})
|
99
97
|
})
|
100
98
|
}
|
101
99
|
}
|
102
100
|
|
103
101
|
/**
|
104
|
-
*
|
105
102
|
* @param {Object} value
|
106
103
|
* @param {Object} oldValue
|
107
104
|
*/
|
@@ -135,7 +132,6 @@ class MainContainerController extends Component {
|
|
135
132
|
}
|
136
133
|
|
137
134
|
/**
|
138
|
-
*
|
139
135
|
* @param {Object} data
|
140
136
|
*/
|
141
137
|
onNavigationSearchFieldChange(data) {
|
@@ -169,7 +165,7 @@ class MainContainerController extends Component {
|
|
169
165
|
id : 'hljs-theme'
|
170
166
|
}).then(data => {
|
171
167
|
button.text = buttonText;
|
172
|
-
})
|
168
|
+
})
|
173
169
|
}
|
174
170
|
|
175
171
|
/**
|
@@ -206,7 +202,6 @@ class MainContainerController extends Component {
|
|
206
202
|
}
|
207
203
|
|
208
204
|
/**
|
209
|
-
*
|
210
205
|
* @param {Object} record
|
211
206
|
*/
|
212
207
|
onTutorialListLeafClick(record) {
|
@@ -223,7 +218,7 @@ class MainContainerController extends Component {
|
|
223
218
|
iconCls: 'fa fa-hands-helping',
|
224
219
|
text : record.name
|
225
220
|
}
|
226
|
-
})
|
221
|
+
})
|
227
222
|
}
|
228
223
|
}
|
229
224
|
|
@@ -87,14 +87,14 @@ class MainContainer extends Container {
|
|
87
87
|
iconCls : 'fa fa-check-square',
|
88
88
|
reference: 'showPrivateMembers',
|
89
89
|
style : {marginRight: '5px'},
|
90
|
-
text : 'Private'
|
90
|
+
text : 'Private'
|
91
91
|
}, {
|
92
92
|
checked : true,
|
93
93
|
handler : 'onToggleMembers',
|
94
94
|
iconCls : 'fa fa-check-square',
|
95
95
|
reference: 'showProtectedMembers',
|
96
96
|
style : {marginRight: '5px'},
|
97
|
-
text : 'Protected'
|
97
|
+
text : 'Protected'
|
98
98
|
}, {
|
99
99
|
checked : true,
|
100
100
|
handler : 'onToggleMembers',
|
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 '5.10.
|
239
|
+
* @default '5.10.10'
|
240
240
|
* @memberOf! module:Neo
|
241
241
|
* @name config.version
|
242
242
|
* @type String
|
243
243
|
*/
|
244
|
-
version: '5.10.
|
244
|
+
version: '5.10.10'
|
245
245
|
};
|
246
246
|
|
247
247
|
Object.assign(DefaultConfig, {
|
package/src/core/Base.mjs
CHANGED
@@ -370,7 +370,7 @@ class Base {
|
|
370
370
|
}
|
371
371
|
|
372
372
|
items.forEach(item => {
|
373
|
-
|
373
|
+
Object.entries(item).forEach(([key, value]) => {
|
374
374
|
if (Array.isArray(value)) {
|
375
375
|
me.parseItemConfigs(value);
|
376
376
|
} else if (typeof value === 'string' && value.startsWith('@config:')) {
|