@paperless/angular 0.1.0-alpha.163 → 0.1.0-alpha.167
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/directives/index.mjs +2 -3
- package/esm2020/lib/paperless.module.mjs +1 -1
- package/esm2020/lib/stencil/components.mjs +1 -24
- package/esm2020/lib/stencil/index.mjs +1 -2
- package/fesm2015/paperless-angular.mjs +55 -128
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +55 -128
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/directives/index.d.ts +0 -1
- package/lib/paperless.module.d.ts +1 -1
- package/lib/stencil/components.d.ts +0 -9
- package/lib/stencil/index.d.ts +1 -1
- package/package.json +1 -1
- package/esm2020/lib/directives/p-table-definition.directive.mjs +0 -55
- package/lib/directives/p-table-definition.directive.d.ts +0 -21
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './p-page-size-select.directive';
|
|
2
2
|
export * from './p-pagination.directive';
|
|
3
|
-
export * from './p-table-definition.directive';
|
|
4
3
|
export * from './p-table-footer.directive';
|
|
5
4
|
export * from './p-table-header.directive';
|
|
6
5
|
export * from './p-table.directive';
|
|
@@ -7,6 +7,6 @@ import * as i5 from "./directives/p-table-header.directive";
|
|
|
7
7
|
import * as i6 from "./directives/p-table.directive";
|
|
8
8
|
export declare class PaperlessModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTable, typeof i1.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTable, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PTag, typeof i1.PTooltip, typeof i2.PaginationDirective, typeof i3.PageSizeSelectDirective, typeof i4.TableFooterDirective, typeof i5.TableHeaderDirective, typeof i6.TableDirective], never, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTable, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PTag, typeof i1.PTooltip, typeof i2.PaginationDirective, typeof i3.PageSizeSelectDirective, typeof i4.TableFooterDirective, typeof i5.TableHeaderDirective, typeof i6.TableDirective]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
|
|
12
12
|
}
|
|
@@ -454,15 +454,6 @@ export declare class PTable {
|
|
|
454
454
|
static ɵfac: i0.ɵɵFactoryDeclaration<PTable, never>;
|
|
455
455
|
static ɵcmp: i0.ɵɵComponentDeclaration<PTable, "p-table", never, { "activeQuickFilterIdentifier": "activeQuickFilterIdentifier"; "amountOfLoadingRows": "amountOfLoadingRows"; "canSelectKey": "canSelectKey"; "editButtonTemplate": "editButtonTemplate"; "enableEdit": "enableEdit"; "enableExport": "enableExport"; "enableFilter": "enableFilter"; "enablePageSize": "enablePageSize"; "enablePagination": "enablePagination"; "enableRowClick": "enableRowClick"; "enableRowSelection": "enableRowSelection"; "enableSearch": "enableSearch"; "filterButtonTemplate": "filterButtonTemplate"; "hideOnSinglePage": "hideOnSinglePage"; "items": "items"; "loading": "loading"; "page": "page"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "query": "query"; "quickFilters": "quickFilters"; "selectedFiltersAmount": "selectedFiltersAmount"; "selectedRows": "selectedRows"; "selectionKey": "selectionKey"; "total": "total"; }, {}, never, ["*"], false>;
|
|
456
456
|
}
|
|
457
|
-
export declare interface PTableBody extends Components.PTableBody {
|
|
458
|
-
}
|
|
459
|
-
export declare class PTableBody {
|
|
460
|
-
protected z: NgZone;
|
|
461
|
-
protected el: HTMLElement;
|
|
462
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
463
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PTableBody, never>;
|
|
464
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PTableBody, "p-table-body", never, {}, {}, never, ["*"], false>;
|
|
465
|
-
}
|
|
466
457
|
export declare interface PTableContainer extends Components.PTableContainer {
|
|
467
458
|
}
|
|
468
459
|
export declare class PTableContainer {
|
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.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.
|
|
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.PTableContainer | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PTag | typeof d.PTooltip)[];
|
package/package.json
CHANGED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, ContentChild, TemplateRef, } from '@angular/core';
|
|
3
|
-
import { ProxyCmp, proxyOutputs } from '../stencil/angular-component-lib/utils';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
let TableDefinition = class TableDefinition {
|
|
6
|
-
constructor(c, r, z, _vc) {
|
|
7
|
-
this.z = z;
|
|
8
|
-
this._vc = _vc;
|
|
9
|
-
c.detach();
|
|
10
|
-
this.el = r.nativeElement;
|
|
11
|
-
proxyOutputs(this, this.el, ['tableDefinitionChanged']);
|
|
12
|
-
}
|
|
13
|
-
get template() {
|
|
14
|
-
return this._getTemplate;
|
|
15
|
-
}
|
|
16
|
-
ngOnInit() {
|
|
17
|
-
console.log('Ng On Init');
|
|
18
|
-
console.log(this.templateRef);
|
|
19
|
-
console.log(this.templateRef
|
|
20
|
-
? this._vc.createEmbeddedView(this.templateRef, {
|
|
21
|
-
value: 'test',
|
|
22
|
-
item: { value: 'test' },
|
|
23
|
-
index: 123,
|
|
24
|
-
})
|
|
25
|
-
: null);
|
|
26
|
-
}
|
|
27
|
-
_getTemplate(data) {
|
|
28
|
-
if (!this.templateRef) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
return this._vc.createEmbeddedView(this.templateRef, data);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
TableDefinition.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableDefinition, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
-
TableDefinition.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: TableDefinition, selector: "p-table-definition", inputs: { align: "align", name: "name", path: "path", sizes: "sizes", type: "type" }, queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
-
TableDefinition = __decorate([
|
|
37
|
-
ProxyCmp({
|
|
38
|
-
defineCustomElementFn: undefined,
|
|
39
|
-
inputs: ['align', 'name', 'path', 'sizes', 'type', 'template'],
|
|
40
|
-
})
|
|
41
|
-
], TableDefinition);
|
|
42
|
-
export { TableDefinition };
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableDefinition, decorators: [{
|
|
44
|
-
type: Component,
|
|
45
|
-
args: [{
|
|
46
|
-
selector: 'p-table-definition',
|
|
47
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
48
|
-
template: '',
|
|
49
|
-
inputs: ['align', 'name', 'path', 'sizes', 'type'],
|
|
50
|
-
}]
|
|
51
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }]; }, propDecorators: { templateRef: [{
|
|
52
|
-
type: ContentChild,
|
|
53
|
-
args: [TemplateRef, { static: false }]
|
|
54
|
-
}] } });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicC10YWJsZS1kZWZpbml0aW9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3BhcGVybGVzcy9zcmMvbGliL2RpcmVjdGl2ZXMvcC10YWJsZS1kZWZpbml0aW9uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNILHVCQUF1QixFQUV2QixTQUFTLEVBQ1QsWUFBWSxFQUtaLFdBQVcsR0FFZCxNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsUUFBUSxFQUFFLFlBQVksRUFBRSxNQUFNLHdDQUF3QyxDQUFDOztJQW1CbkUsZUFBZSxTQUFmLGVBQWU7SUFVeEIsWUFDSSxDQUFvQixFQUNwQixDQUFhLEVBQ0gsQ0FBUyxFQUNYLEdBQXFCO1FBRG5CLE1BQUMsR0FBRCxDQUFDLENBQVE7UUFDWCxRQUFHLEdBQUgsR0FBRyxD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GlzLnRlbXBsYXRlUmVmLCBkYXRhKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { Components, TableDefinitionTemplateFuncData } from '@paperless/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare interface TableDefinition extends Components.PTableDefinition {
|
|
5
|
-
/**
|
|
6
|
-
* Event to let the table know it has to re render
|
|
7
|
-
*/
|
|
8
|
-
tableDefinitionChanged: EventEmitter<CustomEvent<boolean>>;
|
|
9
|
-
}
|
|
10
|
-
export declare class TableDefinition implements OnInit {
|
|
11
|
-
protected z: NgZone;
|
|
12
|
-
private _vc;
|
|
13
|
-
protected el: HTMLElement;
|
|
14
|
-
templateRef?: TemplateRef<any>;
|
|
15
|
-
get template(): (data: TableDefinitionTemplateFuncData) => import("@angular/core").EmbeddedViewRef<any> | undefined;
|
|
16
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, _vc: ViewContainerRef);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
private _getTemplate;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableDefinition, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableDefinition, "p-table-definition", never, { "align": "align"; "name": "name"; "path": "path"; "sizes": "sizes"; "type": "type"; }, {}, ["templateRef"], never, false>;
|
|
21
|
-
}
|