@usertour/helpers 0.0.39 → 0.0.41
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/content-helper.cjs +312 -0
- package/dist/content-helper.d.cts +32 -0
- package/dist/content-helper.d.ts +32 -0
- package/dist/content-helper.js +185 -0
- package/dist/index.cjs +0 -989
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +16 -76
- package/package.json +1 -1
- package/dist/chunk-V2DA4OPE.js +0 -976
- package/dist/editor-helper.cjs +0 -1125
- package/dist/editor-helper.d.cts +0 -781
- package/dist/editor-helper.d.ts +0 -781
- package/dist/editor-helper.js +0 -71
package/dist/index.d.cts
CHANGED
|
@@ -14,7 +14,6 @@ export { evaluateUrlCondition, isMatchUrlPattern } from './conditions/url.cjs';
|
|
|
14
14
|
export { convertTimeConditionLegacyToV2, evaluateTimeCondition, isTimeConditionDataLegacy, isTimeConditionDataV2, normalizeTimeConditionData } from './conditions/time.cjs';
|
|
15
15
|
export { evaluateAttributeCondition } from './conditions/attribute.cjs';
|
|
16
16
|
export { capitalizeFirstLetter, filterNullAttributes, getAttributeType } from './attribute.cjs';
|
|
17
|
-
export { EmptyButton, EmptyColumn, EmptyEmbed, EmptyGroup, EmptyImage, EmptyText, createNewColumn, createNewGroup, createStepCopy, createValue1, createValue2, createValue3, createValue4, createValue5, createValue6, defaultInitialValue, extractQuestionData, generateUniqueCopyName, getDefaultDataForType, groupData, hasMissingRequiredData, isClickableElement, isMissingRequiredData, isQuestionElement, isRestrictedType, processQuestionElements, regenerateTarget, regenerateTrigger, surveysValue } from './editor-helper.cjs';
|
|
18
17
|
export { default as isEqual } from 'fast-deep-equal';
|
|
19
18
|
import '@usertour/types';
|
|
20
19
|
import './storage.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export { evaluateUrlCondition, isMatchUrlPattern } from './conditions/url.js';
|
|
|
14
14
|
export { convertTimeConditionLegacyToV2, evaluateTimeCondition, isTimeConditionDataLegacy, isTimeConditionDataV2, normalizeTimeConditionData } from './conditions/time.js';
|
|
15
15
|
export { evaluateAttributeCondition } from './conditions/attribute.js';
|
|
16
16
|
export { capitalizeFirstLetter, filterNullAttributes, getAttributeType } from './attribute.js';
|
|
17
|
-
export { EmptyButton, EmptyColumn, EmptyEmbed, EmptyGroup, EmptyImage, EmptyText, createNewColumn, createNewGroup, createStepCopy, createValue1, createValue2, createValue3, createValue4, createValue5, createValue6, defaultInitialValue, extractQuestionData, generateUniqueCopyName, getDefaultDataForType, groupData, hasMissingRequiredData, isClickableElement, isMissingRequiredData, isQuestionElement, isRestrictedType, processQuestionElements, regenerateTarget, regenerateTrigger, surveysValue } from './editor-helper.js';
|
|
18
17
|
export { default as isEqual } from 'fast-deep-equal';
|
|
19
18
|
import '@usertour/types';
|
|
20
19
|
import './storage.js';
|
package/dist/index.js
CHANGED
|
@@ -21,53 +21,6 @@ import {
|
|
|
21
21
|
storage
|
|
22
22
|
} from "./chunk-FGFMTWFT.js";
|
|
23
23
|
import "./chunk-3ZGH3NRU.js";
|
|
24
|
-
import {
|
|
25
|
-
buildConfig,
|
|
26
|
-
defaultContentConfig,
|
|
27
|
-
isPublishedAtLeastOneEnvironment,
|
|
28
|
-
isPublishedInAllEnvironments
|
|
29
|
-
} from "./chunk-VWNWWZCH.js";
|
|
30
|
-
import {
|
|
31
|
-
convertSettings,
|
|
32
|
-
convertToCssVars,
|
|
33
|
-
mergeThemeDefaultSettings
|
|
34
|
-
} from "./chunk-F7ZHCELE.js";
|
|
35
|
-
import {
|
|
36
|
-
generateAutoStateColors,
|
|
37
|
-
hexToHSLString,
|
|
38
|
-
hexToRGBStr
|
|
39
|
-
} from "./chunk-VT24VOAZ.js";
|
|
40
|
-
import {
|
|
41
|
-
EmptyButton,
|
|
42
|
-
EmptyColumn,
|
|
43
|
-
EmptyEmbed,
|
|
44
|
-
EmptyGroup,
|
|
45
|
-
EmptyImage,
|
|
46
|
-
EmptyText,
|
|
47
|
-
createNewColumn,
|
|
48
|
-
createNewGroup,
|
|
49
|
-
createStepCopy,
|
|
50
|
-
createValue1,
|
|
51
|
-
createValue2,
|
|
52
|
-
createValue3,
|
|
53
|
-
createValue4,
|
|
54
|
-
createValue5,
|
|
55
|
-
createValue6,
|
|
56
|
-
defaultInitialValue,
|
|
57
|
-
extractQuestionData,
|
|
58
|
-
generateUniqueCopyName,
|
|
59
|
-
getDefaultDataForType,
|
|
60
|
-
groupData,
|
|
61
|
-
hasMissingRequiredData,
|
|
62
|
-
isClickableElement,
|
|
63
|
-
isMissingRequiredData,
|
|
64
|
-
isQuestionElement,
|
|
65
|
-
isRestrictedType,
|
|
66
|
-
processQuestionElements,
|
|
67
|
-
regenerateTarget,
|
|
68
|
-
regenerateTrigger,
|
|
69
|
-
surveysValue
|
|
70
|
-
} from "./chunk-V2DA4OPE.js";
|
|
71
24
|
import "./chunk-7ODE2AIC.js";
|
|
72
25
|
import {
|
|
73
26
|
allConditionsHaveIds,
|
|
@@ -99,6 +52,22 @@ import {
|
|
|
99
52
|
import {
|
|
100
53
|
evaluateAttributeCondition
|
|
101
54
|
} from "./chunk-KYDXF7SU.js";
|
|
55
|
+
import {
|
|
56
|
+
buildConfig,
|
|
57
|
+
defaultContentConfig,
|
|
58
|
+
isPublishedAtLeastOneEnvironment,
|
|
59
|
+
isPublishedInAllEnvironments
|
|
60
|
+
} from "./chunk-VWNWWZCH.js";
|
|
61
|
+
import {
|
|
62
|
+
convertSettings,
|
|
63
|
+
convertToCssVars,
|
|
64
|
+
mergeThemeDefaultSettings
|
|
65
|
+
} from "./chunk-F7ZHCELE.js";
|
|
66
|
+
import {
|
|
67
|
+
generateAutoStateColors,
|
|
68
|
+
hexToHSLString,
|
|
69
|
+
hexToRGBStr
|
|
70
|
+
} from "./chunk-VT24VOAZ.js";
|
|
102
71
|
import {
|
|
103
72
|
getCodeError,
|
|
104
73
|
getContentError,
|
|
@@ -160,12 +129,6 @@ import "./chunk-XEO3YXBM.js";
|
|
|
160
129
|
export {
|
|
161
130
|
AbortController,
|
|
162
131
|
ArrayProto,
|
|
163
|
-
EmptyButton,
|
|
164
|
-
EmptyColumn,
|
|
165
|
-
EmptyEmbed,
|
|
166
|
-
EmptyGroup,
|
|
167
|
-
EmptyImage,
|
|
168
|
-
EmptyText,
|
|
169
132
|
XMLHttpRequest,
|
|
170
133
|
absoluteUrl,
|
|
171
134
|
allConditionsHaveIds,
|
|
@@ -178,19 +141,9 @@ export {
|
|
|
178
141
|
convertSettings,
|
|
179
142
|
convertTimeConditionLegacyToV2,
|
|
180
143
|
convertToCssVars,
|
|
181
|
-
createNewColumn,
|
|
182
|
-
createNewGroup,
|
|
183
|
-
createStepCopy,
|
|
184
|
-
createValue1,
|
|
185
|
-
createValue2,
|
|
186
|
-
createValue3,
|
|
187
|
-
createValue4,
|
|
188
|
-
createValue5,
|
|
189
|
-
createValue6,
|
|
190
144
|
cuid,
|
|
191
145
|
deepClone,
|
|
192
146
|
defaultContentConfig,
|
|
193
|
-
defaultInitialValue,
|
|
194
147
|
defaultStep,
|
|
195
148
|
document,
|
|
196
149
|
evalCode,
|
|
@@ -199,19 +152,16 @@ export {
|
|
|
199
152
|
evaluateRulesConditions,
|
|
200
153
|
evaluateTimeCondition,
|
|
201
154
|
evaluateUrlCondition,
|
|
202
|
-
extractQuestionData,
|
|
203
155
|
fetch,
|
|
204
156
|
filterConditionsByType,
|
|
205
157
|
filterNullAttributes,
|
|
206
158
|
formatDate,
|
|
207
159
|
generateAutoStateColors,
|
|
208
|
-
generateUniqueCopyName,
|
|
209
160
|
getAttributeType,
|
|
210
161
|
getAuthToken,
|
|
211
162
|
getCodeError,
|
|
212
163
|
getContentError,
|
|
213
164
|
getCurrentTimeError,
|
|
214
|
-
getDefaultDataForType,
|
|
215
165
|
getElementError,
|
|
216
166
|
getErrorMessage,
|
|
217
167
|
getNavitateError,
|
|
@@ -223,16 +173,13 @@ export {
|
|
|
223
173
|
getUrlPatternError,
|
|
224
174
|
getUserAttrError,
|
|
225
175
|
getWaitError,
|
|
226
|
-
groupData,
|
|
227
176
|
hasActionError,
|
|
228
177
|
hasError,
|
|
229
|
-
hasMissingRequiredData,
|
|
230
178
|
hexToHSLString,
|
|
231
179
|
hexToRGBStr,
|
|
232
180
|
hexToRgb,
|
|
233
181
|
isArray,
|
|
234
182
|
isBoolean,
|
|
235
|
-
isClickableElement,
|
|
236
183
|
isConditionsActived,
|
|
237
184
|
isDark,
|
|
238
185
|
isDate,
|
|
@@ -244,15 +191,12 @@ export {
|
|
|
244
191
|
isFormData,
|
|
245
192
|
isFunction,
|
|
246
193
|
isMatchUrlPattern,
|
|
247
|
-
isMissingRequiredData,
|
|
248
194
|
isNull,
|
|
249
195
|
isNullish,
|
|
250
196
|
isNumber,
|
|
251
197
|
isObject,
|
|
252
198
|
isPublishedAtLeastOneEnvironment,
|
|
253
199
|
isPublishedInAllEnvironments,
|
|
254
|
-
isQuestionElement,
|
|
255
|
-
isRestrictedType,
|
|
256
200
|
isString,
|
|
257
201
|
isTimeConditionDataLegacy,
|
|
258
202
|
isTimeConditionDataV2,
|
|
@@ -267,14 +211,10 @@ export {
|
|
|
267
211
|
navigator,
|
|
268
212
|
normalizeTimeConditionData,
|
|
269
213
|
parseUrlParams,
|
|
270
|
-
processQuestionElements,
|
|
271
214
|
regenerateConditionIds,
|
|
272
|
-
regenerateTarget,
|
|
273
|
-
regenerateTrigger,
|
|
274
215
|
removeAuthToken,
|
|
275
216
|
setAuthToken,
|
|
276
217
|
storage,
|
|
277
|
-
surveysValue,
|
|
278
218
|
userAgent,
|
|
279
219
|
uuidV4,
|
|
280
220
|
wait,
|