@coolon/angular-ui-powerups 3.5.3 → 3.6.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 (28) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +20 -7
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  8. package/esm2015/lib/components/forms/number-input/number-input.component.js +2 -3
  9. package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
  10. package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
  11. package/esm2015/lib/components/forms/password-input/password-input.component.js +5 -4
  12. package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
  13. package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +1 -1
  14. package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
  15. package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
  16. package/esm2015/lib/components/forms/string-input/string-input.component.js +2 -1
  17. package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
  18. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  19. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +12 -0
  20. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  21. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
  22. package/fesm2015/coolon-angular-ui-powerups.js +20 -7
  23. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  24. package/lib/components/forms/number-input/number-input.component.d.ts +1 -0
  25. package/lib/components/forms/password-input/password-input.component.d.ts +1 -0
  26. package/lib/components/forms/string-input/string-input.component.d.ts +1 -0
  27. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +12 -0
  28. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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.6.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.5.3...v3.6.0) (2020-12-09)
6
+
7
+
8
+ ### Features
9
+
10
+ * added autocomplete attributes ([bfd79fe](https://bitbucket.org/coolon/angular-ui-powerups/commit/bfd79fe73711d16e6e24f39b9930626a987ac50f))
11
+
5
12
  ### [3.5.3](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.5.2...v3.5.3) (2020-12-02)
6
13
 
7
14
  ### [3.5.2](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.5.1...v3.5.2) (2020-11-28)
@@ -2134,8 +2134,6 @@
2134
2134
  __extends(NumberInputComponent, _super);
2135
2135
  function NumberInputComponent() {
2136
2136
  var _this = _super.call(this) || this;
2137
- // @Input() @TrackExternal({ delegateTo: 'inputModel' })
2138
- // valueModel: Form.ValueModelBase<number> | MutableValueModel<number>;
2139
2137
  _this.min = Number.MIN_SAFE_INTEGER;
2140
2138
  _this.max = Number.MAX_SAFE_INTEGER;
2141
2139
  return _this;
@@ -2147,20 +2145,19 @@
2147
2145
  NumberInputComponent.decorators = [
2148
2146
  { type: i0.Component, args: [{
2149
2147
  selector: 'aup-number-input',
2150
- 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 [(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",
2148
+ 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",
2151
2149
  styles: [""]
2152
2150
  },] }
2153
2151
  ];
2154
2152
  NumberInputComponent.ctorParameters = function () { return []; };
2155
2153
  NumberInputComponent.propDecorators = {
2154
+ autocomplete: [{ type: i0.Input }],
2156
2155
  min: [{ type: i0.Input }],
2157
2156
  max: [{ type: i0.Input }]
2158
2157
  };
2159
2158
 
2160
2159
  var PasswordInputComponent = /** @class */ (function (_super) {
2161
2160
  __extends(PasswordInputComponent, _super);
2162
- // @Input() @TrackExternal({ delegateTo: 'inputModel' })
2163
- // valueModel: Form.ValueModelBase<string> | MutableValueModel<string>;
2164
2161
  function PasswordInputComponent() {
2165
2162
  return _super.call(this) || this;
2166
2163
  }
@@ -2171,11 +2168,14 @@
2171
2168
  PasswordInputComponent.decorators = [
2172
2169
  { type: i0.Component, args: [{
2173
2170
  selector: 'aup-password-input',
2174
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"password\"\n matInput\n placeholder=\"{{placeholder}}\"\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</mat-form-field>\n\n",
2171
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"password\"\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 >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n",
2175
2172
  styles: [""]
2176
2173
  },] }
2177
2174
  ];
2178
2175
  PasswordInputComponent.ctorParameters = function () { return []; };
2176
+ PasswordInputComponent.propDecorators = {
2177
+ autocomplete: [{ type: i0.Input }]
2178
+ };
2179
2179
 
2180
2180
  /**
2181
2181
  * Using templates:
@@ -2239,12 +2239,13 @@
2239
2239
  StringInputComponent.decorators = [
2240
2240
  { type: i0.Component, args: [{
2241
2241
  selector: 'aup-string-input',
2242
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\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",
2242
+ 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",
2243
2243
  styles: ["button[disabled]{visibility:hidden}"]
2244
2244
  },] }
2245
2245
  ];
2246
2246
  StringInputComponent.ctorParameters = function () { return []; };
2247
2247
  StringInputComponent.propDecorators = {
2248
+ autocomplete: [{ type: i0.Input }],
2248
2249
  enableClearModel: [{ type: i0.Input }],
2249
2250
  enableClear: [{ type: i0.Input }]
2250
2251
  };
@@ -4603,6 +4604,18 @@
4603
4604
  InteractionService.ApiAdapter = ApiAdapter;
4604
4605
  })(exports.InteractionService || (exports.InteractionService = {}));
4605
4606
 
4607
+ /**
4608
+ * @example
4609
+ * <aup-in-place-interaction-context #inPlaceInteractionContext>
4610
+ *
4611
+ * </aup-in-place-interaction-context>
4612
+ *
4613
+ * in your component
4614
+ * @ViewChild('inPlaceInteractionContext', { static: true })
4615
+ * interactionContext: InteractionContext;
4616
+ *
4617
+ *
4618
+ */
4606
4619
  var InPlaceInteractionContextComponent = /** @class */ (function (_super) {
4607
4620
  __extends(InPlaceInteractionContextComponent, _super);
4608
4621
  function InPlaceInteractionContextComponent(interactionService, tabConfig) {