@kentico/xperience-admin-base 30.11.3 → 30.12.1
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/README.md +9 -0
- package/dist/entry.d.ts +79 -1
- package/dist/entry.js +6 -6
- package/package.json +4 -4
package/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Xperience by Kentico - Admin Client Package
|
|
2
|
+
|
|
3
|
+
This package is part of the Xperience by Kentico administration interface framework.
|
|
4
|
+
|
|
5
|
+
## Documentation
|
|
6
|
+
|
|
7
|
+
For setup instructions, usage guidelines, and customization options, please refer to the official Xperience by Kentico documentation:
|
|
8
|
+
|
|
9
|
+
**[Extend the administration interface](https://docs.kentico.com/x/GwKQC)**
|
package/dist/entry.d.ts
CHANGED
|
@@ -134,11 +134,44 @@ declare interface AdditionalActionProps {
|
|
|
134
134
|
*/
|
|
135
135
|
export declare const AssetPanelRichTextEditorNestedComponent: React_2.ForwardRefExoticComponent<RichTextEditorNestedComponentProps & React_2.RefAttributes<RichTextEditorNestedComponentRef>>;
|
|
136
136
|
|
|
137
|
-
export declare
|
|
137
|
+
export declare interface AssetRichTextEditorDropdownOption {
|
|
138
|
+
/**
|
|
139
|
+
* Option to be contained in dropdown.
|
|
140
|
+
*/
|
|
141
|
+
readonly linkOption: string;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export declare const AssetRichTextEditorPlugin: ({ inputRef, froalaEditorConfigurator, froalaEditorRef, pluginOptions }: AssetRichTextEditorPluginProps) => JSX_2.Element;
|
|
145
|
+
|
|
146
|
+
export declare interface AssetRichTextEditorPluginOptions extends RichTextEditorPluginOptionsBase {
|
|
147
|
+
/**
|
|
148
|
+
* Dropdown options for a dropdown used in the plugin.
|
|
149
|
+
*/
|
|
150
|
+
readonly dropdownOptions: AssetRichTextEditorDropdownOption[];
|
|
151
|
+
/**
|
|
152
|
+
* Configuration for smart inline asset upload.
|
|
153
|
+
*/
|
|
154
|
+
readonly assetUploadConfiguration: SmartInlineAssetUploadConfiguration;
|
|
155
|
+
}
|
|
138
156
|
|
|
139
157
|
export declare interface AssetRichTextEditorPluginProps extends RichTextEditorPluginProps {
|
|
140
158
|
}
|
|
141
159
|
|
|
160
|
+
export declare interface AssetUploadPlaceholderData {
|
|
161
|
+
/**
|
|
162
|
+
* The file associated with the placeholder.
|
|
163
|
+
*/
|
|
164
|
+
readonly file: File;
|
|
165
|
+
/**
|
|
166
|
+
* The placeholder ID.
|
|
167
|
+
*/
|
|
168
|
+
readonly placeholderId: string;
|
|
169
|
+
/**
|
|
170
|
+
* The placeholder text.
|
|
171
|
+
*/
|
|
172
|
+
readonly placeholderText: string;
|
|
173
|
+
}
|
|
174
|
+
|
|
142
175
|
declare interface BaseButtonProps extends UITestProps {
|
|
143
176
|
readonly renderComponent: (props: InjectedProps) => React.ReactNode;
|
|
144
177
|
readonly size?: ButtonSize;
|
|
@@ -459,6 +492,11 @@ declare type IconNameMap = {
|
|
|
459
492
|
|
|
460
493
|
declare type IconSet = keyof typeof KXIconSets;
|
|
461
494
|
|
|
495
|
+
export declare enum ImageType {
|
|
496
|
+
Select = "select",
|
|
497
|
+
Upload = "upload"
|
|
498
|
+
}
|
|
499
|
+
|
|
462
500
|
declare interface InjectedProps {
|
|
463
501
|
readonly classes: string;
|
|
464
502
|
readonly children: React.ReactNode;
|
|
@@ -506,6 +544,32 @@ export declare enum LinkType {
|
|
|
506
544
|
WebPage = "webpage"
|
|
507
545
|
}
|
|
508
546
|
|
|
547
|
+
/**
|
|
548
|
+
* Represents configuration for mass asset upload feature.
|
|
549
|
+
*/
|
|
550
|
+
declare interface MassAssetUploadConfiguration {
|
|
551
|
+
/**
|
|
552
|
+
* File extensions allowed to be uploaded.
|
|
553
|
+
*/
|
|
554
|
+
readonly allowedExtensions?: string[];
|
|
555
|
+
/**
|
|
556
|
+
* Maximum allowed size of uploaded chunk.
|
|
557
|
+
*/
|
|
558
|
+
readonly chunkSize: number;
|
|
559
|
+
/**
|
|
560
|
+
* Maximum allowed size of uploaded file.
|
|
561
|
+
*/
|
|
562
|
+
readonly maxFileSize: number;
|
|
563
|
+
/**
|
|
564
|
+
* Indicates if mass asset upload feature is disabled.
|
|
565
|
+
*/
|
|
566
|
+
readonly disabled: boolean;
|
|
567
|
+
/**
|
|
568
|
+
* Title for the mass asset upload button.
|
|
569
|
+
*/
|
|
570
|
+
readonly title: string;
|
|
571
|
+
}
|
|
572
|
+
|
|
509
573
|
declare interface NotificationMessage {
|
|
510
574
|
readonly id?: string | number;
|
|
511
575
|
readonly message: string;
|
|
@@ -632,6 +696,20 @@ export declare interface RoutingContentPlaceholderProps {
|
|
|
632
696
|
children?: React_2.ReactNode;
|
|
633
697
|
}
|
|
634
698
|
|
|
699
|
+
/**
|
|
700
|
+
* Represents configuration for smart inline asset upload feature in the content item selector.
|
|
701
|
+
*/
|
|
702
|
+
declare interface SmartInlineAssetUploadConfiguration extends MassAssetUploadConfiguration {
|
|
703
|
+
/**
|
|
704
|
+
* Indicates if side panel for folder and/or workspace selection should be used.
|
|
705
|
+
*/
|
|
706
|
+
readonly useSelectionSidePanel: boolean;
|
|
707
|
+
/**
|
|
708
|
+
* Workspace id for smart inline asset upload when side panel is not open and user has only single workspace access.
|
|
709
|
+
*/
|
|
710
|
+
readonly workspaceId?: number;
|
|
711
|
+
}
|
|
712
|
+
|
|
635
713
|
/**
|
|
636
714
|
* Represents properties for Dialog context component.
|
|
637
715
|
*/
|