@tridion-sites/extensions 1.0.3 → 2.0.0

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.
package/dist/index.js CHANGED
@@ -1,6 +1,26 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { memo } from 'react';
3
3
 
4
+ const createEnumObject = (values) => {
5
+ return values.reduce((acc, currentVal) => {
6
+ acc[currentVal] = currentVal;
7
+ return acc;
8
+ }, {});
9
+ };
10
+
11
+ /**
12
+ * List of all built-in panel IDs of the Activities Explorer.
13
+ *
14
+ * @public
15
+ */
16
+ const activitiesExplorerPanelIds = ['information', 'relatedItems', 'processHistory'];
17
+ /**
18
+ * All available built-in Activities Explorer panel IDs.
19
+ *
20
+ * @public
21
+ */
22
+ const activitiesExplorerPanelId = createEnumObject(activitiesExplorerPanelIds);
23
+
4
24
  /**
5
25
  * List of all built-in panel IDs of the Content Explorer.
6
26
  *
@@ -17,6 +37,25 @@ const contentExplorerPanelIds = [
17
37
  'published-to',
18
38
  'translations',
19
39
  ];
40
+ /**
41
+ * All available built-in Content Explorer panel IDs.
42
+ *
43
+ * @public
44
+ */
45
+ const contentExplorerPanelId = createEnumObject(contentExplorerPanelIds);
46
+
47
+ /**
48
+ * List of all built-in panel IDs of the Publishing Queue Explorer.
49
+ *
50
+ * @public
51
+ */
52
+ const publishingQueueExplorerPanelIds = ['information', 'resolvedItems'];
53
+ /**
54
+ * All available built-in Publishing Queue Explorer panel IDs.
55
+ *
56
+ * @public
57
+ */
58
+ const publishingQueueExplorerPanelId = createEnumObject(publishingQueueExplorerPanelIds);
20
59
 
21
60
  /**
22
61
  * @internal
@@ -437,12 +476,57 @@ class ActivitiesExplorerTableExtensionsBuilder {
437
476
  }
438
477
  }
439
478
 
440
- const createEnumObject = (values) => {
441
- return values.reduce((acc, currentVal) => {
442
- acc[currentVal] = currentVal;
443
- return acc;
444
- }, {});
445
- };
479
+ /**
480
+ * @public
481
+ */
482
+ class ActivitiesExplorerInsightsPanelsExtensionsBuilder {
483
+ constructor() {
484
+ Object.defineProperty(this, "_insightsPanelsExtensions", {
485
+ enumerable: true,
486
+ configurable: true,
487
+ writable: true,
488
+ value: []
489
+ });
490
+ /**
491
+ * Provides a mechanism for customizing the configuration of insights panels.
492
+ */
493
+ Object.defineProperty(this, "config", {
494
+ enumerable: true,
495
+ configurable: true,
496
+ writable: true,
497
+ value: new ListBuilder(itemId => itemId)
498
+ });
499
+ /**
500
+ * Registers a new insights panel.
501
+ *
502
+ * @remarks
503
+ * This method only registers the insights panel and does not automatically make it visible in the application.
504
+ * To add the insights panel to the application, use {@link ActivitiesExplorerInsightsPanelsExtensionsBuilder.config}.
505
+ *
506
+ * @param item - insights panel to be registered
507
+ */
508
+ Object.defineProperty(this, "register", {
509
+ enumerable: true,
510
+ configurable: true,
511
+ writable: true,
512
+ value: (item) => {
513
+ this._insightsPanelsExtensions.push(item);
514
+ return this;
515
+ }
516
+ });
517
+ Object.defineProperty(this, "build", {
518
+ enumerable: true,
519
+ configurable: true,
520
+ writable: true,
521
+ value: () => {
522
+ return {
523
+ items: this._insightsPanelsExtensions,
524
+ config: this.config.build(),
525
+ };
526
+ }
527
+ });
528
+ }
529
+ }
446
530
 
447
531
  /**
448
532
  * @public
@@ -492,6 +576,15 @@ class ActivitiesExplorerExtensionsBuilder {
492
576
  writable: true,
493
577
  value: new ActivitiesExplorerTableExtensionsBuilder()
494
578
  });
579
+ /**
580
+ * Provides a mechanism for customizing Activities Explorer Insights Panels.
581
+ */
582
+ Object.defineProperty(this, "insightsPanels", {
583
+ enumerable: true,
584
+ configurable: true,
585
+ writable: true,
586
+ value: new ActivitiesExplorerInsightsPanelsExtensionsBuilder()
587
+ });
495
588
  /**
496
589
  * Adds a new action to Activities Explorer.
497
590
  *
@@ -514,6 +607,7 @@ class ActivitiesExplorerExtensionsBuilder {
514
607
  return {
515
608
  actions: this._actions,
516
609
  table: this.table.build(),
610
+ insightsPanels: this.insightsPanels.build(),
517
611
  };
518
612
  }
519
613
  });
@@ -695,6 +789,58 @@ class ContentExplorerTreeExtensionsBuilder {
695
789
  }
696
790
  }
697
791
 
792
+ /**
793
+ * @public
794
+ */
795
+ class ContentExplorerInsightsPanelsExtensionsBuilder {
796
+ constructor() {
797
+ Object.defineProperty(this, "_insightsPanelsExtensions", {
798
+ enumerable: true,
799
+ configurable: true,
800
+ writable: true,
801
+ value: []
802
+ });
803
+ /**
804
+ * Provides a mechanism for customizing the configuration of insights panels.
805
+ */
806
+ Object.defineProperty(this, "config", {
807
+ enumerable: true,
808
+ configurable: true,
809
+ writable: true,
810
+ value: new ListBuilder(itemId => itemId)
811
+ });
812
+ /**
813
+ * Registers a new insights panel.
814
+ *
815
+ * @remarks
816
+ * This method only registers the insights panel and does not automatically make it visible in the application.
817
+ * To add the insights panel to the application, use {@link ContentExplorerInsightsPanelsExtensionsBuilder.config}.
818
+ *
819
+ * @param item - insights panel to be registered
820
+ */
821
+ Object.defineProperty(this, "register", {
822
+ enumerable: true,
823
+ configurable: true,
824
+ writable: true,
825
+ value: (item) => {
826
+ this._insightsPanelsExtensions.push(item);
827
+ return this;
828
+ }
829
+ });
830
+ Object.defineProperty(this, "build", {
831
+ enumerable: true,
832
+ configurable: true,
833
+ writable: true,
834
+ value: () => {
835
+ return {
836
+ items: this._insightsPanelsExtensions,
837
+ config: this.config.build(),
838
+ };
839
+ }
840
+ });
841
+ }
842
+ }
843
+
698
844
  /**
699
845
  * @public
700
846
  */
@@ -793,6 +939,15 @@ class ContentExplorerExtensionsBuilder {
793
939
  writable: true,
794
940
  value: new ContentExplorerTreeExtensionsBuilder()
795
941
  });
942
+ /**
943
+ * Provides a mechanism for customizing Content Explorer Insights Panels.
944
+ */
945
+ Object.defineProperty(this, "insightsPanels", {
946
+ enumerable: true,
947
+ configurable: true,
948
+ writable: true,
949
+ value: new ContentExplorerInsightsPanelsExtensionsBuilder()
950
+ });
796
951
  /**
797
952
  * Adds a new action to Content Explorer.
798
953
  *
@@ -816,6 +971,7 @@ class ContentExplorerExtensionsBuilder {
816
971
  actions: this._actions,
817
972
  table: this.table.build(),
818
973
  tree: this.tree.build(),
974
+ insightsPanels: this.insightsPanels.build(),
819
975
  };
820
976
  }
821
977
  });
@@ -877,7 +1033,7 @@ class NavigationExtensionsBuilder {
877
1033
  /**
878
1034
  * @public
879
1035
  */
880
- const navigationItemIds = ['activitiesExplorer', 'contentExplorer'];
1036
+ const navigationItemIds = ['activitiesExplorer', 'contentExplorer', 'publishingQueueExplorer'];
881
1037
  /**
882
1038
  * All available built-in navigation item IDs.
883
1039
  *
@@ -912,6 +1068,197 @@ class HeaderExtensionsBuilder {
912
1068
  }
913
1069
  }
914
1070
 
1071
+ /**
1072
+ * @public
1073
+ */
1074
+ class PublishingQueueExplorerTableExtensionsBuilder {
1075
+ constructor() {
1076
+ Object.defineProperty(this, "_columns", {
1077
+ enumerable: true,
1078
+ configurable: true,
1079
+ writable: true,
1080
+ value: []
1081
+ });
1082
+ /**
1083
+ * Provides a mechanism for customizing the configuration of actions
1084
+ * within Publishing Queue Explorer Table toolbar.
1085
+ */
1086
+ Object.defineProperty(this, "toolbar", {
1087
+ enumerable: true,
1088
+ configurable: true,
1089
+ writable: true,
1090
+ value: new ActionsConfigurationExtensionsBuilder()
1091
+ });
1092
+ /**
1093
+ * Provides a mechanism for customizing the configuration of actions
1094
+ * within Publishing Queue Explorer Table context menu.
1095
+ */
1096
+ Object.defineProperty(this, "contextMenu", {
1097
+ enumerable: true,
1098
+ configurable: true,
1099
+ writable: true,
1100
+ value: new ActionsConfigurationExtensionsBuilder()
1101
+ });
1102
+ /**
1103
+ * Adds a new column to Publishing Queue Explorer Table.
1104
+ *
1105
+ * @param column - column to be added
1106
+ */
1107
+ Object.defineProperty(this, "addColumn", {
1108
+ enumerable: true,
1109
+ configurable: true,
1110
+ writable: true,
1111
+ value: (column) => {
1112
+ this._columns.push(column);
1113
+ return this;
1114
+ }
1115
+ });
1116
+ Object.defineProperty(this, "build", {
1117
+ enumerable: true,
1118
+ configurable: true,
1119
+ writable: true,
1120
+ value: () => {
1121
+ return {
1122
+ columns: this._columns,
1123
+ contextMenu: this.contextMenu.build(),
1124
+ toolbar: this.toolbar.build(),
1125
+ };
1126
+ }
1127
+ });
1128
+ }
1129
+ }
1130
+
1131
+ /**
1132
+ * @public
1133
+ */
1134
+ class PublishingQueueExplorerInsightsPanelsExtensionsBuilder {
1135
+ constructor() {
1136
+ Object.defineProperty(this, "_insightsPanelsExtensions", {
1137
+ enumerable: true,
1138
+ configurable: true,
1139
+ writable: true,
1140
+ value: []
1141
+ });
1142
+ /**
1143
+ * Provides a mechanism for customizing the configuration of insights panels.
1144
+ */
1145
+ Object.defineProperty(this, "config", {
1146
+ enumerable: true,
1147
+ configurable: true,
1148
+ writable: true,
1149
+ value: new ListBuilder(itemId => itemId)
1150
+ });
1151
+ /**
1152
+ * Registers a new insights panel.
1153
+ *
1154
+ * @remarks
1155
+ * This method only registers the insights panel and does not automatically make it visible in the application.
1156
+ * To add the insights panel to the application, use {@link PublishingQueueExplorerInsightsPanelsExtensionsBuilder.config}.
1157
+ *
1158
+ * @param item - insights panel to be registered
1159
+ */
1160
+ Object.defineProperty(this, "register", {
1161
+ enumerable: true,
1162
+ configurable: true,
1163
+ writable: true,
1164
+ value: (item) => {
1165
+ this._insightsPanelsExtensions.push(item);
1166
+ return this;
1167
+ }
1168
+ });
1169
+ Object.defineProperty(this, "build", {
1170
+ enumerable: true,
1171
+ configurable: true,
1172
+ writable: true,
1173
+ value: () => {
1174
+ return {
1175
+ items: this._insightsPanelsExtensions,
1176
+ config: this.config.build(),
1177
+ };
1178
+ }
1179
+ });
1180
+ }
1181
+ }
1182
+
1183
+ /**
1184
+ * @public
1185
+ */
1186
+ const publishingQueueExplorerActionIds = ['refresh', 'export', 'delete', 'redo'];
1187
+ /**
1188
+ * All built-in action IDs available in Publishing Queue Explorer.
1189
+ *
1190
+ * @public
1191
+ */
1192
+ const publishingQueueExplorerActionId = createEnumObject(publishingQueueExplorerActionIds);
1193
+ /**
1194
+ * @public
1195
+ */
1196
+ const publishingQueueExplorerActionGroupIds = ['refreshing', 'exporting', 'publishing', 'deleting'];
1197
+ /**
1198
+ * All built-in action group IDs available in Publishing Queue Explorer.
1199
+ *
1200
+ * @public
1201
+ */
1202
+ const publishingQueueExplorerActionGroupId = createEnumObject(publishingQueueExplorerActionGroupIds);
1203
+
1204
+ /**
1205
+ * @public
1206
+ */
1207
+ class PublishingQueueExplorerExtensionsBuilder {
1208
+ constructor() {
1209
+ Object.defineProperty(this, "_actions", {
1210
+ enumerable: true,
1211
+ configurable: true,
1212
+ writable: true,
1213
+ value: []
1214
+ });
1215
+ /**
1216
+ * Provides a mechanism for customizing Publishing Queue Explorer Table.
1217
+ */
1218
+ Object.defineProperty(this, "table", {
1219
+ enumerable: true,
1220
+ configurable: true,
1221
+ writable: true,
1222
+ value: new PublishingQueueExplorerTableExtensionsBuilder()
1223
+ });
1224
+ /**
1225
+ * Provides a mechanism for customizing Publishing Queue Explorer Insights Panels.
1226
+ */
1227
+ Object.defineProperty(this, "insightsPanels", {
1228
+ enumerable: true,
1229
+ configurable: true,
1230
+ writable: true,
1231
+ value: new PublishingQueueExplorerInsightsPanelsExtensionsBuilder()
1232
+ });
1233
+ /**
1234
+ * Adds a new action to Publishing Queue Explorer.
1235
+ *
1236
+ * @param action - action to be added
1237
+ */
1238
+ Object.defineProperty(this, "addAction", {
1239
+ enumerable: true,
1240
+ configurable: true,
1241
+ writable: true,
1242
+ value: (action) => {
1243
+ this._actions.push(action);
1244
+ return this;
1245
+ }
1246
+ });
1247
+ Object.defineProperty(this, "build", {
1248
+ enumerable: true,
1249
+ configurable: true,
1250
+ writable: true,
1251
+ value: () => {
1252
+ return {
1253
+ actions: this._actions,
1254
+ table: this.table.build(),
1255
+ insightsPanels: this.insightsPanels.build(),
1256
+ };
1257
+ }
1258
+ });
1259
+ }
1260
+ }
1261
+
915
1262
  /**
916
1263
  * @public
917
1264
  */
@@ -1002,6 +1349,15 @@ class ExtensionBuilder {
1002
1349
  writable: true,
1003
1350
  value: new ActivitiesExplorerExtensionsBuilder()
1004
1351
  });
1352
+ /**
1353
+ * Provides a mechanism for customizing Publishing Queue Explorer.
1354
+ */
1355
+ Object.defineProperty(this, "publishingQueueExplorer", {
1356
+ enumerable: true,
1357
+ configurable: true,
1358
+ writable: true,
1359
+ value: new PublishingQueueExplorerExtensionsBuilder()
1360
+ });
1005
1361
  Object.defineProperty(this, "build", {
1006
1362
  enumerable: true,
1007
1363
  configurable: true,
@@ -1013,6 +1369,7 @@ class ExtensionBuilder {
1013
1369
  contentEditor: this.contentEditor.build(),
1014
1370
  translations: this.translations.build(),
1015
1371
  activitiesExplorer: this.activitiesExplorer.build(),
1372
+ publishingQueueExplorer: this.publishingQueueExplorer.build(),
1016
1373
  };
1017
1374
  }
1018
1375
  });
@@ -1230,6 +1587,66 @@ const isRootNode = (node) => extensionApiBridge.get().contentExplorer.utils.hier
1230
1587
  */
1231
1588
  const isSystemNode = (node) => extensionApiBridge.get().contentExplorer.utils.hierarchy.isSystemNode(node);
1232
1589
 
1590
+ /**
1591
+ * @public
1592
+ */
1593
+ const PropertiesList = memo(props => {
1594
+ const PropertiesList = extensionApiBridge.get().contentExplorer.components.PropertiesList;
1595
+ return jsx(PropertiesList, Object.assign({}, props));
1596
+ });
1597
+ PropertiesList.displayName = 'PropertiesList';
1598
+
1599
+ /**
1600
+ * Provides access to PublishingQueue Explorer data and methods.
1601
+ *
1602
+ * @remarks
1603
+ * Should be used only inside PublishingQueue Explorer, otherwise throws an error.
1604
+ *
1605
+ * @public
1606
+ */
1607
+ const usePublishingQueueExplorer = () => {
1608
+ const usePublishingQueueExplorer = extensionApiBridge.get().publishingQueueExplorer.hooks.usePublishingQueueExplorer;
1609
+ return usePublishingQueueExplorer();
1610
+ };
1611
+ /**
1612
+ * Provides access to PublishingQueue Explorer data and methods, if available.
1613
+ *
1614
+ * @remarks
1615
+ * Safe to be used within or outside of the PublishingQueue Explorer.
1616
+ * `undefined` is returned when used outside of PublishingQueue Explorer.
1617
+ *
1618
+ * @public
1619
+ */
1620
+ const useOptionalPublishingQueueExplorer = () => {
1621
+ const useOptionalPublishingQueueExplorer = extensionApiBridge.get().publishingQueueExplorer.hooks.useOptionalPublishingQueueExplorer;
1622
+ return useOptionalPublishingQueueExplorer();
1623
+ };
1624
+ /**
1625
+ * Provides access to PublishingQueue Explorer Table data and methods.
1626
+ *
1627
+ * @remarks
1628
+ * Should be used only inside PublishingQueue Explorer Table, otherwise throws an error.
1629
+ *
1630
+ * @public
1631
+ */
1632
+ const usePublishingQueueExplorerTable = () => {
1633
+ const usePublishingQueueExplorerTable = extensionApiBridge.get().publishingQueueExplorer.hooks.usePublishingQueueExplorerTable;
1634
+ return usePublishingQueueExplorerTable();
1635
+ };
1636
+ /**
1637
+ * Provides access to PublishingQueue Explorer Table data and methods, if available.
1638
+ *
1639
+ * @remarks
1640
+ * Safe to be used within or outside of the PublishingQueue Explorer Table.
1641
+ * `undefined` is returned when used outside of PublishingQueue Explorer Table.
1642
+ *
1643
+ * @public
1644
+ */
1645
+ const useOptionalPublishingQueueExplorerTable = () => {
1646
+ const useOptionalPublishingQueueExplorerTable = extensionApiBridge.get().publishingQueueExplorer.hooks.useOptionalPublishingQueueExplorerTable;
1647
+ return useOptionalPublishingQueueExplorerTable();
1648
+ };
1649
+
1233
1650
  /**
1234
1651
  * Provides access to Item Editor data and methods.
1235
1652
  *
@@ -2057,7 +2474,7 @@ const createExtensionGlobals = () => {
2057
2474
  };
2058
2475
  };
2059
2476
 
2060
- const version = "1.0.3";
2477
+ const version = "2.0.0";
2061
2478
  const peerDependencies = {
2062
2479
  "@tridion-sites/models": "workspace:*",
2063
2480
  "@tridion-sites/open-api-client": "workspace:*",
@@ -2065,7 +2482,7 @@ const peerDependencies = {
2065
2482
  "react-dom": "18.2.0",
2066
2483
  "react-is": "18.2.0",
2067
2484
  "styled-components": "5.3.6",
2068
- tinymce: "6.4.2"
2485
+ tinymce: "6.7.1"
2069
2486
  };
2070
2487
 
2071
2488
  /**
@@ -2076,4 +2493,4 @@ const frameworkInfo = {
2076
2493
  peerDependencies,
2077
2494
  };
2078
2495
 
2079
- export { ActionsConfigurationExtensionsBuilder, ActivitiesExplorerExtensionsBuilder, ActivitiesExplorerTableExtensionsBuilder, Block, Button, Center, ContentEditorExtensionsBuilder, ContentExplorerExtensionsBuilder, ContentExplorerTableExtensionsBuilder, ContentExplorerTreeExtensionsBuilder, ExtensionBuilder, Flex, HeaderExtensionsBuilder, Icon, Link, NavigationExtensionsBuilder, RichTextFieldExtensionsBuilder, Stack, Text, TextLink, TranslationExtensionsBuilder, activitiesExplorerActionGroupId, activitiesExplorerActionGroupIds, activitiesExplorerActionId, activitiesExplorerActionIds, contentExplorerActionGroupId, contentExplorerActionGroupIds, contentExplorerActionId, contentExplorerActionIds, contentExplorerPanelIds, createExtensionGlobals, extensionApiBridge, frameworkInfo, getBorderRadius, getColorPalette, getOpacityLevel, getSpacing, getTransitionDuration, getZIndex, isFavoritesNodeId, isItemNode, isItemNodeOfType, isItemsInProgressNode, isItemsInProgressNodeId, isPublicationsNode, isPublicationsNodeId, isRootNode, isRootNodeId, isSystemNode, navigationItemId, navigationItemIds, useActivitiesExplorer, useActivitiesExplorerTable, useActivityInstancesQuery, useAddToBundleMutation, useAssignActivitiesMutation, useAssignActivityMutation, useAutoClassifyItemMutation, useAutoClassifyItemsMutation, useChangeUserLanguageMutation, useChangeUserLocaleMutation, useConfirmation, useContentExplorer, useContentExplorerTable, useContentExplorerTree, useCopyItemMutation, useCopyItemsMutation, useCreateTranslationJobMutation, useDefaultTranslationJobQuery, useDeleteItemMutation, useDeleteItemsMutation, useEditor, useFavoritesQuery, useFinishActivitiesMutation, useFinishActivityMutation, useFinishEditingItemMutation, useFinishEditingItemsMutation, useItemBlueprintHierarchyQuery, useItemChildrenQuery, useItemClassifiedItemsQuery, useItemDefaultDataQuery, useItemHistoryQuery, useItemPublishUrlsQuery, useItemPublishedPagesQuery, useItemPublishedToQuery, useItemQuery, useItemTranslationInfoQuery, useItemUsedByQuery, useItemUsesQuery, useItemsInProgressQuery, useItemsQuery, useItemsToPublishQuery, useItemsToUnpublishQuery, useLocalizeItemMutation, useLocalizeItemsMutation, useMoveItemMutation, useMoveItemsMutation, useNotifications, useOptionalActivitiesExplorer, useOptionalActivitiesExplorerTable, useOptionalBundleEditor, useOptionalCategoryEditor, useOptionalComponentEditor, useOptionalContentExplorer, useOptionalContentExplorerTable, useOptionalContentExplorerTree, useOptionalEditor, useOptionalFolderEditor, useOptionalKeywordEditor, useOptionalPageEditor, useOptionalStructureGroupEditor, usePublicationBlueprintHierarchyQuery, usePublicationsQuery, usePublishItemsMutation, usePublishableTargetTypesQuery, useRemoveFromBundleMutation, useRestartActivitiesMutation, useRestartActivityMutation, useRevertItemMutation, useRevertItemsMutation, useRollbackItemMutation, useSearchInContainerQuery, useStartActivitiesMutation, useStartActivityMutation, useStartWorkflowMutation, useSystemSearchQuery, useUnlocalizeItemMutation, useUnlocalizeItemsMutation, useUnpublishItemsMutation, useUpdateItemMutation, useUploadMultimediaMutation, useUserGroupsQuery, useUserProfile, useUserProfileQuery, useUsersQuery };
2496
+ export { ActionsConfigurationExtensionsBuilder, ActivitiesExplorerExtensionsBuilder, ActivitiesExplorerInsightsPanelsExtensionsBuilder, ActivitiesExplorerTableExtensionsBuilder, Block, Button, Center, ContentEditorExtensionsBuilder, ContentExplorerExtensionsBuilder, ContentExplorerInsightsPanelsExtensionsBuilder, ContentExplorerTableExtensionsBuilder, ContentExplorerTreeExtensionsBuilder, ExtensionBuilder, Flex, HeaderExtensionsBuilder, Icon, Link, NavigationExtensionsBuilder, PropertiesList, PublishingQueueExplorerExtensionsBuilder, PublishingQueueExplorerInsightsPanelsExtensionsBuilder, PublishingQueueExplorerTableExtensionsBuilder, RichTextFieldExtensionsBuilder, Stack, Text, TextLink, TranslationExtensionsBuilder, activitiesExplorerActionGroupId, activitiesExplorerActionGroupIds, activitiesExplorerActionId, activitiesExplorerActionIds, activitiesExplorerPanelId, activitiesExplorerPanelIds, contentExplorerActionGroupId, contentExplorerActionGroupIds, contentExplorerActionId, contentExplorerActionIds, contentExplorerPanelId, contentExplorerPanelIds, createExtensionGlobals, extensionApiBridge, frameworkInfo, getBorderRadius, getColorPalette, getOpacityLevel, getSpacing, getTransitionDuration, getZIndex, isFavoritesNodeId, isItemNode, isItemNodeOfType, isItemsInProgressNode, isItemsInProgressNodeId, isPublicationsNode, isPublicationsNodeId, isRootNode, isRootNodeId, isSystemNode, navigationItemId, navigationItemIds, publishingQueueExplorerActionGroupId, publishingQueueExplorerActionGroupIds, publishingQueueExplorerActionId, publishingQueueExplorerActionIds, publishingQueueExplorerPanelId, publishingQueueExplorerPanelIds, useActivitiesExplorer, useActivitiesExplorerTable, useActivityInstancesQuery, useAddToBundleMutation, useAssignActivitiesMutation, useAssignActivityMutation, useAutoClassifyItemMutation, useAutoClassifyItemsMutation, useChangeUserLanguageMutation, useChangeUserLocaleMutation, useConfirmation, useContentExplorer, useContentExplorerTable, useContentExplorerTree, useCopyItemMutation, useCopyItemsMutation, useCreateTranslationJobMutation, useDefaultTranslationJobQuery, useDeleteItemMutation, useDeleteItemsMutation, useEditor, useFavoritesQuery, useFinishActivitiesMutation, useFinishActivityMutation, useFinishEditingItemMutation, useFinishEditingItemsMutation, useItemBlueprintHierarchyQuery, useItemChildrenQuery, useItemClassifiedItemsQuery, useItemDefaultDataQuery, useItemHistoryQuery, useItemPublishUrlsQuery, useItemPublishedPagesQuery, useItemPublishedToQuery, useItemQuery, useItemTranslationInfoQuery, useItemUsedByQuery, useItemUsesQuery, useItemsInProgressQuery, useItemsQuery, useItemsToPublishQuery, useItemsToUnpublishQuery, useLocalizeItemMutation, useLocalizeItemsMutation, useMoveItemMutation, useMoveItemsMutation, useNotifications, useOptionalActivitiesExplorer, useOptionalActivitiesExplorerTable, useOptionalBundleEditor, useOptionalCategoryEditor, useOptionalComponentEditor, useOptionalContentExplorer, useOptionalContentExplorerTable, useOptionalContentExplorerTree, useOptionalEditor, useOptionalFolderEditor, useOptionalKeywordEditor, useOptionalPageEditor, useOptionalPublishingQueueExplorer, useOptionalPublishingQueueExplorerTable, useOptionalStructureGroupEditor, usePublicationBlueprintHierarchyQuery, usePublicationsQuery, usePublishItemsMutation, usePublishableTargetTypesQuery, usePublishingQueueExplorer, usePublishingQueueExplorerTable, useRemoveFromBundleMutation, useRestartActivitiesMutation, useRestartActivityMutation, useRevertItemMutation, useRevertItemsMutation, useRollbackItemMutation, useSearchInContainerQuery, useStartActivitiesMutation, useStartActivityMutation, useStartWorkflowMutation, useSystemSearchQuery, useUnlocalizeItemMutation, useUnlocalizeItemsMutation, useUnpublishItemsMutation, useUpdateItemMutation, useUploadMultimediaMutation, useUserGroupsQuery, useUserProfile, useUserProfileQuery, useUsersQuery };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tridion-sites/extensions",
3
- "version": "1.0.3",
3
+ "version": "2.0.0",
4
4
  "description": "Tridion Sites Extensions API",
5
5
  "author": "RWS",
6
6
  "homepage": "https://www.rws.com",
@@ -22,33 +22,33 @@
22
22
  "prepublish": "yarn build"
23
23
  },
24
24
  "peerDependencies": {
25
- "@tridion-sites/models": "1.0.0",
26
- "@tridion-sites/open-api-client": "2.0.0",
25
+ "@tridion-sites/models": "1.1.0",
26
+ "@tridion-sites/open-api-client": "3.0.0",
27
27
  "react": "18.2.0",
28
28
  "react-dom": "18.2.0",
29
29
  "react-is": "18.2.0",
30
30
  "styled-components": "5.3.6",
31
- "tinymce": "6.4.2"
31
+ "tinymce": "6.7.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@rollup/plugin-commonjs": "24.0.1",
34
+ "@rollup/plugin-commonjs": "25.0.4",
35
35
  "@rollup/plugin-json": "6.0.0",
36
- "@rollup/plugin-node-resolve": "15.0.1",
37
- "@rollup/plugin-typescript": "11.0.0",
38
- "@tridion-sites/models": "1.0.0",
39
- "@tridion-sites/open-api-client": "2.0.0",
40
- "@tridion/graphene": "1.33.0",
41
- "@types/react": "18.0.31",
36
+ "@rollup/plugin-node-resolve": "15.2.1",
37
+ "@rollup/plugin-typescript": "11.1.3",
38
+ "@tridion-sites/models": "1.1.0",
39
+ "@tridion-sites/open-api-client": "3.0.0",
40
+ "@tridion/graphene": "1.35.2",
41
+ "@types/react": "18.2.21",
42
42
  "react": "18.2.0",
43
43
  "react-dom": "18.2.0",
44
44
  "react-is": "18.2.0",
45
- "rimraf": "4.1.2",
46
- "rollup": "3.11.0",
45
+ "rimraf": "5.0.1",
46
+ "rollup": "3.29.1",
47
47
  "rollup-plugin-delete": "2.0.0",
48
- "rollup-plugin-node-externals": "5.1.0",
48
+ "rollup-plugin-node-externals": "6.1.1",
49
49
  "styled-components": "5.3.6",
50
- "tinymce": "6.4.2",
51
- "typescript": "5.0.4",
50
+ "tinymce": "6.7.1",
51
+ "typescript": "5.2.2",
52
52
  "typescript-transform-paths": "3.4.6"
53
53
  }
54
54
  }