@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.
Files changed (64) hide show
  1. package/README.md +3 -1
  2. package/dist/ContactsScreen-7RGAMMGN.cjs +18 -0
  3. package/dist/{ContactsScreen-ATASCZO2.cjs.map → ContactsScreen-7RGAMMGN.cjs.map} +1 -1
  4. package/dist/ContactsScreen-XKZE5HTP.js +5 -0
  5. package/dist/{ContactsScreen-33AJ5XUB.js.map → ContactsScreen-XKZE5HTP.js.map} +1 -1
  6. package/dist/CustomersScreen-BBQ3YHI4.js +5 -0
  7. package/dist/{CustomersScreen-E4HXBKV7.js.map → CustomersScreen-BBQ3YHI4.js.map} +1 -1
  8. package/dist/CustomersScreen-EMGCQ2PV.cjs +18 -0
  9. package/dist/{CustomersScreen-XMPMKSQA.cjs.map → CustomersScreen-EMGCQ2PV.cjs.map} +1 -1
  10. package/dist/MessagingScreen-I3GVOGKY.js +4 -0
  11. package/dist/{MessagingScreen-6WDU3XE4.js.map → MessagingScreen-I3GVOGKY.js.map} +1 -1
  12. package/dist/MessagingScreen-ZRD4WEOE.cjs +17 -0
  13. package/dist/{MessagingScreen-XKOBLDWM.cjs.map → MessagingScreen-ZRD4WEOE.cjs.map} +1 -1
  14. package/dist/OrdersScreen-ANDGND6F.js +5 -0
  15. package/dist/{OrdersScreen-IPPZLEYF.js.map → OrdersScreen-ANDGND6F.js.map} +1 -1
  16. package/dist/OrdersScreen-NNE6OSRS.cjs +18 -0
  17. package/dist/{OrdersScreen-X7FYUROL.cjs.map → OrdersScreen-NNE6OSRS.cjs.map} +1 -1
  18. package/dist/ProductsScreen-5PMFLPWS.js +5 -0
  19. package/dist/{ProductsScreen-YTSOZW7B.js.map → ProductsScreen-5PMFLPWS.js.map} +1 -1
  20. package/dist/ProductsScreen-ALQYD7ID.cjs +18 -0
  21. package/dist/{ProductsScreen-4ZIUQNUU.cjs.map → ProductsScreen-ALQYD7ID.cjs.map} +1 -1
  22. package/dist/{chunk-5UBEM3AX.cjs → chunk-2RIDFKS3.cjs} +4 -4
  23. package/dist/{chunk-5UBEM3AX.cjs.map → chunk-2RIDFKS3.cjs.map} +1 -1
  24. package/dist/{chunk-QZMWG7EM.js → chunk-4LTH3NNT.js} +3 -3
  25. package/dist/{chunk-QZMWG7EM.js.map → chunk-4LTH3NNT.js.map} +1 -1
  26. package/dist/chunk-4PHR2M6A.js +14 -0
  27. package/dist/{chunk-RS4OSTES.js.map → chunk-4PHR2M6A.js.map} +1 -1
  28. package/dist/{chunk-MHPK7YQ2.cjs → chunk-EKMZ4NIA.cjs} +4 -4
  29. package/dist/{chunk-MHPK7YQ2.cjs.map → chunk-EKMZ4NIA.cjs.map} +1 -1
  30. package/dist/{chunk-EOXYOOWS.cjs → chunk-HFPPHLOO.cjs} +4 -4
  31. package/dist/{chunk-EOXYOOWS.cjs.map → chunk-HFPPHLOO.cjs.map} +1 -1
  32. package/dist/{chunk-FG2CI6HA.cjs → chunk-HMOWQQDX.cjs} +4 -4
  33. package/dist/{chunk-FG2CI6HA.cjs.map → chunk-HMOWQQDX.cjs.map} +1 -1
  34. package/dist/{chunk-WMBD65GH.js → chunk-JXEED3FK.js} +3 -3
  35. package/dist/{chunk-WMBD65GH.js.map → chunk-JXEED3FK.js.map} +1 -1
  36. package/dist/{chunk-NZSRE4IB.cjs → chunk-LU42Y4H3.cjs} +14 -14
  37. package/dist/{chunk-NZSRE4IB.cjs.map → chunk-LU42Y4H3.cjs.map} +1 -1
  38. package/dist/{chunk-CMF2FYTD.js → chunk-NGOEPTWZ.js} +3 -3
  39. package/dist/{chunk-CMF2FYTD.js.map → chunk-NGOEPTWZ.js.map} +1 -1
  40. package/dist/chunk-NNZKBXNB.cjs +16 -0
  41. package/dist/{chunk-B6S6BEPL.cjs.map → chunk-NNZKBXNB.cjs.map} +1 -1
  42. package/dist/{chunk-VIITMYKW.js → chunk-SYZUEL6B.js} +9 -9
  43. package/dist/{chunk-VIITMYKW.js.map → chunk-SYZUEL6B.js.map} +1 -1
  44. package/dist/{chunk-WFPYEYC7.js → chunk-TB6OK3WH.js} +3 -3
  45. package/dist/{chunk-WFPYEYC7.js.map → chunk-TB6OK3WH.js.map} +1 -1
  46. package/dist/index.cjs +101 -101
  47. package/dist/index.cjs.map +1 -1
  48. package/dist/index.d.cts +3 -3
  49. package/dist/index.d.ts +3 -3
  50. package/dist/index.js +34 -34
  51. package/dist/index.js.map +1 -1
  52. package/package.json +28 -29
  53. package/dist/ContactsScreen-33AJ5XUB.js +0 -5
  54. package/dist/ContactsScreen-ATASCZO2.cjs +0 -18
  55. package/dist/CustomersScreen-E4HXBKV7.js +0 -5
  56. package/dist/CustomersScreen-XMPMKSQA.cjs +0 -18
  57. package/dist/MessagingScreen-6WDU3XE4.js +0 -4
  58. package/dist/MessagingScreen-XKOBLDWM.cjs +0 -17
  59. package/dist/OrdersScreen-IPPZLEYF.js +0 -5
  60. package/dist/OrdersScreen-X7FYUROL.cjs +0 -18
  61. package/dist/ProductsScreen-4ZIUQNUU.cjs +0 -18
  62. package/dist/ProductsScreen-YTSOZW7B.js +0 -5
  63. package/dist/chunk-B6S6BEPL.cjs +0 -16
  64. package/dist/chunk-RS4OSTES.js +0 -14
package/README.md CHANGED
@@ -70,7 +70,9 @@ function ProductList() {
70
70
 
71
71
  return (
72
72
  <ul>
73
- {products?.map((product) => <li key={product.id}>{product.name}</li>)}
73
+ {products?.map((product) => (
74
+ <li key={product.id}>{product.name}</li>
75
+ ))}
74
76
  </ul>
75
77
  );
76
78
  }
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ var chunkHFPPHLOO_cjs = require('./chunk-HFPPHLOO.cjs');
4
+ require('./chunk-NNZKBXNB.cjs');
5
+ require('./chunk-HDQ2JUQT.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "ContactsScreen", {
10
+ enumerable: true,
11
+ get: function () { return chunkHFPPHLOO_cjs.ContactsScreen; }
12
+ });
13
+ Object.defineProperty(exports, "contactsScreenPropertySchema", {
14
+ enumerable: true,
15
+ get: function () { return chunkHFPPHLOO_cjs.contactsScreenPropertySchema; }
16
+ });
17
+ //# sourceMappingURL=ContactsScreen-7RGAMMGN.cjs.map
18
+ //# sourceMappingURL=ContactsScreen-7RGAMMGN.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ContactsScreen-ATASCZO2.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ContactsScreen-7RGAMMGN.cjs"}
@@ -0,0 +1,5 @@
1
+ export { ContactsScreen, contactsScreenPropertySchema } from './chunk-NGOEPTWZ.js';
2
+ import './chunk-4PHR2M6A.js';
3
+ import './chunk-424PT5DM.js';
4
+ //# sourceMappingURL=ContactsScreen-XKZE5HTP.js.map
5
+ //# sourceMappingURL=ContactsScreen-XKZE5HTP.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ContactsScreen-33AJ5XUB.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ContactsScreen-XKZE5HTP.js"}
@@ -0,0 +1,5 @@
1
+ export { CustomersScreen, customersScreenPropertySchema } from './chunk-JXEED3FK.js';
2
+ import './chunk-4PHR2M6A.js';
3
+ import './chunk-424PT5DM.js';
4
+ //# sourceMappingURL=CustomersScreen-BBQ3YHI4.js.map
5
+ //# sourceMappingURL=CustomersScreen-BBQ3YHI4.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"CustomersScreen-E4HXBKV7.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"CustomersScreen-BBQ3YHI4.js"}
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ var chunkEKMZ4NIA_cjs = require('./chunk-EKMZ4NIA.cjs');
4
+ require('./chunk-NNZKBXNB.cjs');
5
+ require('./chunk-HDQ2JUQT.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "CustomersScreen", {
10
+ enumerable: true,
11
+ get: function () { return chunkEKMZ4NIA_cjs.CustomersScreen; }
12
+ });
13
+ Object.defineProperty(exports, "customersScreenPropertySchema", {
14
+ enumerable: true,
15
+ get: function () { return chunkEKMZ4NIA_cjs.customersScreenPropertySchema; }
16
+ });
17
+ //# sourceMappingURL=CustomersScreen-EMGCQ2PV.cjs.map
18
+ //# sourceMappingURL=CustomersScreen-EMGCQ2PV.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"CustomersScreen-XMPMKSQA.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"CustomersScreen-EMGCQ2PV.cjs"}
@@ -0,0 +1,4 @@
1
+ export { MessagingScreen, messagingScreenPropertySchema } from './chunk-SYZUEL6B.js';
2
+ import './chunk-424PT5DM.js';
3
+ //# sourceMappingURL=MessagingScreen-I3GVOGKY.js.map
4
+ //# sourceMappingURL=MessagingScreen-I3GVOGKY.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"MessagingScreen-6WDU3XE4.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"MessagingScreen-I3GVOGKY.js"}
@@ -0,0 +1,17 @@
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 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"MessagingScreen-XKOBLDWM.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"MessagingScreen-ZRD4WEOE.cjs"}
@@ -0,0 +1,5 @@
1
+ export { OrdersScreen, ordersScreenPropertySchema } from './chunk-TB6OK3WH.js';
2
+ import './chunk-4PHR2M6A.js';
3
+ import './chunk-424PT5DM.js';
4
+ //# sourceMappingURL=OrdersScreen-ANDGND6F.js.map
5
+ //# sourceMappingURL=OrdersScreen-ANDGND6F.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-IPPZLEYF.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-ANDGND6F.js"}
@@ -0,0 +1,18 @@
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 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-X7FYUROL.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"OrdersScreen-NNE6OSRS.cjs"}
@@ -0,0 +1,5 @@
1
+ export { ProductsScreen, productsScreenPropertySchema } from './chunk-4LTH3NNT.js';
2
+ import './chunk-4PHR2M6A.js';
3
+ import './chunk-424PT5DM.js';
4
+ //# sourceMappingURL=ProductsScreen-5PMFLPWS.js.map
5
+ //# sourceMappingURL=ProductsScreen-5PMFLPWS.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-YTSOZW7B.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-5PMFLPWS.js"}
@@ -0,0 +1,18 @@
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 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-4ZIUQNUU.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ProductsScreen-ALQYD7ID.cjs"}
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkB6S6BEPL_cjs = require('./chunk-B6S6BEPL.cjs');
3
+ var chunkNNZKBXNB_cjs = require('./chunk-NNZKBXNB.cjs');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
 
6
6
  function ProductsScreen(_props) {
7
- return /* @__PURE__ */ jsxRuntime.jsx(chunkB6S6BEPL_cjs.CoreScreenPlaceholder, { name: "Products" });
7
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkNNZKBXNB_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-5UBEM3AX.cjs.map
19
- //# sourceMappingURL=chunk-5UBEM3AX.cjs.map
18
+ //# sourceMappingURL=chunk-2RIDFKS3.cjs.map
19
+ //# sourceMappingURL=chunk-2RIDFKS3.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-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"]}
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"]}
@@ -1,4 +1,4 @@
1
- import { CoreScreenPlaceholder } from './chunk-RS4OSTES.js';
1
+ import { CoreScreenPlaceholder } from './chunk-4PHR2M6A.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
 
4
4
  function ProductsScreen(_props) {
@@ -12,5 +12,5 @@ var productsScreenPropertySchema = {
12
12
  };
13
13
 
14
14
  export { ProductsScreen, productsScreenPropertySchema };
15
- //# sourceMappingURL=chunk-QZMWG7EM.js.map
16
- //# sourceMappingURL=chunk-QZMWG7EM.js.map
15
+ //# sourceMappingURL=chunk-4LTH3NNT.js.map
16
+ //# sourceMappingURL=chunk-4LTH3NNT.js.map
@@ -1 +1 @@
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-QZMWG7EM.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"]}
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"]}
@@ -0,0 +1,14 @@
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 +1 @@
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-RS4OSTES.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=\"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
+ {"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"]}
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkB6S6BEPL_cjs = require('./chunk-B6S6BEPL.cjs');
3
+ var chunkNNZKBXNB_cjs = require('./chunk-NNZKBXNB.cjs');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
 
6
6
  function CustomersScreen(_props) {
7
- return /* @__PURE__ */ jsxRuntime.jsx(chunkB6S6BEPL_cjs.CoreScreenPlaceholder, { name: "Customers" });
7
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkNNZKBXNB_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-MHPK7YQ2.cjs.map
19
- //# sourceMappingURL=chunk-MHPK7YQ2.cjs.map
18
+ //# sourceMappingURL=chunk-EKMZ4NIA.cjs.map
19
+ //# sourceMappingURL=chunk-EKMZ4NIA.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-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"]}
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"]}
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkB6S6BEPL_cjs = require('./chunk-B6S6BEPL.cjs');
3
+ var chunkNNZKBXNB_cjs = require('./chunk-NNZKBXNB.cjs');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
 
6
6
  function ContactsScreen(_props) {
7
- return /* @__PURE__ */ jsxRuntime.jsx(chunkB6S6BEPL_cjs.CoreScreenPlaceholder, { name: "Contacts" });
7
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkNNZKBXNB_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-EOXYOOWS.cjs.map
19
- //# sourceMappingURL=chunk-EOXYOOWS.cjs.map
18
+ //# sourceMappingURL=chunk-HFPPHLOO.cjs.map
19
+ //# sourceMappingURL=chunk-HFPPHLOO.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-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
+ {"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"]}
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkB6S6BEPL_cjs = require('./chunk-B6S6BEPL.cjs');
3
+ var chunkNNZKBXNB_cjs = require('./chunk-NNZKBXNB.cjs');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
 
6
6
  function OrdersScreen(_props) {
7
- return /* @__PURE__ */ jsxRuntime.jsx(chunkB6S6BEPL_cjs.CoreScreenPlaceholder, { name: "Orders" });
7
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkNNZKBXNB_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-FG2CI6HA.cjs.map
19
- //# sourceMappingURL=chunk-FG2CI6HA.cjs.map
18
+ //# sourceMappingURL=chunk-HMOWQQDX.cjs.map
19
+ //# sourceMappingURL=chunk-HMOWQQDX.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-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"]}
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"]}
@@ -1,4 +1,4 @@
1
- import { CoreScreenPlaceholder } from './chunk-RS4OSTES.js';
1
+ import { CoreScreenPlaceholder } from './chunk-4PHR2M6A.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
 
4
4
  function CustomersScreen(_props) {
@@ -12,5 +12,5 @@ var customersScreenPropertySchema = {
12
12
  };
13
13
 
14
14
  export { CustomersScreen, customersScreenPropertySchema };
15
- //# sourceMappingURL=chunk-WMBD65GH.js.map
16
- //# sourceMappingURL=chunk-WMBD65GH.js.map
15
+ //# sourceMappingURL=chunk-JXEED3FK.js.map
16
+ //# sourceMappingURL=chunk-JXEED3FK.js.map
@@ -1 +1 @@
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-WMBD65GH.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"]}
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"]}
@@ -2,9 +2,9 @@
2
2
 
3
3
  var chunkHDQ2JUQT_cjs = require('./chunk-HDQ2JUQT.cjs');
4
4
  var react = require('react');
5
- var app = require('@fluid-app/fluid-messaging-ui/app');
6
- var fluidMessagingUi = require('@fluid-app/fluid-messaging-ui');
7
- var fluidMessagingApiClient = require('@fluid-app/fluid-messaging-api-client');
5
+ var app = require('@fluid-app/messaging-ui/app');
6
+ var messagingUi = require('@fluid-app/messaging-ui');
7
+ var messagingApiClient = require('@fluid-app/messaging-api-client');
8
8
  var reactQuery = require('@tanstack/react-query');
9
9
  var auth = require('@fluid-app/auth');
10
10
  var jsxRuntime = require('react/jsx-runtime');
@@ -13,7 +13,7 @@ var registryContext = require('@fluid-app/rep-core/data-sources/registry-context
13
13
  var contexts = require('@fluid-app/rep-widgets/contexts');
14
14
  var widgetUtils = require('@fluid-app/rep-core/widget-utils');
15
15
  var widgets = require('@fluid-app/rep-widgets/widgets');
16
- var fluidMessagingCore = require('@fluid-app/fluid-messaging-core');
16
+ var messagingCore = require('@fluid-app/messaging-core');
17
17
 
18
18
  function _interopNamespace(e) {
19
19
  if (e && e.__esModule) return e;
@@ -1357,7 +1357,7 @@ function uploadToFilestack(file, apiKey, callbacks) {
1357
1357
  url: response.url,
1358
1358
  size: file.size,
1359
1359
  mimetype: file.type,
1360
- kind: fluidMessagingCore.getFileTypeFromMimetype(file.type),
1360
+ kind: messagingCore.getFileTypeFromMimetype(file.type),
1361
1361
  metadata
1362
1362
  };
1363
1363
  callbacks.onSuccess(result);
@@ -1452,7 +1452,7 @@ function MessagingScreen({
1452
1452
  const effectiveToast = onToast ?? defaultToast;
1453
1453
  const searchUsers = react.useCallback(
1454
1454
  async (query) => {
1455
- const result = await fluidMessagingApiClient.listConnectedRecipients(apiConfig, {
1455
+ const result = await messagingApiClient.listConnectedRecipients(apiConfig, {
1456
1456
  filterrific: { search_query: query },
1457
1457
  per_page: 10,
1458
1458
  page: 1
@@ -1480,14 +1480,14 @@ function MessagingScreen({
1480
1480
  );
1481
1481
  const searchChannels = react.useCallback(
1482
1482
  async (query) => {
1483
- const channels = await fluidMessagingApiClient.searchConversations(apiConfig, {
1483
+ const channels = await messagingApiClient.searchConversations(apiConfig, {
1484
1484
  filterrific: { search_query: query }
1485
1485
  }) ?? [];
1486
1486
  return channels.map((channel) => {
1487
- const { text: nameWithoutEmoji } = fluidMessagingUi.extractEmoji(channel.name);
1487
+ const { text: nameWithoutEmoji } = messagingUi.extractEmoji(channel.name);
1488
1488
  return {
1489
1489
  id: `channel-${channel.id}`,
1490
- label: fluidMessagingUi.formatMessageChannelName(nameWithoutEmoji),
1490
+ label: messagingUi.formatMessageChannelName(nameWithoutEmoji),
1491
1491
  imageType: "channel",
1492
1492
  userData: {
1493
1493
  first_name: channel.name,
@@ -1516,9 +1516,9 @@ function MessagingScreen({
1516
1516
  {
1517
1517
  ...divProps,
1518
1518
  className: `flex h-full items-center justify-center ${divProps.className ?? ""}`,
1519
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-sm rounded-lg border border-dashed border-border p-8 text-center", children: [
1520
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-xl font-semibold text-foreground", children: "Messaging" }),
1521
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-muted-foreground", children: "Messaging is not available for your account" })
1519
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border max-w-sm rounded-lg border border-dashed p-8 text-center", children: [
1520
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-foreground text-xl font-semibold", children: "Messaging" }),
1521
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-2", children: "Messaging is not available for your account" })
1522
1522
  ] })
1523
1523
  }
1524
1524
  );
@@ -1593,5 +1593,5 @@ exports.useFluidContext = useFluidContext;
1593
1593
  exports.useMessagingAuth = useMessagingAuth;
1594
1594
  exports.useMessagingConfig = useMessagingConfig;
1595
1595
  exports.useThemeContext = useThemeContext;
1596
- //# sourceMappingURL=chunk-NZSRE4IB.cjs.map
1597
- //# sourceMappingURL=chunk-NZSRE4IB.cjs.map
1596
+ //# sourceMappingURL=chunk-LU42Y4H3.cjs.map
1597
+ //# sourceMappingURL=chunk-LU42Y4H3.cjs.map