@newsletterstudio/umbraco 15.0.4 → 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 +2 -1
- package/dist/core/components/index.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/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/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;
|
|
@@ -1184,7 +1185,7 @@ export type TransactionalLogItemFrontendModel = {
|
|
|
1184
1185
|
export type TransactionalLogResponseFrontendModel = {
|
|
1185
1186
|
sentTotal: number;
|
|
1186
1187
|
sentLastWeek: number;
|
|
1187
|
-
|
|
1188
|
+
sentLast30Days: number;
|
|
1188
1189
|
emails: PageWithFilterTransactionalLogItemFrontendModelTransactionalGetLogListRequestFrontendModel;
|
|
1189
1190
|
logItemStatuses: Array<ListItemValueAndTranslationResponseFrontendModel>;
|
|
1190
1191
|
};
|
|
@@ -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';
|
|
@@ -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",
|