@fayz-ai/pos 0.22.1 → 0.22.3

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.
@@ -1,6 +1,9 @@
1
1
  import type { DispatchStatus, PosPosition } from '../app/config';
2
- export declare function DeliveryBoard({ orders, activeId, onSelect, now }: {
2
+ export declare function DeliveryBoard({ orders, activeId, onSelect, now, channelsConnected }: {
3
3
  orders: PosPosition[];
4
+ /** Whether the store has any delivery channel connected. Only an explicit
5
+ * `false` shows the "no channel" notice: an empty board is not proof of it. */
6
+ channelsConnected?: boolean;
4
7
  activeId?: string;
5
8
  onSelect: (p: PosPosition) => void;
6
9
  now: number;
@@ -1 +1 @@
1
- {"version":3,"file":"DeliveryBoard.d.ts","sourceRoot":"","sources":["../../src/screen/DeliveryBoard.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAgChE,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE;IACjE,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;IAClC,GAAG,EAAE,MAAM,CAAA;CACZ,+BA8IA;AAqBD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAUzD,CAAA;AAED;gEACgE;AAChE,wBAAgB,YAAY,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc,GAAG,SAAS,CAQhF"}
1
+ {"version":3,"file":"DeliveryBoard.d.ts","sourceRoot":"","sources":["../../src/screen/DeliveryBoard.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAgChE,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,iBAAiB,EAAE,EAAE;IACpF,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB;oFACgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;IAClC,GAAG,EAAE,MAAM,CAAA;CACZ,+BAgJA;AAqBD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAUzD,CAAA;AAED;gEACgE;AAChE,wBAAgB,YAAY,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc,GAAG,SAAS,CAQhF"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "fayz": {
4
4
  "status": "preview"
5
5
  },
6
- "version": "0.22.1",
6
+ "version": "0.22.3",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -36,7 +36,7 @@
36
36
  "zustand": "^4.5.0 || ^5.0.0"
37
37
  },
38
38
  "dependencies": {
39
- "@fayz-ai/core": "^0.56.0"
39
+ "@fayz-ai/core": "^0.57.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/react": "^18.3.0",