@magicfeedback/popup-sdk 1.0.3 → 1.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/index.d.mts +17 -4
- package/dist/index.d.ts +17 -4
- package/dist/index.js +1926 -3424
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1925 -3423
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/index.css +0 -730
- package/dist/index.css.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -87,10 +87,23 @@ interface PopupActionDecline {
|
|
|
87
87
|
label: string;
|
|
88
88
|
cooldownDays?: number;
|
|
89
89
|
}
|
|
90
|
+
/** Start Surveys Action */
|
|
91
|
+
interface PopupActionStart {
|
|
92
|
+
label: string;
|
|
93
|
+
}
|
|
94
|
+
/** Acción de completar (aceptar y completar encuesta automáticamente) */
|
|
95
|
+
interface PopupActionComplete {
|
|
96
|
+
label: string;
|
|
97
|
+
surveyId: string;
|
|
98
|
+
autoCompleteParams: Record<string, unknown>;
|
|
99
|
+
cooldownDays?: number;
|
|
100
|
+
}
|
|
90
101
|
/** Conjunto de acciones disponibles en el popup */
|
|
91
102
|
interface PopupActions {
|
|
92
|
-
accept
|
|
93
|
-
decline
|
|
103
|
+
accept?: PopupActionAccept;
|
|
104
|
+
decline?: PopupActionDecline;
|
|
105
|
+
complete?: PopupActionComplete;
|
|
106
|
+
start?: PopupActionStart;
|
|
94
107
|
}
|
|
95
108
|
/** Estilos configurables del popup */
|
|
96
109
|
interface PopupStyle {
|
|
@@ -110,10 +123,10 @@ interface PopupDefinition {
|
|
|
110
123
|
title: string;
|
|
111
124
|
message: string;
|
|
112
125
|
trigger: PopupTrigger;
|
|
113
|
-
actions
|
|
126
|
+
actions?: PopupActions;
|
|
114
127
|
surveyId: string;
|
|
115
128
|
productId: string;
|
|
116
|
-
style
|
|
129
|
+
style?: PopupStyle;
|
|
117
130
|
segments?: PopupSegments;
|
|
118
131
|
}
|
|
119
132
|
|
package/dist/index.d.ts
CHANGED
|
@@ -87,10 +87,23 @@ interface PopupActionDecline {
|
|
|
87
87
|
label: string;
|
|
88
88
|
cooldownDays?: number;
|
|
89
89
|
}
|
|
90
|
+
/** Start Surveys Action */
|
|
91
|
+
interface PopupActionStart {
|
|
92
|
+
label: string;
|
|
93
|
+
}
|
|
94
|
+
/** Acción de completar (aceptar y completar encuesta automáticamente) */
|
|
95
|
+
interface PopupActionComplete {
|
|
96
|
+
label: string;
|
|
97
|
+
surveyId: string;
|
|
98
|
+
autoCompleteParams: Record<string, unknown>;
|
|
99
|
+
cooldownDays?: number;
|
|
100
|
+
}
|
|
90
101
|
/** Conjunto de acciones disponibles en el popup */
|
|
91
102
|
interface PopupActions {
|
|
92
|
-
accept
|
|
93
|
-
decline
|
|
103
|
+
accept?: PopupActionAccept;
|
|
104
|
+
decline?: PopupActionDecline;
|
|
105
|
+
complete?: PopupActionComplete;
|
|
106
|
+
start?: PopupActionStart;
|
|
94
107
|
}
|
|
95
108
|
/** Estilos configurables del popup */
|
|
96
109
|
interface PopupStyle {
|
|
@@ -110,10 +123,10 @@ interface PopupDefinition {
|
|
|
110
123
|
title: string;
|
|
111
124
|
message: string;
|
|
112
125
|
trigger: PopupTrigger;
|
|
113
|
-
actions
|
|
126
|
+
actions?: PopupActions;
|
|
114
127
|
surveyId: string;
|
|
115
128
|
productId: string;
|
|
116
|
-
style
|
|
129
|
+
style?: PopupStyle;
|
|
117
130
|
segments?: PopupSegments;
|
|
118
131
|
}
|
|
119
132
|
|