linear-react-components-ui 1.1.26-beta.2 → 1.1.26-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/alerts/AlertProvider.js +1 -1
- package/lib/alerts/BaseAlert.js +1 -1
- package/lib/alerts/Message.js +1 -1
- package/lib/alerts/withAlert.js +1 -1
- package/lib/avatar/index.js +14 -14
- package/lib/badge/index.js +2 -2
- package/lib/buttons/ActivateButton.js +1 -1
- package/lib/buttons/AddButton.js +1 -1
- package/lib/buttons/Button.js +1 -1
- package/lib/buttons/ButtonGroups.js +1 -1
- package/lib/buttons/CancelButton.js +1 -1
- package/lib/buttons/DangerButton.js +1 -1
- package/lib/buttons/DefaultButton.js +1 -1
- package/lib/buttons/DestroyButton.js +1 -1
- package/lib/buttons/EditButton.js +1 -1
- package/lib/buttons/InactivateButton.js +1 -1
- package/lib/buttons/InfoButton.js +1 -1
- package/lib/buttons/PrimaryButton.js +1 -1
- package/lib/buttons/RestoreButton.js +1 -1
- package/lib/buttons/SaveButton.js +1 -1
- package/lib/buttons/SuccessButton.js +1 -1
- package/lib/buttons/WarningButton.js +1 -1
- package/lib/buttons/button_container/index.js +1 -1
- package/lib/buttons/index.js +1 -1
- package/lib/buttons/split_button/index.js +3 -3
- package/lib/calendar/DangerCalendar.js +1 -1
- package/lib/calendar/InfoCalendar.js +1 -1
- package/lib/calendar/PrimaryCalendar.js +1 -1
- package/lib/calendar/SuccessCalendar.js +1 -1
- package/lib/calendar/WarningCalendar.js +1 -1
- package/lib/calendar/base/Day.js +2 -2
- package/lib/calendar/base/Month.js +1 -1
- package/lib/calendar/base/Week.js +1 -1
- package/lib/calendar/base/index.js +2 -2
- package/lib/checkbox/index.js +4 -4
- package/lib/chunks/{index.yztgndLc.js → index.CjD97zna.js} +30 -30
- package/lib/chunks/{index.D5f6Ow9V.js → index.iA-fVKOP.js} +3 -3
- package/lib/chunks/jsx-runtime.gtoSnx-V.js +284 -0
- package/lib/chunks/{tabs.Cvj2MJH6.js → tabs.BP3DB7Gx.js} +35 -35
- package/lib/dialog/Alert.js +2 -2
- package/lib/dialog/Custom.js +6 -6
- package/lib/dialog/Error.js +2 -2
- package/lib/dialog/Information.js +2 -2
- package/lib/dialog/Question.js +2 -2
- package/lib/dialog/Warning.js +2 -2
- package/lib/dialog/base/Content.js +2 -2
- package/lib/dialog/base/Footer.js +1 -1
- package/lib/dialog/base/Header.js +2 -2
- package/lib/dialog/base/index.js +2 -2
- package/lib/dialog/form/index.js +3 -3
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/wizard/index.js +3 -3
- package/lib/dialog/wizard/progressbar.js +2 -2
- package/lib/dialog/wizard/step.js +2 -2
- package/lib/dialog/wizard/useWizard.js +2 -2
- package/lib/drawer/Content.js +1 -1
- package/lib/drawer/Drawer.js +2 -2
- package/lib/drawer/Header.js +1 -1
- package/lib/drawer/helpers.js +2 -2
- package/lib/dropdown/withDropdown.js +2 -2
- package/lib/fieldset/index.js +2 -2
- package/lib/form/Field.js +1 -1
- package/lib/form/FieldArray.js +2 -2
- package/lib/form/FieldNumber.js +1 -1
- package/lib/form/FieldPeriod.js +2 -2
- package/lib/form/helpers.js +9 -9
- package/lib/form/index.js +3 -3
- package/lib/form/withFieldHOC.js +7 -7
- package/lib/form/withFormSecurity.js +12 -12
- package/lib/gridlayout/GridCol.js +2 -2
- package/lib/gridlayout/GridRow.js +2 -2
- package/lib/hint/helpers.js +1 -1
- package/lib/hint/index.js +2 -2
- package/lib/icons/index.js +2 -2
- package/lib/index.js +3 -3
- package/lib/inputs/base/InputTextBase.js +2 -2
- package/lib/inputs/base/Label.js +1 -1
- package/lib/inputs/color/index.js +2 -2
- package/lib/inputs/date/Dialog.js +2 -2
- package/lib/inputs/date/index.js +2 -2
- package/lib/inputs/errorMessage/index.js +2 -2
- package/lib/inputs/file/DefaultFile.js +2 -2
- package/lib/inputs/file/DragDropFile.js +2 -2
- package/lib/inputs/file/File.js +2 -2
- package/lib/inputs/file/FileButtonSettings.js +2 -2
- package/lib/inputs/inputHOC.js +2 -2
- package/lib/inputs/mask/BaseMask.js +1 -1
- package/lib/inputs/mask/Cnpj.js +1 -1
- package/lib/inputs/mask/Cpf.js +1 -1
- package/lib/inputs/mask/Phone.js +1 -1
- package/lib/inputs/mask/ZipCode.js +1 -1
- package/lib/inputs/multiSelect/ActionButtons.js +3 -3
- package/lib/inputs/multiSelect/Dropdown.js +1 -1
- package/lib/inputs/multiSelect/index.js +2 -2
- package/lib/inputs/number/BaseNumber.js +1 -1
- package/lib/inputs/number/Currency.js +1 -1
- package/lib/inputs/number/Decimal.js +1 -1
- package/lib/inputs/number/index.js +2 -2
- package/lib/inputs/period/Dialog.js +2 -2
- package/lib/inputs/period/PeriodList.js +1 -1
- package/lib/inputs/period/index.js +2 -2
- package/lib/inputs/search/index.js +2 -2
- package/lib/inputs/select/ActionButtons.js +1 -1
- package/lib/inputs/select/Dropdown.js +1 -1
- package/lib/inputs/select/index.js +2 -2
- package/lib/inputs/select/multiple/Selecteds.js +9 -9
- package/lib/inputs/select/multiple/index.js +1 -1
- package/lib/inputs/select/simple/index.js +1 -1
- package/lib/inputs/text/index.js +1 -1
- package/lib/inputs/textarea/index.js +1 -1
- package/lib/internals/withTooltip.js +7 -7
- package/lib/labelMessages/index.js +2 -2
- package/lib/labels/DangerLabel.js +1 -1
- package/lib/labels/DefaultLabel.js +1 -1
- package/lib/labels/InfoLabel.js +1 -1
- package/lib/labels/PrimaryLabel.js +1 -1
- package/lib/labels/SuccessLabel.js +1 -1
- package/lib/labels/WarningLabel.js +1 -1
- package/lib/labels/index.js +1 -1
- package/lib/labels/label_container/index.js +1 -1
- package/lib/list/Header.js +1 -1
- package/lib/list/Item.js +3 -3
- package/lib/list/Separator.js +1 -1
- package/lib/list/helpers.js +2 -2
- package/lib/list/index.js +2 -2
- package/lib/menus/float/MenuItem.js +2 -2
- package/lib/menus/float/index.js +2 -2
- package/lib/menus/sidenav/ExpandMenu.js +1 -1
- package/lib/menus/sidenav/MenuLink.js +4 -4
- package/lib/menus/sidenav/NavMenuGroup.js +1 -1
- package/lib/menus/sidenav/NavMenuItem.js +1 -1
- package/lib/menus/sidenav/NavSubMenuItem.js +1 -1
- package/lib/menus/sidenav/helpers.js +4 -4
- package/lib/menus/sidenav/index.js +2 -2
- package/lib/menus/sidenav/popup_menu_search/EmptyList.js +1 -1
- package/lib/menus/sidenav/popup_menu_search/index.js +2 -2
- package/lib/noPermission/index.js +2 -2
- package/lib/panel/Content.js +1 -1
- package/lib/panel/DangerPanel.js +1 -1
- package/lib/panel/Default.js +2 -2
- package/lib/panel/Header.js +2 -2
- package/lib/panel/InfoPanel.js +1 -1
- package/lib/panel/PrimaryPanel.js +1 -1
- package/lib/panel/SuccessPanel.js +1 -1
- package/lib/panel/ToolBar.js +1 -1
- package/lib/panel/WarningPanel.js +1 -1
- package/lib/panel/helpers.js +4 -4
- package/lib/panel/index.js +1 -1
- package/lib/popover/PopoverText.js +1 -1
- package/lib/popover/PopoverTitle.js +1 -1
- package/lib/popover/index.js +2 -2
- package/lib/progress/Bar.js +1 -1
- package/lib/progress/index.js +2 -2
- package/lib/radio/index.js +2 -2
- package/lib/shortcuts/index.js +2 -2
- package/lib/skeleton/SkeletonContainer.js +1 -1
- package/lib/skeleton/index.js +2 -2
- package/lib/spinner/SpinnerLoading.js +1 -1
- package/lib/spinner/index.js +2 -2
- package/lib/split/Split.js +1 -1
- package/lib/split/SplitSide.js +1 -1
- package/lib/split/index.js +1 -1
- package/lib/table/Body.js +2 -2
- package/lib/table/Header.js +1 -1
- package/lib/table/HeaderColumn.js +1 -1
- package/lib/table/Row.js +1 -1
- package/lib/table/RowColumn.js +1 -1
- package/lib/table/index.js +2 -2
- package/lib/tabs/DropdownTabs.js +4 -4
- package/lib/tabs/Menu.js +5 -5
- package/lib/tabs/MenuTabs.js +5 -5
- package/lib/tabs/Panel.js +1 -1
- package/lib/tabs/context.js +30 -30
- package/lib/tabs/index.js +2 -2
- package/lib/tabs/tabHelpers.js +2 -2
- package/lib/textContent/index.js +2 -2
- package/lib/toolbar/ButtonBar.js +2 -2
- package/lib/toolbar/LabelBar.js +2 -2
- package/lib/toolbar/Separator.js +1 -1
- package/lib/toolbar/ToolBarGroup.js +1 -1
- package/lib/toolbar/index.js +2 -2
- package/lib/tooltip/index.js +2 -2
- package/lib/treetable/Body.js +2 -2
- package/lib/treetable/Header.js +2 -2
- package/lib/treetable/Row.js +16 -16
- package/lib/treetable/index.js +2 -2
- package/lib/treeview/Header.js +1 -1
- package/lib/treeview/Node.js +11 -11
- package/lib/treeview/index.js +2 -2
- package/lib/uitour/index.js +2 -2
- package/package.json +4 -4
- package/lib/chunks/index.CmrLK9Qe.js +0 -675
- package/lib/chunks/jsx-runtime.CYK1ROHF.js +0 -445
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { j as a } from "../../../chunks/jsx-runtime.
|
|
2
|
-
import
|
|
1
|
+
import { j as a } from "../../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
|
+
import r from "react";
|
|
3
3
|
const x = ({
|
|
4
|
-
currents:
|
|
5
|
-
descriptionKey:
|
|
4
|
+
currents: o,
|
|
5
|
+
descriptionKey: t,
|
|
6
6
|
idKey: m,
|
|
7
|
-
handlerOnUnselect:
|
|
8
|
-
}) => /* @__PURE__ */ a.jsx(
|
|
9
|
-
typeof
|
|
7
|
+
handlerOnUnselect: e
|
|
8
|
+
}) => /* @__PURE__ */ a.jsx(r.Fragment, { children: o.map((s) => /* @__PURE__ */ a.jsxs("div", { className: "selecteditem", children: [
|
|
9
|
+
typeof t == "string" ? s[t] : t(s),
|
|
10
10
|
/* @__PURE__ */ a.jsx(
|
|
11
11
|
"button",
|
|
12
12
|
{
|
|
13
13
|
className: "close",
|
|
14
14
|
tabIndex: -1,
|
|
15
|
-
onClick: () =>
|
|
15
|
+
onClick: () => e(s[m])
|
|
16
16
|
}
|
|
17
17
|
)
|
|
18
|
-
] }, `selected-${
|
|
18
|
+
] }, `selected-${s[m]}`)) });
|
|
19
19
|
export {
|
|
20
20
|
x as default
|
|
21
21
|
};
|
package/lib/inputs/text/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as d } from "../chunks/jsx-runtime.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { j as d } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
|
+
import H, { useState as f, useRef as O, useEffect as v } from "react";
|
|
3
|
+
import A from "../tooltip/index.js";
|
|
4
|
+
const V = 40, E = ({ tooltip: n }) => n, P = H.createContext({}), _ = ({ displayName: n, name: h }) => n || h || "Component", q = (n) => {
|
|
5
5
|
const h = (s) => {
|
|
6
6
|
const {
|
|
7
7
|
tooltip: m,
|
|
@@ -11,7 +11,7 @@ const A = 40, E = ({ tooltip: n }) => n, P = _.createContext({}), V = ({ display
|
|
|
11
11
|
errorMessage: p
|
|
12
12
|
} = s, [w, r] = f($), [l, C] = f(""), [I, M] = f(""), [W, c] = f(!1), [x, Y] = f({
|
|
13
13
|
width: R,
|
|
14
|
-
height:
|
|
14
|
+
height: V
|
|
15
15
|
}), e = O(null), g = O(null), y = (i) => {
|
|
16
16
|
e.current && e.current.contains(i.target) ? c(!0) : c(!1);
|
|
17
17
|
}, D = () => {
|
|
@@ -47,7 +47,7 @@ const A = 40, E = ({ tooltip: n }) => n, P = _.createContext({}), V = ({ display
|
|
|
47
47
|
r($);
|
|
48
48
|
}, [window.scrollY, window.scrollX, window.innerWidth]);
|
|
49
49
|
const k = () => m || l ? /* @__PURE__ */ d.jsx(
|
|
50
|
-
|
|
50
|
+
A,
|
|
51
51
|
{
|
|
52
52
|
text: l || m,
|
|
53
53
|
textError: p,
|
|
@@ -67,7 +67,7 @@ const A = 40, E = ({ tooltip: n }) => n, P = _.createContext({}), V = ({ display
|
|
|
67
67
|
W && k()
|
|
68
68
|
] });
|
|
69
69
|
};
|
|
70
|
-
return h.displayName = `withTooltip(${
|
|
70
|
+
return h.displayName = `withTooltip(${_(n)})`, h;
|
|
71
71
|
};
|
|
72
72
|
export {
|
|
73
73
|
P as TooltipContext,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as e } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as e } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useState as j, Fragment as p } from "react";
|
|
3
3
|
import $ from "../icons/index.js";
|
|
4
|
-
const C = ({
|
|
4
|
+
import '../assets/index14.css';const C = ({
|
|
5
5
|
style: n = {},
|
|
6
6
|
icon: s = null,
|
|
7
7
|
flat: o = !1,
|
package/lib/labels/InfoLabel.js
CHANGED
package/lib/labels/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { default as s } from "./PrimaryLabel.js";
|
|
|
5
5
|
import { default as b } from "./WarningLabel.js";
|
|
6
6
|
import { default as x } from "./SuccessLabel.js";
|
|
7
7
|
import { default as n } from "./InfoLabel.js";
|
|
8
|
-
|
|
8
|
+
import '../assets/label.css';/* empty css */
|
|
9
9
|
export {
|
|
10
10
|
m as DangerLabel,
|
|
11
11
|
n as InfoLabel,
|
package/lib/list/Header.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as s } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as s } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
const i = ({ title: e, children: a, style: t, customClass: l }) => /* @__PURE__ */ s.jsxs("li", { className: `list-header ${l}`, style: t, children: [
|
|
3
3
|
/* @__PURE__ */ s.jsx("h1", { className: "title", children: e }),
|
|
4
4
|
a
|
package/lib/list/Item.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../chunks/jsx-runtime.
|
|
1
|
+
import "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import "
|
|
3
|
+
import "react-router-dom";
|
|
4
4
|
import "../icons/index.js";
|
|
5
|
-
import { L as s } from "../chunks/tabs.
|
|
5
|
+
import { L as s } from "../chunks/tabs.BP3DB7Gx.js";
|
|
6
6
|
import "./helpers.js";
|
|
7
7
|
import "../dropdown/withDropdown.js";
|
|
8
8
|
import "../internals/constants.js";
|
package/lib/list/Separator.js
CHANGED
package/lib/list/helpers.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t from "react";
|
|
2
|
-
const r = t.createContext({}),
|
|
2
|
+
const r = t.createContext({}), o = {
|
|
3
3
|
listHeader: "Header",
|
|
4
4
|
listItem: "Item",
|
|
5
5
|
listSeparator: "Separator"
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
o as LIST_ITEMS_TYPES,
|
|
9
9
|
r as ListContext
|
|
10
10
|
};
|
package/lib/list/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as l } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as l } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useRef as R, useState as h, useEffect as f, Fragment as S } from "react";
|
|
3
3
|
import { default as q } from "./Header.js";
|
|
4
|
-
import { L as P } from "../chunks/tabs.
|
|
4
|
+
import { L as P } from "../chunks/tabs.BP3DB7Gx.js";
|
|
5
5
|
import { keyCodes as m } from "../internals/constants.js";
|
|
6
6
|
import { default as J } from "./Separator.js";
|
|
7
7
|
import { LIST_ITEMS_TYPES as O, ListContext as b } from "./helpers.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as e } from "../../chunks/jsx-runtime.
|
|
1
|
+
import { j as e } from "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useContext as t } from "react";
|
|
3
3
|
import p from "lodash";
|
|
4
4
|
import u from "../../icons/index.js";
|
|
5
5
|
import { WithDropdownContext as f } from "../../dropdown/withDropdown.js";
|
|
6
6
|
import h from "../../buttons/Button.js";
|
|
7
|
-
|
|
7
|
+
import '../../assets/button.css';/* empty css */
|
|
8
8
|
import x from "./helpers.js";
|
|
9
9
|
const b = ({
|
|
10
10
|
title: n,
|
package/lib/menus/float/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "../../chunks/jsx-runtime.
|
|
1
|
+
import { j as e } from "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { default as E } from "./MenuItem.js";
|
|
3
3
|
import { useEffect as f } from "react";
|
|
4
4
|
import { P as i } from "../../chunks/index.Da--18GT.js";
|
|
@@ -6,7 +6,7 @@ import m from "../../icons/index.js";
|
|
|
6
6
|
import x from "../../skeleton/index.js";
|
|
7
7
|
import h from "../../skeleton/SkeletonContainer.js";
|
|
8
8
|
import j from "../../buttons/Button.js";
|
|
9
|
-
|
|
9
|
+
import '../../assets/button.css';import '../../assets/index28.css';/* empty css */
|
|
10
10
|
import w from "../../spinner/index.js";
|
|
11
11
|
import C from "./helpers.js";
|
|
12
12
|
const b = (o, t, r) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "../../chunks/jsx-runtime.
|
|
1
|
+
import { j as e } from "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import t from "../../icons/index.js";
|
|
3
3
|
const m = ({ onExpandMenu: o, expandMenuCustomClass: n, iconName: s }) => /* @__PURE__ */ e.jsx(
|
|
4
4
|
"div",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
1
|
+
import { j as m } from "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
|
+
import { Link as s } from "react-router-dom";
|
|
3
3
|
import e from "../../internals/withTooltip.js";
|
|
4
|
-
const f = ({ url: o, children: t, targetRef: i, disabled: n }) => o && !n ? /* @__PURE__ */
|
|
5
|
-
|
|
4
|
+
const f = ({ url: o, children: t, targetRef: i, disabled: n }) => o && !n ? /* @__PURE__ */ m.jsx(
|
|
5
|
+
s,
|
|
6
6
|
{
|
|
7
7
|
to: o,
|
|
8
8
|
className: "menulink",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as m } from "../../chunks/jsx-runtime.
|
|
1
|
+
import { j as m } from "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useContext as n } from "react";
|
|
3
3
|
import u, { SideNavContext as a } from "./helpers.js";
|
|
4
4
|
const l = ({ children: s, scrollable: t, style: e }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as n } from "../../chunks/jsx-runtime.
|
|
1
|
+
import { j as n } from "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useState as l, useRef as p, useContext as q, useEffect as R, Fragment as G } from "react";
|
|
3
3
|
import J from "../../internals/withTooltip.js";
|
|
4
4
|
import K from "../../icons/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "../../chunks/jsx-runtime.
|
|
1
|
+
import { j as e } from "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useState as m, useContext as d } from "react";
|
|
3
3
|
import c from "./MenuLink.js";
|
|
4
4
|
import { SubMenuContext as b } from "./helpers.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t from "react";
|
|
2
|
-
const
|
|
2
|
+
const a = (n, s) => {
|
|
3
3
|
let e = "expandedmenu";
|
|
4
4
|
return n || (e = `collapsedmenu -${s}`), e;
|
|
5
|
-
}, c = t.createContext({}),
|
|
5
|
+
}, c = t.createContext({}), r = t.createContext({});
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
r as SideNavContext,
|
|
8
8
|
c as SubMenuContext,
|
|
9
|
-
|
|
9
|
+
a as default
|
|
10
10
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "../../chunks/jsx-runtime.
|
|
1
|
+
import { j as t } from "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useState as a, useRef as H, useEffect as l } from "react";
|
|
3
3
|
import I from "./NavMenuItem.js";
|
|
4
4
|
import T from "./NavSubMenuItem.js";
|
|
@@ -9,7 +9,7 @@ import G from "../../icons/index.js";
|
|
|
9
9
|
import { keyCodes as O } from "../../internals/constants.js";
|
|
10
10
|
import V from "./popup_menu_search/index.js";
|
|
11
11
|
import { v as N } from "../../chunks/v1.CDXKvGzE.js";
|
|
12
|
-
const re = (f) => {
|
|
12
|
+
import '../../assets/index27.css';const re = (f) => {
|
|
13
13
|
const {
|
|
14
14
|
customClass: $,
|
|
15
15
|
showExpandMenu: g,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { j as t } from "../../../chunks/jsx-runtime.
|
|
1
|
+
import { j as t } from "../../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useState as d, useRef as f, useEffect as u, Fragment as v } from "react";
|
|
3
3
|
import P from "react-dom";
|
|
4
4
|
import w from "../../../inputs/search/index.js";
|
|
5
5
|
import F from "../../../list/index.js";
|
|
6
6
|
import O from "../../../icons/index.js";
|
|
7
7
|
import k from "./EmptyList.js";
|
|
8
|
-
import { L as M } from "../../../chunks/tabs.
|
|
8
|
+
import { L as M } from "../../../chunks/tabs.BP3DB7Gx.js";
|
|
9
9
|
const h = document.getElementsByTagName("body")[0], A = (x) => {
|
|
10
10
|
const {
|
|
11
11
|
style: c,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as s } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as s } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import o from "../icons/index.js";
|
|
3
|
-
|
|
3
|
+
import '../assets/noPermission.css';/* empty css */
|
|
4
4
|
const i = () => /* @__PURE__ */ s.jsxs("div", { className: "no-permission-component", "data-testid": "no-permission-component", children: [
|
|
5
5
|
/* @__PURE__ */ s.jsx(o, { name: "warning", size: 128, color: "#bdbdbd" }),
|
|
6
6
|
/* @__PURE__ */ s.jsx("p", { className: "text", children: "Acesso Negado" }),
|
package/lib/panel/Content.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as d } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as d } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useContext as C, useRef as i, useCallback as g, useEffect as j } from "react";
|
|
3
3
|
import H, { getCurrentThreshold as L } from "./helpers.js";
|
|
4
4
|
import P from "../noPermission/index.js";
|
package/lib/panel/DangerPanel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as r } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import t from "./Default.js";
|
|
3
3
|
import e from "../internals/colorStyles.js";
|
|
4
4
|
const s = (o) => /* @__PURE__ */ r.jsx(t, { ...o, colorStyle: e.DANGER });
|
package/lib/panel/Default.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as e } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as e } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useState as a } from "react";
|
|
3
|
-
|
|
3
|
+
import '../assets/gridlayout.css';/* empty css */
|
|
4
4
|
import D from "../gridlayout/GridCol.js";
|
|
5
5
|
import O from "./Header.js";
|
|
6
6
|
import N from "./helpers.js";
|
package/lib/panel/Header.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as o } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useContext as p } from "react";
|
|
3
3
|
import l from "../icons/index.js";
|
|
4
4
|
import x from "../buttons/button_container/index.js";
|
|
5
5
|
import f from "../buttons/Button.js";
|
|
6
|
-
|
|
6
|
+
import '../assets/button.css';/* empty css */
|
|
7
7
|
import h from "./helpers.js";
|
|
8
8
|
const j = (t, e) => e || (t ? /* @__PURE__ */ o.jsx(l, { name: t, color: "#000", size: 16 }) : null), C = ({ customClass: t, headerColored: e = !0 }) => {
|
|
9
9
|
let r = `panel-header ${t ?? ""}`;
|
package/lib/panel/InfoPanel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as t } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import r from "./Default.js";
|
|
3
3
|
import e from "../internals/colorStyles.js";
|
|
4
4
|
const a = (o) => /* @__PURE__ */ t.jsx(r, { ...o, colorStyle: e.INFO });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as r } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import t from "./Default.js";
|
|
3
3
|
import e from "../internals/colorStyles.js";
|
|
4
4
|
const s = (o) => /* @__PURE__ */ r.jsx(t, { ...o, colorStyle: e.PRIMARY });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as t } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import r from "./Default.js";
|
|
3
3
|
import e from "../internals/colorStyles.js";
|
|
4
4
|
const a = (o) => /* @__PURE__ */ t.jsx(r, { ...o, colorStyle: e.SUCCESS });
|
package/lib/panel/ToolBar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as r } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import t from "../toolbar/index.js";
|
|
3
3
|
const e = ({ children: o }) => /* @__PURE__ */ r.jsx(t, { style: { width: "auto", backgroundColor: "transparent", border: 0 }, children: o });
|
|
4
4
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as r } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import t from "./Default.js";
|
|
3
3
|
import e from "../internals/colorStyles.js";
|
|
4
4
|
const s = (o) => /* @__PURE__ */ r.jsx(t, { ...o, colorStyle: e.WARNING });
|
package/lib/panel/helpers.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import a from "react";
|
|
2
|
-
function
|
|
2
|
+
function M(o, t) {
|
|
3
3
|
if (t < 0) return 0;
|
|
4
4
|
if (t > 1) return 1;
|
|
5
5
|
const { scrollHeight: e, clientHeight: r } = o, n = e - r, H = Math.round(e * t), c = Math.round(n - n * 0.3);
|
|
6
6
|
return Math.min(H, c);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const h = a.createContext({});
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
h as default,
|
|
11
|
+
M as getCurrentThreshold
|
|
12
12
|
};
|
package/lib/panel/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { default as u } from "./SuccessPanel.js";
|
|
|
6
6
|
import { default as P } from "./InfoPanel.js";
|
|
7
7
|
import { default as i } from "./Header.js";
|
|
8
8
|
import { default as g } from "./Content.js";
|
|
9
|
-
|
|
9
|
+
import '../assets/panel.css';/* empty css */
|
|
10
10
|
export {
|
|
11
11
|
n as DangerPanel,
|
|
12
12
|
P as InfoPanel,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as r } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { forwardRef as t } from "react";
|
|
3
3
|
const s = t(({ children: e }, o) => /* @__PURE__ */ r.jsx("p", { className: "text", ref: o, children: e }));
|
|
4
4
|
s.displayName = "PopoverText";
|
package/lib/popover/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as o } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import m from "../buttons/Button.js";
|
|
3
3
|
import f from "../icons/index.js";
|
|
4
|
-
|
|
4
|
+
import '../assets/button.css';import '../assets/index3.css';/* empty css */
|
|
5
5
|
import { default as h } from "./PopoverText.js";
|
|
6
6
|
import { default as I } from "./PopoverTitle.js";
|
|
7
7
|
const w = ({
|
package/lib/progress/Bar.js
CHANGED
package/lib/progress/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as s } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as s } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import n from "./Bar.js";
|
|
3
|
-
const m = (r) => {
|
|
3
|
+
import '../assets/index9.css';const m = (r) => {
|
|
4
4
|
const { style: t, children: e, width: o = "100%", height: a = "24px" } = r, i = {
|
|
5
5
|
...t,
|
|
6
6
|
width: o,
|
package/lib/radio/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as s } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as s } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useState as f, useEffect as S } from "react";
|
|
3
|
-
|
|
3
|
+
import '../assets/radio.css';/* empty css */
|
|
4
4
|
import { OPTIONS_ON_DENIED as x, actionsOnPermissionDenied as w } from "../permissionValidations.js";
|
|
5
5
|
import L from "../popover/index.js";
|
|
6
6
|
import b from "../textContent/index.js";
|
package/lib/shortcuts/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as s } from "../chunks/jsx-runtime.
|
|
2
|
-
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: [
|
|
1
|
+
import { j as s } from "../chunks/jsx-runtime.gtoSnx-V.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
3
|
/* @__PURE__ */ s.jsx("kbd", { "data-testid": "shortcut", className: `shortcut-component ${t && `-${t}`}`, style: c, children: e }),
|
|
4
4
|
": ",
|
|
5
5
|
r
|
package/lib/skeleton/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as n } from "../chunks/jsx-runtime.
|
|
2
|
-
|
|
1
|
+
import { j as n } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
|
+
import '../assets/skeleton.css';import '../assets/gridlayout.css';/* empty css */
|
|
3
3
|
import p from "../gridlayout/GridCol.js";
|
|
4
4
|
import { default as y } from "./SkeletonContainer.js";
|
|
5
5
|
/* empty css */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as e } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
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
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
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" }) }) }),
|
package/lib/spinner/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as i } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as i } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useState as h, useRef as j, useEffect as y } from "react";
|
|
3
3
|
import l from "./SpinnerLoading.js";
|
|
4
|
-
const S = (c) => {
|
|
4
|
+
import '../assets/index6.css';const S = (c) => {
|
|
5
5
|
const {
|
|
6
6
|
align: e = "center",
|
|
7
7
|
customClass: a,
|
package/lib/split/Split.js
CHANGED
package/lib/split/SplitSide.js
CHANGED
package/lib/split/index.js
CHANGED
package/lib/table/Body.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as e } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useContext as x } from "react";
|
|
3
3
|
import f, { getArrayFromNumber as y } from "./helpers.js";
|
|
4
4
|
import j from "../skeleton/index.js";
|
|
@@ -6,7 +6,7 @@ import "lodash";
|
|
|
6
6
|
import k from "./Row.js";
|
|
7
7
|
import "../icons/index.js";
|
|
8
8
|
import h from "./RowColumn.js";
|
|
9
|
-
|
|
9
|
+
import '../assets/table.css';/* empty css */
|
|
10
10
|
const b = (s, {
|
|
11
11
|
columnsCount: t,
|
|
12
12
|
vertical: o,
|