tablefilter 0.7.4 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/dist/starter.html +2 -2
  2. package/dist/tablefilter/style/colsVisibility.css +1 -1
  3. package/dist/tablefilter/style/filtersVisibility.css +1 -1
  4. package/dist/tablefilter/style/tablefilter.css +1 -1
  5. package/dist/tablefilter/style/themes/default/default.css +1 -1
  6. package/dist/tablefilter/style/themes/mytheme/mytheme.css +1 -1
  7. package/dist/tablefilter/style/themes/skyblue/skyblue.css +1 -1
  8. package/dist/tablefilter/style/themes/transparent/transparent.css +1 -1
  9. package/dist/tablefilter/tablefilter.js +1 -1
  10. package/dist/tablefilter/tf-1-2aa33b10e0e549020c12.js +1 -0
  11. package/dist/tablefilter/tf-1-bc5a8b07e0d66035b05b.js +1 -0
  12. package/dist/tablefilter/tf-2-025e1e774794d5827df8.js +6 -0
  13. package/dist/tablefilter.cjs.js +17614 -0
  14. package/dist/tablefilter.esm.js +17617 -0
  15. package/dist/tablefilter.umd.js +17620 -0
  16. package/index.js +16 -1
  17. package/package.json +21 -5
  18. package/src/components/attributes.js +59 -0
  19. package/src/components/table-filter.js +391 -0
  20. package/src/components/tf-clear-button.js +95 -0
  21. package/src/components/tf-rows-counter.js +79 -0
  22. package/src/components/tf-status.js +101 -0
  23. package/src/extensions/sort/sort.js +8 -1
  24. package/src/modules/clearButton.js +65 -11
  25. package/src/modules/rowsCounter.js +48 -25
  26. package/src/modules/statusBar.js +62 -30
  27. package/src/sanitize.js +25 -0
  28. package/src/tablefilter.js +39 -6
  29. package/.editorconfig +0 -15
  30. package/.esdoc.json +0 -14
  31. package/.eslintrc +0 -37
  32. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  33. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -36
  34. package/.github/ISSUE_TEMPLATE/support.md +0 -17
  35. package/.github/dependabot.yml +0 -10
  36. package/.github/workflows/build-deploy.yml +0 -113
  37. package/AGENTS.md +0 -36
  38. package/CONTRIBUTING.md +0 -128
  39. package/Gruntfile.js +0 -252
  40. package/PULL_REQUEST_TEMPLATE.md +0 -24
  41. package/ROADMAP/README.md +0 -29
  42. package/ROADMAP/hybrid-migration-strategy.md +0 -234
  43. package/ROADMAP/key-decisions-review.md +0 -213
  44. package/ROADMAP/preliminary-and-milestone-0.8.0-plan.md +0 -308
  45. package/ROADMAP/v1-webcomponents-investigation.md +0 -516
  46. package/dist/tablefilter/tf-1-d2360db09a424b1ed633.js +0 -1
  47. package/static/demos-assets/img_best-price.png +0 -0
  48. package/static/demos-assets/img_great-deal.png +0 -0
  49. package/static/demos-assets/img_maintenance.jpg +0 -0
  50. package/static/demos-assets/img_new-edition.png +0 -0
  51. package/static/demos-assets/img_sold-out.png +0 -0
  52. package/static/partials/books-table-with-images.html +0 -328
  53. package/static/partials/books.html +0 -273
  54. package/static/partials/countries-by-continent.html +0 -2592
  55. package/static/partials/countries-table-tiny.html +0 -436
  56. package/static/partials/countries-table.html +0 -12954
  57. package/static/partials/dummy-table-with-totals-footer.html +0 -353
  58. package/static/partials/dummy-table.html +0 -503
  59. package/static/partials/pre-inline-script.html +0 -17
  60. package/static/partials/pre.html +0 -1
  61. package/static/partials/style.html +0 -23
  62. package/static/partials/table-with-grouped-headers.html +0 -9258
  63. package/static/partials/tablefilter-script.html +0 -1
  64. package/static/style/active-header.styl +0 -10
  65. package/static/style/alternating-rows.styl +0 -8
  66. package/static/style/config.styl +0 -44
  67. package/static/style/extensions/colsVisibility.styl +0 -71
  68. package/static/style/extensions/filtersVisibility.styl +0 -18
  69. package/static/style/ezedittable.styl +0 -93
  70. package/static/style/filter-checklist.styl +0 -52
  71. package/static/style/filters.styl +0 -111
  72. package/static/style/grid-layout.styl +0 -130
  73. package/static/style/help.styl +0 -57
  74. package/static/style/keyword.styl +0 -8
  75. package/static/style/loader.styl +0 -16
  76. package/static/style/mixins/arrow.styl +0 -63
  77. package/static/style/mixins/box-shadow.styl +0 -8
  78. package/static/style/mixins/empty-content.styl +0 -7
  79. package/static/style/noresults.styl +0 -14
  80. package/static/style/paging.styl +0 -73
  81. package/static/style/reset-button.styl +0 -21
  82. package/static/style/rows-counter.styl +0 -17
  83. package/static/style/sort.styl +0 -20
  84. package/static/style/status-bar.styl +0 -16
  85. package/static/style/table.styl +0 -44
  86. package/static/style/tablefilter.styl +0 -18
  87. package/static/style/themes/blank.png +0 -0
  88. package/static/style/themes/btn_clear_filters.png +0 -0
  89. package/static/style/themes/btn_filter.png +0 -0
  90. package/static/style/themes/btn_first_page.gif +0 -0
  91. package/static/style/themes/btn_last_page.gif +0 -0
  92. package/static/style/themes/btn_next_page.gif +0 -0
  93. package/static/style/themes/btn_previous_page.gif +0 -0
  94. package/static/style/themes/default/default.styl +0 -137
  95. package/static/style/themes/default/images/bg_infDiv.jpg +0 -0
  96. package/static/style/themes/default/images/bg_th.jpg +0 -0
  97. package/static/style/themes/default/images/btn_eraser.gif +0 -0
  98. package/static/style/themes/default/images/btn_first_page.gif +0 -0
  99. package/static/style/themes/default/images/btn_last_page.gif +0 -0
  100. package/static/style/themes/default/images/btn_next_page.gif +0 -0
  101. package/static/style/themes/default/images/btn_over_eraser.gif +0 -0
  102. package/static/style/themes/default/images/btn_over_first_page.gif +0 -0
  103. package/static/style/themes/default/images/btn_over_last_page.gif +0 -0
  104. package/static/style/themes/default/images/btn_over_next_page.gif +0 -0
  105. package/static/style/themes/default/images/btn_over_previous_page.gif +0 -0
  106. package/static/style/themes/default/images/btn_previous_page.gif +0 -0
  107. package/static/style/themes/default/images/img_loading.gif +0 -0
  108. package/static/style/themes/downsimple.png +0 -0
  109. package/static/style/themes/icn_clp.png +0 -0
  110. package/static/style/themes/icn_exp.png +0 -0
  111. package/static/style/themes/icn_filter.gif +0 -0
  112. package/static/style/themes/icn_filterActive.gif +0 -0
  113. package/static/style/themes/mytheme/images/bg_headers.jpg +0 -0
  114. package/static/style/themes/mytheme/images/bg_infDiv.jpg +0 -0
  115. package/static/style/themes/mytheme/images/btn_filter.png +0 -0
  116. package/static/style/themes/mytheme/images/btn_first_page.gif +0 -0
  117. package/static/style/themes/mytheme/images/btn_last_page.gif +0 -0
  118. package/static/style/themes/mytheme/images/btn_next_page.gif +0 -0
  119. package/static/style/themes/mytheme/images/btn_previous_page.gif +0 -0
  120. package/static/style/themes/mytheme/images/img_loading.gif +0 -0
  121. package/static/style/themes/mytheme/mytheme.styl +0 -152
  122. package/static/style/themes/skyblue/images/bg_skyblue.gif +0 -0
  123. package/static/style/themes/skyblue/images/btn_first_page.gif +0 -0
  124. package/static/style/themes/skyblue/images/btn_last_page.gif +0 -0
  125. package/static/style/themes/skyblue/images/btn_next_page.gif +0 -0
  126. package/static/style/themes/skyblue/images/btn_prev_page.gif +0 -0
  127. package/static/style/themes/skyblue/images/icn_clear_filters.png +0 -0
  128. package/static/style/themes/skyblue/images/img_loading.gif +0 -0
  129. package/static/style/themes/skyblue/skyblue.styl +0 -195
  130. package/static/style/themes/transparent/images/btn_first_page.gif +0 -0
  131. package/static/style/themes/transparent/images/btn_last_page.gif +0 -0
  132. package/static/style/themes/transparent/images/btn_next_page.gif +0 -0
  133. package/static/style/themes/transparent/images/btn_prev_page.gif +0 -0
  134. package/static/style/themes/transparent/images/icn_clear_filters.png +0 -0
  135. package/static/style/themes/transparent/images/img_loading.gif +0 -0
  136. package/static/style/themes/transparent/transparent.styl +0 -205
  137. package/static/style/themes/upsimple.png +0 -0
  138. package/static/style/toolbar.styl +0 -58
  139. package/static/templates/advanced-grid-editable.html +0 -140
  140. package/static/templates/advanced-grid-selection.html +0 -93
  141. package/static/templates/auto-filter.html +0 -46
  142. package/static/templates/columns-visibility.html +0 -67
  143. package/static/templates/data-types.html +0 -123
  144. package/static/templates/demo.html +0 -62
  145. package/static/templates/external-filters-visibility-commad.html +0 -49
  146. package/static/templates/external-filters.html +0 -125
  147. package/static/templates/filter-images.html +0 -91
  148. package/static/templates/filters-visibility.html +0 -45
  149. package/static/templates/grid-layout.html +0 -51
  150. package/static/templates/grouped-headers.html +0 -78
  151. package/static/templates/linked-filters-disabled.html +0 -56
  152. package/static/templates/linked-filters.html +0 -45
  153. package/static/templates/load-filters-on-demand.html +0 -42
  154. package/static/templates/pagination.html +0 -78
  155. package/static/templates/requirejs.html +0 -53
  156. package/static/templates/starter.html +0 -61
  157. package/static/templates/theme-roller.html +0 -106
  158. package/test/libs/polyfill.js +0 -359
  159. package/test/libs/qunit/qunit.css +0 -237
  160. package/test/libs/qunit/qunit.js +0 -2495
  161. package/test/test-active-columns.html +0 -80
  162. package/test/test-active-columns.js +0 -318
  163. package/test/test-alternate-rows.html +0 -80
  164. package/test/test-alternate-rows.js +0 -335
  165. package/test/test-api.html +0 -141
  166. package/test/test-api.js +0 -795
  167. package/test/test-auto-filter.html +0 -80
  168. package/test/test-auto-filter.js +0 -43
  169. package/test/test-callbacks.html +0 -78
  170. package/test/test-callbacks.js +0 -58
  171. package/test/test-case-sensitive-query.html +0 -78
  172. package/test/test-case-sensitive-query.js +0 -39
  173. package/test/test-cell-parser.html +0 -109
  174. package/test/test-cell-parser.js +0 -80
  175. package/test/test-checklist.html +0 -78
  176. package/test/test-checklist.js +0 -267
  177. package/test/test-clear-button.html +0 -79
  178. package/test/test-clear-button.js +0 -182
  179. package/test/test-col-ops-grid-layout.html +0 -129
  180. package/test/test-col-ops-grid-layout.js +0 -134
  181. package/test/test-col-ops-paging.html +0 -129
  182. package/test/test-col-ops-paging.js +0 -154
  183. package/test/test-col-ops.html +0 -129
  184. package/test/test-col-ops.js +0 -337
  185. package/test/test-col-widths.html +0 -80
  186. package/test/test-col-widths.js +0 -40
  187. package/test/test-cols-visibility-grid-layout.html +0 -80
  188. package/test/test-cols-visibility-grid-layout.js +0 -165
  189. package/test/test-cols-visibility.html +0 -80
  190. package/test/test-cols-visibility.js +0 -121
  191. package/test/test-custom-options.html +0 -80
  192. package/test/test-custom-options.js +0 -139
  193. package/test/test-data-types.html +0 -377
  194. package/test/test-data-types.js +0 -392
  195. package/test/test-date-type.html +0 -356
  196. package/test/test-date-type.js +0 -159
  197. package/test/test-disable-enter-key.html +0 -78
  198. package/test/test-disable-enter-key.js +0 -29
  199. package/test/test-disable-filter-onchange.html +0 -78
  200. package/test/test-disable-filter-onchange.js +0 -40
  201. package/test/test-dom-changes.html +0 -78
  202. package/test/test-dom-changes.js +0 -166
  203. package/test/test-dropdown.html +0 -78
  204. package/test/test-dropdown.js +0 -246
  205. package/test/test-emitter.html +0 -78
  206. package/test/test-emitter.js +0 -57
  207. package/test/test-empty-cells-filtering.html +0 -8696
  208. package/test/test-empty-cells-filtering.js +0 -45
  209. package/test/test-exact-query-match.html +0 -78
  210. package/test/test-exact-query-match.js +0 -56
  211. package/test/test-excluded-rows.html +0 -92
  212. package/test/test-excluded-rows.js +0 -129
  213. package/test/test-external-filters.html +0 -100
  214. package/test/test-external-filters.js +0 -219
  215. package/test/test-filter-html-elements.html +0 -88
  216. package/test/test-filter-html-elements.js +0 -63
  217. package/test/test-filter-operators.html +0 -80
  218. package/test/test-filter-operators.js +0 -264
  219. package/test/test-filtering.html +0 -53
  220. package/test/test-filtering.js +0 -293
  221. package/test/test-filters-visibility-grid-layout.html +0 -80
  222. package/test/test-filters-visibility-grid-layout.js +0 -50
  223. package/test/test-filters-visibility-with-button.html +0 -80
  224. package/test/test-filters-visibility-with-button.js +0 -48
  225. package/test/test-filters-visibility.html +0 -80
  226. package/test/test-filters-visibility.js +0 -48
  227. package/test/test-grid-layout.html +0 -7736
  228. package/test/test-grid-layout.js +0 -39
  229. package/test/test-grouped-headers.html +0 -154
  230. package/test/test-grouped-headers.js +0 -107
  231. package/test/test-hash.html +0 -78
  232. package/test/test-hash.js +0 -88
  233. package/test/test-help-responsive.html +0 -79
  234. package/test/test-help-responsive.js +0 -70
  235. package/test/test-help.html +0 -78
  236. package/test/test-help.js +0 -217
  237. package/test/test-highlight-keywords.html +0 -78
  238. package/test/test-highlight-keywords.js +0 -94
  239. package/test/test-ignore-diacritics.html +0 -67
  240. package/test/test-ignore-diacritics.js +0 -117
  241. package/test/test-integration-paging-sort.html +0 -80
  242. package/test/test-integration-paging-sort.js +0 -60
  243. package/test/test-linked-filters-disabled-options-grid-layout.html +0 -80
  244. package/test/test-linked-filters-disabled-options-grid-layout.js +0 -73
  245. package/test/test-linked-filters-grid-layout.html +0 -80
  246. package/test/test-linked-filters-grid-layout.js +0 -72
  247. package/test/test-linked-filters-load-filters-on-demand.html +0 -80
  248. package/test/test-linked-filters-load-filters-on-demand.js +0 -99
  249. package/test/test-linked-filters-paging.html +0 -80
  250. package/test/test-linked-filters-paging.js +0 -99
  251. package/test/test-linked-filters.html +0 -80
  252. package/test/test-linked-filters.js +0 -138
  253. package/test/test-load-filters-on-demand.html +0 -78
  254. package/test/test-load-filters-on-demand.js +0 -124
  255. package/test/test-loader.html +0 -79
  256. package/test/test-loader.js +0 -159
  257. package/test/test-no-config.html +0 -80
  258. package/test/test-no-config.js +0 -63
  259. package/test/test-no-filters.html +0 -80
  260. package/test/test-no-filters.js +0 -172
  261. package/test/test-no-headers.html +0 -71
  262. package/test/test-no-headers.js +0 -99
  263. package/test/test-no-results-message.html +0 -262
  264. package/test/test-no-results-message.js +0 -222
  265. package/test/test-no-rows.html +0 -19
  266. package/test/test-no-rows.js +0 -10
  267. package/test/test-one-row.html +0 -29
  268. package/test/test-one-row.js +0 -18
  269. package/test/test-paging.html +0 -78
  270. package/test/test-paging.js +0 -273
  271. package/test/test-popup-filter-one-row.html +0 -38
  272. package/test/test-popup-filter-one-row.js +0 -138
  273. package/test/test-popup-filter.html +0 -78
  274. package/test/test-popup-filter.js +0 -384
  275. package/test/test-popup-filters-grouped-headers.html +0 -104
  276. package/test/test-popup-filters-grouped-headers.js +0 -206
  277. package/test/test-rows-counter.html +0 -78
  278. package/test/test-rows-counter.js +0 -112
  279. package/test/test-single-filter.html +0 -79
  280. package/test/test-single-filter.js +0 -138
  281. package/test/test-sort-custom-sorter.html +0 -244
  282. package/test/test-sort-custom-sorter.js +0 -74
  283. package/test/test-sort-grid-layout.html +0 -143
  284. package/test/test-sort-grid-layout.js +0 -86
  285. package/test/test-sort-key.html +0 -244
  286. package/test/test-sort-key.js +0 -67
  287. package/test/test-sort.html +0 -143
  288. package/test/test-sort.js +0 -126
  289. package/test/test-state.html +0 -78
  290. package/test/test-state.js +0 -369
  291. package/test/test-status-bar.html +0 -79
  292. package/test/test-status-bar.js +0 -146
  293. package/test/test-storage-cookie.html +0 -78
  294. package/test/test-storage-cookie.js +0 -82
  295. package/test/test-storage-local.html +0 -78
  296. package/test/test-storage-local.js +0 -82
  297. package/test/test-tfoot.html +0 -96
  298. package/test/test-tfoot.js +0 -123
  299. package/test/test-thead.html +0 -80
  300. package/test/test-thead.js +0 -69
  301. package/test/test-toolbar.html +0 -81
  302. package/test/test-toolbar.js +0 -218
  303. package/test/test-uneven-rows.html +0 -95
  304. package/test/test-uneven-rows.js +0 -61
  305. package/test/test-watermark.html +0 -80
  306. package/test/test-watermark.js +0 -103
  307. package/test/test.html +0 -141
  308. package/test/test.js +0 -162
  309. package/webpack.config.js +0 -87
  310. package/webpack.dev.config.js +0 -25
  311. package/webpack.test.config.js +0 -44
@@ -1,195 +0,0 @@
1
- /**
2
- * skyblue theme overrides
3
- */
4
-
5
- // table
6
- table.TF
7
- padding 0
8
- color #000
9
- border-right 1px solid #A4BED4
10
- border-top 1px solid #A4BED4
11
- border-left 1px solid #A4BED4
12
- border-bottom 0
13
-
14
- th
15
- margin 0
16
- color inherit
17
- background #D1E5FE url(images/bg_skyblue.gif) 0 0 repeat-x
18
- border-color #FDFDFD #A4BED4 #A4BED4 #FDFDFD
19
- border-width 1px
20
- border-style solid
21
-
22
- td
23
- margin 0
24
- padding 5px
25
- color inherit
26
- border-bottom 1px solid #A4BED4
27
- border-left 0
28
- border-top 0
29
- border-right 0
30
-
31
- // filters
32
- .fltrow
33
- background-color #D1E5FE !important
34
-
35
- th, td
36
- padding 1px 3px 1px 3px !important
37
-
38
- .flt,
39
- select.flt,
40
- select.flt_multi,
41
- .flt_s,
42
- .single_flt,
43
- .div_checklist
44
- border 1px solid #A4BED4 !important
45
-
46
- input.flt
47
- width 99% !important
48
-
49
- // toolbar
50
- .inf
51
- background-color #E3EFFF !important
52
- border 1px solid #A4BED4
53
- height $min-height
54
- color #004A6F
55
-
56
- div.tot,
57
- div.status
58
- border-right 0 !important
59
-
60
- // help
61
- .helpBtn
62
- &:hover
63
- background-color transparent
64
-
65
- // reset button
66
- input.reset
67
- background transparent url(images/icn_clear_filters.png) center center no-repeat !important
68
-
69
- .nextPage
70
- background transparent url(images/btn_next_page.gif) center center no-repeat !important
71
- border 1px solid transparent !important
72
-
73
- &:hover
74
- background #FFE4AB url(images/btn_next_page.gif) center center no-repeat !important
75
- border 1px solid #FFB552 !important
76
-
77
- .previousPage
78
- background transparent url(images/btn_prev_page.gif) center center no-repeat !important
79
- border 1px solid transparent !important
80
-
81
- &:hover
82
- background #FFE4AB url(images/btn_prev_page.gif) center center no-repeat !important
83
- border 1px solid #FFB552 !important
84
-
85
- .firstPage
86
- background transparent url(images/btn_first_page.gif) center center no-repeat !important
87
- border 1px solid transparent !important
88
-
89
- &:hover
90
- background #FFE4AB url(images/btn_first_page.gif) center center no-repeat !important
91
- border 1px solid #FFB552 !important
92
-
93
- .lastPage
94
- background transparent url(images/btn_last_page.gif) center center no-repeat !important
95
- border 1px solid transparent !important
96
-
97
- &:hover
98
- background #FFE4AB url(images/btn_last_page.gif) center center no-repeat !important
99
- border 1px solid #FFB552 !important
100
-
101
- // active header
102
- .activeHeader
103
- background #FFE4AB !important
104
- border 1px solid #FFB552 !important
105
- color inherit !important
106
-
107
- // grid-layout
108
-
109
- // main container
110
- div.grd_Cont
111
- background-color #D9EAED !important
112
- border 1px solid #99CCCC !important
113
- padding 0 !important
114
-
115
- // alternating background colors
116
- .even
117
- background-color #fff
118
-
119
- .odd
120
- background-color #E3EFFF
121
-
122
- // headers' table container
123
- div.grd_headTblCont
124
- background-color #D9EAED !important
125
- border-bottom none !important
126
-
127
-
128
- div.grd_tblCont table
129
- border-right none !important
130
-
131
- // headers
132
- div.grd_tblCont table th,
133
- div.grd_headTblCont table th,
134
- div.grd_headTblCont table td
135
- background #D9EAED url(images/bg_skyblue.gif) left top repeat-x
136
- border-bottom 1px solid #A4BED4
137
- border-right 1px solid #A4BED4 !important
138
- border-left 1px solid #fff !important
139
- border-top 1px solid #fff !important
140
-
141
- div.grd_tblCont table td
142
- border-bottom 1px solid #A4BED4 !important
143
- border-right 0 !important
144
- border-left 0 !important
145
- border-top 0 !important
146
-
147
- // toolbar containing left, middle and right divs
148
- .grd_inf
149
- background-color #CCE2FE
150
- color #004A6F
151
- border-top 1px solid #99CCCC !important
152
-
153
- a
154
- text-decoration none
155
- font-weight bold
156
-
157
- // loader
158
- .loader
159
- background-color #2D8EEF
160
- border 1px solid #CCE2FE
161
- border-radius 5px
162
-
163
- // alternating background colors
164
- .even
165
- background-color #fff
166
-
167
- .odd
168
- background-color #E3EFFF
169
-
170
- // filters visibility
171
- span.expClpFlt
172
- a.btnExpClpFlt
173
- &:hover
174
- background-color transparent !important
175
-
176
- // ezedittable
177
-
178
- // selection
179
- .ezActiveRow
180
- background-color #FFDC61 !important
181
- color inherit
182
-
183
- .ezSelectedRow
184
- background-color #FFE4AB !important
185
- color inherit
186
-
187
- .ezActiveCell
188
- background-color #fff !important
189
- color #000 !important
190
- font-weight bold
191
-
192
- .ezETSelectedCell
193
- background-color #FFF !important
194
- font-weight bold
195
- color rgb(0,0,0) !important
@@ -1,205 +0,0 @@
1
- /**
2
- * transparent theme overrides
3
- */
4
-
5
- @import '../../mixins/box-shadow'
6
-
7
- // table
8
- table.TF
9
- padding 0
10
- color inherit
11
- border-right 1px solid transparent
12
- border-top 1px solid transparent
13
- border-left 1px solid transparent
14
- border-bottom 0
15
-
16
- th
17
- margin 0
18
- color inherit
19
- background-color transparent
20
- border-color transparent
21
- border-width 1px
22
- border-style solid
23
- &:last-child
24
- border-right 1px solid transparent
25
-
26
- td
27
- margin 0
28
- padding 5px
29
- color inherit
30
- border-bottom 1px solid transparent
31
- border-left 0
32
- border-top 0
33
- border-right 0
34
-
35
- // filters
36
- .fltrow
37
- background-color transparent
38
-
39
- th, td
40
- padding 1px 3px 1px 3px
41
- border-bottom 1px solid transparent !important
42
- &:last-child
43
- border-right 1px solid transparent
44
-
45
- .flt,
46
- select.flt,
47
- select.flt_multi,
48
- .flt_s,
49
- .single_flt,
50
- .div_checklist
51
- border 1px solid #A4BED4
52
-
53
- input.flt
54
- width 99% !important
55
-
56
- // toolbar
57
- .inf
58
- background-color transparent
59
- border 1px solid transparent
60
- height $min-height
61
- color inherit
62
-
63
- div.tot,
64
- div.status
65
- border-right 0 !important
66
-
67
- // help
68
- .helpBtn
69
- &:hover
70
- background-color transparent
71
-
72
- // reset button
73
- input.reset
74
- background transparent url(images/icn_clear_filters.png) center center no-repeat !important
75
-
76
- .nextPage
77
- background transparent url(images/btn_next_page.gif) center center no-repeat !important
78
- border 1px solid transparent !important
79
-
80
- &:hover
81
- background #F7F7F7 url(images/btn_next_page.gif) center center no-repeat !important
82
- border 1px solid #F7F7F7 !important
83
-
84
- .previousPage
85
- background transparent url(images/btn_prev_page.gif) center center no-repeat !important
86
- border 1px solid transparent !important
87
-
88
- &:hover
89
- background #F7F7F7 url(images/btn_prev_page.gif) center center no-repeat !important
90
- border 1px solid #F7F7F7 !important
91
-
92
- .firstPage
93
- background transparent url(images/btn_first_page.gif) center center no-repeat !important
94
- border 1px solid transparent !important
95
-
96
- &:hover
97
- background #F7F7F7 url(images/btn_first_page.gif) center center no-repeat !important
98
- border 1px solid #F7F7F7 !important
99
-
100
- .lastPage
101
- background transparent url(images/btn_last_page.gif) center center no-repeat !important
102
- border 1px solid transparent !important
103
-
104
- &:hover
105
- background #F7F7F7 url(images/btn_last_page.gif) center center no-repeat !important
106
- border 1px solid #F7F7F7 !important
107
-
108
- // active header
109
- .activeHeader
110
- background #F7F7F7 !important
111
- border 1px solid transparent
112
- color inherit !important
113
-
114
- // grid-layout
115
-
116
- // main container
117
- div.grd_Cont
118
- box-shadow(0 0 0 0 rgba(50, 50, 50, 0.75))
119
- background-color transparent
120
- border 1px solid transparent
121
- padding 0 !important
122
-
123
- // alternating background colors
124
- .even
125
- background-color transparent
126
-
127
- .odd
128
- background-color #F7F7F7
129
-
130
- // headers' table container
131
- div.grd_headTblCont
132
- background-color transparent
133
- border-bottom none !important
134
-
135
-
136
- div.grd_tblCont table
137
- border-right none !important
138
-
139
- // headers
140
- div.grd_tblCont table th,
141
- div.grd_headTblCont table th,
142
- div.grd_headTblCont table td
143
- background transparent
144
- border-bottom 1px solid transparent
145
- border-right 1px solid transparent !important
146
- border-left 1px solid transparent
147
- border-top 1px solid transparent
148
-
149
- div.grd_tblCont table td
150
- border-bottom 1px solid transparent
151
- border-right 0 !important
152
- border-left 0 !important
153
- border-top 0 !important
154
-
155
- // toolbar containing left, middle and right divs
156
- .grd_inf
157
- background-color transparent
158
- color inherit
159
- border-top 1px solid transparent
160
-
161
- a
162
- text-decoration none
163
- font-weight bold
164
-
165
- // loader
166
- .loader
167
- background-color #F7F7F7
168
- border 1px solid #F7F7F7
169
- border-radius 5px
170
- color #000000
171
- text-shadow none
172
-
173
- // alternating background colors
174
- .even
175
- background-color transparent
176
-
177
- .odd
178
- background-color #F7F7F7
179
-
180
- // filters visibility
181
- span.expClpFlt
182
- a.btnExpClpFlt
183
- &:hover
184
- background-color transparent !important
185
-
186
- // ezedittable
187
-
188
- // selection
189
- .ezActiveRow
190
- background-color #CCCCCC !important
191
- color inherit
192
-
193
- .ezSelectedRow
194
- background-color #CCCCCC !important
195
- color inherit
196
-
197
- .ezActiveCell
198
- background-color transparent
199
- color inherit
200
- font-weight bold
201
-
202
- .ezETSelectedCell
203
- background-color transparent
204
- font-weight bold
205
- color inherit
Binary file
@@ -1,58 +0,0 @@
1
- /**
2
- * Toolbar default style
3
- */
4
-
5
- @import 'config'
6
- @import 'mixins/empty-content'
7
-
8
- // left, middle and right divs container (toolbar)
9
- .inf
10
- clear both
11
- width auto
12
- height $min-height
13
- min-width 400px
14
- background-color $toolbar-bg-color
15
- font-size $toolbar-font-size
16
- margin 0
17
- padding 0
18
- border-top 1px solid $toolbar-border-color
19
- border-bottom 1px solid $toolbar-border-color
20
- border-left 1px solid $toolbar-border-color
21
- border-right 1px solid $toolbar-border-color
22
- overflow hidden
23
- border-top-left-radius 3px
24
- border-top-right-radius 3px
25
-
26
- // link appearence
27
- a
28
- color #333
29
- text-decoration none
30
- font-weight bold
31
- box-sizing initial
32
- &:hover
33
- text-decoration underline
34
-
35
- // left div
36
- .ldiv
37
- empty-content()
38
- float left
39
- width 30%
40
- position inherit
41
- text-align left
42
-
43
- // middle div
44
- .mdiv
45
- empty-content()
46
- float left
47
- width 38%
48
- position inherit
49
- text-align center
50
- padding 0
51
-
52
- // right div
53
- .rdiv
54
- empty-content()
55
- float right
56
- width 30%
57
- position inherit
58
- text-align right
@@ -1,140 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <title>{NAME} v{VERSION} - Editable Grid Demo</title>
5
- <!-- @import partials/style.html -->
6
- </head>
7
- <body>
8
- <h1>{NAME} v{VERSION}</h1>
9
- <h2>Editable grid demo</h2>
10
-
11
- <p>
12
- To make the grid cells editable, you need to import the
13
- {EZEDITTABLE_LINK} plugin, enable the <code>editable</code> property
14
- and configure the <code>advancedGrid</code> with the {EZEDITTABLE_LINK}
15
- options.
16
- </p>
17
-
18
- <p>
19
- Instructions: Double-click on a row on or press <code>enter</code> key to
20
- perform action.
21
- <br><br>
22
- NOTE: Data changes are not persisted in this demo.
23
- </p>
24
- <!-- @import partials/pre.html -->
25
-
26
- <div class="ezCommandEditor">
27
- <button onclick="
28
- var advancedGrid = tf.extension('advancedGrid');
29
- var ezEditTable = advancedGrid._ezEditTable;
30
- ezEditTable.Editable.Edit();">
31
- <img src="http://edittable.free.fr/ezEditTable/themes/icn_edit.gif" alt="Edit record">
32
- </button>
33
- <button onclick="
34
- var advancedGrid = tf.extension('advancedGrid');
35
- var ezEditTable = advancedGrid._ezEditTable;
36
- ezEditTable.Editable.AddNewRow();">
37
- <img src="http://edittable.free.fr/ezEditTable/themes/icn_add.gif" alt="Add record">
38
- </button>
39
- <button onclick="
40
- var advancedGrid = tf.extension('advancedGrid');
41
- var ezEditTable = advancedGrid._ezEditTable;
42
- ezEditTable.Editable.SubmitDeletedRows();">
43
- <img src="http://edittable.free.fr/ezEditTable/themes/icn_del.gif" alt="Delete record">
44
- </button>
45
- </div>
46
- <!-- @import partials/countries-table.html -->
47
-
48
- <!-- @import partials/tablefilter-script.html -->
49
- <script data-config>
50
- var filtersConfig = {
51
- base_path: '../dist/tablefilter/',
52
- grid_layout: {
53
- width: '900px'
54
- },
55
- alternate_rows: true,
56
- btn_reset: true,
57
- rows_counter: true,
58
- loader: true,
59
- status_bar: true,
60
- col_1: 'select',
61
- col_2: 'select',
62
- col_widths: [
63
- '150px', '90px', '70px',
64
- '120px', '120px', '100px',
65
- '100px', '100px', '100px'
66
- ],
67
- extensions:[
68
- {
69
- name: 'advancedGrid',
70
- // For the purpose of this demo, ezEditTable dependency
71
- // is loaded from its own website which is not a CDN.
72
- // This dependency also requires a licence therefore
73
- // DO NOT import it in this way in your projects.
74
- filename: 'ezEditTable_min.js',
75
- vendor_path: 'http://edittable.free.fr/ezEditTable/',
76
- // Once ezEditTable dependency is installed in your
77
- // project import it by pointing to a local path:
78
- // vendor_path: 'path/to/ezEditTable'
79
- editable: true,
80
- selection: true,
81
- default_selection: 'both',
82
-
83
- editor_model: 'cell',
84
- cell_editors: [
85
- { type: 'textarea', attributes:[['title', 'Country name']]},
86
- { type: 'input', attributes:[['title', 'ISO code']]},
87
- { type: 'select', attributes:[['title', 'Year']]},
88
- { type: 'input' },
89
- { type: 'input' },
90
- { type: 'input' },
91
- { type: 'input' },
92
- { type: 'input' },
93
- { type: 'input' }
94
- ],
95
-
96
- actions:{
97
- 'update': {
98
- uri: null,
99
- submit_method: 'form',
100
- form_method: 'POST'
101
- },
102
- 'insert': {
103
- uri: null,
104
- submit_method: 'form',
105
- form_method: 'POST',
106
- default_record: [
107
- 'Country name',
108
- 'ISO code',
109
- 'Year',
110
- 'Population',
111
- 'XRAT',
112
- 'PPP',
113
- 'cgdp',
114
- 'cc',
115
- 'ci'
116
- ]
117
- },
118
- 'delete': {
119
- uri: null,
120
- submit_method: 'script',
121
- bulk_delete: false
122
- }
123
- }
124
- }, {
125
- name: 'sort',
126
- types: [
127
- 'string', 'string', 'number',
128
- 'number', 'number', 'number',
129
- 'number', 'number', 'number'
130
- ]
131
- }
132
- ]
133
- };
134
-
135
- var tf = new TableFilter('demo', filtersConfig);
136
- tf.init();
137
- </script>
138
- <!-- @import partials/pre-inline-script.html -->
139
- </body>
140
- </html>