useblocks 1.0.92 → 1.0.93-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/asset-manifest.json +3 -2
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/iframe-eblock.f4b2eeebef1ff780a109.html +1 -1
- package/iframe/iframe.f4b2eeebef1ff780a109.html +1 -1
- package/iframe/js/826.f38df156.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/plugin.html +1 -1
- package/plugin_blocks_test.html +1 -1
- package/plugin_default.html +1 -1
- package/plugin_idigital.html +1 -1
- package/plugin_nota.html +1 -1
- package/plugin_s.html +1 -1
- package/useblocks-esm.js +1 -1
- package/useblocks.d.ts +1553 -0
- package/useblocks.js +1 -1
- package/iframe/js/826.96201752.js +0 -1
- /package/iframe/js/{826.96201752.js.LICENSE.txt → 826.f38df156.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
package/plugin.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?5b4baafc33a96263c3ea"></script></head><body><button id="change_theme" style="width: 150px; height: 30px">Click Me</button><div style="background: white; width: 100%; height: 50px; display: flex; justify-content: center; align-items: center"></div><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?5b4baafc33a96263c3ea";
|
|
2
2
|
const auth_jwt = {
|
|
3
3
|
username: '****',
|
|
4
4
|
password: '****',
|
package/plugin_blocks_test.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?5b4baafc33a96263c3ea"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">const getAuthToken = async () => {
|
|
2
2
|
var requestOptions = {
|
|
3
3
|
method: 'POST',
|
|
4
4
|
redirect: 'follow',
|
package/plugin_default.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?5b4baafc33a96263c3ea"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh;"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?5b4baafc33a96263c3ea";
|
|
2
2
|
const auth_jwt = {
|
|
3
3
|
username: "****",
|
|
4
4
|
password: "****"
|
package/plugin_idigital.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?5b4baafc33a96263c3ea"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?5b4baafc33a96263c3ea";
|
|
2
2
|
const auth_jwt = {
|
|
3
3
|
username: '****',
|
|
4
4
|
password: '****',
|
package/plugin_nota.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?5b4baafc33a96263c3ea"></script></head><body><button id="change_theme" style="width: 150px; height: 30px">Click Me</button><div style="background: white; width: 100%; height: 50px; display: flex; justify-content: center; align-items: center"></div><div id="shadow-host" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?5b4baafc33a96263c3ea";
|
|
2
2
|
const auth_jwt = {
|
|
3
3
|
username: '****',
|
|
4
4
|
password: '****',
|
package/plugin_s.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?5b4baafc33a96263c3ea"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh;"></div><script async defer="defer">const getAuthToken = async () => {
|
|
2
2
|
|
|
3
3
|
var requestOptions = {
|
|
4
4
|
method: 'POST',
|
package/useblocks-esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const load=function(e){var a,l=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={27612:(e,a,t)=>{var o;let c="https://unpkg.com/useblocks@1.0.
|
|
1
|
+
const load=function(e){var a,l=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={27612:(e,a,t)=>{var o;let c="https://unpkg.com/useblocks@1.0.93-alpha.1/",n="useblocks";if("object"===typeof l&&null!==(o=l)&&void 0!==o&&o.publicPath){var r;c=null===(r=l)||void 0===r?void 0:r.publicPath}else{let e="";const a=document.querySelector(`script[src*=${n}\\.js]`)||document.querySelector(`script[src*=${n}-esm\\.js]`);a instanceof HTMLScriptElement&&(e=a.src),e&&(c=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}t.p=new URL(c,window.location.origin).href}},t={};function o(a){var l=t[a];if(void 0!==l)return l.exports;var c=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(c.exports,c,c.exports,o),c.loaded=!0,c.exports}o.m=e,o.amdO={},o.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return o.d(a,{a:a}),a},(()=>{var e,a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;o.t=function(l,t){if(1&t&&(l=this(l)),8&t)return l;if("object"===typeof l&&l){if(4&t&&l.__esModule)return l;if(16&t&&"function"===typeof l.then)return l}var c=Object.create(null);o.r(c);var n={};e=e||[null,a({}),a([]),a(a)];for(var r=2&t&&l;"object"==typeof r&&!~e.indexOf(r);r=a(r))Object.getOwnPropertyNames(r).forEach((e=>n[e]=()=>l[e]));return n.default=()=>l,o.d(c,n),c}})(),o.d=(e,a)=>{for(var l in a)o.o(a,l)&&!o.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:a[l]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((a,l)=>(o.f[l](e,a),a)),[])),o.u=e=>6419===e?"static/js/6419.16951b0a.js":4972===e?"static/js/4972.8646ad7f.js":5972===e?"static/js/5972.4d41a210.js":7413===e?"static/js/7413.15721113.js":7892===e?"static/js/7892.e035e8b9.js":8285===e?"static/js/8285.c8bdf11b.js":4776===e?"static/js/4776.ae35ef21.js":9881===e?"static/js/9881.bd9351d5.js":"static/js/"+({77:"ant-locale/locale-sv_SE-js",197:"ant-locale/locale-zh_HK-js",290:"ant-locale/locale-ml_IN-js",494:"ant-locale/locale-fr_CA-js",737:"ant-locale/locale-hy_AM-js",1241:"ant-locale/locale-vi_VN-js",1330:"ant-locale/locale-fr_FR-js",1332:"ant-locale/locale-hi_IN-js",1377:"ant-locale/locale-cs_CZ-js",1454:"ant-locale/locale-ka_GE-js",1502:"ant-locale/locale-en_GB-js",1510:"ant-locale/locale-hr_HR-js",1626:"ant-locale/locale-ca_ES-js",1640:"ant-locale/locale-ta_IN-js",1788:"ant-locale/locale-uk_UA-js",1872:"ant-locale/locale-ga_IE-js",2066:"ant-locale/locale-da_DK-js",2114:"ant-locale/locale-es_ES-js",2248:"ant-locale/locale-ru_RU-js",2408:"ant-locale/locale-it_IT-js",2438:"ant-locale/locale-lt_LT-js",2466:"/mergeTags/locale0",2827:"ant-locale/locale-sl_SI-js",2844:"ant-locale/locale-bg_BG-js",2917:"ant-locale/locale-nb_NO-js",2988:"ant-locale/locale-ro_RO-js",3302:"ant-locale/locale-lv_LV-js",3411:"ant-locale/locale-fr_BE-js",3624:"ant-locale/locale-id_ID-js",3711:"ant-locale/locale-gl_ES-js",3816:"ant-locale/locale-az_AZ-js",3914:"ant-locale/locale-kn_IN-js",4425:"ant-locale/locale-kk_KZ-js",4607:"ant-locale/locale-ar_EG-js",4686:"ant-locale/locale-tr_TR-js",4702:"ant-locale/locale-pt_BR-js",4813:"ant-locale/locale-zh_TW-js",4823:"ant-locale/locale-si_LK-js",5108:"ant-locale/locale-ku_IQ-js",5261:"ant-locale/locale-ko_KR-js",5322:"ant-locale/locale-fa_IR-js",5466:"ant-locale/locale-nl_NL-js",5653:"ant-locale/locale-nl_BE-js",5827:"ant-locale/locale-ne_NP-js",5862:"ant-locale/locale-pl_PL-js",5864:"ant-locale/locale-tk_TK-js",5902:"ant-locale/locale-th_TH-js",5980:"ant-locale/locale-ms_MY-js",6033:"ant-locale/locale-km_KH-js",6135:"ant-locale/locale-et_EE-js",6418:"ant-locale/locale-sk_SK-js",6428:"ant-locale/locale-bn_BD-js",6552:"ant-locale/locale-fi_FI-js",6618:"ant-locale/locale-my_MM-js",6764:"ant-locale/locale-hu_HU-js",6832:"ant-locale/locale-mn_MN-js",6859:"/mergeTags/locale1",7288:"ant-locale/locale-el_GR-js",7426:"ant-locale/locale-is_IS-js",7974:"ant-locale/locale-he_IL-js",8466:"ant-locale/locale-mk_MK-js",8534:"ant-locale/locale-pt_PT-js",8590:"ant-locale/locale-ur_PK-js",8682:"ant-locale/locale-sr_RS-js",8796:"ant-locale/locale-de_DE-js",8839:"ant-locale/locale-ja_JP-js",9169:"ant-locale/locale-zh_CN-js",9200:"ant-locale/locale-by_BY-js",9508:"ant-locale/locale-kmr_IQ-js",9716:"ant-locale/locale-eu_ES-js"}[e]||e)+"."+{77:"9f47a065",197:"0feb368f",290:"3aa233eb",494:"ba00ca3a",737:"6b20bceb",1241:"f0324229",1330:"1e6d0a10",1332:"8e3ea1dc",1377:"f1151015",1454:"8b08646c",1502:"6756ba01",1510:"94001d08",1538:"06811304",1626:"e4bdfa2b",1640:"3b46361c",1729:"a0be903e",1788:"ef0d8c8e",1872:"cc1f0f56",1880:"de5a11ab",2066:"33e12cfb",2114:"43424efe",2248:"a1cd5bb3",2408:"46a8ce6d",2438:"08ac662b",2458:"705ae945",2466:"594765fd",2642:"b60a63f6",2827:"8afbce30",2844:"2f68d816",2917:"471cc88a",2988:"4a05dc9d",3017:"7d36fea0",3019:"aaa6d087",3085:"b9d27236",3302:"2a33af61",3411:"2aec36ca",3624:"b380cc8b",3711:"c1588dec",3816:"1b3f2ec6",3914:"40066823",4309:"ae8e4ad0",4425:"a1cc2ddc",4560:"b03bbb3f",4607:"a1f4a2ee",4686:"b5e42917",4702:"75dc6403",4813:"163140fa",4823:"3b54f4c4",5108:"594553b1",5261:"68047848",5322:"3b6bfddc",5346:"dcfe6709",5466:"453457a0",5653:"2af0a7fe",5827:"52b65a1a",5862:"1e4b27da",5864:"63d0b187",5902:"83e732d3",5980:"924bfbf0",6033:"09c630f9",6135:"3694348e",6144:"a3bf0881",6418:"cd76b6b1",6428:"38ca14cb",6501:"1dbdfb03",6552:"8e749864",6618:"bc3805ae",6764:"50a3ffc6",6819:"2f1dcf17",6832:"2550caa5",6859:"7a79e21e",7288:"007d40b4",7426:"995979c0",7463:"69864ff5",7974:"1be3257a",8084:"d11f3e52",8466:"caa088c9",8534:"b07438c3",8590:"904c3e1c",8682:"0708405f",8796:"42497042",8839:"69f9da33",9169:"428a6bc7",9200:"927570db",9272:"93e5dbe9",9508:"c25f3afa",9644:"1ae95bb7",9716:"e2678a29",9960:"6dcf66f0"}[e]+".chunk.js",o.miniCssF=e=>"static/css/"+e+"."+{2458:"f9c85be8",6501:"e131603e",8084:"15f07f40",9272:"a4e58dd0"}[e]+".chunk.css",o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={},a="email-maker:";o.l=(l,t,c,n)=>{if(e[l])e[l].push(t);else{var r,s;if(void 0!==c)for(var i=document.getElementsByTagName("script"),d=0;d<i.length;d++){var f=i[d];if(f.getAttribute("src")==l||f.getAttribute("data-webpack")==a+c){r=f;break}}r||(s=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",a+c),r.src=l),e[l]=[t];var u=(a,t)=>{r.onerror=r.onload=null,clearTimeout(j);var o=e[l];if(delete e[l],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((e=>e(t))),a)return a(t)},j=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),s&&document.head.appendChild(r)}}})(),o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((a,l)=>{var t=o.miniCssF(e),c=o.p+t;if(((e,a)=>{for(var l=document.getElementsByTagName("link"),t=0;t<l.length;t++){var o=(n=l[t]).getAttribute("data-href")||n.getAttribute("href");if("stylesheet"===n.rel&&(o===e||o===a))return n}var c=document.getElementsByTagName("style");for(t=0;t<c.length;t++){var n;if((o=(n=c[t]).getAttribute("data-href"))===e||o===a)return n}})(t,c))return a();((e,a,l,t,c)=>{var n=document.createElement("link");n.setAttribute("data-useblocks","true"),n.rel="stylesheet",n.type="text/css",o.nc&&(n.nonce=o.nc),n.onerror=n.onload=l=>{if(n.onerror=n.onload=null,"load"===l.type)t();else{var o=l&&l.type,r=l&&l.target&&l.target.href||a,s=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+r+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=o,s.request=r,n.parentNode&&n.parentNode.removeChild(n),c(s)}},n.href=a,l?l.parentNode.insertBefore(n,l.nextSibling):document.head.appendChild(n)})(e,c,null,a,l)})),a={884:0,5294:0};o.f.miniCss=(l,t)=>{a[l]?t.push(a[l]):0!==a[l]&&{2458:1,6501:1,8084:1,9272:1}[l]&&t.push(a[l]=e(l).then((()=>{a[l]=0}),(e=>{throw delete a[l],e})))}}})(),(()=>{var e={884:0,5294:0};o.f.j=(a,l)=>{var t=o.o(e,a)?e[a]:void 0;if(0!==t)if(t)l.push(t[2]);else{var c=new Promise(((l,o)=>t=e[a]=[l,o]));l.push(t[2]=c);var n=o.p+o.u(a),r=new Error;o.l(n,(l=>{if(o.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var c=l&&("load"===l.type?"missing":l.type),n=l&&l.target&&l.target.src;r.message="Loading chunk "+a+" failed.\n("+c+": "+n+")",r.name="ChunkLoadError",r.type=c,r.request=n,t[1](r)}}),"chunk-"+a,a)}};var a=(a,l)=>{var t,c,[n,r,s]=l,i=0;if(n.some((a=>0!==e[a]))){for(t in r)o.o(r,t)&&(o.m[t]=r[t]);if(s)s(o)}for(a&&a(l);i<n.length;i++)c=n[i],o.o(e,c)&&e[c]&&e[c][0](),e[c]=0},l=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];l.forEach(a.bind(null,0)),l.push=a.bind(null,l.push.bind(l))})(),o.nc=void 0;var c={};(()=>{"use strict";o.r(c),o.d(c,{init:()=>l,parseAMP:()=>t,version:()=>n});o(27612);let e,a;function l(a){return e||(e=o.e(3017).then(o.bind(o,63017))),e.then((e=>e.init(a)))}function t(e){return a||(a=o.e(1538).then(o.bind(o,71538))),a.then((a=>a.parseAMP(e)))}const n="1.0.93-alpha.1"})(),a=c})(),a},app=load("undefined"===typeof UseblocksEnvironment?void 0:UseblocksEnvironment);export const parseAMP=app.parseAMP;export const version=app.version;export const init=app.init;
|