acsi-core 0.1.55 → 0.1.57
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.css +1 -8
- package/dist/index.d.ts +2 -2
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +11 -11
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -463,11 +463,4 @@
|
|
|
463
463
|
line-height: 24.55px; }
|
|
464
464
|
|
|
465
465
|
._1Bmhs {
|
|
466
|
-
cursor: pointer;
|
|
467
|
-
width: -moz-fit-content;
|
|
468
|
-
width: fit-content;
|
|
469
|
-
max-width: 100%; }
|
|
470
|
-
._1Bmhs ._CaA-9 {
|
|
471
|
-
width: -moz-fit-content;
|
|
472
|
-
width: fit-content;
|
|
473
|
-
max-width: 100%; }
|
|
466
|
+
cursor: pointer; }
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ import { ToastContainer, toast } from "react-toastify";
|
|
|
15
15
|
import { Role } from "./containers/Login/configs/constants";
|
|
16
16
|
import CustomPagination from "./components/Paginations/CustomPagination";
|
|
17
17
|
import useGoogleSignOut from "./utils/hooks/useGoogleSignOut";
|
|
18
|
-
import utcToLocalTime from "./utils/utcToLocalTime";
|
|
19
18
|
import { CoreButton, CoreInput, CoreSelect, CoreCheckbox, CoreRadio, CoreError, CoreModal, CoreRange, CoreTextArea, CoreSearch, CoreSelectCompact, CoreInputCompact, CoreTitleInput, CoreTooltip } from "./components";
|
|
20
19
|
import { getErrorMessage } from "./utils/getErrorMessage";
|
|
21
20
|
import { GoogleOAuthProvider } from '@react-oauth/google';
|
|
@@ -23,5 +22,6 @@ import CustomSelect from "./components/Selects/CustomSelect";
|
|
|
23
22
|
import CustomAsyncSelect from "./components/Selects/CustomAsyncSelect";
|
|
24
23
|
import CustomCreatable from "./components/Selects/CustomCreatable";
|
|
25
24
|
import CustomSelectOption from "./components/Selects/CustomSelectOption";
|
|
25
|
+
import utcToLocalTime from "./utils/utcToLocalTime";
|
|
26
26
|
import Cookies from "js-cookie";
|
|
27
|
-
export { setLoading, setLoadingPage, BASE_URL, OPENSALT_BASE_URL, ACCESS_TOKEN, DATE_TIME_MIN_VALUE, ORGANIZATION_TEAM, ORGANIZATION_TENANT, firstCheckToken, 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, CustomSelect, CustomAsyncSelect, CustomCreatable, CustomSelectOption, GoogleOAuthProvider
|
|
27
|
+
export { setLoading, setLoadingPage, BASE_URL, OPENSALT_BASE_URL, ACCESS_TOKEN, DATE_TIME_MIN_VALUE, ORGANIZATION_TEAM, ORGANIZATION_TENANT, firstCheckToken, 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, CustomSelect, CustomAsyncSelect, CustomCreatable, CustomSelectOption, GoogleOAuthProvider };
|
package/dist/index.js
CHANGED
|
@@ -1217,15 +1217,6 @@ var CustomPagination = function CustomPagination(_ref) {
|
|
|
1217
1217
|
})));
|
|
1218
1218
|
};
|
|
1219
1219
|
|
|
1220
|
-
var utcToLocalTime = (function (time, FORMAT) {
|
|
1221
|
-
if (time === DATE_MIN_VALUE || time == null) return "";
|
|
1222
|
-
try {
|
|
1223
|
-
return moment.utc(time).local().format(FORMAT || "yyyy-MM-DD");
|
|
1224
|
-
} catch (_unused) {
|
|
1225
|
-
return "";
|
|
1226
|
-
}
|
|
1227
|
-
});
|
|
1228
|
-
|
|
1229
1220
|
function _extends() {
|
|
1230
1221
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
1231
1222
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -2146,7 +2137,7 @@ var CoreTitleInput = function CoreTitleInput(props) {
|
|
|
2146
2137
|
}));
|
|
2147
2138
|
};
|
|
2148
2139
|
|
|
2149
|
-
var styles$d = {"core-tooltip":"_1Bmhs"
|
|
2140
|
+
var styles$d = {"core-tooltip":"_1Bmhs"};
|
|
2150
2141
|
|
|
2151
2142
|
var CoreTooltip = function CoreTooltip(props) {
|
|
2152
2143
|
var id = props.id,
|
|
@@ -2183,7 +2174,7 @@ var CoreTooltip = function CoreTooltip(props) {
|
|
|
2183
2174
|
onMouseEnter: handleMouseEnter,
|
|
2184
2175
|
onMouseLeave: handleMouseLeave
|
|
2185
2176
|
}, React__default.createElement("div", {
|
|
2186
|
-
className: styles$d["
|
|
2177
|
+
className: styles$d["icon"]
|
|
2187
2178
|
}, children), content && React__default.createElement(reactstrap.Tooltip, {
|
|
2188
2179
|
target: id,
|
|
2189
2180
|
isOpen: isOpenTooltip,
|
|
@@ -2392,6 +2383,15 @@ var CustomSelectOption = function CustomSelectOption(_ref) {
|
|
|
2392
2383
|
}, rest));
|
|
2393
2384
|
};
|
|
2394
2385
|
|
|
2386
|
+
var utcToLocalTime = (function (time, FORMAT) {
|
|
2387
|
+
if (time === DATE_MIN_VALUE || time == null) return "";
|
|
2388
|
+
try {
|
|
2389
|
+
return moment.utc(time).local().format(FORMAT || "yyyy-MM-DD");
|
|
2390
|
+
} catch (_unused) {
|
|
2391
|
+
return "";
|
|
2392
|
+
}
|
|
2393
|
+
});
|
|
2394
|
+
|
|
2395
2395
|
var historyCore = history.createBrowserHistory();
|
|
2396
2396
|
|
|
2397
2397
|
Object.defineProperty(exports, 'GoogleOAuthProvider', {
|