Changeset 3181790
- Timestamp:
- 11/04/2024 08:47:04 PM (16 months ago)
- Location:
- serbian-addons-for-woocommerce
- Files:
-
- 62 added
- 10 deleted
- 132 edited
- 1 copied
-
tags/3.9.3 (copied) (copied from serbian-addons-for-woocommerce/trunk)
-
tags/3.9.3/dist/assets.json (modified) (1 diff)
-
tags/3.9.3/dist/assets.php (modified) (1 diff)
-
tags/3.9.3/dist/js/front/main.35f32e.js (added)
-
tags/3.9.3/dist/js/front/main.74e8ef.js (deleted)
-
tags/3.9.3/lib/App.php (modified) (5 diffs)
-
tags/3.9.3/lib/Core/Address_Field_Controller.php (modified) (1 diff)
-
tags/3.9.3/lib/Functions/wcsrb-core.php (deleted)
-
tags/3.9.3/lib/Functions/wcsrb-helpers.php (modified) (1 diff)
-
tags/3.9.3/lib/Functions/wcsrb-payment-slip.php (modified) (1 diff)
-
tags/3.9.3/lib/Gateway/Gateway_Payment_Slip.php (modified) (2 diffs)
-
tags/3.9.3/lib/Services/Config.php (modified) (2 diffs)
-
tags/3.9.3/readme.txt (modified) (1 diff)
-
tags/3.9.3/serbian-addons-for-woocommerce.php (modified) (2 diffs)
-
tags/3.9.3/vendor/autoload.php (modified) (1 diff)
-
tags/3.9.3/vendor/autoload_packages.php (modified) (1 diff)
-
tags/3.9.3/vendor/automattic/jetpack-autoloader/CHANGELOG.md (modified) (2 diffs)
-
tags/3.9.3/vendor/automattic/jetpack-autoloader/composer.json (modified) (2 diffs)
-
tags/3.9.3/vendor/automattic/jetpack-autoloader/src/AutoloadGenerator.php (modified) (1 diff)
-
tags/3.9.3/vendor/automattic/jetpack-constants/CHANGELOG.md (modified) (2 diffs)
-
tags/3.9.3/vendor/automattic/jetpack-constants/composer.json (modified) (2 diffs)
-
tags/3.9.3/vendor/composer/autoload_classmap.php (modified) (6 diffs)
-
tags/3.9.3/vendor/composer/autoload_files.php (modified) (2 diffs)
-
tags/3.9.3/vendor/composer/autoload_psr4.php (modified) (1 diff)
-
tags/3.9.3/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/3.9.3/vendor/composer/autoload_static.php (modified) (13 diffs)
-
tags/3.9.3/vendor/composer/installed.json (modified) (31 diffs)
-
tags/3.9.3/vendor/composer/installed.php (modified) (11 diffs)
-
tags/3.9.3/vendor/composer/jetpack_autoload_classmap.php (modified) (5 diffs)
-
tags/3.9.3/vendor/composer/jetpack_autoload_filemap.php (modified) (3 diffs)
-
tags/3.9.3/vendor/jetpack-autoloader/class-autoloader-handler.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-autoloader-locator.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-autoloader.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-container.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-hook-manager.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-latest-autoloader-guard.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-manifest-reader.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-path-processor.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-php-autoloader.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-plugin-locator.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-plugins-handler.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-shutdown-handler.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-version-loader.php (modified) (1 diff)
-
tags/3.9.3/vendor/jetpack-autoloader/class-version-selector.php (modified) (1 diff)
-
tags/3.9.3/vendor/oblak/admin-notice-manager (deleted)
-
tags/3.9.3/vendor/oblak/wp-plugin-installer/composer.json (modified) (2 diffs)
-
tags/3.9.3/vendor/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php (modified) (5 diffs)
-
tags/3.9.3/vendor/symfony (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81 (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81/LICENSE (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81/Php81.php (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81/README.md (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81/Resources (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81/Resources/stubs (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81/bootstrap.php (added)
-
tags/3.9.3/vendor/symfony/polyfill-php81/composer.json (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/LICENSE (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/README.md (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/composer.json (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src/Core (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src/Core/Notice.php (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src/Functions (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src/Functions/xwp-anm-fns.php (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src/Functions/xwp-anm-init.php (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src/Notice_Manager.php (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src/Notice_Repository.php (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src/Views (added)
-
tags/3.9.3/vendor/x-wp/admin-notice-manager/src/Views/xwp-amn-dismiss-js.php (added)
-
tags/3.9.3/vendor/x-wp/asset-loader/composer.json (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/asset-loader/composer.lock (deleted)
-
tags/3.9.3/vendor/x-wp/asset-loader/src/Core/Asset_Bundle.php (modified) (2 diffs)
-
tags/3.9.3/vendor/x-wp/asset-loader/src/Resources/File.php (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/di/composer.json (modified) (2 diffs)
-
tags/3.9.3/vendor/x-wp/di/composer.lock (modified) (10 diffs)
-
tags/3.9.3/vendor/x-wp/di/src/App_Builder.php (modified) (4 diffs)
-
tags/3.9.3/vendor/x-wp/di/src/App_Factory.php (modified) (3 diffs)
-
tags/3.9.3/vendor/x-wp/di/src/Core (added)
-
tags/3.9.3/vendor/x-wp/di/src/Core/REST_Controller.php (added)
-
tags/3.9.3/vendor/x-wp/di/src/Decorators/Action.php (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/di/src/Decorators/Ajax_Action.php (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/di/src/Decorators/Filter.php (modified) (3 diffs)
-
tags/3.9.3/vendor/x-wp/di/src/Decorators/Handler.php (modified) (7 diffs)
-
tags/3.9.3/vendor/x-wp/di/src/Decorators/Module.php (modified) (4 diffs)
-
tags/3.9.3/vendor/x-wp/di/src/Decorators/REST_Handler.php (added)
-
tags/3.9.3/vendor/x-wp/di/src/Decorators/REST_Route.php (added)
-
tags/3.9.3/vendor/x-wp/di/src/Functions/xwp-di-container-fns.php (modified) (2 diffs)
-
tags/3.9.3/vendor/x-wp/di/src/Interfaces/Can_Handle.php (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/di/src/Interfaces/Can_Invoke.php (modified) (2 diffs)
-
tags/3.9.3/vendor/x-wp/di/src/Invoker.php (modified) (5 diffs)
-
tags/3.9.3/vendor/x-wp/helper-functions/Array_Extra.php (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/helper-functions/Request.php (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/helper-functions/composer.json (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/helper-functions/xwp-helper-fns-arr.php (added)
-
tags/3.9.3/vendor/x-wp/helper-functions/xwp-helper-fns-num.php (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/helper-functions/xwp-helper-fns-req.php (modified) (1 diff)
-
tags/3.9.3/vendor/x-wp/helper-functions/xwp-helper-fns.php (modified) (3 diffs)
-
tags/3.9.3/vendor/x-wp/helper-woocommerce/Services (deleted)
-
tags/3.9.3/vendor/x-wp/wc-template-customizer/src/Customizer_Base.php (modified) (8 diffs)
-
tags/3.9.3/woocommerce/checkout/payment-slip.php (modified) (1 diff)
-
trunk/dist/assets.json (modified) (1 diff)
-
trunk/dist/assets.php (modified) (1 diff)
-
trunk/dist/js/front/main.35f32e.js (added)
-
trunk/dist/js/front/main.74e8ef.js (deleted)
-
trunk/lib/App.php (modified) (5 diffs)
-
trunk/lib/Core/Address_Field_Controller.php (modified) (1 diff)
-
trunk/lib/Functions/wcsrb-core.php (deleted)
-
trunk/lib/Functions/wcsrb-helpers.php (modified) (1 diff)
-
trunk/lib/Functions/wcsrb-payment-slip.php (modified) (1 diff)
-
trunk/lib/Gateway/Gateway_Payment_Slip.php (modified) (2 diffs)
-
trunk/lib/Services/Config.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/serbian-addons-for-woocommerce.php (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/autoload_packages.php (modified) (1 diff)
-
trunk/vendor/automattic/jetpack-autoloader/CHANGELOG.md (modified) (2 diffs)
-
trunk/vendor/automattic/jetpack-autoloader/composer.json (modified) (2 diffs)
-
trunk/vendor/automattic/jetpack-autoloader/src/AutoloadGenerator.php (modified) (1 diff)
-
trunk/vendor/automattic/jetpack-constants/CHANGELOG.md (modified) (2 diffs)
-
trunk/vendor/automattic/jetpack-constants/composer.json (modified) (2 diffs)
-
trunk/vendor/composer/autoload_classmap.php (modified) (6 diffs)
-
trunk/vendor/composer/autoload_files.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_psr4.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (13 diffs)
-
trunk/vendor/composer/installed.json (modified) (31 diffs)
-
trunk/vendor/composer/installed.php (modified) (11 diffs)
-
trunk/vendor/composer/jetpack_autoload_classmap.php (modified) (5 diffs)
-
trunk/vendor/composer/jetpack_autoload_filemap.php (modified) (3 diffs)
-
trunk/vendor/jetpack-autoloader/class-autoloader-handler.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-autoloader-locator.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-autoloader.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-container.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-hook-manager.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-latest-autoloader-guard.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-manifest-reader.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-path-processor.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-php-autoloader.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-plugin-locator.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-plugins-handler.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-shutdown-handler.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-version-loader.php (modified) (1 diff)
-
trunk/vendor/jetpack-autoloader/class-version-selector.php (modified) (1 diff)
-
trunk/vendor/oblak/admin-notice-manager (deleted)
-
trunk/vendor/oblak/wp-plugin-installer/composer.json (modified) (2 diffs)
-
trunk/vendor/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php (modified) (5 diffs)
-
trunk/vendor/symfony (added)
-
trunk/vendor/symfony/polyfill-php81 (added)
-
trunk/vendor/symfony/polyfill-php81/LICENSE (added)
-
trunk/vendor/symfony/polyfill-php81/Php81.php (added)
-
trunk/vendor/symfony/polyfill-php81/README.md (added)
-
trunk/vendor/symfony/polyfill-php81/Resources (added)
-
trunk/vendor/symfony/polyfill-php81/Resources/stubs (added)
-
trunk/vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php (added)
-
trunk/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php (added)
-
trunk/vendor/symfony/polyfill-php81/bootstrap.php (added)
-
trunk/vendor/symfony/polyfill-php81/composer.json (added)
-
trunk/vendor/x-wp/admin-notice-manager (added)
-
trunk/vendor/x-wp/admin-notice-manager/LICENSE (added)
-
trunk/vendor/x-wp/admin-notice-manager/README.md (added)
-
trunk/vendor/x-wp/admin-notice-manager/composer.json (added)
-
trunk/vendor/x-wp/admin-notice-manager/src (added)
-
trunk/vendor/x-wp/admin-notice-manager/src/Core (added)
-
trunk/vendor/x-wp/admin-notice-manager/src/Core/Notice.php (added)
-
trunk/vendor/x-wp/admin-notice-manager/src/Functions (added)
-
trunk/vendor/x-wp/admin-notice-manager/src/Functions/xwp-anm-fns.php (added)
-
trunk/vendor/x-wp/admin-notice-manager/src/Functions/xwp-anm-init.php (added)
-
trunk/vendor/x-wp/admin-notice-manager/src/Notice_Manager.php (added)
-
trunk/vendor/x-wp/admin-notice-manager/src/Notice_Repository.php (added)
-
trunk/vendor/x-wp/admin-notice-manager/src/Views (added)
-
trunk/vendor/x-wp/admin-notice-manager/src/Views/xwp-amn-dismiss-js.php (added)
-
trunk/vendor/x-wp/asset-loader/composer.json (modified) (1 diff)
-
trunk/vendor/x-wp/asset-loader/composer.lock (deleted)
-
trunk/vendor/x-wp/asset-loader/src/Core/Asset_Bundle.php (modified) (2 diffs)
-
trunk/vendor/x-wp/asset-loader/src/Resources/File.php (modified) (1 diff)
-
trunk/vendor/x-wp/di/composer.json (modified) (2 diffs)
-
trunk/vendor/x-wp/di/composer.lock (modified) (10 diffs)
-
trunk/vendor/x-wp/di/src/App_Builder.php (modified) (4 diffs)
-
trunk/vendor/x-wp/di/src/App_Factory.php (modified) (3 diffs)
-
trunk/vendor/x-wp/di/src/Core (added)
-
trunk/vendor/x-wp/di/src/Core/REST_Controller.php (added)
-
trunk/vendor/x-wp/di/src/Decorators/Action.php (modified) (1 diff)
-
trunk/vendor/x-wp/di/src/Decorators/Ajax_Action.php (modified) (1 diff)
-
trunk/vendor/x-wp/di/src/Decorators/Filter.php (modified) (3 diffs)
-
trunk/vendor/x-wp/di/src/Decorators/Handler.php (modified) (7 diffs)
-
trunk/vendor/x-wp/di/src/Decorators/Module.php (modified) (4 diffs)
-
trunk/vendor/x-wp/di/src/Decorators/REST_Handler.php (added)
-
trunk/vendor/x-wp/di/src/Decorators/REST_Route.php (added)
-
trunk/vendor/x-wp/di/src/Functions/xwp-di-container-fns.php (modified) (2 diffs)
-
trunk/vendor/x-wp/di/src/Interfaces/Can_Handle.php (modified) (1 diff)
-
trunk/vendor/x-wp/di/src/Interfaces/Can_Invoke.php (modified) (2 diffs)
-
trunk/vendor/x-wp/di/src/Invoker.php (modified) (5 diffs)
-
trunk/vendor/x-wp/helper-functions/Array_Extra.php (modified) (1 diff)
-
trunk/vendor/x-wp/helper-functions/Request.php (modified) (1 diff)
-
trunk/vendor/x-wp/helper-functions/composer.json (modified) (1 diff)
-
trunk/vendor/x-wp/helper-functions/xwp-helper-fns-arr.php (added)
-
trunk/vendor/x-wp/helper-functions/xwp-helper-fns-num.php (modified) (1 diff)
-
trunk/vendor/x-wp/helper-functions/xwp-helper-fns-req.php (modified) (1 diff)
-
trunk/vendor/x-wp/helper-functions/xwp-helper-fns.php (modified) (3 diffs)
-
trunk/vendor/x-wp/helper-woocommerce/Services (deleted)
-
trunk/vendor/x-wp/wc-template-customizer/src/Customizer_Base.php (modified) (8 diffs)
-
trunk/woocommerce/checkout/payment-slip.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
serbian-addons-for-woocommerce/tags/3.9.3/dist/assets.json
r3159568 r3181790 5 5 "images/qr-code.png": "images/qr-code.png", 6 6 "js/admin/admin.js": "js/admin/admin.2afdfd.js", 7 "js/front/main.js": "js/front/main. 74e8ef.js"7 "js/front/main.js": "js/front/main.35f32e.js" 8 8 } -
serbian-addons-for-woocommerce/tags/3.9.3/dist/assets.php
r3159568 r3181790 15 15 'images/qr-code.png' => 'images/qr-code.png', 16 16 'js/admin/admin.js' => 'js/admin/admin.2afdfd.js', 17 'js/front/main.js' => 'js/front/main. 74e8ef.js',17 'js/front/main.js' => 'js/front/main.35f32e.js', 18 18 ); -
serbian-addons-for-woocommerce/tags/3.9.3/lib/App.php
r3167131 r3181790 14 14 use XWP\DI\Decorators\Module; 15 15 use XWP\DI\Interfaces\On_Initialize; 16 use XWP_Asset_Retriever;17 16 18 17 /** … … 35 34 )] 36 35 class App implements On_Initialize { 37 use XWP_Asset_Retriever;38 39 36 /** 40 37 * DI Definitions … … 44 41 public static function configure(): array { 45 42 return array( 46 'ips.basedir' => \DI\factory(43 'ips.basedir' => \DI\factory( 47 44 static fn() => \defined( 'WCRS_IPS_DIR' ) 48 45 ? WCRS_IPS_DIR 49 46 : \wp_upload_dir()['basedir'] . '/wcrs-ips', 50 47 ), 51 'ips.generator' => \DI\factory(48 'ips.generator' => \DI\factory( 52 49 static fn() => \class_exists( \Imagick::class ) 53 50 ? QR\QR_Generator_ImageMagick::class 54 51 : QR\QR_Generator_GD::class 55 52 ), 56 QRCode::class => \DI\factory(53 QRCode::class => \DI\factory( 57 54 static fn( QR\QR_Code_Options $opts ) => new QRCode( $opts ) 58 55 ), 59 Utils\Installer::class => \DI\factory( array( Utils\Installer::class, 'instance' ) ), 56 Utils\Installer::class => \DI\factory( array( Utils\Installer::class, 'instance' ) ), 57 \XWP_Asset_Bundle::class => \DI\factory( static fn() => \XWP_Asset_Loader::get_bundle( 'wcrs' ) ), 60 58 ); 61 }62 63 /**64 * Constructor65 *66 * @param Config $config Config instance.67 */68 public function __construct( private Config $config ) {69 59 } 70 60 … … 73 63 */ 74 64 public function on_initialize(): void { 75 $this->load_bundle_config(WCRS_PLUGIN_PATH . 'config/assets.php' );65 \XWP_Asset_Loader::load_bundle( include WCRS_PLUGIN_PATH . 'config/assets.php' ); 76 66 } 77 67 … … 119 109 * @param string $symbol Currency symbol to change. 120 110 * @param string $currency Currency we're changing. 111 * @param Config $config Configuration service. 121 112 * @return string Transliterated currency symbol 122 113 */ 123 #[Filter( tag: 'woocommerce_currency_symbol', priority: 99 )]124 public function change_currency_symbol( string $symbol, string $currency ): string {125 if ( ! $ this->config->get( 'core', 'fix_currency_symbol' ) ) {114 #[Filter( tag: 'woocommerce_currency_symbol', priority: 99, invoke: Filter::INV_PROXIED, args: 2 )] 115 public function change_currency_symbol( string $symbol, string $currency, Config $config ): string { 116 if ( ! $config->get( 'core', 'fix_currency_symbol' ) ) { 126 117 return $symbol; 127 118 } -
serbian-addons-for-woocommerce/tags/3.9.3/lib/Core/Address_Field_Controller.php
r3167131 r3181790 51 51 $type_field, 52 52 array( 53 'default' => $enabled_type, 54 'description' => \wcsrb_get_entity_types()[ $enabled_type ], 55 'type' => 'hidden', 56 'value' => $enabled_type, 53 'custom_attributes' => array( 54 'data-default' => $enabled_type, 55 ), 56 'default' => $enabled_type, 57 'description' => \wcsrb_get_entity_types()[ $enabled_type ], 58 'type' => 'hidden', 57 59 ), 58 60 ); -
serbian-addons-for-woocommerce/tags/3.9.3/lib/Functions/wcsrb-helpers.php
r3159568 r3181790 66 66 ); 67 67 } 68 69 /** 70 * Format a bank account number 71 * 72 * @param string $acct The account number. 73 * @param string $format The format to use. Short or long. 74 * @param string $sep The separator to use. 75 * @return string 76 */ 77 function wcsrb_format_bank_acct( string $acct, string $format = 'short', string $sep = '-' ): string { 78 $acct = str_replace( '-', '', $acct ); 79 $middle = ltrim( substr( $acct, 3, -2 ), '0' ); 80 81 if ( 'short' !== $format ) { 82 $middle = str_pad( $middle, 13, '0', STR_PAD_LEFT ); 83 } 84 85 return sprintf( '%1$s%4$s%2$s%4$s%3$s', substr( $acct, 0, 3 ), $middle, substr( $acct, -2 ), $sep ); 86 } -
serbian-addons-for-woocommerce/tags/3.9.3/lib/Functions/wcsrb-payment-slip.php
r3167131 r3181790 6 6 * @subpackage Utils 7 7 */ 8 9 use chillerlan\QRCode\Common\EccLevel;10 use chillerlan\QRCode\Data\QRMatrix;11 8 12 9 /** -
serbian-addons-for-woocommerce/tags/3.9.3/lib/Gateway/Gateway_Payment_Slip.php
r3170400 r3181790 17 17 use XWP\DI\Decorators\Filter; 18 18 use XWP\DI\Decorators\Handler; 19 use XWP_Asset_Bundle; 19 20 20 21 /** … … 243 244 * @return string Modified email CSS. 244 245 */ 245 #[Filter( tag: 'woocommerce_email_styles', priority: 9999 )]246 public function add_css_to_emails( string $css, WC_Email $email ) {246 #[Filter( tag: 'woocommerce_email_styles', priority: 9999, invoke: Filter::INV_PROXIED, args: 2 )] 247 public function add_css_to_emails( string $css, WC_Email $email, XWP_Asset_Bundle $bundle ) { 247 248 if ( 'customer_on_hold_order' === $email->id && \wcsrb_order_has_slip( $email->object, true ) ) { 248 $css .= \WCSRB()->asset_data( 'css/email/template.css') . "\n";249 $css .= \WCSRB()->asset_data( 'css/front/main.css') . "\n";249 $css .= $bundle['css/email/template.css']->data() . "\n"; 250 $css .= $bundle['css/front/main.css']->data() . "\n"; 250 251 } 251 252 -
serbian-addons-for-woocommerce/tags/3.9.3/lib/Services/Config.php
r3167131 r3181790 46 46 47 47 $this->settings['company'] = array( 48 'accounts' => \wcsrb_get_bank_accounts(),48 'accounts' => $this->get_bank_accounts(), 49 49 'address_1' => \get_option( 'woocommerce_store_address', '' ), 50 50 'address_2' => \get_option( 'woocommerce_store_address_2', '' ), … … 55 55 'postcode' => \get_option( 'woocommerce_store_postcode', '' ), 56 56 ); 57 } 58 59 /** 60 * Get the saved bank accounts. 61 * 62 * @return array<int,string> 63 */ 64 private function get_bank_accounts(): array { 65 $accounts = \get_option( 'woocommerce_store_bank_accounts', array() ); 66 67 return \xwp_str_to_arr( $accounts['acct'] ?? $accounts ); 57 68 } 58 69 -
serbian-addons-for-woocommerce/tags/3.9.3/readme.txt
r3170400 r3181790 8 8 WC requires at least: 8.5 9 9 WC tested up to: 9.2 10 Stable tag: 3.9. 210 Stable tag: 3.9.3 11 11 License: GPLv2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
serbian-addons-for-woocommerce/tags/3.9.3/serbian-addons-for-woocommerce.php
r3170400 r3181790 4 4 * Plugin URI: https://oblak.studio/open-source/srpski-woocommerce 5 5 * Description: Various addons and tweaks that make WooCommerce compatible with Serbian bureaucracy. 6 * Version: 3.9. 26 * Version: 3.9.3 7 7 * Requires PHP: 8.0 8 8 * Author: Oblak Studio … … 27 27 defined( 'WCRS_PLUGIN_BASE' ) || define( 'WCRS_PLUGIN_BASE', plugin_basename( WCRS_PLUGIN_FILE ) ); 28 28 defined( 'WCRS_PLUGIN_PATH' ) || define( 'WCRS_PLUGIN_PATH', plugin_dir_path( WCRS_PLUGIN_FILE ) ); 29 defined( 'WCRS_VERSION' ) || define( 'WCRS_VERSION', '3.9. 2' );29 defined( 'WCRS_VERSION' ) || define( 'WCRS_VERSION', '3.9.3' ); 30 30 // phpcs:enable WordPress.WhiteSpace.OperatorSpacing.SpacingBefore 31 31 32 32 require __DIR__ . '/vendor/autoload_packages.php'; 33 33 34 wcsrb_init(); 34 xwp_load_app( 35 app: array( 36 'compile' => false, 37 'compile_dir' => __DIR__ . '/cache', 38 'id' => 'wcsrb', 39 'module' => \Oblak\WCSRB\App::class, 40 ), 41 priority: -2, 42 ); -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/autoload.php
r3167131 r3181790 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit f15f7664b060de4a95ba0e02111b557f::getLoader();25 return ComposerAutoloaderInit70816f8d2f2f8cd20b8d4badcf146258::getLoader(); -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/autoload_packages.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/automattic/jetpack-autoloader/CHANGELOG.md
r3170400 r3181790 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [3.1.3] - 2024-11-04 9 ### Added 10 - Enable test coverage. [#39961] 7 11 8 12 ## [3.1.2] - 2024-10-15 … … 386 390 - Add Custom Autoloader 387 391 392 [3.1.3]: https://github.com/Automattic/jetpack-autoloader/compare/v3.1.2...v3.1.3 388 393 [3.1.2]: https://github.com/Automattic/jetpack-autoloader/compare/v3.1.1...v3.1.2 389 394 [3.1.1]: https://github.com/Automattic/jetpack-autoloader/compare/v3.1.0...v3.1.1 -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/automattic/jetpack-autoloader/composer.json
r3155827 r3181790 19 19 "composer/composer": "^1.1 || ^2.0", 20 20 "yoast/phpunit-polyfills": "^1.1.1", 21 "automattic/jetpack-changelogger": "^4.2. 6"21 "automattic/jetpack-changelogger": "^4.2.8" 22 22 }, 23 23 "autoload": { … … 32 32 "phpunit": [ 33 33 "./vendor/phpunit/phpunit/phpunit --colors=always" 34 ], 35 "test-coverage": [ 36 "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php \"./tests/php/tmp/coverage-report.php\"", 37 "php ./tests/php/bin/test-coverage.php \"$COVERAGE_DIR/php.cov\"" 34 38 ], 35 39 "test-php": [ -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/automattic/jetpack-autoloader/src/AutoloadGenerator.php
r3170400 r3181790 22 22 class AutoloadGenerator { 23 23 24 const VERSION = '3.1. 2';24 const VERSION = '3.1.3'; 25 25 26 26 /** -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/automattic/jetpack-constants/CHANGELOG.md
r3155827 r3181790 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [2.0.5] - 2024-11-04 9 ### Added 10 - Enable test coverage. [#39961] 7 11 8 12 ## [2.0.4] - 2024-08-23 … … 175 179 - Packages: Finish the constants package 176 180 181 [2.0.5]: https://github.com/Automattic/jetpack-constants/compare/v2.0.4...v2.0.5 177 182 [2.0.4]: https://github.com/Automattic/jetpack-constants/compare/v2.0.3...v2.0.4 178 183 [2.0.3]: https://github.com/Automattic/jetpack-constants/compare/v2.0.2...v2.0.3 -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/automattic/jetpack-constants/composer.json
r3155827 r3181790 10 10 "brain/monkey": "2.6.1", 11 11 "yoast/phpunit-polyfills": "^1.1.1", 12 "automattic/jetpack-changelogger": "^4.2. 6"12 "automattic/jetpack-changelogger": "^4.2.8" 13 13 }, 14 14 "suggest": { … … 23 23 "phpunit": [ 24 24 "./vendor/phpunit/phpunit/phpunit --colors=always" 25 ], 26 "test-coverage": [ 27 "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php \"$COVERAGE_DIR/php.cov\"" 25 28 ], 26 29 "test-php": [ -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/composer/autoload_classmap.php
r3167131 r3181790 13 13 'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => $vendorDir . '/automattic/jetpack-autoloader/src/ManifestGenerator.php', 14 14 'Automattic\\Jetpack\\Constants' => $vendorDir . '/automattic/jetpack-constants/src/class-constants.php', 15 'CURLStringFile' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php', 15 16 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 16 17 'DI\\Attribute\\Inject' => $vendorDir . '/php-di/php-di/src/Attribute/Inject.php', … … 120 121 'Oblak\\WCSRB\\Utils\\Installer' => $baseDir . '/lib/Utils/Installer.php', 121 122 'Oblak\\WCSRB\\Utils\\Template_Extender' => $baseDir . '/lib/Utils/Template_Extender.php', 122 'Oblak\\WP\\Admin_Notice_Manager' => $vendorDir . '/oblak/admin-notice-manager/src/Admin_Notice_Manager.php',123 123 'Oblak\\WP\\Base_Plugin_Installer' => $vendorDir . '/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php', 124 124 'Oblak\\WP\\Update_Callback_Handler' => $vendorDir . '/oblak/wp-plugin-installer/src/Update_Callback_Handler.php', … … 126 126 'Psr\\Container\\ContainerInterface' => $vendorDir . '/psr/container/src/ContainerInterface.php', 127 127 'Psr\\Container\\NotFoundExceptionInterface' => $vendorDir . '/psr/container/src/NotFoundExceptionInterface.php', 128 'ReturnTypeWillChange' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 129 'Symfony\\Polyfill\\Php81\\Php81' => $vendorDir . '/symfony/polyfill-php81/Php81.php', 128 130 'WP_Filesystem_Streaming' => $vendorDir . '/x-wp/helper-classes/WP/Filesystem_Streaming.php', 129 131 'XWC\\Admin\\Settings_Page_Base' => $vendorDir . '/x-wp/helper-woocommerce/Admin/Settings_Page_Base.php', … … 132 134 'XWC\\Template\\Customizer_Base' => $vendorDir . '/x-wp/wc-template-customizer/src/Customizer_Base.php', 133 135 'XWC\\Traits\\Settings_API_Methods' => $vendorDir . '/x-wp/helper-woocommerce/Traits/Settings_API_Methods.php', 136 'XWP\\ANM\\Notice_Manager' => $vendorDir . '/x-wp/admin-notice-manager/src/Notice_Manager.php', 137 'XWP\\ANM\\Notice_Repository' => $vendorDir . '/x-wp/admin-notice-manager/src/Notice_Repository.php', 134 138 'XWP\\DI\\App_Builder' => $vendorDir . '/x-wp/di/src/App_Builder.php', 135 139 'XWP\\DI\\App_Factory' => $vendorDir . '/x-wp/di/src/App_Factory.php', … … 141 145 'XWP\\DI\\Decorators\\Hook' => $vendorDir . '/x-wp/di/src/Decorators/Hook.php', 142 146 'XWP\\DI\\Decorators\\Module' => $vendorDir . '/x-wp/di/src/Decorators/Module.php', 147 'XWP\\DI\\Decorators\\REST_Handler' => $vendorDir . '/x-wp/di/src/Decorators/REST_Handler.php', 148 'XWP\\DI\\Decorators\\REST_Route' => $vendorDir . '/x-wp/di/src/Decorators/REST_Route.php', 143 149 'XWP\\DI\\Handler_Factory' => $vendorDir . '/x-wp/di/src/Handler_Factory.php', 144 150 'XWP\\DI\\Hook_Context' => $vendorDir . '/x-wp/di/src/Hook_Context.php', … … 172 178 'XWP\\Helper\\Traits\\Singleton_Ex' => $vendorDir . '/x-wp/helper-traits/Singleton_Ex.php', 173 179 'XWP\\Helper\\Traits\\View_Loader' => $vendorDir . '/x-wp/helper-traits/View_Loader.php', 180 'XWP_Admin_Notice' => $vendorDir . '/x-wp/admin-notice-manager/src/Core/Notice.php', 174 181 'XWP_Asset_Bundle' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Bundle.php', 175 182 'XWP_Asset_Loader' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Loader.php', -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/composer/autoload_files.php
r3170400 r3181790 7 7 8 8 return array( 9 ' 6c427d7d289e1cfc9c7756e71133bee6' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns.php',9 'e7e6bab1ed2be1042591496e1ad3e230' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-arr.php', 10 10 '6f4d42339b919aad008d719d6274512f' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-num.php', 11 11 'eac005e7ae06387970897430e20a14f8' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-req.php', 12 '6c427d7d289e1cfc9c7756e71133bee6' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns.php', 12 13 'b33e3d135e5d9e47d845c576147bda89' => $vendorDir . '/php-di/php-di/src/functions.php', 14 '23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php', 15 'c4eb3dd9806877a728c0b0fecfd8a0a8' => $vendorDir . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-fns.php', 16 'fc42141d84284e25c97732976f63c9e2' => $vendorDir . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-init.php', 13 17 '601305a3774ec67d18e3b43f7ff1eba8' => $vendorDir . '/oblak/serbian-validators/src/serbian-validator-utils.php', 14 18 'bbaf26909e2f3126d0f4bb53f73f87d1' => $vendorDir . '/oblak/serbian-validators/src/validate-jmbg.php', … … 21 25 '289d5db207f260edee5d940f2b0874b1' => $vendorDir . '/x-wp/di/src/Functions/xwp-di-helper-fns.php', 22 26 '7442b89bc178a54ca68a1f7be9a62dd1' => $baseDir . '/lib/Functions/wcsrb-address-field-fns.php', 23 'f45becae259e3085ac94c414354b9e11' => $baseDir . '/lib/Functions/wcsrb-core.php',24 27 '2cbbb54dca44ace1c636c9aedd6c2704' => $baseDir . '/lib/Functions/wcsrb-helpers.php', 25 28 '230a030de422f339e1c51f92a5d8d054' => $baseDir . '/lib/Functions/wcsrb-payment-slip.php', -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/composer/autoload_psr4.php
r3167131 r3181790 14 14 'XWP\\Dependency\\' => array($vendorDir . '/x-wp/asset-loader/src'), 15 15 'XWP\\DI\\' => array($vendorDir . '/x-wp/di/src'), 16 'XWP\\ANM\\' => array($vendorDir . '/x-wp/admin-notice-manager/src'), 16 17 'XWC\\Template\\' => array($vendorDir . '/x-wp/wc-template-customizer/src'), 17 18 'XWC\\' => array($vendorDir . '/x-wp/helper-woocommerce'), 19 'Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'), 18 20 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), 19 'Oblak\\WP\\' => array($vendorDir . '/oblak/ admin-notice-manager/src', $vendorDir . '/oblak/wp-plugin-installer/src'),21 'Oblak\\WP\\' => array($vendorDir . '/oblak/wp-plugin-installer/src'), 20 22 'Oblak\\WCSRB\\' => array($baseDir . '/lib'), 21 23 'Laravel\\SerializableClosure\\' => array($vendorDir . '/laravel/serializable-closure/src'), -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/composer/autoload_real.php
r3167131 r3181790 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit f15f7664b060de4a95ba0e02111b557f5 class ComposerAutoloaderInit70816f8d2f2f8cd20b8d4badcf146258 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit f15f7664b060de4a95ba0e02111b557f', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit70816f8d2f2f8cd20b8d4badcf146258', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit f15f7664b060de4a95ba0e02111b557f', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit70816f8d2f2f8cd20b8d4badcf146258', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::getInitializer($loader)); 33 33 34 34 $loader->setClassMapAuthoritative(true); 35 35 $loader->register(true); 36 36 37 $filesToLoad = \Composer\Autoload\ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::$files;37 $filesToLoad = \Composer\Autoload\ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::$files; 38 38 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 39 39 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/composer/autoload_static.php
r3170400 r3181790 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit f15f7664b060de4a95ba0e02111b557f7 class ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258 8 8 { 9 9 public static $files = array ( 10 ' 6c427d7d289e1cfc9c7756e71133bee6' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns.php',10 'e7e6bab1ed2be1042591496e1ad3e230' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns-arr.php', 11 11 '6f4d42339b919aad008d719d6274512f' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns-num.php', 12 12 'eac005e7ae06387970897430e20a14f8' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns-req.php', 13 '6c427d7d289e1cfc9c7756e71133bee6' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns.php', 13 14 'b33e3d135e5d9e47d845c576147bda89' => __DIR__ . '/..' . '/php-di/php-di/src/functions.php', 15 '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php', 16 'c4eb3dd9806877a728c0b0fecfd8a0a8' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-fns.php', 17 'fc42141d84284e25c97732976f63c9e2' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-init.php', 14 18 '601305a3774ec67d18e3b43f7ff1eba8' => __DIR__ . '/..' . '/oblak/serbian-validators/src/serbian-validator-utils.php', 15 19 'bbaf26909e2f3126d0f4bb53f73f87d1' => __DIR__ . '/..' . '/oblak/serbian-validators/src/validate-jmbg.php', … … 22 26 '289d5db207f260edee5d940f2b0874b1' => __DIR__ . '/..' . '/x-wp/di/src/Functions/xwp-di-helper-fns.php', 23 27 '7442b89bc178a54ca68a1f7be9a62dd1' => __DIR__ . '/../..' . '/lib/Functions/wcsrb-address-field-fns.php', 24 'f45becae259e3085ac94c414354b9e11' => __DIR__ . '/../..' . '/lib/Functions/wcsrb-core.php',25 28 '2cbbb54dca44ace1c636c9aedd6c2704' => __DIR__ . '/../..' . '/lib/Functions/wcsrb-helpers.php', 26 29 '230a030de422f339e1c51f92a5d8d054' => __DIR__ . '/../..' . '/lib/Functions/wcsrb-payment-slip.php', … … 41 44 'XWP\\Dependency\\' => 15, 42 45 'XWP\\DI\\' => 7, 46 'XWP\\ANM\\' => 8, 43 47 'XWC\\Template\\' => 13, 44 48 'XWC\\' => 4, 45 49 ), 50 'S' => 51 array ( 52 'Symfony\\Polyfill\\Php81\\' => 23, 53 ), 46 54 'P' => 47 55 array ( … … 100 108 0 => __DIR__ . '/..' . '/x-wp/di/src', 101 109 ), 110 'XWP\\ANM\\' => 111 array ( 112 0 => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src', 113 ), 102 114 'XWC\\Template\\' => 103 115 array ( … … 108 120 0 => __DIR__ . '/..' . '/x-wp/helper-woocommerce', 109 121 ), 122 'Symfony\\Polyfill\\Php81\\' => 123 array ( 124 0 => __DIR__ . '/..' . '/symfony/polyfill-php81', 125 ), 110 126 'Psr\\Container\\' => 111 127 array ( … … 114 130 'Oblak\\WP\\' => 115 131 array ( 116 0 => __DIR__ . '/..' . '/oblak/admin-notice-manager/src', 117 1 => __DIR__ . '/..' . '/oblak/wp-plugin-installer/src', 132 0 => __DIR__ . '/..' . '/oblak/wp-plugin-installer/src', 118 133 ), 119 134 'Oblak\\WCSRB\\' => … … 146 161 'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => __DIR__ . '/..' . '/automattic/jetpack-autoloader/src/ManifestGenerator.php', 147 162 'Automattic\\Jetpack\\Constants' => __DIR__ . '/..' . '/automattic/jetpack-constants/src/class-constants.php', 163 'CURLStringFile' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php', 148 164 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 149 165 'DI\\Attribute\\Inject' => __DIR__ . '/..' . '/php-di/php-di/src/Attribute/Inject.php', … … 253 269 'Oblak\\WCSRB\\Utils\\Installer' => __DIR__ . '/../..' . '/lib/Utils/Installer.php', 254 270 'Oblak\\WCSRB\\Utils\\Template_Extender' => __DIR__ . '/../..' . '/lib/Utils/Template_Extender.php', 255 'Oblak\\WP\\Admin_Notice_Manager' => __DIR__ . '/..' . '/oblak/admin-notice-manager/src/Admin_Notice_Manager.php',256 271 'Oblak\\WP\\Base_Plugin_Installer' => __DIR__ . '/..' . '/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php', 257 272 'Oblak\\WP\\Update_Callback_Handler' => __DIR__ . '/..' . '/oblak/wp-plugin-installer/src/Update_Callback_Handler.php', … … 259 274 'Psr\\Container\\ContainerInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerInterface.php', 260 275 'Psr\\Container\\NotFoundExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/NotFoundExceptionInterface.php', 276 'ReturnTypeWillChange' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 277 'Symfony\\Polyfill\\Php81\\Php81' => __DIR__ . '/..' . '/symfony/polyfill-php81/Php81.php', 261 278 'WP_Filesystem_Streaming' => __DIR__ . '/..' . '/x-wp/helper-classes/WP/Filesystem_Streaming.php', 262 279 'XWC\\Admin\\Settings_Page_Base' => __DIR__ . '/..' . '/x-wp/helper-woocommerce/Admin/Settings_Page_Base.php', … … 265 282 'XWC\\Template\\Customizer_Base' => __DIR__ . '/..' . '/x-wp/wc-template-customizer/src/Customizer_Base.php', 266 283 'XWC\\Traits\\Settings_API_Methods' => __DIR__ . '/..' . '/x-wp/helper-woocommerce/Traits/Settings_API_Methods.php', 284 'XWP\\ANM\\Notice_Manager' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Notice_Manager.php', 285 'XWP\\ANM\\Notice_Repository' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Notice_Repository.php', 267 286 'XWP\\DI\\App_Builder' => __DIR__ . '/..' . '/x-wp/di/src/App_Builder.php', 268 287 'XWP\\DI\\App_Factory' => __DIR__ . '/..' . '/x-wp/di/src/App_Factory.php', … … 274 293 'XWP\\DI\\Decorators\\Hook' => __DIR__ . '/..' . '/x-wp/di/src/Decorators/Hook.php', 275 294 'XWP\\DI\\Decorators\\Module' => __DIR__ . '/..' . '/x-wp/di/src/Decorators/Module.php', 295 'XWP\\DI\\Decorators\\REST_Handler' => __DIR__ . '/..' . '/x-wp/di/src/Decorators/REST_Handler.php', 296 'XWP\\DI\\Decorators\\REST_Route' => __DIR__ . '/..' . '/x-wp/di/src/Decorators/REST_Route.php', 276 297 'XWP\\DI\\Handler_Factory' => __DIR__ . '/..' . '/x-wp/di/src/Handler_Factory.php', 277 298 'XWP\\DI\\Hook_Context' => __DIR__ . '/..' . '/x-wp/di/src/Hook_Context.php', … … 305 326 'XWP\\Helper\\Traits\\Singleton_Ex' => __DIR__ . '/..' . '/x-wp/helper-traits/Singleton_Ex.php', 306 327 'XWP\\Helper\\Traits\\View_Loader' => __DIR__ . '/..' . '/x-wp/helper-traits/View_Loader.php', 328 'XWP_Admin_Notice' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Core/Notice.php', 307 329 'XWP_Asset_Bundle' => __DIR__ . '/..' . '/x-wp/asset-loader/src/Core/Asset_Bundle.php', 308 330 'XWP_Asset_Loader' => __DIR__ . '/..' . '/x-wp/asset-loader/src/Core/Asset_Loader.php', … … 377 399 { 378 400 return \Closure::bind(function () use ($loader) { 379 $loader->prefixLengthsPsr4 = ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::$prefixLengthsPsr4;380 $loader->prefixDirsPsr4 = ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::$prefixDirsPsr4;381 $loader->classMap = ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::$classMap;401 $loader->prefixLengthsPsr4 = ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::$prefixLengthsPsr4; 402 $loader->prefixDirsPsr4 = ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::$prefixDirsPsr4; 403 $loader->classMap = ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::$classMap; 382 404 383 405 }, null, ClassLoader::class); -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/composer/installed.json
r3170400 r3181790 3 3 { 4 4 "name": "automattic/jetpack-autoloader", 5 "version": "v3.1. 2",6 "version_normalized": "3.1. 2.0",5 "version": "v3.1.3", 6 "version_normalized": "3.1.3.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/Automattic/jetpack-autoloader.git", 10 "reference": " c111020cac7c6a830af6f6827c175e3c76a60f75"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/ c111020cac7c6a830af6f6827c175e3c76a60f75",15 "reference": " c111020cac7c6a830af6f6827c175e3c76a60f75",10 "reference": "e7e49a4e2f16cb2dfd3e58c478499a60d7d51839" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/e7e49a4e2f16cb2dfd3e58c478499a60d7d51839", 15 "reference": "e7e49a4e2f16cb2dfd3e58c478499a60d7d51839", 16 16 "shasum": "" 17 17 }, … … 21 21 }, 22 22 "require-dev": { 23 "automattic/jetpack-changelogger": "^4.2. 6",23 "automattic/jetpack-changelogger": "^4.2.8", 24 24 "composer/composer": "^1.1 || ^2.0", 25 25 "yoast/phpunit-polyfills": "^1.1.1" 26 26 }, 27 "time": "2024-1 0-15T22:10:35+00:00",27 "time": "2024-11-04T09:23:56+00:00", 28 28 "type": "composer-plugin", 29 29 "extra": { … … 64 64 ], 65 65 "support": { 66 "source": "https://github.com/Automattic/jetpack-autoloader/tree/v3.1. 2"66 "source": "https://github.com/Automattic/jetpack-autoloader/tree/v3.1.3" 67 67 }, 68 68 "install-path": "../automattic/jetpack-autoloader" … … 70 70 { 71 71 "name": "automattic/jetpack-constants", 72 "version": "v2.0. 4",73 "version_normalized": "2.0. 4.0",72 "version": "v2.0.5", 73 "version_normalized": "2.0.5.0", 74 74 "source": { 75 75 "type": "git", 76 76 "url": "https://github.com/Automattic/jetpack-constants.git", 77 "reference": " f6958c313a34c5e92171c45a57d9dc978e5975ed"78 }, 79 "dist": { 80 "type": "zip", 81 "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/ f6958c313a34c5e92171c45a57d9dc978e5975ed",82 "reference": " f6958c313a34c5e92171c45a57d9dc978e5975ed",77 "reference": "0c2644d642b06ae2a31c561f5bfc6f74a4abc8f1" 78 }, 79 "dist": { 80 "type": "zip", 81 "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/0c2644d642b06ae2a31c561f5bfc6f74a4abc8f1", 82 "reference": "0c2644d642b06ae2a31c561f5bfc6f74a4abc8f1", 83 83 "shasum": "" 84 84 }, … … 87 87 }, 88 88 "require-dev": { 89 "automattic/jetpack-changelogger": "^4.2. 6",89 "automattic/jetpack-changelogger": "^4.2.8", 90 90 "brain/monkey": "2.6.1", 91 91 "yoast/phpunit-polyfills": "^1.1.1" … … 94 94 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 95 95 }, 96 "time": "2024- 08-23T14:28:14+00:00",96 "time": "2024-11-04T09:23:35+00:00", 97 97 "type": "jetpack-library", 98 98 "extra": { … … 118 118 "description": "A wrapper for defining constants in a more testable way.", 119 119 "support": { 120 "source": "https://github.com/Automattic/jetpack-constants/tree/v2.0. 4"120 "source": "https://github.com/Automattic/jetpack-constants/tree/v2.0.5" 121 121 }, 122 122 "install-path": "../automattic/jetpack-constants" … … 354 354 }, 355 355 { 356 "name": "oblak/admin-notice-manager",357 "version": "2.0.0",358 "version_normalized": "2.0.0.0",359 "source": {360 "type": "git",361 "url": "https://github.com/oblakstudio/admin-notice-manager.git",362 "reference": "53a32b62d9799fd486adf0bb09aeb5d80a7a214d"363 },364 "dist": {365 "type": "zip",366 "url": "https://api.github.com/repos/oblakstudio/admin-notice-manager/zipball/53a32b62d9799fd486adf0bb09aeb5d80a7a214d",367 "reference": "53a32b62d9799fd486adf0bb09aeb5d80a7a214d",368 "shasum": ""369 },370 "require": {371 "php": ">=7.3"372 },373 "require-dev": {374 "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",375 "phpcompatibility/phpcompatibility-wp": "*",376 "squizlabs/php_codesniffer": "3.*",377 "wp-coding-standards/wpcs": "*"378 },379 "time": "2022-10-23T15:30:02+00:00",380 "type": "library",381 "installation-source": "dist",382 "autoload": {383 "psr-4": {384 "Oblak\\WP\\": "src/"385 }386 },387 "notification-url": "https://packagist.org/downloads/",388 "license": [389 "GPL-2.0-only"390 ],391 "description": "Admin Notice manager for WordPress Admin",392 "support": {393 "issues": "https://github.com/oblakstudio/admin-notice-manager/issues",394 "source": "https://github.com/oblakstudio/admin-notice-manager/tree/v2.0.0"395 },396 "install-path": "../oblak/admin-notice-manager"397 },398 {399 356 "name": "oblak/serbian-validators", 400 357 "version": "1.1.1", … … 448 405 { 449 406 "name": "oblak/wp-plugin-installer", 450 "version": "v2.1. 3",451 "version_normalized": "2.1. 3.0",407 "version": "v2.1.4", 408 "version_normalized": "2.1.4.0", 452 409 "source": { 453 410 "type": "git", 454 411 "url": "https://github.com/oblakstudio/wp-plugin-installer.git", 455 "reference": " 9a8726f5e659dd81e84ff8408b267829f8fa695a"456 }, 457 "dist": { 458 "type": "zip", 459 "url": "https://api.github.com/repos/oblakstudio/wp-plugin-installer/zipball/ 9a8726f5e659dd81e84ff8408b267829f8fa695a",460 "reference": " 9a8726f5e659dd81e84ff8408b267829f8fa695a",412 "reference": "e34702944c37cf834fb4ee303039cb66b00b979b" 413 }, 414 "dist": { 415 "type": "zip", 416 "url": "https://api.github.com/repos/oblakstudio/wp-plugin-installer/zipball/e34702944c37cf834fb4ee303039cb66b00b979b", 417 "reference": "e34702944c37cf834fb4ee303039cb66b00b979b", 461 418 "shasum": "" 462 419 }, 463 420 "require": { 464 421 "automattic/jetpack-constants": "^2", 465 "oblak/admin-notice-manager": "^2",466 422 "php": ">= 8.0", 467 "woocommerce/action-scheduler": "^3.7" 423 "woocommerce/action-scheduler": "^3.7", 424 "x-wp/admin-notice-manager": "^1.0" 468 425 }, 469 426 "require-dev": { 470 427 "ergebnis/composer-normalize": "^2.42", 471 "oblak/wordpress-coding-standard": "^1" 428 "oblak/wordpress-coding-standard": "^1", 429 "wp-cli/wp-cli": "^2.11" 472 430 }, 473 431 "suggest": { 474 432 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 475 433 }, 476 "time": "2024- 02-09T21:39:23+00:00",434 "time": "2024-11-01T12:02:40+00:00", 477 435 "type": "library", 478 436 "installation-source": "dist", … … 498 456 "support": { 499 457 "issues": "https://github.com/oblakstudio/wp-plugin-installer/issues", 500 "source": "https://github.com/oblakstudio/wp-plugin-installer/tree/v2.1. 3"458 "source": "https://github.com/oblakstudio/wp-plugin-installer/tree/v2.1.4" 501 459 }, 502 460 "install-path": "../oblak/wp-plugin-installer" … … 693 651 }, 694 652 { 653 "name": "symfony/polyfill-php81", 654 "version": "v1.31.0", 655 "version_normalized": "1.31.0.0", 656 "source": { 657 "type": "git", 658 "url": "https://github.com/symfony/polyfill-php81.git", 659 "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" 660 }, 661 "dist": { 662 "type": "zip", 663 "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", 664 "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", 665 "shasum": "" 666 }, 667 "require": { 668 "php": ">=7.2" 669 }, 670 "time": "2024-09-09T11:45:10+00:00", 671 "type": "library", 672 "extra": { 673 "thanks": { 674 "name": "symfony/polyfill", 675 "url": "https://github.com/symfony/polyfill" 676 } 677 }, 678 "installation-source": "dist", 679 "autoload": { 680 "files": [ 681 "bootstrap.php" 682 ], 683 "psr-4": { 684 "Symfony\\Polyfill\\Php81\\": "" 685 }, 686 "classmap": [ 687 "Resources/stubs" 688 ] 689 }, 690 "notification-url": "https://packagist.org/downloads/", 691 "license": [ 692 "MIT" 693 ], 694 "authors": [ 695 { 696 "name": "Nicolas Grekas", 697 "email": "p@tchwork.com" 698 }, 699 { 700 "name": "Symfony Community", 701 "homepage": "https://symfony.com/contributors" 702 } 703 ], 704 "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", 705 "homepage": "https://symfony.com", 706 "keywords": [ 707 "compatibility", 708 "polyfill", 709 "portable", 710 "shim" 711 ], 712 "support": { 713 "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" 714 }, 715 "funding": [ 716 { 717 "url": "https://symfony.com/sponsor", 718 "type": "custom" 719 }, 720 { 721 "url": "https://github.com/fabpot", 722 "type": "github" 723 }, 724 { 725 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 726 "type": "tidelift" 727 } 728 ], 729 "install-path": "../symfony/polyfill-php81" 730 }, 731 { 695 732 "name": "woocommerce/action-scheduler", 696 733 "version": "3.8.2", … … 739 776 }, 740 777 { 741 "name": "x-wp/asset-loader", 742 "version": "v1.0.0", 743 "version_normalized": "1.0.0.0", 744 "source": { 745 "type": "git", 746 "url": "https://github.com/x-wp/asset-loader.git", 747 "reference": "8198e2337bee579fc96a6f09e2c74fd745c98b6f" 748 }, 749 "dist": { 750 "type": "zip", 751 "url": "https://api.github.com/repos/x-wp/asset-loader/zipball/8198e2337bee579fc96a6f09e2c74fd745c98b6f", 752 "reference": "8198e2337bee579fc96a6f09e2c74fd745c98b6f", 753 "shasum": "" 754 }, 755 "require": { 756 "automattic/jetpack-constants": "^2.0", 778 "name": "x-wp/admin-notice-manager", 779 "version": "v1.0.1", 780 "version_normalized": "1.0.1.0", 781 "source": { 782 "type": "git", 783 "url": "https://github.com/x-wp/admin-notice-manager.git", 784 "reference": "61bfbf90f90117d24af5130bbc80911b1c10f3cc" 785 }, 786 "dist": { 787 "type": "zip", 788 "url": "https://api.github.com/repos/x-wp/admin-notice-manager/zipball/61bfbf90f90117d24af5130bbc80911b1c10f3cc", 789 "reference": "61bfbf90f90117d24af5130bbc80911b1c10f3cc", 790 "shasum": "" 791 }, 792 "require": { 757 793 "php": ">=8.0", 758 "x-wp/helper-functions": "^1. 9",759 "x-wp/helper-traits": "^1. 9"760 }, 761 " provide": {762 " x-wp/asset-loader-implementation": "1.0"794 "x-wp/helper-functions": "^1.16", 795 "x-wp/helper-traits": "^1.16" 796 }, 797 "replace": { 798 "oblak/admin-notice-manager": "*" 763 799 }, 764 800 "require-dev": { … … 774 810 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 775 811 }, 776 "time": "2024-09-17T12:29:39+00:00", 812 "time": "2024-11-01T13:09:35+00:00", 813 "type": "library", 814 "installation-source": "dist", 815 "autoload": { 816 "files": [ 817 "src/Functions/xwp-anm-fns.php", 818 "src/Functions/xwp-anm-init.php" 819 ], 820 "psr-4": { 821 "XWP\\ANM\\": "src/" 822 }, 823 "classmap": [ 824 "src/Core/" 825 ] 826 }, 827 "notification-url": "https://packagist.org/downloads/", 828 "license": [ 829 "GPL-2.0-only" 830 ], 831 "authors": [ 832 { 833 "name": "Sibin Grasic", 834 "email": "i.am@sib.ing" 835 } 836 ], 837 "description": "Simplifies the process of working with admin notices in WordPress.", 838 "homepage": "https://extended.wp.rs/docs/packages/admin-notice-manager", 839 "keywords": [ 840 "admin", 841 "admin notices", 842 "notices", 843 "wordpress" 844 ], 845 "support": { 846 "issues": "https://github.com/x-wp/admin-notice-manager/issues", 847 "source": "https://github.com/x-wp/admin-notice-manager/tree/v1.0.1" 848 }, 849 "install-path": "../x-wp/admin-notice-manager" 850 }, 851 { 852 "name": "x-wp/asset-loader", 853 "version": "v1.1.1", 854 "version_normalized": "1.1.1.0", 855 "source": { 856 "type": "git", 857 "url": "https://github.com/x-wp/asset-loader.git", 858 "reference": "f4a445e27fc913c20ab42ac7467b83514b750794" 859 }, 860 "dist": { 861 "type": "zip", 862 "url": "https://api.github.com/repos/x-wp/asset-loader/zipball/f4a445e27fc913c20ab42ac7467b83514b750794", 863 "reference": "f4a445e27fc913c20ab42ac7467b83514b750794", 864 "shasum": "" 865 }, 866 "require": { 867 "automattic/jetpack-constants": "^2.0", 868 "php": ">=8.0", 869 "x-wp/helper-functions": "^1.18", 870 "x-wp/helper-traits": "^1.9" 871 }, 872 "provide": { 873 "x-wp/asset-loader-implementation": "1.0" 874 }, 875 "require-dev": { 876 "oblak/wordpress-coding-standard": "^1", 877 "php-stubs/wordpress-stubs": "^6.5", 878 "phpstan/extension-installer": "^1.3", 879 "phpstan/phpstan": "^1.10", 880 "phpstan/phpstan-deprecation-rules": "^1.1", 881 "swissspidy/phpstan-no-private": "^0.2.0", 882 "szepeviktor/phpstan-wordpress": "^1.3" 883 }, 884 "suggest": { 885 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 886 }, 887 "time": "2024-11-04T19:51:33+00:00", 777 888 "type": "library", 778 889 "installation-source": "dist", … … 801 912 "support": { 802 913 "issues": "https://github.com/x-wp/asset-loader/issues", 803 "source": "https://github.com/x-wp/asset-loader/tree/v1. 0.0"914 "source": "https://github.com/x-wp/asset-loader/tree/v1.1.1" 804 915 }, 805 916 "install-path": "../x-wp/asset-loader" … … 807 918 { 808 919 "name": "x-wp/di", 809 "version": "v1.0.0 -beta.8",810 "version_normalized": "1.0.0.0 -beta8",920 "version": "v1.0.0", 921 "version_normalized": "1.0.0.0", 811 922 "source": { 812 923 "type": "git", 813 924 "url": "https://github.com/x-wp/di.git", 814 "reference": " 5c6928fcc9181e3221c87a46f01234f59971a67a"815 }, 816 "dist": { 817 "type": "zip", 818 "url": "https://api.github.com/repos/x-wp/di/zipball/ 5c6928fcc9181e3221c87a46f01234f59971a67a",819 "reference": " 5c6928fcc9181e3221c87a46f01234f59971a67a",925 "reference": "3cea33921ef8cf1cab14a1da88ffe43d168bcce1" 926 }, 927 "dist": { 928 "type": "zip", 929 "url": "https://api.github.com/repos/x-wp/di/zipball/3cea33921ef8cf1cab14a1da88ffe43d168bcce1", 930 "reference": "3cea33921ef8cf1cab14a1da88ffe43d168bcce1", 820 931 "shasum": "" 821 932 }, … … 824 935 "php": ">=8.0", 825 936 "php-di/php-di": "^7", 937 "symfony/polyfill-php81": "^1.31", 826 938 "x-wp/helper-classes": "^1.13", 827 939 "x-wp/helper-functions": "^1.13" 828 940 }, 941 "conflict": { 942 "oblak/wp-hook-di": "*" 943 }, 829 944 "provide": { 945 "psr/container-implementation": "^1.0", 830 946 "x-wp/di-implementation": "^1.0" 947 }, 948 "replace": { 949 "x-wp/hook-invoker": "*" 831 950 }, 832 951 "require-dev": { … … 842 961 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 843 962 }, 844 "time": "2024-1 0-14T06:17:14+00:00",963 "time": "2024-11-03T17:43:29+00:00", 845 964 "type": "library", 846 965 "installation-source": "dist", … … 875 994 "support": { 876 995 "issues": "https://github.com/x-wp/hook-manager/issues", 877 "source": "https://github.com/x-wp/di/tree/v1.0.0 -beta.8"996 "source": "https://github.com/x-wp/di/tree/v1.0.0" 878 997 }, 879 998 "install-path": "../x-wp/di" … … 881 1000 { 882 1001 "name": "x-wp/helper-classes", 883 "version": "v1.1 5.1",884 "version_normalized": "1.1 5.1.0",1002 "version": "v1.18.1", 1003 "version_normalized": "1.18.1.0", 885 1004 "source": { 886 1005 "type": "git", … … 934 1053 "support": { 935 1054 "issues": "https://github.com/x-wp/helper-classes/issues", 936 "source": "https://github.com/x-wp/helper-classes/tree/v1.1 5.1"1055 "source": "https://github.com/x-wp/helper-classes/tree/v1.18.1" 937 1056 }, 938 1057 "install-path": "../x-wp/helper-classes" … … 940 1059 { 941 1060 "name": "x-wp/helper-functions", 942 "version": "v1.1 5.1",943 "version_normalized": "1.1 5.1.0",1061 "version": "v1.18.1", 1062 "version_normalized": "1.18.1.0", 944 1063 "source": { 945 1064 "type": "git", 946 1065 "url": "https://github.com/x-wp/helper-functions.git", 947 "reference": " 4a22f9db18cfe7a93a3cddaff5b7f83a9e3abef1"948 }, 949 "dist": { 950 "type": "zip", 951 "url": "https://api.github.com/repos/x-wp/helper-functions/zipball/ 4a22f9db18cfe7a93a3cddaff5b7f83a9e3abef1",952 "reference": " 4a22f9db18cfe7a93a3cddaff5b7f83a9e3abef1",1066 "reference": "edd258d0b2ad90a78893ffcabf6626cebf56a281" 1067 }, 1068 "dist": { 1069 "type": "zip", 1070 "url": "https://api.github.com/repos/x-wp/helper-functions/zipball/edd258d0b2ad90a78893ffcabf6626cebf56a281", 1071 "reference": "edd258d0b2ad90a78893ffcabf6626cebf56a281", 953 1072 "shasum": "" 954 1073 }, … … 959 1078 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 960 1079 }, 961 "time": "2024-1 0-11T21:23:12+00:00",1080 "time": "2024-11-04T00:58:34+00:00", 962 1081 "type": "library", 963 1082 "installation-source": "dist", 964 1083 "autoload": { 965 1084 "files": [ 966 "xwp-helper-fns .php",1085 "xwp-helper-fns-arr.php", 967 1086 "xwp-helper-fns-num.php", 968 "xwp-helper-fns-req.php" 1087 "xwp-helper-fns-req.php", 1088 "xwp-helper-fns.php" 969 1089 ], 970 1090 "psr-4": { … … 994 1114 "support": { 995 1115 "issues": "https://github.com/x-wp/helper-functions/issues", 996 "source": "https://github.com/x-wp/helper-functions/tree/v1.1 5.1"1116 "source": "https://github.com/x-wp/helper-functions/tree/v1.18.1" 997 1117 }, 998 1118 "install-path": "../x-wp/helper-functions" … … 1000 1120 { 1001 1121 "name": "x-wp/helper-traits", 1002 "version": "v1.1 5.1",1003 "version_normalized": "1.1 5.1.0",1122 "version": "v1.18.1", 1123 "version_normalized": "1.18.1.0", 1004 1124 "source": { 1005 1125 "type": "git", … … 1049 1169 "support": { 1050 1170 "issues": "https://github.com/x-wp/helper-traits/issues", 1051 "source": "https://github.com/x-wp/helper-traits/tree/v1.1 5.1"1171 "source": "https://github.com/x-wp/helper-traits/tree/v1.18.1" 1052 1172 }, 1053 1173 "install-path": "../x-wp/helper-traits" … … 1055 1175 { 1056 1176 "name": "x-wp/helper-woocommerce", 1057 "version": "v1.1 5.1",1058 "version_normalized": "1.1 5.1.0",1177 "version": "v1.18.1", 1178 "version_normalized": "1.18.1.0", 1059 1179 "source": { 1060 1180 "type": "git", 1061 1181 "url": "https://github.com/x-wp/helper-woocommerce.git", 1062 "reference": " b8c373d14fba2757f094ed56ae8649acef85f7ae"1063 }, 1064 "dist": { 1065 "type": "zip", 1066 "url": "https://api.github.com/repos/x-wp/helper-woocommerce/zipball/ b8c373d14fba2757f094ed56ae8649acef85f7ae",1067 "reference": " b8c373d14fba2757f094ed56ae8649acef85f7ae",1182 "reference": "8429f9ed7612fe2e09862548aba8d09b1324177f" 1183 }, 1184 "dist": { 1185 "type": "zip", 1186 "url": "https://api.github.com/repos/x-wp/helper-woocommerce/zipball/8429f9ed7612fe2e09862548aba8d09b1324177f", 1187 "reference": "8429f9ed7612fe2e09862548aba8d09b1324177f", 1068 1188 "shasum": "" 1069 1189 }, … … 1075 1195 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 1076 1196 }, 1077 "time": "2024-10-1 1T21:23:12+00:00",1197 "time": "2024-10-17T20:47:30+00:00", 1078 1198 "type": "library", 1079 1199 "installation-source": "dist", … … 1103 1223 "support": { 1104 1224 "issues": "https://github.com/x-wp/helper-woocommerce/issues", 1105 "source": "https://github.com/x-wp/helper-woocommerce/tree/v1.1 5.1"1225 "source": "https://github.com/x-wp/helper-woocommerce/tree/v1.18.1" 1106 1226 }, 1107 1227 "install-path": "../x-wp/helper-woocommerce" … … 1109 1229 { 1110 1230 "name": "x-wp/wc-template-customizer", 1111 "version": "v1.0. 0",1112 "version_normalized": "1.0. 0.0",1231 "version": "v1.0.2", 1232 "version_normalized": "1.0.2.0", 1113 1233 "source": { 1114 1234 "type": "git", 1115 1235 "url": "https://github.com/x-wp/wc-template-customizer.git", 1116 "reference": " cb4ce03bfd900908b4dd06a3bd47b960e2bc4706"1117 }, 1118 "dist": { 1119 "type": "zip", 1120 "url": "https://api.github.com/repos/x-wp/wc-template-customizer/zipball/ cb4ce03bfd900908b4dd06a3bd47b960e2bc4706",1121 "reference": " cb4ce03bfd900908b4dd06a3bd47b960e2bc4706",1236 "reference": "b38df4993b8fbefe0af0f27f44be4bb853418465" 1237 }, 1238 "dist": { 1239 "type": "zip", 1240 "url": "https://api.github.com/repos/x-wp/wc-template-customizer/zipball/b38df4993b8fbefe0af0f27f44be4bb853418465", 1241 "reference": "b38df4993b8fbefe0af0f27f44be4bb853418465", 1122 1242 "shasum": "" 1123 1243 }, … … 1139 1259 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 1140 1260 }, 1141 "time": "2024- 07-02T19:27:36+00:00",1261 "time": "2024-10-20T17:39:43+00:00", 1142 1262 "type": "library", 1143 1263 "installation-source": "dist", … … 1159 1279 "support": { 1160 1280 "issues": "https://github.com/x-wp/wc-template-customizer/issues", 1161 "source": "https://github.com/x-wp/wc-template-customizer/tree/v1.0. 0"1281 "source": "https://github.com/x-wp/wc-template-customizer/tree/v1.0.2" 1162 1282 }, 1163 1283 "install-path": "../x-wp/wc-template-customizer" -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/composer/installed.php
r3170400 r3181790 21 21 ), 22 22 'automattic/jetpack-autoloader' => array( 23 'pretty_version' => 'v3.1. 2',24 'version' => '3.1. 2.0',25 'reference' => ' c111020cac7c6a830af6f6827c175e3c76a60f75',23 'pretty_version' => 'v3.1.3', 24 'version' => '3.1.3.0', 25 'reference' => 'e7e49a4e2f16cb2dfd3e58c478499a60d7d51839', 26 26 'type' => 'composer-plugin', 27 27 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', … … 30 30 ), 31 31 'automattic/jetpack-constants' => array( 32 'pretty_version' => 'v2.0. 4',33 'version' => '2.0. 4.0',34 'reference' => ' f6958c313a34c5e92171c45a57d9dc978e5975ed',32 'pretty_version' => 'v2.0.5', 33 'version' => '2.0.5.0', 34 'reference' => '0c2644d642b06ae2a31c561f5bfc6f74a4abc8f1', 35 35 'type' => 'jetpack-library', 36 36 'install_path' => __DIR__ . '/../automattic/jetpack-constants', … … 66 66 ), 67 67 'oblak/admin-notice-manager' => array( 68 'pretty_version' => '2.0.0', 69 'version' => '2.0.0.0', 70 'reference' => '53a32b62d9799fd486adf0bb09aeb5d80a7a214d', 71 'type' => 'library', 72 'install_path' => __DIR__ . '/../oblak/admin-notice-manager', 73 'aliases' => array(), 74 'dev_requirement' => false, 68 'dev_requirement' => false, 69 'replaced' => array( 70 0 => '*', 71 ), 75 72 ), 76 73 'oblak/serbian-validators' => array( … … 84 81 ), 85 82 'oblak/wp-plugin-installer' => array( 86 'pretty_version' => 'v2.1. 3',87 'version' => '2.1. 3.0',88 'reference' => ' 9a8726f5e659dd81e84ff8408b267829f8fa695a',83 'pretty_version' => 'v2.1.4', 84 'version' => '2.1.4.0', 85 'reference' => 'e34702944c37cf834fb4ee303039cb66b00b979b', 89 86 'type' => 'library', 90 87 'install_path' => __DIR__ . '/../oblak/wp-plugin-installer', … … 124 121 0 => '^1.0', 125 122 ), 123 ), 124 'symfony/polyfill-php81' => array( 125 'pretty_version' => 'v1.31.0', 126 'version' => '1.31.0.0', 127 'reference' => '4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c', 128 'type' => 'library', 129 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 130 'aliases' => array(), 131 'dev_requirement' => false, 126 132 ), 127 133 'woocommerce/action-scheduler' => array( … … 134 140 'dev_requirement' => false, 135 141 ), 142 'x-wp/admin-notice-manager' => array( 143 'pretty_version' => 'v1.0.1', 144 'version' => '1.0.1.0', 145 'reference' => '61bfbf90f90117d24af5130bbc80911b1c10f3cc', 146 'type' => 'library', 147 'install_path' => __DIR__ . '/../x-wp/admin-notice-manager', 148 'aliases' => array(), 149 'dev_requirement' => false, 150 ), 136 151 'x-wp/asset-loader' => array( 152 'pretty_version' => 'v1.1.1', 153 'version' => '1.1.1.0', 154 'reference' => 'f4a445e27fc913c20ab42ac7467b83514b750794', 155 'type' => 'library', 156 'install_path' => __DIR__ . '/../x-wp/asset-loader', 157 'aliases' => array(), 158 'dev_requirement' => false, 159 ), 160 'x-wp/asset-loader-implementation' => array( 161 'dev_requirement' => false, 162 'provided' => array( 163 0 => '1.0', 164 ), 165 ), 166 'x-wp/di' => array( 137 167 'pretty_version' => 'v1.0.0', 138 168 'version' => '1.0.0.0', 139 'reference' => '8198e2337bee579fc96a6f09e2c74fd745c98b6f', 140 'type' => 'library', 141 'install_path' => __DIR__ . '/../x-wp/asset-loader', 142 'aliases' => array(), 143 'dev_requirement' => false, 144 ), 145 'x-wp/asset-loader-implementation' => array( 146 'dev_requirement' => false, 147 'provided' => array( 148 0 => '1.0', 149 ), 150 ), 151 'x-wp/di' => array( 152 'pretty_version' => 'v1.0.0-beta.8', 153 'version' => '1.0.0.0-beta8', 154 'reference' => '5c6928fcc9181e3221c87a46f01234f59971a67a', 169 'reference' => '3cea33921ef8cf1cab14a1da88ffe43d168bcce1', 155 170 'type' => 'library', 156 171 'install_path' => __DIR__ . '/../x-wp/di', … … 165 180 ), 166 181 'x-wp/helper-classes' => array( 167 'pretty_version' => 'v1.1 5.1',168 'version' => '1.1 5.1.0',182 'pretty_version' => 'v1.18.1', 183 'version' => '1.18.1.0', 169 184 'reference' => '451dff53964c2fbdf086882c868709e4e36fb1cd', 170 185 'type' => 'library', … … 174 189 ), 175 190 'x-wp/helper-functions' => array( 176 'pretty_version' => 'v1.1 5.1',177 'version' => '1.1 5.1.0',178 'reference' => ' 4a22f9db18cfe7a93a3cddaff5b7f83a9e3abef1',191 'pretty_version' => 'v1.18.1', 192 'version' => '1.18.1.0', 193 'reference' => 'edd258d0b2ad90a78893ffcabf6626cebf56a281', 179 194 'type' => 'library', 180 195 'install_path' => __DIR__ . '/../x-wp/helper-functions', … … 183 198 ), 184 199 'x-wp/helper-traits' => array( 185 'pretty_version' => 'v1.1 5.1',186 'version' => '1.1 5.1.0',200 'pretty_version' => 'v1.18.1', 201 'version' => '1.18.1.0', 187 202 'reference' => '0367d136d6ba36e2ae0fe1854584ef760ea7cae9', 188 203 'type' => 'library', … … 192 207 ), 193 208 'x-wp/helper-woocommerce' => array( 194 'pretty_version' => 'v1.1 5.1',195 'version' => '1.1 5.1.0',196 'reference' => ' b8c373d14fba2757f094ed56ae8649acef85f7ae',209 'pretty_version' => 'v1.18.1', 210 'version' => '1.18.1.0', 211 'reference' => '8429f9ed7612fe2e09862548aba8d09b1324177f', 197 212 'type' => 'library', 198 213 'install_path' => __DIR__ . '/../x-wp/helper-woocommerce', … … 200 215 'dev_requirement' => false, 201 216 ), 217 'x-wp/hook-invoker' => array( 218 'dev_requirement' => false, 219 'replaced' => array( 220 0 => '*', 221 ), 222 ), 202 223 'x-wp/wc-template-customizer' => array( 203 'pretty_version' => 'v1.0. 0',204 'version' => '1.0. 0.0',205 'reference' => ' cb4ce03bfd900908b4dd06a3bd47b960e2bc4706',224 'pretty_version' => 'v1.0.2', 225 'version' => '1.0.2.0', 226 'reference' => 'b38df4993b8fbefe0af0f27f44be4bb853418465', 206 227 'type' => 'library', 207 228 'install_path' => __DIR__ . '/../x-wp/wc-template-customizer', -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/composer/jetpack_autoload_classmap.php
r3170400 r3181790 8 8 return array( 9 9 'Autoloader' => array( 10 'version' => '3.1. 2',10 'version' => '3.1.3', 11 11 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-autoloader.php' 12 12 ), 13 13 'Autoloader_Handler' => array( 14 'version' => '3.1. 2',14 'version' => '3.1.3', 15 15 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-autoloader-handler.php' 16 16 ), 17 17 'Autoloader_Locator' => array( 18 'version' => '3.1. 2',18 'version' => '3.1.3', 19 19 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-autoloader-locator.php' 20 20 ), 21 21 'Automattic\\Jetpack\\Autoloader\\AutoloadFileWriter' => array( 22 'version' => '3.1. 2',22 'version' => '3.1.3', 23 23 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadFileWriter.php' 24 24 ), 25 25 'Automattic\\Jetpack\\Autoloader\\AutoloadGenerator' => array( 26 'version' => '3.1. 2',26 'version' => '3.1.3', 27 27 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadGenerator.php' 28 28 ), 29 29 'Automattic\\Jetpack\\Autoloader\\AutoloadProcessor' => array( 30 'version' => '3.1. 2',30 'version' => '3.1.3', 31 31 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadProcessor.php' 32 32 ), 33 33 'Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin' => array( 34 'version' => '3.1. 2',34 'version' => '3.1.3', 35 35 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php' 36 36 ), 37 37 'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => array( 38 'version' => '3.1. 2',38 'version' => '3.1.3', 39 39 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/ManifestGenerator.php' 40 40 ), 41 41 'Automattic\\Jetpack\\Constants' => array( 42 'version' => '2.0. 4.0',42 'version' => '2.0.5.0', 43 43 'path' => $vendorDir . '/automattic/jetpack-constants/src/class-constants.php' 44 44 ), 45 'CURLStringFile' => array( 46 'version' => '1.31.0.0', 47 'path' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php' 48 ), 45 49 'Container' => array( 46 'version' => '3.1. 2',50 'version' => '3.1.3', 47 51 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-container.php' 48 52 ), … … 280 284 ), 281 285 'Hook_Manager' => array( 282 'version' => '3.1. 2',286 'version' => '3.1.3', 283 287 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-hook-manager.php' 284 288 ), … … 400 404 ), 401 405 'Latest_Autoloader_Guard' => array( 402 'version' => '3.1. 2',406 'version' => '3.1.3', 403 407 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-latest-autoloader-guard.php' 404 408 ), 405 409 'Manifest_Reader' => array( 406 'version' => '3.1. 2',410 'version' => '3.1.3', 407 411 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-manifest-reader.php' 408 412 ), … … 483 487 'path' => $baseDir . '/lib/Utils/Template_Extender.php' 484 488 ), 485 'Oblak\\WP\\Admin_Notice_Manager' => array(486 'version' => '2.0.0.0',487 'path' => $vendorDir . '/oblak/admin-notice-manager/src/Admin_Notice_Manager.php'488 ),489 489 'Oblak\\WP\\Base_Plugin_Installer' => array( 490 'version' => '2.1. 3.0',490 'version' => '2.1.4.0', 491 491 'path' => $vendorDir . '/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php' 492 492 ), 493 493 'Oblak\\WP\\Update_Callback_Handler' => array( 494 'version' => '2.1. 3.0',494 'version' => '2.1.4.0', 495 495 'path' => $vendorDir . '/oblak/wp-plugin-installer/src/Update_Callback_Handler.php' 496 496 ), 497 497 'PHP_Autoloader' => array( 498 'version' => '3.1. 2',498 'version' => '3.1.3', 499 499 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-php-autoloader.php' 500 500 ), 501 501 'Path_Processor' => array( 502 'version' => '3.1. 2',502 'version' => '3.1.3', 503 503 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-path-processor.php' 504 504 ), 505 505 'Plugin_Locator' => array( 506 'version' => '3.1. 2',506 'version' => '3.1.3', 507 507 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-plugin-locator.php' 508 508 ), 509 509 'Plugins_Handler' => array( 510 'version' => '3.1. 2',510 'version' => '3.1.3', 511 511 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-plugins-handler.php' 512 512 ), … … 523 523 'path' => $vendorDir . '/psr/container/src/NotFoundExceptionInterface.php' 524 524 ), 525 'ReturnTypeWillChange' => array( 526 'version' => '1.31.0.0', 527 'path' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php' 528 ), 525 529 'Shutdown_Handler' => array( 526 'version' => '3.1. 2',530 'version' => '3.1.3', 527 531 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-shutdown-handler.php' 528 532 ), 533 'Symfony\\Polyfill\\Php81\\Php81' => array( 534 'version' => '1.31.0.0', 535 'path' => $vendorDir . '/symfony/polyfill-php81/Php81.php' 536 ), 529 537 'Version_Loader' => array( 530 'version' => '3.1. 2',538 'version' => '3.1.3', 531 539 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-version-loader.php' 532 540 ), 533 541 'Version_Selector' => array( 534 'version' => '3.1. 2',542 'version' => '3.1.3', 535 543 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-version-selector.php' 536 544 ), 537 545 'WP_Filesystem_Streaming' => array( 538 'version' => '1.1 5.1.0',546 'version' => '1.18.1.0', 539 547 'path' => $vendorDir . '/x-wp/helper-classes/WP/Filesystem_Streaming.php' 540 548 ), 541 549 'XWC\\Admin\\Settings_Page_Base' => array( 542 'version' => '1.1 5.1.0',550 'version' => '1.18.1.0', 543 551 'path' => $vendorDir . '/x-wp/helper-woocommerce/Admin/Settings_Page_Base.php' 544 552 ), 545 553 'XWC\\Gateway\\Gateway_Base' => array( 546 'version' => '1.1 5.1.0',554 'version' => '1.18.1.0', 547 555 'path' => $vendorDir . '/x-wp/helper-woocommerce/Gateway/Gateway_Base.php' 548 556 ), 549 557 'XWC\\Template\\Customizer_Admin' => array( 550 'version' => '1.0. 0.0',558 'version' => '1.0.2.0', 551 559 'path' => $vendorDir . '/x-wp/wc-template-customizer/src/Customizer_Admin.php' 552 560 ), 553 561 'XWC\\Template\\Customizer_Base' => array( 554 'version' => '1.0. 0.0',562 'version' => '1.0.2.0', 555 563 'path' => $vendorDir . '/x-wp/wc-template-customizer/src/Customizer_Base.php' 556 564 ), 557 565 'XWC\\Traits\\Settings_API_Methods' => array( 558 'version' => '1.1 5.1.0',566 'version' => '1.18.1.0', 559 567 'path' => $vendorDir . '/x-wp/helper-woocommerce/Traits/Settings_API_Methods.php' 560 568 ), 569 'XWP\\ANM\\Notice_Manager' => array( 570 'version' => '1.0.1.0', 571 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Notice_Manager.php' 572 ), 573 'XWP\\ANM\\Notice_Repository' => array( 574 'version' => '1.0.1.0', 575 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Notice_Repository.php' 576 ), 561 577 'XWP\\DI\\App_Builder' => array( 562 'version' => '1.0.0.0 -beta8',578 'version' => '1.0.0.0', 563 579 'path' => $vendorDir . '/x-wp/di/src/App_Builder.php' 564 580 ), 565 581 'XWP\\DI\\App_Factory' => array( 566 'version' => '1.0.0.0 -beta8',582 'version' => '1.0.0.0', 567 583 'path' => $vendorDir . '/x-wp/di/src/App_Factory.php' 568 584 ), 569 585 'XWP\\DI\\Decorators\\Action' => array( 570 'version' => '1.0.0.0 -beta8',586 'version' => '1.0.0.0', 571 587 'path' => $vendorDir . '/x-wp/di/src/Decorators/Action.php' 572 588 ), 573 589 'XWP\\DI\\Decorators\\Ajax_Action' => array( 574 'version' => '1.0.0.0 -beta8',590 'version' => '1.0.0.0', 575 591 'path' => $vendorDir . '/x-wp/di/src/Decorators/Ajax_Action.php' 576 592 ), 577 593 'XWP\\DI\\Decorators\\Ajax_Handler' => array( 578 'version' => '1.0.0.0 -beta8',594 'version' => '1.0.0.0', 579 595 'path' => $vendorDir . '/x-wp/di/src/Decorators/Ajax_Handler.php' 580 596 ), 581 597 'XWP\\DI\\Decorators\\Filter' => array( 582 'version' => '1.0.0.0 -beta8',598 'version' => '1.0.0.0', 583 599 'path' => $vendorDir . '/x-wp/di/src/Decorators/Filter.php' 584 600 ), 585 601 'XWP\\DI\\Decorators\\Handler' => array( 586 'version' => '1.0.0.0 -beta8',602 'version' => '1.0.0.0', 587 603 'path' => $vendorDir . '/x-wp/di/src/Decorators/Handler.php' 588 604 ), 589 605 'XWP\\DI\\Decorators\\Hook' => array( 590 'version' => '1.0.0.0 -beta8',606 'version' => '1.0.0.0', 591 607 'path' => $vendorDir . '/x-wp/di/src/Decorators/Hook.php' 592 608 ), 593 609 'XWP\\DI\\Decorators\\Module' => array( 594 'version' => '1.0.0.0 -beta8',610 'version' => '1.0.0.0', 595 611 'path' => $vendorDir . '/x-wp/di/src/Decorators/Module.php' 596 612 ), 613 'XWP\\DI\\Decorators\\REST_Handler' => array( 614 'version' => '1.0.0.0', 615 'path' => $vendorDir . '/x-wp/di/src/Decorators/REST_Handler.php' 616 ), 617 'XWP\\DI\\Decorators\\REST_Route' => array( 618 'version' => '1.0.0.0', 619 'path' => $vendorDir . '/x-wp/di/src/Decorators/REST_Route.php' 620 ), 597 621 'XWP\\DI\\Handler_Factory' => array( 598 'version' => '1.0.0.0 -beta8',622 'version' => '1.0.0.0', 599 623 'path' => $vendorDir . '/x-wp/di/src/Handler_Factory.php' 600 624 ), 601 625 'XWP\\DI\\Hook_Context' => array( 602 'version' => '1.0.0.0 -beta8',626 'version' => '1.0.0.0', 603 627 'path' => $vendorDir . '/x-wp/di/src/Hook_Context.php' 604 628 ), 605 629 'XWP\\DI\\Interfaces\\Can_Handle' => array( 606 'version' => '1.0.0.0 -beta8',630 'version' => '1.0.0.0', 607 631 'path' => $vendorDir . '/x-wp/di/src/Interfaces/Can_Handle.php' 608 632 ), 609 633 'XWP\\DI\\Interfaces\\Can_Hook' => array( 610 'version' => '1.0.0.0 -beta8',634 'version' => '1.0.0.0', 611 635 'path' => $vendorDir . '/x-wp/di/src/Interfaces/Can_Hook.php' 612 636 ), 613 637 'XWP\\DI\\Interfaces\\Can_Invoke' => array( 614 'version' => '1.0.0.0 -beta8',638 'version' => '1.0.0.0', 615 639 'path' => $vendorDir . '/x-wp/di/src/Interfaces/Can_Invoke.php' 616 640 ), 617 641 'XWP\\DI\\Interfaces\\On_Initialize' => array( 618 'version' => '1.0.0.0 -beta8',642 'version' => '1.0.0.0', 619 643 'path' => $vendorDir . '/x-wp/di/src/Interfaces/On_Initialize.php' 620 644 ), 621 645 'XWP\\DI\\Invoker' => array( 622 'version' => '1.0.0.0 -beta8',646 'version' => '1.0.0.0', 623 647 'path' => $vendorDir . '/x-wp/di/src/Invoker.php' 624 648 ), 625 649 'XWP\\DI\\Traits\\Accessible_Hook_Methods' => array( 626 'version' => '1.0.0.0 -beta8',650 'version' => '1.0.0.0', 627 651 'path' => $vendorDir . '/x-wp/di/src/Traits/Accessible_Hook_Methods.php' 628 652 ), 629 653 'XWP\\DI\\Utils\\Reflection' => array( 630 'version' => '1.0.0.0 -beta8',654 'version' => '1.0.0.0', 631 655 'path' => $vendorDir . '/x-wp/di/src/Utils/Reflection.php' 632 656 ), 633 657 'XWP\\Dependency\\Interfaces\\Can_Enqueue' => array( 634 'version' => '1. 0.0.0',658 'version' => '1.1.1.0', 635 659 'path' => $vendorDir . '/x-wp/asset-loader/src/Interfaces/Can_Enqueue.php' 636 660 ), 637 661 'XWP\\Dependency\\Interfaces\\Can_Register' => array( 638 'version' => '1. 0.0.0',662 'version' => '1.1.1.0', 639 663 'path' => $vendorDir . '/x-wp/asset-loader/src/Interfaces/Can_Register.php' 640 664 ), 641 665 'XWP\\Dependency\\Interfaces\\Has_Context' => array( 642 'version' => '1. 0.0.0',666 'version' => '1.1.1.0', 643 667 'path' => $vendorDir . '/x-wp/asset-loader/src/Interfaces/Has_Context.php' 644 668 ), 645 669 'XWP\\Dependency\\Manifest' => array( 646 'version' => '1. 0.0.0',670 'version' => '1.1.1.0', 647 671 'path' => $vendorDir . '/x-wp/asset-loader/src/Manifest.php' 648 672 ), 649 673 'XWP\\Dependency\\Resources\\Asset' => array( 650 'version' => '1. 0.0.0',674 'version' => '1.1.1.0', 651 675 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Asset.php' 652 676 ), 653 677 'XWP\\Dependency\\Resources\\File' => array( 654 'version' => '1. 0.0.0',678 'version' => '1.1.1.0', 655 679 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/File.php' 656 680 ), 657 681 'XWP\\Dependency\\Resources\\Font' => array( 658 'version' => '1. 0.0.0',682 'version' => '1.1.1.0', 659 683 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Font.php' 660 684 ), 661 685 'XWP\\Dependency\\Resources\\Image' => array( 662 'version' => '1. 0.0.0',686 'version' => '1.1.1.0', 663 687 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Image.php' 664 688 ), 665 689 'XWP\\Dependency\\Resources\\Script' => array( 666 'version' => '1. 0.0.0',690 'version' => '1.1.1.0', 667 691 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Script.php' 668 692 ), 669 693 'XWP\\Dependency\\Resources\\Style' => array( 670 'version' => '1. 0.0.0',694 'version' => '1.1.1.0', 671 695 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Style.php' 672 696 ), 673 697 'XWP\\Helper\\Classes\\Reflection' => array( 674 'version' => '1.1 5.1.0',698 'version' => '1.18.1.0', 675 699 'path' => $vendorDir . '/x-wp/helper-classes/Reflection.php' 676 700 ), 677 701 'XWP\\Helper\\Classes\\Simple_Array_Object' => array( 678 'version' => '1.1 5.1.0',702 'version' => '1.18.1.0', 679 703 'path' => $vendorDir . '/x-wp/helper-classes/Simple_Array_Object.php' 680 704 ), 681 705 'XWP\\Helper\\Functions\\Array_Extra' => array( 682 'version' => '1.1 5.1.0',706 'version' => '1.18.1.0', 683 707 'path' => $vendorDir . '/x-wp/helper-functions/Array_Extra.php' 684 708 ), 685 709 'XWP\\Helper\\Functions\\Block' => array( 686 'version' => '1.1 5.1.0',710 'version' => '1.18.1.0', 687 711 'path' => $vendorDir . '/x-wp/helper-functions/Block.php' 688 712 ), 689 713 'XWP\\Helper\\Functions\\Hook_Remover' => array( 690 'version' => '1.1 5.1.0',714 'version' => '1.18.1.0', 691 715 'path' => $vendorDir . '/x-wp/helper-functions/Hook_Remover.php' 692 716 ), 693 717 'XWP\\Helper\\Functions\\Request' => array( 694 'version' => '1.1 5.1.0',718 'version' => '1.18.1.0', 695 719 'path' => $vendorDir . '/x-wp/helper-functions/Request.php' 696 720 ), 697 721 'XWP\\Helper\\Functions\\Term' => array( 698 'version' => '1.1 5.1.0',722 'version' => '1.18.1.0', 699 723 'path' => $vendorDir . '/x-wp/helper-functions/Term.php' 700 724 ), 701 725 'XWP\\Helper\\Functions\\WPFS' => array( 702 'version' => '1.1 5.1.0',726 'version' => '1.18.1.0', 703 727 'path' => $vendorDir . '/x-wp/helper-functions/WPFS.php' 704 728 ), 705 729 'XWP\\Helper\\Traits\\Array_Access' => array( 706 'version' => '1.1 5.1.0',730 'version' => '1.18.1.0', 707 731 'path' => $vendorDir . '/x-wp/helper-traits/Array_Access.php' 708 732 ), 709 733 'XWP\\Helper\\Traits\\Singleton' => array( 710 'version' => '1.1 5.1.0',734 'version' => '1.18.1.0', 711 735 'path' => $vendorDir . '/x-wp/helper-traits/Singleton.php' 712 736 ), 713 737 'XWP\\Helper\\Traits\\Singleton_Ex' => array( 714 'version' => '1.1 5.1.0',738 'version' => '1.18.1.0', 715 739 'path' => $vendorDir . '/x-wp/helper-traits/Singleton_Ex.php' 716 740 ), 717 741 'XWP\\Helper\\Traits\\View_Loader' => array( 718 'version' => '1.1 5.1.0',742 'version' => '1.18.1.0', 719 743 'path' => $vendorDir . '/x-wp/helper-traits/View_Loader.php' 720 744 ), 745 'XWP_Admin_Notice' => array( 746 'version' => '1.0.1.0', 747 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Core/Notice.php' 748 ), 721 749 'XWP_Asset_Bundle' => array( 722 'version' => '1. 0.0.0',750 'version' => '1.1.1.0', 723 751 'path' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Bundle.php' 724 752 ), 725 753 'XWP_Asset_Loader' => array( 726 'version' => '1. 0.0.0',754 'version' => '1.1.1.0', 727 755 'path' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Loader.php' 728 756 ), 729 757 'XWP_Asset_Retriever' => array( 730 'version' => '1. 0.0.0',758 'version' => '1.1.1.0', 731 759 'path' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Retriever.php' 760 ), 761 'XWP_REST_Controller' => array( 762 'version' => '1.0.0.0', 763 'path' => $vendorDir . '/x-wp/di/src/Core/REST_Controller.php' 732 764 ), 733 765 'chillerlan\\QRCode\\Common\\BitBuffer' => array( -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/composer/jetpack_autoload_filemap.php
r3170400 r3181790 7 7 8 8 return array( 9 ' 6c427d7d289e1cfc9c7756e71133bee6' => array(10 'version' => '1.1 5.1.0',11 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns .php'9 'e7e6bab1ed2be1042591496e1ad3e230' => array( 10 'version' => '1.18.1.0', 11 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-arr.php' 12 12 ), 13 13 '6f4d42339b919aad008d719d6274512f' => array( 14 'version' => '1.1 5.1.0',14 'version' => '1.18.1.0', 15 15 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-num.php' 16 16 ), 17 17 'eac005e7ae06387970897430e20a14f8' => array( 18 'version' => '1.1 5.1.0',18 'version' => '1.18.1.0', 19 19 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-req.php' 20 ), 21 '6c427d7d289e1cfc9c7756e71133bee6' => array( 22 'version' => '1.18.1.0', 23 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns.php' 20 24 ), 21 25 'b33e3d135e5d9e47d845c576147bda89' => array( 22 26 'version' => '7.0.7.0', 23 27 'path' => $vendorDir . '/php-di/php-di/src/functions.php' 28 ), 29 '23c18046f52bef3eea034657bafda50f' => array( 30 'version' => '1.31.0.0', 31 'path' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php' 32 ), 33 'c4eb3dd9806877a728c0b0fecfd8a0a8' => array( 34 'version' => '1.0.1.0', 35 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-fns.php' 36 ), 37 'fc42141d84284e25c97732976f63c9e2' => array( 38 'version' => '1.0.1.0', 39 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-init.php' 24 40 ), 25 41 '601305a3774ec67d18e3b43f7ff1eba8' => array( … … 44 60 ), 45 61 '02b2f2d806f84ba3df3bd5d983b40927' => array( 46 'version' => '2.1. 3.0',62 'version' => '2.1.4.0', 47 63 'path' => $vendorDir . '/oblak/wp-plugin-installer/src/wppi-as-loader.php' 48 64 ), 49 65 'e4ffa605a46af5dc51a06d0428d74700' => array( 50 'version' => '1. 0.0.0',66 'version' => '1.1.1.0', 51 67 'path' => $vendorDir . '/x-wp/asset-loader/src/Functions/xwp-loader-init.php' 52 68 ), 53 69 '89887658aecc79fae17e75f8e6949680' => array( 54 'version' => '1.0.0.0 -beta8',70 'version' => '1.0.0.0', 55 71 'path' => $vendorDir . '/x-wp/di/src/Functions/xwp-di-container-fns.php' 56 72 ), 57 73 '289d5db207f260edee5d940f2b0874b1' => array( 58 'version' => '1.0.0.0 -beta8',74 'version' => '1.0.0.0', 59 75 'path' => $vendorDir . '/x-wp/di/src/Functions/xwp-di-helper-fns.php' 60 76 ), … … 62 78 'version' => '1.0.0.0', 63 79 'path' => $baseDir . '/lib/Functions/wcsrb-address-field-fns.php' 64 ),65 'f45becae259e3085ac94c414354b9e11' => array(66 'version' => '1.0.0.0',67 'path' => $baseDir . '/lib/Functions/wcsrb-core.php'68 80 ), 69 81 '2cbbb54dca44ace1c636c9aedd6c2704' => array( -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-autoloader-handler.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-autoloader-locator.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-autoloader.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-container.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-hook-manager.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-latest-autoloader-guard.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-manifest-reader.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-path-processor.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-php-autoloader.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-plugin-locator.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-plugins-handler.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-shutdown-handler.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-version-loader.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/jetpack-autoloader/class-version-selector.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/oblak/wp-plugin-installer/composer.json
r3155827 r3181790 13 13 "php": ">= 8.0", 14 14 "automattic/jetpack-constants": "^2", 15 " oblak/admin-notice-manager": "^2",16 " woocommerce/action-scheduler": "^3.7"15 "woocommerce/action-scheduler": "^3.7", 16 "x-wp/admin-notice-manager": "^1.0" 17 17 }, 18 18 "require-dev": { 19 19 "ergebnis/composer-normalize": "^2.42", 20 "oblak/wordpress-coding-standard": "^1" 20 "oblak/wordpress-coding-standard": "^1", 21 "wp-cli/wp-cli": "^2.11" 21 22 }, 22 23 "suggest": { … … 32 33 }, 33 34 "config": { 35 "platform": { 36 "php": "8.0" 37 }, 34 38 "allow-plugins": { 35 39 "automattic/jetpack-autoloader": true, -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php
r3092652 r3181790 276 276 } 277 277 278 Admin_Notice_Manager::get_instance()->add_notice( 279 "{$this->slug}_missing_tables", 280 array( 281 'caps' => 'manage_woocommerce', 282 'dismissible' => false, 283 'message' => \sprintf( 284 '<p><strong>%s</strong> - %s: %s</p>', 285 \esc_html( $this->slug ), 286 \esc_html__( 'The following tables are missing: ', 'oblak-plugin-installer' ), 287 \implode( ', ', $missing_tables ), 278 \xwp_get_notice( "{$this->slug}_missing_tables" ) 279 ->set_defaults() 280 ->set_props( 281 array( 282 'caps' => 'manage_woocommerce', 283 'classes' => 'alt', 284 'dismissible' => false, 285 'message' => \sprintf( 286 '<p><strong>%s</strong> - %s: %s</p>', 287 \esc_html( $this->slug ), 288 \esc_html__( 'The following tables are missing: ', 'oblak-plugin-installer' ), 289 \implode( ', ', $missing_tables ), 290 ), 291 'persistent' => true, 292 'type' => 'error', 288 293 ), 289 'persistent' => true, 290 'type' => 'error', 291 ), 292 true, 293 ); 294 ) 295 ->save( true ); 294 296 } 295 297 … … 313 315 $this->display_missing_tables_notice( $modify_notice ); 314 316 } elseif ( $modify_notice && $this->show_admin_notices ) { 315 Admin_Notice_Manager::get_instance()->remove_notice( "{$this->slug}_missing_tables", true );317 \xwp_delete_notice( "{$this->slug}_missing_tables", true ); 316 318 } else { 317 319 \update_option( "{$this->slug}_schema_version", $this->db_version ); … … 417 419 $args = $this->get_notice_args( $name ); 418 420 419 Admin_Notice_Manager::get_instance()->add_notice( 420 "{$this->slug}_update_notice", 421 array( 422 'caps' => 'manage_options', 423 'dismissible' => 'update-complete' === $file, 424 'file_args' => $args, 425 'message' => $file, 426 'persistent' => false, 427 'type' => 'info', 428 ), 429 true, 430 ); 421 \xwp_get_notice( "{$this->slug}_update_notice" ) 422 ->set_defaults() 423 ->set_props( 424 array( 425 'caps' => 'manage_options', 426 'dismissible' => 'update-complete' === $file, 427 'params' => $args, 428 'persistent' => false, 429 'template' => $file, 430 'type' => 'info', 431 ), 432 ) 433 ->save( true ); 431 434 } 432 435 … … 638 641 $progress->finish(); 639 642 640 Admin_Notice_Manager::get_instance()->remove_notice( "{$this->slug}_update_notice", true );643 \xwp_delete_notice( "{$this->slug}_update_notice", true ); 641 644 642 645 WP_CLI::success( … … 741 744 */ 742 745 public function debug_verify_db_tables() { 743 Admin_Notice_Manager::get_instance()->remove_notice( "{$this->slug}_missing_tables", true );746 \xwp_delete_notice( "{$this->slug}_missing_tables", true ); 744 747 745 748 $missing_tables = $this->verify_base_tables( false, true ); -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/asset-loader/composer.json
r3155827 r3181790 12 12 "php": ">=8.0", 13 13 "automattic/jetpack-constants": "^2.0", 14 "x-wp/helper-functions": "^1. 9",14 "x-wp/helper-functions": "^1.18", 15 15 "x-wp/helper-traits": "^1.9" 16 16 }, -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/asset-loader/src/Core/Asset_Bundle.php
r3155827 r3181790 360 360 * @return array<string,T> 361 361 */ 362 public function get( string $type ): array {362 public function collect( string $type ): array { 363 363 $found = array(); 364 364 … … 373 373 return $found; 374 374 } 375 376 /** 377 * Get an asset by field. 378 * 379 * @param string $id The ID of the asset to get. 380 * @param string $field The field to search by. 381 * @return Style|Script|Image|Font|null 382 */ 383 public function get( string $id, string $field = 'handle' ): Style|Script|Image|Font|null { 384 foreach ( array_keys( $this->manifest ) as $src ) { 385 if ( $id === $this[ $src ]->{"{$field}"}() ) { 386 return $this[ $src ]; 387 } 388 } 389 390 return null; 391 } 375 392 } -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/asset-loader/src/Resources/File.php
r3155827 r3181790 58 58 * Get the WP_Filesystem instance. 59 59 * 60 * @return \WP_Filesystem_ Base|null60 * @return \WP_Filesystem_Direct|null 61 61 */ 62 protected function wpfs(): ?\WP_Filesystem_Base { 63 return \wp_load_filesystem() ?: null; 62 protected function wpfs(): ?\WP_Filesystem_Direct { 63 return \xwp_wpfs() ?: null; 64 } 65 66 /** 67 * Get the bundle instance. 68 * 69 * @return XWP_Asset_Bundle 70 */ 71 public function bundle(): XWP_Asset_Bundle { 72 return $this->bundle; 64 73 } 65 74 -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/composer.json
r3167131 r3181790 25 25 "automattic/jetpack-constants": "^2", 26 26 "php-di/php-di": "^7", 27 "symfony/polyfill-php81": "^1.31", 27 28 "x-wp/helper-classes": "^1.13", 28 29 "x-wp/helper-functions": "^1.13" … … 37 38 "szepeviktor/phpstan-wordpress": "^1.3" 38 39 }, 40 "conflict": { 41 "oblak/wp-hook-di": "*" 42 }, 39 43 "provide": { 44 "psr/container-implementation": "^1.0", 40 45 "x-wp/di-implementation": "^1.0" 46 }, 47 "replace": { 48 "x-wp/hook-invoker": "*" 41 49 }, 42 50 "suggest": { -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/composer.lock
r3167131 r3181790 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " 5a76f9ef4bfd4bcfe1cfc7de0b6024ad",7 "content-hash": "3879411c4b4bea5e32cc13d31fdcb283", 8 8 "packages": [ 9 9 { … … 301 301 }, 302 302 { 303 "name": "symfony/polyfill-php81", 304 "version": "v1.31.0", 305 "source": { 306 "type": "git", 307 "url": "https://github.com/symfony/polyfill-php81.git", 308 "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" 309 }, 310 "dist": { 311 "type": "zip", 312 "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", 313 "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", 314 "shasum": "" 315 }, 316 "require": { 317 "php": ">=7.2" 318 }, 319 "type": "library", 320 "extra": { 321 "thanks": { 322 "name": "symfony/polyfill", 323 "url": "https://github.com/symfony/polyfill" 324 } 325 }, 326 "autoload": { 327 "files": [ 328 "bootstrap.php" 329 ], 330 "psr-4": { 331 "Symfony\\Polyfill\\Php81\\": "" 332 }, 333 "classmap": [ 334 "Resources/stubs" 335 ] 336 }, 337 "notification-url": "https://packagist.org/downloads/", 338 "license": [ 339 "MIT" 340 ], 341 "authors": [ 342 { 343 "name": "Nicolas Grekas", 344 "email": "p@tchwork.com" 345 }, 346 { 347 "name": "Symfony Community", 348 "homepage": "https://symfony.com/contributors" 349 } 350 ], 351 "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", 352 "homepage": "https://symfony.com", 353 "keywords": [ 354 "compatibility", 355 "polyfill", 356 "portable", 357 "shim" 358 ], 359 "support": { 360 "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" 361 }, 362 "funding": [ 363 { 364 "url": "https://symfony.com/sponsor", 365 "type": "custom" 366 }, 367 { 368 "url": "https://github.com/fabpot", 369 "type": "github" 370 }, 371 { 372 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 373 "type": "tidelift" 374 } 375 ], 376 "time": "2024-09-09T11:45:10+00:00" 377 }, 378 { 303 379 "name": "x-wp/helper-classes", 304 "version": "v1.1 4.0",380 "version": "v1.18.0", 305 381 "source": { 306 382 "type": "git", … … 352 428 "support": { 353 429 "issues": "https://github.com/x-wp/helper-classes/issues", 354 "source": "https://github.com/x-wp/helper-classes/tree/v1.1 4.0"430 "source": "https://github.com/x-wp/helper-classes/tree/v1.18.0" 355 431 }, 356 432 "time": "2024-09-23T14:31:15+00:00" … … 358 434 { 359 435 "name": "x-wp/helper-functions", 360 "version": "v1.1 4.0",436 "version": "v1.18.0", 361 437 "source": { 362 438 "type": "git", 363 439 "url": "https://github.com/x-wp/helper-functions.git", 364 "reference": "1 b2dab0fbdedbaac6b9bc554eda79f804cb7ed97"365 }, 366 "dist": { 367 "type": "zip", 368 "url": "https://api.github.com/repos/x-wp/helper-functions/zipball/1 b2dab0fbdedbaac6b9bc554eda79f804cb7ed97",369 "reference": "1 b2dab0fbdedbaac6b9bc554eda79f804cb7ed97",440 "reference": "1e3392e49d0fe95eb13e8980081b9ceb0268e0bd" 441 }, 442 "dist": { 443 "type": "zip", 444 "url": "https://api.github.com/repos/x-wp/helper-functions/zipball/1e3392e49d0fe95eb13e8980081b9ceb0268e0bd", 445 "reference": "1e3392e49d0fe95eb13e8980081b9ceb0268e0bd", 370 446 "shasum": "" 371 447 }, … … 379 455 "autoload": { 380 456 "files": [ 381 "xwp-helper-fns.php", 382 "xwp-helper-fns-req.php" 457 "xwp-helper-fns-arr.php", 458 "xwp-helper-fns-num.php", 459 "xwp-helper-fns-req.php", 460 "xwp-helper-fns.php" 383 461 ], 384 462 "psr-4": { … … 408 486 "support": { 409 487 "issues": "https://github.com/x-wp/helper-functions/issues", 410 "source": "https://github.com/x-wp/helper-functions/tree/v1.1 4.0"411 }, 412 "time": "2024-10- 09T10:17:05+00:00"488 "source": "https://github.com/x-wp/helper-functions/tree/v1.18.0" 489 }, 490 "time": "2024-10-29T22:53:16+00:00" 413 491 }, 414 492 { 415 493 "name": "x-wp/helper-traits", 416 "version": "v1.1 4.0",494 "version": "v1.18.0", 417 495 "source": { 418 496 "type": "git", … … 460 538 "support": { 461 539 "issues": "https://github.com/x-wp/helper-traits/issues", 462 "source": "https://github.com/x-wp/helper-traits/tree/v1.1 4.0"540 "source": "https://github.com/x-wp/helper-traits/tree/v1.18.0" 463 541 }, 464 542 "time": "2024-09-18T12:43:44+00:00" … … 1021 1099 { 1022 1100 "name": "phpstan/phpdoc-parser", 1023 "version": "1.3 2.0",1101 "version": "1.33.0", 1024 1102 "source": { 1025 1103 "type": "git", 1026 1104 "url": "https://github.com/phpstan/phpdoc-parser.git", 1027 "reference": " 6ca22b154efdd9e3c68c56f5d94670920a1c19a4"1028 }, 1029 "dist": { 1030 "type": "zip", 1031 "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/ 6ca22b154efdd9e3c68c56f5d94670920a1c19a4",1032 "reference": " 6ca22b154efdd9e3c68c56f5d94670920a1c19a4",1105 "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" 1106 }, 1107 "dist": { 1108 "type": "zip", 1109 "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140", 1110 "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", 1033 1111 "shasum": "" 1034 1112 }, … … 1062 1140 "support": { 1063 1141 "issues": "https://github.com/phpstan/phpdoc-parser/issues", 1064 "source": "https://github.com/phpstan/phpdoc-parser/tree/1.3 2.0"1065 }, 1066 "time": "2024- 09-26T07:23:32+00:00"1142 "source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0" 1143 }, 1144 "time": "2024-10-13T11:25:22+00:00" 1067 1145 }, 1068 1146 { 1069 1147 "name": "phpstan/phpstan", 1070 "version": "1.12. 6",1148 "version": "1.12.7", 1071 1149 "source": { 1072 1150 "type": "git", 1073 1151 "url": "https://github.com/phpstan/phpstan.git", 1074 "reference": "dc 4d2f145a88ea7141ae698effd64d9df46527ae"1075 }, 1076 "dist": { 1077 "type": "zip", 1078 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dc 4d2f145a88ea7141ae698effd64d9df46527ae",1079 "reference": "dc 4d2f145a88ea7141ae698effd64d9df46527ae",1152 "reference": "dc2b9976bd8b0f84ec9b0e50cc35378551de7af0" 1153 }, 1154 "dist": { 1155 "type": "zip", 1156 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dc2b9976bd8b0f84ec9b0e50cc35378551de7af0", 1157 "reference": "dc2b9976bd8b0f84ec9b0e50cc35378551de7af0", 1080 1158 "shasum": "" 1081 1159 }, … … 1122 1200 } 1123 1201 ], 1124 "time": "2024-10- 06T15:03:59+00:00"1202 "time": "2024-10-18T11:12:07+00:00" 1125 1203 }, 1126 1204 { -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/App_Builder.php
r3167131 r3181790 26 26 */ 27 27 public static function configure( array $config = array() ): App_Builder { 28 $config = static::getDefaultConfig( $config );29 30 28 return ( new App_Builder() ) 31 29 ->useAttributes( $config['attributes'] ) … … 39 37 } 40 38 41 /**42 * Get the default configuration.43 *44 * @param array<string, mixed> $config Configuration options.45 * @return array<string, mixed>46 */47 protected static function getDefaultConfig( array $config ): array {48 return \wp_parse_args(49 $config,50 array(51 'attributes' => true,52 'autowiring' => true,53 'compile' => 'production' === \wp_get_environment_type(),54 'compile_class' => 'CompiledContainer' . \strtoupper( $config['id'] ),55 'compile_dir' => __DIR__ . '/cache',56 'proxies' => false,57 ),58 );59 }60 61 39 //phpcs:ignore Squiz.Commenting.FunctionComment.Missing 62 40 public function enableCompilation( … … 66 44 bool $compile = true, 67 45 ): static { 46 if ( ! $compile ) { 47 return $this; 48 } 49 50 if ( ! \is_dir( $directory ) && ! \wp_mkdir_p( $directory ) ) { 51 return $this; 52 } 53 68 54 // @phpstan-ignore return.type 69 return $compile 70 ? parent::enableCompilation( $directory, $containerClass, $containerParentClass ) 71 : $this; 55 return parent::enableCompilation( $directory, $containerClass, $containerParentClass ); 72 56 } 73 57 … … 81 65 */ 82 66 public function addDefinitions( string|array|DefinitionSource ...$definitions ): static { 83 return \ class_exists( $definitions[0] )67 return \is_string( $definitions[0] ) && \class_exists( $definitions[0] ) 84 68 ? parent::addDefinitions( \xwp_register_module( $definitions[0] )->get_definitions() ) 85 69 : parent::addDefinitions( ...$definitions ); -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/App_Factory.php
r3167131 r3181790 15 15 * Create and manage DI containers. 16 16 * 17 * @method static Container create(array $config) Create a new container. 18 * @method static Container get(string $container_id) Get a container instance. 17 * @method static Container create( array $config) Create a new container. 18 * @method static Container get( string $id ) Get a container instance. 19 * @method static void extend( string $container, array $module, string $position, ?string $target ) Extend an application container definition. 20 * @method static bool decompile( string $id, bool $now ) Decompile a container. 19 21 */ 20 22 final class App_Factory { … … 52 54 } 53 55 56 $config = $this->parse_config( $config ); 57 54 58 return $this->containers[ $config['id'] ] ??= App_Builder::configure( $config ) 55 59 ->addDefinitions( $config['module'] ) 60 ->addDefinitions( array( 'xwp.app.config' => $config ) ) 56 61 ->build(); 62 } 63 64 /** 65 * Extend an application container definition. 66 * 67 * @param string $container Container ID. 68 * @param array<class-string> $module Module classname or array of module classnames. 69 * @param 'before'|'after' $position Position to insert the module. 70 * @param string|null $target Target module to extend. 71 */ 72 protected function call_extend( string $container, array $module, string $position = 'after', ?string $target = null ): void { 73 \add_filter( 74 "xwp_extend_import_{$container}", 75 static function ( array $imports, string $classname ) use( $module, $position, $target ): array { 76 if ( $target && $target !== $classname ) { 77 return $imports; 78 } 79 80 $params = 'after' === $position 81 ? array( $imports, $module ) 82 : array( $module, $imports ); 83 84 return \array_merge( ...$params ); 85 }, 86 10, 87 2, 88 ); 57 89 } 58 90 … … 66 98 return $this->containers[ $id ]; 67 99 } 100 101 /** 102 * Decompile a container. 103 * 104 * @param string $id Container ID. 105 * @param bool $now Decompile now or on shutdown. 106 * @return bool 107 */ 108 protected function call_decompile( string $id, bool $now = false ): bool { 109 $config = $this->containers[ $id ]->get( 'xwp.app.config' ); 110 111 if ( ! $config['compile'] || ! \xwp_wpfs()->is_dir( $config['compile_dir'] ) ) { 112 return false; 113 } 114 115 $cb = static fn() => \xwp_wpfs()->rmdir( $config['compile_dir'], true ); 116 117 // @phpstan-ignore return.void 118 return ! $now ? \add_action( 'shutdown', $cb ) : $cb(); 119 } 120 121 /** 122 * Get the default configuration. 123 * 124 * @param array<string, mixed> $config Configuration options. 125 * @return array<string, mixed> 126 */ 127 protected function parse_config( array $config ): array { 128 return \wp_parse_args( 129 $config, 130 array( 131 'attributes' => true, 132 'autowiring' => true, 133 'compile' => 'production' === \wp_get_environment_type(), 134 'compile_class' => 'CompiledContainer' . \strtoupper( $config['id'] ), 135 'compile_dir' => \WP_CONTENT_DIR . '/cache/xwp-di/' . $config['id'], 136 'proxies' => false, 137 ), 138 ); 139 } 68 140 } -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/Decorators/Action.php
r3167131 r3181790 9 9 namespace XWP\DI\Decorators; 10 10 11 use XWP\DI\Interfaces\Can_Handle; 12 11 13 /** 12 14 * Action hook decorator. 13 15 * 14 16 * @template T of object 15 * @extends Filter<T> 17 * @template H of Can_Handle<T> 18 * @extends Filter<T,H> 16 19 * 17 20 * @since 1.0.0 -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/Decorators/Ajax_Action.php
r3167131 r3181790 15 15 * 16 16 * @template T of object 17 * @extends Action<T> 17 * @template H of Ajax_Handler<T> 18 * @extends Action<T,H> 18 19 */ 19 20 #[\Attribute( \Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD )] -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/Decorators/Filter.php
r3167131 r3181790 20 20 * 21 21 * @template T of object 22 * @template H of Can_Handle<T> 22 23 * @extends Hook<T, ReflectionMethod> 23 * @implements Can_Invoke<T >24 * @implements Can_Invoke<T,H> 24 25 */ 25 26 #[\Attribute( \Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD )] … … 28 29 * The handler. 29 30 * 30 * @var Can_Handle<T>31 * @var H 31 32 */ 32 33 protected Can_Handle $handler; … … 100 101 * Set the handler. 101 102 * 102 * @param Can_Handle<T>$handler The handler.103 * @param H $handler The handler. 103 104 * @return static 104 105 */ -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/Decorators/Handler.php
r3170400 r3181790 54 54 */ 55 55 protected string $container_id; 56 57 /** 58 * Is the handler hookable. 59 * 60 * @var bool 61 */ 62 protected bool $hookable; 56 63 57 64 /** … … 65 72 * @param array<int,string>|string|false $modifiers Values to replace in the tag name. 66 73 * @param string $strategy Initialization strategy. 74 * @param bool $hookable Is the handler hookable. 67 75 */ 68 76 public function __construct( … … 74 82 string|array|false $modifiers = false, 75 83 string $strategy = self::INIT_DEFFERED, 84 bool $hookable = true, 76 85 ) { 77 86 $this->strategy = $strategy; 78 87 $this->loaded = self::INIT_DYNAMICALY === $strategy; 79 88 $this->container_id = $container; 89 $this->hookable = $hookable; 80 90 81 91 parent::__construct( $tag, $tag ? $priority : null, $context, $conditional, $modifiers ); … … 95 105 96 106 public function with_container( ?string $container ): static { 97 $this->container_id ??= $container; 107 if ( null !== $container ) { 108 $this->container_id ??= $container; 109 } 98 110 99 111 return $this; … … 132 144 } 133 145 134 $this->instance ??= $this-> container->get( $this->classname);146 $this->instance ??= $this->initialize(); 135 147 136 148 return $this->on_initialize(); 149 } 150 151 /** 152 * Initialize the handler. 153 * 154 * @return T 155 */ 156 protected function initialize(): object { 157 return $this->container->get( $this->classname ); 137 158 } 138 159 … … 146 167 147 168 if ( \method_exists( $this->classname, 'on_initialize' ) ) { 148 $this-> target->on_initialize();169 $this->container->call( array( $this->classname, 'on_initialize' ) ); 149 170 } 150 171 … … 194 215 return self::INIT_ON_DEMAND === $this->strategy || self::INIT_JUST_IN_TIME === $this->strategy; 195 216 } 217 218 public function is_hookable(): bool { 219 return $this->hookable; 220 } 196 221 } -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/Decorators/Module.php
r3167131 r3181790 29 29 * Constructor. 30 30 * 31 * @param string $container Container ID. 32 * @param string $hook Hook name. 33 * @param int $priority Hook priority. 34 * @param array<int,class-string> $imports Array of submodules to import. 35 * @param array<int,class-string> $handlers Array of handlers to register. 31 * @param string $container Container ID. 32 * @param string $hook Hook name. 33 * @param int $priority Hook priority. 34 * @param array<int,class-string> $imports Array of submodules to import. 35 * @param array<int,class-string> $handlers Array of handlers to register. 36 * @param bool $extendable Is the module extendable. 36 37 */ 37 38 public function __construct( … … 51 52 */ 52 53 protected array $handlers = array(), 54 /** 55 * Is the module extendable? 56 * 57 * @var bool 58 */ 59 protected bool $extendable = false, 53 60 ) { 54 61 parent::__construct( … … 83 90 $definitions = $this->get_definition(); 84 91 85 foreach ( $this-> importsas $import ) {92 foreach ( $this->get_imports() as $import ) { 86 93 $module = $this->imported ? \xwp_get_module( $import ) : \xwp_register_module( $import ); 87 94 … … 92 99 93 100 return $definitions; 101 } 102 103 /** 104 * Get the module imports. 105 * 106 * @return array<int,class-string> 107 */ 108 protected function get_imports(): array { 109 if ( ! $this->extendable ) { 110 return $this->imports; 111 } 112 113 $tag = "xwp_extend_import_{$this->container_id}"; 114 115 /** 116 * Filter the module imports. 117 * 118 * @param array<int,class-string> $imports Array of submodules to import. 119 * @param class-string $classname Module classname. 120 * @return array<int,class-string> 121 * 122 * @since 1.0@beta.8 123 */ 124 return \apply_filters( $tag, $this->imports, $this->classname ); 94 125 } 95 126 -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/Functions/xwp-di-container-fns.php
r3167131 r3181790 31 31 * compile_dir?: string, 32 32 * proxies?: bool, 33 * } $app Application configuration. 34 * @param string $hook Hook to create the container on. 35 * @param int $priority Hook priority. 36 * @return true 37 */ 38 function xwp_load_app( array $app, string $hook = 'plugins_loaded', int $priority = PHP_INT_MIN ): bool { 39 return add_action( 40 $hook, 41 static function () use( $app ): void { 42 xwp_create_app( $app ); 43 }, 44 $priority, 45 ); 46 } 47 48 /** 49 * Create a new app container. 50 * 51 * @param array{ 52 * id: string, 53 * module: class-string, 54 * attributes?: bool, 55 * autowiring?: bool, 56 * compile?: bool, 57 * compile_class?: string, 58 * compile_dir?: string, 59 * proxies?: bool, 33 60 * } $args Application configuration. 34 61 * @return Container … … 37 64 return \XWP\DI\App_Factory::create( $args ); 38 65 } 66 67 /** 68 * Extend an application container definition. 69 * 70 * @param string $container Container ID. 71 * @param string|array<class-string> $module Module classname or array of module classnames. 72 * @param 'before'|'after' $position Position to insert the module. 73 * @param string|null $target Target module to extend. 74 */ 75 function xwp_extend_app( string $container, string|array $module, string $position = 'after', ?string $target = null ): void { 76 if ( ! is_array( $module ) ) { 77 $module = array( $module ); 78 } 79 80 \XWP\DI\App_Factory::extend( $container, $module, $position, $target ); 81 } 82 83 /** 84 * Decompile an application container. 85 * 86 * @param string $container_id Container ID. 87 * @param bool $immediately Decompile now or on shutdown. 88 * @return bool 89 */ 90 function xwp_decompile_app( string $container_id, bool $immediately = false ): bool { 91 return \XWP\DI\App_Factory::decompile( $container_id, $immediately ); 92 } -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/Interfaces/Can_Handle.php
r3167131 r3181790 72 72 */ 73 73 public function is_lazy(): bool; 74 75 /** 76 * Is the handler hookable? 77 * 78 * @return bool 79 */ 80 public function is_hookable(): bool; 74 81 } -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/Interfaces/Can_Invoke.php
r3167131 r3181790 12 12 * Defines decorators that can invoke WordPress hooks. 13 13 * 14 * @template THndlr of object 15 * @extends Can_Hook<THndlr,\ReflectionMethod> 14 * @template TInst of object 15 * @template THndl of Can_Handle<TInst> 16 * @extends Can_Hook<TInst,\ReflectionMethod> 16 17 * 17 18 * @property-read bool $firing Is the hook firing? 18 * @property-read int $fired Number of times the hook has fired.19 * @property-read int $fired Number of times the hook has fired. 19 20 20 * @property-read array{THndlr,string} $target The target method. 21 * @property-read array{TInst,string} $target The target method. 22 * @property-read Thndl $handler The handler instance. 21 23 */ 22 24 interface Can_Invoke extends Can_Hook { … … 48 50 * Set the handler instance. 49 51 * 50 * @template Thndlr of object 51 * @param Can_Handle<Thndlr> $handler Handler instance. 52 * @param THndl $handler Handler instance. 52 53 * @return static 53 54 */ -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/di/src/Invoker.php
r3167131 r3181790 96 96 * @template T of object 97 97 * @param class-string<T> $classname The handler classname. 98 * @return array<string,array<int,Can_Invoke<T >>>98 * @return array<string,array<int,Can_Invoke<T,Can_Handle<T>>>> 99 99 */ 100 100 public function get_hooks( string $classname ): array { … … 227 227 */ 228 228 protected function register_methods( Can_Handle $handler ): static { 229 if ( $this->has_hooks( $handler->classname ) ) {229 if ( $this->has_hooks( $handler->classname ) || ! $handler->is_hookable() ) { 230 230 return $this; 231 231 } … … 248 248 * 249 249 * @template T of object 250 * @param Can_Handle<T> $handler The handler to register the method for. 251 * @param \ReflectionMethod $m The method to register. 252 * @return array<int,Can_Invoke<T>> 253 */ 254 private function register_method( Can_Handle $handler, \ReflectionMethod $m ) { 250 * @template H of Can_Handle<T> 251 * 252 * @param H $handler The handler to register the method for. 253 * @param \ReflectionMethod $method The method to register. 254 * @return array<int,Can_Invoke<T,H>> 255 */ 256 private function register_method( Can_Handle $handler, \ReflectionMethod $method ) { 255 257 $hooks = array(); 256 258 257 foreach ( Reflection::get_decorators( $m , Can_Invoke::class ) as $hook ) {259 foreach ( Reflection::get_decorators( $method, Can_Invoke::class ) as $hook ) { 258 260 $hooks[] = $hook 259 ->with_handler( $handler)260 ->with_target( $m->getName() )261 ->with_reflector( $m);261 ->with_reflector( $method ) 262 ->with_target( $method->getName() ) 263 ->with_handler( $handler ); 262 264 } 263 265 … … 312 314 } 313 315 316 \do_action( 'xwp_di_hooks_loaded_' . $handler->classname, $handler ); 317 314 318 return $this; 315 319 } … … 319 323 * 320 324 * @template T of object 321 * @param Can_Handle<T> $handler The handler to load hooks for. 322 * @param array<string,array<int,Can_Invoke<T>>> $hooks The hooks to load. 325 * @template H of Can_Handle<T> 326 * @param H $handler The handler to load hooks for. 327 * @param array<string,array<int,Can_Invoke<T,H>>> $hooks The hooks to load. 323 328 * @return static 324 329 */ -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/helper-functions/Array_Extra.php
r3111341 r3181790 40 40 return \array_intersect_key( $input_array, \array_flip( $keys ) ); 41 41 } 42 43 final public static function from_string( string|array $target, string $delim ): array { 44 if ( \is_array( $target ) ) { 45 return $target; 46 } 47 48 return \array_values( 49 \array_filter( 50 \array_map( 'trim', \explode( $delim, $target ) ), 51 static fn( $v ) => '' !== $v, 52 ), 53 ); 54 } 42 55 } -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/helper-functions/Request.php
r3155827 r3181790 7 7 */ 8 8 final class Request { 9 /** 10 * Check if a REST namespace should be loaded. Useful to maintain site performance even when lots of REST namespaces are registered. 11 * 12 * @since 9.2.0. 13 * 14 * @param string $space The namespace to check. 15 * @param string $route (Optional) The REST route being checked. 16 * @param array<string> $known Known namespaces that we know are safe to not load if the request is not for them. 17 * 18 * @return bool True if the namespace should be loaded, false otherwise. 19 */ 20 public static function should_load_rest_ns( string $space, ?string $route = null, array $known = array() ): bool { 21 $route ??= $GLOBALS['wp']->query_vars['rest_route'] ?? false; 22 23 if ( ! $route ) { 24 return true; 25 } 26 27 $route = \trailingslashit( \ltrim( $route, '/' ) ); 28 $space = \trailingslashit( $space ); 29 $known = \array_map( 'trailingslashit', $known ); 30 31 /** 32 * Known namespaces that we know are safe to not load if the request is not for them. 33 * Namespaces not in this namespace should always be loaded, because we don't know if they won't be making another internal REST request to an unloaded namespace. 34 * 35 * @param array<string> $known_ns Known namespaces that we know are safe to not load if the request is not for them. 36 * @param string $space The namespace to check. 37 * @param string $route The REST route being checked. 38 * @return array<string> 39 * 40 * @since 1.16.0 41 */ 42 foreach ( \apply_filters( 'xwp_known_rest_namespaces', $known, $space, $route ) as $k ) { 43 if ( \str_starts_with( $route, $k ) ) { 44 return true; 45 } 46 } 47 48 $load = \str_starts_with( $route, $space ); 49 50 /** 51 * Filters whether a namespace should be loaded. 52 * 53 * @param bool $load True if the namespace should be loaded, false otherwise. 54 * @param string $space The namespace to check. 55 * @param string $route The REST route being checked. 56 * @param array $known Known namespaces that we know are safe to not load if the request is not for them. 57 * @return bool 58 * 59 * @since 1.16.0 60 */ 61 return \apply_filters( 'xwp_rest_can_load_namespace', $load, $space, $route, $known ); 62 } 63 9 64 /** 10 65 * Clean input data. -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/helper-functions/composer.json
r3170400 r3181790 32 32 }, 33 33 "files": [ 34 "xwp-helper-fns .php",34 "xwp-helper-fns-arr.php", 35 35 "xwp-helper-fns-num.php", 36 "xwp-helper-fns-req.php" 36 "xwp-helper-fns-req.php", 37 "xwp-helper-fns.php" 37 38 ] 38 39 } -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/helper-functions/xwp-helper-fns-num.php
r3170400 r3181790 7 7 */ 8 8 9 if ( ! function_exists( 'xwp_is_ float_str' ) ) :9 if ( ! function_exists( 'xwp_is_int_str' ) ) : 10 10 11 11 /** -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/helper-functions/xwp-helper-fns-req.php
r3167131 r3181790 8 8 9 9 use XWP\Helper\Functions as f; 10 11 if ( ! function_exists( 'xwp_can_load_rest_ns' ) ) : 12 /** 13 * Check if a REST namespace should be loaded. Useful to maintain site performance even when lots of REST namespaces are registered. 14 * 15 * @param string $space The namespace to check. 16 * @param string|null $route REST route being checked. Optional. 17 * @param array $known Known namespaces that we know are safe to not load if the request is not for them. 18 * @return bool 19 */ 20 function xwp_can_load_rest_ns( string $space, ?string $route = null, array $known = array() ): bool { 21 return f\Request::should_load_rest_ns( $space, $route, $known ); 22 } 23 24 endif; 10 25 11 26 if ( ! function_exists( 'xwp_fetch_get_var' ) ) : -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/helper-functions/xwp-helper-fns.php
r3167131 r3181790 50 50 */ 51 51 function xwp_wpfs( 52 string $method = null,52 string $method = WP_Filesystem_Direct::class, 53 53 array|bool $args = false, 54 54 string|bool $context = false, … … 79 79 ): WP_Filesystem_Base|bool|null { 80 80 return xwp_wpfs( null, $args, $context ); 81 }82 endif;83 84 if ( ! function_exists( 'xwp_array_flatmap' ) ) :85 /**86 * Flattens and maps an array.87 *88 * @template T The type of the elements in the input array.89 * @template R The type of the elements in the returned array.90 *91 * @param callable(T): R $callback Function to apply to each element.92 * @param array<array-key, T> $input_array Array to flatten and map.93 *94 * @return array<array-key, R>95 */96 function xwp_array_flatmap( callable $callback, array $input_array ) {97 return f\Array_Extra::flatmap( $callback, $input_array );98 }99 endif;100 101 if ( ! function_exists( 'wp_array_flatmap' ) ) :102 /**103 * Flattens and maps an array.104 *105 * @template T The type of the elements in the input array.106 * @template R The type of the elements in the returned array.107 *108 * @param array<array-key, T>|callable(T): R $callback Function to apply to each element.109 * @param array<array-key, T>|callable(T): R $input_array Array to flatten and map.110 *111 * @return array<array-key, R>112 */113 function wp_array_flatmap( callable|array $callback, array|callable $input_array ) {114 return is_array( $input_array )115 ? xwp_array_flatmap( $callback, $input_array )116 : xwp_array_flatmap( $input_array, $callback );117 }118 endif;119 120 if ( ! function_exists( 'wp_array_flatmap_assoc' ) ) :121 /**122 * Flatten and map an associative array of arrays.123 *124 * @template R125 * @template T — Applies the callback to the elements of the given arrays126 *127 * @param callable(T): R $callback Callback function to run for each element in each array.128 * @param array<string, <array<T>> $input The input array.129 * @param key-of<T> $key Key whose value will be used as the key for the returned array.130 * @param bool $unkey Optional. Whether to remove the key from the returned array. Default true.131 *132 * @return array<value-of<key-of<T>>, R> An array containing all the elements of arr1 after applying the callback function to each one.133 */134 function wp_array_flatmap_assoc( callable $callback, array $input, string $key, bool $unkey = true ) {135 return f\Array_Extra::flatmap_assoc( $callback, $input, $key, $unkey );136 }137 endif;138 139 if ( ! function_exists( 'wp_array_diff_assoc' ) ) :140 /**141 * Legacy function to extract a slice of an array not including the specified keys.142 *143 * @param array $input_array Input array.144 * @param array $keys Keys to exclude.145 */146 function wp_array_diff_assoc( array $input_array, array $keys ) {147 return xwp_array_diff_assoc( $input_array, ...$keys );148 }149 endif;150 151 if ( ! function_exists( 'xwp_array_diff_assoc' ) ) :152 /**153 * Extracts a slice of array not including the specified keys.154 *155 * @template T The type of the elements in the input array.156 *157 * @param array<string, T> $input_array Input array.158 * @param array<string>|string ...$keys Keys to exclude.159 * @return array<string, T> Array with the keys removed.160 */161 function xwp_array_diff_assoc( array $input_array, string ...$keys ) {162 if ( is_array( $keys[0] ) ) {163 $keys = $keys[0];164 }165 166 return f\Array_Extra::diff_assoc( $input_array, $keys );167 }168 169 endif;170 171 if ( ! function_exists( 'wp_array_rekey' ) ) :172 /**173 * Rekey an array of arrays by a specific key.174 *175 * @param array<string, array<string, mixed>> $arr The input array.176 * @param string $key The key to rekey by.177 * @return array<string, array<string, mixed>> The rekeyed array.178 */179 function wp_array_rekey( array $arr, string $key ): array {180 return f\Array_Extra::rekey( $arr, $key );181 }182 endif;183 184 if ( ! function_exists( 'xwp_array_slice_assoc' ) ) :185 /**186 * Extracts a slice of an array.187 *188 * @template T The type of the elements in the input array.189 *190 * @param array<string, T> $input_array Input array.191 * @param string ...$keys Keys to include.192 * @return array<string, T> Array with only the keys specified.193 */194 function xwp_array_slice_assoc( array $input_array, string ...$keys ) {195 return f\Array_Extra::slice_assoc( $input_array, $keys );196 81 } 197 82 endif; … … 274 159 } 275 160 endif; 161 162 163 if ( ! function_exists( 'xwp_str_to_bool' ) ) : 164 /** 165 * Convert a string to a boolean. 166 * 167 * @param string|bool|null $str The string to convert. 168 * @return bool 169 */ 170 function xwp_str_to_bool( string|bool|null $str = '' ): bool { 171 if ( is_bool( $str ) ) { 172 return $str; 173 } 174 175 if ( xwp_is_int_str( $str ) ) { 176 return intval( $str ) > 0; 177 } 178 179 return match ( strtolower( $str ) ) { 180 'yes', 'true', 'on' => true, 181 'no', 'false', 'off' => false, 182 default => false, 183 }; 184 } 185 endif; 186 187 if ( ! function_exists( 'xwp_bool_to_str' ) ) : 188 /** 189 * Convert a boolean to a string. 190 * 191 * @param bool $boolean The boolean to convert. 192 * @return 'yes'|'no' 193 */ 194 function xwp_bool_to_str( bool|string $boolean ): string { 195 return xwp_str_to_bool( $boolean ) ? 'yes' : 'no'; 196 } 197 endif; 198 199 200 if ( ! function_exists( 'xwp_get_template' ) ) : 201 202 /** 203 * Get a template passing variables and including the file. 204 * 205 * @param string $template The template file. 206 * @param null|array<string,mixed> $params Optional. The variables to pass to the template file. 207 * 208 * @since 1.18.0 209 */ 210 function xwp_get_template( string $template, ?array $params = null ): void { 211 if ( ! file_exists( $template ) ) { 212 _doing_it_wrong( 213 __FUNCTION__, 214 sprintf( 'The template file %s does not exist.', esc_html( basename( $template ) ), ), 215 '1.0.0', 216 ); 217 return; 218 } 219 220 if ( is_array( $params ) && $params ) { 221 //phpcs:ignore WordPress.PHP.DontExtract.extract_extract 222 extract( $params ); 223 } 224 225 include $template; 226 } 227 228 endif; 229 230 231 if ( ! function_exists( 'xwp_get_template_html' ) ) : 232 233 /** 234 * Like `xwp_get_template` but returns the HTML instead of outputting it. 235 * 236 * @param string $template The template file. 237 * @param null|array<string,mixed> $params Optional. The variables to pass to the template file. 238 * @return string 239 * 240 * @since 1.18.0 241 */ 242 function xwp_get_template_html( string $template, ?array $params = null ): string { 243 ob_start(); 244 xwp_get_template( $template, $params ); 245 return (string) ob_get_clean(); 246 } 247 248 endif; -
serbian-addons-for-woocommerce/tags/3.9.3/vendor/x-wp/wc-template-customizer/src/Customizer_Base.php
r3111341 r3181790 51 51 * }> 52 52 */ 53 protected static array $ file_def;53 protected static array $parsed_templates; 54 54 55 55 /** … … 58 58 * @var array<string, string> 59 59 */ 60 protected static array $ templates;60 protected static array $custom_templates; 61 61 62 62 /** … … 65 65 * @var array<string> 66 66 */ 67 protected static array $locked ;67 protected static array $locked_templates; 68 68 69 69 /** … … 129 129 static::$tokens ??= $this->define_tokens(); 130 130 131 static::$ file_def??= $this->define_files();132 static::$ templates ??= $this->define_templates();133 static::$locked ??= $this->define_locked();131 static::$parsed_templates ??= $this->define_files(); 132 static::$custom_templates ??= $this->define_templates(); 133 static::$locked_templates ??= $this->define_locked(); 134 134 135 135 static::$admin ??= $this->define_admin(); … … 245 245 */ 246 246 final protected function define_templates(): array { 247 return \wp_list_pluck( static::$ file_def, 'path' );247 return \wp_list_pluck( static::$parsed_templates, 'path' ); 248 248 } 249 249 … … 254 254 */ 255 255 final protected function define_locked(): array { 256 return \wp_list_pluck( static::$ file_def, 'lock' );256 return \wp_list_pluck( static::$parsed_templates, 'lock' ); 257 257 } 258 258 … … 263 263 */ 264 264 protected function define_admin(): ?Customizer_Admin { 265 return \is_admin() ? new Customizer_Admin( static::$ file_def) : null;265 return \is_admin() ? new Customizer_Admin( static::$parsed_templates ) : null; 266 266 } 267 267 … … 290 290 */ 291 291 public function modify_template_path( string $path, string $name ): string { 292 if ( ! isset( static::$ templates[ $name ] ) ) {292 if ( ! isset( static::$custom_templates[ $name ] ) ) { 293 293 return $path; 294 294 } 295 295 296 if ( ! static::$locked[ $name ] ) {297 $path = \locate_template( array( $name, \WC()->template_path() . $name ) );298 }299 300 return $path ?: static::$ templates[ $name ];296 $path = static::$locked_templates[ $name ] === false 297 ? \locate_template( array( $name, \WC()->template_path() . $name ) ) 298 : false; 299 300 return $path ?: static::$custom_templates[ $name ]; 301 301 } 302 302 } -
serbian-addons-for-woocommerce/tags/3.9.3/woocommerce/checkout/payment-slip.php
r3159568 r3181790 52 52 </tr> 53 53 <tr> 54 55 54 <td class="block-content large"> 56 55 <?php echo wp_kses_post( $customer ); ?> -
serbian-addons-for-woocommerce/trunk/dist/assets.json
r3159568 r3181790 5 5 "images/qr-code.png": "images/qr-code.png", 6 6 "js/admin/admin.js": "js/admin/admin.2afdfd.js", 7 "js/front/main.js": "js/front/main. 74e8ef.js"7 "js/front/main.js": "js/front/main.35f32e.js" 8 8 } -
serbian-addons-for-woocommerce/trunk/dist/assets.php
r3159568 r3181790 15 15 'images/qr-code.png' => 'images/qr-code.png', 16 16 'js/admin/admin.js' => 'js/admin/admin.2afdfd.js', 17 'js/front/main.js' => 'js/front/main. 74e8ef.js',17 'js/front/main.js' => 'js/front/main.35f32e.js', 18 18 ); -
serbian-addons-for-woocommerce/trunk/lib/App.php
r3167131 r3181790 14 14 use XWP\DI\Decorators\Module; 15 15 use XWP\DI\Interfaces\On_Initialize; 16 use XWP_Asset_Retriever;17 16 18 17 /** … … 35 34 )] 36 35 class App implements On_Initialize { 37 use XWP_Asset_Retriever;38 39 36 /** 40 37 * DI Definitions … … 44 41 public static function configure(): array { 45 42 return array( 46 'ips.basedir' => \DI\factory(43 'ips.basedir' => \DI\factory( 47 44 static fn() => \defined( 'WCRS_IPS_DIR' ) 48 45 ? WCRS_IPS_DIR 49 46 : \wp_upload_dir()['basedir'] . '/wcrs-ips', 50 47 ), 51 'ips.generator' => \DI\factory(48 'ips.generator' => \DI\factory( 52 49 static fn() => \class_exists( \Imagick::class ) 53 50 ? QR\QR_Generator_ImageMagick::class 54 51 : QR\QR_Generator_GD::class 55 52 ), 56 QRCode::class => \DI\factory(53 QRCode::class => \DI\factory( 57 54 static fn( QR\QR_Code_Options $opts ) => new QRCode( $opts ) 58 55 ), 59 Utils\Installer::class => \DI\factory( array( Utils\Installer::class, 'instance' ) ), 56 Utils\Installer::class => \DI\factory( array( Utils\Installer::class, 'instance' ) ), 57 \XWP_Asset_Bundle::class => \DI\factory( static fn() => \XWP_Asset_Loader::get_bundle( 'wcrs' ) ), 60 58 ); 61 }62 63 /**64 * Constructor65 *66 * @param Config $config Config instance.67 */68 public function __construct( private Config $config ) {69 59 } 70 60 … … 73 63 */ 74 64 public function on_initialize(): void { 75 $this->load_bundle_config(WCRS_PLUGIN_PATH . 'config/assets.php' );65 \XWP_Asset_Loader::load_bundle( include WCRS_PLUGIN_PATH . 'config/assets.php' ); 76 66 } 77 67 … … 119 109 * @param string $symbol Currency symbol to change. 120 110 * @param string $currency Currency we're changing. 111 * @param Config $config Configuration service. 121 112 * @return string Transliterated currency symbol 122 113 */ 123 #[Filter( tag: 'woocommerce_currency_symbol', priority: 99 )]124 public function change_currency_symbol( string $symbol, string $currency ): string {125 if ( ! $ this->config->get( 'core', 'fix_currency_symbol' ) ) {114 #[Filter( tag: 'woocommerce_currency_symbol', priority: 99, invoke: Filter::INV_PROXIED, args: 2 )] 115 public function change_currency_symbol( string $symbol, string $currency, Config $config ): string { 116 if ( ! $config->get( 'core', 'fix_currency_symbol' ) ) { 126 117 return $symbol; 127 118 } -
serbian-addons-for-woocommerce/trunk/lib/Core/Address_Field_Controller.php
r3167131 r3181790 51 51 $type_field, 52 52 array( 53 'default' => $enabled_type, 54 'description' => \wcsrb_get_entity_types()[ $enabled_type ], 55 'type' => 'hidden', 56 'value' => $enabled_type, 53 'custom_attributes' => array( 54 'data-default' => $enabled_type, 55 ), 56 'default' => $enabled_type, 57 'description' => \wcsrb_get_entity_types()[ $enabled_type ], 58 'type' => 'hidden', 57 59 ), 58 60 ); -
serbian-addons-for-woocommerce/trunk/lib/Functions/wcsrb-helpers.php
r3159568 r3181790 66 66 ); 67 67 } 68 69 /** 70 * Format a bank account number 71 * 72 * @param string $acct The account number. 73 * @param string $format The format to use. Short or long. 74 * @param string $sep The separator to use. 75 * @return string 76 */ 77 function wcsrb_format_bank_acct( string $acct, string $format = 'short', string $sep = '-' ): string { 78 $acct = str_replace( '-', '', $acct ); 79 $middle = ltrim( substr( $acct, 3, -2 ), '0' ); 80 81 if ( 'short' !== $format ) { 82 $middle = str_pad( $middle, 13, '0', STR_PAD_LEFT ); 83 } 84 85 return sprintf( '%1$s%4$s%2$s%4$s%3$s', substr( $acct, 0, 3 ), $middle, substr( $acct, -2 ), $sep ); 86 } -
serbian-addons-for-woocommerce/trunk/lib/Functions/wcsrb-payment-slip.php
r3167131 r3181790 6 6 * @subpackage Utils 7 7 */ 8 9 use chillerlan\QRCode\Common\EccLevel;10 use chillerlan\QRCode\Data\QRMatrix;11 8 12 9 /** -
serbian-addons-for-woocommerce/trunk/lib/Gateway/Gateway_Payment_Slip.php
r3170400 r3181790 17 17 use XWP\DI\Decorators\Filter; 18 18 use XWP\DI\Decorators\Handler; 19 use XWP_Asset_Bundle; 19 20 20 21 /** … … 243 244 * @return string Modified email CSS. 244 245 */ 245 #[Filter( tag: 'woocommerce_email_styles', priority: 9999 )]246 public function add_css_to_emails( string $css, WC_Email $email ) {246 #[Filter( tag: 'woocommerce_email_styles', priority: 9999, invoke: Filter::INV_PROXIED, args: 2 )] 247 public function add_css_to_emails( string $css, WC_Email $email, XWP_Asset_Bundle $bundle ) { 247 248 if ( 'customer_on_hold_order' === $email->id && \wcsrb_order_has_slip( $email->object, true ) ) { 248 $css .= \WCSRB()->asset_data( 'css/email/template.css') . "\n";249 $css .= \WCSRB()->asset_data( 'css/front/main.css') . "\n";249 $css .= $bundle['css/email/template.css']->data() . "\n"; 250 $css .= $bundle['css/front/main.css']->data() . "\n"; 250 251 } 251 252 -
serbian-addons-for-woocommerce/trunk/lib/Services/Config.php
r3167131 r3181790 46 46 47 47 $this->settings['company'] = array( 48 'accounts' => \wcsrb_get_bank_accounts(),48 'accounts' => $this->get_bank_accounts(), 49 49 'address_1' => \get_option( 'woocommerce_store_address', '' ), 50 50 'address_2' => \get_option( 'woocommerce_store_address_2', '' ), … … 55 55 'postcode' => \get_option( 'woocommerce_store_postcode', '' ), 56 56 ); 57 } 58 59 /** 60 * Get the saved bank accounts. 61 * 62 * @return array<int,string> 63 */ 64 private function get_bank_accounts(): array { 65 $accounts = \get_option( 'woocommerce_store_bank_accounts', array() ); 66 67 return \xwp_str_to_arr( $accounts['acct'] ?? $accounts ); 57 68 } 58 69 -
serbian-addons-for-woocommerce/trunk/readme.txt
r3170400 r3181790 8 8 WC requires at least: 8.5 9 9 WC tested up to: 9.2 10 Stable tag: 3.9. 210 Stable tag: 3.9.3 11 11 License: GPLv2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
serbian-addons-for-woocommerce/trunk/serbian-addons-for-woocommerce.php
r3170400 r3181790 4 4 * Plugin URI: https://oblak.studio/open-source/srpski-woocommerce 5 5 * Description: Various addons and tweaks that make WooCommerce compatible with Serbian bureaucracy. 6 * Version: 3.9. 26 * Version: 3.9.3 7 7 * Requires PHP: 8.0 8 8 * Author: Oblak Studio … … 27 27 defined( 'WCRS_PLUGIN_BASE' ) || define( 'WCRS_PLUGIN_BASE', plugin_basename( WCRS_PLUGIN_FILE ) ); 28 28 defined( 'WCRS_PLUGIN_PATH' ) || define( 'WCRS_PLUGIN_PATH', plugin_dir_path( WCRS_PLUGIN_FILE ) ); 29 defined( 'WCRS_VERSION' ) || define( 'WCRS_VERSION', '3.9. 2' );29 defined( 'WCRS_VERSION' ) || define( 'WCRS_VERSION', '3.9.3' ); 30 30 // phpcs:enable WordPress.WhiteSpace.OperatorSpacing.SpacingBefore 31 31 32 32 require __DIR__ . '/vendor/autoload_packages.php'; 33 33 34 wcsrb_init(); 34 xwp_load_app( 35 app: array( 36 'compile' => false, 37 'compile_dir' => __DIR__ . '/cache', 38 'id' => 'wcsrb', 39 'module' => \Oblak\WCSRB\App::class, 40 ), 41 priority: -2, 42 ); -
serbian-addons-for-woocommerce/trunk/vendor/autoload.php
r3167131 r3181790 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit f15f7664b060de4a95ba0e02111b557f::getLoader();25 return ComposerAutoloaderInit70816f8d2f2f8cd20b8d4badcf146258::getLoader(); -
serbian-addons-for-woocommerce/trunk/vendor/autoload_packages.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/automattic/jetpack-autoloader/CHANGELOG.md
r3170400 r3181790 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [3.1.3] - 2024-11-04 9 ### Added 10 - Enable test coverage. [#39961] 7 11 8 12 ## [3.1.2] - 2024-10-15 … … 386 390 - Add Custom Autoloader 387 391 392 [3.1.3]: https://github.com/Automattic/jetpack-autoloader/compare/v3.1.2...v3.1.3 388 393 [3.1.2]: https://github.com/Automattic/jetpack-autoloader/compare/v3.1.1...v3.1.2 389 394 [3.1.1]: https://github.com/Automattic/jetpack-autoloader/compare/v3.1.0...v3.1.1 -
serbian-addons-for-woocommerce/trunk/vendor/automattic/jetpack-autoloader/composer.json
r3155827 r3181790 19 19 "composer/composer": "^1.1 || ^2.0", 20 20 "yoast/phpunit-polyfills": "^1.1.1", 21 "automattic/jetpack-changelogger": "^4.2. 6"21 "automattic/jetpack-changelogger": "^4.2.8" 22 22 }, 23 23 "autoload": { … … 32 32 "phpunit": [ 33 33 "./vendor/phpunit/phpunit/phpunit --colors=always" 34 ], 35 "test-coverage": [ 36 "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php \"./tests/php/tmp/coverage-report.php\"", 37 "php ./tests/php/bin/test-coverage.php \"$COVERAGE_DIR/php.cov\"" 34 38 ], 35 39 "test-php": [ -
serbian-addons-for-woocommerce/trunk/vendor/automattic/jetpack-autoloader/src/AutoloadGenerator.php
r3170400 r3181790 22 22 class AutoloadGenerator { 23 23 24 const VERSION = '3.1. 2';24 const VERSION = '3.1.3'; 25 25 26 26 /** -
serbian-addons-for-woocommerce/trunk/vendor/automattic/jetpack-constants/CHANGELOG.md
r3155827 r3181790 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [2.0.5] - 2024-11-04 9 ### Added 10 - Enable test coverage. [#39961] 7 11 8 12 ## [2.0.4] - 2024-08-23 … … 175 179 - Packages: Finish the constants package 176 180 181 [2.0.5]: https://github.com/Automattic/jetpack-constants/compare/v2.0.4...v2.0.5 177 182 [2.0.4]: https://github.com/Automattic/jetpack-constants/compare/v2.0.3...v2.0.4 178 183 [2.0.3]: https://github.com/Automattic/jetpack-constants/compare/v2.0.2...v2.0.3 -
serbian-addons-for-woocommerce/trunk/vendor/automattic/jetpack-constants/composer.json
r3155827 r3181790 10 10 "brain/monkey": "2.6.1", 11 11 "yoast/phpunit-polyfills": "^1.1.1", 12 "automattic/jetpack-changelogger": "^4.2. 6"12 "automattic/jetpack-changelogger": "^4.2.8" 13 13 }, 14 14 "suggest": { … … 23 23 "phpunit": [ 24 24 "./vendor/phpunit/phpunit/phpunit --colors=always" 25 ], 26 "test-coverage": [ 27 "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php \"$COVERAGE_DIR/php.cov\"" 25 28 ], 26 29 "test-php": [ -
serbian-addons-for-woocommerce/trunk/vendor/composer/autoload_classmap.php
r3167131 r3181790 13 13 'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => $vendorDir . '/automattic/jetpack-autoloader/src/ManifestGenerator.php', 14 14 'Automattic\\Jetpack\\Constants' => $vendorDir . '/automattic/jetpack-constants/src/class-constants.php', 15 'CURLStringFile' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php', 15 16 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 16 17 'DI\\Attribute\\Inject' => $vendorDir . '/php-di/php-di/src/Attribute/Inject.php', … … 120 121 'Oblak\\WCSRB\\Utils\\Installer' => $baseDir . '/lib/Utils/Installer.php', 121 122 'Oblak\\WCSRB\\Utils\\Template_Extender' => $baseDir . '/lib/Utils/Template_Extender.php', 122 'Oblak\\WP\\Admin_Notice_Manager' => $vendorDir . '/oblak/admin-notice-manager/src/Admin_Notice_Manager.php',123 123 'Oblak\\WP\\Base_Plugin_Installer' => $vendorDir . '/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php', 124 124 'Oblak\\WP\\Update_Callback_Handler' => $vendorDir . '/oblak/wp-plugin-installer/src/Update_Callback_Handler.php', … … 126 126 'Psr\\Container\\ContainerInterface' => $vendorDir . '/psr/container/src/ContainerInterface.php', 127 127 'Psr\\Container\\NotFoundExceptionInterface' => $vendorDir . '/psr/container/src/NotFoundExceptionInterface.php', 128 'ReturnTypeWillChange' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 129 'Symfony\\Polyfill\\Php81\\Php81' => $vendorDir . '/symfony/polyfill-php81/Php81.php', 128 130 'WP_Filesystem_Streaming' => $vendorDir . '/x-wp/helper-classes/WP/Filesystem_Streaming.php', 129 131 'XWC\\Admin\\Settings_Page_Base' => $vendorDir . '/x-wp/helper-woocommerce/Admin/Settings_Page_Base.php', … … 132 134 'XWC\\Template\\Customizer_Base' => $vendorDir . '/x-wp/wc-template-customizer/src/Customizer_Base.php', 133 135 'XWC\\Traits\\Settings_API_Methods' => $vendorDir . '/x-wp/helper-woocommerce/Traits/Settings_API_Methods.php', 136 'XWP\\ANM\\Notice_Manager' => $vendorDir . '/x-wp/admin-notice-manager/src/Notice_Manager.php', 137 'XWP\\ANM\\Notice_Repository' => $vendorDir . '/x-wp/admin-notice-manager/src/Notice_Repository.php', 134 138 'XWP\\DI\\App_Builder' => $vendorDir . '/x-wp/di/src/App_Builder.php', 135 139 'XWP\\DI\\App_Factory' => $vendorDir . '/x-wp/di/src/App_Factory.php', … … 141 145 'XWP\\DI\\Decorators\\Hook' => $vendorDir . '/x-wp/di/src/Decorators/Hook.php', 142 146 'XWP\\DI\\Decorators\\Module' => $vendorDir . '/x-wp/di/src/Decorators/Module.php', 147 'XWP\\DI\\Decorators\\REST_Handler' => $vendorDir . '/x-wp/di/src/Decorators/REST_Handler.php', 148 'XWP\\DI\\Decorators\\REST_Route' => $vendorDir . '/x-wp/di/src/Decorators/REST_Route.php', 143 149 'XWP\\DI\\Handler_Factory' => $vendorDir . '/x-wp/di/src/Handler_Factory.php', 144 150 'XWP\\DI\\Hook_Context' => $vendorDir . '/x-wp/di/src/Hook_Context.php', … … 172 178 'XWP\\Helper\\Traits\\Singleton_Ex' => $vendorDir . '/x-wp/helper-traits/Singleton_Ex.php', 173 179 'XWP\\Helper\\Traits\\View_Loader' => $vendorDir . '/x-wp/helper-traits/View_Loader.php', 180 'XWP_Admin_Notice' => $vendorDir . '/x-wp/admin-notice-manager/src/Core/Notice.php', 174 181 'XWP_Asset_Bundle' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Bundle.php', 175 182 'XWP_Asset_Loader' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Loader.php', -
serbian-addons-for-woocommerce/trunk/vendor/composer/autoload_files.php
r3170400 r3181790 7 7 8 8 return array( 9 ' 6c427d7d289e1cfc9c7756e71133bee6' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns.php',9 'e7e6bab1ed2be1042591496e1ad3e230' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-arr.php', 10 10 '6f4d42339b919aad008d719d6274512f' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-num.php', 11 11 'eac005e7ae06387970897430e20a14f8' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-req.php', 12 '6c427d7d289e1cfc9c7756e71133bee6' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns.php', 12 13 'b33e3d135e5d9e47d845c576147bda89' => $vendorDir . '/php-di/php-di/src/functions.php', 14 '23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php', 15 'c4eb3dd9806877a728c0b0fecfd8a0a8' => $vendorDir . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-fns.php', 16 'fc42141d84284e25c97732976f63c9e2' => $vendorDir . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-init.php', 13 17 '601305a3774ec67d18e3b43f7ff1eba8' => $vendorDir . '/oblak/serbian-validators/src/serbian-validator-utils.php', 14 18 'bbaf26909e2f3126d0f4bb53f73f87d1' => $vendorDir . '/oblak/serbian-validators/src/validate-jmbg.php', … … 21 25 '289d5db207f260edee5d940f2b0874b1' => $vendorDir . '/x-wp/di/src/Functions/xwp-di-helper-fns.php', 22 26 '7442b89bc178a54ca68a1f7be9a62dd1' => $baseDir . '/lib/Functions/wcsrb-address-field-fns.php', 23 'f45becae259e3085ac94c414354b9e11' => $baseDir . '/lib/Functions/wcsrb-core.php',24 27 '2cbbb54dca44ace1c636c9aedd6c2704' => $baseDir . '/lib/Functions/wcsrb-helpers.php', 25 28 '230a030de422f339e1c51f92a5d8d054' => $baseDir . '/lib/Functions/wcsrb-payment-slip.php', -
serbian-addons-for-woocommerce/trunk/vendor/composer/autoload_psr4.php
r3167131 r3181790 14 14 'XWP\\Dependency\\' => array($vendorDir . '/x-wp/asset-loader/src'), 15 15 'XWP\\DI\\' => array($vendorDir . '/x-wp/di/src'), 16 'XWP\\ANM\\' => array($vendorDir . '/x-wp/admin-notice-manager/src'), 16 17 'XWC\\Template\\' => array($vendorDir . '/x-wp/wc-template-customizer/src'), 17 18 'XWC\\' => array($vendorDir . '/x-wp/helper-woocommerce'), 19 'Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'), 18 20 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), 19 'Oblak\\WP\\' => array($vendorDir . '/oblak/ admin-notice-manager/src', $vendorDir . '/oblak/wp-plugin-installer/src'),21 'Oblak\\WP\\' => array($vendorDir . '/oblak/wp-plugin-installer/src'), 20 22 'Oblak\\WCSRB\\' => array($baseDir . '/lib'), 21 23 'Laravel\\SerializableClosure\\' => array($vendorDir . '/laravel/serializable-closure/src'), -
serbian-addons-for-woocommerce/trunk/vendor/composer/autoload_real.php
r3167131 r3181790 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit f15f7664b060de4a95ba0e02111b557f5 class ComposerAutoloaderInit70816f8d2f2f8cd20b8d4badcf146258 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit f15f7664b060de4a95ba0e02111b557f', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit70816f8d2f2f8cd20b8d4badcf146258', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit f15f7664b060de4a95ba0e02111b557f', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit70816f8d2f2f8cd20b8d4badcf146258', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::getInitializer($loader)); 33 33 34 34 $loader->setClassMapAuthoritative(true); 35 35 $loader->register(true); 36 36 37 $filesToLoad = \Composer\Autoload\ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::$files;37 $filesToLoad = \Composer\Autoload\ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::$files; 38 38 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 39 39 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
serbian-addons-for-woocommerce/trunk/vendor/composer/autoload_static.php
r3170400 r3181790 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit f15f7664b060de4a95ba0e02111b557f7 class ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258 8 8 { 9 9 public static $files = array ( 10 ' 6c427d7d289e1cfc9c7756e71133bee6' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns.php',10 'e7e6bab1ed2be1042591496e1ad3e230' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns-arr.php', 11 11 '6f4d42339b919aad008d719d6274512f' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns-num.php', 12 12 'eac005e7ae06387970897430e20a14f8' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns-req.php', 13 '6c427d7d289e1cfc9c7756e71133bee6' => __DIR__ . '/..' . '/x-wp/helper-functions/xwp-helper-fns.php', 13 14 'b33e3d135e5d9e47d845c576147bda89' => __DIR__ . '/..' . '/php-di/php-di/src/functions.php', 15 '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php', 16 'c4eb3dd9806877a728c0b0fecfd8a0a8' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-fns.php', 17 'fc42141d84284e25c97732976f63c9e2' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-init.php', 14 18 '601305a3774ec67d18e3b43f7ff1eba8' => __DIR__ . '/..' . '/oblak/serbian-validators/src/serbian-validator-utils.php', 15 19 'bbaf26909e2f3126d0f4bb53f73f87d1' => __DIR__ . '/..' . '/oblak/serbian-validators/src/validate-jmbg.php', … … 22 26 '289d5db207f260edee5d940f2b0874b1' => __DIR__ . '/..' . '/x-wp/di/src/Functions/xwp-di-helper-fns.php', 23 27 '7442b89bc178a54ca68a1f7be9a62dd1' => __DIR__ . '/../..' . '/lib/Functions/wcsrb-address-field-fns.php', 24 'f45becae259e3085ac94c414354b9e11' => __DIR__ . '/../..' . '/lib/Functions/wcsrb-core.php',25 28 '2cbbb54dca44ace1c636c9aedd6c2704' => __DIR__ . '/../..' . '/lib/Functions/wcsrb-helpers.php', 26 29 '230a030de422f339e1c51f92a5d8d054' => __DIR__ . '/../..' . '/lib/Functions/wcsrb-payment-slip.php', … … 41 44 'XWP\\Dependency\\' => 15, 42 45 'XWP\\DI\\' => 7, 46 'XWP\\ANM\\' => 8, 43 47 'XWC\\Template\\' => 13, 44 48 'XWC\\' => 4, 45 49 ), 50 'S' => 51 array ( 52 'Symfony\\Polyfill\\Php81\\' => 23, 53 ), 46 54 'P' => 47 55 array ( … … 100 108 0 => __DIR__ . '/..' . '/x-wp/di/src', 101 109 ), 110 'XWP\\ANM\\' => 111 array ( 112 0 => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src', 113 ), 102 114 'XWC\\Template\\' => 103 115 array ( … … 108 120 0 => __DIR__ . '/..' . '/x-wp/helper-woocommerce', 109 121 ), 122 'Symfony\\Polyfill\\Php81\\' => 123 array ( 124 0 => __DIR__ . '/..' . '/symfony/polyfill-php81', 125 ), 110 126 'Psr\\Container\\' => 111 127 array ( … … 114 130 'Oblak\\WP\\' => 115 131 array ( 116 0 => __DIR__ . '/..' . '/oblak/admin-notice-manager/src', 117 1 => __DIR__ . '/..' . '/oblak/wp-plugin-installer/src', 132 0 => __DIR__ . '/..' . '/oblak/wp-plugin-installer/src', 118 133 ), 119 134 'Oblak\\WCSRB\\' => … … 146 161 'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => __DIR__ . '/..' . '/automattic/jetpack-autoloader/src/ManifestGenerator.php', 147 162 'Automattic\\Jetpack\\Constants' => __DIR__ . '/..' . '/automattic/jetpack-constants/src/class-constants.php', 163 'CURLStringFile' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php', 148 164 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 149 165 'DI\\Attribute\\Inject' => __DIR__ . '/..' . '/php-di/php-di/src/Attribute/Inject.php', … … 253 269 'Oblak\\WCSRB\\Utils\\Installer' => __DIR__ . '/../..' . '/lib/Utils/Installer.php', 254 270 'Oblak\\WCSRB\\Utils\\Template_Extender' => __DIR__ . '/../..' . '/lib/Utils/Template_Extender.php', 255 'Oblak\\WP\\Admin_Notice_Manager' => __DIR__ . '/..' . '/oblak/admin-notice-manager/src/Admin_Notice_Manager.php',256 271 'Oblak\\WP\\Base_Plugin_Installer' => __DIR__ . '/..' . '/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php', 257 272 'Oblak\\WP\\Update_Callback_Handler' => __DIR__ . '/..' . '/oblak/wp-plugin-installer/src/Update_Callback_Handler.php', … … 259 274 'Psr\\Container\\ContainerInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerInterface.php', 260 275 'Psr\\Container\\NotFoundExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/NotFoundExceptionInterface.php', 276 'ReturnTypeWillChange' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 277 'Symfony\\Polyfill\\Php81\\Php81' => __DIR__ . '/..' . '/symfony/polyfill-php81/Php81.php', 261 278 'WP_Filesystem_Streaming' => __DIR__ . '/..' . '/x-wp/helper-classes/WP/Filesystem_Streaming.php', 262 279 'XWC\\Admin\\Settings_Page_Base' => __DIR__ . '/..' . '/x-wp/helper-woocommerce/Admin/Settings_Page_Base.php', … … 265 282 'XWC\\Template\\Customizer_Base' => __DIR__ . '/..' . '/x-wp/wc-template-customizer/src/Customizer_Base.php', 266 283 'XWC\\Traits\\Settings_API_Methods' => __DIR__ . '/..' . '/x-wp/helper-woocommerce/Traits/Settings_API_Methods.php', 284 'XWP\\ANM\\Notice_Manager' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Notice_Manager.php', 285 'XWP\\ANM\\Notice_Repository' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Notice_Repository.php', 267 286 'XWP\\DI\\App_Builder' => __DIR__ . '/..' . '/x-wp/di/src/App_Builder.php', 268 287 'XWP\\DI\\App_Factory' => __DIR__ . '/..' . '/x-wp/di/src/App_Factory.php', … … 274 293 'XWP\\DI\\Decorators\\Hook' => __DIR__ . '/..' . '/x-wp/di/src/Decorators/Hook.php', 275 294 'XWP\\DI\\Decorators\\Module' => __DIR__ . '/..' . '/x-wp/di/src/Decorators/Module.php', 295 'XWP\\DI\\Decorators\\REST_Handler' => __DIR__ . '/..' . '/x-wp/di/src/Decorators/REST_Handler.php', 296 'XWP\\DI\\Decorators\\REST_Route' => __DIR__ . '/..' . '/x-wp/di/src/Decorators/REST_Route.php', 276 297 'XWP\\DI\\Handler_Factory' => __DIR__ . '/..' . '/x-wp/di/src/Handler_Factory.php', 277 298 'XWP\\DI\\Hook_Context' => __DIR__ . '/..' . '/x-wp/di/src/Hook_Context.php', … … 305 326 'XWP\\Helper\\Traits\\Singleton_Ex' => __DIR__ . '/..' . '/x-wp/helper-traits/Singleton_Ex.php', 306 327 'XWP\\Helper\\Traits\\View_Loader' => __DIR__ . '/..' . '/x-wp/helper-traits/View_Loader.php', 328 'XWP_Admin_Notice' => __DIR__ . '/..' . '/x-wp/admin-notice-manager/src/Core/Notice.php', 307 329 'XWP_Asset_Bundle' => __DIR__ . '/..' . '/x-wp/asset-loader/src/Core/Asset_Bundle.php', 308 330 'XWP_Asset_Loader' => __DIR__ . '/..' . '/x-wp/asset-loader/src/Core/Asset_Loader.php', … … 377 399 { 378 400 return \Closure::bind(function () use ($loader) { 379 $loader->prefixLengthsPsr4 = ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::$prefixLengthsPsr4;380 $loader->prefixDirsPsr4 = ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::$prefixDirsPsr4;381 $loader->classMap = ComposerStaticInit f15f7664b060de4a95ba0e02111b557f::$classMap;401 $loader->prefixLengthsPsr4 = ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::$prefixLengthsPsr4; 402 $loader->prefixDirsPsr4 = ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::$prefixDirsPsr4; 403 $loader->classMap = ComposerStaticInit70816f8d2f2f8cd20b8d4badcf146258::$classMap; 382 404 383 405 }, null, ClassLoader::class); -
serbian-addons-for-woocommerce/trunk/vendor/composer/installed.json
r3170400 r3181790 3 3 { 4 4 "name": "automattic/jetpack-autoloader", 5 "version": "v3.1. 2",6 "version_normalized": "3.1. 2.0",5 "version": "v3.1.3", 6 "version_normalized": "3.1.3.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/Automattic/jetpack-autoloader.git", 10 "reference": " c111020cac7c6a830af6f6827c175e3c76a60f75"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/ c111020cac7c6a830af6f6827c175e3c76a60f75",15 "reference": " c111020cac7c6a830af6f6827c175e3c76a60f75",10 "reference": "e7e49a4e2f16cb2dfd3e58c478499a60d7d51839" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/e7e49a4e2f16cb2dfd3e58c478499a60d7d51839", 15 "reference": "e7e49a4e2f16cb2dfd3e58c478499a60d7d51839", 16 16 "shasum": "" 17 17 }, … … 21 21 }, 22 22 "require-dev": { 23 "automattic/jetpack-changelogger": "^4.2. 6",23 "automattic/jetpack-changelogger": "^4.2.8", 24 24 "composer/composer": "^1.1 || ^2.0", 25 25 "yoast/phpunit-polyfills": "^1.1.1" 26 26 }, 27 "time": "2024-1 0-15T22:10:35+00:00",27 "time": "2024-11-04T09:23:56+00:00", 28 28 "type": "composer-plugin", 29 29 "extra": { … … 64 64 ], 65 65 "support": { 66 "source": "https://github.com/Automattic/jetpack-autoloader/tree/v3.1. 2"66 "source": "https://github.com/Automattic/jetpack-autoloader/tree/v3.1.3" 67 67 }, 68 68 "install-path": "../automattic/jetpack-autoloader" … … 70 70 { 71 71 "name": "automattic/jetpack-constants", 72 "version": "v2.0. 4",73 "version_normalized": "2.0. 4.0",72 "version": "v2.0.5", 73 "version_normalized": "2.0.5.0", 74 74 "source": { 75 75 "type": "git", 76 76 "url": "https://github.com/Automattic/jetpack-constants.git", 77 "reference": " f6958c313a34c5e92171c45a57d9dc978e5975ed"78 }, 79 "dist": { 80 "type": "zip", 81 "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/ f6958c313a34c5e92171c45a57d9dc978e5975ed",82 "reference": " f6958c313a34c5e92171c45a57d9dc978e5975ed",77 "reference": "0c2644d642b06ae2a31c561f5bfc6f74a4abc8f1" 78 }, 79 "dist": { 80 "type": "zip", 81 "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/0c2644d642b06ae2a31c561f5bfc6f74a4abc8f1", 82 "reference": "0c2644d642b06ae2a31c561f5bfc6f74a4abc8f1", 83 83 "shasum": "" 84 84 }, … … 87 87 }, 88 88 "require-dev": { 89 "automattic/jetpack-changelogger": "^4.2. 6",89 "automattic/jetpack-changelogger": "^4.2.8", 90 90 "brain/monkey": "2.6.1", 91 91 "yoast/phpunit-polyfills": "^1.1.1" … … 94 94 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 95 95 }, 96 "time": "2024- 08-23T14:28:14+00:00",96 "time": "2024-11-04T09:23:35+00:00", 97 97 "type": "jetpack-library", 98 98 "extra": { … … 118 118 "description": "A wrapper for defining constants in a more testable way.", 119 119 "support": { 120 "source": "https://github.com/Automattic/jetpack-constants/tree/v2.0. 4"120 "source": "https://github.com/Automattic/jetpack-constants/tree/v2.0.5" 121 121 }, 122 122 "install-path": "../automattic/jetpack-constants" … … 354 354 }, 355 355 { 356 "name": "oblak/admin-notice-manager",357 "version": "2.0.0",358 "version_normalized": "2.0.0.0",359 "source": {360 "type": "git",361 "url": "https://github.com/oblakstudio/admin-notice-manager.git",362 "reference": "53a32b62d9799fd486adf0bb09aeb5d80a7a214d"363 },364 "dist": {365 "type": "zip",366 "url": "https://api.github.com/repos/oblakstudio/admin-notice-manager/zipball/53a32b62d9799fd486adf0bb09aeb5d80a7a214d",367 "reference": "53a32b62d9799fd486adf0bb09aeb5d80a7a214d",368 "shasum": ""369 },370 "require": {371 "php": ">=7.3"372 },373 "require-dev": {374 "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",375 "phpcompatibility/phpcompatibility-wp": "*",376 "squizlabs/php_codesniffer": "3.*",377 "wp-coding-standards/wpcs": "*"378 },379 "time": "2022-10-23T15:30:02+00:00",380 "type": "library",381 "installation-source": "dist",382 "autoload": {383 "psr-4": {384 "Oblak\\WP\\": "src/"385 }386 },387 "notification-url": "https://packagist.org/downloads/",388 "license": [389 "GPL-2.0-only"390 ],391 "description": "Admin Notice manager for WordPress Admin",392 "support": {393 "issues": "https://github.com/oblakstudio/admin-notice-manager/issues",394 "source": "https://github.com/oblakstudio/admin-notice-manager/tree/v2.0.0"395 },396 "install-path": "../oblak/admin-notice-manager"397 },398 {399 356 "name": "oblak/serbian-validators", 400 357 "version": "1.1.1", … … 448 405 { 449 406 "name": "oblak/wp-plugin-installer", 450 "version": "v2.1. 3",451 "version_normalized": "2.1. 3.0",407 "version": "v2.1.4", 408 "version_normalized": "2.1.4.0", 452 409 "source": { 453 410 "type": "git", 454 411 "url": "https://github.com/oblakstudio/wp-plugin-installer.git", 455 "reference": " 9a8726f5e659dd81e84ff8408b267829f8fa695a"456 }, 457 "dist": { 458 "type": "zip", 459 "url": "https://api.github.com/repos/oblakstudio/wp-plugin-installer/zipball/ 9a8726f5e659dd81e84ff8408b267829f8fa695a",460 "reference": " 9a8726f5e659dd81e84ff8408b267829f8fa695a",412 "reference": "e34702944c37cf834fb4ee303039cb66b00b979b" 413 }, 414 "dist": { 415 "type": "zip", 416 "url": "https://api.github.com/repos/oblakstudio/wp-plugin-installer/zipball/e34702944c37cf834fb4ee303039cb66b00b979b", 417 "reference": "e34702944c37cf834fb4ee303039cb66b00b979b", 461 418 "shasum": "" 462 419 }, 463 420 "require": { 464 421 "automattic/jetpack-constants": "^2", 465 "oblak/admin-notice-manager": "^2",466 422 "php": ">= 8.0", 467 "woocommerce/action-scheduler": "^3.7" 423 "woocommerce/action-scheduler": "^3.7", 424 "x-wp/admin-notice-manager": "^1.0" 468 425 }, 469 426 "require-dev": { 470 427 "ergebnis/composer-normalize": "^2.42", 471 "oblak/wordpress-coding-standard": "^1" 428 "oblak/wordpress-coding-standard": "^1", 429 "wp-cli/wp-cli": "^2.11" 472 430 }, 473 431 "suggest": { 474 432 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 475 433 }, 476 "time": "2024- 02-09T21:39:23+00:00",434 "time": "2024-11-01T12:02:40+00:00", 477 435 "type": "library", 478 436 "installation-source": "dist", … … 498 456 "support": { 499 457 "issues": "https://github.com/oblakstudio/wp-plugin-installer/issues", 500 "source": "https://github.com/oblakstudio/wp-plugin-installer/tree/v2.1. 3"458 "source": "https://github.com/oblakstudio/wp-plugin-installer/tree/v2.1.4" 501 459 }, 502 460 "install-path": "../oblak/wp-plugin-installer" … … 693 651 }, 694 652 { 653 "name": "symfony/polyfill-php81", 654 "version": "v1.31.0", 655 "version_normalized": "1.31.0.0", 656 "source": { 657 "type": "git", 658 "url": "https://github.com/symfony/polyfill-php81.git", 659 "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" 660 }, 661 "dist": { 662 "type": "zip", 663 "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", 664 "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", 665 "shasum": "" 666 }, 667 "require": { 668 "php": ">=7.2" 669 }, 670 "time": "2024-09-09T11:45:10+00:00", 671 "type": "library", 672 "extra": { 673 "thanks": { 674 "name": "symfony/polyfill", 675 "url": "https://github.com/symfony/polyfill" 676 } 677 }, 678 "installation-source": "dist", 679 "autoload": { 680 "files": [ 681 "bootstrap.php" 682 ], 683 "psr-4": { 684 "Symfony\\Polyfill\\Php81\\": "" 685 }, 686 "classmap": [ 687 "Resources/stubs" 688 ] 689 }, 690 "notification-url": "https://packagist.org/downloads/", 691 "license": [ 692 "MIT" 693 ], 694 "authors": [ 695 { 696 "name": "Nicolas Grekas", 697 "email": "p@tchwork.com" 698 }, 699 { 700 "name": "Symfony Community", 701 "homepage": "https://symfony.com/contributors" 702 } 703 ], 704 "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", 705 "homepage": "https://symfony.com", 706 "keywords": [ 707 "compatibility", 708 "polyfill", 709 "portable", 710 "shim" 711 ], 712 "support": { 713 "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" 714 }, 715 "funding": [ 716 { 717 "url": "https://symfony.com/sponsor", 718 "type": "custom" 719 }, 720 { 721 "url": "https://github.com/fabpot", 722 "type": "github" 723 }, 724 { 725 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 726 "type": "tidelift" 727 } 728 ], 729 "install-path": "../symfony/polyfill-php81" 730 }, 731 { 695 732 "name": "woocommerce/action-scheduler", 696 733 "version": "3.8.2", … … 739 776 }, 740 777 { 741 "name": "x-wp/asset-loader", 742 "version": "v1.0.0", 743 "version_normalized": "1.0.0.0", 744 "source": { 745 "type": "git", 746 "url": "https://github.com/x-wp/asset-loader.git", 747 "reference": "8198e2337bee579fc96a6f09e2c74fd745c98b6f" 748 }, 749 "dist": { 750 "type": "zip", 751 "url": "https://api.github.com/repos/x-wp/asset-loader/zipball/8198e2337bee579fc96a6f09e2c74fd745c98b6f", 752 "reference": "8198e2337bee579fc96a6f09e2c74fd745c98b6f", 753 "shasum": "" 754 }, 755 "require": { 756 "automattic/jetpack-constants": "^2.0", 778 "name": "x-wp/admin-notice-manager", 779 "version": "v1.0.1", 780 "version_normalized": "1.0.1.0", 781 "source": { 782 "type": "git", 783 "url": "https://github.com/x-wp/admin-notice-manager.git", 784 "reference": "61bfbf90f90117d24af5130bbc80911b1c10f3cc" 785 }, 786 "dist": { 787 "type": "zip", 788 "url": "https://api.github.com/repos/x-wp/admin-notice-manager/zipball/61bfbf90f90117d24af5130bbc80911b1c10f3cc", 789 "reference": "61bfbf90f90117d24af5130bbc80911b1c10f3cc", 790 "shasum": "" 791 }, 792 "require": { 757 793 "php": ">=8.0", 758 "x-wp/helper-functions": "^1. 9",759 "x-wp/helper-traits": "^1. 9"760 }, 761 " provide": {762 " x-wp/asset-loader-implementation": "1.0"794 "x-wp/helper-functions": "^1.16", 795 "x-wp/helper-traits": "^1.16" 796 }, 797 "replace": { 798 "oblak/admin-notice-manager": "*" 763 799 }, 764 800 "require-dev": { … … 774 810 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 775 811 }, 776 "time": "2024-09-17T12:29:39+00:00", 812 "time": "2024-11-01T13:09:35+00:00", 813 "type": "library", 814 "installation-source": "dist", 815 "autoload": { 816 "files": [ 817 "src/Functions/xwp-anm-fns.php", 818 "src/Functions/xwp-anm-init.php" 819 ], 820 "psr-4": { 821 "XWP\\ANM\\": "src/" 822 }, 823 "classmap": [ 824 "src/Core/" 825 ] 826 }, 827 "notification-url": "https://packagist.org/downloads/", 828 "license": [ 829 "GPL-2.0-only" 830 ], 831 "authors": [ 832 { 833 "name": "Sibin Grasic", 834 "email": "i.am@sib.ing" 835 } 836 ], 837 "description": "Simplifies the process of working with admin notices in WordPress.", 838 "homepage": "https://extended.wp.rs/docs/packages/admin-notice-manager", 839 "keywords": [ 840 "admin", 841 "admin notices", 842 "notices", 843 "wordpress" 844 ], 845 "support": { 846 "issues": "https://github.com/x-wp/admin-notice-manager/issues", 847 "source": "https://github.com/x-wp/admin-notice-manager/tree/v1.0.1" 848 }, 849 "install-path": "../x-wp/admin-notice-manager" 850 }, 851 { 852 "name": "x-wp/asset-loader", 853 "version": "v1.1.1", 854 "version_normalized": "1.1.1.0", 855 "source": { 856 "type": "git", 857 "url": "https://github.com/x-wp/asset-loader.git", 858 "reference": "f4a445e27fc913c20ab42ac7467b83514b750794" 859 }, 860 "dist": { 861 "type": "zip", 862 "url": "https://api.github.com/repos/x-wp/asset-loader/zipball/f4a445e27fc913c20ab42ac7467b83514b750794", 863 "reference": "f4a445e27fc913c20ab42ac7467b83514b750794", 864 "shasum": "" 865 }, 866 "require": { 867 "automattic/jetpack-constants": "^2.0", 868 "php": ">=8.0", 869 "x-wp/helper-functions": "^1.18", 870 "x-wp/helper-traits": "^1.9" 871 }, 872 "provide": { 873 "x-wp/asset-loader-implementation": "1.0" 874 }, 875 "require-dev": { 876 "oblak/wordpress-coding-standard": "^1", 877 "php-stubs/wordpress-stubs": "^6.5", 878 "phpstan/extension-installer": "^1.3", 879 "phpstan/phpstan": "^1.10", 880 "phpstan/phpstan-deprecation-rules": "^1.1", 881 "swissspidy/phpstan-no-private": "^0.2.0", 882 "szepeviktor/phpstan-wordpress": "^1.3" 883 }, 884 "suggest": { 885 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 886 }, 887 "time": "2024-11-04T19:51:33+00:00", 777 888 "type": "library", 778 889 "installation-source": "dist", … … 801 912 "support": { 802 913 "issues": "https://github.com/x-wp/asset-loader/issues", 803 "source": "https://github.com/x-wp/asset-loader/tree/v1. 0.0"914 "source": "https://github.com/x-wp/asset-loader/tree/v1.1.1" 804 915 }, 805 916 "install-path": "../x-wp/asset-loader" … … 807 918 { 808 919 "name": "x-wp/di", 809 "version": "v1.0.0 -beta.8",810 "version_normalized": "1.0.0.0 -beta8",920 "version": "v1.0.0", 921 "version_normalized": "1.0.0.0", 811 922 "source": { 812 923 "type": "git", 813 924 "url": "https://github.com/x-wp/di.git", 814 "reference": " 5c6928fcc9181e3221c87a46f01234f59971a67a"815 }, 816 "dist": { 817 "type": "zip", 818 "url": "https://api.github.com/repos/x-wp/di/zipball/ 5c6928fcc9181e3221c87a46f01234f59971a67a",819 "reference": " 5c6928fcc9181e3221c87a46f01234f59971a67a",925 "reference": "3cea33921ef8cf1cab14a1da88ffe43d168bcce1" 926 }, 927 "dist": { 928 "type": "zip", 929 "url": "https://api.github.com/repos/x-wp/di/zipball/3cea33921ef8cf1cab14a1da88ffe43d168bcce1", 930 "reference": "3cea33921ef8cf1cab14a1da88ffe43d168bcce1", 820 931 "shasum": "" 821 932 }, … … 824 935 "php": ">=8.0", 825 936 "php-di/php-di": "^7", 937 "symfony/polyfill-php81": "^1.31", 826 938 "x-wp/helper-classes": "^1.13", 827 939 "x-wp/helper-functions": "^1.13" 828 940 }, 941 "conflict": { 942 "oblak/wp-hook-di": "*" 943 }, 829 944 "provide": { 945 "psr/container-implementation": "^1.0", 830 946 "x-wp/di-implementation": "^1.0" 947 }, 948 "replace": { 949 "x-wp/hook-invoker": "*" 831 950 }, 832 951 "require-dev": { … … 842 961 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 843 962 }, 844 "time": "2024-1 0-14T06:17:14+00:00",963 "time": "2024-11-03T17:43:29+00:00", 845 964 "type": "library", 846 965 "installation-source": "dist", … … 875 994 "support": { 876 995 "issues": "https://github.com/x-wp/hook-manager/issues", 877 "source": "https://github.com/x-wp/di/tree/v1.0.0 -beta.8"996 "source": "https://github.com/x-wp/di/tree/v1.0.0" 878 997 }, 879 998 "install-path": "../x-wp/di" … … 881 1000 { 882 1001 "name": "x-wp/helper-classes", 883 "version": "v1.1 5.1",884 "version_normalized": "1.1 5.1.0",1002 "version": "v1.18.1", 1003 "version_normalized": "1.18.1.0", 885 1004 "source": { 886 1005 "type": "git", … … 934 1053 "support": { 935 1054 "issues": "https://github.com/x-wp/helper-classes/issues", 936 "source": "https://github.com/x-wp/helper-classes/tree/v1.1 5.1"1055 "source": "https://github.com/x-wp/helper-classes/tree/v1.18.1" 937 1056 }, 938 1057 "install-path": "../x-wp/helper-classes" … … 940 1059 { 941 1060 "name": "x-wp/helper-functions", 942 "version": "v1.1 5.1",943 "version_normalized": "1.1 5.1.0",1061 "version": "v1.18.1", 1062 "version_normalized": "1.18.1.0", 944 1063 "source": { 945 1064 "type": "git", 946 1065 "url": "https://github.com/x-wp/helper-functions.git", 947 "reference": " 4a22f9db18cfe7a93a3cddaff5b7f83a9e3abef1"948 }, 949 "dist": { 950 "type": "zip", 951 "url": "https://api.github.com/repos/x-wp/helper-functions/zipball/ 4a22f9db18cfe7a93a3cddaff5b7f83a9e3abef1",952 "reference": " 4a22f9db18cfe7a93a3cddaff5b7f83a9e3abef1",1066 "reference": "edd258d0b2ad90a78893ffcabf6626cebf56a281" 1067 }, 1068 "dist": { 1069 "type": "zip", 1070 "url": "https://api.github.com/repos/x-wp/helper-functions/zipball/edd258d0b2ad90a78893ffcabf6626cebf56a281", 1071 "reference": "edd258d0b2ad90a78893ffcabf6626cebf56a281", 953 1072 "shasum": "" 954 1073 }, … … 959 1078 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 960 1079 }, 961 "time": "2024-1 0-11T21:23:12+00:00",1080 "time": "2024-11-04T00:58:34+00:00", 962 1081 "type": "library", 963 1082 "installation-source": "dist", 964 1083 "autoload": { 965 1084 "files": [ 966 "xwp-helper-fns .php",1085 "xwp-helper-fns-arr.php", 967 1086 "xwp-helper-fns-num.php", 968 "xwp-helper-fns-req.php" 1087 "xwp-helper-fns-req.php", 1088 "xwp-helper-fns.php" 969 1089 ], 970 1090 "psr-4": { … … 994 1114 "support": { 995 1115 "issues": "https://github.com/x-wp/helper-functions/issues", 996 "source": "https://github.com/x-wp/helper-functions/tree/v1.1 5.1"1116 "source": "https://github.com/x-wp/helper-functions/tree/v1.18.1" 997 1117 }, 998 1118 "install-path": "../x-wp/helper-functions" … … 1000 1120 { 1001 1121 "name": "x-wp/helper-traits", 1002 "version": "v1.1 5.1",1003 "version_normalized": "1.1 5.1.0",1122 "version": "v1.18.1", 1123 "version_normalized": "1.18.1.0", 1004 1124 "source": { 1005 1125 "type": "git", … … 1049 1169 "support": { 1050 1170 "issues": "https://github.com/x-wp/helper-traits/issues", 1051 "source": "https://github.com/x-wp/helper-traits/tree/v1.1 5.1"1171 "source": "https://github.com/x-wp/helper-traits/tree/v1.18.1" 1052 1172 }, 1053 1173 "install-path": "../x-wp/helper-traits" … … 1055 1175 { 1056 1176 "name": "x-wp/helper-woocommerce", 1057 "version": "v1.1 5.1",1058 "version_normalized": "1.1 5.1.0",1177 "version": "v1.18.1", 1178 "version_normalized": "1.18.1.0", 1059 1179 "source": { 1060 1180 "type": "git", 1061 1181 "url": "https://github.com/x-wp/helper-woocommerce.git", 1062 "reference": " b8c373d14fba2757f094ed56ae8649acef85f7ae"1063 }, 1064 "dist": { 1065 "type": "zip", 1066 "url": "https://api.github.com/repos/x-wp/helper-woocommerce/zipball/ b8c373d14fba2757f094ed56ae8649acef85f7ae",1067 "reference": " b8c373d14fba2757f094ed56ae8649acef85f7ae",1182 "reference": "8429f9ed7612fe2e09862548aba8d09b1324177f" 1183 }, 1184 "dist": { 1185 "type": "zip", 1186 "url": "https://api.github.com/repos/x-wp/helper-woocommerce/zipball/8429f9ed7612fe2e09862548aba8d09b1324177f", 1187 "reference": "8429f9ed7612fe2e09862548aba8d09b1324177f", 1068 1188 "shasum": "" 1069 1189 }, … … 1075 1195 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 1076 1196 }, 1077 "time": "2024-10-1 1T21:23:12+00:00",1197 "time": "2024-10-17T20:47:30+00:00", 1078 1198 "type": "library", 1079 1199 "installation-source": "dist", … … 1103 1223 "support": { 1104 1224 "issues": "https://github.com/x-wp/helper-woocommerce/issues", 1105 "source": "https://github.com/x-wp/helper-woocommerce/tree/v1.1 5.1"1225 "source": "https://github.com/x-wp/helper-woocommerce/tree/v1.18.1" 1106 1226 }, 1107 1227 "install-path": "../x-wp/helper-woocommerce" … … 1109 1229 { 1110 1230 "name": "x-wp/wc-template-customizer", 1111 "version": "v1.0. 0",1112 "version_normalized": "1.0. 0.0",1231 "version": "v1.0.2", 1232 "version_normalized": "1.0.2.0", 1113 1233 "source": { 1114 1234 "type": "git", 1115 1235 "url": "https://github.com/x-wp/wc-template-customizer.git", 1116 "reference": " cb4ce03bfd900908b4dd06a3bd47b960e2bc4706"1117 }, 1118 "dist": { 1119 "type": "zip", 1120 "url": "https://api.github.com/repos/x-wp/wc-template-customizer/zipball/ cb4ce03bfd900908b4dd06a3bd47b960e2bc4706",1121 "reference": " cb4ce03bfd900908b4dd06a3bd47b960e2bc4706",1236 "reference": "b38df4993b8fbefe0af0f27f44be4bb853418465" 1237 }, 1238 "dist": { 1239 "type": "zip", 1240 "url": "https://api.github.com/repos/x-wp/wc-template-customizer/zipball/b38df4993b8fbefe0af0f27f44be4bb853418465", 1241 "reference": "b38df4993b8fbefe0af0f27f44be4bb853418465", 1122 1242 "shasum": "" 1123 1243 }, … … 1139 1259 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 1140 1260 }, 1141 "time": "2024- 07-02T19:27:36+00:00",1261 "time": "2024-10-20T17:39:43+00:00", 1142 1262 "type": "library", 1143 1263 "installation-source": "dist", … … 1159 1279 "support": { 1160 1280 "issues": "https://github.com/x-wp/wc-template-customizer/issues", 1161 "source": "https://github.com/x-wp/wc-template-customizer/tree/v1.0. 0"1281 "source": "https://github.com/x-wp/wc-template-customizer/tree/v1.0.2" 1162 1282 }, 1163 1283 "install-path": "../x-wp/wc-template-customizer" -
serbian-addons-for-woocommerce/trunk/vendor/composer/installed.php
r3170400 r3181790 21 21 ), 22 22 'automattic/jetpack-autoloader' => array( 23 'pretty_version' => 'v3.1. 2',24 'version' => '3.1. 2.0',25 'reference' => ' c111020cac7c6a830af6f6827c175e3c76a60f75',23 'pretty_version' => 'v3.1.3', 24 'version' => '3.1.3.0', 25 'reference' => 'e7e49a4e2f16cb2dfd3e58c478499a60d7d51839', 26 26 'type' => 'composer-plugin', 27 27 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', … … 30 30 ), 31 31 'automattic/jetpack-constants' => array( 32 'pretty_version' => 'v2.0. 4',33 'version' => '2.0. 4.0',34 'reference' => ' f6958c313a34c5e92171c45a57d9dc978e5975ed',32 'pretty_version' => 'v2.0.5', 33 'version' => '2.0.5.0', 34 'reference' => '0c2644d642b06ae2a31c561f5bfc6f74a4abc8f1', 35 35 'type' => 'jetpack-library', 36 36 'install_path' => __DIR__ . '/../automattic/jetpack-constants', … … 66 66 ), 67 67 'oblak/admin-notice-manager' => array( 68 'pretty_version' => '2.0.0', 69 'version' => '2.0.0.0', 70 'reference' => '53a32b62d9799fd486adf0bb09aeb5d80a7a214d', 71 'type' => 'library', 72 'install_path' => __DIR__ . '/../oblak/admin-notice-manager', 73 'aliases' => array(), 74 'dev_requirement' => false, 68 'dev_requirement' => false, 69 'replaced' => array( 70 0 => '*', 71 ), 75 72 ), 76 73 'oblak/serbian-validators' => array( … … 84 81 ), 85 82 'oblak/wp-plugin-installer' => array( 86 'pretty_version' => 'v2.1. 3',87 'version' => '2.1. 3.0',88 'reference' => ' 9a8726f5e659dd81e84ff8408b267829f8fa695a',83 'pretty_version' => 'v2.1.4', 84 'version' => '2.1.4.0', 85 'reference' => 'e34702944c37cf834fb4ee303039cb66b00b979b', 89 86 'type' => 'library', 90 87 'install_path' => __DIR__ . '/../oblak/wp-plugin-installer', … … 124 121 0 => '^1.0', 125 122 ), 123 ), 124 'symfony/polyfill-php81' => array( 125 'pretty_version' => 'v1.31.0', 126 'version' => '1.31.0.0', 127 'reference' => '4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c', 128 'type' => 'library', 129 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 130 'aliases' => array(), 131 'dev_requirement' => false, 126 132 ), 127 133 'woocommerce/action-scheduler' => array( … … 134 140 'dev_requirement' => false, 135 141 ), 142 'x-wp/admin-notice-manager' => array( 143 'pretty_version' => 'v1.0.1', 144 'version' => '1.0.1.0', 145 'reference' => '61bfbf90f90117d24af5130bbc80911b1c10f3cc', 146 'type' => 'library', 147 'install_path' => __DIR__ . '/../x-wp/admin-notice-manager', 148 'aliases' => array(), 149 'dev_requirement' => false, 150 ), 136 151 'x-wp/asset-loader' => array( 152 'pretty_version' => 'v1.1.1', 153 'version' => '1.1.1.0', 154 'reference' => 'f4a445e27fc913c20ab42ac7467b83514b750794', 155 'type' => 'library', 156 'install_path' => __DIR__ . '/../x-wp/asset-loader', 157 'aliases' => array(), 158 'dev_requirement' => false, 159 ), 160 'x-wp/asset-loader-implementation' => array( 161 'dev_requirement' => false, 162 'provided' => array( 163 0 => '1.0', 164 ), 165 ), 166 'x-wp/di' => array( 137 167 'pretty_version' => 'v1.0.0', 138 168 'version' => '1.0.0.0', 139 'reference' => '8198e2337bee579fc96a6f09e2c74fd745c98b6f', 140 'type' => 'library', 141 'install_path' => __DIR__ . '/../x-wp/asset-loader', 142 'aliases' => array(), 143 'dev_requirement' => false, 144 ), 145 'x-wp/asset-loader-implementation' => array( 146 'dev_requirement' => false, 147 'provided' => array( 148 0 => '1.0', 149 ), 150 ), 151 'x-wp/di' => array( 152 'pretty_version' => 'v1.0.0-beta.8', 153 'version' => '1.0.0.0-beta8', 154 'reference' => '5c6928fcc9181e3221c87a46f01234f59971a67a', 169 'reference' => '3cea33921ef8cf1cab14a1da88ffe43d168bcce1', 155 170 'type' => 'library', 156 171 'install_path' => __DIR__ . '/../x-wp/di', … … 165 180 ), 166 181 'x-wp/helper-classes' => array( 167 'pretty_version' => 'v1.1 5.1',168 'version' => '1.1 5.1.0',182 'pretty_version' => 'v1.18.1', 183 'version' => '1.18.1.0', 169 184 'reference' => '451dff53964c2fbdf086882c868709e4e36fb1cd', 170 185 'type' => 'library', … … 174 189 ), 175 190 'x-wp/helper-functions' => array( 176 'pretty_version' => 'v1.1 5.1',177 'version' => '1.1 5.1.0',178 'reference' => ' 4a22f9db18cfe7a93a3cddaff5b7f83a9e3abef1',191 'pretty_version' => 'v1.18.1', 192 'version' => '1.18.1.0', 193 'reference' => 'edd258d0b2ad90a78893ffcabf6626cebf56a281', 179 194 'type' => 'library', 180 195 'install_path' => __DIR__ . '/../x-wp/helper-functions', … … 183 198 ), 184 199 'x-wp/helper-traits' => array( 185 'pretty_version' => 'v1.1 5.1',186 'version' => '1.1 5.1.0',200 'pretty_version' => 'v1.18.1', 201 'version' => '1.18.1.0', 187 202 'reference' => '0367d136d6ba36e2ae0fe1854584ef760ea7cae9', 188 203 'type' => 'library', … … 192 207 ), 193 208 'x-wp/helper-woocommerce' => array( 194 'pretty_version' => 'v1.1 5.1',195 'version' => '1.1 5.1.0',196 'reference' => ' b8c373d14fba2757f094ed56ae8649acef85f7ae',209 'pretty_version' => 'v1.18.1', 210 'version' => '1.18.1.0', 211 'reference' => '8429f9ed7612fe2e09862548aba8d09b1324177f', 197 212 'type' => 'library', 198 213 'install_path' => __DIR__ . '/../x-wp/helper-woocommerce', … … 200 215 'dev_requirement' => false, 201 216 ), 217 'x-wp/hook-invoker' => array( 218 'dev_requirement' => false, 219 'replaced' => array( 220 0 => '*', 221 ), 222 ), 202 223 'x-wp/wc-template-customizer' => array( 203 'pretty_version' => 'v1.0. 0',204 'version' => '1.0. 0.0',205 'reference' => ' cb4ce03bfd900908b4dd06a3bd47b960e2bc4706',224 'pretty_version' => 'v1.0.2', 225 'version' => '1.0.2.0', 226 'reference' => 'b38df4993b8fbefe0af0f27f44be4bb853418465', 206 227 'type' => 'library', 207 228 'install_path' => __DIR__ . '/../x-wp/wc-template-customizer', -
serbian-addons-for-woocommerce/trunk/vendor/composer/jetpack_autoload_classmap.php
r3170400 r3181790 8 8 return array( 9 9 'Autoloader' => array( 10 'version' => '3.1. 2',10 'version' => '3.1.3', 11 11 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-autoloader.php' 12 12 ), 13 13 'Autoloader_Handler' => array( 14 'version' => '3.1. 2',14 'version' => '3.1.3', 15 15 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-autoloader-handler.php' 16 16 ), 17 17 'Autoloader_Locator' => array( 18 'version' => '3.1. 2',18 'version' => '3.1.3', 19 19 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-autoloader-locator.php' 20 20 ), 21 21 'Automattic\\Jetpack\\Autoloader\\AutoloadFileWriter' => array( 22 'version' => '3.1. 2',22 'version' => '3.1.3', 23 23 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadFileWriter.php' 24 24 ), 25 25 'Automattic\\Jetpack\\Autoloader\\AutoloadGenerator' => array( 26 'version' => '3.1. 2',26 'version' => '3.1.3', 27 27 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadGenerator.php' 28 28 ), 29 29 'Automattic\\Jetpack\\Autoloader\\AutoloadProcessor' => array( 30 'version' => '3.1. 2',30 'version' => '3.1.3', 31 31 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadProcessor.php' 32 32 ), 33 33 'Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin' => array( 34 'version' => '3.1. 2',34 'version' => '3.1.3', 35 35 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php' 36 36 ), 37 37 'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => array( 38 'version' => '3.1. 2',38 'version' => '3.1.3', 39 39 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/ManifestGenerator.php' 40 40 ), 41 41 'Automattic\\Jetpack\\Constants' => array( 42 'version' => '2.0. 4.0',42 'version' => '2.0.5.0', 43 43 'path' => $vendorDir . '/automattic/jetpack-constants/src/class-constants.php' 44 44 ), 45 'CURLStringFile' => array( 46 'version' => '1.31.0.0', 47 'path' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php' 48 ), 45 49 'Container' => array( 46 'version' => '3.1. 2',50 'version' => '3.1.3', 47 51 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-container.php' 48 52 ), … … 280 284 ), 281 285 'Hook_Manager' => array( 282 'version' => '3.1. 2',286 'version' => '3.1.3', 283 287 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-hook-manager.php' 284 288 ), … … 400 404 ), 401 405 'Latest_Autoloader_Guard' => array( 402 'version' => '3.1. 2',406 'version' => '3.1.3', 403 407 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-latest-autoloader-guard.php' 404 408 ), 405 409 'Manifest_Reader' => array( 406 'version' => '3.1. 2',410 'version' => '3.1.3', 407 411 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-manifest-reader.php' 408 412 ), … … 483 487 'path' => $baseDir . '/lib/Utils/Template_Extender.php' 484 488 ), 485 'Oblak\\WP\\Admin_Notice_Manager' => array(486 'version' => '2.0.0.0',487 'path' => $vendorDir . '/oblak/admin-notice-manager/src/Admin_Notice_Manager.php'488 ),489 489 'Oblak\\WP\\Base_Plugin_Installer' => array( 490 'version' => '2.1. 3.0',490 'version' => '2.1.4.0', 491 491 'path' => $vendorDir . '/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php' 492 492 ), 493 493 'Oblak\\WP\\Update_Callback_Handler' => array( 494 'version' => '2.1. 3.0',494 'version' => '2.1.4.0', 495 495 'path' => $vendorDir . '/oblak/wp-plugin-installer/src/Update_Callback_Handler.php' 496 496 ), 497 497 'PHP_Autoloader' => array( 498 'version' => '3.1. 2',498 'version' => '3.1.3', 499 499 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-php-autoloader.php' 500 500 ), 501 501 'Path_Processor' => array( 502 'version' => '3.1. 2',502 'version' => '3.1.3', 503 503 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-path-processor.php' 504 504 ), 505 505 'Plugin_Locator' => array( 506 'version' => '3.1. 2',506 'version' => '3.1.3', 507 507 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-plugin-locator.php' 508 508 ), 509 509 'Plugins_Handler' => array( 510 'version' => '3.1. 2',510 'version' => '3.1.3', 511 511 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-plugins-handler.php' 512 512 ), … … 523 523 'path' => $vendorDir . '/psr/container/src/NotFoundExceptionInterface.php' 524 524 ), 525 'ReturnTypeWillChange' => array( 526 'version' => '1.31.0.0', 527 'path' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php' 528 ), 525 529 'Shutdown_Handler' => array( 526 'version' => '3.1. 2',530 'version' => '3.1.3', 527 531 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-shutdown-handler.php' 528 532 ), 533 'Symfony\\Polyfill\\Php81\\Php81' => array( 534 'version' => '1.31.0.0', 535 'path' => $vendorDir . '/symfony/polyfill-php81/Php81.php' 536 ), 529 537 'Version_Loader' => array( 530 'version' => '3.1. 2',538 'version' => '3.1.3', 531 539 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-version-loader.php' 532 540 ), 533 541 'Version_Selector' => array( 534 'version' => '3.1. 2',542 'version' => '3.1.3', 535 543 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/class-version-selector.php' 536 544 ), 537 545 'WP_Filesystem_Streaming' => array( 538 'version' => '1.1 5.1.0',546 'version' => '1.18.1.0', 539 547 'path' => $vendorDir . '/x-wp/helper-classes/WP/Filesystem_Streaming.php' 540 548 ), 541 549 'XWC\\Admin\\Settings_Page_Base' => array( 542 'version' => '1.1 5.1.0',550 'version' => '1.18.1.0', 543 551 'path' => $vendorDir . '/x-wp/helper-woocommerce/Admin/Settings_Page_Base.php' 544 552 ), 545 553 'XWC\\Gateway\\Gateway_Base' => array( 546 'version' => '1.1 5.1.0',554 'version' => '1.18.1.0', 547 555 'path' => $vendorDir . '/x-wp/helper-woocommerce/Gateway/Gateway_Base.php' 548 556 ), 549 557 'XWC\\Template\\Customizer_Admin' => array( 550 'version' => '1.0. 0.0',558 'version' => '1.0.2.0', 551 559 'path' => $vendorDir . '/x-wp/wc-template-customizer/src/Customizer_Admin.php' 552 560 ), 553 561 'XWC\\Template\\Customizer_Base' => array( 554 'version' => '1.0. 0.0',562 'version' => '1.0.2.0', 555 563 'path' => $vendorDir . '/x-wp/wc-template-customizer/src/Customizer_Base.php' 556 564 ), 557 565 'XWC\\Traits\\Settings_API_Methods' => array( 558 'version' => '1.1 5.1.0',566 'version' => '1.18.1.0', 559 567 'path' => $vendorDir . '/x-wp/helper-woocommerce/Traits/Settings_API_Methods.php' 560 568 ), 569 'XWP\\ANM\\Notice_Manager' => array( 570 'version' => '1.0.1.0', 571 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Notice_Manager.php' 572 ), 573 'XWP\\ANM\\Notice_Repository' => array( 574 'version' => '1.0.1.0', 575 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Notice_Repository.php' 576 ), 561 577 'XWP\\DI\\App_Builder' => array( 562 'version' => '1.0.0.0 -beta8',578 'version' => '1.0.0.0', 563 579 'path' => $vendorDir . '/x-wp/di/src/App_Builder.php' 564 580 ), 565 581 'XWP\\DI\\App_Factory' => array( 566 'version' => '1.0.0.0 -beta8',582 'version' => '1.0.0.0', 567 583 'path' => $vendorDir . '/x-wp/di/src/App_Factory.php' 568 584 ), 569 585 'XWP\\DI\\Decorators\\Action' => array( 570 'version' => '1.0.0.0 -beta8',586 'version' => '1.0.0.0', 571 587 'path' => $vendorDir . '/x-wp/di/src/Decorators/Action.php' 572 588 ), 573 589 'XWP\\DI\\Decorators\\Ajax_Action' => array( 574 'version' => '1.0.0.0 -beta8',590 'version' => '1.0.0.0', 575 591 'path' => $vendorDir . '/x-wp/di/src/Decorators/Ajax_Action.php' 576 592 ), 577 593 'XWP\\DI\\Decorators\\Ajax_Handler' => array( 578 'version' => '1.0.0.0 -beta8',594 'version' => '1.0.0.0', 579 595 'path' => $vendorDir . '/x-wp/di/src/Decorators/Ajax_Handler.php' 580 596 ), 581 597 'XWP\\DI\\Decorators\\Filter' => array( 582 'version' => '1.0.0.0 -beta8',598 'version' => '1.0.0.0', 583 599 'path' => $vendorDir . '/x-wp/di/src/Decorators/Filter.php' 584 600 ), 585 601 'XWP\\DI\\Decorators\\Handler' => array( 586 'version' => '1.0.0.0 -beta8',602 'version' => '1.0.0.0', 587 603 'path' => $vendorDir . '/x-wp/di/src/Decorators/Handler.php' 588 604 ), 589 605 'XWP\\DI\\Decorators\\Hook' => array( 590 'version' => '1.0.0.0 -beta8',606 'version' => '1.0.0.0', 591 607 'path' => $vendorDir . '/x-wp/di/src/Decorators/Hook.php' 592 608 ), 593 609 'XWP\\DI\\Decorators\\Module' => array( 594 'version' => '1.0.0.0 -beta8',610 'version' => '1.0.0.0', 595 611 'path' => $vendorDir . '/x-wp/di/src/Decorators/Module.php' 596 612 ), 613 'XWP\\DI\\Decorators\\REST_Handler' => array( 614 'version' => '1.0.0.0', 615 'path' => $vendorDir . '/x-wp/di/src/Decorators/REST_Handler.php' 616 ), 617 'XWP\\DI\\Decorators\\REST_Route' => array( 618 'version' => '1.0.0.0', 619 'path' => $vendorDir . '/x-wp/di/src/Decorators/REST_Route.php' 620 ), 597 621 'XWP\\DI\\Handler_Factory' => array( 598 'version' => '1.0.0.0 -beta8',622 'version' => '1.0.0.0', 599 623 'path' => $vendorDir . '/x-wp/di/src/Handler_Factory.php' 600 624 ), 601 625 'XWP\\DI\\Hook_Context' => array( 602 'version' => '1.0.0.0 -beta8',626 'version' => '1.0.0.0', 603 627 'path' => $vendorDir . '/x-wp/di/src/Hook_Context.php' 604 628 ), 605 629 'XWP\\DI\\Interfaces\\Can_Handle' => array( 606 'version' => '1.0.0.0 -beta8',630 'version' => '1.0.0.0', 607 631 'path' => $vendorDir . '/x-wp/di/src/Interfaces/Can_Handle.php' 608 632 ), 609 633 'XWP\\DI\\Interfaces\\Can_Hook' => array( 610 'version' => '1.0.0.0 -beta8',634 'version' => '1.0.0.0', 611 635 'path' => $vendorDir . '/x-wp/di/src/Interfaces/Can_Hook.php' 612 636 ), 613 637 'XWP\\DI\\Interfaces\\Can_Invoke' => array( 614 'version' => '1.0.0.0 -beta8',638 'version' => '1.0.0.0', 615 639 'path' => $vendorDir . '/x-wp/di/src/Interfaces/Can_Invoke.php' 616 640 ), 617 641 'XWP\\DI\\Interfaces\\On_Initialize' => array( 618 'version' => '1.0.0.0 -beta8',642 'version' => '1.0.0.0', 619 643 'path' => $vendorDir . '/x-wp/di/src/Interfaces/On_Initialize.php' 620 644 ), 621 645 'XWP\\DI\\Invoker' => array( 622 'version' => '1.0.0.0 -beta8',646 'version' => '1.0.0.0', 623 647 'path' => $vendorDir . '/x-wp/di/src/Invoker.php' 624 648 ), 625 649 'XWP\\DI\\Traits\\Accessible_Hook_Methods' => array( 626 'version' => '1.0.0.0 -beta8',650 'version' => '1.0.0.0', 627 651 'path' => $vendorDir . '/x-wp/di/src/Traits/Accessible_Hook_Methods.php' 628 652 ), 629 653 'XWP\\DI\\Utils\\Reflection' => array( 630 'version' => '1.0.0.0 -beta8',654 'version' => '1.0.0.0', 631 655 'path' => $vendorDir . '/x-wp/di/src/Utils/Reflection.php' 632 656 ), 633 657 'XWP\\Dependency\\Interfaces\\Can_Enqueue' => array( 634 'version' => '1. 0.0.0',658 'version' => '1.1.1.0', 635 659 'path' => $vendorDir . '/x-wp/asset-loader/src/Interfaces/Can_Enqueue.php' 636 660 ), 637 661 'XWP\\Dependency\\Interfaces\\Can_Register' => array( 638 'version' => '1. 0.0.0',662 'version' => '1.1.1.0', 639 663 'path' => $vendorDir . '/x-wp/asset-loader/src/Interfaces/Can_Register.php' 640 664 ), 641 665 'XWP\\Dependency\\Interfaces\\Has_Context' => array( 642 'version' => '1. 0.0.0',666 'version' => '1.1.1.0', 643 667 'path' => $vendorDir . '/x-wp/asset-loader/src/Interfaces/Has_Context.php' 644 668 ), 645 669 'XWP\\Dependency\\Manifest' => array( 646 'version' => '1. 0.0.0',670 'version' => '1.1.1.0', 647 671 'path' => $vendorDir . '/x-wp/asset-loader/src/Manifest.php' 648 672 ), 649 673 'XWP\\Dependency\\Resources\\Asset' => array( 650 'version' => '1. 0.0.0',674 'version' => '1.1.1.0', 651 675 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Asset.php' 652 676 ), 653 677 'XWP\\Dependency\\Resources\\File' => array( 654 'version' => '1. 0.0.0',678 'version' => '1.1.1.0', 655 679 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/File.php' 656 680 ), 657 681 'XWP\\Dependency\\Resources\\Font' => array( 658 'version' => '1. 0.0.0',682 'version' => '1.1.1.0', 659 683 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Font.php' 660 684 ), 661 685 'XWP\\Dependency\\Resources\\Image' => array( 662 'version' => '1. 0.0.0',686 'version' => '1.1.1.0', 663 687 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Image.php' 664 688 ), 665 689 'XWP\\Dependency\\Resources\\Script' => array( 666 'version' => '1. 0.0.0',690 'version' => '1.1.1.0', 667 691 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Script.php' 668 692 ), 669 693 'XWP\\Dependency\\Resources\\Style' => array( 670 'version' => '1. 0.0.0',694 'version' => '1.1.1.0', 671 695 'path' => $vendorDir . '/x-wp/asset-loader/src/Resources/Style.php' 672 696 ), 673 697 'XWP\\Helper\\Classes\\Reflection' => array( 674 'version' => '1.1 5.1.0',698 'version' => '1.18.1.0', 675 699 'path' => $vendorDir . '/x-wp/helper-classes/Reflection.php' 676 700 ), 677 701 'XWP\\Helper\\Classes\\Simple_Array_Object' => array( 678 'version' => '1.1 5.1.0',702 'version' => '1.18.1.0', 679 703 'path' => $vendorDir . '/x-wp/helper-classes/Simple_Array_Object.php' 680 704 ), 681 705 'XWP\\Helper\\Functions\\Array_Extra' => array( 682 'version' => '1.1 5.1.0',706 'version' => '1.18.1.0', 683 707 'path' => $vendorDir . '/x-wp/helper-functions/Array_Extra.php' 684 708 ), 685 709 'XWP\\Helper\\Functions\\Block' => array( 686 'version' => '1.1 5.1.0',710 'version' => '1.18.1.0', 687 711 'path' => $vendorDir . '/x-wp/helper-functions/Block.php' 688 712 ), 689 713 'XWP\\Helper\\Functions\\Hook_Remover' => array( 690 'version' => '1.1 5.1.0',714 'version' => '1.18.1.0', 691 715 'path' => $vendorDir . '/x-wp/helper-functions/Hook_Remover.php' 692 716 ), 693 717 'XWP\\Helper\\Functions\\Request' => array( 694 'version' => '1.1 5.1.0',718 'version' => '1.18.1.0', 695 719 'path' => $vendorDir . '/x-wp/helper-functions/Request.php' 696 720 ), 697 721 'XWP\\Helper\\Functions\\Term' => array( 698 'version' => '1.1 5.1.0',722 'version' => '1.18.1.0', 699 723 'path' => $vendorDir . '/x-wp/helper-functions/Term.php' 700 724 ), 701 725 'XWP\\Helper\\Functions\\WPFS' => array( 702 'version' => '1.1 5.1.0',726 'version' => '1.18.1.0', 703 727 'path' => $vendorDir . '/x-wp/helper-functions/WPFS.php' 704 728 ), 705 729 'XWP\\Helper\\Traits\\Array_Access' => array( 706 'version' => '1.1 5.1.0',730 'version' => '1.18.1.0', 707 731 'path' => $vendorDir . '/x-wp/helper-traits/Array_Access.php' 708 732 ), 709 733 'XWP\\Helper\\Traits\\Singleton' => array( 710 'version' => '1.1 5.1.0',734 'version' => '1.18.1.0', 711 735 'path' => $vendorDir . '/x-wp/helper-traits/Singleton.php' 712 736 ), 713 737 'XWP\\Helper\\Traits\\Singleton_Ex' => array( 714 'version' => '1.1 5.1.0',738 'version' => '1.18.1.0', 715 739 'path' => $vendorDir . '/x-wp/helper-traits/Singleton_Ex.php' 716 740 ), 717 741 'XWP\\Helper\\Traits\\View_Loader' => array( 718 'version' => '1.1 5.1.0',742 'version' => '1.18.1.0', 719 743 'path' => $vendorDir . '/x-wp/helper-traits/View_Loader.php' 720 744 ), 745 'XWP_Admin_Notice' => array( 746 'version' => '1.0.1.0', 747 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Core/Notice.php' 748 ), 721 749 'XWP_Asset_Bundle' => array( 722 'version' => '1. 0.0.0',750 'version' => '1.1.1.0', 723 751 'path' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Bundle.php' 724 752 ), 725 753 'XWP_Asset_Loader' => array( 726 'version' => '1. 0.0.0',754 'version' => '1.1.1.0', 727 755 'path' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Loader.php' 728 756 ), 729 757 'XWP_Asset_Retriever' => array( 730 'version' => '1. 0.0.0',758 'version' => '1.1.1.0', 731 759 'path' => $vendorDir . '/x-wp/asset-loader/src/Core/Asset_Retriever.php' 760 ), 761 'XWP_REST_Controller' => array( 762 'version' => '1.0.0.0', 763 'path' => $vendorDir . '/x-wp/di/src/Core/REST_Controller.php' 732 764 ), 733 765 'chillerlan\\QRCode\\Common\\BitBuffer' => array( -
serbian-addons-for-woocommerce/trunk/vendor/composer/jetpack_autoload_filemap.php
r3170400 r3181790 7 7 8 8 return array( 9 ' 6c427d7d289e1cfc9c7756e71133bee6' => array(10 'version' => '1.1 5.1.0',11 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns .php'9 'e7e6bab1ed2be1042591496e1ad3e230' => array( 10 'version' => '1.18.1.0', 11 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-arr.php' 12 12 ), 13 13 '6f4d42339b919aad008d719d6274512f' => array( 14 'version' => '1.1 5.1.0',14 'version' => '1.18.1.0', 15 15 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-num.php' 16 16 ), 17 17 'eac005e7ae06387970897430e20a14f8' => array( 18 'version' => '1.1 5.1.0',18 'version' => '1.18.1.0', 19 19 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns-req.php' 20 ), 21 '6c427d7d289e1cfc9c7756e71133bee6' => array( 22 'version' => '1.18.1.0', 23 'path' => $vendorDir . '/x-wp/helper-functions/xwp-helper-fns.php' 20 24 ), 21 25 'b33e3d135e5d9e47d845c576147bda89' => array( 22 26 'version' => '7.0.7.0', 23 27 'path' => $vendorDir . '/php-di/php-di/src/functions.php' 28 ), 29 '23c18046f52bef3eea034657bafda50f' => array( 30 'version' => '1.31.0.0', 31 'path' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php' 32 ), 33 'c4eb3dd9806877a728c0b0fecfd8a0a8' => array( 34 'version' => '1.0.1.0', 35 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-fns.php' 36 ), 37 'fc42141d84284e25c97732976f63c9e2' => array( 38 'version' => '1.0.1.0', 39 'path' => $vendorDir . '/x-wp/admin-notice-manager/src/Functions/xwp-anm-init.php' 24 40 ), 25 41 '601305a3774ec67d18e3b43f7ff1eba8' => array( … … 44 60 ), 45 61 '02b2f2d806f84ba3df3bd5d983b40927' => array( 46 'version' => '2.1. 3.0',62 'version' => '2.1.4.0', 47 63 'path' => $vendorDir . '/oblak/wp-plugin-installer/src/wppi-as-loader.php' 48 64 ), 49 65 'e4ffa605a46af5dc51a06d0428d74700' => array( 50 'version' => '1. 0.0.0',66 'version' => '1.1.1.0', 51 67 'path' => $vendorDir . '/x-wp/asset-loader/src/Functions/xwp-loader-init.php' 52 68 ), 53 69 '89887658aecc79fae17e75f8e6949680' => array( 54 'version' => '1.0.0.0 -beta8',70 'version' => '1.0.0.0', 55 71 'path' => $vendorDir . '/x-wp/di/src/Functions/xwp-di-container-fns.php' 56 72 ), 57 73 '289d5db207f260edee5d940f2b0874b1' => array( 58 'version' => '1.0.0.0 -beta8',74 'version' => '1.0.0.0', 59 75 'path' => $vendorDir . '/x-wp/di/src/Functions/xwp-di-helper-fns.php' 60 76 ), … … 62 78 'version' => '1.0.0.0', 63 79 'path' => $baseDir . '/lib/Functions/wcsrb-address-field-fns.php' 64 ),65 'f45becae259e3085ac94c414354b9e11' => array(66 'version' => '1.0.0.0',67 'path' => $baseDir . '/lib/Functions/wcsrb-core.php'68 80 ), 69 81 '2cbbb54dca44ace1c636c9aedd6c2704' => array( -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-autoloader-handler.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-autoloader-locator.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-autoloader.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-container.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-hook-manager.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-latest-autoloader-guard.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-manifest-reader.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-path-processor.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-php-autoloader.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-plugin-locator.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-plugins-handler.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-shutdown-handler.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-version-loader.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/jetpack-autoloader/class-version-selector.php
r3170400 r3181790 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jp f15f7664b060de4a95ba0e02111b557f\al3_1_2;8 namespace Automattic\Jetpack\Autoloader\jp70816f8d2f2f8cd20b8d4badcf146258\al3_1_3; 9 9 10 10 // phpcs:ignore -
serbian-addons-for-woocommerce/trunk/vendor/oblak/wp-plugin-installer/composer.json
r3155827 r3181790 13 13 "php": ">= 8.0", 14 14 "automattic/jetpack-constants": "^2", 15 " oblak/admin-notice-manager": "^2",16 " woocommerce/action-scheduler": "^3.7"15 "woocommerce/action-scheduler": "^3.7", 16 "x-wp/admin-notice-manager": "^1.0" 17 17 }, 18 18 "require-dev": { 19 19 "ergebnis/composer-normalize": "^2.42", 20 "oblak/wordpress-coding-standard": "^1" 20 "oblak/wordpress-coding-standard": "^1", 21 "wp-cli/wp-cli": "^2.11" 21 22 }, 22 23 "suggest": { … … 32 33 }, 33 34 "config": { 35 "platform": { 36 "php": "8.0" 37 }, 34 38 "allow-plugins": { 35 39 "automattic/jetpack-autoloader": true, -
serbian-addons-for-woocommerce/trunk/vendor/oblak/wp-plugin-installer/src/Base_Plugin_Installer.php
r3092652 r3181790 276 276 } 277 277 278 Admin_Notice_Manager::get_instance()->add_notice( 279 "{$this->slug}_missing_tables", 280 array( 281 'caps' => 'manage_woocommerce', 282 'dismissible' => false, 283 'message' => \sprintf( 284 '<p><strong>%s</strong> - %s: %s</p>', 285 \esc_html( $this->slug ), 286 \esc_html__( 'The following tables are missing: ', 'oblak-plugin-installer' ), 287 \implode( ', ', $missing_tables ), 278 \xwp_get_notice( "{$this->slug}_missing_tables" ) 279 ->set_defaults() 280 ->set_props( 281 array( 282 'caps' => 'manage_woocommerce', 283 'classes' => 'alt', 284 'dismissible' => false, 285 'message' => \sprintf( 286 '<p><strong>%s</strong> - %s: %s</p>', 287 \esc_html( $this->slug ), 288 \esc_html__( 'The following tables are missing: ', 'oblak-plugin-installer' ), 289 \implode( ', ', $missing_tables ), 290 ), 291 'persistent' => true, 292 'type' => 'error', 288 293 ), 289 'persistent' => true, 290 'type' => 'error', 291 ), 292 true, 293 ); 294 ) 295 ->save( true ); 294 296 } 295 297 … … 313 315 $this->display_missing_tables_notice( $modify_notice ); 314 316 } elseif ( $modify_notice && $this->show_admin_notices ) { 315 Admin_Notice_Manager::get_instance()->remove_notice( "{$this->slug}_missing_tables", true );317 \xwp_delete_notice( "{$this->slug}_missing_tables", true ); 316 318 } else { 317 319 \update_option( "{$this->slug}_schema_version", $this->db_version ); … … 417 419 $args = $this->get_notice_args( $name ); 418 420 419 Admin_Notice_Manager::get_instance()->add_notice( 420 "{$this->slug}_update_notice", 421 array( 422 'caps' => 'manage_options', 423 'dismissible' => 'update-complete' === $file, 424 'file_args' => $args, 425 'message' => $file, 426 'persistent' => false, 427 'type' => 'info', 428 ), 429 true, 430 ); 421 \xwp_get_notice( "{$this->slug}_update_notice" ) 422 ->set_defaults() 423 ->set_props( 424 array( 425 'caps' => 'manage_options', 426 'dismissible' => 'update-complete' === $file, 427 'params' => $args, 428 'persistent' => false, 429 'template' => $file, 430 'type' => 'info', 431 ), 432 ) 433 ->save( true ); 431 434 } 432 435 … … 638 641 $progress->finish(); 639 642 640 Admin_Notice_Manager::get_instance()->remove_notice( "{$this->slug}_update_notice", true );643 \xwp_delete_notice( "{$this->slug}_update_notice", true ); 641 644 642 645 WP_CLI::success( … … 741 744 */ 742 745 public function debug_verify_db_tables() { 743 Admin_Notice_Manager::get_instance()->remove_notice( "{$this->slug}_missing_tables", true );746 \xwp_delete_notice( "{$this->slug}_missing_tables", true ); 744 747 745 748 $missing_tables = $this->verify_base_tables( false, true ); -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/asset-loader/composer.json
r3155827 r3181790 12 12 "php": ">=8.0", 13 13 "automattic/jetpack-constants": "^2.0", 14 "x-wp/helper-functions": "^1. 9",14 "x-wp/helper-functions": "^1.18", 15 15 "x-wp/helper-traits": "^1.9" 16 16 }, -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/asset-loader/src/Core/Asset_Bundle.php
r3155827 r3181790 360 360 * @return array<string,T> 361 361 */ 362 public function get( string $type ): array {362 public function collect( string $type ): array { 363 363 $found = array(); 364 364 … … 373 373 return $found; 374 374 } 375 376 /** 377 * Get an asset by field. 378 * 379 * @param string $id The ID of the asset to get. 380 * @param string $field The field to search by. 381 * @return Style|Script|Image|Font|null 382 */ 383 public function get( string $id, string $field = 'handle' ): Style|Script|Image|Font|null { 384 foreach ( array_keys( $this->manifest ) as $src ) { 385 if ( $id === $this[ $src ]->{"{$field}"}() ) { 386 return $this[ $src ]; 387 } 388 } 389 390 return null; 391 } 375 392 } -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/asset-loader/src/Resources/File.php
r3155827 r3181790 58 58 * Get the WP_Filesystem instance. 59 59 * 60 * @return \WP_Filesystem_ Base|null60 * @return \WP_Filesystem_Direct|null 61 61 */ 62 protected function wpfs(): ?\WP_Filesystem_Base { 63 return \wp_load_filesystem() ?: null; 62 protected function wpfs(): ?\WP_Filesystem_Direct { 63 return \xwp_wpfs() ?: null; 64 } 65 66 /** 67 * Get the bundle instance. 68 * 69 * @return XWP_Asset_Bundle 70 */ 71 public function bundle(): XWP_Asset_Bundle { 72 return $this->bundle; 64 73 } 65 74 -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/composer.json
r3167131 r3181790 25 25 "automattic/jetpack-constants": "^2", 26 26 "php-di/php-di": "^7", 27 "symfony/polyfill-php81": "^1.31", 27 28 "x-wp/helper-classes": "^1.13", 28 29 "x-wp/helper-functions": "^1.13" … … 37 38 "szepeviktor/phpstan-wordpress": "^1.3" 38 39 }, 40 "conflict": { 41 "oblak/wp-hook-di": "*" 42 }, 39 43 "provide": { 44 "psr/container-implementation": "^1.0", 40 45 "x-wp/di-implementation": "^1.0" 46 }, 47 "replace": { 48 "x-wp/hook-invoker": "*" 41 49 }, 42 50 "suggest": { -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/composer.lock
r3167131 r3181790 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " 5a76f9ef4bfd4bcfe1cfc7de0b6024ad",7 "content-hash": "3879411c4b4bea5e32cc13d31fdcb283", 8 8 "packages": [ 9 9 { … … 301 301 }, 302 302 { 303 "name": "symfony/polyfill-php81", 304 "version": "v1.31.0", 305 "source": { 306 "type": "git", 307 "url": "https://github.com/symfony/polyfill-php81.git", 308 "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" 309 }, 310 "dist": { 311 "type": "zip", 312 "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", 313 "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", 314 "shasum": "" 315 }, 316 "require": { 317 "php": ">=7.2" 318 }, 319 "type": "library", 320 "extra": { 321 "thanks": { 322 "name": "symfony/polyfill", 323 "url": "https://github.com/symfony/polyfill" 324 } 325 }, 326 "autoload": { 327 "files": [ 328 "bootstrap.php" 329 ], 330 "psr-4": { 331 "Symfony\\Polyfill\\Php81\\": "" 332 }, 333 "classmap": [ 334 "Resources/stubs" 335 ] 336 }, 337 "notification-url": "https://packagist.org/downloads/", 338 "license": [ 339 "MIT" 340 ], 341 "authors": [ 342 { 343 "name": "Nicolas Grekas", 344 "email": "p@tchwork.com" 345 }, 346 { 347 "name": "Symfony Community", 348 "homepage": "https://symfony.com/contributors" 349 } 350 ], 351 "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", 352 "homepage": "https://symfony.com", 353 "keywords": [ 354 "compatibility", 355 "polyfill", 356 "portable", 357 "shim" 358 ], 359 "support": { 360 "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" 361 }, 362 "funding": [ 363 { 364 "url": "https://symfony.com/sponsor", 365 "type": "custom" 366 }, 367 { 368 "url": "https://github.com/fabpot", 369 "type": "github" 370 }, 371 { 372 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 373 "type": "tidelift" 374 } 375 ], 376 "time": "2024-09-09T11:45:10+00:00" 377 }, 378 { 303 379 "name": "x-wp/helper-classes", 304 "version": "v1.1 4.0",380 "version": "v1.18.0", 305 381 "source": { 306 382 "type": "git", … … 352 428 "support": { 353 429 "issues": "https://github.com/x-wp/helper-classes/issues", 354 "source": "https://github.com/x-wp/helper-classes/tree/v1.1 4.0"430 "source": "https://github.com/x-wp/helper-classes/tree/v1.18.0" 355 431 }, 356 432 "time": "2024-09-23T14:31:15+00:00" … … 358 434 { 359 435 "name": "x-wp/helper-functions", 360 "version": "v1.1 4.0",436 "version": "v1.18.0", 361 437 "source": { 362 438 "type": "git", 363 439 "url": "https://github.com/x-wp/helper-functions.git", 364 "reference": "1 b2dab0fbdedbaac6b9bc554eda79f804cb7ed97"365 }, 366 "dist": { 367 "type": "zip", 368 "url": "https://api.github.com/repos/x-wp/helper-functions/zipball/1 b2dab0fbdedbaac6b9bc554eda79f804cb7ed97",369 "reference": "1 b2dab0fbdedbaac6b9bc554eda79f804cb7ed97",440 "reference": "1e3392e49d0fe95eb13e8980081b9ceb0268e0bd" 441 }, 442 "dist": { 443 "type": "zip", 444 "url": "https://api.github.com/repos/x-wp/helper-functions/zipball/1e3392e49d0fe95eb13e8980081b9ceb0268e0bd", 445 "reference": "1e3392e49d0fe95eb13e8980081b9ceb0268e0bd", 370 446 "shasum": "" 371 447 }, … … 379 455 "autoload": { 380 456 "files": [ 381 "xwp-helper-fns.php", 382 "xwp-helper-fns-req.php" 457 "xwp-helper-fns-arr.php", 458 "xwp-helper-fns-num.php", 459 "xwp-helper-fns-req.php", 460 "xwp-helper-fns.php" 383 461 ], 384 462 "psr-4": { … … 408 486 "support": { 409 487 "issues": "https://github.com/x-wp/helper-functions/issues", 410 "source": "https://github.com/x-wp/helper-functions/tree/v1.1 4.0"411 }, 412 "time": "2024-10- 09T10:17:05+00:00"488 "source": "https://github.com/x-wp/helper-functions/tree/v1.18.0" 489 }, 490 "time": "2024-10-29T22:53:16+00:00" 413 491 }, 414 492 { 415 493 "name": "x-wp/helper-traits", 416 "version": "v1.1 4.0",494 "version": "v1.18.0", 417 495 "source": { 418 496 "type": "git", … … 460 538 "support": { 461 539 "issues": "https://github.com/x-wp/helper-traits/issues", 462 "source": "https://github.com/x-wp/helper-traits/tree/v1.1 4.0"540 "source": "https://github.com/x-wp/helper-traits/tree/v1.18.0" 463 541 }, 464 542 "time": "2024-09-18T12:43:44+00:00" … … 1021 1099 { 1022 1100 "name": "phpstan/phpdoc-parser", 1023 "version": "1.3 2.0",1101 "version": "1.33.0", 1024 1102 "source": { 1025 1103 "type": "git", 1026 1104 "url": "https://github.com/phpstan/phpdoc-parser.git", 1027 "reference": " 6ca22b154efdd9e3c68c56f5d94670920a1c19a4"1028 }, 1029 "dist": { 1030 "type": "zip", 1031 "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/ 6ca22b154efdd9e3c68c56f5d94670920a1c19a4",1032 "reference": " 6ca22b154efdd9e3c68c56f5d94670920a1c19a4",1105 "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" 1106 }, 1107 "dist": { 1108 "type": "zip", 1109 "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140", 1110 "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", 1033 1111 "shasum": "" 1034 1112 }, … … 1062 1140 "support": { 1063 1141 "issues": "https://github.com/phpstan/phpdoc-parser/issues", 1064 "source": "https://github.com/phpstan/phpdoc-parser/tree/1.3 2.0"1065 }, 1066 "time": "2024- 09-26T07:23:32+00:00"1142 "source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0" 1143 }, 1144 "time": "2024-10-13T11:25:22+00:00" 1067 1145 }, 1068 1146 { 1069 1147 "name": "phpstan/phpstan", 1070 "version": "1.12. 6",1148 "version": "1.12.7", 1071 1149 "source": { 1072 1150 "type": "git", 1073 1151 "url": "https://github.com/phpstan/phpstan.git", 1074 "reference": "dc 4d2f145a88ea7141ae698effd64d9df46527ae"1075 }, 1076 "dist": { 1077 "type": "zip", 1078 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dc 4d2f145a88ea7141ae698effd64d9df46527ae",1079 "reference": "dc 4d2f145a88ea7141ae698effd64d9df46527ae",1152 "reference": "dc2b9976bd8b0f84ec9b0e50cc35378551de7af0" 1153 }, 1154 "dist": { 1155 "type": "zip", 1156 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dc2b9976bd8b0f84ec9b0e50cc35378551de7af0", 1157 "reference": "dc2b9976bd8b0f84ec9b0e50cc35378551de7af0", 1080 1158 "shasum": "" 1081 1159 }, … … 1122 1200 } 1123 1201 ], 1124 "time": "2024-10- 06T15:03:59+00:00"1202 "time": "2024-10-18T11:12:07+00:00" 1125 1203 }, 1126 1204 { -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/App_Builder.php
r3167131 r3181790 26 26 */ 27 27 public static function configure( array $config = array() ): App_Builder { 28 $config = static::getDefaultConfig( $config );29 30 28 return ( new App_Builder() ) 31 29 ->useAttributes( $config['attributes'] ) … … 39 37 } 40 38 41 /**42 * Get the default configuration.43 *44 * @param array<string, mixed> $config Configuration options.45 * @return array<string, mixed>46 */47 protected static function getDefaultConfig( array $config ): array {48 return \wp_parse_args(49 $config,50 array(51 'attributes' => true,52 'autowiring' => true,53 'compile' => 'production' === \wp_get_environment_type(),54 'compile_class' => 'CompiledContainer' . \strtoupper( $config['id'] ),55 'compile_dir' => __DIR__ . '/cache',56 'proxies' => false,57 ),58 );59 }60 61 39 //phpcs:ignore Squiz.Commenting.FunctionComment.Missing 62 40 public function enableCompilation( … … 66 44 bool $compile = true, 67 45 ): static { 46 if ( ! $compile ) { 47 return $this; 48 } 49 50 if ( ! \is_dir( $directory ) && ! \wp_mkdir_p( $directory ) ) { 51 return $this; 52 } 53 68 54 // @phpstan-ignore return.type 69 return $compile 70 ? parent::enableCompilation( $directory, $containerClass, $containerParentClass ) 71 : $this; 55 return parent::enableCompilation( $directory, $containerClass, $containerParentClass ); 72 56 } 73 57 … … 81 65 */ 82 66 public function addDefinitions( string|array|DefinitionSource ...$definitions ): static { 83 return \ class_exists( $definitions[0] )67 return \is_string( $definitions[0] ) && \class_exists( $definitions[0] ) 84 68 ? parent::addDefinitions( \xwp_register_module( $definitions[0] )->get_definitions() ) 85 69 : parent::addDefinitions( ...$definitions ); -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/App_Factory.php
r3167131 r3181790 15 15 * Create and manage DI containers. 16 16 * 17 * @method static Container create(array $config) Create a new container. 18 * @method static Container get(string $container_id) Get a container instance. 17 * @method static Container create( array $config) Create a new container. 18 * @method static Container get( string $id ) Get a container instance. 19 * @method static void extend( string $container, array $module, string $position, ?string $target ) Extend an application container definition. 20 * @method static bool decompile( string $id, bool $now ) Decompile a container. 19 21 */ 20 22 final class App_Factory { … … 52 54 } 53 55 56 $config = $this->parse_config( $config ); 57 54 58 return $this->containers[ $config['id'] ] ??= App_Builder::configure( $config ) 55 59 ->addDefinitions( $config['module'] ) 60 ->addDefinitions( array( 'xwp.app.config' => $config ) ) 56 61 ->build(); 62 } 63 64 /** 65 * Extend an application container definition. 66 * 67 * @param string $container Container ID. 68 * @param array<class-string> $module Module classname or array of module classnames. 69 * @param 'before'|'after' $position Position to insert the module. 70 * @param string|null $target Target module to extend. 71 */ 72 protected function call_extend( string $container, array $module, string $position = 'after', ?string $target = null ): void { 73 \add_filter( 74 "xwp_extend_import_{$container}", 75 static function ( array $imports, string $classname ) use( $module, $position, $target ): array { 76 if ( $target && $target !== $classname ) { 77 return $imports; 78 } 79 80 $params = 'after' === $position 81 ? array( $imports, $module ) 82 : array( $module, $imports ); 83 84 return \array_merge( ...$params ); 85 }, 86 10, 87 2, 88 ); 57 89 } 58 90 … … 66 98 return $this->containers[ $id ]; 67 99 } 100 101 /** 102 * Decompile a container. 103 * 104 * @param string $id Container ID. 105 * @param bool $now Decompile now or on shutdown. 106 * @return bool 107 */ 108 protected function call_decompile( string $id, bool $now = false ): bool { 109 $config = $this->containers[ $id ]->get( 'xwp.app.config' ); 110 111 if ( ! $config['compile'] || ! \xwp_wpfs()->is_dir( $config['compile_dir'] ) ) { 112 return false; 113 } 114 115 $cb = static fn() => \xwp_wpfs()->rmdir( $config['compile_dir'], true ); 116 117 // @phpstan-ignore return.void 118 return ! $now ? \add_action( 'shutdown', $cb ) : $cb(); 119 } 120 121 /** 122 * Get the default configuration. 123 * 124 * @param array<string, mixed> $config Configuration options. 125 * @return array<string, mixed> 126 */ 127 protected function parse_config( array $config ): array { 128 return \wp_parse_args( 129 $config, 130 array( 131 'attributes' => true, 132 'autowiring' => true, 133 'compile' => 'production' === \wp_get_environment_type(), 134 'compile_class' => 'CompiledContainer' . \strtoupper( $config['id'] ), 135 'compile_dir' => \WP_CONTENT_DIR . '/cache/xwp-di/' . $config['id'], 136 'proxies' => false, 137 ), 138 ); 139 } 68 140 } -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/Decorators/Action.php
r3167131 r3181790 9 9 namespace XWP\DI\Decorators; 10 10 11 use XWP\DI\Interfaces\Can_Handle; 12 11 13 /** 12 14 * Action hook decorator. 13 15 * 14 16 * @template T of object 15 * @extends Filter<T> 17 * @template H of Can_Handle<T> 18 * @extends Filter<T,H> 16 19 * 17 20 * @since 1.0.0 -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/Decorators/Ajax_Action.php
r3167131 r3181790 15 15 * 16 16 * @template T of object 17 * @extends Action<T> 17 * @template H of Ajax_Handler<T> 18 * @extends Action<T,H> 18 19 */ 19 20 #[\Attribute( \Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD )] -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/Decorators/Filter.php
r3167131 r3181790 20 20 * 21 21 * @template T of object 22 * @template H of Can_Handle<T> 22 23 * @extends Hook<T, ReflectionMethod> 23 * @implements Can_Invoke<T >24 * @implements Can_Invoke<T,H> 24 25 */ 25 26 #[\Attribute( \Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD )] … … 28 29 * The handler. 29 30 * 30 * @var Can_Handle<T>31 * @var H 31 32 */ 32 33 protected Can_Handle $handler; … … 100 101 * Set the handler. 101 102 * 102 * @param Can_Handle<T>$handler The handler.103 * @param H $handler The handler. 103 104 * @return static 104 105 */ -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/Decorators/Handler.php
r3170400 r3181790 54 54 */ 55 55 protected string $container_id; 56 57 /** 58 * Is the handler hookable. 59 * 60 * @var bool 61 */ 62 protected bool $hookable; 56 63 57 64 /** … … 65 72 * @param array<int,string>|string|false $modifiers Values to replace in the tag name. 66 73 * @param string $strategy Initialization strategy. 74 * @param bool $hookable Is the handler hookable. 67 75 */ 68 76 public function __construct( … … 74 82 string|array|false $modifiers = false, 75 83 string $strategy = self::INIT_DEFFERED, 84 bool $hookable = true, 76 85 ) { 77 86 $this->strategy = $strategy; 78 87 $this->loaded = self::INIT_DYNAMICALY === $strategy; 79 88 $this->container_id = $container; 89 $this->hookable = $hookable; 80 90 81 91 parent::__construct( $tag, $tag ? $priority : null, $context, $conditional, $modifiers ); … … 95 105 96 106 public function with_container( ?string $container ): static { 97 $this->container_id ??= $container; 107 if ( null !== $container ) { 108 $this->container_id ??= $container; 109 } 98 110 99 111 return $this; … … 132 144 } 133 145 134 $this->instance ??= $this-> container->get( $this->classname);146 $this->instance ??= $this->initialize(); 135 147 136 148 return $this->on_initialize(); 149 } 150 151 /** 152 * Initialize the handler. 153 * 154 * @return T 155 */ 156 protected function initialize(): object { 157 return $this->container->get( $this->classname ); 137 158 } 138 159 … … 146 167 147 168 if ( \method_exists( $this->classname, 'on_initialize' ) ) { 148 $this-> target->on_initialize();169 $this->container->call( array( $this->classname, 'on_initialize' ) ); 149 170 } 150 171 … … 194 215 return self::INIT_ON_DEMAND === $this->strategy || self::INIT_JUST_IN_TIME === $this->strategy; 195 216 } 217 218 public function is_hookable(): bool { 219 return $this->hookable; 220 } 196 221 } -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/Decorators/Module.php
r3167131 r3181790 29 29 * Constructor. 30 30 * 31 * @param string $container Container ID. 32 * @param string $hook Hook name. 33 * @param int $priority Hook priority. 34 * @param array<int,class-string> $imports Array of submodules to import. 35 * @param array<int,class-string> $handlers Array of handlers to register. 31 * @param string $container Container ID. 32 * @param string $hook Hook name. 33 * @param int $priority Hook priority. 34 * @param array<int,class-string> $imports Array of submodules to import. 35 * @param array<int,class-string> $handlers Array of handlers to register. 36 * @param bool $extendable Is the module extendable. 36 37 */ 37 38 public function __construct( … … 51 52 */ 52 53 protected array $handlers = array(), 54 /** 55 * Is the module extendable? 56 * 57 * @var bool 58 */ 59 protected bool $extendable = false, 53 60 ) { 54 61 parent::__construct( … … 83 90 $definitions = $this->get_definition(); 84 91 85 foreach ( $this-> importsas $import ) {92 foreach ( $this->get_imports() as $import ) { 86 93 $module = $this->imported ? \xwp_get_module( $import ) : \xwp_register_module( $import ); 87 94 … … 92 99 93 100 return $definitions; 101 } 102 103 /** 104 * Get the module imports. 105 * 106 * @return array<int,class-string> 107 */ 108 protected function get_imports(): array { 109 if ( ! $this->extendable ) { 110 return $this->imports; 111 } 112 113 $tag = "xwp_extend_import_{$this->container_id}"; 114 115 /** 116 * Filter the module imports. 117 * 118 * @param array<int,class-string> $imports Array of submodules to import. 119 * @param class-string $classname Module classname. 120 * @return array<int,class-string> 121 * 122 * @since 1.0@beta.8 123 */ 124 return \apply_filters( $tag, $this->imports, $this->classname ); 94 125 } 95 126 -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/Functions/xwp-di-container-fns.php
r3167131 r3181790 31 31 * compile_dir?: string, 32 32 * proxies?: bool, 33 * } $app Application configuration. 34 * @param string $hook Hook to create the container on. 35 * @param int $priority Hook priority. 36 * @return true 37 */ 38 function xwp_load_app( array $app, string $hook = 'plugins_loaded', int $priority = PHP_INT_MIN ): bool { 39 return add_action( 40 $hook, 41 static function () use( $app ): void { 42 xwp_create_app( $app ); 43 }, 44 $priority, 45 ); 46 } 47 48 /** 49 * Create a new app container. 50 * 51 * @param array{ 52 * id: string, 53 * module: class-string, 54 * attributes?: bool, 55 * autowiring?: bool, 56 * compile?: bool, 57 * compile_class?: string, 58 * compile_dir?: string, 59 * proxies?: bool, 33 60 * } $args Application configuration. 34 61 * @return Container … … 37 64 return \XWP\DI\App_Factory::create( $args ); 38 65 } 66 67 /** 68 * Extend an application container definition. 69 * 70 * @param string $container Container ID. 71 * @param string|array<class-string> $module Module classname or array of module classnames. 72 * @param 'before'|'after' $position Position to insert the module. 73 * @param string|null $target Target module to extend. 74 */ 75 function xwp_extend_app( string $container, string|array $module, string $position = 'after', ?string $target = null ): void { 76 if ( ! is_array( $module ) ) { 77 $module = array( $module ); 78 } 79 80 \XWP\DI\App_Factory::extend( $container, $module, $position, $target ); 81 } 82 83 /** 84 * Decompile an application container. 85 * 86 * @param string $container_id Container ID. 87 * @param bool $immediately Decompile now or on shutdown. 88 * @return bool 89 */ 90 function xwp_decompile_app( string $container_id, bool $immediately = false ): bool { 91 return \XWP\DI\App_Factory::decompile( $container_id, $immediately ); 92 } -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/Interfaces/Can_Handle.php
r3167131 r3181790 72 72 */ 73 73 public function is_lazy(): bool; 74 75 /** 76 * Is the handler hookable? 77 * 78 * @return bool 79 */ 80 public function is_hookable(): bool; 74 81 } -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/Interfaces/Can_Invoke.php
r3167131 r3181790 12 12 * Defines decorators that can invoke WordPress hooks. 13 13 * 14 * @template THndlr of object 15 * @extends Can_Hook<THndlr,\ReflectionMethod> 14 * @template TInst of object 15 * @template THndl of Can_Handle<TInst> 16 * @extends Can_Hook<TInst,\ReflectionMethod> 16 17 * 17 18 * @property-read bool $firing Is the hook firing? 18 * @property-read int $fired Number of times the hook has fired.19 * @property-read int $fired Number of times the hook has fired. 19 20 20 * @property-read array{THndlr,string} $target The target method. 21 * @property-read array{TInst,string} $target The target method. 22 * @property-read Thndl $handler The handler instance. 21 23 */ 22 24 interface Can_Invoke extends Can_Hook { … … 48 50 * Set the handler instance. 49 51 * 50 * @template Thndlr of object 51 * @param Can_Handle<Thndlr> $handler Handler instance. 52 * @param THndl $handler Handler instance. 52 53 * @return static 53 54 */ -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/di/src/Invoker.php
r3167131 r3181790 96 96 * @template T of object 97 97 * @param class-string<T> $classname The handler classname. 98 * @return array<string,array<int,Can_Invoke<T >>>98 * @return array<string,array<int,Can_Invoke<T,Can_Handle<T>>>> 99 99 */ 100 100 public function get_hooks( string $classname ): array { … … 227 227 */ 228 228 protected function register_methods( Can_Handle $handler ): static { 229 if ( $this->has_hooks( $handler->classname ) ) {229 if ( $this->has_hooks( $handler->classname ) || ! $handler->is_hookable() ) { 230 230 return $this; 231 231 } … … 248 248 * 249 249 * @template T of object 250 * @param Can_Handle<T> $handler The handler to register the method for. 251 * @param \ReflectionMethod $m The method to register. 252 * @return array<int,Can_Invoke<T>> 253 */ 254 private function register_method( Can_Handle $handler, \ReflectionMethod $m ) { 250 * @template H of Can_Handle<T> 251 * 252 * @param H $handler The handler to register the method for. 253 * @param \ReflectionMethod $method The method to register. 254 * @return array<int,Can_Invoke<T,H>> 255 */ 256 private function register_method( Can_Handle $handler, \ReflectionMethod $method ) { 255 257 $hooks = array(); 256 258 257 foreach ( Reflection::get_decorators( $m , Can_Invoke::class ) as $hook ) {259 foreach ( Reflection::get_decorators( $method, Can_Invoke::class ) as $hook ) { 258 260 $hooks[] = $hook 259 ->with_handler( $handler)260 ->with_target( $m->getName() )261 ->with_reflector( $m);261 ->with_reflector( $method ) 262 ->with_target( $method->getName() ) 263 ->with_handler( $handler ); 262 264 } 263 265 … … 312 314 } 313 315 316 \do_action( 'xwp_di_hooks_loaded_' . $handler->classname, $handler ); 317 314 318 return $this; 315 319 } … … 319 323 * 320 324 * @template T of object 321 * @param Can_Handle<T> $handler The handler to load hooks for. 322 * @param array<string,array<int,Can_Invoke<T>>> $hooks The hooks to load. 325 * @template H of Can_Handle<T> 326 * @param H $handler The handler to load hooks for. 327 * @param array<string,array<int,Can_Invoke<T,H>>> $hooks The hooks to load. 323 328 * @return static 324 329 */ -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/helper-functions/Array_Extra.php
r3111341 r3181790 40 40 return \array_intersect_key( $input_array, \array_flip( $keys ) ); 41 41 } 42 43 final public static function from_string( string|array $target, string $delim ): array { 44 if ( \is_array( $target ) ) { 45 return $target; 46 } 47 48 return \array_values( 49 \array_filter( 50 \array_map( 'trim', \explode( $delim, $target ) ), 51 static fn( $v ) => '' !== $v, 52 ), 53 ); 54 } 42 55 } -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/helper-functions/Request.php
r3155827 r3181790 7 7 */ 8 8 final class Request { 9 /** 10 * Check if a REST namespace should be loaded. Useful to maintain site performance even when lots of REST namespaces are registered. 11 * 12 * @since 9.2.0. 13 * 14 * @param string $space The namespace to check. 15 * @param string $route (Optional) The REST route being checked. 16 * @param array<string> $known Known namespaces that we know are safe to not load if the request is not for them. 17 * 18 * @return bool True if the namespace should be loaded, false otherwise. 19 */ 20 public static function should_load_rest_ns( string $space, ?string $route = null, array $known = array() ): bool { 21 $route ??= $GLOBALS['wp']->query_vars['rest_route'] ?? false; 22 23 if ( ! $route ) { 24 return true; 25 } 26 27 $route = \trailingslashit( \ltrim( $route, '/' ) ); 28 $space = \trailingslashit( $space ); 29 $known = \array_map( 'trailingslashit', $known ); 30 31 /** 32 * Known namespaces that we know are safe to not load if the request is not for them. 33 * Namespaces not in this namespace should always be loaded, because we don't know if they won't be making another internal REST request to an unloaded namespace. 34 * 35 * @param array<string> $known_ns Known namespaces that we know are safe to not load if the request is not for them. 36 * @param string $space The namespace to check. 37 * @param string $route The REST route being checked. 38 * @return array<string> 39 * 40 * @since 1.16.0 41 */ 42 foreach ( \apply_filters( 'xwp_known_rest_namespaces', $known, $space, $route ) as $k ) { 43 if ( \str_starts_with( $route, $k ) ) { 44 return true; 45 } 46 } 47 48 $load = \str_starts_with( $route, $space ); 49 50 /** 51 * Filters whether a namespace should be loaded. 52 * 53 * @param bool $load True if the namespace should be loaded, false otherwise. 54 * @param string $space The namespace to check. 55 * @param string $route The REST route being checked. 56 * @param array $known Known namespaces that we know are safe to not load if the request is not for them. 57 * @return bool 58 * 59 * @since 1.16.0 60 */ 61 return \apply_filters( 'xwp_rest_can_load_namespace', $load, $space, $route, $known ); 62 } 63 9 64 /** 10 65 * Clean input data. -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/helper-functions/composer.json
r3170400 r3181790 32 32 }, 33 33 "files": [ 34 "xwp-helper-fns .php",34 "xwp-helper-fns-arr.php", 35 35 "xwp-helper-fns-num.php", 36 "xwp-helper-fns-req.php" 36 "xwp-helper-fns-req.php", 37 "xwp-helper-fns.php" 37 38 ] 38 39 } -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/helper-functions/xwp-helper-fns-num.php
r3170400 r3181790 7 7 */ 8 8 9 if ( ! function_exists( 'xwp_is_ float_str' ) ) :9 if ( ! function_exists( 'xwp_is_int_str' ) ) : 10 10 11 11 /** -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/helper-functions/xwp-helper-fns-req.php
r3167131 r3181790 8 8 9 9 use XWP\Helper\Functions as f; 10 11 if ( ! function_exists( 'xwp_can_load_rest_ns' ) ) : 12 /** 13 * Check if a REST namespace should be loaded. Useful to maintain site performance even when lots of REST namespaces are registered. 14 * 15 * @param string $space The namespace to check. 16 * @param string|null $route REST route being checked. Optional. 17 * @param array $known Known namespaces that we know are safe to not load if the request is not for them. 18 * @return bool 19 */ 20 function xwp_can_load_rest_ns( string $space, ?string $route = null, array $known = array() ): bool { 21 return f\Request::should_load_rest_ns( $space, $route, $known ); 22 } 23 24 endif; 10 25 11 26 if ( ! function_exists( 'xwp_fetch_get_var' ) ) : -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/helper-functions/xwp-helper-fns.php
r3167131 r3181790 50 50 */ 51 51 function xwp_wpfs( 52 string $method = null,52 string $method = WP_Filesystem_Direct::class, 53 53 array|bool $args = false, 54 54 string|bool $context = false, … … 79 79 ): WP_Filesystem_Base|bool|null { 80 80 return xwp_wpfs( null, $args, $context ); 81 }82 endif;83 84 if ( ! function_exists( 'xwp_array_flatmap' ) ) :85 /**86 * Flattens and maps an array.87 *88 * @template T The type of the elements in the input array.89 * @template R The type of the elements in the returned array.90 *91 * @param callable(T): R $callback Function to apply to each element.92 * @param array<array-key, T> $input_array Array to flatten and map.93 *94 * @return array<array-key, R>95 */96 function xwp_array_flatmap( callable $callback, array $input_array ) {97 return f\Array_Extra::flatmap( $callback, $input_array );98 }99 endif;100 101 if ( ! function_exists( 'wp_array_flatmap' ) ) :102 /**103 * Flattens and maps an array.104 *105 * @template T The type of the elements in the input array.106 * @template R The type of the elements in the returned array.107 *108 * @param array<array-key, T>|callable(T): R $callback Function to apply to each element.109 * @param array<array-key, T>|callable(T): R $input_array Array to flatten and map.110 *111 * @return array<array-key, R>112 */113 function wp_array_flatmap( callable|array $callback, array|callable $input_array ) {114 return is_array( $input_array )115 ? xwp_array_flatmap( $callback, $input_array )116 : xwp_array_flatmap( $input_array, $callback );117 }118 endif;119 120 if ( ! function_exists( 'wp_array_flatmap_assoc' ) ) :121 /**122 * Flatten and map an associative array of arrays.123 *124 * @template R125 * @template T — Applies the callback to the elements of the given arrays126 *127 * @param callable(T): R $callback Callback function to run for each element in each array.128 * @param array<string, <array<T>> $input The input array.129 * @param key-of<T> $key Key whose value will be used as the key for the returned array.130 * @param bool $unkey Optional. Whether to remove the key from the returned array. Default true.131 *132 * @return array<value-of<key-of<T>>, R> An array containing all the elements of arr1 after applying the callback function to each one.133 */134 function wp_array_flatmap_assoc( callable $callback, array $input, string $key, bool $unkey = true ) {135 return f\Array_Extra::flatmap_assoc( $callback, $input, $key, $unkey );136 }137 endif;138 139 if ( ! function_exists( 'wp_array_diff_assoc' ) ) :140 /**141 * Legacy function to extract a slice of an array not including the specified keys.142 *143 * @param array $input_array Input array.144 * @param array $keys Keys to exclude.145 */146 function wp_array_diff_assoc( array $input_array, array $keys ) {147 return xwp_array_diff_assoc( $input_array, ...$keys );148 }149 endif;150 151 if ( ! function_exists( 'xwp_array_diff_assoc' ) ) :152 /**153 * Extracts a slice of array not including the specified keys.154 *155 * @template T The type of the elements in the input array.156 *157 * @param array<string, T> $input_array Input array.158 * @param array<string>|string ...$keys Keys to exclude.159 * @return array<string, T> Array with the keys removed.160 */161 function xwp_array_diff_assoc( array $input_array, string ...$keys ) {162 if ( is_array( $keys[0] ) ) {163 $keys = $keys[0];164 }165 166 return f\Array_Extra::diff_assoc( $input_array, $keys );167 }168 169 endif;170 171 if ( ! function_exists( 'wp_array_rekey' ) ) :172 /**173 * Rekey an array of arrays by a specific key.174 *175 * @param array<string, array<string, mixed>> $arr The input array.176 * @param string $key The key to rekey by.177 * @return array<string, array<string, mixed>> The rekeyed array.178 */179 function wp_array_rekey( array $arr, string $key ): array {180 return f\Array_Extra::rekey( $arr, $key );181 }182 endif;183 184 if ( ! function_exists( 'xwp_array_slice_assoc' ) ) :185 /**186 * Extracts a slice of an array.187 *188 * @template T The type of the elements in the input array.189 *190 * @param array<string, T> $input_array Input array.191 * @param string ...$keys Keys to include.192 * @return array<string, T> Array with only the keys specified.193 */194 function xwp_array_slice_assoc( array $input_array, string ...$keys ) {195 return f\Array_Extra::slice_assoc( $input_array, $keys );196 81 } 197 82 endif; … … 274 159 } 275 160 endif; 161 162 163 if ( ! function_exists( 'xwp_str_to_bool' ) ) : 164 /** 165 * Convert a string to a boolean. 166 * 167 * @param string|bool|null $str The string to convert. 168 * @return bool 169 */ 170 function xwp_str_to_bool( string|bool|null $str = '' ): bool { 171 if ( is_bool( $str ) ) { 172 return $str; 173 } 174 175 if ( xwp_is_int_str( $str ) ) { 176 return intval( $str ) > 0; 177 } 178 179 return match ( strtolower( $str ) ) { 180 'yes', 'true', 'on' => true, 181 'no', 'false', 'off' => false, 182 default => false, 183 }; 184 } 185 endif; 186 187 if ( ! function_exists( 'xwp_bool_to_str' ) ) : 188 /** 189 * Convert a boolean to a string. 190 * 191 * @param bool $boolean The boolean to convert. 192 * @return 'yes'|'no' 193 */ 194 function xwp_bool_to_str( bool|string $boolean ): string { 195 return xwp_str_to_bool( $boolean ) ? 'yes' : 'no'; 196 } 197 endif; 198 199 200 if ( ! function_exists( 'xwp_get_template' ) ) : 201 202 /** 203 * Get a template passing variables and including the file. 204 * 205 * @param string $template The template file. 206 * @param null|array<string,mixed> $params Optional. The variables to pass to the template file. 207 * 208 * @since 1.18.0 209 */ 210 function xwp_get_template( string $template, ?array $params = null ): void { 211 if ( ! file_exists( $template ) ) { 212 _doing_it_wrong( 213 __FUNCTION__, 214 sprintf( 'The template file %s does not exist.', esc_html( basename( $template ) ), ), 215 '1.0.0', 216 ); 217 return; 218 } 219 220 if ( is_array( $params ) && $params ) { 221 //phpcs:ignore WordPress.PHP.DontExtract.extract_extract 222 extract( $params ); 223 } 224 225 include $template; 226 } 227 228 endif; 229 230 231 if ( ! function_exists( 'xwp_get_template_html' ) ) : 232 233 /** 234 * Like `xwp_get_template` but returns the HTML instead of outputting it. 235 * 236 * @param string $template The template file. 237 * @param null|array<string,mixed> $params Optional. The variables to pass to the template file. 238 * @return string 239 * 240 * @since 1.18.0 241 */ 242 function xwp_get_template_html( string $template, ?array $params = null ): string { 243 ob_start(); 244 xwp_get_template( $template, $params ); 245 return (string) ob_get_clean(); 246 } 247 248 endif; -
serbian-addons-for-woocommerce/trunk/vendor/x-wp/wc-template-customizer/src/Customizer_Base.php
r3111341 r3181790 51 51 * }> 52 52 */ 53 protected static array $ file_def;53 protected static array $parsed_templates; 54 54 55 55 /** … … 58 58 * @var array<string, string> 59 59 */ 60 protected static array $ templates;60 protected static array $custom_templates; 61 61 62 62 /** … … 65 65 * @var array<string> 66 66 */ 67 protected static array $locked ;67 protected static array $locked_templates; 68 68 69 69 /** … … 129 129 static::$tokens ??= $this->define_tokens(); 130 130 131 static::$ file_def??= $this->define_files();132 static::$ templates ??= $this->define_templates();133 static::$locked ??= $this->define_locked();131 static::$parsed_templates ??= $this->define_files(); 132 static::$custom_templates ??= $this->define_templates(); 133 static::$locked_templates ??= $this->define_locked(); 134 134 135 135 static::$admin ??= $this->define_admin(); … … 245 245 */ 246 246 final protected function define_templates(): array { 247 return \wp_list_pluck( static::$ file_def, 'path' );247 return \wp_list_pluck( static::$parsed_templates, 'path' ); 248 248 } 249 249 … … 254 254 */ 255 255 final protected function define_locked(): array { 256 return \wp_list_pluck( static::$ file_def, 'lock' );256 return \wp_list_pluck( static::$parsed_templates, 'lock' ); 257 257 } 258 258 … … 263 263 */ 264 264 protected function define_admin(): ?Customizer_Admin { 265 return \is_admin() ? new Customizer_Admin( static::$ file_def) : null;265 return \is_admin() ? new Customizer_Admin( static::$parsed_templates ) : null; 266 266 } 267 267 … … 290 290 */ 291 291 public function modify_template_path( string $path, string $name ): string { 292 if ( ! isset( static::$ templates[ $name ] ) ) {292 if ( ! isset( static::$custom_templates[ $name ] ) ) { 293 293 return $path; 294 294 } 295 295 296 if ( ! static::$locked[ $name ] ) {297 $path = \locate_template( array( $name, \WC()->template_path() . $name ) );298 }299 300 return $path ?: static::$ templates[ $name ];296 $path = static::$locked_templates[ $name ] === false 297 ? \locate_template( array( $name, \WC()->template_path() . $name ) ) 298 : false; 299 300 return $path ?: static::$custom_templates[ $name ]; 301 301 } 302 302 } -
serbian-addons-for-woocommerce/trunk/woocommerce/checkout/payment-slip.php
r3159568 r3181790 52 52 </tr> 53 53 <tr> 54 55 54 <td class="block-content large"> 56 55 <?php echo wp_kses_post( $customer ); ?>
Note: See TracChangeset
for help on using the changeset viewer.