diff --git a/README.md b/README.md index 2fd1d35..d9aa697 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,21 @@ -# pt-crud-table -CRUD Table using Polymer Web Components +# \ + +CRUD Table + +## Install the Polymer-CLI + +First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your element locally. + +## Viewing Your Element + +``` +$ polymer serve +``` + +## Running Tests + +``` +$ polymer test +``` + +Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally. diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..3e596dd --- /dev/null +++ b/bower.json @@ -0,0 +1,26 @@ +{ + "name": "pt-crud-table", + "description": "CRUD Table", + "main": "pt-crud-table.html", + "dependencies": { + "polymer": "Polymer/polymer#^2.0.0", + "pt-select": "plusTTeam/pt-select#^1.0.0", + "pt-multilang-input": "plusTTeam/pt-multilang-input#^1.0.0", + "pt-tags-input": "plusTTeam/pt-tags-input#^1.0.0", + "pt-firebase-file-uploader": "plusTTeam/pt-firebase-file-uploader#^1.0.0", + "paper-dialog": "PolymerElements/paper-dialog#^2.0.0", + "vaadin-grid": "vaadin/vaadin-grid#^4.0.0", + "paper-dialog-scrollable": "PolymerElements/paper-dialog-scrollable#^2.1.0", + "iron-form": "PolymerElements/iron-form#^2.0.1", + "paper-checkbox": "PolymerElements/paper-checkbox#^2.0.1", + "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^2.1.0" + }, + "devDependencies": { + "iron-demo-helpers": "PolymerElements/iron-demo-helpers#^2.0.0", + "web-component-tester": "Polymer/web-component-tester#^6.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0" + }, + "resolutions": { + "polymer": "^2.0.0" + } +} diff --git a/demo/index.html b/demo/index.html new file mode 100644 index 0000000..297a1e6 --- /dev/null +++ b/demo/index.html @@ -0,0 +1,39 @@ + + + + + + pt-crud-table demo + + + + + + + + + + + + +
+

Basic pt-crud-table demo

+ + + +
+ + diff --git a/index.html b/index.html new file mode 100644 index 0000000..62e381b --- /dev/null +++ b/index.html @@ -0,0 +1,16 @@ + + + + + + pt-crud-table + + + + + diff --git a/polymer.json b/polymer.json new file mode 100644 index 0000000..2bd10b6 --- /dev/null +++ b/polymer.json @@ -0,0 +1,7 @@ +{ + "lint": { + "rules": [ + "polymer-2" + ] + } +} diff --git a/pt-crud-table.html b/pt-crud-table.html new file mode 100644 index 0000000..a26897e --- /dev/null +++ b/pt-crud-table.html @@ -0,0 +1,425 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/index.html b/test/index.html new file mode 100644 index 0000000..e03259c --- /dev/null +++ b/test/index.html @@ -0,0 +1,18 @@ + + + + + + + + + + + + + diff --git a/test/pt-crud-table_test.html b/test/pt-crud-table_test.html new file mode 100644 index 0000000..6f51287 --- /dev/null +++ b/test/pt-crud-table_test.html @@ -0,0 +1,52 @@ + + + + + + + pt-crud-table test + + + + + + + + + + + + + + + + + + + +