/ittf/site/docs/concepts/glossary.html.ittf (primary)
1 html2 $global3 var dollar = '$';4 $5 var art= {6 section: 'Concepts',7 title: 'Glossary'8 };9 _layouts/concepts( &art)10 $include ./glossary/introduction
/ittf/site/docs/t/_layouts/concepts.html.ittf
1 $group2 $params &art3 $include models/docs/site.wzctx4 $5 var opt = {6 section: 'Docs',7 title: art.section,8 useHighlight: true,9 stickyNav: 'stickyNavbar',10 stickyNavOffset: 50,11 stickyNavLogo: 'logo',12 }13 // var sectionKey = art.section == "How to" ? "HowTos" : art.section;14 var sectionItems = wzCtx[art.section].items15 style16 css17 . current18 color yellow19 html/layouts/docs( &opt )20 $append head-styles-221 css /ittf/site/docs/styles/docs.css.ittf22 . flex-row23 $$ id main-container24 style height:100%; width:80%; margin: 0 auto; padding-top: 40px;25 . flex-column scrollbar-thin26 $$ id middle-container27 style width:70%; height:100%; overflow: auto;28 $hook29 . flex-column30 style width:30%; padding: 40px;31 $foreach item in sectionItems32 div33 $if item.title === art.title34 class current35 . current36 + ${item.title}37 $else38 a ${item.title}39 href ${item.url}
/ittf/site/docs/concepts/t/glossary/introduction.html.ittf
1 $group2 $3 var sect = {4 title: 'Wizzi Glossary'5 };6 section( §)7 table-doc( glo )8 glo-item( $fragment command )9 span10 + The $fragment command is an ITTF Template Command for declaring11 \b an inlined ITTF Fragment.12 glo-item( $include command )13 span14 + The $include command is an ITTF Template Command for including15 \b an ITTF Fragment in the node position of the command.16 glo-item( *__copy folders )17 span18 + When mass generating artifacts using a19 high-code( glob )20 + pattern, folders having a name ending with21 high-code( __copy )22 + are not generated but simply copied as is.23 glo-item( Artifact Generator )24 span25 + An Artifact Generator is a javascript module exported by a Wizzi Plugin26 \b that takes as input a Wizzi Model Instance and,27 \b optionally, a context object, and writes a software artifact.28 \b An Artifact Generation is the main actions of a Wizzi Production.29 glo-item( Included ITTF Fragment )30 span31 + An Included ITTF Fragment is a reusable fragment of an ITTF Document, contained in its own file32 \b or inlined,33 \b that has been incuded in an includer, without passing of parameters, using an $include command.34 glo-item( ITTF Document )35 span36 + ITTF, Indented Text Tree Format, is a document format for37 \b declaring a textual representation of38 \b a tree data structure of name-valued nodes.39 \b It is the source format of Wizzi Models.40 \b It consists of one Primary ITTF Document and,41 \b optionally, one or more ITTF Fragments mixed or included.42 glo-item( ITTF Fragment path resolution )43 span Include commands and mix actions declare the path of the ITTF Document44 \b that must be mixed or included. At first the path to match is built45 \b joining the current folder path of the includer document and the declared path46 \b of the included document. If this match fails, then the 't' folder rule is applied,47 \b starting from the current folder path and going up on the folder tree.48 \b See 't folder'.49 glo-item( Primary ITTF Document )50 span51 + A Primary ITTF Document acts as the starting point for loading an mTree.52 \b It's a text file that can contain and combine smaller ITTF Fragments.53 \b However, the main root of the Primary ITTF Document might not become the54 \b final root node of the mTree after processing.55 \b This is because the Primary ITTF Document's root can be a Mix Action56 \b that inserts its content beneath another node within a mixed ITTF Fragment.57 glo-item( ITTF Node )58 span59 + An ITTF Node is a node of the tree structure of an ITTF Document.60 \b It is a logical line of code that can be broken in many61 \b phisical lines with line continuations chars.62 \b It is a name value pair of text strings, with children ITTF Nodes, and63 \b one parent ITTF Node. The ITTF Root Node has no parent node.64 glo-item( ITTF Node Name)65 span66 + An ITTF Node Name is the name part of an ITTF Node.67 glo-item( ITTF Node Value)68 span69 + An ITTF Node Value is the value part of an ITTF Node.70 glo-item( ITTF Fragment )71 span72 + An ITTF Fragment is a branch ITTF Node that can be included or mixed73 \b in an Primary ITTF Document or in another ITTF Fragment.74 \b It can be defined in a separate file, and retrieved using75 \b the ITTF Document path resolution or can be inlined,76 \b using the Template Command77 high-code( $fragment fragment-name )78 + , and referenced by name.79 glo-item( ITTF Processing )80 span81 + The ITTF Processing of an ITTF Document is the parsing of the82 \b source documents, the resolution of references to ITTF Fragments,83 \b their inclusion or mix, the execution of ITTF Template Commands and JsWizzi expressions,84 \b and, at the end, the build up of the resulting node structure that will be loaded into an mTree instance.85 glo-item( ITTF Root Node )86 span87 + An ITTF Root Node is the root node of an ITTF Source Unit88 glo-item( ITTF Scan Feature )89 span90 + The ITTF Scan Feature is a Wizzi Feature for91 \b keeping tracks and easily retrieve the dependencies of mixed and included ITTF Fragments.92 glo-item( ITTF Source Unit )93 span94 + An ITTF Source Unit is an ITTF Node branch with a name,95 \b that can be referenced in a Wizzi Action.96 \b Primary ITTF Documents (files) and ITTF Fragments (files or inlined) are97 \b the ITTF Source Units of Wizzi. An ITTF Source Unit must have a single ITTF Root Node.98 \b You can define an ITTF Fragment with many root nodes using the convenience99 \b ITTF Template Command ${}100 high-code( $group )101 + ${} as ITTF Root Node.102 glo-item( ITTF Template Command )103 span104 + An ITTF Template Command is an instruction for the ITTF Template Engine.105 \b It is an ITTF Node with a name starting with the ${}106 high-code( $ )107 + ${} char. It can modify variables in the JsWizzi Evaluation Context or108 \b manipulate the node structure of the ITTF Document, merging nodes with context data,109 \b including and excluding node branches, etc...110 glo-item( ITTF Template Engine )111 span112 + The ITTF Template Engine is a Wizzi Kernel Feature that manages113 \b the template commands and the JsWizzi expressions114 \b contained in an ITTF Document.115 glo-item( JsWizzi )116 span117 + JsWizzi is the script engine used by the ITTF Template Engine of Wizzi.118 \b It is a sandboxed subset of javascript. Expressions in ITTF Node Values119 \b and ITTF Template Commands are written in JsWizzi.120 glo-item( JsWizzi Evaluation Context )121 span122 + The JsWizzi Evaluation Context is the evaluation context of JsWizzi during123 \b an ITTF Processing. The properties can be set at various leveles. 1) a global124 \b context can be set instantiating a Wizzi Factory Istance; 2) an action context125 \b can be set calling the method for the action; 3) Ittf documents can declare126 \b global variables (the scope are the fragment of the document) using the ${}127 high-code( $global )128 + command; 3) Ittf documents can declare129 \b local variables using the130 high-code( $ )131 + command.132 glo-item( Language Artifact Generator )133 span134 + A Language Artifact Generator is an Artifact Generator that generate135 \b code files written in a Programming Language (PL).136 \b For example the137 high-code( js/module )138 + and139 high-code( ts/module )140 + Artifact Generators of the ${}141 to-plugin( js )142 + and143 to-plugin( ts )144 + plugins.145 glo-item( Language Wizzi Schema )146 span147 + A Language Wizzi Schema is a Wizzi Schema that defines an ITTF Document Type148 \b that an artifact generator can transform in a Programming Language (PL) code file.149 glo-item( Meta generation )150 span151 + See `Meta production`152 glo-item( Meta production )153 span154 + A meta production is a data driven creation of a Wizzi Package.155 \b The entire folder and file structure of the package can be templated.156 \b The result of a meta generation are Ittf Documents.157 glo-item( Mix Action )158 span159 + A Mix Action merges a Mixed ITTF Fragment into a mixer ITTF Document.160 glo-item( Mixed ITTF Fragment )161 span162 + A Mixed ITTF Fragment is a reusable fragment of an ITTF Document,163 \b that has ben merged in a mixer document, with passing of parameters, using a Mix Action.164 \b The ITTF Nodes of a Mixed ITTF Fragment mantain the JsWizzi Evaluation Context of165 \b their original ITTF Source Unit.166 glo-item( Model Transformer )167 span168 + A Model Trasformer is a javascript module exported by a Wizzi Plugin169 \b that takes as input a Wizzi Model Instance and,170 \b optionally, a context object, and gives as output171 \b a modified Wizzi Model Instance or a new POJO object.172 glo-item( mTree )173 span174 + An mTree is the result of the mTree Loading of a ITTF Document.175 \b mTrees are tree data structures, in-memory objects that are not persisted.176 \b mTrees are verified and loaded into Wizzi Model Instances.177 \b A Wizzi Model Loader, optionally, can pre-process an mTree before loading it.178 glo-item( mTree Loader)179 span180 + An mTree loader processes a primary ITTF document and all its associated fragments using ITTF Processing standards.181 \b Then, it loads the resulting data structure into an mTree.182 glo-item( mTree Pre-processor)183 span184 + An mTree Pre-processor can modify an mTree after its loading and185 \b before its processing by a Wizzi Model Loader.186 \b It must be declared in a Wizzi Schema and must be written187 \b in the 'lib\wizzi\models' folder of a Wizzi Plugin.188 glo-item( Semantic Ittf Node )189 span190 + A Semantic Ittf Node contains a name value pair that has a meaning191 \b in the document type (Wizzi Schema). An mTree contains192 \b Semantic Ittf Nodes only. See193 high-code( Template Ittf Node )194 glo-item( t folder )195 span Folders named 't' have special rules for the path resolution196 \b of mixed and included ITTF Documents. In the folder structure197 \b of a Wizzi Package, ITTF Documents contained in a 't' folder,198 \b can be referenced with the same rules that apply to NodeJs packages199 \b in 'node_modules' folders. They are searched up on the folder tree, until the200 \b relative path of the mix or include call is matched or the path resolution fails.201 glo-item( Template Ittf Node )202 span203 + A Template Ittf Node contains instructions for building the mTree Semantic Nodes structure.204 \b See205 high-code( Semantic Ittf Node )206 glo-item( Virtual Store System )207 span208 + The store system of Wizzi is virtualized.209 \b When instantiating a210 high-code( WizziFactory )211 + instance you can select the Store Kind. Disk file system is the default.212 \b Virtual Store Systems are implemented by the213 to-wizzi-package( wizzi-repo )214 + core package. Available store kinds are:215 high-code( filesystem )216 + ,217 high-code( mongodb )218 + and219 high-code( json )220 + .221 glo-item( Wizzi Action )222 span223 + Wizzi Actions are the steps of a Wizzi Production. The main Wizzi Actions are: ${}224 high-code( ITTF Processing)225 + ,226 high-code( mTree Loading)227 + ,228 high-code( mTree pre-processing)229 + ,230 high-code( Wizzi Model Loading)231 + ,232 high-code( Model Transformation)233 + ,234 high-code( Artifact Generation)235 + . Wizzi Actions are orchestrated by ${}236 high-code( Wizzi Jobs)237 + ,238 high-code( wizziHub Jobs)239 + , or programmatically using the240 high-code( Wizzi API)241 + .242 glo-item( Wizzi API )243 span244 + It is an API for executing programmatically the productions of the Wizzi Factory.245 \b It is implemented by an instance of the246 high-code( WizziFactory )247 + class, exported by the248 to-wizzi-package( wizzi )249 + package.250 glo-item( Wizzi CLI )251 span252 + The Wizzi command line interface (CLI). It is used to perform basic functionality,253 \b such as executing a Wizzi Production,254 \b creating a new Wizzi Package based on a starter,255 \b wizzifying an existing artifact or a folder of artifacts.256 glo-item( Wizzi Core Packages )257 span258 + The Wizzi Core Packages are the259 to-wizzi-package( wizzi )260 + ,261 to-wizzi-package( wizzi-utils )262 + ,263 to-wizzi-package( wizzi-mtree )264 + ,265 to-wizzi-package( wizzi-repo )266 + packages.267 glo-item( Wizzi Core Plugin )268 span269 + The Wizzi Core Plugins are the270 to-plugin( wizzi-core )271 + ,272 to-plugin( wizzi-js )273 + ,274 to-plugin( wizzi-web )275 + packages.276 glo-item( Wizzi Factory )277 span278 + It is the set of Wizzi features for producing artifacts.279 \b Wizzi is a software factory!280 glo-item( Wizzi Factory Instance )281 span282 + A Wizzi Factory Instance is the main object of the Wizzi Platform.283 \b Declares the methods for executing almost every Wizzi Action.284 \b Most Wizzi Actions have a reference to the current Wizzi Factory Instance285 \b in their execution context so that they can require services.286 glo-item( Wizzi Hub )287 span288 + Wizzi Hub is a NodeJS / Express / MongoDb / Typescript application289 \b running on the the cloud that can be used for ${}290 high-code( sharing your productions )291 + with other developers and ${}292 high-code( calling generation services )293 + over the network.294 glo-item( Wizzi Job )295 span296 + The Wizzi Job is the Task Manager of Wizzi. It is implemented as297 \b a Wizzi Kernel Schema of type ${}298 high-code( wzjob )299 + ${} where you can define Wizzi Productions. A Wizzi Job can be executed300 \b using the ${}301 high-code( wizzi )302 + ${} command of the Wizzi CLI or, programmatically, using the Wizzi API.303 glo-item( Wizzi Kernel Feature )304 span305 + A feature implemented by a Wizzi Core Package or a Wizzi Core Plugin.306 glo-item( Wizzi Package Production )307 span308 + A Wizzi Package Production is a series of Wizzi Productions309 \b for creating a new Wizzi Package.310 \b It is executed by the Wizzi CLI after selecting a Wizzi Package Starter.311 glo-item( Wizzi Model DOM )312 span313 + A Wizzi Model DOM is an object model implemented in a javascript module314 \b generate from a Wizzi Schema. The Wizzi Model DOM generation is315 \b a kernel feature of the \b\316 to-plugin( wzschema )317 + ${} plugin and the class structure of the DOM is a Wizzi feature. Class318 \b methods instead can be user defined.319 glo-item( Wizzi Model Instance )320 span321 + A Wizzi Model Instance is an istance of a Wizzi Model DOM created by a322 \b Wizzi Model Loading. It is the main context object used323 \b by Wizzi Actions.324 glo-item( Wizzi Model Loading )325 span326 + The Wizzi Model Loading is the action implemented by a Wizzi Model Factory327 \b and a Wizzi Model Doms generated from a Wizzi Schema.328 \b It creates a Wizzi Model Instance and loads in it an mTree,329 \b validates the mTree nodes, instantiates the classes of the DOM330 \b and executes the ${}331 high-code( verify )332 + ${} and ${}333 high-code( initialize )334 + methods. The result is a Wizzi Model Instance ready for use as a context object335 \b in others Wizzi Actions.336 glo-item( Wizzi Package )337 span338 + A Wizzi Package is a package that uses Wizzi for generating some, or all, of its artifacts.339 \b A standard Wizzi Package contains a ${}340 high-code( .wizzi )341 + folder.342 glo-item( Wizzi Platform )343 span344 + The Wizzi Platform is the entire ecosystem of Wizzi. Its main components are the ${}345 high-code( Wizzi Kernel )346 + , the ${}347 high-code( Wizzi Plugins )348 + , the ${}349 high-code( Wizzi Meta Plugins )350 + , the ${}351 high-code( Wizzi CLI )352 + , the ${}353 high-code( Wizzi API )354 + ,355 high-code( Wizzi Studio )356 + and357 high-code( Wizzi Hub )358 + .359 $*360 glo-item( Wizzi Package Starter )361 span362 + A Wizzi Package Starter is a template of a Wizzi Package,363 \b containing some domain specific Wizzi Productions,364 \b that is used by the Wizzi CLI365 \b as a starter for a new Wizzi Package.366 \b Examples of available starters are: ${}367 high-code( static-website)368 + , ${}369 high-code( express-server)370 + , ${}371 high-code( wizzi-plugin)372 + .373 *$374 glo-item( Wizzi Plugin )375 span376 + A Wizzi Plugin implements one or more Wizzi Schemas. For each schema the plugin must implement377 \b its Wizzi Model Loader and can implement378 \b Artifact Generators, Model Transformers, a Wizzifier and a documentation Cheatsheet.379 \b A Wizzi plugin must be a NodeJS package, and must export a Wizzi Plugin Interface.380 glo-item( Wizzi Plugin Interface)381 span382 + A Wizzi Plugin Interface is the interface that a Wizzi Pugin must export383 \b in its index file, so that the Wizzi Plugin Manager can retrieve384 \b its Loaders, transformers, generators, wizzifiers385 \b and cheatsheets.386 glo-item( Wizzi Production )387 span388 + A Wizzi Production is a set of Wizzi Actions389 \b for generating one or more software artifacts.390 glo-item( Wizzi Schema )391 span392 + A Wizzi Schemas is the core modeling tool of Wizzi.393 \b In it you define an object model of394 \b named and typed elements395 \b that map the ITTF Nodes of an ITTF Document.396 \b A production of the core plugin397 to-plugin( wzschema)398 + transforms a Wizzi Schema into a Wizzi Model DOM, a javascript399 \b class that implements the schema object model. Wizzi Model Instances can400 \b load and validate mTrees data.401 \b Typed elements become classes and you can write methods402 \b for filtering and manipulating the loaded data.403 glo-item( Wizzi Store System )404 span405 + A Wizzi Store System implements a Virtual File System406 \b for retrieving ITTF Documents. Currently the407 \b Wizzi Store Systems are: ${}408 high-code( filesystem )409 + and ${}410 high-code( json )411 + . The ${}412 high-code( json )413 + Virtual file system is a powerful tool for executing productions in the cloud or414 \b behind your own http endpoints.415 glo-item( Wizzi Studio )416 span417 + Wizzi Studio is a NodeJS / Express / MongoDb / Typescript application418 \b for managing Wizzi Productions that must be run locally419 \b accessing the file system of your desktop.420 glo-item( wizzifier )421 span422 + A plugin may implement a wizzifier for its schema. A wizzifier converts an artifact to its ITTF Document source.423 \b These core plugins have a wizzifier: ${}424 to-plugin( css )425 + , ${}426 to-plugin( html )427 + , ${}428 to-plugin( js )429 + , ${}430 to-plugin( json )431 + , ${}432 to-plugin( ts )433 + , ${}434 to-plugin( svg )435 + , ${}436 to-plugin( yaml )437 + and ${}438 to-plugin( xml )439 + .440 glo-item( wizzify )441 span442 + To wizzify means to executes a443 high-code( wizzifier )444 + . It converts an artifact to its ITTF Document source.
/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/docs.html.ittf
1 $group2 $params &opt3 $4 var ca = 'p-l-xxl p-r-xxl p-t-s p-b-s color-header font-l font-w-xxl';5 var ca_inverse = 'p-l-xxl p-r-xxl p-t-s p-b-s color-header-inverse /*bg-color-header-inverse*/ font-l font-w-xxl';6 var ca2 = 'color-header font-x font-w-s';7 head8 $if opt.title9 @title ${opt.title}10 meta11 charset utf-812 meta13 name viewport14 content width=device-width, initial-scale=115 link16 rel preconnect17 href https://fonts.googleapis.com18 link19 rel preconnect20 href https://fonts.gstatic.com21 crossorigin22 link23 @ rel "stylesheet"25 script26 module27 set window.__filename = 'browser'28 css /ittf/css/main.css.ittf29 $include ./styles30 $hook head-styles-031 ./site-styles( &opt )32 $hook head-styles33 $hook head-styles-234 $hook head-scripts35 body36 . full-page37 . main-header38 . flex-row space-between align-items-center width-10039 id __main_navbar40 . flex-row41 html/a( /, ${ca2})42 div43 style width: 80px; margin-top: 5px; margin-left: 20px;44 html/images/logo( ${colors.mainHeader}, ${colors.mainHeaderBg})45 . flex-row46 $foreach item in wzCtx.Section.items47 $if item.title === opt.title48 . ${ca_inverse}49 + ${item.title}50 title "Current"51 $else52 html/a( ${item.title}, ${item.url}, ${ca})53 . flex-row m-r-x54 $if false55 $if locals.user56 html/a( Profile, /account/profile, ${ca})57 html/a( Log Out, /auth/logout, ${ca})58 $else59 html/a( Log In, /auth/login, ${ca})60 $else61 . ${ca}62 + Log in63 title "Not implemented yet"64 . main-content65 . main-content-left-bar66 $hook main-content-left-bar67 . main-content-work-area68 $hook main-content-work-area69 $hook70 . main-footer71 $hook main-footer72 $hook body-scripts-073 ./site-scripts( &opt )74 $hook body-scripts75 $hook body-scripts-276 $if opt.useHighlight77 script78 _ document.addEventListener79 @ 'DOMContentLoaded'80 =>81 param event82 _ document.querySelectorAll83 @ 'pre .hljs'84 ._ forEach85 =>86 param block87 _ hljs.highlightBlock(block)
/ittf/site/docs/concepts/t/section.html.ittf
1 $group2 $params §3 article4 . doc-title5 id ${sect.id}6 + ${sect.title}7 . doc-summary8 $hook
/ittf/site/docs/t/table-doc.html.ittf
1 $group2 $params kind|docs, title|@@null3 . table-${kind}4 table5 tbody6 $hook
/ittf/site/docs/t/glo-item.html.ittf
1 $group2 $params name3 tr4 td5 . title6 + ${name}7 td8 $hook
/ittf/site/docs/t/high-code.html.ittf
1 $group2 $params text, kind|@@null3 $if kind != 'nospace'4 span ${} ${}5 code6 class highlight-code7 + ${text}8 $if kind != 'nospace'9 span ${} ${}
/ittf/site/docs/t/to-plugin.html.ittf
1 $group2 $params name, kind|@@null3 $4 // var xname = kind != 'nospace' ? ' ' + name + ' ' : name5 $if kind != 'nospace'6 span ${} ${}7 code8 class highlight-code9 a ${name}10 href https://github.com/stfnbssl/wizzi.plugins/tree/main/packages/wizzi.plugin.${name}11 target _blank12 $if kind != 'nospace'13 span ${} ${}
/ittf/site/docs/t/to-wizzi-package.html.ittf
1 $group2 $params name, kind|@@null3 $4 var xname = kind != 'nospace' ? ' ' + name + ' ' : name5 a ${xname}6 href https://github.com/stfnbssl/wizzi/tree/main/packages/${name}7 target _blank
/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/docs/styles/docs.css.ittf
1 css2 $include models/docs/site.wzctx3 < body4 margin 05 padding 06 color #eee7 background-color #4949498 font-family roboto,verdana,arial9 < nav10 < ul11 list-style-type none12 < a13 text-decoration none14 # main-container15 width 70%16 margin 0 auto17 display flex18 flex-direction column19 font-size 16px20 line-height 24px21 word-spacing 1px22 color #eee23 background-color #51515124 # header25 border-bottom 1px solid #a0a0a026 display flex27 flex-direction row28 padding 10px 20px29 # logo30 $$ margin 16px31 . logo-a32 align-self flex-start33 display flex34 flex-shrink 035 padding 0.5rem 0.375rem36 transform translateX(-0.375rem)37 text-decoration none38 font-weight 60039 align-items center40 margin-right 1.25rem41 # top-nav42 display flex43 justify-content space-between44 list-style-type none45 padding-top 16px46 < ul47 margin-bottom 048 < li49 display inline-block50 padding-right 30px51 font-size 24px52 color #ddd53 < a54 color #eee55 . current56 font-weight 70057 color palegoldenrod58 # middle-container59 display flex60 flex-direction row61 # content62 margin 0 auto63 width 80%64 $$ display flex65 $$ flex-direction column66 padding 30px 30px67 $$ line-height 24px68 word-spacing 2px69 $$ font-size 18px70 # left-nav71 $$ border-right 1px solid #a0a0a072 padding 10px 10px73 < li74 margin-top 20px75 font-size 18px76 < a77 color #eee78 # right-nav79 $$ border-left 1px solid #a0a0a080 padding 10px 20px81 < ul82 margin-left 083 < li84 font-size 14px85 < a86 color #eee87 # footer88 $$ border-top 1px solid #a0a0a089 display grid90 grid-template-columns 1fr 1fr91 padding 20px92 $include aside-right93 < article94 background-color ${wzCtx.Colors.bg_dark_medium}95 border-radius 10px96 padding 20px97 margin 0 5px 3px 5px98 box-shadow 0 3px 5px rgba(0,0,0,0.1)99 font-size 16px100 media (min-width: 768px)101 < article102 padding 40px 40px 30px103 font-size 16px104 margin 0 10px 10px 10px105 box-shadow 0 5px 10px rgba(0,0,0,0.1)106 . doc-container107 margin 0 auto108 width 60%109 display flex110 . w-1-5111 width 20%112 . w-4-5113 width 80%114 . doc-title115 font-size 1.4rem116 font-weight 600117 padding-bottom 5px118 border-bottom 1px solid #999119 . doc-title-2120 font-size 1.2rem121 font-weight 600122 padding-bottom 3px123 . doc-summary124 padding 15px125 < h4126 color #eee127 . ittf-panel128 $$ background-color #aaa129 $$ padding 20px130 margin-bottom 20px131 . ittf-panel-title132 font-size 0.8rem133 font-weight 700134 . js-panel135 margin-bottom 20px136 . js-panel-title137 font-size 0.8rem138 font-weight 700139 padding-left 10px140 . bash-panel141 margin-bottom 20px142 . bash-panel-title143 font-size 0.8rem144 font-weight 700145 padding-left 10px146 media (min-width: 768px)147 . ittf-panel-title148 font-size 16px149 font-weight 700150 $$ margin-bottom 2px151 . link152 float 'right'153 paddingLeft '10px'154 . cheatsheet155 . cheatsheet-page156 display flex157 padding 25px158 position fixed159 height 100vh160 width 100%161 . cheatsheet-sidebar162 display flex163 min-width 300px164 margin 5px165 flex-direction column166 overflow auto167 . cheatsheet-sidebar-schemas168 display flex169 flex-direction column170 border 1px solid gray171 margin-bottom 5px172 . cheatsheet-sidebar-element-title173 padding-left 15px174 font-weight 600175 . cheatsheet-sidebar-items176 border 1px solid gray177 . cheatsheet-content178 flex 1 1 auto179 margin 5px180 overflow auto181 . cheatsheet-item182 display flex183 background-color #3e5a6d184 . cheatsheet-ittf185 padding 10px186 border 1px solid gray187 margin 5px188 width 50%189 < pre190 width 100%191 padding 10px192 . cheatsheet-generated193 padding 10px194 border 1px solid gray195 margin 5px196 width 50%197 background-color #dedede198 < pre199 width 100%200 padding 10px201 . cheatsheet-element-title202 background-color #bbb203 width 100%204 padding 15px 5px 15px 15px205 margin 20px 0 10px 0206 font-size 1.2rem207 font-weight 600208 . cheatsheet-item-title209 padding 5px 10px 0px 10px210 font-weight 700211 . scrollbar-thin212 @ scrollbar-color #6D6D6D #4D4D4D213 @ scrollbar-width thin214 $include highlight215 $ var opt = wzCtx.Fonts216 css/fonts( &opt)217 $include tables
/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 }
/ittf/site/docs/styles/t/aside-right.css.ittf
1 $group2 . aside-right3 padding-top 30px4 < h45 text-transform uppercase6 font-size 14px7 font-weight 7008 padding 0 0 10px 30px9 margin-left -30px10 display inline-block11 border-bottom 1px solid #c0012 < ul13 padding-left 014 & :first-child15 margin-top 016 < li17 list-style-type none18 < a19 position relative20 & .current21 < div:before22 content ""23 border-color transparent transparent transparent #44424 border-style solid25 border-width 10px26 width 027 height 028 position absolute29 top 030 left -30px31 & .current div32 color #f90
/ittf/site/docs/styles/t/highlight.css.ittf
1 $group2 < pre, code3 white-space pre4 $$ display inline-block5 margin 06 font 14px/1.8em Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace7 padding 0 0.5em8 - ========================================9 - WIZZI PRETTY PRINT10 - ----------------------------------------11 . pln12 color #F1F2F313 . tag14 color #77f32815 . str16 color #EC7600 $$ string content17 . kwd18 color #f79256 $$ a keyword19 . com20 color #66747B $$ a comment21 . typ22 color #678CB1 $$ a type name23 . lit24 color #FACD22 $$ a literal value25 . mix26 color #ff0040 $$ mixin call27 cursor pointer28 . tag29 color #77f328 $$ a markup tag name30 . atn31 color #E0E2E4 $$ a markup attribute name32 . atv33 color #EC7600 $$ a markup attribute value34 . expr35 color #f3e877 $$ a declaration; a variable name36 . fun37 color red $$ a function name38 . arg39 color yellow $$ a mixin arg40 . pp-ln41 color #99942 . pp-pln43 color #f1ebeb44 . pp-str45 color #EC7600 $$ string content46 . pp-kwd47 color #f79256 $$ a keyword48 . pp-com49 color #66747B $$ a comment50 . pp-typ51 color #678CB1 $$ a type name52 . pp-lit53 color #FACD22 $$ a literal value54 . pp-mix55 color #ff0040 $$ mixin call56 cursor pointer57 . pp-tag58 color #77f328 $$ a markup tag name59 . pp-atn60 color #E0E2E4 $$ a markup attribute name61 . pp-atv62 color #EC7600 $$ a markup attribute value63 . pp-expr64 color #f3e877 $$ a declaration; a variable name65 . pp-fun66 color red $$ a function name67 . pp-arg68 color yellow $$ a mixin arg69 < pre.prettyprint70 $$ padding 0.8rem71 $$ border-left 5px solid #99972 $$ font-size 1rem73 overflow auto74 $$ background #2B3A4275 $$ background #3e586d76 $$ margin-bottom 1rem77 $$ text-shadow 0 1px #88878 font-family Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace79 text-align left80 white-space pre81 word-spacing normal82 word-break normal83 word-wrap normal84 line-height 1.385 tab-size 486 hyphens none87 background-color #2b2b2b88 color #fff89 $$ max-width 100%90 $$ overflow-x auto91 vertical-align middle92 border-radius 5px93 box-shadow inset 0 1px 10px rgba(0,0,0,.3), 0 1px 0 rgba(255,255,255,.1), 0 -1px 0 rgba(0,0,0,.5)94 < ol95 padding-left 2rem96 . L097 + .L198 + .L299 + .L3100 + .L4101 + .L5102 + .L6103 + .L7104 + .L8105 + .L9106 color #777107 margin-left 0.3rem108 padding-left 0.3rem109 list-style-type decimal110 # Alternate shading for lines111 . L1112 + .L3113 + .L5114 + .L7115 + .L9116 $$ background #013a56117 $$ background #2A3941118 background-color #2f2f2f119 . prettyprint-js120 background #fff121 # Alternate shading for lines122 . J1123 + .J3124 + .J5125 + .J7126 + .J9127 background #ddd128 . linenums129 color #fff130 media screen and (max-width: 1028px)131 . pp-pln132 color #FFF133 < pre.prettyprint134 padding 1.2rem135 border-left 5px solid #999136 font-size 2rem137 line-height 3rem138 overflow auto139 $*140 media (min-width: 768px)141 < pre, code142 font-size 16px143 . highlight144 + p > pre145 + p > code146 + p > nobr > code147 + li > code148 + li> pre149 + h5 > code150 + .note > code151 background-color #2b2b2b152 color #fff153 max-width 100%154 overflow-x auto155 vertical-align middle156 border-radius 5px157 box-shadow inset 0 1px 10px rgba(0,0,0,.3), 0 1px 0 rgba(255,255,255,.1), 0 -1px 0 rgba(0,0,0,.5)158 . note .highlight159 width 94%160 < pre code161 font-size 0.9em162 background-color transparent163 box-shadow none164 . note code165 background-color #333166 background-color rgba(0,0,0,0.2)167 margin-left 2.5px168 margin-right 2.5px169 font-size 0.8em170 . code-block171 margin 10px 0172 < code173 background none174 . highlight175 margin 1em 0176 width 100%177 overflow auto178 < pre.highlight179 padding 10px 0.5em180 . highlighter-rouge .highlight181 @extend .highlight182 margin 0183 *$184 . highlight-code185 white-space nowrap186 padding 4px 8px 4px 0px187 background-color #2b2b2b188 color #fff189 max-width 100%190 overflow-x auto191 vertical-align middle192 -webkit-border-radius 5px193 -moz-border-radius 5px194 border-radius 5px195 box-shadow inset 0 1px 10px rgba(0,0,0,0.3),0 1px 0 rgba(255,255,255,0.1),0 -1px 0 rgba(0,0,0,0.5)
/ittf/site/docs/t/css/fonts.css.ittf
1 $group2 $params &opt3 $if opt.useMaterialIcons4 font-face5 font-family 'Material Icons'6 font-style normal7 font-weight ${opt.materialIcons.fontWeight}8 - For IE6-89 src url(${opt.materialIcons.baseUrl}/MaterialIcons-Regular.eot)10 src local('Material Icons'),11 \b local('MaterialIcons-Regular'),12 \b url(${opt.materialIcons.baseUrl}/MaterialIcons-Regular.woff2) format('woff2'),13 \b url(${opt.materialIcons.baseUrl}/MaterialIcons-Regular.woff) format('woff'),14 \b url(${opt.materialIcons.baseUrl}/MaterialIcons-Regular.ttf) format('truetype')15 . material-icons16 font-family 'Material Icons'17 font-weight normal18 font-style normal19 - Preferred icon size20 font-size ${opt.materialIcons.size}21 display inline-block22 line-height 123 text-transform none24 letter-spacing normal25 word-wrap normal26 white-space nowrap27 direction ltr28 - Support for all WebKit browsers.29 -webkit-font-smoothing antialiased30 - Support for Safari and Chrome.31 text-rendering optimizeLegibility32 - Support for Firefox.33 -moz-osx-font-smoothing grayscale34 - Support for IE.35 @ font-feature-settings 'liga'36 - Rules for sizing the icon.37 . material-icons.md-1838 font-size 18px39 . material-icons.md-2440 font-size 24px41 . material-icons.md-3642 font-size 36px43 . material-icons.md-4844 font-size 48px45 - Rules for using icons as black on a light background.46 . material-icons.md-dark47 color rgba(0, 0, 0, 0.54)48 . material-icons.md-dark.md-inactive49 color rgba(0, 0, 0, 0.26)50 - Rules for using icons as white on a dark background.51 . material-icons.md-light52 color rgba(255, 255, 255, 1)53 . material-icons.md-light.md-inactive54 color rgba(255, 255, 255, 0.3)55 $if opt.useFontAwesome56 font-face57 font-family 'FontAwesome'58 src url('${opt.fontAwesome.baseUrl}/FontAwesome.eot?9h6hxj')59 src url('${opt.fontAwesome.baseUrl}/FontAwesome.eot?9h6hxj#iefix') format('embedded-opentype'),60 \b url('${opt.fontAwesome.baseUrl}/FontAwesome.woff?9h6hxj') format('woff'),61 \b url('${opt.fontAwesome.baseUrl}/FontAwesome.ttf?9h6hxj') format('truetype'),62 \b url('${opt.fontAwesome.baseUrl}/FontAwesome.svg?9h6hxj#FontAwesome') format('svg')63 font-weight normal64 font-style normal65 . fa66 display inline-block67 font normal normal normal 14px/1 FontAwesome68 font-size inherit69 text-rendering auto70 -webkit-font-smoothing antialiased71 -moz-osx-font-smoothing grayscale72 . fa-link:before73 content "\f0c1"74 . fa-pencil:before75 content "\f040"
/ittf/site/docs/styles/t/tables.css.ittf
1 $group2 . table-docs3 < table4 font-size 0.8rem5 line-height 16px6 < td7 vertical-align top8 . table-glo9 < table10 font-size 0.8rem11 line-height 18px12 < td13 vertical-align top14 . title15 font-weight 700
/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