linear-react-components-ui 1.1.26-beta.4 → 1.1.26-beta.6

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.
Files changed (211) hide show
  1. package/lib/alerts/AlertProvider.js +2 -2
  2. package/lib/alerts/BaseAlert.js +8 -8
  3. package/lib/alerts/Message.js +1 -1
  4. package/lib/alerts/withAlert.js +1 -1
  5. package/lib/assets/BaseAlert.css +1 -1
  6. package/lib/assets/Content.css +1 -1
  7. package/lib/assets/DefaultFile.css +1 -1
  8. package/lib/assets/Drawer.css +1 -1
  9. package/lib/assets/index11.css +1 -1
  10. package/lib/assets/index5.css +1 -1
  11. package/lib/avatar/index.js +1 -1
  12. package/lib/badge/index.js +1 -1
  13. package/lib/buttons/ActivateButton.js +1 -1
  14. package/lib/buttons/AddButton.js +1 -1
  15. package/lib/buttons/Button.js +1 -1
  16. package/lib/buttons/ButtonGroups.js +1 -1
  17. package/lib/buttons/CancelButton.js +1 -1
  18. package/lib/buttons/DangerButton.js +1 -1
  19. package/lib/buttons/DefaultButton.js +70 -71
  20. package/lib/buttons/DestroyButton.js +1 -1
  21. package/lib/buttons/EditButton.js +1 -1
  22. package/lib/buttons/InactivateButton.js +1 -1
  23. package/lib/buttons/InfoButton.js +1 -1
  24. package/lib/buttons/PrimaryButton.js +1 -1
  25. package/lib/buttons/RestoreButton.js +1 -1
  26. package/lib/buttons/SaveButton.js +1 -1
  27. package/lib/buttons/SuccessButton.js +1 -1
  28. package/lib/buttons/WarningButton.js +1 -1
  29. package/lib/buttons/button_container/index.js +1 -1
  30. package/lib/buttons/split_button/index.js +1 -1
  31. package/lib/calendar/DangerCalendar.js +1 -1
  32. package/lib/calendar/InfoCalendar.js +1 -1
  33. package/lib/calendar/PrimaryCalendar.js +1 -1
  34. package/lib/calendar/SuccessCalendar.js +1 -1
  35. package/lib/calendar/WarningCalendar.js +1 -1
  36. package/lib/calendar/base/Day.js +2 -2
  37. package/lib/calendar/base/Month.js +1 -1
  38. package/lib/calendar/base/Week.js +1 -1
  39. package/lib/calendar/base/helpers.js +10 -10
  40. package/lib/calendar/base/index.js +64 -66
  41. package/lib/checkbox/index.js +4 -4
  42. package/lib/chunks/index.CM1aLH2W.js +205 -0
  43. package/lib/chunks/{index.Da--18GT.js → index.Df3kt2LQ.js} +179 -181
  44. package/lib/chunks/{jsx-runtime.gtoSnx-V.js → jsx-runtime.C7wFtzyj.js} +2 -2
  45. package/lib/chunks/lodash.CIAK_hAg.js +3684 -0
  46. package/lib/chunks/moment.DMLRxgRE.js +2589 -0
  47. package/lib/chunks/{tabs.BP3DB7Gx.js → tabs.D0L_nVfP.js} +95 -96
  48. package/lib/chunks/v1.Ds1rkxUj.js +49 -0
  49. package/lib/dialog/Alert.js +1 -1
  50. package/lib/dialog/Custom.js +3 -3
  51. package/lib/dialog/Error.js +1 -1
  52. package/lib/dialog/Information.js +1 -1
  53. package/lib/dialog/Question.js +36 -39
  54. package/lib/dialog/Warning.js +1 -1
  55. package/lib/dialog/base/Content.js +1 -1
  56. package/lib/dialog/base/Footer.js +1 -1
  57. package/lib/dialog/base/Header.js +2 -2
  58. package/lib/dialog/base/index.js +2 -2
  59. package/lib/dialog/form/index.js +2 -2
  60. package/lib/dialog/index.js +1 -1
  61. package/lib/dialog/wizard/index.js +4 -4
  62. package/lib/dialog/wizard/progressbar.js +87 -3
  63. package/lib/dialog/wizard/step.js +2 -2
  64. package/lib/drawer/Content.js +1 -1
  65. package/lib/drawer/Drawer.js +19 -19
  66. package/lib/drawer/Header.js +1 -1
  67. package/lib/dropdown/Popup.js +1 -1
  68. package/lib/dropdown/withDropdown.js +31 -31
  69. package/lib/fieldset/index.js +1 -1
  70. package/lib/form/Field.js +2 -2
  71. package/lib/form/FieldArray.js +2 -2
  72. package/lib/form/FieldNumber.js +27 -27
  73. package/lib/form/FieldPeriod.js +2 -2
  74. package/lib/form/helpers.js +1 -1
  75. package/lib/form/index.js +49 -49
  76. package/lib/form/withFieldHOC.js +1 -1
  77. package/lib/form/withFormSecurity.js +1 -1
  78. package/lib/gridlayout/GridCol.js +1 -1
  79. package/lib/gridlayout/GridRow.js +1 -1
  80. package/lib/hint/helpers.js +1 -1
  81. package/lib/hint/index.js +1 -1
  82. package/lib/icons/index.js +51 -54
  83. package/lib/index.js +2 -2
  84. package/lib/inputs/base/InputTextBase.js +112 -114
  85. package/lib/inputs/base/Label.js +1 -1
  86. package/lib/inputs/base/helpers.d.ts +3 -3
  87. package/lib/inputs/base/helpers.js +1 -1
  88. package/lib/inputs/color/index.js +2 -2
  89. package/lib/inputs/date/Dialog.js +2 -2
  90. package/lib/inputs/date/Dropdown.js +10 -14
  91. package/lib/inputs/date/helpers.js +7 -7
  92. package/lib/inputs/date/index.js +102 -114
  93. package/lib/inputs/errorMessage/index.js +1 -1
  94. package/lib/inputs/file/DefaultFile.js +43 -44
  95. package/lib/inputs/file/DragDropFile.js +91 -93
  96. package/lib/inputs/file/File.d.ts +1 -1
  97. package/lib/inputs/file/File.js +33 -34
  98. package/lib/inputs/file/FileButtonSettings.js +1 -1
  99. package/lib/inputs/inputHOC.js +1 -1
  100. package/lib/inputs/mask/BaseMask.js +8 -8
  101. package/lib/inputs/mask/Cnpj.js +2 -2
  102. package/lib/inputs/mask/Cpf.js +2 -2
  103. package/lib/inputs/mask/Phone.js +1 -1
  104. package/lib/inputs/mask/ZipCode.js +1 -1
  105. package/lib/inputs/mask/helpers.d.ts +33 -33
  106. package/lib/inputs/mask/helpers.js +44 -44
  107. package/lib/inputs/multiSelect/ActionButtons.js +2 -2
  108. package/lib/inputs/multiSelect/Dropdown.js +63 -64
  109. package/lib/inputs/multiSelect/helper.js +4 -7
  110. package/lib/inputs/multiSelect/index.js +45 -47
  111. package/lib/inputs/number/BaseNumber.js +1 -1
  112. package/lib/inputs/number/Currency.js +1 -1
  113. package/lib/inputs/number/Decimal.js +1 -1
  114. package/lib/inputs/number/index.js +10 -10
  115. package/lib/inputs/period/Dialog.js +2 -2
  116. package/lib/inputs/period/Dropdown.js +10 -15
  117. package/lib/inputs/period/PeriodList.js +1 -1
  118. package/lib/inputs/period/helper.js +3 -3
  119. package/lib/inputs/period/index.js +207 -223
  120. package/lib/inputs/search/index.js +29 -29
  121. package/lib/inputs/select/ActionButtons.js +1 -1
  122. package/lib/inputs/select/Dropdown.js +53 -53
  123. package/lib/inputs/select/helper.d.ts +1 -1
  124. package/lib/inputs/select/helper.js +39 -45
  125. package/lib/inputs/select/index.js +1 -1
  126. package/lib/inputs/select/multiple/Selecteds.js +1 -1
  127. package/lib/inputs/select/multiple/index.js +139 -143
  128. package/lib/inputs/select/simple/index.js +157 -164
  129. package/lib/inputs/text/index.js +1 -1
  130. package/lib/inputs/textarea/index.js +1 -1
  131. package/lib/internals/withTooltip.js +1 -1
  132. package/lib/labelMessages/index.js +1 -1
  133. package/lib/labels/DangerLabel.js +1 -1
  134. package/lib/labels/DefaultLabel.js +1 -1
  135. package/lib/labels/InfoLabel.js +1 -1
  136. package/lib/labels/PrimaryLabel.js +1 -1
  137. package/lib/labels/SuccessLabel.js +1 -1
  138. package/lib/labels/WarningLabel.js +1 -1
  139. package/lib/labels/label_container/index.js +1 -1
  140. package/lib/list/Header.js +1 -1
  141. package/lib/list/Item.js +2 -2
  142. package/lib/list/Separator.js +1 -1
  143. package/lib/list/index.js +2 -2
  144. package/lib/menus/float/MenuItem.js +18 -18
  145. package/lib/menus/float/SubMenuContainer.d.ts +10 -10
  146. package/lib/menus/float/index.js +2 -2
  147. package/lib/menus/sidenav/ExpandMenu.js +1 -1
  148. package/lib/menus/sidenav/MenuLink.js +1 -1
  149. package/lib/menus/sidenav/NavMenuGroup.js +1 -1
  150. package/lib/menus/sidenav/NavMenuItem.js +54 -56
  151. package/lib/menus/sidenav/NavSubMenuItem.js +1 -1
  152. package/lib/menus/sidenav/index.js +2 -2
  153. package/lib/menus/sidenav/popup_menu_search/EmptyList.js +1 -1
  154. package/lib/menus/sidenav/popup_menu_search/index.js +2 -2
  155. package/lib/noPermission/index.js +1 -1
  156. package/lib/panel/Content.js +30 -31
  157. package/lib/panel/DangerPanel.js +1 -1
  158. package/lib/panel/Default.js +1 -1
  159. package/lib/panel/Header.js +1 -1
  160. package/lib/panel/InfoPanel.js +1 -1
  161. package/lib/panel/PrimaryPanel.js +1 -1
  162. package/lib/panel/SuccessPanel.js +1 -1
  163. package/lib/panel/ToolBar.js +1 -1
  164. package/lib/panel/WarningPanel.js +1 -1
  165. package/lib/permissionValidations.js +11 -11
  166. package/lib/popover/PopoverText.js +1 -1
  167. package/lib/popover/PopoverTitle.js +1 -1
  168. package/lib/popover/index.js +1 -1
  169. package/lib/progress/Bar.js +1 -1
  170. package/lib/progress/index.js +1 -1
  171. package/lib/radio/index.js +1 -1
  172. package/lib/shortcuts/index.js +1 -1
  173. package/lib/skeleton/SkeletonContainer.js +1 -1
  174. package/lib/skeleton/index.js +1 -1
  175. package/lib/spinner/SpinnerLoading.js +1 -1
  176. package/lib/spinner/index.js +1 -1
  177. package/lib/split/Split.js +1 -1
  178. package/lib/split/SplitSide.js +1 -1
  179. package/lib/table/Body.js +25 -25
  180. package/lib/table/Header.js +28 -31
  181. package/lib/table/HeaderColumn.js +2 -2
  182. package/lib/table/Row.js +1 -1
  183. package/lib/table/RowColumn.js +1 -1
  184. package/lib/table/index.js +2 -2
  185. package/lib/tabs/DropdownTabs.js +4 -4
  186. package/lib/tabs/Menu.js +1 -1
  187. package/lib/tabs/MenuTabs.js +2 -2
  188. package/lib/tabs/Panel.js +29 -30
  189. package/lib/tabs/context.js +25 -29
  190. package/lib/tabs/index.js +2 -2
  191. package/lib/textContent/index.js +2 -2
  192. package/lib/toolbar/ButtonBar.js +1 -1
  193. package/lib/toolbar/LabelBar.js +1 -1
  194. package/lib/toolbar/Separator.js +1 -1
  195. package/lib/toolbar/ToolBarGroup.js +1 -1
  196. package/lib/toolbar/index.js +1 -1
  197. package/lib/tooltip/index.js +24 -24
  198. package/lib/treetable/Body.js +2 -2
  199. package/lib/treetable/Header.js +3 -3
  200. package/lib/treetable/Row.js +52 -52
  201. package/lib/treetable/helpers.d.ts +4 -5
  202. package/lib/treetable/index.js +1 -1
  203. package/lib/treeview/Header.js +1 -1
  204. package/lib/treeview/Node.js +4 -4
  205. package/lib/treeview/index.js +28 -28
  206. package/lib/uitour/index.js +32 -32
  207. package/package.json +24 -39
  208. package/lib/chunks/index.CjD97zna.js +0 -206
  209. package/lib/chunks/index.iA-fVKOP.js +0 -89
  210. package/lib/chunks/v1.CDXKvGzE.js +0 -41
  211. /package/lib/assets/{index29.css → progressbar.css} +0 -0
@@ -1,10 +1,10 @@
1
- import { j as e } from "./jsx-runtime.gtoSnx-V.js";
2
- import { forwardRef as oe, useState as z, useRef as se, useImperativeHandle as ie, useEffect as F, useContext as M, useCallback as ne, useMemo as re, createElement as le } from "react";
1
+ import { j as e } from "./jsx-runtime.C7wFtzyj.js";
2
+ import { forwardRef as oe, useState as z, useRef as se, useImperativeHandle as ne, useEffect as F, useContext as M, useCallback as ie, useMemo as re, createElement as le } from "react";
3
3
  import { useNavigate as ce, Link as ae } from "react-router-dom";
4
- import O from "../icons/index.js";
4
+ import T from "../icons/index.js";
5
5
  import '../assets/radio.css';import '../assets/skeleton.css';import '../assets/toolbar.css';import '../assets/label.css';import '../assets/panel.css';import '../assets/noPermission.css';import '../assets/button.css';import '../assets/gridlayout.css';import '../assets/tabs.css';/* empty css */
6
6
  import de from "../gridlayout/GridCol.js";
7
- import { actionsOnPermissionDenied as V, OPTIONS_ON_DENIED as P } from "../permissionValidations.js";
7
+ import { actionsOnPermissionDenied as V, OPTIONS_ON_DENIED as O } from "../permissionValidations.js";
8
8
  import { ErrorMessage as me } from "../inputs/errorMessage/index.js";
9
9
  import "../buttons/DefaultButton.js";
10
10
  /* empty css */
@@ -24,50 +24,50 @@ import xe, { TooltipContext as he } from "../internals/withTooltip.js";
24
24
  import be from "../popover/index.js";
25
25
  import U from "../textContent/index.js";
26
26
  import "../tabs/MenuTabs.js";
27
- import "lodash";
27
+ import "./lodash.CIAK_hAg.js";
28
28
  import "../tabs/context.js";
29
29
  import "../tabs/tabHelpers.js";
30
- import "./index.CjD97zna.js";
30
+ import "./index.CM1aLH2W.js";
31
31
  import ke from "../hint/index.js";
32
32
  const X = oe(({
33
- name: j,
33
+ name: C,
34
34
  required: d,
35
- value: b,
35
+ value: h,
36
36
  label: u,
37
- onChange: s,
38
- autofocus: i,
37
+ onChange: i,
38
+ autofocus: s,
39
39
  hint: r,
40
- id: I = void 0,
41
- gridLayout: N,
40
+ id: j = void 0,
41
+ gridLayout: I,
42
42
  checked: l = !1,
43
43
  disabled: m,
44
44
  permissionAttr: g,
45
- tooltip: w,
45
+ tooltip: N,
46
46
  tooltipPosition: t = "top",
47
- tooltipWidth: D = "auto",
48
- skeletonize: k,
49
- targetRef: v,
50
- errorMessages: R,
51
- customClassForLabel: L,
52
- hintPosition: y = "below",
53
- themePopover: B = "light",
54
- popoverAlign: S = "left"
55
- }, E) => {
56
- const [c, $] = z(l), _ = [P.disabled, P.unvisible], [C] = z(V(_, g)), n = se(null);
57
- ie(E, () => n.current, [n.current]), F(() => {
58
- $(l);
47
+ tooltipWidth: w = "auto",
48
+ skeletonize: b,
49
+ targetRef: k,
50
+ errorMessages: P,
51
+ customClassForLabel: R,
52
+ hintPosition: D = "below",
53
+ themePopover: L = "light",
54
+ popoverAlign: B = "left"
55
+ }, y) => {
56
+ const [c, E] = z(l), S = [O.disabled, O.unvisible], [v] = z(V(S, g)), n = se(null);
57
+ ne(y, () => n.current, [n.current]), F(() => {
58
+ E(l);
59
59
  }, [l]);
60
- const f = () => m || C.disabled, A = () => {
60
+ const f = () => m || v.disabled, _ = () => {
61
61
  if (f()) return null;
62
62
  const x = {
63
63
  checked: !c,
64
- id: I,
65
- name: j,
64
+ id: j,
65
+ name: C,
66
66
  value: !c
67
67
  };
68
68
  return {
69
69
  onClick: () => {
70
- !f() && !k && ($(!c), s == null || s({ target: x }));
70
+ !f() && !b && (E(!c), i?.({ target: x }));
71
71
  },
72
72
  onKeyDown: void 0,
73
73
  role: "checkbox",
@@ -77,7 +77,7 @@ const X = oe(({
77
77
  /* @__PURE__ */ e.jsxs(
78
78
  "div",
79
79
  {
80
- "data-skeletonized": k,
80
+ "data-skeletonized": b,
81
81
  className: "checkbox-component",
82
82
  style: { display: "flex", alignItems: "center" },
83
83
  children: [
@@ -87,52 +87,52 @@ const X = oe(({
87
87
  "data-testid": "checkbox-container",
88
88
  className: "inputcontent",
89
89
  "aria-checked": c,
90
- ...A(),
90
+ ..._(),
91
91
  children: [
92
92
  /* @__PURE__ */ e.jsx(
93
93
  "input",
94
94
  {
95
- id: I || void 0,
95
+ id: j || void 0,
96
96
  ref: (x) => {
97
- v && v(x), n.current = x;
97
+ k && k(x), n.current = x;
98
98
  },
99
99
  className: "input",
100
100
  type: "checkbox",
101
- autoFocus: i,
101
+ autoFocus: s,
102
102
  checked: c,
103
103
  disabled: f(),
104
- name: j,
104
+ name: C,
105
105
  required: d,
106
- value: b,
106
+ value: h,
107
107
  onChange: () => {
108
108
  }
109
109
  }
110
110
  ),
111
- /* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(O, { size: 12, name: "checkmark" }) }),
111
+ /* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(T, { size: 12, name: "checkmark" }) }),
112
112
  u && /* @__PURE__ */ e.jsxs("div", { className: "description", children: [
113
113
  /* @__PURE__ */ e.jsx(
114
114
  U,
115
115
  {
116
116
  required: d,
117
117
  disabled: f(),
118
- className: L,
119
- tooltip: w,
120
- tooltipWidth: D,
118
+ className: R,
119
+ tooltip: N,
120
+ tooltipWidth: w,
121
121
  tooltipPosition: t
122
122
  }
123
123
  ),
124
124
  u,
125
125
  /* @__PURE__ */ e.jsx(U, {}),
126
- /* @__PURE__ */ e.jsx(ke, { disabled: m, visible: !!r && y === "below", description: r, customClass: "hint" })
126
+ /* @__PURE__ */ e.jsx(ke, { disabled: m, visible: !!r && D === "below", description: r, customClass: "hint" })
127
127
  ] })
128
128
  ]
129
129
  }
130
130
  ),
131
- !!r && y === "onLabelRight" && !k && /* @__PURE__ */ e.jsx(
131
+ !!r && D === "onLabelRight" && !b && /* @__PURE__ */ e.jsx(
132
132
  be,
133
133
  {
134
- theme: B,
135
- align: S,
134
+ theme: L,
135
+ align: B,
136
136
  customClass: "-hint",
137
137
  iconColor: "#03bde2",
138
138
  style: { margin: "0px 5px", height: "auto", width: 20 },
@@ -142,61 +142,60 @@ const X = oe(({
142
142
  ]
143
143
  }
144
144
  ),
145
- /* @__PURE__ */ e.jsx(me, { messages: R })
145
+ /* @__PURE__ */ e.jsx(me, { messages: P })
146
146
  ] });
147
- return C.unvisible ? null : N ? /* @__PURE__ */ e.jsx(de, { customClass: "-withinput", cols: N, children: p() }) : p();
147
+ return v.unvisible ? null : I ? /* @__PURE__ */ e.jsx(de, { customClass: "-withinput", cols: I, children: p() }) : p();
148
148
  });
149
149
  X.displayName = "CheckBox";
150
- const ve = (j) => {
150
+ const ve = (C) => {
151
151
  const {
152
152
  onClick: d,
153
- leftIconName: b,
153
+ leftIconName: h,
154
154
  leftIcon: u,
155
- displayCheckbox: s,
156
- url: i,
155
+ displayCheckbox: i,
156
+ url: s,
157
157
  leftElement: r,
158
- hovered: I = !0,
159
- customClass: N,
158
+ hovered: j = !0,
159
+ customClass: I,
160
160
  text: l,
161
161
  subText: m,
162
162
  rightIcon: g,
163
- rightIconName: w,
163
+ rightIconName: N,
164
164
  itemId: t = "",
165
- rightElement: D,
166
- style: k,
167
- children: v,
168
- disabled: R,
169
- separator: L = !0,
170
- visible: y = !0,
171
- permissionAttr: B,
172
- skeletonize: S,
173
- targetRef: E,
165
+ rightElement: w,
166
+ style: b,
167
+ children: k,
168
+ disabled: P,
169
+ separator: R = !0,
170
+ visible: D = !0,
171
+ permissionAttr: L,
172
+ skeletonize: B,
173
+ targetRef: y,
174
174
  target: c,
175
- onDeniedText: $ = "Permissão Negada! Consulte o Administrador do sistema."
176
- } = j, {
177
- handleSelectItem: _,
178
- selectable: C,
175
+ onDeniedText: E = "Permissão Negada! Consulte o Administrador do sistema."
176
+ } = C, {
177
+ handleSelectItem: S,
178
+ selectable: v,
179
179
  selectedItemId: n,
180
180
  selectedItemRef: f,
181
- selectOnEnter: A
182
- } = M(pe), p = M(ue), { handlerSetOnDeniedText: x } = M(he), Y = [P.disabled, P.unvisible], [T] = z(V(Y, B)), Z = ce(), a = T.disabled, H = () => R || T.disabled, G = "rgb(193, 193, 193)", K = () => `item ${N} ${L && "list-separator"} ${H() && "disabled"}
183
- ${s && "list-checkbox"}`, W = (o, h) => {
184
- const te = !h && !s && !r && !b && !u && T.disabled;
185
- return h || (te ? /* @__PURE__ */ e.jsx(O, { name: "padlock", color: G }) : o ? /* @__PURE__ */ e.jsx(
186
- O,
181
+ selectOnEnter: _
182
+ } = M(pe), p = M(ue), { handlerSetOnDeniedText: x } = M(he), Y = [O.disabled, O.unvisible], [$] = z(V(Y, L)), Z = ce(), a = $.disabled, A = () => P || $.disabled, G = "rgb(193, 193, 193)", H = () => `item ${I} ${R && "list-separator"} ${A() && "disabled"}
183
+ ${i && "list-checkbox"}`, W = (o, K) => {
184
+ const te = !K && !i && !r && !h && !u && $.disabled;
185
+ return K || (te ? /* @__PURE__ */ e.jsx(T, { name: "padlock", color: G }) : o ? /* @__PURE__ */ e.jsx(
186
+ T,
187
187
  {
188
188
  name: a ? "padlock" : o,
189
189
  color: a ? G : ""
190
190
  }
191
191
  ) : null);
192
192
  }, J = (o) => {
193
- d !== void 0 && d(o, t), p && p.handleDropdownClose && p.handleDropdownClose(), C && _(t, d);
194
- }, Q = ne((o) => {
195
- var h;
196
- [fe.ENTER].includes(o.keyCode) && !S && t && n === t && (o.preventDefault(), J(o), i && (c === "_blank" ? (h = window.open(i, "_blank")) == null || h.focus() : Z(i)));
197
- }, [i, n, t]), q = () => {
198
- if (!H())
199
- return d === void 0 && p === void 0 && !C ? null : {
193
+ d !== void 0 && d(o, t), p && p.handleDropdownClose && p.handleDropdownClose(), v && S(t, d);
194
+ }, Q = ie((o) => {
195
+ [fe.ENTER].includes(o.keyCode) && !B && t && n === t && (o.preventDefault(), J(o), s && (c === "_blank" ? window.open(s, "_blank")?.focus() : Z(s)));
196
+ }, [s, n, t]), q = () => {
197
+ if (!A())
198
+ return d === void 0 && p === void 0 && !v ? null : {
200
199
  onClick: (o) => {
201
200
  J(o);
202
201
  },
@@ -204,39 +203,39 @@ const ve = (j) => {
204
203
  tabIndex: 0
205
204
  };
206
205
  };
207
- F(() => (A && document.addEventListener("keydown", Q), () => {
206
+ F(() => (_ && document.addEventListener("keydown", Q), () => {
208
207
  document.removeEventListener("keydown", Q);
209
- }), [i, n, t]), F(() => {
210
- a && x($);
208
+ }), [s, n, t]), F(() => {
209
+ a && x(E);
211
210
  }, [a]);
212
211
  const ee = re(
213
- () => !a && s ? /* @__PURE__ */ e.jsx(X, { name: "checkbox" }) : a && s ? /* @__PURE__ */ e.jsx(O, { name: "padlock" }) : null,
214
- [a && s]
212
+ () => !a && i ? /* @__PURE__ */ e.jsx(X, { name: "checkbox" }) : a && i ? /* @__PURE__ */ e.jsx(T, { name: "padlock" }) : null,
213
+ [a && i]
215
214
  );
216
- return !y || T.unvisible ? null : /* @__PURE__ */ le(
215
+ return !D || $.unvisible ? null : /* @__PURE__ */ le(
217
216
  "li",
218
217
  {
219
- ref: (o) => (E && E(o), t && n === t ? f : null),
220
- style: k,
221
- className: `item-container ${I && "hovered"}
218
+ ref: (o) => (y && y(o), t && n === t ? f : null),
219
+ style: b,
220
+ className: `item-container ${j && "hovered"}
222
221
  ${t && n === t ? "-activedlist" : ""}`,
223
222
  ...q(),
224
223
  key: t
225
224
  },
226
- i && !H() && /* @__PURE__ */ e.jsx(ae, { className: "linkitem", to: i, target: c }),
227
- (s || r || b || u) && /* @__PURE__ */ e.jsxs("div", { className: `${K()} -icon-left`, children: [
225
+ s && !A() && /* @__PURE__ */ e.jsx(ae, { className: "linkitem", to: s, target: c }),
226
+ (i || r || h || u) && /* @__PURE__ */ e.jsxs("div", { className: `${H()} -icon-left`, children: [
228
227
  ee,
229
228
  r,
230
- W(b, u)
229
+ W(h, u)
231
230
  ] }),
232
- (l || m || v) && /* @__PURE__ */ e.jsxs("div", { className: `${K()}`, children: [
231
+ (l || m || k) && /* @__PURE__ */ e.jsxs("div", { className: `${H()}`, children: [
233
232
  l && /* @__PURE__ */ e.jsx("p", { className: `${l && "text"}`, children: l }),
234
233
  m && /* @__PURE__ */ e.jsx("p", { className: `${m && "subtext"}`, children: m }),
235
- v
234
+ k
236
235
  ] }),
237
- (w || g || D || a) && /* @__PURE__ */ e.jsxs("div", { className: `${K()} -icon-right`, children: [
238
- W(w, g),
239
- D
236
+ (N || g || w || a) && /* @__PURE__ */ e.jsxs("div", { className: `${H()} -icon-right`, children: [
237
+ W(N, g),
238
+ w
240
239
  ] })
241
240
  );
242
241
  }, Ye = xe(ve);
@@ -0,0 +1,49 @@
1
+ const c = [];
2
+ for (let n = 0; n < 256; ++n)
3
+ c.push((n + 256).toString(16).slice(1));
4
+ function r(n, i = 0) {
5
+ return (c[n[i + 0]] + c[n[i + 1]] + c[n[i + 2]] + c[n[i + 3]] + "-" + c[n[i + 4]] + c[n[i + 5]] + "-" + c[n[i + 6]] + c[n[i + 7]] + "-" + c[n[i + 8]] + c[n[i + 9]] + "-" + c[n[i + 10]] + c[n[i + 11]] + c[n[i + 12]] + c[n[i + 13]] + c[n[i + 14]] + c[n[i + 15]]).toLowerCase();
6
+ }
7
+ let m;
8
+ const h = new Uint8Array(16);
9
+ function w() {
10
+ if (!m) {
11
+ if (typeof crypto > "u" || !crypto.getRandomValues)
12
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
13
+ m = crypto.getRandomValues.bind(crypto);
14
+ }
15
+ return m(h);
16
+ }
17
+ const l = {};
18
+ function V(n, i, d) {
19
+ let x;
20
+ {
21
+ const u = Date.now(), e = w();
22
+ t(l, u, e), x = R(e, l.msecs, l.nsecs, l.clockseq, l.node, i, d);
23
+ }
24
+ return i ?? r(x);
25
+ }
26
+ function t(n, i, d) {
27
+ return n.msecs ??= -1 / 0, n.nsecs ??= 0, i === n.msecs ? (n.nsecs++, n.nsecs >= 1e4 && (n.node = void 0, n.nsecs = 0)) : i > n.msecs ? n.nsecs = 0 : i < n.msecs && (n.node = void 0), n.node || (n.node = d.slice(10, 16), n.node[0] |= 1, n.clockseq = (d[8] << 8 | d[9]) & 16383), n.msecs = i, n;
28
+ }
29
+ function R(n, i, d, x, u, e, o = 0) {
30
+ if (n.length < 16)
31
+ throw new Error("Random bytes length must be >= 16");
32
+ if (!e)
33
+ e = new Uint8Array(16), o = 0;
34
+ else if (o < 0 || o + 16 > e.length)
35
+ throw new RangeError(`UUID byte range ${o}:${o + 15} is out of buffer bounds`);
36
+ i ??= Date.now(), d ??= 0, x ??= (n[8] << 8 | n[9]) & 16383, u ??= n.slice(10, 16), i += 122192928e5;
37
+ const p = ((i & 268435455) * 1e4 + d) % 4294967296;
38
+ e[o++] = p >>> 24 & 255, e[o++] = p >>> 16 & 255, e[o++] = p >>> 8 & 255, e[o++] = p & 255;
39
+ const y = i / 4294967296 * 1e4 & 268435455;
40
+ e[o++] = y >>> 8 & 255, e[o++] = y & 255, e[o++] = y >>> 24 & 15 | 16, e[o++] = y >>> 16 & 255, e[o++] = x >>> 8 | 128, e[o++] = x & 255;
41
+ for (let g = 0; g < 6; ++g)
42
+ e[o++] = u[g];
43
+ return e;
44
+ }
45
+ export {
46
+ w as r,
47
+ r as u,
48
+ V as v
49
+ };
@@ -1,4 +1,4 @@
1
- import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import { j as o } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import "react";
3
3
  import "../buttons/DefaultButton.js";
4
4
  import n from "../buttons/PrimaryButton.js";
@@ -1,12 +1,12 @@
1
- import { j as e } from "../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import { j as e } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import s from "react";
3
- import { B as a } from "../chunks/index.CjD97zna.js";
3
+ import { B as a } from "../chunks/index.CM1aLH2W.js";
4
4
  import m from "./base/Footer.js";
5
5
  import c from "../icons/index.js";
6
6
  import u from "../buttons/button_container/index.js";
7
7
  import "../buttons/DefaultButton.js";
8
8
  import '../assets/button.css';/* empty css */
9
- import { v as d } from "../chunks/v1.CDXKvGzE.js";
9
+ import { v as d } from "../chunks/v1.Ds1rkxUj.js";
10
10
  const x = (t, i) => i || (t ? /* @__PURE__ */ e.jsx(c, { name: t, color: "#000", size: 64 }) : null), C = (t) => {
11
11
  const { width: i = "35%", height: n = "auto", iconName: o = null, open: r } = t;
12
12
  return /* @__PURE__ */ e.jsxs(
@@ -1,4 +1,4 @@
1
- import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import { j as o } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import "react";
3
3
  import "../buttons/DefaultButton.js";
4
4
  import n from "../buttons/PrimaryButton.js";
@@ -1,4 +1,4 @@
1
- import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import { j as o } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import "react";
3
3
  import "../buttons/DefaultButton.js";
4
4
  import n from "../buttons/PrimaryButton.js";
@@ -1,63 +1,60 @@
1
- import { j as t } from "../chunks/jsx-runtime.gtoSnx-V.js";
2
- import { useLayoutEffect as d, useEffect as b } from "react";
3
- import p from "../buttons/Button.js";
4
- import x from "../buttons/DangerButton.js";
5
- import C from "../icons/index.js";
1
+ import { j as t } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
+ import { useLayoutEffect as a, useEffect as d } from "react";
3
+ import b from "../buttons/Button.js";
4
+ import p from "../buttons/DangerButton.js";
5
+ import E from "../icons/index.js";
6
6
  import '../assets/button.css';/* empty css */
7
- import j from "./Custom.js";
8
- const h = (s) => {
7
+ import x from "./Custom.js";
8
+ const y = (e) => {
9
9
  const {
10
- visible: n = !0,
11
- closeOnEsc: m = !1,
12
- isWaiting: i,
13
- onConfirmClick: u,
14
- onUnconfirmClick: r,
10
+ visible: o = !0,
11
+ closeOnEsc: s = !1,
12
+ isWaiting: n,
13
+ onConfirmClick: r,
14
+ onUnconfirmClick: i,
15
15
  confirmLabel: l = "Sim",
16
- declineLabel: f = "Não"
17
- } = s, c = "botao-unconfirm-click", a = [
16
+ declineLabel: u = "Não"
17
+ } = e, c = "botao-unconfirm-click", f = [
18
18
  /* @__PURE__ */ t.jsx(
19
- x,
19
+ p,
20
20
  {
21
- disabled: i,
22
- onClick: u,
23
- isLoading: i,
21
+ disabled: n,
22
+ onClick: r,
23
+ isLoading: n,
24
24
  label: l
25
25
  },
26
26
  "yes-buttom"
27
27
  ),
28
28
  /* @__PURE__ */ t.jsx(
29
- p,
29
+ b,
30
30
  {
31
31
  id: c,
32
- disabled: i,
33
- onClick: r,
34
- label: f
32
+ disabled: n,
33
+ onClick: i,
34
+ label: u
35
35
  },
36
36
  "no-buttom"
37
37
  )
38
38
  ];
39
- return d(() => {
40
- const o = document.activeElement;
39
+ return a(() => {
40
+ const m = document.activeElement;
41
41
  return () => {
42
- var e;
43
- (e = o == null ? void 0 : o.focus) == null || e.call(o);
42
+ m?.focus?.();
44
43
  };
45
- }, [n]), b(() => {
46
- var e;
47
- const o = document.getElementById(c);
48
- (e = o == null ? void 0 : o.focus) == null || e.call(o);
49
- }, [n, document.activeElement]), n ? /* @__PURE__ */ t.jsx(
50
- j,
44
+ }, [o]), d(() => {
45
+ document.getElementById(c)?.focus?.();
46
+ }, [o, document.activeElement]), o ? /* @__PURE__ */ t.jsx(
47
+ x,
51
48
  {
52
- ...s,
53
- open: n,
54
- buttons: a,
55
- closeOnEsc: m,
56
- handlerClose: r,
57
- icon: /* @__PURE__ */ t.jsx(C, { name: "question", color: "#3498db", size: 64 })
49
+ ...e,
50
+ open: o,
51
+ buttons: f,
52
+ closeOnEsc: s,
53
+ handlerClose: i,
54
+ icon: /* @__PURE__ */ t.jsx(E, { name: "question", color: "#3498db", size: 64 })
58
55
  }
59
56
  ) : null;
60
57
  };
61
58
  export {
62
- h as default
59
+ y as default
63
60
  };
@@ -1,4 +1,4 @@
1
- import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import { j as o } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import "react";
3
3
  import "../buttons/DefaultButton.js";
4
4
  import m from "../buttons/PrimaryButton.js";
@@ -1,4 +1,4 @@
1
- import { j as t } from "../../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import { j as t } from "../../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import { Suspense as n } from "react";
3
3
  import '../../assets/Content.css';const d = ({ children: o, styleForContent: s, className: e = "" }) => /* @__PURE__ */ t.jsx(n, { children: /* @__PURE__ */ t.jsx("div", { id: "modal-dialog-content", className: `dialog-content ${e}`, style: s, children: o }) });
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { j as e } from "../../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import { j as e } from "../../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  const s = (o) => /* @__PURE__ */ e.jsx("div", { className: "footer", children: o.children });
3
3
  export {
4
4
  s as default
@@ -1,7 +1,7 @@
1
- import "../../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import "../../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import "react";
3
3
  import "../../icons/index.js";
4
- import { H as i } from "../../chunks/index.CjD97zna.js";
4
+ import { H as i } from "../../chunks/index.CM1aLH2W.js";
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import "../../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import "../../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import "react";
3
3
  import "react-dom";
4
- import { D as a, B as e } from "../../chunks/index.CjD97zna.js";
4
+ import { D as a, B as e } from "../../chunks/index.CM1aLH2W.js";
5
5
  import "./Content.js";
6
6
  export {
7
7
  a as DialogContext,
@@ -1,6 +1,6 @@
1
- import "../../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import "../../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import "react";
3
- import { a as F, F as d } from "../../chunks/index.CjD97zna.js";
3
+ import { a as F, F as d } from "../../chunks/index.CM1aLH2W.js";
4
4
  import "../../buttons/button_container/index.js";
5
5
  import "../../buttons/DefaultButton.js";
6
6
  import "../../icons/index.js";
@@ -1,4 +1,4 @@
1
- import { B as a } from "../chunks/index.CjD97zna.js";
1
+ import { B as a } from "../chunks/index.CM1aLH2W.js";
2
2
  import { default as e } from "./Alert.js";
3
3
  import { default as l } from "./Error.js";
4
4
  import { default as s } from "./Information.js";
@@ -1,8 +1,8 @@
1
- import "../../chunks/jsx-runtime.gtoSnx-V.js";
1
+ import "../../chunks/jsx-runtime.C7wFtzyj.js";
2
2
  import "react";
3
- import "lodash";
4
- import "../../chunks/index.CjD97zna.js";
5
- import { b as p, W as s, a as m, b as d, u as n } from "../../chunks/index.iA-fVKOP.js";
3
+ import "../../chunks/lodash.CIAK_hAg.js";
4
+ import "../../chunks/index.CM1aLH2W.js";
5
+ import { b as p, W as s, a as m, b as d, u as n } from "./progressbar.js";
6
6
  import { useWizard as x } from "./useWizard.js";
7
7
  export {
8
8
  p as Container,