notebook/quartz/components/scripts
Amir Pourmand 03ccac2872
feat: Update FlexSearch and Add Support for All Languages (#2108)
* chore(deps): update flexsearch to version 0.8.205 and adjust search encoder.

* refactor(search): enhance search encoder and update search results type

- Improved the encoder function to filter out empty tokens.
- Updated the search results type from a specific FlexSearch type to a more generic 'any' type for flexibility.
- Removed redundant rtl property from the index configuration.

* refactor(search): remove rtl property from search index configuration

* refactor(search): improve encoder function formatting

- Updated the encoder function to use consistent arrow function syntax for better readability.

* refactor(search): update search results type to DefaultDocumentSearchResults

- Imported DefaultDocumentSearchResults from FlexSearch for improved type safety.
- Changed the type of searchResults from 'any' to DefaultDocumentSearchResults<Item> for better clarity and maintainability.
2025-09-17 15:39:30 -07:00
..
callout.inline.ts fix(callout): Grid-based callout collapsible animation (#1944) 2025-04-26 11:05:51 -07:00
checkbox.inline.ts feat: support checkbox (closes #646) (#799) 2024-02-04 22:19:25 -08:00
clipboard.inline.ts feat(mermaid): improvement navigation (#1575) 2024-11-10 18:13:12 -05:00
comments.inline.ts feat(giscus): expose language option for Comments component (#2012) 2025-06-08 11:23:01 +02:00
darkmode.inline.ts perf: incremental rebuild (--fastRebuild v2 but default) (#1841) 2025-03-16 14:17:31 -07:00
explorer.inline.ts fix(explorer): Prevent html from being scrollable when mobile explorer is open (#1895) 2025-04-26 11:13:56 -07:00
graph.inline.ts revert(graph): roll back changes due to issues with Safari (#2067) 2025-07-30 18:43:36 +02:00
mermaid.inline.ts fix(mermaid): themechange detector + expand simplification 2025-03-11 11:45:45 -07:00
popover.inline.ts fix(popover): properly clear popover on racing fetch 2025-04-21 23:55:38 -07:00
readermode.inline.ts feat: reader mode 2025-04-17 19:45:17 -07:00
search.inline.ts feat: Update FlexSearch and Add Support for All Languages (#2108) 2025-09-17 15:39:30 -07:00
spa.inline.ts fix: mermaid script load order 2025-03-10 16:20:08 -07:00
toc.inline.ts fix(toc): Fixed headers in second ToC element not highlight-able 2025-03-30 17:35:20 -07:00
util.ts perf(explorer): client side explorer (#1810) 2025-03-09 14:58:26 -07:00