@newsletterstudio/umbraco 15.0.0 → 15.0.5
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/types.gen.d.ts +25 -2
- package/dist/core/components/index.d.ts +1 -0
- package/dist/core/components/ns-checkbox/ns-checkbox.element.d.ts +2 -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/extensibility/email-editor/NsEmailEditorControlDisplayUiBase.d.ts +1 -0
- package/dist/core/extensibility/email-editor/email-editor.models.d.ts +1 -0
- package/dist/core/string.helper.d.ts +1 -0
- package/dist/modules/mailing-list/edit/actions/import/ns-mailing-list-import-modal.element.d.ts +1 -0
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ export type ButtonEmailControlDataModel = {
|
|
|
18
18
|
backgroundColor: string;
|
|
19
19
|
textColor: string;
|
|
20
20
|
padding: PaddingModel;
|
|
21
|
+
borderRadius: number;
|
|
21
22
|
};
|
|
22
23
|
export type CampaignEmailItemResponseFrontendModel = {
|
|
23
24
|
id: number;
|
|
@@ -474,6 +475,24 @@ export type ImageEmailControlDataModel = {
|
|
|
474
475
|
*/
|
|
475
476
|
aspectRatio: string;
|
|
476
477
|
};
|
|
478
|
+
export type ImportFixedIssueRequestFrontendModel = {
|
|
479
|
+
recipient: ImportRecipientIssuesFrontendModel;
|
|
480
|
+
mailingListKey?: string | null;
|
|
481
|
+
workspaceKey?: string | null;
|
|
482
|
+
fieldMappings: Array<ImportRecipientsColumnMappingFieldValueFrontendModel>;
|
|
483
|
+
/**
|
|
484
|
+
* Indicates if the import should overwrite data if the recipient already exists
|
|
485
|
+
*/
|
|
486
|
+
updateExisting: boolean;
|
|
487
|
+
};
|
|
488
|
+
export type ImportRecipientIssuesFrontendModel = {
|
|
489
|
+
email: string;
|
|
490
|
+
firstname: string;
|
|
491
|
+
lastname: string;
|
|
492
|
+
fields: {
|
|
493
|
+
[key: string]: string;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
477
496
|
export type ImportRecipientIssuesValueFrontendModel = {
|
|
478
497
|
email: string;
|
|
479
498
|
firstname: string;
|
|
@@ -522,6 +541,10 @@ export type ImportRecipientsPerformFileImportRequestFrontendModel = {
|
|
|
522
541
|
mailingListKey?: string | null;
|
|
523
542
|
tempFile: string;
|
|
524
543
|
fieldMappings: Array<ImportRecipientsColumnMappingFieldValueFrontendModel>;
|
|
544
|
+
/**
|
|
545
|
+
* Indicates if the import should overwrite data if the recipient already exists
|
|
546
|
+
*/
|
|
547
|
+
updateExisting: boolean;
|
|
525
548
|
};
|
|
526
549
|
export type ImportRecipientsResultsResponseFrontendModel = {
|
|
527
550
|
total: number;
|
|
@@ -1162,7 +1185,7 @@ export type TransactionalLogItemFrontendModel = {
|
|
|
1162
1185
|
export type TransactionalLogResponseFrontendModel = {
|
|
1163
1186
|
sentTotal: number;
|
|
1164
1187
|
sentLastWeek: number;
|
|
1165
|
-
|
|
1188
|
+
sentLast30Days: number;
|
|
1166
1189
|
emails: PageWithFilterTransactionalLogItemFrontendModelTransactionalGetLogListRequestFrontendModel;
|
|
1167
1190
|
logItemStatuses: Array<ListItemValueAndTranslationResponseFrontendModel>;
|
|
1168
1191
|
};
|
|
@@ -1565,7 +1588,7 @@ export type EmailEditorGetMacrosData = {
|
|
|
1565
1588
|
};
|
|
1566
1589
|
export type EmailEditorGetMacrosResponse = Array<ListItemIdAndLabelValueFrontendModel>;
|
|
1567
1590
|
export type ImportRecipientsImportFixedIssueData = {
|
|
1568
|
-
requestBody?:
|
|
1591
|
+
requestBody?: ImportFixedIssueRequestFrontendModel;
|
|
1569
1592
|
};
|
|
1570
1593
|
export type ImportRecipientsImportFixedIssueResponse = Array<number>;
|
|
1571
1594
|
export type ImportRecipientsPerformFileImportData = {
|
|
@@ -48,3 +48,4 @@ export * from './ns-recipient-list-picker/ns-recipient-list-picker.element.js';
|
|
|
48
48
|
export * from './ns-email-campaign-send/ns-email-campaign-send.element.js';
|
|
49
49
|
export * from './ns-validation-errors-debug/ns-validation-errors-debug.element.js';
|
|
50
50
|
export * from './ns-select/ns-select.element.js';
|
|
51
|
+
export * from './ns-numeric-input/ns-numeric-input.element.js';
|
|
@@ -23,11 +23,13 @@ export declare class NsCheckboxElement extends LitElement {
|
|
|
23
23
|
*/
|
|
24
24
|
label: string;
|
|
25
25
|
disabled: boolean;
|
|
26
|
+
description: string;
|
|
26
27
|
_input: HTMLInputElement;
|
|
27
28
|
connectedCallback(): Promise<void>;
|
|
28
29
|
disconnectedCallback(): void;
|
|
29
30
|
_handleChange(e: InputEvent): void;
|
|
30
31
|
render(): import("lit-html").TemplateResult<1>;
|
|
32
|
+
renderLabel(): import("lit-html").TemplateResult<1>;
|
|
31
33
|
static styles: import("lit").CSSResult[];
|
|
32
34
|
}
|
|
33
35
|
declare global {
|
|
@@ -4,11 +4,12 @@ import { LitElement } from 'lit';
|
|
|
4
4
|
* @fires {MouseEvent} click - When toggling
|
|
5
5
|
*/
|
|
6
6
|
export declare class NsExpanderElement extends LitElement {
|
|
7
|
+
#private;
|
|
7
8
|
/**
|
|
8
9
|
* Indicator if expanded or note
|
|
9
10
|
*/
|
|
10
11
|
expanded: boolean;
|
|
11
|
-
|
|
12
|
+
connectedCallback(): void;
|
|
12
13
|
render(): import("lit-html").TemplateResult<1>;
|
|
13
14
|
static styles: import("lit").CSSResult[];
|
|
14
15
|
}
|
|
@@ -12,13 +12,15 @@ import { LitElement } from "@newsletterstudio/umbraco/lit";
|
|
|
12
12
|
* @cssprop --ns-color-border - Fallback for border colors
|
|
13
13
|
*/
|
|
14
14
|
export declare class NsNumericInputElement extends LitElement {
|
|
15
|
+
#private;
|
|
15
16
|
/**
|
|
16
17
|
* Holds the value
|
|
17
|
-
* @type {
|
|
18
|
+
* @type {String}
|
|
18
19
|
* @attr
|
|
19
|
-
* @default 0
|
|
20
20
|
*/
|
|
21
|
-
value:
|
|
21
|
+
value: string;
|
|
22
|
+
get valueAsNumber(): number | undefined;
|
|
23
|
+
get valueIsNumber(): boolean;
|
|
22
24
|
/**
|
|
23
25
|
* Label for the value
|
|
24
26
|
* @type {string}
|
|
@@ -37,13 +39,11 @@ export declare class NsNumericInputElement extends LitElement {
|
|
|
37
39
|
* @attr
|
|
38
40
|
*/
|
|
39
41
|
max: number;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
_handleTextboxClick(e: MouseEvent): void;
|
|
46
|
-
private _setValue;
|
|
42
|
+
/**
|
|
43
|
+
* Indicates if the control should allow a empty/undefined value.
|
|
44
|
+
*/
|
|
45
|
+
allowEmpty: boolean;
|
|
46
|
+
connectedCallback(): void;
|
|
47
47
|
render(): import("lit-html").TemplateResult<1>;
|
|
48
48
|
static styles: import("lit").CSSResult[];
|
|
49
49
|
}
|
|
@@ -10,4 +10,5 @@ export declare abstract class NsEmailEditorControlDisplayUiBase<TControlDataMode
|
|
|
10
10
|
'padding-left': string;
|
|
11
11
|
};
|
|
12
12
|
getSetting(instanceLevelSetting: string | undefined | null, fallbackSettingKey: string): string;
|
|
13
|
+
getSettingNumber(instanceLevelSetting: number | undefined | null, fallbackSettingKey: string, fallbackValue?: string): string;
|
|
13
14
|
}
|
|
@@ -74,6 +74,7 @@ export declare enum NsSettings {
|
|
|
74
74
|
controlButtonBackgroundColor = "controlButtonBackgroundColor",
|
|
75
75
|
controlButtonTextColor = "controlButtonTextColor",
|
|
76
76
|
controlButtonFontFamily = "controlButtonFontFamily",
|
|
77
|
+
controlButtonBorderRadius = "controlButtonBorderRadius",
|
|
77
78
|
controlButtonSmallPadding = "controlButtonSmallPadding",
|
|
78
79
|
controlButtonSmallFontSize = "controlButtonSmallFontSize",
|
|
79
80
|
controlButtonMediumPadding = "controlButtonMediumPadding",
|
package/dist/modules/mailing-list/edit/actions/import/ns-mailing-list-import-modal.element.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare class NsMailingListImportModalElement extends NsMailingListImport
|
|
|
16
16
|
errorMessagePerformImport?: string;
|
|
17
17
|
step: 'upload' | 'mappings' | 'processing' | 'importing' | 'done';
|
|
18
18
|
textValue: string;
|
|
19
|
+
updateExisting: boolean;
|
|
19
20
|
/** Parsed mappings from server */
|
|
20
21
|
mappings?: ImportRecipientsUploadFileAndParseForMappingResponse;
|
|
21
22
|
importResult?: ImportRecipientsResultsResponseFrontendModel;
|