@envisiongroup/porygon 1.0.1 → 1.0.3
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.d.ts +1 -0
- package/dist/index.js +64 -56
- package/dist/react-components/forms/EFWForm/EFWForm.js +258 -248
- package/dist/react-components/i18n/PorygonI18nProvider.d.ts +3 -2
- package/dist/react-components/i18n/PorygonI18nProvider.js +169 -76
- package/dist/react-components/i18n/defaultLocaleText.d.ts +2 -1
- package/dist/react-components/i18n/defaultLocaleText.js +14 -5
- package/dist/react-components/i18n/index.d.ts +4 -4
- package/dist/react-components/i18n/index.js +14 -12
- package/dist/react-components/i18n/localePresets.js +53 -34
- package/dist/react-components/i18n/porygonI18n.types.d.ts +15 -0
- package/dist/react-components/tables/EFWTable/EFWTable.js +821 -461
- package/dist/react-components/timeline/EFWTimeline/EFWTimeline.d.ts +24 -0
- package/dist/react-components/timeline/EFWTimeline/EFWTimeline.js +392 -0
- package/dist/react-components/timeline/EFWTimeline/EFWTimeline.types.d.ts +208 -0
- package/dist/react-components/timeline/EFWTimeline/EFWTimeline.utils.d.ts +30 -0
- package/dist/react-components/timeline/EFWTimeline/EFWTimeline.utils.js +45 -0
- package/dist/react-components/timeline/EFWTimeline/index.d.ts +3 -0
- package/dist/react-components/timeline/EFWTimeline/index.js +8 -0
- package/package.json +6 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,3 +16,4 @@ export * from './react-components/forms/EFWMessageBarManager/EFWMessageBarManage
|
|
|
16
16
|
export * from './react-components/hooks/useDrawer';
|
|
17
17
|
export * from './react-components/i18n';
|
|
18
18
|
export * from './react-components/tables/EFWTable';
|
|
19
|
+
export * from './react-components/timeline/EFWTimeline';
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { formatFileSize as o, getErrorMessage as t, getFileIconUrl as F } from "./react-components/commons/utils.js";
|
|
2
|
-
import { EFWMessageBarManager as
|
|
2
|
+
import { EFWMessageBarManager as E } from "./react-components/forms/EFWMessageBarManager/EFWMessageBarManager.js";
|
|
3
3
|
import { EFWButton as p } from "./react-components/buttons/EFWButton/EFWButton.js";
|
|
4
4
|
import { useEFWButton as l } from "./react-components/buttons/EFWButton/EFWButton.hooks.js";
|
|
5
|
-
import { EFWDrawerButton as
|
|
6
|
-
import { EFWGroupButton as
|
|
7
|
-
import { EFWField as
|
|
8
|
-
import { EFWAttachment as
|
|
9
|
-
import { getAttachmentsFormattedValue as
|
|
5
|
+
import { EFWDrawerButton as f } from "./react-components/buttons/EFWDrawerButton/EFWDrawerButton.js";
|
|
6
|
+
import { EFWGroupButton as u } from "./react-components/buttons/EFWGroupButton/EFWGroupButton.js";
|
|
7
|
+
import { EFWField as W } from "./react-components/fields/_shared/EFWField/EFWField.js";
|
|
8
|
+
import { EFWAttachment as n } from "./react-components/fields/Attachments/EFWAttachments.js";
|
|
9
|
+
import { getAttachmentsFormattedValue as A } from "./react-components/fields/Attachments/EFWAttachments.utils.js";
|
|
10
10
|
import { EFWAttachmentsField as d } from "./react-components/fields/Attachments/EFWAttachmentsField.js";
|
|
11
11
|
import { EFWDatePicker as O } from "./react-components/fields/DatePicker/EFWDatePicker.js";
|
|
12
|
-
import { enLocalizedStrings as D, esLocalizedStrings as
|
|
13
|
-
import { EFWDatePickerField as
|
|
14
|
-
import { EFWInput as
|
|
15
|
-
import { getInputFormattedValue as
|
|
16
|
-
import { EFWInputField as
|
|
17
|
-
import { EFWNumberInput as
|
|
18
|
-
import { getNumberInputFormattedValue as
|
|
12
|
+
import { enLocalizedStrings as D, esLocalizedStrings as P, getDatePickerFormattedValue as C, ptLocalizedStrings as B } from "./react-components/fields/DatePicker/EFWDatePicker.utils.js";
|
|
13
|
+
import { EFWDatePickerField as U } from "./react-components/fields/DatePicker/EFWDatePickerField.js";
|
|
14
|
+
import { EFWInput as V } from "./react-components/fields/Input/EFWInput.js";
|
|
15
|
+
import { getInputFormattedValue as R } from "./react-components/fields/Input/EFWInput.utils.js";
|
|
16
|
+
import { EFWInputField as k } from "./react-components/fields/Input/EFWInputField.js";
|
|
17
|
+
import { EFWNumberInput as M } from "./react-components/fields/NumberInput/EFWNumberInput.js";
|
|
18
|
+
import { getNumberInputFormattedValue as w } from "./react-components/fields/NumberInput/EFWNumberInput.utils.js";
|
|
19
19
|
import { EFWNumberInputField as X } from "./react-components/fields/NumberInput/EFWNumberInputField.js";
|
|
20
|
-
import { EFWSwitch as
|
|
20
|
+
import { EFWSwitch as Y } from "./react-components/fields/Switch/EFWSwitch.js";
|
|
21
21
|
import { getSwitchFormattedValue as q } from "./react-components/fields/Switch/EFWSwitch.utils.js";
|
|
22
22
|
import { EFWSwitchField as J } from "./react-components/fields/Switch/EFWSwitchField.js";
|
|
23
23
|
import { EFWTagPicker as Q } from "./react-components/fields/TagPicker/EFWTagPicker.js";
|
|
@@ -25,79 +25,87 @@ import { getTagPickerFormattedValue as $ } from "./react-components/fields/TagPi
|
|
|
25
25
|
import { EFWTagPickerField as re } from "./react-components/fields/TagPicker/EFWTagPickerField.js";
|
|
26
26
|
import { EFWTextArea as te } from "./react-components/fields/TextArea/EFWTextArea.js";
|
|
27
27
|
import { getTextAreaFormattedValue as me } from "./react-components/fields/TextArea/EFWTextArea.utils.js";
|
|
28
|
-
import { EFWTextAreaField as
|
|
28
|
+
import { EFWTextAreaField as ae } from "./react-components/fields/TextArea/EFWTextAreaField.js";
|
|
29
29
|
import { getFormFieldDisplayText as xe } from "./react-components/forms/EFWForm/EFWForm.converter.js";
|
|
30
|
-
import { useFormController as
|
|
31
|
-
import { EFWForm as
|
|
32
|
-
import { EFWConversionError as
|
|
33
|
-
import { EFWFormMessageBarGroup as
|
|
30
|
+
import { useFormController as Te } from "./react-components/forms/EFWForm/EFWForm.hooks.js";
|
|
31
|
+
import { EFWForm as Le } from "./react-components/forms/EFWForm/EFWForm.js";
|
|
32
|
+
import { EFWConversionError as ie, EFWValuesToFlat as We, flatToEFWValues as _e } from "./react-components/forms/EFWForm/EFWForm.flatConverter.js";
|
|
33
|
+
import { EFWFormMessageBarGroup as se } from "./react-components/forms/EFWFormMessageBarGroup/EFWFormMessageBarGroup.js";
|
|
34
34
|
import { useDrawer as ce } from "./react-components/hooks/useDrawer/useDrawer.js";
|
|
35
|
-
import { PorygonI18nProvider as
|
|
36
|
-
import { DEFAULT_EFW_BUTTONS_LOCALE_TEXT as
|
|
37
|
-
import { PORYGON_LOCALES as ke, PORYGON_LOCALE_EN as Ge, PORYGON_LOCALE_ES as
|
|
35
|
+
import { PorygonI18nProvider as ge, useButtonsLocaleText as Oe, useFieldsLocaleText as Se, useFormLocaleText as De, usePorygonLocaleText as Pe, useTableLocaleText as Ce, useTimelineLocaleText as Be } from "./react-components/i18n/PorygonI18nProvider.js";
|
|
36
|
+
import { DEFAULT_EFW_BUTTONS_LOCALE_TEXT as Ue, DEFAULT_EFW_FIELDS_LOCALE_TEXT as Ne, DEFAULT_EFW_FORM_LOCALE_TEXT as Ve, DEFAULT_EFW_TABLE_LOCALE_TEXT as be, DEFAULT_EFW_TIMELINE_LOCALE_TEXT as Re } from "./react-components/i18n/defaultLocaleText.js";
|
|
37
|
+
import { PORYGON_LOCALES as ke, PORYGON_LOCALE_EN as Ge, PORYGON_LOCALE_ES as Me, PORYGON_LOCALE_PT_BR as ve } from "./react-components/i18n/localePresets.js";
|
|
38
38
|
import { EFWTable as ye } from "./react-components/tables/EFWTable/EFWTable.js";
|
|
39
39
|
import { useTableController as ze } from "./react-components/tables/EFWTable/hooks/useTableController/useTableController.js";
|
|
40
|
-
import { useDefaultFilterButton as
|
|
41
|
-
import { EFWTableEmpty as
|
|
40
|
+
import { useDefaultFilterButton as je } from "./react-components/tables/EFWTable/hooks/useDefaultFilterButton/useDefaultFilterButton.js";
|
|
41
|
+
import { EFWTableEmpty as He, EFWTableOverlay as Je } from "./react-components/tables/EFWTable/components/EFWTableOverlay/EFWTableOverlay.js";
|
|
42
|
+
import { EFWTimeline as Qe } from "./react-components/timeline/EFWTimeline/EFWTimeline.js";
|
|
43
|
+
import { DEFAULT_STATUS_COLORS as $e, DEFAULT_STATUS_LABELS as er, deriveStatusFromActive as rr } from "./react-components/timeline/EFWTimeline/EFWTimeline.utils.js";
|
|
42
44
|
export {
|
|
43
|
-
|
|
45
|
+
Ue as DEFAULT_EFW_BUTTONS_LOCALE_TEXT,
|
|
44
46
|
Ne as DEFAULT_EFW_FIELDS_LOCALE_TEXT,
|
|
45
47
|
Ve as DEFAULT_EFW_FORM_LOCALE_TEXT,
|
|
46
48
|
be as DEFAULT_EFW_TABLE_LOCALE_TEXT,
|
|
47
|
-
|
|
49
|
+
Re as DEFAULT_EFW_TIMELINE_LOCALE_TEXT,
|
|
50
|
+
$e as DEFAULT_STATUS_COLORS,
|
|
51
|
+
er as DEFAULT_STATUS_LABELS,
|
|
52
|
+
n as EFWAttachment,
|
|
48
53
|
d as EFWAttachmentsField,
|
|
49
54
|
p as EFWButton,
|
|
50
|
-
|
|
55
|
+
ie as EFWConversionError,
|
|
51
56
|
O as EFWDatePicker,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
U as EFWDatePickerField,
|
|
58
|
+
f as EFWDrawerButton,
|
|
59
|
+
W as EFWField,
|
|
60
|
+
Le as EFWForm,
|
|
61
|
+
se as EFWFormMessageBarGroup,
|
|
62
|
+
u as EFWGroupButton,
|
|
63
|
+
V as EFWInput,
|
|
64
|
+
k as EFWInputField,
|
|
65
|
+
E as EFWMessageBarManager,
|
|
66
|
+
M as EFWNumberInput,
|
|
62
67
|
X as EFWNumberInputField,
|
|
63
|
-
|
|
68
|
+
Y as EFWSwitch,
|
|
64
69
|
J as EFWSwitchField,
|
|
65
70
|
ye as EFWTable,
|
|
66
|
-
|
|
67
|
-
|
|
71
|
+
He as EFWTableEmpty,
|
|
72
|
+
Je as EFWTableOverlay,
|
|
68
73
|
Q as EFWTagPicker,
|
|
69
74
|
re as EFWTagPickerField,
|
|
70
75
|
te as EFWTextArea,
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
ae as EFWTextAreaField,
|
|
77
|
+
Qe as EFWTimeline,
|
|
78
|
+
We as EFWValuesToFlat,
|
|
73
79
|
ke as PORYGON_LOCALES,
|
|
74
80
|
Ge as PORYGON_LOCALE_EN,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
81
|
+
Me as PORYGON_LOCALE_ES,
|
|
82
|
+
ve as PORYGON_LOCALE_PT_BR,
|
|
83
|
+
ge as PorygonI18nProvider,
|
|
84
|
+
rr as deriveStatusFromActive,
|
|
78
85
|
D as enLocalizedStrings,
|
|
79
|
-
|
|
80
|
-
|
|
86
|
+
P as esLocalizedStrings,
|
|
87
|
+
_e as flatToEFWValues,
|
|
81
88
|
o as formatFileSize,
|
|
82
|
-
|
|
89
|
+
A as getAttachmentsFormattedValue,
|
|
83
90
|
C as getDatePickerFormattedValue,
|
|
84
91
|
t as getErrorMessage,
|
|
85
92
|
F as getFileIconUrl,
|
|
86
93
|
xe as getFormFieldDisplayText,
|
|
87
|
-
|
|
88
|
-
|
|
94
|
+
R as getInputFormattedValue,
|
|
95
|
+
w as getNumberInputFormattedValue,
|
|
89
96
|
q as getSwitchFormattedValue,
|
|
90
97
|
$ as getTagPickerFormattedValue,
|
|
91
98
|
me as getTextAreaFormattedValue,
|
|
92
|
-
|
|
99
|
+
B as ptLocalizedStrings,
|
|
93
100
|
Oe as useButtonsLocaleText,
|
|
94
|
-
|
|
101
|
+
je as useDefaultFilterButton,
|
|
95
102
|
ce as useDrawer,
|
|
96
103
|
l as useEFWButton,
|
|
97
|
-
|
|
98
|
-
|
|
104
|
+
Se as useFieldsLocaleText,
|
|
105
|
+
Te as useFormController,
|
|
99
106
|
De as useFormLocaleText,
|
|
100
|
-
|
|
107
|
+
Pe as usePorygonLocaleText,
|
|
101
108
|
ze as useTableController,
|
|
102
|
-
Ce as useTableLocaleText
|
|
109
|
+
Ce as useTableLocaleText,
|
|
110
|
+
Be as useTimelineLocaleText
|
|
103
111
|
};
|