sk-front-lib 0.15.11 → 0.16.2
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/package.json +1 -65
- package/api/model/api-config.d.ts +0 -6
- package/api/model/api-pageable-param.d.ts +0 -11
- package/api/model/api-pageable.d.ts +0 -11
- package/api/model/api-response.d.ts +0 -8
- package/api/model/index.d.ts +0 -4
- package/api/package.json +0 -10
- package/api/public_api.d.ts +0 -3
- package/api/sk-api.module.d.ts +0 -12
- package/api/sk-api.service.d.ts +0 -34
- package/api/sk-front-lib-api.d.ts +0 -5
- package/article/package.json +0 -10
- package/article/public_api.d.ts +0 -6
- package/article/sk-article-editor-server.component.d.ts +0 -23
- package/article/sk-article-editor.component.d.ts +0 -27
- package/article/sk-article-server.module.d.ts +0 -10
- package/article/sk-article.module.d.ts +0 -9
- package/article/sk-article.service.d.ts +0 -96
- package/article/sk-froala-editor.directive.d.ts +0 -40
- package/article/sk-front-lib-article.d.ts +0 -5
- package/crud/package.json +0 -10
- package/crud/public_api.d.ts +0 -23
- package/crud/sk-account.service.d.ts +0 -16
- package/crud/sk-auth-admin.guard.d.ts +0 -13
- package/crud/sk-auth.guard.d.ts +0 -13
- package/crud/sk-auth.service.d.ts +0 -33
- package/crud/sk-board.service.d.ts +0 -21
- package/crud/sk-brand.service.d.ts +0 -19
- package/crud/sk-cart.service.d.ts +0 -72
- package/crud/sk-category.service.d.ts +0 -28
- package/crud/sk-comment.service.d.ts +0 -15
- package/crud/sk-config.service.d.ts +0 -13
- package/crud/sk-contact.service.d.ts +0 -15
- package/crud/sk-coupon.service.d.ts +0 -24
- package/crud/sk-document.service.d.ts +0 -47
- package/crud/sk-etc.service.d.ts +0 -12
- package/crud/sk-file.service.d.ts +0 -18
- package/crud/sk-front-lib-crud.d.ts +0 -5
- package/crud/sk-keyword.service.d.ts +0 -19
- package/crud/sk-order.service.d.ts +0 -45
- package/crud/sk-point.service.d.ts +0 -17
- package/crud/sk-product.service.d.ts +0 -80
- package/crud/sk-promotion.service.d.ts +0 -41
- package/crud/sk-search.service.d.ts +0 -12
- package/crud/sk-store.service.d.ts +0 -17
- package/crud/sk-user.service.d.ts +0 -25
- package/esm2020/api/model/api-config.mjs +0 -2
- package/esm2020/api/model/api-pageable-param.mjs +0 -29
- package/esm2020/api/model/api-pageable.mjs +0 -3
- package/esm2020/api/model/api-response.mjs +0 -3
- package/esm2020/api/model/index.mjs +0 -4
- package/esm2020/api/public_api.mjs +0 -4
- package/esm2020/api/sk-api.module.mjs +0 -35
- package/esm2020/api/sk-api.service.mjs +0 -145
- package/esm2020/api/sk-front-lib-api.mjs +0 -5
- package/esm2020/article/public_api.mjs +0 -7
- package/esm2020/article/sk-article-editor-server.component.mjs +0 -51
- package/esm2020/article/sk-article-editor.component.mjs +0 -93
- package/esm2020/article/sk-article-server.module.mjs +0 -33
- package/esm2020/article/sk-article.module.mjs +0 -32
- package/esm2020/article/sk-article.service.mjs +0 -248
- package/esm2020/article/sk-froala-editor.directive.mjs +0 -325
- package/esm2020/article/sk-front-lib-article.mjs +0 -5
- package/esm2020/crud/public_api.mjs +0 -24
- package/esm2020/crud/sk-account.service.mjs +0 -36
- package/esm2020/crud/sk-auth-admin.guard.mjs +0 -31
- package/esm2020/crud/sk-auth.guard.mjs +0 -31
- package/esm2020/crud/sk-auth.service.mjs +0 -67
- package/esm2020/crud/sk-board.service.mjs +0 -54
- package/esm2020/crud/sk-brand.service.mjs +0 -46
- package/esm2020/crud/sk-cart.service.mjs +0 -255
- package/esm2020/crud/sk-category.service.mjs +0 -63
- package/esm2020/crud/sk-comment.service.mjs +0 -43
- package/esm2020/crud/sk-config.service.mjs +0 -31
- package/esm2020/crud/sk-contact.service.mjs +0 -39
- package/esm2020/crud/sk-coupon.service.mjs +0 -62
- package/esm2020/crud/sk-document.service.mjs +0 -98
- package/esm2020/crud/sk-etc.service.mjs +0 -25
- package/esm2020/crud/sk-file.service.mjs +0 -37
- package/esm2020/crud/sk-front-lib-crud.mjs +0 -5
- package/esm2020/crud/sk-keyword.service.mjs +0 -46
- package/esm2020/crud/sk-order.service.mjs +0 -133
- package/esm2020/crud/sk-point.service.mjs +0 -45
- package/esm2020/crud/sk-product.service.mjs +0 -156
- package/esm2020/crud/sk-promotion.service.mjs +0 -84
- package/esm2020/crud/sk-search.service.mjs +0 -25
- package/esm2020/crud/sk-store.service.mjs +0 -47
- package/esm2020/crud/sk-user.service.mjs +0 -73
- package/esm2020/google-analytics/google-analytics-router.module.mjs +0 -30
- package/esm2020/google-analytics/google-analytics.module.mjs +0 -40
- package/esm2020/google-analytics/initializers/google-analytics-router.initializer.mjs +0 -24
- package/esm2020/google-analytics/initializers/google-analytics.initializer.mjs +0 -46
- package/esm2020/google-analytics/interfaces/google-analytics-command.mjs +0 -2
- package/esm2020/google-analytics/interfaces/google-analytics-settings.mjs +0 -2
- package/esm2020/google-analytics/public_api.mjs +0 -11
- package/esm2020/google-analytics/services/google-analytics.service.mjs +0 -200
- package/esm2020/google-analytics/sk-front-lib-google-analytics.mjs +0 -5
- package/esm2020/google-analytics/tokens/google-analytics-settings-token.mjs +0 -5
- package/esm2020/google-analytics/types/ga-action.type.mjs +0 -2
- package/esm2020/google-analytics/types/ga-bind.type.mjs +0 -2
- package/esm2020/image/public_api.mjs +0 -3
- package/esm2020/image/sk-front-lib-image.mjs +0 -5
- package/esm2020/image/sk-image.component.mjs +0 -262
- package/esm2020/image/sk-image.module.mjs +0 -43
- package/esm2020/model/lib/article.mjs +0 -11
- package/esm2020/model/lib/audit.mjs +0 -12
- package/esm2020/model/lib/auth.mjs +0 -2
- package/esm2020/model/lib/board.mjs +0 -21
- package/esm2020/model/lib/cart.mjs +0 -29
- package/esm2020/model/lib/comment.mjs +0 -25
- package/esm2020/model/lib/contact.mjs +0 -28
- package/esm2020/model/lib/coupon.mjs +0 -23
- package/esm2020/model/lib/document.mjs +0 -49
- package/esm2020/model/lib/etc.mjs +0 -38
- package/esm2020/model/lib/file.mjs +0 -8
- package/esm2020/model/lib/filetype.mjs +0 -179
- package/esm2020/model/lib/grid.mjs +0 -83
- package/esm2020/model/lib/nicepay.mjs +0 -81
- package/esm2020/model/lib/order.mjs +0 -106
- package/esm2020/model/lib/payment.mjs +0 -30
- package/esm2020/model/lib/point.mjs +0 -47
- package/esm2020/model/lib/product-series.mjs +0 -2
- package/esm2020/model/lib/product.mjs +0 -128
- package/esm2020/model/lib/promotion.mjs +0 -79
- package/esm2020/model/lib/shipping.mjs +0 -37
- package/esm2020/model/lib/user.mjs +0 -60
- package/esm2020/model/public_api.mjs +0 -23
- package/esm2020/model/sk-front-lib-model.mjs +0 -5
- package/esm2020/search-address/dialog/dialog.component.mjs +0 -27
- package/esm2020/search-address/public_api.mjs +0 -4
- package/esm2020/search-address/sk-front-lib-search-address.mjs +0 -5
- package/esm2020/search-address/sk-search-address.directive.mjs +0 -41
- package/esm2020/search-address/sk-search-address.model.mjs +0 -8
- package/esm2020/search-address/sk-search-address.module.mjs +0 -52
- package/esm2020/search-address/sk-search-address.service.mjs +0 -65
- package/esm2020/uploader/public_api.mjs +0 -4
- package/esm2020/uploader/sk-front-lib-uploader.mjs +0 -5
- package/esm2020/uploader/sk-uploader-file-item.model.mjs +0 -95
- package/esm2020/uploader/sk-uploader.animation.mjs +0 -47
- package/esm2020/uploader/sk-uploader.class.mjs +0 -188
- package/esm2020/uploader/sk-uploader.component.mjs +0 -120
- package/esm2020/uploader/sk-uploader.directive.mjs +0 -44
- package/esm2020/uploader/sk-uploader.module.mjs +0 -62
- package/fesm2015/sk-front-lib-api.mjs +0 -218
- package/fesm2015/sk-front-lib-api.mjs.map +0 -1
- package/fesm2015/sk-front-lib-article.mjs +0 -762
- package/fesm2015/sk-front-lib-article.mjs.map +0 -1
- package/fesm2015/sk-front-lib-crud.mjs +0 -1413
- package/fesm2015/sk-front-lib-crud.mjs.map +0 -1
- package/fesm2015/sk-front-lib-google-analytics.mjs +0 -339
- package/fesm2015/sk-front-lib-google-analytics.mjs.map +0 -1
- package/fesm2015/sk-front-lib-image.mjs +0 -306
- package/fesm2015/sk-front-lib-image.mjs.map +0 -1
- package/fesm2015/sk-front-lib-model.mjs +0 -1056
- package/fesm2015/sk-front-lib-model.mjs.map +0 -1
- package/fesm2015/sk-front-lib-search-address.mjs +0 -188
- package/fesm2015/sk-front-lib-search-address.mjs.map +0 -1
- package/fesm2015/sk-front-lib-uploader.mjs +0 -551
- package/fesm2015/sk-front-lib-uploader.mjs.map +0 -1
- package/fesm2020/sk-front-lib-api.mjs +0 -216
- package/fesm2020/sk-front-lib-api.mjs.map +0 -1
- package/fesm2020/sk-front-lib-article.mjs +0 -771
- package/fesm2020/sk-front-lib-article.mjs.map +0 -1
- package/fesm2020/sk-front-lib-crud.mjs +0 -1411
- package/fesm2020/sk-front-lib-crud.mjs.map +0 -1
- package/fesm2020/sk-front-lib-google-analytics.mjs +0 -336
- package/fesm2020/sk-front-lib-google-analytics.mjs.map +0 -1
- package/fesm2020/sk-front-lib-image.mjs +0 -309
- package/fesm2020/sk-front-lib-image.mjs.map +0 -1
- package/fesm2020/sk-front-lib-model.mjs +0 -1056
- package/fesm2020/sk-front-lib-model.mjs.map +0 -1
- package/fesm2020/sk-front-lib-search-address.mjs +0 -186
- package/fesm2020/sk-front-lib-search-address.mjs.map +0 -1
- package/fesm2020/sk-front-lib-uploader.mjs +0 -549
- package/fesm2020/sk-front-lib-uploader.mjs.map +0 -1
- package/google-analytics/google-analytics-router.module.d.ts +0 -8
- package/google-analytics/google-analytics.module.d.ts +0 -10
- package/google-analytics/initializers/google-analytics-router.initializer.d.ts +0 -5
- package/google-analytics/initializers/google-analytics.initializer.d.ts +0 -4
- package/google-analytics/interfaces/google-analytics-command.d.ts +0 -4
- package/google-analytics/interfaces/google-analytics-settings.d.ts +0 -6
- package/google-analytics/package.json +0 -10
- package/google-analytics/public_api.d.ts +0 -10
- package/google-analytics/services/google-analytics.service.d.ts +0 -84
- package/google-analytics/sk-front-lib-google-analytics.d.ts +0 -5
- package/google-analytics/tokens/google-analytics-settings-token.d.ts +0 -3
- package/google-analytics/types/ga-action.type.d.ts +0 -1
- package/google-analytics/types/ga-bind.type.d.ts +0 -1
- package/image/package.json +0 -10
- package/image/public_api.d.ts +0 -3
- package/image/sk-front-lib-image.d.ts +0 -5
- package/image/sk-image.component.d.ts +0 -112
- package/image/sk-image.module.d.ts +0 -12
- package/model/lib/article.d.ts +0 -13
- package/model/lib/audit.d.ts +0 -13
- package/model/lib/auth.d.ts +0 -8
- package/model/lib/board.d.ts +0 -39
- package/model/lib/cart.d.ts +0 -45
- package/model/lib/comment.d.ts +0 -43
- package/model/lib/contact.d.ts +0 -40
- package/model/lib/coupon.d.ts +0 -114
- package/model/lib/document.d.ts +0 -95
- package/model/lib/etc.d.ts +0 -144
- package/model/lib/file.d.ts +0 -24
- package/model/lib/filetype.d.ts +0 -10
- package/model/lib/grid.d.ts +0 -97
- package/model/lib/nicepay.d.ts +0 -39
- package/model/lib/order.d.ts +0 -161
- package/model/lib/payment.d.ts +0 -27
- package/model/lib/point.d.ts +0 -30
- package/model/lib/product-series.d.ts +0 -25
- package/model/lib/product.d.ts +0 -295
- package/model/lib/promotion.d.ts +0 -166
- package/model/lib/shipping.d.ts +0 -44
- package/model/lib/user.d.ts +0 -53
- package/model/package.json +0 -10
- package/model/public_api.d.ts +0 -22
- package/model/sk-front-lib-model.d.ts +0 -5
- package/search-address/dialog/dialog.component.d.ts +0 -13
- package/search-address/package.json +0 -10
- package/search-address/public_api.d.ts +0 -3
- package/search-address/sk-front-lib-search-address.d.ts +0 -5
- package/search-address/sk-search-address.directive.d.ts +0 -15
- package/search-address/sk-search-address.model.d.ts +0 -40
- package/search-address/sk-search-address.module.d.ts +0 -14
- package/search-address/sk-search-address.service.d.ts +0 -13
- package/uploader/package.json +0 -10
- package/uploader/public_api.d.ts +0 -4
- package/uploader/sk-front-lib-uploader.d.ts +0 -5
- package/uploader/sk-uploader-file-item.model.d.ts +0 -29
- package/uploader/sk-uploader.animation.d.ts +0 -1
- package/uploader/sk-uploader.class.d.ts +0 -47
- package/uploader/sk-uploader.component.d.ts +0 -28
- package/uploader/sk-uploader.directive.d.ts +0 -15
- package/uploader/sk-uploader.module.d.ts +0 -16
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
-
import { SkSearchAddressModel } from "./sk-search-address.model";
|
|
4
|
-
import { SkSearchAddressService } from "./sk-search-address.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SkSearchAddressDirective {
|
|
7
|
-
private dialog;
|
|
8
|
-
private searchAddressService;
|
|
9
|
-
skSearchAddress: SkSearchAddressModel;
|
|
10
|
-
addressSelected: EventEmitter<SkSearchAddressModel>;
|
|
11
|
-
constructor(dialog: MatDialog, searchAddressService: SkSearchAddressService);
|
|
12
|
-
openDialog(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkSearchAddressDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkSearchAddressDirective, "[skSearchAddress]", never, { "skSearchAddress": "skSearchAddress"; }, { "addressSelected": "addressSelected"; }, never>;
|
|
15
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export interface SkDaumAddressModelInterface {
|
|
2
|
-
postcode: string;
|
|
3
|
-
postcode1: string;
|
|
4
|
-
postcode2: string;
|
|
5
|
-
postcodeSeq: string;
|
|
6
|
-
zonecode: string;
|
|
7
|
-
address: string;
|
|
8
|
-
addressEnglish: string;
|
|
9
|
-
addressType: string;
|
|
10
|
-
bcode: string;
|
|
11
|
-
bname: string;
|
|
12
|
-
bname1: string;
|
|
13
|
-
bname2: string;
|
|
14
|
-
sido: string;
|
|
15
|
-
sigungu: string;
|
|
16
|
-
sigunguCode: string;
|
|
17
|
-
userLanguageType: string;
|
|
18
|
-
query: string;
|
|
19
|
-
buildingName: string;
|
|
20
|
-
buildingCode: string;
|
|
21
|
-
apartment: string;
|
|
22
|
-
jibunAddress: string;
|
|
23
|
-
jibunAddressEnglish: string;
|
|
24
|
-
roadAddress: string;
|
|
25
|
-
roadAddressEnglish: string;
|
|
26
|
-
autoRoadAddress: string;
|
|
27
|
-
autoRoadAddressEnglish: string;
|
|
28
|
-
autoJibunAddress: string;
|
|
29
|
-
autoJibunAddressEnglish: string;
|
|
30
|
-
userSelectedType: string;
|
|
31
|
-
hname: string;
|
|
32
|
-
roadnameCode: string;
|
|
33
|
-
roadname: string;
|
|
34
|
-
}
|
|
35
|
-
export declare class SkSearchAddressModel {
|
|
36
|
-
zipCode: string;
|
|
37
|
-
address: string;
|
|
38
|
-
addressExtra: string;
|
|
39
|
-
constructor(zipCode: string, address: string, addressExtra?: string);
|
|
40
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dialog/dialog.component";
|
|
3
|
-
import * as i2 from "./sk-search-address.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "@angular/material/toolbar";
|
|
7
|
-
import * as i6 from "@angular/material/icon";
|
|
8
|
-
import * as i7 from "@angular/material/button";
|
|
9
|
-
import * as i8 from "@angular/material/dialog";
|
|
10
|
-
export declare class SkSearchAddressModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkSearchAddressModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkSearchAddressModule, [typeof i1.SearchAddressDialogComponent, typeof i2.SkSearchAddressDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.MatToolbarModule, typeof i6.MatIconModule, typeof i7.MatButtonModule, typeof i8.MatDialogModule], [typeof i2.SkSearchAddressDirective]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkSearchAddressModule>;
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { SkSearchAddressModel } from "./sk-search-address.model";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SkSearchAddressService {
|
|
5
|
-
private platformId;
|
|
6
|
-
injected: boolean;
|
|
7
|
-
constructor(platformId: Object);
|
|
8
|
-
injectDialogContent(element: ElementRef): Promise<SkSearchAddressModel>;
|
|
9
|
-
injectScript(): void;
|
|
10
|
-
private buildSearchAddressModel;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkSearchAddressService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkSearchAddressService>;
|
|
13
|
-
}
|
package/uploader/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/sk-front-lib-uploader.mjs",
|
|
3
|
-
"es2020": "../fesm2020/sk-front-lib-uploader.mjs",
|
|
4
|
-
"esm2020": "../esm2020/uploader/sk-front-lib-uploader.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/sk-front-lib-uploader.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/sk-front-lib-uploader.mjs",
|
|
7
|
-
"typings": "sk-front-lib-uploader.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "sk-front-lib/uploader"
|
|
10
|
-
}
|
package/uploader/public_api.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { SkFile } from 'sk-front-lib/model';
|
|
2
|
-
export declare enum SkUploaderFileItemType {
|
|
3
|
-
Local = 0,
|
|
4
|
-
API = 1,
|
|
5
|
-
Unidentified = 2
|
|
6
|
-
}
|
|
7
|
-
export declare enum SkUploaderFileItemStatus {
|
|
8
|
-
WAIT = 0,
|
|
9
|
-
READY = 1,
|
|
10
|
-
UPLOADING = 2,
|
|
11
|
-
PROCESS = 3,
|
|
12
|
-
DONE = 4,
|
|
13
|
-
ERROR = 5
|
|
14
|
-
}
|
|
15
|
-
export declare class SkUploaderFileItem {
|
|
16
|
-
private constructor();
|
|
17
|
-
get filename(): string;
|
|
18
|
-
get size(): number;
|
|
19
|
-
get mime(): string;
|
|
20
|
-
get icon(): string;
|
|
21
|
-
localFile: File;
|
|
22
|
-
skFile: SkFile;
|
|
23
|
-
itemType: SkUploaderFileItemType;
|
|
24
|
-
state: SkUploaderFileItemStatus;
|
|
25
|
-
progress: number;
|
|
26
|
-
static fromLocalFile(localFile: File): SkUploaderFileItem;
|
|
27
|
-
static fromApi(skFile: SkFile): SkUploaderFileItem;
|
|
28
|
-
prepareUpload(): void;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const uploaderAnimations: import("@angular/animations").AnimationTriggerMetadata[];
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { SkApiService } from 'sk-front-lib/api';
|
|
2
|
-
import { SkFile } from 'sk-front-lib/model';
|
|
3
|
-
import { SkUploaderFileItem } from './sk-uploader-file-item.model';
|
|
4
|
-
export interface FilterFunction {
|
|
5
|
-
name: string;
|
|
6
|
-
fn: (item?: SkUploaderFileItem, options?: SkFileUploaderOptions) => boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface SkFileUploaderOptions {
|
|
9
|
-
allowedMimeType?: string[];
|
|
10
|
-
allowedFileType?: string[];
|
|
11
|
-
autoUpload?: boolean;
|
|
12
|
-
filters?: FilterFunction[];
|
|
13
|
-
maxFileSize?: number;
|
|
14
|
-
queueLimit?: number;
|
|
15
|
-
asyncLimit?: number;
|
|
16
|
-
additionalParameter?: {
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
};
|
|
19
|
-
parametersBeforeFiles?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare class SkFileUploader {
|
|
22
|
-
private apiService;
|
|
23
|
-
queue: SkUploaderFileItem[];
|
|
24
|
-
progress: number;
|
|
25
|
-
private _failFilterIndex;
|
|
26
|
-
options: SkFileUploaderOptions;
|
|
27
|
-
constructor(apiService: SkApiService, options?: SkFileUploaderOptions, selectedFiles?: SkFile[]);
|
|
28
|
-
setOptions(options: SkFileUploaderOptions): void;
|
|
29
|
-
setSelectedFiles(files: SkFile[]): void;
|
|
30
|
-
addToQueue(files: SkUploaderFileItem[], filters?: FilterFunction[] | string): void;
|
|
31
|
-
removeFromQueue(file: SkUploaderFileItem): void;
|
|
32
|
-
clearQueue(): void;
|
|
33
|
-
upload(item: SkUploaderFileItem): void;
|
|
34
|
-
uploadAll(): void;
|
|
35
|
-
private updateProgress;
|
|
36
|
-
protected _isValidFile(file: SkUploaderFileItem, filters: FilterFunction[], options: SkFileUploaderOptions): boolean;
|
|
37
|
-
protected _getFilters(filters: FilterFunction[] | string): FilterFunction[];
|
|
38
|
-
protected _queueLimitFilter(): boolean;
|
|
39
|
-
_mimeTypeFilter(item: SkUploaderFileItem): boolean;
|
|
40
|
-
_fileSizeFilter(item: SkUploaderFileItem): boolean;
|
|
41
|
-
_fileTypeFilter(item: SkUploaderFileItem): boolean;
|
|
42
|
-
private _processUpload;
|
|
43
|
-
private _findByFilenameInQueue;
|
|
44
|
-
getNotUploadedItems(): SkUploaderFileItem[];
|
|
45
|
-
getReadyItems(): SkUploaderFileItem[];
|
|
46
|
-
getDoneItems(): SkUploaderFileItem[];
|
|
47
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { SkApiService } from 'sk-front-lib/api';
|
|
4
|
-
import { SkFileUploader } from './sk-uploader.class';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SkUploaderComponent implements OnInit {
|
|
7
|
-
data: any;
|
|
8
|
-
dialogRef: MatDialogRef<SkUploaderComponent>;
|
|
9
|
-
private _apiService;
|
|
10
|
-
constructor(data: any, dialogRef: MatDialogRef<SkUploaderComponent>, _apiService: SkApiService);
|
|
11
|
-
uploader: SkFileUploader;
|
|
12
|
-
fileEl: ElementRef;
|
|
13
|
-
dragEl: ElementRef;
|
|
14
|
-
dragClassActive: boolean;
|
|
15
|
-
private static _getTransfer;
|
|
16
|
-
private static _haveFiles;
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
save(): void;
|
|
19
|
-
onDrop(event: any): void;
|
|
20
|
-
onDragOver(event: any): void;
|
|
21
|
-
onDragLeave(event: any): any;
|
|
22
|
-
fileAdd(files: any): void;
|
|
23
|
-
onBrowseFileComplete(): any;
|
|
24
|
-
onDragComponentClick(): any;
|
|
25
|
-
preventAndStop(event: any): any;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkUploaderComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkUploaderComponent, "sk-uploader", never, {}, {}, never, never>;
|
|
28
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { SkFile } from 'sk-front-lib/model';
|
|
4
|
-
import { SkFileUploaderOptions } from './sk-uploader.class';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SkUploaderDirective {
|
|
7
|
-
private _dialog;
|
|
8
|
-
skUploaderOptions: SkFileUploaderOptions;
|
|
9
|
-
skSelected: SkFile[] | SkFile;
|
|
10
|
-
skUploaderFileSelected: EventEmitter<any>;
|
|
11
|
-
onClick(): void;
|
|
12
|
-
constructor(_dialog: MatDialog);
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkUploaderDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkUploaderDirective, "[skUploader]", never, { "skUploaderOptions": "skUploaderOptions"; "skSelected": "skSelected"; }, { "skUploaderFileSelected": "skUploaderFileSelected"; }, never>;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./sk-uploader.component";
|
|
3
|
-
import * as i2 from "./sk-uploader.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/material/dialog";
|
|
6
|
-
import * as i5 from "@angular/material/toolbar";
|
|
7
|
-
import * as i6 from "@angular/material/button";
|
|
8
|
-
import * as i7 from "@angular/material/icon";
|
|
9
|
-
import * as i8 from "@angular/material/list";
|
|
10
|
-
import * as i9 from "@angular/material/progress-bar";
|
|
11
|
-
import * as i10 from "sk-front-lib";
|
|
12
|
-
export declare class SkUploaderModule {
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkUploaderModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkUploaderModule, [typeof i1.SkUploaderComponent, typeof i2.SkUploaderDirective], [typeof i3.CommonModule, typeof i4.MatDialogModule, typeof i5.MatToolbarModule, typeof i6.MatButtonModule, typeof i7.MatIconModule, typeof i8.MatListModule, typeof i9.MatProgressBarModule, typeof i10.SkFrontLibModule], [typeof i1.SkUploaderComponent, typeof i2.SkUploaderDirective]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkUploaderModule>;
|
|
16
|
-
}
|