@genexus/genexus-ide-ui 1.0.71 → 1.0.73

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 (47) hide show
  1. package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
  2. package/dist/cjs/gx-ide-bpm-task-documents.cjs.entry.js +282 -0
  3. package/dist/cjs/gx-ide-bpm-task-documents.cjs.entry.js.map +1 -0
  4. package/dist/cjs/gx-ide-data-selector.cjs.entry.js +24 -11
  5. package/dist/cjs/gx-ide-data-selector.cjs.entry.js.map +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +1 -0
  8. package/dist/collection/components/bpm/task-documents/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.en.json +23 -0
  9. package/dist/collection/components/bpm/task-documents/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.ja.json +23 -0
  10. package/dist/collection/components/bpm/task-documents/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.zh.json +23 -0
  11. package/dist/collection/components/bpm/task-documents/gx-ide-assets/bpm-task-documents/shortcuts.json +15 -0
  12. package/dist/collection/components/bpm/task-documents/helpers.js +34 -0
  13. package/dist/collection/components/bpm/task-documents/helpers.js.map +1 -0
  14. package/dist/collection/components/bpm/task-documents/task-documents.css +26 -0
  15. package/dist/collection/components/bpm/task-documents/task-documents.js +440 -0
  16. package/dist/collection/components/bpm/task-documents/task-documents.js.map +1 -0
  17. package/dist/collection/components/data-selector/data-selector.js +26 -13
  18. package/dist/collection/components/data-selector/data-selector.js.map +1 -1
  19. package/dist/collection/testing/locale.e2e.js +1 -0
  20. package/dist/collection/testing/locale.e2e.js.map +1 -1
  21. package/dist/components/gx-ide-bpm-task-documents.d.ts +11 -0
  22. package/dist/components/gx-ide-bpm-task-documents.js +313 -0
  23. package/dist/components/gx-ide-bpm-task-documents.js.map +1 -0
  24. package/dist/components/gx-ide-data-selector.js +24 -11
  25. package/dist/components/gx-ide-data-selector.js.map +1 -1
  26. package/dist/esm/genexus-ide-ui.js +1 -1
  27. package/dist/esm/gx-ide-bpm-task-documents.entry.js +278 -0
  28. package/dist/esm/gx-ide-bpm-task-documents.entry.js.map +1 -0
  29. package/dist/esm/gx-ide-data-selector.entry.js +24 -11
  30. package/dist/esm/gx-ide-data-selector.entry.js.map +1 -1
  31. package/dist/esm/loader.js +1 -1
  32. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  33. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
  34. package/dist/genexus-ide-ui/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.en.json +23 -0
  35. package/dist/genexus-ide-ui/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.ja.json +23 -0
  36. package/dist/genexus-ide-ui/gx-ide-assets/bpm-task-documents/langs/bpm-task-documents.lang.zh.json +23 -0
  37. package/dist/genexus-ide-ui/gx-ide-assets/bpm-task-documents/shortcuts.json +15 -0
  38. package/dist/genexus-ide-ui/p-a3361024.entry.js +419 -0
  39. package/dist/genexus-ide-ui/p-a3361024.entry.js.map +1 -0
  40. package/dist/genexus-ide-ui/{p-c624a8da.entry.js → p-eee8a8a9.entry.js} +61 -47
  41. package/dist/genexus-ide-ui/p-eee8a8a9.entry.js.map +1 -0
  42. package/dist/types/components/bpm/task-documents/helpers.d.ts +8 -0
  43. package/dist/types/components/bpm/task-documents/task-documents.d.ts +71 -0
  44. package/dist/types/components/data-selector/data-selector.d.ts +2 -2
  45. package/dist/types/components.d.ts +152 -64
  46. package/package.json +1 -1
  47. package/dist/genexus-ide-ui/p-c624a8da.entry.js.map +0 -1
@@ -16,6 +16,7 @@ import { ObjectData } from "./components/bpm/objects-selector/helpers";
16
16
  import { ImportData } from "./components/bpm/import-files/bpm-import-files";
17
17
  import { ImportData as ImportData1 } from "./components/bpm/import-gxpm/bpm-import-gxpm";
18
18
  import { SelectionData } from "./components/bpm/objects-selector/bpm-objects-selector";
19
+ import { CancelCallback as CancelCallback3, ConfirmCallback as ConfirmCallback2, SelectDocumentCallback, SuggestDocumentsCallback, TaskDocumentData } from "./components/bpm/task-documents/task-documents";
19
20
  import { TimerDuration } from "./components/bpm/timer-duration/bpm-timer-duration";
20
21
  import { AuthenticationType, GXServerConnectionData } from "./components/team-dev/connect-gx-server/connect-gx-server";
21
22
  import { ContextMenuInfo, EntityData, FormSubmitResult, GxOption, ImportItemResultData, LabelPosition as LabelPosition1, ObjectType } from "./common/types";
@@ -26,26 +27,26 @@ import { GXServerConnectionData as GXServerConnectionData1 } from "./components/
26
27
  import { KBData, KBVersion, KnowledgeBaseInfo } from "./components/team-dev/create-kb-from-server/create-kb-from-server";
27
28
  import { MenuAlign, Mode, UserInfo } from "./components/current-user-info/current-user-info";
28
29
  import { EditResult, EnvironmentData, KBData as KBData1, recentObjectData } from "./components/dashboard-home/dashboard-home";
29
- import { CancelCallback as CancelCallback3, ConfirmCallback as ConfirmCallback2, EditCallback, LoadItemsCallback, NewVariableCallback, SelectObjectCallback } from "./components/data-selector/data-selector";
30
+ import { CancelCallback as CancelCallback4, ConfirmCallback as ConfirmCallback3, EditCallback, LoadItemsCallback, NewVariableCallback, SelectObjectCallback } from "./components/data-selector/data-selector";
30
31
  import { DataTypeCategoryData, DataTypeData, DataTypeSelectedCallback } from "./components/data-type-selector/data-type-selector";
31
- import { CancelCallback as CancelCallback4, ConfirmCallback as ConfirmCallback3, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, ReactiveSettings, RequiresAccessTokenCallback, SelectModuleCallback, TextEditorFactoryCallback } from "./components/design-import/design-import";
32
+ import { CancelCallback as CancelCallback5, ConfirmCallback as ConfirmCallback4, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, ReactiveSettings, RequiresAccessTokenCallback, SelectModuleCallback, TextEditorFactoryCallback } from "./components/design-import/design-import";
32
33
  import { DirectorySelectorLabels, LabelPosition } from "./components/_helpers/directory-selector/directory-selector";
33
34
  import { ModuleServerData, ModuleServerType } from "./components/modules/types";
34
- import { CancelCallback as CancelCallback5, ConfirmCallback as ConfirmCallback4, SelectSourceCallback } from "./components/modules/edit-module-server/edit-module-server";
35
- import { CancelCallback as CancelCallback6, GamConfigData, RepairCallback, SaveCallback } from "./components/gam-installation-settings/gam-installation-settings";
36
- import { AddObjectsCallback, AddReferencesCallback, CancelCallback as CancelCallback7, ExportCallback as ExportCallback1, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, OptionsCallback } from "./components/kb-manager-export/types";
37
- import { CancelCallback as CancelCallback8, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-import/kb-manager-import";
35
+ import { CancelCallback as CancelCallback6, ConfirmCallback as ConfirmCallback5, SelectSourceCallback } from "./components/modules/edit-module-server/edit-module-server";
36
+ import { CancelCallback as CancelCallback7, GamConfigData, RepairCallback, SaveCallback } from "./components/gam-installation-settings/gam-installation-settings";
37
+ import { AddObjectsCallback, AddReferencesCallback, CancelCallback as CancelCallback8, ExportCallback as ExportCallback1, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, OptionsCallback } from "./components/kb-manager-export/types";
38
+ import { CancelCallback as CancelCallback9, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-import/kb-manager-import";
38
39
  import { CheckedItemsInfo } from "./components/_helpers/list-selector/list-selector";
39
40
  import { ItemData } from "./components/_helpers/list-selector/list-selector-item/list-selector-item";
40
41
  import { IdeLoaderCancelCallback } from "./components/_helpers/ide-loader/ide-loader";
41
42
  import { AddServerCallback, ExecuteActionCallback, ServerContextMenuCallback, ServerSelectedCallback } from "./components/modules/manage-module-references/manage-module-references";
42
43
  import { ExecuteActionCallback as ExecuteActionCallback1, ServerContextMenuCallback as ServerContextMenuCallback1, ServerSelectedCallback as ServerSelectedCallback1 } from "./components/modules/manage-module-references-v2/manage-module-references-v2";
43
- import { CancelCallback as CancelCallback9, CloseCallback, ConfirmCallback as ConfirmCallback5, HeaderData, ItemSelectedCallback, NavigationData } from "./components/navigation-report/navigation-report";
44
- import { CancelCallback as CancelCallback10, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback } from "./components/new-environment/new-environment";
45
- import { CancelCallback as CancelCallback11, CreateCallback as CreateCallback1, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, SelectLocationCallback } from "./components/new-kb/new-kb";
46
- import { CancelCallback as CancelCallback12, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback1, SuggestDescriptionCallback, SuggestNameCallback, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
44
+ import { CancelCallback as CancelCallback10, CloseCallback, ConfirmCallback as ConfirmCallback6, HeaderData, ItemSelectedCallback, NavigationData } from "./components/navigation-report/navigation-report";
45
+ import { CancelCallback as CancelCallback11, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback } from "./components/new-environment/new-environment";
46
+ import { CancelCallback as CancelCallback12, CreateCallback as CreateCallback1, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, SelectLocationCallback } from "./components/new-kb/new-kb";
47
+ import { CancelCallback as CancelCallback13, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback1, SuggestDescriptionCallback, SuggestNameCallback, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
47
48
  import { NewVersionData } from "./components/new-version/new-version";
48
- import { CancelCallback as CancelCallback13, LoadCallback as LoadCallback2, NewObjectCallback, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback2 } from "./components/object-selector/object-selector";
49
+ import { CancelCallback as CancelCallback14, LoadCallback as LoadCallback2, NewObjectCallback, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback2 } from "./components/object-selector/object-selector";
49
50
  import { LoadReferencesCallback, ObjectData as ObjectData1, OpenObjectCallback, OpenSelectorDialogCallback, SelectorSourceCallback, SelectReferenceCallback } from "./components/references/references";
50
51
  import { CheckboxType, DialogAction, ItemNode } from "./components/select-kb-items/select-kb-items";
51
52
  import { TeamData } from "./components/select-user-team/select-user-team";
@@ -56,8 +57,8 @@ import { RecentKBData, SecondarySection } from "./components/start-page/start-pa
56
57
  import { CheckedItemsInfo as CheckedItemsInfo1 } from "./components/_helpers/list-selector/list-selector";
57
58
  import { CommitCallback, CommitSelectCallback, GetRecentComment, LoadCallback as LoadCallback3, ObjectsContextMenuCallback, PendingItemsCheckedCallback } from "./components/team-dev/commit/commit";
58
59
  import { cancelCallback, confirmCallback } from "./components/team-dev/select-recent-comment/select-recent-comment";
59
- import { ConfirmCallback as ConfirmCallback6, GridContextMenuCallback, LoadCallback as LoadCallback4, ObjectsContextMenuCallback as ObjectsContextMenuCallback1, PendingItemsCheckedCallback as PendingItemsCheckedCallback1, UpdateCallback, UpdateFromData, UpdateSelectCallback } from "./components/team-dev/update/update";
60
- import { AddCallback, CancelCallback as CancelCallback14, ConfirmCallback as ConfirmCallback7, ObjectData as ObjectData2 } from "./components/team-dev/update-partial-selection/update-partial-selection";
60
+ import { ConfirmCallback as ConfirmCallback7, GridContextMenuCallback, LoadCallback as LoadCallback4, ObjectsContextMenuCallback as ObjectsContextMenuCallback1, PendingItemsCheckedCallback as PendingItemsCheckedCallback1, UpdateCallback, UpdateFromData, UpdateSelectCallback } from "./components/team-dev/update/update";
61
+ import { AddCallback, CancelCallback as CancelCallback15, ConfirmCallback as ConfirmCallback8, ObjectData as ObjectData2 } from "./components/team-dev/update-partial-selection/update-partial-selection";
61
62
  import { cancelCallbackFn, confirmCallbackFn } from "./components/team-dev/update-to-revision/update-to-revision";
62
63
  import { TitleAlignment as TitleAlignment1, TitleType as TitleType1 } from "./components/_helpers/title/title";
63
64
  import { CloseCallback as CloseCallback1, SlideInfo, TransitionType } from "./components/welcome-page/welcome-page";
@@ -76,6 +77,7 @@ export { ObjectData } from "./components/bpm/objects-selector/helpers";
76
77
  export { ImportData } from "./components/bpm/import-files/bpm-import-files";
77
78
  export { ImportData as ImportData1 } from "./components/bpm/import-gxpm/bpm-import-gxpm";
78
79
  export { SelectionData } from "./components/bpm/objects-selector/bpm-objects-selector";
80
+ export { CancelCallback as CancelCallback3, ConfirmCallback as ConfirmCallback2, SelectDocumentCallback, SuggestDocumentsCallback, TaskDocumentData } from "./components/bpm/task-documents/task-documents";
79
81
  export { TimerDuration } from "./components/bpm/timer-duration/bpm-timer-duration";
80
82
  export { AuthenticationType, GXServerConnectionData } from "./components/team-dev/connect-gx-server/connect-gx-server";
81
83
  export { ContextMenuInfo, EntityData, FormSubmitResult, GxOption, ImportItemResultData, LabelPosition as LabelPosition1, ObjectType } from "./common/types";
@@ -86,26 +88,26 @@ export { GXServerConnectionData as GXServerConnectionData1 } from "./components/
86
88
  export { KBData, KBVersion, KnowledgeBaseInfo } from "./components/team-dev/create-kb-from-server/create-kb-from-server";
87
89
  export { MenuAlign, Mode, UserInfo } from "./components/current-user-info/current-user-info";
88
90
  export { EditResult, EnvironmentData, KBData as KBData1, recentObjectData } from "./components/dashboard-home/dashboard-home";
89
- export { CancelCallback as CancelCallback3, ConfirmCallback as ConfirmCallback2, EditCallback, LoadItemsCallback, NewVariableCallback, SelectObjectCallback } from "./components/data-selector/data-selector";
91
+ export { CancelCallback as CancelCallback4, ConfirmCallback as ConfirmCallback3, EditCallback, LoadItemsCallback, NewVariableCallback, SelectObjectCallback } from "./components/data-selector/data-selector";
90
92
  export { DataTypeCategoryData, DataTypeData, DataTypeSelectedCallback } from "./components/data-type-selector/data-type-selector";
91
- export { CancelCallback as CancelCallback4, ConfirmCallback as ConfirmCallback3, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, ReactiveSettings, RequiresAccessTokenCallback, SelectModuleCallback, TextEditorFactoryCallback } from "./components/design-import/design-import";
93
+ export { CancelCallback as CancelCallback5, ConfirmCallback as ConfirmCallback4, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, ReactiveSettings, RequiresAccessTokenCallback, SelectModuleCallback, TextEditorFactoryCallback } from "./components/design-import/design-import";
92
94
  export { DirectorySelectorLabels, LabelPosition } from "./components/_helpers/directory-selector/directory-selector";
93
95
  export { ModuleServerData, ModuleServerType } from "./components/modules/types";
94
- export { CancelCallback as CancelCallback5, ConfirmCallback as ConfirmCallback4, SelectSourceCallback } from "./components/modules/edit-module-server/edit-module-server";
95
- export { CancelCallback as CancelCallback6, GamConfigData, RepairCallback, SaveCallback } from "./components/gam-installation-settings/gam-installation-settings";
96
- export { AddObjectsCallback, AddReferencesCallback, CancelCallback as CancelCallback7, ExportCallback as ExportCallback1, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, OptionsCallback } from "./components/kb-manager-export/types";
97
- export { CancelCallback as CancelCallback8, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-import/kb-manager-import";
96
+ export { CancelCallback as CancelCallback6, ConfirmCallback as ConfirmCallback5, SelectSourceCallback } from "./components/modules/edit-module-server/edit-module-server";
97
+ export { CancelCallback as CancelCallback7, GamConfigData, RepairCallback, SaveCallback } from "./components/gam-installation-settings/gam-installation-settings";
98
+ export { AddObjectsCallback, AddReferencesCallback, CancelCallback as CancelCallback8, ExportCallback as ExportCallback1, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, OptionsCallback } from "./components/kb-manager-export/types";
99
+ export { CancelCallback as CancelCallback9, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-import/kb-manager-import";
98
100
  export { CheckedItemsInfo } from "./components/_helpers/list-selector/list-selector";
99
101
  export { ItemData } from "./components/_helpers/list-selector/list-selector-item/list-selector-item";
100
102
  export { IdeLoaderCancelCallback } from "./components/_helpers/ide-loader/ide-loader";
101
103
  export { AddServerCallback, ExecuteActionCallback, ServerContextMenuCallback, ServerSelectedCallback } from "./components/modules/manage-module-references/manage-module-references";
102
104
  export { ExecuteActionCallback as ExecuteActionCallback1, ServerContextMenuCallback as ServerContextMenuCallback1, ServerSelectedCallback as ServerSelectedCallback1 } from "./components/modules/manage-module-references-v2/manage-module-references-v2";
103
- export { CancelCallback as CancelCallback9, CloseCallback, ConfirmCallback as ConfirmCallback5, HeaderData, ItemSelectedCallback, NavigationData } from "./components/navigation-report/navigation-report";
104
- export { CancelCallback as CancelCallback10, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback } from "./components/new-environment/new-environment";
105
- export { CancelCallback as CancelCallback11, CreateCallback as CreateCallback1, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, SelectLocationCallback } from "./components/new-kb/new-kb";
106
- export { CancelCallback as CancelCallback12, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback1, SuggestDescriptionCallback, SuggestNameCallback, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
105
+ export { CancelCallback as CancelCallback10, CloseCallback, ConfirmCallback as ConfirmCallback6, HeaderData, ItemSelectedCallback, NavigationData } from "./components/navigation-report/navigation-report";
106
+ export { CancelCallback as CancelCallback11, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback } from "./components/new-environment/new-environment";
107
+ export { CancelCallback as CancelCallback12, CreateCallback as CreateCallback1, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, SelectLocationCallback } from "./components/new-kb/new-kb";
108
+ export { CancelCallback as CancelCallback13, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback1, SuggestDescriptionCallback, SuggestNameCallback, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
107
109
  export { NewVersionData } from "./components/new-version/new-version";
108
- export { CancelCallback as CancelCallback13, LoadCallback as LoadCallback2, NewObjectCallback, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback2 } from "./components/object-selector/object-selector";
110
+ export { CancelCallback as CancelCallback14, LoadCallback as LoadCallback2, NewObjectCallback, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback2 } from "./components/object-selector/object-selector";
109
111
  export { LoadReferencesCallback, ObjectData as ObjectData1, OpenObjectCallback, OpenSelectorDialogCallback, SelectorSourceCallback, SelectReferenceCallback } from "./components/references/references";
110
112
  export { CheckboxType, DialogAction, ItemNode } from "./components/select-kb-items/select-kb-items";
111
113
  export { TeamData } from "./components/select-user-team/select-user-team";
@@ -116,8 +118,8 @@ export { RecentKBData, SecondarySection } from "./components/start-page/start-pa
116
118
  export { CheckedItemsInfo as CheckedItemsInfo1 } from "./components/_helpers/list-selector/list-selector";
117
119
  export { CommitCallback, CommitSelectCallback, GetRecentComment, LoadCallback as LoadCallback3, ObjectsContextMenuCallback, PendingItemsCheckedCallback } from "./components/team-dev/commit/commit";
118
120
  export { cancelCallback, confirmCallback } from "./components/team-dev/select-recent-comment/select-recent-comment";
119
- export { ConfirmCallback as ConfirmCallback6, GridContextMenuCallback, LoadCallback as LoadCallback4, ObjectsContextMenuCallback as ObjectsContextMenuCallback1, PendingItemsCheckedCallback as PendingItemsCheckedCallback1, UpdateCallback, UpdateFromData, UpdateSelectCallback } from "./components/team-dev/update/update";
120
- export { AddCallback, CancelCallback as CancelCallback14, ConfirmCallback as ConfirmCallback7, ObjectData as ObjectData2 } from "./components/team-dev/update-partial-selection/update-partial-selection";
121
+ export { ConfirmCallback as ConfirmCallback7, GridContextMenuCallback, LoadCallback as LoadCallback4, ObjectsContextMenuCallback as ObjectsContextMenuCallback1, PendingItemsCheckedCallback as PendingItemsCheckedCallback1, UpdateCallback, UpdateFromData, UpdateSelectCallback } from "./components/team-dev/update/update";
122
+ export { AddCallback, CancelCallback as CancelCallback15, ConfirmCallback as ConfirmCallback8, ObjectData as ObjectData2 } from "./components/team-dev/update-partial-selection/update-partial-selection";
121
123
  export { cancelCallbackFn, confirmCallbackFn } from "./components/team-dev/update-to-revision/update-to-revision";
122
124
  export { TitleAlignment as TitleAlignment1, TitleType as TitleType1 } from "./components/_helpers/title/title";
123
125
  export { CloseCallback as CloseCallback1, SlideInfo, TransitionType } from "./components/welcome-page/welcome-page";
@@ -358,6 +360,37 @@ export namespace Components {
358
360
  */
359
361
  "selection": SelectionData;
360
362
  }
363
+ interface GxIdeBpmTaskDocuments {
364
+ /**
365
+ * @property cancelCallback
366
+ * @description Callback invoked when the user cancels the application declaration (Cancel button)
367
+ */
368
+ "cancelCallback": CancelCallback3;
369
+ /**
370
+ * @property confirmCallback
371
+ * @description Callback invoked when the user confirms the application declaration (Ok button)
372
+ */
373
+ "confirmCallback": ConfirmCallback2;
374
+ /**
375
+ * @property documents
376
+ * @description The current value of the documents for the task
377
+ */
378
+ "documents": TaskDocumentData[];
379
+ /**
380
+ * @property selectDocumentCallback
381
+ * @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.
382
+ */
383
+ "selectDocumentCallback": SelectDocumentCallback;
384
+ /**
385
+ * @property suggestDocumentsCallback
386
+ * @description Callback that must be called to obtain options for the document input.
387
+ */
388
+ "suggestDocumentsCallback": SuggestDocumentsCallback;
389
+ /**
390
+ * Suspends or reactivates the shortcuts
391
+ */
392
+ "suspendShortcuts": (suspendShortcuts: boolean) => Promise<void>;
393
+ }
361
394
  interface GxIdeBpmTimerDuration {
362
395
  /**
363
396
  * Callback invoked when user cancels application declaration
@@ -690,11 +723,11 @@ export namespace Components {
690
723
  /**
691
724
  * Callback invoked when the user wishes to cancel the selection of objects.
692
725
  */
693
- "cancelCallback": CancelCallback3;
726
+ "cancelCallback": CancelCallback4;
694
727
  /**
695
728
  * Callback invoked when the user presses the 'OK' button
696
729
  */
697
- "confirmCallback": ConfirmCallback2;
730
+ "confirmCallback": ConfirmCallback3;
698
731
  /**
699
732
  * The default value for the module/folder filter
700
733
  */
@@ -758,11 +791,11 @@ export namespace Components {
758
791
  /**
759
792
  * This is a function provided by the developer that cancel the load operation.
760
793
  */
761
- "cancelCallback": CancelCallback4;
794
+ "cancelCallback": CancelCallback5;
762
795
  /**
763
796
  * This is a function provided by the developer that initiates the process of importing a design.
764
797
  */
765
- "confirmCallback": ConfirmCallback3;
798
+ "confirmCallback": ConfirmCallback4;
766
799
  /**
767
800
  * Default value for the 'Module' field.
768
801
  */
@@ -854,11 +887,11 @@ export namespace Components {
854
887
  /**
855
888
  * Cancel callback
856
889
  */
857
- "cancelCallback": CancelCallback5;
890
+ "cancelCallback": CancelCallback6;
858
891
  /**
859
892
  * Confirm callback
860
893
  */
861
- "confirmCallback": ConfirmCallback4;
894
+ "confirmCallback": ConfirmCallback5;
862
895
  /**
863
896
  * The name of the server
864
897
  */
@@ -936,7 +969,7 @@ export namespace Components {
936
969
  /**
937
970
  * Callback invoked when the user wants to cancel the exportation process
938
971
  */
939
- "cancelCallback": CancelCallback6;
972
+ "cancelCallback": CancelCallback7;
940
973
  /**
941
974
  * Specifies the configuration type to be used
942
975
  */
@@ -973,7 +1006,7 @@ export namespace Components {
973
1006
  * Callback invoked when the user wants to cancel the export process.
974
1007
  * @returns It returns a boolean indicating whether the process could be canceled or not.
975
1008
  */
976
- "cancelCallback": CancelCallback7;
1009
+ "cancelCallback": CancelCallback8;
977
1010
  /**
978
1011
  * Callback invoked when the user wants to initiate the export process.
979
1012
  * @param fileName :string
@@ -1014,7 +1047,7 @@ export namespace Components {
1014
1047
  /**
1015
1048
  * Callback invoked when user wants to cancel the export process.
1016
1049
  */
1017
- "cancelCallback": CancelCallback8;
1050
+ "cancelCallback": CancelCallback9;
1018
1051
  /**
1019
1052
  * Callback invoked when user wants to initiate the import process.
1020
1053
  */
@@ -1210,7 +1243,7 @@ export namespace Components {
1210
1243
  /**
1211
1244
  * Callback invoked when user cancels reorganization
1212
1245
  */
1213
- "cancelCallback": CancelCallback9;
1246
+ "cancelCallback": CancelCallback10;
1214
1247
  /**
1215
1248
  * Clear items
1216
1249
  */
@@ -1222,7 +1255,7 @@ export namespace Components {
1222
1255
  /**
1223
1256
  * Callback invoked when user confirms data base reorganization
1224
1257
  */
1225
- "confirmCallback": ConfirmCallback5;
1258
+ "confirmCallback": ConfirmCallback6;
1226
1259
  /**
1227
1260
  * The header data to display on the header.
1228
1261
  */
@@ -1236,7 +1269,7 @@ export namespace Components {
1236
1269
  /**
1237
1270
  * Callback invoked when user wants to cancel
1238
1271
  */
1239
- "cancelCallback": CancelCallback10;
1272
+ "cancelCallback": CancelCallback11;
1240
1273
  /**
1241
1274
  * Callback invoked when user confirms the KB creation
1242
1275
  */
@@ -1291,7 +1324,7 @@ export namespace Components {
1291
1324
  /**
1292
1325
  * Callback invoked when the user wants to cancel KB creation (‘Cancel’ button)
1293
1326
  */
1294
- "cancelCallback": CancelCallback11;
1327
+ "cancelCallback": CancelCallback12;
1295
1328
  /**
1296
1329
  * DB Collations
1297
1330
  */
@@ -1373,7 +1406,7 @@ export namespace Components {
1373
1406
  /**
1374
1407
  * Callback invoked when user wants to cancel object creation
1375
1408
  */
1376
- "cancelCallback": CancelCallback12;
1409
+ "cancelCallback": CancelCallback13;
1377
1410
  /**
1378
1411
  * Callback invoked when user wants to confirm object creation
1379
1412
  */
@@ -1443,7 +1476,7 @@ export namespace Components {
1443
1476
  /**
1444
1477
  * Callback invoked when the user wishes to cancel the selection of objects.
1445
1478
  */
1446
- "cancelCallback": CancelCallback13;
1479
+ "cancelCallback": CancelCallback14;
1447
1480
  /**
1448
1481
  * The categories render in the filter category selector
1449
1482
  */
@@ -1849,7 +1882,7 @@ export namespace Components {
1849
1882
  /**
1850
1883
  * This is a function provided by the developer that init the process of import a design.
1851
1884
  */
1852
- "confirmCallback": ConfirmCallback6;
1885
+ "confirmCallback": ConfirmCallback7;
1853
1886
  /**
1854
1887
  * If true it displays the component title on the header
1855
1888
  */
@@ -1911,11 +1944,11 @@ export namespace Components {
1911
1944
  /**
1912
1945
  * This is a function provided by the developer for execute when cancel button is pressed.
1913
1946
  */
1914
- "cancelCallback": CancelCallback14;
1947
+ "cancelCallback": CancelCallback15;
1915
1948
  /**
1916
1949
  * This is a function provided by the developer and is invoked when the action confirm is executed passing the selected objects of the grid
1917
1950
  */
1918
- "confirmCallback": ConfirmCallback7;
1951
+ "confirmCallback": ConfirmCallback8;
1919
1952
  /**
1920
1953
  * If true it displays the component title on the header
1921
1954
  */
@@ -2279,6 +2312,10 @@ export interface GxIdeBpmObjectsSelectorCustomEvent<T> extends CustomEvent<T> {
2279
2312
  detail: T;
2280
2313
  target: HTMLGxIdeBpmObjectsSelectorElement;
2281
2314
  }
2315
+ export interface GxIdeBpmTaskDocumentsCustomEvent<T> extends CustomEvent<T> {
2316
+ detail: T;
2317
+ target: HTMLGxIdeBpmTaskDocumentsElement;
2318
+ }
2282
2319
  export interface GxIdeBpmTimerDurationCustomEvent<T> extends CustomEvent<T> {
2283
2320
  detail: T;
2284
2321
  target: HTMLGxIdeBpmTimerDurationElement;
@@ -2498,6 +2535,23 @@ declare global {
2498
2535
  prototype: HTMLGxIdeBpmObjectsSelectorElement;
2499
2536
  new (): HTMLGxIdeBpmObjectsSelectorElement;
2500
2537
  };
2538
+ interface HTMLGxIdeBpmTaskDocumentsElementEventMap {
2539
+ "componentDidRenderFirstTime": string;
2540
+ }
2541
+ interface HTMLGxIdeBpmTaskDocumentsElement extends Components.GxIdeBpmTaskDocuments, HTMLStencilElement {
2542
+ addEventListener<K extends keyof HTMLGxIdeBpmTaskDocumentsElementEventMap>(type: K, listener: (this: HTMLGxIdeBpmTaskDocumentsElement, ev: GxIdeBpmTaskDocumentsCustomEvent<HTMLGxIdeBpmTaskDocumentsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2543
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2544
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2545
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2546
+ removeEventListener<K extends keyof HTMLGxIdeBpmTaskDocumentsElementEventMap>(type: K, listener: (this: HTMLGxIdeBpmTaskDocumentsElement, ev: GxIdeBpmTaskDocumentsCustomEvent<HTMLGxIdeBpmTaskDocumentsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2547
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2548
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2549
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2550
+ }
2551
+ var HTMLGxIdeBpmTaskDocumentsElement: {
2552
+ prototype: HTMLGxIdeBpmTaskDocumentsElement;
2553
+ new (): HTMLGxIdeBpmTaskDocumentsElement;
2554
+ };
2501
2555
  interface HTMLGxIdeBpmTimerDurationElementEventMap {
2502
2556
  "componentDidRenderFirstTime": string;
2503
2557
  }
@@ -3111,6 +3165,7 @@ declare global {
3111
3165
  "gx-ide-bpm-import-files": HTMLGxIdeBpmImportFilesElement;
3112
3166
  "gx-ide-bpm-import-gxpm": HTMLGxIdeBpmImportGxpmElement;
3113
3167
  "gx-ide-bpm-objects-selector": HTMLGxIdeBpmObjectsSelectorElement;
3168
+ "gx-ide-bpm-task-documents": HTMLGxIdeBpmTaskDocumentsElement;
3114
3169
  "gx-ide-bpm-timer-duration": HTMLGxIdeBpmTimerDurationElement;
3115
3170
  "gx-ide-card": HTMLGxIdeCardElement;
3116
3171
  "gx-ide-chat-container": HTMLGxIdeChatContainerElement;
@@ -3425,6 +3480,37 @@ declare namespace LocalJSX {
3425
3480
  */
3426
3481
  "selection"?: SelectionData;
3427
3482
  }
3483
+ interface GxIdeBpmTaskDocuments {
3484
+ /**
3485
+ * @property cancelCallback
3486
+ * @description Callback invoked when the user cancels the application declaration (Cancel button)
3487
+ */
3488
+ "cancelCallback"?: CancelCallback3;
3489
+ /**
3490
+ * @property confirmCallback
3491
+ * @description Callback invoked when the user confirms the application declaration (Ok button)
3492
+ */
3493
+ "confirmCallback"?: ConfirmCallback2;
3494
+ /**
3495
+ * @property documents
3496
+ * @description The current value of the documents for the task
3497
+ */
3498
+ "documents"?: TaskDocumentData[];
3499
+ /**
3500
+ * @description Gets fired when the component has rendered for the first time.
3501
+ */
3502
+ "onComponentDidRenderFirstTime"?: (event: GxIdeBpmTaskDocumentsCustomEvent<string>) => void;
3503
+ /**
3504
+ * @property selectDocumentCallback
3505
+ * @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.
3506
+ */
3507
+ "selectDocumentCallback"?: SelectDocumentCallback;
3508
+ /**
3509
+ * @property suggestDocumentsCallback
3510
+ * @description Callback that must be called to obtain options for the document input.
3511
+ */
3512
+ "suggestDocumentsCallback"?: SuggestDocumentsCallback;
3513
+ }
3428
3514
  interface GxIdeBpmTimerDuration {
3429
3515
  /**
3430
3516
  * Callback invoked when user cancels application declaration
@@ -3765,11 +3851,11 @@ declare namespace LocalJSX {
3765
3851
  /**
3766
3852
  * Callback invoked when the user wishes to cancel the selection of objects.
3767
3853
  */
3768
- "cancelCallback": CancelCallback3;
3854
+ "cancelCallback": CancelCallback4;
3769
3855
  /**
3770
3856
  * Callback invoked when the user presses the 'OK' button
3771
3857
  */
3772
- "confirmCallback": ConfirmCallback2;
3858
+ "confirmCallback": ConfirmCallback3;
3773
3859
  /**
3774
3860
  * The default value for the module/folder filter
3775
3861
  */
@@ -3781,7 +3867,7 @@ declare namespace LocalJSX {
3781
3867
  /**
3782
3868
  * Callback invoked when user presses the edit button. Receives the first selected element id as a parameter.
3783
3869
  */
3784
- "editCallback": EditCallback;
3870
+ "editCallback"?: EditCallback;
3785
3871
  /**
3786
3872
  * Callback invoked when the component needs to reload the list of attributes.
3787
3873
  */
@@ -3793,7 +3879,7 @@ declare namespace LocalJSX {
3793
3879
  /**
3794
3880
  * Callback invoked when the user presses the 'New' button.
3795
3881
  */
3796
- "newVariableCallback": NewVariableCallback;
3882
+ "newVariableCallback"?: NewVariableCallback;
3797
3883
  /**
3798
3884
  * Callback invoked when the action is executed in the Object filter. It returns the information of the selected object (id and name) or 'undefined' if it was canceled.
3799
3885
  */
@@ -3825,11 +3911,11 @@ declare namespace LocalJSX {
3825
3911
  /**
3826
3912
  * This is a function provided by the developer that cancel the load operation.
3827
3913
  */
3828
- "cancelCallback": CancelCallback4;
3914
+ "cancelCallback": CancelCallback5;
3829
3915
  /**
3830
3916
  * This is a function provided by the developer that initiates the process of importing a design.
3831
3917
  */
3832
- "confirmCallback": ConfirmCallback3;
3918
+ "confirmCallback": ConfirmCallback4;
3833
3919
  /**
3834
3920
  * Default value for the 'Module' field.
3835
3921
  */
@@ -3921,11 +4007,11 @@ declare namespace LocalJSX {
3921
4007
  /**
3922
4008
  * Cancel callback
3923
4009
  */
3924
- "cancelCallback"?: CancelCallback5;
4010
+ "cancelCallback"?: CancelCallback6;
3925
4011
  /**
3926
4012
  * Confirm callback
3927
4013
  */
3928
- "confirmCallback"?: ConfirmCallback4;
4014
+ "confirmCallback"?: ConfirmCallback5;
3929
4015
  /**
3930
4016
  * The name of the server
3931
4017
  */
@@ -4011,7 +4097,7 @@ declare namespace LocalJSX {
4011
4097
  /**
4012
4098
  * Callback invoked when the user wants to cancel the exportation process
4013
4099
  */
4014
- "cancelCallback"?: CancelCallback6;
4100
+ "cancelCallback"?: CancelCallback7;
4015
4101
  /**
4016
4102
  * Specifies the configuration type to be used
4017
4103
  */
@@ -4048,7 +4134,7 @@ declare namespace LocalJSX {
4048
4134
  * Callback invoked when the user wants to cancel the export process.
4049
4135
  * @returns It returns a boolean indicating whether the process could be canceled or not.
4050
4136
  */
4051
- "cancelCallback": CancelCallback7;
4137
+ "cancelCallback": CancelCallback8;
4052
4138
  /**
4053
4139
  * Callback invoked when the user wants to initiate the export process.
4054
4140
  * @param fileName :string
@@ -4085,7 +4171,7 @@ declare namespace LocalJSX {
4085
4171
  /**
4086
4172
  * Callback invoked when user wants to cancel the export process.
4087
4173
  */
4088
- "cancelCallback": CancelCallback8;
4174
+ "cancelCallback": CancelCallback9;
4089
4175
  /**
4090
4176
  * Callback invoked when user wants to initiate the import process.
4091
4177
  */
@@ -4301,7 +4387,7 @@ declare namespace LocalJSX {
4301
4387
  /**
4302
4388
  * Callback invoked when user cancels reorganization
4303
4389
  */
4304
- "cancelCallback"?: CancelCallback9;
4390
+ "cancelCallback"?: CancelCallback10;
4305
4391
  /**
4306
4392
  * Callback to be invoked when the user closes the dialog
4307
4393
  */
@@ -4309,7 +4395,7 @@ declare namespace LocalJSX {
4309
4395
  /**
4310
4396
  * Callback invoked when user confirms data base reorganization
4311
4397
  */
4312
- "confirmCallback"?: ConfirmCallback5;
4398
+ "confirmCallback"?: ConfirmCallback6;
4313
4399
  /**
4314
4400
  * The header data to display on the header.
4315
4401
  */
@@ -4327,7 +4413,7 @@ declare namespace LocalJSX {
4327
4413
  /**
4328
4414
  * Callback invoked when user wants to cancel
4329
4415
  */
4330
- "cancelCallback"?: CancelCallback10;
4416
+ "cancelCallback"?: CancelCallback11;
4331
4417
  /**
4332
4418
  * Callback invoked when user confirms the KB creation
4333
4419
  */
@@ -4378,7 +4464,7 @@ declare namespace LocalJSX {
4378
4464
  /**
4379
4465
  * Callback invoked when the user wants to cancel KB creation (‘Cancel’ button)
4380
4466
  */
4381
- "cancelCallback"?: CancelCallback11;
4467
+ "cancelCallback"?: CancelCallback12;
4382
4468
  /**
4383
4469
  * DB Collations
4384
4470
  */
@@ -4456,7 +4542,7 @@ declare namespace LocalJSX {
4456
4542
  /**
4457
4543
  * Callback invoked when user wants to cancel object creation
4458
4544
  */
4459
- "cancelCallback"?: CancelCallback12;
4545
+ "cancelCallback"?: CancelCallback13;
4460
4546
  /**
4461
4547
  * Callback invoked when user wants to confirm object creation
4462
4548
  */
@@ -4534,7 +4620,7 @@ declare namespace LocalJSX {
4534
4620
  /**
4535
4621
  * Callback invoked when the user wishes to cancel the selection of objects.
4536
4622
  */
4537
- "cancelCallback": CancelCallback13;
4623
+ "cancelCallback": CancelCallback14;
4538
4624
  /**
4539
4625
  * The categories render in the filter category selector
4540
4626
  */
@@ -4944,7 +5030,7 @@ declare namespace LocalJSX {
4944
5030
  /**
4945
5031
  * This is a function provided by the developer that init the process of import a design.
4946
5032
  */
4947
- "confirmCallback": ConfirmCallback6;
5033
+ "confirmCallback": ConfirmCallback7;
4948
5034
  /**
4949
5035
  * If true it displays the component title on the header
4950
5036
  */
@@ -5010,11 +5096,11 @@ declare namespace LocalJSX {
5010
5096
  /**
5011
5097
  * This is a function provided by the developer for execute when cancel button is pressed.
5012
5098
  */
5013
- "cancelCallback": CancelCallback14;
5099
+ "cancelCallback": CancelCallback15;
5014
5100
  /**
5015
5101
  * This is a function provided by the developer and is invoked when the action confirm is executed passing the selected objects of the grid
5016
5102
  */
5017
- "confirmCallback": ConfirmCallback7;
5103
+ "confirmCallback": ConfirmCallback8;
5018
5104
  /**
5019
5105
  * If true it displays the component title on the header
5020
5106
  */
@@ -5367,6 +5453,7 @@ declare namespace LocalJSX {
5367
5453
  "gx-ide-bpm-import-files": GxIdeBpmImportFiles;
5368
5454
  "gx-ide-bpm-import-gxpm": GxIdeBpmImportGxpm;
5369
5455
  "gx-ide-bpm-objects-selector": GxIdeBpmObjectsSelector;
5456
+ "gx-ide-bpm-task-documents": GxIdeBpmTaskDocuments;
5370
5457
  "gx-ide-bpm-timer-duration": GxIdeBpmTimerDuration;
5371
5458
  "gx-ide-card": GxIdeCard;
5372
5459
  "gx-ide-chat-container": GxIdeChatContainer;
@@ -5437,6 +5524,7 @@ declare module "@stencil/core" {
5437
5524
  "gx-ide-bpm-import-files": LocalJSX.GxIdeBpmImportFiles & JSXBase.HTMLAttributes<HTMLGxIdeBpmImportFilesElement>;
5438
5525
  "gx-ide-bpm-import-gxpm": LocalJSX.GxIdeBpmImportGxpm & JSXBase.HTMLAttributes<HTMLGxIdeBpmImportGxpmElement>;
5439
5526
  "gx-ide-bpm-objects-selector": LocalJSX.GxIdeBpmObjectsSelector & JSXBase.HTMLAttributes<HTMLGxIdeBpmObjectsSelectorElement>;
5527
+ "gx-ide-bpm-task-documents": LocalJSX.GxIdeBpmTaskDocuments & JSXBase.HTMLAttributes<HTMLGxIdeBpmTaskDocumentsElement>;
5440
5528
  "gx-ide-bpm-timer-duration": LocalJSX.GxIdeBpmTimerDuration & JSXBase.HTMLAttributes<HTMLGxIdeBpmTimerDurationElement>;
5441
5529
  "gx-ide-card": LocalJSX.GxIdeCard & JSXBase.HTMLAttributes<HTMLGxIdeCardElement>;
5442
5530
  "gx-ide-chat-container": LocalJSX.GxIdeChatContainer & JSXBase.HTMLAttributes<HTMLGxIdeChatContainerElement>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genexus/genexus-ide-ui",
3
3
  "license": "Apache-2.0",
4
- "version": "1.0.71",
4
+ "version": "1.0.73",
5
5
  "description": "GeneXus IDE UI components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- {"version":3,"names":["dataSelectorCss","CSS_BUNDLES","FILTER_ICON","getIconPath","category","name","colorType","GxIdeDataSelector","_GxIdeDataSelector_firstGridObjectId","set","this","_GxIdeDataSelector_loadItemsCallbackJustCalled","_GxIdeDataSelector_componentLocale","_GxIdeDataSelector_animateEmptyState","_GxIdeDataSelector_shortcutsSrc","getAssetPath","_GxIdeDataSelector_filterPatternEl","_GxIdeDataSelector_filterObjectEl","_GxIdeDataSelector_chShortcutsEl","_GxIdeDataSelector_chTabularGridObjectsEl","_GxIdeDataSelector_evaluateFirstRowSelection","__classPrivateFieldGet","selectRow","__classPrivateFieldSet","_GxIdeDataSelector_chGridKeyDownHandler","e","key","_GxIdeDataSelector_confirmCallbackHandler","call","stopPropagation","confirmCallback","selectedObjectsIds","_GxIdeDataSelector_editCallbackHandler","async","result","editCallback","_GxIdeDataSelector_refreshUIWithNewConfiguration","_GxIdeDataSelector_hostKeyPressHandler","_GxIdeDataSelector_objectsSelectionChangedHandler","event","detail","rowsId","_GxIdeDataSelector_newVariableCallbackHandler","response","newVariableCallback","objects","filters","pattern","_a","value","object","_c","_b","id","loading","loadItemsCallback","then","items","length","_GxIdeDataSelector_sortObjectsByName","_GxIdeDataSelector_renderFilter","h","class","htmlFor","filter","autoFocus","part","debounce","config","inputDebounce","onInput","ref","el","defaultModule","defaultValue","selectEntityCallback","selectObjectCallback","onValueChanged","_GxIdeDataSelector_renderObjects","gridIsEmpty","displayLoader","loader","data","rowSelectionMode","selectionType","onKeyDown","onSelectionChanged","undefined","settingable","size","tabularGrid","colSize","maxContent","tableHead","common","dataType","description","map","obj","rowid","onDblClick","src","type","loaderTitle","title","show","isAnimated","stateIconSrc","stateTitle","emptyState","sort","a","b","nameA","toLowerCase","nameB","componentWillLoad","Locale","getComponentStrings","connectedCallback","componentDidLoad","focus","componentDidRender","suspendShortcuts","suspend","validate","isValid","render","newVariableButtonEnabled","editButtonEnabled","okButtonEnabled","Host","onKeyPress","model","disabled","onClick","footer","btnNew","btnEdit","cancelCallback","btnCancel","btnConfirm"],"sources":["src/components/data-selector/data-selector.scss?tag=gx-ide-data-selector&encapsulation=shadow","src/components/data-selector/data-selector.tsx"],"sourcesContent":["@import \"../../../node_modules/@genexus/mercury/dist/mercury.scss\"; // for the tabular-grid-cell-layout mixin\n\n:host {\n display: grid;\n grid-template-rows: max-content 1fr max-content;\n overflow: auto;\n block-size: 100%;\n}\n\n.section {\n display: contents;\n}\n\n.header__field-group {\n display: grid;\n grid-template-columns: 1fr 1fr;\n}\n\n.tabular-grid {\n contain: size;\n}\n@include tabular-grid-cell-layout(\n $tabular-grid-selector: \".data\",\n $tabular-grid-cell-node-type: \"text\",\n $tabular-grid-cell-apply-ellipsis: true,\n $tabular-grid-affected-columns-nth-list: (\n 2,\n 3,\n 4\n )\n);\n\nch-tabular-grid.empty-result::part(main) {\n // WA to avoid scrollbar flickering when displaying the empty-state message\n overflow: hidden;\n}\nch-tabular-grid-rowset-empty {\n // to make the loader be positioned relative to 'ch-tabular-grid-rowset-empty'\n position: relative;\n}\n","/* eslint-disable @stencil-community/own-props-must-be-private */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n State,\n Method,\n getAssetPath\n} from \"@stencil/core\";\n\nimport { Locale } from \"../../common/locale\";\n\nimport { config } from \"../../common/config\";\nimport { EntityData } from \"../../common/types\";\nimport { MercuryBundles, getIconPath } from \"@genexus/mercury\";\nimport { TabularGridSelectionChangedEvent } from \"@genexus/chameleon-controls-library\";\n\n// Best performance bundle\nconst CSS_BUNDLES: MercuryBundles = [\n \"resets/box-sizing\",\n \"components/button\",\n \"components/edit\",\n \"components/tabular-grid\",\n \"components/icon\",\n \"utils/form\",\n \"utils/layout\",\n \"utils/spacing\",\n \"chameleon/scrollbar\"\n];\n\nconst FILTER_ICON = getIconPath({\n category: \"window-tools\",\n name: \"filter\",\n colorType: \"on-elevation\"\n});\n\n@Component({\n tag: \"gx-ide-data-selector\",\n styleUrl: \"data-selector.scss\",\n shadow: { delegatesFocus: true },\n assetsDirs: [\"gx-ide-assets/data-selector\"]\n})\nexport class GxIdeDataSelector {\n #firstGridObjectId: string; // used to select the first item after \"loadItemsCallback\"\n #loadItemsCallbackJustCalled: boolean = false; // used to select the first item after \"loadItemsCallback\"\n\n #componentLocale: any;\n #animateEmptyState: boolean = false;\n #shortcutsSrc = getAssetPath(`./gx-ide-assets/data-selector/shortcuts.json`);\n /* References needed to collect data */\n #filterPatternEl!: HTMLChEditElement;\n #filterObjectEl!: HTMLGxIdeEntitySelectorElement;\n #chShortcutsEl: HTMLChShortcutsElement;\n #chTabularGridObjectsEl: HTMLChTabularGridElement;\n\n @Element() el: HTMLGxIdeDataSelectorElement;\n\n /**\n * True if loadItemsCallback has been called and has not been resolved yet.\n */\n @State() loading: boolean = true;\n\n /**\n * The objects rendered in the table\n */\n @State() objects: ItemData[] = [];\n\n /**\n * The selected objects in the table of objects\n */\n @State() selectedObjectsIds: string[] = [];\n\n /**\n * Callback invoked when the user wishes to cancel the selection of objects.\n */\n @Prop() readonly cancelCallback!: CancelCallback;\n\n /**\n * Callback invoked when the user presses the 'OK' button\n */\n @Prop() readonly confirmCallback!: ConfirmCallback;\n\n /**\n * The default value for the module/folder filter\n */\n @Prop() readonly defaultModule: EntityData;\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Callback invoked when user presses the edit button. Receives the first\n * selected element id as a parameter.\n */\n @Prop() readonly editCallback!: EditCallback;\n\n /**\n * Callback invoked when the component needs to reload the list of attributes.\n */\n @Prop() readonly loadItemsCallback!: LoadItemsCallback;\n\n /**\n * If true, it will display a loader when needed.\n */\n @Prop() readonly loader = false;\n\n /**\n * Callback invoked when the user presses the 'New' button.\n */\n @Prop() readonly newVariableCallback!: NewVariableCallback;\n\n /**\n * Callback invoked when the action is executed in the Object filter. It returns\n * the information of the selected object (id and name) or 'undefined' if it was\n * canceled.\n */\n @Prop() readonly selectObjectCallback: SelectObjectCallback;\n\n /**\n * Single if multiple object selection is not allowed. Default is multiple\n */\n @Prop() readonly selectionType: \"single\" | \"multiple\" = \"multiple\";\n\n async componentWillLoad() {\n this.#componentLocale = await Locale.getComponentStrings(this.el);\n }\n\n connectedCallback() {\n this.#refreshUIWithNewConfiguration();\n }\n\n componentDidLoad() {\n this.#filterPatternEl.focus();\n }\n\n componentDidRender() {\n this.#evaluateFirstRowSelection();\n }\n\n /**\n * Suspends or reactivates the shortcuts\n */\n @Method()\n async suspendShortcuts(suspendShortcuts: boolean) {\n if (suspendShortcuts) {\n this.#chShortcutsEl.suspend = true;\n } else {\n this.#chShortcutsEl.suspend = false;\n }\n }\n\n /**\n * Validate necessary data input\n */\n @Method()\n async validate(): Promise<boolean> {\n const isValid = true;\n return isValid;\n }\n\n /**\n * After items have been loaded and rendered, the first row should be selected.\n */\n #evaluateFirstRowSelection = () => {\n if (this.#loadItemsCallbackJustCalled) {\n this.#chTabularGridObjectsEl.selectRow(this.#firstGridObjectId);\n }\n this.#loadItemsCallbackJustCalled = false;\n };\n\n #chGridKeyDownHandler = (e: KeyboardEvent) => {\n if (e.key === \"Enter\") {\n this.#confirmCallbackHandler(e);\n }\n };\n\n #confirmCallbackHandler = (e: MouseEvent | KeyboardEvent): void => {\n e.stopPropagation();\n this.confirmCallback(this.selectedObjectsIds);\n };\n\n #editCallbackHandler = async (e: MouseEvent): Promise<void> => {\n e.stopPropagation();\n if (this.selectedObjectsIds[0]) {\n const result = await this.editCallback(this.selectedObjectsIds[0]);\n if (result) {\n this.#refreshUIWithNewConfiguration();\n }\n }\n };\n\n #hostKeyPressHandler = (e: KeyboardEvent) => {\n // TODO : revise why this is necessary\n // just prevent keypress propagation\n if (e.key === \"Enter\") {\n e.stopPropagation();\n }\n };\n\n #objectsSelectionChangedHandler = (\n event: CustomEvent<TabularGridSelectionChangedEvent>\n ) => {\n this.selectedObjectsIds = event.detail.rowsId;\n };\n\n #newVariableCallbackHandler = async () => {\n const response = await this.newVariableCallback();\n if (response) {\n this.#refreshUIWithNewConfiguration();\n }\n };\n #refreshUIWithNewConfiguration = (): void => {\n this.objects = [];\n const filters: FiltersData = {\n pattern: this.#filterPatternEl?.value,\n object: this.#filterObjectEl?.value?.id\n };\n this.loading = true;\n this.loadItemsCallback(filters).then((items: ItemData[]) => {\n if (items.length) {\n this.objects = this.#sortObjectsByName(items);\n this.#firstGridObjectId = this.objects[0].id;\n this.#loadItemsCallbackJustCalled = true;\n }\n this.selectedObjectsIds = [];\n this.loading = false;\n });\n };\n\n #renderFilter = (): Element[] => {\n return [\n <div class=\"header__field-group field-group\">\n <div class=\"field field-block pattern-field\">\n <label class=\"label\" htmlFor=\"filter-pattern\">\n {this.#componentLocale.filter.pattern}\n </label>\n <ch-edit\n autoFocus\n id=\"filter-pattern\"\n name=\"filter-pattern\"\n class=\"input pattern-input\"\n part=\"filter-pattern\"\n debounce={config.inputDebounce}\n onInput={this.#refreshUIWithNewConfiguration}\n ref={(el: HTMLChEditElement) =>\n (this.#filterPatternEl = el as HTMLChEditElement)\n }\n ></ch-edit>\n </div>\n <gx-ide-entity-selector\n id=\"object-selector\"\n value={this.defaultModule}\n defaultValue={this.defaultModule}\n selectEntityCallback={this.selectObjectCallback}\n ref={(el: HTMLGxIdeEntitySelectorElement) =>\n (this.#filterObjectEl = el as HTMLGxIdeEntitySelectorElement)\n }\n class=\"entity\"\n onValueChanged={this.#refreshUIWithNewConfiguration}\n ></gx-ide-entity-selector>\n </div>\n ];\n };\n\n #renderObjects = (): Element => {\n const gridIsEmpty = !this.objects.length;\n const displayLoader = this.loader && this.loading;\n if (!gridIsEmpty || displayLoader) {\n this.#animateEmptyState = true; // improve performance if is first render\n }\n return (\n <ch-tabular-grid\n class={{\n \"tabular-grid\": true,\n \"empty-result\": this.objects.length === 0,\n \"data\": true\n }}\n rowSelectionMode={this.selectionType}\n onKeyDown={this.#chGridKeyDownHandler}\n part=\"ch-grid-objects\"\n onSelectionChanged={\n this.objects.length ? this.#objectsSelectionChangedHandler : undefined\n }\n ref={(el: HTMLChTabularGridElement) =>\n (this.#chTabularGridObjectsEl = el as HTMLChTabularGridElement)\n }\n >\n <ch-tabular-grid-columnset class=\"tabular-grid-column-set\">\n <ch-tabular-grid-column\n column-name-position=\"text\"\n settingable={false}\n size={config.tabularGrid.colSize.maxContent}\n class=\"tabular-grid-column\"\n ></ch-tabular-grid-column>\n <ch-tabular-grid-column\n column-name={this.#componentLocale.tableHead.name}\n column-name-position=\"text\"\n settingable={false}\n size={config.tabularGrid.colSize.common}\n class=\"tabular-grid-column\"\n ></ch-tabular-grid-column>\n <ch-tabular-grid-column\n column-name={this.#componentLocale.tableHead.dataType}\n column-name-position=\"text\"\n settingable={false}\n size={config.tabularGrid.colSize.common}\n class=\"tabular-grid-column\"\n ></ch-tabular-grid-column>\n <ch-tabular-grid-column\n column-name={this.#componentLocale.tableHead.description}\n column-name-position=\"text\"\n settingable={false}\n size={config.tabularGrid.colSize.common}\n class=\"tabular-grid-column\"\n ></ch-tabular-grid-column>\n </ch-tabular-grid-columnset>\n\n {!gridIsEmpty ? (\n <ch-tabular-grid-rowset class=\"tabular-grid-rowset\">\n {this.objects.map((obj: ItemData) => (\n <ch-tabular-grid-row\n rowid={obj.id}\n onDblClick={this.#confirmCallbackHandler}\n class=\"tabular-grid-row\"\n >\n <ch-tabular-grid-cell class=\"tabular-grid-cell\">\n <ch-image\n src={\n obj.type === \"attribute\"\n ? \"objects/attribute\"\n : \"objects-parts/variables\"\n }\n class=\"icon-md\"\n ></ch-image>\n </ch-tabular-grid-cell>\n <ch-tabular-grid-cell class=\"tabular-grid-cell\">\n {obj.name}\n </ch-tabular-grid-cell>\n <ch-tabular-grid-cell class=\"tabular-grid-cell\">\n {obj.dataType}\n </ch-tabular-grid-cell>\n <ch-tabular-grid-cell class=\"tabular-grid-cell\">\n {obj.description}\n </ch-tabular-grid-cell>\n </ch-tabular-grid-row>\n ))}\n </ch-tabular-grid-rowset>\n ) : (\n <ch-tabular-grid-rowset class=\"tabular-grid-rowset\">\n <ch-tabular-grid-rowset-empty>\n {displayLoader ? (\n <gx-ide-loader\n loaderTitle={this.#componentLocale.loader.title}\n show\n ></gx-ide-loader>\n ) : (\n <gx-ide-empty-state\n isAnimated={this.#animateEmptyState}\n stateIconSrc={FILTER_ICON}\n stateTitle={this.#componentLocale.emptyState.title}\n ></gx-ide-empty-state>\n )}\n </ch-tabular-grid-rowset-empty>\n </ch-tabular-grid-rowset>\n )}\n </ch-tabular-grid>\n );\n };\n\n #sortObjectsByName = (objects: ItemData[]): ItemData[] =>\n // TODO (make this a common helper function\n // and use it in other dialog grids that\n // require filter by name).\n objects.sort((a, b) => {\n const nameA = a.name.toLowerCase(),\n nameB = b.name.toLowerCase();\n if (nameA < nameB) {\n return -1;\n }\n if (nameA > nameB) {\n return 1;\n }\n return 0;\n });\n\n render() {\n const newVariableButtonEnabled = !this.loading;\n const editButtonEnabled = !this.loading && this.selectedObjectsIds.length;\n const okButtonEnabled = !this.loading;\n\n return (\n <Host onKeyPress={this.#hostKeyPressHandler} class=\"widget\">\n <ch-theme model={CSS_BUNDLES}></ch-theme>\n <ch-shortcuts\n src={this.#shortcutsSrc}\n ref={(el: HTMLChShortcutsElement) =>\n (this.#chShortcutsEl = el as HTMLChShortcutsElement)\n }\n ></ch-shortcuts>\n\n <section class=\"section\">\n <header class=\"header control-header-with-border spacing-body-block-start spacing-body-inline\">\n {this.#renderFilter()}\n </header>\n {this.#renderObjects()}\n <footer class=\"footer control-footer-with-border control-footer-space-between spacing-body-inline spacing-body-block-end\">\n <div class=\"buttons-spacer\">\n <button\n // New Variable Button\n class=\"button-secondary\"\n disabled={!newVariableButtonEnabled}\n part=\"button button-new\"\n type=\"button\"\n onClick={this.#newVariableCallbackHandler}\n >\n {this.#componentLocale.footer.btnNew}\n </button>\n <button\n // Edit Button\n class=\"button-secondary\"\n disabled={!editButtonEnabled}\n part=\"button button-edit\"\n type=\"button\"\n onClick={editButtonEnabled && this.#editCallbackHandler}\n >\n {this.#componentLocale.footer.btnEdit}\n </button>\n </div>\n\n <div class=\"buttons-spacer\">\n <button\n // Cancel Button\n class=\"button-secondary\"\n part=\"button button-cancel\"\n type=\"button\"\n onClick={this.cancelCallback}\n >\n {this.#componentLocale.footer.btnCancel}\n </button>\n <button\n // Confirm Button\n class=\"button-primary\"\n part=\"button button-ok\"\n disabled={!okButtonEnabled}\n type=\"button\"\n onClick={okButtonEnabled && this.#confirmCallbackHandler}\n >\n {this.#componentLocale.footer.btnConfirm}\n </button>\n </div>\n </footer>\n </section>\n </Host>\n );\n }\n}\n\nexport type NewVariableCallback = () => Promise<boolean>;\n\nexport type CancelCallback = () => Promise<void>;\n\nexport type SelectObjectCallback = () => Promise<EntityData | undefined>;\n\nexport type EditCallback = (id: string) => Promise<boolean>;\n\nexport type ConfirmCallback = (ids: string[]) => Promise<void>;\n\nexport type LoadItemsCallback = (filters: FiltersData) => Promise<ItemData[]>;\n\nexport type FiltersData = {\n pattern?: string;\n object?: string;\n};\n\nexport type ItemData = {\n type: ItemType;\n id: string;\n name: string;\n dataType: string;\n description: string;\n};\n\nexport type ItemType = \"variable\" | \"attribute\";\n"],"mappings":";;;;;;;;;;AAAA,MAAMA,IAAkB;;;;;;;;;;;;;;;;;0BCoBxB;MAAMC,IAA8B,EAClC,qBACA,qBACA,mBACA,2BACA,mBACA,cACA,gBACA,iBACA;;AAGF,MAAMC,IAAcC,EAAY;EAC9BC,UAAU;EACVC,MAAM;EACNC,WAAW;;;MASAC,IAAiB;;;IAC5BC,EAAAC,IAAAC,WAAA;;QACAC,EAAAF,IAAAC,MAAwC;;QAExCE,EAAAH,IAAAC,WAAA;IACAG,EAAAJ,IAAAC,MAA8B;IAC9BI,EAAAL,IAAAC,MAAgBK,EAAa;+CAE7BC,EAAAP,IAAAC,WAAA;IACAO,EAAAR,IAAAC,WAAA;IACAQ,EAAAT,IAAAC,WAAA;IACAS,EAAAV,IAAAC,WAAA;;;eAgHAU,EAAAX,IAAAC,OAA6B;MAC3B,IAAIW,EAAAX,MAAIC,GAAA,MAA+B;QACrCU,EAAAX,MAAIS,GAAA,KAAyBG,UAAUD,EAAAX,MAAIF,GAAA;;MAE7Ce,EAAAb,MAAIC,GAAgC,OAAK;AAAA;IAG3Ca,EAAAf,IAAAC,OAAyBe;MACvB,IAAIA,EAAEC,QAAQ,SAAS;QACrBL,EAAAX,MAAIiB,GAAA,KAAwBC,KAA5BlB,MAA6Be;;;IAIjCE,EAAAlB,IAAAC,OAA2Be;MACzBA,E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