Showing
4 changed files
with
218 additions
and
64 deletions
| ... | @@ -325,6 +325,46 @@ app:isDatatypeEnumeration | ... | @@ -325,6 +325,46 @@ app:isDatatypeEnumeration |
| 325 | spin:private "true"^^xsd:boolean ; | 325 | spin:private "true"^^xsd:boolean ; |
| 326 | spin:returnType xsd:boolean . | 326 | spin:returnType xsd:boolean . |
| 327 | 327 | ||
| 328 | +app:isDatatypeRange | ||
| 329 | + rdf:type spin:Function ; | ||
| 330 | + rdfs:comment "Checks whether a given resource (typically the range of a property) is a datatype. It must either be equal to rdfs:Literal or an instance of rdfs:Datatype."^^xsd:string ; | ||
| 331 | + rdfs:label "is datatype range"^^xsd:string ; | ||
| 332 | + rdfs:subClassOf app:Functions ; | ||
| 333 | + spin:body | ||
| 334 | + [ rdf:type sp:Ask ; | ||
| 335 | + sp:where ([ rdf:type sp:Filter ; | ||
| 336 | + sp:expression | ||
| 337 | + [ rdf:type sp:bound ; | ||
| 338 | + sp:arg1 [ sp:varName "range"^^xsd:string | ||
| 339 | + ] | ||
| 340 | + ] | ||
| 341 | + ] [ rdf:type sp:Filter ; | ||
| 342 | + sp:expression | ||
| 343 | + [ rdf:type sp:or ; | ||
| 344 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 345 | + sp:arg1 [ sp:varName "range"^^xsd:string | ||
| 346 | + ] ; | ||
| 347 | + sp:arg2 rdfs:Literal | ||
| 348 | + ] ; | ||
| 349 | + sp:arg2 [ rdf:type sp:exists ; | ||
| 350 | + sp:elements ([ sp:object rdfs:Datatype ; | ||
| 351 | + sp:predicate rdf:type ; | ||
| 352 | + sp:subject | ||
| 353 | + [ sp:varName "range"^^xsd:string | ||
| 354 | + ] | ||
| 355 | + ]) | ||
| 356 | + ] | ||
| 357 | + ] | ||
| 358 | + ]) | ||
| 359 | + ] ; | ||
| 360 | + spin:constraint | ||
| 361 | + [ rdf:type spl:Argument ; | ||
| 362 | + rdfs:comment "The range to check."^^xsd:string ; | ||
| 363 | + spl:predicate arg:range ; | ||
| 364 | + spl:valueType rdfs:Resource | ||
| 365 | + ] ; | ||
| 366 | + spin:returnType xsd:boolean . | ||
| 367 | + | ||
| 328 | app:isImageURL | 368 | app:isImageURL |
| 329 | rdf:type spin:Function ; | 369 | rdf:type spin:Function ; |
| 330 | rdfs:comment "Checks whether a given URL represents an image based on its suffix (.jpg, .gif or .png are recognized by default, but others can be added by putting an imageURLSuffix triple into a SWP file)."^^xsd:string ; | 370 | rdfs:comment "Checks whether a given URL represents an image based on its suffix (.jpg, .gif or .png are recognized by default, but others can be added by putting an imageURLSuffix triple into a SWP file)."^^xsd:string ; |
| ... | @@ -1208,6 +1248,11 @@ arg:property | ... | @@ -1208,6 +1248,11 @@ arg:property |
| 1208 | rdfs:label "property"^^xsd:string ; | 1248 | rdfs:label "property"^^xsd:string ; |
| 1209 | rdfs:subPropertyOf sp:arg . | 1249 | rdfs:subPropertyOf sp:arg . |
| 1210 | 1250 | ||
| 1251 | +arg:range | ||
| 1252 | + rdf:type rdf:Property ; | ||
| 1253 | + rdfs:label "range"^^xsd:string ; | ||
| 1254 | + rdfs:subPropertyOf sp:arg . | ||
| 1255 | + | ||
| 1211 | arg:resource | 1256 | arg:resource |
| 1212 | rdf:type rdf:Property ; | 1257 | rdf:type rdf:Property ; |
| 1213 | rdfs:label "resource"^^xsd:string ; | 1258 | rdfs:label "resource"^^xsd:string ; | ... | ... |
| ... | @@ -126,6 +126,13 @@ app:AbstractObject | ... | @@ -126,6 +126,13 @@ app:AbstractObject |
| 126 | rdfs:subClassOf app:ObjectElements ; | 126 | rdfs:subClassOf app:ObjectElements ; |
| 127 | spin:constraint | 127 | spin:constraint |
| 128 | [ rdf:type spl:Argument ; | 128 | [ rdf:type spl:Argument ; |
| 129 | + rdfs:comment "True to suppress this if the given subject has no value for the given predicate. Has no effect if we are not in view mode."^^xsd:string ; | ||
| 130 | + spl:optional "true"^^xsd:boolean ; | ||
| 131 | + spl:predicate arg:hideIfEmpty ; | ||
| 132 | + spl:valueType xsd:boolean | ||
| 133 | + ] ; | ||
| 134 | + spin:constraint | ||
| 135 | + [ rdf:type spl:Argument ; | ||
| 129 | rdfs:comment "A label, overriding the default label."^^xsd:string ; | 136 | rdfs:comment "A label, overriding the default label."^^xsd:string ; |
| 130 | spl:optional "true"^^xsd:boolean ; | 137 | spl:optional "true"^^xsd:boolean ; |
| 131 | spl:predicate arg:label ; | 138 | spl:predicate arg:label ; |
| ... | @@ -139,6 +146,13 @@ app:AbstractObject | ... | @@ -139,6 +146,13 @@ app:AbstractObject |
| 139 | spl:predicate arg:labelWidth ; | 146 | spl:predicate arg:labelWidth ; |
| 140 | spl:valueType xsd:string | 147 | spl:valueType xsd:string |
| 141 | ] ; | 148 | ] ; |
| 149 | + spin:constraint | ||
| 150 | + [ rdf:type spl:Argument ; | ||
| 151 | + rdfs:comment "True to use a fixed labelWidth so that all objects show up in a tabular alignment."^^xsd:string ; | ||
| 152 | + spl:optional "true"^^xsd:boolean ; | ||
| 153 | + spl:predicate arg:tabular ; | ||
| 154 | + spl:valueType xsd:boolean | ||
| 155 | + ] ; | ||
| 142 | ui:abstract "true"^^xsd:boolean . | 156 | ui:abstract "true"^^xsd:boolean . |
| 143 | 157 | ||
| 144 | app:AbstractRadioButtonsEditor | 158 | app:AbstractRadioButtonsEditor |
| ... | @@ -248,6 +262,13 @@ app:AbstractSubject | ... | @@ -248,6 +262,13 @@ app:AbstractSubject |
| 248 | spl:optional "true"^^xsd:boolean ; | 262 | spl:optional "true"^^xsd:boolean ; |
| 249 | spl:predicate arg:labelWidth ; | 263 | spl:predicate arg:labelWidth ; |
| 250 | spl:valueType xsd:string | 264 | spl:valueType xsd:string |
| 265 | + ] ; | ||
| 266 | + spin:constraint | ||
| 267 | + [ rdf:type spl:Argument ; | ||
| 268 | + rdfs:comment "True to set labels to a fixed width so that all subjects appear in a tabular layout."^^xsd:string ; | ||
| 269 | + spl:optional "true"^^xsd:boolean ; | ||
| 270 | + spl:predicate arg:tabular ; | ||
| 271 | + spl:valueType xsd:boolean | ||
| 251 | ] . | 272 | ] . |
| 252 | 273 | ||
| 253 | app:AutoComplete | 274 | app:AutoComplete |
| ... | @@ -1950,6 +1971,8 @@ app:LabeledObjects | ... | @@ -1950,6 +1971,8 @@ app:LabeledObjects |
| 1950 | ] ; | 1971 | ] ; |
| 1951 | ui:private "true"^^xsd:boolean ; | 1972 | ui:private "true"^^xsd:boolean ; |
| 1952 | ui:prototype | 1973 | ui:prototype |
| 1974 | + [ rdf:type ui:if ; | ||
| 1975 | + ui:child | ||
| 1953 | [ rdf:type html:Table ; | 1976 | [ rdf:type html:Table ; |
| 1954 | html:class "appLabeledObjectsTable"^^xsd:string ; | 1977 | html:class "appLabeledObjectsTable"^^xsd:string ; |
| 1955 | ui:child | 1978 | ui:child |
| ... | @@ -1957,7 +1980,17 @@ app:LabeledObjects | ... | @@ -1957,7 +1980,17 @@ app:LabeledObjects |
| 1957 | html:class "appLabeledObjectsTR"^^xsd:string ; | 1980 | html:class "appLabeledObjectsTR"^^xsd:string ; |
| 1958 | ui:child | 1981 | ui:child |
| 1959 | [ rdf:type html:Td ; | 1982 | [ rdf:type html:Td ; |
| 1960 | - html:class "appLabeledObjectsLabelTD"^^xsd:string ; | 1983 | + html:class |
| 1984 | + [ rdf:type ui:concat ; | ||
| 1985 | + sp:arg1 "appLabeledObjectsLabelTD "^^xsd:string ; | ||
| 1986 | + sp:arg2 [ rdf:type sp:if ; | ||
| 1987 | + sp:arg1 [ sp:varName "tabular"^^xsd:string | ||
| 1988 | + ] ; | ||
| 1989 | + sp:arg2 "appLabeledObjectsTabularLabel" ; | ||
| 1990 | + sp:arg3 [ sp:varName "none"^^xsd:string | ||
| 1991 | + ] | ||
| 1992 | + ] | ||
| 1993 | + ] ; | ||
| 1961 | html:style | 1994 | html:style |
| 1962 | [ rdf:type sp:if ; | 1995 | [ rdf:type sp:if ; |
| 1963 | sp:arg1 [ rdf:type sp:bound ; | 1996 | sp:arg1 [ rdf:type sp:bound ; |
| ... | @@ -2005,7 +2038,7 @@ app:LabeledObjects | ... | @@ -2005,7 +2038,7 @@ app:LabeledObjects |
| 2005 | ui:child | 2038 | ui:child |
| 2006 | [ rdf:type html:Span ; | 2039 | [ rdf:type html:Span ; |
| 2007 | html:class "appErrorIndicator appIcon"^^xsd:string ; | 2040 | html:class "appErrorIndicator appIcon"^^xsd:string ; |
| 2008 | - html:id [ rdf:type fn:concat ; | 2041 | + html:id [ rdf:type ui:concat ; |
| 2009 | sp:arg1 "error-"^^xsd:string ; | 2042 | sp:arg1 "error-"^^xsd:string ; |
| 2010 | sp:arg2 [ sp:varName "predicate"^^xsd:string | 2043 | sp:arg2 [ sp:varName "predicate"^^xsd:string |
| 2011 | ] | 2044 | ] |
| ... | @@ -2025,6 +2058,44 @@ app:LabeledObjects | ... | @@ -2025,6 +2058,44 @@ app:LabeledObjects |
| 2025 | ui:childIndex 2 | 2058 | ui:childIndex 2 |
| 2026 | ] ; | 2059 | ] ; |
| 2027 | ui:childIndex 0 | 2060 | ui:childIndex 0 |
| 2061 | + ] ; | ||
| 2062 | + ui:childIndex 0 | ||
| 2063 | + ] ; | ||
| 2064 | + ui:condition | ||
| 2065 | + [ rdf:type sp:or ; | ||
| 2066 | + sp:arg1 [ rdf:type sp:or ; | ||
| 2067 | + sp:arg1 [ rdf:type sp:or ; | ||
| 2068 | + sp:arg1 [ rdf:type sp:not ; | ||
| 2069 | + sp:arg1 [ rdf:type sp:bound ; | ||
| 2070 | + sp:arg1 [ sp:varName "hideIfEmpty"^^xsd:string | ||
| 2071 | + ] | ||
| 2072 | + ] | ||
| 2073 | + ] ; | ||
| 2074 | + sp:arg2 [ rdf:type sp:ne ; | ||
| 2075 | + sp:arg1 [ sp:varName "hideIfEmpty"^^xsd:string | ||
| 2076 | + ] ; | ||
| 2077 | + sp:arg2 "true"^^xsd:boolean | ||
| 2078 | + ] | ||
| 2079 | + ] ; | ||
| 2080 | + sp:arg2 [ rdf:type sp:ne ; | ||
| 2081 | + sp:arg1 [ rdf:type app:mode | ||
| 2082 | + ] ; | ||
| 2083 | + sp:arg2 [ rdf:type app:ViewMode | ||
| 2084 | + ] | ||
| 2085 | + ] | ||
| 2086 | + ] ; | ||
| 2087 | + sp:arg2 [ rdf:type sp:exists ; | ||
| 2088 | + sp:elements ([ sp:object | ||
| 2089 | + [ sp:varName "anyObject"^^xsd:string | ||
| 2090 | + ] ; | ||
| 2091 | + sp:predicate | ||
| 2092 | + [ sp:varName "predicate"^^xsd:string | ||
| 2093 | + ] ; | ||
| 2094 | + sp:subject | ||
| 2095 | + [ sp:varName "subject"^^xsd:string | ||
| 2096 | + ] | ||
| 2097 | + ]) | ||
| 2098 | + ] | ||
| 2028 | ] | 2099 | ] |
| 2029 | ] . | 2100 | ] . |
| 2030 | 2101 | ||
| ... | @@ -2040,7 +2111,17 @@ app:LabeledSubjects | ... | @@ -2040,7 +2111,17 @@ app:LabeledSubjects |
| 2040 | html:class "appLabeledObjectsTR"^^xsd:string ; | 2111 | html:class "appLabeledObjectsTR"^^xsd:string ; |
| 2041 | ui:child | 2112 | ui:child |
| 2042 | [ rdf:type html:Td ; | 2113 | [ rdf:type html:Td ; |
| 2043 | - html:class "appLabeledObjectsLabelTD"^^xsd:string ; | 2114 | + html:class |
| 2115 | + [ rdf:type ui:concat ; | ||
| 2116 | + sp:arg1 "appLabeledObjectsLabelTD "^^xsd:string ; | ||
| 2117 | + sp:arg2 [ rdf:type sp:if ; | ||
| 2118 | + sp:arg1 [ sp:varName "tabular"^^xsd:string | ||
| 2119 | + ] ; | ||
| 2120 | + sp:arg2 "appLabeledObjectsTabularLabel" ; | ||
| 2121 | + sp:arg3 [ sp:varName "none"^^xsd:string | ||
| 2122 | + ] | ||
| 2123 | + ] | ||
| 2124 | + ] ; | ||
| 2044 | html:style | 2125 | html:style |
| 2045 | [ rdf:type sp:if ; | 2126 | [ rdf:type sp:if ; |
| 2046 | sp:arg1 [ rdf:type sp:bound ; | 2127 | sp:arg1 [ rdf:type sp:bound ; |
| ... | @@ -2795,6 +2876,8 @@ app:ObjectViewer | ... | @@ -2795,6 +2876,8 @@ app:ObjectViewer |
| 2795 | ] | 2876 | ] |
| 2796 | ] ; | 2877 | ] ; |
| 2797 | ui:child | 2878 | ui:child |
| 2879 | + [ rdf:type ui:if ; | ||
| 2880 | + ui:child | ||
| 2798 | [ rdf:type ui:dynamicView ; | 2881 | [ rdf:type ui:dynamicView ; |
| 2799 | arg:object | 2882 | arg:object |
| 2800 | [ sp:varName "object"^^xsd:string | 2883 | [ sp:varName "object"^^xsd:string |
| ... | @@ -2809,6 +2892,61 @@ app:ObjectViewer | ... | @@ -2809,6 +2892,61 @@ app:ObjectViewer |
| 2809 | ui:class | 2892 | ui:class |
| 2810 | [ sp:varName "class"^^xsd:string | 2893 | [ sp:varName "class"^^xsd:string |
| 2811 | ] | 2894 | ] |
| 2895 | + ] ; | ||
| 2896 | + ui:childIndex 0 ; | ||
| 2897 | + ui:condition | ||
| 2898 | + [ rdf:type sp:bound ; | ||
| 2899 | + sp:arg1 [ sp:varName "class"^^xsd:string | ||
| 2900 | + ] | ||
| 2901 | + ] | ||
| 2902 | + ] ; | ||
| 2903 | + ui:child | ||
| 2904 | + [ rdf:type ui:else ; | ||
| 2905 | + ui:child | ||
| 2906 | + [ rdf:type ui:TextNode ; | ||
| 2907 | + ui:childIndex 0 ; | ||
| 2908 | + ui:text "[Error: no ObjectViewer found for "^^xsd:string | ||
| 2909 | + ] ; | ||
| 2910 | + ui:child | ||
| 2911 | + [ rdf:type ui:TextNode ; | ||
| 2912 | + ui:childIndex 1 ; | ||
| 2913 | + ui:text [ rdf:type ui:label ; | ||
| 2914 | + sp:arg1 [ sp:varName "subject"^^xsd:string | ||
| 2915 | + ] | ||
| 2916 | + ] | ||
| 2917 | + ] ; | ||
| 2918 | + ui:child | ||
| 2919 | + [ rdf:type ui:TextNode ; | ||
| 2920 | + ui:childIndex 2 ; | ||
| 2921 | + ui:text ", "^^xsd:string | ||
| 2922 | + ] ; | ||
| 2923 | + ui:child | ||
| 2924 | + [ rdf:type ui:TextNode ; | ||
| 2925 | + ui:childIndex 3 ; | ||
| 2926 | + ui:text [ rdf:type ui:label ; | ||
| 2927 | + sp:arg1 [ sp:varName "predicate"^^xsd:string | ||
| 2928 | + ] | ||
| 2929 | + ] | ||
| 2930 | + ] ; | ||
| 2931 | + ui:child | ||
| 2932 | + [ rdf:type ui:TextNode ; | ||
| 2933 | + ui:childIndex 4 ; | ||
| 2934 | + ui:text ", "^^xsd:string | ||
| 2935 | + ] ; | ||
| 2936 | + ui:child | ||
| 2937 | + [ rdf:type ui:TextNode ; | ||
| 2938 | + ui:childIndex 5 ; | ||
| 2939 | + ui:text [ rdf:type ui:label ; | ||
| 2940 | + sp:arg1 [ sp:varName "object"^^xsd:string | ||
| 2941 | + ] | ||
| 2942 | + ] | ||
| 2943 | + ] ; | ||
| 2944 | + ui:child | ||
| 2945 | + [ rdf:type ui:TextNode ; | ||
| 2946 | + ui:childIndex 6 ; | ||
| 2947 | + ui:text "]"^^xsd:string | ||
| 2948 | + ] ; | ||
| 2949 | + ui:childIndex 1 | ||
| 2812 | ] | 2950 | ] |
| 2813 | ] . | 2951 | ] . |
| 2814 | 2952 | ||
| ... | @@ -3316,13 +3454,13 @@ app:ObjectsGroup | ... | @@ -3316,13 +3454,13 @@ app:ObjectsGroup |
| 3316 | [ rdf:type ui:forEach ; | 3454 | [ rdf:type ui:forEach ; |
| 3317 | ui:child | 3455 | ui:child |
| 3318 | [ rdf:type app:Objects ; | 3456 | [ rdf:type app:Objects ; |
| 3319 | - arg:labelWidth "160px"^^xsd:string ; | ||
| 3320 | arg:predicate | 3457 | arg:predicate |
| 3321 | [ sp:varName "predicate"^^xsd:string | 3458 | [ sp:varName "predicate"^^xsd:string |
| 3322 | ] ; | 3459 | ] ; |
| 3323 | arg:subject | 3460 | arg:subject |
| 3324 | [ sp:varName "subject"^^xsd:string | 3461 | [ sp:varName "subject"^^xsd:string |
| 3325 | ] ; | 3462 | ] ; |
| 3463 | + arg:tabular "true"^^xsd:boolean ; | ||
| 3326 | ui:childIndex 0 | 3464 | ui:childIndex 0 |
| 3327 | ] ; | 3465 | ] ; |
| 3328 | ui:childIndex 1 ; | 3466 | ui:childIndex 1 ; |
| ... | @@ -3624,10 +3762,10 @@ app:ResourceFacet | ... | @@ -3624,10 +3762,10 @@ app:ResourceFacet |
| 3624 | ] | 3762 | ] |
| 3625 | ] ; | 3763 | ] ; |
| 3626 | sp:arg2 [ rdf:type sp:not ; | 3764 | sp:arg2 [ rdf:type sp:not ; |
| 3627 | - sp:arg1 [ rdf:type spl:instanceOf ; | 3765 | + sp:arg1 [ rdf:type app:isDatatypeRange ; |
| 3628 | - sp:arg1 [ sp:varName "range"^^xsd:string | 3766 | + arg:range |
| 3629 | - ] ; | 3767 | + [ sp:varName "range"^^xsd:string |
| 3630 | - sp:arg2 rdfs:Datatype | 3768 | + ] |
| 3631 | ] | 3769 | ] |
| 3632 | ] | 3770 | ] |
| 3633 | ] | 3771 | ] |
| ... | @@ -4254,52 +4392,35 @@ app:StringFacet | ... | @@ -4254,52 +4392,35 @@ app:StringFacet |
| 4254 | [ rdf:type app:WeightedExpression ; | 4392 | [ rdf:type app:WeightedExpression ; |
| 4255 | app:expression | 4393 | app:expression |
| 4256 | [ rdf:type sp:or ; | 4394 | [ rdf:type sp:or ; |
| 4257 | - sp:arg1 [ rdf:type sp:or ; | ||
| 4258 | sp:arg1 [ rdf:type sp:not ; | 4395 | sp:arg1 [ rdf:type sp:not ; |
| 4259 | sp:arg1 [ rdf:type sp:bound ; | 4396 | sp:arg1 [ rdf:type sp:bound ; |
| 4260 | sp:arg1 [ sp:varName "range"^^xsd:string | 4397 | sp:arg1 [ sp:varName "range"^^xsd:string |
| 4261 | ] | 4398 | ] |
| 4262 | ] | 4399 | ] |
| 4263 | ] ; | 4400 | ] ; |
| 4264 | - sp:arg2 [ rdf:type spl:instanceOf ; | 4401 | + sp:arg2 [ rdf:type app:isDatatypeRange ; |
| 4265 | - sp:arg1 [ sp:varName "range"^^xsd:string | 4402 | + arg:range |
| 4266 | - ] ; | 4403 | + [ sp:varName "range"^^xsd:string |
| 4267 | - sp:arg2 rdfs:Datatype | ||
| 4268 | ] | 4404 | ] |
| 4269 | - ] ; | ||
| 4270 | - sp:arg2 [ rdf:type sp:eq ; | ||
| 4271 | - sp:arg1 [ sp:varName "range"^^xsd:string | ||
| 4272 | - ] ; | ||
| 4273 | - sp:arg2 rdfs:Literal | ||
| 4274 | ] | 4405 | ] |
| 4275 | ] | 4406 | ] |
| 4276 | ] ; | 4407 | ] ; |
| 4277 | ui:prototype | 4408 | ui:prototype |
| 4278 | [ rdf:type ui:group ; | 4409 | [ rdf:type ui:group ; |
| 4279 | let:datatype | 4410 | let:datatype |
| 4280 | - [ rdf:type sp:if ; | 4411 | + [ rdf:type app:localRange ; |
| 4281 | - sp:arg1 [ rdf:type sp:bound ; | ||
| 4282 | - sp:arg1 [ sp:varName "node"^^xsd:string | ||
| 4283 | - ] | ||
| 4284 | - ] ; | ||
| 4285 | - sp:arg2 [ rdf:type sp:datatype ; | ||
| 4286 | - sp:arg1 [ sp:varName "node"^^xsd:string | ||
| 4287 | - ] | ||
| 4288 | - ] ; | ||
| 4289 | - sp:arg3 [ rdf:type app:localRange ; | ||
| 4290 | arg:predicate | 4412 | arg:predicate |
| 4291 | [ sp:varName "predicate"^^xsd:string | 4413 | [ sp:varName "predicate"^^xsd:string |
| 4292 | ] ; | 4414 | ] ; |
| 4293 | arg:subject | 4415 | arg:subject |
| 4294 | [ sp:varName "subject"^^xsd:string | 4416 | [ sp:varName "subject"^^xsd:string |
| 4295 | ] | 4417 | ] |
| 4296 | - ] | ||
| 4297 | ] ; | 4418 | ] ; |
| 4298 | ui:child | 4419 | ui:child |
| 4299 | [ rdf:type html:Input ; | 4420 | [ rdf:type html:Input ; |
| 4300 | html:name | 4421 | html:name |
| 4301 | - [ rdf:type fn:concat ; | 4422 | + [ rdf:type ui:concat ; |
| 4302 | - sp:arg1 "regex" ; | 4423 | + sp:arg1 "regex"^^xsd:string ; |
| 4303 | sp:arg2 [ sp:varName "uid"^^xsd:string | 4424 | sp:arg2 [ sp:varName "uid"^^xsd:string |
| 4304 | ] | 4425 | ] |
| 4305 | ] ; | 4426 | ] ; |
| ... | @@ -5195,13 +5316,13 @@ app:SubjectsGroup | ... | @@ -5195,13 +5316,13 @@ app:SubjectsGroup |
| 5195 | [ rdf:type ui:forEach ; | 5316 | [ rdf:type ui:forEach ; |
| 5196 | ui:child | 5317 | ui:child |
| 5197 | [ rdf:type app:Subjects ; | 5318 | [ rdf:type app:Subjects ; |
| 5198 | - arg:labelWidth "160px"^^xsd:string ; | ||
| 5199 | arg:object | 5319 | arg:object |
| 5200 | [ sp:varName "object"^^xsd:string | 5320 | [ sp:varName "object"^^xsd:string |
| 5201 | ] ; | 5321 | ] ; |
| 5202 | arg:predicate | 5322 | arg:predicate |
| 5203 | [ sp:varName "predicate"^^xsd:string | 5323 | [ sp:varName "predicate"^^xsd:string |
| 5204 | ] ; | 5324 | ] ; |
| 5325 | + arg:tabular "true"^^xsd:string ; | ||
| 5205 | ui:childIndex 0 | 5326 | ui:childIndex 0 |
| 5206 | ] ; | 5327 | ] ; |
| 5207 | ui:childIndex 1 ; | 5328 | ui:childIndex 1 ; |
| ... | @@ -5705,33 +5826,6 @@ app:ViewForm | ... | @@ -5705,33 +5826,6 @@ app:ViewForm |
| 5705 | arg:resource | 5826 | arg:resource |
| 5706 | [ sp:varName "resource"^^xsd:string | 5827 | [ sp:varName "resource"^^xsd:string |
| 5707 | ] ; | 5828 | ] ; |
| 5708 | - ui:child | ||
| 5709 | - [ rdf:type ui:insert ; | ||
| 5710 | - ui:child | ||
| 5711 | - [ rdf:type ui:if ; | ||
| 5712 | - ui:child | ||
| 5713 | - [ rdf:type app:FormToggleButton ; | ||
| 5714 | - arg:formId | ||
| 5715 | - [ sp:varName "formId"^^xsd:string | ||
| 5716 | - ] ; | ||
| 5717 | - arg:label "Edit"^^xsd:string ; | ||
| 5718 | - arg:modeName "edit"^^xsd:string ; | ||
| 5719 | - arg:resource | ||
| 5720 | - [ sp:varName "resource"^^xsd:string | ||
| 5721 | - ] ; | ||
| 5722 | - ui:childIndex 0 | ||
| 5723 | - ] ; | ||
| 5724 | - ui:childIndex 0 ; | ||
| 5725 | - ui:condition | ||
| 5726 | - [ rdf:type app:canEditResource ; | ||
| 5727 | - arg:resource | ||
| 5728 | - [ sp:varName "resource"^^xsd:string | ||
| 5729 | - ] | ||
| 5730 | - ] | ||
| 5731 | - ] ; | ||
| 5732 | - ui:childIndex 0 ; | ||
| 5733 | - ui:into "toolBar"^^xsd:string | ||
| 5734 | - ] ; | ||
| 5735 | ui:childIndex 0 | 5829 | ui:childIndex 0 |
| 5736 | ] ; | 5830 | ] ; |
| 5737 | ui:child | 5831 | ui:child |
| ... | @@ -7003,6 +7097,11 @@ arg:height | ... | @@ -7003,6 +7097,11 @@ arg:height |
| 7003 | rdfs:label "height"^^xsd:string ; | 7097 | rdfs:label "height"^^xsd:string ; |
| 7004 | rdfs:subPropertyOf sp:arg . | 7098 | rdfs:subPropertyOf sp:arg . |
| 7005 | 7099 | ||
| 7100 | +arg:hideIfEmpty | ||
| 7101 | + rdf:type rdf:Property ; | ||
| 7102 | + rdfs:label "hide if empty"^^xsd:string ; | ||
| 7103 | + rdfs:subPropertyOf sp:arg . | ||
| 7104 | + | ||
| 7006 | arg:id | 7105 | arg:id |
| 7007 | rdf:type rdf:Property ; | 7106 | rdf:type rdf:Property ; |
| 7008 | rdfs:label "id"^^xsd:string ; | 7107 | rdfs:label "id"^^xsd:string ; |
| ... | @@ -7133,6 +7232,11 @@ arg:switchable | ... | @@ -7133,6 +7232,11 @@ arg:switchable |
| 7133 | rdfs:label "switchable"^^xsd:string ; | 7232 | rdfs:label "switchable"^^xsd:string ; |
| 7134 | rdfs:subPropertyOf sp:arg . | 7233 | rdfs:subPropertyOf sp:arg . |
| 7135 | 7234 | ||
| 7235 | +arg:tabular | ||
| 7236 | + rdf:type rdf:Property ; | ||
| 7237 | + rdfs:label "tabular"^^xsd:string ; | ||
| 7238 | + rdfs:subPropertyOf sp:arg . | ||
| 7239 | + | ||
| 7136 | arg:targetId | 7240 | arg:targetId |
| 7137 | rdf:type rdf:Property ; | 7241 | rdf:type rdf:Property ; |
| 7138 | rdfs:label "target id"^^xsd:string ; | 7242 | rdfs:label "target id"^^xsd:string ; | ... | ... |
| ... | @@ -18,7 +18,7 @@ body { | ... | @@ -18,7 +18,7 @@ body { |
| 18 | .appAutoComplete { | 18 | .appAutoComplete { |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | -.appBaseFont, .appObjectWidget, .appLabeledObjectsLabelTD { | 21 | +.appBaseFont, .appObjectWidget, .appLabeledObjectsTable { |
| 22 | font-size: 12px; | 22 | font-size: 12px; |
| 23 | } | 23 | } |
| 24 | 24 | ||
| ... | @@ -30,7 +30,11 @@ body { | ... | @@ -30,7 +30,11 @@ body { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | .appLabeledObjectsBodyTD { | 32 | .appLabeledObjectsBodyTD { |
| 33 | - padding: 0px; | 33 | + padding: 0px 0px 1px 0px; |
| 34 | +} | ||
| 35 | + | ||
| 36 | +.appLabeledObjectsTabularLabel { | ||
| 37 | + width: 160px; | ||
| 34 | } | 38 | } |
| 35 | 39 | ||
| 36 | .appLabeledObjectsTable { | 40 | .appLabeledObjectsTable { |
| ... | @@ -228,14 +232,14 @@ td.appPropertyWidgetObjectTD { | ... | @@ -228,14 +232,14 @@ td.appPropertyWidgetObjectTD { |
| 228 | 232 | ||
| 229 | .appSubTitle { | 233 | .appSubTitle { |
| 230 | color: gray; | 234 | color: gray; |
| 231 | - font-size: 18px; | 235 | + font-size: 15px; |
| 232 | font-weight: bold; | 236 | font-weight: bold; |
| 233 | margin-bottom: 6px; | 237 | margin-bottom: 6px; |
| 234 | } | 238 | } |
| 235 | 239 | ||
| 236 | .appTitle { | 240 | .appTitle { |
| 237 | color: gray; | 241 | color: gray; |
| 238 | - font-size: 22px; | 242 | + font-size: 18px; |
| 239 | font-weight: bold; | 243 | font-weight: bold; |
| 240 | margin-bottom: 14px; | 244 | margin-bottom: 14px; |
| 241 | } | 245 | } | ... | ... |
-
Please register or login to post a comment