@universe-platform/ui 0.1.0-beta.60 → 0.1.0-beta.62
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 +25 -0
- package/dist/index.d.mts +80 -1
- package/dist/index.d.ts +80 -1
- package/dist/index.js +2027 -806
- package/dist/index.mjs +2022 -805
- package/package.json +1 -1
package/dist/globals.css
CHANGED
|
@@ -119,6 +119,7 @@
|
|
|
119
119
|
--container-lg: 32rem;
|
|
120
120
|
--container-xl: 36rem;
|
|
121
121
|
--container-2xl: 42rem;
|
|
122
|
+
--container-3xl: 48rem;
|
|
122
123
|
--container-4xl: 56rem;
|
|
123
124
|
--text-xs: 0.75rem;
|
|
124
125
|
--text-xs--line-height: calc(1 / 0.75);
|
|
@@ -483,6 +484,9 @@
|
|
|
483
484
|
.mr-2 {
|
|
484
485
|
margin-right: calc(var(--spacing) * 2);
|
|
485
486
|
}
|
|
487
|
+
.-mb-px {
|
|
488
|
+
margin-bottom: -1px;
|
|
489
|
+
}
|
|
486
490
|
.mb-0\.5 {
|
|
487
491
|
margin-bottom: calc(var(--spacing) * 0.5);
|
|
488
492
|
}
|
|
@@ -636,6 +640,9 @@
|
|
|
636
640
|
.max-h-60 {
|
|
637
641
|
max-height: calc(var(--spacing) * 60);
|
|
638
642
|
}
|
|
643
|
+
.max-h-\[85vh\] {
|
|
644
|
+
max-height: 85vh;
|
|
645
|
+
}
|
|
639
646
|
.max-h-\[92vh\] {
|
|
640
647
|
max-height: 92vh;
|
|
641
648
|
}
|
|
@@ -759,6 +766,9 @@
|
|
|
759
766
|
.max-w-2xl {
|
|
760
767
|
max-width: var(--container-2xl);
|
|
761
768
|
}
|
|
769
|
+
.max-w-3xl {
|
|
770
|
+
max-width: var(--container-3xl);
|
|
771
|
+
}
|
|
762
772
|
.max-w-4xl {
|
|
763
773
|
max-width: var(--container-4xl);
|
|
764
774
|
}
|
|
@@ -1049,6 +1059,9 @@
|
|
|
1049
1059
|
.gap-x-6 {
|
|
1050
1060
|
column-gap: calc(var(--spacing) * 6);
|
|
1051
1061
|
}
|
|
1062
|
+
.gap-y-1 {
|
|
1063
|
+
row-gap: var(--spacing);
|
|
1064
|
+
}
|
|
1052
1065
|
.gap-y-1\.5 {
|
|
1053
1066
|
row-gap: calc(var(--spacing) * 1.5);
|
|
1054
1067
|
}
|
|
@@ -1080,6 +1093,9 @@
|
|
|
1080
1093
|
text-overflow: ellipsis;
|
|
1081
1094
|
white-space: nowrap;
|
|
1082
1095
|
}
|
|
1096
|
+
.overflow-auto {
|
|
1097
|
+
overflow: auto;
|
|
1098
|
+
}
|
|
1083
1099
|
.overflow-hidden {
|
|
1084
1100
|
overflow: hidden;
|
|
1085
1101
|
}
|
|
@@ -1384,6 +1400,12 @@
|
|
|
1384
1400
|
.bg-amber-500 {
|
|
1385
1401
|
background-color: var(--color-amber-500);
|
|
1386
1402
|
}
|
|
1403
|
+
.bg-black\/40 {
|
|
1404
|
+
background-color: color-mix(in srgb, #000 40%, transparent);
|
|
1405
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1406
|
+
background-color: color-mix(in oklab, var(--color-black) 40%, transparent);
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1387
1409
|
.bg-blue-50 {
|
|
1388
1410
|
background-color: var(--color-blue-50);
|
|
1389
1411
|
}
|
|
@@ -1747,6 +1769,9 @@
|
|
|
1747
1769
|
.py-12 {
|
|
1748
1770
|
padding-block: calc(var(--spacing) * 12);
|
|
1749
1771
|
}
|
|
1772
|
+
.py-16 {
|
|
1773
|
+
padding-block: calc(var(--spacing) * 16);
|
|
1774
|
+
}
|
|
1750
1775
|
.pt-0\.5 {
|
|
1751
1776
|
padding-top: calc(var(--spacing) * 0.5);
|
|
1752
1777
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -490,6 +490,84 @@ declare function enrichRowsWithRelations<T extends {
|
|
|
490
490
|
/** קורא ערך עמודה (רגילה או מטבלה קשורה); עמודת קשר "חשופה" מוצגת לפי התווית שלה ולא לפי ה-ID */
|
|
491
491
|
declare function readColumnValue(data: Record<string, any> | undefined, ref: string): any;
|
|
492
492
|
|
|
493
|
+
/**
|
|
494
|
+
* הגדרות רכיב "דיווחים לתשלום" (נשמרות ב-config של הרכיב בעמוד).
|
|
495
|
+
* שלוש טבלאות מקושרות: מדווחים <- דיווחים -> תשלומים.
|
|
496
|
+
* שמות העמודות חופשיים לגמרי - הרכיב רק צריך לדעת איזו עמודה משמשת לאיזה תפקיד.
|
|
497
|
+
*/
|
|
498
|
+
interface PaymentReportsConfig {
|
|
499
|
+
title?: string;
|
|
500
|
+
reportsTableId: string;
|
|
501
|
+
/** עמודת RELATION אל טבלת המדווחים (חובה) */
|
|
502
|
+
reportReporterColumn: string;
|
|
503
|
+
/** עמודת RELATION אל טבלת התשלומים. ריקה = הדיווח טרם שולם (חובה) */
|
|
504
|
+
reportPaymentColumn: string;
|
|
505
|
+
/** עמודת סכום (NUMBER / CURRENCY) שמסוכמת לתשלום (חובה) */
|
|
506
|
+
reportAmountColumn: string;
|
|
507
|
+
/** עמודת תאריך (DATE) - מאפשרת סינון לפי חודש (אופציונלי) */
|
|
508
|
+
reportDateColumn?: string;
|
|
509
|
+
/** עמודת כמות, למשל מספר שיעורים - מוסיפה סיכום וממוצע (אופציונלי) */
|
|
510
|
+
reportQuantityColumn?: string;
|
|
511
|
+
/** אילו עמודות להציג בלשונית הדיווחים, ובאיזה סדר. ריק = כל העמודות */
|
|
512
|
+
reportDisplayColumns?: string[];
|
|
513
|
+
paymentsTableId: string;
|
|
514
|
+
/** עמודת הסכום הכולל בתשלום (חובה) */
|
|
515
|
+
paymentTotalColumn: string;
|
|
516
|
+
/** עמודת תאריך קבלה (DATE). ריקה = ממתין לקבלה, מלאה = עבר להנה"ח (חובה) */
|
|
517
|
+
paymentReceiptDateColumn: string;
|
|
518
|
+
/** עמודת אסמכתא מסוג GOOGLE_DRIVE_FILE (אופציונלי) */
|
|
519
|
+
paymentProofColumn?: string;
|
|
520
|
+
/** עמודת RELATION אל המדווח בתשלום - נכתבת אוטומטית בעת יצירת תשלום (אופציונלי) */
|
|
521
|
+
paymentReporterColumn?: string;
|
|
522
|
+
portalEnabled?: boolean;
|
|
523
|
+
/** טבלת המדווחים (נגזרת מעמודת הקשר למדווח בטבלת הדיווחים) */
|
|
524
|
+
reportersTableId?: string;
|
|
525
|
+
/** עמודת האימייל בטבלת המדווחים: מזהה ייחודי והרשאת כניסה */
|
|
526
|
+
reporterEmailColumn?: string;
|
|
527
|
+
reporterFirstNameColumn?: string;
|
|
528
|
+
reporterLastNameColumn?: string;
|
|
529
|
+
reporterPhoneColumn?: string;
|
|
530
|
+
/** עמודות נוספות של המדווח שמוצגות לקריאה בלבד בטופס הדיווח (למשל שיעור לשעה) */
|
|
531
|
+
reporterDisplayColumns?: string[];
|
|
532
|
+
/** רכיב FORM על טבלת המדווחים: הטופס הראשון (הרשמה) */
|
|
533
|
+
registrationFormId?: string;
|
|
534
|
+
/** רכיב FORM על טבלת הדיווחים: נותן לטופס הדיווח עיצוב, כותרת והודעת הצלחה (אופציונלי) */
|
|
535
|
+
reportFormId?: string;
|
|
536
|
+
currencySymbol?: string;
|
|
537
|
+
/** שם תיקיית ה-Drive של האסמכתאות */
|
|
538
|
+
proofFolderName?: string;
|
|
539
|
+
}
|
|
540
|
+
type PaymentReportsTab = 'unpaid' | 'paid' | 'receipts';
|
|
541
|
+
interface PaymentReportsBlockProps {
|
|
542
|
+
config?: any;
|
|
543
|
+
settings?: any;
|
|
544
|
+
executeAction?: (actionType: string, payload?: any) => Promise<any>;
|
|
545
|
+
orgId?: string;
|
|
546
|
+
componentId?: string;
|
|
547
|
+
/** תפקיד המשתמש (אם הוזן) - השרת הוא הגורם המכריע בהרשאות */
|
|
548
|
+
role?: string | null;
|
|
549
|
+
readOnly?: boolean;
|
|
550
|
+
permissions?: {
|
|
551
|
+
canUpdate?: boolean;
|
|
552
|
+
canDelete?: boolean;
|
|
553
|
+
canCreate?: boolean;
|
|
554
|
+
};
|
|
555
|
+
className?: string;
|
|
556
|
+
}
|
|
557
|
+
/** שדות החובה של ההגדרה - משמשים לבדיקת תקינות בעורך וברכיב */
|
|
558
|
+
declare const PAYMENT_REPORTS_REQUIRED: Array<keyof PaymentReportsConfig>;
|
|
559
|
+
declare function missingPaymentReportsFields(c?: Partial<PaymentReportsConfig> | null): string[];
|
|
560
|
+
/** שמות הפעולות בשרת */
|
|
561
|
+
declare const PAYMENT_REPORTS_ACTIONS: {
|
|
562
|
+
readonly CREATE_PAYMENT: "PAYMENT_REPORTS_CREATE_PAYMENT";
|
|
563
|
+
readonly CANCEL_PAYMENT: "PAYMENT_REPORTS_CANCEL_PAYMENT";
|
|
564
|
+
readonly CONFIRM_RECEIPT: "PAYMENT_REPORTS_CONFIRM_RECEIPT";
|
|
565
|
+
readonly UNDO_RECEIPT: "PAYMENT_REPORTS_UNDO_RECEIPT";
|
|
566
|
+
readonly SET_PROOF: "PAYMENT_REPORTS_SET_PROOF";
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
declare const PaymentReportsBlock: react__default.FC<PaymentReportsBlockProps>;
|
|
570
|
+
|
|
493
571
|
interface MetaTemplateComponent {
|
|
494
572
|
type: "HEADER" | "BODY" | "FOOTER" | "BUTTONS" | string;
|
|
495
573
|
format?: "TEXT" | "IMAGE" | "DOCUMENT" | "VIDEO" | string;
|
|
@@ -819,6 +897,7 @@ declare const UNIVERSE_COMPONENTS: {
|
|
|
819
897
|
readonly WHATSAPP: react.ComponentType<WhatsAppComponentProps>;
|
|
820
898
|
readonly FORM: react.ComponentType<StyledFormBlockProps>;
|
|
821
899
|
readonly PLACEMENT: react.ComponentType<PlacementBlockProps>;
|
|
900
|
+
readonly PAYMENT_REPORTS: react.ComponentType<PaymentReportsBlockProps>;
|
|
822
901
|
};
|
|
823
902
|
type ComponentRegistry = typeof UNIVERSE_COMPONENTS;
|
|
824
903
|
type UniverseComponentType = keyof ComponentRegistry;
|
|
@@ -853,4 +932,4 @@ declare function resolveUniverseTheme(value: unknown): UniverseThemeId;
|
|
|
853
932
|
*/
|
|
854
933
|
declare function withThemeScope<P extends object>(Component: react.ComponentType<P>): react.ComponentType<P>;
|
|
855
934
|
|
|
856
|
-
export { type BaseComponentProps, ColumnHeaderTitle, type ColumnHeaderTitleProps, type ComponentCommunication, type ComponentConfig, type ComponentData, type ComponentPermissions, type ComponentRegistry, type ComponentState, type CreateRecordPayload, CreateTemplateModal, type CreateTemplateModalProps, DEFAULT_PLACEMENT_STATUS_COLORS, DatePickerCell, type DeleteRecordPayload, DynamicFiltersBlock, type DynamicFiltersBlockProps, LinkPickerCell, type MetaTemplateComponent, type MetaWhatsAppTemplate, NON_TEXT_TYPES, type OrgRole, PASTEL_PALETTES, type PastelPalette, PlacementBlock, type PlacementBlockProps, type PlacementColumnOption, type PlacementConfig, PlacementSettings, type PlacementStatusColor, PlacementStatusEditor, type PlacementStatusSetting, RELATION_LABEL_KEY, RELATION_SEP, type RelationFilterOption, type RelationFilterPayload, RelationFilterPopover, type RelationFilterPopoverProps, RelationPickerCell, type RolePermissions, type RowStatusType, SettingsAndActionsBlock, type SettingsAndActionsBlockProps, SmartTextCell, type SplitTitleResult, TableBlock, TableBlockClient, type TableBlockProps, type TableConfig, type TableData, TimePickerCell, ToastContext, type ToastContextType, type ToastItem, ToastProvider, TruncatedTooltip, UNIVERSE_COMPONENTS, UNIVERSE_THEME_IDS, type UniverseComponentType, type UniverseThemeId, type UpdateRecordPayload, type UseColumnReorderOptions, type UseColumnResizeOptions, WhatsAppComponent, type WhatsAppComponentProps, type WhatsAppData, buildColumnOptions, buildRelationRef, calculateMinColumnWidth, checkElementTruncation, cn, columnRefLabel, enrichRowsWithRelations, formatConflictCellValue, formatPhoneDisplay, formatTimeInput, formatTimeIso, generateWhatsAppLink, getDeterministicPastelBadge, getRolePermissions, isUserColumn, isValidPhoneNumber, measureTextWidth, normalizePhoneForWhatsApp, normalizeRelationValue, openWhatsAppChat, parseColumnRef, parseLinkValue, parseTimeParts, readColumnValue, resolveDefaultStatusId, resolveProtocol, resolveUniverseTheme, sanitizePhoneNumber, splitHeaderTitle, tableColumns, useColumnReorder, useColumnResize, useSmartTooltip, useToast, useWhatsAppState, withThemeScope };
|
|
935
|
+
export { type BaseComponentProps, ColumnHeaderTitle, type ColumnHeaderTitleProps, type ComponentCommunication, type ComponentConfig, type ComponentData, type ComponentPermissions, type ComponentRegistry, type ComponentState, type CreateRecordPayload, CreateTemplateModal, type CreateTemplateModalProps, DEFAULT_PLACEMENT_STATUS_COLORS, DatePickerCell, type DeleteRecordPayload, DynamicFiltersBlock, type DynamicFiltersBlockProps, LinkPickerCell, type MetaTemplateComponent, type MetaWhatsAppTemplate, NON_TEXT_TYPES, type OrgRole, PASTEL_PALETTES, PAYMENT_REPORTS_ACTIONS, PAYMENT_REPORTS_REQUIRED, type PastelPalette, PaymentReportsBlock, type PaymentReportsBlockProps, type PaymentReportsConfig, type PaymentReportsTab, PlacementBlock, type PlacementBlockProps, type PlacementColumnOption, type PlacementConfig, PlacementSettings, type PlacementStatusColor, PlacementStatusEditor, type PlacementStatusSetting, RELATION_LABEL_KEY, RELATION_SEP, type RelationFilterOption, type RelationFilterPayload, RelationFilterPopover, type RelationFilterPopoverProps, RelationPickerCell, type RolePermissions, type RowStatusType, SettingsAndActionsBlock, type SettingsAndActionsBlockProps, SmartTextCell, type SplitTitleResult, TableBlock, TableBlockClient, type TableBlockProps, type TableConfig, type TableData, TimePickerCell, ToastContext, type ToastContextType, type ToastItem, ToastProvider, TruncatedTooltip, UNIVERSE_COMPONENTS, UNIVERSE_THEME_IDS, type UniverseComponentType, type UniverseThemeId, type UpdateRecordPayload, type UseColumnReorderOptions, type UseColumnResizeOptions, WhatsAppComponent, type WhatsAppComponentProps, type WhatsAppData, buildColumnOptions, buildRelationRef, calculateMinColumnWidth, checkElementTruncation, cn, columnRefLabel, enrichRowsWithRelations, formatConflictCellValue, formatPhoneDisplay, formatTimeInput, formatTimeIso, generateWhatsAppLink, getDeterministicPastelBadge, getRolePermissions, isUserColumn, isValidPhoneNumber, measureTextWidth, missingPaymentReportsFields, normalizePhoneForWhatsApp, normalizeRelationValue, openWhatsAppChat, parseColumnRef, parseLinkValue, parseTimeParts, readColumnValue, resolveDefaultStatusId, resolveProtocol, resolveUniverseTheme, sanitizePhoneNumber, splitHeaderTitle, tableColumns, useColumnReorder, useColumnResize, useSmartTooltip, useToast, useWhatsAppState, withThemeScope };
|
package/dist/index.d.ts
CHANGED
|
@@ -490,6 +490,84 @@ declare function enrichRowsWithRelations<T extends {
|
|
|
490
490
|
/** קורא ערך עמודה (רגילה או מטבלה קשורה); עמודת קשר "חשופה" מוצגת לפי התווית שלה ולא לפי ה-ID */
|
|
491
491
|
declare function readColumnValue(data: Record<string, any> | undefined, ref: string): any;
|
|
492
492
|
|
|
493
|
+
/**
|
|
494
|
+
* הגדרות רכיב "דיווחים לתשלום" (נשמרות ב-config של הרכיב בעמוד).
|
|
495
|
+
* שלוש טבלאות מקושרות: מדווחים <- דיווחים -> תשלומים.
|
|
496
|
+
* שמות העמודות חופשיים לגמרי - הרכיב רק צריך לדעת איזו עמודה משמשת לאיזה תפקיד.
|
|
497
|
+
*/
|
|
498
|
+
interface PaymentReportsConfig {
|
|
499
|
+
title?: string;
|
|
500
|
+
reportsTableId: string;
|
|
501
|
+
/** עמודת RELATION אל טבלת המדווחים (חובה) */
|
|
502
|
+
reportReporterColumn: string;
|
|
503
|
+
/** עמודת RELATION אל טבלת התשלומים. ריקה = הדיווח טרם שולם (חובה) */
|
|
504
|
+
reportPaymentColumn: string;
|
|
505
|
+
/** עמודת סכום (NUMBER / CURRENCY) שמסוכמת לתשלום (חובה) */
|
|
506
|
+
reportAmountColumn: string;
|
|
507
|
+
/** עמודת תאריך (DATE) - מאפשרת סינון לפי חודש (אופציונלי) */
|
|
508
|
+
reportDateColumn?: string;
|
|
509
|
+
/** עמודת כמות, למשל מספר שיעורים - מוסיפה סיכום וממוצע (אופציונלי) */
|
|
510
|
+
reportQuantityColumn?: string;
|
|
511
|
+
/** אילו עמודות להציג בלשונית הדיווחים, ובאיזה סדר. ריק = כל העמודות */
|
|
512
|
+
reportDisplayColumns?: string[];
|
|
513
|
+
paymentsTableId: string;
|
|
514
|
+
/** עמודת הסכום הכולל בתשלום (חובה) */
|
|
515
|
+
paymentTotalColumn: string;
|
|
516
|
+
/** עמודת תאריך קבלה (DATE). ריקה = ממתין לקבלה, מלאה = עבר להנה"ח (חובה) */
|
|
517
|
+
paymentReceiptDateColumn: string;
|
|
518
|
+
/** עמודת אסמכתא מסוג GOOGLE_DRIVE_FILE (אופציונלי) */
|
|
519
|
+
paymentProofColumn?: string;
|
|
520
|
+
/** עמודת RELATION אל המדווח בתשלום - נכתבת אוטומטית בעת יצירת תשלום (אופציונלי) */
|
|
521
|
+
paymentReporterColumn?: string;
|
|
522
|
+
portalEnabled?: boolean;
|
|
523
|
+
/** טבלת המדווחים (נגזרת מעמודת הקשר למדווח בטבלת הדיווחים) */
|
|
524
|
+
reportersTableId?: string;
|
|
525
|
+
/** עמודת האימייל בטבלת המדווחים: מזהה ייחודי והרשאת כניסה */
|
|
526
|
+
reporterEmailColumn?: string;
|
|
527
|
+
reporterFirstNameColumn?: string;
|
|
528
|
+
reporterLastNameColumn?: string;
|
|
529
|
+
reporterPhoneColumn?: string;
|
|
530
|
+
/** עמודות נוספות של המדווח שמוצגות לקריאה בלבד בטופס הדיווח (למשל שיעור לשעה) */
|
|
531
|
+
reporterDisplayColumns?: string[];
|
|
532
|
+
/** רכיב FORM על טבלת המדווחים: הטופס הראשון (הרשמה) */
|
|
533
|
+
registrationFormId?: string;
|
|
534
|
+
/** רכיב FORM על טבלת הדיווחים: נותן לטופס הדיווח עיצוב, כותרת והודעת הצלחה (אופציונלי) */
|
|
535
|
+
reportFormId?: string;
|
|
536
|
+
currencySymbol?: string;
|
|
537
|
+
/** שם תיקיית ה-Drive של האסמכתאות */
|
|
538
|
+
proofFolderName?: string;
|
|
539
|
+
}
|
|
540
|
+
type PaymentReportsTab = 'unpaid' | 'paid' | 'receipts';
|
|
541
|
+
interface PaymentReportsBlockProps {
|
|
542
|
+
config?: any;
|
|
543
|
+
settings?: any;
|
|
544
|
+
executeAction?: (actionType: string, payload?: any) => Promise<any>;
|
|
545
|
+
orgId?: string;
|
|
546
|
+
componentId?: string;
|
|
547
|
+
/** תפקיד המשתמש (אם הוזן) - השרת הוא הגורם המכריע בהרשאות */
|
|
548
|
+
role?: string | null;
|
|
549
|
+
readOnly?: boolean;
|
|
550
|
+
permissions?: {
|
|
551
|
+
canUpdate?: boolean;
|
|
552
|
+
canDelete?: boolean;
|
|
553
|
+
canCreate?: boolean;
|
|
554
|
+
};
|
|
555
|
+
className?: string;
|
|
556
|
+
}
|
|
557
|
+
/** שדות החובה של ההגדרה - משמשים לבדיקת תקינות בעורך וברכיב */
|
|
558
|
+
declare const PAYMENT_REPORTS_REQUIRED: Array<keyof PaymentReportsConfig>;
|
|
559
|
+
declare function missingPaymentReportsFields(c?: Partial<PaymentReportsConfig> | null): string[];
|
|
560
|
+
/** שמות הפעולות בשרת */
|
|
561
|
+
declare const PAYMENT_REPORTS_ACTIONS: {
|
|
562
|
+
readonly CREATE_PAYMENT: "PAYMENT_REPORTS_CREATE_PAYMENT";
|
|
563
|
+
readonly CANCEL_PAYMENT: "PAYMENT_REPORTS_CANCEL_PAYMENT";
|
|
564
|
+
readonly CONFIRM_RECEIPT: "PAYMENT_REPORTS_CONFIRM_RECEIPT";
|
|
565
|
+
readonly UNDO_RECEIPT: "PAYMENT_REPORTS_UNDO_RECEIPT";
|
|
566
|
+
readonly SET_PROOF: "PAYMENT_REPORTS_SET_PROOF";
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
declare const PaymentReportsBlock: react__default.FC<PaymentReportsBlockProps>;
|
|
570
|
+
|
|
493
571
|
interface MetaTemplateComponent {
|
|
494
572
|
type: "HEADER" | "BODY" | "FOOTER" | "BUTTONS" | string;
|
|
495
573
|
format?: "TEXT" | "IMAGE" | "DOCUMENT" | "VIDEO" | string;
|
|
@@ -819,6 +897,7 @@ declare const UNIVERSE_COMPONENTS: {
|
|
|
819
897
|
readonly WHATSAPP: react.ComponentType<WhatsAppComponentProps>;
|
|
820
898
|
readonly FORM: react.ComponentType<StyledFormBlockProps>;
|
|
821
899
|
readonly PLACEMENT: react.ComponentType<PlacementBlockProps>;
|
|
900
|
+
readonly PAYMENT_REPORTS: react.ComponentType<PaymentReportsBlockProps>;
|
|
822
901
|
};
|
|
823
902
|
type ComponentRegistry = typeof UNIVERSE_COMPONENTS;
|
|
824
903
|
type UniverseComponentType = keyof ComponentRegistry;
|
|
@@ -853,4 +932,4 @@ declare function resolveUniverseTheme(value: unknown): UniverseThemeId;
|
|
|
853
932
|
*/
|
|
854
933
|
declare function withThemeScope<P extends object>(Component: react.ComponentType<P>): react.ComponentType<P>;
|
|
855
934
|
|
|
856
|
-
export { type BaseComponentProps, ColumnHeaderTitle, type ColumnHeaderTitleProps, type ComponentCommunication, type ComponentConfig, type ComponentData, type ComponentPermissions, type ComponentRegistry, type ComponentState, type CreateRecordPayload, CreateTemplateModal, type CreateTemplateModalProps, DEFAULT_PLACEMENT_STATUS_COLORS, DatePickerCell, type DeleteRecordPayload, DynamicFiltersBlock, type DynamicFiltersBlockProps, LinkPickerCell, type MetaTemplateComponent, type MetaWhatsAppTemplate, NON_TEXT_TYPES, type OrgRole, PASTEL_PALETTES, type PastelPalette, PlacementBlock, type PlacementBlockProps, type PlacementColumnOption, type PlacementConfig, PlacementSettings, type PlacementStatusColor, PlacementStatusEditor, type PlacementStatusSetting, RELATION_LABEL_KEY, RELATION_SEP, type RelationFilterOption, type RelationFilterPayload, RelationFilterPopover, type RelationFilterPopoverProps, RelationPickerCell, type RolePermissions, type RowStatusType, SettingsAndActionsBlock, type SettingsAndActionsBlockProps, SmartTextCell, type SplitTitleResult, TableBlock, TableBlockClient, type TableBlockProps, type TableConfig, type TableData, TimePickerCell, ToastContext, type ToastContextType, type ToastItem, ToastProvider, TruncatedTooltip, UNIVERSE_COMPONENTS, UNIVERSE_THEME_IDS, type UniverseComponentType, type UniverseThemeId, type UpdateRecordPayload, type UseColumnReorderOptions, type UseColumnResizeOptions, WhatsAppComponent, type WhatsAppComponentProps, type WhatsAppData, buildColumnOptions, buildRelationRef, calculateMinColumnWidth, checkElementTruncation, cn, columnRefLabel, enrichRowsWithRelations, formatConflictCellValue, formatPhoneDisplay, formatTimeInput, formatTimeIso, generateWhatsAppLink, getDeterministicPastelBadge, getRolePermissions, isUserColumn, isValidPhoneNumber, measureTextWidth, normalizePhoneForWhatsApp, normalizeRelationValue, openWhatsAppChat, parseColumnRef, parseLinkValue, parseTimeParts, readColumnValue, resolveDefaultStatusId, resolveProtocol, resolveUniverseTheme, sanitizePhoneNumber, splitHeaderTitle, tableColumns, useColumnReorder, useColumnResize, useSmartTooltip, useToast, useWhatsAppState, withThemeScope };
|
|
935
|
+
export { type BaseComponentProps, ColumnHeaderTitle, type ColumnHeaderTitleProps, type ComponentCommunication, type ComponentConfig, type ComponentData, type ComponentPermissions, type ComponentRegistry, type ComponentState, type CreateRecordPayload, CreateTemplateModal, type CreateTemplateModalProps, DEFAULT_PLACEMENT_STATUS_COLORS, DatePickerCell, type DeleteRecordPayload, DynamicFiltersBlock, type DynamicFiltersBlockProps, LinkPickerCell, type MetaTemplateComponent, type MetaWhatsAppTemplate, NON_TEXT_TYPES, type OrgRole, PASTEL_PALETTES, PAYMENT_REPORTS_ACTIONS, PAYMENT_REPORTS_REQUIRED, type PastelPalette, PaymentReportsBlock, type PaymentReportsBlockProps, type PaymentReportsConfig, type PaymentReportsTab, PlacementBlock, type PlacementBlockProps, type PlacementColumnOption, type PlacementConfig, PlacementSettings, type PlacementStatusColor, PlacementStatusEditor, type PlacementStatusSetting, RELATION_LABEL_KEY, RELATION_SEP, type RelationFilterOption, type RelationFilterPayload, RelationFilterPopover, type RelationFilterPopoverProps, RelationPickerCell, type RolePermissions, type RowStatusType, SettingsAndActionsBlock, type SettingsAndActionsBlockProps, SmartTextCell, type SplitTitleResult, TableBlock, TableBlockClient, type TableBlockProps, type TableConfig, type TableData, TimePickerCell, ToastContext, type ToastContextType, type ToastItem, ToastProvider, TruncatedTooltip, UNIVERSE_COMPONENTS, UNIVERSE_THEME_IDS, type UniverseComponentType, type UniverseThemeId, type UpdateRecordPayload, type UseColumnReorderOptions, type UseColumnResizeOptions, WhatsAppComponent, type WhatsAppComponentProps, type WhatsAppData, buildColumnOptions, buildRelationRef, calculateMinColumnWidth, checkElementTruncation, cn, columnRefLabel, enrichRowsWithRelations, formatConflictCellValue, formatPhoneDisplay, formatTimeInput, formatTimeIso, generateWhatsAppLink, getDeterministicPastelBadge, getRolePermissions, isUserColumn, isValidPhoneNumber, measureTextWidth, missingPaymentReportsFields, normalizePhoneForWhatsApp, normalizeRelationValue, openWhatsAppChat, parseColumnRef, parseLinkValue, parseTimeParts, readColumnValue, resolveDefaultStatusId, resolveProtocol, resolveUniverseTheme, sanitizePhoneNumber, splitHeaderTitle, tableColumns, useColumnReorder, useColumnResize, useSmartTooltip, useToast, useWhatsAppState, withThemeScope };
|