@builder.io/sdk-vue 0.2.2 → 0.2.3

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 (99) hide show
  1. package/package.json +1 -1
  2. package/packages/_vue2/dist/{block-styles.4667431d.js → block-styles.5729b057.js} +18 -17
  3. package/packages/_vue2/dist/block-styles.cb3c2dd0.cjs +1 -0
  4. package/packages/{_vue3/dist/css.3241302b.cjs → _vue2/dist/css.2efa95fa.cjs} +1 -1
  5. package/packages/{_vue3/dist/css.81a21c5a.js → _vue2/dist/css.a54ddc90.js} +1 -1
  6. package/packages/_vue2/dist/{index.eb91dc82.js → index.6a9eec41.js} +356 -354
  7. package/packages/_vue2/dist/index.8547cce2.cjs +29 -0
  8. package/packages/_vue2/dist/{render-block.6f9a607a.js → render-block.4c7d7ca1.js} +43 -42
  9. package/packages/_vue2/dist/render-block.753d2325.cjs +3 -0
  10. package/packages/_vue2/dist/render-component.84d45798.js +38 -0
  11. package/packages/_vue2/dist/render-component.90275cfa.cjs +1 -0
  12. package/packages/_vue2/dist/render-inlined-styles.1999f52e.cjs +1 -0
  13. package/packages/_vue2/dist/render-inlined-styles.1fa49816.js +34 -0
  14. package/packages/_vue2/dist/{render-repeated-block.1bb5c2fb.js → render-repeated-block.900e2543.js} +15 -13
  15. package/packages/_vue2/dist/render-repeated-block.f522a309.cjs +1 -0
  16. package/packages/_vue2/dist/render-styles.15b8cdf0.cjs +31 -0
  17. package/packages/_vue2/dist/{render-styles.0d1f8872.js → render-styles.591ca7be.js} +26 -25
  18. package/packages/_vue2/dist/sdk.cjs +1 -1
  19. package/packages/_vue2/dist/sdk.js +23 -22
  20. package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +19 -8
  21. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +29 -174
  22. package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +9 -13
  23. package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +13 -20
  24. package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +1 -4
  25. package/packages/_vue2/dist/src/blocks/image/image.vue.d.ts +72 -0
  26. package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +8 -11
  27. package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +12 -7
  28. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +15 -245
  29. package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +7 -4
  30. package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +42 -7
  31. package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +18 -27
  32. package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +3 -86
  33. package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +3 -86
  34. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +19 -84
  35. package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +23 -127
  36. package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +15 -18
  37. package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +46 -212
  38. package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +12 -11
  39. package/packages/_vue2/dist/src/index.d.ts +1 -0
  40. package/packages/_vue2/dist/style.css +1 -1
  41. package/packages/_vue3/dist/block-styles.56f7b28a.cjs +1 -0
  42. package/packages/_vue3/dist/block-styles.f06f105b.js +69 -0
  43. package/packages/{_vue2/dist/css.468435de.js → _vue3/dist/css.2ff361fc.js} +1 -1
  44. package/packages/{_vue2/dist/css.dce6e4eb.cjs → _vue3/dist/css.f83437ab.cjs} +1 -1
  45. package/packages/_vue3/dist/{index.45ab85e5.js → index.0aed90df.js} +785 -784
  46. package/packages/_vue3/dist/index.d72bde22.cjs +29 -0
  47. package/packages/_vue3/dist/render-block.4e95bb8d.cjs +3 -0
  48. package/packages/_vue3/dist/{render-block.ec4c1913.js → render-block.905bcce5.js} +88 -109
  49. package/packages/_vue3/dist/render-component.0a7c094b.cjs +1 -0
  50. package/packages/_vue3/dist/render-component.b4a311b8.js +42 -0
  51. package/packages/_vue3/dist/render-inlined-styles.454bc38b.js +32 -0
  52. package/packages/_vue3/dist/render-inlined-styles.a596482a.cjs +1 -0
  53. package/packages/_vue3/dist/render-repeated-block.12894c71.js +38 -0
  54. package/packages/_vue3/dist/render-repeated-block.a95715ec.cjs +1 -0
  55. package/packages/_vue3/dist/{render-styles.cf6faa29.js → render-styles.90b25836.js} +33 -33
  56. package/packages/_vue3/dist/render-styles.b6bf070d.cjs +31 -0
  57. package/packages/_vue3/dist/sdk.cjs +1 -1
  58. package/packages/_vue3/dist/sdk.js +1 -1
  59. package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +19 -8
  60. package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +45 -91
  61. package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +16 -13
  62. package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +17 -20
  63. package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +1 -4
  64. package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +54 -14
  65. package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +27 -11
  66. package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +12 -7
  67. package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +25 -162
  68. package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +7 -4
  69. package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +42 -7
  70. package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +18 -27
  71. package/packages/_vue3/dist/src/components/render-block/render-block.vue.d.ts +2 -2
  72. package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +2 -2
  73. package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +19 -8
  74. package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +23 -44
  75. package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +15 -18
  76. package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +77 -129
  77. package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +12 -11
  78. package/packages/_vue3/dist/src/index.d.ts +1 -0
  79. package/packages/_vue3/dist/style.css +1 -1
  80. package/packages/_vue2/dist/block-styles.7c2a87df.cjs +0 -1
  81. package/packages/_vue2/dist/index.78ba6586.cjs +0 -29
  82. package/packages/_vue2/dist/render-block.67e4dd65.cjs +0 -3
  83. package/packages/_vue2/dist/render-component.10d6c8d2.js +0 -37
  84. package/packages/_vue2/dist/render-component.3578089b.cjs +0 -1
  85. package/packages/_vue2/dist/render-inlined-styles.56373d13.cjs +0 -1
  86. package/packages/_vue2/dist/render-inlined-styles.942eb38d.js +0 -33
  87. package/packages/_vue2/dist/render-repeated-block.18d7fc6e.cjs +0 -1
  88. package/packages/_vue2/dist/render-styles.de7287b6.cjs +0 -31
  89. package/packages/_vue3/dist/block-styles.09955b0c.cjs +0 -1
  90. package/packages/_vue3/dist/block-styles.6bd36a5a.js +0 -69
  91. package/packages/_vue3/dist/index.cca81180.cjs +0 -29
  92. package/packages/_vue3/dist/render-block.33cc5768.cjs +0 -3
  93. package/packages/_vue3/dist/render-component.3bd8dc76.js +0 -26
  94. package/packages/_vue3/dist/render-component.c0d5e797.cjs +0 -1
  95. package/packages/_vue3/dist/render-inlined-styles.952d2fff.js +0 -32
  96. package/packages/_vue3/dist/render-inlined-styles.b55b6667.cjs +0 -1
  97. package/packages/_vue3/dist/render-repeated-block.263f0cec.js +0 -37
  98. package/packages/_vue3/dist/render-repeated-block.c3c9e926.cjs +0 -1
  99. package/packages/_vue3/dist/render-styles.d1ac3a18.cjs +0 -31
@@ -1,134 +1,30 @@
1
+ import type { BuilderBlock } from "../types/builder-block.js";
1
2
  export type RenderBlockProps = {
2
3
  blocks?: BuilderBlock[];
3
4
  parent?: string;
4
5
  path?: string;
5
6
  styleProp?: Record<string, any>;
6
7
  };
7
- import { BuilderBlock } from "../types/builder-block.js";
8
- declare const _sfc_main: {
9
- name: string;
10
- components: {
11
- RenderBlock: () => Promise<{
12
- name: string;
13
- components: {
14
- RenderComponent: () => Promise<{
15
- name: string;
16
- components: {
17
- RenderBlock: () => Promise<any>;
18
- BlockStyles: () => Promise<{
19
- name: string;
20
- components: {
21
- RenderInlinedStyles: () => Promise<{
22
- name: string;
23
- props: string[];
24
- data(): {
25
- TARGET: string;
26
- };
27
- computed: {
28
- tag(): string;
29
- injectedStyleScript(): any;
30
- };
31
- }>;
32
- };
33
- props: string[];
34
- data(): {
35
- TARGET: string;
36
- };
37
- computed: {
38
- useBlock(): any;
39
- canShowBlock(): any;
40
- css(): any;
41
- };
42
- }>;
43
- };
44
- props: string[];
45
- }>;
46
- RenderRepeatedBlock: () => Promise<{
47
- name: string;
48
- components: {
49
- RenderBlock: () => Promise<any>;
50
- };
51
- props: string[];
52
- provide(): any;
53
- }>;
54
- BlockStyles: () => Promise<{
55
- name: string;
56
- components: {
57
- RenderInlinedStyles: () => Promise<{
58
- name: string;
59
- props: string[];
60
- data(): {
61
- TARGET: string;
62
- };
63
- computed: {
64
- tag(): string;
65
- injectedStyleScript(): any;
66
- };
67
- }>;
68
- };
69
- props: string[];
70
- data(): {
71
- TARGET: string;
72
- };
73
- computed: {
74
- useBlock(): any;
75
- canShowBlock(): any;
76
- css(): any;
77
- };
78
- }>;
79
- };
80
- props: string[];
81
- data(): any;
82
- computed: {
83
- useBlock(): any;
84
- canShowBlock(): unknown;
85
- actions(): any;
86
- attributes(): any;
87
- childrenWithoutParentComponent(): any;
88
- childrenContext(): any;
89
- renderComponentProps(): any;
90
- };
91
- methods: {
92
- stripVOn: (actions?: {}) => {};
93
- };
94
- }>;
95
- BlockStyles: () => Promise<{
96
- name: string;
97
- components: {
98
- RenderInlinedStyles: () => Promise<{
99
- name: string;
100
- props: string[];
101
- data(): {
102
- TARGET: string;
103
- };
104
- computed: {
105
- tag(): string;
106
- injectedStyleScript(): any;
107
- };
108
- }>;
109
- };
110
- props: string[];
111
- data(): {
112
- TARGET: string;
113
- };
114
- computed: {
115
- useBlock(): any;
116
- canShowBlock(): any;
117
- css(): any;
118
- };
119
- }>;
120
- };
121
- props: string[];
122
- inject: {
123
- builderContext: symbol;
124
- };
125
- computed: {
126
- className(): any;
127
- };
128
- methods: {
129
- onClick(): void;
130
- onMouseEnter(): void;
131
- _classStringToObject(str: any): {};
132
- };
133
- };
8
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
9
+ parent?: any;
10
+ blocks?: any;
11
+ path?: any;
12
+ styleProp?: any;
13
+ }>, {}, {}, {
14
+ className(): string;
15
+ }, {
16
+ onClick(): void;
17
+ onMouseEnter(): void;
18
+ _classStringToObject(str: any): {};
19
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
20
+ parent?: any;
21
+ blocks?: any;
22
+ path?: any;
23
+ styleProp?: any;
24
+ }>>>, {
25
+ readonly parent?: any;
26
+ readonly blocks?: any;
27
+ readonly path?: any;
28
+ readonly styleProp?: any;
29
+ }>;
134
30
  export default _sfc_main;
@@ -1,19 +1,16 @@
1
- declare const _sfc_main: {
2
- name: string;
3
- components: {
4
- RenderInlinedStyles: () => Promise<{
5
- name: string;
6
- props: string[];
7
- data(): {
8
- TARGET: string;
9
- };
10
- computed: {
11
- tag(): string;
12
- injectedStyleScript(): any;
13
- };
14
- }>;
15
- };
16
- props: string[];
17
- data(): any;
18
- };
1
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
+ cssCode?: any;
3
+ contentId?: any;
4
+ customFonts?: any;
5
+ }>, {}, {
6
+ injectedStyles: string;
7
+ }, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
8
+ cssCode?: any;
9
+ contentId?: any;
10
+ customFonts?: any;
11
+ }>>>, {
12
+ readonly cssCode?: any;
13
+ readonly contentId?: any;
14
+ readonly customFonts?: any;
15
+ }>;
19
16
  export default _sfc_main;
@@ -1,220 +1,54 @@
1
- import { BuilderRenderState } from "../../context/types.js";
2
- import { Breakpoints, BuilderContent } from "../../types/builder-content.js";
3
- import { Nullable } from "../../types/typescript.js";
4
- declare const _sfc_main: {
5
- name: string;
6
- components: {
7
- RenderContentStyles: () => Promise<{
8
- name: string;
9
- components: {
10
- RenderInlinedStyles: () => Promise<{
11
- name: string;
12
- props: string[];
13
- data(): {
14
- TARGET: string;
15
- };
16
- computed: {
17
- tag(): string;
18
- injectedStyleScript(): any;
19
- };
20
- }>;
21
- };
22
- props: string[];
23
- data(): any;
24
- }>;
25
- RenderBlocks: () => Promise<{
26
- name: string;
27
- components: {
28
- RenderBlock: () => Promise<{
29
- name: string;
30
- components: {
31
- RenderComponent: () => Promise<{
32
- name: string;
33
- components: {
34
- RenderBlock: () => Promise<any>;
35
- BlockStyles: () => Promise<{
36
- name: string;
37
- components: {
38
- RenderInlinedStyles: () => Promise<{
39
- name: string;
40
- props: string[];
41
- data(): {
42
- TARGET: string;
43
- };
44
- computed: {
45
- tag(): string;
46
- injectedStyleScript(): any;
47
- };
48
- }>;
49
- };
50
- props: string[];
51
- data(): {
52
- TARGET: string;
53
- };
54
- computed: {
55
- useBlock(): any;
56
- canShowBlock(): any;
57
- css(): any;
58
- };
59
- }>;
60
- };
61
- props: string[];
62
- }>;
63
- RenderRepeatedBlock: () => Promise<{
64
- name: string;
65
- components: {
66
- RenderBlock: () => Promise<any>;
67
- };
68
- props: string[];
69
- provide(): any;
70
- }>;
71
- BlockStyles: () => Promise<{
72
- name: string;
73
- components: {
74
- RenderInlinedStyles: () => Promise<{
75
- name: string;
76
- props: string[];
77
- data(): {
78
- TARGET: string;
79
- };
80
- computed: {
81
- tag(): string;
82
- injectedStyleScript(): any;
83
- };
84
- }>;
85
- };
86
- props: string[];
87
- data(): {
88
- TARGET: string;
89
- };
90
- computed: {
91
- useBlock(): any;
92
- canShowBlock(): any;
93
- css(): any;
94
- };
95
- }>;
96
- };
97
- props: string[];
98
- data(): any;
99
- computed: {
100
- useBlock(): any;
101
- canShowBlock(): unknown;
102
- actions(): any;
103
- attributes(): any;
104
- childrenWithoutParentComponent(): any;
105
- childrenContext(): any;
106
- renderComponentProps(): any;
107
- };
108
- methods: {
109
- stripVOn: (actions?: {}) => {};
110
- };
111
- }>;
112
- BlockStyles: () => Promise<{
113
- name: string;
114
- components: {
115
- RenderInlinedStyles: () => Promise<{
116
- name: string;
117
- props: string[];
118
- data(): {
119
- TARGET: string;
120
- };
121
- computed: {
122
- tag(): string;
123
- injectedStyleScript(): any;
124
- };
125
- }>;
126
- };
127
- props: string[];
128
- data(): {
129
- TARGET: string;
130
- };
131
- computed: {
132
- useBlock(): any;
133
- canShowBlock(): any;
134
- css(): any;
135
- };
136
- }>;
137
- };
138
- props: string[];
139
- inject: {
140
- builderContext: symbol;
141
- };
142
- computed: {
143
- className(): any;
144
- };
145
- methods: {
146
- onClick(): void;
147
- onMouseEnter(): void;
148
- _classStringToObject(str: any): {};
149
- };
150
- }>;
1
+ import type { BuilderRenderState } from "../../context/types.js";
2
+ import type { Breakpoints, BuilderContent } from "../../types/builder-content.js";
3
+ import type { Nullable } from "../../types/typescript.js";
4
+ declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
5
+ forceReRenderCount: number;
6
+ overrideContent: null;
7
+ useContent: Nullable<BuilderContent>;
8
+ update: number;
9
+ canTrackToUse: any;
10
+ contentState: {
11
+ [x: string]: unknown;
151
12
  };
152
- props: string[];
153
- data(): {
154
- forceReRenderCount: number;
155
- overrideContent: null;
156
- useContent: Nullable<BuilderContent>;
157
- update: number;
158
- canTrackToUse: any;
159
- contentState: {
13
+ allRegisteredComponents: any;
14
+ httpReqsData: {};
15
+ clicked: boolean;
16
+ TARGET: string;
17
+ }, {
18
+ onUpdateHook0(): {
19
+ 0: any;
20
+ };
21
+ onUpdateHook1(): {
22
+ 0: string | undefined;
23
+ 1: {
160
24
  [x: string]: unknown;
161
25
  };
162
- allRegisteredComponents: any;
163
- httpReqsData: {};
164
- clicked: boolean;
165
- TARGET: string;
166
26
  };
167
- provide(): {
168
- [x: symbol]: {
169
- content: any;
170
- state: any;
171
- setState: any;
172
- context: any;
173
- apiKey: any;
174
- apiVersion: any;
175
- registeredComponents: any;
176
- };
27
+ onUpdateHook2(): {
28
+ 0: {
29
+ [key: string]: string;
30
+ } | undefined;
177
31
  };
178
- mounted(): void;
179
- watch: {
180
- onUpdateHook0: {
181
- handler(): void;
182
- immediate: boolean;
183
- };
184
- onUpdateHook1: {
185
- handler(): void;
186
- immediate: boolean;
187
- };
188
- onUpdateHook2: {
189
- handler(): void;
190
- immediate: boolean;
191
- };
192
- onUpdateHook3: {
193
- handler(): void;
194
- immediate: boolean;
32
+ onUpdateHook3(): {
33
+ 0: {
34
+ [x: string]: unknown;
195
35
  };
196
36
  };
197
- unmounted(): void;
198
- computed: {
199
- onUpdateHook0(): any;
200
- onUpdateHook1(): any;
201
- onUpdateHook2(): any;
202
- onUpdateHook3(): any;
203
- };
204
- methods: {
205
- mergeNewContent(newContent: BuilderContent): void;
206
- setBreakpoints(breakpoints: Breakpoints): void;
207
- setContextState(newState: BuilderRenderState): void;
208
- processMessage(event: MessageEvent): void;
209
- evaluateJsCode(): void;
210
- onClick(event: any): void;
211
- evalExpression(expression: string): string;
212
- handleRequest({ url, key }: {
213
- key: string;
214
- url: string;
215
- }): void;
216
- runHttpRequests(): void;
217
- emitStateUpdate(): void;
218
- };
219
- };
37
+ }, {
38
+ mergeNewContent(newContent: BuilderContent): void;
39
+ setBreakpoints(breakpoints: Breakpoints): void;
40
+ setContextState(newState: BuilderRenderState): void;
41
+ processMessage(event: MessageEvent): void;
42
+ evaluateJsCode(): void;
43
+ onClick(event: any): void;
44
+ evalExpression(expression: string): string;
45
+ handleRequest({ url, key }: {
46
+ key: string;
47
+ url: string;
48
+ }): void;
49
+ runHttpRequests(): void;
50
+ emitStateUpdate(): void;
51
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]>>, {
52
+ [x: number]: string;
53
+ }>;
220
54
  export default _sfc_main;
@@ -1,12 +1,13 @@
1
- declare const _sfc_main: {
2
- name: string;
3
- props: string[];
4
- data(): {
5
- TARGET: string;
6
- };
7
- computed: {
8
- tag(): string;
9
- injectedStyleScript(): any;
10
- };
11
- };
1
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
+ styles?: any;
3
+ }>, {}, {
4
+ TARGET: string;
5
+ }, {
6
+ tag(): string;
7
+ injectedStyleScript(): string;
8
+ }, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
9
+ styles?: any;
10
+ }>>>, {
11
+ readonly styles?: any;
12
+ }>;
12
13
  export default _sfc_main;
@@ -10,3 +10,4 @@ export * from './functions/get-builder-search-params/index.js';
10
10
  export { track } from './functions/track/index.js';
11
11
  export type { RegisteredComponent } from './context/types';
12
12
  export type { ComponentInfo } from './types/components';
13
+ export type { RenderContentProps } from './components/render-content/render-content.types.js';
@@ -1 +1 @@
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}
1
+ .button-2fnk003dqad[data-v-5f197ca9]{all:unset}.div-t9spj7joih[data-v-1a6287e9]{display:flex;line-height:normal}.div-t9spj7joih-2[data-v-1a6287e9]{display:flex;flex-direction:column;align-items:stretch}.img-1pl23ac79ld[data-v-0d553173]{opacity:1;transition:opacity .2s ease-in-out}.div-1pl23ac79ld[data-v-0d553173]{width:100%;pointer-events:none;font-size:0}.div-1pl23ac79ld-2[data-v-0d553173]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.div-21azgz5avex[data-v-e4c3b2b6]{display:flex;flex-direction:column;align-items:stretch}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),s=require("./index.d72bde22.cjs"),r=require("./css.f83437ab.cjs"),y=()=>Promise.resolve().then(()=>require("./render-inlined-styles.a596482a.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=n.defineComponent({name:"block-styles",components:{RenderInlinedStyles:n.defineAsyncComponent(y)},props:["block","context"],data(){return{TARGET:s.TARGET}},computed:{useBlock(){return r.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,c=s.getSizesForBreakpoints(((d=o==null?void 0:o.meta)==null?void 0:d.breakpoints)||{}),l=e==null?void 0:e.large,i=e==null?void 0:e.medium,a=e==null?void 0:e.small,t=this.useBlock.id;if(!t)return"";const u=l?r.createCssClass({className:t,styles:l}):"",m=i?r.createCssClass({className:t,styles:i,mediaQuery:s.getMaxWidthQueryForSize("medium",c)}):"",h=a?r.createCssClass({className:t,styles:a,mediaQuery:s.getMaxWidthQueryForSize("small",c)}):"";return[u,m,h].join(" ")}}});function p(e,o,c,l,i,a){const t=n.resolveComponent("render-inlined-styles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(n.openBlock(),n.createBlock(t,{key:0,styles:e.css},null,8,["styles"])):n.createCommentVNode("",!0)}const S=s._export_sfc(k,[["render",p]]);exports.default=S;
@@ -0,0 +1,69 @@
1
+ import { defineComponent as h, defineAsyncComponent as k, resolveComponent as y, openBlock as f, createBlock as B, createCommentVNode as S } from "vue";
2
+ import { T as g, c as a, g as C, a as d, _ } from "./index.0aed90df.js";
3
+ import { g as b, c } from "./css.2ff361fc.js";
4
+ const w = () => import("./render-inlined-styles.454bc38b.js").then((e) => e.default).catch((e) => {
5
+ throw console.error(
6
+ "Error while attempting to dynamically import component RenderInlinedStyles at ../render-inlined-styles.vue",
7
+ e
8
+ ), e;
9
+ }), x = h({
10
+ name: "block-styles",
11
+ components: {
12
+ RenderInlinedStyles: k(w)
13
+ },
14
+ props: ["block", "context"],
15
+ data() {
16
+ return { TARGET: g };
17
+ },
18
+ computed: {
19
+ useBlock() {
20
+ return b({
21
+ block: this.block,
22
+ state: this.context.state,
23
+ context: this.context.context,
24
+ shouldEvaluateBindings: !0
25
+ });
26
+ },
27
+ canShowBlock() {
28
+ return a(this.useBlock.hide) ? !this.useBlock.hide : a(this.useBlock.show) ? this.useBlock.show : !0;
29
+ },
30
+ css() {
31
+ var i;
32
+ const e = this.useBlock.responsiveStyles, s = this.context.content, o = C(
33
+ ((i = s == null ? void 0 : s.meta) == null ? void 0 : i.breakpoints) || {}
34
+ ), n = e == null ? void 0 : e.large, r = e == null ? void 0 : e.medium, l = e == null ? void 0 : e.small, t = this.useBlock.id;
35
+ if (!t)
36
+ return "";
37
+ const m = n ? c({
38
+ className: t,
39
+ styles: n
40
+ }) : "", u = r ? c({
41
+ className: t,
42
+ styles: r,
43
+ mediaQuery: d(
44
+ "medium",
45
+ o
46
+ )
47
+ }) : "", p = l ? c({
48
+ className: t,
49
+ styles: l,
50
+ mediaQuery: d(
51
+ "small",
52
+ o
53
+ )
54
+ }) : "";
55
+ return [m, u, p].join(" ");
56
+ }
57
+ }
58
+ });
59
+ function v(e, s, o, n, r, l) {
60
+ const t = y("render-inlined-styles");
61
+ return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (f(), B(t, {
62
+ key: 0,
63
+ styles: e.css
64
+ }, null, 8, ["styles"])) : S("", !0);
65
+ }
66
+ const I = /* @__PURE__ */ _(x, [["render", v]]);
67
+ export {
68
+ I as default
69
+ };
@@ -1,4 +1,4 @@
1
- import { f as a, e as u, c as f } from "./index.eb91dc82.js";
1
+ import { f as a, e as u, c as f } from "./index.0aed90df.js";
2
2
  const l = (e, t, r) => {
3
3
  if (Object(e) !== e)
4
4
  return e;
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("./index.78ba6586.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,o,c)=>Object(n[o])===n[o]?n[o]:n[o]=Math.abs(Number(s[c+1]))>>0===+s[c+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 o in e.bindings){const c=e.bindings[o],u=i.evaluate({code:c,state:r,context:t});l(n,o,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(`
1
+ "use strict";const i=require("./index.d72bde22.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,o,c)=>Object(n[o])===n[o]?n[o]:n[o]=Math.abs(Number(s[c+1]))>>0===+s[c+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 o in e.bindings){const c=e.bindings[o],u=i.evaluate({code:c,state:r,context:t});l(n,o,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} {