@fluid-app/rep-sdk 0.1.8 → 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/README.md +3 -1
- 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 +28 -28
- package/dist/ContactsScreen-33AJ5XUB.js +0 -5
- package/dist/ContactsScreen-33AJ5XUB.js.map +0 -1
- package/dist/ContactsScreen-ATASCZO2.cjs +0 -18
- package/dist/ContactsScreen-ATASCZO2.cjs.map +0 -1
- package/dist/CustomersScreen-E4HXBKV7.js +0 -5
- package/dist/CustomersScreen-E4HXBKV7.js.map +0 -1
- package/dist/CustomersScreen-XMPMKSQA.cjs +0 -18
- package/dist/CustomersScreen-XMPMKSQA.cjs.map +0 -1
- package/dist/MessagingScreen-GHBLPYZZ.cjs +0 -17
- package/dist/MessagingScreen-GHBLPYZZ.cjs.map +0 -1
- package/dist/MessagingScreen-MBCIJWVN.js +0 -4
- package/dist/MessagingScreen-MBCIJWVN.js.map +0 -1
- package/dist/OrdersScreen-IPPZLEYF.js +0 -5
- package/dist/OrdersScreen-IPPZLEYF.js.map +0 -1
- package/dist/OrdersScreen-X7FYUROL.cjs +0 -18
- package/dist/OrdersScreen-X7FYUROL.cjs.map +0 -1
- package/dist/ProductsScreen-4ZIUQNUU.cjs +0 -18
- package/dist/ProductsScreen-4ZIUQNUU.cjs.map +0 -1
- package/dist/ProductsScreen-YTSOZW7B.js +0 -5
- package/dist/ProductsScreen-YTSOZW7B.js.map +0 -1
- package/dist/chunk-424PT5DM.js +0 -21
- package/dist/chunk-424PT5DM.js.map +0 -1
- package/dist/chunk-5UBEM3AX.cjs +0 -19
- package/dist/chunk-5UBEM3AX.cjs.map +0 -1
- package/dist/chunk-7MWTW3ZU.js +0 -1538
- package/dist/chunk-7MWTW3ZU.js.map +0 -1
- package/dist/chunk-B6S6BEPL.cjs +0 -16
- package/dist/chunk-B6S6BEPL.cjs.map +0 -1
- package/dist/chunk-CMF2FYTD.js +0 -16
- package/dist/chunk-CMF2FYTD.js.map +0 -1
- package/dist/chunk-EOXYOOWS.cjs +0 -19
- package/dist/chunk-EOXYOOWS.cjs.map +0 -1
- package/dist/chunk-FG2CI6HA.cjs +0 -19
- package/dist/chunk-FG2CI6HA.cjs.map +0 -1
- package/dist/chunk-HDQ2JUQT.cjs +0 -24
- package/dist/chunk-HDQ2JUQT.cjs.map +0 -1
- package/dist/chunk-MHPK7YQ2.cjs +0 -19
- package/dist/chunk-MHPK7YQ2.cjs.map +0 -1
- package/dist/chunk-QH2W373Y.cjs +0 -1597
- package/dist/chunk-QH2W373Y.cjs.map +0 -1
- package/dist/chunk-QZMWG7EM.js +0 -16
- package/dist/chunk-QZMWG7EM.js.map +0 -1
- package/dist/chunk-RS4OSTES.js +0 -14
- package/dist/chunk-RS4OSTES.js.map +0 -1
- package/dist/chunk-WFPYEYC7.js +0 -16
- package/dist/chunk-WFPYEYC7.js.map +0 -1
- package/dist/chunk-WMBD65GH.js +0 -16
- package/dist/chunk-WMBD65GH.js.map +0 -1
- package/dist/index.d.ts +0 -2138
- package/dist/index.js +0 -2536
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as __exportAll } from "./chunk-D1SwGrFN.mjs";
|
|
2
|
+
import { t as CoreScreenPlaceholder } from "./CoreScreenPlaceholder-D93ZYKt2.mjs";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
//#region src/screens/ContactsScreen.tsx
|
|
5
|
+
var ContactsScreen_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
ContactsScreen: () => ContactsScreen,
|
|
7
|
+
contactsScreenPropertySchema: () => contactsScreenPropertySchema
|
|
8
|
+
});
|
|
9
|
+
function ContactsScreen(_props) {
|
|
10
|
+
return /* @__PURE__ */ jsx(CoreScreenPlaceholder, { name: "Contacts" });
|
|
11
|
+
}
|
|
12
|
+
const contactsScreenPropertySchema = {
|
|
13
|
+
widgetType: "ContactsScreen",
|
|
14
|
+
displayName: "Contacts Screen",
|
|
15
|
+
tabsConfig: [{
|
|
16
|
+
id: "styling",
|
|
17
|
+
label: "Styling"
|
|
18
|
+
}],
|
|
19
|
+
fields: []
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ContactsScreen_exports as n, contactsScreenPropertySchema as r, ContactsScreen as t };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=ContactsScreen-CB6l0Lf1.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactsScreen-CB6l0Lf1.mjs","names":[],"sources":["../src/screens/ContactsScreen.tsx"],"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"],"mappings":";;;;;;;;AA2BA,SAAgB,eAAe,QAA6B;AAC1D,QAAO,oBAAC,uBAAD,EAAuB,MAAK,YAAa,CAAA;;AAGlD,MAAa,+BAAqD;CAChE,YAAY;CACZ,aAAa;CACb,YAAY,CAAC;EAAE,IAAI;EAAW,OAAO;EAAW,CAAC;CACjD,QAAQ,EAAE;CACX"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_MessagingScreen = require("./MessagingScreen-CsDvKkLC.cjs");
|
|
2
|
+
const require_CoreScreenPlaceholder = require("./CoreScreenPlaceholder-DBZqxDsK.cjs");
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
//#region src/screens/ContactsScreen.tsx
|
|
5
|
+
var ContactsScreen_exports = /* @__PURE__ */ require_MessagingScreen.__exportAll({
|
|
6
|
+
ContactsScreen: () => ContactsScreen,
|
|
7
|
+
contactsScreenPropertySchema: () => contactsScreenPropertySchema
|
|
8
|
+
});
|
|
9
|
+
function ContactsScreen(_props) {
|
|
10
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_CoreScreenPlaceholder.CoreScreenPlaceholder, { name: "Contacts" });
|
|
11
|
+
}
|
|
12
|
+
const contactsScreenPropertySchema = {
|
|
13
|
+
widgetType: "ContactsScreen",
|
|
14
|
+
displayName: "Contacts Screen",
|
|
15
|
+
tabsConfig: [{
|
|
16
|
+
id: "styling",
|
|
17
|
+
label: "Styling"
|
|
18
|
+
}],
|
|
19
|
+
fields: []
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
Object.defineProperty(exports, "ContactsScreen", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function() {
|
|
25
|
+
return ContactsScreen;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "ContactsScreen_exports", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function() {
|
|
31
|
+
return ContactsScreen_exports;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "contactsScreenPropertySchema", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function() {
|
|
37
|
+
return contactsScreenPropertySchema;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=ContactsScreen-UfrdOORn.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactsScreen-UfrdOORn.cjs","names":["CoreScreenPlaceholder"],"sources":["../src/screens/ContactsScreen.tsx"],"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"],"mappings":";;;;;;;;AA2BA,SAAgB,eAAe,QAA6B;AAC1D,QAAO,iBAAA,GAAA,kBAAA,KAACA,8BAAAA,uBAAD,EAAuB,MAAK,YAAa,CAAA;;AAGlD,MAAa,+BAAqD;CAChE,YAAY;CACZ,aAAa;CACb,YAAY,CAAC;EAAE,IAAI;EAAW,OAAO;EAAW,CAAC;CACjD,QAAQ,EAAE;CACX"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/screens/CoreScreenPlaceholder.tsx
|
|
3
|
+
/**
|
|
4
|
+
* Internal placeholder component for core screens provided by Fluid Commerce.
|
|
5
|
+
* This is NOT exported from the SDK — it's shared between core screen files.
|
|
6
|
+
*/
|
|
7
|
+
function CoreScreenPlaceholder({ name }) {
|
|
8
|
+
return /* @__PURE__ */ jsx("div", {
|
|
9
|
+
className: "flex min-h-[400px] items-center justify-center",
|
|
10
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
11
|
+
className: "border-border max-w-sm rounded-lg border border-dashed p-8 text-center",
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ jsx("h2", {
|
|
14
|
+
className: "text-foreground text-xl font-semibold",
|
|
15
|
+
children: name
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ jsx("p", {
|
|
18
|
+
className: "text-muted-foreground mt-2",
|
|
19
|
+
children: "This screen is provided by Fluid Commerce"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ jsx("p", {
|
|
22
|
+
className: "text-muted-foreground mt-1 text-sm",
|
|
23
|
+
children: "Connect to the Fluid platform to enable this feature"
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { CoreScreenPlaceholder as t };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=CoreScreenPlaceholder-D93ZYKt2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreScreenPlaceholder-D93ZYKt2.mjs","names":[],"sources":["../src/screens/CoreScreenPlaceholder.tsx"],"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"],"mappings":";;;;;;AAIA,SAAgB,sBAAsB,EAAE,QAAmC;AACzE,QACE,oBAAC,OAAD;EAAK,WAAU;YACb,qBAAC,OAAD;GAAK,WAAU;aAAf;IACE,oBAAC,MAAD;KAAI,WAAU;eAAyC;KAAU,CAAA;IACjE,oBAAC,KAAD;KAAG,WAAU;eAA6B;KAEtC,CAAA;IACJ,oBAAC,KAAD;KAAG,WAAU;eAAqC;KAE9C,CAAA;IACA;;EACF,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
require("./MessagingScreen-CsDvKkLC.cjs");
|
|
2
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
+
//#region src/screens/CoreScreenPlaceholder.tsx
|
|
4
|
+
/**
|
|
5
|
+
* Internal placeholder component for core screens provided by Fluid Commerce.
|
|
6
|
+
* This is NOT exported from the SDK — it's shared between core screen files.
|
|
7
|
+
*/
|
|
8
|
+
function CoreScreenPlaceholder({ name }) {
|
|
9
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10
|
+
className: "flex min-h-[400px] items-center justify-center",
|
|
11
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
12
|
+
className: "border-border max-w-sm rounded-lg border border-dashed p-8 text-center",
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
15
|
+
className: "text-foreground text-xl font-semibold",
|
|
16
|
+
children: name
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19
|
+
className: "text-muted-foreground mt-2",
|
|
20
|
+
children: "This screen is provided by Fluid Commerce"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
23
|
+
className: "text-muted-foreground mt-1 text-sm",
|
|
24
|
+
children: "Connect to the Fluid platform to enable this feature"
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
Object.defineProperty(exports, "CoreScreenPlaceholder", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function() {
|
|
34
|
+
return CoreScreenPlaceholder;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=CoreScreenPlaceholder-DBZqxDsK.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreScreenPlaceholder-DBZqxDsK.cjs","names":[],"sources":["../src/screens/CoreScreenPlaceholder.tsx"],"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"],"mappings":";;;;;;;AAIA,SAAgB,sBAAsB,EAAE,QAAmC;AACzE,QACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;EAAK,WAAU;YACb,iBAAA,GAAA,kBAAA,MAAC,OAAD;GAAK,WAAU;aAAf;IACE,iBAAA,GAAA,kBAAA,KAAC,MAAD;KAAI,WAAU;eAAyC;KAAU,CAAA;IACjE,iBAAA,GAAA,kBAAA,KAAC,KAAD;KAAG,WAAU;eAA6B;KAEtC,CAAA;IACJ,iBAAA,GAAA,kBAAA,KAAC,KAAD;KAAG,WAAU;eAAqC;KAE9C,CAAA;IACA;;EACF,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as __exportAll } from "./chunk-D1SwGrFN.mjs";
|
|
2
|
+
import { t as CoreScreenPlaceholder } from "./CoreScreenPlaceholder-D93ZYKt2.mjs";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
//#region src/screens/CustomersScreen.tsx
|
|
5
|
+
var CustomersScreen_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
CustomersScreen: () => CustomersScreen,
|
|
7
|
+
customersScreenPropertySchema: () => customersScreenPropertySchema
|
|
8
|
+
});
|
|
9
|
+
function CustomersScreen(_props) {
|
|
10
|
+
return /* @__PURE__ */ jsx(CoreScreenPlaceholder, { name: "Customers" });
|
|
11
|
+
}
|
|
12
|
+
const customersScreenPropertySchema = {
|
|
13
|
+
widgetType: "CustomersScreen",
|
|
14
|
+
displayName: "Customers Screen",
|
|
15
|
+
tabsConfig: [{
|
|
16
|
+
id: "styling",
|
|
17
|
+
label: "Styling"
|
|
18
|
+
}],
|
|
19
|
+
fields: []
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { CustomersScreen_exports as n, customersScreenPropertySchema as r, CustomersScreen as t };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=CustomersScreen-BEar6Leg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomersScreen-BEar6Leg.mjs","names":[],"sources":["../src/screens/CustomersScreen.tsx"],"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"],"mappings":";;;;;;;;AAmBA,SAAgB,gBAAgB,QAA8B;AAC5D,QAAO,oBAAC,uBAAD,EAAuB,MAAK,aAAc,CAAA;;AAGnD,MAAa,gCAAsD;CACjE,YAAY;CACZ,aAAa;CACb,YAAY,CAAC;EAAE,IAAI;EAAW,OAAO;EAAW,CAAC;CACjD,QAAQ,EAAE;CACX"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_MessagingScreen = require("./MessagingScreen-CsDvKkLC.cjs");
|
|
2
|
+
const require_CoreScreenPlaceholder = require("./CoreScreenPlaceholder-DBZqxDsK.cjs");
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
//#region src/screens/CustomersScreen.tsx
|
|
5
|
+
var CustomersScreen_exports = /* @__PURE__ */ require_MessagingScreen.__exportAll({
|
|
6
|
+
CustomersScreen: () => CustomersScreen,
|
|
7
|
+
customersScreenPropertySchema: () => customersScreenPropertySchema
|
|
8
|
+
});
|
|
9
|
+
function CustomersScreen(_props) {
|
|
10
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_CoreScreenPlaceholder.CoreScreenPlaceholder, { name: "Customers" });
|
|
11
|
+
}
|
|
12
|
+
const customersScreenPropertySchema = {
|
|
13
|
+
widgetType: "CustomersScreen",
|
|
14
|
+
displayName: "Customers Screen",
|
|
15
|
+
tabsConfig: [{
|
|
16
|
+
id: "styling",
|
|
17
|
+
label: "Styling"
|
|
18
|
+
}],
|
|
19
|
+
fields: []
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
Object.defineProperty(exports, "CustomersScreen", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function() {
|
|
25
|
+
return CustomersScreen;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "CustomersScreen_exports", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function() {
|
|
31
|
+
return CustomersScreen_exports;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "customersScreenPropertySchema", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function() {
|
|
37
|
+
return customersScreenPropertySchema;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=CustomersScreen-DXXPpWZW.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomersScreen-DXXPpWZW.cjs","names":["CoreScreenPlaceholder"],"sources":["../src/screens/CustomersScreen.tsx"],"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"],"mappings":";;;;;;;;AAmBA,SAAgB,gBAAgB,QAA8B;AAC5D,QAAO,iBAAA,GAAA,kBAAA,KAACA,8BAAAA,uBAAD,EAAuB,MAAK,aAAc,CAAA;;AAGnD,MAAa,gCAAsD;CACjE,YAAY;CACZ,aAAa;CACb,YAAY,CAAC;EAAE,IAAI;EAAW,OAAO;EAAW,CAAC;CACjD,QAAQ,EAAE;CACX"}
|