@fluid-app/rep-sdk 0.1.7 → 0.1.9
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 +3 -1
- package/dist/ContactsScreen-7RGAMMGN.cjs +18 -0
- package/dist/{ContactsScreen-ATASCZO2.cjs.map → ContactsScreen-7RGAMMGN.cjs.map} +1 -1
- package/dist/ContactsScreen-XKZE5HTP.js +5 -0
- package/dist/{ContactsScreen-33AJ5XUB.js.map → ContactsScreen-XKZE5HTP.js.map} +1 -1
- package/dist/CustomersScreen-BBQ3YHI4.js +5 -0
- package/dist/{CustomersScreen-E4HXBKV7.js.map → CustomersScreen-BBQ3YHI4.js.map} +1 -1
- package/dist/CustomersScreen-EMGCQ2PV.cjs +18 -0
- package/dist/{CustomersScreen-XMPMKSQA.cjs.map → CustomersScreen-EMGCQ2PV.cjs.map} +1 -1
- package/dist/MessagingScreen-I3GVOGKY.js +4 -0
- package/dist/{MessagingScreen-6WDU3XE4.js.map → MessagingScreen-I3GVOGKY.js.map} +1 -1
- package/dist/MessagingScreen-ZRD4WEOE.cjs +17 -0
- package/dist/{MessagingScreen-XKOBLDWM.cjs.map → MessagingScreen-ZRD4WEOE.cjs.map} +1 -1
- package/dist/OrdersScreen-ANDGND6F.js +5 -0
- package/dist/{OrdersScreen-IPPZLEYF.js.map → OrdersScreen-ANDGND6F.js.map} +1 -1
- package/dist/OrdersScreen-NNE6OSRS.cjs +18 -0
- package/dist/{OrdersScreen-X7FYUROL.cjs.map → OrdersScreen-NNE6OSRS.cjs.map} +1 -1
- package/dist/ProductsScreen-5PMFLPWS.js +5 -0
- package/dist/{ProductsScreen-YTSOZW7B.js.map → ProductsScreen-5PMFLPWS.js.map} +1 -1
- package/dist/ProductsScreen-ALQYD7ID.cjs +18 -0
- package/dist/{ProductsScreen-4ZIUQNUU.cjs.map → ProductsScreen-ALQYD7ID.cjs.map} +1 -1
- package/dist/{chunk-5UBEM3AX.cjs → chunk-2RIDFKS3.cjs} +4 -4
- package/dist/{chunk-5UBEM3AX.cjs.map → chunk-2RIDFKS3.cjs.map} +1 -1
- package/dist/{chunk-QZMWG7EM.js → chunk-4LTH3NNT.js} +3 -3
- package/dist/{chunk-QZMWG7EM.js.map → chunk-4LTH3NNT.js.map} +1 -1
- package/dist/chunk-4PHR2M6A.js +14 -0
- package/dist/{chunk-RS4OSTES.js.map → chunk-4PHR2M6A.js.map} +1 -1
- package/dist/{chunk-MHPK7YQ2.cjs → chunk-EKMZ4NIA.cjs} +4 -4
- package/dist/{chunk-MHPK7YQ2.cjs.map → chunk-EKMZ4NIA.cjs.map} +1 -1
- package/dist/{chunk-EOXYOOWS.cjs → chunk-HFPPHLOO.cjs} +4 -4
- package/dist/{chunk-EOXYOOWS.cjs.map → chunk-HFPPHLOO.cjs.map} +1 -1
- package/dist/{chunk-FG2CI6HA.cjs → chunk-HMOWQQDX.cjs} +4 -4
- package/dist/{chunk-FG2CI6HA.cjs.map → chunk-HMOWQQDX.cjs.map} +1 -1
- package/dist/{chunk-WMBD65GH.js → chunk-JXEED3FK.js} +3 -3
- package/dist/{chunk-WMBD65GH.js.map → chunk-JXEED3FK.js.map} +1 -1
- package/dist/{chunk-NZSRE4IB.cjs → chunk-LU42Y4H3.cjs} +14 -14
- package/dist/{chunk-NZSRE4IB.cjs.map → chunk-LU42Y4H3.cjs.map} +1 -1
- package/dist/{chunk-CMF2FYTD.js → chunk-NGOEPTWZ.js} +3 -3
- package/dist/{chunk-CMF2FYTD.js.map → chunk-NGOEPTWZ.js.map} +1 -1
- package/dist/chunk-NNZKBXNB.cjs +16 -0
- package/dist/{chunk-B6S6BEPL.cjs.map → chunk-NNZKBXNB.cjs.map} +1 -1
- package/dist/{chunk-VIITMYKW.js → chunk-SYZUEL6B.js} +9 -9
- package/dist/{chunk-VIITMYKW.js.map → chunk-SYZUEL6B.js.map} +1 -1
- package/dist/{chunk-WFPYEYC7.js → chunk-TB6OK3WH.js} +3 -3
- package/dist/{chunk-WFPYEYC7.js.map → chunk-TB6OK3WH.js.map} +1 -1
- package/dist/index.cjs +101 -101
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +34 -34
- package/dist/index.js.map +1 -1
- package/package.json +28 -29
- package/dist/ContactsScreen-33AJ5XUB.js +0 -5
- package/dist/ContactsScreen-ATASCZO2.cjs +0 -18
- package/dist/CustomersScreen-E4HXBKV7.js +0 -5
- package/dist/CustomersScreen-XMPMKSQA.cjs +0 -18
- package/dist/MessagingScreen-6WDU3XE4.js +0 -4
- package/dist/MessagingScreen-XKOBLDWM.cjs +0 -17
- package/dist/OrdersScreen-IPPZLEYF.js +0 -5
- package/dist/OrdersScreen-X7FYUROL.cjs +0 -18
- package/dist/ProductsScreen-4ZIUQNUU.cjs +0 -18
- package/dist/ProductsScreen-YTSOZW7B.js +0 -5
- package/dist/chunk-B6S6BEPL.cjs +0 -16
- package/dist/chunk-RS4OSTES.js +0 -14
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-app/rep-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "SDK for building custom Fluid rep portals",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
5
8
|
"type": "module",
|
|
9
|
+
"sideEffects": false,
|
|
6
10
|
"main": "./dist/index.cjs",
|
|
7
11
|
"module": "./dist/index.js",
|
|
8
12
|
"types": "./dist/index.d.ts",
|
|
@@ -13,13 +17,9 @@
|
|
|
13
17
|
"types": "./dist/index.d.ts"
|
|
14
18
|
}
|
|
15
19
|
},
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
19
20
|
"publishConfig": {
|
|
20
21
|
"access": "public"
|
|
21
22
|
},
|
|
22
|
-
"sideEffects": false,
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@radix-ui/react-slot": "^1.1.2",
|
|
25
25
|
"class-variance-authority": "^0.7.1",
|
|
@@ -29,48 +29,47 @@
|
|
|
29
29
|
"recharts": "^2.15.4",
|
|
30
30
|
"tailwind-merge": "^3.0.2",
|
|
31
31
|
"@fluid-app/auth": "0.1.0",
|
|
32
|
-
"@fluid-app/
|
|
33
|
-
"@fluid-app/
|
|
34
|
-
"@fluid-app/
|
|
35
|
-
"@fluid-app/rep-core": "0.1.
|
|
36
|
-
"@fluid-app/rep-widgets": "0.1.
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"@fortawesome/fontawesome-svg-core": ">=6.0.0",
|
|
40
|
-
"@fortawesome/pro-regular-svg-icons": ">=6.0.0",
|
|
41
|
-
"@fortawesome/react-fontawesome": ">=0.2.0",
|
|
42
|
-
"@tanstack/react-query": ">=5.0.0",
|
|
43
|
-
"react": ">=18.0.0",
|
|
44
|
-
"react-hook-form": ">=7.0.0",
|
|
45
|
-
"@hookform/resolvers": ">=3.0.0",
|
|
46
|
-
"zod": ">=3.0.0"
|
|
32
|
+
"@fluid-app/messaging-api-client": "0.1.0",
|
|
33
|
+
"@fluid-app/messaging-core": "0.1.0",
|
|
34
|
+
"@fluid-app/messaging-ui": "0.1.0",
|
|
35
|
+
"@fluid-app/rep-core": "0.1.10",
|
|
36
|
+
"@fluid-app/rep-widgets": "0.1.14"
|
|
47
37
|
},
|
|
48
38
|
"devDependencies": {
|
|
49
|
-
"@tanstack/react-query": "^5.90.11",
|
|
50
|
-
"@types/react": "^19.2.13",
|
|
51
39
|
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
52
40
|
"@fortawesome/pro-regular-svg-icons": "^6.7.2",
|
|
53
41
|
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
54
42
|
"@hookform/resolvers": "^4.1.3",
|
|
43
|
+
"@tanstack/react-query": "^5.90.11",
|
|
44
|
+
"@types/react": "^19.2.13",
|
|
55
45
|
"jsdom": "^28.0.0",
|
|
56
|
-
"react-hook-form": "^7.55.0",
|
|
57
|
-
"zod": "^3.24.2",
|
|
58
46
|
"react": "^19.2.4",
|
|
47
|
+
"react-hook-form": "^7.55.0",
|
|
59
48
|
"tsup": "^8.4.0",
|
|
60
49
|
"typescript": "^5",
|
|
61
50
|
"vitest": "^4.0.18",
|
|
62
|
-
"
|
|
51
|
+
"zod": "^3.24.2",
|
|
52
|
+
"@fluid-app/typescript-config": "0.0.0",
|
|
63
53
|
"@fluid-app/fluidos-api-client": "0.1.0",
|
|
64
|
-
"@fluid-app/query-persister": "0.1.0"
|
|
65
|
-
|
|
54
|
+
"@fluid-app/query-persister": "0.1.0"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@fortawesome/fontawesome-svg-core": ">=6.0.0",
|
|
58
|
+
"@fortawesome/pro-regular-svg-icons": ">=6.0.0",
|
|
59
|
+
"@fortawesome/react-fontawesome": ">=0.2.0",
|
|
60
|
+
"@hookform/resolvers": ">=3.0.0",
|
|
61
|
+
"@tanstack/react-query": ">=5.0.0",
|
|
62
|
+
"react": ">=18.0.0",
|
|
63
|
+
"react-hook-form": ">=7.0.0",
|
|
64
|
+
"zod": ">=3.0.0"
|
|
66
65
|
},
|
|
67
66
|
"scripts": {
|
|
68
67
|
"transit": "tsc --emitDeclarationOnly",
|
|
69
68
|
"build": "tsup",
|
|
70
69
|
"dev": "tsup --watch",
|
|
71
70
|
"typecheck": "tsc --noEmit",
|
|
72
|
-
"lint": "
|
|
73
|
-
"lint:fix": "
|
|
71
|
+
"lint": "oxlint --deny-warnings",
|
|
72
|
+
"lint:fix": "oxlint --fix --deny-warnings",
|
|
74
73
|
"test": "vitest run",
|
|
75
74
|
"test:watch": "vitest"
|
|
76
75
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkEOXYOOWS_cjs = require('./chunk-EOXYOOWS.cjs');
|
|
4
|
-
require('./chunk-B6S6BEPL.cjs');
|
|
5
|
-
require('./chunk-HDQ2JUQT.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "ContactsScreen", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkEOXYOOWS_cjs.ContactsScreen; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "contactsScreenPropertySchema", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunkEOXYOOWS_cjs.contactsScreenPropertySchema; }
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=ContactsScreen-ATASCZO2.cjs.map
|
|
18
|
-
//# sourceMappingURL=ContactsScreen-ATASCZO2.cjs.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkMHPK7YQ2_cjs = require('./chunk-MHPK7YQ2.cjs');
|
|
4
|
-
require('./chunk-B6S6BEPL.cjs');
|
|
5
|
-
require('./chunk-HDQ2JUQT.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "CustomersScreen", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkMHPK7YQ2_cjs.CustomersScreen; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "customersScreenPropertySchema", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunkMHPK7YQ2_cjs.customersScreenPropertySchema; }
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=CustomersScreen-XMPMKSQA.cjs.map
|
|
18
|
-
//# sourceMappingURL=CustomersScreen-XMPMKSQA.cjs.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkNZSRE4IB_cjs = require('./chunk-NZSRE4IB.cjs');
|
|
4
|
-
require('./chunk-HDQ2JUQT.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "MessagingScreen", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkNZSRE4IB_cjs.MessagingScreen; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "messagingScreenPropertySchema", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkNZSRE4IB_cjs.messagingScreenPropertySchema; }
|
|
15
|
-
});
|
|
16
|
-
//# sourceMappingURL=MessagingScreen-XKOBLDWM.cjs.map
|
|
17
|
-
//# sourceMappingURL=MessagingScreen-XKOBLDWM.cjs.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkFG2CI6HA_cjs = require('./chunk-FG2CI6HA.cjs');
|
|
4
|
-
require('./chunk-B6S6BEPL.cjs');
|
|
5
|
-
require('./chunk-HDQ2JUQT.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "OrdersScreen", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkFG2CI6HA_cjs.OrdersScreen; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "ordersScreenPropertySchema", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunkFG2CI6HA_cjs.ordersScreenPropertySchema; }
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=OrdersScreen-X7FYUROL.cjs.map
|
|
18
|
-
//# sourceMappingURL=OrdersScreen-X7FYUROL.cjs.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk5UBEM3AX_cjs = require('./chunk-5UBEM3AX.cjs');
|
|
4
|
-
require('./chunk-B6S6BEPL.cjs');
|
|
5
|
-
require('./chunk-HDQ2JUQT.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "ProductsScreen", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunk5UBEM3AX_cjs.ProductsScreen; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "productsScreenPropertySchema", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunk5UBEM3AX_cjs.productsScreenPropertySchema; }
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=ProductsScreen-4ZIUQNUU.cjs.map
|
|
18
|
-
//# sourceMappingURL=ProductsScreen-4ZIUQNUU.cjs.map
|
package/dist/chunk-B6S6BEPL.cjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
|
|
5
|
-
// src/screens/CoreScreenPlaceholder.tsx
|
|
6
|
-
function CoreScreenPlaceholder({ name }) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-[400px] items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-sm rounded-lg border border-dashed border-border p-8 text-center", children: [
|
|
8
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-xl font-semibold text-foreground", children: name }),
|
|
9
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-muted-foreground", children: "This screen is provided by Fluid Commerce" }),
|
|
10
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-muted-foreground", children: "Connect to the Fluid platform to enable this feature" })
|
|
11
|
-
] }) });
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
exports.CoreScreenPlaceholder = CoreScreenPlaceholder;
|
|
15
|
-
//# sourceMappingURL=chunk-B6S6BEPL.cjs.map
|
|
16
|
-
//# sourceMappingURL=chunk-B6S6BEPL.cjs.map
|
package/dist/chunk-RS4OSTES.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
// src/screens/CoreScreenPlaceholder.tsx
|
|
4
|
-
function CoreScreenPlaceholder({ name }) {
|
|
5
|
-
return /* @__PURE__ */ jsx("div", { className: "flex min-h-[400px] items-center justify-center", children: /* @__PURE__ */ jsxs("div", { className: "max-w-sm rounded-lg border border-dashed border-border p-8 text-center", children: [
|
|
6
|
-
/* @__PURE__ */ jsx("h2", { className: "text-xl font-semibold text-foreground", children: name }),
|
|
7
|
-
/* @__PURE__ */ jsx("p", { className: "mt-2 text-muted-foreground", children: "This screen is provided by Fluid Commerce" }),
|
|
8
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-muted-foreground", children: "Connect to the Fluid platform to enable this feature" })
|
|
9
|
-
] }) });
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { CoreScreenPlaceholder };
|
|
13
|
-
//# sourceMappingURL=chunk-RS4OSTES.js.map
|
|
14
|
-
//# sourceMappingURL=chunk-RS4OSTES.js.map
|