@designcrowd/library.brand-page 5.10.1 → 5.10.2

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.
@@ -863,6 +863,9 @@ declare const _default: import("vue").DefineComponent<{}, {
863
863
  sendPublishOptionsForFreeEvent: () => void;
864
864
  sendPublishOptionsForPremiumEvent: () => void;
865
865
  sendPublishOptionsForExitEvent: () => void;
866
+ sendTemplateSearchEvent: (searchString: string) => void;
867
+ sendTemplateSelectEvent: (templateId: string) => void;
868
+ sendTemplateCategorySelectEvent: (category: string) => void;
866
869
  sendSidebarCategoryClickedEvent: (tabName: string) => void;
867
870
  };
868
871
  externalEditor: import("@tiptap/vue-3").Editor;
@@ -28,6 +28,9 @@ export declare const EVENTS: {
28
28
  WEBSITE_MAKER_REMOVE_PAGE: string;
29
29
  WEBSITE_MAKER_REORDER_PAGE: string;
30
30
  WEBSITE_MAKER_PUBLISH_UPSELL_OPTION_MODAL: string;
31
+ WEBSITE_MAKER_TEMPLATE_SEARCH: string;
32
+ WEBSITE_MAKER_TEMPLATE_SELECT: string;
33
+ WEBSITE_MAKER_TEMPLATE_CATEGORY_SELECT: string;
31
34
  WEBSITE_SIDEBAR_TAB_CLICKED: string;
32
35
  };
33
36
  export declare const SELECT_LOCATIONS: {
@@ -75,6 +78,9 @@ declare const useEventTracker: () => {
75
78
  sendPublishOptionsForFreeEvent: () => void;
76
79
  sendPublishOptionsForPremiumEvent: () => void;
77
80
  sendPublishOptionsForExitEvent: () => void;
81
+ sendTemplateSearchEvent: (searchString: string) => void;
82
+ sendTemplateSelectEvent: (templateId: string) => void;
83
+ sendTemplateCategorySelectEvent: (category: string) => void;
78
84
  sendSidebarCategoryClickedEvent: (tabName: string) => void;
79
85
  };
80
86
  export { useEventTracker };
@@ -11,6 +11,9 @@ export const EVENTS = {
11
11
  WEBSITE_MAKER_REMOVE_PAGE: 'website_maker_remove_page',
12
12
  WEBSITE_MAKER_REORDER_PAGE: 'website_maker_reorder_page',
13
13
  WEBSITE_MAKER_PUBLISH_UPSELL_OPTION_MODAL: 'website_maker_publish_upsell_option_modal',
14
+ WEBSITE_MAKER_TEMPLATE_SEARCH: 'website_maker_template_search',
15
+ WEBSITE_MAKER_TEMPLATE_SELECT: 'website_maker_template_select',
16
+ WEBSITE_MAKER_TEMPLATE_CATEGORY_SELECT: 'website_maker_template_category_select',
14
17
  WEBSITE_SIDEBAR_TAB_CLICKED: 'website_sidebar_tab_clicked',
15
18
  };
16
19
  export const SELECT_LOCATIONS = {
@@ -138,6 +141,22 @@ const useEventTracker = () => {
138
141
  upsell_option_continuation: PUBLISH_OPTION_MODAL_CONTINUATION_EVENTS.EXIT,
139
142
  });
140
143
  },
144
+ // Template sidebar events
145
+ sendTemplateSearchEvent: (searchString) => {
146
+ _publishEvent(EVENTS.WEBSITE_MAKER_TEMPLATE_SEARCH, {
147
+ search_string: searchString,
148
+ });
149
+ },
150
+ sendTemplateSelectEvent: (templateId) => {
151
+ _publishEvent(EVENTS.WEBSITE_MAKER_TEMPLATE_SELECT, {
152
+ template_id: templateId,
153
+ });
154
+ },
155
+ sendTemplateCategorySelectEvent: (category) => {
156
+ _publishEvent(EVENTS.WEBSITE_MAKER_TEMPLATE_CATEGORY_SELECT, {
157
+ category,
158
+ });
159
+ },
141
160
  sendSidebarCategoryClickedEvent: (tabName) => {
142
161
  _publishEvent(EVENTS.WEBSITE_SIDEBAR_TAB_CLICKED, {
143
162
  sidebar_category_tab_name: tabName,