@cagatayfdn/flora-components 0.0.149 → 0.0.150
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/{RealtimeLogModal-gZOv7y-z.js → ErrorLogModal-DhlD9tNj.js} +1353 -1291
- package/dist/ErrorLogModal.css +1 -1
- package/dist/ReactToastify.css +1 -1
- package/dist/components/ErrorLogModal/ErrorLogModal.js +18 -52
- package/dist/components/RealtimeLogModal/RealtimeLogModal.js +1 -1
- package/dist/components/index.js +98 -97
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +146 -145
- package/dist/main.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/table.js +1 -1
- package/package.json +1 -1
- package/dist/RealtimeLogModal.css +0 -1
|
@@ -1,71 +1,37 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
+
import "react";
|
|
3
3
|
import "../../index-BHf7G3IG.js";
|
|
4
|
+
import { E as J } from "../../ErrorLogModal-DhlD9tNj.js";
|
|
4
5
|
import "../../hooks/useAauth.js";
|
|
6
|
+
import "../../hooks/useNiceModal.js";
|
|
7
|
+
import "../Drawer/Provider.js";
|
|
8
|
+
import "../Icon/index.js";
|
|
9
|
+
import "../../index-H7XbDVmH.js";
|
|
5
10
|
import "../../assets/images/500_error_2x.gif";
|
|
6
11
|
import "../../locales/i18n.js";
|
|
7
|
-
import "react";
|
|
8
12
|
import "../Tooltip/Tooltip.js";
|
|
9
13
|
import "../../react-toastify.esm-BUWNP7Nm.js";
|
|
10
14
|
import "../../utils/date.js";
|
|
11
15
|
import "../Input/Input.js";
|
|
12
|
-
import
|
|
16
|
+
import "../ScrollContainer/ScrollContainer.js";
|
|
13
17
|
import "../Charts/index.js";
|
|
14
18
|
import "../Checkbox/Checkbox.js";
|
|
15
19
|
import "../Confirm/Confirm.js";
|
|
16
20
|
import "../Datepicker/Datepicker.js";
|
|
17
|
-
import
|
|
18
|
-
import "../Drawer/Provider.js";
|
|
21
|
+
import "../Divider/Divider.js";
|
|
19
22
|
import "../FileUpload/FileUpload.js";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import "../../RealtimeLogModal-gZOv7y-z.js";
|
|
23
|
+
import "../Modal/Modal.js";
|
|
24
|
+
import "../Grid/Column.js";
|
|
25
|
+
import "../Grid/Row.js";
|
|
26
|
+
import "../InfoDate/InfoDate.js";
|
|
25
27
|
import "../../Select-nhp2PiJK.js";
|
|
26
28
|
import "../StatusTag/StatusTag.js";
|
|
27
29
|
import "../Switch/Switch.js";
|
|
28
30
|
import "../Textarea/Textarea.js";
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
dropdownMenu: g,
|
|
34
|
-
dropdownMenu__lg: j,
|
|
35
|
-
dropdownMenu__md: f,
|
|
36
|
-
dropdownMenu__sm: b,
|
|
37
|
-
active: N,
|
|
38
|
-
icon: v,
|
|
39
|
-
title: L,
|
|
40
|
-
disabled: T
|
|
41
|
-
}, y = ({ id: i, onClose: n, errors: t }) => {
|
|
42
|
-
const { t: d } = h(), [, p] = w(i), _ = () => {
|
|
43
|
-
p(), n && n();
|
|
44
|
-
};
|
|
45
|
-
return /* @__PURE__ */ o.jsx(
|
|
46
|
-
x,
|
|
47
|
-
{
|
|
48
|
-
onClose: _,
|
|
49
|
-
className: l.realTimeLogModalStyle,
|
|
50
|
-
header: /* @__PURE__ */ o.jsx("div", { className: l.modalHeader, children: d("title.error_log") }),
|
|
51
|
-
children: /* @__PURE__ */ o.jsx(c, { children: t ? t.map((r) => /* @__PURE__ */ o.jsxs("div", { className: "container-fluid", children: [
|
|
52
|
-
/* @__PURE__ */ o.jsxs(u, { children: [
|
|
53
|
-
/* @__PURE__ */ o.jsxs(e, { children: [
|
|
54
|
-
/* @__PURE__ */ o.jsx("b", { children: `${d("label.created_date")}:` }),
|
|
55
|
-
/* @__PURE__ */ o.jsx(a, { date: r == null ? void 0 : r.created_date })
|
|
56
|
-
] }),
|
|
57
|
-
/* @__PURE__ */ o.jsxs(e, { children: [
|
|
58
|
-
/* @__PURE__ */ o.jsx("b", { children: `${d("label.date_updated")}:` }),
|
|
59
|
-
/* @__PURE__ */ o.jsx(a, { date: r == null ? void 0 : r.update_date })
|
|
60
|
-
] })
|
|
61
|
-
] }),
|
|
62
|
-
/* @__PURE__ */ o.jsx(s, { className: "mt-4 mb-4" }),
|
|
63
|
-
/* @__PURE__ */ o.jsx("p", { className: "pre-line", children: r == null ? void 0 : r.log_data }),
|
|
64
|
-
/* @__PURE__ */ o.jsx(s, { className: "mt-4 mb-4" })
|
|
65
|
-
] }, r == null ? void 0 : r.id)) : /* @__PURE__ */ o.jsx(M, { i18nKey: "text.not_found", values: { dataname: "Log" } }) })
|
|
66
|
-
}
|
|
67
|
-
);
|
|
68
|
-
}, eo = m.create(y);
|
|
31
|
+
import "../../utils/yup.js";
|
|
32
|
+
import '../../ReactToastify.css';/* empty css */
|
|
33
|
+
import "../../useTranslation-CnCPcxVj.js";
|
|
34
|
+
import "../../Trans-B4ILpbwK.js";
|
|
69
35
|
export {
|
|
70
|
-
|
|
36
|
+
J as default
|
|
71
37
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { R as H } from "../../
|
|
3
|
+
import { R as H } from "../../ErrorLogModal-DhlD9tNj.js";
|
|
4
4
|
import "../../helper-1SQ9SI45.js";
|
|
5
5
|
import "../../index-BHf7G3IG.js";
|
|
6
6
|
import "../../utils/date.js";
|
package/dist/components/index.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import { default as r } from "./Button/Button.js";
|
|
2
2
|
import { N as t } from "../index-H7XbDVmH.js";
|
|
3
3
|
import { PermFallBack as l, getAuth as d } from "./AuthUserCan/index.js";
|
|
4
|
-
import { Accordion as m, AccordionItem as
|
|
4
|
+
import { Accordion as m, AccordionItem as s } from "./Accordion/Accordion.js";
|
|
5
5
|
import { default as u } from "./ActionButton/ActionButton.js";
|
|
6
6
|
import { default as n } from "./AlertCard/AlertCard.js";
|
|
7
|
-
import { default as
|
|
7
|
+
import { default as g } from "./AuthUserCan/Permission.js";
|
|
8
8
|
import { default as T } from "./Autocomplete/Autocomplete.js";
|
|
9
9
|
import { default as S } from "./Avatar/Avatar.js";
|
|
10
10
|
import { default as P } from "./Card/Card.js";
|
|
11
11
|
import { default as h } from "./Charts/index.js";
|
|
12
12
|
import { default as A } from "./Checkbox/Checkbox.js";
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
13
|
+
import { default as R } from "./Config/Config.js";
|
|
14
|
+
import { default as D } from "./Confirm/Confirm.js";
|
|
15
15
|
import { default as B } from "./ContentHeader/ContentHeader.js";
|
|
16
16
|
import { default as U } from "./ContentLoader/ContentLoader.js";
|
|
17
17
|
import { default as y } from "./Countdown/Countdown.js";
|
|
18
|
-
import { default as
|
|
18
|
+
import { default as H } from "./Datepicker/Datepicker.js";
|
|
19
19
|
import { default as W } from "./Divider/Divider.js";
|
|
20
20
|
import { default as q } from "./Drawer/index.js";
|
|
21
21
|
import { default as G } from "./Dropdown/DropdownList.js";
|
|
22
|
-
import {
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as Ro } from "./
|
|
40
|
-
import { default as Do } from "./
|
|
41
|
-
import { default as
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { default as Ho } from "./
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import {
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { S as
|
|
53
|
-
import { default as
|
|
54
|
-
import { M as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
22
|
+
import { E as K, R as O } from "../ErrorLogModal-DhlD9tNj.js";
|
|
23
|
+
import { default as X } from "./FileUpload/FileUpload.js";
|
|
24
|
+
import { default as Z } from "./FileUpload/ImagePreview.js";
|
|
25
|
+
import { default as $ } from "./FileUpload/LengthCard.js";
|
|
26
|
+
import { default as eo } from "./FileUpload/PreviewModal.js";
|
|
27
|
+
import { default as ao } from "./Grid/Column.js";
|
|
28
|
+
import { default as fo } from "./Grid/Row.js";
|
|
29
|
+
import { default as po } from "./Heading/Heading.js";
|
|
30
|
+
import { default as so } from "./Icon/index.js";
|
|
31
|
+
import { default as uo } from "./IconBox/IconBox.js";
|
|
32
|
+
import { default as no } from "./InfiniteScroll/InfiniteScroll.js";
|
|
33
|
+
import { default as go } from "./InfoBoxList/InfoBoxList.js";
|
|
34
|
+
import { createConnectedService as To } from "./InfoBoxList/helper.js";
|
|
35
|
+
import { default as So } from "./InfoDate/InfoDate.js";
|
|
36
|
+
import { InfoText as Po } from "./InfoText/InfoText.js";
|
|
37
|
+
import { default as ho } from "./Input/Input.js";
|
|
38
|
+
import { default as Ao } from "./Label/Label.js";
|
|
39
|
+
import { default as Ro } from "./Loading/Loading.js";
|
|
40
|
+
import { default as Do } from "./Modal/Modal.js";
|
|
41
|
+
import { default as Bo } from "./NavigatorCard/index.js";
|
|
42
|
+
import { default as Uo } from "./NoResult/NoResult.js";
|
|
43
|
+
import { Notification as yo } from "./Notification/Notification.js";
|
|
44
|
+
import { default as Ho } from "./PageWrapper/PageWrap.js";
|
|
45
|
+
import { default as Wo } from "./Pager/Pager.js";
|
|
46
|
+
import { default as qo } from "./Panel/Panel.js";
|
|
47
|
+
import { default as Go } from "./PermaLink/PermaLink.js";
|
|
48
|
+
import { default as Ko, RadioList as Oo } from "./Radio/Radio.js";
|
|
49
|
+
import { default as Xo } from "./ResultError/ResultError.js";
|
|
50
|
+
import { default as Zo } from "./ScrollContainer/ScrollContainer.js";
|
|
51
|
+
import { default as $o } from "./Select/NoData.js";
|
|
52
|
+
import { S as ee } from "../Select-nhp2PiJK.js";
|
|
53
|
+
import { default as ae } from "./Sidebar/index.js";
|
|
54
|
+
import { M as fe } from "../MenuItem-Df6Zsa7E.js";
|
|
55
|
+
import { default as de } from "./StatusTag/StatusTag.js";
|
|
56
|
+
import { default as me } from "./StatusTypography/StatusTypography.js";
|
|
57
57
|
import { default as xe } from "./Stepper/Stepper.js";
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
58
|
+
import { default as ie } from "./Switch/Switch.js";
|
|
59
|
+
import { default as ce } from "./Tab/Tab.js";
|
|
60
60
|
import { default as Ce } from "./Table/Table.js";
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
61
|
+
import { default as Ie } from "./Table/TableHeader.js";
|
|
62
|
+
import { default as Le } from "./Table/TableSort.js";
|
|
63
|
+
import { default as be } from "./Textarea/Textarea.js";
|
|
64
|
+
import { default as we } from "./Tooltip/Tooltip.js";
|
|
65
|
+
import { default as Me } from "./TypographyText/TypographyText.js";
|
|
66
66
|
import { default as ve } from "./UserInfo/UserInfo.js";
|
|
67
|
-
import { default as
|
|
67
|
+
import { default as Ne } from "./ValidationError/ValidationError.js";
|
|
68
68
|
export {
|
|
69
69
|
m as Accordion,
|
|
70
|
-
|
|
70
|
+
s as AccordionItem,
|
|
71
71
|
u as ActionButton,
|
|
72
72
|
n as AlertCard,
|
|
73
73
|
T as Autocomplete,
|
|
@@ -76,64 +76,65 @@ export {
|
|
|
76
76
|
P as Card,
|
|
77
77
|
h as Chart,
|
|
78
78
|
A as Checkbox,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
ao as Column,
|
|
80
|
+
R as Config,
|
|
81
|
+
D as Confirm,
|
|
82
82
|
B as ContentHeader,
|
|
83
83
|
U as ContentLoader,
|
|
84
84
|
y as Countdown,
|
|
85
|
-
|
|
85
|
+
H as Datepicker,
|
|
86
86
|
W as Divider,
|
|
87
87
|
q as Drawer,
|
|
88
88
|
G as DropdownList,
|
|
89
|
-
K as
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
go as
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
Do as
|
|
89
|
+
K as ErrorLogModal,
|
|
90
|
+
X as FileUpload,
|
|
91
|
+
Z as FileUploadImagePreview,
|
|
92
|
+
$ as FileUploadLengthCard,
|
|
93
|
+
eo as FileUploadPreviewModal,
|
|
94
|
+
po as Heading,
|
|
95
|
+
so as Icon,
|
|
96
|
+
uo as IconBox,
|
|
97
|
+
no as InfiniteScroll,
|
|
98
|
+
go as InfoBoxList,
|
|
99
|
+
So as InfoDate,
|
|
100
|
+
Po as InfoText,
|
|
101
|
+
ho as Input,
|
|
102
|
+
Ao as Label,
|
|
103
|
+
Ro as Loading,
|
|
104
|
+
fe as MenuItem,
|
|
105
|
+
Do as Modal,
|
|
106
|
+
Bo as NavigatorCard,
|
|
106
107
|
t as NiceModal,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
108
|
+
$o as NoData,
|
|
109
|
+
Uo as NoResult,
|
|
110
|
+
yo as Notification,
|
|
111
|
+
Ho as PageWrapper,
|
|
112
|
+
Wo as Pager,
|
|
113
|
+
qo as Panel,
|
|
113
114
|
l as PermFallBack,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
115
|
+
Go as PermaLink,
|
|
116
|
+
g as Permission,
|
|
117
|
+
Ko as Radio,
|
|
118
|
+
Oo as RadioList,
|
|
119
|
+
O as RealTimeLogModal,
|
|
120
|
+
Xo as ResultError,
|
|
121
|
+
fo as Row,
|
|
122
|
+
Zo as ScrollContainer,
|
|
123
|
+
ee as Select,
|
|
124
|
+
ae as Sidebar,
|
|
125
|
+
de as StatusTag,
|
|
126
|
+
me as StatusTypography,
|
|
126
127
|
xe as Stepper,
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
ie as Switch,
|
|
129
|
+
ce as Tab,
|
|
129
130
|
Ce as Table,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
131
|
+
Ie as TableHeader,
|
|
132
|
+
Le as TableSort,
|
|
133
|
+
be as Textarea,
|
|
134
|
+
we as Tooltip,
|
|
135
|
+
Me as TypographyText,
|
|
135
136
|
ve as UserInfo,
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
Ne as ValidationError,
|
|
138
|
+
To as createConnectedService,
|
|
138
139
|
d as getAuth
|
|
139
140
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -498,6 +498,14 @@ export declare type DropdownListProps = {
|
|
|
498
498
|
isDisabled?: boolean;
|
|
499
499
|
};
|
|
500
500
|
|
|
501
|
+
export declare const ErrorLogModal: FC<ErrorLogModalProps & NiceModalHocProps>;
|
|
502
|
+
|
|
503
|
+
declare type ErrorLogModalProps = {
|
|
504
|
+
onClose?: () => void;
|
|
505
|
+
errors: GetDeployErrorLogsEntitiy[];
|
|
506
|
+
id: string;
|
|
507
|
+
};
|
|
508
|
+
|
|
501
509
|
export declare interface EventProps<T = HTMLElement> {
|
|
502
510
|
onClick?: (e: React.MouseEvent<T>) => void;
|
|
503
511
|
onFocus?: (e: React.FocusEvent<T>) => void;
|
|
@@ -700,6 +708,13 @@ export declare function getCurrentLanguage(): string;
|
|
|
700
708
|
|
|
701
709
|
export declare function getDatepickerLocale(): "en" | CustomLocale;
|
|
702
710
|
|
|
711
|
+
export declare interface GetDeployErrorLogsEntitiy {
|
|
712
|
+
id: number;
|
|
713
|
+
created_date: string;
|
|
714
|
+
update_date: string;
|
|
715
|
+
log_data: string;
|
|
716
|
+
}
|
|
717
|
+
|
|
703
718
|
export declare const Heading: React_2.FC<HeadingProps>;
|
|
704
719
|
|
|
705
720
|
export declare type HeadingProps = {
|
package/dist/index.d.ts
CHANGED
|
@@ -498,6 +498,14 @@ export declare type DropdownListProps = {
|
|
|
498
498
|
isDisabled?: boolean;
|
|
499
499
|
};
|
|
500
500
|
|
|
501
|
+
export declare const ErrorLogModal: FC<ErrorLogModalProps & NiceModalHocProps>;
|
|
502
|
+
|
|
503
|
+
declare type ErrorLogModalProps = {
|
|
504
|
+
onClose?: () => void;
|
|
505
|
+
errors: GetDeployErrorLogsEntitiy[];
|
|
506
|
+
id: string;
|
|
507
|
+
};
|
|
508
|
+
|
|
501
509
|
export declare interface EventProps<T = HTMLElement> {
|
|
502
510
|
onClick?: (e: React.MouseEvent<T>) => void;
|
|
503
511
|
onFocus?: (e: React.FocusEvent<T>) => void;
|
|
@@ -700,6 +708,13 @@ export declare function getCurrentLanguage(): string;
|
|
|
700
708
|
|
|
701
709
|
export declare function getDatepickerLocale(): "en" | CustomLocale;
|
|
702
710
|
|
|
711
|
+
export declare interface GetDeployErrorLogsEntitiy {
|
|
712
|
+
id: number;
|
|
713
|
+
created_date: string;
|
|
714
|
+
update_date: string;
|
|
715
|
+
log_data: string;
|
|
716
|
+
}
|
|
717
|
+
|
|
703
718
|
export declare const Heading: React_2.FC<HeadingProps>;
|
|
704
719
|
|
|
705
720
|
export declare type HeadingProps = {
|