@hackbuild/ai-views 0.1.14 → 0.1.15

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.
@@ -4,7 +4,7 @@
4
4
  * and saved masks. Each reads the studio's state and calls its methods.
5
5
  */
6
6
  import { MASK_TOOLS, strokeIcon } from "@virgilvox/hackbuild-ui/vanilla";
7
- import { ICON, download, esc, listeners, show } from "./dom.js";
7
+ import { ICON, download, esc, listeners } from "./dom.js";
8
8
  /** The tool rail of a studio: point (when a click model is set), wand, brush, lasso, and segment everything (when that model is set). */
9
9
  export function mountMaskTools(host, studio) {
10
10
  const l = listeners();
@@ -34,7 +34,6 @@ export function mountMaskStudio(host, o = {}) {
34
34
  const empty = host.querySelector("[data-empty]");
35
35
  const studio = host.querySelector("[data-studio]");
36
36
  const well = host.querySelector(".hb-mask-well");
37
- const frame = host.querySelector(".hb-mask-frame");
38
37
  const canvas = host.querySelector(".hb-mask-canvas");
39
38
  const over = host.querySelector("[data-over]");
40
39
  const hint = host.querySelector(".hb-mask-hint");
@@ -8958,7 +8958,6 @@ ${n}` : n;
8958
8958
  const empty = host.querySelector("[data-empty]");
8959
8959
  const studio = host.querySelector("[data-studio]");
8960
8960
  const well = host.querySelector(".hb-mask-well");
8961
- host.querySelector(".hb-mask-frame");
8962
8961
  const canvas = host.querySelector(".hb-mask-canvas");
8963
8962
  const over = host.querySelector("[data-over]");
8964
8963
  const hint = host.querySelector(".hb-mask-hint");
@@ -8956,7 +8956,6 @@ function mountMaskStudio(host, o = {}) {
8956
8956
  const empty = host.querySelector("[data-empty]");
8957
8957
  const studio = host.querySelector("[data-studio]");
8958
8958
  const well = host.querySelector(".hb-mask-well");
8959
- host.querySelector(".hb-mask-frame");
8960
8959
  const canvas = host.querySelector(".hb-mask-canvas");
8961
8960
  const over = host.querySelector("[data-over]");
8962
8961
  const hint = host.querySelector(".hb-mask-hint");
@@ -11234,7 +11234,6 @@ ${n}` : n;
11234
11234
  const empty = host.querySelector("[data-empty]");
11235
11235
  const studio = host.querySelector("[data-studio]");
11236
11236
  const well = host.querySelector(".hb-mask-well");
11237
- host.querySelector(".hb-mask-frame");
11238
11237
  const canvas = host.querySelector(".hb-mask-canvas");
11239
11238
  const over = host.querySelector("[data-over]");
11240
11239
  const hint = host.querySelector(".hb-mask-hint");
@@ -11232,7 +11232,6 @@ function mountMaskStudio(host, o = {}) {
11232
11232
  const empty = host.querySelector("[data-empty]");
11233
11233
  const studio = host.querySelector("[data-studio]");
11234
11234
  const well = host.querySelector(".hb-mask-well");
11235
- host.querySelector(".hb-mask-frame");
11236
11235
  const canvas = host.querySelector(".hb-mask-canvas");
11237
11236
  const over = host.querySelector("[data-over]");
11238
11237
  const hint = host.querySelector(".hb-mask-hint");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hackbuild/ai-views",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Views that bind the browser AI packages to hackbuild-ui: a model picker per job, a chat pane and composer, a drop first transcriber, a mask studio, a frame view and a camera feed. Each ships as a Vue component and a custom element.",
5
5
  "type": "module",
6
6
  "license": "MIT",