From 8aa5d575e0e4b7c17d839d4bf0782debcef0c7e9 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 7 Feb 2024 11:13:04 +0900 Subject: [PATCH] =?UTF-8?q?=EB=93=9C=EB=9E=98=EA=B7=B8=20=EA=B0=80?= =?UTF-8?q?=EB=8A=A5=ED=95=9C=20=EB=8B=A4=EC=9D=B4=EC=96=BC=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=EC=83=9D=EC=84=B1=20=ED=95=A8=EC=88=98=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/fims/framework/cmm/componentization.js | 41 + .../1.13.2/images/ui-icons_444444_256x240.png | Bin 7126 -> 7126 bytes .../1.13.2/images/ui-icons_555555_256x240.png | Bin 7110 -> 7110 bytes .../1.13.2/images/ui-icons_777620_256x240.png | Bin 4654 -> 4654 bytes .../1.13.2/images/ui-icons_777777_256x240.png | Bin 7147 -> 7147 bytes .../1.13.2/images/ui-icons_cc0000_256x240.png | Bin 4654 -> 4654 bytes .../1.13.2/images/ui-icons_ffffff_256x240.png | Bin 6523 -> 6523 bytes .../framework/jquery-ui/1.13.2/jquery-ui.css | 8 +- .../framework/jquery-ui/1.13.2/jquery-ui.js | 1343 +---------------- .../jquery-ui/1.13.2/jquery-ui.structure.css | 4 - 10 files changed, 45 insertions(+), 1351 deletions(-) diff --git a/src/main/webapp/resources/js/fims/framework/cmm/componentization.js b/src/main/webapp/resources/js/fims/framework/cmm/componentization.js index 0cd4a978..89a3d8e2 100644 --- a/src/main/webapp/resources/js/fims/framework/cmm/componentization.js +++ b/src/main/webapp/resources/js/fims/framework/cmm/componentization.js @@ -279,4 +279,45 @@ function fnMakeSingleImageViewer(imgEl, fileInputEl, dataAttributeForFilePath, d } }); +} + +/************************************************************************** +* 드래그 가능한 다이얼로그 +**************************************************************************/ +function fnMakeDraggableDialog(dialogEl) { + + var currentPosX = 0, currentPosY = 0, previousPosX = 0, previousPosY = 0; + + $(dialogEl).find(".modal-header")[0].onmousedown = fnDragMouseDown; + + function fnDragMouseDown(e) { + + e.preventDefault(); + + previousPosX = e.clientX; + previousPosY = e.clientY; + + document.onmouseup = fnCloseDragElement; + + document.onmousemove = fnElementDrag; + } + + function fnElementDrag(e) { + + e.preventDefault(); + + currentPosX = previousPosX - e.clientX; + currentPosY = previousPosY - e.clientY; + + previousPosX = e.clientX; + previousPosY = e.clientY; + + dialogEl.style.top = (dialogEl.offsetTop - currentPosY) + 'px'; + dialogEl.style.left = (dialogEl.offsetLeft - currentPosX) + 'px'; + } + + function fnCloseDragElement() { + document.onmouseup = null; + document.onmousemove = null; + } } \ No newline at end of file diff --git a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_444444_256x240.png b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_444444_256x240.png index 977e844469b56e4f7208bb896341085161f2339c..89ad69c7604064c029281f5127150f25210d8fb8 100644 GIT binary patch delta 48 zcmca+e$9MBDkl>=6O+iVJyz@+^Ax1TjdTsnLkx_pfXL8N+rYrez~Ip0O?s1;N*e+I DUyu$= delta 48 zcmca+e$9MBDkq~9D<|U=&L;*N^Ax1T4RwvoLJUl;3@oh-473dlfaGz8UgOD2r40d5 CJ`GU- diff --git a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_555555_256x240.png b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_555555_256x240.png index 78d154b5865eb50a60eed2d30ca3b2610c65dec2..6c80715bbf09edff3fc6bf0e6c21e73393eb2814 100644 GIT binary patch delta 48 zcmX?Re$0GADkl>=6O+iVJyz@+^8}>DjdTsnLkx_pfXK)|+rYrez~JVV4|0>IN*e+I DS$qy! delta 48 zcmX?Re$0GADkq~9D<|U=&L;*N^8}>D4RwvoLJUl;3@oh-47CjmtPBhi%iG!~Pn9+V E07~c$Z~y=R diff --git a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_777620_256x240.png b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_777620_256x240.png index 4bd065881dac762f74a619c3b5b6915d089b5e34..29c5c5722692a1d6c1dbb5a29ab7f06e4df2d266 100644 GIT binary patch delta 50 zcmZ3dvQA~gb4E@kb|xl~Uwf?BH-BLK#xHK9YhWH?U}ObEMh4mj237_JH@AF{oBUVM F5CEEQ5M%%V delta 50 zcmZ3dvQA~gb4E@^DOOI#DV$FXHh*CJ#xHKDYh)H;U}|MxX=PxjZD3$!V31he);{^K GpdkQ@o)3Be diff --git a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_777777_256x240.png b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_777777_256x240.png index 510895740cb50e6a6334c9700194da0aad1f4bf9..19e4ebfb75ac6a96656afdf3820f5515603c4ab8 100644 GIT binary patch delta 48 zcmaED{@Q#(Dkl>=6O+iVJyz@+^Gv11jdTsnLkx_pfXK)|+rYrez~JVV4|0=tNgDzH DYu66$ delta 48 zcmaED{@Q#(Dkq~9D<|U=&L;*N^Gv114RwvoLJUl;3@oh-47CjmtPBhi%iG!~?~*nI E09`{41ONa4 diff --git a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_cc0000_256x240.png b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_cc0000_256x240.png index 2a9a96f64a0afdf49f9696e6ad11a136271cfa56..6015578f4c87d66fd05499dbcd25bf8455e4cef7 100644 GIT binary patch delta 50 zcmZ3dvQA~gb4E@kb|xl~Uwf?BH-BLK#xHK9YhWH?U}ObEMh4mj237_JH@AF{oBUVM F5CEEQ5M%%V delta 50 zcmZ3dvQA~gb4E@^DOOI#DV$FXHh*CJ#xHKDYh)H;U}|MxX=PxjZD3$!V31he);{^K GpdkQ@o)3Be diff --git a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_ffffff_256x240.png b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/images/ui-icons_ffffff_256x240.png index c691af06dc628bac4bc7fddbc4b52d62805ad8a5..53234a2ac92d1e3a5afcdeb54b0e567f9deb2b00 100644 GIT binary patch delta 48 zcmexu^xJ4cDkl>=6O(YtjrB`5<{gy~H_|mQ4>2&Z0wP08Z36=<1A{}0H|b6Gk~9PW DkD?D~ delta 48 zcmexu^xJ4cDkq~9D<{KazAMW%<{gy~H`FyU3o$UYGO)BVFwizI0FuWUdW|Q0Ng4tG DhprBf diff --git a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/jquery-ui.css b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/jquery-ui.css index fcf82712..9f1c2f23 100644 --- a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/jquery-ui.css +++ b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/jquery-ui.css @@ -1,13 +1,9 @@ -/*! jQuery UI - v1.13.2 - 2024-01-26 +/*! jQuery UI - v1.13.2 - 2024-02-07 * http://jqueryui.com -* Includes: draggable.css, core.css, resizable.css, theme.css +* Includes: core.css, resizable.css, theme.css * To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif * Copyright jQuery Foundation and other contributors; Licensed MIT */ -.ui-draggable-handle { - -ms-touch-action: none; - touch-action: none; -} /* Layout helpers ----------------------------------*/ .ui-helper-hidden { diff --git a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/jquery-ui.js b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/jquery-ui.js index 99cb8fea..903ada87 100644 --- a/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/jquery-ui.js +++ b/src/main/webapp/resources/lib/fims/framework/jquery-ui/1.13.2/jquery-ui.js @@ -1,6 +1,6 @@ -/*! jQuery UI - v1.13.2 - 2024-01-26 +/*! jQuery UI - v1.13.2 - 2024-02-07 * http://jqueryui.com -* Includes: widget.js, data.js, disable-selection.js, scroll-parent.js, widgets/draggable.js, widgets/resizable.js, widgets/mouse.js +* Includes: widget.js, disable-selection.js, widgets/resizable.js, widgets/mouse.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ ( function( factory ) { @@ -765,35 +765,6 @@ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) { var widget = $.widget; -/*! - * jQuery UI :data 1.13.2 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ - -//>>label: :data Selector -//>>group: Core -//>>description: Selects elements which have data stored under the specified key. -//>>docs: http://api.jqueryui.com/data-selector/ - - -var data = $.extend( $.expr.pseudos, { - data: $.expr.createPseudo ? - $.expr.createPseudo( function( dataName ) { - return function( elem ) { - return !!$.data( elem, dataName ); - }; - } ) : - - // Support: jQuery <1.8 - function( elem, i, match ) { - return !!$.data( elem, match[ 3 ] ); - } -} ); - /*! * jQuery UI Disable Selection 1.13.2 * http://jqueryui.com @@ -829,40 +800,6 @@ var disableSelection = $.fn.extend( { } ); -/*! - * jQuery UI Scroll Parent 1.13.2 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ - -//>>label: scrollParent -//>>group: Core -//>>description: Get the closest ancestor element that is scrollable. -//>>docs: http://api.jqueryui.com/scrollParent/ - - -var scrollParent = $.fn.scrollParent = function( includeHidden ) { - var position = this.css( "position" ), - excludeStaticParent = position === "absolute", - overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/, - scrollParent = this.parents().filter( function() { - var parent = $( this ); - if ( excludeStaticParent && parent.css( "position" ) === "static" ) { - return false; - } - return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) + - parent.css( "overflow-x" ) ); - } ).eq( 0 ); - - return position === "fixed" || !scrollParent.length ? - $( this[ 0 ].ownerDocument || document ) : - scrollParent; -}; - - // This file is deprecated var ie = $.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() ); @@ -1118,1282 +1055,6 @@ var plugin = $.ui.plugin = { }; - -var safeActiveElement = $.ui.safeActiveElement = function( document ) { - var activeElement; - - // Support: IE 9 only - // IE9 throws an "Unspecified error" accessing document.activeElement from an