sprof 0.0.149 → 0.0.151
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/core/components/AuthModal.vue.d.ts +33 -3
- package/dist/core/components/atoms/PDatePicker/PDatePicker.vue.d.ts +1 -1
- package/dist/core/components/index.d.ts +2 -2
- package/dist/core/components/molecules/PNotify/PNotify.stories.d.ts +242 -0
- package/dist/core/components/organisms/AuthForm/AuthForm.stories.d.ts +9 -0
- package/dist/core/components/organisms/AuthForm/AuthForm.vue.d.ts +9 -0
- package/dist/core/components/organisms/PModal.vue.d.ts +2 -2
- package/dist/core/ui/Notify.d.ts +25 -10
- package/dist/core/ui/index.d.ts +17 -16
- package/dist/sprof.js +1407 -1387
- package/dist/sprof.umd.cjs +12 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
- /package/dist/core/components/{PNotification.vue.d.ts → molecules/PNotify/PNotify.vue.d.ts} +0 -0
|
@@ -1,6 +1,36 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
width: {
|
|
3
|
+
type: globalThis.PropType<string>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
margin: {
|
|
7
|
+
type: globalThis.PropType<string>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
padding: {
|
|
11
|
+
type: globalThis.PropType<string>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
15
|
submit: (...args: any[]) => void;
|
|
3
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
17
|
+
width: {
|
|
18
|
+
type: globalThis.PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
margin: {
|
|
22
|
+
type: globalThis.PropType<string>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
padding: {
|
|
26
|
+
type: globalThis.PropType<string>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{
|
|
4
30
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {
|
|
31
|
+
}>, {
|
|
32
|
+
margin: string;
|
|
33
|
+
padding: string;
|
|
34
|
+
width: string;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
36
|
export default _default;
|
|
@@ -67,8 +67,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
67
67
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
-
label: string;
|
|
71
70
|
text: string;
|
|
71
|
+
label: string;
|
|
72
72
|
placeholder: string;
|
|
73
73
|
margin: string;
|
|
74
74
|
padding: string;
|
|
@@ -58,6 +58,7 @@ import { default as PAdd } from './molecules/PAdd/PAdd.vue';
|
|
|
58
58
|
import { default as PContainer } from './molecules/PAdd/PContainer.vue';
|
|
59
59
|
import { default as PContainerStickyHead } from './molecules/PAdd/PContainerStickyHead.vue';
|
|
60
60
|
import { default as PDel } from './molecules/PDel/PDel.vue';
|
|
61
|
+
import { default as PNotify } from './molecules/PNotify/PNotify.vue';
|
|
61
62
|
import { default as AuthForm } from './organisms/AuthForm/AuthForm.vue';
|
|
62
63
|
import { default as PModal } from './organisms/PModal.vue';
|
|
63
64
|
import { default as PNameEdit } from './organisms/PNameEdit/PNameEdit.vue';
|
|
@@ -69,7 +70,6 @@ import { default as PAutocomplete } from './PAutocomplete.vue';
|
|
|
69
70
|
import { default as PDialog } from './PDialog.vue';
|
|
70
71
|
import { default as PhoneForm } from './PhoneForm.vue';
|
|
71
72
|
import { default as PLoader } from './PLoader.vue';
|
|
72
|
-
import { default as PNotification } from './PNotification.vue';
|
|
73
73
|
import { default as PPagination } from './PPagination.vue';
|
|
74
74
|
import { default as RemoteSearch } from './RemoteSearch.vue';
|
|
75
75
|
import { default as ResearcheContainer } from './ResearcheContainer.vue';
|
|
@@ -87,4 +87,4 @@ declare const servicesComponents: {
|
|
|
87
87
|
component: (a: string, b: unknown) => void;
|
|
88
88
|
}) => void;
|
|
89
89
|
};
|
|
90
|
-
export { AdaptiveContainer, AdaptiveContainerHorizontal, AdminGallery, ArrowLeft, ArrowRight, AuthForm, AuthModal, CarouselImages, CollapseContainer, CollapseItem, ContextWindow, DateInputRange, DateInputRange_v2, DoubleArrowLeft, DoubleArrowRight, DropList, EllipsisSvg, FilterCheckbox, FiltersButtonsSelect, FilterSelect, FTSPPanel, GeneralItem, GridContainer, IconArrowLeft, IconCheckDefault, IconClose, IconDownload, IconEdit, IconEmail, IconFilter, IconMove, IconPhone, IconSearch, IconSelectArrow, InfoItem, InfoItemSelectButtons, LeftRightContainer, MessageBody, PAdd, PageNotFound, PAutocomplete, PButton, PCheckBox, PContainer, PContainerStickyHead, PDatePicker, PDel, PDialog, PFlex, PhoneForm, PInput, PInputDate, PInputNumber, PLeftSlider, PList, PListItem, PLoader, PModal, PNameEdit,
|
|
90
|
+
export { AdaptiveContainer, AdaptiveContainerHorizontal, AdminGallery, ArrowLeft, ArrowRight, AuthForm, AuthModal, CarouselImages, CollapseContainer, CollapseItem, ContextWindow, DateInputRange, DateInputRange_v2, DoubleArrowLeft, DoubleArrowRight, DropList, EllipsisSvg, FilterCheckbox, FiltersButtonsSelect, FilterSelect, FTSPPanel, GeneralItem, GridContainer, IconArrowLeft, IconCheckDefault, IconClose, IconDownload, IconEdit, IconEmail, IconFilter, IconMove, IconPhone, IconSearch, IconSelectArrow, InfoItem, InfoItemSelectButtons, LeftRightContainer, MessageBody, PAdd, PageNotFound, PAutocomplete, PButton, PCheckBox, PContainer, PContainerStickyHead, PDatePicker, PDel, PDialog, PFlex, PhoneForm, PInput, PInputDate, PInputNumber, PLeftSlider, PList, PListItem, PLoader, PModal, PNameEdit, PNotify, PPagination, PRadio, PRightSlider, PSelect, PSticky, PString, PTable, PTabs, PTextarea, PTopSlider, PUploaderImage, RemoteSearch, ResearcheContainer, RightSliderContainer, RightTabsContainer, SelectValueType, servicesComponents, SortList, SortSelect, Switch3Pos, ThemeWrapper, ToggleInfoItem, TopSliderContainer, UploaderFile, VerticalCollapseContainer, };
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
tags: string[];
|
|
5
|
+
parameters: {
|
|
6
|
+
docs: {
|
|
7
|
+
description: {
|
|
8
|
+
component: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const Default: () => {
|
|
15
|
+
components: {
|
|
16
|
+
PNotify: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
PButton: {
|
|
18
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
19
|
+
text: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
required: false;
|
|
23
|
+
};
|
|
24
|
+
margin: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
padding: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
required: false;
|
|
33
|
+
};
|
|
34
|
+
width: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
required: false;
|
|
38
|
+
};
|
|
39
|
+
height: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
required: false;
|
|
43
|
+
};
|
|
44
|
+
skin: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
size: {
|
|
50
|
+
type: globalThis.PropType<import('../../../types/Sizes').default>;
|
|
51
|
+
default: import('../../../types/Sizes').default;
|
|
52
|
+
required: false;
|
|
53
|
+
};
|
|
54
|
+
type: {
|
|
55
|
+
type: globalThis.PropType<import('../../../types/Statuses').default>;
|
|
56
|
+
default: import('../../../types/Statuses').default;
|
|
57
|
+
required: false;
|
|
58
|
+
};
|
|
59
|
+
fontSize: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
required: false;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{
|
|
65
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
+
click: (...args: any[]) => void;
|
|
68
|
+
}, import('vue').PublicProps, {
|
|
69
|
+
size: import('../../../types/Sizes').default;
|
|
70
|
+
type: import('../../../types/Statuses').default;
|
|
71
|
+
text: string;
|
|
72
|
+
height: string;
|
|
73
|
+
margin: string;
|
|
74
|
+
padding: string;
|
|
75
|
+
width: string;
|
|
76
|
+
skin: string;
|
|
77
|
+
fontSize: string;
|
|
78
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
79
|
+
P: {};
|
|
80
|
+
B: {};
|
|
81
|
+
D: {};
|
|
82
|
+
C: {};
|
|
83
|
+
M: {};
|
|
84
|
+
Defaults: {};
|
|
85
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
86
|
+
text: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
required: false;
|
|
90
|
+
};
|
|
91
|
+
margin: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
required: false;
|
|
95
|
+
};
|
|
96
|
+
padding: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
required: false;
|
|
100
|
+
};
|
|
101
|
+
width: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
required: false;
|
|
105
|
+
};
|
|
106
|
+
height: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
required: false;
|
|
110
|
+
};
|
|
111
|
+
skin: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
required: false;
|
|
115
|
+
};
|
|
116
|
+
size: {
|
|
117
|
+
type: globalThis.PropType<import('../../../types/Sizes').default>;
|
|
118
|
+
default: import('../../../types/Sizes').default;
|
|
119
|
+
required: false;
|
|
120
|
+
};
|
|
121
|
+
type: {
|
|
122
|
+
type: globalThis.PropType<import('../../../types/Statuses').default>;
|
|
123
|
+
default: import('../../../types/Statuses').default;
|
|
124
|
+
required: false;
|
|
125
|
+
};
|
|
126
|
+
fontSize: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
required: false;
|
|
130
|
+
};
|
|
131
|
+
}>> & Readonly<{
|
|
132
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
}>, {}, {}, {}, {}, {
|
|
134
|
+
size: import('../../../types/Sizes').default;
|
|
135
|
+
type: import('../../../types/Statuses').default;
|
|
136
|
+
text: string;
|
|
137
|
+
height: string;
|
|
138
|
+
margin: string;
|
|
139
|
+
padding: string;
|
|
140
|
+
width: string;
|
|
141
|
+
skin: string;
|
|
142
|
+
fontSize: string;
|
|
143
|
+
}>;
|
|
144
|
+
__isFragment?: undefined;
|
|
145
|
+
__isTeleport?: undefined;
|
|
146
|
+
__isSuspense?: undefined;
|
|
147
|
+
} & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
148
|
+
text: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: string;
|
|
151
|
+
required: false;
|
|
152
|
+
};
|
|
153
|
+
margin: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
default: string;
|
|
156
|
+
required: false;
|
|
157
|
+
};
|
|
158
|
+
padding: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
required: false;
|
|
162
|
+
};
|
|
163
|
+
width: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
default: string;
|
|
166
|
+
required: false;
|
|
167
|
+
};
|
|
168
|
+
height: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
default: string;
|
|
171
|
+
required: false;
|
|
172
|
+
};
|
|
173
|
+
skin: {
|
|
174
|
+
type: StringConstructor;
|
|
175
|
+
default: string;
|
|
176
|
+
required: false;
|
|
177
|
+
};
|
|
178
|
+
size: {
|
|
179
|
+
type: globalThis.PropType<import('../../../types/Sizes').default>;
|
|
180
|
+
default: import('../../../types/Sizes').default;
|
|
181
|
+
required: false;
|
|
182
|
+
};
|
|
183
|
+
type: {
|
|
184
|
+
type: globalThis.PropType<import('../../../types/Statuses').default>;
|
|
185
|
+
default: import('../../../types/Statuses').default;
|
|
186
|
+
required: false;
|
|
187
|
+
};
|
|
188
|
+
fontSize: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
default: string;
|
|
191
|
+
required: false;
|
|
192
|
+
};
|
|
193
|
+
}>> & Readonly<{
|
|
194
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
195
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
196
|
+
click: (...args: any[]) => void;
|
|
197
|
+
}, string, {
|
|
198
|
+
size: import('../../../types/Sizes').default;
|
|
199
|
+
type: import('../../../types/Statuses').default;
|
|
200
|
+
text: string;
|
|
201
|
+
height: string;
|
|
202
|
+
margin: string;
|
|
203
|
+
padding: string;
|
|
204
|
+
width: string;
|
|
205
|
+
skin: string;
|
|
206
|
+
fontSize: string;
|
|
207
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
208
|
+
$slots: {
|
|
209
|
+
default?(_: {}): any;
|
|
210
|
+
};
|
|
211
|
+
});
|
|
212
|
+
};
|
|
213
|
+
setup(): {
|
|
214
|
+
click: () => void;
|
|
215
|
+
Notify: {
|
|
216
|
+
duration: number;
|
|
217
|
+
instance?: any | undefined;
|
|
218
|
+
showMessage: (m: string | (import('../../../helpers/Message').MessageOpts & {
|
|
219
|
+
duration: number;
|
|
220
|
+
}), t: import('../../../types/Statuses').default) => void;
|
|
221
|
+
GetDuration: () => number;
|
|
222
|
+
Dev: () => void;
|
|
223
|
+
Save: () => void;
|
|
224
|
+
type: import('../../../types/Statuses').default;
|
|
225
|
+
text: string;
|
|
226
|
+
title: string;
|
|
227
|
+
GetText: () => string;
|
|
228
|
+
GetTitle: () => string;
|
|
229
|
+
GetType: () => import('../../../types/Statuses').default;
|
|
230
|
+
Info: (m: string | import('../../../helpers/Message').MessageOpts) => void;
|
|
231
|
+
Success: (m: string | import('../../../helpers/Message').MessageOpts) => void;
|
|
232
|
+
Error: (m: string | import('../../../helpers/Message').MessageOpts) => void;
|
|
233
|
+
Warning: (m: string | import('../../../helpers/Message').MessageOpts) => void;
|
|
234
|
+
FormMessage: (errorFields: any) => string;
|
|
235
|
+
visible: boolean;
|
|
236
|
+
hide: () => void;
|
|
237
|
+
show: () => void;
|
|
238
|
+
IsVisible: () => boolean;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
template: string;
|
|
242
|
+
};
|
|
@@ -13,6 +13,10 @@ declare const _default: {
|
|
|
13
13
|
type: globalThis.PropType<string>;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
|
+
background: {
|
|
17
|
+
type: globalThis.PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
16
20
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
21
|
submit: (...args: any[]) => void;
|
|
18
22
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -28,9 +32,14 @@ declare const _default: {
|
|
|
28
32
|
type: globalThis.PropType<string>;
|
|
29
33
|
default: string;
|
|
30
34
|
};
|
|
35
|
+
background: {
|
|
36
|
+
type: globalThis.PropType<string>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
31
39
|
}>> & Readonly<{
|
|
32
40
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
33
41
|
}>, {
|
|
42
|
+
background: string;
|
|
34
43
|
margin: string;
|
|
35
44
|
padding: string;
|
|
36
45
|
width: string;
|
|
@@ -11,6 +11,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
11
11
|
type: globalThis.PropType<string>;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
+
background: {
|
|
15
|
+
type: globalThis.PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
14
18
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
19
|
submit: (...args: any[]) => void;
|
|
16
20
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -26,9 +30,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
26
30
|
type: globalThis.PropType<string>;
|
|
27
31
|
default: string;
|
|
28
32
|
};
|
|
33
|
+
background: {
|
|
34
|
+
type: globalThis.PropType<string>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
29
37
|
}>> & Readonly<{
|
|
30
38
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
31
39
|
}>, {
|
|
40
|
+
background: string;
|
|
32
41
|
margin: string;
|
|
33
42
|
padding: string;
|
|
34
43
|
width: string;
|
|
@@ -91,14 +91,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
91
91
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
92
92
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
-
closable: boolean;
|
|
95
94
|
title: string;
|
|
95
|
+
show: boolean;
|
|
96
|
+
closable: boolean;
|
|
96
97
|
top: string;
|
|
97
98
|
margin: string;
|
|
98
99
|
padding: string;
|
|
99
100
|
width: string;
|
|
100
101
|
maxHeight: string;
|
|
101
|
-
show: boolean;
|
|
102
102
|
showCloseDialog: boolean;
|
|
103
103
|
showClose: boolean;
|
|
104
104
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
package/dist/core/ui/Notify.d.ts
CHANGED
|
@@ -1,14 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MessageOpts } from '../helpers/Message';
|
|
2
2
|
import { default as Statuses } from '../types/Statuses';
|
|
3
|
-
type
|
|
3
|
+
type NotifyOpts = MessageOpts & {
|
|
4
4
|
duration: number;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
6
|
+
declare const _default: {
|
|
7
7
|
duration: number;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
instance?: any | undefined;
|
|
9
|
+
showMessage: (m: string | NotifyOpts, t: Statuses) => void;
|
|
10
|
+
GetDuration: () => number;
|
|
11
|
+
Dev: () => void;
|
|
12
|
+
Save: () => void;
|
|
13
|
+
type: Statuses;
|
|
14
|
+
text: string;
|
|
15
|
+
title: string;
|
|
16
|
+
GetText: () => string;
|
|
17
|
+
GetTitle: () => string;
|
|
18
|
+
GetType: () => Statuses;
|
|
19
|
+
Info: (m: string | MessageOpts) => void;
|
|
20
|
+
Success: (m: string | MessageOpts) => void;
|
|
21
|
+
Error: (m: string | MessageOpts) => void;
|
|
22
|
+
Warning: (m: string | MessageOpts) => void;
|
|
23
|
+
FormMessage: (errorFields: any) => string;
|
|
24
|
+
visible: boolean;
|
|
25
|
+
hide: () => void;
|
|
26
|
+
show: () => void;
|
|
27
|
+
IsVisible: () => boolean;
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
package/dist/core/ui/index.d.ts
CHANGED
|
@@ -80,27 +80,28 @@ export default abstract class UI {
|
|
|
80
80
|
};
|
|
81
81
|
static Notify: {
|
|
82
82
|
duration: number;
|
|
83
|
-
|
|
83
|
+
instance?: any | undefined;
|
|
84
|
+
showMessage: (m: string | (import('../helpers/Message').MessageOpts & {
|
|
84
85
|
duration: number;
|
|
85
|
-
}), t: import('../types/Statuses').default)
|
|
86
|
-
GetDuration()
|
|
87
|
-
Dev()
|
|
88
|
-
Save()
|
|
86
|
+
}), t: import('../types/Statuses').default) => void;
|
|
87
|
+
GetDuration: () => number;
|
|
88
|
+
Dev: () => void;
|
|
89
|
+
Save: () => void;
|
|
89
90
|
type: import('../types/Statuses').default;
|
|
90
91
|
text: string;
|
|
91
92
|
title: string;
|
|
92
|
-
GetText()
|
|
93
|
-
GetTitle()
|
|
94
|
-
GetType()
|
|
95
|
-
Info(m: string | import('../helpers/Message').MessageOpts)
|
|
96
|
-
Success(m: string | import('../helpers/Message').MessageOpts)
|
|
97
|
-
Error(m: string | import('../helpers/Message').MessageOpts)
|
|
98
|
-
Warning(m: string | import('../helpers/Message').MessageOpts)
|
|
99
|
-
FormMessage(errorFields: any)
|
|
93
|
+
GetText: () => string;
|
|
94
|
+
GetTitle: () => string;
|
|
95
|
+
GetType: () => import('../types/Statuses').default;
|
|
96
|
+
Info: (m: string | import('../helpers/Message').MessageOpts) => void;
|
|
97
|
+
Success: (m: string | import('../helpers/Message').MessageOpts) => void;
|
|
98
|
+
Error: (m: string | import('../helpers/Message').MessageOpts) => void;
|
|
99
|
+
Warning: (m: string | import('../helpers/Message').MessageOpts) => void;
|
|
100
|
+
FormMessage: (errorFields: any) => string;
|
|
100
101
|
visible: boolean;
|
|
101
|
-
hide()
|
|
102
|
-
show()
|
|
103
|
-
IsVisible()
|
|
102
|
+
hide: () => void;
|
|
103
|
+
show: () => void;
|
|
104
|
+
IsVisible: () => boolean;
|
|
104
105
|
};
|
|
105
106
|
static Btn: typeof Btn;
|
|
106
107
|
static Input: typeof Input;
|