@reactful/create 1.2.2 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/README.md +7 -7
  2. package/commons/package.json +21 -21
  3. package/commons/tsconfig.json +24 -24
  4. package/index.js +148 -148
  5. package/package.json +31 -31
  6. package/templates/minimal/components/hello.tsx +8 -8
  7. package/templates/minimal/components/icon.tsx +10 -10
  8. package/templates/minimal/components/index.ts +1 -1
  9. package/templates/minimal/routes/index.tsx +7 -7
  10. package/templates/sampling/apis/auth/db.ts +14 -14
  11. package/templates/sampling/apis/auth/index.ts +27 -27
  12. package/templates/sampling/apis/hello.ts +2 -2
  13. package/templates/sampling/apis/quotes.ts +15 -15
  14. package/templates/sampling/apis/sub/index.ts +2 -2
  15. package/templates/sampling/apis/sub/sub.ts +2 -2
  16. package/templates/sampling/assets/bootstrap-icons.css +4 -4
  17. package/templates/sampling/assets/default.css +93 -93
  18. package/templates/sampling/assets/icon.svg +6 -6
  19. package/templates/sampling/assets/manifest.json +56 -56
  20. package/templates/sampling/assets/markdown.css +273 -273
  21. package/templates/sampling/assets/robots.txt +1 -1
  22. package/templates/sampling/assets/system.css +6 -6
  23. package/templates/sampling/builds/about.html +29 -29
  24. package/templates/sampling/builds/bundle.js +34763 -34763
  25. package/templates/sampling/builds/bundle.ts +20 -20
  26. package/templates/sampling/builds/clock.html +29 -29
  27. package/templates/sampling/builds/counter.html +30 -30
  28. package/templates/sampling/builds/forms/form.html +48 -48
  29. package/templates/sampling/builds/forms/index.html +48 -48
  30. package/templates/sampling/builds/hello.html +61 -61
  31. package/templates/sampling/builds/htmlx.html +26 -26
  32. package/templates/sampling/builds/htmlx.tsx +12 -12
  33. package/templates/sampling/builds/index.html +98 -98
  34. package/templates/sampling/builds/login.html +47 -47
  35. package/templates/sampling/builds/profile/index.html +54 -54
  36. package/templates/sampling/builds/quotes.html +26 -26
  37. package/templates/sampling/builds/shared.js +76 -76
  38. package/templates/sampling/builds/system.html +27 -27
  39. package/templates/sampling/components/header.tsx +6 -6
  40. package/templates/sampling/components/hello.tsx +8 -8
  41. package/templates/sampling/components/icon.tsx +10 -10
  42. package/templates/sampling/components/index.ts +2 -2
  43. package/templates/sampling/index.html +20 -20
  44. package/templates/sampling/index.ts +18 -18
  45. package/templates/sampling/routes/about.html +12 -12
  46. package/templates/sampling/routes/clock.tsx +36 -36
  47. package/templates/sampling/routes/forms/form.tsx +50 -50
  48. package/templates/sampling/routes/hello.tsx +58 -58
  49. package/templates/sampling/routes/htmlx.html +14 -14
  50. package/templates/sampling/routes/index.md +14 -14
  51. package/templates/sampling/routes/login.tsx +35 -35
  52. package/templates/sampling/routes/profile/detail.css +12 -12
  53. package/templates/sampling/routes/profile/detail.tsx +47 -47
  54. package/templates/sampling/routes/profile/index.tsx +13 -13
  55. package/templates/sampling/routes/profile/profile.css +8 -8
  56. package/templates/sampling/routes/profile/tester.tsx +10 -10
  57. package/templates/sampling/tests/access.spec.ts +29 -29
  58. package/templates/sampling/tests/counter.spec.ts +18 -18
  59. package/templates/sampling/tests/form.spec.ts +50 -50
  60. package/templates/sampling/tests/hello.spec.ts +24 -24
  61. package/templates/sampling/tests/path.test.ts +19 -19
  62. package/vscode/launch.json +8 -8
@@ -1,20 +1,20 @@
1
-
2
- import { GLOBAL_KEY } from '@reactful/commons';
3
- await import('/mnt/b/Repositorios/reactful/node_modules/@reactful/server/npm/guest/client').then(x => x.default());
4
- globalThis[GLOBAL_KEY].clients ||= {}
5
-
6
- globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx'] = { off:false, tag:'CountButton' }
7
- import('/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx').then(x => x.CountButton).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx'] = x);
8
-
9
- globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx'] = { off:false, tag:'default' }
10
- import('/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx'] = x);
11
-
12
- globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx'] = { off:false, tag:'Hello' }
13
- import('/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx'] = x);
14
-
15
- globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/login.tsx'] = { off:false, tag:'default' }
16
- import('/mnt/b/Repositorios/reactful/experiment/routes/login.tsx').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/login.tsx'] = x);
17
-
18
- globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx'] = { off:false, tag:'Detail' }
19
- import('/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx').then(x => x.Detail).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx'] = x);
20
-
1
+
2
+ import { GLOBAL_KEY } from '@reactful/core';
3
+ await import('/mnt/b/Repositorios/reactful/node_modules/@reactful/server/npm/guest/client').then(x => x.default());
4
+ globalThis[GLOBAL_KEY].clients ||= {}
5
+
6
+ globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx'] = { off:false, tag:'CountButton' }
7
+ import('/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx').then(x => x.CountButton).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx'] = x);
8
+
9
+ globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx'] = { off:false, tag:'default' }
10
+ import('/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx'] = x);
11
+
12
+ globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx'] = { off:false, tag:'Hello' }
13
+ import('/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx'] = x);
14
+
15
+ globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/login.tsx'] = { off:false, tag:'default' }
16
+ import('/mnt/b/Repositorios/reactful/experiment/routes/login.tsx').then(x => x.default).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/login.tsx'] = x);
17
+
18
+ globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx'] = { off:false, tag:'Detail' }
19
+ import('/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx').then(x => x.Detail).then(x => globalThis[GLOBAL_KEY].clients['/mnt/b/Repositorios/reactful/experiment/routes/profile/detail.tsx'] = x);
20
+
@@ -1,30 +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/bootstrap-icons.css">
9
- <link rel="stylesheet" href="/assets/markdown.css">
10
- <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
- <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
- <body>
20
- <div id='root'>
21
- <h1 tag="h1" uid="6" class="TimeZone">World Clock</h1>
22
- <h2 tag="h2" uid="8" class="TimeZone">Europe/Amistedan timezone</h2>
23
- <h3 style="color:yellow" tag="h3" uid="10" class="TimeZone"> <!-- -->2024-4-10<!-- -->
24
- <!-- -->18:34:20<!-- --> </h3>
25
- <h4
26
- await="{&quot;name&quot;:&quot;InnerAsyncComponent&quot;,&quot;path&quot;:&quot;/mnt/b/Repositorios/reactful/experiment/routes/clock.tsx&quot;}"
27
- tag="h4" uid="12" class="TimeZone">loading...</h4>
28
- </div>
29
- </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/bootstrap-icons.css">
9
+ <link rel="stylesheet" href="/assets/markdown.css">
10
+ <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
+ <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
+ <body>
20
+ <div id='root'>
21
+ <h1 tag="h1" uid="6" class="TimeZone">World Clock</h1>
22
+ <h2 tag="h2" uid="8" class="TimeZone">Europe/Amistedan timezone</h2>
23
+ <h3 style="color:yellow" tag="h3" uid="10" class="TimeZone"> <!-- -->2024-4-10<!-- -->
24
+ <!-- -->18:34:20<!-- --> </h3>
25
+ <h4
26
+ await="{&quot;name&quot;:&quot;InnerAsyncComponent&quot;,&quot;path&quot;:&quot;/mnt/b/Repositorios/reactful/experiment/routes/clock.tsx&quot;}"
27
+ tag="h4" uid="12" class="TimeZone">loading...</h4>
28
+ </div>
29
+ </body>
30
30
  </html>
@@ -1,31 +1,31 @@
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/bootstrap-icons.css">
9
- <link rel="stylesheet" href="/assets/markdown.css">
10
- <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
- <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
- <body>
20
- <div id='root'>
21
- <h1 tag="h1" uid="3" class="default">Counter</h1>
22
- <jsx tag="jsx" uid="9" own="default"
23
- src="/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx" hidden
24
- class="default">
25
- <button style="padding:20px">COUNTED: <b>0</b>
26
- </button>
27
- </jsx>
28
- <h6 tag="h6" uid="7" class="default" hidden>DONT SHOW ME!</h6>
29
- </div>
30
- </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/bootstrap-icons.css">
9
+ <link rel="stylesheet" href="/assets/markdown.css">
10
+ <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
+ <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
+ <body>
20
+ <div id='root'>
21
+ <h1 tag="h1" uid="3" class="default">Counter</h1>
22
+ <jsx tag="jsx" uid="9" own="default"
23
+ src="/mnt/b/Repositorios/reactful/experiment/routes/counter.tsx" hidden
24
+ class="default">
25
+ <button style="padding:20px">COUNTED: <b>0</b>
26
+ </button>
27
+ </jsx>
28
+ <h6 tag="h6" uid="7" class="default" hidden>DONT SHOW ME!</h6>
29
+ </div>
30
+ </body>
31
31
  </html>
@@ -1,49 +1,49 @@
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/bootstrap-icons.css">
9
- <link rel="stylesheet" href="/assets/markdown.css">
10
- <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
- <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
- <body>
20
- <div id='root'>
21
- <jsx tag="jsx" uid="2" own="default"
22
- src="/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx" hidden
23
- class="default">
24
- <h1>Uncontrolled Components</h1>
25
- <progress hidden>test...</progress>
26
- <form cols="2" method="post" action="https://jsonplaceholder.typicode.com/posts1">
27
- <label>Name<input id="name" bind="name" />
28
- </label>
29
- <label>Date<input type="date" bind="date" />
30
- </label>
31
- <label>Work<input pattern="dev|test" bind="work" />
32
- </label>
33
- <label>Mode<input bind="mode" />
34
- </label>
35
- <hr />
36
- <hr />
37
- <label>Accept?<input bind="term" type="checkbox" required />
38
- </label>
39
- <button>Submit</button>
40
- </form>
41
- <fieldset>
42
- <legend>ERROR</legend>
43
- <ul>
44
- </ul>
45
- </fieldset>
46
- </jsx>
47
- </div>
48
- </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/bootstrap-icons.css">
9
+ <link rel="stylesheet" href="/assets/markdown.css">
10
+ <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
+ <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
+ <body>
20
+ <div id='root'>
21
+ <jsx tag="jsx" uid="2" own="default"
22
+ src="/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx" hidden
23
+ class="default">
24
+ <h1>Uncontrolled Components</h1>
25
+ <progress hidden>test...</progress>
26
+ <form cols="2" method="post" action="https://jsonplaceholder.typicode.com/posts1">
27
+ <label>Name<input id="name" bind="name" />
28
+ </label>
29
+ <label>Date<input type="date" bind="date" />
30
+ </label>
31
+ <label>Work<input pattern="dev|test" bind="work" />
32
+ </label>
33
+ <label>Mode<input bind="mode" />
34
+ </label>
35
+ <hr />
36
+ <hr />
37
+ <label>Accept?<input bind="term" type="checkbox" required />
38
+ </label>
39
+ <button>Submit</button>
40
+ </form>
41
+ <fieldset>
42
+ <legend>ERROR</legend>
43
+ <ul>
44
+ </ul>
45
+ </fieldset>
46
+ </jsx>
47
+ </div>
48
+ </body>
49
49
  </html>
@@ -1,49 +1,49 @@
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/bootstrap-icons.css">
9
- <link rel="stylesheet" href="/assets/markdown.css">
10
- <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
- <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
- <body>
20
- <div id='root'>
21
- <jsx tag="jsx" uid="2" own="default"
22
- src="/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx" hidden
23
- class="default">
24
- <h1>Uncontrolled Components</h1>
25
- <progress hidden>test...</progress>
26
- <form cols="2" method="post" action="https://jsonplaceholder.typicode.com/posts1">
27
- <label>Name<input id="name" bind="name" />
28
- </label>
29
- <label>Date<input type="date" bind="date" />
30
- </label>
31
- <label>Work<input pattern="dev|test" bind="work" />
32
- </label>
33
- <label>Mode<input bind="mode" />
34
- </label>
35
- <hr />
36
- <hr />
37
- <label>Accept?<input bind="term" type="checkbox" required />
38
- </label>
39
- <button>Submit</button>
40
- </form>
41
- <fieldset>
42
- <legend>ERROR</legend>
43
- <ul>
44
- </ul>
45
- </fieldset>
46
- </jsx>
47
- </div>
48
- </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/bootstrap-icons.css">
9
+ <link rel="stylesheet" href="/assets/markdown.css">
10
+ <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
+ <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
+ <body>
20
+ <div id='root'>
21
+ <jsx tag="jsx" uid="2" own="default"
22
+ src="/mnt/b/Repositorios/reactful/experiment/routes/forms/form.tsx" hidden
23
+ class="default">
24
+ <h1>Uncontrolled Components</h1>
25
+ <progress hidden>test...</progress>
26
+ <form cols="2" method="post" action="https://jsonplaceholder.typicode.com/posts1">
27
+ <label>Name<input id="name" bind="name" />
28
+ </label>
29
+ <label>Date<input type="date" bind="date" />
30
+ </label>
31
+ <label>Work<input pattern="dev|test" bind="work" />
32
+ </label>
33
+ <label>Mode<input bind="mode" />
34
+ </label>
35
+ <hr />
36
+ <hr />
37
+ <label>Accept?<input bind="term" type="checkbox" required />
38
+ </label>
39
+ <button>Submit</button>
40
+ </form>
41
+ <fieldset>
42
+ <legend>ERROR</legend>
43
+ <ul>
44
+ </ul>
45
+ </fieldset>
46
+ </jsx>
47
+ </div>
48
+ </body>
49
49
  </html>
@@ -1,62 +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/bootstrap-icons.css">
9
- <link rel="stylesheet" href="/assets/markdown.css">
10
- <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
- <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
- <body>
20
- <div id='root'>
21
- <jsx tag="jsx" uid="2" own="default"
22
- src="/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx" 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>
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/bootstrap-icons.css">
9
+ <link rel="stylesheet" href="/assets/markdown.css">
10
+ <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
+ <script type='module' src='/mnt/b/Repositorios/reactful/experiment/builds/bundle.js'></script></head>
19
+ <body>
20
+ <div id='root'>
21
+ <jsx tag="jsx" uid="2" own="default"
22
+ src="/mnt/b/Repositorios/reactful/experiment/routes/hello.tsx" 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
62
  </html>
@@ -1,27 +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/bootstrap-icons.css">
9
- <link rel="stylesheet" href="/assets/markdown.css">
10
- <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
- <script type='module' src='/mnt/b/Repositorios/reactful/experiment/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>
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/bootstrap-icons.css">
9
+ <link rel="stylesheet" href="/assets/markdown.css">
10
+ <link rel="stylesheet" href="/assets/default.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/experiment/builds/shared.js'></script>
18
+ <script type='module' src='/mnt/b/Repositorios/reactful/experiment/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
27
  </html>
@@ -1,13 +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
- </>
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
13
  }