@newsletterstudio/umbraco 15.0.4 → 16.0.0-rc1
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/backend-api/client.gen.d.ts +12 -0
- package/dist/backend-api/index.d.ts +2 -4
- package/dist/backend-api/sdk.gen.d.ts +192 -0
- package/dist/backend-api/types.gen.d.ts +1793 -1065
- package/dist/core/actions/components/ns-action-dropdown.element.d.ts +1 -1
- package/dist/core/avatars/ns-avatar.context.d.ts +1 -1
- package/dist/core/components/drag/ns-drag-container-controller.d.ts +0 -1
- package/dist/core/components/index.d.ts +1 -0
- package/dist/core/components/ns-color-picker/ns-color-picker.element.d.ts +15 -24
- package/dist/core/components/ns-email-campaign-send/ns-email-campaign-send.element.d.ts +0 -3
- package/dist/core/components/ns-email-list/ns-email-list-item.element.d.ts +1 -0
- package/dist/core/components/ns-expander/ns-expander.element.d.ts +2 -1
- package/dist/core/components/ns-numeric-input/ns-numeric-input.element.d.ts +10 -10
- package/dist/core/components/ns-transactional-email-picker/ns-transactional-email-picker.element.d.ts +5 -3
- package/dist/core/components/ns-umb-demo/ns-umb-demo.element.d.ts +0 -7
- package/dist/core/extensibility/actions/ns-actions.models.d.ts +0 -1
- package/dist/core/extensibility/email-editor/NsEmailEditorControlDisplayUiBase.d.ts +1 -0
- package/dist/core/extensibility/email-editor/email-editor.models.d.ts +2 -0
- package/dist/core/forms/index.d.ts +0 -1
- package/dist/core/forms/ns-form-context.d.ts +3 -3
- package/dist/core/realtime/ns-realtime-context.d.ts +1 -2
- package/dist/core/string.helper.d.ts +1 -0
- package/dist/modules/administration/ns-administration-workspace.context.d.ts +1 -1
- package/dist/modules/campaign/content-section/index.d.ts +1 -0
- package/dist/modules/campaign/content-section/modal/ns-campaign-content-section-modal.element.d.ts +2 -5
- package/dist/modules/campaign/content-section/modal/ns-document-campaign-modal-context.d.ts +1 -3
- package/dist/modules/campaign/content-section/modal/steps/ns-document-campaign-edit-information.element.d.ts +5 -5
- package/dist/modules/campaign/content-section/ns-document-campaign-workspace-modal.token.d.ts +5 -3
- package/dist/modules/campaign/content-section/ns-document-campaign-workspace.context.d.ts +3 -3
- package/dist/modules/campaign/email-section/modal/ns-editor-campaign-modal-context.d.ts +1 -2
- package/dist/modules/campaign/email-section/modal/steps/ns-editor-campaign-edit-information.element.d.ts +0 -4
- package/dist/modules/campaign/email-section/ns-campaign-workspace.context.d.ts +3 -3
- package/dist/modules/campaign/entity.d.ts +2 -0
- package/dist/modules/campaign/report/campaign-report-workspace.context.d.ts +3 -3
- package/dist/modules/campaign/report/overview/ns-campaign-report-overview.element.d.ts +1 -1
- package/dist/modules/email-editor/controls/text/manifest.d.ts +1 -2
- package/dist/modules/email-editor/controls/text/ns-email-editor-control-text-edit.element.d.ts +10 -5
- package/dist/modules/email-editor/controls/text/tip-tap/ns-tiptap-toolbar-color-picker.element.d.ts +22 -0
- package/dist/modules/email-editor/controls/text/tip-tap/ns-tiptap-toolbar-merge-fields.element.d.ts +24 -0
- package/dist/modules/email-editor/manifest.d.ts +1 -1
- package/dist/modules/email-editor/ns-email-editor-context-token.d.ts +1 -1
- package/dist/modules/email-editor/ns-email-editor-context.d.ts +1 -2
- package/dist/modules/email-editor/ns-email-modal-context-base.d.ts +3 -3
- package/dist/modules/global/newsletter-studio.context.d.ts +3 -2
- package/dist/modules/mailing-list/ns-mailing-list-workspace.context.d.ts +1 -1
- package/dist/modules/property-editors/index.d.ts +2 -0
- package/dist/modules/property-editors/mailing-list-picker/ns-mailing-list-picker-property-editor.element.d.ts +5 -5
- package/dist/modules/property-editors/transactional-email-picker/ns-transactional-email-picker-editor.element.d.ts +3 -3
- package/dist/modules/recipient/ns-recipient-workspace.context.d.ts +1 -1
- package/dist/modules/settings/ns-settings-workspace.context.d.ts +1 -1
- package/dist/modules/transactional/ns-transactional-workspace.context.d.ts +1 -1
- package/dist/modules/transactional/template/edit/ns-transactional-template-edit.context.d.ts +1 -1
- package/dist/modules/transactional/template/edit/settings/modal/ns-transactional-template-email-designer.context.d.ts +1 -2
- package/dist/modules/transactional/template/edit/settings/modal/steps/ns-transactional-template-edit-information.element.d.ts +0 -4
- package/dist/section-tree.element.d.ts +2 -2
- package/package.json +4 -4
- package/dist/backend-api/core/ApiError.d.ts +0 -10
- package/dist/backend-api/core/ApiRequestOptions.d.ts +0 -14
- package/dist/backend-api/core/ApiResult.d.ts +0 -7
- package/dist/backend-api/core/CancelablePromise.d.ts +0 -26
- package/dist/backend-api/core/OpenAPI.d.ts +0 -27
- package/dist/backend-api/core/request.d.ts +0 -29
- package/dist/backend-api/enums.gen.d.ts +0 -7
- package/dist/backend-api/schemas.gen.d.ts +0 -3730
- package/dist/backend-api/services.gen.d.ts +0 -577
- package/dist/core/forms/umb-fixes/bind-form-to-validation.lit-directive.d.ts +0 -34
- package/dist/core/forms/umb-fixes/bind-server-validation-to-form-control.controller.d.ts +0 -19
- package/dist/core/forms/umb-fixes/bind-to-validation.lit-directive.d.ts +0 -34
- package/dist/modules/email-editor/controls/text/tiny-mce-plugin.d.ts +0 -6
|
@@ -1,577 +0,0 @@
|
|
|
1
|
-
import type { CancelablePromise } from './core/CancelablePromise';
|
|
2
|
-
import type { AvatarGetAvatarData, AvatarGetAvatarResponse, CampaignReportGetOverviewData, CampaignReportGetOverviewResponse, CampaignReportGetRecipientTimelineData, CampaignReportGetRecipientTimelineResponse, CampaignReportGetRecipientsData, CampaignReportGetRecipientsResponse, DocumentCampaignGetByKeyData, DocumentCampaignGetByKeyResponse, DocumentCampaignCreateCampaignWithCultureData, DocumentCampaignCreateCampaignWithCultureResponse, DocumentCampaignCreateCampaignInvariantData, DocumentCampaignCreateCampaignInvariantResponse, DocumentCampaignGetOverviewForData, DocumentCampaignGetOverviewForResponse, DocumentCampaignGetPagedSentCampaignsData, DocumentCampaignGetPagedSentCampaignsResponse, DocumentCampaignSaveData, DocumentCampaignSaveResponse, DocumentCampaignSaveAndSendOrScheduleData, DocumentCampaignSaveAndSendOrScheduleResponse, DocumentCampaignSendTestEmailData, DocumentCampaignSendTestEmailResponse, EditorCampaignGetByKeyData, EditorCampaignGetByKeyResponse, EditorCampaignDeleteData, EditorCampaignDeleteResponse, EditorCampaignDuplicateData, EditorCampaignDuplicateResponse, EditorCampaignGetOverviewData, EditorCampaignGetOverviewResponse, EditorCampaignGetPagedCampaignListItemsData, EditorCampaignGetPagedCampaignListItemsResponse, EditorCampaignPocExceptionResponse, EditorCampaignPocValidationData, EditorCampaignPocValidationResponse, EditorCampaignGetRecipientListsData, EditorCampaignGetRecipientListsResponse, EditorCampaignRenderPreviewData, EditorCampaignRenderPreviewResponse, EditorCampaignSaveData, EditorCampaignSaveResponse, EditorCampaignSaveAndSendOrScheduleData, EditorCampaignSaveAndSendOrScheduleResponse, EditorCampaignSendTestEmailData, EditorCampaignSendTestEmailResponse, EmailEditorGetImageControlDataData, EmailEditorGetImageControlDataResponse, EmailEditorGetMacrosData, EmailEditorGetMacrosResponse, ImportRecipientsImportFixedIssueData, ImportRecipientsImportFixedIssueResponse, ImportRecipientsPerformFileImportData, ImportRecipientsPerformFileImportResponse, ImportRecipientsUploadFileAndParseForMappingData, ImportRecipientsUploadFileAndParseForMappingResponse, ImportRecipientsUploadPastedAndParseForMappingData, ImportRecipientsUploadPastedAndParseForMappingResponse, MailingListPickerGetModelData, MailingListPickerGetModelResponse, MailingListGetDetailsData, MailingListGetDetailsResponse, MailingListGetOverviewData, MailingListGetOverviewResponse, MailingListGetPagedSubscribersData, MailingListGetPagedSubscribersResponse, MailingListRemoveData, MailingListRemoveResponse, MailingListSaveData, MailingListSaveResponse, PackageGetMenuTreeResponse, PackageGetPackageSettingsResponse, RecipientGetDetailsData, RecipientGetDetailsResponse, RecipientGetOverviewData, RecipientGetOverviewResponse, RecipientGetPagedRecipientsData, RecipientGetPagedRecipientsResponse, RecipientRemoveData, RecipientRemoveResponse, RecipientResetErrorsForRecipientData, RecipientResetErrorsForRecipientResponse, RecipientSaveData, RecipientSaveResponse, RecipientsExportGetDetailsData, RecipientsExportGetDetailsResponse, TransactionalPickerGetModelData, TransactionalPickerGetModelResponse, TransactionalCreateData, TransactionalCreateResponse, TransactionalDeleteData, TransactionalDeleteResponse, TransactionalGetDetailsData, TransactionalGetDetailsResponse, TransactionalDuplicateData, TransactionalDuplicateResponse, TransactionalGetFieldsByAliasData, TransactionalGetFieldsByAliasResponse, TransactionalGetPagedTransactionalListItemsData, TransactionalGetPagedTransactionalListItemsResponse, TransactionalGetPagedTransactionalLogItemsData, TransactionalGetPagedTransactionalLogItemsResponse, TransactionalRenderTrackingTransactionalEmailData, TransactionalRenderTrackingTransactionalEmailResponse, TransactionalRenderTransactionalData, TransactionalRenderTransactionalResponse, TransactionalResendData, TransactionalResendResponse, TransactionalSaveData, TransactionalSaveResponse, TransactionalSendTestEmailData, TransactionalSendTestEmailResponse, TransactionalGetTrackingTransactionalData, TransactionalGetTrackingTransactionalResponse, TransactionalGetTransactionalActivitiesData, TransactionalGetTransactionalActivitiesResponse, TransactionalGetTransactionalEmailsOverviewData, TransactionalGetTransactionalEmailsOverviewResponse, WorkspaceCreateNewData, WorkspaceCreateNewResponse, WorkspaceGetDashboardOverviewData, WorkspaceGetDashboardOverviewResponse, WorkspaceGetDashboardSectionResponse, WorkspaceLicenseConnectData, WorkspaceLicenseConnectResponse, WorkspaceLicenseLoginData, WorkspaceLicenseLoginResponse, WorkspaceGetManageData, WorkspaceGetManageResponse, WorkspaceGetOverviewResponse, WorkspaceRemoveData, WorkspaceRemoveResponse, WorkspaceSaveManageData, WorkspaceSaveManageResponse, WorkspaceSaveSettingsData, WorkspaceSaveSettingsResponse, WorkspaceGetSettingsData, WorkspaceGetSettingsResponse, WorkspaceTestPop3ServerData, WorkspaceTestPop3ServerResponse } from './types.gen';
|
|
3
|
-
export declare class AvatarResource {
|
|
4
|
-
/**
|
|
5
|
-
* @param data The data for the request.
|
|
6
|
-
* @param data.email Provide a email
|
|
7
|
-
* @returns string OK
|
|
8
|
-
* @throws ApiError
|
|
9
|
-
*/
|
|
10
|
-
static getAvatar(data?: AvatarGetAvatarData): CancelablePromise<AvatarGetAvatarResponse>;
|
|
11
|
-
}
|
|
12
|
-
export declare class CampaignReportResource {
|
|
13
|
-
/**
|
|
14
|
-
* @param data The data for the request.
|
|
15
|
-
* @param data.campaignKey
|
|
16
|
-
* @param data.workspaceKey
|
|
17
|
-
* @returns unknown OK
|
|
18
|
-
* @throws ApiError
|
|
19
|
-
*/
|
|
20
|
-
static getOverview(data: CampaignReportGetOverviewData): CancelablePromise<CampaignReportGetOverviewResponse>;
|
|
21
|
-
/**
|
|
22
|
-
* @param data The data for the request.
|
|
23
|
-
* @param data.campaignKey
|
|
24
|
-
* @param data.pri Provider Recipient Id
|
|
25
|
-
* @returns unknown OK
|
|
26
|
-
* @throws ApiError
|
|
27
|
-
*/
|
|
28
|
-
static getRecipientTimeline(data: CampaignReportGetRecipientTimelineData): CancelablePromise<CampaignReportGetRecipientTimelineResponse>;
|
|
29
|
-
/**
|
|
30
|
-
* @param data The data for the request.
|
|
31
|
-
* @param data.requestBody
|
|
32
|
-
* @returns unknown OK
|
|
33
|
-
* @throws ApiError
|
|
34
|
-
*/
|
|
35
|
-
static getRecipients(data?: CampaignReportGetRecipientsData): CancelablePromise<CampaignReportGetRecipientsResponse>;
|
|
36
|
-
}
|
|
37
|
-
export declare class DocumentCampaignResource {
|
|
38
|
-
/**
|
|
39
|
-
* @param data The data for the request.
|
|
40
|
-
* @param data.campaignKey The key for the content item
|
|
41
|
-
* @returns unknown OK
|
|
42
|
-
* @throws ApiError
|
|
43
|
-
*/
|
|
44
|
-
static getByKey(data: DocumentCampaignGetByKeyData): CancelablePromise<DocumentCampaignGetByKeyResponse>;
|
|
45
|
-
/**
|
|
46
|
-
* Creates a culture-specific document campaign model, used for content that vary by culture
|
|
47
|
-
* @param data The data for the request.
|
|
48
|
-
* @param data.umbracoContentKey The key for the content item
|
|
49
|
-
* @param data.culture The culture to use, like en-us, sv-se
|
|
50
|
-
* @returns unknown OK
|
|
51
|
-
* @throws ApiError
|
|
52
|
-
*/
|
|
53
|
-
static createCampaignWithCulture(data: DocumentCampaignCreateCampaignWithCultureData): CancelablePromise<DocumentCampaignCreateCampaignWithCultureResponse>;
|
|
54
|
-
/**
|
|
55
|
-
* Creates a invariant document campaign model, used for content that does not vary by culture
|
|
56
|
-
* @param data The data for the request.
|
|
57
|
-
* @param data.umbracoContentKey The key for the content item
|
|
58
|
-
* @returns unknown OK
|
|
59
|
-
* @throws ApiError
|
|
60
|
-
*/
|
|
61
|
-
static createCampaignInvariant(data: DocumentCampaignCreateCampaignInvariantData): CancelablePromise<DocumentCampaignCreateCampaignInvariantResponse>;
|
|
62
|
-
/**
|
|
63
|
-
* Returns all emails connected to a given content node based on the content node key
|
|
64
|
-
* @param data The data for the request.
|
|
65
|
-
* @param data.umbracoContentKey
|
|
66
|
-
* @returns unknown OK
|
|
67
|
-
* @throws ApiError
|
|
68
|
-
*/
|
|
69
|
-
static getOverviewFor(data: DocumentCampaignGetOverviewForData): CancelablePromise<DocumentCampaignGetOverviewForResponse>;
|
|
70
|
-
/**
|
|
71
|
-
* Provides a paged response to list sent campaigns
|
|
72
|
-
* @param data The data for the request.
|
|
73
|
-
* @param data.requestBody Page, content key and more
|
|
74
|
-
* @returns unknown OK
|
|
75
|
-
* @throws ApiError
|
|
76
|
-
*/
|
|
77
|
-
static getPagedSentCampaigns(data?: DocumentCampaignGetPagedSentCampaignsData): CancelablePromise<DocumentCampaignGetPagedSentCampaignsResponse>;
|
|
78
|
-
/**
|
|
79
|
-
* @param data The data for the request.
|
|
80
|
-
* @param data.requestBody
|
|
81
|
-
* @returns unknown OK
|
|
82
|
-
* @throws ApiError
|
|
83
|
-
*/
|
|
84
|
-
static save(data?: DocumentCampaignSaveData): CancelablePromise<DocumentCampaignSaveResponse>;
|
|
85
|
-
/**
|
|
86
|
-
* @param data The data for the request.
|
|
87
|
-
* @param data.requestBody
|
|
88
|
-
* @returns unknown OK
|
|
89
|
-
* @throws ApiError
|
|
90
|
-
*/
|
|
91
|
-
static saveAndSendOrSchedule(data?: DocumentCampaignSaveAndSendOrScheduleData): CancelablePromise<DocumentCampaignSaveAndSendOrScheduleResponse>;
|
|
92
|
-
/**
|
|
93
|
-
* @param data The data for the request.
|
|
94
|
-
* @param data.requestBody
|
|
95
|
-
* @returns boolean OK
|
|
96
|
-
* @throws ApiError
|
|
97
|
-
*/
|
|
98
|
-
static sendTestEmail(data?: DocumentCampaignSendTestEmailData): CancelablePromise<DocumentCampaignSendTestEmailResponse>;
|
|
99
|
-
}
|
|
100
|
-
export declare class EditorCampaignResource {
|
|
101
|
-
/**
|
|
102
|
-
* @param data The data for the request.
|
|
103
|
-
* @param data.workspaceKey Workspace key
|
|
104
|
-
* @param data.e (Entity) Campaign Guid or -1 for new campaign
|
|
105
|
-
* @returns unknown OK
|
|
106
|
-
* @throws ApiError
|
|
107
|
-
*/
|
|
108
|
-
static getByKey(data: EditorCampaignGetByKeyData): CancelablePromise<EditorCampaignGetByKeyResponse>;
|
|
109
|
-
/**
|
|
110
|
-
* Deletes a campaign from the system
|
|
111
|
-
* @param data The data for the request.
|
|
112
|
-
* @param data.workspaceKey Workspace key
|
|
113
|
-
* @param data.e Campaign id to remove
|
|
114
|
-
* @returns boolean OK
|
|
115
|
-
* @throws ApiError
|
|
116
|
-
*/
|
|
117
|
-
static delete(data: EditorCampaignDeleteData): CancelablePromise<EditorCampaignDeleteResponse>;
|
|
118
|
-
/**
|
|
119
|
-
* Duplicates a campaign
|
|
120
|
-
* @param data The data for the request.
|
|
121
|
-
* @param data.workspaceKey Workspace key
|
|
122
|
-
* @param data.e Campaign id to duplicate
|
|
123
|
-
* @returns boolean OK
|
|
124
|
-
* @throws ApiError
|
|
125
|
-
*/
|
|
126
|
-
static duplicate(data: EditorCampaignDuplicateData): CancelablePromise<EditorCampaignDuplicateResponse>;
|
|
127
|
-
/**
|
|
128
|
-
* @param data The data for the request.
|
|
129
|
-
* @param data.workspaceKey Represents a workspace ID
|
|
130
|
-
* @returns unknown OK
|
|
131
|
-
* @throws ApiError
|
|
132
|
-
*/
|
|
133
|
-
static getOverview(data: EditorCampaignGetOverviewData): CancelablePromise<EditorCampaignGetOverviewResponse>;
|
|
134
|
-
/**
|
|
135
|
-
* @param data The data for the request.
|
|
136
|
-
* @param data.requestBody
|
|
137
|
-
* @returns unknown OK
|
|
138
|
-
* @throws ApiError
|
|
139
|
-
*/
|
|
140
|
-
static getPagedCampaignListItems(data?: EditorCampaignGetPagedCampaignListItemsData): CancelablePromise<EditorCampaignGetPagedCampaignListItemsResponse>;
|
|
141
|
-
/**
|
|
142
|
-
* @returns unknown OK
|
|
143
|
-
* @throws ApiError
|
|
144
|
-
*/
|
|
145
|
-
static pocException(): CancelablePromise<EditorCampaignPocExceptionResponse>;
|
|
146
|
-
/**
|
|
147
|
-
* @param data The data for the request.
|
|
148
|
-
* @param data.requestBody
|
|
149
|
-
* @returns boolean OK
|
|
150
|
-
* @throws ApiError
|
|
151
|
-
*/
|
|
152
|
-
static pocValidation(data?: EditorCampaignPocValidationData): CancelablePromise<EditorCampaignPocValidationResponse>;
|
|
153
|
-
/**
|
|
154
|
-
* Returns a list of RecipientProviders with it's lists
|
|
155
|
-
* @param data The data for the request.
|
|
156
|
-
* @param data.workspaceKey The current workspace id
|
|
157
|
-
* @returns unknown OK
|
|
158
|
-
* @throws ApiError
|
|
159
|
-
*/
|
|
160
|
-
static getRecipientLists(data: EditorCampaignGetRecipientListsData): CancelablePromise<EditorCampaignGetRecipientListsResponse>;
|
|
161
|
-
/**
|
|
162
|
-
* @param data The data for the request.
|
|
163
|
-
* @param data.campaignKey
|
|
164
|
-
* @returns string OK
|
|
165
|
-
* @throws ApiError
|
|
166
|
-
*/
|
|
167
|
-
static renderPreview(data: EditorCampaignRenderPreviewData): CancelablePromise<EditorCampaignRenderPreviewResponse>;
|
|
168
|
-
/**
|
|
169
|
-
* @param data The data for the request.
|
|
170
|
-
* @param data.requestBody
|
|
171
|
-
* @returns unknown OK
|
|
172
|
-
* @throws ApiError
|
|
173
|
-
*/
|
|
174
|
-
static save(data?: EditorCampaignSaveData): CancelablePromise<EditorCampaignSaveResponse>;
|
|
175
|
-
/**
|
|
176
|
-
* @param data The data for the request.
|
|
177
|
-
* @param data.requestBody
|
|
178
|
-
* @returns unknown OK
|
|
179
|
-
* @throws ApiError
|
|
180
|
-
*/
|
|
181
|
-
static saveAndSendOrSchedule(data?: EditorCampaignSaveAndSendOrScheduleData): CancelablePromise<EditorCampaignSaveAndSendOrScheduleResponse>;
|
|
182
|
-
/**
|
|
183
|
-
* Sends a test email from a Campaign that is edited.
|
|
184
|
-
* @param data The data for the request.
|
|
185
|
-
* @param data.requestBody
|
|
186
|
-
* @returns boolean OK
|
|
187
|
-
* @throws ApiError
|
|
188
|
-
*/
|
|
189
|
-
static sendTestEmail(data?: EditorCampaignSendTestEmailData): CancelablePromise<EditorCampaignSendTestEmailResponse>;
|
|
190
|
-
}
|
|
191
|
-
export declare class EmailEditorResource {
|
|
192
|
-
/**
|
|
193
|
-
* @param data The data for the request.
|
|
194
|
-
* @param data.requestBody
|
|
195
|
-
* @returns unknown OK
|
|
196
|
-
* @throws ApiError
|
|
197
|
-
*/
|
|
198
|
-
static getImageControlData(data?: EmailEditorGetImageControlDataData): CancelablePromise<EmailEditorGetImageControlDataResponse>;
|
|
199
|
-
/**
|
|
200
|
-
* @param data The data for the request.
|
|
201
|
-
* @param data.requestBody
|
|
202
|
-
* @returns unknown OK
|
|
203
|
-
* @throws ApiError
|
|
204
|
-
*/
|
|
205
|
-
static getMacros(data?: EmailEditorGetMacrosData): CancelablePromise<EmailEditorGetMacrosResponse>;
|
|
206
|
-
}
|
|
207
|
-
export declare class ImportRecipientsResource {
|
|
208
|
-
/**
|
|
209
|
-
* @param data The data for the request.
|
|
210
|
-
* @param data.requestBody
|
|
211
|
-
* @returns number OK
|
|
212
|
-
* @throws ApiError
|
|
213
|
-
*/
|
|
214
|
-
static importFixedIssue(data?: ImportRecipientsImportFixedIssueData): CancelablePromise<ImportRecipientsImportFixedIssueResponse>;
|
|
215
|
-
/**
|
|
216
|
-
* @param data The data for the request.
|
|
217
|
-
* @param data.requestBody
|
|
218
|
-
* @returns unknown OK
|
|
219
|
-
* @throws ApiError
|
|
220
|
-
*/
|
|
221
|
-
static performFileImport(data?: ImportRecipientsPerformFileImportData): CancelablePromise<ImportRecipientsPerformFileImportResponse>;
|
|
222
|
-
/**
|
|
223
|
-
* @param data The data for the request.
|
|
224
|
-
* @param data.formData
|
|
225
|
-
* @returns unknown OK
|
|
226
|
-
* @throws ApiError
|
|
227
|
-
*/
|
|
228
|
-
static uploadFileAndParseForMapping(data?: ImportRecipientsUploadFileAndParseForMappingData): CancelablePromise<ImportRecipientsUploadFileAndParseForMappingResponse>;
|
|
229
|
-
/**
|
|
230
|
-
* @param data The data for the request.
|
|
231
|
-
* @param data.requestBody
|
|
232
|
-
* @returns unknown OK
|
|
233
|
-
* @throws ApiError
|
|
234
|
-
*/
|
|
235
|
-
static uploadPastedAndParseForMapping(data?: ImportRecipientsUploadPastedAndParseForMappingData): CancelablePromise<ImportRecipientsUploadPastedAndParseForMappingResponse>;
|
|
236
|
-
}
|
|
237
|
-
export declare class MailingListPickerResource {
|
|
238
|
-
/**
|
|
239
|
-
* @param data The data for the request.
|
|
240
|
-
* @param data.requestBody The current selection or null (if empty)
|
|
241
|
-
* @returns unknown OK
|
|
242
|
-
* @throws ApiError
|
|
243
|
-
*/
|
|
244
|
-
static getModel(data?: MailingListPickerGetModelData): CancelablePromise<MailingListPickerGetModelResponse>;
|
|
245
|
-
}
|
|
246
|
-
export declare class MailingListResource {
|
|
247
|
-
/**
|
|
248
|
-
* @param data The data for the request.
|
|
249
|
-
* @param data.workspaceKey Workspace key
|
|
250
|
-
* @param data.e MailingList-key (e = Entity)
|
|
251
|
-
* @param data.st Search Text
|
|
252
|
-
* @param data.s status
|
|
253
|
-
* @param data.p Page
|
|
254
|
-
* @returns unknown OK
|
|
255
|
-
* @throws ApiError
|
|
256
|
-
*/
|
|
257
|
-
static getDetails(data: MailingListGetDetailsData): CancelablePromise<MailingListGetDetailsResponse>;
|
|
258
|
-
/**
|
|
259
|
-
* @param data The data for the request.
|
|
260
|
-
* @param data.workspaceKey Workspace key
|
|
261
|
-
* @returns unknown OK
|
|
262
|
-
* @throws ApiError
|
|
263
|
-
*/
|
|
264
|
-
static getOverview(data: MailingListGetOverviewData): CancelablePromise<MailingListGetOverviewResponse>;
|
|
265
|
-
/**
|
|
266
|
-
* @param data The data for the request.
|
|
267
|
-
* @param data.workspaceKey
|
|
268
|
-
* @param data.e
|
|
269
|
-
* @param data.searchText
|
|
270
|
-
* @param data.status
|
|
271
|
-
* @param data.page
|
|
272
|
-
* @returns unknown OK
|
|
273
|
-
* @throws ApiError
|
|
274
|
-
*/
|
|
275
|
-
static getPagedSubscribers(data: MailingListGetPagedSubscribersData): CancelablePromise<MailingListGetPagedSubscribersResponse>;
|
|
276
|
-
/**
|
|
277
|
-
* @param data The data for the request.
|
|
278
|
-
* @param data.key
|
|
279
|
-
* @returns boolean OK
|
|
280
|
-
* @throws ApiError
|
|
281
|
-
*/
|
|
282
|
-
static remove(data: MailingListRemoveData): CancelablePromise<MailingListRemoveResponse>;
|
|
283
|
-
/**
|
|
284
|
-
* @param data The data for the request.
|
|
285
|
-
* @param data.requestBody
|
|
286
|
-
* @returns string OK
|
|
287
|
-
* @throws ApiError
|
|
288
|
-
*/
|
|
289
|
-
static save(data?: MailingListSaveData): CancelablePromise<MailingListSaveResponse>;
|
|
290
|
-
}
|
|
291
|
-
export declare class PackageResource {
|
|
292
|
-
/**
|
|
293
|
-
* @returns unknown OK
|
|
294
|
-
* @throws ApiError
|
|
295
|
-
*/
|
|
296
|
-
static getMenuTree(): CancelablePromise<PackageGetMenuTreeResponse>;
|
|
297
|
-
/**
|
|
298
|
-
* @returns unknown OK
|
|
299
|
-
* @throws ApiError
|
|
300
|
-
*/
|
|
301
|
-
static getPackageSettings(): CancelablePromise<PackageGetPackageSettingsResponse>;
|
|
302
|
-
}
|
|
303
|
-
export declare class RecipientResource {
|
|
304
|
-
/**
|
|
305
|
-
* @param data The data for the request.
|
|
306
|
-
* @param data.workspaceKey
|
|
307
|
-
* @param data.recipientKey
|
|
308
|
-
* @returns unknown OK
|
|
309
|
-
* @throws ApiError
|
|
310
|
-
*/
|
|
311
|
-
static getDetails(data: RecipientGetDetailsData): CancelablePromise<RecipientGetDetailsResponse>;
|
|
312
|
-
/**
|
|
313
|
-
* @param data The data for the request.
|
|
314
|
-
* @param data.workspaceKey
|
|
315
|
-
* @returns unknown OK
|
|
316
|
-
* @throws ApiError
|
|
317
|
-
*/
|
|
318
|
-
static getOverview(data: RecipientGetOverviewData): CancelablePromise<RecipientGetOverviewResponse>;
|
|
319
|
-
/**
|
|
320
|
-
* Returns a paged list of recipients.
|
|
321
|
-
* @param data The data for the request.
|
|
322
|
-
* @param data.workspaceKey Workspace key
|
|
323
|
-
* @param data.searchText Search text
|
|
324
|
-
* @param data.filter Filter
|
|
325
|
-
* @param data.page Page
|
|
326
|
-
* @returns unknown OK
|
|
327
|
-
* @throws ApiError
|
|
328
|
-
*/
|
|
329
|
-
static getPagedRecipients(data: RecipientGetPagedRecipientsData): CancelablePromise<RecipientGetPagedRecipientsResponse>;
|
|
330
|
-
/**
|
|
331
|
-
* @param data The data for the request.
|
|
332
|
-
* @param data.recipientKey
|
|
333
|
-
* @returns boolean OK
|
|
334
|
-
* @throws ApiError
|
|
335
|
-
*/
|
|
336
|
-
static remove(data: RecipientRemoveData): CancelablePromise<RecipientRemoveResponse>;
|
|
337
|
-
/**
|
|
338
|
-
* @param data The data for the request.
|
|
339
|
-
* @param data.recipientKey
|
|
340
|
-
* @returns unknown OK
|
|
341
|
-
* @throws ApiError
|
|
342
|
-
*/
|
|
343
|
-
static resetErrorsForRecipient(data: RecipientResetErrorsForRecipientData): CancelablePromise<RecipientResetErrorsForRecipientResponse>;
|
|
344
|
-
/**
|
|
345
|
-
* @param data The data for the request.
|
|
346
|
-
* @param data.requestBody
|
|
347
|
-
* @returns unknown OK
|
|
348
|
-
* @throws ApiError
|
|
349
|
-
*/
|
|
350
|
-
static save(data?: RecipientSaveData): CancelablePromise<RecipientSaveResponse>;
|
|
351
|
-
}
|
|
352
|
-
export declare class RecipientsExportResource {
|
|
353
|
-
/**
|
|
354
|
-
* Respond with a CSV file for downloading. Filename information is sent in the response-headers.
|
|
355
|
-
* @param data The data for the request.
|
|
356
|
-
* @param data.workspaceKey Workspace key
|
|
357
|
-
* @param data.e MailingList Key (e = Entity)
|
|
358
|
-
* @returns unknown OK
|
|
359
|
-
* @throws ApiError
|
|
360
|
-
*/
|
|
361
|
-
static getDetails(data: RecipientsExportGetDetailsData): CancelablePromise<RecipientsExportGetDetailsResponse>;
|
|
362
|
-
}
|
|
363
|
-
export declare class TransactionalPickerResource {
|
|
364
|
-
/**
|
|
365
|
-
* @param data The data for the request.
|
|
366
|
-
* @param data.requestBody The current selection or null (if empty)
|
|
367
|
-
* @returns unknown OK
|
|
368
|
-
* @throws ApiError
|
|
369
|
-
*/
|
|
370
|
-
static getModel(data?: TransactionalPickerGetModelData): CancelablePromise<TransactionalPickerGetModelResponse>;
|
|
371
|
-
}
|
|
372
|
-
export declare class TransactionalResource {
|
|
373
|
-
/**
|
|
374
|
-
* @param data The data for the request.
|
|
375
|
-
* @param data.requestBody
|
|
376
|
-
* @returns string OK
|
|
377
|
-
* @throws ApiError
|
|
378
|
-
*/
|
|
379
|
-
static create(data?: TransactionalCreateData): CancelablePromise<TransactionalCreateResponse>;
|
|
380
|
-
/**
|
|
381
|
-
* Deletes a transactional email
|
|
382
|
-
* @param data The data for the request.
|
|
383
|
-
* @param data.workspaceKey Workspace key
|
|
384
|
-
* @param data.transactionalEmailKey Transactional email id to remove
|
|
385
|
-
* @returns boolean OK
|
|
386
|
-
* @throws ApiError
|
|
387
|
-
*/
|
|
388
|
-
static delete(data: TransactionalDeleteData): CancelablePromise<TransactionalDeleteResponse>;
|
|
389
|
-
/**
|
|
390
|
-
* @param data The data for the request.
|
|
391
|
-
* @param data.workspaceKey The workspace key
|
|
392
|
-
* @param data.e The Transactional email key
|
|
393
|
-
* @returns unknown OK
|
|
394
|
-
* @throws ApiError
|
|
395
|
-
*/
|
|
396
|
-
static getDetails(data: TransactionalGetDetailsData): CancelablePromise<TransactionalGetDetailsResponse>;
|
|
397
|
-
/**
|
|
398
|
-
* Duplicates a transactional email
|
|
399
|
-
* @param data The data for the request.
|
|
400
|
-
* @param data.workspaceKey
|
|
401
|
-
* @param data.e Transactional email id (int)
|
|
402
|
-
* @returns boolean OK
|
|
403
|
-
* @throws ApiError
|
|
404
|
-
*/
|
|
405
|
-
static duplicate(data: TransactionalDuplicateData): CancelablePromise<TransactionalDuplicateResponse>;
|
|
406
|
-
/**
|
|
407
|
-
* @param data The data for the request.
|
|
408
|
-
* @param data.providerItemAlias
|
|
409
|
-
* @returns unknown OK
|
|
410
|
-
* @throws ApiError
|
|
411
|
-
*/
|
|
412
|
-
static getFieldsByAlias(data: TransactionalGetFieldsByAliasData): CancelablePromise<TransactionalGetFieldsByAliasResponse>;
|
|
413
|
-
/**
|
|
414
|
-
* @param data The data for the request.
|
|
415
|
-
* @param data.requestBody
|
|
416
|
-
* @returns unknown OK
|
|
417
|
-
* @throws ApiError
|
|
418
|
-
*/
|
|
419
|
-
static getPagedTransactionalListItems(data?: TransactionalGetPagedTransactionalListItemsData): CancelablePromise<TransactionalGetPagedTransactionalListItemsResponse>;
|
|
420
|
-
/**
|
|
421
|
-
* @param data The data for the request.
|
|
422
|
-
* @param data.requestBody
|
|
423
|
-
* @returns unknown OK
|
|
424
|
-
* @throws ApiError
|
|
425
|
-
*/
|
|
426
|
-
static getPagedTransactionalLogItems(data?: TransactionalGetPagedTransactionalLogItemsData): CancelablePromise<TransactionalGetPagedTransactionalLogItemsResponse>;
|
|
427
|
-
/**
|
|
428
|
-
* Renders the content of a "Tracking Transactional" email.
|
|
429
|
-
* @param data The data for the request.
|
|
430
|
-
* @param data.trackingTransactionalEmailId Tracking Transactional Email Id
|
|
431
|
-
* @returns string OK
|
|
432
|
-
* @throws ApiError
|
|
433
|
-
*/
|
|
434
|
-
static renderTrackingTransactionalEmail(data: TransactionalRenderTrackingTransactionalEmailData): CancelablePromise<TransactionalRenderTrackingTransactionalEmailResponse>;
|
|
435
|
-
/**
|
|
436
|
-
* @param data The data for the request.
|
|
437
|
-
* @param data.transactionalKey
|
|
438
|
-
* @returns string OK
|
|
439
|
-
* @throws ApiError
|
|
440
|
-
*/
|
|
441
|
-
static renderTransactional(data: TransactionalRenderTransactionalData): CancelablePromise<TransactionalRenderTransactionalResponse>;
|
|
442
|
-
/**
|
|
443
|
-
* @param data The data for the request.
|
|
444
|
-
* @param data.requestBody
|
|
445
|
-
* @returns boolean OK
|
|
446
|
-
* @throws ApiError
|
|
447
|
-
*/
|
|
448
|
-
static resend(data?: TransactionalResendData): CancelablePromise<TransactionalResendResponse>;
|
|
449
|
-
/**
|
|
450
|
-
* @param data The data for the request.
|
|
451
|
-
* @param data.requestBody
|
|
452
|
-
* @returns unknown OK
|
|
453
|
-
* @throws ApiError
|
|
454
|
-
*/
|
|
455
|
-
static save(data?: TransactionalSaveData): CancelablePromise<TransactionalSaveResponse>;
|
|
456
|
-
/**
|
|
457
|
-
* Sends a test email from a Campaign that is edited.
|
|
458
|
-
* @param data The data for the request.
|
|
459
|
-
* @param data.requestBody
|
|
460
|
-
* @returns boolean OK
|
|
461
|
-
* @throws ApiError
|
|
462
|
-
*/
|
|
463
|
-
static sendTestEmail(data?: TransactionalSendTestEmailData): CancelablePromise<TransactionalSendTestEmailResponse>;
|
|
464
|
-
/**
|
|
465
|
-
* Returns a NewsletterStudio.Core.Frontend.Transactional.FrontendModels.TrackingTransactionalResponseFrontendModel for the Tracking Transactional detail dialog.
|
|
466
|
-
* @param data The data for the request.
|
|
467
|
-
* @param data.trackingTransactionalId
|
|
468
|
-
* @returns unknown OK
|
|
469
|
-
* @throws ApiError
|
|
470
|
-
*/
|
|
471
|
-
static getTrackingTransactional(data: TransactionalGetTrackingTransactionalData): CancelablePromise<TransactionalGetTrackingTransactionalResponse>;
|
|
472
|
-
/**
|
|
473
|
-
* Gets overview for the transactional-section
|
|
474
|
-
* @param data The data for the request.
|
|
475
|
-
* @param data.workspaceKey Workspace Key
|
|
476
|
-
* @returns unknown OK
|
|
477
|
-
* @throws ApiError
|
|
478
|
-
*/
|
|
479
|
-
static getTransactionalActivities(data: TransactionalGetTransactionalActivitiesData): CancelablePromise<TransactionalGetTransactionalActivitiesResponse>;
|
|
480
|
-
/**
|
|
481
|
-
* Gets overview for email list
|
|
482
|
-
* @param data The data for the request.
|
|
483
|
-
* @param data.workspaceKey Workspace Key
|
|
484
|
-
* @returns unknown OK
|
|
485
|
-
* @throws ApiError
|
|
486
|
-
*/
|
|
487
|
-
static getTransactionalEmailsOverview(data: TransactionalGetTransactionalEmailsOverviewData): CancelablePromise<TransactionalGetTransactionalEmailsOverviewResponse>;
|
|
488
|
-
}
|
|
489
|
-
export declare class WorkspaceResource {
|
|
490
|
-
/**
|
|
491
|
-
* Endpoint to create a new workspace
|
|
492
|
-
* @param data The data for the request.
|
|
493
|
-
* @param data.requestBody
|
|
494
|
-
* @returns unknown OK
|
|
495
|
-
* @throws ApiError
|
|
496
|
-
*/
|
|
497
|
-
static createNew(data?: WorkspaceCreateNewData): CancelablePromise<WorkspaceCreateNewResponse>;
|
|
498
|
-
/**
|
|
499
|
-
* Returns dashboard overview for a given workspace
|
|
500
|
-
* @param data The data for the request.
|
|
501
|
-
* @param data.workspaceKey The workspace id
|
|
502
|
-
* @returns unknown OK
|
|
503
|
-
* @throws ApiError
|
|
504
|
-
*/
|
|
505
|
-
static getDashboardOverview(data: WorkspaceGetDashboardOverviewData): CancelablePromise<WorkspaceGetDashboardOverviewResponse>;
|
|
506
|
-
/**
|
|
507
|
-
* Returns dashboard overview for a given workspace
|
|
508
|
-
* @returns unknown OK
|
|
509
|
-
* @throws ApiError
|
|
510
|
-
*/
|
|
511
|
-
static getDashboardSection(): CancelablePromise<WorkspaceGetDashboardSectionResponse>;
|
|
512
|
-
/**
|
|
513
|
-
* @param data The data for the request.
|
|
514
|
-
* @param data.requestBody
|
|
515
|
-
* @returns unknown OK
|
|
516
|
-
* @throws ApiError
|
|
517
|
-
*/
|
|
518
|
-
static licenseConnect(data?: WorkspaceLicenseConnectData): CancelablePromise<WorkspaceLicenseConnectResponse>;
|
|
519
|
-
/**
|
|
520
|
-
* @param data The data for the request.
|
|
521
|
-
* @param data.requestBody
|
|
522
|
-
* @returns unknown OK
|
|
523
|
-
* @throws ApiError
|
|
524
|
-
*/
|
|
525
|
-
static licenseLogin(data?: WorkspaceLicenseLoginData): CancelablePromise<WorkspaceLicenseLoginResponse>;
|
|
526
|
-
/**
|
|
527
|
-
* Gets manage-model for "Administration-Manage"-view
|
|
528
|
-
* @param data The data for the request.
|
|
529
|
-
* @param data.workspaceKey Workspace Key
|
|
530
|
-
* @returns unknown OK
|
|
531
|
-
* @throws ApiError
|
|
532
|
-
*/
|
|
533
|
-
static getManage(data: WorkspaceGetManageData): CancelablePromise<WorkspaceGetManageResponse>;
|
|
534
|
-
/**
|
|
535
|
-
* Gets the all Workspaces for listing in the "Administration"-view
|
|
536
|
-
* @returns unknown OK
|
|
537
|
-
* @throws ApiError
|
|
538
|
-
*/
|
|
539
|
-
static getOverview(): CancelablePromise<WorkspaceGetOverviewResponse>;
|
|
540
|
-
/**
|
|
541
|
-
* @param data The data for the request.
|
|
542
|
-
* @param data.key
|
|
543
|
-
* @returns boolean OK
|
|
544
|
-
* @throws ApiError
|
|
545
|
-
*/
|
|
546
|
-
static remove(data: WorkspaceRemoveData): CancelablePromise<WorkspaceRemoveResponse>;
|
|
547
|
-
/**
|
|
548
|
-
* Saves manage-settings for "Administration-Manage"-view
|
|
549
|
-
* @param data The data for the request.
|
|
550
|
-
* @param data.requestBody
|
|
551
|
-
* @returns unknown OK
|
|
552
|
-
* @throws ApiError
|
|
553
|
-
*/
|
|
554
|
-
static saveManage(data?: WorkspaceSaveManageData): CancelablePromise<WorkspaceSaveManageResponse>;
|
|
555
|
-
/**
|
|
556
|
-
* @param data The data for the request.
|
|
557
|
-
* @param data.requestBody
|
|
558
|
-
* @returns unknown OK
|
|
559
|
-
* @throws ApiError
|
|
560
|
-
*/
|
|
561
|
-
static saveSettings(data?: WorkspaceSaveSettingsData): CancelablePromise<WorkspaceSaveSettingsResponse>;
|
|
562
|
-
/**
|
|
563
|
-
* Gets settings-model for "Workspace-Settings"-view
|
|
564
|
-
* @param data The data for the request.
|
|
565
|
-
* @param data.workspaceKey
|
|
566
|
-
* @returns unknown OK
|
|
567
|
-
* @throws ApiError
|
|
568
|
-
*/
|
|
569
|
-
static getSettings(data: WorkspaceGetSettingsData): CancelablePromise<WorkspaceGetSettingsResponse>;
|
|
570
|
-
/**
|
|
571
|
-
* @param data The data for the request.
|
|
572
|
-
* @param data.requestBody
|
|
573
|
-
* @returns boolean OK
|
|
574
|
-
* @throws ApiError
|
|
575
|
-
*/
|
|
576
|
-
static testPop3Server(data?: WorkspaceTestPop3ServerData): CancelablePromise<WorkspaceTestPop3ServerResponse>;
|
|
577
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
2
|
-
import { AsyncDirective, type ElementPart } from '@umbraco-cms/backoffice/external/lit';
|
|
3
|
-
/**
|
|
4
|
-
* The `bind to validation` directive connects the Form Control Element to closets Validation Context.
|
|
5
|
-
*/
|
|
6
|
-
declare class NsBindFormToValidationDirective extends AsyncDirective {
|
|
7
|
-
#private;
|
|
8
|
-
render(host: UmbControllerHost): symbol;
|
|
9
|
-
update(part: ElementPart, args: Parameters<typeof this.render>): symbol;
|
|
10
|
-
disconnected(): void;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @description
|
|
14
|
-
* A Lit directive, which binds the validation state of the element to the Validation Context.
|
|
15
|
-
*
|
|
16
|
-
* The minimal binding can be established by just providing a host element:
|
|
17
|
-
* @example:
|
|
18
|
-
* ```js
|
|
19
|
-
* html`<input ${umbBindToValidation(this)}>`;
|
|
20
|
-
* ```
|
|
21
|
-
* But can be extended with a dataPath, which is the path to the data holding the value. (if no server validation in this context, then this can be fictive and is then just used internal for remembering the validation state despite the element begin removed from the DOM.)
|
|
22
|
-
* @example:
|
|
23
|
-
* ```js
|
|
24
|
-
* html`<input ${umbBindToValidation(this, '$.headline')}>`;
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* Additional the value can be provided, which is then used to remove a server validation state, if the value is changed.
|
|
28
|
-
* @example:
|
|
29
|
-
* ```js
|
|
30
|
-
* html`<input ${umbBindToValidation(this, '$.headline', this.headlineValue)}>`;
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare const nsBindFormToValidation: (host: UmbControllerHost) => import("lit-html/directive.js").DirectiveResult<typeof NsBindFormToValidationDirective>;
|
|
34
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
|
2
|
-
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
3
|
-
import type { UmbFormControlMixinInterface } from '@umbraco-cms/backoffice/validation';
|
|
4
|
-
/**
|
|
5
|
-
* Binds server validation to a form control.
|
|
6
|
-
* This controller will add a custom error to the form control if the validation context has any messages for the specified data path.
|
|
7
|
-
*/
|
|
8
|
-
export declare class UmbBindServerValidationToFormControl extends UmbControllerBase {
|
|
9
|
-
#private;
|
|
10
|
-
set value(value: unknown);
|
|
11
|
-
constructor(host: UmbControllerHost, formControl: UmbFormControlMixinInterface<unknown>, dataPath: string);
|
|
12
|
-
validate(): Promise<void>;
|
|
13
|
-
/**
|
|
14
|
-
* Resets the validation state of this validator.
|
|
15
|
-
*/
|
|
16
|
-
reset(): void;
|
|
17
|
-
focusFirstInvalidElement(): void;
|
|
18
|
-
destroy(): void;
|
|
19
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
2
|
-
import { AsyncDirective, type ElementPart } from '@umbraco-cms/backoffice/external/lit';
|
|
3
|
-
/**
|
|
4
|
-
* The `bind to validation` directive connects the Form Control Element to closets Validation Context.
|
|
5
|
-
*/
|
|
6
|
-
declare class NsBindToValidationDirective extends AsyncDirective {
|
|
7
|
-
#private;
|
|
8
|
-
render(host: UmbControllerHost, dataPath?: string, value?: unknown): symbol;
|
|
9
|
-
update(part: ElementPart, args: Parameters<typeof this.render>): symbol;
|
|
10
|
-
disconnected(): void;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @description
|
|
14
|
-
* A Lit directive, which binds the validation state of the element to the Validation Context.
|
|
15
|
-
*
|
|
16
|
-
* The minimal binding can be established by just providing a host element:
|
|
17
|
-
* @example:
|
|
18
|
-
* ```js
|
|
19
|
-
* html`<input ${umbBindToValidation(this)}>`;
|
|
20
|
-
* ```
|
|
21
|
-
* But can be extended with a dataPath, which is the path to the data holding the value. (if no server validation in this context, then this can be fictive and is then just used internal for remembering the validation state despite the element begin removed from the DOM.)
|
|
22
|
-
* @example:
|
|
23
|
-
* ```js
|
|
24
|
-
* html`<input ${umbBindToValidation(this, '$.headline')}>`;
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* Additional the value can be provided, which is then used to remove a server validation state, if the value is changed.
|
|
28
|
-
* @example:
|
|
29
|
-
* ```js
|
|
30
|
-
* html`<input ${umbBindToValidation(this, '$.headline', this.headlineValue)}>`;
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare const nsBindToValidation: (host: UmbControllerHost, dataPath?: string, value?: unknown) => import("lit-html/directive.js").DirectiveResult<typeof NsBindToValidationDirective>;
|
|
34
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { TinyMcePluginArguments } from "@umbraco-cms/backoffice/tiny-mce";
|
|
2
|
-
import { UmbTinyMcePluginBase } from "@umbraco-cms/backoffice/tiny-mce";
|
|
3
|
-
export default class NsTinyMcePlugin extends UmbTinyMcePluginBase {
|
|
4
|
-
#private;
|
|
5
|
-
constructor(args: TinyMcePluginArguments);
|
|
6
|
-
}
|