Princiya Sequeira
|
2f7d948074
|
added error class to the errorElement in base.ts
|
2022-04-27 11:28:15 +02:00 |
|
Princiya Sequeira
|
0d3d64eab9
|
updated css for the codemirror cm-editor
|
2022-04-27 11:26:10 +02:00 |
|
Ross Bermudez
|
27deee3f86
|
[PYS-12] Format and lint
|
2022-04-25 15:00:14 +02:00 |
|
Fabio Pliger
|
45d68f5701
|
move check id out of constructor
|
2022-04-22 12:55:06 -05:00 |
|
Fabio Pliger
|
1be8aa3a28
|
move guidGenerator to utils to make it more available
|
2022-04-22 12:03:04 -05:00 |
|
Fabio Pliger
|
9d0837abec
|
remove unecessary check for id since the base class is making sure that it always has an ID
|
2022-04-22 11:55:18 -05:00 |
|
Philipp Rudiger
|
190ae39690
|
Auto-generate element ID to ensure output is rendered
|
2022-04-21 20:40:24 +02:00 |
|
Fabio Pliger
|
7884127534
|
remove debug print
|
2022-04-21 12:27:17 -05:00 |
|
Fabio Pliger
|
cad87e6616
|
fix pyscript output when nothing is specified
|
2022-04-21 12:25:09 -05:00 |
|
Fabio Pliger
|
4065c13d32
|
general cleanup before merging
|
2022-04-20 20:27:13 -05:00 |
|
Fabio Pliger
|
71873b6b50
|
clean pylist.py and add a very hacky sync between list items and it's rendered versions
|
2022-04-20 20:03:23 -05:00 |
|
Fabio Pliger
|
7c71ba6fde
|
add margin to widgets and add item template to PyList
|
2022-04-20 18:17:58 -05:00 |
|
Fabio Pliger
|
019b7d145a
|
add timer to register generic widgets
|
2022-04-20 18:16:26 -05:00 |
|
Fabio Pliger
|
ac64b2aaa3
|
add handlers to input box as well
|
2022-04-20 16:32:11 -05:00 |
|
Fabio Pliger
|
44afda7aa8
|
add inputbox and clearn todo html even more
|
2022-04-20 16:12:01 -05:00 |
|
Fabio Pliger
|
3aa3ba02be
|
add pybutton and pytitle
|
2022-04-20 15:41:51 -05:00 |
|
Fabio Pliger
|
f5b168a45e
|
add better support for new widgets
|
2022-04-20 15:41:28 -05:00 |
|
Fabio Pliger
|
a6d00318c3
|
add PyListTemplate and PyItemTemplate so that classes implementing list and list item widgets can subclass from it and hide complexity to users
|
2022-04-20 12:48:25 -05:00 |
|
Fabio Pliger
|
a702cbdf10
|
add support for custom widgets registration in Python
|
2022-04-19 19:24:22 -05:00 |
|
Fabio Pliger
|
9e47644238
|
clean up repl class attrs
|
2022-04-19 10:58:20 -05:00 |
|
Fabio Pliger
|
3c2ca6d68c
|
fix error when trying to output to non existing element
|
2022-04-18 23:10:41 -05:00 |
|
Fabio Pliger
|
a6955b170a
|
Merge branch 'main' into pys-19/allow_out_err_redirect
|
2022-04-18 22:21:47 -05:00 |
|
Fabio Pliger
|
b38d2e5df1
|
add support for std-out and std-err attributes in py-repl and py-script
|
2022-04-18 21:55:29 -05:00 |
|
Fabio Pliger
|
57d6ae967b
|
add x margin to pybox children
|
2022-04-18 21:55:03 -05:00 |
|
Fabio Pliger
|
4ba90a9250
|
rename target attribute to output
|
2022-04-18 18:56:49 -05:00 |
|
Fabio Pliger
|
00b571d3df
|
change OutputManager to actually have separate contexts for out and err to scripts can manage both in one place
|
2022-04-18 15:54:59 -05:00 |
|
Fabio Pliger
|
4d890602d9
|
adapt pyscript to new base class and clean Base
|
2022-04-18 12:06:30 -05:00 |
|
Fabio Pliger
|
95d50269b7
|
add base component file with components base classe and adapt pyrepl to new base class
|
2022-04-18 10:13:59 -05:00 |
|
Mateusz Paprocki
|
0dc3b728c3
|
Allow import d3 instead of from esm import d3
|
2022-04-16 10:38:02 +02:00 |
|
Fabio Pliger
|
ef884689ba
|
Merge branch 'main' into mattpap/allow_pyscript_block_offset
|
2022-04-15 18:46:42 -05:00 |
|
Fabio Pliger
|
fb54949eb6
|
Merge branch 'main' into pys-19/allow_out_err_redirect
|
2022-04-15 18:43:19 -05:00 |
|
Fabio Pliger
|
441a2c6e9e
|
introduce outputmanager to redirect output in repl
|
2022-04-15 18:42:16 -05:00 |
|
Mateusz Paprocki
|
d0f0ebc6c3
|
Very rudimentary support for ESM and import maps
|
2022-04-15 14:28:51 +02:00 |
|
Mateusz Paprocki
|
c93a98a15f
|
Allow to indent <py-script> blocks
|
2022-04-14 10:23:03 +02:00 |
|
Mateusz Paprocki
|
dece4734ba
|
Don't fail on an empty <py-env></py-env>
|
2022-04-14 08:42:01 +02:00 |
|
Fabio Pliger
|
365486477e
|
add focus when repl is rendered
|
2022-04-13 19:38:26 -05:00 |
|
Fabio Pliger
|
2d32bb5f13
|
Merge branch 'main' into css
|
2022-04-13 15:03:58 -05:00 |
|
Fabio Pliger
|
68157dd3c2
|
cleanup some leftovers in pybox
|
2022-04-13 14:53:49 -05:00 |
|
Princiya Sequeira
|
fdfde89216
|
updated css for repl2 demo
|
2022-04-13 21:48:26 +02:00 |
|
Fabio Pliger
|
2059df3ecd
|
make pybox with accepting widths attribute to customize box children ration on the page
|
2022-04-13 14:46:44 -05:00 |
|
Fabio Pliger
|
b559f767eb
|
first stab ad pybox
|
2022-04-13 12:17:48 -05:00 |
|
Fabio Pliger
|
67be46f224
|
add support for paths on py-env so that we can load local (sort of) scripts into the environment
|
2022-04-12 19:04:26 -05:00 |
|
Fabio Pliger
|
973a14baea
|
allow pyscript to specify source and try loading pyscript python injections from file
|
2022-04-11 23:13:06 -05:00 |
|
Philipp Rudiger
|
60232bf91b
|
Ensure env is created before executing scripts
|
2022-04-08 18:51:10 +02:00 |
|
Fabio Pliger
|
9d64a9f126
|
add pyenv and allow to load packages to the loaded pyodide runtime
|
2022-04-06 14:45:34 -05:00 |
|
Fabio Pliger
|
5ec85695b9
|
add initializers that run before py-script scripts run and post initializers that run after. Also add function to unescape some of the characters when read form html tags
|
2022-04-01 10:45:52 -05:00 |
|
Fabio Pliger
|
2b7cbe0129
|
add array of initializers, to run after the python runtime has loaded
|
2022-03-25 16:57:54 -05:00 |
|
Fabio Pliger
|
00060b2376
|
add py-repl and scripts queue to stores
|
2022-03-24 11:45:24 -05:00 |
|
Fabio Pliger
|
b5680bd34e
|
add mode and minimal very rudimentary support for async exec in pyscript
|
2022-03-24 11:26:20 -05:00 |
|
Fabio Pliger
|
9df0974b4c
|
add right side nav bar for components and components details
|
2022-03-15 20:01:34 -05:00 |
|