react-luminus-components 2.0.3-beta.r19-18 → 2.0.4-table
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/README.md +349 -349
- package/dist/.vite/manifest.json +46 -52
- package/dist/FormDisabledProvider-1MOB6N34.cjs +1 -0
- package/dist/FormDisabledProvider-CHZ2m_zJ.js +40 -0
- package/dist/ShortcutLinksContext-DEirK-v9.js +39884 -0
- package/dist/ShortcutLinksContext-DLi4B8z5.cjs +334 -0
- package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +3 -6
- package/dist/components/Documents/components/DocumentsModals/components/CreateFolderModal/hooks/useDocCreateFolderForm.d.ts +1 -4
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/hooks/useEditFileForm.d.ts +1 -6
- package/dist/components/Documents/hooks/useDocumentsReducer.d.ts +1 -1
- package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +3 -6
- package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +1 -3
- package/dist/components/Flexmonster/Flexmonster.d.ts +1 -1
- package/dist/components/Flexmonster/hooks/useReportVersionApi.d.ts +1 -1
- package/dist/components/Flexmonster/utils/flexMonsterUtils.d.ts +1 -1
- package/dist/components/HookForm/MiniDetailWrapper/MiniDetailWrapper.d.ts +1 -1
- package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +17 -4
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +38 -7
- package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +38 -8
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +38 -8
- package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +3 -3
- package/dist/components/NotifCenter/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +1 -1
- package/dist/components/NotifCenter/Actions/types/NotificationHistoryTableModel.d.ts +5 -0
- package/dist/components/ResponsiveContextDropdown/components/ResponsiveContextDropdownItem/ResponsiveContextDropdownItem.d.ts +1 -1
- package/dist/components/ResponsiveContextDropdown/hooks/useReponsiveContextDropdownHelpers.d.ts +2 -2
- package/dist/components/ResponsiveContextDropdown/utils/responsiveContextDropdownUtils.d.ts +1 -1
- package/dist/components/Tooltip/HtmlTooltip/HtmlTooltip.d.ts +2 -2
- package/dist/components/Tooltip/SimpleTooltip/SimpleTooltip.d.ts +1 -1
- package/dist/components/common/AuthTemplate/AuthTemplate.d.ts +1 -1
- package/dist/components/common/ColumnResizer/ColumnResizer.d.ts +1 -1
- package/dist/components/common/DisabledRowLabelLink/DisabledRowLabelLink.d.ts +1 -1
- package/dist/components/common/ErrorBoundary/ErrorBoundary.d.ts +3 -7
- package/dist/components/common/FromToDatePicker/components/FromToDatePickerDropdownToggle/FromToDatePickerDropdownToggle.d.ts +1 -3
- package/dist/components/common/LineChart/comps/LineChartTooltip/LineChartTooltip.d.ts +2 -2
- package/dist/components/common/PermissionsSubstitute/Detail/hooks/useSubstDetailForm.d.ts +1 -8
- package/dist/components/common/QrCode/QrCode.d.ts +1 -1
- package/dist/components/common/RouteLink/RouteLink.d.ts +1 -1
- package/dist/components/common/SimplePicker/SimplePicker.d.ts +1 -1
- package/dist/components/common/StrictModeDroppable/StrictModeDroppable.d.ts +5 -0
- package/dist/components/common/index.d.ts +1 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +941 -542
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/useAxios/useAxios.d.ts +2 -5
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -1
- package/dist/hooks/useGetApiDataBound/useGetApiDataBound.d.ts +0 -3
- package/dist/hooks/useGetDataBound/useGetDataBound.d.ts +2 -4
- package/dist/hooks/useScrollSave/useScrollSave.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +136 -206
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +142 -278
- package/dist/localStorageUtils-89Gfn6XS.cjs +1 -0
- package/dist/{localStorageUtils-CZ4HDRzi.js → localStorageUtils-DdeuyghB.js} +8 -18
- package/dist/main.cjs.js +183 -21
- package/dist/main.es.js +11492 -11359
- package/dist/models/prop-types/InputContainerProps.d.ts +12 -4
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +1 -1
- package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +2 -4
- package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +1 -1
- package/dist/models/prop-types/InputProps/TextInputProps.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/useLocalStorageState-B-CRodSS.cjs +1 -0
- package/dist/useLocalStorageState-BPYqQMTu.js +78 -0
- package/dist/useRenderDraggableInPortal-D0OLp7Qb.js +78 -0
- package/dist/useRenderDraggableInPortal-QPCaw-E_.cjs +1 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/route/apiPathUtils.d.ts +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +159 -133
- package/dist/variables.scss +165 -165
- package/package.json +123 -128
- package/dist/FormDisabledProvider-Bi6oyt5U.js +0 -51
- package/dist/FormDisabledProvider-D5KzXgMJ.cjs +0 -1
- package/dist/components/common/HomeDashboard/comps/HomeDashboardWidget/HomeDashboardWidget.d.ts +0 -15
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/PhotoPreviews.d.ts +0 -15
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/PhotoPreview.d.ts +0 -14
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/PreviewShadow/PreviewShadow.d.ts +0 -5
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/index.d.ts +0 -1
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/index.d.ts +0 -1
- package/dist/components/common/PhotoLightbox/comps/index.d.ts +0 -1
- package/dist/hooks/useIsFormDirty/useIsFormDirty.d.ts +0 -7
- package/dist/localStorageUtils-CkZslzIU.cjs +0 -1
- package/dist/models/bntTable/IBnfTableDefColumn.d.ts +0 -40
- package/dist/models/ui/notifications/NotificationHistoryTableModel.d.ts +0 -6
- package/dist/nivo-bar-BQGSJTnK.js +0 -41890
- package/dist/nivo-bar-DcaMZ1K9.cjs +0 -326
- package/dist/useIsFormDirty-BQU8CwxF.cjs +0 -1
- package/dist/useIsFormDirty-uSOXZ5g6.js +0 -123
- package/dist/useLocalStorageState-Ccq9rFKj.js +0 -95
- package/dist/useLocalStorageState-aCjv2MC6.cjs +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,71 +1,65 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_FormDisabledProvider-
|
|
3
|
-
"file": "FormDisabledProvider-
|
|
2
|
+
"_FormDisabledProvider-1MOB6N34.cjs": {
|
|
3
|
+
"file": "FormDisabledProvider-1MOB6N34.cjs",
|
|
4
4
|
"name": "FormDisabledProvider",
|
|
5
5
|
"imports": [
|
|
6
|
-
"
|
|
6
|
+
"_ShortcutLinksContext-DLi4B8z5.cjs"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
-
"_FormDisabledProvider-
|
|
10
|
-
"file": "FormDisabledProvider-
|
|
9
|
+
"_FormDisabledProvider-CHZ2m_zJ.js": {
|
|
10
|
+
"file": "FormDisabledProvider-CHZ2m_zJ.js",
|
|
11
11
|
"name": "FormDisabledProvider",
|
|
12
12
|
"imports": [
|
|
13
|
-
"
|
|
13
|
+
"_ShortcutLinksContext-DEirK-v9.js"
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
"
|
|
17
|
-
"file": "
|
|
18
|
-
"name": "
|
|
19
|
-
},
|
|
20
|
-
"_localStorageUtils-CkZslzIU.cjs": {
|
|
21
|
-
"file": "localStorageUtils-CkZslzIU.cjs",
|
|
22
|
-
"name": "localStorageUtils"
|
|
16
|
+
"_ShortcutLinksContext-DEirK-v9.js": {
|
|
17
|
+
"file": "ShortcutLinksContext-DEirK-v9.js",
|
|
18
|
+
"name": "ShortcutLinksContext"
|
|
23
19
|
},
|
|
24
|
-
"
|
|
25
|
-
"file": "
|
|
26
|
-
"name": "
|
|
20
|
+
"_ShortcutLinksContext-DLi4B8z5.cjs": {
|
|
21
|
+
"file": "ShortcutLinksContext-DLi4B8z5.cjs",
|
|
22
|
+
"name": "ShortcutLinksContext"
|
|
27
23
|
},
|
|
28
|
-
"
|
|
29
|
-
"file": "
|
|
30
|
-
"name": "
|
|
31
|
-
},
|
|
32
|
-
"_useIsFormDirty-BQU8CwxF.cjs": {
|
|
33
|
-
"file": "useIsFormDirty-BQU8CwxF.cjs",
|
|
34
|
-
"name": "useIsFormDirty",
|
|
35
|
-
"imports": [
|
|
36
|
-
"_nivo-bar-DcaMZ1K9.cjs"
|
|
37
|
-
]
|
|
24
|
+
"_localStorageUtils-89Gfn6XS.cjs": {
|
|
25
|
+
"file": "localStorageUtils-89Gfn6XS.cjs",
|
|
26
|
+
"name": "localStorageUtils"
|
|
38
27
|
},
|
|
39
|
-
"
|
|
40
|
-
"file": "
|
|
41
|
-
"name": "
|
|
42
|
-
"imports": [
|
|
43
|
-
"_nivo-bar-BQGSJTnK.js"
|
|
44
|
-
]
|
|
28
|
+
"_localStorageUtils-DdeuyghB.js": {
|
|
29
|
+
"file": "localStorageUtils-DdeuyghB.js",
|
|
30
|
+
"name": "localStorageUtils"
|
|
45
31
|
},
|
|
46
|
-
"_useLocalStorageState-
|
|
47
|
-
"file": "useLocalStorageState-
|
|
32
|
+
"_useLocalStorageState-B-CRodSS.cjs": {
|
|
33
|
+
"file": "useLocalStorageState-B-CRodSS.cjs",
|
|
48
34
|
"name": "useLocalStorageState",
|
|
49
35
|
"imports": [
|
|
50
|
-
"
|
|
36
|
+
"_ShortcutLinksContext-DLi4B8z5.cjs"
|
|
51
37
|
]
|
|
52
38
|
},
|
|
53
|
-
"_useLocalStorageState-
|
|
54
|
-
"file": "useLocalStorageState-
|
|
39
|
+
"_useLocalStorageState-BPYqQMTu.js": {
|
|
40
|
+
"file": "useLocalStorageState-BPYqQMTu.js",
|
|
55
41
|
"name": "useLocalStorageState",
|
|
56
42
|
"imports": [
|
|
57
|
-
"
|
|
43
|
+
"_ShortcutLinksContext-DEirK-v9.js"
|
|
58
44
|
]
|
|
59
45
|
},
|
|
46
|
+
"_useRenderDraggableInPortal-D0OLp7Qb.js": {
|
|
47
|
+
"file": "useRenderDraggableInPortal-D0OLp7Qb.js",
|
|
48
|
+
"name": "useRenderDraggableInPortal"
|
|
49
|
+
},
|
|
50
|
+
"_useRenderDraggableInPortal-QPCaw-E_.cjs": {
|
|
51
|
+
"file": "useRenderDraggableInPortal-QPCaw-E_.cjs",
|
|
52
|
+
"name": "useRenderDraggableInPortal"
|
|
53
|
+
},
|
|
60
54
|
"src/contexts/index.ts": {
|
|
61
55
|
"file": "contexts.cjs.js",
|
|
62
56
|
"name": "contexts",
|
|
63
57
|
"src": "src/contexts/index.ts",
|
|
64
58
|
"isEntry": true,
|
|
65
59
|
"imports": [
|
|
66
|
-
"
|
|
67
|
-
"_FormDisabledProvider-
|
|
68
|
-
"_useLocalStorageState-
|
|
60
|
+
"_ShortcutLinksContext-DLi4B8z5.cjs",
|
|
61
|
+
"_FormDisabledProvider-1MOB6N34.cjs",
|
|
62
|
+
"_useLocalStorageState-B-CRodSS.cjs"
|
|
69
63
|
]
|
|
70
64
|
},
|
|
71
65
|
"src/hooks/index.ts": {
|
|
@@ -74,9 +68,9 @@
|
|
|
74
68
|
"src": "src/hooks/index.ts",
|
|
75
69
|
"isEntry": true,
|
|
76
70
|
"imports": [
|
|
77
|
-
"
|
|
78
|
-
"_useLocalStorageState-
|
|
79
|
-
"
|
|
71
|
+
"_ShortcutLinksContext-DLi4B8z5.cjs",
|
|
72
|
+
"_useLocalStorageState-B-CRodSS.cjs",
|
|
73
|
+
"_useRenderDraggableInPortal-QPCaw-E_.cjs"
|
|
80
74
|
]
|
|
81
75
|
},
|
|
82
76
|
"src/layout/index.ts": {
|
|
@@ -85,7 +79,7 @@
|
|
|
85
79
|
"src": "src/layout/index.ts",
|
|
86
80
|
"isEntry": true,
|
|
87
81
|
"imports": [
|
|
88
|
-
"
|
|
82
|
+
"_ShortcutLinksContext-DLi4B8z5.cjs"
|
|
89
83
|
]
|
|
90
84
|
},
|
|
91
85
|
"src/main.ts": {
|
|
@@ -94,11 +88,11 @@
|
|
|
94
88
|
"src": "src/main.ts",
|
|
95
89
|
"isEntry": true,
|
|
96
90
|
"imports": [
|
|
97
|
-
"
|
|
98
|
-
"_FormDisabledProvider-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
91
|
+
"_ShortcutLinksContext-DLi4B8z5.cjs",
|
|
92
|
+
"_FormDisabledProvider-1MOB6N34.cjs",
|
|
93
|
+
"_useRenderDraggableInPortal-QPCaw-E_.cjs",
|
|
94
|
+
"_useLocalStorageState-B-CRodSS.cjs",
|
|
95
|
+
"_localStorageUtils-89Gfn6XS.cjs"
|
|
102
96
|
]
|
|
103
97
|
},
|
|
104
98
|
"src/utils/index.ts": {
|
|
@@ -107,8 +101,8 @@
|
|
|
107
101
|
"src": "src/utils/index.ts",
|
|
108
102
|
"isEntry": true,
|
|
109
103
|
"imports": [
|
|
110
|
-
"
|
|
111
|
-
"_localStorageUtils-
|
|
104
|
+
"_ShortcutLinksContext-DLi4B8z5.cjs",
|
|
105
|
+
"_localStorageUtils-89Gfn6XS.cjs"
|
|
112
106
|
]
|
|
113
107
|
},
|
|
114
108
|
"style.css": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./ShortcutLinksContext-DLi4B8z5.cjs"),l="_loading_obchl_1",d="_spinner-grow_obchl_10",u="_second_obchl_14",_="_third_obchl_17",g="_loadingBlock_obchl_21",h="_sizeLine_obchl_29",m="_sizeFill_obchl_36",o={loading:l,"spinner-grow":"_spinner-grow_obchl_10",spinnerGrow:d,second:u,third:_,loadingBlock:g,sizeLine:h,sizeFill:m},x=()=>s.jsxRuntimeExports.jsxs("div",{className:s.classNames("luminus-loading",o.loading),children:[s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary"),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary",o.second),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary",o.third),role:"status"})]});function a(e,n){const t=s.toDate(e);if(isNaN(n))return s.constructFrom(e,NaN);if(!n)return t;const i=t.getDate(),r=s.constructFrom(e,t.getTime());r.setMonth(t.getMonth()+n+1,0);const c=r.getDate();return i>=c?r:(t.setFullYear(r.getFullYear(),r.getMonth(),i),t)}function p(e,n){return a(e,n*12)}const N=({children:e,disabled:n})=>s.jsxRuntimeExports.jsx(s.FormDisabledContext.Provider,{value:n,children:e});exports.FormDisabledProvider=N;exports.Loading=x;exports.addMonths=a;exports.addYears=p;exports.classes=o;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { j as t, c as i, t as d, a as l, bN as _ } from "./ShortcutLinksContext-DEirK-v9.js";
|
|
2
|
+
const g = "_loading_obchl_1", h = "_spinner-grow_obchl_10", p = "_second_obchl_14", u = "_third_obchl_17", m = "_loadingBlock_obchl_21", b = "_sizeLine_obchl_29", x = "_sizeFill_obchl_36", o = {
|
|
3
|
+
loading: g,
|
|
4
|
+
"spinner-grow": "_spinner-grow_obchl_10",
|
|
5
|
+
spinnerGrow: h,
|
|
6
|
+
second: p,
|
|
7
|
+
third: u,
|
|
8
|
+
loadingBlock: m,
|
|
9
|
+
sizeLine: b,
|
|
10
|
+
sizeFill: x
|
|
11
|
+
}, F = () => /* @__PURE__ */ t.jsxs("div", { className: i("luminus-loading", o.loading), children: [
|
|
12
|
+
/* @__PURE__ */ t.jsx("div", { className: i("spinner-grow", o.spinnerGrow, "text-primary"), role: "status" }),
|
|
13
|
+
/* @__PURE__ */ t.jsx("div", { className: i("spinner-grow", o.spinnerGrow, "text-primary", o.second), role: "status" }),
|
|
14
|
+
/* @__PURE__ */ t.jsx("div", { className: i("spinner-grow", o.spinnerGrow, "text-primary", o.third), role: "status" })
|
|
15
|
+
] });
|
|
16
|
+
function w(s, n) {
|
|
17
|
+
const e = d(s);
|
|
18
|
+
if (isNaN(n)) return l(s, NaN);
|
|
19
|
+
if (!n)
|
|
20
|
+
return e;
|
|
21
|
+
const a = e.getDate(), r = l(s, e.getTime());
|
|
22
|
+
r.setMonth(e.getMonth() + n + 1, 0);
|
|
23
|
+
const c = r.getDate();
|
|
24
|
+
return a >= c ? r : (e.setFullYear(
|
|
25
|
+
r.getFullYear(),
|
|
26
|
+
r.getMonth(),
|
|
27
|
+
a
|
|
28
|
+
), e);
|
|
29
|
+
}
|
|
30
|
+
function f(s, n) {
|
|
31
|
+
return w(s, n * 12);
|
|
32
|
+
}
|
|
33
|
+
const j = ({ children: s, disabled: n }) => /* @__PURE__ */ t.jsx(_.Provider, { value: n, children: s });
|
|
34
|
+
export {
|
|
35
|
+
j as F,
|
|
36
|
+
F as L,
|
|
37
|
+
w as a,
|
|
38
|
+
f as b,
|
|
39
|
+
o as c
|
|
40
|
+
};
|