credcomponents
Advanced tools
Comparing version 0.1.45 to 0.1.48
@@ -1,2 +0,2 @@ | ||
var app_components;(function(){var n={90516:function(n,e,t){if(document.currentScript){const n=document.currentScript.src,e=-1===n.indexOf("?")?void 0:n.indexOf("?"),r=n.slice(0,e);t.p=r+"/../"}},13116:function(n,e,t){"use strict";var r={"./vue":function(){return t.e(725).then((function(){return function(){return t(28725)}}))},"./FileUpload":function(){return t.e(307).then((function(){return function(){return t(94307)}}))},"./MegaMenu":function(){return t.e(420).then((function(){return function(){return t(61420)}}))},"./Macro":function(){return t.e(336).then((function(){return function(){return t(19336)}}))},"./SearchBar":function(){return t.e(274).then((function(){return function(){return t(38274)}}))},"./SearchBoxWrapper":function(){return t.e(577).then((function(){return function(){return t(54577)}}))}},u=function(n,e){return t.R=e,e=t.o(r,n)?r[n]():Promise.resolve().then((function(){throw new Error('Module "'+n+'" does not exist in container.')})),t.R=void 0,e},o=function(n,e){if(t.S){var r="default",u=t.S[r];if(u&&u!==n)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[r]=n,t.I(r,e)}};t.d(e,{get:function(){return u},init:function(){return o}})}},e={};function t(r){var u=e[r];if(void 0!==u)return u.exports;var o=e[r]={exports:{}};return n[r].call(o.exports,o,o.exports,t),o.exports}t.m=n,t.c=e,function(){t.n=function(n){var e=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(e,{a:e}),e}}(),function(){t.d=function(n,e){for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})}}(),function(){t.f={},t.e=function(n){return Promise.all(Object.keys(t.f).reduce((function(e,r){return t.f[r](n,e),e}),[]))}}(),function(){t.u=function(n){return"js/"+n+"."+{221:"ad1a7e6b",253:"8b0e34ac",274:"aa52fd93",307:"d8eed303",336:"61b6f840",420:"5904e79e",538:"b01c1662",577:"4f353c08",725:"a5f27a4a",938:"aa925eb8"}[n]+".js"}}(),function(){t.miniCssF=function(n){return"css/"+n+"."+{253:"f91ac3dd",274:"f91ac3dd",307:"380b7d0e",336:"3e270ba2",420:"fcbac8c5"}[n]+".css"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"===typeof window)return window}}()}(),function(){t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)}}(),function(){var n={},e="credcomponents:";t.l=function(r,u,o,i){if(n[r])n[r].push(u);else{var f,c;if(void 0!==o)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s];if(l.getAttribute("src")==r||l.getAttribute("data-webpack")==e+o){f=l;break}}f||(c=!0,f=document.createElement("script"),f.charset="utf-8",f.timeout=120,t.nc&&f.setAttribute("nonce",t.nc),f.setAttribute("data-webpack",e+o),f.src=r),n[r]=[u];var d=function(e,t){f.onerror=f.onload=null,clearTimeout(p);var u=n[r];if(delete n[r],f.parentNode&&f.parentNode.removeChild(f),u&&u.forEach((function(n){return n(t)})),e)return e(t)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=d.bind(null,f.onerror),f.onload=d.bind(null,f.onload),c&&document.head.appendChild(f)}}}(),function(){t.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}}(),function(){var e={},r={};t.f.remotes=function(u,o){t.o(e,u)&&e[u].forEach((function(e){var u=t.R;u||(u=[]);var i=r[e];if(!(u.indexOf(i)>=0)){if(u.push(i),i.p)return o.push(i.p);var f=function(t){t||(t=new Error("Container missing")),"string"===typeof t.message&&(t.message+='\nwhile loading "'+i[1]+'" from '+i[2]),n[e]=function(){throw t},i.p=0},c=function(n,e,t,r,u,c){try{var a=n(e,t);if(!a||!a.then)return u(a,r,c);var s=a.then((function(n){return u(n,r)}),f);if(!c)return s;o.push(i.p=s)}catch(l){f(l)}},a=function(n,e,r){return n?c(t.I,i[0],0,n,s,r):f()},s=function(n,e,t){return c(e.get,i[1],u,0,l,t)},l=function(t){i.p=1,n[e]=function(n){n.exports=t()}};c(t,i[2],0,0,a,1)}}))}}(),function(){t.S={};var n={},e={};t.I=function(r,u){u||(u=[]);var o=e[r];if(o||(o=e[r]={}),!(u.indexOf(o)>=0)){if(u.push(o),n[r])return n[r];t.o(t.S,r)||(t.S[r]={});var i=t.S[r],f="credcomponents",c=function(n,e,t,r){var u=i[n]=i[n]||{},o=u[e];(!o||!o.loaded&&(!r!=!o.eager?r:f>o.from))&&(u[e]={get:t,from:f,eager:!!r})},a=[];switch(r){case"default":c("fuse.js","6.5.3",(function(){return t.e(221).then((function(){return function(){return t(74221)}}))})),c("vue-select","3.16.0",(function(){return t.e(938).then((function(){return function(){return t(19938)}}))})),c("vue","2.6.14",(function(){return t.e(538).then((function(){return function(){return t(70538)}}))}));break}return a.length?n[r]=Promise.all(a).then((function(){return n[r]=1})):n[r]=1}}}(),function(){t.p=""}(),function(){var n=function(n){var e=function(n){return n.split(".").map((function(n){return+n==n?+n:n}))},t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(n),r=t[1]?e(t[1]):[];return t[2]&&(r.length++,r.push.apply(r,e(t[2]))),t[3]&&(r.push([]),r.push.apply(r,e(t[3]))),r},e=function(e,t){e=n(e),t=n(t);for(var r=0;;){if(r>=e.length)return r<t.length&&"u"!=(typeof t[r])[0];var u=e[r],o=(typeof u)[0];if(r>=t.length)return"u"==o;var i=t[r],f=(typeof i)[0];if(o!=f)return"o"==o&&"n"==f||"s"==f||"u"==o;if("o"!=o&&"u"!=o&&u!=i)return u<i;r++}},r=function(n){var e=n[0],t="";if(1===n.length)return"*";if(e+.5){t+=0==e?">=":-1==e?"<":1==e?"^":2==e?"~":e>0?"=":"!=";for(var u=1,o=1;o<n.length;o++)u--,t+="u"==(typeof(f=n[o]))[0]?"-":(u>0?".":"")+(u=2,f);return t}var i=[];for(o=1;o<n.length;o++){var f=n[o];i.push(0===f?"not("+c()+")":1===f?"("+c()+" || "+c()+")":2===f?i.pop()+" "+i.pop():r(f))}return c();function c(){return i.pop().replace(/^\((.+)\)$/,"$1")}},u=function(e,t){if(0 in e){t=n(t);var r=e[0],o=r<0;o&&(r=-r-1);for(var i=0,f=1,c=!0;;f++,i++){var a,s,l=f<e.length?(typeof e[f])[0]:"";if(i>=t.length||"o"==(s=(typeof(a=t[i]))[0]))return!c||("u"==l?f>r&&!o:""==l!=o);if("u"==s){if(!c||"u"!=l)return!1}else if(c)if(l==s)if(f<=r){if(a!=e[f])return!1}else{if(o?a>e[f]:a<e[f])return!1;a!=e[f]&&(c=!1)}else if("s"!=l&&"n"!=l){if(o||f<=r)return!1;c=!1,f--}else{if(f<=r||s<l!=o)return!1;c=!1}else"s"!=l&&"n"!=l&&(c=!1,f--)}}var d=[],p=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?p()|p():2==h?p()&p():h?u(h,t):!p())}return!!p()},o=function(n,t){var r=n[t];return Object.keys(r).reduce((function(n,t){return!n||!r[n].loaded&&e(n,t)?t:n}),0)},i=function(n,e,t,u){return"Unsatisfied version "+t+" from "+(t&&n[e][t].from)+" of shared singleton module "+e+" (required "+r(u)+")"},f=function(n,e,t,r){var f=o(n,t);return u(r,f)||"undefined"!==typeof console&&console.warn&&console.warn(i(n,t,f,r)),c(n[t][f])},c=function(n){return n.loaded=1,n.get()},a=function(n){return function(e,r,u,o){var i=t.I(e);return i&&i.then?i.then(n.bind(n,e,t.S[e],r,u,o)):n(e,t.S[e],r,u,o)}},s=a((function(n,e,r,u,o){return e&&t.o(e,r)?f(e,n,r,u):o()})),l={},d={65184:function(){return s("default","vue",[1,2,6,10],(function(){return t.e(538).then((function(){return function(){return t(70538)}}))}))},58393:function(){return s("default","fuse.js",[1,6,5,3],(function(){return t.e(221).then((function(){return function(){return t(74221)}}))}))},63016:function(){return s("default","vue-select",[1,3,16,0],(function(){return t.e(938).then((function(){return function(){return t(19938)}}))}))}},p={253:[58393,63016],274:[58393,63016],420:[65184]};t.f.consumes=function(n,e){t.o(p,n)&&p[n].forEach((function(n){if(t.o(l,n))return e.push(l[n]);var r=function(e){l[n]=0,t.m[n]=function(r){delete t.c[n],r.exports=e()}},u=function(e){delete l[n],t.m[n]=function(r){throw delete t.c[n],e}};try{var o=d[n]();o.then?e.push(l[n]=o.then(r)["catch"](u)):r(o)}catch(i){u(i)}}))}}(),function(){var n=function(n,e,t,r){var u=document.createElement("link");u.rel="stylesheet",u.type="text/css";var o=function(o){if(u.onerror=u.onload=null,"load"===o.type)t();else{var i=o&&("load"===o.type?"missing":o.type),f=o&&o.target&&o.target.href||e,c=new Error("Loading CSS chunk "+n+" failed.\n("+f+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=f,u.parentNode.removeChild(u),r(c)}};return u.onerror=u.onload=o,u.href=e,document.head.appendChild(u),u},e=function(n,e){for(var t=document.getElementsByTagName("link"),r=0;r<t.length;r++){var u=t[r],o=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(o===n||o===e))return u}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){u=i[r],o=u.getAttribute("data-href");if(o===n||o===e)return u}},r=function(r){return new Promise((function(u,o){var i=t.miniCssF(r),f=t.p+i;if(e(i,f))return u();n(r,f,u,o)}))},u={599:0};t.f.miniCss=function(n,e){var t={253:1,274:1,307:1,336:1,420:1};u[n]?e.push(u[n]):0!==u[n]&&t[n]&&e.push(u[n]=r(n).then((function(){u[n]=0}),(function(e){throw delete u[n],e})))}}(),function(){var n={599:0};t.f.j=function(e,r){var u=t.o(n,e)?n[e]:void 0;if(0!==u)if(u)r.push(u[2]);else{var o=new Promise((function(t,r){u=n[e]=[t,r]}));r.push(u[2]=o);var i=t.p+t.u(e),f=new Error,c=function(r){if(t.o(n,e)&&(u=n[e],0!==u&&(n[e]=void 0),u)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;f.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",f.name="ChunkLoadError",f.type=o,f.request=i,u[1](f)}};t.l(i,c,"chunk-"+e,e)}};var e=function(e,r){var u,o,i=r[0],f=r[1],c=r[2],a=0;if(i.some((function(e){return 0!==n[e]}))){for(u in f)t.o(f,u)&&(t.m[u]=f[u]);if(c)c(t)}for(e&&e(r);a<i.length;a++)o=i[a],t.o(n,o)&&n[o]&&n[o][0](),n[o]=0},r=self["webpackChunkcredcomponents"]=self["webpackChunkcredcomponents"]||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))}(),t(90516);var r=t(13116);app_components=r})(); | ||
var app_components;(function(){var n={90516:function(n,e,t){if(document.currentScript){const n=document.currentScript.src,e=-1===n.indexOf("?")?void 0:n.indexOf("?"),r=n.slice(0,e);t.p=r+"/../"}},86631:function(n,e,t){"use strict";var r={"./vue":function(){return t.e(725).then((function(){return function(){return t(28725)}}))},"./UserProfile":function(){return t.e(909).then((function(){return function(){return t(51909)}}))},"./FileUpload":function(){return t.e(307).then((function(){return function(){return t(94307)}}))},"./MegaMenu":function(){return t.e(420).then((function(){return function(){return t(61420)}}))},"./Macro":function(){return t.e(336).then((function(){return function(){return t(19336)}}))},"./SearchBar":function(){return t.e(341).then((function(){return function(){return t(5341)}}))},"./vue-form-components.js":function(){return t.e(376).then((function(){return function(){return t(65376)}}))},"./Blabel":function(){return t.e(954).then((function(){return function(){return t(87954)}}))},"./SearchBoxWrapper":function(){return t.e(630).then((function(){return function(){return t(3630)}}))},"./app_components-config.js":function(){return t.e(425).then((function(){return function(){return t(32425)}}))},"./report-view-data":function(){return t.e(4).then((function(){return function(){return t(92004)}}))},"./report-css":function(){return t.e(318).then((function(){return function(){return t(8318)}}))}},u=function(n,e){return t.R=e,e=t.o(r,n)?r[n]():Promise.resolve().then((function(){throw new Error('Module "'+n+'" does not exist in container.')})),t.R=void 0,e},o=function(n,e){if(t.S){var r="default",u=t.S[r];if(u&&u!==n)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[r]=n,t.I(r,e)}};t.d(e,{get:function(){return u},init:function(){return o}})},55746:function(n){"use strict";n.exports=config}},e={};function t(r){var u=e[r];if(void 0!==u)return u.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return n[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}t.m=n,t.c=e,function(){t.n=function(n){var e=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(e,{a:e}),e}}(),function(){t.d=function(n,e){for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})}}(),function(){t.f={},t.e=function(n){return Promise.all(Object.keys(t.f).reduce((function(e,r){return t.f[r](n,e),e}),[]))}}(),function(){t.u=function(n){return"js/"+n+"."+{4:"bb3f27c6",131:"960d450d",221:"8ccb46fd",307:"71c51edd",318:"0d279af3",336:"244ff2e0",341:"e29746f7",376:"b4b60b41",420:"dcb1ec62",425:"815426ee",497:"c9dfbb3c",538:"b90f0991",630:"89e00741",703:"d9c56cc2",725:"e3bc9a7a",909:"06a8943d",936:"d31941aa",938:"49598ed4",954:"4ca037e1"}[n]+".js"}}(),function(){t.miniCssF=function(n){return"css/"+n+"."+{4:"32764a96",307:"87deff34",318:"12d1f1bf",336:"6288ae2b",341:"e0cf563f",376:"78533869",420:"13399600",703:"e0cf563f",909:"96426029",954:"234b831b"}[n]+".css"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"===typeof window)return window}}()}(),function(){t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)}}(),function(){var n={},e="credcomponents:";t.l=function(r,u,o,i){if(n[r])n[r].push(u);else{var f,c;if(void 0!==o)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s];if(l.getAttribute("src")==r||l.getAttribute("data-webpack")==e+o){f=l;break}}f||(c=!0,f=document.createElement("script"),f.charset="utf-8",f.timeout=120,t.nc&&f.setAttribute("nonce",t.nc),f.setAttribute("data-webpack",e+o),f.src=r),n[r]=[u];var d=function(e,t){f.onerror=f.onload=null,clearTimeout(p);var u=n[r];if(delete n[r],f.parentNode&&f.parentNode.removeChild(f),u&&u.forEach((function(n){return n(t)})),e)return e(t)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=d.bind(null,f.onerror),f.onload=d.bind(null,f.onload),c&&document.head.appendChild(f)}}}(),function(){t.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}}(),function(){t.nmd=function(n){return n.paths=[],n.children||(n.children=[]),n}}(),function(){var n={},e={};t.f.remotes=function(r,u){t.o(n,r)&&n[r].forEach((function(n){var r=t.R;r||(r=[]);var o=e[n];if(!(r.indexOf(o)>=0)){if(r.push(o),o.p)return u.push(o.p);var i=function(e){e||(e=new Error("Container missing")),"string"===typeof e.message&&(e.message+='\nwhile loading "'+o[1]+'" from '+o[2]),t.m[n]=function(){throw e},o.p=0},f=function(n,e,t,r,f,c){try{var a=n(e,t);if(!a||!a.then)return f(a,r,c);var s=a.then((function(n){return f(n,r)}),i);if(!c)return s;u.push(o.p=s)}catch(l){i(l)}},c=function(n,e,r){return n?f(t.I,o[0],0,n,a,r):i()},a=function(n,e,t){return f(e.get,o[1],r,0,s,t)},s=function(e){o.p=1,t.m[n]=function(n){n.exports=e()}};f(t,o[2],0,0,c,1)}}))}}(),function(){t.S={};var n={},e={};t.I=function(r,u){u||(u=[]);var o=e[r];if(o||(o=e[r]={}),!(u.indexOf(o)>=0)){if(u.push(o),n[r])return n[r];t.o(t.S,r)||(t.S[r]={});var i=t.S[r],f="credcomponents",c=function(n,e,t,r){var u=i[n]=i[n]||{},o=u[e];(!o||!o.loaded&&(!r!=!o.eager?r:f>o.from))&&(u[e]={get:t,from:f,eager:!!r})},a=[];switch(r){case"default":c("fuse.js","6.5.3",(function(){return t.e(221).then((function(){return function(){return t(74221)}}))})),c("vue-select","3.18.3",(function(){return t.e(938).then((function(){return function(){return t(19938)}}))})),c("vue","2.6.14",(function(){return t.e(538).then((function(){return function(){return t(70538)}}))}));break}return a.length?n[r]=Promise.all(a).then((function(){return n[r]=1})):n[r]=1}}}(),function(){t.p=""}(),function(){var n=function(n){var e=function(n){return n.split(".").map((function(n){return+n==n?+n:n}))},t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(n),r=t[1]?e(t[1]):[];return t[2]&&(r.length++,r.push.apply(r,e(t[2]))),t[3]&&(r.push([]),r.push.apply(r,e(t[3]))),r},e=function(e,t){e=n(e),t=n(t);for(var r=0;;){if(r>=e.length)return r<t.length&&"u"!=(typeof t[r])[0];var u=e[r],o=(typeof u)[0];if(r>=t.length)return"u"==o;var i=t[r],f=(typeof i)[0];if(o!=f)return"o"==o&&"n"==f||"s"==f||"u"==o;if("o"!=o&&"u"!=o&&u!=i)return u<i;r++}},r=function(n){var e=n[0],t="";if(1===n.length)return"*";if(e+.5){t+=0==e?">=":-1==e?"<":1==e?"^":2==e?"~":e>0?"=":"!=";for(var u=1,o=1;o<n.length;o++)u--,t+="u"==(typeof(f=n[o]))[0]?"-":(u>0?".":"")+(u=2,f);return t}var i=[];for(o=1;o<n.length;o++){var f=n[o];i.push(0===f?"not("+c()+")":1===f?"("+c()+" || "+c()+")":2===f?i.pop()+" "+i.pop():r(f))}return c();function c(){return i.pop().replace(/^\((.+)\)$/,"$1")}},u=function(e,t){if(0 in e){t=n(t);var r=e[0],o=r<0;o&&(r=-r-1);for(var i=0,f=1,c=!0;;f++,i++){var a,s,l=f<e.length?(typeof e[f])[0]:"";if(i>=t.length||"o"==(s=(typeof(a=t[i]))[0]))return!c||("u"==l?f>r&&!o:""==l!=o);if("u"==s){if(!c||"u"!=l)return!1}else if(c)if(l==s)if(f<=r){if(a!=e[f])return!1}else{if(o?a>e[f]:a<e[f])return!1;a!=e[f]&&(c=!1)}else if("s"!=l&&"n"!=l){if(o||f<=r)return!1;c=!1,f--}else{if(f<=r||s<l!=o)return!1;c=!1}else"s"!=l&&"n"!=l&&(c=!1,f--)}}var d=[],p=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?p()|p():2==h?p()&p():h?u(h,t):!p())}return!!p()},o=function(n,t){var r=n[t];return Object.keys(r).reduce((function(n,t){return!n||!r[n].loaded&&e(n,t)?t:n}),0)},i=function(n,e,t,u){return"Unsatisfied version "+t+" from "+(t&&n[e][t].from)+" of shared singleton module "+e+" (required "+r(u)+")"},f=function(n,e,t,r){var f=o(n,t);return u(r,f)||"undefined"!==typeof console&&console.warn&&console.warn(i(n,t,f,r)),c(n[t][f])},c=function(n){return n.loaded=1,n.get()},a=function(n){return function(e,r,u,o){var i=t.I(e);return i&&i.then?i.then(n.bind(n,e,t.S[e],r,u,o)):n(e,t.S[e],r,u,o)}},s=a((function(n,e,r,u,o){return e&&t.o(e,r)?f(e,n,r,u):o()})),l={},d={65184:function(){return s("default","vue",[1,2,6,10],(function(){return t.e(538).then((function(){return function(){return t(70538)}}))}))},58393:function(){return s("default","fuse.js",[1,6,5,3],(function(){return t.e(221).then((function(){return function(){return t(74221)}}))}))},63016:function(){return s("default","vue-select",[1,3,16,0],(function(){return t.e(938).then((function(){return function(){return t(19938)}}))}))}},p={4:[65184],336:[65184],341:[58393,63016,65184],376:[63016],420:[65184],703:[58393,63016,65184],909:[65184]};t.f.consumes=function(n,e){t.o(p,n)&&p[n].forEach((function(n){if(t.o(l,n))return e.push(l[n]);var r=function(e){l[n]=0,t.m[n]=function(r){delete t.c[n],r.exports=e()}},u=function(e){delete l[n],t.m[n]=function(r){throw delete t.c[n],e}};try{var o=d[n]();o.then?e.push(l[n]=o.then(r)["catch"](u)):r(o)}catch(i){u(i)}}))}}(),function(){var n=function(n,e,t,r){var u=document.createElement("link");u.rel="stylesheet",u.type="text/css";var o=function(o){if(u.onerror=u.onload=null,"load"===o.type)t();else{var i=o&&("load"===o.type?"missing":o.type),f=o&&o.target&&o.target.href||e,c=new Error("Loading CSS chunk "+n+" failed.\n("+f+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=f,u.parentNode.removeChild(u),r(c)}};return u.onerror=u.onload=o,u.href=e,document.head.appendChild(u),u},e=function(n,e){for(var t=document.getElementsByTagName("link"),r=0;r<t.length;r++){var u=t[r],o=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(o===n||o===e))return u}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){u=i[r],o=u.getAttribute("data-href");if(o===n||o===e)return u}},r=function(r){return new Promise((function(u,o){var i=t.miniCssF(r),f=t.p+i;if(e(i,f))return u();n(r,f,u,o)}))},u={599:0};t.f.miniCss=function(n,e){var t={4:1,307:1,318:1,336:1,341:1,376:1,420:1,703:1,909:1,954:1};u[n]?e.push(u[n]):0!==u[n]&&t[n]&&e.push(u[n]=r(n).then((function(){u[n]=0}),(function(e){throw delete u[n],e})))}}(),function(){var n={599:0};t.f.j=function(e,r){var u=t.o(n,e)?n[e]:void 0;if(0!==u)if(u)r.push(u[2]);else{var o=new Promise((function(t,r){u=n[e]=[t,r]}));r.push(u[2]=o);var i=t.p+t.u(e),f=new Error,c=function(r){if(t.o(n,e)&&(u=n[e],0!==u&&(n[e]=void 0),u)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;f.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",f.name="ChunkLoadError",f.type=o,f.request=i,u[1](f)}};t.l(i,c,"chunk-"+e,e)}};var e=function(e,r){var u,o,i=r[0],f=r[1],c=r[2],a=0;if(i.some((function(e){return 0!==n[e]}))){for(u in f)t.o(f,u)&&(t.m[u]=f[u]);if(c)c(t)}for(e&&e(r);a<i.length;a++)o=i[a],t.o(n,o)&&n[o]&&n[o][0](),n[o]=0},r=self["webpackChunkcredcomponents"]=self["webpackChunkcredcomponents"]||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))}(),t(90516);var r=t(86631);app_components=r})(); | ||
//# sourceMappingURL=remoteEntry.js.map |
{ | ||
"name": "credcomponents", | ||
"version": "0.1.45", | ||
"version": "0.1.48", | ||
"workspaces": [ | ||
@@ -18,4 +18,2 @@ "src/components", | ||
"lint": "vue-cli-service lint", | ||
"jsonserver": "node mock/server.js", | ||
"generateroutes": "node src/router/modules/get-routes.js", | ||
"build-bundle": "npm run build:wc & npm run build:lib", | ||
@@ -26,3 +24,7 @@ "build:lib": "vue-cli-service build --target lib --name credence ./src/index.js --dest ./lib", | ||
"styleguide": "vue-cli-service styleguidist", | ||
"styleguide:build": "vue-cli-service styleguidist:build" | ||
"styleguide:build": "vue-cli-service styleguidist:build", | ||
"json:server": "node automating.tools/json-server/server.js", | ||
"generate-routes": "npm run layout1-routes & npm run layout2-routes", | ||
"layout1-routes": "node automating.tools/route.generator/index.js --path ./src/app-component/modules/", | ||
"layout2-routes": "node automating.tools/route.generator/index.js --path ./src/app-independent/modules" | ||
}, | ||
@@ -70,3 +72,4 @@ "main": "./lib/credence.common.js", | ||
"vue-template-compiler": "^2.6.10", | ||
"vue-yandex-maps": "^0.7.9" | ||
"vue-yandex-maps": "^0.7.9", | ||
"vue2-datepicker": "^3.0.1" | ||
}, | ||
@@ -73,0 +76,0 @@ "browserslist": [ |
@@ -91,2 +91,28 @@ # Installation | ||
<credence-mega-menu-web-component></credence-mega-menu-web-component> | ||
``` | ||
``` | ||
## Each published components, directives and utility can be installed individually instead of installing all package `credcomponents`. | ||
* e.g | ||
```bash | ||
npm install @credenceanalytics/file-upload --save | ||
npm install @credenceanalytics/macro-component --save | ||
``` | ||
```js | ||
// plugin | ||
// To use Macro component you need to register it globally via plugin | ||
import Vue from 'vue' | ||
import { Macro } from '@credenceanalytics/macro-component' | ||
Vue.use(Macro, { | ||
applicationName: "<< Your appname>>", macroJSFileUrl: "<<Your path for macro file, where in custom code get executed>>" | ||
}); | ||
import { FileUpload } from "@credenceanalytics/file-upload"; | ||
import SearchBar from "@credenceanalytics/search-bar" | ||
``` |
{ | ||
"name": "@cred.components/chat", | ||
"version": "1.0.0", | ||
"name": "@credenceanalytics/chat", | ||
"version": "1.0.1", | ||
"description": "A chat template code", | ||
@@ -10,8 +10,4 @@ "main": "./Chat.vue", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC" | ||
} |
{ | ||
"name": "@cred.components/file-upload", | ||
"version": "1.0.0", | ||
"name": "@credenceanalytics/file-upload", | ||
"version": "1.0.1", | ||
"description": "A file upload component", | ||
@@ -10,8 +10,4 @@ "main": "./index.js", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC" | ||
} |
@@ -0,4 +1,36 @@ | ||
# Installation | ||
```bash | ||
npm install @credenceanalytics/file-upload --save | ||
``` | ||
## Usage | ||
```js | ||
import { | ||
FileUpload, | ||
FileUploadContainer, | ||
FileUploadGalleryItem, | ||
FileUploadList, | ||
FileUploadListItem, | ||
FileUploadSingleItem, | ||
FileUploadUndo | ||
} from '@credenceanalytics/file-upload' | ||
export default { | ||
... | ||
components: { | ||
FileUpload, | ||
FileUploadContainer, | ||
FileUploadGalleryItem, | ||
FileUploadList, | ||
FileUploadListItem, | ||
FileUploadSingleItem, | ||
FileUploadUndo | ||
} | ||
} | ||
``` | ||
Simple file upload with different type such as single, galary, list: | ||
```html | ||
```js | ||
<FileUpload type="single" v-model="file"/> | ||
@@ -26,3 +58,2 @@ <FileUpload type="galary" v-model="file"/> | ||
File Upload example which allows multiple file to upload with default view. | ||
@@ -45,3 +76,2 @@ | ||
File Upload example which allows multiple file to upload with galary view. | ||
@@ -48,0 +78,0 @@ |
{ | ||
"name": "@cred.components/macro-component", | ||
"version": "1.0.0", | ||
"name": "@credenceanalytics/macro-component", | ||
"version": "1.0.13", | ||
"description": "A macro component, custom code executor which are generated using `Macro` cred cli", | ||
"main": "./index.js", | ||
"devDependencies": { | ||
"@cred.utility/index": "1.0.0" | ||
"@credenceanalytics/utilities": "1.0.4" | ||
}, | ||
@@ -12,8 +12,4 @@ "scripts": { | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC" | ||
} |
@@ -10,3 +10,3 @@ export const props = { | ||
type: String, | ||
default: "macro-icon" | ||
default: "location-arrow" | ||
}, | ||
@@ -16,3 +16,22 @@ label: { | ||
default: "More Actions" | ||
}, | ||
labelIcon:{ | ||
type: String, | ||
default: "caret-right" | ||
}, | ||
containerWith:{ | ||
type: String, | ||
default: "14rem" | ||
}, | ||
listPosition:{ | ||
type: String, | ||
default: "left" | ||
} | ||
} | ||
} | ||
export const macroLoadFlag = function (resolve, reject) { | ||
macroLoadFlag.resolve = resolve; | ||
macroLoadFlag.reject = reject; | ||
} | ||
export const macroLoadPromise = new Promise(macroLoadFlag); |
{ | ||
"name": "@cred.components/maps", | ||
"version": "1.0.0", | ||
"name": "@credenceanalytics/maps", | ||
"version": "1.0.1", | ||
"description": "The maps", | ||
@@ -9,9 +9,4 @@ "main": "./index.js", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC", | ||
"devDependencies": { | ||
@@ -18,0 +13,0 @@ "google-maps": "^3.3.0", |
{ | ||
"name": "@cred.components/mega-menu", | ||
"version": "1.0.0", | ||
"name": "@credenceanalytics/mega-menu", | ||
"version": "1.0.3", | ||
"description": "Mega menu", | ||
"main": "./MegaMenu.vue", | ||
"devDependencies": { | ||
"@cred.utility/index": "1.0.0", | ||
"@credenceanalytics/utilities": "1.0.3", | ||
"bootstrap-vue": "^2.21.1" | ||
@@ -13,8 +13,4 @@ }, | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC" | ||
} |
{ | ||
"name": "@cred.components/index", | ||
"version": "1.0.0", | ||
"description": "A chat template code", | ||
"name": "@credenceanalytics/components", | ||
"version": "1.0.2", | ||
"description": "All available components", | ||
"module": "./index.js", | ||
"main": "./index.js", | ||
@@ -10,8 +11,3 @@ "devDependencies": {}, | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC" | ||
} |
{ | ||
"name": "@cred.components/search-bar", | ||
"version": "1.0.0", | ||
"name": "@credenceanalytics/search-bar", | ||
"version": "1.0.3", | ||
"description": "A search bar", | ||
"main": "./SearchBar.vue", | ||
"devDependencies": { | ||
"@cred.utility/index": "1.0.0", | ||
"@credenceanalytics/utilities": "1.0.3", | ||
"vue-select": "^3.16.0", | ||
@@ -14,8 +14,4 @@ "fuse.js": "^6.5.3" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC" | ||
} |
{ | ||
"name": "@cred.components/tooltip", | ||
"version": "1.0.0", | ||
"name": "@credenceanalytics/tooltip", | ||
"version": "1.0.2", | ||
"description": "Tooltip", | ||
@@ -12,8 +12,4 @@ "main": "./Tooltip.vue", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC" | ||
} |
const utility = { | ||
formatPrice(value, comma, period) { | ||
formatPrice(value, comma, period, configs) { | ||
value = value || ""; | ||
@@ -10,4 +10,3 @@ comma = comma || ','; | ||
number = number.replace(regExpr, '') | ||
if (number.length > 1) | ||
number = number.replace(/^0+/, '') | ||
if (number.length > 1 && !configs.preventCommaSepration) number = number.replace(/^0+/, ''); | ||
return number | ||
@@ -18,5 +17,8 @@ } | ||
let split = num.toString().split('.'); | ||
let numeric = convertToNumber(split[0]); | ||
let numeric = convertToNumber(split[0]); | ||
let decimal = split.length > 1 ? period + split[1] : ''; | ||
numeric = numeric.replace(/,/g, ''); | ||
if(configs.preventCommaSepration === true) | ||
return configs.preventDecimal === true ? numeric : numeric + decimal; | ||
let reg = /(\d+)(\d{3})/; | ||
@@ -26,3 +28,4 @@ while (reg.test(numeric)) { | ||
} | ||
return numeric + decimal; | ||
return configs.preventDecimal === true ? numeric : numeric + decimal; | ||
}, | ||
@@ -47,8 +50,9 @@ amountPostfix(vamount) { | ||
function addNumberMask(el, binding) { | ||
if (!el) | ||
return | ||
el.isDecimal = (binding.value && binding.value.isDecimal) || false | ||
if (!el) return; | ||
var configs = binding.value || {}; | ||
configs.preventDecimal = configs.preventDecimal === true; | ||
configs.preventCommaSepration = configs.preventCommaSepration === true; | ||
el.keyupListener = function (e) { | ||
el.value = utility.formatPrice(e.target.value, ',', '.'); | ||
// vnode.context.$emit('input', el.value) | ||
el.value = utility.formatPrice(e.target.value, ',', '.', configs); | ||
el.dispatchEvent(new Event('input')) | ||
@@ -58,12 +62,10 @@ }; | ||
e.stopPropagation() | ||
el.value = utility.unformatPrice(e.target.value); | ||
// vnode.context.$emit('input', el.value || "") | ||
el.value = utility.unformatPrice(e.target.value, configs); | ||
el.dispatchEvent(new Event('input')) | ||
}; | ||
el.focusListener = function (e) { | ||
el.value = utility.formatPrice(e.target.value, ',', '.'); | ||
el.value = utility.formatPrice(e.target.value, ',', '.', configs); | ||
}; | ||
el.onkeypressListener = function (e) { | ||
// Check if decimal is allowed if not allow it | ||
if ((el.isDecimal == true && e.charCode == 46)) { | ||
if ((configs.preventDecimal === true && e.charCode == 46)) { | ||
e.preventDefault() | ||
@@ -70,0 +72,0 @@ } |
{ | ||
"name": "@cred.directives/index", | ||
"version": "1.0.0", | ||
"description": "The directives", | ||
"name": "@credenceanalytics/directives", | ||
"version": "1.0.1", | ||
"description": "All available directives", | ||
"main": "./index.js", | ||
@@ -10,8 +10,4 @@ "devDependencies": {}, | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC" | ||
} |
@@ -10,3 +10,3 @@ const boolDP = process.env.NODE_ENV !== 'development' | ||
*/ | ||
const request = defaults => (obj) => options => { | ||
export const request = defaults => (obj) => options => { | ||
const store = (obj||{}).store; | ||
@@ -13,0 +13,0 @@ const isLoaderEnabled = options.loader == null ? true : options.loader; |
@@ -1,2 +0,2 @@ | ||
// Exports Tree shaking. | ||
export * from "./plugins" | ||
@@ -10,30 +10,131 @@ export { | ||
export { | ||
_toString, | ||
hasOwnProperty, | ||
getValueFromNestedSource, | ||
isFalsyValue, | ||
isUndef, | ||
isDef, | ||
isTrue, | ||
isFalse, | ||
isPrimitive, | ||
isRefrence, | ||
isPlainArray, | ||
isPlainObject, | ||
isRegExp, | ||
isFunction, | ||
isPromise, | ||
isValidArrayIndex, | ||
toNumber, | ||
remove, | ||
extend, | ||
hasOwn, | ||
defineAproperty, | ||
reset, | ||
toDecimal, | ||
sortArray, | ||
groupBy, | ||
mapOrder, | ||
loopMap, | ||
filter, | ||
} from './utilityfunctions.js' | ||
request, | ||
createRequester, | ||
} from './api.js' | ||
export const _toString = Object.prototype.toString; | ||
export const hasOwnProperty = Object.prototype.hasOwnProperty; | ||
export function getValueFromNestedSource(sourceObject, paths) { | ||
return paths.reduce((object, path) => { | ||
return (object || {})[path] | ||
}, sourceObject) | ||
} | ||
export const isFalsyValue = v => !!v === false; | ||
export const isUndef = v => v === undefined || v === null; | ||
export const isDef = v => v !== undefined && v !== null; | ||
export const isTrue = (v) => v === true; | ||
export const isFalse = (v) => v === false; | ||
export const isPrimitive = (value) => (typeof value === 'string' || typeof value === 'number' || typeof value === 'symbol' || typeof value === 'boolean'); | ||
export const isRefrence = (obj) => obj !== null && typeof obj === 'object'; | ||
export const isPlainArray = (arr) => _toString.call(arr) === '[object Array]'; | ||
export const isPlainObject = (obj) => _toString.call(obj) === '[object Object]'; | ||
export const isRegExp = (v) => _toString.call(v) === '[object RegExp]'; | ||
export const isFunction = (fn) => _toString.call(fn) === "[object Function]"; | ||
export const isString = (str) => _toString.call(str) === "[object String]"; | ||
export const isPromise = (val) => isDef(val) && typeof val.then === 'function' && typeof val.catch === 'function'; | ||
export const isValidArrayIndex = (val) => { | ||
var n = parseFloat(String(val)); | ||
return n >= 0 && Math.floor(n) === n && isFinite(val); | ||
} | ||
export const toNumber = (val) => { | ||
var n = parseFloat(val); | ||
return isNaN(n) ? val : n | ||
} | ||
export const remove = (arr, item) => { | ||
// remove a item from array | ||
if (arr.length) { | ||
var index = arr.indexOf(item); | ||
if (index > -1) | ||
return arr.splice(index, 1) | ||
} | ||
} | ||
export const extend = (to, _from) => { | ||
// * Mix properties into target object. | ||
for (var key in _from) | ||
to[key] = _from[key]; | ||
return to | ||
} | ||
export const hasOwn = (obj, key) => hasOwnProperty.call(obj, key); | ||
export const defineAproperty = (obj, key, val, enumerable) => { | ||
Object.defineProperty(obj, key, { | ||
value: val, | ||
enumerable: !!enumerable, | ||
writable: true, | ||
configurable: true | ||
}); | ||
} | ||
export const reset = ({ targetObject, initialObject }) => { | ||
Object.keys(targetObject).forEach(function (key) { | ||
targetObject[key] = initialObject[key]; | ||
}); | ||
} | ||
export const toDecimal = (val, decimal) => { | ||
var regExpr = /[^0-9.]/g; | ||
val = parseFloat(("" + val).replace(regExpr, '')) | ||
return (val || val === 0) ? | ||
decimal === undefined ? | ||
val : | ||
parseFloat(val.toFixed(toDecimal(decimal))) : null; | ||
} | ||
export const filter = (array, callback) => ([]).filter.call(array, callback); | ||
export const loopMap = (array, callback) => ([]).map.call(array, callback); | ||
export const mapOrder = (array, order, key) => { | ||
array.sort(function (a, b) { | ||
var A = a[key], | ||
B = b[key]; | ||
if (order.indexOf(A) > order.indexOf(B)) { | ||
return 1; | ||
} else { | ||
return -1; | ||
} | ||
}); | ||
return array; | ||
}; | ||
export const groupBy = (xs, key, defaultVal) => { | ||
return xs.reduce((rv, x) => { | ||
const DEFAULT = (typeof defaultVal === "object" | ||
&& typeof defaultVal[x[key]] === "object" | ||
&& defaultVal[x[key]]); | ||
if (DEFAULT) x[DEFAULT.key] = x[DEFAULT.key] || DEFAULT.default; | ||
(rv[x[key]] = rv[x[key]] || []).push(x); | ||
return rv; | ||
}, {}); | ||
} | ||
export const sortArray = (array, key) => [...array].sort((a, b) => a[key] - b[key]); | ||
export const debounce = function (fn, delay) { | ||
let timer; | ||
return function () { | ||
let context = this; | ||
let args = arguments; | ||
clearTimeout(timer); | ||
timer = setTimeout(() => fn.apply(context, args), delay); | ||
}; | ||
}; |
@@ -11,7 +11,5 @@ export function loadScript(src) { | ||
shouldAppend = true; | ||
el.isUpdated = true; | ||
} | ||
else if (el.hasAttribute('data-loaded')) { | ||
el.isUpdated = false; | ||
resolve(el); | ||
resolve({ initialize: shouldAppend, el }); | ||
return; | ||
@@ -22,4 +20,3 @@ } | ||
el.addEventListener('load', function loadScriptHandler() { | ||
el.setAttribute('data-loaded', true); | ||
resolve(el); | ||
resolve({ initialize: shouldAppend, el }); | ||
}); | ||
@@ -26,0 +23,0 @@ |
{ | ||
"name": "@cred.utility/index", | ||
"version": "1.0.0", | ||
"name": "@credenceanalytics/utilities", | ||
"version": "1.0.5", | ||
"description": "The utilities", | ||
@@ -10,8 +10,4 @@ "main": "./index.js", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.credenceanalytics.com/iwf/app-component.git" | ||
}, | ||
"author": "Suraj Chavan", | ||
"license": "ISC" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Vue as OurVue } from '../vue' | ||
import { Vue as OurVue } from './vue' | ||
@@ -3,0 +3,0 @@ /** |
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 not supported yet
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 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
81322248
451
254975
118
30
30