@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=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_-]*/}}),s=["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"],c=["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"],d=[...s,...c],p=["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(),b=["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(),m=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),g=["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 f(t){const e=l(t),r=m,n=b,o="@[a-z-]+",a="and or not only",i={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+d.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+r.join("|")+")"},i,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+g.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[e.BLOCK_COMMENT,i,e.HEXCOLOR,e.CSS_NUMBER_MODE,e.UNICODE_RANGE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:o,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:a,attribute:p.join(" ")},contains:[{begin:o,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},i,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.HEXCOLOR,e.CSS_NUMBER_MODE]},e.FUNCTION_DISPATCH]}}exports.default=f;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
const l = (
|
|
1
|
+
const l = (t) => ({
|
|
2
2
|
IMPORTANT: {
|
|
3
3
|
scope: "meta",
|
|
4
4
|
begin: "!important"
|
|
5
5
|
},
|
|
6
|
-
BLOCK_COMMENT:
|
|
6
|
+
BLOCK_COMMENT: t.C_BLOCK_COMMENT_MODE,
|
|
7
7
|
HEXCOLOR: {
|
|
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-]+(?=\()/
|
|
@@ -18,13 +22,13 @@ const l = (e) => ({
|
|
|
18
22
|
end: /\]/,
|
|
19
23
|
illegal: "$",
|
|
20
24
|
contains: [
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
t.APOS_STRING_MODE,
|
|
26
|
+
t.QUOTE_STRING_MODE
|
|
23
27
|
]
|
|
24
28
|
},
|
|
25
29
|
CSS_NUMBER_MODE: {
|
|
26
30
|
scope: "number",
|
|
27
|
-
begin:
|
|
31
|
+
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)?",
|
|
28
32
|
relevance: 0
|
|
29
33
|
},
|
|
30
34
|
CSS_VARIABLE: {
|
|
@@ -763,6 +767,7 @@ const l = (e) => ({
|
|
|
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,8 +800,8 @@ const l = (e) => ({
|
|
|
795
800
|
"z-index",
|
|
796
801
|
"zoom"
|
|
797
802
|
].sort().reverse();
|
|
798
|
-
function h(
|
|
799
|
-
const
|
|
803
|
+
function h(t) {
|
|
804
|
+
const e = l(t), r = m, n = b, o = "@[a-z-]+", a = "and or not only", i = {
|
|
800
805
|
className: "variable",
|
|
801
806
|
begin: "(\\$" + "[a-zA-Z-][a-zA-Z0-9_-]*" + ")\\b",
|
|
802
807
|
relevance: 0
|
|
@@ -806,11 +811,11 @@ function h(e) {
|
|
|
806
811
|
case_insensitive: !0,
|
|
807
812
|
illegal: "[=/|']",
|
|
808
813
|
contains: [
|
|
809
|
-
|
|
810
|
-
|
|
814
|
+
t.C_LINE_COMMENT_MODE,
|
|
815
|
+
t.C_BLOCK_COMMENT_MODE,
|
|
811
816
|
// to recognize keyframe 40% etc which are outside the scope of our
|
|
812
817
|
// attribute value mode
|
|
813
|
-
|
|
818
|
+
e.CSS_NUMBER_MODE,
|
|
814
819
|
{
|
|
815
820
|
className: "selector-id",
|
|
816
821
|
begin: "#[A-Za-z0-9_-]+",
|
|
@@ -821,7 +826,7 @@ function h(e) {
|
|
|
821
826
|
begin: "\\.[A-Za-z0-9_-]+",
|
|
822
827
|
relevance: 0
|
|
823
828
|
},
|
|
824
|
-
|
|
829
|
+
e.ATTRIBUTE_SELECTOR_MODE,
|
|
825
830
|
{
|
|
826
831
|
className: "selector-tag",
|
|
827
832
|
begin: "\\b(" + d.join("|") + ")\\b",
|
|
@@ -841,9 +846,9 @@ function h(e) {
|
|
|
841
846
|
// pseudo-selector params
|
|
842
847
|
begin: /\(/,
|
|
843
848
|
end: /\)/,
|
|
844
|
-
contains: [
|
|
849
|
+
contains: [e.CSS_NUMBER_MODE]
|
|
845
850
|
},
|
|
846
|
-
|
|
851
|
+
e.CSS_VARIABLE,
|
|
847
852
|
{
|
|
848
853
|
className: "attribute",
|
|
849
854
|
begin: "\\b(" + g.join("|") + ")\\b"
|
|
@@ -854,14 +859,15 @@ function h(e) {
|
|
|
854
859
|
end: /[;}{]/,
|
|
855
860
|
relevance: 0,
|
|
856
861
|
contains: [
|
|
857
|
-
|
|
862
|
+
e.BLOCK_COMMENT,
|
|
858
863
|
i,
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
e.
|
|
862
|
-
|
|
863
|
-
t.
|
|
864
|
-
|
|
864
|
+
e.HEXCOLOR,
|
|
865
|
+
e.CSS_NUMBER_MODE,
|
|
866
|
+
e.UNICODE_RANGE,
|
|
867
|
+
t.QUOTE_STRING_MODE,
|
|
868
|
+
t.APOS_STRING_MODE,
|
|
869
|
+
e.IMPORTANT,
|
|
870
|
+
e.FUNCTION_DISPATCH
|
|
865
871
|
]
|
|
866
872
|
},
|
|
867
873
|
// matching these here allows us to treat them more like regular CSS
|
|
@@ -893,13 +899,13 @@ function h(e) {
|
|
|
893
899
|
className: "attribute"
|
|
894
900
|
},
|
|
895
901
|
i,
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
902
|
+
t.QUOTE_STRING_MODE,
|
|
903
|
+
t.APOS_STRING_MODE,
|
|
904
|
+
e.HEXCOLOR,
|
|
905
|
+
e.CSS_NUMBER_MODE
|
|
900
906
|
]
|
|
901
907
|
},
|
|
902
|
-
|
|
908
|
+
e.FUNCTION_DISPATCH
|
|
903
909
|
]
|
|
904
910
|
};
|
|
905
911
|
}
|
|
@@ -445,7 +445,8 @@ function J(e) {
|
|
|
445
445
|
z([
|
|
446
446
|
...B,
|
|
447
447
|
"super",
|
|
448
|
-
"import"
|
|
448
|
+
"import",
|
|
449
|
+
"await"
|
|
449
450
|
].map((s) => `${s}\\s*\\(`)),
|
|
450
451
|
n,
|
|
451
452
|
a.lookahead(/\s*\(/)
|
|
@@ -505,7 +506,7 @@ function J(e) {
|
|
|
505
506
|
keywords: o,
|
|
506
507
|
// this will be extended by TypeScript
|
|
507
508
|
exports: { PARAMS_CONTAINS: I, CLASS_REFERENCE: v },
|
|
508
|
-
illegal: /#(?![$_A-z])/,
|
|
509
|
+
illegal: /#(?![$_A-Za-z])/,
|
|
509
510
|
contains: [
|
|
510
511
|
e.SHEBANG({
|
|
511
512
|
label: "shebang",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y="[A-Za-z$_][0-9A-Za-z$_]*",x=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],k=["true","false","null","undefined","NaN","Infinity"],D=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],h=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],B=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],U=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],P=[].concat(B,D,h);function J(e){const a=e.regex,t=(s,{after:d})=>{const S="</"+s[0].slice(1);return s.input.indexOf(S,d)!==-1},n=y,b={begin:"<>",end:"</>"},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(s,d)=>{const S=s[0].length+s.index,f=s.input[S];if(f==="<"||f===","){d.ignoreMatch();return}f===">"&&(t(s,{after:S})||d.ignoreMatch());let O;const L=s.input.substring(S);if(O=L.match(/^\s*=/)){d.ignoreMatch();return}if((O=L.match(/^\s+extends\s+/))&&O.index===0){d.ignoreMatch();return}}},o={$pattern:y,keyword:x,literal:k,built_in:P,"variable.language":U},N="[0-9](_?[0-9])*",l=`\\.(${N})`,g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={className:"number",variants:[{begin:`(\\b(${g})((${l})|\\.)?|(${l}))[eE][+-]?(${N})\\b`},{begin:`\\b(${g})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},A={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},T={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},r={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},E={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,A,T,r,m,{match:/\$\d+/},u];c.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const M=[].concat(E,c.contains),I=M.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(M)}]),_={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:I},$={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,a.concat(n,"(",a.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},v={relevance:0,match:a.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...D,...h]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},G={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[_],illegal:/%/},Z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function z(s){return a.concat("(?!",s.join("|"),")")}const K={match:a.concat(/\b/,z([...B,"super","import"].map(s=>`${s}\\s*\\(`)),n,a.lookahead(/\s*\(/)),className:"title.function",relevance:0},H={begin:a.concat(/\./,a.lookahead(a.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Y={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},_]},w="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",W={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(w)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[_]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:v},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,A,T,r,m,E,{match:/\$\d+/},u,v,{scope:"attr",match:n+a.lookahead(":"),relevance:0},W,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:w,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:b.begin,end:b.end},{match:p},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[_,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},H,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[_]},K,Z,$,Y,{match:/\$[(.]/}]}}function X(e){const a=e.regex,t=J(e),n=y,b=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],p={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},i={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:b},contains:[t.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},N=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],l={$pattern:y,keyword:x.concat(N),literal:k,built_in:P.concat(b),"variable.language":U},g={className:"meta",begin:"@"+n},u=(r,m,C)=>{const E=r.contains.findIndex(R=>R.label===m);if(E===-1)throw new Error("can not find mode to replace");r.contains.splice(E,1,C)};Object.assign(t.keywords,l),t.exports.PARAMS_CONTAINS.push(g);const c=t.contains.find(r=>r.scope==="attr"),A=Object.assign({},c,{match:a.concat(n,a.lookahead(/\s*\?:/))});t.exports.PARAMS_CONTAINS.push([t.exports.CLASS_REFERENCE,c,A]),t.contains=t.contains.concat([g,p,i,A]),u(t,"shebang",e.SHEBANG()),u(t,"use_strict",o);const T=t.contains.find(r=>r.label==="func.def");return T.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}exports.default=X;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y="[A-Za-z$_][0-9A-Za-z$_]*",x=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],k=["true","false","null","undefined","NaN","Infinity"],D=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],h=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],B=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],U=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],P=[].concat(B,D,h);function J(e){const a=e.regex,t=(s,{after:d})=>{const S="</"+s[0].slice(1);return s.input.indexOf(S,d)!==-1},n=y,b={begin:"<>",end:"</>"},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(s,d)=>{const S=s[0].length+s.index,f=s.input[S];if(f==="<"||f===","){d.ignoreMatch();return}f===">"&&(t(s,{after:S})||d.ignoreMatch());let O;const L=s.input.substring(S);if(O=L.match(/^\s*=/)){d.ignoreMatch();return}if((O=L.match(/^\s+extends\s+/))&&O.index===0){d.ignoreMatch();return}}},o={$pattern:y,keyword:x,literal:k,built_in:P,"variable.language":U},N="[0-9](_?[0-9])*",l=`\\.(${N})`,g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={className:"number",variants:[{begin:`(\\b(${g})((${l})|\\.)?|(${l}))[eE][+-]?(${N})\\b`},{begin:`\\b(${g})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},A={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},T={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},r={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},E={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,A,T,r,m,{match:/\$\d+/},u];c.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const M=[].concat(E,c.contains),I=M.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(M)}]),_={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:I},$={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,a.concat(n,"(",a.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},v={relevance:0,match:a.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...D,...h]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},G={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[_],illegal:/%/},Z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function z(s){return a.concat("(?!",s.join("|"),")")}const K={match:a.concat(/\b/,z([...B,"super","import","await"].map(s=>`${s}\\s*\\(`)),n,a.lookahead(/\s*\(/)),className:"title.function",relevance:0},H={begin:a.concat(/\./,a.lookahead(a.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Y={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},_]},w="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",W={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(w)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[_]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:v},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,A,T,r,m,E,{match:/\$\d+/},u,v,{scope:"attr",match:n+a.lookahead(":"),relevance:0},W,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:w,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:b.begin,end:b.end},{match:p},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[_,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},H,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[_]},K,Z,$,Y,{match:/\$[(.]/}]}}function X(e){const a=e.regex,t=J(e),n=y,b=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],p={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},i={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:b},contains:[t.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},N=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],l={$pattern:y,keyword:x.concat(N),literal:k,built_in:P.concat(b),"variable.language":U},g={className:"meta",begin:"@"+n},u=(r,m,C)=>{const E=r.contains.findIndex(R=>R.label===m);if(E===-1)throw new Error("can not find mode to replace");r.contains.splice(E,1,C)};Object.assign(t.keywords,l),t.exports.PARAMS_CONTAINS.push(g);const c=t.contains.find(r=>r.scope==="attr"),A=Object.assign({},c,{match:a.concat(n,a.lookahead(/\s*\?:/))});t.exports.PARAMS_CONTAINS.push([t.exports.CLASS_REFERENCE,c,A]),t.contains=t.contains.concat([g,p,i,A]),u(t,"shebang",e.SHEBANG()),u(t,"use_strict",o);const T=t.contains.find(r=>r.label==="func.def");return T.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}exports.default=X;
|
|
@@ -16,11 +16,4 @@ export declare function parseCloudflareImagesDeliveryUrl(src: string): {
|
|
|
16
16
|
};
|
|
17
17
|
export declare function uploadImage(apiBaseUrl: string, templateId: string, context: {
|
|
18
18
|
field?: Template.Fields.BluepicField;
|
|
19
|
-
}, blob: Blob, name: string, onUploadProgress: (uploaded: number, total: number) => void): Promise<
|
|
20
|
-
key: string;
|
|
21
|
-
type: string;
|
|
22
|
-
url: string;
|
|
23
|
-
uploadedAt: string;
|
|
24
|
-
imageId?: string | undefined;
|
|
25
|
-
deliveryBase?: string | undefined;
|
|
26
|
-
}>;
|
|
19
|
+
}, blob: Blob, name: string, onUploadProgress: (uploaded: number, total: number) => void): Promise<any>;
|
package/dist/util/gallery.d.ts
CHANGED
|
@@ -4,16 +4,16 @@ export declare function groupTemplatesByName(templates: {
|
|
|
4
4
|
[k: string]: z.infer<typeof Studio.publicTemplateDescriptor>;
|
|
5
5
|
}): {
|
|
6
6
|
[k: string]: {
|
|
7
|
-
[k: string]: {
|
|
8
|
-
serial:
|
|
9
|
-
preview:
|
|
10
|
-
name:
|
|
11
|
-
width:
|
|
12
|
-
height:
|
|
13
|
-
category:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
7
|
+
[k: string]: z.infer<z.ZodObject<{
|
|
8
|
+
serial: z.ZodNullable<z.ZodAny>;
|
|
9
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
width: z.ZodNumber;
|
|
12
|
+
height: z.ZodNumber;
|
|
13
|
+
category: z.ZodNullable<z.ZodString>;
|
|
14
|
+
dpi: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
active: z.ZodBoolean;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
@@ -34,16 +34,16 @@ export declare function groupTemplatesByCategory(templates: {
|
|
|
34
34
|
category: string;
|
|
35
35
|
templatesByName: {
|
|
36
36
|
[k: string]: {
|
|
37
|
-
[k: string]: {
|
|
38
|
-
serial:
|
|
39
|
-
preview:
|
|
40
|
-
name:
|
|
41
|
-
width:
|
|
42
|
-
height:
|
|
43
|
-
category:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
37
|
+
[k: string]: z.infer<z.ZodObject<{
|
|
38
|
+
serial: z.ZodNullable<z.ZodAny>;
|
|
39
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
width: z.ZodNumber;
|
|
42
|
+
height: z.ZodNumber;
|
|
43
|
+
category: z.ZodNullable<z.ZodString>;
|
|
44
|
+
dpi: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
active: z.ZodBoolean;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
}[];
|