jsf.js_next_gen 4.1.0-beta.21 → 4.1.0-beta.22
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.
- package/README.md +7 -0
- package/dist/docs/index.html +17 -1
- package/dist/window/faces.d.ts +28 -1
- package/dist/window/jsf.d.ts +28 -1
- package/package.json +1 -1
- package/scripts/build-dts.mjs +1 -1
package/README.md
CHANGED
|
@@ -281,6 +281,13 @@ Tests
|
|
|
281
281
|
- Added tests for HiddenInputBuilder, Lang, and async queue
|
|
282
282
|
|
|
283
283
|
|
|
284
|
+
## 4.1.0-beta.22
|
|
285
|
+
|
|
286
|
+
- Bugfix: `faces.d.ts` circular type reference `const oam: typeof oam` (TS2502)
|
|
287
|
+
- The `build-dts.mjs` post-processor now correctly replaces the self-referential
|
|
288
|
+
`export const oam` declaration with an inlined `export namespace oam { ... }` block
|
|
289
|
+
containing the real member signatures (`setHiddenInput`, `clearHiddenInput`, `submitForm`).
|
|
290
|
+
|
|
284
291
|
## 4.1.0-beta.21
|
|
285
292
|
|
|
286
293
|
- Performance improvements on DOM operations
|
package/dist/docs/index.html
CHANGED
|
@@ -249,6 +249,22 @@ enqueues on separate instances to cancel each other's debounce window</li>
|
|
|
249
249
|
<li>Added tests for ExtDomQuery (nonce DOM fallback, runHeadInserts text-node path) and ExtConfig (append, appendIf, deepCopy)</li>
|
|
250
250
|
<li>Added tests for HiddenInputBuilder, Lang, and async queue</li>
|
|
251
251
|
</ul>
|
|
252
|
+
<h2 id="410-beta21" class="tsd-anchor-link">4.1.0-beta.21<a href="#410-beta21" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
253
|
+
<ul>
|
|
254
|
+
<li>Performance improvements on DOM operations
|
|
255
|
+
<ul>
|
|
256
|
+
<li>Faster deep element lookups on large pages: shadow-root collection in <code>mona-dish</code>
|
|
257
|
+
now iterates the raw <code>NodeList</code> directly instead of materializing every element of
|
|
258
|
+
the page into intermediate arrays, avoiding several full-page-size array copies per
|
|
259
|
+
deep search (relevant for partial updates replacing very large DOM trees).</li>
|
|
260
|
+
</ul>
|
|
261
|
+
</li>
|
|
262
|
+
<li>Dependency update
|
|
263
|
+
<ul>
|
|
264
|
+
<li>Updated <code>mona-dish</code> to <code>0.50.0-beta.8</code></li>
|
|
265
|
+
</ul>
|
|
266
|
+
</li>
|
|
267
|
+
</ul>
|
|
252
268
|
<h2 id="410-beta20" class="tsd-anchor-link">4.1.0-beta.20<a href="#410-beta20" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
253
269
|
<ul>
|
|
254
270
|
<li>Bugfix: focus bug in the new refocus code of <code>mona-dish</code>
|
|
@@ -364,4 +380,4 @@ itself.</li>
|
|
|
364
380
|
generative AI Tooling, as per <a href="https://www.apache.org/legal/generative-tooling.html">https://www.apache.org/legal/generative-tooling.html</a>
|
|
365
381
|
disclosures now are added!
|
|
366
382
|
See AI_CONTRIBUTIONS.md for full disclosure</p>
|
|
367
|
-
</div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#🚀-scratchpad-for-the-typescript-based-reimplementation-of-jsfjs"><span>🚀 <wbr/>Scratchpad for the <wbr/>Type<wbr/>Script-<wbr/>based reimplementation of jsf.js</span></a><ul><li><a href="#what-is-this"><span>What is this?</span></a></li><li><a href="#status"><span>Status</span></a></li><li><ul><li><a href="#special-info"><span>Special <wbr/>Info</span></a></li><li><a href="#general-build"><span>General <wbr/>Build</span></a></li><li><ul><li><a href="#on-windows"><span>On <wbr/>Windows</span></a></li></ul></li><li><a href="#tests"><span>Tests</span></a></li><li><a href="#test-coverage"><span>Test <wbr/>Coverage</span></a></li><li><a href="#changelist-compared-to-the-original-implementation"><span>Changelist compared to the original implementation</span></a></li></ul></li><li><a href="#upload-support"><span>Upload <wbr/>Support</span></a></li><li><a href="#changes-since-40"><span>Changes since 4.0</span></a></li><li><a href="#changes-since-410-beta-10"><span>Changes since 4.1.0-<wbr/>beta-<wbr/>10</span></a></li><li><a href="#410-beta20"><span>4.1.0-<wbr/>beta.20</span></a></li><li><a href="#410-beta19"><span>4.1.0-<wbr/>beta.19</span></a></li><li><a href="#410-beta18"><span>4.1.0-<wbr/>beta.18</span></a></li><li><a href="#410-beta17"><span>4.1.0-<wbr/>beta.17</span></a></li><li><a href="#410-beta16"><span>4.1.0-<wbr/>beta.16</span></a></li><li><a href="#410-beta15"><span>4.1.0-<wbr/>beta.15</span></a></li><li><a href="#410-beta13-410-beta14"><span>4.1.0-<wbr/>beta.13 / 4.1.0-<wbr/>beta.14</span></a></li></ul></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html">jsf.js_next_gen</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
383
|
+
</div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#🚀-scratchpad-for-the-typescript-based-reimplementation-of-jsfjs"><span>🚀 <wbr/>Scratchpad for the <wbr/>Type<wbr/>Script-<wbr/>based reimplementation of jsf.js</span></a><ul><li><a href="#what-is-this"><span>What is this?</span></a></li><li><a href="#status"><span>Status</span></a></li><li><ul><li><a href="#special-info"><span>Special <wbr/>Info</span></a></li><li><a href="#general-build"><span>General <wbr/>Build</span></a></li><li><ul><li><a href="#on-windows"><span>On <wbr/>Windows</span></a></li></ul></li><li><a href="#tests"><span>Tests</span></a></li><li><a href="#test-coverage"><span>Test <wbr/>Coverage</span></a></li><li><a href="#changelist-compared-to-the-original-implementation"><span>Changelist compared to the original implementation</span></a></li></ul></li><li><a href="#upload-support"><span>Upload <wbr/>Support</span></a></li><li><a href="#changes-since-40"><span>Changes since 4.0</span></a></li><li><a href="#changes-since-410-beta-10"><span>Changes since 4.1.0-<wbr/>beta-<wbr/>10</span></a></li><li><a href="#410-beta21"><span>4.1.0-<wbr/>beta.21</span></a></li><li><a href="#410-beta20"><span>4.1.0-<wbr/>beta.20</span></a></li><li><a href="#410-beta19"><span>4.1.0-<wbr/>beta.19</span></a></li><li><a href="#410-beta18"><span>4.1.0-<wbr/>beta.18</span></a></li><li><a href="#410-beta17"><span>4.1.0-<wbr/>beta.17</span></a></li><li><a href="#410-beta16"><span>4.1.0-<wbr/>beta.16</span></a></li><li><a href="#410-beta15"><span>4.1.0-<wbr/>beta.15</span></a></li><li><a href="#410-beta13-410-beta14"><span>4.1.0-<wbr/>beta.13 / 4.1.0-<wbr/>beta.14</span></a></li></ul></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html">jsf.js_next_gen</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
package/dist/window/faces.d.ts
CHANGED
|
@@ -289,5 +289,32 @@ declare namespace myfaces {
|
|
|
289
289
|
/**
|
|
290
290
|
* legacy oam functions
|
|
291
291
|
*/
|
|
292
|
-
export
|
|
292
|
+
export namespace oam {
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* sets a hidden input field
|
|
296
|
+
* @param formName the formName
|
|
297
|
+
* @param name the hidden field
|
|
298
|
+
* @param value the value to be rendered
|
|
299
|
+
*/
|
|
300
|
+
export const setHiddenInput: (formName: string, name: string, value: string) => void;
|
|
301
|
+
/**
|
|
302
|
+
* clears a hidden input field
|
|
303
|
+
*
|
|
304
|
+
* @param formName formName for the input
|
|
305
|
+
* @param name the name of the input field
|
|
306
|
+
*/
|
|
307
|
+
export const clearHiddenInput: (formName: string, name: string) => void;
|
|
308
|
+
/**
|
|
309
|
+
* does special form submit remapping
|
|
310
|
+
* re-maps the issuing command link into something,
|
|
311
|
+
* the "decode" of the command link on the server can understand
|
|
312
|
+
*
|
|
313
|
+
* @param formName
|
|
314
|
+
* @param linkId
|
|
315
|
+
* @param target
|
|
316
|
+
* @param params
|
|
317
|
+
*/
|
|
318
|
+
export const submitForm: (formName: string, linkId?: string | null, target?: string | null, params?: Record<string, any> | [string, any][] | null) => boolean;
|
|
319
|
+
}
|
|
293
320
|
}
|
package/dist/window/jsf.d.ts
CHANGED
|
@@ -288,5 +288,32 @@ declare namespace myfaces {
|
|
|
288
288
|
/**
|
|
289
289
|
* legacy oam functions
|
|
290
290
|
*/
|
|
291
|
-
export
|
|
291
|
+
export namespace oam {
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* sets a hidden input field
|
|
295
|
+
* @param formName the formName
|
|
296
|
+
* @param name the hidden field
|
|
297
|
+
* @param value the value to be rendered
|
|
298
|
+
*/
|
|
299
|
+
export const setHiddenInput: (formName: string, name: string, value: string) => void;
|
|
300
|
+
/**
|
|
301
|
+
* clears a hidden input field
|
|
302
|
+
*
|
|
303
|
+
* @param formName formName for the input
|
|
304
|
+
* @param name the name of the input field
|
|
305
|
+
*/
|
|
306
|
+
export const clearHiddenInput: (formName: string, name: string) => void;
|
|
307
|
+
/**
|
|
308
|
+
* does special form submit remapping
|
|
309
|
+
* re-maps the issuing command link into something,
|
|
310
|
+
* the "decode" of the command link on the server can understand
|
|
311
|
+
*
|
|
312
|
+
* @param formName
|
|
313
|
+
* @param linkId
|
|
314
|
+
* @param target
|
|
315
|
+
* @param params
|
|
316
|
+
*/
|
|
317
|
+
export const submitForm: (formName: string, linkId?: string | null, target?: string | null, params?: Record<string, any> | [string, any][] | null) => boolean;
|
|
318
|
+
}
|
|
292
319
|
}
|
package/package.json
CHANGED
package/scripts/build-dts.mjs
CHANGED
|
@@ -156,7 +156,7 @@ function makeGlobalDeclaration(content) {
|
|
|
156
156
|
// Replace 'const oam: typeof oam;' with the inlined nested namespace.
|
|
157
157
|
// 'export namespace' so that myfaces.oam is visible to TypeScript.
|
|
158
158
|
content = content.replace(
|
|
159
|
-
/^([ \t]*)const oam: typeof oam;/m,
|
|
159
|
+
/^([ \t]*)(?:export )?const oam: typeof oam;/m,
|
|
160
160
|
`$1export namespace oam {\n${inner}\n$1}`
|
|
161
161
|
);
|
|
162
162
|
}
|