@builder.io/sdk-vue 1.0.3 → 1.0.6
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/lib/browser/{block-styles-O6zs87OW.cjs → block-styles-T5vCQuNZ.cjs} +1 -1
- package/lib/browser/{block-styles-ImJppKLu.js → block-styles-l1n9LOP3.js} +1 -1
- package/lib/browser/{block-wrapper-iQwK-yXe.cjs → block-wrapper-1iQeE0Vh.cjs} +1 -1
- package/lib/browser/{block-wrapper-butCDDIj.js → block-wrapper-AnautAQY.js} +3 -3
- package/lib/browser/blocks/button/index.d.ts +1 -0
- package/lib/browser/blocks/columns/index.d.ts +1 -0
- package/lib/browser/blocks/custom-code/index.d.ts +1 -0
- package/lib/browser/blocks/embed/index.d.ts +1 -0
- package/lib/browser/blocks/form/form/index.d.ts +1 -0
- package/lib/browser/blocks/form/input/index.d.ts +1 -0
- package/lib/browser/blocks/form/select/index.d.ts +1 -0
- package/lib/browser/blocks/form/submit-button/index.d.ts +1 -0
- package/lib/browser/blocks/fragment/index.d.ts +1 -0
- package/lib/browser/blocks/image/index.d.ts +1 -0
- package/lib/browser/blocks/img/index.d.ts +1 -0
- package/lib/browser/blocks/raw-text/index.d.ts +1 -0
- package/lib/browser/blocks/section/index.d.ts +1 -0
- package/lib/browser/blocks/slot/index.d.ts +1 -0
- package/lib/browser/blocks/symbol/index.d.ts +1 -0
- package/lib/browser/blocks/text/index.d.ts +1 -0
- package/lib/browser/blocks/textarea/index.d.ts +1 -0
- package/lib/browser/blocks/video/index.d.ts +1 -0
- package/lib/browser/{component-ref-kihkcAvN.cjs → component-ref-IYvN3d9s.cjs} +1 -1
- package/lib/browser/{component-ref-Yt4g22Y_.js → component-ref-RDMHJDH-.js} +2 -2
- package/lib/browser/components/blocks/index.d.ts +1 -0
- package/lib/browser/components/content-variants/index.d.ts +1 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/functions/get-builder-search-params/index.d.ts +1 -4
- package/lib/browser/functions/is-editing.d.ts +2 -1
- package/lib/browser/functions/is-previewing.d.ts +2 -1
- package/lib/browser/{get-block-properties-MyFVpr2Z.js → get-block-properties-7dUtKLsz.js} +1 -1
- package/lib/browser/{get-block-properties-EQ9TZrpu.cjs → get-block-properties-Eu8lMQZC.cjs} +1 -1
- package/lib/browser/helpers/search/search.d.ts +5 -0
- package/lib/browser/{index-NmrV8zHs.cjs → index-d4LYRnwM.cjs} +22 -22
- package/lib/browser/index-helpers/blocks-exports.d.ts +10 -11
- package/lib/browser/{index-xEqK9i7_.js → index-zZaokacW.js} +426 -420
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.d.cts +5 -2
- package/lib/browser/index.d.mts +5 -2
- package/lib/browser/index.js +1 -1
- package/lib/browser/{repeated-block-rvdElrZN.cjs → repeated-block-9AUw_5dN.cjs} +1 -1
- package/lib/browser/{repeated-block-Grs88baa.js → repeated-block-b6-zxC9q.js} +2 -2
- package/lib/browser/style.css +1 -1
- package/lib/edge/{block-styles-Fb5UheyE.cjs → block-styles-EryVnVT2.cjs} +1 -1
- package/lib/{node/block-styles-kd5Jj3SW.js → edge/block-styles-kfRV8Nfe.js} +1 -1
- package/lib/{node/block-wrapper-OutTq66R.cjs → edge/block-wrapper-CZA5mJGL.cjs} +1 -1
- package/lib/edge/{block-wrapper-vq-bMcar.js → block-wrapper-Yc91mn-c.js} +3 -3
- package/lib/edge/blocks/button/index.d.ts +1 -0
- package/lib/edge/blocks/columns/index.d.ts +1 -0
- package/lib/edge/blocks/custom-code/index.d.ts +1 -0
- package/lib/edge/blocks/embed/index.d.ts +1 -0
- package/lib/edge/blocks/form/form/index.d.ts +1 -0
- package/lib/edge/blocks/form/input/index.d.ts +1 -0
- package/lib/edge/blocks/form/select/index.d.ts +1 -0
- package/lib/edge/blocks/form/submit-button/index.d.ts +1 -0
- package/lib/edge/blocks/fragment/index.d.ts +1 -0
- package/lib/edge/blocks/image/index.d.ts +1 -0
- package/lib/edge/blocks/img/index.d.ts +1 -0
- package/lib/edge/blocks/raw-text/index.d.ts +1 -0
- package/lib/edge/blocks/section/index.d.ts +1 -0
- package/lib/edge/blocks/slot/index.d.ts +1 -0
- package/lib/edge/blocks/symbol/index.d.ts +1 -0
- package/lib/edge/blocks/text/index.d.ts +1 -0
- package/lib/edge/blocks/textarea/index.d.ts +1 -0
- package/lib/edge/blocks/video/index.d.ts +1 -0
- package/lib/{node/component-ref-HcbvZD65.js → edge/component-ref-0Icv1DAo.js} +2 -2
- package/lib/{node/component-ref-PvIqAbtS.cjs → edge/component-ref-i9944Zps.cjs} +1 -1
- package/lib/edge/components/blocks/index.d.ts +1 -0
- package/lib/edge/components/content-variants/index.d.ts +1 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/functions/get-builder-search-params/index.d.ts +1 -4
- package/lib/edge/functions/is-editing.d.ts +2 -1
- package/lib/edge/functions/is-previewing.d.ts +2 -1
- package/lib/{node/get-block-properties-BlNLSvwI.js → edge/get-block-properties-3NfhpZAv.js} +1 -1
- package/lib/edge/{get-block-properties-EdjUbf7x.cjs → get-block-properties-79cWdk2l.cjs} +1 -1
- package/lib/edge/helpers/search/search.d.ts +5 -0
- package/lib/edge/{index-P7fymkW9.cjs → index-Vawma8OH.cjs} +30 -30
- package/lib/edge/{index-RXZhlIsq.js → index-bHy_c22G.js} +480 -474
- package/lib/edge/index-helpers/blocks-exports.d.ts +10 -11
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.d.cts +5 -2
- package/lib/edge/index.d.mts +5 -2
- package/lib/edge/index.js +1 -1
- package/lib/edge/{repeated-block-ibo5w6qy.cjs → repeated-block-IKmC4gcU.cjs} +1 -1
- package/lib/{node/repeated-block-Ww_Y0Q7Z.js → edge/repeated-block-OZzE5RYv.js} +2 -2
- package/lib/edge/style.css +1 -1
- package/lib/node/{block-styles-MdVcqx1d.cjs → block-styles-gg6UCzQZ.cjs} +1 -1
- package/lib/{edge/block-styles-fRtdE0e9.js → node/block-styles-iIXlBuOj.js} +1 -1
- package/lib/node/{block-wrapper-XtMD8TEK.js → block-wrapper-2EdxXIso.js} +3 -3
- package/lib/{edge/block-wrapper-L46BmHXL.cjs → node/block-wrapper-LzsSTT7w.cjs} +1 -1
- package/lib/node/blocks/button/index.d.ts +1 -0
- package/lib/node/blocks/columns/index.d.ts +1 -0
- package/lib/node/blocks/custom-code/index.d.ts +1 -0
- package/lib/node/blocks/embed/index.d.ts +1 -0
- package/lib/node/blocks/form/form/index.d.ts +1 -0
- package/lib/node/blocks/form/input/index.d.ts +1 -0
- package/lib/node/blocks/form/select/index.d.ts +1 -0
- package/lib/node/blocks/form/submit-button/index.d.ts +1 -0
- package/lib/node/blocks/fragment/index.d.ts +1 -0
- package/lib/node/blocks/image/index.d.ts +1 -0
- package/lib/node/blocks/img/index.d.ts +1 -0
- package/lib/node/blocks/raw-text/index.d.ts +1 -0
- package/lib/node/blocks/section/index.d.ts +1 -0
- package/lib/node/blocks/slot/index.d.ts +1 -0
- package/lib/node/blocks/symbol/index.d.ts +1 -0
- package/lib/node/blocks/text/index.d.ts +1 -0
- package/lib/node/blocks/textarea/index.d.ts +1 -0
- package/lib/node/blocks/video/index.d.ts +1 -0
- package/lib/{edge/component-ref-brc13Tru.cjs → node/component-ref-QyoB6z9j.cjs} +1 -1
- package/lib/{edge/component-ref-_lH1Xl3_.js → node/component-ref-_Tts7Ixk.js} +2 -2
- package/lib/node/components/blocks/index.d.ts +1 -0
- package/lib/node/components/content-variants/index.d.ts +1 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/functions/get-builder-search-params/index.d.ts +1 -4
- package/lib/node/functions/is-editing.d.ts +2 -1
- package/lib/node/functions/is-previewing.d.ts +2 -1
- package/lib/{edge/get-block-properties-pPBPSsiy.js → node/get-block-properties-9PvYdu6g.js} +1 -1
- package/lib/node/{get-block-properties-Ji0ruaCy.cjs → get-block-properties-SoO0VRdP.cjs} +1 -1
- package/lib/node/helpers/search/search.d.ts +5 -0
- package/lib/node/{index-GiofhrQH.cjs → index-2NS4ZmVm.cjs} +6 -6
- package/lib/node/{index-dx-rqB58.js → index-8ZIeZjSs.js} +39 -33
- package/lib/node/index-helpers/blocks-exports.d.ts +10 -11
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.d.cts +5 -2
- package/lib/node/index.d.mts +5 -2
- package/lib/node/index.js +1 -1
- package/lib/node/{repeated-block-NSALbTMB.cjs → repeated-block-e41uch83.cjs} +1 -1
- package/lib/{edge/repeated-block-Bqv_g1t0.js → node/repeated-block-wVFWgrHC.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
var y=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-
|
|
1
|
+
var y=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-d4LYRnwM.cjs"),h=o.defineComponent({name:"block-styles",components:{InlinedStyles:t._sfc_main},props:["block","context"],data(){return{TARGET:t.TARGET}},computed:{canShowBlock(){const e=t.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0});return t.checkIsDefined(e.hide)?!e.hide:t.checkIsDefined(e.show)?e.show:!0},css(){var d;const e=t.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0}),s=e.responsiveStyles,n=this.context.content,r=t.getSizesForBreakpoints(((d=n==null?void 0:n.meta)==null?void 0:d.breakpoints)||{}),a=s==null?void 0:s.large,i=s==null?void 0:s.medium,c=s==null?void 0:s.small,l=e.id;if(!l)return"";const u=a?t.createCssClass({className:l,styles:a}):"",S=i?t.createCssClass({className:l,styles:i,mediaQuery:t.getMaxWidthQueryForSize("medium",r)}):"",m=c?t.createCssClass({className:l,styles:c,mediaQuery:t.getMaxWidthQueryForSize("small",r)}):"";return[u,S,m].join(" ")}}});function p(e,s,n,r,a,i){const c=o.resolveComponent("inlined-styles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(o.openBlock(),o.createBlock(c,{key:0,styles:e.css},null,8,["styles"])):o.createCommentVNode("",!0)}const k=t._export_sfc(h,[["render",p]]);exports.default=k;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as k, resolveComponent as y, openBlock as x, createBlock as f, createCommentVNode as B } from "vue";
|
|
3
|
-
import { _, T as b, g as d, c as m, a as g, b as r, d as S, e as C } from "./index-
|
|
3
|
+
import { _, T as b, g as d, c as m, a as g, b as r, d as S, e as C } from "./index-zZaokacW.js";
|
|
4
4
|
const v = k({
|
|
5
5
|
name: "block-styles",
|
|
6
6
|
components: { InlinedStyles: _ },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-
|
|
1
|
+
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-Eu8lMQZC.cjs"),n=require("./index-d4LYRnwM.cjs"),c=()=>Promise.resolve().then(()=>require("./index-d4LYRnwM.cjs")).then(e=>e.dynamicRenderer).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",e),e}),a=t.defineComponent({name:"block-wrapper",components:{DynamicRenderer:t.defineAsyncComponent(c)},props:["Wrapper","block","context"],data(){return{getBlockActions:o.getBlockActions,getBlockProperties:o.getBlockProperties}}});function i(e,l,p,d,m,u){const r=t.resolveComponent("dynamic-renderer");return t.openBlock(),t.createBlock(r,{TagName:e.Wrapper,attributes:e.getBlockProperties({block:e.block,context:e.context}),actionAttributes:e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0})},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["TagName","attributes","actionAttributes"])}const s=n._export_sfc(a,[["render",i]]);exports.default=s;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as i, renderSlot as p } from "vue";
|
|
3
|
-
import { g as s, a as l } from "./get-block-properties-
|
|
4
|
-
import { e as m } from "./index-
|
|
5
|
-
const d = () => import("./index-
|
|
3
|
+
import { g as s, a as l } from "./get-block-properties-7dUtKLsz.js";
|
|
4
|
+
import { e as m } from "./index-zZaokacW.js";
|
|
5
|
+
const d = () => import("./index-zZaokacW.js").then((e) => e.E).then((e) => e.default).catch((e) => {
|
|
6
6
|
throw console.error(
|
|
7
7
|
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
8
8
|
e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './button.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './columns.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './custom-code.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './embed.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './form.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './input.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './select.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './submit-button.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './fragment.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './image.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './img.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './raw-text.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './section.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './slot.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './symbol.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './text.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './textarea.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './video.vue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),p=require("./index-
|
|
1
|
+
var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),p=require("./index-d4LYRnwM.cjs"),a=require("./get-block-properties-Eu8lMQZC.cjs"),u=o.defineComponent({name:"interactive-element",props:["wrapperProps","includeBlockProps","block","context","Wrapper"],data(){return{getBlockActions:a.getBlockActions,getBlockProperties:a.getBlockProperties}}});function d(e,t,c,l,n,s){return o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({attributes:e.includeBlockProps?{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}},e.wrapperProps),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const m=p._export_sfc(u,[["render",d]]),B=({componentOptions:e,builderBlock:t,context:c,componentRef:l,includeBlockProps:n,isInteractive:s,contextValue:i})=>{const r={...e,...n?{attributes:a.getBlockProperties({block:t,context:i})}:{}};return s?{Wrapper:l,block:t,context:c,wrapperProps:e,includeBlockProps:n}:r},f=o.defineComponent({name:"component-ref",components:{Block:p.Block,InteractiveElement:m},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?p.wrapComponentRef(m):this.componentRef,getWrapperProps:B}}});function b(e,t,c,l,n,s){const i=o.resolveComponent("block");return e.componentRef?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.normalizeProps(o.mergeProps({key:0},e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}))),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.blockChildren,(r,k)=>(o.openBlock(),o.createBlock(i,{key:r.id,block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):o.createCommentVNode("",!0)}const C=p._export_sfc(f,[["render",b]]);exports.default=C;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as m, openBlock as r, createBlock as l, resolveDynamicComponent as k, mergeProps as d, withCtx as u, renderSlot as P, resolveComponent as B, normalizeProps as g, createElementBlock as $, Fragment as v, renderList as S, createCommentVNode as W } from "vue";
|
|
3
|
-
import { e as f, B as h, w } from "./index-
|
|
4
|
-
import { g as R, a as b } from "./get-block-properties-
|
|
3
|
+
import { e as f, B as h, w } from "./index-zZaokacW.js";
|
|
4
|
+
import { g as R, a as b } from "./get-block-properties-7dUtKLsz.js";
|
|
5
5
|
const I = m({
|
|
6
6
|
name: "interactive-element",
|
|
7
7
|
props: ["wrapperProps", "includeBlockProps", "block", "context", "Wrapper"],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './blocks.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './content-variants.vue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.6";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
type QueryObject
|
|
2
|
-
export declare const convertSearchParamsToQueryObject: (searchParams: URLSearchParams) => QueryObject;
|
|
1
|
+
import type { QueryObject } from '../../helpers/search/search.js';
|
|
3
2
|
/**
|
|
4
3
|
* Receives a `URLSearchParams` object or a regular query object, and returns the subset of query params that are
|
|
5
4
|
* relevant to the Builder SDK.
|
|
@@ -8,5 +7,3 @@ export declare const convertSearchParamsToQueryObject: (searchParams: URLSearchP
|
|
|
8
7
|
*/
|
|
9
8
|
export declare const getBuilderSearchParams: (_options: QueryObject | URLSearchParams | undefined) => QueryObject;
|
|
10
9
|
export declare const getBuilderSearchParamsFromWindow: () => QueryObject;
|
|
11
|
-
export declare const normalizeSearchParams: (searchParams: QueryObject | URLSearchParams) => QueryObject;
|
|
12
|
-
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Search } from '../helpers/search/search.js';
|
|
2
|
+
export declare function isEditing(search?: Search): boolean;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { Search } from '../helpers/search/search.js';
|
|
2
|
+
export declare function isPreviewing(search?: Search): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var d=require("./style.css");const s=require("./index-
|
|
1
|
+
var d=require("./style.css");const s=require("./index-d4LYRnwM.cjs"),c=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>r=>s.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1});function l(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const a=r[o];let n=c(o);if(e.stripPrefix)switch(s.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=i(a,e)}return t}function u({properties:e}){return e}const p=e=>({href:e.href});function f({block:e,context:t}){var o;const r={...p(e),...e.properties,"builder-id":e.id,style:s.getStyle({block:e,context:t}),[s.getClassPropName()]:[e.id,"builder-block",e.class,(o=e.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return u({properties:r,context:t,block:e})}exports.getBlockActions=l;exports.getBlockProperties=f;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type QueryObject = Record<string, string | string[]>;
|
|
2
|
+
export declare const convertSearchParamsToQueryObject: (searchParams: URLSearchParams) => QueryObject;
|
|
3
|
+
export declare const normalizeSearchParams: (searchParams: QueryObject | URLSearchParams) => QueryObject;
|
|
4
|
+
export type Search = URLSearchParams | string | QueryObject;
|
|
5
|
+
export declare const getSearchString: (search: Search) => string;
|