@decaf-ts/for-angular 0.0.84 → 0.0.85

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.
@@ -2789,7 +2789,8 @@ var operations = {
2789
2789
  multiple: {
2790
2790
  success: "Successfully processed all operations.",
2791
2791
  error: "Error processing operations."
2792
- }
2792
+ },
2793
+ processing: "Processing {0}..."
2793
2794
  };
2794
2795
  var component = {
2795
2796
  crud_form: {
@@ -4287,7 +4288,7 @@ class NgxComponentDirective extends NgxRepositoryDirective {
4287
4288
  this._repository = repository;
4288
4289
  if (this.model && !this.pk)
4289
4290
  this.pk = pk;
4290
- this.pkType = pkType || Model.pk(repository.class);
4291
+ this.pkType = pkType;
4291
4292
  if (!this.modelName)
4292
4293
  this.modelName = repository.class.name;
4293
4294
  }
@@ -11927,8 +11928,8 @@ let ListComponent = class ListComponent extends NgxComponentDirective {
11927
11928
  parseConditions(value) {
11928
11929
  let _condition;
11929
11930
  const model = this.model;
11930
- if (typeof value === Primitives.STRING || !isNaN(value)) {
11931
- _condition = Condition.attribute(this.pk).eq(!isNaN(value) ? Number(value) : value);
11931
+ if (typeof value === Primitives.STRING) {
11932
+ _condition = Condition.attribute(this.pk).eq(this.pkType.toLocaleLowerCase() === Primitives.STRING ? value : Number(value));
11932
11933
  for (const index of this.indexes) {
11933
11934
  if (index === this.pk)
11934
11935
  continue;