@coolon/angular-ui-powerups 3.15.1 → 3.16.0

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/assets/form.scss +20 -0
  3. package/bundles/coolon-angular-ui-powerups.umd.js +65 -5
  4. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  6. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  7. package/coolon-angular-ui-powerups.metadata.json +1 -1
  8. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  9. package/esm2015/lib/components/card-container/card-container.component.js +1 -1
  10. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  11. package/esm2015/lib/components/components.module.js +5 -0
  12. package/esm2015/lib/components/components.module.js.map +1 -1
  13. package/esm2015/lib/components/components.module.metadata.json +1 -1
  14. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  15. package/esm2015/lib/components/exports.js +1 -0
  16. package/esm2015/lib/components/exports.js.map +1 -1
  17. package/esm2015/lib/components/exports.metadata.json +1 -1
  18. package/esm2015/lib/components/forms/number-input/number-input.component.js +3 -2
  19. package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
  20. package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
  21. package/esm2015/lib/components/forms/string-input/string-input.component.js +3 -2
  22. package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
  23. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  24. package/esm2015/lib/components/table/paginator/paginator.component.js +39 -0
  25. package/esm2015/lib/components/table/paginator/paginator.component.js.map +1 -0
  26. package/esm2015/lib/components/table/paginator/paginator.component.metadata.json +1 -0
  27. package/esm2015/lib/components/table/paginator/paginator.component.ngfactory.js.map +1 -0
  28. package/esm2015/lib/components/table/paginator/paginator.component.scss.shim.ngstyle.js.map +1 -0
  29. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  30. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  31. package/fesm2015/coolon-angular-ui-powerups.js +48 -7
  32. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  33. package/lib/components/exports.d.ts +1 -0
  34. package/lib/components/forms/number-input/number-input.component.d.ts +1 -0
  35. package/lib/components/forms/string-input/string-input.component.d.ts +1 -0
  36. package/lib/components/table/paginator/paginator.component.d.ts +12 -0
  37. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [3.16.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.16.0-alpha.0...v3.16.0) (2021-02-24)
6
+
7
+
8
+ ### Features
9
+
10
+ * added iconPrefix property to string and number inputs ([54d5ba9](https://bitbucket.org/coolon/angular-ui-powerups/commit/54d5ba9d965349bd5d04f3a2deb495ae2d28bbf2))
11
+
12
+ ## [3.16.0-alpha.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.15.1...v3.16.0-alpha.0) (2021-02-24)
13
+
14
+
15
+ ### Features
16
+
17
+ * added initial paginator component ([2d2de8e](https://bitbucket.org/coolon/angular-ui-powerups/commit/2d2de8e2b519b03d8b7163c228458f756df06e8b))
18
+
5
19
  ### [3.15.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.15.0...v3.15.1) (2021-02-24)
6
20
 
7
21
 
package/assets/form.scss CHANGED
@@ -10,6 +10,26 @@
10
10
  }
11
11
  }
12
12
 
13
+ mat-form-field {
14
+ // matPrefix/Suffix alignment is a bit shit..
15
+ // Icons float much higher than the text, button icons don't center.
16
+ .mat-form-field-prefix {
17
+ display: inline-flex;
18
+ flex-direction: row;
19
+ height: 35px; // same as the mat-button height which will center our icon with any clear button icon.
20
+ align-self: flex-end; // sit on the bottom of the line
21
+ align-items: center; // and center our internal content.
22
+ }
23
+
24
+ .mat-form-field-suffix {
25
+ .mat-icon-button {
26
+ line-height: 2.5em; // fix centering of aup-icons within the button.
27
+ }
28
+ }
29
+
30
+ }
31
+
32
+
13
33
  &.dense {
14
34
  mat-form-field {
15
35
  .mat-form-field-infix {
@@ -729,7 +729,7 @@
729
729
  { type: i0.Component, args: [{
730
730
  selector: 'aup-card-container',
731
731
  template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
732
- styles: [":root{--aup-default-background:#fff;--aup-default-padding:var(--default-padding,18px)}aup-activity-title{font-family:Roboto,Helvetica Neue,sans-serif;font-size:20px;letter-spacing:normal;line-height:32px;margin-bottom:var(--default-padding)}.router-outlet-container>*{bottom:0;left:0;position:absolute;right:0;top:0}[no-tab-header]>mat-tab-header{display:none}[full-height-tabs] .mat-tab-body-wrapper,mat-tab-group.full-height-tabs .mat-tab-body-wrapper{flex:1}[full-height-tabs] .mat-tab-body-wrapper .mat-tab-body-content,[full-height-tabs] .mat-tab-body-wrapper mat-tab-body,mat-tab-group.full-height-tabs .mat-tab-body-wrapper .mat-tab-body-content,mat-tab-group.full-height-tabs .mat-tab-body-wrapper mat-tab-body{display:flex;flex-direction:column;justify-content:stretch}.dialog-interaction-context,.dialog-interaction-context mat-dialog-container{max-height:95vh!important;max-width:95vw!important}.dialog-interaction-context mat-dialog-container{padding:0}.activity-outlet-wrapper{align-items:stretch;display:flex;flex-direction:column}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow .28s cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}.aup-input-component.dense mat-form-field .mat-form-field-infix{border-top:none}.aup-input-component.dense mat-form-field .mat-form-field-flex{padding-top:0}.aup-input-component.dense mat-form-field .mat-form-field-wrapper{border-bottom:0;padding-bottom:0}.aup-input-component.dense mat-form-field .mat-form-field-underline{bottom:0}.aup-input-component.dense mat-form-field.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label-wrapper{display:none}.aup-input-component.dense mat-form-field.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(0)}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap,24px);--resolved-row-hover-background-color:var(--row-hover-background-color,rgba(0,0,0,0.05));--resolved-row-selected-background-color:var(--row-selected-background-color,rgba(0,0,255,0.04))}aup-table.hide-header .mat-table thead,aup-table .mat-table td.hide,aup-table .mat-table th.hide{display:none}aup-table .mat-table td.mat-cell:first-of-type,aup-table .mat-table td.mat-footer-cell:first-of-type,aup-table .mat-table th.mat-header-cell:first-of-type{padding-left:0}aup-table .mat-table tr.enable-hover:hover{background-color:var(--resolved-row-hover-background-color)}aup-table .mat-table tr.aup-row-selected,aup-table .mat-table tr.aup-row-selected.enable-hover:hover{background-color:var(--resolved-row-selected-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table .mat-table .mat-cell:not(.flex),aup-table .mat-table .mat-header-cell:not(.flex){white-space:nowrap;width:1px}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{align-items:stretch;display:flex;flex-direction:column;height:100%;justify-content:center;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{flex:1;padding-left:var(--default-column-gap)}:root{--aup-command-face-icon-gap:8px;--aup-fa-icon-width:18px;--aup-icon-width:24px}aup-icon{--fa-icon-offset:calc((var(--aup-icon-width) - var(--aup-fa-icon-width))/2);position:relative}aup-icon fa-icon .svg-inline--fa{height:var(--aup-fa-icon-width)!important;left:var(--fa-icon-offset);position:absolute;top:var(--fa-icon-offset);width:var(--aup-fa-icon-width)!important}.mat-menu-panel aup-icon .svg-inline--fa{opacity:.54}:host{--resolved-card-background:var(--card-background,#fcfcfb);--resolved-card-gap:var(--card-gap,16px);--resolved-card-height:var(--card-height,auto);--resolved-card-min-height:var(--card-min-height,auto);--resolved-card-width:var(--card-width,300px);background:var(--resolved-card-background);display:block;flex:1}.card-container{box-sizing:border-box;display:-ms-grid;display:grid;grid-gap:var(--resolved-card-gap);grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(var(--resolved-card-min-height),var(--resolved-card-height)));max-width:100%;min-height:calc(var(--resolved-card-height) + 2*var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2*var(--resolved-card-gap));padding:var(--resolved-card-gap);width:calc((var(--resolved-card-width) + var(--resolved-card-gap))*2 + var(--grid-gap))}.add-card-container{align-items:center;background-color:hsla(0,0%,100%,.8);border:2px dashed rgba(0,0,0,.1);border-radius:6px;box-sizing:border-box;color:rgba(0,0,0,.54);cursor:pointer;display:flex;flex-direction:column;font-weight:300;height:var(--resolved-card-height);justify-content:center;min-height:var(--resolved-card-min-height);transition:all .28s cubic-bezier(.4,0,.2,1);width:var(--resolved-card-width)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{background-color:#fff;border-color:transparent;color:rgba(0,0,0,.54);transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{align-items:stretch;display:flex;flex-direction:column;height:var(--resolved-card-height);justify-content:stretch;width:var(--resolved-card-width)}"]
732
+ styles: [":root{--aup-default-background:#fff;--aup-default-padding:var(--default-padding,18px)}aup-activity-title{font-family:Roboto,Helvetica Neue,sans-serif;font-size:20px;letter-spacing:normal;line-height:32px;margin-bottom:var(--default-padding)}.router-outlet-container>*{bottom:0;left:0;position:absolute;right:0;top:0}[no-tab-header]>mat-tab-header{display:none}[full-height-tabs] .mat-tab-body-wrapper,mat-tab-group.full-height-tabs .mat-tab-body-wrapper{flex:1}[full-height-tabs] .mat-tab-body-wrapper .mat-tab-body-content,[full-height-tabs] .mat-tab-body-wrapper mat-tab-body,mat-tab-group.full-height-tabs .mat-tab-body-wrapper .mat-tab-body-content,mat-tab-group.full-height-tabs .mat-tab-body-wrapper mat-tab-body{display:flex;flex-direction:column;justify-content:stretch}.dialog-interaction-context,.dialog-interaction-context mat-dialog-container{max-height:95vh!important;max-width:95vw!important}.dialog-interaction-context mat-dialog-container{padding:0}.activity-outlet-wrapper{align-items:stretch;display:flex;flex-direction:column}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow .28s cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}.aup-input-component mat-form-field .mat-form-field-prefix{align-items:center;align-self:flex-end;display:inline-flex;flex-direction:row;height:35px}.aup-input-component mat-form-field .mat-form-field-suffix .mat-icon-button{line-height:2.5em}.aup-input-component.dense mat-form-field .mat-form-field-infix{border-top:none}.aup-input-component.dense mat-form-field .mat-form-field-flex{padding-top:0}.aup-input-component.dense mat-form-field .mat-form-field-wrapper{border-bottom:0;padding-bottom:0}.aup-input-component.dense mat-form-field .mat-form-field-underline{bottom:0}.aup-input-component.dense mat-form-field.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label-wrapper{display:none}.aup-input-component.dense mat-form-field.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(0)}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap,24px);--resolved-row-hover-background-color:var(--row-hover-background-color,rgba(0,0,0,0.05));--resolved-row-selected-background-color:var(--row-selected-background-color,rgba(0,0,255,0.04))}aup-table.hide-header .mat-table thead,aup-table .mat-table td.hide,aup-table .mat-table th.hide{display:none}aup-table .mat-table td.mat-cell:first-of-type,aup-table .mat-table td.mat-footer-cell:first-of-type,aup-table .mat-table th.mat-header-cell:first-of-type{padding-left:0}aup-table .mat-table tr.enable-hover:hover{background-color:var(--resolved-row-hover-background-color)}aup-table .mat-table tr.aup-row-selected,aup-table .mat-table tr.aup-row-selected.enable-hover:hover{background-color:var(--resolved-row-selected-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table .mat-table .mat-cell:not(.flex),aup-table .mat-table .mat-header-cell:not(.flex){white-space:nowrap;width:1px}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{align-items:stretch;display:flex;flex-direction:column;height:100%;justify-content:center;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{flex:1;padding-left:var(--default-column-gap)}:root{--aup-command-face-icon-gap:8px;--aup-fa-icon-width:18px;--aup-icon-width:24px}aup-icon{--fa-icon-offset:calc((var(--aup-icon-width) - var(--aup-fa-icon-width))/2);position:relative}aup-icon fa-icon .svg-inline--fa{height:var(--aup-fa-icon-width)!important;left:var(--fa-icon-offset);position:absolute;top:var(--fa-icon-offset);width:var(--aup-fa-icon-width)!important}.mat-menu-panel aup-icon .svg-inline--fa{opacity:.54}:host{--resolved-card-background:var(--card-background,#fcfcfb);--resolved-card-gap:var(--card-gap,16px);--resolved-card-height:var(--card-height,auto);--resolved-card-min-height:var(--card-min-height,auto);--resolved-card-width:var(--card-width,300px);background:var(--resolved-card-background);display:block;flex:1}.card-container{box-sizing:border-box;display:-ms-grid;display:grid;grid-gap:var(--resolved-card-gap);grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(var(--resolved-card-min-height),var(--resolved-card-height)));max-width:100%;min-height:calc(var(--resolved-card-height) + 2*var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2*var(--resolved-card-gap));padding:var(--resolved-card-gap);width:calc((var(--resolved-card-width) + var(--resolved-card-gap))*2 + var(--grid-gap))}.add-card-container{align-items:center;background-color:hsla(0,0%,100%,.8);border:2px dashed rgba(0,0,0,.1);border-radius:6px;box-sizing:border-box;color:rgba(0,0,0,.54);cursor:pointer;display:flex;flex-direction:column;font-weight:300;height:var(--resolved-card-height);justify-content:center;min-height:var(--resolved-card-min-height);transition:all .28s cubic-bezier(.4,0,.2,1);width:var(--resolved-card-width)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{background-color:#fff;border-color:transparent;color:rgba(0,0,0,.54);transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{align-items:stretch;display:flex;flex-direction:column;height:var(--resolved-card-height);justify-content:stretch;width:var(--resolved-card-width)}"]
733
733
  },] }
734
734
  ];
735
735
  CardContainerComponent.ctorParameters = function () { return []; };
@@ -1958,7 +1958,7 @@
1958
1958
  NumberInputComponent.decorators = [
1959
1959
  { type: i0.Component, args: [{
1960
1960
  selector: 'aup-number-input',
1961
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint && !dense\" >{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
1961
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint && !dense\" >{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n</mat-form-field>\n",
1962
1962
  styles: [""]
1963
1963
  },] }
1964
1964
  ];
@@ -1966,7 +1966,8 @@
1966
1966
  NumberInputComponent.propDecorators = {
1967
1967
  autocomplete: [{ type: i0.Input }],
1968
1968
  min: [{ type: i0.Input }],
1969
- max: [{ type: i0.Input }]
1969
+ max: [{ type: i0.Input }],
1970
+ iconPrefix: [{ type: i0.Input }]
1970
1971
  };
1971
1972
 
1972
1973
  var PasswordInputComponent = /** @class */ (function (_super) {
@@ -2052,7 +2053,7 @@
2052
2053
  StringInputComponent.decorators = [
2053
2054
  { type: i0.Component, args: [{
2054
2055
  selector: 'aup-string-input',
2055
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n",
2056
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n",
2056
2057
  styles: ["button[disabled]{visibility:hidden}"]
2057
2058
  },] }
2058
2059
  ];
@@ -2060,7 +2061,8 @@
2060
2061
  StringInputComponent.propDecorators = {
2061
2062
  autocomplete: [{ type: i0.Input }],
2062
2063
  enableClearModel: [{ type: i0.Input }],
2063
- enableClear: [{ type: i0.Input }]
2064
+ enableClear: [{ type: i0.Input }],
2065
+ iconPrefix: [{ type: i0.Input }]
2064
2066
  };
2065
2067
  __decorate([
2066
2068
  pectin.TrackExternal({ defaultValue: false }),
@@ -4307,6 +4309,59 @@
4307
4309
  __metadata("design:type", pectin.Command)
4308
4310
  ], VerticalFocusContainerComponent.prototype, "leftArrowCommand", void 0);
4309
4311
 
4312
+ var PaginatorComponent = /** @class */ (function (_super) {
4313
+ __extends(PaginatorComponent, _super);
4314
+ function PaginatorComponent() {
4315
+ return _super.call(this) || this;
4316
+ }
4317
+ PaginatorComponent.prototype.ngOnInit = function () {
4318
+ };
4319
+ Object.defineProperty(PaginatorComponent.prototype, "totalPages", {
4320
+ get: function () {
4321
+ return this.pageController.totalPages.value;
4322
+ },
4323
+ enumerable: false,
4324
+ configurable: true
4325
+ });
4326
+ Object.defineProperty(PaginatorComponent.prototype, "pageNumber", {
4327
+ get: function () {
4328
+ return this.pageController.pageNumber.value;
4329
+ },
4330
+ enumerable: false,
4331
+ configurable: true
4332
+ });
4333
+ Object.defineProperty(PaginatorComponent.prototype, "previousCommand", {
4334
+ get: function () {
4335
+ return this.pageController.previousCommand;
4336
+ },
4337
+ enumerable: false,
4338
+ configurable: true
4339
+ });
4340
+ Object.defineProperty(PaginatorComponent.prototype, "nextCommand", {
4341
+ get: function () {
4342
+ return this.pageController.nextCommand;
4343
+ },
4344
+ enumerable: false,
4345
+ configurable: true
4346
+ });
4347
+ return PaginatorComponent;
4348
+ }(DisposableComponent));
4349
+ PaginatorComponent.decorators = [
4350
+ { type: i0.Component, args: [{
4351
+ selector: 'aup-paginator',
4352
+ template: "<p>Page {{pageNumber}} of {{totalPages}}</p>\n<button mat-icon-button [pectinCommand]=\"previousCommand\"><aup-icon icon=\"mat:keyboard_arrow_left\"></aup-icon></button>\n<button mat-icon-button [pectinCommand]=\"nextCommand\"><aup-icon icon=\"mat:keyboard_arrow_right\"></aup-icon></button>\n\n",
4353
+ styles: [":host{align-items:center;color:rgba(0,0,0,.6);display:flex;flex-direction:row;font-size:12px;justify-content:flex-end;padding:0 8px}:host p{color:inherit;margin-right:8px}:host button.md-button.md-icon-button{height:30px;margin:0;padding:0;width:30px}"]
4354
+ },] }
4355
+ ];
4356
+ PaginatorComponent.ctorParameters = function () { return []; };
4357
+ PaginatorComponent.propDecorators = {
4358
+ pageController: [{ type: i0.Input }]
4359
+ };
4360
+ __decorate([
4361
+ pectin.TrackExternal(),
4362
+ __metadata("design:type", pectin.PageController)
4363
+ ], PaginatorComponent.prototype, "pageController", void 0);
4364
+
4310
4365
  var ComponentsModule = /** @class */ (function () {
4311
4366
  function ComponentsModule(faIconLibrary) {
4312
4367
  faIconLibrary.addIconPacks(freeSolidSvgIcons.fas);
@@ -4363,6 +4418,9 @@
4363
4418
  exports.IconComponent,
4364
4419
  BusyOverlayComponent,
4365
4420
  EmptyStateComponent,
4421
+ PaginatorComponent,
4422
+ exports.IconComponent,
4423
+ exports.IconComponent
4366
4424
  ],
4367
4425
  imports: [
4368
4426
  i2.CommonModule,
@@ -4420,6 +4478,7 @@
4420
4478
  TreeTableComponent,
4421
4479
  BusyOverlayComponent,
4422
4480
  EmptyStateComponent,
4481
+ PaginatorComponent,
4423
4482
  ],
4424
4483
  providers: [
4425
4484
  FocusBindingFactory
@@ -8957,6 +9016,7 @@
8957
9016
  exports.POPUP_CONTAINER = POPUP_CONTAINER;
8958
9017
  exports.PORTAL_EDITOR_COMPONENT = PORTAL_EDITOR_COMPONENT;
8959
9018
  exports.PORTAL_RENDERER_COMPONENT = PORTAL_RENDERER_COMPONENT;
9019
+ exports.PaginatorComponent = PaginatorComponent;
8960
9020
  exports.PasswordInputComponent = PasswordInputComponent;
8961
9021
  exports.Place = Place;
8962
9022
  exports.PlaceComponentDeactivationHandler = PlaceComponentDeactivationHandler;