@claspo/common 7.3.0-rc1 → 7.3.0-scf.1
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.
|
@@ -86,7 +86,7 @@ export declare enum ClDocumentActionType {
|
|
|
86
86
|
GO_TO_NEXT_VIEW = "GO_TO_NEXT_VIEW",
|
|
87
87
|
CLICK = "CLICK"
|
|
88
88
|
}
|
|
89
|
-
export type ClDocumentActionParams = ClDocumentOpenLinkActionParamsI | ClDocumentGoToViewActionParamsI | ClDocumentGoToNextViewActionParamsI | ClDocumentGoToPreviousViewActionParamsI | ClDocumentCloseWidgetActionParamsI |
|
|
89
|
+
export type ClDocumentActionParams = ClDocumentOpenLinkActionParamsI | ClDocumentGoToViewActionParamsI | ClDocumentGoToNextViewActionParamsI | ClDocumentGoToPreviousViewActionParamsI | ClDocumentCloseWidgetActionParamsI | ClDocumentShowWidgetActionParamsI | ClDocumentRequestActionParamsI;
|
|
90
90
|
export interface ClDocumentOpenLinkActionParamsI {
|
|
91
91
|
link: string;
|
|
92
92
|
target: ClDocumentOpenLinkActionTarget;
|
|
@@ -128,17 +128,12 @@ export interface ClDocumentCloseWidgetActionParamsI {
|
|
|
128
128
|
};
|
|
129
129
|
countAsTargetAction?: boolean;
|
|
130
130
|
}
|
|
131
|
-
export interface ClDocumentSubscribeContactActionParamsI {
|
|
132
|
-
viewIndexOnSuccess: number;
|
|
133
|
-
viewIndexOnSubscribed: number;
|
|
134
|
-
viewIndexOnError: number;
|
|
135
|
-
}
|
|
136
131
|
export interface ClDocumentShowWidgetActionParamsI {
|
|
137
132
|
variantId?: number;
|
|
138
133
|
closeWidget?: boolean;
|
|
139
134
|
countAsTargetAction?: boolean;
|
|
140
135
|
}
|
|
141
|
-
export interface ClDocumentRequestActionParamsI
|
|
136
|
+
export interface ClDocumentRequestActionParamsI {
|
|
142
137
|
countAsTargetAction?: boolean;
|
|
143
138
|
}
|
|
144
139
|
export declare enum DefaultSchemaTokens {
|
|
@@ -148,6 +143,12 @@ export type ThemeColorSchemaI = Record<string, string>;
|
|
|
148
143
|
export interface ThemeI {
|
|
149
144
|
schema: ThemeColorSchemaI;
|
|
150
145
|
}
|
|
146
|
+
export interface ClDocumentCustomFontResourceI {
|
|
147
|
+
id: number;
|
|
148
|
+
name: string;
|
|
149
|
+
fontFamily: string;
|
|
150
|
+
url: string;
|
|
151
|
+
}
|
|
151
152
|
export interface ClDocumentSharedI {
|
|
152
153
|
headerFontFamily: string;
|
|
153
154
|
textFontFamily: string;
|
|
@@ -155,6 +156,7 @@ export interface ClDocumentSharedI {
|
|
|
155
156
|
[key: string]: ClDocumentSharedTextClassI;
|
|
156
157
|
};
|
|
157
158
|
googleFonts: string[];
|
|
159
|
+
customFontResources?: ClDocumentCustomFontResourceI[];
|
|
158
160
|
floatingBox?: ClFloatingBoxParamsI;
|
|
159
161
|
floatingBar?: ClFloatingBarParamsI;
|
|
160
162
|
launcher?: ClLauncherParamsI;
|