Server IP : 104.21.14.103 / Your IP : 18.117.142.169 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/settings/shared/ |
Upload File : |
/** * @type {import("@woocommerce/type-defs/settings").WooCommerceSharedSettings} */ const defaults = { adminUrl: '', countries: [], currency: { code: 'USD', precision: 2, symbol: '$', symbolPosition: 'left', decimalSeparator: '.', priceFormat: '%1$s%2$s', thousandSeparator: ',', }, defaultDateRange: 'period=month&compare=previous_year', locale: { siteLocale: 'en_US', userLocale: 'en_US', weekdaysShort: [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ], }, orderStatuses: [], siteTitle: '', wcAssetUrl: '', }; // @ts-ignore wcSettings is window global const globalSharedSettings = typeof wcSettings === 'object' ? wcSettings : {}; // Use defaults or global settings, depending on what is set. /** * @type {import("@woocommerce/type-defs/settings").WooCommerceSharedSettings} */ const allSettings = { ...defaults, ...globalSharedSettings, }; /** * @type {import("@woocommerce/type-defs/settings").WooCommerceSiteCurrency} */ allSettings.currency = { ...defaults.currency, ...allSettings.currency, }; /** * @type {import("@woocommerce/type-defs/settings").WooCommerceSiteLocale} */ allSettings.locale = { ...defaults.locale, ...allSettings.locale, }; export { allSettings };