@umbraco-cms/backoffice 1.0.0-next.70dd5ba6 → 1.0.0-next.7b47547e
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/custom-elements.json +186 -4
- package/entity-action.d.ts +19 -2
- package/modal.d.ts +11 -2
- package/package.json +1 -1
- package/repository.d.ts +38 -8
- package/vscode-html-custom-data.json +64 -2
package/custom-elements.json
CHANGED
|
@@ -943,6 +943,17 @@
|
|
|
943
943
|
}
|
|
944
944
|
]
|
|
945
945
|
},
|
|
946
|
+
{
|
|
947
|
+
"name": "umb-create-data-type-modal",
|
|
948
|
+
"path": "./src/backoffice/settings/data-types/entity-actions/create/modal/create-data-type-modal.element.ts",
|
|
949
|
+
"properties": [
|
|
950
|
+
{
|
|
951
|
+
"name": "styles",
|
|
952
|
+
"type": "CSSResult[]",
|
|
953
|
+
"default": "[\"UUITextStyles\"]"
|
|
954
|
+
}
|
|
955
|
+
]
|
|
956
|
+
},
|
|
946
957
|
{
|
|
947
958
|
"name": "umb-data-type-workspace-edit-element",
|
|
948
959
|
"path": "./src/backoffice/settings/data-types/workspace/data-type-workspace-edit.element.ts",
|
|
@@ -3815,6 +3826,101 @@
|
|
|
3815
3826
|
}
|
|
3816
3827
|
]
|
|
3817
3828
|
},
|
|
3829
|
+
{
|
|
3830
|
+
"name": "umb-input-upload-field",
|
|
3831
|
+
"path": "./src/backoffice/shared/components/input-upload-field/input-upload-field.element.ts",
|
|
3832
|
+
"attributes": [
|
|
3833
|
+
{
|
|
3834
|
+
"name": "keys",
|
|
3835
|
+
"type": "Array<String>",
|
|
3836
|
+
"default": "\"[]\""
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"name": "fileExtensions",
|
|
3840
|
+
"type": "Array<String>",
|
|
3841
|
+
"default": "\"undefined\""
|
|
3842
|
+
},
|
|
3843
|
+
{
|
|
3844
|
+
"name": "multiple",
|
|
3845
|
+
"type": "Boolean",
|
|
3846
|
+
"default": "\"false\""
|
|
3847
|
+
}
|
|
3848
|
+
],
|
|
3849
|
+
"properties": [
|
|
3850
|
+
{
|
|
3851
|
+
"name": "styles",
|
|
3852
|
+
"type": "CSSResult[]",
|
|
3853
|
+
"default": "[\"UUITextStyles\",null]"
|
|
3854
|
+
},
|
|
3855
|
+
{
|
|
3856
|
+
"name": "keys",
|
|
3857
|
+
"attribute": "keys",
|
|
3858
|
+
"type": "Array<String>",
|
|
3859
|
+
"default": "\"[]\""
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"name": "fileExtensions",
|
|
3863
|
+
"attribute": "fileExtensions",
|
|
3864
|
+
"type": "Array<String>",
|
|
3865
|
+
"default": "\"undefined\""
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
"name": "multiple",
|
|
3869
|
+
"attribute": "multiple",
|
|
3870
|
+
"type": "Boolean",
|
|
3871
|
+
"default": "\"false\""
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"name": "extensions",
|
|
3875
|
+
"type": "string[] | undefined"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"name": "formAssociated",
|
|
3879
|
+
"type": "boolean"
|
|
3880
|
+
},
|
|
3881
|
+
{
|
|
3882
|
+
"name": "value",
|
|
3883
|
+
"type": "FormDataEntryValue | FormData"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"name": "name",
|
|
3887
|
+
"type": "string"
|
|
3888
|
+
},
|
|
3889
|
+
{
|
|
3890
|
+
"name": "validationMessage",
|
|
3891
|
+
"type": "string"
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"name": "validity",
|
|
3895
|
+
"type": "ValidityState"
|
|
3896
|
+
},
|
|
3897
|
+
{
|
|
3898
|
+
"name": "pristine",
|
|
3899
|
+
"type": "boolean"
|
|
3900
|
+
},
|
|
3901
|
+
{
|
|
3902
|
+
"name": "required",
|
|
3903
|
+
"type": "boolean"
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"name": "requiredMessage",
|
|
3907
|
+
"type": "string"
|
|
3908
|
+
},
|
|
3909
|
+
{
|
|
3910
|
+
"name": "error",
|
|
3911
|
+
"type": "boolean"
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"name": "errorMessage",
|
|
3915
|
+
"type": "string"
|
|
3916
|
+
}
|
|
3917
|
+
],
|
|
3918
|
+
"events": [
|
|
3919
|
+
{
|
|
3920
|
+
"name": "change"
|
|
3921
|
+
}
|
|
3922
|
+
]
|
|
3923
|
+
},
|
|
3818
3924
|
{
|
|
3819
3925
|
"name": "umb-input-user-group",
|
|
3820
3926
|
"path": "./src/backoffice/shared/components/input-user-group/input-user-group.element.ts",
|
|
@@ -3936,14 +4042,69 @@
|
|
|
3936
4042
|
]
|
|
3937
4043
|
},
|
|
3938
4044
|
{
|
|
3939
|
-
"name": "umb-menu-item",
|
|
3940
|
-
"path": "./src/backoffice/shared/components/menu-item/menu-item.element.ts",
|
|
4045
|
+
"name": "umb-menu-item-base",
|
|
4046
|
+
"path": "./src/backoffice/shared/components/menu/menu-item-base/menu-item-base.element.ts",
|
|
4047
|
+
"attributes": [
|
|
4048
|
+
{
|
|
4049
|
+
"name": "entity-type",
|
|
4050
|
+
"type": "string | undefined"
|
|
4051
|
+
},
|
|
4052
|
+
{
|
|
4053
|
+
"name": "icon-name",
|
|
4054
|
+
"type": "string",
|
|
4055
|
+
"default": "\"\""
|
|
4056
|
+
},
|
|
4057
|
+
{
|
|
4058
|
+
"name": "label",
|
|
4059
|
+
"type": "string",
|
|
4060
|
+
"default": "\"\""
|
|
4061
|
+
},
|
|
4062
|
+
{
|
|
4063
|
+
"name": "has-children",
|
|
4064
|
+
"type": "boolean",
|
|
4065
|
+
"default": "false"
|
|
4066
|
+
}
|
|
4067
|
+
],
|
|
3941
4068
|
"properties": [
|
|
3942
4069
|
{
|
|
3943
4070
|
"name": "styles",
|
|
3944
4071
|
"type": "CSSResult[]",
|
|
3945
4072
|
"default": "[\"UUITextStyles\",null]"
|
|
3946
4073
|
},
|
|
4074
|
+
{
|
|
4075
|
+
"name": "entityType",
|
|
4076
|
+
"attribute": "entity-type",
|
|
4077
|
+
"type": "string | undefined"
|
|
4078
|
+
},
|
|
4079
|
+
{
|
|
4080
|
+
"name": "iconName",
|
|
4081
|
+
"attribute": "icon-name",
|
|
4082
|
+
"type": "string",
|
|
4083
|
+
"default": "\"\""
|
|
4084
|
+
},
|
|
4085
|
+
{
|
|
4086
|
+
"name": "label",
|
|
4087
|
+
"attribute": "label",
|
|
4088
|
+
"type": "string",
|
|
4089
|
+
"default": "\"\""
|
|
4090
|
+
},
|
|
4091
|
+
{
|
|
4092
|
+
"name": "hasChildren",
|
|
4093
|
+
"attribute": "has-children",
|
|
4094
|
+
"type": "boolean",
|
|
4095
|
+
"default": "false"
|
|
4096
|
+
}
|
|
4097
|
+
]
|
|
4098
|
+
},
|
|
4099
|
+
{
|
|
4100
|
+
"name": "umb-menu-item",
|
|
4101
|
+
"path": "./src/backoffice/shared/components/menu/menu-item/menu-item.element.ts",
|
|
4102
|
+
"properties": [
|
|
4103
|
+
{
|
|
4104
|
+
"name": "styles",
|
|
4105
|
+
"type": "CSSResult[]",
|
|
4106
|
+
"default": "[\"UUITextStyles\"]"
|
|
4107
|
+
},
|
|
3947
4108
|
{
|
|
3948
4109
|
"name": "manifest"
|
|
3949
4110
|
}
|
|
@@ -4999,6 +5160,23 @@
|
|
|
4999
5160
|
}
|
|
5000
5161
|
]
|
|
5001
5162
|
},
|
|
5163
|
+
{
|
|
5164
|
+
"name": "umb-folder-modal",
|
|
5165
|
+
"path": "./src/backoffice/shared/modals/folder/folder-modal.element.ts",
|
|
5166
|
+
"properties": [
|
|
5167
|
+
{
|
|
5168
|
+
"name": "styles",
|
|
5169
|
+
"type": "CSSResult[]",
|
|
5170
|
+
"default": "[\"UUITextStyles\",null]"
|
|
5171
|
+
},
|
|
5172
|
+
{
|
|
5173
|
+
"name": "modalHandler"
|
|
5174
|
+
},
|
|
5175
|
+
{
|
|
5176
|
+
"name": "data"
|
|
5177
|
+
}
|
|
5178
|
+
]
|
|
5179
|
+
},
|
|
5002
5180
|
{
|
|
5003
5181
|
"name": "umb-icon-picker-modal",
|
|
5004
5182
|
"path": "./src/backoffice/shared/modals/icon-picker/icon-picker-modal.element.ts",
|
|
@@ -6819,8 +6997,12 @@
|
|
|
6819
6997
|
},
|
|
6820
6998
|
{
|
|
6821
6999
|
"name": "config",
|
|
6822
|
-
"type": "
|
|
6823
|
-
|
|
7000
|
+
"type": "array"
|
|
7001
|
+
}
|
|
7002
|
+
],
|
|
7003
|
+
"events": [
|
|
7004
|
+
{
|
|
7005
|
+
"name": "property-value-change"
|
|
6824
7006
|
}
|
|
6825
7007
|
]
|
|
6826
7008
|
},
|
package/entity-action.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UmbControllerHostElement } from './controller';
|
|
2
2
|
import { UmbEntityActionBase as UmbEntityActionBase$1 } from './entity-action';
|
|
3
|
+
import { UmbFolderRepository } from './repository';
|
|
3
4
|
|
|
4
5
|
interface UmbAction<RepositoryType = unknown> {
|
|
5
6
|
host: UmbControllerHostElement;
|
|
@@ -17,6 +18,7 @@ interface UmbEntityAction<RepositoryType> extends UmbAction<RepositoryType> {
|
|
|
17
18
|
}
|
|
18
19
|
declare class UmbEntityActionBase<RepositoryType> extends UmbActionBase<RepositoryType> {
|
|
19
20
|
unique: string;
|
|
21
|
+
repositoryAlias: string;
|
|
20
22
|
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
21
23
|
}
|
|
22
24
|
|
|
@@ -39,13 +41,28 @@ declare class UmbCopyEntityAction<T extends {
|
|
|
39
41
|
|
|
40
42
|
declare class UmbDeleteEntityAction<T extends {
|
|
41
43
|
delete(unique: string): Promise<void>;
|
|
42
|
-
|
|
44
|
+
requestTreeItems(uniques: Array<string>): any;
|
|
43
45
|
}> extends UmbEntityActionBase$1<T> {
|
|
44
46
|
#private;
|
|
45
47
|
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
46
48
|
execute(): Promise<void>;
|
|
47
49
|
}
|
|
48
50
|
|
|
51
|
+
declare class UmbDeleteFolderEntityAction<T extends {
|
|
52
|
+
deleteFolder(unique: string): Promise<void>;
|
|
53
|
+
requestTreeItems(uniques: Array<string>): any;
|
|
54
|
+
}> extends UmbEntityActionBase$1<T> {
|
|
55
|
+
#private;
|
|
56
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
57
|
+
execute(): Promise<void>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare class UmbFolderUpdateEntityAction<T extends UmbFolderRepository = UmbFolderRepository> extends UmbEntityActionBase$1<T> {
|
|
61
|
+
#private;
|
|
62
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
63
|
+
execute(): Promise<void>;
|
|
64
|
+
}
|
|
65
|
+
|
|
49
66
|
declare class UmbMoveEntityAction<T extends {
|
|
50
67
|
move(): Promise<void>;
|
|
51
68
|
}> extends UmbEntityActionBase$1<T> {
|
|
@@ -69,4 +86,4 @@ declare class UmbTrashEntityAction<T extends {
|
|
|
69
86
|
execute(): Promise<void>;
|
|
70
87
|
}
|
|
71
88
|
|
|
72
|
-
export { UmbAction, UmbActionBase, UmbCopyEntityAction, UmbDeleteEntityAction, UmbEntityAction, UmbEntityActionBase, UmbEntityBulkAction, UmbEntityBulkActionBase, UmbMoveEntityAction, UmbSortChildrenOfEntityAction, UmbTrashEntityAction };
|
|
89
|
+
export { UmbAction, UmbActionBase, UmbCopyEntityAction, UmbDeleteEntityAction, UmbDeleteFolderEntityAction, UmbEntityAction, UmbEntityActionBase, UmbEntityBulkAction, UmbEntityBulkActionBase, UmbFolderUpdateEntityAction, UmbMoveEntityAction, UmbSortChildrenOfEntityAction, UmbTrashEntityAction };
|
package/modal.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { UUIModalDialogElement, UUIModalSidebarElement, UUIModalSidebarSize } fr
|
|
|
7
7
|
import { UmbControllerHostElement, UmbControllerInterface } from './controller';
|
|
8
8
|
import { UmbContextToken } from './context-api';
|
|
9
9
|
import { UmbModalToken as UmbModalToken$1, UmbModalConfig as UmbModalConfig$1, UmbPickerModalData as UmbPickerModalData$1 } from './modal';
|
|
10
|
-
import { LanguageResponseModel } from './backend-api';
|
|
10
|
+
import { LanguageResponseModel, FolderReponseModel } from './backend-api';
|
|
11
11
|
import { UserDetails } from './models';
|
|
12
12
|
|
|
13
13
|
declare class UmbSearchModalElement extends LitElement {
|
|
@@ -695,6 +695,15 @@ declare const UMB_USER_GROUP_PICKER_MODAL: UmbModalToken$1<UmbPickerModalData$1<
|
|
|
695
695
|
|
|
696
696
|
declare const UMB_USER_PICKER_MODAL: UmbModalToken$1<UmbPickerModalData$1<UserDetails>, unknown>;
|
|
697
697
|
|
|
698
|
+
interface UmbFolderModalData {
|
|
699
|
+
repositoryAlias: string;
|
|
700
|
+
unique?: string;
|
|
701
|
+
}
|
|
702
|
+
interface UmbFolderModalResult {
|
|
703
|
+
folder: FolderReponseModel;
|
|
704
|
+
}
|
|
705
|
+
declare const UMB_FOLDER_MODAL: UmbModalToken$1<UmbFolderModalData, UmbFolderModalResult>;
|
|
706
|
+
|
|
698
707
|
interface UmbPickerModalData<T> {
|
|
699
708
|
multiple: boolean;
|
|
700
709
|
selection: Array<string>;
|
|
@@ -704,4 +713,4 @@ interface UmbPickerModalResult<T> {
|
|
|
704
713
|
selection: Array<string>;
|
|
705
714
|
}
|
|
706
715
|
|
|
707
|
-
export { OEmbedResult, OEmbedStatus, UMB_ALLOWED_DOCUMENT_TYPES_MODAL, UMB_CHANGE_PASSWORD_MODAL, UMB_CONFIRM_MODAL, UMB_CONTEXT_DEBUGGER_MODAL, UMB_CREATE_DICTIONARY_MODAL, UMB_CREATE_USER_MODAL, UMB_CURRENT_USER_MODAL, UMB_DOCUMENT_PICKER_MODAL, UMB_DOCUMENT_TYPE_PICKER_MODAL, UMB_EMBEDDED_MEDIA_MODAL, UMB_EXAMINE_FIELDS_SETTINGS_MODAL, UMB_EXPORT_DICTIONARY_MODAL, UMB_ICON_PICKER_MODAL, UMB_IMPORT_DICTIONARY_MODAL, UMB_INVITE_USER_MODAL, UMB_LANGUAGE_PICKER_MODAL, UMB_LINK_PICKER_MODAL, UMB_MEDIA_PICKER_MODAL, UMB_MODAL_CONTEXT_TOKEN, UMB_PROPERTY_EDITOR_UI_PICKER_MODAL, UMB_PROPERTY_SETTINGS_MODAL, UMB_SEARCH_MODAL, UMB_SECTION_PICKER_MODAL, UMB_TEMPLATE_MODAL, UMB_TEMPLATE_PICKER_MODAL, UMB_USER_GROUP_PICKER_MODAL, UMB_USER_PICKER_MODAL, UmbAllowedDocumentTypesModalData, UmbAllowedDocumentTypesModalResult, UmbChangePasswordModalData, UmbConfirmModalData, UmbConfirmModalResult, UmbContextDebuggerModalData, UmbCreateDictionaryModalData, UmbCreateDictionaryModalResult, UmbCreateDocumentModalResultData, UmbDocumentPickerModalData, UmbDocumentPickerModalResult, UmbDocumentTypePickerModalData, UmbDocumentTypePickerModalResult, UmbEmbeddedMediaModalData, UmbEmbeddedMediaModalResult, UmbExamineFieldsSettingsModalData, UmbExportDictionaryModalData, UmbExportDictionaryModalResult, UmbIconPickerModalData, UmbIconPickerModalResult, UmbImportDictionaryModalData, UmbImportDictionaryModalResult, UmbLanguagePickerModalData, UmbLanguagePickerModalResult, UmbLinkPickerConfig, UmbLinkPickerLink, UmbLinkPickerModalData, UmbLinkPickerModalResult, UmbMediaPickerModalData, UmbMediaPickerModalResult, UmbModalConfig, UmbModalContext, UmbModalHandler, UmbModalHandlerClass, UmbModalRouteBuilder, UmbModalRouteRegistration, UmbModalRouteRegistrationController, UmbModalToken, UmbModalType, UmbPickerModalData, UmbPickerModalResult, UmbPropertyEditorUIPickerModalData, UmbPropertyEditorUIPickerModalResult, UmbPropertySettingsModalResult, UmbSectionPickerModalData, UmbTemplateModalData, UmbTemplateModalResult, UmbTemplatePickerModalData, UmbTemplatePickerModalResult };
|
|
716
|
+
export { OEmbedResult, OEmbedStatus, UMB_ALLOWED_DOCUMENT_TYPES_MODAL, UMB_CHANGE_PASSWORD_MODAL, UMB_CONFIRM_MODAL, UMB_CONTEXT_DEBUGGER_MODAL, UMB_CREATE_DICTIONARY_MODAL, UMB_CREATE_USER_MODAL, UMB_CURRENT_USER_MODAL, UMB_DOCUMENT_PICKER_MODAL, UMB_DOCUMENT_TYPE_PICKER_MODAL, UMB_EMBEDDED_MEDIA_MODAL, UMB_EXAMINE_FIELDS_SETTINGS_MODAL, UMB_EXPORT_DICTIONARY_MODAL, UMB_FOLDER_MODAL, UMB_ICON_PICKER_MODAL, UMB_IMPORT_DICTIONARY_MODAL, UMB_INVITE_USER_MODAL, UMB_LANGUAGE_PICKER_MODAL, UMB_LINK_PICKER_MODAL, UMB_MEDIA_PICKER_MODAL, UMB_MODAL_CONTEXT_TOKEN, UMB_PROPERTY_EDITOR_UI_PICKER_MODAL, UMB_PROPERTY_SETTINGS_MODAL, UMB_SEARCH_MODAL, UMB_SECTION_PICKER_MODAL, UMB_TEMPLATE_MODAL, UMB_TEMPLATE_PICKER_MODAL, UMB_USER_GROUP_PICKER_MODAL, UMB_USER_PICKER_MODAL, UmbAllowedDocumentTypesModalData, UmbAllowedDocumentTypesModalResult, UmbChangePasswordModalData, UmbConfirmModalData, UmbConfirmModalResult, UmbContextDebuggerModalData, UmbCreateDictionaryModalData, UmbCreateDictionaryModalResult, UmbCreateDocumentModalResultData, UmbDocumentPickerModalData, UmbDocumentPickerModalResult, UmbDocumentTypePickerModalData, UmbDocumentTypePickerModalResult, UmbEmbeddedMediaModalData, UmbEmbeddedMediaModalResult, UmbExamineFieldsSettingsModalData, UmbExportDictionaryModalData, UmbExportDictionaryModalResult, UmbFolderModalData, UmbFolderModalResult, UmbIconPickerModalData, UmbIconPickerModalResult, UmbImportDictionaryModalData, UmbImportDictionaryModalResult, UmbLanguagePickerModalData, UmbLanguagePickerModalResult, UmbLinkPickerConfig, UmbLinkPickerLink, UmbLinkPickerModalData, UmbLinkPickerModalResult, UmbMediaPickerModalData, UmbMediaPickerModalResult, UmbModalConfig, UmbModalContext, UmbModalHandler, UmbModalHandlerClass, UmbModalRouteBuilder, UmbModalRouteRegistration, UmbModalRouteRegistrationController, UmbModalToken, UmbModalType, UmbPickerModalData, UmbPickerModalResult, UmbPropertyEditorUIPickerModalData, UmbPropertyEditorUIPickerModalResult, UmbPropertySettingsModalResult, UmbSectionPickerModalData, UmbTemplateModalData, UmbTemplateModalResult, UmbTemplatePickerModalData, UmbTemplatePickerModalResult };
|
package/package.json
CHANGED
package/repository.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProblemDetailsModel } from './backend-api';
|
|
1
|
+
import { ProblemDetailsModel, FolderReponseModel, CreateFolderRequestModel, UpdateFolderReponseModel, FolderModelBaseModel } from './backend-api';
|
|
2
2
|
import { DataSourceResponse as DataSourceResponse$1 } from './repository';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
|
|
@@ -7,12 +7,20 @@ interface DataSourceResponse<T = undefined> {
|
|
|
7
7
|
error?: ProblemDetailsModel;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
interface UmbDataSource<
|
|
11
|
-
createScaffold(parentKey: string | null): Promise<DataSourceResponse$1<
|
|
12
|
-
get(
|
|
13
|
-
insert(data:
|
|
14
|
-
update(data:
|
|
15
|
-
delete(
|
|
10
|
+
interface UmbDataSource<CreateRequestType, UpdateRequestType, ResponseType> {
|
|
11
|
+
createScaffold(parentKey: string | null): Promise<DataSourceResponse$1<ResponseType>>;
|
|
12
|
+
get(unique: string): Promise<DataSourceResponse$1<ResponseType>>;
|
|
13
|
+
insert(data: CreateRequestType): Promise<any>;
|
|
14
|
+
update(unique: string, data: UpdateRequestType): Promise<DataSourceResponse$1<ResponseType>>;
|
|
15
|
+
delete(unique: string): Promise<DataSourceResponse$1>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface UmbFolderDataSource {
|
|
19
|
+
createScaffold(parentKey: string | null): Promise<DataSourceResponse<FolderReponseModel>>;
|
|
20
|
+
get(unique: string): Promise<DataSourceResponse<FolderReponseModel>>;
|
|
21
|
+
insert(data: CreateFolderRequestModel): Promise<DataSourceResponse<string>>;
|
|
22
|
+
update(unique: string, data: CreateFolderRequestModel): Promise<DataSourceResponse<UpdateFolderReponseModel>>;
|
|
23
|
+
delete(unique: string): Promise<DataSourceResponse>;
|
|
16
24
|
}
|
|
17
25
|
|
|
18
26
|
interface UmbTreeDataSource<PagedItemsType = any, ItemsType = any> {
|
|
@@ -66,4 +74,26 @@ interface UmbTreeRepository<ItemType = any, PagedItemType = UmbPagedData<ItemTyp
|
|
|
66
74
|
treeItems: (uniques: string[]) => Promise<Observable<ItemType[]>>;
|
|
67
75
|
}
|
|
68
76
|
|
|
69
|
-
|
|
77
|
+
interface UmbFolderRepository {
|
|
78
|
+
createFolderScaffold(parentKey: string | null): Promise<{
|
|
79
|
+
data?: FolderReponseModel;
|
|
80
|
+
error?: ProblemDetailsModel;
|
|
81
|
+
}>;
|
|
82
|
+
createFolder(folderRequest: CreateFolderRequestModel): Promise<{
|
|
83
|
+
data?: string;
|
|
84
|
+
error?: ProblemDetailsModel;
|
|
85
|
+
}>;
|
|
86
|
+
requestFolder(unique: string): Promise<{
|
|
87
|
+
data?: FolderReponseModel;
|
|
88
|
+
error?: ProblemDetailsModel;
|
|
89
|
+
}>;
|
|
90
|
+
updateFolder(unique: string, folder: FolderModelBaseModel): Promise<{
|
|
91
|
+
data?: UpdateFolderReponseModel;
|
|
92
|
+
error?: ProblemDetailsModel;
|
|
93
|
+
}>;
|
|
94
|
+
deleteFolder(key: string): Promise<{
|
|
95
|
+
error?: ProblemDetailsModel;
|
|
96
|
+
}>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export { DataSourceResponse, UmbDataSource, UmbDetailRepository, UmbFolderDataSource, UmbFolderRepository, UmbPagedData, UmbTreeDataSource, UmbTreeRepository };
|
|
@@ -454,6 +454,11 @@
|
|
|
454
454
|
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_telemetryFormData` - \n\n * `_telemetryLevels` {`any[]`} - \n\n * `_errorMessage` {`string`} - \n\n * `_buttonState` {`UUIButtonState`} - \n\n * `_handleSubmit` - \n\n * `_selectedTelemetryIndex` {`number`} - \n\n * `_selectedTelemetry` - \n\n * `_selectedTelemetryDescription` {`\"We will only send an anonymized site ID to let us know that the site exists.\" | \"We will send an anonymized site ID, Umbraco version, and packages installed.\" | \"We will send:<ul>\\n\\t\\t\\t\\t<li>Anonymized site ID, Umbraco version, and packages installed.</li>\\n\\t\\t\\t\\t<li>Number of: Root nodes, Content nodes, Macros...`} - ",
|
|
455
455
|
"attributes": []
|
|
456
456
|
},
|
|
457
|
+
{
|
|
458
|
+
"name": "umb-create-data-type-modal",
|
|
459
|
+
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - ",
|
|
460
|
+
"attributes": []
|
|
461
|
+
},
|
|
457
462
|
{
|
|
458
463
|
"name": "umb-data-type-workspace-edit-element",
|
|
459
464
|
"description": "Attributes:\n\n * `manifest` - \n\n * `location` - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `manifest` - \n\n * `location` - \n\n * `_dataTypeName` {`string`} - ",
|
|
@@ -1578,6 +1583,30 @@
|
|
|
1578
1583
|
}
|
|
1579
1584
|
]
|
|
1580
1585
|
},
|
|
1586
|
+
{
|
|
1587
|
+
"name": "umb-input-upload-field",
|
|
1588
|
+
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `keys` {Array<String>} - \n\n * `fileExtensions` {Array<String>} - \n\n * `multiple` {Boolean} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_keys` {`string[]`} - \n\n * `keys` {Array<String>} - \n\n * `fileExtensions` {Array<String>} - \n\n * `multiple` {Boolean} - \n\n * `_currentFiles` {`Blob[]`} - \n\n * `_currentFilesTemp` {`Blob[] | undefined`} - \n\n * `extensions` {`string[] | undefined`} - \n\n * `_dropzone` - \n\n * `_notificationContext` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`FormDataEntryValue | FormData`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
|
|
1589
|
+
"attributes": [
|
|
1590
|
+
{
|
|
1591
|
+
"name": "keys",
|
|
1592
|
+
"description": "`keys` {Array<String>} - \n\nProperty: keys\n\nDefault: []"
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"name": "fileExtensions",
|
|
1596
|
+
"description": "`fileExtensions` {Array<String>} - \n\nProperty: fileExtensions\n\nDefault: undefined",
|
|
1597
|
+
"values": []
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"name": "multiple",
|
|
1601
|
+
"description": "`multiple` {Boolean} - \n\nProperty: multiple\n\nDefault: false",
|
|
1602
|
+
"valueSet": "v"
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"name": "onchange",
|
|
1606
|
+
"description": "`change` {`CustomEvent<unknown>`} - "
|
|
1607
|
+
}
|
|
1608
|
+
]
|
|
1609
|
+
},
|
|
1581
1610
|
{
|
|
1582
1611
|
"name": "umb-input-user-group",
|
|
1583
1612
|
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string[]`} - \n\n * `multiple` {`boolean`} - \n\n * `modalType` - \n\n * `modalSize` {`UUIModalSidebarSize`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_userGroups` {`any[]`} - \n\n * `_userGroupStore` - \n\n * `value` {`string[]`} - \n\n * `multiple` {`boolean`} - \n\n * `modalType` - \n\n * `modalSize` {`UUIModalSidebarSize`} - \n\n * `pickerToken` - \n\n * `_modalContext` - ",
|
|
@@ -1660,9 +1689,33 @@
|
|
|
1660
1689
|
}
|
|
1661
1690
|
]
|
|
1662
1691
|
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "umb-menu-item-base",
|
|
1694
|
+
"description": "Attributes:\n\n * `entity-type` {`string | undefined`} - \n\n * `icon-name` {`string`} - \n\n * `label` {`string`} - \n\n * `has-children` {`boolean`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_entityType` {`string | undefined`} - \n\n * `entityType` {`string | undefined`} - \n\n * `iconName` {`string`} - \n\n * `label` {`string`} - \n\n * `hasChildren` {`boolean`} - \n\n * `_href` {`string | undefined`} - \n\n * `_hasActions` {`boolean`} - ",
|
|
1695
|
+
"attributes": [
|
|
1696
|
+
{
|
|
1697
|
+
"name": "entity-type",
|
|
1698
|
+
"description": "`entity-type` {`string | undefined`} - \n\nProperty: entityType",
|
|
1699
|
+
"values": []
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"name": "icon-name",
|
|
1703
|
+
"description": "`icon-name` {`string`} - \n\nProperty: iconName\n\nDefault: "
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"name": "label",
|
|
1707
|
+
"description": "`label` {`string`} - \n\nProperty: label\n\nDefault: "
|
|
1708
|
+
},
|
|
1709
|
+
{
|
|
1710
|
+
"name": "has-children",
|
|
1711
|
+
"description": "`has-children` {`boolean`} - \n\nProperty: hasChildren\n\nDefault: false",
|
|
1712
|
+
"valueSet": "v"
|
|
1713
|
+
}
|
|
1714
|
+
]
|
|
1715
|
+
},
|
|
1663
1716
|
{
|
|
1664
1717
|
"name": "umb-menu-item",
|
|
1665
|
-
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `manifest` -
|
|
1718
|
+
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `manifest` - ",
|
|
1666
1719
|
"attributes": []
|
|
1667
1720
|
},
|
|
1668
1721
|
{
|
|
@@ -2074,6 +2127,11 @@
|
|
|
2074
2127
|
}
|
|
2075
2128
|
]
|
|
2076
2129
|
},
|
|
2130
|
+
{
|
|
2131
|
+
"name": "umb-folder-modal",
|
|
2132
|
+
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `modalHandler` - \n\n * `_data` - \n\n * `data` - \n\n * `_folder` - \n\n * `_headline` {`string | undefined`} - \n\n * `_isNew` {`boolean`} - \n\n * `_formElement` {`HTMLFormElement | undefined`} - ",
|
|
2133
|
+
"attributes": []
|
|
2134
|
+
},
|
|
2077
2135
|
{
|
|
2078
2136
|
"name": "umb-icon-picker-modal",
|
|
2079
2137
|
"description": "Attributes:\n\n * `iconlist` - \n\n * `iconlistFiltered` {`string[]`} - \n\n * `colorlist` {`string[]`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `iconlist` - \n\n * `iconlistFiltered` {`string[]`} - \n\n * `colorlist` {`string[]`} - \n\n * `_currentColor` {`string | undefined`} - \n\n * `_currentIcon` {`string | undefined`} - ",
|
|
@@ -2763,11 +2821,15 @@
|
|
|
2763
2821
|
},
|
|
2764
2822
|
{
|
|
2765
2823
|
"name": "umb-property-editor-ui-upload-field",
|
|
2766
|
-
"description": "
|
|
2824
|
+
"description": "Events:\n\n * `property-value-change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `value` {`string`} - \n\n * `config` {`any[]`} - \n\n * `_fileExtensions` {`string[] | undefined`} - \n\n * `_multiple` {`boolean | undefined`} - ",
|
|
2767
2825
|
"attributes": [
|
|
2768
2826
|
{
|
|
2769
2827
|
"name": "value",
|
|
2770
2828
|
"description": "`value` {`string`} - \n\nProperty: value\n\nDefault: "
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"name": "onproperty-value-change",
|
|
2832
|
+
"description": "`property-value-change` {`CustomEvent<unknown>`} - "
|
|
2771
2833
|
}
|
|
2772
2834
|
]
|
|
2773
2835
|
},
|