@dxs-ts/eveli-ide 0.0.424 → 0.0.426
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/build/api-dialob-form/DialobFormsProvider.d.ts +3 -1
- package/build/api-dialob-form/visitors/Visitor_LabelAdd.d.ts +19 -0
- package/build/api-dialob-form/visitors/Visitor_LabelDelete.d.ts +19 -0
- package/build/api-dialob-form/visitors/index.d.ts +2 -0
- package/build/date-picker/{DateInput.d.ts → DatePicker.d.ts} +2 -2
- package/build/date-picker/index.d.ts +1 -1
- package/build/dialob-dashboard-smart/dialog-add-label/DialogAddLabel.d.ts +7 -0
- package/build/dialob-dashboard-smart/dialog-add-label/index.d.ts +1 -0
- package/build/dialob-dashboard-smart/form-table-label-row/FormTableLabelRow.d.ts +5 -0
- package/build/dialob-dashboard-smart/form-table-label-row/index.d.ts +1 -0
- package/build/index.js +6331 -6194
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DashboardItem } from './types-dashboard';
|
|
3
|
-
import { Visitor_DeleteForm, Visitor_CopyForm, Visitor_CreateNewForm } from './visitors';
|
|
3
|
+
import { Visitor_DeleteForm, Visitor_CopyForm, Visitor_CreateNewForm, Visitor_LabelAdd, Visitor_LabelDelete } from './visitors';
|
|
4
4
|
import { DialobRestApi } from './types-rest-api';
|
|
5
5
|
export interface DialobFormsOperationResult {
|
|
6
6
|
success: boolean;
|
|
@@ -17,6 +17,8 @@ export interface DialobFormsContextType {
|
|
|
17
17
|
createForm: (props: Visitor_CreateNewForm.Input) => Promise<Visitor_CreateNewForm.Result>;
|
|
18
18
|
copyForm: (props: Visitor_CopyForm.Input) => Promise<Visitor_CopyForm.Result>;
|
|
19
19
|
deleteForm: (props: Visitor_DeleteForm.Input) => Promise<Visitor_DeleteForm.Result>;
|
|
20
|
+
addFormLabel: (props: Visitor_LabelAdd.Input) => Promise<Visitor_LabelAdd.Result>;
|
|
21
|
+
deleteFormLabel: (props: Visitor_LabelDelete.Input) => Promise<Visitor_LabelDelete.Result>;
|
|
20
22
|
openForm: (props: DashboardItem) => void;
|
|
21
23
|
}
|
|
22
24
|
export declare const DialobFormsContext: React.Context<DialobFormsContextType>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DialobRestApi } from '../types-rest-api';
|
|
2
|
+
export declare namespace Visitor_LabelAdd {
|
|
3
|
+
interface Input {
|
|
4
|
+
form: DialobRestApi.FormListItem;
|
|
5
|
+
newLabel: string;
|
|
6
|
+
}
|
|
7
|
+
interface Result {
|
|
8
|
+
success: boolean;
|
|
9
|
+
formId: string;
|
|
10
|
+
message: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
response?: DialobRestApi.ApiResponse;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export declare class Visitor_LabelAdd {
|
|
16
|
+
accept(backend: DialobRestApi.Backend, context: Visitor_LabelAdd.Input): Promise<Visitor_LabelAdd.Result>;
|
|
17
|
+
private buildSuccessResult;
|
|
18
|
+
private buildErrorResult;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DialobRestApi } from '../types-rest-api';
|
|
2
|
+
export declare namespace Visitor_LabelDelete {
|
|
3
|
+
interface Input {
|
|
4
|
+
form: DialobRestApi.FormListItem;
|
|
5
|
+
labelToDelete: string;
|
|
6
|
+
}
|
|
7
|
+
interface Result {
|
|
8
|
+
success: boolean;
|
|
9
|
+
formId: string;
|
|
10
|
+
message: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
response?: DialobRestApi.ApiResponse;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export declare class Visitor_LabelDelete {
|
|
16
|
+
accept(backend: DialobRestApi.Backend, context: Visitor_LabelDelete.Input): Promise<Visitor_LabelDelete.Result>;
|
|
17
|
+
private buildSuccessResult;
|
|
18
|
+
private buildErrorResult;
|
|
19
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export interface
|
|
2
|
+
export interface DatePickerProps {
|
|
3
3
|
value: Date | null;
|
|
4
4
|
inline: boolean;
|
|
5
5
|
onChange: (newDate: Date | null) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const DatePicker: React.FC<DatePickerProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './DatePicker';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DialobRestApi } from '../../api-dialob-form';
|
|
3
|
+
export interface DialogAddLabelProps {
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
source: DialobRestApi.FormListItem;
|
|
6
|
+
}
|
|
7
|
+
export declare const DialogAddLabel: React.FC<DialogAddLabelProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DialogAddLabel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormTableLabelRow';
|