From d9223d162561179e3074b88b29ae4058c8b9573b Mon Sep 17 00:00:00 2001 From: Meghea Iulian Date: Tue, 21 Nov 2023 09:30:51 +0200 Subject: [PATCH] feat: run prettier and test and demo --- demo/.eslintrc.json | 2 +- demo/ajax-demo.html | 214 +- demo/custom-template-demo.html | 309 +- demo/data.json | 5414 +++++++++++------------- demo/detach_test.html | 504 ++- demo/editable-demo.html | 383 +- demo/empty-demo.html | 344 +- demo/eyeColors.json | 8 +- demo/filter-demo.html | 319 +- demo/full-demo.html | 30 +- demo/group-on-demo.html | 355 +- demo/hash-param.html | 65 +- demo/helpers/cosmoz-translations.js | 15 +- demo/helpers/hash-param-template.html | 3 +- demo/helpers/x-page.js | 346 +- demo/index.html | 73 +- demo/sort-demo.html | 334 +- demo/styling.html | 429 +- demo/table-demo-helper.js | 44 +- test/autocomplete.test.js | 702 +-- test/basic.test.js | 90 +- test/boolean.test.js | 66 +- test/expand-line.test.js | 7 +- test/generic-sorter.test.js | 51 +- test/group.test.js | 114 +- test/hash-param-read.test.js | 101 +- test/hash-param-write.test.js | 93 +- test/helpers/fixtures/basic-column.js | 8 +- test/helpers/utils.js | 4 +- test/integration/column-number.test.js | 104 +- test/integration/templatize.test.js | 179 +- test/layout.test.js | 169 +- test/list.test.js | 22 +- test/range-amount.test.js | 1120 +++-- test/range-date.test.js | 275 +- test/range-datetime.test.js | 170 +- test/range-time.test.js | 211 +- test/range.test.js | 216 +- test/select.test.js | 18 +- test/utils-amount.test.js | 22 +- test/utils-date.test.js | 19 +- test/xlsx-export.test.js | 426 +- 42 files changed, 7410 insertions(+), 5968 deletions(-) diff --git a/demo/.eslintrc.json b/demo/.eslintrc.json index 47b99ffa..450f6b6f 100644 --- a/demo/.eslintrc.json +++ b/demo/.eslintrc.json @@ -1,5 +1,5 @@ { "rules": { - "no-console": 0 + "no-console": 0 } } diff --git a/demo/ajax-demo.html b/demo/ajax-demo.html index 00007896..ca8482a5 100644 --- a/demo/ajax-demo.html +++ b/demo/ajax-demo.html @@ -1,85 +1,155 @@ - - - + + + - Cosmoz Omnitable demo + Cosmoz Omnitable demo - - - - - - - + + + + + + - - - - - - + + + + + - - - + + diff --git a/demo/custom-template-demo.html b/demo/custom-template-demo.html index ebf3f05d..e0e82c22 100644 --- a/demo/custom-template-demo.html +++ b/demo/custom-template-demo.html @@ -1,141 +1,190 @@ - - - - - Cosmoz Omnitable demo - - - - - - - - - - - - - -