File manager - Edit - /home/rangceb/diohome.com/wp-includes6790ed/pomo/cloud.tar
Back
README.md 0000644 00000003664 15222564056 0006043 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. fonts/CloudApp.svg 0000644 00000002104 15222564056 0010131 0 ustar 00 <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > <svg xmlns="http://www.w3.org/2000/svg"> <metadata> <json> <![CDATA[ { "fontFamily": "CloudApp", "majorVersion": 1, "minorVersion": 0, "version": "Version 1.0", "fontId": "CloudApp", "psName": "CloudApp", "subFamily": "Regular", "fullName": "CloudApp", "description": "Font generated by IcoMoon." } ]]> </json> </metadata> <defs> <font id="CloudApp" horiz-adv-x="1024"> <font-face units-per-em="1024" ascent="960" descent="-64" /> <missing-glyph horiz-adv-x="1024" /> <glyph unicode=" " horiz-adv-x="512" d="" /> <glyph unicode="" glyph-name="inline-cloud" data-tags="inline-cloud" d="M877.714 434.468v40.96c0 182.126-147.017 329.143-329.143 329.143-169.691 0-307.2-128.731-325.486-293.303-1.463 0.731-2.194 0.731-3.657 0.731-121.417 0-219.429-98.011-219.429-219.429s98.011-219.429 219.429-219.429c79.726 0 550.766 0 621.714 0 100.937 0 182.857 81.92 182.857 182.857 0 88.503-62.903 161.646-146.286 178.469z" /> </font></defs></svg>