@owp/core 1.27.0 → 1.28.0
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/colors.d.ts +2 -0
- package/constants.d.ts +2 -0
- package/context.d.ts +2 -0
- package/dist/{Close-DA97hwNx.js → Close-DnXhM4Ms.js} +128 -124
- package/dist/Close-DnXhM4Ms.js.map +1 -0
- package/dist/{OwpStoreProvider-BKRp9Maw.js → OwpStoreProvider-B7W25pkq.js} +13 -13
- package/dist/OwpStoreProvider-B7W25pkq.js.map +1 -0
- package/dist/{QuickPanel-EyvjMTxX.js → QuickPanel-BOgEYOAw.js} +2 -2
- package/dist/{QuickPanel-EyvjMTxX.js.map → QuickPanel-BOgEYOAw.js.map} +1 -1
- package/dist/context.js +4 -3
- package/dist/context.js.map +1 -1
- package/dist/hooks.js +31 -28
- package/dist/hooks.js.map +1 -1
- package/dist/{index-CdxKoZlQ.js → index-B8tZAW8i.js} +9743 -10363
- package/dist/index-B8tZAW8i.js.map +1 -0
- package/dist/index.js +86 -88
- package/dist/{lazyLoadedSlices-Bjy1crVY.js → lazyLoadedSlices-BAbcXcEU.js} +33 -35
- package/dist/lazyLoadedSlices-BAbcXcEU.js.map +1 -0
- package/dist/owp-app.css +1 -1
- package/dist/store.js +1 -1
- package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +1 -26
- package/dist/types/components/OwpDialog/OwpDialog.d.ts +32 -6
- package/dist/types/components/OwpDialog/index.d.ts +1 -4
- package/dist/types/components/OwpLanguageSwitcherSelect/index.d.ts +1 -0
- package/dist/types/components/OwpMrtTable/OwpMrtTable.d.ts +7 -3
- package/dist/types/components/OwpMrtTable/OwpMrtTableTopToolbar.d.ts +6 -0
- package/dist/types/components/OwpNavLinkAdapter/OwpNavLinkAdapter.d.ts +16 -0
- package/dist/types/components/OwpNavLinkAdapter/index.d.ts +2 -0
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +1 -2
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +1 -2
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +1 -2
- package/dist/types/components/{shared-components/PageBreadcrumb.d.ts → OwpPageBreadcrumb/OwpPageBreadcrumb.d.ts} +1 -1
- package/dist/types/components/OwpPageBreadcrumb/index.d.ts +2 -0
- package/dist/types/components/OwpSettings/OwpLayoutConfig.d.ts +1 -1
- package/dist/types/components/OwpTable/OwpTable.d.ts +1 -1
- package/dist/types/components/{shared-components/tabs → OwpTabs}/OwpTab.d.ts +1 -1
- package/dist/types/components/{shared-components/tabs → OwpTabs}/OwpTabs.d.ts +1 -1
- package/dist/types/components/OwpTabs/index.d.ts +2 -0
- package/dist/types/components/OwpTreeGrid/OwpTreeGridToolbar.d.ts +1 -1
- package/dist/types/components/layouts/shared-components/navigation/store/navigationSlice.d.ts +9 -9
- package/dist/types/context/OwpCoreProvider.d.ts +1 -1
- package/dist/types/{store → context}/OwpStoreProvider.d.ts +1 -1
- package/dist/types/context/index.d.ts +1 -0
- package/dist/types/hooks/useStorage.d.ts +10 -1
- package/dist/types/index.d.ts +4 -8
- package/dist/types/store/apiService.d.ts +3 -0
- package/dist/types/store/generateReducersFromSlices.d.ts +4 -1
- package/dist/types/store/hooks.d.ts +3 -0
- package/dist/types/store/index.d.ts +4 -1
- package/dist/types/store/lazyLoadedSlices.d.ts +3 -0
- package/dist/types/store/middleware.d.ts +3 -0
- package/dist/types/store/store.d.ts +3 -0
- package/dist/types/store/withSlices.d.ts +2 -2
- package/dist/types/utils/createDateRangeSearchParams.d.ts +16 -0
- package/dist/types/utils/fetchFile.d.ts +12 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/dist/types/utils/sanitizeAuthInputValue.d.ts +10 -0
- package/dist/useOwpTranslation-BelpX-fd.js +174 -0
- package/dist/useOwpTranslation-BelpX-fd.js.map +1 -0
- package/dist/useStorage-BA0D8KA7.js +67 -0
- package/dist/useStorage-BA0D8KA7.js.map +1 -0
- package/dist/{useTreeGridExcelExport-BGh2y8Cg.js → useTreeGridExcelExport-QNcWzx5v.js} +2 -2
- package/dist/{useTreeGridExcelExport-BGh2y8Cg.js.map → useTreeGridExcelExport-QNcWzx5v.js.map} +1 -1
- package/dist/utils.js +2066 -2026
- package/dist/utils.js.map +1 -1
- package/hooks.d.ts +2 -0
- package/index.d.ts +3 -0
- package/package.json +4 -2
- package/store.d.ts +2 -0
- package/treegrid-global.d.ts +4904 -0
- package/utils.d.ts +2 -0
- package/dist/Close-DA97hwNx.js.map +0 -1
- package/dist/OwpStoreProvider-BKRp9Maw.js.map +0 -1
- package/dist/index-CdxKoZlQ.js.map +0 -1
- package/dist/lazyLoadedSlices-Bjy1crVY.js.map +0 -1
- package/dist/types/auth/authRoles.d.ts +0 -21
- package/dist/types/components/NavLinkAdapter/NavLinkAdapter.d.ts +0 -18
- package/dist/types/components/NavLinkAdapter/index.d.ts +0 -1
- package/dist/types/components/OwpDialog/owpDialogSlice.d.ts +0 -14
- package/dist/types/components/OwpMessage/OwpMessage.d.ts +0 -11
- package/dist/types/components/OwpMessage/index.d.ts +0 -4
- package/dist/types/components/OwpMessage/owpMessageSlice.d.ts +0 -14
- package/dist/types/components/layouts/shared-components/AdjustFontSize.d.ts +0 -8
- package/dist/types/components/layouts/shared-components/OwpSettingsViewerDialog.d.ts +0 -8
- package/dist/types/components/layouts/shared-components/configurator/Configurator.d.ts +0 -9
- package/dist/types/components/layouts/shared-components/configurator/SettingsPanel.d.ts +0 -12
- package/dist/types/components/layouts/shared-components/configurator/ThemesPanel.d.ts +0 -12
- package/dist/types/components/shared-components/LightDarkModeToggle.d.ts +0 -8
- package/dist/types/components/shared-components/PageTitle.d.ts +0 -11
- package/dist/types/components/shared-components/data-table/DataTable.d.ts +0 -12
- package/dist/types/components/shared-components/data-table/DataTableTopToolbar.d.ts +0 -6
- package/dist/types/components/shared-components/index.d.ts +0 -7
- package/dist/types/components/withRouter/index.d.ts +0 -1
- package/dist/types/components/withRouter/withRouter.d.ts +0 -14
- package/dist/types/store/withReducer.d.ts +0 -5
- package/dist/useOwpTranslation-VarZsCQ4.js +0 -233
- package/dist/useOwpTranslation-VarZsCQ4.js.map +0 -1
- /package/dist/types/components/{layouts/shared-components → OwpLanguageSwitcherSelect}/OwpLanguageSwitcherSelect.d.ts +0 -0
- /package/dist/types/components/{shared-components/data-table → OwpMrtTable}/utils/parseFromValuesOrFunc.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1,67 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
import { h as
|
|
5
|
-
import {
|
|
1
|
+
import { DialogsProvider as o } from "@toolpad/core/useDialogs";
|
|
2
|
+
import { k as p, C as l, h as i, j as w, i as O, aa as n, W as c, X as g, d as m, l as T, m as d, g as S, n as h, a3 as u, a4 as C, o as b, q as v, p as N, z as L, N as P, v as D, w as k, r as f, x as y, A as x, E as F, F as I, G as M, B, D as G, H as V, I as E, M as H, J as z, K as R, S as A, L as U, P as Y, Q as j, R as W, T as q, U as J, V as K, c as Q, $ as X, a0 as Z, a1 as _, a2 as $, a5 as aa, a6 as ea, a7 as sa, a8 as ta, a9 as oa, O as ra, aj as pa, ae as la, ab as ia, ak as wa, ag as Oa, ah as na, ai as ca, Y as ga, am as ma, al as Ta, ao as da, af as Sa, Z as ha, _ as ua, aq as Ca, ap as ba, ac as va, ad as Na, an as La, y as Pa, e as Da } from "./index-B8tZAW8i.js";
|
|
3
|
+
import { a as fa, d as ya, c as xa } from "./Close-DnXhM4Ms.js";
|
|
4
|
+
import { h as Ia } from "./OwpUtils-9lHSCdan.js";
|
|
5
|
+
import { z as Ba, O as Ga, C as Va, B as Ea, u as Ha, H as za, L as Ra, I as Aa, J as Ua, K as Ya, A as ja, D as Wa, X as qa, M as Ja, f as Ka, s as Qa, V as Xa, W as Za, N as _a, P as $a, Q as ae, o as ee, R as se, S as te, b as oe, i as re, t as pe, E as le, G as ie, F as we, p as Oe, T as ne, U as ce, j as ge, Y as me, v as Te } from "./lazyLoadedSlices-BAbcXcEU.js";
|
|
6
6
|
import "@mui/material/styles";
|
|
7
7
|
import "@mui/material/Typography";
|
|
8
8
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
b as OwpMessage,
|
|
9
|
+
p as CommonCodeRadioGroup,
|
|
10
|
+
l as CommonCodeSelector,
|
|
11
|
+
o as DialogsProvider,
|
|
12
|
+
fa as OwpAutoLogoutDialog,
|
|
13
|
+
i as OwpBarcodeInputField,
|
|
14
|
+
w as OwpCommonCodeRadioGroup,
|
|
15
|
+
O as OwpCommonCodeSelector,
|
|
16
|
+
ya as OwpCommonDialog,
|
|
17
|
+
n as OwpDataTable,
|
|
18
|
+
c as OwpDatePicker,
|
|
19
|
+
g as OwpDateRangePicker,
|
|
20
|
+
xa as OwpDialog,
|
|
21
|
+
m as OwpErrorBoundary,
|
|
22
|
+
Ia as OwpEventEmitter,
|
|
23
|
+
T as OwpExportDataToExcelButton,
|
|
24
|
+
d as OwpFileUploadButton,
|
|
25
|
+
S as OwpLanguageSwitcherSelect,
|
|
26
|
+
h as OwpLayout,
|
|
27
|
+
u as OwpLayoutConfig,
|
|
28
|
+
C as OwpLayoutConfigs,
|
|
29
|
+
b as OwpLoading,
|
|
31
30
|
v as OwpMoreActionsButton,
|
|
32
31
|
N as OwpMrtTable,
|
|
33
32
|
L as OwpNavBadge,
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
P as OwpNavHorizontalCollapse,
|
|
34
|
+
D as OwpNavHorizontalGroup,
|
|
36
35
|
k as OwpNavHorizontalItem,
|
|
37
36
|
f as OwpNavHorizontalLayout1,
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
y as OwpNavHorizontalLink,
|
|
38
|
+
x as OwpNavItem,
|
|
40
39
|
Ba as OwpNavItemModel,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
F as OwpNavVerticalCollapse,
|
|
41
|
+
I as OwpNavVerticalGroup,
|
|
42
|
+
M as OwpNavVerticalItem,
|
|
43
|
+
B as OwpNavVerticalLayout1,
|
|
45
44
|
G as OwpNavVerticalLayout2,
|
|
46
|
-
|
|
45
|
+
V as OwpNavVerticalLink,
|
|
47
46
|
E as OwpNavVerticalTab,
|
|
48
47
|
H as OwpNavigation,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
A as
|
|
53
|
-
U as
|
|
54
|
-
Y as
|
|
55
|
-
j as
|
|
56
|
-
W as
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
_ as
|
|
64
|
-
$ as
|
|
48
|
+
Ga as OwpNavigationHelper,
|
|
49
|
+
z as OwpNumberField,
|
|
50
|
+
R as OwpOptionSelector,
|
|
51
|
+
A as OwpPageBreadcrumb,
|
|
52
|
+
U as OwpPageCarded,
|
|
53
|
+
Y as OwpPageCardedHeader,
|
|
54
|
+
j as OwpPageCardedSidebar,
|
|
55
|
+
W as OwpPageCardedSidebarContent,
|
|
56
|
+
q as OwpPageContent,
|
|
57
|
+
J as OwpPageLockLoading,
|
|
58
|
+
K as OwpPageTitle,
|
|
59
|
+
Q as OwpScrollbars,
|
|
60
|
+
X as OwpSearch,
|
|
61
|
+
Z as OwpSearchFilter,
|
|
62
|
+
_ as OwpSection,
|
|
63
|
+
$ as OwpSettings,
|
|
65
64
|
aa as OwpShortcuts,
|
|
66
65
|
ea as OwpSidePanel,
|
|
67
66
|
sa as OwpSplashScreen,
|
|
@@ -87,42 +86,41 @@ export {
|
|
|
87
86
|
va as StyledTable,
|
|
88
87
|
Na as StyledTableRow,
|
|
89
88
|
La as TreeGrid,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
za as
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
Wa as getToolbarTheme,
|
|
89
|
+
Va as changeOwpTheme,
|
|
90
|
+
Ea as darkPaletteText,
|
|
91
|
+
Ha as generateSettings,
|
|
92
|
+
za as getDirection,
|
|
93
|
+
Ra as getFooterTheme,
|
|
94
|
+
Aa as getMainTheme,
|
|
95
|
+
Ua as getNavbarTheme,
|
|
96
|
+
Ya as getToolbarTheme,
|
|
99
97
|
Pa as isUrlInChildren,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
98
|
+
ja as lightPaletteText,
|
|
99
|
+
Wa as owpSettingsSlice,
|
|
100
|
+
qa as resetSettings,
|
|
101
|
+
Ja as selectContrastMainTheme,
|
|
102
|
+
Ka as selectCustomScrollbarsEnabled,
|
|
103
|
+
Qa as selectFooterTheme,
|
|
104
|
+
Xa as selectFooterThemeDark,
|
|
105
|
+
Za as selectFooterThemeLight,
|
|
106
|
+
_a as selectMainTheme,
|
|
107
|
+
$a as selectMainThemeDark,
|
|
108
|
+
ae as selectMainThemeLight,
|
|
109
|
+
ee as selectNavbarTheme,
|
|
110
|
+
se as selectNavbarThemeDark,
|
|
111
|
+
te as selectNavbarThemeLight,
|
|
112
|
+
oe as selectOwpCurrentLayoutConfig,
|
|
113
|
+
re as selectOwpCurrentSettings,
|
|
114
|
+
pe as selectOwpDefaultSettings,
|
|
115
|
+
le as selectOwpSettings,
|
|
116
|
+
ie as selectOwpSettingsCurrent,
|
|
117
|
+
we as selectOwpSettingsDefaults,
|
|
118
|
+
Oe as selectToolbarTheme,
|
|
119
|
+
ne as selectToolbarThemeDark,
|
|
120
|
+
ce as selectToolbarThemeLight,
|
|
121
|
+
ge as setDefaultSettings,
|
|
122
|
+
me as setInitialSettings,
|
|
123
|
+
Te as setSettings,
|
|
124
|
+
Da as themeLayouts
|
|
127
125
|
};
|
|
128
126
|
//# sourceMappingURL=index.js.map
|
|
@@ -14,7 +14,6 @@ const Qr = /* @__PURE__ */ o(() => async ({ url: t, method: e, data: r, params:
|
|
|
14
14
|
url: t,
|
|
15
15
|
method: e,
|
|
16
16
|
data: r,
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
18
17
|
params: n
|
|
19
18
|
})).data };
|
|
20
19
|
} catch (a) {
|
|
@@ -2738,32 +2737,31 @@ const ul = _r(
|
|
|
2738
2737
|
}
|
|
2739
2738
|
).withLazyLoadedSlices();
|
|
2740
2739
|
export {
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2740
|
+
fi as A,
|
|
2741
|
+
pi as B,
|
|
2742
|
+
ki as C,
|
|
2743
|
+
A as D,
|
|
2744
|
+
Hi as E,
|
|
2745
|
+
Gi as F,
|
|
2746
|
+
qi as G,
|
|
2747
|
+
E as H,
|
|
2748
|
+
ht as I,
|
|
2749
|
+
gt as J,
|
|
2750
|
+
mt as K,
|
|
2751
|
+
bt as L,
|
|
2752
|
+
Vi as M,
|
|
2753
|
+
Ji as N,
|
|
2755
2754
|
pe as O,
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
il as Z,
|
|
2755
|
+
di as P,
|
|
2756
|
+
vi as Q,
|
|
2757
|
+
Yi as R,
|
|
2758
|
+
Xi as S,
|
|
2759
|
+
el as T,
|
|
2760
|
+
tl as U,
|
|
2761
|
+
nl as V,
|
|
2762
|
+
al as W,
|
|
2763
|
+
ol as X,
|
|
2764
|
+
il as Y,
|
|
2767
2765
|
Pt as a,
|
|
2768
2766
|
zi as b,
|
|
2769
2767
|
Fi as c,
|
|
@@ -2780,15 +2778,15 @@ export {
|
|
|
2780
2778
|
Di as n,
|
|
2781
2779
|
ji as o,
|
|
2782
2780
|
Zi as p,
|
|
2783
|
-
|
|
2781
|
+
lt as q,
|
|
2784
2782
|
ul as r,
|
|
2785
2783
|
rl as s,
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2784
|
+
Qi as t,
|
|
2785
|
+
Tr as u,
|
|
2786
|
+
ll as v,
|
|
2787
|
+
Vr as w,
|
|
2788
|
+
jr as x,
|
|
2789
|
+
or as y,
|
|
2790
|
+
Yr as z
|
|
2793
2791
|
};
|
|
2794
|
-
//# sourceMappingURL=lazyLoadedSlices-
|
|
2792
|
+
//# sourceMappingURL=lazyLoadedSlices-BAbcXcEU.js.map
|