/ittf/site/webapi/index.html.ittf (primary)
1 html2 $$ TODO For ittf(s) documents, user SHOULD BE set in the global Artifact Generation Context3 $4 var opt = {5 }6 for (var i = 0; i < wzCtx.apis.length; i++) {7 var api = wzCtx.apis[i];8 api._id = api.method + _.replace(_.replace(api.url, ':', '_'), '/', '_');9 }10 html/layouts/site( &opt )11 $append head-styles-212 css ./styles.css.ittf13 . d-container14 . d-left-aside15 ul16 $foreach api in wzCtx.apis17 li18 a ${api.title}19 href #api_id_${api.url}20 . d-main-content21 $foreach api in wzCtx.apis22 . d-api23 id api_id_${api.url}24 h3 ${api.title}25 d-prop( method, ${api.method})26 d-prop( url, ${api.url})27 $if api.parameters.length > 028 h4 Parameters29 . d-params-panel30 $foreach p in api.parameters31 d-control( ${p.type})32 \b param_${ api._id + '_' + p.name },33 \b ${p.label},34 \b ${_.replace(p.demoValue, ',', '$')}35 . d-buttons36 button Exec37 id btn_${ api._id }38 hr39 . d-right-aside40 . container41 textarea42 id output43 style background-color: #96969644 cols 15045 rows 4046 wrap soft47 readonly48 $*49 pre50 code51 id output52 *$53 $append body-scripts54 js ./main.js.ittf55 script56 module57 var btn58 $foreach api in wzCtx.apis59 set btn = document.querySelector("#" + 'btn_${ api._id }')60 _ btn.addEventListener61 @ 'click'62 function63 $if api.method == 'get'64 var url = '${api.url}'65 $foreach p in api.parameters66 var param_${p.name} = get_value('param_${ api._id + '_' + p.name }')67 $if p.paramType == 'url'68 set url = url.replaceAll(':${p.name}', encodeURIComponent(param_${p.name}))69 $else70 $if p_index == 071 set url += '?${p.name}=' + param_${p.name}72 $else73 set url += '&${p.name}=' + param_${p.name}74 _ exec_get75 @ url76 $elif api.method == 'post' || api.method == 'put'77 var url = '${api.url}'78 var payload = {}79 $foreach p in api.parameters80 var param_${p.name} = get_value('param_${ api._id + '_' + p.name }')81 $if p.paramType == 'url'82 set url = url.replaceAll(':${p.name}', encodeURIComponent(param_${p.name}))83 $else84 $if p.type == 'object'85 log 'JSON.parse(param_${p.name})', param_${p.name}86 set payload['${p.name}'] = JSON.parse(param_${p.name})87 $else88 set payload['${p.name}'] = param_${p.name}89 _ exec_with_payload90 @ '${api.method}'91 @ url92 @ payload93 $else94 _ alert('${api.method} ${api.url}')95 function get_value96 param id97 var el = document.querySelector("#" + id)98 return el.value99 function exec_get100 param url101 param payload102 log 'url', url103 var outputEl = document.querySelector("#output")104 _ fetch105 @ url106 ._ then107 =>108 param response109 if !response.ok110 throw Error(response.statusText)111 return response.json()112 ._ then113 =>114 param json115 set outputEl.className = 'container'116 $$ set outputEl.value = wz.escapeHtml(JSON.stringify(json, null, 2))117 set outputEl.value = JSON.stringify(json, null, 2)118 log 'exec_.response.json', json119 $*120 if getApiId === "/api/studio/document" || getApiId === "/api/studio/fragment"121 set document.getElementById('content').value = json.data.data122 *$123 ._ catch124 function125 param err126 log 'exec_.response.err', err127 set outputEl.className = 'container text-danger'128 set outputEl.value = err && err.constructor && err.constructor.name === "Object" ? JSON.stringify(err, null, 2) : err129 function exec_with_payload130 param method131 param url132 param payload133 log 'url', url134 log 'payload ', payload135 var outputEl = document.querySelector("#output")136 _ fetch137 @ url138 {139 @ method method140 { headers141 @ 'Accept' 'application/json'142 @ 'Content-Type' 'application/json'143 @ body JSON.stringify(payload)144 ._ then145 =>146 param response147 return response.json()148 ._ then149 =>150 param json151 log 'exec_with_payload.response.json', json152 set outputEl.className = 'container'153 $$ set outputEl.value = wz.escapeHtml(JSON.stringify(json, null, 2))154 set outputEl.value = JSON.stringify(json, null, 2)155 ._ catch156 function157 param err158 log 'exec_with_payload.response.err', err159 set outputEl.className = 'container text-danger'160 set outputEl.value = err.message || JSON.stringify({ err: err.error }, null, 2)
/t/html/layouts/site.html.ittf
1 $group2 $params &opt3 $include models/docs/site.wzctx4 $5 var ca = 'm-s p-s color-header font-l font-w-xxl';6 var ca_inverse = 'm-s p-s color-header-inverse bg-color-header-inverse font-l font-w-xxl';7 var ca2 = 'color-header font-x font-w-s';8 head9 $if opt.title10 @title ${opt.title}11 meta12 charset utf-813 meta14 name viewport15 content width=device-width, initial-scale=116 link17 rel preconnect18 href https://fonts.googleapis.com19 link20 rel preconnect21 href https://fonts.gstatic.com22 crossorigin23 link24 @ rel "stylesheet"26 css /ittf/css/main.css.ittf27 script28 module29 set window.__filename = 'browser'30 $if opt.isWizziStudio && !opt.useFirebase31 var WizziBrowser32 {33 @ log34 function35 var line36 _ Array.prototype.slice.call(arguments).map37 function38 param argument39 return40 iif typeof argument === 'string'41 then argument42 else JSON.stringify(argument)43 ._ join44 @ '\n '45 if arguments.length > 1 && arguments[arguments.length-1] === '-'46 set line += new Array(50).join('-')47 set document.querySelector('#wizzi-browser-log').textContent += line + '\n'48 @ clearLog49 function50 set document.querySelector('#wizzi-browser-log').textContent = ''51 @ setStatus52 function53 param status54 set document.querySelector('#wizzi-browser-status').textContent = status55 @ setContent56 function57 param newContent58 var content = document.querySelector('#wizzi-browser-content')59 while content.hasChildNodes()60 _ content.removeChild(content.lastChild)61 _ content.appendChild(newContent)62 $hook head-styles-063 $if opt.isWizziStudio && !opt.useFirebase64 @style65 css66 # wizzi-browser-status67 margin .5em 068 font-style italic69 # wizzi-browser-log70 margin .5em 071 white-space pre-wrap72 # wizzi-browser-content73 margin .5em 074 # status:empty, #log:empty, #content:empty75 display none76 $include ./styles77 ./site-styles( &opt )78 $if opt.stickyNav79 style80 # ${opt.stickyNav}.sticky81 position fixed82 top 083 . ${opt.stickyNav}OffsetMargin84 padding-top ${opt.stickyNavOffset}px85 $if opt.stickyNavLogo86 # ${opt.stickyNavLogo}.visible87 display block88 # ${opt.stickyNavLogo}.hidden89 display none90 $hook head-styles91 $hook head-styles-292 $hook head-styles-393 $hook head-scripts94 body95 . full-page96 . main-header97 . flex-row space-between align-items-center width-10098 id __main_navbar99 . flex-row100 html/a( /, ${ca2})101 div102 style width: 80px; margin-top: 5px; margin-left: 20px;103 html/images/logo( ${colors.mainHeader}, ${colors.mainHeaderBg})104 . flex-row105 $if true106 $if locals.user107 $if opt.section != 'Starter'108 html/a( Starter, /ittf/site/starter.html.ittf, ${ca})109 $else110 . ${ca_inverse}111 + Starter112 $if opt.section != 'Lab'113 html/a( Lab, /ittf/site/lab.html.ittf, ${ca})114 $else115 . ${ca_inverse}116 + Lab117 $if opt.section != 'Productions'118 html/a( Productions, /ittf/site/productions.html.ittf, ${ca})119 $else120 . ${ca_inverse}121 + Productions122 $if opt.section != 'Play'123 html/a( Play, /public/play, ${ca})124 $else125 . ${ca_inverse}126 + Play127 . flex-row128 $if opt.section != 'Project'129 html/a( Project, /ittf/site/project.html.ittf, ${ca})130 $else131 . ${ca_inverse}132 + Project133 $if opt.section != 'Docs'134 html/a( Docs, /ittf/site/docs/concepts/overview.html.ittf, ${ca})135 $else136 . ${ca_inverse}137 + Docs138 html/a( Github, https://github.com/stfnbssl/wizzi, ${ca})139 . flex-row m-r-x140 $if false141 $if locals.user142 html/a( Profile, /account/profile, ${ca})143 html/a( Log Out, /auth/logout, ${ca})144 $else145 html/a( Log In, /auth/login, ${ca})146 $else147 . ${ca}148 + Log in149 title "Not implemented yet"150 . main-content151 . main-content-left-bar152 $hook main-content-left-bar153 . main-content-work-area154 $hook main-content-work-area155 $hook156 . main-footer157 $hook main-footer158 $hook body-scripts-0159 $if opt.isWizziStudio && !opt.useFirebase160 div161 # wizzi-browser-status162 # wizzi-browser-log163 # wizzi-browser-content164 ./site-scripts( &opt )165 $if opt.stickyNav166 script167 let header = document.getElementById("__main_navbar")168 let stickyBar = document.getElementById("${opt.stickyNav}")169 $if opt.stickyNavLogo170 let stickyLogo = document.getElementById("${opt.stickyNavLogo}")171 let stickyPos = ${opt.stickyNavOffset}172 _ window.addEventListener173 @ "scroll"174 =>175 param e176 let scrollPos = window.scrollY177 if scrollPos > stickyPos178 _ stickyBar.classList.add('sticky')179 _ header.classList.add('${opt.stickyNav}OffsetMargin')180 $if opt.stickyNavLogo181 _ stickyLogo.classList.add('visible')182 _ stickyLogo.classList.remove('hidden')183 else184 _ stickyBar.classList.remove('sticky')185 _ header.classList.remove('${opt.stickyNav}OffsetMargin')186 $if opt.stickyNavLogo187 _ stickyLogo.classList.remove('visible')188 _ stickyLogo.classList.add('hidden')189 $hook body-scripts190 $hook body-scripts-2191 $hook body-scripts-3192 $if opt.useHighlight193 script194 _ document.addEventListener195 @ 'DOMContentLoaded'196 =>197 param event198 _ document.querySelectorAll199 @ 'pre .hljs'200 ._ forEach201 =>202 param block203 _ hljs.highlightBlock(block)
/ittf/site/webapi/t/d-prop.html.ittf
1 . d-api-prop2 $params name, value3 . d-api-prop-name4 + ${name}5 . d-api-prop-value6 + ${value}
/ittf/site/webapi/t/d-control.html.ittf
1 $group2 $params type, id, label, value3 $4 var valuex = _.replace(value, '$', ',')5 . d-param6 $if type === 'string'7 . d-param-label8 label ${label}9 for ${id}10 . d-param-input11 input12 id ${id}13 value ${valuex}14 class form-control15 $elif type === 'object'16 . d-param-label17 label ${label}18 for ${id}19 . d-param-input20 textarea21 style width:100%;22 id ${id}23 rows 624 class form-25 + ${valuex}26 $elif type === 'static'27 . d-param-label28 label ${label}29 for ${id}30 . d-param-input31 input32 id ${id}33 valuex ${valuex}34 disabled35 class form-control
/t/models/docs/site.wzctx.ittf
1 $group2 $global3 var wzCtx = {4 name: "stfnbssl.github.io/wizzi",5 version: "0.7.1",6 description: "Wizzi github page",7 author: "Stefano Bassoli",8 license: "MIT",9 Params: {10 title: "Wizzi",11 baseUrl: "https://stfnbssl.github.io/wizzi"12 },13 Section: {14 items: [15 {16 title: "Concepts",17 url: "/ittf/site/docs/concepts/overview.html.ittf"18 },19 {20 title: "Howtos",21 url: "/ittf/site/docs/howtos/getstarted.html.ittf"22 },23 /*24 {25 title: "Sample code",26 url: "/ittf/site/docs/samplecode/overview.html.ittf"27 },28 {29 title: "Geeky",30 url: "/ittf/site/docs/geeky/overview.html.ittf"31 },32 */33 {34 title: "Cheatsheets",35 url: "/wizzi/docs/cheatsheet/html"36 },37 {38 title: "Play",39 url: "/ittf/site/docs/play/index.html.ittf"40 }41 ]42 },43 Concepts: {44 items: [45 {46 title: "Overview",47 url: "./overview.html.ittf"48 },49 {50 title: "Ittf Documents",51 url: "./ittfdocuments.html.ittf"52 },53 {54 title: "Template Engine",55 url: "./templateengine.html.ittf"56 },57 {58 title: "JsWizzi",59 url: "./jswizzi.html.ittf"60 },61 {62 title: "mTrees",63 url: "./mtrees.html.ittf"64 },65 {66 title: "Wizzi Schemas",67 url: "./wizzischemas.html.ittf"68 },69 {70 title: "Wizzi Model DOMs",71 url: "./wizzimodeldoms.html.ittf"72 },73 {74 title: "Wizzi Model Instances",75 url: "./wizzimodelinstances.html.ittf"76 },77 {78 title: "Model Transformers",79 url: "./modeltransformers.html.ittf"80 },81 {82 title: "Artifact Generators",83 url: "./artifactgenerators.html.ittf"84 },85 {86 title: "Wizzi Jobs",87 url: "./wizzijobs.html.ittf"88 },89 {90 title: "Wizzi Meta Productions",91 url: "./wizzimetaproductions.html.ittf"92 },93 {94 title: "Wizzi Plugins",95 url: "./wizziplugins.html.ittf"96 },97 {98 title: "Wizzi Meta Plugins",99 url: "./wizzimetaplugins.html.ittf"100 },101 {102 title: "Wizzi API",103 url: "./wizziapi.html.ittf"104 },105 {106 title: "Wizzi CLI",107 url: "./wizzicli.html.ittf"108 },109 {110 title: "Virtual Store System",111 url: "./virtualstoresystem.html.ittf"112 },113 {114 title: "Glossary",115 url: "./glossary.html.ittf"116 }117 ]118 },119 Howtos: {120 items: [121 {122 title: "Get started",123 url: "./getstarted.html.ittf"124 },125 {126 title: "Wizzi API",127 url: "./wizziapi.html.ittf"128 }129 ]130 },131 SampleCode: {132 items: [133 {134 title: "Overview",135 url: "./overview.html.ittf"136 },137 {138 title: "Template Engine",139 url: "./templateengine.html.ittf"140 },141 {142 title: "JsWizzi",143 url: "./jswizzi.html.ittf"144 },145 {146 title: "mTrees",147 url: "./mtrees.html.ittf"148 },149 {150 title: "Wizzi Schemas",151 url: "./wizzischemas.html.ittf"152 },153 {154 title: "Wizzi Model DOMs",155 url: "./wizzimodeldoms.html.ittf"156 },157 {158 title: "Model Transformers",159 url: "./modeltransformers.html.ittf"160 },161 {162 title: "Artifact Generators",163 url: "./artifactgenerators.html.ittf"164 },165 {166 title: "Wizzi Jobs",167 url: "./wizzijobs.html.ittf"168 },169 {170 title: "Wizzi Plugins",171 url: "./wizziplugins.html.ittf"172 },173 {174 title: "Wizzi API",175 url: "./wizziapi.html.ittf"176 },177 {178 title: "Virtual Store System",179 url: "./virtualstoresystem.html.ittf"180 },181 {182 title: "Glossary",183 url: "./glossary.html.ittf"184 }185 ]186 },187 Geeky: {188 items: [189 {190 title: "Overview",191 url: "./overview.html.ittf"192 },193 {194 title: "Template Engine",195 url: "./templateengine.html.ittf"196 },197 {198 title: "JsWizzi",199 url: "./jswizzi.html.ittf"200 },201 {202 title: "mTrees",203 url: "./mtrees.html.ittf"204 },205 {206 title: "Wizzi Schemas",207 url: "./wizzischemas.html.ittf"208 },209 {210 title: "Wizzi Model DOMs",211 url: "./wizzimodeldoms.html.ittf"212 },213 {214 title: "Model Transformers",215 url: "./modeltransformers.html.ittf"216 },217 {218 title: "Artifact Generators",219 url: "./artifactgenerators.html.ittf"220 },221 {222 title: "Wizzi Jobs",223 url: "./wizzijobs.html.ittf"224 },225 {226 title: "Wizzi Plugins",227 url: "./wizziplugins.html.ittf"228 },229 {230 title: "Wizzi API",231 url: "./wizziapi.html.ittf"232 },233 {234 title: "Wizzi CLI",235 url: "./wizzicli.html.ittf"236 },237 {238 title: "Virtual Store System",239 url: "./virtualstoresystem.html.ittf"240 },241 {242 title: "Glossary",243 url: "./glossary.html.ittf"244 }245 ]246 },247 Starter: {248 "items": [249 {250 title: "wizzi-starter-wizzi-plugin",251 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-wizzi-plugin"252 },253 {254 title: "wizzi-starter-webpack-react",255 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-webpack-react"256 },257 {258 title: "wizzi-starter-mern",259 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-mern"260 },261 {262 title: "wizzi-starter-nextjs",263 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-nextjs"264 },265 {266 title: "wizzi-starter-gatsby",267 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-gatsby"268 }269 ]270 },271 "Plugin": {272 items: [273 {274 title: "wizzi-js",275 url: "https://github.com/wizzifactory/wizzi/tree/master/packages/wizzi-js/dist"276 },277 {278 title: "wizzi-web",279 url: "https://github.com/wizzifactory/wizzi/tree/master/packages/wizzi-web/dist"280 },281 {282 title: "wizzi-lab",283 url: "https://github.com/wizzifactory/wizzi/tree/master/packages/wizzi-lab/dist"284 }285 ]286 },287 Colors: {288 "bg_0": "#333",289 "bg_f_0": "#000",290 "c_0": "#fff",291 "bg_dark": "#333",292 "bg_dark_medium": "#444",293 "c_dark": "#ddd",294 "c_dark_medium": "#bbb",295 "h3_c_dark": "#fc0"296 },297 Fonts: {298 "useMaterialIcons": true,299 "materialIcons": {300 "baseUrl": "https://stfnbssl.github.io/wizzi/fonts",301 "fontWeight": "400",302 "size": "24px"303 }304 },305 Styles: {306 shellColors: {307 mainHeaderBg: "#0D0D0D",308 mainHeader: "#dedede",309 mainContentBg: "#2D2D2D",310 mainContent: "#dedede",311 mainContentLeftBarBg: "#1D1D1D",312 mainContentLeftBar: "#dedede",313 mainFooterBg: "#0D0D0D",314 mainFooter: "#dedede",315 }316 }317 }318 var mpage = {319 Colors: {320 background: "#ffffff",321 scheme1Fade90: "whiteFade-90,rgba(255,255,255,0.9)",322 themeBack: "#ffffff",323 primary: "#BDF3EE",324 primaryDark: "#122944",325 primary30: "#BDF3EE",326 gray70: "grey-70,#222B31",327 grad1: "#81B6CF",328 grad2: "#222B31"329 }330 }
/t/html/layouts/t/styles.html.ittf
1 $group2 style3 css4 $5 var colors = wzCtx.Styles.shellColors;6 . main-header7 background-color ${colors.mainHeaderBg}8 color ${colors.mainHeader}9 height 5vh10 overflow auto11 display flex12 flex-direction row13 justify-content space-between14 . main-content15 display flex16 flex-direction row17 height 92vh18 overflow auto19 background-color ${colors.mainContentBg}20 color ${colors.mainContent}21 . main-content-left-bar22 height 100%23 width 3%24 background-color ${colors.mainContentLeftBarBg}25 . main-content-work-area26 height 100%27 width 97%28 . main-footer29 background-color ${colors.mainFooterBg}30 color ${colors.mainFooter}31 height 3vh32 overflow auto
/t/html/layouts/site-styles.html.ittf
1 $group2 $params &opt3 $if opt.useBootstrap4 css /public/lib/bootstrap/dist/css/bootstrap.min.css5 $if opt.useCodemirror6 html/s( /public/lib/codemirror/lib/codemirror.css)7 html/s( /public/lib/codemirror/theme/monokai.css)8 html/s( /public/lib/codemirror/theme/twilight.css)9 $if typeof(wzCtx.aspect) !== 'undefined'10 $if wzCtx.aspect.AnimateCss11 $if wzCtx.aspect.production12 html/s( /public/lib/animatecss/animate.min.css)13 $else14 html/s( /public/lib/animatecss/animate.css)15 $if opt.useFontAwesome16 $17 var fontAwesomeKey = 'eab461efef';18 script19 src https://kit.fontawesome.com/${fontAwesomeKey}.js20 crossorigin anonymous21 $if opt.useFontRoboto22 html/s( https://fonts.googleapis.com/css?family=Roboto:300, 400, 500)23 $if opt.useFontMaterialIcons24 html/s( https://fonts.googleapis.com/icon?family=Material+Icons)25 $if opt.useGoogleFonts26 $foreach item in opt.googleFonts27 css https://fonts.googleapis.com/css?family=${item}28 $if opt.useHighlight29 $if opt.isWizziStudio30 html/s( /public/lib/highlight/styles/github.css)31 html/s( /public/lib/highlightjs-master/dracula.css)32 $else33 html/s( https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/default.min.css)34 $if opt.useJarallax35 html/s( /public/lib/jarallax/jarallax.css)36 $if opt.useJsonFormatter37 $if opt.isWizziStudio38 html/s( https://cdnjs.cloudflare.com/ajax/libs/json-formatter/0.7.0/json-formatter.min.css)39 $else40 html/s( https://cdnjs.cloudflare.com/ajax/libs/json-formatter/0.7.0/json-formatter.min.css)41 $if opt.useMaterialUI42 html/s( https://fonts.googleapis.com/icon?family=Material+Icons)43 $if opt.usePopper44 html/s( /public/lib/popper/main.css)45 $if opt.usePrism46 $if opt.isWizziStudio47 css /public/lib/prism/prism.css48 $else49 css https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/themes/prism.min.css50 $if opt.useSocial51 html/s( /public/lib/social/social-icons.css)52 $if opt.useSweetalert54 $if opt.mainCss && opt.mainCss.length > 055 html/s( ${opt.mainCss})
/t/html/a.html.ittf
1 $group2 $params text, href|#, ca|@@null3 a ${text}4 href ${href}5 $if ca6 class ${ca}7 $hook
/t/html/images/logo.html.ittf
1 svg2 $params color|#000, bgcolor|#fff, viewBox|0 0 660 2803 $4 var opt = {};5 opt.y0 = 10;6 opt.y1 = 10;7 opt.y1a = 90;8 opt.y2 = 210;9 opt.ybottom = 250;10 opt.color = color;11 preserve-aspect-ratio xMidYMid meet12 viewBox ${viewBox}13 rect14 x 015 y 016 width 66017 height 28018 fill ${bgcolor}19 stroke none20 polyline21 stroke ${color}22 fill ${color}23 stroke-width 224 points 10 ${opt.ybottom} 45 ${opt.y0} 60 ${opt.y0} 75 ${opt.y1a + 40} 120 ${opt.y2} 120 ${opt.y1a + 40} 175 ${opt.y2} 175 ${opt.y1a + 20} 230 ${opt.y2} 230 ${opt.ybottom}25 wizzi-logo-i( 250, &opt )26 wizzi-logo-z( 320, &opt )27 wizzi-logo-z( 450, &opt )28 wizzi-logo-i( 590, &opt )
/t/html/layouts/site-scripts.html.ittf
1 $group2 $params &opt3 $4 var useReact = opt.useReact || opt.useMaterialUI;5 var useBabel = useReact || opt.useBabel;6 $if opt.useAce7 $if opt.isWizziStudio8 $if opt.production9 html/j( /public/lib/ace/src-min-noconflict/ace.js)10 $else11 html/j( /public/lib/ace/src-noconflict/ace.js)12 $else13 html/j( https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js)14 $if opt.useBootstrap15 html/j( /public/lib/bootstrap/dist/js/bootstrap.min.js)16 $if opt.useEventEmitter17 $$ html/j( https://unpkg.com/eventemitter3@latest/umd/eventemitter3.min.js19 $if opt.useCodemirror20 html/j( /public/lib/codemirror/lib/codemirror.js)21 html/j( /public/lib/codemirror/mode/javascript/javascript.js)22 html/j( /public/lib/codemirror/mode/xml/xml.js)23 html/j( /public/lib/codemirror/theme/monokai.css)24 html/j( /public/lib/codemirror/theme/twilight.css)25 $if opt.useDeepDiff26 $if opt.isWizziStudio27 html/j( /public/lib/flitbit/deep-diff.min.js)28 $else29 html/j( https://cdnjs.cloudflare.com/ajax/libs/deep-diff/0.3.3/deep-diff.min.js)30 $if opt.useKeycode31 $if opt.isWizziStudio32 html/j( /public/lib/material-ui/keycode.min.2.2.0.js)33 $else34 html/j( https://cdn.jsdelivr.net/npm/keycode.js)35 $if opt.useHighlight36 $if opt.isWizziStudio37 html/j( https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js)38 $else39 html/j( https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js)40 $if opt.useInteractJs41 html/j( /public/lib/interactjs/interact.js)42 $if opt.useJarallax43 html/j( /public/lib/object-fit-images/ofi.min.js)44 $if opt.production45 html/j( /public/lib/jarallax/jarallax.min.js)46 html/j( /public/lib/jarallax/jarallax-video.min.js)47 html/j( /public/lib/jarallax/jarallax-element.min.js)48 $else49 html/j( /public/lib/jarallax/jarallax.js)50 html/j( /public/lib/jarallax/jarallax-video.js)51 html/j( /public/lib/jarallax/jarallax-element.js)52 $if opt.useJQuery || opt.useBootstrap53 $if opt.production54 html/j( /public/lib/jquery/jquery.min.js)55 $else56 html/j( /public/lib/jquery/jquery.js)57 $if opt.useJsonFormatter58 $if opt.isWizziStudio59 html/j( /public/lib/json-formatter/json-formatter.js)60 $else62 $if opt.useJss63 js /public/lib/jss/jss.js64 js /public/lib/jss/jss-preset-default.js65 $if opt.useMarkdown66 html/j( https://cdn.jsdelivr.net/npm/marked/marked.min.js)67 $if opt.useMathJax68 html/j( https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML)69 $if opt.usePopper70 html/j( /public/lib/popper/popper.js)71 $if opt.usePrism72 $if opt.isWizziStudio73 js /public/lib/prism/prism.js74 $else75 js https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/prism.min.js76 $if opt.usePubSub77 js /public/lib/pubsub/pubsub.js78 $if useReact79 $if opt.production81 $else83 $if opt.production86 $else89 $if opt.useClassNames90 html/j( /public/lib/react/classnames.js)91 $if opt.useMaterialUI92 $if opt.materialUI.latest93 $if opt.production94 html/j( https://unpkg.com/@mui/material@latest/umd/material-ui.production.min.js)95 $else96 html/j( https://unpkg.com/@mui/material@latest/umd/material-ui.development.js)97 $else98 $if opt.production99 $if opt.materialUI.v4101 $else103 $else104 $if opt.materialUI.v4106 $else108 $if opt.useRouter111 html/j( https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/react-router-dom.production.min.js)112 $if opt.useReactGrid113 html/j( /public/lib/react/react-grid-layout.min.js)114 $if opt.useDownshift115 $if opt.local || opt.isWizziStudio117 $else119 $if opt.useGridLayout120 $if opt.useGridLayoutLatest121 html/j( https://unpkg.com/react-grid-layout@latest/dist/react-grid-layout.min.js)122 $else124 $if opt.react.useStyledComponents126 $if opt.react.useTransitionGroup127 js https://cdnjs.cloudflare.com/ajax/libs/react-transition-group/4.4.1/react-transition-group.min.js128 $if opt.useRxJs129 html/j( /public/lib/rxjs/rxjs.umd.min.js)130 $if opt.useScrollReveal131 html/j( /public/lib/scrollreveal/scrollreveal.js)132 $if opt.useSplit133 js /public/lib/controls/split.js134 $if opt.useSweetalert136 $if opt.useUnderscore137 $if opt.production138 html/j( /public/lib/underscore/underscore.min.js)139 $else140 html/j( /public/lib/underscore/underscore.js)141 $if opt.useVue142 html/j( https://unpkg.com/vue)143 $if opt.useWizzi144 $if opt.isWizziStudio145 html/j( /public/wizzi-play/scripts/wizzi.standalone.js)146 $else147 html/j( /scripts/wizzi.standalone.js)148 $if opt.useMathJax149 script150 #151 _ MathJax.Hub.Config152 {153 @ tex2jax154 {155 @ inlineMath [['$','$'], ['\\(','\\)']]156 @ processEscapes true157 $if useBabel159 $if opt.useMonaco160 html/j( /public/lib/monaco-editor/min/vs/loader.js)161 $if opt.mainJs && opt.mainJs.length > 0162 $if useBabel163 script164 src ${opt.mainJs}165 type text/babel166 $else167 js ${opt.mainJs}
/t/html/images/t/wizzi-logo-i.html.ittf
1 $group2 $params l:integer, &opt3 polyline4 stroke ${opt.color}5 fill ${opt.color}6 stroke-width 27 points ${l} ${opt.ybottom} ${l+10} ${opt.y1+80} ${l+40} ${opt.y1+80} ${l+50} ${opt.ybottom}8 path9 stroke ${opt.color}10 fill ${opt.color}11 stroke-width 212 d M${l+30}, ${opt.y1+20} C${l+60},${opt.y1+40} ${l+0},${opt.y1+60} ${l+30}, ${opt.y1+74}
/t/html/images/t/wizzi-logo-z.html.ittf
1 $group2 $params l:integer, &opt3 polyline4 stroke ${opt.color}5 fill ${opt.color}6 stroke-width 27 points ${l} ${opt.ybottom} ${l} ${opt.ybottom - 20} ${l+100} ${opt.y1a+40} ${l+80} ${opt.y1a+20} ${l+80} ${opt.y1a} ${l+130} ${opt.y1a} ${l+100} ${opt.ybottom - 20} ${l+120} ${opt.ybottom - 20} ${l+120} ${opt.ybottom}
/t/html/s.html.ittf
1 $group2 $params url3 link4 href ${url}5 rel stylesheet
/t/html/j.html.ittf
1 $group2 $params url3 script4 src ${url}5 crossorigin anonymous
/ittf/site/webapi/index.json.ittf
1 {2 [ apis3 {4 title 'Wizzi - wrap ittf for schema'5 method 'post'6 url '/api/v1/wizzi/production/wrapittf'7 [ parameters8 {9 type "string"10 paramType "body"11 name "schema"12 label "schema"13 demoValue 'js'14 {15 type "string"16 paramType "body"17 name "ittfText"18 label "ittfText"19 demoValue 'var i = 0'20 {21 title 'Wizzi - generate artifact'22 method 'post'23 url '/api/v1/wizzi/production/artifact'24 [ parameters25 {26 type "object"27 paramType "body"28 name "ittfDocument"29 label "ittfDocument"30 demoValue '{ "source": "packi", "mainIttf": "index.html.ittf", "packiFiles":31 \b { "index.html.ittf": { "type": "CODE", "contents": "html" } } }'32 {33 type "object"34 paramType "body"35 name "contextItems"36 label "contextItems"37 demoValue "[]"38 {39 title 'Wizzi - generate mTree'40 method 'post'41 url '/api/v1/wizzi/production/mtree'42 [ parameters43 {44 type "object"45 paramType "body"46 name "ittfDocument"47 label "ittfDocument"48 demoValue '{ "source": "packi", "mainIttf": "index.html.ittf", "packiFiles":49 \b { "index.html.ittf": { "type": "CODE", "contents": "html" } } }'50 {51 type "object"52 paramType "body"53 name "contextItems"54 label "contextItems"55 demoValue "[]"56 {57 title 'Wizzi - generate mTree buildup script'58 method 'post'59 url '/api/v1/wizzi/production/mtreescript'60 [ parameters61 {62 type "object"63 paramType "body"64 name "ittfDocument"65 label "ittfDocument"66 demoValue '{ "source": "packi", "mainIttf": "index.html.ittf", "packiFiles":67 \b { "index.html.ittf": { "type": "CODE", "contents": "html" } } }'68 {69 type "object"70 paramType "body"71 name "contextItems"72 label "contextItems"73 demoValue "[]"74 {75 title 'Packi - generate artifact from an artifact production'76 method 'post'77 url '/api/v1/production/generations/artifact/:filepath'78 [ parameters79 {80 type "string"81 paramType "url"82 name "filepath"83 label "File path"84 demoValue "index.html.ittf"85 {86 type "string"87 paramType "body"88 name "productionKind"89 label "Production kind"90 demoValue "artifact"91 {92 type "string"93 paramType "body"94 name "productionName"95 label "Production name"96 demoValue "lab-css.html"97 {98 title 'Packi - generate mTree from an artifact production'99 method 'post'100 url '/api/v1/production/generations/mtree/:filepath'101 [ parameters102 {103 type "string"104 paramType "url"105 name "filepath"106 label "File path"107 demoValue "index.html.ittf"108 {109 type "string"110 paramType "body"111 name "productionKind"112 label "Production kind"113 demoValue "artifact"114 {115 type "string"116 paramType "body"117 name "productionName"118 label "Production name"119 demoValue "lab-css.html"120 {121 title 'Packi - generate mTree buildup script from an artifact production'122 method 'post'123 url '/api/v1/production/generations/mtreescript/:filepath'124 [ parameters125 {126 type "string"127 paramType "url"128 name "filepath"129 label "File path"130 demoValue "index.html.ittf"131 {132 type "string"133 paramType "body"134 name "productionKind"135 label "Production kind"136 demoValue "artifact"137 {138 type "string"139 paramType "body"140 name "productionName"141 label "Production name"142 demoValue "lab-css.html"143 {144 title 'Packi - load and transform an Ittf document from an artifact production'145 method 'post'146 url '/api/v1/production/generations/mtreescript/:filepath/:transform'147 [ parameters148 {149 type "string"150 paramType "url"151 name "filepath"152 label "File path"153 demoValue "index.html.ittf"154 {155 type "string"156 paramType "body"157 name "productionKind"158 label "Production kind"159 demoValue "artifact"160 {161 type "string"162 paramType "body"163 name "productionName"164 label "Production name"165 demoValue "lab-css.html"166 {167 type "string"168 paramType "url"169 name "transform"170 label "Transform name"171 demoValue "6388d115351b9b4f611b972c"172 {173 title 'Wizzify the files of a Packifile object'174 method 'post'175 url '/api/v1/production/generations/wizzify'176 [ parameters177 {178 type "string"179 paramType "body"180 name "packifiles"181 label "Packifiles"182 demoValue '.."183 {184 title 'Productions - get artifacts list'185 method 'get'186 url '/api/v1/production/artifact/:owner'187 [ parameters188 {189 type "string"190 paramType "url"191 name "owner"192 label "Owner"193 demoValue "stfnbssl"194 {195 title 'Productions - get artifact'196 method 'get'197 url '/api/v1/production/artifact/:owner/:name'198 [ parameters199 {200 type "string"201 paramType "url"202 name "owner"203 label "Owner"204 demoValue "stfnbssl"205 {206 type "string"207 paramType "url"208 name "name"209 label "Name"210 demoValue "docs/artifacts.html"211 {212 title 'Productions - get packages list'213 method 'get'214 url '/api/v1/production/package/:owner'215 [ parameters216 {217 type "string"218 paramType "url"219 name "owner"220 label "Owner"221 demoValue "stfnbssl"222 {223 title 'Productions - get package'224 method 'get'225 url '/api/v1/production/package/:owner/:name'226 [ parameters227 {228 type "string"229 paramType "url"230 name "owner"231 label "Owner"232 demoValue "stfnbssl"233 {234 type "string"235 paramType "url"236 name "name"237 label "Name"238 demoValue "react.app.sample"239 {240 title 'Productions - get metas list'241 method 'get'242 url '/api/v1/production/meta/:owner'243 [ parameters244 {245 type "string"246 paramType "url"247 name "owner"248 label "Owner"249 demoValue "stfnbssl"250 {251 title 'Productions - get meta'252 method 'get'253 url '/api/v1/production/meta/:owner/:name'254 [ parameters255 {256 type "string"257 paramType "url"258 name "owner"259 label "Owner"260 demoValue "stfnbssl"261 {262 type "string"263 paramType "url"264 name "name"265 label "Name"266 demoValue "webpack.react"267 {268 title 'Productions - get tFolders list'269 method 'get'270 url '/api/v1/production/tfolder/:owner'271 [ parameters272 {273 type "string"274 paramType "url"275 name "owner"276 label "Owner"277 demoValue "stfnbssl"278 {279 title 'Productions - get tFolder'280 method 'get'281 url '/api/v1/production/tfolder/:owner/:name'282 [ parameters283 {284 type "string"285 paramType "url"286 name "owner"287 label "Owner"288 demoValue "stfnbssl"289 {290 type "string"291 paramType "url"292 name "name"293 label "Name"294 demoValue "css"295 {296 title 'WizziAction - get list'297 method 'get'298 url '/api/v1/wizziAction'299 [ parameters300 {301 type "string"302 paramType "url"303 name "owner"304 label "Owner"305 demoValue "stfnbssl"306 {307 title 'WizziAction - get item'308 method 'get'309 url '/api/v1/wizziAction/:owner/:kind/:name'310 [ parameters311 {312 type "string"313 paramType "url"314 name "owner"315 label "Owner"316 demoValue "stfnbssl"317 {318 type "string"319 paramType "url"320 name "kind"321 label "Kind"322 demoValue ".."323 {324 type "string"325 paramType "url"326 name "name"327 label "Name"328 demoValue ".."329 {330 title 'WizziGist - get list'331 method 'get'332 url '/api/v1/gist/:owner'333 [ parameters334 {335 type "string"336 paramType "url"337 name "owner"338 label "Owner"339 demoValue "stfnbssl"340 {341 title 'WizziGist - get item'342 method 'get'343 url '/api/v1/gist/:owner/:name'344 [ parameters345 {346 type "string"347 paramType "url"348 name "owner"349 label "Owner"350 demoValue "stfnbssl"351 {352 type "string"353 paramType "url"354 name "kind"355 label "Kind"356 demoValue ".."357 {358 type "string"359 paramType "url"360 name "name"361 label "Name"362 demoValue ".."363 {364 title 'Docs - get cheatsheet'365 method 'get'366 url '/api/v1/docs/cheatsheet/:name'367 [ parameters368 {369 type "string"370 paramType "url"371 name "name"372 label "Name"373 demoValue "css"374 {375 title 'Geop - get geop db list'376 method 'get'377 url '/api/v1/geop'378 [ parameters379 {380 title 'Geop - get geop db'381 method 'get'382 url '/api/v1/geop/:name'383 [ parameters384 {385 type "string"386 paramType "url"387 name "name"388 label "Name"389 demoValue "history_gb"390 {391 title 'Philos - get philos db list'392 method 'get'393 url '/api/v1/philos'394 [ parameters395 {396 title 'Philos - get philos db'397 method 'get'398 url '/api/v1/philos/:name'399 [ parameters400 {401 type "string"402 paramType "url"403 name "name"404 label "Name"405 demoValue "freud"406 {407 title 'Dev - scan'408 method 'get'409 url '/api/v1/dev/scan'410 [ parameters411 {412 title 'Meta - get provides'413 method 'get'414 url '/api/v1/meta/provides'415 [ parameters416 $*417 {418 title 'Studio - summary of main infos'419 method 'get'420 url '/api/studio/check'421 [ parameters422 {423 title 'Studio - common data'424 method 'get'425 url '/api/studio/commons'426 [ parameters427 {428 title 'Studio - default artifacts'429 method 'get'430 url '/api/studio/commons/defaultartifacts'431 [ parameters432 {433 title 'Studio - user'434 method 'get'435 url '/api/studio/user'436 [ parameters437 {438 title 'Studio - schemas'439 method 'get'440 url '/api/studio/schemas'441 [ parameters442 {443 title 'Studio - schema'444 method 'get'445 url '/api/studio/schema'446 [ parameters447 {448 type "string"449 name "uri"450 label "Schema uri"451 demoValue "v5-plugins/wizzi-core/wzjob"452 {453 title 'Studio - packages'454 method 'get'455 url '/api/studio/packages'456 [ parameters457 {458 title 'Studio - package'459 method 'get'460 url '/api/studio/package'461 [ parameters462 {463 type "string"464 name "id"465 label "Package Id"466 demoValue "v5-plugins/wizzi-js"467 {468 title 'Studio - projects'469 method 'get'470 url '/api/studio/projects'471 [ parameters472 {473 title 'Studio - documents'474 method 'get'475 url '/api/studio/documents'476 [ parameters477 {478 type "string"479 name "project"480 label "Project Id"481 demoValue "wizzi"482 {483 title 'Studio - document'484 method 'get'485 url '/api/studio/document'486 [ parameters487 {488 type "string"489 name "uri"490 label "Document uri"491 demoValue "/stefi/aa/bb/begus.undefined.ittf"492 {493 title 'Studio - document'494 method 'post'495 url '/api/studio/document'496 [ parameters497 {498 type "string"499 name "uri"500 label "Document uri"501 demoValue "/stefi/aa/bb/begus.undefined.ittf"502 {503 title 'Studio - fragments'504 method 'get'505 url '/api/studio/fragments'506 [ parameters507 {508 type "string"509 name "project"510 label "Project Id"511 demoValue "wizzi"512 {513 title 'Studio - fragment'514 method 'get'515 url '/api/studio/fragment'516 [ parameters517 {518 type "string"519 name "uri"520 label "Fragment uri"521 demoValue "/stefi/aa/bb/t/sum.js.ittf"522 {523 title 'Studio - artifact'524 method 'get'525 url '/api/studio/artifact'526 [ parameters527 {528 type "string"529 name "uri"530 label "Document uri"531 demoValue "/stefi/aa/bb/begus.undefined.ittf"532 {533 type "string"534 name "artifact"535 label "Artifact name"536 demoValue "js/module"537 {538 title 'Wizzi - summary of main infos'539 method 'get'540 url '/api/wizzi/check'541 [ parameters542 {543 title 'Wizzi - system packages'544 method 'get'545 url '/api/wizzi/system/packages'546 [ parameters547 {548 title 'Wizzi - kernel info'549 method 'get'550 url '/api/wizzi/kernel/info'551 [ parameters552 {553 title 'Wizzi - kernel packages'554 method 'get'555 url '/api/wizzi/kernel/packages'556 [ parameters557 {558 title 'Wizzi - kernel package'559 method 'get'560 url '/api/wizzi/kernel/package'561 [ parameters562 {563 type "string"564 name "xpackage"565 label "Package name"566 demoValue "wizzi-mtree"567 {568 title 'Wizzi - plugin info'569 method 'get'570 url '/api/wizzi/plugin/info'571 [ parameters572 {573 title 'Wizzi - plugin packages'574 method 'get'575 url '/api/wizzi/plugin/packages'576 [ parameters577 {578 title 'Wizzi - plugin package'579 method 'get'580 [ parameters581 {582 type "string"583 name "xpackage"584 label "Package name"585 demoValue "wizzi-js"586 {587 type "string"588 name "schema"589 label "Schema name"590 demoValue "js"591 {592 title 'Wizzi - plugin schemas'593 method 'get'594 url '/api/wizzi/plugin/schemas'595 [ parameters596 {597 type "string"598 name "xpackage"599 label "Package name"600 demoValue "wizzi-web"601 {602 title 'Wizzi - plugin artifacts'603 method 'get'604 url '/api/wizzi/plugin/artifacts'605 [ parameters606 {607 type "string"608 name "xpackage"609 label "Package name"610 demoValue "wizzi-web"611 {612 title 'Wizzi - ittf - wizzi factory'613 method 'get'614 url '/api/wizzi/ittf/wizzifactory'615 [ parameters616 {617 type "string"618 name "storeKind"619 label "Store kind"620 demoValue "filesystem"621 {622 type "string"623 name "plugins"624 label "Plugins"625 demoValue "wizzi-lab"626 {627 type "string"628 name "globalContext"629 label "Global context"630 demoValue "name=wizzi studio;version=0.1.1"631 {632 title 'Wizzi - ittf - mtree'633 method 'get'634 url '/api/wizzi/ittf/mtree'635 [ parameters636 {637 type "string"638 name "hash"639 label "Ittf hash"640 demoValue "yRkyD16o8Kf9Q6xGKW6pH575nGmg9QTvdG8b7weGFBqalRp9X4u6zbk50JyoHkL3BJNPkLHdmQaByQkBC0YP19VyGRsqeYN59XWVh9bVBpXVxvFZeLB9Zg95CaydGLxGKgcdPmkM"641 description "The hash is returned by ... "642 {643 title 'Wizzi - ittf - mtree debug'644 method 'get'645 url '/api/wizzi/ittf/mtreedebug'646 [ parameters647 {648 type "string"649 name "hash"650 label "Ittf hash"651 demoValue "yRkyD16o8Kf9Q6xGKW6pH575nGmg9QTvdG8b7weGFBqalRp9X4u6zbk50JyoHkL3BJNPkLHdmQaByQkBC0YP19VyGRsqeYN59XWVh9bVBpXVxvFZeLB9Zg95CaydGLxGKgcdPmkM"652 description "The hash is returned by ... "653 {654 title 'Wizzi - ittf - default artifact'655 method 'get'656 url '/api/wizzi/ittf/defaultartifact'657 [ parameters658 {659 type "string"660 name "hash"661 label "Ittf hash"662 demoValue ""663 description "The hash is returned by ... "664 {665 title 'Wizzi - wzjob'666 method 'get'667 url '/api/wizzi/wzjob'668 [ parameters669 {670 type "string"671 name "hash"672 label "Job hash"673 demoValue "079Bo665w9iMaWYk9QeVh090Rz1gd6cBEWZMymXEFAzd5mnzRRUx4DGVQdLehxXPXEB7QKslLX60gykbt344dzeWxphlxpqKVKmqtgWWodNNeJTB6GQW4M1kCQmbpk8JYXFbNmN3R3WBfGvd8KDK39CbPBE67QBgcYGbR6GQaoFebL415Q4eh3dMPZmmaJIVakXoQx50UA4x7onNK3TDdGz9Zm0"674 description "The hash is returned by ... "675 {676 title 'Wizzi - wfschema'677 method 'get'678 url '/api/wizzi/wfschema'679 [ parameters680 {681 type "string"682 name "hash"683 label "Schema hash"684 demoValue "5xQqoDDK6QInzgboy0KvfY9YwpgynztVGaDPkZlGsLl7DyPlddCZaWQnYDxbUdQqQxEKBbTgBRWG8Xxmilee7ERbxktGEedKDKMdIqppyo99mNHkylXpbGoqC3l0Vz9awntvBlBR3RAKc45MVWDRzZt8JbmADVMWcW5Y61EZ3gcABKkRz7dZI89vbW0L7kte97Lbm3oZfzqdkNM"685 description "The hash is returned by ... "686 {687 title 'Jobs - batches'688 method 'get'689 url '/api/jobs/batches'690 [ parameters691 {692 title 'Jobs - batch'693 method 'get'694 url '/api/jobs/batch'695 [ parameters696 {697 type "string"698 name "hash"699 label "Job batch hash"700 demoValue "xRNGZvXlwKfG30Pvo70zCyMyPxWwXeHgB6NDaZnkhlA6PQNkkVHl7PWmo679S1AyWbPy4Vspd197gJX9UdY"701 description "The hash is returned by ... "702 {703 title 'Jobs - gists'704 method 'get'705 url '/api/jobs/gists'706 [ parameters707 [ parameters708 {709 type "string"710 name "kind"711 label "Gist kind"712 demoValue "gist"713 {714 title 'Jobs - gist'715 method 'get'716 url '/api/jobs/gist'717 [ parameters718 {719 type "string"720 name "hash"721 label "Gist hash"722 demoValue "wvmQl6l34ah1n5K8yW4pSNYNDz7K8yFYm4zwbPKmC6qoDdnqPPiPkZdDz5ReSke8e57A60SpbAKoE9M4sPGGK1eZ7wtNdD4BzBw4TzWW7E55lJheBnKPpg6GH7wk1Rg1YzfW9DdXazvnfxyXyzaBd6IDgoqmJewBuZDy0b77A8"723 description "The hash is returned by ... "724 {725 title 'Jobs - execute gist'726 method 'get'727 url '/api/jobs/gistexec'728 [ parameters729 {730 type "string"731 name "hash"732 label "Gist hash"733 demoValue "wvmQl6l34ah1n5K8yW4pSNYNDz7K8yFYm4zwbPKmC6qoDdnqPPiPkZdDz5ReSke8e57A60SpbAKoE9M4sPGGK1eZ7wtNdD4BzBw4TzWW7E55lJheBnKPpg6GH7wk1Rg1YzfW9DdXazvnfxyXyzaBd6IDgoqmJewBuZDy0b77A8"734 description "The hash is returned by ... "735 {736 title 'Jobs - wizzify snippet'737 method 'get'738 url '/api/jobs/wizzify'739 [ parameters740 {741 type "string"742 name "hash"743 label "Snippet hash"744 demoValue "3YPmqvqlpRUwgLaA7P9Rhbdbo6Q3pqc0B17LzJaBIyXQbW9XPPHaG14d8QA0iYWkWGqb4JC0NKWg7QRMT4RRwm95KVUmox45Y5e4heddEAaamXtW8PQd7xvAH76bokNP1wSQwlgG003XSqZJGNvNnacL95MLegQbiVggbZqYaMCD3nml8880UWnRqqoeAvi3b"745 description "The hash is returned by ... "746 {747 title 'Studio - user'748 method 'post'749 url '/api/studio/user'750 [ parameters751 {752 {753 title 'Studio - create user'754 method 'post'755 url '/api/studio/user/create'756 [ parameters757 {758 {759 title 'Studio - project'760 method 'post'761 url '/api/studio/project'762 [ parameters763 {764 {765 title 'Studio - document'766 method 'post'767 url '/api/studio/document'768 [ parameters769 {770 {771 title 'Studio - fragment'772 method 'post'773 url '/api/studio/fragment'774 [ parameters775 {776 {777 title 'Repo - get user'778 method 'get'779 url '/repo/:user'780 [ parameters781 {782 type "string"783 paramType "url"784 name "user"785 label "User id"786 demoValue "stefi"787 {788 title 'Repo - get project'789 method 'get'790 url '/repo/:user/:project'791 [ parameters792 {793 type "string"794 paramType "url"795 name "user"796 label "User id"797 demoValue "stefi"798 {799 type "string"800 paramType "url"801 name "project"802 label "Project id"803 demoValue "studio"804 {805 title 'Repo - get folder or document'806 method 'get'807 url '/repo/:user/:project/:path'808 [ parameters809 {810 type "string"811 paramType "url"812 name "user"813 label "User id"814 demoValue "stefi"815 {816 type "string"817 paramType "url"818 name "project"819 label "Project id"820 demoValue "studio"821 {822 type "string"823 paramType "url"824 name "path"825 label "Folder or document path"826 demoValue "wizzi"827 {828 title 'Repo - create folder'829 method 'post'830 url '/repo/:user/:project/:path'831 [ parameters832 {833 type "string"834 paramType "url"835 name "user"836 label "User id"837 demoValue "stefi"838 {839 type "string"840 paramType "url"841 name "project"842 label "Project id"843 demoValue "studio"844 {845 type "string"846 paramType "url"847 name "path"848 label "Folder path"849 demoValue "temp/1"850 {851 type "static"852 name "kind"853 label "0 = folder 1 = document"854 demoValue "0"855 {856 type "static"857 name "action"858 label "Action"859 demoValue "create"860 {861 title 'Repo - create document'862 method 'post'863 url '/repo/:user/:project/:path'864 [ parameters865 {866 type "string"867 paramType "url"868 name "user"869 label "User id"870 demoValue "stefi"871 {872 type "string"873 paramType "url"874 name "project"875 label "Project id"876 demoValue "studio"877 {878 type "string"879 paramType "url"880 name "path"881 label "Folder path"882 demoValue "temp/1/happy.html.ittf"883 {884 type "static"885 name "kind"886 label "0 = folder 1 = document"887 demoValue "1"888 {889 type "static"890 name "action"891 label "Action"892 demoValue "create"893 {894 title 'Repo - rename folder'895 method 'post'896 url '/repo/:user/:project/:path'897 [ parameters898 {899 type "string"900 paramType "url"901 name "user"902 label "User id"903 demoValue "stefi"904 {905 type "string"906 paramType "url"907 name "project"908 label "Project id"909 demoValue "studio"910 {911 type "string"912 paramType "url"913 name "path"914 label "Folder path"915 demoValue "temp/1"916 {917 type "string"918 name "newname"919 label "New name"920 demoValue "temp/2"921 {922 type "static"923 name "kind"924 label "0 = folder 1 = document"925 demoValue "0"926 {927 type "static"928 name "action"929 label "Action"930 demoValue "rename"931 {932 title 'Repo - rename document'933 method 'post'934 url '/repo/:user/:project/:path'935 [ parameters936 {937 type "string"938 paramType "url"939 name "user"940 label "User id"941 demoValue "stefi"942 {943 type "string"944 paramType "url"945 name "project"946 label "Project id"947 demoValue "studio"948 {949 type "string"950 paramType "url"951 name "path"952 label "Folder path"953 demoValue "temp/1/happy.html.ittf"954 {955 type "string"956 name "newname"957 label "New name"958 demoValue "temp/1/happy_new.html.ittf"959 {960 type "static"961 name "kind"962 label "0 = folder 1 = document"963 demoValue "1"964 {965 type "static"966 name "action"967 label "Action"968 demoValue "rename"969 {970 title 'Repo - delete folder'971 method 'post'972 url '/repo/:user/:project/:path'973 [ parameters974 {975 type "string"976 paramType "url"977 name "user"978 label "User id"979 demoValue "stefi"980 {981 type "string"982 paramType "url"983 name "project"984 label "Project id"985 demoValue "studio"986 {987 type "string"988 paramType "url"989 name "path"990 label "Folder path"991 demoValue "temp/2"992 {993 type "static"994 name "kind"995 label "0 = folder 1 = document"996 demoValue "0"997 {998 type "static"999 name "action"1000 label "Action"1001 demoValue "delete"1002 {1003 title 'Repo - delete document'1004 method 'post'1005 url '/repo/:user/:project/:path'1006 [ parameters1007 {1008 type "string"1009 paramType "url"1010 name "user"1011 label "User id"1012 demoValue "stefi"1013 {1014 type "string"1015 paramType "url"1016 name "project"1017 label "Project id"1018 demoValue "studio"1019 {1020 type "string"1021 paramType "url"1022 name "path"1023 label "Folder path"1024 demoValue "temp/1/happy_new.html.ittf"1025 {1026 type "static"1027 name "kind"1028 label "0 = folder 1 = document"1029 demoValue "1"1030 {1031 type "static"1032 name "action"1033 label "Action"1034 demoValue "delete"1035 {1036 title 'Wizzi factory - generation'1037 method 'post'1038 url '/api/wf/gen'1039 [ parameters1040 {1041 {1042 title 'Crawl - create snippet'1043 method 'put'1044 url '/api/crawl/snippet'1045 [ parameters1046 {1047 type "string"1048 paramType "body"1049 name "name"1050 label "Name"1051 demoValue "myfirstsnippet.js"1052 {1053 type "string"1054 paramType "body"1055 name "code"1056 label "Code"1057 demoValue "function not(value) { return !value; }"1058 {1059 title 'Crawl - wizzify snippet'1060 method 'post'1061 url '/api/crawl/wizzify'1062 [ parameters1063 {1064 type "string"1065 paramType "body"1066 name "code"1067 label "Code"1068 demoValue "function not(value) { return !value; }"1069 {1070 type "string"1071 paramType "body"1072 name "mime"1073 label "Mime"1074 demoValue "js"1075 {1076 title 'Github - clone repository'1077 method 'get'1078 url '/api/github/clone'1079 [ parameters1080 {1081 type "string"1082 paramType "query"1083 name "url"1084 label "Url"1085 demoValue "https://github.com/vuejs-templates/webpack.git"1086 {1087 type "string"1088 paramType "query"1089 name "name"1090 label "Name"1091 demoValue "vue-webpack"1092 {1093 title 'Github - wizzify cloned repository'1094 method 'get'1095 url '/api/github/wizzify'1096 [ parameters1097 {1098 type "string"1099 paramType "query"1100 name "name"1101 label "name"1102 demoValue "vue-webpack"1103 {1104 type "string"1105 paramType "query"1106 name "folder"1107 label "Folder"1108 demoValue ""1109 *$
/ittf/site/webapi/styles.css.ittf
1 css2 < body3 font-size 15px4 < li5 list-style none6 < a7 text-decoration none8 . d-container9 display flex10 . d-left-aside11 height 100%12 min-width 20rem13 overflow auto14 padding-right 1rem15 < ul16 < li17 padding 2px18 < a19 color #00020 & :hover21 color #fff22 background-color #55523 . d-main-content24 padding-left 1rem25 overflow auto26 padding-right 1rem27 height 800px28 overflow auto29 . d-right-aside30 height 100%31 max-width 40rem32 overflow auto33 . d-api-prop34 display flex35 padding 0.5rem 1rem36 font-size 1.2rem37 . d-api-prop-name38 min-width 12rem39 font-style italic40 . d-api-prop-value41 font-weight bold42 . d-params-panel43 margin-top 0.2rem44 border 1px solid #ddd45 . d-param46 display flex47 margin 0.2rem 048 width 100%49 . d-param-label50 min-width 10rem51 padding 0.2rem52 background-color #ddd53 . d-param-input54 padding 0.2rem55 width 100%56 < input57 padding 0.2rem58 width 32rem59 font-weight 700
/ittf/site/webapi/main.js.ittf
1 module2 kind es63 $include js/wz/core4 $include js/wz/stringFunctions
/t/js/wz/core.js.ittf
1 $group2 $include polyfill3 iife4 var wz = window.wz = {}5 var rclass = /[\n\t\r]/g6 var rnotwhite = (/\S+/g)7 $include eventTarget8 $include global9 $include events10 $include verify11 set wz.element12 function13 param element14 if typeof element === 'string'15 var e = document.querySelector(element)16 if !e17 try18 set e = document.querySelector("#" + element)19 catch ex20 return null21 return e22 else23 return element24 set wz.hide25 function26 param element27 var e = wz.element(element)28 set e.style.display = 'none'29 set wz.show30 function31 param element32 var e = wz.element(element)33 set e.style.display = 'block'34 set wz.hasClass35 function36 param element37 param selector38 var e = wz.element(element)39 if (" " + e.className + " ").replace(rclass, " ").indexOf(" " + selector + " ") > -140 return true41 return false42 set wz.addClass43 function44 param element45 param value46 param options47 var e = wz.element(element)48 var classes, cur, finalValue49 if options && options.removeOnClass50 var elements = document.getElementsByClassName(options.removeOnClass)51 _ Array.from(elements).forEach52 function53 param element54 _ wz.removeClass(element, value)55 if value && typeof value === "string"56 set classes = ( value || "" ).match( rnotwhite ) || []57 if !e.className && classes.length === 158 set e.className = value59 else60 set cur = " " + e.className + " "61 foreach clazz in classes62 if cur.indexOf( " " + clazz + " " ) < 063 set cur += clazz + " "64 set finalValue = cur.trim()65 if e.className !== finalValue66 set e.className = finalValue67 set wz.removeClass68 function69 param element70 param value71 var e = wz.element(element)72 var classes, cur, finalValue73 if value && typeof value === "string"74 set classes = ( value || "" ).match( rnotwhite ) || []75 set cur = e.className ? ( " " + e.className + " " ).replace( rclass, " " ) : ""76 foreach clazz in classes77 while cur.indexOf( " " + clazz + " " ) >= 078 set cur = cur.replace( " " + clazz + " ", " " )79 set finalValue = cur.trim()80 if e.className !== finalValue81 set e.className = finalValue82 set wz.toggleClass83 function84 param element85 param value86 if wz.hasClass(element, value)87 _ wz.removeClass(element, value)88 else89 _ wz.addClass(element, value)90 set wz.attribute91 function92 param element93 param name94 param value95 var e = wz.element(element)96 if typeof value === 'undefined'97 return e.getAttribute(name)98 else99 _ e.setAttribute(name, value)100 set wz.style101 function102 param element103 param name104 param value105 var e = wz.element(element)106 if typeof value === 'undefined'107 return e.style[name]108 else109 set e.style[name] = value110 set wz.text111 function112 param element113 param value114 var e = wz.element(element)115 if typeof value === 'undefined'116 return e.textContent117 elif e.textContent !== value118 set e.textContent = value119 set wz.html120 function121 param element122 param html123 var saveElementForLog = element124 if typeof element === "string"125 set element = wz.element(element)126 if !element127 log 'element', saveElementForLog128 throw new Error('In wz.html the element parameter must be an html element or the id of an html element. Received: ' + saveElementForLog)129 if typeof html === 'undefined'130 return element.innerHTML131 else132 set element.innerHTML = html133 set wz.htmlEscaped134 function135 param element136 param html137 _ wz.html138 @ element139 _ wz.escapeHtml(html)140 set wz.replaceChildren141 function142 param element143 param nodes144 var saveElementForLog = element145 if typeof element === "string"146 set element = wz.element(element)147 if !element148 log 'element', saveElementForLog149 throw new Error('In wz.replaceChildren the element parameter must be an html element or the id of an html element. Received: ' + saveElementForLog)150 set element.innerHTML = ''151 if nodes.length152 foreach node in nodes153 _ element.appendChild( node )154 else155 _ element.appendChild( nodes )156 set wz.value157 function158 param element159 param value160 var saveElementForLog = element161 if typeof element === "string"162 set element = wz.element(element)163 if !element164 log 'element', saveElementForLog165 throw new Error('In wz.value the element parameter must be an html element or the id of an html element. Received: ' + saveElementForLog)166 if typeof value === 'undefined'167 return element.value168 elif element.value !== value169 set element.value = value170 set wz.val = wz.value171 set wz.click172 function173 param element174 param handler175 param useCapture176 _ window.addEvent177 @ wz.element(element)178 @ 'click'179 @ handler180 @ useCapture181 set wz.clickClass182 function183 param classname184 param handler185 param useCapture186 var elements = document.getElementsByClassName(classname)187 _ Array.from(elements).forEach188 function189 param element190 _ wz.click191 @ element192 @ handler193 @ useCapture194 set wz.unclick195 function196 param element197 param handler198 param useCapture199 _ window.removeEvent200 @ wz.element(element)201 @ 'click'202 @ handler203 @ useCapture204 set wz.blur205 function206 param element207 param handler208 param useCapture209 _ window.addEvent210 @ wz.element(element)211 @ 'blur'212 @ handler213 @ useCapture214 set wz.unblur215 function216 param element217 param handler218 param useCapture219 _ window.removeEvent220 @ wz.element(element)221 @ 'blur'222 @ handler223 @ useCapture224 set wz.change225 function226 param element227 param handler228 param useCapture229 _ window.addEvent230 @ wz.element(element)231 @ 'change'232 @ handler233 @ useCapture234 set wz.unchange235 function236 param element237 param handler238 param useCapture239 _ window.removeEvent240 @ wz.element(element)241 @ 'change'242 @ handler243 @ useCapture244 set wz.contextmenu245 function246 param element247 param handler248 param useCapture249 _ window.addEvent250 @ wz.element(element)251 @ 'contextmenu'252 @ handler253 @ useCapture254 set wz.uncontextmenu255 function256 param element257 param handler258 param useCapture259 _ window.removeEvent260 @ wz.element(element)261 @ 'contextmenu'262 @ handler263 @ useCapture264 set wz.keypress265 function266 param element267 param handler268 param useCapture269 _ window.addEvent270 @ wz.element(element)271 @ 'keypress'272 @ handler273 @ useCapture274 set wz.unkeypress275 function276 param element277 param handler278 param useCapture279 _ window.removeEvent280 @ wz.element(element)281 @ 'keypress'282 @ handler283 @ useCapture284 set wz.contentLoaded285 function286 param fn287 # from Diego Perini https://raw.githubusercontent.com/dperini/ContentLoaded/master/src/contentloaded.js288 var289 decl done = false290 decl top = true291 decl doc = window.document292 decl root = doc.documentElement293 decl modern = doc.addEventListener294 decl add = modern ? 'addEventListener' : 'attachEvent'295 decl rem = modern ? 'removeEventListener' : 'detachEvent'296 decl pre = modern ? '' : 'on'297 decl init298 function299 param e300 if (e.type == 'readystatechange') && (doc.readyState != 'complete')301 return302 _ (e.type == 'load' ? window : doc)[rem]303 @ pre + e.type304 @ init305 @ false306 if !(done) && (done = true)307 _ fn.call(window, (e.type || e))308 decl poll309 function310 try311 _ root.doScroll('left')312 catch e313 _ setTimeout(poll, 50)314 return315 _ init('poll')316 if doc.readyState == 'complete'317 _ fn.call(window, 'lazy')318 else319 if !(modern) && root.doScroll320 try321 set top = !(window.frameElement)322 catch e323 if top324 _ poll()325 _ doc[add]326 @ pre + 'DOMContentLoaded'327 @ init328 @ false329 _ doc[add]330 @ pre + 'readystatechange'331 @ init332 @ false333 _ window[add]334 @ pre + 'load'335 @ init336 @ false337 set wz.loaded = wz.contentLoaded338 var entityMap339 {340 @ '&' '&'341 @ '<' '<'342 @ '>' '>'343 @ '"' '"'344 @ "'" '''345 @ '/' '/'346 @ '`' '`'347 @ '=' '='348 set wz.escapeHtml349 function escapeHtml350 param string351 return352 _ String(string).replace353 @ /[&<>"'`=\/]/g354 function fromEntityMap355 param s356 return entityMap[s]357 set wz.unescapeHtml358 function359 param string360 return361 _ wz.replace362 _ wz.replace363 _ wz.replace364 @ string365 @ '<'366 @ '<'367 @ '>'368 @ '>'369 @ '&'370 @ '&'371 ()
/t/js/wz/stringFunctions.js.ittf
1 $group2 set String.prototype.replaceAll3 function4 param search5 param replacement6 var target = this7 return target.replace(new RegExp(search, 'g'), replacement)
/t/js/wz/t/polyfill.js.ittf
1 $group2 if typeof Array.isArray === 'undefined'3 set Array.isArray4 function5 param obj6 return Object.prototype.toString.call(obj) === '[object Array]'
/t/js/wz/t/eventTarget.js.ittf
1 $group2 class wz_EventTarget3 ctor4 set this.handlers = {}5 m __is_Event6 param name7 return Array.isArray(this.events) == false || this.events.indexOf(name) > -18 m emit9 param name10 var args = [].slice.call(arguments, 1)11 # log 'wz_EventTarget.emit.args', arguments, args12 if this.__is_Event(name)13 if this.handlers[name] instanceof Array14 foreach handle in this.handlers[name]15 # log 'handle.context', handle.context16 _ handle.callback.apply(handle.context, args)17 else18 throw new Error(name + ' event cannot be found on TreeView.')19 m on20 param name21 param callback22 param scope23 # log 'EventTarget.on.name,scope', name, scope24 if this.__is_Event(name)25 if !this.handlers[name]26 set this.handlers[name] = []27 _ this.handlers[name].push28 {29 @ callback callback30 @ context scope31 else32 throw new Error(name + ' is not supported by TreeView.')33 m off34 param name35 param callback36 var37 decl index38 decl found = false39 if this.handlers[name] instanceof Array40 _ this.handlers[name].forEach41 function42 param handle43 param i44 set index = i45 if handle.callback === callback && !found46 set found = true47 if found48 _ this.handlers[name].splice(index, 1)49 set wz.EventTarget = wz_EventTarget
/t/js/wz/t/global.js.ittf
1 $group2 class wz_global : wz.EventTarget3 set wz.global = new wz_global()
/t/js/wz/t/events.js.ittf
1 $group2 iife3 if document.addEventListener4 set window.addEvent =5 function6 param elem7 param type8 param handler9 param useCapture10 _ elem.addEventListener(type, handler, !(!(useCapture)))11 return handler12 set window.removeEvent =13 function14 param elem15 param type16 param handler17 param useCapture18 _ elem.removeEventListener(type, handler, !(!(useCapture)))19 return true20 elif document.attachEvent21 set window.addEvent =22 function23 param elem24 param type25 param handler26 set type = ("on" + type)27 var boundedHandler28 function29 return handler.apply(elem, arguments)30 _ elem.attachEvent(type, boundedHandler)31 return boundedHandler32 set window.removeEvent =33 function34 param elem35 param type36 param handler37 set type = ("on" + type)38 _ elem.detachEvent(type, handler)39 return true40 ()
/t/js/wz/t/verify.js.ittf
1 $group2 set wz.isString3 function4 param test5 return test !== null && typeof(test) === 'string'6 set wz.isEmpty7 function8 param test9 return wz.isString(test) == false || test.length == 010 set wz.isObject11 function12 param test13 if test === null || typeof(test) === 'undefined'14 return false15 return {}.toString.call(test) === '[object Object]'16 set wz.isArray17 function18 param test19 if test === null || typeof(test) === 'undefined'20 return false21 if Array.isArray22 return Array.isArray(test);23 return {}.toString.call(test) === '[object Array]'24 set wz.clone25 function26 param obj27 if wz.isArray(obj)28 var ret29 [30 foreach item in obj31 var value32 _ clone33 @ item34 if value !== null35 _ ret.push(value)36 return ret37 elif wz.isObject(obj)38 var ret39 {40 for var prop in obj41 if obj.hasOwnProperty(prop)42 set ret[prop] = clone(obj[prop])43 return ret44 else45 return obj46 set wz.replace47 function48 param text49 param find50 param replace51 if wz.isEmpty(text)52 return text53 return54 _ text.replace55 new RegExp56 _ wz.escapeRegExp(find)57 @ 'g'58 @ replace59 set wz.escapeRegExp60 function61 param text62 if wz.isEmpty(text)63 return text64 return text.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1")
/ittf/css/main.css.ittf
1 css2 $3 var count = [0,1,2,3,4,5];4 var sizes = ['s','m','l','x','xl','xxl'];5 var scale = ['0.4','0.6','1','1.3','1.6','3'];6 var scaleRad = ['3','6','12','18','30','48'];7 var scaleWidth = [15,25,35,65,75,85];8 var scale50 = [50,100,150,200];9 < html10 font-family -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif11 font-size 16px12 < body13 margin 014 < a15 text-decoration none16 color #ffffff17 $include colors18 $include layout19 . fixed20 position fixed21 . relative22 position relative23 . absolute24 position absolute25 . flex-row26 display flex27 flex-direction row28 . flex-column29 display flex30 flex-direction column31 . justify-content-start32 justify-content start33 . justify-content-center34 justify-content center35 . justify-content-space-between36 justify-content space-between37 . space-between38 justify-content space-between39 . align-items-start40 align-items start41 . align-items-center42 align-items center43 . width-full44 width 100%!important45 . width-half46 width 50%!important47 . text-align-center48 text-align center49 . text-align-left50 text-align left51 . text-align-right52 text-align right53 . text-align-justify54 text-align justify55 . m-0-auto56 margin 0 auto57 $foreach c in scale5058 . m-${c}59 margin ${c}px60 . m-l-${c}61 margin-left ${c}px62 . m-r-${c}63 margin-right ${c}px64 . m-t-${c}65 margin-top ${c}px66 . m-b-${c}67 margin-bottom ${c}px68 $foreach c in count69 . font-${sizes[c]}70 font-size ${scale[c]}em71 . m-${sizes[c]}72 margin ${scale[c]}em73 . m-t-${sizes[c]}74 margin-top ${scale[c]}em75 . m-b-${sizes[c]}76 margin-bottom ${scale[c]}em77 . m-l-${sizes[c]}78 margin-left ${scale[c]}em79 . m-r-${sizes[c]}80 margin-right ${scale[c]}em81 . m-w-${sizes[c]}82 margin-left ${scale[c]}em83 margin-right ${scale[c]}em84 . m-y-${sizes[c]}85 margin-top ${scale[c]}em86 margin-bottom ${scale[c]}em87 . p-${sizes[c]}88 padding ${scale[c]}em89 . p-t-${sizes[c]}90 padding-top ${scale[c]}em91 . p-b-${sizes[c]}92 padding-bottom ${scale[c]}em93 . p-l-${sizes[c]}94 padding-left ${scale[c]}em95 . p-r-${sizes[c]}96 padding-right ${scale[c]}em97 . p-w-${sizes[c]}98 padding-left ${scale[c]}em99 padding-right ${scale[c]}em100 . p-y-${sizes[c]}101 padding-top ${scale[c]}em102 padding-bottom ${scale[c]}em103 . border-${sizes[c]}104 border ${c+1}px solid #323232105 . border-t-${sizes[c]}106 border-top ${c+1}px solid #323232107 . border-b-${sizes[c]}108 border-bottom ${c+1}px solid #323232109 . border-l-${sizes[c]}110 border-left ${c+1}px solid #323232111 . border-r-${sizes[c]}112 border-right ${c+1}px solid #323232113 . radius-${sizes[c]}114 border-radius ${scaleRad[c]}px115 . width-${sizes[c]}116 width ${scaleWidth[c]}%!important117 . font-w-s118 font-weight 300119 . font-w-x120 font-weight 500121 . font-w-xxl122 font-weight 700123 $include form124 $include icons
/ittf/css/t/colors.css.ittf
1 $group2 - header3 - main4 - main-content5 - footer6 < :root7 --color-tn-bg #3131318 --color-input-bg #dedede9 --color-input-border #76767610 --color-shadow-inset #a0a0a011 --color-text-primary #00000012 --color-success #2ea44f13 --color-error #ff000014 --color-warning #dbab0915 . color-header16 color #efefef17 . bg-color-header18 background-color #43434319 . color-header-inverse20 color #ff479021 . bg-color-header-inverse22 background-color #73737323 . color-main24 color #efefef25 . bg-color-main26 background-color #49494927 . color-main-content28 color #efefef29 . bg-color-main-content30 background-color #51515131 . color-black32 color #00000033 . bg-white34 background-color #00000035 . color-white36 color #ffffff37 . bg-black38 background-color #00000039 . color-success40 color var(--color-success)41 . bg-success42 background-color var(--color-success)43 . color-error44 color var(--color-error)45 . bg-error46 background-color var(--color-error)47 . color-warning48 color var(--color-warning)49 . bg-warning50 background-color var(--color-warning)51 . bg-filter52 background-color #eeeeff53 . bg-list54 background-color #eeffee
/ittf/css/t/layout.css.ittf
1 $group2 . container-703 width 70%4 margin 0 auto5 . container-806 width 80%7 margin 0 auto8 . container-909 width 90%10 margin 0 auto11 . flex-row12 display flex13 flex-direction row14 . flex-column15 display flex16 flex-direction column17 . justify-content-start18 justify-content start19 . justify-content-center20 justify-content center21 . justify-content-space-between22 justify-content space-between23 . space-between24 justify-content space-between25 . align-items-start26 align-items start27 . align-items-center28 align-items center29 . grid30 display grid31 . width-10032 width 100%33 . width-5034 width 50%35 . height-10036 height 100%37 . height-5038 height 50%
/ittf/css/t/form.css.ittf
1 $group2 . form-control3 background-color var(--color-input-bg)4 background-position right 8px center5 background-repeat no-repeat6 border 1px solid var(--color-input-border)7 border-radius 6px8 box-shadow var(--color-shadow-inset)9 color var(--color-text-primary)10 font-size 14px11 line-height 20px12 outline none13 padding 5px 12px14 vertical-align middle15 # ==========================================================================16 # Form17 # ==========================================================================18 . form-card19 padding 30px20 border 1px solid #ebebeb21 . form-title22 font-size 30px23 font-weight 70024 margin-bottom 20px25 # ==========================================================================26 # Control27 # ==========================================================================28 . control-group29 width 100%30 padding 10px31 margin-bottom 5px32 . single-control33 width 100%34 margin-bottom 5px35 . control-label36 font-weight bold37 margin-bottom 7px38 . control-error39 font-size 12px40 color red41 # ==========================================================================42 # Label43 # ==========================================================================44 < label.required45 position relative46 < label.required:after47 content '*'48 margin-left 2px49 color #b9000050 # ==========================================================================51 # GRID52 # ==========================================================================53 . grid-row-254 display grid55 grid-template-columns 1fr 1fr56 . grid-row-357 display grid58 grid-template-columns 1fr 1fr 1fr59 . input-group60 position relative61 width 100%62 margin-bottom 1px63 padding-bottom 4px64 # ==========================================================================65 # BUTTON66 # ==========================================================================67 . btn68 line-height 40px69 display inline-block70 padding 0 25px71 cursor pointer72 color #fff73 font-family "Roboto", "Arial", "Helvetica Neue", sans-serif74 transition all 0.4s ease75 font-size 14px76 font-weight 70077 . btn--radius78 border-radius 3px79 . btn--green80 background #57b84681 . btn--green:hover82 background #4dae3c83 # ==========================================================================84 # Input85 # ==========================================================================86 < input87 box-sizing border-box88 border 1px solid #ebebeb89 padding 14px 20px90 border-radius 5px91 font-size 14px92 font-family inherit93 < input:focus94 border 1px solid #009e0095 < input.error96 border 1px solid #c7000097 . input-icon98 position absolute99 font-size 18px100 color #ccc101 right 8px102 top 50%103 transform translateY(-50%)104 cursor pointer105 . input--style-2106 color #666107 font-size 16px108 font-weight 500109 . input--style-2::-webkit-input-placeholder110 color #808080111 opacity .4112 . input--style-2:-moz-placeholder113 color #808080114 opacity .4115 . input--style-2::-moz-placeholder116 color #808080117 opacity .4118 . input--style-2:-ms-input-placeholder119 color #808080120 opacity .4121 . input--style-2:-ms-input-placeholder122 color #808080123 opacity .4124 # ==========================================================================125 # Object condition126 # ==========================================================================127 . object-condition128 border 1px solid #cbcbcb129 padding 5px130 background-color #efefef131 . object-condition-checkbox132 background-color #fff
/ittf/css/t/icons.css.ittf
1 $group2 . octicon3 fill currentColor4 display inline-block5 overflow visible!important6 vertical-align text-bottom