spyne 0.17.1 → 0.18.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/README.md +0 -60
- package/karma.conf.js +5 -61
- package/lib/spyne.js +566 -1218
- package/lib/spyne.min.js +1 -1
- package/lib/spyne.min.js.LICENSE.txt +1 -1
- package/package.json +22 -15
- package/src/spyne/channels/channel-fetch-class.js +1 -4
- package/src/spyne/channels/channel-payload-class.js +8 -9
- package/src/spyne/channels/channel-proxy.js +1 -1
- package/src/spyne/channels/channel.js +3 -26
- package/src/spyne/channels/channels-config.js +0 -2
- package/src/spyne/channels/channels-map.js +1 -18
- package/src/spyne/channels/spyne-channel-lifecycle.js +1 -2
- package/src/spyne/channels/spyne-channel-route.js +7 -47
- package/src/spyne/channels/spyne-channel-ui.js +0 -2
- package/src/spyne/channels/spyne-channel-window.js +4 -54
- package/src/spyne/spyne-app.js +5 -21
- package/src/spyne/spyne-plugins.js +35 -64
- package/src/spyne/spyne.js +0 -1
- package/src/spyne/utils/channel-config-validator.js +0 -1
- package/src/spyne/utils/channel-fetch-util.js +1 -2
- package/src/spyne/utils/channel-payload-filter.js +4 -73
- package/src/spyne/utils/gc.js +1 -1
- package/src/spyne/utils/route-channel-updater.js +0 -4
- package/src/spyne/utils/spyne-app-properties.js +42 -72
- package/src/spyne/utils/spyne-plugins-methods.js +1 -9
- package/src/spyne/utils/spyne-trait.js +2 -5
- package/src/spyne/utils/spyne-utils-channel-route-url.js +1 -7
- package/src/spyne/utils/spyne-utils-channel-route.js +3 -13
- package/src/spyne/utils/spyne-utils-channel-window.js +2 -4
- package/src/spyne/utils/viewstream-observables.js +2 -3
- package/src/spyne/views/dom-element-template.js +1 -6
- package/src/spyne/views/dom-element.js +0 -19
- package/src/spyne/views/view-stream-broadcaster.js +2 -7
- package/src/spyne/views/view-stream-element.js +1 -18
- package/src/spyne/views/view-stream-payload.js +2 -69
- package/src/spyne/views/view-stream-selector.js +1 -6
- package/src/spyne/views/view-stream.js +253 -280
- package/webpack.config.js +0 -29
- package/lib/channel-action-filter.test.871939702.js +0 -20
- package/lib/channel-dom.test.2857423116.js +0 -20
- package/lib/channel-fetch-util.test.1782805723.js +0 -20
- package/lib/channel-fetch.test.3331576485.js +0 -20
- package/lib/channel-payload-class.test.99440410.js +0 -20
- package/lib/channel-payload-filter.test.2135136282.js +0 -20
- package/lib/channel-route.test.3036804306.js +0 -20
- package/lib/channel-stream-item.test.1523843610.js +0 -20
- package/lib/channel-ui.test.367398224.js +0 -20
- package/lib/channel-util-dom.test.3758627277.js +0 -20
- package/lib/channel.test.1717017712.js +0 -20
- package/lib/commons.js +0 -50372
- package/lib/dom-el-selectors.test.2633571626.js +0 -20
- package/lib/dom-el-template.test.268653142.js +0 -20
- package/lib/dom-el.test.4051977500.js +0 -20
- package/lib/frp-tools.test.3814897075.js +0 -20
- package/lib/index.test.1514915838.js +0 -20
- package/lib/plugins-methods.test.2326717190.js +0 -20
- package/lib/route-utils.test.2350761994.js +0 -20
- package/lib/runtime.js +0 -174
- package/lib/spyne-app-properties.test.96729569.js +0 -20
- package/lib/spyne-app.test.1443517996.js +0 -20
- package/lib/spyne-plugin.test.1247070970.js +0 -20
- package/lib/url-utils.test.516839067.js +0 -20
- package/lib/view-stream-broadcaster.test.934532750.js +0 -20
- package/lib/view-stream-enhancer-loader.test.2755314117.js +0 -20
- package/lib/view-stream-enhancer.test.414877881.js +0 -20
- package/lib/view-stream.test.2479353905.js +0 -20
- package/src/spyne/channels/lifestream-payload.js +0 -56
- package/src/spyne/utils/spyne-scroll-lock.js +0 -95
- package/src/spyne/views/view-stream-enhancer-loader.js +0 -70
package/webpack.config.js
CHANGED
|
@@ -8,7 +8,6 @@ const getEnv = ()=>{
|
|
|
8
8
|
}
|
|
9
9
|
const env = getEnv();
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
const libraryName = 'spyne';
|
|
13
12
|
let moduleRulesArr = [];
|
|
14
13
|
let devToolValue = 'eval-source-map';
|
|
@@ -30,7 +29,6 @@ let bannerPlugin = new webpack.BannerPlugin({
|
|
|
30
29
|
entryOnly:true
|
|
31
30
|
})
|
|
32
31
|
|
|
33
|
-
//console.log("ENVI S HERE ===========",env);
|
|
34
32
|
|
|
35
33
|
|
|
36
34
|
let spynePlugins = [loaderOptionsPlugin];
|
|
@@ -49,39 +47,13 @@ if (env === 'build') {
|
|
|
49
47
|
];
|
|
50
48
|
} else if(env === 'dev') {
|
|
51
49
|
outputFile = libraryName + '.js';
|
|
52
|
-
/* moduleRulesArr.push(
|
|
53
|
-
{
|
|
54
|
-
test: /(\.js)$/,
|
|
55
|
-
loader: 'babel-loader',
|
|
56
|
-
options: {
|
|
57
|
-
"babelrc" : false,
|
|
58
|
-
"presets": [
|
|
59
|
-
["@babel/preset-env", {
|
|
60
|
-
"targets": {
|
|
61
|
-
"ie" : 10,
|
|
62
|
-
"browsers": ["last 2 versions"]
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
"modules": false,
|
|
66
|
-
"loose": true
|
|
67
|
-
}]
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
exclude: /(node_modules)/
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
)*/
|
|
74
50
|
}
|
|
75
51
|
|
|
76
|
-
//console.log("CONFIG IS ",process.env.BABEL_ENV );
|
|
77
|
-
|
|
78
52
|
|
|
79
53
|
const config = {
|
|
80
54
|
entry: path.join(__dirname, '/src/spyne/spyne.js'),
|
|
81
55
|
devtool: false,
|
|
82
56
|
|
|
83
|
-
|
|
84
|
-
|
|
85
57
|
externals: externalsArr,
|
|
86
58
|
|
|
87
59
|
module: {
|
|
@@ -93,7 +65,6 @@ const config = {
|
|
|
93
65
|
},
|
|
94
66
|
plugins: spynePlugins
|
|
95
67
|
};
|
|
96
|
-
//console.log("ENV IS ============ ",env);
|
|
97
68
|
|
|
98
69
|
if (env!==undefined){
|
|
99
70
|
config['output'] = {
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[0],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(651)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[1],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(630)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[2],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(654)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[3],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(632)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[4],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(635)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[5],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(639)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[6],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(640)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[7],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(642)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[8],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(643)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[9],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(645)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
|
-
module.exports = factory();
|
|
5
|
-
else if(typeof define === 'function' && define.amd)
|
|
6
|
-
define("spyne", [], factory);
|
|
7
|
-
else if(typeof exports === 'object')
|
|
8
|
-
exports["spyne"] = factory();
|
|
9
|
-
else
|
|
10
|
-
root["spyne"] = factory();
|
|
11
|
-
})(self, function() {
|
|
12
|
-
return (self["webpackChunkspyne"] = self["webpackChunkspyne"] || []).push([[10],{},
|
|
13
|
-
/******/ __webpack_require__ => { // webpackRuntimeModules
|
|
14
|
-
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
15
|
-
/******/ __webpack_require__.O(0, [11], () => (__webpack_exec__(646)));
|
|
16
|
-
/******/ var __webpack_exports__ = __webpack_require__.O();
|
|
17
|
-
/******/ return __webpack_exports__;
|
|
18
|
-
/******/ }
|
|
19
|
-
]);
|
|
20
|
-
});
|