react-luminus-components 2.0.2-table-d7f5ad24d53c7cff099af497e38cd1c5dbfb2918 → 2.0.3-beta.r19-4
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 -46
- package/dist/FormDisabledProvider-CNVOqN9X.js +40 -0
- package/dist/FormDisabledProvider-DmZDEoe7.cjs +1 -0
- package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +6 -3
- package/dist/components/Documents/components/DocumentsModals/components/CreateFolderModal/hooks/useDocCreateFolderForm.d.ts +4 -1
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/hooks/useEditFileForm.d.ts +6 -1
- package/dist/components/Documents/hooks/useDocumentsReducer.d.ts +1 -1
- package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +6 -3
- package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +3 -1
- 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 +4 -17
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +7 -38
- package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +8 -38
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +8 -38
- 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 +7 -3
- package/dist/components/common/FromToDatePicker/components/FromToDatePickerDropdownToggle/FromToDatePickerDropdownToggle.d.ts +3 -1
- package/dist/components/common/LineChart/comps/LineChartTooltip/LineChartTooltip.d.ts +2 -2
- package/dist/components/common/PermissionsSubstitute/Detail/hooks/useSubstDetailForm.d.ts +8 -1
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/PhotoPreviews.d.ts +15 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/PhotoPreview.d.ts +14 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/PreviewShadow/PreviewShadow.d.ts +5 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/index.d.ts +1 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/index.d.ts +1 -0
- package/dist/components/common/PhotoLightbox/comps/index.d.ts +1 -0
- 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/index.d.ts +0 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +274 -921
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -1
- package/dist/hooks/useScrollSave/useScrollSave.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +105 -89
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +109 -120
- package/dist/{localStorageUtils-NrZA2Syo.js → localStorageUtils-DKh4zlsM.js} +1 -1
- package/dist/localStorageUtils-VI7zmTA0.cjs +1 -0
- package/dist/main.cjs.js +21 -183
- package/dist/main.es.js +6372 -11355
- package/dist/models/bntTable/IBnfTableDefColumn.d.ts +40 -0
- package/dist/models/prop-types/InputContainerProps.d.ts +4 -12
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +1 -1
- package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +4 -2
- package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +1 -1
- package/dist/models/prop-types/InputProps/TextInputProps.d.ts +1 -1
- package/dist/{ShortcutLinksContext-B6B_uG2X.js → nivo-bar-DXK3wbjv.js} +28480 -28322
- package/dist/nivo-bar-U0TkOANS.cjs +306 -0
- package/dist/style.css +1 -1
- package/dist/useEmployeePhotoPath-DdMmh1qU.js +65 -0
- package/dist/useEmployeePhotoPath-Q0EhpWOh.cjs +1 -0
- package/dist/{useLocalStorageState-DG9g_lFm.js → useLocalStorageState-B3o2yBVf.js} +15 -14
- package/dist/useLocalStorageState-BWT4Z8eu.cjs +1 -0
- package/dist/utils/route/apiPathUtils.d.ts +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +79 -80
- package/dist/variables.scss +165 -165
- package/package.json +124 -123
- package/dist/FormDisabledProvider-BNE4w-91.cjs +0 -1
- package/dist/FormDisabledProvider-Ct-odePz.js +0 -40
- package/dist/ShortcutLinksContext-d3AdgJhg.cjs +0 -334
- package/dist/components/common/StrictModeDroppable/StrictModeDroppable.d.ts +0 -5
- package/dist/localStorageUtils-CFey67IX.cjs +0 -1
- package/dist/useLocalStorageState-CGKmNXMv.cjs +0 -1
- package/dist/useRenderDraggableInPortal-D0OLp7Qb.js +0 -78
- package/dist/useRenderDraggableInPortal-QPCaw-E_.cjs +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_FormDisabledProvider-
|
|
3
|
-
"file": "FormDisabledProvider-
|
|
2
|
+
"_FormDisabledProvider-CNVOqN9X.js": {
|
|
3
|
+
"file": "FormDisabledProvider-CNVOqN9X.js",
|
|
4
4
|
"name": "FormDisabledProvider",
|
|
5
5
|
"imports": [
|
|
6
|
-
"
|
|
6
|
+
"_nivo-bar-DXK3wbjv.js"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
-
"_FormDisabledProvider-
|
|
10
|
-
"file": "FormDisabledProvider-
|
|
9
|
+
"_FormDisabledProvider-DmZDEoe7.cjs": {
|
|
10
|
+
"file": "FormDisabledProvider-DmZDEoe7.cjs",
|
|
11
11
|
"name": "FormDisabledProvider",
|
|
12
12
|
"imports": [
|
|
13
|
-
"
|
|
13
|
+
"_nivo-bar-U0TkOANS.cjs"
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
"
|
|
17
|
-
"file": "
|
|
18
|
-
"name": "ShortcutLinksContext"
|
|
19
|
-
},
|
|
20
|
-
"_ShortcutLinksContext-d3AdgJhg.cjs": {
|
|
21
|
-
"file": "ShortcutLinksContext-d3AdgJhg.cjs",
|
|
22
|
-
"name": "ShortcutLinksContext"
|
|
23
|
-
},
|
|
24
|
-
"_localStorageUtils-CFey67IX.cjs": {
|
|
25
|
-
"file": "localStorageUtils-CFey67IX.cjs",
|
|
16
|
+
"_localStorageUtils-DKh4zlsM.js": {
|
|
17
|
+
"file": "localStorageUtils-DKh4zlsM.js",
|
|
26
18
|
"name": "localStorageUtils"
|
|
27
19
|
},
|
|
28
|
-
"_localStorageUtils-
|
|
29
|
-
"file": "localStorageUtils-
|
|
20
|
+
"_localStorageUtils-VI7zmTA0.cjs": {
|
|
21
|
+
"file": "localStorageUtils-VI7zmTA0.cjs",
|
|
30
22
|
"name": "localStorageUtils"
|
|
31
23
|
},
|
|
32
|
-
"
|
|
33
|
-
"file": "
|
|
24
|
+
"_nivo-bar-DXK3wbjv.js": {
|
|
25
|
+
"file": "nivo-bar-DXK3wbjv.js",
|
|
26
|
+
"name": "nivo-bar"
|
|
27
|
+
},
|
|
28
|
+
"_nivo-bar-U0TkOANS.cjs": {
|
|
29
|
+
"file": "nivo-bar-U0TkOANS.cjs",
|
|
30
|
+
"name": "nivo-bar"
|
|
31
|
+
},
|
|
32
|
+
"_useEmployeePhotoPath-DdMmh1qU.js": {
|
|
33
|
+
"file": "useEmployeePhotoPath-DdMmh1qU.js",
|
|
34
|
+
"name": "useEmployeePhotoPath"
|
|
35
|
+
},
|
|
36
|
+
"_useEmployeePhotoPath-Q0EhpWOh.cjs": {
|
|
37
|
+
"file": "useEmployeePhotoPath-Q0EhpWOh.cjs",
|
|
38
|
+
"name": "useEmployeePhotoPath"
|
|
39
|
+
},
|
|
40
|
+
"_useLocalStorageState-B3o2yBVf.js": {
|
|
41
|
+
"file": "useLocalStorageState-B3o2yBVf.js",
|
|
34
42
|
"name": "useLocalStorageState",
|
|
35
43
|
"imports": [
|
|
36
|
-
"
|
|
44
|
+
"_nivo-bar-DXK3wbjv.js"
|
|
37
45
|
]
|
|
38
46
|
},
|
|
39
|
-
"_useLocalStorageState-
|
|
40
|
-
"file": "useLocalStorageState-
|
|
47
|
+
"_useLocalStorageState-BWT4Z8eu.cjs": {
|
|
48
|
+
"file": "useLocalStorageState-BWT4Z8eu.cjs",
|
|
41
49
|
"name": "useLocalStorageState",
|
|
42
50
|
"imports": [
|
|
43
|
-
"
|
|
51
|
+
"_nivo-bar-U0TkOANS.cjs"
|
|
44
52
|
]
|
|
45
53
|
},
|
|
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
|
-
},
|
|
54
54
|
"src/contexts/index.ts": {
|
|
55
55
|
"file": "contexts.cjs.js",
|
|
56
56
|
"name": "contexts",
|
|
57
57
|
"src": "src/contexts/index.ts",
|
|
58
58
|
"isEntry": true,
|
|
59
59
|
"imports": [
|
|
60
|
-
"
|
|
61
|
-
"_FormDisabledProvider-
|
|
62
|
-
"_useLocalStorageState-
|
|
60
|
+
"_nivo-bar-U0TkOANS.cjs",
|
|
61
|
+
"_FormDisabledProvider-DmZDEoe7.cjs",
|
|
62
|
+
"_useLocalStorageState-BWT4Z8eu.cjs"
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
"src/hooks/index.ts": {
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"src": "src/hooks/index.ts",
|
|
69
69
|
"isEntry": true,
|
|
70
70
|
"imports": [
|
|
71
|
-
"
|
|
72
|
-
"_useLocalStorageState-
|
|
73
|
-
"
|
|
71
|
+
"_nivo-bar-U0TkOANS.cjs",
|
|
72
|
+
"_useLocalStorageState-BWT4Z8eu.cjs",
|
|
73
|
+
"_useEmployeePhotoPath-Q0EhpWOh.cjs"
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
76
|
"src/layout/index.ts": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"src": "src/layout/index.ts",
|
|
80
80
|
"isEntry": true,
|
|
81
81
|
"imports": [
|
|
82
|
-
"
|
|
82
|
+
"_nivo-bar-U0TkOANS.cjs"
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
85
|
"src/main.ts": {
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"src": "src/main.ts",
|
|
89
89
|
"isEntry": true,
|
|
90
90
|
"imports": [
|
|
91
|
-
"
|
|
92
|
-
"_FormDisabledProvider-
|
|
93
|
-
"
|
|
94
|
-
"_useLocalStorageState-
|
|
95
|
-
"
|
|
91
|
+
"_nivo-bar-U0TkOANS.cjs",
|
|
92
|
+
"_FormDisabledProvider-DmZDEoe7.cjs",
|
|
93
|
+
"_localStorageUtils-VI7zmTA0.cjs",
|
|
94
|
+
"_useLocalStorageState-BWT4Z8eu.cjs",
|
|
95
|
+
"_useEmployeePhotoPath-Q0EhpWOh.cjs"
|
|
96
96
|
]
|
|
97
97
|
},
|
|
98
98
|
"src/utils/index.ts": {
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"src": "src/utils/index.ts",
|
|
102
102
|
"isEntry": true,
|
|
103
103
|
"imports": [
|
|
104
|
-
"
|
|
105
|
-
"_localStorageUtils-
|
|
104
|
+
"_nivo-bar-U0TkOANS.cjs",
|
|
105
|
+
"_localStorageUtils-VI7zmTA0.cjs"
|
|
106
106
|
]
|
|
107
107
|
},
|
|
108
108
|
"style.css": {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsxs as d, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as t, t as _, a as l, bQ as g } from "./nivo-bar-DXK3wbjv.js";
|
|
3
|
+
const h = "_loading_obchl_1", u = "_spinner-grow_obchl_10", m = "_second_obchl_14", p = "_third_obchl_17", b = "_loadingBlock_obchl_21", f = "_sizeLine_obchl_29", w = "_sizeFill_obchl_36", e = {
|
|
4
|
+
loading: h,
|
|
5
|
+
spinnerGrow: u,
|
|
6
|
+
second: m,
|
|
7
|
+
third: p,
|
|
8
|
+
loadingBlock: b,
|
|
9
|
+
sizeLine: f,
|
|
10
|
+
sizeFill: w
|
|
11
|
+
}, x = () => /* @__PURE__ */ d("div", { className: t("luminus-loading", e.loading), children: [
|
|
12
|
+
/* @__PURE__ */ i("div", { className: t("spinner-grow", e.spinnerGrow, "text-primary"), role: "status" }),
|
|
13
|
+
/* @__PURE__ */ i("div", { className: t("spinner-grow", e.spinnerGrow, "text-primary", e.second), role: "status" }),
|
|
14
|
+
/* @__PURE__ */ i("div", { className: t("spinner-grow", e.spinnerGrow, "text-primary", e.third), role: "status" })
|
|
15
|
+
] });
|
|
16
|
+
function F(s, n) {
|
|
17
|
+
const o = _(s);
|
|
18
|
+
if (isNaN(n)) return l(s, NaN);
|
|
19
|
+
if (!n)
|
|
20
|
+
return o;
|
|
21
|
+
const a = o.getDate(), r = l(s, o.getTime());
|
|
22
|
+
r.setMonth(o.getMonth() + n + 1, 0);
|
|
23
|
+
const c = r.getDate();
|
|
24
|
+
return a >= c ? r : (o.setFullYear(
|
|
25
|
+
r.getFullYear(),
|
|
26
|
+
r.getMonth(),
|
|
27
|
+
a
|
|
28
|
+
), o);
|
|
29
|
+
}
|
|
30
|
+
function M(s, n) {
|
|
31
|
+
return F(s, n * 12);
|
|
32
|
+
}
|
|
33
|
+
const z = ({ children: s, disabled: n }) => /* @__PURE__ */ i(g.Provider, { value: n, children: s });
|
|
34
|
+
export {
|
|
35
|
+
z as F,
|
|
36
|
+
x as L,
|
|
37
|
+
F as a,
|
|
38
|
+
M as b,
|
|
39
|
+
e as c
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),s=require("./nivo-bar-U0TkOANS.cjs"),d="_loading_obchl_1",_="_spinner-grow_obchl_10",u="_second_obchl_14",g="_third_obchl_17",h="_loadingBlock_obchl_21",m="_sizeLine_obchl_29",p="_sizeFill_obchl_36",o={loading:d,spinnerGrow:_,second:u,third:g,loadingBlock:h,sizeLine:m,sizeFill:p},N=()=>i.jsxs("div",{className:s.classNames("luminus-loading",o.loading),children:[i.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary"),role:"status"}),i.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary",o.second),role:"status"}),i.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary",o.third),role:"status"})]});function c(e,n){const r=s.toDate(e);if(isNaN(n))return s.constructFrom(e,NaN);if(!n)return r;const a=r.getDate(),t=s.constructFrom(e,r.getTime());t.setMonth(r.getMonth()+n+1,0);const l=t.getDate();return a>=l?t:(r.setFullYear(t.getFullYear(),t.getMonth(),a),r)}function b(e,n){return c(e,n*12)}const x=({children:e,disabled:n})=>i.jsx(s.FormDisabledContext.Provider,{value:n,children:e});exports.FormDisabledProvider=x;exports.Loading=N;exports.addMonths=c;exports.addYears=b;exports.classes=o;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
color?:
|
|
1
|
+
type Props = React.ButtonHTMLAttributes<HTMLLabelElement> & {
|
|
2
|
+
color?: 'primary' | 'success' | 'danger' | 'warning';
|
|
3
3
|
icon?: React.ReactNode;
|
|
4
4
|
inputId?: string;
|
|
5
5
|
accept?: string;
|
|
6
6
|
onUpload: (fileList: FileList) => void;
|
|
7
7
|
multiple?: boolean;
|
|
8
8
|
children: React.ReactNode;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
|
+
declare const FileUploadContextButton: ({ ref, color, icon, inputId, accept, onUpload, className, children, multiple, ...props }: Props & {
|
|
11
|
+
ref?: React.RefObject<HTMLLabelElement | null>;
|
|
12
|
+
}) => import("react").JSX.Element;
|
|
10
13
|
export default FileUploadContextButton;
|
|
@@ -4,7 +4,10 @@ declare const useDocCreateFolderForm: () => {
|
|
|
4
4
|
formMethods: import('../../../../../../../../node_modules/react-hook-form').UseFormReturn<{
|
|
5
5
|
name: string;
|
|
6
6
|
documentTypeId: number;
|
|
7
|
-
}, any,
|
|
7
|
+
}, any, {
|
|
8
|
+
name: string;
|
|
9
|
+
documentTypeId: number;
|
|
10
|
+
}>;
|
|
8
11
|
onSubmit: SubmitHandler<{
|
|
9
12
|
name: string;
|
|
10
13
|
documentTypeId: number;
|
|
@@ -7,7 +7,12 @@ declare const useEditFileForm: (file: DocumentFileModel, handleClose: () => void
|
|
|
7
7
|
description: string | null;
|
|
8
8
|
validToDate: string;
|
|
9
9
|
documentTypeId: number;
|
|
10
|
-
}, any,
|
|
10
|
+
}, any, {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string | null;
|
|
13
|
+
validToDate: string;
|
|
14
|
+
documentTypeId: number;
|
|
15
|
+
}>;
|
|
11
16
|
onSubmit: SubmitHandler<{
|
|
12
17
|
name: string;
|
|
13
18
|
description: string | null;
|
|
@@ -87,5 +87,5 @@ export type DocumentsReducerAction = {
|
|
|
87
87
|
type: 'search-files';
|
|
88
88
|
searchString: string;
|
|
89
89
|
};
|
|
90
|
-
declare const useDocumentsReducer: () => (DocumentsReducerState | import('react').
|
|
90
|
+
declare const useDocumentsReducer: () => (DocumentsReducerState | import('react').ActionDispatch<[action: DocumentsReducerAction]>)[];
|
|
91
91
|
export default useDocumentsReducer;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
type Props = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
4
4
|
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
5
|
-
color?:
|
|
5
|
+
color?: 'primary' | 'success' | 'danger' | 'warning' | 'secondary';
|
|
6
6
|
icon?: React.ReactNode;
|
|
7
7
|
text?: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
children: React.ReactNode;
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
|
+
declare const SimpleDropdownToggle: ({ ref, color, icon, text, onClick, className, children, ...props }: Props & {
|
|
12
|
+
ref?: React.RefObject<HTMLButtonElement>;
|
|
13
|
+
}) => React.JSX.Element;
|
|
11
14
|
export default SimpleDropdownToggle;
|
|
@@ -5,5 +5,7 @@ type Props = {
|
|
|
5
5
|
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
};
|
|
8
|
-
declare const UserAvatarToggle:
|
|
8
|
+
declare const UserAvatarToggle: ({ ref, userName, onClick, children, }: Props & {
|
|
9
|
+
ref?: React.RefObject<HTMLButtonElement>;
|
|
10
|
+
}) => React.JSX.Element;
|
|
9
11
|
export default UserAvatarToggle;
|
|
@@ -7,7 +7,7 @@ import { default as HyperlinkColumn } from '../../models/ui/reports/HyperlinkCol
|
|
|
7
7
|
type Props = {
|
|
8
8
|
dataSource: DataSource;
|
|
9
9
|
settings?: ReportSettings;
|
|
10
|
-
pivotRef?: RefObject<Pivot>;
|
|
10
|
+
pivotRef?: RefObject<Pivot | null>;
|
|
11
11
|
enabled?: boolean;
|
|
12
12
|
localization: object;
|
|
13
13
|
licenseKey: string | string[] | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { Pivot } from 'react-flexmonster';
|
|
3
3
|
|
|
4
|
-
declare const useReportVersionApi: (reportType: string, pivotRef: RefObject<Pivot>, selectedReportVersion: number | null, afterSave: (versionId: number) => Promise<void>) => {
|
|
4
|
+
declare const useReportVersionApi: (reportType: string, pivotRef: RefObject<Pivot | null>, selectedReportVersion: number | null, afterSave: (versionId: number) => Promise<void>) => {
|
|
5
5
|
saveAs: () => Promise<void>;
|
|
6
6
|
save: () => Promise<void>;
|
|
7
7
|
archive: () => Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { default as ReportSettings } from '../../../models/ui/reports/ReportSett
|
|
|
7
7
|
|
|
8
8
|
declare const savedProperties: readonly ["slice", "options", "formats", "conditions"];
|
|
9
9
|
export type ReportSettingsProperties = (typeof savedProperties)[number];
|
|
10
|
-
export declare const getSettingsStringFromRef: (pivotRef: RefObject<Pivot>) => string;
|
|
10
|
+
export declare const getSettingsStringFromRef: (pivotRef: RefObject<Pivot | null>) => string;
|
|
11
11
|
export declare const parseSettings: (reportVersion: ReportVersionModel) => Flexmonster.Report;
|
|
12
12
|
export declare const getFullSettingsObject: (settings: ReportSettings | undefined) => ReportSettings;
|
|
13
13
|
export declare const isWannabeEmptyLabel: (data: Flexmonster.CellData) => boolean | undefined;
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
miniDetailPlacement?: 'top' | 'bottom' | 'left' | 'right';
|
|
8
8
|
};
|
|
9
|
-
declare const MiniDetailWrapper: ({ value, MiniDetailComponent, children, miniDetailPlacement, }: Props) => string | number | boolean | Iterable<import('react').ReactNode> | import("react").JSX.Element | null | undefined;
|
|
9
|
+
declare const MiniDetailWrapper: ({ value, MiniDetailComponent, children, miniDetailPlacement, }: Props) => string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
10
10
|
export default MiniDetailWrapper;
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as HookFormTextInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormTextInputProps';
|
|
2
2
|
|
|
3
|
-
declare const HookFormTextInput:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
required?: boolean;
|
|
7
|
-
onChange?: (value: string | number | boolean | null) => void;
|
|
8
|
-
} & {
|
|
9
|
-
type: "text" | "number" | "password" | "date" | "datetime-local" | "time";
|
|
10
|
-
list?: string;
|
|
11
|
-
step?: number | string;
|
|
12
|
-
CustomOnChangeComponent?: React.ReactElement;
|
|
13
|
-
noSelectOnFocus?: boolean;
|
|
14
|
-
minLength?: number;
|
|
15
|
-
maxLength?: number;
|
|
16
|
-
hint?: string;
|
|
17
|
-
autoComplete?: import('react').ComponentProps<typeof Form.Control>["autoComplete"];
|
|
18
|
-
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
3
|
+
declare const HookFormTextInput: ({ ref: inputRef, InputContainer, type, formField, label, placeholder, size, resetsFields, showClearIcon, clearValue, required, hidden, disabled, withoutLabel, list, step, CustomOnChangeComponent, noSelectOnFocus, minLength, maxLength, hint, onChange, className, autoComplete, }: HookFormTextInputProps & {
|
|
4
|
+
ref?: React.RefObject<HTMLInputElement>;
|
|
5
|
+
}) => import("react").JSX.Element;
|
|
19
6
|
export default HookFormTextInput;
|
|
@@ -1,41 +1,10 @@
|
|
|
1
|
+
import { default as InputContainerProps } from '../../../models/prop-types/InputContainerProps';
|
|
1
2
|
import { default as React } from 'react';
|
|
2
3
|
|
|
3
|
-
declare const FloatingLabelInput:
|
|
4
|
-
hidden
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
isForCheckInput?: boolean;
|
|
10
|
-
isForRadioInput?: boolean;
|
|
11
|
-
isForTextAreaInput?: boolean;
|
|
12
|
-
inputContainerClassName?: string;
|
|
13
|
-
hint?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
} & {
|
|
16
|
-
ref?: React.LegacyRef<HTMLDivElement>;
|
|
17
|
-
} & {
|
|
18
|
-
withoutLabel?: false;
|
|
19
|
-
label: string;
|
|
20
|
-
} & {
|
|
21
|
-
withoutLabel?: false;
|
|
22
|
-
}, "ref"> | Omit<{
|
|
23
|
-
hidden?: boolean;
|
|
24
|
-
children: React.ReactNode;
|
|
25
|
-
required?: boolean;
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
isInvalid?: boolean;
|
|
28
|
-
isForCheckInput?: boolean;
|
|
29
|
-
isForRadioInput?: boolean;
|
|
30
|
-
isForTextAreaInput?: boolean;
|
|
31
|
-
inputContainerClassName?: string;
|
|
32
|
-
hint?: string;
|
|
33
|
-
className?: string;
|
|
34
|
-
} & {
|
|
35
|
-
ref?: React.LegacyRef<HTMLDivElement>;
|
|
36
|
-
} & {
|
|
37
|
-
withoutLabel: true;
|
|
38
|
-
} & {
|
|
39
|
-
withoutLabel: true;
|
|
40
|
-
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const FloatingLabelInput: {
|
|
5
|
+
({ ref, hidden, children, className, isInvalid, isForRadioInput, inputContainerClassName, isForCheckInput, hint, required, disabled, ...props }: InputContainerProps & {
|
|
6
|
+
ref?: React.RefObject<HTMLDivElement | null>;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
41
10
|
export default FloatingLabelInput;
|
|
@@ -1,39 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
isForTextAreaInput?: boolean;
|
|
10
|
-
inputContainerClassName?: string;
|
|
11
|
-
hint?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
} & {
|
|
14
|
-
ref?: React.LegacyRef<HTMLDivElement>;
|
|
15
|
-
} & {
|
|
16
|
-
withoutLabel?: false;
|
|
17
|
-
label: string;
|
|
18
|
-
} & {
|
|
19
|
-
withoutLabel?: false;
|
|
20
|
-
}, "ref"> | Omit<{
|
|
21
|
-
hidden?: boolean;
|
|
22
|
-
children: React.ReactNode;
|
|
23
|
-
required?: boolean;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
isInvalid?: boolean;
|
|
26
|
-
isForCheckInput?: boolean;
|
|
27
|
-
isForRadioInput?: boolean;
|
|
28
|
-
isForTextAreaInput?: boolean;
|
|
29
|
-
inputContainerClassName?: string;
|
|
30
|
-
hint?: string;
|
|
31
|
-
className?: string;
|
|
32
|
-
} & {
|
|
33
|
-
ref?: React.LegacyRef<HTMLDivElement>;
|
|
34
|
-
} & {
|
|
35
|
-
withoutLabel: true;
|
|
36
|
-
} & {
|
|
37
|
-
withoutLabel: true;
|
|
38
|
-
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import { default as InputContainerProps } from '../../../models/prop-types/InputContainerProps';
|
|
2
|
+
|
|
3
|
+
declare const NoInputContainer: {
|
|
4
|
+
({ ref, children, className, hidden, }: InputContainerProps & {
|
|
5
|
+
ref?: React.RefObject<HTMLDivElement | null>;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
39
9
|
export default NoInputContainer;
|
|
@@ -1,39 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
required
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
isForTextAreaInput?: boolean;
|
|
10
|
-
inputContainerClassName?: string;
|
|
11
|
-
hint?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
} & {
|
|
14
|
-
ref?: React.LegacyRef<HTMLDivElement>;
|
|
15
|
-
} & {
|
|
16
|
-
withoutLabel?: false;
|
|
17
|
-
label: string;
|
|
18
|
-
} & {
|
|
19
|
-
withoutLabel?: false;
|
|
20
|
-
}, "ref"> | Omit<{
|
|
21
|
-
hidden?: boolean;
|
|
22
|
-
children: React.ReactNode;
|
|
23
|
-
required?: boolean;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
isInvalid?: boolean;
|
|
26
|
-
isForCheckInput?: boolean;
|
|
27
|
-
isForRadioInput?: boolean;
|
|
28
|
-
isForTextAreaInput?: boolean;
|
|
29
|
-
inputContainerClassName?: string;
|
|
30
|
-
hint?: string;
|
|
31
|
-
className?: string;
|
|
32
|
-
} & {
|
|
33
|
-
ref?: React.LegacyRef<HTMLDivElement>;
|
|
34
|
-
} & {
|
|
35
|
-
withoutLabel: true;
|
|
36
|
-
} & {
|
|
37
|
-
withoutLabel: true;
|
|
38
|
-
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import { default as InputContainerProps } from '../../../models/prop-types/InputContainerProps';
|
|
2
|
+
|
|
3
|
+
declare const RowLabelInput: {
|
|
4
|
+
({ ref, hidden, children, required, disabled, className, isInvalid, isForRadioInput, isForTextAreaInput, inputContainerClassName, hint, ...props }: InputContainerProps & {
|
|
5
|
+
ref?: React.RefObject<HTMLDivElement | null>;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
39
9
|
export default RowLabelInput;
|
|
@@ -4,7 +4,7 @@ import { default as PathParamsObject } from '../../../../models/ui/routes/PathPa
|
|
|
4
4
|
import { default as RouteInfo } from '../../../../models/ui/routes/RouteInfo';
|
|
5
5
|
import { ComponentProps, ReactNode } from 'react';
|
|
6
6
|
import { DropdownItem } from 'react-bootstrap';
|
|
7
|
-
import { Link } from 'react-router
|
|
7
|
+
import { Link } from 'react-router';
|
|
8
8
|
|
|
9
9
|
export type ResponsiveContextDropdownItemProps<SpecificRouteInfo extends RouteInfo = RouteInfo> = Omit<SharedProperties<ComponentProps<typeof ContextButton>, ComponentProps<typeof DropdownItem>>, 'as' | 'onCopy'> & {
|
|
10
10
|
/**
|
package/dist/components/ResponsiveContextDropdown/hooks/useReponsiveContextDropdownHelpers.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { ReactElement } from 'react';
|
|
|
3
3
|
|
|
4
4
|
declare const useReponsiveContextDropdownHelpers: () => {
|
|
5
5
|
getProcessedChildren: (children: Array<ResponsiveContextDropdownValidSimpleChildren> | ResponsiveContextDropdownValidSimpleChildren, screenSizeIndex: number) => {
|
|
6
|
-
buttons: ReactElement<
|
|
7
|
-
dropdownItems: ReactElement<
|
|
6
|
+
buttons: ReactElement<unknown, string | import('react').JSXElementConstructor<any>>[];
|
|
7
|
+
dropdownItems: ReactElement<unknown, string | import('react').JSXElementConstructor<any>>[];
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export default useReponsiveContextDropdownHelpers;
|
|
@@ -3,4 +3,4 @@ import { default as ResponsiveContextDropdownItem, ResponsiveContextDropdownItem
|
|
|
3
3
|
|
|
4
4
|
export declare const SIZE_ARRAY: readonly ["sm", "md", "lg", "always"];
|
|
5
5
|
export declare const responsiveContextDropdownItemDisplayName = "ResponsiveContextDropdownItem";
|
|
6
|
-
export declare const isResponsiveContextDropdownItem: (e: ReactElement) => e is ReactElement<ResponsiveContextDropdownItemProps, typeof ResponsiveContextDropdownItem>;
|
|
6
|
+
export declare const isResponsiveContextDropdownItem: (e: ReactElement<unknown>) => e is ReactElement<ResponsiveContextDropdownItemProps, typeof ResponsiveContextDropdownItem>;
|
|
@@ -3,9 +3,9 @@ import { OverlayDelay, OverlayTriggerType } from 'react-bootstrap/esm/OverlayTri
|
|
|
3
3
|
|
|
4
4
|
type TooltipProps = {
|
|
5
5
|
heading?: string | ReactNode;
|
|
6
|
-
content: ReactElement
|
|
6
|
+
content: ReactElement<unknown>;
|
|
7
7
|
placement: 'top' | 'bottom' | 'left' | 'right';
|
|
8
|
-
children: ReactElement
|
|
8
|
+
children: ReactElement<unknown>;
|
|
9
9
|
trigger?: OverlayTriggerType[];
|
|
10
10
|
popoverClassName?: string;
|
|
11
11
|
delay?: OverlayDelay;
|
|
@@ -4,7 +4,7 @@ import { OverlayDelay } from 'react-bootstrap/esm/OverlayTrigger';
|
|
|
4
4
|
type Props = {
|
|
5
5
|
text: string;
|
|
6
6
|
placement: 'top' | 'bottom' | 'left' | 'right';
|
|
7
|
-
children: ReactElement
|
|
7
|
+
children: ReactElement<unknown>;
|
|
8
8
|
delay?: OverlayDelay;
|
|
9
9
|
};
|
|
10
10
|
declare const SimpleTooltip: ({ text, placement, children, delay }: Props) => import("react").JSX.Element;
|
|
@@ -3,5 +3,5 @@ import { default as React } from 'react';
|
|
|
3
3
|
type Props = {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
};
|
|
6
|
-
declare const AuthTemplate: ({ children }: Props) => string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
6
|
+
declare const AuthTemplate: ({ children }: Props) => string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
|
|
7
7
|
export default AuthTemplate;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
1
|
+
import { default as React, ReactElement, ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
type ErrorBoundaryProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
|
-
fallback:
|
|
6
|
-
|
|
5
|
+
fallback: ReactElement<{
|
|
6
|
+
children: ReactNode[];
|
|
7
|
+
}>;
|
|
8
|
+
fallbackOn404?: ReactElement<{
|
|
9
|
+
children: ReactNode[];
|
|
10
|
+
}>;
|
|
7
11
|
navigateBack: () => void;
|
|
8
12
|
reloadButtonDisplay?: 'inject-to-child' | 'append-after-child' | 'none';
|
|
9
13
|
keyForErrorState?: string;
|
|
@@ -4,5 +4,7 @@ type FromToDatePickerDropdownToggleProps = {
|
|
|
4
4
|
onClick: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
5
5
|
text?: string;
|
|
6
6
|
};
|
|
7
|
-
declare const FromToDatePickerDropdownToggle:
|
|
7
|
+
declare const FromToDatePickerDropdownToggle: ({ ref, onClick, text, }: FromToDatePickerDropdownToggleProps & {
|
|
8
|
+
ref?: React.RefObject<HTMLDivElement | null>;
|
|
9
|
+
}) => React.JSX.Element;
|
|
8
10
|
export default FromToDatePickerDropdownToggle;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { default as OnlyAttrExtending } from '../../../../../models/types/common/OnlyAttrExtending';
|
|
2
2
|
import { default as LineChartValidKey } from '../../../../../models/types/lineChartTypes/LineChartValidKey';
|
|
3
3
|
import { default as LineChartValidValue } from '../../../../../models/types/lineChartTypes/LineChartValidValue';
|
|
4
|
-
import { PointTooltipProps } from '@nivo/line';
|
|
4
|
+
import { LineSeries, PointTooltipProps } from '@nivo/line';
|
|
5
5
|
|
|
6
6
|
type LineChartTooltipProps<DataType extends OnlyAttrExtending<DataType, LineChartValidValue>> = {
|
|
7
|
-
val: PointTooltipProps
|
|
7
|
+
val: PointTooltipProps<LineSeries>;
|
|
8
8
|
translateKey: (key: Extract<keyof DataType, LineChartValidKey>) => string;
|
|
9
9
|
data: ReadonlyArray<DataType>;
|
|
10
10
|
unit?: string;
|
|
@@ -40,6 +40,13 @@ declare const useSubstDetailForm: (subst: PermissionSubstituteModel | null, inde
|
|
|
40
40
|
employeeId: number;
|
|
41
41
|
substituteId: number;
|
|
42
42
|
roles: string[];
|
|
43
|
-
}, any,
|
|
43
|
+
}, any, {
|
|
44
|
+
id: number;
|
|
45
|
+
from: string;
|
|
46
|
+
to: string;
|
|
47
|
+
employeeId: number;
|
|
48
|
+
substituteId: number;
|
|
49
|
+
roles: string[];
|
|
50
|
+
}>;
|
|
44
51
|
};
|
|
45
52
|
export default useSubstDetailForm;
|