@aparte/core 1.2.0 → 1.3.0

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.
@@ -1,4 +1,4 @@
1
- import { A, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, S, t, u, v, w, x, y, z, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao } from "./defer-hydration-Oh04ScDm.js";
1
+ import { A, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, S, t, u, v, w, x, y, z, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao } from "./defer-hydration-lK-7XQXf.js";
2
2
  function registerAllComponents() {
3
3
  if (typeof customElements !== "undefined") {
4
4
  console.warn(
@@ -0,0 +1,17 @@
1
+ /**
2
+ * The boolean attributes whose default is ON, turned off only by the string `"false"`.
3
+ *
4
+ * The element reads them as `getAttribute(name) !== 'false'`, so an ABSENT attribute is ON,
5
+ * and a prop bag's `false` that removes it — what a presence attribute wants — turns the
6
+ * control on instead. `applyElementProps` reads this list to write `"false"` there, which is
7
+ * the path every wrapper's `AparteUi` takes. The Angular directives are generated from the
8
+ * same knowledge (`threeStateBooleans` in `element-bindings.config.mjs`), and
9
+ * `default-on-attributes.test.ts` keeps the two lists equal: a runtime list cannot be read from
10
+ * the generated registry, which is built, not committed.
11
+ *
12
+ * Internal: not exported from the package barrel.
13
+ */
14
+ export declare const APARTE_DEFAULT_ON_ATTRIBUTES: Readonly<Record<string, readonly string[]>>;
15
+ /** Whether `name` is ON by default on `el`, so its OFF is the string `"false"`. */
16
+ export declare function isDefaultOn(el: Element, name: string): boolean;
17
+ //# sourceMappingURL=default-on-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-on-attributes.d.ts","sourceRoot":"","sources":["../../src/interop/default-on-attributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAIpF,CAAC;AAEF,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAE9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"element-props.d.ts","sourceRoot":"","sources":["../../src/interop/element-props.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,wBAAwB,ohCAmDC,CAAC;AAEvC;;;;;;;;;;GAUG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,wBAAwB,CAAC,MAAM,CAAC,CAAC;AAExE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC7B,EAAE,EAAE,WAAW,EACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,cAAc,GAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAA0B,GAC/D,IAAI,CAsEN"}
1
+ {"version":3,"file":"element-props.d.ts","sourceRoot":"","sources":["../../src/interop/element-props.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,wBAAwB,ohCAmDC,CAAC;AAEvC;;;;;;;;;;GAUG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,wBAAwB,CAAC,MAAM,CAAC,CAAC;AAExE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC7B,EAAE,EAAE,WAAW,EACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,cAAc,GAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAA0B,GAC/D,IAAI,CA0EN"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aparte/core",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "homepage": "https://apartejs.dev/",
5
5
  "description": "AI chat Web Components with the agent loop inside: your OpenAI-compatible backend, approved tool calls, generative UI cards. Zero third-party deps.",
6
6
  "type": "module",
@@ -80,7 +80,7 @@
80
80
  "node": ">=18"
81
81
  },
82
82
  "dependencies": {
83
- "@aparte/engine": "1.2.0"
83
+ "@aparte/engine": "1.3.0"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@custom-elements-manifest/analyzer": "^0.11.0",