Merge branch 'develop' into feature/sse-conditional-formatting
|
@ -74,7 +74,6 @@
|
|||
recent: [
|
||||
{
|
||||
title: 'document title',
|
||||
image: 'recent icon url',
|
||||
url: 'document url',
|
||||
folder: 'path to document',
|
||||
},
|
||||
|
@ -134,7 +133,10 @@
|
|||
spellcheck: true,
|
||||
compatibleFeatures: false,
|
||||
unit: 'cm' // cm, pt, inch,
|
||||
mentionShare : true // customize tooltip for mention
|
||||
mentionShare : true // customize tooltip for mention,
|
||||
macros: true // can run macros in document
|
||||
plugins: true // can run plugins in document
|
||||
macrosMode: 'warn' // warn about automatic macros, 'enable', 'disable', 'warn'
|
||||
},
|
||||
plugins: {
|
||||
autostart: ['asc.{FFE1F462-1EA2-4391-990D-4CC84940B754}'],
|
||||
|
@ -213,6 +215,7 @@
|
|||
_config.editorConfig.canRequestMailMergeRecipients = _config.events && !!_config.events.onRequestMailMergeRecipients;
|
||||
_config.editorConfig.canRequestCompareFile = _config.events && !!_config.events.onRequestCompareFile;
|
||||
_config.editorConfig.canRequestSharingSettings = _config.events && !!_config.events.onRequestSharingSettings;
|
||||
_config.editorConfig.canRequestCreateNew = _config.events && !!_config.events.onRequestCreateNew;
|
||||
_config.frameEditorId = placeholderId;
|
||||
_config.parentOrigin = window.location.origin;
|
||||
|
||||
|
|
|
@ -322,6 +322,10 @@ if (Common === undefined) {
|
|||
_postMessage({event:'onRequestSharingSettings'});
|
||||
},
|
||||
|
||||
requestCreateNew: function () {
|
||||
_postMessage({event:'onRequestCreateNew'});
|
||||
},
|
||||
|
||||
on: function(event, handler){
|
||||
var localHandler = function(event, data){
|
||||
handler.call(me, data)
|
||||
|
|
|
@ -95,7 +95,7 @@ define([
|
|||
value : 'unchecked',
|
||||
|
||||
template : _.template('<label class="checkbox-indeterminate"><input id="<%= id %>" type="checkbox" class="checkbox__native">' +
|
||||
'<label for="<%= id %>" class="checkbox__shape" /><span><%= labelText %></span></label>'),
|
||||
'<label for="<%= id %>" class="checkbox__shape"></label><span><%= labelText %></span></label>'),
|
||||
|
||||
initialize : function(options) {
|
||||
Common.UI.BaseView.prototype.initialize.call(this, options);
|
||||
|
|
|
@ -76,7 +76,7 @@ define([
|
|||
'<li class="divider">',
|
||||
'<% _.each(items, function(item) { %>',
|
||||
'<li id="<%= item.id %>">',
|
||||
'<a class="font-item" tabindex="-1" type="menuitem" style="height:<%=scope.getListItemHeight()%>px;"/>',
|
||||
'<a class="font-item" tabindex="-1" type="menuitem" style="height:<%=scope.getListItemHeight()%>px;"></a>',
|
||||
'</li>',
|
||||
'<% }); %>',
|
||||
'</ul>',
|
||||
|
@ -380,7 +380,7 @@ define([
|
|||
onInsertItem: function(item) {
|
||||
$(this.el).find('ul').prepend(_.template([
|
||||
'<li id="<%= item.id %>">',
|
||||
'<a class="font-item" tabindex="-1" type="menuitem" style="height:<%=scope.getListItemHeight()%>px;"/>',
|
||||
'<a class="font-item" tabindex="-1" type="menuitem" style="height:<%=scope.getListItemHeight()%>px;"></a>',
|
||||
'</li>'
|
||||
].join(''))({
|
||||
item: item.attributes,
|
||||
|
|
|
@ -88,7 +88,7 @@ define([
|
|||
'placeholder="<%= placeHolder %>" ',
|
||||
'value="<%= value %>"',
|
||||
'>',
|
||||
'<span class="input-error"/>',
|
||||
'<span class="input-error"></span>',
|
||||
'</div>'
|
||||
].join('')),
|
||||
|
||||
|
@ -414,7 +414,7 @@ define([
|
|||
'placeholder="<%= placeHolder %>" ',
|
||||
'value="<%= value %>"',
|
||||
'>',
|
||||
'<span class="input-error"/>',
|
||||
'<span class="input-error"></span>',
|
||||
'<div class="select-button">' +
|
||||
'<button type="button" class="btn btn-toolbar"><i class="icon toolbar__icon <%= iconCls %>"></i></button>' +
|
||||
'</div>',
|
||||
|
|
|
@ -167,7 +167,7 @@ define([
|
|||
},
|
||||
|
||||
isVisible: function() {
|
||||
return !_.isEmpty(loaderEl);
|
||||
return !!ownerEl.ismasked;
|
||||
},
|
||||
|
||||
updatePosition: function() {
|
||||
|
|
|
@ -72,7 +72,7 @@ define([
|
|||
rendered : false,
|
||||
|
||||
template : _.template('<label class="radiobox"><input type="radio" name="<%= name %>" id="<%= id %>" class="button__radiobox">' +
|
||||
'<label for="<%= id %>" class="radiobox__shape" /><span><%= labelText %></span></label>'),
|
||||
'<label for="<%= id %>" class="radiobox__shape"></label><span><%= labelText %></span></label>'),
|
||||
|
||||
initialize : function(options) {
|
||||
Common.UI.BaseView.prototype.initialize.call(this, options);
|
||||
|
|
|
@ -128,7 +128,7 @@ define([
|
|||
},
|
||||
|
||||
textDontShow : 'Don\'t show this message again',
|
||||
textSynchronize : 'The document has been changed by another user.<br/>Please click to save your changes and reload the updates.'
|
||||
textSynchronize : 'The document has been changed by another user.<br>Please click to save your changes and reload the updates.'
|
||||
}
|
||||
})(), Common.UI.SynchronizeTip || {}));
|
||||
});
|
||||
|
|
|
@ -225,7 +225,7 @@ define([
|
|||
}
|
||||
}
|
||||
}
|
||||
!tab.disabled && Common.NotificationCenter.trigger('edit:complete', this.bar);
|
||||
!tab.disabled && Common.NotificationCenter.trigger('edit:complete', 'tab');
|
||||
}, this),
|
||||
dblclick: $.proxy(function() {
|
||||
this.trigger('tab:dblclick', this, this.tabs.indexOf(tab), tab);
|
||||
|
@ -311,7 +311,7 @@ define([
|
|||
},
|
||||
|
||||
tabs: [],
|
||||
template: _.template('<ul id="statusbar_bottom" class="nav nav-tabs <%= placement %>"/>'),
|
||||
template: _.template('<ul id="statusbar_bottom" class="nav nav-tabs <%= placement %>"></ul>'),
|
||||
selectTabs: [],
|
||||
|
||||
initialize : function (options) {
|
||||
|
|
|
@ -136,7 +136,8 @@
|
|||
var Common = {};
|
||||
|
||||
define([
|
||||
'common/main/lib/component/BaseView'
|
||||
'common/main/lib/component/BaseView',
|
||||
'common/main/lib/component/CheckBox'
|
||||
], function () {
|
||||
'use strict';
|
||||
|
||||
|
@ -439,12 +440,12 @@ define([
|
|||
if (!options.width) options.width = 'auto';
|
||||
|
||||
var template = '<div class="info-box">' +
|
||||
'<% if (typeof iconCls !== "undefined") { %><div class="icon img-commonctrl <%= iconCls %>" /><% } %>' +
|
||||
'<% if (typeof iconCls !== "undefined") { %><div class="icon img-commonctrl <%= iconCls %>"></div><% } %>' +
|
||||
'<div class="text" <% if (typeof iconCls == "undefined") { %> style="padding-left:10px;" <% } %>><span><%= msg %></span>' +
|
||||
'<% if (dontshow) { %><div class="dont-show-checkbox"></div><% } %>' +
|
||||
'</div>' +
|
||||
'</div>' +
|
||||
'<% if (dontshow) { %><div class="separator horizontal" style="width: 100%;"/><% } %>';
|
||||
'<% if (dontshow) { %><div class="separator horizontal" style="width: 100%;"></div><% } %>';
|
||||
|
||||
_.extend(options, {
|
||||
cls: 'alert',
|
||||
|
|
|
@ -276,7 +276,7 @@ define([
|
|||
} else
|
||||
if ( opts == 'create:new' ) {
|
||||
if (config.createUrl == 'desktop://create.new') {
|
||||
native.LocalFileCreate(!!window.SSE ? 2 : !!window.PE ? 1 : 0);
|
||||
native.execCommand("create:new", !!window.SSE ? 'cell' : !!window.PE ? 'slide' : 'word');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -151,15 +151,17 @@ define([
|
|||
setApi: function(api) {
|
||||
this.api = api;
|
||||
|
||||
this.api.asc_registerCallback("asc_onPluginShow", _.bind(this.onPluginShow, this));
|
||||
this.api.asc_registerCallback("asc_onPluginClose", _.bind(this.onPluginClose, this));
|
||||
this.api.asc_registerCallback("asc_onPluginResize", _.bind(this.onPluginResize, this));
|
||||
this.api.asc_registerCallback("asc_onPluginMouseUp", _.bind(this.onPluginMouseUp, this));
|
||||
this.api.asc_registerCallback("asc_onPluginMouseMove", _.bind(this.onPluginMouseMove, this));
|
||||
this.api.asc_registerCallback('asc_onPluginsReset', _.bind(this.resetPluginsList, this));
|
||||
this.api.asc_registerCallback('asc_onPluginsInit', _.bind(this.onPluginsInit, this));
|
||||
if (!this.appOptions.customization || (this.appOptions.customization.plugins!==false)) {
|
||||
this.api.asc_registerCallback("asc_onPluginShow", _.bind(this.onPluginShow, this));
|
||||
this.api.asc_registerCallback("asc_onPluginClose", _.bind(this.onPluginClose, this));
|
||||
this.api.asc_registerCallback("asc_onPluginResize", _.bind(this.onPluginResize, this));
|
||||
this.api.asc_registerCallback("asc_onPluginMouseUp", _.bind(this.onPluginMouseUp, this));
|
||||
this.api.asc_registerCallback("asc_onPluginMouseMove", _.bind(this.onPluginMouseMove, this));
|
||||
this.api.asc_registerCallback('asc_onPluginsReset', _.bind(this.resetPluginsList, this));
|
||||
this.api.asc_registerCallback('asc_onPluginsInit', _.bind(this.onPluginsInit, this));
|
||||
|
||||
this.loadPlugins();
|
||||
this.loadPlugins();
|
||||
}
|
||||
return this;
|
||||
},
|
||||
|
||||
|
|
|
@ -941,8 +941,8 @@ define([
|
|||
textChart: 'Chart',
|
||||
textShape: 'Shape',
|
||||
textTableChanged: '<b>Table Settings Changed</b>',
|
||||
textTableRowsAdd: '<b>Table Rows Added<b/>',
|
||||
textTableRowsDel: '<b>Table Rows Deleted<b/>',
|
||||
textTableRowsAdd: '<b>Table Rows Added</b>',
|
||||
textTableRowsDel: '<b>Table Rows Deleted</b>',
|
||||
textParaMoveTo: '<b>Moved:</b>',
|
||||
textParaMoveFromUp: '<b>Moved Up:</b>',
|
||||
textParaMoveFromDown: '<b>Moved Down:</b>',
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<div id="comments-box" class="layout-ct vbox">
|
||||
<div class="layout-item messages-ct"/>
|
||||
<div class="layout-item messages-ct"></div>
|
||||
<div class="layout-item add-link-ct">
|
||||
<label class="btn new"><%=textAddCommentToDoc%></label>
|
||||
</div>
|
||||
<div style="display: none;" class="layout-item new-comment-ct">
|
||||
<div class="inner-ct">
|
||||
<textarea id="comment-msg-new" class="user-select textarea-control" placeholder="<%=textEnterCommentHint%>" maxlength="<%=maxCommLength%>"/>
|
||||
<textarea id="comment-msg-new" class="user-select textarea-control" placeholder="<%=textEnterCommentHint%>" maxlength="<%=maxCommLength%>"></textarea>
|
||||
</div>
|
||||
<button class="btn add normal dlg-btn primary"><%=textAddComment%></button>
|
||||
<button class="btn cancel normal dlg-btn"><%=textCancel%></button>
|
||||
|
|
|
@ -105,7 +105,8 @@ Common.Utils = _.extend(new(function() {
|
|||
MailMerge : 8,
|
||||
Signature : 9,
|
||||
Pivot : 10,
|
||||
Cell : 11
|
||||
Cell : 11,
|
||||
Slicer : 12
|
||||
},
|
||||
importTextType = {
|
||||
DRM: 0,
|
||||
|
|
|
@ -97,7 +97,7 @@ define([
|
|||
'</table>',
|
||||
'<table id="id-about-licensee-info" cols="1" style="width: 100%; margin-top: 20px;" class="hidden margin-bottom"><tbody>',
|
||||
'<tr>',
|
||||
'<td align="center" class="padding-small"><div id="id-about-company-logo"/></td>',
|
||||
'<td align="center" class="padding-small"><div id="id-about-company-logo"></div></td>',
|
||||
'</tr>',
|
||||
'<tr>',
|
||||
'<td align="center"><label class="asc-about-version">' + options.appName.toUpperCase() + '</label></td>',
|
||||
|
@ -135,9 +135,9 @@ define([
|
|||
'</table>',
|
||||
'<table id="id-about-licensor-short" cols="1" style="width: 100%; margin-top: 31px;" class="hidden"><tbody>',
|
||||
'<tr>',
|
||||
'<td style="width:50%;"><div class="separator horizontal short left"/></td>',
|
||||
'<td style="width:50%;"><div class="separator horizontal short left"></div></td>',
|
||||
'<td align="center"><label class="asc-about-header">' + this.txtPoweredBy + '</label></td>',
|
||||
'<td style="width:50%;"><div class="separator horizontal short"/></td>',
|
||||
'<td style="width:50%;"><div class="separator horizontal short"></div></td>',
|
||||
'</tr>',
|
||||
'<tr>',
|
||||
'<td colspan="3" align="center" style="padding: 9px 0 10px;"><label class="asc-about-companyname"><%= publishername %></label></td>',
|
||||
|
|
|
@ -62,10 +62,10 @@ define([
|
|||
'<button class="btn btn-category" content-target="<%= item.panelId %>"><span class=""><%= item.panelCaption %></span></button>',
|
||||
'<% }); %>',
|
||||
'</div>',
|
||||
'<div class="separator"/>',
|
||||
'<div class="separator"></div>',
|
||||
'<div class="content-panel" >' + _options.contentTemplate + '</div>',
|
||||
'</div>',
|
||||
'<div class="separator horizontal"/>'
|
||||
'<div class="separator horizontal"></div>'
|
||||
].join('');
|
||||
|
||||
_options.tpl = _.template(this.template)(_options);
|
||||
|
|
|
@ -79,7 +79,7 @@ define([
|
|||
'</div>',
|
||||
'<div id="copy-warning-checkbox" style="margin-top: 20px; text-align: left;"></div>',
|
||||
'</div>',
|
||||
'<div class="separator horizontal"/>'
|
||||
'<div class="separator horizontal"></div>'
|
||||
].join('');
|
||||
|
||||
this.options.tpl = _.template(this.template)(this.options);
|
||||
|
|
|
@ -60,7 +60,7 @@ define([
|
|||
'<div id="id-diagram-editor-container" class="box" style="height:' + (_options.height-85) + 'px;">',
|
||||
'<div id="id-diagram-editor-placeholder" style="width: 100%;height: 100%;"></div>',
|
||||
'</div>',
|
||||
'<div class="separator horizontal"/>',
|
||||
'<div class="separator horizontal"></div>',
|
||||
'<div class="footer" style="text-align: center;">',
|
||||
'<button id="id-btn-diagram-editor-apply" class="btn normal dlg-btn primary custom" result="ok">' + this.textSave + '</button>',
|
||||
'<button id="id-btn-diagram-editor-cancel" class="btn normal dlg-btn" result="cancel">' + this.textClose + '</button>',
|
||||
|
|
|
@ -59,7 +59,7 @@ define([
|
|||
'<div id="id-merge-editor-container" class="box" style="height:' + (_options.height-85) + 'px;">',
|
||||
'<div id="id-merge-editor-placeholder" style="width: 100%;height: 100%;"></div>',
|
||||
'</div>',
|
||||
'<div class="separator horizontal"/>',
|
||||
'<div class="separator horizontal"></div>',
|
||||
'<div class="footer" style="text-align: center;">',
|
||||
'<button id="id-btn-merge-editor-apply" class="btn normal dlg-btn primary custom" result="ok">' + this.textSave + '</button>',
|
||||
'<button id="id-btn-merge-editor-cancel" class="btn normal dlg-btn disabled" result="cancel">' + this.textClose + '</button>',
|
||||
|
|
|
@ -104,7 +104,7 @@ define([
|
|||
'</section>';
|
||||
|
||||
var templateLeftBox = '<section class="logo">' +
|
||||
'<div id="header-logo"><i /></div>' +
|
||||
'<div id="header-logo"><i></i></div>' +
|
||||
'</section>';
|
||||
|
||||
var templateTitleBox = '<section id="box-document-title">' +
|
||||
|
|
|
@ -84,7 +84,7 @@ define([
|
|||
'<% if (type == Common.Utils.importTextType.DRM) { %>',
|
||||
'<% if (warning) { %>',
|
||||
'<div>',
|
||||
'<div class="icon img-commonctrl warn"/>',
|
||||
'<div class="icon img-commonctrl warn"></div>',
|
||||
'<div style="padding-left: 50px;"><div style="font-size: 12px;">' + t.txtProtected+ '</div>',
|
||||
'<label class="header" style="margin-top: 15px;">' + t.txtPassword + '</label>',
|
||||
'<div id="id-password-txt" style="width: 290px;"></div></div>',
|
||||
|
|
|
@ -365,7 +365,7 @@ define([
|
|||
'<div id="id-plugin-placeholder" style="width: 100%;height: 100%;"></div>',
|
||||
'</div>',
|
||||
'<% if ((typeof buttons !== "undefined") && _.size(buttons) > 0) { %>',
|
||||
'<div class="separator horizontal"/>',
|
||||
'<div class="separator horizontal"></div>',
|
||||
'<% } %>'
|
||||
].join('');
|
||||
|
||||
|
|
|
@ -61,12 +61,12 @@ define([
|
|||
'<span id="slot-btn-sharing" class="btn-slot text x-huge"></span>' +
|
||||
'<span id="slot-btn-coauthmode" class="btn-slot text x-huge"></span>' +
|
||||
'</div>' +
|
||||
'<div class="separator long sharing"/>' +
|
||||
'<div class="separator long sharing"></div>' +
|
||||
'<div class="group">' +
|
||||
'<span class="btn-slot text x-huge slot-comment"></span>' +
|
||||
'<span class="btn-slot text x-huge" id="slot-comment-remove"></span>' +
|
||||
'</div>' +
|
||||
'<div class="separator long comments"/>' +
|
||||
'<div class="separator long comments"></div>' +
|
||||
'<div class="group">' +
|
||||
'<span id="btn-review-on" class="btn-slot text x-huge"></span>' +
|
||||
'</div>' +
|
||||
|
@ -79,15 +79,15 @@ define([
|
|||
'<span id="btn-change-accept" class="btn-slot text x-huge"></span>' +
|
||||
'<span id="btn-change-reject" class="btn-slot text x-huge"></span>' +
|
||||
'</div>' +
|
||||
'<div class="separator long review"/>' +
|
||||
'<div class="separator long review"></div>' +
|
||||
'<div class="group">' +
|
||||
'<span id="btn-compare" class="btn-slot text x-huge"></span>' +
|
||||
'</div>' +
|
||||
'<div class="separator long compare"/>' +
|
||||
'<div class="separator long compare"></div>' +
|
||||
'<div class="group no-group-mask">' +
|
||||
'<span id="slot-btn-chat" class="btn-slot text x-huge"></span>' +
|
||||
'</div>' +
|
||||
'<div class="separator long chat"/>' +
|
||||
'<div class="separator long chat"></div>' +
|
||||
'<div class="group no-group-mask">' +
|
||||
'<span id="slot-btn-history" class="btn-slot text x-huge"></span>' +
|
||||
'</div>' +
|
||||
|
|
|
@ -96,12 +96,12 @@
|
|||
'<label class="link" id="search-label-replace" result="replaceshow">'+this.txtBtnReplace+'</label>',
|
||||
'</div>',
|
||||
'</div>',
|
||||
'<div class="separator horizontal"/>',
|
||||
'<div class="separator horizontal"></div>',
|
||||
'<div class="footer right">',
|
||||
'<button class="btn normal dlg-btn" result="replace">'+this.txtBtnReplace+'</button>',
|
||||
'<button class="btn normal dlg-btn" result="replaceall" style="margin-left: 6px;">'+this.txtBtnReplaceAll+'</button>',
|
||||
'<button class="btn normal dlg-btn iconic" result="back"><span class="icon img-commonctrl back" /></button>',
|
||||
'<button class="btn normal dlg-btn iconic" result="next" style="margin-left: 6px;"><span class="icon img-commonctrl next" /></button>',
|
||||
'<button class="btn normal dlg-btn iconic" result="back"><span class="icon img-commonctrl back"></span></button>',
|
||||
'<button class="btn normal dlg-btn iconic" result="next" style="margin-left: 6px;"><span class="icon img-commonctrl next"></span></button>',
|
||||
'</div>'
|
||||
].join('');
|
||||
|
||||
|
|
14
apps/common/main/resources/img/doc-formats/jpg.svg
Normal file
|
@ -0,0 +1,14 @@
|
|||
<svg width="100" height="127" viewBox="0 0 100 127" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<symbol id="svg-format-jpg">
|
||||
<g>
|
||||
<path d="M95 22V118C95 118.796 94.6839 119.559 94.1213 120.121C93.5587 120.684 92.7956 121 92 121H8C7.20435 121 6.44129 120.684 5.87868 120.121C5.31607 119.559 5 118.796 5 118V7C5 6.20435 5.31607 5.44129 5.87868 4.87868C6.44129 4.31607 7.20435 4 8 4H77L95 22Z" fill="#7371D8"/>
|
||||
<g>
|
||||
<path d="M39.5801 115.52C39.1699 115.52 38.8125 115.477 38.5078 115.391V113.879C38.8203 113.957 39.1055 113.996 39.3633 113.996C39.7617 113.996 40.0469 113.871 40.2188 113.621C40.3906 113.375 40.4766 112.988 40.4766 112.461V104.434H42.293V112.449C42.293 113.449 42.0645 114.211 41.6074 114.734C41.1504 115.258 40.4746 115.52 39.5801 115.52Z" fill="white"/>
|
||||
<path d="M46.2656 108.465H46.8633C47.4219 108.465 47.8398 108.355 48.1172 108.137C48.3945 107.914 48.5332 107.592 48.5332 107.17C48.5332 106.744 48.416 106.43 48.1816 106.227C47.9512 106.023 47.5879 105.922 47.0918 105.922H46.2656V108.465ZM50.3672 107.105C50.3672 108.027 50.0781 108.732 49.5 109.221C48.9258 109.709 48.1074 109.953 47.0449 109.953H46.2656V113H44.4492V104.434H47.1855C48.2246 104.434 49.0137 104.658 49.5527 105.107C50.0957 105.553 50.3672 106.219 50.3672 107.105Z" fill="white"/>
|
||||
<path d="M55.2363 108.189H58.6348V112.631C58.084 112.811 57.5645 112.936 57.0762 113.006C56.5918 113.08 56.0957 113.117 55.5879 113.117C54.2949 113.117 53.3066 112.738 52.623 111.98C51.9434 111.219 51.6035 110.127 51.6035 108.705C51.6035 107.322 51.998 106.244 52.7871 105.471C53.5801 104.697 54.6777 104.311 56.0801 104.311C56.959 104.311 57.8066 104.486 58.623 104.838L58.0195 106.291C57.3945 105.979 56.7441 105.822 56.0684 105.822C55.2832 105.822 54.6543 106.086 54.1816 106.613C53.709 107.141 53.4727 107.85 53.4727 108.74C53.4727 109.67 53.6621 110.381 54.041 110.873C54.4238 111.361 54.9785 111.605 55.7051 111.605C56.084 111.605 56.4688 111.566 56.8594 111.488V109.701H55.2363V108.189Z" fill="white"/>
|
||||
</g>
|
||||
<path d="M56 51.869L73.183 79H27.7869L39.5 59.912L44.274 67.6919L45.113 69.059L45.9712 67.7039L56 51.869ZM36 51.5C36 53.9853 33.9853 56 31.5 56C29.0147 56 27 53.9853 27 51.5C27 49.0147 29.0147 47 31.5 47C33.9853 47 36 49.0147 36 51.5Z" fill="white" stroke="white" stroke-width="2"/>
|
||||
<path opacity="0.2" d="M95 22H80C79.2044 22 78.4413 21.6839 77.8787 21.1213C77.3161 20.5587 77 19.7956 77 19V4L95 22Z" fill="black"/>
|
||||
</g>
|
||||
</symbol>
|
||||
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
14
apps/common/main/resources/img/doc-formats/png.svg
Normal file
|
@ -0,0 +1,14 @@
|
|||
<svg width="100" height="127" viewBox="0 0 100 127" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<symbol id="svg-format-png">
|
||||
<g>
|
||||
<path d="M95 23V119C95 119.796 94.6839 120.559 94.1213 121.121C93.5587 121.684 92.7956 122 92 122H8C7.20435 122 6.44129 121.684 5.87868 121.121C5.31607 120.559 5 119.796 5 119V8C5 7.20435 5.31607 6.44129 5.87868 5.87868C6.44129 5.31607 7.20435 5 8 5H77L95 23Z" fill="#D871D6"/>
|
||||
<g>
|
||||
<path d="M39.8984 109.465H40.4961C41.0547 109.465 41.4727 109.355 41.75 109.137C42.0273 108.914 42.166 108.592 42.166 108.17C42.166 107.744 42.0488 107.43 41.8145 107.227C41.584 107.023 41.2207 106.922 40.7246 106.922H39.8984V109.465ZM44 108.105C44 109.027 43.7109 109.732 43.1328 110.221C42.5586 110.709 41.7402 110.953 40.6777 110.953H39.8984V114H38.082V105.434H40.8184C41.8574 105.434 42.6465 105.658 43.1855 106.107C43.7285 106.553 44 107.219 44 108.105Z" fill="white"/>
|
||||
<path d="M53.2168 114H50.9082L47.1816 107.52H47.1289C47.2031 108.664 47.2402 109.48 47.2402 109.969V114H45.6172V105.434H47.9082L51.6289 111.85H51.6699C51.6113 110.736 51.582 109.949 51.582 109.488V105.434H53.2168V114Z" fill="white"/>
|
||||
<path d="M58.6309 109.189H62.0293V113.631C61.4785 113.811 60.959 113.936 60.4707 114.006C59.9863 114.08 59.4902 114.117 58.9824 114.117C57.6895 114.117 56.7012 113.738 56.0176 112.98C55.3379 112.219 54.998 111.127 54.998 109.705C54.998 108.322 55.3926 107.244 56.1816 106.471C56.9746 105.697 58.0723 105.311 59.4746 105.311C60.3535 105.311 61.2012 105.486 62.0176 105.838L61.4141 107.291C60.7891 106.979 60.1387 106.822 59.4629 106.822C58.6777 106.822 58.0488 107.086 57.5762 107.613C57.1035 108.141 56.8672 108.85 56.8672 109.74C56.8672 110.67 57.0566 111.381 57.4355 111.873C57.8184 112.361 58.373 112.605 59.0996 112.605C59.4785 112.605 59.8633 112.566 60.2539 112.488V110.701H58.6309V109.189Z" fill="white"/>
|
||||
</g>
|
||||
<path d="M56 51.869L73.183 79H27.7869L39.5 59.912L44.274 67.6919L45.113 69.059L45.9712 67.7039L56 51.869ZM36 51.5C36 53.9853 33.9853 56 31.5 56C29.0147 56 27 53.9853 27 51.5C27 49.0147 29.0147 47 31.5 47C33.9853 47 36 49.0147 36 51.5Z" fill="white" stroke="white" stroke-width="2"/>
|
||||
<path opacity="0.2" d="M95 23H80C79.2044 23 78.4413 22.6839 77.8787 22.1213C77.3161 21.5587 77 20.7956 77 20V5L95 23Z" fill="black"/>
|
||||
</g>
|
||||
</symbol>
|
||||
</svg>
|
After Width: | Height: | Size: 2.2 KiB |
14
apps/common/main/resources/img/doc-formats/svg.svg
Normal file
|
@ -0,0 +1,14 @@
|
|||
<svg width="100" height="127" viewBox="0 0 100 127" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<symbol id="svg-format-svg">
|
||||
<g>
|
||||
<path d="M95 23V119C95 119.796 94.6839 120.559 94.1213 121.121C93.5587 121.684 92.7956 122 92 122H8C7.20435 122 6.44129 121.684 5.87868 121.121C5.31607 120.559 5 119.796 5 119V8C5 7.20435 5.31607 6.44129 5.87868 5.87868C6.44129 5.31607 7.20435 5 8 5H77L95 23Z" fill="#507C8B"/>
|
||||
<g>
|
||||
<path d="M44.5801 111.621C44.5801 112.395 44.3008 113.004 43.7422 113.449C43.1875 113.895 42.4141 114.117 41.4219 114.117C40.5078 114.117 39.6992 113.945 38.9961 113.602V111.914C39.5742 112.172 40.0625 112.354 40.4609 112.459C40.8633 112.564 41.2305 112.617 41.5625 112.617C41.9609 112.617 42.2656 112.541 42.4766 112.389C42.6914 112.236 42.7988 112.01 42.7988 111.709C42.7988 111.541 42.752 111.393 42.6582 111.264C42.5645 111.131 42.4258 111.004 42.2422 110.883C42.0625 110.762 41.6934 110.568 41.1348 110.303C40.6113 110.057 40.2188 109.82 39.957 109.594C39.6953 109.367 39.4863 109.104 39.3301 108.803C39.1738 108.502 39.0957 108.15 39.0957 107.748C39.0957 106.99 39.3516 106.395 39.8633 105.961C40.3789 105.527 41.0898 105.311 41.9961 105.311C42.4414 105.311 42.8652 105.363 43.2676 105.469C43.6738 105.574 44.0977 105.723 44.5391 105.914L43.9531 107.326C43.4961 107.139 43.1172 107.008 42.8164 106.934C42.5195 106.859 42.2266 106.822 41.9375 106.822C41.5938 106.822 41.3301 106.902 41.1465 107.062C40.9629 107.223 40.8711 107.432 40.8711 107.689C40.8711 107.85 40.9082 107.99 40.9824 108.111C41.0566 108.229 41.1738 108.344 41.334 108.457C41.498 108.566 41.8828 108.766 42.4883 109.055C43.2891 109.438 43.8379 109.822 44.1348 110.209C44.4316 110.592 44.5801 111.062 44.5801 111.621Z" fill="white"/>
|
||||
<path d="M51.0195 105.434H52.8535L49.9414 114H47.9609L45.0547 105.434H46.8887L48.5 110.531C48.5898 110.832 48.6816 111.184 48.7754 111.586C48.873 111.984 48.9336 112.262 48.957 112.418C49 112.059 49.1465 111.43 49.3965 110.531L51.0195 105.434Z" fill="white"/>
|
||||
<path d="M57.1895 109.189H60.5879V113.631C60.0371 113.811 59.5176 113.936 59.0293 114.006C58.5449 114.08 58.0488 114.117 57.541 114.117C56.248 114.117 55.2598 113.738 54.5762 112.98C53.8965 112.219 53.5566 111.127 53.5566 109.705C53.5566 108.322 53.9512 107.244 54.7402 106.471C55.5332 105.697 56.6309 105.311 58.0332 105.311C58.9121 105.311 59.7598 105.486 60.5762 105.838L59.9727 107.291C59.3477 106.979 58.6973 106.822 58.0215 106.822C57.2363 106.822 56.6074 107.086 56.1348 107.613C55.6621 108.141 55.4258 108.85 55.4258 109.74C55.4258 110.67 55.6152 111.381 55.9941 111.873C56.377 112.361 56.9316 112.605 57.6582 112.605C58.0371 112.605 58.4219 112.566 58.8125 112.488V110.701H57.1895V109.189Z" fill="white"/>
|
||||
</g>
|
||||
<path d="M51 58.917C53.8377 58.441 56 55.973 56 53C56 49.6863 53.3137 47 50 47C46.6863 47 44 49.6863 44 53C44 55.973 46.1623 58.441 49 58.917V71.5858L39.8908 62.4765C40.5892 61.4957 41 60.2958 41 59C41 55.6863 38.3137 53 35 53C31.6863 53 29 55.6863 29 59C29 62.3137 31.6863 65 35 65C36.2958 65 37.4957 64.5892 38.4766 63.8907L48.5858 74H36.917C36.441 71.1623 33.973 69 31 69C27.6863 69 25 71.6863 25 75C25 75.3407 25.0284 75.6748 25.083 76H74.917C74.9716 75.6748 75 75.3407 75 75C75 71.6863 72.3137 69 69 69C66.027 69 63.559 71.1623 63.083 74H51.5563L61.6071 63.9492C62.5721 64.6121 63.7408 65 65 65C68.3137 65 71 62.3137 71 59C71 55.6863 68.3137 53 65 53C61.6863 53 59 55.6863 59 59C59 60.3323 59.4343 61.5633 60.169 62.5589L51 71.7279V58.917Z" fill="white"/>
|
||||
<path opacity="0.2" d="M95 23H80C79.2044 23 78.4413 22.6839 77.8787 22.1213C77.3161 21.5587 77 20.7956 77 20V5L95 23Z" fill="black"/>
|
||||
</g>
|
||||
</symbol>
|
||||
</svg>
|
After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 333 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 127 B After Width: | Height: | Size: 127 B |
Before Width: | Height: | Size: 115 B After Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 127 B After Width: | Height: | Size: 127 B |
Before Width: | Height: | Size: 208 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 127 B |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 429 B After Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 337 B |
Before Width: | Height: | Size: 127 B After Width: | Height: | Size: 133 B |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 144 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 156 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 133 B After Width: | Height: | Size: 144 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 322 B |
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 212 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 279 B After Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 363 B |
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 841 B |
Before Width: | Height: | Size: 378 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 427 B |
Before Width: | Height: | Size: 116 B After Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 389 B |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 396 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 276 B |
Before Width: | Height: | Size: 448 B After Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 173 B |
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 340 B After Width: | Height: | Size: 396 B |
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 113 B |
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 956 B |
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 140 B After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 224 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 224 B |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 224 B |