@builder.io/sdk-vue 0.2.0 → 0.2.2

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 (76) hide show
  1. package/package.json +1 -1
  2. package/packages/_vue2/dist/{block-styles.97de2652.js → block-styles.4667431d.js} +14 -11
  3. package/packages/_vue2/dist/block-styles.7c2a87df.cjs +1 -0
  4. package/packages/_vue2/dist/{css.4d4e03cf.js → css.468435de.js} +1 -1
  5. package/packages/{_vue3/dist/css.785b2126.cjs → _vue2/dist/css.dce6e4eb.cjs} +2 -2
  6. package/packages/_vue2/dist/index.78ba6586.cjs +29 -0
  7. package/packages/_vue2/dist/{index.346656f6.js → index.eb91dc82.js} +340 -325
  8. package/packages/_vue2/dist/render-block.67e4dd65.cjs +3 -0
  9. package/packages/_vue2/dist/{render-block.1c1312ce.js → render-block.6f9a607a.js} +58 -63
  10. package/packages/_vue2/dist/{render-component.de99974e.js → render-component.10d6c8d2.js} +3 -3
  11. package/packages/_vue2/dist/{render-component.4ed8b740.cjs → render-component.3578089b.cjs} +1 -1
  12. package/packages/_vue2/dist/{render-inlined-styles.3797e28a.cjs → render-inlined-styles.56373d13.cjs} +1 -1
  13. package/packages/_vue2/dist/{render-inlined-styles.1c2c5bf9.js → render-inlined-styles.942eb38d.js} +4 -4
  14. package/packages/_vue2/dist/{render-repeated-block.dc48228e.cjs → render-repeated-block.18d7fc6e.cjs} +1 -1
  15. package/packages/_vue2/dist/{render-repeated-block.d7d1e175.js → render-repeated-block.1bb5c2fb.js} +2 -2
  16. package/packages/_vue2/dist/{render-styles.a61feef4.js → render-styles.0d1f8872.js} +2 -2
  17. package/packages/_vue2/dist/{render-styles.23d118f3.cjs → render-styles.de7287b6.cjs} +3 -3
  18. package/packages/_vue2/dist/sdk.cjs +1 -1
  19. package/packages/_vue2/dist/sdk.js +1 -1
  20. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +6 -8
  21. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +6 -8
  22. package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +1 -1
  23. package/packages/_vue2/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  24. package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +4 -6
  25. package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +4 -6
  26. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +4 -6
  27. package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +5 -7
  28. package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +1 -1
  29. package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +6 -8
  30. package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +1 -1
  31. package/packages/_vue2/dist/src/functions/get-content/index.d.ts +1 -1
  32. package/packages/_vue2/dist/src/helpers/logger.d.ts +5 -0
  33. package/packages/_vue2/dist/src/types/builder-content.d.ts +1 -1
  34. package/packages/_vue2/dist/src/types/components.d.ts +1 -72
  35. package/packages/_vue2/dist/src/types/input.d.ts +121 -0
  36. package/packages/_vue2/dist/style.css +1 -1
  37. package/packages/_vue3/dist/block-styles.09955b0c.cjs +1 -0
  38. package/packages/_vue3/dist/{block-styles.40e4c9b5.js → block-styles.6bd36a5a.js} +14 -11
  39. package/packages/{_vue2/dist/css.75f390cc.cjs → _vue3/dist/css.3241302b.cjs} +2 -2
  40. package/packages/_vue3/dist/{css.77c76358.js → css.81a21c5a.js} +1 -1
  41. package/packages/_vue3/dist/{index.4931a4d1.js → index.45ab85e5.js} +506 -491
  42. package/packages/_vue3/dist/index.cca81180.cjs +29 -0
  43. package/packages/_vue3/dist/render-block.33cc5768.cjs +3 -0
  44. package/packages/_vue3/dist/{render-block.6fa26228.js → render-block.ec4c1913.js} +96 -101
  45. package/packages/_vue3/dist/{render-component.44d63ad3.js → render-component.3bd8dc76.js} +3 -3
  46. package/packages/_vue3/dist/{render-component.2721bc0c.cjs → render-component.c0d5e797.cjs} +1 -1
  47. package/packages/_vue3/dist/{render-inlined-styles.dccd4787.js → render-inlined-styles.952d2fff.js} +4 -4
  48. package/packages/_vue3/dist/{render-inlined-styles.b1441d2d.cjs → render-inlined-styles.b55b6667.cjs} +1 -1
  49. package/packages/_vue3/dist/{render-repeated-block.e5d7da62.js → render-repeated-block.263f0cec.js} +2 -2
  50. package/packages/_vue3/dist/{render-repeated-block.1360a469.cjs → render-repeated-block.c3c9e926.cjs} +1 -1
  51. package/packages/_vue3/dist/{render-styles.850fddb0.js → render-styles.cf6faa29.js} +2 -2
  52. package/packages/_vue3/dist/{render-styles.e1959d28.cjs → render-styles.d1ac3a18.cjs} +2 -2
  53. package/packages/_vue3/dist/sdk.cjs +1 -1
  54. package/packages/_vue3/dist/sdk.js +1 -1
  55. package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +2 -2
  56. package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +2 -11
  57. package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +1 -1
  58. package/packages/_vue3/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  59. package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +1 -1
  60. package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +1 -1
  61. package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +2 -2
  62. package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +1 -1
  63. package/packages/_vue3/dist/src/functions/get-content/index.d.ts +1 -1
  64. package/packages/_vue3/dist/src/helpers/logger.d.ts +5 -0
  65. package/packages/_vue3/dist/src/types/builder-content.d.ts +1 -1
  66. package/packages/_vue3/dist/src/types/components.d.ts +1 -72
  67. package/packages/_vue3/dist/src/types/input.d.ts +121 -0
  68. package/packages/_vue3/dist/style.css +1 -1
  69. package/packages/_vue2/dist/block-styles.ef03a37e.cjs +0 -1
  70. package/packages/_vue2/dist/index.c72abf65.cjs +0 -29
  71. package/packages/_vue2/dist/render-block.2880ad6e.cjs +0 -3
  72. package/packages/_vue2/dist/src/functions/get-block-tag.d.ts +0 -3
  73. package/packages/_vue3/dist/block-styles.32155e57.cjs +0 -1
  74. package/packages/_vue3/dist/index.9fb3a7e0.cjs +0 -29
  75. package/packages/_vue3/dist/render-block.cfb6d51a.cjs +0 -3
  76. package/packages/_vue3/dist/src/functions/get-block-tag.d.ts +0 -3
@@ -25,8 +25,8 @@ declare const _sfc_main: {
25
25
  TARGET: string;
26
26
  };
27
27
  computed: {
28
- injectedStyleScript(): any;
29
28
  tag(): string;
29
+ injectedStyleScript(): any;
30
30
  };
31
31
  }>;
32
32
  };
@@ -61,8 +61,8 @@ declare const _sfc_main: {
61
61
  TARGET: string;
62
62
  };
63
63
  computed: {
64
- injectedStyleScript(): any;
65
64
  tag(): string;
65
+ injectedStyleScript(): any;
66
66
  };
67
67
  }>;
68
68
  };
@@ -80,15 +80,13 @@ declare const _sfc_main: {
80
80
  props: string[];
81
81
  data(): any;
82
82
  computed: {
83
- tag(): any;
84
83
  useBlock(): any;
85
- canShowBlock(): any;
86
- proxyState(): any;
84
+ canShowBlock(): unknown;
87
85
  actions(): any;
88
86
  attributes(): any;
89
- renderComponentProps(): any;
90
87
  childrenWithoutParentComponent(): any;
91
88
  childrenContext(): any;
89
+ renderComponentProps(): any;
92
90
  };
93
91
  methods: {
94
92
  stripVOn: (actions?: {}) => {};
@@ -104,8 +102,8 @@ declare const _sfc_main: {
104
102
  TARGET: string;
105
103
  };
106
104
  computed: {
107
- injectedStyleScript(): any;
108
105
  tag(): string;
106
+ injectedStyleScript(): any;
109
107
  };
110
108
  }>;
111
109
  };
@@ -8,8 +8,8 @@ declare const _sfc_main: {
8
8
  TARGET: string;
9
9
  };
10
10
  computed: {
11
- injectedStyleScript(): any;
12
11
  tag(): string;
12
+ injectedStyleScript(): any;
13
13
  };
14
14
  }>;
15
15
  };
@@ -14,8 +14,8 @@ declare const _sfc_main: {
14
14
  TARGET: string;
15
15
  };
16
16
  computed: {
17
- injectedStyleScript(): any;
18
17
  tag(): string;
18
+ injectedStyleScript(): any;
19
19
  };
20
20
  }>;
21
21
  };
@@ -42,8 +42,8 @@ declare const _sfc_main: {
42
42
  TARGET: string;
43
43
  };
44
44
  computed: {
45
- injectedStyleScript(): any;
46
45
  tag(): string;
46
+ injectedStyleScript(): any;
47
47
  };
48
48
  }>;
49
49
  };
@@ -78,8 +78,8 @@ declare const _sfc_main: {
78
78
  TARGET: string;
79
79
  };
80
80
  computed: {
81
- injectedStyleScript(): any;
82
81
  tag(): string;
82
+ injectedStyleScript(): any;
83
83
  };
84
84
  }>;
85
85
  };
@@ -97,15 +97,13 @@ declare const _sfc_main: {
97
97
  props: string[];
98
98
  data(): any;
99
99
  computed: {
100
- tag(): any;
101
100
  useBlock(): any;
102
- canShowBlock(): any;
103
- proxyState(): any;
101
+ canShowBlock(): unknown;
104
102
  actions(): any;
105
103
  attributes(): any;
106
- renderComponentProps(): any;
107
104
  childrenWithoutParentComponent(): any;
108
105
  childrenContext(): any;
106
+ renderComponentProps(): any;
109
107
  };
110
108
  methods: {
111
109
  stripVOn: (actions?: {}) => {};
@@ -121,8 +119,8 @@ declare const _sfc_main: {
121
119
  TARGET: string;
122
120
  };
123
121
  computed: {
124
- injectedStyleScript(): any;
125
122
  tag(): string;
123
+ injectedStyleScript(): any;
126
124
  };
127
125
  }>;
128
126
  };
@@ -5,8 +5,8 @@ declare const _sfc_main: {
5
5
  TARGET: string;
6
6
  };
7
7
  computed: {
8
- injectedStyleScript(): any;
9
8
  tag(): string;
9
+ injectedStyleScript(): any;
10
10
  };
11
11
  };
12
12
  export default _sfc_main;
@@ -7,5 +7,5 @@ type ContentResponse = {
7
7
  status: number;
8
8
  message: string;
9
9
  };
10
- export declare function getAllContent(options: GetContentOptions): Promise<ContentResponse>;
10
+ export declare function getAllContent(options: GetContentOptions): Promise<ContentResponse | null>;
11
11
  export {};
@@ -0,0 +1,5 @@
1
+ export declare const logger: {
2
+ log: (...message: any[]) => void;
3
+ error: (...message: any[]) => void;
4
+ warn: (...message: any[]) => void;
5
+ };
@@ -1,5 +1,5 @@
1
1
  import type { BuilderBlock } from './builder-block.js';
2
- import type { Input } from './components.js';
2
+ import type { Input } from './input.js';
3
3
  import type { Nullable } from './typescript.js';
4
4
  export interface Breakpoints {
5
5
  small: number;
@@ -1,76 +1,5 @@
1
1
  import type { BuilderElement } from './element';
2
- export interface Input {
3
- name: string;
4
- friendlyName?: string;
5
- description?: string;
6
- defaultValue?: any;
7
- type: string;
8
- valueType?: {
9
- type?: string;
10
- };
11
- required?: boolean;
12
- autoFocus?: boolean;
13
- subFields?: Input[];
14
- helperText?: string;
15
- allowedFileTypes?: string[];
16
- imageHeight?: number;
17
- imageWidth?: number;
18
- mediaHeight?: number;
19
- mediaWidth?: number;
20
- hideFromUI?: boolean;
21
- modelId?: string;
22
- /**
23
- * Number field type validation maximum accepted input
24
- */
25
- max?: number;
26
- /**
27
- * Number field type validation minimum accepted input
28
- */
29
- min?: number;
30
- /**
31
- * Number field type step size when using arrows
32
- */
33
- step?: number;
34
- /**
35
- * Set this to `true` to show the editor for this input when
36
- * children of this component are selected. This is useful for things
37
- * like Tabs, such that users may not always select the Tabs component
38
- * directly but will still be looking for how to add additional tabs
39
- */
40
- broadcast?: boolean;
41
- /**
42
- * Set this to `true` to show the editor for this input when
43
- * group locked parents of this component are selected. This is useful
44
- * to bubble up important inputs for locked groups, like text and images
45
- */
46
- bubble?: boolean;
47
- options?: {
48
- [key: string]: any;
49
- };
50
- enum?: string[] | {
51
- label: string;
52
- value: any;
53
- helperText?: string;
54
- }[];
55
- /** Regex field validation for all string types (text, longText, html, url, etc) */
56
- regex?: {
57
- /** pattern to test, like "^\/[a-z]$" */
58
- pattern: string;
59
- /** flags for the RegExp constructor, e.g. "gi" */
60
- options?: string;
61
- /**
62
- * Friendly message to display to end-users if the regex fails, e.g.
63
- * "You must use a relative url starting with '/...' "
64
- */
65
- message: string;
66
- };
67
- advanced?: boolean;
68
- onChange?: ((options: Map<string, any>) => void | Promise<void>) | string;
69
- code?: boolean;
70
- richText?: boolean;
71
- showIf?: ((options: Map<string, any>) => boolean) | string;
72
- copyOnAdd?: boolean;
73
- }
2
+ import type { Input } from './input';
74
3
  export interface ComponentInfo {
75
4
  /**
76
5
  * Name your component something unique, e.g. 'MyButton'. You can override built-in components
@@ -0,0 +1,121 @@
1
+ export interface Input {
2
+ /** This is the name of the component prop this input represents */
3
+ name: string;
4
+ /** A friendlier name to show in the UI if the component prop name is not ideal for end users */
5
+ friendlyName?: string;
6
+ /** @hidden @deprecated */
7
+ description?: string;
8
+ /** A default value to use */
9
+ defaultValue?: any;
10
+ /**
11
+ * The type of input to use, such as 'text'
12
+ *
13
+ * See all available inputs [here](https://www.builder.io/c/docs/custom-react-components#input-types)
14
+ * and you can create your own custom input types and associated editor UIs with [plugins](https://www.builder.io/c/docs/extending/plugins)
15
+ */
16
+ type: string;
17
+ /** Is this input mandatory or not */
18
+ required?: boolean;
19
+ /** @hidden */
20
+ autoFocus?: boolean;
21
+ subFields?: Input[];
22
+ /**
23
+ * Additional text to render in the UI to give guidance on how to use this
24
+ *
25
+ * @example
26
+ * ```js
27
+ * helperText: 'Be sure to use a proper URL, starting with "https://"'
28
+ * 111
29
+ */
30
+ helperText?: string;
31
+ /** @hidden */
32
+ allowedFileTypes?: string[];
33
+ /** @hidden */
34
+ imageHeight?: number;
35
+ /** @hidden */
36
+ imageWidth?: number;
37
+ /** @hidden */
38
+ mediaHeight?: number;
39
+ /** @hidden */
40
+ mediaWidth?: number;
41
+ /** @hidden */
42
+ hideFromUI?: boolean;
43
+ /** @hidden */
44
+ modelId?: string;
45
+ /**
46
+ * Number field type validation maximum accepted input
47
+ */
48
+ max?: number;
49
+ /**
50
+ * Number field type validation minimum accepted input
51
+ */
52
+ min?: number;
53
+ /**
54
+ * Number field type step size when using arrows
55
+ */
56
+ step?: number;
57
+ /**
58
+ * Set this to `true` to show the editor for this input when
59
+ * children of this component are selected. This is useful for things
60
+ * like Tabs, such that users may not always select the Tabs component
61
+ * directly but will still be looking for how to add additional tabs
62
+ */
63
+ broadcast?: boolean;
64
+ /**
65
+ * Set this to `true` to show the editor for this input when
66
+ * group locked parents of this component are selected. This is useful
67
+ * to bubble up important inputs for locked groups, like text and images
68
+ */
69
+ bubble?: boolean;
70
+ /**
71
+ * Set this to `true` if you want this component to be translatable
72
+ */
73
+ localized?: boolean;
74
+ /** @hidden */
75
+ options?: {
76
+ [key: string]: any;
77
+ };
78
+ /**
79
+ * For "text" input type, specifying an enum will show a dropdown of options instead
80
+ */
81
+ enum?: string[] | {
82
+ label: string;
83
+ value: any;
84
+ helperText?: string;
85
+ }[];
86
+ /** Regex field validation for all string types (text, longText, html, url, etc) */
87
+ regex?: {
88
+ /** pattern to test, like "^\/[a-z]$" */
89
+ pattern: string;
90
+ /** flags for the RegExp constructor, e.g. "gi" */
91
+ options?: string;
92
+ /**
93
+ * Friendly message to display to end-users if the regex fails, e.g.
94
+ * "You must use a relative url starting with '/...' "
95
+ */
96
+ message: string;
97
+ };
98
+ /**
99
+ * Set this to `true` to put this under the "show more" section of
100
+ * the options editor. Useful for things that are more advanced
101
+ * or more rarely used and don't need to be too prominent
102
+ */
103
+ advanced?: boolean;
104
+ /** @hidden */
105
+ /** @hidden */
106
+ code?: boolean;
107
+ /** @hidden */
108
+ richText?: boolean;
109
+ /** @hidden */
110
+ showIf?: ((options: Map<string, any>) => boolean) | string;
111
+ /** @hidden */
112
+ copyOnAdd?: boolean;
113
+ /**
114
+ * Use optionally with inputs of type `reference`. Restricts the content entry picker to a specific model by name.
115
+ */
116
+ model?: string;
117
+ valueType?: {
118
+ type?: string;
119
+ };
120
+ onChange?: ((options: Map<string, any>) => void | Promise<void>) | string;
121
+ }
@@ -1 +1 @@
1
- .button-2fnk003dqad[data-v-65a02987]{all:unset}.div-t9spj7joih[data-v-2bb878ea]{display:flex;line-height:normal}.div-t9spj7joih-2[data-v-2bb878ea]{display:flex;flex-direction:column;align-items:stretch}.img-b1turyjjkok[data-v-be9cda3c]{opacity:1;transition:opacity .2s ease-in-out}.div-b1turyjjkok[data-v-be9cda3c]{width:100%;pointer-events:none;font-size:0}.div-b1turyjjkok-2[data-v-be9cda3c]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.div-21azgz5avex[data-v-57df98d3]{display:flex;flex-direction:column;align-items:stretch}
1
+ .button-2fnk003dqad[data-v-a8305dd0]{all:unset}.div-t9spj7joih[data-v-2bb878ea]{display:flex;line-height:normal}.div-t9spj7joih-2[data-v-2bb878ea]{display:flex;flex-direction:column;align-items:stretch}.img-1pl23ac79ld[data-v-b5206874]{opacity:1;transition:opacity .2s ease-in-out}.div-1pl23ac79ld[data-v-b5206874]{width:100%;pointer-events:none;font-size:0}.div-1pl23ac79ld-2[data-v-b5206874]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.div-21azgz5avex[data-v-57df98d3]{display:flex;flex-direction:column;align-items:stretch}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),s=require("./index.cca81180.cjs"),l=require("./css.3241302b.cjs"),y=()=>Promise.resolve().then(()=>require("./render-inlined-styles.b55b6667.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component RenderInlinedStyles at ../render-inlined-styles.vue",e),e}),k={name:"block-styles",components:{RenderInlinedStyles:c.defineAsyncComponent(y)},props:["block","context"],data(){return{TARGET:s.TARGET}},computed:{useBlock(){return l.getProcessedBlock({block:this.block,state:this.context.state,context:this.context.context,shouldEvaluateBindings:!0})},canShowBlock(){return s.checkIsDefined(this.useBlock.hide)?!this.useBlock.hide:s.checkIsDefined(this.useBlock.show)?this.useBlock.show:!0},css(){var d;const e=this.useBlock.responsiveStyles,o=this.context.content,i=s.getSizesForBreakpoints(((d=o==null?void 0:o.meta)==null?void 0:d.breakpoints)||{}),a=e==null?void 0:e.large,r=e==null?void 0:e.medium,t=e==null?void 0:e.small,n=this.useBlock.id;if(!n)return"";const u=a?l.createCssClass({className:n,styles:a}):"",m=r?l.createCssClass({className:n,styles:r,mediaQuery:s.getMaxWidthQueryForSize("medium",i)}):"",h=t?l.createCssClass({className:n,styles:t,mediaQuery:s.getMaxWidthQueryForSize("small",i)}):"";return[u,m,h].join(" ")}}};function p(e,o,i,a,r,t){const n=c.resolveComponent("render-inlined-styles");return r.TARGET!=="reactNative"&&t.css&&t.canShowBlock?(c.openBlock(),c.createBlock(n,{key:0,styles:t.css},null,8,["styles"])):c.createCommentVNode("",!0)}const S=s._export_sfc(k,[["render",p]]);exports.default=S;
@@ -1,7 +1,7 @@
1
1
  import { defineAsyncComponent as p, resolveComponent as k, openBlock as y, createBlock as B, createCommentVNode as S } from "vue";
2
- import { T as f, c as i, g as _, a as d, _ as g } from "./index.4931a4d1.js";
3
- import { g as x, c as r } from "./css.77c76358.js";
4
- const C = () => import("./render-inlined-styles.dccd4787.js").then((e) => e.default).catch((e) => {
2
+ import { T as f, c as a, g as _, a as d, _ as g } from "./index.45ab85e5.js";
3
+ import { g as x, c as l } from "./css.81a21c5a.js";
4
+ const C = () => import("./render-inlined-styles.952d2fff.js").then((e) => e.default).catch((e) => {
5
5
  throw console.error(
6
6
  "Error while attempting to dynamically import component RenderInlinedStyles at ../render-inlined-styles.vue",
7
7
  e
@@ -25,23 +25,26 @@ const C = () => import("./render-inlined-styles.dccd4787.js").then((e) => e.defa
25
25
  });
26
26
  },
27
27
  canShowBlock() {
28
- return i(this.useBlock.hide) ? !this.useBlock.hide : i(this.useBlock.show) ? this.useBlock.show : !0;
28
+ return a(this.useBlock.hide) ? !this.useBlock.hide : a(this.useBlock.show) ? this.useBlock.show : !0;
29
29
  },
30
30
  css() {
31
- var a;
31
+ var i;
32
32
  const e = this.useBlock.responsiveStyles, o = this.context.content, c = _(
33
- ((a = o == null ? void 0 : o.meta) == null ? void 0 : a.breakpoints) || {}
34
- ), l = e == null ? void 0 : e.large, n = e == null ? void 0 : e.medium, t = e == null ? void 0 : e.small, s = this.useBlock.id, m = l ? r({
33
+ ((i = o == null ? void 0 : o.meta) == null ? void 0 : i.breakpoints) || {}
34
+ ), r = e == null ? void 0 : e.large, n = e == null ? void 0 : e.medium, t = e == null ? void 0 : e.small, s = this.useBlock.id;
35
+ if (!s)
36
+ return "";
37
+ const m = r ? l({
35
38
  className: s,
36
- styles: l
37
- }) : "", u = n ? r({
39
+ styles: r
40
+ }) : "", u = n ? l({
38
41
  className: s,
39
42
  styles: n,
40
43
  mediaQuery: d(
41
44
  "medium",
42
45
  c
43
46
  )
44
- }) : "", h = t ? r({
47
+ }) : "", h = t ? l({
45
48
  className: s,
46
49
  styles: t,
47
50
  mediaQuery: d(
@@ -53,7 +56,7 @@ const C = () => import("./render-inlined-styles.dccd4787.js").then((e) => e.defa
53
56
  }
54
57
  }
55
58
  };
56
- function w(e, o, c, l, n, t) {
59
+ function w(e, o, c, r, n, t) {
57
60
  const s = k("render-inlined-styles");
58
61
  return n.TARGET !== "reactNative" && t.css && t.canShowBlock ? (y(), B(s, {
59
62
  key: 0,
@@ -1,6 +1,6 @@
1
- "use strict";const i=require("./index.c72abf65.cjs"),l=(e,t,r)=>{if(Object(e)!==e)return e;const s=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return s.slice(0,-1).reduce((n,c,o)=>Object(n[c])===n[c]?n[c]:n[c]=Math.abs(Number(s[o+1]))>>0===+s[o+1]?[]:{},e)[s[s.length-1]]=r,e};const f=({block:e,context:t,state:r})=>{if(!e.bindings)return e;const s=i.fastClone(e),n={...s,properties:{...s.properties},actions:{...s.actions}};for(const c in e.bindings){const o=e.bindings[c],u=i.evaluate({code:o,state:r,context:t});l(n,c,u)}return n};function d({block:e,context:t,shouldEvaluateBindings:r,state:s}){const n=e;return r?f({block:n,state:s,context:t}):n}const p=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),a=e=>Object.entries(e).map(([r,s])=>{if(typeof s=="string")return`${p(r)}: ${s};`}).filter(i.checkIsDefined),g=e=>a(e).join(`
1
+ "use strict";const i=require("./index.cca81180.cjs"),l=(e,t,r)=>{if(Object(e)!==e)return e;const s=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return s.slice(0,-1).reduce((n,c,o)=>Object(n[c])===n[c]?n[c]:n[c]=Math.abs(Number(s[o+1]))>>0===+s[o+1]?[]:{},e)[s[s.length-1]]=r,e};const d=({block:e,context:t,state:r})=>{if(!e.bindings)return e;const s=i.fastClone(e),n={...s,properties:{...s.properties},actions:{...s.actions}};for(const c in e.bindings){const o=e.bindings[c],u=i.evaluate({code:o,state:r,context:t});l(n,c,u)}return n};function f({block:e,context:t,shouldEvaluateBindings:r,state:s}){const n=e;return r?d({block:n,state:s,context:t}):n}const p=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),a=e=>Object.entries(e).map(([r,s])=>{if(typeof s=="string")return`${p(r)}: ${s};`}).filter(i.checkIsDefined),g=e=>a(e).join(`
2
2
  `),C=({mediaQuery:e,className:t,styles:r})=>{const s=`.${t} {
3
3
  ${g(r)}
4
4
  }`;return e?`${e} {
5
5
  ${s}
6
- }`:s};exports.convertStyleMapToCSSArray=a;exports.createCssClass=C;exports.getProcessedBlock=d;
6
+ }`:s};exports.convertStyleMapToCSSArray=a;exports.createCssClass=C;exports.getProcessedBlock=f;
@@ -1,4 +1,4 @@
1
- import { f as a, e as u, c as f } from "./index.4931a4d1.js";
1
+ import { f as a, e as u, c as f } from "./index.45ab85e5.js";
2
2
  const l = (e, t, r) => {
3
3
  if (Object(e) !== e)
4
4
  return e;