From 6aa3b3ffddf0bd035f325fdd3eaa43e1d6a8b5ec Mon Sep 17 00:00:00 2001 From: Sapayth Hossain Date: Thu, 31 Oct 2024 10:32:58 +0600 Subject: [PATCH] enhance: form builder field Cloudflare Turnstile --- Lib/WeDevs_Settings_API.php | 1 - .../form-cloudflare_turnstile/index.js | 36 ++++ .../form-cloudflare_turnstile/template.php | 12 ++ admin/form-builder/assets/js/mixins/global.js | 4 + .../cloudflare-placeholder-dark-compact.png | Bin 0 -> 7079 bytes assets/images/cloudflare-placeholder-dark.png | Bin 0 -> 8217 bytes .../cloudflare-placeholder-light-compact.png | Bin 0 -> 7476 bytes .../images/cloudflare-placeholder-light.png | Bin 0 -> 8228 bytes assets/js-templates/form-components.php | 15 ++ assets/js/wpuf-form-builder-components.js | 37 ++++ assets/js/wpuf-form-builder-mixins.js | 4 + includes/Admin/Forms/Admin_Form_Builder.php | 4 + includes/Admin/Forms/Field_Manager.php | 41 +++-- .../Form_Field_Cloudflare_Turnstile.php | 168 ++++++++++++++++++ 14 files changed, 302 insertions(+), 20 deletions(-) create mode 100644 admin/form-builder/assets/js/components/form-cloudflare_turnstile/index.js create mode 100644 admin/form-builder/assets/js/components/form-cloudflare_turnstile/template.php create mode 100644 assets/images/cloudflare-placeholder-dark-compact.png create mode 100644 assets/images/cloudflare-placeholder-dark.png create mode 100644 assets/images/cloudflare-placeholder-light-compact.png create mode 100644 assets/images/cloudflare-placeholder-light.png create mode 100755 includes/Fields/Form_Field_Cloudflare_Turnstile.php diff --git a/Lib/WeDevs_Settings_API.php b/Lib/WeDevs_Settings_API.php index eac841279..9f3098aa8 100644 --- a/Lib/WeDevs_Settings_API.php +++ b/Lib/WeDevs_Settings_API.php @@ -710,7 +710,6 @@ function(){ // disable the pro preview checkboxes $('span.pro-icon-title').siblings('input[type="checkbox"]').prop('disabled', true); - var fields = $('table.form-table input, table.form-table select, table.form-table textarea'); // iterate over each field and check if it depends on another field diff --git a/admin/form-builder/assets/js/components/form-cloudflare_turnstile/index.js b/admin/form-builder/assets/js/components/form-cloudflare_turnstile/index.js new file mode 100644 index 000000000..1de5a8a4b --- /dev/null +++ b/admin/form-builder/assets/js/components/form-cloudflare_turnstile/index.js @@ -0,0 +1,36 @@ +/** + * Field template: Cloudflare Turnstile + */ +Vue.component('form-cloudflare_turnstile', { + template: '#tmpl-wpuf-form-cloudflare_turnstile', + + mixins: [ + wpuf_mixins.form_field_mixin + ], + + computed: { + has_turnstile_api_keys: function () { + return wpuf_form_builder.turnstile_site && wpuf_form_builder.turnstile_secret; + }, + + no_api_keys_msg: function () { + return wpuf_form_builder.field_settings.turnstile.validator.msg; + }, + + turnstile_image: function () { + var base_url = wpuf_form_builder.asset_url + '/images/cloudflare-placeholder-'; + + if (this.field.turnstile_theme === 'dark') { + base_url += 'dark'; + } else { + base_url += 'light'; + } + + if (this.field.turnstile_size === 'compact') { + base_url += '-compact'; + } + + return base_url + '.png'; + } + } +}); diff --git a/admin/form-builder/assets/js/components/form-cloudflare_turnstile/template.php b/admin/form-builder/assets/js/components/form-cloudflare_turnstile/template.php new file mode 100644 index 000000000..6eb749161 --- /dev/null +++ b/admin/form-builder/assets/js/components/form-cloudflare_turnstile/template.php @@ -0,0 +1,12 @@ +
+ + + +
diff --git a/admin/form-builder/assets/js/mixins/global.js b/admin/form-builder/assets/js/mixins/global.js index 60ecffd03..0482a6834 100644 --- a/admin/form-builder/assets/js/mixins/global.js +++ b/admin/form-builder/assets/js/mixins/global.js @@ -44,6 +44,10 @@ Vue.mixin({ return (wpuf_form_builder.recaptcha_site && wpuf_form_builder.recaptcha_secret) ? true : false; }, + has_turnstile_api_keys: function () { + return wpuf_form_builder.turnstile_site && wpuf_form_builder.turnstile_secret; + }, + containsField: function(field_name) { var self = this, i = 0; diff --git a/assets/images/cloudflare-placeholder-dark-compact.png b/assets/images/cloudflare-placeholder-dark-compact.png new file mode 100644 index 0000000000000000000000000000000000000000..ed8eae74681c72e922a9eb8e105ec80eb13c5979 GIT binary patch literal 7079 zcmds6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JA`Is~w0#mX=R#%;+( z5tdhz7?((&g>gjaQ#PiJP-!lwYKSX)AFnu%On>7N537x&xpL1sc61zRJzo~tCSwH9 z0^A6Iq9u}P>ok6>C1GiOZQY`cGcmfq@zrw0U$6LX5I!ZF+c7cOA8=$HKpRW?y$C0k z+~M&!y6IZMC8%5C^UPt1`D`BR8damHlIB=D(yG{Ek8F0&;b?Ql4h-6Q+8hb}%T65r zU0Wtcrpxn;-n=46W;=}N{P)u!gxBxW1DN;on77JgcfS6I!@r^oB);^diRgK#VT%fj z2qCUd4hv@6nyLe@k?djQnj`dbslwSQS-NGMyq}fnF+$7hNzubEO5_}TR)WQ$k|sB6 zVfkRCy64goe~rTS_NI!kgIgFU@$Ub2xndTVsHVzNkY=RM2?;5uYxv*WNfCt##A^L{ z^G&nWc4TZmLXp!%EVQOpVw71s>5-JFNA)lY_zm&5ZS4`@%4Zs8nN$J$=l`1W3k~^- I=jP%61^k?J82|tP literal 0 HcmV?d00001 diff --git a/assets/images/cloudflare-placeholder-dark.png b/assets/images/cloudflare-placeholder-dark.png new file mode 100644 index 0000000000000000000000000000000000000000..417250f0e01c0457fdb4c4d8937569f3ba7dcfe4 GIT binary patch literal 8217 zcmZ8`1yoc~_wNh?4AM$>Bi$e%F#-}20@5KM44uQ!HMD}jAR!=K($Xmc(jna-QbS93 z$Q!=*z5jdbt+Uo$cb|RsK5PHZJ$v7CejhY7ln8LCaRC4Tfr_$%HUI$RLBB(Au+h(K zsaMPBj&wU61Gs^@nxv(R6Q6~Z%R4Bax05Sc4**EXdb?U!IzZu!@1Qnz&eF^WEp5z< zc2?5N`l9Lr>aOxoTRUZ681#*=hK{ALgQbKOv#boRl(!_>ffE#N!RYPe=MGG;|#a(=5=;wd2sQ+eJDWPEn#-9a61=g z#s{Ak?_50K(#*_gJ>!3!L%r?(uXktn|AvnSg8xCoFUTjr|DWLxlBB$gqYLZ}8W5;7 zv*7>j*0l46IvOb0IYFJ>(Njq?3kwMRe_F%;M=K`6%>NK2|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x3$ZX2dNf?0GHL@9(w(U2^|6w89*1sf7m}rP7>yU2Hy3n|Mnl~E%XFU zZU9Hv(uIY|_0^RAa2ex8hkHA^Wv7d`Q+NHP#DY~-BLB4hpI%xCgdCRZ9TCvGA@u0P Sz3ze0S9z(SP$6d?^1lG{tY;el literal 0 HcmV?d00001 diff --git a/assets/images/cloudflare-placeholder-light-compact.png b/assets/images/cloudflare-placeholder-light-compact.png new file mode 100644 index 0000000000000000000000000000000000000000..be7012d1c82c431ad7e175c5300854f5f5d40734 GIT binary patch literal 7476 zcmdU!^;cBUzxU73-64X22m(3`-7ti7OE=Ozv~(&e64FQ`jifX~3?LHHEhRaml+@67 zyw7*tyPoGicz!ss_h;|-TKj#@T4%psCrV30k(l5i0RRBR%1UzD=xZ4I@WaDFpT+L4 z5C8zmcGNZWHdI#=vvzZZSlYN**+TqW-O+UbkdX3ox3qS)^=7uRwReO`vK+P|SePAc zBv}ju)p^w2U)VZ0Dg}7j>I7)$S_e2=i`uYAK?x-M#Lxn+w%(S^ey%PsFEKw!mjBij zL*M`F=4N63?;+mKk}QVmTFfupJZ+hUAUqHr7AOI;gr|+2n6{k4e*x5t>M*bWEFWzI_rD4^FNBBtzlZ;8iD^0d*}53XIl9`y zywIAGEWCU?|4-HM|Eh}oZ}o+ni<_qo+Du#YG#2iE%jEvgI?;x4|Bqwn#{YP33qu?2 ziFVYhIe!cNG(cY3in2h}2*VBl(90{!$>{ol_OtPmlc!Vq+_>7M4+#aLnKSX;a&f3g zn|`p$Dz%Jb&!ChTr^HWxOc(okqen#a)HHPYh3tc^eoE-!ARWQn~u-$Q#gN-?kTj?Fd*7yy!UmecyV~eoei6=DOS=Nr8vO zN=2Z|NjP2C>YIjg7r_ammJj?;BHoQ8keqdb<4*|0)PNFf>$8FpA;L zV8e6l?BvAS&sN}fu`9x|{mWqYX)D4yx~nyS6nMmd$p}aQ-tPF`M}rsOFx)T_NH|Hz zWe)ZcFxJI3*2TSC2QUKj78uZD$05;I7xeSFnSG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>M4v1v}A02Cf3(NzC_&8 z(+@|BZ^i1dr48FgbY)%|#(Hx^xiL&yPW^t6_!LA6C{rTml>0F|=gOK2W9KoYC*=HJ zQ~U+oU+;1`7Bu#Q77{nlo0Qkr$W_GgMS|&p<}zt{mh1ldRu(sDeC1Agfj1o4AE>$r lSyaq-9#AloVdLE~jY=_(OK`CM`uDR_Szbe~O7>O6e*s@q8dm@S literal 0 HcmV?d00001 diff --git a/assets/images/cloudflare-placeholder-light.png b/assets/images/cloudflare-placeholder-light.png new file mode 100644 index 0000000000000000000000000000000000000000..b63cd087ca2fa9c85ccfb3735717f903c49b85ea GIT binary patch literal 8228 zcmaiZbx>Tvv+e?cB@iIEOOW7BaF^hVFYYX`IE!0w2oT&taM$1v2=0Lm65QS0HNYdk zd+Xj;@1Ivwb!vLL=R4is89UPvsvubmG!irb0DvJcC#?_qH_`u%H$bMHBWEd;zeBxSCRV+S@s}2zrW8{|8s_rT(v( zoto-DCa$(3)H=$lR8o#G2o*0I2O9^qC>oV8%)(MoUHapHcYcvXsI6UHodnt0Jv=4lXqRApQ$O8scIOgF3lF9UZ9tVVasb zy19x_Q@`k`{u>Bc z>It#ak%rns99&*rB|^>3!SVlSb^k9dFAp{QzbM)NJIoip*#C#H7vX;>hd8|O40|Dz zgt15L zV9IWOfUx(UDhzRIYO2<9m?YxdNK=!xu&@x()2s8`?>|ZbwNBIV{i$;90A$tXasm9w z)V}`!0?-0fnizJs*dEsXg^~Z2Z;Z&@!}SL3I$4PSimh5F(zG7!8RdU;%*etfA7)a{ zw$AZR@pPgPDXOQbBc4|oR~g3)7*`R>n;XBdrxphkck1Dt1~d@J{{^Zbs099G>}30@ z+=AQxM)rU$<9YwZ{PeLXAV`C@%u+=ml*-T+9UqO^u0&Te4rE3(RX}?lFjcU5o#utc zJm$1vDx(;cPw>aoZ_|g!s<0d(--1`!; z&C}yR>X=5(YsQ?gO*HTxq^{sRnls_sSwfO#McmgED!MWWbrUpY9|@+FHkI+VFuA?u zRE3fS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db439..93414ac83 100644 --- a/assets/js-templates/form-components.php +++ b/assets/js-templates/form-components.php @@ -438,6 +438,21 @@ class="option-chooser-radio" + + + + 'has_turnstile_api_keys', + 'button_class' => 'button-faded', + 'msg_title' => __( 'Site key and Secret key', 'wp-user-frontend' ), + 'msg' => sprintf( + // translators: %s: settings url + __( 'You need to set Site key and Secret key in Settings in order to use "Cloudflare Turnstile" field. Click here to get the these key.', 'wp-user-frontend' ), + admin_url( 'admin.php?page=wpuf-settings' ), + 'https://developers.cloudflare.com/turnstile/' + ), + ]; + } + + /** + * Get field options setting + * + * @since WPUF_SINCE + * + * @return array + */ + public function get_options_settings() { + $settings = [ + [ + 'name' => 'label', + 'title' => __( 'Title', 'wp-user-frontend' ), + 'type' => 'text', + 'section' => 'basic', + 'priority' => 10, + 'help_text' => __( 'Title of the section', 'wp-user-frontend' ), + ], + [ + 'name' => 'turnstile_theme', + 'title' => 'Turnstile Theme', + 'type' => 'radio', + 'options' => [ + 'light' => __( 'Light', 'wp-user-frontend' ), + 'dark' => __( 'Dark', 'wp-user-frontend' ), + ], + 'default' => 'light', + 'section' => 'basic', + 'priority' => 12, + 'help_text' => __( 'Select turnstile theme', 'wp-user-frontend' ), + ], + [ + 'name' => 'turnstile_size', + 'title' => 'Turnstile Size', + 'type' => 'radio', + 'options' => [ + 'normal' => __( 'Normal [Width: 300px, Height: 65px]', 'wp-user-frontend' ), + 'flexible' => __( 'Flexible [Width: 100% (min: 300px), Height: 65px]', 'wp-user-frontend' ), + 'compact' => __( 'Compact [Width: 150px, Height: 140px]', 'wp-user-frontend' ), + ], + 'default' => 'normal', + 'section' => 'basic', + 'priority' => 13, + 'help_text' => __( 'Select turnstile size', 'wp-user-frontend' ), + ], + [ + 'name' => 'turnstile_type', + 'title' => 'Turnstile type', + 'type' => 'radio', + 'options' => [ + 'managed' => __( 'Managed (recommended)', 'wp-user-frontend' ), + 'non_interactive' => __( 'Non-Interactive', 'wp-user-frontend' ), + 'invisible' => __( 'Invisible', 'wp-user-frontend' ), + ], + 'default' => 'managed', + 'section' => 'advanced', + 'priority' => 11, + 'help_text' => __( 'Select turnstile type', 'wp-user-frontend' ), + ], + ]; + + return $settings; + } + + /** + * Get the field props + * + * @since WPUF_SINCE + * + * @return array + */ + public function get_field_props() { + + $props = [ + 'input_type' => 'turnstile', + 'template' => $this->get_type(), + 'label' => '', + 'turnstile_type' => 'managed', + 'turnstile_theme' => 'light', + 'turnstile_size' => 'normal', + 'is_meta' => 'yes', + 'id' => 0, + 'wpuf_cond' => null, + ]; + + return $props; + } +}