Merge branch 'main' into feature/modal-tree-picker-kind
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
export interface UmbDictionaryItemPickerModalData {
|
||||
multiple: boolean;
|
||||
selection: string[];
|
||||
}
|
||||
|
||||
export interface UmbDictionaryItemPickerModalResult {
|
||||
selection: Array<string | null>;
|
||||
}
|
||||
|
||||
export const UMB_DICTIONARY_ITEM_PICKER_MODAL_ALIAS = 'Umb.Modal.DictionaryItemPicker';
|
||||
|
||||
export const UMB_DICTIONARY_ITEM_PICKER_MODAL = new UmbModalToken<
|
||||
UmbDictionaryItemPickerModalData,
|
||||
UmbDictionaryItemPickerModalResult
|
||||
>(UMB_DICTIONARY_ITEM_PICKER_MODAL_ALIAS, {
|
||||
type: 'sidebar',
|
||||
size: 'small',
|
||||
});
|
||||
@@ -26,4 +26,6 @@ export * from './template-picker-modal.token';
|
||||
export * from './user-group-picker-modal.token';
|
||||
export * from './user-picker-modal.token';
|
||||
export * from './folder-modal.token';
|
||||
export * from './partial-view-picker-modal.token';
|
||||
export * from './dictionary-item-picker-modal.token';
|
||||
export * from './data-type-picker-modal.token';
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
export interface UmbPartialViewPickerModalData {
|
||||
multiple: boolean;
|
||||
selection: string[];
|
||||
}
|
||||
|
||||
export interface UmbPartialViewPickerModalResult {
|
||||
selection: Array<string | null> | undefined;
|
||||
}
|
||||
|
||||
export const UMB_PARTIAL_VIEW_PICKER_MODAL_ALIAS = 'Umb.Modal.PartialViewPicker';
|
||||
|
||||
export const UMB_PARTIAL_VIEW_PICKER_MODAL = new UmbModalToken<
|
||||
UmbPartialViewPickerModalData,
|
||||
UmbPartialViewPickerModalResult
|
||||
>(UMB_PARTIAL_VIEW_PICKER_MODAL_ALIAS, {
|
||||
type: 'sidebar',
|
||||
size: 'small',
|
||||
});
|
||||
Reference in New Issue
Block a user