l-min-components 1.8.481 → 1.8.482
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/chunks/{useCustomNavigate-f637da71.js → useCustomNavigate-a832308c.js} +2 -2
- package/dist/chunks/useCustomNavigate-a832308c.js.map +1 -0
- package/dist/components.js +1 -1
- package/dist/hooks.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/hooks/useTranslation.jsx +5 -3
- package/dist/chunks/useCustomNavigate-f637da71.js.map +0 -1
package/dist/components.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AIAnalysis as s, AdminAppMainLayout as d, AdminChangePassword as p, AdminCreateRolesPermissions as u, AdminDashboard as m, AdminLogin as A, AdminNotification as c, AdminPasswordSuccess as l, AdminResetPassword as C, AdminRolesPermissions as g, AdminSecurity as P, ApiConsumption as h, ApiProgressBar as w, AppMainLayout as B, AudioWaveComponent as L, Banner as S, ButtonComponent as f, Calender as v, Checkbox as y, CheckboxGroup as x, CourseList as D, DatePickerCalender as R, DevAPIdocs as I, DeveloperBanner as M, DropDownComponent as E, EnterpriseRightBar as T, ErrorPage as b, FullPageLoader as N, GraphMap as k, Header as G, ImageComponent as F, InputComponent as H, InputEmoji as W, InstructorAccountSwitcher as j, InstructorRightBar as q, Loader as O, LoginHeader as U, MainLayout as V, MessageAddon as z, MobileLayout as J, NotificationThresholdComponent as K, OutletContext as Q, PaginationComponent as X, ProgressBar as Y, Radio as Z, RequestList as _, SearchComponent as $, SelectDropdown as oo, SelectDropdownGraph as eo, SideMenu as no, SideNav as ro, SocialBtn as to, SuccessCard as io, TextEditor as ao, TextEditorNew as so, ToggleButtonComponent as po, VideoPlayer as uo, reportComponent as mo, useAudioPlayer as Ao, useErrorFeatures as co } from "./index.js";
|
|
2
|
-
import { v as Co, f as go, t as Po, u as ho } from "./chunks/useCustomNavigate-
|
|
2
|
+
import { v as Co, f as go, t as Po, u as ho } from "./chunks/useCustomNavigate-a832308c.js";
|
|
3
3
|
import { h as Bo, u as Lo } from "./chunks/formatDuration.-ac7eeadf.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-router-dom";
|
package/dist/hooks.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as e, a as t, w as l, x as h, A as r, y as f, z as d, B as p, R as C, E as u, T as w, H as g, I as v, J as x, K as I, L as k, U as m, M, N as A, O as N } from "./chunks/useCustomNavigate-
|
|
2
|
-
import { q as B, l as _, n as q, m as U, o as b, g as O, Q as E, s as F, p as z, v as G, f as J, t as K, u as Q, P as W } from "./chunks/useCustomNavigate-
|
|
1
|
+
import { j as e, a as t, w as l, x as h, A as r, y as f, z as d, B as p, R as C, E as u, T as w, H as g, I as v, J as x, K as I, L as k, U as m, M, N as A, O as N } from "./chunks/useCustomNavigate-a832308c.js";
|
|
2
|
+
import { q as B, l as _, n as q, m as U, o as b, g as O, Q as E, s as F, p as z, v as G, f as J, t as K, u as Q, P as W } from "./chunks/useCustomNavigate-a832308c.js";
|
|
3
3
|
import "react";
|
|
4
4
|
if (typeof c > "u")
|
|
5
5
|
var c = window;
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var yc = Object.defineProperty;
|
|
2
2
|
var xc = (eA, Ue, tA) => Ue in eA ? yc(eA, Ue, { enumerable: !0, configurable: !0, writable: !0, value: tA }) : eA[Ue] = tA;
|
|
3
3
|
var fo = (eA, Ue, tA) => (xc(eA, typeof Ue != "symbol" ? Ue + "" : Ue, tA), tA);
|
|
4
|
-
import { j as jsxs, a as jsx, F as Fragment$1, G as GenIcon, u as useTranslation, b as FunIcon, C as CommunityIcon, D as DuetIcon, S as SpeechIcon, c as DictionaryIcon, d as CompuetrerIcon, e as FaArrowRight, f as useCookiePolling, g as getLeftRoutes, s as sideMenuOptions, h as FaAngleDown, i as FaPauseCircle, k as FaPlayCircle, l as adminAnalyticsItem, m as adminSupportItems, n as adminCMSItems, o as analyticsNotification, p as supportNotification, q as CMSNotification, r as FaChevronDown, t as useCustomNavigate } from "./chunks/useCustomNavigate-
|
|
5
|
-
import { v as Mc } from "./chunks/useCustomNavigate-
|
|
4
|
+
import { j as jsxs, a as jsx, F as Fragment$1, G as GenIcon, u as useTranslation, b as FunIcon, C as CommunityIcon, D as DuetIcon, S as SpeechIcon, c as DictionaryIcon, d as CompuetrerIcon, e as FaArrowRight, f as useCookiePolling, g as getLeftRoutes, s as sideMenuOptions, h as FaAngleDown, i as FaPauseCircle, k as FaPlayCircle, l as adminAnalyticsItem, m as adminSupportItems, n as adminCMSItems, o as analyticsNotification, p as supportNotification, q as CMSNotification, r as FaChevronDown, t as useCustomNavigate } from "./chunks/useCustomNavigate-a832308c.js";
|
|
5
|
+
import { v as Mc } from "./chunks/useCustomNavigate-a832308c.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import React__default, { useRef, useDebugValue, createElement as createElement$1, useContext, useEffect, useState, useCallback, useMemo, createContext as createContext$1, Component as Component$1, createRef, forwardRef, version as version$3, useImperativeHandle, useLayoutEffect as useLayoutEffect$1, useReducer, memo, Fragment as Fragment$2, Suspense, isValidElement, PureComponent } from "react";
|
|
8
8
|
import { useLocation, useNavigate, Outlet, useRouteError, NavLink, Link } from "react-router-dom";
|
package/package.json
CHANGED
|
@@ -5,9 +5,11 @@ if (!window.translationCache) {
|
|
|
5
5
|
window.translationCache = {};
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
const environment =
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const environment =
|
|
9
|
+
window.location.hostname.includes("staging") ||
|
|
10
|
+
window.location.hostname.includes("localhost")
|
|
11
|
+
? "learngual-bucket"
|
|
12
|
+
: "learngual-production";
|
|
11
13
|
const CACHE_DURATION = 60 * 60 * 1000; // 1 hour in milliseconds
|
|
12
14
|
const S3_BASE_URL = `https://${environment}.sfo3.digitaloceanspaces.com/${environment}/media/media/`;
|
|
13
15
|
|