acf
4
media/plg_fields_acffaq/img/icons/arrow.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="50" height="9" viewBox="0 0 50 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10 9L2.5 1.13436L3.58162 0L10 6.75274L16.4184 0.0213906L17.5 1.15575L10 9Z" fill="black"/>
|
||||
<path d="M40 0L32.5 7.86564L33.5816 9L40 2.24726L46.4184 8.97861L47.5 7.84425L40 0Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 301 B |
4
media/plg_fields_acffaq/img/icons/circle_arrow.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="50" height="20" viewBox="0 0 50 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10 13.1012L14.2287 8.87247L13.3705 8.04049L10 11.411L6.62954 8.04049L5.77128 8.87247L10 13.1012ZM10.0018 20C8.62946 20 7.3365 19.7375 6.12288 19.2126C4.90927 18.6877 3.84796 17.971 2.93895 17.0624C2.02993 16.1537 1.31285 15.0929 0.787713 13.8798C0.262571 12.6667 0 11.374 0 10.0018C0 8.61867 0.262457 7.31863 0.787371 6.10165C1.31228 4.88464 2.02904 3.82603 2.93764 2.9258C3.84626 2.02555 4.9071 1.31285 6.12017 0.787713C7.33326 0.262571 8.62595 0 9.99824 0C11.3813 0 12.6814 0.262457 13.8984 0.78737C15.1154 1.31228 16.174 2.02465 17.0742 2.92448C17.9744 3.82433 18.6871 4.88248 19.2123 6.09894C19.7374 7.31538 20 8.61514 20 9.99824C20 11.3705 19.7375 12.6635 19.2126 13.8771C18.6877 15.0907 17.9753 16.152 17.0755 17.061C16.1757 17.9701 15.1175 18.6871 13.9011 19.2123C12.6846 19.7374 11.3849 20 10.0018 20ZM10 18.8057C12.4507 18.8057 14.531 17.9481 16.2409 16.2328C17.9508 14.5176 18.8057 12.44 18.8057 10C18.8057 7.54926 17.9508 5.46895 16.2409 3.75909C14.531 2.04924 12.4507 1.19432 10 1.19432C7.56005 1.19432 5.48244 2.04924 3.76719 3.75909C2.05194 5.46895 1.19432 7.54926 1.19432 10C1.19432 12.44 2.05194 14.5176 3.76719 16.2328C5.48244 17.9481 7.56005 18.8057 10 18.8057Z" fill="black"/>
|
||||
<path d="M40 6.89881L44.2287 11.1275L43.3705 11.9595L40 8.58905L36.6295 11.9595L35.7713 11.1275L40 6.89881ZM40.0018 2.87175e-07C38.6295 2.87175e-07 37.3365 0.262458 36.1229 0.787372C34.9093 1.31229 33.848 2.02904 32.939 2.93764C32.0299 3.84626 31.3129 4.9071 30.7877 6.12017C30.2626 7.33327 30 8.62595 30 9.99824C30 11.3813 30.2625 12.6814 30.7874 13.8984C31.3123 15.1154 32.029 16.174 32.9376 17.0742C33.8463 17.9745 34.9071 18.6871 36.1202 19.2123C37.3333 19.7374 38.626 20 39.9982 20C41.3813 20 42.6814 19.7375 43.8984 19.2126C45.1154 18.6877 46.174 17.9753 47.0742 17.0755C47.9744 16.1757 48.6871 15.1175 49.2123 13.9011C49.7374 12.6846 50 11.3849 50 10.0018C50 8.62946 49.7375 7.3365 49.2126 6.12289C48.6877 4.90927 47.9753 3.84796 47.0755 2.93896C46.1757 2.02994 45.1175 1.31286 43.9011 0.787716C42.6846 0.262574 41.3849 2.87175e-07 40.0018 2.87175e-07ZM40 1.19432C42.4507 1.19432 44.531 2.05195 46.2409 3.7672C47.9508 5.48245 48.8057 7.56005 48.8057 10C48.8057 12.4507 47.9508 14.531 46.2409 16.2409C44.531 17.9508 42.4507 18.8057 40 18.8057C37.56 18.8057 35.4824 17.9508 33.7672 16.2409C32.0519 14.531 31.1943 12.4507 31.1943 10C31.1943 7.56005 32.0519 5.48245 33.7672 3.7672C35.4824 2.05195 37.56 1.19432 40 1.19432Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
4
media/plg_fields_acffaq/img/icons/circle_plus_minus.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="50" height="20" viewBox="0 0 50 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9.46155 15H10.6558V10.6721H15V9.47773H10.6558V5.00001H9.46155V9.47773H5.00001V10.6721H9.46155V15ZM10.0088 20C8.62358 20 7.32624 19.7375 6.11673 19.2126C4.90721 18.6877 3.84796 17.971 2.93895 17.0624C2.02993 16.1537 1.31285 15.0943 0.787713 13.884C0.262571 12.6737 0 11.3753 0 9.9886C0 8.60869 0.262457 7.31163 0.787371 6.09744C1.31228 4.88324 2.02904 3.82603 2.93764 2.9258C3.84626 2.02555 4.9057 1.31285 6.11599 0.787713C7.32627 0.262571 8.62474 0 10.0114 0C11.3913 0 12.6884 0.262457 13.9026 0.78737C15.1168 1.31228 16.174 2.02465 17.0742 2.92448C17.9744 3.82433 18.6871 4.88248 19.2123 6.09894C19.7374 7.31538 20 8.61281 20 9.99124C20 11.3764 19.7375 12.6738 19.2126 13.8833C18.6877 15.0928 17.9753 16.1504 17.0755 17.0562C16.1757 17.962 15.1175 18.679 13.9011 19.2074C12.6846 19.7358 11.3872 20 10.0088 20ZM10.0132 18.8057C12.4551 18.8057 14.531 17.9481 16.2409 16.2328C17.9508 14.5176 18.8057 12.4356 18.8057 9.98684C18.8057 7.54487 17.9524 5.46895 16.2458 3.75909C14.5393 2.04924 12.4573 1.19432 10 1.19432C7.56005 1.19432 5.48244 2.0476 3.76719 3.75417C2.05194 5.46073 1.19432 7.54268 1.19432 10C1.19432 12.44 2.05194 14.5176 3.76719 16.2328C5.48244 17.9481 7.56443 18.8057 10.0132 18.8057Z" fill="black"/>
|
||||
<path d="M35 10.5384H45V9.34416H35V10.5384ZM40.0018 20C38.6295 20 37.3365 19.7375 36.1229 19.2126C34.9093 18.6877 33.848 17.971 32.939 17.0624C32.0299 16.1537 31.3129 15.0929 30.7877 13.8798C30.2626 12.6667 30 11.374 30 10.0018C30 8.61867 30.2625 7.31863 30.7874 6.10165C31.3123 4.88464 32.029 3.82603 32.9376 2.9258C33.8463 2.02555 34.9071 1.31285 36.1202 0.787713C37.3333 0.262571 38.626 0 39.9982 0C41.3813 0 42.6814 0.262457 43.8984 0.78737C45.1154 1.31228 46.174 2.02465 47.0742 2.92448C47.9744 3.82433 48.6871 4.88248 49.2123 6.09894C49.7374 7.31538 50 8.61514 50 9.99824C50 11.3705 49.7375 12.6635 49.2126 13.8771C48.6877 15.0907 47.9753 16.152 47.0755 17.061C46.1757 17.9701 45.1175 18.6871 43.9011 19.2123C42.6846 19.7374 41.3849 20 40.0018 20ZM40 18.8057C42.4507 18.8057 44.531 17.9481 46.2409 16.2328C47.9508 14.5176 48.8057 12.44 48.8057 10C48.8057 7.54926 47.9508 5.46895 46.2409 3.75909C44.531 2.04924 42.4507 1.19432 40 1.19432C37.56 1.19432 35.4824 2.04924 33.7672 3.75909C32.0519 5.46895 31.1943 7.54926 31.1943 10C31.1943 12.44 32.0519 14.5176 33.7672 16.2328C35.4824 17.9481 37.56 18.8057 40 18.8057Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
4
media/plg_fields_acffaq/img/icons/plus_minus.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="50" height="15" viewBox="0 0 50 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9.36966 15V8.13033H2.5V6.86966H9.36966V0H10.6303V6.86966H17.5V8.13033H10.6303V15H9.36966Z" fill="black"/>
|
||||
<path d="M33 8.13033V6.86966H48V8.13033H33Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 278 B |
0
media/plg_fields_acffaq/img/index.php
Normal file
BIN
media/plg_fields_acffaq/img/templates/1.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
media/plg_fields_acffaq/img/templates/2.png
Normal file
|
After Width: | Height: | Size: 921 B |
BIN
media/plg_fields_acffaq/img/templates/3.png
Normal file
|
After Width: | Height: | Size: 856 B |
BIN
media/plg_fields_acffaq/img/templates/4.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
2
media/plg_fields_acffaq/js/countdown.js
Normal file
@ -0,0 +1,2 @@
|
||||
var ACF_Countdown_Editor=function(){function e(){window.ACFCountdownPresetsData&&this.initEvents()}var t=e.prototype;return t.initEvents=function(){document.addEventListener("change",function(e){this.onClick(e)}.bind(this))},t.onClick=function(e){var t=e.target.closest(".acf-countdown-preset-selector");if(t){var i=t.querySelector('input[name="jform[fieldparams][preset]"]:checked');i&&(this.reset(),this.apply(i.value))}},t.reset=function(){var e={"[border][style]":{type:"list",value:"none"},"[border][width]":{type:"number",value:""},"[border][color]":{type:"text",value:""},separator:{type:"nrtoggle",value:!1},double_zeroes_format:{type:"nrtoggle",value:!0},days:{type:"nrtoggle",value:!0},days_label:{type:"text",value:Joomla.Text._("NR_DAYS")},hours:{type:"nrtoggle",value:!0},hours_label:{type:"text",value:Joomla.Text._("NR_HOURS")},minutes:{type:"nrtoggle",value:!0},minutes_label:{type:"text",value:Joomla.Text._("NR_MINUTES")},seconds:{type:"nrtoggle",value:!0},seconds_label:{type:"text",value:Joomla.Text._("NR_SECONDS")},item_size:{responsive:!0,type:"number",value:""},gap:{responsive:!0,type:"number",value:{desktop:10,tablet:"",mobile:""}},digits_gap:{responsive:!0,type:"number",value:{desktop:0,tablet:"",mobile:""}},digits_wrapper_custom_width:{type:"nrtoggle",value:!1},digits_wrapper_min_width:{type:"number",value:""},digits_custom_width:{type:"nrtoggle",value:!1},digits_min_width:{type:"number",value:""},unit_label_margin_top:{type:"number",value:5},style:{type:"list",value:"none"},item_background_color:{type:"text",value:""},digits_wrapper_background_color:{type:"text",value:""},digit_background_color:{type:"text",value:""},digits_wrapper_padding:{responsive:!0,dimensions:!0,type:"number",value:""},digits_padding:{responsive:!0,dimensions:!0,type:"number",value:""},digits_wrapper_border_radius:{responsive:!0,dimensions:!0,border_radius:!0,type:"number",value:""},digits_border_radius:{responsive:!0,dimensions:!0,border_radius:!0,type:"number",value:""},item_padding:{responsive:!0,dimensions:!0,type:"number",value:""},item_border_radius:{responsive:!0,dimensions:!0,border_radius:!0,type:"number",value:""},digit_text_color:{type:"text",value:""},digits_font_weight:{type:"list",value:400},unit_label_text_color:{type:"text",value:""},label_font_weight:{type:"list",value:400}};new TF_Fields_Values_Applier(e).applyData()},t.apply=function(e){new TF_Fields_Values_Applier(window.ACFCountdownPresetsData,e).applyItemData()},e}();document.addEventListener("DOMContentLoaded",function(e){new ACF_Countdown_Editor});
|
||||
|
||||
2
media/plg_fields_acffaq/js/faq.js
Normal file
@ -0,0 +1,2 @@
|
||||
var ACF_FAQ_Editor=function(){function e(){window.ACFFAQPresetsData&&this.initEvents()}var t=e.prototype;return t.initEvents=function(){document.addEventListener("change",function(e){this.onClick(e)}.bind(this))},t.onClick=function(e){var t=e.target.closest(".acf-faq-template-selector");if(t){var n=t.querySelector('input[name="jform[fieldparams][template]"]:checked');n&&(this.reset(),this.apply(n.value))}},t.reset=function(){new TF_Fields_Values_Applier({separator:{type:"nrtoggle",value:!0},keep_one_question_open:{type:"nrtoggle",value:!0},columns:{type:"number",value:""},item_gap:{responsive:!0,type:"number",value:{desktop:20,tablet:"",mobile:""}},column_gap:{responsive:!0,type:"number",value:{desktop:20,tablet:"",mobile:""}},background_color:{type:"text",value:""},item_padding:{responsive:!0,dimensions:!0,type:"number",value:""},item_border_radius:{responsive:!0,dimensions:!0,border_radius:!0,type:"number",value:""},question_text_color:{type:"text",value:""},question_font_size:{responsive:!0,type:"number",value:{desktop:16,tablet:"",mobile:""}},answer_text_color:{type:"text",value:""},answer_font_size:{responsive:!0,type:"number",value:{desktop:16,tablet:"",mobile:""}},icon_position:{type:"radio",value:"right"},icon:{type:"radio",value:"arrow"},initial_state:{type:"list",value:"first-open"}}).applyData()},t.apply=function(e){new TF_Fields_Values_Applier(window.ACFFAQPresetsData,e).applyItemData()},e}();document.addEventListener("DOMContentLoaded",function(e){new ACF_FAQ_Editor});
|
||||
|
||||
2
media/plg_fields_acffaq/js/previewer.js
Normal file
@ -0,0 +1,2 @@
|
||||
function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}var ACF_FAQ_Previewer=function(e){function t(){return e.call(this,"FAQ")||this}return _inheritsLoose(t,e),t}(ACF_Field_Previewer);document.addEventListener("DOMContentLoaded",function(){new ACF_FAQ_Previewer});
|
||||
|
||||