From 8ddc00ea99a2a7b049e4c721dcb8323b77280fc3 Mon Sep 17 00:00:00 2001 From: Build Agent Date: Thu, 21 May 2015 15:55:35 +0300 Subject: Release version 0.3.0-rc1. --- CHANGES.md | 48 + README.md | 201 ++- bower.json | 4 +- vaadin-grid/VaadinGridImport.nocache.js | 577 +++++++ vaadin-grid/demo.html | 661 -------- vaadin-grid/demodata.js | 2021 ------------------------ vaadin-grid/test/common.js | 86 - vaadin-grid/test/grid-binding-data.html | 185 --- vaadin-grid/test/grid-editing-columns.html | 412 ----- vaadin-grid/test/grid-editor-handler.html | 202 --- vaadin-grid/test/grid-properties.html | 86 - vaadin-grid/test/grid-redrawer.html | 201 --- vaadin-grid/test/grid-rendering-light-dom.html | 130 -- vaadin-grid/test/grid-scrolling-rows.html | 114 -- vaadin-grid/test/grid-selecting-rows.html | 645 -------- vaadin-grid/test/grid-sorting-rows.html | 100 -- vaadin-grid/test/grid-static-sections.html | 222 --- vaadin-grid/test/index.html | 24 - vaadin-grid/vaadin-grid-doc.html | 214 +-- vaadin-grid/vaadin-grid-import.html | 627 -------- vaadin-grid/vaadin-grid.html | 273 +--- vaadin-grid/vaadin-grid.html.orig | 993 ------------ 22 files changed, 824 insertions(+), 7202 deletions(-) create mode 100644 CHANGES.md create mode 100644 vaadin-grid/VaadinGridImport.nocache.js delete mode 100644 vaadin-grid/demo.html delete mode 100644 vaadin-grid/demodata.js delete mode 100644 vaadin-grid/test/common.js delete mode 100644 vaadin-grid/test/grid-binding-data.html delete mode 100644 vaadin-grid/test/grid-editing-columns.html delete mode 100644 vaadin-grid/test/grid-editor-handler.html delete mode 100644 vaadin-grid/test/grid-properties.html delete mode 100644 vaadin-grid/test/grid-redrawer.html delete mode 100644 vaadin-grid/test/grid-rendering-light-dom.html delete mode 100644 vaadin-grid/test/grid-scrolling-rows.html delete mode 100644 vaadin-grid/test/grid-selecting-rows.html delete mode 100644 vaadin-grid/test/grid-sorting-rows.html delete mode 100644 vaadin-grid/test/grid-static-sections.html delete mode 100644 vaadin-grid/test/index.html delete mode 100644 vaadin-grid/vaadin-grid-import.html delete mode 100644 vaadin-grid/vaadin-grid.html.orig diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 0000000..4a43e62 --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,48 @@ +## Vaadin Components v0.3.0 (2015-xx-xx) +- Polymer updated to v1.0.2. + +### `` +- Vaadin Widgets updated to 7.5.0.beta1. +- Improved Grid resizing logic. +- Drag selection is now disabled. +- Row editor is now disabled. +- `Value Generator` is now removed because of feature overlaps with `Renderer` (#12) +- Spinner added to visualize data loading. (#14) +- Improved scrolling on touch devices. (#18) +- Issues fixed: + - Grid doesn't work when using selection-mode multi, frozen columns and sortable columns. (#7) + - Grid height is recalculated incorrectly when sorting a grid with a fixed height. (#8) + - "Fix regression in row focus indicator" + - "column.width actually changes column.maxWidth" + - "Select event shouldn't update the selection-mode attribute" + - "Default editor save handler should show a message in the editor error message area and prevent the editor from closing" + - "Dbl click on row should prevent text selection if editor is enabled" + - "Setting a valueGenerator to a column fires a select event on multi-select mode" + - "Toggling display:none; on v-grid breaks sizing calculations" + - "Fix bug with empty rows when using the `x-repeat` template" + - "Fix the "v-grid-ready" event firing in IE" + +*** + +## Vaadin Components v0.2.1 (2015-05-15) + +### `` +- New 'Material' Theme + +*** + +## Vaadin Components v0.2.0 (2015-05-08) + +### `` +- Polymer updated to v0.8.0-rc.7. +- Supported Grid features: + - Selection modes: single, multi, all, disabled + - Data binding + - Sorting rows + - Editing headers, footers and columns dynamically + - Inline row editing + - For more, see the [Examples](http://vaadin.github.io/components-examples/) + + +### ``, `` and `` +- Removed from the project for now. \ No newline at end of file diff --git a/README.md b/README.md index d7dabce..9569818 100644 --- a/README.md +++ b/README.md @@ -1,72 +1,133 @@ # Vaadin Components -A set of high-quality Web Components built using Polymer. - -Learn more about [Vaadin Components.](https://vaadin.com/labs-components/) - -For contributions and issues, see the project's [Github Repository.](https://github.com/vaadin/components/) - -## Installation -- Bower -```shell -$ bower install vaadin-components#0.3.0 -``` -```html - - - ... - - - ... - -``` -- CDN -```html - - - ... - - - ... - -``` -- Downloading the zip archive - - Head over to https://vaadin.com/download#components - - Download the version you wish to use - - Extract the zip under your project folder -```html - - - ... - - - ... - -``` -## Usage -```html - - - - - - - - - - - - - - - - - - - - -
Grid100000.8
Vaadin X9999990.8
-
-``` - -For more detailed examples on usage, see the [components-examples](https://tomivirkki.github.io/components-examples) +Vaadin Components is an evolving set of custom HTML elements, built using [Polymer](https://www.polymer-project.org), for building mobile and desktop web applications in modern browsers. + +For contributions and issues, see the project‘s [Github repository](https://github.com/vaadin/components). + +### Examples & API Docs + +View live examples and source code side-by-side for individual custom elements. + +- [<**v-grid**>](http://vaadin.github.io/components-examples/v-grid/) – Data grid for showing large amounts of tabular data ([API](http://vaadin.github.io/components-apidoc/#v-grid)) + + +### Quickstart + + Get a quick test-drive of the custom elements by forking one of the following JSFiddles: + +- <**v-grid**> + - [Data generated on-the-fly](http://jsfiddle.net/jounik/tvk1235r/) + - [JSON data from a URL](http://jsfiddle.net/jounik/tLour4gv/) + + +### Installation + +We offer three ways to use Vaadin Components in your project: Bower, CDN and ZIP archive. The only difference between the options is the URL you use to import the necessary files into your HTML page. + +#### 1. Create a new folder for your project + + ```shell + $ mkdir my-project + $ cd my-project + ``` + +#### 2. Install Vaadin Components + +- ##### Bower + + We recommend using [Bower](http://bower.io) for managing your front-end dependencies. Follow the [Bower installation instructions](http://bower.io/#install-bower), then run the following command inside your project folder: + + ```shell + $ bower install --save vaadin-components#0.3.0-beta2 + ``` + + This will download Vaadin Components and its dependencies to the `bower_components` folder inside your project‘s folder. + +- ##### CDN + + You can use Vaadin Components from CDN (see example below). This is especially convenient for services like JSFiddle, Codepen.io, etc. + + +- ##### Download ZIP + + 1. Download the latest ZIP archive from [vaadin.com/download](https://vaadin.com/download#components) + 2. Extract the archive under your project folder, for example `deps` + +#### 3. Create a HTML file + + Create a new HTML file inside your project folder and copy the following code into it (choose one of the options how to import Vaadin Components in the `` section): + + > **Note on serving the files during development**, when using Bower or the ZIP archive: + + > Due to browser security restrictions, serving HTML imports from a `file:///` URL does not work. You need a web server to view pages where you use custom elements. One simple option is to use the [`serve`](https://www.npmjs.com/package/serve) NPM package. + + ```html + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + ``` diff --git a/bower.json b/bower.json index 4b01696..076ba18 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "vaadin-components", - "version": "0.2-snapshot", + "version": "0.3.0-snapshot", "authors": [ "Vaadin Ltd" ], @@ -17,6 +17,6 @@ "**/tests" ], "dependencies": { - "polymer": "Polymer/polymer#v0.9.0" + "polymer": "Polymer/polymer#v1.0.2" } } \ No newline at end of file diff --git a/vaadin-grid/VaadinGridImport.nocache.js b/vaadin-grid/VaadinGridImport.nocache.js new file mode 100644 index 0000000..4a9439b --- /dev/null +++ b/vaadin-grid/VaadinGridImport.nocache.js @@ -0,0 +1,577 @@ +function VaadinGridImport(){var _b='',ac=0,bc='gwt.codesvr=',cc='gwt.hosted=',dc='gwt.hybrid',ec='VaadinGridImport',fc='__gwt_marker_VaadinGridImport',gc=' - - - - - - - - - -
    -
  1. -

    Simplest possible with inline data

    - - - - - - - - - - - - - - - - - -
    Grid100000.8
    Vaadin X9999990.8
    -
    -
  2. - -
  3. -

    Simplest possible with explicitly formatted inline data (i.e. children in cells)

    - - - - - - - - - - - - - - - - - -
    Grid10 000€
    Vaadin X999 999€
    -
    - -
  4. - -
  5. -

    Simplest possible with data source (all data available, no formatting)

    - - - - - -
    -
    - - -
  6. - -
  7. -

    Simplest possible with lazy data source (no formatting)

    - - - - - -
    -
    - - -
  8. - -
  9. -

    Simplest possible with data source and formatting

    - - - - - - -
    -
    - -
  10. - -
  11. -

    Mapping data from a JS object into columns

    - - - - - - -
    -
    - - - - -
  12. - -
  13. -

    Mapping data from a array into single column

    - - - - -
    -
    - -
  14. - -
  15. -

    Complex headers

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Status
    NameValueProgress
    Grid100000.8
    Vaadin X9999990.8
    This is a footer line in a cell
    Some widgets in a footer
    -
    -
  16. - -
  17. -

    Selection

    - - - - - - -
    -
    -
    - single - multi - all - disabled -
    -
    -
    -
    - -
  18. - -
  19. -

    Simplest possible polymer dom-repeat from array of objects

    - - - - - -
  20. - -
  21. -

    Simplest possible polymer dom-repeat from simple array

    - - - - - -
  22. - -
  23. -

    Simplest possible polymer dom-repeat from array of objects and selection multiple

    - - - - - -
  24. - -
  25. -

    Sort example

    - - - - - -
    -
    - - Sort: - - -
  26. - -
  27. -

    Row editor

    - - - - - - - - - - - - - - -
    Grid10000
    VaadinX1000
    -
    - - -
  28. - -
  29. -

    DOM API

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Grid100000.8lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    Vaadin X9999990.8lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    Designer100000.5lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    Spreadsheet100000.5lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    TK100000.5lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    -
    -
  30. - -
  31. -

    Header and Footer

    - - - - - - - - - - - - - - -
    Grid10000
    VaadinX1000
    -
    -
    - - - -
  32. - -
- - diff --git a/vaadin-grid/demodata.js b/vaadin-grid/demodata.js deleted file mode 100644 index b284aa0..0000000 --- a/vaadin-grid/demodata.js +++ /dev/null @@ -1,2021 +0,0 @@ - myBigData = - [ - [ - "Patrik", - "Paul", - "Invent", - "results" - ], - [ - "John", - "Signell", - "Export", - "results" - ], - [ - "Patrik", - "Åstrand", - "Deliver", - "Grid" - ], - [ - "Leif", - "Suo-Anttila", - "Fix", - "results" - ], - [ - "Leif", - "Paul", - "Feed", - "the dog" - ], - [ - "Joonas", - "Suo-Anttila", - "Produce", - "Vaadin" - ], - [ - "Teemu", - "Ahlroos", - "Feed", - "Grid" - ], - [ - "Artur", - "Åstrand", - "Launch", - "teleportation" - ], - [ - "Leif", - "Lehtinen", - "Launch", - "Grid" - ], - [ - "Artur", - "Lindström", - "Polish", - "Vaadin" - ], - [ - "Artur", - "Suo-Anttila", - "Design", - "the dog" - ], - [ - "Joonas", - "Dahlström", - "Fix", - "soup" - ], - [ - "Joonas", - "Lindström", - "Implement", - "Grid" - ], - [ - "John", - "Ahlroos", - "Deliver", - "the dog" - ], - [ - "Henrik", - "Signell", - "Feed", - "the dog" - ], - [ - "Leif", - "Lehtinen", - "Implement", - "world peace" - ], - [ - "Artur", - "Suo-Anttila", - "Deliver", - "soup" - ], - [ - "Johannes", - "Åstrand", - "Disable", - "soup" - ], - [ - "Artur", - "Dahlström", - "Implement", - "soup" - ], - [ - "Artur", - "Signell", - "Deliver", - "Vaadin" - ], - [ - "Patrik", - "Dahlström", - "Design", - "results" - ], - [ - "Artur", - "Suo-Anttila", - "Export", - "the dog" - ], - [ - "Patrik", - "Paul", - "Establish", - "soup" - ], - [ - "Patrik", - "Lindström", - "Implement", - "world peace" - ], - [ - "Artur", - "Ahlroos", - "Polish", - "the weather" - ], - [ - "Henrik", - "Lindström", - "Design", - "Vaadin" - ], - [ - "Johannes", - "Suo-Anttila", - "Fix", - "results" - ], - [ - "Artur", - "Dahlström", - "Invent", - "results" - ], - [ - "Artur", - "Dahlström", - "Polish", - "results" - ], - [ - "Henrik", - "Suo-Anttila", - "Launch", - "soup" - ], - [ - "Teemu", - "Åstrand", - "Design", - "Grid" - ], - [ - "Patrik", - "Åstrand", - "Design", - "the dog" - ], - [ - "Joonas", - "Ahlroos", - "Invent", - "the dog" - ], - [ - "Patrik", - "Ahlroos", - "Implement", - "Vaadin" - ], - [ - "Henrik", - "Lindström", - "Produce", - "the weather" - ], - [ - "Patrik", - "Åstrand", - "Fix", - "world peace" - ], - [ - "Teemu", - "Lindström", - "Deliver", - "the dog" - ], - [ - "Teemu", - "Signell", - "Design", - "teleportation" - ], - [ - "Joonas", - "Lehtinen", - "Feed", - "the weather" - ], - [ - "Artur", - "Signell", - "Feed", - "Vaadin" - ], - [ - "John", - "Lehtinen", - "Design", - "the dog" - ], - [ - "Artur", - "Åstrand", - "Activate", - "world peace" - ], - [ - "Patrik", - "Paul", - "Design", - "Vaadin" - ], - [ - "Leif", - "Suo-Anttila", - "Deliver", - "world peace" - ], - [ - "Teemu", - "Signell", - "Feed", - "the dog" - ], - [ - "Johannes", - "Åstrand", - "Feed", - "the dog" - ], - [ - "Henrik", - "Åstrand", - "Disable", - "the weather" - ], - [ - "Henrik", - "Lehtinen", - "Disable", - "Grid" - ], - [ - "Teemu", - "Åstrand", - "Implement", - "Grid" - ], - [ - "Teemu", - "Åstrand", - "Implement", - "results" - ], - [ - "Artur", - "Lindström", - "Invent", - "the weather" - ], - [ - "Joonas", - "Signell", - "Implement", - "teleportation" - ], - [ - "Patrik", - "Ahlroos", - "Produce", - "teleportation" - ], - [ - "Johannes", - "Suo-Anttila", - "Establish", - "soup" - ], - [ - "Leif", - "Lehtinen", - "Design", - "results" - ], - [ - "John", - "Lindström", - "Invent", - "Grid" - ], - [ - "Teemu", - "Dahlström", - "Polish", - "Grid" - ], - [ - "Henrik", - "Suo-Anttila", - "Export", - "teleportation" - ], - [ - "Johannes", - "Signell", - "Activate", - "Grid" - ], - [ - "Leif", - "Signell", - "Activate", - "soup" - ], - [ - "Artur", - "Ahlroos", - "Launch", - "world peace" - ], - [ - "Artur", - "Paul", - "Feed", - "results" - ], - [ - "John", - "Åstrand", - "Fix", - "the dog" - ], - [ - "Teemu", - "Dahlström", - "Polish", - "Grid" - ], - [ - "Artur", - "Dahlström", - "Feed", - "Vaadin" - ], - [ - "Patrik", - "Ahlroos", - "Export", - "Grid" - ], - [ - "Henrik", - "Dahlström", - "Polish", - "world peace" - ], - [ - "Henrik", - "Signell", - "Import", - "Vaadin" - ], - [ - "Joonas", - "Åstrand", - "Deliver", - "results" - ], - [ - "Joonas", - "Åstrand", - "Launch", - "teleportation" - ], - [ - "Artur", - "Signell", - "Disable", - "results" - ], - [ - "Patrik", - "Signell", - "Deliver", - "Grid" - ], - [ - "Johannes", - "Suo-Anttila", - "Deliver", - "the weather" - ], - [ - "Teemu", - "Paul", - "Feed", - "results" - ], - [ - "Johannes", - "Lindström", - "Produce", - "soup" - ], - [ - "Artur", - "Lindström", - "Implement", - "teleportation" - ], - [ - "Patrik", - "Dahlström", - "Implement", - "Vaadin" - ], - [ - "Patrik", - "Lindström", - "Fix", - "Vaadin" - ], - [ - "Artur", - "Ahlroos", - "Launch", - "teleportation" - ], - [ - "John", - "Suo-Anttila", - "Launch", - "Grid" - ], - [ - "Johannes", - "Åstrand", - "Feed", - "results" - ], - [ - "Teemu", - "Lindström", - "Establish", - "soup" - ], - [ - "Leif", - "Suo-Anttila", - "Activate", - "results" - ], - [ - "Johannes", - "Lindström", - "Export", - "soup" - ], - [ - "Patrik", - "Lehtinen", - "Feed", - "the dog" - ], - [ - "Henrik", - "Suo-Anttila", - "Fix", - "the weather" - ], - [ - "Leif", - "Ahlroos", - "Export", - "world peace" - ], - [ - "Artur", - "Signell", - "Establish", - "the dog" - ], - [ - "Teemu", - "Ahlroos", - "Launch", - "the dog" - ], - [ - "Patrik", - "Åstrand", - "Disable", - "soup" - ], - [ - "Henrik", - "Signell", - "Polish", - "soup" - ], - [ - "Henrik", - "Suo-Anttila", - "Fix", - "teleportation" - ], - [ - "Teemu", - "Suo-Anttila", - "Polish", - "the dog" - ], - [ - "John", - "Suo-Anttila", - "Import", - "the dog" - ], - [ - "Johannes", - "Åstrand", - "Disable", - "teleportation" - ], - [ - "Artur", - "Signell", - "Activate", - "the weather" - ], - [ - "John", - "Dahlström", - "Disable", - "world peace" - ], - [ - "Joonas", - "Ahlroos", - "Deliver", - "soup" - ], - [ - "Leif", - "Ahlroos", - "Implement", - "Vaadin" - ], - [ - "Henrik", - "Ahlroos", - "Export", - "the weather" - ], - [ - "Teemu", - "Suo-Anttila", - "Polish", - "the dog" - ], - [ - "Joonas", - "Åstrand", - "Activate", - "soup" - ], - [ - "Joonas", - "Signell", - "Activate", - "soup" - ], - [ - "Teemu", - "Lehtinen", - "Invent", - "teleportation" - ], - [ - "Artur", - "Dahlström", - "Design", - "teleportation" - ], - [ - "Teemu", - "Ahlroos", - "Invent", - "results" - ], - [ - "Patrik", - "Lehtinen", - "Activate", - "results" - ], - [ - "Teemu", - "Lindström", - "Produce", - "results" - ], - [ - "Leif", - "Åstrand", - "Import", - "the weather" - ], - [ - "Joonas", - "Ahlroos", - "Launch", - "world peace" - ], - [ - "Leif", - "Signell", - "Import", - "the weather" - ], - [ - "Joonas", - "Ahlroos", - "Disable", - "the weather" - ], - [ - "Leif", - "Signell", - "Invent", - "results" - ], - [ - "John", - "Paul", - "Polish", - "soup" - ], - [ - "Leif", - "Åstrand", - "Feed", - "results" - ], - [ - "Leif", - "Åstrand", - "Implement", - "Grid" - ], - [ - "Artur", - "Ahlroos", - "Fix", - "the dog" - ], - [ - "John", - "Ahlroos", - "Establish", - "Vaadin" - ], - [ - "Teemu", - "Suo-Anttila", - "Produce", - "Vaadin" - ], - [ - "Artur", - "Ahlroos", - "Disable", - "teleportation" - ], - [ - "Artur", - "Lehtinen", - "Produce", - "Vaadin" - ], - [ - "Patrik", - "Suo-Anttila", - "Design", - "world peace" - ], - [ - "Johannes", - "Åstrand", - "Polish", - "world peace" - ], - [ - "Teemu", - "Lindström", - "Activate", - "teleportation" - ], - [ - "John", - "Ahlroos", - "Deliver", - "results" - ], - [ - "Henrik", - "Ahlroos", - "Design", - "Grid" - ], - [ - "Henrik", - "Lindström", - "Fix", - "the weather" - ], - [ - "Henrik", - "Suo-Anttila", - "Establish", - "Grid" - ], - [ - "Artur", - "Dahlström", - "Import", - "Vaadin" - ], - [ - "Artur", - "Signell", - "Export", - "world peace" - ], - [ - "Patrik", - "Paul", - "Design", - "world peace" - ], - [ - "Johannes", - "Suo-Anttila", - "Deliver", - "the dog" - ], - [ - "Joonas", - "Lindström", - "Implement", - "results" - ], - [ - "Joonas", - "Åstrand", - "Import", - "world peace" - ], - [ - "Leif", - "Lindström", - "Design", - "Grid" - ], - [ - "Henrik", - "Lindström", - "Implement", - "Grid" - ], - [ - "John", - "Dahlström", - "Activate", - "Vaadin" - ], - [ - "Artur", - "Suo-Anttila", - "Polish", - "the dog" - ], - [ - "Henrik", - "Suo-Anttila", - "Produce", - "the weather" - ], - [ - "Patrik", - "Åstrand", - "Launch", - "the weather" - ], - [ - "Leif", - "Paul", - "Invent", - "soup" - ], - [ - "Teemu", - "Lehtinen", - "Feed", - "the dog" - ], - [ - "Leif", - "Signell", - "Implement", - "teleportation" - ], - [ - "Joonas", - "Suo-Anttila", - "Establish", - "results" - ], - [ - "John", - "Suo-Anttila", - "Disable", - "the dog" - ], - [ - "Joonas", - "Paul", - "Fix", - "Grid" - ], - [ - "Leif", - "Suo-Anttila", - "Invent", - "Grid" - ], - [ - "Johannes", - "Paul", - "Design", - "world peace" - ], - [ - "Joonas", - "Paul", - "Establish", - "the dog" - ], - [ - "Johannes", - "Lindström", - "Establish", - "Vaadin" - ], - [ - "Joonas", - "Signell", - "Export", - "Grid" - ], - [ - "Leif", - "Ahlroos", - "Invent", - "Grid" - ], - [ - "Patrik", - "Paul", - "Disable", - "world peace" - ], - [ - "John", - "Signell", - "Launch", - "results" - ], - [ - "Henrik", - "Lehtinen", - "Produce", - "the weather" - ], - [ - "Patrik", - "Suo-Anttila", - "Disable", - "Grid" - ], - [ - "Artur", - "Lindström", - "Launch", - "Vaadin" - ], - [ - "John", - "Lehtinen", - "Feed", - "world peace" - ], - [ - "Henrik", - "Åstrand", - "Launch", - "world peace" - ], - [ - "Leif", - "Lehtinen", - "Fix", - "teleportation" - ], - [ - "Henrik", - "Lindström", - "Export", - "Grid" - ], - [ - "Johannes", - "Signell", - "Polish", - "world peace" - ], - [ - "Henrik", - "Ahlroos", - "Export", - "Grid" - ], - [ - "Teemu", - "Paul", - "Fix", - "the weather" - ], - [ - "Artur", - "Suo-Anttila", - "Feed", - "the weather" - ], - [ - "John", - "Paul", - "Polish", - "results" - ], - [ - "Patrik", - "Lehtinen", - "Launch", - "teleportation" - ], - [ - "Joonas", - "Paul", - "Design", - "results" - ], - [ - "Artur", - "Signell", - "Polish", - "Grid" - ], - [ - "Leif", - "Suo-Anttila", - "Design", - "Grid" - ], - [ - "Henrik", - "Signell", - "Export", - "teleportation" - ], - [ - "Patrik", - "Lehtinen", - "Polish", - "Vaadin" - ], - [ - "Johannes", - "Signell", - "Activate", - "Vaadin" - ], - [ - "Patrik", - "Signell", - "Deliver", - "the weather" - ], - [ - "John", - "Signell", - "Feed", - "the dog" - ], - [ - "Artur", - "Paul", - "Polish", - "the weather" - ], - [ - "Leif", - "Ahlroos", - "Implement", - "results" - ], - [ - "Leif", - "Lehtinen", - "Implement", - "world peace" - ], - [ - "Joonas", - "Lehtinen", - "Establish", - "teleportation" - ], - [ - "Henrik", - "Dahlström", - "Polish", - "results" - ], - [ - "Teemu", - "Signell", - "Disable", - "world peace" - ], - [ - "Artur", - "Åstrand", - "Invent", - "Vaadin" - ], - [ - "Leif", - "Lindström", - "Import", - "the dog" - ], - [ - "Johannes", - "Ahlroos", - "Establish", - "world peace" - ], - [ - "Henrik", - "Lindström", - "Export", - "Vaadin" - ], - [ - "Joonas", - "Lehtinen", - "Activate", - "soup" - ], - [ - "Johannes", - "Paul", - "Launch", - "teleportation" - ], - [ - "Artur", - "Suo-Anttila", - "Feed", - "Grid" - ], - [ - "Leif", - "Paul", - "Implement", - "world peace" - ], - [ - "Joonas", - "Paul", - "Export", - "soup" - ], - [ - "Johannes", - "Signell", - "Launch", - "the dog" - ], - [ - "Patrik", - "Suo-Anttila", - "Polish", - "the dog" - ], - [ - "Leif", - "Paul", - "Establish", - "Grid" - ], - [ - "Artur", - "Paul", - "Implement", - "Grid" - ], - [ - "Leif", - "Signell", - "Polish", - "teleportation" - ], - [ - "Artur", - "Åstrand", - "Polish", - "soup" - ], - [ - "Joonas", - "Suo-Anttila", - "Activate", - "teleportation" - ], - [ - "Patrik", - "Ahlroos", - "Launch", - "soup" - ], - [ - "Patrik", - "Dahlström", - "Establish", - "soup" - ], - [ - "Teemu", - "Lindström", - "Deliver", - "soup" - ], - [ - "Henrik", - "Lehtinen", - "Disable", - "soup" - ], - [ - "Henrik", - "Åstrand", - "Produce", - "results" - ], - [ - "John", - "Åstrand", - "Implement", - "the dog" - ], - [ - "Joonas", - "Paul", - "Activate", - "soup" - ], - [ - "John", - "Ahlroos", - "Design", - "teleportation" - ], - [ - "Artur", - "Lindström", - "Deliver", - "results" - ], - [ - "Joonas", - "Suo-Anttila", - "Import", - "the dog" - ], - [ - "John", - "Dahlström", - "Export", - "the dog" - ], - [ - "Henrik", - "Signell", - "Import", - "results" - ], - [ - "Leif", - "Ahlroos", - "Invent", - "Vaadin" - ], - [ - "Artur", - "Åstrand", - "Invent", - "Vaadin" - ], - [ - "Patrik", - "Ahlroos", - "Polish", - "soup" - ], - [ - "Joonas", - "Suo-Anttila", - "Feed", - "the weather" - ], - [ - "Leif", - "Ahlroos", - "Activate", - "the dog" - ], - [ - "Patrik", - "Ahlroos", - "Produce", - "the dog" - ], - [ - "Henrik", - "Dahlström", - "Deliver", - "Grid" - ], - [ - "Patrik", - "Ahlroos", - "Activate", - "Grid" - ], - [ - "Teemu", - "Åstrand", - "Launch", - "world peace" - ], - [ - "Patrik", - "Dahlström", - "Disable", - "Grid" - ], - [ - "John", - "Åstrand", - "Design", - "the weather" - ], - [ - "Teemu", - "Lehtinen", - "Produce", - "world peace" - ], - [ - "Patrik", - "Suo-Anttila", - "Polish", - "the weather" - ], - [ - "Johannes", - "Lindström", - "Export", - "the weather" - ], - [ - "Patrik", - "Signell", - "Produce", - "world peace" - ], - [ - "John", - "Lehtinen", - "Fix", - "the dog" - ], - [ - "Johannes", - "Lehtinen", - "Disable", - "teleportation" - ], - [ - "Artur", - "Ahlroos", - "Export", - "Vaadin" - ], - [ - "Henrik", - "Ahlroos", - "Fix", - "Grid" - ], - [ - "Henrik", - "Lindström", - "Feed", - "the weather" - ], - [ - "Johannes", - "Dahlström", - "Establish", - "Vaadin" - ], - [ - "Henrik", - "Signell", - "Import", - "results" - ], - [ - "Patrik", - "Åstrand", - "Disable", - "world peace" - ], - [ - "Patrik", - "Suo-Anttila", - "Export", - "the dog" - ], - [ - "Teemu", - "Åstrand", - "Deliver", - "soup" - ], - [ - "Teemu", - "Signell", - "Import", - "Grid" - ], - [ - "Leif", - "Lindström", - "Design", - "soup" - ], - [ - "Patrik", - "Dahlström", - "Polish", - "soup" - ], - [ - "Johannes", - "Signell", - "Implement", - "soup" - ], - [ - "Joonas", - "Paul", - "Activate", - "world peace" - ], - [ - "Joonas", - "Suo-Anttila", - "Feed", - "results" - ], - [ - "Artur", - "Paul", - "Invent", - "results" - ], - [ - "Teemu", - "Paul", - "Fix", - "world peace" - ], - [ - "John", - "Åstrand", - "Implement", - "results" - ], - [ - "Teemu", - "Lehtinen", - "Implement", - "the weather" - ], - [ - "Henrik", - "Lehtinen", - "Fix", - "world peace" - ], - [ - "Teemu", - "Ahlroos", - "Feed", - "soup" - ], - [ - "Henrik", - "Ahlroos", - "Establish", - "Grid" - ], - [ - "Patrik", - "Lehtinen", - "Implement", - "Grid" - ], - [ - "Joonas", - "Åstrand", - "Feed", - "the dog" - ], - [ - "John", - "Lindström", - "Feed", - "results" - ], - [ - "Henrik", - "Suo-Anttila", - "Invent", - "Grid" - ], - [ - "Teemu", - "Lehtinen", - "Export", - "the dog" - ], - [ - "Patrik", - "Signell", - "Import", - "teleportation" - ], - [ - "Artur", - "Paul", - "Polish", - "Grid" - ], - [ - "Artur", - "Ahlroos", - "Activate", - "world peace" - ], - [ - "Patrik", - "Paul", - "Activate", - "results" - ], - [ - "Joonas", - "Ahlroos", - "Polish", - "the dog" - ], - [ - "John", - "Lehtinen", - "Polish", - "results" - ], - [ - "Leif", - "Lindström", - "Disable", - "world peace" - ], - [ - "John", - "Signell", - "Activate", - "Vaadin" - ], - [ - "Johannes", - "Suo-Anttila", - "Implement", - "the weather" - ], - [ - "Johannes", - "Lehtinen", - "Implement", - "teleportation" - ], - [ - "John", - "Signell", - "Establish", - "teleportation" - ], - [ - "Leif", - "Åstrand", - "Produce", - "world peace" - ], - [ - "Henrik", - "Lindström", - "Produce", - "teleportation" - ], - [ - "Teemu", - "Ahlroos", - "Import", - "teleportation" - ], - [ - "Henrik", - "Lindström", - "Produce", - "Vaadin" - ], - [ - "Artur", - "Dahlström", - "Design", - "soup" - ], - [ - "Teemu", - "Suo-Anttila", - "Establish", - "results" - ], - [ - "Joonas", - "Åstrand", - "Import", - "teleportation" - ], - [ - "John", - "Signell", - "Export", - "teleportation" - ], - [ - "Joonas", - "Suo-Anttila", - "Feed", - "world peace" - ], - [ - "Henrik", - "Dahlström", - "Feed", - "world peace" - ], - [ - "Johannes", - "Lehtinen", - "Produce", - "the dog" - ], - [ - "Patrik", - "Dahlström", - "Polish", - "the weather" - ], - [ - "Leif", - "Signell", - "Import", - "teleportation" - ], - [ - "Henrik", - "Paul", - "Activate", - "world peace" - ], - [ - "Artur", - "Dahlström", - "Design", - "world peace" - ], - [ - "Leif", - "Suo-Anttila", - "Activate", - "results" - ], - [ - "Patrik", - "Signell", - "Activate", - "soup" - ], - [ - "Teemu", - "Lehtinen", - "Activate", - "world peace" - ], - [ - "Patrik", - "Dahlström", - "Polish", - "the dog" - ], - [ - "Henrik", - "Åstrand", - "Establish", - "soup" - ], - [ - "Patrik", - "Signell", - "Deliver", - "Vaadin" - ], - [ - "Teemu", - "Åstrand", - "Launch", - "the weather" - ], - [ - "Patrik", - "Lindström", - "Polish", - "Grid" - ], - [ - "Henrik", - "Åstrand", - "Invent", - "the dog" - ], - [ - "Patrik", - "Ahlroos", - "Export", - "teleportation" - ], - [ - "Teemu", - "Signell", - "Export", - "Grid" - ], - [ - "Johannes", - "Ahlroos", - "Establish", - "soup" - ], - [ - "Teemu", - "Paul", - "Launch", - "world peace" - ], - [ - "Joonas", - "Lindström", - "Launch", - "soup" - ], - [ - "Artur", - "Lindström", - "Export", - "results" - ], - [ - "Joonas", - "Dahlström", - "Implement", - "teleportation" - ], - [ - "Artur", - "Ahlroos", - "Implement", - "the weather" - ], - [ - "Joonas", - "Suo-Anttila", - "Import", - "world peace" - ], - [ - "Johannes", - "Lindström", - "Launch", - "Vaadin" - ], - [ - "Johannes", - "Lindström", - "Export", - "Vaadin" - ], - [ - "Leif", - "Lindström", - "Establish", - "soup" - ], - [ - "Joonas", - "Dahlström", - "Activate", - "teleportation" - ], - [ - "Johannes", - "Lehtinen", - "Deliver", - "Grid" - ], - [ - "Henrik", - "Signell", - "Fix", - "Vaadin" - ], - [ - "Henrik", - "Suo-Anttila", - "Polish", - "Grid" - ], - [ - "Artur", - "Signell", - "Fix", - "world peace" - ], - [ - "Henrik", - "Suo-Anttila", - "Establish", - "results" - ], - [ - "Joonas", - "Signell", - "Feed", - "the weather" - ], - [ - "Artur", - "Dahlström", - "Disable", - "Vaadin" - ], - [ - "Leif", - "Suo-Anttila", - "Launch", - "the dog" - ], - [ - "Henrik", - "Åstrand", - "Invent", - "soup" - ], - [ - "Joonas", - "Paul", - "Deliver", - "Vaadin" - ], - [ - "John", - "Lindström", - "Invent", - "world peace" - ], - [ - "Leif", - "Åstrand", - "Deliver", - "results" - ], - [ - "Artur", - "Lindström", - "Fix", - "the dog" - ], - [ - "Henrik", - "Suo-Anttila", - "Activate", - "the dog" - ], - [ - "Leif", - "Paul", - "Deliver", - "results" - ], - [ - "Leif", - "Ahlroos", - "Disable", - "the weather" - ], - [ - "Artur", - "Suo-Anttila", - "Produce", - "soup" - ], - [ - "Artur", - "Signell", - "Disable", - "Vaadin" - ], - [ - "Joonas", - "Lehtinen", - "Launch", - "soup" - ], - [ - "Teemu", - "Lehtinen", - "Deliver", - "the weather" - ], - [ - "Henrik", - "Åstrand", - "Export", - "Grid" - ], - [ - "Artur", - "Lindström", - "Activate", - "soup" - ], - [ - "Artur", - "Dahlström", - "Implement", - "the weather" - ], - [ - "Joonas", - "Dahlström", - "Fix", - "the weather" - ], - [ - "Joonas", - "Dahlström", - "Activate", - "soup" - ], - [ - "Johannes", - "Dahlström", - "Fix", - "the weather" - ], - [ - "Artur", - "Åstrand", - "Implement", - "soup" - ], - [ - "Joonas", - "Ahlroos", - "Feed", - "the dog" - ], - [ - "John", - "Dahlström", - "Invent", - "soup" - ], - [ - "Patrik", - "Suo-Anttila", - "Design", - "results" - ], - [ - "Johannes", - "Lindström", - "Design", - "soup" - ], - [ - "Teemu", - "Paul", - "Fix", - "the weather" - ], - [ - "John", - "Paul", - "Produce", - "Vaadin" - ], - [ - "Leif", - "Suo-Anttila", - "Feed", - "Grid" - ], - [ - "Johannes", - "Åstrand", - "Disable", - "Vaadin" - ], - [ - "Patrik", - "Lehtinen", - "Fix", - "Vaadin" - ] - ]; - - myBigDataSize = myBigData.length; diff --git a/vaadin-grid/test/common.js b/vaadin-grid/test/common.js deleted file mode 100644 index 4815d96..0000000 --- a/vaadin-grid/test/common.js +++ /dev/null @@ -1,86 +0,0 @@ -var grid, wrapper; - -describe.feature = function(description, suite) { - describe(description, function() { - before(function(done) { - initializeGrid(); - - waitUntil(function() { - return grid.then; - }, done, done); - }); - - after(function() { - return grid; //make sure everything is finished before moving on. - }); - - suite(); - }); -}; - -function gridContainsText(_grid, text) { - return Polymer.dom(_grid.root).querySelector(".v-grid-tablewrapper").parentElement.innerHTML.indexOf(text) > -1; -} - -function waitUntil(check, exec, onTimeout) { - var id = setInterval(function() { - if (check()) { - clearInterval(id); - clearTimeout(timeoutId); - exec(); - } - }, 100); - - var timeoutId = setTimeout(function() { - clearInterval(id); - assert.fail(); - onTimeout(); - }, 5000); -} - - -function initializeGrid() { - wrapper = document.getElementById("gridwrapper"); - wrapper.innerHTML = "" + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " "+ - "
Grid10000
VaadinX1000
NameValue
" + - "
"; - grid = wrapper.querySelector("v-grid"); - - return grid; -}; - -var local = function() { - return Polymer.dom(grid.root); -}; -var light = function() { - return Polymer.dom(grid); -}; - -var qLocal = function(selector) { - return local().querySelector(selector); -}; -var qaLocal = function(selector) { - return local().querySelectorAll(selector); -}; -var qLight = function(selector) { - return light().querySelector(selector); -}; diff --git a/vaadin-grid/test/grid-binding-data.html b/vaadin-grid/test/grid-binding-data.html deleted file mode 100644 index 2d82b26..0000000 --- a/vaadin-grid/test/grid-binding-data.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - - - - - - - - - - - -
- - - - - diff --git a/vaadin-grid/test/grid-editing-columns.html b/vaadin-grid/test/grid-editing-columns.html deleted file mode 100644 index 105aa3e..0000000 --- a/vaadin-grid/test/grid-editing-columns.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - - - - - - - - - - - - - -
- - - - - diff --git a/vaadin-grid/test/grid-editor-handler.html b/vaadin-grid/test/grid-editor-handler.html deleted file mode 100644 index 20c6e66..0000000 --- a/vaadin-grid/test/grid-editor-handler.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - - - - - - - - - - -
- - - - - diff --git a/vaadin-grid/test/grid-properties.html b/vaadin-grid/test/grid-properties.html deleted file mode 100644 index 46743a4..0000000 --- a/vaadin-grid/test/grid-properties.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - -
- - - - - diff --git a/vaadin-grid/test/grid-redrawer.html b/vaadin-grid/test/grid-redrawer.html deleted file mode 100644 index 81c5f49..0000000 --- a/vaadin-grid/test/grid-redrawer.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - - - - - - - -
- - - - - diff --git a/vaadin-grid/test/grid-rendering-light-dom.html b/vaadin-grid/test/grid-rendering-light-dom.html deleted file mode 100644 index 0251cd7..0000000 --- a/vaadin-grid/test/grid-rendering-light-dom.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - - - - - - - - - -
- - - - - diff --git a/vaadin-grid/test/grid-scrolling-rows.html b/vaadin-grid/test/grid-scrolling-rows.html deleted file mode 100644 index a0ff781..0000000 --- a/vaadin-grid/test/grid-scrolling-rows.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - -
- - - - - diff --git a/vaadin-grid/test/grid-selecting-rows.html b/vaadin-grid/test/grid-selecting-rows.html deleted file mode 100644 index 0ac2eee..0000000 --- a/vaadin-grid/test/grid-selecting-rows.html +++ /dev/null @@ -1,645 +0,0 @@ - - - - - - - - - - - - - - - - -
- - - - - diff --git a/vaadin-grid/test/grid-sorting-rows.html b/vaadin-grid/test/grid-sorting-rows.html deleted file mode 100644 index 59acbbf..0000000 --- a/vaadin-grid/test/grid-sorting-rows.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - -
- - diff --git a/vaadin-grid/test/grid-static-sections.html b/vaadin-grid/test/grid-static-sections.html deleted file mode 100644 index 757e8d2..0000000 --- a/vaadin-grid/test/grid-static-sections.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - - - - - - - -
- - - - \ No newline at end of file diff --git a/vaadin-grid/test/index.html b/vaadin-grid/test/index.html deleted file mode 100644 index e9bd2fc..0000000 --- a/vaadin-grid/test/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - diff --git a/vaadin-grid/vaadin-grid-doc.html b/vaadin-grid/vaadin-grid-doc.html index 838bcd7..9edd9de 100644 --- a/vaadin-grid/vaadin-grid-doc.html +++ b/vaadin-grid/vaadin-grid-doc.html @@ -1,16 +1,13 @@ - - - - - - - - - - - - - diff --git a/vaadin-grid/vaadin-grid-import.html b/vaadin-grid/vaadin-grid-import.html deleted file mode 100644 index a308ae3..0000000 --- a/vaadin-grid/vaadin-grid-import.html +++ /dev/null @@ -1,627 +0,0 @@ - - - - - - - - diff --git a/vaadin-grid/vaadin-grid.html b/vaadin-grid/vaadin-grid.html index 5a545bf..d874769 100644 --- a/vaadin-grid/vaadin-grid.html +++ b/vaadin-grid/vaadin-grid.html @@ -2,8 +2,8 @@ @element v-grid --> - + - diff --git a/vaadin-grid/vaadin-grid.html.orig b/vaadin-grid/vaadin-grid.html.orig deleted file mode 100644 index 3e15627..0000000 --- a/vaadin-grid/vaadin-grid.html.orig +++ /dev/null @@ -1,993 +0,0 @@ - - - - - - - - - - - - - -- cgit v1.2.3