@genexus/genexus-ide-ui 1.0.72 → 1.0.74

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 (59) hide show
  1. package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
  2. package/dist/cjs/gx-ide-bpm-sync-gam-roles.cjs.entry.js +104 -0
  3. package/dist/cjs/gx-ide-bpm-sync-gam-roles.cjs.entry.js.map +1 -0
  4. package/dist/cjs/gx-ide-bpm-task-documents.cjs.entry.js +282 -0
  5. package/dist/cjs/gx-ide-bpm-task-documents.cjs.entry.js.map +1 -0
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +2 -0
  8. package/dist/collection/components/bpm/sync-gam-roles/bpm-sync-gam-roles.css +6 -0
  9. package/dist/collection/components/bpm/sync-gam-roles/bpm-sync-gam-roles.js +167 -0
  10. package/dist/collection/components/bpm/sync-gam-roles/bpm-sync-gam-roles.js.map +1 -0
  11. package/dist/collection/components/bpm/sync-gam-roles/gx-ide-assets/bpm-sync-gam-roles/langs/bpm-sync-gam-roles.lang.en.json +18 -0
  12. package/dist/collection/components/bpm/sync-gam-roles/gx-ide-assets/bpm-sync-gam-roles/langs/bpm-sync-gam-roles.lang.ja.json +18 -0
  13. package/dist/collection/components/bpm/sync-gam-roles/gx-ide-assets/bpm-sync-gam-roles/langs/bpm-sync-gam-roles.lang.zh.json +18 -0
  14. package/dist/collection/components/bpm/sync-gam-roles/gx-ide-assets/bpm-sync-gam-roles/shortcuts.json +15 -0
  15. package/dist/collection/components/bpm/sync-gam-roles/helpers.js +12 -0
  16. package/dist/collection/components/bpm/sync-gam-roles/helpers.js.map +1 -0
  17. package/dist/collection/components/bpm/task-documents/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.en.json +23 -0
  18. package/dist/collection/components/bpm/task-documents/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.ja.json +23 -0
  19. package/dist/collection/components/bpm/task-documents/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.zh.json +23 -0
  20. package/dist/collection/components/bpm/task-documents/gx-ide-assets/bpm-task-documents/shortcuts.json +15 -0
  21. package/dist/collection/components/bpm/task-documents/helpers.js +34 -0
  22. package/dist/collection/components/bpm/task-documents/helpers.js.map +1 -0
  23. package/dist/collection/components/bpm/task-documents/task-documents.css +26 -0
  24. package/dist/collection/components/bpm/task-documents/task-documents.js +440 -0
  25. package/dist/collection/components/bpm/task-documents/task-documents.js.map +1 -0
  26. package/dist/collection/testing/locale.e2e.js +2 -0
  27. package/dist/collection/testing/locale.e2e.js.map +1 -1
  28. package/dist/components/gx-ide-bpm-sync-gam-roles.d.ts +11 -0
  29. package/dist/components/gx-ide-bpm-sync-gam-roles.js +122 -0
  30. package/dist/components/gx-ide-bpm-sync-gam-roles.js.map +1 -0
  31. package/dist/components/gx-ide-bpm-task-documents.d.ts +11 -0
  32. package/dist/components/gx-ide-bpm-task-documents.js +313 -0
  33. package/dist/components/gx-ide-bpm-task-documents.js.map +1 -0
  34. package/dist/esm/genexus-ide-ui.js +1 -1
  35. package/dist/esm/gx-ide-bpm-sync-gam-roles.entry.js +100 -0
  36. package/dist/esm/gx-ide-bpm-sync-gam-roles.entry.js.map +1 -0
  37. package/dist/esm/gx-ide-bpm-task-documents.entry.js +278 -0
  38. package/dist/esm/gx-ide-bpm-task-documents.entry.js.map +1 -0
  39. package/dist/esm/loader.js +1 -1
  40. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  41. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
  42. package/dist/genexus-ide-ui/gx-ide-assets/bpm-sync-gam-roles/langs/bpm-sync-gam-roles.lang.en.json +18 -0
  43. package/dist/genexus-ide-ui/gx-ide-assets/bpm-sync-gam-roles/langs/bpm-sync-gam-roles.lang.ja.json +18 -0
  44. package/dist/genexus-ide-ui/gx-ide-assets/bpm-sync-gam-roles/langs/bpm-sync-gam-roles.lang.zh.json +18 -0
  45. package/dist/genexus-ide-ui/gx-ide-assets/bpm-sync-gam-roles/shortcuts.json +15 -0
  46. package/dist/genexus-ide-ui/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.en.json +23 -0
  47. package/dist/genexus-ide-ui/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.ja.json +23 -0
  48. package/dist/genexus-ide-ui/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.zh.json +23 -0
  49. package/dist/genexus-ide-ui/gx-ide-assets/bpm-task-documents/shortcuts.json +15 -0
  50. package/dist/genexus-ide-ui/p-a3361024.entry.js +419 -0
  51. package/dist/genexus-ide-ui/p-a3361024.entry.js.map +1 -0
  52. package/dist/genexus-ide-ui/p-ded7444c.entry.js +136 -0
  53. package/dist/genexus-ide-ui/p-ded7444c.entry.js.map +1 -0
  54. package/dist/types/components/bpm/sync-gam-roles/bpm-sync-gam-roles.d.ts +23 -0
  55. package/dist/types/components/bpm/sync-gam-roles/helpers.d.ts +2 -0
  56. package/dist/types/components/bpm/task-documents/helpers.d.ts +8 -0
  57. package/dist/types/components/bpm/task-documents/task-documents.d.ts +71 -0
  58. package/dist/types/components.d.ts +185 -62
  59. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ export declare class GxIdeBpmSyncGamRoles {
2
+ #private;
3
+ el: HTMLGxIdeBpmSyncGamRolesElement;
4
+ componentWillLoad(): Promise<void>;
5
+ /**
6
+ * Callback invoked when the user press the 'Cancel' button
7
+ */
8
+ readonly cancelCallback: () => Promise<void>;
9
+ /**
10
+ * Callback invoked when the user press the 'Ok' button
11
+ */
12
+ readonly saveCallback: (syncData: SyncData) => Promise<boolean>;
13
+ /**
14
+ * Suspends or reactivates the shortcuts
15
+ */
16
+ suspendShortcuts(suspendShortcuts: boolean): Promise<void>;
17
+ render(): any;
18
+ }
19
+ export type SyncType = "From GAM" | "To GAM" | "Both";
20
+ export type SyncData = {
21
+ syncType: SyncType;
22
+ automaticBackup: boolean;
23
+ };
@@ -0,0 +1,2 @@
1
+ import { ComboBoxItemModel } from "@genexus/chameleon-controls-library/dist/types/components/combo-box/types";
2
+ export declare const mapTypesToComboBoxItemModel: (synchronizationTypes: any[]) => ComboBoxItemModel[];
@@ -0,0 +1,8 @@
1
+ import { TaskDocumentData } from "./task-documents";
2
+ import { ActionListItemModel } from "@genexus/chameleon-controls-library/dist/types/components/action-list/types";
3
+ import { ComboBoxItemModel } from "@genexus/chameleon-controls-library/dist/types/components/combo-box/types";
4
+ export declare const taskDocumentsToActionListItemModel: (objects: TaskDocumentData[], selectedDocument?: TaskDocumentData) => ActionListItemModel[];
5
+ /**
6
+ * @description This function converts string[] to ComboBoxItemModel[]
7
+ */
8
+ export declare const convertSuggestedDocumentsToSuggestItems: (suggestedDocuments: string[]) => ComboBoxItemModel[];
@@ -0,0 +1,71 @@
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
2
+ import { ActionListItemModel } from "@genexus/chameleon-controls-library/dist/types/components/action-list/types";
3
+ import { ComboBoxItemModel } from "@genexus/chameleon-controls-library/dist/types/components/combo-box/types";
4
+ export declare class GxIdeBpmTaskDocuments {
5
+ #private;
6
+ el: HTMLGxIdeBpmTaskDocumentsElement;
7
+ /**
8
+ * Documents state for the action list
9
+ */
10
+ documentsActionListState: ActionListItemModel[];
11
+ documentName: string;
12
+ /**
13
+ * Document selected in the action list
14
+ */
15
+ selectedDocument: TaskDocumentData;
16
+ /**
17
+ * Possible suggestions for the documents
18
+ */
19
+ suggestedDocuments: ComboBoxItemModel[];
20
+ /**
21
+ * @property documents
22
+ * @description The current value of the documents for the task
23
+ */
24
+ documents: TaskDocumentData[];
25
+ /**
26
+ * @property cancelCallback
27
+ * @description Callback invoked when the user cancels the application declaration (Cancel button)
28
+ */
29
+ readonly cancelCallback: CancelCallback;
30
+ /**
31
+ * @property confirmCallback
32
+ * @description Callback invoked when the user confirms the application declaration (Ok button)
33
+ */
34
+ readonly confirmCallback: ConfirmCallback;
35
+ /**
36
+ * @property selectDocumentCallback
37
+ * @description Callback invoked when the user presses the '...' button to access the WorkflowDocuments selection dialog. Returns the name of the document to be inserted in the input or 'undefined' if it was canceled.
38
+ */
39
+ readonly selectDocumentCallback: SelectDocumentCallback;
40
+ /**
41
+ * @property suggestDocumentsCallback
42
+ * @description Callback that must be called to obtain options for the document input.
43
+ */
44
+ readonly suggestDocumentsCallback: SuggestDocumentsCallback;
45
+ /**
46
+ * @description Gets fired when the component has rendered for the first time.
47
+ */
48
+ componentDidRenderFirstTime: EventEmitter<string>;
49
+ componentWillLoad(): Promise<void>;
50
+ componentDidRender(): void;
51
+ /**
52
+ * Suspends or reactivates the shortcuts
53
+ */
54
+ suspendShortcuts(suspendShortcuts: boolean): Promise<void>;
55
+ render(): any;
56
+ }
57
+ export type TaskDocumentData = {
58
+ name: string;
59
+ readEnabled: boolean;
60
+ readRequired: boolean;
61
+ newEnabled: boolean;
62
+ newRequired: boolean;
63
+ updateEnabled: boolean;
64
+ updateRequired: boolean;
65
+ deleteEnabled: boolean;
66
+ deleteRequired: boolean;
67
+ };
68
+ export type SuggestDocumentsCallback = (documentName: string) => Promise<string[] | undefined>;
69
+ export type SelectDocumentCallback = () => Promise<string | undefined>;
70
+ export type ConfirmCallback = (data: TaskDocumentData[]) => Promise<void>;
71
+ export type CancelCallback = () => Promise<void>;