flet-web 0.25.0.dev3611__py3-none-any.whl → 0.25.0.dev3636__py3-none-any.whl
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.
Potentially problematic release.
This version of flet-web might be problematic. Click here for more details.
- flet_web/fastapi/app.py +3 -2
- flet_web/fastapi/flet_app.py +6 -6
- flet_web/fastapi/flet_app_manager.py +6 -5
- flet_web/fastapi/flet_static_files.py +5 -4
- flet_web/fastapi/serve_fastapi_web_app.py +3 -2
- flet_web/patch_index.py +1 -1
- flet_web/version.py +2 -2
- flet_web/web/flutter_bootstrap.js +1 -1
- flet_web/web/flutter_service_worker.js +1 -1
- {flet_web-0.25.0.dev3611.dist-info → flet_web-0.25.0.dev3636.dist-info}/METADATA +2 -1
- {flet_web-0.25.0.dev3611.dist-info → flet_web-0.25.0.dev3636.dist-info}/RECORD +12 -12
- {flet_web-0.25.0.dev3611.dist-info → flet_web-0.25.0.dev3636.dist-info}/WHEEL +0 -0
flet_web/fastapi/app.py
CHANGED
|
@@ -3,8 +3,9 @@ import os
|
|
|
3
3
|
from typing import Awaitable, Callable, Optional, Union
|
|
4
4
|
|
|
5
5
|
from fastapi import Request, WebSocket
|
|
6
|
-
from
|
|
7
|
-
from
|
|
6
|
+
from flet.core.page import Page
|
|
7
|
+
from flet.core.types import WebRenderer
|
|
8
|
+
|
|
8
9
|
from flet_web.fastapi.flet_app import (
|
|
9
10
|
DEFAULT_FLET_OAUTH_STATE_TIMEOUT,
|
|
10
11
|
DEFAULT_FLET_SESSION_TIMEOUT,
|
flet_web/fastapi/flet_app.py
CHANGED
|
@@ -9,10 +9,10 @@ from typing import Any, Dict, List, Optional
|
|
|
9
9
|
|
|
10
10
|
import flet_web.fastapi as flet_fastapi
|
|
11
11
|
from fastapi import WebSocket, WebSocketDisconnect
|
|
12
|
-
from
|
|
13
|
-
from
|
|
14
|
-
from
|
|
15
|
-
from
|
|
12
|
+
from flet.core.event import Event
|
|
13
|
+
from flet.core.local_connection import LocalConnection
|
|
14
|
+
from flet.core.page import Page, PageDisconnectedException
|
|
15
|
+
from flet.core.protocol import (
|
|
16
16
|
ClientActions,
|
|
17
17
|
ClientMessage,
|
|
18
18
|
Command,
|
|
@@ -21,8 +21,8 @@ from flet_core.protocol import (
|
|
|
21
21
|
PageCommandsBatchResponsePayload,
|
|
22
22
|
RegisterWebClientRequestPayload,
|
|
23
23
|
)
|
|
24
|
-
from
|
|
25
|
-
from
|
|
24
|
+
from flet.core.pubsub.pubsub_hub import PubSubHub
|
|
25
|
+
from flet.utils import random_string, sha1
|
|
26
26
|
from flet_web.fastapi.flet_app_manager import app_manager
|
|
27
27
|
from flet_web.fastapi.oauth_state import OAuthState
|
|
28
28
|
from flet_web.uploads import build_upload_url
|
|
@@ -7,12 +7,13 @@ from concurrent.futures import ThreadPoolExecutor
|
|
|
7
7
|
from datetime import datetime, timezone
|
|
8
8
|
from typing import Optional
|
|
9
9
|
|
|
10
|
+
from flet.core.connection import Connection
|
|
11
|
+
from flet.core.locks import NopeLock
|
|
12
|
+
from flet.core.page import Page
|
|
13
|
+
from flet.core.pubsub.pubsub_hub import PubSubHub
|
|
14
|
+
from flet.utils import is_pyodide
|
|
15
|
+
|
|
10
16
|
import flet_web.fastapi as flet_fastapi
|
|
11
|
-
from flet_core.connection import Connection
|
|
12
|
-
from flet_core.locks import NopeLock
|
|
13
|
-
from flet_core.page import Page
|
|
14
|
-
from flet_core.pubsub.pubsub_hub import PubSubHub
|
|
15
|
-
from flet_core.utils import is_pyodide
|
|
16
17
|
from flet_web.fastapi.oauth_state import OAuthState
|
|
17
18
|
|
|
18
19
|
logger = logging.getLogger(flet_fastapi.__name__)
|
|
@@ -5,13 +5,14 @@ import tempfile
|
|
|
5
5
|
from pathlib import Path
|
|
6
6
|
from typing import Optional, Tuple
|
|
7
7
|
|
|
8
|
-
import flet_web.fastapi as flet_fastapi
|
|
9
8
|
from fastapi.staticfiles import StaticFiles
|
|
10
|
-
from
|
|
11
|
-
from
|
|
9
|
+
from flet.core.types import WebRenderer
|
|
10
|
+
from flet.utils import Once, get_bool_env_var
|
|
11
|
+
from starlette.types import Receive, Scope, Send
|
|
12
|
+
|
|
13
|
+
import flet_web.fastapi as flet_fastapi
|
|
12
14
|
from flet_web import get_package_web_dir, patch_index_html, patch_manifest_json
|
|
13
15
|
from flet_web.fastapi.flet_app_manager import app_manager
|
|
14
|
-
from starlette.types import Receive, Scope, Send
|
|
15
16
|
|
|
16
17
|
logger = logging.getLogger(flet_fastapi.__name__)
|
|
17
18
|
|
|
@@ -2,10 +2,11 @@ import asyncio
|
|
|
2
2
|
import logging
|
|
3
3
|
from typing import Optional
|
|
4
4
|
|
|
5
|
+
import uvicorn
|
|
6
|
+
from flet.core.types import WebRenderer
|
|
7
|
+
|
|
5
8
|
import flet_web.fastapi
|
|
6
9
|
import flet_web.fastapi as flet_fastapi
|
|
7
|
-
import uvicorn
|
|
8
|
-
from flet_core.types import WebRenderer
|
|
9
10
|
|
|
10
11
|
logger = logging.getLogger(flet_fastapi.__name__)
|
|
11
12
|
|
flet_web/patch_index.py
CHANGED
flet_web/version.py
CHANGED
|
@@ -15,7 +15,7 @@ _flutter.loader.load({
|
|
|
15
15
|
renderer: webRenderer
|
|
16
16
|
},
|
|
17
17
|
serviceWorkerSettings: {
|
|
18
|
-
serviceWorkerVersion: "
|
|
18
|
+
serviceWorkerVersion: "1653303081",
|
|
19
19
|
},
|
|
20
20
|
onEntrypointLoaded: async function (engineInitializer) {
|
|
21
21
|
loading.classList.add('main_done');
|
|
@@ -16,7 +16,7 @@ const RESOURCES = {"main.dart.js": "b79d2eb4827089efe8f5fc33554b4a24",
|
|
|
16
16
|
"canvaskit/skwasm.js.symbols": "262f4827a1317abb59d71d6c587a93e2",
|
|
17
17
|
"canvaskit/canvaskit.js": "66177750aff65a66cb07bb44b8c6422b",
|
|
18
18
|
"canvaskit/canvaskit.wasm": "1f237a213d7370cf95f443d896176460",
|
|
19
|
-
"flutter_bootstrap.js": "
|
|
19
|
+
"flutter_bootstrap.js": "7da81975693657b1d1cc712d9102ee80",
|
|
20
20
|
"favicon.png": "302ac04c14db027d016d1fe74c6a80a0",
|
|
21
21
|
"flutter.js": "f393d3c16b631f36852323de8e583132",
|
|
22
22
|
"index.html": "9b60787b64ca572171a5b4effdbca418",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: flet-web
|
|
3
|
-
Version: 0.25.0.
|
|
3
|
+
Version: 0.25.0.dev3636
|
|
4
4
|
Summary: Flet web client in Flutter.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Author: Appveyor Systems Inc.
|
|
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
17
|
Requires-Dist: fastapi
|
|
18
|
+
Requires-Dist: flet (==0.25.0.dev3636)
|
|
18
19
|
Requires-Dist: uvicorn[standard]
|
|
19
20
|
Project-URL: documentation, https://flet.dev/docs
|
|
20
21
|
Project-URL: homepage, https://flet.dev
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
flet_web/__init__.py,sha256=Wyzpvf5VEXil2MRw_AjGLC1AgdvWvGlt8Wu9y6ceC8M,257
|
|
2
2
|
flet_web/fastapi/README.md,sha256=AxLfVlsTjhzTz6CEDtfI0uDf5Ka-pooq6xcGS-3lZ_U,4181
|
|
3
3
|
flet_web/fastapi/__init__.py,sha256=cQn3Xg5p9NEfLLt6j7uRpxfNz5h2vzDEpOFhIBufShk,306
|
|
4
|
-
flet_web/fastapi/app.py,sha256=
|
|
5
|
-
flet_web/fastapi/flet_app.py,sha256=
|
|
6
|
-
flet_web/fastapi/flet_app_manager.py,sha256=
|
|
4
|
+
flet_web/fastapi/app.py,sha256=g3Aup4ce932sbEUjbqkVZku4gt1NBv0UfH6sqGVe3eg,4883
|
|
5
|
+
flet_web/fastapi/flet_app.py,sha256=5QPJGP5BRDzGCmJLgNhx_mZ4iH9jxDDCOWlqHqpa02Q,17011
|
|
6
|
+
flet_web/fastapi/flet_app_manager.py,sha256=q5zeL15UX6-v7UXRxTm8eNFH4q_-KF-rr4ebvAtpQKI,6140
|
|
7
7
|
flet_web/fastapi/flet_fastapi.py,sha256=WDryZ1W0mS4ugTJtxtZ7yNZ5eqqg8cF8aXO0nun8byY,4687
|
|
8
8
|
flet_web/fastapi/flet_oauth.py,sha256=5_8dGg-WdiUuxl2_ItXXDgAltStsdgcItDPSn5dHCos,2109
|
|
9
|
-
flet_web/fastapi/flet_static_files.py,sha256=
|
|
9
|
+
flet_web/fastapi/flet_static_files.py,sha256=WF0DCGhwcSdvxmQDVG7OhEtWw4ZDpR3ZeAQk7fqgua4,7314
|
|
10
10
|
flet_web/fastapi/flet_upload.py,sha256=6QqRIOuntJ3xUUlfDl47XI3Na2zeCqpZYm1ZFwoFbYM,3115
|
|
11
11
|
flet_web/fastapi/oauth_state.py,sha256=beIRx_JXnzAQIV3QHEroPjtjtO52dJYYctybX8poiSo,308
|
|
12
|
-
flet_web/fastapi/serve_fastapi_web_app.py,sha256=
|
|
13
|
-
flet_web/patch_index.py,sha256=
|
|
12
|
+
flet_web/fastapi/serve_fastapi_web_app.py,sha256=WAjbB3yE5JBaTUMeG2D3128_IHefg2GnGLMMqkCvsoM,2300
|
|
13
|
+
flet_web/patch_index.py,sha256=M0MMvOc9GMGArneCUUcJMVEJgOYyXLmPaePovBgjM-I,3202
|
|
14
14
|
flet_web/uploads.py,sha256=k2ZTFQo_MOXGcsJnKgH8m7_zpmcX-sOauarXbehEjNY,1579
|
|
15
|
-
flet_web/version.py,sha256=
|
|
15
|
+
flet_web/version.py,sha256=ncH0vI26gEjZejEpBxCiqXaggFLIr-pBIK4cOg5yj1o,93
|
|
16
16
|
flet_web/web/.last_build_id,sha256=dBcbt_icRWSb9h-C8AvC9jGzZ2flBANg6xhCN5ZfFkg,32
|
|
17
17
|
flet_web/web/assets/AssetManifest.bin,sha256=UeiN0Ln2PXxgdzJrgaqMojo-GYQB2_DU6aIKJ27Gl5Y,1148
|
|
18
18
|
flet_web/web/assets/AssetManifest.bin.json,sha256=sNf-GV4GJ5CvldfFWQ0q7gvOK7w2gpdAQlBPRKHP1Jw,1534
|
|
@@ -33,8 +33,8 @@ flet_web/web/assets/packages/window_manager/images/ic_chrome_unmaximize.png,sha2
|
|
|
33
33
|
flet_web/web/assets/shaders/ink_sparkle.frag,sha256=4Bths5TPZqZBvqh-O0_jeH03L2Nsi8iipnQ4zcKdpvY,8867
|
|
34
34
|
flet_web/web/favicon.png,sha256=83Y7iihRHIC1ALYXYVizrRs2MNRA2YbWGL3UD4LTvOI,1028
|
|
35
35
|
flet_web/web/flutter.js,sha256=cBDXgUjM4L_k5n5Z78MRT0CmA2aKjHrMNeArQAT1mlQ,7775
|
|
36
|
-
flet_web/web/flutter_bootstrap.js,sha256=
|
|
37
|
-
flet_web/web/flutter_service_worker.js,sha256=
|
|
36
|
+
flet_web/web/flutter_bootstrap.js,sha256=4V_KH0ErL8bw9wCL1cFeZ6gKE6JNiPuwt1SDx0rU9BE,8589
|
|
37
|
+
flet_web/web/flutter_service_worker.js,sha256=FWSQ3rn3-PiYlMQqnPqB7jyeXcQB5R39PV1ckwIGd3o,9258
|
|
38
38
|
flet_web/web/icons/apple-touch-icon-192.png,sha256=dIgpzAZUPynN5BlFNa3ix_VCW34Jl0vimki76Kb7Y5o,4699
|
|
39
39
|
flet_web/web/icons/icon-192.png,sha256=rpfj2H4BEMLPI5U8M6eO_boq73OxHYIlrHh1Up2Moro,6622
|
|
40
40
|
flet_web/web/icons/icon-512.png,sha256=LYsJAwoc1oRroLoakYbYHJJQN-cNtOjmj1QCooE71oo,18666
|
|
@@ -47,6 +47,6 @@ flet_web/web/manifest.json,sha256=6y2nVhCTUFSy34mX7L6lgZV3ABCbZ6faL3SW3K2cYxE,78
|
|
|
47
47
|
flet_web/web/python-worker.js,sha256=efDFK7FM9Y9KgBIZNpHLVvth-p0TDJ_y9OgpUQGGKnw,1573
|
|
48
48
|
flet_web/web/python.js,sha256=VzS78idquUNV_OcZOvFX-xf4ZErYIp-FSjv8u9fjWMI,744
|
|
49
49
|
flet_web/web/version.json,sha256=M3wyjx-6vkvcLftRE6e4ugK8oYoYlg19xEaZwbrgfHw,92
|
|
50
|
-
flet_web-0.25.0.
|
|
51
|
-
flet_web-0.25.0.
|
|
52
|
-
flet_web-0.25.0.
|
|
50
|
+
flet_web-0.25.0.dev3636.dist-info/METADATA,sha256=WWBy_SziJ5wg4GL7X2IsYXcBLYeJuM85zmON1wiQt-4,992
|
|
51
|
+
flet_web-0.25.0.dev3636.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
52
|
+
flet_web-0.25.0.dev3636.dist-info/RECORD,,
|
|
File without changes
|