@shopify/ui-extensions 2026.10.0-rc.9 → 2026.10.0

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 (329) hide show
  1. package/build/cjs/surfaces/customer-account/preact/authenticated-account.js +1 -1
  2. package/build/cjs/surfaces/point-of-sale/events.js +39 -22
  3. package/build/cjs/surfaces/point-of-sale/pos-list-template.js +339 -0
  4. package/build/cjs/surfaces/point-of-sale.js +2 -0
  5. package/build/esm/surfaces/customer-account/preact/authenticated-account.mjs +1 -1
  6. package/build/esm/surfaces/point-of-sale/events.mjs +39 -22
  7. package/build/esm/surfaces/point-of-sale/pos-list-template.mjs +331 -0
  8. package/build/esm/surfaces/point-of-sale.mjs +1 -0
  9. package/build/esnext/surfaces/customer-account/preact/authenticated-account.esnext +1 -1
  10. package/build/esnext/surfaces/point-of-sale/events.esnext +39 -22
  11. package/build/esnext/surfaces/point-of-sale/pos-list-template.esnext +331 -0
  12. package/build/esnext/surfaces/point-of-sale.esnext +1 -0
  13. package/build/ts/shared.d.ts +6 -20
  14. package/build/ts/shared.d.ts.map +1 -1
  15. package/build/ts/surfaces/admin/api/picker/picker.d.ts +2 -2
  16. package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
  17. package/build/ts/surfaces/admin/components/AdminAction.d.ts +2 -2
  18. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
  19. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +2 -2
  20. package/build/ts/surfaces/admin/components/AppNav.d.ts +1 -1
  21. package/build/ts/surfaces/admin/components/Avatar.d.ts +1 -1
  22. package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
  23. package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
  24. package/build/ts/surfaces/admin/components/Box.d.ts +1 -1
  25. package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
  26. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +1 -1
  27. package/build/ts/surfaces/admin/components/Checkbox.d.ts +3 -3
  28. package/build/ts/surfaces/admin/components/Chip.d.ts +1 -1
  29. package/build/ts/surfaces/admin/components/Choice.d.ts +3 -3
  30. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +3 -3
  31. package/build/ts/surfaces/admin/components/Clickable.d.ts +1 -1
  32. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +1 -1
  33. package/build/ts/surfaces/admin/components/ColorField.d.ts +1 -1
  34. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +1 -1
  35. package/build/ts/surfaces/admin/components/DateField.d.ts +1 -1
  36. package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
  37. package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
  38. package/build/ts/surfaces/admin/components/DropZone.d.ts +1 -1
  39. package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
  40. package/build/ts/surfaces/admin/components/EmptyState.d.ts +1 -1
  41. package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
  42. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +1 -1
  43. package/build/ts/surfaces/admin/components/Grid.d.ts +1 -1
  44. package/build/ts/surfaces/admin/components/GridItem.d.ts +1 -1
  45. package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
  46. package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
  47. package/build/ts/surfaces/admin/components/Image.d.ts +1 -1
  48. package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
  49. package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
  50. package/build/ts/surfaces/admin/components/Menu.d.ts +1 -1
  51. package/build/ts/surfaces/admin/components/Modal.d.ts +1 -1
  52. package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -1
  53. package/build/ts/surfaces/admin/components/Number.d.ts +1 -1
  54. package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -1
  55. package/build/ts/surfaces/admin/components/Option.d.ts +3 -3
  56. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
  57. package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
  58. package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
  59. package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
  60. package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
  61. package/build/ts/surfaces/admin/components/Popover.d.ts +1 -1
  62. package/build/ts/surfaces/admin/components/Progress.d.ts +155 -0
  63. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
  64. package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
  65. package/build/ts/surfaces/admin/components/Section.d.ts +11 -3
  66. package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
  67. package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
  68. package/build/ts/surfaces/admin/components/Stack.d.ts +1 -1
  69. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
  70. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  71. package/build/ts/surfaces/admin/components/Switch.d.ts +3 -3
  72. package/build/ts/surfaces/admin/components/Table.d.ts +1 -1
  73. package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
  74. package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
  75. package/build/ts/surfaces/admin/components/TableHeader.d.ts +1 -1
  76. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  77. package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
  78. package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
  79. package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
  80. package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
  81. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -1
  82. package/build/ts/surfaces/admin/components/Tooltip.d.ts +1 -1
  83. package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
  84. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
  85. package/build/ts/surfaces/admin/components/shared.d.ts +47 -7
  86. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +3 -0
  87. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +3 -0
  88. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-index.action.render.d.ts +3 -0
  89. package/build/ts/surfaces/admin/targets/admin.app.home.render.d.ts +3 -0
  90. package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +3 -0
  91. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +3 -0
  92. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +3 -0
  93. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +3 -0
  94. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +3 -0
  95. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +3 -0
  96. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +3 -0
  97. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +3 -0
  98. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +3 -0
  99. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +3 -0
  100. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +3 -0
  101. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +3 -0
  102. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +3 -0
  103. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +3 -0
  104. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +3 -0
  105. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +3 -0
  106. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +3 -0
  107. package/build/ts/surfaces/admin/targets/admin.discount-index.selection-action.render.d.ts +3 -0
  108. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +3 -0
  109. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +3 -0
  110. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +3 -0
  111. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +3 -0
  112. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +3 -0
  113. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +3 -0
  114. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +3 -0
  115. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +3 -0
  116. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +3 -0
  117. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +3 -0
  118. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +3 -0
  119. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +3 -0
  120. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +3 -0
  121. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +3 -0
  122. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +3 -0
  123. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +3 -0
  124. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +3 -0
  125. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +3 -0
  126. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +3 -0
  127. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +3 -0
  128. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +3 -0
  129. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +3 -0
  130. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +3 -0
  131. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +3 -0
  132. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +3 -0
  133. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +3 -0
  134. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +3 -0
  135. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +3 -0
  136. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +3 -0
  137. package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts +7 -0
  138. package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts.map +1 -1
  139. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +8 -1
  140. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts.map +1 -1
  141. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +2 -2
  142. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
  143. package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts +7 -0
  144. package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
  145. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +15 -4
  146. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  147. package/build/ts/surfaces/checkout/api/shared.d.ts +102 -1
  148. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  149. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +8 -2
  150. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  151. package/build/ts/surfaces/checkout/components/MoneyField.d.ts +3 -1
  152. package/build/ts/surfaces/checkout/components/NumberField.d.ts +3 -1
  153. package/build/ts/surfaces/checkout/components/components-shared.d.ts +1 -1
  154. package/build/ts/surfaces/checkout/preact/country.d.ts +1 -1
  155. package/build/ts/surfaces/checkout/preact/country.d.ts.map +1 -1
  156. package/build/ts/surfaces/checkout.d.ts +2 -2
  157. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  158. package/build/ts/surfaces/customer-account/api/shared.d.ts +26 -7
  159. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  160. package/build/ts/surfaces/customer-account/api.d.ts +1 -1
  161. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
  162. package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +3 -1
  163. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +3 -1
  164. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1 -1
  165. package/build/ts/surfaces/customer-account/preact/authenticated-account.d.ts +3 -3
  166. package/build/ts/surfaces/customer-account/preact/authenticated-account.d.ts.map +1 -1
  167. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +13 -0
  168. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
  169. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +4 -0
  170. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -1
  171. package/build/ts/surfaces/point-of-sale/api/docs.d.ts +7 -0
  172. package/build/ts/surfaces/point-of-sale/api/docs.d.ts.map +1 -1
  173. package/build/ts/surfaces/point-of-sale/api/extension-api/extension-api.d.ts +25 -5
  174. package/build/ts/surfaces/point-of-sale/api/extension-api/extension-api.d.ts.map +1 -1
  175. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +19 -7
  176. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
  177. package/build/ts/surfaces/point-of-sale/api/resolution-api/resolution-api.d.ts +28 -3
  178. package/build/ts/surfaces/point-of-sale/api/resolution-api/resolution-api.d.ts.map +1 -1
  179. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +1 -1
  180. package/build/ts/surfaces/point-of-sale/api.d.ts +2 -2
  181. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  182. package/build/ts/surfaces/point-of-sale/components/POSList.d.ts +179 -0
  183. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +1 -1
  184. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
  185. package/build/ts/surfaces/point-of-sale/components/targets/ResolutionComponents.d.ts +1 -1
  186. package/build/ts/surfaces/point-of-sale/components/targets/ResolutionComponents.d.ts.map +1 -1
  187. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +1 -1
  188. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
  189. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +12 -1
  190. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
  191. package/build/ts/surfaces/point-of-sale/event/data.d.ts +1 -1
  192. package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -1
  193. package/build/ts/surfaces/point-of-sale/events/scan-event.d.ts +34 -0
  194. package/build/ts/surfaces/point-of-sale/events/scan-event.d.ts.map +1 -0
  195. package/build/ts/surfaces/point-of-sale/events.d.ts +58 -28
  196. package/build/ts/surfaces/point-of-sale/events.d.ts.map +1 -1
  197. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +4 -4
  198. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
  199. package/build/ts/surfaces/point-of-sale/globals.d.ts +0 -2
  200. package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -1
  201. package/build/ts/surfaces/point-of-sale/pos-list-template.d.ts +36 -0
  202. package/build/ts/surfaces/point-of-sale/pos-list-template.d.ts.map +1 -0
  203. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +1 -0
  204. package/build/ts/surfaces/point-of-sale/targets/pos.cart.validations.resolution.render.d.ts +1 -0
  205. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +1 -0
  206. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +1 -0
  207. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +1 -0
  208. package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +1 -0
  209. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +1 -0
  210. package/build/ts/surfaces/point-of-sale/targets/pos.payment.validations.resolution.render.d.ts +1 -0
  211. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +1 -0
  212. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +1 -0
  213. package/build/ts/surfaces/point-of-sale/targets/pos.register-details.action.render.d.ts +1 -0
  214. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +1 -0
  215. package/build/ts/surfaces/point-of-sale/types/session.d.ts +0 -6
  216. package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
  217. package/build/ts/surfaces/point-of-sale.d.ts +1 -0
  218. package/build/ts/surfaces/point-of-sale.d.ts.map +1 -1
  219. package/build/tsconfig.tsbuildinfo +1 -1
  220. package/package.json +2 -1
  221. package/src/shared.ts +22 -21
  222. package/src/surfaces/admin/api/picker/picker.ts +5 -2
  223. package/src/surfaces/admin/components/AdminAction.d.ts +2 -2
  224. package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
  225. package/src/surfaces/admin/components/AdminPrintAction.d.ts +2 -2
  226. package/src/surfaces/admin/components/AppNav.d.ts +1 -1
  227. package/src/surfaces/admin/components/Avatar.d.ts +1 -1
  228. package/src/surfaces/admin/components/Badge.d.ts +1 -1
  229. package/src/surfaces/admin/components/Banner.d.ts +1 -1
  230. package/src/surfaces/admin/components/Box.d.ts +1 -1
  231. package/src/surfaces/admin/components/Button.d.ts +1 -1
  232. package/src/surfaces/admin/components/ButtonGroup.d.ts +1 -1
  233. package/src/surfaces/admin/components/Checkbox.d.ts +3 -3
  234. package/src/surfaces/admin/components/Chip.d.ts +1 -1
  235. package/src/surfaces/admin/components/Choice.d.ts +3 -3
  236. package/src/surfaces/admin/components/ChoiceList.d.ts +3 -3
  237. package/src/surfaces/admin/components/Clickable.d.ts +1 -1
  238. package/src/surfaces/admin/components/ClickableChip.d.ts +1 -1
  239. package/src/surfaces/admin/components/ColorField.d.ts +1 -1
  240. package/src/surfaces/admin/components/ColorPicker.d.ts +1 -1
  241. package/src/surfaces/admin/components/DateField.d.ts +1 -1
  242. package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
  243. package/src/surfaces/admin/components/Divider.d.ts +1 -1
  244. package/src/surfaces/admin/components/DropZone.d.ts +1 -1
  245. package/src/surfaces/admin/components/EmailField.d.ts +1 -1
  246. package/src/surfaces/admin/components/EmptyState.d.ts +1 -1
  247. package/src/surfaces/admin/components/Form.d.ts +1 -1
  248. package/src/surfaces/admin/components/FunctionSettings.d.ts +1 -1
  249. package/src/surfaces/admin/components/Grid.d.ts +1 -1
  250. package/src/surfaces/admin/components/GridItem.d.ts +1 -1
  251. package/src/surfaces/admin/components/Heading.d.ts +1 -1
  252. package/src/surfaces/admin/components/Icon.d.ts +1 -1
  253. package/src/surfaces/admin/components/Image.d.ts +1 -1
  254. package/src/surfaces/admin/components/Link.d.ts +1 -1
  255. package/src/surfaces/admin/components/ListItem.d.ts +1 -1
  256. package/src/surfaces/admin/components/Menu.d.ts +1 -1
  257. package/src/surfaces/admin/components/Modal.d.ts +1 -1
  258. package/src/surfaces/admin/components/MoneyField.d.ts +1 -1
  259. package/src/surfaces/admin/components/Number.d.ts +1 -1
  260. package/src/surfaces/admin/components/NumberField.d.ts +1 -1
  261. package/src/surfaces/admin/components/Option.d.ts +3 -3
  262. package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
  263. package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
  264. package/src/surfaces/admin/components/Page.d.ts +1 -1
  265. package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
  266. package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
  267. package/src/surfaces/admin/components/Popover.d.ts +1 -1
  268. package/src/surfaces/admin/components/Progress.d.ts +155 -0
  269. package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
  270. package/src/surfaces/admin/components/SearchField.d.ts +1 -1
  271. package/src/surfaces/admin/components/Section.d.ts +11 -3
  272. package/src/surfaces/admin/components/Select.d.ts +1 -1
  273. package/src/surfaces/admin/components/Spinner.d.ts +1 -1
  274. package/src/surfaces/admin/components/Stack.d.ts +1 -1
  275. package/src/surfaces/admin/components/StandardComponents.ts +3 -0
  276. package/src/surfaces/admin/components/Switch.d.ts +3 -3
  277. package/src/surfaces/admin/components/Table.d.ts +1 -1
  278. package/src/surfaces/admin/components/TableBody.d.ts +1 -1
  279. package/src/surfaces/admin/components/TableCell.d.ts +1 -1
  280. package/src/surfaces/admin/components/TableHeader.d.ts +1 -1
  281. package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  282. package/src/surfaces/admin/components/TableRow.d.ts +1 -1
  283. package/src/surfaces/admin/components/Text.d.ts +1 -1
  284. package/src/surfaces/admin/components/TextArea.d.ts +1 -1
  285. package/src/surfaces/admin/components/TextField.d.ts +1 -1
  286. package/src/surfaces/admin/components/Thumbnail.d.ts +1 -1
  287. package/src/surfaces/admin/components/Tooltip.d.ts +1 -1
  288. package/src/surfaces/admin/components/URLField.d.ts +1 -1
  289. package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
  290. package/src/surfaces/admin/components/shared.d.ts +47 -7
  291. package/src/surfaces/admin/components.d.ts +8216 -2635
  292. package/src/surfaces/checkout/api/address-autocomplete/format-suggestion.ts +9 -0
  293. package/src/surfaces/checkout/api/address-autocomplete/shared.ts +9 -0
  294. package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -2
  295. package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +8 -0
  296. package/src/surfaces/checkout/api/checkout/checkout.ts +19 -9
  297. package/src/surfaces/checkout/api/shared.ts +110 -1
  298. package/src/surfaces/checkout/api/standard/standard.ts +11 -1
  299. package/src/surfaces/checkout/components/MoneyField.d.ts +3 -1
  300. package/src/surfaces/checkout/components/NumberField.d.ts +3 -1
  301. package/src/surfaces/checkout/components/components-shared.d.ts +1 -1
  302. package/src/surfaces/checkout/preact/country.ts +1 -1
  303. package/src/surfaces/checkout.ts +3 -0
  304. package/src/surfaces/customer-account/api/shared.ts +25 -7
  305. package/src/surfaces/customer-account/api.ts +1 -0
  306. package/src/surfaces/customer-account/preact/authenticated-account.ts +3 -3
  307. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +14 -0
  308. package/src/surfaces/point-of-sale/api/device-api/device-api.ts +4 -0
  309. package/src/surfaces/point-of-sale/api/docs.ts +8 -0
  310. package/src/surfaces/point-of-sale/api/extension-api/extension-api.ts +25 -5
  311. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +22 -7
  312. package/src/surfaces/point-of-sale/api/resolution-api/resolution-api.ts +30 -3
  313. package/src/surfaces/point-of-sale/api/session-api/session-api.ts +1 -1
  314. package/src/surfaces/point-of-sale/api.ts +2 -0
  315. package/src/surfaces/point-of-sale/components/POSList.d.ts +179 -0
  316. package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +0 -4
  317. package/src/surfaces/point-of-sale/components/targets/ResolutionComponents.ts +1 -1
  318. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +1 -3
  319. package/src/surfaces/point-of-sale/components.d.ts +194 -0
  320. package/src/surfaces/point-of-sale/event/data/BaseData.ts +13 -1
  321. package/src/surfaces/point-of-sale/event/data.ts +1 -1
  322. package/src/surfaces/point-of-sale/events/scan-event.ts +34 -0
  323. package/src/surfaces/point-of-sale/events.ts +58 -27
  324. package/src/surfaces/point-of-sale/extension-targets.ts +4 -4
  325. package/src/surfaces/point-of-sale/globals.ts +0 -2
  326. package/src/surfaces/point-of-sale/pos-list-template.ts +351 -0
  327. package/src/surfaces/point-of-sale/tests/pos-list-template.test.ts +306 -0
  328. package/src/surfaces/point-of-sale/types/session.ts +0 -7
  329. package/src/surfaces/point-of-sale.ts +1 -0
@@ -0,0 +1,331 @@
1
+ import htm from 'htm';
2
+
3
+ /**
4
+ * The tagged template that compiles `<s-pos-list-item>` markup into the
5
+ * `itemTemplates` value `<s-pos-list>` accepts. Templates are static: the
6
+ * result contains no functions. Compilation and validation happen when the
7
+ * helper executes, not during the extension build. Define templates at module
8
+ * scope to compile once per module execution.
9
+ * Invalid templates throw synchronously and return no partial collection.
10
+ * An uncaught module-scope exception aborts module evaluation; catch the helper
11
+ * invocation to recover explicitly. There is no automatic list-only fallback.
12
+ *
13
+ * @publicDocs
14
+ */
15
+
16
+ const ITEM_TAG = 's-pos-list-item';
17
+ const LIST_TAG = 's-pos-list';
18
+ const PATH_PATTERN = /^[\w.]+$/;
19
+ const EVENT_PROP_PATTERN = /^on/i;
20
+ const BIND_PREFIX = 'bind:';
21
+ /** `{{#if path}}`, `{{/if}}`, or `{{path}}`; anything else inside `{{ }}` is unsupported. */
22
+ const EXPRESSION_PATTERN = /\{\{\s*(?:#if\s+([\w.]+)|(\/if)|([\w.]+))\s*\}\}/g;
23
+ const ANY_EXPRESSION_PATTERN = /\{\{([\s\S]*?)\}\}/g;
24
+ function fail(message) {
25
+ throw new Error(`posListTemplate: ${message}`);
26
+ }
27
+ function isRawElement(value) {
28
+ return typeof value === 'object' && value !== null && 'tag' in value && 'props' in value && 'children' in value;
29
+ }
30
+ function createRawElement(type, props, ...children) {
31
+ if (typeof type !== 'string') {
32
+ fail('interpolated values are not supported; templates must be static');
33
+ }
34
+ return {
35
+ tag: type,
36
+ props: props !== null && props !== void 0 ? props : {},
37
+ children
38
+ };
39
+ }
40
+ const parse = htm.bind(createRawElement);
41
+
42
+ /**
43
+ * Splits a string into literal and `{{path}}` segments. Used for attribute
44
+ * values, where block expressions have no meaning.
45
+ */
46
+ function parseSegments(value) {
47
+ const segments = [];
48
+ let lastIndex = 0;
49
+ for (const match of value.matchAll(ANY_EXPRESSION_PATTERN)) {
50
+ var _match$index;
51
+ const expression = match[1].trim();
52
+ if (!PATH_PATTERN.test(expression)) {
53
+ if (expression.startsWith('#if') || expression === '/if') {
54
+ fail(`{{#if}} is not supported inside an attribute value: "${match[0]}"`);
55
+ }
56
+ fail(`unsupported template expression "${match[0]}"`);
57
+ }
58
+ const index = (_match$index = match.index) !== null && _match$index !== void 0 ? _match$index : 0;
59
+ if (index > lastIndex) {
60
+ segments.push(value.slice(lastIndex, index));
61
+ }
62
+ segments.push({
63
+ path: expression
64
+ });
65
+ lastIndex = index + match[0].length;
66
+ }
67
+ if (lastIndex < value.length) {
68
+ segments.push(value.slice(lastIndex));
69
+ }
70
+ return segments;
71
+ }
72
+ function tokenizeText(value, tokens) {
73
+ let lastIndex = 0;
74
+ for (const match of value.matchAll(ANY_EXPRESSION_PATTERN)) {
75
+ var _match$index2;
76
+ const index = (_match$index2 = match.index) !== null && _match$index2 !== void 0 ? _match$index2 : 0;
77
+ if (index > lastIndex) {
78
+ tokens.push({
79
+ kind: 'text',
80
+ value: value.slice(lastIndex, index)
81
+ });
82
+ }
83
+ EXPRESSION_PATTERN.lastIndex = 0;
84
+ const expression = EXPRESSION_PATTERN.exec(match[0]);
85
+ if (expression === null || expression[0].length !== match[0].length) {
86
+ fail(`unsupported template expression "${match[0]}"`);
87
+ }
88
+ const [, ifPath, endIf, path] = expression;
89
+ if (ifPath !== undefined) {
90
+ tokens.push({
91
+ kind: 'if',
92
+ path: ifPath
93
+ });
94
+ } else if (endIf !== undefined) {
95
+ tokens.push({
96
+ kind: 'endif'
97
+ });
98
+ } else if (path !== undefined) {
99
+ tokens.push({
100
+ kind: 'path',
101
+ path
102
+ });
103
+ }
104
+ lastIndex = index + match[0].length;
105
+ }
106
+ if (lastIndex < value.length) {
107
+ tokens.push({
108
+ kind: 'text',
109
+ value: value.slice(lastIndex)
110
+ });
111
+ }
112
+ }
113
+ function tokenize(rawChildren) {
114
+ const tokens = [];
115
+ for (const child of rawChildren.flat()) {
116
+ if (typeof child === 'string') {
117
+ if (child.trim().length > 0) {
118
+ tokenizeText(child, tokens);
119
+ }
120
+ } else if (isRawElement(child)) {
121
+ tokens.push({
122
+ kind: 'element',
123
+ element: child
124
+ });
125
+ } else if (child !== null && child !== undefined && child !== false) {
126
+ fail('interpolated values are not supported; templates must be static');
127
+ }
128
+ }
129
+ return tokens;
130
+ }
131
+ function compileProp(name, value, props) {
132
+ const isBinding = name.startsWith(BIND_PREFIX);
133
+ const propName = isBinding ? name.slice(BIND_PREFIX.length) : name;
134
+ if (EVENT_PROP_PATTERN.test(propName)) {
135
+ fail(`event handlers are not supported in templates; use onRowClick on <${LIST_TAG}>`);
136
+ }
137
+ if (isBinding) {
138
+ if (typeof value !== 'string' || !PATH_PATTERN.test(value)) {
139
+ fail(`${name} must name a row field path`);
140
+ }
141
+ if (propName in props) {
142
+ fail(`"${propName}" is set both as an attribute and through ${name}`);
143
+ }
144
+ props[propName] = {
145
+ kind: 'field',
146
+ path: value
147
+ };
148
+ return;
149
+ }
150
+ if (typeof value === 'string') {
151
+ props[name] = value.includes('{{') ? {
152
+ kind: 'segments',
153
+ segments: parseSegments(value)
154
+ } : {
155
+ kind: 'literal',
156
+ value
157
+ };
158
+ return;
159
+ }
160
+ if (typeof value === 'boolean') {
161
+ props[name] = {
162
+ kind: 'literal',
163
+ value
164
+ };
165
+ return;
166
+ }
167
+ fail('interpolated values are not supported; templates must be static');
168
+ }
169
+ function compileElement(element, parentIfPath) {
170
+ if (element.tag === ITEM_TAG || element.tag === LIST_TAG) {
171
+ fail(`<${element.tag}> can only appear as a template root`);
172
+ }
173
+ const props = {};
174
+ // Plain attributes first so `bind:` can detect a collision with one.
175
+ const entries = Object.entries(element.props);
176
+ for (const [name, value] of entries) {
177
+ if (!name.startsWith(BIND_PREFIX)) {
178
+ compileProp(name, value, props);
179
+ }
180
+ }
181
+ for (const [name, value] of entries) {
182
+ if (name.startsWith(BIND_PREFIX)) {
183
+ compileProp(name, value, props);
184
+ }
185
+ }
186
+ const node = {
187
+ kind: 'element',
188
+ tag: element.tag,
189
+ props
190
+ };
191
+ const children = compileChildren(element.children, false, parentIfPath);
192
+ if (children.length > 0) {
193
+ node.children = children;
194
+ }
195
+ return node;
196
+ }
197
+ function compileChildren(rawChildren, atRoot, parentIfPath) {
198
+ var _openIf$path2, _openIf2;
199
+ const nodes = [];
200
+ let pendingText = [];
201
+ let openIf;
202
+ const target = () => openIf ? openIf.children : nodes;
203
+ const flushText = () => {
204
+ if (pendingText.length === 0) {
205
+ return;
206
+ }
207
+ if (atRoot) {
208
+ fail('text must be inside a component such as <s-text>');
209
+ }
210
+ target().push({
211
+ kind: 'text',
212
+ segments: pendingText
213
+ });
214
+ pendingText = [];
215
+ };
216
+ for (const token of tokenize(rawChildren)) {
217
+ switch (token.kind) {
218
+ case 'text':
219
+ pendingText.push(token.value);
220
+ break;
221
+ case 'path':
222
+ pendingText.push({
223
+ path: token.path
224
+ });
225
+ break;
226
+ case 'if':
227
+ {
228
+ var _openIf$path, _openIf;
229
+ flushText();
230
+ const enclosingIfPath = (_openIf$path = (_openIf = openIf) === null || _openIf === void 0 ? void 0 : _openIf.path) !== null && _openIf$path !== void 0 ? _openIf$path : parentIfPath;
231
+ if (enclosingIfPath !== undefined) {
232
+ fail(`{{#if}} cannot be nested: {{#if ${token.path}}} inside {{#if ${enclosingIfPath}}}`);
233
+ }
234
+ openIf = {
235
+ path: token.path,
236
+ children: []
237
+ };
238
+ break;
239
+ }
240
+ case 'endif':
241
+ flushText();
242
+ if (!openIf) {
243
+ fail('{{/if}} without a matching {{#if}}');
244
+ }
245
+ nodes.push({
246
+ kind: 'if',
247
+ path: openIf.path,
248
+ children: openIf.children
249
+ });
250
+ openIf = undefined;
251
+ break;
252
+ case 'element':
253
+ flushText();
254
+ target().push(compileElement(token.element, (_openIf$path2 = (_openIf2 = openIf) === null || _openIf2 === void 0 ? void 0 : _openIf2.path) !== null && _openIf$path2 !== void 0 ? _openIf$path2 : parentIfPath));
255
+ break;
256
+ }
257
+ }
258
+ flushText();
259
+ if (openIf) {
260
+ fail(`{{#if ${openIf.path}}} is missing its {{/if}}`);
261
+ }
262
+ return nodes;
263
+ }
264
+ function compileRoot(root, seen) {
265
+ if (!isRawElement(root) || root.tag !== ITEM_TAG) {
266
+ fail(`every template root must be an <${ITEM_TAG} templateId="…"> element`);
267
+ }
268
+ let templateId;
269
+ let type = 'button';
270
+ for (const [name, value] of Object.entries(root.props)) {
271
+ if (name === 'templateId') {
272
+ if (typeof value !== 'string' || value.length === 0) {
273
+ fail(`<${ITEM_TAG}> requires a literal, non-empty templateId`);
274
+ }
275
+ templateId = value;
276
+ } else if (name === 'type') {
277
+ if (value !== 'button' && value !== 'text') {
278
+ fail(`<${ITEM_TAG}> type must be "button" or "text", got ${JSON.stringify(value)}`);
279
+ }
280
+ type = value;
281
+ } else {
282
+ fail(`<${ITEM_TAG}> does not accept a "${name}" attribute; only templateId and type are allowed`);
283
+ }
284
+ }
285
+ if (templateId === undefined) {
286
+ fail(`<${ITEM_TAG}> requires a literal, non-empty templateId`);
287
+ }
288
+ if (seen.has(templateId)) {
289
+ fail(`duplicate templateId "${templateId}"`);
290
+ }
291
+ seen.add(templateId);
292
+ return {
293
+ templateId,
294
+ type,
295
+ children: compileChildren(root.children, true)
296
+ };
297
+ }
298
+
299
+ /**
300
+ * Compiles `<s-pos-list-item>` markup into the `itemTemplates` value for
301
+ * `<s-pos-list>`.
302
+ *
303
+ * Compilation and validation happen when this helper executes, not during the
304
+ * extension build. Define templates at module scope to compile once per module
305
+ * execution.
306
+ * Invalid templates throw synchronously and return no partial collection.
307
+ * An uncaught module-scope exception aborts module evaluation; catch the helper
308
+ * invocation to recover explicitly. There is no automatic list-only fallback.
309
+ *
310
+ * Inside a template, `{{path}}` interpolates a row field as text, `bind:prop="path"`
311
+ * passes a row field to a component prop with its own type, and
312
+ * `{{#if path}}…{{/if}}` renders its content only when the field is truthy.
313
+ * Event handlers, interpolated values, and any other `{{…}}` expression are
314
+ * rejected when the template is compiled.
315
+ *
316
+ * @publicDocs
317
+ */
318
+ const posListTemplate = (strings, ...values) => {
319
+ if (values.length > 0) {
320
+ fail('interpolated values are not supported; templates must be static');
321
+ }
322
+ const parsed = parse(strings);
323
+ const roots = Array.isArray(parsed) ? parsed : [parsed];
324
+ const seen = new Set();
325
+ const templates = roots.filter(root => !(typeof root === 'string' && root.trim().length === 0)).map(root => compileRoot(root, seen));
326
+ return {
327
+ templates
328
+ };
329
+ };
330
+
331
+ export { posListTemplate };
@@ -1,2 +1,3 @@
1
1
  export { POS_EVENT_NAMES, POS_INTERCEPT_NAMES } from './point-of-sale/events.esnext';
2
+ export { posListTemplate } from './point-of-sale/pos-list-template.esnext';
2
3
  export { StorageError } from './point-of-sale/types/storage.esnext';
@@ -22,16 +22,13 @@ export type CurrencyCode = 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS'
22
22
  export type Timezone = 'Africa/Abidjan' | 'Africa/Algiers' | 'Africa/Bissau' | 'Africa/Cairo' | 'Africa/Casablanca' | 'Africa/Ceuta' | 'Africa/El_Aaiun' | 'Africa/Johannesburg' | 'Africa/Juba' | 'Africa/Khartoum' | 'Africa/Lagos' | 'Africa/Maputo' | 'Africa/Monrovia' | 'Africa/Nairobi' | 'Africa/Ndjamena' | 'Africa/Sao_Tome' | 'Africa/Tripoli' | 'Africa/Tunis' | 'Africa/Windhoek' | 'America/Adak' | 'America/Anchorage' | 'America/Araguaina' | 'America/Argentina/Buenos_Aires' | 'America/Argentina/Catamarca' | 'America/Argentina/Cordoba' | 'America/Argentina/Jujuy' | 'America/Argentina/La_Rioja' | 'America/Argentina/Mendoza' | 'America/Argentina/Rio_Gallegos' | 'America/Argentina/Salta' | 'America/Argentina/San_Juan' | 'America/Argentina/San_Luis' | 'America/Argentina/Tucuman' | 'America/Argentina/Ushuaia' | 'America/Asuncion' | 'America/Bahia' | 'America/Bahia_Banderas' | 'America/Barbados' | 'America/Belem' | 'America/Belize' | 'America/Boa_Vista' | 'America/Bogota' | 'America/Boise' | 'America/Cambridge_Bay' | 'America/Campo_Grande' | 'America/Cancun' | 'America/Caracas' | 'America/Cayenne' | 'America/Chicago' | 'America/Chihuahua' | 'America/Costa_Rica' | 'America/Cuiaba' | 'America/Danmarkshavn' | 'America/Dawson' | 'America/Dawson_Creek' | 'America/Denver' | 'America/Detroit' | 'America/Edmonton' | 'America/Eirunepe' | 'America/El_Salvador' | 'America/Fort_Nelson' | 'America/Fortaleza' | 'America/Glace_Bay' | 'America/Goose_Bay' | 'America/Grand_Turk' | 'America/Guatemala' | 'America/Guayaquil' | 'America/Guyana' | 'America/Halifax' | 'America/Havana' | 'America/Hermosillo' | 'America/Indiana/Indianapolis' | 'America/Indiana/Knox' | 'America/Indiana/Marengo' | 'America/Indiana/Petersburg' | 'America/Indiana/Tell_City' | 'America/Indiana/Vevay' | 'America/Indiana/Vincennes' | 'America/Indiana/Winamac' | 'America/Inuvik' | 'America/Iqaluit' | 'America/Jamaica' | 'America/Juneau' | 'America/Kentucky/Louisville' | 'America/Kentucky/Monticello' | 'America/La_Paz' | 'America/Lima' | 'America/Los_Angeles' | 'America/Maceio' | 'America/Managua' | 'America/Manaus' | 'America/Martinique' | 'America/Matamoros' | 'America/Mazatlan' | 'America/Menominee' | 'America/Merida' | 'America/Metlakatla' | 'America/Mexico_City' | 'America/Miquelon' | 'America/Moncton' | 'America/Monterrey' | 'America/Montevideo' | 'America/New_York' | 'America/Nipigon' | 'America/Nome' | 'America/Noronha' | 'America/North_Dakota/Beulah' | 'America/North_Dakota/Center' | 'America/North_Dakota/New_Salem' | 'America/Nuuk' | 'America/Ojinaga' | 'America/Panama' | 'America/Pangnirtung' | 'America/Paramaribo' | 'America/Phoenix' | 'America/Port-au-Prince' | 'America/Porto_Velho' | 'America/Puerto_Rico' | 'America/Punta_Arenas' | 'America/Rainy_River' | 'America/Rankin_Inlet' | 'America/Recife' | 'America/Regina' | 'America/Resolute' | 'America/Rio_Branco' | 'America/Santarem' | 'America/Santiago' | 'America/Santo_Domingo' | 'America/Sao_Paulo' | 'America/Scoresbysund' | 'America/Sitka' | 'America/St_Johns' | 'America/Swift_Current' | 'America/Tegucigalpa' | 'America/Thule' | 'America/Thunder_Bay' | 'America/Tijuana' | 'America/Toronto' | 'America/Vancouver' | 'America/Whitehorse' | 'America/Winnipeg' | 'America/Yakutat' | 'America/Yellowknife' | 'Antarctica/Casey' | 'Antarctica/Davis' | 'Antarctica/Macquarie' | 'Antarctica/Mawson' | 'Antarctica/Palmer' | 'Antarctica/Rothera' | 'Antarctica/Troll' | 'Antarctica/Vostok' | 'Asia/Almaty' | 'Asia/Amman' | 'Asia/Anadyr' | 'Asia/Aqtau' | 'Asia/Aqtobe' | 'Asia/Ashgabat' | 'Asia/Atyrau' | 'Asia/Baghdad' | 'Asia/Baku' | 'Asia/Bangkok' | 'Asia/Barnaul' | 'Asia/Beirut' | 'Asia/Bishkek' | 'Asia/Brunei' | 'Asia/Chita' | 'Asia/Choibalsan' | 'Asia/Colombo' | 'Asia/Damascus' | 'Asia/Dhaka' | 'Asia/Dili' | 'Asia/Dubai' | 'Asia/Dushanbe' | 'Asia/Famagusta' | 'Asia/Gaza' | 'Asia/Hebron' | 'Asia/Ho_Chi_Minh' | 'Asia/Hong_Kong' | 'Asia/Hovd' | 'Asia/Irkutsk' | 'Asia/Jakarta' | 'Asia/Jayapura' | 'Asia/Jerusalem' | 'Asia/Kabul' | 'Asia/Kamchatka' | 'Asia/Karachi' | 'Asia/Kathmandu' | 'Asia/Khandyga' | 'Asia/Kolkata' | 'Asia/Krasnoyarsk' | 'Asia/Kuala_Lumpur' | 'Asia/Kuching' | 'Asia/Macau' | 'Asia/Magadan' | 'Asia/Makassar' | 'Asia/Manila' | 'Asia/Nicosia' | 'Asia/Novokuznetsk' | 'Asia/Novosibirsk' | 'Asia/Omsk' | 'Asia/Oral' | 'Asia/Pontianak' | 'Asia/Pyongyang' | 'Asia/Qatar' | 'Asia/Qostanay' | 'Asia/Qyzylorda' | 'Asia/Riyadh' | 'Asia/Sakhalin' | 'Asia/Samarkand' | 'Asia/Seoul' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Srednekolymsk' | 'Asia/Taipei' | 'Asia/Tashkent' | 'Asia/Tbilisi' | 'Asia/Tehran' | 'Asia/Thimphu' | 'Asia/Tokyo' | 'Asia/Tomsk' | 'Asia/Ulaanbaatar' | 'Asia/Urumqi' | 'Asia/Ust-Nera' | 'Asia/Vladivostok' | 'Asia/Yakutsk' | 'Asia/Yangon' | 'Asia/Yekaterinburg' | 'Asia/Yerevan' | 'Atlantic/Azores' | 'Atlantic/Bermuda' | 'Atlantic/Canary' | 'Atlantic/Cape_Verde' | 'Atlantic/Faroe' | 'Atlantic/Madeira' | 'Atlantic/Reykjavik' | 'Atlantic/South_Georgia' | 'Atlantic/Stanley' | 'Australia/Adelaide' | 'Australia/Brisbane' | 'Australia/Broken_Hill' | 'Australia/Darwin' | 'Australia/Eucla' | 'Australia/Hobart' | 'Australia/Lindeman' | 'Australia/Lord_Howe' | 'Australia/Melbourne' | 'Australia/Perth' | 'Australia/Sydney' | 'CET' | 'CST6CDT' | 'EET' | 'EST' | 'EST5EDT' | 'Etc/GMT' | 'Etc/GMT-1' | 'Etc/GMT-10' | 'Etc/GMT-11' | 'Etc/GMT-12' | 'Etc/GMT-13' | 'Etc/GMT-14' | 'Etc/GMT-2' | 'Etc/GMT-3' | 'Etc/GMT-4' | 'Etc/GMT-5' | 'Etc/GMT-6' | 'Etc/GMT-7' | 'Etc/GMT-8' | 'Etc/GMT-9' | 'Etc/GMT+1' | 'Etc/GMT+10' | 'Etc/GMT+11' | 'Etc/GMT+12' | 'Etc/GMT+2' | 'Etc/GMT+3' | 'Etc/GMT+4' | 'Etc/GMT+5' | 'Etc/GMT+6' | 'Etc/GMT+7' | 'Etc/GMT+8' | 'Etc/GMT+9' | 'Etc/UTC' | 'Europe/Amsterdam' | 'Europe/Andorra' | 'Europe/Astrakhan' | 'Europe/Athens' | 'Europe/Belgrade' | 'Europe/Berlin' | 'Europe/Brussels' | 'Europe/Bucharest' | 'Europe/Budapest' | 'Europe/Chisinau' | 'Europe/Copenhagen' | 'Europe/Dublin' | 'Europe/Gibraltar' | 'Europe/Helsinki' | 'Europe/Istanbul' | 'Europe/Kaliningrad' | 'Europe/Kiev' | 'Europe/Kirov' | 'Europe/Lisbon' | 'Europe/London' | 'Europe/Luxembourg' | 'Europe/Madrid' | 'Europe/Malta' | 'Europe/Minsk' | 'Europe/Monaco' | 'Europe/Moscow' | 'Europe/Oslo' | 'Europe/Paris' | 'Europe/Prague' | 'Europe/Riga' | 'Europe/Rome' | 'Europe/Samara' | 'Europe/Saratov' | 'Europe/Simferopol' | 'Europe/Sofia' | 'Europe/Stockholm' | 'Europe/Tallinn' | 'Europe/Tirane' | 'Europe/Ulyanovsk' | 'Europe/Uzhgorod' | 'Europe/Vienna' | 'Europe/Vilnius' | 'Europe/Volgograd' | 'Europe/Warsaw' | 'Europe/Zaporozhye' | 'Europe/Zurich' | 'HST' | 'Indian/Chagos' | 'Indian/Christmas' | 'Indian/Cocos' | 'Indian/Kerguelen' | 'Indian/Mahe' | 'Indian/Maldives' | 'Indian/Mauritius' | 'Indian/Reunion' | 'MET' | 'MST' | 'MST7MDT' | 'Pacific/Apia' | 'Pacific/Auckland' | 'Pacific/Bougainville' | 'Pacific/Chatham' | 'Pacific/Chuuk' | 'Pacific/Easter' | 'Pacific/Efate' | 'Pacific/Fakaofo' | 'Pacific/Fiji' | 'Pacific/Funafuti' | 'Pacific/Galapagos' | 'Pacific/Gambier' | 'Pacific/Guadalcanal' | 'Pacific/Guam' | 'Pacific/Honolulu' | 'Pacific/Kanton' | 'Pacific/Kiritimati' | 'Pacific/Kosrae' | 'Pacific/Kwajalein' | 'Pacific/Majuro' | 'Pacific/Marquesas' | 'Pacific/Nauru' | 'Pacific/Niue' | 'Pacific/Norfolk' | 'Pacific/Noumea' | 'Pacific/Pago_Pago' | 'Pacific/Palau' | 'Pacific/Pitcairn' | 'Pacific/Pohnpei' | 'Pacific/Port_Moresby' | 'Pacific/Rarotonga' | 'Pacific/Tahiti' | 'Pacific/Tarawa' | 'Pacific/Tongatapu' | 'Pacific/Wake' | 'Pacific/Wallis' | 'PST8PDT' | 'WET';
23
23
  export type CountryCode = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AN' | 'AO' | 'AR' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PS' | 'PT' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'ZZ';
24
24
  /**
25
- * A buyer's country, identified by its ISO country code.
25
+ * An address input a country's address format carries. Flat fields
26
+ * (`address1`, `city`, `zip`, …) are written on the change's `address`; line
27
+ * components (`streetName`, `streetNumber`, `additionalInformation`,
28
+ * `district`, `subdistrict`) are written inside `addressLineComponents`, and
29
+ * are rejected as unknown properties if sent at the top level.
26
30
  */
27
- export interface Country {
28
- /**
29
- * The two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
30
- *
31
- * @example 'CA' for Canada, 'US' for United States.
32
- */
33
- isoCode: CountryCode;
34
- }
31
+ export type AcceptedAddressInputField = 'additionalInformation' | 'address1' | 'address2' | 'addressCode' | 'city' | 'company' | 'countryCode' | 'district' | 'firstName' | 'lastName' | 'phone' | 'provinceCode' | 'streetName' | 'streetNumber' | 'subdistrict' | 'zip';
35
32
  /**
36
33
  * A union of keys for the localized fields that are required by certain countries.
37
34
  */
@@ -40,17 +37,6 @@ export type LocalizedFieldKey = 'SHIPPING_CREDENTIAL_BR' | 'SHIPPING_CREDENTIAL_
40
37
  * The supported Storefront API versions. Pass one of these values to `query()` to target a specific API version when querying the Storefront GraphQL API.
41
38
  */
42
39
  export type StorefrontApiVersion = '2022-04' | '2022-07' | '2022-10' | '2023-01' | '2023-04' | '2023-07' | '2024-01' | '2024-04' | '2024-07' | '2024-10' | '2025-01' | '2025-04' | 'unstable' | '2025-07' | '2025-10' | '2026-01' | '2026-04' | '2026-07' | '2026-10';
43
- /**
44
- * A buyer's country, identified by its ISO country code.
45
- */
46
- export interface Country {
47
- /**
48
- * The two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
49
- *
50
- * @example 'CA' for Canada, 'US' for United States.
51
- */
52
- isoCode: CountryCode;
53
- }
54
40
  /**
55
41
  * An error returned by the Storefront GraphQL API. Contains a human-readable `message` and an `extensions` object with the request ID and error code for debugging.
56
42
  */
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/shared.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,CAAC;AAEd;;;;;;;;;;;;;;GAcG;AAEH,MAAM,MAAM,UAAU,GAClB,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,qCAAqC,GACrC,wCAAwC,GACxC,gBAAgB,CAAC;AAGrB,MAAM,MAAM,YAAY,GACpB,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,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ACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK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B;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;CAC/C;AAED;;GAEG;AACH,KAAK,MAAM,CAAC,CAAC,IACT;IAAC,OAAO,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,CAAC,CAAA;CAAC,GACzB;IAAC,OAAO,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAAC,CAAC;AAEhD;;GAEG;AACH,UAAU,eAAe;IACvB,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,EAAE,CAAC;KAChB,EAAE,CAAC;CACL;AAED;;;GAGG;AACH,MAAM,MAAM,oBAAoB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC"}
@@ -54,7 +54,7 @@ export type Tone = 'info' | 'success' | 'warning' | 'critical';
54
54
  * The progress state for picker badges showing completion status. Use this to indicate how complete an item is: `'incomplete'` for not started, `'partiallyComplete'` for in progress, or `'complete'` for finished.
55
55
  * @publicDocs
56
56
  */
57
- export type Progress = 'incomplete' | 'partiallyComplete' | 'complete';
57
+ export type PickerBadgeProgress = 'incomplete' | 'partiallyComplete' | 'complete';
58
58
  /**
59
59
  * A single data point that can appear in a picker table cell. Can be text, a number, or undefined if the cell should be empty.
60
60
  * @publicDocs
@@ -70,7 +70,7 @@ export interface PickerBadge {
70
70
  /** The visual tone indicating status or importance. Choose a tone that matches the badge's meaning. */
71
71
  tone?: Tone;
72
72
  /** The progress indicator for the badge. Use this to show completion status for items that have progress states. */
73
- progress?: Progress;
73
+ progress?: PickerBadgeProgress;
74
74
  }
75
75
  /**
76
76
  * An individual item that merchants can select in the picker. Each item appears as a row in the picker table.
@@ -1 +1 @@
1
- {"version":3,"file":"picker.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/picker/picker.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;CACzC;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,IAAI,EAAE,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,YAAY,GAAG,mBAAmB,GAAG,UAAU,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AACpD;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,qHAAqH;IACrH,OAAO,EAAE,MAAM,CAAC;IAChB,uGAAuG;IACvG,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,oHAAoH;IACpH,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE;QAAC,GAAG,EAAE,MAAM,CAAA;KAAC,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"picker.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/picker/picker.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;CACzC;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,IAAI,EAAE,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAC3B,YAAY,GACZ,mBAAmB,GACnB,UAAU,CAAC;AAEf;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AACpD;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,qHAAqH;IACrH,OAAO,EAAE,MAAM,CAAC;IAChB,uGAAuG;IACvG,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,oHAAoH;IACpH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE;QAAC,GAAG,EAAE,MAAM,CAAA;KAAC,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -26,7 +26,7 @@ export interface AdminActionProps
26
26
  *
27
27
  * @default false
28
28
  */
29
- loading: AdminActionProps$1['loading'];
29
+ loading?: AdminActionProps$1['loading'];
30
30
  }
31
31
 
32
32
  export type ReactIntrinsicElementChildren<PreactProps extends object> =
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -20,11 +20,11 @@ export interface AdminBlockProps
20
20
  /**
21
21
  * The text displayed as the block's title in the header. If not provided, the extension name will be used.
22
22
  */
23
- heading: AdminBlockProps$1['heading'];
23
+ heading?: AdminBlockProps$1['heading'];
24
24
  /**
25
25
  * The summary text displayed when the app block is collapsed. Summaries longer than 30 characters will be truncated.
26
26
  */
27
- collapsedSummary: AdminBlockProps$1['collapsedSummary'];
27
+ collapsedSummary?: AdminBlockProps$1['collapsedSummary'];
28
28
  }
29
29
 
30
30
  declare const tagName = 's-admin-block';
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -21,7 +21,7 @@ export interface AdminPrintActionProps
21
21
  * The URL of the document to preview and print. Supports HTML, PDF, and image formats.
22
22
  * If not provided, the preview will show an empty state and the print button will be disabled.
23
23
  */
24
- src: AdminPrintActionProps$1['src'];
24
+ src?: AdminPrintActionProps$1['src'];
25
25
  }
26
26
 
27
27
  declare const tagName = 's-admin-print-action';
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -163,7 +163,7 @@ export interface PreactCheckboxProps
163
163
  >
164
164
  > {
165
165
  /**
166
- * The value used in form data when the checkbox is checked.
166
+ * The value used in form data when the control is checked.
167
167
  */
168
168
  value: Required<CheckboxProps$1>['value'];
169
169
  }
@@ -175,7 +175,7 @@ declare class PreactCheckboxElement
175
175
  get checked(): boolean;
176
176
  set checked(checked: PreactCheckboxProps['checked']);
177
177
  /**
178
- * The value used in form data when the checkbox is checked.
178
+ * The value used in form data when the control is checked.
179
179
  */
180
180
  get value(): string;
181
181
  set value(value: string);
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -113,7 +113,7 @@ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
113
113
  */
114
114
  declare class Choice extends PolarisCustomElement implements ChoiceProps {
115
115
  /**
116
- * Whether the checkbox is disabled, preventing user interaction. Disabled checkboxes appear dimmed and their values aren't submitted with forms.
116
+ * Whether the control is disabled, preventing user interaction. Disabled controls appear dimmed and their values aren't submitted with forms.
117
117
  */
118
118
  accessor disabled: ChoiceProps['disabled'];
119
119
  /**
@@ -125,7 +125,7 @@ declare class Choice extends PolarisCustomElement implements ChoiceProps {
125
125
  */
126
126
  set selected(selected: ChoiceProps['selected']);
127
127
  /**
128
- * The value submitted with the form when this checkbox is checked. If not specified, the default value is "on".
128
+ * The value submitted with the form when this control is selected. If not specified, the default value is "on".
129
129
  */
130
130
  accessor value: ChoiceProps['value'];
131
131
  /**