@dxs-ts/eveli-ide 0.0.418 → 0.0.420

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.
Files changed (54) hide show
  1. package/build/api-dialob-form/DialobFormsProvider.d.ts +28 -0
  2. package/build/api-dialob-form/index.d.ts +4 -0
  3. package/build/api-dialob-form/types-dashboard.d.ts +13 -0
  4. package/build/api-dialob-form/types-rest-api.d.ts +159 -0
  5. package/build/api-dialob-form/visitors/Visitor_CopyForm.d.ts +29 -0
  6. package/build/api-dialob-form/visitors/Visitor_CreateNewForm.d.ts +32 -0
  7. package/build/api-dialob-form/visitors/Visitor_DashboardState.d.ts +8 -0
  8. package/build/api-dialob-form/visitors/Visitor_DeleteForm.d.ts +19 -0
  9. package/build/api-dialob-form/visitors/Visitor_DownloadAllForms.d.ts +24 -0
  10. package/build/api-dialob-form/visitors/Visitor_RestApi.d.ts +10 -0
  11. package/build/api-dialob-form/visitors/Visitor_UploadFormCsv.d.ts +25 -0
  12. package/build/api-dialob-form/visitors/Visitor_UploadFormJson.d.ts +30 -0
  13. package/build/api-dialob-form/visitors/index.d.ts +8 -0
  14. package/build/date-picker/DateInput.d.ts +7 -0
  15. package/build/date-picker/calendar-input/CalendarInput.d.ts +4 -0
  16. package/build/date-picker/calendar-input/CalendarInputProvider.d.ts +32 -0
  17. package/build/date-picker/calendar-input/DateInputStateMachine.d.ts +37 -0
  18. package/build/date-picker/calendar-input/Input.d.ts +1 -0
  19. package/build/date-picker/calendar-input/index.d.ts +2 -0
  20. package/build/date-picker/calendar-interactive/Calendar.d.ts +11 -0
  21. package/build/date-picker/calendar-interactive/CalendarHeader.d.ts +9 -0
  22. package/build/date-picker/calendar-interactive/CalendarProvider.d.ts +9 -0
  23. package/build/date-picker/calendar-interactive/CardWrapper.d.ts +5 -0
  24. package/build/date-picker/calendar-interactive/DayGrid.d.ts +7 -0
  25. package/build/date-picker/calendar-interactive/YearPicker.d.ts +7 -0
  26. package/build/date-picker/calendar-interactive/index.d.ts +1 -0
  27. package/build/date-picker/calendar-interactive/intl.d.ts +1 -0
  28. package/build/date-picker/index.d.ts +1 -0
  29. package/build/dialob-dashboard-smart/DialobDashboardSmart.d.ts +2 -0
  30. package/build/dialob-dashboard-smart/dialog-copy/DialogCopy.d.ts +7 -0
  31. package/build/dialob-dashboard-smart/dialog-copy/index.d.ts +1 -0
  32. package/build/dialob-dashboard-smart/dialog-create/DialogCreate.d.ts +5 -0
  33. package/build/dialob-dashboard-smart/dialog-create/index.d.ts +1 -0
  34. package/build/dialob-dashboard-smart/dialog-delete/DialogDelete.d.ts +7 -0
  35. package/build/dialob-dashboard-smart/dialog-delete/index.d.ts +1 -0
  36. package/build/dialob-dashboard-smart/form-table/FormTable.d.ts +2 -0
  37. package/build/dialob-dashboard-smart/form-table/index.d.ts +1 -0
  38. package/build/dialob-dashboard-smart/form-table-date-time/FormTableDateTime.d.ts +4 -0
  39. package/build/dialob-dashboard-smart/form-table-date-time/index.d.ts +1 -0
  40. package/build/dialob-dashboard-smart/form-table-filters/index.d.ts +4 -0
  41. package/build/dialob-dashboard-smart/form-table-toolbar/FileUploadButton.d.ts +9 -0
  42. package/build/dialob-dashboard-smart/form-table-toolbar/FormTableToolbar.d.ts +2 -0
  43. package/build/dialob-dashboard-smart/form-table-toolbar/index.d.ts +1 -0
  44. package/build/dialob-dashboard-smart/index.d.ts +1 -0
  45. package/build/dialob-dashboard-smart/intl/index.d.ts +3 -0
  46. package/build/dialob-dashboard-smart/tableHelpers.d.ts +6 -0
  47. package/build/eveli-datepicker/EveliDatePicker.d.ts +1 -0
  48. package/build/eveli-table/WithTableStyles.d.ts +2 -1
  49. package/build/eveli-table/tool-header-search/ToolHeaderSearch.d.ts +1 -1
  50. package/build/eveli-table/tool-header-search/ToolHeaderSearchDate.d.ts +6 -0
  51. package/build/eveli-table/tool-header-search/ToolHeaderSearchString.d.ts +6 -0
  52. package/build/index.js +13694 -12266
  53. package/build/routes/secured.$locale.assets.forms.index.d.ts +0 -3
  54. package/package.json +1 -1
@@ -0,0 +1,28 @@
1
+ import { default as React } from 'react';
2
+ import { DasboardItem } from './types-dashboard';
3
+ import { Visitor_DeleteForm, Visitor_CopyForm, Visitor_CreateNewForm } from './visitors';
4
+ export interface DialobFormsOperationResult {
5
+ success: boolean;
6
+ message: string;
7
+ }
8
+ export interface DialobFormsContextType {
9
+ forms: DasboardItem[];
10
+ uploadJsonForm: (file: File) => Promise<DialobFormsOperationResult>;
11
+ uploadCsvForm: (file: File) => Promise<DialobFormsOperationResult>;
12
+ downloadAllForms: () => Promise<{
13
+ blob: Blob;
14
+ fileName: string;
15
+ }>;
16
+ createForm: (props: Visitor_CreateNewForm.Input) => Promise<Visitor_CreateNewForm.Result>;
17
+ copyForm: (props: Visitor_CopyForm.Input) => Promise<Visitor_CopyForm.Result>;
18
+ deleteForm: (props: Visitor_DeleteForm.Input) => Promise<Visitor_DeleteForm.Result>;
19
+ }
20
+ export declare const DialobFormsContext: React.Context<DialobFormsContextType>;
21
+ export interface DialobFormsProviderProps {
22
+ tenantId?: string | undefined;
23
+ dialobApiUrl?: string | undefined;
24
+ fetch?: typeof window.fetch | undefined;
25
+ children: React.ReactNode;
26
+ }
27
+ export declare const DialobFormsProvider: React.FC<DialobFormsProviderProps>;
28
+ export declare const useDialobForms: () => DialobFormsContextType;
@@ -0,0 +1,4 @@
1
+ export * from './DialobFormsProvider';
2
+ export * from './visitors';
3
+ export * from './types-rest-api';
4
+ export * from './types-dashboard';
@@ -0,0 +1,13 @@
1
+ import { DialobRestApi } from './types-rest-api';
2
+ export interface DashboardState {
3
+ forms: DialobRestApi.FormListItem[];
4
+ tags: DialobRestApi.FormTag[];
5
+ items: DasboardItem[];
6
+ loadedAt: Date;
7
+ }
8
+ export interface DasboardItem {
9
+ id: string;
10
+ metadata: DialobRestApi.FormMetadata;
11
+ latestTagName?: string;
12
+ latestTagDate?: Date;
13
+ }
@@ -0,0 +1,159 @@
1
+ export declare namespace DialobRestApi {
2
+ type ValidationLevel = 'INFO' | 'WARNING' | 'ERROR' | 'FATAL';
3
+ type ValidationType = 'VISIBILITY' | 'VALIDATION' | 'REQUIREMENT' | 'VARIABLE' | 'GENERAL' | 'CLASSNAME' | 'VALUE_ENTRY' | 'VALUESET' | 'VALUESET_ENTRY' | 'CANADDROW' | 'CANREMOVEROW';
4
+ type FormTagType = 'NORMAL' | 'MUTABLE';
5
+ interface FormValidationError {
6
+ itemId?: string;
7
+ message?: string;
8
+ level?: ValidationLevel;
9
+ type?: ValidationType;
10
+ expression?: string;
11
+ startIndex?: number;
12
+ endIndex?: number;
13
+ index?: number;
14
+ }
15
+ interface RestApiErrorResponse {
16
+ timestamp?: Date;
17
+ status?: number;
18
+ error?: string;
19
+ message?: string;
20
+ trace?: string;
21
+ path?: string;
22
+ errors?: Array<{
23
+ code?: string;
24
+ context?: string;
25
+ rejectedValue?: any;
26
+ error?: string;
27
+ }>;
28
+ }
29
+ interface ApiResponse {
30
+ ok?: boolean;
31
+ error?: string;
32
+ reason?: string;
33
+ id?: string;
34
+ rev?: string;
35
+ errors?: FormValidationError[];
36
+ form?: Form;
37
+ }
38
+ interface FormMetadata {
39
+ label: string;
40
+ created?: Date;
41
+ lastSaved?: Date;
42
+ valid?: boolean;
43
+ creator?: string;
44
+ tenantId?: string;
45
+ savedBy?: string;
46
+ labels: string[];
47
+ defaultSubmitUrl?: string;
48
+ languages: string[];
49
+ additionalProperties: Record<string, any>;
50
+ }
51
+ interface Validation {
52
+ message: Record<string, string>;
53
+ rule?: string;
54
+ }
55
+ interface FormValueSetEntry {
56
+ id: string;
57
+ label?: Record<string, string>;
58
+ when?: string;
59
+ additionalProperties: Record<string, any>;
60
+ }
61
+ interface FormValueSet {
62
+ id: string;
63
+ entries?: FormValueSetEntry[];
64
+ additionalProperties: Record<string, any>;
65
+ }
66
+ interface Variable {
67
+ name: string;
68
+ expression?: string;
69
+ defaultValue?: any;
70
+ context?: boolean;
71
+ published?: boolean;
72
+ contextType?: string;
73
+ description?: string;
74
+ }
75
+ interface FormItem {
76
+ id: string;
77
+ type: string;
78
+ view?: string;
79
+ label: Record<string, string>;
80
+ description: Record<string, string>;
81
+ required?: string;
82
+ requiredErrorText: Record<string, string>;
83
+ readOnly?: boolean;
84
+ items: string[];
85
+ className: string[];
86
+ activeWhen?: string;
87
+ canAddRowWhen?: string;
88
+ canRemoveRowWhen?: string;
89
+ validations: Validation[];
90
+ valueSetId?: string;
91
+ defaultValue?: any;
92
+ props?: Record<string, any>;
93
+ additionalProperties: Record<string, any>;
94
+ }
95
+ interface Form {
96
+ _id?: string;
97
+ _rev?: string;
98
+ name?: string;
99
+ data: Record<string, FormItem>;
100
+ metadata: FormMetadata;
101
+ variables: Variable[];
102
+ namespaces: Record<string, Form>;
103
+ valueSets: FormValueSet[];
104
+ requiredErrorText: Record<string, string>;
105
+ }
106
+ interface FormListItem {
107
+ id: string;
108
+ metadata: FormMetadata;
109
+ }
110
+ interface FormTag {
111
+ formName: string;
112
+ name: string;
113
+ refName?: string;
114
+ created?: Date;
115
+ formId?: string;
116
+ description?: string;
117
+ creator?: string;
118
+ type?: FormTagType;
119
+ }
120
+ interface DialobAdminConfig {
121
+ dialobApiUrl: string;
122
+ tenantId?: string;
123
+ }
124
+ interface TagFilters {
125
+ formName?: string;
126
+ formId?: string;
127
+ name?: string;
128
+ }
129
+ interface UpdateFormOptions {
130
+ oldId?: string;
131
+ newId?: string;
132
+ force?: boolean;
133
+ dryRun?: boolean;
134
+ }
135
+ interface CreateFormRequest {
136
+ name: string;
137
+ data: {
138
+ questionnaire: {
139
+ id: 'questionnaire';
140
+ type: 'questionnaire';
141
+ items: string[];
142
+ };
143
+ };
144
+ metadata: {
145
+ label: string;
146
+ languages: string[];
147
+ };
148
+ }
149
+ interface Backend {
150
+ findAllForms: () => Promise<FormListItem[]>;
151
+ findAllTags: (filters?: TagFilters) => Promise<FormTag[]>;
152
+ getForm: (formId: string, rev?: string) => Promise<Form>;
153
+ getFormTags: (formId: string) => Promise<FormTag[]>;
154
+ createForm: (form: CreateFormRequest | Form) => Promise<Form>;
155
+ updateForm: (formId: string, form: Form, options?: UpdateFormOptions) => Promise<ApiResponse>;
156
+ deleteForm: (formId: string) => Promise<ApiResponse>;
157
+ createFormFromCsv: (csvData: string) => Promise<ApiResponse>;
158
+ }
159
+ }
@@ -0,0 +1,29 @@
1
+ import { DialobRestApi } from '../types-rest-api';
2
+ export declare namespace Visitor_CopyForm {
3
+ interface Input {
4
+ sourceFormId: string;
5
+ newName: string;
6
+ newLabel: string;
7
+ }
8
+ interface Result {
9
+ success: boolean;
10
+ originalForm?: DialobRestApi.Form;
11
+ copiedForm?: DialobRestApi.Form;
12
+ copiedFormId?: string;
13
+ message: string;
14
+ error?: string;
15
+ validationErrors?: ValidationErrors;
16
+ }
17
+ interface ValidationErrors {
18
+ name?: string;
19
+ label?: string;
20
+ }
21
+ }
22
+ export declare class Visitor_CopyForm {
23
+ accept(backend: DialobRestApi.Backend, context: Visitor_CopyForm.Input): Promise<Visitor_CopyForm.Result>;
24
+ private hasValidationErrors;
25
+ private prepareCopiedForm;
26
+ private buildSuccessResult;
27
+ private buildValidationFailureResult;
28
+ private buildErrorResult;
29
+ }
@@ -0,0 +1,32 @@
1
+ import { DialobRestApi } from '../types-rest-api';
2
+ export declare namespace Visitor_CreateNewForm {
3
+ interface Input {
4
+ name: string;
5
+ label: string;
6
+ template: DialobRestApi.CreateFormRequest;
7
+ }
8
+ interface Result {
9
+ success: boolean;
10
+ form?: DialobRestApi.Form;
11
+ formId?: string;
12
+ message: string;
13
+ error?: string;
14
+ validationErrors?: ValidationErrors;
15
+ }
16
+ interface ValidationErrors {
17
+ name?: string;
18
+ label?: string;
19
+ }
20
+ }
21
+ export declare class Visitor_CreateNewForm {
22
+ accept(backend: DialobRestApi.Backend, context: Visitor_CreateNewForm.Input): Promise<Visitor_CreateNewForm.Result>;
23
+ static validateInput(context: {
24
+ name?: string;
25
+ label?: string;
26
+ }): Visitor_CreateNewForm.ValidationErrors;
27
+ private hasValidationErrors;
28
+ private prepareNewForm;
29
+ private buildSuccessResult;
30
+ private buildValidationFailureResult;
31
+ private buildErrorResult;
32
+ }
@@ -0,0 +1,8 @@
1
+ import { DashboardState } from '../types-dashboard';
2
+ import { DialobRestApi } from '../types-rest-api';
3
+ export declare namespace Visitor_DashboardState {
4
+ }
5
+ export declare class Visitor_DashboardState {
6
+ accept(backend: DialobRestApi.Backend): Promise<DashboardState>;
7
+ private findLatestTag;
8
+ }
@@ -0,0 +1,19 @@
1
+ import { DialobRestApi } from '../types-rest-api';
2
+ export declare namespace Visitor_DeleteForm {
3
+ interface Input {
4
+ form: DialobRestApi.FormListItem;
5
+ }
6
+ interface Result {
7
+ success: boolean;
8
+ formId: string;
9
+ message: string;
10
+ error?: string;
11
+ response?: DialobRestApi.ApiResponse;
12
+ }
13
+ }
14
+ export declare class Visitor_DeleteForm {
15
+ accept(backend: DialobRestApi.Backend, context: Visitor_DeleteForm.Input): Promise<Visitor_DeleteForm.Result>;
16
+ private validateInput;
17
+ private buildSuccessResult;
18
+ private buildErrorResult;
19
+ }
@@ -0,0 +1,24 @@
1
+ import { DialobRestApi } from '../types-rest-api';
2
+ export declare namespace Visitor_DownloadAllForms {
3
+ interface Input {
4
+ forms: DialobRestApi.FormListItem[];
5
+ }
6
+ interface Result {
7
+ totalCount: number;
8
+ successfulForms: DialobRestApi.Form[];
9
+ failedForms: Array<{
10
+ formId: string;
11
+ error: string;
12
+ }>;
13
+ }
14
+ }
15
+ export declare class Visitor_DownloadAllForms {
16
+ accept(backend: DialobRestApi.Backend, context: Visitor_DownloadAllForms.Input): Promise<{
17
+ fileName: string;
18
+ blob: Blob;
19
+ }>;
20
+ private fetchAllForms;
21
+ private buildDownloadResult;
22
+ private generateFileName;
23
+ private sanitizeFileName;
24
+ }
@@ -0,0 +1,10 @@
1
+ import { DialobRestApi } from '../types-rest-api';
2
+ export declare namespace Visitor_RestApi {
3
+ interface Input {
4
+ config: DialobRestApi.DialobAdminConfig;
5
+ fetch: typeof window.fetch;
6
+ }
7
+ }
8
+ export declare class Visitor_RestApi {
9
+ accept(context: Visitor_RestApi.Input): DialobRestApi.Backend;
10
+ }
@@ -0,0 +1,25 @@
1
+ import { DialobRestApi } from '../types-rest-api';
2
+ export declare namespace Visitor_UploadCsvForm {
3
+ interface Input {
4
+ file: File;
5
+ }
6
+ interface Result {
7
+ success: boolean;
8
+ formId?: string;
9
+ message: string;
10
+ error?: string;
11
+ metadata?: {
12
+ fileName: string;
13
+ fileSize: number;
14
+ uploadTime: Date;
15
+ };
16
+ }
17
+ }
18
+ export declare class Visitor_UploadCsvForm {
19
+ accept(backend: DialobRestApi.Backend, context: Visitor_UploadCsvForm.Input): Promise<Visitor_UploadCsvForm.Result>;
20
+ private validateCsvFile;
21
+ private readCsvFile;
22
+ private uploadCsvToBackend;
23
+ private buildSuccessResult;
24
+ private buildFailureResult;
25
+ }
@@ -0,0 +1,30 @@
1
+ import { DialobRestApi } from '../types-rest-api';
2
+ export declare namespace Visitor_UploadFormJson {
3
+ interface Input {
4
+ file: File;
5
+ allForms: DialobRestApi.FormListItem[];
6
+ }
7
+ interface Result {
8
+ success: boolean;
9
+ message: string;
10
+ isExisting?: boolean;
11
+ error?: string;
12
+ metadata?: {
13
+ fileName: string;
14
+ fileSize: number;
15
+ uploadTime: Date;
16
+ formName?: string;
17
+ };
18
+ }
19
+ }
20
+ export declare class Visitor_UploadFormJson {
21
+ private startTime;
22
+ accept(backend: DialobRestApi.Backend, context: Visitor_UploadFormJson.Input): Promise<Visitor_UploadFormJson.Result>;
23
+ private validateFile;
24
+ private readFileSync;
25
+ private parseJson;
26
+ private prepareData;
27
+ private uploadForm;
28
+ private buildSuccessResult;
29
+ private handleFailure;
30
+ }
@@ -0,0 +1,8 @@
1
+ export * from './Visitor_CopyForm';
2
+ export * from './Visitor_CreateNewForm';
3
+ export * from './Visitor_DashboardState';
4
+ export * from './Visitor_DownloadAllForms';
5
+ export * from './Visitor_RestApi';
6
+ export * from './Visitor_UploadFormCsv';
7
+ export * from './Visitor_UploadFormJson';
8
+ export * from './Visitor_DeleteForm';
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ export interface DateInputProps {
3
+ value: Date | null;
4
+ inline: boolean;
5
+ onChange: (newDate: Date | null) => void;
6
+ }
7
+ export declare const DateInput: React.FC<DateInputProps>;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ export declare const CalendarInput: React.ForwardRefExoticComponent<{
3
+ className: string;
4
+ } & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,32 @@
1
+ import { default as React } from 'react';
2
+ import { DateInputStateMachine, DateField } from './DateInputStateMachine';
3
+ export interface CalendarInputProps {
4
+ value?: Date | null;
5
+ onChange: (date: Date | null) => void;
6
+ onCalendarOpen?: () => void;
7
+ placeholder?: string;
8
+ disabled?: boolean;
9
+ className: string;
10
+ }
11
+ export interface CalendarInputContextType {
12
+ machine: DateInputStateMachine;
13
+ dayRef: React.RefObject<HTMLInputElement>;
14
+ monthRef: React.RefObject<HTMLInputElement>;
15
+ yearRef: React.RefObject<HTMLInputElement>;
16
+ typeDayDigit: (value: string) => void;
17
+ typeMonthDigit: (value: string) => void;
18
+ typeYearDigit: (value: string) => void;
19
+ focusField: (field: DateField) => void;
20
+ blurField: (field: DateField) => void;
21
+ clear: () => void;
22
+ handleKeyDown: (e: React.KeyboardEvent<HTMLInputElement>, field: DateField) => void;
23
+ handleContainerClick: (e: React.MouseEvent) => void;
24
+ handleCalendarOpen: () => void;
25
+ }
26
+ export declare const useCalendarInput: () => CalendarInputContextType;
27
+ export declare const CalendarInputProvider: React.FC<{
28
+ children: React.ReactNode;
29
+ value?: Date | null;
30
+ onChange: (date: Date | null) => void;
31
+ onCalendarOpen?: () => void;
32
+ }>;
@@ -0,0 +1,37 @@
1
+ export type DateInputState = 'empty' | 'typing' | 'validating' | 'valid' | 'error';
2
+ export type DateField = 'day' | 'month' | 'year';
3
+ export interface DateInputData {
4
+ day: string;
5
+ month: string;
6
+ year: string;
7
+ state: DateInputState;
8
+ focusedField: DateField | null;
9
+ error?: string;
10
+ shouldAutoAdvance?: boolean;
11
+ resultDate?: Date;
12
+ isUserChange: boolean;
13
+ }
14
+ export declare class DateInputStateMachine {
15
+ private data;
16
+ constructor(initialData?: Partial<DateInputData>);
17
+ get day(): string;
18
+ get month(): string;
19
+ get year(): string;
20
+ get state(): DateInputState;
21
+ get focusedField(): DateField | null;
22
+ get error(): string | undefined;
23
+ get shouldAutoAdvance(): boolean | undefined;
24
+ get resultDate(): Date | undefined;
25
+ get isUserChange(): boolean;
26
+ get isValid(): boolean;
27
+ typeDayDigit(value: string): DateInputStateMachine;
28
+ typeMonthDigit(value: string): DateInputStateMachine;
29
+ typeYearDigit(value: string): DateInputStateMachine;
30
+ focusField(field: DateField): DateInputStateMachine;
31
+ blurField(field: DateField): DateInputStateMachine;
32
+ clear(): DateInputStateMachine;
33
+ setFromDate(date: Date | null): DateInputStateMachine;
34
+ private isComplete;
35
+ private tryValidateComplete;
36
+ debug(): string;
37
+ }
@@ -0,0 +1 @@
1
+ export declare const Input: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
@@ -0,0 +1,2 @@
1
+ export * from './CalendarInputProvider';
2
+ export * from './CalendarInput';
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ export interface CalendarProps {
3
+ initialDate: Date;
4
+ selectedDate?: Date | null;
5
+ minDate?: Date;
6
+ maxDate?: Date;
7
+ inline?: boolean | undefined;
8
+ onDateSelect: (date: Date) => void;
9
+ onClose?: () => void;
10
+ }
11
+ export declare const Calendar: React.FC<CalendarProps>;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ export declare const CalendarHeader: React.FC<{
3
+ currentDate: Date;
4
+ onPreviousMonth: () => void;
5
+ onNextMonth: () => void;
6
+ onPreviousYear: () => void;
7
+ onNextYear: () => void;
8
+ onYearClick: () => void;
9
+ }>;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ export declare const CalendarProvider: React.FC<{
3
+ inline?: boolean | undefined;
4
+ value: Date | null;
5
+ locale: string;
6
+ open: boolean;
7
+ onClose: () => void;
8
+ onChange: (value: Date | null) => void;
9
+ }>;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export declare const CardWrapper: React.FC<{
3
+ inline: boolean;
4
+ children: React.ReactNode;
5
+ }>;
@@ -0,0 +1,7 @@
1
+ export declare const DayGrid: React.FC<{
2
+ currentDate: Date;
3
+ selectedDate?: Date | null;
4
+ onDateSelect: (date: Date) => void;
5
+ minDate?: Date;
6
+ maxDate?: Date;
7
+ }>;
@@ -0,0 +1,7 @@
1
+ export declare const YearPicker: React.FC<{
2
+ currentYear: number;
3
+ onYearSelect: (year: number) => void;
4
+ onClose: () => void;
5
+ minDate?: Date;
6
+ maxDate?: Date;
7
+ }>;
@@ -0,0 +1 @@
1
+ export * from './CalendarProvider';
@@ -0,0 +1 @@
1
+ export declare function getMessages(locale: string): Record<string, string>;
@@ -0,0 +1 @@
1
+ export * from './DateInput';
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const DialobDashboardSmart: React.FC<{}>;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { DialobRestApi } from '../../api-dialob-form';
3
+ export interface DialogCopyProps {
4
+ onClose: () => void;
5
+ source: DialobRestApi.FormListItem;
6
+ }
7
+ export declare const DialogCopy: React.FC<DialogCopyProps>;
@@ -0,0 +1 @@
1
+ export * from './DialogCopy';
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export interface DialogCreateProps {
3
+ onClose: () => void;
4
+ }
5
+ export declare const DialogCreate: React.FC<DialogCreateProps>;
@@ -0,0 +1 @@
1
+ export * from './DialogCreate';
@@ -0,0 +1,7 @@
1
+ import { DialobRestApi } from '../../api-dialob-form';
2
+ import { default as React } from 'react';
3
+ export interface DialobActionCreateProps {
4
+ onClose: () => void;
5
+ source: DialobRestApi.FormListItem;
6
+ }
7
+ export declare const DialobActionDelete: React.FC<DialobActionCreateProps>;
@@ -0,0 +1 @@
1
+ export * from './DialogDelete';
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const FormTable: React.FC<{}>;
@@ -0,0 +1 @@
1
+ export * from './FormTable';
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ export declare const FormTableDateTime: React.FC<{
3
+ value: string;
4
+ }>;
@@ -0,0 +1 @@
1
+ export * from './FormTableDateTime';
@@ -0,0 +1,4 @@
1
+ import { DasboardItem } from '../../api-dialob-form';
2
+ import { FilterFnOption } from '@tanstack/react-table';
3
+ export declare const filterDateGte_latestTagDate: FilterFnOption<DasboardItem>;
4
+ export declare const filterDateGte_lastSaved: FilterFnOption<DasboardItem>;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ export declare const FileUploadButton: React.FC<{
3
+ accept: string;
4
+ onChange: (file: File) => Promise<{
5
+ success: boolean;
6
+ message: string;
7
+ }>;
8
+ uploadRef: React.MutableRefObject<HTMLInputElement | null>;
9
+ }>;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const FormTableToolbar: React.FC<{}>;
@@ -0,0 +1 @@
1
+ export * from './FormTableToolbar';
@@ -0,0 +1 @@
1
+ export * from './DialobDashboardSmart';
@@ -0,0 +1,3 @@
1
+ export declare const messages: {
2
+ [key: string]: any;
3
+ };