zmdms-webui 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,6 +2,16 @@ import { ModalProps } from 'antd/lib/modal';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { Modal } from 'antd';
|
|
4
4
|
|
|
5
|
+
interface IModalOpenOptions {
|
|
6
|
+
title?: string;
|
|
7
|
+
confirmMsg?: string;
|
|
8
|
+
confirmOkText?: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
}
|
|
11
|
+
interface IModalRef {
|
|
12
|
+
open?: (options?: IModalOpenOptions) => void;
|
|
13
|
+
close?: () => void;
|
|
14
|
+
}
|
|
5
15
|
interface IModalProps extends ModalProps {
|
|
6
16
|
defaultOpen?: boolean;
|
|
7
17
|
defaultTitle?: string;
|
|
@@ -19,4 +29,4 @@ interface IModalComponent extends React__default.ForwardRefExoticComponent<IModa
|
|
|
19
29
|
destroyAll: typeof Modal.destroyAll;
|
|
20
30
|
}
|
|
21
31
|
|
|
22
|
-
export { IModalComponent, IModalProps };
|
|
32
|
+
export { IModalComponent, IModalOpenOptions, IModalProps, IModalRef };
|
package/dist/index.build.d.ts
CHANGED
|
@@ -23,3 +23,4 @@ export { default as AppLayout } from './es/applayout/appLayout.js';
|
|
|
23
23
|
export { default as AppLayoutHeader } from './es/applayoutheader/appLayoutHeader.js';
|
|
24
24
|
export { default as AppLayoutSider } from './es/applayoutsider/appLayoutSider.js';
|
|
25
25
|
export { Affix, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Breadcrumb, Card, Carousel, Cascader, Checkbox, Col, Collapse, Comment, ConfigProvider, Descriptions, Divider, Drawer, Dropdown, Empty, Grid, Image, Layout, List, Mentions, Menu, PageHeader, Popconfirm, Popover, Progress, Radio, Rate, Result, Row, Segmented, Select, Skeleton, Slider, Space, Spin, Statistic, Steps, Switch, Tag, Timeline, Tooltip, Transfer, Tree, TreeSelect, Typography, Upload, message, notification } from 'antd';
|
|
26
|
+
export { IModalOpenOptions, IModalRef } from './es/modal/interface.js';
|