@open-mercato/core 0.6.6-develop.5903.1.33a2be39eb → 0.6.6-develop.6089.1.a7ed560528
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/dist/modules/api_keys/index.js +1 -1
- package/dist/modules/api_keys/index.js.map +1 -1
- package/dist/modules/attachments/index.js +1 -1
- package/dist/modules/attachments/index.js.map +1 -1
- package/dist/modules/audit_logs/index.js +1 -1
- package/dist/modules/audit_logs/index.js.map +1 -1
- package/dist/modules/auth/index.js +1 -1
- package/dist/modules/auth/index.js.map +1 -1
- package/dist/modules/business_rules/index.js +1 -1
- package/dist/modules/business_rules/index.js.map +1 -1
- package/dist/modules/catalog/index.js +1 -1
- package/dist/modules/catalog/index.js.map +1 -1
- package/dist/modules/configs/index.js +1 -1
- package/dist/modules/configs/index.js.map +1 -1
- package/dist/modules/currencies/index.js +1 -1
- package/dist/modules/currencies/index.js.map +1 -1
- package/dist/modules/customer_accounts/index.js +1 -1
- package/dist/modules/customer_accounts/index.js.map +1 -1
- package/dist/modules/customers/backend/customers/deals/pipeline/page.js +9 -11
- package/dist/modules/customers/backend/customers/deals/pipeline/page.js.map +2 -2
- package/dist/modules/customers/index.js +1 -1
- package/dist/modules/customers/index.js.map +1 -1
- package/dist/modules/dashboards/index.js +1 -1
- package/dist/modules/dashboards/index.js.map +1 -1
- package/dist/modules/dictionaries/index.js +1 -1
- package/dist/modules/dictionaries/index.js.map +1 -1
- package/dist/modules/directory/index.js +1 -1
- package/dist/modules/directory/index.js.map +1 -1
- package/dist/modules/entities/backend/entities/user/[entityId]/page.js +5 -2
- package/dist/modules/entities/backend/entities/user/[entityId]/page.js.map +2 -2
- package/dist/modules/entities/index.js +1 -1
- package/dist/modules/entities/index.js.map +1 -1
- package/dist/modules/feature_toggles/components/FeatureToggleOverrideCard.js +6 -2
- package/dist/modules/feature_toggles/components/FeatureToggleOverrideCard.js.map +2 -2
- package/dist/modules/feature_toggles/index.js +1 -1
- package/dist/modules/feature_toggles/index.js.map +1 -1
- package/dist/modules/notifications/index.js +1 -1
- package/dist/modules/notifications/index.js.map +1 -1
- package/dist/modules/perspectives/index.js +1 -1
- package/dist/modules/perspectives/index.js.map +1 -1
- package/dist/modules/planner/index.js +1 -1
- package/dist/modules/planner/index.js.map +1 -1
- package/dist/modules/progress/index.js +1 -1
- package/dist/modules/progress/index.js.map +1 -1
- package/dist/modules/query_index/index.js +1 -1
- package/dist/modules/query_index/index.js.map +1 -1
- package/dist/modules/resources/index.js +1 -1
- package/dist/modules/resources/index.js.map +1 -1
- package/dist/modules/sales/index.js +1 -1
- package/dist/modules/sales/index.js.map +1 -1
- package/dist/modules/staff/index.js +1 -1
- package/dist/modules/staff/index.js.map +1 -1
- package/dist/modules/translations/index.js +1 -1
- package/dist/modules/translations/index.js.map +1 -1
- package/package.json +8 -7
- package/src/modules/api_keys/index.ts +1 -1
- package/src/modules/attachments/index.ts +1 -1
- package/src/modules/audit_logs/index.ts +1 -1
- package/src/modules/auth/index.ts +1 -1
- package/src/modules/business_rules/index.ts +1 -1
- package/src/modules/catalog/index.ts +1 -1
- package/src/modules/configs/index.ts +1 -1
- package/src/modules/currencies/index.ts +1 -1
- package/src/modules/customer_accounts/index.ts +1 -1
- package/src/modules/customers/backend/customers/deals/pipeline/page.tsx +8 -7
- package/src/modules/customers/index.ts +1 -1
- package/src/modules/dashboards/index.ts +1 -1
- package/src/modules/dictionaries/index.ts +1 -1
- package/src/modules/directory/index.ts +1 -1
- package/src/modules/entities/backend/entities/user/[entityId]/page.tsx +5 -2
- package/src/modules/entities/index.ts +1 -1
- package/src/modules/feature_toggles/components/FeatureToggleOverrideCard.tsx +6 -2
- package/src/modules/feature_toggles/index.ts +1 -1
- package/src/modules/notifications/index.ts +1 -1
- package/src/modules/perspectives/index.ts +1 -1
- package/src/modules/planner/index.ts +1 -1
- package/src/modules/progress/index.ts +1 -1
- package/src/modules/query_index/index.ts +1 -1
- package/src/modules/resources/index.ts +1 -1
- package/src/modules/sales/index.ts +1 -1
- package/src/modules/staff/index.ts +1 -1
- package/src/modules/translations/index.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/modules/sales/index.ts"],
|
|
4
|
-
"sourcesContent": ["import type { ModuleInfo } from '@open-mercato/shared/modules/registry'\nimport './commands'\nimport './lib/providers'\n\nexport const metadata: ModuleInfo = {\n name: 'sales',\n title: 'Sales Management',\n version: '0.1.0',\n description:\n 'Quoting, ordering, fulfillment, and billing capabilities built on modular pricing and tax pipelines.',\n author: 'Open Mercato Team',\n license: '
|
|
4
|
+
"sourcesContent": ["import type { ModuleInfo } from '@open-mercato/shared/modules/registry'\nimport './commands'\nimport './lib/providers'\n\nexport const metadata: ModuleInfo = {\n name: 'sales',\n title: 'Sales Management',\n version: '0.1.0',\n description:\n 'Quoting, ordering, fulfillment, and billing capabilities built on modular pricing and tax pipelines.',\n author: 'Open Mercato Team',\n license: 'MIT',\n requires: ['catalog', 'customers', 'dictionaries'],\n ejectable: true,\n}\n\nexport { features } from './acl'\n"],
|
|
5
5
|
"mappings": "AACA,OAAO;AACP,OAAO;AAEA,MAAM,WAAuB;AAAA,EAClC,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AAAA,EACT,aACE;AAAA,EACF,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU,CAAC,WAAW,aAAa,cAAc;AAAA,EACjD,WAAW;AACb;AAEA,SAAS,gBAAgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/modules/staff/index.ts"],
|
|
4
|
-
"sourcesContent": ["import type { ModuleInfo } from '@open-mercato/shared/modules/registry'\nimport './commands'\n\nexport const metadata: ModuleInfo = {\n name: 'staff',\n title: 'Employees',\n version: '0.1.0',\n description: 'Teams, roles, and employee rosters.',\n author: 'Open Mercato Team',\n license: '
|
|
4
|
+
"sourcesContent": ["import type { ModuleInfo } from '@open-mercato/shared/modules/registry'\nimport './commands'\n\nexport const metadata: ModuleInfo = {\n name: 'staff',\n title: 'Employees',\n version: '0.1.0',\n description: 'Teams, roles, and employee rosters.',\n author: 'Open Mercato Team',\n license: 'MIT',\n requires: ['planner', 'resources'],\n ejectable: true,\n}\n\nexport { features } from './acl'\n"],
|
|
5
5
|
"mappings": "AACA,OAAO;AAEA,MAAM,WAAuB;AAAA,EAClC,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AAAA,EACT,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU,CAAC,WAAW,WAAW;AAAA,EACjC,WAAW;AACb;AAEA,SAAS,gBAAgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/modules/translations/index.ts"],
|
|
4
|
-
"sourcesContent": ["import type { ModuleInfo } from '@open-mercato/shared/modules/registry'\nimport './commands'\n\nexport const metadata: ModuleInfo = {\n name: 'translations',\n title: 'Entity Translations',\n version: '0.1.0',\n description: 'System-wide entity translation storage and locale overlay for CRUD responses.',\n author: 'Open Mercato Team',\n license: '
|
|
4
|
+
"sourcesContent": ["import type { ModuleInfo } from '@open-mercato/shared/modules/registry'\nimport './commands'\n\nexport const metadata: ModuleInfo = {\n name: 'translations',\n title: 'Entity Translations',\n version: '0.1.0',\n description: 'System-wide entity translation storage and locale overlay for CRUD responses.',\n author: 'Open Mercato Team',\n license: 'MIT',\n}\n"],
|
|
5
5
|
"mappings": "AACA,OAAO;AAEA,MAAM,WAAuB;AAAA,EAClC,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AAAA,EACT,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,SAAS;AACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/core",
|
|
3
|
-
"version": "0.6.6-develop.
|
|
3
|
+
"version": "0.6.6-develop.6089.1.a7ed560528",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"main": "./dist/index.js",
|
|
6
7
|
"scripts": {
|
|
@@ -245,16 +246,16 @@
|
|
|
245
246
|
"zod": "^4.4.3"
|
|
246
247
|
},
|
|
247
248
|
"peerDependencies": {
|
|
248
|
-
"@open-mercato/ai-assistant": "0.6.6-develop.
|
|
249
|
-
"@open-mercato/shared": "0.6.6-develop.
|
|
250
|
-
"@open-mercato/ui": "0.6.6-develop.
|
|
249
|
+
"@open-mercato/ai-assistant": "0.6.6-develop.6089.1.a7ed560528",
|
|
250
|
+
"@open-mercato/shared": "0.6.6-develop.6089.1.a7ed560528",
|
|
251
|
+
"@open-mercato/ui": "0.6.6-develop.6089.1.a7ed560528",
|
|
251
252
|
"react": "^19.0.0",
|
|
252
253
|
"react-dom": "^19.0.0"
|
|
253
254
|
},
|
|
254
255
|
"devDependencies": {
|
|
255
|
-
"@open-mercato/ai-assistant": "0.6.6-develop.
|
|
256
|
-
"@open-mercato/shared": "0.6.6-develop.
|
|
257
|
-
"@open-mercato/ui": "0.6.6-develop.
|
|
256
|
+
"@open-mercato/ai-assistant": "0.6.6-develop.6089.1.a7ed560528",
|
|
257
|
+
"@open-mercato/shared": "0.6.6-develop.6089.1.a7ed560528",
|
|
258
|
+
"@open-mercato/ui": "0.6.6-develop.6089.1.a7ed560528",
|
|
258
259
|
"@testing-library/dom": "^10.4.1",
|
|
259
260
|
"@testing-library/jest-dom": "^6.9.1",
|
|
260
261
|
"@testing-library/react": "^16.3.1",
|
|
@@ -8,7 +8,7 @@ export const metadata: ModuleInfo = {
|
|
|
8
8
|
version: '0.1.0',
|
|
9
9
|
description: 'User accounts, sessions, roles and password resets.',
|
|
10
10
|
author: 'Open Mercato Team',
|
|
11
|
-
license: '
|
|
11
|
+
license: 'MIT',
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
// Re-export features from module root acl.ts so generator can pick them up regardless of consumer imports
|
|
@@ -6,7 +6,7 @@ export const metadata: ModuleInfo = {
|
|
|
6
6
|
version: '0.1.0',
|
|
7
7
|
description: 'Business Rules Engine for defining, managing, and executing business logic and automation rules.',
|
|
8
8
|
author: 'Patryk Lewczuk',
|
|
9
|
-
license: '
|
|
9
|
+
license: 'MIT',
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
// Export rule engine types and functions for programmatic usage
|
|
@@ -32,7 +32,7 @@ import { Button } from '@open-mercato/ui/primitives/button'
|
|
|
32
32
|
import { IconButton } from '@open-mercato/ui/primitives/icon-button'
|
|
33
33
|
import { SearchInput } from '@open-mercato/ui/primitives/search-input'
|
|
34
34
|
import { Spinner } from '@open-mercato/ui/primitives/spinner'
|
|
35
|
-
import {
|
|
35
|
+
import { Alert, AlertDescription, AlertTitle } from '@open-mercato/ui/primitives/alert'
|
|
36
36
|
import { EmptyState } from '@open-mercato/ui/primitives/empty-state'
|
|
37
37
|
import {
|
|
38
38
|
Select,
|
|
@@ -2734,17 +2734,18 @@ export default function DealsKanbanPage(): React.ReactElement {
|
|
|
2734
2734
|
</div>
|
|
2735
2735
|
) : firstError ? (
|
|
2736
2736
|
<div className="max-w-xl">
|
|
2737
|
-
<
|
|
2738
|
-
|
|
2739
|
-
|
|
2737
|
+
<Alert variant="destructive">
|
|
2738
|
+
<AlertTitle>{translateWithFallback(t, 'ui.errors.defaultTitle', 'Something went wrong')}</AlertTitle>
|
|
2739
|
+
<AlertDescription>
|
|
2740
|
+
{firstError instanceof Error
|
|
2740
2741
|
? firstError.message
|
|
2741
2742
|
: translateWithFallback(
|
|
2742
2743
|
t,
|
|
2743
2744
|
'customers.deals.pipeline.loadError',
|
|
2744
2745
|
'Failed to load deals.',
|
|
2745
|
-
)
|
|
2746
|
-
|
|
2747
|
-
|
|
2746
|
+
)}
|
|
2747
|
+
</AlertDescription>
|
|
2748
|
+
</Alert>
|
|
2748
2749
|
</div>
|
|
2749
2750
|
) : (
|
|
2750
2751
|
<DndContext
|
|
@@ -7,7 +7,7 @@ export const metadata: ModuleInfo = {
|
|
|
7
7
|
version: '0.1.0',
|
|
8
8
|
description: 'Organization-scoped dictionaries for reusable enumerations and appearance presets.',
|
|
9
9
|
author: 'Open Mercato Team',
|
|
10
|
-
license: '
|
|
10
|
+
license: 'MIT',
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export { features } from './acl'
|
|
@@ -9,7 +9,7 @@ import { invalidateCustomFieldDefs } from '@open-mercato/ui/backend/utils/custom
|
|
|
9
9
|
import { upsertCustomEntitySchema, upsertCustomFieldDefSchema } from '@open-mercato/core/modules/entities/data/validators'
|
|
10
10
|
import { z } from 'zod'
|
|
11
11
|
import { Page, PageBody } from '@open-mercato/ui/backend/Page'
|
|
12
|
-
import {
|
|
12
|
+
import { Alert, AlertDescription, AlertTitle } from '@open-mercato/ui/primitives/alert'
|
|
13
13
|
import Link from 'next/link'
|
|
14
14
|
import { Button } from '@open-mercato/ui/primitives/button'
|
|
15
15
|
import { loadGeneratedFieldRegistrations } from '@open-mercato/ui/backend/fields/registry'
|
|
@@ -522,7 +522,10 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
522
522
|
<Page>
|
|
523
523
|
<PageBody>
|
|
524
524
|
<div className="p-6">
|
|
525
|
-
<
|
|
525
|
+
<Alert variant="destructive">
|
|
526
|
+
<AlertTitle>Invalid entity</AlertTitle>
|
|
527
|
+
<AlertDescription>The requested entity ID is missing or invalid.</AlertDescription>
|
|
528
|
+
</Alert>
|
|
526
529
|
</div>
|
|
527
530
|
</PageBody>
|
|
528
531
|
</Page>
|
|
@@ -6,7 +6,7 @@ export const metadata: ModuleInfo = {
|
|
|
6
6
|
version: '0.1.0',
|
|
7
7
|
description: 'User-defined entities, custom fields, and dynamic records storage.',
|
|
8
8
|
author: 'Open Mercato Team',
|
|
9
|
-
license: '
|
|
9
|
+
license: 'MIT',
|
|
10
10
|
// Ensure query/index layer is present for hybrid querying of custom entities
|
|
11
11
|
requires: ['query_index'],
|
|
12
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@open-mercato/ui/primitives/card'
|
|
3
|
-
import { DataLoader
|
|
3
|
+
import { DataLoader } from "@open-mercato/ui";
|
|
4
|
+
import { Alert, AlertDescription, AlertTitle } from "@open-mercato/ui/primitives/alert";
|
|
4
5
|
import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query";
|
|
5
6
|
import { apiCall, withScopedApiRequestHeaders } from "@open-mercato/ui/backend/utils/apiCall";
|
|
6
7
|
import { buildOptimisticLockHeader } from "@open-mercato/ui/backend/utils/optimisticLock";
|
|
@@ -68,7 +69,10 @@ export function FeatureToggleOverrideCard({ toggleId }: { toggleId: string }) {
|
|
|
68
69
|
<CardTitle>{t('feature_toggles.override.title', 'Override')}</CardTitle>
|
|
69
70
|
</CardHeader>
|
|
70
71
|
<CardContent>
|
|
71
|
-
<
|
|
72
|
+
<Alert variant="destructive">
|
|
73
|
+
<AlertTitle>{t('ui.errors.defaultTitle', 'Something went wrong')}</AlertTitle>
|
|
74
|
+
<AlertDescription>{error.message}</AlertDescription>
|
|
75
|
+
</Alert>
|
|
72
76
|
</CardContent>
|
|
73
77
|
</Card>
|
|
74
78
|
)
|
|
@@ -9,7 +9,7 @@ export const metadata: ModuleInfo = {
|
|
|
9
9
|
description:
|
|
10
10
|
'Quoting, ordering, fulfillment, and billing capabilities built on modular pricing and tax pipelines.',
|
|
11
11
|
author: 'Open Mercato Team',
|
|
12
|
-
license: '
|
|
12
|
+
license: 'MIT',
|
|
13
13
|
requires: ['catalog', 'customers', 'dictionaries'],
|
|
14
14
|
ejectable: true,
|
|
15
15
|
}
|