@reactful/create 1.2.22 → 1.2.24
Sign up to get free protection for your applications and to get access to all the features.
- package/commons/package.json +4 -5
- package/index.js +2 -2
- package/package.json +2 -2
- package/templates/minimal/builds/about.html +30 -0
- package/templates/minimal/builds/bundle.js +34981 -0
- package/templates/minimal/builds/bundle.ts +20 -0
- package/templates/minimal/builds/clock.html +30 -0
- package/templates/minimal/builds/counter.html +37 -0
- package/templates/minimal/builds/forms/form.html +48 -0
- package/templates/minimal/builds/forms/index.html +48 -0
- package/templates/minimal/builds/hello.html +62 -0
- package/templates/minimal/builds/htmlx.html +27 -0
- package/templates/minimal/builds/htmlx.tsx +13 -0
- package/templates/minimal/builds/index.html +98 -11
- package/templates/minimal/builds/login.html +48 -0
- package/templates/minimal/builds/profile/index.html +55 -0
- package/templates/minimal/builds/quotes.html +27 -0
- package/templates/minimal/builds/shared.js +76 -0
- package/templates/minimal/builds/system.html +28 -0
- package/templates/minimal/components/index.ts +1 -2
- package/templates/minimal/components/label.tsx +7 -0
- package/templates/minimal/index.html +12 -11
- package/templates/minimal/index.ts +2 -2
- package/templates/minimal/routes/hello.tsx +6 -0
- package/templates/minimal/routes/index.tsx +4 -7
- package/templates/sampling/apis/auth/db.ts +14 -14
- package/templates/sampling/apis/auth/index.ts +27 -27
- package/templates/sampling/apis/hello.ts +2 -2
- package/templates/sampling/apis/quotes.ts +15 -15
- package/templates/sampling/apis/sub/index.ts +2 -2
- package/templates/sampling/apis/sub/sub.ts +2 -2
- package/templates/sampling/assets/bootstrap-icons.css +4 -4
- package/templates/sampling/assets/default.css +93 -93
- package/templates/sampling/assets/icon.svg +6 -6
- package/templates/sampling/assets/manifest.json +56 -56
- package/templates/sampling/assets/markdown.css +273 -273
- package/templates/sampling/assets/robots.txt +1 -1
- package/templates/sampling/assets/system.css +6 -6
- package/templates/sampling/builds/about.html +30 -0
- package/templates/sampling/builds/bundle.js +34981 -0
- package/templates/sampling/builds/bundle.ts +20 -0
- package/templates/sampling/builds/clock.html +30 -0
- package/templates/sampling/builds/counter.html +37 -0
- package/templates/sampling/builds/forms/form.html +48 -0
- package/templates/sampling/builds/forms/index.html +48 -0
- package/templates/sampling/builds/hello.html +62 -0
- package/templates/sampling/builds/htmlx.html +27 -0
- package/templates/sampling/builds/htmlx.tsx +13 -0
- package/templates/sampling/builds/index.html +98 -98
- package/templates/sampling/builds/login.html +48 -0
- package/templates/sampling/builds/profile/index.html +55 -0
- package/templates/sampling/builds/quotes.html +27 -0
- package/templates/sampling/builds/shared.js +76 -0
- package/templates/sampling/builds/system.html +28 -0
- package/templates/sampling/components/header.tsx +6 -6
- package/templates/sampling/components/hello.tsx +8 -8
- package/templates/sampling/components/icon.tsx +10 -10
- package/templates/sampling/components/index.ts +2 -2
- package/templates/sampling/index.html +20 -20
- package/templates/sampling/index.ts +18 -18
- package/templates/sampling/routes/about.html +12 -12
- package/templates/sampling/routes/clock.tsx +32 -36
- package/templates/sampling/routes/counter.tsx +16 -7
- package/templates/sampling/routes/forms/form.tsx +49 -50
- package/templates/sampling/routes/hello.tsx +57 -58
- package/templates/sampling/routes/htmlx.html +14 -14
- package/templates/sampling/routes/index.md +14 -14
- package/templates/sampling/routes/login.tsx +34 -35
- package/templates/sampling/routes/profile/detail.css +12 -12
- package/templates/sampling/routes/profile/detail.tsx +46 -47
- package/templates/sampling/routes/profile/index.tsx +13 -13
- package/templates/sampling/routes/profile/profile.css +8 -8
- package/templates/sampling/routes/profile/tester.tsx +10 -10
- package/templates/sampling/routes/quotes.tsx +1 -1
- package/templates/sampling/routes/system.tsx +1 -2
- package/templates/sampling/tests/access.spec.ts +29 -29
- package/templates/sampling/tests/counter.spec.ts +18 -18
- package/templates/sampling/tests/form.spec.ts +50 -50
- package/templates/sampling/tests/hello.spec.ts +24 -24
- package/templates/sampling/tests/path.test.ts +19 -19
- package/templates/minimal/components/hello.tsx +0 -9
- package/templates/minimal/components/icon.tsx +0 -11
@@ -0,0 +1,20 @@
|
|
1
|
+
import { GLOBAL_KEY } from '@reactful/client'
|
2
|
+
globalThis[GLOBAL_KEY].clients ||= {}
|
3
|
+
|
4
|
+
|
5
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/counter'] = { off:false, tag:'CountButton' }
|
6
|
+
import('/mnt/b/Repositorios/reactful/prototype/routes/counter').then(x => x.CountButton).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/counter'] = x);
|
7
|
+
|
8
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/forms/form'] = { off:false, tag:'default' }
|
9
|
+
import('/mnt/b/Repositorios/reactful/prototype/routes/forms/form').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/forms/form'] = x);
|
10
|
+
|
11
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/hello'] = { off:false, tag:'Hello' }
|
12
|
+
import('/mnt/b/Repositorios/reactful/prototype/routes/hello').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/hello'] = x);
|
13
|
+
|
14
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/login'] = { off:false, tag:'default' }
|
15
|
+
import('/mnt/b/Repositorios/reactful/prototype/routes/login').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/login'] = x);
|
16
|
+
|
17
|
+
globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/profile/detail'] = { off:false, tag:'Detail' }
|
18
|
+
import('/mnt/b/Repositorios/reactful/prototype/routes/profile/detail').then(x => x.Detail).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/prototype/routes/profile/detail'] = x);
|
19
|
+
|
20
|
+
await import('/mnt/b/Repositorios/reactful/node_modules/@reactful/client/renders/index').then(x => x.default());
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1 tag="h1" uid="3" class="TimeZone">World Clock</h1>
|
22
|
+
<h2 tag="h2" uid="3" class="TimeZone">Europe/Amistedan timezone</h2>
|
23
|
+
<h3 style="color:yellow" tag="h3" uid="3" class="TimeZone"> <!-- -->2024-5-6<!-- -->
|
24
|
+
<!-- -->15:50:18<!-- --> </h3>
|
25
|
+
<h4
|
26
|
+
await="{"name":"InnerAsyncComponent","path":"/mnt/b/Repositorios/reactful/prototype/routes/clock.tsx"}"
|
27
|
+
tag="h4" uid="3" class="TimeZone">loading...</h4>
|
28
|
+
</div>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1 style="color:wheat" tag="Header" uid="2" class="Header" own="Header">
|
22
|
+
<h1 style="color:wheat">Counter</h1>
|
23
|
+
</h1>
|
24
|
+
<jsx complex="{"person":{"name":"john"}}" tag="CountButton"
|
25
|
+
uid="2" own="default" src="/mnt/b/Repositorios/reactful/prototype/routes/counter"
|
26
|
+
hidden class="default"
|
27
|
+
events="{"onEvent":"() => console.log(\"function props works!\")"}">
|
28
|
+
<button style="padding:20px">COUNTED: <b>0</b>
|
29
|
+
</button>
|
30
|
+
<hr />tuple: <code>
|
31
|
+
</code>
|
32
|
+
<br />event: <code>fails...</code>
|
33
|
+
</jsx>
|
34
|
+
<h6 tag="h6" uid="2" class="default" hidden>DONT SHOW ME!</h6>
|
35
|
+
</div>
|
36
|
+
</body>
|
37
|
+
</html>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<jsx tag uid="1" own="default"
|
22
|
+
src="/mnt/b/Repositorios/reactful/prototype/routes/forms/form" hidden class="default">
|
23
|
+
<h1>Uncontrolled Components</h1>
|
24
|
+
<progress hidden>test...</progress>
|
25
|
+
<form cols="2" method="post" action="https://jsonplaceholder.typicode.com/posts1">
|
26
|
+
<label>Name<input id="name" bind="name" />
|
27
|
+
</label>
|
28
|
+
<label>Date<input type="date" bind="date" />
|
29
|
+
</label>
|
30
|
+
<label>Work<input pattern="dev|test" bind="work" />
|
31
|
+
</label>
|
32
|
+
<label>Mode<input bind="mode" />
|
33
|
+
</label>
|
34
|
+
<hr />
|
35
|
+
<hr />
|
36
|
+
<label>Accept?<input bind="term" type="checkbox" required />
|
37
|
+
</label>
|
38
|
+
<button>Submit</button>
|
39
|
+
</form>
|
40
|
+
<fieldset>
|
41
|
+
<legend>ERROR</legend>
|
42
|
+
<ul>
|
43
|
+
</ul>
|
44
|
+
</fieldset>
|
45
|
+
</jsx>
|
46
|
+
</div>
|
47
|
+
</body>
|
48
|
+
</html>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<jsx tag uid="1" own="default"
|
22
|
+
src="/mnt/b/Repositorios/reactful/prototype/routes/forms/form" hidden class="default">
|
23
|
+
<h1>Uncontrolled Components</h1>
|
24
|
+
<progress hidden>test...</progress>
|
25
|
+
<form cols="2" method="post" action="https://jsonplaceholder.typicode.com/posts1">
|
26
|
+
<label>Name<input id="name" bind="name" />
|
27
|
+
</label>
|
28
|
+
<label>Date<input type="date" bind="date" />
|
29
|
+
</label>
|
30
|
+
<label>Work<input pattern="dev|test" bind="work" />
|
31
|
+
</label>
|
32
|
+
<label>Mode<input bind="mode" />
|
33
|
+
</label>
|
34
|
+
<hr />
|
35
|
+
<hr />
|
36
|
+
<label>Accept?<input bind="term" type="checkbox" required />
|
37
|
+
</label>
|
38
|
+
<button>Submit</button>
|
39
|
+
</form>
|
40
|
+
<fieldset>
|
41
|
+
<legend>ERROR</legend>
|
42
|
+
<ul>
|
43
|
+
</ul>
|
44
|
+
</fieldset>
|
45
|
+
</jsx>
|
46
|
+
</div>
|
47
|
+
</body>
|
48
|
+
</html>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<jsx tag="Hello" uid="1" own="default"
|
22
|
+
src="/mnt/b/Repositorios/reactful/prototype/routes/hello" hidden class="default">
|
23
|
+
<h1 style="color:wheat">Hello Forms</h1>
|
24
|
+
<main gaps="0 10px" cols="1" class="hello">
|
25
|
+
<label>
|
26
|
+
<b>LOCAL state </b> <code>function(props)</code>
|
27
|
+
<br />
|
28
|
+
<input id="1" data="[object Object]" bind="value" placeholder="{props}" />
|
29
|
+
<input id="1.1" bind="value" placeholder="default" />
|
30
|
+
<input id="1.1.1" placeholder="inner" style="text-align:right"
|
31
|
+
data="[object Object]" bind="value" />
|
32
|
+
<label> = </label>
|
33
|
+
</label>
|
34
|
+
<label>
|
35
|
+
<b>GLOBAL state</b> <code>function(props, <!-- -->{ store }<!-- -->)</code>
|
36
|
+
<br />
|
37
|
+
<input id="2" data="[object Object]" bind="value" placeholder="outer" />
|
38
|
+
<input id="2.1" placeholder="inner" bind="value" />
|
39
|
+
</label>
|
40
|
+
<label>
|
41
|
+
<b>ORBITAL state</b> <code>useStore(...) + @client(true, ...) </code>
|
42
|
+
<br />
|
43
|
+
<input id="3" data="[object Object]" bind="value" placeholder="outer" />
|
44
|
+
<input id="3.1" placeholder="inner" data="[object Object]" bind="value" />
|
45
|
+
<input id="3.2" style="text-align:right" data="[object Object]" bind="value"
|
46
|
+
placeholder="other" /> = <!-- -->99</label>
|
47
|
+
</main>
|
48
|
+
<br />
|
49
|
+
<hr />
|
50
|
+
<code>
|
51
|
+
<strong>local</strong>: <label id="l1">
|
52
|
+
</label>
|
53
|
+
<br />
|
54
|
+
<strong>global</strong>: <label id="l2">
|
55
|
+
</label>
|
56
|
+
<br />
|
57
|
+
<strong>orbital</strong>: <label id="l3">11</label>
|
58
|
+
</code>
|
59
|
+
</jsx>
|
60
|
+
</div>
|
61
|
+
</body>
|
62
|
+
</html>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1 style="color:wheat">HTML-X</h1>
|
22
|
+
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique eum quaerat nesciunt
|
23
|
+
est molestias accusantium aut sit odit, vero voluptate iure vel aperiam modi libero in
|
24
|
+
praesentium nam obcaecati error!</p>
|
25
|
+
</div>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react'
|
2
|
+
import { Header } from '../components/header'
|
3
|
+
export default function() {
|
4
|
+
return <>
|
5
|
+
<Header title="HTML-X" />
|
6
|
+
<p>
|
7
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
8
|
+
Similique eum quaerat nesciunt est molestias accusantium
|
9
|
+
aut sit odit, vero voluptate iure vel aperiam modi libero
|
10
|
+
in praesentium nam obcaecati error!
|
11
|
+
</p>
|
12
|
+
</>
|
13
|
+
}
|
@@ -1,12 +1,99 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
<
|
10
|
-
|
11
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1>Welcome</h1>
|
22
|
+
<blockquote>
|
23
|
+
<p>with markdown (powered by marked)</p>
|
24
|
+
</blockquote>
|
25
|
+
<table>
|
26
|
+
<thead>
|
27
|
+
<tr>
|
28
|
+
<th align="right">
|
29
|
+
</th>
|
30
|
+
<th>
|
31
|
+
</th>
|
32
|
+
</tr>
|
33
|
+
</thead>
|
34
|
+
<tbody>
|
35
|
+
<tr>
|
36
|
+
<td align="right">
|
37
|
+
<a href="/about">About</a>
|
38
|
+
</td>
|
39
|
+
<td>Static generation (default)</td>
|
40
|
+
</tr>
|
41
|
+
<tr>
|
42
|
+
<td align="right">
|
43
|
+
<a href="/clock">Clock</a>
|
44
|
+
</td>
|
45
|
+
<td>Dynamic generation (with lazy)</td>
|
46
|
+
</tr>
|
47
|
+
<tr>
|
48
|
+
<td align="right">
|
49
|
+
<a href="/htmlx">HTML-X</a>
|
50
|
+
</td>
|
51
|
+
<td>HTML with JSX using link[type="component"]</td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td align="right">
|
55
|
+
<a href="/system">System</a>
|
56
|
+
</td>
|
57
|
+
<td>Server component</td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td align="right">
|
61
|
+
<a href="/quotes">Quotes</a>
|
62
|
+
</td>
|
63
|
+
<td>Periodic genreation</td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<td align="right">
|
67
|
+
<a href="/counter">Counter</a>
|
68
|
+
</td>
|
69
|
+
<td>Client component</td>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<td align="right">
|
73
|
+
<a href="/hello">Hello</a>
|
74
|
+
</td>
|
75
|
+
<td>Stateful object + data bind props</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td align="right">
|
79
|
+
<a href="/forms">Forms</a>
|
80
|
+
</td>
|
81
|
+
<td>reactful forms + validation API + RESTful action</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td align="right">
|
85
|
+
<a href="/login">Login</a>
|
86
|
+
</td>
|
87
|
+
<td>reactful forms RESTful action authentication</td>
|
88
|
+
</tr>
|
89
|
+
<tr>
|
90
|
+
<td align="right">
|
91
|
+
<a href="/profile/123">Profile</a>
|
92
|
+
</td>
|
93
|
+
<td>Parametric (dynamic) routes with modular CSS</td>
|
94
|
+
</tr>
|
95
|
+
</tbody>
|
96
|
+
</table>
|
97
|
+
</div>
|
98
|
+
</body>
|
12
99
|
</html>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<jsx tag uid="1" own="default" src="/mnt/b/Repositorios/reactful/prototype/routes/login"
|
22
|
+
hidden class="default">
|
23
|
+
<h1>
|
24
|
+
<i class="bi bi-undefined bi-user" title>
|
25
|
+
</i>Login</h1>
|
26
|
+
<progress hidden>loading...</progress>
|
27
|
+
<form method="POST" action="http://localhost:3000/api/auth" bearer="access_token">
|
28
|
+
<section cols="1">
|
29
|
+
<label>UserName<input bind="username" />
|
30
|
+
</label>
|
31
|
+
<label>PassWord<input type="password" bind="password" />
|
32
|
+
</label>
|
33
|
+
</section>
|
34
|
+
<button>Submit</button>
|
35
|
+
</form>
|
36
|
+
<fieldset>
|
37
|
+
<legend>ERROR</legend>
|
38
|
+
<ul>
|
39
|
+
</ul>
|
40
|
+
</fieldset>
|
41
|
+
<br />
|
42
|
+
<fieldset style="word-break:break-all">
|
43
|
+
<legend>token</legend>
|
44
|
+
</fieldset>
|
45
|
+
</jsx>
|
46
|
+
</div>
|
47
|
+
</body>
|
48
|
+
</html>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1 tag="h1" uid="2" class="default">Profile</h1>
|
22
|
+
<jsx tag="Detail" uid="2" own="default"
|
23
|
+
src="/mnt/b/Repositorios/reactful/prototype/routes/profile/detail" hidden
|
24
|
+
class="default">
|
25
|
+
<h3>Detail</h3>Parametric value = <b>
|
26
|
+
</b>
|
27
|
+
<hr />
|
28
|
+
<p>modular CSS keep original color</p>
|
29
|
+
<fieldset>
|
30
|
+
<legend>Mode</legend>
|
31
|
+
<section>
|
32
|
+
<button link="./developer">developer</button>
|
33
|
+
<button link="./manager">manager</button>
|
34
|
+
<button link="./tester">tester(component)</button>
|
35
|
+
</section>
|
36
|
+
<hr />
|
37
|
+
<section route="./developer">
|
38
|
+
<b>DEVELOPER</b> is Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
39
|
+
Aspernatur similique ipsa, molestiae numquam laudantium quod, aliquid soluta
|
40
|
+
cumque placeat saepe mollitia sint consectetur labore consequatur pariatur
|
41
|
+
praesentium animi. Obcaecati, nihil?</section>
|
42
|
+
<section route="./manager">
|
43
|
+
<b>MANAGER</b> is Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
44
|
+
Aspernatur similique ipsa, molestiae numquam laudantium quod, aliquid soluta
|
45
|
+
cumque placeat saepe mollitia sint consectetur labore consequatur pariatur
|
46
|
+
praesentium animi. Obcaecati, nihil?</section>
|
47
|
+
<div>
|
48
|
+
</div>
|
49
|
+
</fieldset>
|
50
|
+
</jsx>
|
51
|
+
<hr tag="hr" uid="2" class="default" />
|
52
|
+
<p tag="p" uid="2" class="default">modular CSS chainging to red</p>
|
53
|
+
</div>
|
54
|
+
</body>
|
55
|
+
</html>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1>My custom error component</h1>
|
22
|
+
<p> <!-- -->Unable to connect. Is the computer able to access the url?<!-- --> </p>
|
23
|
+
<hr />
|
24
|
+
<code>it will be regenerated in each 30min(press F5 to check)</code>
|
25
|
+
</div>
|
26
|
+
</body>
|
27
|
+
</html>
|