@maxtropy/v-components 0.1.17-beta.21 → 0.1.17-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mx-vcomponents.es.js +3377 -3286
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/components/loading/index.d.ts +4 -6
- package/dist/types/components/loading/service.d.ts +5 -2
- package/dist/types/components/loading/types.d.ts +3 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -42,4 +42,5 @@ import MxFormContent from './formContent';
|
|
|
42
42
|
import MxFormTitle from './formTitle';
|
|
43
43
|
import MxSubContent from './subContent';
|
|
44
44
|
import MxAutocomplete from './autocomplete';
|
|
45
|
-
|
|
45
|
+
import MxLoading from './loading';
|
|
46
|
+
export { MxInput, MxInputNumber, MxButton, MxSwitch, MxSelect, MxOption, MxOptionGroup, MxRadio, MxRadioGroup, MxRadioButton, MxCheckbox, MxCheckboxButton, MxCheckboxGroup, SwitchStaff, HeadNavigation, SiderMenu, UserContent, SystemContent, BreadCrumb, BasicLayout, AuthorizedPermission, usePermission, useStaffTitle, useIntegratedAuthorityList, MxTooltip, MxPopover, MxDropdown, MxDropdownItem, MxDropdownMenu, MxAlert, MxDialog, MxSlider, MxDatePicker, MxTimePicker, MxPopconfirm, MxTree, MxTreeSelect, MxUpload, MxEllipsisSpan, MxEmpty, MxSteps, MxStep, MxTag, MxTable, MxTableColumn, MxPagination, MxForm, MxFormItem, MxTabs, MxTabPane, MxTimeSelect, MxCascader, MxFilter, MxWrapper, MxFormContent, MxFormTitle, MxSubContent, MxAutocomplete, MxLoading, };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Plugin } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export default Loading;
|
|
2
|
+
import CustomLoading from './service';
|
|
3
|
+
declare const MxLoading: Plugin;
|
|
4
|
+
export { CustomLoading };
|
|
5
|
+
export default MxLoading;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import { LoadingServiceOptions, LoadingServiceInstance } from './types';
|
|
3
|
+
declare const CustomLoading: {
|
|
4
|
+
service: (opts?: LoadingServiceOptions) => LoadingServiceInstance;
|
|
5
|
+
install: (app: App, options?: any) => void;
|
|
4
6
|
};
|
|
7
|
+
export default CustomLoading;
|
|
@@ -8,10 +8,11 @@ export interface LoadingOptions {
|
|
|
8
8
|
export interface LoadingServiceOptions {
|
|
9
9
|
text?: string;
|
|
10
10
|
background?: string;
|
|
11
|
-
fullscreen?: boolean;
|
|
12
|
-
target?: HTMLElement | string;
|
|
13
11
|
size?: LoadingSize;
|
|
12
|
+
fullscreen?: boolean;
|
|
13
|
+
target?: string | HTMLElement;
|
|
14
14
|
}
|
|
15
15
|
export interface LoadingServiceInstance {
|
|
16
16
|
close: () => void;
|
|
17
17
|
}
|
|
18
|
+
export type LoadingService = (opts?: LoadingServiceOptions) => LoadingServiceInstance;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ declare const _default: {
|
|
|
7
7
|
export default _default;
|
|
8
8
|
export * from './components/message';
|
|
9
9
|
export * from './components/messageBox';
|
|
10
|
+
export * from './components/loading';
|
|
10
11
|
export * from './components/notification';
|
|
11
12
|
export * from './components';
|
|
12
13
|
export * from './constants';
|