eservices-core 1.0.496 → 1.0.497

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.
package/dist/index.d.ts CHANGED
@@ -41,6 +41,7 @@ import fileService from "./services/FileService";
41
41
  import invitationService from "./services/invitation-service";
42
42
  import ruleValidationService from "./services/rule-validation-service";
43
43
  import openService from "./services/open-service";
44
+ import actionService from "./services/action-service";
44
45
  import CoreError from "./classes/CoreError";
45
46
  import ProcessWrap from "./classes/ProcessWrap";
46
47
  import { ApplicationManager, Manager, useManagerState } from "./classes/ApplicationManager";
@@ -77,7 +78,7 @@ clickOutside,
77
78
  * */
78
79
  requestHandler, useSocket, setupSocket, };
79
80
  export { ApplicationManager, Manager, NotificationSystem, Table, CoreError, List, ProcessWrap, ListCell, Communication, ListConfig };
80
- export { fileService, processWizardService, viewService, authService, dataService, communicationService, metadataService, invitationService, ruleValidationService, openService };
81
+ export { fileService, processWizardService, viewService, authService, dataService, communicationService, metadataService, invitationService, ruleValidationService, openService, actionService };
81
82
  /**
82
83
  * HOOKS
83
84
  * */
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.496
2
+ * eservices-core v1.0.497
3
3
  * (c) 2023 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -4885,6 +4885,22 @@ class openService {
4885
4885
  }
4886
4886
  }
4887
4887
 
4888
+ class ActionService {
4889
+ static url() {
4890
+ return `/close-api/actions`;
4891
+ }
4892
+ static get({ criterion }) {
4893
+ return __awaiter(this, void 0, void 0, function* () {
4894
+ const urlParams = new URLSearchParams();
4895
+ if (criterion)
4896
+ urlParams.append('criterion', criterion);
4897
+ return yield fetch(this.url() + `?${urlParams.toString()}`, {
4898
+ method: "GET",
4899
+ }).then(res => res.json());
4900
+ });
4901
+ }
4902
+ }
4903
+
4888
4904
  class clientService {
4889
4905
  static getClientData() {
4890
4906
  return Request('/close-api/client-content');
@@ -5293,22 +5309,6 @@ function useFormMetadata(form, rules, id) {
5293
5309
  });
5294
5310
  }
5295
5311
 
5296
- class ActionService {
5297
- static url() {
5298
- return `/close-api/actions`;
5299
- }
5300
- static get({ criterion }) {
5301
- return __awaiter(this, void 0, void 0, function* () {
5302
- const urlParams = new URLSearchParams();
5303
- if (criterion)
5304
- urlParams.append('criterion', criterion);
5305
- return yield fetch(this.url() + `?${urlParams.toString()}`, {
5306
- method: "GET",
5307
- }).then(res => res.json());
5308
- });
5309
- }
5310
- }
5311
-
5312
5312
  class WrapError extends Error {
5313
5313
  static UndefinedStatus() {
5314
5314
  return new WrapError('Status is undefined.');
@@ -5653,6 +5653,7 @@ exports.WidgetSection = script$e;
5653
5653
  exports.WidgetShadowForm = script;
5654
5654
  exports.WidgetSpinner = script$y;
5655
5655
  exports.WidgetTable = script$a;
5656
+ exports.actionService = ActionService;
5656
5657
  exports.authService = authService;
5657
5658
  exports.clickOutside = clickOutside;
5658
5659
  exports.communicationService = communicationService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.496",
3
+ "version": "1.0.497",
4
4
  "description": "Core library",
5
5
  "author": "",
6
6
  "scripts": {