vuetify 1.5.12
This commit is contained in:
		
							parent
							
								
									9fc8fe4a46
								
							
						
					
					
						commit
						009a4b11da
					
				
					 13 changed files with 100 additions and 16 deletions
				
			
		
							
								
								
									
										0
									
								
								src/vue-poc/data/xquery.lib/.ignore
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								src/vue-poc/data/xquery.lib/.ignore
									
										
									
									
									
										Normal file
									
								
							|  | @ -47,7 +47,7 @@ | |||
|     <autooptimize>false</autooptimize> | ||||
|     <bindings/> | ||||
|     <casesens>false</casesens> | ||||
|     <catfile>C:/Users/andy/Desktop/basex.versions/etc/mycatalog.xml</catfile> | ||||
|     <catfile> </catfile> | ||||
|     <checkstrings>true</checkstrings> | ||||
|     <chop>false</chop> | ||||
|     <compplan>true</compplan> | ||||
|  |  | |||
|  | @ -24,7 +24,9 @@ | |||
|       <td >{{ props.item.current }}</td> | ||||
|       <td >{{ props.item.changed }}</td> | ||||
|       <td class="text-xs-right">{{ props.item.default }}</td> | ||||
|       <td><qd-link href="http://docs.basex.org/wiki/Options#">description</qd-link></td> | ||||
|       <td> | ||||
|         <qd-link :href="'http://docs.basex.org/wiki/Options#' + props.item.name.toUpperCase()">description</qd-link> | ||||
|       </td> | ||||
|     </template> | ||||
|   </v-data-table> | ||||
|    </v-card-text> | ||||
|  |  | |||
							
								
								
									
										1
									
								
								src/vue-poc/features/tasks/xqdoc/newnode.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/vue-poc/features/tasks/xqdoc/newnode.xml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| <newnode/> | ||||
							
								
								
									
										4
									
								
								src/vue-poc/lib/plantuml/plantuml-test.xq
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/vue-poc/lib/plantuml/plantuml-test.xq
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| import module namespace  plant='http://quodatum.com/ns/plantuml' at "plantuml.xqm"; | ||||
| (: plant:encode6bit(2) :) | ||||
| (: plant:append3bytes(bin:hex("0"),bin:hex("0"),bin:hex("1")) :) | ||||
| plant:encode64("helloc") | ||||
							
								
								
									
										43
									
								
								src/vue-poc/lib/plantuml/plantuml.xqm
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								src/vue-poc/lib/plantuml/plantuml.xqm
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,43 @@ | |||
| (:~  | ||||
|  :  plantuml library | ||||
|  : @see  http://plantuml.com/code-javascript-synchronous | ||||
|  : @author Andy Bunce | ||||
|  : @version 0.1 | ||||
|  : @date apr 2019   | ||||
| :) | ||||
| module namespace  plant='http://quodatum.com/ns/plantuml'; | ||||
| import module namespace bin="http://expath.org/ns/binary"; | ||||
| 
 | ||||
| declare function plant:encode6bit($b as xs:integer) { | ||||
|   switch(true()) | ||||
|   case ($b lt  10) return fn:codepoints-to-string (48 + $b) | ||||
|   case ($b lt 36) return fn:codepoints-to-string (65 + $b -10) | ||||
|   case ($b lt 62) return fn:codepoints-to-string (97 + $b -36) | ||||
|   case ($b eq 62) return "-" | ||||
|   case ($b eq 63) return "_" | ||||
|   default return "?" | ||||
| }; | ||||
| 
 | ||||
| declare function plant:append3bytes($b1 as xs:base64Binary ,  | ||||
|                                     $b2  as xs:base64Binary , | ||||
|                                     $b3 as xs:base64Binary ) | ||||
|   { | ||||
|   let $c1 := $b1=>bin:shift(-2) | ||||
|   let $c2:= $b1=>bin:and(bin:hex("3"))=>bin:shift(4)=>bin:or(bin:shift($b2,-4)) | ||||
|   let $c3 := $b2=>bin:and(bin:hex("F"))=>bin:shift(2)=>bin:or(bin:shift($b3,-6)) | ||||
|   let $mask:=function($b){bin:and($b,bin:hex("3F"))=>bin:unpack-integer(0,1)} | ||||
|   let $c4 := $b3 =>bin:and(bin:hex("3F")) | ||||
|   return concat(  | ||||
|   plant:encode6bit($mask($c1)), | ||||
|   plant:encode6bit($mask($c2)), | ||||
|   plant:encode6bit($mask($c3)), | ||||
|   plant:encode6bit($mask($c4)) | ||||
|   ) | ||||
| }; | ||||
| 
 | ||||
| declare function plant:encode64($data as xs:string) | ||||
| { | ||||
|   let $b:=bin:encode-string($data,"UTF-8") | ||||
|   let $b:=bin:pad-right($b,bin:length($b) mod 3) | ||||
|   return $b | ||||
| }; | ||||
							
								
								
									
										16
									
								
								src/vue-poc/lib/plantuml/post-test.xq
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/vue-poc/lib/plantuml/post-test.xq
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| (: plant uml post test :) | ||||
| let $target:="http://www.plantuml.com/plantuml/uml" | ||||
| let $req:= <http:request method="POST"  xmlns="http://expath.org/ns/http-client"> | ||||
|   <multipart media-type="multipart/form-data">  | ||||
|        <header name="Content-Disposition" value='form-data; name="uml"'/>    | ||||
|        <body media-type="text/plain"/> | ||||
|        <header name="Content-Disposition" value='form-data; name="format"'/>  | ||||
| 	    <body media-type="text/plain"/> | ||||
| </multipart> | ||||
| </http:request> | ||||
| let $uml:=``[@startuml | ||||
| alice -> bob2 | ||||
| @enduml | ||||
| ]`` | ||||
| let $r:= http:send-request($req,$target,($uml,"svg")) | ||||
| return $r[2] | ||||
|  | @ -65,9 +65,9 @@ | |||
| 								<xsl:value-of select="$filename" /> | ||||
| 								<a href="xqdoc.xml" target="xqdoc"> | ||||
| 									xqdoc | ||||
| 								</a> | ||||
| 								</a>, | ||||
| 								<a href="xqparse.xml" target="xqparse"> | ||||
| 									xparse | ||||
| 									xqparse | ||||
| 								</a> | ||||
| 							</i> | ||||
| 							| | ||||
|  | @ -130,6 +130,7 @@ | |||
|               </td> | ||||
|               <td> | ||||
|                 <xsl:value-of select="string(doc:uri)" /> | ||||
|                 <xsl:sequence select="qd:nslink(doc:uri)"/> | ||||
|               </td> | ||||
|             </tr> | ||||
|           </xsl:for-each> | ||||
|  |  | |||
|  | @ -44,22 +44,30 @@ let $d:=<div> | |||
|                   <tr> | ||||
|                   <th>Uri</th> | ||||
|                   <th>parsed</th> | ||||
|                   <th>Restxq</th> | ||||
|                   <th>Update</th> | ||||
|                   </tr> | ||||
|                   </thead> | ||||
|                   <tbody> | ||||
|                   | ||||
|                      { for $file  at $pos in $state?files | ||||
|                        let $ns:=$file?xqdoc/xqdoc:module/xqdoc:uri/string() | ||||
|                        order by $ns | ||||
|                       | ||||
|                        order by $file?namespace | ||||
|                       return  <tr> | ||||
|                                <td> | ||||
|                                 <a href="{ $file?href }index.html" title="{ $file?path }"> | ||||
|                                   {$ns} | ||||
|                                   { $file?namespace } | ||||
|                                 </a> | ||||
|                                 </td> | ||||
|                                 <td> | ||||
|                                 { $file?xqparse/name() } | ||||
|                                 </td>       | ||||
|                                 </td> | ||||
|                                    <td> | ||||
|                                 { "R" } | ||||
|                                 </td> | ||||
|                                   <td> | ||||
|                                 { "U" } | ||||
|                                 </td>        | ||||
|                             </tr> | ||||
|                       } | ||||
|                   </tbody> | ||||
|  | @ -285,7 +293,7 @@ declare function xqhtml:imports($state,$imports,$opts) | |||
|            </h4> | ||||
|            <ul> | ||||
|            {for $f in  $import?where | ||||
|            return <li><a href="{$f}index.html">mod</a></li> | ||||
|            return <li><a href="{$f?href}index.html">{ $f?namespace }</a></li> | ||||
|          } | ||||
|            </ul> | ||||
|            </div> | ||||
|  |  | |||
|  | @ -89,10 +89,12 @@ return map{ | |||
|              "files": for $file at $pos in $files | ||||
|                       let $full:=concat($efolder || "\", $file) | ||||
|                       let $spath:=translate($file,"\","/") | ||||
|                       let $xqdoc:=xqd:xqdoc($full,map{"_source": $spath}) | ||||
|                       return map{ | ||||
|                         "path":$file, | ||||
|                         "href": ``[modules/F`{ $pos }`/]``, | ||||
|                         "xqdoc": xqd:xqdoc($full,map{"_source": $spath}), | ||||
|                         "namespace": $xqdoc/xqdoc:module/xqdoc:uri/string(), | ||||
|                         "xqdoc": $xqdoc, | ||||
|                         "xqparse": fetch:text($full)=>xqd:parse() | ||||
|                       } | ||||
|            | ||||
|  | @ -107,7 +109,7 @@ as map(*)* | |||
| for $f in $doc?files | ||||
| for $in in $f?xqdoc//xqdoc:import[@type="library"] | ||||
| group by $ns:=$in/xqdoc:uri | ||||
| return map{ "uri": $ns, "where": $f?href} | ||||
| return map{ "uri": $ns, "where": $f} | ||||
| 
 | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
|  | @ -24,4 +24,9 @@ | |||
|     <xsl:sequence select="concat('*',$file)" /> | ||||
|   </xsl:function> | ||||
|    | ||||
|   <!-- link to namespace --> | ||||
|   <xsl:function name="qd:nslink" as="element(a)"> | ||||
|     <xsl:param name="ns" as="xs:string"/> | ||||
|     <a href="imports.html#{ $ns }"><xsl:value-of select="$ns"/></a> | ||||
|   </xsl:function>   | ||||
| </xsl:stylesheet> | ||||
|  | @ -1,4 +1,4 @@ | |||
| // generated 2019-04-04T23:01:43.478+01:00
 | ||||
| // generated 2019-04-13T21:49:49.993+01:00
 | ||||
| 
 | ||||
| // src: file:///C:/Users/andy/git/vue-poc/src/vue-poc/components/qd-autoheight.vue
 | ||||
| Vue.component('qd-autoheight',{template:` 
 | ||||
|  | @ -5478,7 +5478,9 @@ const Basexsettings=Vue.extend({template:` | |||
|       <td>{{ props.item.current }}</td> | ||||
|       <td>{{ props.item.changed }}</td> | ||||
|       <td class="text-xs-right">{{ props.item.default }}</td> | ||||
|       <td><qd-link href="http://docs.basex.org/wiki/Options#">description</qd-link></td> | ||||
|       <td> | ||||
|         <qd-link :href="'http://docs.basex.org/wiki/Options#' + props.item.name.toUpperCase()">description</qd-link> | ||||
|       </td> | ||||
|     </template> | ||||
|   </v-data-table> | ||||
|    </v-card-text> | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ | |||
| 	<link rel="shortcut icon" href="/vue-poc/ui/icon.png"/> | ||||
| 	<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic"/> | ||||
| 	<link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons"/> | ||||
| 	<link rel="stylesheet" href="//unpkg.com/vuetify@1.5.9/dist/vuetify.min.css" type="text/css"/> | ||||
| 	<link rel="stylesheet" href="//unpkg.com/vuetify@1.5.12/dist/vuetify.min.css" type="text/css"/> | ||||
| 	<link rel="stylesheet" href="//unpkg.com/@riophae/vue-treeselect@0.0.29/dist/vue-treeselect.min.css"/> | ||||
| 	<link rel="stylesheet" href="/vue-poc/ui/prism/prism.css" rel="stylesheet" type="text/css"/>  | ||||
| 	<link rel="stylesheet" href="//unpkg.com/leaflet@1.0.3/dist/leaflet.css"/> | ||||
|  | @ -22,7 +22,7 @@ | |||
| 
 | ||||
| <body> | ||||
| <div id="app"> | ||||
| <h3><code>vue-poc</code> <small>(v0.3.161)</small> </h3> | ||||
| <h3><code>vue-poc</code> <small>(v0.3.163)</small> </h3> | ||||
| 
 | ||||
| <div class="spinner"> | ||||
|   <div class="rect1"></div> | ||||
|  | @ -39,7 +39,7 @@ | |||
| <script src="//cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.js" crossorigin="anonymous"></script> | ||||
| <script src="//unpkg.com/vuex@3.1.0/dist/vuex.js" crossorigin="anonymous"></script> | ||||
| <script src="//cdnjs.cloudflare.com/ajax/libs/qs/6.4.0/qs.js" crossorigin="anonymous" ></script> | ||||
| <script src="//unpkg.com/vuetify@1.5.9/dist/vuetify.min.js" crossorigin="anonymous"></script> | ||||
| <script src="//unpkg.com/vuetify@1.5.12/dist/vuetify.min.js" crossorigin="anonymous"></script> | ||||
| <script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.4.3/ace.js"  crossorigin="anonymous"></script> | ||||
| <script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.4.3/ext-language_tools.js"  crossorigin="anonymous"></script> | ||||
| <script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.4.3/ext-linking.js" crossorigin="anonymous" charset="utf-8"></script> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue