From 933143c80c7c21fb8fe7c6d16a49eaa269e6faa2 Mon Sep 17 00:00:00 2001 From: Damien Pobel Date: Fri, 28 Aug 2015 16:35:07 +0200 Subject: [PATCH 1/5] Renabled the ezappendcontent test --- .../js/views/fields/assets/ez-richtext-editview-tests.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Tests/js/views/fields/assets/ez-richtext-editview-tests.js b/Tests/js/views/fields/assets/ez-richtext-editview-tests.js index ec93ab85e..b579ced01 100644 --- a/Tests/js/views/fields/assets/ez-richtext-editview-tests.js +++ b/Tests/js/views/fields/assets/ez-richtext-editview-tests.js @@ -304,14 +304,6 @@ YUI.add('ez-richtext-editview-tests', function (Y) { editorTest = new Y.Test.Case({ name: "eZ RichText View editor test", - _should: { - ignore: { - // this test will fail until we upgrade to AlloyEditor 0.4.x - // because of https://github.com/liferay/alloy-editor/issues/294 - "Should add the ezappendcontent plugin": true, - } - }, - setUp: function () { this.field = {id: 42, fieldValue: {xhtml5edit: ""}}; this.model = new Mock(); From 46e1dec445c508ff504eaed9eebad06c91132f14 Mon Sep 17 00:00:00 2001 From: Damien Pobel Date: Fri, 28 Aug 2015 16:34:22 +0200 Subject: [PATCH 2/5] EZP-24731: Added the widget CKEDITOR to the extraPlugins list --- ApplicationConfig/Providers/RootInfo.php | 4 +- Resources/config/services.yml | 1 + .../js/views/fields/ez-richtext-editview.js | 17 +++++- Resources/views/PlatformUI/shell.html.twig | 14 ++++- .../Providers/RootInfoTest.php | 11 ++-- .../assets/ez-richtext-editview-tests.js | 54 +++++++++++++++++-- bower.json | 4 +- 7 files changed, 94 insertions(+), 11 deletions(-) diff --git a/ApplicationConfig/Providers/RootInfo.php b/ApplicationConfig/Providers/RootInfo.php index 3532b527c..376af8d8d 100644 --- a/ApplicationConfig/Providers/RootInfo.php +++ b/ApplicationConfig/Providers/RootInfo.php @@ -16,10 +16,11 @@ class RootInfo implements Provider /** @var \Symfony\Component\Templating\Asset\PackageInterface */ private $assetsHelper; - public function __construct(RequestStack $requestStack, AssetsHelper $assetsHelper) + public function __construct(RequestStack $requestStack, AssetsHelper $assetsHelper, $externalAssetsDirectory) { $this->requestStack = $requestStack; $this->assetsHelper = $assetsHelper; + $this->externalAssetsDirectory = $externalAssetsDirectory; } /** @@ -30,6 +31,7 @@ public function getConfig() return [ 'root' => $this->requestStack->getMasterRequest()->attributes->get('semanticPathInfo'), 'assetRoot' => $this->assetsHelper->getUrl('/'), + 'ckeditorPluginPath' => $this->assetsHelper->getUrl($this->externalAssetsDirectory) . '/vendors/', ]; } } diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 91f4bc452..71532128f 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -67,6 +67,7 @@ services: arguments: - @request_stack - @templating.helper.assets + - %ez_platformui.external_assets_public_dir% tags: - {name: ezsystems.platformui.application_config_provider, key: 'rootInfo'} diff --git a/Resources/public/js/views/fields/ez-richtext-editview.js b/Resources/public/js/views/fields/ez-richtext-editview.js index a837b2be1..76e305049 100644 --- a/Resources/public/js/views/fields/ez-richtext-editview.js +++ b/Resources/public/js/views/fields/ez-richtext-editview.js @@ -2,6 +2,7 @@ * Copyright (C) eZ Systems AS. All rights reserved. * For full copyright and license information view LICENSE file distributed with this source code. */ +/* global CKEDITOR */ YUI.add('ez-richtext-editview', function (Y) { "use strict"; /** @@ -100,6 +101,18 @@ YUI.add('ez-richtext-editview', function (Y) { this._set('focusMode', false); }, + /** + * Registers the plugin which name is given in the given plugin dir. + * + * @method _registerExternalCKEditorPlugin + * @protected + */ + _registerExternalCKEditorPlugin: function (pluginName, pluginDir) { + var path = this.get('config').alloyEditor.externalPluginPath; + + CKEDITOR.plugins.addExternal(pluginName, path + '/' + pluginDir); + }, + /** * Initializes the editor * @@ -109,10 +122,12 @@ YUI.add('ez-richtext-editview', function (Y) { _initEditor: function () { var editor, nativeEd, valid, setEditorFocused, unsetEditorFocused; + this._registerExternalCKEditorPlugin('widget', 'widget/'); + this._registerExternalCKEditorPlugin('lineutils', 'lineutils/'); editor = AlloyEditor.editable( this.get('container').one('.ez-richtext-editor').getDOMNode(), { toolbars: this.get('toolbarsConfig'), - extraPlugins: AlloyEditor.Core.ATTRS.extraPlugins.value + ',ezappendcontent', + extraPlugins: AlloyEditor.Core.ATTRS.extraPlugins.value + ',ezappendcontent,widget', eZ: { editableRegion: '.ez-richtext-editable', }, diff --git a/Resources/views/PlatformUI/shell.html.twig b/Resources/views/PlatformUI/shell.html.twig index aa79ec749..91619a75c 100644 --- a/Resources/views/PlatformUI/shell.html.twig +++ b/Resources/views/PlatformUI/shell.html.twig @@ -73,12 +73,22 @@ }, "editContent": { "fieldEditViews": { - "ezcountry": {{parameters.countriesInfo|json_encode|raw}} + "ezcountry": {{parameters.countriesInfo|json_encode|raw}}, + "ezrichtext": { + "alloyEditor": { + "externalPluginPath": "{{ parameters.rootInfo.ckeditorPluginPath }}", + } + } } }, "createContent": { "fieldEditViews": { - "ezcountry": {{parameters.countriesInfo|json_encode|raw}} + "ezcountry": {{parameters.countriesInfo|json_encode|raw}}, + "ezrichtext": { + "alloyEditor": { + "externalPluginPath": "{{ parameters.rootInfo.ckeditorPluginPath }}", + } + } } } } diff --git a/Tests/ApplicationConfig/Providers/RootInfoTest.php b/Tests/ApplicationConfig/Providers/RootInfoTest.php index 258f6785b..e0328f1f4 100644 --- a/Tests/ApplicationConfig/Providers/RootInfoTest.php +++ b/Tests/ApplicationConfig/Providers/RootInfoTest.php @@ -11,11 +11,13 @@ class RootInfoTest extends PHPUnit_Framework_TestCase { + const ASSETS_DIR = 'path/to/assets'; + public function testGetConfig() { - $provider = new RootInfo($this->createRequestStack(), $this->getAssetsHelperMock()); + $provider = new RootInfo($this->createRequestStack(), $this->getAssetsHelperMock(), self::ASSETS_DIR); self::assertEquals( - ['root' => '', 'assetRoot' => '/'], + ['root' => '', 'assetRoot' => '/', 'ckeditorPluginPath' => '/' . self::ASSETS_DIR . '/vendors/'], $provider->getConfig() ); } @@ -29,7 +31,10 @@ protected function getAssetsHelperMock() ->getMockBuilder('Symfony\Bundle\FrameworkBundle\Templating\Helper\AssetsHelper') ->disableOriginalConstructor() ->getMock(); - $assetsHelper->expects($this->any())->method('getUrl')->willReturn('/'); + $assetsHelper->expects($this->any())->method('getUrl')->willReturnMap([ + ['/', null, null, '/'], + [self::ASSETS_DIR, null, null, '/' . self::ASSETS_DIR], + ]); return $assetsHelper; } diff --git a/Tests/js/views/fields/assets/ez-richtext-editview-tests.js b/Tests/js/views/fields/assets/ez-richtext-editview-tests.js index b579ced01..4d598c941 100644 --- a/Tests/js/views/fields/assets/ez-richtext-editview-tests.js +++ b/Tests/js/views/fields/assets/ez-richtext-editview-tests.js @@ -179,6 +179,11 @@ YUI.add('ez-richtext-editview-tests', function (Y) { version: this.model, contentType: this.model, actionBar: new Y.View(), + config: { + alloyEditor: { + externalPluginPath: '../../..', + } + }, }); }, @@ -270,6 +275,11 @@ YUI.add('ez-richtext-editview-tests', function (Y) { version: this.model, contentType: this.model, actionBar: new Y.View(), + config: { + alloyEditor: { + externalPluginPath: '../../..', + } + }, }); }, @@ -305,6 +315,11 @@ YUI.add('ez-richtext-editview-tests', function (Y) { name: "eZ RichText View editor test", setUp: function () { + this.config = { + alloyEditor: { + externalPluginPath: '../../..', + } + }; this.field = {id: 42, fieldValue: {xhtml5edit: ""}}; this.model = new Mock(); Mock.expect(this.model, { @@ -320,6 +335,7 @@ YUI.add('ez-richtext-editview-tests', function (Y) { version: this.model, contentType: this.model, actionBar: new Y.View(), + config: this.config, }); this.view.render(); }, @@ -329,6 +345,25 @@ YUI.add('ez-richtext-editview-tests', function (Y) { this.view.destroy(); }, + _testRegisterPlugin: function (plugin) { + Assert.isObject( + CKEDITOR.plugins.externals[plugin], + "The '" + plugin + "' plugin should be registered" + ); + Assert.areEqual( + CKEDITOR.plugins.externals[plugin].dir, + this.view.get('config').alloyEditor.externalPluginPath + '/' + plugin + '/' + ); + }, + + "Should register the 'widget' CKEditor plugin": function () { + this._testRegisterPlugin('widget'); + }, + + "Should register the 'lineutils' CKEditor plugin": function () { + this._testRegisterPlugin('lineutils'); + }, + "Should create an instance of AlloyEditor": function () { this.view.set('active', true); @@ -383,15 +418,23 @@ YUI.add('ez-richtext-editview-tests', function (Y) { Assert.isTrue(validated, "The input should have been validated"); }, - "Should add the ezappendcontent plugin": function () { + _testExtraPlugins: function (plugin) { this.view.set('active', true); Assert.isTrue( - this.view.get('editor').get('extraPlugins').indexOf('ezappendcontent') !== -1, - "The ezappendcontent plugin should be loaded" + this.view.get('editor').get('extraPlugins').indexOf(plugin) !== -1, + "The '" + plugin + "' plugin should be loaded" ); }, + "Should add the ezappendcontent plugin": function () { + this._testExtraPlugins('ezappendcontent'); + }, + + "Should add the widget plugin": function () { + this._testExtraPlugins('widget'); + }, + "Should pass the `eZ` configuration": function () { var eZConfig; @@ -584,6 +627,11 @@ YUI.add('ez-richtext-editview-tests', function (Y) { version: this.version, contentType: this.contentType, actionBar: new Y.View(), + config: { + alloyEditor: { + externalPluginPath: '../../..', + } + }, }); this.view.get('actionBar').addTarget(this.view); this.view.render(); diff --git a/bower.json b/bower.json index 87eae47ed..91cd1e7dd 100644 --- a/bower.json +++ b/bower.json @@ -14,6 +14,8 @@ ], "dependencies": { "yui3": "http://yui.zenfs.com/releases/yui3/yui_3.18.1.zip", - "alloyeditor": "~0.5.0" + "alloyeditor": "~0.5.0", + "widget": "http://download.ckeditor.com/widget/releases/widget_4.5.3.zip", + "lineutils": "http://download.ckeditor.com/lineutils/releases/lineutils_4.5.3.zip" } } From 2b26cc82c0d27c6d35164a1afb545bcd53d39d0d Mon Sep 17 00:00:00 2001 From: Damien Pobel Date: Fri, 28 Aug 2015 17:39:02 +0200 Subject: [PATCH 3/5] EZP-24731: Added the embed CKEditor plugin to recognize ezembed tag as widget --- Resources/config/yui.yml | 4 + .../public/js/alloyeditor/plugins/embed.js | 34 ++++++++ .../js/views/fields/ez-richtext-editview.js | 2 +- .../ez-alloyeditor-plugin-embed-tests.js | 83 +++++++++++++++++++ .../plugins/ez-alloyeditor-plugin-embed.html | 44 ++++++++++ .../assets/ez-richtext-editview-tests.js | 6 ++ 6 files changed, 172 insertions(+), 1 deletion(-) create mode 100644 Resources/public/js/alloyeditor/plugins/embed.js create mode 100644 Tests/js/alloyeditor/plugins/assets/ez-alloyeditor-plugin-embed-tests.js create mode 100644 Tests/js/alloyeditor/plugins/ez-alloyeditor-plugin-embed.html diff --git a/Resources/config/yui.yml b/Resources/config/yui.yml index b2a405d64..703b65c96 100644 --- a/Resources/config/yui.yml +++ b/Resources/config/yui.yml @@ -16,6 +16,9 @@ system: ez-alloyeditor-plugin-appendcontent: requires: ['ez-alloyeditor'] path: %ez_platformui.public_dir%/js/alloyeditor/plugins/appendcontent.js + ez-alloyeditor-plugin-embed: + requires: ['ez-alloyeditor'] + path: %ez_platformui.public_dir%/js/alloyeditor/plugins/embed.js ez-alloyeditor-toolbar-appendcontent: requires: ['ez-alloyeditor'] path: %ez_platformui.public_dir%/js/alloyeditor/toolbars/appendcontent.js @@ -421,6 +424,7 @@ system: - 'ez-fieldeditview' - 'ez-alloyeditor' - 'ez-richtextfocusmodebarview' + - 'ez-alloyeditor-plugin-embed' - 'ez-alloyeditor-plugin-appendcontent' - 'ez-alloyeditor-toolbar-appendcontent' - 'ez-alloyeditor-button-heading' diff --git a/Resources/public/js/alloyeditor/plugins/embed.js b/Resources/public/js/alloyeditor/plugins/embed.js new file mode 100644 index 000000000..136c206d1 --- /dev/null +++ b/Resources/public/js/alloyeditor/plugins/embed.js @@ -0,0 +1,34 @@ +/* + * Copyright (C) eZ Systems AS. All rights reserved. + * For full copyright and license information view LICENSE file distributed with this source code. + */ +/* global CKEDITOR */ +YUI.add('ez-alloyeditor-plugin-embed', function (Y) { + "use strict"; + + if (CKEDITOR.plugins.get('ezembed')) { + return; + } + + /** + * CKEditor plugin to configure the widget plugin so that it recognizes the + * `ezembed` elements as widget. + * + * @class CKEDITOR.plugins.ezembed + * @constructor + */ + CKEDITOR.plugins.add('ezembed', { + requires: 'widget', + + init: function (editor) { + editor.widgets.add('ezembed', { + template: '', + requiredContent: 'ezembed', + + upcast: function (element) { + return element.name === 'ezembed'; + }, + }); + }, + }); +}); diff --git a/Resources/public/js/views/fields/ez-richtext-editview.js b/Resources/public/js/views/fields/ez-richtext-editview.js index 76e305049..195ec6b17 100644 --- a/Resources/public/js/views/fields/ez-richtext-editview.js +++ b/Resources/public/js/views/fields/ez-richtext-editview.js @@ -127,7 +127,7 @@ YUI.add('ez-richtext-editview', function (Y) { editor = AlloyEditor.editable( this.get('container').one('.ez-richtext-editor').getDOMNode(), { toolbars: this.get('toolbarsConfig'), - extraPlugins: AlloyEditor.Core.ATTRS.extraPlugins.value + ',ezappendcontent,widget', + extraPlugins: AlloyEditor.Core.ATTRS.extraPlugins.value + ',ezappendcontent,widget,ezembed', eZ: { editableRegion: '.ez-richtext-editable', }, diff --git a/Tests/js/alloyeditor/plugins/assets/ez-alloyeditor-plugin-embed-tests.js b/Tests/js/alloyeditor/plugins/assets/ez-alloyeditor-plugin-embed-tests.js new file mode 100644 index 000000000..5c8a10a18 --- /dev/null +++ b/Tests/js/alloyeditor/plugins/assets/ez-alloyeditor-plugin-embed-tests.js @@ -0,0 +1,83 @@ +/* + * Copyright (C) eZ Systems AS. All rights reserved. + * For full copyright and license information view LICENSE file distributed with this source code. + */ +/* global CKEDITOR, AlloyEditor */ +YUI.add('ez-alloyeditor-plugin-embed-tests', function (Y) { + var definePluginTest, embedWidgetTest, + Assert = Y.Assert, Mock = Y.Mock; + + definePluginTest = new Y.Test.Case({ + name: "eZ AlloyEditor embed plugin define test", + + setUp: function () { + this.editor = {}; + this.editor.widgets = new Mock(); + }, + + tearDown: function () { + delete this.editor; + }, + + "Should define the embed plugin": function () { + var plugin = CKEDITOR.plugins.get('ezembed'); + + Assert.isObject( + plugin, + "The ezembed should be defined" + ); + Assert.areEqual( + plugin.name, + "ezembed", + "The plugin name should be ezembed" + ); + }, + + "Should define the ezembed widget": function () { + var plugin = CKEDITOR.plugins.get('ezembed'); + + Mock.expect(this.editor.widgets, { + method: 'add', + args: ['ezembed', Mock.Value.Object], + }); + plugin.init(this.editor); + Mock.verify(this.editor.widgets); + }, + }); + + embedWidgetTest = new Y.Test.Case({ + name: "eZ AlloyEditor embed widget test", + + init: function () { + CKEDITOR.plugins.addExternal('lineutils', '../../../lineutils/'); + CKEDITOR.plugins.addExternal('widget', '../../../widget/'); + }, + + setUp: function () { + this.container = Y.one('.container'); + this.editor = AlloyEditor.editable( + this.container.getDOMNode(), { + extraPlugins: AlloyEditor.Core.ATTRS.extraPlugins.value + ',widget,ezembed', + } + ); + }, + + "Should recognize ezembed element as a widget": function () { + var container = this.container; + + this.editor.get('nativeEditor').on('instanceReady', this.next(function () { + Assert.isTrue( + CKEDITOR.plugins.widget.isDomWidgetElement( + new CKEDITOR.dom.node(container.one('ezembed').getDOMNode()) + ) + ); + })); + this.wait(); + }, + + }); + + Y.Test.Runner.setName("eZ AlloyEditor embed plugin tests"); + Y.Test.Runner.add(definePluginTest); + Y.Test.Runner.add(embedWidgetTest); +}, '', {requires: ['test', 'node', 'ez-alloyeditor-plugin-embed']}); diff --git a/Tests/js/alloyeditor/plugins/ez-alloyeditor-plugin-embed.html b/Tests/js/alloyeditor/plugins/ez-alloyeditor-plugin-embed.html new file mode 100644 index 000000000..6b8498198 --- /dev/null +++ b/Tests/js/alloyeditor/plugins/ez-alloyeditor-plugin-embed.html @@ -0,0 +1,44 @@ + + + + +eZ AlloyEditor embed plugin tests + + + +
+

Listening to Led Zeppelin - When the levee breaks

+ +
+ + + + + + + + diff --git a/Tests/js/views/fields/assets/ez-richtext-editview-tests.js b/Tests/js/views/fields/assets/ez-richtext-editview-tests.js index 4d598c941..fc16144be 100644 --- a/Tests/js/views/fields/assets/ez-richtext-editview-tests.js +++ b/Tests/js/views/fields/assets/ez-richtext-editview-tests.js @@ -26,6 +26,8 @@ YUI.add('ez-richtext-editview-tests', function (Y) { FIELDVALUE_RESULT += '

I\'m not empty

'; CKEDITOR.plugins.add('ezappendcontent', {}); + CKEDITOR.plugins.add('ezembed', {}); + renderTest = new Y.Test.Case({ name: "eZ RichText View render test", @@ -435,6 +437,10 @@ YUI.add('ez-richtext-editview-tests', function (Y) { this._testExtraPlugins('widget'); }, + "Should add the ezembed plugin": function () { + this._testExtraPlugins('ezembed'); + }, + "Should pass the `eZ` configuration": function () { var eZConfig; From 76200a2fafba1721a793d100fb0d5a25b9a962e6 Mon Sep 17 00:00:00 2001 From: Damien Pobel Date: Mon, 31 Aug 2015 08:23:45 +0200 Subject: [PATCH 4/5] EZP-24731: Added the embed button --- Resources/config/css.yml | 2 + Resources/config/yui.yml | 4 + Resources/public/css/alloyeditor/content.css | 22 + .../alloyeditor/toolbars/appendcontent.css | 7 +- .../public/css/theme/alloyeditor/content.css | 26 + .../alloyeditor/toolbars/appendcontent.css | 8 + Resources/public/fonts/icomoon.eot | Bin 9672 -> 9760 bytes Resources/public/fonts/icomoon.svg | 1 + Resources/public/fonts/icomoon.ttf | Bin 9508 -> 9596 bytes Resources/public/fonts/icomoon.woff | Bin 9584 -> 9672 bytes Resources/public/fonts/selection.json | 1742 +++++++++-------- .../public/js/alloyeditor/buttons/embed.js | 89 + .../public/js/alloyeditor/buttons/embed.jsx | 84 + .../public/js/alloyeditor/buttons/heading.js | 2 +- .../public/js/alloyeditor/buttons/heading.jsx | 2 +- .../js/views/fields/ez-richtext-editview.js | 2 +- .../ez-alloyeditor-button-embed-tests.jsx | 126 ++ .../buttons/ez-alloyeditor-button-embed.html | 43 + .../assets/ez-richtext-editview-tests.js | 42 +- 19 files changed, 1341 insertions(+), 861 deletions(-) create mode 100644 Resources/public/css/alloyeditor/content.css create mode 100644 Resources/public/css/theme/alloyeditor/content.css create mode 100644 Resources/public/js/alloyeditor/buttons/embed.js create mode 100644 Resources/public/js/alloyeditor/buttons/embed.jsx create mode 100644 Tests/js/alloyeditor/buttons/assets/ez-alloyeditor-button-embed-tests.jsx create mode 100644 Tests/js/alloyeditor/buttons/ez-alloyeditor-button-embed.html diff --git a/Resources/config/css.yml b/Resources/config/css.yml index 436e685e6..5613122b5 100644 --- a/Resources/config/css.yml +++ b/Resources/config/css.yml @@ -82,6 +82,7 @@ system: - 'bundles/ezplatformui/css/modules/table-data.css' - 'bundles/ezplatformui/css/modules/breadcrumbs.css' - 'bundles/ezplatformui/css/modules/yui-calendar.css' + - 'bundles/ezplatformui/css/alloyeditor/content.css' - 'bundles/ezplatformui/css/alloyeditor/toolbars/appendcontent.css' # theme stylesheets - 'bundles/ezplatformui/css/theme/app.css' @@ -146,4 +147,5 @@ system: - 'bundles/ezplatformui/css/theme/modules/breadcrumbs.css' - 'bundles/ezplatformui/css/theme/modules/yui-calendar.css' - 'bundles/ezplatformui/css/theme/alloyeditor/general.css' + - 'bundles/ezplatformui/css/theme/alloyeditor/content.css' - 'bundles/ezplatformui/css/theme/alloyeditor/toolbars/appendcontent.css' diff --git a/Resources/config/yui.yml b/Resources/config/yui.yml index 703b65c96..654e2c1e1 100644 --- a/Resources/config/yui.yml +++ b/Resources/config/yui.yml @@ -25,6 +25,9 @@ system: ez-alloyeditor-button-heading: requires: ['ez-alloyeditor'] path: %ez_platformui.public_dir%/js/alloyeditor/buttons/heading.js + ez-alloyeditor-button-embed: + requires: ['ez-alloyeditor'] + path: %ez_platformui.public_dir%/js/alloyeditor/buttons/embed.js ez-platformuiapp: requires: - 'app' @@ -428,6 +431,7 @@ system: - 'ez-alloyeditor-plugin-appendcontent' - 'ez-alloyeditor-toolbar-appendcontent' - 'ez-alloyeditor-button-heading' + - 'ez-alloyeditor-button-embed' - 'richtexteditview-ez-template' path: %ez_platformui.public_dir%/js/views/fields/ez-richtext-editview.js richtexteditview-ez-template: diff --git a/Resources/public/css/alloyeditor/content.css b/Resources/public/css/alloyeditor/content.css new file mode 100644 index 000000000..ad8c4c092 --- /dev/null +++ b/Resources/public/css/alloyeditor/content.css @@ -0,0 +1,22 @@ +/** + * Copyright (C) eZ Systems AS. All rights reserved. + * For full copyright and license information view LICENSE file distributed with this source code. + */ + +.ez-richtext-editable ezembed { + display: block; + margin: 1em 0.1em; + line-height: 2em; + height: 2em; +} + +.ez-richtext-editable ezembed:before { + padding: 0 0.2em 0 0.5em; +} + +.ez-richtext-editable ezembed:before, +.ez-richtext-editable ezembed:after { + line-height: 100%; + height: 100%; + display: inline-block; +} diff --git a/Resources/public/css/alloyeditor/toolbars/appendcontent.css b/Resources/public/css/alloyeditor/toolbars/appendcontent.css index 3540e55e1..642bf6b13 100644 --- a/Resources/public/css/alloyeditor/toolbars/appendcontent.css +++ b/Resources/public/css/alloyeditor/toolbars/appendcontent.css @@ -6,8 +6,13 @@ .ae-ui .ez-ae-appendcontent .ez-ae-labeled-button { width: auto; height: auto; + margin: 0.3em 0.8em; } .ae-ui .ez-ae-appendcontent .ez-ae-label { - margin: 0; + margin: 0.3em 0 0 0; +} + +.ae-ui .ez-ae-icon:before { + display: block; } diff --git a/Resources/public/css/theme/alloyeditor/content.css b/Resources/public/css/theme/alloyeditor/content.css new file mode 100644 index 000000000..5795fdae9 --- /dev/null +++ b/Resources/public/css/theme/alloyeditor/content.css @@ -0,0 +1,26 @@ +/** + * Copyright (C) eZ Systems AS. All rights reserved. + * For full copyright and license information view LICENSE file distributed with this source code. + */ + +.ez-richtext-editable ezembed { + background: #eee; + border: 1px solid #aaa; + font-size: 1.1em; +} + +.ez-richtext-editable ezembed:before { + font-family: 'ez-platformui-icomoon'; + speak: none; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + -webkit-font-smoothing: antialiased; + + content: "\E62e"; +} + +.ez-richtext-editable ezembed:after { + content: attr(href); +} diff --git a/Resources/public/css/theme/alloyeditor/toolbars/appendcontent.css b/Resources/public/css/theme/alloyeditor/toolbars/appendcontent.css index 3b6a48b11..8e187f62d 100644 --- a/Resources/public/css/theme/alloyeditor/toolbars/appendcontent.css +++ b/Resources/public/css/theme/alloyeditor/toolbars/appendcontent.css @@ -10,3 +10,11 @@ .ae-ui .ez-ae-appendcontent .ez-ae-label { font-size: 80%; } + +.ae-ui .ez-ae-icon:before { + font-size: 28px; +} + +.ae-ui .ez-ae-icon-embed:before { + content: "\E62e"; +} diff --git a/Resources/public/fonts/icomoon.eot b/Resources/public/fonts/icomoon.eot index 04849c3160f54e0879724b5ea2d7b0e1c9696657..40258de519bcc7d6960924f1e0caa050e2be9826 100644 GIT binary patch delta 420 zcmX@%y}*Z6L5+c-W+JOOi}Wp5g~@^{A`?TB1+5qu81?{hLUL|m!JAJDB`2PcslU1* zQHX(oaRvi}LP?CFZ8i^y2&tUOT*AN%lwnYf z0m(BkvoJDDPGRh3)SLW)QJtM#oIz}jnA&DJrq6Og%s}~YmIut546F>?3<5ws;+%}^ z;;QPLjOOZ$;>_y8%nk{R4*w1$JovjH;okv9hlB@=cij%S9e4l~2Js#MMM2VxnL>XZ zgqRL&=2r}53{h~sB^}Ri^Ob>{1>_QjODx-0BIy4IfL0y=@;MloK%zjv$iTpS;Qs*z zpgTZ-%=;D6KHLLAhLV3jZbk4+3feR$ztZ42Kwa!OEE?Z&VfDtgNz> F5da5@X@dX& delta 314 zcmZ4BbHbbTgen7r%0yOk7H$u-9TOeO1x*hGj}+EH#a4@{ZkA*EEVnsTF_G*{{RC6O9KNCurz=~P=MKF9_160Zzz}Zui!t% S|3^RoC<{_!wmDAa5F-FJ_fMGs diff --git a/Resources/public/fonts/icomoon.svg b/Resources/public/fonts/icomoon.svg index 8c2cdf6c0..655396c91 100644 --- a/Resources/public/fonts/icomoon.svg +++ b/Resources/public/fonts/icomoon.svg @@ -53,6 +53,7 @@ + diff --git a/Resources/public/fonts/icomoon.ttf b/Resources/public/fonts/icomoon.ttf index d759392d7aed145460ea2b64d9e477f247cf4b6d..e84f37c9174b415882c25eac06ede87a8c678a36 100644 GIT binary patch delta 449 zcmZ4D^~bB8fsuiMft#U$ftkU;KUm+0Ux?ibD6$8L6OwZi3*LNMD9OOUCA>b}g;2&21=m~B@%%Pl8Ms+M?qRsZvVA3j{(k^y zg47_0FOkmH|D=%dP0F#$$o&W#< delta 347 zcmez4wZyBQfsuiMft#U$ftkU;KUm+0Ux?ilD6$8L6OwZi3*LNKD8|6RCp%JN1CT$1fk8nbBQ-IFz3QJh1B2oYpuAZIP=LdUr5wlys$o#c z$StWj&%mw8z@Q`oP#=r z-#~s1(2}--{NfUzLxDh*1tibF%=~-efo?|K$v%wg+-ze1#a4@{0u?Y$PE-}%JdyE^ z+~$J{!Hgk0%sjZ``E9;3aD%ilFkE~Wa~47WKfuz!d;rMjU|<4?0s$~km=F9vz`(%L ozyJg+4ImK|U^Y2J>BM9c<#PTN{KxqJ2mk{Gtj28fF6Bdv09T4qN&o-= diff --git a/Resources/public/fonts/icomoon.woff b/Resources/public/fonts/icomoon.woff index c7be7b0d56cde2b97c7114bb06a90f1c67ffe4c2..3c6d09642947c9ffd93eec083f49c19294f481eb 100644 GIT binary patch delta 446 zcmez1b;4Vu+~3WOfsp|SR8KH)gXx-yBHHy<$+?LI3=E7JK%o*4e)DOeWO`yTNbC-f z&jG~(={c2YK(Qwb3<^MX3ME%JBnoAuCZ;ejC`AC(n1L_{`{wf*KtZ6`1R!4pggF+m z{K&{HsQ`*?0rEj+-nqiS?U|FG3{>Z*3{nWRjGn)Xj9nRyyxQ#x@Y1>BafGAio&s2-OvEb<98(GYi9H9>#7)y~#5e)!Es_8N}9zsck;S_*pK9 z8E9NM%L8Uj23DZw1%O(`IT_i-Rn<8e&D9yjnbn1v9TFHF{vAko@OMGNzXOa82@e?W zx*c#k@BkM{0HqZsYbclVPvO7B|3N@azzVF;eDgZxLyQ2E Ch-(!9 delta 403 zcmX@%{lQD5+~3WOfsp|SR0|lm!L-WcjjG}kwMFVplXDXb7#J8cfWjpp{N}?#vGl}Z zkk}m{p96{o(sL@)fMQP=7!(vhxc}tG4;iV6DGUrsEI>78Ak1F%Pdo!C2o$pc@>M{X z!-=IlBe$diD3$=^-vHtB4BVPI`N=?ae##a=fjki2_hh?FZej({V&xS;z5*D#FdWHC z%uNM~od8;wM~Ffgz*FaQBd14sk~m`&cIbYgOYa=GLR{$u=q1O$MxAT?$ThZuOlDw)8JP*z#W F2mpNuSm*!% diff --git a/Resources/public/fonts/selection.json b/Resources/public/fonts/selection.json index 145844416..8580cde57 100644 --- a/Resources/public/fonts/selection.json +++ b/Resources/public/fonts/selection.json @@ -4,1551 +4,1581 @@ { "icon": { "paths": [ - "M1024 0h-416l160 160-192 192 96 96 192-192 160 160z", - "M1024 1024v-416l-160 160-192-192-96 96 192 192-160 160z", - "M0 1024h416l-160-160 192-192-96-96-192 192-160-160z", - "M0 0v416l160-160 192 192 96-96-192-192 160-160z" + "M832 736l96 96 320-320-320-320-96 96 224 224z", + "M448 288l-96-96-320 320 320 320 96-96-224-224z", + "M701.298 150.519l69.468 18.944-191.987 704.026-69.468-18.944 191.987-704.026z" ], "attrs": [], "isMulticolor": false, + "width": 1280, "tags": [ - "enlarge", - "expand", - "maximize", - "fullscreen" + "embed", + "code", + "html", + "xml" ], - "defaultCode": 57791, - "grid": 32 + "grid": 16 }, "attrs": [], "properties": { - "id": 537, - "order": 48, + "order": 1, + "id": 0, "prevSize": 32, - "code": 59785, - "ligatures": "enlarge, expand", - "name": "enlarge" + "code": 58926, + "name": "embed" }, "setIdx": 0, - "setId": 4, + "setId": 2, "iconIdx": 0 }, { "icon": { "paths": [ - "M864 128l-480 480-224-224-160 160 384 384 640-640z" + "M320 384h128v128h-128zM512 384h128v128h-128zM704 384h128v128h-128zM128 768h128v128h-128zM320 768h128v128h-128zM512 768h128v128h-128zM320 576h128v128h-128zM512 576h128v128h-128zM704 576h128v128h-128zM128 576h128v128h-128zM832 0v64h-128v-64h-448v64h-128v-64h-128v1024h960v-1024h-128zM896 960h-832v-704h832v704z" + ], + "attrs": [ + {} ], - "attrs": [], "isMulticolor": false, "tags": [ - "checkmark", - "tick", - "correct", - "accept", - "ok" + "calendar", + "date", + "schedule", + "time", + "day" ], - "defaultCode": 58224, - "grid": 32 + "grid": 16 }, - "attrs": [], + "attrs": [ + {} + ], "properties": { - "id": 980, - "order": 49, + "order": 1, + "id": 10, "prevSize": 32, - "code": 59920, - "ligatures": "checkmark, tick", - "name": "checkmark" + "code": 58914, + "name": "calendar" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 1 + "setIdx": 1, + "setId": 1, + "iconIdx": 37 }, { "icon": { "paths": [ - "M640 256v-256h-448l-192 192v576h384v256h640v-768h-384zM192 90.51v101.49h-101.49l101.49-101.49zM64 704v-448h192v-192h320v192l-192 192v256h-320zM576 346.51v101.49h-101.49l101.49-101.49zM960 960h-512v-448h192v-192h320v640z" + "M917.806 229.076c-22.212-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.888 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.984 17.78 50.678 41.878 81.374 72.572zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.326 32 32 32h224v624z" + ], + "attrs": [ + {} ], - "attrs": [], "isMulticolor": false, "tags": [ - "copy", - "duplicate", - "files", - "pages", - "papers", - "documents" + "file-empty", + "file", + "document", + "paper", + "page", + "new", + "empty", + "blank" ], - "defaultCode": 57489, - "grid": 32 + "grid": 16 }, - "attrs": [], + "attrs": [ + {} + ], "properties": { - "id": 208, - "order": 47, + "order": 42, + "id": 9, "prevSize": 32, - "code": 59692, - "ligatures": "copy, duplicate", - "name": "copy" + "code": 58921, + "name": "file-empty" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 2 + "setIdx": 1, + "setId": 1, + "iconIdx": 38 }, { "icon": { "paths": [ - "M576 256l-128-128h-448v832h1024v-704h-448zM512 480l224 224h-160v256h-128v-256h-160l224-224z" + "M917.806 229.076c-22.212-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.888 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.984 17.78 50.678 41.878 81.374 72.572zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.326 32 32 32h224v624z", + "M736 832h-448c-17.672 0-32-14.326-32-32s14.328-32 32-32h448c17.674 0 32 14.326 32 32s-14.326 32-32 32z", + "M736 704h-448c-17.672 0-32-14.326-32-32s14.328-32 32-32h448c17.674 0 32 14.326 32 32s-14.326 32-32 32z", + "M736 576h-448c-17.672 0-32-14.326-32-32s14.328-32 32-32h448c17.674 0 32 14.326 32 32s-14.326 32-32 32z" + ], + "attrs": [ + {}, + {}, + {}, + {} ], - "attrs": [], "isMulticolor": false, "tags": [ - "folder-upload", - "directory", - "folder-load" + "file-text", + "file", + "document", + "list", + "paper", + "page" ], - "defaultCode": 57514, - "grid": 32 + "grid": 16 }, - "attrs": [], + "attrs": [ + {}, + {}, + {}, + {} + ], "properties": { - "id": 235, - "order": 46, + "order": 41, + "id": 8, "prevSize": 32, - "code": 59700, - "ligatures": "folder-upload, directory6", - "name": "move" + "code": 58912, + "name": "file-text" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 3 + "setIdx": 1, + "setId": 1, + "iconIdx": 39 }, { "icon": { "paths": [ - "M512 576l256-256h-192v-256h-128v256h-192zM744.726 471.272l-71.74 71.742 260.080 96.986-421.066 157.018-421.066-157.018 260.080-96.986-71.742-71.742-279.272 104.728v256l512 192 512-192v-256z" + "M917.806 229.076c-22.208-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.594-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.882 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0 0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.98 17.78 50.678 41.878 81.374 72.572v0 0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.32 32 32 32h224v624z", + "M256 512h320v320h-320v-320z", + "M576 640l192-128v320l-192-128z" ], "attrs": [ - { - "visibility": false - } + {}, + {}, + {} ], "isMulticolor": false, "tags": [ - "download", - "store", - "save", - "arrow" + "file-video", + "file", + "document", + "file-camera" ], - "grid": 32 + "grid": 16 }, "attrs": [ - { - "visibility": false - } + {}, + {}, + {} ], "properties": { - "order": 3, - "id": 0, + "order": 37, + "id": 7, "prevSize": 32, - "code": 58910, - "name": "download" + "code": 58913, + "name": "file-video" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 4 + "setIdx": 1, + "setId": 1, + "iconIdx": 40 }, { "icon": { "paths": [ - "M448 576h128v-256h192l-256-256-256 256h192zM640 432v98.712l293.066 109.288-421.066 157.018-421.066-157.018 293.066-109.288v-98.712l-384 144v256l512 192 512-192v-256z" + "M917.806 229.076c-22.208-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.884 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0 0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.98 17.78 50.678 41.878 81.374 72.572v0 0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.322 32 32 32h224v624z", + "M256 64h128v64h-128v-64z", + "M384 128h128v64h-128v-64z", + "M256 192h128v64h-128v-64z", + "M384 256h128v64h-128v-64z", + "M256 320h128v64h-128v-64z", + "M384 384h128v64h-128v-64z", + "M256 448h128v64h-128v-64z", + "M384 512h128v64h-128v-64z", + "M256 848c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-80v-64h-128v272zM448 768v64h-128v-64h128z" ], "attrs": [ - { - "visibility": false - } + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {} ], "isMulticolor": false, "tags": [ - "upload", - "load", - "arrow" + "file-zip", + "file", + "document", + "file-compressed", + "file-type", + "file-format" ], - "grid": 32 + "grid": 16 }, "attrs": [ - { - "visibility": false - } + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {} ], "properties": { - "order": 2, - "id": 1, + "order": 38, + "id": 5, "prevSize": 32, - "code": 58911, - "name": "upload" + "code": 58915, + "name": "file-zip" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 5 + "setIdx": 1, + "setId": 1, + "iconIdx": 41 }, { "icon": { "paths": [ - "M384 128c0-70.692 57.308-128 128-128 70.692 0 128 57.308 128 128 0 70.692-57.308 128-128 128-70.692 0-128-57.308-128-128zM655.53 240.47c0-70.692 57.308-128 128-128s128 57.308 128 128c0 70.692-57.308 128-128 128-70.692 0-128-57.308-128-128zM832 512c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM719.53 783.53c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM448.002 896c-0-0-0-0-0-0 0-35.346 28.654-64 64-64 35.346 0 64 28.654 64 64 0 0 0 0 0 0 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM176.472 783.53c-0-0-0-0-0-0 0-35.346 28.654-64 64-64 35.346 0 64 28.654 64 64 0 0 0 0 0 0 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM144.472 240.47c-0-0-0-0-0-0 0-53.019 42.981-96 96-96 53.019 0 96 42.981 96 96 0 0 0 0 0 0 0 53.019-42.981 96-96 96-53.019 0-96-42.981-96-96zM56 512c0-39.765 32.235-72 72-72s72 32.235 72 72c0 39.765-32.235 72-72 72-39.765 0-72-32.235-72-72z" + "M917.806 229.076c-22.21-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.886 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.982 17.78 50.678 41.878 81.374 72.572v0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.324 32 32 32h224v624z", + "M756.288 391.252c-7.414-6.080-17.164-8.514-26.562-6.632l-320 64c-14.958 2.994-25.726 16.126-25.726 31.38v236.876c-18.832-8.174-40.678-12.876-64-12.876-70.692 0-128 42.98-128 96s57.308 96 128 96 128-42.98 128-96v-229.766l256-51.202v133.842c-18.832-8.174-40.678-12.876-64-12.876-70.692 0-128 42.98-128 96s57.308 96 128 96 128-42.98 128-96v-319.998c0-9.586-4.298-18.668-11.712-24.748z" + ], + "attrs": [ + {}, + {} ], - "attrs": [], "isMulticolor": false, "tags": [ - "spinner", - "loading", - "busy", - "wait", - "wheel" + "file-music", + "file", + "document", + "file-song", + "file-audio" ], - "grid": 32 + "grid": 16 }, - "attrs": [], - "properties": { - "id": 120, - "order": 33, + "attrs": [ + {}, + {} + ], + "properties": { + "order": 39, + "id": 4, "prevSize": 32, - "code": 58908, - "name": "spinner", - "ligatures": "" + "code": 58916, + "name": "file-music" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 6 + "setIdx": 1, + "setId": 1, + "iconIdx": 42 }, { "icon": { "paths": [ - "M1014.662 822.661c-0.005-0.005-0.008-0.008-0.011-0.010l-310.645-310.651 310.645-310.65c0.005-0.005 0.008-0.006 0.011-0.010 3.344-3.346 5.762-7.254 7.312-11.416 4.246-11.376 1.824-24.682-7.323-33.83l-146.747-146.746c-9.147-9.146-22.45-11.566-33.829-7.32-4.16 1.55-8.070 3.968-11.418 7.31 0 0.005-0.005 0.006-0.008 0.010l-310.648 310.651-310.648-310.65c-0.005-0.005-0.006-0.006-0.010-0.010-3.346-3.342-7.254-5.76-11.414-7.31-11.381-4.248-24.682-1.826-33.83 7.32l-146.747 146.747c-9.147 9.147-11.568 22.453-7.322 33.829 1.552 4.16 3.97 8.072 7.312 11.416 0.005 0.002 0.006 0.006 0.010 0.010l310.65 310.648-310.65 310.653c-0.002 0.005-0.006 0.006-0.008 0.010-3.342 3.346-5.76 7.254-7.314 11.414-4.248 11.376-1.826 24.682 7.322 33.83l146.749 146.746c9.15 9.147 22.453 11.568 33.83 7.322 4.16-1.552 8.070-3.97 11.416-7.312 0.002-0.005 0.006-0.006 0.010-0.010l310.648-310.65 310.648 310.65c0.005 0.002 0.008 0.006 0.011 0.008 3.347 3.344 7.254 5.762 11.414 7.314 11.378 4.246 24.685 1.826 33.829-7.322l146.746-146.749c9.147-9.147 11.57-22.454 7.323-33.83-1.552-4.16-3.97-8.067-7.314-11.413z" + "M832 896h-640v-128l192-320 263 320 185-128v256z", + "M832 480c0 53.020-42.98 96-96 96-53.022 0-96-42.98-96-96s42.978-96 96-96c53.020 0 96 42.98 96 96z", + "M917.806 229.076c-22.212-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.888 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.984 17.78 50.678 41.878 81.374 72.572zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.326 32 32 32h224v624z" + ], + "attrs": [ + {}, + {}, + {} ], - "attrs": [], "isMulticolor": false, "tags": [ - "close", - "cancel", - "quit", - "remove", - "cross" + "file-picture", + "file", + "document", + "file-image" ], - "defaultCode": 57344, - "grid": 32 + "grid": 16 }, - "attrs": [], + "attrs": [ + {}, + {}, + {} + ], "properties": { - "id": 2, - "order": 4, + "order": 40, + "id": 3, "prevSize": 32, - "code": 58880, - "name": "close", - "ligatures": "" + "code": 58917, + "name": "file-picture" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 7 + "setIdx": 1, + "setId": 1, + "iconIdx": 43 }, { "icon": { "paths": [ - "M892.118 188.118l-120.234-120.237c-37.339-37.336-111.085-67.882-163.885-67.882h-448c-52.8 0-96 43.2-96 96v832c0 52.8 43.2 96 96 96h704c52.8 0 96-43.2 96-96v-576c0-52.8-30.546-126.546-67.882-163.882zM640 135.562c2.197 0.805 4.451 1.68 6.758 2.635 18.059 7.482 30.598 16.176 34.616 20.194l120.237 120.238c4.018 4.018 12.712 16.554 20.194 34.614 0.955 2.306 1.832 4.562 2.635 6.757l-184.44-0v-184.438zM832 896h-640v-768h384v256h256v512z" + "M743.028 384h-135.292l-95.732 141.032-95.742-141.032h-135.29l162.162 242.464-182.972 269.536h251.838v-91.576h-50.156l50.156-74.994 111.396 166.57h140.444l-182.976-269.536 162.164-242.464z", + "M917.806 229.076c-22.21-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.886 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.982 17.78 50.678 41.878 81.374 72.572v0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.324 32 32 32h224v624z" + ], + "attrs": [ + {}, + {} ], - "attrs": [], "isMulticolor": false, "tags": [ + "file-excel", "file", - "paper", - "page", - "new", - "empty", - "blank", - "document" + "file-format", + "xlc" ], - "defaultCode": 57345, - "grid": 32 + "grid": 16 }, - "attrs": [], + "attrs": [ + {}, + {} + ], "properties": { - "id": 3, - "order": 6, + "order": 36, + "id": 2, "prevSize": 32, - "code": 58881, - "name": "file", - "ligatures": "" + "code": 58918, + "name": "file-excel" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 8 + "setIdx": 1, + "setId": 1, + "iconIdx": 44 }, { "icon": { "paths": [ - "M747.52 307.251l-471.040-0.051 235.52 409.6z" + "M639.778 475.892h44.21l-51.012 226.178-66.324-318.010h-106.55l-77.114 318.010-57.816-318.010h-111.394l113.092 511.88h108.838l76.294-302.708 68.256 302.708h100.336l129.628-511.88h-170.446v91.832z", + "M917.806 229.076c-22.21-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.886 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.982 17.78 50.678 41.878 81.374 72.572v0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.324 32 32 32h224v624z" + ], + "attrs": [ + {}, + {} ], - "attrs": [], "isMulticolor": false, "tags": [ - "arrow-down", - "triangle", - "down", - "bottom" + "file-word", + "file", + "file-format", + "word", + "docx" ], - "defaultCode": 57346, - "grid": 32 + "grid": 16 }, - "attrs": [], + "attrs": [ + {}, + {} + ], "properties": { - "id": 4, - "order": 7, + "order": 35, + "id": 1, "prevSize": 32, - "code": 58882, - "name": "arrow-down", - "ligatures": "" + "code": 58919, + "name": "file-word" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 9 + "setIdx": 1, + "setId": 1, + "iconIdx": 45 }, { "icon": { "paths": [ - "M276.48 716.8h471.040l-235.571-409.6z" + "M842.012 589.48c-13.648-13.446-43.914-20.566-89.972-21.172-31.178-0.344-68.702 2.402-108.17 7.928-17.674-10.198-35.892-21.294-50.188-34.658-38.462-35.916-70.568-85.772-90.576-140.594 1.304-5.12 2.414-9.62 3.448-14.212 0 0 21.666-123.060 15.932-164.666-0.792-5.706-1.276-7.362-2.808-11.796l-1.882-4.834c-5.894-13.592-17.448-27.994-35.564-27.208l-10.916-0.344c-20.202 0-36.664 10.332-40.986 25.774-13.138 48.434 0.418 120.892 24.98 214.738l-6.288 15.286c-17.588 42.876-39.63 86.060-59.078 124.158l-2.528 4.954c-20.46 40.040-39.026 74.028-55.856 102.822l-17.376 9.188c-1.264 0.668-31.044 16.418-38.028 20.644-59.256 35.38-98.524 75.542-105.038 107.416-2.072 10.17-0.53 23.186 10.014 29.212l16.806 8.458c7.292 3.652 14.978 5.502 22.854 5.502 42.206 0 91.202-52.572 158.698-170.366 77.93-25.37 166.652-46.458 244.412-58.090 59.258 33.368 132.142 56.544 178.142 56.544 8.168 0 15.212-0.78 20.932-2.294 8.822-2.336 16.258-7.368 20.792-14.194 8.926-13.432 10.734-31.932 8.312-50.876-0.72-5.622-5.21-12.574-10.068-17.32zM211.646 814.048c7.698-21.042 38.16-62.644 83.206-99.556 2.832-2.296 9.808-8.832 16.194-14.902-47.104 75.124-78.648 105.066-99.4 114.458zM478.434 199.686c13.566 0 21.284 34.194 21.924 66.254s-6.858 54.56-16.158 71.208c-7.702-24.648-11.426-63.5-11.426-88.904 0 0-0.566-48.558 5.66-48.558v0zM398.852 637.494c9.45-16.916 19.282-34.756 29.33-53.678 24.492-46.316 39.958-82.556 51.478-112.346 22.91 41.684 51.444 77.12 84.984 105.512 4.186 3.542 8.62 7.102 13.276 10.65-68.21 13.496-127.164 29.91-179.068 49.862v0zM828.902 633.652c-4.152 2.598-16.052 4.1-23.708 4.1-24.708 0-55.272-11.294-98.126-29.666 16.468-1.218 31.562-1.838 45.102-1.838 24.782 0 32.12-0.108 56.35 6.072 24.228 6.18 24.538 18.734 20.382 21.332v0z", + "M917.806 229.076c-22.21-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.886 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.982 17.78 50.678 41.878 81.374 72.572v0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.324 32 32 32h224v624z" + ], + "attrs": [ + {}, + {} ], - "attrs": [], "isMulticolor": false, "tags": [ - "arrow-up", - "triangle", - "up", - "top" + "file-pdf", + "file", + "file-format" ], - "defaultCode": 57347, - "grid": 32 + "grid": 16 }, - "attrs": [], + "attrs": [ + {}, + {} + ], "properties": { - "id": 5, - "order": 8, + "order": 34, + "id": 0, "prevSize": 32, - "code": 58883, - "name": "arrow-up", - "ligatures": "" + "code": 58920, + "name": "file-pdf" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 10 + "setIdx": 1, + "setId": 1, + "iconIdx": 46 }, { "icon": { "paths": [ - "M716.749 276.48l0.051 471.040-409.6-235.52z" + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512 512-229.23 512-512-229.23-512-512-512zM512 960.002c-62.958 0-122.872-13.012-177.23-36.452l233.148-262.29c5.206-5.858 8.082-13.422 8.082-21.26v-96c0-17.674-14.326-32-32-32-112.99 0-232.204-117.462-233.374-118.626-6-6.002-14.14-9.374-22.626-9.374h-128c-17.672 0-32 14.328-32 32v192c0 12.122 6.848 23.202 17.69 28.622l110.31 55.156v187.886c-116.052-80.956-192-215.432-192-367.664 0-68.714 15.49-133.806 43.138-192h116.862c8.488 0 16.626-3.372 22.628-9.372l128-128c6-6.002 9.372-14.14 9.372-22.628v-77.412c40.562-12.074 83.518-18.588 128-18.588 70.406 0 137.004 16.26 196.282 45.2-4.144 3.502-8.176 7.164-12.046 11.036-36.266 36.264-56.236 84.478-56.236 135.764s19.97 99.5 56.236 135.764c36.434 36.432 85.218 56.264 135.634 56.26 3.166 0 6.342-0.080 9.518-0.236 13.814 51.802 38.752 186.656-8.404 372.334-0.444 1.744-0.696 3.488-0.842 5.224-81.324 83.080-194.7 134.656-320.142 134.656z" ], "attrs": [], "isMulticolor": false, "tags": [ - "arrow-left", - "left", - "triangle", - "previous" + "earth", + "globe", + "language", + "web", + "internet", + "sphere", + "planet" ], - "defaultCode": 57348, - "grid": 32 + "grid": 16 }, "attrs": [], "properties": { - "id": 6, - "order": 9, + "order": 50, + "id": 1423, "prevSize": 32, - "code": 58884, - "name": "arrow-left", - "ligatures": "" + "ligatures": "earth, globe2", + "name": "earth", + "code": 58923 }, - "setIdx": 0, - "setId": 4, - "iconIdx": 11 + "setIdx": 1, + "setId": 1, + "iconIdx": 47 }, { "icon": { "paths": [ - "M307.251 276.48l-0.051 471.040 409.6-235.52z" + "M576 706.612v-52.78c70.498-39.728 128-138.772 128-237.832 0-159.058 0-288-192-288s-192 128.942-192 288c0 99.060 57.502 198.104 128 237.832v52.78c-217.102 17.748-384 124.42-384 253.388h896c0-128.968-166.898-235.64-384-253.388z" ], "attrs": [], - "isMulticolor": false, "tags": [ - "arrow-right", - "triangle", - "right", - "next" + "user", + "profile", + "avatar", + "person", + "member" ], - "defaultCode": 57349, - "grid": 32 + "grid": 16 }, "attrs": [], "properties": { - "id": 7, - "order": 10, + "order": 3, + "id": 1628, "prevSize": 32, - "code": 58885, - "name": "arrow-right", - "ligatures": "" + "ligatures": "user, profile2", + "name": "user", + "code": 58924 }, - "setIdx": 0, - "setId": 4, - "iconIdx": 12 + "setIdx": 1, + "setId": 1, + "iconIdx": 48 }, { "icon": { "paths": [ - "M864 0c88.363 0 160 71.634 160 160 0 36.021-11.91 69.258-32 96l-64 64-224-224 64-64c26.742-20.090 59.978-32 96-32zM64 736l-64 288 288-64 592-592-224-224-592 592zM715.578 363.578l-448 448-55.155-55.155 448-448 55.155 55.155z" + "M768 770.612v-52.78c70.498-39.728 128-138.772 128-237.832 0-159.058 0-288-192-288s-192 128.942-192 288c0 99.060 57.502 198.104 128 237.832v52.78c-217.102 17.748-384 124.42-384 253.388h896c0-128.968-166.898-235.64-384-253.388z", + "M327.196 795.328c55.31-36.15 124.080-63.636 199.788-80.414-15.054-17.784-28.708-37.622-40.492-59.020-30.414-55.234-46.492-116.058-46.492-175.894 0-86.042 0-167.31 30.6-233.762 29.706-64.504 83.128-104.496 159.222-119.488-16.914-76.48-61.94-126.75-181.822-126.75-192 0-192 128.942-192 288 0 99.060 57.502 198.104 128 237.832v52.78c-217.102 17.748-384 124.42-384 253.388h279.006c14.518-12.91 30.596-25.172 48.19-36.672z" ], + "width": 1152, "attrs": [], - "isMulticolor": false, "tags": [ - "pencil", - "write", - "edit", - "blog", - "note" + "users", + "group", + "team", + "members", + "community", + "collaborate" ], - "defaultCode": 57350, - "grid": 32 + "grid": 16 }, "attrs": [], "properties": { - "id": 8, - "order": 11, + "id": 476, + "order": 4, "prevSize": 32, - "code": 58886, - "name": "pencil", - "ligatures": "" + "ligatures": "users, group", + "name": "users", + "code": 58925 }, - "setIdx": 0, - "setId": 4, - "iconIdx": 13 + "setIdx": 1, + "setId": 1, + "iconIdx": 49 }, { "icon": { "paths": [ - "M512 192c-282.784 0-512 320-512 320s229.216 320 512 320 512-320 512-320-229.216-320-512-320zM512 704c-106.016 0-192-85.984-192-192s85.984-192 192-192 192 85.984 192 192-85.984 192-192 192zM512 384c-70.688 0-128 57.312-128 128s57.312 128 128 128 128-57.312 128-128-57.312-128-128-128z" - ], - "attrs": [], + "M1024 0h-416l160 160-192 192 96 96 192-192 160 160z", + "M1024 1024v-416l-160 160-192-192-96 96 192 192-160 160z", + "M0 1024h416l-160-160 192-192-96-96-192 192-160-160z", + "M0 0v416l160-160 192 192 96-96-192-192 160-160z" + ], + "attrs": [], "isMulticolor": false, "tags": [ - "eye", - "views" + "enlarge", + "expand", + "maximize", + "fullscreen" ], - "defaultCode": 57351, + "defaultCode": 57791, "grid": 32 }, "attrs": [], "properties": { - "id": 9, - "order": 12, + "id": 537, + "order": 48, "prevSize": 32, - "code": 58887, - "name": "eye", - "ligatures": "" + "code": 59785, + "ligatures": "enlarge, expand", + "name": "enlarge" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 14 + "setIdx": 1, + "setId": 1, + "iconIdx": 0 }, { "icon": { "paths": [ - "M1024 832v-768h-1024v768h448v64h-192v64h512v-64h-192v-64h448zM128 192h768v512h-768v-512z" + "M864 128l-480 480-224-224-160 160 384 384 640-640z" ], "attrs": [], "isMulticolor": false, "tags": [ - "screen", - "monitor", - "computer", - "pc", - "desktop" + "checkmark", + "tick", + "correct", + "accept", + "ok" ], - "defaultCode": 57352, + "defaultCode": 58224, "grid": 32 }, "attrs": [], "properties": { - "id": 10, - "order": 13, + "id": 980, + "order": 49, "prevSize": 32, - "code": 58888, - "name": "screen", - "ligatures": "" + "code": 59920, + "ligatures": "checkmark, tick", + "name": "checkmark" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 15 + "setIdx": 1, + "setId": 1, + "iconIdx": 1 }, { "icon": { "paths": [ - "M800 0h-640c-52.8 0-96 43.2-96 96v832c0 52.8 43.2 96 96 96h640c52.8 0 96-43.2 96-96v-832c0-52.8-43.2-96-96-96zM480 992c-17.672 0-32-14.326-32-32s14.328-32 32-32 32 14.326 32 32-14.328 32-32 32zM768 896h-576v-768h576v768z" + "M640 256v-256h-448l-192 192v576h384v256h640v-768h-384zM192 90.51v101.49h-101.49l101.49-101.49zM64 704v-448h192v-192h320v192l-192 192v256h-320zM576 346.51v101.49h-101.49l101.49-101.49zM960 960h-512v-448h192v-192h320v640z" ], "attrs": [], "isMulticolor": false, "tags": [ - "tablet", - "mobile" + "copy", + "duplicate", + "files", + "pages", + "papers", + "documents" ], - "defaultCode": 57353, + "defaultCode": 57489, "grid": 32 }, "attrs": [], "properties": { - "id": 11, - "order": 14, + "id": 208, + "order": 47, "prevSize": 32, - "code": 58889, - "name": "tablet", - "ligatures": "" + "code": 59692, + "ligatures": "copy, duplicate", + "name": "copy" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 16 + "setIdx": 1, + "setId": 1, + "iconIdx": 2 }, { "icon": { "paths": [ - "M736 0h-448c-52.8 0-96 43.2-96 96v832c0 52.8 43.2 96 96 96h448c52.8 0 96-43.2 96-96v-832c0-52.8-43.2-96-96-96zM384 48h256v32h-256v-32zM512 960c-35.346 0-64-28.654-64-64s28.654-64 64-64 64 28.654 64 64-28.654 64-64 64zM768 768h-512v-640h512v640z" + "M576 256l-128-128h-448v832h1024v-704h-448zM512 480l224 224h-160v256h-128v-256h-160l224-224z" ], "attrs": [], "isMulticolor": false, "tags": [ - "mobile", - "phone", - "handheld" + "folder-upload", + "directory", + "folder-load" ], - "defaultCode": 57354, + "defaultCode": 57514, "grid": 32 }, "attrs": [], "properties": { - "id": 12, - "order": 15, + "id": 235, + "order": 46, "prevSize": 32, - "code": 58890, - "name": "mobile", - "ligatures": "" + "code": 59700, + "ligatures": "folder-upload, directory6", + "name": "move" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 17 + "setIdx": 1, + "setId": 1, + "iconIdx": 3 }, { "icon": { "paths": [ - "M1088 901.166c0 45.499 26.029 84.907 64 104.184v15.938c-10.626 1.454-21.472 2.224-32.499 2.224-68.008 0-129.349-28.528-172.723-74.264-26.221 6.982-54.002 10.752-82.778 10.752-159.058 0-288-114.616-288-256 0-141.384 128.942-256 288-256 159.058 0 288 114.616 288 256 0 55.347-19.763 106.592-53.355 148.466-6.826 14.824-10.645 31.312-10.645 48.701zM512 0c278.458 0 504.992 180.614 511.837 405.52-49.182-21.92-103.587-33.52-159.837-33.52-95.56 0-185.816 33.446-254.138 94.178-70.846 62.973-109.862 147.434-109.862 237.822 0 44.672 9.544 87.888 27.736 127.789-5.229 0.125-10.467 0.211-15.736 0.211-27.157 0-53.81-1.734-79.824-5.045-109.978 109.979-241.25 129.701-368.176 132.597v-26.915c68.536-33.579 128-94.741 128-164.637 0-9.754-0.758-19.33-2.163-28.696-115.797-76.264-189.837-192.754-189.837-323.304 0-229.75 229.23-416 512-416z" + "M512 576l256-256h-192v-256h-128v256h-192zM744.726 471.272l-71.74 71.742 260.080 96.986-421.066 157.018-421.066-157.018 260.080-96.986-71.742-71.742-279.272 104.728v256l512 192 512-192v-256z" + ], + "attrs": [ + { + "visibility": false + } ], - "width": 1152, - "attrs": [], "isMulticolor": false, "tags": [ - "bubbles", - "comments", - "chat", - "talk" + "download", + "store", + "save", + "arrow" ], - "defaultCode": 57355, "grid": 32 }, - "attrs": [], + "attrs": [ + { + "visibility": false + } + ], "properties": { - "id": 13, - "order": 16, + "order": 3, + "id": 0, "prevSize": 32, - "code": 58891, - "name": "bubbles", - "ligatures": "" + "code": 58910, + "name": "download" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 18 + "setIdx": 1, + "setId": 1, + "iconIdx": 4 }, { "icon": { "paths": [ - "M64 192h896v192h-896zM64 448h896v192h-896zM64 704h896v192h-896z" + "M448 576h128v-256h192l-256-256-256 256h192zM640 432v98.712l293.066 109.288-421.066 157.018-421.066-157.018 293.066-109.288v-98.712l-384 144v256l512 192 512-192v-256z" + ], + "attrs": [ + { + "visibility": false + } ], - "attrs": [], "isMulticolor": false, "tags": [ - "menu", - "list", - "items", - "lines", - "options" + "upload", + "load", + "arrow" ], - "defaultCode": 57357, "grid": 32 }, - "attrs": [], + "attrs": [ + { + "visibility": false + } + ], "properties": { - "id": 14, - "order": 17, + "order": 2, + "id": 1, "prevSize": 32, - "code": 58892, - "name": "menu", - "ligatures": "" + "code": 58911, + "name": "upload" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 19 + "setIdx": 1, + "setId": 1, + "iconIdx": 5 }, { "icon": { "paths": [ - "M704 64l-320 320h-192l-192 256c0 0 203.416-56.651 322.066-30.083l-322.066 414.083 421.902-328.144c58.837 134.654-37.902 328.144-37.902 328.144l256-192v-192l320-320 64-320-320 64z" + "M384 128c0-70.692 57.308-128 128-128 70.692 0 128 57.308 128 128 0 70.692-57.308 128-128 128-70.692 0-128-57.308-128-128zM655.53 240.47c0-70.692 57.308-128 128-128s128 57.308 128 128c0 70.692-57.308 128-128 128-70.692 0-128-57.308-128-128zM832 512c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM719.53 783.53c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM448.002 896c-0-0-0-0-0-0 0-35.346 28.654-64 64-64 35.346 0 64 28.654 64 64 0 0 0 0 0 0 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM176.472 783.53c-0-0-0-0-0-0 0-35.346 28.654-64 64-64 35.346 0 64 28.654 64 64 0 0 0 0 0 0 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM144.472 240.47c-0-0-0-0-0-0 0-53.019 42.981-96 96-96 53.019 0 96 42.981 96 96 0 0 0 0 0 0 0 53.019-42.981 96-96 96-53.019 0-96-42.981-96-96zM56 512c0-39.765 32.235-72 72-72s72 32.235 72 72c0 39.765-32.235 72-72 72-39.765 0-72-32.235-72-72z" ], "attrs": [], "isMulticolor": false, "tags": [ - "rocket", - "speed", - "jet", - "spaceship", - "fast" + "spinner", + "loading", + "busy", + "wait", + "wheel" ], - "defaultCode": 57356, "grid": 32 }, "attrs": [], "properties": { - "id": 15, - "order": 18, + "id": 120, + "order": 33, "prevSize": 32, - "code": 58893, - "name": "rocket", + "code": 58908, + "name": "spinner", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 20 + "setIdx": 1, + "setId": 1, + "iconIdx": 6 }, { "icon": { "paths": [ - "M960 1024h-896c-35.328 0-64-28.672-64-64v-896c0-35.328 28.672-64 64-64h768l192 192v768c0 35.328-28.672 64-64 64zM256 864c0 17.696 14.336 32 32 32h448c17.696 0 32-14.304 32-32v-256c0-17.696-14.304-32-32-32h-448c-17.664 0-32 14.304-32 32v256zM704 160c0-17.696-14.304-32-32-32s-32 14.304-32 32v96c0 17.696 14.304 32 32 32s32-14.304 32-32v-96zM896 224l-96-96h-32v224c0 17.696-14.304 32-32 32h-448c-17.664 0-32-14.304-32-32v-224h-96c-17.664 0-32 14.304-32 32v704c0 17.696 14.336 32 32 32h32v-352c0-17.696 14.336-32 32-32h576c17.696 0 32 14.304 32 32v352h32c17.696 0 32-14.304 32-32v-640z" + "M1014.662 822.661c-0.005-0.005-0.008-0.008-0.011-0.010l-310.645-310.651 310.645-310.65c0.005-0.005 0.008-0.006 0.011-0.010 3.344-3.346 5.762-7.254 7.312-11.416 4.246-11.376 1.824-24.682-7.323-33.83l-146.747-146.746c-9.147-9.146-22.45-11.566-33.829-7.32-4.16 1.55-8.070 3.968-11.418 7.31 0 0.005-0.005 0.006-0.008 0.010l-310.648 310.651-310.648-310.65c-0.005-0.005-0.006-0.006-0.010-0.010-3.346-3.342-7.254-5.76-11.414-7.31-11.381-4.248-24.682-1.826-33.83 7.32l-146.747 146.747c-9.147 9.147-11.568 22.453-7.322 33.829 1.552 4.16 3.97 8.072 7.312 11.416 0.005 0.002 0.006 0.006 0.010 0.010l310.65 310.648-310.65 310.653c-0.002 0.005-0.006 0.006-0.008 0.010-3.342 3.346-5.76 7.254-7.314 11.414-4.248 11.376-1.826 24.682 7.322 33.83l146.749 146.746c9.15 9.147 22.453 11.568 33.83 7.322 4.16-1.552 8.070-3.97 11.416-7.312 0.002-0.005 0.006-0.006 0.010-0.010l310.648-310.65 310.648 310.65c0.005 0.002 0.008 0.006 0.011 0.008 3.347 3.344 7.254 5.762 11.414 7.314 11.378 4.246 24.685 1.826 33.829-7.322l146.746-146.749c9.147-9.147 11.57-22.454 7.323-33.83-1.552-4.16-3.97-8.067-7.314-11.413z" ], "attrs": [], "isMulticolor": false, "tags": [ - "floppy", - "disk", - "save", - "store" + "close", + "cancel", + "quit", + "remove", + "cross" ], - "defaultCode": 57358, + "defaultCode": 57344, "grid": 32 }, "attrs": [], "properties": { - "id": 16, - "order": 19, + "id": 2, + "order": 4, "prevSize": 32, - "code": 58894, - "name": "floppy", + "code": 58880, + "name": "close", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 21 + "setIdx": 1, + "setId": 1, + "iconIdx": 7 }, { "icon": { "paths": [ - "M752 576c0 141.376-114.624 256-256 256s-256-114.624-256-256c0-130.72 125.344-211.040 256-222.432v158.432l320-224v-32l-320-256v161.344c-235.104 13.824-448 177.952-448 414.656 0 247.424 200.576 448 448 448s448-200.576 448-448h-192z" + "M892.118 188.118l-120.234-120.237c-37.339-37.336-111.085-67.882-163.885-67.882h-448c-52.8 0-96 43.2-96 96v832c0 52.8 43.2 96 96 96h704c52.8 0 96-43.2 96-96v-576c0-52.8-30.546-126.546-67.882-163.882zM640 135.562c2.197 0.805 4.451 1.68 6.758 2.635 18.059 7.482 30.598 16.176 34.616 20.194l120.237 120.238c4.018 4.018 12.712 16.554 20.194 34.614 0.955 2.306 1.832 4.562 2.635 6.757l-184.44-0v-184.438zM832 896h-640v-768h384v256h256v512z" ], "attrs": [], "isMulticolor": false, "tags": [ - "refresh", - "reload" + "file", + "paper", + "page", + "new", + "empty", + "blank", + "document" ], - "defaultCode": 57359, + "defaultCode": 57345, "grid": 32 }, "attrs": [], "properties": { - "id": 17, - "order": 20, + "id": 3, + "order": 6, "prevSize": 32, - "code": 58895, - "name": "refresh", + "code": 58881, + "name": "file", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 22 + "setIdx": 1, + "setId": 1, + "iconIdx": 8 }, { "icon": { "paths": [ - "M192 64v768h768v-768h-768zM896 768h-640v-640h640v640zM128 896v-640l-64-64v768h768l-64-64zM429.254 685.254l192-192 146.746 146.746v-384h-384l146.746 146.746-192 192z" + "M747.52 307.251l-471.040-0.051 235.52 409.6z" ], "attrs": [], "isMulticolor": false, "tags": [ - "new tab", - "external", - "outside", - "popout", - "link", - "blank" + "arrow-down", + "triangle", + "down", + "bottom" ], + "defaultCode": 57346, "grid": 32 }, "attrs": [], "properties": { - "id": 346, - "order": 21, + "id": 4, + "order": 7, "prevSize": 32, - "code": 58896, - "name": "new-tab", + "code": 58882, + "name": "arrow-down", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 23 + "setIdx": 1, + "setId": 1, + "iconIdx": 9 }, { "icon": { "paths": [ - "M768 192l128-128h64v64l-128 128zM704 0h-64v128h64zM448 320h-128v64h128zM384 128v-64h64l128 128-64 64zM1024 320h-128v64h128zM704 576h-64v128h64zM960 576v64h-64l-128-128 64-64zM14 882l636.118-636.118c18.668-18.668 49.214-18.668 67.882 0l60.118 60.118c18.668 18.668 18.668 49.214 0 67.882l-636.118 636.118c-18.668 18.668-49.214 18.668-67.882 0l-60.118-60.118c-18.668-18.668-18.668-49.214 0-67.882zM544 544l192-192-64-64-192 192 64 64z" + "M276.48 716.8h471.040l-235.571-409.6z" ], "attrs": [], "isMulticolor": false, "tags": [ - "wand", - "magic", - "wizard" + "arrow-up", + "triangle", + "up", + "top" ], + "defaultCode": 57347, "grid": 32 }, "attrs": [], "properties": { - "id": 146, - "order": 22, + "id": 5, + "order": 8, "prevSize": 32, - "code": 58897, - "name": "wand", + "code": 58883, + "name": "arrow-up", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 24 + "setIdx": 1, + "setId": 1, + "iconIdx": 10 }, { "icon": { "paths": [ - "M128 896h896v128h-1024v-1024h128zM288 832c-53.020 0-96-42.98-96-96s42.98-96 96-96c2.828 0 5.622 0.148 8.388 0.386l103.192-171.986c-9.84-15.070-15.58-33.062-15.58-52.402 0-53.020 42.98-96 96-96 53.020 0 96 42.98 96 96 0 19.342-5.74 37.332-15.58 52.402l103.192 171.986c2.766-0.238 5.56-0.386 8.388-0.386 2.136 0 4.248 0.094 6.35 0.23l170.356-298.122c-10.536-15.408-16.706-34.036-16.706-54.11 0-53.020 42.98-96 96-96 53.020 0 96 42.98 96 96 0 53.020-42.98 96-96 96-2.14 0-4.248-0.094-6.35-0.232l-170.356 298.124c10.536 15.406 16.706 34.036 16.706 54.11 0 53.020-42.98 96-96 96-53.020 0-96-42.98-96-96 0-19.34 5.74-37.332 15.578-52.402l-103.19-171.984c-2.766 0.238-5.56 0.386-8.388 0.386s-5.622-0.146-8.388-0.386l-103.192 171.986c9.84 15.068 15.58 33.060 15.58 52.4 0 53.020-42.98 96-96 96z" + "M716.749 276.48l0.051 471.040-409.6-235.52z" ], "attrs": [], "isMulticolor": false, "tags": [ - "stats", - "graph", - "plot", - "statistics", - "chart" + "arrow-left", + "left", + "triangle", + "previous" ], + "defaultCode": 57348, "grid": 32 }, "attrs": [], "properties": { - "id": 150, - "order": 23, + "id": 6, + "order": 9, "prevSize": 32, - "code": 58898, - "name": "stats", + "code": 58884, + "name": "arrow-left", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 25 + "setIdx": 1, + "setId": 1, + "iconIdx": 11 }, { "icon": { "paths": [ - "M1024 608.094v-192.188l-146.774-24.462c-5.958-18.132-13.222-35.668-21.694-52.5l86.454-121.034-135.896-135.898-120.826 86.304c-16.91-8.554-34.538-15.888-52.768-21.902l-24.402-146.414h-192.188l-24.402 146.416c-18.23 6.014-35.858 13.348-52.766 21.902l-120.828-86.304-135.898 135.898 86.454 121.036c-8.47 16.83-15.734 34.366-21.692 52.498l-146.774 24.46v192.188l147.118 24.52c5.96 17.968 13.21 35.348 21.642 52.030l-86.748 121.448 135.898 135.896 121.654-86.894c16.602 8.35 33.89 15.528 51.764 21.434l24.578 147.472h192.188l24.578-147.474c17.874-5.906 35.162-13.084 51.766-21.432l121.652 86.892 135.896-135.896-86.744-121.446c8.432-16.682 15.678-34.062 21.64-52.032l147.118-24.518zM512 640c-70.692 0-128-57.306-128-128 0-70.692 57.308-128 128-128 70.694 0 128 57.308 128 128 0 70.694-57.306 128-128 128z" + "M307.251 276.48l-0.051 471.040 409.6-235.52z" ], "attrs": [], "isMulticolor": false, "tags": [ - "cog", - "preferences", - "settings", - "gear", - "generate", - "control", - "options" + "arrow-right", + "triangle", + "right", + "next" ], + "defaultCode": 57349, "grid": 32 }, "attrs": [], "properties": { - "id": 144, - "order": 24, + "id": 7, + "order": 10, "prevSize": 32, - "code": 58899, - "name": "cog", + "code": 58885, + "name": "arrow-right", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 26 + "setIdx": 1, + "setId": 1, + "iconIdx": 12 }, { "icon": { "paths": [ - "M1024 256l-256-256v192c-130.772 0-230.752 31.208-305.65 95.408-5.25 4.5-10.284 9.1-15.162 13.774 27.52 38.164 48.716 77.516 67.772 115.090 48.322-58.402 118.054-96.272 253.040-96.272v192 0 192c-216.446 0-265.126-97.36-326.756-220.622-34.306-68.612-69.78-139.56-135.592-195.97-74.9-64.2-174.88-95.408-305.652-95.408v128c216.446 0 265.126 97.36 326.756 220.622 34.306 68.612 69.78 139.56 135.592 195.97 74.9 64.2 174.882 95.408 305.652 95.408v192l256-256-256-256 256-256zM0 704v128c130.772 0 230.75-31.208 305.65-95.408 5.25-4.498 10.284-9.1 15.162-13.776-27.52-38.162-48.718-77.516-67.772-115.090-48.32 58.402-118.052 96.274-253.040 96.274z" + "M864 0c88.363 0 160 71.634 160 160 0 36.021-11.91 69.258-32 96l-64 64-224-224 64-64c26.742-20.090 59.978-32 96-32zM64 736l-64 288 288-64 592-592-224-224-592 592zM715.578 363.578l-448 448-55.155-55.155 448-448 55.155 55.155z" ], "attrs": [], "isMulticolor": false, "tags": [ - "shuffle", - "media control", - "random" + "pencil", + "write", + "edit", + "blog", + "note" ], + "defaultCode": 57350, "grid": 32 }, "attrs": [], "properties": { - "id": 286, - "order": 25, + "id": 8, + "order": 11, "prevSize": 32, - "code": 58900, - "name": "shuffle", + "code": 58886, + "name": "pencil", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 27 + "setIdx": 1, + "setId": 1, + "iconIdx": 13 }, { "icon": { "paths": [ - "M800 128h-576c-53.020 0-96 42.98-96 96v32h768v-32c0-53.020-42.98-96-96-96zM632.32 64l14.116 101h-268.872l14.114-101h240.642M640 0h-256c-26.4 0-50.99 21.392-54.642 47.538l-18.714 133.924c-3.654 26.146 14.956 47.538 41.356 47.538h320c26.4 0 45.010-21.392 41.358-47.538l-18.714-133.924c-3.654-26.146-28.244-47.538-54.644-47.538v0zM816 320h-608c-35.2 0-61.392 28.682-58.206 63.738l52.412 576.526c3.186 35.054 34.594 63.736 69.794 63.736h480c35.2 0 66.608-28.682 69.794-63.736l52.41-576.526c3.188-35.056-23.004-63.738-58.204-63.738zM384 896h-96l-32-448h128v448zM576 896h-128v-448h128v448zM736 896h-96v-448h128l-32 448z" + "M512 192c-282.784 0-512 320-512 320s229.216 320 512 320 512-320 512-320-229.216-320-512-320zM512 704c-106.016 0-192-85.984-192-192s85.984-192 192-192 192 85.984 192 192-85.984 192-192 192zM512 384c-70.688 0-128 57.312-128 128s57.312 128 128 128 128-57.312 128-128-57.312-128-128-128z" ], "attrs": [], "isMulticolor": false, "tags": [ - "remove", - "delete", - "trashcan", - "recycle bin", - "bin", - "dispose" + "eye", + "views" ], + "defaultCode": 57351, "grid": 32 }, "attrs": [], "properties": { - "id": 168, - "order": 26, + "id": 9, + "order": 12, "prevSize": 32, - "code": 58901, - "name": "remove", + "code": 58887, + "name": "eye", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 28 + "setIdx": 1, + "setId": 1, + "iconIdx": 14 }, { "icon": { "paths": [ - "M992 384h-352v-352c0-17.672-14.328-32-32-32h-192c-17.672 0-32 14.328-32 32v352h-352c-17.672 0-32 14.328-32 32v192c0 17.672 14.328 32 32 32h352v352c0 17.672 14.328 32 32 32h192c17.672 0 32-14.328 32-32v-352h352c17.672 0 32-14.328 32-32v-192c0-17.672-14.328-32-32-32z" + "M1024 832v-768h-1024v768h448v64h-192v64h512v-64h-192v-64h448zM128 192h768v512h-768v-512z" ], "attrs": [], "isMulticolor": false, "tags": [ - "plus", - "add", - "sum" + "screen", + "monitor", + "computer", + "pc", + "desktop" ], + "defaultCode": 57352, "grid": 32 }, "attrs": [], "properties": { - "id": 258, - "order": 27, + "id": 10, + "order": 13, "prevSize": 32, - "code": 58902, - "name": "plus", + "code": 58888, + "name": "screen", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 29 + "setIdx": 1, + "setId": 1, + "iconIdx": 15 }, { "icon": { "paths": [ - "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512 512-229.23 512-512-229.23-512-512-512zM512 928c-229.75 0-416-186.25-416-416s186.25-416 416-416 416 186.25 416 416-186.25 416-416 416zM448 256h128v128h-128zM640 768h-256v-64h64v-192h-64v-64h192v256h64z" + "M800 0h-640c-52.8 0-96 43.2-96 96v832c0 52.8 43.2 96 96 96h640c52.8 0 96-43.2 96-96v-832c0-52.8-43.2-96-96-96zM480 992c-17.672 0-32-14.326-32-32s14.328-32 32-32 32 14.326 32 32-14.328 32-32 32zM768 896h-576v-768h576v768z" ], "attrs": [], "isMulticolor": false, "tags": [ - "info", - "information" + "tablet", + "mobile" ], + "defaultCode": 57353, "grid": 32 }, "attrs": [], "properties": { - "id": 247, - "order": 28, + "id": 11, + "order": 14, "prevSize": 32, - "code": 58903, - "name": "info", + "code": 58889, + "name": "tablet", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 30 + "setIdx": 1, + "setId": 1, + "iconIdx": 16 }, { "icon": { "paths": [ - "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512 512-229.23 512-512-229.23-512-512-512zM512 896c-212.078 0-384-171.922-384-384s171.922-384 384-384c212.078 0 384 171.922 384 384 0 212.078-171.922 384-384 384zM448 256c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM640 320c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM256 320c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM448 704v64h128v-64l-64-320z" + "M736 0h-448c-52.8 0-96 43.2-96 96v832c0 52.8 43.2 96 96 96h448c52.8 0 96-43.2 96-96v-832c0-52.8-43.2-96-96-96zM384 48h256v32h-256v-32zM512 960c-35.346 0-64-28.654-64-64s28.654-64 64-64 64 28.654 64 64-28.654 64-64 64zM768 768h-512v-640h512v640z" ], "attrs": [], "isMulticolor": false, "tags": [ - "dashboard", - "control panel" + "mobile", + "phone", + "handheld" ], + "defaultCode": 57354, "grid": 32 }, "attrs": [], "properties": { - "id": 162, - "order": 29, + "id": 12, + "order": 15, "prevSize": 32, - "code": 58904, - "name": "dashboard", + "code": 58890, + "name": "mobile", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 31 + "setIdx": 1, + "setId": 1, + "iconIdx": 17 }, { "icon": { "paths": [ - "M976 768h-16v-208c0-61.756-50.242-112-112-112h-272v-128h16c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-160c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h16v128h-272c-61.756 0-112 50.244-112 112v208h-16c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-16v-192h256v192h-16c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-16v-192h256v192h-16c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48zM192 960h-128v-128h128v128zM576 960h-128v-128h128v128zM448 256v-128h128v128h-128zM960 960h-128v-128h128v128z" + "M1088 901.166c0 45.499 26.029 84.907 64 104.184v15.938c-10.626 1.454-21.472 2.224-32.499 2.224-68.008 0-129.349-28.528-172.723-74.264-26.221 6.982-54.002 10.752-82.778 10.752-159.058 0-288-114.616-288-256 0-141.384 128.942-256 288-256 159.058 0 288 114.616 288 256 0 55.347-19.763 106.592-53.355 148.466-6.826 14.824-10.645 31.312-10.645 48.701zM512 0c278.458 0 504.992 180.614 511.837 405.52-49.182-21.92-103.587-33.52-159.837-33.52-95.56 0-185.816 33.446-254.138 94.178-70.846 62.973-109.862 147.434-109.862 237.822 0 44.672 9.544 87.888 27.736 127.789-5.229 0.125-10.467 0.211-15.736 0.211-27.157 0-53.81-1.734-79.824-5.045-109.978 109.979-241.25 129.701-368.176 132.597v-26.915c68.536-33.579 128-94.741 128-164.637 0-9.754-0.758-19.33-2.163-28.696-115.797-76.264-189.837-192.754-189.837-323.304 0-229.75 229.23-416 512-416z" ], + "width": 1152, "attrs": [], "isMulticolor": false, "tags": [ - "tree", - "branches", - "descendants" + "bubbles", + "comments", + "chat", + "talk" ], + "defaultCode": 57355, "grid": 32 }, "attrs": [], "properties": { - "id": 185, - "order": 30, + "id": 13, + "order": 16, "prevSize": 32, - "code": 58905, - "name": "tree", + "code": 58891, + "name": "bubbles", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 32 + "setIdx": 1, + "setId": 1, + "iconIdx": 18 }, { "icon": { "paths": [ - "M704 0h-384l-192 128v256h768v-256l-192-128zM640 320h-64v-42.666c0-11.734-9.6-21.334-21.334-21.334h-85.332c-11.732 0-21.334 9.6-21.334 21.334l-0 42.666h-64v-106.666c0-11.734 9.602-21.334 21.334-21.334h213.33c11.734 0 21.336 9.6 21.336 21.334v106.666zM128 704.002h768v-256.002h-768v256.002zM384 533.332c0-11.734 9.602-21.332 21.334-21.332h213.33c11.734 0 21.336 9.598 21.336 21.332v106.668h-64v-42.668c0-11.734-9.6-21.332-21.334-21.332h-85.332c-11.732 0-21.334 9.598-21.334 21.332l-0 42.668h-64v-106.668zM128 1024h768v-255.998h-768v255.998zM384 853.332c0-11.734 9.602-21.332 21.334-21.332h213.33c11.734 0 21.336 9.598 21.336 21.332v106.668h-64v-42.668c0-11.734-9.6-21.332-21.334-21.332h-85.332c-11.732 0-21.334 9.598-21.334 21.332l-0 42.668h-64v-106.668z" + "M64 192h896v192h-896zM64 448h896v192h-896zM64 704h896v192h-896z" ], "attrs": [], "isMulticolor": false, "tags": [ - "cabinet", - "storage", - "drawer", - "archive", - "office" + "menu", + "list", + "items", + "lines", + "options" ], + "defaultCode": 57357, "grid": 32 }, "attrs": [], "properties": { - "id": 88, - "order": 31, + "id": 14, + "order": 17, "prevSize": 32, - "code": 58906, - "name": "cabinet", + "code": 58892, + "name": "menu", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 33 + "setIdx": 1, + "setId": 1, + "iconIdx": 19 }, { "icon": { "paths": [ - "M512 158.724l-344.834 737.276h689.668l-344.834-737.276zM512 0v0c22.070 0 44.14 14.882 60.884 44.648l437.072 871.112c33.49 59.532 5 108.24-63.302 108.24h-869.308c-68.304 0-96.79-48.708-63.304-108.24l437.074-871.112c16.744-29.766 38.814-44.648 60.884-44.648zM448 768c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM512 384c35.346 0 64 28.654 64 64l-20 192h-88l-20-192c0-35.346 28.654-64 64-64z" + "M704 64l-320 320h-192l-192 256c0 0 203.416-56.651 322.066-30.083l-322.066 414.083 421.902-328.144c58.837 134.654-37.902 328.144-37.902 328.144l256-192v-192l320-320 64-320-320 64z" ], "attrs": [], "isMulticolor": false, "tags": [ - "warning", - "sign" - ], + "rocket", + "speed", + "jet", + "spaceship", + "fast" + ], + "defaultCode": 57356, "grid": 32 }, "attrs": [], "properties": { - "id": 244, - "order": 32, + "id": 15, + "order": 18, "prevSize": 32, - "code": 58907, - "name": "warning", + "code": 58893, + "name": "rocket", "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 34 + "setIdx": 1, + "setId": 1, + "iconIdx": 20 }, { "icon": { "paths": [ - "M992 384h-352v-352c0-17.672-14.328-32-32-32h-192c-17.672 0-32 14.328-32 32v352h-352c-17.672 0-32 14.328-32 32v192c0 17.672 14.328 32 32 32h352v352c0 17.672 14.328 32 32 32h192c17.672 0 32-14.328 32-32v-352h352c17.672 0 32-14.328 32-32v-192c0-17.672-14.328-32-32-32z" + "M960 1024h-896c-35.328 0-64-28.672-64-64v-896c0-35.328 28.672-64 64-64h768l192 192v768c0 35.328-28.672 64-64 64zM256 864c0 17.696 14.336 32 32 32h448c17.696 0 32-14.304 32-32v-256c0-17.696-14.304-32-32-32h-448c-17.664 0-32 14.304-32 32v256zM704 160c0-17.696-14.304-32-32-32s-32 14.304-32 32v96c0 17.696 14.304 32 32 32s32-14.304 32-32v-96zM896 224l-96-96h-32v224c0 17.696-14.304 32-32 32h-448c-17.664 0-32-14.304-32-32v-224h-96c-17.664 0-32 14.304-32 32v704c0 17.696 14.336 32 32 32h32v-352c0-17.696 14.336-32 32-32h576c17.696 0 32 14.304 32 32v352h32c17.696 0 32-14.304 32-32v-640z" ], "attrs": [], "isMulticolor": false, "tags": [ - "plus", - "add", - "sum" + "floppy", + "disk", + "save", + "store" ], + "defaultCode": 57358, "grid": 32 }, "attrs": [], "properties": { - "id": 258, - "order": 5, + "id": 16, + "order": 19, "prevSize": 32, - "code": 58909, - "name": "plus2" + "code": 58894, + "name": "floppy", + "ligatures": "" }, - "setIdx": 0, - "setId": 4, - "iconIdx": 35 + "setIdx": 1, + "setId": 1, + "iconIdx": 21 }, { "icon": { "paths": [ - "M810.667 273.707l-60.373-60.373-238.293 238.293-238.293-238.293-60.373 60.373 238.293 238.293-238.293 238.293 60.373 60.373 238.293-238.293 238.293 238.293 60.373-60.373-238.293-238.293z" - ], - "attrs": [ - {} + "M752 576c0 141.376-114.624 256-256 256s-256-114.624-256-256c0-130.72 125.344-211.040 256-222.432v158.432l320-224v-32l-320-256v161.344c-235.104 13.824-448 177.952-448 414.656 0 247.424 200.576 448 448 448s448-200.576 448-448h-192z" ], + "attrs": [], "isMulticolor": false, - "colorPermutations": { - "6868681": [ - 0 - ] - }, "tags": [ - "close" + "refresh", + "reload" ], - "grid": 24 + "defaultCode": 57359, + "grid": 32 }, - "attrs": [ - {} - ], + "attrs": [], "properties": { - "order": 1, - "id": 0, + "id": 17, + "order": 20, "prevSize": 32, - "code": 58922, - "name": "close2" + "code": 58895, + "name": "refresh", + "ligatures": "" }, "setIdx": 1, - "setId": 3, - "iconIdx": 0 + "setId": 1, + "iconIdx": 22 }, { "icon": { "paths": [ - "M320 384h128v128h-128zM512 384h128v128h-128zM704 384h128v128h-128zM128 768h128v128h-128zM320 768h128v128h-128zM512 768h128v128h-128zM320 576h128v128h-128zM512 576h128v128h-128zM704 576h128v128h-128zM128 576h128v128h-128zM832 0v64h-128v-64h-448v64h-128v-64h-128v1024h960v-1024h-128zM896 960h-832v-704h832v704z" - ], - "attrs": [ - {} + "M192 64v768h768v-768h-768zM896 768h-640v-640h640v640zM128 896v-640l-64-64v768h768l-64-64zM429.254 685.254l192-192 146.746 146.746v-384h-384l146.746 146.746-192 192z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "calendar", - "date", - "schedule", - "time", - "day" + "new tab", + "external", + "outside", + "popout", + "link", + "blank" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {} - ], + "attrs": [], "properties": { - "order": 1, - "id": 10, + "id": 346, + "order": 21, "prevSize": 32, - "code": 58914, - "name": "calendar" + "code": 58896, + "name": "new-tab", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 0 + "setIdx": 1, + "setId": 1, + "iconIdx": 23 }, { "icon": { "paths": [ - "M917.806 229.076c-22.212-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.888 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.984 17.78 50.678 41.878 81.374 72.572zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.326 32 32 32h224v624z" - ], - "attrs": [ - {} + "M768 192l128-128h64v64l-128 128zM704 0h-64v128h64zM448 320h-128v64h128zM384 128v-64h64l128 128-64 64zM1024 320h-128v64h128zM704 576h-64v128h64zM960 576v64h-64l-128-128 64-64zM14 882l636.118-636.118c18.668-18.668 49.214-18.668 67.882 0l60.118 60.118c18.668 18.668 18.668 49.214 0 67.882l-636.118 636.118c-18.668 18.668-49.214 18.668-67.882 0l-60.118-60.118c-18.668-18.668-18.668-49.214 0-67.882zM544 544l192-192-64-64-192 192 64 64z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "file-empty", - "file", - "document", - "paper", - "page", - "new", - "empty", - "blank" + "wand", + "magic", + "wizard" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {} - ], + "attrs": [], "properties": { - "order": 42, - "id": 9, + "id": 146, + "order": 22, "prevSize": 32, - "code": 58921, - "name": "file-empty" + "code": 58897, + "name": "wand", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 1 + "setIdx": 1, + "setId": 1, + "iconIdx": 24 }, { "icon": { "paths": [ - "M917.806 229.076c-22.212-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.888 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.984 17.78 50.678 41.878 81.374 72.572zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.326 32 32 32h224v624z", - "M736 832h-448c-17.672 0-32-14.326-32-32s14.328-32 32-32h448c17.674 0 32 14.326 32 32s-14.326 32-32 32z", - "M736 704h-448c-17.672 0-32-14.326-32-32s14.328-32 32-32h448c17.674 0 32 14.326 32 32s-14.326 32-32 32z", - "M736 576h-448c-17.672 0-32-14.326-32-32s14.328-32 32-32h448c17.674 0 32 14.326 32 32s-14.326 32-32 32z" - ], - "attrs": [ - {}, - {}, - {}, - {} + "M128 896h896v128h-1024v-1024h128zM288 832c-53.020 0-96-42.98-96-96s42.98-96 96-96c2.828 0 5.622 0.148 8.388 0.386l103.192-171.986c-9.84-15.070-15.58-33.062-15.58-52.402 0-53.020 42.98-96 96-96 53.020 0 96 42.98 96 96 0 19.342-5.74 37.332-15.58 52.402l103.192 171.986c2.766-0.238 5.56-0.386 8.388-0.386 2.136 0 4.248 0.094 6.35 0.23l170.356-298.122c-10.536-15.408-16.706-34.036-16.706-54.11 0-53.020 42.98-96 96-96 53.020 0 96 42.98 96 96 0 53.020-42.98 96-96 96-2.14 0-4.248-0.094-6.35-0.232l-170.356 298.124c10.536 15.406 16.706 34.036 16.706 54.11 0 53.020-42.98 96-96 96-53.020 0-96-42.98-96-96 0-19.34 5.74-37.332 15.578-52.402l-103.19-171.984c-2.766 0.238-5.56 0.386-8.388 0.386s-5.622-0.146-8.388-0.386l-103.192 171.986c9.84 15.068 15.58 33.060 15.58 52.4 0 53.020-42.98 96-96 96z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "file-text", - "file", - "document", - "list", - "paper", - "page" + "stats", + "graph", + "plot", + "statistics", + "chart" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {}, - {}, - {}, - {} - ], + "attrs": [], "properties": { - "order": 41, - "id": 8, + "id": 150, + "order": 23, "prevSize": 32, - "code": 58912, - "name": "file-text" + "code": 58898, + "name": "stats", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 2 + "setIdx": 1, + "setId": 1, + "iconIdx": 25 }, { "icon": { "paths": [ - "M917.806 229.076c-22.208-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.594-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.882 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0 0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.98 17.78 50.678 41.878 81.374 72.572v0 0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.32 32 32 32h224v624z", - "M256 512h320v320h-320v-320z", - "M576 640l192-128v320l-192-128z" - ], - "attrs": [ - {}, - {}, - {} + "M1024 608.094v-192.188l-146.774-24.462c-5.958-18.132-13.222-35.668-21.694-52.5l86.454-121.034-135.896-135.898-120.826 86.304c-16.91-8.554-34.538-15.888-52.768-21.902l-24.402-146.414h-192.188l-24.402 146.416c-18.23 6.014-35.858 13.348-52.766 21.902l-120.828-86.304-135.898 135.898 86.454 121.036c-8.47 16.83-15.734 34.366-21.692 52.498l-146.774 24.46v192.188l147.118 24.52c5.96 17.968 13.21 35.348 21.642 52.030l-86.748 121.448 135.898 135.896 121.654-86.894c16.602 8.35 33.89 15.528 51.764 21.434l24.578 147.472h192.188l24.578-147.474c17.874-5.906 35.162-13.084 51.766-21.432l121.652 86.892 135.896-135.896-86.744-121.446c8.432-16.682 15.678-34.062 21.64-52.032l147.118-24.518zM512 640c-70.692 0-128-57.306-128-128 0-70.692 57.308-128 128-128 70.694 0 128 57.308 128 128 0 70.694-57.306 128-128 128z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "file-video", - "file", - "document", - "file-camera" + "cog", + "preferences", + "settings", + "gear", + "generate", + "control", + "options" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {}, - {}, - {} - ], + "attrs": [], "properties": { - "order": 37, - "id": 7, + "id": 144, + "order": 24, "prevSize": 32, - "code": 58913, - "name": "file-video" + "code": 58899, + "name": "cog", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 3 + "setIdx": 1, + "setId": 1, + "iconIdx": 26 }, { "icon": { "paths": [ - "M917.806 229.076c-22.208-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.884 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0 0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.98 17.78 50.678 41.878 81.374 72.572v0 0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.322 32 32 32h224v624z", - "M256 64h128v64h-128v-64z", - "M384 128h128v64h-128v-64z", - "M256 192h128v64h-128v-64z", - "M384 256h128v64h-128v-64z", - "M256 320h128v64h-128v-64z", - "M384 384h128v64h-128v-64z", - "M256 448h128v64h-128v-64z", - "M384 512h128v64h-128v-64z", - "M256 848c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-80v-64h-128v272zM448 768v64h-128v-64h128z" - ], - "attrs": [ - {}, - {}, - {}, - {}, - {}, - {}, - {}, - {}, - {}, - {} + "M1024 256l-256-256v192c-130.772 0-230.752 31.208-305.65 95.408-5.25 4.5-10.284 9.1-15.162 13.774 27.52 38.164 48.716 77.516 67.772 115.090 48.322-58.402 118.054-96.272 253.040-96.272v192 0 192c-216.446 0-265.126-97.36-326.756-220.622-34.306-68.612-69.78-139.56-135.592-195.97-74.9-64.2-174.88-95.408-305.652-95.408v128c216.446 0 265.126 97.36 326.756 220.622 34.306 68.612 69.78 139.56 135.592 195.97 74.9 64.2 174.882 95.408 305.652 95.408v192l256-256-256-256 256-256zM0 704v128c130.772 0 230.75-31.208 305.65-95.408 5.25-4.498 10.284-9.1 15.162-13.776-27.52-38.162-48.718-77.516-67.772-115.090-48.32 58.402-118.052 96.274-253.040 96.274z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "file-zip", - "file", - "document", - "file-compressed", - "file-type", - "file-format" + "shuffle", + "media control", + "random" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {}, - {}, - {}, - {}, - {}, - {}, - {}, - {}, - {}, - {} - ], + "attrs": [], "properties": { - "order": 38, - "id": 5, + "id": 286, + "order": 25, "prevSize": 32, - "code": 58915, - "name": "file-zip" + "code": 58900, + "name": "shuffle", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 4 + "setIdx": 1, + "setId": 1, + "iconIdx": 27 }, { "icon": { "paths": [ - "M917.806 229.076c-22.21-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.886 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.982 17.78 50.678 41.878 81.374 72.572v0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.324 32 32 32h224v624z", - "M756.288 391.252c-7.414-6.080-17.164-8.514-26.562-6.632l-320 64c-14.958 2.994-25.726 16.126-25.726 31.38v236.876c-18.832-8.174-40.678-12.876-64-12.876-70.692 0-128 42.98-128 96s57.308 96 128 96 128-42.98 128-96v-229.766l256-51.202v133.842c-18.832-8.174-40.678-12.876-64-12.876-70.692 0-128 42.98-128 96s57.308 96 128 96 128-42.98 128-96v-319.998c0-9.586-4.298-18.668-11.712-24.748z" - ], - "attrs": [ - {}, - {} + "M800 128h-576c-53.020 0-96 42.98-96 96v32h768v-32c0-53.020-42.98-96-96-96zM632.32 64l14.116 101h-268.872l14.114-101h240.642M640 0h-256c-26.4 0-50.99 21.392-54.642 47.538l-18.714 133.924c-3.654 26.146 14.956 47.538 41.356 47.538h320c26.4 0 45.010-21.392 41.358-47.538l-18.714-133.924c-3.654-26.146-28.244-47.538-54.644-47.538v0zM816 320h-608c-35.2 0-61.392 28.682-58.206 63.738l52.412 576.526c3.186 35.054 34.594 63.736 69.794 63.736h480c35.2 0 66.608-28.682 69.794-63.736l52.41-576.526c3.188-35.056-23.004-63.738-58.204-63.738zM384 896h-96l-32-448h128v448zM576 896h-128v-448h128v448zM736 896h-96v-448h128l-32 448z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "file-music", - "file", - "document", - "file-song", - "file-audio" + "remove", + "delete", + "trashcan", + "recycle bin", + "bin", + "dispose" + ], + "grid": 32 + }, + "attrs": [], + "properties": { + "id": 168, + "order": 26, + "prevSize": 32, + "code": 58901, + "name": "remove", + "ligatures": "" + }, + "setIdx": 1, + "setId": 1, + "iconIdx": 28 + }, + { + "icon": { + "paths": [ + "M992 384h-352v-352c0-17.672-14.328-32-32-32h-192c-17.672 0-32 14.328-32 32v352h-352c-17.672 0-32 14.328-32 32v192c0 17.672 14.328 32 32 32h352v352c0 17.672 14.328 32 32 32h192c17.672 0 32-14.328 32-32v-352h352c17.672 0 32-14.328 32-32v-192c0-17.672-14.328-32-32-32z" + ], + "attrs": [], + "isMulticolor": false, + "tags": [ + "plus", + "add", + "sum" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {}, - {} - ], + "attrs": [], "properties": { - "order": 39, - "id": 4, + "id": 258, + "order": 27, "prevSize": 32, - "code": 58916, - "name": "file-music" + "code": 58902, + "name": "plus", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 5 + "setIdx": 1, + "setId": 1, + "iconIdx": 29 }, { "icon": { "paths": [ - "M832 896h-640v-128l192-320 263 320 185-128v256z", - "M832 480c0 53.020-42.98 96-96 96-53.022 0-96-42.98-96-96s42.978-96 96-96c53.020 0 96 42.98 96 96z", - "M917.806 229.076c-22.212-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.888 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.984 17.78 50.678 41.878 81.374 72.572zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.326 32 32 32h224v624z" - ], - "attrs": [ - {}, - {}, - {} + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512 512-229.23 512-512-229.23-512-512-512zM512 928c-229.75 0-416-186.25-416-416s186.25-416 416-416 416 186.25 416 416-186.25 416-416 416zM448 256h128v128h-128zM640 768h-256v-64h64v-192h-64v-64h192v256h64z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "file-picture", - "file", - "document", - "file-image" + "info", + "information" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {}, - {}, - {} - ], + "attrs": [], "properties": { - "order": 40, - "id": 3, + "id": 247, + "order": 28, "prevSize": 32, - "code": 58917, - "name": "file-picture" + "code": 58903, + "name": "info", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 6 + "setIdx": 1, + "setId": 1, + "iconIdx": 30 }, { "icon": { "paths": [ - "M743.028 384h-135.292l-95.732 141.032-95.742-141.032h-135.29l162.162 242.464-182.972 269.536h251.838v-91.576h-50.156l50.156-74.994 111.396 166.57h140.444l-182.976-269.536 162.164-242.464z", - "M917.806 229.076c-22.21-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.886 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.982 17.78 50.678 41.878 81.374 72.572v0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.324 32 32 32h224v624z" - ], - "attrs": [ - {}, - {} + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512 512-229.23 512-512-229.23-512-512-512zM512 896c-212.078 0-384-171.922-384-384s171.922-384 384-384c212.078 0 384 171.922 384 384 0 212.078-171.922 384-384 384zM448 256c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM640 320c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM256 320c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM448 704v64h128v-64l-64-320z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "file-excel", - "file", - "file-format", - "xlc" + "dashboard", + "control panel" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {}, - {} - ], + "attrs": [], "properties": { - "order": 36, - "id": 2, + "id": 162, + "order": 29, "prevSize": 32, - "code": 58918, - "name": "file-excel" + "code": 58904, + "name": "dashboard", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 7 + "setIdx": 1, + "setId": 1, + "iconIdx": 31 }, { "icon": { "paths": [ - "M639.778 475.892h44.21l-51.012 226.178-66.324-318.010h-106.55l-77.114 318.010-57.816-318.010h-111.394l113.092 511.88h108.838l76.294-302.708 68.256 302.708h100.336l129.628-511.88h-170.446v91.832z", - "M917.806 229.076c-22.21-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.886 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.982 17.78 50.678 41.878 81.374 72.572v0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.324 32 32 32h224v624z" - ], - "attrs": [ - {}, - {} + "M976 768h-16v-208c0-61.756-50.242-112-112-112h-272v-128h16c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-160c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h16v128h-272c-61.756 0-112 50.244-112 112v208h-16c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-16v-192h256v192h-16c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-16v-192h256v192h-16c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48zM192 960h-128v-128h128v128zM576 960h-128v-128h128v128zM448 256v-128h128v128h-128zM960 960h-128v-128h128v128z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "file-word", - "file", - "file-format", - "word", - "docx" + "tree", + "branches", + "descendants" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {}, - {} - ], + "attrs": [], "properties": { - "order": 35, - "id": 1, + "id": 185, + "order": 30, "prevSize": 32, - "code": 58919, - "name": "file-word" + "code": 58905, + "name": "tree", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 8 + "setIdx": 1, + "setId": 1, + "iconIdx": 32 }, { "icon": { "paths": [ - "M842.012 589.48c-13.648-13.446-43.914-20.566-89.972-21.172-31.178-0.344-68.702 2.402-108.17 7.928-17.674-10.198-35.892-21.294-50.188-34.658-38.462-35.916-70.568-85.772-90.576-140.594 1.304-5.12 2.414-9.62 3.448-14.212 0 0 21.666-123.060 15.932-164.666-0.792-5.706-1.276-7.362-2.808-11.796l-1.882-4.834c-5.894-13.592-17.448-27.994-35.564-27.208l-10.916-0.344c-20.202 0-36.664 10.332-40.986 25.774-13.138 48.434 0.418 120.892 24.98 214.738l-6.288 15.286c-17.588 42.876-39.63 86.060-59.078 124.158l-2.528 4.954c-20.46 40.040-39.026 74.028-55.856 102.822l-17.376 9.188c-1.264 0.668-31.044 16.418-38.028 20.644-59.256 35.38-98.524 75.542-105.038 107.416-2.072 10.17-0.53 23.186 10.014 29.212l16.806 8.458c7.292 3.652 14.978 5.502 22.854 5.502 42.206 0 91.202-52.572 158.698-170.366 77.93-25.37 166.652-46.458 244.412-58.090 59.258 33.368 132.142 56.544 178.142 56.544 8.168 0 15.212-0.78 20.932-2.294 8.822-2.336 16.258-7.368 20.792-14.194 8.926-13.432 10.734-31.932 8.312-50.876-0.72-5.622-5.21-12.574-10.068-17.32zM211.646 814.048c7.698-21.042 38.16-62.644 83.206-99.556 2.832-2.296 9.808-8.832 16.194-14.902-47.104 75.124-78.648 105.066-99.4 114.458zM478.434 199.686c13.566 0 21.284 34.194 21.924 66.254s-6.858 54.56-16.158 71.208c-7.702-24.648-11.426-63.5-11.426-88.904 0 0-0.566-48.558 5.66-48.558v0zM398.852 637.494c9.45-16.916 19.282-34.756 29.33-53.678 24.492-46.316 39.958-82.556 51.478-112.346 22.91 41.684 51.444 77.12 84.984 105.512 4.186 3.542 8.62 7.102 13.276 10.65-68.21 13.496-127.164 29.91-179.068 49.862v0zM828.902 633.652c-4.152 2.598-16.052 4.1-23.708 4.1-24.708 0-55.272-11.294-98.126-29.666 16.468-1.218 31.562-1.838 45.102-1.838 24.782 0 32.12-0.108 56.35 6.072 24.228 6.18 24.538 18.734 20.382 21.332v0z", - "M917.806 229.076c-22.21-30.292-53.174-65.7-87.178-99.704s-69.412-64.964-99.704-87.178c-51.574-37.82-76.592-42.194-90.924-42.194h-496c-44.112 0-80 35.888-80 80v864c0 44.112 35.886 80 80 80h736c44.112 0 80-35.888 80-80v-624c0-14.332-4.372-39.35-42.194-90.924v0zM785.374 174.626c30.7 30.7 54.8 58.398 72.58 81.374h-153.954v-153.946c22.982 17.78 50.678 41.878 81.374 72.572v0zM896 944c0 8.672-7.328 16-16 16h-736c-8.672 0-16-7.328-16-16v-864c0-8.672 7.328-16 16-16 0 0 495.956-0.002 496 0v224c0 17.672 14.324 32 32 32h224v624z" - ], - "attrs": [ - {}, - {} + "M704 0h-384l-192 128v256h768v-256l-192-128zM640 320h-64v-42.666c0-11.734-9.6-21.334-21.334-21.334h-85.332c-11.732 0-21.334 9.6-21.334 21.334l-0 42.666h-64v-106.666c0-11.734 9.602-21.334 21.334-21.334h213.33c11.734 0 21.336 9.6 21.336 21.334v106.666zM128 704.002h768v-256.002h-768v256.002zM384 533.332c0-11.734 9.602-21.332 21.334-21.332h213.33c11.734 0 21.336 9.598 21.336 21.332v106.668h-64v-42.668c0-11.734-9.6-21.332-21.334-21.332h-85.332c-11.732 0-21.334 9.598-21.334 21.332l-0 42.668h-64v-106.668zM128 1024h768v-255.998h-768v255.998zM384 853.332c0-11.734 9.602-21.332 21.334-21.332h213.33c11.734 0 21.336 9.598 21.336 21.332v106.668h-64v-42.668c0-11.734-9.6-21.332-21.334-21.332h-85.332c-11.732 0-21.334 9.598-21.334 21.332l-0 42.668h-64v-106.668z" ], + "attrs": [], "isMulticolor": false, "tags": [ - "file-pdf", - "file", - "file-format" + "cabinet", + "storage", + "drawer", + "archive", + "office" ], - "grid": 16 + "grid": 32 }, - "attrs": [ - {}, - {} - ], + "attrs": [], "properties": { - "order": 34, - "id": 0, + "id": 88, + "order": 31, "prevSize": 32, - "code": 58920, - "name": "file-pdf" + "code": 58906, + "name": "cabinet", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 9 + "setIdx": 1, + "setId": 1, + "iconIdx": 33 }, { "icon": { "paths": [ - "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512 512-229.23 512-512-229.23-512-512-512zM512 960.002c-62.958 0-122.872-13.012-177.23-36.452l233.148-262.29c5.206-5.858 8.082-13.422 8.082-21.26v-96c0-17.674-14.326-32-32-32-112.99 0-232.204-117.462-233.374-118.626-6-6.002-14.14-9.374-22.626-9.374h-128c-17.672 0-32 14.328-32 32v192c0 12.122 6.848 23.202 17.69 28.622l110.31 55.156v187.886c-116.052-80.956-192-215.432-192-367.664 0-68.714 15.49-133.806 43.138-192h116.862c8.488 0 16.626-3.372 22.628-9.372l128-128c6-6.002 9.372-14.14 9.372-22.628v-77.412c40.562-12.074 83.518-18.588 128-18.588 70.406 0 137.004 16.26 196.282 45.2-4.144 3.502-8.176 7.164-12.046 11.036-36.266 36.264-56.236 84.478-56.236 135.764s19.97 99.5 56.236 135.764c36.434 36.432 85.218 56.264 135.634 56.26 3.166 0 6.342-0.080 9.518-0.236 13.814 51.802 38.752 186.656-8.404 372.334-0.444 1.744-0.696 3.488-0.842 5.224-81.324 83.080-194.7 134.656-320.142 134.656z" + "M512 158.724l-344.834 737.276h689.668l-344.834-737.276zM512 0v0c22.070 0 44.14 14.882 60.884 44.648l437.072 871.112c33.49 59.532 5 108.24-63.302 108.24h-869.308c-68.304 0-96.79-48.708-63.304-108.24l437.074-871.112c16.744-29.766 38.814-44.648 60.884-44.648zM448 768c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM512 384c35.346 0 64 28.654 64 64l-20 192h-88l-20-192c0-35.346 28.654-64 64-64z" ], "attrs": [], "isMulticolor": false, "tags": [ - "earth", - "globe", - "language", - "web", - "internet", - "sphere", - "planet" + "warning", + "sign" ], - "grid": 16 + "grid": 32 }, "attrs": [], "properties": { - "order": 50, - "id": 1423, + "id": 244, + "order": 32, "prevSize": 32, - "ligatures": "earth, globe2", - "name": "earth", - "code": 58923 + "code": 58907, + "name": "warning", + "ligatures": "" }, - "setIdx": 2, - "setId": 2, - "iconIdx": 10 + "setIdx": 1, + "setId": 1, + "iconIdx": 34 }, { "icon": { "paths": [ - "M576 706.612v-52.78c70.498-39.728 128-138.772 128-237.832 0-159.058 0-288-192-288s-192 128.942-192 288c0 99.060 57.502 198.104 128 237.832v52.78c-217.102 17.748-384 124.42-384 253.388h896c0-128.968-166.898-235.64-384-253.388z" + "M992 384h-352v-352c0-17.672-14.328-32-32-32h-192c-17.672 0-32 14.328-32 32v352h-352c-17.672 0-32 14.328-32 32v192c0 17.672 14.328 32 32 32h352v352c0 17.672 14.328 32 32 32h192c17.672 0 32-14.328 32-32v-352h352c17.672 0 32-14.328 32-32v-192c0-17.672-14.328-32-32-32z" ], "attrs": [], + "isMulticolor": false, "tags": [ - "user", - "profile", - "avatar", - "person", - "member" + "plus", + "add", + "sum" ], - "grid": 16 + "grid": 32 }, "attrs": [], "properties": { - "order": 3, - "id": 1628, + "id": 258, + "order": 5, "prevSize": 32, - "ligatures": "user, profile2", - "name": "user", - "code": 58924 + "code": 58909, + "name": "plus2" }, - "setIdx": 3, - "setId": 0, - "iconIdx": 113 + "setIdx": 1, + "setId": 1, + "iconIdx": 35 }, { "icon": { "paths": [ - "M768 770.612v-52.78c70.498-39.728 128-138.772 128-237.832 0-159.058 0-288-192-288s-192 128.942-192 288c0 99.060 57.502 198.104 128 237.832v52.78c-217.102 17.748-384 124.42-384 253.388h896c0-128.968-166.898-235.64-384-253.388z", - "M327.196 795.328c55.31-36.15 124.080-63.636 199.788-80.414-15.054-17.784-28.708-37.622-40.492-59.020-30.414-55.234-46.492-116.058-46.492-175.894 0-86.042 0-167.31 30.6-233.762 29.706-64.504 83.128-104.496 159.222-119.488-16.914-76.48-61.94-126.75-181.822-126.75-192 0-192 128.942-192 288 0 99.060 57.502 198.104 128 237.832v52.78c-217.102 17.748-384 124.42-384 253.388h279.006c14.518-12.91 30.596-25.172 48.19-36.672z" + "M810.667 273.707l-60.373-60.373-238.293 238.293-238.293-238.293-60.373 60.373 238.293 238.293-238.293 238.293 60.373 60.373 238.293-238.293 238.293 238.293 60.373-60.373-238.293-238.293z" ], - "width": 1152, - "attrs": [], + "attrs": [ + {} + ], + "isMulticolor": false, + "colorPermutations": { + "6868681": [ + 0 + ] + }, "tags": [ - "users", - "group", - "team", - "members", - "community", - "collaborate" + "close" ], - "grid": 16 + "grid": 24 }, - "attrs": [], + "attrs": [ + {} + ], "properties": { - "id": 476, - "order": 4, + "order": 1, + "id": 0, "prevSize": 32, - "ligatures": "users, group", - "name": "users", - "code": 58925 + "code": 58922, + "name": "close2" }, - "setIdx": 3, - "setId": 0, - "iconIdx": 114 + "setIdx": 1, + "setId": 1, + "iconIdx": 36 } ], "height": 1024, diff --git a/Resources/public/js/alloyeditor/buttons/embed.js b/Resources/public/js/alloyeditor/buttons/embed.js new file mode 100644 index 000000000..afc7396cf --- /dev/null +++ b/Resources/public/js/alloyeditor/buttons/embed.js @@ -0,0 +1,89 @@ +/* + * Copyright (C) eZ Systems AS. All rights reserved. + * For full copyright and license information view LICENSE file distributed with this source code. + */ +// **NOTICE:** +// THIS IS AN AUTO-GENERATED FILE +// DO YOUR MODIFICATIONS IN THE CORRESPONDING .jsx FILE +// AND REGENERATE IT WITH: grunt jsx +// END OF NOTICE +YUI.add('ez-alloyeditor-button-embed', function (Y) { + "use strict"; + + var AlloyEditor = Y.eZ.AlloyEditor, + React = Y.eZ.React, + ButtonEmbed; + + /** + * The ButtonEmbed component represents a button to add an embed element. + * + * @uses AlloyEditor.ButtonCommand + * @uses AlloyEditor.ButtonStateClasses + * + * @class eZ.AlloyEditor.ButtonEmbed + */ + ButtonEmbed = React.createClass({displayName: "ButtonEmbed", + mixins: [ + AlloyEditor.ButtonCommand, + AlloyEditor.ButtonStateClasses, + ], + + statics: { + key: 'ezembed' + }, + + getDefaultProps: function () { + return { + command: 'eZAppendContent', + modifiesSelection: true, + }; + }, + + /** + * Executes the eZAppendContent to add an embed element in the editor. + * + * @method _addEmbed + * @protected + */ + _addEmbed: function () { + this.execCommand({ + tagName: 'ezembed', + attributes: { + href: 'ezlocation://2', + } + }); + this._refreshWidget(); + }, + + /** + * Makes the newly added ezembed element is recognized as a widget in + * CKEditor + * + * @method _refreshWidget + * @protected + */ + _refreshWidget: function () { + var editor = this.props.editor.get('nativeEditor'), + embedElements; + + embedElements = editor.element.find('ezembed'); + editor.widgets.initOn( + embedElements.getItem(embedElements.count() - 1), + 'ezembed' + ); + }, + + render: function () { + var css = "ae-button ez-ae-labeled-button" + this.getStateClasses(); + + return ( + React.createElement("button", {className: css, onClick: this._addEmbed, tabIndex: this.props.tabIndex}, + React.createElement("span", {className: "ez-ae-icon ez-ae-icon-embed ez-font-icon"}), + React.createElement("p", {className: "ez-ae-label"}, "Embed") + ) + ); + }, + }); + + AlloyEditor.Buttons[ButtonEmbed.key] = AlloyEditor.ButtonEmbed = ButtonEmbed; +}); diff --git a/Resources/public/js/alloyeditor/buttons/embed.jsx b/Resources/public/js/alloyeditor/buttons/embed.jsx new file mode 100644 index 000000000..fec1aa01b --- /dev/null +++ b/Resources/public/js/alloyeditor/buttons/embed.jsx @@ -0,0 +1,84 @@ +/* + * Copyright (C) eZ Systems AS. All rights reserved. + * For full copyright and license information view LICENSE file distributed with this source code. + */ +YUI.add('ez-alloyeditor-button-embed', function (Y) { + "use strict"; + + var AlloyEditor = Y.eZ.AlloyEditor, + React = Y.eZ.React, + ButtonEmbed; + + /** + * The ButtonEmbed component represents a button to add an embed element. + * + * @uses AlloyEditor.ButtonCommand + * @uses AlloyEditor.ButtonStateClasses + * + * @class eZ.AlloyEditor.ButtonEmbed + */ + ButtonEmbed = React.createClass({ + mixins: [ + AlloyEditor.ButtonCommand, + AlloyEditor.ButtonStateClasses, + ], + + statics: { + key: 'ezembed' + }, + + getDefaultProps: function () { + return { + command: 'eZAppendContent', + modifiesSelection: true, + }; + }, + + /** + * Executes the eZAppendContent to add an embed element in the editor. + * + * @method _addEmbed + * @protected + */ + _addEmbed: function () { + this.execCommand({ + tagName: 'ezembed', + attributes: { + href: 'ezlocation://2', + } + }); + this._refreshWidget(); + }, + + /** + * Makes the newly added ezembed element is recognized as a widget in + * CKEditor + * + * @method _refreshWidget + * @protected + */ + _refreshWidget: function () { + var editor = this.props.editor.get('nativeEditor'), + embedElements; + + embedElements = editor.element.find('ezembed'); + editor.widgets.initOn( + embedElements.getItem(embedElements.count() - 1), + 'ezembed' + ); + }, + + render: function () { + var css = "ae-button ez-ae-labeled-button" + this.getStateClasses(); + + return ( + + ); + }, + }); + + AlloyEditor.Buttons[ButtonEmbed.key] = AlloyEditor.ButtonEmbed = ButtonEmbed; +}); diff --git a/Resources/public/js/alloyeditor/buttons/heading.js b/Resources/public/js/alloyeditor/buttons/heading.js index 09325d619..2c5cacc3d 100644 --- a/Resources/public/js/alloyeditor/buttons/heading.js +++ b/Resources/public/js/alloyeditor/buttons/heading.js @@ -56,7 +56,7 @@ YUI.add('ez-alloyeditor-button-heading', function (Y) { return ( React.createElement("button", {className: css, onClick: this._addHeading, tabIndex: this.props.tabIndex}, - React.createElement("span", {className: "ae-icon-h1"}), React.createElement("p", {className: "ez-ae-label"}, "Heading") + React.createElement("span", {className: "ez-ae-icon ae-icon-h1"}), React.createElement("p", {className: "ez-ae-label"}, "Heading") ) ); }, diff --git a/Resources/public/js/alloyeditor/buttons/heading.jsx b/Resources/public/js/alloyeditor/buttons/heading.jsx index 68006fccb..19a1e18c9 100644 --- a/Resources/public/js/alloyeditor/buttons/heading.jsx +++ b/Resources/public/js/alloyeditor/buttons/heading.jsx @@ -51,7 +51,7 @@ YUI.add('ez-alloyeditor-button-heading', function (Y) { return ( ); }, diff --git a/Resources/public/js/views/fields/ez-richtext-editview.js b/Resources/public/js/views/fields/ez-richtext-editview.js index 195ec6b17..38aee24ce 100644 --- a/Resources/public/js/views/fields/ez-richtext-editview.js +++ b/Resources/public/js/views/fields/ez-richtext-editview.js @@ -355,7 +355,7 @@ YUI.add('ez-richtext-editview', function (Y) { tabIndex: 1 }, ezappendcontent: { - buttons: ['ezheading'], + buttons: ['ezheading', 'ezembed'], tabIndex: 2, addContentButtonClass: ADD_CONTENT_BUTTON_CLASS, }, diff --git a/Tests/js/alloyeditor/buttons/assets/ez-alloyeditor-button-embed-tests.jsx b/Tests/js/alloyeditor/buttons/assets/ez-alloyeditor-button-embed-tests.jsx new file mode 100644 index 000000000..4cddb5f3e --- /dev/null +++ b/Tests/js/alloyeditor/buttons/assets/ez-alloyeditor-button-embed-tests.jsx @@ -0,0 +1,126 @@ +/* + * Copyright (C) eZ Systems AS. All rights reserved. + * For full copyright and license information view LICENSE file distributed with this source code. + */ +YUI.add('ez-alloyeditor-button-embed-tests', function (Y) { + var renderTest, clickTest, + AlloyEditor = Y.eZ.AlloyEditor, + React = Y.eZ.React, + Assert = Y.Assert, Mock = Y.Mock; + + renderTest = new Y.Test.Case({ + name: "eZ AlloyEditor embed button render test", + + setUp: function () { + this.container = Y.one('.container').getDOMNode(); + this.editor = {}; + }, + + tearDown: function () { + React.unmountComponentAtNode(this.container); + delete this.editor; + }, + + "Should render a button": function () { + var button; + + button = React.render( + , + this.container + ); + + Assert.isNotNull( + React.findDOMNode(button), + "The button should be rendered" + ); + Assert.areEqual( + "BUTTON", React.findDOMNode(button).tagName, + "The component should generate a button" + ); + }, + }); + + clickTest= new Y.Test.Case({ + name: "eZ AlloyEditor embed button click test", + + setUp: function () { + var nat = new Mock(), + list = new Mock(), + ezembed = {}; + + this.container = Y.one('.container'); + this.editor = new Mock(); + Mock.expect(this.editor, { + method: 'get', + args: ['nativeEditor'], + returns: nat, + }); + Mock.expect(nat, { + method: 'execCommand', + args: ['eZAppendContent', Mock.Value.Object], + run: function (command, data) { + Assert.areEqual( + data.tagName, 'ezembed', + "A ezembed element should have been generated" + ); + } + }); + Mock.expect(nat, { + method: 'selectionChange', + args: [true], + }); + Mock.expect(nat, { + method: 'fire', + args: ['actionPerformed', Mock.Value.Object], + }); + nat.element = new Mock(); + nat.widgets = new Mock(); + + Mock.expect(nat.element, { + method: 'find', + args: ['ezembed'], + returns: list, + }); + Mock.expect(list, { + method: 'count', + returns: 2, + }); + Mock.expect(list, { + method: 'getItem', + args: [1], + returns: ezembed, + }); + Mock.expect(nat.widgets, { + method: 'initOn', + args: [ezembed, 'ezembed'], + }); + this.widgets = nat.widgets; + }, + + tearDown: function () { + React.unmountComponentAtNode(this.container.getDOMNode()); + delete this.editor; + }, + + "Should execute the eZAppendContent command": function () { + var button; + + button = React.render( + , + this.container.getDOMNode() + ); + + this.container.one('button').simulate('click'); + }, + + "Should initialize the widget on the ezembed element": function () { + this["Should execute the eZAppendContent command"](); + + Mock.verify(this.widgets); + }, + }); + + Y.Test.Runner.setName("eZ AlloyEditor embed button tests"); + Y.Test.Runner.add(renderTest); + Y.Test.Runner.add(clickTest); +}, '', {requires: ['test', 'node', 'node-event-simulate', 'ez-alloyeditor-button-embed']}); diff --git a/Tests/js/alloyeditor/buttons/ez-alloyeditor-button-embed.html b/Tests/js/alloyeditor/buttons/ez-alloyeditor-button-embed.html new file mode 100644 index 000000000..6f112d059 --- /dev/null +++ b/Tests/js/alloyeditor/buttons/ez-alloyeditor-button-embed.html @@ -0,0 +1,43 @@ + + + +eZ AlloyEditor embed button tests + + + +
+ + + + + + + diff --git a/Tests/js/views/fields/assets/ez-richtext-editview-tests.js b/Tests/js/views/fields/assets/ez-richtext-editview-tests.js index fc16144be..126472f82 100644 --- a/Tests/js/views/fields/assets/ez-richtext-editview-tests.js +++ b/Tests/js/views/fields/assets/ez-richtext-editview-tests.js @@ -6,7 +6,7 @@ YUI.add('ez-richtext-editview-tests', function (Y) { var renderTest, registerTest, validateTest, getFieldTest, editorTest, focusModeTest, editorFocusHandlingTest, - actionBarTest, destructorTest, + actionBarTest, destructorTest, appendToolbarConfigTest, VALID_XHTML, INVALID_XHTML, RESULT_XHTML, EMPTY_XHTML, FIELDVALUE_RESULT, Assert = Y.Assert, Mock = Y.Mock; @@ -667,6 +667,45 @@ YUI.add('ez-richtext-editview-tests', function (Y) { }, }); + appendToolbarConfigTest = new Y.Test.Case({ + name: "eZ RichText View ezappendcontent toolbar config test", + + setUp: function () { + this.view = new Y.eZ.RichTextEditView(); + }, + + tearDown: function () { + this.view.destroy(); + }, + + _testButton: function (identifier) { + var config = this.view.get('toolbarsConfig').ezappendcontent; + + Assert.isTrue( + config.buttons.indexOf(identifier) !== -1, + "The '" + identifier + "' should be configured" + ); + }, + + "Should configure the ezheading button": function () { + this._testButton('ezheading'); + }, + + "Should configure the ezembed button": function () { + this._testButton('ezembed'); + }, + + "Should configure the addContentButtonClass": function () { + var config = this.view.get('toolbarsConfig').ezappendcontent; + + Assert.areEqual( + 'ez-richtext-add-content', + config.addContentButtonClass, + "The toolbar config should contain the 'ez-richtext-add-content' class" + ); + }, + }); + registerTest = new Y.Test.Case(Y.eZ.EditViewRegisterTest); registerTest.name = "RichText Edit View registration test"; registerTest.viewType = Y.eZ.RichTextEditView; @@ -680,6 +719,7 @@ YUI.add('ez-richtext-editview-tests', function (Y) { Y.Test.Runner.add(focusModeTest); Y.Test.Runner.add(actionBarTest); Y.Test.Runner.add(destructorTest); + Y.Test.Runner.add(appendToolbarConfigTest); Y.Test.Runner.add(registerTest); Y.Test.Runner.add(editorFocusHandlingTest); }, '', {requires: ['test', 'base', 'view', 'node-event-simulate', 'editviewregister-tests', 'ez-richtext-editview']}); From d514be97826cc4f287a963bc97b406899355e6fb Mon Sep 17 00:00:00 2001 From: Damien Pobel Date: Mon, 31 Aug 2015 08:26:38 +0200 Subject: [PATCH 5/5] Ignore the auto generated JS from JSX test files --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index d53582ab6..29abc267b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ Tests/report/ *-coverage.js Tests/instrument/ +Tests/js/alloyeditor/toolbars/assets/*.js +Tests/js/alloyeditor/buttons/assets/*.js node_modules/ Resources/public/vendors/ /vendor/