acsi-core 0.9.18 → 0.9.19
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.d.ts +1 -2
- package/dist/index.js +0 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -11
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,5 @@ import CustomAsyncSelect from "./components/Selects/CustomAsyncSelect";
|
|
|
28
28
|
import CustomCreatable from "./components/Selects/CustomCreatable";
|
|
29
29
|
import CustomSelectOption from "./components/Selects/CustomSelectOption";
|
|
30
30
|
import utcToLocalTime from "./utils/utcToLocalTime";
|
|
31
|
-
import timeSpanToLocalMoment from "./utils/timeSpanToLocalMoment";
|
|
32
31
|
import Cookies from "js-cookie";
|
|
33
|
-
export { setLoading, setLoadingPage, BASE_URL, OPENSALT_BASE_URL, ACCESS_TOKEN, DATE_TIME_MIN_VALUE, ORGANIZATION_TEAM, ORGANIZATION_TENANT, firstCheckToken, getImageUrl, Login, utcToLocalTime,
|
|
32
|
+
export { setLoading, setLoadingPage, BASE_URL, OPENSALT_BASE_URL, ACCESS_TOKEN, DATE_TIME_MIN_VALUE, ORGANIZATION_TEAM, ORGANIZATION_TENANT, firstCheckToken, getImageUrl, Login, utcToLocalTime, getAccessToken, store, historyCore, setAlert, setUser, setTenant, setAddTenant, setTeam, setMenuCollapse, setIsRefetchSidebar, Loading, NotFound, LayoutContext, api, apiUpload, ConfirmDialog, CommonDialog, ToastContainer, toast, Role, Cookies, CustomPagination, useGoogleSignOut, CoreButton, CoreInput, CoreSelect, CoreCheckbox, CoreRadio, CoreError, CoreModal, CoreRange, CoreTextArea, CoreSearch, CoreSelectCompact, CoreInputCompact, CoreTitleInput, CoreTooltip, getErrorMessage, MarkdownLatexRender, CustomSelect, CustomAsyncSelect, CustomCreatable, CustomSelectOption, GoogleOAuthProvider, useAmplitude, AmplitudeEvent, initializeAmplitude, initSentry };
|
package/dist/index.js
CHANGED
|
@@ -3906,16 +3906,6 @@ var utcToLocalTime = (function (time, FORMAT) {
|
|
|
3906
3906
|
}
|
|
3907
3907
|
});
|
|
3908
3908
|
|
|
3909
|
-
var timeSpanToLocalMoment = (function (time) {
|
|
3910
|
-
if (!time) return null;
|
|
3911
|
-
var times = time.split(":");
|
|
3912
|
-
if (times.length !== 3) return null;
|
|
3913
|
-
var totalSeconds = +times[0] * 60 * 60 + +times[1] * 60 + +times[2];
|
|
3914
|
-
var startOfDay = moment.utc().startOf("day");
|
|
3915
|
-
var dateTime = startOfDay.add(totalSeconds, "seconds");
|
|
3916
|
-
return dateTime.local();
|
|
3917
|
-
});
|
|
3918
|
-
|
|
3919
3909
|
var historyCore = createBrowserHistory();
|
|
3920
3910
|
|
|
3921
3911
|
Object.defineProperty(exports, 'GoogleOAuthProvider', {
|
|
@@ -3988,7 +3978,6 @@ exports.setTeam = setTeam;
|
|
|
3988
3978
|
exports.setTenant = setTenant;
|
|
3989
3979
|
exports.setUser = setUser;
|
|
3990
3980
|
exports.store = store;
|
|
3991
|
-
exports.timeSpanToLocalMoment = timeSpanToLocalMoment;
|
|
3992
3981
|
exports.useAmplitude = useAmplitude;
|
|
3993
3982
|
exports.useGoogleSignOut = useGoogleSignOut;
|
|
3994
3983
|
exports.utcToLocalTime = utcToLocalTime;
|