sprof 0.0.138 → 0.0.140
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/auth/Auth.d.ts +8 -8
- package/dist/core/classes/SearchModel.d.ts +1 -1
- package/dist/core/classes/index.d.ts +0 -2
- package/dist/core/components/atoms/PButton/PButton.stories.d.ts +2 -2
- package/dist/core/components/atoms/PButton/PButton.vue.d.ts +2 -2
- package/dist/core/components/index.d.ts +3 -4
- package/dist/core/components/organisms/PModal.vue.d.ts +1 -1
- package/dist/core/components/{SingleNameToggleForm.vue.d.ts → organisms/PNameEdit/PNameEdit.vue.d.ts} +1 -1
- package/dist/core/components/organisms/PTabs/PTabs.stories.d.ts +72 -0
- package/dist/core/components/organisms/PTabs/PTabs.vue.d.ts +22 -0
- package/dist/core/components/organisms/PUploaderImage/Cropper.d.ts +37 -0
- package/dist/core/components/{ImageCropper.vue.d.ts → organisms/PUploaderImage/ImageCropper.vue.d.ts} +12 -10
- package/dist/core/components/organisms/PUploaderImage/PUploaderImage.stories.d.ts +159 -0
- package/dist/core/components/{UploaderImage.vue.d.ts → organisms/PUploaderImage/PUploaderImage.vue.d.ts} +9 -23
- package/dist/core/components/organisms/PUploaderImage/UploaderImage/IconUploaderChange.stories.d.ts +93 -0
- package/dist/core/components/organisms/PUploaderImage/UploaderImage/IconUploaderChange.vue.d.ts +34 -0
- package/dist/core/components/organisms/PUploaderImage/UploaderImage/IconUploaderDel.stories.d.ts +93 -0
- package/dist/core/components/organisms/PUploaderImage/UploaderImage/IconUploaderDel.vue.d.ts +34 -0
- package/dist/core/components/organisms/PUploaderImage/UploaderImage/IconUploaderPlus.stories.d.ts +93 -0
- package/dist/core/components/organisms/PUploaderImage/UploaderImage/IconUploaderPlus.vue.d.ts +34 -0
- package/dist/core/ftsp/Cursor.d.ts +1 -1
- package/dist/core/ftsp/FilterModel.d.ts +2 -2
- package/dist/core/ftsp/OperatorsOptions.d.ts +1 -1
- package/dist/core/ftsp/OperatorsTextOptions.d.ts +1 -1
- package/dist/core/ftsp/SortModel.d.ts +1 -1
- package/dist/core/helpers/CreateSortModels.d.ts +1 -1
- package/dist/core/helpers/Message.d.ts +1 -1
- package/dist/core/index.d.ts +10 -8
- package/dist/core/interfaces/ICursor.d.ts +1 -1
- package/dist/core/interfaces/ISortModel.d.ts +1 -1
- package/dist/core/interfaces/Sort.d.ts +1 -1
- package/dist/core/store/SearchStore.d.ts +1 -1
- package/dist/core/store/index.d.ts +1 -7
- package/dist/core/{interfaces → types}/DataTypes.d.ts +2 -1
- package/dist/core/{interfaces → types}/Operators.d.ts +2 -1
- package/dist/core/types/Orders.d.ts +2 -1
- package/dist/core/types/Sizes.d.ts +2 -1
- package/dist/core/types/Statuses.d.ts +2 -1
- package/dist/core/types/index.d.ts +14 -4
- package/dist/core/ui/AdminUI.d.ts +1 -1
- package/dist/core/ui/Btn.d.ts +1 -1
- package/dist/core/ui/Notify.d.ts +1 -1
- package/dist/core/ui/index.d.ts +7 -7
- package/dist/modules/chats/classes/Chat.d.ts +12 -0
- package/dist/modules/chats/classes/ChatMessage.d.ts +14 -0
- package/dist/modules/chats/classes/index.d.ts +2 -0
- package/dist/modules/chats/index.d.ts +3 -0
- package/dist/modules/chats/store/ChatMessagesStore.d.ts +7 -0
- package/dist/modules/chats/store/ChatsStore.d.ts +7 -0
- package/dist/modules/chats/store/index.d.ts +2 -0
- package/dist/modules/chats/types/ChatMessageTypes.d.ts +9 -0
- package/dist/modules/chats/types/index.d.ts +4 -0
- package/dist/modules/forms/components/FormPageSections.vue.d.ts +24 -0
- package/dist/modules/forms/components/index.d.ts +6 -0
- package/dist/sprof.js +4773 -4686
- package/dist/sprof.umd.cjs +12 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/core/classes/Cropper.d.ts +0 -8
- package/dist/core/store/CropperStore.d.ts +0 -9
- /package/dist/core/{interfaces → types}/RoleName.d.ts +0 -0
package/dist/core/auth/Auth.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ declare class Auth<UserT> {
|
|
|
26
26
|
chunk: import('.').AuthChunks;
|
|
27
27
|
isLink: boolean;
|
|
28
28
|
GetChunk: () => import('.').AuthChunks;
|
|
29
|
-
type?: import('../types').
|
|
29
|
+
type?: import('../types/Statuses').default | undefined;
|
|
30
30
|
condition?: boolean | undefined;
|
|
31
31
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
32
32
|
disabled: boolean;
|
|
@@ -37,7 +37,7 @@ declare class Auth<UserT> {
|
|
|
37
37
|
chunk: import('.').AuthChunks;
|
|
38
38
|
isLink: boolean;
|
|
39
39
|
GetChunk: () => import('.').AuthChunks;
|
|
40
|
-
type?: import('../types').
|
|
40
|
+
type?: import('../types/Statuses').default | undefined;
|
|
41
41
|
condition?: boolean | undefined;
|
|
42
42
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
43
43
|
disabled: boolean;
|
|
@@ -48,7 +48,7 @@ declare class Auth<UserT> {
|
|
|
48
48
|
chunk: import('.').AuthChunks;
|
|
49
49
|
isLink: boolean;
|
|
50
50
|
GetChunk: () => import('.').AuthChunks;
|
|
51
|
-
type?: import('../types').
|
|
51
|
+
type?: import('../types/Statuses').default | undefined;
|
|
52
52
|
condition?: boolean | undefined;
|
|
53
53
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
54
54
|
disabled: boolean;
|
|
@@ -94,7 +94,7 @@ declare class Auth<UserT> {
|
|
|
94
94
|
chunk: import('.').AuthChunks;
|
|
95
95
|
isLink: boolean;
|
|
96
96
|
GetChunk: () => import('.').AuthChunks;
|
|
97
|
-
type?: import('../types').
|
|
97
|
+
type?: import('../types/Statuses').default | undefined;
|
|
98
98
|
condition?: boolean | undefined;
|
|
99
99
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
100
100
|
disabled: boolean;
|
|
@@ -105,7 +105,7 @@ declare class Auth<UserT> {
|
|
|
105
105
|
chunk: import('.').AuthChunks;
|
|
106
106
|
isLink: boolean;
|
|
107
107
|
GetChunk: () => import('.').AuthChunks;
|
|
108
|
-
type?: import('../types').
|
|
108
|
+
type?: import('../types/Statuses').default | undefined;
|
|
109
109
|
condition?: boolean | undefined;
|
|
110
110
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
111
111
|
disabled: boolean;
|
|
@@ -116,7 +116,7 @@ declare class Auth<UserT> {
|
|
|
116
116
|
chunk: import('.').AuthChunks;
|
|
117
117
|
isLink: boolean;
|
|
118
118
|
GetChunk: () => import('.').AuthChunks;
|
|
119
|
-
type?: import('../types').
|
|
119
|
+
type?: import('../types/Statuses').default | undefined;
|
|
120
120
|
condition?: boolean | undefined;
|
|
121
121
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
122
122
|
disabled: boolean;
|
|
@@ -177,7 +177,7 @@ declare class Auth<UserT> {
|
|
|
177
177
|
chunk: import('.').AuthChunks;
|
|
178
178
|
isLink: boolean;
|
|
179
179
|
GetChunk: () => import('.').AuthChunks;
|
|
180
|
-
type?: import('../types').
|
|
180
|
+
type?: import('../types/Statuses').default | undefined;
|
|
181
181
|
condition?: boolean | undefined;
|
|
182
182
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
183
183
|
disabled: boolean;
|
|
@@ -210,7 +210,7 @@ declare class Auth<UserT> {
|
|
|
210
210
|
chunk: import('.').AuthChunks;
|
|
211
211
|
isLink: boolean;
|
|
212
212
|
GetChunk: () => import('.').AuthChunks;
|
|
213
|
-
type?: import('../types').
|
|
213
|
+
type?: import('../types/Statuses').default | undefined;
|
|
214
214
|
condition?: boolean | undefined;
|
|
215
215
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
216
216
|
disabled: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as Pagination } from '../ftsp/Pagination';
|
|
2
1
|
import { default as SearchElement } from './SearchElement';
|
|
3
2
|
import { default as SearchGroup } from './SearchGroup';
|
|
3
|
+
import { default as Pagination } from '../ftsp/Pagination';
|
|
4
4
|
import { default as ISearchObject } from '../interfaces/ISearchObject';
|
|
5
5
|
export default class SearchModel {
|
|
6
6
|
query: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as Cropper } from './Cropper';
|
|
2
1
|
import { default as Email } from './Email';
|
|
3
2
|
import { default as FileInfo } from './FileInfo';
|
|
4
3
|
import { default as Human } from './Human';
|
|
@@ -12,5 +11,4 @@ export default abstract class C {
|
|
|
12
11
|
static Website: typeof Website;
|
|
13
12
|
static Email: typeof Email;
|
|
14
13
|
static Human: typeof Human;
|
|
15
|
-
static Cropper: typeof Cropper;
|
|
16
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
import { Sizes } from '../../../types/Sizes';
|
|
3
|
-
import { Statuses } from '../../../types/Statuses';
|
|
2
|
+
import { default as Sizes } from '../../../types/Sizes';
|
|
3
|
+
import { default as Statuses } from '../../../types/Statuses';
|
|
4
4
|
declare const _default: Meta<{
|
|
5
5
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
6
6
|
text: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Sizes } from '../../../types/Sizes';
|
|
2
|
-
import { Statuses } from '../../../types/Statuses';
|
|
1
|
+
import { default as Sizes } from '../../../types/Sizes';
|
|
2
|
+
import { default as Statuses } from '../../../types/Statuses';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
4
|
text: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -47,7 +47,6 @@ import { default as ArrowRight } from './Icons/Pagination/ArrowRight.vue';
|
|
|
47
47
|
import { default as DoubleArrowLeft } from './Icons/Pagination/DoubleArrowLeft.vue';
|
|
48
48
|
import { default as DoubleArrowRight } from './Icons/Pagination/DoubleArrowRight.vue';
|
|
49
49
|
import { default as EllipsisSvg } from './Icons/Pagination/EllipsisSvg.vue';
|
|
50
|
-
import { default as ImageCropper } from './ImageCropper.vue';
|
|
51
50
|
import { default as InfoItem } from './InfoItem.vue';
|
|
52
51
|
import { default as InfoItemSelectButtons } from './InfoItemSelectButtons.vue';
|
|
53
52
|
import { default as LeftRightContainer } from './LeftRightContainer.vue';
|
|
@@ -61,7 +60,9 @@ import { default as PContainerStickyHead } from './molecules/PAdd/PContainerStic
|
|
|
61
60
|
import { default as PDel } from './molecules/PDel/PDel.vue';
|
|
62
61
|
import { default as AuthForm } from './organisms/AuthForm/AuthForm.vue';
|
|
63
62
|
import { default as PModal } from './organisms/PModal.vue';
|
|
63
|
+
import { default as PNameEdit } from './organisms/PNameEdit/PNameEdit.vue';
|
|
64
64
|
import { default as PTabs } from './organisms/PTabs/PTabs.vue';
|
|
65
|
+
import { default as PUploaderImage } from './organisms/PUploaderImage/PUploaderImage.vue';
|
|
65
66
|
import { default as UploaderFile } from './organisms/UploaderFile/UploaderFile.vue';
|
|
66
67
|
import { default as PageNotFound } from './pages/PageNotFound.vue';
|
|
67
68
|
import { default as PAutocomplete } from './PAutocomplete.vue';
|
|
@@ -75,17 +76,15 @@ import { default as ResearcheContainer } from './ResearcheContainer.vue';
|
|
|
75
76
|
import { default as RightSliderContainer } from './RightSliderContainer.vue';
|
|
76
77
|
import { default as RightTabsContainer } from './RightTabsContainer.vue';
|
|
77
78
|
import { default as SelectValueType } from './SelectValueType.vue';
|
|
78
|
-
import { default as SingleNameToggleForm } from './SingleNameToggleForm.vue';
|
|
79
79
|
import { default as SortList } from './SortList.vue';
|
|
80
80
|
import { default as SortSelect } from './SortSelect.vue';
|
|
81
81
|
import { default as Switch3Pos } from './Switch3Pos.vue';
|
|
82
82
|
import { default as ThemeWrapper } from './ThemeWrapper.vue';
|
|
83
83
|
import { default as ToggleInfoItem } from './ToggleInfoItem.vue';
|
|
84
84
|
import { default as TopSliderContainer } from './TopSliderContainer.vue';
|
|
85
|
-
import { default as UploaderImage } from './UploaderImage.vue';
|
|
86
85
|
declare const servicesComponents: {
|
|
87
86
|
install: (app: {
|
|
88
87
|
component: (a: string, b: unknown) => void;
|
|
89
88
|
}) => void;
|
|
90
89
|
};
|
|
91
|
-
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,
|
|
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, PNotification, 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, };
|
|
@@ -99,8 +99,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
99
99
|
width: string;
|
|
100
100
|
maxHeight: string;
|
|
101
101
|
show: boolean;
|
|
102
|
-
showClose: boolean;
|
|
103
102
|
showCloseDialog: boolean;
|
|
103
|
+
showClose: boolean;
|
|
104
104
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
105
105
|
default?(_: {}): any;
|
|
106
106
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { default as IWithName } from '
|
|
2
|
+
import { default as IWithName } from '../../../interfaces/IWithName';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
4
|
withName: {
|
|
5
5
|
type: PropType<IWithName>;
|
|
@@ -32,6 +32,16 @@ declare const _default: {
|
|
|
32
32
|
required: false;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
|
+
margin: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: false;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
borderRadius: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
required: false;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
35
45
|
}>> & Readonly<{
|
|
36
46
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
37
47
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -39,6 +49,8 @@ declare const _default: {
|
|
|
39
49
|
}, import('vue').PublicProps, {
|
|
40
50
|
background: string;
|
|
41
51
|
height: string;
|
|
52
|
+
margin: string;
|
|
53
|
+
borderRadius: string;
|
|
42
54
|
tabHeight: string;
|
|
43
55
|
minMenuItemWidth: string;
|
|
44
56
|
outTopMargin: string;
|
|
@@ -81,11 +93,23 @@ declare const _default: {
|
|
|
81
93
|
required: false;
|
|
82
94
|
default: string;
|
|
83
95
|
};
|
|
96
|
+
margin: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
required: false;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
borderRadius: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
required: false;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
84
106
|
}>> & Readonly<{
|
|
85
107
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
86
108
|
}>, {}, {}, {}, {}, {
|
|
87
109
|
background: string;
|
|
88
110
|
height: string;
|
|
111
|
+
margin: string;
|
|
112
|
+
borderRadius: string;
|
|
89
113
|
tabHeight: string;
|
|
90
114
|
minMenuItemWidth: string;
|
|
91
115
|
outTopMargin: string;
|
|
@@ -123,6 +147,16 @@ declare const _default: {
|
|
|
123
147
|
required: false;
|
|
124
148
|
default: string;
|
|
125
149
|
};
|
|
150
|
+
margin: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
required: false;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
borderRadius: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
required: false;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
126
160
|
}>> & Readonly<{
|
|
127
161
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
128
162
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -130,6 +164,8 @@ declare const _default: {
|
|
|
130
164
|
}, string, {
|
|
131
165
|
background: string;
|
|
132
166
|
height: string;
|
|
167
|
+
margin: string;
|
|
168
|
+
borderRadius: string;
|
|
133
169
|
tabHeight: string;
|
|
134
170
|
minMenuItemWidth: string;
|
|
135
171
|
outTopMargin: string;
|
|
@@ -209,6 +245,16 @@ export declare const Default: StoryFn<{
|
|
|
209
245
|
required: false;
|
|
210
246
|
default: string;
|
|
211
247
|
};
|
|
248
|
+
margin: {
|
|
249
|
+
type: StringConstructor;
|
|
250
|
+
required: false;
|
|
251
|
+
default: string;
|
|
252
|
+
};
|
|
253
|
+
borderRadius: {
|
|
254
|
+
type: StringConstructor;
|
|
255
|
+
required: false;
|
|
256
|
+
default: string;
|
|
257
|
+
};
|
|
212
258
|
}>> & Readonly<{
|
|
213
259
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
214
260
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -216,6 +262,8 @@ export declare const Default: StoryFn<{
|
|
|
216
262
|
}, import('vue').PublicProps, {
|
|
217
263
|
background: string;
|
|
218
264
|
height: string;
|
|
265
|
+
margin: string;
|
|
266
|
+
borderRadius: string;
|
|
219
267
|
tabHeight: string;
|
|
220
268
|
minMenuItemWidth: string;
|
|
221
269
|
outTopMargin: string;
|
|
@@ -258,11 +306,23 @@ export declare const Default: StoryFn<{
|
|
|
258
306
|
required: false;
|
|
259
307
|
default: string;
|
|
260
308
|
};
|
|
309
|
+
margin: {
|
|
310
|
+
type: StringConstructor;
|
|
311
|
+
required: false;
|
|
312
|
+
default: string;
|
|
313
|
+
};
|
|
314
|
+
borderRadius: {
|
|
315
|
+
type: StringConstructor;
|
|
316
|
+
required: false;
|
|
317
|
+
default: string;
|
|
318
|
+
};
|
|
261
319
|
}>> & Readonly<{
|
|
262
320
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
263
321
|
}>, {}, {}, {}, {}, {
|
|
264
322
|
background: string;
|
|
265
323
|
height: string;
|
|
324
|
+
margin: string;
|
|
325
|
+
borderRadius: string;
|
|
266
326
|
tabHeight: string;
|
|
267
327
|
minMenuItemWidth: string;
|
|
268
328
|
outTopMargin: string;
|
|
@@ -300,6 +360,16 @@ export declare const Default: StoryFn<{
|
|
|
300
360
|
required: false;
|
|
301
361
|
default: string;
|
|
302
362
|
};
|
|
363
|
+
margin: {
|
|
364
|
+
type: StringConstructor;
|
|
365
|
+
required: false;
|
|
366
|
+
default: string;
|
|
367
|
+
};
|
|
368
|
+
borderRadius: {
|
|
369
|
+
type: StringConstructor;
|
|
370
|
+
required: false;
|
|
371
|
+
default: string;
|
|
372
|
+
};
|
|
303
373
|
}>> & Readonly<{
|
|
304
374
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
305
375
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -307,6 +377,8 @@ export declare const Default: StoryFn<{
|
|
|
307
377
|
}, string, {
|
|
308
378
|
background: string;
|
|
309
379
|
height: string;
|
|
380
|
+
margin: string;
|
|
381
|
+
borderRadius: string;
|
|
310
382
|
tabHeight: string;
|
|
311
383
|
minMenuItemWidth: string;
|
|
312
384
|
outTopMargin: string;
|
|
@@ -29,6 +29,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
29
29
|
required: false;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
|
+
margin: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
required: false;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
borderRadius: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
32
42
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
43
|
select: (...args: any[]) => void;
|
|
34
44
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -61,11 +71,23 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
61
71
|
required: false;
|
|
62
72
|
default: string;
|
|
63
73
|
};
|
|
74
|
+
margin: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
required: false;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
borderRadius: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
required: false;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
64
84
|
}>> & Readonly<{
|
|
65
85
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
66
86
|
}>, {
|
|
67
87
|
background: string;
|
|
68
88
|
height: string;
|
|
89
|
+
margin: string;
|
|
90
|
+
borderRadius: string;
|
|
69
91
|
tabHeight: string;
|
|
70
92
|
minMenuItemWidth: string;
|
|
71
93
|
outTopMargin: string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { default as ICoordinates } from '../../../interfaces/canvas/ICoordinates';
|
|
2
|
+
export default class Cropper {
|
|
3
|
+
id?: string;
|
|
4
|
+
ratio: number;
|
|
5
|
+
src: string;
|
|
6
|
+
coordinates: ICoordinates;
|
|
7
|
+
setCoordinates(coordinates: ICoordinates): void;
|
|
8
|
+
getCoordinates(): ICoordinates;
|
|
9
|
+
/**
|
|
10
|
+
* Создание нового экземпляра Cropper с указанными параметрами.
|
|
11
|
+
* @param src - Путь к исходному изображению.
|
|
12
|
+
* @param ratio - Соотношение сторон.
|
|
13
|
+
* @param id - Идентификатор (необязательно).
|
|
14
|
+
* @returns Новый объект Cropper.
|
|
15
|
+
*/
|
|
16
|
+
static Create(src: string, ratio?: number, id?: string): Cropper;
|
|
17
|
+
/**
|
|
18
|
+
* Установка соотношения сторон для текущего Cropper.
|
|
19
|
+
* @param ratio - Новое соотношение сторон.
|
|
20
|
+
*/
|
|
21
|
+
setRatio(ratio: number): void;
|
|
22
|
+
/**
|
|
23
|
+
* Получение текущего соотношения сторон.
|
|
24
|
+
* @returns Значение ratio.
|
|
25
|
+
*/
|
|
26
|
+
getRatio(): number;
|
|
27
|
+
/**
|
|
28
|
+
* Установка пути к изображению.
|
|
29
|
+
* @param src - Новый путь к изображению.
|
|
30
|
+
*/
|
|
31
|
+
setSrc(src: string): void;
|
|
32
|
+
/**
|
|
33
|
+
* Получение пути к изображению.
|
|
34
|
+
* @returns Значение src.
|
|
35
|
+
*/
|
|
36
|
+
getSrc(): string;
|
|
37
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
-
|
|
3
|
-
type:
|
|
2
|
+
src: {
|
|
3
|
+
type: StringConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
ratio: {
|
|
7
7
|
type: NumberConstructor;
|
|
8
8
|
required: false;
|
|
9
9
|
default: number;
|
|
@@ -11,12 +11,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
11
11
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
close: (...args: any[]) => void;
|
|
13
13
|
crop: (...args: any[]) => void;
|
|
14
|
+
"update:ratio": (...args: any[]) => void;
|
|
14
15
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
|
-
|
|
16
|
-
type:
|
|
16
|
+
src: {
|
|
17
|
+
type: StringConstructor;
|
|
17
18
|
required: true;
|
|
18
19
|
};
|
|
19
|
-
|
|
20
|
+
ratio: {
|
|
20
21
|
type: NumberConstructor;
|
|
21
22
|
required: false;
|
|
22
23
|
default: number;
|
|
@@ -24,8 +25,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
24
25
|
}>> & Readonly<{
|
|
25
26
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
26
27
|
onCrop?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
"onUpdate:ratio"?: ((...args: any[]) => any) | undefined;
|
|
27
29
|
}>, {
|
|
28
|
-
|
|
30
|
+
ratio: number;
|
|
29
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
30
32
|
cropperRef: ({
|
|
31
33
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -80,7 +82,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
80
82
|
$forceUpdate: () => void;
|
|
81
83
|
$nextTick: typeof import('vue').nextTick;
|
|
82
84
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
83
|
-
} & Readonly<{}> & Omit<Readonly<any>, "refresh" | "reset" | "move" | "
|
|
85
|
+
} & Readonly<{}> & Omit<Readonly<any>, "refresh" | "reset" | "move" | "rotate" | "setCoordinates" | "getResult" | "zoom" | "flip"> & import('vue').ShallowUnwrapRef<{
|
|
84
86
|
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
85
87
|
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
86
88
|
refresh: () => void;
|
|
@@ -146,7 +148,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
146
148
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
147
149
|
} & Readonly<{
|
|
148
150
|
[x: string]: any;
|
|
149
|
-
}> & Omit<Readonly<any>, "refresh" | "reset" | "move" | "
|
|
151
|
+
}> & Omit<Readonly<any>, "refresh" | "reset" | "move" | "rotate" | "setCoordinates" | "getResult" | "zoom" | "flip"> & import('vue').ShallowUnwrapRef<{
|
|
150
152
|
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
151
153
|
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
152
154
|
refresh: () => void;
|
|
@@ -158,5 +160,5 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
158
160
|
}> & {
|
|
159
161
|
[x: string]: never;
|
|
160
162
|
} & import('vue').MethodOptions & import('vue').ComponentCustomProperties & {}) | null;
|
|
161
|
-
},
|
|
163
|
+
}, HTMLDivElement>;
|
|
162
164
|
export default _default;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { default as FileInfo } from '../../../classes/FileInfo';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
5
|
+
withCrop: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
fileInfo: {
|
|
10
|
+
type: typeof FileInfo;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
height: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
emitCrop: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
ratio: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
crop: (...args: any[]) => void;
|
|
28
|
+
removeFile: (...args: any[]) => void;
|
|
29
|
+
"update:ratio": (...args: any[]) => void;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
31
|
+
withCrop: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
fileInfo: {
|
|
36
|
+
type: typeof FileInfo;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
height: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
emitCrop: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
ratio: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
required: false;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{
|
|
53
|
+
onCrop?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
onRemoveFile?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
"onUpdate:ratio"?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
ratio: number;
|
|
58
|
+
height: number;
|
|
59
|
+
withCrop: boolean;
|
|
60
|
+
emitCrop: boolean;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
62
|
+
uploader: HTMLInputElement;
|
|
63
|
+
}, any>;
|
|
64
|
+
tags: string[];
|
|
65
|
+
parameters: {
|
|
66
|
+
docs: {
|
|
67
|
+
description: {
|
|
68
|
+
component: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
story: {
|
|
72
|
+
height: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
argTypes: {
|
|
76
|
+
ratio: {
|
|
77
|
+
control: {
|
|
78
|
+
type: string;
|
|
79
|
+
options: number[];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
export default _default;
|
|
85
|
+
export declare const Default: {
|
|
86
|
+
(args: any): {
|
|
87
|
+
components: {
|
|
88
|
+
PUploaderImage: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
89
|
+
withCrop: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
fileInfo: {
|
|
94
|
+
type: typeof FileInfo;
|
|
95
|
+
required: true;
|
|
96
|
+
};
|
|
97
|
+
height: {
|
|
98
|
+
type: NumberConstructor;
|
|
99
|
+
default: number;
|
|
100
|
+
};
|
|
101
|
+
emitCrop: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
ratio: {
|
|
106
|
+
type: NumberConstructor;
|
|
107
|
+
required: false;
|
|
108
|
+
default: number;
|
|
109
|
+
};
|
|
110
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
111
|
+
crop: (...args: any[]) => void;
|
|
112
|
+
removeFile: (...args: any[]) => void;
|
|
113
|
+
"update:ratio": (...args: any[]) => void;
|
|
114
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
115
|
+
withCrop: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
fileInfo: {
|
|
120
|
+
type: typeof FileInfo;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
height: {
|
|
124
|
+
type: NumberConstructor;
|
|
125
|
+
default: number;
|
|
126
|
+
};
|
|
127
|
+
emitCrop: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
ratio: {
|
|
132
|
+
type: NumberConstructor;
|
|
133
|
+
required: false;
|
|
134
|
+
default: number;
|
|
135
|
+
};
|
|
136
|
+
}>> & Readonly<{
|
|
137
|
+
onCrop?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
onRemoveFile?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
"onUpdate:ratio"?: ((...args: any[]) => any) | undefined;
|
|
140
|
+
}>, {
|
|
141
|
+
ratio: number;
|
|
142
|
+
height: number;
|
|
143
|
+
withCrop: boolean;
|
|
144
|
+
emitCrop: boolean;
|
|
145
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
146
|
+
uploader: HTMLInputElement;
|
|
147
|
+
}, any>;
|
|
148
|
+
};
|
|
149
|
+
setup(): {
|
|
150
|
+
args: any;
|
|
151
|
+
imageRatio: globalThis.Ref<any, any>;
|
|
152
|
+
};
|
|
153
|
+
template: string;
|
|
154
|
+
};
|
|
155
|
+
args: {
|
|
156
|
+
fileInfo: FileInfo;
|
|
157
|
+
ratio: number;
|
|
158
|
+
};
|
|
159
|
+
};
|