@bikdotai/bik-component-library 0.0.830 → 0.0.831-beta.0
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/components/agent-builder/AgentBuilder.js +1 -1
- package/dist/cjs/components/agent-builder/AgentBuilder.js.map +1 -1
- package/dist/cjs/components/agent-builder/AgentBuilder.styled.js +17 -65
- package/dist/cjs/components/agent-builder/AgentBuilder.styled.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/ConfigToolPanel.js +41 -0
- package/dist/cjs/components/agent-builder/components/ConfigToolPanel.js.map +1 -0
- package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js +5 -5
- package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/DrawerHeaderText.js +15 -0
- package/dist/cjs/components/agent-builder/components/DrawerHeaderText.js.map +1 -0
- package/dist/cjs/components/agent-builder/components/MentionEditor.js +1 -1
- package/dist/cjs/components/agent-builder/components/MentionEditor.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/MentionField.js +1 -1
- package/dist/cjs/components/agent-builder/components/MentionField.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/MentionPicker.js +20 -20
- package/dist/cjs/components/agent-builder/components/MentionPicker.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/RestApiToolPanel.js +23 -0
- package/dist/cjs/components/agent-builder/components/RestApiToolPanel.js.map +1 -0
- package/dist/cjs/components/agent-builder/components/SelectableListSection.js +5 -5
- package/dist/cjs/components/agent-builder/components/SelectableListSection.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/ToolInstructionsField.js +5 -0
- package/dist/cjs/components/agent-builder/components/ToolInstructionsField.js.map +1 -0
- package/dist/cjs/components/agent-builder/constants/tools.js +2 -0
- package/dist/cjs/components/agent-builder/constants/tools.js.map +1 -0
- package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js +1 -1
- package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
- package/dist/cjs/components/agent-builder/steps/Step3HowItResponds.js +1 -1
- package/dist/cjs/components/agent-builder/steps/Step3HowItResponds.js.map +1 -1
- package/dist/cjs/components/agent-builder/utils/mentionSerialization.js +3 -3
- package/dist/cjs/components/agent-builder/utils/mentionSerialization.js.map +1 -1
- package/dist/cjs/components/agent-builder/utils/sourceIcons.js +1 -1
- package/dist/cjs/components/agent-builder/utils/sourceIcons.js.map +1 -1
- package/dist/cjs/components/side-modal/SideModal.style.js +11 -10
- package/dist/cjs/components/side-modal/SideModal.style.js.map +1 -1
- package/dist/cjs/editor/extensions/mention/MentionExtension.js +1 -1
- package/dist/cjs/editor/extensions/mention/MentionExtension.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/components/agent-builder/AgentBuilder.js +100 -96
- package/dist/esm/components/agent-builder/AgentBuilder.js.map +1 -1
- package/dist/esm/components/agent-builder/AgentBuilder.model.d.ts +144 -1
- package/dist/esm/components/agent-builder/AgentBuilder.styled.d.ts +0 -21
- package/dist/esm/components/agent-builder/AgentBuilder.styled.js +42 -111
- package/dist/esm/components/agent-builder/AgentBuilder.styled.js.map +1 -1
- package/dist/esm/components/agent-builder/components/ConfigToolPanel.d.ts +33 -0
- package/dist/esm/components/agent-builder/components/ConfigToolPanel.js +251 -0
- package/dist/esm/components/agent-builder/components/ConfigToolPanel.js.map +1 -0
- package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.d.ts +9 -1
- package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js +318 -219
- package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
- package/dist/esm/components/agent-builder/components/DrawerHeaderText.d.ts +33 -0
- package/dist/esm/components/agent-builder/components/DrawerHeaderText.js +42 -0
- package/dist/esm/components/agent-builder/components/DrawerHeaderText.js.map +1 -0
- package/dist/esm/components/agent-builder/components/MentionEditor.d.ts +6 -0
- package/dist/esm/components/agent-builder/components/MentionEditor.js +38 -30
- package/dist/esm/components/agent-builder/components/MentionEditor.js.map +1 -1
- package/dist/esm/components/agent-builder/components/MentionField.js +77 -52
- package/dist/esm/components/agent-builder/components/MentionField.js.map +1 -1
- package/dist/esm/components/agent-builder/components/MentionPicker.d.ts +7 -0
- package/dist/esm/components/agent-builder/components/MentionPicker.js +162 -145
- package/dist/esm/components/agent-builder/components/MentionPicker.js.map +1 -1
- package/dist/esm/components/agent-builder/components/RestApiToolPanel.d.ts +27 -0
- package/dist/esm/components/agent-builder/components/RestApiToolPanel.js +270 -0
- package/dist/esm/components/agent-builder/components/RestApiToolPanel.js.map +1 -0
- package/dist/esm/components/agent-builder/components/SelectableListSection.d.ts +14 -0
- package/dist/esm/components/agent-builder/components/SelectableListSection.js +166 -140
- package/dist/esm/components/agent-builder/components/SelectableListSection.js.map +1 -1
- package/dist/esm/components/agent-builder/components/ToolInstructionsField.d.ts +19 -0
- package/dist/esm/components/agent-builder/components/ToolInstructionsField.js +66 -0
- package/dist/esm/components/agent-builder/components/ToolInstructionsField.js.map +1 -0
- package/dist/esm/components/agent-builder/constants/tools.d.ts +67 -0
- package/dist/esm/components/agent-builder/constants/tools.js +29 -0
- package/dist/esm/components/agent-builder/constants/tools.js.map +1 -0
- package/dist/esm/components/agent-builder/context/AgentBuilderContext.d.ts +19 -1
- package/dist/esm/components/agent-builder/context/AgentBuilderContext.js +169 -140
- package/dist/esm/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
- package/dist/esm/components/agent-builder/index.d.ts +2 -1
- package/dist/esm/components/agent-builder/steps/Step3HowItResponds.js +241 -141
- package/dist/esm/components/agent-builder/steps/Step3HowItResponds.js.map +1 -1
- package/dist/esm/components/agent-builder/utils/mentionSerialization.d.ts +18 -3
- package/dist/esm/components/agent-builder/utils/mentionSerialization.js +81 -62
- package/dist/esm/components/agent-builder/utils/mentionSerialization.js.map +1 -1
- package/dist/esm/components/agent-builder/utils/sourceIcons.d.ts +15 -9
- package/dist/esm/components/agent-builder/utils/sourceIcons.js +16 -8
- package/dist/esm/components/agent-builder/utils/sourceIcons.js.map +1 -1
- package/dist/esm/components/side-modal/SideModal.style.js +1 -0
- package/dist/esm/components/side-modal/SideModal.style.js.map +1 -1
- package/dist/esm/editor/extensions/mention/MentionExtension.js +60 -57
- package/dist/esm/editor/extensions/mention/MentionExtension.js.map +1 -1
- package/dist/esm/index.js +97 -95
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -369,42 +369,43 @@ import { TestimonialCard as BT } from "./components/testimonial-card/Testimonial
|
|
|
369
369
|
import { TextPickerModal as LT } from "./components/text-picker/TextPickerModal.js";
|
|
370
370
|
import { TimePicker as yT } from "./components/datePicker/TimePicker.js";
|
|
371
371
|
import { Toaster as FT } from "./components/toaster/Toaster.js";
|
|
372
|
-
import {
|
|
373
|
-
import {
|
|
374
|
-
import {
|
|
375
|
-
import {
|
|
376
|
-
import {
|
|
377
|
-
import {
|
|
378
|
-
import {
|
|
379
|
-
import {
|
|
380
|
-
import {
|
|
381
|
-
import {
|
|
382
|
-
import {
|
|
383
|
-
import {
|
|
384
|
-
import {
|
|
385
|
-
import {
|
|
386
|
-
import {
|
|
387
|
-
import {
|
|
388
|
-
import {
|
|
389
|
-
import {
|
|
390
|
-
import {
|
|
391
|
-
import {
|
|
392
|
-
import {
|
|
393
|
-
import {
|
|
394
|
-
import {
|
|
395
|
-
import {
|
|
396
|
-
import {
|
|
397
|
-
import {
|
|
398
|
-
import {
|
|
399
|
-
import {
|
|
400
|
-
import {
|
|
401
|
-
import {
|
|
402
|
-
import {
|
|
403
|
-
import {
|
|
404
|
-
import {
|
|
405
|
-
import {
|
|
406
|
-
import {
|
|
407
|
-
import {
|
|
372
|
+
import { ToolSource as bT } from "./components/agent-builder/constants/tools.js";
|
|
373
|
+
import { Tooltip as VT } from "./components/tooltips/Tooltip.js";
|
|
374
|
+
import { TruncateValue as GT, calculatePercentage as vT, roundNumber as WT, truncateValueForIndianStore as YT, truncateValueForInternationalStore as KT, truncateValueTo10K as QT, truncateValueToA as XT, truncateValueToB as zT, truncateValueToC as jT, truncateValueToK as ZT, truncateValueToL as qT, truncateValueToM as JT, truncateValueToT as $T } from "./components/analytics-chips-and-dropdowns/chart/utils/calcPercentage.js";
|
|
375
|
+
import { VariableEditorHelper as rc } from "./components/template-preview/helpers/VariableEditorHelper.js";
|
|
376
|
+
import { VariablePicker as tc } from "./components/variable-picker-v3/VariablePicker.js";
|
|
377
|
+
import { VerticalBarAndLinearGraph as fc } from "./components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js";
|
|
378
|
+
import { VerticalGraph as mc } from "./components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js";
|
|
379
|
+
import { VideoModal as xc } from "./components/feature-announcements/VideoModal.js";
|
|
380
|
+
import { WhatsAppFormatToHTML as ic } from "./components/template-preview/helpers/WhatsAppFormatToHTML.js";
|
|
381
|
+
import { WhatsAppTextEditor as dc } from "./components/WhatsAppTextEditor/WhatsAppTextEditor.js";
|
|
382
|
+
import { WhatsNew as Tc } from "./components/whats-new/WhatsNew.js";
|
|
383
|
+
import { WhatsNewButton as Ac } from "./components/whats-new/WhatsNewButton.js";
|
|
384
|
+
import { WhatsNewPanel as Sc } from "./components/whats-new/WhatsNewPanel.js";
|
|
385
|
+
import { WhatsNewProvider as Ic, useWhatsNewContext as Pc } from "./components/whats-new/WhatsNewProvider.js";
|
|
386
|
+
import { WhatsappIntegrationError as _c } from "./utils/logging/ErrorConstructor/WhatsappIntegrationError.js";
|
|
387
|
+
import { WhatsappLikePreview as Oc } from "./components/template-preview/WhatsApp/WhatsAppLikePreview.js";
|
|
388
|
+
import { WhatsappLikePreviewV2 as Nc } from "./components/template-preview/WhatsApp/WhatsAppLikePreviewV2.js";
|
|
389
|
+
import { buildAgentMentionItems as Dc, editorDocToInstructions as Lc, instructionsToEditorHtml as Mc } from "./components/agent-builder/utils/mentionSerialization.js";
|
|
390
|
+
import { environment as kc } from "./firebase/environment.js";
|
|
391
|
+
import { getAllDataFromTemplateComponent as Uc, getAllDataFromWebpushTemplateComponent as bc } from "./components/template-context-mapper/utils/getDataFromTemplateComponent.js";
|
|
392
|
+
import { getAuthMethods as Vc, getFirestoreLiteMethods as Hc, getFirestoreMethods as Gc, getFunctionsMethods as vc, getMessagingMethods as Wc, getStorageMethods as Yc } from "./firebase/lazyFirebaseMethods.js";
|
|
393
|
+
import { getBodyHtml as Qc, getSectionsHtml as Xc } from "./editor/BikEditor.utils.js";
|
|
394
|
+
import { getFireStoreDb as jc } from "./firebase/lazyFirestore.js";
|
|
395
|
+
import { getFireStoreLiteDb as qc } from "./firebase/lazyFirestoreLite.js";
|
|
396
|
+
import { getFirebaseChatStorage as $c } from "./firebase/lazyStorage.js";
|
|
397
|
+
import { isVariable as rA, validateIsUrl as eA } from "./components/template-context-mapper/utils/validateIsUrl.js";
|
|
398
|
+
import { queryBuilderCacheSlice as aA } from "./components/QueryBuilder/redux/queryBuilderCache.reducer.js";
|
|
399
|
+
import { queryBuilderSlice as pA } from "./components/QueryBuilder/redux/queryBuilder.reducer.js";
|
|
400
|
+
import { renderVariableUIForPreview as lA } from "./components/template-preview/helpers/SmsTemplateHelper.js";
|
|
401
|
+
import { resizeImage as nA } from "./utils/resizeImage.js";
|
|
402
|
+
import { toLiveChatText as sA } from "./editor/serializers/toLiveChatText.js";
|
|
403
|
+
import { toWhatsAppText as uA } from "./editor/serializers/toWhatsAppText.js";
|
|
404
|
+
import { unwrapDropdownValue as cA } from "./components/dropdown/utils.js";
|
|
405
|
+
import { useAIChat as CA } from "./components/bik-chatbot/services/useAIChat.js";
|
|
406
|
+
import { useAgentDraft as EA } from "./components/agent-builder/hooks/useAgentDraft.js";
|
|
407
|
+
import { useFeatureAnnouncements as PA } from "./components/feature-announcements/hooks/useFeatureAnnouncements.js";
|
|
408
|
+
import { useWhatsNew as _A } from "./components/whats-new/useWhatsNew.js";
|
|
408
409
|
export {
|
|
409
410
|
up as ACTIONS_TYPES,
|
|
410
411
|
Pp as AD_STRING_OPERATORS,
|
|
@@ -886,11 +887,12 @@ export {
|
|
|
886
887
|
w as TitleSmall,
|
|
887
888
|
V as TitleXlarge,
|
|
888
889
|
FT as Toaster,
|
|
889
|
-
bT as
|
|
890
|
+
bT as ToolSource,
|
|
891
|
+
VT as Tooltip,
|
|
890
892
|
Si as TooltipStyled,
|
|
891
893
|
kf as TrainingIcon,
|
|
892
894
|
Uf as TriangleError,
|
|
893
|
-
|
|
895
|
+
GT as TruncateValue,
|
|
894
896
|
Ep as UNSUBSCRIBE_URL_OPTION,
|
|
895
897
|
Pl as URL_PATTERN,
|
|
896
898
|
wf as Undo,
|
|
@@ -899,97 +901,97 @@ export {
|
|
|
899
901
|
q as UnsatisfactoryResponseList,
|
|
900
902
|
vf as Upload,
|
|
901
903
|
Yf as UserIcon,
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
904
|
+
rc as VariableEditorHelper,
|
|
905
|
+
tc as VariablePicker,
|
|
906
|
+
fc as VerticalBarAndLinearGraph,
|
|
905
907
|
Qf as VerticalDots,
|
|
906
908
|
zf as VerticalFullScreenModal,
|
|
907
|
-
|
|
909
|
+
mc as VerticalGraph,
|
|
908
910
|
Zf as VideoCamcorder,
|
|
909
|
-
|
|
911
|
+
xc as VideoModal,
|
|
910
912
|
Jf as VideoRecorder,
|
|
911
913
|
op as Warning,
|
|
912
914
|
ep as WarningIcon,
|
|
913
915
|
ap as Website,
|
|
914
|
-
|
|
915
|
-
|
|
916
|
+
ic as WhatsAppFormatToHTML,
|
|
917
|
+
dc as WhatsAppTextEditor,
|
|
916
918
|
Xp as WhatsAppTextEditorHeader,
|
|
917
|
-
|
|
918
|
-
|
|
919
|
+
Tc as WhatsNew,
|
|
920
|
+
Ac as WhatsNewButton,
|
|
919
921
|
pp as WhatsNewIcon,
|
|
920
922
|
Ul as WhatsNewIconContainer,
|
|
921
|
-
|
|
922
|
-
|
|
923
|
+
Sc as WhatsNewPanel,
|
|
924
|
+
Ic as WhatsNewProvider,
|
|
923
925
|
bl as WhatsNewWrapper,
|
|
924
926
|
lp as WhatsappChannel,
|
|
925
927
|
np as WhatsappColor,
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
928
|
+
_c as WhatsappIntegrationError,
|
|
929
|
+
Oc as WhatsappLikePreview,
|
|
930
|
+
Nc as WhatsappLikePreviewV2,
|
|
929
931
|
sp as WhiteStarFilled,
|
|
930
|
-
|
|
931
|
-
|
|
932
|
+
Dc as buildAgentMentionItems,
|
|
933
|
+
vT as calculatePercentage,
|
|
932
934
|
rm as computeAiTagOnAccept,
|
|
933
935
|
Vx as createSessionRecord,
|
|
934
936
|
Ni as dateOptions,
|
|
935
937
|
Ex as defaultTabs,
|
|
936
|
-
|
|
937
|
-
|
|
938
|
+
Lc as editorDocToInstructions,
|
|
939
|
+
kc as environment,
|
|
938
940
|
Rl as filterPhoneCandidates,
|
|
939
941
|
rl as formatDate,
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
942
|
+
Uc as getAllDataFromTemplateComponent,
|
|
943
|
+
bc as getAllDataFromWebpushTemplateComponent,
|
|
944
|
+
Vc as getAuthMethods,
|
|
945
|
+
Qc as getBodyHtml,
|
|
946
|
+
jc as getFireStoreDb,
|
|
947
|
+
qc as getFireStoreLiteDb,
|
|
948
|
+
$c as getFirebaseChatStorage,
|
|
949
|
+
Hc as getFirestoreLiteMethods,
|
|
950
|
+
Gc as getFirestoreMethods,
|
|
951
|
+
vc as getFunctionsMethods,
|
|
952
|
+
Wc as getMessagingMethods,
|
|
951
953
|
pd as getOrInitFirebaseChatApp,
|
|
952
|
-
|
|
953
|
-
|
|
954
|
+
Xc as getSectionsHtml,
|
|
955
|
+
Yc as getStorageMethods,
|
|
954
956
|
Gl as getUrlForBannerThirdPartyIcon,
|
|
955
957
|
jx as initialDynamicCouponErrorState,
|
|
956
958
|
Zx as initialStaticCouponErrorState,
|
|
957
|
-
|
|
959
|
+
Mc as instructionsToEditorHtml,
|
|
958
960
|
_l as isCompleteFormatting,
|
|
959
961
|
hl as isCompleteMarkdownLink,
|
|
960
962
|
Ol as isCompleteUrl,
|
|
961
|
-
|
|
963
|
+
rA as isVariable,
|
|
962
964
|
md as lazyChatConfig,
|
|
963
965
|
ld as lazyStagingConfig,
|
|
964
966
|
em as levenshteinDistance,
|
|
965
|
-
|
|
966
|
-
|
|
967
|
+
aA as queryBuilderCacheSlice,
|
|
968
|
+
pA as queryBuilderSlice,
|
|
967
969
|
o as regexPatterns,
|
|
968
|
-
|
|
969
|
-
|
|
970
|
+
lA as renderVariableUIForPreview,
|
|
971
|
+
nA as resizeImage,
|
|
970
972
|
xd as rnSecondaryAuth,
|
|
971
|
-
|
|
973
|
+
WT as roundNumber,
|
|
972
974
|
gl as stripMarkdownFormatting,
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
975
|
+
sA as toLiveChatText,
|
|
976
|
+
uA as toWhatsAppText,
|
|
977
|
+
YT as truncateValueForIndianStore,
|
|
978
|
+
KT as truncateValueForInternationalStore,
|
|
979
|
+
QT as truncateValueTo10K,
|
|
980
|
+
XT as truncateValueToA,
|
|
981
|
+
zT as truncateValueToB,
|
|
982
|
+
jT as truncateValueToC,
|
|
983
|
+
ZT as truncateValueToK,
|
|
984
|
+
qT as truncateValueToL,
|
|
985
|
+
JT as truncateValueToM,
|
|
986
|
+
$T as truncateValueToT,
|
|
987
|
+
cA as unwrapDropdownValue,
|
|
988
|
+
CA as useAIChat,
|
|
987
989
|
Jp as useAIContext,
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
990
|
+
EA as useAgentDraft,
|
|
991
|
+
PA as useFeatureAnnouncements,
|
|
992
|
+
_A as useWhatsNew,
|
|
993
|
+
Pc as useWhatsNewContext,
|
|
994
|
+
eA as validateIsUrl,
|
|
993
995
|
K as validateURL
|
|
994
996
|
};
|
|
995
997
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|