@solidpepper/solidpepper-modal-media-selection 1.0.2 → 1.0.4
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/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, OnChanges, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, EventEmitter, ViewContainerRef, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { Subject, Subscription } from 'rxjs';
|
|
4
4
|
import { LoginService, AuthService, DamAssetsService, SearchService, MediaSelectionService, SettingsService, WorkflowsDesksService, SuppliersService, AccountsService, FrameworkagreementsService, websocketService, RightsService, CompaniesService, DamAssetsProfilesService, TeamsService } from '@solidpepper/solidpepper-service';
|
|
5
5
|
|
|
@@ -27,6 +27,7 @@ declare class ModalMediaSelectionComponent implements OnInit, OnChanges {
|
|
|
27
27
|
token: string;
|
|
28
28
|
language: string;
|
|
29
29
|
private readonly i18n;
|
|
30
|
+
viewContainerRef: ViewContainerRef;
|
|
30
31
|
readonly images: {
|
|
31
32
|
pictureUnavailable: string;
|
|
32
33
|
textDocument: string;
|
|
@@ -54,11 +55,12 @@ declare class ModalMediaSelectionComponent implements OnInit, OnChanges {
|
|
|
54
55
|
archive: boolean | undefined;
|
|
55
56
|
isOnlyOneAsset: boolean;
|
|
56
57
|
userLogin: any;
|
|
57
|
-
guidActiveFolderOfSelectedFolderForMove: string | null
|
|
58
|
+
guidActiveFolderOfSelectedFolderForMove: string | null;
|
|
58
59
|
nameParentOfSelectedFolderForMove: string;
|
|
59
60
|
nameParentOfSelectedFolder: any;
|
|
60
61
|
folders: any;
|
|
61
62
|
pathFolder: any;
|
|
63
|
+
newFolderInput: string;
|
|
62
64
|
isSearchMode: boolean;
|
|
63
65
|
searchTerm$: Subject<string>;
|
|
64
66
|
searchResult: never[];
|
|
@@ -90,6 +92,13 @@ declare class ModalMediaSelectionComponent implements OnInit, OnChanges {
|
|
|
90
92
|
changePagePagination($event?: {
|
|
91
93
|
page: number;
|
|
92
94
|
}): void;
|
|
95
|
+
get totalPages(): number;
|
|
96
|
+
get visiblePages(): number[];
|
|
97
|
+
goToPage(page: number): void;
|
|
98
|
+
goToFirstPage(): void;
|
|
99
|
+
goToPreviousPage(): void;
|
|
100
|
+
goToNextPage(): void;
|
|
101
|
+
goToLastPage(): void;
|
|
93
102
|
private initSelectAssetSubscription;
|
|
94
103
|
private performAssetSelection;
|
|
95
104
|
selectThisAsset(assetGuid: string): void;
|
|
@@ -98,6 +107,8 @@ declare class ModalMediaSelectionComponent implements OnInit, OnChanges {
|
|
|
98
107
|
refreshAssetsAfterUpload(): void;
|
|
99
108
|
initialization(): void;
|
|
100
109
|
onAssetImageError(event: Event): void;
|
|
110
|
+
saveAndCloseAddFolderModal(): void;
|
|
111
|
+
addFolder(): void;
|
|
101
112
|
t(key: string, params?: Record<string, string | number>): string;
|
|
102
113
|
externalLogin(): void;
|
|
103
114
|
internalLogin(): void;
|
|
@@ -116,8 +127,11 @@ declare class AssetsUploaderComponent implements OnInit {
|
|
|
116
127
|
folderGuid: any;
|
|
117
128
|
folderType: any;
|
|
118
129
|
imageArea: boolean;
|
|
130
|
+
assetParentGuid: string | null;
|
|
131
|
+
assetVersion: string;
|
|
119
132
|
view: string;
|
|
120
133
|
private readonly i18n;
|
|
134
|
+
viewContainerRef: ViewContainerRef;
|
|
121
135
|
hasBaseDropZoneOver: boolean;
|
|
122
136
|
uploader: any;
|
|
123
137
|
langueSelectDefault: any;
|
|
@@ -138,7 +152,7 @@ declare class AssetsUploaderComponent implements OnInit {
|
|
|
138
152
|
updateListModify(): void;
|
|
139
153
|
t(key: string, params?: Record<string, string | number>): string;
|
|
140
154
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsUploaderComponent, never>;
|
|
141
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AssetsUploaderComponent, "app-assets-uploader", never, { "folderGuid": { "alias": "folderGuid"; "required": false; }; "folderType": { "alias": "folderType"; "required": false; }; "imageArea": { "alias": "imageArea"; "required": false; }; "view": { "alias": "view"; "required": false; }; }, { "allAssetsUpload": "allAssetsUpload"; }, never, never, true, never>;
|
|
155
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssetsUploaderComponent, "app-assets-uploader", never, { "folderGuid": { "alias": "folderGuid"; "required": false; }; "folderType": { "alias": "folderType"; "required": false; }; "imageArea": { "alias": "imageArea"; "required": false; }; "assetParentGuid": { "alias": "assetParentGuid"; "required": false; }; "assetVersion": { "alias": "assetVersion"; "required": false; }; "view": { "alias": "view"; "required": false; }; }, { "allAssetsUpload": "allAssetsUpload"; }, never, never, true, never>;
|
|
142
156
|
}
|
|
143
157
|
|
|
144
158
|
export { AssetsUploaderComponent, ModalMediaSelectionComponent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidpepper/solidpepper-modal-media-selection",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Solidpepper - modal media selection components",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^20.3.0",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.3.0",
|
|
13
|
-
"@solidpepper/solidpepper-service": "^1.0.
|
|
13
|
+
"@solidpepper/solidpepper-service": "^1.0.1",
|
|
14
14
|
"ng2-file-upload": "^9.0.0",
|
|
15
15
|
"@aspnet/signalr": "^1.1.4"
|
|
16
16
|
},
|