@@ -326,7 +326,8 @@ const CONST = {
326326 OLD_DEFAULT_AVATAR_COUNT : 8 ,
327327
328328 DISPLAY_NAME : {
329- MAX_LENGTH : 50 ,
329+ // This value is consistent with the BE display name max length limit.
330+ MAX_LENGTH : 100 ,
330331 RESERVED_NAMES : [ 'Expensify' , 'Concierge' ] ,
331332 EXPENSIFY_CONCIERGE : 'Expensify Concierge' ,
332333 } ,
@@ -343,6 +344,10 @@ const CONST = {
343344 MAX_LENGTH : 40 ,
344345 } ,
345346
347+ NAME : {
348+ MAX_LENGTH : 50 ,
349+ } ,
350+
346351 REPORT_DESCRIPTION : {
347352 MAX_LENGTH : 1000 ,
348353 } ,
@@ -1053,7 +1058,6 @@ const CONST = {
10531058 SHUTTER_SIZE : 90 ,
10541059 MAX_REPORT_PREVIEW_RECEIPTS : 3 ,
10551060 } ,
1056- RECEIPT_PREVIEW_TOP_BOTTOM_MARGIN : 120 ,
10571061 REPORT : {
10581062 ROLE : {
10591063 ADMIN : 'admin' ,
@@ -1426,11 +1430,17 @@ const CONST = {
14261430 EXPORT_TO_INTEGRATION : 'exportToIntegration' ,
14271431 MARK_AS_EXPORTED : 'markAsExported' ,
14281432 DOWNLOAD_CSV : 'downloadCSV' ,
1433+ REPORT_LEVEL_EXPORT : 'report_level_export' ,
1434+ EXPENSE_LEVEL_EXPORT : 'detailed_export' ,
14291435 } ,
14301436 ROOM_MEMBERS_BULK_ACTION_TYPES : {
14311437 REMOVE : 'remove' ,
14321438 } ,
14331439 } ,
1440+ EXPORT_TEMPLATE_TYPES : {
1441+ INTEGRATIONS : 'integrations' ,
1442+ IN_APP : 'in-app' ,
1443+ } ,
14341444 NEXT_STEP : {
14351445 ICONS : {
14361446 HOURGLASS : 'hourglass' ,
@@ -1528,8 +1538,6 @@ const CONST = {
15281538 SEARCH_MOST_RECENT_OPTIONS : 'search_most_recent_options' ,
15291539 DEBOUNCE_HANDLE_SEARCH : 'debounce_handle_search' ,
15301540 FAST_SEARCH_TREE_CREATION : 'fast_search_tree_creation' ,
1531- SHOW_HOVER_PREVIEW_DELAY : 270 ,
1532- SHOW_HOVER_PREVIEW_ANIMATION_DURATION : 200 ,
15331541 } ,
15341542 PRIORITY_MODE : {
15351543 GSD : 'gsd' ,
@@ -3283,9 +3291,9 @@ const CONST = {
32833291 ALLOW : 'personal' ,
32843292 } ,
32853293 STATEMENT_CLOSE_DATE : {
3286- LAST_DAY_OF_MONTH : 'lastDayOfMonth ' ,
3287- LAST_BUSINESS_DAY_OF_MONTH : 'lastBusinessDayOfMonth ' ,
3288- CUSTOM_DAY_OF_MONTH : 'customDayOfMonth ' ,
3294+ LAST_DAY_OF_MONTH : 'LAST_DAY_OF_MONTH ' ,
3295+ LAST_BUSINESS_DAY_OF_MONTH : 'LAST_BUSINESS_DAY_OF_MONTH ' ,
3296+ CUSTOM_DAY_OF_MONTH : 'CUSTOM_DAY_OF_MONTH ' ,
32893297 } ,
32903298 CARD_LIST_THRESHOLD : 8 ,
32913299 DEFAULT_EXPORT_TYPE : 'default' ,
@@ -3489,10 +3497,6 @@ const CONST = {
34893497 EMOJIS : / [ \p{ Extended_Pictographic} \uE000 - \uF8FF \u{F0000} - \u{FFFFD} \u{100000} - \u{10FFFD} ] ( \u200D [ \p{ Extended_Pictographic} \uE000 - \uF8FF \u{F0000} - \u{FFFFD} \u{100000} - \u{10FFFD} ] | [ \u{1F3FB} - \u{1F3FF} ] | [ \u{E0020} - \u{E007F} ] | \uFE0F | \u20E3 ) * | [ \u{1F1E6} - \u{1F1FF} ] { 2 } | [ # * 0 - 9 ] \uFE0F ? \u20E3 / du,
34903498 // eslint-disable-next-line max-len, no-misleading-character-class
34913499 EMOJI_SKIN_TONES : / [ \u{1f3fb} - \u{1f3ff} ] / gu,
3492- /** Regex to match emojis that are not wrapped in `<emoji>` tags */
3493- get UNWRAPPED_EMOJI ( ) {
3494- return new RegExp ( `(?:(?!<emoji[^>]*>))(${ this . EMOJIS . source } )(?:(?!</emoji[^>]*>))` , 'gu' ) ;
3495- } ,
34963500
34973501 PRIVATE_USER_AREA : / [ \uE000 - \uF8FF \u{F0000} - \u{FFFFD} \u{100000} - \u{10FFFD} ] / u,
34983502
@@ -6451,14 +6455,6 @@ const CONST = {
64516455 LAST_MONTH : 'last-month' ,
64526456 LAST_STATEMENT : 'last-statement' ,
64536457 } ,
6454- get FILTER_DATE_PRESETS ( ) {
6455- return {
6456- // s77rt remove DEV lock
6457- [ this . SYNTAX_FILTER_KEYS . POSTED ] :
6458- ( Config ?. ENVIRONMENT ?? 'development' ) === 'development' ? [ this . DATE_PRESETS . LAST_STATEMENT , this . DATE_PRESETS . LAST_MONTH ] : [ this . DATE_PRESETS . LAST_MONTH ] ,
6459- [ this . SYNTAX_FILTER_KEYS . EXPORTED ] : [ this . DATE_PRESETS . NEVER ] ,
6460- } ;
6461- } ,
64626458 SNAPSHOT_ONYX_KEYS : [
64636459 ONYXKEYS . COLLECTION . REPORT ,
64646460 ONYXKEYS . COLLECTION . POLICY ,
0 commit comments