chrome-devtools-frontend 1.0.1380117 → 1.0.1402249
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/.git-blame-ignore-revs +3 -0
- package/.stylelintrc.json +3 -4
- package/AUTHORS +3 -1
- package/config/gni/devtools_grd_files.gni +61 -33
- package/config/gni/devtools_image_files.gni +6 -1
- package/docs/README.md +5 -0
- package/docs/contributing/issues.md +14 -11
- package/docs/get_the_code.md +4 -1
- package/docs/policy/README.md +7 -0
- package/docs/policy/gar-page-zoom-policy.md +43 -0
- package/docs/policy/images/devtools-gar-testing.png +0 -0
- package/docs/policy/images/docked-devtools.webp +0 -0
- package/docs/policy/images/undocked-devtools.png +0 -0
- package/docs/policy/slow-close.md +52 -0
- package/docs/styleguide/ux/README.md +1 -0
- package/docs/styleguide/ux/components.md +98 -22
- package/docs/styleguide/ux/images/radio-buttons-variations.png +0 -0
- package/docs/styleguide/ux/images/sliders-variations.png +0 -0
- package/docs/styleguide/ux/numbers.md +106 -0
- package/docs/styleguide/ux/styles.md +29 -7
- package/eslint.config.mjs +725 -0
- package/extensions/cxx_debugging/src/CreditsItem.ts +1 -1
- package/extensions/cxx_debugging/src/ExtensionOptions.ts +4 -4
- package/extensions/cxx_debugging/src/ModuleConfigurationList.ts +1 -1
- package/extensions/cxx_debugging/src/rollup.config.in.js +1 -3
- package/extensions/cxx_debugging/tests/Formatters_test.ts +2 -1
- package/front_end/Images/rollup.config.mjs +1 -1
- package/front_end/Images/src/compress.svg +8 -0
- package/front_end/Images/src/cookie_off.svg +3 -0
- package/front_end/Images/src/devtools-thumbnail.svg +57 -0
- package/front_end/Images/src/devtools-tips.svg +61 -0
- package/front_end/Images/src/domain.svg +3 -0
- package/front_end/Images/src/whatsnew.svg +61 -0
- package/front_end/Tests.js +27 -33
- package/front_end/core/common/CharacterIdMap.test.ts +1 -1
- package/front_end/core/common/Color.ts +3 -3
- package/front_end/core/common/ColorUtils.test.ts +2 -2
- package/front_end/core/common/Console.test.ts +7 -7
- package/front_end/core/common/Lazy.test.ts +12 -14
- package/front_end/core/common/MapWithDefault.test.ts +61 -0
- package/front_end/core/common/MapWithDefault.ts +24 -0
- package/front_end/core/common/ParsedURL.test.ts +5 -5
- package/front_end/core/common/Progress.test.ts +7 -7
- package/front_end/core/common/ResolverBase.test.ts +2 -2
- package/front_end/core/common/ResourceType.test.ts +3 -3
- package/front_end/core/common/SettingRegistration.test.ts +2 -4
- package/front_end/core/common/SettingRegistration.ts +8 -1
- package/front_end/core/common/Settings.ts +7 -7
- package/front_end/core/common/common.ts +4 -3
- package/front_end/core/dom_extension/DOMExtension.test.ts +4 -2
- package/front_end/core/dom_extension/DOMExtension.ts +5 -4
- package/front_end/core/host/AidaClient.test.ts +92 -38
- package/front_end/core/host/AidaClient.ts +132 -29
- package/front_end/core/host/InspectorFrontendHost.ts +15 -5
- package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -5
- package/front_end/core/host/UserMetrics.ts +27 -69
- package/front_end/core/i18n/i18n.test.ts +45 -0
- package/front_end/core/i18n/locales/af.json +1031 -887
- package/front_end/core/i18n/locales/am.json +1036 -892
- package/front_end/core/i18n/locales/ar.json +1039 -895
- package/front_end/core/i18n/locales/as.json +1032 -888
- package/front_end/core/i18n/locales/az.json +1034 -890
- package/front_end/core/i18n/locales/be.json +1031 -887
- package/front_end/core/i18n/locales/bg.json +1031 -887
- package/front_end/core/i18n/locales/bn.json +1033 -889
- package/front_end/core/i18n/locales/bs.json +1036 -892
- package/front_end/core/i18n/locales/ca.json +1031 -887
- package/front_end/core/i18n/locales/cs.json +1030 -886
- package/front_end/core/i18n/locales/cy.json +1032 -888
- package/front_end/core/i18n/locales/da.json +1031 -887
- package/front_end/core/i18n/locales/de.json +1033 -889
- package/front_end/core/i18n/locales/el.json +1031 -887
- package/front_end/core/i18n/locales/en-GB.json +1033 -889
- package/front_end/core/i18n/locales/es-419.json +1029 -885
- package/front_end/core/i18n/locales/es.json +1032 -888
- package/front_end/core/i18n/locales/et.json +1033 -889
- package/front_end/core/i18n/locales/eu.json +1031 -887
- package/front_end/core/i18n/locales/fa.json +1035 -891
- package/front_end/core/i18n/locales/fi.json +1035 -891
- package/front_end/core/i18n/locales/fil.json +1034 -890
- package/front_end/core/i18n/locales/fr-CA.json +1031 -887
- package/front_end/core/i18n/locales/fr.json +1049 -905
- package/front_end/core/i18n/locales/gl.json +1032 -888
- package/front_end/core/i18n/locales/gu.json +1035 -891
- package/front_end/core/i18n/locales/he.json +1031 -887
- package/front_end/core/i18n/locales/hi.json +1034 -890
- package/front_end/core/i18n/locales/hr.json +1031 -887
- package/front_end/core/i18n/locales/hu.json +1033 -889
- package/front_end/core/i18n/locales/hy.json +1046 -902
- package/front_end/core/i18n/locales/id.json +1023 -879
- package/front_end/core/i18n/locales/is.json +1032 -888
- package/front_end/core/i18n/locales/it.json +1031 -887
- package/front_end/core/i18n/locales/ja.json +1042 -898
- package/front_end/core/i18n/locales/ka.json +1034 -890
- package/front_end/core/i18n/locales/kk.json +1035 -891
- package/front_end/core/i18n/locales/km.json +1035 -891
- package/front_end/core/i18n/locales/kn.json +1036 -892
- package/front_end/core/i18n/locales/ko.json +1031 -887
- package/front_end/core/i18n/locales/ky.json +1032 -888
- package/front_end/core/i18n/locales/lo.json +1030 -886
- package/front_end/core/i18n/locales/lt.json +1032 -888
- package/front_end/core/i18n/locales/lv.json +1032 -888
- package/front_end/core/i18n/locales/mk.json +1032 -888
- package/front_end/core/i18n/locales/ml.json +1033 -889
- package/front_end/core/i18n/locales/mn.json +1034 -890
- package/front_end/core/i18n/locales/mr.json +1035 -891
- package/front_end/core/i18n/locales/ms.json +1033 -889
- package/front_end/core/i18n/locales/my.json +1033 -889
- package/front_end/core/i18n/locales/ne.json +1036 -892
- package/front_end/core/i18n/locales/nl.json +1033 -889
- package/front_end/core/i18n/locales/no.json +1036 -892
- package/front_end/core/i18n/locales/or.json +1043 -899
- package/front_end/core/i18n/locales/pa.json +1030 -886
- package/front_end/core/i18n/locales/pl.json +1032 -888
- package/front_end/core/i18n/locales/pt-PT.json +1033 -889
- package/front_end/core/i18n/locales/pt.json +1033 -889
- package/front_end/core/i18n/locales/ro.json +1029 -885
- package/front_end/core/i18n/locales/ru.json +1026 -882
- package/front_end/core/i18n/locales/si.json +1031 -887
- package/front_end/core/i18n/locales/sk.json +1033 -889
- package/front_end/core/i18n/locales/sl.json +1031 -887
- package/front_end/core/i18n/locales/sq.json +1061 -917
- package/front_end/core/i18n/locales/sr-Latn.json +1033 -889
- package/front_end/core/i18n/locales/sr.json +1033 -889
- package/front_end/core/i18n/locales/sv.json +1031 -887
- package/front_end/core/i18n/locales/sw.json +1033 -889
- package/front_end/core/i18n/locales/ta.json +1058 -914
- package/front_end/core/i18n/locales/te.json +1037 -893
- package/front_end/core/i18n/locales/th.json +1032 -888
- package/front_end/core/i18n/locales/tr.json +1031 -887
- package/front_end/core/i18n/locales/uk.json +1030 -886
- package/front_end/core/i18n/locales/ur.json +1031 -887
- package/front_end/core/i18n/locales/uz.json +1023 -879
- package/front_end/core/i18n/locales/vi.json +1032 -888
- package/front_end/core/i18n/locales/zh-HK.json +1032 -888
- package/front_end/core/i18n/locales/zh-TW.json +1032 -888
- package/front_end/core/i18n/locales/zh.json +1033 -889
- package/front_end/core/i18n/locales/zu.json +1032 -888
- package/front_end/core/i18n/time-utilities.ts +17 -0
- package/front_end/core/platform/ArrayUtilities.test.ts +7 -8
- package/front_end/core/platform/MapUtilities.ts +1 -1
- package/front_end/core/platform/StringUtilities.test.ts +1 -1
- package/front_end/core/platform/TypedArrayUtilities.test.ts +6 -6
- package/front_end/core/root/Runtime.test.ts +5 -3
- package/front_end/core/root/Runtime.ts +21 -4
- package/front_end/core/sdk/AnimationModel.test.ts +4 -4
- package/front_end/core/sdk/AutofillModel.test.ts +1 -1
- package/front_end/core/sdk/CSSMatchedStyles.test.ts +44 -45
- package/front_end/core/sdk/CSSModel.test.ts +1 -1
- package/front_end/core/sdk/CSSStyleDeclaration.test.ts +7 -7
- package/front_end/core/sdk/ChildTargetManager.test.ts +10 -10
- package/front_end/core/sdk/Connections.ts +5 -0
- package/front_end/core/sdk/Cookie.test.ts +37 -37
- package/front_end/core/sdk/CookieModel.test.ts +5 -5
- package/front_end/core/sdk/DOMModel.ts +5 -0
- package/front_end/core/sdk/DebuggerModel.test.ts +2 -2
- package/front_end/core/sdk/EnhancedTracesParser.test.ts +7 -7
- package/front_end/core/sdk/EnhancedTracesParser.ts +3 -1
- package/front_end/core/sdk/FrameManager.test.ts +4 -4
- package/front_end/core/sdk/NetworkManager.test.ts +53 -3
- package/front_end/core/sdk/NetworkManager.ts +7 -5
- package/front_end/core/sdk/NetworkRequest.test.ts +5 -5
- package/front_end/core/sdk/PreloadingModel.test.ts +226 -10
- package/front_end/core/sdk/PreloadingModel.ts +184 -15
- package/front_end/core/sdk/RehydratingConnection.test.ts +3 -3
- package/front_end/core/sdk/RehydratingConnection.ts +49 -7
- package/front_end/core/sdk/RemoteObject.test.ts +60 -60
- package/front_end/core/sdk/ResourceTreeModel.test.ts +5 -5
- package/front_end/core/sdk/ServiceWorkerManager.test.ts +3 -3
- package/front_end/core/sdk/SourceMap.test.ts +35 -35
- package/front_end/core/sdk/SourceMapScopeChainEntry.test.ts +7 -2
- package/front_end/core/sdk/SourceMapScopeChainEntry.ts +2 -2
- package/front_end/core/sdk/SourceMapScopes.test.ts +112 -45
- package/front_end/core/sdk/SourceMapScopes.ts +39 -14
- package/front_end/core/sdk/SourceMapScopesInfo.test.ts +135 -50
- package/front_end/core/sdk/SourceMapScopesInfo.ts +64 -2
- package/front_end/core/sdk/TraceObject.test.ts +1 -1
- package/front_end/devtools_compatibility.js +1 -5
- package/front_end/entrypoints/devtools_app/devtools_app.ts +1 -0
- package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.test.ts +1 -1
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -2
- package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +1 -2
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +2 -2
- package/front_end/entrypoints/inspector_main/nodeIcon.css +1 -0
- package/front_end/entrypoints/inspector_main/renderingOptions.css +1 -1
- package/front_end/entrypoints/main/ExecutionContextSelector.test.ts +13 -3
- package/front_end/entrypoints/main/ExecutionContextSelector.ts +23 -1
- package/front_end/entrypoints/main/MainImpl.ts +40 -27
- package/front_end/entrypoints/node_app/NodeConnectionsPanel.ts +1 -1
- package/front_end/entrypoints/node_app/NodeMain.ts +6 -0
- package/front_end/entrypoints/node_app/node_app.ts +2 -2
- package/front_end/entrypoints/shell/shell.ts +1 -1
- package/front_end/generated/ARIAProperties.js +1 -1
- package/front_end/generated/Deprecation.ts +8 -31
- package/front_end/generated/InspectorBackendCommands.js +23 -14
- package/front_end/generated/SupportedCSSProperties.js +51 -76
- package/front_end/generated/protocol-mapping.d.ts +25 -0
- package/front_end/generated/protocol-proxy-api.d.ts +19 -0
- package/front_end/generated/protocol.ts +185 -11
- package/front_end/legacy/legacy-defs.d.ts +4 -6
- package/front_end/models/autofill_manager/AutofillManager.test.ts +1 -1
- package/front_end/models/bindings/DebuggerLanguagePlugins.test.ts +3 -3
- package/front_end/models/bindings/DefaultScriptMapping.test.ts +3 -3
- package/front_end/models/bindings/FileUtils.test.ts +2 -2
- package/front_end/models/bindings/IgnoreListManager.ts +28 -5
- package/front_end/models/breakpoints/BreakpointManager.test.ts +24 -23
- package/front_end/models/crux-manager/CrUXManager.test.ts +90 -10
- package/front_end/models/crux-manager/CrUXManager.ts +80 -10
- package/front_end/models/emulation/DeviceModeModel.ts +15 -0
- package/front_end/models/emulation/EmulatedDevices.test.ts +20 -0
- package/front_end/models/emulation/EmulatedDevices.ts +22 -18
- package/front_end/models/extensions/ExtensionAPI.ts +1 -1
- package/front_end/models/extensions/ExtensionServer.test.ts +135 -40
- package/front_end/models/extensions/ExtensionServer.ts +34 -17
- package/front_end/models/extensions/LanguageExtensionEndpoint.test.ts +59 -0
- package/front_end/models/extensions/LanguageExtensionEndpoint.ts +25 -6
- package/front_end/models/extensions/RecorderPluginManager.test.ts +1 -1
- package/front_end/models/extensions/extensions.ts +4 -0
- package/front_end/models/formatter/FormatterWorkerPool.ts +2 -1
- package/front_end/models/har/Importer.test.ts +4 -4
- package/front_end/models/har/Log.test.ts +1 -1
- package/front_end/models/issues_manager/CookieIssue.ts +82 -4
- package/front_end/models/issues_manager/DeprecationIssue.test.ts +3 -3
- package/front_end/models/issues_manager/DeprecationIssue.ts +1 -1
- package/front_end/models/issues_manager/FederatedAuthUserInfoRequestIssue.test.ts +1 -1
- package/front_end/models/issues_manager/GenericIssue.test.ts +2 -2
- package/front_end/models/issues_manager/IssueResolver.test.ts +2 -2
- package/front_end/models/issues_manager/IssuesManager.test.ts +19 -19
- package/front_end/models/issues_manager/IssuesManager.ts +1 -1
- package/front_end/models/issues_manager/LowTextContrastIssue.test.ts +2 -2
- package/front_end/models/issues_manager/PropertyRuleIssue.test.ts +1 -1
- package/front_end/models/issues_manager/RelatedIssue.test.ts +7 -7
- package/front_end/models/issues_manager/SharedDictionaryIssue.test.ts +1 -1
- package/front_end/models/issues_manager/StylesheetLoadingIssue.test.ts +7 -7
- package/front_end/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
- package/front_end/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
- package/front_end/models/javascript_metadata/JavaScriptMetadata.test.ts +6 -6
- package/front_end/models/javascript_metadata/NativeFunctions.js +95 -73
- package/front_end/models/live-metrics/LiveMetrics.ts +92 -44
- package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +3 -3
- package/front_end/models/logs/NetworkLog.test.ts +3 -3
- package/front_end/models/logs/RequestResolver.test.ts +2 -2
- package/front_end/models/persistence/EditFileSystemView.ts +1 -1
- package/front_end/models/persistence/NetworkPersistenceManager.test.ts +2 -2
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +2 -1
- package/front_end/models/persistence/editFileSystemView.css +15 -7
- package/front_end/models/persistence/workspaceSettingsTab.css +2 -2
- package/front_end/models/text_utils/Text.test.ts +1 -1
- package/front_end/models/text_utils/TextRange.test.ts +2 -4
- package/front_end/models/text_utils/TextUtils.test.ts +29 -30
- package/front_end/models/trace/ModelImpl.test.ts +2 -2
- package/front_end/models/trace/ModelImpl.ts +1 -0
- package/front_end/models/trace/Processor.test.ts +75 -12
- package/front_end/models/trace/Processor.ts +108 -9
- package/front_end/models/trace/extras/Metadata.test.ts +38 -2
- package/front_end/models/trace/extras/Metadata.ts +27 -5
- package/front_end/models/trace/extras/StackTraceForEvent.test.ts +259 -0
- package/front_end/models/trace/extras/StackTraceForEvent.ts +173 -0
- package/front_end/models/trace/extras/ThirdParties.test.ts +0 -27
- package/front_end/models/trace/extras/ThirdParties.ts +3 -76
- package/front_end/models/trace/extras/TraceTree.ts +28 -18
- package/front_end/models/trace/extras/extras.ts +1 -1
- package/front_end/models/trace/handlers/AnimationFramesHandler.test.ts +40 -0
- package/front_end/models/trace/handlers/AnimationFramesHandler.ts +119 -0
- package/front_end/models/trace/handlers/AsyncJSCallsHandler.test.ts +211 -0
- package/front_end/models/trace/handlers/AsyncJSCallsHandler.ts +185 -0
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.test.ts +7 -7
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +2 -2
- package/front_end/models/trace/handlers/FlowsHandler.test.ts +185 -0
- package/front_end/models/trace/handlers/FlowsHandler.ts +176 -0
- package/front_end/models/trace/handlers/ImagePaintingHandler.ts +12 -0
- package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +56 -49
- package/front_end/models/trace/handlers/InitiatorsHandler.ts +37 -25
- package/front_end/models/trace/handlers/LargestImagePaintHandler.test.ts +19 -1
- package/front_end/models/trace/handlers/LargestImagePaintHandler.ts +18 -6
- package/front_end/models/trace/handlers/LayoutShiftsHandler.test.ts +8 -8
- package/front_end/models/trace/handlers/MetaHandler.test.ts +10 -10
- package/front_end/models/trace/handlers/ModelHandlers.ts +3 -0
- package/front_end/models/trace/handlers/NetworkRequestsHandler.test.ts +116 -10
- package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +23 -1
- package/front_end/models/trace/handlers/PageLoadMetricsHandler.test.ts +2 -2
- package/front_end/models/trace/handlers/PageLoadMetricsHandler.ts +2 -0
- package/front_end/models/trace/handlers/RendererHandler.test.ts +25 -6
- package/front_end/models/trace/handlers/RendererHandler.ts +39 -1
- package/front_end/models/trace/handlers/SamplesHandler.test.ts +1 -1
- package/front_end/models/trace/handlers/ScreenshotsHandler.test.ts +3 -3
- package/front_end/models/trace/handlers/Threads.test.ts +1 -1
- package/front_end/models/trace/handlers/UserInteractionsHandler.test.ts +3 -3
- package/front_end/models/trace/handlers/handlers.ts +1 -0
- package/front_end/models/trace/{extras/URLForEntry.test.ts → handlers/helpers.test.ts} +34 -7
- package/front_end/models/trace/handlers/helpers.ts +159 -0
- package/front_end/models/trace/helpers/SamplesIntegrator.test.ts +13 -13
- package/front_end/models/trace/helpers/Timing.ts +8 -0
- package/front_end/models/trace/helpers/Trace.test.ts +2 -2
- package/front_end/models/trace/helpers/Trace.ts +65 -16
- package/front_end/models/trace/helpers/TreeHelpers.test.ts +5 -5
- package/front_end/models/trace/helpers/TreeHelpers.ts +1 -1
- package/front_end/models/trace/insights/CLSCulprits.test.ts +9 -19
- package/front_end/models/trace/insights/CLSCulprits.ts +18 -3
- package/front_end/models/trace/insights/Common.test.ts +52 -0
- package/front_end/models/trace/insights/Common.ts +118 -1
- package/front_end/models/trace/insights/DOMSize.test.ts +31 -0
- package/front_end/models/trace/insights/DOMSize.ts +121 -0
- package/front_end/models/trace/insights/DocumentLatency.test.ts +6 -10
- package/front_end/models/trace/insights/DocumentLatency.ts +16 -3
- package/front_end/models/trace/insights/FontDisplay.test.ts +3 -13
- package/front_end/models/trace/insights/FontDisplay.ts +10 -3
- package/front_end/models/trace/insights/ImageDelivery.test.ts +103 -0
- package/front_end/models/trace/insights/ImageDelivery.ts +271 -0
- package/front_end/models/trace/insights/InteractionToNextPaint.test.ts +1 -11
- package/front_end/models/trace/insights/InteractionToNextPaint.ts +9 -3
- package/front_end/models/trace/insights/LCPDiscovery.test.ts +4 -14
- package/front_end/models/trace/insights/LCPDiscovery.ts +24 -3
- package/front_end/models/trace/insights/LCPPhases.test.ts +4 -14
- package/front_end/models/trace/insights/LCPPhases.ts +25 -3
- package/front_end/models/trace/insights/Models.ts +2 -0
- package/front_end/models/trace/insights/RenderBlocking.test.ts +14 -25
- package/front_end/models/trace/insights/RenderBlocking.ts +10 -2
- package/front_end/models/trace/insights/SlowCSSSelector.test.ts +5 -15
- package/front_end/models/trace/insights/SlowCSSSelector.ts +10 -3
- package/front_end/models/trace/insights/Statistics.test.ts +145 -0
- package/front_end/models/trace/insights/Statistics.ts +93 -0
- package/front_end/models/trace/insights/ThirdParties.test.ts +1 -11
- package/front_end/models/trace/insights/ThirdParties.ts +13 -5
- package/front_end/models/trace/insights/Viewport.test.ts +8 -13
- package/front_end/models/trace/insights/Viewport.ts +18 -5
- package/front_end/models/trace/insights/insights.ts +1 -0
- package/front_end/models/trace/insights/types.ts +16 -3
- package/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts +21 -21
- package/front_end/models/trace/lantern/core/NetworkAnalyzer.ts +1 -1
- package/front_end/models/trace/lantern/graph/BaseNode.test.ts +24 -24
- package/front_end/models/trace/lantern/graph/PageDependencyGraph.test.ts +26 -26
- package/front_end/models/trace/lantern/metrics/FirstContentfulPaint.test.ts +3 -3
- package/front_end/models/trace/lantern/metrics/Interactive.test.ts +6 -6
- package/front_end/models/trace/lantern/metrics/LargestContentfulPaint.test.ts +3 -3
- package/front_end/models/trace/lantern/metrics/SpeedIndex.test.ts +3 -3
- package/front_end/models/trace/lantern/metrics/TBTUtils.test.ts +1 -1
- package/front_end/models/trace/lantern/simulation/ConnectionPool.test.ts +22 -22
- package/front_end/models/trace/lantern/simulation/Simulator.test.ts +1 -1
- package/front_end/models/trace/lantern/simulation/TCPConnection.test.ts +1 -1
- package/front_end/models/trace/root-causes/LayoutShift.test.ts +15 -15
- package/front_end/models/trace/types/Extensions.ts +4 -3
- package/front_end/models/trace/types/File.ts +10 -1
- package/front_end/models/trace/types/TraceEvents.ts +108 -13
- package/front_end/models/workspace/UISourceCode.test.ts +1 -1
- package/front_end/models/workspace/WorkspaceImpl.test.ts +6 -6
- package/front_end/panels/accessibility/AccessibilitySubPane.ts +1 -1
- package/front_end/panels/accessibility/accessibilityNode.css +2 -2
- package/front_end/panels/accessibility/axBreadcrumbs.css +1 -1
- package/front_end/panels/{freestyler/FreestylerPanel.test.ts → ai_assistance/AiAssistancePanel.test.ts} +218 -113
- package/front_end/panels/{freestyler/FreestylerPanel.ts → ai_assistance/AiAssistancePanel.ts} +277 -200
- package/front_end/panels/ai_assistance/AiHistoryStorage.test.ts +182 -0
- package/front_end/panels/ai_assistance/AiHistoryStorage.ts +71 -0
- package/front_end/panels/{freestyler → ai_assistance}/ChangeManager.test.ts +6 -6
- package/front_end/panels/{freestyler → ai_assistance}/ChangeManager.ts +2 -2
- package/front_end/panels/{freestyler/FreestylerEvaluateAction.test.ts → ai_assistance/EvaluateAction.test.ts} +37 -35
- package/front_end/panels/{freestyler/FreestylerEvaluateAction.ts → ai_assistance/EvaluateAction.ts} +10 -5
- package/front_end/panels/ai_assistance/agents/AiAgent.test.ts +589 -0
- package/front_end/panels/{freestyler → ai_assistance/agents}/AiAgent.ts +273 -184
- package/front_end/panels/{freestyler/DrJonesFileAgent.test.ts → ai_assistance/agents/FileAgent.test.ts} +197 -98
- package/front_end/panels/{freestyler/DrJonesFileAgent.ts → ai_assistance/agents/FileAgent.ts} +32 -37
- package/front_end/panels/{freestyler/DrJonesNetworkAgent.test.ts → ai_assistance/agents/NetworkAgent.test.ts} +50 -50
- package/front_end/panels/{freestyler/DrJonesNetworkAgent.ts → ai_assistance/agents/NetworkAgent.ts} +16 -23
- package/front_end/panels/ai_assistance/agents/PatchAgent.ts +405 -0
- package/front_end/panels/{freestyler/DrJonesPerformanceAgent.test.ts → ai_assistance/agents/PerformanceAgent.test.ts} +65 -64
- package/front_end/panels/{freestyler/DrJonesPerformanceAgent.ts → ai_assistance/agents/PerformanceAgent.ts} +10 -28
- package/front_end/panels/{freestyler/FreestylerAgent.test.ts → ai_assistance/agents/StylingAgent.test.ts} +445 -212
- package/front_end/panels/{freestyler/FreestylerAgent.ts → ai_assistance/agents/StylingAgent.ts} +85 -73
- package/front_end/panels/{freestyler/freestylerPanel.css → ai_assistance/aiAssistancePanel.css} +2 -2
- package/front_end/panels/{freestyler/freestyler-meta.ts → ai_assistance/ai_assistance-meta.ts} +71 -45
- package/front_end/panels/ai_assistance/ai_assistance.ts +16 -0
- package/front_end/panels/{freestyler/components/FreestylerChatUi.test.ts → ai_assistance/components/ChatView.test.ts} +21 -24
- package/front_end/panels/{freestyler/components/FreestylerChatUi.ts → ai_assistance/components/ChatView.ts} +266 -76
- package/front_end/panels/{freestyler → ai_assistance}/components/UserActionRow.test.ts +1 -1
- package/front_end/panels/{freestyler → ai_assistance}/components/UserActionRow.ts +20 -15
- package/front_end/panels/{freestyler/components/freestylerChatUi.css → ai_assistance/components/chatView.css} +79 -4
- package/front_end/panels/{freestyler → ai_assistance}/components/userActionRow.css +2 -1
- package/front_end/panels/animation/AnimationTimeline.ts +5 -7
- package/front_end/panels/animation/AnimationUI.ts +1 -1
- package/front_end/panels/animation/animationTimeline.css +7 -10
- package/front_end/panels/application/AppManifestView.test.ts +7 -7
- package/front_end/panels/application/AppManifestView.ts +1 -1
- package/front_end/panels/application/ApplicationPanelSidebar.test.ts +8 -16
- package/front_end/panels/application/ApplicationPanelSidebar.ts +15 -21
- package/front_end/panels/application/BackgroundServiceView.ts +1 -1
- package/front_end/panels/application/DOMStorageModel.test.ts +1 -1
- package/front_end/panels/application/ExtensionStorageItemsView.test.ts +3 -5
- package/front_end/panels/application/ExtensionStorageModel.test.ts +5 -5
- package/front_end/panels/application/IndexedDBViews.test.ts +6 -8
- package/front_end/panels/application/IndexedDBViews.ts +4 -1
- package/front_end/panels/application/InterestGroupTreeElement.test.ts +1 -1
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +4 -1
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.test.ts +9 -10
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +2 -2
- package/front_end/panels/application/ServiceWorkersView.ts +0 -1
- package/front_end/panels/application/SharedStorageItemsView.test.ts +13 -15
- package/front_end/panels/application/SharedStorageModel.test.ts +1 -1
- package/front_end/panels/application/SharedStorageTreeElement.test.ts +2 -4
- package/front_end/panels/application/StorageView.test.ts +3 -5
- package/front_end/panels/application/StorageView.ts +5 -5
- package/front_end/panels/application/components/BackForwardCacheView.test.ts +10 -12
- package/front_end/panels/application/components/BackForwardCacheView.ts +2 -4
- package/front_end/panels/application/components/BounceTrackingMitigationsView.test.ts +11 -13
- package/front_end/panels/application/components/EndpointsGrid.test.ts +4 -6
- package/front_end/panels/application/components/FrameDetailsView.test.ts +3 -5
- package/front_end/panels/application/components/FrameDetailsView.ts +2 -4
- package/front_end/panels/application/components/InterestGroupAccessGrid.test.ts +2 -4
- package/front_end/panels/application/components/OriginTrialTreeView.test.ts +2 -4
- package/front_end/panels/application/components/PermissionsPolicySection.ts +2 -4
- package/front_end/panels/application/components/ProtocolHandlersView.ts +1 -1
- package/front_end/panels/application/components/ReportsGrid.test.ts +2 -4
- package/front_end/panels/application/components/ServiceWorkerRouterView.test.ts +3 -5
- package/front_end/panels/application/components/SharedStorageAccessGrid.test.ts +2 -4
- package/front_end/panels/application/components/SharedStorageMetadataView.test.ts +5 -7
- package/front_end/panels/application/components/StorageMetadataView.test.ts +3 -5
- package/front_end/panels/application/components/StorageMetadataView.ts +2 -3
- package/front_end/panels/application/components/TrustTokensView.test.ts +2 -4
- package/front_end/panels/application/components/TrustTokensView.ts +1 -3
- package/front_end/panels/application/preloading/PreloadingView.test.ts +42 -27
- package/front_end/panels/application/preloading/PreloadingView.ts +12 -9
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.test.ts +2 -4
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.test.ts +115 -25
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +51 -26
- package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +10 -20
- package/front_end/panels/application/preloading/components/PreloadingGrid.test.ts +169 -17
- package/front_end/panels/application/preloading/components/PreloadingGrid.ts +73 -50
- package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.test.ts +3 -4
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.test.ts +7 -15
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +4 -5
- package/front_end/panels/application/preloading/components/RuleSetGrid.test.ts +2 -4
- package/front_end/panels/application/preloading/components/UsedPreloadingView.test.ts +57 -37
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +2 -4
- package/front_end/panels/application/preloading/components/preloadingDisabledInfobar.css +4 -17
- package/front_end/panels/application/resourcesPanel.css +1 -2
- package/front_end/panels/application/resourcesSidebar.css +1 -1
- package/front_end/panels/application/serviceWorkersView.css +0 -5
- package/front_end/panels/autofill/AutofillView.test.ts +12 -14
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +3 -3
- package/front_end/panels/browser_debugger/categorizedBreakpointsSidebarPane.css +1 -1
- package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +1 -1
- package/front_end/panels/console/ConsoleContextSelector.ts +1 -2
- package/front_end/panels/console/ConsolePinPane.ts +3 -4
- package/front_end/panels/console/ConsoleSidebar.ts +1 -1
- package/front_end/panels/console/ConsoleView.test.ts +2 -2
- package/front_end/panels/console/ConsoleView.ts +5 -4
- package/front_end/panels/console/ConsoleViewMessage.test.ts +101 -9
- package/front_end/panels/console/ConsoleViewMessage.ts +34 -6
- package/front_end/panels/console/ConsoleViewport.ts +2 -2
- package/front_end/panels/console/ErrorStackParser.test.ts +31 -11
- package/front_end/panels/console/ErrorStackParser.ts +10 -2
- package/front_end/panels/console/consolePinPane.css +1 -1
- package/front_end/panels/console/consoleView.css +11 -5
- package/front_end/panels/coverage/CoverageListView.ts +1 -1
- package/front_end/panels/coverage/CoverageView.test.ts +4 -6
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +3 -2
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +1 -2
- package/front_end/panels/css_overview/cssOverviewCompletedView.css +3 -2
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +5 -1
- package/front_end/panels/developer_resources/DeveloperResourcesView.ts +17 -0
- package/front_end/panels/elements/CSSRuleValidator.ts +4 -10
- package/front_end/panels/elements/ClassesPaneWidget.ts +3 -3
- package/front_end/panels/elements/ComputedStyleModel.test.ts +157 -0
- package/front_end/panels/elements/ComputedStyleModel.ts +79 -17
- package/front_end/panels/elements/ComputedStyleWidget.ts +7 -13
- package/front_end/panels/elements/DOMLinkifier.ts +18 -17
- package/front_end/panels/elements/ElementStatePaneWidget.test.ts +4 -3
- package/front_end/panels/elements/ElementStatePaneWidget.ts +9 -3
- package/front_end/panels/elements/ElementsPanel.ts +22 -25
- package/front_end/panels/elements/ElementsSidebarPane.ts +7 -7
- package/front_end/panels/elements/ElementsTreeElement.ts +3 -2
- package/front_end/panels/elements/ElementsTreeOutline.ts +2 -9
- package/front_end/panels/elements/LayersWidget.ts +1 -1
- package/front_end/panels/elements/MetricsSidebarPane.ts +3 -2
- package/front_end/panels/elements/PlatformFontsWidget.ts +1 -0
- package/front_end/panels/elements/PropertyMatchers.test.ts +33 -27
- package/front_end/panels/elements/PropertyMatchers.ts +3 -0
- package/front_end/panels/elements/PropertyRenderer.test.ts +5 -5
- package/front_end/panels/elements/StylePropertiesSection.test.ts +9 -4
- package/front_end/panels/elements/StylePropertiesSection.ts +1 -1
- package/front_end/panels/elements/StylePropertyHighlighter.test.ts +2 -1
- package/front_end/panels/elements/StylePropertyTreeElement.test.ts +23 -21
- package/front_end/panels/elements/StylePropertyTreeElement.ts +3 -2
- package/front_end/panels/elements/StylesSidebarPane.test.ts +8 -6
- package/front_end/panels/elements/StylesSidebarPane.ts +9 -21
- package/front_end/panels/elements/classesPaneWidget.css +1 -1
- package/front_end/panels/elements/components/AccessibilityTreeNode.test.ts +3 -5
- package/front_end/panels/elements/components/AccessibilityTreeNode.ts +5 -7
- package/front_end/panels/elements/components/CSSQuery.ts +1 -1
- package/front_end/panels/elements/components/ElementsBreadcrumbs.test.ts +13 -15
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +7 -8
- package/front_end/panels/elements/components/ElementsTreeExpandButton.test.ts +3 -5
- package/front_end/panels/elements/components/LayoutPane.test.ts +14 -10
- package/front_end/panels/elements/components/LayoutPane.ts +3 -4
- package/front_end/panels/elements/components/QueryContainer.test.ts +1 -1
- package/front_end/panels/elements/components/QueryContainer.ts +1 -1
- package/front_end/panels/elements/components/components.ts +0 -2
- package/front_end/panels/elements/elementsPanel.css +4 -4
- package/front_end/panels/elements/elementsTreeOutline.css +6 -5
- package/front_end/panels/elements/metricsSidebarPane.css +1 -1
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +4 -0
- package/front_end/panels/emulation/DeviceModeToolbar.ts +1 -2
- package/front_end/panels/emulation/DeviceModeView.ts +18 -21
- package/front_end/panels/emulation/DeviceModeWrapper.ts +27 -2
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +1 -1
- package/front_end/panels/emulation/MediaQueryInspector.test.ts +2 -2
- package/front_end/panels/emulation/components/DeviceSizeInputElement.ts +1 -1
- package/front_end/panels/emulation/deviceModeView.css +9 -16
- package/front_end/panels/emulation/mediaQueryInspector.css +3 -6
- package/front_end/panels/event_listeners/EventListenersView.ts +1 -1
- package/front_end/panels/explain/PromptBuilder.test.ts +9 -9
- package/front_end/panels/explain/components/ConsoleInsight.test.ts +37 -1
- package/front_end/panels/explain/components/ConsoleInsight.ts +46 -5
- package/front_end/panels/explain/components/consoleInsight.css +13 -9
- package/front_end/panels/explain/explain-meta.ts +12 -8
- package/front_end/panels/issues/IssueAggregator.test.ts +73 -20
- package/front_end/panels/issues/IssueAggregator.ts +18 -13
- package/front_end/panels/issues/issuesTree.css +3 -4
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +5 -5
- package/front_end/panels/layer_viewer/Layers3DView.ts +5 -4
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +2 -2
- package/front_end/panels/layer_viewer/layerDetailsView.css +1 -2
- package/front_end/panels/layers/LayersPanel.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseReportRenderer.test.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +2 -2
- package/front_end/panels/lighthouse/LighthouseTimespanView.ts +2 -2
- package/front_end/panels/lighthouse/lighthousePanel.css +5 -5
- package/front_end/panels/lighthouse/lighthouseStartView.css +2 -1
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.test.ts +3 -3
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.test.ts +3 -3
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryViewer.test.ts +2 -2
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.test.ts +3 -3
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterSettings.css +1 -2
- package/front_end/panels/media/MainView.test.ts +2 -2
- package/front_end/panels/media/PlayerMessagesView.ts +2 -3
- package/front_end/panels/media/TickingFlameChart.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingManager.test.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +119 -65
- package/front_end/panels/mobile_throttling/ThrottlingPresets.ts +37 -1
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +5 -4
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +13 -8
- package/front_end/panels/network/BlockedURLsPane.ts +2 -2
- package/front_end/panels/network/NetworkConfigView.test.ts +15 -0
- package/front_end/panels/network/NetworkConfigView.ts +11 -11
- package/front_end/panels/network/NetworkDataGridNode.test.ts +2 -2
- package/front_end/panels/network/NetworkDataGridNode.ts +1 -0
- package/front_end/panels/network/NetworkLogView.test.ts +48 -18
- package/front_end/panels/network/NetworkLogView.ts +11 -13
- package/front_end/panels/network/NetworkLogViewColumns.ts +5 -8
- package/front_end/panels/network/NetworkOverview.test.ts +2 -4
- package/front_end/panels/network/NetworkOverview.ts +2 -4
- package/front_end/panels/network/NetworkPanel.test.ts +5 -7
- package/front_end/panels/network/NetworkPanel.ts +43 -36
- package/front_end/panels/network/NetworkWaterfallColumn.ts +4 -6
- package/front_end/panels/network/RequestPayloadView.ts +2 -2
- package/front_end/panels/network/RequestTimingView.test.ts +1 -1
- package/front_end/panels/network/RequestTimingView.ts +9 -10
- package/front_end/panels/network/blockedURLsPane.css +1 -2
- package/front_end/panels/network/components/HeaderSectionRow.test.ts +25 -27
- package/front_end/panels/network/components/RequestHeaderSection.test.ts +3 -5
- package/front_end/panels/network/components/RequestHeadersView.test.ts +27 -29
- package/front_end/panels/network/components/RequestHeadersView.ts +2 -4
- package/front_end/panels/network/components/RequestTrustTokensView.test.ts +1 -1
- package/front_end/panels/network/components/ResponseHeaderSection.test.ts +32 -34
- package/front_end/panels/network/networkConfigView.css +0 -8
- package/front_end/panels/network/networkLogView.css +2 -5
- package/front_end/panels/network/networkTimingTable.css +1 -1
- package/front_end/panels/network/webSocketFrameView.css +1 -1
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +4 -4
- package/front_end/panels/performance_monitor/performanceMonitor.css +1 -2
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +4 -0
- package/front_end/panels/profiler/HeapProfileView.ts +9 -9
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +2 -2
- package/front_end/panels/profiler/HeapSnapshotView.ts +1 -1
- package/front_end/panels/profiler/HeapTimelineOverview.ts +2 -3
- package/front_end/panels/profiler/IsolateSelector.ts +1 -1
- package/front_end/panels/profiler/LiveHeapProfileView.ts +3 -1
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +4 -5
- package/front_end/panels/profiler/ProfileLauncherView.ts +7 -10
- package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +8 -2
- package/front_end/panels/profiler/ProfileView.ts +2 -2
- package/front_end/panels/profiler/ProfilesPanel.ts +4 -1
- package/front_end/panels/profiler/heapProfiler.css +8 -4
- package/front_end/panels/profiler/profileLauncherView.css +26 -31
- package/front_end/panels/profiler/profilesPanel.css +1 -4
- package/front_end/panels/profiler/profilesSidebarTree.css +11 -1
- package/front_end/panels/protocol_monitor/ProtocolMonitor.test.ts +12 -12
- package/front_end/panels/protocol_monitor/components/JSONEditor.test.ts +40 -42
- package/front_end/panels/protocol_monitor/components/JSONEditor.ts +0 -1
- package/front_end/panels/recorder/RecorderController.test.ts +11 -13
- package/front_end/panels/recorder/RecorderController.ts +5 -5
- package/front_end/panels/recorder/components/CreateRecordingView.test.ts +9 -9
- package/front_end/panels/recorder/components/CreateRecordingView.ts +1 -1
- package/front_end/panels/recorder/components/RecordingListView.test.ts +7 -9
- package/front_end/panels/recorder/components/RecordingView.test.ts +7 -9
- package/front_end/panels/recorder/components/RecordingView.ts +0 -2
- package/front_end/panels/recorder/components/ReplaySection.test.ts +3 -5
- package/front_end/panels/recorder/components/SelectButton.test.ts +3 -5
- package/front_end/panels/recorder/components/StepEditor.test.ts +38 -38
- package/front_end/panels/recorder/components/StepView.test.ts +10 -10
- package/front_end/panels/recorder/components/StepView.ts +4 -4
- package/front_end/panels/recorder/components/controlButton.css +3 -4
- package/front_end/panels/recorder/components/stepView.css +4 -4
- package/front_end/panels/recorder/converters/LighthouseConverter.test.ts +1 -1
- package/front_end/panels/recorder/converters/PuppeteerConverter.test.ts +2 -2
- package/front_end/panels/recorder/converters/PuppeteerReplayConverter.test.ts +1 -1
- package/front_end/panels/recorder/injected/selectors/CSSSelector.test.ts +1 -1
- package/front_end/panels/recorder/models/RecordingPlayer.test.ts +7 -7
- package/front_end/panels/recorder/models/SchemaUtils.ts +6 -1
- package/front_end/panels/recorder/models/ScreenshotUtils.test.ts +4 -4
- package/front_end/panels/recorder/models/Section.test.ts +5 -5
- package/front_end/panels/recorder/models/recording-storage.test.ts +1 -1
- package/front_end/panels/recorder/models/screenshot-storage.test.ts +1 -1
- package/front_end/panels/recorder/recorderController.css +1 -1
- package/front_end/panels/screencast/ScreencastView.ts +17 -19
- package/front_end/panels/screencast/screencastView.css +1 -0
- package/front_end/panels/search/SearchView.ts +2 -4
- package/front_end/panels/security/CookieControlsTreeElement.ts +18 -0
- package/front_end/panels/security/CookieControlsView.test.ts +29 -0
- package/front_end/panels/security/CookieControlsView.ts +288 -0
- package/front_end/panels/security/CookieReportView.test.ts +157 -0
- package/front_end/panels/security/CookieReportView.ts +397 -13
- package/front_end/panels/security/SecurityPanel.ts +6 -5
- package/front_end/panels/security/SecurityPanelSidebar.ts +6 -1
- package/front_end/panels/security/cookieControlsView.css +101 -0
- package/front_end/panels/security/cookieReportView.css +26 -3
- package/front_end/panels/security/mainView.css +1 -2
- package/front_end/panels/security/originView.css +1 -2
- package/front_end/panels/security/security.ts +4 -0
- package/front_end/panels/security/sidebar.css +1 -1
- package/front_end/panels/sensors/SensorsView.ts +10 -10
- package/front_end/panels/sensors/locationsSettingsTab.css +1 -1
- package/front_end/panels/sensors/sensors.css +1 -4
- package/front_end/panels/settings/AISettingsTab.test.ts +53 -7
- package/front_end/panels/settings/AISettingsTab.ts +77 -39
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +3 -3
- package/front_end/panels/settings/KeybindsSettingsTab.ts +10 -10
- package/front_end/panels/settings/SettingsScreen.ts +9 -5
- package/front_end/panels/settings/aiSettingsTab.css +14 -4
- package/front_end/panels/settings/components/SyncSection.test.ts +2 -2
- package/front_end/panels/settings/components/SyncSection.ts +1 -1
- package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +2 -2
- package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +1 -2
- package/front_end/panels/settings/emulation/devicesSettingsTab.css +3 -1
- package/front_end/panels/settings/emulation/utils/StructuredHeaders.test.ts +2 -2
- package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +1 -1
- package/front_end/panels/settings/keybindsSettingsTab.css +7 -6
- package/front_end/panels/settings/settings-meta.ts +3 -1
- package/front_end/panels/settings/settingsScreen.css +41 -13
- package/front_end/panels/sources/CSSPlugin.test.ts +1 -1
- package/front_end/panels/sources/CallStackSidebarPane.ts +3 -3
- package/front_end/panels/sources/DebuggerPausedMessage.ts +3 -3
- package/front_end/panels/sources/DebuggerPlugin.test.ts +5 -5
- package/front_end/panels/sources/DebuggerPlugin.ts +1 -1
- package/front_end/panels/sources/NavigatorView.test.ts +3 -3
- package/front_end/panels/sources/NavigatorView.ts +8 -0
- package/front_end/panels/sources/OutlineQuickOpen.ts +1 -1
- package/front_end/panels/sources/SourcesNavigator.test.ts +1 -1
- package/front_end/panels/sources/SourcesView.test.ts +5 -5
- package/front_end/panels/sources/TabbedEditorContainer.test.ts +5 -5
- package/front_end/panels/sources/TabbedEditorContainer.ts +1 -1
- package/front_end/panels/sources/UISourceCodeFrame.ts +2 -5
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +2 -2
- package/front_end/panels/sources/components/BreakpointsView.test.ts +28 -30
- package/front_end/panels/sources/components/BreakpointsView.ts +7 -9
- package/front_end/panels/sources/components/HeadersView.test.ts +21 -23
- package/front_end/panels/sources/navigatorTree.css +5 -5
- package/front_end/panels/sources/sources-meta.ts +17 -1
- package/front_end/panels/sources/sourcesPanel.css +2 -2
- package/front_end/panels/timeline/AnimationsTrackAppender.ts +1 -7
- package/front_end/panels/timeline/AppenderUtils.ts +3 -1
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +43 -43
- package/front_end/panels/timeline/CountersGraph.ts +5 -4
- package/front_end/panels/timeline/EntriesFilter.test.ts +10 -10
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +1 -6
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +4 -8
- package/front_end/panels/timeline/Initiators.test.ts +149 -168
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +3 -4
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +9 -38
- package/front_end/panels/timeline/ModificationsManager.test.ts +5 -5
- package/front_end/panels/timeline/ServerTimingsTrackAppender.ts +1 -10
- package/front_end/panels/timeline/ThreadAppender.ts +9 -12
- package/front_end/panels/timeline/TimelineController.ts +51 -5
- package/front_end/panels/timeline/TimelineDetailsView.test.ts +4 -8
- package/front_end/panels/timeline/TimelineDetailsView.ts +21 -23
- package/front_end/panels/timeline/TimelineEventOverview.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.test.ts +4 -8
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +120 -111
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.test.ts +3 -3
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +33 -29
- package/front_end/panels/timeline/TimelineFlameChartView.test.ts +180 -201
- package/front_end/panels/timeline/TimelineFlameChartView.ts +199 -64
- package/front_end/panels/timeline/TimelineHistoryManager.test.ts +21 -52
- package/front_end/panels/timeline/TimelineHistoryManager.ts +67 -112
- package/front_end/panels/timeline/TimelineLayersView.ts +1 -1
- package/front_end/panels/timeline/TimelineLoader.test.ts +11 -11
- package/front_end/panels/timeline/TimelineLoader.ts +28 -15
- package/front_end/panels/timeline/TimelineMiniMap.test.ts +1 -2
- package/front_end/panels/timeline/TimelineMiniMap.ts +5 -11
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +2 -2
- package/front_end/panels/timeline/TimelinePanel.ts +351 -99
- package/front_end/panels/timeline/TimelineTreeView.ts +71 -27
- package/front_end/panels/timeline/TimelineUIUtils.test.ts +131 -33
- package/front_end/panels/timeline/TimelineUIUtils.ts +108 -66
- package/front_end/panels/timeline/TimingsTrackAppender.ts +25 -90
- package/front_end/panels/timeline/components/BreadcrumbsUI.test.ts +8 -10
- package/front_end/panels/timeline/components/CPUThrottlingSelector.test.ts +7 -9
- package/front_end/panels/timeline/components/CPUThrottlingSelector.ts +33 -3
- package/front_end/panels/timeline/components/FieldSettingsDialog.test.ts +55 -311
- package/front_end/panels/timeline/components/FieldSettingsDialog.ts +19 -256
- package/front_end/panels/timeline/components/IgnoreListSetting.test.ts +425 -0
- package/front_end/panels/timeline/components/IgnoreListSetting.ts +362 -0
- package/front_end/panels/timeline/components/InteractionBreakdown.test.ts +2 -3
- package/front_end/panels/timeline/components/LiveMetricsView.test.ts +94 -115
- package/front_end/panels/timeline/components/LiveMetricsView.ts +115 -153
- package/front_end/panels/timeline/components/MetricCard.test.ts +58 -37
- package/front_end/panels/timeline/components/MetricCard.ts +5 -1
- package/front_end/panels/timeline/components/MetricCompareStrings.ts +9 -9
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +5 -8
- package/front_end/panels/timeline/components/NetworkThrottlingSelector.test.ts +14 -15
- package/front_end/panels/timeline/components/NetworkThrottlingSelector.ts +35 -5
- package/front_end/panels/timeline/components/OriginMap.test.ts +359 -0
- package/front_end/panels/timeline/components/OriginMap.ts +278 -0
- package/front_end/panels/timeline/components/RelatedInsightChips.test.ts +37 -6
- package/front_end/panels/timeline/components/RelatedInsightChips.ts +34 -10
- package/front_end/panels/timeline/components/Sidebar.test.ts +1 -7
- package/front_end/panels/timeline/components/Sidebar.ts +7 -15
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.test.ts +18 -21
- package/front_end/panels/timeline/components/SidebarInsightsTab.test.ts +2 -4
- package/front_end/panels/timeline/components/SidebarInsightsTab.ts +1 -2
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +86 -48
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +71 -79
- package/front_end/panels/timeline/components/TimelineSummary.test.ts +75 -0
- package/front_end/panels/timeline/components/TimelineSummary.ts +101 -0
- package/front_end/panels/timeline/components/Utils.test.ts +65 -18
- package/front_end/panels/timeline/components/Utils.ts +2 -2
- package/front_end/panels/timeline/components/breadcrumbsUI.css +1 -2
- package/front_end/panels/timeline/components/components.ts +6 -0
- package/front_end/panels/timeline/components/cpuThrottlingSelector.css +5 -2
- package/front_end/panels/timeline/components/fieldSettingsDialog.css +7 -10
- package/front_end/panels/timeline/components/ignoreListSetting.css +68 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.test.ts +82 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +304 -0
- package/front_end/panels/timeline/components/insights/CLSCulprits.test.ts +44 -0
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +36 -53
- package/front_end/panels/timeline/components/insights/DOMSize.ts +62 -0
- package/front_end/panels/timeline/components/insights/DocumentLatency.ts +28 -54
- package/front_end/panels/timeline/components/insights/EventRef.ts +59 -2
- package/front_end/panels/timeline/components/insights/FontDisplay.ts +24 -50
- package/front_end/panels/timeline/components/insights/Helpers.ts +5 -208
- package/front_end/panels/timeline/components/insights/ImageDelivery.ts +117 -0
- package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +33 -55
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +48 -81
- package/front_end/panels/timeline/components/insights/LCPPhases.ts +21 -55
- package/front_end/panels/timeline/components/insights/README.md +10 -24
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +33 -49
- package/front_end/panels/timeline/components/insights/SidebarInsight.ts +3 -197
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +70 -77
- package/front_end/panels/timeline/components/insights/Table.ts +15 -5
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +56 -71
- package/front_end/panels/timeline/components/insights/Viewport.ts +17 -36
- package/front_end/panels/timeline/components/insights/{sidebarInsight.css → baseInsightComponent.css} +20 -13
- package/front_end/panels/timeline/components/insights/insights.ts +6 -0
- package/front_end/panels/timeline/components/insights/table.css +1 -1
- package/front_end/panels/timeline/components/insights/types.ts +0 -7
- package/front_end/panels/timeline/components/liveMetricsView.css +44 -5
- package/front_end/panels/timeline/components/metricCard.css +39 -4
- package/front_end/panels/timeline/components/networkThrottlingSelector.css +5 -2
- package/front_end/panels/timeline/components/originMap.css +71 -0
- package/front_end/panels/timeline/components/relatedInsightChips.css +29 -0
- package/front_end/panels/timeline/components/sidebarSingleInsightSet.css +8 -0
- package/front_end/panels/timeline/components/timelineSummary.css +64 -0
- package/front_end/panels/timeline/docs/flame_chart_migration.md +1 -1
- package/front_end/panels/timeline/fixtures/traces/README.md +33 -4
- package/front_end/panels/timeline/fixtures/traces/async-js-calls.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/dom-size-long.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/dom-size.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/extension-tracks-and-marks.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/image-delivery.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/lcp-multiple-frames.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/web-dev-animation-frames.json.gz +0 -0
- package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +45 -18
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +220 -64
- package/front_end/panels/timeline/overlays/components/EntriesLinkOverlay.ts +16 -8
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +2 -1
- package/front_end/panels/timeline/overlays/components/TimeRangeOverlay.ts +2 -1
- package/front_end/panels/timeline/overlays/components/TimespanBreakdownOverlay.test.ts +1 -2
- package/front_end/panels/timeline/timeline-meta.ts +1 -1
- package/front_end/panels/timeline/timeline.ts +0 -2
- package/front_end/panels/timeline/timelineFlameChartView.css +44 -5
- package/front_end/panels/timeline/timelineFlamechartPopover.css +16 -6
- package/front_end/panels/timeline/timelineHistoryManager.css +7 -3
- package/front_end/panels/timeline/timelinePanel.css +4 -4
- package/front_end/panels/timeline/timelineStatusDialog.css +1 -0
- package/front_end/panels/timeline/track_appenders/AnimationsTrackAppender.test.ts +1 -1
- package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +11 -25
- package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +25 -12
- package/front_end/panels/timeline/track_appenders/GPUTrackAppender.test.ts +1 -1
- package/front_end/panels/timeline/track_appenders/InteractionsTrackAppender.test.ts +3 -3
- package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +13 -4
- package/front_end/panels/timeline/track_appenders/NetworkTrackAppender.test.ts +1 -1
- package/front_end/panels/timeline/track_appenders/ServerTimingsTrackAppender.test.ts +2 -11
- package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +50 -56
- package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +48 -94
- package/front_end/panels/timeline/utils/AICallTree.test.ts +11 -11
- package/front_end/panels/timeline/utils/AICallTree.ts +1 -1
- package/front_end/panels/timeline/utils/EntityMapper.test.ts +124 -0
- package/front_end/panels/timeline/utils/EntityMapper.ts +164 -0
- package/front_end/panels/timeline/utils/EntryName.ts +1 -2
- package/front_end/panels/timeline/utils/EntryStyles.ts +40 -2
- package/front_end/panels/timeline/utils/Helpers.ts +39 -0
- package/front_end/panels/timeline/utils/IgnoreList.test.ts +53 -1
- package/front_end/panels/timeline/utils/IgnoreList.ts +68 -7
- package/front_end/panels/timeline/utils/ImageCache.test.ts +2 -2
- package/front_end/panels/timeline/utils/SourceMapsResolver.test.ts +83 -2
- package/front_end/panels/timeline/utils/SourceMapsResolver.ts +25 -21
- package/front_end/panels/timeline/utils/utils.ts +2 -0
- package/front_end/panels/utils/utils.test.ts +2 -2
- package/front_end/panels/web_audio/AudioContextSelector.ts +1 -2
- package/front_end/panels/webauthn/WebauthnPane.test.ts +55 -11
- package/front_end/panels/webauthn/WebauthnPane.ts +47 -27
- package/front_end/panels/webauthn/webauthnPane.css +3 -10
- package/front_end/panels/whats_new/ReleaseNote.test.ts +91 -0
- package/front_end/panels/whats_new/ReleaseNoteText.ts +67 -0
- package/front_end/panels/whats_new/ReleaseNoteView.test.ts +159 -0
- package/front_end/panels/whats_new/ReleaseNoteView.ts +160 -0
- package/front_end/panels/whats_new/WhatsNewImpl.ts +102 -0
- package/front_end/panels/whats_new/releaseNoteView.css +111 -0
- package/front_end/panels/whats_new/resources/WNDT.md +6 -0
- package/front_end/panels/whats_new/whats_new-meta.ts +142 -0
- package/front_end/panels/whats_new/whats_new.ts +13 -0
- package/front_end/services/puppeteer/PuppeteerConnection.ts +4 -3
- package/front_end/testing/DOMHelpers.ts +15 -1
- package/front_end/testing/DataGridHelpers.ts +2 -3
- package/front_end/testing/EnvironmentHelpers.ts +18 -7
- package/front_end/testing/InsightHelpers.ts +11 -0
- package/front_end/testing/NetworkHelpers.ts +2 -4
- package/front_end/testing/SourceMapEncoder.ts +27 -11
- package/front_end/testing/StubIssue.ts +1 -1
- package/front_end/testing/TraceHelpers.ts +106 -12
- package/front_end/testing/TraceLoader.ts +20 -2
- package/front_end/third_party/axe-core/README.chromium +2 -2
- package/front_end/third_party/i18n/localized-string-set.ts +13 -3
- package/front_end/third_party/lighthouse/README.chromium +2 -2
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1726 -1431
- package/front_end/third_party/lighthouse/locales/ar-XB.json +148 -85
- package/front_end/third_party/lighthouse/locales/ar.json +158 -95
- package/front_end/third_party/lighthouse/locales/bg.json +148 -85
- package/front_end/third_party/lighthouse/locales/ca.json +151 -88
- package/front_end/third_party/lighthouse/locales/cs.json +151 -88
- package/front_end/third_party/lighthouse/locales/da.json +154 -91
- package/front_end/third_party/lighthouse/locales/de.json +152 -89
- package/front_end/third_party/lighthouse/locales/el.json +152 -89
- package/front_end/third_party/lighthouse/locales/en-GB.json +149 -86
- package/front_end/third_party/lighthouse/locales/en-US.json +177 -60
- package/front_end/third_party/lighthouse/locales/en-XA.json +88 -85
- package/front_end/third_party/lighthouse/locales/en-XL.json +177 -60
- package/front_end/third_party/lighthouse/locales/es-419.json +152 -89
- package/front_end/third_party/lighthouse/locales/es.json +151 -88
- package/front_end/third_party/lighthouse/locales/fi.json +152 -89
- package/front_end/third_party/lighthouse/locales/fil.json +153 -90
- package/front_end/third_party/lighthouse/locales/fr.json +154 -91
- package/front_end/third_party/lighthouse/locales/he.json +157 -94
- package/front_end/third_party/lighthouse/locales/hi.json +152 -89
- package/front_end/third_party/lighthouse/locales/hr.json +150 -87
- package/front_end/third_party/lighthouse/locales/hu.json +150 -87
- package/front_end/third_party/lighthouse/locales/id.json +151 -88
- package/front_end/third_party/lighthouse/locales/it.json +150 -87
- package/front_end/third_party/lighthouse/locales/ja.json +150 -87
- package/front_end/third_party/lighthouse/locales/ko.json +150 -87
- package/front_end/third_party/lighthouse/locales/lt.json +150 -87
- package/front_end/third_party/lighthouse/locales/lv.json +151 -88
- package/front_end/third_party/lighthouse/locales/nl.json +150 -87
- package/front_end/third_party/lighthouse/locales/no.json +152 -89
- package/front_end/third_party/lighthouse/locales/pl.json +150 -87
- package/front_end/third_party/lighthouse/locales/pt-PT.json +171 -108
- package/front_end/third_party/lighthouse/locales/pt.json +157 -94
- package/front_end/third_party/lighthouse/locales/ro.json +154 -91
- package/front_end/third_party/lighthouse/locales/ru.json +153 -90
- package/front_end/third_party/lighthouse/locales/sk.json +153 -90
- package/front_end/third_party/lighthouse/locales/sl.json +151 -88
- package/front_end/third_party/lighthouse/locales/sr-Latn.json +151 -88
- package/front_end/third_party/lighthouse/locales/sr.json +151 -88
- package/front_end/third_party/lighthouse/locales/sv.json +152 -89
- package/front_end/third_party/lighthouse/locales/ta.json +161 -98
- package/front_end/third_party/lighthouse/locales/te.json +152 -89
- package/front_end/third_party/lighthouse/locales/th.json +155 -92
- package/front_end/third_party/lighthouse/locales/tr.json +151 -88
- package/front_end/third_party/lighthouse/locales/uk.json +153 -90
- package/front_end/third_party/lighthouse/locales/vi.json +155 -92
- package/front_end/third_party/lighthouse/locales/zh-HK.json +152 -89
- package/front_end/third_party/lighthouse/locales/zh-TW.json +158 -95
- package/front_end/third_party/lighthouse/locales/zh.json +156 -93
- package/front_end/third_party/lighthouse/report-assets/report-generator.mjs +1 -1
- package/front_end/third_party/lit/lib/decorators.d.ts +5 -2
- package/front_end/third_party/lit/lib/decorators.js +5 -5
- package/front_end/third_party/lit/lib/decorators.js.map +1 -1
- package/front_end/third_party/lit/lib/directive.d.ts +15 -7
- package/front_end/third_party/lit/lib/directive.js.map +1 -1
- package/front_end/third_party/lit/lib/directives.d.ts +147 -7
- package/front_end/third_party/lit/lib/directives.js +9 -9
- package/front_end/third_party/lit/lib/directives.js.map +1 -1
- package/front_end/third_party/lit/lib/lit.d.ts +126 -13
- package/front_end/third_party/lit/lib/lit.js +5 -5
- package/front_end/third_party/lit/lib/lit.js.map +1 -1
- package/front_end/third_party/lit/lib/static-html.d.ts +202 -0
- package/front_end/third_party/lit/lib/static-html.js +13 -0
- package/front_end/third_party/lit/lib/static-html.js.map +1 -0
- package/front_end/third_party/lit/lit.ts +2 -1
- package/front_end/third_party/lit/package.json +2 -2
- package/front_end/third_party/lit/{rollup.config.js → rollup.config.mjs} +2 -2
- package/front_end/third_party/lit/src/static-html.ts +5 -0
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +36 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js +33 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.d.ts +14 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js +12 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +26 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js +19 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js +35 -9
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js +15 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js +13 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/HTTPRequest.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/HTTPRequest.js +4 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts +12 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js +33 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Request.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Request.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/UserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.d.ts +8 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.js +100 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js +10 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +35 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CDPSession.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CDPSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CDPSession.js +9 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CDPSession.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js +12 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.js +11 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/EmulationManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/EmulationManager.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/EmulationManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Frame.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js +24 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +21 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +11 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Cookie.d.ts +85 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Cookie.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.d.ts +30 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.js +8 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts +6 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js +22 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts +5 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +7 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts +4 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js +4 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts +50 -48
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.d.ts +14 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.js +34 -24
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts +7 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/third_party/parsel-js/parsel-js.js +11 -21
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +328 -116
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +809 -562
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +36 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js +33 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts +14 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js +12 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +26 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserConnector.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserConnector.js +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js +36 -10
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js +15 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js +14 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/HTTPRequest.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/HTTPRequest.js +4 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts +12 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js +30 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Request.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Request.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/UserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.d.ts +8 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.js +100 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js +10 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +35 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CDPSession.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CDPSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CDPSession.js +9 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CDPSession.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Connection.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Connection.js +12 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.js +11 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/EmulationManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/EmulationManager.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/EmulationManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Frame.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js +24 -12
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +20 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +11 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Cookie.d.ts +85 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Cookie.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.d.ts +30 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts +6 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts +5 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +7 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts +4 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js +4 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts +50 -48
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.d.ts +14 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.js +34 -24
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts +7 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/third_party/parsel-js/parsel-js.js +11 -21
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +328 -116
- package/front_end/third_party/puppeteer/package/package.json +8 -8
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +45 -0
- package/front_end/third_party/puppeteer/package/src/api/BrowserContext.ts +26 -0
- package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +6 -0
- package/front_end/third_party/puppeteer/package/src/api/Frame.ts +3 -1
- package/front_end/third_party/puppeteer/package/src/api/HTTPRequest.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +27 -8
- package/front_end/third_party/puppeteer/package/src/bidi/BrowserConnector.ts +4 -6
- package/front_end/third_party/puppeteer/package/src/bidi/BrowserContext.ts +57 -10
- package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +17 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +20 -3
- package/front_end/third_party/puppeteer/package/src/bidi/HTTPRequest.ts +6 -2
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +47 -5
- package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +10 -0
- package/front_end/third_party/puppeteer/package/src/bidi/core/Request.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +55 -3
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +11 -3
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +4 -5
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +44 -0
- package/front_end/third_party/puppeteer/package/src/cdp/CDPSession.ts +12 -5
- package/front_end/third_party/puppeteer/package/src/cdp/Connection.ts +15 -6
- package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +13 -1
- package/front_end/third_party/puppeteer/package/src/cdp/EmulationManager.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPRequest.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPResponse.ts +3 -5
- package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +34 -17
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +29 -13
- package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +1 -2
- package/front_end/third_party/puppeteer/package/src/common/CallbackRegistry.ts +8 -0
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +12 -6
- package/front_end/third_party/puppeteer/package/src/common/Cookie.ts +87 -4
- package/front_end/third_party/puppeteer/package/src/common/DownloadBehavior.ts +31 -0
- package/front_end/third_party/puppeteer/package/src/common/common.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +16 -12
- package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +11 -12
- package/front_end/third_party/puppeteer/package/src/node/FirefoxLauncher.ts +9 -9
- package/front_end/third_party/puppeteer/package/src/node/LaunchOptions.ts +52 -50
- package/front_end/third_party/puppeteer/package/src/node/PuppeteerNode.ts +55 -45
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +1 -0
- package/front_end/ui/components/adorners/Adorner.test.ts +2 -2
- package/front_end/ui/components/buttons/button.css +5 -5
- package/front_end/ui/components/cards/Card.test.ts +1 -1
- package/front_end/ui/components/cards/card.css +2 -2
- package/front_end/ui/components/chrome_link/ChromeLink.test.ts +2 -4
- package/front_end/ui/components/chrome_link/ChromeLink.ts +1 -1
- package/front_end/ui/components/data_grid/DataGrid.test.ts +65 -67
- package/front_end/ui/components/data_grid/DataGrid.ts +11 -16
- package/front_end/ui/components/data_grid/DataGridController.test.ts +34 -36
- package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +4 -1
- package/front_end/ui/components/data_grid/dataGrid.css +1 -1
- package/front_end/ui/components/dialogs/ButtonDialog.test.ts +76 -0
- package/front_end/ui/components/dialogs/ButtonDialog.ts +133 -0
- package/front_end/ui/components/dialogs/Dialog.test.ts +86 -46
- package/front_end/ui/components/dialogs/Dialog.ts +73 -99
- package/front_end/ui/components/dialogs/ShortcutDialog.test.ts +16 -18
- package/front_end/ui/components/dialogs/ShortcutDialog.ts +26 -97
- package/front_end/ui/components/dialogs/buttonDialog.css +9 -0
- package/front_end/ui/components/dialogs/dialog.css +21 -4
- package/front_end/ui/components/dialogs/dialogs.ts +2 -2
- package/front_end/ui/components/dialogs/shortcutDialog.css +40 -10
- package/front_end/ui/components/diff_view/DiffView.test.ts +1 -1
- package/front_end/ui/components/diff_view/diffView.css +2 -2
- package/front_end/ui/components/docs/{freestyler → ai_assistance}/basic.ts +8 -8
- package/front_end/ui/components/docs/{freestyler → ai_assistance}/empty_state.ts +5 -5
- package/front_end/ui/components/docs/building-ui-documentation/TestingComponents.md +6 -7
- package/front_end/ui/components/docs/button/basic.html +18 -34
- package/front_end/ui/components/docs/button/basic.ts +135 -371
- package/front_end/ui/components/docs/create_breadcrumbs.ts +1 -1
- package/front_end/ui/components/docs/dialog/basic.ts +71 -7
- package/front_end/ui/components/docs/{icon_dialog/basic.html → dialog/button_dialog.html} +4 -4
- package/front_end/ui/components/docs/dialog/button_dialog.ts +30 -0
- package/front_end/ui/components/docs/{shortcut_dialog/basic.html → dialog/shortcut_dialog.html} +1 -1
- package/front_end/ui/components/docs/{shortcut_dialog/basic.ts → dialog/shortcut_dialog.ts} +5 -5
- package/front_end/ui/components/docs/menu/basic.ts +0 -1
- package/front_end/ui/components/docs/performance_panel/basic.ts +1 -6
- package/front_end/ui/components/docs/performance_panel/timeline_history_manager.ts +6 -7
- package/front_end/ui/components/docs/{two_states_counter → radio_button}/basic.html +7 -11
- package/front_end/ui/components/docs/radio_button/basic.ts +50 -0
- package/front_end/ui/components/docs/recorder_control_button/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_create_recording_view/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_recording_list_view/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_recording_view/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_select_button/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_split_view/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_start_view/basic.ts +1 -1
- package/front_end/ui/components/docs/select_menu/basic.ts +3 -4
- package/front_end/ui/components/docs/slider/basic.html +20 -0
- package/front_end/ui/components/docs/slider/basic.ts +62 -0
- package/front_end/ui/components/expandable_list/ExpandableList.test.ts +4 -4
- package/front_end/ui/components/floating_button/FloatingButton.ts +3 -2
- package/front_end/ui/components/helpers/helpers.test.ts +4 -6
- package/front_end/ui/components/helpers/scheduled-render.ts +4 -3
- package/front_end/ui/components/highlighting/HighlightManager.test.ts +7 -7
- package/front_end/ui/components/icon_button/FileSourceIcon.ts +0 -1
- package/front_end/ui/components/icon_button/IconButton.test.ts +8 -8
- package/front_end/ui/components/icon_button/fileSourceIcon.css +7 -3
- package/front_end/ui/components/icon_button/icon.css +1 -1
- package/front_end/ui/components/issue_counter/IssueCounter.test.ts +10 -10
- package/front_end/ui/components/issue_counter/IssueCounter.ts +15 -2
- package/front_end/ui/components/issue_counter/IssueLinkIcon.test.ts +4 -6
- package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +2 -4
- package/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts +1 -1
- package/front_end/ui/components/linkifier/LinkifierImpl.test.ts +8 -10
- package/front_end/ui/components/linkifier/LinkifierImpl.ts +3 -5
- package/front_end/ui/components/markdown_view/MarkdownImage.test.ts +2 -4
- package/front_end/ui/components/markdown_view/MarkdownView.test.ts +9 -9
- package/front_end/ui/components/markdown_view/MarkdownView.ts +15 -0
- package/front_end/ui/components/markdown_view/markdownLink.css +0 -4
- package/front_end/ui/components/markdown_view/markdownView.css +2 -6
- package/front_end/ui/components/menus/Menu.ts +3 -22
- package/front_end/ui/components/menus/SelectMenu.test.ts +5 -7
- package/front_end/ui/components/menus/SelectMenu.ts +6 -39
- package/front_end/ui/components/menus/selectMenuButton.css +1 -1
- package/front_end/ui/components/panel_feedback/FeedbackButton.test.ts +2 -4
- package/front_end/ui/components/panel_feedback/PanelFeedback.test.ts +2 -4
- package/front_end/ui/components/panel_feedback/PreviewToggle.test.ts +5 -7
- package/front_end/ui/components/render_coordinator/render_coordinator.test.ts +53 -52
- package/front_end/ui/components/render_coordinator/render_coordinator.ts +301 -2
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.test.ts +5 -7
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +30 -27
- package/front_end/ui/components/request_link_icon/requestLinkIcon.css +3 -0
- package/front_end/ui/components/settings/SettingCheckbox.test.ts +3 -3
- package/front_end/ui/components/settings/SettingCheckbox.ts +4 -3
- package/front_end/ui/components/spinners/spinner.css +4 -4
- package/front_end/ui/components/split_view/SplitView.test.ts +6 -8
- package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +2 -4
- package/front_end/ui/components/srgb_overlay/srgbOverlay.css +2 -2
- package/front_end/ui/components/suggestion_input/SuggestionInput.ts +1 -1
- package/front_end/ui/components/suggestion_input/suggestionInput.css +1 -2
- package/front_end/ui/components/survey_link/SurveyLink.ts +1 -1
- package/front_end/ui/components/switch/SwitchImpl.test.ts +1 -1
- package/front_end/ui/components/switch/SwitchImpl.ts +4 -4
- package/front_end/ui/components/text_editor/TextEditor.test.ts +6 -6
- package/front_end/ui/components/text_editor/config.ts +22 -4
- package/front_end/ui/components/text_prompt/TextPrompt.test.ts +3 -3
- package/front_end/ui/components/tree_outline/TreeOutline.test.ts +46 -48
- package/front_end/ui/components/tree_outline/TreeOutline.ts +3 -5
- package/front_end/ui/legacy/ARIAUtils.ts +1 -5
- package/front_end/ui/legacy/Dialog.ts +2 -4
- package/front_end/ui/legacy/DockController.test.ts +2 -2
- package/front_end/ui/legacy/DropTarget.ts +1 -2
- package/front_end/ui/legacy/EmptyWidget.ts +1 -1
- package/front_end/ui/legacy/FilterBar.ts +3 -5
- package/front_end/ui/legacy/Infobar.ts +11 -7
- package/front_end/ui/legacy/InspectorView.ts +40 -0
- package/front_end/ui/legacy/ListWidget.ts +5 -3
- package/front_end/ui/legacy/ProgressIndicator.ts +2 -3
- package/front_end/ui/legacy/ReportView.ts +2 -2
- package/front_end/ui/legacy/SearchableView.ts +4 -7
- package/front_end/ui/legacy/SettingsUI.ts +2 -2
- package/front_end/ui/legacy/ShortcutRegistry.test.ts +3 -3
- package/front_end/ui/legacy/SoftDropDown.ts +0 -1
- package/front_end/ui/legacy/SplitWidget.ts +2 -2
- package/front_end/ui/legacy/SuggestBox.test.ts +5 -5
- package/front_end/ui/legacy/SuggestBox.ts +1 -2
- package/front_end/ui/legacy/TabbedPane.ts +42 -2
- package/front_end/ui/legacy/TextPrompt.ts +1 -1
- package/front_end/ui/legacy/ThrottledWidget.ts +2 -2
- package/front_end/ui/legacy/Toolbar.test.ts +2 -5
- package/front_end/ui/legacy/Toolbar.ts +14 -11
- package/front_end/ui/legacy/Treeoutline.ts +1 -2
- package/front_end/ui/legacy/UIUtils.ts +169 -134
- package/front_end/ui/legacy/ViewRegistration.test.ts +1 -1
- package/front_end/ui/legacy/Widget.test.ts +111 -4
- package/front_end/ui/legacy/Widget.ts +96 -17
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +4 -4
- package/front_end/ui/legacy/components/color_picker/Spectrum.test.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +2 -2
- package/front_end/ui/legacy/components/color_picker/spectrum.css +2 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.test.ts +7 -10
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +43 -42
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +3 -5
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +10 -17
- package/front_end/ui/legacy/components/inline_editor/CSSAngle.test.ts +3 -3
- package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +1 -0
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +2 -2
- package/front_end/ui/legacy/components/inline_editor/ColorMixSwatch.test.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/ColorSwatch.test.ts +5 -5
- package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +22 -23
- package/front_end/ui/legacy/components/inline_editor/Swatches.ts +26 -26
- package/front_end/ui/legacy/components/inline_editor/bezierSwatch.css +4 -4
- package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +1 -4
- package/front_end/ui/legacy/components/inline_editor/cssAngleSwatch.css +1 -4
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +2 -4
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +2 -5
- package/front_end/ui/legacy/components/perf_ui/BrickBreaker.ts +4 -4
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +73 -72
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.test.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +2 -2
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +203 -132
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +3 -3
- package/front_end/ui/legacy/components/perf_ui/PieChart.test.ts +6 -6
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.ts +18 -4
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +109 -50
- package/front_end/ui/legacy/components/perf_ui/filmStripView.css +1 -2
- package/front_end/ui/legacy/components/perf_ui/flameChart.css +1 -12
- package/front_end/ui/legacy/components/perf_ui/overviewGrid.css +1 -4
- package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +17 -15
- package/front_end/ui/legacy/components/perf_ui/pieChart.css +1 -1
- package/front_end/ui/legacy/components/perf_ui/timelineGrid.css +1 -4
- package/front_end/ui/legacy/components/quick_open/CommandMenu.test.ts +3 -3
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +2 -2
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +3 -1
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +1 -2
- package/front_end/ui/legacy/components/source_frame/FontView.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +2 -4
- package/front_end/ui/legacy/components/utils/ImagePreview.ts +22 -19
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +3 -4
- package/front_end/ui/legacy/components/utils/Linkifier.test.ts +4 -0
- package/front_end/ui/legacy/components/utils/jsUtils.css +8 -0
- package/front_end/ui/legacy/dropTarget.css +1 -4
- package/front_end/ui/legacy/filter.css +1 -1
- package/front_end/ui/legacy/glassPane.css +2 -4
- package/front_end/ui/legacy/inspectorCommon.css +87 -21
- package/front_end/ui/legacy/inspectorViewTabbedPane.css +0 -19
- package/front_end/ui/legacy/legacy.ts +0 -2
- package/front_end/ui/legacy/listWidget.css +4 -1
- package/front_end/ui/legacy/reportView.css +8 -2
- package/front_end/ui/legacy/rootView.css +1 -4
- package/front_end/ui/legacy/softDropDown.css +1 -2
- package/front_end/ui/legacy/tabbedPane.css +10 -18
- package/front_end/ui/legacy/textButton.css +6 -6
- package/front_end/ui/legacy/themeColors.css +50 -28
- package/front_end/ui/legacy/toolbar.css +7 -34
- package/front_end/ui/legacy/treeoutline.css +4 -2
- package/front_end/ui/lit-html/i18n-template.test.ts +53 -0
- package/front_end/ui/lit-html/i18n-template.ts +32 -0
- package/front_end/ui/lit-html/lit-html.ts +13 -14
- package/front_end/ui/visual_logging/Debugging.test.ts +0 -9
- package/front_end/ui/visual_logging/Debugging.ts +45 -12
- package/front_end/ui/visual_logging/DomState.test.ts +6 -6
- package/front_end/ui/visual_logging/KnownContextValues.ts +211 -4
- package/front_end/ui/visual_logging/LoggingDriver.test.ts +33 -8
- package/front_end/ui/visual_logging/LoggingDriver.ts +10 -8
- package/front_end/ui/visual_logging/LoggingEvents.test.ts +16 -16
- package/front_end/ui/visual_logging/LoggingEvents.ts +1 -1
- package/front_end/ui/visual_logging/visual_logging.ts +12 -1
- package/inspector_overlay/common.css +1 -4
- package/inspector_overlay/css_grid_label_helpers.test.ts +14 -15
- package/inspector_overlay/css_grid_label_helpers.ts +2 -2
- package/inspector_overlay/highlight_common.test.ts +6 -6
- package/inspector_overlay/highlight_common.ts +1 -1
- package/inspector_overlay/highlight_flex_common.test.ts +45 -45
- package/inspector_overlay/main.ts +7 -7
- package/inspector_overlay/tool_highlight.css +1 -1
- package/inspector_overlay/tool_highlight.test.ts +3 -3
- package/inspector_overlay/tool_highlight.ts +1 -1
- package/inspector_overlay/tool_window_controls.test.ts +2 -2
- package/package.json +16 -16
- package/scripts/{freestyler → ai_assistance}/README.md +11 -10
- package/scripts/{freestyler/auto_freestyler.js → ai_assistance/auto-run.js} +43 -6
- package/scripts/{freestyler → ai_assistance}/eval/index.js +1 -1
- package/scripts/ai_assistance/to_tsv.mjs +40 -0
- package/scripts/ai_assistance/types.d.ts +54 -0
- package/scripts/build/typescript/ts_library.py +3 -0
- package/scripts/build/typescript/typescript.gni +4 -1
- package/scripts/build/wasm-as.py +1 -1
- package/scripts/check_experiments.js +82 -23
- package/scripts/component_server/server.js +142 -48
- package/scripts/devtools_paths.js +25 -9
- package/scripts/eslint_rules/README.md +5 -1
- package/scripts/eslint_rules/lib/{l10n_no_locked_or_placeholder_only_phrase.js → l10n-no-locked-or-placeholder-only-phrase.js} +1 -1
- package/scripts/eslint_rules/lib/{l10n_no_uistrings_export.js → l10n-no-uistrings-export.js} +1 -1
- package/scripts/eslint_rules/lib/{l10n_no_unused_message.js → l10n-no-unused-message.js} +1 -1
- package/scripts/eslint_rules/lib/{ban_a_tags_in_lit_html.js → no-a-tags-in-lit-html.js} +0 -1
- package/scripts/eslint_rules/lib/no-assert-deep-strict-equal.js +61 -0
- package/scripts/eslint_rules/lib/no-assert-equal-boolean-null-undefined.js +125 -0
- package/scripts/eslint_rules/lib/no-assert-strict-equal-for-arrays-and-objects.js +75 -0
- package/scripts/eslint_rules/lib/no-customized-builtin-elements.js +120 -0
- package/scripts/eslint_rules/lib/{ban_imports_in_directory.js → no-imports-in-directory.js} +0 -1
- package/scripts/eslint_rules/lib/{ban_new_lit_element_components.js → no-new-lit-element-components.js} +0 -1
- package/scripts/eslint_rules/lib/{ban_style_tags_in_lit_html.js → no-style-tags-in-lit-html.js} +14 -3
- package/scripts/eslint_rules/lib/prefer-assert-instance-of.js +89 -0
- package/scripts/eslint_rules/lib/prefer-assert-is-ok.js +71 -0
- package/scripts/eslint_rules/lib/prefer-assert-length-of.js +79 -0
- package/scripts/eslint_rules/lib/{use_private_class_members.js → prefer-private-class-members.js} +4 -6
- package/scripts/eslint_rules/lib/prefer-readonly-keyword.js +57 -0
- package/scripts/eslint_rules/tests/{canvas_context_tracking_test.js → canvas-context-tracking.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_css_import_test.js → check-css-import.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_enumerated_histograms_test.js → check-enumerated-histograms.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_license_header_test.js → check-license-header.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_test_definitions_test.js → check-test-definitions.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_was_shown_methods_test.js → check-was-shown-methods.test.js} +2 -2
- package/scripts/eslint_rules/tests/{enforce_bound_render_for_schedule_render_test.js → enforce-bound-render-for-schedule-render.test.js} +2 -2
- package/scripts/eslint_rules/tests/{enforce_custom_event_names_test.js → enforce-custom-event-names.test.js} +2 -2
- package/scripts/eslint_rules/tests/{enforce_default_import_name_test.js → enforce-default-import-name.test.js} +2 -2
- package/scripts/eslint_rules/tests/{es_modules_import_test.js → es-modules-import.test.js} +2 -2
- package/scripts/eslint_rules/tests/{html_tagged_template_test.js → html-tagged-template.test.js} +2 -2
- package/scripts/eslint_rules/tests/{inject_checkbox_styles_test.js → inject-checkbox-styles.test.js} +2 -2
- package/scripts/eslint_rules/tests/{inline_type_imports_test.js → inline-type-imports.test.js} +2 -2
- package/scripts/eslint_rules/tests/{jslog_context_list_test.js → jslog-context-list.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_filename_matches_test.js → l10n-filename-matches.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_i18nString_call_only_with_uistrings_test.js → l10n-i18nString-call-only-with-uistrings.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_no_i18nString_calls_module_instantiation_test.js → l10n-no-i18nString-calls-module-instantiation.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_no_locked_or_placeholder_only_phrase_test.js → l10n-no-locked-or-placeholder-only-phrase.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_no_uistrings_export_test.js → l10n-no-uistrings-export.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_no_unused_message_test.js → l10n-no-unused-message.test.js} +2 -2
- package/scripts/eslint_rules/tests/{lit_html_host_this_test.js → lit-html-host-this.test.js} +2 -2
- package/scripts/eslint_rules/tests/{lit_html_no_attribute_quotes_test.js → lit-html-no-attribute-quotes.test.js} +2 -2
- package/scripts/eslint_rules/tests/{lit_template_result_or_nothing_test.js → lit-template-result-or-nothing.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_a_tags_in_lit_html_test.js → no-a-tags-in-lit-html.test.js} +2 -2
- package/scripts/eslint_rules/tests/no-assert-deep-strict-equal.test.js +53 -0
- package/scripts/eslint_rules/tests/no-assert-equal-boolean-null-undefined.test.js +209 -0
- package/scripts/eslint_rules/tests/{avoid_assert_equal_test.js → no-assert-equal.test.js} +2 -2
- package/scripts/eslint_rules/tests/no-assert-strict-equal-for-arrays-and-objects.test.js +89 -0
- package/scripts/eslint_rules/tests/{no_bound_component_methods_test.js → no-bound-component-methods.test.js} +2 -2
- package/scripts/eslint_rules/tests/{commented_out_console_test.js → no-commented-out-console.test.js} +2 -2
- package/scripts/eslint_rules/tests/{commented_out_import_test.js → no-commented-out-import.test.js} +2 -2
- package/scripts/eslint_rules/tests/no-customized-builtin-elements.test.js +152 -0
- package/scripts/eslint_rules/tests/{no_importing_images_from_src_test.js → no-importing-images-from-src.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_imports_in_directory_test.js → no-imports-in-directory.test.js} +2 -2
- package/scripts/eslint_rules/tests/{no_it_screenshot_only_or_repeat_test.js → no-it-screenshot-only-or-repeat.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_new_lit_element_components_test.js → no-new-lit-element-components.test.js} +2 -2
- package/scripts/eslint_rules/tests/{no_only_eslint_tests_test.js → no-only-eslint-tests.test.js} +9 -9
- package/scripts/eslint_rules/tests/{ban_screenshot_test_outside_perf_panel_test.js → no-screenshot-test-outside-perf-panel.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_self_closing_custom_element_tagnames_test.js → no-self-closing-custom-element-tagnames.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_style_tags_in_lit_html_test.js → no-style-tags-in-lit-html.test.js} +2 -2
- package/scripts/eslint_rules/tests/{no_underscored_properties_test.js → no-underscored-properties.test.js} +2 -2
- package/scripts/eslint_rules/tests/prefer-assert-instance-of.test.js +197 -0
- package/scripts/eslint_rules/tests/prefer-assert-is-ok.test.js +81 -0
- package/scripts/eslint_rules/tests/prefer-assert-length-of.test.js +145 -0
- package/scripts/eslint_rules/tests/{use_private_class_members_test.js → prefer-private-class-members.test.js} +2 -2
- package/scripts/eslint_rules/tests/{prefer_readonly_keyword_test.js → prefer-readonly-keyword.test.js} +31 -15
- package/scripts/eslint_rules/tests/{screenshot_assertion_in_it_screenshot_test.js → screenshot-assertion-in-it-screenshot.test.js} +2 -2
- package/scripts/eslint_rules/tests/{set_data_type_reference_test.js → set-data-type-reference.test.js} +2 -2
- package/scripts/eslint_rules/tests/{single_screenshot_assertion_per_test_test.js → single-screenshot-assertion-per-test.test.js} +2 -2
- package/scripts/eslint_rules/tests/{static_custom_event_names_test.js → static-custom-event-names.test.js} +2 -2
- package/scripts/eslint_rules/tests/{trace_engine_test_timeouts_test.js → trace-engine-test-timeouts.test.js} +2 -2
- package/scripts/generate_metric_compare_strings.js +1 -1
- package/scripts/stylelint_rules/lib/{use_theme_colors.js → use_theme_colors.mjs} +150 -52
- package/scripts/stylelint_rules/tests/use_theme_colors_test.js +102 -42
- package/scripts/tools/update_goldens.py +11 -13
- package/.eslintignore +0 -41
- package/.eslintrc.js +0 -315
- package/front_end/.eslintrc.js +0 -96
- package/front_end/Images/whatsnew.avif +0 -0
- package/front_end/legacy_test_runner/.eslintrc.js +0 -13
- package/front_end/models/trace/extras/URLForEntry.ts +0 -55
- package/front_end/models/trace/handlers/.eslintrc.js +0 -18
- package/front_end/models/trace/lantern/.eslintrc.js +0 -16
- package/front_end/panels/elements/ComputedStyleWidget.test.ts +0 -72
- package/front_end/panels/elements/components/AdornerSettingsPane.ts +0 -132
- package/front_end/panels/elements/components/adornerSettingsPane.css +0 -40
- package/front_end/panels/freestyler/AiAgent.test.ts +0 -285
- package/front_end/panels/freestyler/freestyler.ts +0 -15
- package/front_end/panels/recorder/injected/.eslintrc.js +0 -14
- package/front_end/panels/timeline/ExtensionDataGatherer.ts +0 -65
- package/front_end/panels/timeline/TimelineLandingPage.ts +0 -108
- package/front_end/panels/timeline/components/insights/SidebarInsight.test.ts +0 -72
- package/front_end/panels/timeline/fixtures/traces/nested-initiators.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/set-timeout-long-task.json.gz +0 -0
- package/front_end/ui/components/dialogs/IconDialog.ts +0 -160
- package/front_end/ui/components/dialogs/iconDialog.css +0 -24
- package/front_end/ui/components/docs/.eslintrc.js +0 -19
- package/front_end/ui/components/docs/icon_dialog/basic.ts +0 -46
- package/front_end/ui/components/docs/two_states_counter/basic.ts +0 -45
- package/front_end/ui/components/render_coordinator/RenderCoordinator.ts +0 -325
- package/front_end/ui/components/two_states_counter/TwoStatesCounter.test.ts +0 -73
- package/front_end/ui/components/two_states_counter/TwoStatesCounter.ts +0 -104
- package/front_end/ui/components/two_states_counter/twoStatesCounter.css +0 -37
- package/front_end/ui/components/two_states_counter/two_states_counter.ts +0 -9
- package/front_end/ui/legacy/HistoryInput.ts +0 -61
- package/front_end/ui/legacy/components/perf_ui/.eslintrc.js +0 -18
- package/front_end/ui/legacy/radioButton.css +0 -32
- package/front_end/ui/legacy/slider.css +0 -51
- package/front_end/ui/lit-html/static.test.ts +0 -153
- package/front_end/ui/lit-html/static.ts +0 -127
- package/scripts/.eslintrc.js +0 -9
- package/scripts/eslint_rules/lib/compare_arrays_with_assert_deepequal.js +0 -60
- package/scripts/eslint_rules/lib/lit_no_style_interpolation.js +0 -80
- package/scripts/eslint_rules/lib/migrate_create_shadow_root_with_styles.js +0 -110
- package/scripts/eslint_rules/lib/migrate_register_required_css.js +0 -240
- package/scripts/eslint_rules/lib/no_repeated_tests.js +0 -30
- package/scripts/eslint_rules/lib/prefer_readonly_keyword.js +0 -27
- package/scripts/eslint_rules/lib/static_tag_must_be_static_property.js +0 -71
- package/scripts/eslint_rules/tests/.eslintrc.js +0 -18
- package/scripts/eslint_rules/tests/compare_arrays_with_assert_deepequal_test.js +0 -110
- package/scripts/eslint_rules/tests/lit_no_style_interpolation_test.js +0 -60
- package/scripts/eslint_rules/tests/migrate_create_shadow_root_with_styles_test.js +0 -265
- package/scripts/eslint_rules/tests/migrate_register_required_css_test.js +0 -473
- package/scripts/eslint_rules/tests/no_repeated_tests_test.js +0 -49
- package/scripts/eslint_rules/tests/static_tag_must_be_static_property_test.js +0 -93
- /package/front_end/panels/{freestyler → ai_assistance}/ExtensionScope.ts +0 -0
- /package/front_end/ui/components/docs/{freestyler → ai_assistance}/basic.html +0 -0
- /package/front_end/ui/components/docs/{freestyler → ai_assistance}/empty_state.html +0 -0
- /package/scripts/{freestyler → ai_assistance}/eval/index.html +0 -0
- /package/scripts/eslint_rules/lib/{canvas_context_tracking.js → canvas-context-tracking.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_css_import.js → check-css-import.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_enumerated_histograms.js → check-enumerated-histograms.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_license_header.js → check-license-header.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_test_definitions.js → check-test-definitions.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_was_shown_methods.js → check-was-shown-methods.js} +0 -0
- /package/scripts/eslint_rules/lib/{enforce_bound_render_for_schedule_render.js → enforce-bound-render-for-schedule-render.js} +0 -0
- /package/scripts/eslint_rules/lib/{enforce_custom_event_names.js → enforce-custom-event-names.js} +0 -0
- /package/scripts/eslint_rules/lib/{enforce_default_import_name.js → enforce-default-import-name.js} +0 -0
- /package/scripts/eslint_rules/lib/{es_modules_import.js → es-modules-import.js} +0 -0
- /package/scripts/eslint_rules/lib/{html_tagged_template.js → html-tagged-template.js} +0 -0
- /package/scripts/eslint_rules/lib/{inject_checkbox_styles.js → inject-checkbox-styles.js} +0 -0
- /package/scripts/eslint_rules/lib/{inline_type_imports.js → inline-type-imports.js} +0 -0
- /package/scripts/eslint_rules/lib/{jslog_context_list.js → jslog-context-list.js} +0 -0
- /package/scripts/eslint_rules/lib/{l10n_filename_matches.js → l10n-filename-matches.js} +0 -0
- /package/scripts/eslint_rules/lib/{l10n_helper.js → l10n-helper.js} +0 -0
- /package/scripts/eslint_rules/lib/{l10n_i18nString_call_only_with_uistrings.js → l10n-i18nString-call-only-with-uistrings.js} +0 -0
- /package/scripts/eslint_rules/lib/{l10n_no_i18nString_calls_module_instantiation.js → l10n-no-i18nString-calls-module-instantiation.js} +0 -0
- /package/scripts/eslint_rules/lib/{lit_html_host_this.js → lit-html-host-this.js} +0 -0
- /package/scripts/eslint_rules/lib/{lit_html_no_attribute_quotes.js → lit-html-no-attribute-quotes.js} +0 -0
- /package/scripts/eslint_rules/lib/{lit_template_result_or_nothing.js → lit-template-result-or-nothing.js} +0 -0
- /package/scripts/eslint_rules/lib/{avoid_assert_equal.js → no-assert-equal.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_bound_component_methods.js → no-bound-component-methods.js} +0 -0
- /package/scripts/eslint_rules/lib/{commented_out_console.js → no-commented-out-console.js} +0 -0
- /package/scripts/eslint_rules/lib/{commented_out_import.js → no-commented-out-import.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_importing_images_from_src.js → no-importing-images-from-src.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_it_screenshot_only_or_repeat.js → no-it-screenshot-only-or-repeat.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_only_eslint_tests.js → no-only-eslint-tests.js} +0 -0
- /package/scripts/eslint_rules/lib/{ban_screenshot_test_outside_perf_panel.js → no-screenshot-test-outside-perf-panel.js} +0 -0
- /package/scripts/eslint_rules/lib/{ban_self_closing_custom_element_tagnames.js → no-self-closing-custom-element-tagnames.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_underscored_properties.js → no-underscored-properties.js} +0 -0
- /package/scripts/eslint_rules/lib/{screenshot_assertion_in_it_screenshot.js → screenshot-assertion-in-it-screenshot.js} +0 -0
- /package/scripts/eslint_rules/lib/{set_data_type_reference.js → set-data-type-reference.js} +0 -0
- /package/scripts/eslint_rules/lib/{single_screenshot_assertion_per_test.js → single-screenshot-assertion-per-test.js} +0 -0
- /package/scripts/eslint_rules/lib/{static_custom_event_names.js → static-custom-event-names.js} +0 -0
- /package/scripts/eslint_rules/lib/{trace_engine_test_timeouts.js → trace-engine-test-timeouts.js} +0 -0
- /package/scripts/eslint_rules/tests/{enforce-optional-properties-last_test.js → enforce-optional-properties-last.test.js} +0 -0
- /package/scripts/eslint_rules/tests/{utils_test.js → utils.test.js} +0 -0
@@ -35,7 +35,7 @@
|
|
35
35
|
ReportGenerator: () => ReportGenerator
|
36
36
|
});
|
37
37
|
|
38
|
-
// replace-modules:/Users/asraine/lighthouse/report/generator/flow-report-assets.js
|
38
|
+
// replace-modules:/Users/asraine/lighthouse-pristine/report/generator/flow-report-assets.js
|
39
39
|
var flowReportAssets = {};
|
40
40
|
|
41
41
|
// report/generator/report-assets.js
|
@@ -110,6 +110,11 @@ interface ReactiveController {
|
|
110
110
|
* Copyright 2017 Google LLC
|
111
111
|
* SPDX-License-Identifier: BSD-3-Clause
|
112
112
|
*/
|
113
|
+
/**
|
114
|
+
* Use this module if you want to create your own base class extending
|
115
|
+
* {@link ReactiveElement}.
|
116
|
+
* @packageDocumentation
|
117
|
+
*/
|
113
118
|
|
114
119
|
/**
|
115
120
|
* Converts property values to and from attribute values.
|
@@ -658,8 +663,6 @@ declare abstract class ReactiveElement extends HTMLElement implements ReactiveCo
|
|
658
663
|
* @param oldValue old value of requesting property
|
659
664
|
* @param options property options to use instead of the previously
|
660
665
|
* configured options
|
661
|
-
* @param initial whether this call is for the initial value of the property.
|
662
|
-
* Initial values do not reflect to an attribute.
|
663
666
|
* @category updates
|
664
667
|
*/
|
665
668
|
requestUpdate(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration): void;
|
@@ -3,26 +3,26 @@
|
|
3
3
|
* Copyright 2019 Google LLC
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
5
5
|
*/
|
6
|
-
const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),i=new WeakMap;
|
6
|
+
const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),i=new WeakMap;let r=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=i.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(s,t))}return t}toString(){return this.cssText}};const o=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new r("string"==typeof t?t:t+"",void 0,s))(e)})(t):t
|
7
7
|
/**
|
8
8
|
* @license
|
9
9
|
* Copyright 2017 Google LLC
|
10
10
|
* SPDX-License-Identifier: BSD-3-Clause
|
11
|
-
*/,{is:n,defineProperty:a,getOwnPropertyDescriptor:h,getOwnPropertyNames:c,getOwnPropertySymbols:l,getPrototypeOf:
|
11
|
+
*/,{is:n,defineProperty:a,getOwnPropertyDescriptor:h,getOwnPropertyNames:c,getOwnPropertySymbols:l,getPrototypeOf:d}=Object,p=globalThis,u=p.trustedTypes,f=u?u.emptyScript:"",y=p.reactiveElementPolyfillSupport,m=(t,e)=>t,E={toAttribute(t,e){switch(e){case Boolean:t=t?f:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},_=(t,e)=>!n(t,e),S={attribute:!0,type:String,converter:E,reflect:!1,hasChanged:_};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;class $ extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&a(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:r}=h(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const o=i?.call(this);r.call(this,e),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...c(t),...l(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(o(t))}else void 0!==t&&e.push(o(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const s=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((s,i)=>{if(e)s.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of i){const i=document.createElement("style"),r=t.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=e.cssText,s.appendChild(i)}})(s,this.constructor.elementStyles),s}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const r=(void 0!==s.converter?.toAttribute?s.converter:E).toAttribute(e,s.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:E;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??_)(this[t],e))return;this.P(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),!0===s.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t)!0!==s.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],s)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[m("elementProperties")]=new Map,$[m("finalized")]=new Map,y?.({ReactiveElement:$}),(p.reactiveElementVersions??=[]).push("2.0.4");
|
12
12
|
/**
|
13
13
|
* @license
|
14
14
|
* Copyright 2017 Google LLC
|
15
15
|
* SPDX-License-Identifier: BSD-3-Clause
|
16
16
|
*/
|
17
|
-
const g={attribute:!0,type:String,converter:
|
17
|
+
const g={attribute:!0,type:String,converter:E,reflect:!1,hasChanged:_},P=(t=g,e,s)=>{const{kind:i,metadata:r}=s;let o=globalThis.litPropertyMetadata.get(r);if(void 0===o&&globalThis.litPropertyMetadata.set(r,o=new Map),o.set(s.name,t),"accessor"===i){const{name:i}=s;return{set(s){const r=e.get.call(this);e.set.call(this,s),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.P(i,void 0,t),e}}}if("setter"===i){const{name:i}=s;return function(s){const r=this[i];e.call(this,s),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function b(t){return(e,s)=>"object"==typeof s?P(t,e,s):((t,e,s)=>{const i=e.hasOwnProperty(s);return e.constructor.createProperty(s,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)
|
18
18
|
/**
|
19
19
|
* @license
|
20
20
|
* Copyright 2017 Google LLC
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
22
|
-
*/}function v(t){return
|
22
|
+
*/}function v(t){return b({...t,state:!0,attribute:!1})}
|
23
23
|
/**
|
24
24
|
* @license
|
25
25
|
* Copyright 2017 Google LLC
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
27
|
-
*/const w=t=>(e,s)=>{void 0!==s?s.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};export{w as customElement,
|
27
|
+
*/const w=t=>(e,s)=>{void 0!==s?s.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};export{w as customElement,b as property,P as standardProperty,v as state};
|
28
28
|
//# sourceMappingURL=decorators.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decorators.js","sources":["../node_modules/@lit/reactive-element/css-tag.js","../node_modules/@lit/reactive-element/reactive-element.js","../node_modules/@lit/reactive-element/decorators/property.js","../node_modules/@lit/reactive-element/decorators/state.js","../node_modules/@lit/reactive-element/decorators/custom-element.js"],"sourcesContent":["/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$ES??=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$ES?.splice(this._$ES.indexOf(t)>>>0,1)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$ES?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$ES?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EO(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i,e=!1,r){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(e?r:this[t],s))return;this.C(t,s,i)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.C(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$ES?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$ET()}catch(s){throw t=!1,this._$ET(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$ES?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.1\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.C(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};export{t as customElement};\n//# sourceMappingURL=custom-element.js.map\n"],"names":["t","globalThis","e","ShadowRoot","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","s","Symbol","o","WeakMap","n","constructor","this","_$cssResult$","Error","cssText","styleSheet","length","get","replaceSync","set","toString","c","cssRules","r","is","i","defineProperty","getOwnPropertyDescriptor","getOwnPropertyNames","h","getOwnPropertySymbols","getPrototypeOf","Object","a","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","d","u","toAttribute","Boolean","Array","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b","HTMLElement","addInitializer","_$Ei","push","observedAttributes","finalize","_$Eh","keys","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","styles","isArray","Set","flat","reverse","unshift","toLowerCase","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$Eg","Promise","enableUpdating","_$AL","_$E_","forEach","addController","_$ES","renderRoot","isConnected","hostConnected","removeController","splice","indexOf","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","adoptedStyleSheets","map","document","createElement","litNonce","setAttribute","textContent","appendChild","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$EO","removeAttribute","C","_$EP","has","_$Ej","add","reject","scheduleUpdate","performUpdate","wrapped","shouldUpdate","willUpdate","hostUpdate","update","_$ET","_$AE","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","name","init","customElements","define"],"mappings":";;;;;AAKA,MAAMA,EAAEC,WAAWC,EAAEF,EAAEG,kBAAa,IAASH,EAAEI,UAAUJ,EAAEI,SAASC,eAAe,uBAAuBC,SAASC,WAAW,YAAYC,cAAcD,UAAUE,EAAEC,SAASC,EAAE,IAAIC,QAAQ,MAAMC,EAAE,WAAAC,CAAYd,EAAEE,EAAES,GAAG,GAAGI,KAAKC,cAAa,EAAGL,IAAIF,EAAE,MAAMQ,MAAM,qEAAqEF,KAAKG,QAAQlB,EAAEe,KAAKf,EAAEE,CAAC,CAAC,cAAIiB,GAAa,IAAInB,EAAEe,KAAKJ,EAAE,MAAMF,EAAEM,KAAKf,EAAE,GAAGE,QAAG,IAASF,EAAE,CAAC,MAAME,OAAE,IAASO,GAAG,IAAIA,EAAEW,OAAOlB,IAAIF,EAAEW,EAAEU,IAAIZ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AES,UAAK,IAASA,EAAEA,EAAEsD,qBAAqBiG,eAAeC,OAAOnK,EAAEE,EAAG,IAAGgK,eAAeC,OAAOnK,EAAEE"}
|
1
|
+
{"version":3,"file":"decorators.js","sources":["../node_modules/@lit/reactive-element/css-tag.js","../node_modules/@lit/reactive-element/reactive-element.js","../node_modules/@lit/reactive-element/decorators/property.js","../node_modules/@lit/reactive-element/decorators/state.js","../node_modules/@lit/reactive-element/decorators/custom-element.js"],"sourcesContent":["/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};export{t as customElement};\n//# sourceMappingURL=custom-element.js.map\n"],"names":["t","globalThis","e","ShadowRoot","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","s","Symbol","o","WeakMap","n$2","constructor","this","_$cssResult$","Error","cssText","styleSheet","length","get","replaceSync","set","toString","c","cssRules","n","r","is","i","defineProperty","getOwnPropertyDescriptor","getOwnPropertyNames","h","getOwnPropertySymbols","getPrototypeOf","Object","a","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","d","u","toAttribute","Boolean","Array","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b","HTMLElement","addInitializer","_$Ei","push","observedAttributes","finalize","_$Eh","keys","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","styles","isArray","Set","flat","reverse","unshift","toLowerCase","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","addController","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","adoptedStyleSheets","map","document","createElement","litNonce","setAttribute","textContent","appendChild","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$EC","removeAttribute","P","_$ET","has","_$Ej","reject","scheduleUpdate","performUpdate","wrapped","shouldUpdate","willUpdate","hostUpdate","update","_$EU","_$AE","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","name","init","customElements","define"],"mappings":";;;;;AAKA,MAAMA,EAAEC,WAAWC,EAAEF,EAAEG,kBAAa,IAASH,EAAEI,UAAUJ,EAAEI,SAASC,eAAe,uBAAuBC,SAASC,WAAW,YAAYC,cAAcD,UAAUE,EAAEC,SAASC,EAAE,IAAIC,QAAO,IAAAC,EAAC,MAAQ,WAAAC,CAAYd,EAAEE,EAAES,GAAG,GAAGI,KAAKC,cAAa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D,EAAEiB,EAAE,IAAI5B,EAAEgJ,SAAQ,GAAIhJ,GAAG4B,EAAES,OAAOL,yBAAyB9B,EAAES,QAAG,CAAO,EAAlJ,CAAoJX,EAAEE,EAAES;;;;;GAAE,CCApwB,SAASiB,EAAEA,GAAG,OAAO5B,EAAE,IAAI4B,EAAE8C,OAAM,EAAGlB,WAAU,GAAI;;;;;GCAlD,MAACxD,EAAEA,GAAG,CAACE,EAAES,UAAK,IAASA,EAAEA,EAAEuD,gBAAc,KAAOgG,eAAeC,OAAOnK,EAAEE,EAAG,IAAGgK,eAAeC,OAAOnK,EAAEE,EAAE","x_google_ignoreList":[0,1,2,3,4]}
|
@@ -1,4 +1,8 @@
|
|
1
|
-
|
1
|
+
declare class TrustedHTML {
|
2
|
+
private constructor(); // To prevent instantiting with 'new'.
|
3
|
+
private brand: true; // To prevent structural typing.
|
4
|
+
}
|
5
|
+
|
2
6
|
/**
|
3
7
|
* @license
|
4
8
|
* Copyright 2017 Google LLC
|
@@ -20,14 +24,18 @@ type ValueSanitizer = (value: unknown) => unknown;
|
|
20
24
|
/** TemplateResult types */
|
21
25
|
declare const HTML_RESULT = 1;
|
22
26
|
declare const SVG_RESULT = 2;
|
23
|
-
|
27
|
+
declare const MATHML_RESULT = 3;
|
28
|
+
type ResultType = typeof HTML_RESULT | typeof SVG_RESULT | typeof MATHML_RESULT;
|
24
29
|
declare const ATTRIBUTE_PART = 1;
|
25
30
|
declare const CHILD_PART = 2;
|
31
|
+
declare const PROPERTY_PART = 3;
|
32
|
+
declare const BOOLEAN_ATTRIBUTE_PART = 4;
|
33
|
+
declare const EVENT_PART = 5;
|
26
34
|
declare const ELEMENT_PART = 6;
|
27
35
|
declare const COMMENT_PART = 7;
|
28
36
|
/**
|
29
37
|
* The return type of the template tag functions, {@linkcode html} and
|
30
|
-
* {@linkcode svg}.
|
38
|
+
* {@linkcode svg} when it hasn't been compiled by @lit-labs/compiler.
|
31
39
|
*
|
32
40
|
* A `TemplateResult` object holds all the information about a template
|
33
41
|
* expression required to render it: the template strings, expression values,
|
@@ -38,7 +46,7 @@ declare const COMMENT_PART = 7;
|
|
38
46
|
* [Rendering](https://lit.dev/docs/components/rendering) for more information.
|
39
47
|
*
|
40
48
|
*/
|
41
|
-
type
|
49
|
+
type UncompiledTemplateResult<T extends ResultType = ResultType> = {
|
42
50
|
['_$litType$']: T;
|
43
51
|
strings: TemplateStringsArray;
|
44
52
|
values: unknown[];
|
@@ -87,7 +95,7 @@ interface DirectiveParent {
|
|
87
95
|
}
|
88
96
|
declare class Template {
|
89
97
|
parts: Array<TemplatePart>;
|
90
|
-
constructor({ strings, ['_$litType$']: type }:
|
98
|
+
constructor({ strings, ['_$litType$']: type }: UncompiledTemplateResult, options?: RenderOptions);
|
91
99
|
/** @nocollapse */
|
92
100
|
static createElement(html: TrustedHTML, _options?: RenderOptions): HTMLTemplateElement;
|
93
101
|
}
|
@@ -180,7 +188,7 @@ declare class ChildPart implements Disconnectable {
|
|
180
188
|
private _commitIterable;
|
181
189
|
}
|
182
190
|
declare class AttributePart implements Disconnectable {
|
183
|
-
readonly type:
|
191
|
+
readonly type: typeof ATTRIBUTE_PART | typeof PROPERTY_PART | typeof BOOLEAN_ATTRIBUTE_PART | typeof EVENT_PART;
|
184
192
|
readonly element: HTMLElement;
|
185
193
|
readonly name: string;
|
186
194
|
readonly options: RenderOptions | undefined;
|
@@ -272,7 +280,7 @@ type PartInfo = ChildPartInfo | AttributePartInfo | ElementPartInfo;
|
|
272
280
|
* Creates a user-facing directive function from a Directive class. This
|
273
281
|
* function has the same parameters as the directive's render() method.
|
274
282
|
*/
|
275
|
-
declare const directive: <C extends DirectiveClass>(c: C) => (...values:
|
283
|
+
declare const directive: <C extends DirectiveClass>(c: C) => (...values: DirectiveParameters<InstanceType<C>>) => DirectiveResult<C>;
|
276
284
|
/**
|
277
285
|
* Base class for creating custom directives. Users should extend this class,
|
278
286
|
* implement `render` and/or `update`, and then pass their subclass to
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"directive.js","sources":["../node_modules/lit-html/directive.js"],"sourcesContent":["/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n"],"names":["t","ATTRIBUTE","CHILD","PROPERTY","BOOLEAN_ATTRIBUTE","EVENT","ELEMENT","e","_$litDirective$","values","i","constructor","_$AU","this","_$AM","_$AT","_$Ct","_$Ci","_$AS","update","render"],"mappings":";;;;;AAKK,MAACA,EAAE,CAACC,UAAU,EAAEC,MAAM,EAAEC,SAAS,EAAEC,kBAAkB,EAAEC,MAAM,EAAEC,QAAQ,GAAGC,EAAEP,GAAG,IAAIO,
|
1
|
+
{"version":3,"file":"directive.js","sources":["../node_modules/lit-html/directive.js"],"sourcesContent":["/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n"],"names":["t","ATTRIBUTE","CHILD","PROPERTY","BOOLEAN_ATTRIBUTE","EVENT","ELEMENT","e","_$litDirective$","values","i","constructor","_$AU","this","_$AM","_$AT","_$Ct","_$Ci","_$AS","update","render"],"mappings":";;;;;AAKK,MAACA,EAAE,CAACC,UAAU,EAAEC,MAAM,EAAEC,SAAS,EAAEC,kBAAkB,EAAEC,MAAM,EAAEC,QAAQ,GAAGC,EAAEP,GAAG,IAAIO,KAAC,CAAKC,gBAAgBR,EAAES,OAAOF,IAAI,MAAMG,EAAE,WAAAC,CAAYX,GAAE,CAAE,QAAIY,GAAO,OAAOC,KAAKC,KAAKF,IAAI,CAAC,IAAAG,CAAKf,EAAEO,EAAEG,GAAGG,KAAKG,KAAKhB,EAAEa,KAAKC,KAAKP,EAAEM,KAAKI,KAAKP,CAAC,CAAC,IAAAQ,CAAKlB,EAAEO,GAAG,OAAOM,KAAKM,OAAOnB,EAAEO,EAAE,CAAC,MAAAY,CAAOnB,EAAEO,GAAG,OAAOM,KAAKO,UAAUb,EAAE","x_google_ignoreList":[0]}
|
@@ -1,4 +1,8 @@
|
|
1
|
-
|
1
|
+
declare class TrustedHTML {
|
2
|
+
private constructor(); // To prevent instantiting with 'new'.
|
3
|
+
private brand: true; // To prevent structural typing.
|
4
|
+
}
|
5
|
+
|
2
6
|
/**
|
3
7
|
* @license
|
4
8
|
* Copyright 2017 Google LLC
|
@@ -20,14 +24,18 @@ type ValueSanitizer = (value: unknown) => unknown;
|
|
20
24
|
/** TemplateResult types */
|
21
25
|
declare const HTML_RESULT = 1;
|
22
26
|
declare const SVG_RESULT = 2;
|
23
|
-
|
27
|
+
declare const MATHML_RESULT = 3;
|
28
|
+
type ResultType = typeof HTML_RESULT | typeof SVG_RESULT | typeof MATHML_RESULT;
|
24
29
|
declare const ATTRIBUTE_PART = 1;
|
25
30
|
declare const CHILD_PART = 2;
|
31
|
+
declare const PROPERTY_PART = 3;
|
32
|
+
declare const BOOLEAN_ATTRIBUTE_PART = 4;
|
33
|
+
declare const EVENT_PART = 5;
|
26
34
|
declare const ELEMENT_PART = 6;
|
27
35
|
declare const COMMENT_PART = 7;
|
28
36
|
/**
|
29
37
|
* The return type of the template tag functions, {@linkcode html} and
|
30
|
-
* {@linkcode svg}.
|
38
|
+
* {@linkcode svg} when it hasn't been compiled by @lit-labs/compiler.
|
31
39
|
*
|
32
40
|
* A `TemplateResult` object holds all the information about a template
|
33
41
|
* expression required to render it: the template strings, expression values,
|
@@ -38,11 +46,30 @@ declare const COMMENT_PART = 7;
|
|
38
46
|
* [Rendering](https://lit.dev/docs/components/rendering) for more information.
|
39
47
|
*
|
40
48
|
*/
|
41
|
-
type
|
49
|
+
type UncompiledTemplateResult<T extends ResultType = ResultType> = {
|
42
50
|
['_$litType$']: T;
|
43
51
|
strings: TemplateStringsArray;
|
44
52
|
values: unknown[];
|
45
53
|
};
|
54
|
+
/**
|
55
|
+
* The return type of the template tag functions, {@linkcode html} and
|
56
|
+
* {@linkcode svg}.
|
57
|
+
*
|
58
|
+
* A `TemplateResult` object holds all the information about a template
|
59
|
+
* expression required to render it: the template strings, expression values,
|
60
|
+
* and type of template (html or svg).
|
61
|
+
*
|
62
|
+
* `TemplateResult` objects do not create any DOM on their own. To create or
|
63
|
+
* update DOM you need to render the `TemplateResult`. See
|
64
|
+
* [Rendering](https://lit.dev/docs/components/rendering) for more information.
|
65
|
+
*
|
66
|
+
* In Lit 4, this type will be an alias of
|
67
|
+
* MaybeCompiledTemplateResult, so that code will get type errors if it assumes
|
68
|
+
* that Lit templates are not compiled. When deliberately working with only
|
69
|
+
* one, use either {@linkcode CompiledTemplateResult} or
|
70
|
+
* {@linkcode UncompiledTemplateResult} explicitly.
|
71
|
+
*/
|
72
|
+
type TemplateResult<T extends ResultType = ResultType> = UncompiledTemplateResult<T>;
|
46
73
|
/**
|
47
74
|
* A sentinel value that signals that a value was handled by a directive and
|
48
75
|
* should not be written to the DOM.
|
@@ -112,7 +139,7 @@ interface DirectiveParent {
|
|
112
139
|
}
|
113
140
|
declare class Template {
|
114
141
|
parts: Array<TemplatePart>;
|
115
|
-
constructor({ strings, ['_$litType$']: type }:
|
142
|
+
constructor({ strings, ['_$litType$']: type }: UncompiledTemplateResult, options?: RenderOptions);
|
116
143
|
/** @nocollapse */
|
117
144
|
static createElement(html: TrustedHTML, _options?: RenderOptions): HTMLTemplateElement;
|
118
145
|
}
|
@@ -205,7 +232,7 @@ declare class ChildPart implements Disconnectable {
|
|
205
232
|
private _commitIterable;
|
206
233
|
}
|
207
234
|
declare class AttributePart implements Disconnectable {
|
208
|
-
readonly type:
|
235
|
+
readonly type: typeof ATTRIBUTE_PART | typeof PROPERTY_PART | typeof BOOLEAN_ATTRIBUTE_PART | typeof EVENT_PART;
|
209
236
|
readonly element: HTMLElement;
|
210
237
|
readonly name: string;
|
211
238
|
readonly options: RenderOptions | undefined;
|
@@ -328,7 +355,7 @@ declare class ClassMapDirective extends Directive {
|
|
328
355
|
* This must be used in the `class` attribute and must be the only part used in
|
329
356
|
* the attribute. It takes each property in the `classInfo` argument and adds
|
330
357
|
* the property name to the element's `classList` if the property value is
|
331
|
-
* truthy; if the property value is
|
358
|
+
* truthy; if the property value is falsy, the property name is removed from
|
332
359
|
* the element's `class`.
|
333
360
|
*
|
334
361
|
* For example `{foo: bar}` applies the class `foo` if the value of `bar` is
|
@@ -504,6 +531,119 @@ declare const unsafeHTML: (value: string | typeof noChange | typeof nothing | nu
|
|
504
531
|
* Copyright 2017 Google LLC
|
505
532
|
* SPDX-License-Identifier: BSD-3-Clause
|
506
533
|
*/
|
534
|
+
/**
|
535
|
+
* Overview:
|
536
|
+
*
|
537
|
+
* This module is designed to add support for an async `setValue` API and
|
538
|
+
* `disconnected` callback to directives with the least impact on the core
|
539
|
+
* runtime or payload when that feature is not used.
|
540
|
+
*
|
541
|
+
* The strategy is to introduce a `AsyncDirective` subclass of
|
542
|
+
* `Directive` that climbs the "parent" tree in its constructor to note which
|
543
|
+
* branches of lit-html's "logical tree" of data structures contain such
|
544
|
+
* directives and thus need to be crawled when a subtree is being cleared (or
|
545
|
+
* manually disconnected) in order to run the `disconnected` callback.
|
546
|
+
*
|
547
|
+
* The "nodes" of the logical tree include Parts, TemplateInstances (for when a
|
548
|
+
* TemplateResult is committed to a value of a ChildPart), and Directives; these
|
549
|
+
* all implement a common interface called `DisconnectableChild`. Each has a
|
550
|
+
* `_$parent` reference which is set during construction in the core code, and a
|
551
|
+
* `_$disconnectableChildren` field which is initially undefined.
|
552
|
+
*
|
553
|
+
* The sparse tree created by means of the `AsyncDirective` constructor
|
554
|
+
* crawling up the `_$parent` tree and placing a `_$disconnectableChildren` Set
|
555
|
+
* on each parent that includes each child that contains a
|
556
|
+
* `AsyncDirective` directly or transitively via its children. In order to
|
557
|
+
* notify connection state changes and disconnect (or reconnect) a tree, the
|
558
|
+
* `_$notifyConnectionChanged` API is patched onto ChildParts as a directive
|
559
|
+
* climbs the parent tree, which is called by the core when clearing a part if
|
560
|
+
* it exists. When called, that method iterates over the sparse tree of
|
561
|
+
* Set<DisconnectableChildren> built up by AsyncDirectives, and calls
|
562
|
+
* `_$notifyDirectiveConnectionChanged` on any directives that are encountered
|
563
|
+
* in that tree, running the required callbacks.
|
564
|
+
*
|
565
|
+
* A given "logical tree" of lit-html data-structures might look like this:
|
566
|
+
*
|
567
|
+
* ChildPart(N1) _$dC=[D2,T3]
|
568
|
+
* ._directive
|
569
|
+
* AsyncDirective(D2)
|
570
|
+
* ._value // user value was TemplateResult
|
571
|
+
* TemplateInstance(T3) _$dC=[A4,A6,N10,N12]
|
572
|
+
* ._$parts[]
|
573
|
+
* AttributePart(A4) _$dC=[D5]
|
574
|
+
* ._directives[]
|
575
|
+
* AsyncDirective(D5)
|
576
|
+
* AttributePart(A6) _$dC=[D7,D8]
|
577
|
+
* ._directives[]
|
578
|
+
* AsyncDirective(D7)
|
579
|
+
* Directive(D8) _$dC=[D9]
|
580
|
+
* ._directive
|
581
|
+
* AsyncDirective(D9)
|
582
|
+
* ChildPart(N10) _$dC=[D11]
|
583
|
+
* ._directive
|
584
|
+
* AsyncDirective(D11)
|
585
|
+
* ._value
|
586
|
+
* string
|
587
|
+
* ChildPart(N12) _$dC=[D13,N14,N16]
|
588
|
+
* ._directive
|
589
|
+
* AsyncDirective(D13)
|
590
|
+
* ._value // user value was iterable
|
591
|
+
* Array<ChildPart>
|
592
|
+
* ChildPart(N14) _$dC=[D15]
|
593
|
+
* ._value
|
594
|
+
* string
|
595
|
+
* ChildPart(N16) _$dC=[D17,T18]
|
596
|
+
* ._directive
|
597
|
+
* AsyncDirective(D17)
|
598
|
+
* ._value // user value was TemplateResult
|
599
|
+
* TemplateInstance(T18) _$dC=[A19,A21,N25]
|
600
|
+
* ._$parts[]
|
601
|
+
* AttributePart(A19) _$dC=[D20]
|
602
|
+
* ._directives[]
|
603
|
+
* AsyncDirective(D20)
|
604
|
+
* AttributePart(A21) _$dC=[22,23]
|
605
|
+
* ._directives[]
|
606
|
+
* AsyncDirective(D22)
|
607
|
+
* Directive(D23) _$dC=[D24]
|
608
|
+
* ._directive
|
609
|
+
* AsyncDirective(D24)
|
610
|
+
* ChildPart(N25) _$dC=[D26]
|
611
|
+
* ._directive
|
612
|
+
* AsyncDirective(D26)
|
613
|
+
* ._value
|
614
|
+
* string
|
615
|
+
*
|
616
|
+
* Example 1: The directive in ChildPart(N12) updates and returns `nothing`. The
|
617
|
+
* ChildPart will _clear() itself, and so we need to disconnect the "value" of
|
618
|
+
* the ChildPart (but not its directive). In this case, when `_clear()` calls
|
619
|
+
* `_$notifyConnectionChanged()`, we don't iterate all of the
|
620
|
+
* _$disconnectableChildren, rather we do a value-specific disconnection: i.e.
|
621
|
+
* since the _value was an Array<ChildPart> (because an iterable had been
|
622
|
+
* committed), we iterate the array of ChildParts (N14, N16) and run
|
623
|
+
* `setConnected` on them (which does recurse down the full tree of
|
624
|
+
* `_$disconnectableChildren` below it, and also removes N14 and N16 from N12's
|
625
|
+
* `_$disconnectableChildren`). Once the values have been disconnected, we then
|
626
|
+
* check whether the ChildPart(N12)'s list of `_$disconnectableChildren` is empty
|
627
|
+
* (and would remove it from its parent TemplateInstance(T3) if so), but since
|
628
|
+
* it would still contain its directive D13, it stays in the disconnectable
|
629
|
+
* tree.
|
630
|
+
*
|
631
|
+
* Example 2: In the course of Example 1, `setConnected` will reach
|
632
|
+
* ChildPart(N16); in this case the entire part is being disconnected, so we
|
633
|
+
* simply iterate all of N16's `_$disconnectableChildren` (D17,T18) and
|
634
|
+
* recursively run `setConnected` on them. Note that we only remove children
|
635
|
+
* from `_$disconnectableChildren` for the top-level values being disconnected
|
636
|
+
* on a clear; doing this bookkeeping lower in the tree is wasteful since it's
|
637
|
+
* all being thrown away.
|
638
|
+
*
|
639
|
+
* Example 3: If the LitElement containing the entire tree above becomes
|
640
|
+
* disconnected, it will run `childPart.setConnected()` (which calls
|
641
|
+
* `childPart._$notifyConnectionChanged()` if it exists); in this case, we
|
642
|
+
* recursively run `setConnected()` over the entire tree, without removing any
|
643
|
+
* children from `_$disconnectableChildren`, since this tree is required to
|
644
|
+
* re-connect the tree, which does the same operation, simply passing
|
645
|
+
* `isConnected: true` down the tree, signaling which callback to run.
|
646
|
+
*/
|
507
647
|
|
508
648
|
/**
|
509
649
|
* An abstract `Directive` base class whose `disconnected` method will be
|
@@ -3,23 +3,23 @@
|
|
3
3
|
* Copyright 2017 Google LLC
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
5
5
|
*/
|
6
|
-
const t=globalThis,e=t.trustedTypes,s=e?e.createPolicy("lit-html",{createHTML:t=>t}):void 0,i="$lit$",n=`lit$${
|
6
|
+
const t=globalThis,e=t.trustedTypes,s=e?e.createPolicy("lit-html",{createHTML:t=>t}):void 0,i="$lit$",n=`lit$${Math.random().toFixed(9).slice(2)}$`,r="?"+n,o=`<${r}>`,h=document,l=()=>h.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,d=t=>a(t)||"function"==typeof t?.[Symbol.iterator],$="[ \t\n\f\r]",u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,A=/>/g,f=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,v=/"/g,g=/^(?:script|style|textarea|title)$/i,y=Symbol.for("lit-noChange"),m=Symbol.for("lit-nothing"),b=new WeakMap,x=h.createTreeWalker(h,129);function C(t,e){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(e):e}const w=(t,e)=>{const s=t.length-1,r=[];let h,l=2===e?"<svg>":3===e?"<math>":"",c=u;for(let e=0;e<s;e++){const s=t[e];let a,d,$=-1,y=0;for(;y<s.length&&(c.lastIndex=y,d=c.exec(s),null!==d);)y=c.lastIndex,c===u?"!--"===d[1]?c=_:void 0!==d[1]?c=A:void 0!==d[2]?(g.test(d[2])&&(h=RegExp("</"+d[2],"g")),c=f):void 0!==d[3]&&(c=f):c===f?">"===d[0]?(c=h??u,$=-1):void 0===d[1]?$=-2:($=c.lastIndex-d[2].length,a=d[1],c=void 0===d[3]?f:'"'===d[3]?v:p):c===v||c===p?c=f:c===_||c===A?c=u:(c=f,h=void 0);const m=c===f&&t[e+1].startsWith("/>")?" ":"";l+=c===u?s+o:$>=0?(r.push(a),s.slice(0,$)+i+s.slice($)+n+m):s+n+(-2===$?e:m)}return[C(t,l+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),r]};class H{constructor({strings:t,_$litType$:s},o){let h;this.parts=[];let c=0,a=0;const d=t.length-1,$=this.parts,[u,_]=w(t,s);if(this.el=H.createElement(u,o),x.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(h=x.nextNode())&&$.length<d;){if(1===h.nodeType){if(h.hasAttributes())for(const t of h.getAttributeNames())if(t.endsWith(i)){const e=_[a++],s=h.getAttribute(t).split(n),i=/([.?@])?(.*)/.exec(e);$.push({type:1,index:c,name:i[2],strings:s,ctor:"."===i[1]?E:"?"===i[1]?U:"@"===i[1]?Y:S}),h.removeAttribute(t)}else t.startsWith(n)&&($.push({type:6,index:c}),h.removeAttribute(t));if(g.test(h.tagName)){const t=h.textContent.split(n),s=t.length-1;if(s>0){h.textContent=e?e.emptyScript:"";for(let e=0;e<s;e++)h.append(t[e],l()),x.nextNode(),$.push({type:2,index:++c});h.append(t[s],l())}}}else if(8===h.nodeType)if(h.data===r)$.push({type:2,index:c});else{let t=-1;for(;-1!==(t=h.data.indexOf(n,t+1));)$.push({type:7,index:c}),t+=n.length-1}c++}}static createElement(t,e){const s=h.createElement("template");return s.innerHTML=t,s}}function N(t,e,s=t,i){if(e===y)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const r=c(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=N(t,n._$AS(t,e.values),n,i)),e}let M=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??h).importNode(e,!0);x.currentNode=i;let n=x.nextNode(),r=0,o=0,l=s[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new T(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new I(n,this,t)),this._$AV.push(e),l=s[++o]}r!==l?.index&&(n=x.nextNode(),r++)}return x.currentNode=h,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}};class T{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=m,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),c(t)?t===m||null==t||""===t?(this._$AH!==m&&this._$AR(),this._$AH=m):t!==this._$AH&&t!==y&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):d(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==m&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(h.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=H.createElement(C(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new M(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=b.get(t.strings);return void 0===e&&b.set(t.strings,e=new H(t)),e}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new T(this.O(l()),this.O(l()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class S{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=m,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=m}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(void 0===n)t=N(this,t,e,0),r=!c(t)||t!==this._$AH&&t!==y,r&&(this._$AH=t);else{const i=t;let o,h;for(t=n[0],o=0;o<n.length-1;o++)h=N(this,i[s+o],e,o),h===y&&(h=this._$AH[o]),r||=!c(h)||h!==this._$AH[o],h===m?t=m:t!==m&&(t+=(h??"")+n[o+1]),this._$AH[o]=h}r&&!i&&this.j(t)}j(t){t===m?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class E extends S{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===m?void 0:t}}class U extends S{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==m)}}class Y extends S{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=N(this,t,e,0)??m)===y)return;const s=this._$AH,i=t===m&&s!==m||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==m&&(s===m||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class I{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}}const k={M:i,P:n,A:r,C:1,L:w,R:M,D:d,V:N,I:T,H:S,N:U,U:Y,B:E,F:I},P=t.litHtmlPolyfillSupport;P?.(H,T),(t.litHtmlVersions??=[]).push("3.2.1");
|
7
7
|
/**
|
8
8
|
* @license
|
9
9
|
* Copyright 2017 Google LLC
|
10
10
|
* SPDX-License-Identifier: BSD-3-Clause
|
11
11
|
*/
|
12
|
-
const B=1,O=2,
|
12
|
+
const B=1,O=2,j=3,L=4,D=t=>(...e)=>({_$litDirective$:t,values:e});let R=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
13
13
|
/**
|
14
14
|
* @license
|
15
15
|
* Copyright 2018 Google LLC
|
16
16
|
* SPDX-License-Identifier: BSD-3-Clause
|
17
|
-
*/const
|
17
|
+
*/const W=D(class extends R{constructor(t){if(super(t),t.type!==B||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const s=t.element.classList;for(const t of this.st)t in e||(s.remove(t),this.st.delete(t));for(const t in e){const i=!!e[t];i===this.st.has(t)||this.nt?.has(t)||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return y}}),V=t=>t??m
|
18
18
|
/**
|
19
19
|
* @license
|
20
20
|
* Copyright 2020 Google LLC
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
22
|
-
*/,{
|
22
|
+
*/,{I:Z}=k,z=t=>void 0===t.strings,q=()=>document.createComment(""),K=(t,e,s)=>{const i=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===s){const e=i.insertBefore(q(),n),r=i.insertBefore(q(),n);s=new Z(e,r,t,t.options)}else{const e=s._$AB.nextSibling,r=s._$AM,o=r!==t;if(o){let e;s._$AQ?.(t),s._$AM=t,void 0!==s._$AP&&(e=t._$AU)!==r._$AU&&s._$AP(e)}if(e!==n||o){let t=s._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,n),t=e}}}return s},X=(t,e,s=t)=>(t._$AI(e,s),t),F={},Q=(t,e=F)=>t._$AH=e,G=t=>{t._$AP?.(!1,!0);let e=t._$AA;const s=t._$AB.nextSibling;for(;e!==s;){const t=e.nextSibling;e.remove(),e=t}},J=D(class extends R{constructor(t){if(super(t),t.type!==j&&t.type!==B&&t.type!==L)throw Error("The `live` directive is not allowed on child or event bindings");if(!z(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===y||e===m)return e;const s=t.element,i=t.name;if(t.type===j){if(e===s[i])return y}else if(t.type===L){if(!!e===s.hasAttribute(i))return y}else if(t.type===B&&s.getAttribute(i)===e+"")return y;return Q(t),e}}),tt=(t,e,s)=>{const i=new Map;for(let n=e;n<=s;n++)i.set(t[n],n);return i},et=D(class extends R{constructor(t){if(super(t),t.type!==O)throw Error("repeat() can only be used in text expressions")}dt(t,e,s){let i;void 0===s?s=e:void 0!==e&&(i=e);const n=[],r=[];let o=0;for(const e of t)n[o]=i?i(e,o):o,r[o]=s(e,o),o++;return{values:r,keys:n}}render(t,e,s){return this.dt(t,e,s).values}update(t,[e,s,i]){const n=(t=>t._$AH)(t),{values:r,keys:o}=this.dt(e,s,i);if(!Array.isArray(n))return this.ut=o,r;const h=this.ut??=[],l=[];let c,a,d=0,$=n.length-1,u=0,_=r.length-1;for(;d<=$&&u<=_;)if(null===n[d])d++;else if(null===n[$])$--;else if(h[d]===o[u])l[u]=X(n[d],r[u]),d++,u++;else if(h[$]===o[_])l[_]=X(n[$],r[_]),$--,_--;else if(h[d]===o[_])l[_]=X(n[d],r[_]),K(t,l[_+1],n[d]),d++,_--;else if(h[$]===o[u])l[u]=X(n[$],r[u]),K(t,n[d],n[$]),$--,u++;else if(void 0===c&&(c=tt(o,u,_),a=tt(h,d,$)),c.has(h[d]))if(c.has(h[$])){const e=a.get(o[u]),s=void 0!==e?n[e]:null;if(null===s){const e=K(t,n[d]);X(e,r[u]),l[u]=e}else l[u]=X(s,r[u]),K(t,n[d],s),n[e]=null;u++}else G(n[$]),$--;else G(n[d]),d++;for(;u<=_;){const e=K(t,l[_+1]);X(e,r[u]),l[u++]=e}for(;d<=$;){const t=n[d++];null!==t&&G(t)}return this.ut=o,Q(t,l),y}}),st="important",it=" !"+st,nt=D(class extends R{constructor(t){if(super(t),t.type!==B||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,s)=>{const i=t[s];return null==i?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ft.add(t);const e="string"==typeof i&&i.endsWith(it);t.includes("-")||e?s.setProperty(t,e?i.slice(0,-11):i,e?st:""):s[t]=i}}return y}});
|
23
23
|
/**
|
24
24
|
* @license
|
25
25
|
* Copyright 2018 Google LLC
|
@@ -30,25 +30,25 @@ const B=1,O=2,L=3,D=4,R=t=>(...e)=>({_$litDirective$:t,values:e});class W{constr
|
|
30
30
|
* Copyright 2017 Google LLC
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
32
32
|
*/
|
33
|
-
|
33
|
+
let rt=class extends R{constructor(t){if(super(t),this.it=m,t.type!==O)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===m||null==t)return this._t=void 0,this.it=t;if(t===y)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}};rt.directiveName="unsafeHTML",rt.resultType=1;const ot=D(rt),ht=(t,e)=>{const s=t._$AN;if(void 0===s)return!1;for(const t of s)t._$AO?.(e,!1),ht(t,e);return!0},lt=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===s?.size)},ct=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),$t(e)}};
|
34
34
|
/**
|
35
35
|
* @license
|
36
36
|
* Copyright 2017 Google LLC
|
37
37
|
* SPDX-License-Identifier: BSD-3-Clause
|
38
|
-
*/function at(t){void 0!==this._$AN?(lt(this),this._$AM=t,ct(this)):this._$AM=t}function dt(t,e=!1,s=0){const i=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)ht(i[t],!1),lt(i[t]);else null!=i&&(ht(i,!1),lt(i));else ht(this,t)}const $t=t=>{t.type==O&&(t._$AP??=dt,t._$AQ??=at)};class ut extends
|
38
|
+
*/function at(t){void 0!==this._$AN?(lt(this),this._$AM=t,ct(this)):this._$AM=t}function dt(t,e=!1,s=0){const i=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)ht(i[t],!1),lt(i[t]);else null!=i&&(ht(i,!1),lt(i));else ht(this,t)}const $t=t=>{t.type==O&&(t._$AP??=dt,t._$AQ??=at)};class ut extends R{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),ct(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(ht(this,t),lt(this))}setValue(t){if(z(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}
|
39
39
|
/**
|
40
40
|
* @license
|
41
41
|
* Copyright 2021 Google LLC
|
42
42
|
* SPDX-License-Identifier: BSD-3-Clause
|
43
|
-
*/class _t{constructor(t){this.
|
43
|
+
*/class _t{constructor(t){this.Y=t}disconnect(){this.Y=void 0}reconnect(t){this.Y=t}deref(){return this.Y}}class At{constructor(){this.Z=void 0,this.q=void 0}get(){return this.Z}pause(){this.Z??=new Promise((t=>this.q=t))}resume(){this.q?.(),this.Z=this.q=void 0}}
|
44
44
|
/**
|
45
45
|
* @license
|
46
46
|
* Copyright 2017 Google LLC
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
48
|
-
*/const
|
48
|
+
*/const ft=t=>!(t=>null===t||"object"!=typeof t&&"function"!=typeof t)(t)&&"function"==typeof t.then,pt=1073741823;class vt extends ut{constructor(){super(...arguments),this._$Cwt=pt,this._$Cbt=[],this._$CK=new _t(this),this._$CX=new At}render(...t){return t.find((t=>!ft(t)))??y}update(t,e){const s=this._$Cbt;let i=s.length;this._$Cbt=e;const n=this._$CK,r=this._$CX;this.isConnected||this.disconnected();for(let t=0;t<e.length&&!(t>this._$Cwt);t++){const o=e[t];if(!ft(o))return this._$Cwt=t,o;t<i&&o===s[t]||(this._$Cwt=pt,i=0,Promise.resolve(o).then((async t=>{for(;r.get();)await r.get();const e=n.deref();if(void 0!==e){const s=e._$Cbt.indexOf(o);s>-1&&s<e._$Cwt&&(e._$Cwt=s,e.setValue(t))}})))}return y}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}}const gt=D(vt),yt=()=>new mt;
|
49
49
|
/**
|
50
50
|
* @license
|
51
51
|
* Copyright 2020 Google LLC
|
52
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
53
|
-
*/class mt{}const
|
53
|
+
*/class mt{}const bt=new WeakMap,xt=D(class extends ut{render(t){return m}update(t,[e]){const s=e!==this.Y;return s&&void 0!==this.Y&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.Y=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),m}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.Y){const e=this.ht??globalThis;let s=bt.get(e);void 0===s&&(s=new WeakMap,bt.set(e,s)),void 0!==s.get(this.Y)&&this.Y.call(this.ht,void 0),s.set(this.Y,t),void 0!==t&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return"function"==typeof this.Y?bt.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{rt as UnsafeHTMLDirective,vt as UntilDirective,W as classMap,yt as createRef,V as ifDefined,J as live,xt as ref,et as repeat,nt as styleMap,ot as unsafeHTML,gt as until};
|
54
54
|
//# sourceMappingURL=directives.js.map
|