@orbe-agro/client-core 5.3.58 → 5.3.60
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/@ecme/components/shared/loaders/GlobalLoading.js +8 -7
- package/dist/@ecme/components/shared/loaders/GlobalLoading.js.map +1 -1
- package/dist/@ecme/index.js +195 -200
- package/dist/@ecme/index.js.map +1 -1
- package/dist/@ecme/services/axios/AxiosBase.js +2 -1
- package/dist/@ecme/services/axios/AxiosBase.js.map +1 -1
- package/dist/@ecme/store/index.js +8 -13
- package/dist/@ecme/store/index.js.map +1 -1
- package/dist/@types/@ecme/store/index.d.ts +0 -1
- package/dist/@types/@ecme/store/index.d.ts.map +1 -1
- package/dist/@types/base/index.d.ts +1 -0
- package/dist/@types/base/index.d.ts.map +1 -1
- package/dist/@types/base/store/index.d.ts +2 -0
- package/dist/@types/base/store/index.d.ts.map +1 -0
- package/dist/@types/base/store/loadingConfigStore.d.ts.map +1 -0
- package/dist/base/configs/endpoints.config/transportadora/cartaoPortadorFrete.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/cartaoPortadorFrete.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/certificadoTransportadora.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/certificadoTransportadora.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/cest.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/cest.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/conta.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/conta.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/contratoFrete.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/contratoFrete.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/controleDescarga.js +2 -2
- package/dist/base/configs/endpoints.config/transportadora/controleDescarga.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/controleEmbarque.js +2 -2
- package/dist/base/configs/endpoints.config/transportadora/controleEmbarque.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/favorecido.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/favorecido.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/inss.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/inss.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/irpf.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/irpf.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/iss.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/iss.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/itinerario.js +2 -2
- package/dist/base/configs/endpoints.config/transportadora/itinerario.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/material.js +3 -3
- package/dist/base/configs/endpoints.config/transportadora/material.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/motorista.endpoint.config.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/motorista.endpoint.config.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/naturezaCarga.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/naturezaCarga.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/ordemCarregamento.js +2 -2
- package/dist/base/configs/endpoints.config/transportadora/ordemCarregamento.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/remetenteDestinatario.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/remetenteDestinatario.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/rota.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/rota.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/veiculo.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/veiculo.js.map +1 -1
- package/dist/base/index.js +460 -454
- package/dist/base/index.js.map +1 -1
- package/dist/base/store/index.js +8 -0
- package/dist/base/store/index.js.map +1 -0
- package/dist/base/store/loadingConfigStore.js +53 -0
- package/dist/base/store/loadingConfigStore.js.map +1 -0
- package/package.json +1 -1
- package/dist/@ecme/store/loadingConfigStore.js +0 -55
- package/dist/@ecme/store/loadingConfigStore.js.map +0 -1
- package/dist/@types/@ecme/store/loadingConfigStore.d.ts.map +0 -1
- /package/dist/@types/{@ecme → base}/store/loadingConfigStore.d.ts +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import "../../ui/index.js";
|
|
3
3
|
import "../../../store/index.js";
|
|
4
|
-
import
|
|
5
|
-
import { useThemeStore as
|
|
4
|
+
import "../../../../base/store/index.js";
|
|
5
|
+
import { useThemeStore as i } from "../../../store/themeStore.js";
|
|
6
|
+
import { useLoadingConfigStore as a, getCurrentMicrofrontendId as l } from "../../../../base/store/loadingConfigStore.js";
|
|
6
7
|
import s from "../../ui/Spinner/Spinner.js";
|
|
7
|
-
const
|
|
8
|
-
const { loading: e } =
|
|
9
|
-
const
|
|
10
|
-
return
|
|
8
|
+
const b = () => {
|
|
9
|
+
const { loading: e } = i(), o = a((t) => {
|
|
10
|
+
const n = l();
|
|
11
|
+
return t.microfrontendConfigs[n] ?? !0;
|
|
11
12
|
});
|
|
12
13
|
return !e || !o ? null : /* @__PURE__ */ r(
|
|
13
14
|
"div",
|
|
@@ -24,6 +25,6 @@ const u = () => {
|
|
|
24
25
|
);
|
|
25
26
|
};
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
b as default
|
|
28
29
|
};
|
|
29
30
|
//# sourceMappingURL=GlobalLoading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalLoading.js","sources":["../../../../../lib/@ecme/components/shared/loaders/GlobalLoading.tsx"],"sourcesContent":["import { Spinner } from \"@/components/ui\";\nimport { useThemeStore } from \"@/store\";\nimport { useLoadingConfigStore, getCurrentMicrofrontendId } from \"
|
|
1
|
+
{"version":3,"file":"GlobalLoading.js","sources":["../../../../../lib/@ecme/components/shared/loaders/GlobalLoading.tsx"],"sourcesContent":["import { Spinner } from \"@/components/ui\";\nimport { useThemeStore } from \"@/store\";\nimport { useLoadingConfigStore, getCurrentMicrofrontendId } from \"@base/store\";\n\nconst GlobalLoading = () => {\n const { loading } = useThemeStore();\n \n const globalLoadingEnabled = useLoadingConfigStore((state) => {\n const microfrontendId = getCurrentMicrofrontendId();\n return state.microfrontendConfigs[microfrontendId] ?? true;\n });\n\n if (!loading || !globalLoadingEnabled) return null;\n\n return (\n <div\n className=\"fixed inset-0 z-[9999] flex items-center justify-center bg-black bg-opacity-50\"\n style={{\n pointerEvents: \"all\",\n userSelect: \"none\",\n }}\n role=\"progressbar\"\n aria-label=\"Carregando...\"\n >\n <Spinner />\n </div>\n );\n};\n\nexport default GlobalLoading;\n"],"names":["GlobalLoading","loading","useThemeStore","globalLoadingEnabled","useLoadingConfigStore","state","microfrontendId","getCurrentMicrofrontendId","jsx","Spinner"],"mappings":";;;;;;;AAIA,MAAMA,IAAgB,MAAM;AAC1B,QAAM,EAAE,SAAAC,EAAA,IAAYC,EAAA,GAEdC,IAAuBC,EAAsB,CAACC,MAAU;AAC5D,UAAMC,IAAkBC,EAAA;AACxB,WAAOF,EAAM,qBAAqBC,CAAe,KAAK;AAAA,EACxD,CAAC;AAED,SAAI,CAACL,KAAW,CAACE,IAA6B,OAG5C,gBAAAK;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,OAAO;AAAA,QACL,eAAe;AAAA,QACf,YAAY;AAAA,MAAA;AAAA,MAEd,MAAK;AAAA,MACL,cAAW;AAAA,MAEX,4BAACC,GAAA,CAAA,CAAQ;AAAA,IAAA;AAAA,EAAA;AAGf;"}
|
package/dist/@ecme/index.js
CHANGED
|
@@ -11,12 +11,12 @@ import "./assets/index.js";
|
|
|
11
11
|
import "./locales/index.js";
|
|
12
12
|
import { default as x } from "./components/template/SideNav.js";
|
|
13
13
|
import { default as S } from "./components/template/MobileNav.js";
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
14
|
+
import { default as _ } from "./components/layouts/Layouts.js";
|
|
15
|
+
import { default as A } from "./components/shared/AbbreviateNumber.js";
|
|
16
16
|
import { default as E } from "./components/shared/ActionLink.js";
|
|
17
17
|
import { default as P } from "./components/shared/AdaptiveCard.js";
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
18
|
+
import { default as O } from "./components/shared/Affix.js";
|
|
19
|
+
import { default as g } from "./components/shared/AuthorityCheck.js";
|
|
20
20
|
import { default as L } from "./components/shared/AutoComplete.js";
|
|
21
21
|
import { default as N } from "./components/shared/CalendarView.js";
|
|
22
22
|
import { default as F } from "./components/shared/Chart.js";
|
|
@@ -38,12 +38,12 @@ import { default as le } from "./components/shared/PasswordInput.js";
|
|
|
38
38
|
import { default as ie } from "./components/shared/PatternInput.js";
|
|
39
39
|
import { default as xe } from "./components/shared/PresetSegmentItemOption.js";
|
|
40
40
|
import { default as Se } from "./components/shared/RichTextEditor/RichTextEditor.js";
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
41
|
+
import { default as _e } from "./components/shared/StickyFooter.js";
|
|
42
|
+
import { default as Ae } from "./components/shared/StrictModeDroppable.js";
|
|
43
43
|
import { default as Ee } from "./components/shared/SyntaxHighlighter.js";
|
|
44
44
|
import { default as Pe } from "./components/shared/ToggleDrawer.js";
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
45
|
+
import { default as Oe } from "./components/shared/UsersAvatarGroup.js";
|
|
46
|
+
import { default as ge } from "./components/shared/loaders/TableRowSkeleton.js";
|
|
47
47
|
import { default as Le } from "./components/shared/loaders/TextBlockSkeleton.js";
|
|
48
48
|
import { default as Ne } from "./components/ui/Alert/Alert.js";
|
|
49
49
|
import { Avatar as Fe } from "./components/ui/Avatar/index.js";
|
|
@@ -64,12 +64,12 @@ import { default as so } from "./components/ui/hooks/index.js";
|
|
|
64
64
|
import { default as lo } from "./components/ui/Input/Input.js";
|
|
65
65
|
import { InputGroup as io } from "./components/ui/InputGroup/index.js";
|
|
66
66
|
import { Menu as no } from "./components/ui/Menu/index.js";
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
67
|
+
import { default as To } from "./components/ui/MenuItem/index.js";
|
|
68
|
+
import { default as co } from "./components/ui/Notification/Notification.js";
|
|
69
|
+
import { default as Co } from "./components/ui/Pagination/Pagination.js";
|
|
70
70
|
import { default as Io } from "./components/ui/Progress/Progress.js";
|
|
71
|
-
import { Radio as
|
|
72
|
-
import { default as
|
|
71
|
+
import { Radio as Go } from "./components/ui/Radio/index.js";
|
|
72
|
+
import { default as Ro } from "./components/ui/DatePicker/RangeCalendar.js";
|
|
73
73
|
import { default as Do } from "./components/ui/ScrollBar/ScrollBar.js";
|
|
74
74
|
import { Segment as ho } from "./components/ui/Segment/index.js";
|
|
75
75
|
import { default as vo } from "./components/ui/Select/Select.js";
|
|
@@ -91,12 +91,12 @@ import { default as mt } from "./components/view/FileIcon/FileIcon.js";
|
|
|
91
91
|
import { default as ut } from "./components/view/TaskItem/TaskItem.js";
|
|
92
92
|
import { default as dt } from "./components/view/Activity/ActivityAvatar.js";
|
|
93
93
|
import { default as nt } from "./components/view/Activity/ActivityEvent.js";
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
94
|
+
import { default as Tt } from "./components/route/AllRoutes.js";
|
|
95
|
+
import { default as ct } from "./components/route/AppRoute.js";
|
|
96
|
+
import { default as Ct } from "./components/route/AuthorityGuard.js";
|
|
97
97
|
import { default as It } from "./components/route/ProtectedRoute.js";
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
98
|
+
import { default as Gt } from "./components/route/PublicRoute.js";
|
|
99
|
+
import { default as Rt } from "./components/docs/DemoBoxContent.js";
|
|
100
100
|
import { default as Dt } from "./components/docs/DemoComponentApi.js";
|
|
101
101
|
import { default as ht } from "./components/docs/DemoLayout.js";
|
|
102
102
|
import { default as vt } from "./components/docs/DemoTitleSection.js";
|
|
@@ -111,17 +111,17 @@ import { REQUEST_HEADER_AUTH_KEY as zt, TOKEN_NAME_IN_STORAGE as qt, TOKEN_TYPE
|
|
|
111
111
|
import { APP_NAME as $t, REDIRECT_URL_KEY as er } from "./constants/app.constant.js";
|
|
112
112
|
import { COLORS as tr, COLOR_1 as rr, COLOR_10 as ar, COLOR_2 as fr, COLOR_3 as pr, COLOR_4 as sr, COLOR_5 as mr, COLOR_6 as lr, COLOR_7 as ur, COLOR_8 as ir, COLOR_9 as dr } from "./constants/chart.constant.js";
|
|
113
113
|
import { countryList as nr } from "./constants/countries.constant.js";
|
|
114
|
-
import { NAV_ITEM_TYPE_COLLAPSE as
|
|
115
|
-
import { ADMIN as
|
|
116
|
-
import { AUTH_PREFIX_PATH as Pr, CONCEPTS_PREFIX_PATH as
|
|
114
|
+
import { NAV_ITEM_TYPE_COLLAPSE as Tr, NAV_ITEM_TYPE_ITEM as _r, NAV_ITEM_TYPE_TITLE as cr } from "./constants/navigation.constant.js";
|
|
115
|
+
import { ADMIN as Cr, USER as Er } from "./constants/roles.constant.js";
|
|
116
|
+
import { AUTH_PREFIX_PATH as Pr, CONCEPTS_PREFIX_PATH as Gr, DASHBOARDS_PREFIX_PATH as Or, GUIDE_PREFIX_PATH as Rr, PAGES_PREFIX_PATH as gr, ROOT as Dr, UI_COMPONENTS_PREFIX_PATH as Lr } from "./constants/route.constant.js";
|
|
117
117
|
import { DIR_LTR as Nr, DIR_RTL as vr, HEADER_HEIGHT as Fr, LAYOUT_BLANK as Mr, LAYOUT_COLLAPSIBLE_SIDE as br, LAYOUT_CONTENT_OVERLAY as Ur, LAYOUT_FRAMELESS_SIDE as yr, LAYOUT_STACKED_SIDE as Hr, LAYOUT_TOP_BAR_CLASSIC as kr, LOGO_X_GUTTER as Br, MODE_DARK as Yr, MODE_LIGHT as wr, PAGE_CONTAINER_GUTTER_X as Vr, PAGE_CONTAINER_GUTTER_Y as Kr, SIDE_NAV_COLLAPSED_WIDTH as Xr, SIDE_NAV_CONTENT_GUTTER as jr, SIDE_NAV_WIDTH as Wr, SPLITTED_SIDE_NAV_MINI_WIDTH as Qr, STACKED_SIDE_NAV_SECONDARY_WIDTH as zr, THEME_ENUM as qr } from "./constants/theme.constant.js";
|
|
118
118
|
import { default as Zr } from "./services/ApiService.js";
|
|
119
119
|
import { apiGetPricingPlans as ea, apiGetRolesPermissionsRoles as oa, apiGetRolesPermissionsUsers as ta, apiGetSettingsBilling as ra, apiGetSettingsIntergration as aa, apiGetSettingsNotification as fa, apiGetSettingsProfile as pa } from "./services/AccontsService.js";
|
|
120
120
|
import { apiGetChatHistory as ma, apiGetImages as la, apiPostChat as ua, apiPostImages as ia } from "./services/AiService.js";
|
|
121
|
-
import { apiForgotPassword as xa, apiResetPassword as na, apiSignIn as Sa, apiSignOut as
|
|
122
|
-
import { apiGetCalendar as
|
|
123
|
-
import { apiGetChats as Ea, apiGetContactDetails as Ia, apiGetContacts as Pa, apiGetConversation as
|
|
124
|
-
import { apiGetNotificationCount as
|
|
121
|
+
import { apiForgotPassword as xa, apiResetPassword as na, apiSignIn as Sa, apiSignOut as Ta, apiSignUp as _a } from "./services/AuthService.js";
|
|
122
|
+
import { apiGetCalendar as Aa } from "./services/CalendarService.js";
|
|
123
|
+
import { apiGetChats as Ea, apiGetContactDetails as Ia, apiGetContacts as Pa, apiGetConversation as Ga } from "./services/ChatService.js";
|
|
124
|
+
import { apiGetNotificationCount as Ra, apiGetNotificationList as ga, apiGetSearchResult as Da } from "./services/CommonService.js";
|
|
125
125
|
import { apiGetCustomer as ha, apiGetCustomerLog as Na, apiGetCustomersList as va } from "./services/CustomersService.js";
|
|
126
126
|
import { apiGetAnalyticDashboard as Ma, apiGetEcommerceDashboard as ba, apiGetMarketingDashboard as Ua, apiGetProjectDashboard as ya } from "./services/DashboardService.js";
|
|
127
127
|
import { apiGetFiles as ka } from "./services/FileService.js";
|
|
@@ -132,98 +132,97 @@ import { apiGithubOauthSignIn as Ja, apiGoogleOauthSignIn as Za } from "./servic
|
|
|
132
132
|
import { apiGetOrder as ef, apiGetOrderList as of } from "./services/OrderService.js";
|
|
133
133
|
import { apiGetProduct as rf, apiGetProductList as af } from "./services/ProductService.js";
|
|
134
134
|
import { apiGetProject as pf, apiGetProjectMembers as sf, apiGetProjectTask as mf, apiGetProjectTasks as lf, apiGetProjects as uf, apiGetScrumBoards as df, apiPostProject as xf } from "./services/ProjectService.js";
|
|
135
|
-
import { useSessionUser as Sf, useToken as
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import { default as
|
|
141
|
-
import { default as
|
|
142
|
-
import { default as
|
|
143
|
-
import { default as
|
|
144
|
-
import { default as
|
|
145
|
-
import { default as
|
|
146
|
-
import { default as
|
|
147
|
-
import { default as
|
|
148
|
-
import { default as
|
|
149
|
-
import { default as
|
|
150
|
-
import { default as
|
|
151
|
-
import { default as
|
|
152
|
-
import { default as
|
|
153
|
-
import { default as
|
|
154
|
-
import { default as
|
|
155
|
-
import { default as
|
|
156
|
-
import { default as
|
|
157
|
-
import { default as
|
|
158
|
-
import { default as
|
|
159
|
-
import { default as
|
|
160
|
-
import { default as
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import { default as
|
|
172
|
-
import { default as
|
|
173
|
-
import { default as
|
|
174
|
-
import { default as
|
|
175
|
-
import { default as
|
|
176
|
-
import { default as
|
|
177
|
-
import { default as
|
|
178
|
-
import { default as
|
|
179
|
-
import { default as
|
|
180
|
-
import { default as
|
|
181
|
-
import { default as
|
|
182
|
-
import { default as
|
|
183
|
-
import { default as
|
|
184
|
-
import { default as
|
|
185
|
-
import { default as
|
|
186
|
-
import { default as
|
|
187
|
-
import { default as
|
|
188
|
-
import { default as
|
|
189
|
-
import { default as
|
|
190
|
-
import { default as
|
|
191
|
-
import { default as
|
|
192
|
-
import { default as
|
|
193
|
-
import { default as
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import { dateLocales as zs } from "./locales/locales.js";
|
|
135
|
+
import { useSessionUser as Sf, useToken as Tf } from "./store/authStore.js";
|
|
136
|
+
import { useLocaleStore as cf } from "./store/localeStore.js";
|
|
137
|
+
import { useRouteKeyStore as Cf } from "./store/routeKeyStore.js";
|
|
138
|
+
import { useThemeStore as If } from "./store/themeStore.js";
|
|
139
|
+
import { default as Gf } from "./utils/classNames.js";
|
|
140
|
+
import { default as Rf } from "./utils/acronym.js";
|
|
141
|
+
import { default as Df } from "./utils/cookiesStorage.js";
|
|
142
|
+
import { default as hf } from "./utils/fileSizeUnit.js";
|
|
143
|
+
import { default as vf } from "./utils/isLastChild.js";
|
|
144
|
+
import { default as Mf } from "./utils/hoc/withHeaderItem.js";
|
|
145
|
+
import { default as Uf } from "./utils/hooks/useAuthority.js";
|
|
146
|
+
import { default as Hf } from "./utils/hooks/useDarkMode.js";
|
|
147
|
+
import { default as Bf } from "./utils/hooks/useDebounce.js";
|
|
148
|
+
import { default as wf } from "./utils/hooks/useDirection.js";
|
|
149
|
+
import { default as Kf } from "./utils/hooks/useInfiniteScroll.js";
|
|
150
|
+
import { default as jf } from "./utils/hooks/useInterval .js";
|
|
151
|
+
import { default as Qf } from "./utils/hooks/useLayout.js";
|
|
152
|
+
import { default as qf } from "./utils/hooks/useLayoutGap.js";
|
|
153
|
+
import { default as Zf } from "./utils/hooks/useLocale.js";
|
|
154
|
+
import { default as ep } from "./utils/hooks/useMenuActive.js";
|
|
155
|
+
import { default as tp } from "./utils/hooks/useQuery.js";
|
|
156
|
+
import { default as ap } from "./utils/hooks/useRandomBgColor.js";
|
|
157
|
+
import { default as pp } from "./utils/hooks/useResponsive.js";
|
|
158
|
+
import { default as mp } from "./utils/hooks/useScrollTop.js";
|
|
159
|
+
import { default as up } from "./utils/hooks/useThemeSchema.js";
|
|
160
|
+
import { default as dp } from "./utils/hooks/useTimeOutMessage.js";
|
|
161
|
+
import { useTranslation as np } from "./utils/hooks/useTranslation.js";
|
|
162
|
+
import { default as Tp } from "./views/Views.js";
|
|
163
|
+
import { authPlaceholder as cp } from "./views/auth/index.js";
|
|
164
|
+
import { authDemoPlaceholder as Cp } from "./views/auth-demo/index.js";
|
|
165
|
+
import { conceptsPlaceholder as Ip } from "./views/concepts/index.js";
|
|
166
|
+
import { dashboardsPlaceholder as Gp } from "./views/dashboards/index.js";
|
|
167
|
+
import { guidePlaceholder as Rp } from "./views/guide/index.js";
|
|
168
|
+
import { uiComponentsPlaceholder as Dp } from "./views/ui-components/index.js";
|
|
169
|
+
import { othersPlaceholder as hp } from "./views/others/index.js";
|
|
170
|
+
import { default as vp } from "./auth/useAuth.js";
|
|
171
|
+
import { default as Mp } from "./auth/AuthProvider.js";
|
|
172
|
+
import { default as Up } from "./assets/svg/BlankSvg.js";
|
|
173
|
+
import { default as Hp } from "./assets/svg/CollapsibleSideSvg.js";
|
|
174
|
+
import { default as Bp } from "./assets/svg/ContentOverlaySvg.js";
|
|
175
|
+
import { default as wp } from "./assets/svg/FileNotFound.js";
|
|
176
|
+
import { default as Kp } from "./assets/svg/FrameLessSideSvg.js";
|
|
177
|
+
import { default as jp } from "./assets/svg/NoDataFound.js";
|
|
178
|
+
import { default as Qp } from "./assets/svg/NoMedia.js";
|
|
179
|
+
import { default as qp } from "./assets/svg/NoProductFound.js";
|
|
180
|
+
import { default as Zp } from "./assets/svg/NoUserFound.js";
|
|
181
|
+
import { default as es } from "./assets/svg/SpaceSignBoard.js";
|
|
182
|
+
import { default as ts } from "./assets/svg/StackedSideSvg.js";
|
|
183
|
+
import { default as as } from "./assets/svg/StartConverstation.js";
|
|
184
|
+
import { default as ps } from "./assets/svg/TopBarClassicSvg.js";
|
|
185
|
+
import { default as ms } from "./assets/svg/UploadMedia.js";
|
|
186
|
+
import { default as us } from "./assets/svg/files/FileDoc.js";
|
|
187
|
+
import { default as ds } from "./assets/svg/files/FileFigma.js";
|
|
188
|
+
import { default as ns } from "./assets/svg/files/FileImage.js";
|
|
189
|
+
import { default as Ts } from "./assets/svg/files/FilePdf.js";
|
|
190
|
+
import { default as cs } from "./assets/svg/files/FilePpt.js";
|
|
191
|
+
import { default as Cs } from "./assets/svg/files/FileXls.js";
|
|
192
|
+
import { default as Is } from "./assets/svg/files/Folder.js";
|
|
193
|
+
import { default as Gs } from "./assets/svg/patterns/GridSvg.js";
|
|
194
|
+
import { componentStyles as Rs } from "./assets/styles/components/index.js";
|
|
195
|
+
import { docsStyles as Ds } from "./assets/styles/docs/index.js";
|
|
196
|
+
import { tailwindStyles as hs } from "./assets/styles/tailwind/index.js";
|
|
197
|
+
import { templateStyles as vs } from "./assets/styles/template/index.js";
|
|
198
|
+
import { vendorStyles as Ms } from "./assets/styles/vendors/index.js";
|
|
199
|
+
import { appCss as Us } from "./assets/styles/index.js";
|
|
200
|
+
import { sharedDocs as Hs } from "./assets/markdown/shared/index.js";
|
|
201
|
+
import { uiComponentsDocs as Bs } from "./assets/markdown/ui-components/index.js";
|
|
202
|
+
import { utilsDocs as ws } from "./assets/markdown/utils/index.js";
|
|
203
|
+
import { dateLocales as Ks } from "./locales/locales.js";
|
|
205
204
|
export {
|
|
206
|
-
|
|
205
|
+
Cr as ADMIN,
|
|
207
206
|
$t as APP_NAME,
|
|
208
207
|
Pr as AUTH_PREFIX_PATH,
|
|
209
|
-
|
|
208
|
+
A as AbbreviateNumber,
|
|
210
209
|
E as ActionLink,
|
|
211
210
|
dt as ActivityAvatar,
|
|
212
211
|
nt as ActivityEvent,
|
|
213
212
|
P as AdaptiveCard,
|
|
214
|
-
|
|
213
|
+
O as Affix,
|
|
215
214
|
Ne as Alert,
|
|
216
|
-
|
|
215
|
+
Tt as AllRoutes,
|
|
217
216
|
Zr as ApiService,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
217
|
+
ct as AppRoute,
|
|
218
|
+
Mp as AuthProvider,
|
|
219
|
+
g as AuthorityCheck,
|
|
220
|
+
Ct as AuthorityGuard,
|
|
222
221
|
L as AutoComplete,
|
|
223
222
|
Fe as Avatar,
|
|
224
223
|
be as Badge,
|
|
225
224
|
at as BaseView,
|
|
226
|
-
|
|
225
|
+
Up as BlankSvg,
|
|
227
226
|
ye as Button,
|
|
228
227
|
tr as COLORS,
|
|
229
228
|
rr as COLOR_1,
|
|
@@ -236,26 +235,26 @@ export {
|
|
|
236
235
|
ur as COLOR_7,
|
|
237
236
|
ir as COLOR_8,
|
|
238
237
|
dr as COLOR_9,
|
|
239
|
-
|
|
238
|
+
Gr as CONCEPTS_PREFIX_PATH,
|
|
240
239
|
ke as Calendar,
|
|
241
240
|
N as CalendarView,
|
|
242
241
|
Ye as Card,
|
|
243
242
|
F as Chart,
|
|
244
243
|
Ve as Checkbox,
|
|
245
|
-
|
|
244
|
+
Hp as CollapsibleSideSvg,
|
|
246
245
|
Xe as ConfigProvider,
|
|
247
246
|
b as ConfirmDialog,
|
|
248
247
|
y as Container,
|
|
249
|
-
|
|
248
|
+
Bp as ContentOverlaySvg,
|
|
250
249
|
pt as CreditCardDialog,
|
|
251
250
|
k as CustomFormatInput,
|
|
252
|
-
|
|
251
|
+
Or as DASHBOARDS_PREFIX_PATH,
|
|
253
252
|
Nr as DIR_LTR,
|
|
254
253
|
vr as DIR_RTL,
|
|
255
254
|
Y as DataTable,
|
|
256
255
|
We as DatePicker,
|
|
257
256
|
V as DebounceInput,
|
|
258
|
-
|
|
257
|
+
Rt as DemoBoxContent,
|
|
259
258
|
Dt as DemoComponentApi,
|
|
260
259
|
ht as DemoLayout,
|
|
261
260
|
vt as DemoTitleSection,
|
|
@@ -264,22 +263,22 @@ export {
|
|
|
264
263
|
X as DoubleSidedImage,
|
|
265
264
|
Je as Drawer,
|
|
266
265
|
$e as Dropdown,
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
us as FileDoc,
|
|
267
|
+
ds as FileFigma,
|
|
269
268
|
mt as FileIcon,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
269
|
+
ns as FileImage,
|
|
270
|
+
wp as FileNotFound,
|
|
271
|
+
Ts as FilePdf,
|
|
272
|
+
cs as FilePpt,
|
|
273
|
+
Cs as FileXls,
|
|
274
|
+
Is as Folder,
|
|
276
275
|
oo as Form,
|
|
277
276
|
fo as FormContainer,
|
|
278
277
|
ro as FormItem,
|
|
279
|
-
|
|
280
|
-
|
|
278
|
+
Kp as FrameLessSideSvg,
|
|
279
|
+
Rr as GUIDE_PREFIX_PATH,
|
|
281
280
|
W as GanttChart,
|
|
282
|
-
|
|
281
|
+
Gs as GridSvg,
|
|
283
282
|
z as GrowShrinkValue,
|
|
284
283
|
Fr as HEADER_HEIGHT,
|
|
285
284
|
J as IconText,
|
|
@@ -293,39 +292,39 @@ export {
|
|
|
293
292
|
Hr as LAYOUT_STACKED_SIDE,
|
|
294
293
|
kr as LAYOUT_TOP_BAR_CLASSIC,
|
|
295
294
|
Br as LOGO_X_GUTTER,
|
|
296
|
-
|
|
295
|
+
_ as Layouts,
|
|
297
296
|
Yr as MODE_DARK,
|
|
298
297
|
wr as MODE_LIGHT,
|
|
299
298
|
oe as Masonry,
|
|
300
299
|
no as Menu,
|
|
301
|
-
|
|
300
|
+
To as MenuItem,
|
|
302
301
|
S as MobileNav,
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
302
|
+
Tr as NAV_ITEM_TYPE_COLLAPSE,
|
|
303
|
+
_r as NAV_ITEM_TYPE_ITEM,
|
|
304
|
+
cr as NAV_ITEM_TYPE_TITLE,
|
|
306
305
|
re as NavToggle,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
306
|
+
jp as NoDataFound,
|
|
307
|
+
Qp as NoMedia,
|
|
308
|
+
qp as NoProductFound,
|
|
309
|
+
Zp as NoUserFound,
|
|
310
|
+
co as Notification,
|
|
312
311
|
fe as NumericInput,
|
|
313
312
|
se as OtpInput,
|
|
314
|
-
|
|
313
|
+
gr as PAGES_PREFIX_PATH,
|
|
315
314
|
Vr as PAGE_CONTAINER_GUTTER_X,
|
|
316
315
|
Kr as PAGE_CONTAINER_GUTTER_Y,
|
|
317
|
-
|
|
316
|
+
Co as Pagination,
|
|
318
317
|
le as PasswordInput,
|
|
319
318
|
ie as PatternInput,
|
|
320
319
|
xe as PresetSegmentItemOption,
|
|
321
320
|
Io as Progress,
|
|
322
321
|
It as ProtectedRoute,
|
|
323
|
-
|
|
322
|
+
Gt as PublicRoute,
|
|
324
323
|
er as REDIRECT_URL_KEY,
|
|
325
324
|
zt as REQUEST_HEADER_AUTH_KEY,
|
|
326
325
|
Dr as ROOT,
|
|
327
|
-
|
|
328
|
-
|
|
326
|
+
Go as Radio,
|
|
327
|
+
Ro as RangeCalendar,
|
|
329
328
|
Se as RichTextEditor,
|
|
330
329
|
Xr as SIDE_NAV_COLLAPSED_WIDTH,
|
|
331
330
|
jr as SIDE_NAV_CONTENT_GUTTER,
|
|
@@ -337,20 +336,20 @@ export {
|
|
|
337
336
|
vo as Select,
|
|
338
337
|
x as SideNav,
|
|
339
338
|
Mo as Skeleton,
|
|
340
|
-
|
|
339
|
+
es as SpaceSignBoard,
|
|
341
340
|
Uo as Spinner,
|
|
342
|
-
|
|
343
|
-
|
|
341
|
+
ts as StackedSideSvg,
|
|
342
|
+
as as StartConverstation,
|
|
344
343
|
Ho as Steps,
|
|
345
|
-
|
|
346
|
-
|
|
344
|
+
_e as StickyFooter,
|
|
345
|
+
Ae as StrictModeDroppable,
|
|
347
346
|
Bo as Switcher,
|
|
348
347
|
Ee as SyntaxHighlighter,
|
|
349
348
|
qr as THEME_ENUM,
|
|
350
349
|
qt as TOKEN_NAME_IN_STORAGE,
|
|
351
350
|
Jt as TOKEN_TYPE,
|
|
352
351
|
wo as Table,
|
|
353
|
-
|
|
352
|
+
ge as TableRowSkeleton,
|
|
354
353
|
Ko as Tabs,
|
|
355
354
|
jo as Tag,
|
|
356
355
|
ut as TaskItem,
|
|
@@ -359,23 +358,23 @@ export {
|
|
|
359
358
|
qo as Timeline,
|
|
360
359
|
Pe as ToggleDrawer,
|
|
361
360
|
et as Tooltip,
|
|
362
|
-
|
|
361
|
+
ps as TopBarClassicSvg,
|
|
363
362
|
Lr as UI_COMPONENTS_PREFIX_PATH,
|
|
364
363
|
Er as USER,
|
|
365
364
|
tt as Upload,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
365
|
+
ms as UploadMedia,
|
|
366
|
+
Oe as UsersAvatarGroup,
|
|
367
|
+
Tp as Views,
|
|
368
|
+
Rf as acronym,
|
|
370
369
|
xa as apiForgotPassword,
|
|
371
370
|
Ma as apiGetAnalyticDashboard,
|
|
372
371
|
Ya as apiGetArticleList,
|
|
373
|
-
|
|
372
|
+
Aa as apiGetCalendar,
|
|
374
373
|
ma as apiGetChatHistory,
|
|
375
374
|
Ea as apiGetChats,
|
|
376
375
|
Ia as apiGetContactDetails,
|
|
377
376
|
Pa as apiGetContacts,
|
|
378
|
-
|
|
377
|
+
Ga as apiGetConversation,
|
|
379
378
|
ha as apiGetCustomer,
|
|
380
379
|
Na as apiGetCustomerLog,
|
|
381
380
|
va as apiGetCustomersList,
|
|
@@ -386,8 +385,8 @@ export {
|
|
|
386
385
|
Qa as apiGetMail,
|
|
387
386
|
za as apiGetMails,
|
|
388
387
|
Ua as apiGetMarketingDashboard,
|
|
389
|
-
|
|
390
|
-
|
|
388
|
+
Ra as apiGetNotificationCount,
|
|
389
|
+
ga as apiGetNotificationList,
|
|
391
390
|
ef as apiGetOrder,
|
|
392
391
|
of as apiGetOrderList,
|
|
393
392
|
ea as apiGetPricingPlans,
|
|
@@ -417,66 +416,62 @@ export {
|
|
|
417
416
|
xf as apiPostProject,
|
|
418
417
|
na as apiResetPassword,
|
|
419
418
|
Sa as apiSignIn,
|
|
420
|
-
|
|
421
|
-
|
|
419
|
+
Ta as apiSignOut,
|
|
420
|
+
_a as apiSignUp,
|
|
422
421
|
Ut as appConfig,
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
422
|
+
Us as appCss,
|
|
423
|
+
Cp as authDemoPlaceholder,
|
|
424
|
+
cp as authPlaceholder,
|
|
426
425
|
Bt as chartConfig,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
426
|
+
Gf as classNames,
|
|
427
|
+
Rs as componentStyles,
|
|
428
|
+
Ip as conceptsPlaceholder,
|
|
429
|
+
Df as cookiesStorage,
|
|
431
430
|
nr as countryList,
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
431
|
+
Gp as dashboardsPlaceholder,
|
|
432
|
+
Ks as dateLocales,
|
|
433
|
+
Ds as docsStyles,
|
|
434
|
+
hf as fileSizeUnit,
|
|
436
435
|
wt as firebaseConfig,
|
|
437
|
-
|
|
438
|
-
Np as guidePlaceholder,
|
|
436
|
+
Rp as guidePlaceholder,
|
|
439
437
|
so as hooks,
|
|
440
|
-
|
|
438
|
+
vf as isLastChild,
|
|
441
439
|
Kt as navigationIconConfig,
|
|
442
|
-
|
|
440
|
+
hp as othersPlaceholder,
|
|
443
441
|
jt as protectedRoutes,
|
|
444
442
|
Wt as publicRoutes,
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
443
|
+
Hs as sharedDocs,
|
|
444
|
+
hs as tailwindStyles,
|
|
445
|
+
vs as templateStyles,
|
|
448
446
|
Ht as themeConfig,
|
|
449
447
|
Zo as toast,
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
ip as useResponsive,
|
|
470
|
-
Gf as useRouteKeyStore,
|
|
471
|
-
xp as useScrollTop,
|
|
448
|
+
Bs as uiComponentsDocs,
|
|
449
|
+
Dp as uiComponentsPlaceholder,
|
|
450
|
+
vp as useAuth,
|
|
451
|
+
Uf as useAuthority,
|
|
452
|
+
Hf as useDarkMode,
|
|
453
|
+
Bf as useDebounce,
|
|
454
|
+
wf as useDirection,
|
|
455
|
+
Kf as useInfiniteScroll,
|
|
456
|
+
jf as useInterval,
|
|
457
|
+
Qf as useLayout,
|
|
458
|
+
qf as useLayoutGap,
|
|
459
|
+
Zf as useLocale,
|
|
460
|
+
cf as useLocaleStore,
|
|
461
|
+
ep as useMenuActive,
|
|
462
|
+
tp as useQuery,
|
|
463
|
+
ap as useRandomBgColor,
|
|
464
|
+
pp as useResponsive,
|
|
465
|
+
Cf as useRouteKeyStore,
|
|
466
|
+
mp as useScrollTop,
|
|
472
467
|
Sf as useSessionUser,
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
468
|
+
up as useThemeSchema,
|
|
469
|
+
If as useThemeStore,
|
|
470
|
+
dp as useTimeOutMessage,
|
|
471
|
+
Tf as useToken,
|
|
472
|
+
np as useTranslation,
|
|
473
|
+
ws as utilsDocs,
|
|
474
|
+
Ms as vendorStyles,
|
|
475
|
+
Mf as withHeaderItem
|
|
481
476
|
};
|
|
482
477
|
//# sourceMappingURL=index.js.map
|
package/dist/@ecme/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import s from "axios";
|
|
2
2
|
import { API_URL as f } from "../../../base/configs/api.config.js";
|
|
3
3
|
import "../../store/index.js";
|
|
4
|
-
import
|
|
4
|
+
import "../../../base/store/index.js";
|
|
5
5
|
import d from "./AxiosRequestIntrceptorConfigCallback.js";
|
|
6
6
|
import l from "./AxiosResponseIntrceptorErrorCallback.js";
|
|
7
|
+
import { getCurrentMicrofrontendId as n, useLoadingConfigStore as i } from "../../../base/store/loadingConfigStore.js";
|
|
7
8
|
import { useThemeStore as a } from "../../store/themeStore.js";
|
|
8
9
|
const g = s.create({
|
|
9
10
|
timeout: 6e4,
|