@universe-platform/ui 0.1.0-beta.54 → 0.1.0-beta.55

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/dist/globals.css CHANGED
@@ -306,6 +306,9 @@
306
306
  }
307
307
  }
308
308
  @layer utilities {
309
+ .\@container {
310
+ container-type: inline-size;
311
+ }
309
312
  .pointer-events-auto {
310
313
  pointer-events: auto;
311
314
  }
@@ -2197,6 +2200,10 @@
2197
2200
  outline-offset: 2px;
2198
2201
  }
2199
2202
  }
2203
+ .outline {
2204
+ outline-style: var(--tw-outline-style);
2205
+ outline-width: 1px;
2206
+ }
2200
2207
  .blur {
2201
2208
  --tw-blur: blur(8px);
2202
2209
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
@@ -3329,6 +3336,11 @@ body > header a[title^="ערוך תפריט"] svg {
3329
3336
  inherits: false;
3330
3337
  initial-value: 0 0 #0000;
3331
3338
  }
3339
+ @property --tw-outline-style {
3340
+ syntax: "*";
3341
+ inherits: false;
3342
+ initial-value: solid;
3343
+ }
3332
3344
  @property --tw-blur {
3333
3345
  syntax: "*";
3334
3346
  inherits: false;
@@ -3470,6 +3482,7 @@ body > header a[title^="ערוך תפריט"] svg {
3470
3482
  --tw-ring-offset-width: 0px;
3471
3483
  --tw-ring-offset-color: #fff;
3472
3484
  --tw-ring-offset-shadow: 0 0 #0000;
3485
+ --tw-outline-style: solid;
3473
3486
  --tw-blur: initial;
3474
3487
  --tw-brightness: initial;
3475
3488
  --tw-contrast: initial;
package/dist/index.d.mts CHANGED
@@ -784,12 +784,22 @@ interface SettingsAndActionsBlockProps {
784
784
  }
785
785
  declare function SettingsAndActionsBlock({ isScanningPhoneColumns, targetPhoneOptions, phoneColumnId, setPhoneColumnId, selectedPhoneOption, autoSelectCount, setAutoSelectCount, subtableFilterColumn, setSubtableFilterColumn, subtableFilterValue, setSubtableFilterValue, subtableSendLimit, setSubtableSendLimit, subtableFilterableColumns, selectedSubtableFilterCol, getRelationOptionsForCol, relationOptions, enablePostSendAction, setEnablePostSendAction, postSendActionColumn, setPostSendActionColumn, postSendActionValue, setPostSendActionValue, setPostSendActionTargetType, postSendActionTargetOptions, selectedPostSendOption, isTestDisabled, testButtonTitle, setIsTestPromptOpen, isSendDisabled, sendButtonTitle, handleSendMessages, selectedRowIdsCount, finalRecipientCount, validMainRowsCount, isSendingBroadcast, broadcastProgress, broadcastSummary, clearBroadcastSummary, }: SettingsAndActionsBlockProps): react_jsx_runtime.JSX.Element;
786
786
 
787
- interface FormBlockProps {
787
+ interface StyledFormBlockProps {
788
788
  settings: any;
789
789
  executeAction?: (actionType: string, payload: Record<string, any>) => Promise<any>;
790
790
  componentId?: string;
791
791
  className?: string;
792
792
  onSuccess?: () => void;
793
+ /** תצוגה מקדימה בעורך: בלי שליחה ובלי קריאות שרת, השדות נעולים */
794
+ previewMode?: boolean;
795
+ /** אם הועבר: אפשר לגרור שדות בתוך הטופס לשינוי הסדר (משמש את עורך העיצוב) */
796
+ onReorder?: (fieldOrder: string[]) => void;
797
+ /** אם הועבר: אפשר לשנות גודל שדות בגרירה (ידית בפינה). reset=true מחזיר לגודל ברירת המחדל */
798
+ onFieldResize?: (fieldName: string, patch: {
799
+ span?: number;
800
+ height?: number;
801
+ reset?: boolean;
802
+ }) => void;
793
803
  }
794
804
 
795
805
  /**
@@ -800,7 +810,7 @@ interface FormBlockProps {
800
810
  declare const UNIVERSE_COMPONENTS: {
801
811
  readonly TABLE: react.ComponentType<TableBlockProps>;
802
812
  readonly WHATSAPP: react.ComponentType<WhatsAppComponentProps>;
803
- readonly FORM: react.ComponentType<FormBlockProps>;
813
+ readonly FORM: react.ComponentType<StyledFormBlockProps>;
804
814
  readonly PLACEMENT: react.ComponentType<PlacementBlockProps>;
805
815
  };
806
816
  type ComponentRegistry = typeof UNIVERSE_COMPONENTS;
package/dist/index.d.ts CHANGED
@@ -784,12 +784,22 @@ interface SettingsAndActionsBlockProps {
784
784
  }
785
785
  declare function SettingsAndActionsBlock({ isScanningPhoneColumns, targetPhoneOptions, phoneColumnId, setPhoneColumnId, selectedPhoneOption, autoSelectCount, setAutoSelectCount, subtableFilterColumn, setSubtableFilterColumn, subtableFilterValue, setSubtableFilterValue, subtableSendLimit, setSubtableSendLimit, subtableFilterableColumns, selectedSubtableFilterCol, getRelationOptionsForCol, relationOptions, enablePostSendAction, setEnablePostSendAction, postSendActionColumn, setPostSendActionColumn, postSendActionValue, setPostSendActionValue, setPostSendActionTargetType, postSendActionTargetOptions, selectedPostSendOption, isTestDisabled, testButtonTitle, setIsTestPromptOpen, isSendDisabled, sendButtonTitle, handleSendMessages, selectedRowIdsCount, finalRecipientCount, validMainRowsCount, isSendingBroadcast, broadcastProgress, broadcastSummary, clearBroadcastSummary, }: SettingsAndActionsBlockProps): react_jsx_runtime.JSX.Element;
786
786
 
787
- interface FormBlockProps {
787
+ interface StyledFormBlockProps {
788
788
  settings: any;
789
789
  executeAction?: (actionType: string, payload: Record<string, any>) => Promise<any>;
790
790
  componentId?: string;
791
791
  className?: string;
792
792
  onSuccess?: () => void;
793
+ /** תצוגה מקדימה בעורך: בלי שליחה ובלי קריאות שרת, השדות נעולים */
794
+ previewMode?: boolean;
795
+ /** אם הועבר: אפשר לגרור שדות בתוך הטופס לשינוי הסדר (משמש את עורך העיצוב) */
796
+ onReorder?: (fieldOrder: string[]) => void;
797
+ /** אם הועבר: אפשר לשנות גודל שדות בגרירה (ידית בפינה). reset=true מחזיר לגודל ברירת המחדל */
798
+ onFieldResize?: (fieldName: string, patch: {
799
+ span?: number;
800
+ height?: number;
801
+ reset?: boolean;
802
+ }) => void;
793
803
  }
794
804
 
795
805
  /**
@@ -800,7 +810,7 @@ interface FormBlockProps {
800
810
  declare const UNIVERSE_COMPONENTS: {
801
811
  readonly TABLE: react.ComponentType<TableBlockProps>;
802
812
  readonly WHATSAPP: react.ComponentType<WhatsAppComponentProps>;
803
- readonly FORM: react.ComponentType<FormBlockProps>;
813
+ readonly FORM: react.ComponentType<StyledFormBlockProps>;
804
814
  readonly PLACEMENT: react.ComponentType<PlacementBlockProps>;
805
815
  };
806
816
  type ComponentRegistry = typeof UNIVERSE_COMPONENTS;