linear-react-components-ui 1.1.26-beta-1 → 1.1.26-beta.10

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