@paperless/angular 0.1.0-alpha.191 → 0.1.0-alpha.193
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 +4 -1
- package/esm2020/lib/directives/p-select.directive.mjs +40 -0
- package/esm2020/lib/paperless.module.mjs +3 -2
- package/esm2020/lib/stencil/components.mjs +99 -1
- package/esm2020/lib/stencil/index.mjs +5 -1
- package/fesm2015/paperless-angular.mjs +137 -2
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +137 -2
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/directives/index.d.ts +3 -5
- package/lib/directives/p-select.directive.d.ts +9 -0
- package/lib/paperless.module.d.ts +2 -1
- package/lib/stencil/components.d.ts +36 -0
- package/lib/stencil/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -432,6 +432,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
432
432
|
}]
|
|
433
433
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
434
434
|
|
|
435
|
+
class SelectDirective extends BaseValueAccessor {
|
|
436
|
+
constructor(el) {
|
|
437
|
+
super(el);
|
|
438
|
+
console.log(el);
|
|
439
|
+
}
|
|
440
|
+
writeValue(value) {
|
|
441
|
+
console.log(value);
|
|
442
|
+
this.el.nativeElement.value = this.lastValue =
|
|
443
|
+
value == null ? '' : value;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
447
|
+
SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: SelectDirective, selector: "p-select", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
448
|
+
{
|
|
449
|
+
provide: NG_VALUE_ACCESSOR,
|
|
450
|
+
useExisting: SelectDirective,
|
|
451
|
+
multi: true,
|
|
452
|
+
},
|
|
453
|
+
], usesInheritance: true, ngImport: i0 });
|
|
454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SelectDirective, decorators: [{
|
|
455
|
+
type: Directive,
|
|
456
|
+
args: [{
|
|
457
|
+
selector: 'p-select',
|
|
458
|
+
host: {
|
|
459
|
+
'(valueChange)': 'handleChangeEvent($event.detail)',
|
|
460
|
+
},
|
|
461
|
+
providers: [
|
|
462
|
+
{
|
|
463
|
+
provide: NG_VALUE_ACCESSOR,
|
|
464
|
+
useExisting: SelectDirective,
|
|
465
|
+
multi: true,
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
}]
|
|
469
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
470
|
+
|
|
435
471
|
class TableFooterDirective extends BaseValueAccessor {
|
|
436
472
|
constructor(el) {
|
|
437
473
|
super(el);
|
|
@@ -617,6 +653,7 @@ const CUSTOM_DIRECTIVES = [
|
|
|
617
653
|
TableFooterDirective,
|
|
618
654
|
TableHeaderDirective,
|
|
619
655
|
TableDirective,
|
|
656
|
+
SelectDirective,
|
|
620
657
|
];
|
|
621
658
|
|
|
622
659
|
/* eslint-disable */
|
|
@@ -1702,6 +1739,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1702
1739
|
inputs: ['active']
|
|
1703
1740
|
}]
|
|
1704
1741
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1742
|
+
let PTableColumn = class PTableColumn {
|
|
1743
|
+
constructor(c, r, z) {
|
|
1744
|
+
this.z = z;
|
|
1745
|
+
c.detach();
|
|
1746
|
+
this.el = r.nativeElement;
|
|
1747
|
+
}
|
|
1748
|
+
};
|
|
1749
|
+
PTableColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableColumn, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1750
|
+
PTableColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PTableColumn, selector: "p-table-column", inputs: { checkbox: "checkbox", definition: "definition", index: "index", item: "item", rowIndex: "rowIndex", template: "template", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1751
|
+
PTableColumn = __decorate([
|
|
1752
|
+
ProxyCmp({
|
|
1753
|
+
defineCustomElementFn: undefined,
|
|
1754
|
+
inputs: ['checkbox', 'definition', 'index', 'item', 'rowIndex', 'template', 'value', 'variant']
|
|
1755
|
+
})
|
|
1756
|
+
], PTableColumn);
|
|
1757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableColumn, decorators: [{
|
|
1758
|
+
type: Component,
|
|
1759
|
+
args: [{
|
|
1760
|
+
selector: 'p-table-column',
|
|
1761
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1762
|
+
template: '<ng-content></ng-content>',
|
|
1763
|
+
inputs: ['checkbox', 'definition', 'index', 'item', 'rowIndex', 'template', 'value', 'variant']
|
|
1764
|
+
}]
|
|
1765
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1766
|
+
let PTableContainer = class PTableContainer {
|
|
1767
|
+
constructor(c, r, z) {
|
|
1768
|
+
this.z = z;
|
|
1769
|
+
c.detach();
|
|
1770
|
+
this.el = r.nativeElement;
|
|
1771
|
+
}
|
|
1772
|
+
};
|
|
1773
|
+
PTableContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1774
|
+
PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PTableContainer, selector: "p-table-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1775
|
+
PTableContainer = __decorate([
|
|
1776
|
+
ProxyCmp({
|
|
1777
|
+
defineCustomElementFn: undefined
|
|
1778
|
+
})
|
|
1779
|
+
], PTableContainer);
|
|
1780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableContainer, decorators: [{
|
|
1781
|
+
type: Component,
|
|
1782
|
+
args: [{
|
|
1783
|
+
selector: 'p-table-container',
|
|
1784
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1785
|
+
template: '<ng-content></ng-content>'
|
|
1786
|
+
}]
|
|
1787
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1705
1788
|
let PTableFooter = class PTableFooter {
|
|
1706
1789
|
constructor(c, r, z) {
|
|
1707
1790
|
this.z = z;
|
|
@@ -1752,6 +1835,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1752
1835
|
inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
1753
1836
|
}]
|
|
1754
1837
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1838
|
+
let PTableRow = class PTableRow {
|
|
1839
|
+
constructor(c, r, z) {
|
|
1840
|
+
this.z = z;
|
|
1841
|
+
c.detach();
|
|
1842
|
+
this.el = r.nativeElement;
|
|
1843
|
+
}
|
|
1844
|
+
};
|
|
1845
|
+
PTableRow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableRow, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1846
|
+
PTableRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PTableRow, selector: "p-table-row", inputs: { enableHover: "enableHover", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1847
|
+
PTableRow = __decorate([
|
|
1848
|
+
ProxyCmp({
|
|
1849
|
+
defineCustomElementFn: undefined,
|
|
1850
|
+
inputs: ['enableHover', 'variant']
|
|
1851
|
+
})
|
|
1852
|
+
], PTableRow);
|
|
1853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableRow, decorators: [{
|
|
1854
|
+
type: Component,
|
|
1855
|
+
args: [{
|
|
1856
|
+
selector: 'p-table-row',
|
|
1857
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1858
|
+
template: '<ng-content></ng-content>',
|
|
1859
|
+
inputs: ['enableHover', 'variant']
|
|
1860
|
+
}]
|
|
1861
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1862
|
+
let PToastContainer = class PToastContainer {
|
|
1863
|
+
constructor(c, r, z) {
|
|
1864
|
+
this.z = z;
|
|
1865
|
+
c.detach();
|
|
1866
|
+
this.el = r.nativeElement;
|
|
1867
|
+
}
|
|
1868
|
+
};
|
|
1869
|
+
PToastContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PToastContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1870
|
+
PToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PToastContainer, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1871
|
+
PToastContainer = __decorate([
|
|
1872
|
+
ProxyCmp({
|
|
1873
|
+
defineCustomElementFn: undefined,
|
|
1874
|
+
inputs: ['placement']
|
|
1875
|
+
})
|
|
1876
|
+
], PToastContainer);
|
|
1877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PToastContainer, decorators: [{
|
|
1878
|
+
type: Component,
|
|
1879
|
+
args: [{
|
|
1880
|
+
selector: 'p-toast-container',
|
|
1881
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1882
|
+
template: '<ng-content></ng-content>',
|
|
1883
|
+
inputs: ['placement']
|
|
1884
|
+
}]
|
|
1885
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1755
1886
|
let PTooltip = class PTooltip {
|
|
1756
1887
|
constructor(c, r, z) {
|
|
1757
1888
|
this.z = z;
|
|
@@ -1822,15 +1953,19 @@ const DIRECTIVES = [
|
|
|
1822
1953
|
PStepperLine,
|
|
1823
1954
|
PTabGroup,
|
|
1824
1955
|
PTabItem,
|
|
1956
|
+
PTableColumn,
|
|
1957
|
+
PTableContainer,
|
|
1825
1958
|
PTableFooter,
|
|
1826
1959
|
PTableHeader,
|
|
1960
|
+
PTableRow,
|
|
1961
|
+
PToastContainer,
|
|
1827
1962
|
PTooltip
|
|
1828
1963
|
];
|
|
1829
1964
|
|
|
1830
1965
|
class PaperlessModule {
|
|
1831
1966
|
}
|
|
1832
1967
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1833
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, declarations: [PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableFooter, PTableHeader, PTooltip, PaginationDirective, PageSizeSelectDirective, TableFooterDirective, TableHeaderDirective, TableDirective], exports: [PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableFooter, PTableHeader, PTooltip, PaginationDirective, PageSizeSelectDirective, TableFooterDirective, TableHeaderDirective, TableDirective] });
|
|
1968
|
+
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, declarations: [PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableColumn, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToastContainer, PTooltip, PaginationDirective, PageSizeSelectDirective, TableFooterDirective, TableHeaderDirective, TableDirective, SelectDirective], exports: [PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableColumn, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToastContainer, PTooltip, PaginationDirective, PageSizeSelectDirective, TableFooterDirective, TableHeaderDirective, TableDirective, SelectDirective] });
|
|
1834
1969
|
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule });
|
|
1835
1970
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
1836
1971
|
type: NgModule,
|
|
@@ -1848,5 +1983,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1848
1983
|
* Generated bundle index. Do not edit.
|
|
1849
1984
|
*/
|
|
1850
1985
|
|
|
1851
|
-
export { BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CUSTOM_DIRECTIVES, FormBaseComponent, PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableFooter, PTableHeader, PTooltip, PageSizeSelectDirective, PaginationDirective, PaperlessModule, TableDirective, TableFooterDirective, TableHeaderDirective };
|
|
1986
|
+
export { BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CUSTOM_DIRECTIVES, FormBaseComponent, PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableColumn, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToastContainer, PTooltip, PageSizeSelectDirective, PaginationDirective, PaperlessModule, SelectDirective, TableDirective, TableFooterDirective, TableHeaderDirective };
|
|
1852
1987
|
//# sourceMappingURL=paperless-angular.mjs.map
|