@paperless/angular 0.1.0-alpha.162 → 0.1.0-alpha.165
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 -4
- package/esm2020/lib/paperless.module.mjs +2 -3
- package/fesm2015/paperless-angular.mjs +55 -102
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +55 -102
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/directives/index.d.ts +1 -3
- package/lib/paperless.module.d.ts +1 -2
- package/package.json +1 -1
- package/esm2020/lib/directives/p-table-definition.directive.mjs +0 -52
- package/lib/directives/p-table-definition.directive.d.ts +0 -20
|
@@ -1,12 +1,10 @@
|
|
|
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
|
import { PageSizeSelectDirective } from './p-page-size-select.directive';
|
|
8
|
-
import { TableDefinition } from './p-table-definition.directive';
|
|
9
7
|
import { TableFooterDirective } from './p-table-footer.directive';
|
|
10
8
|
import { TableHeaderDirective } from './p-table-header.directive';
|
|
11
9
|
import { TableDirective } from './p-table.directive';
|
|
12
|
-
export declare const CUSTOM_DIRECTIVES: (typeof PageSizeSelectDirective | typeof
|
|
10
|
+
export declare const CUSTOM_DIRECTIVES: (typeof PageSizeSelectDirective | typeof TableFooterDirective | typeof TableHeaderDirective | typeof TableDirective)[];
|
|
@@ -5,9 +5,8 @@ import * as i3 from "./directives/p-page-size-select.directive";
|
|
|
5
5
|
import * as i4 from "./directives/p-table-footer.directive";
|
|
6
6
|
import * as i5 from "./directives/p-table-header.directive";
|
|
7
7
|
import * as i6 from "./directives/p-table.directive";
|
|
8
|
-
import * as i7 from "./directives/p-table-definition.directive";
|
|
9
8
|
export declare class PaperlessModule {
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessModule, never>;
|
|
11
|
-
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.PTableBody, 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
|
|
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.PTableBody, 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.PTableBody, 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]>;
|
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
|
|
13
12
|
}
|
package/package.json
CHANGED
|
@@ -1,52 +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
|
-
ngOnInit() {
|
|
14
|
-
console.log('Ng On Init');
|
|
15
|
-
console.log(this.templateRef);
|
|
16
|
-
console.log(this.templateRef
|
|
17
|
-
? this._vc.createEmbeddedView(this.templateRef, {
|
|
18
|
-
value: 'test',
|
|
19
|
-
item: { value: 'test' },
|
|
20
|
-
index: 123,
|
|
21
|
-
})
|
|
22
|
-
: null);
|
|
23
|
-
}
|
|
24
|
-
template(data) {
|
|
25
|
-
if (!this.templateRef) {
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
return this._vc.createEmbeddedView(this.templateRef, data);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
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 });
|
|
32
|
-
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 });
|
|
33
|
-
TableDefinition = __decorate([
|
|
34
|
-
ProxyCmp({
|
|
35
|
-
defineCustomElementFn: undefined,
|
|
36
|
-
inputs: ['align', 'name', 'path', 'sizes', 'type', 'template'],
|
|
37
|
-
})
|
|
38
|
-
], TableDefinition);
|
|
39
|
-
export { TableDefinition };
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableDefinition, decorators: [{
|
|
41
|
-
type: Component,
|
|
42
|
-
args: [{
|
|
43
|
-
selector: 'p-table-definition',
|
|
44
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
45
|
-
template: '',
|
|
46
|
-
inputs: ['align', 'name', 'path', 'sizes', 'type'],
|
|
47
|
-
}]
|
|
48
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }]; }, propDecorators: { templateRef: [{
|
|
49
|
-
type: ContentChild,
|
|
50
|
-
args: [TemplateRef, { static: false }]
|
|
51
|
-
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicC10YWJsZS1kZWZpbml0aW9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3BhcGVybGVzcy9zcmMvbGliL2R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3R5cGUnXSxcbn0pXG5leHBvcnQgY2xhc3MgVGFibGVEZWZpbml0aW9uIGltcGxlbWVudHMgT25Jbml0IHtcbiAgICBwcm90ZWN0ZWQgZWw6IEhUTUxFbGVtZW50O1xuXG4gICAgQENvbnRlbnRDaGlsZChUZW1wbGF0ZVJlZiwgeyBzdGF0aWM6IGZhbHNlIH0pXG4gICAgdGVtcGxhdGVSZWY/OiBUZW1wbGF0ZVJlZjxhbnk+O1xuXG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIGM6IENoYW5nZURldGVjdG9yUmVmLFxuICAgICAgICByOiBFbGVtZW50UmVmLFxuICAgICAgICBwcm90ZWN0ZWQgejogTmdab25lLFxuICAgICAgICBwcml2YXRlIF92YzogVmlld0NvbnRhaW5lclJlZlxuICAgICkge1xuICAgICAgICBjLmRldGFjaCgpO1xuICAgICAgICB0aGlzLmVsID0gci5uYXRpdmVFbGVtZW50O1xuICAgICAgICBwcm94eU91dHB1dHModGhpcywgdGhpcy5lbCwgWyd0YWJsZURlZmluaXRpb25DaGFuZ2VkJ10pO1xuICAgIH1cblxuICAgIG5nT25Jbml0KCkge1xuICAgICAgICBjb25zb2xlLmxvZygnTmcgT24gSW5pdCcpO1xuICAgICAgICBjb25zb2xlLmxvZyh0aGlzLnRlbXBsYXRlUmVmKTtcbiAgICAgICAgY29uc29sZS5sb2coXG4gICAgICAgICAgICB0aGlzLnRlbXBsYXRlUmVmXG4gICAgICAgICAgICAgICAgPyB0aGlzLl92Yy5jcmVhdGVFbWJlZGRlZFZpZXcodGhpcy50ZW1wbGF0ZVJlZiwge1xuICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiAndGVzdCcsXG4gICAgICAgICAgICAgICAgICAgICAgaXRlbTogeyB2YWx1ZTogJ3Rlc3QnIH0sXG4gICAgICAgICAgICAgICAgICAgICAgaW5kZXg6IDEyMyxcbiAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgOiBudWxsXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgdGVtcGxhdGUoZGF0YTogVGFibGVEZWZpbml0aW9uVGVtcGxhdGVGdW5jRGF0YSkge1xuICAgICAgICBpZiAoIXRoaXMudGVtcGxhdGVSZWYpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiB0aGlzLl92Yy5jcmVhdGVFbWJlZGRlZFZpZXcodGhpcy50ZW1wbGF0ZVJlZiwgZGF0YSk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,20 +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
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, _vc: ViewContainerRef);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
template(data: TableDefinitionTemplateFuncData): import("@angular/core").EmbeddedViewRef<any> | undefined;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableDefinition, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableDefinition, "p-table-definition", never, { "align": "align"; "name": "name"; "path": "path"; "sizes": "sizes"; "type": "type"; }, {}, ["templateRef"], never, false>;
|
|
20
|
-
}
|