chrome-devtools-frontend 1.0.943182 → 1.0.944903
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/config/gni/devtools_grd_files.gni +3 -0
- package/front_end/core/common/ParsedURL.ts +1 -1
- package/front_end/core/host/InspectorFrontendHostAPI.ts +5 -5
- package/front_end/core/host/UserMetrics.ts +0 -1
- package/front_end/core/i18n/locales/af.json +455 -44
- package/front_end/core/i18n/locales/am.json +455 -44
- package/front_end/core/i18n/locales/ar.json +455 -44
- package/front_end/core/i18n/locales/as.json +455 -44
- package/front_end/core/i18n/locales/az.json +455 -44
- package/front_end/core/i18n/locales/be.json +456 -45
- package/front_end/core/i18n/locales/bg.json +455 -44
- package/front_end/core/i18n/locales/bn.json +455 -44
- package/front_end/core/i18n/locales/bs.json +455 -44
- package/front_end/core/i18n/locales/ca.json +457 -46
- package/front_end/core/i18n/locales/cs.json +458 -47
- package/front_end/core/i18n/locales/cy.json +455 -44
- package/front_end/core/i18n/locales/da.json +455 -44
- package/front_end/core/i18n/locales/de.json +455 -44
- package/front_end/core/i18n/locales/el.json +455 -44
- package/front_end/core/i18n/locales/en-GB.json +449 -38
- package/front_end/core/i18n/locales/en-US.json +10 -34
- package/front_end/core/i18n/locales/en-XL.json +22 -46
- package/front_end/core/i18n/locales/es-419.json +455 -44
- package/front_end/core/i18n/locales/es.json +455 -44
- package/front_end/core/i18n/locales/et.json +455 -44
- package/front_end/core/i18n/locales/eu.json +462 -51
- package/front_end/core/i18n/locales/fa.json +455 -44
- package/front_end/core/i18n/locales/fi.json +455 -44
- package/front_end/core/i18n/locales/fil.json +454 -43
- package/front_end/core/i18n/locales/fr-CA.json +455 -44
- package/front_end/core/i18n/locales/fr.json +456 -45
- package/front_end/core/i18n/locales/gl.json +455 -44
- package/front_end/core/i18n/locales/gu.json +456 -45
- package/front_end/core/i18n/locales/he.json +455 -44
- package/front_end/core/i18n/locales/hi.json +455 -44
- package/front_end/core/i18n/locales/hr.json +455 -44
- package/front_end/core/i18n/locales/hu.json +455 -44
- package/front_end/core/i18n/locales/hy.json +455 -44
- package/front_end/core/i18n/locales/id.json +455 -44
- package/front_end/core/i18n/locales/is.json +455 -44
- package/front_end/core/i18n/locales/it.json +502 -91
- package/front_end/core/i18n/locales/ja.json +456 -45
- package/front_end/core/i18n/locales/ka.json +455 -44
- package/front_end/core/i18n/locales/kk.json +456 -45
- package/front_end/core/i18n/locales/km.json +455 -44
- package/front_end/core/i18n/locales/kn.json +455 -44
- package/front_end/core/i18n/locales/ko.json +455 -44
- package/front_end/core/i18n/locales/ky.json +456 -45
- package/front_end/core/i18n/locales/lo.json +454 -43
- package/front_end/core/i18n/locales/lt.json +455 -44
- package/front_end/core/i18n/locales/lv.json +458 -47
- package/front_end/core/i18n/locales/mk.json +455 -44
- package/front_end/core/i18n/locales/ml.json +461 -50
- package/front_end/core/i18n/locales/mn.json +455 -44
- package/front_end/core/i18n/locales/mr.json +455 -44
- package/front_end/core/i18n/locales/ms.json +455 -44
- package/front_end/core/i18n/locales/my.json +456 -45
- package/front_end/core/i18n/locales/ne.json +456 -45
- package/front_end/core/i18n/locales/nl.json +532 -121
- package/front_end/core/i18n/locales/no.json +455 -44
- package/front_end/core/i18n/locales/or.json +455 -44
- package/front_end/core/i18n/locales/pa.json +455 -44
- package/front_end/core/i18n/locales/pl.json +455 -44
- package/front_end/core/i18n/locales/pt-PT.json +504 -93
- package/front_end/core/i18n/locales/pt.json +454 -43
- package/front_end/core/i18n/locales/ro.json +455 -44
- package/front_end/core/i18n/locales/ru.json +455 -44
- package/front_end/core/i18n/locales/si.json +455 -44
- package/front_end/core/i18n/locales/sk.json +456 -45
- package/front_end/core/i18n/locales/sl.json +455 -44
- package/front_end/core/i18n/locales/sq.json +455 -44
- package/front_end/core/i18n/locales/sr-Latn.json +455 -44
- package/front_end/core/i18n/locales/sr.json +455 -44
- package/front_end/core/i18n/locales/sv.json +456 -45
- package/front_end/core/i18n/locales/sw.json +455 -44
- package/front_end/core/i18n/locales/ta.json +456 -45
- package/front_end/core/i18n/locales/te.json +454 -43
- package/front_end/core/i18n/locales/th.json +455 -44
- package/front_end/core/i18n/locales/tr.json +455 -44
- package/front_end/core/i18n/locales/uk.json +455 -44
- package/front_end/core/i18n/locales/ur.json +455 -44
- package/front_end/core/i18n/locales/uz.json +455 -44
- package/front_end/core/i18n/locales/vi.json +455 -44
- package/front_end/core/i18n/locales/zh-HK.json +459 -48
- package/front_end/core/i18n/locales/zh-TW.json +457 -46
- package/front_end/core/i18n/locales/zh.json +460 -49
- package/front_end/core/i18n/locales/zu.json +455 -44
- package/front_end/core/protocol_client/InspectorBackend.ts +4 -0
- package/front_end/core/protocol_client/NodeURL.ts +1 -0
- package/front_end/core/sdk/AccessibilityModel.ts +99 -78
- package/front_end/core/sdk/CSSStyleDeclaration.ts +4 -0
- package/front_end/core/sdk/CSSStyleSheetHeader.ts +2 -3
- package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +2 -3
- package/front_end/core/sdk/Cookie.ts +17 -0
- package/front_end/core/sdk/CookieModel.ts +1 -0
- package/front_end/core/sdk/DebuggerModel.ts +5 -4
- package/front_end/core/sdk/NetworkManager.ts +6 -0
- package/front_end/core/sdk/NetworkRequest.ts +2 -2
- package/front_end/core/sdk/OverlayModel.ts +0 -9
- package/front_end/core/sdk/Resource.ts +2 -2
- package/front_end/core/sdk/Script.ts +2 -7
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +13 -12
- package/front_end/core/sdk/sdk-meta.ts +0 -26
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +0 -13
- package/front_end/entrypoints/main/MainImpl.ts +2 -4
- package/front_end/generated/InspectorBackendCommands.js +3 -1
- package/front_end/generated/protocol-mapping.d.ts +1 -0
- package/front_end/generated/protocol-proxy-api.d.ts +2 -0
- package/front_end/generated/protocol.d.ts +40 -0
- package/front_end/models/bindings/BreakpointManager.ts +3 -4
- package/front_end/models/bindings/DefaultScriptMapping.ts +1 -9
- package/front_end/models/bindings/ResourceMapping.ts +1 -2
- package/front_end/models/bindings/ResourceScriptMapping.ts +3 -11
- package/front_end/models/bindings/StylesSourceMapping.ts +1 -2
- package/front_end/models/formatter/SourceFormatter.ts +0 -15
- package/front_end/models/persistence/IsolatedFileSystem.ts +7 -6
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +10 -6
- package/front_end/models/persistence/PersistenceActions.ts +4 -1
- package/front_end/models/persistence/PlatformFileSystem.ts +3 -4
- package/front_end/models/text_utils/ContentProvider.ts +1 -2
- package/front_end/models/text_utils/StaticContentProvider.ts +2 -3
- package/front_end/models/timeline_model/TimelineJSProfile.ts +3 -16
- package/front_end/models/timeline_model/TimelineModel.ts +0 -1
- package/front_end/models/workspace/UISourceCode.ts +2 -2
- package/front_end/panels/animation/animationTimeline.css +2 -0
- package/front_end/panels/application/ApplicationPanelCacheSection.ts +1 -1
- package/front_end/panels/application/BackForwardCacheView.ts +26 -26
- package/front_end/panels/application/ReportingApiView.ts +15 -1
- package/front_end/panels/application/components/EndpointsGrid.ts +63 -4
- package/front_end/panels/application/components/FrameDetailsView.ts +21 -34
- package/front_end/panels/console/ConsolePinPane.ts +1 -0
- package/front_end/panels/console/ConsolePrompt.ts +121 -171
- package/front_end/panels/console/ConsoleView.ts +1 -1
- package/front_end/panels/console/consoleView.css +1 -1
- package/front_end/panels/css_overview/cssOverviewCompletedView.css +2 -2
- package/front_end/panels/elements/AccessibilityTreeUtils.ts +98 -67
- package/front_end/panels/elements/AccessibilityTreeView.ts +76 -125
- package/front_end/panels/elements/ElementsPanel.ts +6 -7
- package/front_end/panels/elements/ElementsTreeElement.ts +1 -0
- package/front_end/panels/elements/StyleEditorWidget.ts +13 -2
- package/front_end/panels/elements/StylePropertyHighlighter.ts +29 -19
- package/front_end/panels/elements/StylePropertyTreeElement.ts +7 -4
- package/front_end/panels/elements/StylesSidebarPane.ts +1 -1
- package/front_end/panels/elements/components/AccessibilityTreeNode.ts +27 -3
- package/front_end/panels/network/NetworkDataGridNode.ts +5 -1
- package/front_end/panels/snippets/ScriptSnippetFileSystem.ts +1 -1
- package/front_end/panels/sources/BreakpointEditDialog.ts +1 -0
- package/front_end/panels/sources/DebuggerPlugin.ts +1 -1
- package/front_end/panels/sources/NavigatorView.ts +1 -1
- package/front_end/panels/sources/Plugin.ts +0 -3
- package/front_end/panels/sources/UISourceCodeFrame.ts +23 -50
- package/front_end/panels/timeline/TimelineController.ts +0 -3
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -34
- package/front_end/panels/timeline/TimelineUIUtils.ts +51 -3
- package/front_end/services/window_bounds/WindowBoundsService.ts +27 -0
- package/front_end/services/window_bounds/window_bounds.ts +9 -0
- package/front_end/third_party/codemirror.next/bundle.ts +4 -3
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/codemirror.next.d.ts +39 -1
- package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
- package/front_end/third_party/codemirror.next/package.json +3 -3
- package/front_end/third_party/lit-html/README.chromium +2 -2
- package/front_end/third_party/lit-html/package/CHANGELOG.md +216 -28
- package/front_end/third_party/lit-html/package/LICENSE +9 -9
- package/front_end/third_party/lit-html/package/README.md +12 -162
- package/front_end/third_party/lit-html/package/async-directive.d.ts +23 -54
- package/front_end/third_party/lit-html/package/async-directive.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/async-directive.js +2 -7
- package/front_end/third_party/lit-html/package/async-directive.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/async-directive.d.ts +23 -54
- package/front_end/third_party/lit-html/package/development/async-directive.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/async-directive.js +44 -194
- package/front_end/third_party/lit-html/package/development/async-directive.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directive-helpers.d.ts +6 -5
- package/front_end/third_party/lit-html/package/development/directive-helpers.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directive-helpers.js +25 -9
- package/front_end/third_party/lit-html/package/development/directive-helpers.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directive.d.ts +3 -16
- package/front_end/third_party/lit-html/package/development/directive.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directive.js +6 -1
- package/front_end/third_party/lit-html/package/development/directive.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/async-append.d.ts +7 -14
- package/front_end/third_party/lit-html/package/development/directives/async-append.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/async-append.js +17 -58
- package/front_end/third_party/lit-html/package/development/directives/async-append.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/async-replace.d.ts +9 -14
- package/front_end/third_party/lit-html/package/development/directives/async-replace.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/async-replace.js +57 -37
- package/front_end/third_party/lit-html/package/development/directives/async-replace.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/cache.d.ts +2 -3
- package/front_end/third_party/lit-html/package/development/directives/cache.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/cache.js +4 -6
- package/front_end/third_party/lit-html/package/development/directives/cache.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/class-map.d.ts +2 -2
- package/front_end/third_party/lit-html/package/development/directives/class-map.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/class-map.js +17 -7
- package/front_end/third_party/lit-html/package/development/directives/class-map.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/guard.d.ts +3 -2
- package/front_end/third_party/lit-html/package/development/directives/guard.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/guard.js +3 -2
- package/front_end/third_party/lit-html/package/development/directives/guard.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/live.d.ts +4 -3
- package/front_end/third_party/lit-html/package/development/directives/live.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/live.js +5 -7
- package/front_end/third_party/lit-html/package/development/directives/live.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.d.ts +58 -0
- package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.d.ts.map +1 -0
- package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.js +85 -0
- package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.js.map +1 -0
- package/front_end/third_party/lit-html/package/development/directives/ref.d.ts +14 -11
- package/front_end/third_party/lit-html/package/development/directives/ref.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/ref.js +13 -11
- package/front_end/third_party/lit-html/package/development/directives/ref.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/repeat.d.ts +8 -4
- package/front_end/third_party/lit-html/package/development/directives/repeat.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/repeat.js +23 -9
- package/front_end/third_party/lit-html/package/development/directives/repeat.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/style-map.d.ts +1 -2
- package/front_end/third_party/lit-html/package/development/directives/style-map.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/style-map.js +1 -2
- package/front_end/third_party/lit-html/package/development/directives/style-map.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/template-content.d.ts +1 -2
- package/front_end/third_party/lit-html/package/development/directives/template-content.js +1 -2
- package/front_end/third_party/lit-html/package/development/directives/unsafe-html.d.ts +6 -4
- package/front_end/third_party/lit-html/package/development/directives/unsafe-html.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/unsafe-html.js +7 -5
- package/front_end/third_party/lit-html/package/development/directives/unsafe-html.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.d.ts +4 -1
- package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.js +3 -0
- package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/until.d.ts +12 -8
- package/front_end/third_party/lit-html/package/development/directives/until.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/directives/until.js +63 -23
- package/front_end/third_party/lit-html/package/development/directives/until.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/experimental-hydrate.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/experimental-hydrate.js +9 -8
- package/front_end/third_party/lit-html/package/development/experimental-hydrate.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/lit-html.d.ts +81 -136
- package/front_end/third_party/lit-html/package/development/lit-html.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/lit-html.js +249 -76
- package/front_end/third_party/lit-html/package/development/lit-html.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/polyfill-support.d.ts +1 -41
- package/front_end/third_party/lit-html/package/development/polyfill-support.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/polyfill-support.js +40 -21
- package/front_end/third_party/lit-html/package/development/polyfill-support.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/private-ssr-support.d.ts +12 -10
- package/front_end/third_party/lit-html/package/development/private-ssr-support.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/private-ssr-support.js +11 -3
- package/front_end/third_party/lit-html/package/development/private-ssr-support.js.map +1 -1
- package/front_end/third_party/lit-html/package/development/static.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/development/static.js +6 -5
- package/front_end/third_party/lit-html/package/development/static.js.map +1 -1
- package/front_end/third_party/lit-html/package/directive-helpers.d.ts +6 -5
- package/front_end/third_party/lit-html/package/directive-helpers.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directive-helpers.js +2 -2
- package/front_end/third_party/lit-html/package/directive-helpers.js.map +1 -1
- package/front_end/third_party/lit-html/package/directive.d.ts +3 -16
- package/front_end/third_party/lit-html/package/directive.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directive.js +1 -1
- package/front_end/third_party/lit-html/package/directive.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/async-append.d.ts +7 -14
- package/front_end/third_party/lit-html/package/directives/async-append.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/async-append.js +2 -6
- package/front_end/third_party/lit-html/package/directives/async-append.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/async-replace.d.ts +9 -14
- package/front_end/third_party/lit-html/package/directives/async-replace.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/async-replace.js +2 -5
- package/front_end/third_party/lit-html/package/directives/async-replace.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/cache.d.ts +2 -3
- package/front_end/third_party/lit-html/package/directives/cache.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/cache.js +2 -5
- package/front_end/third_party/lit-html/package/directives/cache.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/class-map.d.ts +2 -2
- package/front_end/third_party/lit-html/package/directives/class-map.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/class-map.js +2 -4
- package/front_end/third_party/lit-html/package/directives/class-map.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/guard.d.ts +3 -2
- package/front_end/third_party/lit-html/package/directives/guard.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/guard.js +2 -4
- package/front_end/third_party/lit-html/package/directives/guard.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/live.d.ts +4 -3
- package/front_end/third_party/lit-html/package/directives/live.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/live.js +1 -4
- package/front_end/third_party/lit-html/package/directives/live.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/private-async-helpers.d.ts +58 -0
- package/front_end/third_party/lit-html/package/directives/private-async-helpers.d.ts.map +1 -0
- package/front_end/third_party/lit-html/package/directives/private-async-helpers.js +7 -0
- package/front_end/third_party/lit-html/package/directives/private-async-helpers.js.map +1 -0
- package/front_end/third_party/lit-html/package/directives/ref.d.ts +14 -11
- package/front_end/third_party/lit-html/package/directives/ref.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/ref.js +2 -5
- package/front_end/third_party/lit-html/package/directives/ref.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/repeat.d.ts +8 -4
- package/front_end/third_party/lit-html/package/directives/repeat.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/repeat.js +2 -5
- package/front_end/third_party/lit-html/package/directives/repeat.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/style-map.d.ts +1 -2
- package/front_end/third_party/lit-html/package/directives/style-map.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/style-map.js +2 -4
- package/front_end/third_party/lit-html/package/directives/style-map.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/template-content.d.ts +1 -2
- package/front_end/third_party/lit-html/package/directives/template-content.js +2 -4
- package/front_end/third_party/lit-html/package/directives/template-content.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/unsafe-html.d.ts +6 -4
- package/front_end/third_party/lit-html/package/directives/unsafe-html.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/unsafe-html.js +2 -4
- package/front_end/third_party/lit-html/package/directives/unsafe-html.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/unsafe-svg.d.ts +4 -1
- package/front_end/third_party/lit-html/package/directives/unsafe-svg.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/unsafe-svg.js.map +1 -1
- package/front_end/third_party/lit-html/package/directives/until.d.ts +12 -8
- package/front_end/third_party/lit-html/package/directives/until.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/directives/until.js +2 -6
- package/front_end/third_party/lit-html/package/directives/until.js.map +1 -1
- package/front_end/third_party/lit-html/package/experimental-hydrate.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/experimental-hydrate.js +2 -5
- package/front_end/third_party/lit-html/package/experimental-hydrate.js.map +1 -1
- package/front_end/third_party/lit-html/package/lit-html.d.ts +81 -136
- package/front_end/third_party/lit-html/package/lit-html.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/lit-html.js +1 -1
- package/front_end/third_party/lit-html/package/lit-html.js.map +1 -1
- package/front_end/third_party/lit-html/package/package.json +75 -24
- package/front_end/third_party/lit-html/package/polyfill-support.d.ts +1 -41
- package/front_end/third_party/lit-html/package/polyfill-support.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/polyfill-support.js +1 -1
- package/front_end/third_party/lit-html/package/polyfill-support.js.map +1 -1
- package/front_end/third_party/lit-html/package/private-ssr-support.d.ts +12 -10
- package/front_end/third_party/lit-html/package/private-ssr-support.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/private-ssr-support.js +2 -2
- package/front_end/third_party/lit-html/package/private-ssr-support.js.map +1 -1
- package/front_end/third_party/lit-html/package/static.d.ts.map +1 -1
- package/front_end/third_party/lit-html/package/static.js +1 -1
- package/front_end/third_party/lit-html/package/static.js.map +1 -1
- package/front_end/third_party/marked/README.chromium +2 -2
- package/front_end/third_party/marked/marked.ts +2 -2
- package/front_end/third_party/marked/package/README.md +7 -1
- package/front_end/third_party/marked/package/bin/marked.js +214 -0
- package/front_end/third_party/marked/package/lib/marked.cjs +2907 -0
- package/front_end/third_party/marked/package/lib/marked.esm.d.ts +1 -3
- package/front_end/third_party/marked/package/lib/marked.esm.js +627 -586
- package/front_end/third_party/marked/package/lib/marked.umd.js +2913 -0
- package/front_end/third_party/marked/package/man/marked.1 +5 -24
- package/front_end/third_party/marked/package/man/marked.1.txt +21 -31
- package/front_end/third_party/marked/package/marked.min.js +1 -1
- package/front_end/third_party/marked/package/package.json +41 -32
- package/front_end/third_party/marked/package/src/Lexer.js +109 -108
- package/front_end/third_party/marked/package/src/Parser.js +38 -15
- package/front_end/third_party/marked/package/src/Renderer.js +5 -5
- package/front_end/third_party/marked/package/src/Slugger.js +2 -2
- package/front_end/third_party/marked/package/src/TextRenderer.js +2 -2
- package/front_end/third_party/marked/package/src/Tokenizer.js +215 -190
- package/front_end/third_party/marked/package/src/defaults.js +6 -9
- package/front_end/third_party/marked/package/src/helpers.js +16 -27
- package/front_end/third_party/marked/package/src/marked.js +146 -63
- package/front_end/third_party/marked/package/src/rules.js +20 -45
- package/front_end/third_party/wasmparser/README.chromium +2 -2
- package/front_end/third_party/wasmparser/package/.github/workflows/main.yml +47 -0
- package/front_end/third_party/wasmparser/package/CHANGELOG.md +12 -0
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js +53 -53
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js.map +1 -1
- package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js +53 -53
- package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js.map +1 -1
- package/front_end/third_party/wasmparser/package/package.json +1 -1
- package/front_end/third_party/wasmparser/package/src/WasmParser.ts +53 -53
- package/front_end/ui/components/text_editor/TextEditor.ts +29 -0
- package/front_end/ui/components/text_editor/config.ts +36 -14
- package/front_end/ui/components/text_editor/javascript.ts +14 -9
- package/front_end/ui/components/text_editor/theme.ts +29 -4
- package/front_end/ui/components/tree_outline/TreeOutline.ts +8 -0
- package/front_end/ui/legacy/Dialog.ts +8 -3
- package/front_end/ui/legacy/ViewManager.ts +6 -0
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +20 -0
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +6 -4
- package/front_end/ui/legacy/components/utils/Linkifier.ts +49 -79
- package/front_end/ui/legacy/themeColors.css +2 -0
- package/inspector_overlay/css_grid_label_helpers.ts +1 -1
- package/inspector_overlay/highlight_common.ts +1 -1
- package/inspector_overlay/tool_highlight.ts +1 -1
- package/package.json +1 -1
- package/scripts/eslint_rules/lib/es_modules_import.js +0 -16
- package/scripts/eslint_rules/tests/es_modules_import_test.js +0 -16
|
@@ -43,22 +43,18 @@ export declare type ValueSanitizer = (value: unknown) => unknown;
|
|
|
43
43
|
declare const HTML_RESULT = 1;
|
|
44
44
|
declare const SVG_RESULT = 2;
|
|
45
45
|
declare type ResultType = typeof HTML_RESULT | typeof SVG_RESULT;
|
|
46
|
-
declare const ATTRIBUTE_PART = 1;
|
|
47
|
-
declare const CHILD_PART = 2;
|
|
48
|
-
declare const ELEMENT_PART = 6;
|
|
49
|
-
declare const COMMENT_PART = 7;
|
|
50
46
|
/**
|
|
51
47
|
* The return type of the template tag functions.
|
|
52
48
|
*/
|
|
53
49
|
export declare type TemplateResult<T extends ResultType = ResultType> = {
|
|
54
|
-
_$litType
|
|
50
|
+
['_$litType$']: T;
|
|
55
51
|
strings: TemplateStringsArray;
|
|
56
52
|
values: unknown[];
|
|
57
53
|
};
|
|
58
54
|
export declare type HTMLTemplateResult = TemplateResult<typeof HTML_RESULT>;
|
|
59
55
|
export declare type SVGTemplateResult = TemplateResult<typeof SVG_RESULT>;
|
|
60
56
|
export interface CompiledTemplateResult {
|
|
61
|
-
_$litType
|
|
57
|
+
['_$litType$']: CompiledTemplate;
|
|
62
58
|
values: unknown[];
|
|
63
59
|
}
|
|
64
60
|
export interface CompiledTemplate extends Omit<Template, 'el'> {
|
|
@@ -68,6 +64,15 @@ export interface CompiledTemplate extends Omit<Template, 'el'> {
|
|
|
68
64
|
/**
|
|
69
65
|
* Interprets a template literal as an HTML template that can efficiently
|
|
70
66
|
* render to and update a container.
|
|
67
|
+
*
|
|
68
|
+
* ```ts
|
|
69
|
+
* const header = (title: string) => html`<h1>${title}</h1>`;
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* The `html` tag returns a description of the DOM to render as a value. It is
|
|
73
|
+
* lazy, meaning no work is done until the template is rendered. When rendering,
|
|
74
|
+
* if a template comes from the same expression as a previously rendered result,
|
|
75
|
+
* it's efficiently updated instead of replaced.
|
|
71
76
|
*/
|
|
72
77
|
export declare const html: (strings: TemplateStringsArray, ...values: unknown[]) => TemplateResult<1>;
|
|
73
78
|
/**
|
|
@@ -82,8 +87,32 @@ export declare const svg: (strings: TemplateStringsArray, ...values: unknown[])
|
|
|
82
87
|
export declare const noChange: unique symbol;
|
|
83
88
|
/**
|
|
84
89
|
* A sentinel value that signals a ChildPart to fully clear its content.
|
|
90
|
+
*
|
|
91
|
+
* ```ts
|
|
92
|
+
* const button = html`${
|
|
93
|
+
* user.isAdmin
|
|
94
|
+
* ? html`<button>DELETE</button>`
|
|
95
|
+
* : nothing
|
|
96
|
+
* }`;
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* Prefer using `nothing` over other falsy values as it provides a consistent
|
|
100
|
+
* behavior between various expression binding contexts.
|
|
101
|
+
*
|
|
102
|
+
* In child expressions, `undefined`, `null`, `''`, and `nothing` all behave the
|
|
103
|
+
* same and render no nodes. In attribute expressions, `nothing` _removes_ the
|
|
104
|
+
* attribute, while `undefined` and `null` will render an empty string. In
|
|
105
|
+
* property expressions `nothing` becomes `undefined`.
|
|
85
106
|
*/
|
|
86
107
|
export declare const nothing: unique symbol;
|
|
108
|
+
/**
|
|
109
|
+
* Object specifying options for controlling lit-html rendering. Note that
|
|
110
|
+
* while `render` may be called multiple times on the same `container` (and
|
|
111
|
+
* `renderBefore` reference node) to efficiently update the rendered content,
|
|
112
|
+
* only the options passed in during the first render are respected during
|
|
113
|
+
* the lifetime of renders to that unique `container` + `renderBefore`
|
|
114
|
+
* combination.
|
|
115
|
+
*/
|
|
87
116
|
export interface RenderOptions {
|
|
88
117
|
/**
|
|
89
118
|
* An object to use as the `this` value for event listeners. It's often
|
|
@@ -102,6 +131,15 @@ export interface RenderOptions {
|
|
|
102
131
|
creationScope?: {
|
|
103
132
|
importNode(node: Node, deep?: boolean): Node;
|
|
104
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
* The initial connected state for the top-level part being rendered. If no
|
|
136
|
+
* `isConnected` option is set, `AsyncDirective`s will be connected by
|
|
137
|
+
* default. Set to `false` if the initial render occurs in a disconnected tree
|
|
138
|
+
* and `AsyncDirective`s should see `isConnected === false` for their initial
|
|
139
|
+
* render. The `part.setConnected()` method must be used subsequent to initial
|
|
140
|
+
* render to change the connected state of the part.
|
|
141
|
+
*/
|
|
142
|
+
isConnected?: boolean;
|
|
105
143
|
}
|
|
106
144
|
/**
|
|
107
145
|
* Renders a value, usually a lit-html TemplateResult, to the container.
|
|
@@ -110,103 +148,48 @@ export interface RenderOptions {
|
|
|
110
148
|
* @param options
|
|
111
149
|
*/
|
|
112
150
|
export declare const render: {
|
|
113
|
-
(value: unknown, container: HTMLElement | DocumentFragment, options?: RenderOptions | undefined):
|
|
151
|
+
(value: unknown, container: HTMLElement | DocumentFragment, options?: RenderOptions | undefined): RootPart;
|
|
114
152
|
setSanitizer: (newSanitizer: SanitizerFactory) => void;
|
|
115
153
|
createSanitizer: SanitizerFactory;
|
|
116
154
|
_testOnlyClearSanitizerFactoryDoNotCallOrElse: () => void;
|
|
117
155
|
};
|
|
118
156
|
export interface DirectiveParent {
|
|
119
157
|
_$parent?: DirectiveParent;
|
|
158
|
+
_$isConnected: boolean;
|
|
120
159
|
__directive?: Directive;
|
|
121
160
|
__directives?: Array<Directive | undefined>;
|
|
122
161
|
}
|
|
123
|
-
/** @internal */
|
|
124
|
-
export type { Template };
|
|
125
162
|
declare class Template {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
/** @internal */
|
|
129
|
-
parts: Array<TemplatePart>;
|
|
130
|
-
constructor({ strings, _$litType$: type }: TemplateResult, options?: RenderOptions);
|
|
163
|
+
constructor({ strings, ['_$litType$']: type }: TemplateResult, options?: RenderOptions);
|
|
164
|
+
/** @nocollapse */
|
|
131
165
|
static createElement(html: TrustedHTML, _options?: RenderOptions): HTMLTemplateElement;
|
|
132
166
|
}
|
|
133
167
|
export interface Disconnectable {
|
|
134
168
|
_$parent?: Disconnectable;
|
|
135
|
-
_$
|
|
169
|
+
_$disconnectableChildren?: Set<Disconnectable>;
|
|
170
|
+
_$isConnected: boolean;
|
|
136
171
|
}
|
|
137
172
|
declare function resolveDirective(part: ChildPart | AttributePart | ElementPart, value: unknown, parent?: DirectiveParent, attributeIndex?: number): unknown;
|
|
138
173
|
/**
|
|
139
174
|
* An updateable instance of a Template. Holds references to the Parts used to
|
|
140
175
|
* update the template instance.
|
|
141
176
|
*/
|
|
142
|
-
declare class TemplateInstance {
|
|
143
|
-
/** @internal */
|
|
144
|
-
_$template: Template;
|
|
145
|
-
/** @internal */
|
|
146
|
-
_parts: Array<Part | undefined>;
|
|
147
|
-
/** @internal */
|
|
148
|
-
_$parent: Disconnectable;
|
|
149
|
-
/** @internal */
|
|
150
|
-
_$disconnetableChildren?: Set<Disconnectable>;
|
|
177
|
+
declare class TemplateInstance implements Disconnectable {
|
|
151
178
|
constructor(template: Template, parent: ChildPart);
|
|
179
|
+
get parentNode(): Node;
|
|
180
|
+
get _$isConnected(): boolean;
|
|
152
181
|
_clone(options: RenderOptions | undefined): Node;
|
|
153
182
|
_update(values: Array<unknown>): void;
|
|
154
183
|
}
|
|
155
|
-
declare type AttributeTemplatePart = {
|
|
156
|
-
readonly type: typeof ATTRIBUTE_PART;
|
|
157
|
-
readonly index: number;
|
|
158
|
-
readonly name: string;
|
|
159
|
-
/** @internal */
|
|
160
|
-
readonly ctor: typeof AttributePart;
|
|
161
|
-
/** @internal */
|
|
162
|
-
readonly strings: ReadonlyArray<string>;
|
|
163
|
-
};
|
|
164
|
-
declare type NodeTemplatePart = {
|
|
165
|
-
readonly type: typeof CHILD_PART;
|
|
166
|
-
readonly index: number;
|
|
167
|
-
};
|
|
168
|
-
declare type ElementTemplatePart = {
|
|
169
|
-
readonly type: typeof ELEMENT_PART;
|
|
170
|
-
readonly index: number;
|
|
171
|
-
};
|
|
172
|
-
declare type CommentTemplatePart = {
|
|
173
|
-
readonly type: typeof COMMENT_PART;
|
|
174
|
-
readonly index: number;
|
|
175
|
-
};
|
|
176
|
-
/**
|
|
177
|
-
* A TemplatePart represents a dynamic part in a template, before the template
|
|
178
|
-
* is instantiated. When a template is instantiated Parts are created from
|
|
179
|
-
* TemplateParts.
|
|
180
|
-
*/
|
|
181
|
-
declare type TemplatePart = NodeTemplatePart | AttributeTemplatePart | ElementTemplatePart | CommentTemplatePart;
|
|
182
184
|
export declare type Part = ChildPart | AttributePart | PropertyPart | BooleanAttributePart | ElementPart | EventPart;
|
|
183
185
|
export type { ChildPart };
|
|
184
|
-
declare class ChildPart {
|
|
186
|
+
declare class ChildPart implements Disconnectable {
|
|
185
187
|
readonly type = 2;
|
|
186
188
|
readonly options: RenderOptions | undefined;
|
|
187
189
|
_$committedValue: unknown;
|
|
188
|
-
/** @internal */
|
|
189
|
-
__directive?: Directive;
|
|
190
|
-
/** @internal */
|
|
191
|
-
_$startNode: ChildNode;
|
|
192
|
-
/** @internal */
|
|
193
|
-
_$endNode: ChildNode | null;
|
|
194
190
|
private _textSanitizer;
|
|
195
|
-
|
|
196
|
-
_$parent: Disconnectable | undefined;
|
|
197
|
-
/** @internal */
|
|
198
|
-
_$disconnetableChildren?: Set<Disconnectable>;
|
|
199
|
-
/** @internal */
|
|
200
|
-
_$setChildPartConnected?(isConnected: boolean, removeFromParent?: boolean, from?: number): void;
|
|
201
|
-
/** @internal */
|
|
202
|
-
_$reparentDisconnectables?(parent: Disconnectable): void;
|
|
191
|
+
get _$isConnected(): boolean;
|
|
203
192
|
constructor(startNode: ChildNode, endNode: ChildNode | null, parent: TemplateInstance | ChildPart | undefined, options: RenderOptions | undefined);
|
|
204
|
-
/**
|
|
205
|
-
* Sets the connection state for any `AsyncDirectives` contained
|
|
206
|
-
* within this part and runs their `disconnected` or `reconnected`, according
|
|
207
|
-
* to the `isConnected` argument.
|
|
208
|
-
*/
|
|
209
|
-
setConnected(isConnected: boolean): void;
|
|
210
193
|
/**
|
|
211
194
|
* The parent node into which the part renders its content.
|
|
212
195
|
*
|
|
@@ -241,24 +224,32 @@ declare class ChildPart {
|
|
|
241
224
|
private _commitNode;
|
|
242
225
|
private _commitText;
|
|
243
226
|
private _commitTemplateResult;
|
|
244
|
-
/** @internal */
|
|
245
|
-
_$getTemplate(result: TemplateResult): Template;
|
|
246
227
|
private _commitIterable;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* A top-level `ChildPart` returned from `render` that manages the connected
|
|
231
|
+
* state of `AsyncDirective`s created throughout the tree below it.
|
|
232
|
+
*/
|
|
233
|
+
export interface RootPart extends ChildPart {
|
|
247
234
|
/**
|
|
248
|
-
*
|
|
235
|
+
* Sets the connection state for `AsyncDirective`s contained within this root
|
|
236
|
+
* ChildPart.
|
|
249
237
|
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
238
|
+
* lit-html does not automatically monitor the connectedness of DOM rendered;
|
|
239
|
+
* as such, it is the responsibility of the caller to `render` to ensure that
|
|
240
|
+
* `part.setConnected(false)` is called before the part object is potentially
|
|
241
|
+
* discarded, to ensure that `AsyncDirective`s have a chance to dispose of
|
|
242
|
+
* any resources being held. If a `RootPart` that was prevously
|
|
243
|
+
* disconnected is subsequently re-connected (and its `AsyncDirective`s should
|
|
244
|
+
* re-connect), `setConnected(true)` should be called.
|
|
255
245
|
*
|
|
256
|
-
* @
|
|
246
|
+
* @param isConnected Whether directives within this tree should be connected
|
|
247
|
+
* or not
|
|
257
248
|
*/
|
|
258
|
-
|
|
249
|
+
setConnected(isConnected: boolean): void;
|
|
259
250
|
}
|
|
260
251
|
export type { AttributePart };
|
|
261
|
-
declare class AttributePart {
|
|
252
|
+
declare class AttributePart implements Disconnectable {
|
|
262
253
|
readonly type: 1 | 3 | 4 | 5;
|
|
263
254
|
readonly element: HTMLElement;
|
|
264
255
|
readonly name: string;
|
|
@@ -269,56 +260,18 @@ declare class AttributePart {
|
|
|
269
260
|
* this is undefined.
|
|
270
261
|
*/
|
|
271
262
|
readonly strings?: ReadonlyArray<string>;
|
|
272
|
-
/** @internal */
|
|
273
|
-
_$committedValue: unknown | Array<unknown>;
|
|
274
|
-
/** @internal */
|
|
275
|
-
__directives?: Array<Directive | undefined>;
|
|
276
|
-
/** @internal */
|
|
277
|
-
_$parent: Disconnectable | undefined;
|
|
278
|
-
/** @internal */
|
|
279
|
-
_$disconnetableChildren?: Set<Disconnectable>;
|
|
280
263
|
protected _sanitizer: ValueSanitizer | undefined;
|
|
281
|
-
/** @internal */
|
|
282
|
-
_setDirectiveConnected?: (directive: Directive | undefined, isConnected: boolean, removeFromParent?: boolean) => void;
|
|
283
264
|
get tagName(): string;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
* Sets the value of this part by resolving the value from possibly multiple
|
|
287
|
-
* values and static strings and committing it to the DOM.
|
|
288
|
-
* If this part is single-valued, `this._strings` will be undefined, and the
|
|
289
|
-
* method will be called with a single value argument. If this part is
|
|
290
|
-
* multi-value, `this._strings` will be defined, and the method is called
|
|
291
|
-
* with the value array of the part's owning TemplateInstance, and an offset
|
|
292
|
-
* into the value array from which the values should be read.
|
|
293
|
-
* This method is overloaded this way to eliminate short-lived array slices
|
|
294
|
-
* of the template instance values, and allow a fast-path for single-valued
|
|
295
|
-
* parts.
|
|
296
|
-
*
|
|
297
|
-
* @param value The part value, or an array of values for multi-valued parts
|
|
298
|
-
* @param valueIndex the index to start reading values from. `undefined` for
|
|
299
|
-
* single-valued parts
|
|
300
|
-
* @param noCommit causes the part to not commit its value to the DOM. Used
|
|
301
|
-
* in hydration to prime attribute parts with their first-rendered value,
|
|
302
|
-
* but not set the attribute, and in SSR to no-op the DOM operation and
|
|
303
|
-
* capture the value for serialization.
|
|
304
|
-
*
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
307
|
-
_$setValue(value: unknown | Array<unknown>, directiveParent?: DirectiveParent, valueIndex?: number, noCommit?: boolean): void;
|
|
308
|
-
/** @internal */
|
|
309
|
-
_commitValue(value: unknown): void;
|
|
265
|
+
get _$isConnected(): boolean;
|
|
266
|
+
constructor(element: HTMLElement, name: string, strings: ReadonlyArray<string>, parent: Disconnectable, options: RenderOptions | undefined);
|
|
310
267
|
}
|
|
311
268
|
export type { PropertyPart };
|
|
312
269
|
declare class PropertyPart extends AttributePart {
|
|
313
270
|
readonly type = 3;
|
|
314
|
-
/** @internal */
|
|
315
|
-
_commitValue(value: unknown): void;
|
|
316
271
|
}
|
|
317
272
|
export type { BooleanAttributePart };
|
|
318
273
|
declare class BooleanAttributePart extends AttributePart {
|
|
319
274
|
readonly type = 4;
|
|
320
|
-
/** @internal */
|
|
321
|
-
_commitValue(value: unknown): void;
|
|
322
275
|
}
|
|
323
276
|
/**
|
|
324
277
|
* An AttributePart that manages an event listener via add/removeEventListener.
|
|
@@ -334,25 +287,17 @@ declare class BooleanAttributePart extends AttributePart {
|
|
|
334
287
|
export type { EventPart };
|
|
335
288
|
declare class EventPart extends AttributePart {
|
|
336
289
|
readonly type = 5;
|
|
337
|
-
|
|
338
|
-
_$setValue(newListener: unknown, directiveParent?: DirectiveParent): void;
|
|
290
|
+
constructor(element: HTMLElement, name: string, strings: ReadonlyArray<string>, parent: Disconnectable, options: RenderOptions | undefined);
|
|
339
291
|
handleEvent(event: Event): void;
|
|
340
292
|
}
|
|
341
293
|
export type { ElementPart };
|
|
342
|
-
declare class ElementPart {
|
|
294
|
+
declare class ElementPart implements Disconnectable {
|
|
343
295
|
element: Element;
|
|
344
296
|
readonly type = 6;
|
|
345
|
-
/** @internal */
|
|
346
|
-
__directive?: Directive;
|
|
347
297
|
_$committedValue: undefined;
|
|
348
|
-
/** @internal */
|
|
349
|
-
_$parent: Disconnectable | undefined;
|
|
350
|
-
/** @internal */
|
|
351
|
-
_$disconnetableChildren?: Set<Disconnectable>;
|
|
352
|
-
/** @internal */
|
|
353
|
-
_setDirectiveConnected?: (directive: Directive | undefined, isConnected: boolean, removeFromParent?: boolean) => void;
|
|
354
298
|
options: RenderOptions | undefined;
|
|
355
299
|
constructor(element: Element, parent: Disconnectable, options: RenderOptions | undefined);
|
|
300
|
+
get _$isConnected(): boolean;
|
|
356
301
|
_$setValue(value: unknown): void;
|
|
357
302
|
}
|
|
358
303
|
/**
|
|
@@ -363,7 +308,7 @@ declare class ElementPart {
|
|
|
363
308
|
*
|
|
364
309
|
* We currently do not make a mangled rollup build of the lit-ssr code. In order
|
|
365
310
|
* to keep a number of (otherwise private) top-level exports mangled in the
|
|
366
|
-
* client side code, we export a _
|
|
311
|
+
* client side code, we export a _$LH object containing those members (or
|
|
367
312
|
* helper methods for accessing private fields of those members), and then
|
|
368
313
|
* re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the
|
|
369
314
|
* client-side code is being used in `dev` mode or `prod` mode.
|
|
@@ -373,7 +318,7 @@ declare class ElementPart {
|
|
|
373
318
|
*
|
|
374
319
|
* @private
|
|
375
320
|
*/
|
|
376
|
-
export declare const _
|
|
321
|
+
export declare const _$LH: {
|
|
377
322
|
_boundAttributeSuffix: string;
|
|
378
323
|
_marker: string;
|
|
379
324
|
_markerMatch: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lit-html.d.ts","sourceRoot":"","sources":["../src/lit-html.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAGH,OAAO,KAAK,EAAC,SAAS,EAA4B,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"lit-html.d.ts","sourceRoot":"","sources":["../src/lit-html.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAGH,OAAO,KAAK,EAAC,SAAS,EAA4B,MAAM,gBAAgB,CAAC;AA0DzE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,oBAAY,gBAAgB,GAAG,CAC7B,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,GAAG,WAAW,KAC3B,cAAc,CAAC;AAEpB;;;;;;;;;;GAUG;AACH,oBAAY,cAAc,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC;AAwIzD,2BAA2B;AAC3B,QAAA,MAAM,WAAW,IAAI,CAAC;AACtB,QAAA,MAAM,UAAU,IAAI,CAAC;AAErB,aAAK,UAAU,GAAG,OAAO,WAAW,GAAG,OAAO,UAAU,CAAC;AAYzD;;GAEG;AACH,oBAAY,cAAc,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,I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