Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / angular-smart-table / src / stConfig.js
diff --git a/ecomp-portal-FE/client/bower_components/angular-smart-table/src/stConfig.js b/ecomp-portal-FE/client/bower_components/angular-smart-table/src/stConfig.js
new file mode 100644 (file)
index 0000000..6cddf48
--- /dev/null
@@ -0,0 +1,26 @@
+ng.module('smart-table')
+  .constant('stConfig', {
+    pagination: {
+      template: 'template/smart-table/pagination.html',
+      itemsByPage: 10,
+      displayedPages: 5
+    },
+    search: {
+      delay: 400, // ms
+      inputEvent: 'input'
+    },
+    select: {
+      mode: 'single',
+      selectedClass: 'st-selected'
+    },
+    sort: {
+      ascentClass: 'st-sort-ascent',
+      descentClass: 'st-sort-descent',
+      descendingFirst: false,
+      skipNatural: false,
+      delay:300
+    },
+    pipe: {
+      delay: 100 //ms
+    }
+  });
\ No newline at end of file