eservices-core 1.0.306 → 1.0.309

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
@@ -62,6 +62,8 @@ export interface ButtonRow {
62
62
  title: string;
63
63
  callback: () => any;
64
64
  }
65
+ import { clickOutside } from "./utils";
66
+ export { clickOutside };
65
67
  import CoreError from "./classes/CoreError";
66
68
  import List, { ListCell } from "./classes/List";
67
69
  import ProcessWrap from "./classes/ProcessWrap";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.306
2
+ * eservices-core v1.0.309
3
3
  * (c) 2022 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -2901,7 +2901,6 @@ function useListState(list) {
2901
2901
  list.on(List.EVENT_ORDER, ({ field, direction }) => {
2902
2902
  state.order.field = field;
2903
2903
  state.order.direction = direction;
2904
- list.read();
2905
2904
  });
2906
2905
  vue.onUnmounted(() => {
2907
2906
  });
@@ -3228,6 +3227,9 @@ class dataService {
3228
3227
  });
3229
3228
  });
3230
3229
  }
3230
+ /**
3231
+ * @deprecated
3232
+ * */
3231
3233
  static update(entity, id, values, options = {}) {
3232
3234
  return __awaiter(this, void 0, void 0, function* () {
3233
3235
  const result = yield Request(`/close-api/data/${entity}/${id}`, {
@@ -5828,6 +5830,7 @@ exports.WidgetBreadcrumbs = script$6;
5828
5830
  exports.WidgetCommunication = script;
5829
5831
  exports.WidgetList = script$u;
5830
5832
  exports.authService = authService;
5833
+ exports.clickOutside = clickOutside;
5831
5834
  exports.communicationService = CommunicationService;
5832
5835
  exports.dataService = dataService;
5833
5836
  exports["default"] = index;
@@ -41,6 +41,9 @@ export default class dataService {
41
41
  * МЕТОД ДЛЯ СОЗДАНИЯ СУЩНОСТИ
42
42
  * */
43
43
  static create(entity: string, values: ValuesInterface): Promise<any>;
44
+ /**
45
+ * @deprecated
46
+ * */
44
47
  static update(entity: string, id: number, values: ValuesInterface, options?: UpdateOptions): Promise<UpdateResponse>;
45
48
  static delete(entity: string, id: number): Promise<void>;
46
49
  static test(): Promise<Response>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.306",
3
+ "version": "1.0.309",
4
4
  "description": "----",
5
5
  "author": "",
6
6
  "scripts": {