@wizishop/img-manager 0.2.85 → 0.2.86
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/assets/i18n/en.json +1 -1
- package/assets/i18n/fr.json +1 -1
- package/bundles/wizishop-img-manager.umd.js +258 -27
- package/bundles/wizishop-img-manager.umd.js.map +1 -1
- package/bundles/wizishop-img-manager.umd.min.js +2 -2
- package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
- package/esm2015/lib/components/img-tabs/img-tabs.component.js +31 -6
- package/esm2015/lib/components/shared/select/call-to-action.model.js +1 -0
- package/esm2015/lib/components/shared/select/select-items.dto.js +1 -0
- package/esm2015/lib/components/shared/select/select.component.js +133 -0
- package/esm2015/lib/directives/zindex-toggle.directive.js +49 -0
- package/esm2015/lib/pipes/select/select-filters.pipe.js +17 -0
- package/esm2015/lib/wz-img-manager.module.js +11 -3
- package/esm2015/wizishop-img-manager.js +20 -17
- package/esm5/lib/components/img-tabs/img-tabs.component.js +31 -6
- package/esm5/lib/components/shared/select/call-to-action.model.js +1 -0
- package/esm5/lib/components/shared/select/select-items.dto.js +1 -0
- package/esm5/lib/components/shared/select/select.component.js +136 -0
- package/esm5/lib/directives/zindex-toggle.directive.js +54 -0
- package/esm5/lib/pipes/select/select-filters.pipe.js +20 -0
- package/esm5/lib/wz-img-manager.module.js +11 -3
- package/esm5/wizishop-img-manager.js +20 -17
- package/fesm2015/wizishop-img-manager.js +226 -8
- package/fesm2015/wizishop-img-manager.js.map +1 -1
- package/fesm5/wizishop-img-manager.js +237 -8
- package/fesm5/wizishop-img-manager.js.map +1 -1
- package/lib/components/img-tabs/img-tabs.component.d.ts +4 -3
- package/lib/components/shared/select/call-to-action.model.d.ts +6 -0
- package/lib/components/shared/select/select-items.dto.d.ts +8 -0
- package/lib/components/shared/select/select.component.d.ts +38 -0
- package/lib/directives/zindex-toggle.directive.d.ts +13 -0
- package/lib/pipes/select/select-filters.pipe.d.ts +5 -0
- package/package.json +2 -1
- package/wizishop-img-manager-0.2.86.tgz +0 -0
- package/wizishop-img-manager.d.ts +19 -16
- package/wizishop-img-manager.metadata.json +1 -1
- package/wz-img-manager.scss +1144 -865
- package/wizishop-img-manager-0.2.85.tgz +0 -0
|
@@ -6,6 +6,7 @@ import { NwbSnackbarConfig } from '@wizishop/ng-wizi-bulma';
|
|
|
6
6
|
import { stateDisplayed } from '../../dto/export-dtos.api';
|
|
7
7
|
import { AlertService } from '../../services/alert.service';
|
|
8
8
|
import { Router } from '@angular/router';
|
|
9
|
+
import { SelectItem } from '../shared/select/select-items.dto';
|
|
9
10
|
export declare class ImgTabsComponent implements OnInit {
|
|
10
11
|
private imgEventEditService;
|
|
11
12
|
private alertService;
|
|
@@ -16,8 +17,8 @@ export declare class ImgTabsComponent implements OnInit {
|
|
|
16
17
|
imgManagerClosed: EventEmitter<any>;
|
|
17
18
|
currentTab: EventEmitter<any>;
|
|
18
19
|
switchDisplayWindow: EventEmitter<boolean>;
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
tabs: SelectItem[];
|
|
21
|
+
tabActive: SelectItem;
|
|
21
22
|
editTab: boolean;
|
|
22
23
|
imgToEdit: ImgPictureDTO;
|
|
23
24
|
imgUpload: boolean;
|
|
@@ -25,7 +26,7 @@ export declare class ImgTabsComponent implements OnInit {
|
|
|
25
26
|
snackBarNewVersionConfig: NwbSnackbarConfig;
|
|
26
27
|
constructor(imgEventEditService: ImgEventService, alertService: AlertService, route: Router);
|
|
27
28
|
ngOnInit(): void;
|
|
28
|
-
toggleTabs(
|
|
29
|
+
toggleTabs(item: SelectItem): void;
|
|
29
30
|
onImgUploaded(img: ImgPictureDTO[]): void;
|
|
30
31
|
onEditClosed(msgKey: string): void;
|
|
31
32
|
onShowImgUploaded(): void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import { SelectItem } from './select-items.dto';
|
|
5
|
+
import { CalllToAction } from './call-to-action.model';
|
|
6
|
+
export declare class SelectComponent implements OnInit, ControlValueAccessor {
|
|
7
|
+
private translateService;
|
|
8
|
+
items: SelectItem[];
|
|
9
|
+
placeholder: string;
|
|
10
|
+
label: string;
|
|
11
|
+
maxWidthItems: string;
|
|
12
|
+
search: boolean;
|
|
13
|
+
type: string;
|
|
14
|
+
callToAction: CalllToAction;
|
|
15
|
+
maxWidth: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
selectValue: EventEmitter<number>;
|
|
18
|
+
clickOnCallToAction: EventEmitter<any>;
|
|
19
|
+
searchElement: ElementRef;
|
|
20
|
+
openCategories: boolean;
|
|
21
|
+
searchValue: string;
|
|
22
|
+
indexItemSelected: number;
|
|
23
|
+
constructor(translateService: TranslateService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
onClose(): void;
|
|
26
|
+
customTB(item: SelectItem, index: number): string;
|
|
27
|
+
onSelectItem(id: number): void;
|
|
28
|
+
onClickCallToAction(): void;
|
|
29
|
+
private getItemSelected;
|
|
30
|
+
showCategories(): void;
|
|
31
|
+
private unselectAll;
|
|
32
|
+
private setIndexItemSelected;
|
|
33
|
+
onChange: (selectItem: SelectItem) => void;
|
|
34
|
+
onTouch: any;
|
|
35
|
+
writeValue(selectItem: any): void;
|
|
36
|
+
registerOnChange(fn: any): void;
|
|
37
|
+
registerOnTouched(fn: any): void;
|
|
38
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
export declare class ZindexToggleDirective implements OnInit, OnDestroy {
|
|
3
|
+
private currentElement;
|
|
4
|
+
private renderer;
|
|
5
|
+
isActived: boolean;
|
|
6
|
+
onEventChange: EventEmitter<any>;
|
|
7
|
+
set isActive(value: boolean);
|
|
8
|
+
get isActive(): boolean;
|
|
9
|
+
constructor(currentElement: ElementRef, renderer: Renderer2);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
switchToggle(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizishop/img-manager",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.86",
|
|
4
4
|
"description": "The best and the most beautiful image manager.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"include-media": "^1.4.9",
|
|
33
33
|
"ngx-image-cropper": "^3.1.9",
|
|
34
34
|
"ngx-scrollbar": "^7.2.3",
|
|
35
|
+
"ngx-perfect-scrollbar": "^10.1.1",
|
|
35
36
|
"rxjs": "~6.5.4",
|
|
36
37
|
"sass-flex-mixin": "^1.0.3"
|
|
37
38
|
},
|
|
Binary file
|
|
@@ -25,24 +25,27 @@ export { DropdownComponent as ɵu } from './lib/components/shared/dropdown/dropd
|
|
|
25
25
|
export { InputSearchComponent as ɵbc } from './lib/components/shared/input-search/input-search.component';
|
|
26
26
|
export { PageSelectorComponent as ɵbg } from './lib/components/shared/pagination/page-selector/page-selector.component';
|
|
27
27
|
export { PaginationComponent as ɵbd } from './lib/components/shared/pagination/pagination.component';
|
|
28
|
+
export { SelectComponent as ɵbh } from './lib/components/shared/select/select.component';
|
|
28
29
|
export { TableComponent as ɵba } from './lib/components/shared/table/table.component';
|
|
29
30
|
export { UploadListComponent as ɵo } from './lib/components/upload-list/upload-list.component';
|
|
30
|
-
export { AbstractDebounceDirective as
|
|
31
|
-
export { DebounceKeyupDirective as
|
|
32
|
-
export { AutoHideDirective as
|
|
33
|
-
export { CopyClipboardDirective as
|
|
34
|
-
export { DragDropDirective as
|
|
35
|
-
export { LoadingDirective as
|
|
36
|
-
export { CheckBoxRow as
|
|
37
|
-
export { TableColumn as
|
|
38
|
-
export { TableColumnHeader as
|
|
39
|
-
export { TableRow as
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
31
|
+
export { AbstractDebounceDirective as ɵbq } from './lib/directives/abstract-debounce/abstract-debounce.directive';
|
|
32
|
+
export { DebounceKeyupDirective as ɵbr } from './lib/directives/abstract-debounce/debounce-keyup.directive';
|
|
33
|
+
export { AutoHideDirective as ɵbk } from './lib/directives/auto-hide.directive';
|
|
34
|
+
export { CopyClipboardDirective as ɵbl } from './lib/directives/copy-to-clipboard.directive';
|
|
35
|
+
export { DragDropDirective as ɵbi } from './lib/directives/drag-drop.directive';
|
|
36
|
+
export { LoadingDirective as ɵbj } from './lib/directives/loading.directive';
|
|
37
|
+
export { CheckBoxRow as ɵbn } from './lib/directives/table/checkBoxRow.directive';
|
|
38
|
+
export { TableColumn as ɵbm } from './lib/directives/table/column.directive';
|
|
39
|
+
export { TableColumnHeader as ɵbo } from './lib/directives/table/columnHeader.directive';
|
|
40
|
+
export { TableRow as ɵbp } from './lib/directives/table/raw.directive';
|
|
41
|
+
export { ZindexToggleDirective as ɵbs } from './lib/directives/zindex-toggle.directive';
|
|
42
|
+
export { ImageSrcPipe as ɵbw } from './lib/pipes/images/img-src.pipe';
|
|
43
|
+
export { NumberToArray as ɵbx } from './lib/pipes/number-to-array.pipe';
|
|
44
|
+
export { PagniationArrayTotalPages as ɵbt } from './lib/pipes/pagination/array-total-pages/array-pages.pipe';
|
|
45
|
+
export { LargeNumberOfPagePipe as ɵby } from './lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe';
|
|
46
|
+
export { PagniationText as ɵbv } from './lib/pipes/pagination/text/custom-text.pipe';
|
|
47
|
+
export { PagniationIsLastPage as ɵbu } from './lib/pipes/pagination/total-pages/is-last-page.pipe';
|
|
48
|
+
export { SelectFiltersPipe as ɵbz } from './lib/pipes/select/select-filters.pipe';
|
|
46
49
|
export { AlertService as ɵg } from './lib/services/alert.service';
|
|
47
50
|
export { ImgManagerConfigService as ɵa } from './lib/services/config/external-config.service';
|
|
48
51
|
export { ImgCDNService as ɵb } from './lib/services/config/img-cdn.service';
|