r247 - in nuiton-js-angular-ui-utils/trunk: . src src/main src/main/resources src/main/resources/META-INF src/main/resources/META-INF/nuiton-js src/site src/site/rst
Author: echatellier Date: 2013-11-18 21:23:54 +0100 (Mon, 18 Nov 2013) New Revision: 247 Url: http://nuiton.org/projects/nuiton-js/repository/revisions/247 Log: Initial import. Added: nuiton-js-angular-ui-utils/trunk/LICENSE.txt nuiton-js-angular-ui-utils/trunk/README.txt nuiton-js-angular-ui-utils/trunk/generate-extra-group.sh nuiton-js-angular-ui-utils/trunk/pom.xml nuiton-js-angular-ui-utils/trunk/src/ nuiton-js-angular-ui-utils/trunk/src/main/ nuiton-js-angular-ui-utils/trunk/src/main/resources/ nuiton-js-angular-ui-utils/trunk/src/main/resources/META-INF/ nuiton-js-angular-ui-utils/trunk/src/main/resources/META-INF/nuiton-js/ nuiton-js-angular-ui-utils/trunk/src/main/resources/META-INF/nuiton-js/wro-angular-ui-utils.xml nuiton-js-angular-ui-utils/trunk/src/site/ nuiton-js-angular-ui-utils/trunk/src/site/rst/ nuiton-js-angular-ui-utils/trunk/src/site/rst/index.rst.vm nuiton-js-angular-ui-utils/trunk/src/site/site_en.xml Added: nuiton-js-angular-ui-utils/trunk/LICENSE.txt =================================================================== --- nuiton-js-angular-ui-utils/trunk/LICENSE.txt (rev 0) +++ nuiton-js-angular-ui-utils/trunk/LICENSE.txt 2013-11-18 20:23:54 UTC (rev 247) @@ -0,0 +1,166 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. + Property changes on: nuiton-js-angular-ui-utils/trunk/LICENSE.txt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Property changes on: nuiton-js-angular-ui-utils/trunk/README.txt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Added: nuiton-js-angular-ui-utils/trunk/generate-extra-group.sh =================================================================== --- nuiton-js-angular-ui-utils/trunk/generate-extra-group.sh (rev 0) +++ nuiton-js-angular-ui-utils/trunk/generate-extra-group.sh 2013-11-18 20:23:54 UTC (rev 247) @@ -0,0 +1,18 @@ +#!/bin/sh +# +# Permet de genere le code XML necessaire pour la declaration des extras +# il faut ensuite mettre ce qui est genere dans le fichier META-INF/nuiton-js/nuiton-js-angular.xml +# +for t in target/ui-utils*/modules/*/*.js; do + f=$(basename $t) + n=$(basename $t .js) + echo -e " <group name='angular-ui-$n'>" + echo -e " <group-ref>angularjs</group-ref>" + echo -e " <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/$n/$f</js>" + echo -e " </group>\n" + all="$all <group-ref>angular-ui-$n</group-ref>\n" +done +echo -e " <group name='angular-ui-utils'>" +echo -ne "$all" +echo -e " <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/ui-utils.js</js>" +echo -e " </group>\n" Property changes on: nuiton-js-angular-ui-utils/trunk/generate-extra-group.sh ___________________________________________________________________ Added: svn:executable + * Added: nuiton-js-angular-ui-utils/trunk/pom.xml =================================================================== --- nuiton-js-angular-ui-utils/trunk/pom.xml (rev 0) +++ nuiton-js-angular-ui-utils/trunk/pom.xml 2013-11-18 20:23:54 UTC (rev 247) @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + + <parent> + <groupId>org.nuiton.js</groupId> + <artifactId>nuiton-js-lib</artifactId> + <version>1.0.1</version> + </parent> + + <artifactId>nuiton-js-angular-ui-utils</artifactId> + <version>0.0.4-1-SNAPSHOT</version> + + <name>Nuiton JS :: AngularJS UI-Utils</name> + <description>AngularJS UI-Utils jar packaging</description> + + <url>http://angularjs.org/</url> + + <properties> + <upstreamVersion>0.0.4</upstreamVersion> + <upstreamUrl>https://github.com/angular-ui/ui-utils/archive/</upstreamUrl> + <destDir>${project.build.outputDirectory}/META-INF/resources/${project.artifactId}</destDir> + </properties> + + <licenses> + <license> + <name>MIT License</name> + <url>https://raw.github.com/angular-ui/ui-utils/master/LICENSE</url> + </license> + </licenses> + + <scm> + <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/nuiton-js-angular-ui-utils/trunk</connection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/nuiton-angular-ui-utils/trunk</developerConnection> + <url>http://www.nuiton.org/repositories/browse/nuiton-js/nuiton-js-angular-ui-utils/trunk</url> + </scm> + + <dependencies> + <dependency> + <groupId>org.nuiton.js</groupId> + <artifactId>nuiton-js-angularjs</artifactId> + <version>1.2.0-1</version> + <scope>runtime</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>wagon-maven-plugin</artifactId> + <version>1.0-beta-4</version> + <executions> + <execution> + <phase>process-resources</phase> + <goals> + <goal>download-single</goal> + </goals> + <configuration> + <url>${upstreamUrl}</url> + <fromFile>v${upstreamVersion}.zip</fromFile> + <toFile>${project.build.directory}/${project.artifactId}.zip</toFile> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <phase>process-resources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo message="unzip archive" /> + <unzip src="${project.build.directory}/${project.artifactId}.zip" dest="${project.build.directory}" /> + <echo message="moving resources" /> + <copy todir="${destDir}"> + <fileset dir="${project.build.directory}/ui-utils-${upstreamVersion}"> + <include name="modules/*/*.js"/> + <include name="modules/*.js"/> + </fileset> + </copy> + </target> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> Property changes on: nuiton-js-angular-ui-utils/trunk/pom.xml ___________________________________________________________________ Added: svn:mime-type + text/xml Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Added: nuiton-js-angular-ui-utils/trunk/src/main/resources/META-INF/nuiton-js/wro-angular-ui-utils.xml =================================================================== --- nuiton-js-angular-ui-utils/trunk/src/main/resources/META-INF/nuiton-js/wro-angular-ui-utils.xml (rev 0) +++ nuiton-js-angular-ui-utils/trunk/src/main/resources/META-INF/nuiton-js/wro-angular-ui-utils.xml 2013-11-18 20:23:54 UTC (rev 247) @@ -0,0 +1,118 @@ +<!-- + #%L + Nuiton JS :: AngularJS + $Id$ + $HeadURL$ + %% + Copyright (C) 2013 CodeLutin, Chatellier Eric + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<groups xmlns="http://www.isdc.ro/wro"> + <group name='angular-ui-event'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/event/event.js</js> + </group> + + <group name='angular-ui-format'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/format/format.js</js> + </group> + + <group name='angular-ui-highlight'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/highlight/highlight.js</js> + </group> + + <group name='angular-ui-ie-shiv'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/ie-shiv/ie-shiv.js</js> + </group> + + <group name='angular-ui-indeterminate'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/indeterminate/indeterminate.js</js> + </group> + + <group name='angular-ui-inflector'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/inflector/inflector.js</js> + </group> + + <group name='angular-ui-jq'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/jq/jq.js</js> + </group> + + <group name='angular-ui-keypress'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/keypress/keypress.js</js> + </group> + + <group name='angular-ui-mask'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/mask/mask.js</js> + </group> + + <group name='angular-ui-reset'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/reset/reset.js</js> + </group> + + <group name='angular-ui-route'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/route/route.js</js> + </group> + + <group name='angular-ui-scrollfix'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/scrollfix/scrollfix.js</js> + </group> + + <group name='angular-ui-showhide'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/showhide/showhide.js</js> + </group> + + <group name='angular-ui-unique'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/unique/unique.js</js> + </group> + + <group name='angular-ui-validate'> + <group-ref>angularjs</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/validate/validate.js</js> + </group> + + <group name='angular-ui-utils'> + <group-ref>angular-ui-event</group-ref> + <group-ref>angular-ui-format</group-ref> + <group-ref>angular-ui-highlight</group-ref> + <group-ref>angular-ui-ie-shiv</group-ref> + <group-ref>angular-ui-indeterminate</group-ref> + <group-ref>angular-ui-inflector</group-ref> + <group-ref>angular-ui-jq</group-ref> + <group-ref>angular-ui-keypress</group-ref> + <group-ref>angular-ui-mask</group-ref> + <group-ref>angular-ui-reset</group-ref> + <group-ref>angular-ui-route</group-ref> + <group-ref>angular-ui-scrollfix</group-ref> + <group-ref>angular-ui-showhide</group-ref> + <group-ref>angular-ui-unique</group-ref> + <group-ref>angular-ui-validate</group-ref> + <js>classpath:META-INF/resources/nuiton-js-angularjs-ui-utils/modules/ui-utils.js</js> + </group> +</groups> Property changes on: nuiton-js-angular-ui-utils/trunk/src/main/resources/META-INF/nuiton-js/wro-angular-ui-utils.xml ___________________________________________________________________ Added: svn:mime-type + text/xml Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Added: nuiton-js-angular-ui-utils/trunk/src/site/rst/index.rst.vm =================================================================== --- nuiton-js-angular-ui-utils/trunk/src/site/rst/index.rst.vm (rev 0) +++ nuiton-js-angular-ui-utils/trunk/src/site/rst/index.rst.vm 2013-11-18 20:23:54 UTC (rev 247) @@ -0,0 +1,78 @@ +.. - +.. * #%L +.. * Nuiton JS :: Mustache +.. * $Id: index.rst.vm 157 2013-07-19 21:29:39Z echatellier $ +.. * $HeadURL: http://svn.nuiton.org/svn/nuiton-js/sandbox/nuiton-js-angular/src/site/rst/i... $ +.. * %% +.. * Copyright (C) 2013 CodeLutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Lesser General Public License as +.. * published by the Free Software Foundation, either version 3 of the +.. * License, or (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - + +AngularJS UI-Utils +================== + +Swiss-Army-Knife of AngularJS tools (with no external dependencies!). + +- documentation_ + +.. _documentation: https://github.com/angular-ui/ui-utils + +Use +--- + +Maven part:: + + <dependency> + <groupId>org.nuiton.js</groupId> + <artifactId>nuiton-js-angular-ui-utils</artifactId> + <version>${project.version}</version> + <scope>runtime</scope> + </dependency> + +JSP part:: + + <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + + <script language="javascript" type="text/javascript" src="<c:url value="/nuiton-js/angular-ui-utils.js"/>"></script> + +Available JS +------------ + +- angular-ui-utils.js + +Or as single package: + +- angular-ui-event.js +- angular-ui-format.js +- angular-ui-highlight.js +- angular-ui-ie-shiv.js +- angular-ui-indeterminate.js +- angular-ui-inflector.js +- angular-ui-jq.js +- angular-ui-keypress.js +- angular-ui-mask.js +- angular-ui-reset.js +- angular-ui-route.js +- angular-ui-scrollfix.js +- angular-ui-showhide.js +- angular-ui-unique.js +- angular-ui-validate.js + +Available CSS +------------- + +*none* Added: nuiton-js-angular-ui-utils/trunk/src/site/site_en.xml =================================================================== --- nuiton-js-angular-ui-utils/trunk/src/site/site_en.xml (rev 0) +++ nuiton-js-angular-ui-utils/trunk/src/site/site_en.xml 2013-11-18 20:23:54 UTC (rev 247) @@ -0,0 +1,71 @@ +<!-- + #%L + Nuiton JS :: AngularJS UI-Utils + $Id$ + $HeadURL$ + %% + Copyright (C) 2012 - 2013 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <href>index.html</href> + </bannerLeft> + + <body> + + <head> + <script type="text/javascript" + src="http://maven-site.nuiton.org/public/js/mavenpom-site.js"> + </script> + + <link rel="stylesheet" type="text/css" + href="http://maven-site.nuiton.org/public/css/mavenpom-site.css"/> + </head> + + <breadcrumbs> + <item name="${project.name}" href="${project.url}"/> + </breadcrumbs> + + <menu ref="parent"/> + + <menu name="Users"> + <item name="Home" href="index.html"/> + </menu> + + <menu ref="reports"/> + + <footer> + + <div id='projectMetas' + projectversion='${project.version}' + platform='${project.platform}' + projectid='${project.projectId}' + scm='${project.scm.connection}' + scmwebeditorenabled='${project.scmwebeditorEnabled}' + scmwebeditorurl='${project.scmwebeditorUrl}' + siteSourcesType='${project.siteSourcesType}' + piwikEnabled='${project.piwikEnabled}' + piwikId='${project.piwikId}'> + </div> + </footer> + + </body> + +</project> Property changes on: nuiton-js-angular-ui-utils/trunk/src/site/site_en.xml ___________________________________________________________________ Added: svn:mime-type + text/xml Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native
participants (1)
-
echatellier@users.nuiton.org