@fluid-app/rep-sdk 0.1.2 → 0.1.4
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/ContactsScreen-33AJ5XUB.js +5 -0
- package/dist/{ContactsScreen-BYXF74BO.js.map → ContactsScreen-33AJ5XUB.js.map} +1 -1
- package/dist/ContactsScreen-ATASCZO2.cjs +18 -0
- package/dist/{ContactsScreen-XZOQJVFE.cjs.map → ContactsScreen-ATASCZO2.cjs.map} +1 -1
- package/dist/CustomersScreen-E4HXBKV7.js +5 -0
- package/dist/{CustomersScreen-VS6LGULO.js.map → CustomersScreen-E4HXBKV7.js.map} +1 -1
- package/dist/CustomersScreen-XMPMKSQA.cjs +18 -0
- package/dist/{CustomersScreen-53SXRDDK.cjs.map → CustomersScreen-XMPMKSQA.cjs.map} +1 -1
- package/dist/MessagingScreen-5TEWFUX4.js +4 -0
- package/dist/{MessagingScreen-O42JEJMW.js.map → MessagingScreen-5TEWFUX4.js.map} +1 -1
- package/dist/MessagingScreen-JC7I55NG.cjs +17 -0
- package/dist/{MessagingScreen-UCVLYWZB.cjs.map → MessagingScreen-JC7I55NG.cjs.map} +1 -1
- package/dist/OrdersScreen-IPPZLEYF.js +5 -0
- package/dist/{OrdersScreen-QQJFTTSS.js.map → OrdersScreen-IPPZLEYF.js.map} +1 -1
- package/dist/OrdersScreen-X7FYUROL.cjs +18 -0
- package/dist/{OrdersScreen-WNT2WDLI.cjs.map → OrdersScreen-X7FYUROL.cjs.map} +1 -1
- package/dist/ProductsScreen-4ZIUQNUU.cjs +18 -0
- package/dist/{ProductsScreen-CTIAKS3Z.cjs.map → ProductsScreen-4ZIUQNUU.cjs.map} +1 -1
- package/dist/ProductsScreen-YTSOZW7B.js +5 -0
- package/dist/{ProductsScreen-TRIT2FE3.js.map → ProductsScreen-YTSOZW7B.js.map} +1 -1
- package/dist/chunk-424PT5DM.js +21 -0
- package/dist/chunk-424PT5DM.js.map +1 -0
- package/dist/{chunk-QUVJ3R4T.cjs → chunk-5UBEM3AX.cjs} +4 -4
- package/dist/{chunk-QUVJ3R4T.cjs.map → chunk-5UBEM3AX.cjs.map} +1 -1
- package/dist/chunk-B6S6BEPL.cjs +16 -0
- package/dist/chunk-B6S6BEPL.cjs.map +1 -0
- package/dist/{chunk-WH7WZXT6.js → chunk-CMF2FYTD.js} +3 -3
- package/dist/{chunk-WH7WZXT6.js.map → chunk-CMF2FYTD.js.map} +1 -1
- package/dist/{chunk-MEOOAMH2.cjs → chunk-EOXYOOWS.cjs} +4 -4
- package/dist/{chunk-MEOOAMH2.cjs.map → chunk-EOXYOOWS.cjs.map} +1 -1
- package/dist/{chunk-YII3IXF4.cjs → chunk-FG2CI6HA.cjs} +4 -4
- package/dist/{chunk-YII3IXF4.cjs.map → chunk-FG2CI6HA.cjs.map} +1 -1
- package/dist/chunk-HDQ2JUQT.cjs +24 -0
- package/dist/chunk-HDQ2JUQT.cjs.map +1 -0
- package/dist/{chunk-MBUCXIUN.cjs → chunk-MHPK7YQ2.cjs} +4 -4
- package/dist/{chunk-MBUCXIUN.cjs.map → chunk-MHPK7YQ2.cjs.map} +1 -1
- package/dist/chunk-OE62VIZU.cjs +1955 -0
- package/dist/chunk-OE62VIZU.cjs.map +1 -0
- package/dist/{chunk-2AWTZV3T.js → chunk-QZMWG7EM.js} +3 -3
- package/dist/{chunk-2AWTZV3T.js.map → chunk-QZMWG7EM.js.map} +1 -1
- package/dist/chunk-R4SXB6EV.js +1881 -0
- package/dist/chunk-R4SXB6EV.js.map +1 -0
- package/dist/chunk-RS4OSTES.js +14 -0
- package/dist/chunk-RS4OSTES.js.map +1 -0
- package/dist/{chunk-PZIHCYDD.js → chunk-WFPYEYC7.js} +3 -3
- package/dist/{chunk-PZIHCYDD.js.map → chunk-WFPYEYC7.js.map} +1 -1
- package/dist/{chunk-CXRJSGO6.js → chunk-WMBD65GH.js} +3 -3
- package/dist/{chunk-CXRJSGO6.js.map → chunk-WMBD65GH.js.map} +1 -1
- package/dist/index.cjs +1726 -1194
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2603 -0
- package/dist/index.d.ts +2603 -0
- package/dist/index.js +1395 -1021
- package/dist/index.js.map +1 -1
- package/package.json +26 -7
- package/dist/ContactsScreen-BYXF74BO.js +0 -4
- package/dist/ContactsScreen-XZOQJVFE.cjs +0 -17
- package/dist/CustomersScreen-53SXRDDK.cjs +0 -17
- package/dist/CustomersScreen-VS6LGULO.js +0 -4
- package/dist/MessagingScreen-O42JEJMW.js +0 -4
- package/dist/MessagingScreen-UCVLYWZB.cjs +0 -17
- package/dist/OrdersScreen-QQJFTTSS.js +0 -4
- package/dist/OrdersScreen-WNT2WDLI.cjs +0 -17
- package/dist/ProductsScreen-CTIAKS3Z.cjs +0 -17
- package/dist/ProductsScreen-TRIT2FE3.js +0 -4
- package/dist/chunk-DEQ3PBVX.cjs +0 -29
- package/dist/chunk-DEQ3PBVX.cjs.map +0 -1
- package/dist/chunk-JZRNKSKT.cjs +0 -19
- package/dist/chunk-JZRNKSKT.cjs.map +0 -1
- package/dist/chunk-LO2HDG6C.js +0 -26
- package/dist/chunk-LO2HDG6C.js.map +0 -1
- package/dist/chunk-PJWPO4BJ.js +0 -16
- package/dist/chunk-PJWPO4BJ.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContactsScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContactsScreen-33AJ5XUB.js"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContactsScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContactsScreen-ATASCZO2.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"CustomersScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"CustomersScreen-E4HXBKV7.js"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"CustomersScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"CustomersScreen-XMPMKSQA.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"MessagingScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"MessagingScreen-5TEWFUX4.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkOE62VIZU_cjs = require('./chunk-OE62VIZU.cjs');
|
|
4
|
+
require('./chunk-HDQ2JUQT.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "MessagingScreen", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkOE62VIZU_cjs.MessagingScreen; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "messagingScreenPropertySchema", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkOE62VIZU_cjs.messagingScreenPropertySchema; }
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=MessagingScreen-JC7I55NG.cjs.map
|
|
17
|
+
//# sourceMappingURL=MessagingScreen-JC7I55NG.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"MessagingScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"MessagingScreen-JC7I55NG.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-IPPZLEYF.js"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-X7FYUROL.cjs"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-4ZIUQNUU.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-YTSOZW7B.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
|
+
|
|
19
|
+
export { __export, __reExport };
|
|
20
|
+
//# sourceMappingURL=chunk-424PT5DM.js.map
|
|
21
|
+
//# sourceMappingURL=chunk-424PT5DM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-424PT5DM.js"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB6S6BEPL_cjs = require('./chunk-B6S6BEPL.cjs');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
|
|
6
6
|
function ProductsScreen(_props) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkB6S6BEPL_cjs.CoreScreenPlaceholder, { name: "Products" });
|
|
8
8
|
}
|
|
9
9
|
var productsScreenPropertySchema = {
|
|
10
10
|
widgetType: "ProductsScreen",
|
|
@@ -15,5 +15,5 @@ var productsScreenPropertySchema = {
|
|
|
15
15
|
|
|
16
16
|
exports.ProductsScreen = ProductsScreen;
|
|
17
17
|
exports.productsScreenPropertySchema = productsScreenPropertySchema;
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-5UBEM3AX.cjs.map
|
|
19
|
+
//# sourceMappingURL=chunk-5UBEM3AX.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/screens/ProductsScreen.tsx"],"names":["jsx","CoreScreenPlaceholder"],"mappings":";;;;;AAmBO,SAAS,eAAe,MAAA,EAA6B;AAC1D,EAAA,uBAAOA,cAAA,CAACC,uCAAA,EAAA,EAAsB,IAAA,EAAK,UAAA,EAAW,CAAA;AAChD;AAEO,IAAM,4BAAA,GAAqD;AAAA,EAChE,UAAA,EAAY,gBAAA;AAAA,EACZ,WAAA,EAAa,iBAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/screens/ProductsScreen.tsx"],"names":["jsx","CoreScreenPlaceholder"],"mappings":";;;;;AAmBO,SAAS,eAAe,MAAA,EAA6B;AAC1D,EAAA,uBAAOA,cAAA,CAACC,uCAAA,EAAA,EAAsB,IAAA,EAAK,UAAA,EAAW,CAAA;AAChD;AAEO,IAAM,4BAAA,GAAqD;AAAA,EAChE,UAAA,EAAY,gBAAA;AAAA,EACZ,WAAA,EAAa,iBAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-5UBEM3AX.cjs","sourcesContent":["import type { ComponentProps } from \"react\";\nimport type {\n BackgroundValue,\n BorderRadiusOptions,\n ColorOptions,\n PaddingOptions,\n} from \"../types\";\nimport type { WidgetPropertySchema } from \"../registries/property-schema-types\";\nimport { CoreScreenPlaceholder } from \"./CoreScreenPlaceholder\";\n\ntype ProductsScreenProps = ComponentProps<\"div\"> & {\n background?: BackgroundValue;\n textColor?: ColorOptions;\n accentColor?: ColorOptions;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function ProductsScreen(_props: ProductsScreenProps) {\n return <CoreScreenPlaceholder name=\"Products\" />;\n}\n\nexport const productsScreenPropertySchema: WidgetPropertySchema = {\n widgetType: \"ProductsScreen\",\n displayName: \"Products Screen\",\n tabsConfig: [{ id: \"styling\", label: \"Styling\" }],\n fields: [],\n} as const satisfies WidgetPropertySchema;\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/screens/CoreScreenPlaceholder.tsx"],"names":["jsxs","jsx"],"mappings":";;;;;AAIO,SAAS,qBAAA,CAAsB,EAAE,IAAA,EAAK,EAA8B;AACzE,EAAA,sCACG,KAAA,EAAA,EAAI,SAAA,EAAU,kDACb,QAAA,kBAAAA,eAAA,CAAC,KAAA,EAAA,EAAI,WAAU,wEAAA,EACb,QAAA,EAAA;AAAA,oBAAAC,cAAA,CAAC,IAAA,EAAA,EAAG,SAAA,EAAU,uCAAA,EAAyC,QAAA,EAAA,IAAA,EAAK,CAAA;AAAA,oBAC5DA,cAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,4BAAA,EAA6B,QAAA,EAAA,2CAAA,EAE1C,CAAA;AAAA,oBACAA,cAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,oCAAA,EAAqC,QAAA,EAAA,sDAAA,EAElD;AAAA,GAAA,EACF,CAAA,EACF,CAAA;AAEJ","file":"chunk-B6S6BEPL.cjs","sourcesContent":["/**\n * Internal placeholder component for core screens provided by Fluid Commerce.\n * This is NOT exported from the SDK — it's shared between core screen files.\n */\nexport function CoreScreenPlaceholder({ name }: { readonly name: string }) {\n return (\n <div className=\"flex min-h-[400px] items-center justify-center\">\n <div className=\"max-w-sm rounded-lg border border-dashed border-border p-8 text-center\">\n <h2 className=\"text-xl font-semibold text-foreground\">{name}</h2>\n <p className=\"mt-2 text-muted-foreground\">\n This screen is provided by Fluid Commerce\n </p>\n <p className=\"mt-1 text-sm text-muted-foreground\">\n Connect to the Fluid platform to enable this feature\n </p>\n </div>\n </div>\n );\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CoreScreenPlaceholder } from './chunk-
|
|
1
|
+
import { CoreScreenPlaceholder } from './chunk-RS4OSTES.js';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
4
|
function ContactsScreen(_props) {
|
|
@@ -12,5 +12,5 @@ var contactsScreenPropertySchema = {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export { ContactsScreen, contactsScreenPropertySchema };
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
16
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-CMF2FYTD.js.map
|
|
16
|
+
//# sourceMappingURL=chunk-CMF2FYTD.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/screens/ContactsScreen.tsx"],"names":[],"mappings":";;;AA2BO,SAAS,eAAe,MAAA,EAA6B;AAC1D,EAAA,uBAAO,GAAA,CAAC,qBAAA,EAAA,EAAsB,IAAA,EAAK,UAAA,EAAW,CAAA;AAChD;AAEO,IAAM,4BAAA,GAAqD;AAAA,EAChE,UAAA,EAAY,gBAAA;AAAA,EACZ,WAAA,EAAa,iBAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/screens/ContactsScreen.tsx"],"names":[],"mappings":";;;AA2BO,SAAS,eAAe,MAAA,EAA6B;AAC1D,EAAA,uBAAO,GAAA,CAAC,qBAAA,EAAA,EAAsB,IAAA,EAAK,UAAA,EAAW,CAAA;AAChD;AAEO,IAAM,4BAAA,GAAqD;AAAA,EAChE,UAAA,EAAY,gBAAA;AAAA,EACZ,WAAA,EAAa,iBAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-CMF2FYTD.js","sourcesContent":["import type { ComponentProps } from \"react\";\nimport type {\n BackgroundValue,\n BorderRadiusOptions,\n ColorOptions,\n PaddingOptions,\n} from \"../types\";\nimport type { WidgetPropertySchema } from \"../registries/property-schema-types\";\nimport { CoreScreenPlaceholder } from \"./CoreScreenPlaceholder\";\n\ntype ContactsScreenProps = ComponentProps<\"div\"> & {\n // Styling\n background?: BackgroundValue;\n textColor?: ColorOptions;\n accentColor?: ColorOptions;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n\n // Display\n defaultViewMode?: \"list\" | \"grid\";\n\n // Callbacks\n onContactSelect?: (contactId: string) => void;\n onCreateContact?: () => void;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function ContactsScreen(_props: ContactsScreenProps) {\n return <CoreScreenPlaceholder name=\"Contacts\" />;\n}\n\nexport const contactsScreenPropertySchema: WidgetPropertySchema = {\n widgetType: \"ContactsScreen\",\n displayName: \"Contacts Screen\",\n tabsConfig: [{ id: \"styling\", label: \"Styling\" }],\n fields: [],\n} as const satisfies WidgetPropertySchema;\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB6S6BEPL_cjs = require('./chunk-B6S6BEPL.cjs');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
|
|
6
6
|
function ContactsScreen(_props) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkB6S6BEPL_cjs.CoreScreenPlaceholder, { name: "Contacts" });
|
|
8
8
|
}
|
|
9
9
|
var contactsScreenPropertySchema = {
|
|
10
10
|
widgetType: "ContactsScreen",
|
|
@@ -15,5 +15,5 @@ var contactsScreenPropertySchema = {
|
|
|
15
15
|
|
|
16
16
|
exports.ContactsScreen = ContactsScreen;
|
|
17
17
|
exports.contactsScreenPropertySchema = contactsScreenPropertySchema;
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-EOXYOOWS.cjs.map
|
|
19
|
+
//# sourceMappingURL=chunk-EOXYOOWS.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/screens/ContactsScreen.tsx"],"names":["jsx","CoreScreenPlaceholder"],"mappings":";;;;;AA2BO,SAAS,eAAe,MAAA,EAA6B;AAC1D,EAAA,uBAAOA,cAAA,CAACC,uCAAA,EAAA,EAAsB,IAAA,EAAK,UAAA,EAAW,CAAA;AAChD;AAEO,IAAM,4BAAA,GAAqD;AAAA,EAChE,UAAA,EAAY,gBAAA;AAAA,EACZ,WAAA,EAAa,iBAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/screens/ContactsScreen.tsx"],"names":["jsx","CoreScreenPlaceholder"],"mappings":";;;;;AA2BO,SAAS,eAAe,MAAA,EAA6B;AAC1D,EAAA,uBAAOA,cAAA,CAACC,uCAAA,EAAA,EAAsB,IAAA,EAAK,UAAA,EAAW,CAAA;AAChD;AAEO,IAAM,4BAAA,GAAqD;AAAA,EAChE,UAAA,EAAY,gBAAA;AAAA,EACZ,WAAA,EAAa,iBAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-EOXYOOWS.cjs","sourcesContent":["import type { ComponentProps } from \"react\";\nimport type {\n BackgroundValue,\n BorderRadiusOptions,\n ColorOptions,\n PaddingOptions,\n} from \"../types\";\nimport type { WidgetPropertySchema } from \"../registries/property-schema-types\";\nimport { CoreScreenPlaceholder } from \"./CoreScreenPlaceholder\";\n\ntype ContactsScreenProps = ComponentProps<\"div\"> & {\n // Styling\n background?: BackgroundValue;\n textColor?: ColorOptions;\n accentColor?: ColorOptions;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n\n // Display\n defaultViewMode?: \"list\" | \"grid\";\n\n // Callbacks\n onContactSelect?: (contactId: string) => void;\n onCreateContact?: () => void;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function ContactsScreen(_props: ContactsScreenProps) {\n return <CoreScreenPlaceholder name=\"Contacts\" />;\n}\n\nexport const contactsScreenPropertySchema: WidgetPropertySchema = {\n widgetType: \"ContactsScreen\",\n displayName: \"Contacts Screen\",\n tabsConfig: [{ id: \"styling\", label: \"Styling\" }],\n fields: [],\n} as const satisfies WidgetPropertySchema;\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB6S6BEPL_cjs = require('./chunk-B6S6BEPL.cjs');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
|
|
6
6
|
function OrdersScreen(_props) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkB6S6BEPL_cjs.CoreScreenPlaceholder, { name: "Orders" });
|
|
8
8
|
}
|
|
9
9
|
var ordersScreenPropertySchema = {
|
|
10
10
|
widgetType: "OrdersScreen",
|
|
@@ -15,5 +15,5 @@ var ordersScreenPropertySchema = {
|
|
|
15
15
|
|
|
16
16
|
exports.OrdersScreen = OrdersScreen;
|
|
17
17
|
exports.ordersScreenPropertySchema = ordersScreenPropertySchema;
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-FG2CI6HA.cjs.map
|
|
19
|
+
//# sourceMappingURL=chunk-FG2CI6HA.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/screens/OrdersScreen.tsx"],"names":["jsx","CoreScreenPlaceholder"],"mappings":";;;;;AAmBO,SAAS,aAAa,MAAA,EAA2B;AACtD,EAAA,uBAAOA,cAAA,CAACC,uCAAA,EAAA,EAAsB,IAAA,EAAK,QAAA,EAAS,CAAA;AAC9C;AAEO,IAAM,0BAAA,GAAmD;AAAA,EAC9D,UAAA,EAAY,cAAA;AAAA,EACZ,WAAA,EAAa,eAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/screens/OrdersScreen.tsx"],"names":["jsx","CoreScreenPlaceholder"],"mappings":";;;;;AAmBO,SAAS,aAAa,MAAA,EAA2B;AACtD,EAAA,uBAAOA,cAAA,CAACC,uCAAA,EAAA,EAAsB,IAAA,EAAK,QAAA,EAAS,CAAA;AAC9C;AAEO,IAAM,0BAAA,GAAmD;AAAA,EAC9D,UAAA,EAAY,cAAA;AAAA,EACZ,WAAA,EAAa,eAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-FG2CI6HA.cjs","sourcesContent":["import type { ComponentProps } from \"react\";\nimport type {\n BackgroundValue,\n BorderRadiusOptions,\n ColorOptions,\n PaddingOptions,\n} from \"../types\";\nimport type { WidgetPropertySchema } from \"../registries/property-schema-types\";\nimport { CoreScreenPlaceholder } from \"./CoreScreenPlaceholder\";\n\ntype OrdersScreenProps = ComponentProps<\"div\"> & {\n background?: BackgroundValue;\n textColor?: ColorOptions;\n accentColor?: ColorOptions;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function OrdersScreen(_props: OrdersScreenProps) {\n return <CoreScreenPlaceholder name=\"Orders\" />;\n}\n\nexport const ordersScreenPropertySchema: WidgetPropertySchema = {\n widgetType: \"OrdersScreen\",\n displayName: \"Orders Screen\",\n tabsConfig: [{ id: \"styling\", label: \"Styling\" }],\n fields: [],\n} as const satisfies WidgetPropertySchema;\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
20
|
+
|
|
21
|
+
exports.__export = __export;
|
|
22
|
+
exports.__reExport = __reExport;
|
|
23
|
+
//# sourceMappingURL=chunk-HDQ2JUQT.cjs.map
|
|
24
|
+
//# sourceMappingURL=chunk-HDQ2JUQT.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-HDQ2JUQT.cjs"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB6S6BEPL_cjs = require('./chunk-B6S6BEPL.cjs');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
|
|
6
6
|
function CustomersScreen(_props) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkB6S6BEPL_cjs.CoreScreenPlaceholder, { name: "Customers" });
|
|
8
8
|
}
|
|
9
9
|
var customersScreenPropertySchema = {
|
|
10
10
|
widgetType: "CustomersScreen",
|
|
@@ -15,5 +15,5 @@ var customersScreenPropertySchema = {
|
|
|
15
15
|
|
|
16
16
|
exports.CustomersScreen = CustomersScreen;
|
|
17
17
|
exports.customersScreenPropertySchema = customersScreenPropertySchema;
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-MHPK7YQ2.cjs.map
|
|
19
|
+
//# sourceMappingURL=chunk-MHPK7YQ2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/screens/CustomersScreen.tsx"],"names":["jsx","CoreScreenPlaceholder"],"mappings":";;;;;AAmBO,SAAS,gBAAgB,MAAA,EAA8B;AAC5D,EAAA,uBAAOA,cAAA,CAACC,uCAAA,EAAA,EAAsB,IAAA,EAAK,WAAA,EAAY,CAAA;AACjD;AAEO,IAAM,6BAAA,GAAsD;AAAA,EACjE,UAAA,EAAY,iBAAA;AAAA,EACZ,WAAA,EAAa,kBAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/screens/CustomersScreen.tsx"],"names":["jsx","CoreScreenPlaceholder"],"mappings":";;;;;AAmBO,SAAS,gBAAgB,MAAA,EAA8B;AAC5D,EAAA,uBAAOA,cAAA,CAACC,uCAAA,EAAA,EAAsB,IAAA,EAAK,WAAA,EAAY,CAAA;AACjD;AAEO,IAAM,6BAAA,GAAsD;AAAA,EACjE,UAAA,EAAY,iBAAA;AAAA,EACZ,WAAA,EAAa,kBAAA;AAAA,EACb,YAAY,CAAC,EAAE,IAAI,SAAA,EAAW,KAAA,EAAO,WAAW,CAAA;AAAA,EAChD,QAAQ;AACV","file":"chunk-MHPK7YQ2.cjs","sourcesContent":["import type { ComponentProps } from \"react\";\nimport type {\n BackgroundValue,\n BorderRadiusOptions,\n ColorOptions,\n PaddingOptions,\n} from \"../types\";\nimport type { WidgetPropertySchema } from \"../registries/property-schema-types\";\nimport { CoreScreenPlaceholder } from \"./CoreScreenPlaceholder\";\n\ntype CustomersScreenProps = ComponentProps<\"div\"> & {\n background?: BackgroundValue;\n textColor?: ColorOptions;\n accentColor?: ColorOptions;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function CustomersScreen(_props: CustomersScreenProps) {\n return <CoreScreenPlaceholder name=\"Customers\" />;\n}\n\nexport const customersScreenPropertySchema: WidgetPropertySchema = {\n widgetType: \"CustomersScreen\",\n displayName: \"Customers Screen\",\n tabsConfig: [{ id: \"styling\", label: \"Styling\" }],\n fields: [],\n} as const satisfies WidgetPropertySchema;\n"]}
|