@seamapi/react 5.2.4 → 5.3.1

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 (75) hide show
  1. package/README.md +3 -3
  2. package/dist/ecosystem.js +11 -10
  3. package/dist/ecosystem.js.map +1 -1
  4. package/dist/elements.js +12339 -11523
  5. package/dist/elements.js.map +1 -1
  6. package/dist/index.css +996 -162
  7. package/dist/index.css.map +1 -1
  8. package/dist/index.min.css +1 -1
  9. package/dist/index.min.css.map +1 -1
  10. package/lib/seam/components/SupportedDevices/AccessoryCatalog.d.ts +9 -0
  11. package/lib/seam/components/SupportedDevices/AccessoryCatalog.js +40 -0
  12. package/lib/seam/components/SupportedDevices/AccessoryCatalog.js.map +1 -0
  13. package/lib/seam/components/SupportedDevices/BrandMark.d.ts +7 -0
  14. package/lib/seam/components/SupportedDevices/BrandMark.js +23 -0
  15. package/lib/seam/components/SupportedDevices/BrandMark.js.map +1 -0
  16. package/lib/seam/components/SupportedDevices/CapabilityFilter.d.ts +7 -0
  17. package/lib/seam/components/SupportedDevices/CapabilityFilter.js +58 -0
  18. package/lib/seam/components/SupportedDevices/CapabilityFilter.js.map +1 -0
  19. package/lib/seam/components/SupportedDevices/DeviceRow.d.ts +6 -0
  20. package/lib/seam/components/SupportedDevices/DeviceRow.js +20 -0
  21. package/lib/seam/components/SupportedDevices/DeviceRow.js.map +1 -0
  22. package/lib/seam/components/SupportedDevices/HardwareGallery.d.ts +6 -0
  23. package/lib/seam/components/SupportedDevices/HardwareGallery.js +108 -0
  24. package/lib/seam/components/SupportedDevices/HardwareGallery.js.map +1 -0
  25. package/lib/seam/components/SupportedDevices/HardwareInformation.d.ts +5 -0
  26. package/lib/seam/components/SupportedDevices/HardwareInformation.js +50 -0
  27. package/lib/seam/components/SupportedDevices/HardwareInformation.js.map +1 -0
  28. package/lib/seam/components/SupportedDevices/ManufacturerSection.d.ts +3 -3
  29. package/lib/seam/components/SupportedDevices/ManufacturerSection.js +10 -13
  30. package/lib/seam/components/SupportedDevices/ManufacturerSection.js.map +1 -1
  31. package/lib/seam/components/SupportedDevices/ProviderRequirements.d.ts +5 -0
  32. package/lib/seam/components/SupportedDevices/ProviderRequirements.js +20 -0
  33. package/lib/seam/components/SupportedDevices/ProviderRequirements.js.map +1 -0
  34. package/lib/seam/components/SupportedDevices/RequirementIcon.js +1 -1
  35. package/lib/seam/components/SupportedDevices/RequirementIcon.js.map +1 -1
  36. package/lib/seam/components/SupportedDevices/StatusMarks.d.ts +3 -0
  37. package/lib/seam/components/SupportedDevices/StatusMarks.js +8 -0
  38. package/lib/seam/components/SupportedDevices/StatusMarks.js.map +1 -0
  39. package/lib/seam/components/SupportedDevices/SupportedDevices.d.ts +2 -2
  40. package/lib/seam/components/SupportedDevices/SupportedDevices.js +53 -30
  41. package/lib/seam/components/SupportedDevices/SupportedDevices.js.map +1 -1
  42. package/lib/seam/components/SupportedDevices/presentation.d.ts +34 -0
  43. package/lib/seam/components/SupportedDevices/presentation.js +142 -0
  44. package/lib/seam/components/SupportedDevices/presentation.js.map +1 -0
  45. package/lib/seam/ecosystem/types.d.ts +5 -1
  46. package/lib/seam/ecosystem/use-ecosystem-device-model-summaries.d.ts +5 -2
  47. package/lib/seam/ecosystem/use-ecosystem-device-model-summaries.js +4 -1
  48. package/lib/seam/ecosystem/use-ecosystem-device-model-summaries.js.map +1 -1
  49. package/lib/seam/ecosystem/use-ecosystem-provider-requirements.d.ts +1 -1
  50. package/lib/seam/ecosystem/use-ecosystem-provider-requirements.js +1 -1
  51. package/lib/seam/ecosystem/use-ecosystem-provider-requirements.js.map +1 -1
  52. package/lib/version.d.ts +1 -1
  53. package/lib/version.js +1 -1
  54. package/package.json +1 -1
  55. package/src/lib/seam/components/SupportedDevices/AccessoryCatalog.tsx +138 -0
  56. package/src/lib/seam/components/SupportedDevices/BrandMark.tsx +61 -0
  57. package/src/lib/seam/components/SupportedDevices/CapabilityFilter.tsx +142 -0
  58. package/src/lib/seam/components/SupportedDevices/DeviceRow.tsx +163 -0
  59. package/src/lib/seam/components/SupportedDevices/HardwareGallery.tsx +284 -0
  60. package/src/lib/seam/components/SupportedDevices/HardwareInformation.tsx +103 -0
  61. package/src/lib/seam/components/SupportedDevices/ManufacturerSection.tsx +22 -32
  62. package/src/lib/seam/components/SupportedDevices/ProviderRequirements.tsx +127 -0
  63. package/src/lib/seam/components/SupportedDevices/RequirementIcon.tsx +8 -1
  64. package/src/lib/seam/components/SupportedDevices/StatusMarks.tsx +32 -0
  65. package/src/lib/seam/components/SupportedDevices/SupportedDevices.tsx +120 -91
  66. package/src/lib/seam/components/SupportedDevices/presentation.ts +234 -0
  67. package/src/lib/seam/ecosystem/types.ts +5 -1
  68. package/src/lib/seam/ecosystem/use-ecosystem-device-model-summaries.ts +8 -1
  69. package/src/lib/seam/ecosystem/use-ecosystem-provider-requirements.ts +1 -1
  70. package/src/lib/version.ts +1 -1
  71. package/src/styles/_supported-devices.scss +1183 -174
  72. package/lib/seam/components/SupportedDevices/DeviceModelRow.d.ts +0 -8
  73. package/lib/seam/components/SupportedDevices/DeviceModelRow.js +0 -49
  74. package/lib/seam/components/SupportedDevices/DeviceModelRow.js.map +0 -1
  75. package/src/lib/seam/components/SupportedDevices/DeviceModelRow.tsx +0 -197
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type PresentedDevice } from './presentation.js';
3
+ export declare function ProviderRequirements({ provider, }: {
4
+ provider: PresentedDevice['providers'][number];
5
+ }): JSX.Element;
@@ -0,0 +1,20 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { AccessoryLinks } from './AccessoryCatalog.js';
3
+ import { getRequirementKinds, } from './presentation.js';
4
+ import { RequirementIcon } from './RequirementIcon.js';
5
+ import { CheckMark } from './StatusMarks.js';
6
+ const columns = [
7
+ { kind: 'subscription', label: 'Subscription' },
8
+ { kind: 'bridge', label: 'Bridge' },
9
+ { kind: 'keypad', label: 'Keypad' },
10
+ { kind: 'legal', label: 'Legal' },
11
+ { kind: 'other', label: 'Other' },
12
+ ];
13
+ export function ProviderRequirements({ provider, }) {
14
+ if (provider.integrationStatus === 'unsupported')
15
+ return (_jsxs("a", { className: 'seam-supported-device-request-integration', href: 'https://www.seam.co/request-new-integration', target: '_blank', rel: 'noopener noreferrer', "aria-label": `Request Integration with ${provider.display_name ?? provider.slug} (opens in a new tab)`, children: ["Request Integration ", _jsx("span", { "aria-hidden": true, children: "\u2192" })] }));
16
+ return (_jsxs(_Fragment, { children: [provider.capabilities.length === 0 ? (_jsx("p", { className: 'seam-supported-device-provider-empty', children: "Capabilities not confirmed." })) : (_jsxs("table", { className: 'seam-supported-device-capability-requirements', children: [_jsx("caption", { className: 'seam-supported-device-sr-only', children: "Supported capabilities and their additional requirements" }), _jsxs("colgroup", { children: [_jsx("col", { className: 'seam-supported-device-capability-name-column' }), _jsx("col", { className: 'seam-supported-device-capability-supported-column' }), _jsx("col", {})] }), _jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { scope: 'col', children: "Capability" }), _jsx("th", { scope: 'col', className: 'seam-supported-device-capability-support-cell', children: "Supported" }), _jsx("th", { scope: 'col', children: "Requirements" })] }) }), _jsx("tbody", { children: provider.capabilities.map((capability) => (_jsxs("tr", { children: [_jsx("th", { scope: 'row', children: capability.label }), _jsx("td", { className: 'seam-supported-device-capability-support-cell', children: _jsx("span", { className: 'seam-supported-device-capability-supported', role: 'img', "aria-label": 'Supported', children: _jsx(CheckMark, {}) }) }), _jsx("td", { children: _jsxs("div", { className: 'seam-supported-device-capability-pills', children: [columns
17
+ .filter(({ kind }) => capability.messages.some((message) => getRequirementKinds(message).includes(kind)))
18
+ .map(({ kind, label }) => (_jsxs("span", { className: 'seam-supported-device-inline-requirement', children: [_jsx(RequirementIcon, { message: kind }), label] }, kind))), capability.messages.length === 0 && (_jsx("span", { className: 'seam-supported-device-no-requirements', role: 'img', "aria-label": 'No additional requirements listed', children: "\u2014" }))] }) })] }, capability.name))) })] })), provider.requirements.length > 0 && (_jsx("ul", { className: 'seam-supported-device-requirements', "aria-label": 'Requirement details', children: provider.requirements.map(({ message, deviceSlugs }) => (_jsxs("li", { children: [_jsx(RequirementIcon, { message: message }), _jsxs("div", { className: 'seam-supported-device-requirement-body', children: [_jsx("p", { children: message }), _jsx(AccessoryLinks, { message: message, slugs: deviceSlugs })] })] }, message))) }))] }));
19
+ }
20
+ //# sourceMappingURL=ProviderRequirements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProviderRequirements.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDevices/ProviderRequirements.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EACL,mBAAmB,GAGpB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAE5C,MAAM,OAAO,GAAoD;IAC/D,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAC/C,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACnC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACnC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IACjC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;CAClC,CAAA;AAED,MAAM,UAAU,oBAAoB,CAAC,EACnC,QAAQ,GAGT;IACC,IAAI,QAAQ,CAAC,iBAAiB,KAAK,aAAa;QAC9C,OAAO,CACL,aACE,SAAS,EAAC,2CAA2C,EACrD,IAAI,EAAC,6CAA6C,EAClD,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,gBACb,4BAA4B,QAAQ,CAAC,YAAY,IAAI,QAAQ,CAAC,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IAAI,CAIJ,CACR,CAAC,EACH,UAAU,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,IAAI,CACnC,eACE,SAAS,EAAC,uCAAuC,EACjD,IAAI,EAAC,KAAK,gBACC,mCAAmC,uBAGzC,CACR,IACG,GACH,KAtCE,UAAU,CAAC,IAAI,CAuCnB,CACN,CAAC,GACI,IACF,CACT,EACA,QAAQ,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,CACnC,aACE,SAAS,EAAC,oCAAoC,gBACnC,qBAAqB,YAE/B,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CACvD,yBACE,KAAC,eAAe,IAAC,OAAO,EAAE,OAAO,GAAI,EACrC,eAAK,SAAS,EAAC,wCAAwC,aACrD,sBAAI,OAAO,GAAK,EAChB,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,GAAI,IACpD,KALC,OAAO,CAMX,CACN,CAAC,GACC,CACN,IACA,CACJ,CAAA;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /** The adjacent text carries the meaning of these contextual illustrations. */
3
3
  export function RequirementIcon({ message }) {
4
- return (_jsx("svg", { className: 'seam-supported-devices-requirement-icon', "aria-hidden": true, width: '20', height: '20', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '1.5', strokeLinecap: 'round', strokeLinejoin: 'round', children: /subscription|licen[sc]e|paying|paid|fees?/i.test(message) ? (_jsxs(_Fragment, { children: [_jsx("rect", { x: '2', y: '4', width: '20', height: '16', rx: '3' }), _jsx("path", { d: 'M2 9h20M6 15h4m4 0h4' })] })) : /keypad/i.test(message) ? (_jsxs(_Fragment, { children: [_jsx("rect", { x: '5', y: '2', width: '14', height: '20', rx: '3' }), _jsx("path", { d: 'M9 6h6M9 10h.01M12 10h.01M15 10h.01M9 14h.01M12 14h.01M15 14h.01M12 18h.01' })] })) : /bridge|hub/i.test(message) ? (_jsxs(_Fragment, { children: [_jsx("rect", { x: '3', y: '12', width: '18', height: '8', rx: '2' }), _jsx("path", { d: 'M7 12V8m10 4V8M7 16h.01M11 16h.01M9 5a5 5 0 0 1 6 0M6 2a10 10 0 0 1 12 0' })] })) : (_jsxs(_Fragment, { children: [_jsx("circle", { cx: '12', cy: '12', r: '9' }), _jsx("path", { d: 'M12 11v6m0-10h.01' })] })) }));
4
+ return (_jsx("svg", { className: 'seam-supported-devices-requirement-icon', "aria-hidden": true, width: '20', height: '20', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '1.5', strokeLinecap: 'round', strokeLinejoin: 'round', children: /\b(?:legal|eula|waiver|end[- ]user licen[cs]e agreement)\b/i.test(message) ? (_jsxs(_Fragment, { children: [_jsx("path", { d: 'M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z' }), _jsx("path", { d: 'M14 2v6h6M8 15l2 2 5-5' })] })) : /subscription|licen[sc]e|paying|paid|fees?/i.test(message) ? (_jsxs(_Fragment, { children: [_jsx("rect", { x: '2', y: '4', width: '20', height: '16', rx: '3' }), _jsx("path", { d: 'M2 9h20M6 15h4m4 0h4' })] })) : /keypad/i.test(message) ? (_jsxs(_Fragment, { children: [_jsx("rect", { x: '5', y: '2', width: '14', height: '20', rx: '3' }), _jsx("path", { d: 'M9 6h6M9 10h.01M12 10h.01M15 10h.01M9 14h.01M12 14h.01M15 14h.01M12 18h.01' })] })) : /bridge|hub/i.test(message) ? (_jsxs(_Fragment, { children: [_jsx("rect", { x: '3', y: '12', width: '18', height: '8', rx: '2' }), _jsx("path", { d: 'M7 12V8m10 4V8M7 16h.01M11 16h.01M9 5a5 5 0 0 1 6 0M6 2a10 10 0 0 1 12 0' })] })) : (_jsxs(_Fragment, { children: [_jsx("circle", { cx: '12', cy: '12', r: '9' }), _jsx("path", { d: 'M12 11v6m0-10h.01' })] })) }));
5
5
  }
6
6
  //# sourceMappingURL=RequirementIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequirementIcon.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDevices/RequirementIcon.tsx"],"names":[],"mappings":";AAAA,+EAA+E;AAC/E,MAAM,UAAU,eAAe,CAAC,EAAE,OAAO,EAAuB;IAC9D,OAAO,CACL,cACE,SAAS,EAAC,yCAAyC,uBAEnD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,YAErB,4CAA4C,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAC5D,8BACE,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,eAAM,CAAC,EAAC,sBAAsB,GAAG,IAChC,CACJ,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAC5B,8BACE,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,eAAM,CAAC,EAAC,4EAA4E,GAAG,IACtF,CACJ,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAChC,8BACE,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,eAAM,CAAC,EAAC,0EAA0E,GAAG,IACpF,CACJ,CAAC,CAAC,CAAC,CACF,8BACE,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG,EAChC,eAAM,CAAC,EAAC,mBAAmB,GAAG,IAC7B,CACJ,GACG,CACP,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"RequirementIcon.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDevices/RequirementIcon.tsx"],"names":[],"mappings":";AAAA,+EAA+E;AAC/E,MAAM,UAAU,eAAe,CAAC,EAAE,OAAO,EAAuB;IAC9D,OAAO,CACL,cACE,SAAS,EAAC,yCAAyC,uBAEnD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,YAErB,6DAA6D,CAAC,IAAI,CACjE,OAAO,CACR,CAAC,CAAC,CAAC,CACF,8BACE,eAAM,CAAC,EAAC,4DAA4D,GAAG,EACvE,eAAM,CAAC,EAAC,wBAAwB,GAAG,IAClC,CACJ,CAAC,CAAC,CAAC,4CAA4C,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAC/D,8BACE,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,eAAM,CAAC,EAAC,sBAAsB,GAAG,IAChC,CACJ,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAC5B,8BACE,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,eAAM,CAAC,EAAC,4EAA4E,GAAG,IACtF,CACJ,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAChC,8BACE,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,eAAM,CAAC,EAAC,0EAA0E,GAAG,IACpF,CACJ,CAAC,CAAC,CAAC,CACF,8BACE,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG,EAChC,eAAM,CAAC,EAAC,mBAAmB,GAAG,IAC7B,CACJ,GACG,CACP,CAAA;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function InfoMark(): JSX.Element;
3
+ export declare function CheckMark(): JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ export function InfoMark() {
3
+ return (_jsxs("svg", { "aria-hidden": true, width: '14', height: '14', viewBox: '0 0 20 20', fill: 'none', stroke: 'currentColor', strokeWidth: '1.5', children: [_jsx("circle", { cx: '10', cy: '10', r: '7.25' }), _jsx("path", { d: 'M10 9v5M10 6v.1', strokeLinecap: 'round' })] }));
4
+ }
5
+ export function CheckMark() {
6
+ return (_jsx("svg", { "aria-hidden": true, width: '14', height: '14', viewBox: '0 0 20 20', fill: 'none', stroke: 'currentColor', strokeWidth: '1.7', children: _jsx("path", { d: 'm4 10 4 4 8-8', strokeLinecap: 'round', strokeLinejoin: 'round' }) }));
7
+ }
8
+ //# sourceMappingURL=StatusMarks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusMarks.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDevices/StatusMarks.tsx"],"names":[],"mappings":";AAAA,MAAM,UAAU,QAAQ;IACtB,OAAO,CACL,oCAEE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,KAAK,aAEjB,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,MAAM,GAAG,EACnC,eAAM,CAAC,EAAC,iBAAiB,EAAC,aAAa,EAAC,OAAO,GAAG,IAC9C,CACP,CAAA;AACH,CAAC;AAED,MAAM,UAAU,SAAS;IACvB,OAAO,CACL,mCAEE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,KAAK,YAEjB,eAAM,CAAC,EAAC,eAAe,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,GAAG,GACnE,CACP,CAAA;AACH,CAAC"}
@@ -6,7 +6,7 @@ export interface SupportedDevicesProps {
6
6
  * Defaults to the manufacturer of a manufacturer embed key.
7
7
  */
8
8
  manufacturer?: string | undefined;
9
- /** Ecosystem provider slug, e.g., `oracode`. Scopes models and capability badges. */
9
+ /** Ecosystem provider slug, e.g., `oracode`. Scopes models and capability summaries. */
10
10
  provider?: string | undefined;
11
11
  /** DeviceDB device type slug, e.g., `smartlock` or `thermostat`. */
12
12
  deviceType?: string | undefined;
@@ -21,6 +21,6 @@ export interface SupportedDevicesProps {
21
21
  }
22
22
  /**
23
23
  * Device models that work with Seam, grouped by manufacturer,
24
- * with device type and capability badges.
24
+ * with capability checks and expandable hardware and provider requirements.
25
25
  */
26
26
  export declare function SupportedDevices({ manufacturer, provider, deviceType, capability, hideSearch, hideFilters, hideTitle, theme, className, }: SupportedDevicesProps): JSX.Element;
@@ -1,8 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import classNames from 'classnames';
3
3
  import { useDeferredValue, useMemo, useState } from 'react';
4
- import { CheckIcon } from '../../../../lib/icons/Check.js';
5
- import { TriangleWarningOutlineIcon } from '../../../../lib/icons/TriangleWarningOutline.js';
6
4
  import { applyEmbedExclusions, capabilityLabels, filterDeviceModels, getCapabilityOptions, getDeviceTypeOptions, getManufacturerName, getManufacturerOptions, getProvidersWithMissingRequirements, groupDeviceModelsByManufacturer, resolveProviderRequirements, scopeDeviceModelsToProvider, } from '../../../../lib/seam/components/SupportedDevices/device-models.js';
7
5
  import { FilterSelect } from '../../../../lib/seam/components/SupportedDevices/FilterSelect.js';
8
6
  import { ManufacturerSection } from '../../../../lib/seam/components/SupportedDevices/ManufacturerSection.js';
@@ -15,9 +13,13 @@ import { getEcosystemErrorMessage } from '../../../../lib/ui/ecosystem/errors.js
15
13
  import { SearchField } from '../../../../lib/ui/ecosystem/SearchField.js';
16
14
  import { StateMessage } from '../../../../lib/ui/ecosystem/StateMessage.js';
17
15
  import { getEcosystemThemeClassName, } from '../../../../lib/ui/ecosystem/theme.js';
16
+ import { AccessoryCatalog } from './AccessoryCatalog.js';
17
+ import { CapabilityFilter } from './CapabilityFilter.js';
18
+ import { CapabilityLegend } from './DeviceRow.js';
19
+ import { presentDevice } from './presentation.js';
18
20
  /**
19
21
  * Device models that work with Seam, grouped by manufacturer,
20
- * with device type and capability badges.
22
+ * with capability checks and expandable hardware and provider requirements.
21
23
  */
22
24
  export function SupportedDevices({ manufacturer, provider, deviceType, capability, hideSearch = false, hideFilters = false, hideTitle = false, theme = 'light', className, }) {
23
25
  const { embedKey } = useEcosystemContext();
@@ -37,10 +39,23 @@ export function SupportedDevices({ manufacturer, provider, deviceType, capabilit
37
39
  : '',
38
40
  enabled: (explicitManufacturer != null || isResolved) && !isResolutionError,
39
41
  });
40
- const scopedDeviceModels = useMemo(() => scopeDeviceModelsToProvider(applyEmbedExclusions(deviceModels ?? [], embedResolution?.exclusions), fixedProvider), [deviceModels, embedResolution, fixedProvider]);
41
- const missingProviderSlugs = useMemo(() => getProvidersWithMissingRequirements(scopedDeviceModels), [scopedDeviceModels]);
42
- const { providers } = useEcosystemProviderRequirements(missingProviderSlugs);
43
- const availableDeviceModels = useMemo(() => resolveProviderRequirements(scopedDeviceModels, providers ?? []), [scopedDeviceModels, providers]);
42
+ const allowedDeviceModels = useMemo(() => applyEmbedExclusions(deviceModels ?? [], embedResolution?.exclusions), [deviceModels, embedResolution]);
43
+ const missingProviderSlugs = useMemo(() => getProvidersWithMissingRequirements(allowedDeviceModels), [allowedDeviceModels]);
44
+ const providerSlugs = useMemo(() => allowedDeviceModels.flatMap((model) => model.providers.map((provider) => provider.slug)), [allowedDeviceModels]);
45
+ const { providers, isError: isProvidersError, error: providersError, refetch: refetchProviders, } = useEcosystemProviderRequirements(providerSlugs);
46
+ const resolvedDeviceModels = useMemo(() => resolveProviderRequirements(allowedDeviceModels, providers ?? []), [allowedDeviceModels, providers]);
47
+ const availableDeviceModels = useMemo(() => scopeDeviceModelsToProvider(resolvedDeviceModels, fixedProvider), [resolvedDeviceModels, fixedProvider]);
48
+ const presentedDevices = useMemo(() => {
49
+ const allProvidersById = new Map(resolvedDeviceModels.map((model) => [model.device_model_id, model]));
50
+ return availableDeviceModels.map((source) => presentDevice(source, providers ?? [], allProvidersById.get(source.device_model_id), fixedProvider ?? undefined));
51
+ }, [availableDeviceModels, resolvedDeviceModels, providers, fixedProvider]);
52
+ const presentedDevicesById = useMemo(() => new Map(presentedDevices.map((device) => [
53
+ device.source.device_model_id,
54
+ device,
55
+ ])), [presentedDevices]);
56
+ const accessorySlugs = useMemo(() => presentedDevices.flatMap((device) => device.providers
57
+ .filter((provider) => provider.integrationStatus !== 'unsupported')
58
+ .flatMap((provider) => provider.requirements.flatMap((requirement) => requirement.deviceSlugs ?? []))), [presentedDevices]);
44
59
  const manufacturerSlugs = useMemo(() => availableDeviceModels
45
60
  .map((m) => m.manufacturer?.slug)
46
61
  .filter((slug) => slug != null), [availableDeviceModels]);
@@ -52,21 +67,21 @@ export function SupportedDevices({ manufacturer, provider, deviceType, capabilit
52
67
  const [searchValue, setSearchValue] = useState('');
53
68
  const [selectedManufacturer, setSelectedManufacturer] = useState(null);
54
69
  const [selectedDeviceType, setSelectedDeviceType] = useState(null);
55
- const [selectedCapability, setSelectedCapability] = useState(null);
70
+ const [selectedCapabilities, setSelectedCapabilities] = useState([]);
56
71
  const search = useDeferredValue(searchValue);
57
- const filteredDeviceModels = useMemo(() => filterDeviceModels(availableDeviceModels, {
72
+ const filteredDeviceModels = useMemo(() => selectedCapabilities.reduce((models, selected) => filterDeviceModels(models, { capability: selected }), filterDeviceModels(availableDeviceModels, {
58
73
  manufacturer: scopeManufacturer ?? selectedManufacturer,
59
74
  deviceType: fixedDeviceType ?? selectedDeviceType,
60
- capability: fixedCapability ?? selectedCapability,
75
+ capability: fixedCapability,
61
76
  search,
62
- }), [
77
+ })), [
63
78
  availableDeviceModels,
64
79
  scopeManufacturer,
65
80
  selectedManufacturer,
66
81
  fixedDeviceType,
67
82
  selectedDeviceType,
68
83
  fixedCapability,
69
- selectedCapability,
84
+ selectedCapabilities,
70
85
  search,
71
86
  ]);
72
87
  const groups = useMemo(() => groupDeviceModelsByManufacturer(filteredDeviceModels), [filteredDeviceModels]);
@@ -79,15 +94,21 @@ export function SupportedDevices({ manufacturer, provider, deviceType, capabilit
79
94
  const hasUserFilters = searchValue.trim().length > 0 ||
80
95
  selectedManufacturer != null ||
81
96
  selectedDeviceType != null ||
82
- selectedCapability != null;
97
+ selectedCapabilities.length > 0;
83
98
  const resetFilters = () => {
84
99
  setSearchValue('');
85
100
  setSelectedManufacturer(null);
86
101
  setSelectedDeviceType(null);
87
- setSelectedCapability(null);
102
+ setSelectedCapabilities([]);
88
103
  };
89
- const isError = isResolutionError || isDeviceModelsError;
90
- const isLoading = !isError && (!isResolved || deviceModels == null);
104
+ const areRequirementsMissing = missingProviderSlugs.length > 0;
105
+ const isError = isResolutionError ||
106
+ isDeviceModelsError ||
107
+ (areRequirementsMissing && isProvidersError);
108
+ const isLoading = !isError &&
109
+ (!isResolved ||
110
+ deviceModels == null ||
111
+ (areRequirementsMissing && providers == null));
91
112
  const scopedManufacturerName = scopeManufacturer == null
92
113
  ? null
93
114
  : getScopedManufacturerName(scopeManufacturer, manufacturersBySlug.get(scopeManufacturer), availableDeviceModels[0]?.manufacturer?.display_name);
@@ -96,7 +117,11 @@ export function SupportedDevices({ manufacturer, provider, deviceType, capabilit
96
117
  : t.manufacturerTitle(scopedManufacturerName);
97
118
  const content = (() => {
98
119
  if (isError) {
99
- const { message, canRetry } = getEcosystemErrorMessage(isResolutionError ? resolutionError : deviceModelsError, t.error);
120
+ const { message, canRetry } = getEcosystemErrorMessage(isResolutionError
121
+ ? resolutionError
122
+ : isDeviceModelsError
123
+ ? deviceModelsError
124
+ : providersError, t.error);
100
125
  return (_jsx(StateMessage, { role: 'alert', ...(canRetry
101
126
  ? {
102
127
  actionLabel: t.retry,
@@ -105,6 +130,8 @@ export function SupportedDevices({ manufacturer, provider, deviceType, capabilit
105
130
  void refetchResolution();
106
131
  if (isDeviceModelsError)
107
132
  void refetchDeviceModels();
133
+ if (isProvidersError)
134
+ void refetchProviders();
108
135
  },
109
136
  }
110
137
  : {}), children: message }));
@@ -119,21 +146,22 @@ export function SupportedDevices({ manufacturer, provider, deviceType, capabilit
119
146
  ? { actionLabel: t.clearFilters, onAction: resetFilters }
120
147
  : {}), children: hasUserFilters ? t.noMatches : t.noDevices }));
121
148
  }
122
- return (_jsx("div", { className: 'seam-supported-devices-sections', children: groups.map((group) => (_jsx(ManufacturerSection, { group: group, manufacturer: manufacturersBySlug.get(group.key) ?? null, collapsible: groups.length > 1 }, group.key))) }));
149
+ return (_jsx("div", { className: 'seam-supported-devices-sections', children: groups.map((group) => (_jsx(ManufacturerSection, { devices: group.deviceModels.flatMap((model) => {
150
+ const device = presentedDevicesById.get(model.device_model_id);
151
+ return device == null ? [] : [device];
152
+ }), manufacturer: manufacturersBySlug.get(group.key) ?? null, collapsible: groups.length > 1 }, group.key))) }));
123
153
  })();
124
154
  const showFilters = !hideFilters &&
125
155
  (showManufacturerFilter || showDeviceTypeFilter || showCapabilityFilter);
126
156
  const controlsDisabled = isLoading || isError;
127
- return (_jsxs("div", { className: classNames('seam-ecosystem', 'seam-supported-devices', getEcosystemThemeClassName(theme), className), children: [(!hideTitle || !hideSearch || showFilters) && (_jsxs("div", { className: 'seam-ecosystem-header', children: [!hideTitle && _jsx("h2", { className: 'seam-ecosystem-title', children: title }), _jsxs("div", { className: 'seam-ecosystem-controls', children: [showFilters && showManufacturerFilter && (_jsx(FilterSelect, { label: t.manufacturer, allLabel: t.allManufacturers, options: manufacturerOptions, value: selectedManufacturer, onChange: setSelectedManufacturer, disabled: controlsDisabled })), showFilters && showDeviceTypeFilter && (_jsx(FilterSelect, { label: t.deviceType, allLabel: t.allDeviceTypes, options: deviceTypeOptions, value: selectedDeviceType, onChange: setSelectedDeviceType, disabled: controlsDisabled })), showFilters && showCapabilityFilter && (_jsx(FilterSelect, { label: t.capability, allLabel: t.allCapabilities, options: capabilityOptions, value: selectedCapability, onChange: setSelectedCapability, disabled: controlsDisabled })), !hideSearch && (_jsx(SearchField, { label: t.search, value: searchValue, onChange: setSearchValue, disabled: controlsDisabled }))] })] })), !isLoading && !isError && availableDeviceModels.length > 0 && (_jsxs("div", { className: 'seam-supported-devices-legend', "aria-label": t.featureStatus, children: [_jsxs("span", { children: [_jsx(CheckIcon, { "aria-hidden": true }), t.supported] }), _jsxs("span", { children: [_jsx(TriangleWarningOutlineIcon, { "aria-hidden": true }), t.requiresSetup] })] })), content] }));
157
+ return (_jsxs("div", { className: classNames('seam-ecosystem', 'seam-supported-devices', getEcosystemThemeClassName(theme), className), children: [(!hideTitle || !hideSearch || showFilters) && (_jsxs("div", { className: 'seam-ecosystem-header', children: [!hideTitle && _jsx("h2", { className: 'seam-ecosystem-title', children: title }), _jsxs("div", { className: 'seam-ecosystem-controls seam-supported-device-filters', children: [!hideSearch && (_jsx(SearchField, { label: t.search, value: searchValue, onChange: setSearchValue, disabled: controlsDisabled })), showFilters && showManufacturerFilter && (_jsx(FilterSelect, { label: t.manufacturer, allLabel: t.allManufacturers, options: manufacturerOptions, value: selectedManufacturer, onChange: setSelectedManufacturer, disabled: controlsDisabled })), showFilters && showDeviceTypeFilter && (_jsx(FilterSelect, { label: t.deviceType, allLabel: t.allDeviceTypes, options: deviceTypeOptions, value: selectedDeviceType, onChange: setSelectedDeviceType, disabled: controlsDisabled })), showFilters && showCapabilityFilter && (_jsx(CapabilityFilter, { capabilities: capabilityOptions.map((option) => option.value), selected: selectedCapabilities, onChange: setSelectedCapabilities, disabled: controlsDisabled }))] })] })), !isLoading && !isError && availableDeviceModels.length > 0 && (_jsx(CapabilityLegend, {})), _jsx(AccessoryCatalog, { slugs: accessorySlugs, children: content })] }));
128
158
  }
129
159
  function LoadingRows() {
130
- return (_jsx("div", { className: 'seam-supported-devices-sections', "aria-busy": 'true', children: _jsxs("section", { className: 'seam-supported-devices-section', children: [_jsxs("div", { className: 'seam-supported-devices-section-header', children: [_jsx("div", { className: 'seam-ecosystem-skeleton seam-supported-devices-logo' }), _jsx("div", { className: 'seam-ecosystem-skeleton seam-ecosystem-skeleton-line-short' })] }), _jsx("ul", { className: 'seam-supported-devices-rows', children: Array.from({ length: 3 }, (_, index) => (_jsxs("li", { className: 'seam-supported-devices-row', children: [_jsx("div", { className: 'seam-ecosystem-skeleton seam-supported-devices-image' }), _jsxs("div", { className: 'seam-supported-devices-info', children: [_jsx("div", { className: 'seam-ecosystem-skeleton seam-ecosystem-skeleton-line' }), _jsx("div", { className: 'seam-ecosystem-skeleton seam-ecosystem-skeleton-line-short' })] })] }, index))) })] }) }));
160
+ return _jsx(StateMessage, { role: 'status', children: "Loading supported devices\u2026" });
131
161
  }
132
- const normalizeSlug = (value) => {
133
- const slug = value?.trim();
134
- if (slug == null || slug.length === 0)
135
- return null;
136
- return slug;
162
+ const normalizeSlug = (slug) => {
163
+ const value = slug?.trim();
164
+ return value == null || value.length === 0 ? null : value;
137
165
  };
138
166
  const getScopedManufacturerName = (slug, manufacturer, fallback) => {
139
167
  if (manufacturer != null)
@@ -148,11 +176,6 @@ const t = {
148
176
  allManufacturers: 'All manufacturers',
149
177
  deviceType: 'Device type',
150
178
  allDeviceTypes: 'All device types',
151
- capability: 'Feature',
152
- allCapabilities: 'All features',
153
- featureStatus: 'Feature status',
154
- supported: 'Supported',
155
- requiresSetup: 'Requires setup · expand details',
156
179
  error: 'An error occurred while loading supported devices.',
157
180
  retry: 'Retry',
158
181
  noDevices: 'No supported devices found.',
@@ -1 +1 @@
1
- {"version":3,"file":"SupportedDevices.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDevices/SupportedDevices.tsx"],"names":[],"mappings":";AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAA;AAChF,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,mCAAmC,EACnC,+BAA+B,EAC/B,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,uDAAuD,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,sDAAsD,CAAA;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAA;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAE7E,OAAO,EAAE,gCAAgC,EAAE,MAAM,4DAA4D,CAAA;AAC7G,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAA;AAC7F,OAAO,EAAE,gCA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6BAA6B;IACxC,SAAS,EAAE,0CAA0C;IACrD,YAAY,EAAE,eAAe;CAC9B,CAAA"}
1
+ {"version":3,"file":"SupportedDevices.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDevices/SupportedDevices.tsx"],"names":[],"mappings":";AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3D,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,mCAAmC,EACnC,+BAA+B,EAC/B,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,uDAAuD,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,sDAAsD,CAAA;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAA;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAE7E,OAAO,EAAE,gCAAgC,EAAE,MAAM,4DAA4D,CAAA;AAC7G,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAA;AAC7F,OAAO,EAAE,gCAAgC,EAAE,MAAM,2DAA2D,CAAA;AAC5G,OAAO,EACL,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,gDAAgD,CAAA;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAC/D,OAAO,EAEL,0BAA0B,GAC3B,MAAM,2BAA2B,CAAA;AAElC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gB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O;IACd,SAAS,EAAE,6BAA6B;IACxC,SAAS,EAAE,0CAA0C;IACrD,YAAY,EAAE,eAAe;CAC9B,CAAA"}
@@ -0,0 +1,34 @@
1
+ import type { DeviceAsset, DeviceModelSummary, ProviderRef, ProviderRequirements } from '../../../../lib/seam/ecosystem/types.js';
2
+ export interface Capability {
3
+ name: string;
4
+ label: string;
5
+ messages: string[];
6
+ }
7
+ export interface PresentedDevice {
8
+ source: DeviceModelSummary;
9
+ name: string;
10
+ capabilities: Capability[];
11
+ requirements: Array<{
12
+ message: string;
13
+ capabilities: string[];
14
+ deviceSlugs?: string[];
15
+ }>;
16
+ providers: PresentedProvider[];
17
+ }
18
+ interface PresentedProvider extends ProviderRef {
19
+ logos?: DeviceAsset[];
20
+ primary: boolean;
21
+ integrationStatus: 'supported' | 'unsupported' | 'unknown';
22
+ capabilities: Capability[];
23
+ requirements: PresentedDevice['requirements'];
24
+ }
25
+ export type RequirementKind = 'subscription' | 'bridge' | 'keypad' | 'legal' | 'other';
26
+ /** UI aliases for source prose, which can describe more than one prerequisite. */
27
+ export declare function getRequirementKinds(message: string): RequirementKind[];
28
+ export declare function presentDevice(source: DeviceModelSummary, providers?: ProviderRequirements[], allProvidersSource?: DeviceModelSummary, primaryProvider?: string): PresentedDevice;
29
+ /** Presentation aliases for known requirements; unfamiliar source copy stays explicit. */
30
+ export declare function getRequirementPills(device: Pick<PresentedDevice, 'requirements'>): Array<{
31
+ label: string;
32
+ messages: string[];
33
+ }>;
34
+ export {};
@@ -0,0 +1,142 @@
1
+ import { getCapabilityLabel, getCapabilityRequirementMessages, getDeviceModelName, getSupportedCapabilities, } from '../../../../lib/seam/components/SupportedDevices/device-models.js';
2
+ /** UI aliases for source prose, which can describe more than one prerequisite. */
3
+ export function getRequirementKinds(message) {
4
+ const known = {
5
+ 'A compatible bridge is required.': 'bridge',
6
+ 'An external keypad is required.': 'keypad',
7
+ 'A paying Nuki SmartHosting subscription is required.': 'subscription',
8
+ };
9
+ const kinds = [];
10
+ const knownKind = known[message.trim()];
11
+ if (knownKind != null)
12
+ kinds.push(knownKind);
13
+ if (/\b(?:eula|waiver|end[- ]user licen[cs]e agreement)\b/i.test(message))
14
+ kinds.push('legal');
15
+ if (/\binstall\s+(?:a\s+)?seam\s+bridge\b/i.test(message))
16
+ kinds.push('bridge');
17
+ return kinds.length === 0 ? ['other'] : [...new Set(kinds)];
18
+ }
19
+ export function presentDevice(source, providers = [], allProvidersSource = source, primaryProvider) {
20
+ const capabilities = reviewCapabilities(source);
21
+ const primarySlug = primaryProvider;
22
+ return {
23
+ source,
24
+ name: getDeviceModelName(source),
25
+ capabilities,
26
+ requirements: reviewRequirements(capabilities, source),
27
+ providers: allProvidersSource.providers
28
+ .map((provider) => {
29
+ const details = providers.find((entry) => entry.slug === provider.slug);
30
+ const providerCapabilities = allProvidersSource.capabilities_by_provider.filter((entry) => entry.provider.slug === provider.slug);
31
+ const providerSource = {
32
+ ...allProvidersSource,
33
+ capabilities_by_provider: providerCapabilities,
34
+ };
35
+ const capabilities = reviewCapabilities(providerSource);
36
+ // Provider metadata distinguishes a missing integration from missing
37
+ // device capabilities. Connectivity alone does not imply Seam support.
38
+ const levels = details?.integrations != null && details.integrations.length > 0
39
+ ? details.integrations.map((entry) => entry.integration_support_level)
40
+ : allProvidersSource.capabilities_stale
41
+ ? []
42
+ : providerCapabilities.flatMap((entry) => entry.capabilities
43
+ .filter((capability) => capability.name !== 'device_connectivity')
44
+ .map((capability) => capability.integration_support_level));
45
+ return {
46
+ ...provider,
47
+ display_name: details?.display_name ?? provider.display_name,
48
+ logos: details?.logos,
49
+ primary: provider.slug === primarySlug,
50
+ integrationStatus: getIntegrationStatus(levels),
51
+ capabilities,
52
+ requirements: reviewRequirements(capabilities, providerSource),
53
+ };
54
+ })
55
+ .sort((a, b) => {
56
+ const unsupported = Number(a.integrationStatus === 'unsupported') -
57
+ Number(b.integrationStatus === 'unsupported');
58
+ if (unsupported !== 0)
59
+ return unsupported;
60
+ if (a.primary !== b.primary)
61
+ return a.primary ? -1 : 1;
62
+ return (a.display_name ?? a.slug).localeCompare(b.display_name ?? b.slug);
63
+ }),
64
+ };
65
+ }
66
+ function getIntegrationStatus(levels) {
67
+ if (levels.some((level) => level === 'stable' || level === 'beta'))
68
+ return 'supported';
69
+ if (levels.length === 0 || levels.some((level) => level == null))
70
+ return 'unknown';
71
+ return 'unsupported';
72
+ }
73
+ function reviewCapabilities(source) {
74
+ return getSupportedCapabilities(source)
75
+ .filter((capability) => capability.name !== 'device_connectivity')
76
+ .map((capability) => ({
77
+ name: capability.name,
78
+ label: `${getCapabilityLabel(capability.name)}${capability.integrationSupportLevel === 'beta' ? ' (beta)' : ''}`,
79
+ messages: getCapabilityRequirementMessages(capability),
80
+ }));
81
+ }
82
+ function reviewRequirements(capabilities, source) {
83
+ const requirements = new Map();
84
+ for (const capability of capabilities)
85
+ for (const message of capability.messages)
86
+ requirements.set(message, [
87
+ ...(requirements.get(message) ?? []),
88
+ capability.label,
89
+ ]);
90
+ return [...requirements].map(([message, labels]) => ({
91
+ message,
92
+ capabilities: labels,
93
+ deviceSlugs: [
94
+ ...new Set(source.capabilities_by_provider.flatMap(({ capabilities: rawCapabilities }) => rawCapabilities
95
+ .filter((capability) => capabilities.some((supported) => supported.name === capability.name &&
96
+ supported.messages.includes(message)))
97
+ .flatMap((capability) => getRequirementDeviceSlugs(capability, rawCapabilities, message)))),
98
+ ],
99
+ }));
100
+ }
101
+ /** Follow capability dependencies within the same model/provider only. */
102
+ function getRequirementDeviceSlugs(capability, capabilities, message, visited = new Set()) {
103
+ if (visited.has(capability.name))
104
+ return [];
105
+ visited.add(capability.name);
106
+ const slugs = Object.values(capability.report?.requirements ?? {})
107
+ .filter((requirement) => requirement.message === message)
108
+ .flatMap((requirement) => requirement.device_slugs ?? []);
109
+ for (const name of capability.report?.dependencies ?? []) {
110
+ const dependency = capabilities.find((entry) => entry.name === name);
111
+ if (dependency != null)
112
+ slugs.push(...getRequirementDeviceSlugs(dependency, capabilities, message, visited));
113
+ }
114
+ return slugs;
115
+ }
116
+ /** Presentation aliases for known requirements; unfamiliar source copy stays explicit. */
117
+ export function getRequirementPills(device) {
118
+ const labels = {
119
+ bridge: 'Accessories Required',
120
+ keypad: 'Accessories Required',
121
+ subscription: 'Subscription Required',
122
+ legal: 'Legal Requirements',
123
+ other: 'Other Requirements',
124
+ };
125
+ const groups = new Map();
126
+ for (const { message } of device.requirements) {
127
+ for (const kind of getRequirementKinds(message)) {
128
+ const label = labels[kind];
129
+ groups.set(label, [...(groups.get(label) ?? []), message]);
130
+ }
131
+ }
132
+ return [
133
+ 'Accessories Required',
134
+ 'Subscription Required',
135
+ 'Legal Requirements',
136
+ 'Other Requirements',
137
+ ].flatMap((label) => {
138
+ const messages = groups.get(label);
139
+ return messages == null ? [] : [{ label, messages }];
140
+ });
141
+ }
142
+ //# sourceMappingURL=presentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDevices/presentation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,gCAAgC,EAChC,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,uDAAuD,CAAA;AA2C9D,kFAAkF;AAClF,MAAM,UAAU,mBAAmB,CAAC,OAAe;IACjD,MAAM,KAAK,GAAoC;QAC7C,kCAAkC,EAAE,QAAQ;QAC5C,iCAAiC,EAAE,QAAQ;QAC3C,sDAAsD,EAAE,cAAc;KACvE,CAAA;IACD,MAAM,KAAK,GAAsB,EAAE,CAAA;IACnC,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAA;IACvC,IAAI,SAAS,IAAI,IAAI;QAAE,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IAC5C,IAAI,uDAAuD,CAAC,IAAI,CAAC,OAAO,CAAC;QACvE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACrB,IAAI,uCAAuC,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C,OAAO,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAA;IACtD,CAAC,CAAC,CAAA;AACJ,CAAC"}
@@ -136,10 +136,14 @@ export interface ProviderRef {
136
136
  slug: string;
137
137
  display_name: string | null;
138
138
  }
139
- /** Fields used from the public `providers/list` response to recover legacy report text. */
139
+ /** Fields used from public `providers/list` for branding, support, and report text. */
140
140
  export interface ProviderRequirements extends ProviderRef {
141
141
  has_requirements: boolean | null;
142
142
  requirements_md: string | null;
143
+ logos?: DeviceAsset[];
144
+ integrations?: Array<{
145
+ integration_support_level: IntegrationSupportLevel | null;
146
+ }>;
143
147
  }
144
148
  export type CapabilityName = 'device_connectivity' | 'can_program_online_access_codes' | 'can_program_offline_access_codes' | 'can_remotely_unlock' | 'can_remotely_lock' | 'can_encode_plastic_cards' | 'can_assign_plastic_cards' | 'can_provision_mobile_keys' | 'can_provision_wallet_keys' | 'can_hvac_cool' | 'can_hvac_heat' | 'can_hvac_auto' | 'can_hvac_fan' | 'can_program_thermostat_weekly_programs' | 'can_monitor';
145
149
  export type CapabilitySupported = 'yes' | 'no' | 'conditionally';
@@ -1,11 +1,14 @@
1
1
  import type { DeviceModelSummary } from '../../../lib/seam/ecosystem/types.js';
2
2
  import type { UseEcosystemDeviceModelsParams } from '../../../lib/seam/ecosystem/use-ecosystem-device-models.js';
3
3
  import { type UseEcosystemQueryResult } from '../../../lib/seam/ecosystem/use-ecosystem-query-result.js';
4
- export type UseEcosystemDeviceModelSummariesParams = UseEcosystemDeviceModelsParams;
4
+ export type UseEcosystemDeviceModelSummariesParams = UseEcosystemDeviceModelsParams & {
5
+ /** Fetch specific models, including accessories from other manufacturers. */
6
+ slugs?: string[] | undefined;
7
+ };
5
8
  export type UseEcosystemDeviceModelSummariesData = DeviceModelSummary[];
6
9
  /**
7
10
  * Published device models in the slim summary shape from Ecosystem
8
11
  * `GET /v1/device_models/summaries/list` (no commerce data),
9
12
  * following pagination to return every matching model.
10
13
  */
11
- export declare function useEcosystemDeviceModelSummaries({ manufacturer, deviceType, provider, capability, enabled, }?: UseEcosystemDeviceModelSummariesParams): UseEcosystemQueryResult<'deviceModels', UseEcosystemDeviceModelSummariesData>;
14
+ export declare function useEcosystemDeviceModelSummaries({ manufacturer, deviceType, provider, capability, slugs, enabled, }?: UseEcosystemDeviceModelSummariesParams): UseEcosystemQueryResult<'deviceModels', UseEcosystemDeviceModelSummariesData>;
@@ -9,13 +9,16 @@ const maxPages = 20;
9
9
  * `GET /v1/device_models/summaries/list` (no commerce data),
10
10
  * following pagination to return every matching model.
11
11
  */
12
- export function useEcosystemDeviceModelSummaries({ manufacturer = '', deviceType = '', provider = '', capability = '', enabled = true, } = {}) {
12
+ export function useEcosystemDeviceModelSummaries({ manufacturer = '', deviceType = '', provider = '', capability = '', slugs = [], enabled = true, } = {}) {
13
13
  const { embedKey, endpoint } = useEcosystemContext();
14
14
  const params = {
15
15
  manufacturer: manufacturer.trim(),
16
16
  device_type: deviceType.trim(),
17
17
  provider: provider.trim(),
18
18
  capability: capability.trim(),
19
+ slugs: [
20
+ ...new Set(slugs.map((slug) => slug.trim()).filter(Boolean)),
21
+ ].sort(),
19
22
  };
20
23
  const { data, ...rest } = useQuery({
21
24
  enabled,
@@ -1 +1 @@
1
- {"version":3,"file":"use-ecosystem-device-model-summaries.js","sourceRoot":"","sources":["../../../src/lib/seam/ecosystem/use-ecosystem-device-model-summaries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAEhD,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAM7E,OAAO,EACL,mBAAmB,GAEpB,MAAM,kDAAkD,CAAA;AAOzD,MAAM,QAAQ,GAAG,GAAG,CAAA;AACpB,MAAM,QAAQ,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E,GACpE,GAAG,CAAC,UAAU,CAAA;gBAChB,IAAI,CAAC,WAAW;oBAAE,OAAO,YAAY,CAAA;gBACrC,IAAI,cAAc,IAAI,IAAI,IAAI,cAAc,KAAK,UAAU,EAAE,CAAC;oBAC5D,MAAM,IAAI,iBAAiB,CAAC;wBAC1B,MAAM,EAAE,GAAG;wBACX,IAAI,EAAE,uBAAuB;wBAC7B,OAAO,EAAE,qDAAqD;qBAC/D,CAAC,CAAA;gBACJ,CAAC;gBACD,UAAU,GAAG,cAAc,CAAA;YAC7B,CAAC;YACD,MAAM,IAAI,iBAAiB,CAAC;gBAC1B,MAAM,EAAE,GAAG;gBACX,IAAI,EAAE,uBAAuB;gBAC7B,OAAO,EAAE,4DAA4D;aACtE,CAAC,CAAA;QACJ,CAAC;QACD,KAAK,EAAE,mBAAmB;KAC3B,CAAC,CAAA;IAEF,OAAO,EAAE,GAAG,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAA;AACxC,CAAC"}
1
+ {"version":3,"file":"use-ecosystem-device-model-summaries.js","sourceRoot":"","sources":["../../../src/lib/seam/ecosystem/use-ecosystem-device-model-summaries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAEhD,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAM7E,OAAO,EACL,mBAAmB,GAEpB,MAAM,kDAAkD,CAAA;AAUzD,MAAM,QAAQ,GAAG,GAAG,CAAA;AACpB,MAAM,QAAQ,GAAG,EAAE,CAAA;AAEnB;;;;GAIG;AACH,MAAM,UAAU,gCAAgC,CAAC,EAC/C,YAAY,GAAG,EAAE,EACjB,UAAU,GAAG,EAAE,EACf,QAAQ,GAAG,EAAE,EACb,UAAU,GAAG,EAAE,EACf,KAAK,GAAG,EAAE,EACV,OAAO,GAAG,IAAI,MAC4B,EAAE;IAI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AG,CAAC,UAAU,CAAA;gBAChB,IAAI,CAAC,WAAW;oBAAE,OAAO,YAAY,CAAA;gBACrC,IAAI,cAAc,IAAI,IAAI,IAAI,cAAc,KAAK,UAAU,EAAE,CAAC;oBAC5D,MAAM,IAAI,iBAAiB,CAAC;wBAC1B,MAAM,EAAE,GAAG;wBACX,IAAI,EAAE,uBAAuB;wBAC7B,OAAO,EAAE,qDAAqD;qBAC/D,CAAC,CAAA;gBACJ,CAAC;gBACD,UAAU,GAAG,cAAc,CAAA;YAC7B,CAAC;YACD,MAAM,IAAI,iBAAiB,CAAC;gBAC1B,MAAM,EAAE,GAAG;gBACX,IAAI,EAAE,uBAAuB;gBAC7B,OAAO,EAAE,4DAA4D;aACtE,CAAC,CAAA;QACJ,CAAC;QACD,KAAK,EAAE,mBAAmB;KAC3B,CAAC,CAAA;IAEF,OAAO,EAAE,GAAG,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAA;AACxC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { ProviderRequirements } from '../../../lib/seam/ecosystem/types.js';
2
2
  import { type UseEcosystemQueryResult } from '../../../lib/seam/ecosystem/use-ecosystem-query-result.js';
3
- /** Only fetch providers whose legacy capability reports lost their free-text requirement. */
3
+ /** Fetch provider branding, integration status, and legacy free-text requirements. */
4
4
  export declare function useEcosystemProviderRequirements(slugs: string[]): UseEcosystemQueryResult<'providers', ProviderRequirements[]>;
@@ -2,7 +2,7 @@ import { useQuery } from '@tanstack/react-query';
2
2
  import { EcosystemApiError, fetchEcosystem } from '../../../lib/seam/ecosystem/client.js';
3
3
  import { useEcosystemContext } from '../../../lib/seam/ecosystem/EcosystemProvider.js';
4
4
  import { retryEcosystemQuery, } from '../../../lib/seam/ecosystem/use-ecosystem-query-result.js';
5
- /** Only fetch providers whose legacy capability reports lost their free-text requirement. */
5
+ /** Fetch provider branding, integration status, and legacy free-text requirements. */
6
6
  export function useEcosystemProviderRequirements(slugs) {
7
7
  const { endpoint, embedKey } = useEcosystemContext();
8
8
  const sortedSlugs = [...new Set(slugs)].sort();