@tap-payments/os-micro-frontend-shared 0.3.45 → 0.3.46

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 (149) hide show
  1. package/build/_chunks/chunk-BTDALREB.js +1 -0
  2. package/build/_chunks/{chunk-Q6V365AB.js → chunk-QHQNNF4J.js} +1 -1
  3. package/build/components/Accordion/index.js +1 -1
  4. package/build/components/AccountDropdown/index.js +1 -1
  5. package/build/components/ActionMenu/index.js +1 -1
  6. package/build/components/ActionsDropdownMenu/index.js +1 -1
  7. package/build/components/ActiveFilterChip/index.js +1 -1
  8. package/build/components/ActivityAreaChart/index.js +1 -1
  9. package/build/components/Amount/index.js +1 -1
  10. package/build/components/AmountConversionFilter/index.js +1 -1
  11. package/build/components/AmountInput/index.js +1 -1
  12. package/build/components/AmountSlider/index.js +1 -1
  13. package/build/components/AmountStatusChip/index.js +1 -1
  14. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  15. package/build/components/AppServices/index.js +1 -1
  16. package/build/components/AppServicesBar/index.js +1 -1
  17. package/build/components/AppWindowWrapper/index.js +1 -1
  18. package/build/components/AuthenticationTypeChip/index.js +1 -1
  19. package/build/components/Autocomplete/index.js +1 -1
  20. package/build/components/BetaBanner/index.js +1 -1
  21. package/build/components/BrandLogo/index.js +1 -1
  22. package/build/components/Button/index.js +1 -1
  23. package/build/components/Calender/index.js +1 -1
  24. package/build/components/CardEmptyState/index.js +1 -1
  25. package/build/components/Checkbox/index.js +1 -1
  26. package/build/components/Chip/index.js +1 -1
  27. package/build/components/ChipStack/index.js +1 -1
  28. package/build/components/CircularProgressWithLabel/index.js +1 -1
  29. package/build/components/Collapse/index.js +1 -1
  30. package/build/components/ColorPicker/index.js +1 -1
  31. package/build/components/ColumnViews/index.js +1 -1
  32. package/build/components/ConfirmDialog/index.js +1 -1
  33. package/build/components/CopyImage/index.js +1 -1
  34. package/build/components/CountBadge/index.js +1 -1
  35. package/build/components/CountryFilter/index.js +1 -1
  36. package/build/components/CountryFlag/index.js +1 -1
  37. package/build/components/CurrencyAmount/index.js +1 -1
  38. package/build/components/CurrencyFilter/index.js +1 -1
  39. package/build/components/CurrencySymbol/index.js +1 -1
  40. package/build/components/CustomBackdrop/index.js +1 -1
  41. package/build/components/Customer/index.js +1 -1
  42. package/build/components/DateFilter/index.js +1 -1
  43. package/build/components/DeviceIcon/index.js +1 -1
  44. package/build/components/Dialog/index.js +1 -1
  45. package/build/components/Discount/index.js +1 -1
  46. package/build/components/DisplayAmount/index.js +1 -1
  47. package/build/components/Dropdown2/index.js +1 -1
  48. package/build/components/DropdownButton/index.js +1 -1
  49. package/build/components/DropdownMenu/index.js +1 -1
  50. package/build/components/Error/index.js +1 -1
  51. package/build/components/ErrorToast/index.js +1 -1
  52. package/build/components/ExpandableSideBar/index.js +1 -1
  53. package/build/components/FieldFeedback/index.js +1 -1
  54. package/build/components/FileInputPreview/index.js +1 -1
  55. package/build/components/FilePreview/index.js +1 -1
  56. package/build/components/FileUpload/index.js +1 -1
  57. package/build/components/FileUploader/index.js +1 -1
  58. package/build/components/FilterDropdown/index.js +1 -1
  59. package/build/components/Filters/index.js +1 -1
  60. package/build/components/FlagDetails/index.js +1 -1
  61. package/build/components/FlippingCard/index.js +1 -1
  62. package/build/components/HeatMap/index.js +1 -1
  63. package/build/components/IOSSwitch/index.js +1 -1
  64. package/build/components/Icon/index.js +1 -1
  65. package/build/components/IconWithBadge/index.js +1 -1
  66. package/build/components/Input/index.js +1 -1
  67. package/build/components/InputBase/index.js +1 -1
  68. package/build/components/InputNumber/index.js +1 -1
  69. package/build/components/Inputs/index.js +1 -1
  70. package/build/components/JSONViewer/index.js +1 -1
  71. package/build/components/LanguageDropdown/index.js +1 -1
  72. package/build/components/LazyImage/index.js +1 -1
  73. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  74. package/build/components/ListColumnFilter/index.js +1 -1
  75. package/build/components/ListHeader/index.js +1 -1
  76. package/build/components/ListLayout/index.js +1 -1
  77. package/build/components/Loader/index.js +1 -1
  78. package/build/components/MFWidgetLoader/index.js +1 -1
  79. package/build/components/MaskedText/index.js +1 -1
  80. package/build/components/Menu/index.js +1 -1
  81. package/build/components/MenuItem/index.js +1 -1
  82. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  83. package/build/components/MerchantLogo/index.js +1 -1
  84. package/build/components/MerchantsDropdown/index.js +1 -1
  85. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  86. package/build/components/MultiSelectWithSearch/index.js +1 -1
  87. package/build/components/NestedDropdown/index.js +1 -1
  88. package/build/components/NoInternet/index.js +1 -1
  89. package/build/components/OpenFileInNewTab/index.js +1 -1
  90. package/build/components/PartnersFilter/index.js +1 -1
  91. package/build/components/PaymentSourceFilter/index.js +1 -1
  92. package/build/components/PhoneFilter/index.js +1 -1
  93. package/build/components/ProgressBar/index.js +1 -1
  94. package/build/components/ProgressRing/index.js +1 -1
  95. package/build/components/RFH/index.js +1 -1
  96. package/build/components/RadioButton/index.js +1 -1
  97. package/build/components/RadioGroup/index.js +1 -1
  98. package/build/components/RangeCalender/index.js +1 -1
  99. package/build/components/ReceiptsViewer/index.js +1 -1
  100. package/build/components/ReferenceTypeFilter/index.js +1 -1
  101. package/build/components/ResizableHeightInput/index.js +1 -1
  102. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  103. package/build/components/SalesChannelFilter/index.js +1 -1
  104. package/build/components/ScrollLoader/index.js +1 -1
  105. package/build/components/SearchButton/index.js +1 -1
  106. package/build/components/SearchListInput/index.js +1 -1
  107. package/build/components/SelectDropdown/index.js +1 -1
  108. package/build/components/SelectWithSearch/index.js +1 -1
  109. package/build/components/SimpleDialog/index.js +1 -1
  110. package/build/components/Skeleton/index.js +1 -1
  111. package/build/components/Slider/index.js +1 -1
  112. package/build/components/StatusBar/index.js +1 -1
  113. package/build/components/StatusButton/index.js +1 -1
  114. package/build/components/StatusChip/index.js +1 -1
  115. package/build/components/StatusChipWithCopy/index.js +1 -1
  116. package/build/components/StatusFilter/index.js +1 -1
  117. package/build/components/StatusGroupChips/index.js +1 -1
  118. package/build/components/StatusIcons/index.js +1 -1
  119. package/build/components/StatusLabel/index.js +1 -1
  120. package/build/components/TableCells/index.js +1 -1
  121. package/build/components/TableReports/index.js +1 -1
  122. package/build/components/Timepicker/index.js +1 -1
  123. package/build/components/Toaster/index.js +1 -1
  124. package/build/components/ToggleButtons/index.js +1 -1
  125. package/build/components/ToggleView/index.js +1 -1
  126. package/build/components/Toolbar/index.js +1 -1
  127. package/build/components/ToolbarIcon/index.js +1 -1
  128. package/build/components/TooltipChip/index.js +1 -1
  129. package/build/components/TreeDropdown/index.js +1 -1
  130. package/build/components/VAT/index.js +1 -1
  131. package/build/components/VerificationIcon/index.js +1 -1
  132. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  133. package/build/components/VirtualTables/index.js +1 -1
  134. package/build/components/Widget/index.js +1 -1
  135. package/build/components/Window/index.js +1 -1
  136. package/build/components/WindowAppIcon/index.js +1 -1
  137. package/build/components/WindowBackdrop/index.js +1 -1
  138. package/build/components/WindowSideBar/index.js +1 -1
  139. package/build/components/_v2/index.js +1 -1
  140. package/build/components/index.js +1 -1
  141. package/build/constants/index.js +1 -1
  142. package/build/hooks/index.js +1 -1
  143. package/build/index.js +1 -1
  144. package/build/types/brand.d.ts +115 -38
  145. package/build/types/entity.d.ts +138 -72
  146. package/build/types/index.js +1 -1
  147. package/build/utils/index.js +1 -1
  148. package/package.json +1 -1
  149. package/build/_chunks/chunk-C24XFE7G.js +0 -1
@@ -31,17 +31,141 @@ export interface Entity {
31
31
  merchants?: Merchant[];
32
32
  branches?: Branch[];
33
33
  }
34
- type DataStatus = 'editable' | 'noneditable';
34
+ export type DataStatus = 'editable' | 'noneditable';
35
+ export type DataVerificationStatus = 'entered' | 'not_entered';
36
+ export type EntityDataState = 'incomplete' | 'complete' | 'reviewed' | 'verified';
37
+ export type EntityOperatorStatus = 'Active' | 'Reviewed' | 'Verified' | 'Expired' | 'Archived' | 'Closed';
38
+ export interface EntityOperator {
39
+ id: string;
40
+ status: EntityOperatorStatus;
41
+ created: number;
42
+ object: string;
43
+ live_mode: boolean;
44
+ api_version: string;
45
+ feature_version: string;
46
+ name: string;
47
+ business_entity_id: string;
48
+ user_id: string;
49
+ wallet_id: string;
50
+ is_merchant: boolean;
51
+ }
52
+ export interface EntityWalletBankAccount {
53
+ id: string;
54
+ status: string;
55
+ created: number;
56
+ iban: string;
57
+ }
58
+ export interface EntityWallet {
59
+ id: string;
60
+ status: string;
61
+ created: number;
62
+ base_currency: string;
63
+ country: string;
64
+ settlement_by: string;
65
+ primary_wallet: boolean;
66
+ is_merchant: boolean;
67
+ bank_account?: EntityWalletBankAccount;
68
+ }
69
+ export interface EntityDataStatus {
70
+ type: DataStatus;
71
+ license: {
72
+ status: DataStatus;
73
+ provider: DataStatus;
74
+ type: DataStatus;
75
+ number: DataStatus;
76
+ additional_info: DataStatus;
77
+ issuing_date: DataStatus;
78
+ expiry_date: DataStatus;
79
+ };
80
+ capital: {
81
+ paid: DataStatus;
82
+ subscribed: DataStatus;
83
+ announced: DataStatus;
84
+ shares: {
85
+ count: DataStatus;
86
+ value: DataStatus;
87
+ };
88
+ };
89
+ activities: DataStatus;
90
+ documents: DataStatus;
91
+ location: DataStatus;
92
+ legal_name: {
93
+ ar?: DataStatus;
94
+ en: DataStatus;
95
+ };
96
+ country: DataStatus;
97
+ not_for_profit: DataStatus;
98
+ is_vat_acknowledged: DataStatus;
99
+ tax_number: DataStatus;
100
+ opened_by?: DataStatus;
101
+ signed_by?: DataStatus;
102
+ settlement_by: DataStatus;
103
+ AOA_file_id: DataStatus;
104
+ billing_address: DataStatus;
105
+ }
106
+ export interface EntityDataVerification {
107
+ type: DataVerificationStatus;
108
+ license: {
109
+ status: DataVerificationStatus;
110
+ provider: DataVerificationStatus;
111
+ type: DataVerificationStatus;
112
+ number: DataVerificationStatus;
113
+ additional_info: DataVerificationStatus;
114
+ issuing_date: DataVerificationStatus;
115
+ expiry_date: DataVerificationStatus;
116
+ };
117
+ capital: {
118
+ paid: DataVerificationStatus;
119
+ subscribed: DataVerificationStatus;
120
+ announced: DataVerificationStatus;
121
+ shares: {
122
+ count: DataVerificationStatus;
123
+ value: DataVerificationStatus;
124
+ };
125
+ };
126
+ activities: Record<string, DataVerificationStatus>;
127
+ documents: Record<string, DataVerificationStatus>;
128
+ location: DataVerificationStatus;
129
+ legal_name: {
130
+ ar?: DataVerificationStatus;
131
+ en: DataVerificationStatus;
132
+ };
133
+ country: DataVerificationStatus;
134
+ not_for_profit: DataVerificationStatus;
135
+ is_vat_acknowledged: DataVerificationStatus;
136
+ tax_number: DataVerificationStatus;
137
+ settlement_by: DataVerificationStatus;
138
+ AOA_file_id: DataVerificationStatus;
139
+ billing_address: DataVerificationStatus;
140
+ is_licensed: DataVerificationStatus;
141
+ taxable: DataVerificationStatus;
142
+ }
35
143
  export interface EntityDetails {
36
144
  id: string;
37
- status: 'Active' | 'Reviewed' | 'Verified' | 'Expired' | 'Archived' | 'Closed';
145
+ status: 'New' | 'Active' | 'Reviewed' | 'Verified' | 'Expired' | 'Archived' | 'Closed';
38
146
  created: number;
39
147
  legal_name: {
40
- ar: string;
148
+ ar?: string;
41
149
  en: string;
42
150
  };
43
- AOA_file_id: string;
44
- activities: {
151
+ country: string;
152
+ type: string;
153
+ not_for_profit: boolean;
154
+ is_licensed: boolean;
155
+ license: {
156
+ type: string;
157
+ number: string;
158
+ provider?: string;
159
+ expiry_date?: string | number;
160
+ issuing_date?: string | number;
161
+ additional_info?: {
162
+ unified_number?: string;
163
+ };
164
+ };
165
+ taxable: boolean;
166
+ is_vat_acknowledged?: boolean;
167
+ AOA_file_id?: string;
168
+ activities?: {
45
169
  id: string;
46
170
  name: {
47
171
  en: string;
@@ -57,13 +181,8 @@ export interface EntityDetails {
57
181
  created: number;
58
182
  };
59
183
  }[];
60
- tax_number: string;
61
- data_state?: 'incomplete' | 'complete' | 'reviewed' | 'verified';
62
- country: string;
63
- not_for_profit: boolean;
64
- is_licensed: boolean;
65
- type: string;
66
- capital: {
184
+ tax_number?: string;
185
+ capital?: {
67
186
  paid: number;
68
187
  subscribed: number;
69
188
  announced: number;
@@ -72,18 +191,7 @@ export interface EntityDetails {
72
191
  value: number;
73
192
  };
74
193
  };
75
- license: {
76
- type: string;
77
- number: string;
78
- provider: string;
79
- expiry_date: string;
80
- issuing_date: string;
81
- additional_info?: {
82
- unified_number?: string;
83
- };
84
- };
85
- taxable: boolean;
86
- documents: {
194
+ documents?: {
87
195
  images?: string[];
88
196
  files?: string[];
89
197
  type: string;
@@ -91,52 +199,10 @@ export interface EntityDetails {
91
199
  status: string;
92
200
  created: number;
93
201
  }[];
94
- wallets: Array<{
95
- id: string;
96
- status: string;
97
- created: number;
98
- base_currency: string;
99
- country: string;
100
- settlement_by: string;
101
- primary_wallet: boolean;
102
- is_merchant: boolean;
103
- }>;
104
- data_status: {
105
- type: DataStatus;
106
- license: {
107
- status: DataStatus;
108
- provider: DataStatus;
109
- type: DataStatus;
110
- number: DataStatus;
111
- additional_info: DataStatus;
112
- issuing_date: DataStatus;
113
- expiry_date: DataStatus;
114
- };
115
- capital: {
116
- paid: DataStatus;
117
- subscribed: DataStatus;
118
- announced: DataStatus;
119
- shares: {
120
- count: DataStatus;
121
- value: DataStatus;
122
- };
123
- };
124
- activities: DataStatus;
125
- documents: DataStatus;
126
- location: DataStatus;
127
- legal_name: {
128
- ar: DataStatus;
129
- en: DataStatus;
130
- };
131
- country: DataStatus;
132
- not_for_profit: DataStatus;
133
- is_vat_acknowledged: DataStatus;
134
- tax_number: DataStatus;
135
- opened_by: DataStatus;
136
- signed_by: DataStatus;
137
- settlement_by: DataStatus;
138
- AOA_file_id: DataStatus;
139
- billing_address: DataStatus;
140
- };
202
+ wallets?: EntityWallet[];
203
+ operator?: EntityOperator;
204
+ data_status?: EntityDataStatus;
205
+ data_verification?: EntityDataVerification;
206
+ data_state?: EntityDataState;
207
+ tax_data_state?: EntityDataState;
141
208
  }
142
- export {};
@@ -1 +1 @@
1
- export{l as ACCOUNT_SECTION,m as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,n as DISCOUNT_TYPE,b as LanguageMode,i as NewRelicEventType,k as NewRelicFeatureName,j as NewRelicFeatureType,c as RECURRENCE_TYPE,p as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,o as StatusValue,a as ThemeMode}from'../_chunks/chunk-C24XFE7G.js';import'../_chunks/chunk-YRT7GXGY.js';
1
+ export{l as ACCOUNT_SECTION,m as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,n as DISCOUNT_TYPE,b as LanguageMode,i as NewRelicEventType,k as NewRelicFeatureName,j as NewRelicFeatureType,c as RECURRENCE_TYPE,p as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,o as StatusValue,a as ThemeMode}from'../_chunks/chunk-BTDALREB.js';import'../_chunks/chunk-YRT7GXGY.js';
@@ -1 +1 @@
1
- export{Ac as DEFAULT_SKELETON_WIDTHS,rc as SELECTION_COLORS,uc as alignToJustifyContent,Da as api,Fc as applyColumnFiltersGate,bc as backendErrorHandler,$a as calculateMaxAllowedRows,nb as capitalizeFirstLetter,rb as capitalizeString,D as changeDateTimezone,Ca as clearTapOsLocalStorage,Ma as conversionTypesLabels,B as convertCalendarDateToUTC,Ta as convertToNumber,C as convertUTCtoLocalDate,mb as copyText,Na as currencyConfig,Vb as downloadFile,Ab as extractIdsFromRowData,Ob as filterShownColumns,Qa as formatAmount,Ra as formatAmountWithCurrency,H as formatCellDate,Pa as formatCurrencyWithInput,I as formatDate,Xa as formatFlagDate,R as formatInTimezone,Ic as formatLogDate,r as formatNumber,q as formatOrdinal,Wa as formatPayoutDate,M as formatRelativeTimeWithinHour,K as formatSecondsAsTime,x as formatUTCOffset,P as generateBirthYearList,ub as generateChargeErrors,E as generateDayList,F as generateMonthList,Q as generatePastYearList,ic as generateReportLocalStorageKey,Bc as generateSkeletonColumns,lb as generateUniqueUUID,G as generateYearList,v as getAmountPlaceholder,Zb as getApiErrorMessage,cc as getApp,Fa as getBrowserName,U as getBusinessSegmentConfig,oa as getCalenderTimezone,pa as getCalenderTimezoneHistory,sb as getCardNumber,_a as getCellWidth,Pb as getColumnOrderFromViews,Za as getColumnWidthPercentage,Jc as getComponentId,Sa as getConversion,Ua as getCountryNameByISO,y as getDefaultDateRange,hc as getFileIconFromExtension,kb as getFirstChar,pc as getGeographyBoxColor,ta as getGlobalTableModeStorage,Ea as getHeaders,ec as getIdentificationTypeList,qc as getLocalizedUnitLabel,ga as getLoggedInUserActiveSegment,ea as getLoggedInUserData,ba as getLoggedInUserJwtToken,fa as getLoggedInUserSegment,lc as getNameText,_ as getNavigationData,W as getNonBusinessSegmentConfig,S as getOrderedWeekDays,tb as getPaymentMethodWithId,nc as getPaymentTypeKey,Ya as getPayoutDetails,Ub as getPhoneDetails,db as getPossibleActionNavigationView,ya as getPreviewStorage,Cc as getProcessedColumns,Ia as getRandomColor,Ja as getRandomGradientColor,ka as getReportRecord,tc as getRowSelectionBorderStyles,Y as getSecretKey,T as getSegmentData,sc as getSelectionStyles,dc as getService,wa as getSheetViewColumnsStorage,kc as getTextByLang,A as getTimestampByTimezone,wc as getTimezoneByCountryCode,xc as getTimezoneByTimezone,w as getUTCOffset,z as getUTCTimestamp,o as getUniqueListBy,Ha as getUserAgentDeviceType,mc as getUsername,J as getValueOfEndOfDay,Aa as getViewsSelectionStorage,Wb as handleFileDownload,Xb as handleURLDownload,Ec as hasActiveColumnFilters,_b as hasError,Ka as hexa2Rgba,Oa as intlCurrency,jc as isArabic,wb as isEmptyValue,gc as isFile,ab as isHeightNotFullyFilledByRows,ha as isJwtTokenExpired,Yb as isNetworkError,ac as isNotFoundError,Qb as isParameterSelected,Ga as isSafariBrowser,oc as isSamePaymentSource,Va as isSaudiArabia,V as isSegmentActLikeBusinessSegment,bb as isTableDefaultMode,cb as isTableSheetMode,yb as isTapstersFrontend,$b as isTimeoutError,N as isTodayDate,ia as isUserLoggedInAndJwtTokenExistsAndNotExpired,p as isValidNumber,hb as isValidString,L as isWithinTimeAgo,O as isYesterdayDate,Rb as mapDataToViews,Sb as mapViewsToData,pb as maskValue,jb as matchOccurrence,vc as mergeSx,t as numberToString,u as pad,ob as percentageToNumber,fc as readableFileSize,zb as removeAllCharsFromNumber,qa as removeCalenderTimezone,ra as removeCalenderTimezoneHistory,ua as removeGlobalTableModeStorage,ca as removeLoggedInUserJwtToken,$ as removeNavigationData,ib as removePrefixFromString,za as removePreviewStorage,la as removeReportRecord,n as removeUndefinedArrayElements,xb as removeUndefinedArrayValues,vb as removeUndefinedValues,La as rgba2Hexa,Gc as sanitizeHtml,ma as setCalenderTimezone,na as setCalenderTimezoneHistory,sa as setGlobalTableModeStorage,da as setLoggedInUserData,aa as setLoggedInUserJwtToken,Z as setNavigationData,xa as setPreviewStorage,ja as setReportRecord,X as setSecretKey,va as setSheetViewColumnsStorage,Ba as setViewsSelectionStorage,m as sortByString,l as sortList,s as stringToNumber,Hc as trackFeatureEvent,yc as transformPaymentMethodsData,zc as transformPaymentSchemesData,qb as transformStringToProperCase,Tb as updateColumnSelection,Dc as updateViewsSelection}from'../_chunks/chunk-ADRNVZDC.js';import'../_chunks/chunk-ZKYFTM3K.js';import'../_chunks/chunk-C24XFE7G.js';import'../_chunks/chunk-YRT7GXGY.js';
1
+ export{Ac as DEFAULT_SKELETON_WIDTHS,rc as SELECTION_COLORS,uc as alignToJustifyContent,Da as api,Fc as applyColumnFiltersGate,bc as backendErrorHandler,$a as calculateMaxAllowedRows,nb as capitalizeFirstLetter,rb as capitalizeString,D as changeDateTimezone,Ca as clearTapOsLocalStorage,Ma as conversionTypesLabels,B as convertCalendarDateToUTC,Ta as convertToNumber,C as convertUTCtoLocalDate,mb as copyText,Na as currencyConfig,Vb as downloadFile,Ab as extractIdsFromRowData,Ob as filterShownColumns,Qa as formatAmount,Ra as formatAmountWithCurrency,H as formatCellDate,Pa as formatCurrencyWithInput,I as formatDate,Xa as formatFlagDate,R as formatInTimezone,Ic as formatLogDate,r as formatNumber,q as formatOrdinal,Wa as formatPayoutDate,M as formatRelativeTimeWithinHour,K as formatSecondsAsTime,x as formatUTCOffset,P as generateBirthYearList,ub as generateChargeErrors,E as generateDayList,F as generateMonthList,Q as generatePastYearList,ic as generateReportLocalStorageKey,Bc as generateSkeletonColumns,lb as generateUniqueUUID,G as generateYearList,v as getAmountPlaceholder,Zb as getApiErrorMessage,cc as getApp,Fa as getBrowserName,U as getBusinessSegmentConfig,oa as getCalenderTimezone,pa as getCalenderTimezoneHistory,sb as getCardNumber,_a as getCellWidth,Pb as getColumnOrderFromViews,Za as getColumnWidthPercentage,Jc as getComponentId,Sa as getConversion,Ua as getCountryNameByISO,y as getDefaultDateRange,hc as getFileIconFromExtension,kb as getFirstChar,pc as getGeographyBoxColor,ta as getGlobalTableModeStorage,Ea as getHeaders,ec as getIdentificationTypeList,qc as getLocalizedUnitLabel,ga as getLoggedInUserActiveSegment,ea as getLoggedInUserData,ba as getLoggedInUserJwtToken,fa as getLoggedInUserSegment,lc as getNameText,_ as getNavigationData,W as getNonBusinessSegmentConfig,S as getOrderedWeekDays,tb as getPaymentMethodWithId,nc as getPaymentTypeKey,Ya as getPayoutDetails,Ub as getPhoneDetails,db as getPossibleActionNavigationView,ya as getPreviewStorage,Cc as getProcessedColumns,Ia as getRandomColor,Ja as getRandomGradientColor,ka as getReportRecord,tc as getRowSelectionBorderStyles,Y as getSecretKey,T as getSegmentData,sc as getSelectionStyles,dc as getService,wa as getSheetViewColumnsStorage,kc as getTextByLang,A as getTimestampByTimezone,wc as getTimezoneByCountryCode,xc as getTimezoneByTimezone,w as getUTCOffset,z as getUTCTimestamp,o as getUniqueListBy,Ha as getUserAgentDeviceType,mc as getUsername,J as getValueOfEndOfDay,Aa as getViewsSelectionStorage,Wb as handleFileDownload,Xb as handleURLDownload,Ec as hasActiveColumnFilters,_b as hasError,Ka as hexa2Rgba,Oa as intlCurrency,jc as isArabic,wb as isEmptyValue,gc as isFile,ab as isHeightNotFullyFilledByRows,ha as isJwtTokenExpired,Yb as isNetworkError,ac as isNotFoundError,Qb as isParameterSelected,Ga as isSafariBrowser,oc as isSamePaymentSource,Va as isSaudiArabia,V as isSegmentActLikeBusinessSegment,bb as isTableDefaultMode,cb as isTableSheetMode,yb as isTapstersFrontend,$b as isTimeoutError,N as isTodayDate,ia as isUserLoggedInAndJwtTokenExistsAndNotExpired,p as isValidNumber,hb as isValidString,L as isWithinTimeAgo,O as isYesterdayDate,Rb as mapDataToViews,Sb as mapViewsToData,pb as maskValue,jb as matchOccurrence,vc as mergeSx,t as numberToString,u as pad,ob as percentageToNumber,fc as readableFileSize,zb as removeAllCharsFromNumber,qa as removeCalenderTimezone,ra as removeCalenderTimezoneHistory,ua as removeGlobalTableModeStorage,ca as removeLoggedInUserJwtToken,$ as removeNavigationData,ib as removePrefixFromString,za as removePreviewStorage,la as removeReportRecord,n as removeUndefinedArrayElements,xb as removeUndefinedArrayValues,vb as removeUndefinedValues,La as rgba2Hexa,Gc as sanitizeHtml,ma as setCalenderTimezone,na as setCalenderTimezoneHistory,sa as setGlobalTableModeStorage,da as setLoggedInUserData,aa as setLoggedInUserJwtToken,Z as setNavigationData,xa as setPreviewStorage,ja as setReportRecord,X as setSecretKey,va as setSheetViewColumnsStorage,Ba as setViewsSelectionStorage,m as sortByString,l as sortList,s as stringToNumber,Hc as trackFeatureEvent,yc as transformPaymentMethodsData,zc as transformPaymentSchemesData,qb as transformStringToProperCase,Tb as updateColumnSelection,Dc as updateViewsSelection}from'../_chunks/chunk-ADRNVZDC.js';import'../_chunks/chunk-ZKYFTM3K.js';import'../_chunks/chunk-BTDALREB.js';import'../_chunks/chunk-YRT7GXGY.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.3.45",
4
+ "version": "0.3.46",
5
5
  "testVersion": 0,
6
6
  "type": "module",
7
7
  "sideEffects": false,
@@ -1 +0,0 @@
1
- var T=(I=>(I.DARK="dark",I.LIGHT="light",I))(T||{}),g=(I=>(I.AR="ar",I.EN="en",I))(g||{});var d=(A=>(A.ONE_TIME="oneTime",A.DAILY="daily",A.MONTHLY="monthly",A))(d||{}),P=(_=>(_.WHATSAPP="whatsapp",_.EMAIL="email",_.SMS="sms",_.CUSTOMER="customer",_))(P||{});var e=(t=>(t.MOBILE_APP="mobile_app",t.WEBSITE="website",t.CALL_CENTER="call_center",t.PHYSICAL_STORE="physical_store",t.SOCIAL_MEDIA="social_media",t.IOS="ios",t.ANDROID="android",t.LINKEDIN="linkedin",t.INSTAGRAM="instagram",t.TWITTER="twitter",t))(e||{});var m=(t=>(t.SAR="SAR",t.BHD="BHD",t.EGP="EGP",t.PKR="PKR",t.KWD="KWD",t.AED="AED",t.QAR="QAR",t.LBP="LBP",t.EUR="EUR",t.USD="USD",t))(m||{});var S=(o=>(o.BUSINESS="BUSINESS",o.PLATFORM="PLATFORM",o.DEVELOPMENT="DEVELOPMENT",o.PSP="PSP",o.PAYMENT_TECHNOLOGY="PAYMENT_TECHNOLOGY",o.PAYMENT_FACILITATOR="PAYMENT_FACILITATOR",o.PAYMENT_ACQUIRER="PAYMENT_ACQUIRER",o.PAYMENT_GATEWAY="PAYMENT_GATEWAY",o.PAYMENT_ISSUER="PAYMENT_ISSUER",o.APP_PLATFORM="APP_PLATFORM",o.BILLING_PLATFORM="BILLING_PLATFORM",o.COMMERCE_PLATFORM="COMMERCE_PLATFORM",o.DEVELOPMENT_HOUSE="DEVELOPMENT_HOUSE",o.PAYMENT_GATEWAY_PROVIDER="PAYMENT_GATEWAY_PROVIDER",o.RETAIL_PLATFORM="RETAIL_PLATFORM",o))(S||{});var R=(i=>(i.PaymentMethod="PAYMENT_METHOD",i.PaymentCurrency="PAYMENT_CURRENCY",i.PaymentScheme="PAYMENT_SCHEME",i.PaymentType="PAYMENT_TYPE",i.PaymentLocation="PAYMENT_LOCATION",i.PaymentIssuer="PAYMENT_ISSUER",i.PaymentAcquirer="PAYMENT_ACQUIRER",i.PaymentGateway="PAYMENT_GATEWAY",i))(R||{});var D=(O=>(O.TAPOS_FEATURE_EVENT="TAPOS_FEATURE_EVENT",O))(D||{}),p=(r=>(r.PERIOD_ACTION="PERIOD_ACTION",r.WINDOW_ACTION="WINDOW_ACTION",r.REPORT_ACTION="REPORT_ACTION",r.SEARCH_ACTION="SEARCH_ACTION",r.VIEW_ACTION="VIEW_ACTION",r.JSON_ACTION="JSON_ACTION",r.FILTER_ACTION="FILTER_ACTION",r.COPY_ACTION="COPY_ACTION",r.IN_APP_ACTION="IN_APP_ACTION",r.DATA_ENVIRONMENT_ACTION="DATA_ENVIRONMENT_ACTION",r.CALENDAR="CALENDAR",r.APP_SERVICE_NAVIGATION="APP_SERVICE_NAVIGATION",r.IN_APP_NAVIGATION="IN_APP_NAVIGATION",r.CROSS_APP_NAVIGATION="CROSS_APP_NAVIGATION",r))(p||{}),a=(n=>(n.PREDEFINED_PERIOD="PREDEFINED_PERIOD",n.TIMEZONE_USER="TIMEZONE_USER",n.TIMEZONE_MERCHANT="TIMEZONE_MERCHANT",n.OPEN_WINDOW="OPEN_WINDOW",n.TILE_WINDOW="TILE_WINDOW",n.CLOSE_WINDOW="CLOSE_WINDOW",n.FULL_SCREEN_WINDOW="FULL_SCREEN_WINDOW",n.MINIMIZE_WINDOW="MINIMIZE_WINDOW",n.NORMAL_WINDOW="NORMAL_WINDOW",n.REPORT_CSV="REPORT_CSV",n.SEARCH="SEARCH",n.SHEET_VIEW="SHEET_VIEW",n.STANDARD_VIEW="STANDARD_VIEW",n.CARD_VIEW="CARD_VIEW",n.USER_TEMPLATE="USER_TEMPLATE",n.JSON_RESPONSE="JSON_RESPONSE",n.JSON_COPY="JSON_COPY",n.JSON_COPY_ID="JSON_COPY_ID",n.JSON_REQUEST="JSON_REQUEST",n.JSON_SEARCH="JSON_SEARCH",n.COLLAPSE_JSON_NODES="COLLAPSE_JSON_NODES",n.EXPAND_JSON_NODES="EXPAND_JSON_NODES",n.COLUMN_FILTER="COLUMN_FILTER",n.GENERAL_FILTER="GENERAL_FILTER",n.CALENDAR_GREGORIAN="GREGORIAN",n.CALENDAR_HIJRI="HIJRI",n.SANDBOX_MODE="SANDBOX_MODE",n.LIVE_MODE="LIVE_MODE",n.COPY_ID="COPY_ID",n.APP_SERVICE_NAVIGATION="APP_SERVICE_NAVIGATION",n.IN_APP_NAVIGATION="IN_APP_NAVIGATION",n.CROSS_APP_NAVIGATION="CROSS_APP_NAVIGATION",n.SEND_REMINDER="SEND_REMINDER",n.CANCEL_INVOICE="CANCEL_INVOICE",n.SEND_INVOICE="SEND_INVOICE",n.VIEW_INVOICE="VIEW_INVOICE",n.REFUND_INVOICE="REFUND_INVOICE",n.UPDATE_METADATA="UPDATE_METADATA",n.CREATE_INVOICE="CREATE_INVOICE",n.CREATE_CHARGE="CREATE_CHARGE",n.VIEW_RECEIPT="VIEW_RECEIPT",n.VOID_AUTHORIZATION="VOID_AUTHORIZATION",n.CAPTURE_AUTHORIZATION="CAPTURE_AUTHORIZATION",n.ADD_USER="ADD_USER",n.UPDATE_USER="UPDATE_USER",n.REMOVE_USER="REMOVE_USER",n.ADD_USER_ROLE="ADD_USER_ROLE",n.REMOVE_USER_ROLE="REMOVE_USER_ROLE",n.ADD_ACCESS_PERMISSION="ADD_ACCESS_PERMISSION",n.REMOVE_ACCESS_PERMISSION="REMOVE_ACCESS_PERMISSION",n.ADD_APP_PERMISSION="ADD_APP_PERMISSION",n.REMOVE_APP_PERMISSION="REMOVE_APP_PERMISSION",n.ADD_FEATURE_PERMISSION="ADD_FEATURE_PERMISSION",n.REMOVE_FEATURE_PERMISSION="REMOVE_FEATURE_PERMISSION",n.ADD_BRAND="ADD_BRAND",n.UPDATE_BRAND="UPDATE_BRAND",n.REMOVE_BRAND="REMOVE_BRAND",n.ADD_BRAND_SALES_CHANNEL="ADD_BRAND_SALES_CHANNEL",n.REMOVE_BRAND_SALES_CHANNEL="REMOVE_BRAND_SALES_CHANNEL",n.DOWNLOAD_REPORT_FILE="DOWNLOAD_REPORT_FILE",n.UPDATE_TEAM_ASSIGNEE="UPDATE_TEAM_ASSIGNEE",n.ADD_TEAM_MEMBER="ADD_TEAM_MEMBER",n.UPDATE_BUSINESS_NAME="UPDATE_BUSINESS_NAME",n.DETAILED_STATEMENT="DETAILED_STATEMENT",n.AGGREGATE_STATEMENT_PER_DAY="AGGREGATE_STATEMENT_PER_DAY",n.AGGREGATE_STATEMENT_PER_MONTH="AGGREGATE_STATEMENT_PER_MONTH",n.AGGREGATE_STATEMENT_PER_QUARTER="AGGREGATE_STATEMENT_PER_QUARTER",n.AGGREGATE_STATEMENT_PER_YEAR="AGGREGATE_STATEMENT_PER_YEAR",n))(a||{});var M=(s=>(s.BRAND="brand",s.ENTITY="entity",s.USERS="users",s.USER_ROLES="userRoles",s.APP_SETTINGS="appSettings",s))(M||{});var b=(E=>(E.OnClickTableAction="on-click-table-action",E.OnRightClickTableAction="on-right-click-table-action",E.OnToggleTableMode="on-toggle-table-mode",E.OnChangeTableMode="on-change-table-mode",E.OnChangeCalenderMode="on-change-calender-mode",E.OnChangeTimezone="on-change-timezone",E.OnNavigate="on-navigate",E.OnStartDrag="on-start-drag",E.OnChangeAppToolbar="on-change-app-toolbar",E.OnToast="on-toast",E.OnInvalidateQueries="on-invalidate_queries",E.OnModifyRemotePayload="on-modify-remote-payload",E))(b||{});var L=(A=>(A.NO_DISCOUNT="noDiscount",A.PERCENT="percent",A.FLAT="flat",A))(L||{});var f=(A=>(A.ALL="all",A.ENABLED="enabled",A.DISABLED="disabled",A))(f||{});var x=(_=>(_.COMPLETED="COMPLETED",_.FAILED="FAILED",_.PROCESSING="PROCESSING",_.INITIATED="INITIATED",_))(x||{});export{T as a,g as b,d as c,P as d,e,m as f,S as g,R as h,D as i,p as j,a as k,M as l,b as m,L as n,f as o,x as p};