(width - leftWidth - rightWidth);
-
- useEffect(() => {
- const prevWidth = leftWidth + centerWidth + rightWidth;
- let newLeftWidth = Math.floor(width * (leftWidth / prevWidth));
- let newRightWidth = Math.floor(width * (rightWidth / prevWidth));
-
- newLeftWidth = Math.min(newLeftWidth, leftSiderDefaultWidth);
- newRightWidth = Math.min(newRightWidth, rightSiderDefaultWidth);
-
- const newCenterWidth = width - newLeftWidth - newRightWidth;
- setLeftWidth(newLeftWidth);
- setRightWidth(newRightWidth);
- setCenterWidth(newCenterWidth);
- }, [height, width]);
-
- return (
-
-
- {
- const open = openLeftSider ? false : true;
-
- let newLeftWidth = leftWidth;
- if (open) {
- newLeftWidth = leftSiderDefaultWidth;
- } else {
- newLeftWidth = 0;
- }
- setLeftWidth(newLeftWidth);
- setCenterWidth(width - newLeftWidth - rightWidth);
- setRightWidth(rightWidth);
- setOpenLeftSider(open);
- }}
- onClickToggleSetting={() => {
- const open = openRightSider ? false : true;
- let newRightWidth = rightWidth;
- if (open) {
- newRightWidth = rightSiderDefaultWidth;
- } else {
- newRightWidth = 0;
- }
- setLeftWidth(leftWidth);
- setCenterWidth(width - leftWidth - newRightWidth);
- setRightWidth(newRightWidth);
- setOpenRightSider(open);
- }}
- />
-
-
-
{
- setCenterWidth(px - rightWidth);
- setLeftWidth(width - px);
- }}
- pane1Style={{
- width: leftWidth
- }}
- pane2Style={{
- width: centerWidth + rightWidth
- }}
- >
-
-
-
-
- {/*
{
- const open = openLeftSider ? false : true;
-
- let newLeftWidth = leftWidth;
- if (open) {
- newLeftWidth = leftSiderDefaultWidth;
- } else {
- newLeftWidth = 0;
- }
- setLeftWidth(newLeftWidth);
- setCenterWidth(width - newLeftWidth - rightWidth);
- setRightWidth(rightWidth);
- setOpenLeftSider(open);
- }}
- onClickToggleSetting={() => {
- const open = openRightSider ? false : true;
- let newRightWidth = rightWidth;
- if (open) {
- newRightWidth = rightSiderDefaultWidth;
- } else {
- newRightWidth = 0;
- }
- setLeftWidth(leftWidth);
- setCenterWidth(width - leftWidth - newRightWidth);
- setRightWidth(newRightWidth);
- setOpenRightSider(open);
- }}
- /> */}
-
- );
-};
diff --git a/packages/lab/src/modules/header/index.tsx b/packages/lab/src/modules/header/index.tsx
deleted file mode 100644
index 3ce3c7a..0000000
--- a/packages/lab/src/modules/header/index.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-import React, { useContext } from 'react';
-import type { CSSProperties } from 'react';
-import classnames from 'classnames';
-import Switch from 'antd/es/switch';
-import { createPrefixName } from '../../css';
-import IconDark from '../../icons/dark';
-import IconLight from '../../icons/light';
-import { Context } from '../../context';
-import { Toolbar } from '../toolbar';
-import type { ToolbarProps } from '../toolbar';
-
-const modName = 'mod-header';
-
-const prefixName = createPrefixName(modName);
-
-export interface ModProps extends ToolbarProps {
- className?: string;
- style?: CSSProperties;
-}
-
-export const Header = (props: ModProps) => {
- const { className, style, openLeftSider, openRightSider, onClickToggleLayer, onClickToggleSetting } = props;
- const { state, dispatch } = useContext(Context);
-
- return (
-
- @idraw/lab
-
- }
- unCheckedChildren={}
- checked={state?.themeMode === 'light'}
- onChange={(checked: boolean) => {
- dispatch?.({
- type: 'updateThemeMode',
- payload: {
- themeMode: checked ? 'light' : 'dark'
- }
- });
- }}
- />
-
- );
-};
diff --git a/packages/lab/src/modules/index.tsx b/packages/lab/src/modules/index.tsx
deleted file mode 100644
index 5ae7903..0000000
--- a/packages/lab/src/modules/index.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-export { Toolbar } from './toolbar/index';
-export type { ToolbarProps } from './toolbar/index';
-
-export { Dashboard } from './dashboard/index';
-export type { DashboardProps } from './dashboard/index';
diff --git a/packages/lab/src/modules/panel-layer/config.ts b/packages/lab/src/modules/panel-layer/config.ts
deleted file mode 100644
index 71684e2..0000000
--- a/packages/lab/src/modules/panel-layer/config.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { createPrefixName } from '../../css';
-
-const modName = 'mod-panel-layer';
-export const prefixName = createPrefixName(modName);
diff --git a/packages/lab/src/modules/panel-layer/index.tsx b/packages/lab/src/modules/panel-layer/index.tsx
deleted file mode 100644
index 0146aa8..0000000
--- a/packages/lab/src/modules/panel-layer/index.tsx
+++ /dev/null
@@ -1,59 +0,0 @@
-import React, { useContext } from 'react';
-import type { CSSProperties } from 'react';
-import classnames from 'classnames';
-import Tabs from 'antd/es/tabs';
-import type { TabsProps } from 'antd';
-import FileOutlined from '@ant-design/icons/FileOutlined';
-import AppstoreOutlined from '@ant-design/icons/AppstoreOutlined';
-import CalculatorOutlined from '@ant-design/icons/CalculatorOutlined';
-import { prefixName } from './config';
-import { LayerTree } from './layer-tree';
-import { Context } from '../../context';
-import { LabDrawDataType } from '../../types';
-
-const items: TabsProps['items'] = [
- {
- key: 'page',
- label:
- },
- {
- key: 'module',
- label:
- },
- {
- key: 'component',
- label:
- }
-];
-
-export interface PanelLayerProps {
- className?: string;
- style?: CSSProperties;
-}
-
-export const PanelLayer = (props: PanelLayerProps) => {
- const { className, style } = props;
- const { state, dispatch } = useContext(Context);
-
- return (
-
-
- {
- dispatch({ type: 'switchDrawDataType', payload: { activeDrawDataType: activeKey as LabDrawDataType } });
- }}
- />
-
-
-
-
-
footer
-
- );
-};
diff --git a/packages/lab/src/modules/panel-layer/layer-tree.tsx b/packages/lab/src/modules/panel-layer/layer-tree.tsx
deleted file mode 100644
index 0ab49fc..0000000
--- a/packages/lab/src/modules/panel-layer/layer-tree.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import React, { useEffect, useContext } from 'react';
-import classnames from 'classnames';
-import Tree from 'antd/es/tree';
-import DownOutlined from '@ant-design/icons/DownOutlined';
-import { prefixName } from './config';
-import { Context } from '../../context';
-import { parseComponentViewTree } from '../../util/component';
-
-import type { CSSProperties } from 'react';
-import type { DataNode, TreeProps } from 'antd/es/tree';
-import type { LabDrawDataType } from '../../types';
-
-const { DirectoryTree } = Tree;
-const baseName = 'layer-tree';
-
-export interface LayerTreeProps {
- className?: string;
- style?: CSSProperties;
- type: LabDrawDataType;
-}
-
-export const LayerTree = (props: LayerTreeProps) => {
- const { className, style, type } = props;
- const { state } = useContext(Context);
-
- const onSelect: TreeProps['onSelect'] = (selectedKeys, info) => {
- // TODO
- console.log('selected', selectedKeys, info);
- };
-
- let treeData: DataNode[] = [];
- if (type === 'component') {
- treeData = parseComponentViewTree(state?.labData || null);
- }
-
- return (
-
- } icon={null} onSelect={onSelect} treeData={treeData} />
-
- );
-};
diff --git a/packages/lab/src/modules/sketch/index.tsx b/packages/lab/src/modules/sketch/index.tsx
deleted file mode 100644
index b3d515b..0000000
--- a/packages/lab/src/modules/sketch/index.tsx
+++ /dev/null
@@ -1,61 +0,0 @@
-import React, { useEffect, useRef, useContext } from 'react';
-import classnames from 'classnames';
-import { Core, MiddlewareScroller, MiddlewareSelector, MiddlewareScaler } from '@idraw/core';
-import { calcElementsContextSize } from '@idraw/util';
-import { createPrefixName } from '../../css';
-import { Context } from '../../context';
-import type { CSSProperties } from 'react';
-
-const modName = 'mod-sketch';
-
-const prefixName = createPrefixName(modName);
-
-export interface DashboardProps {
- className?: string;
- style?: CSSProperties;
- width: number;
- height: number;
-}
-
-export const Sketch = (props: DashboardProps) => {
- const ref = useRef(null);
- const refCore = useRef(null);
- const { className, style, width, height } = props;
- const devicePixelRatio = window.devicePixelRatio;
-
- const { state } = useContext(Context);
-
- useEffect(() => {
- if (ref?.current) {
- if (!refCore?.current) {
- const options = {
- width,
- height,
- devicePixelRatio
- };
- const core = new Core(ref.current, options);
- core.use(MiddlewareScroller);
- core.use(MiddlewareSelector);
- core.use(MiddlewareScaler);
- refCore.current = core;
- }
- }
- }, []);
-
- useEffect(() => {
- if (!refCore?.current || !state.viewDrawData) {
- return;
- }
- const core = refCore.current;
- const contextSize = calcElementsContextSize(state.viewDrawData.elements, { viewWidth: width, viewHeight: height, extend: true });
- core.resize({
- width,
- height,
- devicePixelRatio,
- ...contextSize
- });
- core.setData(state.viewDrawData);
- }, [state.viewDrawData, height, width]);
-
- return ;
-};
diff --git a/packages/lab/src/modules/split-pane/index.tsx b/packages/lab/src/modules/split-pane/index.tsx
deleted file mode 100644
index 0298c51..0000000
--- a/packages/lab/src/modules/split-pane/index.tsx
+++ /dev/null
@@ -1,6 +0,0 @@
-// Thanks to: https://github.com/tomkp/react-split-pane/blob/master/src/index.js
-import SplitPane from './split-pane';
-import Pane from './pane';
-
-export default SplitPane;
-export { Pane };
diff --git a/packages/lab/src/modules/split-pane/pane.tsx b/packages/lab/src/modules/split-pane/pane.tsx
deleted file mode 100644
index 424aef6..0000000
--- a/packages/lab/src/modules/split-pane/pane.tsx
+++ /dev/null
@@ -1,49 +0,0 @@
-// Thanks to: https://github.com/tomkp/react-split-pane/blob/master/src/Pane.js
-/* eslint-disable @typescript-eslint/ban-ts-comment */
-// @ts-nocheck
-import React from 'react';
-
-class Pane extends React.PureComponent {
- render() {
- const { children, className, split, style: styleProps, size, eleRef } = this.props;
-
- const classes = ['Pane', split, className];
-
- let style = {
- flex: 1,
- position: 'relative',
- outline: 'none'
- };
-
- if (size !== undefined) {
- if (split === 'vertical') {
- style.width = size;
- } else {
- style.height = size;
- style.display = 'flex';
- }
- style.flex = 'none';
- }
-
- style = Object.assign({}, style, styleProps || {});
-
- return (
-
- {children}
-
- );
- }
-}
-
-// Pane.propTypes = {
-// className: PropTypes.string.isRequired,
-// children: PropTypes.node.isRequired,
-// size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
-// split: PropTypes.oneOf(['vertical', 'horizontal']),
-// style: stylePropType,
-// eleRef: PropTypes.func,
-// };
-
-// Pane.defaultProps = {};
-
-export default Pane;
diff --git a/packages/lab/src/modules/split-pane/resizer.tsx b/packages/lab/src/modules/split-pane/resizer.tsx
deleted file mode 100644
index 8f70b6f..0000000
--- a/packages/lab/src/modules/split-pane/resizer.tsx
+++ /dev/null
@@ -1,64 +0,0 @@
-// Thanks to: https://github.com/tomkp/react-split-pane/blob/master/src/Resizer.js
-/* eslint-disable @typescript-eslint/ban-ts-comment */
-// @ts-nocheck
-import React from 'react';
-import { createPrefixName } from '../../css';
-
-const modName = 'mod-split-pane';
-
-const prefixName = createPrefixName(modName);
-
-export const RESIZER_DEFAULT_CLASSNAME = prefixName();
-
-class Resizer extends React.Component {
- render() {
- const { className, onClick, onDoubleClick, onMouseDown, onTouchEnd, onTouchStart, resizerClassName = RESIZER_DEFAULT_CLASSNAME, split, style } = this.props;
- const classes = [resizerClassName, split, className];
-
- return (
- onMouseDown(event)}
- onTouchStart={(event) => {
- event.preventDefault();
- onTouchStart(event);
- }}
- onTouchEnd={(event) => {
- event.preventDefault();
- onTouchEnd(event);
- }}
- onClick={(event) => {
- if (onClick) {
- event.preventDefault();
- onClick(event);
- }
- }}
- onDoubleClick={(event) => {
- if (onDoubleClick) {
- event.preventDefault();
- onDoubleClick(event);
- }
- }}
- />
- );
- }
-}
-
-// Resizer.propTypes = {
-// className: PropTypes.string.isRequired,
-// onClick: PropTypes.func,
-// onDoubleClick: PropTypes.func,
-// onMouseDown: PropTypes.func.isRequired,
-// onTouchStart: PropTypes.func.isRequired,
-// onTouchEnd: PropTypes.func.isRequired,
-// split: PropTypes.oneOf(['vertical', 'horizontal']),
-// style: stylePropType,
-// resizerClassName: PropTypes.string.isRequired,
-// };
-// Resizer.defaultProps = {
-// resizerClassName: RESIZER_DEFAULT_CLASSNAME,
-// };
-
-export default Resizer;
diff --git a/packages/lab/src/modules/split-pane/split-pane.tsx b/packages/lab/src/modules/split-pane/split-pane.tsx
deleted file mode 100644
index a141d4b..0000000
--- a/packages/lab/src/modules/split-pane/split-pane.tsx
+++ /dev/null
@@ -1,374 +0,0 @@
-// Thanks to: https://github.com/tomkp/react-split-pane/blob/master/src/SplitPane.js
-/* eslint-disable @typescript-eslint/ban-ts-comment */
-// @ts-nocheck
-import React from 'react';
-// import PropTypes from 'prop-types';
-// import stylePropType from 'react-style-proptype';
-// import { polyfill } from 'react-lifecycles-compat';
-
-import Pane from './pane';
-import Resizer, { RESIZER_DEFAULT_CLASSNAME } from './resizer';
-
-function unFocus(document, window) {
- if (document.selection) {
- document.selection.empty();
- } else {
- try {
- window.getSelection().removeAllRanges();
- // eslint-disable-next-line no-empty
- } catch (e) {}
- }
-}
-
-function getDefaultSize(defaultSize, minSize, maxSize, draggedSize) {
- if (typeof draggedSize === 'number') {
- const min = typeof minSize === 'number' ? minSize : 0;
- const max = typeof maxSize === 'number' && maxSize >= 0 ? maxSize : Infinity;
- return Math.max(min, Math.min(max, draggedSize));
- }
- if (defaultSize !== undefined) {
- return defaultSize;
- }
- return minSize;
-}
-
-function removeNullChildren(children) {
- return React.Children.toArray(children).filter((c) => c);
-}
-class SplitPane extends React.Component {
- constructor(props) {
- super(props);
-
- this.onMouseDown = this.onMouseDown.bind(this);
- this.onTouchStart = this.onTouchStart.bind(this);
- this.onMouseMove = this.onMouseMove.bind(this);
- this.onTouchMove = this.onTouchMove.bind(this);
- this.onMouseUp = this.onMouseUp.bind(this);
-
- // order of setting panel sizes.
- // 1. size
- // 2. getDefaultSize(defaultSize, minsize, maxSize)
-
- const { size, defaultSize, minSize, maxSize, primary } = props;
-
- const initialSize = size !== undefined ? size : getDefaultSize(defaultSize, minSize, maxSize, null);
-
- this.state = {
- active: false,
- resized: false,
- pane1Size: primary === 'first' ? initialSize : undefined,
- pane2Size: primary === 'second' ? initialSize : undefined,
-
- // these are props that are needed in static functions. ie: gDSFP
- instanceProps: {
- size
- }
- };
- }
-
- componentDidMount() {
- document.addEventListener('mouseup', this.onMouseUp);
- document.addEventListener('mousemove', this.onMouseMove);
- document.addEventListener('touchmove', this.onTouchMove);
- this.setState(SplitPane.getSizeUpdate(this.props, this.state));
- }
-
- static getDerivedStateFromProps(nextProps, prevState) {
- return SplitPane.getSizeUpdate(nextProps, prevState);
- }
-
- componentWillUnmount() {
- document.removeEventListener('mouseup', this.onMouseUp);
- document.removeEventListener('mousemove', this.onMouseMove);
- document.removeEventListener('touchmove', this.onTouchMove);
- }
-
- onMouseDown(event) {
- const eventWithTouches = Object.assign({}, event, {
- touches: [{ clientX: event.clientX, clientY: event.clientY }]
- });
- this.onTouchStart(eventWithTouches);
- }
-
- onTouchStart(event) {
- const { allowResize, onDragStarted, split } = this.props;
- if (allowResize) {
- unFocus(document, window);
- const position = split === 'vertical' ? event.touches[0].clientX : event.touches[0].clientY;
-
- if (typeof onDragStarted === 'function') {
- onDragStarted();
- }
- this.setState({
- active: true,
- position
- });
- }
- }
-
- onMouseMove(event) {
- const eventWithTouches = Object.assign({}, event, {
- touches: [{ clientX: event.clientX, clientY: event.clientY }]
- });
- this.onTouchMove(eventWithTouches);
- }
-
- onTouchMove(event) {
- const { allowResize, maxSize, minSize, onChange, split, step } = this.props;
- const { active, position } = this.state;
-
- if (allowResize && active) {
- unFocus(document, window);
- const isPrimaryFirst = this.props.primary === 'first';
- const ref = isPrimaryFirst ? this.pane1 : this.pane2;
- const ref2 = isPrimaryFirst ? this.pane2 : this.pane1;
- if (ref) {
- const node = ref;
- const node2 = ref2;
-
- if (node.getBoundingClientRect) {
- const width = node.getBoundingClientRect().width;
- const height = node.getBoundingClientRect().height;
- const current = split === 'vertical' ? event.touches[0].clientX : event.touches[0].clientY;
- const size = split === 'vertical' ? width : height;
- let positionDelta = position - current;
- if (step) {
- if (Math.abs(positionDelta) < step) {
- return;
- }
- // Integer division
- // eslint-disable-next-line no-bitwise
- positionDelta = ~~(positionDelta / step) * step;
- }
- let sizeDelta = isPrimaryFirst ? positionDelta : -positionDelta;
-
- const pane1Order = parseInt(window.getComputedStyle(node).order);
- const pane2Order = parseInt(window.getComputedStyle(node2).order);
- if (pane1Order > pane2Order) {
- sizeDelta = -sizeDelta;
- }
-
- let newMaxSize = maxSize;
- if (maxSize !== undefined && maxSize <= 0) {
- const splitPane = this.splitPane;
- if (split === 'vertical') {
- newMaxSize = splitPane.getBoundingClientRect().width + maxSize;
- } else {
- newMaxSize = splitPane.getBoundingClientRect().height + maxSize;
- }
- }
-
- let newSize = size - sizeDelta;
- const newPosition = position - positionDelta;
-
- if (newSize < minSize) {
- newSize = minSize;
- } else if (maxSize !== undefined && newSize > newMaxSize) {
- newSize = newMaxSize;
- } else {
- this.setState({
- position: newPosition,
- resized: true
- });
- }
-
- if (onChange) onChange(newSize);
-
- this.setState({
- draggedSize: newSize,
- [isPrimaryFirst ? 'pane1Size' : 'pane2Size']: newSize
- });
- }
- }
- }
- }
-
- onMouseUp() {
- const { allowResize, onDragFinished } = this.props;
- const { active, draggedSize } = this.state;
- if (allowResize && active) {
- if (typeof onDragFinished === 'function') {
- onDragFinished(draggedSize);
- }
- this.setState({ active: false });
- }
- }
-
- // we have to check values since gDSFP is called on every render and more in StrictMode
- static getSizeUpdate(props, state) {
- const newState = {};
- const { instanceProps } = state;
-
- if (instanceProps.size === props.size && props.size !== undefined) {
- return {};
- }
-
- const newSize = props.size !== undefined ? props.size : getDefaultSize(props.defaultSize, props.minSize, props.maxSize, state.draggedSize);
-
- if (props.size !== undefined) {
- newState.draggedSize = newSize;
- }
-
- const isPanel1Primary = props.primary === 'first';
-
- newState[isPanel1Primary ? 'pane1Size' : 'pane2Size'] = newSize;
- newState[isPanel1Primary ? 'pane2Size' : 'pane1Size'] = undefined;
-
- newState.instanceProps = { size: props.size };
-
- return newState;
- }
-
- render() {
- const {
- allowResize,
- children,
- className,
- onResizerClick,
- onResizerDoubleClick,
- paneClassName,
- pane1ClassName,
- pane2ClassName,
- paneStyle,
- pane1Style: pane1StyleProps,
- pane2Style: pane2StyleProps,
- resizerClassName,
- resizerStyle,
- split,
- style: styleProps
- } = this.props;
-
- const { pane1Size, pane2Size } = this.state;
-
- const disabledClass = allowResize ? '' : 'disabled';
- const resizerClassNamesIncludingDefault = resizerClassName ? `${resizerClassName} ${RESIZER_DEFAULT_CLASSNAME}` : resizerClassName;
-
- const notNullChildren = removeNullChildren(children);
-
- const style = {
- display: 'flex',
- flex: 1,
- height: '100%',
- position: 'absolute',
- outline: 'none',
- overflow: 'hidden',
- MozUserSelect: 'text',
- WebkitUserSelect: 'text',
- msUserSelect: 'text',
- userSelect: 'text',
- ...styleProps
- };
-
- if (split === 'vertical') {
- Object.assign(style, {
- flexDirection: 'row',
- left: 0,
- right: 0
- });
- } else {
- Object.assign(style, {
- bottom: 0,
- flexDirection: 'column',
- minHeight: '100%',
- top: 0,
- width: '100%'
- });
- }
-
- const classes = ['SplitPane', className, split, disabledClass];
-
- const pane1Style = { ...paneStyle, ...pane1StyleProps };
- const pane2Style = { ...paneStyle, ...pane2StyleProps };
-
- const pane1Classes = ['Pane1', paneClassName, pane1ClassName].join(' ');
- const pane2Classes = ['Pane2', paneClassName, pane2ClassName].join(' ');
-
- return (
- {
- this.splitPane = node;
- }}
- style={style}
- >
-
{
- this.pane1 = node;
- }}
- size={pane1Size}
- split={split}
- style={pane1Style}
- >
- {notNullChildren[0]}
-
-
-
{
- this.pane2 = node;
- }}
- size={pane2Size}
- split={split}
- style={pane2Style}
- >
- {notNullChildren[1]}
-
-
- );
- }
-}
-
-// SplitPane.propTypes = {
-// allowResize: PropTypes.bool,
-// children: PropTypes.arrayOf(PropTypes.node).isRequired,
-// className: PropTypes.string,
-// primary: PropTypes.oneOf(['first', 'second']),
-// minSize: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
-// maxSize: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
-// defaultSize: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
-// size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
-// split: PropTypes.oneOf(['vertical', 'horizontal']),
-// onDragStarted: PropTypes.func,
-// onDragFinished: PropTypes.func,
-// onChange: PropTypes.func,
-// onResizerClick: PropTypes.func,
-// onResizerDoubleClick: PropTypes.func,
-// style: stylePropType,
-// resizerStyle: stylePropType,
-// paneClassName: PropTypes.string,
-// pane1ClassName: PropTypes.string,
-// pane2ClassName: PropTypes.string,
-// paneStyle: stylePropType,
-// pane1Style: stylePropType,
-// pane2Style: stylePropType,
-// resizerClassName: PropTypes.string,
-// step: PropTypes.number
-// };
-
-// SplitPane.defaultProps = {
-// allowResize: true,
-// minSize: 50,
-// primary: 'first',
-// split: 'vertical',
-// paneClassName: '',
-// pane1ClassName: '',
-// pane2ClassName: ''
-// };
-
-// polyfill(SplitPane);
-
-export default SplitPane;
diff --git a/packages/lab/src/modules/toolbar/index.tsx b/packages/lab/src/modules/toolbar/index.tsx
deleted file mode 100644
index 97ef2ac..0000000
--- a/packages/lab/src/modules/toolbar/index.tsx
+++ /dev/null
@@ -1,62 +0,0 @@
-import React, { useState } from 'react';
-import type { CSSProperties } from 'react';
-import classnames from 'classnames';
-import Radio from 'antd/es/radio';
-import Button from 'antd/es/button';
-import { createPrefixName } from '../../css';
-import IconMouse from '../../icons/mouse';
-import IconPen from '../../icons/pen';
-import IconHand from '../../icons/hand';
-import IconScale from '../../icons/scale';
-import IconLayer from '../../icons/layer';
-import IconSetting from '../../icons/setting';
-import IconMore from '../../icons/more';
-
-const RadioButton = Radio.Button;
-const RadioGroup = Radio.Group;
-const modName = 'mod-toolbar';
-
-const prefixName = createPrefixName(modName);
-
-export interface ToolbarProps {
- className?: string;
- style?: CSSProperties;
- openLeftSider: boolean;
- openRightSider: boolean;
- onClickToggleLayer?: () => void;
- onClickToggleSetting?: () => void;
-}
-
-export const Toolbar = (props: ToolbarProps) => {
- const { className, style, openLeftSider, openRightSider, onClickToggleLayer, onClickToggleSetting } = props;
- const [mode, setMode] = useState('select');
- const iconStyle = { fontSize: 20 };
-
- return (
-
-
- } onClick={onClickToggleLayer} />
-
-
setMode(e.target.value)}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- } onClick={onClickToggleSetting} />
-
-
- );
-};
diff --git a/packages/lab/src/types/context.ts b/packages/lab/src/types/context.ts
deleted file mode 100644
index a6c09d3..0000000
--- a/packages/lab/src/types/context.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import type { Dispatch } from 'react';
-import type { Data } from '@idraw/types';
-import { LabData, LabDrawDataType } from './data';
-
-export interface LabState {
- activeDrawDataType: LabDrawDataType;
- labData: LabData;
- viewDrawData: Data;
- viewDrawUUID: string | null;
- themeMode: 'light' | 'dark';
-}
-
-export type LabActionType = 'updateThemeMode' | 'updateLabData' | 'switchDrawDataType';
-
-export type LabAction = {
- type: LabActionType;
- payload: Partial;
-};
-
-export type LabDispatch = Dispatch;
-
-export interface LabContext {
- state: LabState;
- dispatch: LabDispatch;
-}
diff --git a/packages/lab/src/types/data.ts b/packages/lab/src/types/data.ts
deleted file mode 100644
index e8f48aa..0000000
--- a/packages/lab/src/types/data.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import type { Element, ElementType, ElementSize, ElementBaseDesc } from '@idraw/types';
-
-export type LabItemType = 'component' | 'component-item' | 'module' | 'page';
-
-export type LabDrawDataType = 'component' | 'module' | 'page';
-
-export type LabComponentItem = ElementSize & {
- uuid: string;
- type: 'component-item';
- name: string;
- detail?: ElementBaseDesc & {
- children: Array | LabComponentItem>;
- };
-};
-
-export type LabComponent = ElementSize & {
- uuid: string;
- type: 'component';
- name: string;
- detail?: ElementBaseDesc & {
- default: LabComponentItem;
- variants: LabComponentItem[];
- };
-};
-
-export type LabModule = ElementSize & {
- uuid: string;
- type: 'module';
- name: string;
- detail?: ElementBaseDesc & {
- children: Array;
- };
-};
-
-export type LabPage = ElementSize & {
- uuid: string;
- type: 'page';
- name: string;
- detail: ElementBaseDesc & {
- children: Array;
- };
-};
-
-export interface LabData {
- components: LabComponent[];
- modules: LabModule[];
- pages: LabPage[];
-}
diff --git a/packages/lab/src/types/index.ts b/packages/lab/src/types/index.ts
deleted file mode 100644
index 11a2f1e..0000000
--- a/packages/lab/src/types/index.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export * from './data';
-export * from './context';
-export * from './view';
diff --git a/packages/lab/src/types/view.ts b/packages/lab/src/types/view.ts
deleted file mode 100644
index ecb5cf2..0000000
--- a/packages/lab/src/types/view.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { ElementType } from '@idraw/types';
-import type { LabItemType } from './data';
-
-export interface ViewTreeNode {
- title: string;
- key: string;
- type: LabItemType | ElementType;
- children?: ViewTreeNode[];
-}
diff --git a/packages/lab/src/util/component.ts b/packages/lab/src/util/component.ts
deleted file mode 100644
index 2a41fed..0000000
--- a/packages/lab/src/util/component.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { ViewTreeNode, LabData, LabComponent } from '../types';
-import { parseComponentToViewTreeNode } from './view-tree';
-
-export function parseComponentViewTree(labData: LabData | null): ViewTreeNode[] {
- const treeNodes: ViewTreeNode[] = [];
- labData?.components?.forEach((comp: LabComponent) => {
- const node = parseComponentToViewTreeNode(comp);
- treeNodes.push(node);
- });
- return treeNodes;
-}
diff --git a/packages/lab/src/util/view-data.ts b/packages/lab/src/util/view-data.ts
deleted file mode 100644
index facd2ee..0000000
--- a/packages/lab/src/util/view-data.ts
+++ /dev/null
@@ -1,87 +0,0 @@
-import { deepClone } from '@idraw/util';
-import type { Data, Element, ElementType, ElementBaseDesc } from '@idraw/types';
-import type { LabComponent, LabComponentItem } from '../types';
-
-const baseDescKeys = ['borderWidth', 'borderColor', 'borderRadius', 'shadowColor', 'shadowOffsetX', 'shadowOffsetY', 'shadowBlur', 'color', 'bgColor'];
-
-function parseElementBaseDesc(elem: LabComponent | LabComponentItem | Element): ElementBaseDesc {
- const baseDesc: ElementBaseDesc = {};
- if (elem?.detail) {
- Object.keys(elem.detail).forEach((name: string) => {
- if (baseDescKeys.includes(name)) {
- baseDesc[name as keyof ElementBaseDesc] = (elem.detail as any)?.[name];
- }
- });
- }
- return baseDesc;
-}
-
-function parseComponentItemToElement(item: LabComponentItem): Element<'group'> {
- const elem: Element<'group'> = {
- uuid: item.uuid,
- name: item.name,
- type: 'group',
- x: item.x,
- y: item.y,
- w: item.w,
- h: item.h,
- angle: item.angle || 0,
- detail: {
- ...parseElementBaseDesc(item),
- ...{
- children: []
- }
- }
- };
- item.detail?.children?.forEach?.((child) => {
- if (child.type === 'component-item') {
- const childElem = parseComponentItemToElement(child);
- elem.detail.children.push(childElem);
- } else {
- const childElem = deepClone(child);
- elem.detail.children.push(childElem);
- }
- });
- return elem;
-}
-
-function parseComponentToElement(comp: LabComponent): Element<'group'> {
- const elem: Element<'group'> = {
- uuid: comp.uuid,
- name: comp.name,
- type: 'group',
- x: comp.x,
- y: comp.y,
- w: comp.w,
- h: comp.h,
- angle: comp.angle || 0,
- detail: {
- ...parseElementBaseDesc(comp),
- ...{
- children: []
- }
- }
- };
-
- if (comp?.detail?.default) {
- elem.detail.children.push(parseComponentItemToElement(comp.detail.default));
- }
- if (comp?.detail?.variants && Array.isArray(comp?.detail?.variants)) {
- comp.detail.variants.forEach((item) => {
- elem.detail.children.push(parseComponentItemToElement(item));
- });
- }
-
- return elem;
-}
-
-export function parseComponentsToDrawData(components: LabComponent[]): Data {
- const data: Data = {
- elements: []
- };
- components.forEach((comp: LabComponent) => {
- const elem = parseComponentToElement(comp);
- data.elements.push(elem);
- });
- return data;
-}
diff --git a/packages/lab/src/util/view-tree.ts b/packages/lab/src/util/view-tree.ts
deleted file mode 100644
index f64eb54..0000000
--- a/packages/lab/src/util/view-tree.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-import type { Element, ElementType } from '@idraw/types';
-import { ViewTreeNode, LabComponent, LabComponentItem } from '../types';
-
-function parseElementToViewTreeNode(elem: Element): ViewTreeNode | null {
- let treeNode: ViewTreeNode | null = null;
- if (elem.uuid) {
- treeNode = {
- key: elem.uuid,
- title: elem.name || 'Unamed',
- type: elem.type,
- children: []
- };
- if (Array.isArray((elem as Element<'group'>)?.detail?.children)) {
- (elem as Element<'group'>).detail.children.forEach((child: Element) => {
- const childNode = parseElementToViewTreeNode(child);
- if (childNode) {
- treeNode?.children?.push(childNode);
- }
- });
- }
- }
- return treeNode;
-}
-
-function parseComponentItemToViewTreeNode(comp: LabComponentItem): ViewTreeNode {
- const treeNode: Required = {
- key: comp.uuid,
- title: comp.name || 'Unamed',
- type: comp.type,
- children: []
- };
-
- if (comp?.detail?.children && Array.isArray(comp?.detail?.children)) {
- comp.detail.children.forEach((child) => {
- let childNode: ViewTreeNode | null = null;
- if (child.type === 'component') {
- childNode = parseComponentToViewTreeNode(child as LabComponent);
- } else {
- childNode = parseElementToViewTreeNode(child as Element);
- }
- if (childNode) {
- treeNode.children.push(childNode);
- }
- });
- }
- return treeNode;
-}
-
-export function parseComponentToViewTreeNode(comp: LabComponent): ViewTreeNode {
- const treeNode: Required = {
- key: comp.uuid,
- title: comp.name || 'Unamed',
- type: comp.type,
- children: []
- };
-
- if (comp?.detail?.default) {
- const node = parseComponentItemToViewTreeNode(comp.detail.default);
- treeNode.children.push(node);
- }
-
- if (Array.isArray(comp?.detail?.variants)) {
- comp?.detail?.variants?.forEach((child: LabComponentItem) => {
- const node = parseComponentItemToViewTreeNode(child);
- treeNode.children.push(node);
- });
- }
-
- return treeNode;
-}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f0a0298..bd35dcc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -164,6 +164,34 @@ importers:
specifier: workspace:^0.4.0-beta.25
version: link:../types
+ packages/figma:
+ dependencies:
+ '@ant-design/icons':
+ specifier: ^5.1.3
+ version: 5.3.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ '@idraw/types':
+ specifier: workspace:^0.4.0-beta.25
+ version: link:../types
+ '@idraw/util':
+ specifier: workspace:^0.4.0-beta.25
+ version: link:../util
+ kiwi-schema:
+ specifier: ^0.5.0
+ version: 0.5.0
+ matrix-inverse:
+ specifier: ^2.0.0
+ version: 2.0.0
+ pako:
+ specifier: ^2.1.0
+ version: 2.1.0
+ uzip:
+ specifier: ^0.20201231.0
+ version: 0.20201231.0
+ devDependencies:
+ '@types/pako':
+ specifier: ^2.0.3
+ version: 2.0.3
+
packages/idraw:
dependencies:
'@idraw/board':
@@ -182,40 +210,6 @@ importers:
specifier: workspace:^0.4.0-beta.25
version: link:../util
- packages/lab:
- dependencies:
- '@ant-design/icons':
- specifier: ^5.1.3
- version: 5.3.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- '@idraw/core':
- specifier: workspace:^0.4.0-beta.25
- version: link:../core
- '@idraw/util':
- specifier: workspace:^0.4.0-beta.25
- version: link:../util
- antd:
- specifier: ^5.5.0
- version: 5.17.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames:
- specifier: ^2.3.2
- version: 2.5.1
- react:
- specifier: ^18.2.0
- version: 18.3.1
- react-dom:
- specifier: ^18.2.0
- version: 18.3.1(react@18.3.1)
- devDependencies:
- '@idraw/types':
- specifier: workspace:^0.4.0-beta.25
- version: link:../types
- '@types/react':
- specifier: ^18.2.0
- version: 18.3.2
- '@types/react-dom':
- specifier: ^18.2.1
- version: 18.3.0
-
packages/renderer:
dependencies:
'@idraw/util':
@@ -243,12 +237,6 @@ packages:
'@ant-design/colors@7.0.2':
resolution: {integrity: sha512-7KJkhTiPiLHSu+LmMJnehfJ6242OCxSlR3xHVBecYxnMW8MS/878NXct1GqYARyL59fyeFdKRxXTfvR9SnDgJg==}
- '@ant-design/cssinjs@1.20.0':
- resolution: {integrity: sha512-uG3iWzJxgNkADdZmc6W0Ci3iQAUOvLMcM8SnnmWq3r6JeocACft4ChnY/YWvI2Y+rG/68QBla/O+udke1yH3vg==}
- peerDependencies:
- react: '>=16.0.0'
- react-dom: '>=16.0.0'
-
'@ant-design/icons-svg@4.4.2':
resolution: {integrity: sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==}
@@ -259,11 +247,6 @@ packages:
react: '>=16.0.0'
react-dom: '>=16.0.0'
- '@ant-design/react-slick@1.1.2':
- resolution: {integrity: sha512-EzlvzE6xQUBrZuuhSAFTdsr4P2bBBHGZwKFemEfq8gIGyIQCxalYfZW/T2ORbtQx5rU69o+WycP3exY/7T1hGA==}
- peerDependencies:
- react: '>=16.9.0'
-
'@babel/code-frame@7.24.2':
resolution: {integrity: sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==}
engines: {node: '>=6.9.0'}
@@ -892,12 +875,6 @@ packages:
resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==}
engines: {node: '>=10'}
- '@emotion/hash@0.8.0':
- resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==}
-
- '@emotion/unitless@0.7.5':
- resolution: {integrity: sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==}
-
'@esbuild/aix-ppc64@0.20.2':
resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==}
engines: {node: '>=12'}
@@ -1360,54 +1337,6 @@ packages:
engines: {node: '>=18'}
hasBin: true
- '@rc-component/async-validator@5.0.4':
- resolution: {integrity: sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg==}
- engines: {node: '>=14.x'}
-
- '@rc-component/color-picker@1.5.3':
- resolution: {integrity: sha512-+tGGH3nLmYXTalVe0L8hSZNs73VTP5ueSHwUlDC77KKRaN7G4DS4wcpG5DTDzdcV/Yas+rzA6UGgIyzd8fS4cw==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- '@rc-component/context@1.4.0':
- resolution: {integrity: sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- '@rc-component/mini-decimal@1.1.0':
- resolution: {integrity: sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==}
- engines: {node: '>=8.x'}
-
- '@rc-component/mutate-observer@1.1.0':
- resolution: {integrity: sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- '@rc-component/portal@1.1.2':
- resolution: {integrity: sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- '@rc-component/tour@1.14.2':
- resolution: {integrity: sha512-A75DZ8LVvahBIvxooj3Gvf2sxe+CGOkmzPNX7ek0i0AJHyKZ1HXe5ieIGo3m0FMdZfVOlbCJ952Duq8VKAHk6g==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- '@rc-component/trigger@2.1.1':
- resolution: {integrity: sha512-UjHkedkgtEcgQu87w1VuWug1idoDJV7VUt0swxHXRcmei2uu1AuUzGBPEUlmOmXGJ+YtTgZfVLi7kuAUKoZTMA==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
'@rollup/plugin-json@6.1.0':
resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==}
engines: {node: '>=14.0.0'}
@@ -1633,8 +1562,8 @@ packages:
'@types/node@20.12.12':
resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==}
- '@types/prop-types@15.7.12':
- resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==}
+ '@types/pako@2.0.3':
+ resolution: {integrity: sha512-bq0hMV9opAcrmE0Byyo0fY3Ew4tgOevJmQ9grUhpXQhYfyLJ1Kqg3P33JT5fdbT2AjeAjR51zqqVjAL/HMkx7Q==}
'@types/qs@6.9.15':
resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==}
@@ -1642,12 +1571,6 @@ packages:
'@types/range-parser@1.2.7':
resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==}
- '@types/react-dom@18.3.0':
- resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==}
-
- '@types/react@18.3.2':
- resolution: {integrity: sha512-Btgg89dAnqD4vV7R3hlwOxgqobUQKgx3MmrQRi0yYbs/P0ym8XozIAlkqVilPqHQwXs4e9Tf63rrCgl58BcO4w==}
-
'@types/send@0.17.4':
resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==}
@@ -1800,12 +1723,6 @@ packages:
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
engines: {node: '>=12'}
- antd@5.17.2:
- resolution: {integrity: sha512-LVCR4kKWoNwaOEfYuWuXqwrK24W6YY6jlzROB4dTEEFvb2ovPi/5h9GcEB8U7ZJY/Yuvm1ehvRm9vohxVJzC3A==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
any-base@1.1.0:
resolution: {integrity: sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg==}
@@ -1822,9 +1739,6 @@ packages:
argparse@2.0.1:
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
- array-tree-filter@2.1.0:
- resolution: {integrity: sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==}
-
array-union@2.1.0:
resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}
engines: {node: '>=8'}
@@ -2033,9 +1947,6 @@ packages:
commander@2.20.3:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
- compute-scroll-into-view@3.1.0:
- resolution: {integrity: sha512-rj8l8pD4bJ1nx+dAkMhV1xB5RuZEyVysfxJqB1pRchh1KVvwOv9b7CGB8ZfjTImVv2oF+sYMUkMZq6Na5Ftmbg==}
-
concat-map@0.0.1:
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
@@ -2049,9 +1960,6 @@ packages:
copy-anything@2.0.6:
resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==}
- copy-to-clipboard@3.3.3:
- resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==}
-
core-js-compat@3.37.1:
resolution: {integrity: sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==}
@@ -2093,9 +2001,6 @@ packages:
resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==}
engines: {node: '>=8'}
- csstype@3.1.3:
- resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
-
data-uri-to-buffer@6.0.2:
resolution: {integrity: sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==}
engines: {node: '>= 14'}
@@ -2104,9 +2009,6 @@ packages:
resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==}
engines: {node: '>=12'}
- dayjs@1.11.11:
- resolution: {integrity: sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg==}
-
debug@3.2.7:
resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}
peerDependencies:
@@ -2883,9 +2785,6 @@ packages:
json-stable-stringify-without-jsonify@1.0.1:
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
- json2mq@0.2.0:
- resolution: {integrity: sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==}
-
json5@2.2.3:
resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}
engines: {node: '>=6'}
@@ -2897,6 +2796,10 @@ packages:
keyv@4.5.4:
resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
+ kiwi-schema@0.5.0:
+ resolution: {integrity: sha512-X+FpfU0yTEtc6aTHS7VwbOpvQwRt70+pXXWRI5fd6CvWhe7pSVC854TVo4Zo0x5/wwcWj+/9KUlXpdcP0dY9AA==}
+ hasBin: true
+
kleur@3.0.3:
resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
engines: {node: '>=6'}
@@ -2976,6 +2879,9 @@ packages:
makeerror@1.0.12:
resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==}
+ matrix-inverse@2.0.0:
+ resolution: {integrity: sha512-iUZfjmnAEDah54qLlj63PYFnZvcCwW+mhfYgf3KrtDn1ruyVE5vFrEeJ77RfsHaqMN/L3ZLnP+5/O2E7bgKEvQ==}
+
merge-stream@2.0.0:
resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
@@ -3157,6 +3063,9 @@ packages:
pako@1.0.11:
resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==}
+ pako@2.1.0:
+ resolution: {integrity: sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==}
+
parent-module@1.0.1:
resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
engines: {node: '>=6'}
@@ -3333,11 +3242,6 @@ packages:
pure-rand@6.1.0:
resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==}
- qrcode.react@3.1.0:
- resolution: {integrity: sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
-
qs@6.12.1:
resolution: {integrity: sha512-zWmv4RSuB9r2mYQw3zxQuHWeU+42aKi1wWig/j4ele4ygELZ7PEO6MM7rim9oAQH2A5MWfsAVf/jPvTPgCbvUQ==}
engines: {node: '>=0.6'}
@@ -3355,234 +3259,12 @@ packages:
resolution: {integrity: sha512-kA5WQoNVo4t9lNx2kQNFCxKeBl5IbbSNBl1M/tLkw9WCn+hxNBAW5Qh8gdhs63CJnhjJ2zQWFoqPJP2sK1AV5A==}
engines: {node: '>= 0.6'}
- rc-cascader@3.25.0:
- resolution: {integrity: sha512-mBY6/CykOvzAYnIye0rpt5JkMAXJaX8zZawOwSndbKuFakYE+leqBQWIZoN9HIgAptPpTi2Aty3RvbaBmk8SKQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-checkbox@3.2.0:
- resolution: {integrity: sha512-8inzw4y9dAhZmv/Ydl59Qdy5tdp9CKg4oPVcRigi+ga/yKPZS5m5SyyQPtYSgbcqHRYOdUhiPSeKfktc76du1A==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-collapse@3.7.3:
- resolution: {integrity: sha512-60FJcdTRn0X5sELF18TANwtVi7FtModq649H11mYF1jh83DniMoM4MqY627sEKRCTm4+WXfGDcB7hY5oW6xhyw==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-dialog@9.4.0:
- resolution: {integrity: sha512-AScCexaLACvf8KZRqCPz12BJ8olszXOS4lKlkMyzDQHS1m0zj1KZMYgmMCh39ee0Dcv8kyrj8mTqxuLyhH+QuQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-drawer@7.1.0:
- resolution: {integrity: sha512-nBE1rF5iZvpavoyqhSSz2mk/yANltA7g3aF0U45xkx381n3we/RKs9cJfNKp9mSWCedOKWt9FLEwZDaAaOGn2w==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-dropdown@4.2.0:
- resolution: {integrity: sha512-odM8Ove+gSh0zU27DUj5cG1gNKg7mLWBYzB5E4nNLrLwBmYEgYP43vHKDGOVZcJSVElQBI0+jTQgjnq0NfLjng==}
- peerDependencies:
- react: '>=16.11.0'
- react-dom: '>=16.11.0'
-
- rc-field-form@2.0.1:
- resolution: {integrity: sha512-3WK/POHBcfMFKrzScrkmgMIXqoVQ0KgVwcVnej/ukwuQG4ZHCJaTi2KhM+tWTK4WODBXbmjKg5pKHj2IVmSg4A==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-image@7.6.0:
- resolution: {integrity: sha512-tL3Rvd1sS+frZQ01i+tkeUPaOeFz2iG9/scAt/Cfs0hyCRVA/w0Pu1J/JxIX8blalvmHE0bZQRYdOmRAzWu4Hg==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-input-number@9.0.0:
- resolution: {integrity: sha512-RfcDBDdWFFetouWFXBA+WPEC8LzBXyngr9b+yTLVIygfFu7HiLRGn/s/v9wwno94X7KFvnb28FNynMGj9XJlDQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-input@1.4.5:
- resolution: {integrity: sha512-AjzykhwnwYTRSwwgCu70CGKBIAv6bP2nqnFptnNTprph/TF1BAs0Qxl91mie/BR6n827WIJB6ZjaRf9iiMwAfw==}
- peerDependencies:
- react: '>=16.0.0'
- react-dom: '>=16.0.0'
-
- rc-mentions@2.11.1:
- resolution: {integrity: sha512-upb4AK1SRFql7qGnbLEvJqLMugVVIyjmwBJW9L0eLoN9po4JmJZaBzmKA4089fNtsU8k6l/tdZiVafyooeKnLw==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-menu@9.13.0:
- resolution: {integrity: sha512-1l8ooCB3HcYJKCltC/s7OxRKRjgymdl9htrCeGZcXNaMct0RxZRK6OPV3lPhVksIvAGMgzPd54ClpZ5J4b8cZA==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-motion@2.9.1:
- resolution: {integrity: sha512-QD4bUqByjVQs7PhUT1d4bNxvtTcK9ETwtg7psbDfo6TmYalH/1hhjj4r2hbhW7g5OOEqYHhfwfj4noIvuOVRtQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-notification@5.4.0:
- resolution: {integrity: sha512-li19y9RoYJciF3WRFvD+DvWS70jdL8Fr+Gfb/OshK+iY6iTkwzoigmSIp76/kWh5tF5i/i9im12X3nsF85GYdA==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-overflow@1.3.2:
- resolution: {integrity: sha512-nsUm78jkYAoPygDAcGZeC2VwIg/IBGSodtOY3pMof4W3M9qRJgqaDYm03ZayHlde3I6ipliAxbN0RUcGf5KOzw==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-pagination@4.0.4:
- resolution: {integrity: sha512-GGrLT4NgG6wgJpT/hHIpL9nELv27A1XbSZzECIuQBQTVSf4xGKxWr6I/jhpRPauYEWEbWVw22ObG6tJQqwJqWQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-picker@4.5.0:
- resolution: {integrity: sha512-suqz9bzuhBQlf7u+bZd1bJLPzhXpk12w6AjQ9BTPTiFwexVZgUKViG1KNLyfFvW6tCUZZK0HmCCX7JAyM+JnCg==}
- engines: {node: '>=8.x'}
- peerDependencies:
- date-fns: '>= 2.x'
- dayjs: '>= 1.x'
- luxon: '>= 3.x'
- moment: '>= 2.x'
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
- peerDependenciesMeta:
- date-fns:
- optional: true
- dayjs:
- optional: true
- luxon:
- optional: true
- moment:
- optional: true
-
- rc-progress@4.0.0:
- resolution: {integrity: sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-rate@2.12.0:
- resolution: {integrity: sha512-g092v5iZCdVzbjdn28FzvWebK2IutoVoiTeqoLTj9WM7SjA/gOJIw5/JFZMRyJYYVe1jLAU2UhAfstIpCNRozg==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-resize-observer@1.4.0:
- resolution: {integrity: sha512-PnMVyRid9JLxFavTjeDXEXo65HCRqbmLBw9xX9gfC4BZiSzbLXKzW3jPz+J0P71pLbD5tBMTT+mkstV5gD0c9Q==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-segmented@2.3.0:
- resolution: {integrity: sha512-I3FtM5Smua/ESXutFfb8gJ8ZPcvFR+qUgeeGFQHBOvRiRKyAk4aBE5nfqrxXx+h8/vn60DQjOt6i4RNtrbOobg==}
- peerDependencies:
- react: '>=16.0.0'
- react-dom: '>=16.0.0'
-
- rc-select@14.13.4:
- resolution: {integrity: sha512-nXFsS53RxCP6ePeKhOj3gvgdNpTqdQnNKhipGrV/z+pB3Md5heGfV72YX5Wfb1A7Ca1QkbVTPFLJh+A8WYFOSA==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '*'
- react-dom: '*'
-
- rc-slider@10.6.2:
- resolution: {integrity: sha512-FjkoFjyvUQWcBo1F3RgSglky3ar0+qHLM41PlFVYB4Bj3RD8E/Mv7kqMouLFBU+3aFglMzzctAIWRwajEuueSw==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-steps@6.0.1:
- resolution: {integrity: sha512-lKHL+Sny0SeHkQKKDJlAjV5oZ8DwCdS2hFhAkIjuQt1/pB81M0cA0ErVFdHq9+jmPmFw1vJB2F5NBzFXLJxV+g==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-switch@4.1.0:
- resolution: {integrity: sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-table@7.45.6:
- resolution: {integrity: sha512-FYsTya3RQzLYct+o3fqHIZQIwrmsvrvhTg/I6hzlJZ1XoVAGoTmgkN1mMilVlYgksZTey9BCNYh94c6yhdjTXQ==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-tabs@15.0.0:
- resolution: {integrity: sha512-7m541VcEiJSpHZmosMZNMIhemxtIN+f0WDhZNyXQ1/cZ40aaWsknlbj0FH6HryLoKEQvBnCI89hgQuT7MBSOBA==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-textarea@1.6.3:
- resolution: {integrity: sha512-8k7+8Y2GJ/cQLiClFMg8kUXOOdvcFQrnGeSchOvI2ZMIVvX5a3zQpLxoODL0HTrvU63fPkRmMuqaEcOF9dQemA==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-tooltip@6.2.0:
- resolution: {integrity: sha512-iS/3iOAvtDh9GIx1ulY7EFUXUtktFccNLsARo3NPgLf0QW9oT0w3dA9cYWlhqAKmD+uriEwdWz1kH0Qs4zk2Aw==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
- rc-tree-select@5.20.0:
- resolution: {integrity: sha512-zFtkHx5/6PnXSi3oSbBSFbIPiJJQdpSU3qz/joLe75URgvxmTHi989O8MtMgpwyZwrCMOJpGi6L1uy+13uzZPw==}
- peerDependencies:
- react: '*'
- react-dom: '*'
-
- rc-tree@5.8.7:
- resolution: {integrity: sha512-cpsIQZ4nNYwpj6cqPRt52e/69URuNdgQF9wZ10InmEf8W3+i0A41OVmZWwHuX9gegQSqj+DPmaDkZFKQZ+ZV1w==}
- engines: {node: '>=10.x'}
- peerDependencies:
- react: '*'
- react-dom: '*'
-
- rc-upload@4.5.2:
- resolution: {integrity: sha512-QO3ne77DwnAPKFn0bA5qJM81QBjQi0e0NHdkvpFyY73Bea2NfITiotqJqVjHgeYPOJu5lLVR32TNGP084aSoXA==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
rc-util@5.40.1:
resolution: {integrity: sha512-wsYjO59DpyyZdMe1yCSqHiHU8sWjkP1wIfj2mR0aHaNmFFgw727kkOFY7FBukg4rXhIw131549SLxQXQoIB73A==}
peerDependencies:
react: '>=16.9.0'
react-dom: '>=16.9.0'
- rc-virtual-list@3.12.0:
- resolution: {integrity: sha512-43+/lr7bImpvEwTFw1FTYwSg42VHzRgO5PiCEEUROj8D2+M2SCvANqGIa9QyhoFLVQtc+2QXvgTB7VPGG7oOoQ==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
-
react-dom@18.3.1:
resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}
peerDependencies:
@@ -3638,9 +3320,6 @@ packages:
requires-port@1.0.0:
resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==}
- resize-observer-polyfill@1.5.1:
- resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==}
-
resolve-cwd@3.0.0:
resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==}
engines: {node: '>=8'}
@@ -3709,9 +3388,6 @@ packages:
scheduler@0.23.2:
resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}
- scroll-into-view-if-needed@3.1.0:
- resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==}
-
secure-compare@3.0.1:
resolution: {integrity: sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw==}
@@ -3805,9 +3481,6 @@ packages:
streamx@2.16.1:
resolution: {integrity: sha512-m9QYj6WygWyWa3H1YY69amr4nVgy61xfjys7xO7kviL5rfIEc2naf+ewFiOA+aEJD7y0JO3h2GoiUv4TDwEGzQ==}
- string-convert@0.2.1:
- resolution: {integrity: sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==}
-
string-length@4.0.2:
resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==}
engines: {node: '>=10'}
@@ -3851,9 +3524,6 @@ packages:
resolution: {integrity: sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==}
engines: {node: '>=10'}
- stylis@4.3.2:
- resolution: {integrity: sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==}
-
supports-color@5.5.0:
resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
engines: {node: '>=4'}
@@ -3891,10 +3561,6 @@ packages:
text-table@0.2.0:
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
- throttle-debounce@5.0.0:
- resolution: {integrity: sha512-2iQTSgkkc1Zyk0MeVrt/3BvuOXYPl/R8Z0U2xxo9rjwNciaHDG3R+Lm6dh4EeUci49DanvBnuqI6jshoQQRGEg==}
- engines: {node: '>=12.22'}
-
through@2.3.8:
resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}
@@ -3915,9 +3581,6 @@ packages:
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
engines: {node: '>=8.0'}
- toggle-selection@1.0.6:
- resolution: {integrity: sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==}
-
token-types@4.2.1:
resolution: {integrity: sha512-6udB24Q737UD/SDsKAHI9FCRP7Bqc9D/MQUV02ORQg5iskjtLJlZJNdN4kKtcdtwCeWIwIHDGaUsTsCCAa8sFQ==}
engines: {node: '>=10'}
@@ -4034,6 +3697,9 @@ packages:
util-deprecate@1.0.2:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
+ uzip@0.20201231.0:
+ resolution: {integrity: sha512-OZeJfZP+R0z9D6TmBgLq2LHzSSptGMGDGigGiEe0pr8UBe/7fdflgHlHBNDASTXB5jnFuxHpNaJywSg8YFeGng==}
+
v8-compile-cache-lib@3.0.1:
resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}
@@ -4205,18 +3871,6 @@ snapshots:
dependencies:
'@ctrl/tinycolor': 3.6.1
- '@ant-design/cssinjs@1.20.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
- dependencies:
- '@babel/runtime': 7.24.5
- '@emotion/hash': 0.8.0
- '@emotion/unitless': 0.7.5
- classnames: 2.5.1
- csstype: 3.1.3
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
- stylis: 4.3.2
-
'@ant-design/icons-svg@4.4.2': {}
'@ant-design/icons@5.3.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
@@ -4229,15 +3883,6 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
- '@ant-design/react-slick@1.1.2(react@18.3.1)':
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- json2mq: 0.2.0
- react: 18.3.1
- resize-observer-polyfill: 1.5.1
- throttle-debounce: 5.0.0
-
'@babel/code-frame@7.24.2':
dependencies:
'@babel/highlight': 7.24.5
@@ -4997,10 +4642,6 @@ snapshots:
'@ctrl/tinycolor@3.6.1': {}
- '@emotion/hash@0.8.0': {}
-
- '@emotion/unitless@0.7.5': {}
-
'@esbuild/aix-ppc64@0.20.2':
optional: true
@@ -5557,67 +5198,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@rc-component/async-validator@5.0.4':
- dependencies:
- '@babel/runtime': 7.24.5
-
- '@rc-component/color-picker@1.5.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
- dependencies:
- '@babel/runtime': 7.24.5
- '@ctrl/tinycolor': 3.6.1
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- '@rc-component/context@1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
- dependencies:
- '@babel/runtime': 7.24.5
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- '@rc-component/mini-decimal@1.1.0':
- dependencies:
- '@babel/runtime': 7.24.5
-
- '@rc-component/mutate-observer@1.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- '@rc-component/portal@1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- '@rc-component/tour@1.14.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- '@rc-component/trigger': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- '@rc-component/trigger@2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
'@rollup/plugin-json@6.1.0(rollup@4.17.2)':
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.17.2)
@@ -5831,21 +5411,12 @@ snapshots:
dependencies:
undici-types: 5.26.5
- '@types/prop-types@15.7.12': {}
+ '@types/pako@2.0.3': {}
'@types/qs@6.9.15': {}
'@types/range-parser@1.2.7': {}
- '@types/react-dom@18.3.0':
- dependencies:
- '@types/react': 18.3.2
-
- '@types/react@18.3.2':
- dependencies:
- '@types/prop-types': 15.7.12
- csstype: 3.1.3
-
'@types/send@0.17.4':
dependencies:
'@types/mime': 1.3.5
@@ -6024,63 +5595,6 @@ snapshots:
ansi-styles@6.2.1: {}
- antd@5.17.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@ant-design/colors': 7.0.2
- '@ant-design/cssinjs': 1.20.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- '@ant-design/icons': 5.3.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- '@ant-design/react-slick': 1.1.2(react@18.3.1)
- '@babel/runtime': 7.24.5
- '@ctrl/tinycolor': 3.6.1
- '@rc-component/color-picker': 1.5.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- '@rc-component/mutate-observer': 1.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- '@rc-component/tour': 1.14.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- '@rc-component/trigger': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- copy-to-clipboard: 3.3.3
- dayjs: 1.11.11
- qrcode.react: 3.1.0(react@18.3.1)
- rc-cascader: 3.25.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-checkbox: 3.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-collapse: 3.7.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-dialog: 9.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-drawer: 7.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-dropdown: 4.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-field-form: 2.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-image: 7.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-input: 1.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-input-number: 9.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-mentions: 2.11.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-menu: 9.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-notification: 5.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-pagination: 4.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-picker: 4.5.0(dayjs@1.11.11)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-progress: 4.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-rate: 2.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-segmented: 2.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-select: 14.13.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-slider: 10.6.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-steps: 6.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-switch: 4.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-table: 7.45.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-tabs: 15.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-textarea: 1.6.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-tooltip: 6.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-tree: 5.8.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-tree-select: 5.20.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-upload: 4.5.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
- scroll-into-view-if-needed: 3.1.0
- throttle-debounce: 5.0.0
- transitivePeerDependencies:
- - date-fns
- - luxon
- - moment
-
any-base@1.1.0: {}
anymatch@3.1.3:
@@ -6096,8 +5610,6 @@ snapshots:
argparse@2.0.1: {}
- array-tree-filter@2.1.0: {}
-
array-union@2.1.0: {}
ast-types@0.13.4:
@@ -6334,8 +5846,6 @@ snapshots:
commander@2.20.3: {}
- compute-scroll-into-view@3.1.0: {}
-
concat-map@0.0.1: {}
content-disposition@0.5.2: {}
@@ -6346,10 +5856,6 @@ snapshots:
dependencies:
is-what: 3.14.1
- copy-to-clipboard@3.3.3:
- dependencies:
- toggle-selection: 1.0.6
-
core-js-compat@3.37.1:
dependencies:
browserslist: 4.23.0
@@ -6398,8 +5904,6 @@ snapshots:
dependencies:
cssom: 0.3.8
- csstype@3.1.3: {}
-
data-uri-to-buffer@6.0.2: {}
data-urls@3.0.2:
@@ -6408,8 +5912,6 @@ snapshots:
whatwg-mimetype: 3.0.0
whatwg-url: 11.0.0
- dayjs@1.11.11: {}
-
debug@3.2.7:
dependencies:
ms: 2.1.3
@@ -7449,10 +6951,6 @@ snapshots:
json-stable-stringify-without-jsonify@1.0.1: {}
- json2mq@0.2.0:
- dependencies:
- string-convert: 0.2.1
-
json5@2.2.3: {}
jsonfile@6.1.0:
@@ -7465,6 +6963,8 @@ snapshots:
dependencies:
json-buffer: 3.0.1
+ kiwi-schema@0.5.0: {}
+
kleur@3.0.3: {}
koa-compose@4.1.0: {}
@@ -7553,6 +7053,8 @@ snapshots:
dependencies:
tmpl: 1.0.5
+ matrix-inverse@2.0.0: {}
+
merge-stream@2.0.0: {}
merge2@1.4.1: {}
@@ -7709,6 +7211,8 @@ snapshots:
pako@1.0.11: {}
+ pako@2.1.0: {}
+
parent-module@1.0.1:
dependencies:
callsites: 3.1.0
@@ -7879,10 +7383,6 @@ snapshots:
pure-rand@6.1.0: {}
- qrcode.react@3.1.0(react@18.3.1):
- dependencies:
- react: 18.3.1
-
qs@6.12.1:
dependencies:
side-channel: 1.0.6
@@ -7895,309 +7395,6 @@ snapshots:
range-parser@1.2.0: {}
- rc-cascader@3.25.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- array-tree-filter: 2.1.0
- classnames: 2.5.1
- rc-select: 14.13.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-tree: 5.8.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-checkbox@3.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-collapse@3.7.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-dialog@9.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-drawer@7.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-dropdown@4.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/trigger': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-field-form@2.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/async-validator': 5.0.4
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-image@7.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-dialog: 9.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-input-number@9.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/mini-decimal': 1.1.0
- classnames: 2.5.1
- rc-input: 1.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-input@1.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-mentions@2.11.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/trigger': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-input: 1.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-menu: 9.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-textarea: 1.6.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-menu@9.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/trigger': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-overflow: 1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-motion@2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-notification@5.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-overflow@1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-pagination@4.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-picker@4.5.0(dayjs@1.11.11)(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/trigger': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-overflow: 1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
- optionalDependencies:
- dayjs: 1.11.11
-
- rc-progress@4.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-rate@2.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-resize-observer@1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
- resize-observer-polyfill: 1.5.1
-
- rc-segmented@2.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-select@14.13.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/trigger': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-overflow: 1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-virtual-list: 3.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-slider@10.6.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-steps@6.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-switch@4.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-table@7.45.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/context': 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-virtual-list: 3.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-tabs@15.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-dropdown: 4.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-menu: 9.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-textarea@1.6.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-input: 1.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-tooltip@6.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- '@rc-component/trigger': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- classnames: 2.5.1
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-tree-select@5.20.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-select: 14.13.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-tree: 5.8.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-tree@5.8.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-motion: 2.9.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-virtual-list: 3.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
- rc-upload@4.5.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
rc-util@5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
dependencies:
'@babel/runtime': 7.24.5
@@ -8205,15 +7402,6 @@ snapshots:
react-dom: 18.3.1(react@18.3.1)
react-is: 18.3.1
- rc-virtual-list@3.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
- dependencies:
- '@babel/runtime': 7.24.5
- classnames: 2.5.1
- rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- rc-util: 5.40.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
-
react-dom@18.3.1(react@18.3.1):
dependencies:
loose-envify: 1.4.0
@@ -8269,8 +7457,6 @@ snapshots:
requires-port@1.0.0: {}
- resize-observer-polyfill@1.5.1: {}
-
resolve-cwd@3.0.0:
dependencies:
resolve-from: 5.0.0
@@ -8352,10 +7538,6 @@ snapshots:
dependencies:
loose-envify: 1.4.0
- scroll-into-view-if-needed@3.1.0:
- dependencies:
- compute-scroll-into-view: 3.1.0
-
secure-compare@3.0.1: {}
semver@5.7.2:
@@ -8454,8 +7636,6 @@ snapshots:
optionalDependencies:
bare-events: 2.2.2
- string-convert@0.2.1: {}
-
string-length@4.0.2:
dependencies:
char-regex: 1.0.2
@@ -8498,8 +7678,6 @@ snapshots:
'@tokenizer/token': 0.3.0
peek-readable: 4.1.0
- stylis@4.3.2: {}
-
supports-color@5.5.0:
dependencies:
has-flag: 3.0.0
@@ -8545,8 +7723,6 @@ snapshots:
text-table@0.2.0: {}
- throttle-debounce@5.0.0: {}
-
through@2.3.8: {}
timm@1.7.1: {}
@@ -8561,8 +7737,6 @@ snapshots:
dependencies:
is-number: 7.0.0
- toggle-selection@1.0.6: {}
-
token-types@4.2.1:
dependencies:
'@tokenizer/token': 0.3.0
@@ -8671,6 +7845,8 @@ snapshots:
util-deprecate@1.0.2: {}
+ uzip@0.20201231.0: {}
+
v8-compile-cache-lib@3.0.1: {}
v8-to-istanbul@9.2.0:
diff --git a/scripts/config.ts b/scripts/config.ts
index d0f8ac7..7cac7ca 100644
--- a/scripts/config.ts
+++ b/scripts/config.ts
@@ -13,10 +13,6 @@ const packages = [
dirName: 'renderer',
globalName: 'iDrawRenderer'
},
- // {
- // dirName: 'kernal',
- // globalName: 'iDrawKernal',
- // },
{
dirName: 'core',
globalName: 'iDrawCore'
@@ -24,6 +20,10 @@ const packages = [
{
dirName: 'idraw',
globalName: 'iDraw'
+ },
+ {
+ dirName: 'figma',
+ globalName: 'iDrawFigma'
}
];