@owlmeans/web-panel 0.1.18-rc.69 → 0.1.18-rc.70
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 +2 -2
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/web-panel/SKILL.md +1 -1
- package/build/auth/entrypoints.d.ts +1 -9
- package/build/auth/entrypoints.d.ts.map +1 -1
- package/build/components/consts.local.d.ts +14 -0
- package/build/components/consts.local.d.ts.map +1 -0
- package/build/components/consts.local.js +26 -0
- package/build/components/consts.local.js.map +1 -0
- package/build/components/footer/credit.d.ts +2 -4
- package/build/components/footer/credit.d.ts.map +1 -1
- package/build/components/footer/credit.js +1 -1
- package/build/components/footer/credit.js.map +1 -1
- package/build/components/footer/types.d.ts +3 -0
- package/build/components/footer/types.d.ts.map +1 -1
- package/build/components/helper.d.ts.map +1 -1
- package/build/components/helper.js +1 -12
- package/build/components/helper.js.map +1 -1
- package/build/components/login/append.d.ts +1 -8
- package/build/components/login/append.d.ts.map +1 -1
- package/build/components/login/append.js.map +1 -1
- package/build/components/login/consts.d.ts +3 -0
- package/build/components/login/consts.d.ts.map +1 -0
- package/build/components/login/consts.js +3 -0
- package/build/components/login/consts.js.map +1 -0
- package/build/components/login/consts.local.d.ts +4 -0
- package/build/components/login/consts.local.d.ts.map +1 -0
- package/build/components/login/consts.local.js +8 -0
- package/build/components/login/consts.local.js.map +1 -0
- package/build/components/login/credit.d.ts +1 -8
- package/build/components/login/credit.d.ts.map +1 -1
- package/build/components/login/credit.js +1 -2
- package/build/components/login/credit.js.map +1 -1
- package/build/components/login/index.d.ts +2 -0
- package/build/components/login/index.d.ts.map +1 -1
- package/build/components/login/index.js +1 -0
- package/build/components/login/index.js.map +1 -1
- package/build/components/login/notify.d.ts +1 -1
- package/build/components/login/notify.d.ts.map +1 -1
- package/build/components/login/notify.js +1 -2
- package/build/components/login/notify.js.map +1 -1
- package/build/components/login/screen.d.ts +2 -2
- package/build/components/login/screen.d.ts.map +1 -1
- package/build/components/login/screen.js +1 -5
- package/build/components/login/screen.js.map +1 -1
- package/build/components/login/terms.d.ts +1 -9
- package/build/components/login/terms.d.ts.map +1 -1
- package/build/components/login/terms.js.map +1 -1
- package/build/components/login/types.d.ts +23 -0
- package/build/components/login/types.d.ts.map +1 -0
- package/build/components/login/types.js +2 -0
- package/build/components/login/types.js.map +1 -0
- package/build/components/nav/consts.local.d.ts +18 -0
- package/build/components/nav/consts.local.d.ts.map +1 -0
- package/build/components/nav/consts.local.js +18 -0
- package/build/components/nav/consts.local.js.map +1 -0
- package/build/components/nav/layout.d.ts +1 -1
- package/build/components/nav/layout.d.ts.map +1 -1
- package/build/components/nav/layout.js +1 -10
- package/build/components/nav/layout.js.map +1 -1
- package/build/components/nav/mobile.d.ts +1 -1
- package/build/components/nav/mobile.d.ts.map +1 -1
- package/build/components/nav/mobile.js +1 -7
- package/build/components/nav/mobile.js.map +1 -1
- package/build/components/scheme/consts.local.d.ts +2 -0
- package/build/components/scheme/consts.local.d.ts.map +1 -0
- package/build/components/scheme/consts.local.js +2 -0
- package/build/components/scheme/consts.local.js.map +1 -0
- package/build/components/scheme/hook.d.ts.map +1 -1
- package/build/components/scheme/hook.js +3 -2
- package/build/components/scheme/hook.js.map +1 -1
- package/build/components/scheme/types.d.ts +1 -1
- package/build/components/scheme/types.d.ts.map +1 -1
- package/build/components/text.d.ts.map +1 -1
- package/build/components/text.js +1 -12
- package/build/components/text.js.map +1 -1
- package/build/components/toaster.d.ts +2 -2
- package/build/components/toaster.d.ts.map +1 -1
- package/build/components/toaster.js +1 -1
- package/build/components/toaster.js.map +1 -1
- package/build/components/uploader/consts.local.d.ts +4 -0
- package/build/components/uploader/consts.local.d.ts.map +1 -0
- package/build/components/uploader/consts.local.js +6 -0
- package/build/components/uploader/consts.local.js.map +1 -0
- package/build/components/uploader/image.d.ts.map +1 -1
- package/build/components/uploader/image.js +1 -5
- package/build/components/uploader/image.js.map +1 -1
- package/build/consent/component.d.ts +1 -1
- package/build/consent/component.d.ts.map +1 -1
- package/build/consent/component.js +1 -8
- package/build/consent/component.js.map +1 -1
- package/build/consent/consts.local.d.ts +9 -0
- package/build/consent/consts.local.d.ts.map +1 -0
- package/build/consent/consts.local.js +9 -0
- package/build/consent/consts.local.js.map +1 -0
- package/build/consent/types.local.d.ts +6 -0
- package/build/consent/types.local.d.ts.map +1 -0
- package/build/consent/types.local.js +2 -0
- package/build/consent/types.local.js.map +1 -0
- package/build/entrypoints.d.ts +1 -7
- package/build/entrypoints.d.ts.map +1 -1
- package/build/main.d.ts +1 -4
- package/build/main.d.ts.map +1 -1
- package/build/main.js.map +1 -1
- package/build/permission/toast.d.ts +1 -5
- package/build/permission/toast.d.ts.map +1 -1
- package/build/permission/toast.js.map +1 -1
- package/build/permission/types.d.ts +6 -0
- package/build/permission/types.d.ts.map +1 -0
- package/build/permission/types.js +2 -0
- package/build/permission/types.js.map +1 -0
- package/build/scheme/consts.d.ts +8 -0
- package/build/scheme/consts.d.ts.map +1 -0
- package/build/scheme/consts.js +8 -0
- package/build/scheme/consts.js.map +1 -0
- package/build/scheme/index.d.ts +3 -2
- package/build/scheme/index.d.ts.map +1 -1
- package/build/scheme/index.js +2 -1
- package/build/scheme/index.js.map +1 -1
- package/build/scheme/scheme.d.ts +1 -9
- package/build/scheme/scheme.d.ts.map +1 -1
- package/build/scheme/scheme.js +1 -7
- package/build/scheme/scheme.js.map +1 -1
- package/build/scheme/types.d.ts +3 -0
- package/build/scheme/types.d.ts.map +1 -0
- package/build/scheme/types.js +2 -0
- package/build/scheme/types.js.map +1 -0
- package/build/types.d.ts +4 -1
- package/build/types.d.ts.map +1 -1
- package/package.json +52 -52
- package/src/components/consts.local.ts +29 -0
- package/src/components/footer/credit.tsx +3 -7
- package/src/components/footer/types.ts +4 -0
- package/src/components/helper.ts +1 -13
- package/src/components/login/append.ts +1 -7
- package/src/components/login/consts.local.ts +10 -0
- package/src/components/login/consts.ts +2 -0
- package/src/components/login/credit.tsx +2 -10
- package/src/components/login/index.ts +2 -0
- package/src/components/login/notify.ts +2 -7
- package/src/components/login/screen.tsx +3 -10
- package/src/components/login/terms.tsx +2 -13
- package/src/components/login/types.ts +24 -0
- package/src/components/nav/consts.local.ts +19 -0
- package/src/components/nav/layout.tsx +2 -13
- package/src/components/nav/mobile.tsx +2 -11
- package/src/components/scheme/consts.local.ts +1 -0
- package/src/components/scheme/hook.ts +4 -6
- package/src/components/scheme/types.ts +1 -1
- package/src/components/text.tsx +1 -13
- package/src/components/toaster.tsx +3 -6
- package/src/components/uploader/consts.local.ts +7 -0
- package/src/components/uploader/image.tsx +1 -5
- package/src/consent/component.tsx +3 -15
- package/src/consent/consts.local.ts +10 -0
- package/src/consent/types.local.ts +6 -0
- package/src/main.tsx +2 -6
- package/src/permission/toast.tsx +1 -6
- package/src/permission/types.ts +5 -0
- package/src/scheme/consts.ts +8 -0
- package/src/scheme/index.ts +3 -4
- package/src/scheme/scheme.ts +2 -11
- package/src/scheme/types.ts +2 -0
- package/src/types.ts +5 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ but never started.
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
bun add @owlmeans/web-panel@^0.1.18-rc.
|
|
14
|
+
bun add @owlmeans/web-panel@^0.1.18-rc.70
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Peer requirements (the consuming app provides these): `react`, `react-dom`,
|
|
@@ -496,7 +496,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
496
496
|
your project's skill store (`.agents/skills/`):
|
|
497
497
|
|
|
498
498
|
```sh
|
|
499
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
499
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.48
|
|
500
500
|
```
|
|
501
501
|
|
|
502
502
|
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-10-
|
|
4
|
+
"version": "0.1.18-rc.70",
|
|
5
|
+
"generatedAt": "2026-10-05T08:32:19.135Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
export declare const entrypoints: (import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").
|
|
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>>)[];
|
|
1
|
+
export declare const entrypoints: (import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<any> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<import("@owlmeans/entrypoint").OpenRequest, import("@owlmeans/entrypoint").OpenValue>>)[];
|
|
10
2
|
//# 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,mRAAuC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TextVariant } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Tailwind default breakpoints — kept stable across consumers. If a consumer
|
|
4
|
+
* has customised Tailwind breakpoints in their app config, override this
|
|
5
|
+
* via a wrapping hook in the app.
|
|
6
|
+
*/
|
|
7
|
+
export declare const BREAKPOINTS: Array<{
|
|
8
|
+
name: string;
|
|
9
|
+
min: number;
|
|
10
|
+
max: number;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const variantClasses: Record<TextVariant, string>;
|
|
13
|
+
export declare const DARK_CLASS = "dark";
|
|
14
|
+
//# sourceMappingURL=consts.local.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.local.d.ts","sourceRoot":"","sources":["../../src/components/consts.local.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAMzE,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAWtD,CAAA;AAED,eAAO,MAAM,UAAU,SAAS,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tailwind default breakpoints — kept stable across consumers. If a consumer
|
|
3
|
+
* has customised Tailwind breakpoints in their app config, override this
|
|
4
|
+
* via a wrapping hook in the app.
|
|
5
|
+
*/
|
|
6
|
+
export const BREAKPOINTS = [
|
|
7
|
+
{ name: 'xs', min: 0, max: 639 },
|
|
8
|
+
{ name: 'sm', min: 640, max: 767 },
|
|
9
|
+
{ name: 'md', min: 768, max: 1023 },
|
|
10
|
+
{ name: 'lg', min: 1024, max: 1279 },
|
|
11
|
+
{ name: 'xl', min: 1280, max: Number.POSITIVE_INFINITY },
|
|
12
|
+
];
|
|
13
|
+
export const variantClasses = {
|
|
14
|
+
h1: 'scroll-m-20 text-4xl font-extrabold tracking-tight',
|
|
15
|
+
h2: 'scroll-m-20 text-3xl font-semibold tracking-tight',
|
|
16
|
+
h3: 'scroll-m-20 text-2xl font-semibold tracking-tight',
|
|
17
|
+
h4: 'scroll-m-20 text-xl font-semibold tracking-tight',
|
|
18
|
+
p: 'leading-7',
|
|
19
|
+
lead: 'text-xl text-muted-foreground',
|
|
20
|
+
large: 'text-lg font-semibold',
|
|
21
|
+
small: 'text-sm font-medium leading-none',
|
|
22
|
+
muted: 'text-sm text-muted-foreground',
|
|
23
|
+
blockquote: 'mt-6 border-l-2 pl-6 italic',
|
|
24
|
+
};
|
|
25
|
+
export const DARK_CLASS = 'dark';
|
|
26
|
+
//# sourceMappingURL=consts.local.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.local.js","sourceRoot":"","sources":["../../src/components/consts.local.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAsD;IAC5E,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAK,GAAG,EAAE,GAAG,EAAG;IACpC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAG,GAAG,EAAE,GAAG,EAAG;IACpC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAG,GAAG,EAAE,IAAI,EAAE;IACpC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE;IACpC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,CAAC,iBAAiB,EAAE;CACzD,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAgC;IACzD,EAAE,EAAE,oDAAoD;IACxD,EAAE,EAAE,mDAAmD;IACvD,EAAE,EAAE,mDAAmD;IACvD,EAAE,EAAE,kDAAkD;IACtD,CAAC,EAAE,WAAW;IACd,IAAI,EAAE,+BAA+B;IACrC,KAAK,EAAE,uBAAuB;IAC9B,KAAK,EAAE,kCAAkC;IACzC,KAAK,EAAE,+BAA+B;IACtC,UAAU,EAAE,6BAA6B;CAC1C,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAA"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
|
-
import type
|
|
3
|
-
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
2
|
+
import { type ResolvedCredit } from '@owlmeans/client-auth/login';
|
|
3
|
+
import type { ShellCreditProps } from './types.js';
|
|
6
4
|
/**
|
|
7
5
|
* The platform credit and the owner's own copyright notice, resolved from the same
|
|
8
6
|
* `security.auth.login.credit` configuration the sign-in screen reads (`resolveCredit`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit.d.ts","sourceRoot":"","sources":["../../../src/components/footer/credit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"credit.d.ts","sourceRoot":"","sources":["../../../src/components/footer/credit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAIhF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,QAAO,cAMjC,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAsB5C,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { useContext } from '@owlmeans/client';
|
|
|
3
3
|
import { useI18nLib } from '@owlmeans/client-i18n';
|
|
4
4
|
import { resolveCredit } from '@owlmeans/client-auth/login';
|
|
5
5
|
import { cn } from '../../@/lib/utils.js';
|
|
6
|
-
import { OWLMEANS_URL } from '../login/
|
|
6
|
+
import { OWLMEANS_URL } from '../login/consts.js';
|
|
7
7
|
/**
|
|
8
8
|
* The platform credit and the owner's own copyright notice, resolved from the same
|
|
9
9
|
* `security.auth.login.credit` configuration the sign-in screen reads (`resolveCredit`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit.js","sourceRoot":"","sources":["../../../src/components/footer/credit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,OAAO,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"credit.js","sourceRoot":"","sources":["../../../src/components/footer/credit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,OAAO,EAAE,aAAa,EAAuB,MAAM,6BAA6B,CAAA;AAEhF,OAAO,EAAE,EAAE,EAAE,MAAM,sBAAsB,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAGjD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAmB,EAAE;IACjD,MAAM,OAAO,GAAG,UAAU,EAAE,CAAA;IAC5B,MAAM,GAAG,GAAI,OAAO,CAAC,GAAoB,CAAC,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,CAAA;IACvE,MAAM,KAAK,GAAI,OAAO,CAAC,GAAoB,CAAC,KAAK,CAAA;IAEjD,OAAO,aAAa,CAAC,GAAG,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;AACvD,CAAC,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;IACjE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,CAAA;IAC5C,MAAM,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAE5B,IAAI,CAAC,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,wCAEL,SAAS,EAAE,EAAE,CAAC,2CAA2C,EAAE,SAAS,CAAC,aAEpE,IAAI,IAAI,IAAI,IAAI,yBAAO,IAAI,GAAQ,EACnC,SAAS,IAAI,IAAI,IAAI,IAAI,IAAI,8BAAkB,MAAM,yBAAW,EAChE,SAAS,IAAI,wCAEZ,IAAI,EAAE,YAAY,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,EAC7D,SAAS,EAAC,0DAA0D,YAEnE,CAAC,CAAC,sBAAsB,EAAE,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC,GACjE,IACF,CAAA;AACN,CAAC,CAAA"}
|
|
@@ -24,4 +24,7 @@ export interface FooterProps extends PropsWithChildren<StyledProps> {
|
|
|
24
24
|
/** See {@link NavTranslate} — omitted, literal labels and humanized aliases are used. */
|
|
25
25
|
translate?: NavTranslate;
|
|
26
26
|
}
|
|
27
|
+
export interface ShellCreditProps {
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
27
30
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/footer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK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,CAAC,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAA;IAC/B,iGAAiG;IACjG,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,yFAAyF;IACzF,SAAS,CAAC,EAAE,YAAY,CAAA;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/components/helper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/components/helper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAGrD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,gBACb,YAAY,aACd,YAAY,KACtB,MA4BF,CAAA;AAWD,eAAO,MAAM,aAAa,QAAO,MAchC,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,CAAC,OAAO,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,eAAe,MAAM,KAAG,CAQ1F,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
2
|
import { BlockScaling } from '@owlmeans/client-panel';
|
|
3
|
+
import { BREAKPOINTS } from './consts.local.js';
|
|
3
4
|
/**
|
|
4
5
|
* Map MUI's previous `scalingToStyles(horizontal, vertical, theme): SxProps`
|
|
5
6
|
* to a Tailwind utility class composition string. Consumers compose this
|
|
@@ -36,18 +37,6 @@ export const scalingToStyles = (horizontal, vertical) => {
|
|
|
36
37
|
}
|
|
37
38
|
return parts.join(' ');
|
|
38
39
|
};
|
|
39
|
-
/**
|
|
40
|
-
* Tailwind default breakpoints — kept stable across consumers. If a consumer
|
|
41
|
-
* has customised Tailwind breakpoints in their app config, override this
|
|
42
|
-
* via a wrapping hook in the app.
|
|
43
|
-
*/
|
|
44
|
-
const BREAKPOINTS = [
|
|
45
|
-
{ name: 'xs', min: 0, max: 639 },
|
|
46
|
-
{ name: 'sm', min: 640, max: 767 },
|
|
47
|
-
{ name: 'md', min: 768, max: 1023 },
|
|
48
|
-
{ name: 'lg', min: 1024, max: 1279 },
|
|
49
|
-
{ name: 'xl', min: 1280, max: Number.POSITIVE_INFINITY },
|
|
50
|
-
];
|
|
51
40
|
const matchBreakpoint = (width) => {
|
|
52
41
|
for (const bp of BREAKPOINTS) {
|
|
53
42
|
if (width >= bp.min && width <= bp.max) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../src/components/helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../src/components/helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,UAAyB,EACzB,QAAuB,EACf,EAAE;IACV,MAAM,KAAK,GAAa,EAAE,CAAA;IAE1B,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,YAAY,CAAC,IAAI;YACpB,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,gBAAgB,EAAE,MAAM,CAAC,CAAA;YACnD,MAAK;QACP,KAAK,YAAY,CAAC,IAAI;YACpB,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;YAC9B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AAC,CAAC,CAAA;QAChE,QAAQ,EAAE,CAAA;QACV,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;QAC3C,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;IAC7D,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,EAAE,CAAA;AACX,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAI,GAAsB,EAAE,GAAO,EAAE,UAAmB,EAAK,EAAE;IAC7F,MAAM,WAAW,GAAG,aAAa,EAAE,CAAA;IACnC,UAAU,GAAG,UAAU,IAAI,WAAW,CAAA;IACtC,MAAM,MAAM,GAAG,GAAG,CAAC,UAAU,CAAC,IAAI,GAAG,CAAA;IACrC,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;QACnB,MAAM,IAAI,WAAW,CAAC,kDAAkD,UAAU,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;IACzI,CAAC;IACD,OAAO,MAAW,CAAA;AACpB,CAAC,CAAA"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import type { LoginScreenProps } from '@owlmeans/client-auth/login';
|
|
3
1
|
import type { BasicConfig, BasicContext } from '@owlmeans/context';
|
|
4
|
-
|
|
5
|
-
/** The one thing an application is expected to supply. */
|
|
6
|
-
Logo?: ComponentType<{
|
|
7
|
-
className?: string;
|
|
8
|
-
}> | ReactNode;
|
|
9
|
-
}
|
|
2
|
+
import type { LoginScreenSetup } from './types.js';
|
|
10
3
|
/**
|
|
11
4
|
* Give this context the shadcn sign-in screen, with the application's own logo and copy on it.
|
|
12
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append.d.ts","sourceRoot":"","sources":["../../../src/components/login/append.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"append.d.ts","sourceRoot":"","sources":["../../../src/components/login/append.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAIlE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,OAC3E,CAAC,UAAU,gBAAgB,KAC/B,CAaF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append.js","sourceRoot":"","sources":["../../../src/components/login/append.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"append.js","sourceRoot":"","sources":["../../../src/components/login/append.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAGhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAGhD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,GAAM,EAAE,KAAwB,EAC7B,EAAE;IACL,MAAM,OAAO,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAA;IACvC,OAAO,CAAC,cAAc,CACpB,KAAK,IAAI,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC;QAC5C,CAAC,CAAC,oBAAoB;QACtB,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,CAC1D,CAAA;IACD,+FAA+F;IAC/F,8FAA8F;IAC9F,yBAAyB;IACzB,OAAO,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAA8B,CAAC,CAAC,CAAA;IAEhF,OAAO,GAAG,CAAA;AACZ,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/components/login/consts.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,eAAO,MAAM,YAAY,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../src/components/login/consts.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,MAAM,CAAC,MAAM,YAAY,GAAG,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const AUTH_RESOURCE = "auth";
|
|
2
|
+
export declare const POPUP_BLOCKED_FALLBACK = "The sign-in window was blocked. Click the blocked pop-up icon in your browser's address bar to open it.";
|
|
3
|
+
export declare const VARIANT: Record<string, 'default' | 'outline' | 'link'>;
|
|
4
|
+
//# sourceMappingURL=consts.local.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.local.d.ts","sourceRoot":"","sources":["../../../src/components/login/consts.local.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,SAAS,CAAA;AAEnC,eAAO,MAAM,sBAAsB,4GACwE,CAAA;AAE3G,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAIlE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const AUTH_RESOURCE = 'auth';
|
|
2
|
+
export const POPUP_BLOCKED_FALLBACK = "The sign-in window was blocked. Click the blocked pop-up icon in your browser's address bar to open it.";
|
|
3
|
+
export const VARIANT = {
|
|
4
|
+
primary: 'default',
|
|
5
|
+
secondary: 'outline',
|
|
6
|
+
link: 'link',
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=consts.local.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.local.js","sourceRoot":"","sources":["../../../src/components/login/consts.local.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAA;AAEnC,MAAM,CAAC,MAAM,sBAAsB,GACjC,yGAAyG,CAAA;AAE3G,MAAM,CAAC,MAAM,OAAO,GAAmD;IACrE,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE,MAAM;CACb,CAAA"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
/** Where "Powered by OwlMeans" leads, on the sign-in screen and in every shell footer alike. */
|
|
4
|
-
export declare const OWLMEANS_URL = "https://owlmeans.com";
|
|
5
|
-
export interface LoginCreditProps {
|
|
6
|
-
model: LoginCreditModel;
|
|
7
|
-
translate: (key: string, defaultValue: string) => string;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
2
|
+
import type { LoginCreditProps } from './types.js';
|
|
10
3
|
/**
|
|
11
4
|
* The line at the bottom of a sign-in screen.
|
|
12
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit.d.ts","sourceRoot":"","sources":["../../../src/components/login/credit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"credit.d.ts","sourceRoot":"","sources":["../../../src/components/login/credit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAmB5C,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from '../../@/lib/utils.js';
|
|
3
|
-
|
|
4
|
-
export const OWLMEANS_URL = 'https://owlmeans.com';
|
|
3
|
+
import { OWLMEANS_URL } from './consts.js';
|
|
5
4
|
/**
|
|
6
5
|
* The line at the bottom of a sign-in screen.
|
|
7
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit.js","sourceRoot":"","sources":["../../../src/components/login/credit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,EAAE,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"credit.js","sourceRoot":"","sources":["../../../src/components/login/credit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,EAAE,EAAE,MAAM,sBAAsB,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG1C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE;IACnF,IAAI,CAAC,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;QAC3C,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,wCAEL,SAAS,EAAE,EAAE,CAAC,2CAA2C,EAAE,SAAS,CAAC,aAEpE,KAAK,CAAC,SAAS,IAAI,wCAElB,IAAI,EAAE,YAAY,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,EAC7D,SAAS,EAAC,0DAA0D,YAEnE,SAAS,CAAC,sBAAsB,EAAE,qBAAqB,CAAC,GACvD,EACH,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,8BAAkB,MAAM,yBAAW,EAC5E,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,yBAAO,KAAK,CAAC,IAAI,GAAQ,IAC9C,CAAA;AACN,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/login/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/login/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,mBAAmB,YAAY,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/login/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/login/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAE1B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ClientConfig } from '@owlmeans/client-context';
|
|
2
|
-
import type
|
|
2
|
+
import { type LoginNotifier } from '@owlmeans/client-auth/login';
|
|
3
3
|
/**
|
|
4
4
|
* Tell the user a login/logout attempt was silently blocked, when nothing else on screen will.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notify.d.ts","sourceRoot":"","sources":["../../../src/components/login/notify.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"notify.d.ts","sourceRoot":"","sources":["../../../src/components/login/notify.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAE5D,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAwB9E;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,QAAS,YAAY,KAAG,aAKtD,CAAA"}
|
|
@@ -2,8 +2,7 @@ import { initI18nResource, LIB_NAMESPACE } from '@owlmeans/i18n';
|
|
|
2
2
|
import { getI18nInstance } from '@owlmeans/client-i18n/utils';
|
|
3
3
|
import { toast } from 'sonner';
|
|
4
4
|
import { LoginOutcome } from '@owlmeans/client-auth/login';
|
|
5
|
-
|
|
6
|
-
const POPUP_BLOCKED_FALLBACK = "The sign-in window was blocked. Click the blocked pop-up icon in your browser's address bar to open it.";
|
|
5
|
+
import { AUTH_RESOURCE, POPUP_BLOCKED_FALLBACK } from './consts.local.js';
|
|
7
6
|
/**
|
|
8
7
|
* Translate an `auth`-library key with no mounted component to read it through.
|
|
9
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notify.js","sourceRoot":"","sources":["../../../src/components/login/notify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAC9B,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"notify.js","sourceRoot":"","sources":["../../../src/components/login/notify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,eAAe,EA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means/client-auth/login';
|
|
3
3
|
/**
|
|
4
4
|
* The sign-in screen: which identity provider, confirmed against which documents.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../src/components/login/screen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../src/components/login/screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAA;AAO/C,OAAO,EAAuC,KAAK,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAMxG;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAgG5C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,gBAAgB,CASrD,CAAA"}
|
|
@@ -10,11 +10,7 @@ import { loginAttemptError } from '@owlmeans/client-auth/login';
|
|
|
10
10
|
import { LoginMethodIcon } from './icons.js';
|
|
11
11
|
import { LoginPrivacyNotice, LoginTerms } from './terms.js';
|
|
12
12
|
import { LoginCredit } from './credit.js';
|
|
13
|
-
|
|
14
|
-
primary: 'default',
|
|
15
|
-
secondary: 'outline',
|
|
16
|
-
link: 'link',
|
|
17
|
-
};
|
|
13
|
+
import { VARIANT } from './consts.local.js';
|
|
18
14
|
/**
|
|
19
15
|
* The sign-in screen: which identity provider, confirmed against which documents.
|
|
20
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen.js","sourceRoot":"","sources":["../../../src/components/login/screen.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"screen.js","sourceRoot":"","sources":["../../../src/components/login/screen.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAW,MAAM,OAAO,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc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el;
|
|
5
|
-
translate: (key: string, defaultValue: string) => string;
|
|
6
|
-
/** The current language, for `Intl.ListFormat` and a document's own locale-keyed label. */
|
|
7
|
-
locale?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
export type LoginPrivacyNoticeProps = LoginTermsProps;
|
|
2
|
+
import type { LoginPrivacyNoticeProps, LoginTermsProps } from './types.js';
|
|
11
3
|
/**
|
|
12
4
|
* The privacy disclosure alone — `notices` (privacy, plus cookies per its own rule), never
|
|
13
5
|
* consented to and never nested inside a checkbox's `<label>`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terms.d.ts","sourceRoot":"","sources":["../../../src/components/login/terms.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"terms.d.ts","sourceRoot":"","sources":["../../../src/components/login/terms.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAA;AAG1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAS1E;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAS1D,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA8C1C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terms.js","sourceRoot":"","sources":["../../../src/components/login/terms.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,EAAE,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"terms.js","sourceRoot":"","sources":["../../../src/components/login/terms.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,EAAE,EAAE,MAAM,sBAAsB,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAA0B,MAAM,6BAA6B,CAAA;AA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,SAAS,EAAC,uCAAuC,EACjD,OAAO,EAAE,KAAK,CAAC,QAAQ,kBACT,KAAK,CAAC,SAAS,IAAI,CAAC,KAAK,CAAC,QAAQ,EAChD,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GACrD,EACF,yBACG,WAAW,CAAC,aAAa,CACxB,SAAS,CAAC,oBAAoB,EAAE,6CAA6C,CAAC,EAC9E,KAAK,EAAE,MAAM,EAAE,YAAY,CAC5B,CAAC,GACG,IACD,EAEP,KAAK,CAAC,SAAS,IAAI,IAAI,IAAI,wCAAsB,SAAS,EAAC,+BAA+B,YACxF,SAAS,CAAC,qBAAqB,EAAE,wBAAwB,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,GACjG,EAEJ,KAAC,kBAAkB,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAI,EAEzE,KAAK,CAAC,SAAS,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,YAAG,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,0BAA0B,YACxF,WAAW,CAAC,aAAa,CACxB,SAAS,CAAC,sBAAsB,EAAE,+CAA+C,CAAC,EAClF,KAAK,EAAE,MAAM,EAAE,YAAY,CAC5B,CAAC,GACA,IACA,CAAA;AACR,CAAC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { LoginScreenProps } from '@owlmeans/client-auth/login';
|
|
2
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
3
|
+
import type { LoginCreditModel, LoginTermsModel } from '@owlmeans/client-panel/auth';
|
|
4
|
+
export interface LoginScreenSetup extends Omit<LoginScreenProps, 'translate'> {
|
|
5
|
+
/** The one thing an application is expected to supply. */
|
|
6
|
+
Logo?: ComponentType<{
|
|
7
|
+
className?: string;
|
|
8
|
+
}> | ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export interface LoginCreditProps {
|
|
11
|
+
model: LoginCreditModel;
|
|
12
|
+
translate: (key: string, defaultValue: string) => string;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface LoginTermsProps {
|
|
16
|
+
model: LoginTermsModel;
|
|
17
|
+
translate: (key: string, defaultValue: string) => string;
|
|
18
|
+
/** The current language, for `Intl.ListFormat` and a document's own locale-keyed label. */
|
|
19
|
+
locale?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
export type LoginPrivacyNoticeProps = LoginTermsProps;
|
|
23
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/login/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAEpF,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC;IAC3E,0DAA0D;IAC1D,IAAI,CAAC,EAAE,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAA;CACzD;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,gBAAgB,CAAA;IACvB,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,eAAe,CAAA;IACtB,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,2FAA2F;IAC3F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/login/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The horizontal rhythm of the whole page, applied identically to the header row, the content
|
|
3
|
+
* and the footer row.
|
|
4
|
+
*
|
|
5
|
+
* It lives in ONE constant because the three regions have to agree: a content area with its own
|
|
6
|
+
* width sits visibly inset from a full-width header, which reads as a mistake rather than as a
|
|
7
|
+
* design. Adjust it through `containerClassName`, which is MERGED over this — never by giving
|
|
8
|
+
* the content a width of its own.
|
|
9
|
+
*/
|
|
10
|
+
export declare const CONTAINER = "mx-auto w-full max-w-6xl px-4";
|
|
11
|
+
/**
|
|
12
|
+
* A 44px target and a ring that is actually visible: the shadcn button draws its focus ring at
|
|
13
|
+
* half the ring colour's alpha, which on a white header is close to nothing, and a menu button is
|
|
14
|
+
* the one control a keyboard user on a narrow window has to find before anything else.
|
|
15
|
+
*/
|
|
16
|
+
export declare const TARGET = "size-11 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background";
|
|
17
|
+
export declare const ENTRY_ACTIVE = "bg-accent text-accent-foreground";
|
|
18
|
+
//# sourceMappingURL=consts.local.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.local.d.ts","sourceRoot":"","sources":["../../../src/components/nav/consts.local.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,kCAAkC,CAAA;AAExD;;;;GAIG;AACH,eAAO,MAAM,MAAM,qGAAqG,CAAA;AAExH,eAAO,MAAM,YAAY,qCAAqC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The horizontal rhythm of the whole page, applied identically to the header row, the content
|
|
3
|
+
* and the footer row.
|
|
4
|
+
*
|
|
5
|
+
* It lives in ONE constant because the three regions have to agree: a content area with its own
|
|
6
|
+
* width sits visibly inset from a full-width header, which reads as a mistake rather than as a
|
|
7
|
+
* design. Adjust it through `containerClassName`, which is MERGED over this — never by giving
|
|
8
|
+
* the content a width of its own.
|
|
9
|
+
*/
|
|
10
|
+
export const CONTAINER = 'mx-auto w-full max-w-6xl px-4';
|
|
11
|
+
/**
|
|
12
|
+
* A 44px target and a ring that is actually visible: the shadcn button draws its focus ring at
|
|
13
|
+
* half the ring colour's alpha, which on a white header is close to nothing, and a menu button is
|
|
14
|
+
* the one control a keyboard user on a narrow window has to find before anything else.
|
|
15
|
+
*/
|
|
16
|
+
export const TARGET = 'size-11 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background';
|
|
17
|
+
export const ENTRY_ACTIVE = 'bg-accent text-accent-foreground';
|
|
18
|
+
//# sourceMappingURL=consts.local.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.local.js","sourceRoot":"","sources":["../../../src/components/nav/consts.local.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,+BAA+B,CAAA;AAExD;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,kGAAkG,CAAA;AAExH,MAAM,CAAC,MAAM,YAAY,GAAG,kCAAkC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/components/nav/layout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/components/nav/layout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,EAAE,EAAmB,MAAM,OAAO,CAAA;AASxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAiBhD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAsIxC,CAAA"}
|
|
@@ -7,16 +7,7 @@ import { Footer } from '../footer/component.js';
|
|
|
7
7
|
import { MobileNav } from './mobile.js';
|
|
8
8
|
import { SideNav } from './side.js';
|
|
9
9
|
import { TopNav } from './top.js';
|
|
10
|
-
|
|
11
|
-
* The horizontal rhythm of the whole page, applied identically to the header row, the content
|
|
12
|
-
* and the footer row.
|
|
13
|
-
*
|
|
14
|
-
* It lives in ONE constant because the three regions have to agree: a content area with its own
|
|
15
|
-
* width sits visibly inset from a full-width header, which reads as a mistake rather than as a
|
|
16
|
-
* design. Adjust it through `containerClassName`, which is MERGED over this — never by giving
|
|
17
|
-
* the content a width of its own.
|
|
18
|
-
*/
|
|
19
|
-
const CONTAINER = 'mx-auto w-full max-w-6xl px-4';
|
|
10
|
+
import { CONTAINER } from './consts.local.js';
|
|
20
11
|
/**
|
|
21
12
|
* Invisible until it takes focus, then a pill in the top-left corner above everything — the
|
|
22
13
|
* inverse of the page's own surface (`bg-foreground text-background`), so it reads on any theme.
|