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,96 +1,112 @@
1
- import { j as s } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import { useState as f, useEffect as S } from "react";
1
+ import { j as i } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as ae } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useState as te, useEffect as ce } from "react";
3
4
  import '../assets/radio.css';/* empty css */
4
- import { OPTIONS_ON_DENIED as x, actionsOnPermissionDenied as w } from "../permissionValidations.js";
5
- import L from "../popover/index.js";
6
- import b from "../textContent/index.js";
7
- const B = ({
8
- id: i,
9
- label: h,
10
- value: j,
11
- checked: e,
12
- onChange: n,
13
- name: g = "",
14
- disabled: l = !1,
15
- required: a = !1,
16
- skeletonize: r = !1,
17
- defaultChecked: m = !1,
18
- inputRef: N,
19
- size: d = "medium",
20
- customClassForLabel: P,
21
- labelUppercase: D,
22
- hint: c,
23
- hintPosition: v = "onLabelRight",
24
- themePopover: y = "light",
25
- popoverAlign: C = "left",
26
- permissionAttr: I
27
- }) => {
28
- const [p, E] = f(e), O = [x.disabled, x.unvisible], [u] = f(w(O, I));
29
- S(() => {
30
- e !== p && E(e);
31
- }, [e]);
32
- const t = () => l || !!u.disabled || r, R = () => {
33
- let o = {};
34
- return o = {
35
- ...m && !e ? { defaultChecked: m } : { checked: p }
36
- }, n && !t() && (o = {
37
- ...o,
38
- onChange: ($) => n($),
5
+ import { OPTIONS_ON_DENIED as se, actionsOnPermissionDenied as de } from "../permissionValidations.js";
6
+ import re from "../popover/index.js";
7
+ import ie from "../textContent/index.js";
8
+ const ge = (oe) => {
9
+ const e = ae.c(58), {
10
+ id: o,
11
+ label: S,
12
+ value: $,
13
+ checked: t,
14
+ onChange: v,
15
+ name: H,
16
+ disabled: J,
17
+ required: M,
18
+ skeletonize: Q,
19
+ defaultChecked: V,
20
+ inputRef: O,
21
+ size: W,
22
+ customClassForLabel: A,
23
+ labelUppercase: L,
24
+ hint: x,
25
+ hintPosition: X,
26
+ themePopover: Y,
27
+ popoverAlign: Z,
28
+ permissionAttr: q
29
+ } = oe, w = H === void 0 ? "" : H, g = J === void 0 ? !1 : J, l = M === void 0 ? !1 : M, k = Q === void 0 ? !1 : Q, C = V === void 0 ? !1 : V, ee = W === void 0 ? "medium" : W, F = X === void 0 ? "onLabelRight" : X, T = Y === void 0 ? "light" : Y, K = Z === void 0 ? "left" : Z, [n, le] = te(t);
30
+ let P, j;
31
+ if (e[0] !== q) {
32
+ const b = [se.disabled, se.unvisible];
33
+ P = te, j = de(b, q), e[0] = q, e[1] = P, e[2] = j;
34
+ } else
35
+ P = e[1], j = e[2];
36
+ const [N] = P(j);
37
+ let y;
38
+ e[3] !== t || e[4] !== n ? (y = () => {
39
+ t !== n && le(t);
40
+ }, e[3] = t, e[4] = n, e[5] = y) : y = e[5];
41
+ let z;
42
+ e[6] !== t ? (z = [t], e[6] = t, e[7] = z) : z = e[7], ce(y, z);
43
+ let D;
44
+ e[8] !== g || e[9] !== N.disabled || e[10] !== k ? (D = () => g || !!N.disabled || k, e[8] = g, e[9] = N.disabled, e[10] = k, e[11] = D) : D = e[11];
45
+ const s = D;
46
+ let R;
47
+ e[12] !== t || e[13] !== C || e[14] !== n || e[15] !== v || e[16] !== s ? (R = () => {
48
+ let b;
49
+ return b = {
50
+ ...C && !t ? {
51
+ defaultChecked: C
52
+ } : {
53
+ checked: n
54
+ }
55
+ }, v && !s() && (b = {
56
+ ...b,
57
+ onChange: (ne) => v(ne),
39
58
  onKeyDown: null,
40
59
  role: "button",
41
60
  tabIndex: "0"
42
- }), o;
43
- };
44
- return u.unvisible ? null : /* @__PURE__ */ s.jsxs("div", { className: "radio-input", style: { display: "flex", alignItems: "center" }, children: [
45
- /* @__PURE__ */ s.jsxs(
46
- "div",
47
- {
48
- className: `radio-button ${l ? "disabled" : ""} ${r ? "-skeletonized" : ""}`,
49
- children: [
50
- /* @__PURE__ */ s.jsx(
51
- "input",
52
- {
53
- ...R(),
54
- ref: N,
55
- className: "radio-component",
56
- type: "radio",
57
- value: j,
58
- id: i,
59
- name: g,
60
- required: a,
61
- disabled: t()
62
- }
63
- ),
64
- /* @__PURE__ */ s.jsx("label", { className: `description ${d && `-${d}`}`, htmlFor: i, children: /* @__PURE__ */ s.jsxs("span", { children: [
65
- /* @__PURE__ */ s.jsx(
66
- b,
67
- {
68
- required: a,
69
- disabled: t(),
70
- className: P,
71
- labelUppercase: D
72
- }
73
- ),
74
- h,
75
- /* @__PURE__ */ s.jsx(b, {})
76
- ] }) })
77
- ]
78
- }
79
- ),
80
- !!c && v === "onLabelRight" && /* @__PURE__ */ s.jsx(
81
- L,
82
- {
83
- theme: y,
84
- align: C,
85
- customClass: "-hint",
86
- iconColor: "#03bde2",
87
- iconSize: 16,
88
- style: { margin: "0px 5px", height: "auto", width: 20 },
89
- children: c
90
- }
91
- )
92
- ] });
61
+ }), b;
62
+ }, e[12] = t, e[13] = C, e[14] = n, e[15] = v, e[16] = s, e[17] = R) : R = e[17];
63
+ const U = R;
64
+ if (N.unvisible)
65
+ return null;
66
+ let _;
67
+ e[18] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
68
+ display: "flex",
69
+ alignItems: "center"
70
+ }, e[18] = _) : _ = e[18];
71
+ const B = `radio-button ${g ? "disabled" : ""} ${k ? "-skeletonized" : ""}`;
72
+ let a;
73
+ e[19] !== U ? (a = U(), e[19] = U, e[20] = a) : a = e[20];
74
+ let c;
75
+ e[21] !== s ? (c = s(), e[21] = s, e[22] = c) : c = e[22];
76
+ let d;
77
+ e[23] !== o || e[24] !== O || e[25] !== w || e[26] !== l || e[27] !== a || e[28] !== c || e[29] !== $ ? (d = /* @__PURE__ */ i.jsx("input", { ...a, ref: O, className: "radio-component", type: "radio", value: $, id: o, name: w, required: l, disabled: c }), e[23] = o, e[24] = O, e[25] = w, e[26] = l, e[27] = a, e[28] = c, e[29] = $, e[30] = d) : d = e[30];
78
+ const G = `description ${ee && `-${ee}`}`;
79
+ let r;
80
+ e[31] !== s ? (r = s(), e[31] = s, e[32] = r) : r = e[32];
81
+ let m;
82
+ e[33] !== A || e[34] !== L || e[35] !== l || e[36] !== r ? (m = /* @__PURE__ */ i.jsx(ie, { required: l, disabled: r, className: A, labelUppercase: L }), e[33] = A, e[34] = L, e[35] = l, e[36] = r, e[37] = m) : m = e[37];
83
+ let E;
84
+ e[38] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ i.jsx(ie, {}), e[38] = E) : E = e[38];
85
+ let f;
86
+ e[39] !== S || e[40] !== m ? (f = /* @__PURE__ */ i.jsxs("span", { children: [
87
+ m,
88
+ S,
89
+ E
90
+ ] }), e[39] = S, e[40] = m, e[41] = f) : f = e[41];
91
+ let p;
92
+ e[42] !== o || e[43] !== G || e[44] !== f ? (p = /* @__PURE__ */ i.jsx("label", { className: G, htmlFor: o, children: f }), e[42] = o, e[43] = G, e[44] = f, e[45] = p) : p = e[45];
93
+ let h;
94
+ e[46] !== B || e[47] !== d || e[48] !== p ? (h = /* @__PURE__ */ i.jsxs("div", { className: B, children: [
95
+ d,
96
+ p
97
+ ] }), e[46] = B, e[47] = d, e[48] = p, e[49] = h) : h = e[49];
98
+ let u;
99
+ e[50] !== x || e[51] !== F || e[52] !== K || e[53] !== T ? (u = !!x && F === "onLabelRight" && /* @__PURE__ */ i.jsx(re, { theme: T, align: K, customClass: "-hint", iconColor: "#03bde2", iconSize: 16, style: {
100
+ margin: "0px 5px",
101
+ height: "auto",
102
+ width: 20
103
+ }, children: x }), e[50] = x, e[51] = F, e[52] = K, e[53] = T, e[54] = u) : u = e[54];
104
+ let I;
105
+ return e[55] !== h || e[56] !== u ? (I = /* @__PURE__ */ i.jsxs("div", { className: "radio-input", style: _, children: [
106
+ h,
107
+ u
108
+ ] }), e[55] = h, e[56] = u, e[57] = I) : I = e[57], I;
93
109
  };
94
110
  export {
95
- B as default
111
+ ge as default
96
112
  };
@@ -1,9 +1,22 @@
1
- import { j as s } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import '../assets/index15.css';const d = ({ type: t, style: o, styleShortcut: c, shortcut: e, description: r }) => /* @__PURE__ */ s.jsxs("p", { "data-testid": "description", className: "shortcut-description", style: o, children: [
3
- /* @__PURE__ */ s.jsx("kbd", { "data-testid": "shortcut", className: `shortcut-component ${t && `-${t}`}`, style: c, children: e }),
4
- ": ",
5
- r
6
- ] });
1
+ import { j as a } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as d } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import '../assets/index15.css';const h = (p) => {
4
+ const t = d.c(8), {
5
+ type: l,
6
+ style: o,
7
+ styleShortcut: c,
8
+ shortcut: r,
9
+ description: i
10
+ } = p, n = `shortcut-component ${l && `-${l}`}`;
11
+ let s;
12
+ t[0] !== r || t[1] !== c || t[2] !== n ? (s = /* @__PURE__ */ a.jsx("kbd", { "data-testid": "shortcut", className: n, style: c, children: r }), t[0] = r, t[1] = c, t[2] = n, t[3] = s) : s = t[3];
13
+ let e;
14
+ return t[4] !== i || t[5] !== o || t[6] !== s ? (e = /* @__PURE__ */ a.jsxs("p", { "data-testid": "description", className: "shortcut-description", style: o, children: [
15
+ s,
16
+ ": ",
17
+ i
18
+ ] }), t[4] = i, t[5] = o, t[6] = s, t[7] = e) : e = t[7], e;
19
+ };
7
20
  export {
8
- d as default
21
+ h as default
9
22
  };
@@ -1,9 +1,19 @@
1
- import { j as r } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- const c = ({ children: t, row: e, customClass: o, style: n }) => {
3
- const s = () => `skeletoncontainer-component ${o}
4
- ${e && "-row"}`;
5
- return /* @__PURE__ */ r.jsx("div", { className: s(), style: n, children: t });
1
+ import { j as i } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as m } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ const x = (a) => {
4
+ const t = m.c(7), {
5
+ children: o,
6
+ row: n,
7
+ customClass: r,
8
+ style: l
9
+ } = a;
10
+ let s;
11
+ t[0] !== r || t[1] !== n ? (s = () => `skeletoncontainer-component ${r}
12
+ ${n && "-row"}`, t[0] = r, t[1] = n, t[2] = s) : s = t[2];
13
+ const c = s();
14
+ let e;
15
+ return t[3] !== o || t[4] !== l || t[5] !== c ? (e = /* @__PURE__ */ i.jsx("div", { className: c, style: l, children: o }), t[3] = o, t[4] = l, t[5] = c, t[6] = e) : e = t[6], e;
6
16
  };
7
17
  export {
8
- c as default
18
+ x as default
9
19
  };
@@ -1,25 +1,49 @@
1
- import { j as n } from "../chunks/jsx-runtime.CYK1ROHF.js";
1
+ import { j as x } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as k } from "../chunks/compiler-runtime.Cu50tn6L.js";
2
3
  import '../assets/skeleton.css';import '../assets/gridlayout.css';/* empty css */
3
- import p from "../gridlayout/GridCol.js";
4
- import { default as y } from "./SkeletonContainer.js";
4
+ import v from "../gridlayout/GridCol.js";
5
+ import { default as R } from "./SkeletonContainer.js";
5
6
  /* empty css */
6
- const h = (l) => {
7
- const {
8
- customClass: i = "",
7
+ const w = (C) => {
8
+ const t = k.c(15), {
9
+ customClass: d,
9
10
  style: m,
10
11
  width: a,
11
- height: c,
12
- round: t,
13
- color: o = "default",
14
- size: e = "medium",
15
- gridLayout: s
16
- } = l, d = { width: a, height: c }, u = () => `skeleton-component ${i}
17
- ${o && `-${o}`}
18
- ${t && "-round"}
19
- ${t && e && `-${e}`}`, r = () => /* @__PURE__ */ n.jsx("div", { className: u(), style: { ...d, ...m } });
20
- return s !== void 0 ? /* @__PURE__ */ n.jsx(p, { customClass: "-withskeleton", cols: s, children: r() }) : r();
12
+ height: u,
13
+ round: o,
14
+ color: f,
15
+ size: p,
16
+ gridLayout: l
17
+ } = C, n = d === void 0 ? "" : d, e = f === void 0 ? "default" : f, s = p === void 0 ? "medium" : p;
18
+ let i, r;
19
+ if (t[0] !== e || t[1] !== n || t[2] !== l || t[3] !== u || t[4] !== o || t[5] !== s || t[6] !== m || t[7] !== a) {
20
+ r = Symbol.for("react.early_return_sentinel");
21
+ t: {
22
+ const $ = {
23
+ width: a,
24
+ height: u
25
+ };
26
+ let c;
27
+ t[10] !== e || t[11] !== n || t[12] !== o || t[13] !== s ? (c = () => `skeleton-component ${n}
28
+ ${e && `-${e}`}
29
+ ${o && "-round"}
30
+ ${o && s && `-${s}`}`, t[10] = e, t[11] = n, t[12] = o, t[13] = s, t[14] = c) : c = t[14];
31
+ const h = c, y = () => /* @__PURE__ */ x.jsx("div", { className: h(), style: {
32
+ ...$,
33
+ ...m
34
+ } });
35
+ if (l !== void 0) {
36
+ r = /* @__PURE__ */ x.jsx(v, { customClass: "-withskeleton", cols: l, children: y() });
37
+ break t;
38
+ }
39
+ i = y();
40
+ }
41
+ t[0] = e, t[1] = n, t[2] = l, t[3] = u, t[4] = o, t[5] = s, t[6] = m, t[7] = a, t[8] = i, t[9] = r;
42
+ } else
43
+ i = t[8], r = t[9];
44
+ return r !== Symbol.for("react.early_return_sentinel") ? r : i;
21
45
  };
22
46
  export {
23
- y as SkeletonContainer,
24
- h as default
47
+ R as SkeletonContainer,
48
+ w as default
25
49
  };
@@ -1,18 +1,55 @@
1
- import { j as e } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- const a = ({ color: t = "#3B3B3B", size: i = "50px" }) => /* @__PURE__ */ e.jsxs("svg", { "data-testid": "spinner", className: "lds-spinner spinnerloading", fill: t, width: i, viewBox: "0 0 100 100", preserveAspectRatio: "xMidYMid", style: { background: "none", float: "right" }, children: [
3
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(0 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.9166666666666666s", repeatCount: "indefinite" }) }) }),
4
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(30 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.8333333333333334s", repeatCount: "indefinite" }) }) }),
5
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(60 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.75s", repeatCount: "indefinite" }) }) }),
6
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(90 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.6666666666666666s", repeatCount: "indefinite" }) }) }),
7
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(120 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.5833333333333334s", repeatCount: "indefinite" }) }) }),
8
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(150 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.5s", repeatCount: "indefinite" }) }) }),
9
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(180 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.4166666666666667s", repeatCount: "indefinite" }) }) }),
10
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(210 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.3333333333333333s", repeatCount: "indefinite" }) }) }),
11
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(240 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.25s", repeatCount: "indefinite" }) }) }),
12
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(270 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.16666666666666666s", repeatCount: "indefinite" }) }) }),
13
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(300 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.08333333333333333s", repeatCount: "indefinite" }) }) }),
14
- /* @__PURE__ */ e.jsx("g", { transform: "rotate(330 50 50)", children: /* @__PURE__ */ e.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ e.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "0s", repeatCount: "indefinite" }) }) })
15
- ] });
1
+ import { j as t } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as _ } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ const S = (p) => {
4
+ const e = _.c(16), {
5
+ color: j,
6
+ size: b
7
+ } = p, u = j === void 0 ? "#3B3B3B" : j, g = b === void 0 ? "50px" : b;
8
+ let i;
9
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = {
10
+ background: "none",
11
+ float: "right"
12
+ }, e[0] = i) : i = e[0];
13
+ let r;
14
+ e[1] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ t.jsx("g", { transform: "rotate(0 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.9166666666666666s", repeatCount: "indefinite" }) }) }), e[1] = r) : r = e[1];
15
+ let s;
16
+ e[2] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ t.jsx("g", { transform: "rotate(30 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.8333333333333334s", repeatCount: "indefinite" }) }) }), e[2] = s) : s = e[2];
17
+ let a;
18
+ e[3] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ t.jsx("g", { transform: "rotate(60 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.75s", repeatCount: "indefinite" }) }) }), e[3] = a) : a = e[3];
19
+ let n;
20
+ e[4] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ t.jsx("g", { transform: "rotate(90 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.6666666666666666s", repeatCount: "indefinite" }) }) }), e[4] = n) : n = e[4];
21
+ let o;
22
+ e[5] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ t.jsx("g", { transform: "rotate(120 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.5833333333333334s", repeatCount: "indefinite" }) }) }), e[5] = o) : o = e[5];
23
+ let l;
24
+ e[6] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ t.jsx("g", { transform: "rotate(150 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.5s", repeatCount: "indefinite" }) }) }), e[6] = l) : l = e[6];
25
+ let c;
26
+ e[7] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ t.jsx("g", { transform: "rotate(180 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.4166666666666667s", repeatCount: "indefinite" }) }) }), e[7] = c) : c = e[7];
27
+ let m;
28
+ e[8] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ t.jsx("g", { transform: "rotate(210 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.3333333333333333s", repeatCount: "indefinite" }) }) }), e[8] = m) : m = e[8];
29
+ let h;
30
+ e[9] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ t.jsx("g", { transform: "rotate(240 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.25s", repeatCount: "indefinite" }) }) }), e[9] = h) : h = e[9];
31
+ let d;
32
+ e[10] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ t.jsx("g", { transform: "rotate(270 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.16666666666666666s", repeatCount: "indefinite" }) }) }), e[10] = d) : d = e[10];
33
+ let x;
34
+ e[11] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ t.jsx("g", { transform: "rotate(300 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "-0.08333333333333333s", repeatCount: "indefinite" }) }) }), e[11] = x) : x = e[11];
35
+ let y;
36
+ e[12] === Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ t.jsx("g", { transform: "rotate(330 50 50)", children: /* @__PURE__ */ t.jsx("rect", { x: "47", y: "24", rx: "9.4", ry: "4.8", width: "6", height: "12", children: /* @__PURE__ */ t.jsx("animate", { attributeName: "opacity", values: "1;0", keyTimes: "0;1", dur: "1s", begin: "0s", repeatCount: "indefinite" }) }) }), e[12] = y) : y = e[12];
37
+ let f;
38
+ return e[13] !== u || e[14] !== g ? (f = /* @__PURE__ */ t.jsxs("svg", { "data-testid": "spinner", className: "lds-spinner spinnerloading", fill: u, width: g, viewBox: "0 0 100 100", preserveAspectRatio: "xMidYMid", style: i, children: [
39
+ r,
40
+ s,
41
+ a,
42
+ n,
43
+ o,
44
+ l,
45
+ c,
46
+ m,
47
+ h,
48
+ d,
49
+ x,
50
+ y
51
+ ] }), e[13] = u, e[14] = g, e[15] = f) : f = e[15], f;
52
+ };
16
53
  export {
17
- a as default
54
+ S as default
18
55
  };
@@ -1,41 +1,51 @@
1
- import { j as i } from "../chunks/jsx-runtime.CYK1ROHF.js";
2
- import { useState as h, useRef as j, useEffect as y } from "react";
3
- import l from "./SpinnerLoading.js";
4
- import '../assets/index6.css';const S = (c) => {
5
- const {
6
- align: e = "center",
7
- customClass: a,
8
- style: f,
9
- text: t,
10
- visible: m = !0,
11
- delayTime: r = 1e3,
12
- heightAuto: p,
13
- color: o = "#3B3B3B",
14
- size: u = "50px"
15
- } = c, [x, d] = h(!!r), s = j(null);
16
- y(() => (r && (s.current = setTimeout(() => {
17
- d(!1);
1
+ import { j } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as D } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useState as L, useRef as N, useEffect as k } from "react";
4
+ import C from "./SpinnerLoading.js";
5
+ import '../assets/index6.css';const H = (E) => {
6
+ const e = D.c(20), {
7
+ align: T,
8
+ customClass: m,
9
+ style: d,
10
+ text: p,
11
+ visible: S,
12
+ delayTime: $,
13
+ heightAuto: x,
14
+ color: b,
15
+ size: B
16
+ } = E, t = T === void 0 ? "center" : T, R = S === void 0 ? !0 : S, r = $ === void 0 ? 1e3 : $, o = b === void 0 ? "#3B3B3B" : b, i = B === void 0 ? "50px" : B, [z, _] = L(!!r), v = N(null);
17
+ let l;
18
+ e[0] !== r ? (l = () => (r && (v.current = setTimeout(() => {
19
+ _(!1);
18
20
  }, r)), () => {
19
- s.current && clearTimeout(s.current);
20
- }), []);
21
- const g = () => {
22
- let n = `spinner-component -${e} ${a} `;
23
- return p && (n = `${n} -heightauto`), n;
24
- };
25
- return x || !m ? null : e !== "none" ? /* @__PURE__ */ i.jsxs(
26
- "div",
27
- {
28
- style: f,
29
- className: g(),
30
- children: [
31
- e === "right" && t,
32
- /* @__PURE__ */ i.jsx(l, { color: o, size: u }),
33
- e === "left" && t,
34
- e === "center" && t
35
- ]
36
- }
37
- ) : /* @__PURE__ */ i.jsx(l, { color: o, size: u });
21
+ v.current && clearTimeout(v.current);
22
+ }), e[0] = r, e[1] = l) : l = e[1];
23
+ let c;
24
+ e[2] === Symbol.for("react.memo_cache_sentinel") ? (c = [], e[2] = c) : c = e[2], k(l, c);
25
+ let u;
26
+ e[3] !== t || e[4] !== m || e[5] !== x ? (u = () => {
27
+ let s = `spinner-component -${t} ${m} `;
28
+ return x && (s = `${s} -heightauto`), s;
29
+ }, e[3] = t, e[4] = m, e[5] = x, e[6] = u) : u = e[6];
30
+ const A = u;
31
+ if (z || !R)
32
+ return null;
33
+ if (t !== "none") {
34
+ const s = A(), g = t === "right" && p;
35
+ let n;
36
+ e[7] !== o || e[8] !== i ? (n = /* @__PURE__ */ j.jsx(C, { color: o, size: i }), e[7] = o, e[8] = i, e[9] = n) : n = e[9];
37
+ const h = t === "left" && p, y = t === "center" && p;
38
+ let a;
39
+ return e[10] !== d || e[11] !== n || e[12] !== h || e[13] !== y || e[14] !== s || e[15] !== g ? (a = /* @__PURE__ */ j.jsxs("div", { style: d, className: s, children: [
40
+ g,
41
+ n,
42
+ h,
43
+ y
44
+ ] }), e[10] = d, e[11] = n, e[12] = h, e[13] = y, e[14] = s, e[15] = g, e[16] = a) : a = e[16], a;
45
+ }
46
+ let f;
47
+ return e[17] !== o || e[18] !== i ? (f = /* @__PURE__ */ j.jsx(C, { color: o, size: i }), e[17] = o, e[18] = i, e[19] = f) : f = e[19], f;
38
48
  };
39
49
  export {
40
- S as default
50
+ H as default
41
51
  };