@dxs-ts/eveli-ide 0.0.227 → 0.0.229

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 (52) hide show
  1. package/build/api-task/task-types.d.ts +2 -1
  2. package/build/api-tenant-config/EveliTenantFeatureEnabled.d.ts +5 -0
  3. package/build/api-tenant-config/TenantConfigContext.d.ts +2 -1
  4. package/build/{cssMode-cD49Stz7.js → cssMode-DxFu6iTv.js} +1 -1
  5. package/build/eveli-datepicker/EveliDatePicker.d.ts +1 -1
  6. package/build/eveli-datetime-formatter/EveliDateTimeFormatter.d.ts +1 -0
  7. package/build/eveli-fetch/createFileFetch.d.ts +2 -2
  8. package/build/eveli-shell/index.d.ts +1 -0
  9. package/build/eveli-table/{EveliTableColumnFilterDialog.d.ts → EveliTableColumnVisibility.d.ts} +1 -1
  10. package/build/eveli-table/tableSizeFn.d.ts +2 -0
  11. package/build/eveli-task-comments/CommentLocal.d.ts +0 -1
  12. package/build/eveli-task-comments/EveliTaskComments.d.ts +3 -5
  13. package/build/eveli-task-comments/Thread.d.ts +0 -1
  14. package/build/eveli-task-composer/EveliTaskBody.d.ts +25 -0
  15. package/build/eveli-task-composer/EveliTaskBodyEmpty.d.ts +2 -0
  16. package/build/eveli-task-composer/EveliTaskFooter.d.ts +15 -0
  17. package/build/eveli-task-composer/EveliTaskHeader.d.ts +10 -0
  18. package/build/eveli-task-composer/EveliTaskSubHeader.d.ts +29 -0
  19. package/build/eveli-task-composer/PageLeaveConfirmation.d.ts +3 -4
  20. package/build/eveli-task-composer/RadioGroupPopover.d.ts +2 -1
  21. package/build/eveli-task-composer/TaskFormState.d.ts +2 -2
  22. package/build/fetch/worker.rest.api.tasks.$taskId.put.d.ts +2 -2
  23. package/build/fetchTree.gen.d.ts +2 -2
  24. package/build/{freemarker2-HXxrND22.js → freemarker2-Sdwi3ZoY.js} +1 -1
  25. package/build/{handlebars-CUljRs70.js → handlebars-CpzU3jzH.js} +1 -1
  26. package/build/{html-ev3D8GQQ.js → html-Bh-zHOFd.js} +1 -1
  27. package/build/{htmlMode-BF_m9Vkq.js → htmlMode-qVG6-WJ8.js} +1 -1
  28. package/build/{index-Dj-aVjNp.js → index-D1mXa6Pg.js} +47465 -47601
  29. package/build/index.js +1 -1
  30. package/build/{javascript-DJj427vH.js → javascript-Kh3gy3er.js} +1 -1
  31. package/build/{jsonMode-B9EjaUb-.js → jsonMode-DsmyBXB8.js} +1 -1
  32. package/build/{liquid-DCkRtkeA.js → liquid-BynhTTkh.js} +1 -1
  33. package/build/{mdx-BqiAodaM.js → mdx-ClTPMJY4.js} +1 -1
  34. package/build/{python-rn5m_EOJ.js → python-9FQJMXHb.js} +1 -1
  35. package/build/{razor-CXYdakyE.js → razor-DHgSQ3VO.js} +1 -1
  36. package/build/stencil-explorer/index.d.ts +1 -0
  37. package/build/stencil-setup/Toolbar.d.ts +2 -0
  38. package/build/stencil-setup/index.d.ts +1 -0
  39. package/build/{tsMode-BPJ72ccy.js → tsMode-CZ45wcSD.js} +1 -1
  40. package/build/{typescript-BSrlP-fY.js → typescript-DDXPdL_N.js} +1 -1
  41. package/build/{xml-Bv_kV8Cg.js → xml-PYZuKWz9.js} +1 -1
  42. package/build/{yaml-DJSbl1QE.js → yaml-Dgt5vVFy.js} +1 -1
  43. package/package.json +1 -1
  44. package/build/eveli-sticky-task-buttons/EveliStickyTaskButtons.d.ts +0 -11
  45. package/build/eveli-sticky-task-buttons/index.d.ts +0 -1
  46. package/build/eveli-task-composer/AttachmentTableWrapper.d.ts +0 -6
  47. package/build/eveli-task-composer/Priority.d.ts +0 -9
  48. package/build/eveli-task-composer/Status.d.ts +0 -9
  49. package/build/eveli-task-composer/TaskComponentResolver.d.ts +0 -23
  50. package/build/eveli-task-composer/TaskCreate.d.ts +0 -25
  51. package/build/eveli-task-composer/TaskCreateAccordions.d.ts +0 -15
  52. package/build/eveli-task-composer/useMuiClasses.d.ts +0 -114
@@ -87,7 +87,7 @@ export declare namespace TaskApi {
87
87
  linkAddress: string;
88
88
  };
89
89
  interface Task {
90
- id?: string;
90
+ id: string;
91
91
  taskRef?: string;
92
92
  version?: number;
93
93
  created?: Date;
@@ -109,6 +109,7 @@ export declare namespace TaskApi {
109
109
  priorityCode?: number;
110
110
  clientIdentificator?: string | null;
111
111
  assignedRoles?: string[] | null;
112
+ comments: Comment[];
112
113
  questionnaireId?: string | undefined;
113
114
  }
114
115
  type TaskPriorityStatistics = {
@@ -2,6 +2,11 @@ import { default as React } from 'react';
2
2
  import { TenantFeature } from './TenantConfigContext';
3
3
  declare const EveliFeatureMapping: {
4
4
  LOGIN_BUTTON: (given: TenantFeature[]) => boolean;
5
+ STENCIL_LOCALE_FILTER: (given: TenantFeature[]) => boolean;
6
+ WRENCH_RELEASES: (given: TenantFeature[]) => boolean;
7
+ STENCIL_RELEASES: (given: TenantFeature[]) => boolean;
8
+ FORM_REVIEW_TASK_HEADER: (given: TenantFeature[]) => boolean;
9
+ FORM_REVIEW_BUTTON_BAR: (given: TenantFeature[]) => boolean;
5
10
  };
6
11
  export type EveliFeatureType = keyof typeof EveliFeatureMapping;
7
12
  export declare const EveliTenantFeatureEnabled: React.FC<{
@@ -2,9 +2,10 @@ import { default as React, PropsWithChildren } from 'react';
2
2
  export interface TenantConfig {
3
3
  features: TenantFeature[];
4
4
  }
5
- export type TenantFeature = 'wrench-only';
5
+ export type TenantFeature = ('wrench-only' | 'stencil_locale_filter' | 'eveli_publication_only' | 'task_review_for_blind');
6
6
  export interface TenantConfigContextProviderProps {
7
7
  disabled?: boolean;
8
+ features?: TenantFeature[] | undefined;
8
9
  }
9
10
  export declare const TenantConfigContext: React.Context<TenantConfig>;
10
11
  export declare const TenantConfigContextProvider: React.FC<PropsWithChildren<TenantConfigContextProviderProps>>;
@@ -1,4 +1,4 @@
1
- import { m as et } from "./index-Dj-aVjNp.js";
1
+ import { m as et } from "./index-D1mXa6Pg.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  export type EveliDatePickerProps = {
3
- label: String;
3
+ label: string | React.ReactNode;
4
4
  readonly?: boolean;
5
5
  fullWidth?: boolean;
6
6
  value: string | Date | undefined | null;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  export declare const EveliDateTimeFormatter: React.FC<{
3
3
  value: any;
4
+ variant?: 'text';
4
5
  }>;
@@ -818,11 +818,11 @@ export declare class RootFileFetch {
818
818
  taskId: string;
819
819
  };
820
820
  hook: HookImpl<"worker/rest/api/tasks/$taskId.PUT", Hook<{}, {
821
- updateTask: (task: import("..").TaskApi.Task) => Promise<import("..").TaskApi.Task>;
821
+ updateTask: (task: Partial<import("..").TaskApi.Task>) => Promise<import("..").TaskApi.Task>;
822
822
  }>, "worker/rest/api/tasks/$taskId", "PUT", {
823
823
  taskId: string;
824
824
  }, {}, {
825
- updateTask: (task: import("..").TaskApi.Task) => Promise<import("..").TaskApi.Task>;
825
+ updateTask: (task: Partial<import("..").TaskApi.Task>) => Promise<import("..").TaskApi.Task>;
826
826
  }>;
827
827
  } | {
828
828
  id: "worker/rest/api/tasks/$taskId/reviews.GET";
@@ -2,3 +2,4 @@ export * from './EveliShell';
2
2
  export * from './EveliShellProps';
3
3
  export { EveliShellClassName, EveliShellMiniBarClassName, EveliShellLargeBarClassName, EveliShellMiniBarTopClassName } from './useUtilityClasses';
4
4
  export * from './EveliShellContext';
5
+ export { useUtilityClasses as _eveli_shell_useUtilityClasses } from './useUtilityClasses';
@@ -5,5 +5,5 @@ interface EveliTableColumnFilterProps {
5
5
  onClose: () => void;
6
6
  table: Table<any>;
7
7
  }
8
- export declare const EveliTableColumnFilterDialog: React.FC<EveliTableColumnFilterProps>;
8
+ export declare const EveliTableColumnVisibility: React.FC<EveliTableColumnFilterProps>;
9
9
  export {};
@@ -0,0 +1,2 @@
1
+ import { Table } from '@tanstack/react-table';
2
+ export declare function tableSizeFn(table: Table<any>, prev: Record<string, boolean>, next: Record<string, boolean>): Record<string, number>;
@@ -4,7 +4,6 @@ type CommentLocalProps = {
4
4
  comment: TaskApi.Comment;
5
5
  children: React.ReactNode;
6
6
  task: TaskApi.Task;
7
- loadData: () => void;
8
7
  isExternalThread?: boolean;
9
8
  isThreaded?: boolean;
10
9
  setReply: React.Dispatch<React.SetStateAction<boolean>>;
@@ -2,10 +2,8 @@ import { default as React } from 'react';
2
2
  import { TaskApi } from '../api-task';
3
3
  export type EveliTaskCommentsProps = {
4
4
  task: TaskApi.Task;
5
- isExternalThread?: boolean;
6
- comments: TaskApi.Comment[];
7
- loadData: () => void;
8
- isThreaded?: boolean;
9
- onCommentPosted?: () => void;
5
+ isExternalThread: boolean;
6
+ isThreaded?: boolean | undefined;
7
+ reload: () => void;
10
8
  };
11
9
  export declare const EveliTaskComments: React.FC<EveliTaskCommentsProps>;
@@ -3,7 +3,6 @@ import { TaskApi } from '../api-task';
3
3
  type Props = {
4
4
  comments: TaskApi.Comment[];
5
5
  task: TaskApi.Task;
6
- loadData: () => void;
7
6
  isExternalThread?: boolean;
8
7
  isThreaded?: boolean;
9
8
  setReply: React.Dispatch<React.SetStateAction<boolean>>;
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ import { TaskApi } from '../api-task';
3
+ export declare const classes: {
4
+ accordionSummary: {
5
+ display: string;
6
+ "& .Mui-expanded": {
7
+ marginBottom: number;
8
+ marginTop: number;
9
+ };
10
+ };
11
+ accordionTitle: {
12
+ fontWeight: string;
13
+ width: string;
14
+ mr: number;
15
+ };
16
+ accordionDetails: {
17
+ pt: number;
18
+ };
19
+ };
20
+ export interface EveliTaskBodyProps {
21
+ task: TaskApi.Task;
22
+ readOnly: boolean;
23
+ onReload: () => Promise<void>;
24
+ }
25
+ export declare const EveliTaskBody: React.FC<EveliTaskBodyProps>;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const EveliTaskBodyEmpty: React.FC<{}>;
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { TaskApi } from '../api-task';
3
+ import { TaskFormDelegateProps } from './TaskFormState';
4
+ export declare const FormReviewButton: React.FC<{
5
+ task: {
6
+ id: string;
7
+ questionnaireId?: string | undefined;
8
+ };
9
+ }>;
10
+ export interface EveliTaskFooterProps {
11
+ form: TaskFormDelegateProps;
12
+ task: TaskApi.Task | undefined | null;
13
+ readOnly: boolean;
14
+ }
15
+ export declare const EveliTaskFooter: React.FC<EveliTaskFooterProps>;
@@ -0,0 +1,10 @@
1
+ import { TaskFormDelegateProps } from './TaskFormState';
2
+ export interface EveliTaskHeaderProps {
3
+ keywords: string[];
4
+ readOnly: boolean;
5
+ createdAt: any;
6
+ form: TaskFormDelegateProps;
7
+ taskId: string | undefined;
8
+ questionnaireId: string | undefined;
9
+ }
10
+ export declare const EveliTaskHeader: React.FC<EveliTaskHeaderProps>;
@@ -0,0 +1,29 @@
1
+ import { default as React } from 'react';
2
+ import { TaskFormDelegateProps } from './TaskFormState';
3
+ export declare const classes: {
4
+ taskRoleList: {
5
+ display: string;
6
+ flexWrap: string;
7
+ gap: number;
8
+ paddingTop: number;
9
+ paddingBottom: number;
10
+ paddingX: number;
11
+ };
12
+ taskRoleFieldset: {
13
+ borderWidth: number;
14
+ borderStyle: string;
15
+ borderRadius: number;
16
+ width: string;
17
+ marginBottom: number;
18
+ minHeight: number;
19
+ };
20
+ taskRoleLegend: {
21
+ marginLeft: number;
22
+ paddingLeft: number;
23
+ };
24
+ };
25
+ export interface EveliTaskSubHeader {
26
+ readOnly: boolean;
27
+ form: TaskFormDelegateProps;
28
+ }
29
+ export declare const EveliTaskSubHeader: React.FC<EveliTaskSubHeader>;
@@ -1,5 +1,4 @@
1
- interface Props {
1
+ import { default as React } from 'react';
2
+ export declare const PageLeavingConfirmation: React.FC<{
2
3
  navigationConfirmationRequired: () => boolean;
3
- }
4
- export declare const PageLeavingConfirmation: ({ navigationConfirmationRequired }: Props) => import("react/jsx-runtime").JSX.Element;
5
- export {};
4
+ }>;
@@ -1,6 +1,7 @@
1
+ import { default as React } from 'react';
1
2
  import { TaskApi } from '../api-task';
2
3
  interface CommonProps {
3
- label: string;
4
+ label: string | React.ReactNode;
4
5
  readonly?: boolean;
5
6
  messages: Record<string, {
6
7
  id: string;
@@ -25,7 +25,7 @@ export interface TaskFormDelegateProps {
25
25
  setFieldValue<FieldName extends keyof TaskFormProps>(fieldName: FieldName, fieldValue: TaskFormProps[FieldName]): void;
26
26
  }
27
27
  export declare const TaskFormState: React.FC<{
28
- task: TaskApi.Task;
28
+ task: Partial<TaskApi.Task> | null | undefined;
29
29
  children: React.FC<TaskFormDelegateProps>;
30
- onSubmit: (task: TaskApi.Task) => Promise<void>;
30
+ onSubmit: (task: Partial<TaskApi.Task>) => Promise<void>;
31
31
  }>;
@@ -1,8 +1,8 @@
1
1
  import { TaskApi } from '../api-task';
2
2
  export declare const Hook: import('../eveli-fetch').HookImpl<"worker/rest/api/tasks/$taskId.PUT", import('../eveli-fetch').Hook<{}, {
3
- updateTask: (task: TaskApi.Task) => Promise<TaskApi.Task>;
3
+ updateTask: (task: Partial<TaskApi.Task>) => Promise<TaskApi.Task>;
4
4
  }>, "worker/rest/api/tasks/$taskId", "PUT", {
5
5
  taskId: string;
6
6
  }, {}, {
7
- updateTask: (task: TaskApi.Task) => Promise<TaskApi.Task>;
7
+ updateTask: (task: Partial<TaskApi.Task>) => Promise<TaskApi.Task>;
8
8
  }>;
@@ -436,11 +436,11 @@ declare const workerRestApiTasksTaskIdGETRoute: import('./eveli-fetch').HookImpl
436
436
  getTask: (taskId: string) => Promise<import("./index.ts").TaskApi.Task>;
437
437
  }>;
438
438
  declare const workerRestApiTasksTaskIdPUTRoute: import('./eveli-fetch').HookImpl<"worker/rest/api/tasks/$taskId.PUT", import('./eveli-fetch').Hook<{}, {
439
- updateTask: (task: import("./index.ts").TaskApi.Task) => Promise<import("./index.ts").TaskApi.Task>;
439
+ updateTask: (task: Partial<import("./index.ts").TaskApi.Task>) => Promise<import("./index.ts").TaskApi.Task>;
440
440
  }>, "worker/rest/api/tasks/$taskId", "PUT", {
441
441
  taskId: string;
442
442
  }, {}, {
443
- updateTask: (task: import("./index.ts").TaskApi.Task) => Promise<import("./index.ts").TaskApi.Task>;
443
+ updateTask: (task: Partial<import("./index.ts").TaskApi.Task>) => Promise<import("./index.ts").TaskApi.Task>;
444
444
  }>;
445
445
  declare const workerRestApiTasksTaskIdReviewsGETRoute: import('./eveli-fetch').HookImpl<"worker/rest/api/tasks/$taskId/reviews.GET", import('./eveli-fetch').Hook<{}, {
446
446
  fetchReviewGet: (sessionId: string) => Promise<Response>;
@@ -1,4 +1,4 @@
1
- import { m as f } from "./index-Dj-aVjNp.js";
1
+ import { m as f } from "./index-D1mXa6Pg.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-Dj-aVjNp.js";
1
+ import { m as l } from "./index-D1mXa6Pg.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-Dj-aVjNp.js";
1
+ import { m as s } from "./index-D1mXa6Pg.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as lt } from "./index-Dj-aVjNp.js";
1
+ import { m as lt } from "./index-D1mXa6Pg.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)