@owlmeans/client-panel 0.1.18-rc.26 → 0.1.18-rc.28

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 CHANGED
@@ -153,7 +153,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
153
153
  your project's skill store (`.agents/skills/`):
154
154
 
155
155
  ```sh
156
- npx @owlmeans/agent-skills@^0.1.18-rc.15
156
+ npx @owlmeans/agent-skills@^0.1.18-rc.17
157
157
  ```
158
158
 
159
159
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/client-panel",
4
- "version": "0.1.18-rc.26",
5
- "generatedAt": "2026-09-12T08:39:52.734Z",
4
+ "version": "0.1.18-rc.28",
5
+ "generatedAt": "2026-09-12T12:59:24.919Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,13 +8,17 @@ user-invocable: false
8
8
  # @owlmeans/client-panel
9
9
 
10
10
  **Layer:** Client
11
- **Install:** `"@owlmeans/client-panel": "^0.1.18-rc.26"` in `dependencies`
11
+ **Install:** `"@owlmeans/client-panel": "^0.1.18-rc.28"` in `dependencies`
12
12
 
13
13
  ## Key Exports
14
14
 
15
15
  Everything below is a **root** export — this package has no `./components` or `./helpers`
16
16
  subpath. Only auth is split out (see below).
17
17
 
18
+ Importing the root also registers the package-owned seven-language `client-panel` bundle. Its
19
+ generic `buttons.submit` fallback is always available after an application imports any root form
20
+ controller; apps may override it through their own `buttons` resource.
21
+
18
22
  | Export | Description |
19
23
  |--------|-------------|
20
24
  | `ClientForm` | The form model: `react-hook-form` + an AJV resolver with `coerceTypes` and `ajv-formats`, publishing a `FormContext` and a loader toggle |
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":""}
package/build/i18n.js ADDED
@@ -0,0 +1,14 @@
1
+ import { addI18nLib } from '@owlmeans/i18n';
2
+ const buttons = {
3
+ en: { buttons: { submit: 'Submit' } },
4
+ pl: { buttons: { submit: 'Wyślij' } },
5
+ ru: { buttons: { submit: 'Отправить' } },
6
+ be: { buttons: { submit: 'Адправіць' } },
7
+ uk: { buttons: { submit: 'Надіслати' } },
8
+ es: { buttons: { submit: 'Enviar' } },
9
+ de: { buttons: { submit: 'Senden' } },
10
+ };
11
+ for (const [language, values] of Object.entries(buttons)) {
12
+ addI18nLib(language, 'client-panel', values);
13
+ }
14
+ //# sourceMappingURL=i18n.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.js","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3C,MAAM,OAAO,GAAG;IACd,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE;IACrC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE;IACrC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE;IACxC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE;IACxC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE;IACxC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE;IACrC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE;CAC7B,CAAA;AAEV,KAAK,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;IACzD,UAAU,CAAC,QAAQ,EAAE,cAAc,EAAE,MAAM,CAAC,CAAA;AAC9C,CAAC"}
package/build/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './i18n.js';
1
2
  export * from './components/index.js';
2
3
  export * from './helper/index.js';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAA;AAEzB,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA"}
package/build/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './i18n.js';
1
2
  export * from './components/index.js';
2
3
  export * from './helper/index.js';
3
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAA;AAEzB,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/client-panel",
3
- "version": "0.1.18-rc.26",
3
+ "version": "0.1.18-rc.28",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -36,19 +36,19 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@hookform/resolvers": "^5.2.2",
39
- "@owlmeans/client": "^0.1.18-rc.19",
40
- "@owlmeans/client-i18n": "^0.1.18-rc.18",
41
- "@owlmeans/client-entrypoint": "^0.1.18-rc.16",
42
- "@owlmeans/client-route": "^0.1.18-rc.16",
43
- "@owlmeans/error": "^0.1.18-rc.11",
44
- "@owlmeans/entrypoint": "^0.1.18-rc.14"
39
+ "@owlmeans/client": "^0.1.18-rc.21",
40
+ "@owlmeans/client-i18n": "^0.1.18-rc.20",
41
+ "@owlmeans/client-entrypoint": "^0.1.18-rc.18",
42
+ "@owlmeans/client-route": "^0.1.18-rc.18",
43
+ "@owlmeans/error": "^0.1.18-rc.13",
44
+ "@owlmeans/entrypoint": "^0.1.18-rc.16"
45
45
  },
46
46
  "peerDependencies": {
47
- "@owlmeans/auth": "^0.1.18-rc.12",
48
- "@owlmeans/client-auth": "^0.1.18-rc.23",
49
- "@owlmeans/config": "^0.1.18-rc.15",
50
- "@owlmeans/i18n": "^0.1.18-rc.11",
51
- "@owlmeans/router": "^0.1.18-rc.11",
47
+ "@owlmeans/auth": "^0.1.18-rc.14",
48
+ "@owlmeans/client-auth": "^0.1.18-rc.25",
49
+ "@owlmeans/config": "^0.1.18-rc.17",
50
+ "@owlmeans/i18n": "^0.1.18-rc.13",
51
+ "@owlmeans/router": "^0.1.18-rc.13",
52
52
  "ajv": "*",
53
53
  "react": "*",
54
54
  "react-hook-form": "*"
@@ -63,8 +63,8 @@
63
63
  },
64
64
  "devDependencies": {
65
65
  "@owlmeans/dep-config": "workspace:*",
66
- "@owlmeans/auth": "^0.1.18-rc.12",
67
- "@owlmeans/client-auth": "^0.1.18-rc.23",
66
+ "@owlmeans/auth": "^0.1.18-rc.14",
67
+ "@owlmeans/client-auth": "^0.1.18-rc.25",
68
68
  "@types/react": "^19.2.17",
69
69
  "nodemon": "^3.1.14",
70
70
  "react-hook-form": "^7.53.0",
package/src/i18n.ts ADDED
@@ -0,0 +1,15 @@
1
+ import { addI18nLib } from '@owlmeans/i18n'
2
+
3
+ const buttons = {
4
+ en: { buttons: { submit: 'Submit' } },
5
+ pl: { buttons: { submit: 'Wyślij' } },
6
+ ru: { buttons: { submit: 'Отправить' } },
7
+ be: { buttons: { submit: 'Адправіць' } },
8
+ uk: { buttons: { submit: 'Надіслати' } },
9
+ es: { buttons: { submit: 'Enviar' } },
10
+ de: { buttons: { submit: 'Senden' } },
11
+ } as const
12
+
13
+ for (const [language, values] of Object.entries(buttons)) {
14
+ addI18nLib(language, 'client-panel', values)
15
+ }
package/src/index.ts CHANGED
@@ -1,3 +1,5 @@
1
1
 
2
+ export * from './i18n.js'
3
+
2
4
  export * from './components/index.js'
3
5
  export * from './helper/index.js'