@fluid-app/rep-sdk 0.1.9 → 0.1.10
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-CB6l0Lf1.mjs +24 -0
- package/dist/ContactsScreen-CB6l0Lf1.mjs.map +1 -0
- package/dist/ContactsScreen-UfrdOORn.cjs +41 -0
- package/dist/ContactsScreen-UfrdOORn.cjs.map +1 -0
- package/dist/CoreScreenPlaceholder-D93ZYKt2.mjs +32 -0
- package/dist/CoreScreenPlaceholder-D93ZYKt2.mjs.map +1 -0
- package/dist/CoreScreenPlaceholder-DBZqxDsK.cjs +38 -0
- package/dist/CoreScreenPlaceholder-DBZqxDsK.cjs.map +1 -0
- package/dist/CustomersScreen-BEar6Leg.mjs +24 -0
- package/dist/CustomersScreen-BEar6Leg.mjs.map +1 -0
- package/dist/CustomersScreen-DXXPpWZW.cjs +41 -0
- package/dist/CustomersScreen-DXXPpWZW.cjs.map +1 -0
- package/dist/MessagingScreen-CsDvKkLC.cjs +1458 -0
- package/dist/MessagingScreen-CsDvKkLC.cjs.map +1 -0
- package/dist/MessagingScreen-xO9YudMx.mjs +1285 -0
- package/dist/MessagingScreen-xO9YudMx.mjs.map +1 -0
- package/dist/OrdersScreen-DB1v051q.mjs +24 -0
- package/dist/OrdersScreen-DB1v051q.mjs.map +1 -0
- package/dist/OrdersScreen-fcxcnpNU.cjs +41 -0
- package/dist/OrdersScreen-fcxcnpNU.cjs.map +1 -0
- package/dist/ProductsScreen-BaEng3LB.cjs +41 -0
- package/dist/ProductsScreen-BaEng3LB.cjs.map +1 -0
- package/dist/ProductsScreen-nVDsY6kf.mjs +24 -0
- package/dist/ProductsScreen-nVDsY6kf.mjs.map +1 -0
- package/dist/chunk-D1SwGrFN.mjs +27 -0
- package/dist/index.cjs +3397 -2850
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1026 -955
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +2207 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2921 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +9 -9
- package/dist/ContactsScreen-7RGAMMGN.cjs +0 -18
- package/dist/ContactsScreen-7RGAMMGN.cjs.map +0 -1
- package/dist/ContactsScreen-XKZE5HTP.js +0 -5
- package/dist/ContactsScreen-XKZE5HTP.js.map +0 -1
- package/dist/CustomersScreen-BBQ3YHI4.js +0 -5
- package/dist/CustomersScreen-BBQ3YHI4.js.map +0 -1
- package/dist/CustomersScreen-EMGCQ2PV.cjs +0 -18
- package/dist/CustomersScreen-EMGCQ2PV.cjs.map +0 -1
- package/dist/MessagingScreen-I3GVOGKY.js +0 -4
- package/dist/MessagingScreen-I3GVOGKY.js.map +0 -1
- package/dist/MessagingScreen-ZRD4WEOE.cjs +0 -17
- package/dist/MessagingScreen-ZRD4WEOE.cjs.map +0 -1
- package/dist/OrdersScreen-ANDGND6F.js +0 -5
- package/dist/OrdersScreen-ANDGND6F.js.map +0 -1
- package/dist/OrdersScreen-NNE6OSRS.cjs +0 -18
- package/dist/OrdersScreen-NNE6OSRS.cjs.map +0 -1
- package/dist/ProductsScreen-5PMFLPWS.js +0 -5
- package/dist/ProductsScreen-5PMFLPWS.js.map +0 -1
- package/dist/ProductsScreen-ALQYD7ID.cjs +0 -18
- package/dist/ProductsScreen-ALQYD7ID.cjs.map +0 -1
- package/dist/chunk-2RIDFKS3.cjs +0 -19
- package/dist/chunk-2RIDFKS3.cjs.map +0 -1
- package/dist/chunk-424PT5DM.js +0 -21
- package/dist/chunk-424PT5DM.js.map +0 -1
- package/dist/chunk-4LTH3NNT.js +0 -16
- package/dist/chunk-4LTH3NNT.js.map +0 -1
- package/dist/chunk-4PHR2M6A.js +0 -14
- package/dist/chunk-4PHR2M6A.js.map +0 -1
- package/dist/chunk-EKMZ4NIA.cjs +0 -19
- package/dist/chunk-EKMZ4NIA.cjs.map +0 -1
- package/dist/chunk-HDQ2JUQT.cjs +0 -24
- package/dist/chunk-HDQ2JUQT.cjs.map +0 -1
- package/dist/chunk-HFPPHLOO.cjs +0 -19
- package/dist/chunk-HFPPHLOO.cjs.map +0 -1
- package/dist/chunk-HMOWQQDX.cjs +0 -19
- package/dist/chunk-HMOWQQDX.cjs.map +0 -1
- package/dist/chunk-JXEED3FK.js +0 -16
- package/dist/chunk-JXEED3FK.js.map +0 -1
- package/dist/chunk-LU42Y4H3.cjs +0 -1597
- package/dist/chunk-LU42Y4H3.cjs.map +0 -1
- package/dist/chunk-NGOEPTWZ.js +0 -16
- package/dist/chunk-NGOEPTWZ.js.map +0 -1
- package/dist/chunk-NNZKBXNB.cjs +0 -16
- package/dist/chunk-NNZKBXNB.cjs.map +0 -1
- package/dist/chunk-SYZUEL6B.js +0 -1538
- package/dist/chunk-SYZUEL6B.js.map +0 -1
- package/dist/chunk-TB6OK3WH.js +0 -16
- package/dist/chunk-TB6OK3WH.js.map +0 -1
- package/dist/index.d.ts +0 -2138
- package/dist/index.js +0 -2536
- package/dist/index.js.map +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkLU42Y4H3_cjs = require('./chunk-LU42Y4H3.cjs');
|
|
4
|
-
require('./chunk-HDQ2JUQT.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "MessagingScreen", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkLU42Y4H3_cjs.MessagingScreen; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "messagingScreenPropertySchema", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkLU42Y4H3_cjs.messagingScreenPropertySchema; }
|
|
15
|
-
});
|
|
16
|
-
//# sourceMappingURL=MessagingScreen-ZRD4WEOE.cjs.map
|
|
17
|
-
//# sourceMappingURL=MessagingScreen-ZRD4WEOE.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"MessagingScreen-ZRD4WEOE.cjs"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-ANDGND6F.js"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkHMOWQQDX_cjs = require('./chunk-HMOWQQDX.cjs');
|
|
4
|
-
require('./chunk-NNZKBXNB.cjs');
|
|
5
|
-
require('./chunk-HDQ2JUQT.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "OrdersScreen", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkHMOWQQDX_cjs.OrdersScreen; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "ordersScreenPropertySchema", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunkHMOWQQDX_cjs.ordersScreenPropertySchema; }
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=OrdersScreen-NNE6OSRS.cjs.map
|
|
18
|
-
//# sourceMappingURL=OrdersScreen-NNE6OSRS.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-NNE6OSRS.cjs"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-5PMFLPWS.js"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk2RIDFKS3_cjs = require('./chunk-2RIDFKS3.cjs');
|
|
4
|
-
require('./chunk-NNZKBXNB.cjs');
|
|
5
|
-
require('./chunk-HDQ2JUQT.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "ProductsScreen", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunk2RIDFKS3_cjs.ProductsScreen; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "productsScreenPropertySchema", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunk2RIDFKS3_cjs.productsScreenPropertySchema; }
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=ProductsScreen-ALQYD7ID.cjs.map
|
|
18
|
-
//# sourceMappingURL=ProductsScreen-ALQYD7ID.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-ALQYD7ID.cjs"}
|
package/dist/chunk-2RIDFKS3.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkNNZKBXNB_cjs = require('./chunk-NNZKBXNB.cjs');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
|
|
6
|
-
function ProductsScreen(_props) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkNNZKBXNB_cjs.CoreScreenPlaceholder, { name: "Products" });
|
|
8
|
-
}
|
|
9
|
-
var productsScreenPropertySchema = {
|
|
10
|
-
widgetType: "ProductsScreen",
|
|
11
|
-
displayName: "Products Screen",
|
|
12
|
-
tabsConfig: [{ id: "styling", label: "Styling" }],
|
|
13
|
-
fields: []
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
exports.ProductsScreen = ProductsScreen;
|
|
17
|
-
exports.productsScreenPropertySchema = productsScreenPropertySchema;
|
|
18
|
-
//# sourceMappingURL=chunk-2RIDFKS3.cjs.map
|
|
19
|
-
//# sourceMappingURL=chunk-2RIDFKS3.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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-2RIDFKS3.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"]}
|
package/dist/chunk-424PT5DM.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-424PT5DM.js"}
|
package/dist/chunk-4LTH3NNT.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CoreScreenPlaceholder } from './chunk-4PHR2M6A.js';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
function ProductsScreen(_props) {
|
|
5
|
-
return /* @__PURE__ */ jsx(CoreScreenPlaceholder, { name: "Products" });
|
|
6
|
-
}
|
|
7
|
-
var productsScreenPropertySchema = {
|
|
8
|
-
widgetType: "ProductsScreen",
|
|
9
|
-
displayName: "Products Screen",
|
|
10
|
-
tabsConfig: [{ id: "styling", label: "Styling" }],
|
|
11
|
-
fields: []
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export { ProductsScreen, productsScreenPropertySchema };
|
|
15
|
-
//# sourceMappingURL=chunk-4LTH3NNT.js.map
|
|
16
|
-
//# sourceMappingURL=chunk-4LTH3NNT.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/screens/ProductsScreen.tsx"],"names":[],"mappings":";;;AAmBO,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-4LTH3NNT.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 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"]}
|
package/dist/chunk-4PHR2M6A.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: "border-border max-w-sm rounded-lg border border-dashed p-8 text-center", children: [
|
|
6
|
-
/* @__PURE__ */ jsx("h2", { className: "text-foreground text-xl font-semibold", children: name }),
|
|
7
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-2", children: "This screen is provided by Fluid Commerce" }),
|
|
8
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-sm", children: "Connect to the Fluid platform to enable this feature" })
|
|
9
|
-
] }) });
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { CoreScreenPlaceholder };
|
|
13
|
-
//# sourceMappingURL=chunk-4PHR2M6A.js.map
|
|
14
|
-
//# sourceMappingURL=chunk-4PHR2M6A.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/screens/CoreScreenPlaceholder.tsx"],"names":[],"mappings":";;;AAIO,SAAS,qBAAA,CAAsB,EAAE,IAAA,EAAK,EAA8B;AACzE,EAAA,2BACG,KAAA,EAAA,EAAI,SAAA,EAAU,kDACb,QAAA,kBAAA,IAAA,CAAC,KAAA,EAAA,EAAI,WAAU,wEAAA,EACb,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,IAAA,EAAA,EAAG,SAAA,EAAU,uCAAA,EAAyC,QAAA,EAAA,IAAA,EAAK,CAAA;AAAA,oBAC5D,GAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,4BAAA,EAA6B,QAAA,EAAA,2CAAA,EAE1C,CAAA;AAAA,oBACA,GAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,oCAAA,EAAqC,QAAA,EAAA,sDAAA,EAElD;AAAA,GAAA,EACF,CAAA,EACF,CAAA;AAEJ","file":"chunk-4PHR2M6A.js","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=\"border-border max-w-sm rounded-lg border border-dashed p-8 text-center\">\n <h2 className=\"text-foreground text-xl font-semibold\">{name}</h2>\n <p className=\"text-muted-foreground mt-2\">\n This screen is provided by Fluid Commerce\n </p>\n <p className=\"text-muted-foreground mt-1 text-sm\">\n Connect to the Fluid platform to enable this feature\n </p>\n </div>\n </div>\n );\n}\n"]}
|
package/dist/chunk-EKMZ4NIA.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkNNZKBXNB_cjs = require('./chunk-NNZKBXNB.cjs');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
|
|
6
|
-
function CustomersScreen(_props) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkNNZKBXNB_cjs.CoreScreenPlaceholder, { name: "Customers" });
|
|
8
|
-
}
|
|
9
|
-
var customersScreenPropertySchema = {
|
|
10
|
-
widgetType: "CustomersScreen",
|
|
11
|
-
displayName: "Customers Screen",
|
|
12
|
-
tabsConfig: [{ id: "styling", label: "Styling" }],
|
|
13
|
-
fields: []
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
exports.CustomersScreen = CustomersScreen;
|
|
17
|
-
exports.customersScreenPropertySchema = customersScreenPropertySchema;
|
|
18
|
-
//# sourceMappingURL=chunk-EKMZ4NIA.cjs.map
|
|
19
|
-
//# sourceMappingURL=chunk-EKMZ4NIA.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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-EKMZ4NIA.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"]}
|
package/dist/chunk-HDQ2JUQT.cjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-HDQ2JUQT.cjs"}
|
package/dist/chunk-HFPPHLOO.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkNNZKBXNB_cjs = require('./chunk-NNZKBXNB.cjs');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
|
|
6
|
-
function ContactsScreen(_props) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkNNZKBXNB_cjs.CoreScreenPlaceholder, { name: "Contacts" });
|
|
8
|
-
}
|
|
9
|
-
var contactsScreenPropertySchema = {
|
|
10
|
-
widgetType: "ContactsScreen",
|
|
11
|
-
displayName: "Contacts Screen",
|
|
12
|
-
tabsConfig: [{ id: "styling", label: "Styling" }],
|
|
13
|
-
fields: []
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
exports.ContactsScreen = ContactsScreen;
|
|
17
|
-
exports.contactsScreenPropertySchema = contactsScreenPropertySchema;
|
|
18
|
-
//# sourceMappingURL=chunk-HFPPHLOO.cjs.map
|
|
19
|
-
//# sourceMappingURL=chunk-HFPPHLOO.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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-HFPPHLOO.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"]}
|
package/dist/chunk-HMOWQQDX.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkNNZKBXNB_cjs = require('./chunk-NNZKBXNB.cjs');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
|
|
6
|
-
function OrdersScreen(_props) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkNNZKBXNB_cjs.CoreScreenPlaceholder, { name: "Orders" });
|
|
8
|
-
}
|
|
9
|
-
var ordersScreenPropertySchema = {
|
|
10
|
-
widgetType: "OrdersScreen",
|
|
11
|
-
displayName: "Orders Screen",
|
|
12
|
-
tabsConfig: [{ id: "styling", label: "Styling" }],
|
|
13
|
-
fields: []
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
exports.OrdersScreen = OrdersScreen;
|
|
17
|
-
exports.ordersScreenPropertySchema = ordersScreenPropertySchema;
|
|
18
|
-
//# sourceMappingURL=chunk-HMOWQQDX.cjs.map
|
|
19
|
-
//# sourceMappingURL=chunk-HMOWQQDX.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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-HMOWQQDX.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"]}
|
package/dist/chunk-JXEED3FK.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CoreScreenPlaceholder } from './chunk-4PHR2M6A.js';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
function CustomersScreen(_props) {
|
|
5
|
-
return /* @__PURE__ */ jsx(CoreScreenPlaceholder, { name: "Customers" });
|
|
6
|
-
}
|
|
7
|
-
var customersScreenPropertySchema = {
|
|
8
|
-
widgetType: "CustomersScreen",
|
|
9
|
-
displayName: "Customers Screen",
|
|
10
|
-
tabsConfig: [{ id: "styling", label: "Styling" }],
|
|
11
|
-
fields: []
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export { CustomersScreen, customersScreenPropertySchema };
|
|
15
|
-
//# sourceMappingURL=chunk-JXEED3FK.js.map
|
|
16
|
-
//# sourceMappingURL=chunk-JXEED3FK.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/screens/CustomersScreen.tsx"],"names":[],"mappings":";;;AAmBO,SAAS,gBAAgB,MAAA,EAA8B;AAC5D,EAAA,uBAAO,GAAA,CAAC,qBAAA,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-JXEED3FK.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 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"]}
|