@owlmeans/web-panel 0.1.18-rc.34 → 0.1.18-rc.35
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 +14 -41
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/web-panel/SKILL.md +18 -24
- package/build/@/components/ui/alert.js +1 -1
- package/build/@/components/ui/alert.js.map +1 -1
- package/build/@/components/ui/button.js +1 -1
- package/build/@/components/ui/button.js.map +1 -1
- package/build/@/components/ui/card.js +1 -1
- package/build/@/components/ui/card.js.map +1 -1
- package/build/@/components/ui/input.js +1 -1
- package/build/@/components/ui/input.js.map +1 -1
- package/build/@/components/ui/label.js +1 -1
- package/build/@/components/ui/label.js.map +1 -1
- package/build/@/components/ui/navigation-menu.js +1 -1
- package/build/@/components/ui/navigation-menu.js.map +1 -1
- package/build/@/components/ui/progress.js +1 -1
- package/build/@/components/ui/progress.js.map +1 -1
- package/build/@/components/ui/separator.js +1 -1
- package/build/@/components/ui/separator.js.map +1 -1
- package/build/auth/entrypoints.d.ts +9 -1
- package/build/auth/entrypoints.d.ts.map +1 -1
- package/build/auth/entrypoints.js +3 -3
- package/build/auth/entrypoints.js.map +1 -1
- package/build/auth/exports.d.ts +2 -2
- package/build/auth/exports.d.ts.map +1 -1
- package/build/auth/exports.js +2 -2
- package/build/auth/exports.js.map +1 -1
- package/build/auth/plugins/basic-ed25519.js +1 -1
- package/build/auth/plugins/basic-ed25519.js.map +1 -1
- package/build/auth/plugins/re-captcha.js +1 -1
- package/build/auth/plugins/re-captcha.js.map +1 -1
- package/build/auth/plugins/tunnel-consumer.js +1 -1
- package/build/auth/plugins/tunnel-consumer.js.map +1 -1
- package/build/components/block.js +2 -2
- package/build/components/block.js.map +1 -1
- package/build/components/footer/component.d.ts.map +1 -1
- package/build/components/footer/component.js +3 -5
- package/build/components/footer/component.js.map +1 -1
- package/build/components/form/button/component.js +2 -2
- package/build/components/form/button/component.js.map +1 -1
- package/build/components/form/component.js +2 -2
- package/build/components/form/component.js.map +1 -1
- package/build/components/form/text/component.js +2 -2
- package/build/components/form/text/component.js.map +1 -1
- package/build/components/index.d.ts +0 -1
- package/build/components/index.d.ts.map +1 -1
- package/build/components/index.js +0 -1
- package/build/components/index.js.map +1 -1
- package/build/components/link.d.ts.map +1 -1
- package/build/components/link.js +4 -7
- package/build/components/link.js.map +1 -1
- package/build/components/login/credit.js +1 -1
- package/build/components/login/credit.js.map +1 -1
- package/build/components/login/screen.d.ts.map +1 -1
- package/build/components/login/screen.js +6 -7
- package/build/components/login/screen.js.map +1 -1
- package/build/components/login/terms.js +1 -1
- package/build/components/login/terms.js.map +1 -1
- package/build/components/nav/layout.d.ts +1 -1
- package/build/components/nav/layout.js +2 -2
- package/build/components/nav/layout.js.map +1 -1
- package/build/components/nav/side.d.ts.map +1 -1
- package/build/components/nav/side.js +4 -6
- package/build/components/nav/side.js.map +1 -1
- package/build/components/nav/top.js +2 -2
- package/build/components/nav/top.js.map +1 -1
- package/build/components/nav/types.d.ts +1 -2
- package/build/components/nav/types.d.ts.map +1 -1
- package/build/components/panel-app/component.js +1 -1
- package/build/components/panel-app/component.js.map +1 -1
- package/build/components/status.js +1 -1
- package/build/components/status.js.map +1 -1
- package/build/components/text.js +1 -1
- package/build/components/text.js.map +1 -1
- package/build/components/toaster.js +1 -1
- package/build/components/toaster.js.map +1 -1
- package/build/components/types.d.ts +1 -2
- package/build/components/types.d.ts.map +1 -1
- package/build/components/uploader/image.js +1 -1
- package/build/components/uploader/image.js.map +1 -1
- package/build/entrypoints.d.ts +7 -1
- package/build/entrypoints.d.ts.map +1 -1
- package/build/entrypoints.js +3 -3
- package/build/entrypoints.js.map +1 -1
- package/build/exports.d.ts +2 -3
- package/build/exports.d.ts.map +1 -1
- package/build/exports.js +2 -3
- package/build/exports.js.map +1 -1
- package/build/index.d.ts +0 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +0 -2
- package/build/index.js.map +1 -1
- package/package.json +27 -37
- package/src/@/components/ui/alert.tsx +1 -1
- package/src/@/components/ui/button.tsx +1 -1
- package/src/@/components/ui/card.tsx +1 -1
- package/src/@/components/ui/input.tsx +1 -1
- package/src/@/components/ui/label.tsx +1 -1
- package/src/@/components/ui/navigation-menu.tsx +1 -1
- package/src/@/components/ui/progress.tsx +1 -1
- package/src/@/components/ui/separator.tsx +1 -1
- package/src/auth/entrypoints.ts +3 -3
- package/src/auth/exports.ts +2 -2
- package/src/auth/plugins/basic-ed25519.tsx +1 -1
- package/src/auth/plugins/re-captcha.tsx +1 -1
- package/src/auth/plugins/tunnel-consumer.tsx +1 -1
- package/src/components/block.tsx +2 -2
- package/src/components/footer/component.tsx +3 -5
- package/src/components/form/button/component.tsx +2 -2
- package/src/components/form/component.tsx +2 -2
- package/src/components/form/text/component.tsx +2 -2
- package/src/components/index.ts +0 -1
- package/src/components/link.tsx +4 -7
- package/src/components/login/credit.tsx +1 -1
- package/src/components/login/screen.tsx +6 -7
- package/src/components/login/terms.tsx +1 -1
- package/src/components/nav/layout.tsx +2 -2
- package/src/components/nav/side.tsx +4 -6
- package/src/components/nav/top.tsx +2 -2
- package/src/components/nav/types.ts +1 -2
- package/src/components/panel-app/component.tsx +1 -1
- package/src/components/status.tsx +1 -1
- package/src/components/text.tsx +1 -1
- package/src/components/toaster.tsx +1 -1
- package/src/components/types.ts +1 -2
- package/src/components/uploader/image.tsx +1 -1
- package/src/entrypoints.ts +3 -3
- package/src/exports.ts +2 -3
- package/src/index.ts +0 -2
- package/tests/harness/mount.tsx +22 -65
- package/tests/package-boundary.spec.ts +19 -0
- package/build/@/components/ui/dropdown-menu.d.ts +0 -26
- package/build/@/components/ui/dropdown-menu.d.ts.map +0 -1
- package/build/@/components/ui/dropdown-menu.js +0 -51
- package/build/@/components/ui/dropdown-menu.js.map +0 -1
- package/build/components/menu/component.d.ts +0 -15
- package/build/components/menu/component.d.ts.map +0 -1
- package/build/components/menu/component.js +0 -146
- package/build/components/menu/component.js.map +0 -1
- package/build/components/menu/index.d.ts +0 -3
- package/build/components/menu/index.d.ts.map +0 -1
- package/build/components/menu/index.js +0 -3
- package/build/components/menu/index.js.map +0 -1
- package/build/components/menu/types.d.ts +0 -138
- package/build/components/menu/types.d.ts.map +0 -1
- package/build/components/menu/types.js +0 -17
- package/build/components/menu/types.js.map +0 -1
- package/build/hooks/index.d.ts +0 -2
- package/build/hooks/index.d.ts.map +0 -1
- package/build/hooks/index.js +0 -2
- package/build/hooks/index.js.map +0 -1
- package/build/hooks/use-mobile.d.ts +0 -16
- package/build/hooks/use-mobile.d.ts.map +0 -1
- package/build/hooks/use-mobile.js +0 -30
- package/build/hooks/use-mobile.js.map +0 -1
- package/build/jobs/component.d.ts +0 -19
- package/build/jobs/component.d.ts.map +0 -1
- package/build/jobs/component.js +0 -55
- package/build/jobs/component.js.map +0 -1
- package/build/jobs/index.d.ts +0 -4
- package/build/jobs/index.d.ts.map +0 -1
- package/build/jobs/index.js +0 -3
- package/build/jobs/index.js.map +0 -1
- package/build/jobs/toasts.d.ts +0 -14
- package/build/jobs/toasts.d.ts.map +0 -1
- package/build/jobs/toasts.js +0 -39
- package/build/jobs/toasts.js.map +0 -1
- package/build/jobs/types.d.ts +0 -21
- package/build/jobs/types.d.ts.map +0 -1
- package/build/jobs/types.js +0 -2
- package/build/jobs/types.js.map +0 -1
- package/build/utils.d.ts +0 -13
- package/build/utils.d.ts.map +0 -1
- package/build/utils.js +0 -14
- package/build/utils.js.map +0 -1
- package/src/@/components/ui/dropdown-menu.tsx +0 -256
- package/src/components/menu/component.tsx +0 -248
- package/src/components/menu/index.ts +0 -2
- package/src/components/menu/types.ts +0 -144
- package/src/hooks/index.ts +0 -1
- package/src/hooks/use-mobile.ts +0 -35
- package/src/jobs/component.tsx +0 -78
- package/src/jobs/index.ts +0 -4
- package/src/jobs/toasts.ts +0 -41
- package/src/jobs/types.ts +0 -23
- package/src/utils.ts +0 -14
- package/tests/menu.spec.ts +0 -102
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ instead of Material UI.
|
|
|
6
6
|
|
|
7
7
|
## When to use this package
|
|
8
8
|
|
|
9
|
-
- New OwlMeans web apps
|
|
9
|
+
- New OwlMeans web apps using the package's shipped shadcn primitives and a
|
|
10
10
|
Tailwind v4 theme.
|
|
11
11
|
- Drop-in replacement for the previous Material-UI based `@owlmeans/web-panel`
|
|
12
12
|
(which has been renamed to [`@owlmeans/mui-panel`](../mui-panel) for
|
|
@@ -23,29 +23,14 @@ Peer requirements (the consuming app provides these): `react`, `react-dom`,
|
|
|
23
23
|
`tailwind-merge`, `class-variance-authority`, plus the radix primitives
|
|
24
24
|
listed in `peerDependencies`.
|
|
25
25
|
|
|
26
|
-
## Consumer setup —
|
|
26
|
+
## Consumer setup — package boundary
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
The package ships its shadcn primitives and `cn` helper as private implementation files. Its build
|
|
29
|
+
uses relative imports into that private tree, so a consumer needs neither an `@` bundler alias nor
|
|
30
|
+
a matching copy of the primitives. The consumer supplies the declared React, Tailwind and Radix peer
|
|
31
|
+
dependencies and may use its own unrelated shadcn setup.
|
|
32
32
|
|
|
33
|
-
### 1. Add
|
|
34
|
-
|
|
35
|
-
Generate the matching primitives in your app once. You can either copy them
|
|
36
|
-
from this package's `src/@/components/ui/` or use the shadcn CLI:
|
|
37
|
-
|
|
38
|
-
```sh
|
|
39
|
-
npx shadcn add button card input label progress alert separator navigation-menu
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
`navigation-menu` also needs `@radix-ui/react-navigation-menu` in your app's
|
|
43
|
-
dependencies — the `TopNav` section menu is built on it.
|
|
44
|
-
|
|
45
|
-
This package was authored against the shadcn `new-york` style with
|
|
46
|
-
`baseColor: neutral`. See `components.json` for the exact config.
|
|
47
|
-
|
|
48
|
-
### 2. Add Tailwind v4 theme tokens
|
|
33
|
+
### 1. Add Tailwind v4 theme tokens
|
|
49
34
|
|
|
50
35
|
The components rely on the following CSS variables (defined inside
|
|
51
36
|
`@theme` in your app's globals.css):
|
|
@@ -65,19 +50,12 @@ The components rely on the following CSS variables (defined inside
|
|
|
65
50
|
|
|
66
51
|
A working set is shipped at `src/@/globals.css` (for dev/test only).
|
|
67
52
|
|
|
68
|
-
###
|
|
69
|
-
|
|
70
|
-
```ts
|
|
71
|
-
// vite.config.ts
|
|
72
|
-
resolve: { alias: { '@': fileURLToPath(new URL('./src/@', import.meta.url)) } }
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
### 4. Tailwind `@source` for this package
|
|
53
|
+
### 2. Tailwind `@source` for this package
|
|
76
54
|
|
|
77
55
|
Tailwind's scanner reads your CSS root plus its `@source` directives, and it
|
|
78
56
|
excludes `node_modules`. Classes that exist only inside this package's
|
|
79
|
-
components — the whole navigation shell
|
|
80
|
-
|
|
57
|
+
components — the whole navigation shell and footer — therefore never reach your
|
|
58
|
+
stylesheet unless you point Tailwind at the built package:
|
|
81
59
|
|
|
82
60
|
```css
|
|
83
61
|
@import "tailwindcss";
|
|
@@ -85,18 +63,13 @@ never reach your stylesheet unless you point Tailwind at the package's sources:
|
|
|
85
63
|
@source "../../../node_modules/@owlmeans/web-panel/src";
|
|
86
64
|
```
|
|
87
65
|
|
|
88
|
-
Adjust the relative depth to your own layout
|
|
89
|
-
|
|
90
|
-
into, and a linked `node_modules` entry resolves into a monorepo whose
|
|
91
|
-
`.gitignore` covers every package build directory — a `build` source there scans
|
|
92
|
-
zero files and reports nothing, while the UI renders half-styled with nothing to
|
|
93
|
-
blame. `src` is tracked in the repository and ships in the published tarball, so
|
|
94
|
-
one path serves a linked checkout and an npm install alike.
|
|
66
|
+
Adjust the relative depth to your own layout; the target is this package's
|
|
67
|
+
installed `src` directory.
|
|
95
68
|
|
|
96
69
|
## Navigation shell
|
|
97
70
|
|
|
98
71
|
`NavLayout` is the standard application shell — header, section menu, the active
|
|
99
|
-
section's screen menu, content, footer. A layout entrypoint
|
|
72
|
+
section's screen menu, content, footer. A layout entrypoint binds a component
|
|
100
73
|
that renders it and nothing else; the matched screen arrives as `children`.
|
|
101
74
|
|
|
102
75
|
```tsx
|
|
@@ -218,7 +191,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
218
191
|
your project's skill store (`.agents/skills/`):
|
|
219
192
|
|
|
220
193
|
```sh
|
|
221
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
194
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.15
|
|
222
195
|
```
|
|
223
196
|
|
|
224
197
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/web-panel",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-09-
|
|
4
|
+
"version": "0.1.18-rc.35",
|
|
5
|
+
"generatedAt": "2026-09-12T08:39:52.738Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -8,7 +8,7 @@ user-invocable: false
|
|
|
8
8
|
# @owlmeans/web-panel
|
|
9
9
|
|
|
10
10
|
**Layer:** Web (React)
|
|
11
|
-
**Install:** `"@owlmeans/web-panel": "^0.1.18-rc.
|
|
11
|
+
**Install:** `"@owlmeans/web-panel": "^0.1.18-rc.35"` in `dependencies`
|
|
12
12
|
|
|
13
13
|
## Key Exports
|
|
14
14
|
|
|
@@ -34,7 +34,7 @@ user-invocable: false
|
|
|
34
34
|
| `useBreakPoint()` | The current Tailwind breakpoint name, tracked on `resize` (`lg` when there is no `window`) |
|
|
35
35
|
| `useMapBreakpoint(map, def?, breakpoint?)` | The `map` entry for the current breakpoint (or for the `breakpoint` passed), falling back to `def`. It **throws a `SyntaxError`** when neither yields a value, so give it a `def` or cover every breakpoint |
|
|
36
36
|
| Re-exports from `@owlmeans/client-panel` | Cross-platform panel primitives, incl. `usePanelNav` and the `PanelNav*` types |
|
|
37
|
-
| Re-exports from `@owlmeans/client` / `@owlmeans/client-entrypoint` / `@owlmeans/route` | `
|
|
37
|
+
| Re-exports from `@owlmeans/client` / `@owlmeans/client-entrypoint` / `@owlmeans/route` | `bind`, `bindAll`, `bindScreen`, `handler`, `provideRequest`, `stab`, `route`, `croute`, `frontend`, `guard`, `useNavigate`, `useEntrypoint`, `useValue` |
|
|
38
38
|
| Re-exports from the surrounding layers | `config`, `service`, `addWebService`, `AppType` / `HOME` / `ROOT` / `BASE` / `GUEST`, `DISPATCHER`, `CAUTHEN_FLOW_ENTER`, `DAUTH_GUARD`, `setupExternalAuthentication`, `Dispatcher`, `appendWebAuthService`, `flow` / `configureFlows` / `useFlow` / `FLOW_PARAM` / `SERVICE_PARAM`, `useI18n*` / `useLanguage` / `composePrefix`, `addI18nApp` / `addI18nLib` / `SUPPORTED_LNGS` |
|
|
39
39
|
|
|
40
40
|
## Subpath Exports
|
|
@@ -67,7 +67,7 @@ entrypoint binds to exactly the one context it was appended to.
|
|
|
67
67
|
|
|
68
68
|
### Navigation — `NavLayout`
|
|
69
69
|
|
|
70
|
-
`NavLayout` is the application shell. A layout entrypoint
|
|
70
|
+
`NavLayout` is the application shell. A layout entrypoint binds a component that renders it and
|
|
71
71
|
nothing else; the matched screen arrives as `children`. Keep the navigation as data in its own
|
|
72
72
|
module (`src/nav.ts`) so screens, entrypoints and the shell all read the same aliases.
|
|
73
73
|
|
|
@@ -166,8 +166,8 @@ Rules that make the shell behave:
|
|
|
166
166
|
- **A parent route needs a `default: true` child.** A frontend entrypoint that has children but no
|
|
167
167
|
child declared `default: true` renders blank at its own path — give a grouping screen an index
|
|
168
168
|
child at `'/'`.
|
|
169
|
-
- **Vendor `navigation-menu`.** `SideNav` builds on the
|
|
170
|
-
`navigation-menu` primitive — see the
|
|
169
|
+
- **Vendor `navigation-menu`.** `SideNav` builds on the package-local `Button`; `TopNav` uses the
|
|
170
|
+
package-local shadcn `navigation-menu` primitive — see the package-boundary rule below.
|
|
171
171
|
|
|
172
172
|
### Menus — `PanelMenu`
|
|
173
173
|
|
|
@@ -352,20 +352,19 @@ A re-export does not move Tailwind class strings, so a consumer adds a second `@
|
|
|
352
352
|
`@owlmeans/web-consent` alongside this package's — pointing at **`src`**, for the reason spelled out
|
|
353
353
|
under *Consumer setup* below. Without it the dialog renders half-styled.
|
|
354
354
|
|
|
355
|
-
## Consumer setup —
|
|
355
|
+
## Consumer setup — package boundary and Tailwind
|
|
356
356
|
|
|
357
|
-
`web-panel`
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
357
|
+
`web-panel` ships its shadcn primitives and `cn` helper as private implementation files under its
|
|
358
|
+
own `build/@/` tree. Package source imports them only through relative specifiers; it must never
|
|
359
|
+
emit an absolute `@/…` import, because that alias belongs to the consuming application and makes a
|
|
360
|
+
fresh installation depend on unrelated files. Consumers import the public `cn` export when needed
|
|
361
|
+
and do not vendor this package's UI primitives.
|
|
362
362
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
specifier is emitted verbatim and would resolve back to the consumer's file.
|
|
363
|
+
Consumers still supply the package's peer dependencies: the Radix primitives (`label`,
|
|
364
|
+
`navigation-menu`, `progress`, `separator`, `slot`) plus React, Tailwind and the usual utility
|
|
365
|
+
libraries. A consumer may have its own shadcn `@` alias, but it is unrelated to this package.
|
|
367
366
|
|
|
368
|
-
Then point Tailwind at the installed package's **`src
|
|
367
|
+
Then point Tailwind at the installed package's **`src`** directory. Its oxide scanner reads the CSS root
|
|
369
368
|
plus `@source` directives only, and excludes `node_modules` — so classes that exist **only** inside
|
|
370
369
|
`web-panel` components (the whole navigation shell and footer) never reach the stylesheet, and the
|
|
371
370
|
app renders an unstyled menu. In the app's Tailwind entry:
|
|
@@ -376,12 +375,8 @@ app renders an unstyled menu. In the app's Tailwind entry:
|
|
|
376
375
|
@source "../../../node_modules/@owlmeans/web-panel/src";
|
|
377
376
|
```
|
|
378
377
|
|
|
379
|
-
Adjust the relative depth to your own layout.
|
|
380
|
-
|
|
381
|
-
entry resolves into a monorepo whose `.gitignore` covers every package build directory — a `build`
|
|
382
|
-
source there scans zero files and reports nothing, while the shell renders unstyled with nothing to
|
|
383
|
-
blame. `src` is tracked in the repository and ships in the published tarball, so one path serves a
|
|
384
|
-
linked checkout and an npm install alike.
|
|
378
|
+
Adjust the relative depth to your own layout. Source ships in the published tarball and is tracked
|
|
379
|
+
in a linked workspace, so it is the reliable scan target in both modes.
|
|
385
380
|
|
|
386
381
|
## Depends On
|
|
387
382
|
|
|
@@ -389,8 +384,7 @@ linked checkout and an npm install alike.
|
|
|
389
384
|
- `@owlmeans/queue` — `JobRecord` / `JobState`, read by the `./jobs` subpath
|
|
390
385
|
- Peers (app-provided): `react`, `react-dom`, `react-hook-form`, `tailwindcss`, `tailwind-merge`,
|
|
391
386
|
`clsx`, `class-variance-authority`, `lucide-react`, `ajv`, and the `@radix-ui/react-*` primitives
|
|
392
|
-
(`
|
|
393
|
-
react-router.
|
|
387
|
+
(`label`, `navigation-menu`, `progress`, `separator`, `slot`). No MUI, no react-router.
|
|
394
388
|
- `ajv-formats` is imported at module scope by the form model but is declared in no dependency
|
|
395
389
|
section of the manifest, which lists `ajv` alone. An install that does not otherwise pull it in
|
|
396
390
|
fails at import time, so declare `ajv-formats` next to `ajv` in the consuming application.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from 'class-variance-authority';
|
|
3
|
-
import { cn } from '
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
4
|
const alertVariants = cva("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
5
5
|
variants: {
|
|
6
6
|
variant: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../../../../src/@/components/ui/alert.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../../../../src/@/components/ui/alert.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AAEvC,MAAM,aAAa,GAAG,GAAG,CACvB,mOAAmO,EACnO;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,8BAA8B;YACvC,WAAW,EACT,mGAAmG;YACrG,OAAO,EACL,2FAA2F;SAC9F;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;CACF,CACF,CAAA;AAED,SAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACyD;IACjE,OAAO,CACL,2BACY,OAAO,EACjB,IAAI,EAAC,OAAO,EACZ,SAAS,EAAE,EAAE,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,KAChD,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACtE,OAAO,CACL,2BACY,aAAa,EACvB,SAAS,EAAE,EAAE,CACX,6DAA6D,EAC7D,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,SAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACoB;IAC5B,OAAO,CACL,2BACY,mBAAmB,EAC7B,SAAS,EAAE,EAAE,CACX,gGAAgG,EAChG,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Slot } from '@radix-ui/react-slot';
|
|
3
3
|
import { cva } from 'class-variance-authority';
|
|
4
|
-
import { cn } from '
|
|
4
|
+
import { cn } from '../../lib/utils.js';
|
|
5
5
|
const buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-pointer", {
|
|
6
6
|
variants: {
|
|
7
7
|
variant: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../src/@/components/ui/button.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAC3C,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../src/@/components/ui/button.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAC3C,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AAEvC,MAAM,cAAc,GAAG,GAAG,CACxB,4cAA4c,EAC5c;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EACL,kEAAkE;YACpE,WAAW,EACT,6JAA6J;YAC/J,OAAO,EACL,uIAAuI;YACzI,SAAS,EACP,wEAAwE;YAC1E,KAAK,EACH,sEAAsE;YACxE,IAAI,EAAE,iDAAiD;SACxD;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,+BAA+B;YACxC,EAAE,EAAE,+CAA+C;YACnD,EAAE,EAAE,sCAAsC;YAC1C,IAAI,EAAE,QAAQ;SACf;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;KAChB;CACF,CACF,CAAA;AAED,SAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,EACP,IAAI,EACJ,OAAO,GAAG,KAAK,EACf,GAAG,KAAK,EAIP;IACD,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAA;IAEtC,OAAO,CACL,KAAC,IAAI,iBACO,QAAQ,EAClB,SAAS,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,KACvD,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '../../lib/utils.js';
|
|
3
3
|
function Card({ className, ...props }) {
|
|
4
4
|
return (_jsx("div", { "data-slot": "card", className: cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", className), ...props }));
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/@/components/ui/card.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/@/components/ui/card.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,EAAE,EAAE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AE,CAAC,yCAAyC,EAAE,SAAS,CAAC,KAC/D,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EACf,WAAW,GACZ,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '../../lib/utils.js';
|
|
3
3
|
function Input({ className, type, ...props }) {
|
|
4
4
|
return (_jsx("input", { type: type, "data-slot": "input", className: cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", className), ...props }));
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../../src/@/components/ui/input.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../../src/@/components/ui/input.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AAEvC,SAAS,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAiC;IACzE,OAAO,CACL,gBACE,IAAI,EAAE,IAAI,eACA,OAAO,EACjB,SAAS,EAAE,EAAE,CACX,icAAic,EACjc,+EAA+E,EAC/E,wGAAwG,EACxG,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
3
|
-
import { cn } from '
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
4
|
function Label({ className, ...props }) {
|
|
5
5
|
return (_jsx(LabelPrimitive.Root, { "data-slot": "label", className: cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className), ...props }));
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../src/@/components/ui/label.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA;AAEvD,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../src/@/components/ui/label.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA;AAEvD,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AAEvC,SAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACyC;IACjD,OAAO,CACL,KAAC,cAAc,CAAC,IAAI,iBACR,OAAO,EACjB,SAAS,EAAE,EAAE,CACX,qNAAqN,EACrN,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import { ChevronDownIcon } from "lucide-react";
|
|
5
|
-
import { cn } from
|
|
5
|
+
import { cn } from '../../lib/utils.js';
|
|
6
6
|
function NavigationMenu({ className, children, viewport = true, ...props }) {
|
|
7
7
|
return (_jsxs(NavigationMenuPrimitive.Root, { "data-slot": "navigation-menu", "data-viewport": viewport, className: cn("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", className), ...props, children: [children, viewport && _jsx(NavigationMenuViewport, {})] }));
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.js","sourceRoot":"","sources":["../../../../src/@/components/ui/navigation-menu.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAA;AAC1E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"navigation-menu.js","sourceRoot":"","sources":["../../../../src/@/components/ui/navigation-menu.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAA;AAC1E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AAEvC,SAAS,cAAc,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,QAAQ,GAAG,IAAI,EACf,GAAG,KAAK,EAGT;IACC,OAAO,CACL,MAAC,uBAAuB,CAAC,IAAI,iBACjB,iBAAiB,mBACZ,QAAQ,EACvB,SAAS,EAAE,EAAE,CACX,kFAAkF,EAClF,SAAS,CACV,KACG,KAAK,aAER,QAAQ,EACR,QAAQ,IAAI,KAAC,sBAAsB,KAAG,IACV,CAChC,CAAA;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAA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V,KACG,KAAK,GACT,GACE,CACP,CAAA;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACkD;IAC1D,OAAO,CACL,KAAC,uBAAuB,CAAC,IAAI,iBACjB,sBAAsB,EAChC,SAAS,EAAE,EAAE,CACX,udAAud,EACvd,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,SAAS,uBAAuB,CAAC,EAC/B,SAAS,EACT,GAAG,KAAK,EACuD;IAC/D,OAAO,CACL,KAAC,uBAAuB,CAAC,SAAS,iBACtB,2BAA2B,EACrC,SAAS,EAAE,EAAE,CACX,8LAA8L,EAC9L,SAAS,CACV,KACG,KAAK,YAET,cAAK,SAAS,EAAC,wEAAwE,GAAG,GACxD,CACrC,CAAA;AACH,CAAC;AAED,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,0BAA0B,GAC3B,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
3
|
-
import { cn } from '
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
4
|
function Progress({ className, value, ...props }) {
|
|
5
5
|
const indeterminate = value == null;
|
|
6
6
|
return (_jsx(ProgressPrimitive.Root, { "data-slot": "progress", className: cn("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", className), value: indeterminate ? undefined : value, ...props, children: _jsx(ProgressPrimitive.Indicator, { "data-slot": "progress-indicator", "data-state": indeterminate ? 'indeterminate' : 'determinate', className: cn("bg-primary h-full w-full flex-1 transition-all", indeterminate && "absolute inset-y-0 left-0 w-1/3 animate-[progress-indeterminate_1.5s_linear_infinite]"), style: indeterminate
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.js","sourceRoot":"","sources":["../../../../src/@/components/ui/progress.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAE7D,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"progress.js","sourceRoot":"","sources":["../../../../src/@/components/ui/progress.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAE7D,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AAEvC,SAAS,QAAQ,CAAC,EAChB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EAC4C;IACpD,MAAM,aAAa,GAAG,KAAK,IAAI,IAAI,CAAA;IAEnC,OAAO,CACL,KAAC,iBAAiB,CAAC,IAAI,iBACX,UAAU,EACpB,SAAS,EAAE,EAAE,CACX,gEAAgE,EAChE,SAAS,CACV,EACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,KACpC,KAAK,YAET,KAAC,iBAAiB,CAAC,SAAS,iBAChB,oBAAoB,gBAClB,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,EAC3D,SAAS,EAAE,EAAE,CACX,gDAAgD,EAChD,aAAa,IAAI,uFAAuF,CACzG,EACD,KAAK,EACH,aAAa;gBACX,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,EAAE,SAAS,EAAE,eAAe,GAAG,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,IAAI,EAAE,GAE1D,GACqB,CAC1B,CAAA;AACH,CAAC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
3
|
-
import { cn } from '
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
4
|
function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
|
|
5
5
|
return (_jsx(SeparatorPrimitive.Root, { "data-slot": "separator", decorative: decorative, orientation: orientation, className: cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className), ...props }));
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.js","sourceRoot":"","sources":["../../../../src/@/components/ui/separator.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAE/D,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"separator.js","sourceRoot":"","sources":["../../../../src/@/components/ui/separator.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAE/D,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AAEvC,SAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAW,GAAG,YAAY,EAC1B,UAAU,GAAG,IAAI,EACjB,GAAG,KAAK,EAC6C;IACrD,OAAO,CACL,KAAC,kBAAkB,CAAC,IAAI,iBACZ,WAAW,EACrB,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,EAAE,CACX,gKAAgK,EAChK,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
export declare const entrypoints: import("@owlmeans/entrypoint").
|
|
1
|
+
export declare const entrypoints: (import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<import("@owlmeans/entrypoint").OpenRequest, import("@owlmeans/entrypoint").OpenValue>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
|
|
2
|
+
body: import("@owlmeans/auth").AllowanceRequest;
|
|
3
|
+
}, import("@owlmeans/auth").AllowanceResponse>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
|
|
4
|
+
body: import("@owlmeans/auth").AuthCredentials;
|
|
5
|
+
}, import("@owlmeans/auth").AuthToken>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
|
|
6
|
+
query: Partial<import("@owlmeans/auth").AuthToken>;
|
|
7
|
+
}, undefined>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
|
|
8
|
+
query: import("@owlmeans/auth").AuthToken;
|
|
9
|
+
}, undefined>>)[];
|
|
2
10
|
//# sourceMappingURL=entrypoints.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../../src/auth/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../../src/auth/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;;;iBAAuC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { entrypoints as
|
|
2
|
-
import { entrypoints as
|
|
3
|
-
export const entrypoints = [...
|
|
1
|
+
import { entrypoints as authBindings } from '@owlmeans/client-auth/manager/entrypoints';
|
|
2
|
+
import { entrypoints as configBindings } from '@owlmeans/api-config-client';
|
|
3
|
+
export const entrypoints = [...authBindings, ...configBindings];
|
|
4
4
|
//# sourceMappingURL=entrypoints.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entrypoints.js","sourceRoot":"","sources":["../../src/auth/entrypoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,
|
|
1
|
+
{"version":3,"file":"entrypoints.js","sourceRoot":"","sources":["../../src/auth/entrypoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,2CAA2C,CAAA;AACvF,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAE3E,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAG,YAAY,EAAE,GAAG,cAAc,CAAC,CAAA"}
|
package/build/auth/exports.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ export { handler, useEntrypoint, useValue, useNavigate } from '@owlmeans/client'
|
|
|
2
2
|
export type { Navigator } from '@owlmeans/client';
|
|
3
3
|
export { config } from '@owlmeans/client-context';
|
|
4
4
|
export { service } from '@owlmeans/config';
|
|
5
|
-
export {
|
|
5
|
+
export { EntrypointOutcome } from '@owlmeans/entrypoint';
|
|
6
6
|
export type { AbstractRequest } from '@owlmeans/entrypoint';
|
|
7
7
|
export { addWebService } from '@owlmeans/client-config';
|
|
8
|
-
export {
|
|
8
|
+
export { bind, bindAll, bindScreen, provideRequest, stab } from '@owlmeans/client-entrypoint';
|
|
9
9
|
export type { ClientEntrypoint as Module, ClientRequest as Request } from '@owlmeans/client-entrypoint';
|
|
10
10
|
export { route as croute } from '@owlmeans/client-route';
|
|
11
11
|
export { route, frontend, RouteMethod } from '@owlmeans/route';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../src/auth/exports.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAChF,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"exports.d.ts","source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,CAAA;AAC/D,YAAY,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,WAAW,IAAI,UAAU,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC7E,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA"}
|
package/build/auth/exports.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { handler, useEntrypoint, useValue, useNavigate } from '@owlmeans/client';
|
|
2
2
|
export { config } from '@owlmeans/client-context';
|
|
3
3
|
export { service } from '@owlmeans/config';
|
|
4
|
-
export {
|
|
4
|
+
export { EntrypointOutcome } from '@owlmeans/entrypoint';
|
|
5
5
|
export { addWebService } from '@owlmeans/client-config';
|
|
6
|
-
export {
|
|
6
|
+
export { bind, bindAll, bindScreen, provideRequest, stab } from '@owlmeans/client-entrypoint';
|
|
7
7
|
export { route as croute } from '@owlmeans/client-route';
|
|
8
8
|
export { route, frontend, RouteMethod } from '@owlmeans/route';
|
|
9
9
|
export { DEFAULT_ALIAS as DAUTH_GUARD } from '@owlmeans/client-auth';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/auth/exports.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/auth/exports.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAA;AAE7F,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE9D,OAAO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAEpE,cAAc,6BAA6B,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAEnC,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAG/D,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAEnE,OAAO,EAAE,WAAW,IAAI,UAAU,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC7E,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -4,7 +4,7 @@ import { AuthenticationStage, DISPATCHER } from '@owlmeans/auth';
|
|
|
4
4
|
import { Form } from '../../components/form/index.js';
|
|
5
5
|
import { TextInput } from '../../components/form/text/index.js';
|
|
6
6
|
import { useCallback } from 'react';
|
|
7
|
-
import { Progress } from '
|
|
7
|
+
import { Progress } from '../../@/components/ui/progress.js';
|
|
8
8
|
import { BlockScaling } from '@owlmeans/client-panel';
|
|
9
9
|
import { useContext } from '@owlmeans/web-client';
|
|
10
10
|
export const Ed22519BasicAuthUIPlugin = ({ type, stage, control }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic-ed25519.js","sourceRoot":"","sources":["../../../src/auth/plugins/basic-ed25519.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,kCAAkC,IAAI,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAClG,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAA;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"basic-ed25519.js","sourceRoot":"","sources":["../../../src/auth/plugins/basic-ed25519.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,kCAAkC,IAAI,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAClG,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAA;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,MAAM,CAAC,MAAM,wBAAwB,GAA2B,C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CAAC;IAED,MAAM,GAAG,GAAG,MAAM,OAAO,CAAC,UAAU,CAAwC,UAAU,CAAC;SACpF,GAAG,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAA;IAExB,OAAO,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,GAAG,mBAAmB,CAAC,aAAa,CAAC,CAAA;IACrE,oEAAoE;IACpE,6CAA6C;IAC7C,+FAA+F;IAC/F,UAAU,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,GAAG,EAAE,GAAG,CAAC,CAAA;AACnD,CAAC,CAAA"}
|
|
@@ -6,7 +6,7 @@ import ReCAPTCHA from 'react-google-recaptcha';
|
|
|
6
6
|
import { useCallback, useState } from 'react';
|
|
7
7
|
import { PanelContext } from '@owlmeans/client-panel';
|
|
8
8
|
import { Text } from '../../components/text.js';
|
|
9
|
-
import { Progress } from '
|
|
9
|
+
import { Progress } from '../../@/components/ui/progress.js';
|
|
10
10
|
import { useContext } from '@owlmeans/web-client';
|
|
11
11
|
export const ReCaptchaAuthUIPlugin = ({ stage, control }) => {
|
|
12
12
|
const context = useContext();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"re-captcha.js","sourceRoot":"","sources":["../../../src/auth/plugins/re-captcha.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAC9G,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAClD,OAAO,SAAS,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM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B,UAAU,CAAC;SAC1E,GAAG,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAA;IAE5B,OAAO,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,GAAG,mBAAmB,CAAC,aAAa,CAAC,CAAA;IAErE,oEAAoE;IACpE,6CAA6C;IAC7C,+FAA+F;IAC/F,UAAU,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,GAAG,EAAE,GAAG,CAAC,CAAA;AACnD,CAAC,CAAA"}
|
|
@@ -10,7 +10,7 @@ import { BlockScaling } from '@owlmeans/client-panel';
|
|
|
10
10
|
import { Status } from '../../components/status.js';
|
|
11
11
|
import { Button } from '../../components/form/button/component.js';
|
|
12
12
|
import { QRCodeCanvas } from 'qrcode.react';
|
|
13
|
-
import { Progress } from '
|
|
13
|
+
import { Progress } from '../../@/components/ui/progress.js';
|
|
14
14
|
/**
|
|
15
15
|
* Read a CSS variable from `:root` (consumer-owned theme). Falls back to
|
|
16
16
|
* a sane default if the variable is undefined.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tunnel-consumer.js","sourceRoot":"","sources":["../../../src/auth/plugins/tunnel-consumer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAGpD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAA;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAA;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,O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IAEzD,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,mBAAmB,CAAC,YAAY;YACnC,OAAO,MAAC,IAAI,IAAC,QAAQ,QAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,aACnF,cAAK,SAAS,EAAC,eAAe,YAC3B,IAAI,EAAE,KAAK,IAAI,IAAI,IAAI,KAAC,YAAY,IAAC,IAAI,EAAE,GAAG,EAC7C,KAAK,EAAE,GAAG,MAAM,GAAG,IAAI,EAAE,KAAK,IAAI,EAAE,EAAE,EACtC,OAAO,EAAE,EAAE,EACX,OAAO,EAAE,EAAE,GACX,GACE,EACN,KAAC,SAAS,IAAC,IAAI,EAAC,KAAK,EAAC,KAAK,QAAC,IAAI,SAAG,IAC9B,CAAA;QACT,KAAK,mBAAmB,CAAC,KAAK;YAC5B,OAAO,KAAC,KAAK,IAAC,UAAU,EAAE,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CACrE,KAAC,MAAM,IAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,KAAK,IAAI,EAAE,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAA,CAAC,CAAC,GAAI,YAE7E,KAAC,MAAM,IAAC,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,EAAE,EAAE,KAAK,GAAI,GACrC,CAAA;IACZ,CAAC;IAED,OAAO,KAAC,QAAQ,IAAC,SAAS,EAAC,iBAAiB,GAAG,CAAA;AACjD,CAAC,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { PanelContext, usePanelHelper } from '@owlmeans/client-panel';
|
|
4
|
-
import { Card, CardContent, CardFooter } from '
|
|
5
|
-
import { cn } from '
|
|
4
|
+
import { Card, CardContent, CardFooter } from '../@/components/ui/card.js';
|
|
5
|
+
import { cn } from '../@/lib/utils.js';
|
|
6
6
|
import { scalingToStyles } from './helper.js';
|
|
7
7
|
export const Block = ({ children, horizontal, vertical, Actions, i18n, className, style }) => {
|
|
8
8
|
const scaling = useMemo(() => scalingToStyles(horizontal, vertical), [horizontal, vertical]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block.js","sourceRoot":"","sources":["../../src/components/block.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACrE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"block.js","sourceRoot":"","sources":["../../src/components/block.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACrE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAC1E,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C,MAAM,CAAC,MAAM,KAAK,GAAmB,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;IAC3G,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAA;IAC5F,MAAM,UAAU,GAAG,EAAE,GAAG,cAAc,EAAE,EAAE,GAAG,IAAI,EAAE,CAAA;IAEnD,OAAO,KAAC,YAAY,OAAK,UAAU,YACjC,MAAC,IAAI,IAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,aACnD,KAAC,WAAW,cAAE,QAAQ,GAAe,EACpC,OAAO,IAAI,IAAI,IAAI,CAClB,KAAC,UAAU,IAAC,SAAS,EAAC,2CAA2C,YAC/D,KAAC,OAAO,KAAG,GACA,CACd,IACI,GACM,CAAA;AACjB,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/components/footer/component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/components/footer/component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAK/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAqBlC,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { defaultNavTranslate, resolveNavLabel } from '@owlmeans/client-panel';
|
|
3
|
-
import {
|
|
4
|
-
import { cn } from '@/lib/utils';
|
|
3
|
+
import { cn } from '../../@/lib/utils.js';
|
|
5
4
|
import { Link } from '../link.js';
|
|
6
5
|
/**
|
|
7
6
|
* The standard footer — a row of links plus whatever the app adds as children.
|
|
@@ -16,11 +15,10 @@ export const Footer = ({ links, translate = defaultNavTranslate, children, class
|
|
|
16
15
|
return null;
|
|
17
16
|
}
|
|
18
17
|
return _jsx("footer", { className: cn('border-t py-6', className), style: style, children: _jsxs("div", { className: cn('flex flex-wrap items-center gap-4 text-sm px-4', containerClassName), children: [links?.map((link, idx) => {
|
|
19
|
-
const
|
|
20
|
-
const label = resolveNavLabel(translate, link.label, `modules.${alias ?? link.href ?? ''}`, alias ?? link.href);
|
|
18
|
+
const label = resolveNavLabel(translate, link.label, `modules.${link.alias ?? link.href ?? ''}`, link.alias ?? link.href);
|
|
21
19
|
return link.href != null
|
|
22
20
|
? _jsx(Link, { src: link.href, open: link.open, children: label }, `${link.href}:${idx}`)
|
|
23
|
-
: _jsx(Link, { module: link.alias, open: link.open, children: label }, `${alias}:${idx}`);
|
|
21
|
+
: _jsx(Link, { module: link.alias, open: link.open, children: label }, `${link.alias}:${idx}`);
|
|
24
22
|
}), children] }) });
|
|
25
23
|
};
|
|
26
24
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/footer/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/footer/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAAE,EAAE,EAAE,MAAM,sBAAsB,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAIjC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,MAAM,GAAoB,CAAC,EACtC,KAAK,EAAE,SAAS,GAAG,mBAAmB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,kBAAkB,EACvF,EAAE,EAAE;IACH,IAAI,CAAC,KAAK,IAAI,IAAI,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;QAC5D,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,iBAAQ,SAAS,EAAE,EAAE,CAAC,eAAe,EAAE,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,YACpE,eAAK,SAAS,EAAE,EAAE,CAAC,gDAAgD,EAAE,kBAAkB,CAAC,aACrF,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;oBACxB,MAAM,KAAK,GAAG,eAAe,CAC3B,SAAS,EAAE,IAAI,CAAC,KAAK,EAAE,WAAW,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAC3F,CAAA;oBAED,OAAO,IAAI,CAAC,IAAI,IAAI,IAAI;wBACtB,CAAC,CAAC,KAAC,IAAI,IAA6B,GAAG,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,YAAG,KAAK,IAA9D,GAAG,IAAI,CAAC,IAAI,IAAI,GAAG,EAAE,CAAiD;wBACnF,CAAC,CAAC,KAAC,IAAI,IAA8B,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,YAAG,KAAK,IAAnE,GAAG,IAAI,CAAC,KAAK,IAAI,GAAG,EAAE,CAAqD,CAAA;gBAC5F,CAAC,CAAC,EACD,QAAQ,IACL,GACC,CAAA;AACX,CAAC,CAAA"}
|
|
@@ -6,8 +6,8 @@ import { Loader2 } from 'lucide-react';
|
|
|
6
6
|
import { useI18nApp, useI18nLib } from '@owlmeans/client-i18n';
|
|
7
7
|
import { useContext } from '@owlmeans/client';
|
|
8
8
|
import { useFormI18n, usePanelI18n } from '@owlmeans/client-panel';
|
|
9
|
-
import { Button as UIButton } from '
|
|
10
|
-
import { cn } from '
|
|
9
|
+
import { Button as UIButton } from '../../../@/components/ui/button.js';
|
|
10
|
+
import { cn } from '../../../@/lib/utils.js';
|
|
11
11
|
/**
|
|
12
12
|
* MUI → shadcn variant mapping:
|
|
13
13
|
* contained → default
|