1
- /**
2
- * Easy to use Wizard library for AngularJS
3
- * @version v0.8.0 - 2016-09-12 * @link https://github.com/mgonto/angular-wizard
4
- * @author Martin Gontovnikas <[email protected] >
5
- * @license MIT License, http://www.opensource.org/licenses/MIT
6
- */
7
- angular . module ( 'templates-angularwizard' , [ 'step.html' , 'wizard.html' ] ) ;
8
-
9
- angular . module ( "step.html" , [ ] ) . run ( [ "$templateCache" , function ( $templateCache ) {
10
- $templateCache . put ( "step.html" ,
11
- "<section ng-show=\"selected\" ng-class=\"{current: selected, done: completed}\" class=\"step\" ng-transclude>\n" +
12
- "</section>" ) ;
13
- } ] ) ;
14
-
15
- angular . module ( "wizard.html" , [ ] ) . run ( [ "$templateCache" , function ( $templateCache ) {
16
- $templateCache . put ( "wizard.html" ,
17
- "<div>\n" +
18
- " <div class=\"steps\" ng-if=\"indicatorsPosition === 'bottom'\" ng-transclude></div>\n" +
19
- " <ul class=\"steps-indicator steps-{{getEnabledSteps().length}}\" ng-if=\"!hideIndicators\">\n" +
20
- " <li ng-class=\"{default: !step.completed && !step.selected, current: step.selected && !step.completed, done: step.completed && !step.selected, editing: step.selected && step.completed}\" ng-repeat=\"step in getEnabledSteps()\">\n" +
21
- " <a ng-click=\"goTo(step)\">{{step.title || step.wzTitle}}</a>\n" +
22
- " </li>\n" +
23
- " </ul>\n" +
24
- " <div class=\"steps\" ng-if=\"indicatorsPosition === 'top'\" ng-transclude></div>\n" +
25
- "</div>\n" +
26
- "" ) ;
27
- } ] ) ;
28
-
1
+ /**
2
+ * Easy to use Wizard library for AngularJS
3
+ * @version v0.8.0 - 2016-09-14 * @link https://github.com/mgonto/angular-wizard
4
+ * @author Martin Gontovnikas <[email protected] >
5
+ * @license MIT License, http://www.opensource.org/licenses/MIT
6
+ */
7
+ angular . module ( 'templates-angularwizard' , [ 'step.html' , 'wizard.html' ] ) ;
8
+
9
+ angular . module ( "step.html" , [ ] ) . run ( [ "$templateCache" , function ( $templateCache ) {
10
+ $templateCache . put ( "step.html" ,
11
+ "<section ng-show=\"selected\" ng-class=\"{current: selected, done: completed}\" class=\"step\" ng-transclude>\n" +
12
+ "</section>" ) ;
13
+ } ] ) ;
14
+
15
+ angular . module ( "wizard.html" , [ ] ) . run ( [ "$templateCache" , function ( $templateCache ) {
16
+ $templateCache . put ( "wizard.html" ,
17
+ "<div>\n" +
18
+ " <div class=\"steps\" ng-if=\"indicatorsPosition === 'bottom'\" ng-transclude></div>\n" +
19
+ " <ul class=\"steps-indicator steps-{{getEnabledSteps().length}}\" ng-if=\"!hideIndicators\">\n" +
20
+ " <li ng-class=\"{default: !step.completed && !step.selected, current: step.selected && !step.completed, done: step.completed && !step.selected, editing: step.selected && step.completed}\" ng-repeat=\"step in getEnabledSteps()\">\n" +
21
+ " <a ng-click=\"goTo(step)\">{{step.title || step.wzTitle}}</a>\n" +
22
+ " </li>\n" +
23
+ " </ul>\n" +
24
+ " <div class=\"steps\" ng-if=\"indicatorsPosition === 'top'\" ng-transclude></div>\n" +
25
+ "</div>\n" +
26
+ "" ) ;
27
+ } ] ) ;
28
+
29
29
angular . module ( 'mgo-angular-wizard' , [ 'templates-angularwizard' ] ) ;
30
-
30
+
31
31
angular . module ( 'mgo-angular-wizard' ) . directive ( 'wzStep' , function ( ) {
32
32
return {
33
33
restrict : 'EA' ,
@@ -55,7 +55,7 @@ angular.module('mgo-angular-wizard').directive('wzStep', function() {
55
55
}
56
56
} ;
57
57
} ) ;
58
-
58
+
59
59
//wizard directive
60
60
angular . module ( 'mgo-angular-wizard' ) . directive ( 'wizard' , function ( ) {
61
61
return {
@@ -411,7 +411,7 @@ angular.module('mgo-angular-wizard').directive('wizard', function() {
411
411
} ;
412
412
} ]
413
413
} ;
414
- } ) ;
414
+ } ) ;
415
415
function wizardButtonDirective ( action ) {
416
416
angular . module ( 'mgo-angular-wizard' )
417
417
. directive ( action , function ( ) {
@@ -438,7 +438,7 @@ wizardButtonDirective('wzPrevious');
438
438
wizardButtonDirective ( 'wzFinish' ) ;
439
439
wizardButtonDirective ( 'wzCancel' ) ;
440
440
wizardButtonDirective ( 'wzReset' ) ;
441
-
441
+
442
442
angular . module ( 'mgo-angular-wizard' ) . factory ( 'WizardHandler' , function ( ) {
443
443
var service = { } ;
444
444
0 commit comments