@iota-uz/sdk 0.45.0 → 0.47.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 (543) hide show
  1. package/README.md +5 -0
  2. package/dist/client-host/identity.d.ts +4 -4
  3. package/dist/client-host/identity.js +2 -2
  4. package/dist/lens/{CascadePanel-bXr7ekeZ.js → CascadePanel-BlYJd18G.js} +1 -1
  5. package/dist/lens/{ChartDataEquivalent-ZsncHfTF.js → ChartDataEquivalent-B6xSOdzC.js} +1 -1
  6. package/dist/lens/{ChartPanel-Cku9c87t.js → ChartPanel-BIJjrs5D.js} +159 -159
  7. package/dist/lens/{CoveragePanel-DE3fi5c7.js → CoveragePanel-CHtXDMtt.js} +1 -1
  8. package/dist/lens/{GaugePanel-DwR4zylR.js → GaugePanel-By0TOJPa.js} +1 -1
  9. package/dist/lens/LensDashboard.d.ts +13 -0
  10. package/dist/lens/LensDashboard.d.ts.map +1 -1
  11. package/dist/lens/{MapPanel-DJSiLZSz.js → MapPanel-Cw4ELCiM.js} +3 -3
  12. package/dist/lens/{MetricFlowPanel-Dsp_ntas.js → MetricFlowPanel-Gr5wi3nI.js} +2 -2
  13. package/dist/lens/{MetricHierarchyPanel-BYcy4FNw.js → MetricHierarchyPanel-VLA_5LXX.js} +2 -2
  14. package/dist/lens/{MetricRelationshipPanel-Gh5RKIu1.js → MetricRelationshipPanel-DFP566_c.js} +2 -2
  15. package/dist/lens/{PrintReport-RnKpLle9.js → PrintReport-C0OV1iHP.js} +5 -5
  16. package/dist/lens/{QualityChip-BxAn3wh6.js → QualityChip-DTi-0jdh.js} +1 -1
  17. package/dist/lens/SaveInvestigation-CX1Abyl8.js +309 -0
  18. package/dist/lens/TablePanel-BusKU7cU.js +994 -0
  19. package/dist/lens/{adapter-CZZIKpwb.js → adapter-CQg4-M7p.js} +7 -7
  20. package/dist/lens/contract/schemas.d.ts +2 -0
  21. package/dist/lens/contract/schemas.d.ts.map +1 -1
  22. package/dist/lens/contract/types.d.ts +14 -0
  23. package/dist/lens/contract/types.d.ts.map +1 -1
  24. package/dist/lens/{dashboardEdit-BLzL02OH.js → dashboardEdit-CJgCVfi_.js} +1 -1
  25. package/dist/lens/explore/DrillOverlay.d.ts +38 -0
  26. package/dist/lens/explore/DrillOverlay.d.ts.map +1 -1
  27. package/dist/lens/explore/ExplorePanel.d.ts.map +1 -1
  28. package/dist/lens/explore/SaveInvestigation.d.ts +21 -0
  29. package/dist/lens/explore/SaveInvestigation.d.ts.map +1 -0
  30. package/dist/lens/explore/drillHost.d.ts +25 -0
  31. package/dist/lens/explore/drillHost.d.ts.map +1 -0
  32. package/dist/lens/explore/investigation.d.ts +174 -0
  33. package/dist/lens/explore/investigation.d.ts.map +1 -0
  34. package/dist/lens/explore/provenanceLabels.d.ts +10 -0
  35. package/dist/lens/explore/provenanceLabels.d.ts.map +1 -0
  36. package/dist/lens/formula/FormulaTip.d.ts +5 -0
  37. package/dist/lens/formula/FormulaTip.d.ts.map +1 -1
  38. package/dist/lens/formula/FormulaView.d.ts.map +1 -1
  39. package/dist/lens/formula/PanelFormula.d.ts +2 -0
  40. package/dist/lens/formula/PanelFormula.d.ts.map +1 -1
  41. package/dist/lens/formula/element.d.ts.map +1 -1
  42. package/dist/lens/formula/values.d.ts +10 -1
  43. package/dist/lens/formula/values.d.ts.map +1 -1
  44. package/dist/lens/index-DR7Hf8Km.js +19805 -0
  45. package/dist/lens/{index-Dm3Y4NDq.js → index-DZFw4cqF.js} +1 -1
  46. package/dist/lens/index.d.ts +7 -1
  47. package/dist/lens/index.d.ts.map +1 -1
  48. package/dist/lens/index.js +67 -53
  49. package/dist/lens/{install-DCaRpfvv.js → install-B2lTK6uo.js} +1 -1
  50. package/dist/lens/{install-pvJpTP1f.js → install-BXr4Mnc0.js} +1 -1
  51. package/dist/lens/{install-C48hgC9S.js → install-CicNQ_ks.js} +1 -1
  52. package/dist/lens/{install-DB0eod1K.js → install-d8A0WPiw.js} +1 -1
  53. package/dist/lens/{keys-BAkGzg_y.js → keys-C-Akc9lZ.js} +2 -2
  54. package/dist/lens/panels/ChartPanel.d.ts.map +1 -1
  55. package/dist/lens/panels/TablePanel.d.ts.map +1 -1
  56. package/dist/lens/panels/actions.d.ts.map +1 -1
  57. package/dist/lens/panels/panelFailure.d.ts.map +1 -1
  58. package/dist/lens/{prefetch-j8VKR0tY.js → prefetch-C9kxuIs8.js} +2 -2
  59. package/dist/lens/{prefetchPanels-vwQqxrs4.js → prefetchPanels-gbY9RIqL.js} +1 -1
  60. package/dist/lens/{print-CuBcYmVF.js → print-CllsAP3d.js} +1 -1
  61. package/dist/lens/reports/ReportCompositionEditor.d.ts +8 -2
  62. package/dist/lens/reports/ReportCompositionEditor.d.ts.map +1 -1
  63. package/dist/lens/reports/ReportDefinitionEditor.d.ts +54 -0
  64. package/dist/lens/reports/ReportDefinitionEditor.d.ts.map +1 -0
  65. package/dist/lens/reports/ReportPicker.d.ts +6 -0
  66. package/dist/lens/reports/ReportPicker.d.ts.map +1 -1
  67. package/dist/lens/reports/dashboardEdit.d.ts +3 -0
  68. package/dist/lens/reports/dashboardEdit.d.ts.map +1 -1
  69. package/dist/lens/reports/editing.d.ts +35 -0
  70. package/dist/lens/reports/editing.d.ts.map +1 -1
  71. package/dist/lens/reports/picker.d.ts +4 -1
  72. package/dist/lens/reports/picker.d.ts.map +1 -1
  73. package/dist/lens/runtime/index.d.ts +0 -1
  74. package/dist/lens/runtime/index.d.ts.map +1 -1
  75. package/dist/lens/runtime/messages.d.ts +2 -2
  76. package/dist/lens/runtime/messages.d.ts.map +1 -1
  77. package/dist/lens/runtime/provider.d.ts +5 -1
  78. package/dist/lens/runtime/provider.d.ts.map +1 -1
  79. package/dist/lens/runtime/returnContext.d.ts +62 -0
  80. package/dist/lens/runtime/returnContext.d.ts.map +1 -0
  81. package/dist/lens/runtime/tableSummary.d.ts +9 -0
  82. package/dist/lens/runtime/tableSummary.d.ts.map +1 -0
  83. package/dist/lens/{scales-BSDq-uby.js → scales-CO6Q9RtG.js} +1 -1
  84. package/dist/lens/style.css +1 -1
  85. package/dist/runtime/README.md +24 -0
  86. package/dist/runtime/assert.d.ts +51 -0
  87. package/dist/runtime/assert.js +172 -0
  88. package/dist/runtime/build/README.txt +1 -0
  89. package/dist/runtime/build/extract.mjs +342 -0
  90. package/dist/runtime/build/shared-exports.json +388 -0
  91. package/dist/runtime/build/test-child.mjs +136 -0
  92. package/dist/runtime/build/theme/tailwind.config.js +121 -0
  93. package/dist/runtime/build/theme/theme.css +462 -0
  94. package/dist/runtime/build/theme/utilities.css +1 -0
  95. package/dist/runtime/build/vendor/lib/lib.d.ts +22 -0
  96. package/dist/runtime/build/vendor/lib/lib.decorators.d.ts +384 -0
  97. package/dist/runtime/build/vendor/lib/lib.decorators.legacy.d.ts +22 -0
  98. package/dist/runtime/build/vendor/lib/lib.dom.asynciterable.d.ts +41 -0
  99. package/dist/runtime/build/vendor/lib/lib.dom.d.ts +28983 -0
  100. package/dist/runtime/build/vendor/lib/lib.dom.iterable.d.ts +491 -0
  101. package/dist/runtime/build/vendor/lib/lib.es2015.collection.d.ts +147 -0
  102. package/dist/runtime/build/vendor/lib/lib.es2015.core.d.ts +597 -0
  103. package/dist/runtime/build/vendor/lib/lib.es2015.d.ts +28 -0
  104. package/dist/runtime/build/vendor/lib/lib.es2015.generator.d.ts +77 -0
  105. package/dist/runtime/build/vendor/lib/lib.es2015.iterable.d.ts +590 -0
  106. package/dist/runtime/build/vendor/lib/lib.es2015.promise.d.ts +81 -0
  107. package/dist/runtime/build/vendor/lib/lib.es2015.proxy.d.ts +128 -0
  108. package/dist/runtime/build/vendor/lib/lib.es2015.reflect.d.ts +144 -0
  109. package/dist/runtime/build/vendor/lib/lib.es2015.symbol.d.ts +46 -0
  110. package/dist/runtime/build/vendor/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  111. package/dist/runtime/build/vendor/lib/lib.es2016.array.include.d.ts +116 -0
  112. package/dist/runtime/build/vendor/lib/lib.es2016.d.ts +21 -0
  113. package/dist/runtime/build/vendor/lib/lib.es2016.full.d.ts +23 -0
  114. package/dist/runtime/build/vendor/lib/lib.es2016.intl.d.ts +31 -0
  115. package/dist/runtime/build/vendor/lib/lib.es2017.arraybuffer.d.ts +21 -0
  116. package/dist/runtime/build/vendor/lib/lib.es2017.d.ts +26 -0
  117. package/dist/runtime/build/vendor/lib/lib.es2017.date.d.ts +31 -0
  118. package/dist/runtime/build/vendor/lib/lib.es2017.full.d.ts +23 -0
  119. package/dist/runtime/build/vendor/lib/lib.es2017.intl.d.ts +44 -0
  120. package/dist/runtime/build/vendor/lib/lib.es2017.object.d.ts +49 -0
  121. package/dist/runtime/build/vendor/lib/lib.es2017.sharedmemory.d.ts +135 -0
  122. package/dist/runtime/build/vendor/lib/lib.es2017.string.d.ts +45 -0
  123. package/dist/runtime/build/vendor/lib/lib.es2017.typedarrays.d.ts +53 -0
  124. package/dist/runtime/build/vendor/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  125. package/dist/runtime/build/vendor/lib/lib.es2018.asynciterable.d.ts +53 -0
  126. package/dist/runtime/build/vendor/lib/lib.es2018.d.ts +24 -0
  127. package/dist/runtime/build/vendor/lib/lib.es2018.full.d.ts +24 -0
  128. package/dist/runtime/build/vendor/lib/lib.es2018.intl.d.ts +83 -0
  129. package/dist/runtime/build/vendor/lib/lib.es2018.promise.d.ts +30 -0
  130. package/dist/runtime/build/vendor/lib/lib.es2018.regexp.d.ts +37 -0
  131. package/dist/runtime/build/vendor/lib/lib.es2019.array.d.ts +79 -0
  132. package/dist/runtime/build/vendor/lib/lib.es2019.d.ts +24 -0
  133. package/dist/runtime/build/vendor/lib/lib.es2019.full.d.ts +24 -0
  134. package/dist/runtime/build/vendor/lib/lib.es2019.intl.d.ts +23 -0
  135. package/dist/runtime/build/vendor/lib/lib.es2019.object.d.ts +33 -0
  136. package/dist/runtime/build/vendor/lib/lib.es2019.string.d.ts +37 -0
  137. package/dist/runtime/build/vendor/lib/lib.es2019.symbol.d.ts +24 -0
  138. package/dist/runtime/build/vendor/lib/lib.es2020.bigint.d.ts +731 -0
  139. package/dist/runtime/build/vendor/lib/lib.es2020.d.ts +27 -0
  140. package/dist/runtime/build/vendor/lib/lib.es2020.date.d.ts +42 -0
  141. package/dist/runtime/build/vendor/lib/lib.es2020.full.d.ts +24 -0
  142. package/dist/runtime/build/vendor/lib/lib.es2020.intl.d.ts +474 -0
  143. package/dist/runtime/build/vendor/lib/lib.es2020.number.d.ts +28 -0
  144. package/dist/runtime/build/vendor/lib/lib.es2020.promise.d.ts +47 -0
  145. package/dist/runtime/build/vendor/lib/lib.es2020.sharedmemory.d.ts +99 -0
  146. package/dist/runtime/build/vendor/lib/lib.es2020.string.d.ts +44 -0
  147. package/dist/runtime/build/vendor/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  148. package/dist/runtime/build/vendor/lib/lib.es2021.d.ts +23 -0
  149. package/dist/runtime/build/vendor/lib/lib.es2021.full.d.ts +24 -0
  150. package/dist/runtime/build/vendor/lib/lib.es2021.intl.d.ts +166 -0
  151. package/dist/runtime/build/vendor/lib/lib.es2021.promise.d.ts +48 -0
  152. package/dist/runtime/build/vendor/lib/lib.es2021.string.d.ts +33 -0
  153. package/dist/runtime/build/vendor/lib/lib.es2021.weakref.d.ts +78 -0
  154. package/dist/runtime/build/vendor/lib/lib.es2022.array.d.ts +121 -0
  155. package/dist/runtime/build/vendor/lib/lib.es2022.d.ts +25 -0
  156. package/dist/runtime/build/vendor/lib/lib.es2022.error.d.ts +75 -0
  157. package/dist/runtime/build/vendor/lib/lib.es2022.full.d.ts +24 -0
  158. package/dist/runtime/build/vendor/lib/lib.es2022.intl.d.ts +121 -0
  159. package/dist/runtime/build/vendor/lib/lib.es2022.object.d.ts +26 -0
  160. package/dist/runtime/build/vendor/lib/lib.es2022.regexp.d.ts +39 -0
  161. package/dist/runtime/build/vendor/lib/lib.es2022.string.d.ts +25 -0
  162. package/dist/runtime/build/vendor/lib/lib.es2023.array.d.ts +924 -0
  163. package/dist/runtime/build/vendor/lib/lib.es2023.collection.d.ts +21 -0
  164. package/dist/runtime/build/vendor/lib/lib.es2023.d.ts +22 -0
  165. package/dist/runtime/build/vendor/lib/lib.es2023.full.d.ts +24 -0
  166. package/dist/runtime/build/vendor/lib/lib.es2023.intl.d.ts +56 -0
  167. package/dist/runtime/build/vendor/lib/lib.es2024.arraybuffer.d.ts +65 -0
  168. package/dist/runtime/build/vendor/lib/lib.es2024.collection.d.ts +29 -0
  169. package/dist/runtime/build/vendor/lib/lib.es2024.d.ts +26 -0
  170. package/dist/runtime/build/vendor/lib/lib.es2024.full.d.ts +24 -0
  171. package/dist/runtime/build/vendor/lib/lib.es2024.object.d.ts +29 -0
  172. package/dist/runtime/build/vendor/lib/lib.es2024.promise.d.ts +35 -0
  173. package/dist/runtime/build/vendor/lib/lib.es2024.regexp.d.ts +25 -0
  174. package/dist/runtime/build/vendor/lib/lib.es2024.sharedmemory.d.ts +68 -0
  175. package/dist/runtime/build/vendor/lib/lib.es2024.string.d.ts +29 -0
  176. package/dist/runtime/build/vendor/lib/lib.es5.d.ts +4585 -0
  177. package/dist/runtime/build/vendor/lib/lib.es6.d.ts +23 -0
  178. package/dist/runtime/build/vendor/lib/lib.esnext.array.d.ts +35 -0
  179. package/dist/runtime/build/vendor/lib/lib.esnext.collection.d.ts +96 -0
  180. package/dist/runtime/build/vendor/lib/lib.esnext.d.ts +25 -0
  181. package/dist/runtime/build/vendor/lib/lib.esnext.decorators.d.ts +28 -0
  182. package/dist/runtime/build/vendor/lib/lib.esnext.disposable.d.ts +193 -0
  183. package/dist/runtime/build/vendor/lib/lib.esnext.full.d.ts +24 -0
  184. package/dist/runtime/build/vendor/lib/lib.esnext.intl.d.ts +21 -0
  185. package/dist/runtime/build/vendor/lib/lib.esnext.iterator.d.ts +148 -0
  186. package/dist/runtime/build/vendor/node-types/assert/strict.d.ts +111 -0
  187. package/dist/runtime/build/vendor/node-types/assert.d.ts +1115 -0
  188. package/dist/runtime/build/vendor/node-types/async_hooks.d.ts +619 -0
  189. package/dist/runtime/build/vendor/node-types/buffer.buffer.d.ts +477 -0
  190. package/dist/runtime/build/vendor/node-types/buffer.d.ts +1941 -0
  191. package/dist/runtime/build/vendor/node-types/child_process.d.ts +1480 -0
  192. package/dist/runtime/build/vendor/node-types/cluster.d.ts +578 -0
  193. package/dist/runtime/build/vendor/node-types/compatibility/iterators.d.ts +21 -0
  194. package/dist/runtime/build/vendor/node-types/console.d.ts +453 -0
  195. package/dist/runtime/build/vendor/node-types/constants.d.ts +21 -0
  196. package/dist/runtime/build/vendor/node-types/crypto.d.ts +5484 -0
  197. package/dist/runtime/build/vendor/node-types/dgram.d.ts +715 -0
  198. package/dist/runtime/build/vendor/node-types/diagnostics_channel.d.ts +576 -0
  199. package/dist/runtime/build/vendor/node-types/dns/promises.d.ts +503 -0
  200. package/dist/runtime/build/vendor/node-types/dns.d.ts +923 -0
  201. package/dist/runtime/build/vendor/node-types/domain.d.ts +166 -0
  202. package/dist/runtime/build/vendor/node-types/events.d.ts +967 -0
  203. package/dist/runtime/build/vendor/node-types/fs/promises.d.ts +1354 -0
  204. package/dist/runtime/build/vendor/node-types/fs.d.ts +4777 -0
  205. package/dist/runtime/build/vendor/node-types/globals.d.ts +170 -0
  206. package/dist/runtime/build/vendor/node-types/globals.typedarray.d.ts +41 -0
  207. package/dist/runtime/build/vendor/node-types/http.d.ts +2246 -0
  208. package/dist/runtime/build/vendor/node-types/http2.d.ts +2882 -0
  209. package/dist/runtime/build/vendor/node-types/https.d.ts +585 -0
  210. package/dist/runtime/build/vendor/node-types/index.d.ts +101 -0
  211. package/dist/runtime/build/vendor/node-types/inspector.d.ts +323 -0
  212. package/dist/runtime/build/vendor/node-types/inspector.generated.d.ts +4406 -0
  213. package/dist/runtime/build/vendor/node-types/module.d.ts +844 -0
  214. package/dist/runtime/build/vendor/node-types/net.d.ts +1197 -0
  215. package/dist/runtime/build/vendor/node-types/os.d.ts +507 -0
  216. package/dist/runtime/build/vendor/node-types/package.json +140 -0
  217. package/dist/runtime/build/vendor/node-types/path.d.ts +200 -0
  218. package/dist/runtime/build/vendor/node-types/perf_hooks.d.ts +1054 -0
  219. package/dist/runtime/build/vendor/node-types/process.d.ts +2101 -0
  220. package/dist/runtime/build/vendor/node-types/punycode.d.ts +117 -0
  221. package/dist/runtime/build/vendor/node-types/querystring.d.ts +152 -0
  222. package/dist/runtime/build/vendor/node-types/readline/promises.d.ts +161 -0
  223. package/dist/runtime/build/vendor/node-types/readline.d.ts +600 -0
  224. package/dist/runtime/build/vendor/node-types/repl.d.ts +438 -0
  225. package/dist/runtime/build/vendor/node-types/sea.d.ts +162 -0
  226. package/dist/runtime/build/vendor/node-types/sqlite.d.ts +1182 -0
  227. package/dist/runtime/build/vendor/node-types/stream/consumers.d.ts +45 -0
  228. package/dist/runtime/build/vendor/node-types/stream/promises.d.ts +90 -0
  229. package/dist/runtime/build/vendor/node-types/stream/web.d.ts +596 -0
  230. package/dist/runtime/build/vendor/node-types/stream.d.ts +1707 -0
  231. package/dist/runtime/build/vendor/node-types/string_decoder.d.ts +67 -0
  232. package/dist/runtime/build/vendor/node-types/test.d.ts +2656 -0
  233. package/dist/runtime/build/vendor/node-types/timers/promises.d.ts +108 -0
  234. package/dist/runtime/build/vendor/node-types/timers.d.ts +285 -0
  235. package/dist/runtime/build/vendor/node-types/tls.d.ts +1314 -0
  236. package/dist/runtime/build/vendor/node-types/trace_events.d.ts +197 -0
  237. package/dist/runtime/build/vendor/node-types/ts5.6/buffer.buffer.d.ts +473 -0
  238. package/dist/runtime/build/vendor/node-types/ts5.6/compatibility/float16array.d.ts +71 -0
  239. package/dist/runtime/build/vendor/node-types/ts5.6/globals.typedarray.d.ts +36 -0
  240. package/dist/runtime/build/vendor/node-types/ts5.6/index.d.ts +103 -0
  241. package/dist/runtime/build/vendor/node-types/ts5.7/compatibility/float16array.d.ts +72 -0
  242. package/dist/runtime/build/vendor/node-types/ts5.7/index.d.ts +103 -0
  243. package/dist/runtime/build/vendor/node-types/tty.d.ts +209 -0
  244. package/dist/runtime/build/vendor/node-types/url.d.ts +1103 -0
  245. package/dist/runtime/build/vendor/node-types/util.d.ts +2379 -0
  246. package/dist/runtime/build/vendor/node-types/v8.d.ts +1010 -0
  247. package/dist/runtime/build/vendor/node-types/vm.d.ts +1160 -0
  248. package/dist/runtime/build/vendor/node-types/wasi.d.ts +202 -0
  249. package/dist/runtime/build/vendor/node-types/web-globals/abortcontroller.d.ts +34 -0
  250. package/dist/runtime/build/vendor/node-types/web-globals/crypto.d.ts +32 -0
  251. package/dist/runtime/build/vendor/node-types/web-globals/domexception.d.ts +68 -0
  252. package/dist/runtime/build/vendor/node-types/web-globals/events.d.ts +97 -0
  253. package/dist/runtime/build/vendor/node-types/web-globals/fetch.d.ts +62 -0
  254. package/dist/runtime/build/vendor/node-types/web-globals/navigator.d.ts +25 -0
  255. package/dist/runtime/build/vendor/node-types/web-globals/storage.d.ts +24 -0
  256. package/dist/runtime/build/vendor/node-types/web-globals/streams.d.ts +22 -0
  257. package/dist/runtime/build/vendor/node-types/worker_threads.d.ts +894 -0
  258. package/dist/runtime/build/vendor/node-types/zlib.d.ts +768 -0
  259. package/dist/runtime/build/vendor/node_modules/csstype/LICENSE +19 -0
  260. package/dist/runtime/build/vendor/node_modules/csstype/index.d.ts +22569 -0
  261. package/dist/runtime/build/vendor/node_modules/csstype/index.js.flow +6863 -0
  262. package/dist/runtime/build/vendor/node_modules/csstype/package.json +70 -0
  263. package/dist/runtime/build/vendor/node_modules/seroval/LICENSE +7 -0
  264. package/dist/runtime/build/vendor/node_modules/seroval/dist/cjs/development/index.cjs +4232 -0
  265. package/dist/runtime/build/vendor/node_modules/seroval/dist/cjs/production/index.cjs +3 -0
  266. package/dist/runtime/build/vendor/node_modules/seroval/dist/esm/development/index.mjs +4209 -0
  267. package/dist/runtime/build/vendor/node_modules/seroval/dist/esm/production/index.mjs +3 -0
  268. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/Serializer.d.ts +28 -0
  269. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/base-primitives.d.ts +28 -0
  270. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/compat.d.ts +15 -0
  271. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/constants.d.ts +105 -0
  272. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/constructors.d.ts +50 -0
  273. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/async-parser.d.ts +20 -0
  274. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/deserializer.d.ts +52 -0
  275. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/parser.d.ts +62 -0
  276. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/serializer.d.ts +103 -0
  277. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/sync-parser.d.ts +61 -0
  278. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/cross/index.d.ts +24 -0
  279. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/errors.d.ts +47 -0
  280. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/function-string.d.ts +3 -0
  281. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/keys.d.ts +4 -0
  282. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/literals.d.ts +10 -0
  283. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/node.d.ts +8 -0
  284. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/opaque-reference.d.ts +9 -0
  285. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/plugin.d.ts +52 -0
  286. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/reference.d.ts +6 -0
  287. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/sequence.d.ts +11 -0
  288. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/special-reference.d.ts +16 -0
  289. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/stream.d.ts +17 -0
  290. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/string.d.ts +4 -0
  291. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/symbols.d.ts +14 -0
  292. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/tree/index.d.ts +21 -0
  293. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/types.d.ts +233 -0
  294. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/error.d.ts +6 -0
  295. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/get-identifier.d.ts +2 -0
  296. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/get-object-flag.d.ts +3 -0
  297. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/is-valid-identifier.d.ts +2 -0
  298. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/promise-to-result.d.ts +2 -0
  299. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/typed-array.d.ts +6 -0
  300. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/valid-properties.d.ts +3 -0
  301. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/index.d.ts +18 -0
  302. package/dist/runtime/build/vendor/node_modules/seroval/package.json +67 -0
  303. package/dist/runtime/build/vendor/node_modules/seroval/src/core/Serializer.ts +119 -0
  304. package/dist/runtime/build/vendor/node_modules/seroval/src/core/base-primitives.ts +537 -0
  305. package/dist/runtime/build/vendor/node_modules/seroval/src/core/compat.ts +23 -0
  306. package/dist/runtime/build/vendor/node_modules/seroval/src/core/constants.ts +202 -0
  307. package/dist/runtime/build/vendor/node_modules/seroval/src/core/constructors.ts +265 -0
  308. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/async-parser.ts +666 -0
  309. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/deserializer.ts +832 -0
  310. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/parser.ts +335 -0
  311. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/serializer.ts +1524 -0
  312. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/sync-parser.ts +943 -0
  313. package/dist/runtime/build/vendor/node_modules/seroval/src/core/cross/index.ts +190 -0
  314. package/dist/runtime/build/vendor/node_modules/seroval/src/core/errors.ts +196 -0
  315. package/dist/runtime/build/vendor/node_modules/seroval/src/core/function-string.ts +31 -0
  316. package/dist/runtime/build/vendor/node_modules/seroval/src/core/keys.ts +17 -0
  317. package/dist/runtime/build/vendor/node_modules/seroval/src/core/literals.ts +43 -0
  318. package/dist/runtime/build/vendor/node_modules/seroval/src/core/node.ts +40 -0
  319. package/dist/runtime/build/vendor/node_modules/seroval/src/core/opaque-reference.ts +9 -0
  320. package/dist/runtime/build/vendor/node_modules/seroval/src/core/plugin.ts +105 -0
  321. package/dist/runtime/build/vendor/node_modules/seroval/src/core/reference.ts +66 -0
  322. package/dist/runtime/build/vendor/node_modules/seroval/src/core/sequence.ts +59 -0
  323. package/dist/runtime/build/vendor/node_modules/seroval/src/core/special-reference.ts +42 -0
  324. package/dist/runtime/build/vendor/node_modules/seroval/src/core/stream.ts +71 -0
  325. package/dist/runtime/build/vendor/node_modules/seroval/src/core/string.ts +86 -0
  326. package/dist/runtime/build/vendor/node_modules/seroval/src/core/symbols.ts +20 -0
  327. package/dist/runtime/build/vendor/node_modules/seroval/src/core/tree/index.ts +134 -0
  328. package/dist/runtime/build/vendor/node_modules/seroval/src/core/types.ts +377 -0
  329. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/error.ts +73 -0
  330. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/get-identifier.ts +18 -0
  331. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/get-object-flag.ts +14 -0
  332. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/is-valid-identifier.ts +12 -0
  333. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/promise-to-result.ts +9 -0
  334. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/typed-array.ts +56 -0
  335. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/valid-properties.ts +34 -0
  336. package/dist/runtime/build/vendor/node_modules/seroval/src/index.ts +36 -0
  337. package/dist/runtime/build/vendor/node_modules/seroval-plugins/LICENSE +7 -0
  338. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/cjs/development/web.cjs +826 -0
  339. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/cjs/production/web.cjs +1 -0
  340. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/esm/development/web.mjs +803 -0
  341. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/esm/production/web.mjs +1 -0
  342. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/abort-signal.d.ts +3 -0
  343. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/blob.d.ts +3 -0
  344. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/custom-event.d.ts +3 -0
  345. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/dom-exception.d.ts +3 -0
  346. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/event.d.ts +3 -0
  347. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/file.d.ts +3 -0
  348. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/form-data.d.ts +3 -0
  349. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/headers.d.ts +3 -0
  350. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/image-data.d.ts +3 -0
  351. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/index.d.ts +15 -0
  352. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/readable-stream.d.ts +3 -0
  353. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/request.d.ts +3 -0
  354. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/response.d.ts +3 -0
  355. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/url-search-params.d.ts +3 -0
  356. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/url.d.ts +3 -0
  357. package/dist/runtime/build/vendor/node_modules/seroval-plugins/package.json +70 -0
  358. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/abort-signal.ts +131 -0
  359. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/blob.ts +41 -0
  360. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/custom-event.ts +66 -0
  361. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/dom-exception.ts +57 -0
  362. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/event.ts +62 -0
  363. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/file.ts +50 -0
  364. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/form-data.ts +105 -0
  365. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/headers.ts +49 -0
  366. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/image-data.ts +74 -0
  367. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/index.ts +14 -0
  368. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/readable-stream.ts +148 -0
  369. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/request.ts +82 -0
  370. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/response.ts +65 -0
  371. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/url-search-params.ts +40 -0
  372. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/url.ts +37 -0
  373. package/dist/runtime/build/vendor/node_modules/solid-js/dist/server.cjs +824 -0
  374. package/dist/runtime/build/vendor/node_modules/solid-js/dist/server.js +770 -0
  375. package/dist/runtime/build/vendor/node_modules/solid-js/dist/solid.cjs +1808 -0
  376. package/dist/runtime/build/vendor/node_modules/solid-js/dist/solid.js +1753 -0
  377. package/dist/runtime/build/vendor/node_modules/solid-js/jsx-runtime.d.ts +1 -0
  378. package/dist/runtime/build/vendor/node_modules/solid-js/package.json +243 -0
  379. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/server.cjs +133 -0
  380. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/server.js +121 -0
  381. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/store.cjs +463 -0
  382. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/store.js +454 -0
  383. package/dist/runtime/build/vendor/node_modules/solid-js/store/package.json +46 -0
  384. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/index.d.ts +12 -0
  385. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/modifiers.d.ts +6 -0
  386. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/mutable.d.ts +5 -0
  387. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/server.d.ts +17 -0
  388. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/store.d.ts +108 -0
  389. package/dist/runtime/build/vendor/node_modules/solid-js/types/index.d.ts +23 -0
  390. package/dist/runtime/build/vendor/node_modules/solid-js/types/jsx.d.ts +4253 -0
  391. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/array.d.ts +44 -0
  392. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/observable.d.ts +36 -0
  393. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/scheduler.d.ts +10 -0
  394. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/signal.d.ts +581 -0
  395. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/Suspense.d.ts +26 -0
  396. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/component.d.ts +111 -0
  397. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/flow.d.ts +118 -0
  398. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/hydration.d.ts +24 -0
  399. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/index.d.ts +4 -0
  400. package/dist/runtime/build/vendor/node_modules/solid-js/types/server/index.d.ts +3 -0
  401. package/dist/runtime/build/vendor/node_modules/solid-js/types/server/reactive.d.ts +98 -0
  402. package/dist/runtime/build/vendor/node_modules/solid-js/types/server/rendering.d.ts +160 -0
  403. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/server.cjs +900 -0
  404. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/server.js +786 -0
  405. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/web.cjs +884 -0
  406. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/web.js +772 -0
  407. package/dist/runtime/build/vendor/node_modules/solid-js/web/package.json +46 -0
  408. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/dist/storage.cjs +12 -0
  409. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/dist/storage.js +10 -0
  410. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/package.json +15 -0
  411. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/types/index.d.ts +2 -0
  412. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/client.d.ts +93 -0
  413. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/core.d.ts +2 -0
  414. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/index.d.ts +50 -0
  415. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/jsx.d.ts +1 -0
  416. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/server-mock.d.ts +65 -0
  417. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/server.d.ts +187 -0
  418. package/dist/runtime/build/worker.mjs +293415 -0
  419. package/dist/runtime/catalog/sdk-natives.json +655 -0
  420. package/dist/runtime/cli/iota-ext.mjs +1028 -0
  421. package/dist/runtime/client-host/entry.d.ts +10 -0
  422. package/dist/runtime/client-host/entry.js +124 -0
  423. package/dist/runtime/client-host/hooks.d.ts +43 -0
  424. package/dist/runtime/client-host/hooks.js +94 -0
  425. package/dist/runtime/client-host/index.d.ts +9 -0
  426. package/dist/runtime/client-host/index.js +9 -0
  427. package/dist/runtime/client-host/islands.d.ts +44 -0
  428. package/dist/runtime/client-host/islands.js +165 -0
  429. package/dist/runtime/client-host/kit.d.ts +10 -0
  430. package/dist/runtime/client-host/kit.js +37 -0
  431. package/dist/runtime/client-host/page.d.ts +53 -0
  432. package/dist/runtime/client-host/page.js +217 -0
  433. package/dist/runtime/client-host/params.d.ts +8 -0
  434. package/dist/runtime/client-host/params.js +36 -0
  435. package/dist/runtime/client-host/protocol.d.ts +78 -0
  436. package/dist/runtime/client-host/protocol.js +26 -0
  437. package/dist/runtime/client-host/shared.d.ts +12 -0
  438. package/dist/runtime/client-host/shared.js +49 -0
  439. package/dist/runtime/client-host/shell.d.ts +88 -0
  440. package/dist/runtime/client-host/shell.js +195 -0
  441. package/dist/runtime/client-host/slots.d.ts +54 -0
  442. package/dist/runtime/client-host/slots.js +90 -0
  443. package/dist/runtime/client-host/styles.d.ts +7 -0
  444. package/dist/runtime/client-host/styles.js +61 -0
  445. package/dist/runtime/client-host/transport.d.ts +45 -0
  446. package/dist/runtime/client-host/transport.js +115 -0
  447. package/dist/runtime/client.d.ts +226 -0
  448. package/dist/runtime/client.js +121 -0
  449. package/dist/runtime/contracts.d.ts +204 -0
  450. package/dist/runtime/contracts.js +195 -0
  451. package/dist/runtime/docs/authoring.md +1609 -0
  452. package/dist/runtime/docs/example/docs/en/admin/limits.md +10 -0
  453. package/dist/runtime/docs/example/docs/en/getting-started.md +13 -0
  454. package/dist/runtime/docs/example/docs/en/points.md +9 -0
  455. package/dist/runtime/docs/example/docs/ru/getting-started.md +12 -0
  456. package/dist/runtime/docs/example/package.json +27 -0
  457. package/dist/runtime/docs/example/src/ClientScreen.tsx +10 -0
  458. package/dist/runtime/docs/example/src/RedemptionScreen.tsx +7 -0
  459. package/dist/runtime/docs/example/src/RewardsScreen.module.css +13 -0
  460. package/dist/runtime/docs/example/src/RewardsScreen.tsx +51 -0
  461. package/dist/runtime/docs/example/src/client.tsx +40 -0
  462. package/dist/runtime/docs/example/src/contracts.ts +132 -0
  463. package/dist/runtime/docs/example/src/css-modules.d.ts +5 -0
  464. package/dist/runtime/docs/example/src/server.test.ts +156 -0
  465. package/dist/runtime/docs/example/src/server.ts +188 -0
  466. package/dist/runtime/docs/example/tsconfig.json +16 -0
  467. package/dist/runtime/entity.d.ts +237 -0
  468. package/dist/runtime/entity.js +201 -0
  469. package/dist/runtime/fakes.d.ts +80 -0
  470. package/dist/runtime/fakes.js +88 -0
  471. package/dist/runtime/fixtures.d.ts +34 -0
  472. package/dist/runtime/fixtures.js +60 -0
  473. package/dist/runtime/help.d.ts +22 -0
  474. package/dist/runtime/help.js +51 -0
  475. package/dist/runtime/host/context.mjs +392 -0
  476. package/dist/runtime/host/errors.mjs +64 -0
  477. package/dist/runtime/host/loader.mjs +28 -0
  478. package/dist/runtime/host/protocol.mjs +4 -0
  479. package/dist/runtime/host/register.mjs +8 -0
  480. package/dist/runtime/host/sdk/assert.mjs +153 -0
  481. package/dist/runtime/host/sdk/client-host/hooks.mjs +86 -0
  482. package/dist/runtime/host/sdk/client-host/protocol.mjs +30 -0
  483. package/dist/runtime/host/sdk/client-host/slots.mjs +82 -0
  484. package/dist/runtime/host/sdk/client-host/styles.mjs +45 -0
  485. package/dist/runtime/host/sdk/client-host/transport.mjs +102 -0
  486. package/dist/runtime/host/sdk/client.mjs +115 -0
  487. package/dist/runtime/host/sdk/contracts.mjs +185 -0
  488. package/dist/runtime/host/sdk/entity.mjs +183 -0
  489. package/dist/runtime/host/sdk/fakes.mjs +88 -0
  490. package/dist/runtime/host/sdk/fixtures.mjs +56 -0
  491. package/dist/runtime/host/sdk/help.mjs +37 -0
  492. package/dist/runtime/host/sdk/index.mjs +83 -0
  493. package/dist/runtime/host/sdk/kit.mjs +11 -0
  494. package/dist/runtime/host/sdk/manifest.mjs +276 -0
  495. package/dist/runtime/host/sdk/model.mjs +4 -0
  496. package/dist/runtime/host/sdk/resource.mjs +34 -0
  497. package/dist/runtime/host/sdk/schema.mjs +75 -0
  498. package/dist/runtime/host/sdk/server.mjs +43 -0
  499. package/dist/runtime/host/sdk/testhost.mjs +992 -0
  500. package/dist/runtime/host/sdk/testing.mjs +21 -0
  501. package/dist/runtime/host/sdk/wire.mjs +207 -0
  502. package/dist/runtime/host/worker.mjs +252 -0
  503. package/dist/runtime/index.d.ts +10 -0
  504. package/dist/runtime/index.js +5 -0
  505. package/dist/runtime/kit.d.ts +5 -0
  506. package/dist/runtime/kit.js +14 -0
  507. package/dist/runtime/manifest.d.ts +17 -0
  508. package/dist/runtime/manifest.js +323 -0
  509. package/dist/runtime/model.d.ts +224 -0
  510. package/dist/runtime/model.js +3 -0
  511. package/dist/runtime/resource.d.ts +31 -0
  512. package/dist/runtime/resource.js +35 -0
  513. package/dist/runtime/schema.d.ts +97 -0
  514. package/dist/runtime/schema.js +73 -0
  515. package/dist/runtime/server.d.ts +445 -0
  516. package/dist/runtime/server.js +41 -0
  517. package/dist/runtime/testhost.d.ts +216 -0
  518. package/dist/runtime/testhost.js +1146 -0
  519. package/dist/runtime/testing.d.ts +10 -0
  520. package/dist/runtime/testing.js +7 -0
  521. package/dist/runtime/wire.d.ts +26 -0
  522. package/dist/runtime/wire.js +236 -0
  523. package/dist/sdk-identity.cjs +3 -3
  524. package/dist/sdk-identity.js +3 -3
  525. package/dist/sdk-identity.json +2 -2
  526. package/dist/solid-ui/embedded-css.d.ts +2 -0
  527. package/dist/solid-ui/embedded-css.js +1 -0
  528. package/dist/solid-ui/embedded.css +2 -0
  529. package/dist/testing/components.d.ts +73 -0
  530. package/dist/testing/components.js +96 -0
  531. package/dist/testing/htmx.d.ts +44 -0
  532. package/dist/testing/htmx.js +284 -0
  533. package/dist/testing/index.d.ts +4 -41
  534. package/dist/testing/index.js +3 -206
  535. package/dist/testing/scenarios.d.ts +83 -0
  536. package/dist/testing/scenarios.js +74 -0
  537. package/dist/testing/wait.d.ts +7 -0
  538. package/dist/testing/wait.js +19 -0
  539. package/package.json +33 -2
  540. package/dist/lens/TablePanel-DU_ydQ1x.js +0 -980
  541. package/dist/lens/index-BJIuggdQ.js +0 -18403
  542. package/dist/lens/runtime/recovery.d.ts +0 -26
  543. package/dist/lens/runtime/recovery.d.ts.map +0 -1
@@ -1,980 +0,0 @@
1
- import { createComponent as g, insert as l, memo as S, effect as E, setAttribute as W, use as _t, className as p, style as se, template as h, addEventListener as he, setStyleProperty as wt, delegateEvents as yt } from "solid-js/web";
2
- import { createSignal as Q, createMemo as H, createEffect as fe, onCleanup as ge, Show as ye, For as j, createContext as xt, untrack as xe, useContext as St } from "solid-js";
3
- import { U as Ct, x as lt, aE as kt, u as ce, aF as Lt, a7 as Rt, aG as Ye, ad as Mt, aH as at, aI as Se, aJ as rt, l as Ft, aK as it, aL as It, am as Je, aM as je, a9 as $e, A as Nt, aN as Pt } from "./index-BJIuggdQ.js";
4
- import "solid-js/store";
5
- var ot = /* @__PURE__ */ h("<span aria-hidden=true>"), Tt = /* @__PURE__ */ h("<span class=lens-table-null>—"), At = /* @__PURE__ */ h("<span class=lens-table-bool>"), Wt = /* @__PURE__ */ h("<time>"), Et = /* @__PURE__ */ h("<div class=lens-table-bar><span class=lens-table-bar-value>"), qt = /* @__PURE__ */ h("<span class=lens-table-bar-track aria-hidden=true><span>"), Vt = /* @__PURE__ */ h("<span class=lens-table-underline><span class=lens-table-underline-value>"), st = /* @__PURE__ */ h("<span>"), pt = /* @__PURE__ */ h('<span class="lens-table-delta lens-table-delta-stacked"><span class=lens-table-delta-value>'), zt = /* @__PURE__ */ h("<span class=lens-table-delta><span class=lens-table-delta-value>"), Ot = /* @__PURE__ */ h("<span class=lens-table-cell-text>"), Gt = /* @__PURE__ */ h("<span class=lens-table-clamp>"), Ut = /* @__PURE__ */ h("<span class=lens-table-clamp-full>"), Bt = /* @__PURE__ */ h("<span class=lens-table-clamp-host>"), Dt = /* @__PURE__ */ h("<button class=lens-table-clamp-host type=button>"), Yt = /* @__PURE__ */ h("<a class=lens-table-cell-quiet><span class=lens-table-cell-quiet-value></span><span aria-hidden=true class=lens-table-cell-quiet-arrow>"), Jt = /* @__PURE__ */ h("<a><span class=lens-table-cell-link-arrow>"), jt = /* @__PURE__ */ h("<span class=lens-table-cell-pill>"), Ht = /* @__PURE__ */ h("<span class=lens-table-small-sample><span class=lens-table-small-sample-marker>"), Kt = /* @__PURE__ */ h("<span class=lens-table-cell-badged><span class=lens-table-cell-badge>"), Qt = /* @__PURE__ */ h("<span class=lens-table-summary-void><span aria-hidden=true>—</span><span class=lens:sr-only>"), Xt = /* @__PURE__ */ h('<div class=lens-table-view><div class=lens-table-scroll-frame><div class=lens-table-scroll role=region><table><thead><tr></tr></thead><tbody></tbody></table></div><button class="lens-table-overflow-edge lens-table-overflow-edge-left"type=button></button><button class="lens-table-overflow-edge lens-table-overflow-edge-right"type=button>'), Zt = /* @__PURE__ */ h("<label class=lens-table-search><span class=lens:sr-only></span><input type=search>"), He = /* @__PURE__ */ h("<th scope=col>"), Ke = /* @__PURE__ */ h("<button type=button><span>"), Qe = /* @__PURE__ */ h("<span class=lens-table-heading-static>"), Xe = /* @__PURE__ */ h("<th class=lens-table-action-heading scope=col><span class=lens:sr-only>"), en = /* @__PURE__ */ h("<th aria-hidden=true class=lens-table-scroll-spacer>"), tn = /* @__PURE__ */ h("<tr><td class=lens-table-empty>"), te = /* @__PURE__ */ h("<td aria-hidden=true class=lens-table-scroll-spacer>"), nn = /* @__PURE__ */ h("<tr>"), X = /* @__PURE__ */ h("<td>"), ln = /* @__PURE__ */ h("<td class=lens-table-action-cell>"), an = /* @__PURE__ */ h("<tfoot><tr>"), rn = /* @__PURE__ */ h("<tr class=lens-table-summary-all>"), on = /* @__PURE__ */ h("<footer class=lens-table-footer><span class=lens-table-footer-notes>"), sn = /* @__PURE__ */ h("<span class=lens-table-rowcount>"), cn = /* @__PURE__ */ h("<nav class=lens-table-pagination><button type=button></button><span aria-live=polite></span><button type=button>"), dn = /* @__PURE__ */ h("<tr class=lens-table-group-toggle>"), un = /* @__PURE__ */ h("<button class=lens-table-group-toggle-btn type=button><span aria-hidden=true></span><span>"), ct = /* @__PURE__ */ h("<a class=lens-leaf-action>"), mn = /* @__PURE__ */ h("<tr><td class=lens-table-action-cell>");
6
- const fn = 5, vn = 7, bn = 21, gn = 10, dt = xt(null);
7
- function Ce(e, n) {
8
- const t = St(dt);
9
- return Pt(n, e ? t == null ? void 0 : t.get(e) : void 0);
10
- }
11
- function hn(e) {
12
- if (e.type === "number") return {
13
- kind: "number",
14
- minorUnits: !1
15
- };
16
- if (e.type === "time") return {
17
- kind: "date",
18
- minorUnits: !1
19
- };
20
- if (e.type === "string") return {
21
- kind: "string",
22
- minorUnits: !1
23
- };
24
- }
25
- function K(e) {
26
- if (typeof e == "number" && Number.isFinite(e)) return e;
27
- if (typeof e == "string" && e.trim() !== "") {
28
- const n = Number(e);
29
- if (Number.isFinite(n)) return n;
30
- }
31
- }
32
- function Ze(e, n) {
33
- var t;
34
- if (e == null) return "";
35
- if (n === "number") {
36
- const d = typeof e == "number" ? e : Number(e);
37
- return Number.isFinite(d) ? d : Number.NEGATIVE_INFINITY;
38
- }
39
- if (n === "time") {
40
- const d = new Date(typeof e == "string" || typeof e == "number" ? e : "").getTime();
41
- return Number.isNaN(d) ? Number.NEGATIVE_INFINITY : d;
42
- }
43
- return n === "bool" ? e === !0 || e === 1 || e === "true" ? 1 : 0 : typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "bigint" ? String(e).toLocaleLowerCase() : ((t = JSON.stringify(e)) == null ? void 0 : t.toLocaleLowerCase()) ?? "";
44
- }
45
- function $n(e, n) {
46
- return typeof e == "number" && typeof n == "number" ? e - n : String(e).localeCompare(String(n), void 0, {
47
- numeric: !0,
48
- sensitivity: "base"
49
- });
50
- }
51
- function et(e) {
52
- return (() => {
53
- var n = ot();
54
- return l(n, (() => {
55
- var t = S(() => e.direction === "ascending");
56
- return () => t() && g(Ye, {
57
- className: "lens-table-sort-up"
58
- });
59
- })(), null), l(n, (() => {
60
- var t = S(() => e.direction === "descending");
61
- return () => t() && g(Ye, {});
62
- })(), null), l(n, (() => {
63
- var t = S(() => !e.direction);
64
- return () => t() && g(Mt, {
65
- className: "lens-table-sort-neutral"
66
- });
67
- })(), null), E(() => p(n, `lens-table-sort${e.direction ? ` lens-table-sort-${e.direction}` : ""}`)), n;
68
- })();
69
- }
70
- function oe(e, n) {
71
- var t;
72
- return e.align ? e.align === "right" : e.cell.kind === "bar" || e.cell.kind === "underline" || e.cell.kind === "delta" ? !0 : e.field.trim() ? ((t = n.columns.find((d) => d.name === e.field)) == null ? void 0 : t.type) === "number" : !1;
73
- }
74
- function ut(e) {
75
- const n = Ce(e.column.name, e.format ?? hn(e.column)), t = ce();
76
- if (e.column.type === "bool") {
77
- if (e.value === null || e.value === void 0 || e.value === "") return Tt();
78
- const _ = e.value === !0 || e.value === 1 || e.value === "true";
79
- return (() => {
80
- var $ = At();
81
- return W($, "data-value", _), l($, () => _ ? t("table.boolean.yes", "Yes") : t("table.boolean.no", "No")), $;
82
- })();
83
- }
84
- const d = n(e.value);
85
- return e.column.type === "time" && d !== "—" ? (() => {
86
- var _ = Wt();
87
- return l(_, d), E(() => W(_, "datetime", typeof e.value == "string" ? e.value : void 0)), _;
88
- })() : d;
89
- }
90
- function _n(e) {
91
- const n = Ce(e.field, e.format), t = K(e.value), d = e.max > 0 && t !== void 0 ? Math.max(0, Math.min(1, Math.abs(t) / e.max)) : 0, _ = t !== void 0 && t < 0, $ = t !== void 0 && t !== 0;
92
- return (() => {
93
- var s = Et(), c = s.firstChild;
94
- return l(s, $ && (() => {
95
- var L = qt(), F = L.firstChild;
96
- return p(F, `lens-table-bar-fill${_ ? " lens-table-bar-fill-negative" : ""}`), wt(F, "width", `${d * 50}%`), E((q) => se(F, {
97
- [_ ? "right" : "left"]: "50%"
98
- }, q)), L;
99
- })(), c), l(c, () => n(e.value)), s;
100
- })();
101
- }
102
- function wn(e) {
103
- const n = Ce(e.field, e.format), t = K(e.value), d = t !== void 0 && t < 0, _ = t === void 0;
104
- return (() => {
105
- var $ = Vt(), s = $.firstChild;
106
- return l(s, () => n(e.value)), l($, !_ && (() => {
107
- var c = ot();
108
- return p(c, `lens-table-underline-rule${d ? " lens-table-underline-rule-negative" : ""}`), c;
109
- })(), null), $;
110
- })();
111
- }
112
- function yn(e) {
113
- const n = $e(e.valueFormat), t = $e(e.secondaryFormat), d = ce(), {
114
- document: _
115
- } = lt(), $ = K(e.value), s = K(e.secondaryValue), c = e.secondaryValue !== null && e.secondaryValue !== void 0 && e.secondaryValue !== "", L = !c && $ !== void 0 && $ !== 0, F = s !== void 0 && s < 0, q = s !== void 0 ? Nt(s, _.meta.locale) : void 0, Y = (c || L) && (() => {
116
- var R = st();
117
- return p(R, `lens-table-delta-pct${F ? " lens-table-delta-pct-negative" : ""}`), l(R, () => L ? d("panel.trend.new", "New") : q ?? [s !== void 0 && s > 0 ? "+" : "", S(() => t(e.secondaryValue))]), R;
118
- })();
119
- return e.stacked ? (() => {
120
- var R = pt(), z = R.firstChild;
121
- return l(R, Y, z), l(z, () => n(e.value)), R;
122
- })() : (() => {
123
- var R = zt(), z = R.firstChild;
124
- return l(z, () => n(e.value)), l(R, Y, null), R;
125
- })();
126
- }
127
- function tt(e, n, t) {
128
- if (!t) return "";
129
- const d = e.columns.findIndex(($) => $.name === t);
130
- if (d < 0) return "";
131
- const _ = n[d];
132
- return typeof _ == "string" ? _ : "";
133
- }
134
- function mt(e) {
135
- var de;
136
- const n = Se(e.column.action), t = ce(), d = e.frame.columns.findIndex((m) => m.name === e.column.field), _ = ((de = e.frame.columns[d]) == null ? void 0 : de.type) ?? "string", $ = d >= 0 ? e.row[d] : void 0, s = e.panel.format[e.column.field];
137
- let c;
138
- if (!e.column.field.trim() && e.column.text)
139
- c = (() => {
140
- var m = Ot();
141
- return l(m, () => e.column.text), m;
142
- })();
143
- else if (e.column.cell.kind === "bar")
144
- c = g(_n, {
145
- get field() {
146
- return e.column.field;
147
- },
148
- format: s,
149
- value: $,
150
- get max() {
151
- return e.max;
152
- }
153
- });
154
- else if (e.column.cell.kind === "underline")
155
- c = g(wn, {
156
- get field() {
157
- return e.column.field;
158
- },
159
- format: s,
160
- value: $
161
- });
162
- else if (e.column.cell.kind === "delta") {
163
- const m = e.column.cell.secondaryField, A = m ? e.frame.columns.findIndex((N) => N.name === m) : -1;
164
- c = g(yn, {
165
- valueFormat: s,
166
- value: $,
167
- get secondaryFormat() {
168
- return m ? e.panel.format[m] : void 0;
169
- },
170
- get secondaryValue() {
171
- return A >= 0 ? e.row[A] : void 0;
172
- },
173
- get stacked() {
174
- return e.column.cell.layout === "stacked";
175
- }
176
- });
177
- } else
178
- c = g(ut, {
179
- get column() {
180
- return {
181
- name: e.column.field,
182
- type: _
183
- };
184
- },
185
- format: s,
186
- value: $
187
- });
188
- const L = tt(e.frame, e.row, e.column.cell.toneField);
189
- (L === "pos" || L === "warn" || L === "neg") && (c = (() => {
190
- var m = st();
191
- return p(m, `lens-table-tone lens-table-tone-${L}`), l(m, c), m;
192
- })());
193
- const F = e.column.action && xe(n.available) ? It(e.column.action, e.frame, e.row, e.location) : void 0;
194
- if (e.column.clamp) {
195
- const m = typeof $ == "string" ? $ : void 0, A = [(() => {
196
- var N = Gt();
197
- return W(N, "title", m), l(N, c), E((ne) => se(N, {
198
- "-webkit-line-clamp": e.column.clamp
199
- }, ne)), N;
200
- })(), m && (() => {
201
- var N = Ut();
202
- return l(N, m), N;
203
- })()];
204
- c = F || !m ? (() => {
205
- var N = Bt();
206
- return l(N, A), N;
207
- })() : (() => {
208
- var N = Dt();
209
- return l(N, A), N;
210
- })();
211
- }
212
- const q = e.column.affordance === "pill", Y = e.column.affordance === "quiet";
213
- let R;
214
- F && Y ? R = (() => {
215
- var m = Yt(), A = m.firstChild, N = A.nextSibling;
216
- return he(m, "click", n.onClick(F), !0), W(m, "href", F), l(A, c), l(N, g(Je, {})), m;
217
- })() : F ? R = (() => {
218
- var m = Jt(), A = m.firstChild;
219
- return he(m, "click", n.onClick(F), !0), p(m, `lens-table-cell-link${q ? " lens-table-cell-pill" : ""}`), W(m, "href", F), l(m, c, A), l(A, q ? g(Je, {}) : g(it, {})), m;
220
- })() : q ? R = (() => {
221
- var m = jt();
222
- return l(m, c), m;
223
- })() : R = c;
224
- const z = tt(e.frame, e.row, e.column.badgeField), G = e.column.sampleSizeField ? e.frame.columns.findIndex((m) => m.name === e.column.sampleSizeField) : -1, Z = G >= 0 ? K(e.row[G]) : void 0, U = (e.column.minSampleSize ?? 0) > 0 ? e.column.minSampleSize : fn;
225
- if (Z !== void 0 && Z < U) {
226
- const m = t("table.smallSample", "Small sample: n={count}, minimum {minimum}", {
227
- count: Z,
228
- minimum: U
229
- });
230
- R = (() => {
231
- var A = Ht(), N = A.firstChild;
232
- return l(A, R, N), l(N, () => t("table.smallSampleShort", "n<{minimum}", {
233
- minimum: U
234
- }), null), l(N, g(je, {
235
- inline: !0,
236
- text: m
237
- }), null), A;
238
- })();
239
- }
240
- return z ? (() => {
241
- var m = Kt(), A = m.firstChild;
242
- return l(m, R, A), W(A, "title", z), l(A, g(je, {
243
- inline: !0,
244
- text: z
245
- })), m;
246
- })() : R;
247
- }
248
- function xn(e, n) {
249
- if (n.length <= 1) return 0.5;
250
- const t = n.indexOf(e);
251
- if (t < 0) return 0.5;
252
- const d = n.lastIndexOf(e);
253
- return (t + d) / 2 / (n.length - 1);
254
- }
255
- function ft(e, n, t, d) {
256
- if (!e.heat) return;
257
- const _ = n.columns.findIndex((F) => F.name === e.field), $ = _ >= 0 ? K(t[_]) : void 0, s = d.get(e.field);
258
- if ($ === void 0 || !s) return;
259
- const c = xn($, s.sorted);
260
- return {
261
- "background-color": `color-mix(in srgb, var(--lens-accent-500) ${Math.round(vn + Math.max(0, Math.min(1, c)) * bn)}%, var(--lens-bg-card))`
262
- };
263
- }
264
- function Sn(e, n) {
265
- const t = e.rows.map((s, c) => ({
266
- row: s,
267
- index: c
268
- }));
269
- if (!n) return t;
270
- const d = e.columns.findIndex(({
271
- name: s
272
- }) => s === n.column), _ = e.columns[d];
273
- if (!_) return t;
274
- const $ = n.direction === "ascending" ? 1 : -1;
275
- return t.sort((s, c) => {
276
- const L = $n(Ze(s.row[d], _.type), Ze(c.row[d], _.type));
277
- return L === 0 ? s.index - c.index : L * $;
278
- });
279
- }
280
- function _e(e) {
281
- const n = $e(e.panel.format[e.field]);
282
- return S(() => S(() => e.value === void 0)() ? g(we, {}) : n(e.value));
283
- }
284
- function nt(e) {
285
- return [S(() => e.label), S(() => S(() => e.column.total === !0 && e.value !== void 0)() && [": ", g(_e, {
286
- get field() {
287
- return e.column.field;
288
- },
289
- get panel() {
290
- return e.panel;
291
- },
292
- get value() {
293
- return e.value;
294
- }
295
- })])];
296
- }
297
- function we() {
298
- const e = ce();
299
- return (() => {
300
- var n = Qt(), t = n.firstChild, d = t.nextSibling;
301
- return l(d, () => e("table.notSummable", "Not summable")), n;
302
- })();
303
- }
304
- function Nn(e) {
305
- var Ee, qe, Ve, pe, ze;
306
- const n = e.panel, t = Ct(n.id), {
307
- document: d,
308
- navigation: _
309
- } = lt(), $ = kt(), s = ce(), [c, L] = Q(), [F, q] = Q(""), [Y, R] = Q(globalThis.location.href);
310
- let z;
311
- const [G, Z] = Q({
312
- left: !1,
313
- right: !1
314
- }), [U, de] = Q(!1);
315
- let m = !1;
316
- const [A, N] = Q(((Ee = t.page) == null ? void 0 : Ee.number) ?? 1);
317
- let ne = d.snapshotId;
318
- const ke = () => _.panelId === n.id && _.path.length ? Ft(d, _.path) : void 0, ve = !!((qe = d == null ? void 0 : d.endpoints) != null && qe.panel && ((Ve = n.table) != null && Ve.searchable)), le = () => {
319
- var r;
320
- return ((r = n.presentation) == null ? void 0 : r.sortable) !== !1 && (!t.page || ve);
321
- }, be = H(() => t.data ? Sn(t.data, !ve && le() ? c() : void 0) : []), ae = () => {
322
- var r;
323
- return ((r = t.page) == null ? void 0 : r.number) ?? 1;
324
- }, Le = () => {
325
- var r;
326
- return (r = t.page) == null ? void 0 : r.size;
327
- }, Re = () => ne === d.snapshotId ? A() : 1, vt = () => {
328
- var r, o;
329
- return ((r = t.page) == null ? void 0 : r.hasNext) ?? !!(Le() && (((o = t.data) == null ? void 0 : o.rows.length) ?? 0) >= Le());
330
- };
331
- fe(() => {
332
- const r = () => R(globalThis.location.href);
333
- globalThis.addEventListener("popstate", r), ge(() => globalThis.removeEventListener("popstate", r));
334
- });
335
- const ue = H(() => new URL(Y())), O = (pe = n.columns) != null && pe.length ? n.columns : void 0, re = H(() => {
336
- const r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map();
337
- if (!t.data) return {
338
- maxima: r,
339
- ranges: o,
340
- references: C
341
- };
342
- for (const [k, y] of t.data.columns.entries()) {
343
- const T = t.data.rows.map((M) => K(M[k])).filter((M) => M !== void 0), x = Lt(T, n.format[y.name]);
344
- x !== void 0 && C.set(y.name, x);
345
- }
346
- if (!O) return {
347
- maxima: r,
348
- ranges: o,
349
- references: C
350
- };
351
- for (const k of O) {
352
- if (k.cell.kind !== "bar" && !k.heat) continue;
353
- const y = t.data.columns.findIndex((x) => x.name === k.field);
354
- if (y < 0) continue;
355
- const T = t.data.rows.map((x) => K(x[y])).filter((x) => x !== void 0);
356
- k.cell.kind === "bar" && r.set(k.field, T.reduce((x, M) => Math.max(x, Math.abs(M)), 0)), k.heat && T.length > 0 && o.set(k.field, {
357
- min: Math.min(...T),
358
- max: Math.max(...T),
359
- sorted: [...T].sort((x, M) => x - M)
360
- });
361
- }
362
- return {
363
- maxima: r,
364
- ranges: o,
365
- references: C
366
- };
367
- }), ie = !!O && n.actions.some((r) => r.kind === "navigate_to_leaf" || r.kind === "open_drawer"), [bt, gt] = Q({}), Me = (ze = n.presentation) == null ? void 0 : ze.rowGroupField, me = () => O && t.data && Me ? t.data.columns.findIndex((r) => r.name === Me) : -1, ht = (r) => gt((o) => ({
368
- ...o,
369
- [r]: !o[r]
370
- })), $t = H(() => {
371
- if (me() < 0) return be().map((y) => ({
372
- ...y,
373
- kind: "normal"
374
- }));
375
- const r = [], o = [], C = /* @__PURE__ */ new Map();
376
- for (const y of be()) {
377
- const T = y.row[me()], x = typeof T == "string" ? T : "";
378
- if (!x) {
379
- r.push({
380
- ...y,
381
- kind: "normal"
382
- });
383
- continue;
384
- }
385
- if (x.endsWith(":toggle")) {
386
- o.push({
387
- entry: y,
388
- group: x.slice(0, -7)
389
- });
390
- continue;
391
- }
392
- const M = C.get(x);
393
- M ? M.push(y) : C.set(x, [y]);
394
- }
395
- const k = [...r];
396
- for (const {
397
- entry: y,
398
- group: T
399
- } of o) {
400
- const x = !!bt()[T];
401
- if (k.push({
402
- ...y,
403
- kind: "toggle",
404
- group: T,
405
- expanded: x
406
- }), x) for (const M of C.get(T) ?? []) k.push({
407
- ...M,
408
- kind: "member"
409
- });
410
- }
411
- return k;
412
- }), Fe = () => {
413
- var r, o;
414
- return me() < 0 ? ((r = t.data) == null ? void 0 : r.rows.length) ?? 0 : ((o = t.data) == null ? void 0 : o.rows.reduce((C, k) => {
415
- const y = k[me()];
416
- return typeof y == "string" && y.endsWith(":toggle") ? C : C + 1;
417
- }, 0)) ?? 0;
418
- }, Ie = () => {
419
- var r;
420
- return (((r = t.summary) == null ? void 0 : r.filteredRows) ?? Fe()) > gn;
421
- };
422
- fe(() => {
423
- var r;
424
- if (ne !== d.snapshotId) {
425
- ne = d.snapshotId, N(1), q(""), m = !1;
426
- return;
427
- }
428
- (r = t.page) != null && r.number && N(t.page.number);
429
- }), fe(() => {
430
- var C;
431
- if (!((C = n.table) != null && C.searchable)) return;
432
- const r = F();
433
- if (!m) {
434
- m = !0;
435
- return;
436
- }
437
- const o = globalThis.setTimeout(() => {
438
- $.search(n.id, r);
439
- }, d.theme.debounceMs ?? 500);
440
- ge(() => globalThis.clearTimeout(o));
441
- });
442
- const Ne = (r) => {
443
- N(r), $.loadPage(n.id, r);
444
- }, Pe = (r) => {
445
- var C;
446
- const o = ((C = c()) == null ? void 0 : C.column) === r ? {
447
- column: r,
448
- direction: c().direction === "ascending" ? "descending" : "ascending"
449
- } : {
450
- column: r,
451
- direction: "ascending"
452
- };
453
- L(o), ve && $.sort(n.id, {
454
- field: r,
455
- direction: o.direction === "ascending" ? "asc" : "desc"
456
- });
457
- }, Te = (r) => {
458
- var o;
459
- return le() && ((o = c()) == null ? void 0 : o.column) === r ? c().direction : void 0;
460
- }, Ae = () => {
461
- var r;
462
- return O ? O.length + (ie ? 1 : 0) : (((r = t.data) == null ? void 0 : r.columns.length) ?? 0) + 1;
463
- };
464
- fe(() => {
465
- const r = t.data, o = z;
466
- if (!r || !o) return;
467
- let C;
468
- const k = () => {
469
- var Ue, Be, De;
470
- const M = o.querySelector("thead th:first-child"), J = (M == null ? void 0 : M.offsetWidth) ?? 0, i = Number.parseFloat(((Ue = o.parentElement) == null ? void 0 : Ue.style.getPropertyValue("--lens-table-sticky-width")) ?? "");
471
- (Be = o.parentElement) == null || Be.style.setProperty("--lens-table-sticky-width", `${J}px`);
472
- const u = o.querySelector("table"), w = (u == null ? void 0 : u.scrollWidth) || o.scrollWidth, a = ((De = o.querySelector("thead th.lens-table-scroll-spacer")) == null ? void 0 : De.offsetWidth) ?? 0, b = Math.max(0, w - a) > o.clientWidth + 1;
473
- de((B) => B === b ? B : b);
474
- const I = Array.from(o.querySelectorAll("thead th:not(.lens-table-scroll-spacer):not(.lens-table-action-heading)")), v = Math.max(0, w - o.clientWidth), P = I.at(-1), V = Math.max(0, ((P == null ? void 0 : P.offsetLeft) ?? 0) + ((P == null ? void 0 : P.offsetWidth) ?? 0) - o.clientWidth), ee = I.slice(1).map((B) => Math.max(0, B.offsetLeft - J)).find((B) => B >= V - 1 && B <= v + 1) ?? Math.min(V, v);
475
- o.scrollLeft > ee && (o.scrollLeft = ee);
476
- const Oe = o.scrollLeft > 1, Ge = o.scrollLeft < ee - 1;
477
- Z((B) => B.left === Oe && B.right === Ge ? B : {
478
- left: Oe,
479
- right: Ge
480
- }), (!Number.isFinite(i) || Math.abs(i - J) > 0.5) && (C !== void 0 && globalThis.cancelAnimationFrame(C), C = globalThis.requestAnimationFrame(k));
481
- };
482
- k(), o.addEventListener("scroll", k, {
483
- passive: !0
484
- });
485
- const y = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(k);
486
- y == null || y.observe(o);
487
- const T = o.querySelector("table"), x = o.querySelector("thead th:first-child");
488
- T && (y == null || y.observe(T)), x && (y == null || y.observe(x)), ge(() => {
489
- var M;
490
- o.removeEventListener("scroll", k), y == null || y.disconnect(), C !== void 0 && globalThis.cancelAnimationFrame(C), (M = o.parentElement) == null || M.style.removeProperty("--lens-table-sticky-width");
491
- });
492
- });
493
- const We = (r) => {
494
- var b, I;
495
- const o = z;
496
- if (!o) return;
497
- const C = ((b = o.querySelector("table")) == null ? void 0 : b.scrollWidth) || o.scrollWidth, k = Array.from(o.querySelectorAll("thead th:not(.lens-table-scroll-spacer):not(.lens-table-action-heading)")), y = ((I = k[0]) == null ? void 0 : I.offsetWidth) ?? 0, T = Math.max(0, C - o.clientWidth), x = k.at(-1), M = Math.max(0, ((x == null ? void 0 : x.offsetLeft) ?? 0) + ((x == null ? void 0 : x.offsetWidth) ?? 0) - o.clientWidth), i = k.slice(1).map((v) => Math.max(0, v.offsetLeft - y)).find((v) => v >= M - 1 && v <= T + 1) ?? Math.min(M, T), u = k.slice(1).map((v) => Math.max(0, Math.min(i, v.offsetLeft - y))).filter((v, P, V) => v > 0 && (P === 0 || v !== V[P - 1])), w = o.scrollLeft + r * Math.max(120, Math.round(o.clientWidth * 0.8)), a = r > 0 ? u.filter((v) => v > o.scrollLeft + 1) : u.filter((v) => v < o.scrollLeft - 1), f = a.length === 0 ? r > 0 ? i : 0 : r > 0 ? a.find((v) => v >= w) ?? a[a.length - 1] : [...a].reverse().find((v) => v <= w) ?? a[0];
498
- f !== void 0 && (o.scrollLeft = f, Z({
499
- left: f > 1,
500
- right: f < i - 1
501
- }), o.focus({
502
- preventScroll: !0
503
- }));
504
- };
505
- return g(Rt, {
506
- panel: n,
507
- frame: t,
508
- get allowEmptyContent() {
509
- return !!t.page;
510
- },
511
- get children() {
512
- return g(ye, {
513
- get when() {
514
- return t.data;
515
- },
516
- get children() {
517
- return g(dt.Provider, {
518
- get value() {
519
- return re().references;
520
- },
521
- get children() {
522
- var r = Xt(), o = r.firstChild, C = o.firstChild, k = C.firstChild, y = k.firstChild, T = y.firstChild, x = y.nextSibling, M = C.nextSibling, J = M.nextSibling;
523
- return l(r, (() => {
524
- var i = S(() => {
525
- var u;
526
- return !!((u = n.table) != null && u.searchable);
527
- });
528
- return () => i() && (() => {
529
- var u = Zt(), w = u.firstChild, a = w.nextSibling;
530
- return l(w, () => s("table.search", "Search table")), a.addEventListener("change", (f) => q(f.target.value)), E((f) => {
531
- var b = s("table.search", "Search table"), I = s("table.searchPlaceholder", "Search all rows…");
532
- return b !== f.e && W(a, "aria-label", f.e = b), I !== f.t && W(a, "placeholder", f.t = I), f;
533
- }, {
534
- e: void 0,
535
- t: void 0
536
- }), E(() => a.value = F()), u;
537
- })();
538
- })(), o), _t((i) => {
539
- z = i;
540
- }, C), l(T, O ? [g(j, {
541
- each: O,
542
- children: (i) => {
543
- const u = le() && !!i.field.trim();
544
- return (() => {
545
- var w = He();
546
- return l(w, u ? (() => {
547
- var a = Ke(), f = a.firstChild;
548
- return a.$$click = () => Pe(i.field), l(f, () => i.label), l(a, g(et, {
549
- get direction() {
550
- return Te(i.field);
551
- }
552
- }), null), a;
553
- })() : (() => {
554
- var a = Qe();
555
- return l(a, () => i.label), a;
556
- })()), E((a) => {
557
- var v;
558
- var f = u ? ((v = c()) == null ? void 0 : v.column) === i.field ? c().direction : "none" : void 0, b = t.data && oe(i, t.data) ? "lens-table-col-right" : void 0, I = i.widthPx ? {
559
- "min-width": `${i.widthPx}px`
560
- } : void 0;
561
- return f !== a.e && W(w, "aria-sort", a.e = f), b !== a.t && p(w, a.t = b), a.a = se(w, I, a.a), a;
562
- }, {
563
- e: void 0,
564
- t: void 0,
565
- a: void 0
566
- }), w;
567
- })();
568
- }
569
- }), ie && (() => {
570
- var i = Xe(), u = i.firstChild;
571
- return l(u, () => s("table.actions", "Actions")), i;
572
- })()] : [g(j, {
573
- get each() {
574
- var i;
575
- return ((i = t.data) == null ? void 0 : i.columns) ?? [];
576
- },
577
- children: (i) => (() => {
578
- var u = He();
579
- return l(u, (() => {
580
- var w = S(() => !!le());
581
- return () => w() ? (() => {
582
- var a = Ke(), f = a.firstChild;
583
- return a.$$click = () => Pe(i.name), l(f, () => i.name), l(a, g(et, {
584
- get direction() {
585
- return Te(i.name);
586
- }
587
- }), null), a;
588
- })() : (() => {
589
- var a = Qe();
590
- return l(a, () => i.name), a;
591
- })();
592
- })()), E((w) => {
593
- var b;
594
- var a = le() ? ((b = c()) == null ? void 0 : b.column) === i.name ? c().direction : "none" : void 0, f = i.type === "number" || i.type === "time" ? "lens-table-col-right" : void 0;
595
- return a !== w.e && W(u, "aria-sort", w.e = a), f !== w.t && p(u, w.t = f), w;
596
- }, {
597
- e: void 0,
598
- t: void 0
599
- }), u;
600
- })()
601
- }), (() => {
602
- var i = Xe(), u = i.firstChild;
603
- return l(u, () => s("table.actions", "Actions")), i;
604
- })()], null), l(T, (() => {
605
- var i = S(() => !!U());
606
- return () => i() && en();
607
- })(), null), l(x, (() => {
608
- var i = S(() => be().length === 0);
609
- return () => i() ? (() => {
610
- var u = tn(), w = u.firstChild;
611
- return l(w, () => s("table.emptyPage", "No records on this page")), l(u, (() => {
612
- var a = S(() => !!U());
613
- return () => a() && te();
614
- })(), null), E(() => W(w, "colspan", Ae())), u;
615
- })() : g(j, {
616
- get each() {
617
- return $t();
618
- },
619
- children: (u) => O ? u.kind === "toggle" ? g(Cn, {
620
- get columnMaxima() {
621
- return re().maxima;
622
- },
623
- get columnRanges() {
624
- return re().ranges;
625
- },
626
- columns: O,
627
- get expanded() {
628
- return u.expanded;
629
- },
630
- get frame() {
631
- return t.data;
632
- },
633
- get location() {
634
- return ue();
635
- },
636
- onToggle: () => ht(u.group),
637
- panel: n,
638
- get row() {
639
- return u.row;
640
- },
641
- get trailingSpacer() {
642
- return U();
643
- }
644
- }) : (() => {
645
- var w = nn();
646
- return l(w, g(j, {
647
- each: O,
648
- children: (a) => (() => {
649
- var f = X();
650
- return l(f, g(mt, {
651
- column: a,
652
- get frame() {
653
- return t.data;
654
- },
655
- get location() {
656
- return ue();
657
- },
658
- get max() {
659
- return re().maxima.get(a.field) ?? 0;
660
- },
661
- panel: n,
662
- get row() {
663
- return u.row;
664
- }
665
- })), E((b) => {
666
- var I = `lens-table-cell${t.data && oe(a, t.data) ? " lens-table-col-right" : ""}`, v = {
667
- ...a.widthPx ? {
668
- "min-width": `${a.widthPx}px`
669
- } : {},
670
- ...t.data ? ft(a, t.data, u.row, re().ranges) : {}
671
- };
672
- return I !== b.e && p(f, b.e = I), b.t = se(f, v, b.t), b;
673
- }, {
674
- e: void 0,
675
- t: void 0
676
- }), f;
677
- })()
678
- }), null), l(w, ie && (() => {
679
- var a = ln();
680
- return l(a, g(kn, {
681
- get frame() {
682
- return t.data;
683
- },
684
- get label() {
685
- return s("table.openRecord", "Open record");
686
- },
687
- get level() {
688
- return ke();
689
- },
690
- get location() {
691
- return ue();
692
- },
693
- panel: n,
694
- get row() {
695
- return u.row;
696
- }
697
- })), a;
698
- })(), null), l(w, (() => {
699
- var a = S(() => !!U());
700
- return () => a() && te();
701
- })(), null), E(() => p(w, u.kind === "member" ? "lens-table-group-member" : void 0)), w;
702
- })() : g(Ln, {
703
- get frame() {
704
- return t.data;
705
- },
706
- get index() {
707
- return u.index;
708
- },
709
- get level() {
710
- return ke();
711
- },
712
- get location() {
713
- return ue();
714
- },
715
- get openRecordLabel() {
716
- return s("table.openRecord", "Open record");
717
- },
718
- panel: n,
719
- get row() {
720
- return u.row;
721
- },
722
- get trailingSpacer() {
723
- return U();
724
- }
725
- })
726
- });
727
- })()), l(k, (() => {
728
- var i = S(() => !!(O && t.summary && Object.keys(t.summary.values).length > 0));
729
- return () => i() && (() => {
730
- var u = an(), w = u.firstChild;
731
- return l(w, g(j, {
732
- each: O,
733
- children: (a, f) => (() => {
734
- var b = X();
735
- return l(b, (() => {
736
- var I = S(() => f() === 0);
737
- return () => I() ? g(nt, {
738
- column: a,
739
- get label() {
740
- return S(() => {
741
- var v;
742
- return !!((v = t.summary) != null && v.fullValues);
743
- })() ? s("table.filteredTotal", "Filtered total") : s("table.total", "Total");
744
- },
745
- panel: n,
746
- get value() {
747
- var v;
748
- return (v = t.summary) == null ? void 0 : v.values[a.field];
749
- }
750
- }) : S(() => a.total === !0)() ? g(_e, {
751
- get field() {
752
- return a.field;
753
- },
754
- panel: n,
755
- get value() {
756
- var v;
757
- return (v = t.summary) == null ? void 0 : v.values[a.field];
758
- }
759
- }) : g(we, {});
760
- })()), E(() => p(b, `lens-table-cell${t.data && oe(a, t.data) ? " lens-table-col-right" : ""}`)), b;
761
- })()
762
- }), null), l(w, ie && X(), null), l(w, (() => {
763
- var a = S(() => !!U());
764
- return () => a() && te();
765
- })(), null), l(u, (() => {
766
- var a = S(() => !!t.summary.fullValues);
767
- return () => a() && (() => {
768
- var f = rn();
769
- return l(f, g(j, {
770
- each: O,
771
- children: (b, I) => (() => {
772
- var v = X();
773
- return l(v, (() => {
774
- var P = S(() => I() === 0);
775
- return () => P() ? g(nt, {
776
- column: b,
777
- get label() {
778
- return s("table.allRowsTotal", "All rows total");
779
- },
780
- panel: n,
781
- get value() {
782
- var V, D;
783
- return (D = (V = t.summary) == null ? void 0 : V.fullValues) == null ? void 0 : D[b.field];
784
- }
785
- }) : S(() => b.total === !0)() ? g(_e, {
786
- get field() {
787
- return b.field;
788
- },
789
- panel: n,
790
- get value() {
791
- var V, D;
792
- return (D = (V = t.summary) == null ? void 0 : V.fullValues) == null ? void 0 : D[b.field];
793
- }
794
- }) : g(we, {});
795
- })()), E(() => p(v, `lens-table-cell${t.data && oe(b, t.data) ? " lens-table-col-right" : ""}`)), v;
796
- })()
797
- }), null), l(f, ie && X(), null), l(f, (() => {
798
- var b = S(() => !!U());
799
- return () => b() && te();
800
- })(), null), f;
801
- })();
802
- })(), null), u;
803
- })();
804
- })(), null), M.$$click = () => We(-1), J.$$click = () => We(1), l(r, (() => {
805
- var i = S(() => !!(Ie() || t.page));
806
- return () => i() && (() => {
807
- var u = on(), w = u.firstChild;
808
- return l(w, (() => {
809
- var a = S(() => !!Ie());
810
- return () => a() && (() => {
811
- var f = sn();
812
- return l(f, (() => {
813
- var b = S(() => !!(t.summary && t.summary.totalRows > t.summary.filteredRows));
814
- return () => {
815
- var I;
816
- return b() ? s("table.filteredRowCount", "{filtered} of {total} rows", {
817
- filtered: t.summary.filteredRows,
818
- total: t.summary.totalRows
819
- }) : s("table.rowCount", "{count} rows", {
820
- count: ((I = t.summary) == null ? void 0 : I.filteredRows) ?? Fe()
821
- });
822
- };
823
- })()), f;
824
- })();
825
- })()), l(u, (() => {
826
- var a = S(() => !!t.page);
827
- return () => a() && (() => {
828
- var f = cn(), b = f.firstChild, I = b.nextSibling, v = I.nextSibling;
829
- return b.$$click = () => Ne(ae() - 1), l(b, () => s("table.previous", "Previous")), l(I, (() => {
830
- var P = S(() => !!(t.isLoading && Re() !== ae()));
831
- return () => P() ? s("table.loadingPage", "Loading page {n}", {
832
- n: Re()
833
- }) : s("table.page", "Page {n}", {
834
- n: ae()
835
- });
836
- })()), v.$$click = () => Ne(ae() + 1), l(v, () => s("table.next", "Next")), E((P) => {
837
- var V = s("table.pages", "{name} pages", {
838
- name: n.title
839
- }), D = t.isLoading || ae() <= 1, ee = t.isLoading || !vt();
840
- return V !== P.e && W(f, "aria-label", P.e = V), D !== P.t && (b.disabled = P.t = D), ee !== P.a && (v.disabled = P.a = ee), P;
841
- }, {
842
- e: void 0,
843
- t: void 0,
844
- a: void 0
845
- }), f;
846
- })();
847
- })(), null), u;
848
- })();
849
- })(), null), E((i) => {
850
- var u = G().left, w = G().right, a = s("table.scrollRegion", "Scrollable table"), f = G().left || G().right ? 0 : void 0, b = `lens-table${Ae() >= 4 ? " lens-table-wide" : ""}`, I = s("table.scrollLeft", "Scroll table left"), v = !G().left, P = s("table.scrollRight", "Scroll table right"), V = !G().right;
851
- return u !== i.e && W(o, "data-overflow-left", i.e = u), w !== i.t && W(o, "data-overflow-right", i.t = w), a !== i.a && W(C, "aria-label", i.a = a), f !== i.o && W(C, "tabindex", i.o = f), b !== i.i && p(k, i.i = b), I !== i.n && W(M, "aria-label", i.n = I), v !== i.s && (M.disabled = i.s = v), P !== i.h && W(J, "aria-label", i.h = P), V !== i.r && (J.disabled = i.r = V), i;
852
- }, {
853
- e: void 0,
854
- t: void 0,
855
- a: void 0,
856
- o: void 0,
857
- i: void 0,
858
- n: void 0,
859
- s: void 0,
860
- h: void 0,
861
- r: void 0
862
- }), r;
863
- }
864
- });
865
- }
866
- });
867
- }
868
- });
869
- }
870
- function Cn(e) {
871
- return (() => {
872
- var n = dn();
873
- return l(n, g(j, {
874
- get each() {
875
- return e.columns;
876
- },
877
- children: (t, d) => {
878
- const _ = e.frame.columns.findIndex((c) => c.name === t.field), $ = _ >= 0 ? e.row[_] : void 0, s = typeof $ == "string" ? $ : "";
879
- return (() => {
880
- var c = X();
881
- return l(c, (() => {
882
- var L = S(() => d() === 0);
883
- return () => L() ? (() => {
884
- var F = un(), q = F.firstChild, Y = q.nextSibling;
885
- return he(F, "click", e.onToggle, !0), l(q, g(it, {})), l(Y, s), E((R) => {
886
- var z = e.expanded, G = `lens-table-group-chevron${e.expanded ? " lens-table-group-chevron-open" : ""}`;
887
- return z !== R.e && W(F, "aria-expanded", R.e = z), G !== R.t && p(q, R.t = G), R;
888
- }, {
889
- e: void 0,
890
- t: void 0
891
- }), F;
892
- })() : g(mt, {
893
- column: t,
894
- get frame() {
895
- return e.frame;
896
- },
897
- get location() {
898
- return e.location;
899
- },
900
- get max() {
901
- return e.columnMaxima.get(t.field) ?? 0;
902
- },
903
- get panel() {
904
- return e.panel;
905
- },
906
- get row() {
907
- return e.row;
908
- }
909
- });
910
- })()), E((L) => {
911
- var F = `lens-table-cell${oe(t, e.frame) ? " lens-table-col-right" : ""}`, q = {
912
- ...t.widthPx ? {
913
- "min-width": `${t.widthPx}px`
914
- } : {},
915
- ...ft(t, e.frame, e.row, e.columnRanges)
916
- };
917
- return F !== L.e && p(c, L.e = F), L.t = se(c, q, L.t), L;
918
- }, {
919
- e: void 0,
920
- t: void 0
921
- }), c;
922
- })();
923
- }
924
- }), null), l(n, (() => {
925
- var t = S(() => !!e.trailingSpacer);
926
- return () => t() && te();
927
- })(), null), n;
928
- })();
929
- }
930
- function kn(e) {
931
- const n = H(() => at(e.panel, e.frame, e.row, e.level)), t = Se(n), d = H(() => xe(t.available) ? rt(e.panel, e.frame, e.row, e.location, e.level) : void 0);
932
- return g(ye, {
933
- get when() {
934
- return d();
935
- },
936
- children: (_) => (() => {
937
- var $ = ct();
938
- return $.$$click = () => t.onClick(_()), l($, () => e.label), E(() => W($, "href", _())), $;
939
- })()
940
- });
941
- }
942
- function Ln(e) {
943
- const n = H(() => at(e.panel, e.frame, e.row, e.level)), t = Se(n), d = H(() => xe(t.available) ? rt(e.panel, e.frame, e.row, e.location, e.level) : void 0);
944
- return (() => {
945
- var _ = mn(), $ = _.firstChild;
946
- return l(_, g(j, {
947
- get each() {
948
- return e.frame.columns;
949
- },
950
- children: (s, c) => (() => {
951
- var L = X();
952
- return l(L, g(ut, {
953
- column: s,
954
- get format() {
955
- return e.panel.format[s.name];
956
- },
957
- get value() {
958
- return e.row[c()];
959
- }
960
- })), E(() => p(L, `lens-table-cell-${s.type}`)), L;
961
- })()
962
- }), $), l($, g(ye, {
963
- get when() {
964
- return d();
965
- },
966
- children: (s) => (() => {
967
- var c = ct();
968
- return c.$$click = () => t.onClick(s()), l(c, () => e.openRecordLabel), E(() => W(c, "href", s())), c;
969
- })()
970
- })), l(_, (() => {
971
- var s = S(() => !!e.trailingSpacer);
972
- return () => s() && te();
973
- })(), null), _;
974
- })();
975
- }
976
- yt(["click"]);
977
- export {
978
- Nn as TablePanel,
979
- xn as heatRank
980
- };