instaui 0.1.10__py3-none-any.whl → 0.1.11__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.
@@ -17,7 +17,7 @@ class Radio(Element):
17
17
  ):
18
18
  super().__init__("a-radio")
19
19
 
20
- try_setup_vmodel(self, value)
20
+ self.props({"value": value})
21
21
  self.props(handle_props(kwargs)) # type: ignore
22
22
 
23
23
  def on_change(
@@ -48,7 +48,7 @@ function setOption(root, chartIns, props) {
48
48
  if (!chartIns.value) {
49
49
  init(root, chartIns, props);
50
50
  } else {
51
- chartIns.value.setOption(props.option, props.updateOptions || {});
51
+ chartIns.value.setOption(props.option || {}, props.updateOptions || {});
52
52
  }
53
53
  }
54
54
 
File without changes
@@ -14,7 +14,13 @@ def create_router(app: FastAPI):
14
14
  def _dependency_handler(app: FastAPI):
15
15
  @app.get(URL)
16
16
  def _(hash_part: str, file_name: str) -> FileResponse:
17
+ hash_part_with_extend_paths = hash_part.split("/", maxsplit=1)
18
+ hash_part = hash_part_with_extend_paths[0]
19
+ extend_path = None if len(hash_part_with_extend_paths) == 1 else hash_part_with_extend_paths[1]
20
+
17
21
  folder = resource.get_folder_path(hash_part)
22
+ if extend_path:
23
+ folder = folder.joinpath(extend_path)
18
24
  local_file = folder / file_name
19
25
 
20
26
  return FileResponse(
@@ -1 +1 @@
1
- :root{color-scheme:light dark}:where(body){--insta-column-gap: 1rem;height:100vh}:where(*){box-sizing:border-box;margin:0;padding:0}:where(#app){height:100%}:where(.app-box,.insta-main){height:100%;overflow-y:auto}:where(.insta-main){--insta-padding: 16px;padding:var(--insta-padding, 16px)}
1
+ :root{color-scheme:light dark}:where(body){--insta-column-gap: 1rem;height:100vh}:where(*){box-sizing:border-box;margin:0;padding:0}:where(#app){height:100%}:where(.app-box,.insta-main){height:100%;overflow-y:auto}:where(.insta-main){--insta-padding: 16px;padding:var(--insta-padding, 16px)}