eservices-core 1.0.383 → 1.0.385
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/hooks/use-form-action.d.ts +8 -0
- package/dist/hooks/use-form-label.d.ts +8 -0
- package/dist/hooks/use-form-metadata.d.ts +2 -0
- package/dist/hooks/use-form-request-data.d.ts +13 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.js +962 -757
- package/dist/services/presentation-service.d.ts +9 -0
- package/dist/widgets/shadow-form/WidgetShadowForm.vue.d.ts +14 -0
- package/package.json +4 -4
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Form } from "jenesius-vue-form";
|
|
2
|
+
export default function useFormRequestData(form: Form, options: {
|
|
3
|
+
fields: string | string[];
|
|
4
|
+
}): {
|
|
5
|
+
formShadowState: {
|
|
6
|
+
ready: boolean;
|
|
7
|
+
show: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export interface IShadowState {
|
|
11
|
+
ready: boolean;
|
|
12
|
+
show: boolean;
|
|
13
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import InterfaceContainer from "./widgets/interface/interface-container.vue";
|
|
|
25
25
|
import WidgetCard from "./widgets/cards/widget-card.vue";
|
|
26
26
|
import WidgetWizard from "./widgets/wizard/WidgetWizard.vue";
|
|
27
27
|
import WidgetMultiButton from "./widgets/buttons/multi-button/WidgetMultiButton.vue";
|
|
28
|
+
import WidgetShadowForm from "./widgets/shadow-form/WidgetShadowForm.vue";
|
|
28
29
|
import authService from "./services/AuthService";
|
|
29
30
|
import dataService from "./services/data-service";
|
|
30
31
|
import { CommunicationService as communicationService } from "./services/communication-service";
|
|
@@ -40,6 +41,10 @@ import NotificationSystem from "./classes/NotificationSystem";
|
|
|
40
41
|
import { clickOutside, requestHandler } from "./utils";
|
|
41
42
|
import valuesToUpperCase from "./utils/values-to-upper-case";
|
|
42
43
|
import { prettyDate, prettyDateWithTime } from "./utils/prettyDate";
|
|
44
|
+
import useFormMetadata from "./hooks/use-form-metadata";
|
|
45
|
+
import useFormAction from "./hooks/use-form-action";
|
|
46
|
+
import useFormLabel from "./hooks/use-form-label";
|
|
47
|
+
import useFormRequestData from "./hooks/use-form-request-data";
|
|
43
48
|
export { StylesInterface };
|
|
44
49
|
export interface NavigationRecordRow {
|
|
45
50
|
title: string;
|
|
@@ -90,6 +95,10 @@ clickOutside,
|
|
|
90
95
|
requestHandler, useSocket, setupSocket };
|
|
91
96
|
export { ApplicationManager, NotificationSystem, Table, CoreError, List, ProcessWrap, ListCell };
|
|
92
97
|
export { fileService, processWizardService, viewService, authService, dataService, communicationService, metadataService };
|
|
98
|
+
/**
|
|
99
|
+
* HOOKS
|
|
100
|
+
* */
|
|
101
|
+
export { useFormMetadata, useFormAction, useFormLabel, useFormRequestData };
|
|
93
102
|
/**
|
|
94
103
|
* All components binding with VueComponents must have name started with Widget.
|
|
95
104
|
* */
|
|
@@ -98,7 +107,7 @@ export { WidgetNotificationSystem, WidgetForm, ModalValidation, WidgetTable, Wid
|
|
|
98
107
|
* @deprecated We must use own WidgetIcon in custom project. Rewrite WidgetIcon to CoreIcon and use only inside Core
|
|
99
108
|
* components.
|
|
100
109
|
* */
|
|
101
|
-
Icon as WidgetIcon, WidgetCard, WidgetWizard, WidgetMultiButton };
|
|
110
|
+
Icon as WidgetIcon, WidgetCard, WidgetWizard, WidgetMultiButton, WidgetShadowForm };
|
|
102
111
|
declare const utils: {
|
|
103
112
|
clickOutside: typeof _utils.clickOutside;
|
|
104
113
|
requestHandler: typeof _utils.requestHandler;
|