@rainbow-robotics/plugin-ui 1.0.4 → 1.0.5-dev.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/react.d.ts +693 -76
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
|
-
import React__default, { ReactNode, MouseEvent, InputHTMLAttributes, MouseEventHandler, ReactElement, ChangeEvent, CSSProperties, TextareaHTMLAttributes, ComponentProps, Dispatch, SetStateAction, HTMLInputAutoCompleteAttribute, RefObject } from 'react';
|
|
5
|
+
import React__default, { ReactNode, MouseEvent, InputHTMLAttributes, MouseEventHandler, ReactElement, ChangeEvent, CSSProperties, ComponentType, TextareaHTMLAttributes, ComponentProps, Dispatch, SetStateAction, HTMLInputAutoCompleteAttribute, RefObject, HTMLAttributes } from 'react';
|
|
6
6
|
import { Matcher, DayPicker } from 'react-day-picker';
|
|
7
7
|
import * as ShadDialogPrimitive from '@radix-ui/react-dialog';
|
|
8
8
|
import { Command } from 'cmdk';
|
|
@@ -17,6 +17,8 @@ import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
|
17
17
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
18
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
19
19
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
20
|
+
import { PolygonLayer, PathLayer, PointCloudLayer } from '@deck.gl/layers';
|
|
21
|
+
import { Layer } from '@deck.gl/core';
|
|
20
22
|
|
|
21
23
|
declare const batteryStatuses: readonly ["empty", "critical", "low", "normal", "full"];
|
|
22
24
|
type BatteryStatus = (typeof batteryStatuses)[number];
|
|
@@ -297,7 +299,7 @@ declare const accordionVariants: (props?: {
|
|
|
297
299
|
} & class_variance_authority_types.ClassProp) => string;
|
|
298
300
|
type AccordionVariantProps = VariantProps<typeof accordionVariants>;
|
|
299
301
|
|
|
300
|
-
interface PropsType$
|
|
302
|
+
interface PropsType$t {
|
|
301
303
|
className?: string;
|
|
302
304
|
headerClassName?: string;
|
|
303
305
|
/**
|
|
@@ -356,12 +358,12 @@ interface PropsType$r {
|
|
|
356
358
|
/**
|
|
357
359
|
* Accordion 컴포넌트는 접고 펼칠 수 있는 UI를 제공합니다.
|
|
358
360
|
*/
|
|
359
|
-
declare const Accordion: ({ className, headerClassName, name, title, ripple, icon, dividerColor, open, initialOpen, children, disabled, type, handleOpenChange, }: PropsType$
|
|
361
|
+
declare const Accordion: ({ className, headerClassName, name, title, ripple, icon, dividerColor, open, initialOpen, children, disabled, type, handleOpenChange, }: PropsType$t) => react_jsx_runtime.JSX.Element;
|
|
360
362
|
|
|
361
363
|
type Props$f = {
|
|
362
364
|
className?: string;
|
|
363
365
|
/** accordion 리스트 정보를 담은 배열 */
|
|
364
|
-
list: Omit<PropsType$
|
|
366
|
+
list: Omit<PropsType$t & {
|
|
365
367
|
key?: string | number;
|
|
366
368
|
}, "handleOpenChange">[];
|
|
367
369
|
icon?: string | ReactElement;
|
|
@@ -456,7 +458,21 @@ declare const textInputVariants: (props?: {
|
|
|
456
458
|
} & class_variance_authority_types.ClassProp) => string;
|
|
457
459
|
type TextInputVariantProps = VariantProps<typeof textInputVariants>;
|
|
458
460
|
|
|
459
|
-
|
|
461
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
interface ModalPropsType<T = AllowAny> {
|
|
465
|
+
children?: ReactNode;
|
|
466
|
+
className?: string;
|
|
467
|
+
open: boolean;
|
|
468
|
+
close: () => void | Promise<unknown>;
|
|
469
|
+
onOpenChange: (open: boolean) => void;
|
|
470
|
+
resolve: (value: T, useClose?: boolean) => void;
|
|
471
|
+
enableDimClose?: boolean;
|
|
472
|
+
hideCloseButton?: boolean;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
interface PropsType$s extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
460
476
|
className?: string;
|
|
461
477
|
/**
|
|
462
478
|
* TextInput 크기
|
|
@@ -494,6 +510,7 @@ interface PropsType$q extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"
|
|
|
494
510
|
* `ex) resetIcon={<SvgIcoClose2 />}`
|
|
495
511
|
*/
|
|
496
512
|
resetIcon?: ReactElement;
|
|
513
|
+
variableModal?: ComponentType<ModalPropsType<string>>;
|
|
497
514
|
/** 입력 값 검증을 위한 정규 표현식 또는 함수 */
|
|
498
515
|
validate?: RegExp | ((value: string) => string) | ((value: number) => number);
|
|
499
516
|
/** 리셋 버튼 숨김 처리 여부 */
|
|
@@ -511,7 +528,7 @@ interface PropsType$q extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"
|
|
|
511
528
|
* `TextInput` 컴포넌트는 다양한 유형의 입력 필드를 생성하기 위한 컴포넌트입니다.
|
|
512
529
|
* 이 컴포넌트는 사용자 입력을 받고, 이를 검증하며, 입력 값이 변경될 때마다 지정된 함수를 호출할 수 있습니다.
|
|
513
530
|
*/
|
|
514
|
-
declare const RBTextInput: React$1.ForwardRefExoticComponent<PropsType$
|
|
531
|
+
declare const RBTextInput: React$1.ForwardRefExoticComponent<PropsType$s & React$1.RefAttributes<HTMLInputElement>>;
|
|
515
532
|
|
|
516
533
|
declare const textAreaVariantsList: readonly ["default", "success"];
|
|
517
534
|
type TextAreaVariant = (typeof textAreaVariantsList)[number];
|
|
@@ -536,6 +553,7 @@ interface Props$e extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
|
536
553
|
readOnly?: boolean;
|
|
537
554
|
maxLength?: number;
|
|
538
555
|
error?: boolean;
|
|
556
|
+
variableModal?: ComponentType<ModalPropsType<string>>;
|
|
539
557
|
handleChange?: (value: string, name?: string) => void;
|
|
540
558
|
}
|
|
541
559
|
/**
|
|
@@ -669,20 +687,6 @@ type RangePresetKey = "last-24-hours" | "last-3-days" | "last-week" | "last-mont
|
|
|
669
687
|
*/
|
|
670
688
|
declare const RangeDateInput: ({ className, calendarPanelClassName, showType, value, name, min, max, placeholder, disabled, disabledDates, readOnly, size, variant, error, showPresets, showFooter, handleChange, presets, }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
671
689
|
|
|
672
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
interface ModalPropsType<T = AllowAny> {
|
|
676
|
-
children?: ReactNode;
|
|
677
|
-
className?: string;
|
|
678
|
-
open: boolean;
|
|
679
|
-
close: () => void | Promise<unknown>;
|
|
680
|
-
onOpenChange: (open: boolean) => void;
|
|
681
|
-
resolve: (value: T, useClose?: boolean) => void;
|
|
682
|
-
enableDimClose?: boolean;
|
|
683
|
-
hideCloseButton?: boolean;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
690
|
interface Props$b extends ModalPropsType<boolean> {
|
|
687
691
|
className?: string;
|
|
688
692
|
/** alert 타이틀 */
|
|
@@ -761,13 +765,13 @@ interface Props$a extends ModalPropsType<boolean> {
|
|
|
761
765
|
declare const RBConfirm: ({ className, open, onOpenChange, title, description, content, contentClassName, buttonText, buttonClassName, buttonWrapperClassName, snapshotCnt, containerId, onConfirm, onCancel, resolve, }: Props$a) => react_jsx_runtime.JSX.Element;
|
|
762
766
|
|
|
763
767
|
type HelperTone = "default" | "error" | "success";
|
|
764
|
-
interface PropsType$
|
|
768
|
+
interface PropsType$r {
|
|
765
769
|
className?: string;
|
|
766
770
|
helperText?: React.ReactNode;
|
|
767
771
|
helperTone?: HelperTone;
|
|
768
772
|
}
|
|
769
773
|
/** 입력 필드 하단의 안내/오류 메시지를 표시하는 컴포넌트 */
|
|
770
|
-
declare function RBTextHelperText({ className, helperText, helperTone, }: PropsType$
|
|
774
|
+
declare function RBTextHelperText({ className, helperText, helperTone, }: PropsType$r): react_jsx_runtime.JSX.Element;
|
|
771
775
|
|
|
772
776
|
interface Props$9 extends ModalPropsType<string> {
|
|
773
777
|
className?: string;
|
|
@@ -831,10 +835,10 @@ interface Props$9 extends ModalPropsType<string> {
|
|
|
831
835
|
*/
|
|
832
836
|
declare const RBPrompt: ({ className, open, onOpenChange, title, content, contentClassName, placeholder, inputType, inputElement, label, description, required, helperText, helperTone, autoFocus, value, buttonText, buttonClassName, buttonWrapperClassName, containerId, snapshotCnt, resolve, close, }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
833
837
|
|
|
834
|
-
interface PropsType$
|
|
838
|
+
interface PropsType$q extends React.ComponentPropsWithoutRef<"div"> {
|
|
835
839
|
className?: string;
|
|
836
840
|
}
|
|
837
|
-
declare function RBDim({ className, ...props }: PropsType$
|
|
841
|
+
declare function RBDim({ className, ...props }: PropsType$q): react_jsx_runtime.JSX.Element;
|
|
838
842
|
|
|
839
843
|
type DialogSize = "sm" | "md" | "lg";
|
|
840
844
|
type RBDialogContentProps = React.ComponentProps<typeof ShadDialogPrimitive.Content> & {
|
|
@@ -940,7 +944,7 @@ type SelectTriggerVariantProps = VariantProps<typeof selectTriggerVariants>;
|
|
|
940
944
|
type RBSelectBoxRef = HTMLInputElement & {
|
|
941
945
|
handleClickSelectBox?: () => void;
|
|
942
946
|
};
|
|
943
|
-
interface PropsType$
|
|
947
|
+
interface PropsType$p extends Pick<InputHTMLAttributes<HTMLInputElement>, "name" | "defaultValue" | "placeholder" | "disabled" | "readOnly" | "onChange" | "onFocus" | "onBlur" | "onInput"> {
|
|
944
948
|
className?: string;
|
|
945
949
|
/**
|
|
946
950
|
* SelectBox의 크기
|
|
@@ -1026,9 +1030,9 @@ type SelectData = {
|
|
|
1026
1030
|
* `SelectBox` 컴포넌트는 사용자에게 드롭다운 형태의 선택 옵션들을 제공합니다.
|
|
1027
1031
|
* 이 컴포넌트는 HTML `<input>` 태그의 주요 속성들을 상속받으며, 추가적인 커스터마이징 옵션을 제공합니다.
|
|
1028
1032
|
*/
|
|
1029
|
-
declare const RBSelectBox: React$1.ForwardRefExoticComponent<PropsType$
|
|
1033
|
+
declare const RBSelectBox: React$1.ForwardRefExoticComponent<PropsType$p & React$1.RefAttributes<RBSelectBoxRef>>;
|
|
1030
1034
|
|
|
1031
|
-
interface PropsType$
|
|
1035
|
+
interface PropsType$o {
|
|
1032
1036
|
className?: string;
|
|
1033
1037
|
/**
|
|
1034
1038
|
* SelectBox의 크기
|
|
@@ -1071,11 +1075,11 @@ interface PropsType$m {
|
|
|
1071
1075
|
* @param {Function} [props.handleChange] - 값이 변경될 때 호출될 함수
|
|
1072
1076
|
*/
|
|
1073
1077
|
declare const RBSelectOption: {
|
|
1074
|
-
({ className, size, text, value, label, children, description, selectedValue, searchText, enableGamepadFocus, disabled, handleChange, }: PropsType$
|
|
1078
|
+
({ className, size, text, value, label, children, description, selectedValue, searchText, enableGamepadFocus, disabled, handleChange, }: PropsType$o): react_jsx_runtime.JSX.Element;
|
|
1075
1079
|
displayName: string;
|
|
1076
1080
|
};
|
|
1077
1081
|
|
|
1078
|
-
interface PropsType$
|
|
1082
|
+
interface PropsType$n {
|
|
1079
1083
|
className?: string;
|
|
1080
1084
|
theme?: string;
|
|
1081
1085
|
/**
|
|
@@ -1140,12 +1144,12 @@ interface PropsType$l {
|
|
|
1140
1144
|
* @param {function} props.handleSearchTextChange - 옵션을 검색하는 입력 필드 값이 변경될 때 호출되는 함수. 변경된 값을 상위 컴포넌트에 전달
|
|
1141
1145
|
* @param {function} props.handleKeyPress - 옵션을 검색하는 입력 필드가 포커스된 상태에서 키보드 입력이 있을 때 호출되는 함수
|
|
1142
1146
|
*/
|
|
1143
|
-
declare const RBSelectDropBox: React__default.ForwardRefExoticComponent<PropsType$
|
|
1147
|
+
declare const RBSelectDropBox: React__default.ForwardRefExoticComponent<PropsType$n & React__default.RefAttributes<HTMLDivElement>>;
|
|
1144
1148
|
|
|
1145
1149
|
declare const noDataSizes: readonly ["sm", "md", "lg", "xl"];
|
|
1146
1150
|
type noDataSize = (typeof noDataSizes)[number];
|
|
1147
1151
|
|
|
1148
|
-
interface PropsType$
|
|
1152
|
+
interface PropsType$m {
|
|
1149
1153
|
/**
|
|
1150
1154
|
* 데이터가 없을때 노출시킬 메세지 내용
|
|
1151
1155
|
*/
|
|
@@ -1158,7 +1162,7 @@ interface PropsType$k {
|
|
|
1158
1162
|
children?: ReactElement;
|
|
1159
1163
|
size?: noDataSize;
|
|
1160
1164
|
}
|
|
1161
|
-
declare const RBNoData: ({ className, nullText, children, style, size, }: PropsType$
|
|
1165
|
+
declare const RBNoData: ({ className, nullText, children, style, size, }: PropsType$m) => react_jsx_runtime.JSX.Element;
|
|
1162
1166
|
|
|
1163
1167
|
type Props$7 = {
|
|
1164
1168
|
className?: string;
|
|
@@ -1289,7 +1293,7 @@ declare const radioRootVariants: (props?: {
|
|
|
1289
1293
|
} & class_variance_authority_types.ClassProp) => string;
|
|
1290
1294
|
type RadioVariantProps = VariantProps<typeof radioRootVariants>;
|
|
1291
1295
|
|
|
1292
|
-
interface PropsType$
|
|
1296
|
+
interface PropsType$l extends Pick<InputHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "onBlur" | "onFocus"> {
|
|
1293
1297
|
className?: string;
|
|
1294
1298
|
/** 라디오박스 UI 옆에 나올 텍스트 및 React 엘리먼트 */
|
|
1295
1299
|
children?: ReactNode | string;
|
|
@@ -1314,9 +1318,9 @@ interface PropsType$j extends Pick<InputHTMLAttributes<HTMLInputElement>, "name"
|
|
|
1314
1318
|
* RadioBox 컴포넌트는 라디오 버튼을 구현합니다. HTML `<input type="radio">` 요소의 특성을 확장하여
|
|
1315
1319
|
* React에서 사용하기 쉽도록 만든 컴포넌트입니다.
|
|
1316
1320
|
*/
|
|
1317
|
-
declare const RBRadioBox: React$1.ForwardRefExoticComponent<PropsType$
|
|
1321
|
+
declare const RBRadioBox: React$1.ForwardRefExoticComponent<PropsType$l & React$1.RefAttributes<HTMLInputElement>>;
|
|
1318
1322
|
|
|
1319
|
-
type Props$5 = PropsType$
|
|
1323
|
+
type Props$5 = PropsType$l & {
|
|
1320
1324
|
/**
|
|
1321
1325
|
* ripple UI 효과 옵션
|
|
1322
1326
|
*
|
|
@@ -1324,7 +1328,7 @@ type Props$5 = PropsType$j & {
|
|
|
1324
1328
|
*/
|
|
1325
1329
|
rippleOption?: RippleOption;
|
|
1326
1330
|
};
|
|
1327
|
-
declare const RBRadioButton: React$1.ForwardRefExoticComponent<PropsType$
|
|
1331
|
+
declare const RBRadioButton: React$1.ForwardRefExoticComponent<PropsType$l & {
|
|
1328
1332
|
/**
|
|
1329
1333
|
* ripple UI 효과 옵션
|
|
1330
1334
|
*
|
|
@@ -1360,7 +1364,7 @@ type TabItem$2 = {
|
|
|
1360
1364
|
/** tab 버튼과 컨텐츠를 숨길지 여부 */
|
|
1361
1365
|
isHide?: boolean;
|
|
1362
1366
|
};
|
|
1363
|
-
interface PropsType$
|
|
1367
|
+
interface PropsType$k {
|
|
1364
1368
|
className?: string;
|
|
1365
1369
|
size?: TabSize;
|
|
1366
1370
|
/**
|
|
@@ -1426,11 +1430,11 @@ interface PropsType$i {
|
|
|
1426
1430
|
* `Tab` 컴포넌트는 탭 UI를 구성할 때 사용되며, swipe 형식의 UI를 제공할 수도 있습니다.
|
|
1427
1431
|
*/
|
|
1428
1432
|
declare const RBTab: {
|
|
1429
|
-
({ className, size, tabItems, activeKey, name, slider, swipeContent, disabled, rippleOption, tabNavScrollRef, destroyInactiveTabPanel, tabBtnClassName, style, onClick, handleChange, }: PropsType$
|
|
1433
|
+
({ className, size, tabItems, activeKey, name, slider, swipeContent, disabled, rippleOption, tabNavScrollRef, destroyInactiveTabPanel, tabBtnClassName, style, onClick, handleChange, }: PropsType$k): react_jsx_runtime.JSX.Element;
|
|
1430
1434
|
displayName: string;
|
|
1431
1435
|
};
|
|
1432
1436
|
|
|
1433
|
-
interface PropsType$
|
|
1437
|
+
interface PropsType$j {
|
|
1434
1438
|
className?: string;
|
|
1435
1439
|
size?: TabSize;
|
|
1436
1440
|
slider?: boolean;
|
|
@@ -1442,7 +1446,7 @@ interface PropsType$h {
|
|
|
1442
1446
|
children?: ReactNode;
|
|
1443
1447
|
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
1444
1448
|
}
|
|
1445
|
-
declare const RBTabItem: React$1.ForwardRefExoticComponent<PropsType$
|
|
1449
|
+
declare const RBTabItem: React$1.ForwardRefExoticComponent<PropsType$j & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1446
1450
|
|
|
1447
1451
|
type TabItem$1 = {
|
|
1448
1452
|
/** tab item의 고유키 */
|
|
@@ -1456,7 +1460,7 @@ type TabItem$1 = {
|
|
|
1456
1460
|
/** tab 버튼과 컨텐츠를 숨길지 여부 */
|
|
1457
1461
|
isHide?: boolean;
|
|
1458
1462
|
};
|
|
1459
|
-
interface PropsType$
|
|
1463
|
+
interface PropsType$i {
|
|
1460
1464
|
className?: string;
|
|
1461
1465
|
size?: ChipSize;
|
|
1462
1466
|
/**
|
|
@@ -1522,11 +1526,11 @@ interface PropsType$g {
|
|
|
1522
1526
|
* `Tab` 컴포넌트는 탭 UI를 구성할 때 사용되며, swipe 형식의 UI를 제공할 수도 있습니다.
|
|
1523
1527
|
*/
|
|
1524
1528
|
declare const RBChipTab: {
|
|
1525
|
-
({ className, size, tabItems, activeKey, name, slider, swipeContent, disabled, rippleOption, tabNavScrollRef, destroyInactiveTabPanel, tabBtnClassName, style, onClick, handleChange, }: PropsType$
|
|
1529
|
+
({ className, size, tabItems, activeKey, name, slider, swipeContent, disabled, rippleOption, tabNavScrollRef, destroyInactiveTabPanel, tabBtnClassName, style, onClick, handleChange, }: PropsType$i): react_jsx_runtime.JSX.Element;
|
|
1526
1530
|
displayName: string;
|
|
1527
1531
|
};
|
|
1528
1532
|
|
|
1529
|
-
interface PropsType$
|
|
1533
|
+
interface PropsType$h {
|
|
1530
1534
|
className?: string;
|
|
1531
1535
|
size?: ChipSize;
|
|
1532
1536
|
selected?: boolean;
|
|
@@ -1536,7 +1540,7 @@ interface PropsType$f {
|
|
|
1536
1540
|
children?: ReactNode;
|
|
1537
1541
|
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
1538
1542
|
}
|
|
1539
|
-
declare const RBChipItem: React$1.ForwardRefExoticComponent<PropsType$
|
|
1543
|
+
declare const RBChipItem: React$1.ForwardRefExoticComponent<PropsType$h & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1540
1544
|
|
|
1541
1545
|
type TabItem = {
|
|
1542
1546
|
key: string | number;
|
|
@@ -1545,7 +1549,7 @@ type TabItem = {
|
|
|
1545
1549
|
disabled?: boolean;
|
|
1546
1550
|
isHide?: boolean;
|
|
1547
1551
|
};
|
|
1548
|
-
interface PropsType$
|
|
1552
|
+
interface PropsType$g {
|
|
1549
1553
|
className?: string;
|
|
1550
1554
|
size?: ChipBoxSize;
|
|
1551
1555
|
tabItems: TabItem[];
|
|
@@ -1557,17 +1561,18 @@ interface PropsType$e {
|
|
|
1557
1561
|
tabBtnClassName?: string;
|
|
1558
1562
|
style?: CSSProperties;
|
|
1559
1563
|
enableOverflowExpand?: boolean;
|
|
1564
|
+
showBottomBorder?: boolean;
|
|
1560
1565
|
rightIconButtonProps?: Partial<IconButtonProps>;
|
|
1561
1566
|
leftSlot?: ReactNode;
|
|
1562
1567
|
handleChange?: (key: AllowAny, name: string) => void;
|
|
1563
1568
|
onClick?: (key: AllowAny, e: MouseEvent<HTMLButtonElement>) => void;
|
|
1564
1569
|
}
|
|
1565
1570
|
declare const RBChipsBoxTab: {
|
|
1566
|
-
({ className, size, tabItems, activeKey, name, disabled, destroyInactiveTabPanel, rippleOption, tabBtnClassName, style, enableOverflowExpand, rightIconButtonProps, leftSlot, handleChange, onClick, }: PropsType$
|
|
1571
|
+
({ className, size, tabItems, activeKey, name, disabled, destroyInactiveTabPanel, rippleOption, tabBtnClassName, style, enableOverflowExpand, showBottomBorder, rightIconButtonProps, leftSlot, handleChange, onClick, }: PropsType$g): react_jsx_runtime.JSX.Element;
|
|
1567
1572
|
displayName: string;
|
|
1568
1573
|
};
|
|
1569
1574
|
|
|
1570
|
-
interface PropsType$
|
|
1575
|
+
interface PropsType$f extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1571
1576
|
className?: string;
|
|
1572
1577
|
size?: ChipBoxSize;
|
|
1573
1578
|
selected?: boolean;
|
|
@@ -1577,7 +1582,7 @@ interface PropsType$d extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
1577
1582
|
children?: ReactNode;
|
|
1578
1583
|
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
1579
1584
|
}
|
|
1580
|
-
declare const RBChipsBoxItem: React$1.ForwardRefExoticComponent<PropsType$
|
|
1585
|
+
declare const RBChipsBoxItem: React$1.ForwardRefExoticComponent<PropsType$f & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1581
1586
|
|
|
1582
1587
|
type TableData = Record<string, AllowAny>;
|
|
1583
1588
|
type ChildrenFuncParamsType<T> = {
|
|
@@ -1585,7 +1590,7 @@ type ChildrenFuncParamsType<T> = {
|
|
|
1585
1590
|
item: T extends (infer R)[] ? R : never;
|
|
1586
1591
|
};
|
|
1587
1592
|
|
|
1588
|
-
interface PropsType$
|
|
1593
|
+
interface PropsType$e<T extends TableData[]> {
|
|
1589
1594
|
className?: string;
|
|
1590
1595
|
/**
|
|
1591
1596
|
* table에 랜더링될 list
|
|
@@ -1661,9 +1666,9 @@ interface PropsType$c<T extends TableData[]> {
|
|
|
1661
1666
|
* @param {ReactElement | string} [props.sortNormalElement=SvgIcoSortNormalElement] - 소팅 정보가 없을 때 헤더에 표시될 요소. 문자열 또는 React 요소 형태.
|
|
1662
1667
|
* @param {Function} props.children - 자식 컴포넌트를 렌더링하는 함수. 리스트의 각 항목(`item`)과 해당 항목의 인덱스(`index`)를 매개변수로 받아 React 노드로 변환하는 데 사용.
|
|
1663
1668
|
*/
|
|
1664
|
-
declare const RBTable: <T extends TableData[]>({ className, list, children, loadingElement, errorFallback, noDataMsg, hideThead, stickyThead, theadTopRows, sortUpElement, sortDownElement, sortNormalElement, loading, }: PropsType$
|
|
1669
|
+
declare const RBTable: <T extends TableData[]>({ className, list, children, loadingElement, errorFallback, noDataMsg, hideThead, stickyThead, theadTopRows, sortUpElement, sortDownElement, sortNormalElement, loading, }: PropsType$e<T>) => react_jsx_runtime.JSX.Element;
|
|
1665
1670
|
|
|
1666
|
-
type PropsType$
|
|
1671
|
+
type PropsType$d = {
|
|
1667
1672
|
className?: string;
|
|
1668
1673
|
/**
|
|
1669
1674
|
* 자식 컴포넌트
|
|
@@ -1699,11 +1704,11 @@ type PropsType$b = {
|
|
|
1699
1704
|
* @param {function} [props.onClick] - tr 태그를 클릭했을 때 호출될 함수
|
|
1700
1705
|
*/
|
|
1701
1706
|
declare const RBTableRow: {
|
|
1702
|
-
({ className, children, expendOpen, handleExpendChange, beforeExpendOpen, onClick, }: PropsType$
|
|
1707
|
+
({ className, children, expendOpen, handleExpendChange, beforeExpendOpen, onClick, }: PropsType$d): react_jsx_runtime.JSX.Element;
|
|
1703
1708
|
displayName: string;
|
|
1704
1709
|
};
|
|
1705
1710
|
|
|
1706
|
-
interface PropsType$
|
|
1711
|
+
interface PropsType$c {
|
|
1707
1712
|
className?: string;
|
|
1708
1713
|
/**
|
|
1709
1714
|
* th와 td의 align
|
|
@@ -1801,11 +1806,11 @@ interface PropsType$a {
|
|
|
1801
1806
|
* @param {Function} [props.onClick] - td 태그를 클릭했을 때 호출되는 함수
|
|
1802
1807
|
*/
|
|
1803
1808
|
declare const RBTdColumn: {
|
|
1804
|
-
({ className, children, align, fieldId, size, colSpan, rowSpan, expend, expendOpen, handleExpendToggle, onClick, }: PropsType$
|
|
1809
|
+
({ className, children, align, fieldId, size, colSpan, rowSpan, expend, expendOpen, handleExpendToggle, onClick, }: PropsType$c): react_jsx_runtime.JSX.Element;
|
|
1805
1810
|
displayName: string;
|
|
1806
1811
|
};
|
|
1807
1812
|
|
|
1808
|
-
interface PropsType$
|
|
1813
|
+
interface PropsType$b {
|
|
1809
1814
|
/**
|
|
1810
1815
|
* 클래스 이름
|
|
1811
1816
|
*/
|
|
@@ -1826,7 +1831,7 @@ interface PropsType$9 {
|
|
|
1826
1831
|
* @param {ReactElement | string} props.children - 자식 요소
|
|
1827
1832
|
*/
|
|
1828
1833
|
declare const RBTdExpend: {
|
|
1829
|
-
({ className, children, style }: PropsType$
|
|
1834
|
+
({ className, children, style }: PropsType$b): react_jsx_runtime.JSX.Element;
|
|
1830
1835
|
displayName: string;
|
|
1831
1836
|
};
|
|
1832
1837
|
|
|
@@ -1841,7 +1846,7 @@ declare const badgeRootVariants: (props?: {
|
|
|
1841
1846
|
} & class_variance_authority_types.ClassProp) => string;
|
|
1842
1847
|
type BadgeVariantProps = VariantProps<typeof badgeRootVariants>;
|
|
1843
1848
|
|
|
1844
|
-
interface PropsType$
|
|
1849
|
+
interface PropsType$a {
|
|
1845
1850
|
className?: string;
|
|
1846
1851
|
/** badge 타입 */
|
|
1847
1852
|
type?: BadgeType;
|
|
@@ -1862,14 +1867,14 @@ interface PropsType$8 {
|
|
|
1862
1867
|
/**
|
|
1863
1868
|
* RBBadge는 Number / Tag 형태의 배지 UI를 제공합니다.
|
|
1864
1869
|
*/
|
|
1865
|
-
declare function RBBadge({ className, type, numberVariant, color, leadingIcon, children, }: PropsType$
|
|
1870
|
+
declare function RBBadge({ className, type, numberVariant, color, leadingIcon, children, }: PropsType$a): react_jsx_runtime.JSX.Element;
|
|
1866
1871
|
|
|
1867
1872
|
declare const emptyViewTypes: readonly ["button", "icon"];
|
|
1868
1873
|
type EmptyViewType = (typeof emptyViewTypes)[number];
|
|
1869
1874
|
declare const emptyViewRootVariants: (props?: class_variance_authority_types.ClassProp) => string;
|
|
1870
1875
|
type EmptyViewVariantProps = VariantProps<typeof emptyViewRootVariants>;
|
|
1871
1876
|
|
|
1872
|
-
interface PropsType$
|
|
1877
|
+
interface PropsType$9 {
|
|
1873
1878
|
className?: string;
|
|
1874
1879
|
/** EmptyView 타입 (button | icon) */
|
|
1875
1880
|
type?: EmptyViewType;
|
|
@@ -1887,9 +1892,9 @@ interface PropsType$7 {
|
|
|
1887
1892
|
/**
|
|
1888
1893
|
* RBEmptyView는 데이터가 비어있는 상태에서 안내 문구와 액션을 표시하는 컴포넌트입니다.
|
|
1889
1894
|
*/
|
|
1890
|
-
declare function RBEmptyView({ className, type, message, description, buttonLabel, onButtonClick, icon, }: PropsType$
|
|
1895
|
+
declare function RBEmptyView({ className, type, message, description, buttonLabel, onButtonClick, icon, }: PropsType$9): react_jsx_runtime.JSX.Element;
|
|
1891
1896
|
|
|
1892
|
-
interface PropsType$
|
|
1897
|
+
interface PropsType$8 {
|
|
1893
1898
|
className?: string;
|
|
1894
1899
|
label?: React.ReactNode;
|
|
1895
1900
|
description?: React.ReactNode;
|
|
@@ -1897,9 +1902,9 @@ interface PropsType$6 {
|
|
|
1897
1902
|
children?: React.ReactNode;
|
|
1898
1903
|
}
|
|
1899
1904
|
/** 입력 필드의 라벨과 부가 설명을 표시하는 컴포넌트 */
|
|
1900
|
-
declare function RBTextLabel({ className, label, description, required, children, }: PropsType$
|
|
1905
|
+
declare function RBTextLabel({ className, label, description, required, children, }: PropsType$8): react_jsx_runtime.JSX.Element;
|
|
1901
1906
|
|
|
1902
|
-
interface PropsType$
|
|
1907
|
+
interface PropsType$7 {
|
|
1903
1908
|
className?: string;
|
|
1904
1909
|
labelClassName?: string;
|
|
1905
1910
|
helperClassName?: string;
|
|
@@ -1910,7 +1915,7 @@ interface PropsType$5 {
|
|
|
1910
1915
|
helperTone?: HelperTone;
|
|
1911
1916
|
children?: ReactNode;
|
|
1912
1917
|
}
|
|
1913
|
-
declare function RBTextField({ className, labelClassName, helperClassName, label, description, required, helperText, helperTone, children, }: PropsType$
|
|
1918
|
+
declare function RBTextField({ className, labelClassName, helperClassName, label, description, required, helperText, helperTone, children, }: PropsType$7): react_jsx_runtime.JSX.Element;
|
|
1914
1919
|
|
|
1915
1920
|
type MultiRangeInputForwardRef = {
|
|
1916
1921
|
focus: (options?: FocusOptions) => void;
|
|
@@ -2047,7 +2052,7 @@ type Props$3 = {
|
|
|
2047
2052
|
declare const RBJoyStick: ({ className, type, size, stickColor, stickAreaColor, throttleThreshold, throttleDuration, xOnly, yOnly, disableDiagonal, disabled, keepMoveEventInterval, paddingSize, style, onStart, onMove, onEnd, }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
2048
2053
|
|
|
2049
2054
|
type PlaceType = "top" | "right" | "bottom" | "left";
|
|
2050
|
-
interface PropsType$
|
|
2055
|
+
interface PropsType$6 {
|
|
2051
2056
|
className?: string;
|
|
2052
2057
|
/**
|
|
2053
2058
|
* 툴팁 UI를 사용할 요소의 id값
|
|
@@ -2121,7 +2126,7 @@ interface PropsType$4 {
|
|
|
2121
2126
|
* `Tooltip` 컴포넌트는 사용자 인터페이스에 추가 정보를 제공하는 데 사용됩니다.
|
|
2122
2127
|
* 해당 요소에 마우스를 올리거나 클릭할 때 툴팁 UI가 나타납니다.
|
|
2123
2128
|
*/
|
|
2124
|
-
declare const RBTooltip: ({ className, anchorId, width, space, place, events, arrowPosition, hideArrow, tooltipPosition, tooltipColor, tooltipTextColor, tooltipBoxShadow, tooltipBorderRadius, open, whenWindowScrollClose, children, }: PropsType$
|
|
2129
|
+
declare const RBTooltip: ({ className, anchorId, width, space, place, events, arrowPosition, hideArrow, tooltipPosition, tooltipColor, tooltipTextColor, tooltipBoxShadow, tooltipBorderRadius, open, whenWindowScrollClose, children, }: PropsType$6) => react_jsx_runtime.JSX.Element;
|
|
2125
2130
|
|
|
2126
2131
|
declare const cardRootVariants: (props?: {
|
|
2127
2132
|
size?: "sm" | "md";
|
|
@@ -2264,7 +2269,7 @@ declare function RBSwitch({ className, disabled, invalid, size, ...props }: RBSw
|
|
|
2264
2269
|
|
|
2265
2270
|
type SwitchType = "default" | "box";
|
|
2266
2271
|
type SwitchControlPlacement = "start" | "end";
|
|
2267
|
-
interface PropsType$
|
|
2272
|
+
interface PropsType$5 {
|
|
2268
2273
|
children: ReactElement<RBSwitchProps>;
|
|
2269
2274
|
className?: string;
|
|
2270
2275
|
controlPlacement?: SwitchControlPlacement;
|
|
@@ -2276,7 +2281,7 @@ interface PropsType$3 {
|
|
|
2276
2281
|
size?: SwitchSize;
|
|
2277
2282
|
type?: SwitchType;
|
|
2278
2283
|
}
|
|
2279
|
-
declare function RBSwitchField({ children, className, controlPlacement, description, descriptionClassName, invalid, label, labelClassName, size, type, }: PropsType$
|
|
2284
|
+
declare function RBSwitchField({ children, className, controlPlacement, description, descriptionClassName, invalid, label, labelClassName, size, type, }: PropsType$5): react_jsx_runtime.JSX.Element;
|
|
2280
2285
|
|
|
2281
2286
|
declare const toggleRootVariants: (props?: {
|
|
2282
2287
|
size?: "sm" | "lg" | "default";
|
|
@@ -2332,17 +2337,17 @@ declare function RBResizableHandle({ className, hideThumb, onPointerDownCapture,
|
|
|
2332
2337
|
|
|
2333
2338
|
declare function Calendar({ classNames, showOutsideDays, ...props }: React.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
|
|
2334
2339
|
|
|
2335
|
-
interface PropsType$
|
|
2340
|
+
interface PropsType$4 {
|
|
2336
2341
|
label: string;
|
|
2337
2342
|
onClick?: () => void;
|
|
2338
2343
|
}
|
|
2339
|
-
declare function RBDatePickerPreset({ label, onClick }: PropsType$
|
|
2344
|
+
declare function RBDatePickerPreset({ label, onClick }: PropsType$4): react_jsx_runtime.JSX.Element;
|
|
2340
2345
|
|
|
2341
2346
|
interface DatePickerTimeValue {
|
|
2342
2347
|
hour: string;
|
|
2343
2348
|
minute: string;
|
|
2344
2349
|
}
|
|
2345
|
-
interface PropsType$
|
|
2350
|
+
interface PropsType$3 {
|
|
2346
2351
|
pickerType?: DatePickerType;
|
|
2347
2352
|
setTimeEnabled?: boolean;
|
|
2348
2353
|
startTime?: DatePickerTimeValue;
|
|
@@ -2367,9 +2372,9 @@ interface PropsType$1 {
|
|
|
2367
2372
|
setTime?: string;
|
|
2368
2373
|
};
|
|
2369
2374
|
}
|
|
2370
|
-
declare function RBDatePickerFooterTime({ pickerType, setTimeEnabled, startTime, endTime, onEndTimeChange, onSetTimeChange, onStartTimeChange, selectedDate, setSelectedDate, enforceTimeOrder, labels, }: PropsType$
|
|
2375
|
+
declare function RBDatePickerFooterTime({ pickerType, setTimeEnabled, startTime, endTime, onEndTimeChange, onSetTimeChange, onStartTimeChange, selectedDate, setSelectedDate, enforceTimeOrder, labels, }: PropsType$3): react_jsx_runtime.JSX.Element;
|
|
2371
2376
|
|
|
2372
|
-
interface PropsType {
|
|
2377
|
+
interface PropsType$2 {
|
|
2373
2378
|
className?: string;
|
|
2374
2379
|
onCancel: () => void;
|
|
2375
2380
|
onConfirm: () => void;
|
|
@@ -2380,7 +2385,7 @@ interface PropsType {
|
|
|
2380
2385
|
confirm?: string;
|
|
2381
2386
|
};
|
|
2382
2387
|
}
|
|
2383
|
-
declare function RBDatePickerFooterButton({ className, onCancel, onConfirm, onReset, labels, }: PropsType): react_jsx_runtime.JSX.Element;
|
|
2388
|
+
declare function RBDatePickerFooterButton({ className, onCancel, onConfirm, onReset, labels, }: PropsType$2): react_jsx_runtime.JSX.Element;
|
|
2384
2389
|
|
|
2385
2390
|
declare const checkLabelButtonVariants: (props?: {
|
|
2386
2391
|
size?: "xs" | "xs2" | "sm" | "md";
|
|
@@ -3341,6 +3346,618 @@ interface Props extends ModalPropsType<string> {
|
|
|
3341
3346
|
}
|
|
3342
3347
|
declare const RBQrBarCodeGuideModal: ({ className, open, resolve, onOpenChange, }: Props) => react_jsx_runtime.JSX.Element;
|
|
3343
3348
|
|
|
3349
|
+
interface PropsType$1 extends HTMLAttributes<HTMLElement> {
|
|
3350
|
+
id?: string;
|
|
3351
|
+
/**
|
|
3352
|
+
* 컴포넌트 클래스명
|
|
3353
|
+
*/
|
|
3354
|
+
className?: string;
|
|
3355
|
+
/**
|
|
3356
|
+
* 컴포넌트 태그
|
|
3357
|
+
*/
|
|
3358
|
+
tag?: "div" | "section" | "article" | "header" | "footer" | "main" | "aside" | "nav";
|
|
3359
|
+
/**
|
|
3360
|
+
* flex의 justify-content
|
|
3361
|
+
*/
|
|
3362
|
+
justifyContent?: CSSProperties["justifyContent"];
|
|
3363
|
+
/**
|
|
3364
|
+
* flex의 justify-items
|
|
3365
|
+
*/
|
|
3366
|
+
justifyItems?: CSSProperties["justifyItems"];
|
|
3367
|
+
/**
|
|
3368
|
+
* flex의 justify-self
|
|
3369
|
+
*/
|
|
3370
|
+
justifySelf?: CSSProperties["justifySelf"];
|
|
3371
|
+
/**
|
|
3372
|
+
* flex의 align-items
|
|
3373
|
+
*/
|
|
3374
|
+
alignItems?: CSSProperties["alignItems"];
|
|
3375
|
+
/**
|
|
3376
|
+
* flex의 align-self
|
|
3377
|
+
*/
|
|
3378
|
+
alignSelf?: CSSProperties["alignSelf"];
|
|
3379
|
+
/**
|
|
3380
|
+
* flex의 align-content
|
|
3381
|
+
*/
|
|
3382
|
+
alignContent?: CSSProperties["alignContent"];
|
|
3383
|
+
/**
|
|
3384
|
+
* inline-flex 레이아웃 여부
|
|
3385
|
+
*/
|
|
3386
|
+
inline?: boolean;
|
|
3387
|
+
/**
|
|
3388
|
+
* 컴포넌트 스타일
|
|
3389
|
+
*/
|
|
3390
|
+
style?: Omit<CSSProperties, "columnGap" | "rowGap">;
|
|
3391
|
+
/**
|
|
3392
|
+
* flex의 column-gap
|
|
3393
|
+
*/
|
|
3394
|
+
columnGap?: CSSProperties["columnGap"];
|
|
3395
|
+
/**
|
|
3396
|
+
* flex의 row-gap
|
|
3397
|
+
*/
|
|
3398
|
+
rowGap?: CSSProperties["rowGap"];
|
|
3399
|
+
/**
|
|
3400
|
+
* flex의 gap
|
|
3401
|
+
*/
|
|
3402
|
+
gap?: CSSProperties["gap"];
|
|
3403
|
+
/**
|
|
3404
|
+
* 컴포넌트 자식 노드
|
|
3405
|
+
*/
|
|
3406
|
+
children: ReactNode;
|
|
3407
|
+
}
|
|
3408
|
+
/**
|
|
3409
|
+
* `HStack`은 display: flex; 형태의 수평 스택 컴포넌트 입니다.
|
|
3410
|
+
*/
|
|
3411
|
+
declare const HStack: React$1.ForwardRefExoticComponent<PropsType$1 & React$1.RefAttributes<HTMLDivElement>>;
|
|
3412
|
+
|
|
3413
|
+
interface PropsType extends HTMLAttributes<HTMLElement> {
|
|
3414
|
+
id?: string;
|
|
3415
|
+
/**
|
|
3416
|
+
* 컴포넌트 클래스명
|
|
3417
|
+
*/
|
|
3418
|
+
className?: string;
|
|
3419
|
+
/**
|
|
3420
|
+
* 컴포넌트 태그
|
|
3421
|
+
*/
|
|
3422
|
+
tag?: "div" | "section" | "article" | "header" | "footer" | "main" | "aside" | "nav";
|
|
3423
|
+
/**
|
|
3424
|
+
* inline-flex 레이아웃 여부
|
|
3425
|
+
*/
|
|
3426
|
+
inline?: boolean;
|
|
3427
|
+
/**
|
|
3428
|
+
* flex의 justify-content
|
|
3429
|
+
*/
|
|
3430
|
+
justifyContent?: CSSProperties["justifyContent"];
|
|
3431
|
+
/**
|
|
3432
|
+
* flex의 justify-items
|
|
3433
|
+
*/
|
|
3434
|
+
justifyItems?: CSSProperties["justifyItems"];
|
|
3435
|
+
/**
|
|
3436
|
+
* flex의 justify-self
|
|
3437
|
+
*/
|
|
3438
|
+
justifySelf?: CSSProperties["justifySelf"];
|
|
3439
|
+
/**
|
|
3440
|
+
* flex의 align-items
|
|
3441
|
+
*/
|
|
3442
|
+
alignItems?: CSSProperties["alignItems"];
|
|
3443
|
+
/**
|
|
3444
|
+
* flex의 align-self
|
|
3445
|
+
*/
|
|
3446
|
+
alignSelf?: CSSProperties["alignSelf"];
|
|
3447
|
+
/**
|
|
3448
|
+
* flex의 align-content
|
|
3449
|
+
*/
|
|
3450
|
+
alignContent?: CSSProperties["alignContent"];
|
|
3451
|
+
/**
|
|
3452
|
+
* flex의 gap
|
|
3453
|
+
*/
|
|
3454
|
+
gap?: CSSProperties["gap"];
|
|
3455
|
+
/**
|
|
3456
|
+
* flex의 column-gap
|
|
3457
|
+
*/
|
|
3458
|
+
columnGap?: CSSProperties["columnGap"];
|
|
3459
|
+
/**
|
|
3460
|
+
* flex의 row-gap
|
|
3461
|
+
*/
|
|
3462
|
+
rowGap?: CSSProperties["rowGap"];
|
|
3463
|
+
/**
|
|
3464
|
+
* 컴포넌트 스타일
|
|
3465
|
+
*/
|
|
3466
|
+
style?: Omit<CSSProperties, "columnGap" | "rowGap">;
|
|
3467
|
+
/**
|
|
3468
|
+
* 컴포넌트 자식 노드
|
|
3469
|
+
*/
|
|
3470
|
+
children: ReactNode;
|
|
3471
|
+
}
|
|
3472
|
+
/**
|
|
3473
|
+
* `VStack`은 display: flex; 형태의 수직 스택 컴포넌트 입니다.
|
|
3474
|
+
*/
|
|
3475
|
+
declare const VStack: React$1.ForwardRefExoticComponent<PropsType & React$1.RefAttributes<HTMLDivElement>>;
|
|
3476
|
+
|
|
3477
|
+
type MoveStateType = {
|
|
3478
|
+
autoMove: "stop" | "move" | "pause" | "error" | "not ready" | "vir";
|
|
3479
|
+
moveId: string;
|
|
3480
|
+
moveResult: string;
|
|
3481
|
+
dockMove: string;
|
|
3482
|
+
jogMove: "none";
|
|
3483
|
+
obs: "none" | "near" | "stuck" | "far" | "vir";
|
|
3484
|
+
pathState: "none" | "req_path" | "recv_path";
|
|
3485
|
+
step: number;
|
|
3486
|
+
multiId: string;
|
|
3487
|
+
multiState: string;
|
|
3488
|
+
};
|
|
3489
|
+
/** `mapLegacyMoveStatusToMoveStatus` 단일 합류 결과: pose는 항상 숫자(레거시 string·muscat number 모두 parseNumber로 통일) */
|
|
3490
|
+
type PoseMappedType = {
|
|
3491
|
+
x: number;
|
|
3492
|
+
y: number;
|
|
3493
|
+
rz: number;
|
|
3494
|
+
};
|
|
3495
|
+
type NodeMappedType = {
|
|
3496
|
+
id: string;
|
|
3497
|
+
name: string;
|
|
3498
|
+
state: string;
|
|
3499
|
+
pose: PoseMappedType;
|
|
3500
|
+
};
|
|
3501
|
+
/**
|
|
3502
|
+
* 루트 `pose`만 UI·MapEditor(`applyPose` 등)용 string 계약.
|
|
3503
|
+
* `curNode`·`goalNode`의 pose는 맵/좌표 연동 등에서 숫자로 쓰는 경로가 있어 `NodeMappedType` 그대로 둡니다.
|
|
3504
|
+
*/
|
|
3505
|
+
type PoseType = {
|
|
3506
|
+
x: string;
|
|
3507
|
+
y: string;
|
|
3508
|
+
rz: string;
|
|
3509
|
+
};
|
|
3510
|
+
type MoveStatusType = {
|
|
3511
|
+
moveState: MoveStateType;
|
|
3512
|
+
pose: PoseType;
|
|
3513
|
+
vel: {
|
|
3514
|
+
vx: number;
|
|
3515
|
+
vy: number;
|
|
3516
|
+
wz: number;
|
|
3517
|
+
};
|
|
3518
|
+
curNode: NodeMappedType;
|
|
3519
|
+
goalNode: NodeMappedType;
|
|
3520
|
+
};
|
|
3521
|
+
|
|
3522
|
+
/** FactoryMap용: 실제로는 pose만 사용 (FRS 등 pose-only 맵 주입 허용) */
|
|
3523
|
+
type MoveStatusMapValue = Pick<MoveStatusType, "pose">;
|
|
3524
|
+
|
|
3525
|
+
type RgbaColor = [number, number, number, number];
|
|
3526
|
+
|
|
3527
|
+
/** AMR별 글로벌/로컬 경로 웨이포인트(맵 미터 오프셋). */
|
|
3528
|
+
type AmrPathWaypointsDatum = {
|
|
3529
|
+
amrId: string;
|
|
3530
|
+
waypoints: [number, number][];
|
|
3531
|
+
};
|
|
3532
|
+
|
|
3533
|
+
type ConveyorFlowDirection = "forward" | "reverse";
|
|
3534
|
+
type ConveyorBeltItemTransform = {
|
|
3535
|
+
name?: string;
|
|
3536
|
+
flowDirection?: ConveyorFlowDirection;
|
|
3537
|
+
conveyorOffsetX?: number;
|
|
3538
|
+
conveyorOffsetY?: number;
|
|
3539
|
+
conveyorScale?: number;
|
|
3540
|
+
conveyorAngleDeg?: number;
|
|
3541
|
+
};
|
|
3542
|
+
type ConveyorBeltTransform = ConveyorBeltItemTransform & {
|
|
3543
|
+
conveyorBelts?: ConveyorBeltItemTransform[];
|
|
3544
|
+
};
|
|
3545
|
+
declare const CONVEYOR_BELT_IMAGE_BASE_GEOMETRY: {
|
|
3546
|
+
readonly centerX: 4.5;
|
|
3547
|
+
readonly centerY: -0.3;
|
|
3548
|
+
readonly width: 4;
|
|
3549
|
+
readonly height: number;
|
|
3550
|
+
};
|
|
3551
|
+
|
|
3552
|
+
type DockingStationItemTransform = {
|
|
3553
|
+
name?: string;
|
|
3554
|
+
dockingOffsetX?: number;
|
|
3555
|
+
dockingOffsetY?: number;
|
|
3556
|
+
dockingScale?: number;
|
|
3557
|
+
dockingAngleDeg?: number;
|
|
3558
|
+
};
|
|
3559
|
+
type DockingStationTransform = DockingStationItemTransform & {
|
|
3560
|
+
dockingStations?: DockingStationItemTransform[];
|
|
3561
|
+
};
|
|
3562
|
+
declare const DOCKING_STATION_IMAGE_BASE_GEOMETRY: {
|
|
3563
|
+
readonly width: number;
|
|
3564
|
+
readonly height: 0.82;
|
|
3565
|
+
};
|
|
3566
|
+
|
|
3567
|
+
type SafetyZoneType = "NO_ENTRY" | "IGNORE_LIDAR_2D" | "IGNORE_LIDAR_3D";
|
|
3568
|
+
type ZonePoint = [x: number, y: number] | {
|
|
3569
|
+
x: number;
|
|
3570
|
+
y: number;
|
|
3571
|
+
};
|
|
3572
|
+
type SafetyZoneInput = {
|
|
3573
|
+
id: string;
|
|
3574
|
+
name: string;
|
|
3575
|
+
type: SafetyZoneType;
|
|
3576
|
+
polygon: ZonePoint[];
|
|
3577
|
+
};
|
|
3578
|
+
type TrafficZone = {
|
|
3579
|
+
id: string;
|
|
3580
|
+
name: string;
|
|
3581
|
+
color: [number, number, number];
|
|
3582
|
+
polygon: {
|
|
3583
|
+
x: number;
|
|
3584
|
+
y: number;
|
|
3585
|
+
}[];
|
|
3586
|
+
};
|
|
3587
|
+
declare const SAFETY_ZONE_COLORS: Record<SafetyZoneType, number>;
|
|
3588
|
+
declare const parseTrafficZoneData: (zoneData: string | null | undefined) => TrafficZone[];
|
|
3589
|
+
declare const zoneColorNumberToCss: (color: number) => string;
|
|
3590
|
+
declare const trafficZoneColorToCss: (color: TrafficZone["color"]) => string;
|
|
3591
|
+
|
|
3592
|
+
type MapImageTransformGeometry = {
|
|
3593
|
+
id: string;
|
|
3594
|
+
label?: string;
|
|
3595
|
+
centerX: number;
|
|
3596
|
+
centerY: number;
|
|
3597
|
+
width: number;
|
|
3598
|
+
height: number;
|
|
3599
|
+
rotationDeg: number;
|
|
3600
|
+
preserveAspectRatio?: boolean;
|
|
3601
|
+
};
|
|
3602
|
+
|
|
3603
|
+
type TopoNode$4 = {
|
|
3604
|
+
id: string;
|
|
3605
|
+
name: string;
|
|
3606
|
+
pose: string | {
|
|
3607
|
+
x: number;
|
|
3608
|
+
y: number;
|
|
3609
|
+
z?: number;
|
|
3610
|
+
rx?: number;
|
|
3611
|
+
ry?: number;
|
|
3612
|
+
rz?: number;
|
|
3613
|
+
};
|
|
3614
|
+
links?: {
|
|
3615
|
+
id?: string;
|
|
3616
|
+
}[];
|
|
3617
|
+
type: string;
|
|
3618
|
+
info?: string;
|
|
3619
|
+
context?: string;
|
|
3620
|
+
features?: string[];
|
|
3621
|
+
};
|
|
3622
|
+
type FactoryMapProps = {
|
|
3623
|
+
tileUrlTemplate: string;
|
|
3624
|
+
backgroundImageUrl?: string;
|
|
3625
|
+
backgroundImageBounds?: [number, number, number, number] | [[number, number], [number, number], [number, number], [number, number]];
|
|
3626
|
+
minZoom?: number;
|
|
3627
|
+
maxZoom?: number;
|
|
3628
|
+
mapTopoData?: TopoNode$4[];
|
|
3629
|
+
/** 트래킹용 타깃 위치 (trackingAmrId 없을 때만 사용) */
|
|
3630
|
+
targetPosition?: {
|
|
3631
|
+
x: number;
|
|
3632
|
+
y: number;
|
|
3633
|
+
} | null;
|
|
3634
|
+
/** 트래킹 중인 AMR id. 있으면 IconLayer와 동일한(보간된) 데이터로 카메라 추적 */
|
|
3635
|
+
trackingAmrId?: string | null;
|
|
3636
|
+
/** 단발성 포커스용 위치 (노드/로봇 목록 클릭 시 잠깐 화면만 이동) */
|
|
3637
|
+
focusPosition?: {
|
|
3638
|
+
x: number;
|
|
3639
|
+
y: number;
|
|
3640
|
+
} | null;
|
|
3641
|
+
/** 노드 목록 클릭 시 맵에서 해당 노드를 잠시 테두리로 강조할 id. 일정 시간 후 자동 해제 */
|
|
3642
|
+
highlightedNodeId?: string | null;
|
|
3643
|
+
onGoalNodeClick?: (node: {
|
|
3644
|
+
id: string;
|
|
3645
|
+
name?: string;
|
|
3646
|
+
type: string;
|
|
3647
|
+
}) => void;
|
|
3648
|
+
moveStatusDataMap?: Map<string, MoveStatusMapValue | undefined>;
|
|
3649
|
+
/** AMR 목록 등에서 "이 로봇으로 시야 이동" 시 사용. 설정 시 moveStatusDataMap에서 위치 조회 후 포커스하고 onFocusAmrApplied 호출 */
|
|
3650
|
+
focusAmrId?: string | null;
|
|
3651
|
+
/** focusAmrId 적용 후 부모에서 focusAmrId 초기화할 때 호출 */
|
|
3652
|
+
onFocusAmrApplied?: () => void;
|
|
3653
|
+
/** AMR 아이콘·트래킹 보간 사용 여부. false면 수신값 즉시 반영(스냅) */
|
|
3654
|
+
useInterpolation: boolean;
|
|
3655
|
+
/** 페이지 이탈 시 true. 레이어를 비우고 리소스를 정리하여 메모리 해제를 촉진 */
|
|
3656
|
+
exiting?: boolean;
|
|
3657
|
+
/** 키맵 점군 (x,y 좌표 배열). 있으면 Scatter 레이어로 표시 */
|
|
3658
|
+
keymapContent?: {
|
|
3659
|
+
fileName: string;
|
|
3660
|
+
content: number[][];
|
|
3661
|
+
} | null;
|
|
3662
|
+
/** true면 keymap point cloud 레이어를 표시 */
|
|
3663
|
+
showKeymapPointCloudLayer?: boolean;
|
|
3664
|
+
/** topology에 포함된 Safety Zone */
|
|
3665
|
+
safetyZones?: readonly SafetyZoneInput[];
|
|
3666
|
+
/** 현재 map에 연결된 Traffic Zone JSON */
|
|
3667
|
+
trafficZoneData?: string | null;
|
|
3668
|
+
/** false면 Safety Zone 레이어를 표시하지 않음 */
|
|
3669
|
+
showSafetyZones?: boolean;
|
|
3670
|
+
/** false면 Traffic Zone 레이어를 표시하지 않음 */
|
|
3671
|
+
showTrafficZones?: boolean;
|
|
3672
|
+
/** LiDAR 클라우드 포인트 (절대 좌표계, [x, y, z]) - 대용량을 위해 이진 버퍼 사용 */
|
|
3673
|
+
lidarCloudPoints?: {
|
|
3674
|
+
positions: Float32Array;
|
|
3675
|
+
count: number;
|
|
3676
|
+
} | undefined;
|
|
3677
|
+
/** LiDAR 점멸 효과 사용 여부 */
|
|
3678
|
+
enableLidarFlashEffect?: boolean;
|
|
3679
|
+
/** 지도 드래그로 AMR 범위 선택 시 선택된 amr id 목록 전달. 빈 배열이면 선택 해제(ESC 등) */
|
|
3680
|
+
onAmrSelectionChange?: (amrIds: string[]) => void;
|
|
3681
|
+
/** Shift+드래그로 AMR 범위 선택을 시작할 때 호출. (검색 조건 초기화 등 외부 UI 동기화용) */
|
|
3682
|
+
onAmrSelectionStart?: () => void;
|
|
3683
|
+
/** Ctrl/Cmd+클릭으로 AMR 단일 토글 선택 시 호출. (맥: Command, Windows/Ubuntu: Ctrl) */
|
|
3684
|
+
onAmrToggleClick?: (amrId: string) => void;
|
|
3685
|
+
/** 지도/드래그로 선택된 AMR id 목록. 있으면 해당 AMR 아이콘을 선택 상태 색으로 표시 */
|
|
3686
|
+
selectedAmrIdsFromMap?: string[] | null;
|
|
3687
|
+
/** AMR 목록 클릭 등으로 포커스된 단일 AMR id (아이콘 강조용). 카메라 포커스용 focusAmrId와는 별도 */
|
|
3688
|
+
focusedAmrIdForIcon?: string | null;
|
|
3689
|
+
/** true면 AMR 이동 잔상(TripsLayer 꼬리)을 표시 */
|
|
3690
|
+
showAmrMovementTrail?: boolean;
|
|
3691
|
+
/** 컨베이어 PNG 위치·스케일·회전 조정 */
|
|
3692
|
+
conveyorBeltTransform?: ConveyorBeltTransform;
|
|
3693
|
+
/** 도킹 스테이션 위치·스케일·회전 조정 */
|
|
3694
|
+
dockingStationTransform?: DockingStationTransform;
|
|
3695
|
+
/** 컨베이어 벨트 아이콘 아틀라스 이미지 URL. 미제공 시 rb-components 내 기본 이미지 사용 */
|
|
3696
|
+
conveyorBeltIconAtlasUrl?: string;
|
|
3697
|
+
/** 도킹 스테이션 아이콘 아틀라스 이미지 URL */
|
|
3698
|
+
dockingStationIconAtlasUrl?: string;
|
|
3699
|
+
/** false면 컨베이어 벨트 레이어를 렌더링하지 않음 */
|
|
3700
|
+
showConveyorBelt?: boolean;
|
|
3701
|
+
/** false면 도킹 스테이션 레이어를 렌더링하지 않음 */
|
|
3702
|
+
showDockingStation?: boolean;
|
|
3703
|
+
/** 지도 표시 방식. control은 기존 마커/노드, real은 실제 AMR 이미지 표시용 확장값 */
|
|
3704
|
+
mapMode?: "control" | "real";
|
|
3705
|
+
/**
|
|
3706
|
+
* real 모드에서 사용할 AMR PNG 데이터 URL (base64 inline).
|
|
3707
|
+
* 제공 시 SVG 기반 real 아이콘 대신 실제 PNG 사진으로 아틀라스를 생성한다.
|
|
3708
|
+
*/
|
|
3709
|
+
amrIconPngDataUrl?: string;
|
|
3710
|
+
/** AMR id별 robot_model. real 모드 모델 이미지 분기에 사용한다. */
|
|
3711
|
+
amrRobotModelById?: ReadonlyMap<string, string>;
|
|
3712
|
+
/** robot_model prefix별 real 모드 이미지와 실제 크기. */
|
|
3713
|
+
amrModelIconVariants?: ReadonlyArray<{
|
|
3714
|
+
modelPrefix: string;
|
|
3715
|
+
pngDataUrl: string;
|
|
3716
|
+
pixelWidth: number;
|
|
3717
|
+
pixelHeight: number;
|
|
3718
|
+
sizeMeters: number;
|
|
3719
|
+
}>;
|
|
3720
|
+
layerColors?: Partial<{
|
|
3721
|
+
pointCloud: string;
|
|
3722
|
+
lidarSensor: string;
|
|
3723
|
+
localPath: string;
|
|
3724
|
+
globalPath: string;
|
|
3725
|
+
oneWayLink: string;
|
|
3726
|
+
twoWayLink: string;
|
|
3727
|
+
}>;
|
|
3728
|
+
/**
|
|
3729
|
+
* 뷰 회전 각(도). Deck.gl MapView `bearing`과 동일 — 월드(미터/포인트) 좌표는 그대로 두고 카메라만 회전.
|
|
3730
|
+
* 지정 시 해당 값이 우선(외부 제어). 미지정이면 내부 viewState.bearing 사용.
|
|
3731
|
+
*/
|
|
3732
|
+
viewBearingDeg?: number;
|
|
3733
|
+
/** AMR별 global path(맵 미터 웨이포인트) */
|
|
3734
|
+
amrGlobalPaths?: AmrPathWaypointsDatum[];
|
|
3735
|
+
/** AMR별 local path */
|
|
3736
|
+
amrLocalPaths?: AmrPathWaypointsDatum[];
|
|
3737
|
+
/** 줌 컨트롤 오버레이 위치 스타일 오버라이드 */
|
|
3738
|
+
zoomControlsStyle?: CSSProperties;
|
|
3739
|
+
/** 외부에서 초기 진입 시 적용할 메인 뷰 상태 */
|
|
3740
|
+
initialMainViewState?: {
|
|
3741
|
+
longitude: number;
|
|
3742
|
+
latitude: number;
|
|
3743
|
+
zoom: number;
|
|
3744
|
+
bearing: number;
|
|
3745
|
+
} | null;
|
|
3746
|
+
/** 현재 메인 뷰 상태 변경 알림 */
|
|
3747
|
+
onMainViewStateChange?: (viewState: {
|
|
3748
|
+
longitude: number;
|
|
3749
|
+
latitude: number;
|
|
3750
|
+
zoom: number;
|
|
3751
|
+
bearing: number;
|
|
3752
|
+
}) => void;
|
|
3753
|
+
/** false면 우상단 minimap을 렌더링하지 않음 */
|
|
3754
|
+
showMiniMap?: boolean;
|
|
3755
|
+
/** AMR 툴팁에 표시할 번역된 라벨 */
|
|
3756
|
+
tooltipLabels?: {
|
|
3757
|
+
currentNode?: string;
|
|
3758
|
+
goalNode?: string;
|
|
3759
|
+
};
|
|
3760
|
+
/** 지도 위 이미지형 요소를 직접 이동·크기 조절·회전하기 위한 편집 컨트롤 */
|
|
3761
|
+
imageTransformControl?: MapImageTransformGeometry | null;
|
|
3762
|
+
/** 지도 위 이미지형 요소의 편집 결과 */
|
|
3763
|
+
onImageTransformControlChange?: (geometry: MapImageTransformGeometry) => void;
|
|
3764
|
+
};
|
|
3765
|
+
declare const FactoryMap: ({ tileUrlTemplate, backgroundImageUrl, backgroundImageBounds, minZoom, maxZoom, mapTopoData, targetPosition, trackingAmrId, focusPosition, highlightedNodeId, onGoalNodeClick, moveStatusDataMap, focusAmrId, onFocusAmrApplied, useInterpolation, exiting, keymapContent, showKeymapPointCloudLayer, safetyZones, trafficZoneData, showSafetyZones, showTrafficZones, lidarCloudPoints, enableLidarFlashEffect, onAmrSelectionChange, onAmrSelectionStart, onAmrToggleClick, selectedAmrIdsFromMap, focusedAmrIdForIcon, showAmrMovementTrail, conveyorBeltTransform, dockingStationTransform, conveyorBeltIconAtlasUrl, dockingStationIconAtlasUrl, showConveyorBelt, showDockingStation, mapMode, amrIconPngDataUrl, amrRobotModelById, amrModelIconVariants, layerColors, viewBearingDeg, amrGlobalPaths, amrLocalPaths, zoomControlsStyle, initialMainViewState, onMainViewStateChange, showMiniMap, tooltipLabels, imageTransformControl, onImageTransformControlChange, }: FactoryMapProps) => react_jsx_runtime.JSX.Element;
|
|
3766
|
+
|
|
3767
|
+
type TopoNode$3 = {
|
|
3768
|
+
id: string;
|
|
3769
|
+
name: string;
|
|
3770
|
+
pose: string | {
|
|
3771
|
+
x: number;
|
|
3772
|
+
y: number;
|
|
3773
|
+
z?: number;
|
|
3774
|
+
rx?: number;
|
|
3775
|
+
ry?: number;
|
|
3776
|
+
rz?: number;
|
|
3777
|
+
};
|
|
3778
|
+
links?: {
|
|
3779
|
+
id?: string;
|
|
3780
|
+
}[];
|
|
3781
|
+
type: string;
|
|
3782
|
+
info?: string;
|
|
3783
|
+
context?: string;
|
|
3784
|
+
features?: string[];
|
|
3785
|
+
};
|
|
3786
|
+
type Params$3 = {
|
|
3787
|
+
mapTopoData: TopoNode$3[];
|
|
3788
|
+
/** 노드 목록 클릭 등으로 포커스된 노드 id. 일치하면 테두리로 강조 */
|
|
3789
|
+
highlightedNodeId?: string;
|
|
3790
|
+
};
|
|
3791
|
+
declare const createArucoLayer: ({ mapTopoData, highlightedNodeId, }: Params$3) => PolygonLayer<any, {
|
|
3792
|
+
id: "aruco-nodes";
|
|
3793
|
+
data: {
|
|
3794
|
+
polygon: number[][];
|
|
3795
|
+
id: string;
|
|
3796
|
+
name: string;
|
|
3797
|
+
type: string;
|
|
3798
|
+
detail: string;
|
|
3799
|
+
features: string[];
|
|
3800
|
+
linkCount: number;
|
|
3801
|
+
}[];
|
|
3802
|
+
coordinateSystem: 2;
|
|
3803
|
+
coordinateOrigin: [number, number, number];
|
|
3804
|
+
getPolygon: (d: any) => any;
|
|
3805
|
+
getFillColor: [number, number, number, number];
|
|
3806
|
+
stroked: true;
|
|
3807
|
+
getLineColor: (d: any) => [number, number, number, number];
|
|
3808
|
+
getLineWidth: (d: any) => 0.04 | 0.02;
|
|
3809
|
+
lineWidthUnits: "meters";
|
|
3810
|
+
pickable: true;
|
|
3811
|
+
autoHighlight: true;
|
|
3812
|
+
highlightColor: number[];
|
|
3813
|
+
}>;
|
|
3814
|
+
|
|
3815
|
+
type TopoNode$2 = {
|
|
3816
|
+
id: string;
|
|
3817
|
+
name: string;
|
|
3818
|
+
pose: string | {
|
|
3819
|
+
x: number;
|
|
3820
|
+
y: number;
|
|
3821
|
+
z?: number;
|
|
3822
|
+
rx?: number;
|
|
3823
|
+
ry?: number;
|
|
3824
|
+
rz?: number;
|
|
3825
|
+
};
|
|
3826
|
+
links?: {
|
|
3827
|
+
id?: string;
|
|
3828
|
+
}[];
|
|
3829
|
+
type: string;
|
|
3830
|
+
info?: string;
|
|
3831
|
+
context?: string;
|
|
3832
|
+
features?: string[];
|
|
3833
|
+
};
|
|
3834
|
+
type Params$2 = {
|
|
3835
|
+
mapTopoData: TopoNode$2[];
|
|
3836
|
+
onGoalNodeClick?: (node: {
|
|
3837
|
+
id: string;
|
|
3838
|
+
name?: string;
|
|
3839
|
+
type: string;
|
|
3840
|
+
}) => void;
|
|
3841
|
+
highlightedNodeId?: string;
|
|
3842
|
+
mapMode?: "control" | "real";
|
|
3843
|
+
};
|
|
3844
|
+
declare const createGoalLayer: ({ mapTopoData, onGoalNodeClick, highlightedNodeId, mapMode, }: Params$2) => Layer[];
|
|
3845
|
+
|
|
3846
|
+
type TopoNode$1 = {
|
|
3847
|
+
id: string;
|
|
3848
|
+
pose: string | {
|
|
3849
|
+
x: number;
|
|
3850
|
+
y: number;
|
|
3851
|
+
z?: number;
|
|
3852
|
+
rx?: number;
|
|
3853
|
+
ry?: number;
|
|
3854
|
+
rz?: number;
|
|
3855
|
+
};
|
|
3856
|
+
links?: Array<string | {
|
|
3857
|
+
id?: string | {
|
|
3858
|
+
id?: string;
|
|
3859
|
+
};
|
|
3860
|
+
}>;
|
|
3861
|
+
};
|
|
3862
|
+
type Params$1 = {
|
|
3863
|
+
mapTopoData: TopoNode$1[];
|
|
3864
|
+
oneWayColor?: RgbaColor;
|
|
3865
|
+
twoWayColor?: RgbaColor;
|
|
3866
|
+
};
|
|
3867
|
+
declare const createLinkLayer: ({ mapTopoData, oneWayColor, twoWayColor, }: Params$1) => PathLayer<any, {
|
|
3868
|
+
id: "links";
|
|
3869
|
+
data: {
|
|
3870
|
+
path: Array<[number, number]>;
|
|
3871
|
+
color: [number, number, number, number];
|
|
3872
|
+
width: number;
|
|
3873
|
+
sourceId: string;
|
|
3874
|
+
targetId: string;
|
|
3875
|
+
isDirectionalMark?: boolean;
|
|
3876
|
+
}[];
|
|
3877
|
+
coordinateSystem: 2;
|
|
3878
|
+
coordinateOrigin: [number, number, number];
|
|
3879
|
+
getPath: (d: any) => any;
|
|
3880
|
+
getColor: (d: any) => any;
|
|
3881
|
+
getWidth: (d: any) => any;
|
|
3882
|
+
widthUnits: "meters";
|
|
3883
|
+
widthMinPixels: 1;
|
|
3884
|
+
pickable: false;
|
|
3885
|
+
autoHighlight: false;
|
|
3886
|
+
}>;
|
|
3887
|
+
|
|
3888
|
+
type TopoNode = {
|
|
3889
|
+
id: string;
|
|
3890
|
+
name: string;
|
|
3891
|
+
pose: string | {
|
|
3892
|
+
x: number;
|
|
3893
|
+
y: number;
|
|
3894
|
+
z?: number;
|
|
3895
|
+
rx?: number;
|
|
3896
|
+
ry?: number;
|
|
3897
|
+
rz?: number;
|
|
3898
|
+
};
|
|
3899
|
+
links?: {
|
|
3900
|
+
id?: string;
|
|
3901
|
+
}[];
|
|
3902
|
+
type: string;
|
|
3903
|
+
info?: string;
|
|
3904
|
+
context?: string;
|
|
3905
|
+
features?: string[];
|
|
3906
|
+
};
|
|
3907
|
+
type Params = {
|
|
3908
|
+
mapTopoData: TopoNode[];
|
|
3909
|
+
/** 노드 목록 클릭 등으로 포커스된 노드 id. 일치하면 테두리로 강조 */
|
|
3910
|
+
highlightedNodeId?: string;
|
|
3911
|
+
mapMode?: "control" | "real";
|
|
3912
|
+
};
|
|
3913
|
+
declare const createRouteLayer: ({ mapTopoData, highlightedNodeId, mapMode, }: Params) => Layer | null;
|
|
3914
|
+
|
|
3915
|
+
type TileKey = string;
|
|
3916
|
+
type KeymapTileIndex = Map<TileKey, number[][]>;
|
|
3917
|
+
declare const buildKeymapTileIndex: (keymapContent: {
|
|
3918
|
+
content: number[][];
|
|
3919
|
+
} | null | undefined, minZoom: number, maxZoom: number) => KeymapTileIndex;
|
|
3920
|
+
|
|
3921
|
+
declare const createKeymapPointCloudLayerByLod: ({ keymapTileIndex, zoom, longitude, latitude, viewportWidth, viewportHeight, pointSize, layerId, color, maxVisiblePoints, }: {
|
|
3922
|
+
keymapTileIndex: KeymapTileIndex;
|
|
3923
|
+
zoom: number;
|
|
3924
|
+
longitude: number;
|
|
3925
|
+
latitude: number;
|
|
3926
|
+
viewportWidth: number;
|
|
3927
|
+
viewportHeight: number;
|
|
3928
|
+
pointSize?: number;
|
|
3929
|
+
layerId?: string;
|
|
3930
|
+
color?: RgbaColor;
|
|
3931
|
+
maxVisiblePoints?: number;
|
|
3932
|
+
}) => PointCloudLayer<unknown, {}>;
|
|
3933
|
+
|
|
3934
|
+
declare const AMR_ICON_VARIANTS: readonly [{
|
|
3935
|
+
readonly key: "marker";
|
|
3936
|
+
readonly color: "#111111";
|
|
3937
|
+
readonly overlayOpacity: 0;
|
|
3938
|
+
}, {
|
|
3939
|
+
readonly key: "marker-selected";
|
|
3940
|
+
readonly color: "#F2E89A";
|
|
3941
|
+
readonly overlayOpacity: 0.3;
|
|
3942
|
+
}, {
|
|
3943
|
+
readonly key: "marker-focused";
|
|
3944
|
+
readonly color: "#155dfc";
|
|
3945
|
+
readonly overlayOpacity: 0.3;
|
|
3946
|
+
}];
|
|
3947
|
+
type AmrIconKey = (typeof AMR_ICON_VARIANTS)[number]["key"];
|
|
3948
|
+
type AmrIconMapping = {
|
|
3949
|
+
x: number;
|
|
3950
|
+
y: number;
|
|
3951
|
+
width: number;
|
|
3952
|
+
height: number;
|
|
3953
|
+
anchorX: number;
|
|
3954
|
+
anchorY: number;
|
|
3955
|
+
mask: false;
|
|
3956
|
+
};
|
|
3957
|
+
type AmrIconMode = "control" | "real";
|
|
3958
|
+
declare const AMR_ICON_MAPPING: Record<AmrIconKey, AmrIconMapping>;
|
|
3959
|
+
declare const getAmrIcon: (mode?: AmrIconMode) => string;
|
|
3960
|
+
|
|
3344
3961
|
interface PluginUIServices {
|
|
3345
3962
|
alert: (params: {
|
|
3346
3963
|
title?: string;
|
|
@@ -3443,5 +4060,5 @@ declare function useRbFormData<T = unknown>(): T | undefined;
|
|
|
3443
4060
|
*/
|
|
3444
4061
|
declare function useRbSave<T = unknown>(getPayload: () => T): void;
|
|
3445
4062
|
|
|
3446
|
-
export { RBSelectOption as Option, Accordion as RBAccordion, AccordionGroup as RBAccordionGroup, RBAlert, RBBadge, RBBattery, Calendar as RBCalendar, RBCard, RBCardAction, RBCardContent, RBCardDescription, RBCardFooter, RBCardHeader, RBCardHeaderText, RBCardPreviewSlot, RBCardTitle, CheckBox as RBCheckBox, RBCheckIconButton, RBCheckLabelButton, RBChipItem, RBChipTab, RBChipsBoxItem, RBChipsBoxTab, RBCommand, RBCommandDialog, RBCommandEmpty, RBCommandGroup, RBCommandInput, RBCommandItem, RBCommandList, RBCommandSelected, RBCommandSeparator, RBCommandShortcut, RBConfirm, DateInput as RBDateInput, RBDatePickerFooterButton, RBDatePickerFooterTime, RBDatePickerPreset, RBDialog, RBDialogClose, RBDialogContent, RBDialogDescription, RBDialogFooter, RBDialogHeader, RBDialogOverlay, RBDialogPortal, RBDialogTitle, RBDialogTrigger, RBDim, RBDivider, RBDrawer, RBDrawerBody, RBDrawerClose, RBDrawerContent, RBDrawerDescription, RBDrawerFooter, RBDrawerHeader, RBDrawerOverlay, RBDrawerPortal, RBDrawerTitle, RBDrawerTrigger, RBDropdownMenu, RBDropdownMenuCheckboxItem, RBDropdownMenuContent, RBDropdownMenuGroup, RBDropdownMenuItem, RBDropdownMenuLabel, RBDropdownMenuPortal, RBDropdownMenuRadioGroup, RBDropdownMenuRadioItem, RBDropdownMenuSeparator, RBDropdownMenuShortcut, RBDropdownMenuSub, RBDropdownMenuSubContent, RBDropdownMenuSubTrigger, RBDropdownMenuTrigger, RBEmptyView, RBIconButton, index as RBIcons, RBInlineLabelButton, RBJoyStick, RBLabelButton, RBLight, RBMenubar, RBMenubarCheckboxItem, RBMenubarContent, RBMenubarGroup, RBMenubarItem, RBMenubarLabel, RBMenubarMenu, RBMenubarPortal, RBMenubarRadioGroup, RBMenubarRadioItem, RBMenubarSeparator, RBMenubarShortcut, RBMenubarSub, RBMenubarSubContent, RBMenubarSubTrigger, RBMenubarTrigger, RBModal, MultiRangeInput as RBMultiRangeInput, RBNoData, RBPagination, RBPopover, RBPopoverAnchor, RBPopoverContent, RBPopoverPlacements, RBPopoverTrigger, RBPrompt, RBQrBarCodeGuideModal, RBRadioBox, RBRadioButton, RangeDateInput as RBRangeDateInput, RBResizable, RBResizableHandle, RBResizablePanel, RBResizable as RBResizablePanelGroup, RBSelectBox, RBSelectDropBox, RBSelectOption, RBSheet, RBSheetClose, RBSheetContent, RBSheetDescription, RBSheetFooter, RBSheetHeader, RBSheetOverlay, RBSheetPortal, RBSheetTitle, RBSheetTrigger, SideNumberInput as RBSideNumberInput, RBSimpleToast, RBSlider, RBSpinner, RBSwitch, RBSwitchField, RBTab, RBTabItem, RBTable, RBTableRow, RBTabs, RBTabsContent, RBTabsList, RBTabsTrigger, RBTdColumn, RBTdExpend, RBTextArea, RBTextField, RBTextHelperText, RBTextInput, RBTextLabel, RBToggle, RBToggleGroup, RBToggleGroupItem, RBTooltip, accordionVariants, badgeRootVariants, batteryFillVariants, cardRootVariants, checkBoxRootVariants, checkIconButtonVariants, checkLabelButtonVariants, chipRootVariants, dividerVariants, emptyViewRootVariants, iconButtonVariants, inlineLabelButtonVariants, labelButtonVariants, lightColors, lightSizes, radioRootVariants, selectTriggerVariants, sideNumberInputVariants, tabRootVariants, textAreaVariants, textInputVariants, useRb, useRbFormData, useRbSave };
|
|
3447
|
-
export type { PropsType$
|
|
4063
|
+
export { AMR_ICON_MAPPING, CONVEYOR_BELT_IMAGE_BASE_GEOMETRY, DOCKING_STATION_IMAGE_BASE_GEOMETRY, FactoryMap, HStack, RBSelectOption as Option, Accordion as RBAccordion, AccordionGroup as RBAccordionGroup, RBAlert, RBBadge, RBBattery, Calendar as RBCalendar, RBCard, RBCardAction, RBCardContent, RBCardDescription, RBCardFooter, RBCardHeader, RBCardHeaderText, RBCardPreviewSlot, RBCardTitle, CheckBox as RBCheckBox, RBCheckIconButton, RBCheckLabelButton, RBChipItem, RBChipTab, RBChipsBoxItem, RBChipsBoxTab, RBCommand, RBCommandDialog, RBCommandEmpty, RBCommandGroup, RBCommandInput, RBCommandItem, RBCommandList, RBCommandSelected, RBCommandSeparator, RBCommandShortcut, RBConfirm, DateInput as RBDateInput, RBDatePickerFooterButton, RBDatePickerFooterTime, RBDatePickerPreset, RBDialog, RBDialogClose, RBDialogContent, RBDialogDescription, RBDialogFooter, RBDialogHeader, RBDialogOverlay, RBDialogPortal, RBDialogTitle, RBDialogTrigger, RBDim, RBDivider, RBDrawer, RBDrawerBody, RBDrawerClose, RBDrawerContent, RBDrawerDescription, RBDrawerFooter, RBDrawerHeader, RBDrawerOverlay, RBDrawerPortal, RBDrawerTitle, RBDrawerTrigger, RBDropdownMenu, RBDropdownMenuCheckboxItem, RBDropdownMenuContent, RBDropdownMenuGroup, RBDropdownMenuItem, RBDropdownMenuLabel, RBDropdownMenuPortal, RBDropdownMenuRadioGroup, RBDropdownMenuRadioItem, RBDropdownMenuSeparator, RBDropdownMenuShortcut, RBDropdownMenuSub, RBDropdownMenuSubContent, RBDropdownMenuSubTrigger, RBDropdownMenuTrigger, RBEmptyView, RBIconButton, index as RBIcons, RBInlineLabelButton, RBJoyStick, RBLabelButton, RBLight, RBMenubar, RBMenubarCheckboxItem, RBMenubarContent, RBMenubarGroup, RBMenubarItem, RBMenubarLabel, RBMenubarMenu, RBMenubarPortal, RBMenubarRadioGroup, RBMenubarRadioItem, RBMenubarSeparator, RBMenubarShortcut, RBMenubarSub, RBMenubarSubContent, RBMenubarSubTrigger, RBMenubarTrigger, RBModal, MultiRangeInput as RBMultiRangeInput, RBNoData, RBPagination, RBPopover, RBPopoverAnchor, RBPopoverContent, RBPopoverPlacements, RBPopoverTrigger, RBPrompt, RBQrBarCodeGuideModal, RBRadioBox, RBRadioButton, RangeDateInput as RBRangeDateInput, RBResizable, RBResizableHandle, RBResizablePanel, RBResizable as RBResizablePanelGroup, RBSelectBox, RBSelectDropBox, RBSelectOption, RBSheet, RBSheetClose, RBSheetContent, RBSheetDescription, RBSheetFooter, RBSheetHeader, RBSheetOverlay, RBSheetPortal, RBSheetTitle, RBSheetTrigger, SideNumberInput as RBSideNumberInput, RBSimpleToast, RBSlider, RBSpinner, RBSwitch, RBSwitchField, RBTab, RBTabItem, RBTable, RBTableRow, RBTabs, RBTabsContent, RBTabsList, RBTabsTrigger, RBTdColumn, RBTdExpend, RBTextArea, RBTextField, RBTextHelperText, RBTextInput, RBTextLabel, RBToggle, RBToggleGroup, RBToggleGroupItem, RBTooltip, SAFETY_ZONE_COLORS, VStack, accordionVariants, badgeRootVariants, batteryFillVariants, buildKeymapTileIndex, cardRootVariants, checkBoxRootVariants, checkIconButtonVariants, checkLabelButtonVariants, chipRootVariants, createArucoLayer, createGoalLayer, createKeymapPointCloudLayerByLod, createLinkLayer, createRouteLayer, dividerVariants, emptyViewRootVariants, getAmrIcon, iconButtonVariants, inlineLabelButtonVariants, labelButtonVariants, lightColors, lightSizes, parseTrafficZoneData, radioRootVariants, selectTriggerVariants, sideNumberInputVariants, tabRootVariants, textAreaVariants, textInputVariants, trafficZoneColorToCss, useRb, useRbFormData, useRbSave, zoneColorNumberToCss };
|
|
4064
|
+
export type { PropsType$t as AccordionProps, AccordionVariantProps, AmrPathWaypointsDatum, PropsType$a as BadgeProps, BadgeVariantProps, BatteryProps, BatteryVariantProps, CardVariantProps, Props$h as CheckBoxProps, CheckBoxVariantProps, Props$g as CheckIconButtonProps, PropsType$h as ChipItemProps, PropsType$i as ChipTabProps, ChipVariantProps, PropsType$f as ChipsBoxItemProps, PropsType$g as ChipsBoxTabProps, Props$d as DateInputProps, PropsType$2 as DatePickerFooterButtonProps, PropsType$4 as DatePickerPresetProps, DatePickerTimeValue, PropsType$q as DimProps, DividerProps, DividerVariantProps, DrawerSide, DropdownItemVariant, PropsType$9 as EmptyViewProps, EmptyViewVariantProps, PropsType$b as ExpendProps, FactoryMapProps, PropsType$1 as HStackProps, HelperTone, IconButtonProps, IconButtonVariantProps, InlineLabelButtonProps, InlineLabelButtonVariantProps, Props$3 as JoyStickProps, KeymapTileIndex, LabelButtonProps, LabelButtonVariantProps, LightProps, LightVariantProps, MapImageTransformGeometry, MenubarItemVariant, Props$4 as MultiRangeInputProps, Props$7 as PaginationProps, Props$b as RBAlertProps, RBCardContentProps, RBCardFooterProps, RBCardHeaderProps, RBCardHeaderTextProps, RBCardPreviewSlotProps, RBCardProps, RBCardTitleProps, Props$a as RBConfirmProps, RBDialogContentProps, RBDrawerContentProps, RBDrawerProps, RBPopoverContentProps, RBPopoverPlacement, Props$9 as RBPromptProps, PropsType$l as RBRadioBoxProps, RBResizableHandleProps, RBResizablePanelProps, RBResizableProps, PropsType$p as RBSelectBoxProps, RBSelectBoxRef, RBSheetContentProps, Props$1 as RBSimpleToastProps, RBSliderProps, PropsType$5 as RBSwitchFieldProps, RBSwitchProps, RBTabsContentProps, RBTabsListProps, RBTabsProps, RBTabsTriggerProps, Props$e as RBTextAreaProps, RBToggleGroupItemProps, RBToggleGroupProps, RBToggleProps, Props$5 as RadioButtonProps, RadioVariantProps, Props$c as RangeDateInputProps, RbJoyStickEventData, RbSdk, SafetyZoneInput, SafetyZoneType, PropsType$o as SelectOptionProps, SelectTriggerVariantProps, SheetSide, Props$6 as SideNumberInputProps, SideNumberInputVariantProps, SwitchControlPlacement, SwitchSize, SwitchTone, SwitchType, PropsType$j as TabItemProps, PropsType$k as TabProps, TabVariantProps, PropsType$e as TableProps, PropsType$d as TableRowProps, TabsSize, TabsVariant, PropsType$c as TdColumnProps, TextAreaVariantProps, PropsType$7 as TextFieldProps, PropsType$r as TextHelperTextProps, PropsType$s as TextInputProps, TextInputVariantProps, PropsType$8 as TextLabelProps, ToggleGroupOrientation, ToggleVariantProps, PropsType$6 as TooltipProps, TrafficZone, PropsType as VStackProps };
|