plugin updates
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
* Plugin Name: Advanced Custom Fields PRO
|
* Plugin Name: Advanced Custom Fields PRO
|
||||||
* Plugin URI: https://www.advancedcustomfields.com
|
* Plugin URI: https://www.advancedcustomfields.com
|
||||||
* Description: Customize WordPress with powerful, professional and intuitive fields.
|
* Description: Customize WordPress with powerful, professional and intuitive fields.
|
||||||
* Version: 6.3.8
|
* Version: 6.3.9
|
||||||
* Author: WP Engine
|
* Author: WP Engine
|
||||||
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
|
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
|
||||||
* Update URI: false
|
* Update URI: false
|
||||||
@@ -36,7 +36,7 @@ if ( ! class_exists( 'ACF' ) ) {
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $version = '6.3.8';
|
public $version = '6.3.9';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The plugin settings array.
|
* The plugin settings array.
|
||||||
|
|||||||
@@ -1,321 +0,0 @@
|
|||||||
/*!***************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/advanced-custom-fields-pro/assets/src/sass/acf-dark.scss ***!
|
|
||||||
\***************************************************************************************************************************************************************************************************************/
|
|
||||||
/*--------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Dark mode
|
|
||||||
*
|
|
||||||
* WordPress plugin: https://en-au.wordpress.org/plugins/dark-mode/
|
|
||||||
* Github Documentation: https://github.com/danieltj27/Dark-Mode/wiki/Help:-Plugin-Compatibility-Guide
|
|
||||||
*
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Global
|
|
||||||
*
|
|
||||||
*---------------------------------------------------------------------------------------------*/
|
|
||||||
.acf-box {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
.acf-box .title,
|
|
||||||
.acf-box .footer {
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-box h2 {
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
.acf-box table, .acf-box tbody, .acf-box tr {
|
|
||||||
background: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-thead {
|
|
||||||
color: #bbc8d4;
|
|
||||||
border-color: #191f25;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-tfoot {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-table.-clear,
|
|
||||||
.acf-table.-clear tr {
|
|
||||||
background: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-loading-overlay {
|
|
||||||
background: rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Fields
|
|
||||||
*
|
|
||||||
*---------------------------------------------------------------------------------------------*/
|
|
||||||
.acf-fields > .acf-field {
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-fields.-left > .acf-field:before {
|
|
||||||
background: rgba(0, 0, 0, 0.1);
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-fields.-border {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-field[data-width] + .acf-field[data-width] {
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-input-prepend,
|
|
||||||
.acf-input-append {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-fields > .acf-tab-wrap {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
.acf-fields > .acf-tab-wrap .acf-tab-group {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-fields > .acf-tab-wrap .acf-tab-group li a {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-fields > .acf-tab-wrap .acf-tab-group li a:hover {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
.acf-fields > .acf-tab-wrap .acf-tab-group li.active a {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-fields.-sidebar:before {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-fields.-sidebar.-left:before {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
background: #23282d;
|
|
||||||
}
|
|
||||||
.acf-fields.-sidebar.-left > .acf-tab-wrap.-left .acf-tab-group li a {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-fields.-sidebar.-left > .acf-tab-wrap.-left .acf-tab-group li.active a {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-file-uploader .show-if-value {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
.acf-file-uploader .show-if-value .file-icon {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-oembed {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-oembed .title {
|
|
||||||
background-color: #50626f;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-gallery {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-main {
|
|
||||||
background: #23282d;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment .margin {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side .acf-gallery-side-info {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-toolbar {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-button-group label:not(.selected) {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-switch:not(.-on) {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-switch:not(.-on) .acf-switch-slider {
|
|
||||||
background-color: #50626f;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-link .link-wrap {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-relationship .filters {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
.acf-relationship .selection {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-relationship .selection .choices,
|
|
||||||
.acf-relationship .selection .choices-list,
|
|
||||||
.acf-relationship .selection .values {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-taxonomy-field .categorychecklist-holder {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-google-map {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-google-map .title {
|
|
||||||
background-color: #50626f;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-accordion {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-field.acf-accordion .acf-accordion-content > .acf-fields {
|
|
||||||
border-color: #191f25;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-flexible-content .layout {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout .acf-fc-layout-handle {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout .acf-fc-layout-handle .acf-fc-layout-order {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpbody .acf-table {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
#wpbody .acf-table > tbody > tr,
|
|
||||||
#wpbody .acf-table > thead > tr {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
#wpbody .acf-table > tbody > tr > td,
|
|
||||||
#wpbody .acf-table > tbody > tr > th,
|
|
||||||
#wpbody .acf-table > thead > tr > td,
|
|
||||||
#wpbody .acf-table > thead > tr > th {
|
|
||||||
border-color: #191f25;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-field select optgroup, .acf-field select optgroup:nth-child(2n) {
|
|
||||||
background: #50626f;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Field Group
|
|
||||||
*
|
|
||||||
*---------------------------------------------------------------------------------------------*/
|
|
||||||
#acf-field-group-fields .acf-field-list-wrap {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
#acf-field-group-fields .acf-field-list .no-fields-message {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
}
|
|
||||||
#acf-field-group-fields .acf-field-object {
|
|
||||||
background-color: #32373c;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #bbc8d4;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
#acf-field-group-fields .acf-field-object table, #acf-field-group-fields .acf-field-object tbody, #acf-field-group-fields .acf-field-object tr, #acf-field-group-fields .acf-field-object td, #acf-field-group-fields .acf-field-object th {
|
|
||||||
background: transparent;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
#acf-field-group-fields .acf-field-object .acf-field .acf-label {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
#acf-field-group-fields .acf-field-object.ui-sortable-helper {
|
|
||||||
border-color: #191f25;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
#acf-field-group-fields .acf-field-object.ui-sortable-placeholder {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
#acf-field-group-fields .acf-field-object + .acf-field-object-tab::before,
|
|
||||||
#acf-field-group-fields .acf-field-object + .acf-field-object-accordion::before {
|
|
||||||
background-color: #2d3136;
|
|
||||||
border-color: #23282d;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Admin: Tools
|
|
||||||
*
|
|
||||||
*---------------------------------------------------------------------------------------------*/
|
|
||||||
.acf-meta-box-wrap .acf-fields {
|
|
||||||
background-color: #50626f;
|
|
||||||
border-color: #191f25;
|
|
||||||
color: #fff;
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*# sourceMappingURL=acf-dark.css.map*/
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,162 +0,0 @@
|
|||||||
/*!******************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/advanced-custom-fields-pro/assets/src/sass/pro/acf-pro-field-group.scss ***!
|
|
||||||
\******************************************************************************************************************************************************************************************************************************/
|
|
||||||
@charset "UTF-8";
|
|
||||||
/*--------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Vars
|
|
||||||
*
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
/* colors */
|
|
||||||
/* acf-field */
|
|
||||||
/* responsive */
|
|
||||||
/*--------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* ACF 6 ↓
|
|
||||||
*
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
/*--------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Mixins
|
|
||||||
*
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Flexible Content
|
|
||||||
*
|
|
||||||
*---------------------------------------------------------------------------------------------*/
|
|
||||||
.acf-field-setting-fc_layout .acf-toggle-fc-layout {
|
|
||||||
width: 34px;
|
|
||||||
height: 31px;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
border: 0;
|
|
||||||
background: transparent;
|
|
||||||
cursor: pointer;
|
|
||||||
left: 20.83%;
|
|
||||||
right: 20.83%;
|
|
||||||
top: 33.33%;
|
|
||||||
bottom: 33.33%;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .toggle-indicator::before {
|
|
||||||
z-index: -1;
|
|
||||||
content: "";
|
|
||||||
display: inline-flex;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
margin-left: -28px;
|
|
||||||
background-color: currentColor;
|
|
||||||
border: none;
|
|
||||||
border-radius: 0;
|
|
||||||
-webkit-mask-size: contain;
|
|
||||||
mask-size: contain;
|
|
||||||
-webkit-mask-repeat: no-repeat;
|
|
||||||
mask-repeat: no-repeat;
|
|
||||||
-webkit-mask-position: center;
|
|
||||||
mask-position: center;
|
|
||||||
-webkit-mask-image: url(../../../images/icons/icon-chevron-down.svg);
|
|
||||||
mask-image: url(../../../images/icons/icon-chevron-down.svg);
|
|
||||||
}
|
|
||||||
.rtl .acf-field-setting-fc_layout .toggle-indicator::before {
|
|
||||||
margin-left: 0px;
|
|
||||||
position: absolute;
|
|
||||||
top: 9px;
|
|
||||||
z-index: 100;
|
|
||||||
left: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-field-setting-fc_layout .toggle-indicator.open::before {
|
|
||||||
-webkit-mask-image: url(../../../images/icons/icon-chevron-up.svg);
|
|
||||||
mask-image: url(../../../images/icons/icon-chevron-up.svg);
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .toggle-indicator.closed::before {
|
|
||||||
-webkit-mask-image: url(../../../images/icons/icon-chevron-down.svg);
|
|
||||||
mask-image: url(../../../images/icons/icon-chevron-down.svg);
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-flexible-content-field-label-name {
|
|
||||||
padding-left: 5px;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta {
|
|
||||||
margin: 0 0 10px;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta li {
|
|
||||||
margin: 0 0 10px;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-display {
|
|
||||||
float: left;
|
|
||||||
width: 100%;
|
|
||||||
padding-right: 5px;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-left {
|
|
||||||
width: calc(50% - 4px);
|
|
||||||
float: left;
|
|
||||||
clear: left;
|
|
||||||
margin-right: 4px;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-right {
|
|
||||||
width: calc(50% - 4px);
|
|
||||||
float: left;
|
|
||||||
margin-left: 4px;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-min {
|
|
||||||
width: calc(25% - 5px);
|
|
||||||
float: left;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-max {
|
|
||||||
width: calc(25% - 10px);
|
|
||||||
float: left;
|
|
||||||
margin-left: 4px;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-label .acf-input-prepend,
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-name .acf-input-prepend,
|
|
||||||
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-display .acf-input-prepend {
|
|
||||||
min-width: 60px;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fc_draggable,
|
|
||||||
.acf-field-setting-fc_layout .reorder-layout {
|
|
||||||
cursor: grab;
|
|
||||||
}
|
|
||||||
.acf-field-setting-fc_layout .acf-fl-actions a {
|
|
||||||
padding: 1px 0;
|
|
||||||
font-size: 13px;
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Clone
|
|
||||||
*
|
|
||||||
*---------------------------------------------------------------------------------------------*/
|
|
||||||
.acf-field-object-clone {
|
|
||||||
/* group */
|
|
||||||
/* seamless */
|
|
||||||
}
|
|
||||||
.acf-field-object-clone[data-display=seamless] .acf-field-setting-instructions,
|
|
||||||
.acf-field-object-clone[data-display=seamless] .acf-field-setting-layout,
|
|
||||||
.acf-field-object-clone[data-display=seamless] .acf-field-setting-wrapper,
|
|
||||||
.acf-field-object-clone[data-display=seamless] .acf-field-setting-conditional_logic {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Pro fields with inactive licenses.
|
|
||||||
*
|
|
||||||
*----------------------------------------------------------------------------*/
|
|
||||||
.acf-pro-inactive-license .acf-pro-field-object .li-field-label:before {
|
|
||||||
-webkit-mask-image: url("../../../images/icons/icon-lock.svg") !important;
|
|
||||||
mask-image: url("../../../images/icons/icon-lock.svg") !important;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
.acf-pro-inactive-license .acf-pro-field-object .edit-field {
|
|
||||||
pointer-events: none;
|
|
||||||
color: #667085;
|
|
||||||
}
|
|
||||||
.acf-pro-inactive-license .acf-pro-field-object .row-options {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*# sourceMappingURL=acf-pro-field-group.css.map*/
|
|
||||||
File diff suppressed because one or more lines are too long
@@ -1,891 +0,0 @@
|
|||||||
/*!************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/advanced-custom-fields-pro/assets/src/sass/pro/acf-pro-input.scss ***!
|
|
||||||
\************************************************************************************************************************************************************************************************************************/
|
|
||||||
@charset "UTF-8";
|
|
||||||
/*--------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Vars
|
|
||||||
*
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
/* colors */
|
|
||||||
/* acf-field */
|
|
||||||
/* responsive */
|
|
||||||
/*--------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* ACF 6 ↓
|
|
||||||
*
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
/*--------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Mixins
|
|
||||||
*
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Repeater
|
|
||||||
*
|
|
||||||
*---------------------------------------------------------------------------------------------*/
|
|
||||||
.acf-repeater {
|
|
||||||
/* table */
|
|
||||||
/* row handle (add/remove) */
|
|
||||||
/* add in spacer to th (force correct width) */
|
|
||||||
/* row */
|
|
||||||
/* sortable */
|
|
||||||
/* layouts */
|
|
||||||
/*
|
|
||||||
&.-row > table > tbody > tr:before,
|
|
||||||
&.-block > table > tbody > tr:before {
|
|
||||||
content: "";
|
|
||||||
display: table-row;
|
|
||||||
height: 2px;
|
|
||||||
background: #f00;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/* empty */
|
|
||||||
/* collapsed */
|
|
||||||
/* collapsed (block layout) */
|
|
||||||
/* collapsed (table layout) */
|
|
||||||
}
|
|
||||||
.acf-repeater > table {
|
|
||||||
margin: 0 0 8px;
|
|
||||||
background: #F9F9F9;
|
|
||||||
}
|
|
||||||
.acf-repeater > table > tbody tr.acf-divider:not(:first-child) > td {
|
|
||||||
border-top: 10px solid #EAECF0;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle {
|
|
||||||
width: 16px;
|
|
||||||
text-align: center !important;
|
|
||||||
vertical-align: middle !important;
|
|
||||||
position: relative;
|
|
||||||
/* icons */
|
|
||||||
/* .order */
|
|
||||||
/* remove */
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle .acf-order-input-wrap {
|
|
||||||
width: 45px;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle .acf-order-input::-webkit-outer-spin-button,
|
|
||||||
.acf-repeater .acf-row-handle .acf-order-input::-webkit-inner-spin-button {
|
|
||||||
-webkit-appearance: none;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle .acf-order-input {
|
|
||||||
-moz-appearance: textfield;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle .acf-icon {
|
|
||||||
display: none;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
margin: -8px 0 0 -2px;
|
|
||||||
/* minus icon */
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle .acf-icon.-minus {
|
|
||||||
top: 50%;
|
|
||||||
/* ie fix */
|
|
||||||
}
|
|
||||||
body.browser-msie .acf-repeater .acf-row-handle .acf-icon.-minus {
|
|
||||||
top: 25px;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle.order {
|
|
||||||
background: #f4f4f4;
|
|
||||||
cursor: move;
|
|
||||||
color: #aaa;
|
|
||||||
text-shadow: #fff 0 1px 0;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle.order:hover {
|
|
||||||
color: #666;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle.order + td {
|
|
||||||
border-left-color: #DFDFDF;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle.pagination {
|
|
||||||
cursor: auto;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row-handle.remove {
|
|
||||||
background: #F9F9F9;
|
|
||||||
border-left-color: #DFDFDF;
|
|
||||||
}
|
|
||||||
.acf-repeater th.acf-row-handle:before {
|
|
||||||
content: "";
|
|
||||||
width: 16px;
|
|
||||||
display: block;
|
|
||||||
height: 1px;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row {
|
|
||||||
/* hide clone */
|
|
||||||
/* hover */
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row.acf-clone {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row:hover, .acf-repeater .acf-row.-hover {
|
|
||||||
/* icons */
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row:hover > .acf-row-handle .acf-icon, .acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.show-on-shift, .acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon.show-on-shift {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
body.acf-keydown-shift .acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.show-on-shift, body.acf-keydown-shift .acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon.show-on-shift {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
body.acf-keydown-shift .acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.hide-on-shift, body.acf-keydown-shift .acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon.hide-on-shift {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.acf-repeater > table > tbody > tr.ui-sortable-helper {
|
|
||||||
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
|
|
||||||
}
|
|
||||||
.acf-repeater > table > tbody > tr.ui-sortable-placeholder {
|
|
||||||
visibility: visible !important;
|
|
||||||
}
|
|
||||||
.acf-repeater > table > tbody > tr.ui-sortable-placeholder td {
|
|
||||||
background: #F9F9F9;
|
|
||||||
}
|
|
||||||
.acf-repeater.-row > table > tbody > tr > td, .acf-repeater.-block > table > tbody > tr > td {
|
|
||||||
border-top-color: #E1E1E1;
|
|
||||||
}
|
|
||||||
.acf-repeater.-empty > table > thead > tr > th {
|
|
||||||
border-bottom: 0 none;
|
|
||||||
}
|
|
||||||
.acf-repeater.-empty.-row > table, .acf-repeater.-empty.-block > table {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row.-collapsed > .acf-field {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row.-collapsed > td.acf-field.-collapsed-target {
|
|
||||||
display: table-cell !important;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row.-collapsed > .acf-fields > * {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row.-collapsed > .acf-fields > .acf-field.-collapsed-target {
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
.acf-repeater .acf-row.-collapsed > .acf-fields > .acf-field.-collapsed-target[data-width] {
|
|
||||||
float: none !important;
|
|
||||||
width: auto !important;
|
|
||||||
}
|
|
||||||
.acf-repeater.-table .acf-row.-collapsed .acf-field.-collapsed-target {
|
|
||||||
border-left-color: #dfdfdf;
|
|
||||||
}
|
|
||||||
.acf-repeater.-max .acf-icon[data-event=add-row] {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.acf-repeater > .acf-actions .acf-button {
|
|
||||||
float: right;
|
|
||||||
pointer-events: auto !important;
|
|
||||||
}
|
|
||||||
.acf-repeater > .acf-actions .acf-tablenav {
|
|
||||||
float: right;
|
|
||||||
margin-right: 20px;
|
|
||||||
}
|
|
||||||
.acf-repeater > .acf-actions .acf-tablenav .current-page {
|
|
||||||
width: auto !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Flexible Content
|
|
||||||
*
|
|
||||||
*---------------------------------------------------------------------------------------------*/
|
|
||||||
.acf-flexible-content {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.acf-flexible-content > .clones {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.acf-flexible-content > .values {
|
|
||||||
margin: 0 0 8px;
|
|
||||||
}
|
|
||||||
.acf-flexible-content > .values > .ui-sortable-placeholder {
|
|
||||||
visibility: visible !important;
|
|
||||||
border: 1px dashed #b4b9be;
|
|
||||||
box-shadow: none;
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout {
|
|
||||||
position: relative;
|
|
||||||
margin: 20px 0 0;
|
|
||||||
background: #fff;
|
|
||||||
border: 1px solid #ccd0d4;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout .acf-fc-layout-handle {
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
padding: 8px 10px;
|
|
||||||
cursor: move;
|
|
||||||
border-bottom: #ccd0d4 solid 1px;
|
|
||||||
color: #444;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 1.4em;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout .acf-fc-layout-order {
|
|
||||||
display: block;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
border-radius: 10px;
|
|
||||||
display: inline-block;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 20px;
|
|
||||||
margin: 0 2px 0 0;
|
|
||||||
background: #F1F1F1;
|
|
||||||
font-size: 12px;
|
|
||||||
color: #444;
|
|
||||||
}
|
|
||||||
html[dir=rtl] .acf-flexible-content .layout .acf-fc-layout-order {
|
|
||||||
float: right;
|
|
||||||
margin-right: 0;
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout .acf-fc-layout-controls {
|
|
||||||
position: absolute;
|
|
||||||
top: 8px;
|
|
||||||
right: 8px;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon {
|
|
||||||
display: block;
|
|
||||||
float: left;
|
|
||||||
margin: 0 0 0 5px;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-plus, .acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-minus, .acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-duplicate {
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
html[dir=rtl] .acf-flexible-content .layout .acf-fc-layout-controls {
|
|
||||||
right: auto;
|
|
||||||
left: 9px;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout.is-selected {
|
|
||||||
border-color: #7e8993;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout.is-selected .acf-fc-layout-handle {
|
|
||||||
border-color: #7e8993;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus, .acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus, .acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate, .acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus, .acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus, .acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate {
|
|
||||||
visibility: visible;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout.-collapsed > .acf-fc-layout-handle {
|
|
||||||
border-bottom-width: 0;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout.-collapsed > .acf-fields,
|
|
||||||
.acf-flexible-content .layout.-collapsed > .acf-table {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout > .acf-table {
|
|
||||||
border: 0 none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout > .acf-table > tbody > tr {
|
|
||||||
background: #fff;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .layout > .acf-table > thead > tr > th {
|
|
||||||
background: #F9F9F9;
|
|
||||||
}
|
|
||||||
.acf-flexible-content .no-value-message {
|
|
||||||
padding: 19px;
|
|
||||||
border: #ccc dashed 2px;
|
|
||||||
text-align: center;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.acf-flexible-content.-empty > .no-value-message {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-fc-popup {
|
|
||||||
padding: 5px 0;
|
|
||||||
z-index: 900001;
|
|
||||||
min-width: 135px;
|
|
||||||
}
|
|
||||||
.acf-fc-popup ul, .acf-fc-popup li {
|
|
||||||
list-style: none;
|
|
||||||
display: block;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.acf-fc-popup li {
|
|
||||||
position: relative;
|
|
||||||
float: none;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.acf-fc-popup .badge {
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 8px;
|
|
||||||
font-size: 9px;
|
|
||||||
line-height: 15px;
|
|
||||||
padding: 0 5px;
|
|
||||||
background: #d54e21;
|
|
||||||
text-align: center;
|
|
||||||
color: #fff;
|
|
||||||
vertical-align: top;
|
|
||||||
margin: 0 0 0 5px;
|
|
||||||
}
|
|
||||||
.acf-fc-popup a {
|
|
||||||
color: #eee;
|
|
||||||
padding: 5px 10px;
|
|
||||||
display: block;
|
|
||||||
text-decoration: none;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.acf-fc-popup a:hover {
|
|
||||||
background: #0073aa;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.acf-fc-popup a.disabled {
|
|
||||||
color: #888;
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Galery
|
|
||||||
*
|
|
||||||
*---------------------------------------------------------------------------------------------*/
|
|
||||||
.acf-gallery {
|
|
||||||
border: #ccd0d4 solid 1px;
|
|
||||||
height: 400px;
|
|
||||||
position: relative;
|
|
||||||
/* main */
|
|
||||||
/* attachments */
|
|
||||||
/* attachment */
|
|
||||||
/* toolbar */
|
|
||||||
/* sidebar */
|
|
||||||
/* side info */
|
|
||||||
/* side data */
|
|
||||||
/* column widths */
|
|
||||||
/* resizable */
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-main {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
background: #fff;
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachments {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 48px;
|
|
||||||
left: 0;
|
|
||||||
padding: 5px;
|
|
||||||
overflow: auto;
|
|
||||||
overflow-x: hidden;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment {
|
|
||||||
width: 25%;
|
|
||||||
float: left;
|
|
||||||
cursor: pointer;
|
|
||||||
position: relative;
|
|
||||||
/* hover */
|
|
||||||
/* sortable */
|
|
||||||
/* active */
|
|
||||||
/* icon */
|
|
||||||
/* rtl */
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment .margin {
|
|
||||||
margin: 5px;
|
|
||||||
border: #d5d9dd solid 1px;
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
background: #eee;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment .margin:before {
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
padding-top: 100%;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment .thumbnail {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
transform: translate(50%, 50%);
|
|
||||||
}
|
|
||||||
html[dir=rtl] .acf-gallery .acf-gallery-attachment .thumbnail {
|
|
||||||
transform: translate(-50%, 50%);
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment .thumbnail img {
|
|
||||||
display: block;
|
|
||||||
height: auto;
|
|
||||||
max-height: 100%;
|
|
||||||
width: auto;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
}
|
|
||||||
html[dir=rtl] .acf-gallery .acf-gallery-attachment .thumbnail img {
|
|
||||||
transform: translate(50%, -50%);
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment .filename {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
padding: 5%;
|
|
||||||
background: #F4F4F4;
|
|
||||||
background: rgba(255, 255, 255, 0.8);
|
|
||||||
border-top: #DFDFDF solid 1px;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
word-wrap: break-word;
|
|
||||||
max-height: 90%;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment .actions {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment:hover .actions {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment.ui-sortable-helper .margin {
|
|
||||||
border: none;
|
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment.ui-sortable-placeholder .margin {
|
|
||||||
background: #F1F1F1;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment.ui-sortable-placeholder .margin * {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment.active .margin {
|
|
||||||
box-shadow: 0 0 0 1px #FFFFFF, 0 0 0 5px #0073aa;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-attachment.-icon .thumbnail img {
|
|
||||||
transform: translate(-50%, -70%);
|
|
||||||
}
|
|
||||||
html[dir=rtl] .acf-gallery .acf-gallery-attachment {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.acf-gallery.sidebar-open {
|
|
||||||
/* hide attachment actions when sidebar is open */
|
|
||||||
/* allow sidebar to move over main for small widths (widget edit box) */
|
|
||||||
}
|
|
||||||
.acf-gallery.sidebar-open .acf-gallery-attachment .actions {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.acf-gallery.sidebar-open .acf-gallery-side {
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-toolbar {
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
padding: 10px;
|
|
||||||
border-top: #d5d9dd solid 1px;
|
|
||||||
background: #fff;
|
|
||||||
min-height: 28px;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-toolbar .acf-hl li {
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-toolbar .bulk-actions-select {
|
|
||||||
width: auto;
|
|
||||||
margin: 0 1px 0 0;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
width: 0;
|
|
||||||
background: #F9F9F9;
|
|
||||||
border-left: #ccd0d4 solid 1px;
|
|
||||||
z-index: 1;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side .acf-gallery-side-inner {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
width: 349px;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-info {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
padding: 10px;
|
|
||||||
margin: -10px 0 15px -10px;
|
|
||||||
background: #F1F1F1;
|
|
||||||
border-bottom: #DFDFDF solid 1px;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-info:after {
|
|
||||||
display: block;
|
|
||||||
clear: both;
|
|
||||||
content: "";
|
|
||||||
}
|
|
||||||
html[dir=rtl] .acf-gallery .acf-gallery-side-info {
|
|
||||||
margin-left: 0;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-info img {
|
|
||||||
float: left;
|
|
||||||
width: auto;
|
|
||||||
max-width: 65px;
|
|
||||||
max-height: 65px;
|
|
||||||
margin: 0 10px 1px 0;
|
|
||||||
background: #FFFFFF;
|
|
||||||
padding: 3px;
|
|
||||||
border: #ccd0d4 solid 1px;
|
|
||||||
border-radius: 1px;
|
|
||||||
/* rtl */
|
|
||||||
}
|
|
||||||
html[dir=rtl] .acf-gallery .acf-gallery-side-info img {
|
|
||||||
float: right;
|
|
||||||
margin: 0 0 0 10px;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-info p {
|
|
||||||
font-size: 13px;
|
|
||||||
line-height: 15px;
|
|
||||||
margin: 3px 0;
|
|
||||||
word-break: break-all;
|
|
||||||
color: #666;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-info p strong {
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-info a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-info a.acf-gallery-edit {
|
|
||||||
color: #21759b;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-info a.acf-gallery-remove {
|
|
||||||
color: #bc0b0b;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-info a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-data {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 48px;
|
|
||||||
left: 0;
|
|
||||||
overflow: auto;
|
|
||||||
overflow-x: inherit;
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-data .acf-label,
|
|
||||||
.acf-gallery .acf-gallery-side-data th.label {
|
|
||||||
color: #666666;
|
|
||||||
font-size: 12px;
|
|
||||||
line-height: 25px;
|
|
||||||
padding: 0 4px 8px 0 !important;
|
|
||||||
width: auto !important;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
html[dir=rtl] .acf-gallery .acf-gallery-side-data .acf-label,
|
|
||||||
html[dir=rtl] .acf-gallery .acf-gallery-side-data th.label {
|
|
||||||
padding: 0 0 8px 4px !important;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-data .acf-label label,
|
|
||||||
.acf-gallery .acf-gallery-side-data th.label label {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-data .acf-input,
|
|
||||||
.acf-gallery .acf-gallery-side-data td.field {
|
|
||||||
padding: 0 0 8px !important;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-data textarea {
|
|
||||||
min-height: 0;
|
|
||||||
height: 60px;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-data p.help {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
.acf-gallery .acf-gallery-side-data p.help:hover {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
.acf-gallery[data-columns="1"] .acf-gallery-attachment {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.acf-gallery[data-columns="2"] .acf-gallery-attachment {
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
.acf-gallery[data-columns="3"] .acf-gallery-attachment {
|
|
||||||
width: 33.333%;
|
|
||||||
}
|
|
||||||
.acf-gallery[data-columns="4"] .acf-gallery-attachment {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
.acf-gallery[data-columns="5"] .acf-gallery-attachment {
|
|
||||||
width: 20%;
|
|
||||||
}
|
|
||||||
.acf-gallery[data-columns="6"] .acf-gallery-attachment {
|
|
||||||
width: 16.666%;
|
|
||||||
}
|
|
||||||
.acf-gallery[data-columns="7"] .acf-gallery-attachment {
|
|
||||||
width: 14.285%;
|
|
||||||
}
|
|
||||||
.acf-gallery[data-columns="8"] .acf-gallery-attachment {
|
|
||||||
width: 12.5%;
|
|
||||||
}
|
|
||||||
.acf-gallery .ui-resizable-handle {
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
.acf-gallery .ui-resizable-s {
|
|
||||||
bottom: -5px;
|
|
||||||
cursor: ns-resize;
|
|
||||||
height: 7px;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* media modal selected */
|
|
||||||
.acf-media-modal .attachment.acf-selected {
|
|
||||||
box-shadow: 0 0 0 3px #fff inset, 0 0 0 7px #0073aa inset !important;
|
|
||||||
}
|
|
||||||
.acf-media-modal .attachment.acf-selected .check {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.acf-media-modal .attachment.acf-selected .thumbnail {
|
|
||||||
opacity: 0.25 !important;
|
|
||||||
}
|
|
||||||
.acf-media-modal .attachment.acf-selected .attachment-preview:before {
|
|
||||||
background: rgba(0, 0, 0, 0.15);
|
|
||||||
z-index: 1;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-admin-single-options-page .select2-dropdown {
|
|
||||||
border-color: #6BB5D8 !important;
|
|
||||||
margin-top: -5px;
|
|
||||||
overflow: hidden;
|
|
||||||
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.1);
|
|
||||||
}
|
|
||||||
.acf-admin-single-options-page .select2-dropdown.select2-dropdown--above {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
.acf-admin-single-options-page .select2-container--default .select2-results__option[aria-selected=true] {
|
|
||||||
background-color: #F9FAFB !important;
|
|
||||||
color: #667085;
|
|
||||||
}
|
|
||||||
.acf-admin-single-options-page .select2-container--default .select2-results__option[aria-selected=true]:hover {
|
|
||||||
color: #399CCB;
|
|
||||||
}
|
|
||||||
.acf-admin-single-options-page .select2-container--default .select2-results__option--highlighted[aria-selected] {
|
|
||||||
color: #fff !important;
|
|
||||||
background-color: #0783BE !important;
|
|
||||||
}
|
|
||||||
.acf-admin-single-options-page .select2-dropdown .select2-results__option {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-create-options-page-popup ~ .select2-container {
|
|
||||||
z-index: 999999999;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* ACF Blocks
|
|
||||||
*
|
|
||||||
*----------------------------------------------------------------------------*/
|
|
||||||
.acf-block-component .components-placeholder {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block-editor .acf-field.acf-error {
|
|
||||||
background-color: rgba(255, 0, 0, 0.05);
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-block-component .acf-block-fields {
|
|
||||||
background: #fff;
|
|
||||||
text-align: left;
|
|
||||||
font-size: 13px;
|
|
||||||
line-height: 1.4em;
|
|
||||||
color: #444;
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
||||||
}
|
|
||||||
.acf-block-component .acf-block-fields.acf-empty-block-fields {
|
|
||||||
border: 1px solid #1e1e1e;
|
|
||||||
padding: 12px;
|
|
||||||
}
|
|
||||||
.components-panel .acf-block-component .acf-block-fields.acf-empty-block-fields {
|
|
||||||
border: none;
|
|
||||||
border-top: 1px solid #ddd;
|
|
||||||
border-bottom: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
html[dir=rtl] .acf-block-component .acf-block-fields {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
.acf-block-component .acf-block-fields p {
|
|
||||||
font-size: 13px;
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-block-body .acf-block-fields:has(> .acf-error-message),
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-block-fields:has(> .acf-error-message) {
|
|
||||||
border: none !important;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-error-message,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-error-message {
|
|
||||||
margin-top: 0;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-error-message .acf-notice-dismiss,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-error-message .acf-notice-dismiss {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
overflow: hidden;
|
|
||||||
outline: unset;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-error-message .acf-icon.-cancel::before,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-error-message .acf-icon.-cancel::before {
|
|
||||||
margin: 0 !important;
|
|
||||||
}
|
|
||||||
.acf-block-body.acf-block-has-validation-error,
|
|
||||||
.acf-block-fields:has(> .acf-error-message).acf-block-has-validation-error {
|
|
||||||
border: 2px solid #d94f4f;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-error .acf-input .acf-notice,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-error .acf-input .acf-notice {
|
|
||||||
background: none !important;
|
|
||||||
border: none !important;
|
|
||||||
display: flex !important;
|
|
||||||
align-items: center !important;
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-error .acf-input .acf-notice p,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-error .acf-input .acf-notice p {
|
|
||||||
margin: 0.5em 0 !important;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-error .acf-input .acf-notice::before,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-error .acf-input .acf-notice::before {
|
|
||||||
content: "";
|
|
||||||
position: relative;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
font-size: 20px;
|
|
||||||
background-image: url(../../../images/icons/icon-info-red.svg);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center;
|
|
||||||
background-size: 69%;
|
|
||||||
height: 26px !important;
|
|
||||||
width: 26px !important;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-error .acf-label label,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-error .acf-label label {
|
|
||||||
color: #d94f4f;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-error .acf-input input,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-error .acf-input input {
|
|
||||||
border-color: #d94f4f;
|
|
||||||
}
|
|
||||||
.acf-block-body.acf-block-has-validation-error::before,
|
|
||||||
.acf-block-fields:has(> .acf-error-message).acf-block-has-validation-error::before {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: -2px;
|
|
||||||
left: -32px;
|
|
||||||
font-size: 20px;
|
|
||||||
background-color: #d94f4f;
|
|
||||||
background-image: url(../../../images/icons/icon-info-white.svg);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position-x: center;
|
|
||||||
background-position-y: 52%;
|
|
||||||
background-size: 55%;
|
|
||||||
height: 40px;
|
|
||||||
width: 32px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-block-validation-error,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-block-validation-error {
|
|
||||||
color: #d94f4f;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-block-fields,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-block-fields {
|
|
||||||
border: #adb2ad solid 1px;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-block-fields .acf-tab-wrap .acf-tab-group,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-block-fields .acf-tab-wrap .acf-tab-group {
|
|
||||||
margin-left: 0;
|
|
||||||
padding: 16px 20px 0;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-fields > .acf-field,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-fields > .acf-field {
|
|
||||||
padding: 16px 20px;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-fields > .acf-field.acf-accordion,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-fields > .acf-field.acf-accordion {
|
|
||||||
border-color: #adb2ad;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-fields > .acf-field.acf-accordion .acf-accordion-title,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-fields > .acf-field.acf-accordion .acf-accordion-title {
|
|
||||||
padding: 16px 20px;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-button,
|
|
||||||
.acf-block-body .acf-link a.button,
|
|
||||||
.acf-block-body .acf-add-checkbox,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-button,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-link a.button,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-add-checkbox {
|
|
||||||
color: #2271b1 !important;
|
|
||||||
border-color: #2271b1 !important;
|
|
||||||
background: #f6f7f7 !important;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-button.button-primary:hover,
|
|
||||||
.acf-block-body .acf-link a.button.button-primary:hover,
|
|
||||||
.acf-block-body .acf-add-checkbox.button-primary:hover,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-button.button-primary:hover,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-link a.button.button-primary:hover,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-add-checkbox.button-primary:hover {
|
|
||||||
color: white !important;
|
|
||||||
background: #2271b1 !important;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-button:focus,
|
|
||||||
.acf-block-body .acf-link a.button:focus,
|
|
||||||
.acf-block-body .acf-add-checkbox:focus,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-button:focus,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-link a.button:focus,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-add-checkbox:focus {
|
|
||||||
outline: none !important;
|
|
||||||
background: #f6f7f7 !important;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-button:hover,
|
|
||||||
.acf-block-body .acf-link a.button:hover,
|
|
||||||
.acf-block-body .acf-add-checkbox:hover,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-button:hover,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-link a.button:hover,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-add-checkbox:hover {
|
|
||||||
color: #0a4b78 !important;
|
|
||||||
}
|
|
||||||
.acf-block-body .acf-block-preview,
|
|
||||||
.acf-block-fields:has(> .acf-error-message) .acf-block-preview {
|
|
||||||
min-height: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.acf-block-panel .acf-block-fields {
|
|
||||||
border-top: #ddd solid 1px;
|
|
||||||
border-bottom: #ddd solid 1px;
|
|
||||||
min-height: 1px;
|
|
||||||
}
|
|
||||||
.acf-block-panel .acf-block-fields:empty {
|
|
||||||
border-top: none;
|
|
||||||
}
|
|
||||||
.acf-block-panel .acf-block-fields .acf-tab-wrap {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.components-panel__body .acf-block-panel {
|
|
||||||
margin: 16px -16px -16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*# sourceMappingURL=acf-pro-input.css.map*/
|
|
||||||
File diff suppressed because one or more lines are too long
@@ -1,23 +0,0 @@
|
|||||||
/******/ (() => { // webpackBootstrap
|
|
||||||
/*!*********************************************************************************!*\
|
|
||||||
!*** ./src/advanced-custom-fields-pro/assets/src/js/acf-escaped-html-notice.js ***!
|
|
||||||
\*********************************************************************************/
|
|
||||||
/* global, acf_escaped_html_notice */
|
|
||||||
(function ($) {
|
|
||||||
const $notice = $('.acf-escaped-html-notice');
|
|
||||||
$notice.on('click', '.acf-show-more-details', function (e) {
|
|
||||||
e.preventDefault();
|
|
||||||
const $link = $(e.target);
|
|
||||||
const $details = $link.closest('.acf-escaped-html-notice').find('.acf-error-details');
|
|
||||||
if ($details.is(':hidden')) {
|
|
||||||
$details.slideDown(100);
|
|
||||||
$link.text(acf_escaped_html_notice.hide_details);
|
|
||||||
} else {
|
|
||||||
$details.slideUp(100);
|
|
||||||
$link.text(acf_escaped_html_notice.show_details);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
})(jQuery);
|
|
||||||
/******/ })()
|
|
||||||
;
|
|
||||||
//# sourceMappingURL=acf-escaped-html-notice.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"acf-escaped-html-notice.js","mappings":";;;;AAAA;AACA,CAAE,UAAWA,CAAC,EAAG;EAChB,MAAMC,OAAO,GAAGD,CAAC,CAAE,0BAA2B,CAAC;EAE/CC,OAAO,CAACC,EAAE,CAAE,OAAO,EAAE,wBAAwB,EAAE,UAAWC,CAAC,EAAG;IAC7DA,CAAC,CAACC,cAAc,CAAC,CAAC;IAElB,MAAMC,KAAK,GAAGL,CAAC,CAAEG,CAAC,CAACG,MAAO,CAAC;IAC3B,MAAMC,QAAQ,GAAGF,KAAK,CACpBG,OAAO,CAAE,0BAA2B,CAAC,CACrCC,IAAI,CAAE,oBAAqB,CAAC;IAE9B,IAAKF,QAAQ,CAACG,EAAE,CAAE,SAAU,CAAC,EAAG;MAC/BH,QAAQ,CAACI,SAAS,CAAE,GAAI,CAAC;MACzBN,KAAK,CAACO,IAAI,CAAEC,uBAAuB,CAACC,YAAa,CAAC;IACnD,CAAC,MAAM;MACNP,QAAQ,CAACQ,OAAO,CAAE,GAAI,CAAC;MACvBV,KAAK,CAACO,IAAI,CAAEC,uBAAuB,CAACG,YAAa,CAAC;IACnD;EACD,CAAE,CAAC;AACJ,CAAC,EAAIC,MAAO,CAAC,C","sources":["webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/acf-escaped-html-notice.js"],"sourcesContent":["/* global, acf_escaped_html_notice */\n( function ( $ ) {\n\tconst $notice = $( '.acf-escaped-html-notice' );\n\n\t$notice.on( 'click', '.acf-show-more-details', function ( e ) {\n\t\te.preventDefault();\n\n\t\tconst $link = $( e.target );\n\t\tconst $details = $link\n\t\t\t.closest( '.acf-escaped-html-notice' )\n\t\t\t.find( '.acf-error-details' );\n\n\t\tif ( $details.is( ':hidden' ) ) {\n\t\t\t$details.slideDown( 100 );\n\t\t\t$link.text( acf_escaped_html_notice.hide_details );\n\t\t} else {\n\t\t\t$details.slideUp( 100 );\n\t\t\t$link.text( acf_escaped_html_notice.show_details );\n\t\t}\n\t} );\n} )( jQuery );\n"],"names":["$","$notice","on","e","preventDefault","$link","target","$details","closest","find","is","slideDown","text","acf_escaped_html_notice","hide_details","slideUp","show_details","jQuery"],"sourceRoot":""}
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,402 +0,0 @@
|
|||||||
/******/ (() => { // webpackBootstrap
|
|
||||||
/******/ var __webpack_modules__ = ({
|
|
||||||
|
|
||||||
/***/ "./src/advanced-custom-fields-pro/assets/src/js/_acf-internal-post-type.js":
|
|
||||||
/*!*********************************************************************************!*\
|
|
||||||
!*** ./src/advanced-custom-fields-pro/assets/src/js/_acf-internal-post-type.js ***!
|
|
||||||
\*********************************************************************************/
|
|
||||||
/***/ (() => {
|
|
||||||
|
|
||||||
(function ($, undefined) {
|
|
||||||
/**
|
|
||||||
* internalPostTypeSettingsManager
|
|
||||||
*
|
|
||||||
* Model for handling events in the settings metaboxes of internal post types
|
|
||||||
*
|
|
||||||
* @since 6.1
|
|
||||||
*/
|
|
||||||
const internalPostTypeSettingsManager = new acf.Model({
|
|
||||||
id: 'internalPostTypeSettingsManager',
|
|
||||||
wait: 'ready',
|
|
||||||
events: {
|
|
||||||
'blur .acf_slugify_to_key': 'onChangeSlugify',
|
|
||||||
'blur .acf_singular_label': 'onChangeSingularLabel',
|
|
||||||
'blur .acf_plural_label': 'onChangePluralLabel',
|
|
||||||
'change .acf_hierarchical_switch': 'onChangeHierarchical',
|
|
||||||
'click .acf-regenerate-labels': 'onClickRegenerateLabels',
|
|
||||||
'click .acf-clear-labels': 'onClickClearLabels',
|
|
||||||
'change .rewrite_slug_field': 'onChangeURLSlug',
|
|
||||||
'keyup .rewrite_slug_field': 'onChangeURLSlug'
|
|
||||||
},
|
|
||||||
onChangeSlugify: function (e, $el) {
|
|
||||||
const name = $el.val();
|
|
||||||
const $keyInput = $('.acf_slugified_key');
|
|
||||||
|
|
||||||
// Generate field key.
|
|
||||||
if ($keyInput.val().trim() == '') {
|
|
||||||
let slug = acf.strSanitize(name.trim()).replaceAll('_', '-');
|
|
||||||
slug = acf.applyFilters('generate_internal_post_type_name', slug, this);
|
|
||||||
let slugLength = 0;
|
|
||||||
if ('taxonomy' === acf.get('screen')) {
|
|
||||||
slugLength = 32;
|
|
||||||
} else if ('post_type' === acf.get('screen')) {
|
|
||||||
slugLength = 20;
|
|
||||||
}
|
|
||||||
if (slugLength) {
|
|
||||||
slug = slug.substring(0, slugLength);
|
|
||||||
}
|
|
||||||
$keyInput.val(slug);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
initialize: function () {
|
|
||||||
// check we should init.
|
|
||||||
if (!['taxonomy', 'post_type'].includes(acf.get('screen'))) return;
|
|
||||||
|
|
||||||
// select2
|
|
||||||
const template = function (selection) {
|
|
||||||
if ('undefined' === typeof selection.element) {
|
|
||||||
return selection;
|
|
||||||
}
|
|
||||||
const $parentSelect = $(selection.element.parentElement);
|
|
||||||
const $selection = $('<span class="acf-selection"></span>');
|
|
||||||
$selection.html(acf.strEscape(selection.element.innerHTML));
|
|
||||||
let isDefault = false;
|
|
||||||
if ($parentSelect.filter('.acf-taxonomy-manage_terms, .acf-taxonomy-edit_terms, .acf-taxonomy-delete_terms').length && selection.id === 'manage_categories') {
|
|
||||||
isDefault = true;
|
|
||||||
} else if ($parentSelect.filter('.acf-taxonomy-assign_terms').length && selection.id === 'edit_posts') {
|
|
||||||
isDefault = true;
|
|
||||||
} else if (selection.id === 'taxonomy_key' || selection.id === 'post_type_key' || selection.id === 'default') {
|
|
||||||
isDefault = true;
|
|
||||||
}
|
|
||||||
if (isDefault) {
|
|
||||||
$selection.append('<span class="acf-select2-default-pill">' + acf.__('Default') + '</span>');
|
|
||||||
}
|
|
||||||
$selection.data('element', selection.element);
|
|
||||||
return $selection;
|
|
||||||
};
|
|
||||||
acf.newSelect2($('select.query_var'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: template,
|
|
||||||
templateResult: template
|
|
||||||
});
|
|
||||||
acf.newSelect2($('select.acf-taxonomy-manage_terms'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: template,
|
|
||||||
templateResult: template
|
|
||||||
});
|
|
||||||
acf.newSelect2($('select.acf-taxonomy-edit_terms'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: template,
|
|
||||||
templateResult: template
|
|
||||||
});
|
|
||||||
acf.newSelect2($('select.acf-taxonomy-delete_terms'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: template,
|
|
||||||
templateResult: template
|
|
||||||
});
|
|
||||||
acf.newSelect2($('select.acf-taxonomy-assign_terms'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: template,
|
|
||||||
templateResult: template
|
|
||||||
});
|
|
||||||
acf.newSelect2($('select.meta_box'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: template,
|
|
||||||
templateResult: template
|
|
||||||
});
|
|
||||||
const permalinkRewrite = acf.newSelect2($('select.permalink_rewrite'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: template,
|
|
||||||
templateResult: template
|
|
||||||
});
|
|
||||||
$('.rewrite_slug_field').trigger('change');
|
|
||||||
permalinkRewrite.on('change', function (e) {
|
|
||||||
$('.rewrite_slug_field').trigger('change');
|
|
||||||
});
|
|
||||||
},
|
|
||||||
onChangeURLSlug: function (e, $el) {
|
|
||||||
const $field = $('div.acf-field.acf-field-permalink-rewrite');
|
|
||||||
const rewriteType = $field.find('select').find('option:selected').val();
|
|
||||||
const originalInstructions = $field.data(rewriteType + '_instructions');
|
|
||||||
const siteURL = $field.data('site_url');
|
|
||||||
const $permalinkDesc = $field.find('p.description').first();
|
|
||||||
if (rewriteType === 'taxonomy_key' || rewriteType === 'post_type_key') {
|
|
||||||
var slugvalue = $('.acf_slugified_key').val().trim();
|
|
||||||
} else {
|
|
||||||
var slugvalue = $el.val().trim();
|
|
||||||
}
|
|
||||||
if (!slugvalue.length) slugvalue = '{slug}';
|
|
||||||
$permalinkDesc.html($('<span>' + originalInstructions + '</span>').text().replace('{slug}', '<strong>' + $('<span>' + siteURL + '/' + slugvalue + '</span>').text() + '</strong>'));
|
|
||||||
},
|
|
||||||
onChangeSingularLabel: function (e, $el) {
|
|
||||||
const label = $el.val();
|
|
||||||
this.updateLabels(label, 'singular', false);
|
|
||||||
},
|
|
||||||
onChangePluralLabel: function (e, $el) {
|
|
||||||
const label = $el.val();
|
|
||||||
this.updateLabels(label, 'plural', false);
|
|
||||||
},
|
|
||||||
onChangeHierarchical: function (e, $el) {
|
|
||||||
const hierarchical = $el.is(':checked');
|
|
||||||
if ('taxonomy' === acf.get('screen')) {
|
|
||||||
let text = $('.acf-field-meta-box').data('tags_meta_box');
|
|
||||||
if (hierarchical) {
|
|
||||||
text = $('.acf-field-meta-box').data('categories_meta_box');
|
|
||||||
}
|
|
||||||
$('#acf_taxonomy-meta_box').find('option:first').text(text).trigger('change');
|
|
||||||
}
|
|
||||||
this.updatePlaceholders(hierarchical);
|
|
||||||
},
|
|
||||||
onClickRegenerateLabels: function (e, $el) {
|
|
||||||
this.updateLabels($('.acf_singular_label').val(), 'singular', true);
|
|
||||||
this.updateLabels($('.acf_plural_label').val(), 'plural', true);
|
|
||||||
},
|
|
||||||
onClickClearLabels: function (e, $el) {
|
|
||||||
this.clearLabels();
|
|
||||||
},
|
|
||||||
updateLabels(label, type, force) {
|
|
||||||
$('[data-label][data-replace="' + type + '"').each((index, element) => {
|
|
||||||
var $input = $(element).find('input[type="text"]').first();
|
|
||||||
if (!force && $input.val() != '') return;
|
|
||||||
if (label == '') return;
|
|
||||||
$input.val($(element).data('transform') === 'lower' ? $(element).data('label').replace('%s', label.toLowerCase()) : $(element).data('label').replace('%s', label));
|
|
||||||
});
|
|
||||||
},
|
|
||||||
clearLabels() {
|
|
||||||
$('[data-label]').each((index, element) => {
|
|
||||||
$(element).find('input[type="text"]').first().val('');
|
|
||||||
});
|
|
||||||
},
|
|
||||||
updatePlaceholders(heirarchical) {
|
|
||||||
if (acf.get('screen') == 'post_type') {
|
|
||||||
var singular = acf.__('Post');
|
|
||||||
var plural = acf.__('Posts');
|
|
||||||
if (heirarchical) {
|
|
||||||
singular = acf.__('Page');
|
|
||||||
plural = acf.__('Pages');
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
var singular = acf.__('Tag');
|
|
||||||
var plural = acf.__('Tags');
|
|
||||||
if (heirarchical) {
|
|
||||||
singular = acf.__('Category');
|
|
||||||
plural = acf.__('Categories');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$('[data-label]').each((index, element) => {
|
|
||||||
var useReplacement = $(element).data('replace') === 'plural' ? plural : singular;
|
|
||||||
if ($(element).data('transform') === 'lower') {
|
|
||||||
useReplacement = useReplacement.toLowerCase();
|
|
||||||
}
|
|
||||||
$(element).find('input[type="text"]').first().attr('placeholder', $(element).data('label').replace('%s', useReplacement));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
|
||||||
* advancedSettingsMetaboxManager
|
|
||||||
*
|
|
||||||
* Screen options functionality for internal post types
|
|
||||||
*
|
|
||||||
* @since 6.1
|
|
||||||
*/
|
|
||||||
const advancedSettingsMetaboxManager = new acf.Model({
|
|
||||||
id: 'advancedSettingsMetaboxManager',
|
|
||||||
wait: 'load',
|
|
||||||
events: {
|
|
||||||
'change .acf-advanced-settings-toggle': 'onToggleACFAdvancedSettings',
|
|
||||||
'change #screen-options-wrap #acf-advanced-settings-hide': 'onToggleScreenOptionsAdvancedSettings'
|
|
||||||
},
|
|
||||||
initialize: function () {
|
|
||||||
this.$screenOptionsToggle = $('#screen-options-wrap #acf-advanced-settings-hide:first');
|
|
||||||
this.$ACFAdvancedToggle = $('.acf-advanced-settings-toggle:first');
|
|
||||||
this.render();
|
|
||||||
},
|
|
||||||
isACFAdvancedSettingsChecked: function () {
|
|
||||||
// Screen option is hidden by filter.
|
|
||||||
if (!this.$ACFAdvancedToggle.length) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return this.$ACFAdvancedToggle.prop('checked');
|
|
||||||
},
|
|
||||||
isScreenOptionsAdvancedSettingsChecked: function () {
|
|
||||||
// Screen option is hidden by filter.
|
|
||||||
if (!this.$screenOptionsToggle.length) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return this.$screenOptionsToggle.prop('checked');
|
|
||||||
},
|
|
||||||
onToggleScreenOptionsAdvancedSettings: function () {
|
|
||||||
if (this.isScreenOptionsAdvancedSettingsChecked()) {
|
|
||||||
if (!this.isACFAdvancedSettingsChecked()) {
|
|
||||||
this.$ACFAdvancedToggle.trigger('click');
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (this.isACFAdvancedSettingsChecked()) {
|
|
||||||
this.$ACFAdvancedToggle.trigger('click');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onToggleACFAdvancedSettings: function () {
|
|
||||||
if (this.isACFAdvancedSettingsChecked()) {
|
|
||||||
if (!this.isScreenOptionsAdvancedSettingsChecked()) {
|
|
||||||
this.$screenOptionsToggle.trigger('click');
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (this.isScreenOptionsAdvancedSettingsChecked()) {
|
|
||||||
this.$screenOptionsToggle.trigger('click');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
render: function () {
|
|
||||||
// On render, sync screen options to ACF's setting.
|
|
||||||
this.onToggleACFAdvancedSettings();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
const linkFieldGroupsManger = new acf.Model({
|
|
||||||
id: 'linkFieldGroupsManager',
|
|
||||||
events: {
|
|
||||||
'click .acf-link-field-groups': 'linkFieldGroups'
|
|
||||||
},
|
|
||||||
linkFieldGroups: function () {
|
|
||||||
let popup = false;
|
|
||||||
const step1 = function () {
|
|
||||||
$.ajax({
|
|
||||||
url: acf.get('ajaxurl'),
|
|
||||||
data: acf.prepareForAjax({
|
|
||||||
action: 'acf/link_field_groups'
|
|
||||||
}),
|
|
||||||
type: 'post',
|
|
||||||
dataType: 'json',
|
|
||||||
success: step2
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const step2 = function (response) {
|
|
||||||
popup = acf.newPopup({
|
|
||||||
title: response.data.title,
|
|
||||||
content: response.data.content,
|
|
||||||
width: '600px'
|
|
||||||
});
|
|
||||||
popup.$el.addClass('acf-link-field-groups-popup');
|
|
||||||
popup.on('submit', 'form', step3);
|
|
||||||
};
|
|
||||||
const step3 = function (e) {
|
|
||||||
e.preventDefault();
|
|
||||||
const $select = popup.$('select');
|
|
||||||
const val = $select.val();
|
|
||||||
if (!val.length) {
|
|
||||||
$select.focus();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
acf.startButtonLoading(popup.$('.button'));
|
|
||||||
|
|
||||||
// get HTML
|
|
||||||
$.ajax({
|
|
||||||
url: acf.get('ajaxurl'),
|
|
||||||
data: acf.prepareForAjax({
|
|
||||||
action: 'acf/link_field_groups',
|
|
||||||
field_groups: val
|
|
||||||
}),
|
|
||||||
type: 'post',
|
|
||||||
dataType: 'json',
|
|
||||||
success: step4
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const step4 = function (response) {
|
|
||||||
popup.content(response.data.content);
|
|
||||||
if (wp.a11y && wp.a11y.speak && acf.__) {
|
|
||||||
wp.a11y.speak(acf.__('Field groups linked successfully.'), 'polite');
|
|
||||||
}
|
|
||||||
popup.$('button.acf-close-popup').focus();
|
|
||||||
};
|
|
||||||
step1();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
})(jQuery);
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
/******/ });
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ // The module cache
|
|
||||||
/******/ var __webpack_module_cache__ = {};
|
|
||||||
/******/
|
|
||||||
/******/ // The require function
|
|
||||||
/******/ function __webpack_require__(moduleId) {
|
|
||||||
/******/ // Check if module is in cache
|
|
||||||
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
||||||
/******/ if (cachedModule !== undefined) {
|
|
||||||
/******/ return cachedModule.exports;
|
|
||||||
/******/ }
|
|
||||||
/******/ // Create a new module (and put it into the cache)
|
|
||||||
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
||||||
/******/ // no module.id needed
|
|
||||||
/******/ // no module.loaded needed
|
|
||||||
/******/ exports: {}
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // Execute the module function
|
|
||||||
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
||||||
/******/
|
|
||||||
/******/ // Return the exports of the module
|
|
||||||
/******/ return module.exports;
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ /* webpack/runtime/compat get default export */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
||||||
/******/ __webpack_require__.n = (module) => {
|
|
||||||
/******/ var getter = module && module.__esModule ?
|
|
||||||
/******/ () => (module['default']) :
|
|
||||||
/******/ () => (module);
|
|
||||||
/******/ __webpack_require__.d(getter, { a: getter });
|
|
||||||
/******/ return getter;
|
|
||||||
/******/ };
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/define property getters */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ // define getter functions for harmony exports
|
|
||||||
/******/ __webpack_require__.d = (exports, definition) => {
|
|
||||||
/******/ for(var key in definition) {
|
|
||||||
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
||||||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
||||||
/******/ }
|
|
||||||
/******/ }
|
|
||||||
/******/ };
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/make namespace object */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ // define __esModule on exports
|
|
||||||
/******/ __webpack_require__.r = (exports) => {
|
|
||||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
||||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
||||||
/******/ }
|
|
||||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
||||||
/******/ };
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/************************************************************************/
|
|
||||||
var __webpack_exports__ = {};
|
|
||||||
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
||||||
(() => {
|
|
||||||
"use strict";
|
|
||||||
/*!********************************************************************************!*\
|
|
||||||
!*** ./src/advanced-custom-fields-pro/assets/src/js/acf-internal-post-type.js ***!
|
|
||||||
\********************************************************************************/
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _acf_internal_post_type_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_acf-internal-post-type.js */ "./src/advanced-custom-fields-pro/assets/src/js/_acf-internal-post-type.js");
|
|
||||||
/* harmony import */ var _acf_internal_post_type_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_acf_internal_post_type_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
/******/ })()
|
|
||||||
;
|
|
||||||
//# sourceMappingURL=acf-internal-post-type.js.map
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,679 +0,0 @@
|
|||||||
/******/ (() => { // webpackBootstrap
|
|
||||||
/******/ var __webpack_modules__ = ({
|
|
||||||
|
|
||||||
/***/ "./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-clone.js":
|
|
||||||
/*!********************************************************************************!*\
|
|
||||||
!*** ./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-clone.js ***!
|
|
||||||
\********************************************************************************/
|
|
||||||
/***/ (() => {
|
|
||||||
|
|
||||||
(function ($) {
|
|
||||||
/**
|
|
||||||
* CloneDisplayFieldSetting
|
|
||||||
*
|
|
||||||
* Extra logic for this field setting
|
|
||||||
*
|
|
||||||
* @date 18/4/18
|
|
||||||
* @since 5.6.9
|
|
||||||
*
|
|
||||||
* @param void
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
|
|
||||||
var CloneDisplayFieldSetting = acf.FieldSetting.extend({
|
|
||||||
type: 'clone',
|
|
||||||
name: 'display',
|
|
||||||
render: function () {
|
|
||||||
// vars
|
|
||||||
var display = this.field.val();
|
|
||||||
|
|
||||||
// set data attribute used by CSS to hide/show
|
|
||||||
this.$fieldObject.attr('data-display', display);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
acf.registerFieldSetting(CloneDisplayFieldSetting);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ClonePrefixLabelFieldSetting
|
|
||||||
*
|
|
||||||
* Extra logic for this field setting
|
|
||||||
*
|
|
||||||
* @date 18/4/18
|
|
||||||
* @since 5.6.9
|
|
||||||
*
|
|
||||||
* @param void
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
|
|
||||||
var ClonePrefixLabelFieldSetting = acf.FieldSetting.extend({
|
|
||||||
type: 'clone',
|
|
||||||
name: 'prefix_label',
|
|
||||||
render: function () {
|
|
||||||
// vars
|
|
||||||
var prefix = '';
|
|
||||||
|
|
||||||
// if checked
|
|
||||||
if (this.field.val()) {
|
|
||||||
prefix = this.fieldObject.prop('label') + ' ';
|
|
||||||
}
|
|
||||||
|
|
||||||
// update HTML
|
|
||||||
this.$('code').html(prefix + '%field_label%');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
acf.registerFieldSetting(ClonePrefixLabelFieldSetting);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ClonePrefixNameFieldSetting
|
|
||||||
*
|
|
||||||
* Extra logic for this field setting
|
|
||||||
*
|
|
||||||
* @date 18/4/18
|
|
||||||
* @since 5.6.9
|
|
||||||
*
|
|
||||||
* @param void
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
|
|
||||||
var ClonePrefixNameFieldSetting = acf.FieldSetting.extend({
|
|
||||||
type: 'clone',
|
|
||||||
name: 'prefix_name',
|
|
||||||
render: function () {
|
|
||||||
// vars
|
|
||||||
var prefix = '';
|
|
||||||
|
|
||||||
// if checked
|
|
||||||
if (this.field.val()) {
|
|
||||||
prefix = this.fieldObject.prop('name') + '_';
|
|
||||||
}
|
|
||||||
|
|
||||||
// update HTML
|
|
||||||
this.$('code').html(prefix + '%field_name%');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
acf.registerFieldSetting(ClonePrefixNameFieldSetting);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* cloneFieldSelectHelper
|
|
||||||
*
|
|
||||||
* Customizes the clone field setting Select2 isntance
|
|
||||||
*
|
|
||||||
* @date 18/4/18
|
|
||||||
* @since 5.6.9
|
|
||||||
*
|
|
||||||
* @param void
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
|
|
||||||
var cloneFieldSelectHelper = new acf.Model({
|
|
||||||
filters: {
|
|
||||||
select2_args: 'select2Args'
|
|
||||||
},
|
|
||||||
select2Args: function (options, $select, data, $el, instance) {
|
|
||||||
// check
|
|
||||||
if (data.ajaxAction == 'acf/fields/clone/query') {
|
|
||||||
// remain open on select
|
|
||||||
options.closeOnSelect = false;
|
|
||||||
|
|
||||||
// customize ajaxData function
|
|
||||||
instance.data.ajaxData = this.ajaxData;
|
|
||||||
}
|
|
||||||
|
|
||||||
// return
|
|
||||||
return options;
|
|
||||||
},
|
|
||||||
ajaxData: function (data) {
|
|
||||||
// find current fields
|
|
||||||
data.fields = {};
|
|
||||||
|
|
||||||
// loop
|
|
||||||
acf.getFieldObjects().map(function (fieldObject) {
|
|
||||||
// append
|
|
||||||
data.fields[fieldObject.prop('key')] = {
|
|
||||||
key: fieldObject.prop('key'),
|
|
||||||
type: fieldObject.prop('type'),
|
|
||||||
label: fieldObject.prop('label'),
|
|
||||||
ancestors: fieldObject.getParents().length
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
// append title
|
|
||||||
data.title = $('#title').val();
|
|
||||||
|
|
||||||
// return
|
|
||||||
return data;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
})(jQuery);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-flexible-content.js":
|
|
||||||
/*!*******************************************************************************************!*\
|
|
||||||
!*** ./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-flexible-content.js ***!
|
|
||||||
\*******************************************************************************************/
|
|
||||||
/***/ (() => {
|
|
||||||
|
|
||||||
(function ($) {
|
|
||||||
/**
|
|
||||||
* CloneDisplayFieldSetting
|
|
||||||
*
|
|
||||||
* Extra logic for this field setting
|
|
||||||
*
|
|
||||||
* @date 18/4/18
|
|
||||||
* @since 5.6.9
|
|
||||||
*
|
|
||||||
* @param void
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
|
|
||||||
var FlexibleContentLayoutFieldSetting = acf.FieldSetting.extend({
|
|
||||||
type: 'flexible_content',
|
|
||||||
name: 'fc_layout',
|
|
||||||
events: {
|
|
||||||
'blur .layout-label': 'onChangeLabel',
|
|
||||||
'blur .layout-name': 'onChangeName',
|
|
||||||
'click .add-layout': 'onClickAdd',
|
|
||||||
'click .acf-field-settings-fc_head': 'onClickEdit',
|
|
||||||
'click .acf-field-setting-fc-duplicate': 'onClickDuplicate',
|
|
||||||
'click .acf-field-setting-fc-delete': 'onClickDelete',
|
|
||||||
'changed:layoutLabel': 'updateLayoutTitles',
|
|
||||||
'changed:layoutName': 'updateLayoutTitles'
|
|
||||||
},
|
|
||||||
$input: function (name) {
|
|
||||||
return $('#' + this.getInputId() + '-' + name);
|
|
||||||
},
|
|
||||||
$list: function () {
|
|
||||||
return this.$('.acf-field-list:first');
|
|
||||||
},
|
|
||||||
getInputId: function () {
|
|
||||||
return this.fieldObject.getInputId() + '-layouts-' + this.field.get('id');
|
|
||||||
},
|
|
||||||
// get all sub fields
|
|
||||||
getFields: function () {
|
|
||||||
return acf.getFieldObjects({
|
|
||||||
parent: this.$el
|
|
||||||
});
|
|
||||||
},
|
|
||||||
// get immediate children
|
|
||||||
getChildren: function () {
|
|
||||||
return acf.getFieldObjects({
|
|
||||||
list: this.$list()
|
|
||||||
});
|
|
||||||
},
|
|
||||||
initialize: function () {
|
|
||||||
// add sortable
|
|
||||||
var $tbody = this.$el.parent();
|
|
||||||
$tbody.css('position', 'relative');
|
|
||||||
if (!$tbody.hasClass('ui-sortable')) {
|
|
||||||
$tbody.sortable({
|
|
||||||
items: '> .acf-field-setting-fc_layout',
|
|
||||||
handle: '.acf-fc_draggable',
|
|
||||||
forceHelperSize: true,
|
|
||||||
forcePlaceholderSize: true,
|
|
||||||
scroll: true,
|
|
||||||
stop: this.proxy(function (event, ui) {
|
|
||||||
this.fieldObject.save();
|
|
||||||
})
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// add meta to sub fields
|
|
||||||
this.updateFieldLayouts();
|
|
||||||
this.updateLayoutTitles();
|
|
||||||
},
|
|
||||||
updateFieldLayouts: function () {
|
|
||||||
this.getChildren().map(this.updateFieldLayout, this);
|
|
||||||
},
|
|
||||||
updateFieldLayout: function (field) {
|
|
||||||
field.prop('parent_layout', this.get('id'));
|
|
||||||
},
|
|
||||||
updateLayoutTitles: function () {
|
|
||||||
const label = this.get('layoutLabel');
|
|
||||||
const name = this.get('layoutName');
|
|
||||||
const $layoutHeaderLabelText = this.$el.find('> .acf-label .acf-fc-layout-label');
|
|
||||||
if (label) {
|
|
||||||
$layoutHeaderLabelText.text(acf.decode(label));
|
|
||||||
}
|
|
||||||
const $layoutHeaderNameText = this.$el.find('> .acf-label .acf-fc-layout-name span');
|
|
||||||
if (name) {
|
|
||||||
$layoutHeaderNameText.text(name);
|
|
||||||
$layoutHeaderNameText.parent().css('display', '');
|
|
||||||
} else {
|
|
||||||
$layoutHeaderNameText.parent().css('display', 'none');
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onClickEdit: function (e) {
|
|
||||||
const $target = $(e.target);
|
|
||||||
if ($target.hasClass('acf-btn') || $target.hasClass('copyable') || $target.parent().hasClass('acf-btn') || $target.parent().hasClass('copyable')) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.isOpen() ? this.close() : this.open();
|
|
||||||
},
|
|
||||||
isOpen: function (e) {
|
|
||||||
const $settings = this.$el.children('.acf-field-layout-settings');
|
|
||||||
return $settings.hasClass('open');
|
|
||||||
},
|
|
||||||
open: function (element, isAddingLayout) {
|
|
||||||
const $header = element ? element.children('.acf-field-settings-fc_head') : this.$el.children('.acf-field-settings-fc_head');
|
|
||||||
const $settings = element ? element.children('.acf-field-layout-settings') : this.$el.children('.acf-field-layout-settings');
|
|
||||||
const toggle = element ? element.find('.toggle-indicator').first() : this.$el.find('.toggle-indicator').first();
|
|
||||||
|
|
||||||
// action (show)
|
|
||||||
acf.doAction('show', $settings);
|
|
||||||
|
|
||||||
// open
|
|
||||||
if (isAddingLayout) {
|
|
||||||
$settings.slideDown({
|
|
||||||
complete: function () {
|
|
||||||
$settings.find('.layout-label').trigger('focus');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
$settings.slideDown();
|
|
||||||
}
|
|
||||||
toggle.addClass('open');
|
|
||||||
if (toggle.hasClass('closed')) {
|
|
||||||
toggle.removeClass('closed');
|
|
||||||
}
|
|
||||||
$settings.addClass('open');
|
|
||||||
$header.addClass('open');
|
|
||||||
},
|
|
||||||
close: function () {
|
|
||||||
const $header = this.$el.children('.acf-field-settings-fc_head');
|
|
||||||
const $settings = this.$el.children('.acf-field-layout-settings');
|
|
||||||
const toggle = this.$el.find('.toggle-indicator').first();
|
|
||||||
|
|
||||||
// close
|
|
||||||
$settings.slideUp();
|
|
||||||
$settings.removeClass('open');
|
|
||||||
toggle.removeClass('open');
|
|
||||||
$header.removeClass('open');
|
|
||||||
if (!toggle.hasClass('closed')) {
|
|
||||||
toggle.addClass('closed');
|
|
||||||
}
|
|
||||||
|
|
||||||
// action (hide)
|
|
||||||
acf.doAction('hide', $settings);
|
|
||||||
},
|
|
||||||
onChangeLabel: function (e, $el) {
|
|
||||||
let label = $el.val();
|
|
||||||
const safeLabel = acf.encode(label);
|
|
||||||
this.set('layoutLabel', safeLabel);
|
|
||||||
this.$el.attr('data-layout-label', safeLabel);
|
|
||||||
let $name = this.$input('name');
|
|
||||||
|
|
||||||
// render name
|
|
||||||
if ($name.val() == '') {
|
|
||||||
acf.val($name, acf.strSanitize(label));
|
|
||||||
this.$el.find('.layout-name').trigger('blur');
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onChangeName: function (e, $el) {
|
|
||||||
const sanitizedName = acf.strSanitize($el.val(), false);
|
|
||||||
$el.val(sanitizedName);
|
|
||||||
this.set('layoutName', sanitizedName);
|
|
||||||
this.$el.attr('data-layout-name', sanitizedName);
|
|
||||||
},
|
|
||||||
onClickAdd: function (e, $el) {
|
|
||||||
e.preventDefault();
|
|
||||||
var prevKey = this.get('id');
|
|
||||||
var newKey = acf.uniqid('layout_');
|
|
||||||
|
|
||||||
// duplicate
|
|
||||||
$layout = acf.duplicate({
|
|
||||||
$el: this.$el,
|
|
||||||
search: prevKey,
|
|
||||||
replace: newKey,
|
|
||||||
after: function ($el, $el2) {
|
|
||||||
var $list = $el2.find('.acf-field-list:first');
|
|
||||||
|
|
||||||
// remove sub fields
|
|
||||||
$list.children('.acf-field-object').remove();
|
|
||||||
|
|
||||||
// show empty
|
|
||||||
$list.addClass('-empty');
|
|
||||||
|
|
||||||
// reset layout meta values
|
|
||||||
$el2.attr('data-layout-label', '');
|
|
||||||
$el2.attr('data-layout-name', '');
|
|
||||||
$el2.find('.acf-fc-meta input').val('');
|
|
||||||
$el2.find('label.acf-fc-layout-label').html(acf.__('Layout'));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// get layout
|
|
||||||
var layout = acf.getFieldSetting($layout);
|
|
||||||
|
|
||||||
// update hidden input
|
|
||||||
layout.$input('key').val(newKey);
|
|
||||||
!this.isOpen() ? this.open(layout.$el, true) : layout.$el.find('.layout-label').trigger('focus');
|
|
||||||
|
|
||||||
// save
|
|
||||||
this.fieldObject.save();
|
|
||||||
},
|
|
||||||
onClickDuplicate: function (e, $el) {
|
|
||||||
e.preventDefault();
|
|
||||||
var prevKey = this.get('id');
|
|
||||||
var newKey = acf.uniqid('layout_');
|
|
||||||
|
|
||||||
// duplicate
|
|
||||||
$layout = acf.duplicate({
|
|
||||||
$el: this.$el,
|
|
||||||
search: prevKey,
|
|
||||||
replace: newKey
|
|
||||||
});
|
|
||||||
|
|
||||||
// get all fields in new layout similar to fieldManager.onDuplicateField().
|
|
||||||
// important to run field.wipe() before making any changes to the "parent_layout" prop
|
|
||||||
// to ensure the correct input is modified.
|
|
||||||
var children = acf.getFieldObjects({
|
|
||||||
parent: $layout
|
|
||||||
});
|
|
||||||
if (children.length) {
|
|
||||||
// loop
|
|
||||||
children.map(function (child) {
|
|
||||||
// wipe field
|
|
||||||
child.wipe();
|
|
||||||
|
|
||||||
// if the child is open, re-fire the open method to ensure it's initialised correctly.
|
|
||||||
if (child.isOpen()) {
|
|
||||||
child.open();
|
|
||||||
}
|
|
||||||
|
|
||||||
// update parent
|
|
||||||
child.updateParent();
|
|
||||||
});
|
|
||||||
|
|
||||||
// action
|
|
||||||
acf.doAction('duplicate_field_objects', children, this.fieldObject, this.fieldObject);
|
|
||||||
}
|
|
||||||
|
|
||||||
// get layout
|
|
||||||
var layout = acf.getFieldSetting($layout);
|
|
||||||
|
|
||||||
// get current label/names so we can prepare to append 'copy'
|
|
||||||
var label = layout.get('layoutLabel');
|
|
||||||
var name = layout.get('layoutName');
|
|
||||||
var end = name.split('_').pop();
|
|
||||||
var copy = acf.__('copy');
|
|
||||||
|
|
||||||
// increase suffix "1"
|
|
||||||
if (acf.isNumeric(end)) {
|
|
||||||
var i = end * 1 + 1;
|
|
||||||
label = label.replace(end, i);
|
|
||||||
name = name.replace(end, i);
|
|
||||||
|
|
||||||
// increase suffix "(copy1)"
|
|
||||||
} else if (end.indexOf(copy) === 0) {
|
|
||||||
var i = end.replace(copy, '') * 1;
|
|
||||||
i = i ? i + 1 : 2;
|
|
||||||
|
|
||||||
// replace
|
|
||||||
label = label.replace(end, copy + i);
|
|
||||||
name = name.replace(end, copy + i);
|
|
||||||
|
|
||||||
// add default "(copy)"
|
|
||||||
} else {
|
|
||||||
label += ' (' + copy + ')';
|
|
||||||
name += '_' + copy;
|
|
||||||
}
|
|
||||||
|
|
||||||
// update inputs and data attributes which will trigger header label updates too.
|
|
||||||
layout.$input('label').val(label);
|
|
||||||
layout.set('layoutLabel', label);
|
|
||||||
layout.$el.attr('data-layout-label', label);
|
|
||||||
layout.$input('name').val(name);
|
|
||||||
layout.set('layoutName', name);
|
|
||||||
layout.$el.attr('data-layout-name', name);
|
|
||||||
|
|
||||||
// update hidden input
|
|
||||||
layout.$input('key').val(newKey);
|
|
||||||
!this.isOpen() ? this.open(layout.$el, true) : layout.$el.find('.layout-label').trigger('focus');
|
|
||||||
// save
|
|
||||||
this.fieldObject.save();
|
|
||||||
},
|
|
||||||
onClickDelete: function (e, $el) {
|
|
||||||
e.preventDefault();
|
|
||||||
// Bypass confirmation when holding down "shift" key.
|
|
||||||
if (e.shiftKey) {
|
|
||||||
return this.delete();
|
|
||||||
}
|
|
||||||
|
|
||||||
// add class
|
|
||||||
this.$el.addClass('-hover');
|
|
||||||
|
|
||||||
// add tooltip
|
|
||||||
var tooltip = acf.newTooltip({
|
|
||||||
confirmRemove: true,
|
|
||||||
target: $el,
|
|
||||||
context: this,
|
|
||||||
confirm: function () {
|
|
||||||
this.delete();
|
|
||||||
},
|
|
||||||
cancel: function () {
|
|
||||||
this.$el.removeClass('-hover');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
delete: function () {
|
|
||||||
var $siblings = this.$el.siblings('.acf-field-setting-fc_layout');
|
|
||||||
|
|
||||||
// validate
|
|
||||||
if (!$siblings.length) {
|
|
||||||
alert(acf.__('Flexible Content requires at least 1 layout'));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// delete sub fields
|
|
||||||
this.getFields().map(function (child) {
|
|
||||||
child.delete({
|
|
||||||
animate: false
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// remove tr
|
|
||||||
acf.remove(this.$el);
|
|
||||||
|
|
||||||
// save
|
|
||||||
this.fieldObject.save();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
acf.registerFieldSetting(FlexibleContentLayoutFieldSetting);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* flexibleContentHelper
|
|
||||||
*
|
|
||||||
* description
|
|
||||||
*
|
|
||||||
* @date 19/4/18
|
|
||||||
* @since 5.6.9
|
|
||||||
*
|
|
||||||
* @param type $var Description. Default.
|
|
||||||
* @return type Description.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var flexibleContentHelper = new acf.Model({
|
|
||||||
actions: {
|
|
||||||
sortstop_field_object: 'updateParentLayout',
|
|
||||||
change_field_object_parent: 'updateParentLayout'
|
|
||||||
},
|
|
||||||
updateParentLayout: function (fieldObject) {
|
|
||||||
var parent = fieldObject.getParent();
|
|
||||||
|
|
||||||
// delete meta
|
|
||||||
if (!parent || parent.prop('type') !== 'flexible_content') {
|
|
||||||
fieldObject.prop('parent_layout', null);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// get layout
|
|
||||||
var $layout = fieldObject.$el.closest('.acf-field-setting-fc_layout');
|
|
||||||
var layout = acf.getFieldSetting($layout);
|
|
||||||
|
|
||||||
// check if previous prop exists
|
|
||||||
// - if not, set prop to allow following code to trigger 'change' and save the field
|
|
||||||
if (!fieldObject.has('parent_layout')) {
|
|
||||||
fieldObject.prop('parent_layout', 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
// update meta
|
|
||||||
fieldObject.prop('parent_layout', layout.get('id'));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
})(jQuery);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-repeater.js":
|
|
||||||
/*!***********************************************************************************!*\
|
|
||||||
!*** ./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-repeater.js ***!
|
|
||||||
\***********************************************************************************/
|
|
||||||
/***/ (() => {
|
|
||||||
|
|
||||||
(function ($) {
|
|
||||||
/*
|
|
||||||
* Repeater
|
|
||||||
*
|
|
||||||
* This field type requires some extra logic for its settings
|
|
||||||
*
|
|
||||||
* @type function
|
|
||||||
* @date 24/10/13
|
|
||||||
* @since 5.0.0
|
|
||||||
*
|
|
||||||
* @param n/a
|
|
||||||
* @return n/a
|
|
||||||
*/
|
|
||||||
|
|
||||||
var RepeaterCollapsedFieldSetting = acf.FieldSetting.extend({
|
|
||||||
type: 'repeater',
|
|
||||||
name: 'collapsed',
|
|
||||||
events: {
|
|
||||||
'focus select': 'onFocus'
|
|
||||||
},
|
|
||||||
onFocus: function (e, $el) {
|
|
||||||
// vars
|
|
||||||
var $select = $el;
|
|
||||||
|
|
||||||
// collapsed
|
|
||||||
var choices = [];
|
|
||||||
|
|
||||||
// keep 'null' choice
|
|
||||||
choices.push({
|
|
||||||
label: $select.find('option[value=""]').text(),
|
|
||||||
value: ''
|
|
||||||
});
|
|
||||||
|
|
||||||
// find sub fields
|
|
||||||
var $list = this.fieldObject.$('.acf-field-list:first');
|
|
||||||
var fields = acf.getFieldObjects({
|
|
||||||
list: $list
|
|
||||||
});
|
|
||||||
|
|
||||||
// loop
|
|
||||||
fields.map(function (field) {
|
|
||||||
choices.push({
|
|
||||||
label: field.prop('label'),
|
|
||||||
value: field.prop('key')
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// render
|
|
||||||
acf.renderSelect($select, choices);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
acf.registerFieldSetting(RepeaterCollapsedFieldSetting);
|
|
||||||
})(jQuery);
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
/******/ });
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ // The module cache
|
|
||||||
/******/ var __webpack_module_cache__ = {};
|
|
||||||
/******/
|
|
||||||
/******/ // The require function
|
|
||||||
/******/ function __webpack_require__(moduleId) {
|
|
||||||
/******/ // Check if module is in cache
|
|
||||||
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
||||||
/******/ if (cachedModule !== undefined) {
|
|
||||||
/******/ return cachedModule.exports;
|
|
||||||
/******/ }
|
|
||||||
/******/ // Create a new module (and put it into the cache)
|
|
||||||
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
||||||
/******/ // no module.id needed
|
|
||||||
/******/ // no module.loaded needed
|
|
||||||
/******/ exports: {}
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // Execute the module function
|
|
||||||
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
||||||
/******/
|
|
||||||
/******/ // Return the exports of the module
|
|
||||||
/******/ return module.exports;
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ /* webpack/runtime/compat get default export */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
||||||
/******/ __webpack_require__.n = (module) => {
|
|
||||||
/******/ var getter = module && module.__esModule ?
|
|
||||||
/******/ () => (module['default']) :
|
|
||||||
/******/ () => (module);
|
|
||||||
/******/ __webpack_require__.d(getter, { a: getter });
|
|
||||||
/******/ return getter;
|
|
||||||
/******/ };
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/define property getters */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ // define getter functions for harmony exports
|
|
||||||
/******/ __webpack_require__.d = (exports, definition) => {
|
|
||||||
/******/ for(var key in definition) {
|
|
||||||
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
||||||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
||||||
/******/ }
|
|
||||||
/******/ }
|
|
||||||
/******/ };
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/make namespace object */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ // define __esModule on exports
|
|
||||||
/******/ __webpack_require__.r = (exports) => {
|
|
||||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
||||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
||||||
/******/ }
|
|
||||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
||||||
/******/ };
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/************************************************************************/
|
|
||||||
var __webpack_exports__ = {};
|
|
||||||
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
||||||
(() => {
|
|
||||||
"use strict";
|
|
||||||
/*!*********************************************************************************!*\
|
|
||||||
!*** ./src/advanced-custom-fields-pro/assets/src/js/pro/acf-pro-field-group.js ***!
|
|
||||||
\*********************************************************************************/
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _acf_setting_repeater_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_acf-setting-repeater.js */ "./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-repeater.js");
|
|
||||||
/* harmony import */ var _acf_setting_repeater_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_acf_setting_repeater_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _acf_setting_flexible_content_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_acf-setting-flexible-content.js */ "./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-flexible-content.js");
|
|
||||||
/* harmony import */ var _acf_setting_flexible_content_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_acf_setting_flexible_content_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
/* harmony import */ var _acf_setting_clone_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_acf-setting-clone.js */ "./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-clone.js");
|
|
||||||
/* harmony import */ var _acf_setting_clone_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_acf_setting_clone_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
/******/ })()
|
|
||||||
;
|
|
||||||
//# sourceMappingURL=acf-pro-field-group.js.map
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,260 +0,0 @@
|
|||||||
/******/ (() => { // webpackBootstrap
|
|
||||||
/******/ var __webpack_modules__ = ({
|
|
||||||
|
|
||||||
/***/ "./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-ui-options-page.js":
|
|
||||||
/*!**********************************************************************************!*\
|
|
||||||
!*** ./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-ui-options-page.js ***!
|
|
||||||
\**********************************************************************************/
|
|
||||||
/***/ (() => {
|
|
||||||
|
|
||||||
(function ($, undefined) {
|
|
||||||
const parentPageSelectTemplate = function (selection) {
|
|
||||||
if ('undefined' === typeof selection.element) {
|
|
||||||
return selection;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Hides the optgroup for the "No Parent" option.
|
|
||||||
if (selection.children && 'None' === selection.text) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if ('acfOptionsPages' === selection.text) {
|
|
||||||
selection.text = acf.__('Options Pages');
|
|
||||||
}
|
|
||||||
return $('<span class="acf-selection"></span>').data('element', selection.element).html(acf.strEscape(selection.text));
|
|
||||||
};
|
|
||||||
const defaultPillTemplate = function (selection) {
|
|
||||||
if ('undefined' === typeof selection.element) {
|
|
||||||
return selection;
|
|
||||||
}
|
|
||||||
const $selection = $('<span class="acf-selection"></span>');
|
|
||||||
$selection.html(acf.strEscape(selection.element.innerHTML));
|
|
||||||
if (selection.id === 'options' || selection.id === 'edit_posts') {
|
|
||||||
$selection.append('<span class="acf-select2-default-pill">' + acf.__('Default') + '</span>');
|
|
||||||
}
|
|
||||||
$selection.data('element', selection.element);
|
|
||||||
return $selection;
|
|
||||||
};
|
|
||||||
const UIOptionsPageManager = new acf.Model({
|
|
||||||
id: 'UIOptionsPageManager',
|
|
||||||
wait: 'ready',
|
|
||||||
events: {
|
|
||||||
'change .acf-options-page-parent_slug': 'toggleMenuPositionDesc'
|
|
||||||
},
|
|
||||||
initialize: function () {
|
|
||||||
if ('ui_options_page' !== acf.get('screen')) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
acf.newSelect2($('select.acf-options-page-parent_slug'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: parentPageSelectTemplate,
|
|
||||||
templateResult: parentPageSelectTemplate,
|
|
||||||
dropdownCssClass: 'field-type-select-results'
|
|
||||||
});
|
|
||||||
acf.newSelect2($('select.acf-options-page-capability'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: defaultPillTemplate,
|
|
||||||
templateResult: defaultPillTemplate
|
|
||||||
});
|
|
||||||
acf.newSelect2($('select.acf-options-page-data_storage'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: defaultPillTemplate,
|
|
||||||
templateResult: defaultPillTemplate
|
|
||||||
});
|
|
||||||
this.toggleMenuPositionDesc();
|
|
||||||
},
|
|
||||||
toggleMenuPositionDesc: function (e, $el) {
|
|
||||||
const parentPage = $('select.acf-options-page-parent_slug').val();
|
|
||||||
if ('none' === parentPage) {
|
|
||||||
$('.acf-menu-position-desc-child').hide();
|
|
||||||
$('.acf-menu-position-desc-parent').show();
|
|
||||||
} else {
|
|
||||||
$('.acf-menu-position-desc-parent').hide();
|
|
||||||
$('.acf-menu-position-desc-child').show();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
const optionsPageModalManager = new acf.Model({
|
|
||||||
id: 'optionsPageModalManager',
|
|
||||||
events: {
|
|
||||||
'change .location-rule-value': 'createOptionsPage'
|
|
||||||
},
|
|
||||||
createOptionsPage: function (e) {
|
|
||||||
const $locationSelect = $(e.target);
|
|
||||||
if ('add_new_options_page' !== $locationSelect.val()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
let popup = false;
|
|
||||||
const getForm = function () {
|
|
||||||
const fieldGroupTitle = $('.acf-headerbar-title-field').val();
|
|
||||||
const ajaxData = {
|
|
||||||
action: 'acf/create_options_page',
|
|
||||||
acf_parent_page_choices: this.acf.data.optionPageParentOptions ? this.acf.data.optionPageParentOptions : []
|
|
||||||
};
|
|
||||||
if (fieldGroupTitle.length) {
|
|
||||||
ajaxData.field_group_title = fieldGroupTitle;
|
|
||||||
}
|
|
||||||
$.ajax({
|
|
||||||
url: acf.get('ajaxurl'),
|
|
||||||
data: acf.prepareForAjax(ajaxData),
|
|
||||||
type: 'post',
|
|
||||||
dataType: 'json',
|
|
||||||
success: populateForm
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const populateForm = function (response) {
|
|
||||||
popup = acf.newPopup({
|
|
||||||
title: response.data.title,
|
|
||||||
content: response.data.content,
|
|
||||||
width: '600px'
|
|
||||||
});
|
|
||||||
popup.$el.addClass('acf-create-options-page-popup');
|
|
||||||
|
|
||||||
// Hack to focus with the cursor at the end of the input.
|
|
||||||
const $pageTitle = popup.$el.find('#acf_ui_options_page-page_title');
|
|
||||||
const pageTitleVal = $pageTitle.val();
|
|
||||||
$pageTitle.focus().val('').val(pageTitleVal);
|
|
||||||
acf.newSelect2($('#acf_ui_options_page-parent_slug'), {
|
|
||||||
field: false,
|
|
||||||
templateSelection: parentPageSelectTemplate,
|
|
||||||
templateResult: parentPageSelectTemplate,
|
|
||||||
dropdownCssClass: 'field-type-select-results'
|
|
||||||
});
|
|
||||||
popup.on('submit', 'form', validateForm);
|
|
||||||
};
|
|
||||||
const validateForm = function (e) {
|
|
||||||
e.preventDefault();
|
|
||||||
acf.validateForm({
|
|
||||||
form: $('#acf-create-options-page-form'),
|
|
||||||
success: submitForm,
|
|
||||||
failure: onFail
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const submitForm = function () {
|
|
||||||
const formValues = $('#acf-create-options-page-form').serializeArray();
|
|
||||||
const ajaxData = {
|
|
||||||
action: 'acf/create_options_page'
|
|
||||||
};
|
|
||||||
formValues.forEach(setting => {
|
|
||||||
ajaxData[setting.name] = setting.value;
|
|
||||||
});
|
|
||||||
$.ajax({
|
|
||||||
url: acf.get('ajaxurl'),
|
|
||||||
data: acf.prepareForAjax(ajaxData),
|
|
||||||
type: 'post',
|
|
||||||
dataType: 'json',
|
|
||||||
success: populateLocationSelect
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const onFail = function (e) {
|
|
||||||
const $form = $('#acf-create-options-page-form');
|
|
||||||
const $fieldNotices = $form.find('.acf-field .acf-error-message');
|
|
||||||
|
|
||||||
// Hide the general validation failed notice.
|
|
||||||
$form.find('.acf-notice').first().remove();
|
|
||||||
|
|
||||||
// Update class for inline notices and move into field label.
|
|
||||||
$fieldNotices.each(function () {
|
|
||||||
const $label = $(this).closest('.acf-field').find('.acf-label:first');
|
|
||||||
$(this).attr('class', 'acf-options-page-modal-error').appendTo($label);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const populateLocationSelect = function (response) {
|
|
||||||
if (response.success && response.data.menu_slug) {
|
|
||||||
$locationSelect.prepend('<option value="' + response.data.menu_slug + '">' + response.data.page_title + '</option>');
|
|
||||||
$locationSelect.val(response.data.menu_slug);
|
|
||||||
popup.close();
|
|
||||||
} else if (!response.success && response.data.error) {
|
|
||||||
alert(response.data.error);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
getForm();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
})(jQuery);
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
/******/ });
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ // The module cache
|
|
||||||
/******/ var __webpack_module_cache__ = {};
|
|
||||||
/******/
|
|
||||||
/******/ // The require function
|
|
||||||
/******/ function __webpack_require__(moduleId) {
|
|
||||||
/******/ // Check if module is in cache
|
|
||||||
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
||||||
/******/ if (cachedModule !== undefined) {
|
|
||||||
/******/ return cachedModule.exports;
|
|
||||||
/******/ }
|
|
||||||
/******/ // Create a new module (and put it into the cache)
|
|
||||||
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
||||||
/******/ // no module.id needed
|
|
||||||
/******/ // no module.loaded needed
|
|
||||||
/******/ exports: {}
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // Execute the module function
|
|
||||||
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
||||||
/******/
|
|
||||||
/******/ // Return the exports of the module
|
|
||||||
/******/ return module.exports;
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ /* webpack/runtime/compat get default export */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
||||||
/******/ __webpack_require__.n = (module) => {
|
|
||||||
/******/ var getter = module && module.__esModule ?
|
|
||||||
/******/ () => (module['default']) :
|
|
||||||
/******/ () => (module);
|
|
||||||
/******/ __webpack_require__.d(getter, { a: getter });
|
|
||||||
/******/ return getter;
|
|
||||||
/******/ };
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/define property getters */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ // define getter functions for harmony exports
|
|
||||||
/******/ __webpack_require__.d = (exports, definition) => {
|
|
||||||
/******/ for(var key in definition) {
|
|
||||||
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
||||||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
||||||
/******/ }
|
|
||||||
/******/ }
|
|
||||||
/******/ };
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/make namespace object */
|
|
||||||
/******/ (() => {
|
|
||||||
/******/ // define __esModule on exports
|
|
||||||
/******/ __webpack_require__.r = (exports) => {
|
|
||||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
||||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
||||||
/******/ }
|
|
||||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
||||||
/******/ };
|
|
||||||
/******/ })();
|
|
||||||
/******/
|
|
||||||
/************************************************************************/
|
|
||||||
var __webpack_exports__ = {};
|
|
||||||
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
||||||
(() => {
|
|
||||||
"use strict";
|
|
||||||
/*!*************************************************************************************!*\
|
|
||||||
!*** ./src/advanced-custom-fields-pro/assets/src/js/pro/acf-pro-ui-options-page.js ***!
|
|
||||||
\*************************************************************************************/
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _acf_ui_options_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_acf-ui-options-page */ "./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-ui-options-page.js");
|
|
||||||
/* harmony import */ var _acf_ui_options_page__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_acf_ui_options_page__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
/******/ })()
|
|
||||||
;
|
|
||||||
//# sourceMappingURL=acf-pro-ui-options-page.js.map
|
|
||||||
File diff suppressed because one or more lines are too long
@@ -846,7 +846,7 @@ foreach ( acf_get_combined_post_type_settings_tabs() as $tab_key => $tab_label )
|
|||||||
'prefix' => 'acf_post_type',
|
'prefix' => 'acf_post_type',
|
||||||
'value' => $acf_post_type['register_meta_box_cb'],
|
'value' => $acf_post_type['register_meta_box_cb'],
|
||||||
'label' => __( 'Custom Meta Box Callback', 'acf' ),
|
'label' => __( 'Custom Meta Box Callback', 'acf' ),
|
||||||
'instructions' => __( 'A PHP function name to be called when setting up the meta boxes for the edit screen.', 'acf' ),
|
'instructions' => __( 'A PHP function name to be called when setting up the meta boxes for the edit screen. For security, this callback will be executed in a special context without access to any superglobals like $_POST or $_GET.', 'acf' ),
|
||||||
'conditions' => array(
|
'conditions' => array(
|
||||||
'field' => 'show_ui',
|
'field' => 'show_ui',
|
||||||
'operator' => '==',
|
'operator' => '==',
|
||||||
|
|||||||
@@ -802,7 +802,7 @@ foreach ( acf_get_combined_taxonomy_settings_tabs() as $tab_key => $tab_label )
|
|||||||
'prefix' => 'acf_taxonomy',
|
'prefix' => 'acf_taxonomy',
|
||||||
'value' => $acf_taxonomy['meta_box_cb'],
|
'value' => $acf_taxonomy['meta_box_cb'],
|
||||||
'label' => __( 'Register Meta Box Callback', 'acf' ),
|
'label' => __( 'Register Meta Box Callback', 'acf' ),
|
||||||
'instructions' => __( 'A PHP function name to be called to handle the content of a meta box on your taxonomy.', 'acf' ),
|
'instructions' => __( 'A PHP function name to be called to handle the content of a meta box on your taxonomy. For security, this callback will be executed in a special context without access to any superglobals like $_POST or $_GET.', 'acf' ),
|
||||||
'conditions' => array(
|
'conditions' => array(
|
||||||
'field' => 'meta_box',
|
'field' => 'meta_box',
|
||||||
'operator' => '==',
|
'operator' => '==',
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ if ( ! class_exists( 'ACF_Assets' ) ) :
|
|||||||
*/
|
*/
|
||||||
public function register_scripts() {
|
public function register_scripts() {
|
||||||
// Extract vars.
|
// Extract vars.
|
||||||
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
$suffix = defined( 'ACF_DEVELOPMENT_MODE' ) && ACF_DEVELOPMENT_MODE ? '' : '.min';
|
||||||
$version = acf_get_setting( 'version' );
|
$version = acf_get_setting( 'version' );
|
||||||
|
|
||||||
// Register scripts.
|
// Register scripts.
|
||||||
@@ -118,9 +118,9 @@ if ( ! class_exists( 'ACF_Assets' ) ) :
|
|||||||
wp_register_script( 'acf-escaped-html-notice', acf_get_url( 'assets/build/js/acf-escaped-html-notice' . $suffix . '.js' ), array( 'jquery' ), $version, true );
|
wp_register_script( 'acf-escaped-html-notice', acf_get_url( 'assets/build/js/acf-escaped-html-notice' . $suffix . '.js' ), array( 'jquery' ), $version, true );
|
||||||
|
|
||||||
// Register styles.
|
// Register styles.
|
||||||
wp_register_style( 'acf-global', acf_get_url( 'assets/build/css/acf-global.css' ), array( 'dashicons' ), $version );
|
wp_register_style( 'acf-global', acf_get_url( 'assets/build/css/acf-global' . $suffix . '.css' ), array( 'dashicons' ), $version );
|
||||||
wp_register_style( 'acf-input', acf_get_url( 'assets/build/css/acf-input.css' ), array( 'acf-global' ), $version );
|
wp_register_style( 'acf-input', acf_get_url( 'assets/build/css/acf-input' . $suffix . '.css' ), array( 'acf-global' ), $version );
|
||||||
wp_register_style( 'acf-field-group', acf_get_url( 'assets/build/css/acf-field-group.css' ), array( 'acf-input' ), $version );
|
wp_register_style( 'acf-field-group', acf_get_url( 'assets/build/css/acf-field-group' . $suffix . '.css' ), array( 'acf-input' ), $version );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires after core scripts and styles have been registered.
|
* Fires after core scripts and styles have been registered.
|
||||||
@@ -475,7 +475,7 @@ if ( ! class_exists( 'ACF_Assets' ) ) :
|
|||||||
'validation' => acf_get_form_data( 'validation' ),
|
'validation' => acf_get_form_data( 'validation' ),
|
||||||
'editor' => acf_is_block_editor() ? 'block' : 'classic',
|
'editor' => acf_is_block_editor() ? 'block' : 'classic',
|
||||||
'is_pro' => acf_is_pro(),
|
'is_pro' => acf_is_pro(),
|
||||||
'debug' => acf_is_beta() || ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ),
|
'debug' => acf_is_beta() || ( defined( 'ACF_DEVELOPMENT_MODE' ) && ACF_DEVELOPMENT_MODE ),
|
||||||
);
|
);
|
||||||
|
|
||||||
acf_localize_data( $data_to_localize );
|
acf_localize_data( $data_to_localize );
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ if ( ! class_exists( 'acf_field_color_picker' ) ) :
|
|||||||
// Register scripts for non-admin.
|
// Register scripts for non-admin.
|
||||||
// Applies logic from wp_default_scripts() function defined in "wp-includes/script-loader.php".
|
// Applies logic from wp_default_scripts() function defined in "wp-includes/script-loader.php".
|
||||||
if ( ! is_admin() ) {
|
if ( ! is_admin() ) {
|
||||||
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
$suffix = defined( 'ACF_DEVELOPMENT_MODE' ) && ACF_DEVELOPMENT_MODE ? '' : '.min';
|
||||||
$scripts = wp_scripts();
|
$scripts = wp_scripts();
|
||||||
$scripts->add( 'iris', '/wp-admin/js/iris.min.js', array( 'jquery-ui-draggable', 'jquery-ui-slider', 'jquery-touch-punch' ), '1.0.7', 1 );
|
$scripts->add( 'iris', '/wp-admin/js/iris.min.js', array( 'jquery-ui-draggable', 'jquery-ui-slider', 'jquery-touch-punch' ), '1.0.7', 1 );
|
||||||
$scripts->add( 'wp-color-picker', "/wp-admin/js/color-picker$suffix.js", array( 'iris' ), false, 1 );
|
$scripts->add( 'wp-color-picker', "/wp-admin/js/color-picker$suffix.js", array( 'iris' ), false, 1 );
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ if ( ! class_exists( 'acf_field_select' ) ) :
|
|||||||
|
|
||||||
global $wp_scripts;
|
global $wp_scripts;
|
||||||
|
|
||||||
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
$min = defined( 'ACF_DEVELOPMENT_MODE' ) && ACF_DEVELOPMENT_MODE ? '' : '.min';
|
||||||
$major = acf_get_setting( 'select2_version' );
|
$major = acf_get_setting( 'select2_version' );
|
||||||
|
|
||||||
// attempt to find 3rd party Select2 version
|
// attempt to find 3rd party Select2 version
|
||||||
|
|||||||
@@ -648,13 +648,27 @@ if ( ! class_exists( 'ACF_Post_Type' ) ) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$original_post = $_POST; //phpcs:ignore -- Only used as temporary storage to prevent CSRFs in callbacks.
|
$unset = array( '_POST', '_GET', '_REQUEST', '_COOKIE', '_SESSION', '_FILES', '_ENV', '_SERVER' );
|
||||||
$_POST = array();
|
$originals = array();
|
||||||
$return = false;
|
|
||||||
|
foreach ( $unset as $var ) {
|
||||||
|
if ( isset( $GLOBALS[ $var ] ) ) {
|
||||||
|
$originals[ $var ] = $GLOBALS[ $var ];
|
||||||
|
$GLOBALS[ $var ] = array(); //phpcs:ignore -- used for building a safe context
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$return = false;
|
||||||
if ( is_callable( $original_cb ) ) {
|
if ( is_callable( $original_cb ) ) {
|
||||||
$return = call_user_func( $original_cb, $post );
|
$return = call_user_func( $original_cb, $post );
|
||||||
}
|
}
|
||||||
$_POST = $original_post;
|
|
||||||
|
foreach ( $unset as $var ) {
|
||||||
|
if ( isset( $originals[ $var ] ) ) {
|
||||||
|
$GLOBALS[ $var ] = $originals[ $var ]; //phpcs:ignore -- used for restoring the original context
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -534,13 +534,27 @@ if ( ! class_exists( 'ACF_Taxonomy' ) ) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$original_post = $_POST; //phpcs:ignore -- Only used as temporary storage to prevent CSRFs in callbacks.
|
$unset = array( '_POST', '_GET', '_REQUEST', '_COOKIE', '_SESSION', '_FILES', '_ENV', '_SERVER' );
|
||||||
$_POST = array();
|
$originals = array();
|
||||||
$return = false;
|
|
||||||
|
foreach ( $unset as $var ) {
|
||||||
|
if ( isset( $GLOBALS[ $var ] ) ) {
|
||||||
|
$originals[ $var ] = $GLOBALS[ $var ];
|
||||||
|
$GLOBALS[ $var ] = array(); //phpcs:ignore -- used for building a safe context
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$return = false;
|
||||||
if ( is_callable( $original_cb ) ) {
|
if ( is_callable( $original_cb ) ) {
|
||||||
$return = call_user_func( $original_cb, $post, $tax );
|
$return = call_user_func( $original_cb, $post, $tax );
|
||||||
}
|
}
|
||||||
$_POST = $original_post;
|
|
||||||
|
foreach ( $unset as $var ) {
|
||||||
|
if ( isset( $originals[ $var ] ) ) {
|
||||||
|
$GLOBALS[ $var ] = $originals[ $var ]; //phpcs:ignore -- used for restoring the original context
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -143,7 +143,8 @@ if ( ! class_exists( 'acf_third_party' ) ) :
|
|||||||
* @since 5.7.3
|
* @since 5.7.3
|
||||||
*/
|
*/
|
||||||
public function doing_dark_mode() {
|
public function doing_dark_mode() {
|
||||||
wp_enqueue_style( 'acf-dark', acf_get_url( 'assets/css/acf-dark.css' ), array(), ACF_VERSION );
|
$min = defined( 'ACF_DEVELOPMENT_MODE' ) && ACF_DEVELOPMENT_MODE ? '' : '.min';
|
||||||
|
wp_enqueue_style( 'acf-dark', acf_get_url( 'assets/css/acf-dark' . $min . '.css' ), array(), ACF_VERSION );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -537,3 +537,47 @@ function acf_upgrade_550_taxonomy( $taxonomy ) {
|
|||||||
// action for 3rd party
|
// action for 3rd party
|
||||||
do_action( 'acf/upgrade_550_taxonomy', $taxonomy );
|
do_action( 'acf/upgrade_550_taxonomy', $taxonomy );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unsets ACF from reporting back to the WP.org API.
|
||||||
|
*
|
||||||
|
* @param array $args An array of HTTP request arguments.
|
||||||
|
* @param string $url The request URL.
|
||||||
|
* @return array|mixed
|
||||||
|
*/
|
||||||
|
function acf_unset_plugin_from_org_reporting( $args, $url ) {
|
||||||
|
// Bail if not a plugins request.
|
||||||
|
if ( empty( $args['body']['plugins'] ) ) {
|
||||||
|
return $args;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Bail if not a request to the wp.org API.
|
||||||
|
$parsed_url = wp_parse_url( $url );
|
||||||
|
if ( empty( $parsed_url['host'] ) || 'api.wordpress.org' !== $parsed_url['host'] ) {
|
||||||
|
return $args;
|
||||||
|
}
|
||||||
|
|
||||||
|
$plugins = json_decode( $args['body']['plugins'], true );
|
||||||
|
if ( empty( $plugins ) ) {
|
||||||
|
return $args;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Remove ACF from reporting.
|
||||||
|
if ( ! empty( $plugins['plugins'][ ACF_BASENAME ] ) ) {
|
||||||
|
unset( $plugins['plugins'][ ACF_BASENAME ] );
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( ! empty( $plugins['active'] ) && is_array( $plugins['active'] ) ) {
|
||||||
|
$is_active = array_search( ACF_BASENAME, $plugins['active'], true );
|
||||||
|
if ( $is_active !== false ) {
|
||||||
|
unset( $plugins['active'][ $is_active ] );
|
||||||
|
$plugins['active'] = array_values( $plugins['active'] );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add the plugins list (minus ACF) back to $args.
|
||||||
|
$args['body']['plugins'] = wp_json_encode( $plugins );
|
||||||
|
|
||||||
|
return $args;
|
||||||
|
}
|
||||||
|
add_filter( 'http_request_args', 'acf_unset_plugin_from_org_reporting', 10, 2 );
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ if ( ! class_exists( 'acf_pro' ) ) :
|
|||||||
*/
|
*/
|
||||||
public function register_assets() {
|
public function register_assets() {
|
||||||
$version = acf_get_setting( 'version' );
|
$version = acf_get_setting( 'version' );
|
||||||
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
$min = defined( 'ACF_DEVELOPMENT_MODE' ) && ACF_DEVELOPMENT_MODE ? '' : '.min';
|
||||||
|
|
||||||
// Register scripts.
|
// Register scripts.
|
||||||
wp_register_script( 'acf-pro-input', acf_get_url( "assets/build/js/pro/acf-pro-input{$min}.js" ), array( 'acf-input' ), $version );
|
wp_register_script( 'acf-pro-input', acf_get_url( "assets/build/js/pro/acf-pro-input{$min}.js" ), array( 'acf-input' ), $version );
|
||||||
@@ -121,8 +121,8 @@ if ( ! class_exists( 'acf_pro' ) ) :
|
|||||||
wp_register_script( 'acf-pro-ui-options-page', acf_get_url( "assets/build/js/pro/acf-pro-ui-options-page{$min}.js" ), array( 'acf-input' ), $version );
|
wp_register_script( 'acf-pro-ui-options-page', acf_get_url( "assets/build/js/pro/acf-pro-ui-options-page{$min}.js" ), array( 'acf-input' ), $version );
|
||||||
|
|
||||||
// Register styles.
|
// Register styles.
|
||||||
wp_register_style( 'acf-pro-input', acf_get_url( 'assets/build/css/pro/acf-pro-input.css' ), array( 'acf-input' ), $version );
|
wp_register_style( 'acf-pro-input', acf_get_url( 'assets/build/css/pro/acf-pro-input' . $min . '.css' ), array( 'acf-input' ), $version );
|
||||||
wp_register_style( 'acf-pro-field-group', acf_get_url( 'assets/build/css/pro/acf-pro-field-group.css' ), array( 'acf-input' ), $version );
|
wp_register_style( 'acf-pro-field-group', acf_get_url( 'assets/build/css/pro/acf-pro-field-group' . $min . '.css' ), array( 'acf-input' ), $version );
|
||||||
|
|
||||||
if ( is_admin() ) {
|
if ( is_admin() ) {
|
||||||
$to_localize = array(
|
$to_localize = array(
|
||||||
|
|||||||
@@ -817,7 +817,7 @@ function acf_enqueue_block_assets() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Enqueue script.
|
// Enqueue script.
|
||||||
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
$min = defined( 'ACF_DEVELOPMENT_MODE' ) && ACF_DEVELOPMENT_MODE ? '' : '.min';
|
||||||
|
|
||||||
$blocks_js_path = acf_get_url( "assets/build/js/pro/acf-pro-blocks{$min}.js" );
|
$blocks_js_path = acf_get_url( "assets/build/js/pro/acf-pro-blocks{$min}.js" );
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,13 @@ From your WordPress dashboard
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 6.3.9 =
|
||||||
|
*Release Date 15th October 2024*
|
||||||
|
|
||||||
|
* Security - Editing an ACF Field in the Field Group editor can no longer execute a stored XSS vulnerability. Thanks to Duc Luong Tran (janlele91) from Viettel Cyber Security for the responsible disclosure
|
||||||
|
* Security - Post Type and Taxonomy metabox callbacks no longer have access to any superglobal values, hardening the original fix from 6.3.8 further
|
||||||
|
* Fix - ACF fields now correctly validate when used in the block editor and attached to the sidebar
|
||||||
|
|
||||||
= 6.3.8 =
|
= 6.3.8 =
|
||||||
*Release Date 7th October 2024*
|
*Release Date 7th October 2024*
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
= 11.1.66 (2024-10-23) =
|
||||||
|
* Register gutenberg blocks at PHP side
|
||||||
|
|
||||||
= 11.1.34 (2024-07-18) =
|
= 11.1.34 (2024-07-18) =
|
||||||
* Fix XSS injection issue with Elementor meetings widget
|
* Fix XSS injection issue with Elementor meetings widget
|
||||||
|
|
||||||
@@ -298,6 +301,3 @@
|
|||||||
= 8.9.0 (2022-04-11) =
|
= 8.9.0 (2022-04-11) =
|
||||||
* Add api that gets the correct hublet
|
* Add api that gets the correct hublet
|
||||||
|
|
||||||
= 8.8.15 (2022-04-07) =
|
|
||||||
* Fix security issue related to proxy URL
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-10-09T11:51:51+00:00\n"
|
"POT-Creation-Date: 2024-10-23T10:58:57+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
"X-Generator: WP-CLI 2.11.0\n"
|
"X-Generator: WP-CLI 2.11.0\n"
|
||||||
|
|||||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user