@builder.io/sdk-qwik 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4935,7 +4935,7 @@ const handleABTesting = async ({ item, canTrack }) => {
4935
4935
  };
4936
4936
  };
4937
4937
  const getDefaultCanTrack = (canTrack) => checkIsDefined(canTrack) ? canTrack : true;
4938
- const componentInfo$a = {
4938
+ const componentInfo$b = {
4939
4939
  name: "Core:Button",
4940
4940
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
4941
4941
  defaultStyles: {
@@ -4973,7 +4973,7 @@ const componentInfo$a = {
4973
4973
  static: true,
4974
4974
  noWrap: true
4975
4975
  };
4976
- const componentInfo$9 = {
4976
+ const componentInfo$a = {
4977
4977
  // TODO: ways to statically preprocess JSON for references, functions, etc
4978
4978
  name: "Columns",
4979
4979
  isRSC: true,
@@ -5215,7 +5215,7 @@ const componentInfo$9 = {
5215
5215
  }
5216
5216
  ]
5217
5217
  };
5218
- const componentInfo$8 = {
5218
+ const componentInfo$9 = {
5219
5219
  name: "Custom Code",
5220
5220
  static: true,
5221
5221
  requiredPermissions: [
@@ -5294,7 +5294,7 @@ const CustomCode = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
5294
5294
  ], "p0.code")
5295
5295
  }, null, 3, "bY_0");
5296
5296
  }, "CustomCode_component_uYOSy7w7Zqw"));
5297
- const componentInfo$7 = {
5297
+ const componentInfo$8 = {
5298
5298
  name: "Embed",
5299
5299
  static: true,
5300
5300
  inputs: [
@@ -5387,14 +5387,14 @@ const Embed = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
5387
5387
  ], "p0.content")
5388
5388
  }, null, 3, "9r_0");
5389
5389
  }, "Embed_component_Uji08ORjXbE"));
5390
- const componentInfo$6 = {
5390
+ const componentInfo$7 = {
5391
5391
  name: "Fragment",
5392
5392
  static: true,
5393
5393
  hidden: true,
5394
5394
  canHaveChildren: true,
5395
5395
  noWrap: true
5396
5396
  };
5397
- const componentInfo$5 = {
5397
+ const componentInfo$6 = {
5398
5398
  name: "Image",
5399
5399
  static: true,
5400
5400
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -5542,7 +5542,7 @@ const componentInfo$5 = {
5542
5542
  }
5543
5543
  ]
5544
5544
  };
5545
- const componentInfo$4 = {
5545
+ const componentInfo$5 = {
5546
5546
  // friendlyName?
5547
5547
  name: "Raw:Img",
5548
5548
  hideFromInsertMenu: true,
@@ -5584,7 +5584,7 @@ const ImgComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
5584
5584
  ], '{objectFit:p0.backgroundSize||"cover",objectPosition:p0.backgroundPosition||"center"}')
5585
5585
  }, 0, isEditing() && props.imgSrc || "default-key");
5586
5586
  }, "ImgComponent_component_FXvIDBSffO8"));
5587
- const componentInfo$3 = {
5587
+ const componentInfo$4 = {
5588
5588
  name: "Core:Section",
5589
5589
  static: true,
5590
5590
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -5629,6 +5629,61 @@ const componentInfo$3 = {
5629
5629
  }
5630
5630
  ]
5631
5631
  };
5632
+ const componentInfo$3 = {
5633
+ name: "Slot",
5634
+ isRSC: true,
5635
+ description: "Allow child blocks to be inserted into this content when used as a Symbol",
5636
+ docsLink: "https://www.builder.io/c/docs/symbols-with-blocks",
5637
+ image: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",
5638
+ // Maybe wrap this for canHaveChildren so bind children to this hm
5639
+ inputs: [
5640
+ {
5641
+ name: "name",
5642
+ type: "string",
5643
+ required: true,
5644
+ defaultValue: "children"
5645
+ }
5646
+ ]
5647
+ };
5648
+ const Slot = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
5649
+ var _a, _b;
5650
+ return /* @__PURE__ */ qwik._jsxS("div", {
5651
+ ...!((_a = props.builderContext.context) == null ? void 0 : _a.symbolId) && {
5652
+ "builder-slot": props.name
5653
+ },
5654
+ children: /* @__PURE__ */ qwik._jsxC(Blocks, {
5655
+ get parent() {
5656
+ var _a2;
5657
+ return (_a2 = props.builderContext.context) == null ? void 0 : _a2.symbolId;
5658
+ },
5659
+ get path() {
5660
+ return `symbol.data.${props.name}`;
5661
+ },
5662
+ get context() {
5663
+ return props.builderContext;
5664
+ },
5665
+ blocks: deoptSignal((_b = props.builderContext.rootState) == null ? void 0 : _b[props.name]),
5666
+ [qwik._IMMUTABLE]: {
5667
+ context: qwik._fnSignal((p0) => p0.builderContext, [
5668
+ props
5669
+ ], "p0.builderContext"),
5670
+ parent: qwik._fnSignal((p0) => {
5671
+ var _a2;
5672
+ return (_a2 = p0.builderContext.context) == null ? void 0 : _a2.symbolId;
5673
+ }, [
5674
+ props
5675
+ ], "p0.builderContext.context?.symbolId"),
5676
+ path: qwik._fnSignal((p0) => `symbol.data.${p0.name}`, [
5677
+ props
5678
+ ], "`symbol.data.${p0.name}`")
5679
+ }
5680
+ }, 3, "B1_0")
5681
+ }, {
5682
+ style: {
5683
+ pointerEvents: "auto"
5684
+ }
5685
+ }, 0, "B1_1");
5686
+ }, "Slot_component_WWgWgfV0bb0"));
5632
5687
  const componentInfo$2 = {
5633
5688
  name: "Symbol",
5634
5689
  noWrap: true,
@@ -5933,35 +5988,35 @@ const Video = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
5933
5988
  const getDefaultRegisteredComponents = () => [
5934
5989
  {
5935
5990
  component: Button,
5936
- ...componentInfo$a
5991
+ ...componentInfo$b
5937
5992
  },
5938
5993
  {
5939
5994
  component: Columns,
5940
- ...componentInfo$9
5995
+ ...componentInfo$a
5941
5996
  },
5942
5997
  {
5943
5998
  component: CustomCode,
5944
- ...componentInfo$8
5999
+ ...componentInfo$9
5945
6000
  },
5946
6001
  {
5947
6002
  component: Embed,
5948
- ...componentInfo$7
6003
+ ...componentInfo$8
5949
6004
  },
5950
6005
  {
5951
6006
  component: FragmentComponent,
5952
- ...componentInfo$6
6007
+ ...componentInfo$7
5953
6008
  },
5954
6009
  {
5955
6010
  component: Image,
5956
- ...componentInfo$5
6011
+ ...componentInfo$6
5957
6012
  },
5958
6013
  {
5959
6014
  component: ImgComponent,
5960
- ...componentInfo$4
6015
+ ...componentInfo$5
5961
6016
  },
5962
6017
  {
5963
6018
  component: SectionComponent,
5964
- ...componentInfo$3
6019
+ ...componentInfo$4
5965
6020
  },
5966
6021
  {
5967
6022
  component: Symbol$1,
@@ -5974,6 +6029,10 @@ const getDefaultRegisteredComponents = () => [
5974
6029
  {
5975
6030
  component: Video,
5976
6031
  ...componentInfo
6032
+ },
6033
+ {
6034
+ component: Slot,
6035
+ ...componentInfo$3
5977
6036
  }
5978
6037
  ];
5979
6038
  const components = [];
@@ -6413,7 +6472,7 @@ const getInteractionPropertiesForEvent = (event) => {
6413
6472
  }
6414
6473
  };
6415
6474
  };
6416
- const SDK_VERSION = "0.12.0";
6475
+ const SDK_VERSION = "0.12.1";
6417
6476
  const registry = {};
6418
6477
  function register(type, info) {
6419
6478
  let typeList = registry[type];
@@ -7553,7 +7612,11 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
7553
7612
  return props.builderContext.apiKey;
7554
7613
  },
7555
7614
  get context() {
7556
- return props.builderContext.context;
7615
+ var _a2;
7616
+ return {
7617
+ ...props.builderContext.context,
7618
+ symbolId: (_a2 = props.builderBlock) == null ? void 0 : _a2.id
7619
+ };
7557
7620
  },
7558
7621
  get customComponents() {
7559
7622
  return Object.values(props.builderComponents);
@@ -7583,9 +7646,15 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
7583
7646
  content: qwik._fnSignal((p0) => p0.contentToUse, [
7584
7647
  state
7585
7648
  ], "p0.contentToUse"),
7586
- context: qwik._fnSignal((p0) => p0.builderContext.context, [
7649
+ context: qwik._fnSignal((p0) => {
7650
+ var _a2;
7651
+ return {
7652
+ ...p0.builderContext.context,
7653
+ symbolId: (_a2 = p0.builderBlock) == null ? void 0 : _a2.id
7654
+ };
7655
+ }, [
7587
7656
  props
7588
- ], "p0.builderContext.context"),
7657
+ ], "{...p0.builderContext.context,symbolId:p0.builderBlock?.id}"),
7589
7658
  customComponents: qwik._fnSignal((p0) => Object.values(p0.builderComponents), [
7590
7659
  props
7591
7660
  ], "Object.values(p0.builderComponents)"),
@@ -1,4 +1,4 @@
1
- import { componentQrl, inlinedQrl, useStylesScopedQrl, _jsxC, _jsxS, _fnSignal, createContextId, _jsxQ, _jsxBranch, useComputedQrl, useLexicalScope, _IMMUTABLE, Slot, useStore, useContextProvider, _wrapProp, useContext, createElement, Fragment as Fragment$1, useSignal, useOn, useTaskQrl } from "@builder.io/qwik";
1
+ import { componentQrl, inlinedQrl, useStylesScopedQrl, _jsxC, _jsxS, _fnSignal, createContextId, _jsxQ, _jsxBranch, useComputedQrl, useLexicalScope, _IMMUTABLE, Slot as Slot$1, useStore, useContextProvider, _wrapProp, useContext, createElement, Fragment as Fragment$1, useSignal, useOn, useTaskQrl } from "@builder.io/qwik";
2
2
  import { Fragment } from "@builder.io/qwik/jsx-runtime";
3
3
  import { isServer } from "@builder.io/qwik/build";
4
4
  const Button = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -3787,7 +3787,7 @@ const BlockWrapper = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
3787
3787
  context: props.context.context,
3788
3788
  stripPrefix: true
3789
3789
  }),
3790
- children: /* @__PURE__ */ _jsxC(Slot, null, 3, "87_0")
3790
+ children: /* @__PURE__ */ _jsxC(Slot$1, null, 3, "87_0")
3791
3791
  }, 0, "87_1") : /* @__PURE__ */ _jsxC(props.Wrapper, {
3792
3792
  ...getBlockProperties({
3793
3793
  block: props.block,
@@ -3820,7 +3820,7 @@ const InteractiveElement = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQ
3820
3820
  context: props.context.context
3821
3821
  })
3822
3822
  } : {},
3823
- children: /* @__PURE__ */ _jsxC(Slot, null, 3, "q0_0")
3823
+ children: /* @__PURE__ */ _jsxC(Slot$1, null, 3, "q0_0")
3824
3824
  }, 0, "q0_1");
3825
3825
  }, "InteractiveElement_component_0UqfJpjhn0g"));
3826
3826
  const getWrapperProps = ({ componentOptions, builderBlock, context, componentRef, includeBlockProps, isInteractive, contextValue }) => {
@@ -4293,7 +4293,7 @@ const BlocksWrapper = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
4293
4293
  state
4294
4294
  ]),
4295
4295
  ...props.BlocksWrapperProps,
4296
- children: /* @__PURE__ */ _jsxC(Slot, null, 3, "3u_0"),
4296
+ children: /* @__PURE__ */ _jsxC(Slot$1, null, 3, "3u_0"),
4297
4297
  [_IMMUTABLE]: {
4298
4298
  "builder-parent-id": _fnSignal((p0) => p0.parent, [
4299
4299
  props
@@ -4561,7 +4561,7 @@ const STYLES$1 = `
4561
4561
  }
4562
4562
  `;
4563
4563
  const FragmentComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
4564
- return /* @__PURE__ */ _jsxQ("span", null, null, /* @__PURE__ */ _jsxC(Slot, null, 3, "oj_0"), 1, "oj_1");
4564
+ return /* @__PURE__ */ _jsxQ("span", null, null, /* @__PURE__ */ _jsxC(Slot$1, null, 3, "oj_0"), 1, "oj_1");
4565
4565
  }, "FragmentComponent_component_T0AypnadAK0"));
4566
4566
  function removeProtocol(path) {
4567
4567
  return path.replace(/http(s)?:/, "");
@@ -4713,10 +4713,10 @@ const Image = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
4713
4713
  props
4714
4714
  ], '{paddingTop:p0.aspectRatio*100+"%"}')
4715
4715
  }, null, 3, "0A_1") : null,
4716
- ((_d = (_c = props.builderBlock) == null ? void 0 : _c.children) == null ? void 0 : _d.length) && props.fitContent ? /* @__PURE__ */ _jsxC(Slot, null, 3, "0A_2") : null,
4716
+ ((_d = (_c = props.builderBlock) == null ? void 0 : _c.children) == null ? void 0 : _d.length) && props.fitContent ? /* @__PURE__ */ _jsxC(Slot$1, null, 3, "0A_2") : null,
4717
4717
  !props.fitContent && props.children ? /* @__PURE__ */ _jsxQ("div", null, {
4718
4718
  class: "div-Image-2"
4719
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "0A_3"), 1, "0A_4") : null
4719
+ }, /* @__PURE__ */ _jsxC(Slot$1, null, 3, "0A_3"), 1, "0A_4") : null
4720
4720
  ]
4721
4721
  }, 1, "0A_5");
4722
4722
  }, "Image_component_LRxDkFa1EfU"));
@@ -4744,7 +4744,7 @@ const STYLES = `
4744
4744
  const SectionComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
4745
4745
  return /* @__PURE__ */ _jsxS("section", {
4746
4746
  ...props.attributes,
4747
- children: /* @__PURE__ */ _jsxC(Slot, null, 3, "2Y_0"),
4747
+ children: /* @__PURE__ */ _jsxC(Slot$1, null, 3, "2Y_0"),
4748
4748
  style: {
4749
4749
  width: "100%",
4750
4750
  alignSelf: "stretch",
@@ -4933,7 +4933,7 @@ const handleABTesting = async ({ item, canTrack }) => {
4933
4933
  };
4934
4934
  };
4935
4935
  const getDefaultCanTrack = (canTrack) => checkIsDefined(canTrack) ? canTrack : true;
4936
- const componentInfo$a = {
4936
+ const componentInfo$b = {
4937
4937
  name: "Core:Button",
4938
4938
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
4939
4939
  defaultStyles: {
@@ -4971,7 +4971,7 @@ const componentInfo$a = {
4971
4971
  static: true,
4972
4972
  noWrap: true
4973
4973
  };
4974
- const componentInfo$9 = {
4974
+ const componentInfo$a = {
4975
4975
  // TODO: ways to statically preprocess JSON for references, functions, etc
4976
4976
  name: "Columns",
4977
4977
  isRSC: true,
@@ -5213,7 +5213,7 @@ const componentInfo$9 = {
5213
5213
  }
5214
5214
  ]
5215
5215
  };
5216
- const componentInfo$8 = {
5216
+ const componentInfo$9 = {
5217
5217
  name: "Custom Code",
5218
5218
  static: true,
5219
5219
  requiredPermissions: [
@@ -5292,7 +5292,7 @@ const CustomCode = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
5292
5292
  ], "p0.code")
5293
5293
  }, null, 3, "bY_0");
5294
5294
  }, "CustomCode_component_uYOSy7w7Zqw"));
5295
- const componentInfo$7 = {
5295
+ const componentInfo$8 = {
5296
5296
  name: "Embed",
5297
5297
  static: true,
5298
5298
  inputs: [
@@ -5385,14 +5385,14 @@ const Embed = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
5385
5385
  ], "p0.content")
5386
5386
  }, null, 3, "9r_0");
5387
5387
  }, "Embed_component_Uji08ORjXbE"));
5388
- const componentInfo$6 = {
5388
+ const componentInfo$7 = {
5389
5389
  name: "Fragment",
5390
5390
  static: true,
5391
5391
  hidden: true,
5392
5392
  canHaveChildren: true,
5393
5393
  noWrap: true
5394
5394
  };
5395
- const componentInfo$5 = {
5395
+ const componentInfo$6 = {
5396
5396
  name: "Image",
5397
5397
  static: true,
5398
5398
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -5540,7 +5540,7 @@ const componentInfo$5 = {
5540
5540
  }
5541
5541
  ]
5542
5542
  };
5543
- const componentInfo$4 = {
5543
+ const componentInfo$5 = {
5544
5544
  // friendlyName?
5545
5545
  name: "Raw:Img",
5546
5546
  hideFromInsertMenu: true,
@@ -5582,7 +5582,7 @@ const ImgComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
5582
5582
  ], '{objectFit:p0.backgroundSize||"cover",objectPosition:p0.backgroundPosition||"center"}')
5583
5583
  }, 0, isEditing() && props.imgSrc || "default-key");
5584
5584
  }, "ImgComponent_component_FXvIDBSffO8"));
5585
- const componentInfo$3 = {
5585
+ const componentInfo$4 = {
5586
5586
  name: "Core:Section",
5587
5587
  static: true,
5588
5588
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -5627,6 +5627,61 @@ const componentInfo$3 = {
5627
5627
  }
5628
5628
  ]
5629
5629
  };
5630
+ const componentInfo$3 = {
5631
+ name: "Slot",
5632
+ isRSC: true,
5633
+ description: "Allow child blocks to be inserted into this content when used as a Symbol",
5634
+ docsLink: "https://www.builder.io/c/docs/symbols-with-blocks",
5635
+ image: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",
5636
+ // Maybe wrap this for canHaveChildren so bind children to this hm
5637
+ inputs: [
5638
+ {
5639
+ name: "name",
5640
+ type: "string",
5641
+ required: true,
5642
+ defaultValue: "children"
5643
+ }
5644
+ ]
5645
+ };
5646
+ const Slot = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
5647
+ var _a, _b;
5648
+ return /* @__PURE__ */ _jsxS("div", {
5649
+ ...!((_a = props.builderContext.context) == null ? void 0 : _a.symbolId) && {
5650
+ "builder-slot": props.name
5651
+ },
5652
+ children: /* @__PURE__ */ _jsxC(Blocks, {
5653
+ get parent() {
5654
+ var _a2;
5655
+ return (_a2 = props.builderContext.context) == null ? void 0 : _a2.symbolId;
5656
+ },
5657
+ get path() {
5658
+ return `symbol.data.${props.name}`;
5659
+ },
5660
+ get context() {
5661
+ return props.builderContext;
5662
+ },
5663
+ blocks: deoptSignal((_b = props.builderContext.rootState) == null ? void 0 : _b[props.name]),
5664
+ [_IMMUTABLE]: {
5665
+ context: _fnSignal((p0) => p0.builderContext, [
5666
+ props
5667
+ ], "p0.builderContext"),
5668
+ parent: _fnSignal((p0) => {
5669
+ var _a2;
5670
+ return (_a2 = p0.builderContext.context) == null ? void 0 : _a2.symbolId;
5671
+ }, [
5672
+ props
5673
+ ], "p0.builderContext.context?.symbolId"),
5674
+ path: _fnSignal((p0) => `symbol.data.${p0.name}`, [
5675
+ props
5676
+ ], "`symbol.data.${p0.name}`")
5677
+ }
5678
+ }, 3, "B1_0")
5679
+ }, {
5680
+ style: {
5681
+ pointerEvents: "auto"
5682
+ }
5683
+ }, 0, "B1_1");
5684
+ }, "Slot_component_WWgWgfV0bb0"));
5630
5685
  const componentInfo$2 = {
5631
5686
  name: "Symbol",
5632
5687
  noWrap: true,
@@ -5912,7 +5967,7 @@ const Video = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
5912
5967
  flexDirection: "column",
5913
5968
  alignItems: "stretch"
5914
5969
  }
5915
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "j7_2"), 1, "j7_3") : null,
5970
+ }, /* @__PURE__ */ _jsxC(Slot$1, null, 3, "j7_2"), 1, "j7_3") : null,
5916
5971
  ((_g = (_f = props.builderBlock) == null ? void 0 : _f.children) == null ? void 0 : _g.length) && !props.fitContent ? /* @__PURE__ */ _jsxQ("div", null, {
5917
5972
  style: {
5918
5973
  pointerEvents: "none",
@@ -5925,41 +5980,41 @@ const Video = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
5925
5980
  width: "100%",
5926
5981
  height: "100%"
5927
5982
  }
5928
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "j7_4"), 1, "j7_5") : null
5983
+ }, /* @__PURE__ */ _jsxC(Slot$1, null, 3, "j7_4"), 1, "j7_5") : null
5929
5984
  ], 1, "j7_6");
5930
5985
  }, "Video_component_qdcTZflYyoQ"));
5931
5986
  const getDefaultRegisteredComponents = () => [
5932
5987
  {
5933
5988
  component: Button,
5934
- ...componentInfo$a
5989
+ ...componentInfo$b
5935
5990
  },
5936
5991
  {
5937
5992
  component: Columns,
5938
- ...componentInfo$9
5993
+ ...componentInfo$a
5939
5994
  },
5940
5995
  {
5941
5996
  component: CustomCode,
5942
- ...componentInfo$8
5997
+ ...componentInfo$9
5943
5998
  },
5944
5999
  {
5945
6000
  component: Embed,
5946
- ...componentInfo$7
6001
+ ...componentInfo$8
5947
6002
  },
5948
6003
  {
5949
6004
  component: FragmentComponent,
5950
- ...componentInfo$6
6005
+ ...componentInfo$7
5951
6006
  },
5952
6007
  {
5953
6008
  component: Image,
5954
- ...componentInfo$5
6009
+ ...componentInfo$6
5955
6010
  },
5956
6011
  {
5957
6012
  component: ImgComponent,
5958
- ...componentInfo$4
6013
+ ...componentInfo$5
5959
6014
  },
5960
6015
  {
5961
6016
  component: SectionComponent,
5962
- ...componentInfo$3
6017
+ ...componentInfo$4
5963
6018
  },
5964
6019
  {
5965
6020
  component: Symbol$1,
@@ -5972,6 +6027,10 @@ const getDefaultRegisteredComponents = () => [
5972
6027
  {
5973
6028
  component: Video,
5974
6029
  ...componentInfo
6030
+ },
6031
+ {
6032
+ component: Slot,
6033
+ ...componentInfo$3
5975
6034
  }
5976
6035
  ];
5977
6036
  const components = [];
@@ -6411,7 +6470,7 @@ const getInteractionPropertiesForEvent = (event) => {
6411
6470
  }
6412
6471
  };
6413
6472
  };
6414
- const SDK_VERSION = "0.12.0";
6473
+ const SDK_VERSION = "0.12.1";
6415
6474
  const registry = {};
6416
6475
  function register(type, info) {
6417
6476
  let typeList = registry[type];
@@ -6872,7 +6931,7 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
6872
6931
  },
6873
6932
  ...props.contentWrapperProps,
6874
6933
  class: `variant-${((_d = props.content) == null ? void 0 : _d.testVariationId) || ((_e = props.content) == null ? void 0 : _e.id)}`
6875
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "06_0")) : null
6934
+ }, /* @__PURE__ */ _jsxC(Slot$1, null, 3, "06_0")) : null
6876
6935
  }, 1, "06_1");
6877
6936
  }, "EnableEditor_component_ko1mO8oaj8k"));
6878
6937
  const getCssFromFont = (font) => {
@@ -7551,7 +7610,11 @@ const Symbol$1 = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
7551
7610
  return props.builderContext.apiKey;
7552
7611
  },
7553
7612
  get context() {
7554
- return props.builderContext.context;
7613
+ var _a2;
7614
+ return {
7615
+ ...props.builderContext.context,
7616
+ symbolId: (_a2 = props.builderBlock) == null ? void 0 : _a2.id
7617
+ };
7555
7618
  },
7556
7619
  get customComponents() {
7557
7620
  return Object.values(props.builderComponents);
@@ -7581,9 +7644,15 @@ const Symbol$1 = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
7581
7644
  content: _fnSignal((p0) => p0.contentToUse, [
7582
7645
  state
7583
7646
  ], "p0.contentToUse"),
7584
- context: _fnSignal((p0) => p0.builderContext.context, [
7647
+ context: _fnSignal((p0) => {
7648
+ var _a2;
7649
+ return {
7650
+ ...p0.builderContext.context,
7651
+ symbolId: (_a2 = p0.builderBlock) == null ? void 0 : _a2.id
7652
+ };
7653
+ }, [
7585
7654
  props
7586
- ], "p0.builderContext.context"),
7655
+ ], "{...p0.builderContext.context,symbolId:p0.builderBlock?.id}"),
7587
7656
  customComponents: _fnSignal((p0) => Object.values(p0.builderComponents), [
7588
7657
  props
7589
7658
  ], "Object.values(p0.builderComponents)"),