1 line
39 KiB
JavaScript
1 line
39 KiB
JavaScript
(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["search_panel-SearchPanel"],{4057:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{eval("/* provided dependency */ var jQuery = __webpack_require__(9755);\n( function( $ ) {\n\n\t$.fn.SearchPanel = function( options ) {\n\t\tvar opts = $.extend( {}, $.fn.SearchPanel.defaults, options );\n\n\t\tvar is_collapsed = true;\n\n\t\tvar layouts_array = null;\n\n\t\tvar related_view_controller = null;\n\n\t\tvar $this = this;\n\n\t\tvar tab;\n\n\t\tvar select_tab_index = 0;\n\n\t\tvar select_tab = null;\n\n\t\tvar last_select_tab_index = 0;\n\n\t\tvar last_select_tab = null;\n\n\t\tvar trigger_change_event = true;\n\n\t\tvar hidedAdvTab = false;\n\n//\t\tGlobal.addCss( 'global/widgets/search_panel/SearchPanel.css' );\n\n\t\tthis.isAdvTabVisible = function() {\n\t\t\treturn !hidedAdvTab;\n\t\t};\n\n\t\tthis.isCollapsed = function() {\n\t\t\treturn is_collapsed;\n\t\t};\n\n\t\tthis.hideAdvSearchPanel = function() {\n\t\t\t$( tab ).find( 'li[aria-controls=adv_search]' ).remove();\n\t\t\thidedAdvTab = true;\n\t\t};\n\n\t\tthis.setSearchFlag = function( filter ) {\n\t\t\tvar basic_tab = this.find( 'a[href=\\'#basic_search\\']' );\n\t\t\tvar adv_tab = this.find( 'a[href=\\'#adv_search\\']' );\n\n\t\t\tbasic_tab.removeClass( 'active-label' );\n\t\t\tadv_tab.removeClass( 'active-label' );\n\n\t\t\tvar hasFilter = false;\n\t\t\tfor ( var key in filter ) {\n\t\t\t\tif ( key === 'country' && filter[key].value == TTUUID.not_exist_id ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t//For Documents view\n\t\t\t\tif ( $.inArray( key, ['private', 'template','is_attachment' ] ) !== -1 && filter[key].value == false ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// For Authorizations views\n\t\t\t\tif ( key === 'hierarchy_level' && ( filter[key].value == 1 || filter[key].value.value == 1 ) ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\thasFilter = true;\n\t\t\t}\n\n\t\t\tif ( hasFilter ) {\n\t\t\t\t$( this ).find( '.search-flag' ).remove();\n\t\t\t\tif ( select_tab_index === 0 || hidedAdvTab ) {\n\t\t\t\t\tbasic_tab.addClass( 'active-label' );\n\t\t\t\t\tbasic_tab.html( $.i18n._( 'BASIC SEARCH' ) + '<img title=\\'' + $.i18n._( 'Search is currently active' ) + '\\' src=\\'' + Global.getRealImagePath( 'css/global/widgets/ribbon/icons/alert-16x16.png' ) + '\\' class=\\'search-flag\\'> </img>' );\n\t\t\t\t} else {\n\t\t\t\t\tadv_tab.addClass( 'active-label' );\n\t\t\t\t\tadv_tab.html( $.i18n._( 'ADVANCED SEARCH' ) + '<img title=\\'' + $.i18n._( 'Search is currently active' ) + '\\' src=\\'' + Global.getRealImagePath( 'css/global/widgets/ribbon/icons/alert-16x16.png' ) + '\\' class=\\'search-flag\\'> </img>' );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t$( this ).find( '.search-flag' ).remove();\n\t\t\t}\n\n\t\t};\n\n\t\t//Don't trgiiger tab event in some case. Like first set filter to search panel\n\t\tthis.setSelectTabIndex = function( val, triggerEvent ) {\n\n\t\t\tif ( select_tab_index === val ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( Global.isSet( triggerEvent ) ) {\n\t\t\t\ttrigger_change_event = triggerEvent;\n\t\t\t} else {\n\t\t\t\ttrigger_change_event = true;\n\t\t\t}\n\n\t\t\t$( tab ).tabs( 'option', 'active', val );\n\t\t};\n\n\t\tthis.getLastSelectTabIndex = function() {\n\t\t\treturn last_select_tab_index;\n\t\t};\n\n\t\tthis.getLastSelectTabId = function() {\n\n\t\t\tif ( !last_select_tab ) {\n\t\t\t\treturn 'basic_search';\n\t\t\t}\n\n\t\t\treturn $( last_select_tab.tab ).attr( 'ref' );\n\t\t};\n\n\t\tthis.getSelectTabIndex = function() {\n\t\t\treturn select_tab_index;\n\t\t};\n\n\t\tthis.getLayoutsArray = function() {\n\t\t\treturn layouts_array;\n\t\t};\n\n\t\tfunction setGridSize() {\n\t\t\tif ( related_view_controller.grid ) {\n\t\t\t\trelated_view_controller.setGridSize();\n\t\t\t\trelated_view_controller.setGridColumnsWidth();\n\n\t\t\t\tif ( related_view_controller.column_selector ) { //This doesn't exist on Attendance -> TimeSheet, Basic Search. JS exception: TypeError: related_view_controller.column_selector is null\n\t\t\t\t\trelated_view_controller.column_selector.setGridColumnsWidths(); //It seems that browser optimize out scrollBar calculations until the DOM is actually visible, so need to do this at the last moment.\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t//Set Select Layout combobox\n\t\tthis.setLayoutsArray = function( val ) {\n\t\t\tlayouts_array = val;\n\t\t\tvar layout_selector = $( this ).find( '#layout_selector' );\n\t\t\tvar layout_selector_div = $( this ).find( '.layout-selector-div' );\n\n\t\t\t$( layout_selector ).empty();\n\n\t\t\tif ( layouts_array && layouts_array.length > 0 ) {\n\t\t\t\tvar len = layouts_array.length;\n\t\t\t\tfor ( var i = 0; i < len; i++ ) {\n\t\t\t\t\tvar item = layouts_array[i];\n\t\t\t\t\t$( layout_selector ).append( $( '<option value=\"' + item.id + '\"></option>' ).text( item.name ) );\n\t\t\t\t}\n\n\t\t\t\t$( $( layout_selector ).find( 'option' ) ).filter( function() {\n\n\t\t\t\t\t//Saved layout id should always be number\n\t\t\t\t\treturn $( this ).attr( 'value' ) == related_view_controller.select_layout.id;\n\t\t\t\t} ).prop( 'selected', true ).attr( 'selected', true );\n\n\t\t\t\t$( layout_selector_div ).css( 'display', 'block' );\n\n\t\t\t} else {\n\t\t\t\t$( layout_selector_div ).css( 'display', 'none' );\n\t\t\t}\n\n\t\t};\n\n\t\tthis.setReleatedViewController = function( val ) {\n\t\t\trelated_view_controller = val;\n\t\t};\n\n\t\t//For multiple items like .xxx could contains a few widgets.\n\t\tthis.each( function() {\n\t\t\tvar o = $.meta ? $.extend( {}, opts, $( this ).data() ) : opts;\n\n\t\t\tvar basic_tab = $( this ).find( 'a[href=\\'#basic_search\\']' );\n\t\t\tvar adv_tab = $( this ).find( 'a[href=\\'#adv_search\\']' );\n\t\t\tvar layout_tab = $( this ).find( 'a[href=\\'#saved_layout\\']' );\n\n\t\t\tvar current_view_label = $( this ).find( '.current-view-label' );\n\n\t\t\tbasic_tab.html( $.i18n._( 'BASIC SEARCH' ) );\n\t\t\tadv_tab.html( $.i18n._( 'ADVANCED SEARCH' ) );\n\t\t\tlayout_tab.html( $.i18n._( 'SAVED SEARCH & LAYOUT' ) );\n\t\t\tcurrent_view_label.html( $.i18n._( 'Current View' ) );\n\n\t\t\ttab = $( this ).find( '.search-panel-tab-bar' );\n\n\t\t\tvar collapseBtn = $( this ).find( '#collapseBtn' );\n\n\t\t\tvar tabDiv = $( this ).find( '.search-panel-tab-outside' );\n\n\t\t\tvar tabContentDiv = $( this ).find( '.search-panel-tab' );\n\n\t\t\tvar layout_selector = $( this ).find( '#layout_selector' );\n\n\t\t\tvar searchButtonDiv = $( this ).find( '.search-btn-div' );\n\n\t\t\tvar refresh_btn = $( this ).find( '#refreshBtn' );\n\n\t\t\trefresh_btn.bind( 'click', function() {\n\t\t\t\trefresh_btn.addClass( 'button-rotate' );\n\t\t\t\trelated_view_controller.search();\n\t\t\t\tGlobal.triggerAnalyticsNavigationOther( 'click:refresh_data', 'click', related_view_controller.viewId );\n\t\t\t} );\n\n\t\t\t$( searchButtonDiv ).css( 'display', 'none' );\n\t\t\tvar searchBtn = $( searchButtonDiv ).find( '#searchBtn' );\n\t\t\tvar clearSearchBtn = $( searchButtonDiv ).find( '#clearSearchBtn' );\n\n\t\t\tsearchBtn.find( 'span:nth-child(2)' ).text( $.i18n._( 'Search' ) );\n\t\t\tclearSearchBtn.find( 'span:nth-child(2)' ).text( $.i18n._( 'Clear Search' ) );\n\n\t\t\tsearchBtn.click( function() {\n\t\t\t\t//Delay 100 to make sure awesomebox values are set in select value\n\t\t\t\tsetTimeout( function() {\n\t\t\t\t\trelated_view_controller.onSearch();\n\t\t\t\t}, 100 );\n\n\t\t\t} );\n\n\t\t\tclearSearchBtn.click( function() {\n\t\t\t\trelated_view_controller.onClearSearch();\n\t\t\t} );\n\n\t\t\trelated_view_controller = o.viewController;\n\n\t\t\t$( layout_selector ).on( 'change', function() {\n\t\t\t\trelated_view_controller.layout_changed = true;\n\n\t\t\t\tvar selectId = $( layout_selector ).find( 'option:selected' ).attr( 'value' );\n\t\t\t\tvar len = layouts_array.length;\n\t\t\t\tfor ( var i = 0; i < len; i++ ) {\n\t\t\t\t\tvar item = layouts_array[i];\n\n\t\t\t\t\tif ( item.id == selectId ) {\n\t\t\t\t\t\trelated_view_controller.select_layout = item;\n\t\t\t\t\t\trelated_view_controller.setSelectLayout();\n\t\t\t\t\t\trelated_view_controller.search();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tGlobal.triggerAnalyticsNavigationOther( 'searchpanel:layout_change', 'click', related_view_controller.viewId );\n\t\t\t} );\n\n\t\t\t// Switch and expand search panel on tab changes.\n\t\t\t$( tab ).tabs( { 'activate': onMenuSelect } );\n\n\t\t\t// Expand search panel on an already active tab click.\n\t\t\t$( tab ).find( 'li' ).click( function( e ) {\n\t\t\t\tif ( is_collapsed ) {\n\t\t\t\t\tonCollapseBtnClick();\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\tfunction onMenuSelect( e, ui ) {\n\t\t\t\tlast_select_tab_index = select_tab_index;\n\n\t\t\t\tlast_select_tab = select_tab;\n\n\t\t\t\tselect_tab_index = ui.newTab.index();\n\n\t\t\t\tselect_tab = ui;\n\n\t\t\t\t// Update filter_data and sync advanced and basic tabs when users change tabs so that they do not have\n\t\t\t\t// to click search before updating or saving a layout.\n\t\t\t\tif ( last_select_tab_index !== select_tab_index ) {\n\n\t\t\t\t\tvar target_ui_dic = related_view_controller.basic_search_field_ui_dic;\n\n\t\t\t\t\tif ( $this.isAdvTabVisible() && last_select_tab_index === 1 ) {\n\t\t\t\t\t\ttarget_ui_dic = related_view_controller.adv_search_field_ui_dic;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar filter_data = {};\n\n\t\t\t\t\t$.each( target_ui_dic, function( key ) {\n\t\t\t\t\t\t//Issue #2912 - When syncing search tabs check fields have a value to prevent issues where API would receive\n\t\t\t\t\t\t//invalid filter_data for some fields.\n\t\t\t\t\t\tif ( target_ui_dic[key].getValue( true ) ) {\n\t\t\t\t\t\t\tfilter_data[key] = { field: key, id: '', value: target_ui_dic[key].getValue( true ) };\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\n\t\t\t\t\t//Issue #2956 - Uncaught TypeError: Cannot convert undefined or null to object.\n\t\t\t\t\tif ( related_view_controller.filter_data === null || related_view_controller.filter_data === undefined ) {\n\t\t\t\t\t\trelated_view_controller.filter_data = {};\n\t\t\t\t\t}\n\n\t\t\t\t\t//Merge the two tabs so we do not close any data on switching tabs.\n\t\t\t\t\tfilter_data = Object.assign( related_view_controller.filter_data, filter_data );\n\t\t\t\t\t//Create a deep copy of the object to prevent values being overwritten by reference from clearSearchPanel()\n\t\t\t\t\trelated_view_controller.filter_data = $.extend( true, {}, filter_data );\n\n\t\t\t\t\trelated_view_controller.setSearchPanelFilter();\n\t\t\t\t}\n\n\t\t\t\tif ( trigger_change_event ) {\n\n\t\t\t\t\t$this.trigger( 'searchTabSelect', [e, ui.newPanel] );\n\t\t\t\t} else {\n\t\t\t\t\ttrigger_change_event = true;\n\t\t\t\t}\n\n\t\t\t\tif ( is_collapsed ) {\n\t\t\t\t\tonCollapseBtnClick();\n\t\t\t\t}\n\n\t\t\t\tsetGridSize();\n\n\t\t\t\t//delayCaller would cause \"flashing\" when switching between Basic/Advanced/Saved Search tabs.\n\t\t\t\t// var delayCaller = setInterval( function() {\n\t\t\t\t// \tif ( related_view_controller.grid ) {\n\t\t\t\t// \t\tclearInterval( delayCaller );\n\t\t\t\t// \t\tsetGridSize();\n\t\t\t\t// \t}\n\t\t\t\t// }, 1 );\n\n\t\t\t\tGlobal.triggerAnalyticsTabs( e, ui );\n\t\t\t}\n\n\t\t\t$( collapseBtn ).click( onCollapseBtnClick );\n\n\t\t\tfunction onCollapseBtnClick() {\n\t\t\t\tif ( is_collapsed ) {\n\t\t\t\t\tis_collapsed = false;\n\t\t\t\t\t// $( collapseBtn ).removeClass( 'expend-btn' );\n\t\t\t\t\t$( collapseBtn )\n\t\t\t\t\t\t.removeClass( 'pi-chevron-down' )\n\t\t\t\t\t\t.addClass( 'pi-chevron-up' );\n\n\t\t\t\t\t$( tabDiv ).removeClass( 'search-panel-tab-outside-collapse' );\n\t\t\t\t\t$( tabContentDiv ).removeClass( 'search-panel-tab-collapse' );\n\n\t\t\t\t\t$( searchButtonDiv ).css( 'display', 'block' );\n\n\t\t\t\t} else {\n\t\t\t\t\tis_collapsed = true;\n\t\t\t\t\t// $( collapseBtn ).addClass( 'expend-btn' );\n\t\t\t\t\t$( collapseBtn )\n\t\t\t\t\t\t.removeClass( 'pi-chevron-up' )\n\t\t\t\t\t\t.addClass( 'pi-chevron-down' );\n\n\t\t\t\t\t$( tabDiv ).addClass( 'search-panel-tab-outside-collapse' );\n\t\t\t\t\t$( tabContentDiv ).addClass( 'search-panel-tab-collapse' );\n\n\t\t\t\t\t$( searchButtonDiv ).css( 'display', 'none' );\n\t\t\t\t}\n\n\t\t\t\tsetGridSize();\n\t\t\t}\n\n\t\t\t// function resizeGrid() {\n\t\t\t// \tif (!interval) {\n\t\t\t// \t\tvar interval = setInterval(function () {\n\t\t\t// \t\t\tif ( related_view_controller.grid ) {\n\t\t\t// \t\t\t\tclearInterval(interval);\n\t\t\t// \t\t\t\tvar offset = $('.search-panel').outerHeight() + $('.search-btn-div').outerHeight() + $('.total-number-div').outerHeight() + $('.grid-top-border').outerHeight() + $('.grid-bottom-border').outerHeight() + $('.search-panel-tab-bar').outerHeight() + $('.copyright-container').outerHeight();\n\t\t\t// \t\t\t\tvar height = parseInt($('#contentContainer').height() - offset);\n\t\t\t// \t\t\t\tif ( height != related_view_controller.grid.getGridHeight() ) {\n\t\t\t// \t\t\t\t\trelated_view_controller.grid.setGridHeight(height);\n\t\t\t// \t\t\t\t\t$('.grid-div').height('auto');\n\t\t\t// \t\t\t\t}\n\t\t\t// \t\t\t}\n\t\t\t// \t\t}, 100 );\n\t\t\t// \t}\n\t\t\t// }\n\n\t\t} );\n\n\t\treturn this;\n\n\t};\n\n\t$.fn.SearchPanel.defaults = {};\n\t$.fn.SearchPanel.html = {\n\t\tform_item: `<div class=\"form-item-div\"><span class=\"form-item-label\"></span><div class=\"form-item-input-div\"></div></div>`,\n\t\tsearch_panel: `\n\t\t\t<div class=\"search-panel\" xmlns=\"http://www.w3.org/1999/html\">\n\t\t\t\t<div class=\"search-panel-tab-bar\" id=\"search_panel_tab_bar\">\n\t\t\t\t\t<ul class=\"search-panel-tab-bar-label\">\n\t\t\t\t\t\t<li><a ref=\"basic_search\" href=\"#basic_search\"></a></li>\n\t\t\t\t\t\t<li><a ref=\"adv_search\" href=\"#adv_search\"></a></li>\n\t\t\t\t\t\t<li><a ref=\"saved_layout\" href=\"#saved_layout\"></a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t\t<div id=\"basic_search\" class=\"search-panel-tab-outside search-panel-tab-outside-collapse\">\n\t\t\t\t\t\t<div class=\"search-panel-tab search-panel-tab-collapse\" id=\"basic_search_content_div\">\n\t\t\t\t\t\t\t<div class=\"first-column\"></div>\n\t\t\t\t\t\t\t<div class=\"second-column\"></div>\n\t\t\t\t\t\t\t<div class=\"third-column\"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div id=\"adv_search\" class=\"search-panel-tab-outside search-panel-tab-outside-collapse\">\n\t\t\t\t\t\t<div class=\"search-panel-tab search-panel-tab-collapse\" id=\"adv_search_content_div\">\n\t\t\t\t\t\t\t<div class=\"first-column\"></div>\n\t\t\t\t\t\t\t<div class=\"second-column\"></div>\n\t\t\t\t\t\t\t<div class=\"third-column\"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div id=\"saved_layout\" class=\"search-panel-tab-outside search-panel-tab-outside-collapse\">\n\t\t\t\t\t\t<div class=\"search-panel-tab search-panel-tab-collapse\" id=\"saved_layout_content_div\">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<button id=\"collapseBtn\" class=\"collapse-btn pi pi-chevron-down\"></button>\n\t\t\t\t<span id=\"refreshBtn\" class=\"tticon tticon-refresh_black_24dp refresh-btn\"></span>\n\t\t\t\t<div class=\"layout-selector-div\">\n\t\t\t\t\t<span class=\"current-view-label\"></span>\n\t\t\t\t\t<select id=\"layout_selector\" class=\"t-select layout-selector\">\n\t\t\t\t\t</select>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"search-btn-div\">\n\t\t\t\t\t<button id=\"searchBtn\" class=\"tt-button p-button p-component\" type=\"button\">\n\t\t\t\t\t\t<span class=\"tticon tticon-search_black_24dp\"></span>\n\t\t\t\t\t\t<span class=\"p-button-label\"></span>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button id=\"clearSearchBtn\" class=\"tt-button p-button p-component\" type=\"button\">\n\t\t\t\t\t\t<span class=\"tticon tticon-cancel_black_24dp\"></span>\n\t\t\t\t\t\t<span class=\"p-button-label\"></span>\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t`\n\t};\n\n} )( jQuery );//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDA1Ny5qcyIsIm1hcHBpbmdzIjoiO0FBQUE7O0FBRUE7QUFDQSx5QkFBeUI7O0FBRXpCOztBQUVBOztBQUVBOztBQUVBOztBQUVBOztBQUVBOztBQUVBOztBQUVBO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