alytus-ff 0.1.46 → 0.1.48
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/README.md +2 -2
- package/dist/App.vue.d.ts +202 -1
- package/dist/alytus-ff.js +5390 -966
- package/dist/alytus-ff.umd.cjs +1 -1
- package/dist/bundle-stats.html +1 -1
- package/dist/components/DataTable/DataTableFilters.vue.d.ts +6 -6
- package/dist/components/Form/FilesUploadControl.vue.d.ts +136 -0
- package/dist/components/Profile/ProfileEditDialog.vue.d.ts +200 -1
- package/dist/index.d.ts +5 -1
- package/dist/plugins/i18n.d.ts +3 -0
- package/dist/types/api/upload.d.ts +3 -0
- package/dist/types/components/image.d.ts +2 -0
- package/dist/types/models/fileData.d.ts +11 -0
- package/package.json +1 -1
- package/src/components/Form/FilesUploadControl.vue +224 -0
- package/src/components/Profile/ProfileEditDialog.vue +36 -24
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ docker-compose up
|
|
|
12
12
|
npm login
|
|
13
13
|
npm whoami
|
|
14
14
|
|
|
15
|
-
docker exec -it
|
|
15
|
+
docker exec -it alytusff-vue-1 npm run build
|
|
16
16
|
|
|
17
17
|
# Git commit and push
|
|
18
18
|
|
|
@@ -20,7 +20,7 @@ npm version patch # Increment patch version (1.0.0 → 1.0.1)
|
|
|
20
20
|
npm version minor # Increment minor version (1.0.0 → 1.1.0)
|
|
21
21
|
npm version major # Increment major version (1.0.0 → 2.0.0)
|
|
22
22
|
|
|
23
|
-
docker exec -it
|
|
23
|
+
docker exec -it alytusff-vue-1 npm run build
|
|
24
24
|
|
|
25
25
|
npm publish
|
|
26
26
|
|
package/dist/App.vue.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ import { IUser } from './types/User.ts';
|
|
|
2
2
|
import { LanguageAndFlag } from './types/Lang.ts';
|
|
3
3
|
import { IWorkspace } from './types/Workspace.ts';
|
|
4
4
|
import { Filter } from './types/DataTable.ts';
|
|
5
|
+
import { UploadMethodFx } from './types/api/upload.ts';
|
|
6
|
+
import { ImageCropType } from './types/components/image.ts';
|
|
7
|
+
import { FileData } from './types/models/fileData.ts';
|
|
5
8
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
6
9
|
showDialog: import('vue').Ref<boolean, boolean>;
|
|
7
10
|
showDialog2: import('vue').Ref<boolean, boolean>;
|
|
@@ -97,6 +100,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
97
100
|
}[] | undefined;
|
|
98
101
|
}>;
|
|
99
102
|
filterVal: import('vue').Ref<number, number>;
|
|
103
|
+
upload: UploadMethodFx;
|
|
100
104
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
101
105
|
ProfileEditDialog: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
102
106
|
showDialog: {
|
|
@@ -119,6 +123,14 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
119
123
|
type: import('vue').PropType<(user: IUser) => Promise<void>>;
|
|
120
124
|
required: true;
|
|
121
125
|
};
|
|
126
|
+
uploadMethod: {
|
|
127
|
+
type: import('vue').PropType<UploadMethodFx>;
|
|
128
|
+
required: true;
|
|
129
|
+
};
|
|
130
|
+
baseUrl: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
required: true;
|
|
133
|
+
};
|
|
122
134
|
}>, {
|
|
123
135
|
formData: import('vue').Ref<{
|
|
124
136
|
id: number;
|
|
@@ -152,6 +164,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
152
164
|
}[]>;
|
|
153
165
|
loading: import('vue').Ref<boolean, boolean>;
|
|
154
166
|
saveClick: () => void;
|
|
167
|
+
avatarValue: import('vue').ComputedRef<FileData | undefined>;
|
|
168
|
+
photoChanged: (a: FileData | null) => void;
|
|
155
169
|
}, {}, {}, {
|
|
156
170
|
mdiPalette(): string;
|
|
157
171
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "close"[], "close", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -175,6 +189,14 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
175
189
|
type: import('vue').PropType<(user: IUser) => Promise<void>>;
|
|
176
190
|
required: true;
|
|
177
191
|
};
|
|
192
|
+
uploadMethod: {
|
|
193
|
+
type: import('vue').PropType<UploadMethodFx>;
|
|
194
|
+
required: true;
|
|
195
|
+
};
|
|
196
|
+
baseUrl: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
required: true;
|
|
199
|
+
};
|
|
178
200
|
}>> & Readonly<{
|
|
179
201
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
180
202
|
}>, {}, {}, {
|
|
@@ -229,7 +251,55 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
229
251
|
}>> & Readonly<{}>, {
|
|
230
252
|
size: number;
|
|
231
253
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
232
|
-
FieldLabel:
|
|
254
|
+
FieldLabel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
255
|
+
label: {
|
|
256
|
+
type: StringConstructor;
|
|
257
|
+
default: null;
|
|
258
|
+
};
|
|
259
|
+
errorMessages: {
|
|
260
|
+
type: StringConstructor;
|
|
261
|
+
default: null;
|
|
262
|
+
};
|
|
263
|
+
cols: {
|
|
264
|
+
type: NumberConstructor;
|
|
265
|
+
default: number;
|
|
266
|
+
};
|
|
267
|
+
sm: {
|
|
268
|
+
type: NumberConstructor;
|
|
269
|
+
default: number;
|
|
270
|
+
};
|
|
271
|
+
disabled: {
|
|
272
|
+
type: BooleanConstructor;
|
|
273
|
+
default: boolean;
|
|
274
|
+
};
|
|
275
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
276
|
+
label: {
|
|
277
|
+
type: StringConstructor;
|
|
278
|
+
default: null;
|
|
279
|
+
};
|
|
280
|
+
errorMessages: {
|
|
281
|
+
type: StringConstructor;
|
|
282
|
+
default: null;
|
|
283
|
+
};
|
|
284
|
+
cols: {
|
|
285
|
+
type: NumberConstructor;
|
|
286
|
+
default: number;
|
|
287
|
+
};
|
|
288
|
+
sm: {
|
|
289
|
+
type: NumberConstructor;
|
|
290
|
+
default: number;
|
|
291
|
+
};
|
|
292
|
+
disabled: {
|
|
293
|
+
type: BooleanConstructor;
|
|
294
|
+
default: boolean;
|
|
295
|
+
};
|
|
296
|
+
}>> & Readonly<{}>, {
|
|
297
|
+
label: string;
|
|
298
|
+
disabled: boolean;
|
|
299
|
+
sm: number;
|
|
300
|
+
errorMessages: string;
|
|
301
|
+
cols: number;
|
|
302
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
233
303
|
CustomDialog: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
234
304
|
value: {
|
|
235
305
|
type: BooleanConstructor;
|
|
@@ -289,6 +359,137 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
289
359
|
noFullScreen: boolean;
|
|
290
360
|
fullHeight: boolean;
|
|
291
361
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
362
|
+
FilesUploadControl: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
363
|
+
modelValue: {
|
|
364
|
+
type: import('vue').PropType<FileData>;
|
|
365
|
+
default: null;
|
|
366
|
+
};
|
|
367
|
+
controlType: {
|
|
368
|
+
type: import('vue').PropType<"files" | "image">;
|
|
369
|
+
default: string;
|
|
370
|
+
};
|
|
371
|
+
uploadMethod: {
|
|
372
|
+
type: import('vue').PropType<UploadMethodFx>;
|
|
373
|
+
required: true;
|
|
374
|
+
};
|
|
375
|
+
shape: {
|
|
376
|
+
type: import('vue').PropType<import('./index.ts').ImageShape>;
|
|
377
|
+
default: string;
|
|
378
|
+
};
|
|
379
|
+
cropType: {
|
|
380
|
+
type: import('vue').PropType<ImageCropType>;
|
|
381
|
+
default: string;
|
|
382
|
+
};
|
|
383
|
+
bucket: {
|
|
384
|
+
type: import('vue').PropType<"workspace" | "avatar">;
|
|
385
|
+
default: string;
|
|
386
|
+
};
|
|
387
|
+
noSlideshow: {
|
|
388
|
+
type: BooleanConstructor;
|
|
389
|
+
default: boolean;
|
|
390
|
+
};
|
|
391
|
+
disabled: {
|
|
392
|
+
type: BooleanConstructor;
|
|
393
|
+
default: boolean;
|
|
394
|
+
};
|
|
395
|
+
workspaceIds: {
|
|
396
|
+
type: import('vue').PropType<Number[]>;
|
|
397
|
+
required: true;
|
|
398
|
+
};
|
|
399
|
+
baseUrl: {
|
|
400
|
+
type: StringConstructor;
|
|
401
|
+
required: true;
|
|
402
|
+
};
|
|
403
|
+
}>, {
|
|
404
|
+
dndOver: import('vue').Ref<boolean, boolean>;
|
|
405
|
+
controlId: import('vue').Ref<number, number>;
|
|
406
|
+
uploadedFile: import('vue').Ref<{
|
|
407
|
+
id?: (number | null) | undefined;
|
|
408
|
+
temp_id?: (string | null) | undefined;
|
|
409
|
+
name: string;
|
|
410
|
+
file: string | null;
|
|
411
|
+
file_id: string | null;
|
|
412
|
+
thumb: string | null;
|
|
413
|
+
thumb_id: string | null;
|
|
414
|
+
content_type: string;
|
|
415
|
+
size: number;
|
|
416
|
+
} | null, FileData | {
|
|
417
|
+
id?: (number | null) | undefined;
|
|
418
|
+
temp_id?: (string | null) | undefined;
|
|
419
|
+
name: string;
|
|
420
|
+
file: string | null;
|
|
421
|
+
file_id: string | null;
|
|
422
|
+
thumb: string | null;
|
|
423
|
+
thumb_id: string | null;
|
|
424
|
+
content_type: string;
|
|
425
|
+
size: number;
|
|
426
|
+
} | null>;
|
|
427
|
+
previewUrl: import('vue').ComputedRef<string>;
|
|
428
|
+
workspaceId: import('vue').ComputedRef<Number>;
|
|
429
|
+
uploadRunning: import('vue').Ref<boolean, boolean>;
|
|
430
|
+
uploadDragover: () => void;
|
|
431
|
+
uploadDragleave: () => void;
|
|
432
|
+
uploadDrop: (e: DragEvent) => void;
|
|
433
|
+
uploadChange: (e: Event) => void;
|
|
434
|
+
openSlideshow: () => void;
|
|
435
|
+
removeImage: () => void;
|
|
436
|
+
}, {}, {}, {
|
|
437
|
+
mdiEye(): string;
|
|
438
|
+
mdiDelete(): string;
|
|
439
|
+
mdiUpload(): string;
|
|
440
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "slideshow")[], "update:modelValue" | "slideshow", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
441
|
+
modelValue: {
|
|
442
|
+
type: import('vue').PropType<FileData>;
|
|
443
|
+
default: null;
|
|
444
|
+
};
|
|
445
|
+
controlType: {
|
|
446
|
+
type: import('vue').PropType<"files" | "image">;
|
|
447
|
+
default: string;
|
|
448
|
+
};
|
|
449
|
+
uploadMethod: {
|
|
450
|
+
type: import('vue').PropType<UploadMethodFx>;
|
|
451
|
+
required: true;
|
|
452
|
+
};
|
|
453
|
+
shape: {
|
|
454
|
+
type: import('vue').PropType<import('./index.ts').ImageShape>;
|
|
455
|
+
default: string;
|
|
456
|
+
};
|
|
457
|
+
cropType: {
|
|
458
|
+
type: import('vue').PropType<ImageCropType>;
|
|
459
|
+
default: string;
|
|
460
|
+
};
|
|
461
|
+
bucket: {
|
|
462
|
+
type: import('vue').PropType<"workspace" | "avatar">;
|
|
463
|
+
default: string;
|
|
464
|
+
};
|
|
465
|
+
noSlideshow: {
|
|
466
|
+
type: BooleanConstructor;
|
|
467
|
+
default: boolean;
|
|
468
|
+
};
|
|
469
|
+
disabled: {
|
|
470
|
+
type: BooleanConstructor;
|
|
471
|
+
default: boolean;
|
|
472
|
+
};
|
|
473
|
+
workspaceIds: {
|
|
474
|
+
type: import('vue').PropType<Number[]>;
|
|
475
|
+
required: true;
|
|
476
|
+
};
|
|
477
|
+
baseUrl: {
|
|
478
|
+
type: StringConstructor;
|
|
479
|
+
required: true;
|
|
480
|
+
};
|
|
481
|
+
}>> & Readonly<{
|
|
482
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
483
|
+
onSlideshow?: ((...args: any[]) => any) | undefined;
|
|
484
|
+
}>, {
|
|
485
|
+
disabled: boolean;
|
|
486
|
+
modelValue: FileData;
|
|
487
|
+
controlType: "image" | "files";
|
|
488
|
+
shape: import('./index.ts').ImageShape;
|
|
489
|
+
cropType: ImageCropType;
|
|
490
|
+
bucket: "avatar" | "workspace";
|
|
491
|
+
noSlideshow: boolean;
|
|
492
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
292
493
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
293
494
|
ProfileInfo: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
294
495
|
currentUser: {
|