neo.mjs 7.3.0 → 7.4.0

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.
Files changed (38) hide show
  1. package/README.md +12 -6
  2. package/apps/ServiceWorker.mjs +2 -2
  3. package/apps/portal/index.html +1 -1
  4. package/apps/portal/resources/data/examples_devmode.json +41 -14
  5. package/apps/portal/resources/data/examples_dist_dev.json +41 -14
  6. package/apps/portal/resources/data/examples_dist_prod.json +41 -14
  7. package/apps/portal/view/blog/List.mjs +12 -14
  8. package/apps/portal/view/examples/List.mjs +152 -42
  9. package/apps/portal/view/examples/TabContainer.mjs +4 -3
  10. package/apps/portal/view/home/FooterContainer.mjs +1 -1
  11. package/examples/ServiceWorker.mjs +2 -2
  12. package/examples/table/container/MainStore.mjs +0 -6
  13. package/package.json +4 -2
  14. package/resources/scss/src/apps/portal/examples/List.scss +15 -0
  15. package/src/DefaultConfig.mjs +2 -2
  16. package/src/Main.mjs +8 -0
  17. package/src/component/Base.mjs +4 -3
  18. package/src/component/DateSelector.mjs +4 -5
  19. package/src/dialog/Base.mjs +3 -1
  20. package/src/form/field/Time.mjs +3 -2
  21. package/src/list/Base.mjs +15 -2
  22. package/src/main/DomAccess.mjs +7 -5
  23. package/src/main/DomEvents.mjs +2 -1
  24. package/src/selection/grid/CellColumnModel.mjs +1 -1
  25. package/src/selection/grid/CellColumnRowModel.mjs +2 -2
  26. package/src/selection/grid/CellModel.mjs +16 -23
  27. package/src/selection/grid/CellRowModel.mjs +1 -1
  28. package/src/selection/grid/ColumnModel.mjs +14 -8
  29. package/src/selection/grid/RowModel.mjs +15 -10
  30. package/src/selection/table/CellColumnModel.mjs +1 -1
  31. package/src/selection/table/CellColumnRowModel.mjs +1 -1
  32. package/src/selection/table/CellModel.mjs +16 -25
  33. package/src/selection/table/CellRowModel.mjs +1 -1
  34. package/src/selection/table/ColumnModel.mjs +16 -10
  35. package/src/selection/table/RowModel.mjs +14 -9
  36. package/src/table/View.mjs +2 -2
  37. package/src/worker/App.mjs +11 -0
  38. package/src/worker/ServiceBase.mjs +14 -5
package/README.md CHANGED
@@ -25,9 +25,10 @@ you have found the right spot.
25
25
  1. <a href="#introduction">Introduction</a>
26
26
  2. <a href="#use-cases">Potential Use Cases</a>
27
27
  3. <a href="#slack-channel">Slack Channel for questions & feedback</a>
28
- 4. <a href="#getting-started">Getting Started</a>
29
- 5. <a href="#cli">Command-Line Interface</a>
30
- 6. <a href="#blog">Blog</a>
28
+ 4. <a href="#examples">Examples</a>
29
+ 5. <a href="#getting-started">Getting Started</a>
30
+ 6. <a href="#cli">Command-Line Interface</a>
31
+ 7. <a href="#blog">Blog</a>
31
32
 
32
33
  </br><h2 id="introduction">1. Introduction</h2>
33
34
  Neo.mjs drives the OMT (off the main thread) paradigm into perfection,
@@ -70,16 +71,21 @@ but instead on a super-fast update & navigation experience for returning users.
70
71
  Join our community:</br>
71
72
  <a href="https://join.slack.com/t/neomjs/shared_invite/zt-6c50ueeu-3E1~M4T9xkNnb~M_prEEOA"><img src="https://img.shields.io/badge/Slack-neo.mjs-brightgreen.svg?logo=slack&style=for-the-badge" alt="Join the Slack channel"></a>
72
73
 
73
- </br><h2 id="getting-started">4. Getting Started</h2>
74
+ </br><h2 id="examples">4. Examples</h2>
75
+ Some exciting Examples are listed here: <a href="https://neomjs.com/dist/production/apps/portal/#/examples">Neo.mjs Examples</a>
76
+
77
+ Many more are included inside the repos `src/apps` & `src/examples` folders.
78
+
79
+ </br><h2 id="getting-started">5. Getting Started</h2>
74
80
  * Take a look at the <a href="./.github/GETTING_STARTED.md">Getting Started Guide</a>
75
81
  * Make sure to dive into the <a href="https://neomjs.com/dist/production/apps/portal/#/learn/gettingstarted.Setup">Learning Section</a>
76
82
  * The most advanced tutorial to help you with getting up to speed is this one:</br>
77
83
  <a href="https://neomjs.com/dist/production/apps/portal/#/learn/tutorials.Earthquakes">Earthquakes Tutorial</a>
78
84
 
79
- </br><h2 id="cli">5. Command-Line Interface</h2>
85
+ </br><h2 id="cli">6. Command-Line Interface</h2>
80
86
  You can find an in-depth description here: <a href="./buildScripts/README.md">Neo.mjs CLI</a>
81
87
 
82
- </br><h2 id="blog">6. Blog</h2>
88
+ </br><h2 id="blog">7. Blog</h2>
83
89
  All Blog Posts are listed here: <a href="https://neomjs.com/dist/production/apps/portal/#/blog">Neo.mjs Blog</a>
84
90
 
85
91
  </br></br>
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='7.3.0'
23
+ * @member {String} version='7.4.0'
24
24
  */
25
- version: '7.3.0'
25
+ version: '7.4.0'
26
26
  }
27
27
 
28
28
  /**
@@ -16,7 +16,7 @@
16
16
  "@type": "Organization",
17
17
  "name": "Neo.mjs"
18
18
  },
19
- "datePublished": "2024-09-13",
19
+ "datePublished": "2024-09-15",
20
20
  "publisher": {
21
21
  "@type": "Organization",
22
22
  "name": "Neo.mjs"
@@ -1,88 +1,115 @@
1
1
  [{
2
- "id" : 18,
2
+ "id" : 22,
3
3
  "image" : "devmode/sharedcovid.png",
4
4
  "name" : "Multi Window Covid App",
5
5
  "sharedWorkers": true,
6
6
  "sourceUrl" : "apps/sharedcovid",
7
7
  "url" : "apps/sharedcovid/index.html#mainview=table"
8
8
  }, {
9
- "id" : 17,
9
+ "id" : 21,
10
10
  "image" : "devmode/calendar-preview.png",
11
11
  "name" : "Calendar",
12
12
  "sourceUrl": "src/calendar",
13
13
  "url" : "examples/calendar/basic/index.html"
14
14
  }, {
15
- "id" : 16,
15
+ "id" : 20,
16
16
  "image" : "devmode/helix.png",
17
17
  "name" : "component.Helix",
18
18
  "sourceUrl": "examples/component/helix",
19
19
  "url" : "examples/component/helix/index.html"
20
20
  }, {
21
- "id" : 15,
21
+ "id" : 19,
22
22
  "image" : "devmode/coronaGallery.png",
23
23
  "name" : "COVID-19 Gallery",
24
24
  "sourceUrl": "examples/component/coronaGallery",
25
25
  "url" : "examples/component/coronaGallery/index.html"
26
26
  }, {
27
- "id" : 14,
27
+ "id" : 18,
28
+ "image" : "devmode/offscreenCanvas.png",
29
+ "name" : "OffscreenCanvas",
30
+ "sourceUrl": "https://github.com/neomjs/offscreen-canvas/",
31
+ "url" : "https://neomjs.github.io/pages2/workspace/neo-offscreen-canvas-demo/apps/myapp/index.html"
32
+ }, {
33
+ "id" : 17,
34
+ "image" : "devmode/sharedOffscreenCanvas.png",
35
+ "name" : "Multi-Window OffscreenCanvas",
36
+ "sourceUrl" : "https://github.com/neomjs/shared-offscreen",
37
+ "sharedWorkers": true,
38
+ "url" : "https://neomjs.github.io/pages2/workspace/neo-shared-offscreen-canvas-demo/apps/mainapp/index.html"
39
+ }, {
40
+ "id" : 16,
28
41
  "image" : "devmode/tabContainer.png",
29
42
  "name" : "tab.Container",
30
43
  "sourceUrl": "examples/tab/container",
31
44
  "url" : "examples/tab/container/index.html"
32
45
  }, {
33
- "id" : 13,
46
+ "id" : 15,
34
47
  "image" : "devmode/model-component-example.png",
35
48
  "name" : "View Models Example",
36
49
  "sourceUrl": "examples/model/advanced",
37
50
  "url" : "examples/model/advanced/index.html"
38
51
  }, {
39
- "id" : 12,
52
+ "id" : 14,
40
53
  "image" : "devmode/dragdrop.png",
41
54
  "name" : "Dialog drag&drop",
42
55
  "sourceUrl": "examples/dialog",
43
56
  "url" : "examples/dialog/"
44
57
  }, {
45
- "id" : 11,
58
+ "id" : 13,
59
+ "image" : "dist_prod/colorsApp.png",
60
+ "name" : "Colors Dashboard",
61
+ "sharedWorkers": true,
62
+ "sourceUrl" : "apps/colors",
63
+ "url" : "apps/colors/index.html"
64
+ }, {
65
+ "id" : 12,
46
66
  "image" : "devmode/covidDashboard.png",
47
67
  "name" : "Covid Dashboard",
48
68
  "sourceUrl": "apps/covid",
49
69
  "url" : "apps/covid/index.html"
50
70
  }, {
51
- "id" : 10,
71
+ "id" : 11,
52
72
  "image" : "devmode/coronaHelix.png",
53
73
  "name" : "COVID-19 Helix",
54
74
  "sourceUrl": "examples/component/coronaHelix",
55
75
  "url" : "examples/component/coronaHelix/index.html"
56
76
  }, {
57
- "id" : 9,
77
+ "id" : 10,
58
78
  "image" : "devmode/gallery.png",
59
79
  "name" : "component.Gallery",
60
80
  "sourceUrl": "examples/component/gallery",
61
81
  "url" : "examples/component/gallery/index.html"
62
82
  }, {
63
- "id" : 8,
83
+ "id" : 9,
64
84
  "image" : "devmode/tableFiltering.png",
65
85
  "name" : "Table Filtering",
66
86
  "sourceUrl": "examples/tableFiltering",
67
87
  "url" : "examples/tableFiltering/"
68
88
  }, {
69
- "id" : 7,
89
+ "id" : 8,
70
90
  "image" : "devmode/dateSelector.png",
71
91
  "name" : "component.DateSelector",
72
92
  "sourceUrl": "examples/component/dateSelector",
73
93
  "url" : "examples/component/dateSelector/index.html"
74
94
  }, {
75
- "id" : 6,
95
+ "id" : 7,
76
96
  "image" : "devmode/dateField.png",
77
97
  "name" : "form.field.Date",
78
98
  "sourceUrl": "examples/form/field/date",
79
99
  "url" : "examples/form/field/date/index.html"
80
100
  }, {
81
- "id" : 5,
101
+ "id" : 6,
82
102
  "image" : "devmode/selectField.png",
83
103
  "name" : "form.field.ComboBox",
84
104
  "sourceUrl": "examples/form/field/combobox",
85
105
  "url" : "examples/form/field/combobox/index.html"
106
+ }, {
107
+ "id" : 5,
108
+ "image" : "dist_prod/portalApp.png",
109
+ "name" : "Portal App",
110
+ "sharedWorkers": true,
111
+ "sourceUrl" : "apps/portal",
112
+ "url" : "apps/portal/index.html"
86
113
  }, {
87
114
  "id" : 4,
88
115
  "image" : "devmode/siesta.png",
@@ -1,88 +1,115 @@
1
1
  [{
2
- "id" : 17,
2
+ "id" : 21,
3
3
  "image" : "devmode/sharedcovid.png",
4
4
  "name" : "Multi Window Covid App",
5
5
  "sharedWorkers": true,
6
6
  "sourceUrl" : "apps/sharedcovid",
7
7
  "url" : "dist/development/apps/sharedcovid/index.html#mainview=table"
8
8
  }, {
9
- "id" : 16,
9
+ "id" : 20,
10
10
  "image" : "devmode/calendar-preview.png",
11
11
  "name" : "Calendar",
12
12
  "sourceUrl": "src/calendar",
13
13
  "url" : "dist/development/examples/calendar/basic/index.html"
14
14
  }, {
15
- "id" : 15,
15
+ "id" : 19,
16
16
  "image" : "devmode/helix.png",
17
17
  "name" : "component.Helix",
18
18
  "sourceUrl": "examples/component/helix",
19
19
  "url" : "dist/development/examples/component/helix/index.html"
20
20
  }, {
21
- "id" : 14,
21
+ "id" : 18,
22
22
  "image" : "devmode/coronaGallery.png",
23
23
  "name" : "COVID-19 Gallery",
24
24
  "sourceUrl": "examples/component/coronaGallery",
25
25
  "url" : "dist/development/examples/component/coronaGallery/index.html"
26
26
  }, {
27
- "id" : 13,
27
+ "id" : 17,
28
+ "image" : "devmode/offscreenCanvas.png",
29
+ "name" : "OffscreenCanvas",
30
+ "sourceUrl": "https://github.com/neomjs/offscreen-canvas/tree/main/apps/myapp",
31
+ "url" : "https://neomjs.github.io/pages2/workspace/neo-offscreen-canvas-demo/dist/development/apps/myapp/index.html"
32
+ }, {
33
+ "id" : 16,
34
+ "image" : "devmode/sharedOffscreenCanvas.png",
35
+ "name" : "Multi-Window OffscreenCanvas",
36
+ "sharedWorkers": true,
37
+ "sourceUrl" : "https://github.com/neomjs/shared-offscreen",
38
+ "url" : "https://neomjs.github.io/pages2/workspace/neo-shared-offscreen-canvas-demo/dist/development/apps/mainapp/index.html"
39
+ }, {
40
+ "id" : 15,
28
41
  "image" : "devmode/tabContainer.png",
29
42
  "name" : "tab.Container",
30
43
  "sourceUrl": "examples/tab/container",
31
44
  "url" : "dist/development/examples/tab/container/index.html"
32
45
  }, {
33
- "id" : 12,
46
+ "id" : 14,
34
47
  "image" : "devmode/model-component-example.png",
35
48
  "name" : "View Models Example",
36
49
  "sourceUrl": "examples/model/advanced",
37
50
  "url" : "dist/development/examples/model/advanced/index.html"
38
51
  }, {
39
- "id" : 11,
52
+ "id" : 13,
40
53
  "image" : "devmode/dragdrop.png",
41
54
  "name" : "Dialog drag&drop",
42
55
  "sourceUrl": "examples/dialog",
43
56
  "url" : "dist/development/examples/dialog/"
44
57
  }, {
45
- "id" : 10,
58
+ "id" : 12,
59
+ "image" : "dist_prod/colorsApp.png",
60
+ "name" : "Colors Dashboard",
61
+ "sharedWorkers": true,
62
+ "sourceUrl" : "apps/colors",
63
+ "url" : "dist/development/apps/colors/index.html"
64
+ }, {
65
+ "id" : 11,
46
66
  "image" : "devmode/covidDashboard.png",
47
67
  "name" : "Covid Dashboard",
48
68
  "sourceUrl": "apps/covid",
49
69
  "url" : "dist/development/apps/covid/index.html#mainview=table"
50
70
  }, {
51
- "id" : 9,
71
+ "id" : 10,
52
72
  "image" : "devmode/coronaHelix.png",
53
73
  "name" : "COVID-19 Helix",
54
74
  "sourceUrl": "examples/component/coronaHelix",
55
75
  "url" : "dist/development/examples/component/coronaHelix/index.html"
56
76
  }, {
57
- "id" : 8,
77
+ "id" : 9,
58
78
  "image" : "devmode/gallery.png",
59
79
  "name" : "component.Gallery",
60
80
  "sourceUrl": "examples/component/gallery",
61
81
  "url" : "dist/development/examples/component/gallery/index.html"
62
82
  }, {
63
- "id" : 7,
83
+ "id" : 8,
64
84
  "image" : "devmode/tableFiltering.png",
65
85
  "name" : "Table Filtering",
66
86
  "sourceUrl": "examples/tableFiltering",
67
87
  "url" : "dist/development/examples/tableFiltering/"
68
88
  }, {
69
- "id" : 6,
89
+ "id" : 7,
70
90
  "image" : "devmode/dateSelector.png",
71
91
  "name" : "component.DateSelector",
72
92
  "sourceUrl": "examples/component/dateSelector",
73
93
  "url" : "dist/development/examples/component/dateSelector/index.html"
74
94
  }, {
75
- "id" : 5,
95
+ "id" : 6,
76
96
  "image" : "devmode/dateField.png",
77
97
  "name" : "form.field.Date",
78
98
  "sourceUrl": "examples/form/field/date",
79
99
  "url" : "dist/development/examples/form/field/date/index.html"
80
100
  }, {
81
- "id" : 4,
101
+ "id" : 5,
82
102
  "image" : "devmode/selectField.png",
83
103
  "name" : "form.field.ComboBox",
84
104
  "sourceUrl": "examples/form/field/combobox",
85
105
  "url" : "dist/development/examples/form/field/combobox/index.html"
106
+ }, {
107
+ "id" : 4,
108
+ "image" : "dist_prod/portalApp.png",
109
+ "name" : "Portal App",
110
+ "sharedWorkers": true,
111
+ "sourceUrl" : "apps/portal",
112
+ "url" : "dist/development/apps/portal/index.html"
86
113
  }, {
87
114
  "hidden" : true,
88
115
  "id" : 3,
@@ -1,88 +1,115 @@
1
1
  [{
2
- "id" : 17,
2
+ "id" : 21,
3
3
  "image" : "devmode/sharedcovid.png",
4
4
  "name" : "Multi Window Covid App",
5
5
  "sharedWorkers": true,
6
6
  "sourceUrl" : "apps/sharedcovid",
7
7
  "url" : "dist/production/apps/sharedcovid/index.html#mainview=table"
8
8
  }, {
9
- "id" : 16,
9
+ "id" : 20,
10
10
  "image" : "devmode/calendar-preview.png",
11
11
  "name" : "Calendar",
12
12
  "sourceUrl": "src/calendar",
13
13
  "url" : "dist/production/examples/calendar/basic/index.html"
14
14
  }, {
15
- "id" : 15,
15
+ "id" : 19,
16
16
  "image" : "devmode/helix.png",
17
17
  "name" : "component.Helix",
18
18
  "sourceUrl": "examples/component/helix",
19
19
  "url" : "dist/production/examples/component/helix/index.html"
20
20
  }, {
21
- "id" : 14,
21
+ "id" : 18,
22
22
  "image" : "devmode/coronaGallery.png",
23
23
  "name" : "COVID-19 Gallery",
24
24
  "sourceUrl": "examples/component/coronaGallery",
25
25
  "url" : "dist/production/examples/component/coronaGallery/index.html"
26
26
  }, {
27
- "id" : 13,
27
+ "id" : 17,
28
+ "image" : "devmode/offscreenCanvas.png",
29
+ "name" : "OffscreenCanvas",
30
+ "sourceUrl": "https://github.com/neomjs/offscreen-canvas/tree/main/apps/myapp",
31
+ "url" : "https://neomjs.github.io/pages2/workspace/neo-offscreen-canvas-demo/dist/production/apps/myapp/index.html"
32
+ }, {
33
+ "id" : 16,
34
+ "image" : "devmode/sharedOffscreenCanvas.png",
35
+ "name" : "Multi-Window OffscreenCanvas",
36
+ "sharedWorkers": true,
37
+ "sourceUrl" : "https://github.com/neomjs/shared-offscreen",
38
+ "url" : "https://neomjs.github.io/pages2/workspace/neo-shared-offscreen-canvas-demo/dist/production/apps/mainapp/index.html"
39
+ }, {
40
+ "id" : 15,
28
41
  "image" : "devmode/tabContainer.png",
29
42
  "name" : "tab.Container",
30
43
  "sourceUrl": "examples/tab/container",
31
44
  "url" : "dist/production/examples/tab/container/index.html"
32
45
  }, {
33
- "id" : 12,
46
+ "id" : 14,
34
47
  "image" : "devmode/model-component-example.png",
35
48
  "name" : "View Models Example",
36
49
  "sourceUrl": "examples/model/advanced",
37
50
  "url" : "dist/production/examples/model/advanced/index.html"
38
51
  }, {
39
- "id" : 11,
52
+ "id" : 13,
40
53
  "image" : "devmode/dragdrop.png",
41
54
  "name" : "Dialog drag&drop",
42
55
  "sourceUrl": "examples/dialog",
43
56
  "url" : "dist/production/examples/dialog/"
44
57
  }, {
45
- "id" : 10,
58
+ "id" : 12,
59
+ "image" : "dist_prod/colorsApp.png",
60
+ "name" : "Colors Dashboard",
61
+ "sharedWorkers": true,
62
+ "sourceUrl" : "apps/colors",
63
+ "url" : "dist/production/apps/colors/index.html"
64
+ }, {
65
+ "id" : 11,
46
66
  "image" : "devmode/covidDashboard.png",
47
67
  "name" : "Covid Dashboard",
48
68
  "sourceUrl": "apps/covid",
49
69
  "url" : "dist/production/apps/covid/index.html#mainview=table"
50
70
  }, {
51
- "id" : 9,
71
+ "id" : 10,
52
72
  "image" : "devmode/coronaHelix.png",
53
73
  "name" : "COVID-19 Helix",
54
74
  "sourceUrl": "examples/component/coronaHelix",
55
75
  "url" : "dist/production/examples/component/coronaHelix/index.html"
56
76
  }, {
57
- "id" : 8,
77
+ "id" : 9,
58
78
  "image" : "devmode/gallery.png",
59
79
  "name" : "component.Gallery",
60
80
  "sourceUrl": "examples/component/gallery",
61
81
  "url" : "dist/production/examples/component/gallery/index.html"
62
82
  }, {
63
- "id" : 7,
83
+ "id" : 8,
64
84
  "image" : "devmode/tableFiltering.png",
65
85
  "name" : "Table Filtering",
66
86
  "sourceUrl": "examples/tableFiltering",
67
87
  "url" : "dist/production/examples/tableFiltering/"
68
88
  }, {
69
- "id" : 6,
89
+ "id" : 7,
70
90
  "image" : "devmode/dateSelector.png",
71
91
  "name" : "component.DateSelector",
72
92
  "sourceUrl": "examples/component/dateSelector",
73
93
  "url" : "dist/production/examples/component/dateSelector/index.html"
74
94
  }, {
75
- "id" : 5,
95
+ "id" : 6,
76
96
  "image" : "devmode/dateField.png",
77
97
  "name" : "form.field.Date",
78
98
  "sourceUrl": "examples/form/field/date",
79
99
  "url" : "dist/production/examples/form/field/date/index.html"
80
100
  }, {
81
- "id" : 4,
101
+ "id" : 5,
82
102
  "image" : "devmode/selectField.png",
83
103
  "name" : "form.field.ComboBox",
84
104
  "sourceUrl": "examples/form/field/combobox",
85
105
  "url" : "dist/production/examples/form/field/combobox/index.html"
106
+ }, {
107
+ "id" : 4,
108
+ "image" : "dist_prod/portalApp.png",
109
+ "name" : "Portal App",
110
+ "sharedWorkers": true,
111
+ "sourceUrl" : "apps/portal",
112
+ "url" : "dist/production/apps/portal/index.html"
86
113
  }, {
87
114
  "hidden" : true,
88
115
  "id" : 3,
@@ -54,9 +54,9 @@ class List extends BaseList {
54
54
  }
55
55
 
56
56
  /**
57
- * @member {String} basePath
57
+ * @member {String} imageBasePath
58
58
  */
59
- get basePath() {
59
+ get imageBasePath() {
60
60
  let basePath;
61
61
 
62
62
  if (Neo.config.isGitHubPages) {
@@ -114,20 +114,18 @@ class List extends BaseList {
114
114
  * @param {Object} record
115
115
  */
116
116
  createItemContent(record) {
117
- let {basePath} = this;
117
+ let {imageBasePath} = this;
118
118
 
119
119
  const vdomCn = [
120
120
  {cls: ['content'], data: {recordId: record.id}, cn: [
121
121
  {cls: ['neo-relative'], cn: [
122
- {cls: ['neo-full-size', 'preview-image'], flag: `image-${record.id}`
123
- //backgroundImage: `url('${basePath}/blog/${record.image}'), linear-gradient(#777, #333)`
124
- },
122
+ {cls: ['neo-full-size', 'preview-image'], flag: `image-${record.id}`},
125
123
  {cls: ['neo-absolute', 'neo-item-bottom-position'], cn: [
126
124
  {tag: 'a', cls: ['neo-title'], href: record.url, target: '_blank', cn: [
127
125
  {flag: 'name', html: record.name.replace(List.nameRegEx, "$1")}
128
126
  ]},
129
127
  {cls: ['neo-top-20'], cn: [
130
- {tag: 'img', cls: ['neo-user-image'], src: `${basePath}/blogAuthor/${record.authorImage}`},
128
+ {tag: 'img', cls: ['neo-user-image'], src: `${imageBasePath}/blogAuthor/${record.authorImage}`},
131
129
  {cls: ['neo-inner-content'], cn: [
132
130
  {cls: ['neo-inner-details'], flag: 'author', cn: [
133
131
  {tag: 'span', cls: ['neo-bold'], html: record.author}
@@ -216,12 +214,12 @@ class List extends BaseList {
216
214
  * @param {Object} data
217
215
  */
218
216
  onIntersect(data) {
219
- let me = this,
220
- {basePath, store} = me,
221
- record = store.get(parseInt(data.data.recordId)),
222
- i = store.indexOf(record),
223
- len = Math.min(i + me.preloadImages, store.getCount()),
224
- needsUpdate = false,
217
+ let me = this,
218
+ {imageBasePath, store} = me,
219
+ record = store.get(parseInt(data.data.recordId)),
220
+ i = store.indexOf(record),
221
+ len = Math.min(i + me.preloadImages, store.getCount()),
222
+ needsUpdate = false,
225
223
  node;
226
224
 
227
225
  for (; i < len; i++) {
@@ -231,7 +229,7 @@ class List extends BaseList {
231
229
  needsUpdate = true;
232
230
 
233
231
  node.style = {
234
- backgroundImage: `url('${basePath}/blog/${record.image}'), linear-gradient(#777, #333)`
232
+ backgroundImage: `url('${imageBasePath}/blog/${record.image}'), linear-gradient(#777, #333)`
235
233
  }
236
234
  }
237
235
  }