@arqel-dev/ui 0.10.0 → 0.11.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.
- package/dist/pages.d.ts +19 -1
- package/dist/pages.js +757 -10
- package/dist/pages.js.map +1 -1
- package/package.json +6 -6
package/dist/pages.d.ts
CHANGED
|
@@ -12,6 +12,24 @@ import { RecordType } from '@arqel-dev/types/resources';
|
|
|
12
12
|
|
|
13
13
|
declare function ArqelCreatePage(): JSX.Element;
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Default Inertia page for `arqel::dashboard`.
|
|
17
|
+
*
|
|
18
|
+
* Bridges the Inertia payload emitted by
|
|
19
|
+
* `Arqel\Widgets\Http\Controllers\DashboardController::show` into the
|
|
20
|
+
* existing `<DashboardGrid>` component. The grid already handles the
|
|
21
|
+
* heading/description chrome, the filter bar and the responsive
|
|
22
|
+
* widget grid (column spans, polling, deferred fetch), so this page
|
|
23
|
+
* only owns one piece of glue: lifting filter state up into the URL
|
|
24
|
+
* so deep-link refreshes rehydrate cleanly.
|
|
25
|
+
*
|
|
26
|
+
* Filter changes navigate via `router.get(path, { filters: ... })`,
|
|
27
|
+
* matching `DashboardController::show` which reads
|
|
28
|
+
* `$request->input('filters', [])` and forwards it as `filterValues`.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
declare function ArqelDashboardPage(): JSX.Element;
|
|
32
|
+
|
|
15
33
|
/**
|
|
16
34
|
* Default Inertia page for `arqel::edit`.
|
|
17
35
|
*
|
|
@@ -83,4 +101,4 @@ type LazyPage = () => Promise<{
|
|
|
83
101
|
}>;
|
|
84
102
|
declare const arqelPages: Record<string, LazyPage>;
|
|
85
103
|
|
|
86
|
-
export { ArqelCreatePage, ArqelEditPage, ArqelIndexPage, ArqelShowPage, arqelPages };
|
|
104
|
+
export { ArqelCreatePage, ArqelDashboardPage, ArqelEditPage, ArqelIndexPage, ArqelShowPage, arqelPages };
|