@builder.io/sdk-qwik 0.14.13 → 0.14.15

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.
Files changed (116) hide show
  1. package/lib/browser/index.qwik.cjs +3 -3
  2. package/lib/browser/index.qwik.mjs +3 -3
  3. package/lib/edge/index.qwik.cjs +3 -3
  4. package/lib/edge/index.qwik.mjs +3 -3
  5. package/lib/node/index.qwik.cjs +25 -5
  6. package/lib/node/index.qwik.mjs +25 -5
  7. package/package.json +1 -1
  8. package/types/src/blocks/button/button.d.ts +1 -1
  9. package/types/src/blocks/button/button.types.d.ts +1 -1
  10. package/types/src/blocks/button/component-info.d.ts +1 -1
  11. package/types/src/blocks/columns/columns.d.ts +3 -3
  12. package/types/src/blocks/columns/columns.types.d.ts +2 -2
  13. package/types/src/blocks/columns/component-info.d.ts +1 -1
  14. package/types/src/blocks/custom-code/component-info.d.ts +1 -1
  15. package/types/src/blocks/embed/component-info.d.ts +1 -1
  16. package/types/src/blocks/form/form/component-info.d.ts +1 -1
  17. package/types/src/blocks/form/form/form.d.ts +3 -3
  18. package/types/src/blocks/form/input/component-info.d.ts +1 -1
  19. package/types/src/blocks/form/select/component-info.d.ts +1 -1
  20. package/types/src/blocks/form/submit-button/component-info.d.ts +1 -1
  21. package/types/src/blocks/fragment/component-info.d.ts +1 -1
  22. package/types/src/blocks/fragment/fragment.d.ts +1 -1
  23. package/types/src/blocks/image/component-info.d.ts +1 -1
  24. package/types/src/blocks/image/image.d.ts +1 -1
  25. package/types/src/blocks/image/image.types.d.ts +1 -1
  26. package/types/src/blocks/img/component-info.d.ts +1 -1
  27. package/types/src/blocks/raw-text/component-info.d.ts +1 -1
  28. package/types/src/blocks/section/component-info.d.ts +1 -1
  29. package/types/src/blocks/section/section.d.ts +1 -1
  30. package/types/src/blocks/slot/component-info.d.ts +1 -1
  31. package/types/src/blocks/slot/slot.d.ts +1 -1
  32. package/types/src/blocks/symbol/component-info.d.ts +1 -1
  33. package/types/src/blocks/symbol/symbol.d.ts +1 -1
  34. package/types/src/blocks/symbol/symbol.helpers.d.ts +2 -2
  35. package/types/src/blocks/symbol/symbol.types.d.ts +2 -2
  36. package/types/src/blocks/text/component-info.d.ts +1 -1
  37. package/types/src/blocks/text/text.d.ts +1 -1
  38. package/types/src/blocks/textarea/component-info.d.ts +1 -1
  39. package/types/src/blocks/video/component-info.d.ts +1 -1
  40. package/types/src/blocks/video/video.d.ts +1 -1
  41. package/types/src/blocks/video/video.types.d.ts +1 -1
  42. package/types/src/components/block/animator.d.ts +1 -1
  43. package/types/src/components/block/block.d.ts +2 -2
  44. package/types/src/components/block/block.helpers.d.ts +4 -4
  45. package/types/src/components/block/components/block-styles.d.ts +2 -2
  46. package/types/src/components/block/components/block-wrapper.d.ts +2 -2
  47. package/types/src/components/block/components/component-ref/component-ref.d.ts +1 -1
  48. package/types/src/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
  49. package/types/src/components/block/components/interactive-element.d.ts +3 -3
  50. package/types/src/components/block/components/repeated-block.d.ts +1 -1
  51. package/types/src/components/block/types.d.ts +2 -2
  52. package/types/src/components/blocks/blocks-wrapper.d.ts +1 -1
  53. package/types/src/components/blocks/blocks.d.ts +1 -1
  54. package/types/src/components/blocks/blocks.types.d.ts +1 -1
  55. package/types/src/components/content/components/enable-editor.d.ts +4 -4
  56. package/types/src/components/content/components/styles.d.ts +1 -1
  57. package/types/src/components/content/content.d.ts +2 -2
  58. package/types/src/components/content/content.helpers.d.ts +3 -3
  59. package/types/src/components/content/content.types.d.ts +2 -2
  60. package/types/src/components/content/contentProps.types.d.ts +2 -2
  61. package/types/src/components/content-variants/content-variants.d.ts +1 -1
  62. package/types/src/components/content-variants/content-variants.types.d.ts +4 -4
  63. package/types/src/components/content-variants/helpers.d.ts +5 -5
  64. package/types/src/constants/builder-registered-components.d.ts +1 -1
  65. package/types/src/constants/extra-components.d.ts +1 -1
  66. package/types/src/constants/sdk-version.d.ts +1 -1
  67. package/types/src/constants/target.d.ts +1 -1
  68. package/types/src/context/index.d.ts +1 -1
  69. package/types/src/context/types.d.ts +4 -4
  70. package/types/src/functions/evaluate/browser-runtime/browser.d.ts +2 -2
  71. package/types/src/functions/evaluate/browser-runtime/index.d.ts +1 -1
  72. package/types/src/functions/evaluate/choose-eval.d.ts +1 -1
  73. package/types/src/functions/evaluate/edge-runtime/edge-runtime.d.ts +1 -1
  74. package/types/src/functions/evaluate/edge-runtime/index.d.ts +1 -1
  75. package/types/src/functions/evaluate/evaluate.d.ts +1 -1
  76. package/types/src/functions/evaluate/helpers.d.ts +3 -3
  77. package/types/src/functions/evaluate/index.d.ts +1 -1
  78. package/types/src/functions/evaluate/node-runtime/index.d.ts +1 -1
  79. package/types/src/functions/evaluate/node-runtime/init.d.ts +10 -0
  80. package/types/src/functions/evaluate/node-runtime/node-runtime.d.ts +7 -1
  81. package/types/src/functions/evaluate/placeholder-runtime.d.ts +1 -1
  82. package/types/src/functions/fetch-builder-props.d.ts +3 -3
  83. package/types/src/functions/get-block-actions-handler.d.ts +2 -2
  84. package/types/src/functions/get-block-actions.d.ts +2 -2
  85. package/types/src/functions/get-block-component-options.d.ts +1 -1
  86. package/types/src/functions/get-block-properties.d.ts +2 -2
  87. package/types/src/functions/get-builder-search-params/index.d.ts +1 -1
  88. package/types/src/functions/get-content/generate-content-url.d.ts +1 -1
  89. package/types/src/functions/get-content/index.d.ts +2 -2
  90. package/types/src/functions/get-content/types.d.ts +3 -3
  91. package/types/src/functions/get-processed-block.d.ts +2 -2
  92. package/types/src/functions/get-style.d.ts +2 -2
  93. package/types/src/functions/is-editing.d.ts +1 -1
  94. package/types/src/functions/is-previewing.d.ts +1 -1
  95. package/types/src/functions/register-component.d.ts +1 -1
  96. package/types/src/functions/register.d.ts +2 -2
  97. package/types/src/functions/track/index.d.ts +2 -2
  98. package/types/src/functions/transform-block-properties.d.ts +2 -2
  99. package/types/src/functions/transform-block.d.ts +1 -1
  100. package/types/src/functions/transform-style-property.d.ts +2 -2
  101. package/types/src/helpers/ab-tests.d.ts +3 -3
  102. package/types/src/helpers/cookie.d.ts +1 -1
  103. package/types/src/helpers/localStorage.d.ts +2 -2
  104. package/types/src/helpers/logger.d.ts +1 -0
  105. package/types/src/helpers/preview-lru-cache/get.d.ts +1 -1
  106. package/types/src/helpers/preview-lru-cache/set.d.ts +1 -1
  107. package/types/src/helpers/sessionId.d.ts +1 -1
  108. package/types/src/helpers/subscribe-to-editor.d.ts +3 -3
  109. package/types/src/helpers/visitorId.d.ts +1 -1
  110. package/types/src/index-helpers/blocks-exports.d.ts +11 -11
  111. package/types/src/index.d.ts +3 -3
  112. package/types/src/server-index.d.ts +27 -27
  113. package/types/src/types/builder-content.d.ts +3 -3
  114. package/types/src/types/builder-props.d.ts +2 -2
  115. package/types/src/types/components.d.ts +2 -2
  116. package/types/src/types/enforced-partials.d.ts +1 -1
@@ -3576,10 +3576,10 @@ const SelectComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
3576
3576
  key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
3577
3577
  defaultValue: props.defaultValue,
3578
3578
  name: props.name
3579
- }, (props.options || []).map((option) => {
3579
+ }, (props.options || []).map((option, index) => {
3580
3580
  return /* @__PURE__ */ qwik._jsxQ("option", {
3581
3581
  value: qwik._wrapSignal(option, "value")
3582
- }, null, option.name || option.value, 1, "tc_0");
3582
+ }, null, option.name || option.value, 1, `${option.name}-${index}`);
3583
3583
  }));
3584
3584
  }, "SelectComponent_component_SPKbsFLikZU"));
3585
3585
  const componentInfo$2 = {
@@ -4399,7 +4399,7 @@ function isFromTrustedHost(trustedHosts, e) {
4399
4399
  const url = new URL(e.origin), hostname = url.hostname;
4400
4400
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4401
4401
  }
4402
- const SDK_VERSION = "0.14.13";
4402
+ const SDK_VERSION = "0.14.15";
4403
4403
  const registry = {};
4404
4404
  function register(type, info) {
4405
4405
  let typeList = registry[type];
@@ -3574,10 +3574,10 @@ const SelectComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
3574
3574
  key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
3575
3575
  defaultValue: props.defaultValue,
3576
3576
  name: props.name
3577
- }, (props.options || []).map((option) => {
3577
+ }, (props.options || []).map((option, index) => {
3578
3578
  return /* @__PURE__ */ _jsxQ("option", {
3579
3579
  value: _wrapSignal(option, "value")
3580
- }, null, option.name || option.value, 1, "tc_0");
3580
+ }, null, option.name || option.value, 1, `${option.name}-${index}`);
3581
3581
  }));
3582
3582
  }, "SelectComponent_component_SPKbsFLikZU"));
3583
3583
  const componentInfo$2 = {
@@ -4397,7 +4397,7 @@ function isFromTrustedHost(trustedHosts, e) {
4397
4397
  const url = new URL(e.origin), hostname = url.hostname;
4398
4398
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4399
4399
  }
4400
- const SDK_VERSION = "0.14.13";
4400
+ const SDK_VERSION = "0.14.15";
4401
4401
  const registry = {};
4402
4402
  function register(type, info) {
4403
4403
  let typeList = registry[type];
@@ -6807,10 +6807,10 @@ const SelectComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
6807
6807
  key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
6808
6808
  defaultValue: props.defaultValue,
6809
6809
  name: props.name
6810
- }, (props.options || []).map((option) => {
6810
+ }, (props.options || []).map((option, index) => {
6811
6811
  return /* @__PURE__ */ qwik._jsxQ("option", {
6812
6812
  value: qwik._wrapSignal(option, "value")
6813
- }, null, option.name || option.value, 1, "tc_0");
6813
+ }, null, option.name || option.value, 1, `${option.name}-${index}`);
6814
6814
  }));
6815
6815
  }, "SelectComponent_component_SPKbsFLikZU"));
6816
6816
  const componentInfo$2 = {
@@ -7630,7 +7630,7 @@ function isFromTrustedHost(trustedHosts, e) {
7630
7630
  const url = new URL(e.origin), hostname = url.hostname;
7631
7631
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7632
7632
  }
7633
- const SDK_VERSION = "0.14.13";
7633
+ const SDK_VERSION = "0.14.15";
7634
7634
  const registry = {};
7635
7635
  function register(type, info) {
7636
7636
  let typeList = registry[type];
@@ -6805,10 +6805,10 @@ const SelectComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
6805
6805
  key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
6806
6806
  defaultValue: props.defaultValue,
6807
6807
  name: props.name
6808
- }, (props.options || []).map((option) => {
6808
+ }, (props.options || []).map((option, index) => {
6809
6809
  return /* @__PURE__ */ _jsxQ("option", {
6810
6810
  value: _wrapSignal(option, "value")
6811
- }, null, option.name || option.value, 1, "tc_0");
6811
+ }, null, option.name || option.value, 1, `${option.name}-${index}`);
6812
6812
  }));
6813
6813
  }, "SelectComponent_component_SPKbsFLikZU"));
6814
6814
  const componentInfo$2 = {
@@ -7628,7 +7628,7 @@ function isFromTrustedHost(trustedHosts, e) {
7628
7628
  const url = new URL(e.origin), hostname = url.hostname;
7629
7629
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7630
7630
  }
7631
- const SDK_VERSION = "0.14.13";
7631
+ const SDK_VERSION = "0.14.15";
7632
7632
  const registry = {};
7633
7633
  function register(type, info) {
7634
7634
  let typeList = registry[type];
@@ -289,15 +289,35 @@ if (typeof output === 'object' && output !== null) {
289
289
  output;
290
290
  `;
291
291
  };
292
+ let IVM_INSTANCE = null;
293
+ const getIvm = () => {
294
+ try {
295
+ if (IVM_INSTANCE)
296
+ ;
297
+ const dynRequiredIvm = nodeEvaluate.safeDynamicRequire("isolated-vm");
298
+ if (dynRequiredIvm)
299
+ return dynRequiredIvm;
300
+ } catch (error) {
301
+ logger.error("isolated-vm import error.", error);
302
+ }
303
+ throw new Error(`${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on Node server.
304
+
305
+ In certain Node environments, the SDK requires additional initialization steps. This can be achieved by
306
+ importing and calling \`initializeNodeRuntime()\` from "@builder.io/sdk-react/node/init". This must be done in
307
+ a server-only execution path within your application.
308
+
309
+ Please see the documentation for more information: https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments
310
+ `);
311
+ };
292
312
  const getIsolateContext = () => {
293
- const ivm = nodeEvaluate.safeDynamicRequire("isolated-vm");
313
+ const ivm = getIvm();
294
314
  const isolate = new ivm.Isolate({
295
315
  memoryLimit: 128
296
316
  });
297
317
  return isolate.createContextSync();
298
318
  };
299
319
  const runInNode = ({ code, builder, context, event, localState, rootSetState, rootState }) => {
300
- const ivm = nodeEvaluate.safeDynamicRequire("isolated-vm");
320
+ const ivm = getIvm();
301
321
  const state = fastClone({
302
322
  ...rootState,
303
323
  ...localState
@@ -3678,10 +3698,10 @@ const SelectComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
3678
3698
  key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
3679
3699
  defaultValue: props.defaultValue,
3680
3700
  name: props.name
3681
- }, (props.options || []).map((option) => {
3701
+ }, (props.options || []).map((option, index) => {
3682
3702
  return /* @__PURE__ */ qwik._jsxQ("option", {
3683
3703
  value: qwik._wrapSignal(option, "value")
3684
- }, null, option.name || option.value, 1, "tc_0");
3704
+ }, null, option.name || option.value, 1, `${option.name}-${index}`);
3685
3705
  }));
3686
3706
  }, "SelectComponent_component_SPKbsFLikZU"));
3687
3707
  const componentInfo$2 = {
@@ -4501,7 +4521,7 @@ function isFromTrustedHost(trustedHosts, e) {
4501
4521
  const url = new URL(e.origin), hostname = url.hostname;
4502
4522
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4503
4523
  }
4504
- const SDK_VERSION = "0.14.13";
4524
+ const SDK_VERSION = "0.14.15";
4505
4525
  const registry = {};
4506
4526
  function register(type, info) {
4507
4527
  let typeList = registry[type];
@@ -287,15 +287,35 @@ if (typeof output === 'object' && output !== null) {
287
287
  output;
288
288
  `;
289
289
  };
290
+ let IVM_INSTANCE = null;
291
+ const getIvm = () => {
292
+ try {
293
+ if (IVM_INSTANCE)
294
+ ;
295
+ const dynRequiredIvm = safeDynamicRequire("isolated-vm");
296
+ if (dynRequiredIvm)
297
+ return dynRequiredIvm;
298
+ } catch (error) {
299
+ logger.error("isolated-vm import error.", error);
300
+ }
301
+ throw new Error(`${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on Node server.
302
+
303
+ In certain Node environments, the SDK requires additional initialization steps. This can be achieved by
304
+ importing and calling \`initializeNodeRuntime()\` from "@builder.io/sdk-react/node/init". This must be done in
305
+ a server-only execution path within your application.
306
+
307
+ Please see the documentation for more information: https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments
308
+ `);
309
+ };
290
310
  const getIsolateContext = () => {
291
- const ivm = safeDynamicRequire("isolated-vm");
311
+ const ivm = getIvm();
292
312
  const isolate = new ivm.Isolate({
293
313
  memoryLimit: 128
294
314
  });
295
315
  return isolate.createContextSync();
296
316
  };
297
317
  const runInNode = ({ code, builder, context, event, localState, rootSetState, rootState }) => {
298
- const ivm = safeDynamicRequire("isolated-vm");
318
+ const ivm = getIvm();
299
319
  const state = fastClone({
300
320
  ...rootState,
301
321
  ...localState
@@ -3676,10 +3696,10 @@ const SelectComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
3676
3696
  key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
3677
3697
  defaultValue: props.defaultValue,
3678
3698
  name: props.name
3679
- }, (props.options || []).map((option) => {
3699
+ }, (props.options || []).map((option, index) => {
3680
3700
  return /* @__PURE__ */ _jsxQ("option", {
3681
3701
  value: _wrapSignal(option, "value")
3682
- }, null, option.name || option.value, 1, "tc_0");
3702
+ }, null, option.name || option.value, 1, `${option.name}-${index}`);
3683
3703
  }));
3684
3704
  }, "SelectComponent_component_SPKbsFLikZU"));
3685
3705
  const componentInfo$2 = {
@@ -4499,7 +4519,7 @@ function isFromTrustedHost(trustedHosts, e) {
4499
4519
  const url = new URL(e.origin), hostname = url.hostname;
4500
4520
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4501
4521
  }
4502
- const SDK_VERSION = "0.14.13";
4522
+ const SDK_VERSION = "0.14.15";
4503
4523
  const registry = {};
4504
4524
  function register(type, info) {
4505
4525
  let typeList = registry[type];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.14.13",
3
+ "version": "0.14.15",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,3 @@
1
- import { ButtonProps } from "./button.types.js";
1
+ import { ButtonProps } from "./button.types";
2
2
  export declare const Button: import("@builder.io/qwik").Component<ButtonProps>;
3
3
  export default Button;
@@ -1,4 +1,4 @@
1
- import type { BuilderLinkComponentProp } from '../../types/builder-props.js';
1
+ import type { BuilderLinkComponentProp } from '../../types/builder-props';
2
2
  export interface ButtonProps extends BuilderLinkComponentProp {
3
3
  attributes?: any;
4
4
  text?: string;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,6 +1,6 @@
1
- import { SizeName } from "../../constants/device-sizes.js";
2
- import { Dictionary } from "../../types/typescript.js";
3
- import { ColumnProps } from "./columns.types.js";
1
+ import { SizeName } from "../../constants/device-sizes";
2
+ import { Dictionary } from "../../types/typescript";
3
+ import { ColumnProps } from "./columns.types";
4
4
  type CSSVal = string | number;
5
5
  export declare const getWidth: (props: any, state: any, index: number) => any;
6
6
  export declare const getColumnCssWidth: (props: any, state: any, index: number) => string;
@@ -1,5 +1,5 @@
1
- import type { BuilderBlock } from '../../types/builder-block.js';
2
- import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props.js';
1
+ import type { BuilderBlock } from '../../types/builder-block';
2
+ import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props';
3
3
  type Column = {
4
4
  blocks: BuilderBlock[];
5
5
  width?: number;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../../types/components.js';
1
+ import type { ComponentInfo } from '../../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,6 +1,6 @@
1
- import { BuilderBlock } from "../../../types/builder-block.js";
2
- import { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from "../../../types/builder-props.js";
3
- import { Dictionary } from "../../../types/typescript.js";
1
+ import { BuilderBlock } from "../../../types/builder-block";
2
+ import { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from "../../../types/builder-props";
3
+ import { Dictionary } from "../../../types/typescript";
4
4
  /**
5
5
  * This import is used by the Svelte SDK. Do not remove.
6
6
  */
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../../types/components.js';
1
+ import type { ComponentInfo } from '../../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../../types/components.js';
1
+ import type { ComponentInfo } from '../../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../../types/components.js';
1
+ import type { ComponentInfo } from '../../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,3 +1,3 @@
1
- import { FragmentProps } from "./fragment.types.js";
1
+ import { FragmentProps } from "./fragment.types";
2
2
  export declare const FragmentComponent: import("@builder.io/qwik").Component<FragmentProps>;
3
3
  export default FragmentComponent;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,4 +1,4 @@
1
- import { ImageProps } from "./image.types.js";
1
+ import { ImageProps } from "./image.types";
2
2
  export declare const Image: import("@builder.io/qwik").Component<ImageProps>;
3
3
  export default Image;
4
4
  export declare const STYLES = "\n.img-Image {\n opacity: 1;\n transition: opacity 0.2s ease-in-out;\n}\n.div-Image {\n width: 100%;\n pointer-events: none;\n font-size: 0;\n}\n.div-Image-2 {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n";
@@ -1,4 +1,4 @@
1
- import type { BuilderBlock } from '../../types/builder-block.js';
1
+ import type { BuilderBlock } from '../../types/builder-block';
2
2
  export interface ImageProps {
3
3
  className?: string;
4
4
  image: string;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,3 +1,3 @@
1
- import { SectionProps } from "./section.types.js";
1
+ import { SectionProps } from "./section.types";
2
2
  export declare const SectionComponent: import("@builder.io/qwik").Component<SectionProps>;
3
3
  export default SectionComponent;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,4 +1,4 @@
1
- import { BuilderDataProps } from "../../types/builder-props.js";
1
+ import { BuilderDataProps } from "../../types/builder-props";
2
2
  export type DropzoneProps = BuilderDataProps & {
3
3
  name: string;
4
4
  attributes: any;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,4 +1,4 @@
1
- import { SymbolProps } from "./symbol.types.js";
1
+ import { SymbolProps } from "./symbol.types";
2
2
  export declare const setContent: (props: any, state: any) => void;
3
3
  export declare const Symbol: import("@builder.io/qwik").Component<SymbolProps>;
4
4
  export default Symbol;
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from '../../context/types.js';
2
- import type { BuilderContent } from '../../types/builder-content.js';
1
+ import type { BuilderContextInterface } from '../../context/types';
2
+ import type { BuilderContent } from '../../types/builder-content';
3
3
  export interface SymbolInfo {
4
4
  model?: string;
5
5
  entry?: string;
@@ -1,5 +1,5 @@
1
- import type { BuilderContent } from '../../types/builder-content.js';
2
- import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props.js';
1
+ import type { BuilderContent } from '../../types/builder-content';
2
+ import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props';
3
3
  interface SymbolInfo {
4
4
  model?: string;
5
5
  entry?: string;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,3 +1,3 @@
1
- import { TextProps } from "./text.types.js";
1
+ import { TextProps } from "./text.types";
2
2
  export declare const Text: import("@builder.io/qwik").Component<TextProps>;
3
3
  export default Text;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components.js';
1
+ import type { ComponentInfo } from '../../types/components';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,3 +1,3 @@
1
- import { VideoProps } from "./video.types.js";
1
+ import { VideoProps } from "./video.types";
2
2
  export declare const Video: import("@builder.io/qwik").Component<VideoProps>;
3
3
  export default Video;
@@ -1,4 +1,4 @@
1
- import type { BuilderBlock } from '../../types/builder-block.js';
1
+ import type { BuilderBlock } from '../../types/builder-block';
2
2
  export interface VideoProps {
3
3
  attributes?: any;
4
4
  video?: string;
@@ -1,4 +1,4 @@
1
- import type { BuilderAnimation } from '../../types/builder-block.js';
1
+ import type { BuilderAnimation } from '../../types/builder-block';
2
2
  export declare function bindAnimations(animations: BuilderAnimation[]): void;
3
3
  export declare function triggerAnimation(animation: BuilderAnimation): void;
4
4
  export declare function bindHoverAnimation(animation: BuilderAnimation): void;
@@ -1,5 +1,5 @@
1
- import { BuilderContextInterface, RegisteredComponents } from "../../context/types.js";
2
- import { BuilderBlock } from "../../types/builder-block.js";
1
+ import { BuilderContextInterface, RegisteredComponents } from "../../context/types";
2
+ import { BuilderBlock } from "../../types/builder-block";
3
3
  export type BlockProps = {
4
4
  block: BuilderBlock;
5
5
  context: BuilderContextInterface;
@@ -1,11 +1,11 @@
1
- import type { BuilderContextInterface, RegisteredComponents } from '../../context/types.js';
2
- import type { BuilderBlock } from '../../types/builder-block.js';
3
- import type { RepeatData } from './types.js';
1
+ import type { BuilderContextInterface, RegisteredComponents } from '../../context/types';
2
+ import type { BuilderBlock } from '../../types/builder-block';
3
+ import type { RepeatData } from './types';
4
4
  export declare const getComponent: ({ block, context, registeredComponents }: {
5
5
  block: BuilderBlock;
6
6
  context: BuilderContextInterface;
7
7
  registeredComponents: RegisteredComponents;
8
- }) => import("../../context/types.js").RegisteredComponent | null | undefined;
8
+ }) => import("../../context/types").RegisteredComponent | null | undefined;
9
9
  export declare const getRepeatItemData: ({ block, context }: {
10
10
  block: BuilderBlock;
11
11
  context: BuilderContextInterface;
@@ -1,5 +1,5 @@
1
- import { BuilderContextInterface } from "../../../context/types.js";
2
- import { BuilderBlock } from "../../../types/builder-block.js";
1
+ import { BuilderContextInterface } from "../../../context/types";
2
+ import { BuilderBlock } from "../../../types/builder-block";
3
3
  export type BlockStylesProps = {
4
4
  block: BuilderBlock;
5
5
  context: BuilderContextInterface;
@@ -1,5 +1,5 @@
1
- import { BuilderContextInterface } from "../../../context/types.js";
2
- import { BuilderBlock } from "../../../types/builder-block.js";
1
+ import { BuilderContextInterface } from "../../../context/types";
2
+ import { BuilderBlock } from "../../../types/builder-block";
3
3
  type BlockWrapperProps = {
4
4
  Wrapper: string;
5
5
  block: BuilderBlock;
@@ -1,3 +1,3 @@
1
- import { ComponentProps } from "./component-ref.helpers.js";
1
+ import { ComponentProps } from "./component-ref.helpers";
2
2
  export declare const ComponentRef: import("@builder.io/qwik").Component<ComponentProps>;
3
3
  export default ComponentRef;
@@ -1,6 +1,6 @@
1
- import type { BuilderContextInterface, RegisteredComponents } from '../../../../context/types.js';
2
- import type { BuilderBlock } from '../../../../types/builder-block.js';
3
- import type { BuilderDataProps } from '../../../../types/builder-props.js';
1
+ import type { BuilderContextInterface, RegisteredComponents } from '../../../../context/types';
2
+ import type { BuilderBlock } from '../../../../types/builder-block';
3
+ import type { BuilderDataProps } from '../../../../types/builder-props';
4
4
  import type { InteractiveElementProps } from '../interactive-element.jsx';
5
5
  type ComponentOptions = BuilderDataProps & {
6
6
  [index: string]: any;
@@ -1,6 +1,6 @@
1
- import { BuilderContextInterface } from "../../../context/types.js";
2
- import { BuilderBlock } from "../../../types/builder-block.js";
3
- import { Dictionary } from "../../../types/typescript.js";
1
+ import { BuilderContextInterface } from "../../../context/types";
2
+ import { BuilderBlock } from "../../../types/builder-block";
3
+ import { Dictionary } from "../../../types/typescript";
4
4
  export type InteractiveElementProps = {
5
5
  Wrapper: any;
6
6
  block: BuilderBlock;
@@ -1,4 +1,4 @@
1
- import { BuilderContextInterface } from "../../../context/types.js";
1
+ import { BuilderContextInterface } from "../../../context/types";
2
2
  import { BlockProps } from "../block.jsx";
3
3
  type Props = Omit<BlockProps, "context"> & {
4
4
  repeatContext: BuilderContextInterface;
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from '../../context/types.js';
2
- import type { BuilderBlock } from '../../types/builder-block.js';
1
+ import type { BuilderContextInterface } from '../../context/types';
2
+ import type { BuilderBlock } from '../../types/builder-block';
3
3
  export interface RepeatData {
4
4
  block: BuilderBlock;
5
5
  context: BuilderContextInterface;
@@ -1,4 +1,4 @@
1
- import { BuilderBlock } from "../../types/builder-block.js";
1
+ import { BuilderBlock } from "../../types/builder-block";
2
2
  export type BlocksWrapperProps = {
3
3
  blocks: BuilderBlock[] | undefined;
4
4
  parent: string | undefined;
@@ -1,3 +1,3 @@
1
- import { BlocksProps } from "./blocks.types.js";
1
+ import { BlocksProps } from "./blocks.types";
2
2
  export declare const Blocks: import("@builder.io/qwik").Component<BlocksProps>;
3
3
  export default Blocks;
@@ -1,4 +1,4 @@
1
- import type { BuilderContextInterface, RegisteredComponents } from '../../context/types.js';
1
+ import type { BuilderContextInterface, RegisteredComponents } from '../../context/types';
2
2
  import type { BlocksWrapperProps } from './blocks-wrapper.jsx';
3
3
  export type BlocksProps = Partial<Omit<BlocksWrapperProps, 'BlocksWrapper' | 'BlocksWrapperProps'>> & {
4
4
  context?: BuilderContextInterface;
@@ -1,7 +1,7 @@
1
- import { BuilderContextInterface } from "../../../context/types.js";
2
- import { BuilderContent } from "../../../types/builder-content.js";
3
- import { Dictionary } from "../../../types/typescript.js";
4
- import { ContentProps } from "../content.types.js";
1
+ import { BuilderContextInterface } from "../../../context/types";
2
+ import { BuilderContent } from "../../../types/builder-content";
3
+ import { Dictionary } from "../../../types/typescript";
4
+ import { ContentProps } from "../content.types";
5
5
  type BuilderEditorProps = Omit<ContentProps, "customComponents" | "apiVersion" | "isSsrAbTest" | "blocksWrapper" | "blocksWrapperProps" | "isNestedRender"> & {
6
6
  builderContextSignal: BuilderContextInterface;
7
7
  setBuilderContextSignal?: (signal: any) => any;
@@ -1,4 +1,4 @@
1
- import { CustomFont } from "./styles.helpers.js";
1
+ import { CustomFont } from "./styles.helpers";
2
2
  interface Props {
3
3
  cssCode?: string;
4
4
  customFonts?: CustomFont[];
@@ -1,5 +1,5 @@
1
- import { BuilderRenderState } from "../../context/types.js";
2
- import { ContentProps } from "./content.types.js";
1
+ import { BuilderRenderState } from "../../context/types";
2
+ import { ContentProps } from "./content.types";
3
3
  export declare const contentSetState: (props: any, state: any, newRootState: BuilderRenderState) => void;
4
4
  export declare const ContentComponent: import("@builder.io/qwik").Component<ContentProps>;
5
5
  export default ContentComponent;
@@ -1,6 +1,6 @@
1
- import type { BuilderContent } from '../../types/builder-content.js';
2
- import type { Nullable } from '../../types/typescript.js';
3
- import type { ContentProps } from './content.types.js';
1
+ import type { BuilderContent } from '../../types/builder-content';
2
+ import type { Nullable } from '../../types/typescript';
3
+ import type { ContentProps } from './content.types';
4
4
  export declare const getRootStateInitialValue: ({ content, data, locale }: Pick<ContentProps, 'content' | 'data' | 'locale'>) => {
5
5
  locale?: string | undefined;
6
6
  };