@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 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 a } from "./react-components/forms/EFWMessageBarManager/EFWMessageBarManager.js";
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 u } from "./react-components/buttons/EFWDrawerButton/EFWDrawerButton.js";
6
- import { EFWGroupButton as i } from "./react-components/buttons/EFWGroupButton/EFWGroupButton.js";
7
- import { EFWField as L } from "./react-components/fields/_shared/EFWField/EFWField.js";
8
- import { EFWAttachment as s } from "./react-components/fields/Attachments/EFWAttachments.js";
9
- import { getAttachmentsFormattedValue as g } from "./react-components/fields/Attachments/EFWAttachments.utils.js";
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 B, getDatePickerFormattedValue as C, ptLocalizedStrings as S } from "./react-components/fields/DatePicker/EFWDatePicker.utils.js";
13
- import { EFWDatePickerField as N } from "./react-components/fields/DatePicker/EFWDatePickerField.js";
14
- import { EFWInput as b } from "./react-components/fields/Input/EFWInput.js";
15
- import { getInputFormattedValue as k } from "./react-components/fields/Input/EFWInput.utils.js";
16
- import { EFWInputField as R } from "./react-components/fields/Input/EFWInputField.js";
17
- import { EFWNumberInput as w } from "./react-components/fields/NumberInput/EFWNumberInput.js";
18
- import { getNumberInputFormattedValue as M } from "./react-components/fields/NumberInput/EFWNumberInput.utils.js";
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 v } from "./react-components/fields/Switch/EFWSwitch.js";
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 Ee } from "./react-components/fields/TextArea/EFWTextAreaField.js";
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 fe } from "./react-components/forms/EFWForm/EFWForm.hooks.js";
31
- import { EFWForm as Te } from "./react-components/forms/EFWForm/EFWForm.js";
32
- import { EFWConversionError as We, EFWValuesToFlat as Le, flatToEFWValues as ne } from "./react-components/forms/EFWForm/EFWForm.flatConverter.js";
33
- import { EFWFormMessageBarGroup as _e } from "./react-components/forms/EFWFormMessageBarGroup/EFWFormMessageBarGroup.js";
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 Ae, useButtonsLocaleText as Oe, useFieldsLocaleText as Pe, useFormLocaleText as De, usePorygonLocaleText as Be, useTableLocaleText as Ce } from "./react-components/i18n/PorygonI18nProvider.js";
36
- import { DEFAULT_EFW_BUTTONS_LOCALE_TEXT as Ie, DEFAULT_EFW_FIELDS_LOCALE_TEXT as Ne, DEFAULT_EFW_FORM_LOCALE_TEXT as Ve, DEFAULT_EFW_TABLE_LOCALE_TEXT as be } from "./react-components/i18n/defaultLocaleText.js";
37
- import { PORYGON_LOCALES as ke, PORYGON_LOCALE_EN as Ge, PORYGON_LOCALE_ES as Re, PORYGON_LOCALE_PT_BR as Ue } from "./react-components/i18n/localePresets.js";
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 Ye } from "./react-components/tables/EFWTable/hooks/useDefaultFilterButton/useDefaultFilterButton.js";
41
- import { EFWTableEmpty as je, EFWTableOverlay as qe } from "./react-components/tables/EFWTable/components/EFWTableOverlay/EFWTableOverlay.js";
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
- Ie as DEFAULT_EFW_BUTTONS_LOCALE_TEXT,
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
- s as EFWAttachment,
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
- We as EFWConversionError,
55
+ ie as EFWConversionError,
51
56
  O as EFWDatePicker,
52
- N as EFWDatePickerField,
53
- u as EFWDrawerButton,
54
- L as EFWField,
55
- Te as EFWForm,
56
- _e as EFWFormMessageBarGroup,
57
- i as EFWGroupButton,
58
- b as EFWInput,
59
- R as EFWInputField,
60
- a as EFWMessageBarManager,
61
- w as EFWNumberInput,
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
- v as EFWSwitch,
68
+ Y as EFWSwitch,
64
69
  J as EFWSwitchField,
65
70
  ye as EFWTable,
66
- je as EFWTableEmpty,
67
- qe as EFWTableOverlay,
71
+ He as EFWTableEmpty,
72
+ Je as EFWTableOverlay,
68
73
  Q as EFWTagPicker,
69
74
  re as EFWTagPickerField,
70
75
  te as EFWTextArea,
71
- Ee as EFWTextAreaField,
72
- Le as EFWValuesToFlat,
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
- Re as PORYGON_LOCALE_ES,
76
- Ue as PORYGON_LOCALE_PT_BR,
77
- Ae as PorygonI18nProvider,
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
- B as esLocalizedStrings,
80
- ne as flatToEFWValues,
86
+ P as esLocalizedStrings,
87
+ _e as flatToEFWValues,
81
88
  o as formatFileSize,
82
- g as getAttachmentsFormattedValue,
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
- k as getInputFormattedValue,
88
- M as getNumberInputFormattedValue,
94
+ R as getInputFormattedValue,
95
+ w as getNumberInputFormattedValue,
89
96
  q as getSwitchFormattedValue,
90
97
  $ as getTagPickerFormattedValue,
91
98
  me as getTextAreaFormattedValue,
92
- S as ptLocalizedStrings,
99
+ B as ptLocalizedStrings,
93
100
  Oe as useButtonsLocaleText,
94
- Ye as useDefaultFilterButton,
101
+ je as useDefaultFilterButton,
95
102
  ce as useDrawer,
96
103
  l as useEFWButton,
97
- Pe as useFieldsLocaleText,
98
- fe as useFormController,
104
+ Se as useFieldsLocaleText,
105
+ Te as useFormController,
99
106
  De as useFormLocaleText,
100
- Be as usePorygonLocaleText,
107
+ Pe as usePorygonLocaleText,
101
108
  ze as useTableController,
102
- Ce as useTableLocaleText
109
+ Ce as useTableLocaleText,
110
+ Be as useTimelineLocaleText
103
111
  };