workpeg 0.147.0__tar.gz → 0.149.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {workpeg-0.147.0/src/workpeg.egg-info → workpeg-0.149.1}/PKG-INFO +1 -1
- {workpeg-0.147.0 → workpeg-0.149.1}/pyproject.toml +1 -1
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/__init__.py +29 -0
- workpeg-0.149.1/src/workpeg/ui/calendar.py +1193 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/compiler/ast_parser.py +1880 -82
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/compiler/js_generator.py +259 -10
- workpeg-0.149.1/src/workpeg/ui/dates.py +745 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai-prompt-queue.md +38 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai.js +1801 -165
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/pegment.css +1624 -2
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/scaffold.js +402 -52
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/workpeg-runtime.js +3051 -46
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/validators.py +22 -8
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/__init__.py +23 -1
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/display.py +32 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/fields.py +188 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/interactive.py +285 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/layout.py +10 -2
- workpeg-0.149.1/src/workpeg/ui/widgets/pickers.py +667 -0
- {workpeg-0.147.0 → workpeg-0.149.1/src/workpeg.egg-info}/PKG-INFO +1 -1
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg.egg-info/SOURCES.txt +3 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/LICENSE +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/MANIFEST.in +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/README.md +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/setup.cfg +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/__init__.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/auth.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/build.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/cdn.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/cli.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/config.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/context.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/create_new.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/doctor.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/project.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/run.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/runtime.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/sandbox/__init__.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/sandbox/docker_driver.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/sandbox/driver.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/submit.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/__init__.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/functions/Dockerfile +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/functions/LICENSE +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/functions/README.md +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/functions/app/__init__.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/functions/app/main.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/functions/requirements.txt +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/project/README.md +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/project/function/Dockerfile +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/project/function/app/__init__.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/project/function/app/main.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/project/function/requirements.txt +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/project/ui/main.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/templates/project/workpeg.json +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/actions.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/actions_manifest.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/app.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/build.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/compiler/__init__.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/compiler/ir.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/create.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/fake_cloud.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/minify.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/render_nodes.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/renderers_manifest.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai-concurrent-replies.md +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai-question-frame.md +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai-subagent-frame.md +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/editor.js +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/OFL.txt +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-cyrillic-ext.af944491.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-cyrillic.88be6946.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-latin-ext.370a8962.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-latin.7611b95c.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-vietnamese.8dfcf303.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-cyrillic-ext.b7a545bb.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-cyrillic.6129fc85.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-latin-ext.58a6b173.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-latin.9b6f5ff4.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-vietnamese.f689f638.woff2 +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/icons.css.gz +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/overlay.js +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/scaffold.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/search_manifest.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/serve.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/skills_manifest.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/state.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/watcher.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/base.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/canvas.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/forms.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/futures.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/gestures.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg/utils.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg.egg-info/dependency_links.txt +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg.egg-info/entry_points.txt +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg.egg-info/requires.txt +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/src/workpeg.egg-info/top_level.txt +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_auth.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_build.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_cdn.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_cdn_publish.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_changelog.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_changelog_guard.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_cli.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_config.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_context.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_create_new.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_doctor.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_project_create.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_release_script.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_run.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_runtime.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_submit.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_utils.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_version.py +0 -0
- {workpeg-0.147.0 → workpeg-0.149.1}/tests/test_watch_pipeline.py +0 -0
|
@@ -53,6 +53,8 @@ from workpeg.ui.app import (
|
|
|
53
53
|
user,
|
|
54
54
|
workpeg,
|
|
55
55
|
)
|
|
56
|
+
# The date capability is a module, the Python twin of Workpeg.dates.
|
|
57
|
+
from workpeg.ui import dates
|
|
56
58
|
from workpeg.ui.state import Binding, State
|
|
57
59
|
from workpeg.ui.validators import (
|
|
58
60
|
email,
|
|
@@ -77,11 +79,15 @@ from workpeg.ui.widgets import (
|
|
|
77
79
|
LinkInput,
|
|
78
80
|
MoneyInput,
|
|
79
81
|
PhoneInput,
|
|
82
|
+
DateInput,
|
|
83
|
+
TimeInput,
|
|
84
|
+
DateTimeInput,
|
|
80
85
|
|
|
81
86
|
Align,
|
|
82
87
|
AspectRatio,
|
|
83
88
|
Authenticated,
|
|
84
89
|
Badge,
|
|
90
|
+
Dot,
|
|
85
91
|
BaseWidget,
|
|
86
92
|
Dismissible,
|
|
87
93
|
Field,
|
|
@@ -91,6 +97,7 @@ from workpeg.ui.widgets import (
|
|
|
91
97
|
StreamBuilder,
|
|
92
98
|
Arc,
|
|
93
99
|
Button,
|
|
100
|
+
ButtonGroup,
|
|
94
101
|
Canvas,
|
|
95
102
|
CanvasImage,
|
|
96
103
|
CanvasText,
|
|
@@ -104,6 +111,14 @@ from workpeg.ui.widgets import (
|
|
|
104
111
|
Pill,
|
|
105
112
|
Tag,
|
|
106
113
|
Switch,
|
|
114
|
+
ToggleButton,
|
|
115
|
+
ToggleGroup,
|
|
116
|
+
CalendarDatePicker,
|
|
117
|
+
CalendarDateRangePicker,
|
|
118
|
+
YearPicker,
|
|
119
|
+
TimePicker,
|
|
120
|
+
DateSegments,
|
|
121
|
+
CalendarCard,
|
|
107
122
|
Circle,
|
|
108
123
|
Ellipse,
|
|
109
124
|
Group,
|
|
@@ -215,6 +230,7 @@ __all__ = [
|
|
|
215
230
|
"BaseWidget",
|
|
216
231
|
"Binding",
|
|
217
232
|
"Button",
|
|
233
|
+
"ButtonGroup",
|
|
218
234
|
"Arc",
|
|
219
235
|
"Canvas",
|
|
220
236
|
"CanvasImage",
|
|
@@ -226,6 +242,7 @@ __all__ = [
|
|
|
226
242
|
"Path",
|
|
227
243
|
"Rect",
|
|
228
244
|
"Badge",
|
|
245
|
+
"Dot",
|
|
229
246
|
"Center",
|
|
230
247
|
"ChatInput",
|
|
231
248
|
"EditableText",
|
|
@@ -237,6 +254,9 @@ __all__ = [
|
|
|
237
254
|
"MoneyInput",
|
|
238
255
|
"LinkInput",
|
|
239
256
|
"CardInput",
|
|
257
|
+
"DateInput",
|
|
258
|
+
"TimeInput",
|
|
259
|
+
"DateTimeInput",
|
|
240
260
|
"Checkbox",
|
|
241
261
|
"Chip",
|
|
242
262
|
"FilledTag",
|
|
@@ -244,6 +264,14 @@ __all__ = [
|
|
|
244
264
|
"Pill",
|
|
245
265
|
"Tag",
|
|
246
266
|
"Switch",
|
|
267
|
+
"ToggleButton",
|
|
268
|
+
"ToggleGroup",
|
|
269
|
+
"CalendarDatePicker",
|
|
270
|
+
"CalendarDateRangePicker",
|
|
271
|
+
"YearPicker",
|
|
272
|
+
"TimePicker",
|
|
273
|
+
"DateSegments",
|
|
274
|
+
"CalendarCard",
|
|
247
275
|
"Component",
|
|
248
276
|
"ConstrainedBox",
|
|
249
277
|
"Container",
|
|
@@ -277,6 +305,7 @@ __all__ = [
|
|
|
277
305
|
"binary",
|
|
278
306
|
"clock",
|
|
279
307
|
"codec",
|
|
308
|
+
"dates",
|
|
280
309
|
"fullscreen",
|
|
281
310
|
"color_scheme",
|
|
282
311
|
"cookie",
|