@iota-uz/sdk 0.46.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.
- package/README.md +5 -0
- package/dist/client-host/identity.d.ts +4 -4
- package/dist/client-host/identity.js +2 -2
- package/dist/lens/{CascadePanel-Bha4qY7J.js → CascadePanel-BlYJd18G.js} +1 -1
- package/dist/lens/{ChartDataEquivalent-Bwgn4yYB.js → ChartDataEquivalent-B6xSOdzC.js} +1 -1
- package/dist/lens/{ChartPanel-BZpzBuwl.js → ChartPanel-BIJjrs5D.js} +159 -159
- package/dist/lens/{CoveragePanel-D40AuKkD.js → CoveragePanel-CHtXDMtt.js} +1 -1
- package/dist/lens/{GaugePanel-C9k2TuJH.js → GaugePanel-By0TOJPa.js} +1 -1
- package/dist/lens/LensDashboard.d.ts +13 -0
- package/dist/lens/LensDashboard.d.ts.map +1 -1
- package/dist/lens/{MapPanel-ZYxfDsPM.js → MapPanel-Cw4ELCiM.js} +3 -3
- package/dist/lens/{MetricFlowPanel-CmESLoLK.js → MetricFlowPanel-Gr5wi3nI.js} +2 -2
- package/dist/lens/{MetricHierarchyPanel-UZVuJ5P2.js → MetricHierarchyPanel-VLA_5LXX.js} +2 -2
- package/dist/lens/{MetricRelationshipPanel-CXLdScAy.js → MetricRelationshipPanel-DFP566_c.js} +2 -2
- package/dist/lens/{PrintReport-lrfdCTZO.js → PrintReport-C0OV1iHP.js} +5 -5
- package/dist/lens/{QualityChip-BYz-DHfs.js → QualityChip-DTi-0jdh.js} +1 -1
- package/dist/lens/SaveInvestigation-CX1Abyl8.js +309 -0
- package/dist/lens/TablePanel-BusKU7cU.js +994 -0
- package/dist/lens/{adapter-CeAqYWqm.js → adapter-CQg4-M7p.js} +7 -7
- package/dist/lens/contract/schemas.d.ts +2 -0
- package/dist/lens/contract/schemas.d.ts.map +1 -1
- package/dist/lens/contract/types.d.ts +12 -0
- package/dist/lens/contract/types.d.ts.map +1 -1
- package/dist/lens/{dashboardEdit-DKVE_6J_.js → dashboardEdit-CJgCVfi_.js} +1 -1
- package/dist/lens/explore/DrillOverlay.d.ts +38 -0
- package/dist/lens/explore/DrillOverlay.d.ts.map +1 -1
- package/dist/lens/explore/ExplorePanel.d.ts.map +1 -1
- package/dist/lens/explore/SaveInvestigation.d.ts +21 -0
- package/dist/lens/explore/SaveInvestigation.d.ts.map +1 -0
- package/dist/lens/explore/drillHost.d.ts +25 -0
- package/dist/lens/explore/drillHost.d.ts.map +1 -0
- package/dist/lens/explore/investigation.d.ts +174 -0
- package/dist/lens/explore/investigation.d.ts.map +1 -0
- package/dist/lens/explore/provenanceLabels.d.ts +10 -0
- package/dist/lens/explore/provenanceLabels.d.ts.map +1 -0
- package/dist/lens/index-DR7Hf8Km.js +19805 -0
- package/dist/lens/{index-DkVTXC8W.js → index-DZFw4cqF.js} +1 -1
- package/dist/lens/index.d.ts +7 -1
- package/dist/lens/index.d.ts.map +1 -1
- package/dist/lens/index.js +67 -53
- package/dist/lens/{install-CQ_iMuAE.js → install-B2lTK6uo.js} +1 -1
- package/dist/lens/{install-Ch0_qifK.js → install-BXr4Mnc0.js} +1 -1
- package/dist/lens/{install-CKmxqMe1.js → install-CicNQ_ks.js} +1 -1
- package/dist/lens/{install-BwD_xNlp.js → install-d8A0WPiw.js} +1 -1
- package/dist/lens/{keys-BBmWdfaH.js → keys-C-Akc9lZ.js} +2 -2
- package/dist/lens/panels/ChartPanel.d.ts.map +1 -1
- package/dist/lens/panels/TablePanel.d.ts.map +1 -1
- package/dist/lens/panels/actions.d.ts.map +1 -1
- package/dist/lens/panels/panelFailure.d.ts.map +1 -1
- package/dist/lens/{prefetch-BXoUIIgq.js → prefetch-C9kxuIs8.js} +2 -2
- package/dist/lens/{prefetchPanels-a-zs_bDm.js → prefetchPanels-gbY9RIqL.js} +1 -1
- package/dist/lens/{print-CpgWJxDG.js → print-CllsAP3d.js} +1 -1
- package/dist/lens/reports/ReportCompositionEditor.d.ts +8 -2
- package/dist/lens/reports/ReportCompositionEditor.d.ts.map +1 -1
- package/dist/lens/reports/ReportDefinitionEditor.d.ts +54 -0
- package/dist/lens/reports/ReportDefinitionEditor.d.ts.map +1 -0
- package/dist/lens/reports/ReportPicker.d.ts +6 -0
- package/dist/lens/reports/ReportPicker.d.ts.map +1 -1
- package/dist/lens/reports/dashboardEdit.d.ts +3 -0
- package/dist/lens/reports/dashboardEdit.d.ts.map +1 -1
- package/dist/lens/reports/editing.d.ts +35 -0
- package/dist/lens/reports/editing.d.ts.map +1 -1
- package/dist/lens/reports/picker.d.ts +4 -1
- package/dist/lens/reports/picker.d.ts.map +1 -1
- package/dist/lens/runtime/index.d.ts +0 -1
- package/dist/lens/runtime/index.d.ts.map +1 -1
- package/dist/lens/runtime/messages.d.ts +2 -2
- package/dist/lens/runtime/messages.d.ts.map +1 -1
- package/dist/lens/runtime/provider.d.ts +5 -1
- package/dist/lens/runtime/provider.d.ts.map +1 -1
- package/dist/lens/runtime/returnContext.d.ts +62 -0
- package/dist/lens/runtime/returnContext.d.ts.map +1 -0
- package/dist/lens/runtime/tableSummary.d.ts +9 -0
- package/dist/lens/runtime/tableSummary.d.ts.map +1 -0
- package/dist/lens/{scales-BLf9OweG.js → scales-CO6Q9RtG.js} +1 -1
- package/dist/lens/style.css +1 -1
- package/dist/runtime/README.md +24 -0
- package/dist/runtime/assert.d.ts +51 -0
- package/dist/runtime/assert.js +172 -0
- package/dist/runtime/build/README.txt +1 -0
- package/dist/runtime/build/extract.mjs +342 -0
- package/dist/runtime/build/shared-exports.json +388 -0
- package/dist/runtime/build/test-child.mjs +136 -0
- package/dist/runtime/build/theme/tailwind.config.js +121 -0
- package/dist/runtime/build/theme/theme.css +462 -0
- package/dist/runtime/build/theme/utilities.css +1 -0
- package/dist/runtime/build/vendor/lib/lib.d.ts +22 -0
- package/dist/runtime/build/vendor/lib/lib.decorators.d.ts +384 -0
- package/dist/runtime/build/vendor/lib/lib.decorators.legacy.d.ts +22 -0
- package/dist/runtime/build/vendor/lib/lib.dom.asynciterable.d.ts +41 -0
- package/dist/runtime/build/vendor/lib/lib.dom.d.ts +28983 -0
- package/dist/runtime/build/vendor/lib/lib.dom.iterable.d.ts +491 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.collection.d.ts +147 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.core.d.ts +597 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.d.ts +28 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.generator.d.ts +77 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.iterable.d.ts +590 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.promise.d.ts +81 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.proxy.d.ts +128 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.reflect.d.ts +144 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.symbol.d.ts +46 -0
- package/dist/runtime/build/vendor/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/dist/runtime/build/vendor/lib/lib.es2016.array.include.d.ts +116 -0
- package/dist/runtime/build/vendor/lib/lib.es2016.d.ts +21 -0
- package/dist/runtime/build/vendor/lib/lib.es2016.full.d.ts +23 -0
- package/dist/runtime/build/vendor/lib/lib.es2016.intl.d.ts +31 -0
- package/dist/runtime/build/vendor/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/dist/runtime/build/vendor/lib/lib.es2017.d.ts +26 -0
- package/dist/runtime/build/vendor/lib/lib.es2017.date.d.ts +31 -0
- package/dist/runtime/build/vendor/lib/lib.es2017.full.d.ts +23 -0
- package/dist/runtime/build/vendor/lib/lib.es2017.intl.d.ts +44 -0
- package/dist/runtime/build/vendor/lib/lib.es2017.object.d.ts +49 -0
- package/dist/runtime/build/vendor/lib/lib.es2017.sharedmemory.d.ts +135 -0
- package/dist/runtime/build/vendor/lib/lib.es2017.string.d.ts +45 -0
- package/dist/runtime/build/vendor/lib/lib.es2017.typedarrays.d.ts +53 -0
- package/dist/runtime/build/vendor/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- package/dist/runtime/build/vendor/lib/lib.es2018.asynciterable.d.ts +53 -0
- package/dist/runtime/build/vendor/lib/lib.es2018.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2018.full.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2018.intl.d.ts +83 -0
- package/dist/runtime/build/vendor/lib/lib.es2018.promise.d.ts +30 -0
- package/dist/runtime/build/vendor/lib/lib.es2018.regexp.d.ts +37 -0
- package/dist/runtime/build/vendor/lib/lib.es2019.array.d.ts +79 -0
- package/dist/runtime/build/vendor/lib/lib.es2019.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2019.full.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2019.intl.d.ts +23 -0
- package/dist/runtime/build/vendor/lib/lib.es2019.object.d.ts +33 -0
- package/dist/runtime/build/vendor/lib/lib.es2019.string.d.ts +37 -0
- package/dist/runtime/build/vendor/lib/lib.es2019.symbol.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.bigint.d.ts +731 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.d.ts +27 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.date.d.ts +42 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.full.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.intl.d.ts +474 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.number.d.ts +28 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.promise.d.ts +47 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.sharedmemory.d.ts +99 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.string.d.ts +44 -0
- package/dist/runtime/build/vendor/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
- package/dist/runtime/build/vendor/lib/lib.es2021.d.ts +23 -0
- package/dist/runtime/build/vendor/lib/lib.es2021.full.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2021.intl.d.ts +166 -0
- package/dist/runtime/build/vendor/lib/lib.es2021.promise.d.ts +48 -0
- package/dist/runtime/build/vendor/lib/lib.es2021.string.d.ts +33 -0
- package/dist/runtime/build/vendor/lib/lib.es2021.weakref.d.ts +78 -0
- package/dist/runtime/build/vendor/lib/lib.es2022.array.d.ts +121 -0
- package/dist/runtime/build/vendor/lib/lib.es2022.d.ts +25 -0
- package/dist/runtime/build/vendor/lib/lib.es2022.error.d.ts +75 -0
- package/dist/runtime/build/vendor/lib/lib.es2022.full.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2022.intl.d.ts +121 -0
- package/dist/runtime/build/vendor/lib/lib.es2022.object.d.ts +26 -0
- package/dist/runtime/build/vendor/lib/lib.es2022.regexp.d.ts +39 -0
- package/dist/runtime/build/vendor/lib/lib.es2022.string.d.ts +25 -0
- package/dist/runtime/build/vendor/lib/lib.es2023.array.d.ts +924 -0
- package/dist/runtime/build/vendor/lib/lib.es2023.collection.d.ts +21 -0
- package/dist/runtime/build/vendor/lib/lib.es2023.d.ts +22 -0
- package/dist/runtime/build/vendor/lib/lib.es2023.full.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2023.intl.d.ts +56 -0
- package/dist/runtime/build/vendor/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/dist/runtime/build/vendor/lib/lib.es2024.collection.d.ts +29 -0
- package/dist/runtime/build/vendor/lib/lib.es2024.d.ts +26 -0
- package/dist/runtime/build/vendor/lib/lib.es2024.full.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.es2024.object.d.ts +29 -0
- package/dist/runtime/build/vendor/lib/lib.es2024.promise.d.ts +35 -0
- package/dist/runtime/build/vendor/lib/lib.es2024.regexp.d.ts +25 -0
- package/dist/runtime/build/vendor/lib/lib.es2024.sharedmemory.d.ts +68 -0
- package/dist/runtime/build/vendor/lib/lib.es2024.string.d.ts +29 -0
- package/dist/runtime/build/vendor/lib/lib.es5.d.ts +4585 -0
- package/dist/runtime/build/vendor/lib/lib.es6.d.ts +23 -0
- package/dist/runtime/build/vendor/lib/lib.esnext.array.d.ts +35 -0
- package/dist/runtime/build/vendor/lib/lib.esnext.collection.d.ts +96 -0
- package/dist/runtime/build/vendor/lib/lib.esnext.d.ts +25 -0
- package/dist/runtime/build/vendor/lib/lib.esnext.decorators.d.ts +28 -0
- package/dist/runtime/build/vendor/lib/lib.esnext.disposable.d.ts +193 -0
- package/dist/runtime/build/vendor/lib/lib.esnext.full.d.ts +24 -0
- package/dist/runtime/build/vendor/lib/lib.esnext.intl.d.ts +21 -0
- package/dist/runtime/build/vendor/lib/lib.esnext.iterator.d.ts +148 -0
- package/dist/runtime/build/vendor/node-types/assert/strict.d.ts +111 -0
- package/dist/runtime/build/vendor/node-types/assert.d.ts +1115 -0
- package/dist/runtime/build/vendor/node-types/async_hooks.d.ts +619 -0
- package/dist/runtime/build/vendor/node-types/buffer.buffer.d.ts +477 -0
- package/dist/runtime/build/vendor/node-types/buffer.d.ts +1941 -0
- package/dist/runtime/build/vendor/node-types/child_process.d.ts +1480 -0
- package/dist/runtime/build/vendor/node-types/cluster.d.ts +578 -0
- package/dist/runtime/build/vendor/node-types/compatibility/iterators.d.ts +21 -0
- package/dist/runtime/build/vendor/node-types/console.d.ts +453 -0
- package/dist/runtime/build/vendor/node-types/constants.d.ts +21 -0
- package/dist/runtime/build/vendor/node-types/crypto.d.ts +5484 -0
- package/dist/runtime/build/vendor/node-types/dgram.d.ts +715 -0
- package/dist/runtime/build/vendor/node-types/diagnostics_channel.d.ts +576 -0
- package/dist/runtime/build/vendor/node-types/dns/promises.d.ts +503 -0
- package/dist/runtime/build/vendor/node-types/dns.d.ts +923 -0
- package/dist/runtime/build/vendor/node-types/domain.d.ts +166 -0
- package/dist/runtime/build/vendor/node-types/events.d.ts +967 -0
- package/dist/runtime/build/vendor/node-types/fs/promises.d.ts +1354 -0
- package/dist/runtime/build/vendor/node-types/fs.d.ts +4777 -0
- package/dist/runtime/build/vendor/node-types/globals.d.ts +170 -0
- package/dist/runtime/build/vendor/node-types/globals.typedarray.d.ts +41 -0
- package/dist/runtime/build/vendor/node-types/http.d.ts +2246 -0
- package/dist/runtime/build/vendor/node-types/http2.d.ts +2882 -0
- package/dist/runtime/build/vendor/node-types/https.d.ts +585 -0
- package/dist/runtime/build/vendor/node-types/index.d.ts +101 -0
- package/dist/runtime/build/vendor/node-types/inspector.d.ts +323 -0
- package/dist/runtime/build/vendor/node-types/inspector.generated.d.ts +4406 -0
- package/dist/runtime/build/vendor/node-types/module.d.ts +844 -0
- package/dist/runtime/build/vendor/node-types/net.d.ts +1197 -0
- package/dist/runtime/build/vendor/node-types/os.d.ts +507 -0
- package/dist/runtime/build/vendor/node-types/package.json +140 -0
- package/dist/runtime/build/vendor/node-types/path.d.ts +200 -0
- package/dist/runtime/build/vendor/node-types/perf_hooks.d.ts +1054 -0
- package/dist/runtime/build/vendor/node-types/process.d.ts +2101 -0
- package/dist/runtime/build/vendor/node-types/punycode.d.ts +117 -0
- package/dist/runtime/build/vendor/node-types/querystring.d.ts +152 -0
- package/dist/runtime/build/vendor/node-types/readline/promises.d.ts +161 -0
- package/dist/runtime/build/vendor/node-types/readline.d.ts +600 -0
- package/dist/runtime/build/vendor/node-types/repl.d.ts +438 -0
- package/dist/runtime/build/vendor/node-types/sea.d.ts +162 -0
- package/dist/runtime/build/vendor/node-types/sqlite.d.ts +1182 -0
- package/dist/runtime/build/vendor/node-types/stream/consumers.d.ts +45 -0
- package/dist/runtime/build/vendor/node-types/stream/promises.d.ts +90 -0
- package/dist/runtime/build/vendor/node-types/stream/web.d.ts +596 -0
- package/dist/runtime/build/vendor/node-types/stream.d.ts +1707 -0
- package/dist/runtime/build/vendor/node-types/string_decoder.d.ts +67 -0
- package/dist/runtime/build/vendor/node-types/test.d.ts +2656 -0
- package/dist/runtime/build/vendor/node-types/timers/promises.d.ts +108 -0
- package/dist/runtime/build/vendor/node-types/timers.d.ts +285 -0
- package/dist/runtime/build/vendor/node-types/tls.d.ts +1314 -0
- package/dist/runtime/build/vendor/node-types/trace_events.d.ts +197 -0
- package/dist/runtime/build/vendor/node-types/ts5.6/buffer.buffer.d.ts +473 -0
- package/dist/runtime/build/vendor/node-types/ts5.6/compatibility/float16array.d.ts +71 -0
- package/dist/runtime/build/vendor/node-types/ts5.6/globals.typedarray.d.ts +36 -0
- package/dist/runtime/build/vendor/node-types/ts5.6/index.d.ts +103 -0
- package/dist/runtime/build/vendor/node-types/ts5.7/compatibility/float16array.d.ts +72 -0
- package/dist/runtime/build/vendor/node-types/ts5.7/index.d.ts +103 -0
- package/dist/runtime/build/vendor/node-types/tty.d.ts +209 -0
- package/dist/runtime/build/vendor/node-types/url.d.ts +1103 -0
- package/dist/runtime/build/vendor/node-types/util.d.ts +2379 -0
- package/dist/runtime/build/vendor/node-types/v8.d.ts +1010 -0
- package/dist/runtime/build/vendor/node-types/vm.d.ts +1160 -0
- package/dist/runtime/build/vendor/node-types/wasi.d.ts +202 -0
- package/dist/runtime/build/vendor/node-types/web-globals/abortcontroller.d.ts +34 -0
- package/dist/runtime/build/vendor/node-types/web-globals/crypto.d.ts +32 -0
- package/dist/runtime/build/vendor/node-types/web-globals/domexception.d.ts +68 -0
- package/dist/runtime/build/vendor/node-types/web-globals/events.d.ts +97 -0
- package/dist/runtime/build/vendor/node-types/web-globals/fetch.d.ts +62 -0
- package/dist/runtime/build/vendor/node-types/web-globals/navigator.d.ts +25 -0
- package/dist/runtime/build/vendor/node-types/web-globals/storage.d.ts +24 -0
- package/dist/runtime/build/vendor/node-types/web-globals/streams.d.ts +22 -0
- package/dist/runtime/build/vendor/node-types/worker_threads.d.ts +894 -0
- package/dist/runtime/build/vendor/node-types/zlib.d.ts +768 -0
- package/dist/runtime/build/vendor/node_modules/csstype/LICENSE +19 -0
- package/dist/runtime/build/vendor/node_modules/csstype/index.d.ts +22569 -0
- package/dist/runtime/build/vendor/node_modules/csstype/index.js.flow +6863 -0
- package/dist/runtime/build/vendor/node_modules/csstype/package.json +70 -0
- package/dist/runtime/build/vendor/node_modules/seroval/LICENSE +7 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/cjs/development/index.cjs +4232 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/cjs/production/index.cjs +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/esm/development/index.mjs +4209 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/esm/production/index.mjs +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/Serializer.d.ts +28 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/base-primitives.d.ts +28 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/compat.d.ts +15 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/constants.d.ts +105 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/constructors.d.ts +50 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/async-parser.d.ts +20 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/deserializer.d.ts +52 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/parser.d.ts +62 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/serializer.d.ts +103 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/sync-parser.d.ts +61 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/cross/index.d.ts +24 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/errors.d.ts +47 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/function-string.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/keys.d.ts +4 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/literals.d.ts +10 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/node.d.ts +8 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/opaque-reference.d.ts +9 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/plugin.d.ts +52 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/reference.d.ts +6 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/sequence.d.ts +11 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/special-reference.d.ts +16 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/stream.d.ts +17 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/string.d.ts +4 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/symbols.d.ts +14 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/tree/index.d.ts +21 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/types.d.ts +233 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/error.d.ts +6 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/get-identifier.d.ts +2 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/get-object-flag.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/is-valid-identifier.d.ts +2 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/promise-to-result.d.ts +2 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/typed-array.d.ts +6 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/valid-properties.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval/dist/types/index.d.ts +18 -0
- package/dist/runtime/build/vendor/node_modules/seroval/package.json +67 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/Serializer.ts +119 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/base-primitives.ts +537 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/compat.ts +23 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/constants.ts +202 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/constructors.ts +265 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/async-parser.ts +666 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/deserializer.ts +832 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/parser.ts +335 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/serializer.ts +1524 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/sync-parser.ts +943 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/cross/index.ts +190 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/errors.ts +196 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/function-string.ts +31 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/keys.ts +17 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/literals.ts +43 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/node.ts +40 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/opaque-reference.ts +9 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/plugin.ts +105 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/reference.ts +66 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/sequence.ts +59 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/special-reference.ts +42 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/stream.ts +71 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/string.ts +86 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/symbols.ts +20 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/tree/index.ts +134 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/types.ts +377 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/error.ts +73 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/get-identifier.ts +18 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/get-object-flag.ts +14 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/is-valid-identifier.ts +12 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/promise-to-result.ts +9 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/typed-array.ts +56 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/valid-properties.ts +34 -0
- package/dist/runtime/build/vendor/node_modules/seroval/src/index.ts +36 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/LICENSE +7 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/cjs/development/web.cjs +826 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/cjs/production/web.cjs +1 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/esm/development/web.mjs +803 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/esm/production/web.mjs +1 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/abort-signal.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/blob.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/custom-event.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/dom-exception.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/event.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/file.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/form-data.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/headers.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/image-data.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/index.d.ts +15 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/readable-stream.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/request.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/response.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/url-search-params.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/url.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/package.json +70 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/abort-signal.ts +131 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/blob.ts +41 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/custom-event.ts +66 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/dom-exception.ts +57 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/event.ts +62 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/file.ts +50 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/form-data.ts +105 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/headers.ts +49 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/image-data.ts +74 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/index.ts +14 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/readable-stream.ts +148 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/request.ts +82 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/response.ts +65 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/url-search-params.ts +40 -0
- package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/url.ts +37 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/dist/server.cjs +824 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/dist/server.js +770 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/dist/solid.cjs +1808 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/dist/solid.js +1753 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/jsx-runtime.d.ts +1 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/package.json +243 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/server.cjs +133 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/server.js +121 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/store.cjs +463 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/store.js +454 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/package.json +46 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/types/index.d.ts +12 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/types/modifiers.d.ts +6 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/types/mutable.d.ts +5 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/types/server.d.ts +17 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/store/types/store.d.ts +108 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/index.d.ts +23 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/jsx.d.ts +4253 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/array.d.ts +44 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/observable.d.ts +36 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/scheduler.d.ts +10 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/signal.d.ts +581 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/render/Suspense.d.ts +26 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/render/component.d.ts +111 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/render/flow.d.ts +118 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/render/hydration.d.ts +24 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/render/index.d.ts +4 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/server/index.d.ts +3 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/server/reactive.d.ts +98 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/types/server/rendering.d.ts +160 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/server.cjs +900 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/server.js +786 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/web.cjs +884 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/web.js +772 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/package.json +46 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/dist/storage.cjs +12 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/dist/storage.js +10 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/package.json +15 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/types/index.d.ts +2 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/types/client.d.ts +93 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/types/core.d.ts +2 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/types/index.d.ts +50 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/types/jsx.d.ts +1 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/types/server-mock.d.ts +65 -0
- package/dist/runtime/build/vendor/node_modules/solid-js/web/types/server.d.ts +187 -0
- package/dist/runtime/build/worker.mjs +293415 -0
- package/dist/runtime/catalog/sdk-natives.json +655 -0
- package/dist/runtime/cli/iota-ext.mjs +1028 -0
- package/dist/runtime/client-host/entry.d.ts +10 -0
- package/dist/runtime/client-host/entry.js +124 -0
- package/dist/runtime/client-host/hooks.d.ts +43 -0
- package/dist/runtime/client-host/hooks.js +94 -0
- package/dist/runtime/client-host/index.d.ts +9 -0
- package/dist/runtime/client-host/index.js +9 -0
- package/dist/runtime/client-host/islands.d.ts +44 -0
- package/dist/runtime/client-host/islands.js +165 -0
- package/dist/runtime/client-host/kit.d.ts +10 -0
- package/dist/runtime/client-host/kit.js +37 -0
- package/dist/runtime/client-host/page.d.ts +53 -0
- package/dist/runtime/client-host/page.js +217 -0
- package/dist/runtime/client-host/params.d.ts +8 -0
- package/dist/runtime/client-host/params.js +36 -0
- package/dist/runtime/client-host/protocol.d.ts +78 -0
- package/dist/runtime/client-host/protocol.js +26 -0
- package/dist/runtime/client-host/shared.d.ts +12 -0
- package/dist/runtime/client-host/shared.js +49 -0
- package/dist/runtime/client-host/shell.d.ts +88 -0
- package/dist/runtime/client-host/shell.js +195 -0
- package/dist/runtime/client-host/slots.d.ts +54 -0
- package/dist/runtime/client-host/slots.js +90 -0
- package/dist/runtime/client-host/styles.d.ts +7 -0
- package/dist/runtime/client-host/styles.js +61 -0
- package/dist/runtime/client-host/transport.d.ts +45 -0
- package/dist/runtime/client-host/transport.js +115 -0
- package/dist/runtime/client.d.ts +226 -0
- package/dist/runtime/client.js +121 -0
- package/dist/runtime/contracts.d.ts +204 -0
- package/dist/runtime/contracts.js +195 -0
- package/dist/runtime/docs/authoring.md +1609 -0
- package/dist/runtime/docs/example/docs/en/admin/limits.md +10 -0
- package/dist/runtime/docs/example/docs/en/getting-started.md +13 -0
- package/dist/runtime/docs/example/docs/en/points.md +9 -0
- package/dist/runtime/docs/example/docs/ru/getting-started.md +12 -0
- package/dist/runtime/docs/example/package.json +27 -0
- package/dist/runtime/docs/example/src/ClientScreen.tsx +10 -0
- package/dist/runtime/docs/example/src/RedemptionScreen.tsx +7 -0
- package/dist/runtime/docs/example/src/RewardsScreen.module.css +13 -0
- package/dist/runtime/docs/example/src/RewardsScreen.tsx +51 -0
- package/dist/runtime/docs/example/src/client.tsx +40 -0
- package/dist/runtime/docs/example/src/contracts.ts +132 -0
- package/dist/runtime/docs/example/src/css-modules.d.ts +5 -0
- package/dist/runtime/docs/example/src/server.test.ts +156 -0
- package/dist/runtime/docs/example/src/server.ts +188 -0
- package/dist/runtime/docs/example/tsconfig.json +16 -0
- package/dist/runtime/entity.d.ts +237 -0
- package/dist/runtime/entity.js +201 -0
- package/dist/runtime/fakes.d.ts +80 -0
- package/dist/runtime/fakes.js +88 -0
- package/dist/runtime/fixtures.d.ts +34 -0
- package/dist/runtime/fixtures.js +60 -0
- package/dist/runtime/help.d.ts +22 -0
- package/dist/runtime/help.js +51 -0
- package/dist/runtime/host/context.mjs +392 -0
- package/dist/runtime/host/errors.mjs +64 -0
- package/dist/runtime/host/loader.mjs +28 -0
- package/dist/runtime/host/protocol.mjs +4 -0
- package/dist/runtime/host/register.mjs +8 -0
- package/dist/runtime/host/sdk/assert.mjs +153 -0
- package/dist/runtime/host/sdk/client-host/hooks.mjs +86 -0
- package/dist/runtime/host/sdk/client-host/protocol.mjs +30 -0
- package/dist/runtime/host/sdk/client-host/slots.mjs +82 -0
- package/dist/runtime/host/sdk/client-host/styles.mjs +45 -0
- package/dist/runtime/host/sdk/client-host/transport.mjs +102 -0
- package/dist/runtime/host/sdk/client.mjs +115 -0
- package/dist/runtime/host/sdk/contracts.mjs +185 -0
- package/dist/runtime/host/sdk/entity.mjs +183 -0
- package/dist/runtime/host/sdk/fakes.mjs +88 -0
- package/dist/runtime/host/sdk/fixtures.mjs +56 -0
- package/dist/runtime/host/sdk/help.mjs +37 -0
- package/dist/runtime/host/sdk/index.mjs +83 -0
- package/dist/runtime/host/sdk/kit.mjs +11 -0
- package/dist/runtime/host/sdk/manifest.mjs +276 -0
- package/dist/runtime/host/sdk/model.mjs +4 -0
- package/dist/runtime/host/sdk/resource.mjs +34 -0
- package/dist/runtime/host/sdk/schema.mjs +75 -0
- package/dist/runtime/host/sdk/server.mjs +43 -0
- package/dist/runtime/host/sdk/testhost.mjs +992 -0
- package/dist/runtime/host/sdk/testing.mjs +21 -0
- package/dist/runtime/host/sdk/wire.mjs +207 -0
- package/dist/runtime/host/worker.mjs +252 -0
- package/dist/runtime/index.d.ts +10 -0
- package/dist/runtime/index.js +5 -0
- package/dist/runtime/kit.d.ts +5 -0
- package/dist/runtime/kit.js +14 -0
- package/dist/runtime/manifest.d.ts +17 -0
- package/dist/runtime/manifest.js +323 -0
- package/dist/runtime/model.d.ts +224 -0
- package/dist/runtime/model.js +3 -0
- package/dist/runtime/resource.d.ts +31 -0
- package/dist/runtime/resource.js +35 -0
- package/dist/runtime/schema.d.ts +97 -0
- package/dist/runtime/schema.js +73 -0
- package/dist/runtime/server.d.ts +445 -0
- package/dist/runtime/server.js +41 -0
- package/dist/runtime/testhost.d.ts +216 -0
- package/dist/runtime/testhost.js +1146 -0
- package/dist/runtime/testing.d.ts +10 -0
- package/dist/runtime/testing.js +7 -0
- package/dist/runtime/wire.d.ts +26 -0
- package/dist/runtime/wire.js +236 -0
- package/dist/sdk-identity.cjs +3 -3
- package/dist/sdk-identity.js +3 -3
- package/dist/sdk-identity.json +2 -2
- package/dist/solid-ui/embedded-css.d.ts +2 -0
- package/dist/solid-ui/embedded-css.js +1 -0
- package/dist/solid-ui/embedded.css +2 -0
- package/dist/testing/components.d.ts +73 -0
- package/dist/testing/components.js +96 -0
- package/dist/testing/htmx.d.ts +44 -0
- package/dist/testing/htmx.js +284 -0
- package/dist/testing/index.d.ts +4 -41
- package/dist/testing/index.js +3 -206
- package/dist/testing/scenarios.d.ts +83 -0
- package/dist/testing/scenarios.js +74 -0
- package/dist/testing/wait.d.ts +7 -0
- package/dist/testing/wait.js +19 -0
- package/package.json +33 -2
- package/dist/lens/TablePanel-C09tzJOL.js +0 -980
- package/dist/lens/index-DcVtZneD.js +0 -18473
- package/dist/lens/runtime/recovery.d.ts +0 -26
- package/dist/lens/runtime/recovery.d.ts.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { insert as i, memo as q, effect as Y, setAttribute as E, createComponent as K, className as Ye, template as F, addEventListener as $t, style as ct, use as xt, setStyleProperty as _t, delegateEvents as It } from "solid-js/web";
|
|
2
2
|
import { createSignal as le, createMemo as R, onCleanup as Be, untrack as ze, createEffect as xe, For as Ge, Show as ne } from "solid-js";
|
|
3
3
|
import { r as Ct } from "./adapter-CgoRd_uP.js";
|
|
4
|
-
import { C as Lt, f as Ft } from "./keys-
|
|
5
|
-
import { s as kt, o as De, c as At, a as Kt, b as Tt, d as Rt, f as Et } from "./scales-
|
|
6
|
-
import { U as Ht, u as ke, x as dt, V as Bt, W as nt, X as ot, l as Mt, Y as Ot, Z as Ut, _ as Vt, $ as Nt, a as Pt, a0 as zt, a1 as Dt, a2 as rt, C as ut, D as gt, B as mt, a3 as qt, a4 as Wt, E as Zt, a5 as jt, a6 as Qt, a7 as Yt, a8 as Gt, a9 as D, aa as at, ab as Xt, ac as qe, ad as Jt, ae as en, af as tn, ag as nn, ah as on } from "./index-
|
|
7
|
-
import { C as rn, c as an } from "./ChartDataEquivalent-
|
|
4
|
+
import { C as Lt, f as Ft } from "./keys-C-Akc9lZ.js";
|
|
5
|
+
import { s as kt, o as De, c as At, a as Kt, b as Tt, d as Rt, f as Et } from "./scales-CO6Q9RtG.js";
|
|
6
|
+
import { U as Ht, u as ke, x as dt, V as Bt, W as nt, X as ot, l as Mt, Y as Ot, Z as Ut, _ as Vt, $ as Nt, a as Pt, a0 as zt, a1 as Dt, a2 as rt, C as ut, D as gt, B as mt, a3 as qt, a4 as Wt, E as Zt, a5 as jt, a6 as Qt, a7 as Yt, a8 as Gt, a9 as D, aa as at, ab as Xt, ac as qe, ad as Jt, ae as en, af as tn, ag as nn, ah as on } from "./index-DR7Hf8Km.js";
|
|
7
|
+
import { C as rn, c as an } from "./ChartDataEquivalent-B6xSOdzC.js";
|
|
8
8
|
var ln = /* @__PURE__ */ F("<div class=lens-temporal-controls>"), sn = /* @__PURE__ */ F("<button class=lens-temporal-toggle type=button>"), cn = /* @__PURE__ */ F("<select class=lens-temporal-select><option value>"), dn = /* @__PURE__ */ F("<option>"), un = /* @__PURE__ */ F("<span class=lens-chart-source-note role=note>"), gn = /* @__PURE__ */ F("<span class=lens-chart-log-scale role=note><span>"), mn = /* @__PURE__ */ F("<span class=lens-chart-period-note role=note>"), hn = /* @__PURE__ */ F("<button class=lens-chart-collapse-other type=button>"), fn = /* @__PURE__ */ F("<button class=lens-chart-reset-zoom type=button>"), vn = /* @__PURE__ */ F("<div class=lens-chart-notes><span class=lens-chart-notes-actions>"), wn = /* @__PURE__ */ F("<div><div class=lens-chart-area>"), pn = /* @__PURE__ */ F("<div class=lens-chart-empty role=status><span class=lens-chart-empty-note></span><button class=lens-chart-empty-action type=button>"), yn = /* @__PURE__ */ F("<span class=lens-chart-compact-empty>"), bn = /* @__PURE__ */ F("<strong class=lens-chart-compact-value>"), Sn = /* @__PURE__ */ F("<span class=lens-chart-compact-label>"), $n = /* @__PURE__ */ F('<button class="lens-chart-compact lens-chart-compact-action"type=button>'), xn = /* @__PURE__ */ F("<div class=lens-chart-compact role=img>"), _n = /* @__PURE__ */ F("<span class=lens-plot-total><span class=lens-panel-total-label>:</span> "), In = /* @__PURE__ */ F('<div class=lens-chart-legend-shell><div class=lens-chart-legend-scroll-frame><ul class=lens-chart-legend role=region></ul><span aria-hidden=true class="lens-chart-legend-edge lens-chart-legend-edge-top"></span><span aria-hidden=true class="lens-chart-legend-edge lens-chart-legend-edge-bottom">'), Cn = /* @__PURE__ */ F("<div class=lens-chart-legend-controls><div class=lens-chart-legend-tools role=group>"), Qe = /* @__PURE__ */ F("<button type=button>"), Ln = /* @__PURE__ */ F("<button class=lens-chart-legend-invert type=button>"), Fn = /* @__PURE__ */ F("<label class=lens-chart-legend-search><span class=lens:sr-only></span><input class=lens-facet-search type=search>"), kn = /* @__PURE__ */ F("<li class=lens-chart-legend-item><button type=button><span aria-hidden=true class=lens-chart-legend-mark></span><span class=lens-chart-legend-label></span><span aria-hidden=true class=lens-chart-legend-visibility>"), An = /* @__PURE__ */ F("<li class=lens-chart-legend-heading>"), ht = /* @__PURE__ */ F("<span class=lens-chart-legend-value>"), Kn = /* @__PURE__ */ F("<button class=lens-chart-legend-overflow type=button>"), Tn = /* @__PURE__ */ F('<ul class="lens-chart-legend lens-chart-overlay-legend"><li class=lens-chart-legend-heading>'), Rn = /* @__PURE__ */ F("<li class=lens-chart-legend-item><button type=button><span aria-hidden=true class=lens-chart-overlay-mark></span><span class=lens-chart-legend-label>"), En = /* @__PURE__ */ F("<span aria-hidden=true class=lens-chart-legend-separator>·");
|
|
9
9
|
const Hn = 0.02, Bn = on, Mn = 4;
|
|
10
|
-
function On(
|
|
11
|
-
const
|
|
10
|
+
function On(t) {
|
|
11
|
+
const e = D(), o = D(t.encoding.label ? t.format[t.encoding.label] : void 0), a = D(t.encoding.value ? t.format[t.encoding.value] : void 0), m = D(t.encoding.previous ? t.format[t.encoding.previous] : void 0), l = D(t.encoding.lower ? t.format[t.encoding.lower] : void 0), _ = D(t.encoding.q1 ? t.format[t.encoding.q1] : void 0), I = D(t.encoding.median ? t.format[t.encoding.median] : void 0), b = D(t.encoding.q3 ? t.format[t.encoding.q3] : void 0), $ = D(t.encoding.upper ? t.format[t.encoding.upper] : void 0), S = D(t.encoding.id ? t.format[t.encoding.id] : void 0), H = D(t.encoding.series ? t.format[t.encoding.series] : void 0), v = D(t.encoding.category ? t.format[t.encoding.category] : void 0), g = D(t.encoding.cut ? t.format[t.encoding.cut] : void 0), M = D(t.encoding.cutLabel ? t.format[t.encoding.cutLabel] : void 0), W = D(t.encoding.final ? t.format[t.encoding.final] : void 0), oe = at(t.encoding.value ? t.format[t.encoding.value] : void 0), Q = at(t.encoding.median ? t.format[t.encoding.median] : void 0), w = R(() => {
|
|
12
12
|
const se = {
|
|
13
13
|
label: o,
|
|
14
14
|
value: a,
|
|
@@ -26,12 +26,12 @@ function On(e) {
|
|
|
26
26
|
final: W
|
|
27
27
|
}, ge = /* @__PURE__ */ new Map();
|
|
28
28
|
for (const X of Xt) {
|
|
29
|
-
const re =
|
|
29
|
+
const re = t.encoding[X], J = se[X];
|
|
30
30
|
re && J && ge.set(re, J);
|
|
31
31
|
}
|
|
32
|
-
return (X, re) => (ge.get(X) ??
|
|
32
|
+
return (X, re) => (ge.get(X) ?? e)(re);
|
|
33
33
|
}), Z = R(() => {
|
|
34
|
-
const se =
|
|
34
|
+
const se = t.encoding.value, ge = t.encoding.median;
|
|
35
35
|
return (X, re) => se && X === se ? oe(re) : ge && X === ge ? Q(re) : w()(X, re);
|
|
36
36
|
});
|
|
37
37
|
return {
|
|
@@ -39,123 +39,123 @@ function On(e) {
|
|
|
39
39
|
formatAxis: Z()
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
function We(
|
|
42
|
+
function We(t, e, o) {
|
|
43
43
|
var I, b;
|
|
44
|
-
const a =
|
|
44
|
+
const a = e.encoding.id ? t.columns.findIndex(($) => $.name === e.encoding.id) : -1, m = [e.encoding.category, e.encoding.label].find(($) => !!$ && t.columns.some((S) => S.name === $)), l = t.columns.findIndex(($) => $.name === m), _ = a >= 0 ? (I = t.rows[o]) == null ? void 0 : I[a] : (b = t.rows[o]) == null ? void 0 : b[l];
|
|
45
45
|
return String(typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ? _ : o);
|
|
46
46
|
}
|
|
47
|
-
function lt(
|
|
47
|
+
function lt(t, e, o) {
|
|
48
48
|
var I;
|
|
49
|
-
if (((I =
|
|
50
|
-
const b =
|
|
49
|
+
if (((I = e.radial) == null ? void 0 : I.mode) === "partition" && e.encoding.series) {
|
|
50
|
+
const b = t.columns.findIndex(($) => $.name === e.encoding.series);
|
|
51
51
|
if (b >= 0) {
|
|
52
|
-
const $ =
|
|
52
|
+
const $ = t.rows.findIndex((S, H) => {
|
|
53
53
|
const v = S[b], g = typeof v == "string" || typeof v == "number" || typeof v == "bigint" ? String(v) : "";
|
|
54
|
-
return Ct(g, We(
|
|
54
|
+
return Ct(g, We(t, e, H)) === o;
|
|
55
55
|
});
|
|
56
56
|
if ($ >= 0) return $;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
const a =
|
|
59
|
+
const a = t.rows.findIndex((b, $) => We(t, e, $) === o);
|
|
60
60
|
if (a >= 0) return a;
|
|
61
|
-
const m =
|
|
62
|
-
return l < 0 ? -1 :
|
|
61
|
+
const m = e.encoding.category ?? e.encoding.label, l = t.columns.findIndex((b) => b.name === m), _ = t.columns.findIndex((b) => b.name === e.encoding.series);
|
|
62
|
+
return l < 0 ? -1 : t.rows.findIndex((b) => Ft(Fe(b[l]), _ >= 0 ? Fe(b[_]) : "") === o);
|
|
63
63
|
}
|
|
64
|
-
function ft(
|
|
65
|
-
return
|
|
64
|
+
function ft(t, e) {
|
|
65
|
+
return e.semantics !== "series" || !e.encoding.series ? -1 : t.columns.findIndex((o) => o.name === e.encoding.series);
|
|
66
66
|
}
|
|
67
|
-
function Un(
|
|
67
|
+
function Un(t, e, o) {
|
|
68
68
|
var l;
|
|
69
|
-
const a = ft(
|
|
70
|
-
if (a < 0) return We(
|
|
71
|
-
const m = (l =
|
|
69
|
+
const a = ft(t, e);
|
|
70
|
+
if (a < 0) return We(t, e, o);
|
|
71
|
+
const m = (l = t.rows[o]) == null ? void 0 : l[a];
|
|
72
72
|
return String(typeof m == "string" || typeof m == "number" || typeof m == "bigint" ? m : o);
|
|
73
73
|
}
|
|
74
|
-
function ve(
|
|
75
|
-
if (typeof
|
|
76
|
-
if (typeof
|
|
77
|
-
const
|
|
78
|
-
if (Number.isFinite(
|
|
74
|
+
function ve(t) {
|
|
75
|
+
if (typeof t == "number" && Number.isFinite(t)) return t;
|
|
76
|
+
if (typeof t == "string" && t.trim() !== "") {
|
|
77
|
+
const e = Number(t);
|
|
78
|
+
if (Number.isFinite(e)) return e;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function Fe(
|
|
82
|
-
return typeof
|
|
81
|
+
function Fe(t) {
|
|
82
|
+
return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "bigint" ? String(t) : "";
|
|
83
83
|
}
|
|
84
|
-
function Vn(
|
|
85
|
-
const m = (
|
|
86
|
-
return m < 0 ? 0 : new Set(
|
|
84
|
+
function Vn(t, e) {
|
|
85
|
+
const m = (e.kind === "pie" || e.kind === "donut" || e.kind === "radial" ? [e.encoding.label, e.encoding.category] : [e.encoding.category, e.encoding.label]).reduce((l, _) => l >= 0 || !_ ? l : t.columns.findIndex((I) => I.name === _), -1);
|
|
86
|
+
return m < 0 ? 0 : new Set(t.rows.map((l) => l[m]).filter((l) => l != null).map(String)).size;
|
|
87
87
|
}
|
|
88
|
-
function Nn(
|
|
89
|
-
const o =
|
|
90
|
-
return o < 0 ? 1 : new Set(
|
|
88
|
+
function Nn(t, e) {
|
|
89
|
+
const o = t.columns.findIndex((a) => a.name === e.encoding.series);
|
|
90
|
+
return o < 0 ? 1 : new Set(t.rows.map((a) => a[o]).filter((a) => a != null).map(String)).size;
|
|
91
91
|
}
|
|
92
92
|
const vt = "__lens_other__", Pn = "__lens_topn_group";
|
|
93
|
-
function st(
|
|
93
|
+
function st(t, e) {
|
|
94
94
|
var S, H;
|
|
95
|
-
const o =
|
|
95
|
+
const o = t.columns.findIndex((v) => v.name === Pn), a = t.columns.findIndex((v) => v.name === (e.encoding.label ?? e.encoding.category)), m = t.columns.findIndex((v) => v.name === e.encoding.id), l = t.columns.findIndex((v) => v.name === e.encoding.value);
|
|
96
96
|
if (o < 0 || a < 0 || l < 0) return {
|
|
97
|
-
frame:
|
|
97
|
+
frame: t,
|
|
98
98
|
collapsed: !1
|
|
99
99
|
};
|
|
100
|
-
const _ =
|
|
100
|
+
const _ = t.rows.filter((v) => typeof v[o] == "string" && String(v[o]).trim() !== "");
|
|
101
101
|
if (_.length === 0) return {
|
|
102
|
-
frame:
|
|
102
|
+
frame: t,
|
|
103
103
|
collapsed: !1
|
|
104
104
|
};
|
|
105
|
-
const I =
|
|
105
|
+
const I = t.rows.filter((v) => !_.includes(v)).map((v) => [...v]), b = new Array(t.columns.length).fill(null);
|
|
106
106
|
b[o] = (S = _[0]) == null ? void 0 : S[o], b[a] = (H = _[0]) == null ? void 0 : H[o], m >= 0 && (b[m] = vt), b[l] = _.reduce((v, g) => v + (ve(g[l]) ?? 0), 0), I.push(b);
|
|
107
|
-
const $ =
|
|
107
|
+
const $ = t.colors ? [...t.colors.filter((v, g) => !_.includes(t.rows[g])), qe()] : [...I.slice(0, -1).map(() => ""), qe()];
|
|
108
108
|
return {
|
|
109
109
|
frame: {
|
|
110
|
-
...
|
|
110
|
+
...t,
|
|
111
111
|
rows: I,
|
|
112
112
|
colors: $
|
|
113
113
|
},
|
|
114
114
|
collapsed: !0
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
function it(
|
|
118
|
-
if (
|
|
119
|
-
frame:
|
|
117
|
+
function it(t, e, o) {
|
|
118
|
+
if (e.kind !== "donut" || t.rows.length < 2) return {
|
|
119
|
+
frame: t,
|
|
120
120
|
collapsed: !1
|
|
121
121
|
};
|
|
122
|
-
const a =
|
|
122
|
+
const a = t.columns.findIndex((g) => g.name === (e.encoding.label ?? e.encoding.category)), m = t.columns.findIndex((g) => g.name === e.encoding.id), l = t.columns.findIndex((g) => g.name === e.encoding.value);
|
|
123
123
|
if (a < 0 || l < 0) return {
|
|
124
|
-
frame:
|
|
124
|
+
frame: t,
|
|
125
125
|
collapsed: !1
|
|
126
126
|
};
|
|
127
|
-
const _ =
|
|
127
|
+
const _ = t.total ?? t.rows.reduce((g, M) => g + (ve(M[l]) ?? 0), 0);
|
|
128
128
|
if (!Number.isFinite(_) || _ <= 0) return {
|
|
129
|
-
frame:
|
|
129
|
+
frame: t,
|
|
130
130
|
collapsed: !1
|
|
131
131
|
};
|
|
132
|
-
const I =
|
|
132
|
+
const I = t.rows.map((g, M) => ({
|
|
133
133
|
index: M,
|
|
134
134
|
value: ve(g[l]) ?? 0
|
|
135
135
|
})).filter(({
|
|
136
136
|
value: g
|
|
137
137
|
}) => g / _ < Hn);
|
|
138
138
|
if (I.length === 0) return {
|
|
139
|
-
frame:
|
|
139
|
+
frame: t,
|
|
140
140
|
collapsed: !1
|
|
141
141
|
};
|
|
142
142
|
const b = new Set(I.map(({
|
|
143
143
|
index: g
|
|
144
|
-
}) => g)), $ =
|
|
144
|
+
}) => g)), $ = t.rows.filter((g, M) => !b.has(M)).map((g) => [...g]), S = new Array(t.columns.length).fill(null);
|
|
145
145
|
S[a] = o, m >= 0 && (S[m] = vt), S[l] = I.reduce((g, M) => g + M.value, 0), $.push(S);
|
|
146
|
-
const H =
|
|
146
|
+
const H = t.rows.map((g, M) => M).filter((g) => !b.has(g)), v = t.colors ? [...t.colors.filter((g, M) => !b.has(M)), qe()] : [...H.map(() => ""), qe()];
|
|
147
147
|
return {
|
|
148
148
|
frame: {
|
|
149
|
-
...
|
|
149
|
+
...t,
|
|
150
150
|
rows: $,
|
|
151
151
|
colors: v
|
|
152
152
|
},
|
|
153
153
|
collapsed: !0
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
|
-
function to(
|
|
156
|
+
function to(t) {
|
|
157
157
|
var tt;
|
|
158
|
-
const
|
|
158
|
+
const e = t.panel, o = Ht(e.id), a = ke(), {
|
|
159
159
|
document: m,
|
|
160
160
|
navigation: l
|
|
161
161
|
} = dt(), {
|
|
@@ -163,15 +163,15 @@ function to(e) {
|
|
|
163
163
|
} = Bt(), {
|
|
164
164
|
format: I,
|
|
165
165
|
formatAxis: b
|
|
166
|
-
} = On(
|
|
166
|
+
} = On(e), [$, S] = le(), [H, v] = le(!1), [g, M] = le(0), W = typeof window > "u" ? {
|
|
167
167
|
regression: !1
|
|
168
|
-
} : nt(new URL(window.location.href),
|
|
168
|
+
} : nt(new URL(window.location.href), e.id), [oe, Q] = le(W.regression), [w, Z] = le(W.movingAverage), [se, ge] = le(/* @__PURE__ */ new Set()), [X, re] = le(typeof window > "u" ? /* @__PURE__ */ new Set() : ot(new URL(window.location.href), e.id)), J = R(() => X()), _e = () => l.panelId === e.id && l.path.length > 0, ee = R(() => _e() ? Mt(m, l.path) : e.drillRoot ? m.drill.edges[e.drillRoot] : void 0), Ie = () => ee() ? ee().children.some(({
|
|
169
169
|
target: n
|
|
170
|
-
}) => n) : !!
|
|
170
|
+
}) => n) : !!e.drillRoot, G = () => !!e.drillRoot || !!ee(), x = Ot(e);
|
|
171
171
|
let ie;
|
|
172
172
|
const Me = (n) => {
|
|
173
173
|
if (ze(G) || !x.action || !o.data) return;
|
|
174
|
-
const r = lt(o.data,
|
|
174
|
+
const r = lt(o.data, e, n);
|
|
175
175
|
return x.urlForRow(o.data, r >= 0 ? o.data.rows[r] : void 0);
|
|
176
176
|
}, Ae = (n) => {
|
|
177
177
|
ie == null || ie(), ie = void 0, !(n === null || ze(G)) && (ie = x.prefetch(Me(n)));
|
|
@@ -207,9 +207,9 @@ function to(e) {
|
|
|
207
207
|
fields: Pt(n, n.rows[r]),
|
|
208
208
|
variables: {}
|
|
209
209
|
}), d = Fe(s);
|
|
210
|
-
if (d !== "" && we().has(d)) return We(n,
|
|
210
|
+
if (d !== "" && we().has(d)) return We(n, e, r);
|
|
211
211
|
}
|
|
212
|
-
}), ae =
|
|
212
|
+
}), ae = e.kind, Te = () => o.data ? Vn(o.data, e) <= 1 && Nn(o.data, e) <= 1 : !1, Ue = () => `${l.panelId === e.id ? l.path.join("|") : ""}:${l.perspectiveId ?? ""}`;
|
|
213
213
|
let Re;
|
|
214
214
|
xe(() => {
|
|
215
215
|
const n = Ue();
|
|
@@ -218,22 +218,22 @@ function to(e) {
|
|
|
218
218
|
const c = (n) => re(new Set(n));
|
|
219
219
|
xe(() => {
|
|
220
220
|
if (typeof window > "u") return;
|
|
221
|
-
const n = () => c(ot(new URL(window.location.href),
|
|
221
|
+
const n = () => c(ot(new URL(window.location.href), e.id));
|
|
222
222
|
window.addEventListener("popstate", n), Be(() => window.removeEventListener("popstate", n));
|
|
223
223
|
}), xe(() => {
|
|
224
224
|
if (typeof window > "u") return;
|
|
225
|
-
const n = new URL(window.location.href), r = zt(n,
|
|
225
|
+
const n = new URL(window.location.href), r = zt(n, e.id, J());
|
|
226
226
|
r.search !== n.search && window.history.replaceState(window.history.state, "", r);
|
|
227
227
|
}), xe(() => {
|
|
228
228
|
if (typeof window > "u") return;
|
|
229
229
|
const n = () => {
|
|
230
|
-
const r = nt(new URL(window.location.href),
|
|
230
|
+
const r = nt(new URL(window.location.href), e.id);
|
|
231
231
|
Q(r.regression), Z(r.movingAverage);
|
|
232
232
|
};
|
|
233
233
|
window.addEventListener("popstate", n), Be(() => window.removeEventListener("popstate", n));
|
|
234
234
|
}), xe(() => {
|
|
235
235
|
if (typeof window > "u") return;
|
|
236
|
-
const n = new URL(window.location.href), r = Dt(n,
|
|
236
|
+
const n = new URL(window.location.href), r = Dt(n, e.id, {
|
|
237
237
|
regression: oe(),
|
|
238
238
|
movingAverage: w()
|
|
239
239
|
});
|
|
@@ -242,7 +242,7 @@ function to(e) {
|
|
|
242
242
|
const C = R(() => {
|
|
243
243
|
var z, te;
|
|
244
244
|
if (!o.data || J().size === 0) return o.data;
|
|
245
|
-
const n = o.data.rows.map((ue, $e) => !J().has(Un(o.data,
|
|
245
|
+
const n = o.data.rows.map((ue, $e) => !J().has(Un(o.data, e, $e))), r = o.data.rows.filter((ue, $e) => n[$e]), s = (z = o.data.colors) == null ? void 0 : z.filter((ue, $e) => n[$e]), d = o.data.columns.findIndex((ue) => ue.name === e.encoding.value), u = ((te = e.radial) == null ? void 0 : te.mode) === "partition" || d < 0 ? o.data.total : r.reduce((ue, $e) => ue + (ve($e[d]) ?? 0), 0);
|
|
246
246
|
return {
|
|
247
247
|
...o.data,
|
|
248
248
|
rows: r,
|
|
@@ -257,28 +257,28 @@ function to(e) {
|
|
|
257
257
|
frame: n,
|
|
258
258
|
collapsed: !1
|
|
259
259
|
};
|
|
260
|
-
const r = st(n,
|
|
261
|
-
return r.collapsed ? r : it(n,
|
|
260
|
+
const r = st(n, e);
|
|
261
|
+
return r.collapsed ? r : it(n, e, a("chart.other", "Other"));
|
|
262
262
|
}), h = () => {
|
|
263
263
|
const n = y();
|
|
264
|
-
return n.collapsed && n.frame ? an(n.frame,
|
|
264
|
+
return n.collapsed && n.frame ? an(n.frame, e, n.frame.rows.length - 1) : void 0;
|
|
265
265
|
}, L = R(() => H() || !y().collapsed ? C() : y().frame), B = R(() => {
|
|
266
266
|
var n;
|
|
267
|
-
return L() ? kt(L(),
|
|
267
|
+
return L() ? kt(L(), e.encoding, e.valueAxis, (n = e.presentation) == null ? void 0 : n.valueSpreadThreshold) : !1;
|
|
268
268
|
}), O = R(() => {
|
|
269
269
|
if (!o.data || H()) return o.data;
|
|
270
|
-
const n = st(o.data,
|
|
271
|
-
return n.collapsed ? n.frame : it(o.data,
|
|
270
|
+
const n = st(o.data, e);
|
|
271
|
+
return n.collapsed ? n.frame : it(o.data, e, a("chart.other", "Other")).frame;
|
|
272
272
|
}), f = R(() => {
|
|
273
273
|
var r, s;
|
|
274
|
-
if (!o.data || J().size === 0 || !
|
|
275
|
-
const n = o.data.columns.findIndex((d) => d.name ===
|
|
274
|
+
if (!o.data || J().size === 0 || !e.encoding.value || ((r = e.radial) == null ? void 0 : r.mode) === "partition") return;
|
|
275
|
+
const n = o.data.columns.findIndex((d) => d.name === e.encoding.value);
|
|
276
276
|
if (!(n < 0))
|
|
277
277
|
return (((s = C()) == null ? void 0 : s.rows) ?? []).reduce((d, u) => d + (ve(u[n]) ?? 0), 0);
|
|
278
278
|
}), T = R(() => {
|
|
279
279
|
var r;
|
|
280
|
-
if (!o.data || !
|
|
281
|
-
const n = o.data.columns.findIndex((s) => s.name ===
|
|
280
|
+
if (!o.data || !e.encoding.value || ((r = e.radial) == null ? void 0 : r.mode) === "partition") return;
|
|
281
|
+
const n = o.data.columns.findIndex((s) => s.name === e.encoding.value);
|
|
282
282
|
if (!(n < 0))
|
|
283
283
|
return o.data.rows.reduce((s, d) => s + (ve(d[n]) ?? 0), 0);
|
|
284
284
|
}), U = () => {
|
|
@@ -286,10 +286,10 @@ function to(e) {
|
|
|
286
286
|
return J().size > 0 && (((n = C()) == null ? void 0 : n.rows.length) ?? 0) === 0;
|
|
287
287
|
}, N = () => {
|
|
288
288
|
var n, r;
|
|
289
|
-
return ((r = ((n = o.data) == null ? void 0 : n.presentation) ??
|
|
290
|
-
}, ce = () => o.data && (o.data.rows.length > 0 || N()) ? o.data.total ?? (N() || _e() ||
|
|
289
|
+
return ((r = ((n = o.data) == null ? void 0 : n.presentation) ?? e.presentation) == null ? void 0 : r.keepTotalBadge) === !0;
|
|
290
|
+
}, ce = () => o.data && (o.data.rows.length > 0 || N()) ? o.data.total ?? (!e.ratio && (N() || _e() || e.kind === "pie" || e.kind === "donut" || e.kind === "radial") ? T() : void 0) ?? e.total : void 0, me = R(() => ce() === void 0 || U() && !N() ? null : J().size > 0 ? f() ?? null : ce()), de = () => {
|
|
291
291
|
var n;
|
|
292
|
-
return ((n = o.data) == null ? void 0 : n.presentation) ??
|
|
292
|
+
return ((n = o.data) == null ? void 0 : n.presentation) ?? e.presentation;
|
|
293
293
|
}, p = () => {
|
|
294
294
|
var n;
|
|
295
295
|
return (n = L()) == null ? void 0 : n.colors;
|
|
@@ -302,7 +302,7 @@ function to(e) {
|
|
|
302
302
|
var r;
|
|
303
303
|
return !!((r = rt(ee(), n)) != null && r.target);
|
|
304
304
|
};
|
|
305
|
-
}), P = R(() => ut(o.data,
|
|
305
|
+
}), P = R(() => ut(o.data, e)), V = R(() => gt(m.theme, e, o.data, !_e())), Se = R(() => mt(m.theme, e, {
|
|
306
306
|
colors: p(),
|
|
307
307
|
positional: !_e(),
|
|
308
308
|
labels: P()
|
|
@@ -312,7 +312,7 @@ function to(e) {
|
|
|
312
312
|
oe() || n.add(De.trend);
|
|
313
313
|
for (const {
|
|
314
314
|
window: s
|
|
315
|
-
} of ((r =
|
|
315
|
+
} of ((r = e.temporal) == null ? void 0 : r.movingAverages) ?? [])
|
|
316
316
|
s !== w() && n.add(De.average(s));
|
|
317
317
|
return n;
|
|
318
318
|
}), Ve = (n) => {
|
|
@@ -321,7 +321,7 @@ function to(e) {
|
|
|
321
321
|
Q((u) => !u);
|
|
322
322
|
return;
|
|
323
323
|
}
|
|
324
|
-
const r = (d = (s =
|
|
324
|
+
const r = (d = (s = e.temporal) == null ? void 0 : s.movingAverages) == null ? void 0 : d.find(({
|
|
325
325
|
window: u
|
|
326
326
|
}) => De.average(u) === n);
|
|
327
327
|
if (r) {
|
|
@@ -332,10 +332,10 @@ function to(e) {
|
|
|
332
332
|
const z = new Set(u);
|
|
333
333
|
return z.has(n) ? z.delete(n) : z.add(n), z;
|
|
334
334
|
});
|
|
335
|
-
}, j = (ae === "line" || ae === "area") &&
|
|
335
|
+
}, j = (ae === "line" || ae === "area") && e.temporal && (e.temporal.regression || (tt = e.temporal.movingAverages) != null && tt.length) ? (() => {
|
|
336
336
|
var n = ln();
|
|
337
337
|
return i(n, (() => {
|
|
338
|
-
var r = q(() => !!
|
|
338
|
+
var r = q(() => !!e.temporal.regression);
|
|
339
339
|
return () => r() && (() => {
|
|
340
340
|
var s = sn();
|
|
341
341
|
return s.$$click = () => Q((d) => !d), i(s, () => a("chart.regression", "Trend")), Y(() => E(s, "aria-pressed", oe())), s;
|
|
@@ -343,13 +343,13 @@ function to(e) {
|
|
|
343
343
|
})(), null), i(n, (() => {
|
|
344
344
|
var r = q(() => {
|
|
345
345
|
var s;
|
|
346
|
-
return !!((s =
|
|
346
|
+
return !!((s = e.temporal.movingAverages) != null && s.length);
|
|
347
347
|
});
|
|
348
348
|
return () => r() && (() => {
|
|
349
349
|
var s = cn(), d = s.firstChild;
|
|
350
350
|
return s.addEventListener("change", (u) => Z(u.target.value ? Number(u.target.value) : void 0)), i(d, () => a("chart.movingAverage", "Moving average")), i(s, K(Ge, {
|
|
351
351
|
get each() {
|
|
352
|
-
return
|
|
352
|
+
return e.temporal.movingAverages;
|
|
353
353
|
},
|
|
354
354
|
children: ({
|
|
355
355
|
window: u,
|
|
@@ -386,21 +386,21 @@ function to(e) {
|
|
|
386
386
|
return L() ? {
|
|
387
387
|
kind: ae,
|
|
388
388
|
frame: L(),
|
|
389
|
-
encoding:
|
|
389
|
+
encoding: e.encoding,
|
|
390
390
|
format: I,
|
|
391
391
|
formatAxis: b,
|
|
392
|
-
formatTooltip: (s, d, u) => jt(d, u,
|
|
392
|
+
formatTooltip: (s, d, u) => jt(d, u, e.format[s], m.meta.locale),
|
|
393
393
|
// The plot abbreviates because a label has to fit beside a mark; the
|
|
394
394
|
// tooltip is where a reader who stopped to point gets the whole number, and
|
|
395
395
|
// the clipboard gets the machine value behind it.
|
|
396
396
|
formatExact: (s, d) => {
|
|
397
397
|
var u;
|
|
398
|
-
return Zt(d,
|
|
398
|
+
return Zt(d, e.format[s], ((u = m.meta) == null ? void 0 : u.locale) ?? "en");
|
|
399
399
|
},
|
|
400
|
-
rawValue: (s, d) => Wt(d,
|
|
401
|
-
categoryFormatDefined: !!(
|
|
400
|
+
rawValue: (s, d) => Wt(d, e.format[s]),
|
|
401
|
+
categoryFormatDefined: !!(e.encoding.category && e.format[e.encoding.category]),
|
|
402
402
|
locale: (n = m.meta) == null ? void 0 : n.locale,
|
|
403
|
-
shareDecimalSeparator:
|
|
403
|
+
shareDecimalSeparator: e.encoding.value ? (r = e.format[e.encoding.value]) == null ? void 0 : r.decimalSeparator : void 0,
|
|
404
404
|
tooltipTotalLabel: a("panel.total", "Total"),
|
|
405
405
|
labels: pe(),
|
|
406
406
|
theme: m.theme,
|
|
@@ -411,36 +411,36 @@ function to(e) {
|
|
|
411
411
|
presentation: de(),
|
|
412
412
|
seriesColor: V(),
|
|
413
413
|
rowColor: Se(),
|
|
414
|
-
radial:
|
|
415
|
-
temporal:
|
|
414
|
+
radial: e.radial,
|
|
415
|
+
temporal: e.temporal,
|
|
416
416
|
hiddenOverlays: Ee(),
|
|
417
|
-
valueAxis:
|
|
418
|
-
valueUnit: qt(
|
|
417
|
+
valueAxis: e.valueAxis,
|
|
418
|
+
valueUnit: qt(e.encoding.value ? e.format[e.encoding.value] : void 0),
|
|
419
419
|
expandable: A()
|
|
420
420
|
} : void 0;
|
|
421
421
|
}), he = R(() => {
|
|
422
422
|
var r, s;
|
|
423
|
-
if (!
|
|
424
|
-
const n =
|
|
423
|
+
if (!e.temporal && !e.encoding.previous) return [];
|
|
424
|
+
const n = e.encoding.category ?? e.encoding.label;
|
|
425
425
|
return At({
|
|
426
|
-
temporal:
|
|
427
|
-
hasComparison: !!
|
|
426
|
+
temporal: e.temporal,
|
|
427
|
+
hasComparison: !!e.encoding.previous,
|
|
428
428
|
labels: pe(),
|
|
429
|
-
formatValue: (d) => I(
|
|
429
|
+
formatValue: (d) => I(e.encoding.value ?? "", d),
|
|
430
430
|
formatCategory: Kt({
|
|
431
431
|
format: (d) => I(n ?? "", d),
|
|
432
432
|
isTime: ((r = o.data) == null ? void 0 : r.columns.some((d) => d.name === n && d.type === "time")) === !0,
|
|
433
|
-
hasDeclaredFormat: !!(n &&
|
|
433
|
+
hasDeclaredFormat: !!(n && e.format[n]),
|
|
434
434
|
locale: (s = m.meta) == null ? void 0 : s.locale
|
|
435
435
|
}),
|
|
436
436
|
hidden: Ee()
|
|
437
437
|
});
|
|
438
438
|
}), fe = Qt(), He = () => {
|
|
439
439
|
var n;
|
|
440
|
-
return G() ? fe ? !!(((n = ee()) == null ? void 0 : n.children.length) ??
|
|
440
|
+
return G() ? fe ? !!(((n = ee()) == null ? void 0 : n.children.length) ?? e.drillRoot) : Ie() : !!x.action;
|
|
441
441
|
}, Xe = ae === "histogram" || ae === "boxplot" || ae === "heatmap", Ne = () => Te() && !Xe, je = (n, r, s) => {
|
|
442
442
|
const d = y(), u = d.frame ? d.frame.rows.length - 1 : -1;
|
|
443
|
-
if (d.collapsed && !!(n === h() || d.frame && lt(d.frame,
|
|
443
|
+
if (d.collapsed && !!(n === h() || d.frame && lt(d.frame, e, n) === u)) {
|
|
444
444
|
v((ue) => !ue);
|
|
445
445
|
return;
|
|
446
446
|
}
|
|
@@ -456,11 +456,11 @@ function to(e) {
|
|
|
456
456
|
return;
|
|
457
457
|
}
|
|
458
458
|
const te = rt(ee(), n);
|
|
459
|
-
ee() && !(te != null && te.target) || (S(n), _((te == null ? void 0 : te.key) ?? n,
|
|
459
|
+
ee() && !(te != null && te.target) || (S(n), _((te == null ? void 0 : te.key) ?? n, e.id));
|
|
460
460
|
}, [wt, pt] = le(), Je = () => {
|
|
461
461
|
var n, r;
|
|
462
462
|
return !!L() && (!Ne() && ((n = de()) == null ? void 0 : n.legend) === "below" || nn(ae, wt(), (r = de()) == null ? void 0 : r.sliceLabels));
|
|
463
|
-
}, yt = () => !Ne() && he().length > 0 && !!L(), Ce = () => He() || y().collapsed, bt =
|
|
463
|
+
}, yt = () => !Ne() && he().length > 0 && !!L(), Ce = () => He() || y().collapsed, bt = e.encoding.category ?? e.encoding.label, et = () => {
|
|
464
464
|
var n;
|
|
465
465
|
return (ae === "line" || ae === "area") && ((n = L()) == null ? void 0 : n.columns.some((r) => r.name === bt && r.type === "time")) === !0;
|
|
466
466
|
}, Pe = () => he().find((n) => n.kind === "incomplete" && n.active), St = () => be() ? a("chart.filterHint", "Select to filter the page") : a("chart.drillHint", "Select to explore"), Le = R(() => ye() && He() ? {
|
|
@@ -470,7 +470,7 @@ function to(e) {
|
|
|
470
470
|
return K(Yt, {
|
|
471
471
|
allowEmptyContent: !Xe,
|
|
472
472
|
headerActions: j,
|
|
473
|
-
panel:
|
|
473
|
+
panel: e,
|
|
474
474
|
frame: o,
|
|
475
475
|
get total() {
|
|
476
476
|
return me();
|
|
@@ -481,12 +481,12 @@ function to(e) {
|
|
|
481
481
|
get when() {
|
|
482
482
|
return q(() => {
|
|
483
483
|
var s, d;
|
|
484
|
-
return ((s = de()) == null ? void 0 : s.totalBadge) === "plot" && ae !== "donut" && ((d =
|
|
484
|
+
return ((s = de()) == null ? void 0 : s.totalBadge) === "plot" && ae !== "donut" && ((d = e.radial) == null ? void 0 : d.mode) !== "partition";
|
|
485
485
|
})() && me() !== null;
|
|
486
486
|
},
|
|
487
487
|
get children() {
|
|
488
488
|
return K(qn, {
|
|
489
|
-
panel:
|
|
489
|
+
panel: e,
|
|
490
490
|
get total() {
|
|
491
491
|
return me();
|
|
492
492
|
}
|
|
@@ -566,7 +566,7 @@ function to(e) {
|
|
|
566
566
|
get onSelect() {
|
|
567
567
|
return Ce() ? je : void 0;
|
|
568
568
|
},
|
|
569
|
-
panel:
|
|
569
|
+
panel: e
|
|
570
570
|
});
|
|
571
571
|
}
|
|
572
572
|
}), null), i(r, K(ne, {
|
|
@@ -586,12 +586,12 @@ function to(e) {
|
|
|
586
586
|
},
|
|
587
587
|
get label() {
|
|
588
588
|
return a("chart.data", "Chart data for {name}", {
|
|
589
|
-
name:
|
|
589
|
+
name: e.title
|
|
590
590
|
});
|
|
591
591
|
},
|
|
592
592
|
onHover: Ae,
|
|
593
593
|
onSelect: je,
|
|
594
|
-
panel:
|
|
594
|
+
panel: e,
|
|
595
595
|
translate: a
|
|
596
596
|
}), K(Lt, {
|
|
597
597
|
onWidthChange: pt,
|
|
@@ -599,14 +599,14 @@ function to(e) {
|
|
|
599
599
|
return Le();
|
|
600
600
|
},
|
|
601
601
|
get panelId() {
|
|
602
|
-
return
|
|
602
|
+
return e.id;
|
|
603
603
|
},
|
|
604
604
|
get adapter() {
|
|
605
|
-
return
|
|
605
|
+
return t.adapter;
|
|
606
606
|
},
|
|
607
607
|
get label() {
|
|
608
608
|
return a("chart.label", "{name} chart", {
|
|
609
|
-
name:
|
|
609
|
+
name: e.title
|
|
610
610
|
});
|
|
611
611
|
},
|
|
612
612
|
get drillable() {
|
|
@@ -649,7 +649,7 @@ function to(e) {
|
|
|
649
649
|
},
|
|
650
650
|
onSetHidden: c,
|
|
651
651
|
onToggle: k,
|
|
652
|
-
panel:
|
|
652
|
+
panel: e,
|
|
653
653
|
get presentation() {
|
|
654
654
|
return de();
|
|
655
655
|
},
|
|
@@ -662,31 +662,31 @@ function to(e) {
|
|
|
662
662
|
}
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
|
-
function zn(
|
|
666
|
-
const
|
|
665
|
+
function zn(t) {
|
|
666
|
+
const e = ke();
|
|
667
667
|
return (() => {
|
|
668
668
|
var o = pn(), a = o.firstChild, m = a.nextSibling;
|
|
669
|
-
return i(a, () =>
|
|
669
|
+
return i(a, () => e("chart.allSeriesHidden", "All series are hidden")), $t(m, "click", t.onShowAll, !0), i(m, () => e("chart.showAllSeries", "Show all series")), o;
|
|
670
670
|
})();
|
|
671
671
|
}
|
|
672
|
-
function Dn(
|
|
672
|
+
function Dn(t) {
|
|
673
673
|
var oe, Q;
|
|
674
|
-
const
|
|
674
|
+
const e = ke(), o = [t.panel.encoding.category, t.panel.encoding.label].find((w) => w !== void 0 && t.frame.columns.some((Z) => Z.name === w)), a = t.panel.encoding.value, m = t.frame.columns.findIndex((w) => w.name === o), l = t.frame.columns.findIndex((w) => w.name === a), _ = D(a ? t.panel.format[a] : void 0), I = l < 0 ? void 0 : t.frame.rows.reduce((w, Z) => w + (ve(Z[l]) ?? 0), 0), b = m < 0 || (oe = t.frame.rows[0]) == null ? void 0 : oe[m], $ = Fe(b), S = _(I), H = t.panel.encoding.id ?? o, v = t.frame.columns.findIndex((w) => w.name === H), g = Fe(v < 0 || (Q = t.frame.rows[0]) == null ? void 0 : Q[v]), M = q(() => q(() => t.frame.rows.length === 0)() ? (() => {
|
|
675
675
|
var w = yn();
|
|
676
|
-
return i(w, () =>
|
|
676
|
+
return i(w, () => e("panel.empty", "No data")), w;
|
|
677
677
|
})() : [$ && (() => {
|
|
678
678
|
var w = Sn();
|
|
679
679
|
return E(w, "title", $), i(w, $), w;
|
|
680
680
|
})(), (() => {
|
|
681
681
|
var w = bn();
|
|
682
682
|
return i(w, S), w;
|
|
683
|
-
})()]), W =
|
|
684
|
-
return
|
|
683
|
+
})()]), W = t.frame.rows.length === 0 ? e("panel.empty", "No data") : [$, S].filter(Boolean).join(" / ");
|
|
684
|
+
return t.actionable && g && t.frame.rows.length > 0 ? (() => {
|
|
685
685
|
var w = $n();
|
|
686
686
|
return w.$$click = () => {
|
|
687
687
|
var Z;
|
|
688
|
-
return (Z =
|
|
689
|
-
}, i(w, M), Y(() => E(w, "aria-label", `${W}. ${
|
|
688
|
+
return (Z = t.onSelect) == null ? void 0 : Z.call(t, g);
|
|
689
|
+
}, i(w, M), Y(() => E(w, "aria-label", `${W}. ${e("chart.openMark", "Open {name}", {
|
|
690
690
|
name: $ ?? g
|
|
691
691
|
})}`)), w;
|
|
692
692
|
})() : (() => {
|
|
@@ -694,16 +694,16 @@ function Dn(e) {
|
|
|
694
694
|
return E(w, "aria-label", W), i(w, M), w;
|
|
695
695
|
})();
|
|
696
696
|
}
|
|
697
|
-
function qn(
|
|
698
|
-
const
|
|
697
|
+
function qn(t) {
|
|
698
|
+
const e = ke(), o = D(t.panel.encoding.value ? t.panel.format[t.panel.encoding.value] : void 0);
|
|
699
699
|
return (() => {
|
|
700
700
|
var a = _n(), m = a.firstChild, l = m.firstChild;
|
|
701
|
-
return m.nextSibling, i(m, () =>
|
|
701
|
+
return m.nextSibling, i(m, () => e("panel.total", "Total"), l), i(a, () => o(t.total), null), a;
|
|
702
702
|
})();
|
|
703
703
|
}
|
|
704
|
-
function Wn(
|
|
704
|
+
function Wn(t) {
|
|
705
705
|
var Ue, Re;
|
|
706
|
-
const
|
|
706
|
+
const e = t.panel, o = t.frame, {
|
|
707
707
|
document: a,
|
|
708
708
|
navigation: m
|
|
709
709
|
} = dt(), l = ke(), [_, I] = le("");
|
|
@@ -711,11 +711,11 @@ function Wn(e) {
|
|
|
711
711
|
const [$, S] = le({
|
|
712
712
|
top: !1,
|
|
713
713
|
bottom: !1
|
|
714
|
-
}), [H, v] = le(0), [g, M] = le(!1), W = ft(o,
|
|
714
|
+
}), [H, v] = le(0), [g, M] = le(!1), W = ft(o, e), oe = W >= 0 ? e.encoding.series : [e.encoding.label, e.encoding.category].find((c) => c !== void 0 && o.columns.some((C) => C.name === c)), Q = e.encoding.value, w = D(Q ? e.format[Q] : void 0), Z = o.columns.findIndex((c) => c.name === oe), se = o.columns.findIndex((c) => c.name === Q), ge = D(oe ? e.format[oe] : void 0), X = () => m.panelId === e.id && m.path.length > 0, re = ut(o, e), J = gt(a.theme, e, o, !X()), _e = mt(a.theme, e, {
|
|
715
715
|
colors: o.colors,
|
|
716
716
|
positional: !X(),
|
|
717
717
|
labels: re
|
|
718
|
-
}), ee =
|
|
718
|
+
}), ee = e.encoding.id ? o.columns.findIndex((c) => c.name === e.encoding.id) : -1, Ie = e.encoding.series ? o.columns.findIndex((c) => c.name === e.encoding.series) : -1, G = ((Ue = e.radial) == null ? void 0 : Ue.mode) === "partition", x = R(() => {
|
|
719
719
|
var me, de;
|
|
720
720
|
const c = o.rows.map((p, k) => {
|
|
721
721
|
const A = ee >= 0 ? p[ee] : p[Z];
|
|
@@ -738,9 +738,9 @@ function Wn(e) {
|
|
|
738
738
|
G && c.forEach((p) => {
|
|
739
739
|
B.has(p) || B.set(p, B.size);
|
|
740
740
|
});
|
|
741
|
-
const O = new Map((((me =
|
|
741
|
+
const O = new Map((((me = e.radial) == null ? void 0 : me.rings) ?? []).map((p) => [p.key, p.total])), f = /* @__PURE__ */ new Map();
|
|
742
742
|
for (let p = 0; p < o.rows.length; p += 1) {
|
|
743
|
-
const k = Ie >= 0 ? (de = o.rows[p]) == null ? void 0 : de[Ie] : void 0, A = G && typeof k == "string" ? k : "", P = G ? O.get(A) ??
|
|
743
|
+
const k = Ie >= 0 ? (de = o.rows[p]) == null ? void 0 : de[Ie] : void 0, A = G && typeof k == "string" ? k : "", P = G ? O.get(A) ?? t.total : t.total, V = G ? A : String(P), Se = f.get(V) ?? {
|
|
744
744
|
denominator: P,
|
|
745
745
|
indices: []
|
|
746
746
|
};
|
|
@@ -765,7 +765,7 @@ function Wn(e) {
|
|
|
765
765
|
const A = ve(p[se]);
|
|
766
766
|
if (A === void 0) return;
|
|
767
767
|
const P = C[k];
|
|
768
|
-
W >= 0 && Q && ((V =
|
|
768
|
+
W >= 0 && Q && ((V = e.format[Q]) == null ? void 0 : V.kind) !== "percent" ? N.set(P, (N.get(P) ?? 0) + A) : N.set(P, A);
|
|
769
769
|
});
|
|
770
770
|
const ce = /* @__PURE__ */ new Map();
|
|
771
771
|
return G && Ie >= 0 && y.forEach((p) => {
|
|
@@ -789,7 +789,7 @@ function Wn(e) {
|
|
|
789
789
|
if (W >= 0) return J(x().entryKeys[C], y);
|
|
790
790
|
const h = ee >= 0 ? (B = o.rows[C]) == null ? void 0 : B[ee] : void 0, L = typeof h == "string" && h.trim() !== "" ? h : void 0;
|
|
791
791
|
return _e(c, x().categoryOrder.get(x().rowKeys[C]) ?? C, L);
|
|
792
|
-
}, Me = ((Re =
|
|
792
|
+
}, Me = ((Re = t.presentation) == null ? void 0 : Re.legendValue) === "percent", Ae = (c) => W >= 0 ? "value" : Me ? "percent" : G ? x().rowsPerKey.get(x().rowKeys[c]) === 1 ? "percent" : "none" : "value", Oe = () => _().trim().toLocaleLowerCase(), Ke = R(() => Oe() === "" ? x().entries : x().entries.filter((c) => {
|
|
793
793
|
var y;
|
|
794
794
|
const C = (y = o.rows[c]) == null ? void 0 : y[Z];
|
|
795
795
|
return Fe(C).toLocaleLowerCase().includes(Oe());
|
|
@@ -821,9 +821,9 @@ function Wn(e) {
|
|
|
821
821
|
});
|
|
822
822
|
});
|
|
823
823
|
const be = (c) => {
|
|
824
|
-
const C = !
|
|
825
|
-
|
|
826
|
-
}, we = () => x().allKeys.length > 0 && x().allKeys.every((c) =>
|
|
824
|
+
const C = !t.hidden.has(c) && x().allKeys.every((y) => y === c || t.hidden.has(y));
|
|
825
|
+
t.onSetHidden(C ? /* @__PURE__ */ new Set() : new Set(x().allKeys.filter((y) => y !== c)));
|
|
826
|
+
}, we = () => x().allKeys.length > 0 && x().allKeys.every((c) => t.hidden.has(c)), Ze = () => x().allKeys.every((c) => !t.hidden.has(c)), ae = () => x().allKeys.length > Mn, Te = () => x().entries.length >= Bn;
|
|
827
827
|
return K(ne, {
|
|
828
828
|
when: Z >= 0,
|
|
829
829
|
get children() {
|
|
@@ -836,13 +836,13 @@ function Wn(e) {
|
|
|
836
836
|
var O = q(() => !!Te());
|
|
837
837
|
return () => O() ? [(() => {
|
|
838
838
|
var f = Qe();
|
|
839
|
-
return f.$$click = () =>
|
|
839
|
+
return f.$$click = () => t.onSetHidden(new Set(x().allKeys)), i(f, () => l("chart.legendHideAll", "Hide all")), Y(() => E(f, "aria-pressed", we())), f;
|
|
840
840
|
})(), (() => {
|
|
841
841
|
var f = Qe();
|
|
842
|
-
return f.$$click = () =>
|
|
842
|
+
return f.$$click = () => t.onSetHidden(/* @__PURE__ */ new Set()), i(f, () => l("chart.legendShowAll", "Show all")), Y(() => E(f, "aria-pressed", Ze())), f;
|
|
843
843
|
})(), (() => {
|
|
844
844
|
var f = Ln();
|
|
845
|
-
return f.$$click = () =>
|
|
845
|
+
return f.$$click = () => t.onSetHidden(new Set(x().allKeys.filter((T) => !t.hidden.has(T)))), i(f, K(Jt, {})), Y((T) => {
|
|
846
846
|
var U = l("chart.legendInvert", "Invert"), N = l("chart.legendInvert", "Invert");
|
|
847
847
|
return U !== T.e && E(f, "aria-label", T.e = U), N !== T.t && E(f, "title", T.t = N), T;
|
|
848
848
|
}, {
|
|
@@ -851,7 +851,7 @@ function Wn(e) {
|
|
|
851
851
|
}), f;
|
|
852
852
|
})()] : (() => {
|
|
853
853
|
var f = Qe();
|
|
854
|
-
return f.$$click = () =>
|
|
854
|
+
return f.$$click = () => t.onSetHidden(we() ? /* @__PURE__ */ new Set() : new Set(x().allKeys)), i(f, (() => {
|
|
855
855
|
var T = q(() => !!we());
|
|
856
856
|
return () => T() ? l("chart.legendShowAll", "Show all") : l("chart.legendHideAll", "Hide all");
|
|
857
857
|
})()), f;
|
|
@@ -878,13 +878,13 @@ function Wn(e) {
|
|
|
878
878
|
},
|
|
879
879
|
children: (h, L) => {
|
|
880
880
|
var p, k, A;
|
|
881
|
-
const B = o.rows[h], O = x().entryPositions.get(h) ?? h, f = B[Z], T = f == null ? "" : ge(f), U = x().entryKeys[h], N = () =>
|
|
881
|
+
const B = o.rows[h], O = x().entryPositions.get(h) ?? h, f = B[Z], T = f == null ? "" : ge(f), U = x().entryKeys[h], N = () => t.hidden.has(U), ce = x().ringByIndex.get(h), me = L() > 0 ? x().ringByIndex.get(Ke()[L() - 1]) : void 0, de = ((A = (k = (p = e.radial) == null ? void 0 : p.rings) == null ? void 0 : k.find((P) => P.key === ce)) == null ? void 0 : A.label) ?? ce;
|
|
882
882
|
return [ce && ce !== me && (() => {
|
|
883
883
|
var P = An();
|
|
884
884
|
return i(P, de), P;
|
|
885
885
|
})(), (() => {
|
|
886
886
|
var P = kn(), V = P.firstChild, Se = V.firstChild, Ee = Se.nextSibling, Ve = Ee.nextSibling;
|
|
887
|
-
return V.$$dblclick = () => be(U), V.$$click = () =>
|
|
887
|
+
return V.$$dblclick = () => be(U), V.$$click = () => t.onToggle(U), i(Ee, T), i(V, (() => {
|
|
888
888
|
var j = q(() => Ae(h) !== "none");
|
|
889
889
|
return () => j() && (() => {
|
|
890
890
|
var pe = ht();
|
|
@@ -892,7 +892,7 @@ function Wn(e) {
|
|
|
892
892
|
var ye = q(() => Ae(h) === "percent");
|
|
893
893
|
return () => {
|
|
894
894
|
var he, fe;
|
|
895
|
-
return ye() ? Et(x().shares.get(h), (he = a.meta) == null ? void 0 : he.locale, Q ? (fe =
|
|
895
|
+
return ye() ? Et(x().shares.get(h), (he = a.meta) == null ? void 0 : he.locale, Q ? (fe = e.format[Q]) == null ? void 0 : fe.decimalSeparator : void 0) : w(x().valueByKey.get(U));
|
|
896
896
|
};
|
|
897
897
|
})()), pe;
|
|
898
898
|
})();
|
|
@@ -900,7 +900,7 @@ function Wn(e) {
|
|
|
900
900
|
var j = q(() => !!N());
|
|
901
901
|
return () => j() ? K(en, {}) : K(tn, {});
|
|
902
902
|
})()), Y((j) => {
|
|
903
|
-
var pe = !N(), ye = `lens-chart-legend-toggle${N() ? " lens-chart-legend-hidden" : ""}`, he = `lens-panel-${
|
|
903
|
+
var pe = !N(), ye = `lens-chart-legend-toggle${N() ? " lens-chart-legend-hidden" : ""}`, he = `lens-panel-${e.id}-legend-series-${O}`, fe = l("chart.legendToggleHint", "Click to toggle · double-click to isolate"), He = ie(T, h, O);
|
|
904
904
|
return pe !== j.e && E(V, "aria-pressed", j.e = pe), ye !== j.t && Ye(V, j.t = ye), he !== j.a && E(V, "data-testid", j.a = he), fe !== j.o && E(V, "title", j.o = fe), He !== j.i && _t(Se, "background", j.i = He), j;
|
|
905
905
|
}, {
|
|
906
906
|
e: void 0,
|
|
@@ -925,7 +925,7 @@ function Wn(e) {
|
|
|
925
925
|
})(), null), Y((h) => {
|
|
926
926
|
var L = H() > 0 && !g() || void 0, B = g() ? {
|
|
927
927
|
"--lens-chart-legend-max": "none"
|
|
928
|
-
} : void 0, O = $().bottom || void 0, f = $().top || void 0, T = l("chart.legendControls", "Legend controls"), U = `lens-panel-${
|
|
928
|
+
} : void 0, O = $().bottom || void 0, f = $().top || void 0, T = l("chart.legendControls", "Legend controls"), U = `lens-panel-${e.id}-legend`, N = $().top || $().bottom ? 0 : void 0;
|
|
929
929
|
return L !== h.e && E(c, "data-collapsed", h.e = L), h.t = ct(c, B, h.t), O !== h.a && E(C, "data-overflow-bottom", h.a = O), f !== h.o && E(C, "data-overflow-top", h.o = f), T !== h.i && E(y, "aria-label", h.i = T), U !== h.n && E(y, "data-testid", h.n = U), N !== h.s && E(y, "tabindex", h.s = N), h;
|
|
930
930
|
}, {
|
|
931
931
|
e: void 0,
|
|
@@ -939,24 +939,24 @@ function Wn(e) {
|
|
|
939
939
|
}
|
|
940
940
|
});
|
|
941
941
|
}
|
|
942
|
-
function Zn(
|
|
943
|
-
const
|
|
942
|
+
function Zn(t) {
|
|
943
|
+
const e = ke(), o = e("chart.legendOverlays", "Chart marks");
|
|
944
944
|
return (() => {
|
|
945
945
|
var a = Tn(), m = a.firstChild;
|
|
946
946
|
return E(a, "aria-label", o), i(m, o), i(a, K(Ge, {
|
|
947
947
|
get each() {
|
|
948
|
-
return
|
|
948
|
+
return t.overlays;
|
|
949
949
|
},
|
|
950
950
|
children: (l) => (() => {
|
|
951
951
|
var _ = Rn(), I = _.firstChild, b = I.firstChild, $ = b.nextSibling;
|
|
952
|
-
return I.$$click = () =>
|
|
952
|
+
return I.$$click = () => t.onToggle(l.id), i($, () => l.label), i(I, (() => {
|
|
953
953
|
var S = q(() => !!l.detail);
|
|
954
954
|
return () => S() && [En(), (() => {
|
|
955
955
|
var H = ht();
|
|
956
956
|
return i(H, () => l.detail), H;
|
|
957
957
|
})()];
|
|
958
958
|
})(), null), Y((S) => {
|
|
959
|
-
var H = l.active, v = `lens-chart-legend-toggle${l.active ? "" : " lens-chart-legend-hidden"}`, g =
|
|
959
|
+
var H = l.active, v = `lens-chart-legend-toggle${l.active ? "" : " lens-chart-legend-hidden"}`, g = e("chart.legendToggleOverlay", "Show or hide this mark"), M = l.stroke, W = {
|
|
960
960
|
"--lens-overlay-ink": `var(${Tt(l.tone)})`
|
|
961
961
|
};
|
|
962
962
|
return H !== S.e && E(I, "aria-pressed", S.e = H), v !== S.t && Ye(I, S.t = v), g !== S.a && E(I, "title", S.a = g), M !== S.o && E(b, "data-stroke", S.o = M), S.i = ct(b, W, S.i), S;
|