@bluepic/embed 0.4.0-next.96 → 0.4.0-next.97
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/bluepic-embed.iife.js +63 -63
- package/dist/bluepic-embed.umd.js +63 -63
- package/dist/{cpp-DaPzgJ_t.cjs → cpp-CEORmSCT.cjs} +1 -1
- package/dist/{cpp-Cx0NomaW.js → cpp-CH0U-pDu.js} +12 -16
- package/dist/{css-BCTOmdxR.js → css-DXX4BvrO.js} +9 -3
- package/dist/css-l--Pv1Vb.cjs +1 -0
- package/dist/embed/embed.d.ts +199 -145
- package/dist/{javascript-DII1YQGr.js → javascript-BAHKs5qZ.js} +3 -2
- package/dist/{javascript-C_6NC1K7.cjs → javascript-NPBda6fN.cjs} +1 -1
- package/dist/json-C4rahuoJ.cjs +1 -0
- package/dist/{json-C_6Prymp.js → json-DYK-YbD3.js} +15 -9
- package/dist/main.cjs +64 -64
- package/dist/main.mjs +10415 -10393
- package/dist/scss-C_iicH8I.cjs +1 -0
- package/dist/{scss-CknrYxoA.js → scss-DybQU0yX.js} +31 -25
- package/dist/{typescript-SNUkGeOU.js → typescript-BRD67TAB.js} +3 -2
- package/dist/{typescript-Cjpf3bLL.cjs → typescript-ro3bsRwC.cjs} +1 -1
- package/dist/util/cloudflareImages.d.ts +1 -8
- package/dist/util/gallery.d.ts +20 -20
- package/dist/util/useTheme.d.ts +1 -431
- package/package.json +4 -4
- package/dist/css-UgpohNaw.cjs +0 -1
- package/dist/json-DEcHyC5F.cjs +0 -1
- package/dist/scss-DpqvoUEp.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function y(e){const n=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),_="decltype\\(auto\\)",c="[a-zA-Z_]\\w*::",
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function y(e){const n=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),_="decltype\\(auto\\)",c="[a-zA-Z_]\\w*::",m="(?!struct)("+_+"|"+n.optional(c)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",r={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},i={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},E={className:"title",begin:n.optional(c)+e.IDENT_RE,relevance:0},u=n.optional(c)+e.IDENT_RE+"\\s*\\(",d=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],g=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],t={type:f,keyword:d,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:g},p={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:n.concat(/\b/,`(?!${d.join("|")})`,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},l=[p,o,r,a,e.C_BLOCK_COMMENT_MODE,i,s],N={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:t,contains:l.concat([{begin:/\(/,end:/\)/,keywords:t,contains:l.concat(["self"]),relevance:0}]),relevance:0},T={className:"function",begin:"("+m+"[\\*&\\s]+)+"+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:t,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:_,keywords:t,relevance:0},{begin:u,returnBegin:!0,contains:[E],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,i]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,s,i,r,{begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,s,i,r]}]},r,a,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:t,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(N,T,p,l,[o,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:t,contains:["self",r]},{begin:e.IDENT_RE+"::",keywords:t},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}exports.default=y;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function
|
|
2
|
-
const n = e.regex, a = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), _ = "decltype\\(auto\\)", c = "[a-zA-Z_]\\w*::",
|
|
1
|
+
function h(e) {
|
|
2
|
+
const n = e.regex, a = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), _ = "decltype\\(auto\\)", c = "[a-zA-Z_]\\w*::", m = "(?!struct)(" + _ + "|" + n.optional(c) + "[a-zA-Z_]\\w*" + n.optional("<[^<>]+>") + ")", r = {
|
|
3
3
|
className: "type",
|
|
4
4
|
begin: "\\b[a-z\\d_]*_t\\b"
|
|
5
5
|
}, s = {
|
|
@@ -54,11 +54,11 @@ function v(e) {
|
|
|
54
54
|
a,
|
|
55
55
|
e.C_BLOCK_COMMENT_MODE
|
|
56
56
|
]
|
|
57
|
-
},
|
|
57
|
+
}, E = {
|
|
58
58
|
className: "title",
|
|
59
59
|
begin: n.optional(c) + e.IDENT_RE,
|
|
60
60
|
relevance: 0
|
|
61
|
-
}, u = n.optional(c) + e.IDENT_RE + "\\s*\\(",
|
|
61
|
+
}, u = n.optional(c) + e.IDENT_RE + "\\s*\\(", d = [
|
|
62
62
|
"alignas",
|
|
63
63
|
"alignof",
|
|
64
64
|
"and",
|
|
@@ -324,7 +324,7 @@ function v(e) {
|
|
|
324
324
|
"vsprintf"
|
|
325
325
|
], t = {
|
|
326
326
|
type: f,
|
|
327
|
-
keyword:
|
|
327
|
+
keyword: d,
|
|
328
328
|
literal: [
|
|
329
329
|
"NULL",
|
|
330
330
|
"false",
|
|
@@ -334,7 +334,7 @@ function v(e) {
|
|
|
334
334
|
],
|
|
335
335
|
built_in: ["_Pragma"],
|
|
336
336
|
_type_hints: g
|
|
337
|
-
},
|
|
337
|
+
}, p = {
|
|
338
338
|
className: "function.dispatch",
|
|
339
339
|
relevance: 0,
|
|
340
340
|
keywords: {
|
|
@@ -343,16 +343,12 @@ function v(e) {
|
|
|
343
343
|
},
|
|
344
344
|
begin: n.concat(
|
|
345
345
|
/\b/,
|
|
346
|
-
|
|
347
|
-
/(?!if)/,
|
|
348
|
-
/(?!for)/,
|
|
349
|
-
/(?!switch)/,
|
|
350
|
-
/(?!while)/,
|
|
346
|
+
`(?!${d.join("|")})`,
|
|
351
347
|
e.IDENT_RE,
|
|
352
348
|
n.lookahead(/(<[^<>]+>|)\s*\(/)
|
|
353
349
|
)
|
|
354
350
|
}, l = [
|
|
355
|
-
|
|
351
|
+
p,
|
|
356
352
|
o,
|
|
357
353
|
r,
|
|
358
354
|
a,
|
|
@@ -390,7 +386,7 @@ function v(e) {
|
|
|
390
386
|
relevance: 0
|
|
391
387
|
}, T = {
|
|
392
388
|
className: "function",
|
|
393
|
-
begin: "(" +
|
|
389
|
+
begin: "(" + m + "[\\*&\\s]+)+" + u,
|
|
394
390
|
returnBegin: !0,
|
|
395
391
|
end: /[{;=]/,
|
|
396
392
|
excludeEnd: !0,
|
|
@@ -406,7 +402,7 @@ function v(e) {
|
|
|
406
402
|
{
|
|
407
403
|
begin: u,
|
|
408
404
|
returnBegin: !0,
|
|
409
|
-
contains: [
|
|
405
|
+
contains: [E],
|
|
410
406
|
relevance: 0
|
|
411
407
|
},
|
|
412
408
|
// needed because we do not have look-behind on the below rule
|
|
@@ -482,7 +478,7 @@ function v(e) {
|
|
|
482
478
|
contains: [].concat(
|
|
483
479
|
N,
|
|
484
480
|
T,
|
|
485
|
-
|
|
481
|
+
p,
|
|
486
482
|
l,
|
|
487
483
|
[
|
|
488
484
|
o,
|
|
@@ -517,5 +513,5 @@ function v(e) {
|
|
|
517
513
|
};
|
|
518
514
|
}
|
|
519
515
|
export {
|
|
520
|
-
|
|
516
|
+
h as default
|
|
521
517
|
};
|
|
@@ -8,6 +8,10 @@ const s = (t) => ({
|
|
|
8
8
|
scope: "number",
|
|
9
9
|
begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
|
|
10
10
|
},
|
|
11
|
+
UNICODE_RANGE: {
|
|
12
|
+
scope: "number",
|
|
13
|
+
begin: /\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,4}(-[0-9A-Fa-f][0-9A-Fa-f]{0,4})?/
|
|
14
|
+
},
|
|
11
15
|
FUNCTION_DISPATCH: {
|
|
12
16
|
className: "built_in",
|
|
13
17
|
begin: /[\w-]+(?=\()/
|
|
@@ -763,6 +767,7 @@ const s = (t) => ({
|
|
|
763
767
|
"transition-timing-function",
|
|
764
768
|
"translate",
|
|
765
769
|
"unicode-bidi",
|
|
770
|
+
"unicode-range",
|
|
766
771
|
"user-modify",
|
|
767
772
|
"user-select",
|
|
768
773
|
"vector-effect",
|
|
@@ -795,7 +800,7 @@ const s = (t) => ({
|
|
|
795
800
|
"z-index",
|
|
796
801
|
"zoom"
|
|
797
802
|
].sort().reverse();
|
|
798
|
-
function
|
|
803
|
+
function u(t) {
|
|
799
804
|
const o = t.regex, e = s(t), r = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, n = "and or not only", a = /@-?\w[\w]*(-\w+)*/, l = "[a-zA-Z-][a-zA-Z0-9_-]*", i = [
|
|
800
805
|
t.APOS_STRING_MODE,
|
|
801
806
|
t.QUOTE_STRING_MODE
|
|
@@ -854,9 +859,10 @@ function h(t) {
|
|
|
854
859
|
e.HEXCOLOR,
|
|
855
860
|
e.IMPORTANT,
|
|
856
861
|
e.CSS_NUMBER_MODE,
|
|
862
|
+
e.UNICODE_RANGE,
|
|
857
863
|
...i,
|
|
858
864
|
// needed to highlight these as strings and to avoid issues with
|
|
859
|
-
// illegal characters that might be inside urls that would
|
|
865
|
+
// illegal characters that might be inside urls that would trigger the
|
|
860
866
|
// languages illegal stack
|
|
861
867
|
{
|
|
862
868
|
begin: /(url|data-uri)\(/,
|
|
@@ -919,5 +925,5 @@ function h(t) {
|
|
|
919
925
|
};
|
|
920
926
|
}
|
|
921
927
|
export {
|
|
922
|
-
|
|
928
|
+
u as default
|
|
923
929
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,4}(-[0-9A-Fa-f][0-9A-Fa-f]{0,4})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),c=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],d=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],m=[...c,...d],b=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),g=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),p=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),f=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function u(t){const o=t.regex,e=s(t),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n="and or not only",a=/@-?\w[\w]*(-\w+)*/,l="[a-zA-Z-][a-zA-Z0-9_-]*",i=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.BLOCK_COMMENT,r,e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+l,relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+g.join("|")+")"},{begin:":(:)?("+p.join("|")+")"}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+f.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[e.BLOCK_COMMENT,e.HEXCOLOR,e.IMPORTANT,e.CSS_NUMBER_MODE,e.UNICODE_RANGE,...i,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...i,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},e.FUNCTION_DISPATCH]},{begin:o.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:b.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...i,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+m.join("|")+")\\b"}]}}exports.default=u;
|
package/dist/embed/embed.d.ts
CHANGED
|
@@ -22,7 +22,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
22
22
|
readonly bridge: FieldsBridge;
|
|
23
23
|
readonly showBackBtn: boolean;
|
|
24
24
|
readonly branding: boolean;
|
|
25
|
-
readonly exportOptions: z.infer<
|
|
25
|
+
readonly exportOptions: z.infer<z.ZodObject<{
|
|
26
|
+
bluepicBranding: z.ZodBoolean;
|
|
27
|
+
layout: z.ZodEnum<{
|
|
28
|
+
stack: "stack";
|
|
29
|
+
gallery: "gallery";
|
|
30
|
+
"selection:horizontal": "selection:horizontal";
|
|
31
|
+
"selection:vertical": "selection:vertical";
|
|
32
|
+
}>;
|
|
33
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
34
|
+
title: z.ZodOptional<z.ZodString>;
|
|
35
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
36
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
37
|
+
sortByCategories: z.ZodBoolean;
|
|
38
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
39
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
|
+
export: z.ZodObject<{
|
|
41
|
+
linkedInOAuth: z.ZodBoolean;
|
|
42
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
socialConnections: z.ZodObject<{
|
|
44
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
actionalConnections: z.ZodObject<{
|
|
52
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
54
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
}, z.core.$strip>>;
|
|
26
58
|
readonly apiBaseUrl: string;
|
|
27
59
|
readonly env: "prod" | "dev";
|
|
28
60
|
readonly templateId: string;
|
|
@@ -91,7 +123,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
91
123
|
bridge: FieldsBridge;
|
|
92
124
|
showBackBtn: boolean;
|
|
93
125
|
branding: boolean;
|
|
94
|
-
exportOptions: z.infer<
|
|
126
|
+
exportOptions: z.infer<z.ZodObject<{
|
|
127
|
+
bluepicBranding: z.ZodBoolean;
|
|
128
|
+
layout: z.ZodEnum<{
|
|
129
|
+
stack: "stack";
|
|
130
|
+
gallery: "gallery";
|
|
131
|
+
"selection:horizontal": "selection:horizontal";
|
|
132
|
+
"selection:vertical": "selection:vertical";
|
|
133
|
+
}>;
|
|
134
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
135
|
+
title: z.ZodOptional<z.ZodString>;
|
|
136
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
137
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
138
|
+
sortByCategories: z.ZodBoolean;
|
|
139
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
140
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
141
|
+
export: z.ZodObject<{
|
|
142
|
+
linkedInOAuth: z.ZodBoolean;
|
|
143
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
socialConnections: z.ZodObject<{
|
|
145
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
actionalConnections: z.ZodObject<{
|
|
153
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
155
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
}, z.core.$strip>;
|
|
158
|
+
}, z.core.$strip>>;
|
|
95
159
|
apiBaseUrl: string;
|
|
96
160
|
env: "prod" | "dev";
|
|
97
161
|
templateId: string;
|
|
@@ -2885,7 +2949,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2885
2949
|
bridge: FieldsBridge;
|
|
2886
2950
|
showBackBtn: boolean;
|
|
2887
2951
|
branding: boolean;
|
|
2888
|
-
exportOptions: z.infer<
|
|
2952
|
+
exportOptions: z.infer<z.ZodObject<{
|
|
2953
|
+
bluepicBranding: z.ZodBoolean;
|
|
2954
|
+
layout: z.ZodEnum<{
|
|
2955
|
+
stack: "stack";
|
|
2956
|
+
gallery: "gallery";
|
|
2957
|
+
"selection:horizontal": "selection:horizontal";
|
|
2958
|
+
"selection:vertical": "selection:vertical";
|
|
2959
|
+
}>;
|
|
2960
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
2961
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2962
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
2963
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2964
|
+
sortByCategories: z.ZodBoolean;
|
|
2965
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2966
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2967
|
+
export: z.ZodObject<{
|
|
2968
|
+
linkedInOAuth: z.ZodBoolean;
|
|
2969
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
2970
|
+
socialConnections: z.ZodObject<{
|
|
2971
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
2972
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
2973
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
2974
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
2975
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
2976
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
2977
|
+
}, z.core.$strip>;
|
|
2978
|
+
actionalConnections: z.ZodObject<{
|
|
2979
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
2980
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
2981
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
2982
|
+
}, z.core.$strip>;
|
|
2983
|
+
}, z.core.$strip>;
|
|
2984
|
+
}, z.core.$strip>>;
|
|
2889
2985
|
apiBaseUrl: string;
|
|
2890
2986
|
env: "prod" | "dev";
|
|
2891
2987
|
templateId: string;
|
|
@@ -4291,7 +4387,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4291
4387
|
readonly bridge: FieldsBridge;
|
|
4292
4388
|
readonly showBackBtn: boolean;
|
|
4293
4389
|
readonly branding: boolean;
|
|
4294
|
-
readonly exportOptions: z.infer<
|
|
4390
|
+
readonly exportOptions: z.infer<z.ZodObject<{
|
|
4391
|
+
bluepicBranding: z.ZodBoolean;
|
|
4392
|
+
layout: z.ZodEnum<{
|
|
4393
|
+
stack: "stack";
|
|
4394
|
+
gallery: "gallery";
|
|
4395
|
+
"selection:horizontal": "selection:horizontal";
|
|
4396
|
+
"selection:vertical": "selection:vertical";
|
|
4397
|
+
}>;
|
|
4398
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
4399
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4400
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
4401
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4402
|
+
sortByCategories: z.ZodBoolean;
|
|
4403
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4404
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4405
|
+
export: z.ZodObject<{
|
|
4406
|
+
linkedInOAuth: z.ZodBoolean;
|
|
4407
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
4408
|
+
socialConnections: z.ZodObject<{
|
|
4409
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
4410
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
4411
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
4412
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
4413
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
4414
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
4415
|
+
}, z.core.$strip>;
|
|
4416
|
+
actionalConnections: z.ZodObject<{
|
|
4417
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
4418
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
4419
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
4420
|
+
}, z.core.$strip>;
|
|
4421
|
+
}, z.core.$strip>;
|
|
4422
|
+
}, z.core.$strip>>;
|
|
4295
4423
|
readonly apiBaseUrl: string;
|
|
4296
4424
|
readonly env: "prod" | "dev";
|
|
4297
4425
|
readonly templateId: string;
|
|
@@ -4360,7 +4488,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4360
4488
|
bridge: FieldsBridge;
|
|
4361
4489
|
showBackBtn: boolean;
|
|
4362
4490
|
branding: boolean;
|
|
4363
|
-
exportOptions: z.infer<
|
|
4491
|
+
exportOptions: z.infer<z.ZodObject<{
|
|
4492
|
+
bluepicBranding: z.ZodBoolean;
|
|
4493
|
+
layout: z.ZodEnum<{
|
|
4494
|
+
stack: "stack";
|
|
4495
|
+
gallery: "gallery";
|
|
4496
|
+
"selection:horizontal": "selection:horizontal";
|
|
4497
|
+
"selection:vertical": "selection:vertical";
|
|
4498
|
+
}>;
|
|
4499
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
4500
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4501
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
4502
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4503
|
+
sortByCategories: z.ZodBoolean;
|
|
4504
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4505
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4506
|
+
export: z.ZodObject<{
|
|
4507
|
+
linkedInOAuth: z.ZodBoolean;
|
|
4508
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
4509
|
+
socialConnections: z.ZodObject<{
|
|
4510
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
4511
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
4512
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
4513
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
4514
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
4515
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
4516
|
+
}, z.core.$strip>;
|
|
4517
|
+
actionalConnections: z.ZodObject<{
|
|
4518
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
4519
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
4520
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
4521
|
+
}, z.core.$strip>;
|
|
4522
|
+
}, z.core.$strip>;
|
|
4523
|
+
}, z.core.$strip>>;
|
|
4364
4524
|
apiBaseUrl: string;
|
|
4365
4525
|
env: "prod" | "dev";
|
|
4366
4526
|
templateId: string;
|
|
@@ -7154,7 +7314,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7154
7314
|
bridge: FieldsBridge;
|
|
7155
7315
|
showBackBtn: boolean;
|
|
7156
7316
|
branding: boolean;
|
|
7157
|
-
exportOptions: z.infer<
|
|
7317
|
+
exportOptions: z.infer<z.ZodObject<{
|
|
7318
|
+
bluepicBranding: z.ZodBoolean;
|
|
7319
|
+
layout: z.ZodEnum<{
|
|
7320
|
+
stack: "stack";
|
|
7321
|
+
gallery: "gallery";
|
|
7322
|
+
"selection:horizontal": "selection:horizontal";
|
|
7323
|
+
"selection:vertical": "selection:vertical";
|
|
7324
|
+
}>;
|
|
7325
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
7326
|
+
title: z.ZodOptional<z.ZodString>;
|
|
7327
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
7328
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7329
|
+
sortByCategories: z.ZodBoolean;
|
|
7330
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7331
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7332
|
+
export: z.ZodObject<{
|
|
7333
|
+
linkedInOAuth: z.ZodBoolean;
|
|
7334
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
7335
|
+
socialConnections: z.ZodObject<{
|
|
7336
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
7337
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
7338
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
7339
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
7340
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
7341
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
7342
|
+
}, z.core.$strip>;
|
|
7343
|
+
actionalConnections: z.ZodObject<{
|
|
7344
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
7345
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
7346
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
7347
|
+
}, z.core.$strip>;
|
|
7348
|
+
}, z.core.$strip>;
|
|
7349
|
+
}, z.core.$strip>>;
|
|
7158
7350
|
apiBaseUrl: string;
|
|
7159
7351
|
env: "prod" | "dev";
|
|
7160
7352
|
templateId: string;
|
|
@@ -8555,145 +8747,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8555
8747
|
serial: Ref<Template.Serial | undefined, Template.Serial | undefined>;
|
|
8556
8748
|
preview: Ref<string | undefined, string | undefined>;
|
|
8557
8749
|
templateName: Ref<string, string>;
|
|
8558
|
-
campaign: Ref<
|
|
8559
|
-
id: number;
|
|
8560
|
-
uid: string;
|
|
8561
|
-
userId: string;
|
|
8562
|
-
name: string;
|
|
8563
|
-
type: "template" | "email" | "widget" | "team" | "web" | "batch" | "api";
|
|
8564
|
-
active: boolean;
|
|
8565
|
-
private: boolean;
|
|
8566
|
-
password: string | null;
|
|
8567
|
-
customSlug: string | null;
|
|
8568
|
-
customDomain: string | null;
|
|
8569
|
-
sharedWithOrganizations: number[];
|
|
8570
|
-
exportActions: {
|
|
8571
|
-
trigger: "user-gesture" | "onupdate";
|
|
8572
|
-
label: string;
|
|
8573
|
-
download: boolean;
|
|
8574
|
-
renderFormat?: "svg" | "none" | "png" | "jpeg" | "pdf" | "gif" | "idml" | undefined;
|
|
8575
|
-
successMessage?: string | undefined;
|
|
8576
|
-
webhook?: string | undefined;
|
|
8577
|
-
redirect?: string | undefined;
|
|
8578
|
-
}[];
|
|
8579
|
-
templates: string[];
|
|
8580
|
-
config: {
|
|
8581
|
-
bluepicBranding: boolean;
|
|
8582
|
-
layout: "stack" | "gallery" | "selection:horizontal" | "selection:vertical";
|
|
8583
|
-
allowPanAndZoom: boolean;
|
|
8584
|
-
sortByCategories: boolean;
|
|
8585
|
-
export: {
|
|
8586
|
-
linkedInOAuth: boolean;
|
|
8587
|
-
socialConnections: {
|
|
8588
|
-
instagram?: boolean | undefined;
|
|
8589
|
-
facebook?: boolean | undefined;
|
|
8590
|
-
linkedin?: boolean | undefined;
|
|
8591
|
-
mail?: boolean | undefined;
|
|
8592
|
-
whatsapp?: boolean | undefined;
|
|
8593
|
-
x?: boolean | undefined;
|
|
8594
|
-
};
|
|
8595
|
-
actionalConnections: {
|
|
8596
|
-
download?: boolean | undefined;
|
|
8597
|
-
webhook?: string | undefined;
|
|
8598
|
-
redirect?: string | undefined;
|
|
8599
|
-
};
|
|
8600
|
-
trackLinks?: boolean | undefined;
|
|
8601
|
-
};
|
|
8602
|
-
logo?: string | undefined;
|
|
8603
|
-
title?: string | undefined;
|
|
8604
|
-
customStyle?: Record<string, string> | undefined;
|
|
8605
|
-
captions?: Record<string, string> | undefined;
|
|
8606
|
-
categories?: Record<string, string> | undefined;
|
|
8607
|
-
};
|
|
8608
|
-
landingPage: {
|
|
8609
|
-
headerTitle?: string | undefined;
|
|
8610
|
-
headerColor?: string | undefined;
|
|
8611
|
-
headerImage?: string | undefined;
|
|
8612
|
-
headerHtml?: string | undefined;
|
|
8613
|
-
backgroundColor?: string | undefined;
|
|
8614
|
-
backgroundImage?: string | undefined;
|
|
8615
|
-
bodyTitle?: string | undefined;
|
|
8616
|
-
bodySubtitle?: string | undefined;
|
|
8617
|
-
bodyHtml?: string | undefined;
|
|
8618
|
-
customPrivacy?: string | undefined;
|
|
8619
|
-
customImprint?: string | undefined;
|
|
8620
|
-
pageLayout?: "scroll" | "flex" | undefined;
|
|
8621
|
-
} | null;
|
|
8622
|
-
emailCampaign: Record<string, any> | null;
|
|
8623
|
-
thumbnail: string | null;
|
|
8624
|
-
createdAt: string;
|
|
8625
|
-
updatedAt: string;
|
|
8626
|
-
pinnedBy: string[];
|
|
8627
|
-
} | undefined, {
|
|
8628
|
-
id: number;
|
|
8629
|
-
uid: string;
|
|
8630
|
-
userId: string;
|
|
8631
|
-
name: string;
|
|
8632
|
-
type: "template" | "email" | "widget" | "team" | "web" | "batch" | "api";
|
|
8633
|
-
active: boolean;
|
|
8634
|
-
private: boolean;
|
|
8635
|
-
password: string | null;
|
|
8636
|
-
customSlug: string | null;
|
|
8637
|
-
customDomain: string | null;
|
|
8638
|
-
sharedWithOrganizations: number[];
|
|
8639
|
-
exportActions: {
|
|
8640
|
-
trigger: "user-gesture" | "onupdate";
|
|
8641
|
-
label: string;
|
|
8642
|
-
download: boolean;
|
|
8643
|
-
renderFormat?: "svg" | "none" | "png" | "jpeg" | "pdf" | "gif" | "idml" | undefined;
|
|
8644
|
-
successMessage?: string | undefined;
|
|
8645
|
-
webhook?: string | undefined;
|
|
8646
|
-
redirect?: string | undefined;
|
|
8647
|
-
}[];
|
|
8648
|
-
templates: string[];
|
|
8649
|
-
config: {
|
|
8650
|
-
bluepicBranding: boolean;
|
|
8651
|
-
layout: "stack" | "gallery" | "selection:horizontal" | "selection:vertical";
|
|
8652
|
-
allowPanAndZoom: boolean;
|
|
8653
|
-
sortByCategories: boolean;
|
|
8654
|
-
export: {
|
|
8655
|
-
linkedInOAuth: boolean;
|
|
8656
|
-
socialConnections: {
|
|
8657
|
-
instagram?: boolean | undefined;
|
|
8658
|
-
facebook?: boolean | undefined;
|
|
8659
|
-
linkedin?: boolean | undefined;
|
|
8660
|
-
mail?: boolean | undefined;
|
|
8661
|
-
whatsapp?: boolean | undefined;
|
|
8662
|
-
x?: boolean | undefined;
|
|
8663
|
-
};
|
|
8664
|
-
actionalConnections: {
|
|
8665
|
-
download?: boolean | undefined;
|
|
8666
|
-
webhook?: string | undefined;
|
|
8667
|
-
redirect?: string | undefined;
|
|
8668
|
-
};
|
|
8669
|
-
trackLinks?: boolean | undefined;
|
|
8670
|
-
};
|
|
8671
|
-
logo?: string | undefined;
|
|
8672
|
-
title?: string | undefined;
|
|
8673
|
-
customStyle?: Record<string, string> | undefined;
|
|
8674
|
-
captions?: Record<string, string> | undefined;
|
|
8675
|
-
categories?: Record<string, string> | undefined;
|
|
8676
|
-
};
|
|
8677
|
-
landingPage: {
|
|
8678
|
-
headerTitle?: string | undefined;
|
|
8679
|
-
headerColor?: string | undefined;
|
|
8680
|
-
headerImage?: string | undefined;
|
|
8681
|
-
headerHtml?: string | undefined;
|
|
8682
|
-
backgroundColor?: string | undefined;
|
|
8683
|
-
backgroundImage?: string | undefined;
|
|
8684
|
-
bodyTitle?: string | undefined;
|
|
8685
|
-
bodySubtitle?: string | undefined;
|
|
8686
|
-
bodyHtml?: string | undefined;
|
|
8687
|
-
customPrivacy?: string | undefined;
|
|
8688
|
-
customImprint?: string | undefined;
|
|
8689
|
-
pageLayout?: "scroll" | "flex" | undefined;
|
|
8690
|
-
} | null;
|
|
8691
|
-
emailCampaign: Record<string, any> | null;
|
|
8692
|
-
thumbnail: string | null;
|
|
8693
|
-
createdAt: string;
|
|
8694
|
-
updatedAt: string;
|
|
8695
|
-
pinnedBy: string[];
|
|
8696
|
-
} | undefined>;
|
|
8750
|
+
campaign: Ref<any, any>;
|
|
8697
8751
|
bxCoreVersion: Ref<string | undefined, string | undefined>;
|
|
8698
8752
|
allowPanAndZoom: Ref<boolean, boolean>;
|
|
8699
8753
|
branding: Ref<boolean, boolean>;
|
|
@@ -445,7 +445,8 @@ function X(e) {
|
|
|
445
445
|
P([
|
|
446
446
|
...w,
|
|
447
447
|
"super",
|
|
448
|
-
"import"
|
|
448
|
+
"import",
|
|
449
|
+
"await"
|
|
449
450
|
].map((a) => `${a}\\s*\\(`)),
|
|
450
451
|
n,
|
|
451
452
|
t.lookahead(/\s*\(/)
|
|
@@ -505,7 +506,7 @@ function X(e) {
|
|
|
505
506
|
keywords: s,
|
|
506
507
|
// this will be extended by TypeScript
|
|
507
508
|
exports: { PARAMS_CONTAINS: b, CLASS_REFERENCE: O },
|
|
508
|
-
illegal: /#(?![$_A-z])/,
|
|
509
|
+
illegal: /#(?![$_A-Za-z])/,
|
|
509
510
|
contains: [
|
|
510
511
|
e.SHEBANG({
|
|
511
512
|
label: "shebang",
|