Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)始,故人唐宰相鲁公,🆚开府南服,余以布衣从戎。明年,别公漳水湄。后明年,公以事过张睢阳庙及颜杲卿所尝往来处,悲歌慷慨,卒不负其言而从之游。今其诗具在,可考也。😭
home/studionolh/www/wp-content/themes/Divi/onboarding/README.md 0000644 00000000015 15233531751 0020370 0 ustar 00 # onboarding
home/studionolh/www/wp-content/themes/Divi/common/README.md 0000644 00000000661 15233573500 0017543 0 ustar 00 # Common
- Anything here should be pure and not rely on anything from VB, TB, Core, so it can be reused wherever, even outside Divi.
- Only external dependencies allowed.
# Storybook
1. Go into common submodule directory
2. Switch to node version 20 e.g `nvm use 20`
3. Run `corepack enable` to activate [Corepack](https://nodejs.org/api/corepack.html)
4. Run `yarn set version berry`
5. Run `yarn install`
6. Run `yarn storybook` home/studionolh/www/wp-content/themes/Divi/ai-app/README.md 0000644 00000002171 15233573524 0017426 0 ustar 00 ## DIVI AI - Frontend APP
-----
-----
:smiley:
> How to trigger the AI app:
On a click event, we can hook the below statement:
```jQuery(window).trigger('et_ai_container_ready', [preferences, 'et-ai-app']);```
Param 1: Object **--->** preferences
```
const preferences = {
context: 'section',
date: new Date(),
};
```
This is just an example, you can pass any configuration you need.
Param 2: String **--->** 'container ID'
_We just have to pass a string as an ID, and the AI app will automatically create the element in the DOM_
> How the AI app starts:
AI app listens for the event and runs the _<APP />_ component.
```
$(window).on('et_ai_container_ready', (event, preferences, container) => {
...
...
<Provider store={store}>
<App />
</Provider>
...
});
```
We can pass the preferences like this, if necessary: (Index.tsx)
```
<Provider store={store}>
<App preferences={preferences} />
</Provider>
```
> How to start the test server:
Run `yarn` in the root to install packages
Run `yarn json-server` to start the JSON server
There is a db.json file included in the root directory for data.
Enjoy!
home/studionolh/www/wp-content/themes/Divi/cloud/README.md 0000644 00000003664 15233602336 0017367 0 ustar 00 # Cloud
Divi Cloud Client Application
Cloud Application is the Browser for the Library items which allows to manage items and perform various actions with items. It supports local items and items stored on the Divi Cloud. Both can be loaded into a single list and user can move items between local and cloud libraries using the Cloud App interface.
This is a standalone application and is fully independant from the Divi, includes/builder and core repos.
The only dependancy is the common repo.
It means Cloud Application can be mounted anywhere outside Divi and Visual Builder, for example on WP admin pages and can be extended to work with any type of items. It's not limited to work with Visual Builder layouts, items type is configurable.
To mount the Cloud app you have to create a container with id='et-cloud-app' and trigger `et_cloud_container_ready` event with set of preferences. Cloud Application will be mounted into `et-cloud-app` container.
Preferences format:
```
{
context: string,
initialTab: string,
editableTabs: array,
cloudTab: string,
predefinedTab: string,
globalSupport: boolean,
animation: string,
isProductTour: boolean,
showLoadOptions: boolean,
permanentFilter: object,
}
```
The page will have to listen for the Cloud App events to handle the actions like loading item from the Cloud, editing, updating, etc. The list of available Cloud App actions:
et_cloud_page_changed,
et_cloud_use_item,
et_cloud_download_progress,
et_cloud_account_status_error,
et_cloud_help,
et_cloud_item_action,
et_cloud_filter_update,
et_cloud_update_item,
et_cloud_item_toggle_location,
et_cloud_token_ready,
et_cloud_token_removed,
et_cloud_app_ready,
Cloud App also have API to send data from the page or trigger some events. See the `cloud/app/providers/bridge.js` for available actions.
All the tests located in `__tests__` directory and can be run form the /cloud repo using `yarn test` command. home/studionolh/www/wp-content/themes/Divi/README.md 0000644 00000002575 15233604057 0016263 0 ustar 00 # Divi Theme
 
Divi is a powerful multipurpose WordPress theme built atop the Divi Builder
framework, a revolutionary drag and drop page builder for WordPress. This theme
is available as part of the ElegantThemes.com membership. The membership provides
access to important theme updates and tech support, as well as the rest of
our awesome WordPress themes and plugins.
https://www.elegantthemes.com/join/
## Getting Started
To get started using Divi, we recommend browsing our extensive theme documentation
at https://www.elegantthemes.com/documentation/divi/. Below are listed
some of the best tutorials for beginners.
**1. Installing Divi**
https://www.elegantthemes.com/documentation/divi/install/
**2. Updating Divi**
https://www.elegantthemes.com/documentation/divi/update/
**3. Using the Divi Builder**
https://www.elegantthemes.com/documentation/divi/builder-overview-new/
**4. Using The Divi Theme Options**
https://www.elegantthemes.com/documentation/divi/theme-options/
**5. Using The Divi Library**
https://www.elegantthemes.com/documentation/divi/divi-library/
**6. Using The Divi Theme Customizer**
https://www.elegantthemes.com/documentation/divi/customizer/
## Copyright
> **© Copyright 2013-2022, Elegant Themes, Inc.**
home/studionolh/www/wp-content/themes/Divi/core/components/README.md 0000644 00000001646 15234103641 0021370 0 ustar 00 ## Core Components
This directory contains all of Core's PHP Components. Components are organized into groups using a nested directory structure.
### What's Inside
|File|Name|Description|
|:--------|:----------|:----------|
|**api**|**ET_Core_API**|Communicate with 3rd-party APIs|
|**data**|**ET_Core_Data**|Work with data (consume, format, etc)|
|**lib**|**ET_Core_LIB**|3rd-Party Libraries|
|**post**|**ET_Core_Post**|Work with WP Objects|
|Cache.php|ET_Core_Cache|Simple object cache|
|HTTPInterface.php|ET_Core_HTTPInterface|Wrapper for WP's HTTP API|
|Logger.php|ET_Core_Logger|Write to the debug log.
|PageResource.php|ET_Core_PageResource|Cache inline styles & scripts as static files.|
|Portability.php|ET_Core_Portability|Portability import/export|
|Rollback.php|ET_Core_VersionRollback|Theme & plugin version rollback|
|Updates.php|ET_Core_Updates|Theme & plugin updates|
> ***Note:*** Component groups are in **bold**.