snice 4.24.0 → 4.25.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 (512) hide show
  1. package/README.md +4 -39
  2. package/bin/mcp-server.js +32 -0
  3. package/dist/cdn/accordion/snice-accordion.js +2 -2
  4. package/dist/cdn/accordion/snice-accordion.min.js +2 -2
  5. package/dist/cdn/activity-feed/snice-activity-feed.js +3 -3
  6. package/dist/cdn/activity-feed/snice-activity-feed.js.map +1 -1
  7. package/dist/cdn/activity-feed/snice-activity-feed.min.js +3 -3
  8. package/dist/cdn/activity-feed/snice-activity-feed.min.js.map +1 -1
  9. package/dist/cdn/alert/snice-alert.js +8 -4
  10. package/dist/cdn/alert/snice-alert.js.map +1 -1
  11. package/dist/cdn/alert/snice-alert.min.js +2 -2
  12. package/dist/cdn/alert/snice-alert.min.js.map +1 -1
  13. package/dist/cdn/app-tiles/snice-app-tiles.js +2 -2
  14. package/dist/cdn/app-tiles/snice-app-tiles.min.js +2 -2
  15. package/dist/cdn/approval-flow/snice-approval-flow.js +3 -3
  16. package/dist/cdn/approval-flow/snice-approval-flow.js.map +1 -1
  17. package/dist/cdn/approval-flow/snice-approval-flow.min.js +3 -3
  18. package/dist/cdn/approval-flow/snice-approval-flow.min.js.map +1 -1
  19. package/dist/cdn/audio-recorder/README.md +1 -1
  20. package/dist/cdn/audio-recorder/snice-audio-recorder.js +2 -2
  21. package/dist/cdn/audio-recorder/snice-audio-recorder.min.js +2 -2
  22. package/dist/cdn/availability/snice-availability.js +2 -2
  23. package/dist/cdn/availability/snice-availability.min.js +2 -2
  24. package/dist/cdn/avatar/snice-avatar.js +2 -2
  25. package/dist/cdn/avatar/snice-avatar.min.js +2 -2
  26. package/dist/cdn/avatar-group/snice-avatar-group.js +3 -3
  27. package/dist/cdn/avatar-group/snice-avatar-group.js.map +1 -1
  28. package/dist/cdn/avatar-group/snice-avatar-group.min.js +16 -16
  29. package/dist/cdn/avatar-group/snice-avatar-group.min.js.map +1 -1
  30. package/dist/cdn/badge/snice-badge.js +2 -2
  31. package/dist/cdn/badge/snice-badge.min.js +2 -2
  32. package/dist/cdn/banner/snice-banner.js +9 -5
  33. package/dist/cdn/banner/snice-banner.js.map +1 -1
  34. package/dist/cdn/banner/snice-banner.min.js +3 -3
  35. package/dist/cdn/banner/snice-banner.min.js.map +1 -1
  36. package/dist/cdn/book/snice-book.js +2 -2
  37. package/dist/cdn/book/snice-book.min.js +2 -2
  38. package/dist/cdn/booking/snice-booking.js +2 -2
  39. package/dist/cdn/booking/snice-booking.min.js +2 -2
  40. package/dist/cdn/breadcrumbs/snice-breadcrumbs.js +8 -4
  41. package/dist/cdn/breadcrumbs/snice-breadcrumbs.js.map +1 -1
  42. package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js +2 -2
  43. package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js.map +1 -1
  44. package/dist/cdn/button/snice-button.js +8 -4
  45. package/dist/cdn/button/snice-button.js.map +1 -1
  46. package/dist/cdn/button/snice-button.min.js +2 -2
  47. package/dist/cdn/button/snice-button.min.js.map +1 -1
  48. package/dist/cdn/calendar/snice-calendar.js +2 -2
  49. package/dist/cdn/calendar/snice-calendar.min.js +2 -2
  50. package/dist/cdn/camera/snice-camera.js +2 -2
  51. package/dist/cdn/camera/snice-camera.min.js +2 -2
  52. package/dist/cdn/camera-annotate/snice-camera-annotate.js +2 -2
  53. package/dist/cdn/camera-annotate/snice-camera-annotate.min.js +2 -2
  54. package/dist/cdn/candlestick/snice-candlestick.js +2 -2
  55. package/dist/cdn/candlestick/snice-candlestick.min.js +2 -2
  56. package/dist/cdn/card/README.md +1 -1
  57. package/dist/cdn/card/snice-card.js +2 -2
  58. package/dist/cdn/card/snice-card.min.js +2 -2
  59. package/dist/cdn/carousel/snice-carousel.js +2 -2
  60. package/dist/cdn/carousel/snice-carousel.min.js +2 -2
  61. package/dist/cdn/cart/snice-cart.js +3 -3
  62. package/dist/cdn/cart/snice-cart.js.map +1 -1
  63. package/dist/cdn/cart/snice-cart.min.js +3 -3
  64. package/dist/cdn/cart/snice-cart.min.js.map +1 -1
  65. package/dist/cdn/chart/snice-chart.js +2 -2
  66. package/dist/cdn/chart/snice-chart.min.js +2 -2
  67. package/dist/cdn/chat/snice-chat.js +9 -5
  68. package/dist/cdn/chat/snice-chat.js.map +1 -1
  69. package/dist/cdn/chat/snice-chat.min.js +3 -3
  70. package/dist/cdn/chat/snice-chat.min.js.map +1 -1
  71. package/dist/cdn/checkbox/snice-checkbox.js +2 -2
  72. package/dist/cdn/checkbox/snice-checkbox.min.js +2 -2
  73. package/dist/cdn/chip/README.md +1 -1
  74. package/dist/cdn/chip/snice-chip.js +8 -4
  75. package/dist/cdn/chip/snice-chip.js.map +1 -1
  76. package/dist/cdn/chip/snice-chip.min.js +2 -2
  77. package/dist/cdn/chip/snice-chip.min.js.map +1 -1
  78. package/dist/cdn/code-block/snice-code-block.js +2 -2
  79. package/dist/cdn/code-block/snice-code-block.min.js +2 -2
  80. package/dist/cdn/color-display/snice-color-display.js +3 -3
  81. package/dist/cdn/color-display/snice-color-display.js.map +1 -1
  82. package/dist/cdn/color-display/snice-color-display.min.js +4 -4
  83. package/dist/cdn/color-display/snice-color-display.min.js.map +1 -1
  84. package/dist/cdn/color-picker/snice-color-picker.js +2 -2
  85. package/dist/cdn/color-picker/snice-color-picker.min.js +2 -2
  86. package/dist/cdn/command-palette/README.md +1 -1
  87. package/dist/cdn/command-palette/snice-command-palette.js +2 -2
  88. package/dist/cdn/command-palette/snice-command-palette.min.js +2 -2
  89. package/dist/cdn/comments/snice-comments.js +3 -3
  90. package/dist/cdn/comments/snice-comments.js.map +1 -1
  91. package/dist/cdn/comments/snice-comments.min.js +3 -3
  92. package/dist/cdn/comments/snice-comments.min.js.map +1 -1
  93. package/dist/cdn/countdown/README.md +1 -1
  94. package/dist/cdn/countdown/snice-countdown.js +2 -2
  95. package/dist/cdn/countdown/snice-countdown.min.js +2 -2
  96. package/dist/cdn/cropper/snice-cropper.js +2 -2
  97. package/dist/cdn/cropper/snice-cropper.min.js +2 -2
  98. package/dist/cdn/data-card/snice-data-card.js +3 -3
  99. package/dist/cdn/data-card/snice-data-card.js.map +1 -1
  100. package/dist/cdn/data-card/snice-data-card.min.js +3 -3
  101. package/dist/cdn/data-card/snice-data-card.min.js.map +1 -1
  102. package/dist/cdn/date-picker/snice-date-picker.js +2 -2
  103. package/dist/cdn/date-picker/snice-date-picker.min.js +2 -2
  104. package/dist/cdn/date-time-picker/README.md +2 -2
  105. package/dist/cdn/date-time-picker/snice-date-time-picker.js +2 -2
  106. package/dist/cdn/date-time-picker/snice-date-time-picker.min.js +2 -2
  107. package/dist/cdn/diff/snice-diff.js +2 -2
  108. package/dist/cdn/diff/snice-diff.min.js +2 -2
  109. package/dist/cdn/divider/snice-divider.js +2 -2
  110. package/dist/cdn/divider/snice-divider.min.js +2 -2
  111. package/dist/cdn/doc/snice-doc.js +2 -2
  112. package/dist/cdn/doc/snice-doc.min.js +2 -2
  113. package/dist/cdn/draw/snice-draw.js +2 -2
  114. package/dist/cdn/draw/snice-draw.min.js +2 -2
  115. package/dist/cdn/drawer/README.md +1 -1
  116. package/dist/cdn/drawer/snice-drawer.js +12 -6
  117. package/dist/cdn/drawer/snice-drawer.js.map +1 -1
  118. package/dist/cdn/drawer/snice-drawer.min.js +4 -4
  119. package/dist/cdn/drawer/snice-drawer.min.js.map +1 -1
  120. package/dist/cdn/empty-state/snice-empty-state.js +9 -5
  121. package/dist/cdn/empty-state/snice-empty-state.js.map +1 -1
  122. package/dist/cdn/empty-state/snice-empty-state.min.js +3 -3
  123. package/dist/cdn/empty-state/snice-empty-state.min.js.map +1 -1
  124. package/dist/cdn/estimate/snice-estimate.js +3 -3
  125. package/dist/cdn/estimate/snice-estimate.js.map +1 -1
  126. package/dist/cdn/estimate/snice-estimate.min.js +3 -3
  127. package/dist/cdn/estimate/snice-estimate.min.js.map +1 -1
  128. package/dist/cdn/file-gallery/snice-file-gallery.js +2 -2
  129. package/dist/cdn/file-gallery/snice-file-gallery.min.js +2 -2
  130. package/dist/cdn/file-upload/snice-file-upload.js +3 -3
  131. package/dist/cdn/file-upload/snice-file-upload.js.map +1 -1
  132. package/dist/cdn/file-upload/snice-file-upload.min.js +3 -3
  133. package/dist/cdn/file-upload/snice-file-upload.min.js.map +1 -1
  134. package/dist/cdn/flip-card/snice-flip-card.js +2 -2
  135. package/dist/cdn/flip-card/snice-flip-card.min.js +2 -2
  136. package/dist/cdn/flow/README.md +1 -1
  137. package/dist/cdn/flow/snice-flow.js +2 -2
  138. package/dist/cdn/flow/snice-flow.min.js +2 -2
  139. package/dist/cdn/form-layout/snice-form-layout.js +3 -3
  140. package/dist/cdn/form-layout/snice-form-layout.js.map +1 -1
  141. package/dist/cdn/form-layout/snice-form-layout.min.js +3 -3
  142. package/dist/cdn/form-layout/snice-form-layout.min.js.map +1 -1
  143. package/dist/cdn/funnel/README.md +2 -2
  144. package/dist/cdn/funnel/snice-funnel.js +2 -2
  145. package/dist/cdn/funnel/snice-funnel.min.js +2 -2
  146. package/dist/cdn/gantt/README.md +1 -1
  147. package/dist/cdn/gantt/snice-gantt.js +2 -2
  148. package/dist/cdn/gantt/snice-gantt.min.js +2 -2
  149. package/dist/cdn/gauge/snice-gauge.js +2 -2
  150. package/dist/cdn/gauge/snice-gauge.min.js +2 -2
  151. package/dist/cdn/heatmap/README.md +1 -1
  152. package/dist/cdn/heatmap/snice-heatmap.js +2 -2
  153. package/dist/cdn/heatmap/snice-heatmap.min.js +2 -2
  154. package/dist/cdn/image/snice-image.js +3 -3
  155. package/dist/cdn/image/snice-image.js.map +1 -1
  156. package/dist/cdn/image/snice-image.min.js +3 -3
  157. package/dist/cdn/image/snice-image.min.js.map +1 -1
  158. package/dist/cdn/input/README.md +1 -1
  159. package/dist/cdn/input/snice-input.js +9 -5
  160. package/dist/cdn/input/snice-input.js.map +1 -1
  161. package/dist/cdn/input/snice-input.min.js +3 -3
  162. package/dist/cdn/input/snice-input.min.js.map +1 -1
  163. package/dist/cdn/invoice/snice-invoice.js +3 -3
  164. package/dist/cdn/invoice/snice-invoice.js.map +1 -1
  165. package/dist/cdn/invoice/snice-invoice.min.js +4 -4
  166. package/dist/cdn/invoice/snice-invoice.min.js.map +1 -1
  167. package/dist/cdn/kanban/snice-kanban.js +2 -2
  168. package/dist/cdn/kanban/snice-kanban.min.js +2 -2
  169. package/dist/cdn/key-value/snice-key-value.js +3 -3
  170. package/dist/cdn/key-value/snice-key-value.js.map +1 -1
  171. package/dist/cdn/key-value/snice-key-value.min.js +3 -3
  172. package/dist/cdn/key-value/snice-key-value.min.js.map +1 -1
  173. package/dist/cdn/kpi/snice-kpi.js +3 -3
  174. package/dist/cdn/kpi/snice-kpi.js.map +1 -1
  175. package/dist/cdn/kpi/snice-kpi.min.js +3 -3
  176. package/dist/cdn/kpi/snice-kpi.min.js.map +1 -1
  177. package/dist/cdn/layout/snice-layout.js +3 -3
  178. package/dist/cdn/layout/snice-layout.js.map +1 -1
  179. package/dist/cdn/layout/snice-layout.min.js +3 -3
  180. package/dist/cdn/layout/snice-layout.min.js.map +1 -1
  181. package/dist/cdn/leaderboard/snice-leaderboard.js +3 -3
  182. package/dist/cdn/leaderboard/snice-leaderboard.js.map +1 -1
  183. package/dist/cdn/leaderboard/snice-leaderboard.min.js +3 -3
  184. package/dist/cdn/leaderboard/snice-leaderboard.min.js.map +1 -1
  185. package/dist/cdn/link/snice-link.js +3 -3
  186. package/dist/cdn/link/snice-link.js.map +1 -1
  187. package/dist/cdn/link/snice-link.min.js +3 -3
  188. package/dist/cdn/link/snice-link.min.js.map +1 -1
  189. package/dist/cdn/link-preview/snice-link-preview.js +3 -3
  190. package/dist/cdn/link-preview/snice-link-preview.js.map +1 -1
  191. package/dist/cdn/link-preview/snice-link-preview.min.js +3 -3
  192. package/dist/cdn/link-preview/snice-link-preview.min.js.map +1 -1
  193. package/dist/cdn/list/snice-list.js +10 -6
  194. package/dist/cdn/list/snice-list.js.map +1 -1
  195. package/dist/cdn/list/snice-list.min.js +4 -4
  196. package/dist/cdn/list/snice-list.min.js.map +1 -1
  197. package/dist/cdn/location/snice-location.js +8 -4
  198. package/dist/cdn/location/snice-location.js.map +1 -1
  199. package/dist/cdn/location/snice-location.min.js +2 -2
  200. package/dist/cdn/location/snice-location.min.js.map +1 -1
  201. package/dist/cdn/login/snice-login.js +8 -4
  202. package/dist/cdn/login/snice-login.js.map +1 -1
  203. package/dist/cdn/login/snice-login.min.js +2 -2
  204. package/dist/cdn/login/snice-login.min.js.map +1 -1
  205. package/dist/cdn/map/README.md +1 -1
  206. package/dist/cdn/map/snice-map.js +2 -2
  207. package/dist/cdn/map/snice-map.min.js +2 -2
  208. package/dist/cdn/markdown/snice-markdown.js +2 -2
  209. package/dist/cdn/markdown/snice-markdown.min.js +2 -2
  210. package/dist/cdn/masonry/snice-masonry.js +2 -2
  211. package/dist/cdn/masonry/snice-masonry.min.js +2 -2
  212. package/dist/cdn/menu/snice-menu.js +2 -2
  213. package/dist/cdn/menu/snice-menu.min.js +2 -2
  214. package/dist/cdn/message-strip/snice-message-strip.js +8 -4
  215. package/dist/cdn/message-strip/snice-message-strip.js.map +1 -1
  216. package/dist/cdn/message-strip/snice-message-strip.min.js +2 -2
  217. package/dist/cdn/message-strip/snice-message-strip.min.js.map +1 -1
  218. package/dist/cdn/metric-table/snice-metric-table.js +3 -3
  219. package/dist/cdn/metric-table/snice-metric-table.js.map +1 -1
  220. package/dist/cdn/metric-table/snice-metric-table.min.js +8 -8
  221. package/dist/cdn/metric-table/snice-metric-table.min.js.map +1 -1
  222. package/dist/cdn/modal/README.md +1 -1
  223. package/dist/cdn/modal/snice-modal.js +2 -2
  224. package/dist/cdn/modal/snice-modal.min.js +2 -2
  225. package/dist/cdn/music-player/snice-music-player.js +2 -2
  226. package/dist/cdn/music-player/snice-music-player.min.js +2 -2
  227. package/dist/cdn/nav/snice-nav.js +3 -3
  228. package/dist/cdn/nav/snice-nav.js.map +1 -1
  229. package/dist/cdn/nav/snice-nav.min.js +3 -3
  230. package/dist/cdn/nav/snice-nav.min.js.map +1 -1
  231. package/dist/cdn/network-graph/snice-network-graph.js +2 -2
  232. package/dist/cdn/network-graph/snice-network-graph.min.js +2 -2
  233. package/dist/cdn/notification-center/snice-notification-center.js +9 -5
  234. package/dist/cdn/notification-center/snice-notification-center.js.map +1 -1
  235. package/dist/cdn/notification-center/snice-notification-center.min.js +3 -3
  236. package/dist/cdn/notification-center/snice-notification-center.min.js.map +1 -1
  237. package/dist/cdn/order-tracker/snice-order-tracker.js +3 -3
  238. package/dist/cdn/order-tracker/snice-order-tracker.js.map +1 -1
  239. package/dist/cdn/order-tracker/snice-order-tracker.min.js +3 -3
  240. package/dist/cdn/order-tracker/snice-order-tracker.min.js.map +1 -1
  241. package/dist/cdn/org-chart/README.md +1 -1
  242. package/dist/cdn/org-chart/snice-org-chart.js +2 -2
  243. package/dist/cdn/org-chart/snice-org-chart.min.js +2 -2
  244. package/dist/cdn/pagination/snice-pagination.js +2 -2
  245. package/dist/cdn/pagination/snice-pagination.min.js +2 -2
  246. package/dist/cdn/paint/snice-paint.js +2 -2
  247. package/dist/cdn/paint/snice-paint.min.js +2 -2
  248. package/dist/cdn/pdf-viewer/snice-pdf-viewer.js +2 -2
  249. package/dist/cdn/pdf-viewer/snice-pdf-viewer.min.js +2 -2
  250. package/dist/cdn/permission-matrix/snice-permission-matrix.js +3 -3
  251. package/dist/cdn/permission-matrix/snice-permission-matrix.js.map +1 -1
  252. package/dist/cdn/permission-matrix/snice-permission-matrix.min.js +12 -12
  253. package/dist/cdn/permission-matrix/snice-permission-matrix.min.js.map +1 -1
  254. package/dist/cdn/podcast-player/snice-podcast-player.js +2 -2
  255. package/dist/cdn/podcast-player/snice-podcast-player.min.js +2 -2
  256. package/dist/cdn/pricing-table/README.md +1 -1
  257. package/dist/cdn/pricing-table/snice-pricing-table.js +3 -3
  258. package/dist/cdn/pricing-table/snice-pricing-table.js.map +1 -1
  259. package/dist/cdn/pricing-table/snice-pricing-table.min.js +3 -3
  260. package/dist/cdn/pricing-table/snice-pricing-table.min.js.map +1 -1
  261. package/dist/cdn/product-card/snice-product-card.js +3 -3
  262. package/dist/cdn/product-card/snice-product-card.js.map +1 -1
  263. package/dist/cdn/product-card/snice-product-card.min.js +3 -3
  264. package/dist/cdn/product-card/snice-product-card.min.js.map +1 -1
  265. package/dist/cdn/progress/README.md +1 -1
  266. package/dist/cdn/progress/snice-progress.js +2 -2
  267. package/dist/cdn/progress/snice-progress.min.js +2 -2
  268. package/dist/cdn/progress-ring/snice-progress-ring.js +2 -2
  269. package/dist/cdn/progress-ring/snice-progress-ring.min.js +2 -2
  270. package/dist/cdn/qr-code/snice-qr-code.js +2 -2
  271. package/dist/cdn/qr-code/snice-qr-code.min.js +2 -2
  272. package/dist/cdn/qr-reader/README.md +1 -1
  273. package/dist/cdn/qr-reader/snice-qr-reader.js +2 -2
  274. package/dist/cdn/qr-reader/snice-qr-reader.min.js +2 -2
  275. package/dist/cdn/radio/snice-radio.js +3 -3
  276. package/dist/cdn/radio/snice-radio.js.map +1 -1
  277. package/dist/cdn/radio/snice-radio.min.js +3 -3
  278. package/dist/cdn/radio/snice-radio.min.js.map +1 -1
  279. package/dist/cdn/range-slider/snice-range-slider.js +2 -2
  280. package/dist/cdn/range-slider/snice-range-slider.min.js +2 -2
  281. package/dist/cdn/rating/snice-rating.js +2 -2
  282. package/dist/cdn/rating/snice-rating.min.js +2 -2
  283. package/dist/cdn/receipt/snice-receipt.js +3 -3
  284. package/dist/cdn/receipt/snice-receipt.js.map +1 -1
  285. package/dist/cdn/receipt/snice-receipt.min.js +7 -7
  286. package/dist/cdn/receipt/snice-receipt.min.js.map +1 -1
  287. package/dist/cdn/recipe/snice-recipe.js +3 -3
  288. package/dist/cdn/recipe/snice-recipe.js.map +1 -1
  289. package/dist/cdn/recipe/snice-recipe.min.js +3 -3
  290. package/dist/cdn/recipe/snice-recipe.min.js.map +1 -1
  291. package/dist/cdn/runtime/README.md +1 -1
  292. package/dist/cdn/runtime/snice-runtime.esm.js +8 -8
  293. package/dist/cdn/runtime/snice-runtime.esm.js.map +1 -1
  294. package/dist/cdn/runtime/snice-runtime.esm.min.js +8 -8
  295. package/dist/cdn/runtime/snice-runtime.esm.min.js.map +1 -1
  296. package/dist/cdn/runtime/snice-runtime.js +8 -8
  297. package/dist/cdn/runtime/snice-runtime.js.map +1 -1
  298. package/dist/cdn/runtime/snice-runtime.min.js +8 -8
  299. package/dist/cdn/runtime/snice-runtime.min.js.map +1 -1
  300. package/dist/cdn/sankey/README.md +1 -1
  301. package/dist/cdn/sankey/snice-sankey.js +2 -2
  302. package/dist/cdn/sankey/snice-sankey.min.js +2 -2
  303. package/dist/cdn/segmented-control/snice-segmented-control.js +2 -2
  304. package/dist/cdn/segmented-control/snice-segmented-control.min.js +2 -2
  305. package/dist/cdn/select/snice-select.js +2 -2
  306. package/dist/cdn/select/snice-select.min.js +2 -2
  307. package/dist/cdn/skeleton/snice-skeleton.js +2 -2
  308. package/dist/cdn/skeleton/snice-skeleton.min.js +2 -2
  309. package/dist/cdn/slider/README.md +1 -1
  310. package/dist/cdn/slider/snice-slider.js +2 -2
  311. package/dist/cdn/slider/snice-slider.min.js +2 -2
  312. package/dist/cdn/sortable/README.md +1 -1
  313. package/dist/cdn/sortable/snice-sortable.js +2 -2
  314. package/dist/cdn/sortable/snice-sortable.min.js +2 -2
  315. package/dist/cdn/sparkline/README.md +1 -1
  316. package/dist/cdn/sparkline/snice-sparkline.js +2 -2
  317. package/dist/cdn/sparkline/snice-sparkline.min.js +2 -2
  318. package/dist/cdn/spinner/README.md +2 -2
  319. package/dist/cdn/spinner/snice-spinner.js +2 -2
  320. package/dist/cdn/spinner/snice-spinner.min.js +2 -2
  321. package/dist/cdn/split-button/snice-split-button.js +2 -2
  322. package/dist/cdn/split-button/snice-split-button.min.js +2 -2
  323. package/dist/cdn/split-pane/snice-split-pane.js +2 -2
  324. package/dist/cdn/split-pane/snice-split-pane.min.js +2 -2
  325. package/dist/cdn/spotlight/snice-spotlight.js +2 -2
  326. package/dist/cdn/spotlight/snice-spotlight.min.js +2 -2
  327. package/dist/cdn/spreadsheet/README.md +2 -2
  328. package/dist/cdn/spreadsheet/snice-spreadsheet.js +2 -2
  329. package/dist/cdn/spreadsheet/snice-spreadsheet.min.js +2 -2
  330. package/dist/cdn/stat-group/snice-stat-group.js +3 -3
  331. package/dist/cdn/stat-group/snice-stat-group.js.map +1 -1
  332. package/dist/cdn/stat-group/snice-stat-group.min.js +4 -4
  333. package/dist/cdn/stat-group/snice-stat-group.min.js.map +1 -1
  334. package/dist/cdn/step-input/snice-step-input.js +3 -3
  335. package/dist/cdn/step-input/snice-step-input.js.map +1 -1
  336. package/dist/cdn/step-input/snice-step-input.min.js +3 -3
  337. package/dist/cdn/step-input/snice-step-input.min.js.map +1 -1
  338. package/dist/cdn/stepper/README.md +1 -1
  339. package/dist/cdn/stepper/snice-stepper.js +3 -3
  340. package/dist/cdn/stepper/snice-stepper.js.map +1 -1
  341. package/dist/cdn/stepper/snice-stepper.min.js +4 -4
  342. package/dist/cdn/stepper/snice-stepper.min.js.map +1 -1
  343. package/dist/cdn/switch/snice-switch.js +2 -2
  344. package/dist/cdn/switch/snice-switch.min.js +2 -2
  345. package/dist/cdn/table/README.md +1 -1
  346. package/dist/cdn/table/snice-table.js +9 -5
  347. package/dist/cdn/table/snice-table.js.map +1 -1
  348. package/dist/cdn/table/snice-table.min.js +3 -3
  349. package/dist/cdn/table/snice-table.min.js.map +1 -1
  350. package/dist/cdn/tabs/README.md +1 -1
  351. package/dist/cdn/tabs/snice-tabs.js +2 -2
  352. package/dist/cdn/tabs/snice-tabs.min.js +2 -2
  353. package/dist/cdn/tag/snice-tag.js +2 -2
  354. package/dist/cdn/tag/snice-tag.min.js +2 -2
  355. package/dist/cdn/tag-input/snice-tag-input.js +3 -3
  356. package/dist/cdn/tag-input/snice-tag-input.js.map +1 -1
  357. package/dist/cdn/tag-input/snice-tag-input.min.js +11 -11
  358. package/dist/cdn/tag-input/snice-tag-input.min.js.map +1 -1
  359. package/dist/cdn/terminal/snice-terminal.js +2 -2
  360. package/dist/cdn/terminal/snice-terminal.min.js +2 -2
  361. package/dist/cdn/testimonial/snice-testimonial.js +2 -2
  362. package/dist/cdn/testimonial/snice-testimonial.min.js +2 -2
  363. package/dist/cdn/textarea/README.md +1 -1
  364. package/dist/cdn/textarea/snice-textarea.js +2 -2
  365. package/dist/cdn/textarea/snice-textarea.min.js +2 -2
  366. package/dist/cdn/time-picker/snice-time-picker.js +2 -2
  367. package/dist/cdn/time-picker/snice-time-picker.min.js +2 -2
  368. package/dist/cdn/time-range-picker/snice-time-range-picker.js +3 -3
  369. package/dist/cdn/time-range-picker/snice-time-range-picker.js.map +1 -1
  370. package/dist/cdn/time-range-picker/snice-time-range-picker.min.js +3 -3
  371. package/dist/cdn/time-range-picker/snice-time-range-picker.min.js.map +1 -1
  372. package/dist/cdn/timeline/snice-timeline.js +3 -3
  373. package/dist/cdn/timeline/snice-timeline.js.map +1 -1
  374. package/dist/cdn/timeline/snice-timeline.min.js +4 -4
  375. package/dist/cdn/timeline/snice-timeline.min.js.map +1 -1
  376. package/dist/cdn/timer/snice-timer.js +3 -3
  377. package/dist/cdn/timer/snice-timer.js.map +1 -1
  378. package/dist/cdn/timer/snice-timer.min.js +3 -3
  379. package/dist/cdn/timer/snice-timer.min.js.map +1 -1
  380. package/dist/cdn/toast/snice-toast.js +2 -2
  381. package/dist/cdn/toast/snice-toast.min.js +2 -2
  382. package/dist/cdn/tooltip/snice-tooltip.js +2 -2
  383. package/dist/cdn/tooltip/snice-tooltip.min.js +2 -2
  384. package/dist/cdn/tree/README.md +2 -2
  385. package/dist/cdn/tree/snice-tree.js +2 -2
  386. package/dist/cdn/tree/snice-tree.min.js +2 -2
  387. package/dist/cdn/treemap/snice-treemap.js +2 -2
  388. package/dist/cdn/treemap/snice-treemap.min.js +2 -2
  389. package/dist/cdn/user-card/snice-user-card.js +3 -3
  390. package/dist/cdn/user-card/snice-user-card.js.map +1 -1
  391. package/dist/cdn/user-card/snice-user-card.min.js +7 -7
  392. package/dist/cdn/user-card/snice-user-card.min.js.map +1 -1
  393. package/dist/cdn/video-player/snice-video-player.js +2 -2
  394. package/dist/cdn/video-player/snice-video-player.min.js +2 -2
  395. package/dist/cdn/virtual-scroller/README.md +1 -1
  396. package/dist/cdn/virtual-scroller/snice-virtual-scroller.js +2 -2
  397. package/dist/cdn/virtual-scroller/snice-virtual-scroller.min.js +2 -2
  398. package/dist/cdn/waterfall/README.md +1 -1
  399. package/dist/cdn/waterfall/snice-waterfall.js +2 -2
  400. package/dist/cdn/waterfall/snice-waterfall.min.js +2 -2
  401. package/dist/cdn/weather/snice-weather.js +2 -2
  402. package/dist/cdn/weather/snice-weather.min.js +2 -2
  403. package/dist/cdn/work-order/snice-work-order.js +3 -3
  404. package/dist/cdn/work-order/snice-work-order.js.map +1 -1
  405. package/dist/cdn/work-order/snice-work-order.min.js +3 -3
  406. package/dist/cdn/work-order/snice-work-order.min.js.map +1 -1
  407. package/dist/components/activity-feed/snice-activity-feed.js +1 -1
  408. package/dist/components/activity-feed/snice-activity-feed.js.map +1 -1
  409. package/dist/components/approval-flow/snice-approval-flow.js +1 -1
  410. package/dist/components/approval-flow/snice-approval-flow.js.map +1 -1
  411. package/dist/components/avatar-group/snice-avatar-group.js +1 -1
  412. package/dist/components/avatar-group/snice-avatar-group.js.map +1 -1
  413. package/dist/components/banner/snice-banner.js +1 -1
  414. package/dist/components/banner/snice-banner.js.map +1 -1
  415. package/dist/components/cart/snice-cart.js +1 -1
  416. package/dist/components/cart/snice-cart.js.map +1 -1
  417. package/dist/components/color-display/snice-color-display.js +1 -1
  418. package/dist/components/color-display/snice-color-display.js.map +1 -1
  419. package/dist/components/comments/snice-comments.js +1 -1
  420. package/dist/components/comments/snice-comments.js.map +1 -1
  421. package/dist/components/data-card/snice-data-card.js +1 -1
  422. package/dist/components/data-card/snice-data-card.js.map +1 -1
  423. package/dist/components/drawer/snice-drawer.js +10 -4
  424. package/dist/components/drawer/snice-drawer.js.map +1 -1
  425. package/dist/components/empty-state/snice-empty-state.js +1 -1
  426. package/dist/components/empty-state/snice-empty-state.js.map +1 -1
  427. package/dist/components/estimate/snice-estimate.js +1 -1
  428. package/dist/components/estimate/snice-estimate.js.map +1 -1
  429. package/dist/components/file-upload/snice-file-upload.js +1 -1
  430. package/dist/components/file-upload/snice-file-upload.js.map +1 -1
  431. package/dist/components/form-layout/snice-form-layout.js +1 -1
  432. package/dist/components/form-layout/snice-form-layout.js.map +1 -1
  433. package/dist/components/image/snice-image.js +1 -1
  434. package/dist/components/image/snice-image.js.map +1 -1
  435. package/dist/components/input/snice-input.js +1 -1
  436. package/dist/components/input/snice-input.js.map +1 -1
  437. package/dist/components/invoice/snice-invoice.js +1 -1
  438. package/dist/components/invoice/snice-invoice.js.map +1 -1
  439. package/dist/components/key-value/snice-key-value.js +1 -1
  440. package/dist/components/key-value/snice-key-value.js.map +1 -1
  441. package/dist/components/kpi/snice-kpi.js +1 -1
  442. package/dist/components/kpi/snice-kpi.js.map +1 -1
  443. package/dist/components/leaderboard/snice-leaderboard.js +1 -1
  444. package/dist/components/leaderboard/snice-leaderboard.js.map +1 -1
  445. package/dist/components/link/snice-link.js +1 -1
  446. package/dist/components/link/snice-link.js.map +1 -1
  447. package/dist/components/link-preview/snice-link-preview.js +1 -1
  448. package/dist/components/link-preview/snice-link-preview.js.map +1 -1
  449. package/dist/components/list/snice-list-item.js +1 -1
  450. package/dist/components/list/snice-list-item.js.map +1 -1
  451. package/dist/components/metric-table/snice-metric-table.js +1 -1
  452. package/dist/components/metric-table/snice-metric-table.js.map +1 -1
  453. package/dist/components/nav/snice-nav.js +1 -1
  454. package/dist/components/nav/snice-nav.js.map +1 -1
  455. package/dist/components/order-tracker/snice-order-tracker.js +1 -1
  456. package/dist/components/order-tracker/snice-order-tracker.js.map +1 -1
  457. package/dist/components/permission-matrix/snice-permission-matrix.js +1 -1
  458. package/dist/components/permission-matrix/snice-permission-matrix.js.map +1 -1
  459. package/dist/components/pricing-table/snice-pricing-table.js +1 -1
  460. package/dist/components/pricing-table/snice-pricing-table.js.map +1 -1
  461. package/dist/components/product-card/snice-product-card.js +1 -1
  462. package/dist/components/product-card/snice-product-card.js.map +1 -1
  463. package/dist/components/radio/snice-radio.js +1 -1
  464. package/dist/components/radio/snice-radio.js.map +1 -1
  465. package/dist/components/receipt/snice-receipt.js +1 -1
  466. package/dist/components/receipt/snice-receipt.js.map +1 -1
  467. package/dist/components/recipe/snice-recipe.js +1 -1
  468. package/dist/components/recipe/snice-recipe.js.map +1 -1
  469. package/dist/components/stat-group/snice-stat-group.js +1 -1
  470. package/dist/components/stat-group/snice-stat-group.js.map +1 -1
  471. package/dist/components/step-input/snice-step-input.js +1 -1
  472. package/dist/components/step-input/snice-step-input.js.map +1 -1
  473. package/dist/components/stepper/snice-stepper.js +1 -1
  474. package/dist/components/stepper/snice-stepper.js.map +1 -1
  475. package/dist/components/tag-input/snice-tag-input.js +1 -1
  476. package/dist/components/tag-input/snice-tag-input.js.map +1 -1
  477. package/dist/components/time-range-picker/snice-time-range-picker.js +1 -1
  478. package/dist/components/time-range-picker/snice-time-range-picker.js.map +1 -1
  479. package/dist/components/timeline/snice-timeline.js +1 -1
  480. package/dist/components/timeline/snice-timeline.js.map +1 -1
  481. package/dist/components/timer/snice-timer.js +1 -1
  482. package/dist/components/timer/snice-timer.js.map +1 -1
  483. package/dist/components/user-card/snice-user-card.js +1 -1
  484. package/dist/components/user-card/snice-user-card.js.map +1 -1
  485. package/dist/components/utils.d.ts +6 -2
  486. package/dist/components/utils.js +6 -2
  487. package/dist/components/utils.js.map +1 -1
  488. package/dist/components/work-order/snice-work-order.js +1 -1
  489. package/dist/components/work-order/snice-work-order.js.map +1 -1
  490. package/dist/index.cjs +2 -2
  491. package/dist/index.esm.js +2 -2
  492. package/dist/index.iife.js +2 -2
  493. package/dist/symbols.cjs +2 -2
  494. package/dist/symbols.esm.js +2 -2
  495. package/dist/transitions.cjs +2 -2
  496. package/dist/transitions.esm.js +2 -2
  497. package/docs/ai/components/alert.md +10 -9
  498. package/docs/ai/components/banner.md +8 -7
  499. package/docs/ai/components/breadcrumbs.md +4 -3
  500. package/docs/ai/components/button.md +20 -16
  501. package/docs/ai/components/chip.md +9 -8
  502. package/docs/ai/components/empty-state.md +9 -11
  503. package/docs/ai/components/input.md +16 -18
  504. package/docs/ai/components/location.md +1 -1
  505. package/docs/components/alert.md +8 -6
  506. package/docs/components/breadcrumbs.md +2 -2
  507. package/docs/components/button.md +58 -33
  508. package/docs/components/chip.md +8 -6
  509. package/docs/components/empty-state.md +1 -1
  510. package/docs/components/input.md +24 -10
  511. package/docs/components/location.md +1 -1
  512. package/package.json +4 -3
@@ -1 +1 @@
1
- {"version":3,"file":"snice-receipt.js","sources":["../../../node_modules/tslib/tslib.es6.mjs","../../components/receipt/snice-receipt.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","import { __esDecorate, __runInitializers } from 'tslib';\nimport { element, property, render, styles, html, css } from 'snice';\n\nvar cssContent = \":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);contain:layout style paint;--receipt-max-width:var(--snice-receipt-max-width, 22rem);--receipt-padding:var(--snice-receipt-padding, 1.5rem);--receipt-bg:var(--snice-receipt-bg, var(--snice-color-background, rgb(255 255 255)));--receipt-text:var(--snice-receipt-text, var(--snice-color-text, rgb(23 23 23)));--receipt-text-secondary:var(--snice-receipt-text-secondary, var(--snice-color-text-secondary, rgb(82 82 82)));--receipt-text-tertiary:var(--snice-receipt-text-tertiary, var(--snice-color-text-tertiary, rgb(115 115 115)));--receipt-border:var(--snice-receipt-border, var(--snice-color-border, rgb(226 226 226)));--receipt-bg-element:var(--snice-receipt-bg-element, var(--snice-color-background-element, rgb(252 251 249)));--receipt-header-bg:var(--snice-receipt-header-bg, transparent);--receipt-accent:var(--snice-receipt-accent, var(--snice-color-primary, rgb(37 99 235)));--receipt-font-family:var(--snice-receipt-font-family, inherit);--receipt-merchant-font-size:var(--snice-receipt-merchant-font-size, 1.25rem);--receipt-item-font-size:var(--snice-receipt-item-font-size, 0.9375rem);--receipt-meta-font-size:var(--snice-receipt-meta-font-size, 0.8125rem);--receipt-total-font-size:var(--snice-receipt-total-font-size, 1.125rem);--receipt-total-font-weight:var(--snice-receipt-total-font-weight, 700);--receipt-footer-font-size:var(--snice-receipt-footer-font-size, 0.8125rem);--receipt-divider-style:var(--snice-receipt-divider-style, dashed);--receipt-divider-color:var(--snice-receipt-divider-color, var(--receipt-border));--receipt-divider-width:var(--snice-receipt-divider-width, 1px);--receipt-border-radius:var(--snice-receipt-border-radius, 8px);--receipt-border-color:var(--snice-receipt-border-color, var(--receipt-border));--receipt-shadow:var(--snice-receipt-shadow, none);--receipt-thermal-font:var(--snice-receipt-thermal-font, 'Courier New', Courier, monospace);--receipt-thermal-width:var(--snice-receipt-thermal-width, 18rem);--receipt-thermal-bg:var(--snice-receipt-thermal-bg, rgb(255 255 248));--receipt-modern-radius:var(--snice-receipt-modern-radius, 12px);--receipt-modern-shadow:var(--snice-receipt-modern-shadow, 0 4px 24px rgb(0 0 0 / 0.08));--receipt-modern-section-bg:var(--snice-receipt-modern-section-bg, var(--receipt-bg-element));--receipt-modern-section-radius:var(--snice-receipt-modern-section-radius, 8px);--receipt-qr-size:var(--snice-receipt-qr-size, 6rem)}.receipt{background:var(--receipt-bg);border:1px solid var(--receipt-border-color);border-radius:var(--receipt-border-radius);padding:var(--receipt-padding);color:var(--receipt-text);max-width:var(--receipt-max-width);font-family:var(--receipt-font-family);box-shadow:var(--receipt-shadow);line-height:var(--snice-line-height-normal, 1.5)}.receipt__divider{border:none;border-top:var(--receipt-divider-width) var(--receipt-divider-style) var(--receipt-divider-color);margin:var(--snice-spacing-sm,.75rem) 0}.receipt__header{text-align:center;padding-bottom:var(--snice-spacing-sm,.75rem);background:var(--receipt-header-bg)}.receipt__logo{max-height:3rem;max-width:10rem;object-fit:contain;margin-bottom:var(--snice-spacing-xs,.5rem)}.receipt__merchant-name{font-size:var(--receipt-merchant-font-size);font-weight:var(--snice-font-weight-bold,700);color:var(--receipt-text);margin:0;letter-spacing:.01em}.receipt__merchant-address{font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary);line-height:var(--snice-line-height-normal, 1.5);white-space:pre-line;margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__merchant-contact{font-size:var(--receipt-meta-font-size);color:var(--receipt-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--snice-spacing-xs,.5rem);font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary)}.receipt__meta-item{display:flex;flex-direction:column;gap:.0625rem}.receipt__meta-label{font-size:.6875rem;color:var(--receipt-text-tertiary);text-transform:uppercase;letter-spacing:.06em;font-weight:var(--snice-font-weight-medium,500)}.receipt__meta-value{font-weight:var(--snice-font-weight-medium,500);color:var(--receipt-text)}.receipt__items-header{display:flex;justify-content:space-between;font-size:.6875rem;text-transform:uppercase;letter-spacing:.06em;color:var(--receipt-text-tertiary);font-weight:var(--snice-font-weight-medium,500);padding-bottom:var(--snice-spacing-2xs,.25rem);border-bottom:1px solid var(--receipt-divider-color);margin-bottom:var(--snice-spacing-2xs,.25rem)}.receipt__items{display:flex;flex-direction:column}.receipt__item{display:flex;justify-content:space-between;align-items:baseline;padding:var(--snice-spacing-2xs,.25rem) 0;font-size:var(--receipt-item-font-size);gap:var(--snice-spacing-xs,.5rem)}.receipt__item-info{flex:1;min-width:0}.receipt__item-name{color:var(--receipt-text);display:block}.receipt__item-sku{font-size:.6875rem;color:var(--receipt-text-tertiary);font-family:var(--receipt-thermal-font)}.receipt__item-note{font-size:.75rem;color:var(--receipt-text-tertiary);font-style:italic}.receipt__item-qty{font-size:.8125rem;color:var(--receipt-text-tertiary);white-space:nowrap}.receipt__item-discount{font-size:.75rem;color:var(--snice-color-danger,rgb(220 38 38))}.receipt__item-price{font-weight:var(--snice-font-weight-medium,500);white-space:nowrap;text-align:right}.receipt__totals{display:flex;flex-direction:column}.receipt__total-row{display:flex;justify-content:space-between;padding:var(--snice-spacing-3xs,.125rem) 0;font-size:var(--receipt-item-font-size);color:var(--receipt-text-secondary)}.receipt__total-row--discount{color:var(--snice-color-danger,rgb(220 38 38))}.receipt__total-row--grand{border-top:2px solid var(--receipt-text);margin-top:var(--snice-spacing-xs,.5rem);padding-top:var(--snice-spacing-xs,.5rem);font-size:var(--receipt-total-font-size);font-weight:var(--receipt-total-font-weight);color:var(--receipt-text)}.receipt__payment{text-align:center;font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary)}.receipt__payment-method{font-weight:var(--snice-font-weight-semibold,600);color:var(--receipt-text)}.receipt__payment-details{font-size:.75rem;color:var(--receipt-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__qr{display:flex;justify-content:center;padding:var(--snice-spacing-xs,.5rem) 0}.receipt__qr ::slotted(*){width:var(--receipt-qr-size);height:var(--receipt-qr-size)}.receipt__barcode{display:flex;justify-content:center;padding:var(--snice-spacing-xs,.5rem) 0}.receipt__barcode ::slotted(*){max-width:100%}.receipt__footer{text-align:center;font-size:var(--receipt-footer-font-size);color:var(--receipt-text-tertiary)}.receipt__thank-you{font-weight:var(--snice-font-weight-medium,500);color:var(--receipt-text-secondary);margin-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=thermal]){font-family:var(--receipt-thermal-font)}:host([variant=thermal]) .receipt{max-width:var(--receipt-thermal-width);border-radius:0;border:none;background:var(--receipt-thermal-bg);color:rgb(23 23 23);padding:var(--snice-spacing-md,1rem) var(--snice-spacing-sm,.75rem);box-shadow:0 2px 8px rgb(0 0 0 / .06);font-family:var(--receipt-thermal-font)}:host([variant=thermal]) .receipt__divider{border-top-style:dotted;border-top-width:2px;border-top-color:rgb(0 0 0 / .25);margin:var(--snice-spacing-xs,.5rem) 0}:host([variant=thermal]) .receipt__merchant-name{font-size:var(--snice-font-size-md, 1rem);text-transform:uppercase;letter-spacing:.12em;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__merchant-address,:host([variant=thermal]) .receipt__merchant-contact{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__meta{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__meta-label{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__meta-value{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__items-header{font-size:.625rem;border-bottom-style:dotted;color:rgb(115 115 115)}:host([variant=thermal]) .receipt__item{font-size:.8125rem;padding:.125rem 0}:host([variant=thermal]) .receipt__item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__item-qty{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__item-price{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__total-row{font-size:.8125rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__total-row--grand{font-size:.9375rem;border-top-style:double;border-top-width:3px;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__payment{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__payment-method{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__payment-details{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__footer{font-size:.6875rem;letter-spacing:.04em;color:rgb(115 115 115)}:host([variant=thermal]) .receipt__thank-you{text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;color:rgb(82 82 82)}:host([variant=modern]) .receipt{border:none;border-radius:var(--receipt-modern-radius);box-shadow:var(--receipt-modern-shadow);padding:var(--snice-spacing-lg,1.5rem)}:host([variant=modern]) .receipt__divider{border:none;margin:var(--snice-spacing-md,1rem) 0}:host([variant=modern]) .receipt__header{padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=modern]) .receipt__merchant-name{font-size:1.375rem;letter-spacing:-.01em}:host([variant=modern]) .receipt__meta{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__items{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__items-header{border-bottom-color:var(--receipt-border)}:host([variant=modern]) .receipt__totals{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__total-row--grand{border-top:2px solid var(--receipt-accent);color:var(--receipt-accent)}:host([variant=modern]) .receipt__payment{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__footer{padding-top:var(--snice-spacing-xs,.5rem)}:host([variant=modern]) .receipt__thank-you{color:var(--receipt-accent);font-weight:var(--snice-font-weight-semibold,600)}:host([variant=minimal]) .receipt{border:none;border-radius:0;padding:var(--snice-spacing-md,1rem) 0;box-shadow:none;max-width:20rem}:host([variant=minimal]) .receipt__divider{border-top-style:solid;border-top-color:var(--receipt-border);margin:var(--snice-spacing-md,1rem) 0}:host([variant=minimal]) .receipt__header{padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=minimal]) .receipt__logo{display:none}:host([variant=minimal]) .receipt__merchant-name{font-size:1rem;text-transform:uppercase;letter-spacing:.15em;font-weight:var(--snice-font-weight-medium,500)}:host([variant=minimal]) .receipt__merchant-address,:host([variant=minimal]) .receipt__merchant-contact{display:none}:host([variant=minimal]) .receipt__meta{font-size:.75rem}:host([variant=minimal]) .receipt__meta-label{display:none}:host([variant=minimal]) .receipt__items-header{display:none}:host([variant=minimal]) .receipt__item{font-size:.875rem}:host([variant=minimal]) .receipt__item-discount,:host([variant=minimal]) .receipt__item-note,:host([variant=minimal]) .receipt__item-sku{display:none}:host([variant=minimal]) .receipt__total-row{font-size:.875rem}:host([variant=minimal]) .receipt__total-row--grand{font-size:1rem;border-top-width:1px;border-top-style:solid}:host([variant=minimal]) .receipt__payment{font-size:.75rem}:host([variant=minimal]) .receipt__footer{font-size:.75rem}:host([variant=detailed]) .receipt{max-width:26rem}:host([variant=detailed]) .receipt__header{border-bottom:2px solid var(--receipt-text);padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=detailed]) .receipt__merchant-name{font-size:1.5rem}:host([variant=detailed]) .receipt__merchant-contact{font-size:.75rem}:host([variant=detailed]) .receipt__meta{display:grid;grid-template-columns:1fr 1fr;gap:var(--snice-spacing-xs,.5rem)}:host([variant=detailed]) .receipt__items-header{display:flex;font-weight:var(--snice-font-weight-semibold,600);border-bottom:2px solid var(--receipt-border);padding-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=detailed]) .receipt__item{border-bottom:1px solid;padding:var(--snice-spacing-2xs,.25rem) 0}:host([variant=detailed]) .receipt__item:last-child{border-bottom:none}:host([variant=detailed]) .receipt__item-sku{display:block}:host([variant=detailed]) .receipt__item-note{display:block}:host([variant=detailed]) .receipt__item-discount{display:block}:host([variant=detailed]) .receipt__total-row--grand{font-size:1.25rem;border-top:2px solid var(--receipt-text)}:host([variant=detailed]) .receipt__payment-details{font-size:.8125rem}@media print{:host{contain:none}.receipt{border:none;box-shadow:none;border-radius:0;padding:0;max-width:none}.receipt__barcode ::slotted(*),.receipt__qr ::slotted(*){-webkit-print-color-adjust:exact;print-color-adjust:exact}:host([variant=thermal]) .receipt{max-width:var(--receipt-thermal-width);background:#fff;box-shadow:none}:host([variant=modern]) .receipt{box-shadow:none}:host([variant=modern]) .receipt__items,:host([variant=modern]) .receipt__meta,:host([variant=modern]) .receipt__payment,:host([variant=modern]) .receipt__totals{background:0 0;border:1px solid var(--receipt-border)}}\";\n\nlet SniceReceipt = (() => {\n let _classDecorators = [element('snice-receipt')];\n let _classDescriptor;\n let _classExtraInitializers = [];\n let _classThis;\n let _classSuper = HTMLElement;\n let _instanceExtraInitializers = [];\n let _receiptNumber_decorators;\n let _receiptNumber_initializers = [];\n let _receiptNumber_extraInitializers = [];\n let _date_decorators;\n let _date_initializers = [];\n let _date_extraInitializers = [];\n let _currency_decorators;\n let _currency_initializers = [];\n let _currency_extraInitializers = [];\n let _locale_decorators;\n let _locale_initializers = [];\n let _locale_extraInitializers = [];\n let _merchant_decorators;\n let _merchant_initializers = [];\n let _merchant_extraInitializers = [];\n let _items_decorators;\n let _items_initializers = [];\n let _items_extraInitializers = [];\n let _tax_decorators;\n let _tax_initializers = [];\n let _tax_extraInitializers = [];\n let _taxes_decorators;\n let _taxes_initializers = [];\n let _taxes_extraInitializers = [];\n let _subtotal_decorators;\n let _subtotal_initializers = [];\n let _subtotal_extraInitializers = [];\n let _total_decorators;\n let _total_initializers = [];\n let _total_extraInitializers = [];\n let _tip_decorators;\n let _tip_initializers = [];\n let _tip_extraInitializers = [];\n let _discount_decorators;\n let _discount_initializers = [];\n let _discount_extraInitializers = [];\n let _discountLabel_decorators;\n let _discountLabel_initializers = [];\n let _discountLabel_extraInitializers = [];\n let _paymentMethod_decorators;\n let _paymentMethod_initializers = [];\n let _paymentMethod_extraInitializers = [];\n let _paymentDetails_decorators;\n let _paymentDetails_initializers = [];\n let _paymentDetails_extraInitializers = [];\n let _variant_decorators;\n let _variant_initializers = [];\n let _variant_extraInitializers = [];\n let _showQr_decorators;\n let _showQr_initializers = [];\n let _showQr_extraInitializers = [];\n let _qrData_decorators;\n let _qrData_initializers = [];\n let _qrData_extraInitializers = [];\n let _qrPosition_decorators;\n let _qrPosition_initializers = [];\n let _qrPosition_extraInitializers = [];\n let _thankYou_decorators;\n let _thankYou_initializers = [];\n let _thankYou_extraInitializers = [];\n let _cashier_decorators;\n let _cashier_initializers = [];\n let _cashier_extraInitializers = [];\n let _terminalId_decorators;\n let _terminalId_initializers = [];\n let _terminalId_extraInitializers = [];\n let _renderContent_decorators;\n let _componentStyles_decorators;\n (class extends _classSuper {\n static { _classThis = this; }\n static {\n const _metadata = typeof Symbol === \"function\" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;\n _receiptNumber_decorators = [property()];\n _date_decorators = [property()];\n _currency_decorators = [property()];\n _locale_decorators = [property()];\n _merchant_decorators = [property({ type: Object, attribute: false })];\n _items_decorators = [property({ type: Array, attribute: false })];\n _tax_decorators = [property({ type: Number })];\n _taxes_decorators = [property({ type: Array, attribute: false })];\n _subtotal_decorators = [property({ type: Number })];\n _total_decorators = [property({ type: Number })];\n _tip_decorators = [property({ type: Number })];\n _discount_decorators = [property({ type: Number })];\n _discountLabel_decorators = [property()];\n _paymentMethod_decorators = [property()];\n _paymentDetails_decorators = [property()];\n _variant_decorators = [property()];\n _showQr_decorators = [property({ type: Boolean })];\n _qrData_decorators = [property()];\n _qrPosition_decorators = [property()];\n _thankYou_decorators = [property()];\n _cashier_decorators = [property()];\n _terminalId_decorators = [property()];\n _renderContent_decorators = [render()];\n _componentStyles_decorators = [styles()];\n __esDecorate(this, null, _renderContent_decorators, { kind: \"method\", name: \"renderContent\", static: false, private: false, access: { has: obj => \"renderContent\" in obj, get: obj => obj.renderContent }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _componentStyles_decorators, { kind: \"method\", name: \"componentStyles\", static: false, private: false, access: { has: obj => \"componentStyles\" in obj, get: obj => obj.componentStyles }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(null, null, _receiptNumber_decorators, { kind: \"field\", name: \"receiptNumber\", static: false, private: false, access: { has: obj => \"receiptNumber\" in obj, get: obj => obj.receiptNumber, set: (obj, value) => { obj.receiptNumber = value; } }, metadata: _metadata }, _receiptNumber_initializers, _receiptNumber_extraInitializers);\n __esDecorate(null, null, _date_decorators, { kind: \"field\", name: \"date\", static: false, private: false, access: { has: obj => \"date\" in obj, get: obj => obj.date, set: (obj, value) => { obj.date = value; } }, metadata: _metadata }, _date_initializers, _date_extraInitializers);\n __esDecorate(null, null, _currency_decorators, { kind: \"field\", name: \"currency\", static: false, private: false, access: { has: obj => \"currency\" in obj, get: obj => obj.currency, set: (obj, value) => { obj.currency = value; } }, metadata: _metadata }, _currency_initializers, _currency_extraInitializers);\n __esDecorate(null, null, _locale_decorators, { kind: \"field\", name: \"locale\", static: false, private: false, access: { has: obj => \"locale\" in obj, get: obj => obj.locale, set: (obj, value) => { obj.locale = value; } }, metadata: _metadata }, _locale_initializers, _locale_extraInitializers);\n __esDecorate(null, null, _merchant_decorators, { kind: \"field\", name: \"merchant\", static: false, private: false, access: { has: obj => \"merchant\" in obj, get: obj => obj.merchant, set: (obj, value) => { obj.merchant = value; } }, metadata: _metadata }, _merchant_initializers, _merchant_extraInitializers);\n __esDecorate(null, null, _items_decorators, { kind: \"field\", name: \"items\", static: false, private: false, access: { has: obj => \"items\" in obj, get: obj => obj.items, set: (obj, value) => { obj.items = value; } }, metadata: _metadata }, _items_initializers, _items_extraInitializers);\n __esDecorate(null, null, _tax_decorators, { kind: \"field\", name: \"tax\", static: false, private: false, access: { has: obj => \"tax\" in obj, get: obj => obj.tax, set: (obj, value) => { obj.tax = value; } }, metadata: _metadata }, _tax_initializers, _tax_extraInitializers);\n __esDecorate(null, null, _taxes_decorators, { kind: \"field\", name: \"taxes\", static: false, private: false, access: { has: obj => \"taxes\" in obj, get: obj => obj.taxes, set: (obj, value) => { obj.taxes = value; } }, metadata: _metadata }, _taxes_initializers, _taxes_extraInitializers);\n __esDecorate(null, null, _subtotal_decorators, { kind: \"field\", name: \"subtotal\", static: false, private: false, access: { has: obj => \"subtotal\" in obj, get: obj => obj.subtotal, set: (obj, value) => { obj.subtotal = value; } }, metadata: _metadata }, _subtotal_initializers, _subtotal_extraInitializers);\n __esDecorate(null, null, _total_decorators, { kind: \"field\", name: \"total\", static: false, private: false, access: { has: obj => \"total\" in obj, get: obj => obj.total, set: (obj, value) => { obj.total = value; } }, metadata: _metadata }, _total_initializers, _total_extraInitializers);\n __esDecorate(null, null, _tip_decorators, { kind: \"field\", name: \"tip\", static: false, private: false, access: { has: obj => \"tip\" in obj, get: obj => obj.tip, set: (obj, value) => { obj.tip = value; } }, metadata: _metadata }, _tip_initializers, _tip_extraInitializers);\n __esDecorate(null, null, _discount_decorators, { kind: \"field\", name: \"discount\", static: false, private: false, access: { has: obj => \"discount\" in obj, get: obj => obj.discount, set: (obj, value) => { obj.discount = value; } }, metadata: _metadata }, _discount_initializers, _discount_extraInitializers);\n __esDecorate(null, null, _discountLabel_decorators, { kind: \"field\", name: \"discountLabel\", static: false, private: false, access: { has: obj => \"discountLabel\" in obj, get: obj => obj.discountLabel, set: (obj, value) => { obj.discountLabel = value; } }, metadata: _metadata }, _discountLabel_initializers, _discountLabel_extraInitializers);\n __esDecorate(null, null, _paymentMethod_decorators, { kind: \"field\", name: \"paymentMethod\", static: false, private: false, access: { has: obj => \"paymentMethod\" in obj, get: obj => obj.paymentMethod, set: (obj, value) => { obj.paymentMethod = value; } }, metadata: _metadata }, _paymentMethod_initializers, _paymentMethod_extraInitializers);\n __esDecorate(null, null, _paymentDetails_decorators, { kind: \"field\", name: \"paymentDetails\", static: false, private: false, access: { has: obj => \"paymentDetails\" in obj, get: obj => obj.paymentDetails, set: (obj, value) => { obj.paymentDetails = value; } }, metadata: _metadata }, _paymentDetails_initializers, _paymentDetails_extraInitializers);\n __esDecorate(null, null, _variant_decorators, { kind: \"field\", name: \"variant\", static: false, private: false, access: { has: obj => \"variant\" in obj, get: obj => obj.variant, set: (obj, value) => { obj.variant = value; } }, metadata: _metadata }, _variant_initializers, _variant_extraInitializers);\n __esDecorate(null, null, _showQr_decorators, { kind: \"field\", name: \"showQr\", static: false, private: false, access: { has: obj => \"showQr\" in obj, get: obj => obj.showQr, set: (obj, value) => { obj.showQr = value; } }, metadata: _metadata }, _showQr_initializers, _showQr_extraInitializers);\n __esDecorate(null, null, _qrData_decorators, { kind: \"field\", name: \"qrData\", static: false, private: false, access: { has: obj => \"qrData\" in obj, get: obj => obj.qrData, set: (obj, value) => { obj.qrData = value; } }, metadata: _metadata }, _qrData_initializers, _qrData_extraInitializers);\n __esDecorate(null, null, _qrPosition_decorators, { kind: \"field\", name: \"qrPosition\", static: false, private: false, access: { has: obj => \"qrPosition\" in obj, get: obj => obj.qrPosition, set: (obj, value) => { obj.qrPosition = value; } }, metadata: _metadata }, _qrPosition_initializers, _qrPosition_extraInitializers);\n __esDecorate(null, null, _thankYou_decorators, { kind: \"field\", name: \"thankYou\", static: false, private: false, access: { has: obj => \"thankYou\" in obj, get: obj => obj.thankYou, set: (obj, value) => { obj.thankYou = value; } }, metadata: _metadata }, _thankYou_initializers, _thankYou_extraInitializers);\n __esDecorate(null, null, _cashier_decorators, { kind: \"field\", name: \"cashier\", static: false, private: false, access: { has: obj => \"cashier\" in obj, get: obj => obj.cashier, set: (obj, value) => { obj.cashier = value; } }, metadata: _metadata }, _cashier_initializers, _cashier_extraInitializers);\n __esDecorate(null, null, _terminalId_decorators, { kind: \"field\", name: \"terminalId\", static: false, private: false, access: { has: obj => \"terminalId\" in obj, get: obj => obj.terminalId, set: (obj, value) => { obj.terminalId = value; } }, metadata: _metadata }, _terminalId_initializers, _terminalId_extraInitializers);\n __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: \"class\", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);\n _classThis = _classDescriptor.value;\n if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });\n __runInitializers(_classThis, _classExtraInitializers);\n }\n getComputedSubtotal() {\n if (this.subtotal > 0)\n return this.subtotal;\n return this.items.reduce((sum, item) => {\n const lineTotal = item.quantity * item.price;\n const itemDiscount = item.discount || 0;\n return sum + lineTotal - itemDiscount;\n }, 0);\n }\n getComputedTax() {\n if (this.taxes.length > 0) {\n return this.taxes.reduce((sum, t) => sum + t.amount, 0);\n }\n return this.tax;\n }\n getComputedTotal() {\n if (this.total > 0)\n return this.total;\n const sub = this.getComputedSubtotal();\n const taxAmt = this.getComputedTax();\n return sub + taxAmt - this.discount + this.tip;\n }\n formatCurrency(amount) {\n const loc = this.locale || undefined;\n try {\n return new Intl.NumberFormat(loc, {\n style: 'currency',\n currency: this.currency\n }).format(amount);\n }\n catch {\n return `${this.currency} ${amount.toFixed(2)}`;\n }\n }\n print() {\n const printWindow = window.open('', '_blank');\n if (!printWindow)\n return;\n const content = this.shadowRoot?.innerHTML || '';\n const stylesText = Array.from(this.shadowRoot?.querySelectorAll('style') || [])\n .map(s => s.textContent)\n .join('\\n');\n printWindow.document.write(`<!DOCTYPE html><html><head><style>${stylesText}</style></head><body>${content}</body></html>`);\n printWindow.document.close();\n printWindow.print();\n printWindow.close();\n }\n renderDivider() {\n return html /*html*/ `<hr class=\"receipt__divider\" part=\"divider\" />`;\n }\n renderQrSlot() {\n const showSlot = this.showQr;\n if (!showSlot)\n return '';\n return html /*html*/ `\n <div class=\"receipt__qr\" part=\"qr-container\">\n <slot name=\"qr\"></slot>\n </div>\n `;\n }\n renderItem(item) {\n const lineTotal = item.quantity * item.price;\n const hasDiscount = (item.discount || 0) > 0;\n const showQty = item.quantity !== 1;\n const isDetailed = this.variant === 'detailed';\n const hasSku = isDetailed && item.sku;\n const hasNote = isDetailed && item.note;\n return html /*html*/ `\n <div class=\"receipt__item\" part=\"item\">\n <div class=\"receipt__item-info\">\n <span class=\"receipt__item-name\" part=\"item-name\">${item.name}</span>\n <if ${hasSku}>\n <span class=\"receipt__item-sku\" part=\"item-sku\">${item.sku}</span>\n </if>\n <if ${hasNote}>\n <span class=\"receipt__item-note\">${item.note}</span>\n </if>\n <if ${hasDiscount}>\n <span class=\"receipt__item-discount\">-${this.formatCurrency(item.discount || 0)}</span>\n </if>\n </div>\n <if ${showQty}>\n <span class=\"receipt__item-qty\" part=\"item-qty\">x${item.quantity}</span>\n </if>\n <span class=\"receipt__item-price\" part=\"item-price\">${this.formatCurrency(lineTotal)}</span>\n </div>\n `;\n }\n renderMerchantContact() {\n const m = this.merchant;\n const hasPhone = m.phone;\n const hasEmail = m.email;\n const hasWebsite = m.website;\n const hasTaxId = m.taxId;\n const hasAny = hasPhone || hasEmail || hasWebsite || hasTaxId;\n if (!hasAny)\n return '';\n const parts = [];\n if (m.phone)\n parts.push(m.phone);\n if (m.email)\n parts.push(m.email);\n if (m.website)\n parts.push(m.website);\n if (m.taxId)\n parts.push(`Tax ID: ${m.taxId}`);\n return html /*html*/ `\n <div class=\"receipt__merchant-contact\" part=\"merchant-contact\">${parts.join(' | ')}</div>\n `;\n }\n renderContent() {\n const computedSubtotal = this.getComputedSubtotal();\n const computedTotal = this.getComputedTotal();\n const computedTax = this.getComputedTax();\n const hasMerchant = this.merchant.name;\n const hasTax = computedTax > 0;\n const hasMultipleTaxes = this.taxes.length > 0;\n const hasTip = this.tip > 0;\n const hasDiscount = this.discount > 0;\n const hasItems = this.items.length > 0;\n const hasMeta = this.receiptNumber || this.date || this.cashier || this.terminalId;\n const hasPayment = this.paymentMethod;\n const qrTop = this.showQr && this.qrPosition === 'top';\n const qrBottom = this.showQr && this.qrPosition === 'bottom';\n const qrFooter = this.showQr && this.qrPosition === 'footer';\n return html /*html*/ `\n <div class=\"receipt\" part=\"base\">\n\n <if ${qrTop}>\n ${this.renderQrSlot()}\n ${this.renderDivider()}\n </if>\n\n <if ${hasMerchant}>\n <div class=\"receipt__header\" part=\"header\">\n <if ${this.merchant.logo}>\n <img class=\"receipt__logo\" src=\"${this.merchant.logo}\" alt=\"${this.merchant.name}\" part=\"logo\" />\n </if>\n <div class=\"receipt__merchant-name\" part=\"merchant-name\">${this.merchant.name}</div>\n <if ${this.merchant.address}>\n <div class=\"receipt__merchant-address\" part=\"merchant-address\">${this.merchant.address}</div>\n </if>\n ${this.renderMerchantContact()}\n </div>\n ${this.renderDivider()}\n </if>\n\n <if ${hasMeta}>\n <div class=\"receipt__meta\" part=\"meta\">\n <if ${this.receiptNumber}>\n <div class=\"receipt__meta-item\">\n <span class=\"receipt__meta-label\">Receipt #</span>\n <span class=\"receipt__meta-value\" part=\"receipt-number\">${this.receiptNumber}</span>\n </div>\n </if>\n <if ${this.date}>\n <div class=\"receipt__meta-item\">\n <span class=\"receipt__meta-label\">Date</span>\n <span class=\"receipt__meta-value\" part=\"date\">${this.date}</span>\n </div>\n </if>\n <if ${this.cashier}>\n <div class=\"receipt__meta-item\">\n <span class=\"receipt__meta-label\">Cashier</span>\n <span class=\"receipt__meta-value\">${this.cashier}</span>\n </div>\n </if>\n <if ${this.terminalId}>\n <div class=\"receipt__meta-item\">\n <span class=\"receipt__meta-label\">Terminal</span>\n <span class=\"receipt__meta-value\">${this.terminalId}</span>\n </div>\n </if>\n </div>\n ${this.renderDivider()}\n </if>\n\n <if ${hasItems}>\n <div class=\"receipt__items-header\" part=\"items-header\">\n <span>Item</span>\n <span>Amount</span>\n </div>\n <div class=\"receipt__items\" part=\"items\">\n ${this.items.map(item => this.renderItem(item))}\n </div>\n ${this.renderDivider()}\n </if>\n\n <div class=\"receipt__totals\" part=\"totals\">\n <div class=\"receipt__total-row\" part=\"subtotal-row\">\n <span>Subtotal</span>\n <span>${this.formatCurrency(computedSubtotal)}</span>\n </div>\n\n <if ${hasDiscount}>\n <div class=\"receipt__total-row receipt__total-row--discount\" part=\"discount-row\">\n <span>${this.discountLabel}</span>\n <span>-${this.formatCurrency(this.discount)}</span>\n </div>\n </if>\n\n <if ${hasTax && !hasMultipleTaxes}>\n <div class=\"receipt__total-row\" part=\"tax-row\">\n <span>Tax</span>\n <span>${this.formatCurrency(this.tax)}</span>\n </div>\n </if>\n\n <if ${hasMultipleTaxes}>\n ${this.taxes.map(t => {\n const label = t.rate ? `${t.label} (${t.rate}%)` : t.label;\n return html /*html*/ `\n <div class=\"receipt__total-row\" part=\"tax-row\">\n <span>${label}</span>\n <span>${this.formatCurrency(t.amount)}</span>\n </div>\n `;\n })}\n </if>\n\n <if ${hasTip}>\n <div class=\"receipt__total-row\" part=\"tip-row\">\n <span>Tip</span>\n <span>${this.formatCurrency(this.tip)}</span>\n </div>\n </if>\n\n <div class=\"receipt__total-row receipt__total-row--grand\" part=\"total-row\">\n <span>Total</span>\n <span>${this.formatCurrency(computedTotal)}</span>\n </div>\n </div>\n\n <if ${hasPayment}>\n ${this.renderDivider()}\n <div class=\"receipt__payment\" part=\"payment\">\n <span>Paid with </span>\n <span class=\"receipt__payment-method\" part=\"payment-method\">${this.paymentMethod}</span>\n <if ${this.paymentDetails}>\n <div class=\"receipt__payment-details\" part=\"payment-details\">${this.paymentDetails}</div>\n </if>\n </div>\n </if>\n\n <if ${qrBottom}>\n ${this.renderDivider()}\n ${this.renderQrSlot()}\n </if>\n\n <div class=\"receipt__barcode\" part=\"barcode-area\">\n <slot name=\"barcode\"></slot>\n </div>\n\n ${this.renderDivider()}\n <div class=\"receipt__footer\" part=\"footer\">\n <if ${this.thankYou}>\n <div class=\"receipt__thank-you\" part=\"thank-you\">${this.thankYou}</div>\n </if>\n <slot></slot>\n <if ${qrFooter}>\n ${this.renderQrSlot()}\n </if>\n </div>\n </div>\n `;\n }\n componentStyles() {\n return css /*css*/ `${cssContent}`;\n }\n constructor() {\n super(...arguments);\n this.receiptNumber = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _receiptNumber_initializers, ''));\n this.date = (__runInitializers(this, _receiptNumber_extraInitializers), __runInitializers(this, _date_initializers, ''));\n this.currency = (__runInitializers(this, _date_extraInitializers), __runInitializers(this, _currency_initializers, 'USD'));\n this.locale = (__runInitializers(this, _currency_extraInitializers), __runInitializers(this, _locale_initializers, ''));\n this.merchant = (__runInitializers(this, _locale_extraInitializers), __runInitializers(this, _merchant_initializers, { name: '' }));\n this.items = (__runInitializers(this, _merchant_extraInitializers), __runInitializers(this, _items_initializers, []));\n this.tax = (__runInitializers(this, _items_extraInitializers), __runInitializers(this, _tax_initializers, 0));\n this.taxes = (__runInitializers(this, _tax_extraInitializers), __runInitializers(this, _taxes_initializers, []));\n this.subtotal = (__runInitializers(this, _taxes_extraInitializers), __runInitializers(this, _subtotal_initializers, 0));\n this.total = (__runInitializers(this, _subtotal_extraInitializers), __runInitializers(this, _total_initializers, 0));\n this.tip = (__runInitializers(this, _total_extraInitializers), __runInitializers(this, _tip_initializers, 0));\n this.discount = (__runInitializers(this, _tip_extraInitializers), __runInitializers(this, _discount_initializers, 0));\n this.discountLabel = (__runInitializers(this, _discount_extraInitializers), __runInitializers(this, _discountLabel_initializers, 'Discount'));\n this.paymentMethod = (__runInitializers(this, _discountLabel_extraInitializers), __runInitializers(this, _paymentMethod_initializers, ''));\n this.paymentDetails = (__runInitializers(this, _paymentMethod_extraInitializers), __runInitializers(this, _paymentDetails_initializers, ''));\n this.variant = (__runInitializers(this, _paymentDetails_extraInitializers), __runInitializers(this, _variant_initializers, 'standard'));\n this.showQr = (__runInitializers(this, _variant_extraInitializers), __runInitializers(this, _showQr_initializers, false));\n this.qrData = (__runInitializers(this, _showQr_extraInitializers), __runInitializers(this, _qrData_initializers, ''));\n this.qrPosition = (__runInitializers(this, _qrData_extraInitializers), __runInitializers(this, _qrPosition_initializers, 'bottom'));\n this.thankYou = (__runInitializers(this, _qrPosition_extraInitializers), __runInitializers(this, _thankYou_initializers, 'Thank you for your purchase!'));\n this.cashier = (__runInitializers(this, _thankYou_extraInitializers), __runInitializers(this, _cashier_initializers, ''));\n this.terminalId = (__runInitializers(this, _cashier_extraInitializers), __runInitializers(this, _terminalId_initializers, ''));\n __runInitializers(this, _terminalId_extraInitializers);\n }\n });\n return _classThis;\n})();\n\nexport { SniceReceipt };\n//# sourceMappingURL=snice-receipt.js.map\n"],"names":["element","property","render","styles","html","css"],"mappings":";;;;;;;;;;EAAA;EACA;;EAEA;EACA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;EAmDO,SAAS,YAAY,CAAC,IAAI,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE;EACzG,EAAE,SAAS,MAAM,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,KAAK,MAAM,IAAI,OAAO,CAAC,KAAK,UAAU,EAAE,MAAM,IAAI,SAAS,CAAC,mBAAmB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;EACxH,EAAE,IAAI,IAAI,GAAG,SAAS,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,KAAK,QAAQ,GAAG,KAAK,GAAG,IAAI,KAAK,QAAQ,GAAG,K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E,qBAAqB,EAAE,UAAU,CAAC,CAAC;EACnJ,YAAY,IAAI,CAAC,MAAM,IAAI,iBAAiB,CAAC,IAAI,EAAE,0BAA0B,CAAC,EAAE,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,EAAE,KAAK,CAAC,CAAC;EACrI,YAAY,IAAI,CAAC,MAAM,IAAI,iBAAiB,CAAC,IAAI,EAAE,yBAAyB,CAAC,EAAE,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,EAAE,EAAE,CAAC,CAAC;EACjI,YAAY,IAAI,CAAC,UAAU,IAAI,iBAAiB,CAAC,IAAI,EAAE,yBAAyB,CAAC,EAAE,iBAAiB,CAAC,IAAI,EAAE,wBAAwB,EAAE,QAAQ,CAAC,CAAC;EAC/I,YAAY,IAAI,CAAC,QAAQ,IAAI,iBAAiB,CAAC,IAAI,EAAE,6BAA6B,CAAC,EAAE,iBAAiB,CAAC,IAAI,EAAE,sBAAsB,EAAE,8BAA8B,CAAC,CAAC;EACrK,YAAY,IAAI,CAAC,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,2BAA2B,CAAC,EAAE,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,EAAE,EAAE,CAAC,CAAC;EACrI,YAAY,IAAI,CAAC,UAAU,IAAI,iBAAiB,CAAC,IAAI,EAAE,0BAA0B,CAAC,EAAE,iBAAiB,CAAC,IAAI,EAAE,wBAAwB,EAAE,EAAE,CAAC,CAAC;EAC1I,YAAY,iBAAiB,CAAC,IAAI,EAAE,6BAA6B,CAAC;EAClE,QAAQ;EACR,KAAK;EACL,IAAI,OAAO,UAAU;EACrB,CAAC;;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"snice-receipt.js","sources":["../../../node_modules/tslib/tslib.es6.mjs","../../components/receipt/snice-receipt.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","import { __esDecorate, __runInitializers } from 'tslib';\nimport { element, property, render, styles, html, css } from 'snice';\n\nvar cssContent = \":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);--receipt-max-width:var(--snice-receipt-max-width, 22rem);--receipt-padding:var(--snice-receipt-padding, 1.5rem);--receipt-bg:var(--snice-receipt-bg, var(--snice-color-background, rgb(255 255 255)));--receipt-text:var(--snice-receipt-text, var(--snice-color-text, rgb(23 23 23)));--receipt-text-secondary:var(--snice-receipt-text-secondary, var(--snice-color-text-secondary, rgb(82 82 82)));--receipt-text-tertiary:var(--snice-receipt-text-tertiary, var(--snice-color-text-tertiary, rgb(115 115 115)));--receipt-border:var(--snice-receipt-border, var(--snice-color-border, rgb(226 226 226)));--receipt-bg-element:var(--snice-receipt-bg-element, var(--snice-color-background-element, rgb(252 251 249)));--receipt-header-bg:var(--snice-receipt-header-bg, transparent);--receipt-accent:var(--snice-receipt-accent, var(--snice-color-primary, rgb(37 99 235)));--receipt-font-family:var(--snice-receipt-font-family, inherit);--receipt-merchant-font-size:var(--snice-receipt-merchant-font-size, 1.25rem);--receipt-item-font-size:var(--snice-receipt-item-font-size, 0.9375rem);--receipt-meta-font-size:var(--snice-receipt-meta-font-size, 0.8125rem);--receipt-total-font-size:var(--snice-receipt-total-font-size, 1.125rem);--receipt-total-font-weight:var(--snice-receipt-total-font-weight, 700);--receipt-footer-font-size:var(--snice-receipt-footer-font-size, 0.8125rem);--receipt-divider-style:var(--snice-receipt-divider-style, dashed);--receipt-divider-color:var(--snice-receipt-divider-color, var(--receipt-border));--receipt-divider-width:var(--snice-receipt-divider-width, 1px);--receipt-border-radius:var(--snice-receipt-border-radius, 8px);--receipt-border-color:var(--snice-receipt-border-color, var(--receipt-border));--receipt-shadow:var(--snice-receipt-shadow, none);--receipt-thermal-font:var(--snice-receipt-thermal-font, 'Courier New', Courier, monospace);--receipt-thermal-width:var(--snice-receipt-thermal-width, 18rem);--receipt-thermal-bg:var(--snice-receipt-thermal-bg, rgb(255 255 248));--receipt-modern-radius:var(--snice-receipt-modern-radius, 12px);--receipt-modern-shadow:var(--snice-receipt-modern-shadow, 0 4px 24px rgb(0 0 0 / 0.08));--receipt-modern-section-bg:var(--snice-receipt-modern-section-bg, var(--receipt-bg-element));--receipt-modern-section-radius:var(--snice-receipt-modern-section-radius, 8px);--receipt-qr-size:var(--snice-receipt-qr-size, 6rem)}.receipt{background:var(--receipt-bg);border:1px solid var(--receipt-border-color);border-radius:var(--receipt-border-radius);padding:var(--receipt-padding);color:var(--receipt-text);max-width:var(--receipt-max-width);font-family:var(--receipt-font-family);box-shadow:var(--receipt-shadow);line-height:var(--snice-line-height-normal, 1.5)}.receipt__divider{border:none;border-top:var(--receipt-divider-width) var(--receipt-divider-style) var(--receipt-divider-color);margin:var(--snice-spacing-sm,.75rem) 0}.receipt__header{text-align:center;padding-bottom:var(--snice-spacing-sm,.75rem);background:var(--receipt-header-bg)}.receipt__logo{max-height:3rem;max-width:10rem;object-fit:contain;margin-bottom:var(--snice-spacing-xs,.5rem)}.receipt__merchant-name{font-size:var(--receipt-merchant-font-size);font-weight:var(--snice-font-weight-bold,700);color:var(--receipt-text);margin:0;letter-spacing:.01em}.receipt__merchant-address{font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary);line-height:var(--snice-line-height-normal, 1.5);white-space:pre-line;margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__merchant-contact{font-size:var(--receipt-meta-font-size);color:var(--receipt-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--snice-spacing-xs,.5rem);font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary)}.receipt__meta-item{display:flex;flex-direction:column;gap:.0625rem}.receipt__meta-label{font-size:.6875rem;color:var(--receipt-text-tertiary);text-transform:uppercase;letter-spacing:.06em;font-weight:var(--snice-font-weight-medium,500)}.receipt__meta-value{font-weight:var(--snice-font-weight-medium,500);color:var(--receipt-text)}.receipt__items-header{display:flex;justify-content:space-between;font-size:.6875rem;text-transform:uppercase;letter-spacing:.06em;color:var(--receipt-text-tertiary);font-weight:var(--snice-font-weight-medium,500);padding-bottom:var(--snice-spacing-2xs,.25rem);border-bottom:1px solid var(--receipt-divider-color);margin-bottom:var(--snice-spacing-2xs,.25rem)}.receipt__items{display:flex;flex-direction:column}.receipt__item{display:flex;justify-content:space-between;align-items:baseline;padding:var(--snice-spacing-2xs,.25rem) 0;font-size:var(--receipt-item-font-size);gap:var(--snice-spacing-xs,.5rem)}.receipt__item-info{flex:1;min-width:0}.receipt__item-name{color:var(--receipt-text);display:block}.receipt__item-sku{font-size:.6875rem;color:var(--receipt-text-tertiary);font-family:var(--receipt-thermal-font)}.receipt__item-note{font-size:.75rem;color:var(--receipt-text-tertiary);font-style:italic}.receipt__item-qty{font-size:.8125rem;color:var(--receipt-text-tertiary);white-space:nowrap}.receipt__item-discount{font-size:.75rem;color:var(--snice-color-danger,rgb(220 38 38))}.receipt__item-price{font-weight:var(--snice-font-weight-medium,500);white-space:nowrap;text-align:right}.receipt__totals{display:flex;flex-direction:column}.receipt__total-row{display:flex;justify-content:space-between;padding:var(--snice-spacing-3xs,.125rem) 0;font-size:var(--receipt-item-font-size);color:var(--receipt-text-secondary)}.receipt__total-row--discount{color:var(--snice-color-danger,rgb(220 38 38))}.receipt__total-row--grand{border-top:2px solid var(--receipt-text);margin-top:var(--snice-spacing-xs,.5rem);padding-top:var(--snice-spacing-xs,.5rem);font-size:var(--receipt-total-font-size);font-weight:var(--receipt-total-font-weight);color:var(--receipt-text)}.receipt__payment{text-align:center;font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary)}.receipt__payment-method{font-weight:var(--snice-font-weight-semibold,600);color:var(--receipt-text)}.receipt__payment-details{font-size:.75rem;color:var(--receipt-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__qr{display:flex;justify-content:center;padding:var(--snice-spacing-xs,.5rem) 0}.receipt__qr ::slotted(*){width:var(--receipt-qr-size);height:var(--receipt-qr-size)}.receipt__barcode{display:flex;justify-content:center;padding:var(--snice-spacing-xs,.5rem) 0}.receipt__barcode ::slotted(*){max-width:100%}.receipt__footer{text-align:center;font-size:var(--receipt-footer-font-size);color:var(--receipt-text-tertiary)}.receipt__thank-you{font-weight:var(--snice-font-weight-medium,500);color:var(--receipt-text-secondary);margin-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=thermal]){font-family:var(--receipt-thermal-font)}:host([variant=thermal]) .receipt{max-width:var(--receipt-thermal-width);border-radius:0;border:none;background:var(--receipt-thermal-bg);color:rgb(23 23 23);padding:var(--snice-spacing-md,1rem) var(--snice-spacing-sm,.75rem);box-shadow:0 2px 8px rgb(0 0 0 / .06);font-family:var(--receipt-thermal-font)}:host([variant=thermal]) .receipt__divider{border-top-style:dotted;border-top-width:2px;border-top-color:rgb(0 0 0 / .25);margin:var(--snice-spacing-xs,.5rem) 0}:host([variant=thermal]) .receipt__merchant-name{font-size:var(--snice-font-size-md, 1rem);text-transform:uppercase;letter-spacing:.12em;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__merchant-address,:host([variant=thermal]) .receipt__merchant-contact{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__meta{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__meta-label{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__meta-value{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__items-header{font-size:.625rem;border-bottom-style:dotted;color:rgb(115 115 115)}:host([variant=thermal]) .receipt__item{font-size:.8125rem;padding:.125rem 0}:host([variant=thermal]) .receipt__item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__item-qty{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__item-price{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__total-row{font-size:.8125rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__total-row--grand{font-size:.9375rem;border-top-style:double;border-top-width:3px;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__payment{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__payment-method{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__payment-details{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__footer{font-size:.6875rem;letter-spacing:.04em;color:rgb(115 115 115)}:host([variant=thermal]) .receipt__thank-you{text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;color:rgb(82 82 82)}:host([variant=modern]) .receipt{border:none;border-radius:var(--receipt-modern-radius);box-shadow:var(--receipt-modern-shadow);padding:var(--snice-spacing-lg,1.5rem)}:host([variant=modern]) .receipt__divider{border:none;margin:var(--snice-spacing-md,1rem) 0}:host([variant=modern]) .receipt__header{padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=modern]) .receipt__merchant-name{font-size:1.375rem;letter-spacing:-.01em}:host([variant=modern]) .receipt__meta{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__items{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__items-header{border-bottom-color:var(--receipt-border)}:host([variant=modern]) .receipt__totals{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__total-row--grand{border-top:2px solid var(--receipt-accent);color:var(--receipt-accent)}:host([variant=modern]) .receipt__payment{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__footer{padding-top:var(--snice-spacing-xs,.5rem)}:host([variant=modern]) .receipt__thank-you{color:var(--receipt-accent);font-weight:var(--snice-font-weight-semibold,600)}:host([variant=minimal]) .receipt{border:none;border-radius:0;padding:var(--snice-spacing-md,1rem) 0;box-shadow:none;max-width:20rem}:host([variant=minimal]) .receipt__divider{border-top-style:solid;border-top-color:var(--receipt-border);margin:var(--snice-spacing-md,1rem) 0}:host([variant=minimal]) .receipt__header{padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=minimal]) .receipt__logo{display:none}:host([variant=minimal]) .receipt__merchant-name{font-size:1rem;text-transform:uppercase;letter-spacing:.15em;font-weight:var(--snice-font-weight-medium,500)}:host([variant=minimal]) .receipt__merchant-address,:host([variant=minimal]) .receipt__merchant-contact{display:none}:host([variant=minimal]) .receipt__meta{font-size:.75rem}:host([variant=minimal]) .receipt__meta-label{display:none}:host([variant=minimal]) .receipt__items-header{display:none}:host([variant=minimal]) .receipt__item{font-size:.875rem}:host([variant=minimal]) .receipt__item-discount,:host([variant=minimal]) .receipt__item-note,:host([variant=minimal]) .receipt__item-sku{display:none}:host([variant=minimal]) .receipt__total-row{font-size:.875rem}:host([variant=minimal]) .receipt__total-row--grand{font-size:1rem;border-top-width:1px;border-top-style:solid}:host([variant=minimal]) .receipt__payment{font-size:.75rem}:host([variant=minimal]) .receipt__footer{font-size:.75rem}:host([variant=detailed]) .receipt{max-width:26rem}:host([variant=detailed]) .receipt__header{border-bottom:2px solid var(--receipt-text);padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=detailed]) .receipt__merchant-name{font-size:1.5rem}:host([variant=detailed]) .receipt__merchant-contact{font-size:.75rem}:host([variant=detailed]) .receipt__meta{display:grid;grid-template-columns:1fr 1fr;gap:var(--snice-spacing-xs,.5rem)}:host([variant=detailed]) .receipt__items-header{display:flex;font-weight:var(--snice-font-weight-semibold,600);border-bottom:2px solid var(--receipt-border);padding-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=detailed]) .receipt__item{border-bottom:1px solid;padding:var(--snice-spacing-2xs,.25rem) 0}:host([variant=detailed]) .receipt__item:last-child{border-bottom:none}:host([variant=detailed]) .receipt__item-sku{display:block}:host([variant=detailed]) .receipt__item-note{display:block}:host([variant=detailed]) .receipt__item-discount{display:block}:host([variant=detailed]) .receipt__total-row--grand{font-size:1.25rem;border-top:2px solid var(--receipt-text)}:host([variant=detailed]) .receipt__payment-details{font-size:.8125rem}@media print{.receipt{border:none;box-shadow:none;border-radius:0;padding:0;max-width:none}.receipt__barcode ::slotted(*),.receipt__qr ::slotted(*){-webkit-print-color-adjust:exact;print-color-adjust:exact}:host([variant=thermal]) .receipt{max-width:var(--receipt-thermal-width);background:#fff;box-shadow:none}:host([variant=modern]) .receipt{box-shadow:none}:host([variant=modern]) .receipt__items,:host([variant=modern]) .receipt__meta,:host([variant=modern]) .receipt__payment,:host([variant=modern]) .receipt__totals{background:0 0;border:1px solid var(--receipt-border)}}\";\n\nlet SniceReceipt = (() => {\n let _classDecorators = [element('snice-receipt')];\n let _classDescriptor;\n let _classExtraInitializers = [];\n let _classThis;\n let _classSuper = HTMLElement;\n let _instanceExtraInitializers = [];\n let _receiptNumber_decorators;\n let _receiptNumber_initializers = [];\n let _receiptNumber_extraInitializers = [];\n let _date_decorators;\n let _date_initializers = [];\n let _date_extraInitializers = [];\n let _currency_decorators;\n let _currency_initializers = [];\n let _currency_extraInitializers = [];\n let _locale_decorators;\n let _locale_initializers = [];\n let _locale_extraInitializers = [];\n let _merchant_decorators;\n let _merchant_initializers = [];\n let _merchant_extraInitializers = [];\n let _items_decorators;\n let _items_initializers = [];\n let _items_extraInitializers = [];\n let _tax_decorators;\n let _tax_initializers = [];\n let _tax_extraInitializers = [];\n let _taxes_decorators;\n let _taxes_initializers = [];\n let _taxes_extraInitializers = [];\n let _subtotal_decorators;\n let _subtotal_initializers = [];\n let _subtotal_extraInitializers = [];\n let _total_decorators;\n let _total_initializers = [];\n let _total_extraInitializers = [];\n let _tip_decorators;\n let _tip_initializers = [];\n let _tip_extraInitializers = [];\n let _discount_decorators;\n let _discount_initializers = [];\n let _discount_extraInitializers = [];\n let _discountLabel_decorators;\n let _discountLabel_initializers = [];\n let _discountLabel_extraInitializers = [];\n let _paymentMethod_decorators;\n let _paymentMethod_initializers = [];\n let _paymentMethod_extraInitializers = [];\n let _paymentDetails_decorators;\n let _paymentDetails_initializers = [];\n let _paymentDetails_extraInitializers = [];\n let _variant_decorators;\n let _variant_initializers = [];\n let _variant_extraInitializers = [];\n let _showQr_decorators;\n let _showQr_initializers = [];\n let _showQr_extraInitializers = [];\n let _qrData_decorators;\n let _qrData_initializers = [];\n let _qrData_extraInitializers = [];\n let _qrPosition_decorators;\n let _qrPosition_initializers = [];\n let _qrPosition_extraInitializers = [];\n let _thankYou_decorators;\n let _thankYou_initializers = [];\n let _thankYou_extraInitializers = [];\n let _cashier_decorators;\n let _cashier_initializers = [];\n let _cashier_extraInitializers = [];\n let _terminalId_decorators;\n let _terminalId_initializers = [];\n let _terminalId_extraInitializers = [];\n let _renderContent_decorators;\n let _componentStyles_decorators;\n (class extends _classSuper {\n static { _classThis = this; }\n static {\n const _metadata = typeof Symbol === \"function\" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;\n _receiptNumber_decorators = [property()];\n _date_decorators = [property()];\n _currency_decorators = [property()];\n _locale_decorators = [property()];\n _merchant_decorators = [property({ type: Object, attribute: false })];\n _items_decorators = [property({ type: Array, attribute: false })];\n _tax_decorators = [property({ type: Number })];\n _taxes_decorators = [property({ type: Array, attribute: false })];\n _subtotal_decorators = [property({ type: Number })];\n _total_decorators = [property({ type: Number })];\n _tip_decorators = [property({ type: Number })];\n _discount_decorators = [property({ type: Number })];\n _discountLabel_decorators = [property()];\n _paymentMethod_decorators = [property()];\n _paymentDetails_decorators = [property()];\n _variant_decorators = [property()];\n _showQr_decorators = [property({ type: Boolean })];\n _qrData_decorators = [property()];\n _qrPosition_decorators = [property()];\n _thankYou_decorators = [property()];\n _cashier_decorators = [property()];\n _terminalId_decorators = [property()];\n _renderContent_decorators = [render()];\n _componentStyles_decorators = [styles()];\n __esDecorate(this, null, _renderContent_decorators, { kind: \"method\", name: \"renderContent\", static: false, private: false, access: { has: obj => \"renderContent\" in obj, get: obj => obj.renderContent }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _componentStyles_decorators, { kind: \"method\", name: \"componentStyles\", static: false, private: false, access: { has: obj => \"componentStyles\" in obj, get: obj => obj.componentStyles }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(null, null, _receiptNumber_decorators, { kind: \"field\", name: \"receiptNumber\", static: false, private: false, access: { has: obj => \"receiptNumber\" in obj, get: obj => obj.receiptNumber, set: (obj, value) => { obj.receiptNumber = value; } }, metadata: _metadata }, _receiptNumber_initializers, _receiptNumber_extraInitializers);\n __esDecorate(null, null, _date_decorators, { kind: \"field\", name: \"date\", static: false, private: false, access: { has: obj => \"date\" in obj, get: obj => obj.date, set: (obj, value) => { obj.date = value; } }, metadata: _metadata }, _date_initializers, _date_extraInitializers);\n __esDecorate(null, null, _currency_decorators, { kind: \"field\", name: \"currency\", static: false, private: false, access: { has: obj => \"currency\" in obj, get: obj => obj.currency, set: (obj, value) => { obj.currency = value; } }, metadata: _metadata }, _currency_initializers, _currency_extraInitializers);\n __esDecorate(null, null, _locale_decorators, { kind: \"field\", name: \"locale\", static: false, private: false, access: { has: obj => \"locale\" in obj, get: obj => obj.locale, set: (obj, value) => { obj.locale = value; } }, metadata: _metadata }, _locale_initializers, _locale_extraInitializers);\n __esDecorate(null, null, _merchant_decorators, { kind: \"field\", name: \"merchant\", static: false, private: false, access: { has: obj => \"merchant\" in obj, get: obj => obj.merchant, set: (obj, value) => { obj.merchant = value; } }, metadata: _metadata }, _merchant_initializers, _merchant_extraInitializers);\n __esDecorate(null, null, _items_decorators, { kind: \"field\", name: \"items\", static: false, private: false, access: { has: obj => \"items\" in obj, get: obj => obj.items, set: (obj, value) => { obj.items = value; } }, metadata: _metadata }, _items_initializers, _items_extraInitializers);\n __esDecorate(null, null, _tax_decorators, { kind: \"field\", name: \"tax\", static: false, private: false, access: { has: obj => \"tax\" in obj, get: obj => obj.tax, set: (obj, value) => { obj.tax = value; } }, metadata: _metadata }, _tax_initializers, _tax_extraInitializers);\n __esDecorate(null, null, _taxes_decorators, { kind: \"field\", name: \"taxes\", static: false, private: false, access: { has: obj => \"taxes\" in obj, get: obj => obj.taxes, set: (obj, value) => { obj.taxes = value; } }, metadata: _metadata }, _taxes_initializers, _taxes_extraInitializers);\n __esDecorate(null, null, _subtotal_decorators, { kind: \"field\", name: \"subtotal\", static: false, private: false, access: { has: obj => \"subtotal\" in obj, get: obj => obj.subtotal, set: (obj, value) => { obj.subtotal = value; } }, metadata: _metadata }, _subtotal_initializers, _subtotal_extraInitializers);\n __esDecorate(null, null, _total_decorators, { kind: \"field\", name: \"total\", static: false, private: false, access: { has: obj => \"total\" in obj, get: obj => obj.total, set: (obj, value) => { obj.total = value; } }, metadata: _metadata }, _total_initializers, _total_extraInitializers);\n __esDecorate(null, null, _tip_decorators, { kind: \"field\", name: \"tip\", static: false, private: false, access: { has: obj => \"tip\" in obj, get: obj => obj.tip, set: (obj, value) => { obj.tip = value; } }, metadata: _metadata }, _tip_initializers, _tip_extraInitializers);\n __esDecorate(null, null, _discount_decorators, { kind: \"field\", name: \"discount\", static: false, private: false, access: { has: obj => \"discount\" in obj, get: obj => obj.discount, set: (obj, value) => { obj.discount = value; } }, metadata: _metadata }, _discount_initializers, _discount_extraInitializers);\n __esDecorate(null, null, _discountLabel_decorators, { kind: \"field\", name: \"discountLabel\", static: false, private: false, access: { has: obj => \"discountLabel\" in obj, get: obj => obj.discountLabel, set: (obj, value) => { obj.discountLabel = value; } }, metadata: _metadata }, _discountLabel_initializers, _discountLabel_extraInitializers);\n __esDecorate(null, null, _paymentMethod_decorators, { kind: \"field\", name: \"paymentMethod\", static: false, private: false, access: { has: obj => \"paymentMethod\" in obj, get: obj => obj.paymentMethod, set: (obj, value) => { obj.paymentMethod = value; } }, metadata: _metadata }, _paymentMethod_initializers, _paymentMethod_extraInitializers);\n __esDecorate(null, null, _paymentDetails_decorators, { kind: \"field\", name: \"paymentDetails\", static: false, private: false, access: { has: obj => \"paymentDetails\" in obj, get: obj => obj.paymentDetails, set: (obj, value) => { obj.paymentDetails = value; } }, metadata: _metadata }, _paymentDetails_initializers, _paymentDetails_extraInitializers);\n __esDecorate(null, null, _variant_decorators, { kind: \"field\", name: \"variant\", static: false, private: false, access: { has: obj => \"variant\" in obj, get: obj => obj.variant, set: (obj, value) => { obj.variant = value; } }, metadata: _metadata }, _variant_initializers, _variant_extraInitializers);\n __esDecorate(null, null, _showQr_decorators, { kind: \"field\", name: \"showQr\", static: false, private: false, access: { has: obj => \"showQr\" in obj, get: obj => obj.showQr, set: (obj, value) => { obj.showQr = value; } }, metadata: _metadata }, _showQr_initializers, _showQr_extraInitializers);\n __esDecorate(null, null, _qrData_decorators, { kind: \"field\", name: \"qrData\", static: false, private: false, access: { has: obj => \"qrData\" in obj, get: obj => obj.qrData, set: (obj, value) => { obj.qrData = value; } }, metadata: _metadata }, _qrData_initializers, _qrData_extraInitializers);\n __esDecorate(null, null, _qrPosition_decorators, { kind: \"field\", name: \"qrPosition\", static: false, private: false, access: { has: obj => \"qrPosition\" in obj, get: obj => obj.qrPosition, set: (obj, value) => { obj.qrPosition = value; } }, metadata: _metadata }, _qrPosition_initializers, _qrPosition_extraInitializers);\n __esDecorate(null, null, _thankYou_decorators, { kind: \"field\", name: \"thankYou\", static: false, private: false, access: { has: obj => \"thankYou\" in obj, get: obj => obj.thankYou, set: (obj, value) => { obj.thankYou = value; } }, metadata: _metadata }, _thankYou_initializers, _thankYou_extraInitializers);\n __esDecorate(null, null, _cashier_decorators, { kind: \"field\", name: \"cashier\", static: false, private: false, access: { has: obj => \"cashier\" in obj, get: obj => obj.cashier, set: (obj, value) => { obj.cashier = value; } }, metadata: _metadata }, _cashier_initializers, _cashier_extraInitializers);\n __esDecorate(null, null, _terminalId_decorators, { kind: \"field\", name: \"terminalId\", static: false, private: false, access: { has: obj => \"terminalId\" in obj, get: obj => obj.terminalId, set: (obj, value) => { obj.terminalId = value; } }, metadata: _metadata }, _terminalId_initializers, _terminalId_extraInitializers);\n __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: \"class\", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);\n _classThis = _classDescriptor.value;\n if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });\n __runInitializers(_classThis, _classExtraInitializers);\n }\n getComputedSubtotal() {\n if (this.subtotal > 0)\n return this.subtotal;\n return this.items.reduce((sum, item) => {\n const lineTotal = item.quantity * item.price;\n const itemDiscount = item.discount || 0;\n return sum + lineTotal - itemDiscount;\n }, 0);\n }\n getComputedTax() {\n if (this.taxes.length > 0) {\n return this.taxes.reduce((sum, t) => sum + t.amount, 0);\n }\n return this.tax;\n }\n getComputedTotal() {\n if (this.total > 0)\n return this.total;\n const sub = this.getComputedSubtotal();\n const taxAmt = this.getComputedTax();\n return sub + taxAmt - this.discount + this.tip;\n }\n formatCurrency(amount) {\n const loc = this.locale || undefined;\n try {\n return new Intl.NumberFormat(loc, {\n style: 'currency',\n currency: this.currency\n }).format(amount);\n }\n catch {\n return `${this.currency} ${amount.toFixed(2)}`;\n }\n }\n print() {\n const printWindow = window.open('', '_blank');\n if (!printWindow)\n return;\n const content = this.shadowRoot?.innerHTML || '';\n const stylesText = Array.from(this.shadowRoot?.querySelectorAll('style') || [])\n .map(s => s.textContent)\n .join('\\n');\n printWindow.document.write(`<!DOCTYPE html><html><head><style>${stylesText}</style></head><body>${content}</body></html>`);\n printWindow.document.close();\n printWindow.print();\n printWindow.close();\n }\n renderDivider() {\n return html /*html*/ `<hr class=\"receipt__divider\" part=\"divider\" />`;\n }\n renderQrSlot() {\n const showSlot = this.showQr;\n if (!showSlot)\n return '';\n return html /*html*/ `\n <div class=\"receipt__qr\" part=\"qr-container\">\n <slot name=\"qr\"></slot>\n </div>\n `;\n }\n renderItem(item) {\n const lineTotal = item.quantity * item.price;\n const hasDiscount = (item.discount || 0) > 0;\n const showQty = item.quantity !== 1;\n const isDetailed = this.variant === 'detailed';\n const hasSku = isDetailed && item.sku;\n const hasNote = isDetailed && item.note;\n return html /*html*/ `\n <div class=\"receipt__item\" part=\"item\">\n <div class=\"receipt__item-info\">\n <span class=\"receipt__item-name\" part=\"item-name\">${item.name}</span>\n <if ${hasSku}>\n <span class=\"receipt__item-sku\" part=\"item-sku\">${item.sku}</span>\n </if>\n <if ${hasNote}>\n <span class=\"receipt__item-note\">${item.note}</span>\n </if>\n <if ${hasDiscount}>\n <span class=\"receipt__item-discount\">-${this.formatCurrency(item.discount || 0)}</span>\n </if>\n </div>\n <if ${showQty}>\n <span class=\"receipt__item-qty\" part=\"item-qty\">x${item.quantity}</span>\n </if>\n <span class=\"receipt__item-price\" part=\"item-price\">${this.formatCurrency(lineTotal)}</span>\n </div>\n `;\n }\n renderMerchantContact() {\n const m = this.merchant;\n const hasPhone = m.phone;\n const hasEmail = m.email;\n const hasWebsite = m.website;\n const hasTaxId = m.taxId;\n const hasAny = hasPhone || hasEmail || hasWebsite || hasTaxId;\n if (!hasAny)\n return '';\n const parts = [];\n if (m.phone)\n parts.push(m.phone);\n if (m.email)\n parts.push(m.email);\n if (m.website)\n parts.push(m.website);\n if (m.taxId)\n parts.push(`Tax ID: ${m.taxId}`);\n return html /*html*/ `\n <div class=\"receipt__merchant-contact\" part=\"merchant-contact\">${parts.join(' | ')}</div>\n `;\n }\n renderContent() {\n const computedSubtotal = this.getComputedSubtotal();\n const computedTotal = this.getComputedTotal();\n const computedTax = this.getComputedTax();\n const hasMerchant = this.merchant.name;\n const hasTax = computedTax > 0;\n const hasMultipleTaxes = this.taxes.length > 0;\n const hasTip = this.tip > 0;\n const hasDiscount = this.discount > 0;\n const hasItems = this.items.length > 0;\n const hasMeta = this.receiptNumber || this.date || this.cashier || this.terminalId;\n const hasPayment = this.paymentMethod;\n const qrTop = this.showQr && this.qrPosition === 'top';\n const qrBottom = this.showQr && this.qrPosition === 'bottom';\n const qrFooter = this.showQr && this.qrPosition === 'footer';\n return html /*html*/ `\n <div class=\"receipt\" part=\"base\">\n\n <if ${qrTop}>\n ${this.renderQrSlot()}\n ${this.renderDivider()}\n </if>\n\n <if ${hasMerchant}>\n <div class=\"receipt__header\" part=\"header\">\n <if ${this.merchant.logo}>\n <img class=\"receipt__logo\" src=\"${this.merchant.logo}\" alt=\"${this.merchant.name}\" part=\"logo\" />\n </if>\n <div class=\"receipt__merchant-name\" part=\"merchant-name\">${this.merchant.name}</div>\n <if ${this.merchant.address}>\n <div class=\"receipt__merchant-address\" part=\"merchant-address\">${this.merchant.address}</div>\n </if>\n ${this.renderMerchantContact()}\n </div>\n ${this.renderDivider()}\n </if>\n\n <if ${hasMeta}>\n <div class=\"receipt__meta\" part=\"meta\">\n <if ${this.receiptNumber}>\n <div class=\"receipt__meta-item\">\n <span class=\"receipt__meta-label\">Receipt #</span>\n <span class=\"receipt__meta-value\" part=\"receipt-number\">${this.receiptNumber}</span>\n </div>\n </if>\n <if ${this.date}>\n <div class=\"receipt__meta-item\">\n <span class=\"receipt__meta-label\">Date</span>\n <span class=\"receipt__meta-value\" part=\"date\">${this.date}</span>\n </div>\n </if>\n <if ${this.cashier}>\n <div class=\"receipt__meta-item\">\n <span class=\"receipt__meta-label\">Cashier</span>\n <span class=\"receipt__meta-value\">${this.cashier}</span>\n </div>\n </if>\n <if ${this.terminalId}>\n <div class=\"receipt__meta-item\">\n <span class=\"receipt__meta-label\">Terminal</span>\n <span class=\"receipt__meta-value\">${this.terminalId}</span>\n </div>\n </if>\n </div>\n ${this.renderDivider()}\n </if>\n\n <if ${hasItems}>\n <div class=\"receipt__items-header\" part=\"items-header\">\n <span>Item</span>\n <span>Amount</span>\n </div>\n <div class=\"receipt__items\" part=\"items\">\n ${this.items.map(item => this.renderItem(item))}\n </div>\n ${this.renderDivider()}\n </if>\n\n <div class=\"receipt__totals\" part=\"totals\">\n <div class=\"receipt__total-row\" part=\"subtotal-row\">\n <span>Subtotal</span>\n <span>${this.formatCurrency(computedSubtotal)}</span>\n </div>\n\n <if ${hasDiscount}>\n <div class=\"receipt__total-row receipt__total-row--discount\" part=\"discount-row\">\n <span>${this.discountLabel}</span>\n <span>-${this.formatCurrency(this.discount)}</span>\n </div>\n </if>\n\n <if ${hasTax && !hasMultipleTaxes}>\n <div class=\"receipt__total-row\" part=\"tax-row\">\n <span>Tax</span>\n <span>${this.formatCurrency(this.tax)}</span>\n </div>\n </if>\n\n <if ${hasMultipleTaxes}>\n ${this.taxes.map(t => {\n const label = t.rate ? `${t.label} (${t.rate}%)` : t.label;\n return html /*html*/ `\n <div class=\"receipt__total-row\" part=\"tax-row\">\n <span>${label}</span>\n <span>${this.formatCurrency(t.amount)}</span>\n </div>\n `;\n })}\n </if>\n\n <if ${hasTip}>\n <div class=\"receipt__total-row\" part=\"tip-row\">\n <span>Tip</span>\n <span>${this.formatCurrency(this.tip)}</span>\n </div>\n </if>\n\n <div class=\"receipt__total-row receipt__total-row--grand\" part=\"total-row\">\n <span>Total</span>\n <span>${this.formatCurrency(computedTotal)}</span>\n </div>\n </div>\n\n <if ${hasPayment}>\n ${this.renderDivider()}\n <div class=\"receipt__payment\" part=\"payment\">\n <span>Paid with </span>\n <span class=\"receipt__payment-method\" part=\"payment-method\">${this.paymentMethod}</span>\n <if ${this.paymentDetails}>\n <div class=\"receipt__payment-details\" part=\"payment-details\">${this.paymentDetails}</div>\n </if>\n </div>\n </if>\n\n <if ${qrBottom}>\n ${this.renderDivider()}\n ${this.renderQrSlot()}\n </if>\n\n <div class=\"receipt__barcode\" part=\"barcode-area\">\n <slot name=\"barcode\"></slot>\n </div>\n\n ${this.renderDivider()}\n <div class=\"receipt__footer\" part=\"footer\">\n <if ${this.thankYou}>\n <div class=\"receipt__thank-you\" part=\"thank-you\">${this.thankYou}</div>\n </if>\n <slot></slot>\n <if ${qrFooter}>\n ${this.renderQrSlot()}\n </if>\n </div>\n </div>\n `;\n }\n componentStyles() {\n return css /*css*/ `${cssContent}`;\n }\n constructor() {\n super(...arguments);\n this.receiptNumber = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _receiptNumber_initializers, ''));\n this.date = (__runInitializers(this, _receiptNumber_extraInitializers), __runInitializers(this, _date_initializers, ''));\n this.currency = (__runInitializers(this, _date_extraInitializers), __runInitializers(this, _currency_initializers, 'USD'));\n this.locale = (__runInitializers(this, _currency_extraInitializers), __runInitializers(this, _locale_initializers, ''));\n this.merchant = (__runInitializers(this, _locale_extraInitializers), __runInitializers(this, _merchant_initializers, { name: '' }));\n this.items = (__runInitializers(this, _merchant_extraInitializers), __runInitializers(this, _items_initializers, []));\n this.tax = (__runInitializers(this, _items_extraInitializers), __runInitializers(this, _tax_initializers, 0));\n this.taxes = (__runInitializers(this, _tax_extraInitializers), __runInitializers(this, _taxes_initializers, []));\n this.subtotal = (__runInitializers(this, _taxes_extraInitializers), __runInitializers(this, _subtotal_initializers, 0));\n this.total = (__runInitializers(this, _subtotal_extraInitializers), __runInitializers(this, _total_initializers, 0));\n this.tip = (__runInitializers(this, _total_extraInitializers), __runInitializers(this, _tip_initializers, 0));\n this.discount = (__runInitializers(this, _tip_extraInitializers), __runInitializers(this, _discount_initializers, 0));\n this.discountLabel = (__runInitializers(this, _discount_extraInitializers), __runInitializers(this, _discountLabel_initializers, 'Discount'));\n this.paymentMethod = (__runInitializers(this, _discountLabel_extraInitializers), __runInitializers(this, _paymentMethod_initializers, ''));\n this.paymentDetails = (__runInitializers(this, _paymentMethod_extraInitializers), __runInitializers(this, _paymentDetails_initializers, ''));\n this.variant = (__runInitializers(this, _paymentDetails_extraInitializers), __runInitializers(this, _variant_initializers, 'standard'));\n this.showQr = (__runInitializers(this, _variant_extraInitializers), __runInitializers(this, _showQr_initializers, false));\n this.qrData = (__runInitializers(this, _showQr_extraInitializers), __runInitializers(this, _qrData_initializers, ''));\n this.qrPosition = (__runInitializers(this, _qrData_extraInitializers), __runInitializers(this, _qrPosition_initializers, 'bottom'));\n this.thankYou = (__runInitializers(this, _qrPosition_extraInitializers), __runInitializers(this, _thankYou_initializers, 'Thank you for your purchase!'));\n this.cashier = (__runInitializers(this, _thankYou_extraInitializers), __runInitializers(this, _cashier_initializers, ''));\n this.terminalId = (__runInitializers(this, _cashier_extraInitializers), __runInitializers(this, _terminalId_initializers, ''));\n __runInitializers(this, _terminalId_extraInitializers);\n }\n });\n return _classThis;\n})();\n\nexport { SniceReceipt };\n//# sourceMappingURL=snice-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AAiB,CAAC,IAAI,EAAE,qBAAqB,EAAE,EAAE,CAAC,CAAC;EACrI,YAAY,IAAI,CAAC,UAAU,IAAI,iBAAiB,CAAC,IAAI,EAAE,0BAA0B,CAAC,EAAE,iBAAiB,CAAC,IAAI,EAAE,wBAAwB,EAAE,EAAE,CAAC,CAAC;EAC1I,YAAY,iBAAiB,CAAC,IAAI,EAAE,6BAA6B,CAAC;EAClE,QAAQ;EACR,KAAK;EACL,IAAI,OAAO,UAAU;EACrB,CAAC;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,10 +1,10 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
3
+ * A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
6
6
  */
7
- void 0===globalThis.Snice&&console.warn("[snice] snice-runtime.min.js must be loaded before snice-receipt.min.js");var SniceReceipt=function(e,t){"use strict";function r(e,t,r,i,a,s){function n(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var o,c=i.kind,p="getter"===c?"get":"setter"===c?"set":"value",d=!t&&e?i.static?e:e.prototype:null,l=t||(d?Object.getOwnPropertyDescriptor(d,i.name):{}),m=!1,h=r.length-1;h>=0;h--){var v={};for(var _ in i)v[_]="access"===_?{}:i[_];for(var _ in i.access)v.access[_]=i.access[_];v.addInitializer=function(e){if(m)throw new TypeError("Cannot add initializers after decoration has completed");s.push(n(e||null))};var u=(0,r[h])("accessor"===c?{get:l.get,set:l.set}:l[p],v);if("accessor"===c){if(void 0===u)continue;if(null===u||"object"!=typeof u)throw new TypeError("Object expected");(o=n(u.get))&&(l.get=o),(o=n(u.set))&&(l.set=o),(o=n(u.init))&&a.unshift(o)}else(o=n(u))&&("field"===c?a.unshift(o):l[p]=o)}d&&Object.defineProperty(d,i.name,l),m=!0}function i(e,t,r){for(var i=arguments.length>2,a=0;a<t.length;a++)r=i?t[a].call(e,r):t[a].call(e);return i?r:void 0}"function"==typeof SuppressedError&&SuppressedError;let a=(()=>{let e,a,s,n,o,c,p,d,l,m,h,v,_,u,f,g,b,y,x,w,$,k,z,q,C,D,S=[t.element("snice-receipt")],j=[],I=HTMLElement,T=[],N=[],P=[],Q=[],M=[],L=[],O=[],Y=[],E=[],A=[],R=[],F=[],H=[],B=[],U=[],G=[],J=[],K=[],V=[],W=[],X=[],Z=[],ee=[],te=[],re=[],ie=[],ae=[],se=[],ne=[],oe=[],ce=[],pe=[],de=[],le=[],me=[],he=[],ve=[],_e=[],ue=[],fe=[],ge=[],be=[],ye=[],xe=[],we=[];return class extends I{static{a=this}static{const $e="function"==typeof Symbol&&Symbol.metadata?Object.create(I[Symbol.metadata]??null):void 0;s=[t.property()],n=[t.property()],o=[t.property()],c=[t.property()],p=[t.property({type:Object,attribute:!1})],d=[t.property({type:Array,attribute:!1})],l=[t.property({type:Number})],m=[t.property({type:Array,attribute:!1})],h=[t.property({type:Number})],v=[t.property({type:Number})],_=[t.property({type:Number})],u=[t.property({type:Number})],f=[t.property()],g=[t.property()],b=[t.property()],y=[t.property()],x=[t.property({type:Boolean})],w=[t.property()],$=[t.property()],k=[t.property()],z=[t.property()],q=[t.property()],C=[t.render()],D=[t.styles()],r(this,null,C,{kind:"method",name:"renderContent",static:!1,private:!1,access:{has:e=>"renderContent"in e,get:e=>e.renderContent},metadata:$e},null,T),r(this,null,D,{kind:"method",name:"componentStyles",static:!1,private:!1,access:{has:e=>"componentStyles"in e,get:e=>e.componentStyles},metadata:$e},null,T),r(null,null,s,{kind:"field",name:"receiptNumber",static:!1,private:!1,access:{has:e=>"receiptNumber"in e,get:e=>e.receiptNumber,set:(e,t)=>{e.receiptNumber=t}},metadata:$e},N,P),r(null,null,n,{kind:"field",name:"date",static:!1,private:!1,access:{has:e=>"date"in e,get:e=>e.date,set:(e,t)=>{e.date=t}},metadata:$e},Q,M),r(null,null,o,{kind:"field",name:"currency",static:!1,private:!1,access:{has:e=>"currency"in e,get:e=>e.currency,set:(e,t)=>{e.currency=t}},metadata:$e},L,O),r(null,null,c,{kind:"field",name:"locale",static:!1,private:!1,access:{has:e=>"locale"in e,get:e=>e.locale,set:(e,t)=>{e.locale=t}},metadata:$e},Y,E),r(null,null,p,{kind:"field",name:"merchant",static:!1,private:!1,access:{has:e=>"merchant"in e,get:e=>e.merchant,set:(e,t)=>{e.merchant=t}},metadata:$e},A,R),r(null,null,d,{kind:"field",name:"items",static:!1,private:!1,access:{has:e=>"items"in e,get:e=>e.items,set:(e,t)=>{e.items=t}},metadata:$e},F,H),r(null,null,l,{kind:"field",name:"tax",static:!1,private:!1,access:{has:e=>"tax"in e,get:e=>e.tax,set:(e,t)=>{e.tax=t}},metadata:$e},B,U),r(null,null,m,{kind:"field",name:"taxes",static:!1,private:!1,access:{has:e=>"taxes"in e,get:e=>e.taxes,set:(e,t)=>{e.taxes=t}},metadata:$e},G,J),r(null,null,h,{kind:"field",name:"subtotal",static:!1,private:!1,access:{has:e=>"subtotal"in e,get:e=>e.subtotal,set:(e,t)=>{e.subtotal=t}},metadata:$e},K,V),r(null,null,v,{kind:"field",name:"total",static:!1,private:!1,access:{has:e=>"total"in e,get:e=>e.total,set:(e,t)=>{e.total=t}},metadata:$e},W,X),r(null,null,_,{kind:"field",name:"tip",static:!1,private:!1,access:{has:e=>"tip"in e,get:e=>e.tip,set:(e,t)=>{e.tip=t}},metadata:$e},Z,ee),r(null,null,u,{kind:"field",name:"discount",static:!1,private:!1,access:{has:e=>"discount"in e,get:e=>e.discount,set:(e,t)=>{e.discount=t}},metadata:$e},te,re),r(null,null,f,{kind:"field",name:"discountLabel",static:!1,private:!1,access:{has:e=>"discountLabel"in e,get:e=>e.discountLabel,set:(e,t)=>{e.discountLabel=t}},metadata:$e},ie,ae),r(null,null,g,{kind:"field",name:"paymentMethod",static:!1,private:!1,access:{has:e=>"paymentMethod"in e,get:e=>e.paymentMethod,set:(e,t)=>{e.paymentMethod=t}},metadata:$e},se,ne),r(null,null,b,{kind:"field",name:"paymentDetails",static:!1,private:!1,access:{has:e=>"paymentDetails"in e,get:e=>e.paymentDetails,set:(e,t)=>{e.paymentDetails=t}},metadata:$e},oe,ce),r(null,null,y,{kind:"field",name:"variant",static:!1,private:!1,access:{has:e=>"variant"in e,get:e=>e.variant,set:(e,t)=>{e.variant=t}},metadata:$e},pe,de),r(null,null,x,{kind:"field",name:"showQr",static:!1,private:!1,access:{has:e=>"showQr"in e,get:e=>e.showQr,set:(e,t)=>{e.showQr=t}},metadata:$e},le,me),r(null,null,w,{kind:"field",name:"qrData",static:!1,private:!1,access:{has:e=>"qrData"in e,get:e=>e.qrData,set:(e,t)=>{e.qrData=t}},metadata:$e},he,ve),r(null,null,$,{kind:"field",name:"qrPosition",static:!1,private:!1,access:{has:e=>"qrPosition"in e,get:e=>e.qrPosition,set:(e,t)=>{e.qrPosition=t}},metadata:$e},_e,ue),r(null,null,k,{kind:"field",name:"thankYou",static:!1,private:!1,access:{has:e=>"thankYou"in e,get:e=>e.thankYou,set:(e,t)=>{e.thankYou=t}},metadata:$e},fe,ge),r(null,null,z,{kind:"field",name:"cashier",static:!1,private:!1,access:{has:e=>"cashier"in e,get:e=>e.cashier,set:(e,t)=>{e.cashier=t}},metadata:$e},be,ye),r(null,null,q,{kind:"field",name:"terminalId",static:!1,private:!1,access:{has:e=>"terminalId"in e,get:e=>e.terminalId,set:(e,t)=>{e.terminalId=t}},metadata:$e},xe,we),r(null,e={value:a},S,{kind:"class",name:a.name,metadata:$e},null,j),a=e.value,$e&&Object.defineProperty(a,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:$e}),i(a,j)}getComputedSubtotal(){return this.subtotal>0?this.subtotal:this.items.reduce((e,t)=>e+t.quantity*t.price-(t.discount||0),0)}getComputedTax(){return this.taxes.length>0?this.taxes.reduce((e,t)=>e+t.amount,0):this.tax}getComputedTotal(){if(this.total>0)return this.total;return this.getComputedSubtotal()+this.getComputedTax()-this.discount+this.tip}formatCurrency(e){const t=this.locale||void 0;try{return new Intl.NumberFormat(t,{style:"currency",currency:this.currency}).format(e)}catch{return`${this.currency} ${e.toFixed(2)}`}}print(){const e=window.open("","_blank");if(!e)return;const t=this.shadowRoot?.innerHTML||"",r=Array.from(this.shadowRoot?.querySelectorAll("style")||[]).map(e=>e.textContent).join("\n");e.document.write(`<!DOCTYPE html><html><head><style>${r}</style></head><body>${t}</body></html>`),e.document.close(),e.print(),e.close()}renderDivider(){return t.html`<hr class="receipt__divider" part="divider" />`}renderQrSlot(){return this.showQr?t.html`
7
+ void 0===globalThis.Snice&&console.warn("[snice] snice-runtime.min.js must be loaded before snice-receipt.min.js");var SniceReceipt=function(e,t){"use strict";function r(e,t,r,i,a,s){function n(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var o,c=i.kind,p="getter"===c?"get":"setter"===c?"set":"value",d=!t&&e?i.static?e:e.prototype:null,m=t||(d?Object.getOwnPropertyDescriptor(d,i.name):{}),l=!1,h=r.length-1;h>=0;h--){var v={};for(var _ in i)v[_]="access"===_?{}:i[_];for(var _ in i.access)v.access[_]=i.access[_];v.addInitializer=function(e){if(l)throw new TypeError("Cannot add initializers after decoration has completed");s.push(n(e||null))};var u=(0,r[h])("accessor"===c?{get:m.get,set:m.set}:m[p],v);if("accessor"===c){if(void 0===u)continue;if(null===u||"object"!=typeof u)throw new TypeError("Object expected");(o=n(u.get))&&(m.get=o),(o=n(u.set))&&(m.set=o),(o=n(u.init))&&a.unshift(o)}else(o=n(u))&&("field"===c?a.unshift(o):m[p]=o)}d&&Object.defineProperty(d,i.name,m),l=!0}function i(e,t,r){for(var i=arguments.length>2,a=0;a<t.length;a++)r=i?t[a].call(e,r):t[a].call(e);return i?r:void 0}"function"==typeof SuppressedError&&SuppressedError;let a=(()=>{let e,a,s,n,o,c,p,d,m,l,h,v,_,u,f,g,b,y,x,w,$,k,z,q,C,D,S=[t.element("snice-receipt")],j=[],I=HTMLElement,T=[],N=[],P=[],Q=[],M=[],L=[],O=[],Y=[],E=[],A=[],R=[],F=[],H=[],B=[],U=[],G=[],J=[],K=[],V=[],W=[],X=[],Z=[],ee=[],te=[],re=[],ie=[],ae=[],se=[],ne=[],oe=[],ce=[],pe=[],de=[],me=[],le=[],he=[],ve=[],_e=[],ue=[],fe=[],ge=[],be=[],ye=[],xe=[],we=[];return class extends I{static{a=this}static{const $e="function"==typeof Symbol&&Symbol.metadata?Object.create(I[Symbol.metadata]??null):void 0;s=[t.property()],n=[t.property()],o=[t.property()],c=[t.property()],p=[t.property({type:Object,attribute:!1})],d=[t.property({type:Array,attribute:!1})],m=[t.property({type:Number})],l=[t.property({type:Array,attribute:!1})],h=[t.property({type:Number})],v=[t.property({type:Number})],_=[t.property({type:Number})],u=[t.property({type:Number})],f=[t.property()],g=[t.property()],b=[t.property()],y=[t.property()],x=[t.property({type:Boolean})],w=[t.property()],$=[t.property()],k=[t.property()],z=[t.property()],q=[t.property()],C=[t.render()],D=[t.styles()],r(this,null,C,{kind:"method",name:"renderContent",static:!1,private:!1,access:{has:e=>"renderContent"in e,get:e=>e.renderContent},metadata:$e},null,T),r(this,null,D,{kind:"method",name:"componentStyles",static:!1,private:!1,access:{has:e=>"componentStyles"in e,get:e=>e.componentStyles},metadata:$e},null,T),r(null,null,s,{kind:"field",name:"receiptNumber",static:!1,private:!1,access:{has:e=>"receiptNumber"in e,get:e=>e.receiptNumber,set:(e,t)=>{e.receiptNumber=t}},metadata:$e},N,P),r(null,null,n,{kind:"field",name:"date",static:!1,private:!1,access:{has:e=>"date"in e,get:e=>e.date,set:(e,t)=>{e.date=t}},metadata:$e},Q,M),r(null,null,o,{kind:"field",name:"currency",static:!1,private:!1,access:{has:e=>"currency"in e,get:e=>e.currency,set:(e,t)=>{e.currency=t}},metadata:$e},L,O),r(null,null,c,{kind:"field",name:"locale",static:!1,private:!1,access:{has:e=>"locale"in e,get:e=>e.locale,set:(e,t)=>{e.locale=t}},metadata:$e},Y,E),r(null,null,p,{kind:"field",name:"merchant",static:!1,private:!1,access:{has:e=>"merchant"in e,get:e=>e.merchant,set:(e,t)=>{e.merchant=t}},metadata:$e},A,R),r(null,null,d,{kind:"field",name:"items",static:!1,private:!1,access:{has:e=>"items"in e,get:e=>e.items,set:(e,t)=>{e.items=t}},metadata:$e},F,H),r(null,null,m,{kind:"field",name:"tax",static:!1,private:!1,access:{has:e=>"tax"in e,get:e=>e.tax,set:(e,t)=>{e.tax=t}},metadata:$e},B,U),r(null,null,l,{kind:"field",name:"taxes",static:!1,private:!1,access:{has:e=>"taxes"in e,get:e=>e.taxes,set:(e,t)=>{e.taxes=t}},metadata:$e},G,J),r(null,null,h,{kind:"field",name:"subtotal",static:!1,private:!1,access:{has:e=>"subtotal"in e,get:e=>e.subtotal,set:(e,t)=>{e.subtotal=t}},metadata:$e},K,V),r(null,null,v,{kind:"field",name:"total",static:!1,private:!1,access:{has:e=>"total"in e,get:e=>e.total,set:(e,t)=>{e.total=t}},metadata:$e},W,X),r(null,null,_,{kind:"field",name:"tip",static:!1,private:!1,access:{has:e=>"tip"in e,get:e=>e.tip,set:(e,t)=>{e.tip=t}},metadata:$e},Z,ee),r(null,null,u,{kind:"field",name:"discount",static:!1,private:!1,access:{has:e=>"discount"in e,get:e=>e.discount,set:(e,t)=>{e.discount=t}},metadata:$e},te,re),r(null,null,f,{kind:"field",name:"discountLabel",static:!1,private:!1,access:{has:e=>"discountLabel"in e,get:e=>e.discountLabel,set:(e,t)=>{e.discountLabel=t}},metadata:$e},ie,ae),r(null,null,g,{kind:"field",name:"paymentMethod",static:!1,private:!1,access:{has:e=>"paymentMethod"in e,get:e=>e.paymentMethod,set:(e,t)=>{e.paymentMethod=t}},metadata:$e},se,ne),r(null,null,b,{kind:"field",name:"paymentDetails",static:!1,private:!1,access:{has:e=>"paymentDetails"in e,get:e=>e.paymentDetails,set:(e,t)=>{e.paymentDetails=t}},metadata:$e},oe,ce),r(null,null,y,{kind:"field",name:"variant",static:!1,private:!1,access:{has:e=>"variant"in e,get:e=>e.variant,set:(e,t)=>{e.variant=t}},metadata:$e},pe,de),r(null,null,x,{kind:"field",name:"showQr",static:!1,private:!1,access:{has:e=>"showQr"in e,get:e=>e.showQr,set:(e,t)=>{e.showQr=t}},metadata:$e},me,le),r(null,null,w,{kind:"field",name:"qrData",static:!1,private:!1,access:{has:e=>"qrData"in e,get:e=>e.qrData,set:(e,t)=>{e.qrData=t}},metadata:$e},he,ve),r(null,null,$,{kind:"field",name:"qrPosition",static:!1,private:!1,access:{has:e=>"qrPosition"in e,get:e=>e.qrPosition,set:(e,t)=>{e.qrPosition=t}},metadata:$e},_e,ue),r(null,null,k,{kind:"field",name:"thankYou",static:!1,private:!1,access:{has:e=>"thankYou"in e,get:e=>e.thankYou,set:(e,t)=>{e.thankYou=t}},metadata:$e},fe,ge),r(null,null,z,{kind:"field",name:"cashier",static:!1,private:!1,access:{has:e=>"cashier"in e,get:e=>e.cashier,set:(e,t)=>{e.cashier=t}},metadata:$e},be,ye),r(null,null,q,{kind:"field",name:"terminalId",static:!1,private:!1,access:{has:e=>"terminalId"in e,get:e=>e.terminalId,set:(e,t)=>{e.terminalId=t}},metadata:$e},xe,we),r(null,e={value:a},S,{kind:"class",name:a.name,metadata:$e},null,j),a=e.value,$e&&Object.defineProperty(a,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:$e}),i(a,j)}getComputedSubtotal(){return this.subtotal>0?this.subtotal:this.items.reduce((e,t)=>e+t.quantity*t.price-(t.discount||0),0)}getComputedTax(){return this.taxes.length>0?this.taxes.reduce((e,t)=>e+t.amount,0):this.tax}getComputedTotal(){if(this.total>0)return this.total;return this.getComputedSubtotal()+this.getComputedTax()-this.discount+this.tip}formatCurrency(e){const t=this.locale||void 0;try{return new Intl.NumberFormat(t,{style:"currency",currency:this.currency}).format(e)}catch{return`${this.currency} ${e.toFixed(2)}`}}print(){const e=window.open("","_blank");if(!e)return;const t=this.shadowRoot?.innerHTML||"",r=Array.from(this.shadowRoot?.querySelectorAll("style")||[]).map(e=>e.textContent).join("\n");e.document.write(`<!DOCTYPE html><html><head><style>${r}</style></head><body>${t}</body></html>`),e.document.close(),e.print(),e.close()}renderDivider(){return t.html`<hr class="receipt__divider" part="divider" />`}renderQrSlot(){return this.showQr?t.html`
8
8
  <div class="receipt__qr" part="qr-container">
9
9
  <slot name="qr"></slot>
10
10
  </div>
@@ -29,10 +29,10 @@ void 0===globalThis.Snice&&console.warn("[snice] snice-runtime.min.js must be lo
29
29
  </div>
30
30
  `}renderMerchantContact(){const e=this.merchant,r=e.phone,i=e.email,a=e.website,s=e.taxId;if(!(r||i||a||s))return"";const n=[];return e.phone&&n.push(e.phone),e.email&&n.push(e.email),e.website&&n.push(e.website),e.taxId&&n.push(`Tax ID: ${e.taxId}`),t.html`
31
31
  <div class="receipt__merchant-contact" part="merchant-contact">${n.join(" | ")}</div>
32
- `}renderContent(){const e=this.getComputedSubtotal(),r=this.getComputedTotal(),i=this.getComputedTax(),a=this.merchant.name,s=i>0,n=this.taxes.length>0,o=this.tip>0,c=this.discount>0,p=this.items.length>0,d=this.receiptNumber||this.date||this.cashier||this.terminalId,l=this.paymentMethod,m=this.showQr&&"top"===this.qrPosition,h=this.showQr&&"bottom"===this.qrPosition,v=this.showQr&&"footer"===this.qrPosition;return t.html`
32
+ `}renderContent(){const e=this.getComputedSubtotal(),r=this.getComputedTotal(),i=this.getComputedTax(),a=this.merchant.name,s=i>0,n=this.taxes.length>0,o=this.tip>0,c=this.discount>0,p=this.items.length>0,d=this.receiptNumber||this.date||this.cashier||this.terminalId,m=this.paymentMethod,l=this.showQr&&"top"===this.qrPosition,h=this.showQr&&"bottom"===this.qrPosition,v=this.showQr&&"footer"===this.qrPosition;return t.html`
33
33
  <div class="receipt" part="base">
34
34
 
35
- <if ${m}>
35
+ <if ${l}>
36
36
  ${this.renderQrSlot()}
37
37
  ${this.renderDivider()}
38
38
  </if>
@@ -134,7 +134,7 @@ void 0===globalThis.Snice&&console.warn("[snice] snice-runtime.min.js must be lo
134
134
  </div>
135
135
  </div>
136
136
 
137
- <if ${l}>
137
+ <if ${m}>
138
138
  ${this.renderDivider()}
139
139
  <div class="receipt__payment" part="payment">
140
140
  <span>Paid with </span>
@@ -165,5 +165,5 @@ void 0===globalThis.Snice&&console.warn("[snice] snice-runtime.min.js must be lo
165
165
  </if>
166
166
  </div>
167
167
  </div>
168
- `}componentStyles(){return t.css`${":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);contain:layout style paint;--receipt-max-width:var(--snice-receipt-max-width, 22rem);--receipt-padding:var(--snice-receipt-padding, 1.5rem);--receipt-bg:var(--snice-receipt-bg, var(--snice-color-background, rgb(255 255 255)));--receipt-text:var(--snice-receipt-text, var(--snice-color-text, rgb(23 23 23)));--receipt-text-secondary:var(--snice-receipt-text-secondary, var(--snice-color-text-secondary, rgb(82 82 82)));--receipt-text-tertiary:var(--snice-receipt-text-tertiary, var(--snice-color-text-tertiary, rgb(115 115 115)));--receipt-border:var(--snice-receipt-border, var(--snice-color-border, rgb(226 226 226)));--receipt-bg-element:var(--snice-receipt-bg-element, var(--snice-color-background-element, rgb(252 251 249)));--receipt-header-bg:var(--snice-receipt-header-bg, transparent);--receipt-accent:var(--snice-receipt-accent, var(--snice-color-primary, rgb(37 99 235)));--receipt-font-family:var(--snice-receipt-font-family, inherit);--receipt-merchant-font-size:var(--snice-receipt-merchant-font-size, 1.25rem);--receipt-item-font-size:var(--snice-receipt-item-font-size, 0.9375rem);--receipt-meta-font-size:var(--snice-receipt-meta-font-size, 0.8125rem);--receipt-total-font-size:var(--snice-receipt-total-font-size, 1.125rem);--receipt-total-font-weight:var(--snice-receipt-total-font-weight, 700);--receipt-footer-font-size:var(--snice-receipt-footer-font-size, 0.8125rem);--receipt-divider-style:var(--snice-receipt-divider-style, dashed);--receipt-divider-color:var(--snice-receipt-divider-color, var(--receipt-border));--receipt-divider-width:var(--snice-receipt-divider-width, 1px);--receipt-border-radius:var(--snice-receipt-border-radius, 8px);--receipt-border-color:var(--snice-receipt-border-color, var(--receipt-border));--receipt-shadow:var(--snice-receipt-shadow, none);--receipt-thermal-font:var(--snice-receipt-thermal-font, 'Courier New', Courier, monospace);--receipt-thermal-width:var(--snice-receipt-thermal-width, 18rem);--receipt-thermal-bg:var(--snice-receipt-thermal-bg, rgb(255 255 248));--receipt-modern-radius:var(--snice-receipt-modern-radius, 12px);--receipt-modern-shadow:var(--snice-receipt-modern-shadow, 0 4px 24px rgb(0 0 0 / 0.08));--receipt-modern-section-bg:var(--snice-receipt-modern-section-bg, var(--receipt-bg-element));--receipt-modern-section-radius:var(--snice-receipt-modern-section-radius, 8px);--receipt-qr-size:var(--snice-receipt-qr-size, 6rem)}.receipt{background:var(--receipt-bg);border:1px solid var(--receipt-border-color);border-radius:var(--receipt-border-radius);padding:var(--receipt-padding);color:var(--receipt-text);max-width:var(--receipt-max-width);font-family:var(--receipt-font-family);box-shadow:var(--receipt-shadow);line-height:var(--snice-line-height-normal, 1.5)}.receipt__divider{border:none;border-top:var(--receipt-divider-width) var(--receipt-divider-style) var(--receipt-divider-color);margin:var(--snice-spacing-sm,.75rem) 0}.receipt__header{text-align:center;padding-bottom:var(--snice-spacing-sm,.75rem);background:var(--receipt-header-bg)}.receipt__logo{max-height:3rem;max-width:10rem;object-fit:contain;margin-bottom:var(--snice-spacing-xs,.5rem)}.receipt__merchant-name{font-size:var(--receipt-merchant-font-size);font-weight:var(--snice-font-weight-bold,700);color:var(--receipt-text);margin:0;letter-spacing:.01em}.receipt__merchant-address{font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary);line-height:var(--snice-line-height-normal, 1.5);white-space:pre-line;margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__merchant-contact{font-size:var(--receipt-meta-font-size);color:var(--receipt-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--snice-spacing-xs,.5rem);font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary)}.receipt__meta-item{display:flex;flex-direction:column;gap:.0625rem}.receipt__meta-label{font-size:.6875rem;color:var(--receipt-text-tertiary);text-transform:uppercase;letter-spacing:.06em;font-weight:var(--snice-font-weight-medium,500)}.receipt__meta-value{font-weight:var(--snice-font-weight-medium,500);color:var(--receipt-text)}.receipt__items-header{display:flex;justify-content:space-between;font-size:.6875rem;text-transform:uppercase;letter-spacing:.06em;color:var(--receipt-text-tertiary);font-weight:var(--snice-font-weight-medium,500);padding-bottom:var(--snice-spacing-2xs,.25rem);border-bottom:1px solid var(--receipt-divider-color);margin-bottom:var(--snice-spacing-2xs,.25rem)}.receipt__items{display:flex;flex-direction:column}.receipt__item{display:flex;justify-content:space-between;align-items:baseline;padding:var(--snice-spacing-2xs,.25rem) 0;font-size:var(--receipt-item-font-size);gap:var(--snice-spacing-xs,.5rem)}.receipt__item-info{flex:1;min-width:0}.receipt__item-name{color:var(--receipt-text);display:block}.receipt__item-sku{font-size:.6875rem;color:var(--receipt-text-tertiary);font-family:var(--receipt-thermal-font)}.receipt__item-note{font-size:.75rem;color:var(--receipt-text-tertiary);font-style:italic}.receipt__item-qty{font-size:.8125rem;color:var(--receipt-text-tertiary);white-space:nowrap}.receipt__item-discount{font-size:.75rem;color:var(--snice-color-danger,rgb(220 38 38))}.receipt__item-price{font-weight:var(--snice-font-weight-medium,500);white-space:nowrap;text-align:right}.receipt__totals{display:flex;flex-direction:column}.receipt__total-row{display:flex;justify-content:space-between;padding:var(--snice-spacing-3xs,.125rem) 0;font-size:var(--receipt-item-font-size);color:var(--receipt-text-secondary)}.receipt__total-row--discount{color:var(--snice-color-danger,rgb(220 38 38))}.receipt__total-row--grand{border-top:2px solid var(--receipt-text);margin-top:var(--snice-spacing-xs,.5rem);padding-top:var(--snice-spacing-xs,.5rem);font-size:var(--receipt-total-font-size);font-weight:var(--receipt-total-font-weight);color:var(--receipt-text)}.receipt__payment{text-align:center;font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary)}.receipt__payment-method{font-weight:var(--snice-font-weight-semibold,600);color:var(--receipt-text)}.receipt__payment-details{font-size:.75rem;color:var(--receipt-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__qr{display:flex;justify-content:center;padding:var(--snice-spacing-xs,.5rem) 0}.receipt__qr ::slotted(*){width:var(--receipt-qr-size);height:var(--receipt-qr-size)}.receipt__barcode{display:flex;justify-content:center;padding:var(--snice-spacing-xs,.5rem) 0}.receipt__barcode ::slotted(*){max-width:100%}.receipt__footer{text-align:center;font-size:var(--receipt-footer-font-size);color:var(--receipt-text-tertiary)}.receipt__thank-you{font-weight:var(--snice-font-weight-medium,500);color:var(--receipt-text-secondary);margin-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=thermal]){font-family:var(--receipt-thermal-font)}:host([variant=thermal]) .receipt{max-width:var(--receipt-thermal-width);border-radius:0;border:none;background:var(--receipt-thermal-bg);color:rgb(23 23 23);padding:var(--snice-spacing-md,1rem) var(--snice-spacing-sm,.75rem);box-shadow:0 2px 8px rgb(0 0 0 / .06);font-family:var(--receipt-thermal-font)}:host([variant=thermal]) .receipt__divider{border-top-style:dotted;border-top-width:2px;border-top-color:rgb(0 0 0 / .25);margin:var(--snice-spacing-xs,.5rem) 0}:host([variant=thermal]) .receipt__merchant-name{font-size:var(--snice-font-size-md, 1rem);text-transform:uppercase;letter-spacing:.12em;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__merchant-address,:host([variant=thermal]) .receipt__merchant-contact{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__meta{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__meta-label{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__meta-value{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__items-header{font-size:.625rem;border-bottom-style:dotted;color:rgb(115 115 115)}:host([variant=thermal]) .receipt__item{font-size:.8125rem;padding:.125rem 0}:host([variant=thermal]) .receipt__item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__item-qty{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__item-price{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__total-row{font-size:.8125rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__total-row--grand{font-size:.9375rem;border-top-style:double;border-top-width:3px;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__payment{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__payment-method{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__payment-details{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__footer{font-size:.6875rem;letter-spacing:.04em;color:rgb(115 115 115)}:host([variant=thermal]) .receipt__thank-you{text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;color:rgb(82 82 82)}:host([variant=modern]) .receipt{border:none;border-radius:var(--receipt-modern-radius);box-shadow:var(--receipt-modern-shadow);padding:var(--snice-spacing-lg,1.5rem)}:host([variant=modern]) .receipt__divider{border:none;margin:var(--snice-spacing-md,1rem) 0}:host([variant=modern]) .receipt__header{padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=modern]) .receipt__merchant-name{font-size:1.375rem;letter-spacing:-.01em}:host([variant=modern]) .receipt__meta{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__items{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__items-header{border-bottom-color:var(--receipt-border)}:host([variant=modern]) .receipt__totals{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__total-row--grand{border-top:2px solid var(--receipt-accent);color:var(--receipt-accent)}:host([variant=modern]) .receipt__payment{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__footer{padding-top:var(--snice-spacing-xs,.5rem)}:host([variant=modern]) .receipt__thank-you{color:var(--receipt-accent);font-weight:var(--snice-font-weight-semibold,600)}:host([variant=minimal]) .receipt{border:none;border-radius:0;padding:var(--snice-spacing-md,1rem) 0;box-shadow:none;max-width:20rem}:host([variant=minimal]) .receipt__divider{border-top-style:solid;border-top-color:var(--receipt-border);margin:var(--snice-spacing-md,1rem) 0}:host([variant=minimal]) .receipt__header{padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=minimal]) .receipt__logo{display:none}:host([variant=minimal]) .receipt__merchant-name{font-size:1rem;text-transform:uppercase;letter-spacing:.15em;font-weight:var(--snice-font-weight-medium,500)}:host([variant=minimal]) .receipt__merchant-address,:host([variant=minimal]) .receipt__merchant-contact{display:none}:host([variant=minimal]) .receipt__meta{font-size:.75rem}:host([variant=minimal]) .receipt__meta-label{display:none}:host([variant=minimal]) .receipt__items-header{display:none}:host([variant=minimal]) .receipt__item{font-size:.875rem}:host([variant=minimal]) .receipt__item-discount,:host([variant=minimal]) .receipt__item-note,:host([variant=minimal]) .receipt__item-sku{display:none}:host([variant=minimal]) .receipt__total-row{font-size:.875rem}:host([variant=minimal]) .receipt__total-row--grand{font-size:1rem;border-top-width:1px;border-top-style:solid}:host([variant=minimal]) .receipt__payment{font-size:.75rem}:host([variant=minimal]) .receipt__footer{font-size:.75rem}:host([variant=detailed]) .receipt{max-width:26rem}:host([variant=detailed]) .receipt__header{border-bottom:2px solid var(--receipt-text);padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=detailed]) .receipt__merchant-name{font-size:1.5rem}:host([variant=detailed]) .receipt__merchant-contact{font-size:.75rem}:host([variant=detailed]) .receipt__meta{display:grid;grid-template-columns:1fr 1fr;gap:var(--snice-spacing-xs,.5rem)}:host([variant=detailed]) .receipt__items-header{display:flex;font-weight:var(--snice-font-weight-semibold,600);border-bottom:2px solid var(--receipt-border);padding-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=detailed]) .receipt__item{border-bottom:1px solid;padding:var(--snice-spacing-2xs,.25rem) 0}:host([variant=detailed]) .receipt__item:last-child{border-bottom:none}:host([variant=detailed]) .receipt__item-sku{display:block}:host([variant=detailed]) .receipt__item-note{display:block}:host([variant=detailed]) .receipt__item-discount{display:block}:host([variant=detailed]) .receipt__total-row--grand{font-size:1.25rem;border-top:2px solid var(--receipt-text)}:host([variant=detailed]) .receipt__payment-details{font-size:.8125rem}@media print{:host{contain:none}.receipt{border:none;box-shadow:none;border-radius:0;padding:0;max-width:none}.receipt__barcode ::slotted(*),.receipt__qr ::slotted(*){-webkit-print-color-adjust:exact;print-color-adjust:exact}:host([variant=thermal]) .receipt{max-width:var(--receipt-thermal-width);background:#fff;box-shadow:none}:host([variant=modern]) .receipt{box-shadow:none}:host([variant=modern]) .receipt__items,:host([variant=modern]) .receipt__meta,:host([variant=modern]) .receipt__payment,:host([variant=modern]) .receipt__totals{background:0 0;border:1px solid var(--receipt-border)}}"}`}constructor(){super(...arguments),this.receiptNumber=(i(this,T),i(this,N,"")),this.date=(i(this,P),i(this,Q,"")),this.currency=(i(this,M),i(this,L,"USD")),this.locale=(i(this,O),i(this,Y,"")),this.merchant=(i(this,E),i(this,A,{name:""})),this.items=(i(this,R),i(this,F,[])),this.tax=(i(this,H),i(this,B,0)),this.taxes=(i(this,U),i(this,G,[])),this.subtotal=(i(this,J),i(this,K,0)),this.total=(i(this,V),i(this,W,0)),this.tip=(i(this,X),i(this,Z,0)),this.discount=(i(this,ee),i(this,te,0)),this.discountLabel=(i(this,re),i(this,ie,"Discount")),this.paymentMethod=(i(this,ae),i(this,se,"")),this.paymentDetails=(i(this,ne),i(this,oe,"")),this.variant=(i(this,ce),i(this,pe,"standard")),this.showQr=(i(this,de),i(this,le,!1)),this.qrData=(i(this,me),i(this,he,"")),this.qrPosition=(i(this,ve),i(this,_e,"bottom")),this.thankYou=(i(this,ue),i(this,fe,"Thank you for your purchase!")),this.cashier=(i(this,ge),i(this,be,"")),this.terminalId=(i(this,ye),i(this,xe,"")),i(this,we)}},a})();return e.SniceReceipt=a,e}({},Snice);
168
+ `}componentStyles(){return t.css`${":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);--receipt-max-width:var(--snice-receipt-max-width, 22rem);--receipt-padding:var(--snice-receipt-padding, 1.5rem);--receipt-bg:var(--snice-receipt-bg, var(--snice-color-background, rgb(255 255 255)));--receipt-text:var(--snice-receipt-text, var(--snice-color-text, rgb(23 23 23)));--receipt-text-secondary:var(--snice-receipt-text-secondary, var(--snice-color-text-secondary, rgb(82 82 82)));--receipt-text-tertiary:var(--snice-receipt-text-tertiary, var(--snice-color-text-tertiary, rgb(115 115 115)));--receipt-border:var(--snice-receipt-border, var(--snice-color-border, rgb(226 226 226)));--receipt-bg-element:var(--snice-receipt-bg-element, var(--snice-color-background-element, rgb(252 251 249)));--receipt-header-bg:var(--snice-receipt-header-bg, transparent);--receipt-accent:var(--snice-receipt-accent, var(--snice-color-primary, rgb(37 99 235)));--receipt-font-family:var(--snice-receipt-font-family, inherit);--receipt-merchant-font-size:var(--snice-receipt-merchant-font-size, 1.25rem);--receipt-item-font-size:var(--snice-receipt-item-font-size, 0.9375rem);--receipt-meta-font-size:var(--snice-receipt-meta-font-size, 0.8125rem);--receipt-total-font-size:var(--snice-receipt-total-font-size, 1.125rem);--receipt-total-font-weight:var(--snice-receipt-total-font-weight, 700);--receipt-footer-font-size:var(--snice-receipt-footer-font-size, 0.8125rem);--receipt-divider-style:var(--snice-receipt-divider-style, dashed);--receipt-divider-color:var(--snice-receipt-divider-color, var(--receipt-border));--receipt-divider-width:var(--snice-receipt-divider-width, 1px);--receipt-border-radius:var(--snice-receipt-border-radius, 8px);--receipt-border-color:var(--snice-receipt-border-color, var(--receipt-border));--receipt-shadow:var(--snice-receipt-shadow, none);--receipt-thermal-font:var(--snice-receipt-thermal-font, 'Courier New', Courier, monospace);--receipt-thermal-width:var(--snice-receipt-thermal-width, 18rem);--receipt-thermal-bg:var(--snice-receipt-thermal-bg, rgb(255 255 248));--receipt-modern-radius:var(--snice-receipt-modern-radius, 12px);--receipt-modern-shadow:var(--snice-receipt-modern-shadow, 0 4px 24px rgb(0 0 0 / 0.08));--receipt-modern-section-bg:var(--snice-receipt-modern-section-bg, var(--receipt-bg-element));--receipt-modern-section-radius:var(--snice-receipt-modern-section-radius, 8px);--receipt-qr-size:var(--snice-receipt-qr-size, 6rem)}.receipt{background:var(--receipt-bg);border:1px solid var(--receipt-border-color);border-radius:var(--receipt-border-radius);padding:var(--receipt-padding);color:var(--receipt-text);max-width:var(--receipt-max-width);font-family:var(--receipt-font-family);box-shadow:var(--receipt-shadow);line-height:var(--snice-line-height-normal, 1.5)}.receipt__divider{border:none;border-top:var(--receipt-divider-width) var(--receipt-divider-style) var(--receipt-divider-color);margin:var(--snice-spacing-sm,.75rem) 0}.receipt__header{text-align:center;padding-bottom:var(--snice-spacing-sm,.75rem);background:var(--receipt-header-bg)}.receipt__logo{max-height:3rem;max-width:10rem;object-fit:contain;margin-bottom:var(--snice-spacing-xs,.5rem)}.receipt__merchant-name{font-size:var(--receipt-merchant-font-size);font-weight:var(--snice-font-weight-bold,700);color:var(--receipt-text);margin:0;letter-spacing:.01em}.receipt__merchant-address{font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary);line-height:var(--snice-line-height-normal, 1.5);white-space:pre-line;margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__merchant-contact{font-size:var(--receipt-meta-font-size);color:var(--receipt-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--snice-spacing-xs,.5rem);font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary)}.receipt__meta-item{display:flex;flex-direction:column;gap:.0625rem}.receipt__meta-label{font-size:.6875rem;color:var(--receipt-text-tertiary);text-transform:uppercase;letter-spacing:.06em;font-weight:var(--snice-font-weight-medium,500)}.receipt__meta-value{font-weight:var(--snice-font-weight-medium,500);color:var(--receipt-text)}.receipt__items-header{display:flex;justify-content:space-between;font-size:.6875rem;text-transform:uppercase;letter-spacing:.06em;color:var(--receipt-text-tertiary);font-weight:var(--snice-font-weight-medium,500);padding-bottom:var(--snice-spacing-2xs,.25rem);border-bottom:1px solid var(--receipt-divider-color);margin-bottom:var(--snice-spacing-2xs,.25rem)}.receipt__items{display:flex;flex-direction:column}.receipt__item{display:flex;justify-content:space-between;align-items:baseline;padding:var(--snice-spacing-2xs,.25rem) 0;font-size:var(--receipt-item-font-size);gap:var(--snice-spacing-xs,.5rem)}.receipt__item-info{flex:1;min-width:0}.receipt__item-name{color:var(--receipt-text);display:block}.receipt__item-sku{font-size:.6875rem;color:var(--receipt-text-tertiary);font-family:var(--receipt-thermal-font)}.receipt__item-note{font-size:.75rem;color:var(--receipt-text-tertiary);font-style:italic}.receipt__item-qty{font-size:.8125rem;color:var(--receipt-text-tertiary);white-space:nowrap}.receipt__item-discount{font-size:.75rem;color:var(--snice-color-danger,rgb(220 38 38))}.receipt__item-price{font-weight:var(--snice-font-weight-medium,500);white-space:nowrap;text-align:right}.receipt__totals{display:flex;flex-direction:column}.receipt__total-row{display:flex;justify-content:space-between;padding:var(--snice-spacing-3xs,.125rem) 0;font-size:var(--receipt-item-font-size);color:var(--receipt-text-secondary)}.receipt__total-row--discount{color:var(--snice-color-danger,rgb(220 38 38))}.receipt__total-row--grand{border-top:2px solid var(--receipt-text);margin-top:var(--snice-spacing-xs,.5rem);padding-top:var(--snice-spacing-xs,.5rem);font-size:var(--receipt-total-font-size);font-weight:var(--receipt-total-font-weight);color:var(--receipt-text)}.receipt__payment{text-align:center;font-size:var(--receipt-meta-font-size);color:var(--receipt-text-secondary)}.receipt__payment-method{font-weight:var(--snice-font-weight-semibold,600);color:var(--receipt-text)}.receipt__payment-details{font-size:.75rem;color:var(--receipt-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.receipt__qr{display:flex;justify-content:center;padding:var(--snice-spacing-xs,.5rem) 0}.receipt__qr ::slotted(*){width:var(--receipt-qr-size);height:var(--receipt-qr-size)}.receipt__barcode{display:flex;justify-content:center;padding:var(--snice-spacing-xs,.5rem) 0}.receipt__barcode ::slotted(*){max-width:100%}.receipt__footer{text-align:center;font-size:var(--receipt-footer-font-size);color:var(--receipt-text-tertiary)}.receipt__thank-you{font-weight:var(--snice-font-weight-medium,500);color:var(--receipt-text-secondary);margin-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=thermal]){font-family:var(--receipt-thermal-font)}:host([variant=thermal]) .receipt{max-width:var(--receipt-thermal-width);border-radius:0;border:none;background:var(--receipt-thermal-bg);color:rgb(23 23 23);padding:var(--snice-spacing-md,1rem) var(--snice-spacing-sm,.75rem);box-shadow:0 2px 8px rgb(0 0 0 / .06);font-family:var(--receipt-thermal-font)}:host([variant=thermal]) .receipt__divider{border-top-style:dotted;border-top-width:2px;border-top-color:rgb(0 0 0 / .25);margin:var(--snice-spacing-xs,.5rem) 0}:host([variant=thermal]) .receipt__merchant-name{font-size:var(--snice-font-size-md, 1rem);text-transform:uppercase;letter-spacing:.12em;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__merchant-address,:host([variant=thermal]) .receipt__merchant-contact{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__meta{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__meta-label{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__meta-value{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__items-header{font-size:.625rem;border-bottom-style:dotted;color:rgb(115 115 115)}:host([variant=thermal]) .receipt__item{font-size:.8125rem;padding:.125rem 0}:host([variant=thermal]) .receipt__item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__item-qty{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__item-price{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__total-row{font-size:.8125rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__total-row--grand{font-size:.9375rem;border-top-style:double;border-top-width:3px;color:rgb(23 23 23)}:host([variant=thermal]) .receipt__payment{font-size:.75rem;color:rgb(82 82 82)}:host([variant=thermal]) .receipt__payment-method{color:rgb(23 23 23)}:host([variant=thermal]) .receipt__payment-details{color:rgb(115 115 115)}:host([variant=thermal]) .receipt__footer{font-size:.6875rem;letter-spacing:.04em;color:rgb(115 115 115)}:host([variant=thermal]) .receipt__thank-you{text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;color:rgb(82 82 82)}:host([variant=modern]) .receipt{border:none;border-radius:var(--receipt-modern-radius);box-shadow:var(--receipt-modern-shadow);padding:var(--snice-spacing-lg,1.5rem)}:host([variant=modern]) .receipt__divider{border:none;margin:var(--snice-spacing-md,1rem) 0}:host([variant=modern]) .receipt__header{padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=modern]) .receipt__merchant-name{font-size:1.375rem;letter-spacing:-.01em}:host([variant=modern]) .receipt__meta{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__items{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__items-header{border-bottom-color:var(--receipt-border)}:host([variant=modern]) .receipt__totals{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__total-row--grand{border-top:2px solid var(--receipt-accent);color:var(--receipt-accent)}:host([variant=modern]) .receipt__payment{background:var(--receipt-modern-section-bg);border-radius:var(--receipt-modern-section-radius);padding:var(--snice-spacing-sm,.75rem)}:host([variant=modern]) .receipt__footer{padding-top:var(--snice-spacing-xs,.5rem)}:host([variant=modern]) .receipt__thank-you{color:var(--receipt-accent);font-weight:var(--snice-font-weight-semibold,600)}:host([variant=minimal]) .receipt{border:none;border-radius:0;padding:var(--snice-spacing-md,1rem) 0;box-shadow:none;max-width:20rem}:host([variant=minimal]) .receipt__divider{border-top-style:solid;border-top-color:var(--receipt-border);margin:var(--snice-spacing-md,1rem) 0}:host([variant=minimal]) .receipt__header{padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=minimal]) .receipt__logo{display:none}:host([variant=minimal]) .receipt__merchant-name{font-size:1rem;text-transform:uppercase;letter-spacing:.15em;font-weight:var(--snice-font-weight-medium,500)}:host([variant=minimal]) .receipt__merchant-address,:host([variant=minimal]) .receipt__merchant-contact{display:none}:host([variant=minimal]) .receipt__meta{font-size:.75rem}:host([variant=minimal]) .receipt__meta-label{display:none}:host([variant=minimal]) .receipt__items-header{display:none}:host([variant=minimal]) .receipt__item{font-size:.875rem}:host([variant=minimal]) .receipt__item-discount,:host([variant=minimal]) .receipt__item-note,:host([variant=minimal]) .receipt__item-sku{display:none}:host([variant=minimal]) .receipt__total-row{font-size:.875rem}:host([variant=minimal]) .receipt__total-row--grand{font-size:1rem;border-top-width:1px;border-top-style:solid}:host([variant=minimal]) .receipt__payment{font-size:.75rem}:host([variant=minimal]) .receipt__footer{font-size:.75rem}:host([variant=detailed]) .receipt{max-width:26rem}:host([variant=detailed]) .receipt__header{border-bottom:2px solid var(--receipt-text);padding-bottom:var(--snice-spacing-md,1rem)}:host([variant=detailed]) .receipt__merchant-name{font-size:1.5rem}:host([variant=detailed]) .receipt__merchant-contact{font-size:.75rem}:host([variant=detailed]) .receipt__meta{display:grid;grid-template-columns:1fr 1fr;gap:var(--snice-spacing-xs,.5rem)}:host([variant=detailed]) .receipt__items-header{display:flex;font-weight:var(--snice-font-weight-semibold,600);border-bottom:2px solid var(--receipt-border);padding-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=detailed]) .receipt__item{border-bottom:1px solid;padding:var(--snice-spacing-2xs,.25rem) 0}:host([variant=detailed]) .receipt__item:last-child{border-bottom:none}:host([variant=detailed]) .receipt__item-sku{display:block}:host([variant=detailed]) .receipt__item-note{display:block}:host([variant=detailed]) .receipt__item-discount{display:block}:host([variant=detailed]) .receipt__total-row--grand{font-size:1.25rem;border-top:2px solid var(--receipt-text)}:host([variant=detailed]) .receipt__payment-details{font-size:.8125rem}@media print{.receipt{border:none;box-shadow:none;border-radius:0;padding:0;max-width:none}.receipt__barcode ::slotted(*),.receipt__qr ::slotted(*){-webkit-print-color-adjust:exact;print-color-adjust:exact}:host([variant=thermal]) .receipt{max-width:var(--receipt-thermal-width);background:#fff;box-shadow:none}:host([variant=modern]) .receipt{box-shadow:none}:host([variant=modern]) .receipt__items,:host([variant=modern]) .receipt__meta,:host([variant=modern]) .receipt__payment,:host([variant=modern]) .receipt__totals{background:0 0;border:1px solid var(--receipt-border)}}"}`}constructor(){super(...arguments),this.receiptNumber=(i(this,T),i(this,N,"")),this.date=(i(this,P),i(this,Q,"")),this.currency=(i(this,M),i(this,L,"USD")),this.locale=(i(this,O),i(this,Y,"")),this.merchant=(i(this,E),i(this,A,{name:""})),this.items=(i(this,R),i(this,F,[])),this.tax=(i(this,H),i(this,B,0)),this.taxes=(i(this,U),i(this,G,[])),this.subtotal=(i(this,J),i(this,K,0)),this.total=(i(this,V),i(this,W,0)),this.tip=(i(this,X),i(this,Z,0)),this.discount=(i(this,ee),i(this,te,0)),this.discountLabel=(i(this,re),i(this,ie,"Discount")),this.paymentMethod=(i(this,ae),i(this,se,"")),this.paymentDetails=(i(this,ne),i(this,oe,"")),this.variant=(i(this,ce),i(this,pe,"standard")),this.showQr=(i(this,de),i(this,me,!1)),this.qrData=(i(this,le),i(this,he,"")),this.qrPosition=(i(this,ve),i(this,_e,"bottom")),this.thankYou=(i(this,ue),i(this,fe,"Thank you for your purchase!")),this.cashier=(i(this,ge),i(this,be,"")),this.terminalId=(i(this,ye),i(this,xe,"")),i(this,we)}},a})();return e.SniceReceipt=a,e}({},Snice);
169
169
  //# sourceMappingURL=snice-receipt.min.js.map