@neuronet.io/vido
Advanced tools
Comparing version 1.0.25 to 1.0.26
{ | ||
"name": "@neuronet.io/vido", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"description": "Compilation-less and eval free frontend framework for fast scalable apps.", | ||
@@ -5,0 +5,0 @@ "main": "vido.js", |
@@ -147,3 +147,3 @@ /** | ||
* http://polymer.github.io/PATENTS.txt | ||
*/function de(e){return e&&"object"==typeof e&&!Array.isArray(e)}function ue(e,...t){const n=t.shift();if(de(e)&&de(n))for(const t in n)if(de(n[t]))void 0===e[t]&&(e[t]={}),e[t]=ue(e[t],n[t]);else if(Array.isArray(n[t])){e[t]=[];for(let o of n[t])de(o)?e[t].push(ue({},{},o)):e[t].push(o)}else e[t]=n[t];return t.length?ue(e,...t):e}export default function(e,n){let o=0;const s={};let i,r,a=[],l=0;const c=Promise.resolve();function d(e){return t((function(t,n){return function(o){const s=o.committer.element;for(const o of t)if("function"==typeof o){const t=a.find(t=>t.instance===e&&t.componentAction.create===o&&t.element===s);if(t)t.props=n;else{void 0!==s.__vido__&&delete s.__vido__;const t={create:o,update(){},destroy(){}};a.push({instance:e,componentAction:t,element:s,props:n})}}}}))}const u={debug:!1,state:e,api:n,html:H,svg:F,directive:t,asyncAppend:O,asyncReplace:j,cache:q,classMap:G,guard:K,ifDefined:Q,repeat:oe,styleMap:ie,unsafeHTML:ae,until:ce,lastProps:{},actions(e,t){},onDestroy(){},onChange(e){},componentsFromDataArray(e,t,n,o){if(e.length<t.length){let s=t.length-e.length;for(;s;){const i=t[t.length-s];e.push(u.createComponent(o,n(i))),s--}}else if(e.length>t.length){let n=e.length-t.length;for(;n;){e[e.length-n].destroy(),n--}e.length=t.length}let s=0;for(const o of t)e[s].change(n(o)),s++;return e},createComponent(e,t){const n=e.name+":"+o++;let i;const r=[];let l=[];i=Object.assign(Object.assign({},u),{update:function(){u.updateTemplate(i)},onDestroy:function(e){r.push(e)},onChange:function(e){l.push(e)},instance:n,actions:d(n),lastProps:t});const c=function(e,t){return{instance:e,vidoInstance:t,destroy:()=>(t.debug&&(console.groupCollapsed(`destroying component ${e}`),console.log(ue({},{instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),u.destroyComponent(e,t)),update:()=>(t.debug&&(console.groupCollapsed(`updating component ${e}`),console.log(ue({},{instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),u.updateTemplate(t)),change(n){t.debug&&(console.groupCollapsed(`changing component ${e}`),console.log(ue({},{props:n,instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),void 0!==s[e]&&s[e].change(n,t)},html(n={}){if(void 0!==s[e])return t.debug&&(console.groupCollapsed(`html component ${e}`),console.log(ue({},{props:n,instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),s[e].update(n,t)}}}(n,i),p=e(i,t),h={instance:n,vidoInstance:i,lastProps:t,destroy(){i.debug&&(console.groupCollapsed(`component destroy method fired ${n}`),console.log(ue({},{instance:n,component:e,props:t,components:s,destroyable:r})),console.trace(),console.groupEnd());for(const e of r)e();l.length=0,r.length=0},update:t=>(i.debug&&(console.groupCollapsed(`component update method fired ${n}`),console.log(ue({},{instance:n,component:e,props:t,components:s,onChangeFunctions:l})),console.trace(),console.groupEnd()),p(t)),change(o){i.debug&&(console.groupCollapsed(`component change method fired ${n}`),console.log(ue({},{instance:n,component:e,props:t,components:s,onChangeFunctions:l,changedProps:o})),console.trace(),console.groupEnd());for(const e of l)e(o);i.lastProps=o}};return s[n]=h,s[n].change(t),i.debug&&(console.groupCollapsed(`component created ${n}`),console.log(ue({},{instance:n,component:e,props:t,components:s})),console.trace(),console.groupEnd()),c},destroyComponent(e,t){t.debug&&(console.groupCollapsed(`destroying component ${e}...`),console.log(ue({},{instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),a=a.filter(t=>(t.instance===e&&"function"==typeof t.componentAction.destroy&&t.componentAction.destroy(t.element,t.props),t.instance!==e)),void 0!==s[e]&&"function"==typeof s[e].destroy&&s[e].destroy(),delete s[e],t.debug&&(console.groupCollapsed(`component destroyed ${e}`),console.log(ue({},{components:s,actions:a})),console.trace(),console.groupEnd())},updateTemplate(e){const t=++l,n=this;c.then((function(){t===l&&(n.render(),l=0,e.debug&&(console.groupCollapsed("templates updated"),console.trace(),console.groupEnd()))}))},createApp(e,t){r=t;const n=this.createComponent(e);return i=n.instance,this.render(),n},executeActions(){for(const e of a)if(void 0===e.element.__vido__){if("function"==typeof e.componentAction.create){const t=e.componentAction.create(e.element,e.props);u.debug&&(console.groupCollapsed(`create action executed ${e.instance}`),console.log(ue({},{action:e,actions:a})),console.trace(),console.groupEnd()),void 0!==t&&("function"==typeof t.update&&(e.componentAction.update=t.update),"function"==typeof t.destroy&&(e.componentAction.destroy=t.destroy))}}else"function"==typeof e.componentAction.update&&(e.componentAction.update(e.element,e.props),u.debug&&(console.groupCollapsed(`update action executed ${e.instance}`),console.log(ue({},{action:e,actions:a})),console.trace(),console.groupEnd()));for(const e of a)e.element.__vido__={instance:e.instance,props:e.props}},render(){W(s[i].update(),r),u.executeActions()}};return u}export{ue as mergeDeep}; | ||
*/function de(e){return e&&"object"==typeof e&&!Array.isArray(e)}function ue(e,...t){const n=t.shift();if(de(e)&&de(n))for(const t in n)if(de(n[t]))void 0===e[t]&&(e[t]={}),e[t]=ue(e[t],n[t]);else if(Array.isArray(n[t])){e[t]=[];for(let o of n[t])de(o)?e[t].push(ue({},{},o)):e[t].push(o)}else e[t]=n[t];return t.length?ue(e,...t):e}export default function(e,n){let o=0;const s={};let i,r,a=[],l=0;const c=Promise.resolve();function d(e){return t((function(t,n){return function(o){const s=o.committer.element;for(const o of t)if("function"==typeof o){const t=a.find(t=>t.instance===e&&t.componentAction.create===o&&t.element===s);if(t)t.props=n;else{void 0!==s.__vido__&&delete s.__vido__;const t={create:o,update(){},destroy(){}};a.push({instance:e,componentAction:t,element:s,props:n})}}}}))}const u={debug:!1,state:e,api:n,html:H,svg:F,directive:t,asyncAppend:O,asyncReplace:j,cache:q,classMap:G,guard:K,ifDefined:Q,repeat:oe,styleMap:ie,unsafeHTML:ae,until:ce,lastProps:{},actions(e,t){},onDestroy(){},onChange(e){},componentsFromDataArray(e,t,n,o){if(e.length<t.length){let s=t.length-e.length;for(;s;){const i=t[t.length-s];e.push(u.createComponent(o,n(i))),s--}}else if(e.length>t.length){let n=e.length-t.length;for(;n;){e[e.length-n].destroy(),n--}e.length=t.length}let s=0;for(const o of t)e[s].change(n(o)),s++;return e},createComponent(e,t){const n=e.name+":"+o++;let i;const r=[];let l=[];i=Object.assign(Object.assign({},u),{update:function(){u.updateTemplate(i)},onDestroy:function(e){r.push(e)},onChange:function(e){l.push(e)},instance:n,actions:d(n),lastProps:t});const c=function(e,t){return{instance:e,vidoInstance:t,destroy:()=>(t.debug&&(console.groupCollapsed(`destroying component ${e}`),console.log(ue({},{components:s,actions:a})),console.trace(),console.groupEnd()),u.destroyComponent(e,t)),update:()=>(t.debug&&(console.groupCollapsed(`updating component ${e}`),console.log(ue({},{components:s,actions:a})),console.trace(),console.groupEnd()),u.updateTemplate(t)),change(n){t.debug&&(console.groupCollapsed(`changing component ${e}`),console.log(ue({},{props:n,components:s,actions:a})),console.trace(),console.groupEnd()),void 0!==s[e]&&s[e].change(n,t)},html(n={}){if(void 0!==s[e])return t.debug&&(console.groupCollapsed(`html component ${e}`),console.log(ue({},{props:n,components:s,actions:a})),console.trace(),console.groupEnd()),s[e].update(n,t)}}}(n,i),p=e(i,t),h={instance:n,vidoInstance:i,lastProps:t,destroy(){i.debug&&(console.groupCollapsed(`component destroy method fired ${n}`),console.log(ue({},{props:t,components:s,destroyable:r})),console.trace(),console.groupEnd());for(const e of r)e();l.length=0,r.length=0},update:e=>(i.debug&&(console.groupCollapsed(`component update method fired ${n}`),console.log(ue({},{props:e,components:s,onChangeFunctions:l})),console.trace(),console.groupEnd()),p(e)),change(e){i.debug&&(console.groupCollapsed(`component change method fired ${n}`),console.log(ue({},{props:t,components:s,onChangeFunctions:l,changedProps:e})),console.trace(),console.groupEnd());for(const t of l)t(e);i.lastProps=e}};return s[n]=h,s[n].change(t),i.debug&&(console.groupCollapsed(`component created ${n}`),console.log(ue({},{props:t,components:s,actions:a})),console.trace(),console.groupEnd()),c},destroyComponent(e,t){t.debug&&(console.groupCollapsed(`destroying component ${e}...`),console.log(ue({},{components:s,actions:a})),console.trace(),console.groupEnd()),a=a.filter(t=>(t.instance===e&&"function"==typeof t.componentAction.destroy&&t.componentAction.destroy(t.element,t.props),t.instance!==e)),void 0!==s[e]&&"function"==typeof s[e].destroy&&s[e].destroy(),delete s[e],t.debug&&(console.groupCollapsed(`component destroyed ${e}`),console.log(ue({},{components:s,actions:a})),console.trace(),console.groupEnd())},updateTemplate(e){const t=++l,n=this;c.then((function(){t===l&&(n.render(),l=0,e.debug&&(console.groupCollapsed("templates updated"),console.trace(),console.groupEnd()))}))},createApp(e,t){r=t;const n=this.createComponent(e);return i=n.instance,this.render(),n},executeActions(){for(const e of a)if(void 0===e.element.__vido__){if("function"==typeof e.componentAction.create){const t=e.componentAction.create(e.element,e.props);u.debug&&(console.groupCollapsed(`create action executed ${e.instance}`),console.log(ue({},{components:s,action:e,actions:a})),console.trace(),console.groupEnd()),void 0!==t&&("function"==typeof t.update&&(e.componentAction.update=t.update),"function"==typeof t.destroy&&(e.componentAction.destroy=t.destroy))}}else"function"==typeof e.componentAction.update&&(e.componentAction.update(e.element,e.props),u.debug&&(console.groupCollapsed(`update action executed ${e.instance}`),console.log(ue({},{components:s,action:e,actions:a})),console.trace(),console.groupEnd()));for(const e of a)e.element.__vido__={instance:e.instance,props:e.props}},render(){W(s[i].update(),r),u.executeActions()}};return u}export{ue as mergeDeep}; | ||
//# sourceMappingURL=vido.esm.min.js.map |
@@ -147,3 +147,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Vido={})}(this,(function(e){"use strict"; | ||
* http://polymer.github.io/PATENTS.txt | ||
*/function ue(e){return e&&"object"==typeof e&&!Array.isArray(e)}function pe(e,...t){const n=t.shift();if(ue(e)&&ue(n))for(const t in n)if(ue(n[t]))void 0===e[t]&&(e[t]={}),e[t]=pe(e[t],n[t]);else if(Array.isArray(n[t])){e[t]=[];for(let o of n[t])ue(o)?e[t].push(pe({},{},o)):e[t].push(o)}else e[t]=n[t];return t.length?pe(e,...t):e}e.default=function(e,t){let o=0;const s={};let i,r,a=[],l=0;const c=Promise.resolve();function d(e){return n((function(t,n){return function(o){const s=o.committer.element;for(const o of t)if("function"==typeof o){const t=a.find(t=>t.instance===e&&t.componentAction.create===o&&t.element===s);if(t)t.props=n;else{void 0!==s.__vido__&&delete s.__vido__;const t={create:o,update(){},destroy(){}};a.push({instance:e,componentAction:t,element:s,props:n})}}}}))}const u={debug:!1,state:e,api:t,html:F,svg:O,directive:n,asyncAppend:j,asyncReplace:D,cache:z,classMap:J,guard:Q,ifDefined:U,repeat:se,styleMap:re,unsafeHTML:le,until:de,lastProps:{},actions(e,t){},onDestroy(){},onChange(e){},componentsFromDataArray(e,t,n,o){if(e.length<t.length){let s=t.length-e.length;for(;s;){const i=t[t.length-s];e.push(u.createComponent(o,n(i))),s--}}else if(e.length>t.length){let n=e.length-t.length;for(;n;){e[e.length-n].destroy(),n--}e.length=t.length}let s=0;for(const o of t)e[s].change(n(o)),s++;return e},createComponent(e,t){const n=e.name+":"+o++;let i;const r=[];let l=[];i=Object.assign(Object.assign({},u),{update:function(){u.updateTemplate(i)},onDestroy:function(e){r.push(e)},onChange:function(e){l.push(e)},instance:n,actions:d(n),lastProps:t});const c=function(e,t){return{instance:e,vidoInstance:t,destroy:()=>(t.debug&&(console.groupCollapsed(`destroying component ${e}`),console.log(pe({},{instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),u.destroyComponent(e,t)),update:()=>(t.debug&&(console.groupCollapsed(`updating component ${e}`),console.log(pe({},{instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),u.updateTemplate(t)),change(n){t.debug&&(console.groupCollapsed(`changing component ${e}`),console.log(pe({},{props:n,instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),void 0!==s[e]&&s[e].change(n,t)},html(n={}){if(void 0!==s[e])return t.debug&&(console.groupCollapsed(`html component ${e}`),console.log(pe({},{props:n,instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),s[e].update(n,t)}}}(n,i),p=e(i,t),h={instance:n,vidoInstance:i,lastProps:t,destroy(){i.debug&&(console.groupCollapsed(`component destroy method fired ${n}`),console.log(pe({},{instance:n,component:e,props:t,components:s,destroyable:r})),console.trace(),console.groupEnd());for(const e of r)e();l.length=0,r.length=0},update:t=>(i.debug&&(console.groupCollapsed(`component update method fired ${n}`),console.log(pe({},{instance:n,component:e,props:t,components:s,onChangeFunctions:l})),console.trace(),console.groupEnd()),p(t)),change(o){i.debug&&(console.groupCollapsed(`component change method fired ${n}`),console.log(pe({},{instance:n,component:e,props:t,components:s,onChangeFunctions:l,changedProps:o})),console.trace(),console.groupEnd());for(const e of l)e(o);i.lastProps=o}};return s[n]=h,s[n].change(t),i.debug&&(console.groupCollapsed(`component created ${n}`),console.log(pe({},{instance:n,component:e,props:t,components:s})),console.trace(),console.groupEnd()),c},destroyComponent(e,t){t.debug&&(console.groupCollapsed(`destroying component ${e}...`),console.log(pe({},{instance:e,component:s[e],components:s,actions:a})),console.trace(),console.groupEnd()),a=a.filter(t=>(t.instance===e&&"function"==typeof t.componentAction.destroy&&t.componentAction.destroy(t.element,t.props),t.instance!==e)),void 0!==s[e]&&"function"==typeof s[e].destroy&&s[e].destroy(),delete s[e],t.debug&&(console.groupCollapsed(`component destroyed ${e}`),console.log(pe({},{components:s,actions:a})),console.trace(),console.groupEnd())},updateTemplate(e){const t=++l,n=this;c.then((function(){t===l&&(n.render(),l=0,e.debug&&(console.groupCollapsed("templates updated"),console.trace(),console.groupEnd()))}))},createApp(e,t){r=t;const n=this.createComponent(e);return i=n.instance,this.render(),n},executeActions(){for(const e of a)if(void 0===e.element.__vido__){if("function"==typeof e.componentAction.create){const t=e.componentAction.create(e.element,e.props);u.debug&&(console.groupCollapsed(`create action executed ${e.instance}`),console.log(pe({},{action:e,actions:a})),console.trace(),console.groupEnd()),void 0!==t&&("function"==typeof t.update&&(e.componentAction.update=t.update),"function"==typeof t.destroy&&(e.componentAction.destroy=t.destroy))}}else"function"==typeof e.componentAction.update&&(e.componentAction.update(e.element,e.props),u.debug&&(console.groupCollapsed(`update action executed ${e.instance}`),console.log(pe({},{action:e,actions:a})),console.trace(),console.groupEnd()));for(const e of a)e.element.__vido__={instance:e.instance,props:e.props}},render(){H(s[i].update(),r),u.executeActions()}};return u},e.mergeDeep=pe,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
*/function ue(e){return e&&"object"==typeof e&&!Array.isArray(e)}function pe(e,...t){const n=t.shift();if(ue(e)&&ue(n))for(const t in n)if(ue(n[t]))void 0===e[t]&&(e[t]={}),e[t]=pe(e[t],n[t]);else if(Array.isArray(n[t])){e[t]=[];for(let o of n[t])ue(o)?e[t].push(pe({},{},o)):e[t].push(o)}else e[t]=n[t];return t.length?pe(e,...t):e}e.default=function(e,t){let o=0;const s={};let i,r,a=[],l=0;const c=Promise.resolve();function d(e){return n((function(t,n){return function(o){const s=o.committer.element;for(const o of t)if("function"==typeof o){const t=a.find(t=>t.instance===e&&t.componentAction.create===o&&t.element===s);if(t)t.props=n;else{void 0!==s.__vido__&&delete s.__vido__;const t={create:o,update(){},destroy(){}};a.push({instance:e,componentAction:t,element:s,props:n})}}}}))}const u={debug:!1,state:e,api:t,html:F,svg:O,directive:n,asyncAppend:j,asyncReplace:D,cache:z,classMap:J,guard:Q,ifDefined:U,repeat:se,styleMap:re,unsafeHTML:le,until:de,lastProps:{},actions(e,t){},onDestroy(){},onChange(e){},componentsFromDataArray(e,t,n,o){if(e.length<t.length){let s=t.length-e.length;for(;s;){const i=t[t.length-s];e.push(u.createComponent(o,n(i))),s--}}else if(e.length>t.length){let n=e.length-t.length;for(;n;){e[e.length-n].destroy(),n--}e.length=t.length}let s=0;for(const o of t)e[s].change(n(o)),s++;return e},createComponent(e,t){const n=e.name+":"+o++;let i;const r=[];let l=[];i=Object.assign(Object.assign({},u),{update:function(){u.updateTemplate(i)},onDestroy:function(e){r.push(e)},onChange:function(e){l.push(e)},instance:n,actions:d(n),lastProps:t});const c=function(e,t){return{instance:e,vidoInstance:t,destroy:()=>(t.debug&&(console.groupCollapsed(`destroying component ${e}`),console.log(pe({},{components:s,actions:a})),console.trace(),console.groupEnd()),u.destroyComponent(e,t)),update:()=>(t.debug&&(console.groupCollapsed(`updating component ${e}`),console.log(pe({},{components:s,actions:a})),console.trace(),console.groupEnd()),u.updateTemplate(t)),change(n){t.debug&&(console.groupCollapsed(`changing component ${e}`),console.log(pe({},{props:n,components:s,actions:a})),console.trace(),console.groupEnd()),void 0!==s[e]&&s[e].change(n,t)},html(n={}){if(void 0!==s[e])return t.debug&&(console.groupCollapsed(`html component ${e}`),console.log(pe({},{props:n,components:s,actions:a})),console.trace(),console.groupEnd()),s[e].update(n,t)}}}(n,i),p=e(i,t),h={instance:n,vidoInstance:i,lastProps:t,destroy(){i.debug&&(console.groupCollapsed(`component destroy method fired ${n}`),console.log(pe({},{props:t,components:s,destroyable:r})),console.trace(),console.groupEnd());for(const e of r)e();l.length=0,r.length=0},update:e=>(i.debug&&(console.groupCollapsed(`component update method fired ${n}`),console.log(pe({},{props:e,components:s,onChangeFunctions:l})),console.trace(),console.groupEnd()),p(e)),change(e){i.debug&&(console.groupCollapsed(`component change method fired ${n}`),console.log(pe({},{props:t,components:s,onChangeFunctions:l,changedProps:e})),console.trace(),console.groupEnd());for(const t of l)t(e);i.lastProps=e}};return s[n]=h,s[n].change(t),i.debug&&(console.groupCollapsed(`component created ${n}`),console.log(pe({},{props:t,components:s,actions:a})),console.trace(),console.groupEnd()),c},destroyComponent(e,t){t.debug&&(console.groupCollapsed(`destroying component ${e}...`),console.log(pe({},{components:s,actions:a})),console.trace(),console.groupEnd()),a=a.filter(t=>(t.instance===e&&"function"==typeof t.componentAction.destroy&&t.componentAction.destroy(t.element,t.props),t.instance!==e)),void 0!==s[e]&&"function"==typeof s[e].destroy&&s[e].destroy(),delete s[e],t.debug&&(console.groupCollapsed(`component destroyed ${e}`),console.log(pe({},{components:s,actions:a})),console.trace(),console.groupEnd())},updateTemplate(e){const t=++l,n=this;c.then((function(){t===l&&(n.render(),l=0,e.debug&&(console.groupCollapsed("templates updated"),console.trace(),console.groupEnd()))}))},createApp(e,t){r=t;const n=this.createComponent(e);return i=n.instance,this.render(),n},executeActions(){for(const e of a)if(void 0===e.element.__vido__){if("function"==typeof e.componentAction.create){const t=e.componentAction.create(e.element,e.props);u.debug&&(console.groupCollapsed(`create action executed ${e.instance}`),console.log(pe({},{components:s,action:e,actions:a})),console.trace(),console.groupEnd()),void 0!==t&&("function"==typeof t.update&&(e.componentAction.update=t.update),"function"==typeof t.destroy&&(e.componentAction.destroy=t.destroy))}}else"function"==typeof e.componentAction.update&&(e.componentAction.update(e.element,e.props),u.debug&&(console.groupCollapsed(`update action executed ${e.instance}`),console.log(pe({},{components:s,action:e,actions:a})),console.trace(),console.groupEnd()));for(const e of a)e.element.__vido__={instance:e.instance,props:e.props}},render(){H(s[i].update(),r),u.executeActions()}};return u},e.mergeDeep=pe,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=vido.min.js.map |
22
vido.ts
@@ -182,3 +182,3 @@ import { render, html, directive, svg } from 'lit-html'; | ||
console.groupCollapsed(`component destroy method fired ${instance}`); | ||
console.log(mergeDeep({}, { instance, component, props, components, destroyable })); | ||
console.log(mergeDeep({}, { props, components, destroyable })); | ||
console.trace(); | ||
@@ -196,3 +196,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`component update method fired ${instance}`); | ||
console.log(mergeDeep({}, { instance, component, props, components, onChangeFunctions })); | ||
console.log(mergeDeep({}, { props, components, onChangeFunctions })); | ||
console.trace(); | ||
@@ -206,3 +206,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`component change method fired ${instance}`); | ||
console.log(mergeDeep({}, { instance, component, props, components, onChangeFunctions, changedProps })); | ||
console.log(mergeDeep({}, { props, components, onChangeFunctions, changedProps })); | ||
console.trace(); | ||
@@ -221,3 +221,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`component created ${instance}`); | ||
console.log(mergeDeep({}, { instance, component, props, components })); | ||
console.log(mergeDeep({}, { props, components, actions })); | ||
console.trace(); | ||
@@ -232,3 +232,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`destroying component ${instance}...`); | ||
console.log(mergeDeep({}, { instance, component: components[instance], components, actions })); | ||
console.log(mergeDeep({}, { components, actions })); | ||
console.trace(); | ||
@@ -287,3 +287,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`create action executed ${action.instance}`); | ||
console.log(mergeDeep({}, { action, actions })); | ||
console.log(mergeDeep({}, { components, action, actions })); | ||
console.trace(); | ||
@@ -306,3 +306,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`update action executed ${action.instance}`); | ||
console.log(mergeDeep({}, { action, actions })); | ||
console.log(mergeDeep({}, { components, action, actions })); | ||
console.trace(); | ||
@@ -332,3 +332,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`destroying component ${instance}`); | ||
console.log(mergeDeep({}, { instance, component: components[instance], components, actions })); | ||
console.log(mergeDeep({}, { components, actions })); | ||
console.trace(); | ||
@@ -342,3 +342,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`updating component ${instance}`); | ||
console.log(mergeDeep({}, { instance, component: components[instance], components, actions })); | ||
console.log(mergeDeep({}, { components, actions })); | ||
console.trace(); | ||
@@ -353,3 +353,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`changing component ${instance}`); | ||
console.log(mergeDeep({}, { props, instance, component: components[instance], components, actions })); | ||
console.log(mergeDeep({}, { props, components, actions })); | ||
console.trace(); | ||
@@ -367,3 +367,3 @@ console.groupEnd(); | ||
console.groupCollapsed(`html component ${instance}`); | ||
console.log(mergeDeep({}, { props, instance, component: components[instance], components, actions })); | ||
console.log(mergeDeep({}, { props, components, actions })); | ||
console.trace(); | ||
@@ -370,0 +370,0 @@ console.groupEnd(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
918798
5978