@kentico/xperience-admin-components 30.3.3 → 30.4.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/entry.d.ts
CHANGED
|
@@ -1001,45 +1001,6 @@ export declare enum Cols {
|
|
|
1001
1001
|
|
|
1002
1002
|
export declare const Column: React_2.ForwardRefExoticComponent<ColumnProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1003
1003
|
|
|
1004
|
-
export declare const ColumnChart: {
|
|
1005
|
-
({ data, legendTitle, getColumnLabel, getBetweenColumnLabel }: ColumnChartProps): JSX_2.Element;
|
|
1006
|
-
displayName: string;
|
|
1007
|
-
};
|
|
1008
|
-
|
|
1009
|
-
export declare type ColumnChartData = {
|
|
1010
|
-
/**
|
|
1011
|
-
* The ID of the column.
|
|
1012
|
-
*/
|
|
1013
|
-
columnId: string;
|
|
1014
|
-
/**
|
|
1015
|
-
* The value of the column.
|
|
1016
|
-
*/
|
|
1017
|
-
columnValue: number;
|
|
1018
|
-
/**
|
|
1019
|
-
* The tooltip for the column label.
|
|
1020
|
-
*/
|
|
1021
|
-
columnLabelTooltip?: string;
|
|
1022
|
-
};
|
|
1023
|
-
|
|
1024
|
-
export declare type ColumnChartProps = {
|
|
1025
|
-
/**
|
|
1026
|
-
* The data for the chart.
|
|
1027
|
-
*/
|
|
1028
|
-
data: ColumnChartData[];
|
|
1029
|
-
/**
|
|
1030
|
-
* The legend title.
|
|
1031
|
-
*/
|
|
1032
|
-
legendTitle: string;
|
|
1033
|
-
/**
|
|
1034
|
-
* The label for the column.
|
|
1035
|
-
*/
|
|
1036
|
-
getColumnLabel: (dataContext: ColumnChartData) => string;
|
|
1037
|
-
/**
|
|
1038
|
-
* The label between the columns.
|
|
1039
|
-
*/
|
|
1040
|
-
getBetweenColumnLabel: (dataContext: ColumnChartData) => string;
|
|
1041
|
-
};
|
|
1042
|
-
|
|
1043
1004
|
export declare enum ColumnContentType {
|
|
1044
1005
|
Action = "action",
|
|
1045
1006
|
Text = "text",
|
|
@@ -1596,8 +1557,6 @@ declare enum FileSizeUnit {
|
|
|
1596
1557
|
|
|
1597
1558
|
export declare function forceClickOutside(e?: MouseEvent): void;
|
|
1598
1559
|
|
|
1599
|
-
export declare const FormatChartText: (text: string, bold: boolean | undefined, fontSize: number | undefined) => string;
|
|
1600
|
-
|
|
1601
1560
|
/**
|
|
1602
1561
|
* Formats file size to a readable string.
|
|
1603
1562
|
* @param fileSizeObject Object containing formatted file size and units.
|
|
@@ -1610,6 +1569,21 @@ declare type FormattedFileSize = {
|
|
|
1610
1569
|
unit: FileSizeUnit;
|
|
1611
1570
|
};
|
|
1612
1571
|
|
|
1572
|
+
export declare enum FormEditMode {
|
|
1573
|
+
/**
|
|
1574
|
+
* Element is editable.
|
|
1575
|
+
*/
|
|
1576
|
+
Default = "default",
|
|
1577
|
+
/**
|
|
1578
|
+
* Element is disabled.
|
|
1579
|
+
*/
|
|
1580
|
+
Disabled = "disabled",
|
|
1581
|
+
/**
|
|
1582
|
+
* Element is read-only.
|
|
1583
|
+
*/
|
|
1584
|
+
ReadOnly = "readOnly"
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1613
1587
|
export declare const FormItemWrapper: React_2.ForwardRefExoticComponent<FormItemWrapperProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1614
1588
|
|
|
1615
1589
|
export declare interface FormItemWrapperProps extends UITestProps {
|
|
@@ -1617,7 +1591,11 @@ export declare interface FormItemWrapperProps extends UITestProps {
|
|
|
1617
1591
|
readonly inline?: boolean;
|
|
1618
1592
|
readonly label?: string;
|
|
1619
1593
|
readonly markAsRequired?: boolean;
|
|
1594
|
+
/**
|
|
1595
|
+
* @deprecated Property is deprecated and will be removed in the next version. Use `editMode` set to `FormEditMode.Disabled` instead.
|
|
1596
|
+
*/
|
|
1620
1597
|
readonly disabled?: boolean;
|
|
1598
|
+
readonly editMode?: FormEditMode;
|
|
1621
1599
|
readonly inactiveMessage?: string;
|
|
1622
1600
|
readonly labelIcon?: IconName;
|
|
1623
1601
|
readonly labelIconTooltip?: string;
|
|
@@ -4622,7 +4600,7 @@ export declare interface TableRow {
|
|
|
4622
4600
|
/**
|
|
4623
4601
|
* Identifier of the row.
|
|
4624
4602
|
*/
|
|
4625
|
-
identifier:
|
|
4603
|
+
identifier: number | string;
|
|
4626
4604
|
/**
|
|
4627
4605
|
* Table row cells.
|
|
4628
4606
|
*/
|
|
@@ -4763,6 +4741,12 @@ export declare interface TagTableCellComponentProps {
|
|
|
4763
4741
|
}
|
|
4764
4742
|
|
|
4765
4743
|
export declare enum TestIds {
|
|
4744
|
+
NestedActionMenuItemMassUpload = "nested-action-menu-item-mass-upload",
|
|
4745
|
+
ExpandSplitButton = "expand-split-button",
|
|
4746
|
+
SidePanelHeadline = "side-panel-headline",
|
|
4747
|
+
CrossInSircleButton = "xp-times-circle",
|
|
4748
|
+
UploadFieldName = "UploadFieldName",
|
|
4749
|
+
ContentTypeForMassUploadedItems = "content-type-for-mass-uploaded-items",
|
|
4766
4750
|
Chevron = "chevron",
|
|
4767
4751
|
ConfirmAction = "confirm-action",
|
|
4768
4752
|
ContentType = "ContentType",
|
|
@@ -4856,7 +4840,6 @@ export declare enum TestIds {
|
|
|
4856
4840
|
ButtonOpenSidepanel = "button-open-binding-sidepanel",
|
|
4857
4841
|
ContentItemSplitButtonContinue = "content-item-menu-split-button-continue",
|
|
4858
4842
|
ContentItemSplitButtonPublish = "content-item-menu-split-button-publish",
|
|
4859
|
-
ExpandSplitButton = "expand-split-button",
|
|
4860
4843
|
EmailConfigurationMenuActions = "email-configuration-menu-actions",
|
|
4861
4844
|
MenuActions = "menu-actions",
|
|
4862
4845
|
ContentItemActionButton = "content-item-action-button",
|
|
@@ -4868,6 +4851,7 @@ export declare enum TestIds {
|
|
|
4868
4851
|
ContentItemActionMenu = "content-item-action-menu",
|
|
4869
4852
|
ContentItemSendDraft = "content-item-action-menu-senddraft",
|
|
4870
4853
|
ContentItemDelete = "content-item-action-menu-delete",
|
|
4854
|
+
ContentItemDeleteDialog = "content-item-delete-dialog",
|
|
4871
4855
|
ContetItemRevertToPublished = "content-item-action-menu-item-discardchanges",
|
|
4872
4856
|
ContentItemClone = "content-item-action-menu-item-clone",
|
|
4873
4857
|
EmailSubject = "EmailSubject",
|
|
@@ -4892,6 +4876,7 @@ export declare enum TestIds {
|
|
|
4892
4876
|
Namespace = "code-name-namespace",
|
|
4893
4877
|
Name = "Name",
|
|
4894
4878
|
RequiredCheckbox = "RequiredCheckbox",
|
|
4879
|
+
VisibleCheckbox = "VisibleCheckbox",
|
|
4895
4880
|
FieldCaption = "FieldCaption",
|
|
4896
4881
|
FormComponent = "FormComponent",
|
|
4897
4882
|
DataType = "DataType",
|
|
@@ -4913,6 +4898,7 @@ export declare enum TestIds {
|
|
|
4913
4898
|
ContentItemActionButtonCreate = "content-item-action-button-create",
|
|
4914
4899
|
ContentItemActionButtonSave = "content-item-action-button-save",
|
|
4915
4900
|
EmailPreviewText = "EmailPreviewText",
|
|
4901
|
+
EmailPreview = "email-preview",
|
|
4916
4902
|
EmailBody = "Body",
|
|
4917
4903
|
ArrowSend = "xp-arrow-send",
|
|
4918
4904
|
RefinementHeader = "refinement-header",
|
|
@@ -4949,6 +4935,9 @@ export declare enum TestIds {
|
|
|
4949
4935
|
SubmitFormButton = "submit-form-button",
|
|
4950
4936
|
RecalculateAutomationsStatisticsButton = "recalculate-automations-statistics-button",
|
|
4951
4937
|
WorkspaceDisplayName = "WorkspaceDisplayName",
|
|
4938
|
+
WorkspaceName = "WorkspaceName",
|
|
4939
|
+
AllowedContentTypes = "allowed-content-types",
|
|
4940
|
+
AllowedContentType = "allowed-content-type",
|
|
4952
4941
|
RoleDisplayName = "RoleDisplayName",
|
|
4953
4942
|
RoleDescription = "RoleDescription",
|
|
4954
4943
|
ApplicationItemSelector = "application-item-selector",
|
|
@@ -4956,9 +4945,67 @@ export declare enum TestIds {
|
|
|
4956
4945
|
WorkspaceItemSelector = "workspace-item-selector",
|
|
4957
4946
|
SelectApplication = "select-application",
|
|
4958
4947
|
XpChevronUp = "xp-chevron-up",
|
|
4948
|
+
XpChevronDown = "xp-chevron-down",
|
|
4959
4949
|
PermissionSet = "permission-set",
|
|
4960
4950
|
AiraIcon = "xp-ai",
|
|
4961
|
-
AiraButton = "AiraButton"
|
|
4951
|
+
AiraButton = "AiraButton",
|
|
4952
|
+
ApplicationMenu = "application-menu",
|
|
4953
|
+
ApplicationMenuTile = "application-tile",
|
|
4954
|
+
ApplicationListItem = "application-list-item",
|
|
4955
|
+
TableHeader = "table-header",
|
|
4956
|
+
SearchInput = "search-input",
|
|
4957
|
+
ClearSearchButton = "clear-search-button",
|
|
4958
|
+
HeadlessChannelPreviewUrl = "HeadlessChannelPreviewUrl",
|
|
4959
|
+
WebsiteChannel = "website-channel",
|
|
4960
|
+
TrackedWebsiteDisplayName = "TrackedWebsiteDisplayName",
|
|
4961
|
+
TrackedWebsiteURL = "TrackedWebsiteURL",
|
|
4962
|
+
TrackedWebsiteDescription = "TrackedWebsiteDescription",
|
|
4963
|
+
TrackedWebsiteCodeSnippet = "TrackedWebsiteCodeSnippet",
|
|
4964
|
+
RecipientListThankYouPage = "ContactGroupRecipientListThankYouPage",
|
|
4965
|
+
SelectWebPageButton = "button-select-web-page",
|
|
4966
|
+
SelectWebPage = "SelectWebPage",
|
|
4967
|
+
SelectWebPageWebsiteChannel = "select-web-page",
|
|
4968
|
+
ObjectType = "ObjectType",
|
|
4969
|
+
ContentItemButtonConfirmSelection = "content-item-action-button-confirmselection",
|
|
4970
|
+
RegisterPassword = "register-password",
|
|
4971
|
+
SignUpButton = "sign-up-button",
|
|
4972
|
+
DropdownSelector = "dropdown-selector",
|
|
4973
|
+
WorkspaceSelector = "WorkspaceSelector",
|
|
4974
|
+
NewFolderPlus = "new-folder-plus",
|
|
4975
|
+
IsContentDeliveryEnabledCheckbox = "IsContentDeliveryEnabledCheckbox",
|
|
4976
|
+
ContentTypeWithDash = "content-type",
|
|
4977
|
+
ContentTypeCamelCase = "ContentType",
|
|
4978
|
+
CreateFolderDialog = "create-folder-dialog",
|
|
4979
|
+
TreeItemTitle = "tree-item-title",
|
|
4980
|
+
ContentItemActionConfirmSelection = "content-item-action-button-confirmselection",
|
|
4981
|
+
ContentItemActionDiscard = "content-item-action-button-discard",
|
|
4982
|
+
ListingHeaderActions = "listing-header-actions",
|
|
4983
|
+
ContentItemMenuSplitButtonPublish = "content-item-menu-split-button-publish",
|
|
4984
|
+
ButtonSelectExistingContentItem = "button-select-existing-content-item",
|
|
4985
|
+
ButtonCreateNewContentItem = "button-create-new-content-item",
|
|
4986
|
+
SmartFolderForm = "smart-folder-form",
|
|
4987
|
+
ContactGroupDisplayName = "ContactGroupDisplayName",
|
|
4988
|
+
ContactGroupDescription = "ContactGroupDescription",
|
|
4989
|
+
CreatePageButton = "create-page-button",
|
|
4990
|
+
CreateWebPageForm = "create-web-page-form",
|
|
4991
|
+
ContentItemMenuSplitButtonCreatenewversion = "content-item-menu-split-button-createnewversion",
|
|
4992
|
+
RecipientListApprovalSettings = "Approval settings",
|
|
4993
|
+
RecipientListUnsubscribeSettings = "Unsubscribe settings",
|
|
4994
|
+
RecipientListEditBasicDataButton = "edit-recipient-list-basic-data-button",
|
|
4995
|
+
EmailConfigurationGeneralForm = "General",
|
|
4996
|
+
EmailSendTo = "send-to",
|
|
4997
|
+
EmailReviewAndSendButton = "content-item-menu-split-button-reviewandsend",
|
|
4998
|
+
EmailSendRadioOptions = "ImmediateSend",
|
|
4999
|
+
EmailSendScheduledTime = "ScheduledTime",
|
|
5000
|
+
BreadcrumbStatus = "breadcrumbs-status",
|
|
5001
|
+
NotificationBar = "notification-bar",
|
|
5002
|
+
EmailEditRegularButton = "content-item-menu-split-button-editregular",
|
|
5003
|
+
EmailRescheduleButton = "content-item-action-menu-item-reschedule",
|
|
5004
|
+
SideMenuItem = "side-menu-item",
|
|
5005
|
+
EmailPlainText = "EmailPlainText",
|
|
5006
|
+
ContentItemDeleteButton = "content-item-action-menu-item-delete",
|
|
5007
|
+
EmailNoStatisticsData = "no-statistics-data",
|
|
5008
|
+
EmailRecalculateStatisticsButton = "recalculate-email-statistics-button"
|
|
4962
5009
|
}
|
|
4963
5010
|
|
|
4964
5011
|
export declare const TextArea: React_2.ForwardRefExoticComponent<TextAreaProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -5156,7 +5203,7 @@ export declare interface TreeNodeAction {
|
|
|
5156
5203
|
* Indicates if the action is disabled. Defaults to `false`.
|
|
5157
5204
|
*/
|
|
5158
5205
|
readonly disabled?: boolean;
|
|
5159
|
-
readonly actionExecutor?: (action:
|
|
5206
|
+
readonly actionExecutor?: (action: string) => void;
|
|
5160
5207
|
/**
|
|
5161
5208
|
* Actions tooltip.
|
|
5162
5209
|
*/
|