@rainersoft/utils 1.2.0 → 1.3.0

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.
@@ -1,9 +1,2 @@
1
- import { L as Locale } from '../types-tUMATEGI.mjs';
2
-
3
- declare function formatDate(date: string | Date, format?: 'short' | 'long' | 'full', locale?: Locale): string;
4
- declare function formatDateTime(date: string | Date, locale?: Locale): string;
5
- declare function formatRelativeDate(date: string | Date, locale?: Locale): string;
6
- declare function toISOString(date: Date): string;
7
- declare function isValidDate(date: unknown): date is Date;
8
-
9
- export { formatDate, formatDateTime, formatRelativeDate, isValidDate, toISOString };
1
+ import '../types-tUMATEGI.mjs';
2
+ export { f as formatDate, a as formatDateTime, b as formatRelativeDate, i as isValidDate, t as toISOString } from '../index-BPYjFrM1.mjs';
@@ -1,9 +1,2 @@
1
- import { L as Locale } from '../types-tUMATEGI.js';
2
-
3
- declare function formatDate(date: string | Date, format?: 'short' | 'long' | 'full', locale?: Locale): string;
4
- declare function formatDateTime(date: string | Date, locale?: Locale): string;
5
- declare function formatRelativeDate(date: string | Date, locale?: Locale): string;
6
- declare function toISOString(date: Date): string;
7
- declare function isValidDate(date: unknown): date is Date;
8
-
9
- export { formatDate, formatDateTime, formatRelativeDate, isValidDate, toISOString };
1
+ import '../types-tUMATEGI.js';
2
+ export { f as formatDate, a as formatDateTime, b as formatRelativeDate, i as isValidDate, t as toISOString } from '../index-BA11MtKk.js';
@@ -0,0 +1,18 @@
1
+ import { L as Locale } from './types-tUMATEGI.js';
2
+
3
+ declare function formatDate(date: string | Date, format?: 'short' | 'long' | 'full', locale?: Locale): string;
4
+ declare function formatDateTime(date: string | Date, locale?: Locale): string;
5
+ declare function formatRelativeDate(date: string | Date, locale?: Locale): string;
6
+ declare function toISOString(date: Date): string;
7
+ declare function isValidDate(date: unknown): date is Date;
8
+
9
+ declare const dateModule_formatDate: typeof formatDate;
10
+ declare const dateModule_formatDateTime: typeof formatDateTime;
11
+ declare const dateModule_formatRelativeDate: typeof formatRelativeDate;
12
+ declare const dateModule_isValidDate: typeof isValidDate;
13
+ declare const dateModule_toISOString: typeof toISOString;
14
+ declare namespace dateModule {
15
+ export { dateModule_formatDate as formatDate, dateModule_formatDateTime as formatDateTime, dateModule_formatRelativeDate as formatRelativeDate, dateModule_isValidDate as isValidDate, dateModule_toISOString as toISOString };
16
+ }
17
+
18
+ export { formatDateTime as a, formatRelativeDate as b, dateModule as d, formatDate as f, isValidDate as i, toISOString as t };
@@ -0,0 +1,18 @@
1
+ import { L as Locale } from './types-tUMATEGI.mjs';
2
+
3
+ declare function formatDate(date: string | Date, format?: 'short' | 'long' | 'full', locale?: Locale): string;
4
+ declare function formatDateTime(date: string | Date, locale?: Locale): string;
5
+ declare function formatRelativeDate(date: string | Date, locale?: Locale): string;
6
+ declare function toISOString(date: Date): string;
7
+ declare function isValidDate(date: unknown): date is Date;
8
+
9
+ declare const dateModule_formatDate: typeof formatDate;
10
+ declare const dateModule_formatDateTime: typeof formatDateTime;
11
+ declare const dateModule_formatRelativeDate: typeof formatRelativeDate;
12
+ declare const dateModule_isValidDate: typeof isValidDate;
13
+ declare const dateModule_toISOString: typeof toISOString;
14
+ declare namespace dateModule {
15
+ export { dateModule_formatDate as formatDate, dateModule_formatDateTime as formatDateTime, dateModule_formatRelativeDate as formatRelativeDate, dateModule_isValidDate as isValidDate, dateModule_toISOString as toISOString };
16
+ }
17
+
18
+ export { formatDateTime as a, formatRelativeDate as b, dateModule as d, formatDate as f, isValidDate as i, toISOString as t };
@@ -0,0 +1,18 @@
1
+ import { L as Locale } from './types-tUMATEGI.js';
2
+
3
+ type GenericStatus = 'DRAFT' | 'PENDING' | 'PUBLISHED' | 'ACTIVE' | 'INACTIVE' | 'ARCHIVED' | 'DELETED' | 'SCHEDULED' | 'COMPLETED' | 'CANCELLED' | 'APPROVED' | 'REJECTED';
4
+ declare function translateStatus(status: string, locale?: Locale): string;
5
+ declare function getStatusColor(status: string): string;
6
+ declare function getStatusVariant(status: string): 'default' | 'secondary' | 'destructive' | 'outline';
7
+ declare function translatePostStatus(status: string, locale?: Locale): string;
8
+
9
+ type statusModule_GenericStatus = GenericStatus;
10
+ declare const statusModule_getStatusColor: typeof getStatusColor;
11
+ declare const statusModule_getStatusVariant: typeof getStatusVariant;
12
+ declare const statusModule_translatePostStatus: typeof translatePostStatus;
13
+ declare const statusModule_translateStatus: typeof translateStatus;
14
+ declare namespace statusModule {
15
+ export { type statusModule_GenericStatus as GenericStatus, statusModule_getStatusColor as getStatusColor, statusModule_getStatusVariant as getStatusVariant, statusModule_translatePostStatus as translatePostStatus, statusModule_translateStatus as translateStatus };
16
+ }
17
+
18
+ export { type GenericStatus as G, getStatusVariant as a, translatePostStatus as b, getStatusColor as g, statusModule as s, translateStatus as t };
@@ -0,0 +1,18 @@
1
+ import { L as Locale } from './types-tUMATEGI.mjs';
2
+
3
+ type GenericStatus = 'DRAFT' | 'PENDING' | 'PUBLISHED' | 'ACTIVE' | 'INACTIVE' | 'ARCHIVED' | 'DELETED' | 'SCHEDULED' | 'COMPLETED' | 'CANCELLED' | 'APPROVED' | 'REJECTED';
4
+ declare function translateStatus(status: string, locale?: Locale): string;
5
+ declare function getStatusColor(status: string): string;
6
+ declare function getStatusVariant(status: string): 'default' | 'secondary' | 'destructive' | 'outline';
7
+ declare function translatePostStatus(status: string, locale?: Locale): string;
8
+
9
+ type statusModule_GenericStatus = GenericStatus;
10
+ declare const statusModule_getStatusColor: typeof getStatusColor;
11
+ declare const statusModule_getStatusVariant: typeof getStatusVariant;
12
+ declare const statusModule_translatePostStatus: typeof translatePostStatus;
13
+ declare const statusModule_translateStatus: typeof translateStatus;
14
+ declare namespace statusModule {
15
+ export { type statusModule_GenericStatus as GenericStatus, statusModule_getStatusColor as getStatusColor, statusModule_getStatusVariant as getStatusVariant, statusModule_translatePostStatus as translatePostStatus, statusModule_translateStatus as translateStatus };
16
+ }
17
+
18
+ export { type GenericStatus as G, getStatusVariant as a, translatePostStatus as b, getStatusColor as g, statusModule as s, translateStatus as t };
package/dist/index.d.mts CHANGED
@@ -1,9 +1,11 @@
1
1
  import { L as Locale } from './types-tUMATEGI.mjs';
2
2
  export { C as CURRENCY_MAP, D as DEFAULT_LOCALE, a as LocaleConfig } from './types-tUMATEGI.mjs';
3
3
  export { textToSlug } from './string/index.mjs';
4
- export { formatDate, formatDateTime, formatRelativeDate, isValidDate, toISOString } from './date/index.mjs';
4
+ import { d as dateModule } from './index-BPYjFrM1.mjs';
5
+ export { f as formatDate, a as formatDateTime, b as formatRelativeDate, i as isValidDate, t as toISOString } from './index-BPYjFrM1.mjs';
5
6
  export { formatCurrency } from './number/index.mjs';
6
- export { GenericStatus, getStatusColor, getStatusVariant, translatePostStatus, translateStatus } from './status/index.mjs';
7
+ import { s as statusModule } from './index-BuqX8-qm.mjs';
8
+ export { G as GenericStatus, g as getStatusColor, a as getStatusVariant, b as translatePostStatus, t as translateStatus } from './index-BuqX8-qm.mjs';
7
9
 
8
10
  declare function extractInitials(name: string | null | undefined, maxChars?: number): string;
9
11
  declare function generateAvatarUrl(name: string, size?: number, backgroundColor?: string, textColor?: string): string;
@@ -24,6 +26,23 @@ declare function normalizeSpaces(text: string, options?: {
24
26
  }): string;
25
27
  declare function calculateReadingTime(content: string | Record<string, any>, wordsPerMinute?: number): number;
26
28
 
29
+ declare const textModule_calculateReadingTime: typeof calculateReadingTime;
30
+ declare const textModule_capitalize: typeof capitalize;
31
+ declare const textModule_cleanText: typeof cleanText;
32
+ declare const textModule_countWords: typeof countWords;
33
+ declare const textModule_extractInitials: typeof extractInitials;
34
+ declare const textModule_generateAvatarUrl: typeof generateAvatarUrl;
35
+ declare const textModule_generateDynamicAvatarUrl: typeof generateDynamicAvatarUrl;
36
+ declare const textModule_generateUniqueId: typeof generateUniqueId;
37
+ declare const textModule_getAvatarColorFromName: typeof getAvatarColorFromName;
38
+ declare const textModule_isEmpty: typeof isEmpty;
39
+ declare const textModule_isValidAvatarUrl: typeof isValidAvatarUrl;
40
+ declare const textModule_normalizeSpaces: typeof normalizeSpaces;
41
+ declare const textModule_truncateText: typeof truncateText;
42
+ declare namespace textModule {
43
+ export { textModule_calculateReadingTime as calculateReadingTime, textModule_capitalize as capitalize, textModule_cleanText as cleanText, textModule_countWords as countWords, textModule_extractInitials as extractInitials, textModule_generateAvatarUrl as generateAvatarUrl, textModule_generateDynamicAvatarUrl as generateDynamicAvatarUrl, textModule_generateUniqueId as generateUniqueId, textModule_getAvatarColorFromName as getAvatarColorFromName, textModule_isEmpty as isEmpty, textModule_isValidAvatarUrl as isValidAvatarUrl, textModule_normalizeSpaces as normalizeSpaces, textModule_truncateText as truncateText };
44
+ }
45
+
27
46
  interface ValidationResult {
28
47
  isValid: boolean;
29
48
  errors?: string[];
@@ -110,6 +129,18 @@ declare const setTokens: ({ accessToken, refreshToken, }: {
110
129
  refreshToken: string;
111
130
  }) => void;
112
131
 
132
+ declare const authModule_getRefreshToken: typeof getRefreshToken;
133
+ declare const authModule_getToken: typeof getToken;
134
+ declare const authModule_getTokens: typeof getTokens;
135
+ declare const authModule_hasToken: typeof hasToken;
136
+ declare const authModule_removeToken: typeof removeToken;
137
+ declare const authModule_setRefreshToken: typeof setRefreshToken;
138
+ declare const authModule_setToken: typeof setToken;
139
+ declare const authModule_setTokens: typeof setTokens;
140
+ declare namespace authModule {
141
+ export { authModule_getRefreshToken as getRefreshToken, authModule_getToken as getToken, authModule_getTokens as getTokens, authModule_hasToken as hasToken, authModule_removeToken as removeToken, authModule_setRefreshToken as setRefreshToken, authModule_setToken as setToken, authModule_setTokens as setTokens };
142
+ }
143
+
113
144
  interface SearchOptions {
114
145
  fields?: string[];
115
146
  caseSensitive?: boolean;
@@ -186,4 +217,9 @@ declare namespace ptBr {
186
217
  export { ptBr_formatCompact as formatCompact, ptBr_formatCurrency as formatCurrency, ptBr_formatDate as formatDate, ptBr_formatDateTime as formatDateTime, ptBr_formatNumber as formatNumber, ptBr_formatRelativeDate as formatRelativeDate, ptBr_translateStatus as translateStatus };
187
218
  }
188
219
 
189
- export { Locale, type SearchOptions, type ValidationResult, calculateChange, calculateMovingAverage, calculateReadingTime, capitalize, cleanText, copyToClipboard, countWords, downloadFile, extractInitials, findMinMax, formatNumber$1 as formatNumber, formatPercentage, fuzzySearch, generateAvatarUrl, generateDynamicAvatarUrl, generateMockChartData, generateUniqueId, getAvatarColorFromName, getElementPosition, getRefreshToken, getToken, getTokens, groupDataByPeriod, hasToken, isDarkMode, isElementVisible, isEmpty, isMobile, isValidAvatarUrl, normalizeSpaces, onDarkModeChange, onReducedMotionChange, prefersReducedMotion, ptBr as ptBR, removeToken, scrollToElement, scrollToPosition, scrollToTop, searchContent, searchWithScore, setRefreshToken, setToken, setTokens, smoothScrollTo, truncateText, usePasswordStrength, validateEmail, validateMessage, validatePassword, validatePhone, validateSlug, validateText, validateUrl, validateUsername };
220
+ declare const textProcessing: typeof textModule;
221
+ declare const datetime: typeof dateModule;
222
+ declare const authentication: typeof authModule;
223
+ declare const stateManagement: typeof statusModule;
224
+
225
+ export { Locale, type SearchOptions, type ValidationResult, authentication, calculateChange, calculateMovingAverage, calculateReadingTime, capitalize, cleanText, copyToClipboard, countWords, datetime, downloadFile, extractInitials, findMinMax, formatNumber$1 as formatNumber, formatPercentage, fuzzySearch, generateAvatarUrl, generateDynamicAvatarUrl, generateMockChartData, generateUniqueId, getAvatarColorFromName, getElementPosition, getRefreshToken, getToken, getTokens, groupDataByPeriod, hasToken, isDarkMode, isElementVisible, isEmpty, isMobile, isValidAvatarUrl, normalizeSpaces, onDarkModeChange, onReducedMotionChange, prefersReducedMotion, ptBr as ptBR, removeToken, scrollToElement, scrollToPosition, scrollToTop, searchContent, searchWithScore, setRefreshToken, setToken, setTokens, smoothScrollTo, stateManagement, textProcessing, truncateText, usePasswordStrength, validateEmail, validateMessage, validatePassword, validatePhone, validateSlug, validateText, validateUrl, validateUsername };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  import { L as Locale } from './types-tUMATEGI.js';
2
2
  export { C as CURRENCY_MAP, D as DEFAULT_LOCALE, a as LocaleConfig } from './types-tUMATEGI.js';
3
3
  export { textToSlug } from './string/index.js';
4
- export { formatDate, formatDateTime, formatRelativeDate, isValidDate, toISOString } from './date/index.js';
4
+ import { d as dateModule } from './index-BA11MtKk.js';
5
+ export { f as formatDate, a as formatDateTime, b as formatRelativeDate, i as isValidDate, t as toISOString } from './index-BA11MtKk.js';
5
6
  export { formatCurrency } from './number/index.js';
6
- export { GenericStatus, getStatusColor, getStatusVariant, translatePostStatus, translateStatus } from './status/index.js';
7
+ import { s as statusModule } from './index-BfZE8XjJ.js';
8
+ export { G as GenericStatus, g as getStatusColor, a as getStatusVariant, b as translatePostStatus, t as translateStatus } from './index-BfZE8XjJ.js';
7
9
 
8
10
  declare function extractInitials(name: string | null | undefined, maxChars?: number): string;
9
11
  declare function generateAvatarUrl(name: string, size?: number, backgroundColor?: string, textColor?: string): string;
@@ -24,6 +26,23 @@ declare function normalizeSpaces(text: string, options?: {
24
26
  }): string;
25
27
  declare function calculateReadingTime(content: string | Record<string, any>, wordsPerMinute?: number): number;
26
28
 
29
+ declare const textModule_calculateReadingTime: typeof calculateReadingTime;
30
+ declare const textModule_capitalize: typeof capitalize;
31
+ declare const textModule_cleanText: typeof cleanText;
32
+ declare const textModule_countWords: typeof countWords;
33
+ declare const textModule_extractInitials: typeof extractInitials;
34
+ declare const textModule_generateAvatarUrl: typeof generateAvatarUrl;
35
+ declare const textModule_generateDynamicAvatarUrl: typeof generateDynamicAvatarUrl;
36
+ declare const textModule_generateUniqueId: typeof generateUniqueId;
37
+ declare const textModule_getAvatarColorFromName: typeof getAvatarColorFromName;
38
+ declare const textModule_isEmpty: typeof isEmpty;
39
+ declare const textModule_isValidAvatarUrl: typeof isValidAvatarUrl;
40
+ declare const textModule_normalizeSpaces: typeof normalizeSpaces;
41
+ declare const textModule_truncateText: typeof truncateText;
42
+ declare namespace textModule {
43
+ export { textModule_calculateReadingTime as calculateReadingTime, textModule_capitalize as capitalize, textModule_cleanText as cleanText, textModule_countWords as countWords, textModule_extractInitials as extractInitials, textModule_generateAvatarUrl as generateAvatarUrl, textModule_generateDynamicAvatarUrl as generateDynamicAvatarUrl, textModule_generateUniqueId as generateUniqueId, textModule_getAvatarColorFromName as getAvatarColorFromName, textModule_isEmpty as isEmpty, textModule_isValidAvatarUrl as isValidAvatarUrl, textModule_normalizeSpaces as normalizeSpaces, textModule_truncateText as truncateText };
44
+ }
45
+
27
46
  interface ValidationResult {
28
47
  isValid: boolean;
29
48
  errors?: string[];
@@ -110,6 +129,18 @@ declare const setTokens: ({ accessToken, refreshToken, }: {
110
129
  refreshToken: string;
111
130
  }) => void;
112
131
 
132
+ declare const authModule_getRefreshToken: typeof getRefreshToken;
133
+ declare const authModule_getToken: typeof getToken;
134
+ declare const authModule_getTokens: typeof getTokens;
135
+ declare const authModule_hasToken: typeof hasToken;
136
+ declare const authModule_removeToken: typeof removeToken;
137
+ declare const authModule_setRefreshToken: typeof setRefreshToken;
138
+ declare const authModule_setToken: typeof setToken;
139
+ declare const authModule_setTokens: typeof setTokens;
140
+ declare namespace authModule {
141
+ export { authModule_getRefreshToken as getRefreshToken, authModule_getToken as getToken, authModule_getTokens as getTokens, authModule_hasToken as hasToken, authModule_removeToken as removeToken, authModule_setRefreshToken as setRefreshToken, authModule_setToken as setToken, authModule_setTokens as setTokens };
142
+ }
143
+
113
144
  interface SearchOptions {
114
145
  fields?: string[];
115
146
  caseSensitive?: boolean;
@@ -186,4 +217,9 @@ declare namespace ptBr {
186
217
  export { ptBr_formatCompact as formatCompact, ptBr_formatCurrency as formatCurrency, ptBr_formatDate as formatDate, ptBr_formatDateTime as formatDateTime, ptBr_formatNumber as formatNumber, ptBr_formatRelativeDate as formatRelativeDate, ptBr_translateStatus as translateStatus };
187
218
  }
188
219
 
189
- export { Locale, type SearchOptions, type ValidationResult, calculateChange, calculateMovingAverage, calculateReadingTime, capitalize, cleanText, copyToClipboard, countWords, downloadFile, extractInitials, findMinMax, formatNumber$1 as formatNumber, formatPercentage, fuzzySearch, generateAvatarUrl, generateDynamicAvatarUrl, generateMockChartData, generateUniqueId, getAvatarColorFromName, getElementPosition, getRefreshToken, getToken, getTokens, groupDataByPeriod, hasToken, isDarkMode, isElementVisible, isEmpty, isMobile, isValidAvatarUrl, normalizeSpaces, onDarkModeChange, onReducedMotionChange, prefersReducedMotion, ptBr as ptBR, removeToken, scrollToElement, scrollToPosition, scrollToTop, searchContent, searchWithScore, setRefreshToken, setToken, setTokens, smoothScrollTo, truncateText, usePasswordStrength, validateEmail, validateMessage, validatePassword, validatePhone, validateSlug, validateText, validateUrl, validateUsername };
220
+ declare const textProcessing: typeof textModule;
221
+ declare const datetime: typeof dateModule;
222
+ declare const authentication: typeof authModule;
223
+ declare const stateManagement: typeof statusModule;
224
+
225
+ export { Locale, type SearchOptions, type ValidationResult, authentication, calculateChange, calculateMovingAverage, calculateReadingTime, capitalize, cleanText, copyToClipboard, countWords, datetime, downloadFile, extractInitials, findMinMax, formatNumber$1 as formatNumber, formatPercentage, fuzzySearch, generateAvatarUrl, generateDynamicAvatarUrl, generateMockChartData, generateUniqueId, getAvatarColorFromName, getElementPosition, getRefreshToken, getToken, getTokens, groupDataByPeriod, hasToken, isDarkMode, isElementVisible, isEmpty, isMobile, isValidAvatarUrl, normalizeSpaces, onDarkModeChange, onReducedMotionChange, prefersReducedMotion, ptBr as ptBR, removeToken, scrollToElement, scrollToPosition, scrollToTop, searchContent, searchWithScore, setRefreshToken, setToken, setTokens, smoothScrollTo, stateManagement, textProcessing, truncateText, usePasswordStrength, validateEmail, validateMessage, validatePassword, validatePhone, validateSlug, validateText, validateUrl, validateUsername };
package/dist/index.js CHANGED
@@ -21,6 +21,22 @@ var CURRENCY_MAP = {
21
21
  };
22
22
 
23
23
  // src/text/index.ts
24
+ var text_exports = {};
25
+ __export(text_exports, {
26
+ calculateReadingTime: () => calculateReadingTime,
27
+ capitalize: () => capitalize,
28
+ cleanText: () => cleanText,
29
+ countWords: () => countWords,
30
+ extractInitials: () => extractInitials,
31
+ generateAvatarUrl: () => generateAvatarUrl,
32
+ generateDynamicAvatarUrl: () => generateDynamicAvatarUrl,
33
+ generateUniqueId: () => generateUniqueId,
34
+ getAvatarColorFromName: () => getAvatarColorFromName,
35
+ isEmpty: () => isEmpty,
36
+ isValidAvatarUrl: () => isValidAvatarUrl,
37
+ normalizeSpaces: () => normalizeSpaces,
38
+ truncateText: () => truncateText
39
+ });
24
40
  function extractInitials(name, maxChars = 2) {
25
41
  if (!name || !name.trim()) {
26
42
  return "";
@@ -154,6 +170,14 @@ function textToSlug(text) {
154
170
  }
155
171
 
156
172
  // src/date/index.ts
173
+ var date_exports = {};
174
+ __export(date_exports, {
175
+ formatDate: () => formatDate,
176
+ formatDateTime: () => formatDateTime,
177
+ formatRelativeDate: () => formatRelativeDate,
178
+ isValidDate: () => isValidDate,
179
+ toISOString: () => toISOString
180
+ });
157
181
  var RELATIVE_TEXTS = {
158
182
  "pt-BR": {
159
183
  now: "agora",
@@ -271,6 +295,13 @@ function formatCompact(value, decimals = 1, locale = DEFAULT_LOCALE) {
271
295
  }
272
296
 
273
297
  // src/status/index.ts
298
+ var status_exports = {};
299
+ __export(status_exports, {
300
+ getStatusColor: () => getStatusColor,
301
+ getStatusVariant: () => getStatusVariant,
302
+ translatePostStatus: () => translatePostStatus,
303
+ translateStatus: () => translateStatus
304
+ });
274
305
  var STATUS_TRANSLATIONS = {
275
306
  "pt-BR": {
276
307
  // Estados de conteúdo
@@ -869,6 +900,17 @@ function findMinMax(data, field) {
869
900
  }
870
901
 
871
902
  // src/auth/index.ts
903
+ var auth_exports = {};
904
+ __export(auth_exports, {
905
+ getRefreshToken: () => getRefreshToken,
906
+ getToken: () => getToken,
907
+ getTokens: () => getTokens,
908
+ hasToken: () => hasToken,
909
+ removeToken: () => removeToken,
910
+ setRefreshToken: () => setRefreshToken,
911
+ setToken: () => setToken,
912
+ setTokens: () => setTokens
913
+ });
872
914
  var TOKEN_KEY = "auth_token";
873
915
  var REFRESH_TOKEN_KEY = "refresh_token";
874
916
  var getToken = () => {
@@ -1223,8 +1265,15 @@ function translateStatus2(status) {
1223
1265
  return translateStatus(status, "pt-BR");
1224
1266
  }
1225
1267
 
1268
+ // src/index.ts
1269
+ var textProcessing = text_exports;
1270
+ var datetime = date_exports;
1271
+ var authentication = auth_exports;
1272
+ var stateManagement = status_exports;
1273
+
1226
1274
  exports.CURRENCY_MAP = CURRENCY_MAP;
1227
1275
  exports.DEFAULT_LOCALE = DEFAULT_LOCALE;
1276
+ exports.authentication = authentication;
1228
1277
  exports.calculateChange = calculateChange;
1229
1278
  exports.calculateMovingAverage = calculateMovingAverage;
1230
1279
  exports.calculateReadingTime = calculateReadingTime;
@@ -1232,6 +1281,7 @@ exports.capitalize = capitalize;
1232
1281
  exports.cleanText = cleanText;
1233
1282
  exports.copyToClipboard = copyToClipboard;
1234
1283
  exports.countWords = countWords;
1284
+ exports.datetime = datetime;
1235
1285
  exports.downloadFile = downloadFile;
1236
1286
  exports.extractInitials = extractInitials;
1237
1287
  exports.findMinMax = findMinMax;
@@ -1276,6 +1326,8 @@ exports.setRefreshToken = setRefreshToken;
1276
1326
  exports.setToken = setToken;
1277
1327
  exports.setTokens = setTokens;
1278
1328
  exports.smoothScrollTo = smoothScrollTo;
1329
+ exports.stateManagement = stateManagement;
1330
+ exports.textProcessing = textProcessing;
1279
1331
  exports.textToSlug = textToSlug;
1280
1332
  exports.toISOString = toISOString;
1281
1333
  exports.translatePostStatus = translatePostStatus;