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
@@ -1,35 +1,33 @@
1
- import { j as m } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import { forwardRef as f } from "react";
3
- import c from "lodash";
4
- import x from "../internals/withTooltip.js";
5
- import '../assets/index4.css';const o = f(({
6
- as: t = "span",
7
- children: e,
8
- className: n,
9
- label: d,
10
- styleForLabel: s,
11
- disabled: R,
12
- targetRef: b,
13
- labelRef: u,
14
- onHoverLabel: r,
15
- ...a
16
- }, i) => {
17
- const p = i, l = c.omit(a, ["tooltipWidth", "tooltip", "tooltipPosition", "labelUppercase"]);
18
- return /* @__PURE__ */ m.jsx(
19
- t,
20
- {
21
- ref: p,
22
- style: s,
23
- className: `text-content-component ${n}`,
24
- "data-textcontent": t,
25
- onMouseEnter: r,
26
- ...l,
27
- children: e
28
- }
29
- );
1
+ import { j as C } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as L } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { forwardRef as N } from "react";
4
+ import { _ as T } from "../chunks/lodash.CIAK_hAg.js";
5
+ import j from "../internals/withTooltip.js";
6
+ import '../assets/index4.css';const x = N((p, m) => {
7
+ const t = L.c(17);
8
+ let e, o, r, l, s, a, n;
9
+ if (t[0] !== m || t[1] !== p) {
10
+ const {
11
+ as: d,
12
+ children: b,
13
+ className: R,
14
+ label: v,
15
+ styleForLabel: u,
16
+ disabled: E,
17
+ targetRef: $,
18
+ labelRef: w,
19
+ onHoverLabel: y,
20
+ ...h
21
+ } = p;
22
+ o = b, r = R, s = u, l = y, e = d === void 0 ? "span" : d, n = m, a = T.omit(h, ["tooltipWidth", "tooltip", "tooltipPosition", "labelUppercase"]), t[0] = m, t[1] = p, t[2] = e, t[3] = o, t[4] = r, t[5] = l, t[6] = s, t[7] = a, t[8] = n;
23
+ } else
24
+ e = t[2], o = t[3], r = t[4], l = t[5], s = t[6], a = t[7], n = t[8];
25
+ const c = a, f = `text-content-component ${r}`;
26
+ let i;
27
+ return t[9] !== e || t[10] !== o || t[11] !== l || t[12] !== c || t[13] !== s || t[14] !== f || t[15] !== n ? (i = /* @__PURE__ */ C.jsx(e, { ref: n, style: s, className: f, "data-textcontent": e, onMouseEnter: l, ...c, children: o }), t[9] = e, t[10] = o, t[11] = l, t[12] = c, t[13] = s, t[14] = f, t[15] = n, t[16] = i) : i = t[16], i;
30
28
  });
31
- o.displayName = "TextContent";
32
- const w = x(o);
29
+ x.displayName = "TextContent";
30
+ const U = j(x);
33
31
  export {
34
- w as default
32
+ U as default
35
33
  };
@@ -1,63 +1,67 @@
1
- import { j as o } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import { useContext as B } from "react";
3
- import j from "../buttons/Button.js";
4
- import c from "../buttons/PrimaryButton.js";
5
- import d from "../buttons/DangerButton.js";
6
- import l from "../buttons/WarningButton.js";
7
- import v from "../buttons/SuccessButton.js";
8
- import g from "../buttons/InfoButton.js";
9
- import y from "../buttons/SaveButton.js";
10
- import C from "../buttons/CancelButton.js";
11
- import b from "../buttons/EditButton.js";
12
- import S from "../buttons/DestroyButton.js";
13
- import w from "../buttons/AddButton.js";
14
- import A from "../buttons/ActivateButton.js";
15
- import D from "../buttons/InactivateButton.js";
16
- import E from "../buttons/RestoreButton.js";
1
+ import { j as o } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as C } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useContext as b } from "react";
4
+ import A from "../buttons/Button.js";
5
+ import E from "../buttons/PrimaryButton.js";
6
+ import R from "../buttons/DangerButton.js";
7
+ import S from "../buttons/WarningButton.js";
8
+ import k from "../buttons/SuccessButton.js";
9
+ import w from "../buttons/InfoButton.js";
10
+ import z from "../buttons/SaveButton.js";
11
+ import D from "../buttons/CancelButton.js";
12
+ import I from "../buttons/EditButton.js";
13
+ import P from "../buttons/DestroyButton.js";
14
+ import T from "../buttons/AddButton.js";
15
+ import $ from "../buttons/ActivateButton.js";
16
+ import h from "../buttons/InactivateButton.js";
17
+ import N from "../buttons/RestoreButton.js";
17
18
  import '../assets/button.css';/* empty css */
18
- import I from "./helpers.js";
19
- const Q = ({
20
- size: r,
21
- icon: m,
22
- onClick: s,
23
- iconName: n,
24
- transparent: e,
25
- customClass: i,
26
- type: a = "default",
27
- iconAlign: u = "left",
28
- label: f = "",
29
- ...p
30
- }) => {
31
- const { skeletonize: x } = B(I), t = () => ({
32
- ...p,
33
- size: r,
34
- icon: m,
35
- label: f,
36
- onClick: s,
37
- iconName: n,
38
- iconAlign: u,
39
- transparent: e,
40
- skeletonize: x,
19
+ import W from "./helpers.js";
20
+ const st = (c) => {
21
+ const r = C.c(3), {
22
+ size: p,
23
+ icon: u,
24
+ onClick: f,
25
+ iconName: l,
26
+ transparent: x,
27
+ customClass: B,
28
+ type: e,
29
+ iconAlign: m,
30
+ label: a,
31
+ ...j
32
+ } = c, d = e === void 0 ? "default" : e, v = m === void 0 ? "left" : m, g = a === void 0 ? "" : a, {
33
+ skeletonize: y
34
+ } = b(W), t = () => ({
35
+ ...j,
36
+ size: p,
37
+ icon: u,
38
+ label: g,
39
+ onClick: f,
40
+ iconName: l,
41
+ iconAlign: v,
42
+ transparent: x,
43
+ skeletonize: y,
41
44
  boxShadow: !1,
42
- customClass: `buttonbar ${i}`
43
- });
44
- return {
45
- default: /* @__PURE__ */ o.jsx(j, { ...t() }),
46
- primary: /* @__PURE__ */ o.jsx(c, { ...t() }),
47
- danger: /* @__PURE__ */ o.jsx(d, { ...t() }),
48
- info: /* @__PURE__ */ o.jsx(g, { ...t() }),
49
- success: /* @__PURE__ */ o.jsx(v, { ...t() }),
50
- warning: /* @__PURE__ */ o.jsx(l, { ...t() }),
51
- add: /* @__PURE__ */ o.jsx(w, { ...t() }),
52
- cancel: /* @__PURE__ */ o.jsx(C, { ...t() }),
53
- destroy: /* @__PURE__ */ o.jsx(S, { ...t() }),
54
- edit: /* @__PURE__ */ o.jsx(b, { ...t() }),
55
- save: /* @__PURE__ */ o.jsx(y, { ...t() }),
56
- activate: /* @__PURE__ */ o.jsx(A, { ...t() }),
57
- inactivate: /* @__PURE__ */ o.jsx(D, { ...t() }),
58
- restore: /* @__PURE__ */ o.jsx(E, { ...t() })
59
- }[a];
45
+ customClass: `buttonbar ${B}`
46
+ }), n = N, i = t();
47
+ let s;
48
+ return r[0] !== n || r[1] !== i ? (s = /* @__PURE__ */ o.jsx(n, { ...i }), r[0] = n, r[1] = i, r[2] = s) : s = r[2], {
49
+ default: /* @__PURE__ */ o.jsx(A, { ...t() }),
50
+ primary: /* @__PURE__ */ o.jsx(E, { ...t() }),
51
+ danger: /* @__PURE__ */ o.jsx(R, { ...t() }),
52
+ info: /* @__PURE__ */ o.jsx(w, { ...t() }),
53
+ success: /* @__PURE__ */ o.jsx(k, { ...t() }),
54
+ warning: /* @__PURE__ */ o.jsx(S, { ...t() }),
55
+ add: /* @__PURE__ */ o.jsx(T, { ...t() }),
56
+ cancel: /* @__PURE__ */ o.jsx(D, { ...t() }),
57
+ destroy: /* @__PURE__ */ o.jsx(P, { ...t() }),
58
+ edit: /* @__PURE__ */ o.jsx(I, { ...t() }),
59
+ save: /* @__PURE__ */ o.jsx(z, { ...t() }),
60
+ activate: /* @__PURE__ */ o.jsx($, { ...t() }),
61
+ inactivate: /* @__PURE__ */ o.jsx(h, { ...t() }),
62
+ restore: s
63
+ }[d];
60
64
  };
61
65
  export {
62
- Q as default
66
+ st as default
63
67
  };
@@ -1,43 +1,51 @@
1
- import { j as o } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import { useContext as x } from "react";
3
- import u from "../labels/DefaultLabel.js";
4
- import b from "../labels/DangerLabel.js";
5
- import c from "../labels/PrimaryLabel.js";
6
- import j from "../labels/WarningLabel.js";
7
- import g from "../labels/SuccessLabel.js";
8
- import L from "../labels/InfoLabel.js";
1
+ import { j as e } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as L } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useContext as v } from "react";
4
+ import C from "../labels/DefaultLabel.js";
5
+ import h from "../labels/DangerLabel.js";
6
+ import z from "../labels/PrimaryLabel.js";
7
+ import B from "../labels/WarningLabel.js";
8
+ import E from "../labels/SuccessLabel.js";
9
+ import P from "../labels/InfoLabel.js";
9
10
  import '../assets/label.css';/* empty css */
10
- import d from "./helpers.js";
11
- const H = ({
12
- size: t,
13
- icon: e,
14
- children: s,
15
- iconName: a,
16
- style: m = {},
17
- type: i = "default",
18
- bordered: n = !1,
19
- ...l
20
- }) => {
21
- const p = { lineHeight: "unset", padding: "7px 10px 6px", ...m }, { skeletonize: f } = x(d), r = () => ({
22
- ...l,
23
- size: t,
24
- icon: e,
25
- children: s,
26
- iconName: a,
27
- style: p,
28
- bordered: n,
29
- skeletonize: f,
11
+ import R from "./helpers.js";
12
+ const A = (l) => {
13
+ const o = L.c(3), {
14
+ size: p,
15
+ icon: c,
16
+ children: f,
17
+ iconName: x,
18
+ style: n,
19
+ type: m,
20
+ bordered: a,
21
+ ...d
22
+ } = l, b = n === void 0 ? {} : n, u = m === void 0 ? "default" : m, j = a === void 0 ? !1 : a, y = {
23
+ lineHeight: "unset",
24
+ padding: "7px 10px 6px",
25
+ ...b
26
+ }, {
27
+ skeletonize: g
28
+ } = v(R), t = () => ({
29
+ ...d,
30
+ size: p,
31
+ icon: c,
32
+ children: f,
33
+ iconName: x,
34
+ style: y,
35
+ bordered: j,
36
+ skeletonize: g,
30
37
  customClass: "labelbar"
31
- });
32
- return {
33
- default: /* @__PURE__ */ o.jsx(u, { ...r() }),
34
- primary: /* @__PURE__ */ o.jsx(c, { ...r() }),
35
- danger: /* @__PURE__ */ o.jsx(b, { ...r() }),
36
- info: /* @__PURE__ */ o.jsx(L, { ...r() }),
37
- success: /* @__PURE__ */ o.jsx(g, { ...r() }),
38
- warning: /* @__PURE__ */ o.jsx(j, { ...r() })
39
- }[i];
38
+ }), s = B, i = t();
39
+ let r;
40
+ return o[0] !== s || o[1] !== i ? (r = /* @__PURE__ */ e.jsx(s, { ...i }), o[0] = s, o[1] = i, o[2] = r) : r = o[2], {
41
+ default: /* @__PURE__ */ e.jsx(C, { ...t() }),
42
+ primary: /* @__PURE__ */ e.jsx(z, { ...t() }),
43
+ danger: /* @__PURE__ */ e.jsx(h, { ...t() }),
44
+ info: /* @__PURE__ */ e.jsx(P, { ...t() }),
45
+ success: /* @__PURE__ */ e.jsx(E, { ...t() }),
46
+ warning: r
47
+ }[u];
40
48
  };
41
49
  export {
42
- H as default
50
+ A as default
43
51
  };
@@ -1,5 +1,10 @@
1
- import { j as a } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- const r = () => /* @__PURE__ */ a.jsx("div", { className: "separator" });
1
+ import { j as r } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as o } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ const m = () => {
4
+ const t = o.c(1);
5
+ let e;
6
+ return t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ r.jsx("div", { className: "separator" }), t[0] = e) : e = t[0], e;
7
+ };
3
8
  export {
4
- r as default
9
+ m as default
5
10
  };
@@ -1,5 +1,16 @@
1
- import { j as s } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- const t = ({ children: o, style: r = {} }) => /* @__PURE__ */ s.jsx("div", { className: "toolbar-group", style: r, children: o });
1
+ import { j as c } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as a } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ const p = (i) => {
4
+ const t = a.c(5), {
5
+ children: r,
6
+ style: o
7
+ } = i;
8
+ let s;
9
+ t[0] !== o ? (s = o === void 0 ? {} : o, t[0] = o, t[1] = s) : s = t[1];
10
+ const l = s;
11
+ let e;
12
+ return t[2] !== r || t[3] !== l ? (e = /* @__PURE__ */ c.jsx("div", { className: "toolbar-group", style: l, children: r }), t[2] = r, t[3] = l, t[4] = e) : e = t[4], e;
13
+ };
3
14
  export {
4
- t as default
15
+ p as default
5
16
  };
@@ -1,33 +1,39 @@
1
- import { j as r } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import { default as i } from "./ToolBarGroup.js";
3
- import { default as j } from "./Separator.js";
4
- import { default as v } from "./ButtonBar.js";
5
- import { default as $ } from "./LabelBar.js";
1
+ import { j as d } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as v } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { default as E } from "./ToolBarGroup.js";
4
+ import { default as G } from "./Separator.js";
5
+ import { default as N } from "./ButtonBar.js";
6
+ import { default as S } from "./LabelBar.js";
6
7
  import '../assets/toolbar.css';/* empty css */
7
- import m from "./helpers.js";
8
- const n = ({
9
- innerRef: t,
10
- children: a,
11
- style: e = {},
12
- size: o,
13
- customClass: l = "",
14
- ...s
15
- }) => {
16
- const f = { ...s };
17
- return /* @__PURE__ */ r.jsx(m.Provider, { value: f, children: /* @__PURE__ */ r.jsx(
18
- "div",
19
- {
20
- ref: t,
21
- className: `toolbar-component ${o ? `${o}-bar` : ""} ${l}`,
22
- style: e,
23
- children: a
24
- }
25
- ) });
8
+ import j from "./helpers.js";
9
+ const T = (p) => {
10
+ const t = v.c(19);
11
+ let o, r, s, a, e, i;
12
+ t[0] !== p ? ({
13
+ innerRef: r,
14
+ children: o,
15
+ style: e,
16
+ size: a,
17
+ customClass: i,
18
+ ...s
19
+ } = p, t[0] = p, t[1] = o, t[2] = r, t[3] = s, t[4] = a, t[5] = e, t[6] = i) : (o = t[1], r = t[2], s = t[3], a = t[4], e = t[5], i = t[6]);
20
+ let f;
21
+ t[7] !== e ? (f = e === void 0 ? {} : e, t[7] = e, t[8] = f) : f = t[8];
22
+ const c = f, B = i === void 0 ? "" : i;
23
+ let m;
24
+ t[9] !== s ? (m = {
25
+ ...s
26
+ }, t[9] = s, t[10] = m) : m = t[10];
27
+ const u = m, x = `toolbar-component ${a ? `${a}-bar` : ""} ${B}`;
28
+ let l;
29
+ t[11] !== o || t[12] !== r || t[13] !== c || t[14] !== x ? (l = /* @__PURE__ */ d.jsx("div", { ref: r, className: x, style: c, children: o }), t[11] = o, t[12] = r, t[13] = c, t[14] = x, t[15] = l) : l = t[15];
30
+ let n;
31
+ return t[16] !== u || t[17] !== l ? (n = /* @__PURE__ */ d.jsx(j.Provider, { value: u, children: l }), t[16] = u, t[17] = l, t[18] = n) : n = t[18], n;
26
32
  };
27
33
  export {
28
- v as ButtonBar,
29
- $ as LabelBar,
30
- j as Separator,
31
- i as ToolBarGroup,
32
- n as default
34
+ N as ButtonBar,
35
+ S as LabelBar,
36
+ G as Separator,
37
+ E as ToolBarGroup,
38
+ T as default
33
39
  };
@@ -1,38 +1,38 @@
1
- import { j as h } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import { useRef as a, useEffect as n } from "react";
3
- import l from "react-dom";
4
- import { v } from "../chunks/v1.CDXKvGzE.js";
1
+ import { j as f } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { useRef as h, useEffect as e } from "react";
3
+ import a from "react-dom";
4
+ import { v } from "../chunks/v1.Ds1rkxUj.js";
5
5
  import '../assets/index5.css';const x = ({
6
6
  text: m,
7
- textError: r,
7
+ textError: n,
8
8
  tooltipRef: u,
9
- style: c = "",
10
- tooltipDimensions: i,
9
+ style: r = "",
10
+ tooltipDimensions: c,
11
11
  className: o = "bottom",
12
12
  handlerSetDimensions: p = () => {
13
13
  }
14
14
  }) => {
15
- const t = a(document.createElement("div"));
16
- n(() => {
17
- t.current.id = `tooltip-${v()}`, t.current.className = `tooltip-component ${o} `, t.current.dataset.testid = "tooltip-component", t.current.style.cssText = c, document.body.appendChild(t.current);
18
- const e = document.querySelector(`div#${t.current.id}`);
19
- let d = e == null ? void 0 : e.offsetWidth;
20
- const f = e == null ? void 0 : e.offsetHeight;
21
- return i && i.width && (d = i.width), p({
15
+ const t = h(document.createElement("div"));
16
+ e(() => {
17
+ t.current.id = `tooltip-${v()}`, t.current.className = `tooltip-component ${o} `, t.current.dataset.testid = "tooltip-component", t.current.style.cssText = r, document.body.appendChild(t.current);
18
+ const i = document.querySelector(`div#${t.current.id}`);
19
+ let d = i?.offsetWidth;
20
+ const l = i?.offsetHeight;
21
+ return c && c.width && (d = c.width), p({
22
22
  width: d,
23
- height: Number(f)
24
- }), u && (u.current = e), () => {
23
+ height: Number(l)
24
+ }), u && (u.current = i), () => {
25
25
  document.body.removeChild(t.current);
26
26
  };
27
- }, []), n(() => {
27
+ }, []), e(() => {
28
28
  t.current.className = `tooltip-component ${o} `;
29
- }, [o]), n(() => {
30
- t.current.style.cssText = c;
31
- }, [c]), n(() => {
32
- t.current.className = r ? `tooltip-error tooltip-component ${o}` : `tooltip-component ${o}`;
33
- }, [r]);
34
- const s = () => /* @__PURE__ */ h.jsx("div", { className: "tooltipcontent", children: r || m });
35
- return l.createPortal(s(), t.current);
29
+ }, [o]), e(() => {
30
+ t.current.style.cssText = r;
31
+ }, [r]), e(() => {
32
+ t.current.className = n ? `tooltip-error tooltip-component ${o}` : `tooltip-component ${o}`;
33
+ }, [n]);
34
+ const s = () => /* @__PURE__ */ f.jsx("div", { className: "tooltipcontent", children: n || m });
35
+ return a.createPortal(s(), t.current);
36
36
  };
37
37
  export {
38
38
  x as default
@@ -1,35 +1,34 @@
1
- import { j as s } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import { useContext as i, useState as l, useEffect as n } from "react";
3
- import "lodash";
1
+ import { j as n } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as x } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useContext as d, useState as u, useEffect as w } from "react";
4
+ import "../chunks/lodash.CIAK_hAg.js";
4
5
  import "../table/helpers.js";
5
- import f from "../table/Body.js";
6
+ import R from "../table/Body.js";
6
7
  import "../icons/index.js";
7
8
  import '../assets/table.css';import '../assets/skeleton.css';import '../assets/gridlayout.css';/* empty css */
8
9
  /* empty css */
9
10
  /* empty css */
10
- import { TreeTableContext as c, searchRootElements as d } from "./helpers.js";
11
- import w from "./Row.js";
12
- const B = () => {
13
- const {
14
- data: t,
15
- rootPropName: r,
16
- stylesForRow: m,
17
- parentPropName: p
18
- } = i(c), [e, a] = l();
19
- return n(() => {
20
- const o = d(t, p, 0);
21
- a(o);
22
- }, [t]), /* @__PURE__ */ s.jsx(f, { children: e && e.map((o) => /* @__PURE__ */ s.jsx(
23
- w,
24
- {
25
- dataRow: o,
26
- rowLevel: o.rowLevel ? o.rowLevel + 1 : 0,
27
- rowId: `${o[r]}`,
28
- style: m
29
- },
30
- o[r]
31
- )) });
11
+ import { TreeTableContext as E, searchRootElements as T } from "./helpers.js";
12
+ import j from "./Row.js";
13
+ const S = () => {
14
+ const o = x.c(11), {
15
+ data: e,
16
+ rootPropName: s,
17
+ stylesForRow: a,
18
+ parentPropName: f
19
+ } = d(E), [m, c] = u();
20
+ let i;
21
+ o[0] !== e || o[1] !== f ? (i = () => {
22
+ const t = T(e, f, 0);
23
+ c(t);
24
+ }, o[0] = e, o[1] = f, o[2] = i) : i = o[2];
25
+ let p;
26
+ o[3] !== e ? (p = [e], o[3] = e, o[4] = p) : p = o[4], w(i, p);
27
+ let r;
28
+ o[5] !== m || o[6] !== s || o[7] !== a ? (r = m && m.map((t) => /* @__PURE__ */ n.jsx(j, { dataRow: t, rowLevel: t.rowLevel ? t.rowLevel + 1 : 0, rowId: `${t[s]}`, style: a }, t[s])), o[5] = m, o[6] = s, o[7] = a, o[8] = r) : r = o[8];
29
+ let l;
30
+ return o[9] !== r ? (l = /* @__PURE__ */ n.jsx(R, { children: r }), o[9] = r, o[10] = l) : l = o[10], l;
32
31
  };
33
32
  export {
34
- B as default
33
+ S as default
35
34
  };
@@ -1,26 +1,30 @@
1
- import { j as t } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import { useContext as m } from "react";
3
- import "lodash";
4
- import i from "../table/Header.js";
5
- import p from "../table/Row.js";
1
+ import { j as i } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as p } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useContext as l } from "react";
4
+ import "../chunks/lodash.CIAK_hAg.js";
5
+ import a from "../table/Header.js";
6
+ import n from "../table/Row.js";
6
7
  import "../table/helpers.js";
7
8
  import '../assets/table.css';import '../assets/skeleton.css';import '../assets/gridlayout.css';/* empty css */
8
9
  /* empty css */
9
- import a from "../table/HeaderColumn.js";
10
+ import f from "../table/HeaderColumn.js";
10
11
  /* empty css */
11
- import { TreeTableContext as s } from "./helpers.js";
12
- import { v as e } from "../chunks/v1.CDXKvGzE.js";
13
- const $ = () => {
14
- const { dataColumns: o } = m(s);
15
- return /* @__PURE__ */ t.jsx(i, { children: /* @__PURE__ */ t.jsx(p, { children: o.map((r) => /* @__PURE__ */ t.jsx(
16
- a,
17
- {
18
- style: r.style,
19
- children: r.title
20
- },
21
- `th-${r.name}-${e()}`
22
- )) }, `tr-header-${e()}`) });
12
+ import { TreeTableContext as c } from "./helpers.js";
13
+ import { v as s } from "../chunks/v1.Ds1rkxUj.js";
14
+ const E = () => {
15
+ const e = p.c(5), {
16
+ dataColumns: m
17
+ } = l(c);
18
+ let r;
19
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = s(), e[0] = r) : r = e[0];
20
+ let t;
21
+ e[1] !== m ? (t = m.map(d), e[1] = m, e[2] = t) : t = e[2];
22
+ let o;
23
+ return e[3] !== t ? (o = /* @__PURE__ */ i.jsx(a, { children: /* @__PURE__ */ i.jsx(n, { children: t }, `tr-header-${r}`) }), e[3] = t, e[4] = o) : o = e[4], o;
23
24
  };
25
+ function d(e) {
26
+ return /* @__PURE__ */ i.jsx(f, { style: e.style, children: e.title }, `th-${e.name}-${s()}`);
27
+ }
24
28
  export {
25
- $ as default
29
+ E as default
26
30
  };