@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.
@@ -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);
@@ -608,6 +644,7 @@ const CUSTOM_DIRECTIVES = [
608
644
  TableFooterDirective,
609
645
  TableHeaderDirective,
610
646
  TableDirective,
647
+ SelectDirective,
611
648
  ];
612
649
 
613
650
  /* eslint-disable */
@@ -1693,6 +1730,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
1693
1730
  inputs: ['active']
1694
1731
  }]
1695
1732
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1733
+ let PTableColumn = class PTableColumn {
1734
+ constructor(c, r, z) {
1735
+ this.z = z;
1736
+ c.detach();
1737
+ this.el = r.nativeElement;
1738
+ }
1739
+ };
1740
+ 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 });
1741
+ 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 });
1742
+ PTableColumn = __decorate([
1743
+ ProxyCmp({
1744
+ defineCustomElementFn: undefined,
1745
+ inputs: ['checkbox', 'definition', 'index', 'item', 'rowIndex', 'template', 'value', 'variant']
1746
+ })
1747
+ ], PTableColumn);
1748
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableColumn, decorators: [{
1749
+ type: Component,
1750
+ args: [{
1751
+ selector: 'p-table-column',
1752
+ changeDetection: ChangeDetectionStrategy.OnPush,
1753
+ template: '<ng-content></ng-content>',
1754
+ inputs: ['checkbox', 'definition', 'index', 'item', 'rowIndex', 'template', 'value', 'variant']
1755
+ }]
1756
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1757
+ let PTableContainer = class PTableContainer {
1758
+ constructor(c, r, z) {
1759
+ this.z = z;
1760
+ c.detach();
1761
+ this.el = r.nativeElement;
1762
+ }
1763
+ };
1764
+ 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 });
1765
+ 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 });
1766
+ PTableContainer = __decorate([
1767
+ ProxyCmp({
1768
+ defineCustomElementFn: undefined
1769
+ })
1770
+ ], PTableContainer);
1771
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableContainer, decorators: [{
1772
+ type: Component,
1773
+ args: [{
1774
+ selector: 'p-table-container',
1775
+ changeDetection: ChangeDetectionStrategy.OnPush,
1776
+ template: '<ng-content></ng-content>'
1777
+ }]
1778
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1696
1779
  let PTableFooter = class PTableFooter {
1697
1780
  constructor(c, r, z) {
1698
1781
  this.z = z;
@@ -1743,6 +1826,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
1743
1826
  inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'query', 'quickFilters', 'selectedFiltersAmount']
1744
1827
  }]
1745
1828
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1829
+ let PTableRow = class PTableRow {
1830
+ constructor(c, r, z) {
1831
+ this.z = z;
1832
+ c.detach();
1833
+ this.el = r.nativeElement;
1834
+ }
1835
+ };
1836
+ 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 });
1837
+ 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 });
1838
+ PTableRow = __decorate([
1839
+ ProxyCmp({
1840
+ defineCustomElementFn: undefined,
1841
+ inputs: ['enableHover', 'variant']
1842
+ })
1843
+ ], PTableRow);
1844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableRow, decorators: [{
1845
+ type: Component,
1846
+ args: [{
1847
+ selector: 'p-table-row',
1848
+ changeDetection: ChangeDetectionStrategy.OnPush,
1849
+ template: '<ng-content></ng-content>',
1850
+ inputs: ['enableHover', 'variant']
1851
+ }]
1852
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1853
+ let PToastContainer = class PToastContainer {
1854
+ constructor(c, r, z) {
1855
+ this.z = z;
1856
+ c.detach();
1857
+ this.el = r.nativeElement;
1858
+ }
1859
+ };
1860
+ 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 });
1861
+ 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 });
1862
+ PToastContainer = __decorate([
1863
+ ProxyCmp({
1864
+ defineCustomElementFn: undefined,
1865
+ inputs: ['placement']
1866
+ })
1867
+ ], PToastContainer);
1868
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PToastContainer, decorators: [{
1869
+ type: Component,
1870
+ args: [{
1871
+ selector: 'p-toast-container',
1872
+ changeDetection: ChangeDetectionStrategy.OnPush,
1873
+ template: '<ng-content></ng-content>',
1874
+ inputs: ['placement']
1875
+ }]
1876
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1746
1877
  let PTooltip = class PTooltip {
1747
1878
  constructor(c, r, z) {
1748
1879
  this.z = z;
@@ -1813,15 +1944,19 @@ const DIRECTIVES = [
1813
1944
  PStepperLine,
1814
1945
  PTabGroup,
1815
1946
  PTabItem,
1947
+ PTableColumn,
1948
+ PTableContainer,
1816
1949
  PTableFooter,
1817
1950
  PTableHeader,
1951
+ PTableRow,
1952
+ PToastContainer,
1818
1953
  PTooltip
1819
1954
  ];
1820
1955
 
1821
1956
  class PaperlessModule {
1822
1957
  }
1823
1958
  PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1824
- 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] });
1959
+ 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] });
1825
1960
  PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule });
1826
1961
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, decorators: [{
1827
1962
  type: NgModule,
@@ -1839,5 +1974,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
1839
1974
  * Generated bundle index. Do not edit.
1840
1975
  */
1841
1976
 
1842
- 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 };
1977
+ 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 };
1843
1978
  //# sourceMappingURL=paperless-angular.mjs.map