-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add lazy and theme_color how configurable parameters
-Add theme_color in NgxFacebookMessengerOptions how configurable option for plugin facebook -Add lazy how option for load on demand the plugin if is necesary
- Loading branch information
Showing
5 changed files
with
92 additions
and
36 deletions.
There are no files selected for viewing
33 changes: 16 additions & 17 deletions
33
libs/ngx-facebook-messenger/src/lib/constant/customer-chat.constant.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
export enum CUSTOMER_CHAT { | ||
SHOW = 'customerchat.show', | ||
HIDE = 'customerchat.hide', | ||
LOAD = 'customerchat.load', | ||
DIALOG_SHOW = 'customerchat.dialogShow', | ||
DIALOG_HIDE = 'customerchat.dialogHide' | ||
SHOW = 'customerchat.show', | ||
HIDE = 'customerchat.hide', | ||
LOAD = 'customerchat.load', | ||
DIALOG_SHOW = 'customerchat.dialogShow', | ||
DIALOG_HIDE = 'customerchat.dialogHide', | ||
} | ||
|
||
export enum VIEW_BUTTON { | ||
ICON = 'ICON', | ||
ICON_TEXT = 'ICON_TEXT', | ||
TEXT = 'TEXT' | ||
ICON = 'ICON', | ||
ICON_TEXT = 'ICON_TEXT', | ||
TEXT = 'TEXT', | ||
} | ||
|
||
export enum STYLE_BUTTON { | ||
ROUNDED_LOGO = 'ROUNDED_LOGO', | ||
ROUNDED = 'ROUNDED', | ||
SQUARED = 'SQUARED' | ||
ROUNDED_LOGO = 'ROUNDED_LOGO', | ||
ROUNDED = 'ROUNDED', | ||
SQUARED = 'SQUARED', | ||
} | ||
|
||
export enum SIZE_BUTTON_MOBILE { | ||
STANDARD = 'STANDARD_MOBILE', | ||
COMPACT = 'COMPACT_MOBILE' | ||
STANDARD = 'STANDARD_MOBILE', | ||
COMPACT = 'COMPACT_MOBILE', | ||
} | ||
|
||
export enum SIZE_BUTTON_DESKTOP { | ||
STANDARD = 'STANDARD_DESKTOP', | ||
COMPACT = 'COMPACT_DESKTOP' | ||
STANDARD = 'STANDARD_DESKTOP', | ||
COMPACT = 'COMPACT_DESKTOP', | ||
} | ||
|
||
|
||
export const DEFAULT_GREETING = 'Hello, how can we help you?'; | ||
export const DEFAULT_GREETING = 'Hello, how can we help you?'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from './facebook.interface'; | ||
export * from './ngx-facebook-messenger.interface'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters