bianic-ui 2.2.0-beta.2 → 2.3.0
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/cjs/index.js +205 -53
- package/dist/cjs/lib.css +1 -1
- package/dist/cjs/types/components/Card/config.d.ts +6 -0
- package/dist/cjs/types/components/Card/index.d.ts +8 -0
- package/dist/cjs/types/components/FileTree/FileTreeSimulation.d.ts +3 -0
- package/dist/cjs/types/components/FileTree/TreeItem.d.ts +13 -0
- package/dist/cjs/types/components/FileTree/useFileTree.d.ts +12 -0
- package/dist/cjs/types/components/PaginationBar/SelectedPage.d.ts +7 -0
- package/dist/cjs/types/components/Popover/PropInterface.d.ts +21 -0
- package/dist/cjs/types/components/Popover/index.d.ts +2 -10
- package/dist/cjs/types/components/Tooltip/PropsInterface.d.ts +6 -2
- package/dist/cjs/types/components/index.d.ts +3 -0
- package/dist/cjs/types/stories/Card/Card.stories.d.ts +17 -0
- package/dist/cjs/types/stories/FileTree/FileTreeSimulation.stories.d.ts +12 -0
- package/dist/cjs/types/utility/public/words.d.ts +13 -0
- package/dist/esm/index.js +203 -54
- package/dist/esm/lib.css +1 -1
- package/dist/esm/types/components/Card/config.d.ts +6 -0
- package/dist/esm/types/components/Card/index.d.ts +8 -0
- package/dist/esm/types/components/FileTree/FileTreeSimulation.d.ts +3 -0
- package/dist/esm/types/components/FileTree/TreeItem.d.ts +13 -0
- package/dist/esm/types/components/FileTree/useFileTree.d.ts +12 -0
- package/dist/esm/types/components/PaginationBar/SelectedPage.d.ts +7 -0
- package/dist/esm/types/components/Popover/PropInterface.d.ts +21 -0
- package/dist/esm/types/components/Popover/index.d.ts +2 -10
- package/dist/esm/types/components/Tooltip/PropsInterface.d.ts +6 -2
- package/dist/esm/types/components/index.d.ts +3 -0
- package/dist/esm/types/stories/Card/Card.stories.d.ts +17 -0
- package/dist/esm/types/stories/FileTree/FileTreeSimulation.stories.d.ts +12 -0
- package/dist/esm/types/utility/public/words.d.ts +13 -0
- package/dist/index.d.ts +40 -6
- package/package.json +51 -7
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import config from './config';
|
|
3
|
+
declare const Card: ({ children, disabled, variant, }: {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
variant?: "dark-background" | "light-background" | "outline-light-background" | undefined;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export default Card;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ComponentPropsWithRef } from 'react';
|
|
2
|
+
interface TreeItemInterface extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
3
|
+
data: any;
|
|
4
|
+
expandedData: Map<string, boolean>;
|
|
5
|
+
setExpandedData: (data: Map<string, boolean>) => void;
|
|
6
|
+
dataMap: Map<string, any>;
|
|
7
|
+
activeUnitId?: string;
|
|
8
|
+
handleChevronClick?: (data: any) => void;
|
|
9
|
+
handleRightClick?: (data: any) => void;
|
|
10
|
+
handleCLick?: (data: any) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const TreeItem: ({ data, expandedData, setExpandedData, dataMap, activeUnitId, handleChevronClick, handleRightClick, handleCLick, }: TreeItemInterface) => React.JSX.Element;
|
|
13
|
+
export default TreeItem;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const useFileTree: (data: any[], alias?: {
|
|
3
|
+
id: null;
|
|
4
|
+
label: null;
|
|
5
|
+
parent: null;
|
|
6
|
+
}) => {
|
|
7
|
+
tree: any[];
|
|
8
|
+
map: Map<any, any>;
|
|
9
|
+
expandedData: Map<string, boolean>;
|
|
10
|
+
setExpandedData: React.Dispatch<React.SetStateAction<Map<string, boolean>>>;
|
|
11
|
+
};
|
|
12
|
+
export default useFileTree;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PopoverProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
content: string;
|
|
6
|
+
delay?: number;
|
|
7
|
+
maxWidth?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
zIndex?: number;
|
|
11
|
+
direction?: 'top' | 'right' | 'bottom' | 'left' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
12
|
+
}
|
|
13
|
+
export interface PopoverItemProps {
|
|
14
|
+
anchorRef: React.RefObject<HTMLElement>;
|
|
15
|
+
className?: string;
|
|
16
|
+
content: string;
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
title: string;
|
|
19
|
+
zIndex?: number;
|
|
20
|
+
direction: 'top' | 'right' | 'bottom' | 'left' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
21
|
+
}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
content: string;
|
|
5
|
-
delay?: number;
|
|
6
|
-
direction?: 'top' | 'right' | 'bottom' | 'left' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
7
|
-
title?: string;
|
|
8
|
-
maxWidth?: string;
|
|
9
|
-
}
|
|
10
|
-
declare function Popover({ children, content, delay, direction, title, maxWidth, }: PopoverProps): React.JSX.Element;
|
|
2
|
+
import { PopoverProps } from './PropInterface';
|
|
3
|
+
declare function Popover({ className, children, content, direction, maxWidth, title, style, zIndex, }: PopoverProps): React.JSX.Element;
|
|
11
4
|
declare namespace Popover {
|
|
12
5
|
var defaultProps: {
|
|
13
|
-
delay: number;
|
|
14
6
|
direction: string;
|
|
15
7
|
title: string;
|
|
16
8
|
};
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode, RefObject } from 'react';
|
|
1
|
+
import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode, RefObject } from 'react';
|
|
2
2
|
interface TooltipProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'> {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
content: ReactNode | string;
|
|
5
5
|
delay?: number;
|
|
6
6
|
maxWidth?: string;
|
|
7
|
+
zIndex?: number;
|
|
7
8
|
direction?: 'top' | 'right' | 'bottom' | 'left' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
8
9
|
}
|
|
9
10
|
interface TooltipItemProps {
|
|
10
11
|
anchorRef: RefObject<HTMLDivElement>;
|
|
11
|
-
|
|
12
|
+
className?: string;
|
|
12
13
|
content: ReactNode | string;
|
|
13
14
|
tooltipContainerRef: React.RefObject<HTMLDivElement>;
|
|
14
15
|
tooltipContainerStyle: React.CSSProperties;
|
|
16
|
+
style?: ComponentPropsWithRef<'div'>['style'];
|
|
17
|
+
zIndex: number;
|
|
18
|
+
direction?: 'top' | 'right' | 'bottom' | 'left' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
15
19
|
}
|
|
16
20
|
export { TooltipProps, TooltipItemProps };
|
|
@@ -6,9 +6,12 @@ export { default as Banner } from './Banner';
|
|
|
6
6
|
export { default as Brand } from './Brand/Brand';
|
|
7
7
|
export { default as Breadcrumb } from './Breadcrumb/Breadcrumb';
|
|
8
8
|
export { Button, ButtonApp, ContextualButton } from './Button';
|
|
9
|
+
export { default as Card } from './Card';
|
|
9
10
|
export { default as Color } from './Color';
|
|
10
11
|
export { default as Divider } from './Divider/Divider';
|
|
11
12
|
export { default as FileTree } from './FileTree';
|
|
13
|
+
export { default as TreeItem } from './FileTree/TreeItem';
|
|
14
|
+
export { default as useFileTree } from './FileTree/useFileTree';
|
|
12
15
|
export { MenuContainer, MenuItem } from './Menu';
|
|
13
16
|
export { TextInput, Radio, TextArea, Checkbox, SelectInput, LiveSearch, Toggle, SegmentButtonItem, SegmentButtonGroup, FormLabel, FormGroup, FormGroupButton, FormGroupLabel, DropdownItem, DropdownContainer, DatePicker, PickerCalendar, } from './Forms';
|
|
14
17
|
export * from './Icons';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ children, disabled, variant, }: {
|
|
6
|
+
children: import("react").ReactNode;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
variant?: "dark-background" | "light-background" | "outline-light-background" | undefined;
|
|
9
|
+
}) => import("react").JSX.Element;
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof meta>;
|
|
17
|
+
export declare const Demo: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: () => import("react").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const NewFileTreeSimulation: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* getRelativeTime
|
|
3
|
+
* Accepts a JavaScript Date and returns a human friendly relative time string.
|
|
4
|
+
* Rules:
|
|
5
|
+
* - < 1 minute: "just now"
|
|
6
|
+
* - < 1 hour: "x minutes ago"
|
|
7
|
+
* - < 1 day: "x hours ago"
|
|
8
|
+
* - < 30 days: "x days ago"
|
|
9
|
+
* - < 12 months: "x months ago" (uses 30-day months approximation)
|
|
10
|
+
* - >= 1 year: "x years ago" (uses 365-day years approximation; floors to whole years,
|
|
11
|
+
* so e.g. 1 year 11 months => "1 years ago" as requested)
|
|
12
|
+
*/
|
|
13
|
+
export declare function getRelativeTime(date: Date): string;
|
package/dist/esm/index.js
CHANGED
|
@@ -101,6 +101,10 @@ function TbCircleCheckFilled (props) {
|
|
|
101
101
|
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M9 6l6 6l-6 6"},"child":[]}]})(props);
|
|
102
102
|
}function TbChevronUp (props) {
|
|
103
103
|
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M6 15l6 -6l6 6"},"child":[]}]})(props);
|
|
104
|
+
}function TbChevronsLeft (props) {
|
|
105
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M11 7l-5 5l5 5"},"child":[]},{"tag":"path","attr":{"d":"M17 7l-5 5l5 5"},"child":[]}]})(props);
|
|
106
|
+
}function TbChevronsRight (props) {
|
|
107
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M7 7l5 5l-5 5"},"child":[]},{"tag":"path","attr":{"d":"M13 7l5 5l-5 5"},"child":[]}]})(props);
|
|
104
108
|
}function TbCrop11 (props) {
|
|
105
109
|
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"},"child":[]}]})(props);
|
|
106
110
|
}function TbDots (props) {
|
|
@@ -457,7 +461,7 @@ var minWidthConfig$1 = {
|
|
|
457
461
|
var iconOnlySizeConfig$1 = {
|
|
458
462
|
lg: 'py-[13px] h-[48px] w-[48px] flex items-center justify-center gap-[10px]',
|
|
459
463
|
md: 'py-[11px] h-[40px] w-[40px] flex items-center justify-center gap-[5px]',
|
|
460
|
-
sm: 'py-[8px] h-[30px] w-[30px] flex items-center justify-center gap-[5px]
|
|
464
|
+
sm: 'py-[8px] h-[30px] w-[30px] flex items-center justify-center gap-[5px]',
|
|
461
465
|
tn: 'py-[4px] h-[22px] w-[22px] flex items-center justify-center gap-[3px]',
|
|
462
466
|
};
|
|
463
467
|
var doubleIconSizeConfig = {
|
|
@@ -475,7 +479,7 @@ var variantConfig$2 = {
|
|
|
475
479
|
warning: "text-primary-white bg-bia-orange active:bg-bia-orange-active hover:bg-bia-orange-hover disabled:bg-bia-orange-light-50 disabled:text-bia-orange-light-90 focus-visible:outline focus-visible:outline-offset-0 focus-visible:outline-bia-orange-light-50 focus-visible:outline-[3px] focus-visible:rounded-md shadow-bia-orange-disabled ".concat(shadow),
|
|
476
480
|
danger: "text-primary-white bg-bia-red active:bg-bia-red-dark-10 hover:bg-bia-red-hover disabled:bg-bia-red-light-50 disabled:text-bia-red-light-90 focus-visible:outline focus-visible:outline-offset-0 focus-visible:outline-bia-red-light-50 focus-visible:outline-[3px] focus-visible:rounded-md shadow-bia-red-disabled ".concat(shadow),
|
|
477
481
|
link: "text-bia-blue bg-transparent hover:text-bia-blue-hover disabled:text-bia-blue-light-50 focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:outline-[3px] focus-visible:rounded-md focus-visible:outline-bia-blue-light-50",
|
|
478
|
-
subtle: "text-primary-cool bg-bia-grey-
|
|
482
|
+
subtle: "text-primary-cool bg-bia-grey-light-50 active:bg-bia-grey-dark-10 hover:bg-bia-grey-hover disabled:bg-bia-grey-light-50 disabled:text-bia-grey-dark-10 focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:outline-[3px] focus-visible:rounded-md focus-visible:outline-bia-blue-light-50 ",
|
|
479
483
|
'subtle-link': "text-bia-coolgrey bg-transparent active:text-bia-blue-dark-10 hover:text-bia-blue-light-10 disabled:text-bia-coolgrey-light-50 focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:outline-[3px] focus-visible:rounded-md focus-visible:outline-bia-blue-light-50 ",
|
|
480
484
|
'default-outlined': "text-primary-black bg-primary-white border-bia-coolgrey border-solid active:bg-bia-coolgrey-light-90 active:border-bia-coolgrey-active hover:border-bia-coolgrey-hover border disabled:bg-primary-white disabled:border-[1px]disabled:border-bia-coolgrey-disabled disabled:text-bia-coolgrey-disabled focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:outline-[3px] focus-visible:rounded-md focus-visible:outline-bia-coolgrey-light-50 focus-visible:border-none",
|
|
481
485
|
'primary-outlined': "bg-primary-white border border-bia-blue active:text-bia-blue-active active:bg-bia-blue-pastel active:border-bia-blue-active hover:text-bia-blue-hover hover:border-bia-blue-hover disabled:border-[1px]disabled:border-bia-blue-disabled disabled:text-bia-blue-disabled focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:outline-bia-blue-disabled focus-visible:outline-[3px] focus-visible:rounded-md text-bia-blue focus-visible:border-none",
|
|
@@ -1553,6 +1557,27 @@ var ContextualButton = forwardRef(function (_a, ref) {
|
|
|
1553
1557
|
actionElement))));
|
|
1554
1558
|
});
|
|
1555
1559
|
|
|
1560
|
+
var config$2 = {
|
|
1561
|
+
'dark-background': 'bg-white hover:bg-bia-grey-light-90 outline-none focus:outline-2 focus:outline-bia-blue-light-50 focus-visible:outline-2 focus-visible:outline-bia-blue-light-50 active:bg-bia-grey-light-80',
|
|
1562
|
+
'light-background': 'bg-bia-grey-light-90 hover:bg-bia-grey-light-80 outline-none focus:outline-2 focus:outline-bia-blue-light-50 focus-visible:outline-2 focus-visible:outline-bia-blue-light-50 active:bg-bia-grey-light-70',
|
|
1563
|
+
'outline-light-background': 'bg-white border border-bia-grey-light-40 hover:bg-bia-grey-light-90 outline-none focus:outline-2 focus:outline-bia-blue-light-50 focus-visible:outline-2 focus-visible:outline-bia-blue-light-50 active:bg-bia-grey-light-80',
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
var Card = function (_a) {
|
|
1567
|
+
var children = _a.children, disabled = _a.disabled, variant = _a.variant;
|
|
1568
|
+
var base = config$2[variant || 'dark-background'];
|
|
1569
|
+
var removeStateClasses = function (cls) {
|
|
1570
|
+
return cls
|
|
1571
|
+
.replace(/\b(?:hover|active|focus-visible|focus):[^\s]+/g, '')
|
|
1572
|
+
.replace(/\s+/g, ' ')
|
|
1573
|
+
.trim();
|
|
1574
|
+
};
|
|
1575
|
+
var cardClassName = disabled
|
|
1576
|
+
? "".concat(removeStateClasses(base), " cursor-not-allowed")
|
|
1577
|
+
: base;
|
|
1578
|
+
return (React.createElement("button", { disabled: disabled, "aria-disabled": disabled, className: "rounded-radius-md p-5 ".concat(cardClassName), tabIndex: disabled ? -1 : 0 }, children));
|
|
1579
|
+
};
|
|
1580
|
+
|
|
1556
1581
|
function Color() {
|
|
1557
1582
|
var colors = [
|
|
1558
1583
|
{
|
|
@@ -1694,7 +1719,7 @@ var FileTree = function (_a) {
|
|
|
1694
1719
|
return (React.createElement("div", { className: "file-tree" },
|
|
1695
1720
|
data.map(function (_a, index) {
|
|
1696
1721
|
var label = _a.label, nodes = _a.nodes, props = __rest(_a, ["label", "nodes"]);
|
|
1697
|
-
return (React.createElement(TreeItem, __assign({ label: label, nodes: nodes, key: index, color: color, chevronColor: chevronColor, handleRightClick: handleRightClick, onMouseDownTreeItem: onMouseDown }, props)));
|
|
1722
|
+
return (React.createElement(TreeItem$1, __assign({ label: label, nodes: nodes, key: index, color: color, chevronColor: chevronColor, handleRightClick: handleRightClick, onMouseDownTreeItem: onMouseDown }, props)));
|
|
1698
1723
|
}),
|
|
1699
1724
|
isOpenContMenu && (React.createElement("div", { style: menuStyle, ref: popupRef, className: "bianic-filetree-contextmenu" }, React.isValidElement(contextMenu)
|
|
1700
1725
|
? // Kirimkan handleItemClick sebagai props onClick ke setiap MenuItem
|
|
@@ -1704,7 +1729,7 @@ var FileTree = function (_a) {
|
|
|
1704
1729
|
})
|
|
1705
1730
|
: contextMenu))));
|
|
1706
1731
|
};
|
|
1707
|
-
var TreeItem = function (_a) {
|
|
1732
|
+
var TreeItem$1 = function (_a) {
|
|
1708
1733
|
var label = _a.label, nodes = _a.nodes, color = _a.color, chevronColor = _a.chevronColor, handleRightClick = _a.handleRightClick, onMouseDownTreeItem = _a.onMouseDownTreeItem, props = __rest(_a, ["label", "nodes", "color", "chevronColor", "handleRightClick", "onMouseDownTreeItem"]);
|
|
1709
1734
|
var treeRef = useRef(null);
|
|
1710
1735
|
var _b = useState(false), isExpand = _b[0], setIsExpand = _b[1];
|
|
@@ -1745,10 +1770,106 @@ var TreeItem = function (_a) {
|
|
|
1745
1770
|
React.createElement(Text, { variant: "small-text" }, label))),
|
|
1746
1771
|
isExpand && nodes && nodes.length > 0 && (React.createElement("div", { className: "ml-4" }, nodes.map(function (_a, index) {
|
|
1747
1772
|
var label = _a.label, nodes = _a.nodes, props = __rest(_a, ["label", "nodes"]);
|
|
1748
|
-
return (React.createElement(TreeItem, __assign({ label: label, nodes: nodes, key: index, color: color, handleRightClick: handleRightClick, onMouseDownTreeItem: onMouseDownTreeItem }, props)));
|
|
1773
|
+
return (React.createElement(TreeItem$1, __assign({ label: label, nodes: nodes, key: index, color: color, handleRightClick: handleRightClick, onMouseDownTreeItem: onMouseDownTreeItem }, props)));
|
|
1749
1774
|
})))));
|
|
1750
1775
|
};
|
|
1751
1776
|
|
|
1777
|
+
var TreeItem = function (_a) {
|
|
1778
|
+
var data = _a.data, expandedData = _a.expandedData, setExpandedData = _a.setExpandedData, dataMap = _a.dataMap, activeUnitId = _a.activeUnitId, handleChevronClick = _a.handleChevronClick, handleRightClick = _a.handleRightClick, handleCLick = _a.handleCLick;
|
|
1779
|
+
var isExpanded = !!expandedData.get(data.id);
|
|
1780
|
+
var toogleExpand = function () {
|
|
1781
|
+
var isCurrentlyExpanded = !!expandedData.get(data.id);
|
|
1782
|
+
// create a new Map based on the existing one
|
|
1783
|
+
var newExpandedState = new Map(expandedData);
|
|
1784
|
+
if (isCurrentlyExpanded) {
|
|
1785
|
+
// Logic to collapse this data and all its descendants
|
|
1786
|
+
var collapseDescendants_1 = function (parent) {
|
|
1787
|
+
newExpandedState.set(parent.id, false);
|
|
1788
|
+
if (parent.children && parent.children.length > 0)
|
|
1789
|
+
parent.children.forEach(function (child) { return collapseDescendants_1(child); });
|
|
1790
|
+
};
|
|
1791
|
+
collapseDescendants_1(data);
|
|
1792
|
+
}
|
|
1793
|
+
else {
|
|
1794
|
+
// Logic to expand this data and all its ancestors
|
|
1795
|
+
var current = data;
|
|
1796
|
+
while (current) {
|
|
1797
|
+
newExpandedState.set(current.id, true);
|
|
1798
|
+
current = dataMap[current.parent];
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
setExpandedData(newExpandedState);
|
|
1802
|
+
};
|
|
1803
|
+
var clickItemHandler = function () {
|
|
1804
|
+
if (data.children && !isExpanded)
|
|
1805
|
+
toogleExpand();
|
|
1806
|
+
// forward selection event to optional handler; cast is used because this is a click callback without a MouseEvent
|
|
1807
|
+
handleCLick === null || handleCLick === void 0 ? void 0 : handleCLick(data);
|
|
1808
|
+
};
|
|
1809
|
+
var chevronClickHandler = function () {
|
|
1810
|
+
toogleExpand();
|
|
1811
|
+
handleChevronClick === null || handleChevronClick === void 0 ? void 0 : handleChevronClick(data);
|
|
1812
|
+
};
|
|
1813
|
+
return (React.createElement("div", { className: "tree-item" },
|
|
1814
|
+
React.createElement("div", { className: "tree-item-header flex items-center justify-start" },
|
|
1815
|
+
data.children ? (React.createElement("button", { className: "tree-item-chevron", onClick: chevronClickHandler, type: "button" },
|
|
1816
|
+
React.createElement(TbChevronRight, { className: "chevron ".concat(activeUnitId === data.id ? 'text-bia-green hover:text-bia-green-light-10' : 'text-bia-coolgrey-light-50 hover:text-bia-coolgrey-light-20', " ").concat(isExpanded ? 'rotate-90' : ''), size: 18 }))) : (React.createElement("div", { className: "chevron-placeholder aspect-square min-w-[18px]" })),
|
|
1817
|
+
React.createElement("button", { className: "tree-item-label rounded-radius-sm px-0.5 py-[0.5px] text-start font-segoe text-size-sm font-normal text-bia-black ".concat(activeUnitId === data.id ? 'bg-bia-green-light-70' : 'hover:bg-bia-coolgrey-light-90'), onClick: clickItemHandler, type: "button", onContextMenu: function (e) {
|
|
1818
|
+
e.preventDefault();
|
|
1819
|
+
handleRightClick === null || handleRightClick === void 0 ? void 0 : handleRightClick(data);
|
|
1820
|
+
} }, data.label)),
|
|
1821
|
+
isExpanded && data.children && (React.createElement("div", { className: "tree-item-children flex flex-col gap-0.5 rounded-radius-sm pl-[18px]" }, data.children.map(function (childUnit) { return (React.createElement(TreeItem, { key: childUnit.id, data: childUnit, expandedData: expandedData, setExpandedData: setExpandedData, dataMap: dataMap, activeUnitId: activeUnitId, handleRightClick: handleRightClick, handleCLick: handleCLick })); })))));
|
|
1822
|
+
};
|
|
1823
|
+
|
|
1824
|
+
var defaultAlias = {
|
|
1825
|
+
id: null,
|
|
1826
|
+
label: null,
|
|
1827
|
+
parent: null,
|
|
1828
|
+
};
|
|
1829
|
+
var unitTransformator = function (unit, alias) {
|
|
1830
|
+
var _a, _b, _c;
|
|
1831
|
+
if (alias === void 0) { alias = defaultAlias; }
|
|
1832
|
+
var newUnit = {
|
|
1833
|
+
id: unit[(_a = alias.id) !== null && _a !== void 0 ? _a : 'id'],
|
|
1834
|
+
label: unit[(_b = alias.label) !== null && _b !== void 0 ? _b : 'label'],
|
|
1835
|
+
parent: unit[(_c = alias.parent) !== null && _c !== void 0 ? _c : 'parent'],
|
|
1836
|
+
children: [],
|
|
1837
|
+
data: __assign({}, unit),
|
|
1838
|
+
}; // new unit object that will used in TreeItem Component
|
|
1839
|
+
return newUnit;
|
|
1840
|
+
};
|
|
1841
|
+
var useFileTree = function (data, alias) {
|
|
1842
|
+
if (alias === void 0) { alias = defaultAlias; }
|
|
1843
|
+
var _a = useState(function () { return new Map(); }), expandedData = _a[0], setExpandedData = _a[1];
|
|
1844
|
+
var usedAlias = __assign(__assign({}, defaultAlias), alias);
|
|
1845
|
+
// A map to store all items by their ID for quick lookup
|
|
1846
|
+
var map = new Map();
|
|
1847
|
+
// An array to hold the root-level objects
|
|
1848
|
+
var tree = [];
|
|
1849
|
+
// First, create a map of all items
|
|
1850
|
+
data.forEach(function (unit) {
|
|
1851
|
+
map.set(unit['id'], unitTransformator(unit, usedAlias));
|
|
1852
|
+
});
|
|
1853
|
+
// build tree structure by linkiing children to parents
|
|
1854
|
+
map.forEach(function (unit) {
|
|
1855
|
+
var parent = map.get(unit.parent);
|
|
1856
|
+
if (parent) {
|
|
1857
|
+
// Find the correct insertion point for the new child
|
|
1858
|
+
var insertionIndex = parent.children.findIndex(function (child) {
|
|
1859
|
+
return unit.label.toLowerCase().localeCompare(child.label.toLowerCase()) < 0;
|
|
1860
|
+
});
|
|
1861
|
+
// Insert the new child at the correct position
|
|
1862
|
+
if (insertionIndex === -1)
|
|
1863
|
+
parent.children.push(unit);
|
|
1864
|
+
else
|
|
1865
|
+
parent.children.splice(insertionIndex, 0, unit);
|
|
1866
|
+
}
|
|
1867
|
+
else
|
|
1868
|
+
tree.push(unit);
|
|
1869
|
+
});
|
|
1870
|
+
return { tree: tree, map: map, expandedData: expandedData, setExpandedData: setExpandedData };
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1752
1873
|
var getContextualPopupStyle = function (anchorRef, popupRef, position) {
|
|
1753
1874
|
if (!anchorRef.current || !popupRef.current) {
|
|
1754
1875
|
return {};
|
|
@@ -1987,15 +2108,15 @@ MenuItem.defaultProps = {
|
|
|
1987
2108
|
};
|
|
1988
2109
|
|
|
1989
2110
|
function Tooltip(props) {
|
|
1990
|
-
var children = props.children, content = props.content, delay = props.delay, _a = props.direction, direction = _a === void 0 ? 'top' : _a, _b = props.maxWidth, maxWidth = _b === void 0 ? undefined : _b;
|
|
2111
|
+
var children = props.children, content = props.content, delay = props.delay, _a = props.direction, direction = _a === void 0 ? 'top' : _a, _b = props.maxWidth, maxWidth = _b === void 0 ? undefined : _b, _c = props.zIndex, zIndex = _c === void 0 ? 150 : _c, className = props.className, style = props.style;
|
|
1991
2112
|
var timeout;
|
|
1992
|
-
var
|
|
2113
|
+
var _d = useState(false), active = _d[0], setActive = _d[1];
|
|
1993
2114
|
var anchorRef = useRef(null);
|
|
1994
2115
|
var tooltipContainerRef = useRef(null);
|
|
1995
|
-
var
|
|
2116
|
+
var _e = useState({
|
|
1996
2117
|
maxWidth: maxWidth + 'px',
|
|
1997
2118
|
whiteSpace: 'nowrap',
|
|
1998
|
-
}), tooltipContainerStyle =
|
|
2119
|
+
}), tooltipContainerStyle = _e[0], setTooltipContainerStyle = _e[1];
|
|
1999
2120
|
var showTip = function () {
|
|
2000
2121
|
timeout = setTimeout(function () {
|
|
2001
2122
|
setActive(true);
|
|
@@ -2039,12 +2160,12 @@ function Tooltip(props) {
|
|
|
2039
2160
|
}, [content, maxWidth, scrollWidth, offsetHeight]);
|
|
2040
2161
|
return (React.createElement("div", { className: "tooltip-wrapper relative inline-flex h-fit w-fit flex-col", onMouseEnter: showTip, onMouseLeave: hideTip, ref: anchorRef },
|
|
2041
2162
|
children,
|
|
2042
|
-
active && (React.createElement(TooltipItem, { anchorRef: anchorRef, direction: direction, content: content, tooltipContainerRef: tooltipContainerRef, tooltipContainerStyle: tooltipContainerStyle }))));
|
|
2163
|
+
active && (React.createElement(TooltipItem, { anchorRef: anchorRef, direction: direction, content: content, tooltipContainerRef: tooltipContainerRef, tooltipContainerStyle: tooltipContainerStyle, zIndex: zIndex, className: className, style: style }))));
|
|
2043
2164
|
}
|
|
2044
2165
|
var TooltipItem = function (_a) {
|
|
2045
|
-
var anchorRef = _a.anchorRef,
|
|
2166
|
+
var anchorRef = _a.anchorRef, className = _a.className, content = _a.content, direction = _a.direction, style = _a.style, tooltipContainerRef = _a.tooltipContainerRef, tooltipContainerStyle = _a.tooltipContainerStyle, zIndex = _a.zIndex;
|
|
2046
2167
|
var positionStyle = usePopupPosition(anchorRef, tooltipContainerRef, direction)[0];
|
|
2047
|
-
return createPortal(React.createElement("div", { className: "tooltip-container break-word absolute
|
|
2168
|
+
return createPortal(React.createElement("div", { className: "tooltip-container break-word absolute inline-block break-all rounded-[4px] bg-primary-black px-[7px] py-[4px] text-size-sm text-primary-white ".concat(className), style: __assign(__assign(__assign({ zIndex: zIndex }, positionStyle), tooltipContainerStyle), style), ref: tooltipContainerRef }, content), document.body);
|
|
2048
2169
|
};
|
|
2049
2170
|
Tooltip.defaultProps = {
|
|
2050
2171
|
delay: 400,
|
|
@@ -3588,48 +3709,78 @@ var positionConfig = {
|
|
|
3588
3709
|
end: 'justify-end',
|
|
3589
3710
|
};
|
|
3590
3711
|
|
|
3712
|
+
var SelectedPage = function (_a) {
|
|
3713
|
+
var label = _a.label, _b = _a.size, size = _b === void 0 ? 'sm' : _b;
|
|
3714
|
+
var basicButtonStyle = 'bianic-custom-button bianic-fgc-target flex items-center justify-center font-semibold cursor-default';
|
|
3715
|
+
var basicColorStyle = 'text-primary-cool bg-bia-grey-dark-10 focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:outline-[3px] focus-visible:rounded-md focus-visible:outline-bia-blue-light-50';
|
|
3716
|
+
var textStyleOptions = {
|
|
3717
|
+
sm: 'text-size-sm',
|
|
3718
|
+
md: 'text-size-base',
|
|
3719
|
+
};
|
|
3720
|
+
var sizeStyleOptions = "".concat(iconOnlySizeConfig$1[size], " ").concat(radiusConfig$1['default'][size]);
|
|
3721
|
+
var style = "".concat(basicButtonStyle, " ").concat(basicColorStyle, " ").concat(sizeStyleOptions, " ").concat(textStyleOptions[size]);
|
|
3722
|
+
return React.createElement("div", { className: style }, label);
|
|
3723
|
+
};
|
|
3724
|
+
|
|
3591
3725
|
function PaginationBar(_a) {
|
|
3592
3726
|
var size = _a.size, position = _a.position, currentPage = _a.currentPage, totalPages = _a.totalPages, onPageChange = _a.onPageChange;
|
|
3593
|
-
var
|
|
3594
|
-
var
|
|
3727
|
+
var totalRange = Array.from({ length: totalPages }, function (_, i) { return i + 1; });
|
|
3728
|
+
var PAGE_SIZE = 5;
|
|
3729
|
+
var _b = useState(0), startIndex = _b[0], setStartIndex = _b[1];
|
|
3730
|
+
var _c = useState(totalRange.slice(startIndex, PAGE_SIZE)), showedPages = _c[0], setShowedPages = _c[1];
|
|
3595
3731
|
var buttonSizingStyle = size === 'sm' ? 31 : 38;
|
|
3596
3732
|
var iconSize = size === 'sm' ? 14 : 18;
|
|
3597
|
-
useEffect(function () {
|
|
3598
|
-
var tempRange = [];
|
|
3599
|
-
for (var i = 1; i <= totalPages; i += 1) {
|
|
3600
|
-
tempRange.push(i);
|
|
3601
|
-
}
|
|
3602
|
-
setRange(tempRange);
|
|
3603
|
-
}, [totalPages]);
|
|
3604
|
-
useEffect(function () {
|
|
3605
|
-
var usedRange = [];
|
|
3606
|
-
var startRange = 0;
|
|
3607
|
-
var endRange = totalPages > 5 ? 5 : totalPages;
|
|
3608
|
-
if (totalPages > 5) {
|
|
3609
|
-
if (currentPage < 3) {
|
|
3610
|
-
endRange = 5;
|
|
3611
|
-
}
|
|
3612
|
-
else if (currentPage >= totalPages - 1) {
|
|
3613
|
-
startRange = totalPages - 5;
|
|
3614
|
-
endRange = totalPages;
|
|
3615
|
-
}
|
|
3616
|
-
else {
|
|
3617
|
-
startRange = currentPage - 3;
|
|
3618
|
-
endRange = currentPage + 2;
|
|
3619
|
-
}
|
|
3620
|
-
}
|
|
3621
|
-
usedRange = range.slice(startRange, endRange);
|
|
3622
|
-
setShowedPages(usedRange);
|
|
3623
|
-
}, [currentPage, totalPages, range]);
|
|
3624
3733
|
var handlePageChange = function (page) {
|
|
3625
|
-
if (page >= 1 && page <= totalPages)
|
|
3734
|
+
if (page >= 1 && page <= totalPages)
|
|
3626
3735
|
onPageChange(page);
|
|
3627
|
-
}
|
|
3628
3736
|
};
|
|
3737
|
+
var handleNextRange = function () {
|
|
3738
|
+
var newStartIndex = startIndex + PAGE_SIZE;
|
|
3739
|
+
if (newStartIndex < totalPages)
|
|
3740
|
+
setStartIndex(newStartIndex);
|
|
3741
|
+
else
|
|
3742
|
+
setStartIndex(totalPages - PAGE_SIZE);
|
|
3743
|
+
};
|
|
3744
|
+
var handlePrevRange = function () {
|
|
3745
|
+
var newStartIndex = startIndex - PAGE_SIZE;
|
|
3746
|
+
if (newStartIndex >= 0)
|
|
3747
|
+
setStartIndex(newStartIndex);
|
|
3748
|
+
else
|
|
3749
|
+
setStartIndex(0);
|
|
3750
|
+
};
|
|
3751
|
+
var getStartIndex = function (index) {
|
|
3752
|
+
if (index + PAGE_SIZE > totalPages)
|
|
3753
|
+
return Math.max(0, totalPages - PAGE_SIZE);
|
|
3754
|
+
return index;
|
|
3755
|
+
};
|
|
3756
|
+
useEffect(function () {
|
|
3757
|
+
var correctedIndex = getStartIndex(startIndex);
|
|
3758
|
+
setShowedPages(totalRange.slice(correctedIndex, correctedIndex + PAGE_SIZE));
|
|
3759
|
+
}, [startIndex, totalRange, totalPages]);
|
|
3629
3760
|
return (React.createElement("div", { className: "flex ".concat(positionConfig[position], " gap-[5px]") },
|
|
3630
|
-
React.createElement(Button, { variant: "subtle
|
|
3631
|
-
|
|
3632
|
-
|
|
3761
|
+
totalPages > 5 && (React.createElement(Button, { variant: "subtle", size: size, type: "button", onClick: handlePrevRange, className: showedPages[0] === 1 ? '' : 'cursor-pointer', iconLeft: React.createElement(TbChevronsLeft, { size: iconSize }), disabled: showedPages[0] === 1 })),
|
|
3762
|
+
React.createElement(Button, { variant: "subtle", size: size, type: "button", onClick: function () {
|
|
3763
|
+
handlePageChange(currentPage - 1);
|
|
3764
|
+
if (showedPages[0] === currentPage)
|
|
3765
|
+
setStartIndex(function (old) { return old - 1; });
|
|
3766
|
+
}, className: currentPage === 1 ? '' : 'cursor-pointer', iconLeft: React.createElement(TbChevronLeft, { size: iconSize }), disabled: currentPage === 1 }),
|
|
3767
|
+
showedPages.map(function (page) {
|
|
3768
|
+
if (page === currentPage) {
|
|
3769
|
+
return React.createElement(SelectedPage, { key: page, label: page.toString(), size: size });
|
|
3770
|
+
}
|
|
3771
|
+
return (React.createElement(Button, { key: page, variant: "subtle", size: size, type: "button", onClick: function () {
|
|
3772
|
+
handlePageChange(page);
|
|
3773
|
+
}, className: "cursor-pointer ".concat(sizeConfig$2[size]), label: page.toString(), minWidth: buttonSizingStyle }));
|
|
3774
|
+
}),
|
|
3775
|
+
React.createElement(Button, { variant: "subtle", size: size, type: "button", onClick: function () {
|
|
3776
|
+
handlePageChange(currentPage + 1);
|
|
3777
|
+
if (showedPages[4] === currentPage) {
|
|
3778
|
+
setStartIndex(function (old) { return old + 1; });
|
|
3779
|
+
}
|
|
3780
|
+
}, className: currentPage === totalPages ? '' : 'cursor-pointer', iconLeft: React.createElement(TbChevronRight, { size: iconSize }), disabled: currentPage === totalPages }),
|
|
3781
|
+
totalPages > 5 && (React.createElement(Button, { variant: "subtle", size: size, type: "button", onClick: handleNextRange, className: showedPages[showedPages.length - 1] === totalPages
|
|
3782
|
+
? ''
|
|
3783
|
+
: 'cursor-pointer', iconLeft: React.createElement(TbChevronsRight, { size: iconSize }), disabled: showedPages[showedPages.length - 1] === totalPages }))));
|
|
3633
3784
|
}
|
|
3634
3785
|
|
|
3635
3786
|
var activeConfig = {
|
|
@@ -3714,20 +3865,19 @@ var classConfig = {
|
|
|
3714
3865
|
};
|
|
3715
3866
|
|
|
3716
3867
|
function Popover(_a) {
|
|
3717
|
-
var children = _a.children, content = _a.content
|
|
3868
|
+
var className = _a.className, children = _a.children, content = _a.content, _b = _a.direction, direction = _b === void 0 ? 'bottom' : _b; _a.maxWidth; var _c = _a.title, title = _c === void 0 ? '' : _c, style = _a.style, zIndex = _a.zIndex;
|
|
3718
3869
|
var wrapperRef = useRef(null);
|
|
3719
|
-
|
|
3720
|
-
var _e = useDetectOutsideClick(wrapperRef, false), isOpen = _e[0], setIsOpen = _e[1];
|
|
3870
|
+
var _d = useDetectOutsideClick(wrapperRef, false), isOpen = _d[0], setIsOpen = _d[1];
|
|
3721
3871
|
return (React.createElement("div", { className: "Bianic-popover-Wrapper relative block h-fit w-fit", role: "button", ref: wrapperRef, onClick: function () { return setIsOpen(true); } },
|
|
3722
3872
|
children,
|
|
3723
|
-
isOpen && (React.createElement(PopoverItem, { title: title, content: content, anchorRef: wrapperRef, direction: direction }))));
|
|
3873
|
+
isOpen && (React.createElement(PopoverItem, { title: title, content: content, anchorRef: wrapperRef, direction: direction, className: className, style: style, zIndex: zIndex }))));
|
|
3724
3874
|
}
|
|
3725
3875
|
var PopoverItem = function (_a) {
|
|
3726
|
-
var title = _a.title, content = _a.content, anchorRef = _a.anchorRef, direction = _a.direction;
|
|
3876
|
+
var title = _a.title, content = _a.content, anchorRef = _a.anchorRef, direction = _a.direction, className = _a.className, style = _a.style, zIndex = _a.zIndex;
|
|
3727
3877
|
var popoverRef = useRef(null);
|
|
3728
3878
|
var positionStyle = usePopupPosition(anchorRef, popoverRef, direction)[0];
|
|
3729
3879
|
var _b = classConfig[direction], triangleContainer = _b.triangleContainer, triangleShape = _b.triangleShape;
|
|
3730
|
-
return createPortal(React.createElement("div", { ref: popoverRef, style: positionStyle, className: "Bianic-popover-Tip text-bia-sm absolute z-50 w-[245px] space-y-[5px] rounded-[4px] bg-primary-black px-[20px] py-[17.5px] text-primary-white" },
|
|
3880
|
+
return createPortal(React.createElement("div", { ref: popoverRef, style: __assign(__assign(__assign({}, positionStyle), style), { zIndex: zIndex }), className: "Bianic-popover-Tip text-bia-sm absolute z-50 w-[245px] space-y-[5px] rounded-[4px] bg-primary-black px-[20px] py-[17.5px] text-primary-white ".concat(className) },
|
|
3731
3881
|
React.createElement("div", { className: "flex flex-col" },
|
|
3732
3882
|
React.createElement("div", { className: "mb-[5px] font-humnst777 text-[16px] font-bold leading-[19.42px]" }, title),
|
|
3733
3883
|
React.createElement("div", { className: "break-words font-segoe text-[12px] font-normal" }, content)),
|
|
@@ -3735,7 +3885,6 @@ var PopoverItem = function (_a) {
|
|
|
3735
3885
|
React.createElement("div", { className: "h-0 w-0 ".concat(triangleShape) }))), document.body);
|
|
3736
3886
|
};
|
|
3737
3887
|
Popover.defaultProps = {
|
|
3738
|
-
delay: 400,
|
|
3739
3888
|
direction: 'top',
|
|
3740
3889
|
title: '',
|
|
3741
3890
|
};
|
|
@@ -4269,4 +4418,4 @@ function Window(_a) {
|
|
|
4269
4418
|
React.createElement("div", { className: "bianic-window-content flex w-full flex-col items-start gap-[20px] px-[20px] pb-[20px] text-primary-black" }, rest.children)));
|
|
4270
4419
|
}
|
|
4271
4420
|
|
|
4272
|
-
export { Accordions, Alert, Avatar, AlertRoundedSquare as BCAlertRoundedSquare, CubeHeader as BCCubeHeader, Discrepancy as BCDiscrepancy, ExposedPort as BCExposedPort, FQAnalytical as BCFQAnalytical, FQGetaway as BCFQGetaway, FQModeler as BCFQModeler, FQOperation as BCFQOperation, FQWelldone as BCFQWelldone, Flowqount as BCFlowqount, Inlet as BCInlet, Legend as BCLegend, ModalBalance as BCModalBalance, Neutral as BCNeutral, Node as BCNode, Outlet as BCOutlet, Port as BCPort, SelectAllAdd as BCSelectAllAdd, SelectAllRemove as BCSelectAllRemove, Spinner$1 as BCSpinner, Stack as BCStack, VirtualPort as BCVirtualPort, Badge, Banner, Brand, Breadcrumb, Button, ButtonApp, Checkbox, Color, ContextualButton, DatePicker, Display, Divider, DropdownContainer, DropdownItem, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, Slider, Spinner, Tab, TabMenu, TableCell, TagLabel, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, Window };
|
|
4421
|
+
export { Accordions, Alert, Avatar, AlertRoundedSquare as BCAlertRoundedSquare, CubeHeader as BCCubeHeader, Discrepancy as BCDiscrepancy, ExposedPort as BCExposedPort, FQAnalytical as BCFQAnalytical, FQGetaway as BCFQGetaway, FQModeler as BCFQModeler, FQOperation as BCFQOperation, FQWelldone as BCFQWelldone, Flowqount as BCFlowqount, Inlet as BCInlet, Legend as BCLegend, ModalBalance as BCModalBalance, Neutral as BCNeutral, Node as BCNode, Outlet as BCOutlet, Port as BCPort, SelectAllAdd as BCSelectAllAdd, SelectAllRemove as BCSelectAllRemove, Spinner$1 as BCSpinner, Stack as BCStack, VirtualPort as BCVirtualPort, Badge, Banner, Brand, Breadcrumb, Button, ButtonApp, Card, Checkbox, Color, ContextualButton, DatePicker, Display, Divider, DropdownContainer, DropdownItem, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, Slider, Spinner, Tab, TabMenu, TableCell, TagLabel, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, Window, useFileTree };
|