var link = this.duplicateLinkClick({width: 0, height: 0});
$(link).addClass('pendingCreate');
this.startResizeLink('se');
+ this.updateLinkForm();
},
startResizeLink: function (corner) {
},
stopResizeLink: function () {
+ if (this.resizeLinkPos === null) {
+ return;
+ }
var $this = this;
this.moveResizeLink();
$('.pendingCreate').each(function () {
$this.deleteLink($(this), true);
});
+ this.updateLinkForm();
this.resizeLinkPos = null;
},
},
stopDragLink: function () {
+ if (this.dragLinkPos === null) {
+ return;
+ }
this.moveDragLink();
this.dragLinkPos = null;
},
}
$(l).addClass('selected');
this.currentSelection.push(l);
+ this.updateLinkForm();
this.lastSelectedLink = l;
},
+ updateLinkForm: function () {
+ var container = $('#linkeditor-panel-form');
+ container.html('');
+ var links = $('.link.selected:not(.pendingCreate)');
+ if (links.length != 1) {
+ return;
+ }
+ console.log(links);
+ var link = $(links).eq(0);
+ var type = $(link).attr('fb-type');
+ var form = $("#linkeditor-form-template-" + type).clone();
+ $(form).attr('id', null);
+ container.append(form);
+ console.log(form);
+ },
+
checkLastSelectedLink: function () {
if (this.lastSelectedLink === null || $(this.lastSelectedLink).length === 0) {
return;
deselectAllLinks: function () {
this.currentSelection = [];
$(".link.selected").removeClass('selected');
+ this.updateLinkForm();
},
offsetSelectedLinks: function (dim, value) {
<div class="svg-sprite" style="height: 0;width: 0;position: absolute;" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><symbol id="linkeditor-save" viewBox="0 0 14 14"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m13.5 12.5a1 1 0 0 1 -1 1h-11a1 1 0 0 1 -1-1v-9l3-3h9a1 1 0 0 1 1 1z"/><path d="m3.5 8.5h7v5h-7z"/><path d="m4.5.5h6v4h-6z"/></g></symbol><symbol id="linkeditor-first-page" viewBox="0 0 14.941 18.664"><clipPath id="a"><path d="m0 0h18.664v10.883h-18.664z"/></clipPath><g clip-path="url(#a)" transform="matrix(0 -1 1 0 4.059 18.664)"><path d="m0 8.557 8.557-8.557 8.557 8.557" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="2" transform="translate(.775 1.551)"/></g><path d="m13.909 0h-13.909" fill="none" stroke="currentColor" stroke-width="2" transform="matrix(0 1 -1 0 1 2.377)"/></symbol><symbol id="linkeditor-last-page" viewBox="0 0 14.941 18.664"><clipPath id="a"><path d="m0 0h18.664v10.883h-18.664z"/></clipPath><g clip-path="url(#a)" transform="matrix(0 1 -1 0 10.882 0)"><path d="m0 8.557 8.557-8.557 8.557 8.557" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="2" transform="translate(.775 1.551)"/></g><path d="m13.909 0h-13.909" fill="none" stroke="currentColor" stroke-width="2" transform="matrix(0 -1 1 0 13.941 16.287)"/></symbol><symbol id="linkeditor-next-page" viewBox="0 0 10.883 18.664"><clipPath id="a"><path d="m0 0h18.664v10.883h-18.664z"/></clipPath><g clip-path="url(#a)" transform="matrix(0 1 -1 0 10.883 0)"><path d="m0 8.557 8.557-8.557 8.557 8.557" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="2" transform="translate(.775 1.551)"/></g></symbol><symbol id="linkeditor-previous-page" viewBox="0 0 10.883 18.664"><clipPath id="a"><path d="m0 0h18.664v10.883h-18.664z"/></clipPath><g clip-path="url(#a)" transform="matrix(0 -1 1 0 0 18.664)"><path d="m0 8.557 8.557-8.557 8.557 8.557" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="2" transform="translate(.775 1.551)"/></g></symbol><symbol id="linkeditor-landscape" viewBox="0 0 20 20"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m2.157.715h15.714a1.429 1.429 0 0 1 1.429 1.429v15.714a1.428 1.428 0 0 1 -1.428 1.428h-15.715a1.429 1.429 0 0 1 -1.429-1.429v-15.713a1.429 1.429 0 0 1 1.429-1.429z"/><circle cx="13.214" cy="6.786" r="2.5"/><path d="m13.429 19.286a10.513 10.513 0 0 0 -10.571-8.571 11.247 11.247 0 0 0 -2.143.2"/><path d="m19.286 14.157a11.151 11.151 0 0 0 -3.571-.586 11.271 11.271 0 0 0 -4.472.915"/></g></symbol><symbol id="linkeditor-settings" viewBox="0 0 20 20"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><circle cx="2.857" cy="2.857" r="2.143"/><path d="m0 0h14.286" transform="translate(5 2.857)"/><circle cx="10" cy="10" r="2.143"/><path d="m0 0h7.143" transform="translate(.714 10)"/><path d="m0 0h7.143" transform="translate(12.143 10)"/><circle cx="17.143" cy="17.143" r="2.143"/><path d="m14.286 0h-14.286" transform="translate(.714 17.143)"/></g></symbol><symbol id="linkeditor-zoom-reset" viewBox="0 0 17.143 20">
<g id="Groupe_71" data-name="Groupe 71">
- <path id="Tracé_31" data-name="Tracé 31" d="M16.429,17.857A1.429,1.429,0,0,1,15,19.286H2.143A1.428,1.428,0,0,1,.715,17.857V2.143A1.428,1.428,0,0,1,2.143.714H9.286l7.143,7.143Z" fill="rgba(93,93,93,0)" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"/>
- <path id="Tracé_32" data-name="Tracé 32" d="M9.286.714V7.857h7.143" fill="rgba(93,93,93,0)" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"/>
- <path id="Tracé_33" data-name="Tracé 33" d="M5.715,16.151V11.043L4.029,12.728" fill="rgba(93,93,93,0)" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"/>
- <path id="Tracé_34" data-name="Tracé 34" d="M12.622,16.151V11.043l-1.686,1.685" fill="rgba(93,93,93,0)" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"/>
+ <path id="Tracé_31" data-name="Tracé 31" d="M16.429,17.857A1.429,1.429,0,0,1,15,19.286H2.143A1.428,1.428,0,0,1,.715,17.857V2.143A1.428,1.428,0,0,1,2.143.714H9.286l7.143,7.143Z" fill="transparent" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"/>
+ <path id="Tracé_32" data-name="Tracé 32" d="M9.286.714V7.857h7.143" fill="transparent" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"/>
+ <path id="Tracé_33" data-name="Tracé 33" d="M5.715,16.151V11.043L4.029,12.728" fill="transparent" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"/>
+ <path id="Tracé_34" data-name="Tracé 34" d="M12.622,16.151V11.043l-1.686,1.685" fill="transparent" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"/>
<path id="Tracé_35" data-name="Tracé 35" d="M9.286,12.436a.658.658,0,1,1-.658-.658.659.659,0,0,1,.658.658" fill="currentColor"/>
<path id="Tracé_36" data-name="Tracé 36" d="M9.286,15.1a.658.658,0,1,1-.658-.658.659.659,0,0,1,.658.658" fill="currentColor"/>
</g>
- </symbol><symbol id="linkeditor-wayback-machine" viewBox="0 0 20 20"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m.714 10a9.285 9.285 0 1 0 9.286-9.286 10.331 10.331 0 0 0 -7.143 2.857"/><path d="m3.571.714-.714 2.857 2.857.714"/><path d="m10 5v5.714l-3.714 1.857"/></g></symbol><symbol id="linkeditor-tooltip" viewBox="0 0 21.667 17.846"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m0 0h20.238" transform="translate(.715 17.131)"/><path d="m13.463 11.9-2.63 2.63-2.633-2.63h-2.958a1.316 1.316 0 0 1 -1.316-1.316v-8.554a1.316 1.316 0 0 1 1.316-1.316h11.183a1.316 1.316 0 0 1 1.316 1.316v8.552a1.316 1.316 0 0 1 -1.316 1.318z"/></g></symbol><symbol id="linkeditor-search" viewBox="0 0 20.322 16.684"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m17.571 11.417a.4.4 0 1 0 .211-.763l-7.81-5.354a.791.791 0 0 0 -1.237.7l.61 9.473a.4.4 0 1 0 .762.211l2.722-3.893z"/><path d="m8.029 7.509h-6.42a.894.894 0 0 1 -.894-.894v-5.007a.894.894 0 0 1 .894-.894h17.105a.894.894 0 0 1 .894.894v5.007a.894.894 0 0 1 -.894.894h-5.314"/></g></symbol><symbol id="linkeditor-archives" viewBox="0 0 19.851 20"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m.714 0h3.571a.715.715 0 0 1 .715.715v17.142a.714.714 0 0 1 -.714.714h-3.572a.714.714 0 0 1 -.714-.714v-17.143a.714.714 0 0 1 .714-.714z" transform="translate(.715 .714)"/><path d="m.714 0h3.571a.715.715 0 0 1 .715.715v14.285a.714.714 0 0 1 -.714.714h-3.572a.714.714 0 0 1 -.714-.714v-14.286a.714.714 0 0 1 .714-.714z" transform="translate(5.715 3.571)"/><path d="m.714 0h2.857a.715.715 0 0 1 .715.715v14.285a.714.714 0 0 1 -.714.714h-2.858a.714.714 0 0 1 -.714-.714v-14.286a.714.714 0 0 1 .714-.714z" transform="matrix(.97005881 -.24287013 .24287013 .97005881 11.315 4.048)"/><path d="m0 0h5" transform="translate(.714 14.286)"/><path d="m0 0h5" transform="translate(5.714 12.857)"/><path d="m0 1.029 4.114-1.029" transform="translate(14.286 14.685)"/></g></symbol><symbol id="linkeditor-layers" viewBox="0 0 20 19.997"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m10.671 9.854a1.686 1.686 0 0 1 -1.343 0l-8.143-3.771a.8.8 0 0 1 0-1.429l8.143-3.8a1.686 1.686 0 0 1 1.343 0l8.143 3.771a.8.8 0 0 1 0 1.429z"/><path d="m19.286 10.5-8.714 4.014a1.427 1.427 0 0 1 -1.186 0l-8.671-4.014"/><path d="m19.286 15.14-8.714 4.014a1.427 1.427 0 0 1 -1.186 0l-8.671-4.014"/></g></symbol><symbol id="linkeditor-copy" viewBox="0 0 20 20"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><rect height="15" rx="1.429" width="15" x="4.286" y="4.286"/><path d="m.714 15v-12.857a1.429 1.429 0 0 1 1.429-1.429h12.857"/></g></symbol><symbol id="linkeditor-link" viewBox="0 0 19.974 20.017"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m5.723 9.28-4.586 4.543a1.428 1.428 0 0 0 -.008 2.02l.008.008 3.029 3.029a1.428 1.428 0 0 0 2.02.008l.008-.008 4.543-4.586"/><path d="m14.294 10.737 4.543-4.543a1.428 1.428 0 0 0 .008-2.02l-.008-.008-2.986-3.029a1.428 1.428 0 0 0 -2.02-.008l-.008.008-4.543 4.586"/><path d="m5.714 0-5.714 5.714" transform="translate(7.151 7.151)"/></g></symbol><symbol id="linkeditor-import-links" viewBox="0 0 19.8 20"><g fill="currentColor"><path d="m5.1 20c-.6 0-1.1-.2-1.5-.6l-3-3c-.4-.4-.6-.9-.6-1.5s.2-1.1.6-1.5l4.6-4.5c.3-.3.7-.3 1 0s.3.7 0 1l-4.6 4.5c-.1.1-.2.3-.2.5s.1.4.2.5l3 3c.1.1.3.2.5.2s.4-.1.5-.2l4.5-4.6c.3-.3.7-.3 1 0s.3.7 0 1l-4.5 4.6c-.4.4-.9.6-1.5.6z"/><path d="m14.2 11.4c-.2 0-.4-.1-.5-.2-.3-.3-.3-.7 0-1l4.5-4.5c.1-.1.2-.3.2-.5s-.1-.4-.2-.5l-3-3c-.1-.1-.4-.2-.5-.2-.2 0-.4.1-.5.2l-4.5 4.6c-.3.3-.7.3-1 0s-.3-.7 0-1l4.5-4.6c.4-.4 1-.6 1.5-.6.6 0 1.1.2 1.5.6l3 3c.4.4.6.9.6 1.5s-.2 1.1-.6 1.5l-4.5 4.5c-.1.2-.3.2-.5.2z"/><path d="m7.1 13.6c-.2 0-.4-.1-.5-.2-.3-.3-.3-.7 0-1l5.7-5.7c.3-.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.7-.3 1 0l2.5 2.5c.3.3.3.7 0 1l-2.5 2.5c-.2.1-.3.2-.5.2z"/></g></symbol><symbol id="linkeditor-merge-links" viewBox="0 0 20 20"><g fill="currentColor"><path d="m5.2 20c-.6 0-1.1-.2-1.5-.6l-3-3c-.5-.5-.7-1-.7-1.6s.2-1.1.6-1.5l4.6-4.5c.3-.3.7-.3 1 0s.3.7 0 1l-4.6 4.5c-.1.1-.2.3-.2.5s.1.4.2.5l3 3c.3.3.7.3 1 0l4.5-4.6c.3-.3.7-.3 1 0s.3.7 0 1l-4.5 4.6c-.3.5-.9.7-1.4.7z"/><path d="m14.3 11.5c-.2 0-.4-.1-.5-.2-.3-.3-.3-.7 0-1l4.5-4.5c.3-.3.3-.7 0-1l-3-3c-.1-.1-.3-.2-.5-.2s-.4.1-.5.2l-4.5 4.4c-.3.3-.7.3-1 0s-.3-.7 0-1l4.5-4.6c.4-.4.9-.6 1.6-.6.6 0 1.1.2 1.5.6l3 3c.8.8.8 2.2 0 3l-4.5 4.5c-.2.3-.4.4-.6.4z"/><path d="m7.2 13.6c-.2 0-.4-.1-.5-.2-.3-.3-.3-.7 0-1l5.7-5.7c.3-.3.7-.3 1 0s.3.7 0 1l-5.7 5.7c-.2.1-.4.2-.5.2z"/><path d="m6.4 4.3h-5.7c-.4 0-.7-.3-.7-.7s.3-.7.7-.7h5.7c.4 0 .7.3.7.7s-.3.7-.7.7z"/><path d="m3.6 7.2c-.4 0-.7-.3-.7-.7v-5.8c0-.4.3-.7.7-.7s.7.3.7.7v5.7c0 .4-.3.8-.7.8z"/></g></symbol></svg></div>
+ </symbol><symbol id="linkeditor-wayback-machine" viewBox="0 0 20 20"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m.714 10a9.285 9.285 0 1 0 9.286-9.286 10.331 10.331 0 0 0 -7.143 2.857"/><path d="m3.571.714-.714 2.857 2.857.714"/><path d="m10 5v5.714l-3.714 1.857"/></g></symbol><symbol id="linkeditor-tooltip" viewBox="0 0 21.667 17.846"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m0 0h20.238" transform="translate(.715 17.131)"/><path d="m13.463 11.9-2.63 2.63-2.633-2.63h-2.958a1.316 1.316 0 0 1 -1.316-1.316v-8.554a1.316 1.316 0 0 1 1.316-1.316h11.183a1.316 1.316 0 0 1 1.316 1.316v8.552a1.316 1.316 0 0 1 -1.316 1.318z"/></g></symbol><symbol id="linkeditor-search" viewBox="0 0 20.322 16.684"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m17.571 11.417a.4.4 0 1 0 .211-.763l-7.81-5.354a.791.791 0 0 0 -1.237.7l.61 9.473a.4.4 0 1 0 .762.211l2.722-3.893z"/><path d="m8.029 7.509h-6.42a.894.894 0 0 1 -.894-.894v-5.007a.894.894 0 0 1 .894-.894h17.105a.894.894 0 0 1 .894.894v5.007a.894.894 0 0 1 -.894.894h-5.314"/></g></symbol><symbol id="linkeditor-archives" viewBox="0 0 19.851 20"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m.714 0h3.571a.715.715 0 0 1 .715.715v17.142a.714.714 0 0 1 -.714.714h-3.572a.714.714 0 0 1 -.714-.714v-17.143a.714.714 0 0 1 .714-.714z" transform="translate(.715 .714)"/><path d="m.714 0h3.571a.715.715 0 0 1 .715.715v14.285a.714.714 0 0 1 -.714.714h-3.572a.714.714 0 0 1 -.714-.714v-14.286a.714.714 0 0 1 .714-.714z" transform="translate(5.715 3.571)"/><path d="m.714 0h2.857a.715.715 0 0 1 .715.715v14.285a.714.714 0 0 1 -.714.714h-2.858a.714.714 0 0 1 -.714-.714v-14.286a.714.714 0 0 1 .714-.714z" transform="matrix(.97005881 -.24287013 .24287013 .97005881 11.315 4.048)"/><path d="m0 0h5" transform="translate(.714 14.286)"/><path d="m0 0h5" transform="translate(5.714 12.857)"/><path d="m0 1.029 4.114-1.029" transform="translate(14.286 14.685)"/></g></symbol><symbol id="linkeditor-layers" viewBox="0 0 20 19.997"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m10.671 9.854a1.686 1.686 0 0 1 -1.343 0l-8.143-3.771a.8.8 0 0 1 0-1.429l8.143-3.8a1.686 1.686 0 0 1 1.343 0l8.143 3.771a.8.8 0 0 1 0 1.429z"/><path d="m19.286 10.5-8.714 4.014a1.427 1.427 0 0 1 -1.186 0l-8.671-4.014"/><path d="m19.286 15.14-8.714 4.014a1.427 1.427 0 0 1 -1.186 0l-8.671-4.014"/></g></symbol><symbol id="linkeditor-copy" viewBox="0 0 20 20"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><rect height="15" rx="1.429" width="15" x="4.286" y="4.286"/><path d="m.714 15v-12.857a1.429 1.429 0 0 1 1.429-1.429h12.857"/></g></symbol><symbol id="linkeditor-link" viewBox="0 0 19.974 20.017"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><path d="m5.723 9.28-4.586 4.543a1.428 1.428 0 0 0 -.008 2.02l.008.008 3.029 3.029a1.428 1.428 0 0 0 2.02.008l.008-.008 4.543-4.586"/><path d="m14.294 10.737 4.543-4.543a1.428 1.428 0 0 0 .008-2.02l-.008-.008-2.986-3.029a1.428 1.428 0 0 0 -2.02-.008l-.008.008-4.543 4.586"/><path d="m5.714 0-5.714 5.714" transform="translate(7.151 7.151)"/></g></symbol><symbol id="linkeditor-import-links" viewBox="0 0 19.8 20"><g fill="currentColor"><path d="m5.1 20c-.6 0-1.1-.2-1.5-.6l-3-3c-.4-.4-.6-.9-.6-1.5s.2-1.1.6-1.5l4.6-4.5c.3-.3.7-.3 1 0s.3.7 0 1l-4.6 4.5c-.1.1-.2.3-.2.5s.1.4.2.5l3 3c.1.1.3.2.5.2s.4-.1.5-.2l4.5-4.6c.3-.3.7-.3 1 0s.3.7 0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3-.7-.7s.3-.7.7-.7h5.7c.4 0 .7.3.7.7s-.3.7-.7.7z"/><path d="m3.6 7.2c-.4 0-.7-.3-.7-.7v-5.8c0-.4.3-.7.7-.7s.7.3.7.7v5.7c0 .4-.3.8-.7.8z"/></g></symbol><symbol id="linkeditor-move-links" viewBox="0 0 20 20"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.429"><g transform="translate(-361.274 -372.18)"><path d="m367 381.5-4.6 4.5c-.6.6-.6 1.5 0 2l3 3c.6.6 1.5.6 2 0l4.5-4.6"/><path d="m375.6 382.9 4.5-4.5c.6-.6.6-1.5 0-2l-3-3c-.6-.6-1.5-.6-2 0l-4.5 4.6"/><path d="m374.1 379.3-5.7 5.7"/></g><path d="m2.526 5.32 4-4"/><path d="m2.126 2.32 1.4-1.4"/><path d="m17.526 14.72-4.1 4"/><path d="m17.826 17.72-1.4 1.4"/></g></symbol></svg></div>
@push('after_scripts')
<script>
function getSpriteIcon(icon, attrs, dimensions) {