@lanaco/lnc-react-ui 4.0.198 → 4.0.200
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 +5 -5
- package/dist/Accordion.js +45 -56
- package/dist/AccordionDetails.cjs +3 -3
- package/dist/AccordionDetails.js +11 -25
- package/dist/AccordionSummary.cjs +4 -4
- package/dist/AccordionSummary.js +34 -44
- package/dist/ActionsToolbar.cjs +2 -3
- package/dist/ActionsToolbar.js +83 -135
- package/dist/Alert.cjs +10 -10
- package/dist/Alert.js +32 -64
- package/dist/Avatar.cjs +9 -9
- package/dist/Avatar.js +33 -72
- package/dist/Badge.cjs +6 -6
- package/dist/Badge.js +22 -47
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +12 -14
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +1 -1
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +1 -1
- package/dist/Breadcrumbs.cjs +5 -5
- package/dist/Breadcrumbs.js +57 -87
- package/dist/Button.cjs +11 -11
- package/dist/Button.js +126 -173
- package/dist/ButtonGroup.cjs +8 -8
- package/dist/ButtonGroup.js +37 -49
- package/dist/CalorieCalculatorSection.cjs +8 -8
- package/dist/CalorieCalculatorSection.js +90 -97
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +2 -5
- package/dist/Chip.cjs +14 -14
- package/dist/Chip.js +73 -111
- package/dist/ConfirmationForm.cjs +6 -6
- package/dist/ConfirmationForm.js +67 -109
- package/dist/ContactSection.cjs +1 -0
- package/dist/ContactSection.js +1 -0
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +7 -15
- package/dist/{DailyMotion-ByXblnua.js → DailyMotion-BBcJkMo_.js} +1 -1
- package/dist/{DailyMotion-BaFUcQKQ.cjs → DailyMotion-CpZExcrg.cjs} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +30 -50
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +1347 -1383
- package/dist/DecimalInput.cjs +6 -6
- package/dist/DecimalInput.js +210 -263
- package/dist/DecimalInputV2.cjs +23 -23
- package/dist/DecimalInputV2.js +119 -176
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +1 -1
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/DetailsView.cjs +9 -9
- package/dist/DetailsView.js +111 -162
- package/dist/DoubleRangeSlider.cjs +22 -22
- package/dist/DoubleRangeSlider.js +70 -95
- package/dist/DragAndDropFile.cjs +10 -10
- package/dist/DragAndDropFile.js +347 -402
- package/dist/DragDropFiles.cjs +4 -4
- package/dist/DragDropFiles.js +70 -124
- package/dist/Drawer.cjs +5 -5
- package/dist/Drawer.js +97 -135
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +44 -213
- package/dist/DropdownItem.cjs +14 -14
- package/dist/DropdownItem.js +106 -142
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +61 -242
- package/dist/DropdownMenu.cjs +4 -4
- package/dist/DropdownMenu.js +87 -149
- package/dist/EditableTable.cjs +10 -10
- package/dist/EditableTable.js +165 -331
- package/dist/{Facebook-BCqiOWZO.js → Facebook-BSWPEXjA.js} +1 -1
- package/dist/{Facebook-D9wwecSW.cjs → Facebook-DoKw-XxT.cjs} +1 -1
- package/dist/FaqSection.cjs +3 -3
- package/dist/FaqSection.js +119 -153
- package/dist/FileInput.cjs +7 -7
- package/dist/FileInput.js +66 -94
- package/dist/{FilePlayer-ktaNhf3p.js → FilePlayer-BtGpIWnK.js} +1 -1
- package/dist/{FilePlayer-DB6jnpeC.cjs → FilePlayer-D9az_lc_.cjs} +1 -1
- package/dist/FlexBox.cjs +6 -6
- package/dist/FlexBox.js +28 -63
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +27 -67
- package/dist/FlexGridItem.cjs +6 -6
- package/dist/FlexGridItem.js +34 -62
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +7 -15
- package/dist/FormField.cjs +7 -7
- package/dist/FormField.js +22 -47
- package/dist/FormView.cjs +6 -6
- package/dist/FormView.js +148 -195
- package/dist/Grid.cjs +2 -2
- package/dist/Grid.js +40 -65
- package/dist/GridItem.cjs +2 -2
- package/dist/GridItem.js +47 -80
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +7 -15
- package/dist/HelpBannerSection.cjs +3 -3
- package/dist/HelpBannerSection.js +9 -15
- package/dist/Icon.cjs +4 -4
- package/dist/Icon.js +29 -55
- package/dist/IconButton.cjs +9 -9
- package/dist/IconButton.js +89 -127
- package/dist/{Kaltura-CvlN0HDg.js → Kaltura-BDqlEQpd.js} +1 -1
- package/dist/{Kaltura-CCdXLzOa.cjs → Kaltura-CK6JHUZC.cjs} +1 -1
- package/dist/Kanban.cjs +7 -7
- package/dist/Kanban.js +2033 -2098
- package/dist/KanbanActionsToolbar.cjs +4 -5
- package/dist/KanbanActionsToolbar.js +61 -96
- package/dist/KanbanCard-B9V9EjVE.js +137 -0
- package/dist/KanbanCard-DihrKn-I.cjs +30 -0
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -3
- package/dist/KanbanFooter.cjs +3 -3
- package/dist/KanbanFooter.js +37 -55
- package/dist/KanbanHeader.cjs +4 -4
- package/dist/KanbanHeader.js +49 -81
- package/dist/KanbanView.cjs +2 -2
- package/dist/KanbanView.js +106 -173
- package/dist/Link.cjs +7 -7
- package/dist/Link.js +20 -37
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/MenuItem.cjs +13 -13
- package/dist/MenuItem.js +101 -139
- package/dist/{Mixcloud-nG_VyBNt.cjs → Mixcloud-C1Boh2Bm.cjs} +1 -1
- package/dist/{Mixcloud-Bb8MTclI.js → Mixcloud-zAh6j7Ha.js} +1 -1
- package/dist/Modal.cjs +18 -19
- package/dist/Modal.js +131 -166
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +25 -196
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +27 -209
- package/dist/{Mux-DfYpGTiP.js → Mux-BGTG_Tvc.js} +1 -1
- package/dist/{Mux-BgB2a8kM.cjs → Mux-C6TwZeaq.cjs} +1 -1
- package/dist/NestedDropdownItem.cjs +3 -3
- package/dist/NestedDropdownItem.js +45 -67
- package/dist/NestedMenuItem.cjs +5 -5
- package/dist/NestedMenuItem.js +51 -78
- package/dist/NotificationContainer.cjs +10 -10
- package/dist/NotificationContainer.js +46 -79
- package/dist/NotificationMessage.cjs +2 -2
- package/dist/NotificationMessage.js +47 -64
- package/dist/NumberInput.cjs +23 -23
- package/dist/NumberInput.js +89 -149
- package/dist/PageLayout.cjs +2 -2
- package/dist/PageLayout.js +20 -28
- package/dist/Pagination.cjs +3 -3
- package/dist/Pagination.js +102 -185
- package/dist/PasswordInput.cjs +23 -23
- package/dist/PasswordInput.js +108 -137
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +7 -32
- package/dist/PopoverContent.cjs +5 -5
- package/dist/PopoverContent.js +22 -28
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +7 -12
- package/dist/ProgressBar.cjs +8 -8
- package/dist/ProgressBar.js +32 -59
- package/dist/RadioGroup.cjs +3 -3
- package/dist/RadioGroup.js +41 -72
- package/dist/RadioInput.cjs +28 -28
- package/dist/RadioInput.js +78 -123
- package/dist/RangeSlider.cjs +19 -19
- package/dist/RangeSlider.js +92 -119
- package/dist/ReviewsSection.cjs +13 -13
- package/dist/ReviewsSection.js +81 -101
- package/dist/SalesCampaignsSection.cjs +19 -19
- package/dist/SalesCampaignsSection.js +283 -324
- package/dist/SearchBar.cjs +10 -10
- package/dist/SearchBar.js +168 -188
- package/dist/SearchSection-B94YN_6P.cjs +161 -0
- package/dist/{SearchSection-DDQ_K98T.js → SearchSection-DAaMecR4.js} +337 -359
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +2 -3
- package/dist/Separator.cjs +3 -3
- package/dist/Separator.js +14 -19
- package/dist/Sidebar.cjs +4 -5
- package/dist/Sidebar.js +33 -56
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/{SoundCloud-C86xwUG6.cjs → SoundCloud-C6R6E6Zc.cjs} +1 -1
- package/dist/{SoundCloud-DG91z39R.js → SoundCloud-lO8wg_0s.js} +1 -1
- package/dist/Spinner.cjs +18 -18
- package/dist/Spinner.js +37 -54
- package/dist/StatsSection.cjs +6 -6
- package/dist/StatsSection.js +15 -25
- package/dist/{Streamable-4uAnb3WN.cjs → Streamable-DZO95CiT.cjs} +1 -1
- package/dist/{Streamable-BAIWLgyD.js → Streamable-Dwa5ZEK4.js} +1 -1
- package/dist/Surface.cjs +4 -4
- package/dist/Surface.js +19 -34
- package/dist/SwipeableDrawer.cjs +8 -8
- package/dist/SwipeableDrawer.js +84 -136
- package/dist/TabItem.cjs +11 -11
- package/dist/TabItem.js +83 -118
- package/dist/Table.cjs +65 -65
- package/dist/Table.js +786 -1167
- package/dist/TableView.cjs +2 -2
- package/dist/TableView.js +113 -197
- package/dist/Tabs.cjs +4 -4
- package/dist/Tabs.js +41 -60
- package/dist/TextAreaInput.cjs +14 -14
- package/dist/TextAreaInput.js +131 -181
- package/dist/TextInput.cjs +23 -23
- package/dist/TextInput.js +78 -126
- package/dist/ThemeProvider.cjs +5 -5
- package/dist/ThemeProvider.js +35 -39
- package/dist/TimeInput.cjs +7 -7
- package/dist/TimeInput.js +46 -72
- package/dist/Toggle.cjs +20 -20
- package/dist/Toggle.js +78 -109
- package/dist/ToggleSection.cjs +6 -5
- package/dist/ToggleSection.js +49 -55
- package/dist/TreeMenu.cjs +5 -5
- package/dist/TreeMenu.js +43 -67
- package/dist/TreeMenuSeparator.cjs +3 -3
- package/dist/TreeMenuSeparator.js +12 -20
- package/dist/{Twitch-CVAj24ti.cjs → Twitch-B17oKtD0.cjs} +1 -1
- package/dist/{Twitch-DfXeW5Xs.js → Twitch-C73-dwWo.js} +1 -1
- package/dist/UploadedFile.cjs +11 -11
- package/dist/UploadedFile.js +73 -99
- package/dist/{Vidyard-De3pges0.js → Vidyard-B6GdBHsM.js} +1 -1
- package/dist/{Vidyard-DaCcaaH4.cjs → Vidyard-s1MMcaRm.cjs} +1 -1
- package/dist/{Vimeo-8wXdCXGs.cjs → Vimeo-J1l_SU2E.cjs} +1 -1
- package/dist/{Vimeo-N6I2qi_h.js → Vimeo-kzHz4Gco.js} +1 -1
- package/dist/{Wistia-BrUzHQoq.cjs → Wistia-CudQyDHM.cjs} +1 -1
- package/dist/{Wistia-dlV6n6tO.js → Wistia-w4jnqd7y.js} +1 -1
- package/dist/{YouTube-Cfsj4ZaP.cjs → YouTube-BAYKouHS.cjs} +1 -1
- package/dist/{YouTube-DNJxWqRm.js → YouTube-BKyipPZx.js} +1 -1
- package/dist/index-BdKi2ogu.js +39 -0
- package/dist/index-CRk3vcd4.cjs +95 -0
- package/dist/index-CX2A-q39.cjs +4 -0
- package/dist/{index-CWALXP1T.js → index-CwMCk9wV.js} +118 -145
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
- package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
- package/package.json +1 -1
- package/dist/KanbanCard-68kSAXL6.js +0 -175
- package/dist/KanbanCard-BDvoqTDS.cjs +0 -30
- package/dist/SearchSection-BcbHP6QF.cjs +0 -161
- package/dist/index-Be-_NM9Q.cjs +0 -4
- package/dist/index-C0LcDEqa.js +0 -47
- package/dist/index-CSNxZFTX.cjs +0 -95
package/dist/KanbanHeader.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { s as
|
|
4
|
-
import
|
|
5
|
-
import k from "./
|
|
6
|
-
import v from "./
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return (o = (s = n.theme) == null ? void 0 : s.typography) == null ? void 0 : o.fontFamily;
|
|
1
|
+
import { jsxs as b, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { memo as A, forwardRef as g } from "react";
|
|
3
|
+
import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import N from "./DropdownMenu.js";
|
|
5
|
+
import k from "./DropdownItem.js";
|
|
6
|
+
import v from "./Icon.js";
|
|
7
|
+
import { u as x } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
+
const H = w.div`
|
|
9
|
+
font-family: ${(o) => {
|
|
10
|
+
var r, l;
|
|
11
|
+
return (l = (r = o.theme) == null ? void 0 : r.typography) == null ? void 0 : l.fontFamily;
|
|
13
12
|
}};
|
|
14
13
|
position: relative;
|
|
15
14
|
width: 100%;
|
|
@@ -21,67 +20,65 @@ const P = T.div`
|
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
& > span {
|
|
24
|
-
${(
|
|
23
|
+
${(o) => o.clickable && "cursor: pointer;"}
|
|
25
24
|
}
|
|
26
|
-
`,
|
|
27
|
-
|
|
25
|
+
`, j = A(
|
|
26
|
+
g(
|
|
28
27
|
({
|
|
29
|
-
__TYPE__: n = "KANBAN_HEADER",
|
|
30
|
-
id: s,
|
|
31
28
|
item: o,
|
|
32
|
-
column:
|
|
33
|
-
actionsMenu:
|
|
34
|
-
actions:
|
|
35
|
-
onDetails:
|
|
29
|
+
column: r,
|
|
30
|
+
actionsMenu: l = !1,
|
|
31
|
+
actions: n = [],
|
|
32
|
+
onDetails: t = () => {
|
|
36
33
|
},
|
|
37
|
-
color:
|
|
38
|
-
size:
|
|
39
|
-
className:
|
|
40
|
-
style:
|
|
41
|
-
children:
|
|
42
|
-
...
|
|
43
|
-
},
|
|
44
|
-
const
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
|
|
34
|
+
color: i = "primary",
|
|
35
|
+
size: s = "small",
|
|
36
|
+
className: a = "",
|
|
37
|
+
style: p = {},
|
|
38
|
+
children: c,
|
|
39
|
+
...f
|
|
40
|
+
}, d) => {
|
|
41
|
+
const u = x();
|
|
42
|
+
return /* @__PURE__ */ b(
|
|
43
|
+
H,
|
|
47
44
|
{
|
|
48
|
-
ref:
|
|
49
|
-
theme:
|
|
50
|
-
className:
|
|
51
|
-
style:
|
|
52
|
-
clickable: !!
|
|
53
|
-
...
|
|
45
|
+
ref: d,
|
|
46
|
+
theme: u,
|
|
47
|
+
className: a,
|
|
48
|
+
style: p,
|
|
49
|
+
clickable: !!t,
|
|
50
|
+
...f,
|
|
54
51
|
children: [
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
|
|
57
|
-
|
|
52
|
+
/* @__PURE__ */ m("span", { onClick: (e) => t(e, o, r), children: c }),
|
|
53
|
+
l && /* @__PURE__ */ m(
|
|
54
|
+
N,
|
|
58
55
|
{
|
|
59
56
|
className: "column-action-lnc",
|
|
60
57
|
horizontalAlignment: "right",
|
|
61
58
|
verticalAlignment: "bottom",
|
|
62
|
-
color:
|
|
63
|
-
size:
|
|
64
|
-
control: /* @__PURE__ */
|
|
65
|
-
|
|
59
|
+
color: i,
|
|
60
|
+
size: s,
|
|
61
|
+
control: /* @__PURE__ */ m(
|
|
62
|
+
v,
|
|
66
63
|
{
|
|
67
64
|
color: "neutral",
|
|
68
65
|
className: "column-action-lnc",
|
|
69
66
|
icon: "ellipsis-v"
|
|
70
67
|
}
|
|
71
68
|
),
|
|
72
|
-
children:
|
|
69
|
+
children: n == null ? void 0 : n.map((e, h) => {
|
|
73
70
|
if ((e == null ? void 0 : e.show) != !1)
|
|
74
|
-
return /* @__PURE__ */
|
|
75
|
-
|
|
71
|
+
return /* @__PURE__ */ m(
|
|
72
|
+
k,
|
|
76
73
|
{
|
|
77
74
|
icon: e.icon,
|
|
78
75
|
disabled: e.enable == !1,
|
|
79
|
-
onClick: (
|
|
80
|
-
e.onAction(
|
|
76
|
+
onClick: (y) => {
|
|
77
|
+
e.onAction(y, o, r);
|
|
81
78
|
},
|
|
82
79
|
children: e.name
|
|
83
80
|
},
|
|
84
|
-
|
|
81
|
+
h
|
|
85
82
|
);
|
|
86
83
|
})
|
|
87
84
|
}
|
|
@@ -92,36 +89,7 @@ const P = T.div`
|
|
|
92
89
|
}
|
|
93
90
|
)
|
|
94
91
|
);
|
|
95
|
-
|
|
96
|
-
__TYPE__: r.string,
|
|
97
|
-
id: r.oneOfType([r.string, r.number]),
|
|
98
|
-
/**
|
|
99
|
-
* Show actions menu on Card
|
|
100
|
-
*/
|
|
101
|
-
actionsMenu: r.bool,
|
|
102
|
-
/**
|
|
103
|
-
* type of: [{ name: `<string>`, show: `<bool>`, enable: `<bool>`, onAction: `<func>`, icon: `<string>`}]
|
|
104
|
-
* show and enable are true by default
|
|
105
|
-
*/
|
|
106
|
-
actions: r.array,
|
|
107
|
-
//---------------------------------
|
|
108
|
-
onDetails: r.func,
|
|
109
|
-
//---------------------------------
|
|
110
|
-
className: r.string,
|
|
111
|
-
style: r.object,
|
|
112
|
-
color: r.oneOf([
|
|
113
|
-
"primary",
|
|
114
|
-
"secondary",
|
|
115
|
-
"success",
|
|
116
|
-
"warning",
|
|
117
|
-
"danger",
|
|
118
|
-
"information",
|
|
119
|
-
"neutral",
|
|
120
|
-
"gray"
|
|
121
|
-
]),
|
|
122
|
-
size: r.oneOf(["small", "medium", "large"])
|
|
123
|
-
};
|
|
124
|
-
t.displayName = "KANBAN_HEADER";
|
|
92
|
+
j.displayName = "KANBAN_HEADER";
|
|
125
93
|
export {
|
|
126
|
-
|
|
94
|
+
j as default
|
|
127
95
|
};
|
package/dist/KanbanView.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),Y=require("react"),Z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./KanbanActionsToolbar.cjs"),a=require("./utils-RnrgDDZP.cjs"),k=require("./Kanban.cjs"),p=require("./KanbanCard-DihrKn-I.cjs"),P=require("./KanbanHeader.cjs"),ee=require("./KanbanFooter.cjs"),ne=Z.styled.div`
|
|
2
2
|
& .kanban-view-footer-lnc {
|
|
3
3
|
padding: 0 0.625rem;
|
|
4
4
|
}
|
|
5
5
|
& .kanban-view-toolbar-lnc {
|
|
6
6
|
margin: 0 0.625rem;
|
|
7
7
|
}
|
|
8
|
-
`,c=
|
|
8
|
+
`,c=Y.forwardRef((d,u)=>{const{toolbarActions:m=[],kanbanProps:n={},actionsToolbarProps:C={},footerProps:t={},showCreate:w=!0,enableCreate:N=!0,customCardActions:A=[],customColumnActions:h=[],editCardText:z="Edit",enableEditCard:E=!0,showEditCard:x=!0,deleteCardText:D="Delete",enableDeleteCard:K=!0,showDeleteCard:b=!0,editColumnText:T="Edit",enableEditColumn:q=!0,showEditColumn:R=!0,deleteColumnText:j="Delete",enableDeleteColumn:_=!0,showDeleteColumn:v=!0,showAddNewCard:y=!1,showLoadMoreCards:g=!1,onCreate:i=()=>{},onEditCard:O=()=>{},onDeleteCard:V=()=>{},onEditColumn:B=()=>{},onDeleteColumn:M=()=>{},onCardDetails:F=()=>{},onColumnDetails:I=()=>{},onAddNewCard:L=()=>{},onLoadMoreCards:S=()=>{},className:W="",style:f={},size:r="small",color:l="primary",children:o,...H}=d,e={...C,showCreate:w,enableCreate:N,onCreate:i,actions:m},G=X=>{i(X)},J=()=>a.renderCustomElement(a.getCustomRender("KANBAN_VIEW_ACTIONS_TOOLBAR",o),{...e,size:e!=null&&e.size?e.size:r,color:e!=null&&e.color?e.color:l,className:"kanban-view-toolbar-lnc "+(e==null?void 0:e.className)},o)||s.jsx($,{...e,className:"kanban-view-toolbar-lnc "+(e==null?void 0:e.className),size:e!=null&&e.size?e.size:r,color:e!=null&&e.color?e.color:l,onCreate:G}),Q=()=>a.renderCustomElement(a.getCustomRender("KANBAN",o),{...n,size:n!=null&&n.size?n.size:r,color:n!=null&&n.color?n.color:l,className:n==null?void 0:n.className},o)||s.jsxs(k,{size:n!=null&&n.size?n.size:r,color:n!=null&&n.color?n.color:l,...n,children:[s.jsx(P,{onDetails:I,actionsMenu:!0,actions:[{name:T,enable:q,show:R,onAction:B,icon:"pen"},{name:j,enable:_,show:v,onAction:M,icon:"trash"},...h]}),s.jsx(p.KanbanCard,{onDetails:F,actionsMenu:!0,actions:[{name:z,enable:E,show:x,onAction:O,icon:"pen"},{name:D,enable:K,show:b,onAction:V,icon:"trash"},...A]}),o,s.jsx(ee,{showAddNewCard:y,showLoadMoreCards:g,onAddNewCard:L,onLoadMoreCards:S})]}),U=()=>a.renderCustomElement(a.getCustomRender("KANBAN_VIEW_FOOTER",o),{...t,size:t!=null&&t.size?t.size:r,color:t!=null&&t.color?t.color:l,className:"kanban-view-footer-lnc "+(t==null?void 0:t.className)},o)||null;return s.jsxs(ne,{ref:u,className:W,style:f,...H,children:[J(),Q(),U()]})});c.displayName="KanbanView";module.exports=c;
|
package/dist/KanbanView.js
CHANGED
|
@@ -1,255 +1,188 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import ne from "./
|
|
10
|
-
|
|
11
|
-
const te = k.div`
|
|
1
|
+
import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Z } from "react";
|
|
3
|
+
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import k from "./KanbanActionsToolbar.js";
|
|
5
|
+
import { r, i as s } from "./utils-DtEfC-TX.js";
|
|
6
|
+
import p from "./Kanban.js";
|
|
7
|
+
import { K as P } from "./KanbanCard-B9V9EjVE.js";
|
|
8
|
+
import ee from "./KanbanHeader.js";
|
|
9
|
+
import ne from "./KanbanFooter.js";
|
|
10
|
+
const oe = $.div`
|
|
12
11
|
& .kanban-view-footer-lnc {
|
|
13
12
|
padding: 0 0.625rem;
|
|
14
13
|
}
|
|
15
14
|
& .kanban-view-toolbar-lnc {
|
|
16
15
|
margin: 0 0.625rem;
|
|
17
16
|
}
|
|
18
|
-
`,
|
|
17
|
+
`, ae = Z((d, u) => {
|
|
19
18
|
const {
|
|
20
|
-
|
|
21
|
-
goToPreviousView: re,
|
|
22
|
-
toolbarActions: w = [],
|
|
19
|
+
toolbarActions: C = [],
|
|
23
20
|
kanbanProps: n = {},
|
|
24
|
-
actionsToolbarProps:
|
|
25
|
-
footerProps:
|
|
26
|
-
showCreate:
|
|
27
|
-
enableCreate:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
customColumnActions: E = [],
|
|
21
|
+
actionsToolbarProps: w = {},
|
|
22
|
+
footerProps: o = {},
|
|
23
|
+
showCreate: N = !0,
|
|
24
|
+
enableCreate: A = !0,
|
|
25
|
+
customCardActions: h = [],
|
|
26
|
+
customColumnActions: z = [],
|
|
31
27
|
editCardText: D = "Edit",
|
|
32
|
-
enableEditCard:
|
|
33
|
-
showEditCard:
|
|
34
|
-
deleteCardText:
|
|
35
|
-
enableDeleteCard:
|
|
36
|
-
showDeleteCard:
|
|
37
|
-
editColumnText:
|
|
38
|
-
enableEditColumn:
|
|
39
|
-
showEditColumn:
|
|
28
|
+
enableEditCard: E = !0,
|
|
29
|
+
showEditCard: K = !0,
|
|
30
|
+
deleteCardText: f = "Delete",
|
|
31
|
+
enableDeleteCard: T = !0,
|
|
32
|
+
showDeleteCard: b = !0,
|
|
33
|
+
editColumnText: x = "Edit",
|
|
34
|
+
enableEditColumn: v = !0,
|
|
35
|
+
showEditColumn: y = !0,
|
|
40
36
|
deleteColumnText: O = "Delete",
|
|
41
37
|
enableDeleteColumn: V = !0,
|
|
42
|
-
showDeleteColumn:
|
|
43
|
-
showAddNewCard:
|
|
44
|
-
showLoadMoreCards:
|
|
38
|
+
showDeleteColumn: _ = !0,
|
|
39
|
+
showAddNewCard: B = !1,
|
|
40
|
+
showLoadMoreCards: M = !1,
|
|
45
41
|
//----------------
|
|
46
42
|
onCreate: c = () => {
|
|
47
43
|
},
|
|
48
|
-
onEditCard:
|
|
44
|
+
onEditCard: R = () => {
|
|
49
45
|
},
|
|
50
|
-
onDeleteCard:
|
|
46
|
+
onDeleteCard: g = () => {
|
|
51
47
|
},
|
|
52
|
-
onEditColumn:
|
|
48
|
+
onEditColumn: F = () => {
|
|
53
49
|
},
|
|
54
|
-
onDeleteColumn:
|
|
50
|
+
onDeleteColumn: I = () => {
|
|
55
51
|
},
|
|
56
|
-
onCardDetails:
|
|
52
|
+
onCardDetails: L = () => {
|
|
57
53
|
},
|
|
58
|
-
onColumnDetails:
|
|
54
|
+
onColumnDetails: j = () => {
|
|
59
55
|
},
|
|
60
|
-
onAddNewCard:
|
|
56
|
+
onAddNewCard: S = () => {
|
|
61
57
|
},
|
|
62
|
-
onLoadMoreCards:
|
|
58
|
+
onLoadMoreCards: W = () => {
|
|
63
59
|
},
|
|
64
60
|
//------------------
|
|
65
61
|
className: H = "",
|
|
66
62
|
style: q = {},
|
|
67
|
-
size:
|
|
68
|
-
color:
|
|
69
|
-
children:
|
|
63
|
+
size: t = "small",
|
|
64
|
+
color: l = "primary",
|
|
65
|
+
children: a,
|
|
70
66
|
...G
|
|
71
|
-
} =
|
|
72
|
-
...
|
|
73
|
-
showCreate:
|
|
74
|
-
enableCreate:
|
|
67
|
+
} = d, e = {
|
|
68
|
+
...w,
|
|
69
|
+
showCreate: N,
|
|
70
|
+
enableCreate: A,
|
|
75
71
|
onCreate: c,
|
|
76
|
-
actions:
|
|
77
|
-
}, J = (
|
|
78
|
-
c(
|
|
79
|
-
}, Q = () =>
|
|
80
|
-
|
|
72
|
+
actions: C
|
|
73
|
+
}, J = (Y) => {
|
|
74
|
+
c(Y);
|
|
75
|
+
}, Q = () => r(
|
|
76
|
+
s("KANBAN_VIEW_ACTIONS_TOOLBAR", a),
|
|
81
77
|
{
|
|
82
|
-
...
|
|
83
|
-
size:
|
|
84
|
-
color:
|
|
85
|
-
className: "kanban-view-toolbar-lnc " + (
|
|
78
|
+
...e,
|
|
79
|
+
size: e != null && e.size ? e.size : t,
|
|
80
|
+
color: e != null && e.color ? e.color : l,
|
|
81
|
+
className: "kanban-view-toolbar-lnc " + (e == null ? void 0 : e.className)
|
|
86
82
|
},
|
|
87
|
-
|
|
88
|
-
) || /* @__PURE__ */
|
|
89
|
-
|
|
83
|
+
a
|
|
84
|
+
) || /* @__PURE__ */ i(
|
|
85
|
+
k,
|
|
90
86
|
{
|
|
91
|
-
...
|
|
92
|
-
className: "kanban-view-toolbar-lnc " + (
|
|
93
|
-
size:
|
|
94
|
-
color:
|
|
87
|
+
...e,
|
|
88
|
+
className: "kanban-view-toolbar-lnc " + (e == null ? void 0 : e.className),
|
|
89
|
+
size: e != null && e.size ? e.size : t,
|
|
90
|
+
color: e != null && e.color ? e.color : l,
|
|
95
91
|
onCreate: J
|
|
96
92
|
}
|
|
97
|
-
), U = () =>
|
|
98
|
-
|
|
93
|
+
), U = () => r(
|
|
94
|
+
s("KANBAN", a),
|
|
99
95
|
{
|
|
100
96
|
...n,
|
|
101
|
-
size: n != null && n.size ? n.size :
|
|
102
|
-
color: n != null && n.color ? n.color :
|
|
97
|
+
size: n != null && n.size ? n.size : t,
|
|
98
|
+
color: n != null && n.color ? n.color : l,
|
|
103
99
|
className: n == null ? void 0 : n.className
|
|
104
100
|
},
|
|
105
|
-
|
|
101
|
+
a
|
|
106
102
|
) || /* @__PURE__ */ m(
|
|
107
|
-
|
|
103
|
+
p,
|
|
108
104
|
{
|
|
109
|
-
size: n != null && n.size ? n.size :
|
|
110
|
-
color: n != null && n.color ? n.color :
|
|
105
|
+
size: n != null && n.size ? n.size : t,
|
|
106
|
+
color: n != null && n.color ? n.color : l,
|
|
111
107
|
...n,
|
|
112
108
|
children: [
|
|
113
|
-
/* @__PURE__ */
|
|
114
|
-
|
|
109
|
+
/* @__PURE__ */ i(
|
|
110
|
+
ee,
|
|
115
111
|
{
|
|
116
|
-
onDetails:
|
|
112
|
+
onDetails: j,
|
|
117
113
|
actionsMenu: !0,
|
|
118
114
|
actions: [
|
|
119
115
|
{
|
|
120
|
-
name:
|
|
121
|
-
enable:
|
|
122
|
-
show:
|
|
123
|
-
onAction:
|
|
116
|
+
name: x,
|
|
117
|
+
enable: v,
|
|
118
|
+
show: y,
|
|
119
|
+
onAction: F,
|
|
124
120
|
icon: "pen"
|
|
125
121
|
},
|
|
126
122
|
{
|
|
127
123
|
name: O,
|
|
128
124
|
enable: V,
|
|
129
|
-
show:
|
|
130
|
-
onAction:
|
|
125
|
+
show: _,
|
|
126
|
+
onAction: I,
|
|
131
127
|
icon: "trash"
|
|
132
128
|
},
|
|
133
|
-
...
|
|
129
|
+
...z
|
|
134
130
|
]
|
|
135
131
|
}
|
|
136
132
|
),
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
|
|
133
|
+
/* @__PURE__ */ i(
|
|
134
|
+
P,
|
|
139
135
|
{
|
|
140
|
-
onDetails:
|
|
136
|
+
onDetails: L,
|
|
141
137
|
actionsMenu: !0,
|
|
142
138
|
actions: [
|
|
143
139
|
{
|
|
144
140
|
name: D,
|
|
145
|
-
enable:
|
|
146
|
-
show:
|
|
147
|
-
onAction:
|
|
141
|
+
enable: E,
|
|
142
|
+
show: K,
|
|
143
|
+
onAction: R,
|
|
148
144
|
icon: "pen"
|
|
149
145
|
},
|
|
150
146
|
{
|
|
151
|
-
name:
|
|
152
|
-
enable:
|
|
153
|
-
show:
|
|
154
|
-
onAction:
|
|
147
|
+
name: f,
|
|
148
|
+
enable: T,
|
|
149
|
+
show: b,
|
|
150
|
+
onAction: g,
|
|
155
151
|
icon: "trash"
|
|
156
152
|
},
|
|
157
|
-
...
|
|
153
|
+
...h
|
|
158
154
|
]
|
|
159
155
|
}
|
|
160
156
|
),
|
|
161
|
-
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
|
|
157
|
+
a,
|
|
158
|
+
/* @__PURE__ */ i(
|
|
159
|
+
ne,
|
|
164
160
|
{
|
|
165
|
-
showAddNewCard:
|
|
166
|
-
showLoadMoreCards:
|
|
167
|
-
onAddNewCard:
|
|
168
|
-
onLoadMoreCards:
|
|
161
|
+
showAddNewCard: B,
|
|
162
|
+
showLoadMoreCards: M,
|
|
163
|
+
onAddNewCard: S,
|
|
164
|
+
onLoadMoreCards: W
|
|
169
165
|
}
|
|
170
166
|
)
|
|
171
167
|
]
|
|
172
168
|
}
|
|
173
|
-
), X = () =>
|
|
174
|
-
|
|
169
|
+
), X = () => r(
|
|
170
|
+
s("KANBAN_VIEW_FOOTER", a),
|
|
175
171
|
{
|
|
176
|
-
...
|
|
177
|
-
size:
|
|
178
|
-
color:
|
|
179
|
-
className: "kanban-view-footer-lnc " + (
|
|
172
|
+
...o,
|
|
173
|
+
size: o != null && o.size ? o.size : t,
|
|
174
|
+
color: o != null && o.color ? o.color : l,
|
|
175
|
+
className: "kanban-view-footer-lnc " + (o == null ? void 0 : o.className)
|
|
180
176
|
},
|
|
181
|
-
|
|
177
|
+
a
|
|
182
178
|
) || null;
|
|
183
|
-
return /* @__PURE__ */ m(
|
|
179
|
+
return /* @__PURE__ */ m(oe, { ref: u, className: H, style: q, ...G, children: [
|
|
184
180
|
Q(),
|
|
185
181
|
U(),
|
|
186
182
|
X()
|
|
187
183
|
] });
|
|
188
184
|
});
|
|
189
|
-
|
|
190
|
-
__TYPE__: e.string,
|
|
191
|
-
kanbanProps: e.object,
|
|
192
|
-
actionsToolbarProps: e.object,
|
|
193
|
-
footerProps: e.object,
|
|
194
|
-
loading: e.bool,
|
|
195
|
-
showCreate: e.bool,
|
|
196
|
-
/**
|
|
197
|
-
* Enable create
|
|
198
|
-
*/
|
|
199
|
-
enableCreate: e.bool,
|
|
200
|
-
/**
|
|
201
|
-
* Actions that will be shown in toolbar with existing actions
|
|
202
|
-
* toolbarActions=[{name: `<string>`, show: `<bool>`, enable: `<bool>`, onAction: `<func>`, customAction: `<element>`}, ...]
|
|
203
|
-
*/
|
|
204
|
-
toolbarActions: e.array,
|
|
205
|
-
customCardActions: e.array,
|
|
206
|
-
customColumnActions: e.array,
|
|
207
|
-
editCardText: e.string,
|
|
208
|
-
enableEditCard: e.bool,
|
|
209
|
-
showEditCard: e.bool,
|
|
210
|
-
deleteCardText: e.string,
|
|
211
|
-
enableDeleteCard: e.bool,
|
|
212
|
-
showDeleteCard: e.bool,
|
|
213
|
-
editColumnText: e.string,
|
|
214
|
-
enableEditColumn: e.bool,
|
|
215
|
-
showEditColumn: e.bool,
|
|
216
|
-
deleteColumnText: e.string,
|
|
217
|
-
enableDeleteColumn: e.bool,
|
|
218
|
-
showDeleteColumn: e.bool,
|
|
219
|
-
/**
|
|
220
|
-
* Show Add New Card in all Columns
|
|
221
|
-
*/
|
|
222
|
-
showAddNewCard: e.bool,
|
|
223
|
-
/**
|
|
224
|
-
* Show Load More Cards in all Columns
|
|
225
|
-
*/
|
|
226
|
-
showLoadMoreCards: e.bool,
|
|
227
|
-
//-------------------------------------------------------------
|
|
228
|
-
onCreate: e.func,
|
|
229
|
-
onEditCard: e.func,
|
|
230
|
-
onDeleteCard: e.func,
|
|
231
|
-
onEditColumn: e.func,
|
|
232
|
-
onDeleteColumn: e.func,
|
|
233
|
-
onCardDetails: e.func,
|
|
234
|
-
onColumnDetails: e.func,
|
|
235
|
-
onLoadMoreCards: e.func,
|
|
236
|
-
onAddNewCard: e.func,
|
|
237
|
-
//------------------------------------------------------------
|
|
238
|
-
className: e.string,
|
|
239
|
-
style: e.object,
|
|
240
|
-
size: e.oneOf(["small", "medium", "large"]),
|
|
241
|
-
color: e.oneOf([
|
|
242
|
-
"primary",
|
|
243
|
-
"secondary",
|
|
244
|
-
"success",
|
|
245
|
-
"danger",
|
|
246
|
-
"warning",
|
|
247
|
-
"information",
|
|
248
|
-
"neutral",
|
|
249
|
-
"gray"
|
|
250
|
-
])
|
|
251
|
-
};
|
|
252
|
-
C.displayName = "KanbanView";
|
|
185
|
+
ae.displayName = "KanbanView";
|
|
253
186
|
export {
|
|
254
|
-
|
|
187
|
+
ae as default
|
|
255
188
|
};
|
package/dist/Link.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"use strict";const
|
|
2
|
-
${e=>
|
|
3
|
-
color: ${e=>
|
|
1
|
+
"use strict";const m=require("react/jsx-runtime"),u=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-RnrgDDZP.cjs"),d=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=h.styled.a`
|
|
2
|
+
${e=>t.getComponentTypographyCss(e.theme,"Breadcrumbs",e.size,"enabled")};
|
|
3
|
+
color: ${e=>t.getColorRgbaValue(e.theme,"Link",e.color,"enabled","text")};
|
|
4
4
|
text-decoration: none;
|
|
5
5
|
|
|
6
6
|
&:hover {
|
|
7
|
-
color: ${e=>
|
|
7
|
+
color: ${e=>t.getColorRgbaValue(e.theme,"Link",e.color,"hover","text")};
|
|
8
8
|
}
|
|
9
9
|
&:active {
|
|
10
|
-
color: ${e=>
|
|
10
|
+
color: ${e=>t.getColorRgbaValue(e.theme,"Link",e.color,"active","text")};
|
|
11
11
|
}
|
|
12
12
|
&:visited {
|
|
13
|
-
color: ${e=>
|
|
13
|
+
color: ${e=>t.getColorRgbaValue(e.theme,"Link",e.color,"visited","text")};
|
|
14
14
|
}
|
|
15
|
-
`,
|
|
15
|
+
`,b=u.forwardRef((e,o)=>{const{className:r="",style:l={},color:s="primary",size:n="small",children:c,...i}=e,a={theme:d.useTheme(),size:n,color:s,className:"lnc-ui-link "+r,style:l};return m.jsx(g,{ref:o,...a,...i,children:c})});module.exports=b;
|
package/dist/Link.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
${(e) => y(
|
|
3
|
+
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { c as f, b as t } from "./utils-DtEfC-TX.js";
|
|
5
|
+
import { u as k } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
|
+
const u = d.a`
|
|
7
|
+
${(e) => f(
|
|
9
8
|
e.theme,
|
|
10
9
|
"Breadcrumbs",
|
|
11
10
|
e.size,
|
|
@@ -23,40 +22,24 @@ const g = f.a`
|
|
|
23
22
|
&:visited {
|
|
24
23
|
color: ${(e) => t(e.theme, "Link", e.color, "visited", "text")};
|
|
25
24
|
}
|
|
26
|
-
`,
|
|
25
|
+
`, g = h((e, o) => {
|
|
27
26
|
const {
|
|
28
27
|
//----------------
|
|
29
|
-
className:
|
|
30
|
-
style:
|
|
31
|
-
color:
|
|
32
|
-
size:
|
|
33
|
-
children:
|
|
34
|
-
...
|
|
28
|
+
className: r = "",
|
|
29
|
+
style: m = {},
|
|
30
|
+
color: i = "primary",
|
|
31
|
+
size: l = "small",
|
|
32
|
+
children: s,
|
|
33
|
+
...a
|
|
35
34
|
} = e, c = {
|
|
36
|
-
theme:
|
|
37
|
-
size:
|
|
38
|
-
color:
|
|
39
|
-
className: "lnc-ui-link " +
|
|
40
|
-
style:
|
|
35
|
+
theme: k(),
|
|
36
|
+
size: l,
|
|
37
|
+
color: i,
|
|
38
|
+
className: "lnc-ui-link " + r,
|
|
39
|
+
style: m
|
|
41
40
|
};
|
|
42
|
-
return /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ n(u, { ref: o, ...c, ...a, children: s });
|
|
43
42
|
});
|
|
44
|
-
p.propTypes = {
|
|
45
|
-
//---------------------------------------------------------------
|
|
46
|
-
className: o.string,
|
|
47
|
-
style: o.object,
|
|
48
|
-
color: o.oneOf([
|
|
49
|
-
"primary",
|
|
50
|
-
"secondary",
|
|
51
|
-
"success",
|
|
52
|
-
"warning",
|
|
53
|
-
"danger",
|
|
54
|
-
"information",
|
|
55
|
-
"neutral",
|
|
56
|
-
"gray"
|
|
57
|
-
]),
|
|
58
|
-
size: o.oneOf(["small", "medium", "large"])
|
|
59
|
-
};
|
|
60
43
|
export {
|
|
61
|
-
|
|
44
|
+
g as default
|
|
62
45
|
};
|