neo.mjs 4.0.18 → 4.0.21

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.
@@ -221,10 +221,18 @@ if (programOpts.info) {
221
221
  " */",
222
222
  "class MainContainer extends Viewport {",
223
223
  " static getConfig() {return {",
224
+ " /*",
225
+ " * @member {String} className='" + appName + ".view.MainContainer'",
226
+ " * @protected",
227
+ " */",
224
228
  " className: '" + appName + ".view.MainContainer',",
229
+ " /*",
230
+ " * @member {Boolean} autoMount=true",
231
+ " */",
225
232
  " autoMount: true,",
226
- " layout : {ntype: 'fit'},",
227
- "",
233
+ " /*",
234
+ " * @member {Object[]} items",
235
+ " */",
228
236
  " items: [{",
229
237
  " module: TabContainer,",
230
238
  " height: 300,",
@@ -250,7 +258,11 @@ if (programOpts.info) {
250
258
  " },",
251
259
  " vdom: {innerHTML: 'Have fun creating something awesome!'}",
252
260
  " }]",
253
- " }]",
261
+ " }],",
262
+ " /*",
263
+ " * @member {Object} layout={ntype:'fit'}",
264
+ " */",
265
+ " layout: {ntype: 'fit'}",
254
266
  " }}",
255
267
  "}",
256
268
  "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "4.0.18",
3
+ "version": "4.0.21",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -35,8 +35,8 @@
35
35
  "homepage": "https://neomjs.github.io/pages/",
36
36
  "dependencies": {
37
37
  "@fortawesome/fontawesome-free": "^6.1.1",
38
- "@material/mwc-button": "0.25.3",
39
- "@material/mwc-textfield": "0.25.3",
38
+ "@material/mwc-button": "^0.26.1",
39
+ "@material/mwc-textfield": "^0.26.1",
40
40
  "autoprefixer": "^10.4.7",
41
41
  "chalk": "^5.0.1",
42
42
  "clean-webpack-plugin": "^4.0.0",
@@ -50,7 +50,7 @@
50
50
  "neo-jsdoc-x": "^1.0.4",
51
51
  "postcss": "^8.4.13",
52
52
  "sass": "^1.51.0",
53
- "webpack": "^5.72.0",
53
+ "webpack": "^5.72.1",
54
54
  "webpack-cli": "^4.9.2",
55
55
  "webpack-dev-server": "4.9.0",
56
56
  "webpack-hook-plugin": "^1.0.7",
package/src/Neo.mjs CHANGED
@@ -396,7 +396,7 @@ Neo = globalThis.Neo = Object.assign({
396
396
  },
397
397
 
398
398
  /**
399
- * Maps a className string into a global namespace
399
+ * Maps a className string into a given or global namespace
400
400
  * @example
401
401
  * Neo.ns('Neo.button.Base', true);
402
402
  * // =>
@@ -336,7 +336,7 @@ class Store extends Base {
336
336
  params.url = me.url;
337
337
 
338
338
  Neo.Xhr.promiseJson({
339
- url: params
339
+ url: params.url
340
340
  }).catch(err => {
341
341
  console.log('Error for Neo.Xhr.request', err, me.id);
342
342
  }).then(data => {
@@ -49,7 +49,7 @@ class Mwc extends Base {
49
49
  if (Neo.config.environment === 'development') {
50
50
  import(
51
51
  /* webpackIgnore: true */
52
- 'https://unpkg.com/@material/mwc-button@0.23.0-canary.78b1eaac.0/mwc-button.js?module'
52
+ 'https://unpkg.com/@material/mwc-button@0.26.1/mwc-button.js?module'
53
53
  );
54
54
  } else {
55
55
  // dist/development & dist/production
@@ -64,7 +64,7 @@ class Mwc extends Base {
64
64
  if (Neo.config.environment === 'development') {
65
65
  import(
66
66
  /* webpackIgnore: true */
67
- 'https://unpkg.com/@material/mwc-textfield@0.23.0-canary.fe7cca31.0/mwc-textfield.js?module'
67
+ 'https://unpkg.com/@material/mwc-textfield@0.26.1/mwc-textfield.js?module'
68
68
  );
69
69
  } else {
70
70
  // dist/development & dist/production