arethesis 0.2.0 → 0.2.1
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/CHANGELOG.md +34 -0
- package/README.md +3 -2
- package/dist/arethesis.js +2 -222
- package/dist/binding/data-binder.d.ts +8 -0
- package/dist/binding/data-binder.d.ts.map +1 -1
- package/dist/binding/data-binder.js +605 -0
- package/dist/binding/data-binder.js.map +1 -0
- package/dist/binding/types.d.ts +20 -0
- package/dist/binding/types.d.ts.map +1 -1
- package/dist/binding/validation-engine.js +160 -0
- package/dist/binding/validation-engine.js.map +1 -0
- package/dist/cdn/arethesis.min.js +2 -0
- package/dist/cdn/arethesis.min.js.map +1 -0
- package/dist/cdn/chunks/CdTL-MEv.min.js +3 -0
- package/dist/cdn/chunks/CdTL-MEv.min.js.map +1 -0
- package/dist/cdn/components.min.js +81 -0
- package/dist/cdn/components.min.js.map +1 -0
- package/dist/collab/index.d.ts +22 -0
- package/dist/collab/index.d.ts.map +1 -0
- package/dist/collab/index.js +23 -0
- package/dist/collab/index.js.map +1 -0
- package/dist/components/component.d.ts +17 -0
- package/dist/components/component.d.ts.map +1 -1
- package/dist/components/component.js +765 -0
- package/dist/components/component.js.map +1 -0
- package/dist/components/decorators.js +27 -0
- package/dist/components/decorators.js.map +1 -0
- package/dist/components/form-associated.d.ts +55 -0
- package/dist/components/form-associated.d.ts.map +1 -0
- package/dist/components/form-associated.js +180 -0
- package/dist/components/form-associated.js.map +1 -0
- package/dist/components/runtime.d.ts +2 -0
- package/dist/components/runtime.d.ts.map +1 -1
- package/dist/components/runtime.js +18 -0
- package/dist/components/runtime.js.map +1 -0
- package/dist/components/template-loader.js +90 -0
- package/dist/components/template-loader.js.map +1 -0
- package/dist/components.js +2 -2810
- package/dist/core/arethesis.d.ts +13 -9
- package/dist/core/arethesis.d.ts.map +1 -1
- package/dist/core/arethesis.js +249 -0
- package/dist/core/arethesis.js.map +1 -0
- package/dist/core/hooks.d.ts +19 -0
- package/dist/core/hooks.d.ts.map +1 -0
- package/dist/core/hooks.js +23 -0
- package/dist/core/hooks.js.map +1 -0
- package/dist/core/index.d.ts +57 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +25 -0
- package/dist/data/list-view-registry.js +300 -0
- package/dist/data/list-view-registry.js.map +1 -0
- package/dist/data/object-store.js +280 -0
- package/dist/data/object-store.js.map +1 -0
- package/dist/data/optimistic-updates.js +168 -0
- package/dist/data/optimistic-updates.js.map +1 -0
- package/dist/data/persistence-manager.js +233 -0
- package/dist/data/persistence-manager.js.map +1 -0
- package/dist/defaults.d.ts +1 -0
- package/dist/defaults.d.ts.map +1 -0
- package/dist/defaults.js +17 -0
- package/dist/defaults.js.map +1 -0
- package/dist/http/auth-manager.js +260 -0
- package/dist/http/auth-manager.js.map +1 -0
- package/dist/http/http-client.d.ts +7 -0
- package/dist/http/http-client.d.ts.map +1 -1
- package/dist/http/http-client.js +501 -0
- package/dist/http/http-client.js.map +1 -0
- package/dist/http/http-error.js +53 -0
- package/dist/http/http-error.js.map +1 -0
- package/dist/http/mapping.js +64 -0
- package/dist/http/mapping.js.map +1 -0
- package/dist/index.d.ts +3 -58
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +55 -0
- package/dist/kit/calendar.d.ts +43 -0
- package/dist/kit/calendar.d.ts.map +1 -0
- package/dist/kit/calendar.js +423 -0
- package/dist/kit/calendar.js.map +1 -0
- package/dist/kit/cell-editor.js +191 -0
- package/dist/kit/cell-editor.js.map +1 -0
- package/dist/kit/chart.d.ts +2 -0
- package/dist/kit/chart.d.ts.map +1 -1
- package/dist/kit/chart.js +541 -0
- package/dist/kit/chart.js.map +1 -0
- package/dist/kit/combobox.d.ts +57 -0
- package/dist/kit/combobox.d.ts.map +1 -0
- package/dist/kit/combobox.js +379 -0
- package/dist/kit/combobox.js.map +1 -0
- package/dist/kit/command-palette.d.ts +2 -0
- package/dist/kit/command-palette.d.ts.map +1 -1
- package/dist/kit/command-palette.js +315 -0
- package/dist/kit/command-palette.js.map +1 -0
- package/dist/kit/data-table.d.ts +11 -0
- package/dist/kit/data-table.d.ts.map +1 -1
- package/dist/kit/data-table.js +373 -0
- package/dist/kit/data-table.js.map +1 -0
- package/dist/kit/dialog.d.ts +31 -0
- package/dist/kit/dialog.d.ts.map +1 -0
- package/dist/kit/dialog.js +157 -0
- package/dist/kit/dialog.js.map +1 -0
- package/dist/kit/elements/calendar.d.ts +3 -0
- package/dist/kit/elements/calendar.d.ts.map +1 -0
- package/dist/kit/elements/calendar.js +11 -0
- package/dist/kit/elements/calendar.js.map +1 -0
- package/dist/kit/elements/chart.d.ts +3 -0
- package/dist/kit/elements/chart.d.ts.map +1 -0
- package/dist/kit/elements/chart.js +11 -0
- package/dist/kit/elements/chart.js.map +1 -0
- package/dist/kit/elements/combobox.d.ts +3 -0
- package/dist/kit/elements/combobox.d.ts.map +1 -0
- package/dist/kit/elements/combobox.js +11 -0
- package/dist/kit/elements/combobox.js.map +1 -0
- package/dist/kit/elements/command-palette.d.ts +3 -0
- package/dist/kit/elements/command-palette.d.ts.map +1 -0
- package/dist/kit/elements/command-palette.js +11 -0
- package/dist/kit/elements/command-palette.js.map +1 -0
- package/dist/kit/elements/data-table.d.ts +3 -0
- package/dist/kit/elements/data-table.d.ts.map +1 -0
- package/dist/kit/elements/data-table.js +11 -0
- package/dist/kit/elements/data-table.js.map +1 -0
- package/dist/kit/elements/dialog.d.ts +4 -0
- package/dist/kit/elements/dialog.d.ts.map +1 -0
- package/dist/kit/elements/dialog.js +11 -0
- package/dist/kit/elements/dialog.js.map +1 -0
- package/dist/kit/elements/flex-view.d.ts +3 -0
- package/dist/kit/elements/flex-view.d.ts.map +1 -0
- package/dist/kit/elements/flex-view.js +11 -0
- package/dist/kit/elements/flex-view.js.map +1 -0
- package/dist/kit/elements/form.d.ts +3 -0
- package/dist/kit/elements/form.d.ts.map +1 -0
- package/dist/kit/elements/form.js +11 -0
- package/dist/kit/elements/form.js.map +1 -0
- package/dist/kit/elements/kanban.d.ts +3 -0
- package/dist/kit/elements/kanban.d.ts.map +1 -0
- package/dist/kit/elements/kanban.js +11 -0
- package/dist/kit/elements/kanban.js.map +1 -0
- package/dist/kit/elements/list.d.ts +3 -0
- package/dist/kit/elements/list.d.ts.map +1 -0
- package/dist/kit/elements/list.js +11 -0
- package/dist/kit/elements/list.js.map +1 -0
- package/dist/kit/elements/markdown-editor.d.ts +3 -0
- package/dist/kit/elements/markdown-editor.d.ts.map +1 -0
- package/dist/kit/elements/markdown-editor.js +11 -0
- package/dist/kit/elements/markdown-editor.js.map +1 -0
- package/dist/kit/elements/presence.d.ts +3 -0
- package/dist/kit/elements/presence.d.ts.map +1 -0
- package/dist/kit/elements/presence.js +11 -0
- package/dist/kit/elements/presence.js.map +1 -0
- package/dist/kit/elements/sheet.d.ts +3 -0
- package/dist/kit/elements/sheet.d.ts.map +1 -0
- package/dist/kit/elements/sheet.js +11 -0
- package/dist/kit/elements/sheet.js.map +1 -0
- package/dist/kit/elements/tabs.d.ts +3 -0
- package/dist/kit/elements/tabs.d.ts.map +1 -0
- package/dist/kit/elements/tabs.js +11 -0
- package/dist/kit/elements/tabs.js.map +1 -0
- package/dist/kit/elements/toast.d.ts +4 -0
- package/dist/kit/elements/toast.d.ts.map +1 -0
- package/dist/kit/elements/toast.js +11 -0
- package/dist/kit/elements/toast.js.map +1 -0
- package/dist/kit/elements/tree.d.ts +3 -0
- package/dist/kit/elements/tree.d.ts.map +1 -0
- package/dist/kit/elements/tree.js +11 -0
- package/dist/kit/elements/tree.js.map +1 -0
- package/dist/kit/flex-view.d.ts +2 -0
- package/dist/kit/flex-view.d.ts.map +1 -1
- package/dist/kit/flex-view.js +346 -0
- package/dist/kit/flex-view.js.map +1 -0
- package/dist/kit/form.d.ts +2 -0
- package/dist/kit/form.d.ts.map +1 -1
- package/dist/kit/form.js +211 -0
- package/dist/kit/form.js.map +1 -0
- package/dist/kit/index.d.ts +15 -15
- package/dist/kit/index.d.ts.map +1 -1
- package/dist/kit/index.js +40 -0
- package/dist/kit/internal/modal.d.ts +26 -0
- package/dist/kit/internal/modal.d.ts.map +1 -0
- package/dist/kit/internal/modal.js +59 -0
- package/dist/kit/internal/modal.js.map +1 -0
- package/dist/kit/kanban.d.ts +73 -0
- package/dist/kit/kanban.d.ts.map +1 -0
- package/dist/kit/kanban.js +404 -0
- package/dist/kit/kanban.js.map +1 -0
- package/dist/kit/list.d.ts +4 -0
- package/dist/kit/list.d.ts.map +1 -1
- package/dist/kit/list.js +106 -0
- package/dist/kit/list.js.map +1 -0
- package/dist/kit/markdown/highlight.js +106 -0
- package/dist/kit/markdown/highlight.js.map +1 -0
- package/dist/kit/markdown/render.js +260 -0
- package/dist/kit/markdown/render.js.map +1 -0
- package/dist/kit/markdown-editor.d.ts +2 -0
- package/dist/kit/markdown-editor.d.ts.map +1 -1
- package/dist/kit/markdown-editor.js +797 -0
- package/dist/kit/markdown-editor.js.map +1 -0
- package/dist/kit/presence.d.ts +36 -0
- package/dist/kit/presence.d.ts.map +1 -0
- package/dist/kit/presence.js +262 -0
- package/dist/kit/presence.js.map +1 -0
- package/dist/kit/sheet/formula.js +364 -0
- package/dist/kit/sheet/formula.js.map +1 -0
- package/dist/kit/sheet/model.js +136 -0
- package/dist/kit/sheet/model.js.map +1 -0
- package/dist/kit/sheet/sheet.d.ts +2 -0
- package/dist/kit/sheet/sheet.d.ts.map +1 -1
- package/dist/kit/sheet/sheet.js +676 -0
- package/dist/kit/sheet/sheet.js.map +1 -0
- package/dist/kit/tabs.d.ts +17 -0
- package/dist/kit/tabs.d.ts.map +1 -0
- package/dist/kit/tabs.js +192 -0
- package/dist/kit/tabs.js.map +1 -0
- package/dist/kit/theme-boot.generated.js +8 -0
- package/dist/kit/theme-boot.generated.js.map +1 -0
- package/dist/kit/theme.js +89 -0
- package/dist/kit/theme.js.map +1 -0
- package/dist/kit/toast.d.ts +46 -0
- package/dist/kit/toast.d.ts.map +1 -0
- package/dist/kit/toast.js +154 -0
- package/dist/kit/toast.js.map +1 -0
- package/dist/kit/tree.d.ts +41 -0
- package/dist/kit/tree.d.ts.map +1 -0
- package/dist/kit/tree.js +422 -0
- package/dist/kit/tree.js.map +1 -0
- package/dist/mixins/context-menu.d.ts.map +1 -1
- package/dist/mixins/context-menu.js +183 -0
- package/dist/mixins/context-menu.js.map +1 -0
- package/dist/mixins/draggable.d.ts.map +1 -1
- package/dist/mixins/draggable.js +140 -0
- package/dist/mixins/draggable.js.map +1 -0
- package/dist/mixins/dropdown.d.ts.map +1 -1
- package/dist/mixins/dropdown.js +216 -0
- package/dist/mixins/dropdown.js.map +1 -0
- package/dist/mixins/editable.d.ts.map +1 -1
- package/dist/mixins/editable.js +175 -0
- package/dist/mixins/editable.js.map +1 -0
- package/dist/mixins/grid-navigation.d.ts.map +1 -1
- package/dist/mixins/grid-navigation.js +194 -0
- package/dist/mixins/grid-navigation.js.map +1 -0
- package/dist/mixins/index.d.ts +6 -2
- package/dist/mixins/index.d.ts.map +1 -1
- package/dist/mixins/index.js +38 -0
- package/dist/mixins/index.js.map +1 -0
- package/dist/mixins/infinite-scroll.d.ts.map +1 -1
- package/dist/mixins/infinite-scroll.js +83 -0
- package/dist/mixins/infinite-scroll.js.map +1 -0
- package/dist/mixins/listbox.d.ts.map +1 -1
- package/dist/mixins/listbox.js +208 -0
- package/dist/mixins/listbox.js.map +1 -0
- package/dist/mixins/popup.d.ts +36 -0
- package/dist/mixins/popup.d.ts.map +1 -0
- package/dist/mixins/popup.js +113 -0
- package/dist/mixins/popup.js.map +1 -0
- package/dist/mixins/registry.d.ts +6 -0
- package/dist/mixins/registry.d.ts.map +1 -1
- package/dist/mixins/registry.js +167 -0
- package/dist/mixins/registry.js.map +1 -0
- package/dist/mixins/resizable.d.ts.map +1 -1
- package/dist/mixins/resizable.js +128 -0
- package/dist/mixins/resizable.js.map +1 -0
- package/dist/mixins/sortable.d.ts.map +1 -1
- package/dist/mixins/sortable.js +511 -0
- package/dist/mixins/sortable.js.map +1 -0
- package/dist/mixins/tooltip.d.ts.map +1 -1
- package/dist/mixins/tooltip.js +80 -0
- package/dist/mixins/tooltip.js.map +1 -0
- package/dist/mixins/utils.js +105 -0
- package/dist/mixins/utils.js.map +1 -0
- package/dist/plugins/async-validators.js +118 -0
- package/dist/plugins/async-validators.js.map +1 -0
- package/dist/plugins/builtins.d.ts +1 -1
- package/dist/plugins/builtins.d.ts.map +1 -1
- package/dist/plugins/builtins.js +20 -0
- package/dist/plugins/builtins.js.map +1 -0
- package/dist/plugins/date-utils.js +128 -0
- package/dist/plugins/date-utils.js.map +1 -0
- package/dist/plugins/plugin-manager.d.ts.map +1 -1
- package/dist/plugins/plugin-manager.js +99 -0
- package/dist/plugins/plugin-manager.js.map +1 -0
- package/dist/plugins/rich-text.js +365 -0
- package/dist/plugins/rich-text.js.map +1 -0
- package/dist/realtime/azure-pubsub-manager.js +273 -0
- package/dist/realtime/azure-pubsub-manager.js.map +1 -0
- package/dist/realtime/collab/anchors.js +19 -0
- package/dist/realtime/collab/anchors.js.map +1 -0
- package/dist/realtime/collab/collab-session.js +396 -0
- package/dist/realtime/collab/collab-session.js.map +1 -0
- package/dist/realtime/collab/cursor-overlay.js +187 -0
- package/dist/realtime/collab/cursor-overlay.js.map +1 -0
- package/dist/realtime/collab/textarea-adapter.js +125 -0
- package/dist/realtime/collab/textarea-adapter.js.map +1 -0
- package/dist/realtime/collab/undo-manager.js +148 -0
- package/dist/realtime/collab/undo-manager.js.map +1 -0
- package/dist/realtime/index.d.ts +11 -0
- package/dist/realtime/index.d.ts.map +1 -0
- package/dist/realtime/index.js +22 -0
- package/dist/realtime/index.js.map +1 -0
- package/dist/realtime/ot/client.js +74 -0
- package/dist/realtime/ot/client.js.map +1 -0
- package/dist/realtime/ot/server.js +292 -0
- package/dist/realtime/ot/server.js.map +1 -0
- package/dist/realtime/ot/text-operation.js +282 -0
- package/dist/realtime/ot/text-operation.js.map +1 -0
- package/dist/realtime/reconnect.js +58 -0
- package/dist/realtime/reconnect.js.map +1 -0
- package/dist/realtime/sse-manager.js +172 -0
- package/dist/realtime/sse-manager.js.map +1 -0
- package/dist/realtime/websocket-manager.js +180 -0
- package/dist/realtime/websocket-manager.js.map +1 -0
- package/dist/theme.css +178 -0
- package/dist/utils/backoff.js +30 -0
- package/dist/utils/backoff.js.map +1 -0
- package/dist/utils/dates.js +67 -0
- package/dist/utils/dates.js.map +1 -0
- package/dist/utils/dom.js +30 -0
- package/dist/utils/dom.js.map +1 -0
- package/dist/utils/emitter.js +40 -0
- package/dist/utils/emitter.js.map +1 -0
- package/dist/utils/fuzzy.d.ts +2 -0
- package/dist/utils/fuzzy.d.ts.map +1 -1
- package/dist/utils/fuzzy.js +95 -0
- package/dist/utils/fuzzy.js.map +1 -0
- package/dist/utils/path.js +99 -0
- package/dist/utils/path.js.map +1 -0
- package/dist/utils/sanitize.js +161 -0
- package/dist/utils/sanitize.js.map +1 -0
- package/dist/utils/url.js +44 -0
- package/dist/utils/url.js.map +1 -0
- package/dist/utils/virtual-window.d.ts +25 -0
- package/dist/utils/virtual-window.d.ts.map +1 -0
- package/dist/utils/virtual-window.js +19 -0
- package/dist/utils/virtual-window.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +6 -0
- package/dist/version.js.map +1 -0
- package/package.json +61 -11
- package/dist/arethesis.js.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/fuzzy-Dnlbxdby.js +0 -5752
- package/dist/fuzzy-Dnlbxdby.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **Import only what you use.** The package is now one module per source file, and bundlers can tree-shake it. An app that only uses `ObjectStore` bundles about 2 KB gzipped instead of the whole framework.
|
|
8
|
+
- New entry points: `arethesis/core` (lean, nothing registered globally), `arethesis/realtime`, `arethesis/collab`, `arethesis/mixins`, `arethesis/mixins/<name>`, `arethesis/plugins/<name>`, and `arethesis/components/<name>` for a single kit element.
|
|
9
|
+
- `import 'arethesis'` and `import 'arethesis/components'` work as before.
|
|
10
|
+
- With `arethesis/core`, add `import 'arethesis/realtime'` to use the `sse`, `websocket` and `azurePubSub` options, and `import 'arethesis/collab'` for `app.collab`. `import 'arethesis'` includes both.
|
|
11
|
+
- Minified bundles for `<script type="module">` are in `arethesis/cdn/`.
|
|
12
|
+
- CI checks bundle sizes and that partial imports stay small.
|
|
13
|
+
- Importing a mixin or plugin module no longer registers it as a side effect. `import 'arethesis'` still registers all the built-ins. With `arethesis/core`, call `registerBuiltInMixins()` from `arethesis/mixins`, or `mixinRegistry.register()` for just the ones you use.
|
|
14
|
+
|
|
15
|
+
- **Tooltips, context menus and dropdown lists open as popovers** where the browser supports them. A scrolling table or a card with `overflow: hidden` no longer clips them, and lists follow their input as the page scrolls. Inside a modal `<dialog>` they open in the dialog.
|
|
16
|
+
- New rows are inserted in one batch.
|
|
17
|
+
- `<a-data-table>`'s `aria-rowcount` now counts the header row, and is `-1` while the total is unknown.
|
|
18
|
+
- A list's loading, empty and error placeholders are no longer wrapped in a `<div>`, so a loading `<li>` stays a direct child of its `<ul>`.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- **`<a-presence>`**: avatars for the people in a collaborative session, with readable initials, tooltips, an overflow list, and optional join and leave announcements. The editor example shows it in its toolbar.
|
|
23
|
+
- **`<a-calendar>`**: a date grid with the full keyboard pattern, locale-aware weeks, single or range selection, `min`/`max`, events from a ListView whose date filters follow the month, and form submission.
|
|
24
|
+
- **`<a-tree>`**: a tree whose branches are ListViews loaded when they're opened. It has the full tree keyboard pattern, single or multiple selection, "Show more" for long branches, and it's a form control when it has a `name`.
|
|
25
|
+
- **`<a-dialog>`** and **`confirm()`**: a native `<dialog>` with a heading, a close button, `closedby`, focus management and a promise for its result, plus a ready-made yes-or-no `alertdialog`. `<a-command-palette>` shares its modal handling. The kanban example asks before deleting a card.
|
|
26
|
+
- **`<a-tabs>`**: tabs over headings and sections (or your own tab list), with arrow keys, automatic or manual activation, `hidden="until-found"` panels that find-in-page can open, the tab in the URL with `data-hash`, and lazy panels.
|
|
27
|
+
- **`<a-toast>`**, `toast()` and `connectToasts()`: notifications in polite and assertive live regions that are in the page from the start. A toast pauses while hovered or focused, and a toast with an action stays until it's used. `connectToasts(app)` shows rolled-back changes and, if you ask, failed requests. The examples use it.
|
|
28
|
+
- `app.http.onError(listener)` reports every failed request; several listeners can subscribe.
|
|
29
|
+
- **`<a-combobox>`**: a text field with suggestions, from `<option>`s in the markup, a function or an endpoint. It does fuzzy filtering with highlighted matches, debounced searches that ignore stale results, and it's a form control. The signup example has one.
|
|
30
|
+
- **`<a-kanban>`**: a board of cards drawn from the store, grouped by a field and sorted by another. Drag with a mouse, finger or keyboard, or move cards from their menu. Moves are optimistic and roll back if the server refuses. It has optional work-in-progress limits, inline add, and delete (with an optional `beforeDelete` check). The kanban example now uses it.
|
|
31
|
+
- **Virtualized lists.** `virtualize` on a list binding renders only the items on screen (`'window'`) or lets the browser skip off-screen ones (`'css'`). `<a-data-table>` takes `virtualize: true`, keeps `aria-rowindex` on every row, and keeps the row being edited. `<a-list>` takes a `virtualize` attribute. New `Component` hooks: `onItemPosition`, `onItemRemove`, `pinItem`, `itemIndex` and `revealItem`.
|
|
32
|
+
- **`FormAssociatedComponent`**: a base class for components that are form controls. They submit with a native `<form>`, report `validity`, and handle reset, disabled fieldsets and state restore. `DataBinder` and `<a-form>` treat them as controls.
|
|
33
|
+
- `highlightMatch()` wraps fuzzy-matched characters in `<mark>`.
|
|
34
|
+
- `attachPopup()` (in `arethesis/mixins`): the popover helper behind the mixins, for your own floating UI.
|
|
35
|
+
- `mixinRegistry.ensure(name, mixin)` registers a mixin unless the name is taken.
|
|
36
|
+
|
|
3
37
|
## 0.2.0
|
|
4
38
|
|
|
5
39
|
### Added
|
package/README.md
CHANGED
|
@@ -16,7 +16,8 @@ npm install arethesis
|
|
|
16
16
|
- **Config-driven HTTP.** Named endpoints, response mapping, nested normalization, cursor pagination, safe retries, batching and cache modes.
|
|
17
17
|
- **Live by default.** SSE cache invalidation, WebSocket channels, Azure Web PubSub, and convergent operational transformation for collaborative text.
|
|
18
18
|
- **Offline-ready.** IndexedDB persistence, TTLs, optimistic updates with field-level rollback.
|
|
19
|
-
- **
|
|
19
|
+
- **Pay for what you use.** One module per file and per-feature entry points (`arethesis/core`, `arethesis/realtime`, `arethesis/components/<name>`), with bundle sizes checked in CI.
|
|
20
|
+
- **Accessible behaviors.** Ten keyboard-friendly mixins with ARIA built in: sortable, grid navigation, dropdown, context menu and more.
|
|
20
21
|
- **Secure defaults.** Sanitized HTML and URLs, origin-scoped auth headers, prototype-pollution-safe merges, and a logout that wipes cached data.
|
|
21
22
|
|
|
22
23
|
**[Live examples →](https://aideendewinter.github.io/arethesis/)**: a 10,000-row directory, a kanban board, a collaborative editor, a live dashboard, a signup form, and an offline/caching playground. Run them locally with `npm run examples`; the source is in [`examples/`](examples/).
|
|
@@ -83,7 +84,7 @@ When the server sends `invalidate { type: "Person", id: 42 }` over SSE, every `<
|
|
|
83
84
|
| **Collaboration** | `TextOperation` OT, `OTClient`, a reference `CollabServer`, and `CollabSession` with presence, live cursors and selections, per-user undo, and comments anchored to their text |
|
|
84
85
|
| **Mixins** | `draggable`, `editable`, `grid-navigation`, `infinite-scroll`, `sortable`, `resizable`, `dropdown`, `listbox`, `tooltip`, `context-menu` |
|
|
85
86
|
| **Plugins** | `date-utils`, `async-validators`, a dependency-free `rich-text` editor, and an API for your own |
|
|
86
|
-
| **Component kit** | `<a-data-table>` with spreadsheet-style editing, `<a-sheet>` (formulas, fill, clipboard), `<a-chart>` (streaming SVG charts), `<a-markdown-editor>`, `<a-command-palette>`, `<a-flex-view>`, `<a-list>`, `<a-form>`, and a themeable stylesheet: light, dark and high contrast, without a flash on load, plus the optional Polychrome palette |
|
|
87
|
+
| **Component kit** | `<a-data-table>` with spreadsheet-style editing and virtualized rows, `<a-sheet>` (formulas, fill, clipboard), `<a-chart>` (streaming SVG charts), `<a-kanban>`, `<a-combobox>`, `<a-tree>` (lazy branches), `<a-calendar>`, `<a-tabs>`, `<a-dialog>` and `confirm()`, `<a-toast>`, `<a-presence>`, `<a-markdown-editor>`, `<a-command-palette>`, `<a-flex-view>`, `<a-list>`, `<a-form>`, and a themeable stylesheet: light, dark and high contrast, without a flash on load, plus the optional Polychrome palette. Import them all, or one at a time (`arethesis/components/kanban`) |
|
|
87
88
|
| **Design tokens** | The theme as [W3C design tokens](https://www.w3.org/community/reports/design-tokens/CG-FINAL-format-20251028/) (2025.10) with a resolver, published as `arethesis/tokens/*` |
|
|
88
89
|
|
|
89
90
|
## Documentation
|
package/dist/arethesis.js
CHANGED
|
@@ -1,222 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var Ce = 500, we = 4e3, $ = class {
|
|
4
|
-
document;
|
|
5
|
-
operations = [];
|
|
6
|
-
opIds = [];
|
|
7
|
-
annotations = /* @__PURE__ */ new Map();
|
|
8
|
-
constructor(e = "") {
|
|
9
|
-
this.document = e;
|
|
10
|
-
}
|
|
11
|
-
get revision() {
|
|
12
|
-
return this.operations.length;
|
|
13
|
-
}
|
|
14
|
-
receive(e, t, n) {
|
|
15
|
-
if (e < 0 || e > this.operations.length) throw Error(`Invalid revision ${e}`);
|
|
16
|
-
let r = t;
|
|
17
|
-
for (let t of this.operations.slice(e)) r = P.transform(r, t)[0];
|
|
18
|
-
this.document = r.apply(this.document), this.operations.push(r), this.opIds.push(n);
|
|
19
|
-
for (let [e, t] of this.annotations) this.annotations.set(e, Z(t, r));
|
|
20
|
-
return r;
|
|
21
|
-
}
|
|
22
|
-
rebaseRange(e, t, n) {
|
|
23
|
-
let r = {
|
|
24
|
-
from: e,
|
|
25
|
-
to: t
|
|
26
|
-
};
|
|
27
|
-
for (let e of this.operations.slice(Math.max(0, Math.min(n, this.operations.length)))) r = Z(r, e);
|
|
28
|
-
let i = (e) => Math.max(0, Math.min(e, this.document.length));
|
|
29
|
-
return {
|
|
30
|
-
from: i(r.from),
|
|
31
|
-
to: i(Math.max(r.from, r.to))
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
annotate(e, t) {
|
|
35
|
-
let n = e.annotation;
|
|
36
|
-
if (!n || typeof n.id != "string" || !n.id || n.id.length > 100) return null;
|
|
37
|
-
let r = this.annotations.get(n.id);
|
|
38
|
-
if (e.action === "remove") return r ? (this.annotations.delete(n.id), r) : null;
|
|
39
|
-
let i = (e) => typeof e == "string" ? e.slice(0, we) : void 0, a = typeof e.revision == "number" ? e.revision : this.revision, o = r ? {
|
|
40
|
-
from: r.from,
|
|
41
|
-
to: r.to
|
|
42
|
-
} : null;
|
|
43
|
-
if (typeof n.from == "number" && typeof n.to == "number" && n.from <= n.to && (o = this.rebaseRange(n.from, n.to, a)), !o) return null;
|
|
44
|
-
if (e.action === "add") {
|
|
45
|
-
if (r || this.annotations.size >= Ce) return null;
|
|
46
|
-
let e = {
|
|
47
|
-
id: n.id,
|
|
48
|
-
...o,
|
|
49
|
-
body: i(n.body) ?? "",
|
|
50
|
-
user: t ?? n.user,
|
|
51
|
-
resolved: !1,
|
|
52
|
-
createdAt: typeof n.createdAt == "number" ? n.createdAt : Date.now(),
|
|
53
|
-
replies: []
|
|
54
|
-
};
|
|
55
|
-
return this.annotations.set(n.id, e), e;
|
|
56
|
-
}
|
|
57
|
-
if (!r) return null;
|
|
58
|
-
let s = Array.isArray(n.replies) ? n.replies.slice(0, 200).map((e) => ({
|
|
59
|
-
body: i(e?.body) ?? "",
|
|
60
|
-
user: e?.user,
|
|
61
|
-
createdAt: typeof e?.createdAt == "number" ? e.createdAt : void 0
|
|
62
|
-
})) : r.replies, c = {
|
|
63
|
-
...r,
|
|
64
|
-
...o,
|
|
65
|
-
body: i(n.body) ?? r.body,
|
|
66
|
-
resolved: typeof n.resolved == "boolean" ? n.resolved : r.resolved,
|
|
67
|
-
replies: s
|
|
68
|
-
};
|
|
69
|
-
return this.annotations.set(n.id, c), c;
|
|
70
|
-
}
|
|
71
|
-
}, Te = class {
|
|
72
|
-
send;
|
|
73
|
-
loadDocument;
|
|
74
|
-
docs = /* @__PURE__ */ new Map();
|
|
75
|
-
clients = /* @__PURE__ */ new Map();
|
|
76
|
-
constructor(e, t = () => "") {
|
|
77
|
-
this.send = e, this.loadDocument = t;
|
|
78
|
-
}
|
|
79
|
-
document(e) {
|
|
80
|
-
let t = this.docs.get(e);
|
|
81
|
-
return t || (t = new $(this.loadDocument(e)), this.docs.set(e, t)), t;
|
|
82
|
-
}
|
|
83
|
-
membersOf(e) {
|
|
84
|
-
return Array.from(this.clients.entries()).filter(([, t]) => t.docs.has(e)).map(([e]) => e);
|
|
85
|
-
}
|
|
86
|
-
broadcast(e, t, n) {
|
|
87
|
-
for (let r of this.membersOf(e)) r !== n && this.send(r, t);
|
|
88
|
-
}
|
|
89
|
-
handle(e, t) {
|
|
90
|
-
let n = t.channel?.replace(/^doc:/, "") ?? "";
|
|
91
|
-
if (!n) return;
|
|
92
|
-
let r = this.clients.get(e);
|
|
93
|
-
switch (r || (r = { docs: /* @__PURE__ */ new Set() }, this.clients.set(e, r)), t.type) {
|
|
94
|
-
case "collab:join": {
|
|
95
|
-
r.docs.add(n);
|
|
96
|
-
let i = t.payload ?? {};
|
|
97
|
-
r.user = i.user;
|
|
98
|
-
let a = this.document(n), o = typeof i.revision == "number" && i.revision >= 0 && i.revision <= a.revision ? i.revision : null, s = o === null ? void 0 : a.operations.slice(o).map((e, t) => ({
|
|
99
|
-
op: e.toJSON(),
|
|
100
|
-
opId: a.opIds[o + t]
|
|
101
|
-
})), c = this.membersOf(n).filter((t) => t !== e).map((e) => ({
|
|
102
|
-
clientId: e,
|
|
103
|
-
user: this.clients.get(e)?.user,
|
|
104
|
-
selection: this.clients.get(e)?.selection
|
|
105
|
-
})), l = [...a.annotations.values()];
|
|
106
|
-
this.send(e, {
|
|
107
|
-
type: "collab:init",
|
|
108
|
-
channel: t.channel,
|
|
109
|
-
payload: {
|
|
110
|
-
content: a.document,
|
|
111
|
-
revision: a.revision,
|
|
112
|
-
clientId: e,
|
|
113
|
-
peers: c,
|
|
114
|
-
since: o,
|
|
115
|
-
missed: s,
|
|
116
|
-
annotations: l
|
|
117
|
-
}
|
|
118
|
-
}), this.broadcast(n, {
|
|
119
|
-
type: "collab:presence",
|
|
120
|
-
channel: t.channel,
|
|
121
|
-
payload: {
|
|
122
|
-
clientId: e,
|
|
123
|
-
user: r.user
|
|
124
|
-
}
|
|
125
|
-
}, e);
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
case "collab:op": {
|
|
129
|
-
if (!r.docs.has(n)) return;
|
|
130
|
-
let { revision: i, op: a, opId: o } = t.payload, s;
|
|
131
|
-
try {
|
|
132
|
-
s = this.document(n).receive(i, P.fromJSON(a), o);
|
|
133
|
-
} catch (n) {
|
|
134
|
-
this.send(e, {
|
|
135
|
-
type: "collab:error",
|
|
136
|
-
channel: t.channel,
|
|
137
|
-
payload: {
|
|
138
|
-
opId: o,
|
|
139
|
-
message: n.message
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
let c = this.document(n).revision;
|
|
145
|
-
this.send(e, {
|
|
146
|
-
type: "collab:ack",
|
|
147
|
-
channel: t.channel,
|
|
148
|
-
payload: {
|
|
149
|
-
revision: c,
|
|
150
|
-
opId: o
|
|
151
|
-
}
|
|
152
|
-
}), this.broadcast(n, {
|
|
153
|
-
type: "collab:op",
|
|
154
|
-
channel: t.channel,
|
|
155
|
-
payload: {
|
|
156
|
-
op: s.toJSON(),
|
|
157
|
-
revision: c,
|
|
158
|
-
clientId: e
|
|
159
|
-
}
|
|
160
|
-
}, e);
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
case "collab:presence": {
|
|
164
|
-
if (!r.docs.has(n)) return;
|
|
165
|
-
let i = t.payload;
|
|
166
|
-
r.selection = i.selection, i.user && (r.user = i.user), this.broadcast(n, {
|
|
167
|
-
type: "collab:presence",
|
|
168
|
-
channel: t.channel,
|
|
169
|
-
payload: {
|
|
170
|
-
clientId: e,
|
|
171
|
-
user: r.user,
|
|
172
|
-
selection: i.selection,
|
|
173
|
-
revision: this.document(n).revision
|
|
174
|
-
}
|
|
175
|
-
}, e);
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
case "collab:annotate": {
|
|
179
|
-
if (!r.docs.has(n)) return;
|
|
180
|
-
let i = t.payload, a = this.document(n), o = a.annotate(i, r.user);
|
|
181
|
-
if (!o) {
|
|
182
|
-
this.send(e, {
|
|
183
|
-
type: "collab:error",
|
|
184
|
-
channel: t.channel,
|
|
185
|
-
payload: { message: "Invalid annotation" }
|
|
186
|
-
});
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
this.broadcast(n, {
|
|
190
|
-
type: "collab:annotate",
|
|
191
|
-
channel: t.channel,
|
|
192
|
-
payload: {
|
|
193
|
-
action: i.action,
|
|
194
|
-
annotation: o,
|
|
195
|
-
revision: a.revision
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
return;
|
|
199
|
-
}
|
|
200
|
-
case "collab:leave":
|
|
201
|
-
this.leave(e, n);
|
|
202
|
-
return;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
leave(e, t) {
|
|
206
|
-
this.clients.get(e)?.docs.delete(t) && this.broadcast(t, {
|
|
207
|
-
type: "collab:leave",
|
|
208
|
-
channel: `doc:${t}`,
|
|
209
|
-
payload: { clientId: e }
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
disconnect(e) {
|
|
213
|
-
let t = this.clients.get(e);
|
|
214
|
-
if (t) {
|
|
215
|
-
for (let n of [...t.docs]) this.leave(e, n);
|
|
216
|
-
this.clients.delete(e);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
};
|
|
220
|
-
export { le as Arethesis, V as AuthManager, L as AzurePubSubManager, i as COMPONENT_METADATA, F as CollabManager, Te as CollabServer, pe as CollabSession, a as Component, ae as CursorOverlay, n as DataBinder, A as Emitter, z as HttpClient, E as HttpError, xe as ListViewRegistry, t as MixinRegistry, he as OTClient, $ as OTDocumentServer, _ as ObjectStore, Se as OptimisticUpdateManager, _e as PersistenceManager, ve as PluginManager, x as RelativeTimeTicker, J as SSEManager, te as TemplateLoader, P as TextOperation, re as TextareaAdapter, U as UndoManager, N as VERSION, C as ValidationEngine, se as WebSocketManager, W as applyMixin, K as asyncValidatorsPlugin, O as caretAfter, de as caretCoordinates, q as contextMenuMixin, me as dateUtilsPlugin, r as deepEqual, ye as deepMerge, f as defineComponent, H as defineEndpoint, D as defineType, g as draggableMixin, R as dropdownMixin, be as editableMixin, S as formatDatePattern, c as formatRelative, fe as fuzzyFilter, Y as fuzzyMatch, ie as getArethesis, G as getComponentMetadata, y as getPath, k as gridNavigationMixin, ee as htmlToText, Q as infiniteScrollMixin, ne as initMixins, oe as listboxMixin, X as mapRange, d as mixinRegistry, p as observeMixins, w as parseDate, M as rangeRects, I as registerBuiltInMixins, v as registerBuiltInPlugin, s as registerMixin, b as relativeTimes, l as removeMixin, T as resizableMixin, ue as richTextMixin, j as richTextPlugin, ce as sanitizeHtml, u as sanitizeUrl, o as setPath, ge as sortableMixin, h as templateLoader, m as toDateInputValue, e as toDateTimeInputValue, B as tooltipMixin, Z as transformRange };
|
|
221
|
-
|
|
222
|
-
//# sourceMappingURL=arethesis.js.map
|
|
1
|
+
// Kept for compatibility; the entry is ./index.js.
|
|
2
|
+
export * from './index.js';
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { BindConfig, FieldBindConfig, ValidationError, ValidationResult } from './types';
|
|
2
2
|
import { ValidationEngine } from './validation-engine';
|
|
3
|
+
/** A form-associated custom element (`static formAssociated = true`), such as `<a-combobox>`. */
|
|
4
|
+
interface FormValueElement extends HTMLElement {
|
|
5
|
+
value: string;
|
|
6
|
+
readonly type?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Whether `el` is a form-associated custom element with a value. */
|
|
9
|
+
export declare function isFormAssociated(el: Element): el is FormValueElement;
|
|
3
10
|
/** A live binding returned by `DataBinder.bind()`. */
|
|
4
11
|
export interface BindingHandle {
|
|
5
12
|
/** Patch the DOM with new data (unchanged fields are skipped). */
|
|
@@ -79,4 +86,5 @@ export declare class RelativeTimeTicker {
|
|
|
79
86
|
export declare const relativeTimes: RelativeTimeTicker;
|
|
80
87
|
/** "3 minutes ago", "in 2 days". */
|
|
81
88
|
export declare function formatRelative(date: Date, locale?: string, now?: number): string;
|
|
89
|
+
export {};
|
|
82
90
|
//# sourceMappingURL=data-binder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-binder.d.ts","sourceRoot":"","sources":["../../src/binding/data-binder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EAGf,eAAe,EACf,gBAAgB,EAEjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"data-binder.d.ts","sourceRoot":"","sources":["../../src/binding/data-binder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EAGf,eAAe,EACf,gBAAgB,EAEjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAOvD,iGAAiG;AACjG,UAAU,gBAAiB,SAAQ,WAAW;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAGD,qEAAqE;AACrE,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,OAAO,GAAG,EAAE,IAAI,gBAAgB,CAEpE;AAWD,sDAAsD;AACtD,MAAM,W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