Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@j3w1/ui": "*",
"vue": "3.5.43",
"vue": "3.5.44",
"vue-router": "5.4.0"
}
}
663 changes: 342 additions & 321 deletions package-lock.json

Large diffs are not rendered by default.

27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,26 +48,27 @@
"telegram:publish": "node ports/telegram/publish.mjs"
},
"devDependencies": {
"@astrojs/markdown-remark": "7.3.2",
"@axe-core/playwright": "4.13.0",
"@playwright/test": "1.64.0",
"@vitejs/plugin-vue": "6.0.9",
"astro": "7.3.7",
"es-module-lexer": "3.0.3",
"@astrojs/markdown-remark": "7.3.4",
"@axe-core/playwright": "4.14.0",
"@playwright/test": "1.64.1",
"@vitejs/plugin-vue": "6.0.10",
"astro": "7.4.2",
"es-module-lexer": "3.0.4",
"esbuild": "0.28.2",
"fflate": "0.8.3",
"jsonc-parser": "3.3.1",
"parse5": "8.0.1",
"postcss": "8.5.29",
"postcss": "8.5.31",
"postcss-value-parser": "4.2.0",
"react": "19.3.0",
"react-dom": "19.3.0",
"smol-toml": "1.9.0",
"react": "19.3.1",
"react-dom": "19.3.1",
"smol-toml": "1.9.1",
"teleproto": "1.229.1",
"typescript": "7.0.2",
"vite": "8.3.3",
"vue": "3.5.43",
"vite": "8.3.5",
"vue": "3.5.44",
"yaml": "2.9.1",
"zod": "4.6.5"
"zod": "4.6.7"
},
"workspaces": [
"packages/ui",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { c as keyIndex, f as rove, i as all, o as enabled, p as visible, s as identify, u as nativeInput } from "./choice-B7mo5Eq3.js";
import { t as IDREFS } from "./markup-DeQ4bEMR.js";
//#region packages/ui/src/behaviors/advanced.js
import { c as keyIndex, f as rove, i as all, o as enabled, p as visible, s as identify, u as nativeInput } from "./choice-DqwWT5pJ.js";
import { t as IDREFS } from "./markup-AopKpwOF.js";
// packages/ui/src/behaviors/advanced.js
function tree(root, { on }) {
const treeRoot = root.querySelector("[role=\"tree\"]");
if (!treeRoot) return {};
Expand Down Expand Up @@ -341,5 +341,4 @@ function commandPalette(root, { on }) {
cleanup: close
};
}
//#endregion
export { tree as i, multiselect as n, repeater as r, commandPalette as t };
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//#region packages/ui/src/internal/dom.js
// packages/ui/src/internal/dom.js
var all = (root, selector) => [...root.querySelectorAll(selector)];
var enabled = (node) => !node.matches(":disabled") && node.getAttribute("aria-disabled") !== "true";
var visible = (node) => !node.closest("[hidden]");
Expand Down Expand Up @@ -88,8 +88,7 @@ function place(trigger, popup) {
overflowY: "auto"
});
}
//#endregion
//#region packages/ui/src/internal/temporal.js
// packages/ui/src/internal/temporal.js
var instances = /* @__PURE__ */ new WeakMap();
var sequence$1 = 0;
function mountTemporal(input) {
Expand Down Expand Up @@ -518,8 +517,7 @@ function mountTemporal(input) {
instances.set(input, api);
return api;
}
//#endregion
//#region packages/ui/src/internal/choice.js
// packages/ui/src/internal/choice.js
var mounted = /* @__PURE__ */ new WeakMap();
var sequence = 0;
function mountChoice(select) {
Expand Down Expand Up @@ -934,5 +932,4 @@ function enhanceControls(root) {
}
};
}
//#endregion
export { announce as a, keyIndex as c, place as d, rove as f, all as i, make as l, mountChoice as n, enabled as o, visible as p, mountTemporal as r, identify as s, enhanceControls as t, nativeInput as u };
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { i as all, o as enabled } from "./choice-B7mo5Eq3.js";
import { i as tabs } from "./navigation-BfNzDYZB.js";
//#region packages/ui/src/behaviors/compositions.js
import { i as all, o as enabled } from "./choice-DqwWT5pJ.js";
import { i as tabs } from "./navigation-CknoksQ5.js";
// packages/ui/src/behaviors/compositions.js
function fileBrowser(root, { on }) {
const query = root.querySelector("[data-file-query]"), rows = all(root, "tr[data-file-id]"), status = root.querySelector("[data-file-status]");
let location = "all";
Expand Down Expand Up @@ -47,5 +47,4 @@ function windowFrame(root, context) {
});
return {};
}
//#endregion
export { fileBrowser as n, windowFrame as r, dashboard as t };
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { i as all, l as make, o as enabled } from "./choice-B7mo5Eq3.js";
//#region packages/ui/src/behaviors/display.js
import { i as all, l as make, o as enabled } from "./choice-DqwWT5pJ.js";
// packages/ui/src/behaviors/display.js
function avatar(root, { on }) {
const frame = root.querySelector(".avatar"), fallback = root.querySelector("[data-avatar-fallback]");
if (!frame || !fallback) return {};
Expand Down Expand Up @@ -208,5 +208,4 @@ function developerView(root, { on }) {
pre.textContent = String(text);
} };
}
//#endregion
export { editorSearch as i, chart as n, developerView as r, avatar as t };
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { t as enhanceControls } from "./choice-B7mo5Eq3.js";
//#region packages/ui/src/internal/element.js
import { t as enhanceControls } from "./choice-DqwWT5pJ.js";
// packages/ui/src/internal/element.js
var HTMLElementBase = globalThis.HTMLElement ?? class {};
var nextInstance = 0;
var J3w1Element = class extends HTMLElementBase {
Expand Down Expand Up @@ -228,5 +228,4 @@ function registerElement(name, Constructor, registry = globalThis.customElements
if (!current) registry.define(name, Constructor);
return current ?? Constructor;
}
//#endregion
export { registerElement as n, J3w1Element as t };
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { t as J3w1Element } from "./element-Dovcr9Ky.js";
import { t as mountBuilder } from "./form-builder-BRIaVVFY.js";
//#region packages/ui/src/behaviors/form-builder.js
import { t as J3w1Element } from "./element-DcrNU9Wh.js";
import { t as mountBuilder } from "./form-builder-DbZUZMo1.js";
// packages/ui/src/behaviors/form-builder.js
function formBuilder(root, { signal }) {
const editor = root.querySelector("[data-builder]");
if (!editor) throw new Error("The form builder requires the complete maintained editor and preview markup");
Expand All @@ -17,12 +17,11 @@ function formBuilder(root, { signal }) {
cleanup: api.destroy
};
}
//#endregion
//#region .cache/ui-build/entries/components/form-builder.js
// .cache/ui-build/entries/components/form-builder.js
var J3w1FormBuilder = class extends J3w1Element {
static componentId = "form-builder";
static version = "4.0.0";
static implementationId = "sha256-dFrLEZ4jQ0jq5jBzJdmUBQ8504+zDzvRQmhv59pmQs4=";
static implementationId = "sha256-FO3zSzWMChoC10L1NZoNUpgmEHttCO6FI00qTLTik28=";
static connect = formBuilder;
static upgradeProperties = [
"disabled",
Expand Down Expand Up @@ -50,5 +49,4 @@ var J3w1FormBuilder = class extends J3w1Element {
});
}
};
//#endregion
export { J3w1FormBuilder as t };
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { a as FORM_LIMITS, i as FIELD_TYPES, n as emptyValues, r as parseFormSchema, t as mountWorkflow } from "./form-workflow-BKRLylvq.js";
//#region scripts/lib/form-builder.mjs
import { a as FORM_LIMITS, i as FIELD_TYPES, n as emptyValues, r as parseFormSchema, t as mountWorkflow } from "./form-workflow-B183Y5gc.js";
// scripts/lib/form-builder.mjs
var createBuilder = (theme) => ({
definition: {
schemaVersion: 1,
Expand Down Expand Up @@ -71,8 +71,7 @@ var identity_default = {
profile: "default",
sourceDigest: "sha256-gSQ1VcVNkjVKCkTGXt6fbWGqvDCJTpGQsFjWGbriWi0="
};
//#endregion
//#region packages/ui/src/internal/form-builder.js
// packages/ui/src/internal/form-builder.js
var templates = {
schemaVersion: 1,
version: "4.0.0",
Expand Down Expand Up @@ -248,5 +247,4 @@ var mountBuilder = (root, { signal } = {}) => {
}
};
};
//#endregion
export { mountBuilder as t };
Loading
Loading