@acorex/platform 20.3.0-next.6 → 20.3.0-next.8

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 (32) hide show
  1. package/core/index.d.ts +331 -2
  2. package/fesm2022/acorex-platform-core.mjs +347 -45
  3. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  4. package/fesm2022/acorex-platform-layout-builder.mjs +2 -2
  5. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  6. package/fesm2022/acorex-platform-layout-components.mjs +670 -51
  7. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  8. package/fesm2022/acorex-platform-layout-entity.mjs +9 -5
  9. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  10. package/fesm2022/acorex-platform-layout-views.mjs +15 -0
  11. package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
  12. package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs} +21 -11
  13. package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs.map +1 -0
  14. package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs} +20 -5
  15. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs.map +1 -0
  16. package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs} +20 -5
  17. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs.map +1 -0
  18. package/fesm2022/acorex-platform-themes-shared.mjs +51 -15
  19. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  20. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs → acorex-platform-widgets-checkbox-widget-view.component-KYCQ2qTJ.mjs} +51 -35
  21. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-KYCQ2qTJ.mjs.map +1 -0
  22. package/fesm2022/acorex-platform-widgets.mjs +1089 -1657
  23. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  24. package/layout/builder/index.d.ts +2 -3
  25. package/layout/components/index.d.ts +286 -7
  26. package/layout/entity/index.d.ts +8 -1
  27. package/package.json +1 -1
  28. package/widgets/index.d.ts +1240 -284
  29. package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs.map +0 -1
  30. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs.map +0 -1
  31. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs.map +0 -1
  32. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs.map +0 -1
package/core/index.d.ts CHANGED
@@ -79,6 +79,98 @@ type AXPValueTransformerFunctions = {
79
79
  };
80
80
  declare function objectKeyValueTransforms(keyName: string): AXPValueTransformerFunctions;
81
81
 
82
+ /**
83
+ * Additional suggested generic actions for future consideration:
84
+ *
85
+ * Data & Content Actions:
86
+ * - Search = 'search' - Search functionality
87
+ * - Filter = 'filter' - Apply filters
88
+ * - Sort = 'sort' - Sort data
89
+ * - Group = 'group' - Group data
90
+ * - Expand = 'expand' - Expand details
91
+ * - Collapse = 'collapse' - Collapse details
92
+ * - Pin = 'pin' - Pin to favorites
93
+ * - Bookmark = 'bookmark' - Bookmark item
94
+ * - Favorite = 'favorite' - Mark as favorite
95
+ * - Star = 'star' - Star rating
96
+ *
97
+ * Workflow Actions:
98
+ * - Start = 'start' - Start process/workflow
99
+ * - Stop = 'stop' - Stop process
100
+ * - Pause = 'pause' - Pause process
101
+ * - Resume = 'resume' - Resume process
102
+ * - Cancel = 'cancel' - Cancel operation
103
+ * - Complete = 'complete' - Mark as complete
104
+ * - Close = 'close' - Close item
105
+ * - Reopen = 'reopen' - Reopen closed item
106
+ * - Forward = 'forward' - Forward to next step
107
+ * - Back = 'back' - Go back
108
+ *
109
+ * Communication Actions:
110
+ * - Reply = 'reply' - Reply to message
111
+ * - Forward = 'forward' - Forward message
112
+ * - Notify = 'notify' - Send notification
113
+ * - Invite = 'invite' - Invite user
114
+ * - Join = 'join' - Join group/meeting
115
+ * - Leave = 'leave' - Leave group/meeting
116
+ *
117
+ * Security Actions:
118
+ * - Login = 'login' - User login
119
+ * - Logout = 'logout' - User logout
120
+ * - Block = 'block' - Block user/content
121
+ * - Unblock = 'unblock' - Unblock user/content
122
+ * - Ban = 'ban' - Ban user
123
+ * - Unban = 'unban' - Unban user
124
+ * - Verify = 'verify' - Verify identity
125
+ * - Authenticate = 'authenticate' - Authenticate
126
+ *
127
+ * File & Media Actions:
128
+ * - Open = 'open' - Open file
129
+ * - Save = 'save' - Save file
130
+ * - SaveAs = 'save-as' - Save as new file
131
+ * - Attach = 'attach' - Attach file
132
+ * - Detach = 'detach' - Detach file
133
+ * - Compress = 'compress' - Compress files
134
+ * - Extract = 'extract' - Extract archive
135
+ * - Convert = 'convert' - Convert format
136
+ * - Crop = 'crop' - Crop image
137
+ * - Resize = 'resize' - Resize image
138
+ *
139
+ * System Actions:
140
+ * - Sync = 'sync' - Synchronize data
141
+ * - Backup = 'backup' - Create backup
142
+ * - Restore = 'restore' - Restore from backup
143
+ * - Reset = 'reset' - Reset to defaults
144
+ * - Clear = 'clear' - Clear data
145
+ * - Optimize = 'optimize' - Optimize performance
146
+ * - Update = 'update' - Update system
147
+ * - Install = 'install' - Install component
148
+ * - Uninstall = 'uninstall' - Uninstall component
149
+ * - Enable = 'enable' - Enable feature
150
+ * - Disable = 'disable' - Disable feature
151
+ *
152
+ * Analytics & Monitoring:
153
+ * - Monitor = 'monitor' - Monitor activity
154
+ * - Track = 'track' - Track progress
155
+ * - Analyze = 'analyze' - Analyze data
156
+ * - Debug = 'debug' - Debug issue
157
+ * - Log = 'log' - View logs
158
+ * - Alert = 'alert' - Set alert
159
+ * - Dashboard = 'dashboard' - View dashboard
160
+ * - Metrics = 'metrics' - View metrics
161
+ *
162
+ * Collaboration Actions:
163
+ * - Collaborate = 'collaborate' - Start collaboration
164
+ * - Share = 'share' - Share content
165
+ * - Comment = 'comment' - Add comment
166
+ * - Like = 'like' - Like content
167
+ * - Follow = 'follow' - Follow user/content
168
+ * - Subscribe = 'subscribe' - Subscribe to updates
169
+ * - Unsubscribe = 'unsubscribe' - Unsubscribe
170
+ * - Rate = 'rate' - Rate content
171
+ * - Review = 'review' - Review content
172
+ * - Recommend = 'recommend' - Recommend content
173
+ */
82
174
  declare enum AXPSystemActionType {
83
175
  View = "view",
84
176
  Create = "create",
@@ -119,7 +211,24 @@ declare enum AXPSystemActionType {
119
211
  Send = "send",
120
212
  Report = "report",
121
213
  Sent = "sent",
122
- Review = "review"
214
+ Review = "review",
215
+ Generate = "generate",
216
+ Refresh = "refresh",
217
+ Reload = "reload",
218
+ Search = "search",
219
+ Filter = "filter",
220
+ Sort = "sort",
221
+ Start = "start",
222
+ Stop = "stop",
223
+ Pause = "pause",
224
+ Cancel = "cancel",
225
+ Close = "close",
226
+ Complete = "complete",
227
+ Save = "save",
228
+ SaveAs = "save-as",
229
+ Sync = "sync",
230
+ Reset = "reset",
231
+ Clear = "clear"
123
232
  }
124
233
  interface AXPSystemAction {
125
234
  key: string;
@@ -618,6 +727,213 @@ declare const AXPSystemActions: Readonly<{
618
727
  readonly audit: string;
619
728
  };
620
729
  };
730
+ readonly Generate: {
731
+ readonly key: AXPSystemActionType.Generate;
732
+ readonly title: string;
733
+ readonly icon: "fa-light fa-wand-magic-sparkles";
734
+ readonly color: "primary";
735
+ readonly descriptions: {
736
+ readonly button: string;
737
+ readonly tooltip: string;
738
+ readonly permission: string;
739
+ readonly audit: string;
740
+ };
741
+ };
742
+ readonly Refresh: {
743
+ readonly key: AXPSystemActionType.Refresh;
744
+ readonly title: string;
745
+ readonly icon: "fa-light fa-arrows-rotate";
746
+ readonly color: "default";
747
+ readonly descriptions: {
748
+ readonly button: string;
749
+ readonly tooltip: string;
750
+ readonly permission: string;
751
+ readonly audit: string;
752
+ };
753
+ };
754
+ readonly Reload: {
755
+ readonly key: AXPSystemActionType.Reload;
756
+ readonly title: string;
757
+ readonly icon: "fa-light fa-arrows-rotate";
758
+ readonly color: "default";
759
+ readonly descriptions: {
760
+ readonly button: string;
761
+ readonly tooltip: string;
762
+ readonly permission: string;
763
+ readonly audit: string;
764
+ };
765
+ };
766
+ readonly Search: {
767
+ readonly key: AXPSystemActionType.Search;
768
+ readonly title: string;
769
+ readonly icon: "fa-light fa-magnifying-glass";
770
+ readonly color: "default";
771
+ readonly descriptions: {
772
+ readonly button: string;
773
+ readonly tooltip: string;
774
+ readonly permission: string;
775
+ readonly audit: string;
776
+ };
777
+ };
778
+ readonly Filter: {
779
+ readonly key: AXPSystemActionType.Filter;
780
+ readonly title: string;
781
+ readonly icon: "fa-light fa-filter";
782
+ readonly color: "default";
783
+ readonly descriptions: {
784
+ readonly button: string;
785
+ readonly tooltip: string;
786
+ readonly permission: string;
787
+ readonly audit: string;
788
+ };
789
+ };
790
+ readonly Sort: {
791
+ readonly key: AXPSystemActionType.Sort;
792
+ readonly title: string;
793
+ readonly icon: "fa-light fa-arrow-down-up-across-line";
794
+ readonly color: "default";
795
+ readonly descriptions: {
796
+ readonly button: string;
797
+ readonly tooltip: string;
798
+ readonly permission: string;
799
+ readonly audit: string;
800
+ };
801
+ };
802
+ readonly Start: {
803
+ readonly key: AXPSystemActionType.Start;
804
+ readonly title: string;
805
+ readonly icon: "fa-light fa-play";
806
+ readonly color: "success";
807
+ readonly descriptions: {
808
+ readonly button: string;
809
+ readonly tooltip: string;
810
+ readonly permission: string;
811
+ readonly audit: string;
812
+ };
813
+ };
814
+ readonly Stop: {
815
+ readonly key: AXPSystemActionType.Stop;
816
+ readonly title: string;
817
+ readonly icon: "fa-light fa-stop";
818
+ readonly color: "danger";
819
+ readonly critical: true;
820
+ readonly descriptions: {
821
+ readonly button: string;
822
+ readonly tooltip: string;
823
+ readonly permission: string;
824
+ readonly audit: string;
825
+ };
826
+ };
827
+ readonly Pause: {
828
+ readonly key: AXPSystemActionType.Pause;
829
+ readonly title: string;
830
+ readonly icon: "fa-light fa-pause";
831
+ readonly color: "warning";
832
+ readonly descriptions: {
833
+ readonly button: string;
834
+ readonly tooltip: string;
835
+ readonly permission: string;
836
+ readonly audit: string;
837
+ };
838
+ };
839
+ readonly Cancel: {
840
+ readonly key: AXPSystemActionType.Cancel;
841
+ readonly title: string;
842
+ readonly icon: "fa-light fa-xmark";
843
+ readonly color: "danger";
844
+ readonly critical: true;
845
+ readonly descriptions: {
846
+ readonly button: string;
847
+ readonly tooltip: string;
848
+ readonly permission: string;
849
+ readonly audit: string;
850
+ };
851
+ };
852
+ readonly Close: {
853
+ readonly key: AXPSystemActionType.Close;
854
+ readonly title: string;
855
+ readonly icon: "fa-light fa-xmark";
856
+ readonly color: "default";
857
+ readonly descriptions: {
858
+ readonly button: string;
859
+ readonly tooltip: string;
860
+ readonly permission: string;
861
+ readonly audit: string;
862
+ };
863
+ };
864
+ readonly Complete: {
865
+ readonly key: AXPSystemActionType.Complete;
866
+ readonly title: string;
867
+ readonly icon: "fa-light fa-check";
868
+ readonly color: "success";
869
+ readonly descriptions: {
870
+ readonly button: string;
871
+ readonly tooltip: string;
872
+ readonly permission: string;
873
+ readonly audit: string;
874
+ };
875
+ };
876
+ readonly Save: {
877
+ readonly key: AXPSystemActionType.Save;
878
+ readonly title: string;
879
+ readonly icon: "fa-light fa-floppy-disk";
880
+ readonly color: "primary";
881
+ readonly descriptions: {
882
+ readonly button: string;
883
+ readonly tooltip: string;
884
+ readonly permission: string;
885
+ readonly audit: string;
886
+ };
887
+ };
888
+ readonly SaveAs: {
889
+ readonly key: AXPSystemActionType.SaveAs;
890
+ readonly title: string;
891
+ readonly icon: "fa-light fa-floppy-disk";
892
+ readonly color: "default";
893
+ readonly descriptions: {
894
+ readonly button: string;
895
+ readonly tooltip: string;
896
+ readonly permission: string;
897
+ readonly audit: string;
898
+ };
899
+ };
900
+ readonly Sync: {
901
+ readonly key: AXPSystemActionType.Sync;
902
+ readonly title: string;
903
+ readonly icon: "fa-light fa-arrows-rotate";
904
+ readonly color: "default";
905
+ readonly descriptions: {
906
+ readonly button: string;
907
+ readonly tooltip: string;
908
+ readonly permission: string;
909
+ readonly audit: string;
910
+ };
911
+ };
912
+ readonly Reset: {
913
+ readonly key: AXPSystemActionType.Reset;
914
+ readonly title: string;
915
+ readonly icon: "fa-light fa-arrow-rotate-left";
916
+ readonly color: "warning";
917
+ readonly critical: true;
918
+ readonly descriptions: {
919
+ readonly button: string;
920
+ readonly tooltip: string;
921
+ readonly permission: string;
922
+ readonly audit: string;
923
+ };
924
+ };
925
+ readonly Clear: {
926
+ readonly key: AXPSystemActionType.Clear;
927
+ readonly title: string;
928
+ readonly icon: "fa-light fa-eraser";
929
+ readonly color: "default";
930
+ readonly descriptions: {
931
+ readonly button: string;
932
+ readonly tooltip: string;
933
+ readonly permission: string;
934
+ readonly audit: string;
935
+ };
936
+ };
621
937
  }>;
622
938
  declare function getSystemActions(type: AXPSystemActionType): AXPSystemAction;
623
939
  /**
@@ -628,6 +944,19 @@ declare function resolveActionLook(actionType: string): {
628
944
  color: AXStyleColorType;
629
945
  icon: string;
630
946
  };
947
+ /**
948
+ * Resolves the title, description, icon and color for button actions
949
+ * using the system actions from the core module.
950
+ * @param actionType
951
+ * @returns
952
+ */
953
+ declare function getActionButton(actionType: string): {
954
+ name: string;
955
+ title: string;
956
+ description: string;
957
+ icon: string;
958
+ color: string;
959
+ };
631
960
 
632
961
  interface AXPColumnQuery {
633
962
  name: string;
@@ -1409,5 +1738,5 @@ declare class AXPHookService {
1409
1738
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPHookService>;
1410
1739
  }
1411
1740
 
1412
- export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActionType, AXPSystemActions, AXP_ACTIVITY_LOG_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
1741
+ export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActionType, AXPSystemActions, AXP_ACTIVITY_LOG_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
1413
1742
  export type { AXPActionMenuItem, AXPActivityLog, AXPActivityLogChange, AXPApplicationUserReference, AXPBackButton, AXPBadge, AXPBreadcrumbItem, AXPCategorizedEntity, AXPCategorizedEntityDto, AXPCategoryEntity, AXPCategoryEntityWithItems, AXPColumnQuery, AXPContent, AXPContentDirection, AXPContentType, AXPContextData, AXPContextState, AXPDataSource, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataType, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityReference, AXPEqualValidationRule, AXPExecuteCommand, AXPExecuteCommandResult, AXPExportCsvOptions, AXPExportExcelOptions, AXPExportOptions, AXPExportPdfOptions, AXPExportPrintOptions, AXPExpression, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFileListItem, AXPFileSource, AXPFileStatus, AXPFilterDefinition, AXPFilterLogic, AXPFilterOperation, AXPFilterQuery, AXPFlowDirection, AXPGridLayoutOptions, AXPGridPlacement, AXPLogoConfig, AXPMaxLengthValidationRule, AXPMetaData, AXPMinLengthValidationRule, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOptionsData, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPSortDefinition, AXPSortQuery, AXPStartUpTask, AXPStringValidationRules, AXPSystemAction, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetTrigger, AXPWidgetTriggers };