@owlmeans/web-panel 0.1.18-rc.68 → 0.1.18-rc.69
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 +9 -1
- package/build/auth/entrypoints.d.ts.map +1 -1
- package/build/components/form/button/component.d.ts.map +1 -1
- package/build/components/form/button/component.js +3 -1
- package/build/components/form/button/component.js.map +1 -1
- package/build/entrypoints.d.ts +7 -1
- package/build/entrypoints.d.ts.map +1 -1
- package/package.json +25 -24
- package/src/components/form/button/component.tsx +5 -2
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.69
|
|
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.47
|
|
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.69",
|
|
5
|
+
"generatedAt": "2026-10-03T20:05:07.609Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
export declare const entrypoints: import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/form/button/component.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/form/button/component.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AA8C1D,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAyBjC,CAAA;AAEF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,WAAW,CAcvC,CAAA"}
|
|
@@ -8,6 +8,8 @@ import { useContext } from '@owlmeans/client';
|
|
|
8
8
|
import { useFormI18n, usePanelI18n } from '@owlmeans/client-panel';
|
|
9
9
|
import { Button as UIButton } from '../../../@/components/ui/button.js';
|
|
10
10
|
import { cn } from '../../../@/lib/utils.js';
|
|
11
|
+
import { logger } from '@owlmeans/log';
|
|
12
|
+
const log = logger('web-panel:form');
|
|
11
13
|
/**
|
|
12
14
|
* MUI → shadcn variant mapping:
|
|
13
15
|
* contained → default
|
|
@@ -59,6 +61,6 @@ export const SubmitButton = memo((props) => {
|
|
|
59
61
|
label = label ?? 'submit';
|
|
60
62
|
const _i18n = { ...i18n };
|
|
61
63
|
_i18n.suppress = true;
|
|
62
|
-
return _jsx(Button, { ...props, label: t(label), i18n: _i18n, onClick: handleSubmit(props.onSubmit ?? props.onClick ?? (() => {
|
|
64
|
+
return _jsx(Button, { ...props, label: t(label), i18n: _i18n, onClick: handleSubmit(props.onSubmit ?? props.onClick ?? (() => { log.debug('Empty submit'); }), problem => log.debug('Form submit refused by validation', { fields: Object.keys(problem) })) });
|
|
63
65
|
});
|
|
64
66
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/components/form/button/component.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAE5B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAa,UAAU,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,oCAAoC,CAAA;AACvE,OAAO,EAAE,EAAE,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/components/form/button/component.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAE5B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAa,UAAU,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,oCAAoC,CAAA;AACvE,OAAO,EAAE,EAAE,EAAE,MAAM,yBAAyB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAEtC,MAAM,GAAG,GAAG,MAAM,CAA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,CACnB,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA,CAAC,CAAC,CAAC,EACxE,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,mCAAmC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAC5F,GAAI,CAAA;AACT,CAAC,CAAC,CAAA"}
|
package/build/entrypoints.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
export declare const entrypoints:
|
|
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
|
+
query: import("@owlmeans/auth").AuthToken;
|
|
3
|
+
}, undefined>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
|
|
4
|
+
query: import("@owlmeans/auth-common").SurrogateQuery;
|
|
5
|
+
}, undefined>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
|
|
6
|
+
body: import("@owlmeans/auth").AuthToken;
|
|
7
|
+
}, import("@owlmeans/auth").AuthToken>>)[];
|
|
2
8
|
//# sourceMappingURL=entrypoints.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;0CAA4C,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/web-panel",
|
|
3
|
-
"version": "0.1.18-rc.
|
|
3
|
+
"version": "0.1.18-rc.69",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -51,34 +51,35 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@hookform/resolvers": "^5.2.2",
|
|
54
|
-
"@owlmeans/api-config-client": "^0.1.18-rc.
|
|
54
|
+
"@owlmeans/api-config-client": "^0.1.18-rc.43",
|
|
55
55
|
"@owlmeans/auth": "^0.1.18-rc.38",
|
|
56
|
-
"@owlmeans/auth-common": "^0.1.18-rc.
|
|
57
|
-
"@owlmeans/basic-envelope": "^0.1.18-rc.
|
|
58
|
-
"@owlmeans/client": "^0.1.18-rc.
|
|
59
|
-
"@owlmeans/client-auth": "^0.1.18-rc.
|
|
60
|
-
"@owlmeans/client-config": "^0.1.18-rc.
|
|
61
|
-
"@owlmeans/client-context": "^0.1.18-rc.
|
|
62
|
-
"@owlmeans/client-entrypoint": "^0.1.18-rc.
|
|
63
|
-
"@owlmeans/api": "^0.1.18-rc.
|
|
64
|
-
"@owlmeans/client-flow": "^0.1.18-rc.
|
|
65
|
-
"@owlmeans/client-i18n": "^0.1.18-rc.
|
|
66
|
-
"@owlmeans/client-panel": "^0.1.18-rc.
|
|
67
|
-
"@owlmeans/client-route": "^0.1.18-rc.
|
|
68
|
-
"@owlmeans/client-socket": "^0.1.18-rc.
|
|
69
|
-
"@owlmeans/config": "^0.1.18-rc.
|
|
56
|
+
"@owlmeans/auth-common": "^0.1.18-rc.45",
|
|
57
|
+
"@owlmeans/basic-envelope": "^0.1.18-rc.44",
|
|
58
|
+
"@owlmeans/client": "^0.1.18-rc.49",
|
|
59
|
+
"@owlmeans/client-auth": "^0.1.18-rc.56",
|
|
60
|
+
"@owlmeans/client-config": "^0.1.18-rc.42",
|
|
61
|
+
"@owlmeans/client-context": "^0.1.18-rc.46",
|
|
62
|
+
"@owlmeans/client-entrypoint": "^0.1.18-rc.45",
|
|
63
|
+
"@owlmeans/api": "^0.1.18-rc.45",
|
|
64
|
+
"@owlmeans/client-flow": "^0.1.18-rc.52",
|
|
65
|
+
"@owlmeans/client-i18n": "^0.1.18-rc.48",
|
|
66
|
+
"@owlmeans/client-panel": "^0.1.18-rc.56",
|
|
67
|
+
"@owlmeans/client-route": "^0.1.18-rc.46",
|
|
68
|
+
"@owlmeans/client-socket": "^0.1.18-rc.47",
|
|
69
|
+
"@owlmeans/config": "^0.1.18-rc.42",
|
|
70
70
|
"@owlmeans/context": "^0.1.18-rc.32",
|
|
71
71
|
"@owlmeans/entrypoint": "^0.1.18-rc.39",
|
|
72
72
|
"@owlmeans/error": "^0.1.18-rc.36",
|
|
73
|
-
"@owlmeans/flow": "^0.1.18-rc.
|
|
73
|
+
"@owlmeans/flow": "^0.1.18-rc.43",
|
|
74
74
|
"@owlmeans/i18n": "^0.1.18-rc.37",
|
|
75
|
+
"@owlmeans/log": "^0.1.18-rc.0",
|
|
75
76
|
"@owlmeans/route": "^0.1.18-rc.33",
|
|
76
|
-
"@owlmeans/state": "^0.1.18-rc.
|
|
77
|
-
"@owlmeans/web-client": "^0.1.18-rc.
|
|
78
|
-
"@owlmeans/web-consent": "^0.1.18-rc.
|
|
79
|
-
"@owlmeans/web-db": "^0.1.18-rc.
|
|
80
|
-
"@owlmeans/web-flow": "^0.1.18-rc.
|
|
81
|
-
"@owlmeans/web-router": "^0.1.18-rc.
|
|
77
|
+
"@owlmeans/state": "^0.1.18-rc.37",
|
|
78
|
+
"@owlmeans/web-client": "^0.1.18-rc.59",
|
|
79
|
+
"@owlmeans/web-consent": "^0.1.18-rc.40",
|
|
80
|
+
"@owlmeans/web-db": "^0.1.18-rc.46",
|
|
81
|
+
"@owlmeans/web-flow": "^0.1.18-rc.51",
|
|
82
|
+
"@owlmeans/web-router": "^0.1.18-rc.47",
|
|
82
83
|
"i18next-browser-languagedetector": "^8.0.0",
|
|
83
84
|
"qrcode.react": "^4.2.0",
|
|
84
85
|
"react-google-recaptcha": "^3.1.0",
|
|
@@ -104,7 +105,7 @@
|
|
|
104
105
|
},
|
|
105
106
|
"devDependencies": {
|
|
106
107
|
"@owlmeans/dep-config": "workspace:*",
|
|
107
|
-
"@owlmeans/test-ui": "^0.1.18-rc.
|
|
108
|
+
"@owlmeans/test-ui": "^0.1.18-rc.47",
|
|
108
109
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
109
110
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
110
111
|
"@radix-ui/react-label": "^2.1.0",
|
|
@@ -9,6 +9,9 @@ import { useContext } from '@owlmeans/client'
|
|
|
9
9
|
import { useFormI18n, usePanelI18n } from '@owlmeans/client-panel'
|
|
10
10
|
import { Button as UIButton } from '../../../@/components/ui/button.js'
|
|
11
11
|
import { cn } from '../../../@/lib/utils.js'
|
|
12
|
+
import { logger } from '@owlmeans/log'
|
|
13
|
+
|
|
14
|
+
const log = logger('web-panel:form')
|
|
12
15
|
|
|
13
16
|
/**
|
|
14
17
|
* MUI → shadcn variant mapping:
|
|
@@ -82,7 +85,7 @@ export const SubmitButton: FC<SubmitProps> = memo((props) => {
|
|
|
82
85
|
|
|
83
86
|
return <Button {...props} label={t(label)} i18n={_i18n}
|
|
84
87
|
onClick={handleSubmit(
|
|
85
|
-
props.onSubmit ?? props.onClick ?? (() => {
|
|
86
|
-
problem =>
|
|
88
|
+
props.onSubmit ?? props.onClick ?? (() => { log.debug('Empty submit') }),
|
|
89
|
+
problem => log.debug('Form submit refused by validation', { fields: Object.keys(problem) })
|
|
87
90
|
)} />
|
|
88
91
|
})
|