@plumile/backoffice-react 0.1.153 → 0.1.156

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.
Files changed (54) hide show
  1. package/lib/esm/auth/login/loginPage.css.js +2 -0
  2. package/lib/esm/components/backoffice/columns/buildDataTableColumns.js +1 -0
  3. package/lib/esm/components/backoffice/columns/buildDataTableColumns.js.map +1 -1
  4. package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js +1 -0
  5. package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js.map +1 -1
  6. package/lib/esm/components/backoffice/detail/backofficeDetailRelationLink.css.js +0 -1
  7. package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js +1 -0
  8. package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js.map +1 -1
  9. package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js +1 -0
  10. package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js.map +1 -1
  11. package/lib/esm/components/backoffice/hub/backofficeHubTemplate.css.js +0 -2
  12. package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js +1 -0
  13. package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js.map +1 -1
  14. package/lib/esm/components/backoffice/links/BackofficeInlineLink.js +15 -14
  15. package/lib/esm/components/backoffice/links/BackofficeInlineLink.js.map +1 -1
  16. package/lib/esm/components/backoffice/links/BackofficeLink.js +9 -8
  17. package/lib/esm/components/backoffice/links/BackofficeLink.js.map +1 -1
  18. package/lib/esm/components/backoffice/refs/backofficeEntityIdRef.css.js +1 -0
  19. package/lib/esm/pages/BackofficeDashboardPage.helpers.js +2 -2
  20. package/lib/esm/pages/BackofficeDashboardPage.helpers.js.map +1 -1
  21. package/lib/esm/pages/BackofficeDashboardPage.js +38 -51
  22. package/lib/esm/pages/BackofficeDashboardPage.js.map +1 -1
  23. package/lib/esm/pages/BackofficeDashboardWidgetContent.js +97 -100
  24. package/lib/esm/pages/BackofficeDashboardWidgetContent.js.map +1 -1
  25. package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js +110 -10
  26. package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js.map +1 -1
  27. package/lib/esm/pages/BackofficeEntityDetailPage.js +206 -255
  28. package/lib/esm/pages/BackofficeEntityDetailPage.js.map +1 -1
  29. package/lib/esm/pages/BackofficeEntityListPage.js +4 -0
  30. package/lib/esm/pages/BackofficeEntityListPage.js.map +1 -1
  31. package/lib/esm/pages/detail/BackofficeEntityDetailLayoutContext.js.map +1 -1
  32. package/lib/esm/pages/detail/buildTabsItems.js +1 -0
  33. package/lib/esm/pages/detail/buildTabsItems.js.map +1 -1
  34. package/lib/types/components/backoffice/columns/buildDataTableColumns.d.ts.map +1 -1
  35. package/lib/types/components/backoffice/detail/BackofficeRelationsSummaryGrid.d.ts.map +1 -1
  36. package/lib/types/components/backoffice/filters/BackofficeFilterAction.d.ts.map +1 -1
  37. package/lib/types/components/backoffice/hub/BackofficeHubTemplate.d.ts.map +1 -1
  38. package/lib/types/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.d.ts.map +1 -1
  39. package/lib/types/components/backoffice/links/BackofficeInlineLink.d.ts +2 -1
  40. package/lib/types/components/backoffice/links/BackofficeInlineLink.d.ts.map +1 -1
  41. package/lib/types/components/backoffice/links/BackofficeLink.d.ts +2 -1
  42. package/lib/types/components/backoffice/links/BackofficeLink.d.ts.map +1 -1
  43. package/lib/types/pages/BackofficeDashboardPage.d.ts.map +1 -1
  44. package/lib/types/pages/BackofficeDashboardPage.helpers.d.ts +0 -4
  45. package/lib/types/pages/BackofficeDashboardPage.helpers.d.ts.map +1 -1
  46. package/lib/types/pages/BackofficeDashboardWidgetContent.d.ts +1 -2
  47. package/lib/types/pages/BackofficeDashboardWidgetContent.d.ts.map +1 -1
  48. package/lib/types/pages/BackofficeEntityDetailLayoutPage.d.ts.map +1 -1
  49. package/lib/types/pages/BackofficeEntityDetailPage.d.ts.map +1 -1
  50. package/lib/types/pages/BackofficeEntityListPage.d.ts.map +1 -1
  51. package/lib/types/pages/detail/BackofficeEntityDetailLayoutContext.d.ts +7 -0
  52. package/lib/types/pages/detail/BackofficeEntityDetailLayoutContext.d.ts.map +1 -1
  53. package/lib/types/pages/detail/buildTabsItems.d.ts.map +1 -1
  54. package/package.json +14 -14
@@ -1 +1 @@
1
- {"version":3,"file":"BackofficeEntityListPage.d.ts","sourceRoot":"","sources":["../../../src/pages/BackofficeEntityListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,GAAG,EAMT,MAAM,OAAO,CAAC;AAgBf,OAAO,KAAK,EACV,4BAA4B,EAC5B,2BAA2B,EAC3B,wCAAwC,EAEzC,MAAM,mCAAmC,CAAC;AAqC3C,MAAM,MAAM,6BAA6B,GAAG;IAC1C,cAAc,EAAE,4BAA4B,CAAC;IAC7C,MAAM,EAAE,wCAAwC,CAAC;IACjD,QAAQ,EAAE,2BAA2B,CAAC;CACvC,CAAC;AA0oBF,eAAO,MAAM,wBAAwB,GAAI,uCAItC,6BAA6B,KAAG,GAAG,CAAC,OAAO,GAAG,IA0BhD,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"BackofficeEntityListPage.d.ts","sourceRoot":"","sources":["../../../src/pages/BackofficeEntityListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,GAAG,EAMT,MAAM,OAAO,CAAC;AAgBf,OAAO,KAAK,EACV,4BAA4B,EAC5B,2BAA2B,EAC3B,wCAAwC,EAEzC,MAAM,mCAAmC,CAAC;AAqC3C,MAAM,MAAM,6BAA6B,GAAG;IAC1C,cAAc,EAAE,4BAA4B,CAAC;IAC7C,MAAM,EAAE,wCAAwC,CAAC;IACjD,QAAQ,EAAE,2BAA2B,CAAC;CACvC,CAAC;AA8oBF,eAAO,MAAM,wBAAwB,GAAI,uCAItC,6BAA6B,KAAG,GAAG,CAAC,OAAO,GAAG,IA0BhD,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1,5 +1,12 @@
1
+ import type { BackofficeDetailPageRouteSpec, BackofficeResolvedDetailLayoutFacetConfigBase } from '@plumile/backoffice-core/types.js';
2
+ import type { TabItem } from '@plumile/ui/atomic/molecules/tabs/Tabs.js';
1
3
  export type BackofficeEntityDetailLayoutContextValue = {
4
+ activePage: BackofficeDetailPageRouteSpec;
5
+ config: BackofficeResolvedDetailLayoutFacetConfigBase;
6
+ entityId: string;
2
7
  layoutView: unknown;
8
+ tabsItems: readonly TabItem[];
9
+ visiblePages: readonly BackofficeDetailPageRouteSpec[];
3
10
  };
4
11
  export declare const BackofficeEntityDetailLayoutContextProvider: import("react").Provider<BackofficeEntityDetailLayoutContextValue | null>;
5
12
  export declare const useBackofficeEntityDetailLayoutContext: () => BackofficeEntityDetailLayoutContextValue;
@@ -1 +1 @@
1
- {"version":3,"file":"BackofficeEntityDetailLayoutContext.d.ts","sourceRoot":"","sources":["../../../../src/pages/detail/BackofficeEntityDetailLayoutContext.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,wCAAwC,GAAG;IACrD,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAKF,eAAO,MAAM,2CAA2C,2EACV,CAAC;AAE/C,eAAO,MAAM,sCAAsC,QAC7C,wCAQH,CAAC"}
1
+ {"version":3,"file":"BackofficeEntityDetailLayoutContext.d.ts","sourceRoot":"","sources":["../../../../src/pages/detail/BackofficeEntityDetailLayoutContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,6BAA6B,EAC7B,6CAA6C,EAC9C,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AAEzE,MAAM,MAAM,wCAAwC,GAAG;IACrD,UAAU,EAAE,6BAA6B,CAAC;IAC1C,MAAM,EAAE,6CAA6C,CAAC;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,SAAS,OAAO,EAAE,CAAC;IAC9B,YAAY,EAAE,SAAS,6BAA6B,EAAE,CAAC;CACxD,CAAC;AAKF,eAAO,MAAM,2CAA2C,2EACV,CAAC;AAE/C,eAAO,MAAM,sCAAsC,QAC7C,wCAQH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"buildTabsItems.d.ts","sourceRoot":"","sources":["../../../../src/pages/detail/buildTabsItems.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,KAAK,eAAe,CAAC,IAAI,IAAI,6BAA6B,CAAC,IAAI,CAAC,CAAC;AAEjE,eAAO,MAAM,cAAc,GAAI,IAAI,EAAE,OAAO;IAC1C,KAAK,EAAE,SAAS,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,SAAS,CAAC;IAChB,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;CACxD,KAAG,SAAS,OAAO,EAQnB,CAAC"}
1
+ {"version":3,"file":"buildTabsItems.d.ts","sourceRoot":"","sources":["../../../../src/pages/detail/buildTabsItems.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,KAAK,eAAe,CAAC,IAAI,IAAI,6BAA6B,CAAC,IAAI,CAAC,CAAC;AAEjE,eAAO,MAAM,cAAc,GAAI,IAAI,EAAE,OAAO;IAC1C,KAAK,EAAE,SAAS,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,SAAS,CAAC;IAChB,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;CACxD,KAAG,SAAS,OAAO,EASnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumile/backoffice-react",
3
- "version": "0.1.153",
3
+ "version": "0.1.156",
4
4
  "description": "React provider and pages for Kronex backoffice",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -171,7 +171,7 @@
171
171
  },
172
172
  "dependencies": {
173
173
  "graphql-ws": "6.0.8",
174
- "i18next": "^26.2.0",
174
+ "i18next": "^26.3.0",
175
175
  "i18next-browser-languagedetector": "8.2.1",
176
176
  "react-i18next": "^17.0.8",
177
177
  "react-qr-code": "^2.0.21",
@@ -179,15 +179,15 @@
179
179
  "tslib": "^2.8.1"
180
180
  },
181
181
  "devDependencies": {
182
- "@plumile/auth": "^0.1.153",
183
- "@plumile/backoffice-core": "^0.1.153",
184
- "@plumile/filter-query": "^0.1.153",
185
- "@plumile/router": "^0.1.153",
186
- "@plumile/ui": "^0.1.153",
182
+ "@plumile/auth": "^0.1.156",
183
+ "@plumile/backoffice-core": "^0.1.156",
184
+ "@plumile/filter-query": "^0.1.156",
185
+ "@plumile/router": "^0.1.156",
186
+ "@plumile/ui": "^0.1.156",
187
187
  "@types/react": "19.2.15",
188
188
  "@types/react-dom": "19.2.3",
189
189
  "@types/relay-runtime": "20.1.1",
190
- "i18next": "26.2.0",
190
+ "i18next": "26.3.0",
191
191
  "react": "19.2.6",
192
192
  "react-dom": "19.2.6",
193
193
  "react-relay": "21.0.0",
@@ -196,12 +196,12 @@
196
196
  "typescript": "6.0.3"
197
197
  },
198
198
  "peerDependencies": {
199
- "@plumile/auth": "^0.1.152",
200
- "@plumile/backoffice-core": "^0.1.152",
201
- "@plumile/filter-query": "^0.1.152",
202
- "@plumile/router": "^0.1.152",
203
- "@plumile/ui": "^0.1.152",
204
- "i18next": "^26.2.0",
199
+ "@plumile/auth": "^0.1.154",
200
+ "@plumile/backoffice-core": "^0.1.154",
201
+ "@plumile/filter-query": "^0.1.154",
202
+ "@plumile/router": "^0.1.154",
203
+ "@plumile/ui": "^0.1.154",
204
+ "i18next": "^26.3.0",
205
205
  "react": "^19.2.6",
206
206
  "react-dom": "^19.2.6",
207
207
  "react-i18next": "^17.0.8",