@cagatayfdn/flora-components 0.0.147 → 0.0.149

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/index.js CHANGED
@@ -1,84 +1,87 @@
1
- import { AppAndServicesStatusApperenceType as o, AppearanceAlertCard as a, AppearanceButton as t, AppearanceDirection as f, AppearanceSpinner as p, AppearanceTag as l, DividerAppearance as u, FormFieldAppearance as d, ModalAppearanceType as m, NotificationAppearanceType as s, ThemeAppearance as x } from "./enums/appearance.js";
1
+ import { AppAndServicesStatusApperenceType as o, AppearanceAlertCard as a, AppearanceButton as t, AppearanceDirection as f, AppearanceSpinner as p, AppearanceTag as l, DividerAppearance as s, FormFieldAppearance as m, ModalAppearanceType as u, NotificationAppearanceType as d, ThemeAppearance as x } from "./enums/appearance.js";
2
2
  import { ApplicationTypeSlug as i } from "./enums/applicationTypeSlug.js";
3
3
  import { isActiveColor as A } from "./enums/isActiveColor.js";
4
4
  import { Size as E } from "./enums/size.js";
5
- import { AppTypeEnum as C, CopyTextStatusEnum as S, PodStatusEnum as D, ReportStatus as I, SortEnum as M, StatusEnum as R, StatusType as g, TagStatus as N } from "./enums/status.js";
6
- import { default as F } from "./components/Button/Button.js";
5
+ import { AppTypeEnum as C, CopyTextStatusEnum as I, PodStatusEnum as R, ReportStatus as S, SortEnum as D, StatusEnum as M, StatusType as g, TagStatus as F } from "./enums/status.js";
6
+ import { default as N } from "./components/Button/Button.js";
7
7
  import { N as y } from "./index-H7XbDVmH.js";
8
- import { PermFallBack as h, getAuth as v } from "./components/AuthUserCan/index.js";
8
+ import { PermFallBack as P, getAuth as v } from "./components/AuthUserCan/index.js";
9
9
  import { Accordion as w, AccordionItem as B } from "./components/Accordion/Accordion.js";
10
10
  import { default as H } from "./components/ActionButton/ActionButton.js";
11
11
  import { default as V } from "./components/AlertCard/AlertCard.js";
12
12
  import { default as j } from "./components/AuthUserCan/Permission.js";
13
13
  import { default as K } from "./components/Autocomplete/Autocomplete.js";
14
- import { default as Y } from "./components/Card/Card.js";
15
- import { default as G } from "./components/Charts/index.js";
16
- import { default as X } from "./components/Checkbox/Checkbox.js";
17
- import { default as $ } from "./components/Config/Config.js";
18
- import { default as re } from "./components/Confirm/Confirm.js";
19
- import { default as ae } from "./components/ContentHeader/ContentHeader.js";
20
- import { default as fe } from "./components/ContentLoader/ContentLoader.js";
21
- import { default as le } from "./components/Countdown/Countdown.js";
14
+ import { default as Y } from "./components/Avatar/Avatar.js";
15
+ import { default as G } from "./components/Card/Card.js";
16
+ import { default as X } from "./components/Charts/index.js";
17
+ import { default as $ } from "./components/Checkbox/Checkbox.js";
18
+ import { default as re } from "./components/Config/Config.js";
19
+ import { default as ae } from "./components/Confirm/Confirm.js";
20
+ import { default as fe } from "./components/ContentHeader/ContentHeader.js";
21
+ import { default as le } from "./components/ContentLoader/ContentLoader.js";
22
+ import { default as me } from "./components/Countdown/Countdown.js";
22
23
  import { default as de } from "./components/Datepicker/Datepicker.js";
23
- import { default as se } from "./components/Divider/Divider.js";
24
- import { default as ne } from "./components/Drawer/index.js";
25
- import { default as Te } from "./components/Dropdown/DropdownList.js";
26
- import { default as ce } from "./components/FileUpload/FileUpload.js";
27
- import { default as _e } from "./components/FileUpload/ImagePreview.js";
24
+ import { default as ne } from "./components/Divider/Divider.js";
25
+ import { default as Te } from "./components/Drawer/index.js";
26
+ import { default as ce } from "./components/Dropdown/DropdownList.js";
27
+ import { default as _e } from "./components/FileUpload/FileUpload.js";
28
+ import { default as Ie } from "./components/FileUpload/ImagePreview.js";
28
29
  import { default as Se } from "./components/FileUpload/LengthCard.js";
29
- import { default as Ie } from "./components/FileUpload/PreviewModal.js";
30
- import { default as Re } from "./components/Grid/Column.js";
30
+ import { default as Me } from "./components/FileUpload/PreviewModal.js";
31
+ import { default as Fe } from "./components/Grid/Column.js";
31
32
  import { default as Ne } from "./components/Grid/Row.js";
32
- import { default as Fe } from "./components/Heading/Heading.js";
33
- import { default as ye } from "./components/Icon/index.js";
34
- import { default as he } from "./components/IconBox/IconBox.js";
35
- import { default as be } from "./components/InfiniteScroll/InfiniteScroll.js";
36
- import { default as Be } from "./components/InfoBoxList/InfoBoxList.js";
37
- import { createConnectedService as He } from "./components/InfoBoxList/helper.js";
38
- import { default as Ve } from "./components/InfoDate/InfoDate.js";
39
- import { InfoText as je } from "./components/InfoText/InfoText.js";
40
- import { default as Ke } from "./components/Input/Input.js";
41
- import { default as Ye } from "./components/Label/Label.js";
42
- import { default as Ge } from "./components/Loading/Loading.js";
43
- import { default as Xe } from "./components/Modal/Modal.js";
44
- import { default as $e } from "./components/NavigatorCard/index.js";
45
- import { default as rr } from "./components/NoResult/NoResult.js";
46
- import { Notification as ar } from "./components/Notification/Notification.js";
47
- import { default as fr } from "./components/PageWrapper/PageWrap.js";
48
- import { default as lr } from "./components/Pager/Pager.js";
33
+ import { default as ye } from "./components/Heading/Heading.js";
34
+ import { default as Pe } from "./components/Icon/index.js";
35
+ import { default as be } from "./components/IconBox/IconBox.js";
36
+ import { default as Be } from "./components/InfiniteScroll/InfiniteScroll.js";
37
+ import { default as He } from "./components/InfoBoxList/InfoBoxList.js";
38
+ import { createConnectedService as Ve } from "./components/InfoBoxList/helper.js";
39
+ import { default as je } from "./components/InfoDate/InfoDate.js";
40
+ import { InfoText as Ke } from "./components/InfoText/InfoText.js";
41
+ import { default as Ye } from "./components/Input/Input.js";
42
+ import { default as Ge } from "./components/Label/Label.js";
43
+ import { default as Xe } from "./components/Loading/Loading.js";
44
+ import { default as $e } from "./components/Modal/Modal.js";
45
+ import { default as rr } from "./components/NavigatorCard/index.js";
46
+ import { default as ar } from "./components/NoResult/NoResult.js";
47
+ import { Notification as fr } from "./components/Notification/Notification.js";
48
+ import { default as lr } from "./components/PageWrapper/PageWrap.js";
49
+ import { default as mr } from "./components/Pager/Pager.js";
49
50
  import { default as dr } from "./components/Panel/Panel.js";
50
- import { default as sr } from "./components/PermaLink/PermaLink.js";
51
- import { default as nr, RadioList as ir } from "./components/Radio/Radio.js";
52
- import { default as Ar } from "./components/ResultError/ResultError.js";
53
- import { default as Er } from "./components/ScrollContainer/ScrollContainer.js";
54
- import { default as Cr } from "./components/Select/NoData.js";
55
- import { S as Dr } from "./Select-BE_y91ZN.js";
56
- import { default as Mr } from "./components/Sidebar/index.js";
57
- import { M as gr } from "./MenuItem-Df6Zsa7E.js";
58
- import { default as Lr } from "./components/StatusTag/StatusTag.js";
59
- import { default as Or } from "./components/StatusTypography/StatusTypography.js";
60
- import { default as Pr } from "./components/Stepper/Stepper.js";
61
- import { default as vr } from "./components/Switch/Switch.js";
62
- import { default as wr } from "./components/Tab/Tab.js";
63
- import { default as kr } from "./components/Table/Table.js";
64
- import { default as Ur } from "./components/Table/TableHeader.js";
65
- import { default as Wr } from "./components/Table/TableSort.js";
66
- import { default as zr } from "./components/Textarea/Textarea.js";
67
- import { default as Qr } from "./components/Tooltip/Tooltip.js";
68
- import { default as qr } from "./components/TypographyText/TypographyText.js";
69
- import { default as Jr } from "./components/ValidationError/ValidationError.js";
70
- import { AuthProvider as Zr, useAuth as $r } from "./hooks/useAauth.js";
71
- import { default as ro } from "./hooks/useDisclosure.js";
72
- import { default as ao } from "./hooks/useNiceModal.js";
73
- import { default as fo } from "./hooks/useMediaQuery.js";
74
- import { useDrawerContext as lo } from "./components/Drawer/Provider.js";
75
- import { default as mo } from "./hooks/useDrawer.js";
76
- import { default as xo, t as no } from "./locales/i18n.js";
77
- import { CLIENT_DATE_AND_TIME_FORMAT as To, CLIENT_DATE_AND_TIME_SHORT_FORMAT as Ao, CLIENT_DATE_COMPARE_FORMAT as co, CLIENT_DATE_FILTER_FORMAT as Eo, CLIENT_DATE_SHORT_FORMAT as _o, CLIENT_TIME_FORMAT as Co, CLIENT_TIME_FORMAT_PICKER as So, DateFormats as Do, MIN_DATE_TODAY as Io, MIN_DATE_TOMORROW as Mo, SERVER_DATE_AND_TIME_FORMAT as Ro, SERVER_DATE_FORMAT as go, default as No, friendlyDate as Lo } from "./utils/date.js";
78
- import { changeLanguage as Oo, getCurrentLanguage as yo, getDatepickerLocale as Po } from "./utils/language.js";
79
- import { TableActions as vo, TableColumns as bo } from "./utils/table.js";
80
- import { default as Bo } from "./prodivers.js";
81
- import { f as Ho, p as Uo } from "./helper-lFjvXQpv.js";
51
+ import { default as nr } from "./components/PermaLink/PermaLink.js";
52
+ import { default as Tr, RadioList as Ar } from "./components/Radio/Radio.js";
53
+ import { R as Er, T as _r, a as Cr } from "./RealtimeLogModal-gZOv7y-z.js";
54
+ import { default as Rr } from "./components/ResultError/ResultError.js";
55
+ import { default as Dr } from "./components/ScrollContainer/ScrollContainer.js";
56
+ import { default as gr } from "./components/Select/NoData.js";
57
+ import { S as Lr } from "./Select-nhp2PiJK.js";
58
+ import { default as Or } from "./components/Sidebar/index.js";
59
+ import { M as hr } from "./MenuItem-Df6Zsa7E.js";
60
+ import { default as vr } from "./components/StatusTag/StatusTag.js";
61
+ import { default as wr } from "./components/StatusTypography/StatusTypography.js";
62
+ import { default as kr } from "./components/Stepper/Stepper.js";
63
+ import { default as Ur } from "./components/Switch/Switch.js";
64
+ import { default as Wr } from "./components/Tab/Tab.js";
65
+ import { default as zr } from "./components/Table/Table.js";
66
+ import { default as Qr } from "./components/Table/TableHeader.js";
67
+ import { default as qr } from "./components/Table/TableSort.js";
68
+ import { default as Jr } from "./components/Textarea/Textarea.js";
69
+ import { default as Zr } from "./components/Tooltip/Tooltip.js";
70
+ import { default as eo } from "./components/TypographyText/TypographyText.js";
71
+ import { default as oo } from "./components/UserInfo/UserInfo.js";
72
+ import { default as to } from "./components/ValidationError/ValidationError.js";
73
+ import { AuthProvider as po, useAuth as lo } from "./hooks/useAauth.js";
74
+ import { default as mo } from "./hooks/useDisclosure.js";
75
+ import { default as xo } from "./hooks/useNiceModal.js";
76
+ import { default as io } from "./hooks/useMediaQuery.js";
77
+ import { useDrawerContext as Ao } from "./components/Drawer/Provider.js";
78
+ import { default as Eo } from "./hooks/useDrawer.js";
79
+ import { default as Co, t as Io } from "./locales/i18n.js";
80
+ import { CLIENT_DATE_AND_TIME_FORMAT as So, CLIENT_DATE_AND_TIME_SHORT_FORMAT as Do, CLIENT_DATE_COMPARE_FORMAT as Mo, CLIENT_DATE_FILTER_FORMAT as go, CLIENT_DATE_SHORT_FORMAT as Fo, CLIENT_TIME_FORMAT as Lo, CLIENT_TIME_FORMAT_PICKER as No, DateFormats as Oo, MIN_DATE_TODAY as yo, MIN_DATE_TOMORROW as ho, SERVER_DATE_AND_TIME_FORMAT as Po, SERVER_DATE_FORMAT as vo, default as bo, friendlyDate as wo } from "./utils/date.js";
81
+ import { startFetcher as ko, startFormFetcher as Ho } from "./utils/fetcher.js";
82
+ import { changeLanguage as Vo, getCurrentLanguage as Wo, getDatepickerLocale as jo } from "./utils/language.js";
83
+ import { default as Ko } from "./prodivers.js";
84
+ import { f as Yo, p as qo } from "./helper-1SQ9SI45.js";
82
85
  export {
83
86
  w as Accordion,
84
87
  B as AccordionItem,
@@ -92,112 +95,117 @@ export {
92
95
  p as AppearanceSpinner,
93
96
  l as AppearanceTag,
94
97
  i as ApplicationTypeSlug,
95
- Zr as AuthProvider,
98
+ po as AuthProvider,
96
99
  K as Autocomplete,
97
- F as Button,
98
- To as CLIENT_DATE_AND_TIME_FORMAT,
99
- Ao as CLIENT_DATE_AND_TIME_SHORT_FORMAT,
100
- co as CLIENT_DATE_COMPARE_FORMAT,
101
- Eo as CLIENT_DATE_FILTER_FORMAT,
102
- _o as CLIENT_DATE_SHORT_FORMAT,
103
- Co as CLIENT_TIME_FORMAT,
104
- So as CLIENT_TIME_FORMAT_PICKER,
105
- Y as Card,
106
- G as Chart,
107
- X as Checkbox,
108
- Re as Column,
109
- $ as Config,
110
- re as Confirm,
111
- ae as ContentHeader,
112
- fe as ContentLoader,
113
- S as CopyTextStatusEnum,
114
- le as Countdown,
115
- Do as DateFormats,
100
+ Y as Avatar,
101
+ N as Button,
102
+ So as CLIENT_DATE_AND_TIME_FORMAT,
103
+ Do as CLIENT_DATE_AND_TIME_SHORT_FORMAT,
104
+ Mo as CLIENT_DATE_COMPARE_FORMAT,
105
+ go as CLIENT_DATE_FILTER_FORMAT,
106
+ Fo as CLIENT_DATE_SHORT_FORMAT,
107
+ Lo as CLIENT_TIME_FORMAT,
108
+ No as CLIENT_TIME_FORMAT_PICKER,
109
+ G as Card,
110
+ X as Chart,
111
+ $ as Checkbox,
112
+ Fe as Column,
113
+ re as Config,
114
+ ae as Confirm,
115
+ fe as ContentHeader,
116
+ le as ContentLoader,
117
+ I as CopyTextStatusEnum,
118
+ me as Countdown,
119
+ Oo as DateFormats,
116
120
  de as Datepicker,
117
- se as Divider,
118
- u as DividerAppearance,
119
- ne as Drawer,
120
- Te as DropdownList,
121
- ce as FileUpload,
122
- _e as FileUploadImagePreview,
121
+ ne as Divider,
122
+ s as DividerAppearance,
123
+ Te as Drawer,
124
+ ce as DropdownList,
125
+ _e as FileUpload,
126
+ Ie as FileUploadImagePreview,
123
127
  Se as FileUploadLengthCard,
124
- Ie as FileUploadPreviewModal,
125
- d as FormFieldAppearance,
126
- Fe as Heading,
127
- ye as Icon,
128
- he as IconBox,
129
- be as InfiniteScroll,
130
- Be as InfoBoxList,
131
- Ve as InfoDate,
132
- je as InfoText,
133
- Ke as Input,
134
- Ye as Label,
135
- Ge as Loading,
136
- Io as MIN_DATE_TODAY,
137
- Mo as MIN_DATE_TOMORROW,
138
- gr as MenuItem,
139
- Xe as Modal,
140
- m as ModalAppearanceType,
141
- $e as NavigatorCard,
128
+ Me as FileUploadPreviewModal,
129
+ m as FormFieldAppearance,
130
+ ye as Heading,
131
+ Pe as Icon,
132
+ be as IconBox,
133
+ Be as InfiniteScroll,
134
+ He as InfoBoxList,
135
+ je as InfoDate,
136
+ Ke as InfoText,
137
+ Ye as Input,
138
+ Ge as Label,
139
+ Xe as Loading,
140
+ yo as MIN_DATE_TODAY,
141
+ ho as MIN_DATE_TOMORROW,
142
+ hr as MenuItem,
143
+ $e as Modal,
144
+ u as ModalAppearanceType,
145
+ rr as NavigatorCard,
142
146
  y as NiceModal,
143
- Cr as NoData,
144
- rr as NoResult,
145
- ar as Notification,
146
- s as NotificationAppearanceType,
147
- fr as PageWrapper,
148
- lr as Pager,
147
+ gr as NoData,
148
+ ar as NoResult,
149
+ fr as Notification,
150
+ d as NotificationAppearanceType,
151
+ lr as PageWrapper,
152
+ mr as Pager,
149
153
  dr as Panel,
150
- h as PermFallBack,
151
- sr as PermaLink,
154
+ P as PermFallBack,
155
+ nr as PermaLink,
152
156
  j as Permission,
153
- D as PodStatusEnum,
154
- Bo as Provider,
155
- nr as Radio,
156
- ir as RadioList,
157
- I as ReportStatus,
158
- Ar as ResultError,
157
+ R as PodStatusEnum,
158
+ Ko as Provider,
159
+ Tr as Radio,
160
+ Ar as RadioList,
161
+ Er as RealTimeLogModal,
162
+ S as ReportStatus,
163
+ Rr as ResultError,
159
164
  Ne as Row,
160
- Ro as SERVER_DATE_AND_TIME_FORMAT,
161
- go as SERVER_DATE_FORMAT,
162
- Er as ScrollContainer,
163
- Dr as Select,
164
- Mr as Sidebar,
165
+ Po as SERVER_DATE_AND_TIME_FORMAT,
166
+ vo as SERVER_DATE_FORMAT,
167
+ Dr as ScrollContainer,
168
+ Lr as Select,
169
+ Or as Sidebar,
165
170
  E as Size,
166
- M as SortEnum,
167
- R as StatusEnum,
168
- Lr as StatusTag,
171
+ D as SortEnum,
172
+ M as StatusEnum,
173
+ vr as StatusTag,
169
174
  g as StatusType,
170
- Or as StatusTypography,
171
- Pr as Stepper,
172
- vr as Switch,
173
- wr as Tab,
174
- kr as Table,
175
- vo as TableActions,
176
- bo as TableColumns,
177
- Ur as TableHeader,
178
- Wr as TableSort,
179
- N as TagStatus,
180
- zr as Textarea,
175
+ wr as StatusTypography,
176
+ kr as Stepper,
177
+ Ur as Switch,
178
+ Wr as Tab,
179
+ zr as Table,
180
+ _r as TableActions,
181
+ Cr as TableColumns,
182
+ Qr as TableHeader,
183
+ qr as TableSort,
184
+ F as TagStatus,
185
+ Jr as Textarea,
181
186
  x as ThemeAppearance,
182
- Qr as Tooltip,
183
- qr as TypographyText,
184
- Jr as ValidationError,
185
- Oo as changeLanguage,
186
- He as createConnectedService,
187
- No as dayjs,
188
- Ho as format,
189
- Lo as friendlyDate,
187
+ Zr as Tooltip,
188
+ eo as TypographyText,
189
+ oo as UserInfo,
190
+ to as ValidationError,
191
+ Vo as changeLanguage,
192
+ Ve as createConnectedService,
193
+ bo as dayjs,
194
+ Yo as format,
195
+ wo as friendlyDate,
190
196
  v as getAuth,
191
- yo as getCurrentLanguage,
192
- Po as getDatepickerLocale,
193
- xo as i18n,
197
+ Wo as getCurrentLanguage,
198
+ jo as getDatepickerLocale,
199
+ Co as i18n,
194
200
  A as isActiveColor,
195
- Uo as parseISO,
196
- no as t,
197
- $r as useAuth,
198
- ro as useDisclosure,
199
- mo as useDrawer,
200
- lo as useDrawerContext,
201
- fo as useMediaQuery,
202
- ao as useNiceModal
201
+ qo as parseISO,
202
+ ko as startFetcher,
203
+ Ho as startFormFetcher,
204
+ Io as t,
205
+ lo as useAuth,
206
+ mo as useDisclosure,
207
+ Eo as useDrawer,
208
+ Ao as useDrawerContext,
209
+ io as useMediaQuery,
210
+ xo as useNiceModal
203
211
  };
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- :root{--white: white;--whiteRGBA: hsla(0, 0%, 100%, .85);--black: #000;--blackRGBA: rgba(0, 0, 0, .5);--primary: #293245;--dark: #2b344c;--dark-1e: #1e1e2d;--dark-1d: #1d2843;--dark-12: #12161e;--dark-47: #262e47;--dark-4a: #062a4a;--dark-21: #21283a;--dark-22: #222;--dark-24: #242b3f;--dark-3c: #3c4560;--gray-3b: #232b3b;--gray-61: #3d4561;--gray-68: #3b4768;--gray-57: #333b57;--gray-3e: #30363e;--gray-5c: #3f4b5c;--gray-4a: #4a4a4a;--gray-4c: #3b404c;--gray-b6: #b6c2cf;--gray-79: #495679;--gray-71: #717a8e;--gray-6e: #535a6e;--gray-62: #626262;--gray-81: #5c5e81;--gray-8c: #8ca0b3;--gray-be: #6c7ebe;--gray-90: #909090;--gray-9b: #9b9b9b;--gray-94: #948686;--gray-95: #788195;--gray-67: #676767;--gray-c2: #9ca9c2;--gray-ec: #c8daec;--gray-d8: #d8d8d8;--gray-d4: #d4d6f0;--gray-fb: #fbedbe;--gray-bc: #bcbcbc;--gray-f9: #f1f3f9;--gray-f8: #f5f6f8;--gray-df: #dfdfdf;--gray-f7: #e9f0f7;--gray-f5: #f5f5f5;--gray-fd: #fdfdfd;--gray-ee: #eee;--gray-ef: #efefef;--gray-f2: #eef0f2;--gray-e2: #e2e7f2;--blue-ff: #4482ff;--blue-f9: #037cf9;--danger: #d2282e;--success: #71d200;--info: #1890ff;--warning: #ffb822;--initializing: #ffaa49;--pending: #ffdca8;--failed: #ff5365;--queued: #9387c7;--font-xs: 10px;--font-sm: 12px;--font-def: 14px;--font-md: 16px;--font-lg: 18px;--font-xl: 20px;--font-2xl: 24px;--font-3xl: 30px;--checkbox-checked: #6c7ebe;--border-dark-primary: #262e47;--border-dark-secondary: #3b404c;--divider-primary: #d8d8d8;--dropdown-active: #1d2843;--bg-primary: #293245;--tab-active-text: white;--tab-inactive-text: #757f96;--status-success: #e3f6cc;--status-waiting1: #fce0ce;--status-waiting2: #c6f0f2;--status-waiting3: #eae7f4;--status-failed: #f6b5b5;--status-empty: #eaeff0;--spacing-xxs: 4px;--spacing-xs: 8px;--spacing-s: 12px;--spacing-m: 16px;--spacing-l: 20px;--spacing-xl: 24px;--spacing-xxl: 28px;--spacing-column: 32px;--toast-font-size: 14px;--toast-font-family: "Jost", sans-serif;--toast-font-weight: 600;--toast-padding: 20px 30px;--toast-icon-margin-left: 28px;--toast-icon-font-size: 18px;--toast-warning-icon-font-size: 26px}
1
+ :root{--white: white;--whiteRGBA: hsla(0, 0%, 100%, .85);--black: #000;--blackRGBA: rgba(0, 0, 0, .5);--primary: #293245;--dark: #2b344c;--dark-1e: #1e1e2d;--dark-1d: #1d2843;--dark-12: #12161e;--dark-47: #262e47;--dark-4a: #062a4a;--dark-21: #21283a;--dark-22: #222;--dark-24: #242b3f;--dark-3c: #3c4560;--gray-3b: #232b3b;--gray-61: #3d4561;--gray-68: #3b4768;--gray-57: #333b57;--gray-3e: #30363e;--gray-5c: #3f4b5c;--gray-4a: #4a4a4a;--gray-4c: #3b404c;--gray-b6: #b6c2cf;--gray-79: #495679;--gray-71: #717a8e;--gray-6e: #535a6e;--gray-62: #626262;--gray-81: #5c5e81;--gray-8c: #8ca0b3;--gray-be: #6c7ebe;--gray-90: #909090;--gray-9b: #9b9b9b;--gray-94: #948686;--gray-95: #788195;--gray-67: #676767;--gray-c2: #9ca9c2;--gray-ec: #c8daec;--gray-d8: #d8d8d8;--gray-d4: #d4d6f0;--gray-fb: #fbedbe;--gray-bc: #bcbcbc;--gray-f9: #f1f3f9;--gray-f8: #f5f6f8;--gray-df: #dfdfdf;--gray-f7: #e9f0f7;--gray-f5: #f5f5f5;--gray-fd: #fdfdfd;--gray-ee: #eee;--gray-ef: #efefef;--gray-f2: #eef0f2;--gray-e2: #e2e7f2;--blue-ff: #4482ff;--blue-f9: #037cf9;--danger: #d2282e;--success: #71d200;--info: #1890ff;--warning: #ffb822;--initializing: #ffaa49;--pending: #ffdca8;--failed: #ff5365;--queued: #9387c7;--font-xs: 10px;--font-sm: 12px;--font-def: 14px;--font-md: 16px;--font-lg: 18px;--font-xl: 20px;--font-2xl: 24px;--font-3xl: 30px;--checkbox-checked: #6c7ebe;--border-dark-primary: #262e47;--border-dark-secondary: #3b404c;--divider-primary: #d8d8d8;--dropdown-active: #1d2843;--bg-primary: #293245;--tab-active-text: white;--tab-inactive-text: #757f96;--status-success: #e3f6cc;--status-waiting1: #fce0ce;--status-waiting2: #c6f0f2;--status-waiting3: #eae7f4;--status-failed: #f6b5b5;--status-empty: #eaeff0;--ios-green: #7bd500;--ios-red: #ff5365;--spacing-xxs: 4px;--spacing-xs: 8px;--spacing-s: 12px;--spacing-m: 16px;--spacing-l: 20px;--spacing-xl: 24px;--spacing-xxl: 28px;--spacing-column: 32px;--toast-font-size: 14px;--toast-font-family: "Jost", sans-serif;--toast-font-weight: 600;--toast-padding: 20px 30px;--toast-icon-margin-left: 28px;--toast-icon-font-size: 18px;--toast-warning-icon-font-size: 26px}
package/dist/main.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { j as t } from "./jsx-runtime-BcAkpsdy.js";
2
- import n from "./prodivers.js";
3
- import p from "./components/Button/Button.js";
2
+ import './ReactToastify.css';import './main.css';/* empty css */
3
+ import n from "./components/Button/Button.js";
4
4
  import "./index-H7XbDVmH.js";
5
- import { AppearanceButton as a } from "./enums/appearance.js";
5
+ import { AppearanceButton as p } from "./enums/appearance.js";
6
6
  import "./hooks/useAauth.js";
7
7
  import "./assets/images/500_error_2x.gif";
8
8
  import "./locales/i18n.js";
@@ -11,20 +11,22 @@ import "./index-BHf7G3IG.js";
11
11
  import "./components/Tooltip/Tooltip.js";
12
12
  import "./react-toastify.esm-BUWNP7Nm.js";
13
13
  import "./utils/date.js";
14
- import s from "./components/Input/Input.js";
14
+ import a from "./components/Input/Input.js";
15
15
  import "./components/Charts/index.js";
16
16
  import "./components/Checkbox/Checkbox.js";
17
17
  import "./components/Confirm/Confirm.js";
18
18
  import "./components/Datepicker/Datepicker.js";
19
19
  import "./components/Drawer/Provider.js";
20
20
  import "./components/FileUpload/FileUpload.js";
21
- import "./Select-BE_y91ZN.js";
21
+ import "./RealtimeLogModal-gZOv7y-z.js";
22
+ import "./Select-nhp2PiJK.js";
23
+ import "./components/StatusTag/StatusTag.js";
22
24
  import "./components/Switch/Switch.js";
23
25
  import "./components/Textarea/Textarea.js";
24
26
  import "./utils/yup.js";
25
- import "./utils/table.js";
27
+ import s from "./prodivers.js";
26
28
  import c from "react-dom";
27
- import './main.css';var o, r = c;
29
+ var o, r = c;
28
30
  if (process.env.NODE_ENV === "production")
29
31
  o = r.createRoot, r.hydrateRoot;
30
32
  else {
@@ -38,18 +40,18 @@ else {
38
40
  }
39
41
  };
40
42
  }
41
- const l = () => /* @__PURE__ */ t.jsx(n, { children: /* @__PURE__ */ t.jsxs("div", { style: { padding: 20 }, children: [
43
+ const l = () => /* @__PURE__ */ t.jsx(s, { children: /* @__PURE__ */ t.jsxs("div", { style: { padding: 20 }, children: [
42
44
  /* @__PURE__ */ t.jsx("h1", { className: "text-3xl", children: "Flora Component Library" }),
43
45
  /* @__PURE__ */ t.jsx(
44
- p,
46
+ n,
45
47
  {
46
48
  isBlock: !0,
47
- appearance: a.DARK,
49
+ appearance: p.DARK,
48
50
  onClick: () => alert("Button Clicked!"),
49
51
  children: "Save"
50
52
  }
51
53
  ),
52
- /* @__PURE__ */ t.jsx(s, { name: "example" })
54
+ /* @__PURE__ */ t.jsx(a, { name: "example" })
53
55
  ] }) }), d = document.getElementById("root"), u = o(d);
54
56
  u.render(/* @__PURE__ */ t.jsx(l, {}));
55
57
  export {
package/dist/prodivers.js CHANGED
@@ -1,13 +1,14 @@
1
1
  import { j as r } from "./jsx-runtime-BcAkpsdy.js";
2
2
  import { N as i } from "./index-H7XbDVmH.js";
3
3
  import { T as t } from "./react-toastify.esm-BUWNP7Nm.js";
4
+ import './ReactToastify.css';/* empty css */
4
5
  import { DrawerProvider as e } from "./components/Drawer/Provider.js";
5
- import './prodivers.css';function d({ children: o }) {
6
+ function p({ children: o }) {
6
7
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
7
8
  /* @__PURE__ */ r.jsx(i.Provider, { children: /* @__PURE__ */ r.jsx(e, { children: o }) }),
8
9
  /* @__PURE__ */ r.jsx(t, { limit: 3 })
9
10
  ] });
10
11
  }
11
12
  export {
12
- d as default
13
+ p as default
13
14
  };
@@ -0,0 +1,44 @@
1
+ function v(e, a) {
2
+ let t = null;
3
+ const l = () => {
4
+ t && (clearInterval(t), t = null);
5
+ };
6
+ return {
7
+ fetch: (...r) => {
8
+ e(...r);
9
+ },
10
+ stopInterval: l,
11
+ startInterval: (...r) => {
12
+ l(), t = setInterval(() => {
13
+ e(...r);
14
+ }, a);
15
+ }
16
+ };
17
+ }
18
+ function o(e, a) {
19
+ let t = null, l;
20
+ const r = () => {
21
+ t && (clearInterval(t), t = null);
22
+ };
23
+ return {
24
+ fetch: (...n) => {
25
+ e(...n);
26
+ },
27
+ stopInterval: r,
28
+ stop: () => {
29
+ t && (clearInterval(t), l == null || l.unsubscribe(), t = null, l = void 0);
30
+ },
31
+ startInterval: (...n) => {
32
+ r(), t = setInterval(() => {
33
+ e(...n);
34
+ }, a);
35
+ },
36
+ startSubscription: (n, s) => {
37
+ l = n(s);
38
+ }
39
+ };
40
+ }
41
+ export {
42
+ v as startFetcher,
43
+ o as startFormFetcher
44
+ };
@@ -1,6 +1,6 @@
1
1
  import "react";
2
2
  import "./date.js";
3
- import { h as o, d as i, c as m, a as p, i as c, b as l, r as n, g as u, s as b, t as v, u as d, e as g } from "../helper-lFjvXQpv.js";
3
+ import { i as o, e as i, c as m, a as p, d as c, b as l, r as n, h as u, s as b, t as v, u as d, g } from "../helper-1SQ9SI45.js";
4
4
  import "../index-9ZLCCecr.js";
5
5
  export {
6
6
  o as capitalizeFirstLetter,
@@ -1,27 +1,30 @@
1
- import { CLIENT_DATE_AND_TIME_FORMAT as E, CLIENT_DATE_AND_TIME_SHORT_FORMAT as A, CLIENT_DATE_COMPARE_FORMAT as e, CLIENT_DATE_FILTER_FORMAT as R, CLIENT_DATE_SHORT_FORMAT as a, CLIENT_TIME_FORMAT as M, CLIENT_TIME_FORMAT_PICKER as I, DateFormats as O, MIN_DATE_TODAY as D, MIN_DATE_TOMORROW as r, SERVER_DATE_AND_TIME_FORMAT as t, SERVER_DATE_FORMAT as o, default as N, friendlyDate as C } from "./date.js";
2
- import { changeLanguage as L, getCurrentLanguage as f, getDatepickerLocale as s } from "./language.js";
3
- import { TableActions as m, TableColumns as n } from "./table.js";
4
- import { f as l, p as u } from "../helper-lFjvXQpv.js";
1
+ import { CLIENT_DATE_AND_TIME_FORMAT as E, CLIENT_DATE_AND_TIME_SHORT_FORMAT as e, CLIENT_DATE_COMPARE_FORMAT as a, CLIENT_DATE_FILTER_FORMAT as A, CLIENT_DATE_SHORT_FORMAT as r, CLIENT_TIME_FORMAT as t, CLIENT_TIME_FORMAT_PICKER as R, DateFormats as M, MIN_DATE_TODAY as I, MIN_DATE_TOMORROW as O, SERVER_DATE_AND_TIME_FORMAT as o, SERVER_DATE_FORMAT as D, default as F, friendlyDate as s } from "./date.js";
2
+ import { startFetcher as C, startFormFetcher as L } from "./fetcher.js";
3
+ import { changeLanguage as m, getCurrentLanguage as p, getDatepickerLocale as g } from "./language.js";
4
+ import { T as c, a as l } from "../RealtimeLogModal-gZOv7y-z.js";
5
+ import { f as x, p as S } from "../helper-1SQ9SI45.js";
5
6
  export {
6
7
  E as CLIENT_DATE_AND_TIME_FORMAT,
7
- A as CLIENT_DATE_AND_TIME_SHORT_FORMAT,
8
- e as CLIENT_DATE_COMPARE_FORMAT,
9
- R as CLIENT_DATE_FILTER_FORMAT,
10
- a as CLIENT_DATE_SHORT_FORMAT,
11
- M as CLIENT_TIME_FORMAT,
12
- I as CLIENT_TIME_FORMAT_PICKER,
13
- O as DateFormats,
14
- D as MIN_DATE_TODAY,
15
- r as MIN_DATE_TOMORROW,
16
- t as SERVER_DATE_AND_TIME_FORMAT,
17
- o as SERVER_DATE_FORMAT,
18
- m as TableActions,
19
- n as TableColumns,
20
- L as changeLanguage,
21
- N as dayjs,
22
- l as format,
23
- C as friendlyDate,
24
- f as getCurrentLanguage,
25
- s as getDatepickerLocale,
26
- u as parseISO
8
+ e as CLIENT_DATE_AND_TIME_SHORT_FORMAT,
9
+ a as CLIENT_DATE_COMPARE_FORMAT,
10
+ A as CLIENT_DATE_FILTER_FORMAT,
11
+ r as CLIENT_DATE_SHORT_FORMAT,
12
+ t as CLIENT_TIME_FORMAT,
13
+ R as CLIENT_TIME_FORMAT_PICKER,
14
+ M as DateFormats,
15
+ I as MIN_DATE_TODAY,
16
+ O as MIN_DATE_TOMORROW,
17
+ o as SERVER_DATE_AND_TIME_FORMAT,
18
+ D as SERVER_DATE_FORMAT,
19
+ c as TableActions,
20
+ l as TableColumns,
21
+ m as changeLanguage,
22
+ F as dayjs,
23
+ x as format,
24
+ s as friendlyDate,
25
+ p as getCurrentLanguage,
26
+ g as getDatepickerLocale,
27
+ S as parseISO,
28
+ C as startFetcher,
29
+ L as startFormFetcher
27
30
  };