@valtimo/connector-management 4.18.0 → 4.21.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 (46) hide show
  1. package/bundles/valtimo-connector-management.umd.js +18 -12
  2. package/bundles/valtimo-connector-management.umd.js.map +1 -1
  3. package/bundles/valtimo-connector-management.umd.min.js +1 -1
  4. package/bundles/valtimo-connector-management.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/add-connector/add-connector.component.js +1 -1
  6. package/esm2015/lib/components/connector-link-extension/connector-link-extension.component.js +1 -1
  7. package/esm2015/lib/components/connector-link-extension-modal/connector-link-extension-modal.component.js +1 -1
  8. package/esm2015/lib/components/connector-management/connector-management.component.js +1 -1
  9. package/esm2015/lib/components/connector-modal/connector-modal.component.js +1 -1
  10. package/esm2015/lib/components/edit-connector-form/edit-connector-form.component.js +1 -1
  11. package/esm2015/lib/components/edit-connector-properties/edit-connector-properties.component.js +1 -1
  12. package/esm2015/lib/components/edit-product-aanvragen-connector/edit-product-aanvragen-connector.component.js +7 -5
  13. package/esm2015/lib/components/edit-product-aanvragen-connector/edit-product-aanvragen-connector.form.js +1 -1
  14. package/esm2015/lib/components/edit-taak-connector/edit-taak-connector.component.js +11 -7
  15. package/esm2015/lib/components/edit-taak-connector/edit-taak-connector.form.js +4 -4
  16. package/esm2015/lib/components/modify-connector/modify-connector.component.js +1 -1
  17. package/esm2015/lib/components/multi-value-connector-property/multi-value-connector-property.component.js +1 -1
  18. package/esm2015/lib/connector-management-routing.js +1 -1
  19. package/esm2015/lib/connector-management.module.js +1 -1
  20. package/esm2015/lib/extension/connector-management.extension.init.js +1 -1
  21. package/esm2015/lib/models/index.js +1 -2
  22. package/esm2015/lib/models/object-sync.js +1 -1
  23. package/esm2015/lib/services/connector-management/connector-management.service.js +2 -2
  24. package/esm2015/lib/services/connector-management-state/connector-management-state.service.js +1 -1
  25. package/esm2015/lib/services/object-api-sync/object-api-sync.service.js +1 -1
  26. package/esm2015/public-api.js +1 -1
  27. package/esm2015/valtimo-connector-management.js +1 -1
  28. package/fesm2015/valtimo-connector-management.js +18 -12
  29. package/fesm2015/valtimo-connector-management.js.map +1 -1
  30. package/lib/components/add-connector/add-connector.component.d.ts +1 -1
  31. package/lib/components/connector-link-extension-modal/connector-link-extension-modal.component.d.ts +1 -1
  32. package/lib/components/connector-management/connector-management.component.d.ts +1 -1
  33. package/lib/components/connector-modal/connector-modal.component.d.ts +1 -1
  34. package/lib/components/edit-connector-form/edit-connector-form.component.d.ts +1 -1
  35. package/lib/components/edit-connector-properties/edit-connector-properties.component.d.ts +1 -1
  36. package/lib/components/edit-product-aanvragen-connector/edit-product-aanvragen-connector.component.d.ts +1 -1
  37. package/lib/components/edit-taak-connector/edit-taak-connector.component.d.ts +1 -1
  38. package/lib/components/modify-connector/modify-connector.component.d.ts +1 -1
  39. package/lib/components/multi-value-connector-property/multi-value-connector-property.component.d.ts +1 -1
  40. package/lib/models/index.d.ts +0 -1
  41. package/lib/services/connector-management/connector-management.service.d.ts +1 -2
  42. package/lib/services/connector-management-state/connector-management-state.service.d.ts +1 -1
  43. package/package.json +1 -1
  44. package/valtimo-connector-management.metadata.json +1 -1
  45. package/esm2015/lib/models/connector.model.js +0 -1
  46. package/lib/models/connector.model.d.ts +0 -36
@@ -1715,7 +1715,8 @@
1715
1715
  };
1716
1716
  EditProductAanvragenConnectorComponent.prototype.loadConnectorNames = function () {
1717
1717
  var _this = this;
1718
- this.connectorManagementService.getConnectorTypes()
1718
+ this.connectorManagementService
1719
+ .getConnectorTypes()
1719
1720
  .pipe(operators.tap(function (res) {
1720
1721
  res.forEach(function (connectorType) {
1721
1722
  if (connectorType.name === 'ObjectsApi') {
@@ -1729,8 +1730,9 @@
1729
1730
  .subscribe();
1730
1731
  };
1731
1732
  EditProductAanvragenConnectorComponent.prototype.loadConnectorNamesByType = function (windowKey, connectorTypeId) {
1732
- this.connectorManagementService.getConnectorInstancesByType(connectorTypeId)
1733
- .pipe(operators.map(function (res) { return window[windowKey] = res.content.map(function (connector) { return connector.name; }); }))
1733
+ this.connectorManagementService
1734
+ .getConnectorInstancesByType(connectorTypeId)
1735
+ .pipe(operators.map(function (res) { return (window[windowKey] = res.content.map(function (connector) { return connector.name; })); }))
1734
1736
  .subscribe();
1735
1737
  };
1736
1738
  return EditProductAanvragenConnectorComponent;
@@ -1802,9 +1804,9 @@
1802
1804
  };
1803
1805
 
1804
1806
  var ɵ0$2 = {
1805
- custom: 'values = window[\'openNotificatieConnectorNames\'] || []',
1807
+ custom: "values = window['openNotificatieConnectorNames'] || []",
1806
1808
  }, ɵ1$1 = {
1807
- custom: 'values = window[\'objectApiConnectorNames\'] || []',
1809
+ custom: "values = window['objectApiConnectorNames'] || []",
1808
1810
  };
1809
1811
  var editTaakConnectorForm = {
1810
1812
  components: [
@@ -1858,7 +1860,7 @@
1858
1860
  input: true,
1859
1861
  label: 'connectorManagement.save',
1860
1862
  tableView: false,
1861
- disableOnInvalid: true
1863
+ disableOnInvalid: true,
1862
1864
  },
1863
1865
  ],
1864
1866
  };
@@ -1914,7 +1916,8 @@
1914
1916
  };
1915
1917
  EditTaakConnectorComponent.prototype.prefillForm = function () {
1916
1918
  var _this = this;
1917
- rxjs.timer(100).pipe(operators.tap(function () {
1919
+ rxjs.timer(100)
1920
+ .pipe(operators.tap(function () {
1918
1921
  if (_this.defaultName !== undefined) {
1919
1922
  var properties = lodash.cloneDeep(_this.properties);
1920
1923
  var submission = {};
@@ -1923,14 +1926,16 @@
1923
1926
  submission.connectorName = _this.defaultName;
1924
1927
  _this.refreshForm({ submission: { data: submission } });
1925
1928
  }
1926
- })).subscribe();
1929
+ }))
1930
+ .subscribe();
1927
1931
  };
1928
1932
  EditTaakConnectorComponent.prototype.refreshForm = function (refreshValue) {
1929
1933
  this.formRefresh$.next(refreshValue);
1930
1934
  };
1931
1935
  EditTaakConnectorComponent.prototype.loadConnectorNames = function () {
1932
1936
  var _this = this;
1933
- this.connectorManagementService.getConnectorTypes()
1937
+ this.connectorManagementService
1938
+ .getConnectorTypes()
1934
1939
  .pipe(operators.tap(function (res) {
1935
1940
  res.forEach(function (connectorType) {
1936
1941
  if (connectorType.name === 'ObjectsApi') {
@@ -1944,8 +1949,9 @@
1944
1949
  .subscribe();
1945
1950
  };
1946
1951
  EditTaakConnectorComponent.prototype.loadConnectorNamesByType = function (windowKey, connectorTypeId) {
1947
- this.connectorManagementService.getConnectorInstancesByType(connectorTypeId)
1948
- .pipe(operators.map(function (res) { return window[windowKey] = res.content.map(function (connector) { return connector.name; }); }))
1952
+ this.connectorManagementService
1953
+ .getConnectorInstancesByType(connectorTypeId)
1954
+ .pipe(operators.map(function (res) { return (window[windowKey] = res.content.map(function (connector) { return connector.name; })); }))
1949
1955
  .subscribe();
1950
1956
  };
1951
1957
  return EditTaakConnectorComponent;
@@ -1953,7 +1959,7 @@
1953
1959
  EditTaakConnectorComponent.decorators = [
1954
1960
  { type: i0.Component, args: [{
1955
1961
  selector: 'valtimo-edit-taak-connector',
1956
- template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div\n *ngIf=\"translatedFormDefinition$ | async as definition\"\n class=\"edit-taak\"\n [ngClass]=\"{'has-delete': showDeleteButton}\"\n>\n <valtimo-form-io\n [form]=\"definition\"\n [formRefresh$]=\"formRefresh$\"\n [options]=\"options\"\n (submit)=\"onSubmit($event)\"\n >\n </valtimo-form-io>\n\n <button *ngIf=\"showDeleteButton\" class=\"btn btn-danger btn-space\" (click)=\"onDelete()\">\n <i class=\"icon mdi mdi-delete mr-1\"></i>\n {{ 'connectorManagement.remove' | translate }}\n </button>\n</div>\n\n",
1962
+ template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div\n *ngIf=\"translatedFormDefinition$ | async as definition\"\n class=\"edit-taak\"\n [ngClass]=\"{'has-delete': showDeleteButton}\"\n>\n <valtimo-form-io\n [form]=\"definition\"\n [formRefresh$]=\"formRefresh$\"\n [options]=\"options\"\n (submit)=\"onSubmit($event)\"\n >\n </valtimo-form-io>\n\n <button *ngIf=\"showDeleteButton\" class=\"btn btn-danger btn-space\" (click)=\"onDelete()\">\n <i class=\"icon mdi mdi-delete mr-1\"></i>\n {{ 'connectorManagement.remove' | translate }}\n </button>\n</div>\n",
1957
1963
  styles: ["/*!\n * Copyright 2015-2022 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.edit-taak ::ng-deep .list-inline{display:flex;flex-direction:row;justify-content:flex-end}.edit-taak .btn-danger{bottom:35px;position:absolute}"]
1958
1964
  },] }
1959
1965
  ];