@progress/kendo-react-layout 7.2.4-develop.3 → 7.3.0-develop.1
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/actionsheet/ActionSheet.js +8 -0
- package/actionsheet/ActionSheet.mjs +184 -0
- package/actionsheet/ActionSheetContent.js +8 -0
- package/actionsheet/ActionSheetContent.mjs +32 -0
- package/actionsheet/ActionSheetFooter.js +8 -0
- package/actionsheet/ActionSheetFooter.mjs +32 -0
- package/actionsheet/ActionSheetHeader.js +8 -0
- package/actionsheet/ActionSheetHeader.mjs +32 -0
- package/actionsheet/ActionSheetItem.js +8 -0
- package/actionsheet/ActionSheetItem.mjs +52 -0
- package/appbar/AppBar.js +8 -0
- package/appbar/AppBar.mjs +86 -0
- package/appbar/AppBarSection.js +8 -0
- package/appbar/AppBarSection.mjs +47 -0
- package/appbar/AppBarSpacer.js +8 -0
- package/appbar/AppBarSpacer.mjs +55 -0
- package/bottomnavigation/BottomNavigation.js +8 -0
- package/bottomnavigation/BottomNavigation.mjs +160 -0
- package/bottomnavigation/BottomNavigationItem.js +8 -0
- package/bottomnavigation/BottomNavigationItem.mjs +93 -0
- package/bottomnavigation/models/utils.js +8 -0
- package/bottomnavigation/models/utils.mjs +19 -0
- package/breadcrumb/Breadcrumb.js +8 -0
- package/breadcrumb/Breadcrumb.mjs +158 -0
- package/breadcrumb/BreadcrumbDelimiter.js +8 -0
- package/breadcrumb/BreadcrumbDelimiter.mjs +48 -0
- package/breadcrumb/BreadcrumbLink.js +8 -0
- package/breadcrumb/BreadcrumbLink.mjs +82 -0
- package/breadcrumb/BreadcrumbListItem.js +8 -0
- package/breadcrumb/BreadcrumbListItem.mjs +52 -0
- package/breadcrumb/BreadcrumbOrderedList.js +8 -0
- package/breadcrumb/BreadcrumbOrderedList.mjs +67 -0
- package/card/Avatar.js +8 -0
- package/card/Avatar.mjs +53 -0
- package/card/Card.js +8 -0
- package/card/Card.mjs +52 -0
- package/card/CardActions.js +8 -0
- package/card/CardActions.mjs +40 -0
- package/card/CardBody.js +8 -0
- package/card/CardBody.mjs +28 -0
- package/card/CardFooter.js +8 -0
- package/card/CardFooter.mjs +28 -0
- package/card/CardHeader.js +8 -0
- package/card/CardHeader.mjs +28 -0
- package/card/CardImage.js +8 -0
- package/card/CardImage.mjs +36 -0
- package/card/CardSubtitle.js +8 -0
- package/card/CardSubtitle.mjs +28 -0
- package/card/CardTitle.js +8 -0
- package/card/CardTitle.mjs +28 -0
- package/card/interfaces/Enums.js +8 -0
- package/card/interfaces/Enums.mjs +15 -0
- package/contextmenu/ContextMenu.js +8 -0
- package/contextmenu/ContextMenu.mjs +48 -0
- package/dist/cdn/js/kendo-react-layout.js +8 -5
- package/drawer/Drawer.js +8 -0
- package/drawer/Drawer.mjs +130 -0
- package/drawer/DrawerContent.js +8 -0
- package/drawer/DrawerContent.mjs +33 -0
- package/drawer/DrawerItem.js +8 -0
- package/drawer/DrawerItem.mjs +89 -0
- package/drawer/DrawerNavigation.js +8 -0
- package/drawer/DrawerNavigation.mjs +132 -0
- package/drawer/context/DrawerContext.js +8 -0
- package/drawer/context/DrawerContext.mjs +22 -0
- package/expansionpanel/ExpansionPanel.js +8 -0
- package/expansionpanel/ExpansionPanel.mjs +116 -0
- package/expansionpanel/ExpansionPanelContent.js +8 -0
- package/expansionpanel/ExpansionPanelContent.mjs +23 -0
- package/gridlayout/GridLayout.js +8 -0
- package/gridlayout/GridLayout.mjs +83 -0
- package/gridlayout/GridLayoutItem.js +8 -0
- package/gridlayout/GridLayoutItem.mjs +46 -0
- package/index.d.mts +4593 -5
- package/index.d.ts +4593 -103
- package/index.js +8 -5
- package/index.mjs +139 -5037
- package/menu/components/Menu.js +8 -0
- package/menu/components/Menu.mjs +193 -0
- package/menu/components/MenuItem.js +8 -0
- package/menu/components/MenuItem.mjs +34 -0
- package/menu/components/MenuItemArrow.js +8 -0
- package/menu/components/MenuItemArrow.mjs +49 -0
- package/menu/components/MenuItemInternal.js +8 -0
- package/menu/components/MenuItemInternal.mjs +222 -0
- package/menu/components/MenuItemLink.js +8 -0
- package/menu/components/MenuItemLink.mjs +54 -0
- package/menu/consts.js +8 -0
- package/menu/consts.mjs +59 -0
- package/menu/utils/DirectionHolder.js +8 -0
- package/menu/utils/DirectionHolder.mjs +25 -0
- package/menu/utils/MouseOverHandler.js +8 -0
- package/menu/utils/MouseOverHandler.mjs +34 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.js +8 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +124 -0
- package/menu/utils/hoverDelay.js +8 -0
- package/menu/utils/hoverDelay.mjs +18 -0
- package/menu/utils/itemsIdsUtils.js +8 -0
- package/menu/utils/itemsIdsUtils.mjs +81 -0
- package/menu/utils/misc.js +8 -0
- package/menu/utils/misc.mjs +29 -0
- package/menu/utils/prepareInputItemsForInternalWork.js +8 -0
- package/menu/utils/prepareInputItemsForInternalWork.mjs +59 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +6 -6
- package/panelbar/PanelBar.js +8 -0
- package/panelbar/PanelBar.mjs +195 -0
- package/panelbar/PanelBarItem.js +8 -0
- package/panelbar/PanelBarItem.mjs +148 -0
- package/panelbar/interfaces/NavigationAction.js +8 -0
- package/panelbar/interfaces/NavigationAction.mjs +12 -0
- package/panelbar/util.js +8 -0
- package/panelbar/util.mjs +122 -0
- package/splitter/Splitter.js +8 -0
- package/splitter/Splitter.mjs +238 -0
- package/splitter/SplitterBar.js +8 -0
- package/splitter/SplitterBar.mjs +129 -0
- package/splitter/SplitterPane.js +8 -0
- package/splitter/SplitterPane.mjs +50 -0
- package/splitter/messages/index.js +8 -0
- package/splitter/messages/index.mjs +15 -0
- package/stacklayout/StackLayout.js +8 -0
- package/stacklayout/StackLayout.mjs +84 -0
- package/stepper/Step.js +8 -0
- package/stepper/Step.mjs +177 -0
- package/stepper/Stepper.js +8 -0
- package/stepper/Stepper.mjs +252 -0
- package/stepper/contants.js +8 -0
- package/stepper/contants.mjs +13 -0
- package/stepper/context/StepperContext.js +8 -0
- package/stepper/context/StepperContext.mjs +17 -0
- package/stepper/messages/index.js +8 -0
- package/stepper/messages/index.mjs +17 -0
- package/tabstrip/TabStrip.js +8 -0
- package/tabstrip/TabStrip.mjs +163 -0
- package/tabstrip/TabStripContent.js +8 -0
- package/tabstrip/TabStripContent.mjs +81 -0
- package/tabstrip/TabStripNavigation.js +8 -0
- package/tabstrip/TabStripNavigation.mjs +171 -0
- package/tabstrip/TabStripNavigationItem.js +8 -0
- package/tabstrip/TabStripNavigationItem.mjs +55 -0
- package/tabstrip/TabStripTab.js +8 -0
- package/tabstrip/TabStripTab.mjs +35 -0
- package/tilelayout/InternalTile.js +8 -0
- package/tilelayout/InternalTile.mjs +203 -0
- package/tilelayout/ResizeHandlers.js +8 -0
- package/tilelayout/ResizeHandlers.mjs +53 -0
- package/tilelayout/TileLayout.js +8 -0
- package/tilelayout/TileLayout.mjs +122 -0
- package/timeline/Timeline.js +8 -0
- package/timeline/Timeline.mjs +79 -0
- package/timeline/TimelineCard.js +8 -0
- package/timeline/TimelineCard.mjs +109 -0
- package/timeline/TimelineHorizontal.js +8 -0
- package/timeline/TimelineHorizontal.mjs +239 -0
- package/timeline/TimelineVertical.js +8 -0
- package/timeline/TimelineVertical.mjs +78 -0
- package/timeline/utils.js +8 -0
- package/timeline/utils.mjs +16 -0
- package/actionsheet/ActionSheet.d.ts +0 -138
- package/actionsheet/ActionSheetContent.d.ts +0 -14
- package/actionsheet/ActionSheetFooter.d.ts +0 -14
- package/actionsheet/ActionSheetHeader.d.ts +0 -14
- package/actionsheet/ActionSheetItem.d.ts +0 -10
- package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +0 -17
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +0 -70
- package/appbar/AppBar.d.ts +0 -54
- package/appbar/AppBarSection.d.ts +0 -53
- package/appbar/AppBarSpacer.d.ts +0 -54
- package/appbar/interfaces/AppBarProps.d.ts +0 -83
- package/appbar/interfaces/AppBarSectionProps.d.ts +0 -22
- package/appbar/interfaces/AppBarSpacerProps.d.ts +0 -23
- package/bottomnavigation/BottomNavigation.d.ts +0 -42
- package/bottomnavigation/BottomNavigationItem.d.ts +0 -16
- package/bottomnavigation/BottomNavigationItemProps.d.ts +0 -64
- package/bottomnavigation/BottomNavigationProps.d.ts +0 -157
- package/bottomnavigation/models/events.d.ts +0 -24
- package/bottomnavigation/models/utils.d.ts +0 -40
- package/breadcrumb/Breadcrumb.d.ts +0 -163
- package/breadcrumb/BreadcrumbDelimiter.d.ts +0 -47
- package/breadcrumb/BreadcrumbLink.d.ts +0 -135
- package/breadcrumb/BreadcrumbListItem.d.ts +0 -55
- package/breadcrumb/BreadcrumbOrderedList.d.ts +0 -59
- package/card/Avatar.d.ts +0 -7
- package/card/Card.d.ts +0 -8
- package/card/CardActions.d.ts +0 -7
- package/card/CardBody.d.ts +0 -7
- package/card/CardFooter.d.ts +0 -7
- package/card/CardHeader.d.ts +0 -7
- package/card/CardImage.d.ts +0 -7
- package/card/CardSubtitle.d.ts +0 -7
- package/card/CardTitle.d.ts +0 -7
- package/card/interfaces/AvatarProps.d.ts +0 -88
- package/card/interfaces/CardActionsProps.d.ts +0 -38
- package/card/interfaces/CardBodyProps.d.ts +0 -18
- package/card/interfaces/CardFooterProps.d.ts +0 -18
- package/card/interfaces/CardHandle.d.ts +0 -18
- package/card/interfaces/CardHeaderProps.d.ts +0 -18
- package/card/interfaces/CardImageProps.d.ts +0 -22
- package/card/interfaces/CardProps.d.ts +0 -48
- package/card/interfaces/CardSubtitleProps.d.ts +0 -18
- package/card/interfaces/CardTitleProps.d.ts +0 -18
- package/card/interfaces/Enums.d.ts +0 -27
- package/contextmenu/ContextMenu.d.ts +0 -31
- package/drawer/Drawer.d.ts +0 -44
- package/drawer/DrawerContent.d.ts +0 -43
- package/drawer/DrawerItem.d.ts +0 -36
- package/drawer/DrawerNavigation.d.ts +0 -47
- package/drawer/context/DrawerContext.d.ts +0 -24
- package/drawer/interfaces/DrawerAnimation.d.ts +0 -18
- package/drawer/interfaces/DrawerContentProps.d.ts +0 -21
- package/drawer/interfaces/DrawerItemHandle.d.ts +0 -21
- package/drawer/interfaces/DrawerItemProps.d.ts +0 -64
- package/drawer/interfaces/DrawerNavigationProps.d.ts +0 -21
- package/drawer/interfaces/DrawerProps.d.ts +0 -86
- package/drawer/interfaces/DrawerSelectEvent.d.ts +0 -19
- package/expansionpanel/ExpansionPanel.d.ts +0 -10
- package/expansionpanel/ExpansionPanelContent.d.ts +0 -9
- package/expansionpanel/index.d.ts +0 -7
- package/expansionpanel/interfaces.d.ts +0 -92
- package/gridlayout/GridLayout.d.ts +0 -43
- package/gridlayout/GridLayoutItem.d.ts +0 -42
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +0 -13
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +0 -44
- package/gridlayout/interfaces/GridLayoutProps.d.ts +0 -99
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +0 -13
- package/menu/BaseMenuItemInternalProps.d.ts +0 -24
- package/menu/MenuProps.d.ts +0 -75
- package/menu/components/Menu.d.ts +0 -118
- package/menu/components/MenuItem.d.ts +0 -33
- package/menu/components/MenuItemArrow.d.ts +0 -50
- package/menu/components/MenuItemInternal.d.ts +0 -63
- package/menu/components/MenuItemLink.d.ts +0 -34
- package/menu/consts.d.ts +0 -58
- package/menu/events.d.ts +0 -20
- package/menu/models/BaseMenuItem.d.ts +0 -58
- package/menu/models/MenuItemModel.d.ts +0 -23
- package/menu/utils/DirectionHolder.d.ts +0 -15
- package/menu/utils/MouseOverHandler.d.ts +0 -21
- package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +0 -11
- package/menu/utils/hoverDelay.d.ts +0 -13
- package/menu/utils/itemsIdsUtils.d.ts +0 -68
- package/menu/utils/misc.d.ts +0 -20
- package/menu/utils/prepareInputItemsForInternalWork.d.ts +0 -10
- package/package-metadata.d.ts +0 -9
- package/panelbar/PanelBar.d.ts +0 -81
- package/panelbar/PanelBarItem.d.ts +0 -52
- package/panelbar/interfaces/NavigationAction.d.ts +0 -12
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +0 -12
- package/panelbar/interfaces/PanelBarItemProps.d.ts +0 -98
- package/panelbar/interfaces/PanelBarProps.d.ts +0 -66
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +0 -18
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +0 -19
- package/panelbar/util.d.ts +0 -56
- package/splitter/Splitter.d.ts +0 -136
- package/splitter/SplitterBar.d.ts +0 -44
- package/splitter/SplitterPane.d.ts +0 -57
- package/splitter/messages/index.d.ts +0 -14
- package/stacklayout/StackLayout.d.ts +0 -41
- package/stacklayout/StackLayoutProps.d.ts +0 -92
- package/stepper/Step.d.ts +0 -27
- package/stepper/Stepper.d.ts +0 -27
- package/stepper/contants.d.ts +0 -12
- package/stepper/context/StepperContext.d.ts +0 -27
- package/stepper/interfaces/StepChangeEvent.d.ts +0 -15
- package/stepper/interfaces/StepFocusEvent.d.ts +0 -11
- package/stepper/interfaces/StepHandle.d.ts +0 -17
- package/stepper/interfaces/StepProps.d.ts +0 -83
- package/stepper/interfaces/StepperChangeEvent.d.ts +0 -15
- package/stepper/interfaces/StepperFocusEvent.d.ts +0 -11
- package/stepper/interfaces/StepperHandle.d.ts +0 -17
- package/stepper/interfaces/StepperProps.d.ts +0 -98
- package/stepper/messages/index.d.ts +0 -19
- package/tabstrip/TabStrip.d.ts +0 -158
- package/tabstrip/TabStripContent.d.ts +0 -62
- package/tabstrip/TabStripNavigation.d.ts +0 -110
- package/tabstrip/TabStripNavigationItem.d.ts +0 -75
- package/tabstrip/TabStripTab.d.ts +0 -42
- package/tilelayout/InternalTile.d.ts +0 -94
- package/tilelayout/ResizeHandlers.d.ts +0 -24
- package/tilelayout/TileLayout.d.ts +0 -153
- package/tilelayout/interfaces/index.d.ts +0 -145
- package/timeline/Timeline.d.ts +0 -102
- package/timeline/TimelineCard.d.ts +0 -38
- package/timeline/TimelineHorizontal.d.ts +0 -7
- package/timeline/TimelineVertical.d.ts +0 -16
- package/timeline/utils.d.ts +0 -19
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as t from "react";
|
|
10
|
+
import a from "prop-types";
|
|
11
|
+
import { validatePackage as l, classNames as n } from "@progress/kendo-react-common";
|
|
12
|
+
import { packageMetadata as u } from "../package-metadata.mjs";
|
|
13
|
+
const c = t.forwardRef((e, m) => {
|
|
14
|
+
l(u);
|
|
15
|
+
const s = t.useRef(null), r = t.useRef(null), i = t.useCallback(
|
|
16
|
+
() => {
|
|
17
|
+
r.current && r.current.focus();
|
|
18
|
+
},
|
|
19
|
+
[r]
|
|
20
|
+
);
|
|
21
|
+
return t.useImperativeHandle(s, () => ({
|
|
22
|
+
element: r.current,
|
|
23
|
+
focus: i,
|
|
24
|
+
props: e
|
|
25
|
+
})), t.useImperativeHandle(m, () => s.current), /* @__PURE__ */ t.createElement(
|
|
26
|
+
"li",
|
|
27
|
+
{
|
|
28
|
+
ref: r,
|
|
29
|
+
id: e.id,
|
|
30
|
+
style: e.style,
|
|
31
|
+
className: n(
|
|
32
|
+
"k-breadcrumb-item",
|
|
33
|
+
{
|
|
34
|
+
"k-breadcrumb-root-item": e.isFirstItem,
|
|
35
|
+
"k-breadcrumb-last-item": e.isLastItem
|
|
36
|
+
},
|
|
37
|
+
e.className
|
|
38
|
+
)
|
|
39
|
+
},
|
|
40
|
+
e.children
|
|
41
|
+
);
|
|
42
|
+
}), d = {
|
|
43
|
+
id: a.string,
|
|
44
|
+
className: a.string,
|
|
45
|
+
children: a.any,
|
|
46
|
+
style: a.object
|
|
47
|
+
};
|
|
48
|
+
c.displayName = "KendoReactBreadcrumbListItem";
|
|
49
|
+
c.propTypes = d;
|
|
50
|
+
export {
|
|
51
|
+
c as BreadcrumbListItem
|
|
52
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),d=require("prop-types"),n=require("@progress/kendo-react-common"),s=require("../package-metadata.js");function u(e){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(c,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return c.default=e,Object.freeze(c)}const t=u(i),l=t.forwardRef((e,c)=>{n.validatePackage(s.packageMetadata);const r=t.useRef(null),a=t.useRef(null);return t.useImperativeHandle(r,()=>({element:a.current,props:e})),t.useImperativeHandle(c,()=>r.current),t.createElement(t.Fragment,null,e.rootItem?t.createElement("ol",{id:e.id,ref:a,style:e.style,dir:n.useDir(a,e.dir),tabIndex:n.getTabIndex(e.tabIndex,e.disabled),className:n.classNames("k-breadcrumb-root-item-container",{"k-disabled":e.disabled},e.className)},e.children):t.createElement("ol",{id:e.id,ref:a,style:e.style,dir:n.useDir(a,e.dir),tabIndex:n.getTabIndex(e.tabIndex,e.disabled),className:n.classNames("k-breadcrumb-container !k-flex-wrap",{"k-disabled":e.disabled},e.className)},e.children))}),b={id:d.string,className:d.string,children:d.element,tabIndex:d.number,style:d.object,dir:d.string,disabled:d.bool};l.displayName="KendoReactBreadcrumbOrderedList";l.propTypes=b;exports.BreadcrumbOrderedList=l;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as a from "react";
|
|
10
|
+
import t from "prop-types";
|
|
11
|
+
import { validatePackage as s, useDir as l, getTabIndex as i, classNames as n } from "@progress/kendo-react-common";
|
|
12
|
+
import { packageMetadata as b } from "../package-metadata.mjs";
|
|
13
|
+
const c = a.forwardRef((e, m) => {
|
|
14
|
+
s(b);
|
|
15
|
+
const r = a.useRef(null), d = a.useRef(null);
|
|
16
|
+
return a.useImperativeHandle(r, () => ({
|
|
17
|
+
element: d.current,
|
|
18
|
+
props: e
|
|
19
|
+
})), a.useImperativeHandle(m, () => r.current), /* @__PURE__ */ a.createElement(a.Fragment, null, e.rootItem ? /* @__PURE__ */ a.createElement(
|
|
20
|
+
"ol",
|
|
21
|
+
{
|
|
22
|
+
id: e.id,
|
|
23
|
+
ref: d,
|
|
24
|
+
style: e.style,
|
|
25
|
+
dir: l(d, e.dir),
|
|
26
|
+
tabIndex: i(e.tabIndex, e.disabled),
|
|
27
|
+
className: n(
|
|
28
|
+
"k-breadcrumb-root-item-container",
|
|
29
|
+
{
|
|
30
|
+
"k-disabled": e.disabled
|
|
31
|
+
},
|
|
32
|
+
e.className
|
|
33
|
+
)
|
|
34
|
+
},
|
|
35
|
+
e.children
|
|
36
|
+
) : /* @__PURE__ */ a.createElement(
|
|
37
|
+
"ol",
|
|
38
|
+
{
|
|
39
|
+
id: e.id,
|
|
40
|
+
ref: d,
|
|
41
|
+
style: e.style,
|
|
42
|
+
dir: l(d, e.dir),
|
|
43
|
+
tabIndex: i(e.tabIndex, e.disabled),
|
|
44
|
+
className: n(
|
|
45
|
+
"k-breadcrumb-container !k-flex-wrap",
|
|
46
|
+
{
|
|
47
|
+
"k-disabled": e.disabled
|
|
48
|
+
},
|
|
49
|
+
e.className
|
|
50
|
+
)
|
|
51
|
+
},
|
|
52
|
+
e.children
|
|
53
|
+
));
|
|
54
|
+
}), u = {
|
|
55
|
+
id: t.string,
|
|
56
|
+
className: t.string,
|
|
57
|
+
children: t.element,
|
|
58
|
+
tabIndex: t.number,
|
|
59
|
+
style: t.object,
|
|
60
|
+
dir: t.string,
|
|
61
|
+
disabled: t.bool
|
|
62
|
+
};
|
|
63
|
+
c.displayName = "KendoReactBreadcrumbOrderedList";
|
|
64
|
+
c.propTypes = u;
|
|
65
|
+
export {
|
|
66
|
+
c as BreadcrumbOrderedList
|
|
67
|
+
};
|
package/card/Avatar.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),r=require("prop-types"),o=require("@progress/kendo-react-common"),d=require("./interfaces/Enums.js"),c=require("../package-metadata.js");function u(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const l=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(e,t,l.get?l:{enumerable:!0,get:()=>a[t]})}}return e.default=a,Object.freeze(e)}const n=u(i),s=a=>{const e={type:d.avatarType.TEXT,size:"medium",rounded:"full",fillMode:"solid",themeColor:"primary",...a};return o.validatePackage(c.packageMetadata),n.createElement("div",{style:e.style,className:o.classNames("k-avatar",{"k-avatar-bordered":e.border,[`k-rounded-${o.kendoThemeMaps.roundedMap[e.rounded]||e.rounded}`]:e.rounded,[`k-avatar-${o.kendoThemeMaps.sizeMap[e.size]||e.size}`]:e.size,[`k-avatar-${e.fillMode}`]:e.fillMode,[`k-avatar-${e.fillMode}-${e.themeColor}`]:!!(e.fillMode&&e.themeColor)},e.className)},n.createElement("span",{className:`k-avatar-${e.type}`},e.children))};s.propTypes={className:r.string,type:r.oneOf(["text","image","icon"]),size:r.oneOf([null,"small","medium","large"]),rounded:r.oneOf([null,"small","medium","large","full"]),fillMode:r.oneOf([null,"solid","outline"]),themeColor:r.oneOf([null,"base","dark","error","info","inverse","inverse","light","primary","secondary","success","tertiary","warning"])};exports.Avatar=s;
|
package/card/Avatar.mjs
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as r from "react";
|
|
10
|
+
import a from "prop-types";
|
|
11
|
+
import { validatePackage as t, classNames as s, kendoThemeMaps as o } from "@progress/kendo-react-common";
|
|
12
|
+
import { avatarType as i } from "./interfaces/Enums.mjs";
|
|
13
|
+
import { packageMetadata as d } from "../package-metadata.mjs";
|
|
14
|
+
const n = (l) => {
|
|
15
|
+
const e = {
|
|
16
|
+
type: i.TEXT,
|
|
17
|
+
size: "medium",
|
|
18
|
+
rounded: "full",
|
|
19
|
+
fillMode: "solid",
|
|
20
|
+
themeColor: "primary",
|
|
21
|
+
...l
|
|
22
|
+
};
|
|
23
|
+
return t(d), /* @__PURE__ */ r.createElement(
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
style: e.style,
|
|
27
|
+
className: s(
|
|
28
|
+
"k-avatar",
|
|
29
|
+
{
|
|
30
|
+
"k-avatar-bordered": e.border,
|
|
31
|
+
[`k-rounded-${o.roundedMap[e.rounded] || e.rounded}`]: e.rounded,
|
|
32
|
+
[`k-avatar-${o.sizeMap[e.size] || e.size}`]: e.size,
|
|
33
|
+
[`k-avatar-${e.fillMode}`]: e.fillMode,
|
|
34
|
+
[`k-avatar-${e.fillMode}-${e.themeColor}`]: !!(e.fillMode && e.themeColor)
|
|
35
|
+
},
|
|
36
|
+
e.className
|
|
37
|
+
)
|
|
38
|
+
},
|
|
39
|
+
/* @__PURE__ */ r.createElement("span", { className: `k-avatar-${e.type}` }, e.children)
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
n.propTypes = {
|
|
43
|
+
className: a.string,
|
|
44
|
+
type: a.oneOf(["text", "image", "icon"]),
|
|
45
|
+
size: a.oneOf([null, "small", "medium", "large"]),
|
|
46
|
+
rounded: a.oneOf([null, "small", "medium", "large", "full"]),
|
|
47
|
+
fillMode: a.oneOf([null, "solid", "outline"]),
|
|
48
|
+
/* eslint-disable max-len */
|
|
49
|
+
themeColor: a.oneOf([null, "base", "dark", "error", "info", "inverse", "inverse", "light", "primary", "secondary", "success", "tertiary", "warning"])
|
|
50
|
+
};
|
|
51
|
+
export {
|
|
52
|
+
n as Avatar
|
|
53
|
+
};
|
package/card/Card.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react"),r=require("prop-types"),u=require("@progress/kendo-react-common"),o=require("./interfaces/Enums.js"),O=require("../package-metadata.js");function R(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const a=R(g),i=a.forwardRef((e,n)=>{u.validatePackage(O.packageMetadata);const{children:t,dir:c,style:p,className:f,type:s,orientation:m,...y}=e,l=a.useRef(null),d=a.useRef(null);return a.useImperativeHandle(l,()=>({element:d.current,props:e})),a.useImperativeHandle(n,()=>l.current),a.createElement("div",{dir:c,style:p,ref:d,className:u.classNames("k-card",f,{[`k-card-${s}`]:s!==o.cardType.DEFAULT},m!==o.cardOrientation.HORIZONTAL?"k-card-vertical":"k-card-horizontal"),...y},t)});i.displayName="KendoReactCard";i.propTypes={children:r.node,className:r.string,dir:r.string,orientation:r.oneOf(["horizontal","vertical"]),style:r.object,type:r.oneOf(["default","primary","info","success","warning","error"])};i.defaultProps={type:o.cardType.DEFAULT,orientation:o.cardOrientation.VERTICAL};exports.Card=i;
|
package/card/Card.mjs
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as e from "react";
|
|
10
|
+
import r from "prop-types";
|
|
11
|
+
import { validatePackage as R, classNames as T } from "@progress/kendo-react-common";
|
|
12
|
+
import { cardType as c, cardOrientation as s } from "./interfaces/Enums.mjs";
|
|
13
|
+
import { packageMetadata as g } from "../package-metadata.mjs";
|
|
14
|
+
const a = e.forwardRef((t, l) => {
|
|
15
|
+
R(g);
|
|
16
|
+
const { children: d, dir: m, style: p, className: f, type: o, orientation: u, ...y } = t, n = e.useRef(null), i = e.useRef(null);
|
|
17
|
+
return e.useImperativeHandle(n, () => ({
|
|
18
|
+
element: i.current,
|
|
19
|
+
props: t
|
|
20
|
+
})), e.useImperativeHandle(l, () => n.current), /* @__PURE__ */ e.createElement(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
dir: m,
|
|
24
|
+
style: p,
|
|
25
|
+
ref: i,
|
|
26
|
+
className: T(
|
|
27
|
+
"k-card",
|
|
28
|
+
f,
|
|
29
|
+
{ [`k-card-${o}`]: o !== c.DEFAULT },
|
|
30
|
+
u !== s.HORIZONTAL ? "k-card-vertical" : "k-card-horizontal"
|
|
31
|
+
),
|
|
32
|
+
...y
|
|
33
|
+
},
|
|
34
|
+
d
|
|
35
|
+
);
|
|
36
|
+
});
|
|
37
|
+
a.displayName = "KendoReactCard";
|
|
38
|
+
a.propTypes = {
|
|
39
|
+
children: r.node,
|
|
40
|
+
className: r.string,
|
|
41
|
+
dir: r.string,
|
|
42
|
+
orientation: r.oneOf(["horizontal", "vertical"]),
|
|
43
|
+
style: r.object,
|
|
44
|
+
type: r.oneOf(["default", "primary", "info", "success", "warning", "error"])
|
|
45
|
+
};
|
|
46
|
+
a.defaultProps = {
|
|
47
|
+
type: c.DEFAULT,
|
|
48
|
+
orientation: s.VERTICAL
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
a as Card
|
|
52
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),a=require("prop-types"),s=require("@progress/kendo-react-common"),o=require("./interfaces/Enums.js");function l(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const u=l(i),c=t=>{const e={layout:o.cardActionsLayout.START,orientation:o.cardOrientation.HORIZONTAL,...t};return u.createElement("div",{style:e.style,className:s.classNames("k-card-actions","k-actions",e.className,`k-actions-${e.layout}`,e.orientation!==o.cardOrientation.VERTICAL?"k-actions-horizontal":"k-actions-vertical")},e.children)};c.propTypes={layout:a.oneOf(["stretched","start","center","end"]),orientation:a.oneOf(["horizontal","vertical"])};exports.CardActions=c;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as r from "react";
|
|
10
|
+
import o from "prop-types";
|
|
11
|
+
import { classNames as n } from "@progress/kendo-react-common";
|
|
12
|
+
import { cardActionsLayout as i, cardOrientation as a } from "./interfaces/Enums.mjs";
|
|
13
|
+
const s = (e) => {
|
|
14
|
+
const t = {
|
|
15
|
+
layout: i.START,
|
|
16
|
+
orientation: a.HORIZONTAL,
|
|
17
|
+
...e
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ r.createElement(
|
|
20
|
+
"div",
|
|
21
|
+
{
|
|
22
|
+
style: t.style,
|
|
23
|
+
className: n(
|
|
24
|
+
"k-card-actions",
|
|
25
|
+
"k-actions",
|
|
26
|
+
t.className,
|
|
27
|
+
`k-actions-${t.layout}`,
|
|
28
|
+
t.orientation !== a.VERTICAL ? "k-actions-horizontal" : "k-actions-vertical"
|
|
29
|
+
)
|
|
30
|
+
},
|
|
31
|
+
t.children
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
s.propTypes = {
|
|
35
|
+
layout: o.oneOf(["stretched", "start", "center", "end"]),
|
|
36
|
+
orientation: o.oneOf(["horizontal", "vertical"])
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
s as CardActions
|
|
40
|
+
};
|
package/card/CardBody.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),o=require("prop-types"),s=require("@progress/kendo-react-common");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=l(a),n=e=>i.createElement("div",{style:e.style,className:s.classNames("k-card-body",e.className)},e.children);n.propTypes={className:o.string};exports.CardBody=n;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as s from "react";
|
|
10
|
+
import r from "prop-types";
|
|
11
|
+
import { classNames as a } from "@progress/kendo-react-common";
|
|
12
|
+
const t = (e) => /* @__PURE__ */ s.createElement(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
style: e.style,
|
|
16
|
+
className: a(
|
|
17
|
+
"k-card-body",
|
|
18
|
+
e.className
|
|
19
|
+
)
|
|
20
|
+
},
|
|
21
|
+
e.children
|
|
22
|
+
);
|
|
23
|
+
t.propTypes = {
|
|
24
|
+
className: r.string
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
t as CardBody
|
|
28
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("prop-types"),s=require("@progress/kendo-react-common");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=l(n),o=e=>i.createElement("div",{style:e.style,className:s.classNames("k-card-footer",e.className)},e.children);o.propTypes={className:a.string};exports.CardFooter=o;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as r from "react";
|
|
10
|
+
import s from "prop-types";
|
|
11
|
+
import { classNames as t } from "@progress/kendo-react-common";
|
|
12
|
+
const a = (e) => /* @__PURE__ */ r.createElement(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
style: e.style,
|
|
16
|
+
className: t(
|
|
17
|
+
"k-card-footer",
|
|
18
|
+
e.className
|
|
19
|
+
)
|
|
20
|
+
},
|
|
21
|
+
e.children
|
|
22
|
+
);
|
|
23
|
+
a.propTypes = {
|
|
24
|
+
className: s.string
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
a as CardFooter
|
|
28
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),s=require("prop-types"),o=require("@progress/kendo-react-common");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=l(n),c=e=>i.createElement("div",{style:e.style,className:o.classNames("k-card-header",e.className)},e.children);c.propTypes={className:s.string};exports.CardHeader=c;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as r from "react";
|
|
10
|
+
import a from "prop-types";
|
|
11
|
+
import { classNames as s } from "@progress/kendo-react-common";
|
|
12
|
+
const t = (e) => /* @__PURE__ */ r.createElement(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
style: e.style,
|
|
16
|
+
className: s(
|
|
17
|
+
"k-card-header",
|
|
18
|
+
e.className
|
|
19
|
+
)
|
|
20
|
+
},
|
|
21
|
+
e.children
|
|
22
|
+
);
|
|
23
|
+
t.propTypes = {
|
|
24
|
+
className: a.string
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
t as CardHeader
|
|
28
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),s=require("prop-types"),o=require("@progress/kendo-react-common");function l(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,c.get?c:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const i=l(n),a=t=>{const e={src:"",...t};return i.createElement("img",{style:e.style,className:o.classNames("k-card-media",e.className),src:e.src,alt:e.alt})};a.propTypes={className:s.string,src:s.string};exports.CardImage=a;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as a from "react";
|
|
10
|
+
import r from "prop-types";
|
|
11
|
+
import { classNames as t } from "@progress/kendo-react-common";
|
|
12
|
+
const c = (e) => {
|
|
13
|
+
const s = {
|
|
14
|
+
src: "",
|
|
15
|
+
...e
|
|
16
|
+
};
|
|
17
|
+
return /* @__PURE__ */ a.createElement(
|
|
18
|
+
"img",
|
|
19
|
+
{
|
|
20
|
+
style: s.style,
|
|
21
|
+
className: t(
|
|
22
|
+
"k-card-media",
|
|
23
|
+
s.className
|
|
24
|
+
),
|
|
25
|
+
src: s.src,
|
|
26
|
+
alt: s.alt
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
};
|
|
30
|
+
c.propTypes = {
|
|
31
|
+
className: r.string,
|
|
32
|
+
src: r.string
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
c as CardImage
|
|
36
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),s=require("prop-types"),l=require("@progress/kendo-react-common");function o(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=o(a),n=e=>i.createElement("div",{style:e.style,className:l.classNames("k-card-subtitle",e.className)},e.children);n.propTypes={className:s.string};exports.CardSubtitle=n;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as t from "react";
|
|
10
|
+
import s from "prop-types";
|
|
11
|
+
import { classNames as r } from "@progress/kendo-react-common";
|
|
12
|
+
const a = (e) => /* @__PURE__ */ t.createElement(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
style: e.style,
|
|
16
|
+
className: r(
|
|
17
|
+
"k-card-subtitle",
|
|
18
|
+
e.className
|
|
19
|
+
)
|
|
20
|
+
},
|
|
21
|
+
e.children
|
|
22
|
+
);
|
|
23
|
+
a.propTypes = {
|
|
24
|
+
className: s.string
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
a as CardSubtitle
|
|
28
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),s=require("prop-types"),l=require("@progress/kendo-react-common");function o(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=o(a),n=e=>i.createElement("div",{style:e.style,className:l.classNames("k-card-title",e.className)},e.children);n.propTypes={className:s.string};exports.CardTitle=n;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as t from "react";
|
|
10
|
+
import s from "prop-types";
|
|
11
|
+
import { classNames as r } from "@progress/kendo-react-common";
|
|
12
|
+
const a = (e) => /* @__PURE__ */ t.createElement(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
style: e.style,
|
|
16
|
+
className: r(
|
|
17
|
+
"k-card-title",
|
|
18
|
+
e.className
|
|
19
|
+
)
|
|
20
|
+
},
|
|
21
|
+
e.children
|
|
22
|
+
);
|
|
23
|
+
a.propTypes = {
|
|
24
|
+
className: s.string
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
a as CardTitle
|
|
28
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=(r=>(r.TEXT="text",r.IMAGE="image",r.ICON="icon",r))(e||{}),t=(r=>(r.HORIZONTAL="horizontal",r.VERTICAL="vertical",r))(t||{}),n=(r=>(r.DEFAULT="default",r.primary="primary",r.INFO="info",r.SUCCESS="success",r.WARNING="warning",r.ERROR="error",r))(n||{}),E=(r=>(r.START="start",r.CENTER="center",r.END="end",r.STRETCHED="stretched",r))(E||{});exports.avatarType=e;exports.cardActionsLayout=E;exports.cardOrientation=t;exports.cardType=n;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
var E = /* @__PURE__ */ ((r) => (r.TEXT = "text", r.IMAGE = "image", r.ICON = "icon", r))(E || {}), e = /* @__PURE__ */ ((r) => (r.HORIZONTAL = "horizontal", r.VERTICAL = "vertical", r))(e || {}), R = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.primary = "primary", r.INFO = "info", r.SUCCESS = "success", r.WARNING = "warning", r.ERROR = "error", r))(R || {}), n = /* @__PURE__ */ ((r) => (r.START = "start", r.CENTER = "center", r.END = "end", r.STRETCHED = "stretched", r))(n || {});
|
|
10
|
+
export {
|
|
11
|
+
E as avatarType,
|
|
12
|
+
n as cardActionsLayout,
|
|
13
|
+
e as cardOrientation,
|
|
14
|
+
R as cardType
|
|
15
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),u=require("@progress/kendo-react-common"),l=require("@progress/kendo-react-popup"),m=require("../menu/components/Menu.js");function i(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const t=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,t.get?t:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const c=i(a),r=e=>{const n=c.useRef(null);return c.useEffect(()=>{e.show&&setTimeout(()=>{const o=n.current&&n.current.element,t=o&&o.querySelector(".k-menu-item"),s=u.getActiveElement(t&&t.ownerDocument);t&&t!==s&&t.focus()})},[e.show]),c.createElement(l.Popup,{show:e.show,offset:e.offset,popupClass:"k-menu-popup",animate:!1},c.createElement(m.Menu,{vertical:!0,...e,ref:n,className:u.classNames("k-context-menu",e.className),onClose:e.onClose,role:"menu"},e.children))};r.displayName="KendoReactContextMenu";exports.ContextMenu=r;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as n from "react";
|
|
10
|
+
import { getActiveElement as u, classNames as s } from "@progress/kendo-react-common";
|
|
11
|
+
import { Popup as l } from "@progress/kendo-react-popup";
|
|
12
|
+
import { Menu as a } from "../menu/components/Menu.mjs";
|
|
13
|
+
const r = (e) => {
|
|
14
|
+
const o = n.useRef(null);
|
|
15
|
+
return n.useEffect(() => {
|
|
16
|
+
e.show && setTimeout(() => {
|
|
17
|
+
const m = o.current && o.current.element, t = m && m.querySelector(".k-menu-item"), c = u(t && t.ownerDocument);
|
|
18
|
+
t && t !== c && t.focus();
|
|
19
|
+
});
|
|
20
|
+
}, [e.show]), /* @__PURE__ */ n.createElement(
|
|
21
|
+
l,
|
|
22
|
+
{
|
|
23
|
+
show: e.show,
|
|
24
|
+
offset: e.offset,
|
|
25
|
+
popupClass: "k-menu-popup",
|
|
26
|
+
animate: !1
|
|
27
|
+
},
|
|
28
|
+
/* @__PURE__ */ n.createElement(
|
|
29
|
+
a,
|
|
30
|
+
{
|
|
31
|
+
vertical: !0,
|
|
32
|
+
...e,
|
|
33
|
+
ref: o,
|
|
34
|
+
className: s(
|
|
35
|
+
"k-context-menu",
|
|
36
|
+
e.className
|
|
37
|
+
),
|
|
38
|
+
onClose: e.onClose,
|
|
39
|
+
role: "menu"
|
|
40
|
+
},
|
|
41
|
+
e.children
|
|
42
|
+
)
|
|
43
|
+
);
|
|
44
|
+
};
|
|
45
|
+
r.displayName = "KendoReactContextMenu";
|
|
46
|
+
export {
|
|
47
|
+
r as ContextMenu
|
|
48
|
+
};
|