@wizishop/img-manager 0.2.72 → 0.2.77
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/bundles/wizishop-img-manager.umd.js +151 -25
- package/bundles/wizishop-img-manager.umd.js.map +1 -1
- package/bundles/wizishop-img-manager.umd.min.js +1 -1
- package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
- package/esm2015/lib/components/images-view/images-view.component.js +10 -4
- package/esm2015/lib/components/img-editor/img-editor.component.js +6 -2
- package/esm2015/lib/components/shared/pagination/page-selector/page-selector.component.js +55 -0
- package/esm2015/lib/components/shared/pagination/pagination.component.js +4 -4
- package/esm2015/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.js +51 -0
- package/esm2015/lib/services/img-manager.service.js +2 -2
- package/esm2015/lib/wz-img-manager.module.js +7 -3
- package/esm2015/wizishop-img-manager.js +18 -16
- package/esm5/lib/components/images-view/images-view.component.js +10 -4
- package/esm5/lib/components/img-editor/img-editor.component.js +6 -2
- package/esm5/lib/components/shared/pagination/page-selector/page-selector.component.js +64 -0
- package/esm5/lib/components/shared/pagination/pagination.component.js +4 -4
- package/esm5/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.js +54 -0
- package/esm5/lib/services/img-manager.service.js +2 -2
- package/esm5/lib/wz-img-manager.module.js +7 -3
- package/esm5/wizishop-img-manager.js +18 -16
- package/fesm2015/wizishop-img-manager.js +123 -11
- package/fesm2015/wizishop-img-manager.js.map +1 -1
- package/fesm5/wizishop-img-manager.js +135 -11
- package/fesm5/wizishop-img-manager.js.map +1 -1
- package/lib/components/images-view/images-view.component.d.ts +1 -0
- package/lib/components/shared/pagination/page-selector/page-selector.component.d.ts +20 -0
- package/lib/components/shared/pagination/pagination.component.d.ts +1 -1
- package/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.d.ts +10 -0
- package/package.json +1 -1
- package/wizishop-img-manager-0.2.77.tgz +0 -0
- package/wizishop-img-manager.d.ts +17 -15
- package/wizishop-img-manager.metadata.json +1 -1
- package/wz-img-manager.scss +1937 -1866
- package/wizishop-img-manager-0.2.72.tgz +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
export interface PaginationFilters {
|
|
3
|
+
totalItems: number;
|
|
4
|
+
itemsPerPage: number;
|
|
5
|
+
currentPage: number;
|
|
6
|
+
}
|
|
7
|
+
export declare class PageSelectorComponent {
|
|
8
|
+
set pagination(pagination: PaginationFilters);
|
|
9
|
+
get pagination(): PaginationFilters;
|
|
10
|
+
private _pagination;
|
|
11
|
+
set totalItems(totalItems: number);
|
|
12
|
+
get totalItems(): number;
|
|
13
|
+
private _totalItems;
|
|
14
|
+
openAbsoluteSelect: boolean;
|
|
15
|
+
largeNumberOfPage: boolean;
|
|
16
|
+
numberOfPage: number;
|
|
17
|
+
pageChange: EventEmitter<number>;
|
|
18
|
+
constructor();
|
|
19
|
+
onGotoPageChange(event: any, directValue: any): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class LargeNumberOfPagePipe implements PipeTransform {
|
|
3
|
+
/**
|
|
4
|
+
* Return an incremental array
|
|
5
|
+
* Display 30 pages, from -15 to +15 of the current page
|
|
6
|
+
* @param totalItems
|
|
7
|
+
* @param itemsPerPage
|
|
8
|
+
*/
|
|
9
|
+
transform(totalItems: number, itemsPerPage: number, currentPage: number): number[];
|
|
10
|
+
}
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -23,24 +23,26 @@ export { AlertComponent as ɵbf } from './lib/components/shared/alert/alert.comp
|
|
|
23
23
|
export { CheckboxComponent as ɵbe } from './lib/components/shared/checkbox/checkbox.component';
|
|
24
24
|
export { DropdownComponent as ɵu } from './lib/components/shared/dropdown/dropdown.component';
|
|
25
25
|
export { InputSearchComponent as ɵbc } from './lib/components/shared/input-search/input-search.component';
|
|
26
|
+
export { PageSelectorComponent as ɵbg } from './lib/components/shared/pagination/page-selector/page-selector.component';
|
|
26
27
|
export { PaginationComponent as ɵbd } from './lib/components/shared/pagination/pagination.component';
|
|
27
28
|
export { TableComponent as ɵba } from './lib/components/shared/table/table.component';
|
|
28
29
|
export { UploadListComponent as ɵo } from './lib/components/upload-list/upload-list.component';
|
|
29
|
-
export { AbstractDebounceDirective as
|
|
30
|
-
export { DebounceKeyupDirective as
|
|
31
|
-
export { AutoHideDirective as
|
|
32
|
-
export { CopyClipboardDirective as
|
|
33
|
-
export { DragDropDirective as
|
|
34
|
-
export { LoadingDirective as
|
|
35
|
-
export { CheckBoxRow as
|
|
36
|
-
export { TableColumn as
|
|
37
|
-
export { TableColumnHeader as
|
|
38
|
-
export { TableRow as
|
|
39
|
-
export { ImageSrcPipe as
|
|
40
|
-
export { NumberToArray as
|
|
41
|
-
export { PagniationArrayTotalPages as
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
30
|
+
export { AbstractDebounceDirective as ɵbp } from './lib/directives/abstract-debounce/abstract-debounce.directive';
|
|
31
|
+
export { DebounceKeyupDirective as ɵbq } from './lib/directives/abstract-debounce/debounce-keyup.directive';
|
|
32
|
+
export { AutoHideDirective as ɵbj } from './lib/directives/auto-hide.directive';
|
|
33
|
+
export { CopyClipboardDirective as ɵbk } from './lib/directives/copy-to-clipboard.directive';
|
|
34
|
+
export { DragDropDirective as ɵbh } from './lib/directives/drag-drop.directive';
|
|
35
|
+
export { LoadingDirective as ɵbi } from './lib/directives/loading.directive';
|
|
36
|
+
export { CheckBoxRow as ɵbm } from './lib/directives/table/checkBoxRow.directive';
|
|
37
|
+
export { TableColumn as ɵbl } from './lib/directives/table/column.directive';
|
|
38
|
+
export { TableColumnHeader as ɵbn } from './lib/directives/table/columnHeader.directive';
|
|
39
|
+
export { TableRow as ɵbo } from './lib/directives/table/raw.directive';
|
|
40
|
+
export { ImageSrcPipe as ɵbu } from './lib/pipes/images/img-src.pipe';
|
|
41
|
+
export { NumberToArray as ɵbv } from './lib/pipes/number-to-array.pipe';
|
|
42
|
+
export { PagniationArrayTotalPages as ɵbr } from './lib/pipes/pagination/array-total-pages/array-pages.pipe';
|
|
43
|
+
export { LargeNumberOfPagePipe as ɵbw } from './lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe';
|
|
44
|
+
export { PagniationText as ɵbt } from './lib/pipes/pagination/text/custom-text.pipe';
|
|
45
|
+
export { PagniationIsLastPage as ɵbs } from './lib/pipes/pagination/total-pages/is-last-page.pipe';
|
|
44
46
|
export { AlertService as ɵg } from './lib/services/alert.service';
|
|
45
47
|
export { ImgManagerConfigService as ɵa } from './lib/services/config/external-config.service';
|
|
46
48
|
export { ImgCDNService as ɵb } from './lib/services/config/img-cdn.service';
|