@bikdotai/bik-component-library 0.0.838-beta.4 → 0.0.838-beta.6
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/cjs/editor/extensions/buildExtensions.js +2 -2
- package/dist/cjs/editor/extensions/buildExtensions.js.map +1 -1
- package/dist/cjs/editor/extensions/htmlTagStrip/HtmlTagStripExtension.js +1 -1
- package/dist/cjs/editor/extensions/htmlTagStrip/HtmlTagStripExtension.js.map +1 -1
- package/dist/cjs/helpers/sanitize.js +1 -1
- package/dist/cjs/helpers/sanitize.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/editor/extensions/buildExtensions.js +12 -10
- package/dist/esm/editor/extensions/buildExtensions.js.map +1 -1
- package/dist/esm/editor/extensions/htmlTagStrip/HtmlTagStripExtension.d.ts +5 -7
- package/dist/esm/editor/extensions/htmlTagStrip/HtmlTagStripExtension.js +53 -21
- package/dist/esm/editor/extensions/htmlTagStrip/HtmlTagStripExtension.js.map +1 -1
- package/dist/esm/helpers/sanitize.d.ts +7 -1
- package/dist/esm/helpers/sanitize.js +171 -90
- package/dist/esm/helpers/sanitize.js.map +1 -1
- package/dist/esm/index.js +49 -48
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -390,25 +390,25 @@ import { WhatsappLikePreview as Mc } from "./components/template-preview/WhatsAp
|
|
|
390
390
|
import { WhatsappLikePreviewV2 as kc } from "./components/template-preview/WhatsApp/WhatsAppLikePreviewV2.js";
|
|
391
391
|
import { buildAgentMentionItems as Uc, editorDocToInstructions as bc, instructionsToEditorHtml as wc } from "./components/agent-builder/utils/mentionSerialization.js";
|
|
392
392
|
import { environment as Hc } from "./firebase/environment.js";
|
|
393
|
-
import { escapeFormulaInjection as vc, isAllowedImageUrl as Wc, isAllowedLinkUrl as Yc, isAllowedUrl as zc, sanitizeBasicHtml as Kc,
|
|
394
|
-
import { getAllDataFromTemplateComponent as
|
|
395
|
-
import { getAuthMethods as
|
|
396
|
-
import { getBodyHtml as
|
|
397
|
-
import { getFireStoreDb as
|
|
398
|
-
import { getFireStoreLiteDb as
|
|
399
|
-
import { getFirebaseChatStorage as
|
|
400
|
-
import { isVariable as
|
|
401
|
-
import { queryBuilderCacheSlice as
|
|
402
|
-
import { queryBuilderSlice as
|
|
403
|
-
import { renderVariableUIForPreview as
|
|
404
|
-
import { resizeImage as
|
|
405
|
-
import { toLiveChatText as
|
|
406
|
-
import { toWhatsAppText as
|
|
407
|
-
import { unwrapDropdownValue as
|
|
408
|
-
import { useAIChat as
|
|
409
|
-
import { useAgentDraft as
|
|
410
|
-
import { useFeatureAnnouncements as
|
|
411
|
-
import { useWhatsNew as
|
|
393
|
+
import { escapeFormulaInjection as vc, isAllowedImageUrl as Wc, isAllowedLinkUrl as Yc, isAllowedUrl as zc, sanitizeBasicHtml as Kc, sanitizeCssProperties as Qc, sanitizeEmailHtml as Xc, sanitizePlainText as jc, stripHtmlTags as Zc } from "./helpers/sanitize.js";
|
|
394
|
+
import { getAllDataFromTemplateComponent as Jc, getAllDataFromWebpushTemplateComponent as $c } from "./components/template-context-mapper/utils/getDataFromTemplateComponent.js";
|
|
395
|
+
import { getAuthMethods as rA, getFirestoreLiteMethods as eA, getFirestoreMethods as tA, getFunctionsMethods as aA, getMessagingMethods as fA, getStorageMethods as pA } from "./firebase/lazyFirebaseMethods.js";
|
|
396
|
+
import { getBodyHtml as lA, getSectionsHtml as xA } from "./editor/BikEditor.utils.js";
|
|
397
|
+
import { getFireStoreDb as iA } from "./firebase/lazyFirestore.js";
|
|
398
|
+
import { getFireStoreLiteDb as dA } from "./firebase/lazyFirestoreLite.js";
|
|
399
|
+
import { getFirebaseChatStorage as TA } from "./firebase/lazyStorage.js";
|
|
400
|
+
import { isVariable as AA, validateIsUrl as CA } from "./components/template-context-mapper/utils/validateIsUrl.js";
|
|
401
|
+
import { queryBuilderCacheSlice as EA } from "./components/QueryBuilder/redux/queryBuilderCache.reducer.js";
|
|
402
|
+
import { queryBuilderSlice as PA } from "./components/QueryBuilder/redux/queryBuilder.reducer.js";
|
|
403
|
+
import { renderVariableUIForPreview as _A } from "./components/template-preview/helpers/SmsTemplateHelper.js";
|
|
404
|
+
import { resizeImage as OA } from "./utils/resizeImage.js";
|
|
405
|
+
import { toLiveChatText as BA } from "./editor/serializers/toLiveChatText.js";
|
|
406
|
+
import { toWhatsAppText as DA } from "./editor/serializers/toWhatsAppText.js";
|
|
407
|
+
import { unwrapDropdownValue as MA } from "./components/dropdown/utils.js";
|
|
408
|
+
import { useAIChat as kA } from "./components/bik-chatbot/services/useAIChat.js";
|
|
409
|
+
import { useAgentDraft as UA } from "./components/agent-builder/hooks/useAgentDraft.js";
|
|
410
|
+
import { useFeatureAnnouncements as wA } from "./components/feature-announcements/hooks/useFeatureAnnouncements.js";
|
|
411
|
+
import { useWhatsNew as HA } from "./components/whats-new/useWhatsNew.js";
|
|
412
412
|
export {
|
|
413
413
|
cp as ACTIONS_TYPES,
|
|
414
414
|
_p as AD_STRING_OPERATORS,
|
|
@@ -947,20 +947,20 @@ export {
|
|
|
947
947
|
vc as escapeFormulaInjection,
|
|
948
948
|
hl as filterPhoneCandidates,
|
|
949
949
|
tl as formatDate,
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
950
|
+
Jc as getAllDataFromTemplateComponent,
|
|
951
|
+
$c as getAllDataFromWebpushTemplateComponent,
|
|
952
|
+
rA as getAuthMethods,
|
|
953
|
+
lA as getBodyHtml,
|
|
954
|
+
iA as getFireStoreDb,
|
|
955
|
+
dA as getFireStoreLiteDb,
|
|
956
|
+
TA as getFirebaseChatStorage,
|
|
957
|
+
eA as getFirestoreLiteMethods,
|
|
958
|
+
tA as getFirestoreMethods,
|
|
959
|
+
aA as getFunctionsMethods,
|
|
960
|
+
fA as getMessagingMethods,
|
|
961
961
|
sd as getOrInitFirebaseChatApp,
|
|
962
|
-
|
|
963
|
-
|
|
962
|
+
xA as getSectionsHtml,
|
|
963
|
+
pA as getStorageMethods,
|
|
964
964
|
Wl as getUrlForBannerThirdPartyIcon,
|
|
965
965
|
$x as initialDynamicCouponErrorState,
|
|
966
966
|
on as initialStaticCouponErrorState,
|
|
@@ -971,24 +971,25 @@ export {
|
|
|
971
971
|
Ol as isCompleteFormatting,
|
|
972
972
|
gl as isCompleteMarkdownLink,
|
|
973
973
|
Bl as isCompleteUrl,
|
|
974
|
-
|
|
974
|
+
AA as isVariable,
|
|
975
975
|
dd as lazyChatConfig,
|
|
976
976
|
ud as lazyStagingConfig,
|
|
977
977
|
am as levenshteinDistance,
|
|
978
|
-
|
|
979
|
-
|
|
978
|
+
EA as queryBuilderCacheSlice,
|
|
979
|
+
PA as queryBuilderSlice,
|
|
980
980
|
o as regexPatterns,
|
|
981
|
-
|
|
982
|
-
|
|
981
|
+
_A as renderVariableUIForPreview,
|
|
982
|
+
OA as resizeImage,
|
|
983
983
|
Td as rnSecondaryAuth,
|
|
984
984
|
jT as roundNumber,
|
|
985
985
|
Kc as sanitizeBasicHtml,
|
|
986
|
-
Qc as
|
|
987
|
-
Xc as
|
|
988
|
-
jc as
|
|
986
|
+
Qc as sanitizeCssProperties,
|
|
987
|
+
Xc as sanitizeEmailHtml,
|
|
988
|
+
jc as sanitizePlainText,
|
|
989
|
+
Zc as stripHtmlTags,
|
|
989
990
|
Nl as stripMarkdownFormatting,
|
|
990
|
-
|
|
991
|
-
|
|
991
|
+
BA as toLiveChatText,
|
|
992
|
+
DA as toWhatsAppText,
|
|
992
993
|
ZT as truncateValueForIndianStore,
|
|
993
994
|
qT as truncateValueForInternationalStore,
|
|
994
995
|
JT as truncateValueTo10K,
|
|
@@ -999,14 +1000,14 @@ export {
|
|
|
999
1000
|
tc as truncateValueToL,
|
|
1000
1001
|
ac as truncateValueToM,
|
|
1001
1002
|
fc as truncateValueToT,
|
|
1002
|
-
|
|
1003
|
-
|
|
1003
|
+
MA as unwrapDropdownValue,
|
|
1004
|
+
kA as useAIChat,
|
|
1004
1005
|
om as useAIContext,
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1006
|
+
UA as useAgentDraft,
|
|
1007
|
+
wA as useFeatureAnnouncements,
|
|
1008
|
+
HA as useWhatsNew,
|
|
1008
1009
|
Bc as useWhatsNewContext,
|
|
1009
|
-
|
|
1010
|
+
CA as validateIsUrl,
|
|
1010
1011
|
Q as validateURL
|
|
1011
1012
|
};
|
|
1012
1013
|
//# sourceMappingURL=index.js.map
|