@usecsv/vuejs 1.1.16 → 1.1.19
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/dist/UseCSVButton.esm.js +12 -8
- package/dist/UseCSVButton.min.js +2 -2
- package/dist/UseCSVButton.ssr.js +15 -11
- package/dist/types/src/UseCSVButton.vue.d.ts +2 -0
- package/package.json +5 -5
- package/src/UseCSVButton.vue +4 -0
- package/CHANGELOG.md +0 -146
package/dist/UseCSVButton.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Vue from 'vue';
|
|
2
2
|
|
|
3
3
|
/*!
|
|
4
|
-
* @usecsv/js v0.
|
|
4
|
+
* @usecsv/js v0.12.0
|
|
5
5
|
* (c) layercode
|
|
6
6
|
* Released under the MIT License.
|
|
7
7
|
*/
|
|
@@ -601,7 +601,7 @@ var insertIframe = function (id, importerDisplay) {
|
|
|
601
601
|
return iframe;
|
|
602
602
|
};
|
|
603
603
|
var useCsvPlugin = function (_a) {
|
|
604
|
-
var importerKey = _a.importerKey, user = _a.user, metadata = _a.metadata, onData = _a.onData, onRecordsInitial = _a.onRecordsInitial, onRecordEdit = _a.onRecordEdit, _b = _a.importerDisplay, importerDisplay = _b === void 0 ? "modal" : _b, onClose = _a.onClose;
|
|
604
|
+
var importerKey = _a.importerKey, user = _a.user, metadata = _a.metadata, onData = _a.onData, onRecordsInitial = _a.onRecordsInitial, onRecordEdit = _a.onRecordEdit, _b = _a.importerDisplay, importerDisplay = _b === void 0 ? "modal" : _b, onClose = _a.onClose, theme = _a.theme, batchSize = _a.batchSize;
|
|
605
605
|
var id = "usecsv-".concat(Math.round(Math.random() * 100000000));
|
|
606
606
|
return whenDomReady().then(function () {
|
|
607
607
|
var iframe = insertIframe(id, importerDisplay);
|
|
@@ -633,7 +633,7 @@ var useCsvPlugin = function (_a) {
|
|
|
633
633
|
var _a;
|
|
634
634
|
(_a = document.getElementById(id)) === null || _a === void 0 ? void 0 : _a.classList.remove("loading");
|
|
635
635
|
// eslint-disable-next-line dot-notation
|
|
636
|
-
child["setParams"] && child["setParams"]({ importerKey: importerKey, user: user, metadata: metadata, importerDisplay: importerDisplay });
|
|
636
|
+
child["setParams"] && child["setParams"]({ importerKey: importerKey, user: user, metadata: metadata, importerDisplay: importerDisplay, theme: theme, batchSize: batchSize });
|
|
637
637
|
});
|
|
638
638
|
return iframeConnection;
|
|
639
639
|
});
|
|
@@ -649,7 +649,9 @@ var script = /*#__PURE__*/Vue.extend({
|
|
|
649
649
|
importerDisplay: {},
|
|
650
650
|
onRecordsInitial: {},
|
|
651
651
|
onRecordEdit: {},
|
|
652
|
-
onClose: {}
|
|
652
|
+
onClose: {},
|
|
653
|
+
theme: {},
|
|
654
|
+
batchSize: {}
|
|
653
655
|
},
|
|
654
656
|
|
|
655
657
|
data() {
|
|
@@ -668,7 +670,9 @@ var script = /*#__PURE__*/Vue.extend({
|
|
|
668
670
|
importerDisplay: this.importerDisplay,
|
|
669
671
|
onRecordsInitial: this.onRecordsInitial,
|
|
670
672
|
onRecordEdit: this.onRecordEdit,
|
|
671
|
-
onClose: this.onClose
|
|
673
|
+
onClose: this.onClose,
|
|
674
|
+
theme: this.theme,
|
|
675
|
+
batchSize: this.batchSize
|
|
672
676
|
});
|
|
673
677
|
},
|
|
674
678
|
|
|
@@ -840,8 +844,8 @@ var __vue_staticRenderFns__ = [];
|
|
|
840
844
|
|
|
841
845
|
const __vue_inject_styles__ = function (inject) {
|
|
842
846
|
if (!inject) return;
|
|
843
|
-
inject("data-v-
|
|
844
|
-
source: "#usecsv-button[data-v-
|
|
847
|
+
inject("data-v-5ce762cb_0", {
|
|
848
|
+
source: "#usecsv-button[data-v-5ce762cb]{background-color:#fff;color:#000;border:2px solid #000;border-radius:6px;padding:10px 15px;text-align:center;font-size:16px;cursor:pointer}",
|
|
845
849
|
map: undefined,
|
|
846
850
|
media: undefined
|
|
847
851
|
});
|
|
@@ -849,7 +853,7 @@ const __vue_inject_styles__ = function (inject) {
|
|
|
849
853
|
/* scoped */
|
|
850
854
|
|
|
851
855
|
|
|
852
|
-
const __vue_scope_id__ = "data-v-
|
|
856
|
+
const __vue_scope_id__ = "data-v-5ce762cb";
|
|
853
857
|
/* module identifier */
|
|
854
858
|
|
|
855
859
|
const __vue_module_identifier__ = undefined;
|
package/dist/UseCSVButton.min.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var UseCSVButton=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,r,i=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);s=!0);}catch(e){a=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
|
|
2
2
|
/*!
|
|
3
|
-
* @usecsv/js v0.
|
|
3
|
+
* @usecsv/js v0.12.0
|
|
4
4
|
* (c) layercode
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -17,4 +17,4 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
17
17
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
18
18
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
19
|
PERFORMANCE OF THIS SOFTWARE.
|
|
20
|
-
***************************************************************************** */()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var i=function(){return i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)},s=[],a=[];function c(e,t){if(t=t||{},void 0===e)throw new Error("insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).");var n,o=!0===t.prepend?"prepend":"append",r=void 0!==t.container?t.container:document.querySelector("head"),i=s.indexOf(r);return-1===i&&(i=s.push(r)-1,a[i]={}),void 0!==a[i]&&void 0!==a[i][o]?n=a[i][o]:(n=a[i][o]=function(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}(),"prepend"===o?r.insertBefore(n,r.childNodes[0]):r.appendChild(n)),65279===e.charCodeAt(0)&&(e=e.substr(1,e.length)),n.styleSheet?n.styleSheet.cssText+=e:n.textContent+=e,n}var d,l,u,p,m,f=c;c.insertCss=f,function(e){e.Call="call",e.Reply="reply",e.Syn="syn",e.SynAck="synAck",e.Ack="ack"}(d||(d={})),function(e){e.Fulfilled="fulfilled",e.Rejected="rejected"}(l||(l={})),function(e){e.ConnectionDestroyed="ConnectionDestroyed",e.ConnectionTimeout="ConnectionTimeout",e.NoIframeSrc="NoIframeSrc"}(u||(u={})),function(e){e.DataCloneError="DataCloneError"}(p||(p={})),function(e){e.Message="message"}(m||(m={}));const h={"http:":"80","https:":"443"},v=/^(https?:)?\/\/([^/:]+)?(:(\d+))?/,y=["file:","data:"];const g=({name:e,message:t,stack:n})=>({name:e,message:t,stack:n});let C=0;var b=()=>++C,S=(e,t,n,o,r)=>{const{localName:i,local:s,remote:a,originForSending:c,originForReceiving:p}=t;let f=!1;r(`${i}: Connecting call sender`);const h=e=>(...t)=>{let n;r(`${i}: Sending ${e}() call`);try{a.closed&&(n=!0)}catch(e){n=!0}if(n&&o(),f){const t=new Error(`Unable to send ${e}() call due to destroyed connection`);throw t.code=u.ConnectionDestroyed,t}return new Promise(((n,o)=>{const u=b(),f=t=>{if(t.source!==a||t.data.penpal!==d.Reply||t.data.id!==u)return;if(t.origin!==p)return void r(`${i} received message from origin ${t.origin} which did not match expected origin ${p}`);const c=t.data;r(`${i}: Received ${e}() reply`),s.removeEventListener(m.Message,f);let h=c.returnValue;c.returnValueIsError&&(h=(e=>{const t=new Error;return Object.keys(e).forEach((n=>t[n]=e[n])),t})(h)),(c.resolution===l.Fulfilled?n:o)(h)};s.addEventListener(m.Message,f);const h={penpal:d.Call,id:u,methodName:e,args:t};a.postMessage(h,c)}))};return n.reduce(((e,t)=>(e[t]=h(t),e)),e),()=>{f=!0}},w=(e,t,n,o,r)=>{const{destroy:i,onDestroy:s}=o;let a,c;const u={};return o=>{if(o.origin!==t)return void r(`Parent: Handshake - Received ACK message from origin ${o.origin} which did not match expected origin ${t}`);r("Parent: Handshake - Received ACK");const f={localName:"Parent",local:window,remote:o.source,originForSending:n,originForReceiving:t};a&&a(),a=((e,t,n)=>{const{localName:o,local:r,remote:i,originForSending:s,originForReceiving:a}=e;let c=!1;const u=e=>{if(e.source!==i||e.data.penpal!==d.Call)return;if(e.origin!==a)return void n(`${o} received message from origin ${e.origin} which did not match expected origin ${a}`);const r=e.data,{methodName:u,args:m,id:f}=r;n(`${o}: Received ${u}() call`);const h=e=>t=>{if(n(`${o}: Sending ${u}() reply`),c)return void n(`${o}: Unable to send ${u}() reply due to destroyed connection`);const r={penpal:d.Reply,id:f,resolution:e,returnValue:t};e===l.Rejected&&t instanceof Error&&(r.returnValue=g(t),r.returnValueIsError=!0);try{i.postMessage(r,s)}catch(e){if(e.name===p.DataCloneError){const t={penpal:d.Reply,id:f,resolution:l.Rejected,returnValue:g(e),returnValueIsError:!0};i.postMessage(t,s)}throw e}};new Promise((e=>e(t[u].apply(t,m)))).then(h(l.Fulfilled),h(l.Rejected))};return r.addEventListener(m.Message,u),()=>{c=!0,r.removeEventListener(m.Message,u)}})(f,e,r),s(a),c&&c.forEach((e=>{delete u[e]})),c=o.data.methodNames;const h=S(u,f,c,i,r);return s(h),u}};var E=e=>{let{iframe:t,methods:n={},childOrigin:o,timeout:r,debug:i=!1}=e;const s=(e=>(...t)=>{e&&console.log("[Penpal]",...t)})(i),a=((e,t)=>{const n=[];let o=!1;return{destroy(r){o||(o=!0,t(`${e}: Destroying connection`),n.forEach((e=>{e(r)})))},onDestroy(e){o?e():n.push(e)}}})("Parent",s),{onDestroy:c,destroy:l}=a;o||((e=>{if(!e.src&&!e.srcdoc){const e=new Error("Iframe must have src or srcdoc property defined.");throw e.code=u.NoIframeSrc,e}})(t),o=(e=>{if(e&&y.find((t=>e.startsWith(t))))return"null";const t=document.location,n=v.exec(e);let o,r,i;return n?(o=n[1]?n[1]:t.protocol,r=n[2],i=n[4]):(o=t.protocol,r=t.hostname,i=t.port),`${o}//${r}${i&&i!==h[o]?`:${i}`:""}`})(t.src));const p="null"===o?"*":o,f=((e,t,n,o)=>r=>{if(r.origin!==n)return void e(`Parent: Handshake - Received SYN message from origin ${r.origin} which did not match expected origin ${n}`);e("Parent: Handshake - Received SYN, responding with SYN-ACK");const i={penpal:d.SynAck,methodNames:Object.keys(t)};r.source.postMessage(i,o)})(s,n,o,p),g=w(n,o,p,a,s),C=new Promise(((e,n)=>{const o=((e,t)=>{let n;return void 0!==e&&(n=window.setTimeout((()=>{const n=new Error(`Connection timed out after ${e}ms`);n.code=u.ConnectionTimeout,t(n)}),e)),()=>{clearTimeout(n)}})(r,l),i=n=>{if(n.source===t.contentWindow&&n.data)if(n.data.penpal!==d.Syn)if(n.data.penpal!==d.Ack);else{const t=g(n);t&&(o(),e(t))}else f(n)};window.addEventListener(m.Message,i),s("Parent: Awaiting handshake"),((e,t)=>{const{destroy:n,onDestroy:o}=t,r=setInterval((()=>{e.isConnected||(clearInterval(r),n())}),6e4);o((()=>{clearInterval(r)}))})(t,a),c((e=>{window.removeEventListener(m.Message,i),e&&n(e)}))}));return{promise:C,destroy(){l()}}},$=["interactive","complete"],R=function(e,t){return new Promise((function(n){e&&"function"!=typeof e&&(t=e,e=null),t=t||window.document;var o=function(){return n(void(e&&setTimeout(e)))};-1!==$.indexOf(t.readyState)?o():t.addEventListener("DOMContentLoaded",o)}))};R.resume=function(e){return function(t){return R(e).then((function(){return t}))}};var _=function(e){var t=e.importerKey,n=e.user,o=e.metadata,r=e.onData,s=e.onRecordsInitial,a=e.onRecordEdit,c=e.importerDisplay,d=void 0===c?"modal":c,l=e.onClose,u="usecsv-".concat(Math.round(1e8*Math.random()));return R().then((function(){var e=function(e,t){var n=document.getElementById("usecsv-importer-inline-wrapper");f("\n ".concat("modal"!==t&&n?"":".usecsv_container { position: fixed; top: 0px; bottom: 0; right: 0; left: 0; z-index: 100000; }","\n .usecsv_container iframe {\n width: 100%;\n height: 100%;\n position: absolute;\n border-width: 0;\n }\n .usecsv_container {\n overflow: hidden;\n overscroll-behavior-x: none;\n }\n")),document.body.insertAdjacentHTML("beforeend","<div id=".concat(e,' class="usecsv_container loading"></div>'));var o=document.createElement("iframe");o.setAttribute("src","https://app.usecsv.com/importer");var r=document.getElementById(e);return null==r||r.appendChild(o),"inline"===t&&n&&(null==n||n.appendChild(r)),o}(u,d),c=function(){var e;null===(e=document.getElementById(u))||void 0===e||e.remove()},p=E({iframe:e,methods:i(i(i(i({closeIframe:c},r?{onData:function(e){return r(e,c)}}:{}),s?{onRecordsInitial:s}:{}),a?{onRecordEdit:a}:{}),l?{onClose:l}:{})});return p.promise.then((function(e){var r;null===(r=document.getElementById(u))||void 0===r||r.classList.remove("loading"),e.setParams&&e.setParams({importerKey:t,user:n,metadata:o,importerDisplay:d})})),p}))},x=n.default.extend({name:"usecsv-button",props:{importerKey:{},user:{},metadata:{},onData:{},importerDisplay:{},onRecordsInitial:{},onRecordEdit:{},onClose:{}},data:function(){return{hasSlot:!!this.$slots.default}},methods:{openModal:function(){_({importerKey:this.importerKey,user:this.user,metadata:this.metadata,onData:this.onData,importerDisplay:this.importerDisplay,onRecordsInitial:this.onRecordsInitial,onRecordEdit:this.onRecordEdit,onClose:this.onClose})},hasScopedSlot:function(){return"normalized"===(this.$scopedSlots.default&&this.$scopedSlots.default.name)}}});function I(e,t,n,o,r,i,s,a,c,d){"boolean"!=typeof s&&(c=a,a=s,s=!1);const l="function"==typeof n?n.options:n;let u;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),o&&(l._scopeId=o),i?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=u):t&&(u=s?function(e){t.call(this,d(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),u)if(l.functional){const e=l.render;l.render=function(t,n){return u.call(n),e(t,n)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,u):[u]}return n}const D="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function A(e){return(e,t)=>function(e,t){const n=D?t.media||"default":e,o=N[n]||(N[n]={ids:new Set,styles:[]});if(!o.ids.has(e)){o.ids.add(e);let n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),o.element||(o.element=document.createElement("style"),o.element.type="text/css",t.media&&o.element.setAttribute("media",t.media),void 0===M&&(M=document.head||document.getElementsByTagName("head")[0]),M.appendChild(o.element)),"styleSheet"in o.element)o.styles.push(n),o.element.styleSheet.cssText=o.styles.filter(Boolean).join("\n");else{const e=o.ids.size-1,t=document.createTextNode(n),r=o.element.childNodes;r[e]&&o.element.removeChild(r[e]),r.length?o.element.insertBefore(t,r[e]):o.element.appendChild(t)}}}(e,t)}let M;const N={};var j=I({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"usecsv"},[e.hasScopedSlot()?n("div",[e._t("default",null,{openModal:e.openModal})],2):n("div",[n("button",{attrs:{type:"button",id:"usecsv-button"},on:{click:e.openModal}},[e._t("default",(function(){return[e._v(" open usecsv ")]}))],2)])])},staticRenderFns:[]},(function(e){e&&e("data-v-50849dd9_0",{source:"#usecsv-button[data-v-50849dd9]{background-color:#fff;color:#000;border:2px solid #000;border-radius:6px;padding:10px 15px;text-align:center;font-size:16px;cursor:pointer}",map:void 0,media:void 0})}),x,"data-v-50849dd9",false,undefined,!1,A,void 0,void 0),k=function(){var e=j;return e.install=function(t){t.component("usecsv-button",e)},e}(),O=Object.freeze({__proto__:null,default:k});return Object.entries(O).forEach((function(e){var t=o(e,2),n=t[0],r=t[1];"default"!==n&&(k[n]=r)})),k}(Vue);
|
|
20
|
+
***************************************************************************** */()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var i=function(){return i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)},s=[],a=[];function c(e,t){if(t=t||{},void 0===e)throw new Error("insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).");var n,o=!0===t.prepend?"prepend":"append",r=void 0!==t.container?t.container:document.querySelector("head"),i=s.indexOf(r);return-1===i&&(i=s.push(r)-1,a[i]={}),void 0!==a[i]&&void 0!==a[i][o]?n=a[i][o]:(n=a[i][o]=function(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}(),"prepend"===o?r.insertBefore(n,r.childNodes[0]):r.appendChild(n)),65279===e.charCodeAt(0)&&(e=e.substr(1,e.length)),n.styleSheet?n.styleSheet.cssText+=e:n.textContent+=e,n}var d,l,u,m,p,f=c;c.insertCss=f,function(e){e.Call="call",e.Reply="reply",e.Syn="syn",e.SynAck="synAck",e.Ack="ack"}(d||(d={})),function(e){e.Fulfilled="fulfilled",e.Rejected="rejected"}(l||(l={})),function(e){e.ConnectionDestroyed="ConnectionDestroyed",e.ConnectionTimeout="ConnectionTimeout",e.NoIframeSrc="NoIframeSrc"}(u||(u={})),function(e){e.DataCloneError="DataCloneError"}(m||(m={})),function(e){e.Message="message"}(p||(p={}));const h={"http:":"80","https:":"443"},v=/^(https?:)?\/\/([^/:]+)?(:(\d+))?/,y=["file:","data:"];const g=({name:e,message:t,stack:n})=>({name:e,message:t,stack:n});let b=0;var C=()=>++b,S=(e,t,n,o,r)=>{const{localName:i,local:s,remote:a,originForSending:c,originForReceiving:m}=t;let f=!1;r(`${i}: Connecting call sender`);const h=e=>(...t)=>{let n;r(`${i}: Sending ${e}() call`);try{a.closed&&(n=!0)}catch(e){n=!0}if(n&&o(),f){const t=new Error(`Unable to send ${e}() call due to destroyed connection`);throw t.code=u.ConnectionDestroyed,t}return new Promise(((n,o)=>{const u=C(),f=t=>{if(t.source!==a||t.data.penpal!==d.Reply||t.data.id!==u)return;if(t.origin!==m)return void r(`${i} received message from origin ${t.origin} which did not match expected origin ${m}`);const c=t.data;r(`${i}: Received ${e}() reply`),s.removeEventListener(p.Message,f);let h=c.returnValue;c.returnValueIsError&&(h=(e=>{const t=new Error;return Object.keys(e).forEach((n=>t[n]=e[n])),t})(h)),(c.resolution===l.Fulfilled?n:o)(h)};s.addEventListener(p.Message,f);const h={penpal:d.Call,id:u,methodName:e,args:t};a.postMessage(h,c)}))};return n.reduce(((e,t)=>(e[t]=h(t),e)),e),()=>{f=!0}},w=(e,t,n,o,r)=>{const{destroy:i,onDestroy:s}=o;let a,c;const u={};return o=>{if(o.origin!==t)return void r(`Parent: Handshake - Received ACK message from origin ${o.origin} which did not match expected origin ${t}`);r("Parent: Handshake - Received ACK");const f={localName:"Parent",local:window,remote:o.source,originForSending:n,originForReceiving:t};a&&a(),a=((e,t,n)=>{const{localName:o,local:r,remote:i,originForSending:s,originForReceiving:a}=e;let c=!1;const u=e=>{if(e.source!==i||e.data.penpal!==d.Call)return;if(e.origin!==a)return void n(`${o} received message from origin ${e.origin} which did not match expected origin ${a}`);const r=e.data,{methodName:u,args:p,id:f}=r;n(`${o}: Received ${u}() call`);const h=e=>t=>{if(n(`${o}: Sending ${u}() reply`),c)return void n(`${o}: Unable to send ${u}() reply due to destroyed connection`);const r={penpal:d.Reply,id:f,resolution:e,returnValue:t};e===l.Rejected&&t instanceof Error&&(r.returnValue=g(t),r.returnValueIsError=!0);try{i.postMessage(r,s)}catch(e){if(e.name===m.DataCloneError){const t={penpal:d.Reply,id:f,resolution:l.Rejected,returnValue:g(e),returnValueIsError:!0};i.postMessage(t,s)}throw e}};new Promise((e=>e(t[u].apply(t,p)))).then(h(l.Fulfilled),h(l.Rejected))};return r.addEventListener(p.Message,u),()=>{c=!0,r.removeEventListener(p.Message,u)}})(f,e,r),s(a),c&&c.forEach((e=>{delete u[e]})),c=o.data.methodNames;const h=S(u,f,c,i,r);return s(h),u}};var E=e=>{let{iframe:t,methods:n={},childOrigin:o,timeout:r,debug:i=!1}=e;const s=(e=>(...t)=>{e&&console.log("[Penpal]",...t)})(i),a=((e,t)=>{const n=[];let o=!1;return{destroy(r){o||(o=!0,t(`${e}: Destroying connection`),n.forEach((e=>{e(r)})))},onDestroy(e){o?e():n.push(e)}}})("Parent",s),{onDestroy:c,destroy:l}=a;o||((e=>{if(!e.src&&!e.srcdoc){const e=new Error("Iframe must have src or srcdoc property defined.");throw e.code=u.NoIframeSrc,e}})(t),o=(e=>{if(e&&y.find((t=>e.startsWith(t))))return"null";const t=document.location,n=v.exec(e);let o,r,i;return n?(o=n[1]?n[1]:t.protocol,r=n[2],i=n[4]):(o=t.protocol,r=t.hostname,i=t.port),`${o}//${r}${i&&i!==h[o]?`:${i}`:""}`})(t.src));const m="null"===o?"*":o,f=((e,t,n,o)=>r=>{if(r.origin!==n)return void e(`Parent: Handshake - Received SYN message from origin ${r.origin} which did not match expected origin ${n}`);e("Parent: Handshake - Received SYN, responding with SYN-ACK");const i={penpal:d.SynAck,methodNames:Object.keys(t)};r.source.postMessage(i,o)})(s,n,o,m),g=w(n,o,m,a,s),b=new Promise(((e,n)=>{const o=((e,t)=>{let n;return void 0!==e&&(n=window.setTimeout((()=>{const n=new Error(`Connection timed out after ${e}ms`);n.code=u.ConnectionTimeout,t(n)}),e)),()=>{clearTimeout(n)}})(r,l),i=n=>{if(n.source===t.contentWindow&&n.data)if(n.data.penpal!==d.Syn)if(n.data.penpal!==d.Ack);else{const t=g(n);t&&(o(),e(t))}else f(n)};window.addEventListener(p.Message,i),s("Parent: Awaiting handshake"),((e,t)=>{const{destroy:n,onDestroy:o}=t,r=setInterval((()=>{e.isConnected||(clearInterval(r),n())}),6e4);o((()=>{clearInterval(r)}))})(t,a),c((e=>{window.removeEventListener(p.Message,i),e&&n(e)}))}));return{promise:b,destroy(){l()}}},$=["interactive","complete"],R=function(e,t){return new Promise((function(n){e&&"function"!=typeof e&&(t=e,e=null),t=t||window.document;var o=function(){return n(void(e&&setTimeout(e)))};-1!==$.indexOf(t.readyState)?o():t.addEventListener("DOMContentLoaded",o)}))};R.resume=function(e){return function(t){return R(e).then((function(){return t}))}};var _=function(e){var t=e.importerKey,n=e.user,o=e.metadata,r=e.onData,s=e.onRecordsInitial,a=e.onRecordEdit,c=e.importerDisplay,d=void 0===c?"modal":c,l=e.onClose,u=e.theme,m=e.batchSize,p="usecsv-".concat(Math.round(1e8*Math.random()));return R().then((function(){var e=function(e,t){var n=document.getElementById("usecsv-importer-inline-wrapper");f("\n ".concat("modal"!==t&&n?"":".usecsv_container { position: fixed; top: 0px; bottom: 0; right: 0; left: 0; z-index: 100000; }","\n .usecsv_container iframe {\n width: 100%;\n height: 100%;\n position: absolute;\n border-width: 0;\n }\n .usecsv_container {\n overflow: hidden;\n overscroll-behavior-x: none;\n }\n")),document.body.insertAdjacentHTML("beforeend","<div id=".concat(e,' class="usecsv_container loading"></div>'));var o=document.createElement("iframe");o.setAttribute("src","https://app.usecsv.com/importer");var r=document.getElementById(e);return null==r||r.appendChild(o),"inline"===t&&n&&(null==n||n.appendChild(r)),o}(p,d),c=function(){var e;null===(e=document.getElementById(p))||void 0===e||e.remove()},h=E({iframe:e,methods:i(i(i(i({closeIframe:c},r?{onData:function(e){return r(e,c)}}:{}),s?{onRecordsInitial:s}:{}),a?{onRecordEdit:a}:{}),l?{onClose:l}:{})});return h.promise.then((function(e){var r;null===(r=document.getElementById(p))||void 0===r||r.classList.remove("loading"),e.setParams&&e.setParams({importerKey:t,user:n,metadata:o,importerDisplay:d,theme:u,batchSize:m})})),h}))},x=n.default.extend({name:"usecsv-button",props:{importerKey:{},user:{},metadata:{},onData:{},importerDisplay:{},onRecordsInitial:{},onRecordEdit:{},onClose:{},theme:{},batchSize:{}},data:function(){return{hasSlot:!!this.$slots.default}},methods:{openModal:function(){_({importerKey:this.importerKey,user:this.user,metadata:this.metadata,onData:this.onData,importerDisplay:this.importerDisplay,onRecordsInitial:this.onRecordsInitial,onRecordEdit:this.onRecordEdit,onClose:this.onClose,theme:this.theme,batchSize:this.batchSize})},hasScopedSlot:function(){return"normalized"===(this.$scopedSlots.default&&this.$scopedSlots.default.name)}}});function I(e,t,n,o,r,i,s,a,c,d){"boolean"!=typeof s&&(c=a,a=s,s=!1);const l="function"==typeof n?n.options:n;let u;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),o&&(l._scopeId=o),i?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=u):t&&(u=s?function(e){t.call(this,d(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),u)if(l.functional){const e=l.render;l.render=function(t,n){return u.call(n),e(t,n)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,u):[u]}return n}const D="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function A(e){return(e,t)=>function(e,t){const n=D?t.media||"default":e,o=N[n]||(N[n]={ids:new Set,styles:[]});if(!o.ids.has(e)){o.ids.add(e);let n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),o.element||(o.element=document.createElement("style"),o.element.type="text/css",t.media&&o.element.setAttribute("media",t.media),void 0===M&&(M=document.head||document.getElementsByTagName("head")[0]),M.appendChild(o.element)),"styleSheet"in o.element)o.styles.push(n),o.element.styleSheet.cssText=o.styles.filter(Boolean).join("\n");else{const e=o.ids.size-1,t=document.createTextNode(n),r=o.element.childNodes;r[e]&&o.element.removeChild(r[e]),r.length?o.element.insertBefore(t,r[e]):o.element.appendChild(t)}}}(e,t)}let M;const N={};var j=I({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"usecsv"},[e.hasScopedSlot()?n("div",[e._t("default",null,{openModal:e.openModal})],2):n("div",[n("button",{attrs:{type:"button",id:"usecsv-button"},on:{click:e.openModal}},[e._t("default",(function(){return[e._v(" open usecsv ")]}))],2)])])},staticRenderFns:[]},(function(e){e&&e("data-v-5ce762cb_0",{source:"#usecsv-button[data-v-5ce762cb]{background-color:#fff;color:#000;border:2px solid #000;border-radius:6px;padding:10px 15px;text-align:center;font-size:16px;cursor:pointer}",map:void 0,media:void 0})}),x,"data-v-5ce762cb",false,undefined,!1,A,void 0,void 0),k=function(){var e=j;return e.install=function(t){t.component("usecsv-button",e)},e}(),O=Object.freeze({__proto__:null,default:k});return Object.entries(O).forEach((function(e){var t=o(e,2),n=t[0],r=t[1];"default"!==n&&(k[n]=r)})),k}(Vue);
|
package/dist/UseCSVButton.ssr.js
CHANGED
|
@@ -56,7 +56,7 @@ function _arrayLikeToArray(arr, len) {
|
|
|
56
56
|
function _nonIterableRest() {
|
|
57
57
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
58
58
|
}/*!
|
|
59
|
-
* @usecsv/js v0.
|
|
59
|
+
* @usecsv/js v0.12.0
|
|
60
60
|
* (c) layercode
|
|
61
61
|
* Released under the MIT License.
|
|
62
62
|
*/
|
|
@@ -656,7 +656,7 @@ var insertIframe = function (id, importerDisplay) {
|
|
|
656
656
|
return iframe;
|
|
657
657
|
};
|
|
658
658
|
var useCsvPlugin = function (_a) {
|
|
659
|
-
var importerKey = _a.importerKey, user = _a.user, metadata = _a.metadata, onData = _a.onData, onRecordsInitial = _a.onRecordsInitial, onRecordEdit = _a.onRecordEdit, _b = _a.importerDisplay, importerDisplay = _b === void 0 ? "modal" : _b, onClose = _a.onClose;
|
|
659
|
+
var importerKey = _a.importerKey, user = _a.user, metadata = _a.metadata, onData = _a.onData, onRecordsInitial = _a.onRecordsInitial, onRecordEdit = _a.onRecordEdit, _b = _a.importerDisplay, importerDisplay = _b === void 0 ? "modal" : _b, onClose = _a.onClose, theme = _a.theme, batchSize = _a.batchSize;
|
|
660
660
|
var id = "usecsv-".concat(Math.round(Math.random() * 100000000));
|
|
661
661
|
return whenDomReady().then(function () {
|
|
662
662
|
var iframe = insertIframe(id, importerDisplay);
|
|
@@ -688,7 +688,7 @@ var useCsvPlugin = function (_a) {
|
|
|
688
688
|
var _a;
|
|
689
689
|
(_a = document.getElementById(id)) === null || _a === void 0 ? void 0 : _a.classList.remove("loading");
|
|
690
690
|
// eslint-disable-next-line dot-notation
|
|
691
|
-
child["setParams"] && child["setParams"]({ importerKey: importerKey, user: user, metadata: metadata, importerDisplay: importerDisplay });
|
|
691
|
+
child["setParams"] && child["setParams"]({ importerKey: importerKey, user: user, metadata: metadata, importerDisplay: importerDisplay, theme: theme, batchSize: batchSize });
|
|
692
692
|
});
|
|
693
693
|
return iframeConnection;
|
|
694
694
|
});
|
|
@@ -703,7 +703,9 @@ var useCsvPlugin = function (_a) {
|
|
|
703
703
|
importerDisplay: {},
|
|
704
704
|
onRecordsInitial: {},
|
|
705
705
|
onRecordEdit: {},
|
|
706
|
-
onClose: {}
|
|
706
|
+
onClose: {},
|
|
707
|
+
theme: {},
|
|
708
|
+
batchSize: {}
|
|
707
709
|
},
|
|
708
710
|
data: function data() {
|
|
709
711
|
return {
|
|
@@ -720,7 +722,9 @@ var useCsvPlugin = function (_a) {
|
|
|
720
722
|
importerDisplay: this.importerDisplay,
|
|
721
723
|
onRecordsInitial: this.onRecordsInitial,
|
|
722
724
|
onRecordEdit: this.onRecordEdit,
|
|
723
|
-
onClose: this.onClose
|
|
725
|
+
onClose: this.onClose,
|
|
726
|
+
theme: this.theme,
|
|
727
|
+
batchSize: this.batchSize
|
|
724
728
|
});
|
|
725
729
|
},
|
|
726
730
|
hasScopedSlot: function hasScopedSlot() {
|
|
@@ -853,9 +857,9 @@ var __vue_render__ = function __vue_render__() {
|
|
|
853
857
|
|
|
854
858
|
return _c('div', {
|
|
855
859
|
staticClass: "usecsv"
|
|
856
|
-
}, [_vm.hasScopedSlot() ? _vm._ssrNode("<div data-v-
|
|
860
|
+
}, [_vm.hasScopedSlot() ? _vm._ssrNode("<div data-v-5ce762cb>", "</div>", [_vm._t("default", null, {
|
|
857
861
|
"openModal": _vm.openModal
|
|
858
|
-
})], 2) : _vm._ssrNode("<div data-v-
|
|
862
|
+
})], 2) : _vm._ssrNode("<div data-v-5ce762cb>", "</div>", [_vm._ssrNode("<button type=\"button\" id=\"usecsv-button\" data-v-5ce762cb>", "</button>", [_vm._t("default", function () {
|
|
859
863
|
return [_vm._v(" open usecsv ")];
|
|
860
864
|
})], 2)])]);
|
|
861
865
|
};
|
|
@@ -865,8 +869,8 @@ var __vue_staticRenderFns__ = [];
|
|
|
865
869
|
|
|
866
870
|
var __vue_inject_styles__ = function __vue_inject_styles__(inject) {
|
|
867
871
|
if (!inject) return;
|
|
868
|
-
inject("data-v-
|
|
869
|
-
source: "#usecsv-button[data-v-
|
|
872
|
+
inject("data-v-5ce762cb_0", {
|
|
873
|
+
source: "#usecsv-button[data-v-5ce762cb]{background-color:#fff;color:#000;border:2px solid #000;border-radius:6px;padding:10px 15px;text-align:center;font-size:16px;cursor:pointer}",
|
|
870
874
|
map: undefined,
|
|
871
875
|
media: undefined
|
|
872
876
|
});
|
|
@@ -874,10 +878,10 @@ var __vue_inject_styles__ = function __vue_inject_styles__(inject) {
|
|
|
874
878
|
/* scoped */
|
|
875
879
|
|
|
876
880
|
|
|
877
|
-
var __vue_scope_id__ = "data-v-
|
|
881
|
+
var __vue_scope_id__ = "data-v-5ce762cb";
|
|
878
882
|
/* module identifier */
|
|
879
883
|
|
|
880
|
-
var __vue_module_identifier__ = "data-v-
|
|
884
|
+
var __vue_module_identifier__ = "data-v-5ce762cb";
|
|
881
885
|
/* functional template */
|
|
882
886
|
|
|
883
887
|
var __vue_is_functional_template__ = false;
|
|
@@ -18,5 +18,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue, {
|
|
|
18
18
|
onRecordEdit?: import("@usecsv/js/build/types/lib/types").onRecordEditType | undefined;
|
|
19
19
|
importerDisplay?: "inline" | "modal" | undefined;
|
|
20
20
|
onClose?: (() => void) | undefined;
|
|
21
|
+
theme?: import("@usecsv/js/build/types/lib/types").ThemeType | undefined;
|
|
22
|
+
batchSize?: number | undefined;
|
|
21
23
|
}>;
|
|
22
24
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usecsv/vuejs",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/UseCSVButton.ssr.js",
|
|
6
6
|
"browser": "dist/UseCSVButton.esm.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepublishOnly": "yarn build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@usecsv/js": "^0.
|
|
27
|
+
"@usecsv/js": "^0.12.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@babel/core": "^7.14.6",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
37
37
|
"@rollup/plugin-replace": "^2.4.2",
|
|
38
38
|
"@rushstack/eslint-patch": "^1.1.0",
|
|
39
|
-
"@semantic-release/changelog": "^6.0.
|
|
39
|
+
"@semantic-release/changelog": "^6.0.2",
|
|
40
40
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
41
41
|
"@semantic-release/git": "^10.0.1",
|
|
42
|
-
"@semantic-release/github": "^8.0.
|
|
42
|
+
"@semantic-release/github": "^8.0.7",
|
|
43
43
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
44
44
|
"@vue/cli-plugin-babel": "^4.5.15",
|
|
45
45
|
"@vue/cli-plugin-typescript": "^4.5.15",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"rollup-plugin-terser": "^7.0.2",
|
|
56
56
|
"rollup-plugin-typescript2": "^0.30.0",
|
|
57
57
|
"rollup-plugin-vue": "^5.1.9",
|
|
58
|
-
"semantic-release": "^
|
|
58
|
+
"semantic-release": "^20.0.2",
|
|
59
59
|
"ttypescript": "^1.5.12",
|
|
60
60
|
"typescript": "^4.0.3",
|
|
61
61
|
"vue": "^2.6.14",
|
package/src/UseCSVButton.vue
CHANGED
|
@@ -20,6 +20,8 @@ export default /*#__PURE__*/ Vue.extend<
|
|
|
20
20
|
onRecordsInitial: {},
|
|
21
21
|
onRecordEdit: {},
|
|
22
22
|
onClose: {},
|
|
23
|
+
theme: {},
|
|
24
|
+
batchSize: {},
|
|
23
25
|
},
|
|
24
26
|
data() {
|
|
25
27
|
return {
|
|
@@ -37,6 +39,8 @@ export default /*#__PURE__*/ Vue.extend<
|
|
|
37
39
|
onRecordsInitial: this.onRecordsInitial,
|
|
38
40
|
onRecordEdit: this.onRecordEdit,
|
|
39
41
|
onClose: this.onClose,
|
|
42
|
+
theme: this.theme,
|
|
43
|
+
batchSize: this.batchSize,
|
|
40
44
|
});
|
|
41
45
|
},
|
|
42
46
|
hasScopedSlot(): boolean {
|
package/CHANGELOG.md
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
## [1.1.16](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.15...v1.1.16) (2022-11-02)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* update "@usecsv/js", update validation hooks level type ([98cd038](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/98cd038e0e47e93fdf4b0b47604b39cfca2803a3))
|
|
7
|
-
|
|
8
|
-
## [1.1.15](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.14...v1.1.15) (2022-10-25)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
### Bug Fixes
|
|
12
|
-
|
|
13
|
-
* update "@usecsv/js", support onClose prop in usecsv plugin ([a8f3478](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/a8f3478bd6495320f4697aab99ed978441c2ebe6))
|
|
14
|
-
|
|
15
|
-
## [1.1.14](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.13...v1.1.14) (2022-10-24)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Bug Fixes
|
|
19
|
-
|
|
20
|
-
* update "@usecsv/js", remove importer modal margin in inline display ([60f396a](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/60f396ab6f2ded91827de7a92ae9c654cb3804f8))
|
|
21
|
-
|
|
22
|
-
## [1.1.13](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.12...v1.1.13) (2022-10-24)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### Bug Fixes
|
|
26
|
-
|
|
27
|
-
* add missing onData prop ([de179a8](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/de179a8fe868418063c6297c42ece3a3da9eae58))
|
|
28
|
-
|
|
29
|
-
## [1.1.12](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.11...v1.1.12) (2022-10-23)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### Bug Fixes
|
|
33
|
-
|
|
34
|
-
* add missing prop ([2fc5d16](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/2fc5d168fdefae6d264e859a84debf29b7ec1922))
|
|
35
|
-
|
|
36
|
-
## [1.1.11](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.10...v1.1.11) (2022-10-23)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
### Bug Fixes
|
|
40
|
-
|
|
41
|
-
* update "@usecsv/js", support inline importer modal ([76ae016](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/76ae016a800c544b7901d070cb3520c08c53c832))
|
|
42
|
-
|
|
43
|
-
## [1.1.10](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.9...v1.1.10) (2022-10-06)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### Bug Fixes
|
|
47
|
-
|
|
48
|
-
* update "@usecsv/js", update validation hooks response types ([62f3a9b](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/62f3a9b65ff4bcf06b8e5a45a6249f3343e8350c))
|
|
49
|
-
|
|
50
|
-
## [1.1.9](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.8...v1.1.9) (2022-08-30)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
### Bug Fixes
|
|
54
|
-
|
|
55
|
-
* ci publish ([129f5e2](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/129f5e27dbdbd6c3c0cd99b649772b4d39ba1c02))
|
|
56
|
-
|
|
57
|
-
## [1.1.8](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.7...v1.1.8) (2022-08-17)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Bug Fixes
|
|
61
|
-
|
|
62
|
-
* update \"@usecsv/js\" , fix types ([0b46f0e](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/0b46f0eecbf44e9b86306997b78c962c2032d818))
|
|
63
|
-
|
|
64
|
-
## [1.1.7](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.6...v1.1.7) (2022-08-15)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
### Bug Fixes
|
|
68
|
-
|
|
69
|
-
* update "@usecsv/js" , update data hooks ([bd1c69c](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/bd1c69c7e58548128683646a70902f989f687580))
|
|
70
|
-
|
|
71
|
-
## [1.1.6](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.5...v1.1.6) (2022-05-12)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
### Bug Fixes
|
|
75
|
-
|
|
76
|
-
* update \"@usecsv/js\" , to fix close fn ([924a48a](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/924a48ab69a95247340cd5b8a3a944e67b03fe27))
|
|
77
|
-
|
|
78
|
-
## [1.1.5](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.4...v1.1.5) (2022-04-25)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
### Bug Fixes
|
|
82
|
-
|
|
83
|
-
* update "@usecsv/js" , to use close function param ([8bbb8f2](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/8bbb8f232fe6a818bfedec0c55acafacb6e0b7b8))
|
|
84
|
-
|
|
85
|
-
## [1.1.4](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.3...v1.1.4) (2022-04-24)
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
### Bug Fixes
|
|
89
|
-
|
|
90
|
-
* update usecsv core package ([3b10aaa](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/3b10aaa4859ef34fa6c9d3d97586bd0b328e807f))
|
|
91
|
-
|
|
92
|
-
## [1.1.3](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.2...v1.1.3) (2022-04-06)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
### Bug Fixes
|
|
96
|
-
|
|
97
|
-
* allow usecsv core patch updates ([ed1982e](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/ed1982ed12528c1a6c4355eb5dcefb680e0f022e))
|
|
98
|
-
|
|
99
|
-
## [1.1.2](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.1...v1.1.2) (2022-03-09)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
### Bug Fixes
|
|
103
|
-
|
|
104
|
-
* update dependencies ([3814b7e](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/3814b7e7b3e9bf81da78782fd5d1a224c7502ffc))
|
|
105
|
-
|
|
106
|
-
## [1.1.1](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.1.0...v1.1.1) (2022-03-07)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
### Bug Fixes
|
|
110
|
-
|
|
111
|
-
* dependencies ([2ef2dfd](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/2ef2dfd1279ffb0d4e549c9803943a4c85cf9c4b))
|
|
112
|
-
|
|
113
|
-
# [1.1.0](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.0.3...v1.1.0) (2022-03-07)
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
### Features
|
|
117
|
-
|
|
118
|
-
* add onData callback ([4c5830d](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/4c5830debdb8e1d98ec23f7b8c0ec7a8ad4a6bfe))
|
|
119
|
-
|
|
120
|
-
## [1.0.3](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.0.2...v1.0.3) (2022-02-15)
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
### Bug Fixes
|
|
124
|
-
|
|
125
|
-
* update props ([a8c47a1](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/a8c47a1d2743ac2ea41c3f590a60080cd92634af))
|
|
126
|
-
|
|
127
|
-
## [1.0.2](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.0.1...v1.0.2) (2022-02-15)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
### Bug Fixes
|
|
131
|
-
|
|
132
|
-
* typo ([a09307d](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/a09307d09ec88c6cac0dbf92274e68e82b8677b9))
|
|
133
|
-
|
|
134
|
-
## [1.0.1](https://github.com/layercodedev/usecsv-vuejs-plugin/compare/v1.0.0...v1.0.1) (2022-02-14)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
### Bug Fixes
|
|
138
|
-
|
|
139
|
-
* rename component to UseCSVButton ([fe32bf6](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/fe32bf678a14b08112370f907088c93433fcde59))
|
|
140
|
-
|
|
141
|
-
# 1.0.0 (2022-02-14)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
### Features
|
|
145
|
-
|
|
146
|
-
* usecsv plugin ([330f046](https://github.com/layercodedev/usecsv-vuejs-plugin/commit/330f046d551eee9b2caf32ded1a173cd594e5e1f))
|