@ahoo-wang/wow-view-engine 10.0.0-alpha.3 → 10.0.0-alpha.5
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 +26 -27
- package/README.zh-CN.md +26 -27
- package/dist/{actions-C0tWfkL5.js → actions-CgaL6eEe.js} +25 -22
- package/dist/actions-CgaL6eEe.js.map +1 -0
- package/dist/analysis/compile.d.ts +1 -1
- package/dist/analysis/compile.d.ts.map +1 -1
- package/dist/analysis/serverLines.d.ts +1 -1
- package/dist/analysis/serverLines.d.ts.map +1 -1
- package/dist/analysis/top.d.ts +1 -1
- package/dist/analysis/top.d.ts.map +1 -1
- package/dist/capabilities/analysis.d.ts +1 -1
- package/dist/capabilities/analysis.d.ts.map +1 -1
- package/dist/capabilities/cache.d.ts +18 -1
- package/dist/capabilities/cache.d.ts.map +1 -1
- package/dist/capabilities/fields.d.ts +1 -1
- package/dist/capabilities/fields.d.ts.map +1 -1
- package/dist/capabilities/limits.d.ts +1 -1
- package/dist/capabilities/limits.d.ts.map +1 -1
- package/dist/capabilities/match.d.ts +1 -1
- package/dist/capabilities/match.d.ts.map +1 -1
- package/dist/capabilities/narrow.d.ts +1 -1
- package/dist/capabilities/narrow.d.ts.map +1 -1
- package/dist/capabilities/open.d.ts +1 -1
- package/dist/capabilities/open.d.ts.map +1 -1
- package/dist/capabilities/record.d.ts +1 -1
- package/dist/capabilities/record.d.ts.map +1 -1
- package/dist/{clickDraft-CHI2bGry.js → clickDraft-CdUtkL4y.js} +2 -2
- package/dist/{clickDraft-CHI2bGry.js.map → clickDraft-CdUtkL4y.js.map} +1 -1
- package/dist/filter/compile.d.ts +1 -1
- package/dist/filter/compile.d.ts.map +1 -1
- package/dist/filter/fieldKind.d.ts +1 -1
- package/dist/filter/fieldKind.d.ts.map +1 -1
- package/dist/filter/kinds/dateTime.d.ts.map +1 -1
- package/dist/filter/kinds/deletion.d.ts +1 -1
- package/dist/filter/kinds/deletion.d.ts.map +1 -1
- package/dist/filter/kinds/duration.d.ts +1 -1
- package/dist/filter/kinds/duration.d.ts.map +1 -1
- package/dist/filter/kinds/entries.d.ts +1 -1
- package/dist/filter/kinds/entries.d.ts.map +1 -1
- package/dist/filter/kinds/presence.d.ts +1 -1
- package/dist/filter/kinds/presence.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +82 -48
- package/dist/index.js.map +1 -1
- package/dist/model/analysis.d.ts +1 -1
- package/dist/model/analysis.d.ts.map +1 -1
- package/dist/model/definition.d.ts +1 -1
- package/dist/model/definition.d.ts.map +1 -1
- package/dist/model/field.d.ts +1 -1
- package/dist/model/field.d.ts.map +1 -1
- package/dist/model/filter.d.ts +1 -1
- package/dist/model/filter.d.ts.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/useDatasets.d.ts +33 -0
- package/dist/react/useDatasets.d.ts.map +1 -0
- package/dist/{react-CNRANfkk.js → react-BuHt29n6.js} +963 -918
- package/dist/react-BuHt29n6.js.map +1 -0
- package/dist/react.js +3 -3
- package/dist/record/compile.d.ts +1 -1
- package/dist/record/compile.d.ts.map +1 -1
- package/dist/record/kanban.d.ts +1 -1
- package/dist/record/kanban.d.ts.map +1 -1
- package/dist/record/project.d.ts +1 -1
- package/dist/record/project.d.ts.map +1 -1
- package/dist/runtime/admission.d.ts +1 -1
- package/dist/runtime/admission.d.ts.map +1 -1
- package/dist/runtime/dashboardRuntime.d.ts +5 -0
- package/dist/runtime/dashboardRuntime.d.ts.map +1 -1
- package/dist/runtime/datasetResources.d.ts +89 -14
- package/dist/runtime/datasetResources.d.ts.map +1 -1
- package/dist/runtime/define/analysis.d.ts +1 -1
- package/dist/runtime/define/analysis.d.ts.map +1 -1
- package/dist/runtime/define/defineDataset.d.ts +1 -1
- package/dist/runtime/define/defineDataset.d.ts.map +1 -1
- package/dist/runtime/define/defineView.d.ts +1 -1
- package/dist/runtime/define/defineView.d.ts.map +1 -1
- package/dist/runtime/define/fields.d.ts +1 -1
- package/dist/runtime/define/fields.d.ts.map +1 -1
- package/dist/runtime/environment.d.ts +4 -4
- package/dist/runtime/environment.d.ts.map +1 -1
- package/dist/runtime/failure/queryFailure.d.ts +1 -1
- package/dist/runtime/failure/sourceReason.d.ts +20 -24
- package/dist/runtime/failure/sourceReason.d.ts.map +1 -1
- package/dist/runtime/queryWeight.d.ts +1 -1
- package/dist/runtime/queryWeight.d.ts.map +1 -1
- package/dist/runtime/source.d.ts +5 -3
- package/dist/runtime/source.d.ts.map +1 -1
- package/dist/runtime/viewEngine.d.ts +7 -0
- package/dist/runtime/viewEngine.d.ts.map +1 -1
- package/dist/store/localStorageSnapshot.d.ts +1 -3
- package/dist/store/localStorageSnapshot.d.ts.map +1 -1
- package/dist/testing/aggregate.d.ts +1 -1
- package/dist/testing/aggregate.d.ts.map +1 -1
- package/dist/testing/calendar.d.ts +1 -1
- package/dist/testing/calendar.d.ts.map +1 -1
- package/dist/testing/expression.d.ts +1 -1
- package/dist/testing/expression.d.ts.map +1 -1
- package/dist/testing/filter.d.ts +1 -1
- package/dist/testing/filter.d.ts.map +1 -1
- package/dist/testing.js +2 -2
- package/dist/testing.js.map +1 -1
- package/dist/ui/DatasetWorkbench.d.ts +45 -0
- package/dist/ui/DatasetWorkbench.d.ts.map +1 -0
- package/dist/ui/datasetBindings.d.ts +27 -0
- package/dist/ui/datasetBindings.d.ts.map +1 -0
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/messages/datasets.d.ts +12 -0
- package/dist/ui/messages/datasets.d.ts.map +1 -0
- package/dist/ui/messages/en.d.ts +6 -0
- package/dist/ui/messages/en.d.ts.map +1 -1
- package/dist/ui/messages/view.d.ts +1 -0
- package/dist/ui/messages/view.d.ts.map +1 -1
- package/dist/ui/messages/zh-CN.d.ts.map +1 -1
- package/dist/ui.js +10821 -10667
- package/dist/ui.js.map +1 -1
- package/dist/{viewRuntimeTypes-CCAMk8vM.js → viewRuntimeTypes-B3B6hbXr.js} +36 -29
- package/dist/viewRuntimeTypes-B3B6hbXr.js.map +1 -0
- package/package.json +10 -11
- package/dist/actions-C0tWfkL5.js.map +0 -1
- package/dist/react-CNRANfkk.js.map +0 -1
- package/dist/viewRuntimeTypes-CCAMk8vM.js.map +0 -1
package/README.md
CHANGED
|
@@ -4,20 +4,20 @@ Released with Wow, from the same tag and with the same version.
|
|
|
4
4
|
|
|
5
5
|
**Wow View Engine is a data view engine for Wow-based business applications.** The application declares in code _how a dataset can be observed_: fields, kinds, operators, available dimensions and metrics. Users decide in the UI _how to observe it this time_: filters, columns, sorting, dimensions and metrics, charts, panel composition. The engine compiles that way of observing into Wow queries, runs them, renders the result, and saves the ways worth keeping so they can be reopened with one click.
|
|
6
6
|
|
|
7
|
-
It is the presentation layer on top of `@ahoo-wang/wow-client` and the successor of `@ahoo-wang/fetcher-viewer`. The guides and the reference live on the [documentation site](https://wow.ahoo.me/
|
|
7
|
+
It is the presentation layer on top of `@ahoo-wang/wow-client` and the successor of `@ahoo-wang/fetcher-viewer`. The guides and the reference live on the [documentation site](https://wow.ahoo.me/typescript/view-engine/); this page covers installing the package, the shortest working example and its entries.
|
|
8
8
|
|
|
9
|
-
> **Compatibility.** A patch release never breaks the public surface: the exports of every entry, including the `ViewStore` port a backend implements; the CSS contract ([what is public](https://wow.ahoo.me/
|
|
9
|
+
> **Compatibility.** A patch release never breaks the public surface: the exports of every entry, including the `ViewStore` port a backend implements; the CSS contract ([what is public](https://wow.ahoo.me/typescript/view-engine/theming#what-is-public)); the message keys and issue codes; and the `wow-view-engine` command. A minor release may break it, and its release notes list every break with the steps to follow; keep the Wow packages on one minor, as [version ranges](https://wow.ahoo.me/typescript/compatibility#version-ranges) explains. Views users saved in an older form keep opening: the engine migrates stored configs on read.
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
pnpm add @ahoo-wang/fetcher
|
|
14
|
+
pnpm add @ahoo-wang/fetcher \
|
|
15
15
|
@ahoo-wang/fetcher-eventstream @ahoo-wang/wow-client @ahoo-wang/wow-view-engine
|
|
16
16
|
# the /react and /ui entries
|
|
17
17
|
pnpm add react react-dom
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
The version follows Wow, so a minor release may contain breaking changes: keep the Wow packages on one minor with `save-prefix=~` or `--save-exact`, as [version ranges](https://wow.ahoo.me/
|
|
20
|
+
The version follows Wow, so a minor release may contain breaking changes: keep the Wow packages on one minor with `save-prefix=~` or `--save-exact`, as [version ranges](https://wow.ahoo.me/typescript/compatibility#version-ranges) explains.
|
|
21
21
|
|
|
22
22
|
Peer dependencies: `@ahoo-wang/wow-client` (and the fetcher packages it needs); `react` and `react-dom` only for the `/react` and `/ui` entries, `react-router` only for `/react-router`, and `mingo` only for `/testing`. The root entry runs in Node. To keep saved views on a Wow server, add [`@ahoo-wang/wow-view-store`](../wow-view-store/README.md) (its `/v10` entry on a Wow V10 service, with the V10 query routes as data sources). ES modules only; Node `>=22.12.0` or a current browser; TypeScript 6 or later.
|
|
23
23
|
|
|
@@ -97,8 +97,8 @@ export const orders: ViewDefinition = {
|
|
|
97
97
|
|
|
98
98
|
<!-- typecheck-context
|
|
99
99
|
import { orders } from './orders';
|
|
100
|
-
import type {
|
|
101
|
-
declare const
|
|
100
|
+
import type { ViewSource } from '@ahoo-wang/wow-view-engine';
|
|
101
|
+
declare const sources: Record<string, ViewSource>;
|
|
102
102
|
-->
|
|
103
103
|
|
|
104
104
|
```ts
|
|
@@ -106,12 +106,12 @@ import { MemoryViewStore, ViewEngine } from '@ahoo-wang/wow-view-engine';
|
|
|
106
106
|
|
|
107
107
|
const engine = new ViewEngine({
|
|
108
108
|
store: new MemoryViewStore(),
|
|
109
|
-
//
|
|
110
|
-
resources: [{ definition: orders, source:
|
|
109
|
+
// A ViewSource; viewSourceOf of @ahoo-wang/wow-view-store puts a Wow query route here
|
|
110
|
+
resources: [{ definition: orders, source: sources.orders }],
|
|
111
111
|
});
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
Each **resource** pairs a definition with where its rows come from; register every resource once, at the application's start, in **one engine for the application**. To narrow the definitions to what the server admits, give the source a `describe` ([the engine and its resources](https://wow.ahoo.me/
|
|
114
|
+
Each **resource** pairs a definition with where its rows come from; register every resource once, at the application's start, in **one engine for the application**. To narrow the definitions to what the server admits, give the source a `describe` ([the engine and its resources](https://wow.ahoo.me/typescript/view-engine/host)).
|
|
115
115
|
|
|
116
116
|
### 3. Render a workbench
|
|
117
117
|
|
|
@@ -129,22 +129,21 @@ export function OrdersPage() {
|
|
|
129
129
|
}
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
-
Around the pages of a real application goes one `ViewHost`, which bridges the engine, your router, language, theme and commands: see [fitting the engine into a host](https://wow.ahoo.me/
|
|
132
|
+
Around the pages of a real application goes one `ViewHost`, which bridges the engine, your router, language, theme and commands: see [fitting the engine into a host](https://wow.ahoo.me/typescript/view-engine/host).
|
|
133
133
|
|
|
134
134
|
## Documentation
|
|
135
135
|
|
|
136
|
-
| To | Read
|
|
137
|
-
| ----------------------------------------------------------------------- |
|
|
138
|
-
| Decide whether the engine fits, and its model | [Overview](https://wow.ahoo.me/
|
|
139
|
-
|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
|
|
|
146
|
-
|
|
|
147
|
-
| Every export, by entry | [Reference](https://wow.ahoo.me/reference/typescript/wow-view-engine/) |
|
|
136
|
+
| To | Read |
|
|
137
|
+
| ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
138
|
+
| Decide whether the engine fits, and its model | [Overview](https://wow.ahoo.me/typescript/view-engine/), [concepts](https://wow.ahoo.me/typescript/view-engine/) |
|
|
139
|
+
| Write definitions, from code or from the query descriptor | [Definitions](https://wow.ahoo.me/typescript/view-engine/definitions) |
|
|
140
|
+
| Fit the engine into a host: `ViewHost`, routes, embeds, messages, tests | [Host](https://wow.ahoo.me/typescript/view-engine/host) |
|
|
141
|
+
| Offer commands on records | [Actions](https://wow.ahoo.me/typescript/view-engine/actions) |
|
|
142
|
+
| Keep saved views | [Storage](https://wow.ahoo.me/typescript/view-engine/storage) |
|
|
143
|
+
| Theme it, or check a host theme | [Theming](https://wow.ahoo.me/typescript/view-engine/theming) |
|
|
144
|
+
| Run under a strict Content Security Policy | [CSP](https://wow.ahoo.me/typescript/view-engine/csp) |
|
|
145
|
+
| Accessibility | [Accessibility](https://wow.ahoo.me/typescript/view-engine/accessibility) |
|
|
146
|
+
| Every export, by entry | [Reference](https://wow.ahoo.me/reference/typescript/wow-view-engine/) |
|
|
148
147
|
|
|
149
148
|
The design — the model, the kernels, the runtime and the UI decisions — is in [docs/design/](https://github.com/Ahoo-Wang/Wow/tree/main/typescript/wow-view-engine/docs/design/), the source of truth for the model.
|
|
150
149
|
|
|
@@ -155,14 +154,14 @@ The design — the model, the kernels, the runtime and the UI decisions — is i
|
|
|
155
154
|
| `@ahoo-wang/wow-view-engine` | Model types and constants; the four pure kernels (`validate*` / `compile*` / `project*` and the readings beside them); from the runtime, what a host holds and nothing it is built from — `ViewEngine`, `validateDefinition`, the runtime contracts `ViewRuntime`, `RecordViewRuntime`, `DashboardRuntime` and `AnyViewRuntime` with every type their signatures name, `hasResult`, `hasAsked`, `isRecordRuntime`, `actions` with the declared actions' types, the write errors `ViewWriteError` and `ViewCommandError`, `ExportCancelledError`, `RuntimeEnvironment`, `defaultRuntimeEnvironment`, `ViewSource`, `OptionSource`; the `ViewStore` port, `MemoryViewStore` and `localStorageSnapshot` |
|
|
156
155
|
| `/react` | Hooks and headless controllers with the types they return: `useViewEngine`, `useOpenView`, `useViewRuntime`, `useViewList`, `useViewManager`, `useWorkbench`, `useLeaveGuard`, `useFilterEditor`, `useRecordTable`, `useAnalysisEditor`, `useAnalysisResult`, `useDashboard`, `useSaveCommands`, `useRecordActions` (the declared actions of one record surface: what each record and the selection are offered, the question or form waiting, the one runner), `RecordActionSlots`, and the two write-outcome types the save commands report (`SettledWrite`, `RecoveredWrite`) |
|
|
157
156
|
| `/ui` | Default components, views and workbenches with their props: `DataWorkbench`, `DashboardWorkbench`, `DashboardEditExtensions`, `useDashboardExtensions`, `EmbeddedView`, `EmbeddedDashboard`, `ViewHost`, `bind`, `useEngine`, `useViewNavigation`, `useColorMode`, `ViewHeader`, `SaveActions`, `ViewManager`, `LeaveDialog`, `EditorBand`, `FilterPanel`, `StatusStrip`, `AppliedBar`, `ResultToolbar`, `RowActions`, `RecordTable`, `RecordCards`, `RecordPagination`, `AnalysisTable`, `AnalysisChart`, `DashboardGrid`, `HeadingPanel`, `MarkdownPanel`, `ImagePanel`, `LinksPanel`, `MessagesProvider`; the catalogues `en` and `zhCN`; the reading of a value, `cellValue`, `cellText` and `displayValue` |
|
|
158
|
-
| `/testing` | `memorySource` and `matches`: an in-memory `ViewSource` with Wow's query semantics; `resolveNavigation`: the engine's own routing of a way off through your bindings, for your routing tests; `admit`: a host's declarations admitted over its committed descriptors; `actionHarness`: a host's declared actions read by the engine's rules, without a screen — for a host's tests ([testing a host](https://wow.ahoo.me/
|
|
157
|
+
| `/testing` | `memorySource` and `matches`: an in-memory `ViewSource` with Wow's query semantics; `resolveNavigation`: the engine's own routing of a way off through your bindings, for your routing tests; `admit`: a host's declarations admitted over its committed descriptors; `actionHarness`: a host's declared actions read by the engine's rules, without a screen — for a host's tests ([testing a host](https://wow.ahoo.me/typescript/view-engine/host#testing)) |
|
|
159
158
|
| `/react-router` | `useReactRouter`: React Router as the router port a host hands its view host. React Router is an optional peer, and this is the one entry that loads it |
|
|
160
159
|
| `/styles.css` | The theme. Import it explicitly; no JavaScript entry imports CSS, and nothing in it paints outside the two style boundaries `.fve-root` and `.fve-tokens` (preflight and the base are scoped at build time at no extra weight, and every utility is `fve:`-prefixed, so it never shares a name with yours and your import order does not matter) — bar the preset reset, which only empties the `--fvp-*` layer where a preset is named — all checked by `scripts/verify-package.mjs` on every build. |
|
|
161
|
-
| `/themes.css` | The presets, optional: only `--fvp-*` assignments keyed by `data-fve-preset` ([Presets](https://wow.ahoo.me/
|
|
162
|
-
| `/themes/<name>.css` | One preset alone, for a host that wears one: the same block `themes.css` holds for it ([Presets](https://wow.ahoo.me/
|
|
163
|
-
| `/shadcn-bridge.css` | Optional: a host's shadcn tokens read into the `--fvp-*` variables, bar `input`, `ring`, the status and the chart colours and the shadows, and only while no preset is named ([the bridge](https://wow.ahoo.me/
|
|
160
|
+
| `/themes.css` | The presets, optional: only `--fvp-*` assignments keyed by `data-fve-preset` ([Presets](https://wow.ahoo.me/typescript/view-engine/theming#presets)), checked by the same script. |
|
|
161
|
+
| `/themes/<name>.css` | One preset alone, for a host that wears one: the same block `themes.css` holds for it ([Presets](https://wow.ahoo.me/typescript/view-engine/theming#presets)). |
|
|
162
|
+
| `/shadcn-bridge.css` | Optional: a host's shadcn tokens read into the `--fvp-*` variables, bar `input`, `ring`, the status and the chart colours and the shadows, and only while no preset is named ([the bridge](https://wow.ahoo.me/typescript/view-engine/theming#the-shadcn-bridge)), checked by the same script. |
|
|
164
163
|
|
|
165
|
-
That is the public surface, and it is kept name by name. Each entry writes every name it exports, grouped by the file that declares it; none re-exports a whole module (`test/architecture.test.ts`), so an `export` a file writes for its neighbours never becomes public by accident. Each code entry's complete list — every name, and whether it is a type or a value — is in `test/surface/` (`root.txt`, `react.txt`, `ui.txt`, `testing.txt`, `react-router.txt`): `test/publicSurface.test.ts` fails when an entry exports a name its list does not hold or stops exporting one it does, and `scripts/verify-package.mjs` holds each built JavaScript entry to the same list. A name added to a list or taken off one is a change to the public surface and is reviewed as one. The command is surface too: `test/surface/bin.txt` lists the `bin` (`wow-view-engine`) and each subcommand it answers ([`theme-check`](https://wow.ahoo.me/
|
|
164
|
+
That is the public surface, and it is kept name by name. Each entry writes every name it exports, grouped by the file that declares it; none re-exports a whole module (`test/architecture.test.ts`), so an `export` a file writes for its neighbours never becomes public by accident. Each code entry's complete list — every name, and whether it is a type or a value — is in `test/surface/` (`root.txt`, `react.txt`, `ui.txt`, `testing.txt`, `react-router.txt`): `test/publicSurface.test.ts` fails when an entry exports a name its list does not hold or stops exporting one it does, and `scripts/verify-package.mjs` holds each built JavaScript entry to the same list. A name added to a list or taken off one is a change to the public surface and is reviewed as one. The command is surface too: `test/surface/bin.txt` lists the `bin` (`wow-view-engine`) and each subcommand it answers ([`theme-check`](https://wow.ahoo.me/typescript/view-engine/theming#checking-a-theme)).
|
|
166
165
|
|
|
167
166
|
## Development
|
|
168
167
|
|
package/README.zh-CN.md
CHANGED
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
**Wow View Engine 是面向 Wow 业务应用的数据视图引擎。** 业务应用用代码声明一份数据"能被怎样观察":字段、类型、操作符、可用的维度与指标。用户在界面上决定"这一次怎样观察":筛选、列、排序、维度与指标、图表、面板组合。引擎把这种观察方式编译成 Wow 查询、执行、渲染,并把有价值的观察方式保存下来供下次直接打开。
|
|
6
6
|
|
|
7
|
-
它是 `@ahoo-wang/wow-client` 之上的展示层,也是 `@ahoo-wang/fetcher-viewer` 的继任者。指南与参考都在[文档站](https://wow.ahoo.me/zh/
|
|
7
|
+
它是 `@ahoo-wang/wow-client` 之上的展示层,也是 `@ahoo-wang/fetcher-viewer` 的继任者。指南与参考都在[文档站](https://wow.ahoo.me/zh/typescript/view-engine/);本页只讲安装、最短的可运行示例与各个入口。
|
|
8
8
|
|
|
9
|
-
> **兼容性。** 补丁版本不破坏公开面:每个入口的导出,包括后端实现的 `ViewStore` 端口;CSS 合同([什么是公开的](https://wow.ahoo.me/zh/
|
|
9
|
+
> **兼容性。** 补丁版本不破坏公开面:每个入口的导出,包括后端实现的 `ViewStore` 端口;CSS 合同([什么是公开的](https://wow.ahoo.me/zh/typescript/view-engine/theming#什么是公开的));消息键与 issue code;以及 `wow-view-engine` 命令。次版本可以破坏,它的发布说明逐条列出每个破坏与迁移步骤;Wow 包请停在同一个次版本上,见[版本范围](https://wow.ahoo.me/zh/typescript/compatibility#版本范围)。用户以旧形状保存的视图照常打开:引擎在读取时迁移存储的配置。
|
|
10
10
|
|
|
11
11
|
## 安装
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
pnpm add @ahoo-wang/fetcher
|
|
14
|
+
pnpm add @ahoo-wang/fetcher \
|
|
15
15
|
@ahoo-wang/fetcher-eventstream @ahoo-wang/wow-client @ahoo-wang/wow-view-engine
|
|
16
16
|
# /react 与 /ui 入口
|
|
17
17
|
pnpm add react react-dom
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
版本号跟随 Wow,次版本可能带有破坏性改动:用 `save-prefix=~` 或 `--save-exact` 让 Wow 包停在同一个次版本上,见[版本范围](https://wow.ahoo.me/zh/
|
|
20
|
+
版本号跟随 Wow,次版本可能带有破坏性改动:用 `save-prefix=~` 或 `--save-exact` 让 Wow 包停在同一个次版本上,见[版本范围](https://wow.ahoo.me/zh/typescript/compatibility#版本范围)。
|
|
21
21
|
|
|
22
22
|
Peer 依赖:`@ahoo-wang/wow-client`(以及它需要的 fetcher 包);`react` 与 `react-dom` 只用于 `/react` 和 `/ui` 入口,`react-router` 只用于 `/react-router`,`mingo` 只用于 `/testing`。根入口可在 Node 中运行。要把保存的视图放在 Wow 服务端,再加 [`@ahoo-wang/wow-view-store`](../wow-view-store/README.zh-CN.md)(在 Wow V10 服务上用它的 `/v10` 入口,数据源也走 V10 的查询路由)。只提供 ES 模块;Node `>=22.12.0` 或当前的浏览器;TypeScript 6 及以上。
|
|
23
23
|
|
|
@@ -94,8 +94,8 @@ export const orders: ViewDefinition = {
|
|
|
94
94
|
|
|
95
95
|
<!-- typecheck-context
|
|
96
96
|
import { orders } from './orders';
|
|
97
|
-
import type {
|
|
98
|
-
declare const
|
|
97
|
+
import type { ViewSource } from '@ahoo-wang/wow-view-engine';
|
|
98
|
+
declare const sources: Record<string, ViewSource>;
|
|
99
99
|
-->
|
|
100
100
|
|
|
101
101
|
```ts
|
|
@@ -103,12 +103,12 @@ import { MemoryViewStore, ViewEngine } from '@ahoo-wang/wow-view-engine';
|
|
|
103
103
|
|
|
104
104
|
const engine = new ViewEngine({
|
|
105
105
|
store: new MemoryViewStore(),
|
|
106
|
-
//
|
|
107
|
-
resources: [{ definition: orders, source:
|
|
106
|
+
// 一个 ViewSource;@ahoo-wang/wow-view-store 的 viewSourceOf 把 Wow 的查询路由接到这里
|
|
107
|
+
resources: [{ definition: orders, source: sources.orders }],
|
|
108
108
|
});
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
每个**资源**把一份定义和它的行从哪里来配成一对;在应用启动时把每个资源登记一次,**整个应用一个引擎**。要把定义收窄到服务端允许的范围,给来源加上 `describe`([引擎与资源](https://wow.ahoo.me/zh/
|
|
111
|
+
每个**资源**把一份定义和它的行从哪里来配成一对;在应用启动时把每个资源登记一次,**整个应用一个引擎**。要把定义收窄到服务端允许的范围,给来源加上 `describe`([引擎与资源](https://wow.ahoo.me/zh/typescript/view-engine/host))。
|
|
112
112
|
|
|
113
113
|
### 3. 渲染工作台
|
|
114
114
|
|
|
@@ -126,22 +126,21 @@ export function OrdersPage() {
|
|
|
126
126
|
}
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
真实应用的页面外面套一层 `ViewHost`,把引擎、你的路由、语言、主题与命令接起来:见[把引擎放进宿主](https://wow.ahoo.me/zh/
|
|
129
|
+
真实应用的页面外面套一层 `ViewHost`,把引擎、你的路由、语言、主题与命令接起来:见[把引擎放进宿主](https://wow.ahoo.me/zh/typescript/view-engine/host)。
|
|
130
130
|
|
|
131
131
|
## 文档
|
|
132
132
|
|
|
133
|
-
| 想做的事 | 读
|
|
134
|
-
| -------------------------------------------------- |
|
|
135
|
-
| 判断引擎是否合适,以及它的模型 | [概览](https://wow.ahoo.me/zh/
|
|
136
|
-
|
|
|
137
|
-
|
|
|
138
|
-
|
|
|
139
|
-
|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
|
|
|
144
|
-
| 按入口列出的全部导出 | [参考](https://wow.ahoo.me/zh/reference/typescript/wow-view-engine/) |
|
|
133
|
+
| 想做的事 | 读 |
|
|
134
|
+
| -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
135
|
+
| 判断引擎是否合适,以及它的模型 | [概览](https://wow.ahoo.me/zh/typescript/view-engine/)、[核心概念](https://wow.ahoo.me/zh/typescript/view-engine/) |
|
|
136
|
+
| 写定义:手写,或从查询描述生成 | [写好一份定义](https://wow.ahoo.me/zh/typescript/view-engine/definitions) |
|
|
137
|
+
| 把引擎放进宿主:`ViewHost`、路由、嵌入、措辞、测试 | [宿主](https://wow.ahoo.me/zh/typescript/view-engine/host) |
|
|
138
|
+
| 在记录上提供命令 | [声明式操作](https://wow.ahoo.me/zh/typescript/view-engine/actions) |
|
|
139
|
+
| 保存视图 | [存储](https://wow.ahoo.me/zh/typescript/view-engine/storage) |
|
|
140
|
+
| 主题,以及检查宿主主题 | [主题](https://wow.ahoo.me/zh/typescript/view-engine/theming) |
|
|
141
|
+
| 在严格的内容安全策略下运行 | [CSP](https://wow.ahoo.me/zh/typescript/view-engine/csp) |
|
|
142
|
+
| 可访问性 | [可访问性](https://wow.ahoo.me/zh/typescript/view-engine/accessibility) |
|
|
143
|
+
| 按入口列出的全部导出 | [参考](https://wow.ahoo.me/zh/reference/typescript/wow-view-engine/) |
|
|
145
144
|
|
|
146
145
|
设计——模型、内核、运行时与界面上的决定——在 [docs/design/](https://github.com/Ahoo-Wang/Wow/tree/main/typescript/wow-view-engine/docs/design/),它是模型的唯一依据。
|
|
147
146
|
|
|
@@ -152,14 +151,14 @@ export function OrdersPage() {
|
|
|
152
151
|
| `@ahoo-wang/wow-view-engine` | 模型类型与常量;四个纯内核(`validate*` / `compile*` / `project*` 及其旁边的读法);运行时只导出宿主要握的,不导出它由什么搭成——`ViewEngine`、`validateDefinition`、运行时合同 `ViewRuntime`、`RecordViewRuntime`、`DashboardRuntime`、`AnyViewRuntime` 连同它们签名里出现的每一个类型、`hasResult`、`hasAsked`、`isRecordRuntime`、`actions` 连同声明式操作的类型、写入错误 `ViewWriteError` 与 `ViewCommandError`、`ExportCancelledError`、`RuntimeEnvironment`、`defaultRuntimeEnvironment`、`ViewSource`、`OptionSource`;`ViewStore` 端口、`MemoryViewStore` 与 `localStorageSnapshot` |
|
|
153
152
|
| `/react` | 钩子与无样式控制器,连同它们交出的类型:`useViewEngine`、`useOpenView`、`useViewRuntime`、`useViewList`、`useViewManager`、`useWorkbench`、`useLeaveGuard`、`useFilterEditor`、`useRecordTable`、`useAnalysisEditor`、`useAnalysisResult`、`useDashboard`、`useSaveCommands`、`useRecordActions`(一个记录面上的声明式操作:每条记录与选中的能做什么、等读者回答的确认或表单、唯一的执行器)、`RecordActionSlots`,以及保存命令报告的两个写入结局类型(`SettledWrite`、`RecoveredWrite`) |
|
|
154
153
|
| `/ui` | 默认组件、视图与工作台,连同它们的 props:`DataWorkbench`、`DashboardWorkbench`、`DashboardEditExtensions`、`useDashboardExtensions`、`EmbeddedView`、`EmbeddedDashboard`、`ViewHost`、`bind`、`useEngine`、`useViewNavigation`、`useColorMode`、`ViewHeader`、`SaveActions`、`ViewManager`、`LeaveDialog`、`EditorBand`、`FilterPanel`、`StatusStrip`、`AppliedBar`、`ResultToolbar`、`RowActions`、`RecordTable`、`RecordCards`、`RecordPagination`、`AnalysisTable`、`AnalysisChart`、`DashboardGrid`、`HeadingPanel`、`MarkdownPanel`、`ImagePanel`、`LinksPanel`、`MessagesProvider`;措辞目录 `en` 与 `zhCN`;一个值的读法 `cellValue`、`cellText`、`displayValue` |
|
|
155
|
-
| `/testing` | `memorySource` 与 `matches`:带 Wow 查询语义的内存 `ViewSource`;`resolveNavigation`:引擎自己按宿主绑定解析离开的路,供宿主测路由;`admit`:按提交的描述符准入宿主的声明;`actionHarness`:按引擎的规则读宿主声明的操作,不画界面——供宿主测试使用([测试宿主](https://wow.ahoo.me/zh/
|
|
154
|
+
| `/testing` | `memorySource` 与 `matches`:带 Wow 查询语义的内存 `ViewSource`;`resolveNavigation`:引擎自己按宿主绑定解析离开的路,供宿主测路由;`admit`:按提交的描述符准入宿主的声明;`actionHarness`:按引擎的规则读宿主声明的操作,不画界面——供宿主测试使用([测试宿主](https://wow.ahoo.me/zh/typescript/view-engine/host#testing)) |
|
|
156
155
|
| `/react-router` | `useReactRouter`:把 React Router 接成视图宿主的路由端口。React Router 是可选 peer,只有这个入口加载它 |
|
|
157
156
|
| `/styles.css` | 主题。显式导入;任何 JS 入口都不会引入 CSS,产物也不会在 `.fve-root`/`.fve-tokens` 两个样式边界之外绘制任何东西(preflight 与 base 在构建时收进边界内、不加权重,工具类一律带 `fve:` 前缀、与宿主的不同名,所以宿主的导入次序无关)——预设的复位规则除外,它只在挂了预设的元素上清空 `--fvp-*` 层——`scripts/verify-package.mjs` 在每次构建时逐条核对。 |
|
|
158
|
-
| `/themes.css` | 预设,可选:只有按 `data-fve-preset` 选中的 `--fvp-*` 赋值([预设](https://wow.ahoo.me/zh/
|
|
159
|
-
| `/themes/<名>.css` | 单独一套预设,给只用一套的宿主:就是 `themes.css` 里它那一块([预设](https://wow.ahoo.me/zh/
|
|
160
|
-
| `/shadcn-bridge.css` | 可选:把宿主的 shadcn token 读进 `--fvp-*` 变量,`input`、`ring`、状态色、图表色与阴影除外,且只在没挂预设时生效([桥接](https://wow.ahoo.me/zh/
|
|
157
|
+
| `/themes.css` | 预设,可选:只有按 `data-fve-preset` 选中的 `--fvp-*` 赋值([预设](https://wow.ahoo.me/zh/typescript/view-engine/theming#预设)),由同一个脚本核对。 |
|
|
158
|
+
| `/themes/<名>.css` | 单独一套预设,给只用一套的宿主:就是 `themes.css` 里它那一块([预设](https://wow.ahoo.me/zh/typescript/view-engine/theming#预设))。 |
|
|
159
|
+
| `/shadcn-bridge.css` | 可选:把宿主的 shadcn token 读进 `--fvp-*` 变量,`input`、`ring`、状态色、图表色与阴影除外,且只在没挂预设时生效([桥接](https://wow.ahoo.me/zh/typescript/view-engine/theming#shadcn-桥接)),由同一个脚本核对。 |
|
|
161
160
|
|
|
162
|
-
这就是公开面,而且逐个名字守着。每个入口把它导出的名字逐个写出,按声明它的文件分组,不整模块转出(`test/architecture.test.ts`),所以文件为包内邻居写的 `export` 不会意外变成公开的。每个代码入口的完整清单——每一个名字,以及它是类型还是值——在 `test/surface/`(`root.txt`、`react.txt`、`ui.txt`、`testing.txt`、`react-router.txt`):入口多导出了清单上没有的名字、或不再导出清单上有的名字,`test/publicSurface.test.ts` 就失败;`scripts/verify-package.mjs` 再拿同一份清单核对构建出的每个 JS 入口。往清单里加一个名字或拿掉一个,就是改公开面,按改公开面来审。命令也是公开面:`test/surface/bin.txt` 列出 `bin`(`wow-view-engine`)与它认的每个子命令([`theme-check`](https://wow.ahoo.me/zh/
|
|
161
|
+
这就是公开面,而且逐个名字守着。每个入口把它导出的名字逐个写出,按声明它的文件分组,不整模块转出(`test/architecture.test.ts`),所以文件为包内邻居写的 `export` 不会意外变成公开的。每个代码入口的完整清单——每一个名字,以及它是类型还是值——在 `test/surface/`(`root.txt`、`react.txt`、`ui.txt`、`testing.txt`、`react-router.txt`):入口多导出了清单上没有的名字、或不再导出清单上有的名字,`test/publicSurface.test.ts` 就失败;`scripts/verify-package.mjs` 再拿同一份清单核对构建出的每个 JS 入口。往清单里加一个名字或拿掉一个,就是改公开面,按改公开面来审。命令也是公开面:`test/surface/bin.txt` 列出 `bin`(`wow-view-engine`)与它认的每个子命令([`theme-check`](https://wow.ahoo.me/zh/typescript/view-engine/theming#检查一套主题))。
|
|
163
162
|
|
|
164
163
|
## 开发
|
|
165
164
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AGGREGATION_LIMITS as e, AggregationDatePart as t, AggregationDateUnit as n, AggregationExpressionType as r, AggregationFunction as i, AggregationGroupScope as a, AggregationGroupType as o, AggregationMetricType as s, DeletionState as c, HavingExpressionType as l, MAX_CURSOR_SORT_FIELDS as u, RunningFunction as d, SortDirection as f, TimeUnit as p, aggregation as m, filter as h } from "@ahoo-wang/wow-client";
|
|
1
|
+
import { AGGREGATION_LIMITS as e, AggregationDatePart as t, AggregationDateUnit as n, AggregationExpressionType as r, AggregationFunction as i, AggregationGroupScope as a, AggregationGroupType as o, AggregationMetricType as s, DeletionState as c, HavingExpressionType as l, MAX_CURSOR_SORT_FIELDS as u, RunningFunction as d, SortDirection as f, TimeUnit as p, aggregation as m, filter as h } from "@ahoo-wang/wow-client/dsl";
|
|
2
2
|
import g from "dayjs";
|
|
3
3
|
import _ from "dayjs/plugin/isoWeek.js";
|
|
4
4
|
import v from "dayjs/plugin/quarterOfYear.js";
|
|
@@ -9047,24 +9047,25 @@ async function yg(e) {
|
|
|
9047
9047
|
return (await vg(e)).reason;
|
|
9048
9048
|
}
|
|
9049
9049
|
async function bg(e) {
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
}
|
|
9054
|
-
let t = Cg(e);
|
|
9055
|
-
if (t) {
|
|
9056
|
-
let e = Sg(t.response), n = Tg(await wg(t), e);
|
|
9050
|
+
let t = e?.problem;
|
|
9051
|
+
if (typeof t == "object" && t) {
|
|
9052
|
+
let n = Tg(t, Sg(e) ?? Sg(t));
|
|
9057
9053
|
if (n) return n;
|
|
9054
|
+
}
|
|
9055
|
+
let n = Cg(e);
|
|
9056
|
+
if (n) {
|
|
9057
|
+
let e = Sg(n.response), t = Tg(await wg(n), e);
|
|
9058
|
+
if (t) return t;
|
|
9058
9059
|
if (e !== void 0) return {
|
|
9059
9060
|
reason: `HTTP ${e}`,
|
|
9060
9061
|
status: e
|
|
9061
9062
|
};
|
|
9062
9063
|
}
|
|
9063
|
-
let
|
|
9064
|
+
let r = e instanceof Error ? e.message : String(e);
|
|
9064
9065
|
return xg(e) ? {
|
|
9065
|
-
reason:
|
|
9066
|
+
reason: r,
|
|
9066
9067
|
unreachable: !0
|
|
9067
|
-
} : { reason:
|
|
9068
|
+
} : { reason: r };
|
|
9068
9069
|
}
|
|
9069
9070
|
function xg(e) {
|
|
9070
9071
|
return e instanceof TypeError || e?.cause instanceof TypeError;
|
|
@@ -9088,25 +9089,27 @@ async function wg(e) {
|
|
|
9088
9089
|
}
|
|
9089
9090
|
function Tg(e, t) {
|
|
9090
9091
|
if (typeof e != "object" || !e) return null;
|
|
9091
|
-
let {
|
|
9092
|
-
|
|
9093
|
-
|
|
9092
|
+
let { detail: n, title: r, code: i, violations: a } = e, o = [
|
|
9093
|
+
n,
|
|
9094
|
+
r,
|
|
9095
|
+
i
|
|
9096
|
+
].map((e) => typeof e == "string" ? e.trim() : "").find(Boolean);
|
|
9097
|
+
if (!o) return null;
|
|
9098
|
+
let s = Dg(a, o);
|
|
9094
9099
|
return {
|
|
9095
|
-
reason:
|
|
9096
|
-
...
|
|
9097
|
-
...typeof
|
|
9100
|
+
reason: o,
|
|
9101
|
+
...s ? { violation: s } : {},
|
|
9102
|
+
...typeof i == "string" && i ? { errorCode: i } : {},
|
|
9098
9103
|
...t === void 0 ? {} : { status: t }
|
|
9099
9104
|
};
|
|
9100
9105
|
}
|
|
9101
9106
|
function Eg(e) {
|
|
9102
|
-
|
|
9103
|
-
let t = e.errorCode;
|
|
9104
|
-
return t !== void 0 && t.startsWith("IllegalAccess") && t !== "IllegalAccessDeletedAggregate";
|
|
9107
|
+
return e.status === 403 || /[.-]forbidden$/.test(e.errorCode ?? "");
|
|
9105
9108
|
}
|
|
9106
9109
|
function Dg(e, t) {
|
|
9107
9110
|
if (Array.isArray(e)) for (let n of e) {
|
|
9108
9111
|
if (typeof n != "object" || !n) continue;
|
|
9109
|
-
let { code: e,
|
|
9112
|
+
let { code: e, path: r, message: i } = n;
|
|
9110
9113
|
if (typeof e == "string" && e) return {
|
|
9111
9114
|
code: e,
|
|
9112
9115
|
path: typeof r == "string" ? r : "",
|
|
@@ -10118,4 +10121,4 @@ async function Tv(e, t, n, r) {
|
|
|
10118
10121
|
//#endregion
|
|
10119
10122
|
export { Pg as $, Tn as $a, hi as $i, ad as $n, xt as $o, rs as $r, le as $s, zp as $t, p_ as A, Xn as Aa, Ta as Ai, nf as An, zt as Ao, vc as Ar, Ie as As, bm as At, h_ as B, kn as Ba, na as Bi, hd as Bn, Mt as Bo, rc as Br, Oe as Bs, pm as Bt, I_ as C, ar as Ca, Ra as Ci, gf as Cn, qt as Co, dc as Cr, Je as Cs, Am as Ct, E_ as D, er as Da, Pa as Di, vf as Dn, Ht as Do, yc as Dr, Le as Ds, ym as Dt, C_ as E, $n as Ea, Ma as Ei, _f as En, Ut as Eo, bc as Er, Pe as Es, xm as Et, f_ as F, Hn as Fa, ba as Fi, Fd as Fn, Ft as Fo, ic as Fr, Ge as Fs, Qp as Ft, Zg as G, Nn as Ga, qi as Gi, Td as Gn, mt as Go, Ls as Gr, Ae as Gs, rm as Gt, c_ as H, M as Ha, Qi as Hi, dd as Hn, Ct as Ho, qs as Hr, Te as Hs, $p as Ht, g_ as I, Wn as Ia, va as Ii, Id as In, It as Io, nc as Ir, Ue as Is, im as It, Ig as J, wn as Ja, Ci as Ji, Yu as Jn, ct as Jo, as as Jr, Me as Js, dm as Jt, qg as K, Cn as Ka, Ji as Ki, Sd as Kn, pt as Ko, Fs as Kr, De as Ks, em as Kt, v_ as L, xn as La, ua as Li, Pd as Ln, lt as Lo, oc as Lr, C as Ls, lm as Lt, d_ as M, Sn as Ma, wa as Mi, Qd as Mn, Bt as Mo, Sc as Mr, ze as Ms, wm as Mt, S_ as N, jn as Na, Sa as Ni, Zd as Nn, Wt as No, xc as Nr, Re as Ns, Cm as Nt, w_ as O, P as Oa, ja as Oi, of as On, Rt as Oo, gc as Or, Ke as Os, Sm as Ot, __ as P, Mn as Pa, xa as Pi, Xd as Pn, Kt as Po, Ys as Pr, Be as Ps, _m as Pt, Og as Q, Bn as Qa, gi as Qi, $u as Qn, gt as Qo, ps as Qr, ue as Qs, Kp as Qt, b_ as R, Un as Ra, ta as Ri, Ld as Rn, Ot as Ro, ac as Rr, We as Rs, nm as Rt, nv as S, rr as Sa, Wa as Si, hf as Sn, D as So, mc as Sr, Xe as Ss, km as St, T_ as T, F as Ta, ka as Ti, ff as Tn, Vt as To, uc as Tr, Ne as Ts, Em as Tt, Qg as U, vn as Ua, $i as Ui, cd as Un, yt as Uo, Ws as Ur, Ce as Us, mm as Ut, o_ as V, j as Va, Xi as Vi, Z as Vn, Nt as Vo, U as Vr, we as Vs, fm as Vt, e_ as W, An as Wa, Zi as Wi, Cd as Wn, at as Wo, Hs as Wr, Ee as Ws, sm as Wt, Ag as X, Fn as Xa, pi as Xi, Qu as Xn, jt as Xo, fs as Xr, Se as Xs, Hp as Xt, jg as Y, En as Ya, Si as Yi, ed as Yn, Et as Yo, cs as Yr, ke as Ys, Vp as Yt, Mg as Z, zn as Za, bi as Zi, td as Zn, Pt as Zo, ds as Zr, ce as Zs, Wp as Zt, Sv as _, L as _a, Ka as _i, If as _n, ln as _o, kc as _r, rt as _s, Hm as _t, uv as a, kr as aa, he as ac, Oo as ai, Pp as an, fn as ao, Ju as ar, ft as as, gg as at, ev as b, or as ba, qa as bi, df as bn, Qt as bo, _c as br, $e as bs, Lm as bt, bv as c, Er as ca, me as cc, Do as ci, Fp as cn, A as co, El as cr, w as cs, vh as ct, gv as d, Tr as da, Ya as di, Bf as dn, pn as do, G as dr, vt as ds, ah as dt, ei as ea, xe as ec, ns as ei, Bp as en, N as eo, X as er, bt as es, Ng as et, vv as f, Dr as fa, go as fi, Hf as fn, hn as fo, Qc as fr, wt as fs, Gm as ft, sv as g, I as ga, oo as gi, Sf as gn, cn as go, Ic as gr, it as gs, Wm as gt, Cv as h, wr as ha, co as hi, kf as hn, an as ho, zc as hr, Qe as hs, Um as ht, fv as i, Mr as ia, _e as ic, Ao as ii, qp as in, un as io, rd as ir, Tt as is, yg as it, m_ as j, Gn as ja, Ea as ji, rf as jn, Gt as jo, pc as jr, Ve as js, vm as jt, y_ as k, Yn as ka, Da as ki, sf as kn, Lt as ko, lc as kr, He as ks, Dm as kt, hv as l, gr as la, be as lc, So as li, Mp as ln, mn as lo, Tl as lr, st as ls, ch as lt, ov as m, Cr as ma, po as mi, Cf as mn, rn as mo, Hc as mr, Ze as ms, Vm as mt, wv as n, Nr as na, ge as nc, Bo as ni, Zp as nn, _n as no, id as nr, At as ns, Eg as nt, mv as o, Or as oa, fe as oc, Co as oi, Lp as on, k as oo, mu as or, ht as os, sg as ot, av as p, br as pa, so as pi, wf as pn, sn as po, Xc as pr, nt as ps, Xm as pt, Bg as q, Pn as qa, ji as qi, xd as qn, Dt as qo, Ss as qr, je as qs, om as qt, dv as r, jr as ra, ve as rc, _o as ri, Rp as rn, gn as ro, nd as rr, E as rs, vg as rt, iv as s, yr as sa, pe as sc, Eo as si, Gp as sn, dn as so, Yl as sr, dt as ss, Jh as st, pv as t, $r as ta, de as tc, Wo as ti, Ip as tn, Ln as to, od as tr, St as ts, Fg as tt, yv as u, vr as ua, ko as ui, Op as un, O as uo, Sl as ur, T as us, hh as ut, Tv as v, mr as va, Ga as vi, yf as vn, Yt as vo, Ec as vr, tt as vs, Bm as vt, O_ as w, ir as wa, La as wi, mf as wn, Jt as wo, sc as wr, qe as ws, Tm as wt, tv as x, nr as xa, Ha as xi, pf as xn, Zt as xo, fc as xr, Ye as xs, Om as xt, xv as y, hr as ya, Ua as yi, af as yn, Xt as yo, hc as yr, et as ys, Nm as yt, x_ as z, Dn as za, ra as zi, Md as zn, _t as zo, tc as zr, Fe as zs, tm as zt };
|
|
10120
10123
|
|
|
10121
|
-
//# sourceMappingURL=actions-
|
|
10124
|
+
//# sourceMappingURL=actions-CgaL6eEe.js.map
|