@paperless/angular 0.1.0-alpha.128 → 0.1.0-alpha.129
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/esm2020/lib/paperless.module.mjs +1 -1
- package/esm2020/lib/stencil/components.mjs +214 -13
- package/esm2020/lib/stencil/index.mjs +9 -1
- package/fesm2015/paperless-angular.mjs +215 -14
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +215 -14
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/paperless.module.d.ts +1 -1
- package/lib/stencil/components.d.ts +159 -5
- package/lib/stencil/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
2
|
import { Components } from '@paperless/core';
|
|
3
|
+
import type { QuickFilter as ITableQuickFilter } from '@paperless/core';
|
|
4
|
+
import type { QuickFilter as ITableHeaderQuickFilter } from '@paperless/core';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare interface PAccordion extends Components.PAccordion {
|
|
5
7
|
/**
|
|
@@ -43,7 +45,7 @@ export declare class PButton {
|
|
|
43
45
|
protected el: HTMLElement;
|
|
44
46
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
45
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<PButton, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PButton, "p-button", never, { "chevron": "chevron"; "disabled": "disabled"; "href": "href"; "icon": "icon"; "iconFlip": "iconFlip"; "iconOnly": "iconOnly"; "iconPosition": "iconPosition"; "iconRotate": "iconRotate"; "inheritText": "inheritText"; "loading": "loading"; "size": "size"; "target": "target"; "variant": "variant"; "width": "width"; }, {}, never, ["*"], false>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PButton, "p-button", never, { "chevron": "chevron"; "chevronPosition": "chevronPosition"; "disabled": "disabled"; "href": "href"; "icon": "icon"; "iconFlip": "iconFlip"; "iconOnly": "iconOnly"; "iconPosition": "iconPosition"; "iconRotate": "iconRotate"; "inheritText": "inheritText"; "loading": "loading"; "size": "size"; "target": "target"; "variant": "variant"; "width": "width"; }, {}, never, ["*"], false>;
|
|
47
49
|
}
|
|
48
50
|
export declare interface PCardBody extends Components.PCardBody {
|
|
49
51
|
}
|
|
@@ -110,7 +112,7 @@ export declare class PDropdown {
|
|
|
110
112
|
protected el: HTMLElement;
|
|
111
113
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
112
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<PDropdown, never>;
|
|
113
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PDropdown, "p-dropdown", never, { "disableTriggerClick": "disableTriggerClick"; "insideClick": "insideClick"; "placement": "placement"; "show": "show"; "strategy": "strategy"; }, {}, never, ["*"], false>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDropdown, "p-dropdown", never, { "chevronDirection": "chevronDirection"; "chevronPosition": "chevronPosition"; "disableTriggerClick": "disableTriggerClick"; "insideClick": "insideClick"; "placement": "placement"; "show": "show"; "strategy": "strategy"; }, {}, never, ["*"], false>;
|
|
114
116
|
}
|
|
115
117
|
export declare interface PDropdownMenuContainer extends Components.PDropdownMenuContainer {
|
|
116
118
|
}
|
|
@@ -173,7 +175,7 @@ export declare class PInputGroup {
|
|
|
173
175
|
protected el: HTMLElement;
|
|
174
176
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
175
177
|
static ɵfac: i0.ɵɵFactoryDeclaration<PInputGroup, never>;
|
|
176
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PInputGroup, "p-input-group", never, { "disabled": "disabled"; "error": "error"; "focused": "focused"; "helper": "helper"; "icon": "icon"; "iconFlip": "iconFlip"; "iconRotate": "iconRotate"; "label": "label"; "prefix": "prefix"; "suffix": "suffix"; }, {}, never, ["*"], false>;
|
|
178
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PInputGroup, "p-input-group", never, { "disabled": "disabled"; "error": "error"; "focused": "focused"; "helper": "helper"; "icon": "icon"; "iconFlip": "iconFlip"; "iconRotate": "iconRotate"; "label": "label"; "prefix": "prefix"; "size": "size"; "suffix": "suffix"; }, {}, never, ["*"], false>;
|
|
177
179
|
}
|
|
178
180
|
export declare interface PLayout extends Components.PLayout {
|
|
179
181
|
}
|
|
@@ -273,9 +275,22 @@ export declare class PNavigationItem {
|
|
|
273
275
|
static ɵfac: i0.ɵɵFactoryDeclaration<PNavigationItem, never>;
|
|
274
276
|
static ɵcmp: i0.ɵɵComponentDeclaration<PNavigationItem, "p-navigation-item", never, { "active": "active"; "counter": "counter"; "href": "href"; "icon": "icon"; "target": "target"; }, {}, never, ["*"], false>;
|
|
275
277
|
}
|
|
278
|
+
export declare interface PPageSizeSelect extends Components.PPageSizeSelect {
|
|
279
|
+
/**
|
|
280
|
+
* Event whenever the size changes
|
|
281
|
+
*/
|
|
282
|
+
sizeChange: EventEmitter<CustomEvent<number>>;
|
|
283
|
+
}
|
|
284
|
+
export declare class PPageSizeSelect {
|
|
285
|
+
protected z: NgZone;
|
|
286
|
+
protected el: HTMLElement;
|
|
287
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
288
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PPageSizeSelect, never>;
|
|
289
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PPageSizeSelect, "p-page-size-select", never, { "buttonSize": "buttonSize"; "buttonTemplate": "buttonTemplate"; "chevronPosition": "chevronPosition"; "itemTemplate": "itemTemplate"; "size": "size"; "sizeOptions": "sizeOptions"; }, {}, never, ["*"], false>;
|
|
290
|
+
}
|
|
276
291
|
export declare interface PPagination extends Components.PPagination {
|
|
277
292
|
/**
|
|
278
|
-
*
|
|
293
|
+
* Event whenever the page changes
|
|
279
294
|
*/
|
|
280
295
|
pageChange: EventEmitter<CustomEvent<number>>;
|
|
281
296
|
}
|
|
@@ -284,7 +299,7 @@ export declare class PPagination {
|
|
|
284
299
|
protected el: HTMLElement;
|
|
285
300
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
286
301
|
static ɵfac: i0.ɵɵFactoryDeclaration<PPagination, never>;
|
|
287
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PPagination, "p-pagination", never, { "page": "page"; "pageSize": "pageSize"; "total": "total"; }, {}, never, ["*"], false>;
|
|
302
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PPagination, "p-pagination", never, { "hideOnSinglePage": "hideOnSinglePage"; "page": "page"; "pageSize": "pageSize"; "total": "total"; }, {}, never, ["*"], false>;
|
|
288
303
|
}
|
|
289
304
|
export declare interface PPaginationItem extends Components.PPaginationItem {
|
|
290
305
|
}
|
|
@@ -385,6 +400,145 @@ export declare class PTabItem {
|
|
|
385
400
|
static ɵfac: i0.ɵɵFactoryDeclaration<PTabItem, never>;
|
|
386
401
|
static ɵcmp: i0.ɵɵComponentDeclaration<PTabItem, "p-tab-item", never, { "active": "active"; }, {}, never, ["*"], false>;
|
|
387
402
|
}
|
|
403
|
+
export declare interface PTable extends Components.PTable {
|
|
404
|
+
/**
|
|
405
|
+
* Event whenever the current selection changes
|
|
406
|
+
*/
|
|
407
|
+
selectedRowsChange: EventEmitter<CustomEvent<any>>;
|
|
408
|
+
/**
|
|
409
|
+
* Event whenever a row is clicked
|
|
410
|
+
*/
|
|
411
|
+
rowClick: EventEmitter<CustomEvent<any>>;
|
|
412
|
+
/**
|
|
413
|
+
* Event whenever a row is selected
|
|
414
|
+
*/
|
|
415
|
+
rowSelected: EventEmitter<CustomEvent<any>>;
|
|
416
|
+
/**
|
|
417
|
+
* Event whenever a row is deselected
|
|
418
|
+
*/
|
|
419
|
+
rowDeselected: EventEmitter<CustomEvent<any>>;
|
|
420
|
+
/**
|
|
421
|
+
* Event when one of the quick filters is clicked
|
|
422
|
+
*/
|
|
423
|
+
quickFilter: EventEmitter<CustomEvent<ITableQuickFilter>>;
|
|
424
|
+
/**
|
|
425
|
+
* Event when the query changes
|
|
426
|
+
*/
|
|
427
|
+
queryChange: EventEmitter<CustomEvent<string>>;
|
|
428
|
+
/**
|
|
429
|
+
* Event when the filter button is clicked
|
|
430
|
+
*/
|
|
431
|
+
filter: EventEmitter<CustomEvent<null>>;
|
|
432
|
+
/**
|
|
433
|
+
* Event when the edit button is clicked
|
|
434
|
+
*/
|
|
435
|
+
edit: EventEmitter<CustomEvent<null>>;
|
|
436
|
+
/**
|
|
437
|
+
* Event whenever the page changes
|
|
438
|
+
*/
|
|
439
|
+
pageChange: EventEmitter<CustomEvent<number>>;
|
|
440
|
+
/**
|
|
441
|
+
* Event whenever the page changes
|
|
442
|
+
*/
|
|
443
|
+
pageSizeChange: EventEmitter<CustomEvent<number>>;
|
|
444
|
+
/**
|
|
445
|
+
* Event whenever the page changes
|
|
446
|
+
*/
|
|
447
|
+
export: EventEmitter<CustomEvent<number>>;
|
|
448
|
+
}
|
|
449
|
+
export declare class PTable {
|
|
450
|
+
protected z: NgZone;
|
|
451
|
+
protected el: HTMLElement;
|
|
452
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
453
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTable, never>;
|
|
454
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTable, "p-table", never, { "activeQuickFilterIdentifier": "activeQuickFilterIdentifier"; "canSelectKey": "canSelectKey"; "editButtonTemplate": "editButtonTemplate"; "enableEdit": "enableEdit"; "enableExport": "enableExport"; "enableFilter": "enableFilter"; "enablePageSize": "enablePageSize"; "enablePagination": "enablePagination"; "enableRowSelection": "enableRowSelection"; "enableSearch": "enableSearch"; "filterButtonTemplate": "filterButtonTemplate"; "items": "items"; "page": "page"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "query": "query"; "quickFilters": "quickFilters"; "selectedFiltersAmount": "selectedFiltersAmount"; "selectedRows": "selectedRows"; "selectionKey": "selectionKey"; "total": "total"; }, {}, never, ["*"], false>;
|
|
455
|
+
}
|
|
456
|
+
export declare interface PTableBody extends Components.PTableBody {
|
|
457
|
+
}
|
|
458
|
+
export declare class PTableBody {
|
|
459
|
+
protected z: NgZone;
|
|
460
|
+
protected el: HTMLElement;
|
|
461
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
462
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableBody, never>;
|
|
463
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableBody, "p-table-body", never, {}, {}, never, ["*"], false>;
|
|
464
|
+
}
|
|
465
|
+
export declare interface PTableContainer extends Components.PTableContainer {
|
|
466
|
+
}
|
|
467
|
+
export declare class PTableContainer {
|
|
468
|
+
protected z: NgZone;
|
|
469
|
+
protected el: HTMLElement;
|
|
470
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
471
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableContainer, never>;
|
|
472
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableContainer, "p-table-container", never, {}, {}, never, ["*"], false>;
|
|
473
|
+
}
|
|
474
|
+
export declare interface PTableDefinition extends Components.PTableDefinition {
|
|
475
|
+
/**
|
|
476
|
+
* Event to let the table know it has to re render
|
|
477
|
+
*/
|
|
478
|
+
tableDefinitionChanged: EventEmitter<CustomEvent<boolean>>;
|
|
479
|
+
}
|
|
480
|
+
export declare class PTableDefinition {
|
|
481
|
+
protected z: NgZone;
|
|
482
|
+
protected el: HTMLElement;
|
|
483
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
484
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableDefinition, never>;
|
|
485
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableDefinition, "p-table-definition", never, { "align": "align"; "name": "name"; "path": "path"; "sizes": "sizes"; "template": "template"; "type": "type"; }, {}, never, ["*"], false>;
|
|
486
|
+
}
|
|
487
|
+
export declare interface PTableFooter extends Components.PTableFooter {
|
|
488
|
+
/**
|
|
489
|
+
* Event whenever the page changes
|
|
490
|
+
*/
|
|
491
|
+
pageChange: EventEmitter<CustomEvent<number>>;
|
|
492
|
+
/**
|
|
493
|
+
* Event whenever the page changes
|
|
494
|
+
*/
|
|
495
|
+
pageSizeChange: EventEmitter<CustomEvent<number>>;
|
|
496
|
+
/**
|
|
497
|
+
* Event whenever the page changes
|
|
498
|
+
*/
|
|
499
|
+
export: EventEmitter<CustomEvent<number>>;
|
|
500
|
+
}
|
|
501
|
+
export declare class PTableFooter {
|
|
502
|
+
protected z: NgZone;
|
|
503
|
+
protected el: HTMLElement;
|
|
504
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
505
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableFooter, never>;
|
|
506
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableFooter, "p-table-footer", never, { "enableExport": "enableExport"; "enablePageSize": "enablePageSize"; "enablePagination": "enablePagination"; "page": "page"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "total": "total"; }, {}, never, ["*"], false>;
|
|
507
|
+
}
|
|
508
|
+
export declare interface PTableHeader extends Components.PTableHeader {
|
|
509
|
+
/**
|
|
510
|
+
* Event when one of the quick filters is clicked
|
|
511
|
+
*/
|
|
512
|
+
quickFilter: EventEmitter<CustomEvent<ITableHeaderQuickFilter>>;
|
|
513
|
+
/**
|
|
514
|
+
* Event when the query changes
|
|
515
|
+
*/
|
|
516
|
+
queryChange: EventEmitter<CustomEvent<string>>;
|
|
517
|
+
/**
|
|
518
|
+
* Event when the filter button is clicked
|
|
519
|
+
*/
|
|
520
|
+
filter: EventEmitter<CustomEvent<null>>;
|
|
521
|
+
/**
|
|
522
|
+
* Event when the edit button is clicked
|
|
523
|
+
*/
|
|
524
|
+
edit: EventEmitter<CustomEvent<null>>;
|
|
525
|
+
}
|
|
526
|
+
export declare class PTableHeader {
|
|
527
|
+
protected z: NgZone;
|
|
528
|
+
protected el: HTMLElement;
|
|
529
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
530
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableHeader, never>;
|
|
531
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableHeader, "p-table-header", never, { "activeQuickFilterIdentifier": "activeQuickFilterIdentifier"; "canEdit": "canEdit"; "editButtonTemplate": "editButtonTemplate"; "enableEdit": "enableEdit"; "enableFilter": "enableFilter"; "enableSearch": "enableSearch"; "filterButtonTemplate": "filterButtonTemplate"; "itemsSelectedAmount": "itemsSelectedAmount"; "query": "query"; "quickFilters": "quickFilters"; "selectedFiltersAmount": "selectedFiltersAmount"; }, {}, never, ["*"], false>;
|
|
532
|
+
}
|
|
533
|
+
export declare interface PTableRow extends Components.PTableRow {
|
|
534
|
+
}
|
|
535
|
+
export declare class PTableRow {
|
|
536
|
+
protected z: NgZone;
|
|
537
|
+
protected el: HTMLElement;
|
|
538
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
539
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableRow, never>;
|
|
540
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableRow, "p-table-row", never, { "enableHover": "enableHover"; "variant": "variant"; }, {}, never, ["*"], false>;
|
|
541
|
+
}
|
|
388
542
|
export declare interface PTag extends Components.PTag {
|
|
389
543
|
}
|
|
390
544
|
export declare class PTag {
|
package/lib/stencil/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.PAccordion | typeof d.PAvatar | typeof d.PAvatarGroup | typeof d.PButton | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PContentSlider | typeof d.PCounter | typeof d.PDivider | typeof d.PDropdown | typeof d.PDropdownMenuContainer | typeof d.PDropdownMenuItem | typeof d.PHelper | typeof d.PIcon | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PInputGroup | typeof d.PLayout | typeof d.PLoader | typeof d.PModal | typeof d.PModalBackdrop | typeof d.PModalBody | typeof d.PModalContainer | typeof d.PModalFooter | typeof d.PModalHeader | typeof d.PNavbar | typeof d.PNavigationItem | typeof d.PPagination | typeof d.PPaginationItem | typeof d.PProfile | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSliderIndicator | typeof d.PStatus | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabGroup | typeof d.PTabItem | typeof d.PTag | typeof d.PTooltip)[];
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.PAccordion | typeof d.PAvatar | typeof d.PAvatarGroup | typeof d.PButton | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PContentSlider | typeof d.PCounter | typeof d.PDivider | typeof d.PDropdown | typeof d.PDropdownMenuContainer | typeof d.PDropdownMenuItem | typeof d.PHelper | typeof d.PIcon | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PInputGroup | typeof d.PLayout | typeof d.PLoader | typeof d.PModal | typeof d.PModalBackdrop | typeof d.PModalBody | typeof d.PModalContainer | typeof d.PModalFooter | typeof d.PModalHeader | typeof d.PNavbar | typeof d.PNavigationItem | typeof d.PPageSizeSelect | typeof d.PPagination | typeof d.PPaginationItem | typeof d.PProfile | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSliderIndicator | typeof d.PStatus | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabGroup | typeof d.PTabItem | typeof d.PTable | typeof d.PTableBody | typeof d.PTableContainer | typeof d.PTableDefinition | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PTag | typeof d.PTooltip)[];
|