Merge branch 'release/v7.1.0' into develop
This commit is contained in:
commit
ba66b2522f
|
@ -457,6 +457,7 @@ define([
|
|||
this.trigger('show:after', this, e);
|
||||
this.flushVisibleFontsTiles();
|
||||
this.updateVisibleFontsTiles(null, 0);
|
||||
Common.Utils.isGecko && this.scroller && this.scroller.update();
|
||||
} else {
|
||||
Common.UI.ComboBox.prototype.onAfterShowMenu.apply(this, arguments);
|
||||
}
|
||||
|
|
|
@ -195,7 +195,6 @@
|
|||
top: 0;
|
||||
left: 8px;
|
||||
width: 16px;
|
||||
.box-shadow(0 0 8px -1px rgba(0, 0, 0, 0.2));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -212,7 +211,6 @@
|
|||
top: 0;
|
||||
left: -8px;
|
||||
width: 16px;
|
||||
.box-shadow(0 4px 8px -1px rgba(0, 0, 0, 0.2));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -324,7 +322,6 @@
|
|||
&:before {
|
||||
top: -8px;
|
||||
left: -8px;
|
||||
.box-shadow(2px 2px 8px -1px rgba(0, 0, 0, 0.2));
|
||||
}
|
||||
&:after {
|
||||
top: -6px;
|
||||
|
@ -346,7 +343,6 @@
|
|||
&:before {
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
.box-shadow(0 0 8px -1px rgba(0, 0, 0, 0.2));
|
||||
}
|
||||
&:after {
|
||||
top: 6px;
|
||||
|
@ -368,7 +364,6 @@
|
|||
&:before {
|
||||
top: 8px;
|
||||
left: -8px;
|
||||
.box-shadow(0 0 8px -1px rgba(0, 0, 0, 0.2));
|
||||
}
|
||||
&:after {
|
||||
top: 6px;
|
||||
|
@ -412,8 +407,6 @@
|
|||
&:before {
|
||||
bottom: -7px;
|
||||
left: -7px;
|
||||
//width: 15px;
|
||||
.box-shadow(0 0 8px -1px rgba(0, 0, 0, 0.2));
|
||||
}
|
||||
&:after {
|
||||
top: -2px;
|
||||
|
@ -475,7 +468,6 @@
|
|||
-o-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
|
||||
.box-shadow(0 4px 8px -1px rgba(0, 0, 0, 0.2));
|
||||
border: @scaled-one-px-value-ie solid @background-notification-popover-ie;
|
||||
border: @scaled-one-px-value solid @background-notification-popover;
|
||||
}
|
||||
|
|
|
@ -105,6 +105,9 @@ class ContextMenuController extends Component {
|
|||
|
||||
onApiOpenContextMenu(x, y) {
|
||||
if ( !this.state.opened && $$('.dialog.modal-in, .popover.modal-in, .sheet-modal.modal-in, .popup.modal-in, #pe-preview, .add-comment-popup, .actions-modal.modal-in').length < 1) {
|
||||
const subNav = document.querySelector('.subnavbar');
|
||||
const rect = subNav.getBoundingClientRect();
|
||||
|
||||
this.setState({
|
||||
items: this.initMenuItems(),
|
||||
extraItems: this.initExtraItems()
|
||||
|
@ -112,8 +115,8 @@ class ContextMenuController extends Component {
|
|||
|
||||
if ( this.state.items.length > 0 ) {
|
||||
const api = Common.EditorApi.get();
|
||||
|
||||
this.$targetEl.css({left: `${x}px`, top: `${y}px`});
|
||||
|
||||
this.$targetEl.css({left: `${x}px`, top: y < rect.bottom ? `${rect.bottom}px` : `${y}px`});
|
||||
const popover = f7.popover.open(idContextMenuElement, idCntextMenuTargetElement);
|
||||
|
||||
if (Device.android)
|
||||
|
|
|
@ -58,7 +58,7 @@ const PageAbout = props => {
|
|||
{mailCustomer && mailCustomer.length ? (
|
||||
<p>
|
||||
<label>{_t.textEmail}:</label>
|
||||
<Link id="settings-about-email" className="external" target="_blank" href={"mailto:"+mailCustomer}>{mailCustomer}</Link>
|
||||
<Link id="settings-about-email" external={true} href={"mailto:"+mailCustomer}>{mailCustomer}</Link>
|
||||
</p>
|
||||
) : null}
|
||||
{urlCustomer && urlCustomer.length ? (
|
||||
|
@ -103,11 +103,11 @@ const PageAbout = props => {
|
|||
</p>
|
||||
<p>
|
||||
<label>{_t.textEmail}:</label>
|
||||
<a id="settings-about-email" className="external" href={`mailto:${__SUPPORT_EMAIL__}`}>{__SUPPORT_EMAIL__}</a>
|
||||
<Link id="settings-about-email" external={true} href={`mailto:${__SUPPORT_EMAIL__}`}>{__SUPPORT_EMAIL__}</Link>
|
||||
</p>
|
||||
<p>
|
||||
<label>{_t.textTel}:</label>
|
||||
<a id="settings-about-tel" className="external" href={`tel:${__PUBLISHER_PHONE__}`}>{__PUBLISHER_PHONE__}</a>
|
||||
<Link id="settings-about-tel" external={true} href={`tel:${__PUBLISHER_PHONE__}`}>{__PUBLISHER_PHONE__}</Link>
|
||||
</p>
|
||||
<p>
|
||||
<a id="settings-about-url" className="external" target="_blank" href={publisherUrl}>{publisherPrintUrl}</a>
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
.bullets,
|
||||
.numbers,
|
||||
.multilevels {
|
||||
.list {
|
||||
.row.list {
|
||||
margin: 0;
|
||||
ul {
|
||||
background: none;
|
||||
|
@ -183,12 +183,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.popover__titled .popover-inner{
|
||||
.popover {
|
||||
.list {
|
||||
ul {
|
||||
background-color: var(--f7-list-bg-color);
|
||||
li:first-child, li:last-child {
|
||||
a {
|
||||
.item-link {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
.active {
|
||||
.row.list:last-child li:not(.active):last-child::after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.row.list:last-child li.active:last-child, .active {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
||||
|
@ -24,8 +28,10 @@
|
|||
width: 22px;
|
||||
height: 22px;
|
||||
right: -5px;
|
||||
left: auto;
|
||||
bottom: -5px;
|
||||
.encoded-svg-background('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 22 22" fill="@{brandColor}"><g><circle fill="#fff" cx="11" cy="11" r="11"/><path d="M11,21A10,10,0,1,1,21,11,10,10,0,0,1,11,21h0ZM17.4,7.32L17.06,7a0.48,0.48,0,0,0-.67,0l-7,6.84L6.95,11.24a0.51,0.51,0,0,0-.59.08L6,11.66a0.58,0.58,0,0,0,0,.65l3.19,3.35a0.38,0.38,0,0,0,.39,0L17.4,8a0.48,0.48,0,0,0,0-.67h0Z"/></g></svg>');
|
||||
transform: none;
|
||||
.encoded-svg-mask('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 22 22" fill="none"><g><circle cx="11" cy="11" r="11"/><path fill="#fff" d="M11,21A10,10,0,1,1,21,11,10,10,0,0,1,11,21h0ZM17.4,7.32L17.06,7a0.48,0.48,0,0,0-.67,0l-7,6.84L6.95,11.24a0.51,0.51,0,0,0-.59.08L6,11.66a0.58,0.58,0,0,0,0,.65l3.19,3.35a0.38,0.38,0,0,0,.39,0L17.4,8a0.48,0.48,0,0,0,0-.67h0Z"/></g></svg>');
|
||||
}
|
||||
}
|
||||
}
|
|
@ -112,6 +112,12 @@ define([
|
|||
panelNavigation.viewNavigationList.on('item:add', _.bind(this.onItemAdd, this));
|
||||
panelNavigation.navigationMenu.on('item:click', _.bind(this.onMenuItemClick, this));
|
||||
panelNavigation.navigationMenu.items[11].menu.on('item:click', _.bind(this.onMenuLevelsItemClick, this));
|
||||
|
||||
var viewport = this.getApplication().getController('Viewport').getView('Viewport');
|
||||
viewport.hlayout.on('layout:resizedrag', function () {
|
||||
if (panelNavigation.viewNavigationList && panelNavigation.viewNavigationList.scroller)
|
||||
panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true});
|
||||
});
|
||||
},
|
||||
|
||||
updateNavigation: function() {
|
||||
|
|
|
@ -658,7 +658,9 @@ class MainController extends Component {
|
|||
const storeDocumentInfo = this.props.storeDocumentInfo;
|
||||
|
||||
this.api.asc_registerCallback("asc_onGetDocInfoStart", () => {
|
||||
storeDocumentInfo.switchIsLoaded(false);
|
||||
this.timerLoading = setTimeout(() => {
|
||||
storeDocumentInfo.switchIsLoaded(false);
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
this.api.asc_registerCallback("asc_onGetDocInfoStop", () => {
|
||||
|
@ -666,10 +668,20 @@ class MainController extends Component {
|
|||
});
|
||||
|
||||
this.api.asc_registerCallback("asc_onDocInfo", (obj) => {
|
||||
storeDocumentInfo.changeCount(obj);
|
||||
clearTimeout(this.timerLoading);
|
||||
|
||||
this.objectInfo = obj;
|
||||
if(!this.timerDocInfo) {
|
||||
this.timerDocInfo = setInterval(() => {
|
||||
storeDocumentInfo.changeCount(this.objectInfo);
|
||||
}, 300);
|
||||
storeDocumentInfo.changeCount(this.objectInfo);
|
||||
}
|
||||
});
|
||||
|
||||
this.api.asc_registerCallback('asc_onGetDocInfoEnd', () => {
|
||||
clearTimeout(this.timerLoading);
|
||||
clearInterval(this.timerDocInfo);
|
||||
storeDocumentInfo.switchIsLoaded(true);
|
||||
});
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
.ios {
|
||||
.view {
|
||||
.bullets-numbers{
|
||||
background: @brand-text-on-brand;
|
||||
}
|
||||
}
|
||||
|
||||
// Stepper
|
||||
.content-block.stepper-block {
|
||||
|
|
|
@ -20,7 +20,7 @@ export class storeDocumentInfo {
|
|||
symbolsWSCount: 0,
|
||||
};
|
||||
|
||||
isLoaded = false;
|
||||
isLoaded = true;
|
||||
dataDoc;
|
||||
|
||||
switchIsLoaded(value) {
|
||||
|
|
|
@ -13,11 +13,16 @@
|
|||
"PE.ApplicationController.errorDefaultMessage": "Kode kesalahan %1",
|
||||
"PE.ApplicationController.errorFilePassProtect": "File diproteksi kata sandi",
|
||||
"PE.ApplicationController.errorFileSizeExceed": "Ukuran file melebihi",
|
||||
"PE.ApplicationController.errorForceSave": "Ada kesalahan saat menyimpan file. Silakan gunakan opsi 'Download sebagai' untuk menyimpan file ke komputer Anda dan coba lagi.",
|
||||
"PE.ApplicationController.errorLoadingFont": "Font tidak bisa dimuat.<br>Silakan kontak admin Server Dokumen Anda.",
|
||||
"PE.ApplicationController.errorTokenExpire": "Token keamanan dokumen sudah kadaluwarsa.<br>Silakan hubungi admin Server Dokumen Anda.",
|
||||
"PE.ApplicationController.errorUpdateVersionOnDisconnect": "Hubungan internet telah",
|
||||
"PE.ApplicationController.errorUserDrop": "File tidak dapat di akses",
|
||||
"PE.ApplicationController.notcriticalErrorTitle": "Peringatan",
|
||||
"PE.ApplicationController.openErrorText": "Eror ketika membuka file.",
|
||||
"PE.ApplicationController.scriptLoadError": "Koneksi terlalu lambat,",
|
||||
"PE.ApplicationController.textAnonymous": "Anonim",
|
||||
"PE.ApplicationController.textGuest": "Tamu",
|
||||
"PE.ApplicationController.textLoadingDocument": "Memuat penyajian",
|
||||
"PE.ApplicationController.textOf": "Dari",
|
||||
"PE.ApplicationController.txtClose": "Tutup",
|
||||
|
@ -28,5 +33,6 @@
|
|||
"PE.ApplicationView.txtEmbed": "Melekatkan",
|
||||
"PE.ApplicationView.txtFileLocation": "Buka Dokumen",
|
||||
"PE.ApplicationView.txtFullScreen": "Layar penuh",
|
||||
"PE.ApplicationView.txtPrint": "Cetak",
|
||||
"PE.ApplicationView.txtShare": "Bagikan"
|
||||
}
|
|
@ -347,8 +347,11 @@ define([
|
|||
onFocusObject: function(selectedObjects) {
|
||||
this.AnimationProperties = null;
|
||||
for (var i = 0; i<selectedObjects.length; i++) {
|
||||
if (selectedObjects[i].get_ObjectType() == Asc.c_oAscTypeSelectElement.Animation) {
|
||||
var type = selectedObjects[i].get_ObjectType();
|
||||
if (type == Asc.c_oAscTypeSelectElement.Animation) {
|
||||
this.AnimationProperties = selectedObjects[i].get_ObjectValue();
|
||||
} else if (type==Asc.c_oAscTypeSelectElement.Slide) {
|
||||
this._state.timingLock = selectedObjects[i].get_ObjectValue().get_LockTiming();
|
||||
}
|
||||
}
|
||||
if (this._state.onactivetab)
|
||||
|
@ -548,6 +551,8 @@ define([
|
|||
this.lockToolbar(Common.enumLock.noAnimationRepeat, this._state.noAnimationRepeat);
|
||||
if (this._state.noAnimationDuration != undefined)
|
||||
this.lockToolbar(Common.enumLock.noAnimationDuration, this._state.noAnimationDuration);
|
||||
if (this._state.timingLock != undefined)
|
||||
this.lockToolbar(Common.enumLock.timingLock, this._state.timingLock);
|
||||
}
|
||||
|
||||
}, PE.Controllers.Animation || {}));
|
||||
|
|
|
@ -208,7 +208,7 @@ define([
|
|||
store: new Common.UI.DataViewStore(this._arrEffectName),
|
||||
additionalMenuItems: [{caption: '--'}, this.listEffectsMore],
|
||||
enableKeyEvents: true,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: '-16, 0',
|
||||
|
@ -242,7 +242,7 @@ define([
|
|||
caption: this.txtPreview,
|
||||
split: false,
|
||||
iconCls: 'toolbar__icon animation-preview-start',
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noAnimationPreview],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noAnimationPreview, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: 'small'
|
||||
|
@ -254,7 +254,7 @@ define([
|
|||
caption: this.txtParameters,
|
||||
iconCls: 'toolbar__icon icon animation-parameters',
|
||||
menu: new Common.UI.Menu({items: []}),
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationParam],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationParam, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: 'small'
|
||||
|
@ -266,7 +266,7 @@ define([
|
|||
caption: this.txtAnimationPane,
|
||||
split: true,
|
||||
iconCls: 'toolbar__icon transition-apply-all',
|
||||
lock: [_set.slideDeleted, _set.noSlides],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'left',
|
||||
dataHintOffset: 'medium'
|
||||
|
@ -278,7 +278,7 @@ define([
|
|||
caption: this.txtAddEffect,
|
||||
iconCls: 'toolbar__icon icon add-animation',
|
||||
menu: true,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: 'small'
|
||||
|
@ -299,7 +299,7 @@ define([
|
|||
{value: 1, displayValue: this.str1},
|
||||
{value: 0.5, displayValue: this.str0_5}
|
||||
],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationDuration],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationDuration, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'top',
|
||||
dataHintOffset: 'small'
|
||||
|
@ -310,7 +310,7 @@ define([
|
|||
el: this.$el.find('#animation-duration'),
|
||||
iconCls: 'toolbar__icon animation-duration',
|
||||
caption: this.strDuration,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationDuration]
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationDuration, _set.timingLock]
|
||||
});
|
||||
this.lockedControls.push(this.lblDuration);
|
||||
|
||||
|
@ -319,7 +319,7 @@ define([
|
|||
cls: 'btn-toolbar',
|
||||
iconCls: 'toolbar__icon btn-trigger',
|
||||
caption: this.strTrigger,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noTriggerObjects],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noTriggerObjects, _set.timingLock],
|
||||
menu : new Common.UI.Menu({
|
||||
items: [
|
||||
{
|
||||
|
@ -352,7 +352,7 @@ define([
|
|||
defaultUnit: this.txtSec,
|
||||
maxValue: 300,
|
||||
minValue: 0,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: 'big'
|
||||
|
@ -363,7 +363,7 @@ define([
|
|||
el: this.$el.find('#animation-delay'),
|
||||
iconCls: 'toolbar__icon animation-delay',
|
||||
caption: this.strDelay,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation]
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.timingLock]
|
||||
});
|
||||
this.lockedControls.push(this.lblDelay);
|
||||
|
||||
|
@ -371,7 +371,7 @@ define([
|
|||
cls: 'input-group-nr',
|
||||
menuStyle: 'min-width: 100%;',
|
||||
editable: false,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.timingLock],
|
||||
data: [
|
||||
{value: AscFormat.NODE_TYPE_CLICKEFFECT, displayValue: this.textStartOnClick},
|
||||
{value: AscFormat.NODE_TYPE_WITHEFFECT, displayValue: this.textStartWithPrevious},
|
||||
|
@ -387,14 +387,14 @@ define([
|
|||
el: this.$el.find('#animation-label-start'),
|
||||
iconCls: 'toolbar__icon btn-preview-start',
|
||||
caption: this.strStart,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation]
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.timingLock]
|
||||
});
|
||||
this.lockedControls.push(this.lblStart);
|
||||
|
||||
this.chRewind = new Common.UI.CheckBox({
|
||||
el: this.$el.find('#animation-checkbox-rewind'),
|
||||
labelText: this.strRewind,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'left',
|
||||
dataHintOffset: 'small'
|
||||
|
@ -406,7 +406,7 @@ define([
|
|||
cls: 'input-group-nr',
|
||||
menuStyle: 'min-width: 100%;',
|
||||
editable: true,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationRepeat],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationRepeat, _set.timingLock],
|
||||
data: [
|
||||
{value: 1, displayValue: this.textNoRepeat},
|
||||
{value: 2, displayValue: "2"},
|
||||
|
@ -427,7 +427,7 @@ define([
|
|||
el: this.$el.find('#animation-repeat'),
|
||||
iconCls: 'toolbar__icon animation-repeat',
|
||||
caption: this.strRepeat,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationRepeat]
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noAnimationRepeat, _set.timingLock]
|
||||
});
|
||||
this.lockedControls.push(this.lblRepeat);
|
||||
|
||||
|
@ -437,7 +437,7 @@ define([
|
|||
iconCls: 'toolbar__icon btn-arrow-up',
|
||||
style: 'min-width: 82px',
|
||||
caption: this.textMoveEarlier,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noTriggerObjects, _set.noMoveAnimationEarlier],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noTriggerObjects, _set.noMoveAnimationEarlier, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'left',
|
||||
dataHintOffset: 'medium'
|
||||
|
@ -450,7 +450,7 @@ define([
|
|||
iconCls: 'toolbar__icon btn-arrow-down',
|
||||
style: 'min-width: 82px',
|
||||
caption: this.textMoveLater,
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noTriggerObjects, _set.noMoveAnimationLater],
|
||||
lock: [_set.slideDeleted, _set.noSlides, _set.noGraphic, _set.noAnimation, _set.noTriggerObjects, _set.noMoveAnimationLater, _set.timingLock],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'left',
|
||||
dataHintOffset: 'medium'
|
||||
|
|
|
@ -98,7 +98,8 @@ define([
|
|||
noMoveAnimationLater: 'no-move-animation-later',
|
||||
noAnimationPreview: 'no-animation-preview',
|
||||
noAnimationRepeat: 'no-animation-repeat',
|
||||
noAnimationDuration: 'no-animation-duration'
|
||||
noAnimationDuration: 'no-animation-duration',
|
||||
timingLock: 'timing-lock'
|
||||
};
|
||||
for (var key in enumLock) {
|
||||
if (enumLock.hasOwnProperty(key)) {
|
||||
|
|
|
@ -13,10 +13,15 @@
|
|||
"SSE.ApplicationController.errorDefaultMessage": "Kode kesalahan %1",
|
||||
"SSE.ApplicationController.errorFilePassProtect": "Dokumen dilindungi dengan kata sandi dan tidak dapat dibuka.",
|
||||
"SSE.ApplicationController.errorFileSizeExceed": "Dokumen melebihi ukuran ",
|
||||
"SSE.ApplicationController.errorForceSave": "Ada kesalahan saat menyimpan file. Silakan gunakan opsi 'Download sebagai' untuk menyimpan file ke komputer Anda dan coba lagi.",
|
||||
"SSE.ApplicationController.errorLoadingFont": "Font tidak bisa dimuat.<br>Silakan kontak admin Server Dokumen Anda.",
|
||||
"SSE.ApplicationController.errorTokenExpire": "Token keamanan dokumen sudah kadaluwarsa.<br>Silakan hubungi admin Server Dokumen Anda.",
|
||||
"SSE.ApplicationController.errorUpdateVersionOnDisconnect": "Huhungan internet telah",
|
||||
"SSE.ApplicationController.errorUserDrop": "File tidak dapat di akses",
|
||||
"SSE.ApplicationController.notcriticalErrorTitle": "Peringatan",
|
||||
"SSE.ApplicationController.openErrorText": "Eror ketika membuka file.",
|
||||
"SSE.ApplicationController.scriptLoadError": "Hubungan terlalu lambat",
|
||||
"SSE.ApplicationController.textAnonymous": "Anonim",
|
||||
"SSE.ApplicationController.textGuest": "Tamu",
|
||||
"SSE.ApplicationController.textLoadingDocument": "Memuat spread sheet",
|
||||
"SSE.ApplicationController.textOf": "Dari",
|
||||
|
|
|
@ -115,6 +115,7 @@ define([
|
|||
this.api = o;
|
||||
this.api.asc_registerCallback('asc_onSheetsChanged', _.bind(this.updateSheetsInfo, this));
|
||||
this.api.asc_registerCallback('asc_onPrintPreviewSheetChanged', _.bind(this.onApiChangePreviewSheet, this));
|
||||
this.api.asc_registerCallback('asc_onUpdateDocumentProps', _.bind(this.updateDocumentProps, this));
|
||||
},
|
||||
|
||||
updateSheetsInfo: function() {
|
||||
|
@ -456,8 +457,8 @@ define([
|
|||
panel.spnMarginRight.on('change', _.bind(this.propertyChange, this, panel));
|
||||
panel.chPrintGrid.on('change', _.bind(this.propertyChange, this, panel));
|
||||
panel.chPrintRows.on('change', _.bind(this.propertyChange, this, panel));
|
||||
panel.txtRangeTop.on('changing', _.bind(this.propertyChange, this, panel));
|
||||
panel.txtRangeLeft.on('changing', _.bind(this.propertyChange, this, panel));
|
||||
panel.txtRangeTop.on('changed:after', _.bind(this.propertyChange, this, panel));
|
||||
panel.txtRangeLeft.on('changed:after', _.bind(this.propertyChange, this, panel));
|
||||
panel.txtRangeTop.on('button:click', _.bind(this.onPresetSelect, this, panel, 'top', panel.btnPresetsTop.menu, {value: 'select'}));
|
||||
panel.txtRangeLeft.on('button:click', _.bind(this.onPresetSelect, this, panel, 'left', panel.btnPresetsLeft.menu, {value: 'select'}));
|
||||
panel.btnPresetsTop.menu.on('item:click', _.bind(this.onPresetSelect, this, panel, 'top'));
|
||||
|
@ -521,7 +522,6 @@ define([
|
|||
fillComponents: function(panel, selectdata) {
|
||||
var me = this;
|
||||
panel.txtRangeTop.validation = function(value) {
|
||||
!me._noApply && me.propertyChange(panel);
|
||||
if (_.isEmpty(value)) {
|
||||
return true;
|
||||
}
|
||||
|
@ -531,7 +531,6 @@ define([
|
|||
selectdata && panel.txtRangeTop.updateBtnHint(this.textSelectRange);
|
||||
|
||||
panel.txtRangeLeft.validation = function(value) {
|
||||
!me._noApply && me.propertyChange(panel);
|
||||
if (_.isEmpty(value)) {
|
||||
return true;
|
||||
}
|
||||
|
@ -648,6 +647,8 @@ define([
|
|||
e.preventDefault();
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
this.printSettings.txtRangeTop.cmpEl.find('input:focus').blur();
|
||||
this.printSettings.txtRangeLeft.cmpEl.find('input:focus').blur();
|
||||
var forward = (e.deltaY || (e.detail && -e.detail) || e.wheelDelta) < 0;
|
||||
this.onChangePreviewPage(forward);
|
||||
},
|
||||
|
@ -748,6 +749,13 @@ define([
|
|||
this.printSettings.btnNextPage.setDisabled(curPage > pageCount - 2);
|
||||
},
|
||||
|
||||
updateDocumentProps: function (index) {
|
||||
if (this._isPreviewVisible) {
|
||||
this._changedProps[index] = this.api.asc_getPageOptions(index);
|
||||
this.updatePreview();
|
||||
}
|
||||
},
|
||||
|
||||
warnCheckMargings: 'Margins are incorrect',
|
||||
strAllSheets: 'All Sheets',
|
||||
textWarning: 'Warning',
|
||||
|
|
Loading…
Reference in a new issue