@innovastudio/contentbuilder 1.5.120 → 1.5.122

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -214,6 +214,39 @@ interface ContentBuilderOptions {
214
214
  commandInfo?: any[];
215
215
  commandInfoCanvasMode?: any[];
216
216
  onStartRequest?: () => void;
217
+
218
+ //-- Form Builder
219
+ defaultTextGenerationProvider?: string;
220
+ model?: string;
221
+ model2?: string;
222
+ sendCommandStreamUrl?: string;
223
+ generationModels_OpenAI?: any[];
224
+ generationModels_OpenRouter?: any[];
225
+ imageToggle?: boolean;
226
+ videoToggle?: boolean;
227
+ audioToggle?: boolean;
228
+ defaultMediaGenerationProvider?: string;
229
+ mediaGenerationProviders?: any[];
230
+ uploadMediaUrl_Fal?: string;
231
+ uploadBase64Url_Fal?: string;
232
+ generateMediaUrl_Fal?: string;
233
+ checkRequestStatusUrl_Fal?: string;
234
+ getResultUrl_Fal?: string;
235
+ minimizeImageUrl?: string;
236
+ cleanup?: string;
237
+ generateMediaUrl_OpenAI_CreateImage?: string;
238
+ generateMediaUrl_OpenAI_CreateImageEdit?: string;
239
+ generateMediaUrl_Google?: string;
240
+ assetsFolder?: string;
241
+ templatesUrl?: string;
242
+ templateFilters: any[];
243
+ templatesConfig?: Record<string, any>;
244
+ customData: Record<string, any>;
245
+ exampleImageUrl?: string;
246
+ exampleVideoUrl?: string;
247
+ exampleAudioUrl?: string;
248
+ saveResults?: boolean;
249
+ //---
217
250
  }
218
251
 
219
252
  declare class ContentBuilder {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.5.120",
4
+ "version": "1.5.122",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "types": "index.d.ts",
@@ -5220,25 +5220,23 @@ class Util {
5220
5220
  if (item.classList.contains('is-row-tool')) return;
5221
5221
  if (item.classList.contains('is-col-tool')) return;
5222
5222
  if (item.classList.contains('is-rowadd-tool')) return;
5223
+ item.style.width = '';
5224
+ item.style.flex = '';
5225
+ // if(item.getAttribute('data-html')) {
5226
+ // // Don't change width on custom block
5227
+ // if(!item.style.width) { // But if width is not set, add default 50%
5228
+ // item.style.width = '50%';
5229
+ // item.style.flex = '0 0 auto';
5230
+ // }
5231
+ // if(this.getAllColumns(row).length === 1) { // only 1 col in a row
5232
+ // item.style.width = '';
5233
+ // item.style.flex = '';
5234
+ // }
5235
+ // } else {
5236
+ // item.style.width = '';
5237
+ // item.style.flex = '';
5238
+ // }
5223
5239
 
5224
- // item.style.width = '';
5225
- // item.style.flex = '';
5226
- if (item.getAttribute('data-html')) {
5227
- // Don't change width on custom block
5228
- if (!item.style.width) {
5229
- // But if width is not set, add default 50%
5230
- item.style.width = '50%';
5231
- item.style.flex = '0 0 auto';
5232
- }
5233
- if (this.getAllColumns(row).length === 1) {
5234
- // only 1 col in a row
5235
- item.style.width = '';
5236
- item.style.flex = '';
5237
- }
5238
- } else {
5239
- item.style.width = '';
5240
- item.style.flex = '';
5241
- }
5242
5240
  if (item.classList.contains('sm-hidden')) {
5243
5241
  smHidden = true;
5244
5242
  }