@maxtropy/v-components 0.1.17-beta.20 → 0.1.17-beta.21

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.
@@ -43,7 +43,3 @@ import MxFormTitle from './formTitle';
43
43
  import MxSubContent from './subContent';
44
44
  import MxAutocomplete from './autocomplete';
45
45
  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, };
46
- declare const _default: {
47
- install: any;
48
- };
49
- export default _default;
@@ -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,7 @@
1
+ import { Plugin } from 'vue';
2
+ declare const Loading: Plugin;
3
+ declare module 'vue' {
4
+ interface GlobalComponents {
5
+ }
6
+ }
7
+ export default Loading;
@@ -0,0 +1,4 @@
1
+ import { App } from 'vue';
2
+ export declare const loadingService: {
3
+ install(app: App, options?: any): void;
4
+ };
@@ -0,0 +1,17 @@
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
+ fullscreen?: boolean;
12
+ target?: HTMLElement | string;
13
+ size?: LoadingSize;
14
+ }
15
+ export interface LoadingServiceInstance {
16
+ close: () => void;
17
+ }
@@ -1,4 +1,5 @@
1
1
  import { App } from 'vue';
2
+ import './global.d.ts';
2
3
  declare function install(app: App): void;
3
4
  declare const _default: {
4
5
  install: typeof install;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxtropy/v-components",
3
- "version": "0.1.17-beta.20",
3
+ "version": "0.1.17-beta.21",
4
4
  "files": [
5
5
  "dist"
6
6
  ],