update
4769
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/css/builder.css
vendored
Normal file
3705
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/css/global.css
vendored
Normal file
BIN
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/img/profile_pic_1.png
vendored
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/img/profile_pic_2.png
vendored
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/img/profile_pic_3.png
vendored
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/img/profile_pic_4.png
vendored
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/img/profile_pic_5.png
vendored
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/img/sby_channel_logo.png
vendored
Normal file
|
After Width: | Height: | Size: 619 B |
|
After Width: | Height: | Size: 157 KiB |
|
After Width: | Height: | Size: 175 KiB |
|
After Width: | Height: | Size: 257 KiB |
1702
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/js/builder.js
vendored
Normal file
2
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/js/builder.min.js
vendored
Normal file
105
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/js/confirm-dialog.js
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
/**
|
||||
* Confirm Dialog Box Popup
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
Vue.component('sb-confirm-dialog-component', {
|
||||
name: 'sb-confirm-dialog-component',
|
||||
template: '#sb-confirm-dialog-component',
|
||||
props: [
|
||||
'dialogBox',
|
||||
'sourceToDelete',
|
||||
'genericText',
|
||||
'genericLink',
|
||||
'svgIcons',
|
||||
'parentType',
|
||||
'parent'
|
||||
],
|
||||
computed : {
|
||||
dialogBoxElement :function(){
|
||||
return this.dialogBox;
|
||||
}
|
||||
},
|
||||
methods : {
|
||||
|
||||
/**
|
||||
* Confirm Dialog Button text
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
getButtonText : function(type, dialogBoxElement){
|
||||
if(type == 'confirm'){
|
||||
if(dialogBoxElement.customButtons != undefined){
|
||||
return dialogBoxElement.customButtons.confirm.text;
|
||||
}
|
||||
return this.genericText.confirm;
|
||||
}
|
||||
if(type == 'cancel'){
|
||||
if(dialogBoxElement.customButtons != undefined){
|
||||
return dialogBoxElement.customButtons.cancel.text;
|
||||
}
|
||||
return this.genericText.cancel;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Confirm Dialog Box Button Background
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
getButtonBackground : function(type, dialogBoxElement){
|
||||
var color = '';
|
||||
if(type == 'confirm'){
|
||||
if(dialogBoxElement.customButtons != undefined){
|
||||
color = dialogBoxElement.customButtons.confirm.color;
|
||||
}else{
|
||||
color = 'red';
|
||||
}
|
||||
}
|
||||
if(type == 'cancel'){
|
||||
if(dialogBoxElement.customButtons != undefined){
|
||||
color = dialogBoxElement.customButtons.cancel.color;
|
||||
}else{
|
||||
color = 'grey';
|
||||
}
|
||||
}
|
||||
return 'sb-btn-' + color;
|
||||
},
|
||||
|
||||
/**
|
||||
* Confirm Dialog Box
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
confirmDialogAction : function(){
|
||||
var self = this;
|
||||
self.$parent.confirmDialogAction();
|
||||
self.closeConfirmDialog();
|
||||
},
|
||||
|
||||
/**
|
||||
* Close Dialog Box
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
closeConfirmDialog : function(){
|
||||
var self = this;
|
||||
if( self.parentType == 'builder' ){
|
||||
self.$parent.sourceToDelete = {};
|
||||
self.$parent.feedToDelete = {};
|
||||
}
|
||||
if(self.dialogBoxElement.type == 'unsavedFeedSources'){
|
||||
self.$parent.viewsActive.feedtypesCustomizerPopup = false;
|
||||
}
|
||||
|
||||
var dialogBox = {
|
||||
active : false,
|
||||
type : null,
|
||||
heading : null,
|
||||
description : null,
|
||||
customButtons : undefined
|
||||
};
|
||||
self.$emit('update:dialogBox', dialogBox)
|
||||
},
|
||||
}
|
||||
});
|
||||
8
wp-content/plugins/youtube-feed-pro/vendor/smashballoon/customizer/assets/js/main.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import {createHooks} from "@wordpress/hooks";
|
||||
|
||||
window.SB_Customizer = {
|
||||
extraMethods: {},
|
||||
extraData: {}
|
||||
};
|
||||
|
||||
SB_Customizer.hooks = createHooks();
|
||||