eservices-core 1.0.364 → 1.0.367

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.
@@ -35,7 +35,7 @@ export default class List extends EventEmitter {
35
35
  * @param {ListCell[]} config - конфигурация списка
36
36
  * @param {ListRowValues} rowValues - значения для одной строки
37
37
  * */
38
- static getRow(config: ListCell[], rowValues: ListRowValues, list?: List): VNode;
38
+ static getRow(config: ListCell[], rowValues: ListRowValues, list?: List): VNode | VNode[];
39
39
  /**
40
40
  * @return { {name: string, value: any} } CellInfo
41
41
  * */
@@ -54,7 +54,7 @@ export default class Table extends List {
54
54
  modifierDataCreate: any;
55
55
  constructor(props: TableParams);
56
56
  static getCell(cellConfig: ListCell, rowValues: ListRowValues, cellName: string | null, cellValue: Values, table: Table): VNode[];
57
- static getRow(config: ListCell[], rowValues: ListRowValues, table: Table): VNode;
57
+ static getRow(config: ListCell[], rowValues: ListRowValues, table: Table): VNode | VNode[];
58
58
  _getCell(values: ValuesTableCellInterface): any;
59
59
  set componentForm(component: any);
60
60
  /**
package/dist/index.d.ts CHANGED
@@ -3,11 +3,10 @@ import * as mixins from "./mixins";
3
3
  import config from "./config";
4
4
  import * as types from "./types";
5
5
  import Table from "./classes/Table";
6
- import Form from "./classes/Form";
7
6
  import "./../styles/index.css";
8
- import { Component } from "vue";
9
7
  import StylesInterface from "./styles/types";
10
8
  import { Values } from "./types";
9
+ import Icon from "./widgets/icons/Icon.vue";
11
10
  import WidgetBreadcrumbs from "./widgets/breadcrumbs/widget-breadcrumbs.vue";
12
11
  import WidgetCommunication from "./widgets/communication/widget-communication.vue";
13
12
  import WidgetList from "./widgets/tables/WidgetList.vue";
@@ -21,6 +20,8 @@ import WidgetNotificationSystem from "./widgets/errorSystem/default/WidgetNotifi
21
20
  import WidgetImage from "./widgets/image/widget-image.vue";
22
21
  import WidgetButton from "./widgets/buttons/WidgetButton.vue";
23
22
  import WidgetNotFound from "./widgets/notFound/WidgetNotFound.vue";
23
+ import InterfaceContainer from "./widgets/interface/interface-container.vue";
24
+ import WidgetCard from "./widgets/cards/widget-card.vue";
24
25
  import authService from "./services/AuthService";
25
26
  import dataService from "./services/data-service";
26
27
  import { CommunicationService as communicationService } from "./services/communication-service";
@@ -37,13 +38,6 @@ import { clickOutside, requestHandler } from "./utils";
37
38
  import valuesToUpperCase from "./utils/values-to-upper-case";
38
39
  import { prettyDate, prettyDateWithTime } from "./utils/prettyDate";
39
40
  export { StylesInterface };
40
- import InterfaceContainer from "./widgets/interface/interface-container.vue";
41
- /**WIDGETS**/
42
- export { InterfaceContainer };
43
- export interface StepRecordRow {
44
- next?: () => Promise<any>;
45
- component?: Component;
46
- }
47
41
  export interface NavigationRecordRow {
48
42
  title: string;
49
43
  icon?: string;
@@ -55,11 +49,6 @@ export interface InterfaceBreadcrumb {
55
49
  link: any;
56
50
  title: string;
57
51
  }
58
- export interface InterfaceNotificationRecordRow {
59
- title?: string;
60
- icon: string;
61
- count: number;
62
- }
63
52
  export interface InterfaceUserPopupRecordRow {
64
53
  title: string;
65
54
  icon: string;
@@ -74,12 +63,6 @@ export interface CodeEntity {
74
63
  code: string;
75
64
  name: string;
76
65
  }
77
- export declare type ContextProfileKey = number;
78
- export interface ContextProfile {
79
- name: string;
80
- id: ContextProfileKey | null;
81
- photo: string | null;
82
- }
83
66
  export interface ValuesInterface {
84
67
  [name: string]: Values;
85
68
  }
@@ -102,13 +85,9 @@ clickOutside,
102
85
  * @deprecated
103
86
  * */
104
87
  requestHandler };
105
- export { ApplicationManager, NotificationSystem,
106
- /**
107
- * Some classes, test: 22.03.2022
108
- * */
109
- Table, CoreError, List, ProcessWrap, ListCell };
88
+ export { ApplicationManager, NotificationSystem, Table, CoreError, List, ProcessWrap, ListCell };
110
89
  export { fileService, processWizardService, viewService, authService, dataService, communicationService, metadataService };
111
- export { WidgetNotificationSystem, WidgetForm, ModalValidation, WidgetTable, WidgetTableController, WidgetSpinner, WidgetBreadcrumbs, WidgetCommunication, WidgetList, WidgetSection, WidgetImage, WidgetButton, WidgetNotFound };
90
+ export { WidgetNotificationSystem, WidgetForm, ModalValidation, WidgetTable, WidgetTableController, WidgetSpinner, WidgetBreadcrumbs, WidgetCommunication, WidgetList, WidgetSection, WidgetImage, WidgetButton, WidgetNotFound, InterfaceContainer as WidgetInterfaceContainer, Icon as WidgetIcon, WidgetCard };
112
91
  declare const utils: {
113
92
  clickOutside: typeof _utils.clickOutside;
114
93
  requestHandler: typeof _utils.requestHandler;
@@ -182,7 +161,7 @@ declare const _default: {
182
161
  StepWorker: typeof import("./classes/StepWorker").default;
183
162
  Errors: typeof CoreError;
184
163
  CoreError: typeof CoreError;
185
- Form: typeof Form;
164
+ Form: typeof import("./classes/Form").default;
186
165
  ListWorker: typeof import("./classes/ListWorker").default;
187
166
  ViewForm: typeof import("./classes/ViewForm/ViewForm").ViewForm;
188
167
  Table: typeof Table;