@kentico/xperience-admin-components 30.9.2 → 30.10.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.
Files changed (3) hide show
  1. package/dist/entry.d.ts +133 -0
  2. package/dist/entry.js +115 -106
  3. package/package.json +19 -15
package/dist/entry.d.ts CHANGED
@@ -13,6 +13,7 @@ import { KeyboardEvent as KeyboardEvent_2 } from 'react';
13
13
  import { MouseEvent as MouseEvent_2 } from 'react';
14
14
  import { MouseEventHandler } from 'react';
15
15
  import { MutableRefObject } from 'react';
16
+ import { PropsWithChildren } from 'react';
16
17
  import { default as React_2 } from 'react';
17
18
  import { ReactCodeMirrorProps } from '@uiw/react-codemirror';
18
19
  import { ReactCodeMirrorRef } from '@uiw/react-codemirror';
@@ -1060,6 +1061,10 @@ export declare interface ComponentCell extends TableCell {
1060
1061
  component: any;
1061
1062
  }
1062
1063
 
1064
+ export declare const ComponentsProvider: (props: PropsWithChildren<{
1065
+ readonly locale: string;
1066
+ }>) => JSX_2.Element;
1067
+
1063
1068
  export declare const Condition: React_2.ForwardRefExoticComponent<ConditionProps & React_2.RefAttributes<HTMLDivElement>>;
1064
1069
 
1065
1070
  export declare const ConditionBuilder: React_2.ForwardRefExoticComponent<ConditionBuilderProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -1225,6 +1230,51 @@ export declare function createSelectGroup<Group>(): React_2.FC<SelectGroupProps<
1225
1230
  */
1226
1231
  export declare const CreatingPlaceholderID: number;
1227
1232
 
1233
+ export declare const DateTimeInput: ForwardRefExoticComponent<DateTimeInputProps & RefAttributes<HTMLDivElement>>;
1234
+
1235
+ export declare interface DateTimeInputProps extends UITestProps {
1236
+ /**
1237
+ * Callback called when a day is selected or when clicked on the action button.
1238
+ */
1239
+ readonly onChange?: (date: Date | undefined) => void;
1240
+ /**
1241
+ * Current selected Date.
1242
+ */
1243
+ readonly value?: Date;
1244
+ /**
1245
+ * Label for the date input.
1246
+ */
1247
+ readonly label?: string;
1248
+ /**
1249
+ * Minimal date that can be selected.
1250
+ */
1251
+ readonly minDate?: Date;
1252
+ /**
1253
+ * Maximal date that can be selected.
1254
+ */
1255
+ readonly maxDate?: Date;
1256
+ /**
1257
+ * Whether to show the time input.
1258
+ */
1259
+ readonly showTime?: boolean;
1260
+ /**
1261
+ * Whether the input is disabled.
1262
+ */
1263
+ readonly disabled?: boolean;
1264
+ /**
1265
+ * Whether the input is read-only.
1266
+ */
1267
+ readonly readOnly?: boolean;
1268
+ /**
1269
+ * The time zone to use for the date input.
1270
+ */
1271
+ readonly timeZone?: string;
1272
+ /**
1273
+ * Whether to allow clearing the input.
1274
+ */
1275
+ readonly allowClear?: boolean;
1276
+ }
1277
+
1228
1278
  export declare const DateTimePicker: React_2.ForwardRefExoticComponent<DateTimePickerProps & React_2.RefAttributes<HTMLDivElement>>;
1229
1279
 
1230
1280
  export declare interface DateTimePickerProps {
@@ -1268,6 +1318,53 @@ export declare interface DateTimePickerTimeValue {
1268
1318
  readonly minutes: number;
1269
1319
  }
1270
1320
 
1321
+ export declare const DateTimeRangeInput: ForwardRefExoticComponent<DateTimeRangeInputProps & RefAttributes<HTMLDivElement>>;
1322
+
1323
+ export declare interface DateTimeRangeInputProps extends UITestProps {
1324
+ /**
1325
+ * Callback called when a day is selected or when clicked on the action button.
1326
+ */
1327
+ readonly onChange?: (value?: {
1328
+ from: Date;
1329
+ to: Date;
1330
+ }) => void;
1331
+ /**
1332
+ * Current selected Date.
1333
+ */
1334
+ readonly value?: {
1335
+ from: Date;
1336
+ to: Date;
1337
+ };
1338
+ /**
1339
+ * Minimal date that can be selected.
1340
+ */
1341
+ readonly minDate?: Date;
1342
+ /**
1343
+ * Maximal date that can be selected.
1344
+ */
1345
+ readonly maxDate?: Date;
1346
+ /**
1347
+ * Whether to show the time input.
1348
+ */
1349
+ readonly showTime?: boolean;
1350
+ /**
1351
+ * Whether the input is disabled.
1352
+ */
1353
+ readonly disabled?: boolean;
1354
+ /**
1355
+ * Whether the input is read-only.
1356
+ */
1357
+ readonly readOnly?: boolean;
1358
+ /**
1359
+ * The time zone to use for the date input.
1360
+ */
1361
+ readonly timeZone?: string;
1362
+ /**
1363
+ * Whether to allow clearing the input.
1364
+ */
1365
+ readonly allowClear?: boolean;
1366
+ }
1367
+
1271
1368
  declare type DeepTestIdMapping<T> = {
1272
1369
  [K in keyof T]: T[K] extends string ? TestId : T[K] extends Record<string, unknown> ? DeepTestIdMapping<T[K]> : T[K];
1273
1370
  };
@@ -4957,21 +5054,27 @@ declare const testIds: {
4957
5054
  AiraNewConversation: "aira-new-conversation-button";
4958
5055
  AllContentItemsButton: "all-content-items-button";
4959
5056
  Avatar: "AvatarButton";
5057
+ ButtonMoveContentItem: "button-MoveContentItem";
4960
5058
  Cancel_V1: "cancel-action";
4961
5059
  Cancel_V2: "cancel-button";
4962
5060
  Chevron: "chevron";
4963
5061
  ClearAll: "clear-all-button";
4964
5062
  ClearSearch: "clear-search-button";
5063
+ CloneFolder: "clonefolder-action";
4965
5064
  Close: "close-button";
4966
5065
  CloseSidePanel_V1: "close-panel-button";
4967
5066
  CloseSidePanel_V2: "side-panel-close";
4968
5067
  Confirm: "confirm-action";
5068
+ ContentItemActionButtonConfirmSelection: "content-item-action-button-confirmselection";
5069
+ ContentItemActionButtonCreate: "content-item-action-button-create";
4969
5070
  CreateAutomationProcess: "button-create-automation-process";
4970
5071
  CreateFolder_V1: "create-folder-button";
4971
5072
  CreateNewContentItem: "button-create-new-content-item";
5073
+ CreateNewVersion: "content-item-menu-split-button-createnewversion";
4972
5074
  CreatePage: "create-page-button";
4973
5075
  Delete_V1: "delete-button";
4974
5076
  Delete_V2: "button-delete";
5077
+ DeleteAction: "Delete-action";
4975
5078
  DeleteConditionButton: "delete-condition-button";
4976
5079
  DialogFooterAction: "dialog-footer-action";
4977
5080
  Draggable: "draggable-button";
@@ -4979,6 +5082,7 @@ declare const testIds: {
4979
5082
  Edit_V2: "button-Edit";
4980
5083
  EditableHeader: "editable-header-button";
4981
5084
  EditContentItem: "edit-content-item-button";
5085
+ EnableContentItemDelivery: "enablecontentdelivery-action";
4982
5086
  EnableDisableProcess: "enable-disable-process-button";
4983
5087
  Expand: "expand-button";
4984
5088
  ExpandSplit: "expand-split-button";
@@ -4987,11 +5091,13 @@ declare const testIds: {
4987
5091
  GoToDashboard: "button-goToDashboard";
4988
5092
  GoToSignIn: "button-goToSignIn";
4989
5093
  MediaLibrary: "button-media-library";
5094
+ MoveAction: "Move-action";
4990
5095
  NewFolderPlus: "new-folder-plus";
4991
5096
  NewOrderStatus: "new-order-status-button";
4992
5097
  NewSmartFolderPlus: "new-smart-folder-plus-button";
4993
5098
  NewStep: "new-step-button";
4994
5099
  PermissionsInheritance: "permissions-inheritance-button";
5100
+ PublishAction: "Publish-action";
4995
5101
  Recalculate: "button-recalculate";
4996
5102
  RecalculateAutomationsStatistics: "recalculate-automations-statistics-button";
4997
5103
  RecalculateEmailStatistics: "recalculate-email-statistics-button";
@@ -5044,9 +5150,12 @@ declare const testIds: {
5044
5150
  IsContentDeliveryEnabledCheckbox: "IsContentDeliveryEnabledCheckbox";
5045
5151
  OrderStatusCustomerNotificationEnabledCheckbox: "OrderStatusCustomerNotificationEnabledCheckbox";
5046
5152
  OrderStatusInternalNotificationEnabledCheckbox: "OrderStatusInternalNotificationEnabledCheckbox";
5153
+ PaymentMethodEnabledCheckbox: "PaymentMethodEnabledCheckbox";
5047
5154
  ProvideAdditionalParametersCheckbox: "ProvideAdditionalParametersCheckbox";
5155
+ ShippingMethodEnabledCheckbox: "ShippingMethodEnabledCheckbox";
5048
5156
  UserEnabled: "UserEnabledCheckbox";
5049
5157
  VisibleCheckbox: "VisibleCheckbox";
5158
+ Default: "checkbox";
5050
5159
  CodeName: "code-name-checkbox";
5051
5160
  InheritSettings: "inherit-settings";
5052
5161
  TableRow: "table-row-checkbox";
@@ -5128,6 +5237,7 @@ declare const testIds: {
5128
5237
  SmartFolder: "smart-folder-label";
5129
5238
  };
5130
5239
  InfoCards: {
5240
+ ContactDescriptiveName: "ContactDescriptiveName";
5131
5241
  DeliveryStatistics: "delivery-statistics-cards";
5132
5242
  EngagementStatistics: "engagement-statistics-cards";
5133
5243
  LatestActivityItem: "latest-activity-item";
@@ -5160,10 +5270,12 @@ declare const testIds: {
5160
5270
  EmailTemplateSourceCode: "EmailTemplateCode";
5161
5271
  EventCode: "EventCode";
5162
5272
  EventItemCount: "EventItemCount";
5273
+ EventTime: "EventTime";
5163
5274
  FieldCaption: "FieldCaption";
5164
5275
  FolderName: "FolderName";
5165
5276
  FoldersCount: "FoldersCount";
5166
5277
  FormattingCulture: "ContentLanguageCultureFormat";
5278
+ FormCodeName: "FormCodename";
5167
5279
  FormDisplayName: "FormDisplayName";
5168
5280
  HeadlessChannelPreviewUrl: "HeadlessChannelPreviewUrl";
5169
5281
  Kpi: "Kpi";
@@ -5182,11 +5294,16 @@ declare const testIds: {
5182
5294
  OrderStatusDisplayName: "OrderStatusDisplayName";
5183
5295
  PagesInFolderCount: "PagesInFolderCount";
5184
5296
  Password: "password";
5297
+ PaymentMethodDescription: "PaymentMethodDescription";
5298
+ PaymentMethodDisplayName: "PaymentMethodDisplayName";
5185
5299
  RegisterPassword: "register-password";
5186
5300
  RoleDescription: "RoleDescription";
5187
5301
  RoleDisplayName: "RoleDisplayName";
5188
5302
  ScheduledTime: "ScheduledTime";
5189
5303
  SendingDomain: "EmailChannelSendingDomain";
5304
+ ShippingMethodDescription: "ShippingMethodDescription";
5305
+ ShippingMethodDisplayName: "ShippingMethodDisplayName";
5306
+ ShippingMethodPrice: "ShippingMethodPrice";
5190
5307
  Size: "Size";
5191
5308
  Source: "Source";
5192
5309
  StepDisplayName: "StepDisplayName";
@@ -5216,6 +5333,7 @@ declare const testIds: {
5216
5333
  Email: "Email";
5217
5334
  FieldName: "field-name";
5218
5335
  FolderDisplayName: "FolderDisplayName";
5336
+ Label: "Label";
5219
5337
  NewUrl: "NewUrl";
5220
5338
  Passcode: "passcode";
5221
5339
  Search: "search-input";
@@ -5239,8 +5357,12 @@ declare const testIds: {
5239
5357
  CmsContactHasSubmittedForm: "cmscontacthassubmittedform";
5240
5358
  ContactGroupRecipientListThankYouPage: "ContactGroupRecipientListThankYouPage";
5241
5359
  EditableAreaGeneral: "editable-area-general";
5360
+ TableCellAutomation: "table-cell-Automation";
5242
5361
  TableCellConverted: "table-cell-Converted";
5243
5362
  TableCellDroppedOff: "table-cell-Dropped off";
5363
+ TableCellFirstName: "table-cell-FirstName";
5364
+ TableCellLastName: "table-cell-LastName";
5365
+ TableCellTextInput: "table-cell-TextInput";
5244
5366
  AdditionalActions: "additional-actions";
5245
5367
  AiraAssistantMessage: "aira-assistant-message";
5246
5368
  AiraUserMessage: "aira-user-message";
@@ -5279,6 +5401,7 @@ declare const testIds: {
5279
5401
  MenuItems: {
5280
5402
  Default: "menu-item";
5281
5403
  NewFolder: "new-folder-menu-item";
5404
+ SelectedLanguage: "selected-language-item";
5282
5405
  SelectLibrary: "select-library-item";
5283
5406
  TreeNodeAction: "action";
5284
5407
  };
@@ -5293,6 +5416,7 @@ declare const testIds: {
5293
5416
  Workflow: "workflow-notification-bar";
5294
5417
  };
5295
5418
  RadioGroups: {
5419
+ AutoresponderEmailSource: "AutoresponderEmailSource";
5296
5420
  EmailSendRadioOptions: "ImmediateSend";
5297
5421
  PublishNow: "PublishNow";
5298
5422
  SchedulePublish: "schedule-publish";
@@ -5315,6 +5439,7 @@ declare const testIds: {
5315
5439
  AllowedContentType: "allowed-content-type";
5316
5440
  AllowedContentTypes: "allowed-content-types";
5317
5441
  AllowedContentTypesInTheScope: "allowed-content-types-in-the-scope";
5442
+ AutoresponderSelectedEmail: "AutoresponderSelectedEmail";
5318
5443
  ContentLanguage: "content-language";
5319
5444
  ContentType: "content-type";
5320
5445
  ContentTypeForMassUploadedItems: "content-type-for-mass-uploaded-items";
@@ -5342,6 +5467,7 @@ declare const testIds: {
5342
5467
  ChannelType: "ChannelType";
5343
5468
  ClassContentTypeType: "ClassContentTypeType";
5344
5469
  CodeNameColumn: "CodeNameColumn";
5470
+ ContactFieldName: "ContactFieldName";
5345
5471
  ContentType: "ContentType";
5346
5472
  DatabaseColumn: "DatabaseColumn";
5347
5473
  DataType: "DataType";
@@ -5365,9 +5491,11 @@ declare const testIds: {
5365
5491
  ApplicationItem: "application-item-selector";
5366
5492
  EmailChannel: "select-email-channel";
5367
5493
  Library: "select-library";
5494
+ StandardMediaDimensionType: "standard-media-dimension-type";
5368
5495
  TemplateSelector: "template-selector";
5369
5496
  WebPage: "select-web-page";
5370
5497
  Workspace: "select-workspace";
5498
+ WorkspaceID: "WorkspaceID";
5371
5499
  WorkspaceItem: "workspace-item-selector";
5372
5500
  };
5373
5501
  SideMenus: {
@@ -5385,6 +5513,7 @@ declare const testIds: {
5385
5513
  Delete: "delete-dialog";
5386
5514
  MultiSourceAsset: "multi-source-asset-panel";
5387
5515
  SelectAsset: "Assets.SelectExisting";
5516
+ SelectContentItemPanel: "CombinedSelector.EditContenItemPanel";
5388
5517
  SelectEmail: "SelectEmail";
5389
5518
  SelectWebPage: "SelectWebPage";
5390
5519
  };
@@ -5396,10 +5525,14 @@ declare const testIds: {
5396
5525
  Default: "snackbar";
5397
5526
  ItemMessage: "snackbar-item-message";
5398
5527
  };
5528
+ Switches: {
5529
+ TableCell: "switch-table-cell";
5530
+ };
5399
5531
  Tables: {
5400
5532
  Default: "table";
5401
5533
  CascadeDelete: "cascade-delete-table";
5402
5534
  CascadePublish: "cascade-publish-table";
5535
+ CascadeTranslation: "cascade-translation-table";
5403
5536
  ContentSynchronization: "content-synchronization-table";
5404
5537
  Publish: "publish-table";
5405
5538
  Row: "table-row";