eservices-core 1.0.323 → 1.0.326

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.
@@ -1,7 +1,7 @@
1
1
  import { ComputedRef, VNode } from "vue";
2
2
  import { FormParams } from "./Form";
3
3
  import { ListRowValues, TableRowController, Values, ValuesInterface } from "../types";
4
- import InterfaceForm from "./InterfaceForm";
4
+ import EventEmitter from "jenesius-event-emitter";
5
5
  export interface ListCell {
6
6
  title?: string;
7
7
  name?: string | string[];
@@ -17,7 +17,7 @@ export interface ListCell {
17
17
  export interface ListParams extends FormParams {
18
18
  config: ComputedRef<ListCell[]>;
19
19
  }
20
- export default class List extends InterfaceForm {
20
+ export default class List extends EventEmitter {
21
21
  static EVENT_ORDER: string;
22
22
  config: ComputedRef<ListCell[]>;
23
23
  array: {
@@ -1,5 +1,5 @@
1
1
  import { ListRowValues, TableController, Values, ValuesInterface } from "../types";
2
- import { ComputedRef, VNode } from "vue";
2
+ import { VNode } from "vue";
3
3
  import List, { ListCell, ListParams } from "./List";
4
4
  interface TableChanges {
5
5
  update: ValuesInterface[];
@@ -12,6 +12,8 @@ interface ValuesTableCellInterface extends ValuesInterface {
12
12
  export interface TableParams extends ListParams {
13
13
  }
14
14
  export default class Table extends List {
15
+ save: any;
16
+ read: any;
15
17
  /**
16
18
  * КАЖДЫЙ ЭЛЕМЕНТ, ХАРНЯЩИЙСЯ В ТАБЛИЦЕ ИМЕЕТ СВОЙ УНИКАЛЬНЫЙ ИНДЕКС
17
19
  * НЕ ЗАВЯЗАННЫЙ НА ИДЕНТИФИКАТОРЕ (ID). (Т.К ТАБЛИЦА МОЖЕТ СОДЕРЖАТЬ)
@@ -24,7 +26,7 @@ export default class Table extends List {
24
26
  * ЕСЛИ ОДИН ИЗ ЕЁ ЭЛЕМЕНТОВ ИЗМЕНЁН В CHANGES
25
27
  * ИЗМЕНЁН
26
28
  * */
27
- changed: ComputedRef<boolean>;
29
+ get changed(): number;
28
30
  /**
29
31
  * ИЗМЕНЕНИЕ ТАБЛИЦЫ
30
32
  * UPDATE - список объектов, которые нужно обновить. Главное условние -
package/dist/index.d.ts CHANGED
@@ -89,7 +89,9 @@ import WidgetBreadcrumbs from "./widgets/breadcrumbs/widget-breadcrumbs.vue";
89
89
  import WidgetCommunication from "./widgets/communication/widget-communication.vue";
90
90
  import WidgetList from "./widgets/tables/WidgetList.vue";
91
91
  import WidgetSection from "./widgets/section/widget-section.vue";
92
- export { WidgetBreadcrumbs, WidgetCommunication, WidgetList, WidgetSection };
92
+ import WidgetTableController from "./widgets/tables/table-with-form/widget-table-controller.vue";
93
+ import WidgetSpinner from "./widgets/spinner/WidgetSpinner.vue";
94
+ export { WidgetTableController, WidgetSpinner, WidgetBreadcrumbs, WidgetCommunication, WidgetList, WidgetSection };
93
95
  import valuesToUpperCase from "./utils/values-to-upper-case";
94
96
  declare const utils: {
95
97
  valuesToUpperCase: typeof valuesToUpperCase;
@@ -166,7 +168,6 @@ declare const _default: {
166
168
  Table: typeof Table;
167
169
  ErrorStorageSystem: typeof import("./classes/ErrorStorageSystem").default;
168
170
  form: {
169
- /**WIDGETS**/
170
171
  render: typeof import("./classes/ViewForm/render").default;
171
172
  };
172
173
  InterfaceWorker: typeof import("./classes/InterfaceWorker").default;