@cakemail-org/ui-components-v2 2.1.72 → 2.1.74

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/index.js CHANGED
@@ -10540,7 +10540,7 @@ function getBeeTokenService(_a) {
10540
10540
  function listList(_a) {
10541
10541
  var options = __rest(_a, []);
10542
10542
  return callApi({
10543
- url: uiKitConfig.GATEWAY_PROXY + "/lists/",
10543
+ url: uiKitConfig.GATEWAY_PROXY + "/lists",
10544
10544
  query: camelCase(options),
10545
10545
  fetchOptions: {
10546
10546
  method: exports.EMethods.get
@@ -17964,6 +17964,13 @@ exports.EPopupPosition = void 0;
17964
17964
  EPopupPosition["drawer_top"] = "bar-top";
17965
17965
  EPopupPosition["drawer_bottom"] = "bar-bottom";
17966
17966
  })(exports.EPopupPosition || (exports.EPopupPosition = {}));
17967
+ exports.EPopupCloseButtonPosition = void 0;
17968
+ (function (EPopupCloseButtonPosition) {
17969
+ EPopupCloseButtonPosition["top_right"] = "top-right";
17970
+ EPopupCloseButtonPosition["top_left"] = "top-left";
17971
+ EPopupCloseButtonPosition["bottom_right"] = "bottom-right";
17972
+ EPopupCloseButtonPosition["bottom_left"] = "bottom-left";
17973
+ })(exports.EPopupCloseButtonPosition || (exports.EPopupCloseButtonPosition = {}));
17967
17974
  exports.EPopupBranding = void 0;
17968
17975
  (function (EPopupBranding) {
17969
17976
  EPopupBranding["smart"] = "smart";
@@ -17990,6 +17997,8 @@ var ListPopupModel = /** @class */ (function () {
17990
17997
  this.targeting = params.targeting;
17991
17998
  this.display_frequency = params.display_frequency;
17992
17999
  this.thumbnail_url = params.thumbnail_url;
18000
+ this.overlay = params.overlay;
18001
+ this.closeButton = params.closeButton;
17993
18002
  }
17994
18003
  ListPopupModel.prototype.toJson = function () {
17995
18004
  return modelToJson(this);
@@ -1,5 +1,5 @@
1
1
  import { TDeleteApiResource } from "../../types";
2
- import { EPopupBranding, EPopupDisplayFrequency, TPopupContent, TPopupModel, TPopupTargeting, TPopupTrigger, TPopupUser } from "./types";
2
+ import { EPopupBranding, EPopupDisplayFrequency, TPopupButton, TPopupContent, TPopupModel, TPopupOverlay, TPopupTargeting, TPopupTrigger, TPopupUser } from "./types";
3
3
  export declare class ListPopupModel {
4
4
  id: string;
5
5
  list_id: number;
@@ -19,6 +19,8 @@ export declare class ListPopupModel {
19
19
  targeting: TPopupTargeting;
20
20
  display_frequency: EPopupDisplayFrequency;
21
21
  thumbnail_url: string;
22
+ overlay: TPopupOverlay;
23
+ closeButton: TPopupButton;
22
24
  constructor(params: TPopupModel);
23
25
  toJson(): any;
24
26
  set<T extends keyof this>(property: T, value: this[T]): void;
@@ -17,6 +17,8 @@ export type TPopupModel = {
17
17
  targeting: TPopupTargeting;
18
18
  display_frequency: EPopupDisplayFrequency;
19
19
  thumbnail_url: string;
20
+ overlay: TPopupOverlay;
21
+ closeButton: TPopupButton;
20
22
  };
21
23
  export type TPopupUser = {
22
24
  id: string;
@@ -45,6 +47,14 @@ export type TPopupContent = {
45
47
  json?: Record<string, any>;
46
48
  published_content?: string | null;
47
49
  };
50
+ export type TPopupOverlay = {
51
+ color: string;
52
+ opacity: number;
53
+ };
54
+ export type TPopupButton = {
55
+ position: EPopupCloseButtonPosition;
56
+ color: string;
57
+ };
48
58
  export declare enum EPopupTriggerType {
49
59
  on_page_load = "on_page_load",
50
60
  on_exit_intent = "on_exit_intent",
@@ -83,6 +93,12 @@ export declare enum EPopupPosition {
83
93
  drawer_top = "bar-top",
84
94
  drawer_bottom = "bar-bottom"
85
95
  }
96
+ export declare enum EPopupCloseButtonPosition {
97
+ top_right = "top-right",
98
+ top_left = "top-left",
99
+ bottom_right = "bottom-right",
100
+ bottom_left = "bottom-left"
101
+ }
86
102
  export declare enum EPopupBranding {
87
103
  smart = "smart",
88
104
  basic = "basic"
package/dist/esm/index.js CHANGED
@@ -10520,7 +10520,7 @@ function getBeeTokenService(_a) {
10520
10520
  function listList(_a) {
10521
10521
  var options = __rest(_a, []);
10522
10522
  return callApi({
10523
- url: uiKitConfig.GATEWAY_PROXY + "/lists/",
10523
+ url: uiKitConfig.GATEWAY_PROXY + "/lists",
10524
10524
  query: camelCase(options),
10525
10525
  fetchOptions: {
10526
10526
  method: EMethods.get
@@ -17944,6 +17944,13 @@ var EPopupPosition;
17944
17944
  EPopupPosition["drawer_top"] = "bar-top";
17945
17945
  EPopupPosition["drawer_bottom"] = "bar-bottom";
17946
17946
  })(EPopupPosition || (EPopupPosition = {}));
17947
+ var EPopupCloseButtonPosition;
17948
+ (function (EPopupCloseButtonPosition) {
17949
+ EPopupCloseButtonPosition["top_right"] = "top-right";
17950
+ EPopupCloseButtonPosition["top_left"] = "top-left";
17951
+ EPopupCloseButtonPosition["bottom_right"] = "bottom-right";
17952
+ EPopupCloseButtonPosition["bottom_left"] = "bottom-left";
17953
+ })(EPopupCloseButtonPosition || (EPopupCloseButtonPosition = {}));
17947
17954
  var EPopupBranding;
17948
17955
  (function (EPopupBranding) {
17949
17956
  EPopupBranding["smart"] = "smart";
@@ -17970,6 +17977,8 @@ var ListPopupModel = /** @class */ (function () {
17970
17977
  this.targeting = params.targeting;
17971
17978
  this.display_frequency = params.display_frequency;
17972
17979
  this.thumbnail_url = params.thumbnail_url;
17980
+ this.overlay = params.overlay;
17981
+ this.closeButton = params.closeButton;
17973
17982
  }
17974
17983
  ListPopupModel.prototype.toJson = function () {
17975
17984
  return modelToJson(this);
@@ -18788,4 +18797,4 @@ var UsersFactory = /** @class */ (function () {
18788
18797
  return UsersFactory;
18789
18798
  }());
18790
18799
 
18791
- export { AccountModel, AccountsFactory, ActionBarContainer, ActionBarContainerHandler, AssetManager, AutomationModel, AutomationsFactory, Avatar, BillingFactory, BrandWrapper, BrandsFactory, Button, ButtonMenu, CampaignModel, CampaignsFactory, Checkbox, Chip, CircularProgress, CodeInput, ColManager, ColorTextField, CommonFormModel, ContactModel, ContactsFactory, ContentSectionContainer, CopyToClipboard, CountryDropdown, CustomerModel, DataTable, DataTableHead, DataTableRow, DateCalendar, DatePicker, DateTimeCalendar, DateTimePicker, Dialog, DialogActions, DialogHandler, DialogTitle, Divider, Drawer, DrawerHandler, DropMenu, Dropdown, EApiLanguages, EAssetManagerMatchType, ECampaignStatuses, EEMailSummaryStatuses, EEditorType, EEmailAttachementTypes, EEmailLogType, EEmailLogTypeParam, EEmailProviders, EEmailSummaryEngagement, EEvents, EListAttributeType, EMethods, EOperatorTypes, EPartialInfoPool, EPopupBranding, EPopupBrowserType, EPopupDeviceType, EPopupDisplayFrequency, EPopupPosition, EPopupTriggerType, EStorageType, ETaskType, ElementContains, Email, EmailAPIFactory, EmptyContent, EnhancedFormModel, FileUpload, FilterBar, FormModel, FormsFactory, FullBar, GenericWrapper, GenericWrapperContext, GroupedActions, Header, Icon, IconPill, InformationGroup, InlineTextEdit, LinearProgress, Link, ListCampaignModel, ListModel, ListPopupModel, ListTemplateModel, ListsFactory, LoadingContainer, LocationTextField, Logo, MD5, MetricCard, Modal, ModalHandler, ModalHeading, OverlayHandler, PhoneTextField, PopupModel, PopupsFactory, Radio, ResourceEdit, Search, SenderModel, SendersFactory, SideMenu, SideMenuContainer, SideMenuItem, SubNav, SummaryEnhancedFormModel, SupportFactory, SuppressedEmailsFactory, SystemEmailsFactory, SystemEmailsModel, TagsFactory, TasksFactory, TemplateModel, TemplatesFactory, TextField, TimePicker, TimeSelector, Toggle, TopMenu, Typography, UserModel, UsersFactory, acceptListPolicy, addPartialInformation, addSuppressedEmail, addToImpersonificationTree, amIImpersonating, amILoggedInService, archiveCampaign, areAllPropertiesEmpty, buildMUITheme, callApi, camelCase, camelToSnakeCase, cancelCampaign, capitalizeFirstLetter, cleanPostHogId, clearImpersonificationTree, clearStorage, connectToZendeskSupportService, createAccount, createBrand, createCampaign, createCampaignLogsExports, createCampaignsReportsExport, createForm, createPopup, createSuppressedEmailExport, createTemplate, deepMergeObject, deleteAnyAutomation, deleteAutomation, deleteCampaign, deleteCampaignsReportsExport, deleteForm, deleteList, deletePartialInformation, deletePopup, deleteStorageItem, deleteSuppressedEmail, deleteTaskService, deleteTemplate, deleteUser, deleteWorkflow, descendingComparator, disableForm, disablePopup, downloadCampaignLogExport, downloadCampaignsReportsExport, downloadContactsExport, downloadListLogExport, downloadSuppressedEmailExport, emptyAccountAddress, emptyAccountLimits, enableForm, enablePopup, enrichBrand, enrichOrganization, enrichProfile, eventCondition, eventIdentify, eventLogout, fetchRetry, fetchRoute, findNestedProperty, formatNumber, getAccount, getAccountReport, getAdjustedBillingCycle, getAutomationExecutionsCount, getAutomationStats, getBeeTokenService, getBestLocalMatch, getBrand, getBrandService, getBrandUrl, getCalendarFormat, getCampaign, getCampaignLinks, getCampaignLinksReport, getCampaignLogs, getCampaignLogsExports, getCampaignReport, getCampaignRevisions, getCampaignsReportsExport, getComparator, getCustomerProfile, getDate, getDomainFromEmail, getDomainsFromEmails, getDomainsService, getEmail, getEmailActivitySummary, getEmailReport, getEndOfDate, getForm, getHashQueryWithoutHistory, getIconSize, getList, getListLogs, getListReport, getNestedProperty, getPopup, getPropertyValue, getSender, getStartOfDate, getStorage, getSuppressedEmailExport, getTColor, getTaskService, getTemplate, getUnixTime, getUrlQueryParam, getUser, getUtmCookies, googlePlacesMapper, hasDecimal, impersonateService, initFieldValidation, initPostHog, isColorLight, isDomainValidService, isSimpleType, isValidEmail, isValidString, isValidUrl, lisTEmailTags, listAccounts, listAutomations, listCampaigns, listCampaignsReportsExports, listContacts, listEmailLogs, listForms, listList, listListAttributes, listListInterests, listPopups, listSenders, listSuppressedEmails, listSystemEmails, listTasksService, listTemplates, listUsers, listWorkflows, logOutService, loginService, miliToSecond, modelSet, modelToJson, originalBrand, patchForm, popImpersonificationTree, postMessage, publishForm, publishPopup, reScheduleCampaign, removeEmptyProperties, removeQueryParams, removeTrailingChar, renderCampaign, renderForm, renderPopup, renderPublicHtmlForm, renderTemplate, requestSupportService, resendVerificationEmail, resumeCampaign, saveList, scheduleCampaign, searchCustomerProfiles, sendCampaignTest, setBrandHeadElements, setStorage, shareTemplate, splitArray, splitObject, stableSort, startPromisePool, suspendCampaign, trackEvent, truncateEmail, truncateText, uiKitConfig, unArchiveCampaign, unScheduleCampaign, unshareTemplate, updateAccount, updateAndClearUrlParams, updateAnyAutomation, updateAutomation, updateCampaign, updatePopup, updateSystemEmails, updateTemplate, updateUser, updateWorkflow, validateColor, validateEmail, validateGenericInput, validateUrl, wait, whiteLabelBrand, whoAmi };
18800
+ export { AccountModel, AccountsFactory, ActionBarContainer, ActionBarContainerHandler, AssetManager, AutomationModel, AutomationsFactory, Avatar, BillingFactory, BrandWrapper, BrandsFactory, Button, ButtonMenu, CampaignModel, CampaignsFactory, Checkbox, Chip, CircularProgress, CodeInput, ColManager, ColorTextField, CommonFormModel, ContactModel, ContactsFactory, ContentSectionContainer, CopyToClipboard, CountryDropdown, CustomerModel, DataTable, DataTableHead, DataTableRow, DateCalendar, DatePicker, DateTimeCalendar, DateTimePicker, Dialog, DialogActions, DialogHandler, DialogTitle, Divider, Drawer, DrawerHandler, DropMenu, Dropdown, EApiLanguages, EAssetManagerMatchType, ECampaignStatuses, EEMailSummaryStatuses, EEditorType, EEmailAttachementTypes, EEmailLogType, EEmailLogTypeParam, EEmailProviders, EEmailSummaryEngagement, EEvents, EListAttributeType, EMethods, EOperatorTypes, EPartialInfoPool, EPopupBranding, EPopupBrowserType, EPopupCloseButtonPosition, EPopupDeviceType, EPopupDisplayFrequency, EPopupPosition, EPopupTriggerType, EStorageType, ETaskType, ElementContains, Email, EmailAPIFactory, EmptyContent, EnhancedFormModel, FileUpload, FilterBar, FormModel, FormsFactory, FullBar, GenericWrapper, GenericWrapperContext, GroupedActions, Header, Icon, IconPill, InformationGroup, InlineTextEdit, LinearProgress, Link, ListCampaignModel, ListModel, ListPopupModel, ListTemplateModel, ListsFactory, LoadingContainer, LocationTextField, Logo, MD5, MetricCard, Modal, ModalHandler, ModalHeading, OverlayHandler, PhoneTextField, PopupModel, PopupsFactory, Radio, ResourceEdit, Search, SenderModel, SendersFactory, SideMenu, SideMenuContainer, SideMenuItem, SubNav, SummaryEnhancedFormModel, SupportFactory, SuppressedEmailsFactory, SystemEmailsFactory, SystemEmailsModel, TagsFactory, TasksFactory, TemplateModel, TemplatesFactory, TextField, TimePicker, TimeSelector, Toggle, TopMenu, Typography, UserModel, UsersFactory, acceptListPolicy, addPartialInformation, addSuppressedEmail, addToImpersonificationTree, amIImpersonating, amILoggedInService, archiveCampaign, areAllPropertiesEmpty, buildMUITheme, callApi, camelCase, camelToSnakeCase, cancelCampaign, capitalizeFirstLetter, cleanPostHogId, clearImpersonificationTree, clearStorage, connectToZendeskSupportService, createAccount, createBrand, createCampaign, createCampaignLogsExports, createCampaignsReportsExport, createForm, createPopup, createSuppressedEmailExport, createTemplate, deepMergeObject, deleteAnyAutomation, deleteAutomation, deleteCampaign, deleteCampaignsReportsExport, deleteForm, deleteList, deletePartialInformation, deletePopup, deleteStorageItem, deleteSuppressedEmail, deleteTaskService, deleteTemplate, deleteUser, deleteWorkflow, descendingComparator, disableForm, disablePopup, downloadCampaignLogExport, downloadCampaignsReportsExport, downloadContactsExport, downloadListLogExport, downloadSuppressedEmailExport, emptyAccountAddress, emptyAccountLimits, enableForm, enablePopup, enrichBrand, enrichOrganization, enrichProfile, eventCondition, eventIdentify, eventLogout, fetchRetry, fetchRoute, findNestedProperty, formatNumber, getAccount, getAccountReport, getAdjustedBillingCycle, getAutomationExecutionsCount, getAutomationStats, getBeeTokenService, getBestLocalMatch, getBrand, getBrandService, getBrandUrl, getCalendarFormat, getCampaign, getCampaignLinks, getCampaignLinksReport, getCampaignLogs, getCampaignLogsExports, getCampaignReport, getCampaignRevisions, getCampaignsReportsExport, getComparator, getCustomerProfile, getDate, getDomainFromEmail, getDomainsFromEmails, getDomainsService, getEmail, getEmailActivitySummary, getEmailReport, getEndOfDate, getForm, getHashQueryWithoutHistory, getIconSize, getList, getListLogs, getListReport, getNestedProperty, getPopup, getPropertyValue, getSender, getStartOfDate, getStorage, getSuppressedEmailExport, getTColor, getTaskService, getTemplate, getUnixTime, getUrlQueryParam, getUser, getUtmCookies, googlePlacesMapper, hasDecimal, impersonateService, initFieldValidation, initPostHog, isColorLight, isDomainValidService, isSimpleType, isValidEmail, isValidString, isValidUrl, lisTEmailTags, listAccounts, listAutomations, listCampaigns, listCampaignsReportsExports, listContacts, listEmailLogs, listForms, listList, listListAttributes, listListInterests, listPopups, listSenders, listSuppressedEmails, listSystemEmails, listTasksService, listTemplates, listUsers, listWorkflows, logOutService, loginService, miliToSecond, modelSet, modelToJson, originalBrand, patchForm, popImpersonificationTree, postMessage, publishForm, publishPopup, reScheduleCampaign, removeEmptyProperties, removeQueryParams, removeTrailingChar, renderCampaign, renderForm, renderPopup, renderPublicHtmlForm, renderTemplate, requestSupportService, resendVerificationEmail, resumeCampaign, saveList, scheduleCampaign, searchCustomerProfiles, sendCampaignTest, setBrandHeadElements, setStorage, shareTemplate, splitArray, splitObject, stableSort, startPromisePool, suspendCampaign, trackEvent, truncateEmail, truncateText, uiKitConfig, unArchiveCampaign, unScheduleCampaign, unshareTemplate, updateAccount, updateAndClearUrlParams, updateAnyAutomation, updateAutomation, updateCampaign, updatePopup, updateSystemEmails, updateTemplate, updateUser, updateWorkflow, validateColor, validateEmail, validateGenericInput, validateUrl, wait, whiteLabelBrand, whoAmi };
@@ -1,5 +1,5 @@
1
1
  import { TDeleteApiResource } from "../../types";
2
- import { EPopupBranding, EPopupDisplayFrequency, TPopupContent, TPopupModel, TPopupTargeting, TPopupTrigger, TPopupUser } from "./types";
2
+ import { EPopupBranding, EPopupDisplayFrequency, TPopupButton, TPopupContent, TPopupModel, TPopupOverlay, TPopupTargeting, TPopupTrigger, TPopupUser } from "./types";
3
3
  export declare class ListPopupModel {
4
4
  id: string;
5
5
  list_id: number;
@@ -19,6 +19,8 @@ export declare class ListPopupModel {
19
19
  targeting: TPopupTargeting;
20
20
  display_frequency: EPopupDisplayFrequency;
21
21
  thumbnail_url: string;
22
+ overlay: TPopupOverlay;
23
+ closeButton: TPopupButton;
22
24
  constructor(params: TPopupModel);
23
25
  toJson(): any;
24
26
  set<T extends keyof this>(property: T, value: this[T]): void;
@@ -17,6 +17,8 @@ export type TPopupModel = {
17
17
  targeting: TPopupTargeting;
18
18
  display_frequency: EPopupDisplayFrequency;
19
19
  thumbnail_url: string;
20
+ overlay: TPopupOverlay;
21
+ closeButton: TPopupButton;
20
22
  };
21
23
  export type TPopupUser = {
22
24
  id: string;
@@ -45,6 +47,14 @@ export type TPopupContent = {
45
47
  json?: Record<string, any>;
46
48
  published_content?: string | null;
47
49
  };
50
+ export type TPopupOverlay = {
51
+ color: string;
52
+ opacity: number;
53
+ };
54
+ export type TPopupButton = {
55
+ position: EPopupCloseButtonPosition;
56
+ color: string;
57
+ };
48
58
  export declare enum EPopupTriggerType {
49
59
  on_page_load = "on_page_load",
50
60
  on_exit_intent = "on_exit_intent",
@@ -83,6 +93,12 @@ export declare enum EPopupPosition {
83
93
  drawer_top = "bar-top",
84
94
  drawer_bottom = "bar-bottom"
85
95
  }
96
+ export declare enum EPopupCloseButtonPosition {
97
+ top_right = "top-right",
98
+ top_left = "top-left",
99
+ bottom_right = "bottom-right",
100
+ bottom_left = "bottom-left"
101
+ }
86
102
  export declare enum EPopupBranding {
87
103
  smart = "smart",
88
104
  basic = "basic"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.1.72",
3
+ "version": "2.1.74",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",