@univerjs/sheets-ui
Version:
Spreadsheet UI layer for Univer Sheets.
47 lines (46 loc) • 1.7 kB
TypeScript
/**
* Copyright 2023-present DreamNum Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import type { ICascaderDropdownProps } from './cascader-dropdown';
import type { IColorDropdownProps } from './color-dropdown';
import type { IDateDropdownProps } from './date-dropdown';
import type { IListDropdownProps } from './list-dropdown';
import { CascaderDropdown } from './cascader-dropdown';
import { ColorDropdown } from './color-dropdown';
import { DateDropdown } from './date-dropdown';
import { ListDropDown } from './list-dropdown';
export type ICellDropdown = {
type: 'datepicker';
props: IDateDropdownProps;
} | {
type: 'list';
props: IListDropdownProps;
} | {
type: 'color';
props: IColorDropdownProps;
} | {
type: 'cascader';
props: ICascaderDropdownProps;
};
export { CascaderDropdown } from './cascader-dropdown';
export { ColorDropdown } from './color-dropdown';
export { DateDropdown } from './date-dropdown';
export { ListDropDown } from './list-dropdown';
export declare const dropdownMap: {
datepicker: typeof DateDropdown;
list: typeof ListDropDown;
color: typeof ColorDropdown;
cascader: typeof CascaderDropdown;
};