@reactful/create 1.2.23 → 1.2.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/commons/package.json +4 -5
  2. package/package.json +2 -2
  3. package/templates/minimal/builds/about.html +30 -0
  4. package/templates/minimal/builds/bundle.js +34981 -0
  5. package/templates/minimal/builds/bundle.ts +20 -0
  6. package/templates/minimal/builds/clock.html +30 -0
  7. package/templates/minimal/builds/counter.html +37 -0
  8. package/templates/minimal/builds/forms/form.html +48 -0
  9. package/templates/minimal/builds/forms/index.html +48 -0
  10. package/templates/minimal/builds/hello.html +62 -0
  11. package/templates/minimal/builds/htmlx.html +27 -0
  12. package/templates/minimal/builds/htmlx.tsx +13 -0
  13. package/templates/minimal/builds/index.html +98 -11
  14. package/templates/minimal/builds/login.html +48 -0
  15. package/templates/minimal/builds/profile/index.html +55 -0
  16. package/templates/minimal/builds/quotes.html +27 -0
  17. package/templates/minimal/builds/shared.js +76 -0
  18. package/templates/minimal/builds/system.html +28 -0
  19. package/templates/minimal/components/index.ts +1 -2
  20. package/templates/minimal/components/label.tsx +7 -0
  21. package/templates/minimal/index.html +12 -11
  22. package/templates/minimal/index.ts +2 -2
  23. package/templates/minimal/routes/hello.tsx +6 -0
  24. package/templates/minimal/routes/index.tsx +4 -7
  25. package/templates/sampling/apis/auth/db.ts +14 -14
  26. package/templates/sampling/apis/auth/index.ts +27 -27
  27. package/templates/sampling/apis/hello.ts +2 -2
  28. package/templates/sampling/apis/quotes.ts +15 -15
  29. package/templates/sampling/apis/sub/index.ts +2 -2
  30. package/templates/sampling/apis/sub/sub.ts +2 -2
  31. package/templates/sampling/assets/bootstrap-icons.css +4 -4
  32. package/templates/sampling/assets/default.css +93 -93
  33. package/templates/sampling/assets/icon.svg +6 -6
  34. package/templates/sampling/assets/manifest.json +56 -56
  35. package/templates/sampling/assets/markdown.css +273 -273
  36. package/templates/sampling/assets/robots.txt +1 -1
  37. package/templates/sampling/assets/system.css +6 -6
  38. package/templates/sampling/builds/about.html +30 -0
  39. package/templates/sampling/builds/bundle.js +34981 -0
  40. package/templates/sampling/builds/bundle.ts +20 -0
  41. package/templates/sampling/builds/clock.html +30 -0
  42. package/templates/sampling/builds/counter.html +37 -0
  43. package/templates/sampling/builds/forms/form.html +48 -0
  44. package/templates/sampling/builds/forms/index.html +48 -0
  45. package/templates/sampling/builds/hello.html +62 -0
  46. package/templates/sampling/builds/htmlx.html +27 -0
  47. package/templates/sampling/builds/htmlx.tsx +13 -0
  48. package/templates/sampling/builds/index.html +98 -98
  49. package/templates/sampling/builds/login.html +48 -0
  50. package/templates/sampling/builds/profile/index.html +55 -0
  51. package/templates/sampling/builds/quotes.html +27 -0
  52. package/templates/sampling/builds/shared.js +76 -0
  53. package/templates/sampling/builds/system.html +28 -0
  54. package/templates/sampling/components/header.tsx +6 -6
  55. package/templates/sampling/components/hello.tsx +8 -8
  56. package/templates/sampling/components/icon.tsx +10 -10
  57. package/templates/sampling/components/index.ts +2 -2
  58. package/templates/sampling/index.html +20 -20
  59. package/templates/sampling/index.ts +18 -18
  60. package/templates/sampling/routes/about.html +12 -12
  61. package/templates/sampling/routes/clock.tsx +32 -36
  62. package/templates/sampling/routes/counter.tsx +16 -7
  63. package/templates/sampling/routes/forms/form.tsx +49 -50
  64. package/templates/sampling/routes/hello.tsx +57 -58
  65. package/templates/sampling/routes/htmlx.html +14 -14
  66. package/templates/sampling/routes/index.md +14 -14
  67. package/templates/sampling/routes/login.tsx +34 -35
  68. package/templates/sampling/routes/profile/detail.css +12 -12
  69. package/templates/sampling/routes/profile/detail.tsx +46 -47
  70. package/templates/sampling/routes/profile/index.tsx +13 -13
  71. package/templates/sampling/routes/profile/profile.css +8 -8
  72. package/templates/sampling/routes/profile/tester.tsx +10 -10
  73. package/templates/sampling/routes/quotes.tsx +1 -1
  74. package/templates/sampling/routes/system.tsx +1 -2
  75. package/templates/sampling/tests/access.spec.ts +29 -29
  76. package/templates/sampling/tests/counter.spec.ts +18 -18
  77. package/templates/sampling/tests/form.spec.ts +50 -50
  78. package/templates/sampling/tests/hello.spec.ts +24 -24
  79. package/templates/sampling/tests/path.test.ts +19 -19
  80. package/templates/minimal/components/hello.tsx +0 -9
  81. 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="{&quot;name&quot;:&quot;InnerAsyncComponent&quot;,&quot;path&quot;:&quot;/mnt/b/Repositorios/reactful/prototype/routes/clock.tsx&quot;}"
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="{&quot;person&quot;:{&quot;name&quot;:&quot;john&quot;}}" tag="CountButton"
25
+ uid="2" own="default" src="/mnt/b/Repositorios/reactful/prototype/routes/counter"
26
+ hidden class="default"
27
+ events="{&quot;onEvent&quot;:&quot;() =&gt; console.log(\&quot;function props works!\&quot;)&quot;}">
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
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta name="description" content="Home page" >
7
- <title>Welcome</title>
8
- </head>
9
- <body>
10
- <h2>Minimal Template</h2>
11
- </body>
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>