Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: json-schema-form/angular-schema-form
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.7.12
Choose a base ref
...
head repository: json-schema-form/angular-schema-form
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: development
Choose a head ref
Loading
Showing with 15,871 additions and 6,170 deletions.
  1. +5 −0 .babelrc
  2. +49 −0 .eslintrc.json
  3. +27 −0 .github/ISSUE_TEMPLATE.md
  4. +16 −0 .github/PULL_REQUEST_TEMPLATE.md
  5. +1 −0 .gitignore
  6. +12 −1 .jscs.json
  7. +4 −6 .jshintrc
  8. +9 −1 .npmignore
  9. +3 −1 .travis.yml
  10. +216 −12 CHANGELOG
  11. +79 −7 CONTRIBUTING.md
  12. +79 −60 README.md
  13. +15 −11 bower.json
  14. +525 −0 dist/angular-schema-form-bootstrap.js
  15. +17 −0 dist/angular-schema-form-bootstrap.min.js
  16. +5,727 −0 dist/angular-schema-form.js
  17. +31 −0 dist/angular-schema-form.min.js
  18. +0 −80 dist/bootstrap-decorator.js
  19. +0 −1 dist/bootstrap-decorator.min.js
  20. +0 −1,516 dist/schema-form.js
  21. +0 −1 dist/schema-form.min.js
  22. +348 −132 docs/extending.md
  23. +587 −129 docs/index.md
  24. +68 −0 docs/migration.md
  25. +23 −0 docs/support.md
  26. +107 −0 examples/add-on/calculate.js
  27. +0 −184 examples/bootstrap-example.html
  28. +56 −0 examples/builder.html
  29. +76 −0 examples/builder2.html
  30. +21 −0 examples/data/array-of-types.json
  31. +62 −0 examples/data/array-radiobuttons.json
  32. +43 −0 examples/data/autocomplete.json
  33. +87 −0 examples/data/calculate.json
  34. +39 −0 examples/data/conditional-required.json
  35. +26 −0 examples/data/custom-error.json
  36. +106 −0 examples/data/deep-array.json
  37. +19 −0 examples/data/jsonref.json
  38. +9 −0 examples/data/remote-titlemap-books.json
  39. +10 −0 examples/data/remote-titlemap-movies.json
  40. +8 −0 examples/data/resolve.local-schema.js
  41. +28 −0 examples/data/simple-oneOf.json
  42. +16 −0 examples/data/simple.json
  43. +5 −10 examples/data/sink.json
  44. +21 −0 examples/data/switch.json
  45. +1 −1 examples/data/tabarray.json
  46. +85 −0 examples/data/tabs.json
  47. +57 −29 examples/data/titlemaps.json
  48. +437 −0 examples/example.html
  49. +0 −29 gulp/tasks/bootstrap-datepicker.js
  50. +0 −32 gulp/tasks/bootstrap.js
  51. +1 −3 gulp/tasks/default.js
  52. +2 −2 gulp/tasks/jscs.js
  53. +0 −18 gulp/tasks/minify.js
  54. +1 −2 gulpfile.js
  55. +164 −0 jslicense.html
  56. +45 −42 karma.conf.js
  57. +55 −34 package.json
  58. +0 −245 src/directives/array.js
  59. +0 −28 src/directives/changed.js
  60. +0 −1 src/directives/decorators/bootstrap/actions-trcl.html
  61. +0 −13 src/directives/decorators/bootstrap/actions.html
  62. +0 −28 src/directives/decorators/bootstrap/array.html
  63. +0 −61 src/directives/decorators/bootstrap/bootstrap-decorator.js
  64. +0 −16 src/directives/decorators/bootstrap/checkbox.html
  65. +0 −20 src/directives/decorators/bootstrap/checkboxes.html
  66. +0 −28 src/directives/decorators/bootstrap/default.html
  67. +0 −5 src/directives/decorators/bootstrap/fieldset-trcl.html
  68. +0 −5 src/directives/decorators/bootstrap/fieldset.html
  69. +0 −1 src/directives/decorators/bootstrap/help.html
  70. +0 −23 src/directives/decorators/bootstrap/radio-buttons.html
  71. +0 −17 src/directives/decorators/bootstrap/radios-inline.html
  72. +0 −17 src/directives/decorators/bootstrap/radios.html
  73. +0 −6 src/directives/decorators/bootstrap/readonly.html
  74. +0 −3 src/directives/decorators/bootstrap/section.html
  75. +0 −18 src/directives/decorators/bootstrap/select.html
  76. +0 −12 src/directives/decorators/bootstrap/submit.html
  77. +0 −58 src/directives/decorators/bootstrap/tabarray.html
  78. +0 −21 src/directives/decorators/bootstrap/tabs.html
  79. +0 −13 src/directives/decorators/bootstrap/textarea.html
  80. +0 −165 src/directives/schema-form.js
  81. +202 −0 src/directives/schema-validate.directive.js
  82. +175 −0 src/directives/schema-validate.directive.spec.js
  83. +0 −96 src/directives/schema-validate.js
  84. +235 −0 src/directives/sf-array.directive.js
  85. +104 −0 src/directives/sf-array.directive.spec.js
  86. +39 −0 src/directives/sf-changed.directive.js
  87. +362 −0 src/directives/sf-field.directive.js
  88. +115 −0 src/directives/sf-field.directive.spec.js
  89. +37 −0 src/directives/sf-key.directive.js
  90. +103 −0 src/directives/sf-message.directive.js
  91. +58 −0 src/directives/sf-message.directive.spec.js
  92. +246 −0 src/directives/sf-schema.directive.js
  93. +2,887 −0 src/directives/sf-schema.directive.spec.js
  94. +0 −23 src/module.js
  95. +64 −0 src/schema-form.module.js
  96. +0 −74 src/services/Select.js
  97. +0 −332 src/services/decorators.js
  98. +585 −0 src/services/schema-form-decorators.provider.js
  99. +55 −0 src/services/schema-form-decorators.provider.spec.js
  100. +0 −458 src/services/schema-form.js
  101. +123 −0 src/services/schema-form.provider.js
  102. +240 −166 test/services/schema-form-test.js → src/services/schema-form.provider.spec.js
  103. +347 −0 src/services/sf-builder.provider.js
  104. +135 −0 src/services/sf-error-message.provider.js
  105. +219 −0 src/services/sf-error-message.provider.spec.js
  106. +23 −0 src/services/sf-path.provider.js
  107. +0 −58 src/services/validator.js
  108. +0 −28 src/sfPath.js
  109. +0 −1,758 test/directives/schema-form-test.js
  110. +0 −29 test/services/decorators-test.js
  111. +15 −0 webpack.config.dist.js
  112. +74 −0 webpack.config.js
5 changes: 5 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"presets": [
["es2015", { "modules": false }]
]
}
49 changes: 49 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": "google",
"rules": {
"array-bracket-spacing": [
2,
"always",
{
"objectsInArrays": false,
"arraysInArrays": false
}
],
"object-curly-spacing": [
2,
"always",
{
"objectsInObjects": false,
"arraysInObjects": false
}
],
"brace-style": [
2,
"stroustrup",
{
"allowSingleLine": true
}
],
"max-len": [
2,
120,
{ "ignoreStrings": true }
],
"semi": [
2,
"always"
],
"linebreak-style": "off",
"space-before-function-paren": "off",
"valid-jsdoc": "off",
"no-invalid-this": "off"
}
}
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
Only include sections relevant to your issue.
If you have not read docs/support.md and followed its guidance you may be ignored or closed without response.
Please use PREVIEW before you submit!!
-->
#### Enhancement
As a user/developer, when I ... I should be able to ...

#### Expected behaviour
I expected ...

#### Actual behaviour
It actually ...

#### Gist/Plunker/Demo
<!--
Here is a demo plunker you can use as a starting point
https://plnkr.co/edit/C9mM5feGGZ0N7povA84G?p=preview
-->
[Description](url)

#### Related issues
This is/maybe related to ...

@json-schema-form/angular-schema-form-lead
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#### Description

Add your description here

#### Fixes Related issues
- add related
- issues here

#### Checklist
- [ ] I have read and understand the CONTRIBUTIONS.md file
- [ ] I have searched for and linked related issues
- [ ] I have created test cases to ensure quick resolution of the PR is easier
- [ ] I am NOT targeting main branch
- [ ] I did NOT include the dist folder in my PR

@json-schema-form/angular-schema-form-lead
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
coverage
bower_components
*.log
13 changes: 12 additions & 1 deletion .jscs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"preset": "google",
"maximumLineLength": 100
"disallowSpacesInsideObjectBrackets": null,
"requireSpacesInsideObjectBrackets": {
"allExcept": [ "[", "]", "{", "}" ]
},
"disallowSpacesInsideArrayBrackets": null,
"requireSpacesInsideArrayBrackets": {
"allExcept": [ "[", "]", "{", "}" ]
},
"disallowKeywordsOnNewLine": [ ],
"disallowMultipleVarDecl": null,
"maximumLineLength": 120,
"requireSemicolons": true
}
10 changes: 4 additions & 6 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -2,26 +2,24 @@
"undef": true,
"unused": true,
"browser": true,
"globals": {
"esnext":true,
"globals": {
"console":false,
"jQuery": false,
"$":false,
"assertEquals": false,
"jstestdriver": false,
"assertTrue": false,
"assertFalse": false,
"assertFalse": false,
"describe": false,
"it":false,
"expect": false,
"sinon":false,
"beforeEach": false,
"afterEach": false,
"angular": false,
"module": false,
"inject": false,
"chai": false,
"should": false,
"Jed": false,
"tws": false
}
}
}
10 changes: 9 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
**/.*
**/.*
**/*.js
**/webpack.*
/node_modules/
/bower_components/
/coverage/
/examples/
/src/
/test/
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
language: node_js
node_js:
- 0.10
- 6

before_script:
- npm install -g bower
- bower install

sudo: false
Loading