@maxtropy/v-components 0.1.17-beta.20 → 0.1.17-beta.22
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 +5736 -5434
- package/dist/types/components/index.d.ts +2 -5
- package/dist/types/components/loading/common/LoadingCore.vue.d.ts +31 -0
- package/dist/types/components/loading/common/loadingStyles.d.ts +1 -0
- package/dist/types/components/loading/directive.d.ts +8 -0
- package/dist/types/components/loading/index.d.ts +3 -0
- package/dist/types/components/loading/service.d.ts +4 -0
- package/dist/types/components/loading/types.d.ts +18 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -42,8 +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
|
-
|
|
46
|
-
|
|
47
|
-
install: any;
|
|
48
|
-
};
|
|
49
|
-
export default _default;
|
|
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, };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { LoadingSize } from '../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
text: {
|
|
5
|
+
type: PropType<string | undefined>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: PropType<LoadingSize>;
|
|
10
|
+
default: string;
|
|
11
|
+
validator: (value: LoadingSize) => boolean;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
containerSize: import("vue").ComputedRef<16 | 20 | 32>;
|
|
15
|
+
dotSize: import("vue").ComputedRef<6 | 9 | 12>;
|
|
16
|
+
textSize: import("vue").ComputedRef<12 | 14 | 16>;
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
text: {
|
|
19
|
+
type: PropType<string | undefined>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
type: PropType<LoadingSize>;
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (value: LoadingSize) => boolean;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
text: string | undefined;
|
|
29
|
+
size: LoadingSize;
|
|
30
|
+
}, {}>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function addLoadingStyles(): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DirectiveBinding } from 'vue';
|
|
2
|
+
import { LoadingBinding } from './types';
|
|
3
|
+
export declare const loadingDirective: {
|
|
4
|
+
beforeMount(el: HTMLElement, binding: DirectiveBinding<LoadingBinding>): void;
|
|
5
|
+
mounted(el: HTMLElement, binding: DirectiveBinding<LoadingBinding>): void;
|
|
6
|
+
updated(el: HTMLElement, binding: DirectiveBinding<LoadingBinding>): void;
|
|
7
|
+
unmounted(el: HTMLElement): void;
|
|
8
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type LoadingBinding = boolean | undefined;
|
|
2
|
+
export type LoadingSize = 'small' | 'middle' | 'large';
|
|
3
|
+
export interface LoadingOptions {
|
|
4
|
+
text?: string;
|
|
5
|
+
background?: string;
|
|
6
|
+
size?: LoadingSize;
|
|
7
|
+
}
|
|
8
|
+
export interface LoadingServiceOptions {
|
|
9
|
+
text?: string;
|
|
10
|
+
background?: string;
|
|
11
|
+
size?: LoadingSize;
|
|
12
|
+
fullscreen?: boolean;
|
|
13
|
+
target?: string | HTMLElement;
|
|
14
|
+
}
|
|
15
|
+
export interface LoadingServiceInstance {
|
|
16
|
+
close: () => void;
|
|
17
|
+
}
|
|
18
|
+
export type LoadingService = (opts?: LoadingServiceOptions) => LoadingServiceInstance;
|
package/dist/types/index.d.ts
CHANGED