mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
Revert "fix(RangePicker): fix shortcut invalid (#2489)"
This reverts commit 4eada322ef3fa38e80176189ba8490ecfb6146c5.
This commit is contained in:
parent
9288cb9338
commit
8e42da2b01
@ -15,7 +15,7 @@
|
|||||||
"@dnd-kit/modifiers": "^6.0.0",
|
"@dnd-kit/modifiers": "^6.0.0",
|
||||||
"@dnd-kit/sortable": "^6.0.0",
|
"@dnd-kit/sortable": "^6.0.0",
|
||||||
"@emotion/css": "^11.7.1",
|
"@emotion/css": "^11.7.1",
|
||||||
"@formily/antd-v5": "^1.1.1",
|
"@formily/antd-v5": "^1.1.0",
|
||||||
"@formily/core": "^2.2.27",
|
"@formily/core": "^2.2.27",
|
||||||
"@formily/grid": "^2.2.27",
|
"@formily/grid": "^2.2.27",
|
||||||
"@formily/json-schema": "^2.2.27",
|
"@formily/json-schema": "^2.2.27",
|
||||||
@ -30,7 +30,7 @@
|
|||||||
"@nocobase/utils": "0.13.0-alpha.4",
|
"@nocobase/utils": "0.13.0-alpha.4",
|
||||||
"@types/requirejs": "^2.1.34",
|
"@types/requirejs": "^2.1.34",
|
||||||
"ahooks": "^3.7.2",
|
"ahooks": "^3.7.2",
|
||||||
"antd": "5.8.4",
|
"antd": "^5.7.3",
|
||||||
"antd-style": "^3.3.0",
|
"antd-style": "^3.3.0",
|
||||||
"axios": "^0.26.1",
|
"axios": "^0.26.1",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
import { Cascader } from '@formily/antd-v5';
|
||||||
import { useField, useForm } from '@formily/react';
|
import { useField, useForm } from '@formily/react';
|
||||||
import { Cascader, Input, Select, Spin, Table, Tag } from 'antd';
|
import { Input, Select, Spin, Table, Tag } from 'antd';
|
||||||
import { last } from 'lodash';
|
import { last } from 'lodash';
|
||||||
|
import { boolean } from 'mathjs';
|
||||||
import React, { useContext, useEffect, useState } from 'react';
|
import React, { useContext, useEffect, useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { ResourceActionContext, useCompile } from '../../../';
|
import { ResourceActionContext, useCompile } from '../../../';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MappingAlgorithm } from 'antd-style';
|
import { MappingAlgorithm } from 'antd/es/config-provider/context';
|
||||||
import { OverrideToken } from 'antd/es/theme/interface';
|
import { OverrideToken } from 'antd/es/theme/interface';
|
||||||
import { AliasToken } from 'antd/es/theme/internal';
|
import { AliasToken } from 'antd/es/theme/internal';
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { observer, RecursionField, useField, useFieldSchema, useForm } from '@formily/react';
|
import { observer, RecursionField, useField, useFieldSchema, useForm } from '@formily/react';
|
||||||
import { App, Button } from 'antd';
|
import { App, Button, Popover } from 'antd';
|
||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import lodash from 'lodash';
|
import lodash from 'lodash';
|
||||||
import React, { useEffect, useState } from 'react';
|
import React, { useEffect, useState } from 'react';
|
||||||
@ -11,7 +11,6 @@ import { useRecord } from '../../../record-provider';
|
|||||||
import { SortableItem } from '../../common';
|
import { SortableItem } from '../../common';
|
||||||
import { useCompile, useComponent, useDesigner } from '../../hooks';
|
import { useCompile, useComponent, useDesigner } from '../../hooks';
|
||||||
import { useProps } from '../../hooks/useProps';
|
import { useProps } from '../../hooks/useProps';
|
||||||
import { Popover } from '../popover';
|
|
||||||
import ActionContainer from './Action.Container';
|
import ActionContainer from './Action.Container';
|
||||||
import { ActionDesigner } from './Action.Designer';
|
import { ActionDesigner } from './Action.Designer';
|
||||||
import { ActionDrawer } from './Action.Drawer';
|
import { ActionDrawer } from './Action.Drawer';
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
import { EditOutlined } from '@ant-design/icons';
|
import { Popover } from 'antd';
|
||||||
import { css } from '@emotion/css';
|
import { css } from '@emotion/css';
|
||||||
|
import { EditOutlined } from '@ant-design/icons';
|
||||||
import { observer } from '@formily/react';
|
import { observer } from '@formily/react';
|
||||||
import React, { useContext, useRef, useState } from 'react';
|
import React, { useContext, useRef, useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { ActionContext, ActionContextProvider } from '../action/context';
|
|
||||||
import { Popover } from '../popover';
|
|
||||||
import { InternalNester } from './InternalNester';
|
|
||||||
import { ReadPrettyInternalViewer } from './InternalViewer';
|
import { ReadPrettyInternalViewer } from './InternalViewer';
|
||||||
|
import { InternalNester } from './InternalNester';
|
||||||
import { useAssociationFieldContext } from './hooks';
|
import { useAssociationFieldContext } from './hooks';
|
||||||
|
import { ActionContextProvider, ActionContext } from '../action/context';
|
||||||
|
|
||||||
export const InternaPopoverNester = observer(
|
export const InternaPopoverNester = observer(
|
||||||
(props) => {
|
(props) => {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { render, screen, sleep, userEvent, waitFor } from 'testUtils';
|
import { render, screen, sleep, userEvent, waitFor } from 'testUtils';
|
||||||
import App1 from '../demos/demo1';
|
import App1 from '../demos/demo1';
|
||||||
import App11 from '../demos/demo11';
|
|
||||||
import App2 from '../demos/demo2';
|
import App2 from '../demos/demo2';
|
||||||
import App3 from '../demos/demo3';
|
import App3 from '../demos/demo3';
|
||||||
import App4 from '../demos/demo4';
|
import App4 from '../demos/demo4';
|
||||||
@ -69,11 +68,8 @@ describe('DatePicker', () => {
|
|||||||
await userEvent.click(picker);
|
await userEvent.click(picker);
|
||||||
await userEvent.type(input, '2023/05/01');
|
await userEvent.type(input, '2023/05/01');
|
||||||
|
|
||||||
let selected;
|
const selected = document.querySelector('.ant-picker-cell-selected') as HTMLElement;
|
||||||
await waitFor(() => {
|
expect(selected).toBeInTheDocument();
|
||||||
selected = document.querySelector('.ant-picker-cell-selected') as HTMLElement;
|
|
||||||
expect(selected).toBeInTheDocument();
|
|
||||||
});
|
|
||||||
await userEvent.click(selected);
|
await userEvent.click(selected);
|
||||||
|
|
||||||
expect(input).toHaveValue('2023/05/01');
|
expect(input).toHaveValue('2023/05/01');
|
||||||
@ -142,20 +138,15 @@ describe('RangePicker', () => {
|
|||||||
const endInput = getByPlaceholderText('End date');
|
const endInput = getByPlaceholderText('End date');
|
||||||
|
|
||||||
await userEvent.click(picker);
|
await userEvent.click(picker);
|
||||||
await sleep();
|
|
||||||
await userEvent.click(document.querySelector('[title="2023-05-01"]') as HTMLElement);
|
await userEvent.click(document.querySelector('[title="2023-05-01"]') as HTMLElement);
|
||||||
await userEvent.click(document.querySelector('[title="2023-05-02"]') as HTMLElement);
|
await userEvent.click(document.querySelector('[title="2023-05-02"]') as HTMLElement);
|
||||||
|
|
||||||
await waitFor(() => expect(startInput).toHaveValue('2023-05-01'));
|
expect(startInput).toHaveValue('2023-05-01');
|
||||||
await waitFor(() => expect(endInput).toHaveValue('2023-05-02'));
|
expect(endInput).toHaveValue('2023-05-02');
|
||||||
|
|
||||||
// Read pretty
|
// Read pretty
|
||||||
await waitFor(() =>
|
expect(screen.getByText('2023-05-01~2023-05-02', { selector: '.ant-description-text' })).toBeInTheDocument();
|
||||||
expect(screen.getByText('2023-05-01~2023-05-02', { selector: '.ant-description-text' })).toBeInTheDocument(),
|
|
||||||
);
|
|
||||||
|
|
||||||
// Value
|
// Value
|
||||||
await waitFor(() => expect(screen.getByText('2023-05-01 ~ 2023-05-02')).toBeInTheDocument());
|
expect(screen.getByText('2023-05-01 ~ 2023-05-02')).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('showTime=false,gmt=true,utc=true', async () => {
|
it('showTime=false,gmt=true,utc=true', async () => {
|
||||||
@ -228,25 +219,4 @@ describe('RangePicker', () => {
|
|||||||
expect(screen.getByText(`${currentDateString}T00:00:00.000Z`)).toBeInTheDocument();
|
expect(screen.getByText(`${currentDateString}T00:00:00.000Z`)).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// fix T-1506
|
|
||||||
it('shortcut', async () => {
|
|
||||||
const { container } = render(<App11 />);
|
|
||||||
|
|
||||||
await sleep();
|
|
||||||
|
|
||||||
const picker = container.querySelector('.ant-picker') as HTMLElement;
|
|
||||||
const startInput = screen.getByPlaceholderText('Start date');
|
|
||||||
const endInput = screen.getByPlaceholderText('End date');
|
|
||||||
|
|
||||||
await userEvent.click(picker);
|
|
||||||
|
|
||||||
// shortcut: Today
|
|
||||||
await userEvent.click(screen.getByText(/today/i));
|
|
||||||
await sleep();
|
|
||||||
|
|
||||||
// 因为 Today 快捷键的值是动态生成的,所以这里没有断言具体的值
|
|
||||||
await waitFor(() => expect(startInput.getAttribute('value')).toBeTruthy());
|
|
||||||
await waitFor(() => expect(endInput.getAttribute('value')).toBeTruthy());
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
@ -1,65 +0,0 @@
|
|||||||
/**
|
|
||||||
* title: DatePicker.RangePicker
|
|
||||||
*/
|
|
||||||
import { FormItem } from '@formily/antd-v5';
|
|
||||||
import { DatePicker, Input, SchemaComponent, SchemaComponentProvider } from '@nocobase/client';
|
|
||||||
import React from 'react';
|
|
||||||
|
|
||||||
const schema = {
|
|
||||||
type: 'object',
|
|
||||||
properties: {
|
|
||||||
input: {
|
|
||||||
type: 'boolean',
|
|
||||||
title: `Editable`,
|
|
||||||
'x-decorator': 'FormItem',
|
|
||||||
'x-component': 'DatePicker.RangePicker',
|
|
||||||
'x-component-props': {
|
|
||||||
gmt: true,
|
|
||||||
},
|
|
||||||
'x-reactions': [
|
|
||||||
{
|
|
||||||
target: 'read1',
|
|
||||||
fulfill: {
|
|
||||||
state: {
|
|
||||||
value: '{{$self.value}}',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
target: 'read2',
|
|
||||||
fulfill: {
|
|
||||||
state: {
|
|
||||||
value: '{{$self.value && $self.value.join(" ~ ")}}',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
read1: {
|
|
||||||
type: 'boolean',
|
|
||||||
title: `Read pretty`,
|
|
||||||
'x-read-pretty': true,
|
|
||||||
'x-decorator': 'FormItem',
|
|
||||||
'x-component': 'DatePicker.RangePicker',
|
|
||||||
'x-component-props': {
|
|
||||||
gmt: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
read2: {
|
|
||||||
type: 'string',
|
|
||||||
title: `Value`,
|
|
||||||
'x-read-pretty': true,
|
|
||||||
'x-decorator': 'FormItem',
|
|
||||||
'x-component': 'Input',
|
|
||||||
'x-component-props': {},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
export default () => {
|
|
||||||
return (
|
|
||||||
<SchemaComponentProvider components={{ Input, DatePicker, FormItem }}>
|
|
||||||
<SchemaComponent schema={schema} />
|
|
||||||
</SchemaComponentProvider>
|
|
||||||
);
|
|
||||||
};
|
|
@ -1,14 +1,13 @@
|
|||||||
import { css } from '@emotion/css';
|
import { css } from '@emotion/css';
|
||||||
import { createForm, Field, Form } from '@formily/core';
|
import { createForm, Field, Form } from '@formily/core';
|
||||||
import { observer, useField, useFieldSchema, useForm } from '@formily/react';
|
import { observer, useField, useFieldSchema, useForm } from '@formily/react';
|
||||||
import { Button, Space } from 'antd';
|
import { Button, Popover, Space } from 'antd';
|
||||||
import React, { createContext, useCallback, useContext, useMemo, useState } from 'react';
|
import React, { createContext, useContext, useMemo, useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { FormProvider, SchemaComponent } from '../../core';
|
import { FormProvider, SchemaComponent } from '../../core';
|
||||||
import { useDesignable } from '../../hooks';
|
import { useDesignable } from '../../hooks';
|
||||||
import { useProps } from '../../hooks/useProps';
|
import { useProps } from '../../hooks/useProps';
|
||||||
import { Action } from '../action';
|
import { Action } from '../action';
|
||||||
import { Popover } from '../popover';
|
|
||||||
|
|
||||||
export const FilterActionContext = createContext<any>(null);
|
export const FilterActionContext = createContext<any>(null);
|
||||||
|
|
||||||
@ -21,17 +20,15 @@ export const FilterAction = observer(
|
|||||||
const fieldSchema = useFieldSchema();
|
const fieldSchema = useFieldSchema();
|
||||||
const form = useMemo<Form>(() => props.form || createForm(), []);
|
const form = useMemo<Form>(() => props.form || createForm(), []);
|
||||||
const { options, onSubmit, onReset, ...others } = useProps(props);
|
const { options, onSubmit, onReset, ...others } = useProps(props);
|
||||||
const onOpenChange = useCallback((visible: boolean): void => {
|
|
||||||
setVisible(visible);
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<FilterActionContext.Provider value={{ field, fieldSchema, designable, dn }}>
|
<FilterActionContext.Provider value={{ field, fieldSchema, designable, dn }}>
|
||||||
<Popover
|
<Popover
|
||||||
destroyTooltipOnHide
|
destroyTooltipOnHide
|
||||||
placement={'bottomLeft'}
|
placement={'bottomLeft'}
|
||||||
open={visible}
|
open={visible}
|
||||||
onOpenChange={onOpenChange}
|
onOpenChange={(visible) => {
|
||||||
|
setVisible(visible);
|
||||||
|
}}
|
||||||
trigger={'click'}
|
trigger={'click'}
|
||||||
content={
|
content={
|
||||||
<form>
|
<form>
|
||||||
|
@ -2,11 +2,10 @@ import { CloseOutlined, LoadingOutlined } from '@ant-design/icons';
|
|||||||
import { useFormLayout } from '@formily/antd-v5';
|
import { useFormLayout } from '@formily/antd-v5';
|
||||||
import { connect, mapProps, mapReadPretty } from '@formily/react';
|
import { connect, mapProps, mapReadPretty } from '@formily/react';
|
||||||
import { isValid } from '@formily/shared';
|
import { isValid } from '@formily/shared';
|
||||||
import { Button, Input } from 'antd';
|
import { Button, Input, Popover } from 'antd';
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { Icon, hasIcon, icons } from '../../../icon';
|
import { Icon, hasIcon, icons } from '../../../icon';
|
||||||
import { Popover } from '../popover';
|
|
||||||
|
|
||||||
function IconField(props: any) {
|
function IconField(props: any) {
|
||||||
const layout = useFormLayout();
|
const layout = useFormLayout();
|
||||||
|
@ -35,7 +35,6 @@ export * from './page';
|
|||||||
export * from './pagination';
|
export * from './pagination';
|
||||||
export * from './password';
|
export * from './password';
|
||||||
export * from './percent';
|
export * from './percent';
|
||||||
export * from './popover';
|
|
||||||
export * from './preview';
|
export * from './preview';
|
||||||
export * from './quick-edit';
|
export * from './quick-edit';
|
||||||
export * from './radio';
|
export * from './radio';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { CSSProperties, forwardRef, useImperativeHandle, useRef, useState } from 'react';
|
import { Popover } from 'antd';
|
||||||
import { Popover } from '../popover';
|
import React, { CSSProperties, forwardRef, useImperativeHandle, useState, useRef } from 'react';
|
||||||
|
|
||||||
const getContentWidth = (element) => {
|
const getContentWidth = (element) => {
|
||||||
if (element) {
|
if (element) {
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
import { Popover as AntdPopover, PopoverProps } from 'antd';
|
|
||||||
import React, { useCallback } from 'react';
|
|
||||||
|
|
||||||
export const Popover = (props: PopoverProps) => {
|
|
||||||
// 参见:https://github.com/ant-design/ant-design/issues/44119
|
|
||||||
// fix T-1508
|
|
||||||
const avoidClose = useCallback((e: React.MouseEvent<HTMLDivElement, MouseEvent>) => {
|
|
||||||
e.stopPropagation();
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div onClick={avoidClose}>
|
|
||||||
<AntdPopover {...props} />
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
@ -1 +0,0 @@
|
|||||||
export * from './Popover';
|
|
@ -2,9 +2,9 @@ import { css } from '@emotion/css';
|
|||||||
import { FormItem } from '@formily/antd-v5';
|
import { FormItem } from '@formily/antd-v5';
|
||||||
import { Field, createForm } from '@formily/core';
|
import { Field, createForm } from '@formily/core';
|
||||||
import { FormContext, RecursionField, observer, useField, useFieldSchema } from '@formily/react';
|
import { FormContext, RecursionField, observer, useField, useFieldSchema } from '@formily/react';
|
||||||
|
import { Popover } from 'antd';
|
||||||
import React, { useMemo, useRef } from 'react';
|
import React, { useMemo, useRef } from 'react';
|
||||||
import { useCollectionManager } from '../../../collection-manager';
|
import { useCollectionManager } from '../../../collection-manager';
|
||||||
import { Popover } from '../popover';
|
|
||||||
|
|
||||||
export const Editable = observer((props) => {
|
export const Editable = observer((props) => {
|
||||||
const field: any = useField();
|
const field: any = useField();
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { LoadingOutlined } from '@ant-design/icons';
|
import { LoadingOutlined } from '@ant-design/icons';
|
||||||
import { connect, mapProps, mapReadPretty } from '@formily/react';
|
import { connect, mapProps, mapReadPretty } from '@formily/react';
|
||||||
import { isValid } from '@formily/shared';
|
import { isValid } from '@formily/shared';
|
||||||
import { Icon, Popover, css } from '@nocobase/client';
|
import { css, Icon } from '@nocobase/client';
|
||||||
import type { SelectProps } from 'antd';
|
import type { SelectProps } from 'antd';
|
||||||
import { Select as AntdSelect } from 'antd';
|
import { Popover, Select as AntdSelect } from 'antd';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { lang } from '../locale';
|
import { lang } from '../locale';
|
||||||
import { ReadPretty } from './ReadPretty';
|
import { ReadPretty } from './ReadPretty';
|
||||||
@ -35,7 +35,7 @@ const InternalSelect = connect(
|
|||||||
>
|
>
|
||||||
<OptGroup label={lang('Basic charts')}>
|
<OptGroup label={lang('Basic charts')}>
|
||||||
{group1.map((option) => (
|
{group1.map((option) => (
|
||||||
<Option key={option.key} value={option.key} label={lang(option.title)}>
|
<Option value={option.key} label={lang(option.title)}>
|
||||||
<Popover
|
<Popover
|
||||||
placement={'right'}
|
placement={'right'}
|
||||||
zIndex={99999999999}
|
zIndex={99999999999}
|
||||||
@ -43,7 +43,9 @@ const InternalSelect = connect(
|
|||||||
<span>
|
<span>
|
||||||
{lang(option?.description)
|
{lang(option?.description)
|
||||||
?.split(',')
|
?.split(',')
|
||||||
.map((item) => <div key={item}>{item}</div>)}
|
.map((item) => (
|
||||||
|
<div>{item}</div>
|
||||||
|
))}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
trigger="hover"
|
trigger="hover"
|
||||||
@ -66,7 +68,7 @@ const InternalSelect = connect(
|
|||||||
</OptGroup>
|
</OptGroup>
|
||||||
<OptGroup label={lang('More charts')}>
|
<OptGroup label={lang('More charts')}>
|
||||||
{group2.map((option) => (
|
{group2.map((option) => (
|
||||||
<Option key={option.key} value={option.key} label={lang(option.title)}>
|
<Option value={option.key} label={lang(option.title)}>
|
||||||
<Popover
|
<Popover
|
||||||
placement={'right'}
|
placement={'right'}
|
||||||
zIndex={99999999999}
|
zIndex={99999999999}
|
||||||
@ -74,7 +76,9 @@ const InternalSelect = connect(
|
|||||||
<span>
|
<span>
|
||||||
{lang(option?.description)
|
{lang(option?.description)
|
||||||
?.split(',')
|
?.split(',')
|
||||||
.map((item) => <div key={item}>{item}</div>)}
|
.map((item) => (
|
||||||
|
<div>{item}</div>
|
||||||
|
))}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
trigger="hover"
|
trigger="hover"
|
||||||
|
@ -7,12 +7,11 @@ import {
|
|||||||
ShareAltOutlined,
|
ShareAltOutlined,
|
||||||
} from '@ant-design/icons';
|
} from '@ant-design/icons';
|
||||||
import { Graph } from '@antv/x6';
|
import { Graph } from '@antv/x6';
|
||||||
import { MiniMap } from '@antv/x6-plugin-minimap';
|
import { register } from '@antv/x6-react-shape';
|
||||||
import { Scroller } from '@antv/x6-plugin-scroller';
|
import { Scroller } from '@antv/x6-plugin-scroller';
|
||||||
|
import { MiniMap } from '@antv/x6-plugin-minimap';
|
||||||
import { Selection } from '@antv/x6-plugin-selection';
|
import { Selection } from '@antv/x6-plugin-selection';
|
||||||
import { Snapline } from '@antv/x6-plugin-snapline';
|
import { Snapline } from '@antv/x6-plugin-snapline';
|
||||||
import { register } from '@antv/x6-react-shape';
|
|
||||||
import { css, cx } from '@emotion/css';
|
|
||||||
import { SchemaOptionsContext } from '@formily/react';
|
import { SchemaOptionsContext } from '@formily/react';
|
||||||
import {
|
import {
|
||||||
APIClientProvider,
|
APIClientProvider,
|
||||||
@ -21,7 +20,6 @@ import {
|
|||||||
CollectionManagerContext,
|
CollectionManagerContext,
|
||||||
CollectionManagerProvider,
|
CollectionManagerProvider,
|
||||||
CurrentAppInfoContext,
|
CurrentAppInfoContext,
|
||||||
Popover,
|
|
||||||
SchemaComponent,
|
SchemaComponent,
|
||||||
SchemaComponentOptions,
|
SchemaComponentOptions,
|
||||||
Select,
|
Select,
|
||||||
@ -32,10 +30,11 @@ import {
|
|||||||
useCurrentAppInfo,
|
useCurrentAppInfo,
|
||||||
useGlobalTheme,
|
useGlobalTheme,
|
||||||
} from '@nocobase/client';
|
} from '@nocobase/client';
|
||||||
import { useFullscreen } from 'ahooks';
|
import { css, cx } from '@emotion/css';
|
||||||
import { App, Button, ConfigProvider, Input, Layout, Menu, Spin, Switch, Tooltip } from 'antd';
|
|
||||||
import dagre from 'dagre';
|
|
||||||
import lodash from 'lodash';
|
import lodash from 'lodash';
|
||||||
|
import { useFullscreen } from 'ahooks';
|
||||||
|
import { Button, ConfigProvider, Input, Layout, Menu, Popover, Switch, Tooltip, App, Spin } from 'antd';
|
||||||
|
import dagre from 'dagre';
|
||||||
import React, { createContext, forwardRef, useContext, useEffect, useLayoutEffect, useState } from 'react';
|
import React, { createContext, forwardRef, useContext, useEffect, useLayoutEffect, useState } from 'react';
|
||||||
import { useAsyncDataSource, useCreateActionAndRefreshCM } from './action-hooks';
|
import { useAsyncDataSource, useCreateActionAndRefreshCM } from './action-hooks';
|
||||||
import { AddCollectionAction } from './components/AddCollectionAction';
|
import { AddCollectionAction } from './components/AddCollectionAction';
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
import { DeleteOutlined, DownOutlined, EditOutlined, UpOutlined } from '@ant-design/icons';
|
import { DeleteOutlined, DownOutlined, EditOutlined, UpOutlined } from '@ant-design/icons';
|
||||||
import { css } from '@emotion/css';
|
|
||||||
import { SchemaOptionsContext } from '@formily/react';
|
|
||||||
import { uid } from '@formily/shared';
|
import { uid } from '@formily/shared';
|
||||||
|
import { css } from '@emotion/css';
|
||||||
import {
|
import {
|
||||||
CollectionCategroriesContext,
|
CollectionCategroriesContext,
|
||||||
CollectionProvider,
|
CollectionProvider,
|
||||||
Popover,
|
|
||||||
SchemaComponent,
|
SchemaComponent,
|
||||||
SchemaComponentProvider,
|
SchemaComponentProvider,
|
||||||
Select,
|
Select,
|
||||||
@ -15,8 +13,9 @@ import {
|
|||||||
useCurrentAppInfo,
|
useCurrentAppInfo,
|
||||||
useRecord,
|
useRecord,
|
||||||
} from '@nocobase/client';
|
} from '@nocobase/client';
|
||||||
import { Badge, Tag } from 'antd';
|
|
||||||
import lodash from 'lodash';
|
import lodash from 'lodash';
|
||||||
|
import { SchemaOptionsContext } from '@formily/react';
|
||||||
|
import { Badge, Popover, Tag } from 'antd';
|
||||||
import React, { useContext, useRef, useState } from 'react';
|
import React, { useContext, useRef, useState } from 'react';
|
||||||
import {
|
import {
|
||||||
useAsyncDataSource,
|
useAsyncDataSource,
|
||||||
|
@ -4,7 +4,6 @@ import { Field, useField, useForm } from '@formily/react';
|
|||||||
import {
|
import {
|
||||||
FormProvider,
|
FormProvider,
|
||||||
Input,
|
Input,
|
||||||
Popover,
|
|
||||||
Radio,
|
Radio,
|
||||||
SchemaComponent,
|
SchemaComponent,
|
||||||
locale,
|
locale,
|
||||||
@ -14,7 +13,7 @@ import {
|
|||||||
useResourceActionContext,
|
useResourceActionContext,
|
||||||
useResourceContext,
|
useResourceContext,
|
||||||
} from '@nocobase/client';
|
} from '@nocobase/client';
|
||||||
import { Input as AntdInput, Button, Card, Checkbox, Col, Divider, Row, Tag, Typography, message } from 'antd';
|
import { Input as AntdInput, Button, Card, Checkbox, Col, Divider, Popover, Row, Tag, Typography, message } from 'antd';
|
||||||
import React, { useMemo, useState } from 'react';
|
import React, { useMemo, useState } from 'react';
|
||||||
import { useLocalTranslation } from './locale';
|
import { useLocalTranslation } from './locale';
|
||||||
import { localizationSchema } from './schemas/localization';
|
import { localizationSchema } from './schemas/localization';
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import { CaretRightOutlined, ExpandOutlined, QuestionCircleOutlined } from '@ant-design/icons';
|
import { CaretRightOutlined, ExpandOutlined, QuestionCircleOutlined } from '@ant-design/icons';
|
||||||
import { Popover } from '@nocobase/client';
|
import { Button, Checkbox, Collapse, ConfigProvider, Popover, Switch, Tooltip, Typography } from 'antd';
|
||||||
import { Button, Checkbox, Collapse, ConfigProvider, Switch, Tooltip, Typography } from 'antd';
|
|
||||||
import type { ThemeConfig } from 'antd/es/config-provider/context';
|
import type { ThemeConfig } from 'antd/es/config-provider/context';
|
||||||
import seed from 'antd/es/theme/themes/seed';
|
import seed from 'antd/es/theme/themes/seed';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
@ -61,10 +60,9 @@ const useStyle = makeStyle('ColorTokenContent', (token) => ({
|
|||||||
transition: 'box-shadow 0.2s ease-in-out',
|
transition: 'box-shadow 0.2s ease-in-out',
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
},
|
},
|
||||||
[`> ${token.rootCls}-collapse-item > ${token.rootCls}-collapse-content > ${token.rootCls}-collapse-content-box`]:
|
[`> ${token.rootCls}-collapse-item > ${token.rootCls}-collapse-content > ${token.rootCls}-collapse-content-box`]: {
|
||||||
{
|
paddingBlock: '0 12px',
|
||||||
paddingBlock: '0 12px',
|
},
|
||||||
},
|
|
||||||
|
|
||||||
'.token-panel-pro-token-collapse-description': {
|
'.token-panel-pro-token-collapse-description': {
|
||||||
color: token.colorTextTertiary,
|
color: token.colorTextTertiary,
|
||||||
|
196
yarn.lock
196
yarn.lock
@ -174,28 +174,10 @@
|
|||||||
rc-util "^5.35.0"
|
rc-util "^5.35.0"
|
||||||
stylis "^4.0.13"
|
stylis "^4.0.13"
|
||||||
|
|
||||||
"@ant-design/cssinjs@^1.16.0":
|
|
||||||
version "1.16.2"
|
|
||||||
resolved "https://registry.npmmirror.com/@ant-design/cssinjs/-/cssinjs-1.16.2.tgz#4bb4156d721f76043d9a1300038be9f862b1c23a"
|
|
||||||
integrity sha512-W+LT6Xm5sEYZn7ocMAIP9LvX99woxGg1aYu15o608/uUAaJDR7LrxBu/5cnMLa6AQK1829zdoKmRnRFOxAgzEg==
|
|
||||||
dependencies:
|
|
||||||
"@babel/runtime" "^7.11.1"
|
|
||||||
"@emotion/hash" "^0.8.0"
|
|
||||||
"@emotion/unitless" "^0.7.5"
|
|
||||||
classnames "^2.3.1"
|
|
||||||
csstype "^3.0.10"
|
|
||||||
rc-util "^5.35.0"
|
|
||||||
stylis "^4.0.13"
|
|
||||||
|
|
||||||
"@ant-design/icons-svg@^4.2.1":
|
"@ant-design/icons-svg@^4.2.1":
|
||||||
version "4.2.1"
|
version "4.2.1"
|
||||||
resolved "https://registry.npmmirror.com/@ant-design/icons-svg/-/icons-svg-4.2.1.tgz#8630da8eb4471a4aabdaed7d1ff6a97dcb2cf05a"
|
resolved "https://registry.npmmirror.com/@ant-design/icons-svg/-/icons-svg-4.2.1.tgz#8630da8eb4471a4aabdaed7d1ff6a97dcb2cf05a"
|
||||||
|
|
||||||
"@ant-design/icons-svg@^4.3.0":
|
|
||||||
version "4.3.0"
|
|
||||||
resolved "https://registry.npmmirror.com/@ant-design/icons-svg/-/icons-svg-4.3.0.tgz#cd8d3624bba50975e848591cea12cb6be132cd82"
|
|
||||||
integrity sha512-WOgvdH/1Wl8Z7VXigRbCa5djO14zxrNTzvrAQzhWiBQtEKT0uTc8K1ltjKZ8U1gPn/wXhMA8/jE39SJl0WNxSg==
|
|
||||||
|
|
||||||
"@ant-design/icons@5.x", "@ant-design/icons@^5.0.0", "@ant-design/icons@^5.1.0", "@ant-design/icons@^5.1.3", "@ant-design/icons@^5.1.4":
|
"@ant-design/icons@5.x", "@ant-design/icons@^5.0.0", "@ant-design/icons@^5.1.0", "@ant-design/icons@^5.1.3", "@ant-design/icons@^5.1.4":
|
||||||
version "5.1.4"
|
version "5.1.4"
|
||||||
resolved "https://registry.npmmirror.com/@ant-design/icons/-/icons-5.1.4.tgz#614e29e26d092c2c1c1a2acbc0d84434d8d1474e"
|
resolved "https://registry.npmmirror.com/@ant-design/icons/-/icons-5.1.4.tgz#614e29e26d092c2c1c1a2acbc0d84434d8d1474e"
|
||||||
@ -216,18 +198,6 @@
|
|||||||
classnames "^2.2.6"
|
classnames "^2.2.6"
|
||||||
rc-util "^5.9.4"
|
rc-util "^5.9.4"
|
||||||
|
|
||||||
"@ant-design/icons@^5.2.2":
|
|
||||||
version "5.2.5"
|
|
||||||
resolved "https://registry.npmmirror.com/@ant-design/icons/-/icons-5.2.5.tgz#852474359e271a36e54a4ac115065fae7396277e"
|
|
||||||
integrity sha512-9Jc59v5fl5dzmxqLWtRev3dJwU7Ya9ZheoI6XmZjZiQ7PRtk77rC+Rbt7GJzAPPg43RQ4YO53RE1u8n+Et97vQ==
|
|
||||||
dependencies:
|
|
||||||
"@ant-design/colors" "^7.0.0"
|
|
||||||
"@ant-design/icons-svg" "^4.3.0"
|
|
||||||
"@babel/runtime" "^7.11.2"
|
|
||||||
classnames "^2.2.6"
|
|
||||||
lodash.camelcase "^4.3.0"
|
|
||||||
rc-util "^5.31.1"
|
|
||||||
|
|
||||||
"@ant-design/plots@^1.2.5":
|
"@ant-design/plots@^1.2.5":
|
||||||
version "1.2.5"
|
version "1.2.5"
|
||||||
resolved "https://registry.npmmirror.com/@ant-design/plots/-/plots-1.2.5.tgz#404caf0e2c8d052590fe080c6f0fdf0e0c3119ab"
|
resolved "https://registry.npmmirror.com/@ant-design/plots/-/plots-1.2.5.tgz#404caf0e2c8d052590fe080c6f0fdf0e0c3119ab"
|
||||||
@ -3768,7 +3738,7 @@
|
|||||||
intl-messageformat "10.5.0"
|
intl-messageformat "10.5.0"
|
||||||
tslib "^2.4.0"
|
tslib "^2.4.0"
|
||||||
|
|
||||||
"@formily/antd-v5@1.x":
|
"@formily/antd-v5@1.x", "@formily/antd-v5@^1.1.0":
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.npmmirror.com/@formily/antd-v5/-/antd-v5-1.1.0.tgz#e2f20df64c62df348a78b4c44aa17c23a24887d1"
|
resolved "https://registry.npmmirror.com/@formily/antd-v5/-/antd-v5-1.1.0.tgz#e2f20df64c62df348a78b4c44aa17c23a24887d1"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -3786,25 +3756,6 @@
|
|||||||
classnames "^2.2.6"
|
classnames "^2.2.6"
|
||||||
react-sticky-box "^1.0.2"
|
react-sticky-box "^1.0.2"
|
||||||
|
|
||||||
"@formily/antd-v5@^1.1.1":
|
|
||||||
version "1.1.1"
|
|
||||||
resolved "https://registry.npmmirror.com/@formily/antd-v5/-/antd-v5-1.1.1.tgz#b1f103cbb99b88d14ebf66a362e6fd2177046478"
|
|
||||||
integrity sha512-fubuPHWjHVtBNWQ3iGfwy44mIRHSLn7DfvtLIYAdszHt3c4jk3ermUW2hCAeBTd9bX0NXery/VSy+yTd1Myzyg==
|
|
||||||
dependencies:
|
|
||||||
"@ant-design/cssinjs" "^1.3.1"
|
|
||||||
"@ant-design/icons" "^5.0.0"
|
|
||||||
"@dnd-kit/core" "^6.0.0"
|
|
||||||
"@dnd-kit/sortable" "^7.0.0"
|
|
||||||
"@formily/core" "^2.2.0"
|
|
||||||
"@formily/grid" "^2.2.0"
|
|
||||||
"@formily/json-schema" "^2.2.0"
|
|
||||||
"@formily/react" "^2.2.0"
|
|
||||||
"@formily/reactive" "^2.2.0"
|
|
||||||
"@formily/reactive-react" "^2.2.0"
|
|
||||||
"@formily/shared" "^2.2.0"
|
|
||||||
classnames "^2.2.6"
|
|
||||||
react-sticky-box "^1.0.2"
|
|
||||||
|
|
||||||
"@formily/core@2.2.27", "@formily/core@2.x", "@formily/core@^2.2.0", "@formily/core@^2.2.27":
|
"@formily/core@2.2.27", "@formily/core@2.x", "@formily/core@^2.2.0", "@formily/core@^2.2.27":
|
||||||
version "2.2.27"
|
version "2.2.27"
|
||||||
resolved "https://registry.npmmirror.com/@formily/core/-/core-2.2.27.tgz#9ccb51650a713f27997e6823a5a980c9e013f461"
|
resolved "https://registry.npmmirror.com/@formily/core/-/core-2.2.27.tgz#9ccb51650a713f27997e6823a5a980c9e013f461"
|
||||||
@ -5677,19 +5628,6 @@
|
|||||||
rc-resize-observer "^1.3.1"
|
rc-resize-observer "^1.3.1"
|
||||||
rc-util "^5.33.0"
|
rc-util "^5.33.0"
|
||||||
|
|
||||||
"@rc-component/trigger@^1.15.0":
|
|
||||||
version "1.15.5"
|
|
||||||
resolved "https://registry.npmmirror.com/@rc-component/trigger/-/trigger-1.15.5.tgz#88ae123b4e2edeadb612ba470b6ac502a076895f"
|
|
||||||
integrity sha512-HFjeco/gRGAHN3sBl5ZO44o0W6Y3i8sqCQEYcFT1RJJUb91p/uSIWejPDMzHd3DKAdTbRCM3T45jxs7Kwm17kA==
|
|
||||||
dependencies:
|
|
||||||
"@babel/runtime" "^7.18.3"
|
|
||||||
"@rc-component/portal" "^1.1.0"
|
|
||||||
classnames "^2.3.2"
|
|
||||||
rc-align "^4.0.0"
|
|
||||||
rc-motion "^2.0.0"
|
|
||||||
rc-resize-observer "^1.3.1"
|
|
||||||
rc-util "^5.33.0"
|
|
||||||
|
|
||||||
"@react-spring/animated@~9.6.1":
|
"@react-spring/animated@~9.6.1":
|
||||||
version "9.6.1"
|
version "9.6.1"
|
||||||
resolved "https://registry.npmmirror.com/@react-spring/animated/-/animated-9.6.1.tgz#ccc626d847cbe346f5f8815d0928183c647eb425"
|
resolved "https://registry.npmmirror.com/@react-spring/animated/-/animated-9.6.1.tgz#ccc626d847cbe346f5f8815d0928183c647eb425"
|
||||||
@ -8780,61 +8718,7 @@ antd-token-previewer@2.0.0-alpha.8, antd-token-previewer@^2.0.0-alpha.6:
|
|||||||
use-debouncy "^4.3.0"
|
use-debouncy "^4.3.0"
|
||||||
vanilla-jsoneditor "^0.16.1"
|
vanilla-jsoneditor "^0.16.1"
|
||||||
|
|
||||||
antd@5.8.4:
|
antd@5.x, antd@^5.4.2, antd@^5.5.1, antd@^5.7.3:
|
||||||
version "5.8.4"
|
|
||||||
resolved "https://registry.npmmirror.com/antd/-/antd-5.8.4.tgz#9225524e8325ebd4bf7a70512fce04a5088c28d4"
|
|
||||||
integrity sha512-DbQUmRWf9GAllZsc9NxL9gnrup75F7iZ0OlFY+mXh31JdSYQLLP07CAOK7z/sdQLQdYnAHWyuWvkb2mrRKxnYA==
|
|
||||||
dependencies:
|
|
||||||
"@ant-design/colors" "^7.0.0"
|
|
||||||
"@ant-design/cssinjs" "^1.16.0"
|
|
||||||
"@ant-design/icons" "^5.2.2"
|
|
||||||
"@ant-design/react-slick" "~1.0.0"
|
|
||||||
"@babel/runtime" "^7.18.3"
|
|
||||||
"@ctrl/tinycolor" "^3.6.0"
|
|
||||||
"@rc-component/color-picker" "~1.4.0"
|
|
||||||
"@rc-component/mutate-observer" "^1.0.0"
|
|
||||||
"@rc-component/tour" "~1.8.1"
|
|
||||||
"@rc-component/trigger" "^1.15.0"
|
|
||||||
classnames "^2.2.6"
|
|
||||||
copy-to-clipboard "^3.2.0"
|
|
||||||
dayjs "^1.11.1"
|
|
||||||
qrcode.react "^3.1.0"
|
|
||||||
rc-cascader "~3.14.0"
|
|
||||||
rc-checkbox "~3.1.0"
|
|
||||||
rc-collapse "~3.7.0"
|
|
||||||
rc-dialog "~9.1.0"
|
|
||||||
rc-drawer "~6.2.0"
|
|
||||||
rc-dropdown "~4.1.0"
|
|
||||||
rc-field-form "~1.36.0"
|
|
||||||
rc-image "~7.1.0"
|
|
||||||
rc-input "~1.1.0"
|
|
||||||
rc-input-number "~8.0.2"
|
|
||||||
rc-mentions "~2.5.0"
|
|
||||||
rc-menu "~9.10.0"
|
|
||||||
rc-motion "^2.7.3"
|
|
||||||
rc-notification "~5.0.4"
|
|
||||||
rc-pagination "~3.6.0"
|
|
||||||
rc-picker "~3.13.0"
|
|
||||||
rc-progress "~3.4.1"
|
|
||||||
rc-rate "~2.12.0"
|
|
||||||
rc-resize-observer "^1.2.0"
|
|
||||||
rc-segmented "~2.2.0"
|
|
||||||
rc-select "~14.7.1"
|
|
||||||
rc-slider "~10.1.0"
|
|
||||||
rc-steps "~6.0.1"
|
|
||||||
rc-switch "~4.1.0"
|
|
||||||
rc-table "~7.32.1"
|
|
||||||
rc-tabs "~12.9.0"
|
|
||||||
rc-textarea "~1.3.3"
|
|
||||||
rc-tooltip "~6.0.0"
|
|
||||||
rc-tree "~5.7.6"
|
|
||||||
rc-tree-select "~5.11.0"
|
|
||||||
rc-upload "~4.3.0"
|
|
||||||
rc-util "^5.32.0"
|
|
||||||
scroll-into-view-if-needed "^3.0.3"
|
|
||||||
throttle-debounce "^5.0.0"
|
|
||||||
|
|
||||||
antd@5.x, antd@^5.4.2, antd@^5.5.1:
|
|
||||||
version "5.7.3"
|
version "5.7.3"
|
||||||
resolved "https://registry.npmmirror.com/antd/-/antd-5.7.3.tgz#3a1b84fa3987554931b9d974efe9cb7454ff1347"
|
resolved "https://registry.npmmirror.com/antd/-/antd-5.7.3.tgz#3a1b84fa3987554931b9d974efe9cb7454ff1347"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -22437,18 +22321,6 @@ rc-cascader@~3.12.0:
|
|||||||
rc-tree "~5.7.0"
|
rc-tree "~5.7.0"
|
||||||
rc-util "^5.6.1"
|
rc-util "^5.6.1"
|
||||||
|
|
||||||
rc-cascader@~3.14.0:
|
|
||||||
version "3.14.1"
|
|
||||||
resolved "https://registry.npmmirror.com/rc-cascader/-/rc-cascader-3.14.1.tgz#495f00b8d047a54fa64df3102f4d6e4a664feaf2"
|
|
||||||
integrity sha512-fCsgjLIQqYZMhFj9UT+x2ZW4uobx7OP5yivcn6Xto5fuxHaldphsryzCeUVmreQOHEo0RP+032Ip9RDzrKVKJA==
|
|
||||||
dependencies:
|
|
||||||
"@babel/runtime" "^7.12.5"
|
|
||||||
array-tree-filter "^2.1.0"
|
|
||||||
classnames "^2.3.1"
|
|
||||||
rc-select "~14.7.0"
|
|
||||||
rc-tree "~5.7.0"
|
|
||||||
rc-util "^5.35.0"
|
|
||||||
|
|
||||||
rc-checkbox@~3.1.0:
|
rc-checkbox@~3.1.0:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.npmmirror.com/rc-checkbox/-/rc-checkbox-3.1.0.tgz#6be0d9d8de2cc96fb5e37f9036a1c3e360d0a42d"
|
resolved "https://registry.npmmirror.com/rc-checkbox/-/rc-checkbox-3.1.0.tgz#6be0d9d8de2cc96fb5e37f9036a1c3e360d0a42d"
|
||||||
@ -22521,15 +22393,6 @@ rc-field-form@~1.34.0:
|
|||||||
async-validator "^4.1.0"
|
async-validator "^4.1.0"
|
||||||
rc-util "^5.32.2"
|
rc-util "^5.32.2"
|
||||||
|
|
||||||
rc-field-form@~1.36.0:
|
|
||||||
version "1.36.2"
|
|
||||||
resolved "https://registry.npmmirror.com/rc-field-form/-/rc-field-form-1.36.2.tgz#0a4e75ab9849e3c2517b8b07c1f97ecd3e52db55"
|
|
||||||
integrity sha512-tCF/JjUsnxW80Gk4E4ZH74ONsaQMxVTRtui6XhQB8DJc4FHWLLa5pP8zwhxtPKC5NaO0QZ0Cv79JggDubn6n2g==
|
|
||||||
dependencies:
|
|
||||||
"@babel/runtime" "^7.18.0"
|
|
||||||
async-validator "^4.1.0"
|
|
||||||
rc-util "^5.32.2"
|
|
||||||
|
|
||||||
rc-image@~7.0.0:
|
rc-image@~7.0.0:
|
||||||
version "7.0.0"
|
version "7.0.0"
|
||||||
resolved "https://registry.npmmirror.com/rc-image/-/rc-image-7.0.0.tgz#cad2105dd1708304328bc9c178f7953cb0198403"
|
resolved "https://registry.npmmirror.com/rc-image/-/rc-image-7.0.0.tgz#cad2105dd1708304328bc9c178f7953cb0198403"
|
||||||
@ -22541,18 +22404,6 @@ rc-image@~7.0.0:
|
|||||||
rc-motion "^2.6.2"
|
rc-motion "^2.6.2"
|
||||||
rc-util "^5.34.1"
|
rc-util "^5.34.1"
|
||||||
|
|
||||||
rc-image@~7.1.0:
|
|
||||||
version "7.1.3"
|
|
||||||
resolved "https://registry.npmmirror.com/rc-image/-/rc-image-7.1.3.tgz#0072547c7c0a70e6badfb4bee320806c5bf7427b"
|
|
||||||
integrity sha512-foMl1rcit1F0+vgxE5kf0c8TygQcHhILsOohQUL+JMUbzOo3OBFRcehJudYbqbCTArzCecS8nA1irUU9vvgQbg==
|
|
||||||
dependencies:
|
|
||||||
"@babel/runtime" "^7.11.2"
|
|
||||||
"@rc-component/portal" "^1.0.2"
|
|
||||||
classnames "^2.2.6"
|
|
||||||
rc-dialog "~9.1.0"
|
|
||||||
rc-motion "^2.6.2"
|
|
||||||
rc-util "^5.34.1"
|
|
||||||
|
|
||||||
rc-input-number@~8.0.2:
|
rc-input-number@~8.0.2:
|
||||||
version "8.0.3"
|
version "8.0.3"
|
||||||
resolved "https://registry.npmmirror.com/rc-input-number/-/rc-input-number-8.0.3.tgz#208efac9937370d3c987979558e7e4882564af09"
|
resolved "https://registry.npmmirror.com/rc-input-number/-/rc-input-number-8.0.3.tgz#208efac9937370d3c987979558e7e4882564af09"
|
||||||
@ -22628,15 +22479,6 @@ rc-pagination@~3.5.0:
|
|||||||
classnames "^2.2.1"
|
classnames "^2.2.1"
|
||||||
rc-util "^5.32.2"
|
rc-util "^5.32.2"
|
||||||
|
|
||||||
rc-pagination@~3.6.0:
|
|
||||||
version "3.6.1"
|
|
||||||
resolved "https://registry.npmmirror.com/rc-pagination/-/rc-pagination-3.6.1.tgz#2db6678a57cd2f4f29d6c0416e282543af52d0df"
|
|
||||||
integrity sha512-R/sUnKKXx1Nm4kZfUKS3YKa7yEPF1ZkVB/AynQaHt+nMER7h9wPTfliDJFdYo+RM/nk2JD4Yc5QpUq8fIQHeug==
|
|
||||||
dependencies:
|
|
||||||
"@babel/runtime" "^7.10.1"
|
|
||||||
classnames "^2.2.1"
|
|
||||||
rc-util "^5.32.2"
|
|
||||||
|
|
||||||
rc-picker@~3.10.0:
|
rc-picker@~3.10.0:
|
||||||
version "3.10.0"
|
version "3.10.0"
|
||||||
resolved "https://registry.npmmirror.com/rc-picker/-/rc-picker-3.10.0.tgz#d34e659d88782eb1eac5939a1be0d6ba508f6f42"
|
resolved "https://registry.npmmirror.com/rc-picker/-/rc-picker-3.10.0.tgz#d34e659d88782eb1eac5939a1be0d6ba508f6f42"
|
||||||
@ -22646,16 +22488,6 @@ rc-picker@~3.10.0:
|
|||||||
classnames "^2.2.1"
|
classnames "^2.2.1"
|
||||||
rc-util "^5.30.0"
|
rc-util "^5.30.0"
|
||||||
|
|
||||||
rc-picker@~3.13.0:
|
|
||||||
version "3.13.0"
|
|
||||||
resolved "https://registry.npmmirror.com/rc-picker/-/rc-picker-3.13.0.tgz#b5bec6dbaa7d8a1e4ca9f4e93863a8a75607a62d"
|
|
||||||
integrity sha512-hJ+1lGkemnvsW+t+PjH9OAehHlj7wdD0G75T1HZj0IeZTqBE/5mmuf8E8MHYATNBqW409lAfk8GwjYm1WVMopg==
|
|
||||||
dependencies:
|
|
||||||
"@babel/runtime" "^7.10.1"
|
|
||||||
"@rc-component/trigger" "^1.5.0"
|
|
||||||
classnames "^2.2.1"
|
|
||||||
rc-util "^5.30.0"
|
|
||||||
|
|
||||||
rc-progress@~3.4.1:
|
rc-progress@~3.4.1:
|
||||||
version "3.4.2"
|
version "3.4.2"
|
||||||
resolved "https://registry.npmmirror.com/rc-progress/-/rc-progress-3.4.2.tgz#f8df9ee95e790490171ab6b31bf07303cdc79980"
|
resolved "https://registry.npmmirror.com/rc-progress/-/rc-progress-3.4.2.tgz#f8df9ee95e790490171ab6b31bf07303cdc79980"
|
||||||
@ -22714,19 +22546,6 @@ rc-select@~14.5.0:
|
|||||||
rc-util "^5.16.1"
|
rc-util "^5.16.1"
|
||||||
rc-virtual-list "^3.5.2"
|
rc-virtual-list "^3.5.2"
|
||||||
|
|
||||||
rc-select@~14.7.0, rc-select@~14.7.1:
|
|
||||||
version "14.7.4"
|
|
||||||
resolved "https://registry.npmmirror.com/rc-select/-/rc-select-14.7.4.tgz#742d85861e83604237784f60e2ba9dabcde8eac9"
|
|
||||||
integrity sha512-qRUpvMVXFy6rdHe+qzHXAqyQAfhErC/oY8dcRtoRjoz0lz2Nx3J+lLL5AnEbjnwlS+/kQTJUZ/65WyCwWwcLwQ==
|
|
||||||
dependencies:
|
|
||||||
"@babel/runtime" "^7.10.1"
|
|
||||||
"@rc-component/trigger" "^1.5.0"
|
|
||||||
classnames "2.x"
|
|
||||||
rc-motion "^2.0.1"
|
|
||||||
rc-overflow "^1.3.1"
|
|
||||||
rc-util "^5.16.1"
|
|
||||||
rc-virtual-list "^3.5.2"
|
|
||||||
|
|
||||||
rc-slider@~10.1.0:
|
rc-slider@~10.1.0:
|
||||||
version "10.1.1"
|
version "10.1.1"
|
||||||
resolved "https://registry.npmmirror.com/rc-slider/-/rc-slider-10.1.1.tgz#5e82036e60b61021aba3ea0e353744dd7c74e104"
|
resolved "https://registry.npmmirror.com/rc-slider/-/rc-slider-10.1.1.tgz#5e82036e60b61021aba3ea0e353744dd7c74e104"
|
||||||
@ -22801,17 +22620,6 @@ rc-tree-select@5.5.5:
|
|||||||
rc-tree "~5.7.0"
|
rc-tree "~5.7.0"
|
||||||
rc-util "^5.16.1"
|
rc-util "^5.16.1"
|
||||||
|
|
||||||
rc-tree-select@~5.11.0:
|
|
||||||
version "5.11.1"
|
|
||||||
resolved "https://registry.npmmirror.com/rc-tree-select/-/rc-tree-select-5.11.1.tgz#7a667288fae06ec06d362ed85d0902068d801407"
|
|
||||||
integrity sha512-EDG1rYFu1iD2Y8fg0yEmm0LV3XqWOy+SpgOMvO5396NgAZ67t0zVTNK6FQkIxzdXf5ri742BkB/B8+Ah6+0Kxw==
|
|
||||||
dependencies:
|
|
||||||
"@babel/runtime" "^7.10.1"
|
|
||||||
classnames "2.x"
|
|
||||||
rc-select "~14.7.0"
|
|
||||||
rc-tree "~5.7.0"
|
|
||||||
rc-util "^5.16.1"
|
|
||||||
|
|
||||||
rc-tree-select@~5.9.0:
|
rc-tree-select@~5.9.0:
|
||||||
version "5.9.0"
|
version "5.9.0"
|
||||||
resolved "https://registry.npmmirror.com/rc-tree-select/-/rc-tree-select-5.9.0.tgz#e8af859ff7751d22b6f4d98941cf13f775686475"
|
resolved "https://registry.npmmirror.com/rc-tree-select/-/rc-tree-select-5.9.0.tgz#e8af859ff7751d22b6f4d98941cf13f775686475"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user