@lanaco/lnc-react-ui 4.0.2 → 4.0.5
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/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +55 -50
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +15 -15
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +11 -11
- package/dist/ActionsToolbar.cjs +2 -2
- package/dist/ActionsToolbar.js +16 -16
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +23 -23
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.js +18 -21
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +21 -14
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +28 -28
- package/dist/Button.cjs +2 -2
- package/dist/Button.js +21 -22
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +10 -6
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +6 -6
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +9 -9
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +20 -20
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +58 -58
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +8 -8
- package/dist/{CustomStyles-nfD3J1mi.js → CustomStyles-BUSJ8bZt.js} +5 -5
- package/dist/{CustomStyles-CqlCjTgU.cjs → CustomStyles-Dlqxic2X.cjs} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +35 -35
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +491 -491
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +43 -43
- package/dist/DetailsView.cjs +4 -4
- package/dist/DetailsView.js +40 -40
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +33 -33
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +165 -165
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +31 -31
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +47 -47
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +39 -39
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +23 -23
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +36 -36
- package/dist/DropdownMenu.cjs +7 -1
- package/dist/DropdownMenu.js +192 -10
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +4 -4
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +24 -24
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +14 -14
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +30 -30
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +16 -16
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +5 -5
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +8 -9
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +31 -31
- package/dist/Grid.cjs +2 -3
- package/dist/Grid.js +38 -10
- package/dist/GridItem.cjs +2 -2
- package/dist/GridItem.js +29 -9
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +7 -7
- package/dist/Icon.cjs +2 -2
- package/dist/Icon.js +35 -13
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +51 -52
- package/dist/Kanban.cjs +12 -12
- package/dist/Kanban.js +891 -879
- package/dist/KanbanActionsToolbar.cjs +2 -2
- package/dist/KanbanActionsToolbar.js +28 -28
- package/dist/{KanbanCard-D9OhU8C6.js → KanbanCard-CHZ_C9kk.js} +50 -50
- package/dist/KanbanCard-DV3VnSUi.cjs +30 -0
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +5 -5
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +40 -40
- package/dist/KanbanHeader.cjs +2 -2
- package/dist/KanbanHeader.js +46 -46
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +27 -27
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +9 -9
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +39 -39
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +42 -42
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +6 -6
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +6 -6
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +40 -40
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +45 -45
- package/dist/Notification.cjs +1 -83
- package/dist/Notification.js +3 -1077
- package/dist/NotificationContainer.cjs +37 -0
- package/dist/NotificationContainer.js +162 -0
- package/dist/NotificationMessage.cjs +47 -0
- package/dist/NotificationMessage.js +133 -0
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +17 -17
- package/dist/PageLayout.cjs +1 -1
- package/dist/PageLayout.js +32 -32
- package/dist/Pagination.cjs +12 -0
- package/dist/Pagination.js +248 -0
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +33 -33
- package/dist/Popover.cjs +1 -0
- package/dist/Popover.js +36 -0
- package/dist/PopoverClose.cjs +1 -0
- package/dist/PopoverClose.js +15 -0
- package/dist/PopoverContent.cjs +10 -0
- package/dist/PopoverContent.js +68 -0
- package/dist/PopoverContext.cjs +1 -0
- package/dist/PopoverContext.js +5 -0
- package/dist/PopoverDescription.cjs +1 -0
- package/dist/PopoverDescription.js +16 -0
- package/dist/PopoverHeading.cjs +1 -0
- package/dist/PopoverHeading.js +16 -0
- package/dist/PopoverTrigger.cjs +1 -0
- package/dist/PopoverTrigger.js +38 -0
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +35 -24
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +13 -13
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +10 -10
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +27 -27
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +77 -77
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +9 -9
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +13 -13
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +25 -20
- package/dist/Surface.cjs +2 -2
- package/dist/Surface.js +14 -15
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +18 -18
- package/dist/TabItem.cjs +26 -0
- package/dist/TabItem.js +210 -0
- package/dist/Table.cjs +20 -20
- package/dist/Table.js +13 -12
- package/dist/TableView.cjs +8 -1
- package/dist/TableView.js +238 -9
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +33 -27
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +35 -35
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +24 -24
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +85 -85
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +13 -13
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +4 -5
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +57 -57
- package/dist/TreeMenuSeparator.cjs +3 -3
- package/dist/TreeMenuSeparator.js +11 -11
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +29 -29
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/{defineProperty-BHpTtkhC.js → defineProperty-B5pLF6px.js} +8 -8
- package/dist/{emotion-element-5486c51c.browser.esm-CSejtOeT.js → emotion-element-5486c51c.browser.esm-Bb4VkP8U.js} +4 -4
- package/dist/{emotion-is-prop-valid.esm-BzFBwmJz.js → emotion-is-prop-valid.esm-DkbeH1Xy.js} +1 -1
- package/dist/{emotion-react.browser.esm-OWM-uG8Q.js → emotion-react.browser.esm-CN-s34fZ.js} +6 -6
- package/dist/{emotion-react.browser.esm-DQBL7Wls.cjs → emotion-react.browser.esm-D7h2t2Bz.cjs} +1 -1
- package/dist/{emotion-styled.browser.esm-BZSYYThs.js → emotion-styled.browser.esm-BiK8DcgW.js} +12 -12
- package/dist/floating-ui.react.esm-72DKnou_.js +1198 -0
- package/dist/floating-ui.react.esm-C4vrBVJU.cjs +4 -0
- package/dist/{hoist-non-react-statics.cjs-Drf1aBlk.js → hoist-non-react-statics.cjs-CAHiRNzQ.js} +1 -1
- package/dist/{hoist-non-react-statics.cjs-B8r9S_ak.cjs → hoist-non-react-statics.cjs-Dr-ytKVG.cjs} +3 -3
- package/dist/{index-CZJEA84h.js → index--Kmch3aI.js} +1 -1
- package/dist/index-BIlhCoy2.cjs +20 -0
- package/dist/{index-BLQWNy78.js → index-BUChtubz.js} +4 -4
- package/dist/{index-Ds9PUTwb.js → index-BYnWp42a.js} +208 -213
- package/dist/{index-D5vEbKUT.js → index-CNBqQrtK.js} +1 -1
- package/dist/{index-IO9v6o0I.cjs → index-CSXL784P.cjs} +2 -2
- package/dist/{index-C29T0m2a.cjs → index-Ct1N7fF4.cjs} +1 -1
- package/dist/{index-BklgDeu4.js → index-Cu0xwYjD.js} +1 -1
- package/dist/{index-Cdkz-XH-.js → index-CvebWhtp.js} +1 -1
- package/dist/index-DAOBjHnD.cjs +1 -0
- package/dist/index-DBXXH_TD.cjs +1 -0
- package/dist/{index-B_da1uvD.js → index-DLVVKJXD.js} +1 -1
- package/dist/index-DaiUAQVF.cjs +1 -0
- package/dist/index.cjs +1 -26
- package/dist/index.js +180 -376
- package/dist/{motion-CtkUpWEn.js → motion-ecIGZGwI.js} +1 -1
- package/dist/react-toastify.esm-CkXGwKXL.js +798 -0
- package/dist/react-toastify.esm-Dqcb4SQT.cjs +1 -0
- package/dist/{setPrototypeOf-a891FLQJ.js → setPrototypeOf-CttqfWo1.js} +2 -2
- package/dist/style.css +1 -5
- package/dist/{tslib.es6-ZNVz5r_T.js → tslib.es6-DQ-SzcmG.js} +5 -5
- package/dist/usePopover.cjs +1 -0
- package/dist/usePopover.js +44 -0
- package/dist/{utils-DEke8iwo.js → utils-C52T57HO.js} +73 -73
- package/dist/{utils-hdRGTsQ7.cjs → utils-DTAPpJXU.cjs} +1 -1
- package/package.json +17 -5
- package/vite.config.js +16 -0
- package/custom-addons/ThemeSelector.js +0 -111
- package/custom-addons/register.js +0 -16
- package/custom-addons/theme-selector.css +0 -17
- package/dist/DropdownMenu-B6qr13ik.cjs +0 -19
- package/dist/DropdownMenu-DZi3TJ8Q.js +0 -1547
- package/dist/KanbanCard-ConTmu3w.cjs +0 -30
- package/dist/TableView-Cj5_fbSR.js +0 -481
- package/dist/TableView-D8ex512p.cjs +0 -19
- package/dist/index-BjdOz5Ok.cjs +0 -1
- package/dist/index-DXnSjbfJ.cjs +0 -20
- package/dist/index-Dzkd2i4n.cjs +0 -1
- package/dist/index-P-naJISQ.cjs +0 -1
package/dist/KanbanHeader.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { n as
|
|
4
|
-
import { P as e } from "./index-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { u as
|
|
9
|
-
const
|
|
1
|
+
import { jsxs as N, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { memo as w, forwardRef as E } from "react";
|
|
3
|
+
import { n as T } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
+
import { P as e } from "./index-BYnWp42a.js";
|
|
5
|
+
import k from "./DropdownMenu.js";
|
|
6
|
+
import v from "./DropdownItem.js";
|
|
7
|
+
import D from "./Icon.js";
|
|
8
|
+
import { u as H } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
9
|
+
const P = T.div`
|
|
10
10
|
font-family: ${(n) => {
|
|
11
|
-
var
|
|
12
|
-
return (o = (
|
|
11
|
+
var i, o;
|
|
12
|
+
return (o = (i = n.theme) == null ? void 0 : i.typography) == null ? void 0 : o.fontFamily;
|
|
13
13
|
}};
|
|
14
14
|
position: relative;
|
|
15
15
|
width: 100%;
|
|
@@ -23,65 +23,65 @@ const H = E.div`
|
|
|
23
23
|
& > span {
|
|
24
24
|
${(n) => n.clickable && "cursor: pointer;"}
|
|
25
25
|
}
|
|
26
|
-
`,
|
|
27
|
-
|
|
26
|
+
`, t = w(
|
|
27
|
+
E(
|
|
28
28
|
({
|
|
29
29
|
__TYPE__: n = "KANBAN_HEADER",
|
|
30
|
-
id:
|
|
30
|
+
id: i,
|
|
31
31
|
item: o,
|
|
32
32
|
column: s,
|
|
33
|
-
actionsMenu:
|
|
34
|
-
actions:
|
|
35
|
-
onDetails:
|
|
33
|
+
actionsMenu: p = !1,
|
|
34
|
+
actions: a = [],
|
|
35
|
+
onDetails: m = () => {
|
|
36
36
|
},
|
|
37
|
-
color:
|
|
38
|
-
size:
|
|
39
|
-
className:
|
|
40
|
-
style:
|
|
41
|
-
children:
|
|
42
|
-
...
|
|
43
|
-
},
|
|
44
|
-
const b =
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
|
|
37
|
+
color: c = "primary",
|
|
38
|
+
size: f = "small",
|
|
39
|
+
className: d = "",
|
|
40
|
+
style: u = {},
|
|
41
|
+
children: y,
|
|
42
|
+
...g
|
|
43
|
+
}, h) => {
|
|
44
|
+
const b = H();
|
|
45
|
+
return /* @__PURE__ */ N(
|
|
46
|
+
P,
|
|
47
47
|
{
|
|
48
|
-
ref:
|
|
48
|
+
ref: h,
|
|
49
49
|
theme: b,
|
|
50
|
-
className:
|
|
51
|
-
style:
|
|
52
|
-
clickable: !!
|
|
53
|
-
...
|
|
50
|
+
className: d,
|
|
51
|
+
style: u,
|
|
52
|
+
clickable: !!m,
|
|
53
|
+
...g,
|
|
54
54
|
children: [
|
|
55
|
-
/* @__PURE__ */ l("span", { onClick: (r) =>
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
/* @__PURE__ */ l("span", { onClick: (r) => m(r, o, s), children: y }),
|
|
56
|
+
p && /* @__PURE__ */ l(
|
|
57
|
+
k,
|
|
58
58
|
{
|
|
59
59
|
className: "column-action-lnc",
|
|
60
60
|
horizontalAlignment: "right",
|
|
61
61
|
verticalAlignment: "bottom",
|
|
62
|
-
color:
|
|
63
|
-
size:
|
|
62
|
+
color: c,
|
|
63
|
+
size: f,
|
|
64
64
|
control: /* @__PURE__ */ l(
|
|
65
|
-
|
|
65
|
+
D,
|
|
66
66
|
{
|
|
67
67
|
color: "neutral",
|
|
68
68
|
className: "column-action-lnc",
|
|
69
69
|
icon: "ellipsis-v"
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
|
-
children:
|
|
72
|
+
children: a == null ? void 0 : a.map((r, _) => {
|
|
73
73
|
if ((r == null ? void 0 : r.show) != !1)
|
|
74
74
|
return /* @__PURE__ */ l(
|
|
75
|
-
|
|
75
|
+
v,
|
|
76
76
|
{
|
|
77
77
|
icon: r.icon,
|
|
78
78
|
disabled: r.enable == !1,
|
|
79
|
-
onClick: (
|
|
80
|
-
r.onAction(
|
|
79
|
+
onClick: (A) => {
|
|
80
|
+
r.onAction(A, o, s);
|
|
81
81
|
},
|
|
82
82
|
children: r.name
|
|
83
83
|
},
|
|
84
|
-
|
|
84
|
+
_
|
|
85
85
|
);
|
|
86
86
|
})
|
|
87
87
|
}
|
|
@@ -92,7 +92,7 @@ const H = E.div`
|
|
|
92
92
|
}
|
|
93
93
|
)
|
|
94
94
|
);
|
|
95
|
-
|
|
95
|
+
t.propTypes = {
|
|
96
96
|
__TYPE__: e.string,
|
|
97
97
|
id: e.oneOfType([e.string, e.number]),
|
|
98
98
|
/**
|
|
@@ -121,7 +121,7 @@ p.propTypes = {
|
|
|
121
121
|
]),
|
|
122
122
|
size: e.oneOf(["small", "medium", "large"])
|
|
123
123
|
};
|
|
124
|
-
|
|
124
|
+
t.displayName = "KANBAN_HEADER";
|
|
125
125
|
export {
|
|
126
|
-
|
|
126
|
+
t as default
|
|
127
127
|
};
|
package/dist/KanbanView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BIlhCoy2.cjs"),X=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),Z=require("./KanbanActionsToolbar.cjs"),a=require("./utils-DTAPpJXU.cjs"),$=require("./Kanban.cjs"),k=require("./KanbanCard-DV3VnSUi.cjs"),ee=require("./KanbanHeader.cjs"),oe=require("./KanbanFooter.cjs"),ne=X.newStyled.div`
|
|
2
2
|
& .kanban-view-footer-lnc {
|
|
3
3
|
padding: 0 0.625rem;
|
|
4
4
|
}
|
package/dist/KanbanView.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
2
|
-
import $ from "react";
|
|
3
|
-
import { P as e } from "./index-
|
|
4
|
-
import { n as k } from "./emotion-styled.browser.esm-
|
|
1
|
+
import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as $ } from "react";
|
|
3
|
+
import { P as e } from "./index-BYnWp42a.js";
|
|
4
|
+
import { n as k } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
5
|
import P from "./KanbanActionsToolbar.js";
|
|
6
|
-
import { r as
|
|
6
|
+
import { r as s, i as d } from "./utils-C52T57HO.js";
|
|
7
7
|
import ee from "./Kanban.js";
|
|
8
|
-
import { K as oe } from "./KanbanCard-
|
|
8
|
+
import { K as oe } from "./KanbanCard-CHZ_C9kk.js";
|
|
9
9
|
import ne from "./KanbanHeader.js";
|
|
10
10
|
import ae from "./KanbanFooter.js";
|
|
11
11
|
const te = k.div`
|
|
@@ -15,7 +15,7 @@ const te = k.div`
|
|
|
15
15
|
& .kanban-view-toolbar-lnc {
|
|
16
16
|
margin: 0 0.625rem;
|
|
17
17
|
}
|
|
18
|
-
`,
|
|
18
|
+
`, C = $((u, b) => {
|
|
19
19
|
const {
|
|
20
20
|
__TYPE__: le = "KANBAN_VIEW",
|
|
21
21
|
goToPreviousView: re,
|
|
@@ -25,15 +25,15 @@ const te = k.div`
|
|
|
25
25
|
footerProps: a = {},
|
|
26
26
|
showCreate: A = !0,
|
|
27
27
|
enableCreate: h = !0,
|
|
28
|
-
loading:
|
|
28
|
+
loading: ie = !1,
|
|
29
29
|
customCardActions: N = [],
|
|
30
30
|
customColumnActions: E = [],
|
|
31
31
|
editCardText: D = "Edit",
|
|
32
32
|
enableEditCard: T = !0,
|
|
33
33
|
showEditCard: z = !0,
|
|
34
34
|
deleteCardText: g = "Delete",
|
|
35
|
-
enableDeleteCard:
|
|
36
|
-
showDeleteCard:
|
|
35
|
+
enableDeleteCard: y = !0,
|
|
36
|
+
showDeleteCard: _ = !0,
|
|
37
37
|
editColumnText: K = "Edit",
|
|
38
38
|
enableEditColumn: x = !0,
|
|
39
39
|
showEditColumn: v = !0,
|
|
@@ -47,9 +47,9 @@ const te = k.div`
|
|
|
47
47
|
},
|
|
48
48
|
onEditCard: L = () => {
|
|
49
49
|
},
|
|
50
|
-
onDeleteCard:
|
|
50
|
+
onDeleteCard: I = () => {
|
|
51
51
|
},
|
|
52
|
-
onEditColumn:
|
|
52
|
+
onEditColumn: R = () => {
|
|
53
53
|
},
|
|
54
54
|
onDeleteColumn: F = () => {
|
|
55
55
|
},
|
|
@@ -68,7 +68,7 @@ const te = k.div`
|
|
|
68
68
|
color: r = "primary",
|
|
69
69
|
children: t,
|
|
70
70
|
...G
|
|
71
|
-
} =
|
|
71
|
+
} = u, o = {
|
|
72
72
|
...f,
|
|
73
73
|
showCreate: A,
|
|
74
74
|
enableCreate: h,
|
|
@@ -76,7 +76,7 @@ const te = k.div`
|
|
|
76
76
|
actions: w
|
|
77
77
|
}, J = (Z) => {
|
|
78
78
|
c(Z);
|
|
79
|
-
}, Q = () =>
|
|
79
|
+
}, Q = () => s(
|
|
80
80
|
d("KANBAN_VIEW_ACTIONS_TOOLBAR", t),
|
|
81
81
|
{
|
|
82
82
|
...o,
|
|
@@ -85,7 +85,7 @@ const te = k.div`
|
|
|
85
85
|
className: "kanban-view-toolbar-lnc " + (o == null ? void 0 : o.className)
|
|
86
86
|
},
|
|
87
87
|
t
|
|
88
|
-
) || /* @__PURE__ */
|
|
88
|
+
) || /* @__PURE__ */ i(
|
|
89
89
|
P,
|
|
90
90
|
{
|
|
91
91
|
...o,
|
|
@@ -94,7 +94,7 @@ const te = k.div`
|
|
|
94
94
|
color: o != null && o.color ? o.color : r,
|
|
95
95
|
onCreate: J
|
|
96
96
|
}
|
|
97
|
-
), U = () =>
|
|
97
|
+
), U = () => s(
|
|
98
98
|
d("KANBAN", t),
|
|
99
99
|
{
|
|
100
100
|
...n,
|
|
@@ -110,7 +110,7 @@ const te = k.div`
|
|
|
110
110
|
color: n != null && n.color ? n.color : r,
|
|
111
111
|
...n,
|
|
112
112
|
children: [
|
|
113
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ i(
|
|
114
114
|
ne,
|
|
115
115
|
{
|
|
116
116
|
onDetails: W,
|
|
@@ -120,7 +120,7 @@ const te = k.div`
|
|
|
120
120
|
name: K,
|
|
121
121
|
enable: x,
|
|
122
122
|
show: v,
|
|
123
|
-
onAction:
|
|
123
|
+
onAction: R,
|
|
124
124
|
icon: "pen"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
@@ -134,7 +134,7 @@ const te = k.div`
|
|
|
134
134
|
]
|
|
135
135
|
}
|
|
136
136
|
),
|
|
137
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ i(
|
|
138
138
|
oe,
|
|
139
139
|
{
|
|
140
140
|
onDetails: S,
|
|
@@ -149,9 +149,9 @@ const te = k.div`
|
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
name: g,
|
|
152
|
-
enable:
|
|
153
|
-
show:
|
|
154
|
-
onAction:
|
|
152
|
+
enable: y,
|
|
153
|
+
show: _,
|
|
154
|
+
onAction: I,
|
|
155
155
|
icon: "trash"
|
|
156
156
|
},
|
|
157
157
|
...N
|
|
@@ -159,7 +159,7 @@ const te = k.div`
|
|
|
159
159
|
}
|
|
160
160
|
),
|
|
161
161
|
t,
|
|
162
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ i(
|
|
163
163
|
ae,
|
|
164
164
|
{
|
|
165
165
|
showAddNewCard: M,
|
|
@@ -170,7 +170,7 @@ const te = k.div`
|
|
|
170
170
|
)
|
|
171
171
|
]
|
|
172
172
|
}
|
|
173
|
-
), X = () =>
|
|
173
|
+
), X = () => s(
|
|
174
174
|
d("KANBAN_VIEW_FOOTER", t),
|
|
175
175
|
{
|
|
176
176
|
...a,
|
|
@@ -186,7 +186,7 @@ const te = k.div`
|
|
|
186
186
|
X()
|
|
187
187
|
] });
|
|
188
188
|
});
|
|
189
|
-
|
|
189
|
+
C.propTypes = {
|
|
190
190
|
__TYPE__: e.string,
|
|
191
191
|
kanbanProps: e.object,
|
|
192
192
|
actionsToolbarProps: e.object,
|
|
@@ -249,7 +249,7 @@ u.propTypes = {
|
|
|
249
249
|
"gray"
|
|
250
250
|
])
|
|
251
251
|
};
|
|
252
|
-
|
|
252
|
+
C.displayName = "KanbanView";
|
|
253
253
|
export {
|
|
254
|
-
|
|
254
|
+
C as default
|
|
255
255
|
};
|
package/dist/Link.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const y=require("react/jsx-runtime"),d=require("react"),t=require("./index-
|
|
1
|
+
"use strict";const y=require("react/jsx-runtime"),d=require("react"),t=require("./index-BIlhCoy2.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-DTAPpJXU.cjs"),h=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),b=g.newStyled.a`
|
|
2
2
|
${e=>o.getComponentTypographyCss(e.theme,"Breadcrumbs",e.size,"enabled")};
|
|
3
3
|
color: ${e=>o.getColorRgbaValue(e.theme,"Link",e.color,"enabled","text")};
|
|
4
4
|
text-decoration: none;
|
package/dist/Link.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { P as o } from "./index-
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import { u } from "./emotion-element-5486c51c.browser.esm-
|
|
7
|
-
const
|
|
2
|
+
import { forwardRef as h } from "react";
|
|
3
|
+
import { P as o } from "./index-BYnWp42a.js";
|
|
4
|
+
import { n as f } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
+
import { g as y, a as t } from "./utils-C52T57HO.js";
|
|
6
|
+
import { u as g } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
7
|
+
const u = f.a`
|
|
8
8
|
${(e) => y(
|
|
9
9
|
e.theme,
|
|
10
10
|
"Breadcrumbs",
|
|
@@ -23,7 +23,7 @@ const g = h.a`
|
|
|
23
23
|
&:visited {
|
|
24
24
|
color: ${(e) => t(e.theme, "Link", e.color, "visited", "text")};
|
|
25
25
|
}
|
|
26
|
-
`, p =
|
|
26
|
+
`, p = h((e, r) => {
|
|
27
27
|
const {
|
|
28
28
|
//----------------
|
|
29
29
|
className: a = "",
|
|
@@ -33,13 +33,13 @@ const g = h.a`
|
|
|
33
33
|
children: i,
|
|
34
34
|
...l
|
|
35
35
|
} = e, c = {
|
|
36
|
-
theme:
|
|
36
|
+
theme: g(),
|
|
37
37
|
size: m,
|
|
38
38
|
color: n,
|
|
39
39
|
className: "lnc-ui-link " + a,
|
|
40
40
|
style: s
|
|
41
41
|
};
|
|
42
|
-
return /* @__PURE__ */ d(
|
|
42
|
+
return /* @__PURE__ */ d(u, { ref: r, ...c, ...l, children: i });
|
|
43
43
|
});
|
|
44
44
|
p.propTypes = {
|
|
45
45
|
//---------------------------------------------------------------
|
package/dist/MenuItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),f=require("react"),s=require("./index-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),f=require("react"),s=require("./index-BIlhCoy2.cjs"),Y=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),M=require("./Icon.cjs"),l=require("./utils-DTAPpJXU.cjs"),G=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),H=Y.newStyled.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${n=>n.disabled==!1?"pointer":"context-menu"};
|
|
4
4
|
width: 100%;
|
package/dist/MenuItem.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as m, Fragment as V, jsxs as G } from "react/jsx-runtime";
|
|
2
|
-
import H,
|
|
3
|
-
import { P as o } from "./index-
|
|
4
|
-
import { n as X } from "./emotion-styled.browser.esm-
|
|
2
|
+
import { forwardRef as H, useRef as J, useState as Q, useEffect as W } from "react";
|
|
3
|
+
import { P as o } from "./index-BYnWp42a.js";
|
|
4
|
+
import { n as X } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
5
|
import k from "./Icon.js";
|
|
6
|
-
import {
|
|
7
|
-
import { u as I } from "./emotion-element-5486c51c.browser.esm-
|
|
6
|
+
import { a as i, g as Z, h as v } from "./utils-C52T57HO.js";
|
|
7
|
+
import { u as I } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
8
|
const ee = X.div`
|
|
9
9
|
box-sizing: border-box;
|
|
10
10
|
cursor: ${(n) => n.disabled == !1 ? "pointer" : "context-menu"};
|
|
@@ -78,7 +78,7 @@ const ee = X.div`
|
|
|
78
78
|
)};
|
|
79
79
|
`}
|
|
80
80
|
}
|
|
81
|
-
`, C = H
|
|
81
|
+
`, C = H((n, a) => {
|
|
82
82
|
const {
|
|
83
83
|
value: g,
|
|
84
84
|
active: c = null,
|
|
@@ -94,7 +94,7 @@ const ee = X.div`
|
|
|
94
94
|
},
|
|
95
95
|
onClick: w = () => {
|
|
96
96
|
},
|
|
97
|
-
onKeyDown:
|
|
97
|
+
onKeyDown: x = () => {
|
|
98
98
|
},
|
|
99
99
|
onMouseEnter: le = () => {
|
|
100
100
|
},
|
|
@@ -105,58 +105,58 @@ const ee = X.div`
|
|
|
105
105
|
onItemSelected: N = () => {
|
|
106
106
|
},
|
|
107
107
|
//----------------
|
|
108
|
-
className:
|
|
109
|
-
style:
|
|
110
|
-
color:
|
|
111
|
-
iconProps:
|
|
112
|
-
__TYPE__:
|
|
108
|
+
className: A = "",
|
|
109
|
+
style: S = {},
|
|
110
|
+
color: T = "primary",
|
|
111
|
+
iconProps: _,
|
|
112
|
+
__TYPE__: se = "MENU_ITEM",
|
|
113
113
|
children: O,
|
|
114
114
|
...P
|
|
115
|
-
} = n, D = { theme: I(), color:
|
|
115
|
+
} = n, D = { theme: I(), color: T, style: S }, u = J(), [F, y] = Q(c ?? !1);
|
|
116
116
|
W(() => {
|
|
117
117
|
y(c);
|
|
118
118
|
}, [c]);
|
|
119
119
|
const j = (e) => {
|
|
120
120
|
r == !1 && (d && f && f(), N(e, g)), w(w);
|
|
121
|
-
}, R = (e) => {
|
|
122
|
-
y(!0), p(e);
|
|
123
121
|
}, B = (e) => {
|
|
124
|
-
|
|
122
|
+
y(!0), p(e);
|
|
125
123
|
}, K = (e) => {
|
|
126
|
-
|
|
127
|
-
},
|
|
124
|
+
c == null && y(!1), $(e);
|
|
125
|
+
}, R = (e) => {
|
|
126
|
+
e.preventDefault(), e.key == "ArrowDown" ? h(a ? a.current : u.current) : e.key == "ArrowUp" ? b(a ? a.current : u.current) : (e.key == "Enter" || e.keyCode == 32) && r == !1 && (d && f && f(), N(e, g)), x(e);
|
|
127
|
+
}, h = (e) => {
|
|
128
128
|
if (e != null && e.nextSibling) {
|
|
129
129
|
let l = z(e);
|
|
130
130
|
if (l != null && l.node && (l == null ? void 0 : l.type) == "item")
|
|
131
131
|
l.node.focus();
|
|
132
132
|
else if (l != null && l.node && (l == null ? void 0 : l.type) == "nested") {
|
|
133
|
-
let
|
|
134
|
-
|
|
135
|
-
} else e != null && e.parentElement &&
|
|
136
|
-
} else e != null && e.parentElement &&
|
|
137
|
-
},
|
|
133
|
+
let t = U(l.node);
|
|
134
|
+
t && t.focus();
|
|
135
|
+
} else e != null && e.parentElement && s(e.parentElement, "nested-item-lnc") && h(e.parentElement);
|
|
136
|
+
} else e != null && e.parentElement && s(e.parentElement, "nested-item-lnc") && h(e.parentElement);
|
|
137
|
+
}, b = (e) => {
|
|
138
138
|
if (e != null && e.previousSibling) {
|
|
139
139
|
let l = L(e);
|
|
140
140
|
if (l != null && l.node && (l == null ? void 0 : l.type) == "item")
|
|
141
141
|
l.node.focus();
|
|
142
142
|
else if (l != null && l.node && (l == null ? void 0 : l.type) == "nested") {
|
|
143
|
-
let
|
|
144
|
-
|
|
145
|
-
} else e != null && e.parentElement &&
|
|
146
|
-
} else e != null && e.parentElement &&
|
|
143
|
+
let t = q(l.node);
|
|
144
|
+
t && t.focus();
|
|
145
|
+
} else e != null && e.parentElement && s(e.parentElement, "nested-item-lnc") && b(e.parentElement);
|
|
146
|
+
} else e != null && e.parentElement && s(e.parentElement, "nested-item-lnc") && b(e.parentElement);
|
|
147
147
|
}, z = (e) => {
|
|
148
148
|
for (; e = e.nextSibling; ) {
|
|
149
|
-
if (
|
|
149
|
+
if (s(e, "menu-item-lnc"))
|
|
150
150
|
return { node: e, type: "item" };
|
|
151
|
-
if (
|
|
151
|
+
if (s(e, "nested-item-lnc"))
|
|
152
152
|
return { node: e, type: "nested" };
|
|
153
153
|
}
|
|
154
154
|
return null;
|
|
155
155
|
}, L = (e) => {
|
|
156
156
|
for (; e = e.previousSibling; ) {
|
|
157
|
-
if (
|
|
157
|
+
if (s(e, "menu-item-lnc"))
|
|
158
158
|
return { node: e, type: "item" };
|
|
159
|
-
if (
|
|
159
|
+
if (s(e, "nested-item-lnc"))
|
|
160
160
|
return { node: e, type: "nested" };
|
|
161
161
|
}
|
|
162
162
|
return null;
|
|
@@ -166,27 +166,27 @@ const ee = X.div`
|
|
|
166
166
|
}, q = (e) => {
|
|
167
167
|
var l;
|
|
168
168
|
return (l = Array.from(e.querySelectorAll(".menu-item-lnc"))) == null ? void 0 : l.pop();
|
|
169
|
-
},
|
|
170
|
-
var
|
|
171
|
-
return
|
|
169
|
+
}, s = (e, l) => {
|
|
170
|
+
var t = " " + e.className + " ", Y = " " + l + " ";
|
|
171
|
+
return t.indexOf(Y) != -1;
|
|
172
172
|
};
|
|
173
173
|
return /* @__PURE__ */ m(V, { children: /* @__PURE__ */ G(
|
|
174
174
|
ee,
|
|
175
175
|
{
|
|
176
176
|
ref: a || u,
|
|
177
|
-
className: "menu-item-lnc " + (d ? "nested-menu-item-lnc " : "") + (M ? "spread-nested-item-lnc " : "") +
|
|
177
|
+
className: "menu-item-lnc " + (d ? "nested-menu-item-lnc " : "") + (M ? "spread-nested-item-lnc " : "") + A,
|
|
178
178
|
...D,
|
|
179
179
|
disabled: r,
|
|
180
180
|
tabIndex: 0,
|
|
181
|
-
onKeyDown:
|
|
182
|
-
onFocus:
|
|
183
|
-
onBlur:
|
|
181
|
+
onKeyDown: R,
|
|
182
|
+
onFocus: B,
|
|
183
|
+
onBlur: K,
|
|
184
184
|
onClick: j,
|
|
185
185
|
isActive: F,
|
|
186
186
|
showNested: M,
|
|
187
187
|
...P,
|
|
188
188
|
children: [
|
|
189
|
-
E && /* @__PURE__ */ m(k, { icon: E, className: "menu-icon-lnc", ...
|
|
189
|
+
E && /* @__PURE__ */ m(k, { icon: E, className: "menu-icon-lnc", ..._ }),
|
|
190
190
|
/* @__PURE__ */ m("div", { children: O }),
|
|
191
191
|
d && /* @__PURE__ */ m(k, { icon: "angle-down", className: "sub-menu-icon-lnc" })
|
|
192
192
|
]
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),y=require("react"),o=require("./index-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),y=require("react"),o=require("./index-BIlhCoy2.cjs"),j=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),_=require("./Icon.cjs"),w=require("./utils-DTAPpJXU.cjs"),D=require("./index-Ct1N7fF4.cjs"),L=require("./motion-Oud-wpUz.cjs"),V=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),E=require("./index-BP5r5zGN.cjs"),x="5rem",h="3.8rem",l="1.5rem",G=(e,r,n)=>r&&n?e=="FULL"?`calc(100dvh - ${h} - ${x})`:`calc(100dvh - ${h} - ${x} - ${l})`:r?e=="FULL"?`calc(100dvh - ${h})`:`calc(100dvh - ${h} - ${l})`:n?e=="FULL"?`calc(100dvh - ${x})`:`calc(100dvh - ${x} - ${l})`:e=="FULL"?"100dvh":`calc(100dvh - ${l})`,W=e=>e=="FULL"?"100vw":`calc(100vw - ${l})`,X=(e,r,n)=>e=="FULL"?"0":`${r?"0":"16px"} 0 ${n?"0":"16px"} 0`,J=j.newStyled(L.motion.div)`
|
|
2
2
|
position: ${e=>e.scrollOverlay==!0?"absolute":"fixed"};
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|