Update ACF to 6.0.2

This commit is contained in:
Guillaume 2022-10-07 09:04:17 +02:00
parent 7e2942ea4a
commit a38111da91
322 changed files with 219953 additions and 53590 deletions

214
acf.php
View File

@ -1,70 +1,91 @@
<?php
/*
Plugin Name: Advanced Custom Fields PRO
Plugin URI: https://www.advancedcustomfields.com
Description: Customize WordPress with powerful, professional and intuitive fields.
Version: 5.12.2
Author: Delicious Brains
Author URI: https://www.advancedcustomfields.com
Update URI: https://www.advancedcustomfields.com/pro
Text Domain: acf
Domain Path: /lang
*/
/**
* Advanced Custom Fields PRO
*
* @package ACF
* @author WP Engine
*
* @wordpress-plugin
* Plugin Name: Advanced Custom Fields PRO
* Plugin URI: https://www.advancedcustomfields.com
* Description: Customize WordPress with powerful, professional and intuitive fields.
* Version: 6.0.2
* Author: WP Engine
* Author URI: https://www.advancedcustomfields.com
* Update URI: https://www.advancedcustomfields.com/pro
* Text Domain: acf
* Domain Path: /lang
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
exit; // Exit if accessed directly.
}
if ( ! class_exists( 'ACF' ) ) :
if ( ! class_exists( 'ACF' ) ) {
/**
* The main ACF class
*/
class ACF {
/** @var string The plugin version number. */
var $version = '5.12.2';
/** @var array The plugin settings array. */
var $settings = array();
/** @var array The plugin data array. */
var $data = array();
/** @var array Storage for class instances. */
var $instances = array();
/**
* The plugin version number.
*
* @var string
*/
public $version = '6.0.2';
/**
* __construct
* The plugin settings array.
*
* @var array
*/
public $settings = array();
/**
* The plugin data array.
*
* @var array
*/
public $data = array();
/**
* Storage for class instances.
*
* @var array
*/
public $instances = array();
/**
* A dummy constructor to ensure ACF is only setup once.
*
* @date 23/06/12
* @since 5.0.0
*
* @param void
* @return void
*/
function __construct() {
public function __construct() {
// Do nothing.
}
/**
* initialize
*
* Sets up the ACF plugin.
*
* @date 28/09/13
* @since 5.0.0
*
* @param void
* @return void
*/
function initialize() {
public function initialize() {
// Define constants.
$this->define( 'ACF', true );
$this->define( 'ACF_PATH', plugin_dir_path( __FILE__ ) );
$this->define( 'ACF_BASENAME', plugin_basename( __FILE__ ) );
$this->define( 'ACF_VERSION', $this->version );
$this->define( 'ACF_MAJOR_VERSION', 5 );
$this->define( 'ACF_MAJOR_VERSION', 6 );
$this->define( 'ACF_FIELD_API_VERSION', 5 );
$this->define( 'ACF_UPGRADE_VERSION', '5.5.0' ); // Highest version with an upgrade routine. See upgrades.php.
// Define settings.
$this->settings = array(
@ -186,11 +207,6 @@ if ( ! class_exists( 'ACF' ) ) :
// Include PRO.
acf_include( 'pro/acf-pro.php' );
// Include tests.
if ( defined( 'ACF_DEV' ) && ACF_DEV ) {
acf_include( 'tests/tests.php' );
}
// Add actions.
add_action( 'init', array( $this, 'init' ), 5 );
add_action( 'init', array( $this, 'register_post_types' ), 5 );
@ -203,17 +219,14 @@ if ( ! class_exists( 'ACF' ) ) :
}
/**
* init
*
* Completes the setup process on "init" of earlier.
*
* @date 28/09/13
* @since 5.0.0
*
* @param void
* @return void
*/
function init() {
public function init() {
// Bail early if called directly from functions.php or plugin file.
if ( ! did_action( 'plugins_loaded' ) ) {
@ -278,9 +291,9 @@ if ( ! class_exists( 'ACF' ) ) :
* @date 28/09/13
* @since 5.0.0
*
* @param int $major_version The major version of ACF.
* @param int ACF_FIELD_API_VERSION The field API version.
*/
do_action( 'acf/include_field_types', ACF_MAJOR_VERSION );
do_action( 'acf/include_field_types', ACF_FIELD_API_VERSION );
// Include locations.
acf_include( 'includes/locations/class-acf-location-post-type.php' );
@ -311,9 +324,9 @@ if ( ! class_exists( 'ACF' ) ) :
* @date 28/09/13
* @since 5.0.0
*
* @param int $major_version The major version of ACF.
* @param int ACF_FIELD_API_VERSION The field API version.
*/
do_action( 'acf/include_location_rules', ACF_MAJOR_VERSION );
do_action( 'acf/include_location_rules', ACF_FIELD_API_VERSION );
/**
* Fires during initialization. Used to add local fields.
@ -321,9 +334,9 @@ if ( ! class_exists( 'ACF' ) ) :
* @date 28/09/13
* @since 5.0.0
*
* @param int $major_version The major version of ACF.
* @param int ACF_FIELD_API_VERSION The field API version.
*/
do_action( 'acf/include_fields', ACF_MAJOR_VERSION );
do_action( 'acf/include_fields', ACF_FIELD_API_VERSION );
/**
* Fires after ACF is completely "initialized".
@ -331,23 +344,20 @@ if ( ! class_exists( 'ACF' ) ) :
* @date 28/09/13
* @since 5.0.0
*
* @param int $major_version The major version of ACF.
* @param int ACF_MAJOR_VERSION The major version of ACF.
*/
do_action( 'acf/init', ACF_MAJOR_VERSION );
}
/**
* register_post_types
*
* Registers the ACF post types.
*
* @date 22/10/2015
* @since 5.3.2
*
* @param void
* @return void
*/
function register_post_types() {
public function register_post_types() {
// Vars.
$cap = acf_get_setting( 'capability' );
@ -380,7 +390,7 @@ if ( ! class_exists( 'ACF' ) ) :
'edit_posts' => $cap,
'delete_posts' => $cap,
),
'supports' => array( 'title' ),
'supports' => false,
'rewrite' => false,
'query_var' => false,
)
@ -422,28 +432,26 @@ if ( ! class_exists( 'ACF' ) ) :
}
/**
* register_post_status
*
* Registers the ACF post statuses.
*
* @date 22/10/2015
* @since 5.3.2
*
* @param void
* @return void
*/
function register_post_status() {
public function register_post_status() {
// Register the Disabled post status.
// Register the Inactive post status.
register_post_status(
'acf-disabled',
array(
'label' => _x( 'Disabled', 'post status', 'acf' ),
'label' => _x( 'Inactive', 'post status', 'acf' ),
'public' => true,
'exclude_from_search' => false,
'show_in_admin_all_list' => true,
'show_in_admin_status_list' => true,
'label_count' => _n_noop( 'Disabled <span class="count">(%s)</span>', 'Disabled <span class="count">(%s)</span>', 'acf' ),
/* translators: counts for inactive field groups */
'label_count' => _n_noop( 'Inactive <span class="count">(%s)</span>', 'Inactive <span class="count">(%s)</span>', 'acf' ),
)
);
}
@ -455,7 +463,7 @@ if ( ! class_exists( 'ACF' ) ) :
* @param string $plugin The plugin being activated.
*/
public function deactivate_other_instances( $plugin ) {
if ( ! in_array( $plugin, array( 'advanced-custom-fields/acf.php', 'advanced-custom-fields-pro/acf.php' ) ) ) {
if ( ! in_array( $plugin, array( 'advanced-custom-fields/acf.php', 'advanced-custom-fields-pro/acf.php' ), true ) ) {
return;
}
@ -488,13 +496,13 @@ if ( ! class_exists( 'ACF' ) ) :
* Displays a notice when either ACF or ACF PRO is automatically deactivated.
*/
public function plugin_deactivated_notice() {
$deactivated_notice_id = get_transient( 'acf_deactivated_notice_id' );
if ( ! in_array( $deactivated_notice_id, array( '1', '2' ) ) ) {
$deactivated_notice_id = (int) get_transient( 'acf_deactivated_notice_id' );
if ( ! in_array( $deactivated_notice_id, array( 1, 2 ), true ) ) {
return;
}
$message = __( "Advanced Custom Fields and Advanced Custom Fields PRO should not be active at the same time. We've automatically deactivated Advanced Custom Fields.", 'acf' );
if ( '2' === $deactivated_notice_id ) {
if ( 2 === $deactivated_notice_id ) {
$message = __( "Advanced Custom Fields and Advanced Custom Fields PRO should not be active at the same time. We've automatically deactivated Advanced Custom Fields PRO.", 'acf' );
}
@ -508,31 +516,34 @@ if ( ! class_exists( 'ACF' ) ) :
}
/**
* posts_where
*
* Filters the $where clause allowing for custom WP_Query args.
*
* @date 31/8/19
* @since 5.8.1
*
* @param string $where The WHERE clause.
* @param string $where The WHERE clause.
* @param WP_Query $wp_query The query object.
* @return WP_Query $wp_query The query object.
*/
function posts_where( $where, $wp_query ) {
public function posts_where( $where, $wp_query ) {
global $wpdb;
$field_key = $wp_query->get( 'acf_field_key' );
$field_name = $wp_query->get( 'acf_field_name' );
$group_key = $wp_query->get( 'acf_group_key' );
// Add custom "acf_field_key" arg.
if ( $field_key = $wp_query->get( 'acf_field_key' ) ) {
if ( $field_key ) {
$where .= $wpdb->prepare( " AND {$wpdb->posts}.post_name = %s", $field_key );
}
// Add custom "acf_field_name" arg.
if ( $field_name = $wp_query->get( 'acf_field_name' ) ) {
if ( $field_name ) {
$where .= $wpdb->prepare( " AND {$wpdb->posts}.post_excerpt = %s", $field_name );
}
// Add custom "acf_group_key" arg.
if ( $group_key = $wp_query->get( 'acf_group_key' ) ) {
if ( $group_key ) {
$where .= $wpdb->prepare( " AND {$wpdb->posts}.post_name = %s", $group_key );
}
@ -541,8 +552,6 @@ if ( ! class_exists( 'ACF' ) ) :
}
/**
* define
*
* Defines a constant if doesnt already exist.
*
* @date 3/5/17
@ -552,15 +561,13 @@ if ( ! class_exists( 'ACF' ) ) :
* @param mixed $value The constant value.
* @return void
*/
function define( $name, $value = true ) {
public function define( $name, $value = true ) {
if ( ! defined( $name ) ) {
define( $name, $value );
}
}
/**
* has_setting
*
* Returns true if a setting exists for this name.
*
* @date 2/2/18
@ -569,13 +576,11 @@ if ( ! class_exists( 'ACF' ) ) :
* @param string $name The setting name.
* @return boolean
*/
function has_setting( $name ) {
public function has_setting( $name ) {
return isset( $this->settings[ $name ] );
}
/**
* get_setting
*
* Returns a setting or null if doesn't exist.
*
* @date 28/09/13
@ -584,13 +589,11 @@ if ( ! class_exists( 'ACF' ) ) :
* @param string $name The setting name.
* @return mixed
*/
function get_setting( $name ) {
public function get_setting( $name ) {
return isset( $this->settings[ $name ] ) ? $this->settings[ $name ] : null;
}
/**
* update_setting
*
* Updates a setting for the given name and value.
*
* @date 28/09/13
@ -600,14 +603,12 @@ if ( ! class_exists( 'ACF' ) ) :
* @param mixed $value The setting value.
* @return true
*/
function update_setting( $name, $value ) {
public function update_setting( $name, $value ) {
$this->settings[ $name ] = $value;
return true;
}
/**
* get_data
*
* Returns data or null if doesn't exist.
*
* @date 28/09/13
@ -616,13 +617,11 @@ if ( ! class_exists( 'ACF' ) ) :
* @param string $name The data name.
* @return mixed
*/
function get_data( $name ) {
public function get_data( $name ) {
return isset( $this->data[ $name ] ) ? $this->data[ $name ] : null;
}
/**
* set_data
*
* Sets data for the given name and value.
*
* @date 28/09/13
@ -632,13 +631,11 @@ if ( ! class_exists( 'ACF' ) ) :
* @param mixed $value The data value.
* @return void
*/
function set_data( $name, $value ) {
public function set_data( $name, $value ) {
$this->data[ $name ] = $value;
}
/**
* get_instance
*
* Returns an instance or null if doesn't exist.
*
* @date 13/2/18
@ -647,14 +644,12 @@ if ( ! class_exists( 'ACF' ) ) :
* @param string $class The instance class name.
* @return object
*/
function get_instance( $class ) {
public function get_instance( $class ) {
$name = strtolower( $class );
return isset( $this->instances[ $name ] ) ? $this->instances[ $name ] : null;
}
/**
* new_instance
*
* Creates and stores an instance of the given class.
*
* @date 13/2/18
@ -663,7 +658,7 @@ if ( ! class_exists( 'ACF' ) ) :
* @param string $class The instance class name.
* @return object
*/
function new_instance( $class ) {
public function new_instance( $class ) {
$instance = new $class();
$name = strtolower( $class );
$this->instances[ $name ] = $instance;
@ -680,7 +675,7 @@ if ( ! class_exists( 'ACF' ) ) :
* @return bool
*/
public function __isset( $key ) {
return in_array( $key, array( 'locations', 'json' ) );
return in_array( $key, array( 'locations', 'json' ), true );
}
/**
@ -703,20 +698,17 @@ if ( ! class_exists( 'ACF' ) ) :
}
}
/*
* acf
*
* The main function responsible for returning the one true acf Instance to functions everywhere.
* Use this function like you would a global variable, except without needing to declare the global.
*
* Example: <?php $acf = acf(); ?>
*
* @date 4/09/13
* @since 4.3.0
*
* @param void
* @return ACF
*/
/**
* The main function responsible for returning the one true acf Instance to functions everywhere.
* Use this function like you would a global variable, except without needing to declare the global.
*
* Example: <?php $acf = acf(); ?>
*
* @date 4/09/13
* @since 4.3.0
*
* @return ACF
*/
function acf() {
global $acf;
@ -731,4 +723,4 @@ if ( ! class_exists( 'ACF' ) ) :
// Instantiate.
acf();
endif; // class_exists check
} // class_exists check

View File

@ -4,7 +4,7 @@
/*--------------------------------------------------------------------------------------------
*
* 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
*

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

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

View File

@ -1,6 +1,7 @@
/*!****************************************************************************************************************************************************************************************************************!*\
!*** 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-input.scss ***!
\****************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/*--------------------------------------------------------------------------------------------
*
* Vars
@ -11,9 +12,132 @@
/* responsive */
/*--------------------------------------------------------------------------------------------
*
* ACF 6
*
*--------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------
*
* Mixins
*
*--------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------
*
* Global
*
*---------------------------------------------------------------------------------------------*/
.post-type-acf-field-group #wpcontent {
line-height: 140%;
}
/*---------------------------------------------------------------------------------------------
*
* Links
*
*---------------------------------------------------------------------------------------------*/
.post-type-acf-field-group a {
color: #0783BE;
}
/*---------------------------------------------------------------------------------------------
*
* Headings
*
*---------------------------------------------------------------------------------------------*/
.h1, .post-type-acf-field-group h1,
.acf-headerbar h1 {
font-size: 21px;
font-weight: 400;
}
.h2, .acf-page-title, .post-type-acf-field-group h2,
.acf-headerbar h2 {
font-size: 18px;
font-weight: 400;
}
.h3, .post-type-acf-field-group h3,
.acf-headerbar h3 {
font-size: 16px;
font-weight: 400;
}
/*---------------------------------------------------------------------------------------------
*
* Paragraphs
*
*---------------------------------------------------------------------------------------------*/
.p1 {
font-size: 15px;
}
.p2 {
font-size: 14px;
}
.p3 {
font-size: 13.5px;
}
.p4 {
font-size: 13px;
}
.p5 {
font-size: 12.5px;
}
.p6, .acf-field p.description, .acf-small {
font-size: 12px;
}
.p7, .acf-field-setting-prefix_label p.description code,
.acf-field-setting-prefix_name p.description code {
font-size: 11.5px;
}
.p8 {
font-size: 11px;
}
/*---------------------------------------------------------------------------------------------
*
* Page titles
*
*---------------------------------------------------------------------------------------------*/
.acf-page-title {
color: #344054;
}
/*---------------------------------------------------------------------------------------------
*
* Hide old / native WP titles from pages
*
*---------------------------------------------------------------------------------------------*/
.post-type-acf-field-group .acf-settings-wrap h1,
.post-type-acf-field-group #acf-admin-tools h1 {
display: none;
}
/*---------------------------------------------------------------------------------------------
*
* Small
*
*---------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------
*
* Link focus style
*
*---------------------------------------------------------------------------------------------*/
.post-type-acf-field-group a:focus {
box-shadow: none;
outline: none;
}
.post-type-acf-field-group a:focus-visible {
box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8);
outline: 1px solid transparent;
}
/*--------------------------------------------------------------------------------------------
*
* acf-field
@ -43,7 +167,7 @@
}
.acf-field .acf-label label {
display: block;
font-weight: bold;
font-weight: 500;
margin: 0 0 3px;
padding: 0;
}
@ -53,8 +177,10 @@
.acf-field .acf-input {
vertical-align: top;
}
.acf-field .acf-input > p.description {
margin-top: 5px;
.acf-field p.description {
display: block;
margin-top: 6px;
color: #667085;
}
.acf-field .acf-notice {
margin: 0 0 15px;
@ -77,7 +203,8 @@
color: #bd4b0e;
border-color: #d16226;
}
td.acf-field, tr.acf-field {
td.acf-field,
tr.acf-field {
margin: 0;
}
@ -103,7 +230,8 @@ html[dir=rtl] .acf-field[data-width] + .acf-field[data-width] {
border-left: none;
border-right: 1px solid #eeeeee;
}
td.acf-field[data-width], tr.acf-field[data-width] {
td.acf-field[data-width],
tr.acf-field[data-width] {
float: none;
}
@ -140,8 +268,10 @@ html[dir=rtl] .acf-field.-c0 {
.acf-fields > .acf-field {
position: relative;
margin: 0;
padding: 15px 12px;
border-top: #EEEEEE solid 1px;
padding: 16px;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #EAECF0;
}
.acf-fields > .acf-field:first-child {
border-top: none;
@ -189,8 +319,8 @@ td.acf-fields {
display: block;
position: absolute;
z-index: 0;
background: #F9F9F9;
border-color: #E1E1E1;
background: #f9f9f9;
border-color: #e1e1e1;
border-style: solid;
border-width: 0 1px 0 0;
top: 0;
@ -273,13 +403,13 @@ html[dir=rtl] .acf-fields.-left > .acf-field > .acf-input {
.acf-table tr.acf-field > td.acf-label {
padding: 15px 12px;
margin: 0;
background: #F9F9F9;
background: #f9f9f9;
width: 20%;
}
.acf-table tr.acf-field > td.acf-input {
padding: 15px 12px;
margin: 0;
border-left-color: #E1E1E1;
border-left-color: #e1e1e1;
}
.acf-sortable-tr-helper {
@ -296,10 +426,8 @@ html[dir=rtl] .acf-fields.-left > .acf-field > .acf-input {
position: relative;
}
.acf-postbox > .inside {
margin: 0 !important;
/* override WP style - do not delete - you have tried this before */
padding: 0 !important;
/* override WP style - do not delete - you have tried this before */
margin: 0 !important; /* override WP style - do not delete - you have tried this before */
padding: 0 !important; /* override WP style - do not delete - you have tried this before */
}
.acf-postbox .acf-hndle-cog {
color: #72777c;
@ -349,8 +477,7 @@ html[dir=rtl] .acf-fields.-left > .acf-field > .acf-input {
display: none !important;
}
.acf-postbox.seamless > .inside {
display: block !important;
/* stop metabox from hiding when closed */
display: block !important; /* stop metabox from hiding when closed */
margin-left: -12px !important;
margin-right: -12px !important;
}
@ -375,11 +502,11 @@ html[dir=rtl] .acf-fields.-left > .acf-field > .acf-input {
}
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Inputs
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-field input[type=text],
.acf-field input[type=password],
.acf-field input[type=date],
@ -427,11 +554,11 @@ body.acf-browser-firefox .acf-field select {
padding: 4px 5px;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Text
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-input-prepend,
.acf-input-append,
.acf-input-wrap {
@ -440,7 +567,7 @@ body.acf-browser-firefox .acf-field select {
.acf-input-prepend,
.acf-input-append {
font-size: 14px;
font-size: 13px;
line-height: 1.4;
padding: 4px 8px;
background: #f5f5f5;
@ -471,10 +598,10 @@ body.acf-browser-firefox .acf-field select {
overflow: hidden;
}
.acf-input-wrap .acf-is-prepended {
border-radius: 0 3px 3px 0 !important;
border-radius: 0 6px 6px 0 !important;
}
.acf-input-wrap .acf-is-appended {
border-radius: 3px 0 0 3px !important;
border-radius: 6px 0 0 6px !important;
}
.acf-input-wrap .acf-is-prepended.acf-is-appended {
border-radius: 0 !important;
@ -507,11 +634,11 @@ html[dir=rtl] input.acf-is-prepended.acf-is-appended {
border-radius: 0 !important;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Color Picker
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-color-picker .wp-color-result {
border-color: #7e8993;
}
@ -523,11 +650,11 @@ html[dir=rtl] input.acf-is-prepended.acf-is-appended {
z-index: 1;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Url
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-url i {
position: absolute;
top: 5px;
@ -542,11 +669,11 @@ html[dir=rtl] input.acf-is-prepended.acf-is-appended {
opacity: 1;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Select2 (v3)
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.select2-container.-acf {
/* open */
/* single open */
@ -569,7 +696,7 @@ html[dir=rtl] input.acf-is-prepended.acf-is-appended {
.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper {
background: #5897fb;
border-color: #3f87fa;
color: #fff;
color: #fff !important;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}
.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper a {
@ -590,23 +717,23 @@ html[dir=rtl] input.acf-is-prepended.acf-is-appended {
padding: 5px 5px 5px 7px;
}
.select2-container.-acf .select2-choice {
border-color: #BBBBBB;
border-color: #bbbbbb;
}
.select2-container.-acf .select2-choice .select2-arrow {
background: transparent;
border-left-color: #DFDFDF;
border-left-color: #dfdfdf;
padding-left: 1px;
}
.select2-container.-acf .select2-choice .select2-result-description {
display: none;
}
.select2-container.-acf.select2-container-active .select2-choices, .select2-container.-acf.select2-dropdown-open .select2-choices {
border-color: #5B9DD9;
border-color: #5b9dd9;
border-radius: 3px 3px 0 0;
}
.select2-container.-acf.select2-dropdown-open .select2-choice {
background: #fff;
border-color: #5B9DD9;
border-color: #5b9dd9;
}
/* rtl */
@ -642,11 +769,11 @@ html[dir=rtl] .select2-container.-acf .select2-choice .select2-arrow {
opacity: 0.75;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Select2 (v4)
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.select2-container.-acf li {
margin-bottom: 0;
}
@ -685,9 +812,9 @@ html[dir=rtl] .select2-container.-acf .select2-choice .select2-arrow {
white-space: normal;
}
.select2-container.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper {
background: #5897fb;
border-color: #3f87fa;
color: #fff;
background: #0783BE;
border-color: #066998;
color: #fff !important;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}
.select2-container.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper span {
@ -699,8 +826,8 @@ html[dir=rtl] .select2-container.-acf .select2-choice .select2-arrow {
padding: 0;
}
.select2-container.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-placeholder {
background-color: #f7f7f7;
border-color: #f7f7f7;
background-color: #F2F4F7;
border-color: #F2F4F7;
visibility: visible !important;
}
.select2-container.-acf .select2-selection--multiple .select2-search__field {
@ -714,6 +841,30 @@ html[dir=rtl] .select2-container.-acf .select2-choice .select2-arrow {
white-space: normal;
}
.select2-dropdown {
border-color: #6BB5D8 !important;
margin-top: -5px;
overflow: hidden;
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.1);
}
.select2-dropdown.select2-dropdown--above {
margin-top: 0;
}
.select2-container--default .select2-results__option[aria-selected=true] {
background-color: #F9FAFB !important;
color: #667085;
}
.select2-container--default .select2-results__option[aria-selected=true]:hover {
color: #399CCB;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
color: #fff !important;
background-color: #0783BE !important;
}
.select2-dropdown .select2-results__option {
margin-bottom: 0;
}
@ -726,11 +877,11 @@ html[dir=rtl] .select2-container.-acf .select2-choice .select2-arrow {
min-height: 0;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Link
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-link .link-wrap {
display: none;
border: #ccd0d4 solid 1px;
@ -765,20 +916,26 @@ html[dir=rtl] .select2-container.-acf .select2-choice .select2-arrow {
z-index: 900001 !important;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Radio
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
ul.acf-radio-list,
ul.acf-checkbox-list {
background: transparent;
border: 1px solid transparent;
position: relative;
padding: 1px;
margin: 0;
/* hl */
/* rtl */
}
ul.acf-radio-list:focus-within,
ul.acf-checkbox-list:focus-within {
border: 1px solid #A5D2E7;
border-radius: 6px;
}
ul.acf-radio-list li,
ul.acf-checkbox-list li {
font-size: 13px;
@ -826,11 +983,11 @@ html[dir=rtl] ul.acf-checkbox-list input[type=radio] {
margin-right: 0;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Button Group
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-button-group {
display: inline-block;
/* default (horizontal) */
@ -913,20 +1070,89 @@ html[dir=rtl] .acf-button-group label:last-child {
border-color: #007cba;
}
/*---------------------------------------------------------------------------------------------
.post-type-acf-field-group .acf-button-group {
display: flex;
align-items: stretch;
align-content: center;
height: 40px;
border-radius: 6px;
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.1);
}
.post-type-acf-field-group .acf-button-group label {
display: inline-flex;
align-items: center;
align-content: center;
border: #D0D5DD solid 1px;
padding: 6px 16px;
color: #475467;
font-weight: 500;
}
.post-type-acf-field-group .acf-button-group label:hover {
color: #0783BE;
}
.post-type-acf-field-group .acf-button-group label.selected {
background: #F9FAFB;
color: #0783BE;
}
.post-type-acf-field-group .select2-container.-acf .select2-selection--multiple .select2-selection__choice {
display: inline-flex;
align-items: center;
padding-top: 4px;
padding-right: auto;
padding-bottom: 4px;
padding-left: 8px;
background-color: #EBF5FA;
border-color: #A5D2E7;
color: #0783BE;
}
.post-type-acf-field-group .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
order: 2;
width: 14px;
height: 14px;
margin-right: 0;
margin-left: 4px;
color: #6BB5D8;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
.post-type-acf-field-group .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover {
color: #0783BE;
}
.post-type-acf-field-group .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:before {
content: "";
display: block;
width: 14px;
height: 14px;
top: 0;
left: 0;
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-close.svg");
mask-image: url("../../images/icons/icon-close.svg");
}
/*-----------------------------------------------------------------------------
*
* Checkbox
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-checkbox-list .button {
margin: 10px 0 0;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* True / False
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-switch {
display: inline-block;
border-radius: 5px;
@ -1029,6 +1255,14 @@ html[dir=rtl] .acf-button-group label:last-child {
margin: 0;
}
.acf-admin-single-field-group .acf-true-false {
border: 1px solid transparent;
}
.acf-admin-single-field-group .acf-true-false:focus-within {
border: 1px solid #399CCB;
border-radius: 120px;
}
/* in media modal */
.compat-item .acf-true-false .message {
float: none;
@ -1039,7 +1273,7 @@ html[dir=rtl] .acf-button-group label:last-child {
/*--------------------------------------------------------------------------
*
* Google Map
*
*
*-------------------------------------------------------------------------*/
.acf-google-map {
position: relative;
@ -1139,7 +1373,7 @@ html[dir=rtl] .pac-container .pac-item {
/*--------------------------------------------------------------------------
*
* Relationship
*
*
*-------------------------------------------------------------------------*/
.acf-relationship {
background: #fff;
@ -1168,12 +1402,14 @@ html[dir=rtl] .pac-container .pac-item {
.acf-relationship .filters .filter:first-child {
padding-left: 7px;
}
.acf-relationship .filters .filter input, .acf-relationship .filters .filter select {
.acf-relationship .filters .filter input,
.acf-relationship .filters .filter select {
margin: 0;
float: none;
/* potential fix for media popup? */
float: none; /* potential fix for media popup? */
}
.acf-relationship .filters .filter input:focus, .acf-relationship .filters .filter input:active, .acf-relationship .filters .filter select:focus, .acf-relationship .filters .filter select:active {
.acf-relationship .filters .filter input:focus, .acf-relationship .filters .filter input:active,
.acf-relationship .filters .filter select:focus,
.acf-relationship .filters .filter select:active {
outline: none;
box-shadow: none;
}
@ -1240,7 +1476,7 @@ html[dir=rtl] .pac-container .pac-item {
margin-top: 1px;
}
.acf-relationship .list .acf-rel-item:hover {
background: #3875D7;
background: #3875d7;
color: #fff;
}
.acf-relationship .list .acf-rel-item:hover .thumbnail {
@ -1288,10 +1524,10 @@ html[dir=rtl] .pac-container .pac-item {
float: left;
}
.acf-relationship .selection .choices {
background: #F9F9F9;
background: #f9f9f9;
}
.acf-relationship .selection .choices .list {
border-right: #DFDFDF solid 1px;
border-right: #dfdfdf solid 1px;
}
.acf-relationship .selection .values .acf-icon {
position: absolute;
@ -1325,7 +1561,7 @@ html[dir=rtl] .acf-relationship .selection .values .acf-icon {
/*--------------------------------------------------------------------------
*
* WYSIWYG
*
*
*-------------------------------------------------------------------------*/
.acf-editor-wrap.delay .acf-editor-toolbar {
content: "";
@ -1359,11 +1595,11 @@ html[dir=rtl] .acf-relationship .selection .values .acf-icon {
z-index: 900000 !important;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Tab
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-field-tab {
display: none !important;
}
@ -1398,7 +1634,7 @@ html[dir=rtl] .acf-relationship .selection .values .acf-icon {
transition: none;
}
.acf-tab-group li a:hover {
background: #FFF;
background: #fff;
}
.acf-tab-group li a:focus {
outline: none;
@ -1411,7 +1647,7 @@ html[dir=rtl] .acf-tab-group li {
margin: 0 0 0 0.5em;
}
.acf-tab-group li.active a {
background: #F1F1F1;
background: #f1f1f1;
color: #000;
padding-bottom: 6px;
margin-bottom: -1px;
@ -1420,7 +1656,7 @@ html[dir=rtl] .acf-tab-group li {
}
.acf-fields > .acf-tab-wrap {
background: #F9F9F9;
background: #f9f9f9;
}
.acf-fields > .acf-tab-wrap .acf-tab-group {
position: relative;
@ -1429,22 +1665,9 @@ html[dir=rtl] .acf-tab-group li {
z-index: 2;
margin-bottom: -1px;
}
.acf-fields > .acf-tab-wrap .acf-tab-group li a {
background: #f1f1f1;
border-color: #ccd0d4;
}
.acf-fields > .acf-tab-wrap .acf-tab-group li a:hover {
background: #FFF;
}
.acf-fields > .acf-tab-wrap .acf-tab-group li.active a {
background: #FFFFFF;
}
.acf-admin-3-8 .acf-fields > .acf-tab-wrap .acf-tab-group {
border-color: #dfdfdf;
}
.acf-fields > .acf-tab-wrap:first-child .acf-tab-group {
border-top: none;
}
.acf-fields.-left > .acf-tab-wrap .acf-tab-group {
padding-left: 20%;
@ -1472,8 +1695,7 @@ html[dir=rtl] .acf-fields.-left > .acf-tab-wrap .acf-tab-group {
left: 0;
width: 20%;
border: 0 none;
padding: 0 !important;
/* important overrides 'left aligned labels' */
padding: 0 !important; /* important overrides 'left aligned labels' */
margin: 1px 0 0;
}
.acf-tab-wrap.-left .acf-tab-group li {
@ -1496,7 +1718,7 @@ html[dir=rtl] .acf-fields.-left > .acf-tab-wrap .acf-tab-group {
color: #00a0d2;
}
.acf-tab-wrap.-left .acf-tab-group li.active a {
border-color: #DFDFDF;
border-color: #dfdfdf;
color: #000;
margin-right: -1px;
background: #fff;
@ -1515,8 +1737,8 @@ html[dir=rtl] .acf-tab-wrap.-left .acf-tab-group li.active a {
position: relative;
z-index: 1;
height: 10px;
border-top: #DFDFDF solid 1px;
border-bottom: #DFDFDF solid 1px;
border-top: #dfdfdf solid 1px;
border-bottom: #dfdfdf solid 1px;
margin-bottom: -1px;
}
.acf-tab-wrap.-left:first-child .acf-tab-group li:first-child a {
@ -1538,15 +1760,15 @@ html[dir=rtl] .acf-tab-wrap.-left .acf-tab-group li.active a {
left: 0;
width: 20%;
bottom: 0;
border-right: #DFDFDF solid 1px;
background: #F9F9F9;
border-right: #dfdfdf solid 1px;
background: #f9f9f9;
z-index: 1;
}
html[dir=rtl] .acf-fields.-sidebar {
padding: 0 20% 0 0 !important;
}
html[dir=rtl] .acf-fields.-sidebar:before {
border-left: #DFDFDF solid 1px;
border-left: #dfdfdf solid 1px;
border-right-width: 0;
left: auto;
right: 0;
@ -1559,7 +1781,7 @@ html[dir=rtl] .acf-fields.-sidebar.-left {
padding: 0 180px 0 0 !important;
}
.acf-fields.-sidebar.-left:before {
background: #F1F1F1;
background: #f1f1f1;
border-color: #dfdfdf;
width: 180px;
}
@ -1570,7 +1792,7 @@ html[dir=rtl] .acf-fields.-sidebar.-left {
border-color: #e4e4e4;
}
.acf-fields.-sidebar.-left > .acf-tab-wrap.-left .acf-tab-group li.active a {
background: #F9F9F9;
background: #f9f9f9;
}
.acf-fields.-sidebar > .acf-field-tab + .acf-field {
border-top: none;
@ -1663,7 +1885,7 @@ html[dir=rtl] .acf-fields.-sidebar.-left {
}
.acf-gallery-side .acf-tab-group li.active a {
background: #F9F9F9 !important;
background: #f9f9f9 !important;
}
/* withing widget */
@ -1672,7 +1894,7 @@ html[dir=rtl] .acf-fields.-sidebar.-left {
}
.widget .acf-tab-group li a {
background: #F1F1F1;
background: #f1f1f1;
}
.widget .acf-tab-group li.active a {
@ -1682,7 +1904,7 @@ html[dir=rtl] .acf-fields.-sidebar.-left {
/* media popup (edit image) */
.media-modal.acf-expanded .compat-attachment-fields > tbody > tr.acf-tab-wrap .acf-tab-group {
padding-left: 23%;
border-bottom-color: #DDDDDD;
border-bottom-color: #dddddd;
}
/* table */
@ -1728,7 +1950,7 @@ html[dir=rtl] .form-table > tbody > tr.acf-tab-wrap .acf-tab-group {
.acf-oembed .canvas {
position: relative;
min-height: 250px;
background: #F9F9F9;
background: #f9f9f9;
}
.acf-oembed .canvas .canvas-media {
position: relative;
@ -1854,7 +2076,7 @@ html[dir=rtl] .acf-image-uploader .image-wrap {
left: 0;
bottom: 0;
padding: 10px;
background: #F1F1F1;
background: #f1f1f1;
border-right: #d5d9dd solid 1px;
}
.acf-file-uploader .file-icon img {
@ -1882,7 +2104,7 @@ html[dir=rtl] .acf-image-uploader .image-wrap {
html[dir=rtl] .acf-file-uploader .file-icon {
left: auto;
right: 0;
border-left: #E5E5E5 solid 1px;
border-left: #e5e5e5 solid 1px;
border-right: none;
}
html[dir=rtl] .acf-file-uploader .file-info {
@ -1890,11 +2112,11 @@ html[dir=rtl] .acf-file-uploader .file-info {
margin-left: 0;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Date Picker
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-ui-datepicker .ui-datepicker {
z-index: 900000 !important;
}
@ -1918,11 +2140,11 @@ html[dir=rtl] .acf-file-uploader .file-info {
color: #ffffff !important;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Separator field
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-field-separator {
/* fields */
}
@ -1943,11 +2165,11 @@ html[dir=rtl] .acf-file-uploader .file-info {
z-index: 2;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Taxonomy
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-taxonomy-field {
position: relative;
/* hover */
@ -1974,11 +2196,11 @@ html[dir=rtl] .acf-file-uploader .file-info {
margin: -9px;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Range
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-range-wrap {
/* rtl */
}
@ -2019,11 +2241,11 @@ html[dir=rtl] .acf-range-wrap .acf-prepend {
margin: 0 0 0 7px;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* acf-accordion
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.acf-accordion {
margin: -1px 0;
padding: 0;
@ -2194,11 +2416,11 @@ tr.acf-accordion + tr.acf-accordion {
padding-bottom: 5px;
}
/*---------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* Block Editor
*
*---------------------------------------------------------------------------------------------*/
*-----------------------------------------------------------------------------*/
.block-editor .edit-post-sidebar .acf-postbox > .postbox-header,
.block-editor .edit-post-sidebar .acf-postbox > .hndle {
border-bottom-width: 0 !important;
@ -2239,12 +2461,60 @@ tr.acf-accordion + tr.acf-accordion {
padding: 15px;
}
.block-editor .edit-post-sidebar .acf-fields > .acf-field.acf-accordion .acf-accordion-title label {
font-weight: bold;
font-weight: 500;
color: rgb(30, 30, 30);
}
.block-editor .edit-post-sidebar .acf-fields > .acf-field.acf-accordion .acf-accordion-title svg.acf-accordion-icon {
right: 16px;
}
.block-editor .edit-post-sidebar .acf-fields > .acf-field.acf-accordion .acf-accordion-content > .acf-fields {
border-top-width: 0;
}
/*-----------------------------------------------------------------------------
*
* Prefix field label & prefix field names
*
*-----------------------------------------------------------------------------*/
.acf-field-setting-prefix_label p.description,
.acf-field-setting-prefix_name p.description {
order: 3;
margin-top: 0;
margin-left: 16px;
}
.acf-field-setting-prefix_label p.description code,
.acf-field-setting-prefix_name p.description code {
padding-top: 4px;
padding-right: 6px;
padding-bottom: 4px;
padding-left: 6px;
background-color: #F2F4F7;
border-radius: 4px;
color: #667085;
}
/*-----------------------------------------------------------------------------
*
* Editor tab styles
*
*-----------------------------------------------------------------------------*/
.acf-fields > .acf-tab-wrap:first-child .acf-tab-group {
border-top: none;
}
.acf-fields > .acf-tab-wrap .acf-tab-group li.active a {
background: #ffffff;
}
.acf-fields > .acf-tab-wrap .acf-tab-group li a {
background: #f1f1f1;
border-color: #ccd0d4;
}
.acf-fields > .acf-tab-wrap .acf-tab-group li a:hover {
background: #fff;
}
/*--------------------------------------------------------------------------------------------
*
* User

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,7 @@
/*!******************************************************************************************************************************************************************************************************************************!*\
!*** 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
@ -11,13 +12,18 @@
/* responsive */
/*--------------------------------------------------------------------------------------------
*
* ACF 6
*
*--------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------
*
* Mixins
*
*--------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------
*
* Flexible Content
*
*
*---------------------------------------------------------------------------------------------*/
.acf-field-setting-fc_layout .acf-fc-meta {
margin: 0 0 10px;
@ -27,12 +33,22 @@
margin: 0 0 10px;
padding: 0;
}
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-display,
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-min {
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-display {
float: left;
width: 33%;
width: 100%;
padding-right: 10px;
}
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-min {
width: calc(50% - 4px);
float: left;
clear: left;
margin-right: 4px;
}
.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-max {
width: calc(50% - 4px);
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 {
@ -56,7 +72,7 @@
/*---------------------------------------------------------------------------------------------
*
* Clone
*
*
*---------------------------------------------------------------------------------------------*/
.acf-field-object-clone {
/* group */

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
.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,.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-min{float:left;width:33%;padding-right:10px}.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-fl-actions{visibility:hidden}.acf-field-setting-fc_layout .acf-fl-actions .reorder-layout{cursor:move}.acf-field-setting-fc_layout .acf-fl-actions a{padding:1px 0;font-size:13px;line-height:20px}.acf-field-setting-fc_layout:hover .acf-fl-actions,.acf-field-setting-fc_layout.-hover .acf-fl-actions{visibility:visible}.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}
.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:10px}.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-min{width:calc(50% - 4px);float:left;clear:left;margin-right:4px}.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-max{width:calc(50% - 4px);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-fl-actions{visibility:hidden}.acf-field-setting-fc_layout .acf-fl-actions .reorder-layout{cursor:move}.acf-field-setting-fc_layout .acf-fl-actions a{padding:1px 0;font-size:13px;line-height:20px}.acf-field-setting-fc_layout:hover .acf-fl-actions,.acf-field-setting-fc_layout.-hover .acf-fl-actions{visibility:visible}.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}

View File

@ -1,6 +1,7 @@
/*!************************************************************************************************************************************************************************************************************************!*\
!*** 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
@ -11,6 +12,11 @@
/* responsive */
/*--------------------------------------------------------------------------------------------
*
* ACF 6
*
*--------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------
*
* Mixins
*
*--------------------------------------------------------------------------------------------*/
@ -44,6 +50,9 @@
margin: 0 0 8px;
background: #F9F9F9;
}
.acf-repeater .acf-divider td {
border-top: 10px solid #e4e4e4;
}
.acf-repeater .acf-row-handle {
width: 16px;
text-align: center !important;
@ -53,6 +62,18 @@
/* .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;
@ -79,6 +100,9 @@ body.browser-msie .acf-repeater .acf-row-handle .acf-icon.-minus {
.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;
@ -151,6 +175,16 @@ body.acf-keydown-shift .acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.
.acf-repeater.-max .acf-icon[data-event=add-row] {
display: none !important;
}
.acf-repeater .acf-actions .acf-button {
float: right;
}
.acf-repeater .acf-actions .acf-tablenav {
float: right;
margin-right: 20px;
}
.acf-repeater .acf-actions .acf-tablenav .current-page {
width: auto !important;
}
/*---------------------------------------------------------------------------------------------
*
@ -625,11 +659,11 @@ html[dir=rtl] .acf-gallery .acf-gallery-side-data th.label {
position: relative;
}
/*--------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
*
* ACF Blocks
*
*--------------------------------------------------------------------------------------------*/
*----------------------------------------------------------------------------*/
.acf-block-component .components-placeholder {
margin: 0;
}
@ -642,6 +676,15 @@ html[dir=rtl] .acf-gallery .acf-gallery-side-data th.label {
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;
}
@ -671,7 +714,8 @@ html[dir=rtl] .acf-block-component .acf-block-fields {
}
.acf-block-panel .acf-block-fields {
border-top: #e2e4e7 solid 1px;
border-top: #ddd solid 1px;
border-bottom: #ddd solid 1px;
min-height: 1px;
}
.acf-block-panel .acf-block-fields:empty {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -267,6 +267,9 @@
$rules: function () {
return this.$('.rule');
},
$tabLabel: function () {
return this.fieldObject.$el.find('.conditional-logic-badge');
},
open: function () {
var $div = this.$control();
$div.show();
@ -280,9 +283,11 @@
render: function () {
// show
if (this.$toggle().prop('checked')) {
this.$tabLabel().addClass('is-enabled');
this.renderRules();
this.open(); // hide
} else {
this.$tabLabel().removeClass('is-enabled');
this.close();
}
},
@ -551,10 +556,14 @@
eventScope: '.acf-field-object',
// events
events: {
'click .edit-field': 'onClickEdit',
'click .handle': 'onClickEdit',
'click .close-field': 'onClickEdit',
'click a[data-key="acf_field_settings_tabs"]': 'onChangeSettingsTab',
'click .delete-field': 'onClickDelete',
'click .duplicate-field': 'duplicate',
'click .move-field': 'move',
'focus .edit-field': 'onFocusEdit',
'blur .edit-field, .row-options a': 'onBlurEdit',
'change .field-type': 'onChangeType',
'change .field-required': 'onChangeRequired',
'blur .field-label': 'onChangeLabel',
@ -602,7 +611,7 @@
return this.$('.settings:first');
},
$setting: function (name) {
return this.$('.acf-field-settings:first > .acf-field-setting-' + name);
return this.$('.acf-field-settings:first .acf-field-setting-' + name);
},
getParent: function () {
return acf.getFieldObjects({
@ -766,7 +775,9 @@
$handle.find('.li-field-name').text(name); // update type
$handle.find('.li-field-type').text(type); // update key
const iconName = acf.strSlugify(this.getType());
$handle.find('.field-type-label').text(' ' + type);
$handle.find('.field-type-icon').removeClass().addClass('field-type-icon field-type-icon-' + iconName); // update key
$handle.find('.li-field-key').text(key); // action for 3rd party customization
@ -779,8 +790,38 @@
return this.$el.hasClass('open');
},
onClickEdit: function (e) {
$target = $(e.target);
if ($target.parent().hasClass('row-options') && !$target.hasClass('edit-field')) return;
this.isOpen() ? this.close() : this.open();
},
onChangeSettingsTab: function () {
const $settings = this.$el.children('.settings');
acf.doAction('show', $settings);
},
/**
* Adds 'active' class to row options nearest to the target.
*/
onFocusEdit: function (e) {
var $rowOptions = $(e.target).closest('li').find('.row-options');
$rowOptions.addClass('active');
},
/**
* Removes 'active' class from row options if links in same row options area are no longer in focus.
*/
onBlurEdit: function (e) {
var focusDelayMilliseconds = 50;
var $rowOptionsBlurElement = $(e.target).closest('li').find('.row-options'); // Timeout so that `activeElement` gives the new element in focus instead of the body.
setTimeout(function () {
var $rowOptionsFocusElement = $(document.activeElement).closest('li').find('.row-options');
if (!$rowOptionsBlurElement.is($rowOptionsFocusElement)) {
$rowOptionsBlurElement.removeClass('active');
}
}, focusDelayMilliseconds);
},
open: function () {
// vars
var $settings = this.$el.children('.settings'); // open
@ -1143,56 +1184,56 @@
}, 300);
},
changeType: function (newType) {
// vars
var prevType = this.prop('type');
var prevClass = acf.strSlugify('acf-field-object-' + prevType);
var newClass = acf.strSlugify('acf-field-object-' + newType); // update props
var newClass = acf.strSlugify('acf-field-object-' + newType); // Update props.
this.$el.removeClass(prevClass).addClass(newClass);
this.$el.attr('data-type', newType);
this.$el.data('type', newType); // abort XHR if this field is already loading AJAX data
this.$el.data('type', newType); // Abort XHR if this field is already loading AJAX data.
if (this.has('xhr')) {
this.get('xhr').abort();
} // store settings
} // Store old settings so they can be reused later.
var $tbody = this.$('> .settings > table > tbody');
var $settings = $tbody.children('[data-setting="' + prevType + '"]');
this.set('settings-' + prevType, $settings);
$settings.detach(); // show settings
const $oldSettings = [];
this.$el.find('.acf-field-settings:first > .acf-field-settings-main > .acf-field-type-settings').each(function () {
let tab = $(this).data('parent-tab');
let $tabSettings = $(this).children();
$oldSettings[tab] = $tabSettings;
$tabSettings.detach();
});
this.set('settings-' + prevType, $oldSettings); // Show the settings if we already have them cached.
if (this.has('settings-' + newType)) {
var $newSettings = this.get('settings-' + newType);
this.$setting('conditional_logic').before($newSettings);
this.set('type', newType); //this.refresh();
let $newSettings = this.get('settings-' + newType);
this.showFieldTypeSettings($newSettings);
this.set('type', newType);
return;
} // load settings
} // Add loading spinner.
var $loading = $('<tr class="acf-field"><td class="acf-label"></td><td class="acf-input"><div class="acf-loading"></div></td></tr>');
this.$setting('conditional_logic').before($loading); // ajax
var ajaxData = {
const $loading = $('<div class="acf-field"><div class="acf-input"><div class="acf-loading"></div></div></div>');
this.$el.find('.acf-field-settings-main-general .acf-field-type-settings').before($loading);
const ajaxData = {
action: 'acf/field_group/render_field_settings',
field: this.serialize(),
prefix: this.getInputName()
}; // ajax
}; // Get the settings for this field type over AJAX.
var xhr = $.ajax({
url: acf.get('ajaxurl'),
data: acf.prepareForAjax(ajaxData),
type: 'post',
dataType: 'html',
dataType: 'json',
context: this,
success: function (html) {
// bail early if no settings
if (!html) return; // append settings
success: function (response) {
if (!acf.isAjaxSuccess(response)) {
return;
}
$loading.after(html); // events
acf.doAction('append', $tbody);
this.showFieldTypeSettings(response.data);
},
complete: function () {
// also triggered by xhr.abort();
@ -1203,6 +1244,25 @@
this.set('xhr', xhr);
},
showFieldTypeSettings: function (settings) {
if ('object' !== typeof settings) {
return;
}
const self = this;
const tabs = Object.keys(settings);
tabs.forEach(tab => {
const $tab = self.$el.find('.acf-field-settings-main-' + tab + ' .acf-field-type-settings');
let tabContent = '';
if (['object', 'string'].includes(typeof settings[tab])) {
tabContent = settings[tab];
}
$tab.prepend(tabContent);
acf.doAction('append', $tab);
});
},
updateParent: function () {
// vars
var ID = acf.get('post_id'); // check parent
@ -1576,18 +1636,31 @@
if (!fields.length) {
$list.addClass('-empty');
$list.parents('.acf-field-list-wrap').first().addClass('-empty');
return;
} // has fields
$list.removeClass('-empty'); // prop
$list.removeClass('-empty');
$list.parents('.acf-field-list-wrap').first().removeClass('-empty'); // prop
fields.map(function (field, i) {
field.prop('menu_order', i);
});
},
onClickAdd: function (e, $el) {
var $list = $el.closest('.acf-tfoot').siblings('.acf-field-list');
let $list;
if ($el.hasClass('add-first-field')) {
$list = $el.parents('.acf-field-list').eq(0);
} else if ($el.parent().hasClass('acf-headerbar-actions') || $el.parent().hasClass('no-fields-message-inner')) {
$list = $('.acf-field-list:first');
} else if ($el.parent().hasClass('acf-sub-field-list-header')) {
$list = $el.parents('.acf-input:first').find('.acf-field-list');
} else {
$list = $el.closest('.acf-tfoot').siblings('.acf-field-list');
}
this.addField($list);
},
addField: function ($list) {
@ -1620,7 +1693,11 @@
var $label = newField.$input('label');
setTimeout(function () {
$label.trigger('focus');
if ($list.hasClass('acf-auto-add-field')) {
$list.removeClass('acf-auto-add-field');
} else {
$label.trigger('focus');
}
}, 251); // open
newField.open(); // set menu order
@ -1663,7 +1740,7 @@
'change .refresh-location-rule': 'onChangeRemoveRule'
},
initialize: function () {
this.$el = $('#acf-field-group-locations');
this.$el = $('#acf-field-group-options');
this.updateGroupsClass();
},
onClickAddRule: function (e, $el) {
@ -1803,7 +1880,7 @@
var type = field.get('setting') || '';
var name = field.get('name') || '';
var mid = modelId(type + ' ' + name);
var model = acf.models[mid] || null; // bail ealry if no setting
var model = acf.models[mid] || null; // bail early if no setting
if (model === null) return false; // instantiate
@ -1834,15 +1911,12 @@
return field.setting;
};
/**
* settingsManager
* settingsManager
*
* description
* @since 5.6.5
*
* @date 6/1/18
* @since 5.6.5
*
* @param type $var Description. Default.
* @return type Description.
* @param object The object containing the extended variables and methods.
* @return void
*/
@ -1855,15 +1929,12 @@
}
});
/**
* acf.FieldSetting
* acf.FieldSetting
*
* description
* @since 5.6.5
*
* @date 6/1/18
* @since 5.6.5
*
* @param type $var Description. Default.
* @return type Description.
* @param object The object containing the extended variables and methods.
* @return void
*/
acf.FieldSetting = acf.Model.extend({
@ -1892,17 +1963,51 @@
render: function () {// do nothing
}
});
/*
* Date Picker
/**
* Accordion and Tab Endpoint Settings
*
* This field type requires some extra logic for its settings
* The 'endpoint' setting on accordions and tabs requires an additional class on the
* field object row when enabled.
*
* @type function
* @date 24/10/13
* @since 5.0.0
* @since 6.0.0
*
* @param n/a
* @return n/a
* @param object The object containing the extended variables and methods.
* @return void
*/
var EndpointFieldSetting = acf.FieldSetting.extend({
type: '',
name: '',
render: function () {
var $endpoint_setting = this.fieldObject.$setting('endpoint');
var $endpoint_field = $endpoint_setting.find('input[type="checkbox"]:first');
if ($endpoint_field.is(':checked')) {
this.fieldObject.$el.addClass('acf-field-is-endpoint');
} else {
this.fieldObject.$el.removeClass('acf-field-is-endpoint');
}
}
});
var AccordionEndpointFieldSetting = EndpointFieldSetting.extend({
type: 'accordion',
name: 'endpoint'
});
var TabEndpointFieldSetting = EndpointFieldSetting.extend({
type: 'tab',
name: 'endpoint'
});
acf.registerFieldSetting(AccordionEndpointFieldSetting);
acf.registerFieldSetting(TabEndpointFieldSetting);
/**
* Date Picker
*
* This field type requires some extra logic for its settings
*
* @since 5.0.0
*
* @param object The object containing the extended variables and methods.
* @return void
*/
var DisplayFormatFieldSetting = acf.FieldSetting.extend({
@ -1926,17 +2031,15 @@
});
acf.registerFieldSetting(DatePickerDisplayFormatFieldSetting);
acf.registerFieldSetting(DatePickerReturnFormatFieldSetting);
/*
* Date Time Picker
/**
* Date Time Picker
*
* This field type requires some extra logic for its settings
* This field type requires some extra logic for its settings
*
* @type function
* @date 24/10/13
* @since 5.0.0
* @since 5.0.0
*
* @param n/a
* @return n/a
* @param object The object containing the extended variables and methods.
* @return void
*/
var DateTimePickerDisplayFormatFieldSetting = DisplayFormatFieldSetting.extend({
@ -1949,17 +2052,15 @@
});
acf.registerFieldSetting(DateTimePickerDisplayFormatFieldSetting);
acf.registerFieldSetting(DateTimePickerReturnFormatFieldSetting);
/*
* Time Picker
/**
* Time Picker
*
* This field type requires some extra logic for its settings
* This field type requires some extra logic for its settings
*
* @type function
* @date 24/10/13
* @since 5.0.0
* @since 5.0.0
*
* @param n/a
* @return n/a
* @param object The object containing the extended variables and methods.
* @return void
*/
var TimePickerDisplayFormatFieldSetting = DisplayFormatFieldSetting.extend({
@ -1978,8 +2079,8 @@
* @date 16/12/20
* @since 5.9.4
*
* @param type $var Description. Default.
* @return type Description.
* @param object The object containing the extended variables and methods.
* @return void
*/
var ColorPickerReturnFormat = acf.FieldSetting.extend({
@ -2026,17 +2127,27 @@
*/
var fieldGroupManager = new acf.Model({
id: 'fieldGroupManager',
wait: 'prepare',
events: {
'submit #post': 'onSubmit',
'click a[href="#"]': 'onClick',
'click .submitdelete': 'onClickTrash'
'click .acf-delete-field-group': 'onClickDeleteFieldGroup'
},
filters: {
find_fields_args: 'filterFindFieldArgs'
find_fields_args: 'filterFindFieldArgs',
find_fields_selector: 'filterFindFieldsSelector'
},
initialize: function () {
let $field_list_wrapper = $('#acf-field-group-fields > .inside > .acf-field-list-wrap.acf-auto-add-field');
if ($field_list_wrapper.length) {
$('.acf-headerbar-actions .add-field').trigger('click');
$('.acf-title-wrap #title').trigger('focus');
}
},
onSubmit: function (e, $el) {
// vars
var $title = $('#titlewrap #title'); // empty
var $title = $('.acf-title-wrap #title'); // empty
if (!$title.val()) {
// prevent default
@ -2052,16 +2163,30 @@
onClick: function (e) {
e.preventDefault();
},
onClickTrash: function (e) {
var result = confirm(acf.__('Move to trash. Are you sure?'));
onClickDeleteFieldGroup: function (e, $el) {
e.preventDefault();
$el.addClass('-hover'); // Add confirmation tooltip.
if (!result) {
e.preventDefault();
}
acf.newTooltip({
confirm: true,
target: $el,
context: this,
text: acf.__('Move field group to trash?'),
confirm: function () {
window.location.href = $el.attr('href');
},
cancel: function () {
$el.removeClass('-hover');
}
});
},
filterFindFieldArgs: function (args) {
// Don't change this!
args.visible = true;
return args;
},
filterFindFieldsSelector: function (selector) {
return selector + ', .acf-field-acf-field-group-settings-tabs';
}
});
/**
@ -2080,7 +2205,8 @@
id: 'screenOptionsManager',
wait: 'prepare',
events: {
change: 'onChange'
'change #acf-field-key-hide': 'onFieldKeysChange',
'change [name="screen_columns"]': 'render'
},
initialize: function () {
// vars
@ -2092,24 +2218,35 @@
$append.remove(); // initialize
this.$el = $('#acf-field-key-hide'); // render
this.$el = $('#screen-options-wrap'); // render
this.render();
},
isChecked: function () {
return this.$el.prop('checked');
isFieldKeysChecked: function () {
return this.$el.find('#acf-field-key-hide').prop('checked');
},
onChange: function (e, $el) {
var val = this.isChecked() ? 1 : 0;
getSelectedColumnCount: function () {
return this.$el.find('input[name="screen_columns"]:checked').val();
},
onFieldKeysChange: function (e, $el) {
var val = this.isFieldKeysChecked() ? 1 : 0;
acf.updateUserSetting('show_field_keys', val);
this.render();
},
render: function () {
if (this.isChecked()) {
if (this.isFieldKeysChecked()) {
$('#acf-field-group-fields').addClass('show-field-keys');
} else {
$('#acf-field-group-fields').removeClass('show-field-keys');
}
if (this.getSelectedColumnCount() == 1) {
$('body').removeClass('columns-2');
$('body').addClass('columns-1');
} else {
$('body').removeClass('columns-1');
$('body').addClass('columns-2');
}
}
});
/**
@ -2129,7 +2266,7 @@
new_field: 'onNewField'
},
onNewField: function (field) {
// bail ealry if not append
// bail early if not append
if (!field.has('append')) return; // vars
var append = field.get('append');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1189,7 +1189,7 @@
var target = conditions.get('field'); // use the 'target' to find the 'trigger' field.
// - this field is used to setup the conditional logic events
var field = target.getField(rule.field); // bail ealry if no target or no field (possible if field doesn't exist due to HTML error)
var field = target.getField(rule.field); // bail early if no target or no field (possible if field doesn't exist due to HTML error)
if (!target || !field) {
return false;
@ -1580,7 +1580,7 @@
} // instantiate
var condition = acf.newCondition(rule, this); // bail ealry if condition failed (field did not exist)
var condition = acf.newCondition(rule, this); // bail early if condition failed (field did not exist)
if (!condition) {
return false;
@ -1737,9 +1737,9 @@
// Use SVG inside Gutenberg editor.
if (acf.isGutenberg()) {
if (props.open) {
return '<svg class="acf-accordion-icon" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"></path></g></svg>';
return '<svg width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="acf-accordion-icon components-panel__arrow" aria-hidden="true" focusable="false"><path d="M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"></path></svg>';
} else {
return '<svg class="acf-accordion-icon" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg>';
return '<svg width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class=" acf-accordion-icon components-panel__arrow" aria-hidden="true" focusable="false"><path d="M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"></path></svg>';
}
} else {
if (props.open) {
@ -2114,11 +2114,11 @@
// vars
var locale = acf.get('locale');
var rtl = acf.get('rtl');
var l10n = acf.get('datePickerL10n'); // bail ealry if no l10n
var l10n = acf.get('datePickerL10n'); // bail early if no l10n
if (!l10n) {
return false;
} // bail ealry if no datepicker library
} // bail early if no datepicker library
if (typeof $.datepicker === 'undefined') {
@ -2134,7 +2134,7 @@
}); // add
acf.newDatePicker = function ($input, args) {
// bail ealry if no datepicker library
// bail early if no datepicker library
if (typeof $.datepicker === 'undefined') {
return false;
} // defaults
@ -2201,11 +2201,11 @@
// vars
var locale = acf.get('locale');
var rtl = acf.get('rtl');
var l10n = acf.get('dateTimePickerL10n'); // bail ealry if no l10n
var l10n = acf.get('dateTimePickerL10n'); // bail early if no l10n
if (!l10n) {
return false;
} // bail ealry if no datepicker library
} // bail early if no datepicker library
if (typeof $.timepicker === 'undefined') {
@ -2221,7 +2221,7 @@
}); // add
acf.newDateTimePicker = function ($input, args) {
// bail ealry if no datepicker library
// bail early if no datepicker library
if (typeof $.timepicker === 'undefined') {
return false;
} // defaults
@ -2252,7 +2252,7 @@
return this.$('.acf-file-uploader');
},
$input: function () {
return this.$('input[type="hidden"]');
return this.$('input[type="hidden"]:first');
},
validateAttachment: function (attachment) {
// defaults
@ -2871,7 +2871,7 @@
return this.$('.acf-image-uploader');
},
$input: function () {
return this.$('input[type="hidden"]');
return this.$('input[type="hidden"]:first');
},
events: {
'click a[data-name="add"]': 'onClickAdd',
@ -3849,7 +3849,17 @@
duplicateField: 'onDuplicate'
},
findFields: function () {
return this.$el.nextUntil('.acf-field-tab', '.acf-field');
let filter = '.acf-field';
if (this.get('key') === 'acf_field_settings_tabs') {
filter = '.acf-field-settings-main';
}
if (this.get('key') === 'acf_field_group_settings_tabs') {
filter = '.field-group-settings-tab';
}
return this.$el.nextUntil('.acf-field-tab', filter);
},
getFields: function () {
return acf.getFields(this.findFields());
@ -3995,7 +4005,13 @@
if ($before.is('tr')) {
this.$el = $('<tr class="acf-tab-wrap"><td colspan="2"><ul class="acf-hl acf-tab-group"></ul></td></tr>');
} else {
this.$el = $('<div class="acf-tab-wrap -' + placement + '"><ul class="acf-hl acf-tab-group"></ul></div>');
let ulClass = 'acf-hl acf-tab-group';
if (this.get('key') === 'acf_field_settings_tabs') {
ulClass = 'acf-field-settings-tab-bar';
}
this.$el = $('<div class="acf-tab-wrap -' + placement + '"><ul class="' + ulClass + '"></ul></div>');
} // append
@ -4078,7 +4094,10 @@
},
addTab: function ($a, field) {
// create <li>
var $li = $('<li>' + $a.outerHTML() + '</li>'); // append
var $li = $('<li>' + $a.outerHTML() + '</li>'); // add settings type class.
var classes = $a.attr('class').replace('acf-tab-button', '');
$li.addClass(classes); // append
this.$('ul').append($li); // initialize
@ -4179,6 +4198,7 @@
prepare: 'render',
append: 'render',
unload: 'onUnload',
show: 'render',
invalid_field: 'onInvalidField'
},
findTabs: function () {
@ -4549,7 +4569,7 @@
acf.registerFieldType(Field); // add
acf.newTimePicker = function ($input, args) {
// bail ealry if no datepicker library
// bail early if no datepicker library
if (typeof $.timepicker === 'undefined') {
return false;
} // defaults
@ -4596,13 +4616,13 @@
},
render: function () {
// vars
var $switch = this.$switch(); // bail ealry if no $switch
var $switch = this.$switch(); // bail early if no $switch
if (!$switch.length) return; // vars
var $on = $switch.children('.acf-switch-on');
var $off = $switch.children('.acf-switch-off');
var width = Math.max($on.width(), $off.width()); // bail ealry if no width
var width = Math.max($on.width(), $off.width()); // bail early if no width
if (!width) return; // set widths
@ -5358,7 +5378,11 @@
if (args.visible) {
selector += ':visible';
selector += ':visible, .acf-field-acf-field-settings-tabs';
}
if (!args.suppressFilters) {
selector = acf.applyFilters('find_fields_selector', selector, args);
} // query
@ -5916,7 +5940,7 @@
if (!$fields.length) {
return false;
} // bail ealry if is .-left
} // bail early if is .-left
if ($el.hasClass('-left')) {
@ -7247,8 +7271,14 @@
if (data.sorted) {
// Loop over each position (acf_after_title, side, normal).
for (var position in data.sorted) {
// Explode string into array of ids.
var order = data.sorted[position].split(','); // Position metabox relative to order.
let order = data.sorted[position];
if (typeof order !== 'string') {
continue;
} // Explode string into array of ids.
order = order.split(','); // Position metabox relative to order.
if (sortMetabox(result.id, order)) {
break;
@ -8023,7 +8053,7 @@
var locale = acf.get('locale');
var rtl = acf.get('rtl');
var l10n = acf.get('select2L10n');
var version = getVersion(); // bail ealry if no l10n
var version = getVersion(); // bail early if no l10n
if (!l10n) {
return false;
@ -8458,7 +8488,7 @@
},
enableTinymce: function (id) {
// bail early
if (typeof switchEditors === 'undefined') return false; // bail ealry if not initialized
if (typeof switchEditors === 'undefined') return false; // bail early if not initialized
if (typeof tinyMCEPreInit.mceInit[id] === 'undefined') return false; // Ensure textarea element is visible
// - Fixes bug in block editor when switching between "Block" and "Document" tabs.
@ -8541,7 +8571,7 @@
this.stopListening();
},
startListening: function () {
// bail ealry if already changed, not active
// bail early if already changed, not active
if (this.changed || !this.active) {
return;
} // update
@ -9141,7 +9171,7 @@
acf.lockForm = function ($form) {
// vars
var $wrap = findSubmitWrap($form);
var $submit = $wrap.find('.button, [type="submit"]');
var $submit = $wrap.find('.button, [type="submit"]').not('.acf-nav, .acf-repeater-add-row');
var $spinner = $wrap.find('.spinner, .acf-spinner'); // hide all spinners (hides the preview spinner)
acf.hideSpinner($spinner); // lock
@ -9166,7 +9196,7 @@
acf.unlockForm = function ($form) {
// vars
var $wrap = findSubmitWrap($form);
var $submit = $wrap.find('.button, [type="submit"]');
var $submit = $wrap.find('.button, [type="submit"]').not('.acf-nav, .acf-repeater-add-row');
var $spinner = $wrap.find('.spinner, .acf-spinner'); // unlock
acf.enableSubmit($submit);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1694,11 +1694,14 @@
events: {
'mouseenter .acf-js-tooltip': 'showTitle',
'mouseup .acf-js-tooltip': 'hideTitle',
'mouseleave .acf-js-tooltip': 'hideTitle'
'mouseleave .acf-js-tooltip': 'hideTitle',
'focus .acf-js-tooltip': 'showTitle',
'blur .acf-js-tooltip': 'hideTitle',
'keyup .acf-js-tooltip': 'onKeyUp'
},
showTitle: function (e, $el) {
// vars
var title = $el.attr('title'); // bail ealry if no title
var title = $el.attr('title'); // bail early if no title
if (!title) {
return;
@ -1724,6 +1727,11 @@
this.tooltip.hide(); // restore title
$el.attr('title', this.tooltip.get('text'));
},
onKeyUp: function (e, $el) {
if ('Escape' === e.key) {
this.hideTitle(e, $el);
}
}
});
})(jQuery);
@ -3664,8 +3672,16 @@
acf.getXhrError = function (xhr) {
if (xhr.responseJSON && xhr.responseJSON.message) {
return xhr.responseJSON.message;
if (xhr.responseJSON) {
// Responses via `return new WP_Error();`
if (xhr.responseJSON.message) {
return xhr.responseJSON.message;
} // Responses via `wp_send_json_error();`.
if (xhr.responseJSON.data && xhr.responseJSON.data.error) {
return xhr.responseJSON.data.error;
}
} else if (xhr.statusText) {
return xhr.statusText;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -14,9 +14,9 @@ __webpack_require__.r(__webpack_exports__);
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
(function ($, undefined) {
// Dependencies.
@ -119,7 +119,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
function registerBlockType(blockType) {
// Bail ealry if is excluded post_type.
// bail early if is excluded post_type.
var allowedTypes = blockType.post_types || [];
if (allowedTypes.length) {
@ -200,7 +200,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
save: function (props) {
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)(ThisBlockSave, props);
}
}); // Add to storage.
}); // Remove all attribute defaults from PHP values to allow serialisation.
// https://github.com/WordPress/gutenberg/issues/7342
for (const key in blockType.attributes) {
delete blockType.attributes[key].default;
} // Add to storage.
blockTypes[blockType.name] = blockType; // Register with WP.
@ -794,23 +800,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
fetch() {// Do nothing.
}
maybePreload(blockId) {
if (this.state.html === undefined) {
const preloadedBlocks = acf.get('preloadedBlocks');
if (preloadedBlocks && preloadedBlocks[blockId]) {
// Set HTML to the preloaded version.
this.setHtml(preloadedBlocks[blockId]); // Delete the preloaded HTML so we don't try to load it again.
delete preloadedBlocks[blockId];
acf.set('preloadedBlocks', preloadedBlocks);
return true;
}
}
return false;
}
loadState() {
this.state = store[this.id] || {};
}
@ -970,14 +959,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
// Extract props.
const {
attributes
} = this.props; // Try preloaded data first.
const preloaded = this.maybePreload(attributes.id);
if (preloaded) {
return;
} // Request AJAX and update HTML on complete.
} = this.props; // Request AJAX and update HTML on complete.
fetchBlock({
attributes: attributes,
@ -1060,14 +1042,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
this.setState({
prevAttributes: attributes
}); // Try preloaded data first.
const preloaded = this.maybePreload(attributes.id);
if (preloaded) {
return;
} // Request AJAX and update HTML on complete.
}); // Request AJAX and update HTML on complete.
fetchBlock({
attributes: attributes,
@ -1076,7 +1051,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
},
delay: delay
}).done(json => {
this.setHtml(json.data.preview);
this.setHtml('<div class="acf-block-preview">' + json.data.preview + '</div>');
});
}
@ -1462,6 +1437,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
fontvariant: 'fontVariant',
fontweight: 'fontWeight',
for: 'htmlFor',
foreignobject: 'foreignObject',
formaction: 'formAction',
formenctype: 'formEncType',
formmethod: 'formMethod',

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

File diff suppressed because one or more lines are too long

View File

@ -1103,15 +1103,26 @@
var Field = acf.Field.extend({
type: 'repeater',
wait: '',
page: 1,
nextRowNum: 0,
events: {
'click a[data-event="add-row"]': 'onClickAdd',
'click a[data-event="duplicate-row"]': 'onClickDuplicate',
'click a[data-event="remove-row"]': 'onClickRemove',
'click a[data-event="collapse-row"]': 'onClickCollapse',
'click a[data-event="first-page"]:not(.disabled)': 'onClickFirstPage',
'click a[data-event="last-page"]:not(.disabled)': 'onClickLastPage',
'click a[data-event="prev-page"]:not(.disabled)': 'onClickPrevPage',
'click a[data-event="next-page"]:not(.disabled)': 'onClickNextPage',
'change .current-page': 'onChangeCurrentPage',
'click .acf-order-input-wrap': 'onClickRowOrder',
'blur .acf-order-input': 'onBlurRowOrder',
'change .acf-order-input': 'onChangeRowOrder',
'changed:total_rows': 'onChangeTotalRows',
showField: 'onShow',
unloadField: 'onUnload',
mouseover: 'onHover',
unloadField: 'onUnload'
change: 'onChangeField'
},
$control: function () {
return this.$('.acf-repeater:first');
@ -1123,7 +1134,7 @@
return this.$('tbody:first');
},
$rows: function () {
return this.$('tbody:first > tr').not('.acf-clone');
return this.$('tbody:first > tr').not('.acf-clone, .acf-deleted');
},
$row: function (index) {
return this.$('tbody:first > tr:eq(' + index + ')');
@ -1137,21 +1148,57 @@
$button: function () {
return this.$('.acf-actions:last .button');
},
$firstPageButton: function () {
return this.$('.acf-tablenav:last .first-page');
},
$prevPageButton: function () {
return this.$('.acf-tablenav:last .prev-page');
},
$nextPageButton: function () {
return this.$('.acf-tablenav:last .next-page');
},
$lastPageButton: function () {
return this.$('.acf-tablenav:last .last-page');
},
$pageInput: function () {
return this.$('.current-page:last');
},
totalPages: function () {
const totalPages = this.$('.acf-total-pages:last').text();
return parseInt(totalPages);
},
getValue: function () {
return this.$rows().length;
},
allowRemove: function () {
var min = parseInt(this.get('min'));
return !min || min < this.val();
let numRows = this.val();
let minRows = parseInt(this.get('min'));
if (this.get('pagination')) {
numRows = this.get('total_rows');
}
return !minRows || minRows < numRows;
},
allowAdd: function () {
var max = parseInt(this.get('max'));
return !max || max > this.val();
let numRows = this.val();
let maxRows = parseInt(this.get('max'));
if (this.get('pagination')) {
numRows = this.get('total_rows');
}
return !maxRows || maxRows > numRows;
},
addSortable: function (self) {
// bail early if max 1 row
if (this.get('max') == 1) {
return;
} // Bail early if using pagination.
if (this.get('pagination')) {
return;
} // add sortable
@ -1194,7 +1241,19 @@
if (self.isCollapsed($row)) {
self.expand($row);
}
});
}); // Listen for changes to fields, so we can persist them in the DOM.
if (this.get('pagination')) {
this.on('change', 'input, select, textarea', function (e) {
const $changed = $(e.currentTarget);
if (!$changed.hasClass('acf-order-input') && !$changed.hasClass('acf-row-status')) {
self.onChangeField(e, $(this));
}
});
}
this.listenForSavedMetaBoxes();
},
initialize: function () {
// add unscoped events
@ -1202,40 +1261,80 @@
this.addCollapsed(); // disable clone
acf.disable(this.$clone(), this.cid); // render
acf.disable(this.$clone(), this.cid); // Set up the next row number.
if (this.get('pagination')) {
this.nextRowNum = this.get('total_rows');
} // render
this.render();
},
render: function () {
// update order number
this.$rows().each(function (i) {
$(this).find('> .order > span').html(i + 1);
}); // Extract vars.
let update_order_numbers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
var $controll = this.$control();
// Update order number.
if (update_order_numbers) {
this.$rows().each(function (i) {
$(this).find('> .order > span').html(i + 1);
});
} // Extract vars.
var $control = this.$control();
var $button = this.$button(); // empty
if (this.val() == 0) {
$controll.addClass('-empty');
$control.addClass('-empty');
} else {
$controll.removeClass('-empty');
$control.removeClass('-empty');
} // Reached max rows.
if (!this.allowAdd()) {
$controll.addClass('-max');
$control.addClass('-max');
$button.addClass('disabled');
} else {
$controll.removeClass('-max');
$control.removeClass('-max');
$button.removeClass('disabled');
}
if (this.get('pagination')) {
this.maybeDisablePagination();
} // Reached min rows (not used).
//if( !this.allowRemove() ) {
// $controll.addClass('-min');
// $control.addClass('-min');
//} else {
// $controll.removeClass('-min');
// $control.removeClass('-min');
//}
},
listenForSavedMetaBoxes: function () {
if (!acf.isGutenberg() || !this.get('pagination')) {
return;
}
let checkedMetaBoxes = true;
wp.data.subscribe(() => {
if (wp.data.select('core/edit-post').isSavingMetaBoxes()) {
checkedMetaBoxes = false;
} else {
if (!checkedMetaBoxes) {
checkedMetaBoxes = true;
this.set('total_rows', 0, true);
this.ajaxLoadPage(true);
}
}
});
},
incrementTotalRows: function () {
let totalRows = this.get('total_rows');
this.set('total_rows', ++totalRows, true);
},
decrementTotalRows: function () {
let totalRows = this.get('total_rows');
this.set('total_rows', --totalRows, true);
},
validateAdd: function () {
// return true if allowed
if (this.allowAdd()) {
@ -1296,14 +1395,58 @@
$el2.removeClass('acf-clone'); // enable
acf.enable($el2, this.cid); // render
this.render();
acf.enable($el2, this.cid);
})
}); // trigger change for validation errors
});
this.$input().trigger('change'); // return
if (this.get('pagination')) {
this.incrementTotalRows();
if (false !== args.before) {
// If the row was inserted above an existing row, try to keep that order.
const prevRowNum = parseInt(args.before.find('.acf-row-number').first().text()) || 0;
let newRowNum = prevRowNum;
if (newRowNum && !args.before.hasClass('acf-inserted') && !args.before.hasClass('acf-added')) {
--newRowNum;
}
if (args.before.hasClass('acf-divider')) {
args.before.removeClass('acf-divider');
$el.addClass('acf-divider');
}
this.updateRowStatus($el, 'inserted');
this.updateRowStatus($el, 'reordered', newRowNum); // Hide the row numbers to avoid confusion with existing rows.
$el.find('.acf-row-number').first().hide().text(newRowNum);
if (!$el.find('.acf-order-input-wrap').hasClass('disabled')) {
let message = acf.__('Order will be assigned upon save');
$el.find('.acf-order-input-wrap').addClass('disabled');
$el.find('.acf-row-number').first().after('<span title="' + message + '">-</span>');
}
$el.find('.acf-order-input').first().hide();
$el.attr('data-inserted', newRowNum);
} else {
this.nextRowNum++;
$el.find('.acf-order-input').first().val(this.nextRowNum);
$el.find('.acf-row-number').first().text(this.nextRowNum);
this.updateRowStatus($el, 'added');
if (!this.$tbody().find('.acf-divider').length) {
$el.addClass('acf-divider');
}
}
$el.find('.acf-input:first').find('input:not([type=hidden]), select, textarea').first().trigger('focus');
} // Render and trigger change for validation errors.
this.render();
this.$input().trigger('change');
return $el;
},
onClickDuplicate: function (e, $el) {
@ -1342,7 +1485,29 @@
after: function ($el, $el2) {
acf.doAction('remount', $el);
}
}); // trigger change for validation errors
});
if (this.get('pagination')) {
this.incrementTotalRows(); // If the row was inserted above an existing row, try to keep that order.
const prevRowNum = parseInt($row.find('.acf-row-number').first().text()) || 0;
this.updateRowStatus($el, 'inserted');
this.updateRowStatus($el, 'reordered', prevRowNum); // Hide the row numbers to avoid confusion with existing rows.
$el.find('.acf-row-number').first().hide();
if (!$el.find('.acf-order-input-wrap').hasClass('disabled')) {
let message = acf.__('Order will be assigned upon save');
$el.find('.acf-order-input-wrap').addClass('disabled');
$el.find('.acf-row-number').first().after('<span title="' + message + '">-</span>');
}
$el.find('.acf-order-input').first().hide();
$el.attr('data-inserted', prevRowNum);
$el.removeClass('acf-divider');
} // trigger change for validation errors
this.$input().trigger('change'); // Update order numbers.
@ -1395,9 +1560,77 @@
}
});
},
onClickRowOrder: function (e, $el) {
if (!this.get('pagination')) {
return;
}
if ($el.hasClass('disabled')) {
return;
}
$el.find('.acf-row-number').hide();
$el.find('.acf-order-input').show().trigger('select');
},
onBlurRowOrder: function (e, $el) {
this.onChangeRowOrder(e, $el, false);
},
onChangeRowOrder: function (e, $el) {
let update = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
if (!this.get('pagination')) {
return;
}
const $row = $el.closest('.acf-row');
const $orderSpan = $row.find('.acf-row-number').first();
let hrOrder = $el.val();
$row.find('.acf-order-input').first().hide();
if (!acf.isNumeric(hrOrder) || parseFloat(hrOrder) < 0) {
$orderSpan.show();
return;
}
hrOrder = Math.round(hrOrder);
const newOrder = hrOrder - 1;
$el.val(hrOrder);
$orderSpan.text(hrOrder).show();
if (update) {
this.updateRowStatus($row, 'reordered', newOrder);
}
},
onChangeTotalRows: function () {
const perPage = parseInt(this.get('per_page')) || 20;
const totalRows = parseInt(this.get('total_rows')) || 0;
const totalPages = Math.ceil(totalRows / perPage); // Update the total pages in pagination.
this.$('.acf-total-pages:last').text(totalPages);
this.nextRowNum = totalRows; // If the current page no longer exists, load the last page.
if (this.page > totalPages) {
this.page = totalPages;
this.ajaxLoadPage();
}
},
remove: function ($row) {
// reference
var self = this; // remove
const self = this;
if (this.get('pagination')) {
this.decrementTotalRows(); // If using pagination and the row had already been saved, just hide the row instead of deleting it.
if ($row.data('id').includes('row-')) {
this.updateRowStatus($row, 'deleted');
$row.hide();
self.$input().trigger('change');
self.render(false);
return;
} else if ($row.hasClass('acf-divider')) {
$row.next('.acf-added').addClass('acf-divider');
}
} // If not using pagination, delete the actual row.
acf.remove({
target: $row,
@ -1468,6 +1701,179 @@
this.addSortable(this); // remove event
this.off('mouseover');
},
onChangeField: function (e, $el) {
const $row = $el.closest('.acf-row');
this.updateRowStatus($row, 'changed');
},
updateRowStatus: function ($row, status) {
let data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
if (!this.get('pagination')) {
return;
}
const row_id = $row.data('id');
const status_name = `acf[${this.get('key')}][${row_id}][acf_${status}]`;
const status_input = `<input type="hidden" class="acf-row-status" name="${status_name}" value="${data}" />`;
if (!$row.hasClass('acf-' + status)) {
$row.addClass('acf-' + status);
} // TODO: Update so that this doesn't get messed up with repeater subfields.
const $existing_status = $row.find(`input[name='${status_name}']`);
if (!$existing_status.length) {
$row.find('td').first().append(status_input);
} else {
$existing_status.val(data);
}
},
onClickFirstPage: function () {
this.validatePage(1);
},
onClickPrevPage: function () {
this.validatePage(this.page - 1);
},
onClickNextPage: function (e) {
this.validatePage(this.page + 1);
},
onClickLastPage: function () {
this.validatePage(this.totalPages());
},
onChangeCurrentPage: function () {
this.validatePage(this.$pageInput().val());
},
maybeDisablePagination: function () {
this.$actions().find('.acf-nav').removeClass('disabled');
if (this.page <= 1) {
this.$firstPageButton().addClass('disabled');
this.$prevPageButton().addClass('disabled');
}
if (this.page >= this.totalPages()) {
this.$nextPageButton().addClass('disabled');
this.$lastPageButton().addClass('disabled');
}
},
validatePage: function (nextPage) {
const self = this; // Validate the current page.
acf.validateForm({
form: this.$control(),
event: '',
reset: true,
success: function ($form) {
self.page = nextPage; // Set up some sane defaults.
if (self.page <= 1) {
self.page = 1;
}
if (self.page >= self.totalPages()) {
self.page = self.totalPages();
}
self.ajaxLoadPage();
},
failure: function ($form) {
self.$pageInput().val(self.page);
return false;
}
});
},
ajaxLoadPage: function () {
let clearChanged = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
const ajaxData = acf.prepareForAjax({
action: 'acf/ajax/query_repeater',
paged: this.page,
field_key: this.get('key'),
field_name: this.get('orig_name'),
rows_per_page: parseInt(this.get('per_page')),
refresh: clearChanged
});
$.ajax({
url: ajaxurl,
method: 'POST',
dataType: 'json',
data: ajaxData,
context: this
}).done(function (response) {
const {
rows
} = response.data;
const $existingRows = this.$tbody().find('> tr');
$existingRows.not('.acf-clone').hide();
if (clearChanged) {
// Remove any existing rows since we are refreshing from the server.
$existingRows.not('.acf-clone').remove(); // Trigger a change in total rows, so we can update pagination.
this.set('total_rows', response.data.total_rows, false);
} else {
$existingRows.not('.acf-changed, .acf-deleted, .acf-reordered, .acf-added, .acf-inserted, .acf-clone').remove();
}
Object.keys(rows).forEach(index => {
let $row = false;
let $unsavedRow = this.$tbody().find('> *[data-id=row-' + index + ']');
let $insertedRow = this.$tbody().find('> *[data-inserted=' + index + ']'); // Unsaved new rows that are inserted into this specific position.
if ($insertedRow.length) {
$insertedRow.appendTo(this.$tbody()).show();
acf.doAction('remount', $insertedRow);
} // Skip unsaved deleted rows; we don't want to show them again.
if ($unsavedRow.hasClass('acf-deleted')) {
return;
} // Unsaved edited rows should be moved to correct position.
if ($unsavedRow.length) {
acf.doAction('unmount', $unsavedRow);
$unsavedRow.appendTo(this.$tbody()).show();
acf.doAction('remount', $unsavedRow);
return;
} // Rows from the server (that haven't been changed or deleted) should be appended and shown.
$row = $(rows[index]);
this.$tbody().append($row).show();
acf.doAction('remount', $row); // Move clone field back to the right spot.
this.$clone().appendTo(this.$tbody());
});
const $addedRows = this.$tbody().find('.acf-added:hidden'); // If there are any new rows that are still hidden, append them to the bottom.
if ($addedRows.length) {
const self = this;
$addedRows.each(function () {
const $addedRow = $(this);
$addedRow.insertBefore(self.$clone()).show();
acf.doAction('remount', $addedRow);
});
} // Update the page input.
this.$pageInput().val(this.page);
this.maybeDisablePagination();
}).fail(function (jqXHR, textStatus, errorThrown) {
const error = acf.getXhrError(jqXHR);
let message = acf.__('Error loading page');
if ('' !== error) {
message = `${message}: ${error}`;
}
this.showNotice({
text: message,
type: 'warning'
});
});
}
});
acf.registerFieldType(Field); // register existing conditions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,7 @@
<svg width="55" height="24" viewBox="0 0 55 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M43.9986 23.8816H38.0521V0.0253448H53.9034V5.58064H43.9986V9.83762H53.334V15.2547H43.9986V23.8825V23.8816Z" fill="white"/>
<path opacity="0.05" d="M36.4832 13.8697H42.3772C41.5051 19.9417 36.3849 23.9574 30.1814 23.9574C23.3882 23.9574 17.8572 18.8809 17.8572 12.0448C17.843 10.4551 18.1521 8.879 18.7658 7.41239C19.3795 5.94579 20.2849 4.61924 21.4271 3.51334C23.7714 1.24304 26.9182 -0.00834104 30.1814 0.0320335C36.3275 0.0320335 41.5908 4.07879 42.3392 10.0536H36.4511C34.6807 3.2856 23.649 3.94741 23.649 12.0448C23.649 20.1432 34.8189 20.7398 36.4832 13.8716V13.8697Z" fill="white"/>
<path d="M35.2772 13.8697C34.266 17.2858 30.667 19.317 27.1244 18.4664C23.5798 17.6128 21.3588 14.187 22.0946 10.7047C22.8294 7.22146 26.2572 4.92655 29.8582 5.50758C31.3334 5.70738 32.6937 6.41247 33.7074 7.50273C34.408 8.22394 34.9337 9.0963 35.2442 10.0526H40.96C40.2116 4.06425 34.9337 0.0320875 28.8022 0.0320875C25.5386 -0.00942939 22.391 1.24129 20.0459 3.51144C18.903 4.61761 17.997 5.94473 17.3831 7.41208C16.7693 8.87942 16.4603 10.4563 16.4751 12.0468C16.4751 18.8829 21.9739 23.9574 28.8042 23.9574C35.0028 23.9574 40.1084 19.9418 40.996 13.8697H35.2763H35.2772Z" fill="white"/>
<path opacity="0.05" d="M17.5146 20.4109H9.2391L7.88629 23.8776H1.55337L11.245 0H15.4689L25.5459 23.8854H18.8597L17.5127 20.4109H17.5146ZM11.5914 14.5004L11.3841 15.0396H15.4017L15.2625 14.6347L13.3919 9.51446L11.5914 14.5004Z" fill="white"/>
<path d="M15.9476 20.4109H7.68573L6.33389 23.8776H0L9.69257 0H13.9165L23.9935 23.8854H17.3102L15.9476 20.4109ZM10.0381 14.5004L9.83174 15.0396H13.8493L13.7092 14.6347L11.8396 9.51446L10.039 14.5004H10.0381Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,10 @@
<svg width="284" height="44" viewBox="0 0 284 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M29.8067 14.5H38.1933C38.5589 14.5 38.8743 14.5 39.1353 14.5178C39.4102 14.5365 39.6851 14.5778 39.9567 14.6903C40.5693 14.944 41.056 15.4307 41.3097 16.0433C41.4222 16.3149 41.4635 16.5898 41.4822 16.8647C41.5 17.1257 41.5 17.4411 41.5 17.8067V17.8333C41.5 18.2936 41.1269 18.6667 40.6667 18.6667C40.2064 18.6667 39.8333 18.2936 39.8333 17.8333C39.8333 17.4336 39.8329 17.1756 39.8194 16.9781C39.8064 16.7881 39.7843 16.7158 39.7699 16.6811C39.6853 16.4769 39.5231 16.3147 39.3189 16.2301C39.2842 16.2157 39.2119 16.1936 39.0219 16.1806C38.8244 16.1671 38.5664 16.1667 38.1667 16.1667H34.8333V27.8333H36.5C36.9602 27.8333 37.3333 28.2064 37.3333 28.6667C37.3333 29.1269 36.9602 29.5 36.5 29.5H31.5C31.0398 29.5 30.6667 29.1269 30.6667 28.6667C30.6667 28.2064 31.0398 27.8333 31.5 27.8333H33.1667V16.1667H29.8333C29.4336 16.1667 29.1756 16.1671 28.9781 16.1806C28.7881 16.1936 28.7158 16.2157 28.6811 16.2301C28.4769 16.3147 28.3147 16.4769 28.2301 16.6811C28.2157 16.7158 28.1936 16.7881 28.1806 16.9781C28.1671 17.1756 28.1667 17.4336 28.1667 17.8333C28.1667 18.2936 27.7936 18.6667 27.3333 18.6667C26.8731 18.6667 26.5 18.2936 26.5 17.8333L26.5 17.8067C26.5 17.4411 26.5 17.1257 26.5178 16.8647C26.5365 16.5898 26.5778 16.3149 26.6903 16.0433C26.944 15.4307 27.4307 14.944 28.0433 14.6903C28.3149 14.5778 28.5898 14.5365 28.8647 14.5178C29.1257 14.5 29.4411 14.5 29.8067 14.5Z" fill="#98A2B3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M65.0699 17.001C65.1014 16.9994 65.1333 16.9997 65.1653 17.0018C66.7255 17.105 68.168 17.8824 69.1119 19.1113C69.3923 19.4763 69.3237 19.9994 68.9587 20.2798C68.5937 20.5601 68.0705 20.4915 67.7902 20.1265C67.1445 19.286 66.1582 18.7488 65.0926 18.6675C63.1778 18.6772 61.6667 20.1857 61.6667 22.0004C61.6667 23.814 63.1885 25.3333 65.1111 25.3333C66.2491 25.3333 67.2569 24.5468 68.0528 23.5603C68.436 23.0853 68.7354 22.6058 68.9394 22.243C69.0409 22.0625 69.1174 21.9133 69.1676 21.8113C69.1927 21.7603 69.2112 21.7213 69.2229 21.6961L69.2352 21.6692L69.2374 21.6644C69.2373 21.6646 69.2372 21.6648 70 22.0004C70.7628 22.3361 70.7626 22.3363 70.7625 22.3366L70.7624 22.3367L70.7624 22.3368L70.7623 22.3371L70.7623 22.3372L70.7616 22.3387L70.7598 22.3428L70.754 22.3555C70.7493 22.366 70.7428 22.3803 70.7344 22.3982C70.7178 22.4342 70.6939 22.4846 70.6629 22.5476C70.6009 22.6734 70.5103 22.8497 70.3922 23.0598C70.157 23.4781 69.8071 24.0402 69.35 24.6068C68.4653 25.7034 67.0287 27 65.1111 27C62.3078 27 60 24.7737 60 22.0004C60 19.2318 62.2862 17.0226 65.0699 17.001ZM74.9162 25.3332C76.8189 25.3189 78.3333 23.8044 78.3333 22.0004C78.3333 20.1809 76.8054 18.6675 74.8889 18.6675C73.7509 18.6675 72.7431 19.454 71.9472 20.4405C71.564 20.9155 71.2646 21.395 71.0606 21.7579C70.9591 21.9383 70.8826 22.0875 70.8323 22.1895C70.8073 22.2405 70.7888 22.2795 70.7771 22.3047L70.7648 22.3316L70.7628 22.3361L70.7626 22.3365C70.7627 22.3363 70.7628 22.3361 70 22.0004C69.2372 21.6648 69.2374 21.6645 69.2375 21.6643L69.2376 21.6641L69.2376 21.664L69.2377 21.6637L69.2377 21.6637L69.2384 21.6622L69.2402 21.658L69.246 21.6453C69.2507 21.6349 69.2572 21.6205 69.2656 21.6026C69.2822 21.5667 69.3061 21.5162 69.3371 21.4532C69.3991 21.3275 69.4897 21.1511 69.6078 20.941C69.843 20.5227 70.1929 19.9606 70.65 19.394C71.5347 18.2974 72.9713 17.0008 74.8889 17.0008C77.682 17.0008 80 19.2172 80 22.0004C80 24.7747 77.6831 27 74.8889 27C74.8707 27 74.8524 26.9994 74.8342 26.9982C73.2704 26.8954 71.8242 26.129 70.8848 24.8934C70.6062 24.527 70.6774 24.0042 71.0438 23.7257C71.4102 23.4471 71.933 23.5183 72.2115 23.8847C72.8475 24.7212 73.8344 25.2544 74.9162 25.3332Z" fill="#98A2B3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M102.466 13.6667H109.534C110.205 13.6667 110.759 13.6667 111.21 13.7035C111.678 13.7418 112.109 13.8239 112.513 14.03C113.141 14.3496 113.65 14.8595 113.97 15.4867C114.176 15.8912 114.258 16.3217 114.297 16.7902C114.333 17.2411 114.333 17.7948 114.333 18.4656V25.5344C114.333 26.2052 114.333 26.7589 114.297 27.2099C114.258 27.6783 114.176 28.1089 113.97 28.5133C113.65 29.1405 113.141 29.6504 112.513 29.97C112.109 30.1761 111.678 30.2582 111.21 30.2965C110.759 30.3334 110.205 30.3334 109.534 30.3333H102.466C102.445 30.3333 102.425 30.3333 102.406 30.3333L101.745 30.3333C101.52 30.3334 101.298 30.3334 101.12 30.3176C101.113 30.317 101.106 30.3164 101.099 30.3157C100.991 30.3108 100.888 30.3045 100.79 30.2965C100.322 30.2582 99.8912 30.1761 99.4867 29.97C98.8595 29.6504 98.3496 29.1405 98.03 28.5133C97.8239 28.1089 97.7418 27.6783 97.7035 27.2099C97.6667 26.7589 97.6667 26.2052 97.6667 25.5344V18.4656C97.6667 17.7948 97.6667 17.2411 97.7035 16.7902C97.7418 16.3217 97.8239 15.8912 98.03 15.4867C98.3496 14.8595 98.8595 14.3496 99.4867 14.03C99.8912 13.8239 100.322 13.7418 100.79 13.7035C101.241 13.6667 101.795 13.6667 102.466 13.6667ZM102.5 28.6667C102.387 28.6667 102.28 28.6667 102.179 28.6665L108.98 21.8654C109.155 21.6907 109.251 21.5955 109.325 21.5324C109.328 21.5299 109.331 21.5276 109.333 21.5253C109.336 21.5276 109.339 21.5299 109.342 21.5324C109.416 21.5955 109.512 21.6907 109.687 21.8654L112.667 24.8452V25.5C112.667 26.2138 112.666 26.6991 112.635 27.0741C112.606 27.4395 112.551 27.6263 112.485 27.7567C112.325 28.0703 112.07 28.3252 111.757 28.485C111.626 28.5514 111.439 28.6055 111.074 28.6354C110.699 28.666 110.214 28.6667 109.5 28.6667H102.5ZM112.667 22.4882L110.847 20.6681C110.698 20.5194 110.553 20.3745 110.42 20.2619C110.275 20.1382 110.09 20.0052 109.848 19.9268C109.514 19.818 109.153 19.818 108.818 19.9268C108.577 20.0052 108.392 20.1382 108.246 20.2619C108.114 20.3745 107.969 20.5194 107.82 20.6681L100.694 27.7946C100.534 27.9539 100.378 28.1105 100.263 28.2477C100.227 28.2901 100.179 28.3487 100.131 28.4221C99.8687 28.2619 99.6552 28.0318 99.515 27.7567C99.4486 27.6263 99.3945 27.4395 99.3646 27.0741C99.334 26.6991 99.3333 26.2138 99.3333 25.5V18.5C99.3333 17.7862 99.334 17.3009 99.3646 16.9259C99.3945 16.5605 99.4486 16.3737 99.515 16.2434C99.6748 15.9298 99.9298 15.6748 100.243 15.515C100.374 15.4486 100.561 15.3945 100.926 15.3646C101.301 15.334 101.786 15.3333 102.5 15.3333H109.5C110.214 15.3333 110.699 15.334 111.074 15.3646C111.439 15.3945 111.626 15.4486 111.757 15.515C112.07 15.6748 112.325 15.9298 112.485 16.2434C112.551 16.3737 112.606 16.5605 112.635 16.9259C112.666 17.3009 112.667 17.7862 112.667 18.5V22.4882ZM103.083 18.25C102.623 18.25 102.25 18.6231 102.25 19.0833C102.25 19.5436 102.623 19.9167 103.083 19.9167C103.544 19.9167 103.917 19.5436 103.917 19.0833C103.917 18.6231 103.544 18.25 103.083 18.25ZM100.583 19.0833C100.583 17.7026 101.703 16.5833 103.083 16.5833C104.464 16.5833 105.583 17.7026 105.583 19.0833C105.583 20.4641 104.464 21.5833 103.083 21.5833C101.703 21.5833 100.583 20.4641 100.583 19.0833Z" fill="#98A2B3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M150.727 12.9319C150.998 13.0769 151.167 13.3593 151.167 13.6667V27C151.167 27.2786 151.027 27.5388 150.796 27.6934L145.796 31.0267C145.533 31.2018 145.194 31.2135 144.92 31.0569L139.5 27.9598L134.08 31.0569C133.822 31.2042 133.505 31.2032 133.248 31.0541C132.991 30.905 132.833 30.6304 132.833 30.3333V17C132.833 16.7009 132.994 16.4248 133.253 16.2765L139.087 12.9431C139.343 12.7967 139.657 12.7967 139.913 12.9431L145.3 16.0209L149.871 12.9733C150.127 12.8028 150.456 12.7869 150.727 12.9319ZM144.5 17.4836L140.333 15.1026V26.5164L144.5 28.8973V17.4836ZM146.167 28.7762L149.5 26.554V15.2238L146.167 17.446V28.7762ZM138.667 26.5164V15.1026L134.5 17.4836V28.8973L138.667 26.5164Z" fill="#98A2B3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M174.667 12.8333C175.127 12.8333 175.5 13.2064 175.5 13.6667V14.5H180.5V13.6667C180.5 13.2064 180.873 12.8333 181.333 12.8333C181.794 12.8333 182.167 13.2064 182.167 13.6667V14.5013C182.563 14.5041 182.909 14.5123 183.21 14.5368C183.678 14.5751 184.109 14.6572 184.513 14.8633C185.141 15.1829 185.65 15.6928 185.97 16.32C186.176 16.7245 186.258 17.1551 186.297 17.6235C186.333 18.0745 186.333 18.6281 186.333 19.2989V26.3678C186.333 27.0386 186.333 27.5922 186.297 28.0432C186.258 28.5116 186.176 28.9422 185.97 29.3466C185.65 29.9738 185.141 30.4838 184.513 30.8033C184.109 31.0094 183.678 31.0916 183.21 31.1298C182.759 31.1667 182.205 31.1667 181.534 31.1667H174.466C173.795 31.1667 173.241 31.1667 172.79 31.1298C172.322 31.0916 171.891 31.0094 171.487 30.8033C170.859 30.4838 170.35 29.9738 170.03 29.3466C169.824 28.9422 169.742 28.5116 169.704 28.0432C169.667 27.5922 169.667 27.0386 169.667 26.3677V19.2989C169.667 18.6281 169.667 18.0745 169.704 17.6235C169.742 17.1551 169.824 16.7245 170.03 16.32C170.35 15.6928 170.859 15.1829 171.487 14.8633C171.891 14.6572 172.322 14.5751 172.79 14.5368C173.091 14.5123 173.437 14.5041 173.833 14.5013V13.6667C173.833 13.2064 174.206 12.8333 174.667 12.8333ZM173.833 16.1681C173.462 16.1707 173.171 16.178 172.926 16.198C172.561 16.2278 172.374 16.2819 172.243 16.3483C171.93 16.5081 171.675 16.7631 171.515 17.0767C171.449 17.207 171.394 17.3938 171.365 17.7592C171.334 18.1343 171.333 18.6195 171.333 19.3333V19.5H184.667V19.3333C184.667 18.6195 184.666 18.1343 184.635 17.7592C184.606 17.3938 184.551 17.207 184.485 17.0767C184.325 16.7631 184.07 16.5081 183.757 16.3483C183.626 16.2819 183.439 16.2278 183.074 16.198C182.829 16.178 182.538 16.1707 182.167 16.1681V17C182.167 17.4602 181.794 17.8333 181.333 17.8333C180.873 17.8333 180.5 17.4602 180.5 17V16.1667H175.5V17C175.5 17.4602 175.127 17.8333 174.667 17.8333C174.206 17.8333 173.833 17.4602 173.833 17V16.1681ZM184.667 21.1667H171.333V26.3333C171.333 27.0471 171.334 27.5324 171.365 27.9075C171.394 28.2728 171.449 28.4596 171.515 28.59C171.675 28.9036 171.93 29.1585 172.243 29.3183C172.374 29.3847 172.561 29.4389 172.926 29.4687C173.301 29.4993 173.786 29.5 174.5 29.5H181.5C182.214 29.5 182.699 29.4993 183.074 29.4687C183.439 29.4389 183.626 29.3847 183.757 29.3183C184.07 29.1585 184.325 28.9036 184.485 28.59C184.551 28.4596 184.606 28.2728 184.635 27.9075C184.666 27.5324 184.667 27.0471 184.667 26.3333V21.1667Z" fill="#98A2B3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M214.581 13.0696L214 13.6667L213.419 13.0696C213.742 12.7546 214.258 12.7546 214.581 13.0696ZM214 14.843C213.928 14.9158 213.851 14.9944 213.768 15.0784C213.271 15.5854 212.599 16.2856 211.897 17.0599C211.195 17.8358 210.469 18.6782 209.863 19.4706C209.244 20.2786 208.793 20.9785 208.59 21.4793C208.317 22.1537 208.167 22.8916 208.167 23.6667C208.167 26.8883 210.778 29.5 214 29.5C217.222 29.5 219.833 26.8883 219.833 23.6667C219.833 22.8916 219.683 22.1537 219.41 21.4793C219.207 20.9785 218.756 20.2786 218.137 19.4706C217.531 18.6782 216.805 17.8358 216.103 17.0599C215.401 16.2856 214.729 15.5854 214.232 15.0784C214.149 14.9944 214.072 14.9158 214 14.843ZM213.419 13.0696C213.419 13.0695 213.419 13.0696 214 13.6667C214.581 13.0696 214.581 13.0695 214.581 13.0696L214.586 13.074L214.598 13.0856L214.643 13.1298C214.682 13.1684 214.739 13.225 214.813 13.2976C214.959 13.4429 215.168 13.6525 215.422 13.9115C215.929 14.4291 216.617 15.1458 217.338 15.941C218.057 16.7348 218.815 17.6147 219.461 18.4575C220.094 19.2849 220.663 20.1332 220.955 20.854C221.307 21.7237 221.5 22.6736 221.5 23.6667C221.5 27.8088 218.142 31.1667 214 31.1667C209.858 31.1667 206.5 27.8088 206.5 23.6667C206.5 22.6736 206.693 21.7237 207.045 20.854C207.337 20.1332 207.906 19.2849 208.539 18.4575C209.185 17.6147 209.943 16.7348 210.662 15.941C211.383 15.1458 212.071 14.4291 212.578 13.9115C212.832 13.6525 213.041 13.4429 213.187 13.2976C213.261 13.225 213.318 13.1684 213.357 13.1298L213.402 13.0856L213.419 13.0696Z" fill="#98A2B3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M242.546 21.1667H245.875C246.062 18.864 246.833 16.6537 248.105 14.7415C245.141 15.5133 242.89 18.0527 242.546 21.1667ZM250 14.959C248.609 16.7516 247.757 18.9057 247.548 21.1667H252.452C252.243 18.9057 251.391 16.7516 250 14.959ZM252.452 22.8333C252.243 25.0943 251.391 27.2484 250 29.041C248.609 27.2484 247.757 25.0943 247.548 22.8333H252.452ZM245.875 22.8333H242.546C242.89 25.9473 245.141 28.4867 248.105 29.2585C246.833 27.3463 246.062 25.136 245.875 22.8333ZM251.895 29.2585C253.167 27.3463 253.938 25.136 254.125 22.8333H257.454C257.11 25.9473 254.859 28.4867 251.895 29.2585ZM257.454 21.1667H254.125C253.938 18.864 253.167 16.6537 251.895 14.7415C254.859 15.5133 257.11 18.0527 257.454 21.1667ZM240.833 22C240.833 16.9374 244.937 12.8333 250 12.8333C255.063 12.8333 259.167 16.9374 259.167 22C259.167 27.0626 255.063 31.1667 250 31.1667C244.937 31.1667 240.833 27.0626 240.833 22Z" fill="#98A2B3"/>
<rect x="0.5" y="0.5" width="283" height="43" rx="21.5" stroke="#C6CBD3" stroke-dasharray="4 4"/>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,3 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13.2002 5.8502L7.42519 11.6252L4.80019 9.0002" stroke="#0783BE" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 243 B

View File

@ -0,0 +1,3 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.3252 9.0002H12.6752" stroke="#0783BE" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 219 B

View File

@ -0,0 +1,3 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="5" y="5" width="8" height="8" rx="4" fill="#0783BE"/>
</svg>

After

Width:  |  Height:  |  Size: 166 B

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 3C2 2.44772 2.44772 2 3 2H21C21.5523 2 22 2.44772 22 3C22 3.55228 21.5523 4 21 4H3C2.44772 4 2 3.55228 2 3ZM7.99686 8L16.0031 8C16.4684 8 17.3276 8 18.1187 8.01933C18.514 8.02899 18.9041 8.04372 19.2248 8.06681C19.3844 8.07829 19.539 8.09269 19.6745 8.11158C19.7802 8.12634 19.9726 8.15569 20.1481 8.22836C20.8831 8.53284 21.4672 9.11687 21.7716 9.85195C21.9066 10.1779 21.9561 10.5078 21.9787 10.8376C22 11.1509 22 11.5294 22 11.968V12.032C22 12.4706 22 12.8491 21.9787 13.1624C21.9561 13.4922 21.9066 13.8221 21.7716 14.1481C21.4672 14.8831 20.8831 15.4672 20.1481 15.7716C19.9726 15.8443 19.7802 15.8737 19.6745 15.8884C19.539 15.9073 19.3844 15.9217 19.2248 15.9332C18.9041 15.9563 18.514 15.971 18.1187 15.9807C17.3276 16 16.4685 16 16.0031 16L7.99686 16C7.53151 16 6.6724 16 5.88127 15.9807C5.48602 15.971 5.09594 15.9563 4.77519 15.9332C4.61565 15.9217 4.46098 15.9073 4.32554 15.8884C4.21977 15.8737 4.02739 15.8443 3.85195 15.7716C3.11687 15.4672 2.53284 14.8831 2.22836 14.148C2.09336 13.8221 2.04386 13.4922 2.02135 13.1624C1.99998 12.8491 1.99999 12.4706 2 12.032V11.968C1.99999 11.5294 1.99998 11.1509 2.02135 10.8376C2.04386 10.5078 2.09336 10.1779 2.22836 9.85195C2.53284 9.11687 3.11687 8.53284 3.85195 8.22836C4.02739 8.15569 4.21977 8.12634 4.32554 8.11158C4.46098 8.09269 4.61565 8.07829 4.77519 8.06681C5.09594 8.04372 5.48602 8.02899 5.88127 8.01933C6.67239 8 7.53151 8 7.99686 8ZM4.56999 10.0972C4.34727 10.2032 4.17099 10.3883 4.07612 10.6173C4.05888 10.6589 4.03227 10.7458 4.01671 10.9738C4.00054 11.2107 4 11.5204 4 12C4 12.4796 4.00054 12.7893 4.01671 13.0262C4.03227 13.2542 4.05888 13.3411 4.07612 13.3827C4.17099 13.6117 4.34727 13.7968 4.56999 13.9028C4.57866 13.9042 4.58925 13.9058 4.60192 13.9076C4.67532 13.9178 4.78089 13.9284 4.91878 13.9384C5.19288 13.9581 5.54645 13.9719 5.93011 13.9813C6.69503 14 7.53273 14 8 14L16 14C16.4673 14 17.305 14 18.0699 13.9813C18.4536 13.9719 18.8071 13.9581 19.0812 13.9384C19.2191 13.9284 19.3247 13.9178 19.3981 13.9076C19.4108 13.9058 19.4213 13.9042 19.43 13.9028C19.6527 13.7968 19.829 13.6117 19.9239 13.3827C19.9411 13.3411 19.9677 13.2542 19.9833 13.0262C19.9995 12.7893 20 12.4796 20 12C20 11.5204 19.9995 11.2107 19.9833 10.9738C19.9677 10.7458 19.9411 10.6589 19.9239 10.6173C19.829 10.3883 19.6527 10.2032 19.43 10.0972C19.4213 10.0958 19.4108 10.0942 19.3981 10.0924C19.3247 10.0822 19.2191 10.0716 19.0812 10.0616C18.8071 10.0419 18.4536 10.0281 18.0699 10.0187C17.305 10 16.4673 10 16 10H8C7.53273 10 6.69503 10 5.93011 10.0187C5.54645 10.0281 5.19288 10.0419 4.91878 10.0616C4.78089 10.0716 4.67533 10.0822 4.60192 10.0924C4.58925 10.0942 4.57866 10.0958 4.56999 10.0972ZM2 21C2 20.4477 2.44772 20 3 20H21C21.5523 20 22 20.4477 22 21C22 21.5523 21.5523 22 21 22H3C2.44772 22 2 21.5523 2 21Z" fill="#101828"/>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.5 10.77c.61-.24.92-.36 1.01-.53 .07-.15.07-.33-.01-.47 -.1-.17-.41-.28-1.03-.51L4.58 3.55c-.51-.19-.77-.28-.94-.22 -.15.05-.26.16-.31.3 -.06.16.03.42.21.93l5.7 15.88c.22.62.33.93.5 1.02 .14.07.31.08.46 0 .16-.09.28-.4.52-1.02l2.59-6.68c.04-.13.07-.19.1-.24 .03-.05.07-.09.11-.12 .05-.04.11-.06.23-.11l6.67-2.6Z"/></svg>

After

Width:  |  Height:  |  Size: 482 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7.5 12l3 3 6-6M7.8 21h8.4c1.68 0 2.52 0 3.16-.33 .56-.29 1.02-.75 1.31-1.32 .32-.65.32-1.49.32-3.17v-8.4c0-1.69 0-2.53-.33-3.17 -.29-.57-.75-1.03-1.32-1.32 -.65-.33-1.49-.33-3.17-.33h-8.4c-1.69 0-2.53 0-3.17.32 -.57.28-1.03.74-1.32 1.31 -.33.64-.33 1.48-.33 3.16v8.4c0 1.68 0 2.52.32 3.16 .28.56.74 1.02 1.31 1.31 .64.32 1.48.32 3.16.32Z"/></svg>

After

Width:  |  Height:  |  Size: 506 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.5 2c-.68 0-1.09.04-1.41.21 -.38.19-.69.49-.88.87 -.17.32-.21.73-.22 1.4m11.49-2.5c.67 0 1.08.04 1.4.21 .37.19.68.49.87.87 .16.32.2.73.21 1.4m0 9c-.01.67-.05 1.08-.22 1.4 -.2.37-.5.68-.88.87 -.33.16-.74.2-1.41.21m2.5-8v2m-8-8h1.99m-10.8 20h7.6c1.12 0 1.68 0 2.1-.22 .37-.2.68-.5.87-.88 .21-.43.21-.99.21-2.11v-7.6c0-1.13 0-1.69-.22-2.11 -.2-.38-.5-.69-.88-.88 -.43-.22-.99-.22-2.11-.22h-7.6c-1.13 0-1.69 0-2.11.21 -.38.19-.69.49-.88.87 -.22.42-.22.98-.22 2.1v7.6c0 1.12 0 1.68.21 2.1 .19.37.49.68.87.87 .42.21.98.21 2.1.21Z"/></svg>

After

Width:  |  Height:  |  Size: 694 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 14c0 4.41-3.59 8-8 8 -4.42 0-8-3.59-8-8 0-1.07.2-2.08.58-3 1.18-2.94 7.41-9 7.41-9s6.23 6.06 7.41 9c.375.92.58 1.93.58 3Z"/></svg>

After

Width:  |  Height:  |  Size: 293 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 10H3m13-8v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.16-.33 .56-.29 1.02-.75 1.31-1.32 .32-.65.32-1.49.32-3.17v-8.4c0-1.69 0-2.53-.33-3.17 -.29-.57-.75-1.03-1.32-1.32 -.65-.33-1.49-.33-3.17-.33h-8.4c-1.69 0-2.53 0-3.17.32 -.57.28-1.03.74-1.32 1.31 -.33.64-.33 1.48-.33 3.16v8.4c0 1.68 0 2.52.32 3.16 .28.56.74 1.02 1.31 1.31 .64.32 1.48.32 3.16.32Z"/></svg>

After

Width:  |  Height:  |  Size: 512 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 10H3m13-8v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.16-.33 .56-.29 1.02-.75 1.31-1.32 .32-.65.32-1.49.32-3.17v-8.4c0-1.69 0-2.53-.33-3.17 -.29-.57-.75-1.03-1.32-1.32 -.65-.33-1.49-.33-3.17-.33h-8.4c-1.69 0-2.53 0-3.17.32 -.57.28-1.03.74-1.32 1.31 -.33.64-.33 1.48-.33 3.16v8.4c0 1.68 0 2.52.32 3.16 .28.56.74 1.02 1.31 1.31 .64.32 1.48.32 3.16.32Z"/></svg>

After

Width:  |  Height:  |  Size: 512 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.01 6.4l-8.5 4.72c-.49.26-.66.87-.39 1.35 .26.48.87.65 1.35.38l8.5-4.73c.48-.27.65-.88.38-1.36 -.27-.49-.88-.66-1.36-.39Zm-7.53 4.72L3.97 6.39c-.49-.27-1.1-.1-1.36.38 -.27.48-.1 1.09.38 1.35l8.5 4.72c.48.26 1.09.09 1.35-.39 .26-.49.09-1.1-.39-1.36Zm-1.49.87v9.5c0 .55.44 1 1 1 .55 0 1-.45 1-1v-9.5c0-.56-.45-1-1-1 -.56 0-1 .44-1 1Zm11 4.05V7.92c0-.56-.01-.71-.11-.99 -.09-.27-.24-.52-.43-.73 -.2-.22-.33-.3-.81-.57l-7.4-4.12c-.47-.26-.59-.32-.86-.38s-.55-.06-.81-.01c-.03 0-.03 0-.06.01 -.25.06-.37.11-.81.35L3.29 5.59c-.33.18-.43.23-.57.34 -.09.06-.17.13-.25.21 -.2.2-.34.45-.43.72 -.1.27-.11.42-.11.98v8.11c0 .55 0 .7.1.98 .08.27.23.51.42.72 .19.21.32.29.8.56l7.4 4.11c.45.25.58.31.85.37 .26.05.54.05.8-.01 .27-.06.4-.12.85-.38l7.39-4.12c.48-.27.6-.35.8-.57 .19-.21.33-.46.42-.73 .09-.28.1-.43.1-.99Zm-2 0c0 .3-.01.36 0 .35 -.01 0 0 0 0 0 0-.01-.05.02-.31.17l-7.41 4.11c-.25.13-.31.16-.3.16 0-.01 0-.01 0 0 .01 0-.05-.03-.3-.17l-7.41-4.12c-.27-.15-.32-.19-.31-.18 -.01-.01-.01-.01-.01-.01 0 .01 0-.06 0-.36V7.87c0-.31 0-.37 0-.36 -.01 0-.01 0 0 0 -.02.01-.02.01-.03.02 .03-.03.1-.07.33-.2l7.4-4.12c.24-.14.3-.17.3-.17 -.01 0-.01 0-.01 0 0-.01-.01-.01 0 0 -.02-.01.04.02.29.16l7.4 4.11c.26.14.31.18.3.17 -.01-.01-.01-.01-.01-.01 -.01-.02 0 .05 0 .35v8.11Z"/></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7.99v5c0 .79.31 1.55.87 2.12 .56.56 1.32.87 2.12.87 .79 0 1.55-.32 2.12-.88 .56-.57.87-1.33.87-2.13v-1c-.01-2.26-.77-4.45-2.17-6.22 -1.41-1.77-3.37-3.01-5.57-3.53s-4.51-.27-6.55.69c-2.05.96-3.7 2.59-4.7 4.61 -1 2.02-1.29 4.32-.81 6.53 .47 2.2 1.68 4.18 3.42 5.62 1.74 1.43 3.92 2.23 6.17 2.27 2.25.03 4.46-.69 6.25-2.06m-2.08-7.94c0 2.2-1.8 4-4 4 -2.21 0-4-1.8-4-4 0-2.21 1.79-4.01 4-4.01 2.2 0 4 1.79 4 4Z"/></svg>

After

Width:  |  Height:  |  Size: 578 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21.15 10.89l-9.02 9.01c-2.06 2.05-5.38 2.05-7.43 0 -2.06-2.06-2.06-5.38 0-7.43l9.01-9.02c1.36-1.37 3.58-1.37 4.94-.001 1.36 1.36 1.36 3.58 0 4.94l-8.662 8.66c-.69.68-1.8.68-2.48 0 -.69-.69-.69-1.8 0-2.48l7.6-7.61"/></svg>

After

Width:  |  Height:  |  Size: 381 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.11 15.35c-.28.3-.56.6-.86.9 -4.3 4.29-9.68 5.87-12.03 3.53 -1.61-1.61-1.37-4.65.32-7.78m2.32-3.3c.28-.33.57-.64.88-.95 4.29-4.3 9.67-5.88 12.02-3.54 1.6 1.6 1.36 4.64-.33 7.78m-3.21-4.25c4.29 4.29 5.87 9.67 3.53 12.02 -2.35 2.34-7.73.76-12.03-3.54 -4.3-4.3-5.88-9.68-3.54-12.03 2.34-2.35 7.72-.77 12.02 3.53Zm-3.27 4.22c0 .55-.45 1-1 1 -.56 0-1-.45-1-1 0-.56.44-1 1-1 .55 0 1 .44 1 1Z"/></svg>

After

Width:  |  Height:  |  Size: 556 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16.2 21H6.93c-.61 0-.91 0-1.05-.12 -.13-.11-.19-.26-.18-.42 .01-.19.22-.4.65-.83l8.5-8.51c.39-.4.59-.6.82-.67 .2-.07.41-.07.61 0 .22.07.42.27.82.66l3.86 3.86v1.2m-4.8 4.8c1.68 0 2.52 0 3.16-.33 .56-.29 1.02-.75 1.31-1.32 .32-.65.32-1.49.32-3.17m-4.8 4.8h-8.4c-1.69 0-2.53 0-3.17-.33 -.57-.29-1.03-.75-1.32-1.32 -.33-.65-.33-1.49-.33-3.17v-8.4c0-1.69 0-2.53.32-3.17 .28-.57.74-1.03 1.31-1.32 .64-.33 1.48-.33 3.16-.33h8.4c1.68 0 2.52 0 3.16.32 .56.28 1.02.74 1.31 1.31 .32.64.32 1.48.32 3.16v8.4m-10.5-7.7c0 1.1-.9 2-2 2 -1.11 0-2-.9-2-2 0-1.11.89-2 2-2 1.1 0 2 .89 2 2Z"/></svg>

After

Width:  |  Height:  |  Size: 738 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 18l-7 4V6l7-4m0 16l7 4m-7-4V2m7 20l6-4V2l-6 4m0 16V6m0 0L9 2"/></svg>

After

Width:  |  Height:  |  Size: 231 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 12l9.64 4.82c.13.06.19.09.26.11 .06.01.12.01.18 0 .06-.02.13-.05.26-.12l9.64-4.83m-20 5l9.64 4.82c.13.06.19.09.26.11 .06.01.12.01.18 0 .06-.02.13-.05.26-.12l9.64-4.83m-20-10.01l9.64-4.83c.13-.07.19-.1.26-.12 .06-.02.12-.02.18 0 .06.01.13.04.26.11l9.64 4.82 -9.65 4.82c-.14.06-.2.09-.27.11 -.07.01-.13.01-.19 0 -.07-.02-.14-.05-.27-.12L1.91 6.91Z"/></svg>

After

Width:  |  Height:  |  Size: 516 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16.2 21H6.93c-.61 0-.91 0-1.05-.12 -.13-.11-.19-.26-.18-.42 .01-.19.22-.4.65-.83l8.5-8.51c.39-.4.59-.6.82-.67 .2-.07.41-.07.61 0 .22.07.42.27.82.66l3.86 3.86v1.2m-4.8 4.8c1.68 0 2.52 0 3.16-.33 .56-.29 1.02-.75 1.31-1.32 .32-.65.32-1.49.32-3.17m-4.8 4.8h-8.4c-1.69 0-2.53 0-3.17-.33 -.57-.29-1.03-.75-1.32-1.32 -.33-.65-.33-1.49-.33-3.17v-8.4c0-1.69 0-2.53.32-3.17 .28-.57.74-1.03 1.31-1.32 .64-.33 1.48-.33 3.16-.33h8.4c1.68 0 2.52 0 3.16.32 .56.28 1.02.74 1.31 1.31 .32.64.32 1.48.32 3.16v8.4m-10.5-7.7c0 1.1-.9 2-2 2 -1.11 0-2-.9-2-2 0-1.11.89-2 2-2 1.1 0 2 .89 2 2Z"/></svg>

After

Width:  |  Height:  |  Size: 738 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12.7 18.36l-1.42 1.41c-1.96 1.95-5.12 1.95-7.08 0 -1.96-1.96-1.96-5.12 0-7.071l1.41-1.42m12.72 1.41l1.41-1.42c1.95-1.96 1.95-5.12 0-7.08 -1.96-1.96-5.12-1.96-7.08 0l-1.42 1.41m-2.8 9.86l7-7"/></svg>

After

Width:  |  Height:  |  Size: 358 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 16v-4m0-4.01h.01M3 7.93v8.11c0 .34 0 .51.05.66 .04.13.11.25.21.36 .1.11.25.2.55.36l7.4 4.11c.28.15.42.23.57.26 .13.02.27.02.4 0 .15-.04.29-.11.57-.27l7.4-4.12c.29-.17.44-.25.55-.37 .09-.11.16-.23.21-.37 .05-.16.05-.33.05-.67V7.87c0-.35 0-.52-.06-.67 -.05-.14-.12-.26-.22-.37 -.11-.12-.26-.21-.56-.37l-7.4-4.12c-.29-.16-.43-.24-.58-.27 -.14-.03-.27-.03-.41 0 -.16.03-.3.1-.58.26L3.74 6.44c-.3.16-.45.24-.56.36 -.1.1-.17.22-.22.36 -.06.15-.06.32-.06.66Z"/></svg>

After

Width:  |  Height:  |  Size: 623 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.49 3l-3 18m11-18l-3 18m6-13h-17m16 8h-17"/></svg>

After

Width:  |  Height:  |  Size: 211 B

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.86242 0.999952C5.90762 0.999976 5.95347 1 6 1C6.55229 1 7 1.44772 7 2C7 2.55229 6.55229 3 6 3C5.00565 3 4.70464 3.00859 4.48237 3.06815C3.79218 3.25308 3.25309 3.79218 3.06815 4.48236C3.00859 4.70464 3.00001 5.00565 3.00001 6C3.00001 6.55229 2.55229 7 2 7C1.44772 7 1 6.55229 1 6C1 5.95346 0.99998 5.90761 0.999956 5.86242C0.999525 5.06704 0.999205 4.47638 1.1363 3.96473C1.50617 2.58436 2.58436 1.50617 3.96473 1.1363C4.47638 0.999201 5.06704 0.999521 5.86242 0.999952ZM19.5176 3.06815C19.2954 3.00859 18.9944 3 18 3C17.4477 3 17 2.55229 17 2C17 1.44772 17.4477 1 18 1C18.0465 1 18.0924 0.999976 18.1376 0.999952C18.933 0.999521 19.5236 0.999201 20.0353 1.1363C21.4156 1.50617 22.4938 2.58436 22.8637 3.96473C23.0008 4.47638 23.0005 5.06704 23.0001 5.86243C23 5.90762 23 5.95347 23 6C23 6.55229 22.5523 7 22 7C21.4477 7 21 6.55229 21 6C21 5.00565 20.9914 4.70464 20.9319 4.48236C20.7469 3.79218 20.2078 3.25308 19.5176 3.06815ZM9 2C9 1.44772 9.44772 1 10 1H14C14.5523 1 15 1.44772 15 2C15 2.55229 14.5523 3 14 3H10C9.44772 3 9 2.55229 9 2ZM2 9C2.55229 9 3.00001 9.44772 3.00001 10V14C3.00001 14.5523 2.55229 15 2 15C1.44772 15 1 14.5523 1 14V10C1 9.44772 1.44772 9 2 9ZM22 9C22.5523 9 23 9.44772 23 10V14C23 14.5523 22.5523 15 22 15C21.4477 15 21 14.5523 21 14V10C21 9.44772 21.4477 9 22 9ZM2 17C2.55229 17 3.00001 17.4477 3.00001 18C3.00001 18.9944 3.00859 19.2954 3.06815 19.5176C3.25309 20.2078 3.79218 20.7469 4.48237 20.9319C4.70465 20.9914 5.00565 21 6 21C6.55229 21 7 21.4477 7 22C7 22.5523 6.55229 23 6 23C5.95347 23 5.90762 23 5.86243 23.0001C5.06704 23.0005 4.47638 23.0008 3.96473 22.8637C2.58436 22.4938 1.50617 21.4156 1.1363 20.0353C0.999205 19.5236 0.999525 18.933 0.999956 18.1376C0.99998 18.0924 1 18.0465 1 18C1 17.4477 1.44772 17 2 17ZM22 17C22.5523 17 23 17.4477 23 18C23 18.0465 23 18.0924 23.0001 18.1376C23.0005 18.933 23.0008 19.5236 22.8637 20.0353C22.4938 21.4156 21.4156 22.4938 20.0353 22.8637C19.5236 23.0008 18.933 23.0005 18.1376 23.0001C18.0924 23 18.0465 23 18 23C17.4477 23 17 22.5523 17 22C17 21.4477 17.4477 21 18 21C18.9944 21 19.2954 20.9914 19.5176 20.9319C20.2078 20.7469 20.7469 20.2078 20.9319 19.5176C20.9914 19.2954 21 18.9944 21 18C21 17.4477 21.4477 17 22 17ZM9.4 22C9.4 21.4477 9.84772 21 10.4 21H14C14.5523 21 15 21.4477 15 22C15 22.5523 14.5523 23 14 23H10.4C9.84772 23 9.4 22.5523 9.4 22Z" fill="#101828"/>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 10V4.5C6 3.67 6.67 3 7.5 3 8.32 3 9 3.67 9 4.5V10c0 1.65-1.35 3-3 3 -1.66 0-3-1.35-3-3V6m9.5-4h2.7c1.68 0 2.52 0 3.16.32 .56.28 1.02.74 1.31 1.31 .32.64.32 1.48.32 3.16v10.4c0 1.68 0 2.52-.33 3.16 -.29.56-.75 1.02-1.32 1.31 -.65.32-1.49.32-3.17.32h-6.4c-1.69 0-2.53 0-3.17-.33 -.57-.29-1.03-.75-1.32-1.32 -.33-.65-.33-1.49-.33-3.17v-.7"/></svg>

After

Width:  |  Height:  |  Size: 506 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 9h.01M15 15c3.31 0 6-2.69 6-6 0-3.32-2.69-6-6-6 -3.32 0-6 2.68-6 6 0 .27.01.54.05.8 .05.43.08.65.06.78 -.03.14-.05.22-.12.34 -.07.12-.19.24-.43.47L3.44 16.5c-.18.17-.26.25-.33.36 -.06.08-.1.18-.12.28 -.03.11-.03.23-.03.48v1.73c0 .56 0 .84.1 1.05 .09.18.24.34.43.43 .21.1.49.1 1.05.1h1.73c.24 0 .36 0 .48-.03 .1-.03.19-.07.28-.12 .1-.07.18-.15.36-.33l5.11-5.12c.23-.24.35-.36.47-.43 .12-.08.2-.1.34-.12 .13-.02.35 0 .78.06 .26.03.53.05.8.05Z"/></svg>

After

Width:  |  Height:  |  Size: 612 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 2.26v4.13c0 .56 0 .84.1 1.05 .09.18.24.34.43.43 .21.1.49.1 1.05.1h4.13m-3.74 4.99h-8m8 4h-8m2-8h-2m6-7h-5.2c-1.69 0-2.53 0-3.17.32 -.57.28-1.03.74-1.32 1.31 -.33.64-.33 1.48-.33 3.16v10.4c0 1.68 0 2.52.32 3.16 .28.56.74 1.02 1.31 1.31 .64.32 1.48.32 3.16.32h6.4c1.68 0 2.52 0 3.16-.33 .56-.29 1.02-.75 1.31-1.32 .32-.65.32-1.49.32-3.17v-9.2l-6-6Z"/></svg>

After

Width:  |  Height:  |  Size: 518 B

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM9.82589 10.0834C9.26014 10.7521 9 11.5305 9 12C9 13.5314 10.1324 15 12 15C13.8676 15 15 13.5314 15 12C15 10.4686 13.8676 9 12 9C11.1113 9 10.3715 9.43857 9.82589 10.0834ZM8.29911 8.79156C9.12845 7.81143 10.3887 7 12 7C15.1324 7 17 9.5314 17 12C17 14.4686 15.1324 17 12 17C8.86759 17 7 14.4686 7 12C7 10.9695 7.48986 9.74795 8.29911 8.79156Z" fill="#101828"/>
</svg>

After

Width:  |  Height:  |  Size: 713 B

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M19 9.5C17.8954 9.5 17 10.3954 17 11.5C17 12.6046 17.8954 13.5 19 13.5C20.1046 13.5 21 12.6046 21 11.5C21 10.3954 20.1046 9.5 19 9.5ZM15.126 10.5C15.5701 8.77477 17.1362 7.5 19 7.5C21.2091 7.5 23 9.29086 23 11.5C23 13.7091 21.2091 15.5 19 15.5C17.1362 15.5 15.5701 14.2252 15.126 12.5H8.87398C8.42994 14.2252 6.86384 15.5 5 15.5C2.79086 15.5 1 13.7091 1 11.5C1 9.29086 2.79086 7.5 5 7.5C6.86384 7.5 8.42994 8.77477 8.87398 10.5H15.126ZM5 9.5C3.89543 9.5 3 10.3954 3 11.5C3 12.6046 3.89543 13.5 5 13.5C6.10457 13.5 7 12.6046 7 11.5C7 10.3954 6.10457 9.5 5 9.5Z" fill="#101828"/>
</svg>

After

Width:  |  Height:  |  Size: 707 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g stroke-linecap="round" stroke-width="2" stroke="#000" fill="none" stroke-linejoin="round"><path d="M9 16c3.86 0 7-3.14 7-7 0-3.87-3.14-7-7-7C5.13 2 2 5.13 2 9c0 3.86 3.13 7 7 7Z"/><path d="M15 22c3.86 0 7-3.14 7-7 0-3.87-3.14-7-7-7 -3.87 0-7 3.13-7 7 0 3.86 3.13 7 7 7Z"/></g></svg>

After

Width:  |  Height:  |  Size: 345 B

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.08393 6.00116C6.12174 5.99934 6.15992 5.99965 6.19834 6.00219C8.07055 6.126 9.80164 7.05892 10.9343 8.53351C11.2707 8.9715 11.1884 9.59929 10.7504 9.93572C10.3124 10.2721 9.68462 10.1898 9.34819 9.75182C8.57344 8.74317 7.38982 8.09851 6.11115 8.00102C3.81332 8.01261 2 9.82287 2 12.0005C2 14.1768 3.82625 16 6.13333 16C7.49893 16 8.70832 15.0562 9.66336 13.8724C10.1232 13.3024 10.4825 12.727 10.7273 12.2916C10.8491 12.075 10.9409 11.896 11.0012 11.7735C11.0313 11.7124 11.0535 11.6655 11.0675 11.6354L11.0823 11.603L11.0849 11.5972C11.0848 11.5975 11.0847 11.5977 12 12.0005C12.9153 12.4033 12.9152 12.4036 12.915 12.4039L12.9149 12.4041L12.9149 12.4041L12.9147 12.4046L12.9147 12.4046L12.9139 12.4064L12.9117 12.4113L12.9049 12.4266C12.8992 12.4392 12.8913 12.4563 12.8813 12.4779C12.8613 12.521 12.8326 12.5815 12.7954 12.6571C12.7211 12.808 12.6124 13.0196 12.4706 13.2718C12.1884 13.7738 11.7685 14.4482 11.22 15.1281C10.1583 16.4441 8.4344 18 6.13333 18C2.7693 18 0 15.3284 0 12.0005C0 8.67819 2.74346 6.02707 6.08393 6.00116ZM17.8994 15.9999C20.1826 15.9827 22 14.1652 22 12.0005C22 9.81709 20.1665 8.00097 17.8667 8.00097C16.5011 8.00097 15.2917 8.94479 14.3366 10.1286C13.8768 10.6986 13.5175 11.274 13.2727 11.7094C13.1509 11.926 13.0591 12.105 12.9988 12.2274C12.9687 12.2886 12.9465 12.3355 12.9325 12.3656L12.9177 12.3979L12.9153 12.4033L12.9151 12.4038C12.9152 12.4035 12.9153 12.4033 12 12.0005C11.0847 11.5977 11.0848 11.5974 11.085 11.5971L11.0851 11.5969L11.0851 11.5968L11.0853 11.5964L11.0853 11.5964L11.0861 11.5946L11.0883 11.5896L11.0951 11.5744C11.1008 11.5618 11.1087 11.5446 11.1187 11.5231C11.1387 11.48 11.1674 11.4194 11.2046 11.3439C11.2789 11.193 11.3876 10.9814 11.5294 10.7292C11.8116 10.2272 12.2315 9.55273 12.78 8.87284C13.8417 7.5569 15.5656 6.00097 17.8667 6.00097C21.2184 6.00097 24 8.66061 24 12.0005C24 15.3296 21.2197 18 17.8667 18C17.8448 18 17.8229 17.9993 17.8011 17.9979C15.9245 17.8745 14.189 16.9548 13.0617 15.4721C12.7275 15.0325 12.8129 14.4051 13.2526 14.0708C13.6922 13.7366 14.3196 13.822 14.6538 14.2617C15.417 15.2655 16.6013 15.9052 17.8994 15.9999Z" fill="#101828"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.7587 2H16.2413C17.0463 1.99999 17.7106 1.99998 18.2518 2.04419C18.8139 2.09012 19.3306 2.18868 19.816 2.43597C20.5686 2.81947 21.1805 3.43139 21.564 4.18404C21.8113 4.66937 21.9099 5.18608 21.9558 5.74817C22 6.28936 22 6.95372 22 7.75868V16.2413C22 17.0463 22 17.7106 21.9558 18.2518C21.9099 18.8139 21.8113 19.3306 21.564 19.816C21.1805 20.5686 20.5686 21.1805 19.816 21.564C19.3306 21.8113 18.8139 21.9099 18.2518 21.9558C17.7106 22 17.0463 22 16.2413 22H7.75868C6.95372 22 6.28936 22 5.74817 21.9558C5.18608 21.9099 4.66937 21.8113 4.18404 21.564C3.43139 21.1805 2.81947 20.5686 2.43597 19.816C2.18868 19.3306 2.09012 18.8139 2.04419 18.2518C1.99998 17.7106 1.99999 17.0463 2 16.2413V7.7587C1.99999 6.95373 1.99998 6.28937 2.04419 5.74817C2.09012 5.18608 2.18868 4.66937 2.43597 4.18404C2.81947 3.43139 3.43139 2.81947 4.18404 2.43597C4.66937 2.18868 5.18608 2.09012 5.74817 2.04419C6.28937 1.99998 6.95373 1.99999 7.7587 2ZM5.91104 4.03755C5.47262 4.07337 5.24842 4.1383 5.09202 4.21799C4.7157 4.40973 4.40973 4.7157 4.21799 5.09202C4.1383 5.24842 4.07337 5.47262 4.03755 5.91104C4.00078 6.36113 4 6.94342 4 7.8V16.2C4 17.0566 4.00078 17.6389 4.03755 18.089C4.07337 18.5274 4.1383 18.7516 4.21799 18.908C4.40973 19.2843 4.7157 19.5903 5.09202 19.782C5.24842 19.8617 5.47262 19.9266 5.91104 19.9624C6.36113 19.9992 6.94342 20 7.8 20H16.2C17.0566 20 17.6389 19.9992 18.089 19.9624C18.5274 19.9266 18.7516 19.8617 18.908 19.782C19.2843 19.5903 19.5903 19.2843 19.782 18.908C19.8617 18.7516 19.9266 18.5274 19.9624 18.089C19.9992 17.6389 20 17.0566 20 16.2V7.8C20 6.94342 19.9992 6.36113 19.9624 5.91104C19.9266 5.47262 19.8617 5.24842 19.782 5.09202C19.5903 4.7157 19.2843 4.40973 18.908 4.21799C18.7516 4.1383 18.5274 4.07337 18.089 4.03755C17.6389 4.00078 17.0566 4 16.2 4H7.8C6.94342 4 6.36113 4.00078 5.91104 4.03755ZM7.37531 9.21913C7.80657 8.87412 8.43586 8.94404 8.78087 9.37531L12 13.3992L15.2191 9.37531C15.5641 8.94404 16.1934 8.87412 16.6247 9.21913C17.056 9.56414 17.1259 10.1934 16.7809 10.6247L12.7809 15.6247C12.5911 15.8619 12.3038 16 12 16C11.6962 16 11.4089 15.8619 11.2191 15.6247L7.21913 10.6247C6.87412 10.1934 6.94404 9.56414 7.37531 9.21913Z" fill="#101828"/>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 2.5C5 1.94772 5.44772 1.5 6 1.5H18C18.5523 1.5 19 1.94772 19 2.5C19 3.05228 18.5523 3.5 18 3.5H6C5.44772 3.5 5 3.05228 5 2.5ZM3 6.5C3 5.94772 3.44772 5.5 4 5.5H20C20.5523 5.5 21 5.94772 21 6.5C21 7.05228 20.5523 7.5 20 7.5H4C3.44772 7.5 3 7.05228 3 6.5ZM1 12C1 10.6193 2.11929 9.5 3.5 9.5H20.5C21.8807 9.5 23 10.6193 23 12V20C23 21.3807 21.8807 22.5 20.5 22.5H3.5C2.11929 22.5 1 21.3807 1 20V12ZM3.5 11.5C3.22386 11.5 3 11.7239 3 12V20C3 20.2761 3.22386 20.5 3.5 20.5H20.5C20.7761 20.5 21 20.2761 21 20V12C21 11.7239 20.7761 11.5 20.5 11.5H3.5Z" fill="#101828"/>
</svg>

After

Width:  |  Height:  |  Size: 695 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 8h.01M2 5.2v4.47c0 .48 0 .73.05.96 .04.2.12.39.23.57 .12.2.29.37.64.72l7.66 7.66c1.18 1.18 1.78 1.78 2.46 2 .6.19 1.25.19 1.85 0 .68-.23 1.27-.82 2.46-2.01l2.21-2.22c1.18-1.19 1.78-1.79 2-2.47 .19-.61.19-1.26 0-1.86 -.23-.69-.82-1.28-2.01-2.47l-7.67-7.67c-.35-.35-.52-.52-.73-.65 -.18-.11-.38-.2-.58-.24 -.24-.06-.48-.06-.97-.06H5.12c-1.13 0-1.69 0-2.11.21 -.38.19-.69.49-.88.87 -.22.42-.22.98-.22 2.1ZM8.5 8c0 .27-.23.5-.5.5 -.28 0-.5-.23-.5-.5 0-.28.22-.5.5-.5 .27 0 .5.22.5.5Z"/></svg>

After

Width:  |  Height:  |  Size: 650 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 7c0-.94 0-1.4.15-1.77 .2-.5.59-.88 1.08-1.09 .36-.16.83-.16 1.76-.16h10c.93 0 1.39 0 1.76.15 .49.2.87.59 1.08 1.08 .15.36.15.83.15 1.76m-11 13h6m-3-16v16"/></svg>

After

Width:  |  Height:  |  Size: 324 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7h8m-4 0v10m-4.2 4h8.4c1.68 0 2.52 0 3.16-.33 .56-.29 1.02-.75 1.31-1.32 .32-.65.32-1.49.32-3.17v-8.4c0-1.69 0-2.53-.33-3.17 -.29-.57-.75-1.03-1.32-1.32 -.65-.33-1.49-.33-3.17-.33h-8.4c-1.69 0-2.53 0-3.17.32 -.57.28-1.03.74-1.32 1.31 -.33.64-.33 1.48-.33 3.16v8.4c0 1.68 0 2.52.32 3.16 .28.56.74 1.02 1.31 1.31 .64.32 1.48.32 3.16.32Z"/></svg>

After

Width:  |  Height:  |  Size: 505 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6l4 2m6-2c0 5.52-4.48 10-10 10C6.47 22 2 17.52 2 12 2 6.47 6.47 2 12 2c5.52 0 10 4.47 10 10Z"/></svg>

After

Width:  |  Height:  |  Size: 266 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g stroke-linecap="round" stroke-width="2" stroke="#000" fill="none" stroke-linejoin="round"><path d="M2 12c0-3.32 2.68-6 6-6h8c3.31 0 6 2.68 6 6 0 3.31-2.69 6-6 6H8c-3.32 0-6-2.69-6-6Z"/><path d="M16 14.5c1.38 0 2.5-1.12 2.5-2.5 0-1.39-1.12-2.5-2.5-2.5 -1.39 0-2.5 1.11-2.5 2.5 0 1.38 1.11 2.5 2.5 2.5Z"/></g></svg>

After

Width:  |  Height:  |  Size: 376 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 12h20M2 12c0 5.52 4.47 10 10 10M2 12C2 6.47 6.47 2 12 2m10 10c0 5.52-4.48 10-10 10m10-10c0-5.53-4.48-10-10-10m0 0c2.5 2.73 3.92 6.29 4 10 -.08 3.7-1.5 7.26-4 10m0-20C9.49 4.73 8.07 8.29 8 12c.07 3.7 1.49 7.26 4 10"/></svg>

After

Width:  |  Height:  |  Size: 384 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 21c0-1.4 0-2.1-.18-2.67 -.39-1.28-1.39-2.28-2.67-2.67 -.57-.18-1.27-.18-2.67-.18h-5c-1.4 0-2.1 0-2.67.17 -1.28.38-2.28 1.38-2.67 2.66 -.18.56-.18 1.26-.18 2.66m12.5-13.5c0 2.48-2.02 4.5-4.5 4.5 -2.49 0-4.5-2.02-4.5-4.5 0-2.49 2.01-4.5 4.5-4.5 2.48 0 4.5 2.01 4.5 4.5Z"/></svg>

After

Width:  |  Height:  |  Size: 439 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 4H3m18 16H3M9 9.25H3m6 5.5H3M14.6 16h4.8c.56 0 .84 0 1.05-.11 .18-.1.34-.25.43-.44 .1-.22.1-.5.1-1.06v-4.8c0-.57 0-.85-.11-1.06 -.1-.19-.25-.35-.44-.44 -.22-.11-.5-.11-1.06-.11h-4.8c-.57 0-.85 0-1.06.1 -.19.09-.35.24-.44.43 -.11.21-.11.49-.11 1.05v4.8c0 .56 0 .84.1 1.05 .09.18.24.34.43.43 .21.1.49.1 1.05.1Z"/></svg>

After

Width:  |  Height:  |  Size: 480 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 5v14m-7-7h14"/></svg>

After

Width:  |  Height:  |  Size: 184 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 12H5m0 0l7 7m-7-7l7-7"/></svg>

After

Width:  |  Height:  |  Size: 193 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h14m0 0l-7-7m7 7l-7 7"/></svg>

After

Width:  |  Height:  |  Size: 194 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M12 1C5.92 1 1 5.92 1 12c0 6.07 4.92 11 11 11 6.07 0 11-4.93 11-11 0-6.08-4.93-11-11-11Zm5.2 8.7c.39-.4.39-1.03 0-1.42 -.4-.4-1.03-.4-1.42 0l-5.3 5.29 -2.3-2.3c-.4-.4-1.03-.4-1.42 0 -.4.39-.4 1.02 0 1.41l3 3c.39.39 1.02.39 1.41 0l6-6Z"/></svg>

After

Width:  |  Height:  |  Size: 332 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M20.7 5.29c.39.39.39 1.02 0 1.41l-11 10.99c-.4.39-1.03.39-1.42 0l-5-5c-.4-.4-.4-1.03 0-1.42 .39-.4 1.02-.4 1.41 0l4.29 4.29 10.29-10.3c.39-.4 1.02-.4 1.41 0Z"/></svg>

After

Width:  |  Height:  |  Size: 255 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#667085" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 9l6 6 6-6"/></svg>

After

Width:  |  Height:  |  Size: 183 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd"><path d="M18.7 6.29c.39.39.39 1.02 0 1.41l-4.3 4.29 4.29 4.29c.39.39.39 1.02 0 1.41 -.4.39-1.03.39-1.42 0l-5-5c-.4-.4-.4-1.03 0-1.42l5-5.01c.39-.4 1.02-.4 1.41 0Z"/><path d="M11.7 6.29c.39.39.39 1.02 0 1.41l-4.3 4.29 4.29 4.29c.39.39.39 1.02 0 1.41 -.4.39-1.03.39-1.42 0l-5.01-5c-.4-.4-.4-1.03 0-1.42l5-5.01c.39-.4 1.02-.4 1.41 0Z"/></g></svg>

After

Width:  |  Height:  |  Size: 426 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" fill="#667085" d="M15.7 5.29c.39.39.39 1.02 0 1.41l-5.3 5.29 5.29 5.29c.39.39.39 1.02 0 1.41 -.4.39-1.03.39-1.42 0l-6.01-6c-.4-.4-.4-1.03 0-1.42l6-6.01c.39-.4 1.02-.4 1.41 0Z"/></svg>

After

Width:  |  Height:  |  Size: 269 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd"><path d="M5.29 6.29c.39-.4 1.02-.4 1.41 0l4.99 5c.39.39.39 1.02 0 1.41l-5 5c-.4.39-1.03.39-1.42 0 -.4-.4-.4-1.03 0-1.42l4.29-4.3 -4.3-4.3c-.4-.4-.4-1.03 0-1.42Z"/><path d="M12.29 6.29c.39-.4 1.02-.4 1.41 0l5 5c.39.39.39 1.02 0 1.41l-5 5c-.4.39-1.03.39-1.42 0 -.4-.4-.4-1.03 0-1.42l4.29-4.3 -4.3-4.3c-.4-.4-.4-1.03 0-1.42Z"/></g></svg>

After

Width:  |  Height:  |  Size: 417 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" fill="#667085" d="M8.29 5.29c.39-.4 1.02-.4 1.41 0l5.99 6c.39.39.39 1.02 0 1.41l-6 6c-.4.39-1.03.39-1.42 0 -.4-.4-.4-1.03 0-1.42l5.29-5.3 -5.3-5.3c-.4-.4-.4-1.03 0-1.42Z"/></svg>

After

Width:  |  Height:  |  Size: 264 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#667085" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 15l-6-6 -6 6"/></svg>

After

Width:  |  Height:  |  Size: 187 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="#292D32"><path d="M12 22.75C6.07 22.75 1.25 17.93 1.25 12 1.25 6.07 6.07 1.25 12 1.25c5.93 0 10.75 4.82 10.75 10.75s-4.82 10.75-10.75 10.75Zm0-20C6.9 2.75 2.75 6.9 2.75 12c0 5.1 4.15 9.25 9.25 9.25s9.25-4.15 9.25-9.25 -4.15-9.25-9.25-9.25Z"/><path d="M9.16 15.57c-.19 0-.38-.07-.53-.22 -.29-.29-.29-.77 0-1.06l5.66-5.67c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-5.67 5.66c-.14.15-.34.22-.53.22Z"/><path d="M14.82 15.57c-.19 0-.38-.07-.53-.22L8.62 9.68c-.29-.29-.29-.77 0-1.06 .28-.29.76-.29 1.05 0l5.66 5.66c.29.29.29.77 0 1.06 -.15.15-.34.22-.53.22Z"/></g></svg>

After

Width:  |  Height:  |  Size: 633 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.7 6.7c.39-.4.39-1.03 0-1.42 -.4-.4-1.03-.4-1.42 0l-5.3 5.29 -5.3-5.3c-.4-.4-1.03-.4-1.42 0 -.4.39-.4 1.02 0 1.41l5.29 5.29 -5.3 5.29c-.4.39-.4 1.02 0 1.41 .39.39 1.02.39 1.41 0l5.29-5.3 5.29 5.29c.39.39 1.02.39 1.41 0 .39-.4.39-1.03 0-1.42l-5.3-5.3 5.29-5.3Z"/></svg>

After

Width:  |  Height:  |  Size: 340 B

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 9 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 0C0.671573 0 0 0.671573 0 1.5C0 2.32843 0.671573 3 1.5 3C2.32843 3 3 2.32843 3 1.5C3 0.671573 2.32843 0 1.5 0ZM7 0C6.17157 0 5.5 0.671573 5.5 1.5C5.5 2.32843 6.17157 3 7 3C7.82843 3 8.5 2.32843 8.5 1.5C8.5 0.671573 7.82843 0 7 0ZM0 7C0 6.17157 0.671573 5.5 1.5 5.5C2.32843 5.5 3 6.17157 3 7C3 7.82843 2.32843 8.5 1.5 8.5C0.671573 8.5 0 7.82843 0 7ZM7 5.5C6.17157 5.5 5.5 6.17157 5.5 7C5.5 7.82843 6.17157 8.5 7 8.5C7.82843 8.5 8.5 7.82843 8.5 7C8.5 6.17157 7.82843 5.5 7 5.5ZM0 12.5C0 11.6716 0.671573 11 1.5 11C2.32843 11 3 11.6716 3 12.5C3 13.3284 2.32843 14 1.5 14C0.671573 14 0 13.3284 0 12.5ZM7 11C6.17157 11 5.5 11.6716 5.5 12.5C5.5 13.3284 6.17157 14 7 14C7.82843 14 8.5 13.3284 8.5 12.5C8.5 11.6716 7.82843 11 7 11Z" fill="#101828"/>
</svg>

After

Width:  |  Height:  |  Size: 875 B

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 20.6621C4.01099 18.933 2 15.7013 2 11.9999C2 6.47703 6.47715 1.99988 12 1.99988C17.5228 1.99988 22 6.47703 22 11.9999C22 15.7013 19.989 18.933 17 20.6621M16 11.9999L12 7.99995M12 7.99995L8 11.9999M12 7.99995V21.9999" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 397 B

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.7587 2H16.2413C17.0463 1.99999 17.7106 1.99998 18.2518 2.04419C18.8139 2.09012 19.3306 2.18868 19.816 2.43598C20.5686 2.81947 21.1805 3.43139 21.564 4.18404C21.8113 4.66937 21.9099 5.18608 21.9558 5.74817C22 6.28936 22 6.95372 22 7.75868V16.2413C22 17.0463 22 17.7106 21.9558 18.2518C21.9099 18.8139 21.8113 19.3306 21.564 19.816C21.1805 20.5686 20.5686 21.1805 19.816 21.564C19.3306 21.8113 18.8139 21.9099 18.2518 21.9558C17.7106 22 17.0463 22 16.2413 22H7.75868C6.95372 22 6.28936 22 5.74817 21.9558C5.18608 21.9099 4.66937 21.8113 4.18404 21.564C3.43139 21.1805 2.81947 20.5686 2.43598 19.816C2.18868 19.3306 2.09012 18.8139 2.04419 18.2518C1.99998 17.7106 1.99999 17.0463 2 16.2413V7.7587C1.99999 6.95373 1.99998 6.28937 2.04419 5.74817C2.09012 5.18608 2.18868 4.66937 2.43597 4.18404C2.81947 3.43139 3.43139 2.81947 4.18404 2.43597C4.66937 2.18868 5.18608 2.09012 5.74817 2.04419C6.28937 1.99998 6.95373 1.99999 7.7587 2ZM4 10V16.2C4 17.0566 4.00078 17.6389 4.03755 18.089C4.07337 18.5274 4.1383 18.7516 4.21799 18.908C4.40973 19.2843 4.7157 19.5903 5.09202 19.782C5.24842 19.8617 5.47262 19.9266 5.91104 19.9624C6.36113 19.9992 6.94342 20 7.8 20H16.2C17.0566 20 17.6389 19.9992 18.089 19.9624C18.5274 19.9266 18.7516 19.8617 18.908 19.782C19.2843 19.5903 19.5903 19.2843 19.782 18.908C19.8617 18.7516 19.9266 18.5274 19.9624 18.089C19.9992 17.6389 20 17.0566 20 16.2V10H4ZM20 8H4V7.8C4 6.94342 4.00078 6.36113 4.03755 5.91104C4.07337 5.47262 4.1383 5.24842 4.21799 5.09202C4.40973 4.7157 4.7157 4.40973 5.09202 4.21799C5.24842 4.1383 5.47262 4.07337 5.91104 4.03755C6.36113 4.00078 6.94342 4 7.8 4H16.2C17.0566 4 17.6389 4.00078 18.089 4.03755C18.5274 4.07337 18.7516 4.1383 18.908 4.21799C19.2843 4.40973 19.5903 4.7157 19.782 5.09202C19.8617 5.24842 19.9266 5.47262 19.9624 5.91104C19.9992 6.36113 20 6.94342 20 7.8V8ZM5.5 13C5.5 12.4477 5.94772 12 6.5 12H17.5C18.0523 12 18.5 12.4477 18.5 13C18.5 13.5523 18.0523 14 17.5 14H6.5C5.94772 14 5.5 13.5523 5.5 13ZM5.5 17C5.5 16.4477 5.94772 16 6.5 16H17.5C18.0523 16 18.5 16.4477 18.5 17C18.5 17.5523 18.0523 18 17.5 18H6.5C5.94772 18 5.5 17.5523 5.5 17Z" fill="#101828"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M11.29 2.7l3.6 3.6c.51.51 1.38.32 1.64-.36 .8-2.12 2.09-2.45 3.02-1.52 .93.93.6 2.21-1.52 3.02 -.68.25-.87 1.12-.36 1.64l3.6 3.6v-1.42l-3.6 3.6 1.64.35c-1.31-3.44-4.32-4.2-6.31-2.22 -1.99 1.98-1.23 4.99 2.21 6.3l-.36-1.65 -3.6 3.6h1.41l-3.6-3.6c-.52-.52-1.39-.33-1.65.35 -.81 2.11-2.1 2.44-3.03 1.51 -.94-.94-.61-2.22 1.51-3.03 .67-.26.86-1.13.35-1.65l-3.6-3.6v1.41l3.6-3.6 -1.65-.36c1.3 3.43 4.31 4.19 6.3 2.21 1.98-1.99 1.22-5-2.22-6.31l.35 1.64 3.6-3.6H11.2Zm1.41-1.42c-.4-.4-1.03-.4-1.42 0l-3.6 3.6c-.52.51-.33 1.38.35 1.64 2.11.8 2.44 2.09 1.51 3.02 -.94.93-2.22.6-3.03-1.52 -.26-.68-1.13-.87-1.65-.36l-3.6 3.6c-.4.39-.4 1.02 0 1.41l3.6 3.6 .35-1.65c-3.44 1.3-4.2 4.31-2.22 6.3 1.98 1.98 4.99 1.22 6.3-2.22l-1.65.35 3.6 3.6c.39.39 1.02.39 1.41 0l3.6-3.6c.51-.52.32-1.39-.36-1.65 -2.12-.81-2.45-2.1-1.52-3.03 .93-.94 2.21-.61 3.02 1.51 .25.67 1.12.86 1.64.35l3.6-3.6c.39-.4.39-1.03 0-1.42l-3.6-3.6 -.36 1.64c3.43-1.31 4.19-4.32 2.21-6.31 -1.99-1.99-5-1.23-6.31 2.21l1.64-.36 -3.6-3.6Z"/></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M12 23c6.07 0 11-4.93 11-11 0-6.08-4.93-11-11-11C5.92 1 1 5.92 1 12c0 6.07 4.92 11 11 11Zm2.27-19.72c.96 1.44 1.68 3.03 2.14 4.71h3.64c-1.15-2.31-3.25-4.05-5.8-4.72Zm-2.28.26c1.03 1.33 1.82 2.84 2.33 4.44H9.64c.5-1.61 1.29-3.11 2.33-4.45Zm2.99 8.44c-.02-.68-.08-1.35-.19-2H9.16c-.11.65-.18 1.32-.19 2 .01.67.07 1.34.18 2h5.62c.1-.66.17-1.33.18-2Zm-.67 4H9.63c.5 1.6 1.29 3.1 2.33 4.44 1.03-1.34 1.82-2.85 2.33-4.45Zm-7.18-2c-.1-.66-.15-1.32-.17-1.98 -.01-.02-.01-.03 0-.05 .01-.67.06-1.33.16-1.98H3.18c-.15.64-.23 1.31-.23 2 0 .68.07 1.35.22 2H7.1Zm-3.23 2h3.64c.45 1.67 1.18 3.26 2.14 4.71 -2.55-.67-4.65-2.41-5.8-4.72Zm12.48 0h3.64c-1.15 2.3-3.25 4.04-5.8 4.71 .96-1.45 1.68-3.04 2.14-4.72Zm4.35-2h-3.94c.09-.66.14-1.32.16-1.98 0-.02 0-.03 0-.05 -.02-.67-.07-1.33-.17-1.98h3.93c.14.64.22 1.31.22 2 0 .68-.08 1.35-.23 2ZM9.67 3.26C8.7 4.7 7.98 6.29 7.52 7.97H3.87c1.14-2.31 3.24-4.05 5.79-4.72Z"/></svg>

After

Width:  |  Height:  |  Size: 993 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.09 9c.23-.67.69-1.24 1.31-1.6 .61-.36 1.32-.5 2.02-.38 .69.11 1.33.48 1.78 1.02 .45.54.7 1.22.7 1.93 0 2-3 3-3 3m.08 4h.01m9.99-5c0 5.52-4.48 10-10 10 -5.53 0-10-4.48-10-10 0-5.53 4.47-10 10-10 5.52 0 10 4.47 10 10Z"/></svg>

After

Width:  |  Height:  |  Size: 386 B

View File

@ -0,0 +1 @@
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2.29 2.29c.39-.4 1.02-.4 1.41 0 6 6 11.99 11.99 17.99 18 .39.39.39 1.02 0 1.41 -.4.39-1.03.39-1.42 0l-3.16-3.16c-1.45.84-3.17 1.44-5.14 1.44 -2.87 0-5.2-1.27-6.93-2.71 -1.73-1.45-2.91-3.11-3.51-4.05l-.03-.04c-.12-.19-.28-.43-.35-.77 -.07-.28-.07-.63 0-.9 .07-.34.23-.58.34-.77l.02-.04c.6-.96 1.82-2.68 3.62-4.15L2.22 3.64c-.4-.4-.4-1.03 0-1.42Zm6.26 7.67c-.36.59-.56 1.29-.56 2.03 0 2.2 1.79 4 4 4 .74 0 1.43-.21 2.03-.56l-1.52-1.52c-.17.04-.34.06-.52.06 -1.11 0-2-.9-2-2 0-.18.02-.36.06-.52L8.52 9.93Z"/><path d="M15.99 11.74c-.13-2.01-1.74-3.62-3.75-3.75L8.78 4.53c.97-.35 2.05-.55 3.2-.55 2.86 0 5.19 1.26 6.92 2.7 1.72 1.44 2.9 3.1 3.5 4.04l.02.03c.11.18.27.42.34.76 .06.27.06.62 0 .89 -.08.33-.23.57-.35.76l-.03.03c-.43.67-1.15 1.71-2.16 2.77l-4.28-4.28Z"/></svg>

After

Width:  |  Height:  |  Size: 858 B

View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17 3.33782C19.989 5.06687 22 8.29859 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 8.29859 4.01099 5.06687 7 3.33782M8 12L12 16M12 16L16 12M12 16V2" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 343 B

Some files were not shown because too many files have changed in this diff Show More