acsi-core 1.2.5 → 1.2.6
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/index.modern.js
CHANGED
|
@@ -27,6 +27,7 @@ import { Identify, identify, track, setUserId, reset as reset$1, init } from '@a
|
|
|
27
27
|
import { init as init$1, replayIntegration } from '@sentry/react';
|
|
28
28
|
import { FaCaretDown } from 'react-icons/fa';
|
|
29
29
|
import CreatableSelect from 'react-select/creatable';
|
|
30
|
+
import moment$1 from 'moment-timezone';
|
|
30
31
|
|
|
31
32
|
var setLoading = createAction("common/setLoading");
|
|
32
33
|
var setLoadingPage = createAction("common/setLoadingPage");
|
|
@@ -3472,6 +3473,10 @@ var utcToLocalTime = (function (time, FORMAT) {
|
|
|
3472
3473
|
}
|
|
3473
3474
|
});
|
|
3474
3475
|
|
|
3476
|
+
var getTimeZoneId = (function () {
|
|
3477
|
+
return moment$1.tz.guess();
|
|
3478
|
+
});
|
|
3479
|
+
|
|
3475
3480
|
var timeSpanToLocalMoment = (function (time) {
|
|
3476
3481
|
if (!time) return null;
|
|
3477
3482
|
var times = time.split(":");
|
|
@@ -3484,5 +3489,5 @@ var timeSpanToLocalMoment = (function (time) {
|
|
|
3484
3489
|
|
|
3485
3490
|
var historyCore = createBrowserHistory();
|
|
3486
3491
|
|
|
3487
|
-
export { ACCESS_TOKEN, AmplitudeEvent, BASE_URL, CommonDialog, ConfirmDialog, CoreButton, CoreInput$1 as CoreCheckbox, CoreError, CoreInput, CoreInputCompact, CoreModal, CoreRadio, CoreRange, CoreSearch, CoreSelect, CoreSelectCompact, CoreTextArea, CoreTitleInput, CoreTooltip, CustomAsyncSelect, CustomCreatable, CustomPagination, CustomSelect, CustomSelectOption, DATE_TIME_MIN_VALUE, LayoutContext, Loading, Login, MarkdownRenderer as MarkdownLatexRender, NotFound, OPENSALT_BASE_URL, ORGANIZATION_TEAM, ORGANIZATION_TENANT, Role, api, apiUpload, firstCheckToken, getAccessToken, getErrorMessage, getImageUrl, historyCore, initSentry, initializeAmplitude, setAddTenant, setAlert, setIsFirstCalendar, setIsRefetchSidebar, setLoading, setLoadingPage, setMenuCollapse, setTeam, setTenant, setUser, store, timeSpanToLocalMoment, useAmplitude, useGoogleSignOut, utcToLocalTime };
|
|
3492
|
+
export { ACCESS_TOKEN, AmplitudeEvent, BASE_URL, CommonDialog, ConfirmDialog, CoreButton, CoreInput$1 as CoreCheckbox, CoreError, CoreInput, CoreInputCompact, CoreModal, CoreRadio, CoreRange, CoreSearch, CoreSelect, CoreSelectCompact, CoreTextArea, CoreTitleInput, CoreTooltip, CustomAsyncSelect, CustomCreatable, CustomPagination, CustomSelect, CustomSelectOption, DATE_TIME_MIN_VALUE, LayoutContext, Loading, Login, MarkdownRenderer as MarkdownLatexRender, NotFound, OPENSALT_BASE_URL, ORGANIZATION_TEAM, ORGANIZATION_TENANT, Role, api, apiUpload, firstCheckToken, getAccessToken, getErrorMessage, getImageUrl, getTimeZoneId, historyCore, initSentry, initializeAmplitude, setAddTenant, setAlert, setIsFirstCalendar, setIsRefetchSidebar, setLoading, setLoadingPage, setMenuCollapse, setTeam, setTenant, setUser, store, timeSpanToLocalMoment, useAmplitude, useGoogleSignOut, utcToLocalTime };
|
|
3488
3493
|
//# sourceMappingURL=index.modern.js.map
|