source: public/vendors/dataTable/SearchPanes-1.0.1/js/searchPanes.semanticui.js@ b39afb5

develop
Last change on this file since b39afb5 was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago

added user authentication, create & forgot password methods and blades

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[7304c7f]1(function (factory) {
2 if (typeof define === 'function' && define.amd) {
3 // AMD
4 define(['jquery', 'datatables.net-se', 'datatables.net-searchpanes'], function ($) {
5 return factory($, window, document);
6 });
7 }
8 else if (typeof exports === 'object') {
9 // CommonJS
10 module.exports = function (root, $) {
11 if (!root) {
12 root = window;
13 }
14 if (!$ || !$.fn.dataTable) {
15 $ = require('datatables.net-se')(root, $).$;
16 }
17 if (!$.fn.dataTable.searchPanes) {
18 require('datatables.net-searchpanes')(root, $);
19 }
20 return factory($, root, root.document);
21 };
22 }
23 else {
24 // Browser
25 factory(jQuery, window, document);
26 }
27}(function ($, window, document) {
28 'use strict';
29 var DataTable = $.fn.dataTable;
30 $.extend(true, DataTable.SearchPane.classes, {
31 buttonGroup: 'right floated ui buttons column',
32 container: 'dtsp-searchPane column ui grid',
33 dull: 'disabled',
34 narrowSearch: 'dtsp-narrowSearch',
35 narrowSub: 'dtsp-narrow',
36 paneButton: 'ui button',
37 paneInputButton: 'circular search link icon',
38 searchCont: 'ui icon input eight wide column',
39 topRow: 'row dtsp-topRow'
40 });
41 $.extend(true, DataTable.SearchPanes.classes, {
42 clearAll: 'dtsp-clearAll ui button',
43 container: 'dtsp-searchPanes ui grid'
44 });
45 // This override is required for the integrated search Icon in sematic ui
46 DataTable.SearchPane.prototype._searchContSetup = function () {
47 $('<i class="' + this.classes.paneInputButton + '"></i>').appendTo(this.dom.searchCont);
48 };
49 return DataTable.searchPanes;
50}));
Note: See TracBrowser for help on using the repository browser.