eservices-core 1.0.359 → 1.0.362

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
@@ -34,6 +34,7 @@ import ApplicationManager from "./classes/ApplicationManager";
34
34
  import NotificationSystem from "./classes/NotificationSystem";
35
35
  import { clickOutside, requestHandler } from "./utils";
36
36
  import valuesToUpperCase from "./utils/values-to-upper-case";
37
+ import { prettyDate, prettyDateWithTime } from "./utils/prettyDate";
37
38
  export { StylesInterface };
38
39
  import InterfaceContainer from "./widgets/interface/interface-container.vue";
39
40
  /**WIDGETS**/
@@ -66,7 +67,7 @@ export interface InterfaceUserPopupRecordRow {
66
67
  export interface LabelForm {
67
68
  title: string;
68
69
  icon?: string;
69
- type?: 'error' | 'warning' | 'correct';
70
+ type?: 'error' | 'warning' | 'correct' | 'inactive';
70
71
  }
71
72
  export interface CodeEntity {
72
73
  code: string;
@@ -104,13 +105,15 @@ export { ApplicationManager, NotificationSystem,
104
105
  /**
105
106
  * Some classes, test: 22.03.2022
106
107
  * */
107
- Table, Form, CoreError, List, ProcessWrap, ListCell };
108
+ Table, CoreError, List, ProcessWrap, ListCell };
108
109
  export { fileService, processWizardService, viewService, authService, dataService, communicationService, metadataService };
109
110
  export { WidgetNotificationSystem, WidgetForm, ModalValidation, WidgetTable, WidgetTableController, WidgetSpinner, WidgetBreadcrumbs, WidgetCommunication, WidgetList, WidgetSection, WidgetImage, WidgetButton };
110
111
  declare const utils: {
111
112
  clickOutside: typeof _utils.clickOutside;
112
113
  requestHandler: typeof _utils.requestHandler;
113
114
  valuesToUpperCase: typeof valuesToUpperCase;
115
+ prettyDate: typeof prettyDate;
116
+ prettyDateWithTime: typeof prettyDateWithTime;
114
117
  };
115
118
  export { utils };
116
119
  declare const _default: {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.359
2
+ * eservices-core v1.0.362
3
3
  * (c) 2022 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -1345,7 +1345,7 @@ var script$M = /*#__PURE__*/ vue.defineComponent({
1345
1345
  }
1346
1346
  });
1347
1347
 
1348
- var css_248z$I = "\n.form-titles[data-v-2673c95f]{\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\n}\n.form-label[data-v-2673c95f]{\r\n display: flex;\r\n gap: 10px;\r\n padding: 4px 7px;\r\n\r\n align-items: center;\n}\n.form-container-label[data-v-2673c95f]{\r\n margin: 0 0 0 6px;\n}\n.form-info[data-v-2673c95f]{\r\n color: #828282;\n}\n.form-label[data-v-2673c95f]{\r\n background-color: #FF6262;\r\n color: white;\r\n border-radius: 4px;\n}\n.form-title[data-v-2673c95f] {\r\n font-weight: bold;\r\n font-size: 18px;\r\n line-height: 25px;\n}\n.form-label__title[data-v-2673c95f]{\r\n margin: 0;\r\n line-height: 16px;\n}\n.form-label__icon[data-v-2673c95f]{\r\n height: 16px;\r\n font-size: 16px;\n}\r\n";
1348
+ var css_248z$I = "\n.form-titles[data-v-2673c95f]{\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\n}\n.form-label[data-v-2673c95f]{\r\n display: flex;\r\n gap: 10px;\r\n padding: 4px 7px;\r\n\r\n align-items: center;\n}\n.form-container-label[data-v-2673c95f]{\r\n margin: 0 0 0 6px;\n}\n.form-info[data-v-2673c95f]{\r\n color: #828282;\n}\n.form-label[data-v-2673c95f]{\r\n background-color: #FF6262;\r\n color: white;\r\n border-radius: 4px;\n}\n.form-title[data-v-2673c95f] {\r\n font-weight: bold;\r\n font-size: 18px;\r\n line-height: 25px;\n}\n.form-label__title[data-v-2673c95f]{\r\n margin: 0;\r\n line-height: 16px;\n}\n.form-label__icon[data-v-2673c95f]{\r\n height: 16px;\r\n font-size: 16px;\n}\n.form-label_inactive[data-v-2673c95f]{\r\n\t\tbackground-color: gray;\n}\n.form-label_correct[data-v-2673c95f] {\r\n\t\tbackground-color: green;\n}\n.form-label_warning[data-v-2673c95f] {\r\n\t\tbackground-color: yellow;\n}\n.form-label_error[data-v-2673c95f] {\r\n\t\tbackground-color: #FF6262;\n}\r\n";
1349
1349
  styleInject(css_248z$I);
1350
1350
 
1351
1351
  script$M.__scopeId = "data-v-2673c95f";
@@ -3167,7 +3167,7 @@ var script$z = /*#__PURE__*/ vue.defineComponent({
3167
3167
  }
3168
3168
  });
3169
3169
 
3170
- var css_248z$v = "\n.widget-list[data-v-929a676c]{\r\n width: 100%;\r\n border-collapse: collapse;\r\n table-layout: fixed;\n}\n.widget-list-cell[data-v-929a676c]:nth-child(2n){\r\n background-color: #F3F4FC;\n}\r\n\r\n";
3170
+ var css_248z$v = "\n.widget-list[data-v-929a676c]{\r\n\t\tmin-width: 100%;\r\n border-collapse: collapse;\r\n table-layout: fixed;\n}\n.widget-list-cell[data-v-929a676c]:nth-child(2n){\r\n background-color: #F3F4FC;\n}\r\n\r\n";
3171
3171
  styleInject(css_248z$v);
3172
3172
 
3173
3173
  script$z.__scopeId = "data-v-929a676c";
@@ -6096,7 +6096,9 @@ script.__file = "core/widgets/interface/interface-container.vue";
6096
6096
  const utils = {
6097
6097
  clickOutside,
6098
6098
  requestHandler,
6099
- valuesToUpperCase
6099
+ valuesToUpperCase,
6100
+ prettyDate,
6101
+ prettyDateWithTime
6100
6102
  };
6101
6103
  var index = {
6102
6104
  services,
@@ -6111,7 +6113,6 @@ var index = {
6111
6113
 
6112
6114
  exports.ApplicationManager = ApplicationManager;
6113
6115
  exports.CoreError = CoreError;
6114
- exports.Form = Form;
6115
6116
  exports.InterfaceContainer = script;
6116
6117
  exports.List = List;
6117
6118
  exports.ModalValidation = script$b;
@@ -53,6 +53,7 @@ interface TableCellInterface {
53
53
  type?: "date" | "dateWithTime" | 'toggle' | 'select';
54
54
  icon?: string;
55
55
  class?: string | string[];
56
+ style?: string;
56
57
  onClick?: (x: Values, obj: TableRowController) => void;
57
58
  edit?: boolean;
58
59
  delete?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.359",
3
+ "version": "1.0.362",
4
4
  "description": "----",
5
5
  "author": "",
6
6
  "scripts": {