@@ -44,6 +44,18 @@ angular.module('schemaForm').provider('sfPath',
4444 } ;
4545} ] ) ;
4646
47+ return schemaForm ;
48+ } ) ) ;
49+
50+ ( function ( root , factory ) {
51+ if ( typeof define === 'function' && define . amd ) {
52+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
53+ } else if ( typeof exports === 'object' ) {
54+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
55+ } else {
56+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
57+ }
58+ } ( this , function ( angular , objectpath , tv4 ) {
4759/**
4860 * @ngdoc service
4961 * @name sfSelect
@@ -119,6 +131,18 @@ angular.module('schemaForm').factory('sfSelect', ['sfPath', function(sfPath) {
119131 } ;
120132} ] ) ;
121133
134+ return schemaForm ;
135+ } ) ) ;
136+
137+ ( function ( root , factory ) {
138+ if ( typeof define === 'function' && define . amd ) {
139+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
140+ } else if ( typeof exports === 'object' ) {
141+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
142+ } else {
143+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
144+ }
145+ } ( this , function ( angular , objectpath , tv4 ) {
122146
123147// FIXME: type template (using custom builder)
124148angular . module ( 'schemaForm' ) . provider ( 'sfBuilder' , [ 'sfPathProvider' , function ( sfPathProvider ) {
@@ -318,6 +342,18 @@ angular.module('schemaForm').provider('sfBuilder', ['sfPathProvider', function(s
318342
319343} ] ) ;
320344
345+ return schemaForm ;
346+ } ) ) ;
347+
348+ ( function ( root , factory ) {
349+ if ( typeof define === 'function' && define . amd ) {
350+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
351+ } else if ( typeof exports === 'object' ) {
352+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
353+ } else {
354+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
355+ }
356+ } ( this , function ( angular , objectpath , tv4 ) {
321357angular . module ( 'schemaForm' ) . provider ( 'schemaFormDecorators' ,
322358[ '$compileProvider' , 'sfPathProvider' , function ( $compileProvider , sfPathProvider ) {
323359 var defaultDecorator = '' ;
@@ -804,6 +840,18 @@ angular.module('schemaForm').provider('schemaFormDecorators',
804840
805841} ] ) ;
806842
843+ return schemaForm ;
844+ } ) ) ;
845+
846+ ( function ( root , factory ) {
847+ if ( typeof define === 'function' && define . amd ) {
848+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
849+ } else if ( typeof exports === 'object' ) {
850+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
851+ } else {
852+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
853+ }
854+ } ( this , function ( angular , objectpath , tv4 ) {
807855angular . module ( 'schemaForm' ) . provider ( 'sfErrorMessage' , function ( ) {
808856
809857 // The codes are tv4 error codes.
@@ -932,6 +980,18 @@ angular.module('schemaForm').provider('sfErrorMessage', function() {
932980
933981} ) ;
934982
983+ return schemaForm ;
984+ } ) ) ;
985+
986+ ( function ( root , factory ) {
987+ if ( typeof define === 'function' && define . amd ) {
988+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
989+ } else if ( typeof exports === 'object' ) {
990+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
991+ } else {
992+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
993+ }
994+ } ( this , function ( angular , objectpath , tv4 ) {
935995/**
936996 * Schema form service.
937997 * This service is not that useful outside of schema form directive
@@ -1405,6 +1465,18 @@ angular.module('schemaForm').provider('schemaForm',
14051465
14061466} ] ) ;
14071467
1468+ return schemaForm ;
1469+ } ) ) ;
1470+
1471+ ( function ( root , factory ) {
1472+ if ( typeof define === 'function' && define . amd ) {
1473+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
1474+ } else if ( typeof exports === 'object' ) {
1475+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
1476+ } else {
1477+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
1478+ }
1479+ } ( this , function ( angular , objectpath , tv4 ) {
14081480/* Common code for validating a value against its form and schema definition */
14091481/* global tv4 */
14101482angular . module ( 'schemaForm' ) . factory ( 'sfValidator' , [ function ( ) {
@@ -1464,6 +1536,18 @@ angular.module('schemaForm').factory('sfValidator', [function() {
14641536 return validator ;
14651537} ] ) ;
14661538
1539+ return schemaForm ;
1540+ } ) ) ;
1541+
1542+ ( function ( root , factory ) {
1543+ if ( typeof define === 'function' && define . amd ) {
1544+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
1545+ } else if ( typeof exports === 'object' ) {
1546+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
1547+ } else {
1548+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
1549+ }
1550+ } ( this , function ( angular , objectpath , tv4 ) {
14671551/**
14681552 * Directive that handles the model arrays
14691553 */
@@ -1725,6 +1809,18 @@ angular.module('schemaForm').directive('sfArray', ['sfSelect', 'schemaForm', 'sf
17251809 }
17261810] ) ;
17271811
1812+ return schemaForm ;
1813+ } ) ) ;
1814+
1815+ ( function ( root , factory ) {
1816+ if ( typeof define === 'function' && define . amd ) {
1817+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
1818+ } else if ( typeof exports === 'object' ) {
1819+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
1820+ } else {
1821+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
1822+ }
1823+ } ( this , function ( angular , objectpath , tv4 ) {
17281824/**
17291825 * A version of ng-changed that only listens if
17301826 * there is actually a onChange defined on the form
@@ -1754,6 +1850,18 @@ angular.module('schemaForm').directive('sfChanged', function() {
17541850 } ;
17551851} ) ;
17561852
1853+ return schemaForm ;
1854+ } ) ) ;
1855+
1856+ ( function ( root , factory ) {
1857+ if ( typeof define === 'function' && define . amd ) {
1858+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
1859+ } else if ( typeof exports === 'object' ) {
1860+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
1861+ } else {
1862+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
1863+ }
1864+ } ( this , function ( angular , objectpath , tv4 ) {
17571865angular . module ( 'schemaForm' ) . directive ( 'sfField' ,
17581866 [ '$parse' , '$compile' , '$http' , '$templateCache' , '$interpolate' , '$q' , 'sfErrorMessage' ,
17591867 'sfPath' , 'sfSelect' ,
@@ -1996,6 +2104,18 @@ angular.module('schemaForm').directive('sfField',
19962104 }
19972105 ] ) ;
19982106
2107+ return schemaForm ;
2108+ } ) ) ;
2109+
2110+ ( function ( root , factory ) {
2111+ if ( typeof define === 'function' && define . amd ) {
2112+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
2113+ } else if ( typeof exports === 'object' ) {
2114+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
2115+ } else {
2116+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
2117+ }
2118+ } ( this , function ( angular , objectpath , tv4 ) {
19992119angular . module ( 'schemaForm' ) . directive ( 'sfMessage' ,
20002120[ '$injector' , 'sfErrorMessage' , function ( $injector , sfErrorMessage ) {
20012121 return {
@@ -2079,6 +2199,18 @@ angular.module('schemaForm').directive('sfMessage',
20792199 } ;
20802200} ] ) ;
20812201
2202+ return schemaForm ;
2203+ } ) ) ;
2204+
2205+ ( function ( root , factory ) {
2206+ if ( typeof define === 'function' && define . amd ) {
2207+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
2208+ } else if ( typeof exports === 'object' ) {
2209+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
2210+ } else {
2211+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
2212+ }
2213+ } ( this , function ( angular , objectpath , tv4 ) {
20822214/*
20832215FIXME: real documentation
20842216<form sf-form="form" sf-schema="schema" sf-decorator="foobar"></form>
@@ -2231,6 +2363,18 @@ angular.module('schemaForm')
22312363 }
22322364] ) ;
22332365
2366+ return schemaForm ;
2367+ } ) ) ;
2368+
2369+ ( function ( root , factory ) {
2370+ if ( typeof define === 'function' && define . amd ) {
2371+ define ( [ 'angular' , 'objectpath' , 'tv4' ] , factory ) ;
2372+ } else if ( typeof exports === 'object' ) {
2373+ module . exports = factory ( require ( 'angular' ) , require ( 'objectpath' ) , require ( 'tv4' ) ) ;
2374+ } else {
2375+ root . schemaForm = factory ( root . angular , root . objectpath , root . tv4 ) ;
2376+ }
2377+ } ( this , function ( angular , objectpath , tv4 ) {
22342378angular . module ( 'schemaForm' ) . directive ( 'schemaValidate' , [ 'sfValidator' , '$parse' , 'sfSelect' ,
22352379 function ( sfValidator , $parse , sfSelect ) {
22362380
0 commit comments