From 52ddb7371284b60ff1d8175beea51cdde80ca27f Mon Sep 17 00:00:00 2001 From: Srujan Gaddam Date: Thu, 1 Feb 2024 12:52:51 -0800 Subject: [PATCH 1/2] Generate library declarations with @JS annotations This is needed to work around https://github.com/dart-lang/sdk/issues/54801. When that issue is fixed, these declarations can be removed. --- lib/src/dom/accelerometer.dart | 3 +++ lib/src/dom/ambient_light.dart | 3 +++ lib/src/dom/anchors.dart | 3 +++ lib/src/dom/angle_instanced_arrays.dart | 3 +++ lib/src/dom/attribution_reporting_api.dart | 3 +++ lib/src/dom/audio_output.dart | 3 +++ lib/src/dom/audio_session.dart | 3 +++ lib/src/dom/autoplay_detection.dart | 5 +++++ lib/src/dom/background_fetch.dart | 3 +++ lib/src/dom/background_sync.dart | 3 +++ lib/src/dom/battery_status.dart | 3 +++ lib/src/dom/capture_handle_identity.dart | 3 +++ lib/src/dom/captured_mouse_events.dart | 3 +++ lib/src/dom/clipboard_apis.dart | 3 +++ lib/src/dom/compression.dart | 3 +++ lib/src/dom/compute_pressure.dart | 3 +++ lib/src/dom/console.dart | 3 +++ lib/src/dom/contact_picker.dart | 3 +++ lib/src/dom/content_index.dart | 3 +++ lib/src/dom/cookie_store.dart | 3 +++ lib/src/dom/crash_reporting.dart | 3 +++ lib/src/dom/credential_management.dart | 3 +++ lib/src/dom/csp.dart | 3 +++ lib/src/dom/csp_next.dart | 3 +++ lib/src/dom/css_anchor_position.dart | 3 +++ lib/src/dom/css_animation_worklet.dart | 3 +++ lib/src/dom/css_animations.dart | 3 +++ lib/src/dom/css_animations_2.dart | 3 +++ lib/src/dom/css_cascade.dart | 3 +++ lib/src/dom/css_cascade_6.dart | 3 +++ lib/src/dom/css_color_5.dart | 3 +++ lib/src/dom/css_conditional.dart | 3 +++ lib/src/dom/css_contain.dart | 3 +++ lib/src/dom/css_contain_3.dart | 3 +++ lib/src/dom/css_counter_styles.dart | 3 +++ lib/src/dom/css_font_loading.dart | 3 +++ lib/src/dom/css_fonts.dart | 3 +++ lib/src/dom/css_highlight_api.dart | 3 +++ lib/src/dom/css_layout_api.dart | 3 +++ lib/src/dom/css_masking.dart | 3 +++ lib/src/dom/css_nav.dart | 3 +++ lib/src/dom/css_paint_api.dart | 3 +++ lib/src/dom/css_parser_api.dart | 3 +++ lib/src/dom/css_properties_values_api.dart | 3 +++ lib/src/dom/css_pseudo.dart | 3 +++ lib/src/dom/css_regions.dart | 3 +++ lib/src/dom/css_transitions.dart | 3 +++ lib/src/dom/css_transitions_2.dart | 3 +++ lib/src/dom/css_typed_om.dart | 3 +++ lib/src/dom/css_view_transitions.dart | 3 +++ lib/src/dom/css_view_transitions_2.dart | 3 +++ lib/src/dom/cssom.dart | 3 +++ lib/src/dom/cssom_view.dart | 3 +++ lib/src/dom/custom_state_pseudo_class.dart | 3 +++ lib/src/dom/datacue.dart | 3 +++ lib/src/dom/deprecation_reporting.dart | 3 +++ lib/src/dom/device_posture.dart | 3 +++ lib/src/dom/digital_goods.dart | 3 +++ lib/src/dom/document_picture_in_picture.dart | 3 +++ lib/src/dom/dom.dart | 3 +++ lib/src/dom/dom_parsing.dart | 3 +++ lib/src/dom/edit_context.dart | 3 +++ lib/src/dom/element_capture.dart | 3 +++ lib/src/dom/element_timing.dart | 3 +++ lib/src/dom/encoding.dart | 3 +++ lib/src/dom/encrypted_media.dart | 3 +++ lib/src/dom/entries_api.dart | 3 +++ lib/src/dom/event_timing.dart | 3 +++ lib/src/dom/ext_blend_minmax.dart | 3 +++ lib/src/dom/ext_color_buffer_float.dart | 3 +++ lib/src/dom/ext_color_buffer_half_float.dart | 3 +++ lib/src/dom/ext_disjoint_timer_query.dart | 3 +++ lib/src/dom/ext_disjoint_timer_query_webgl2.dart | 3 +++ lib/src/dom/ext_float_blend.dart | 3 +++ lib/src/dom/ext_frag_depth.dart | 3 +++ lib/src/dom/ext_shader_texture_lod.dart | 3 +++ lib/src/dom/ext_srgb.dart | 3 +++ lib/src/dom/ext_texture_compression_bptc.dart | 3 +++ lib/src/dom/ext_texture_compression_rgtc.dart | 3 +++ lib/src/dom/ext_texture_filter_anisotropic.dart | 3 +++ lib/src/dom/ext_texture_norm16.dart | 3 +++ lib/src/dom/eyedropper_api.dart | 3 +++ lib/src/dom/fedcm.dart | 3 +++ lib/src/dom/fenced_frame.dart | 3 +++ lib/src/dom/fetch.dart | 3 +++ lib/src/dom/fido.dart | 3 +++ lib/src/dom/file_system_access.dart | 3 +++ lib/src/dom/fileapi.dart | 3 +++ lib/src/dom/filter_effects.dart | 3 +++ lib/src/dom/font_metrics_api.dart | 3 +++ lib/src/dom/fs.dart | 3 +++ lib/src/dom/fullscreen.dart | 3 +++ lib/src/dom/gamepad.dart | 3 +++ lib/src/dom/gamepad_extensions.dart | 3 +++ lib/src/dom/generic_sensor.dart | 3 +++ lib/src/dom/geolocation.dart | 3 +++ lib/src/dom/geolocation_sensor.dart | 3 +++ lib/src/dom/geometry.dart | 3 +++ lib/src/dom/get_installed_related_apps.dart | 3 +++ lib/src/dom/gyroscope.dart | 3 +++ lib/src/dom/hr_time.dart | 3 +++ lib/src/dom/html.dart | 3 +++ lib/src/dom/idle_detection.dart | 3 +++ lib/src/dom/image_capture.dart | 3 +++ lib/src/dom/image_resource.dart | 3 +++ lib/src/dom/indexeddb.dart | 3 +++ lib/src/dom/ink_enhancement.dart | 3 +++ lib/src/dom/input_device_capabilities.dart | 3 +++ lib/src/dom/intersection_observer.dart | 3 +++ lib/src/dom/intervention_reporting.dart | 3 +++ lib/src/dom/is_input_pending.dart | 3 +++ lib/src/dom/js_self_profiling.dart | 3 +++ lib/src/dom/keyboard_lock.dart | 3 +++ lib/src/dom/keyboard_map.dart | 3 +++ lib/src/dom/khr_parallel_shader_compile.dart | 3 +++ lib/src/dom/largest_contentful_paint.dart | 3 +++ lib/src/dom/layout_instability.dart | 3 +++ lib/src/dom/local_font_access.dart | 3 +++ lib/src/dom/longtasks.dart | 3 +++ lib/src/dom/magnetometer.dart | 3 +++ lib/src/dom/manifest_incubations.dart | 3 +++ lib/src/dom/mathml_core.dart | 3 +++ lib/src/dom/media_capabilities.dart | 3 +++ lib/src/dom/media_playback_quality.dart | 3 +++ lib/src/dom/media_source.dart | 3 +++ lib/src/dom/mediacapture_automation.dart | 3 +++ lib/src/dom/mediacapture_fromelement.dart | 3 +++ lib/src/dom/mediacapture_handle_actions.dart | 3 +++ lib/src/dom/mediacapture_region.dart | 3 +++ lib/src/dom/mediacapture_streams.dart | 3 +++ lib/src/dom/mediacapture_transform.dart | 3 +++ lib/src/dom/mediacapture_viewport.dart | 3 +++ lib/src/dom/mediasession.dart | 3 +++ lib/src/dom/mediastream_recording.dart | 3 +++ lib/src/dom/model_element.dart | 3 +++ lib/src/dom/mst_content_hint.dart | 5 +++++ lib/src/dom/navigation_timing.dart | 3 +++ lib/src/dom/netinfo.dart | 3 +++ lib/src/dom/notifications.dart | 3 +++ lib/src/dom/oes_draw_buffers_indexed.dart | 3 +++ lib/src/dom/oes_element_index_uint.dart | 3 +++ lib/src/dom/oes_fbo_render_mipmap.dart | 3 +++ lib/src/dom/oes_standard_derivatives.dart | 3 +++ lib/src/dom/oes_texture_float.dart | 3 +++ lib/src/dom/oes_texture_float_linear.dart | 3 +++ lib/src/dom/oes_texture_half_float.dart | 3 +++ lib/src/dom/oes_texture_half_float_linear.dart | 3 +++ lib/src/dom/oes_vertex_array_object.dart | 3 +++ lib/src/dom/orientation_event.dart | 3 +++ lib/src/dom/orientation_sensor.dart | 3 +++ lib/src/dom/ovr_multiview2.dart | 3 +++ lib/src/dom/page_lifecycle.dart | 5 +++++ lib/src/dom/paint_timing.dart | 3 +++ lib/src/dom/payment_handler.dart | 3 +++ lib/src/dom/payment_request.dart | 3 +++ lib/src/dom/performance_measure_memory.dart | 3 +++ lib/src/dom/performance_timeline.dart | 3 +++ lib/src/dom/periodic_background_sync.dart | 3 +++ lib/src/dom/permissions.dart | 3 +++ lib/src/dom/permissions_policy.dart | 3 +++ lib/src/dom/picture_in_picture.dart | 3 +++ lib/src/dom/pointerevents.dart | 3 +++ lib/src/dom/portals.dart | 3 +++ lib/src/dom/presentation_api.dart | 3 +++ lib/src/dom/private_network_access.dart | 3 +++ lib/src/dom/proximity.dart | 3 +++ lib/src/dom/push_api.dart | 3 +++ lib/src/dom/raw_camera_access.dart | 3 +++ lib/src/dom/real_world_meshing.dart | 3 +++ lib/src/dom/referrer_policy.dart | 5 +++++ lib/src/dom/remote_playback.dart | 3 +++ lib/src/dom/reporting.dart | 3 +++ lib/src/dom/requestidlecallback.dart | 3 +++ lib/src/dom/requeststorageaccessfor.dart | 3 +++ lib/src/dom/resize_observer.dart | 3 +++ lib/src/dom/resource_timing.dart | 3 +++ lib/src/dom/sanitizer_api.dart | 3 +++ lib/src/dom/scheduling_apis.dart | 3 +++ lib/src/dom/screen_capture.dart | 3 +++ lib/src/dom/screen_orientation.dart | 3 +++ lib/src/dom/screen_wake_lock.dart | 3 +++ lib/src/dom/scroll_animations.dart | 3 +++ lib/src/dom/scroll_to_text_fragment.dart | 3 +++ lib/src/dom/secure_payment_confirmation.dart | 3 +++ lib/src/dom/selection_api.dart | 3 +++ lib/src/dom/serial.dart | 3 +++ lib/src/dom/server_timing.dart | 3 +++ lib/src/dom/service_workers.dart | 3 +++ lib/src/dom/shape_detection_api.dart | 3 +++ lib/src/dom/shared_storage.dart | 3 +++ lib/src/dom/speech_api.dart | 3 +++ lib/src/dom/storage.dart | 3 +++ lib/src/dom/storage_buckets.dart | 3 +++ lib/src/dom/streams.dart | 3 +++ lib/src/dom/svg.dart | 3 +++ lib/src/dom/svg_animations.dart | 3 +++ lib/src/dom/testutils.dart | 3 +++ lib/src/dom/text_detection_api.dart | 3 +++ lib/src/dom/touch_events.dart | 3 +++ lib/src/dom/trust_token_api.dart | 3 +++ lib/src/dom/trusted_types.dart | 3 +++ lib/src/dom/turtledove.dart | 3 +++ lib/src/dom/ua_client_hints.dart | 3 +++ lib/src/dom/uievents.dart | 3 +++ lib/src/dom/url.dart | 3 +++ lib/src/dom/urlpattern.dart | 3 +++ lib/src/dom/user_timing.dart | 3 +++ lib/src/dom/vibration.dart | 3 +++ lib/src/dom/video_rvfc.dart | 3 +++ lib/src/dom/virtual_keyboard.dart | 3 +++ lib/src/dom/wasm_js_api.dart | 3 +++ lib/src/dom/web_animations.dart | 3 +++ lib/src/dom/web_animations_2.dart | 3 +++ lib/src/dom/web_app_launch.dart | 3 +++ lib/src/dom/web_bluetooth.dart | 3 +++ lib/src/dom/web_locks.dart | 3 +++ lib/src/dom/web_nfc.dart | 3 +++ lib/src/dom/web_otp.dart | 3 +++ lib/src/dom/web_share.dart | 3 +++ lib/src/dom/webaudio.dart | 3 +++ lib/src/dom/webauthn.dart | 3 +++ lib/src/dom/webcodecs.dart | 3 +++ lib/src/dom/webcodecs_aac_codec_registration.dart | 3 +++ lib/src/dom/webcodecs_av1_codec_registration.dart | 3 +++ lib/src/dom/webcodecs_avc_codec_registration.dart | 3 +++ lib/src/dom/webcodecs_flac_codec_registration.dart | 3 +++ lib/src/dom/webcodecs_hevc_codec_registration.dart | 3 +++ lib/src/dom/webcodecs_opus_codec_registration.dart | 3 +++ lib/src/dom/webcodecs_vp9_codec_registration.dart | 3 +++ lib/src/dom/webcrypto_secure_curves.dart | 3 +++ lib/src/dom/webcryptoapi.dart | 3 +++ lib/src/dom/webgl1.dart | 3 +++ lib/src/dom/webgl2.dart | 3 +++ .../webgl_blend_equation_advanced_coherent.dart | 3 +++ lib/src/dom/webgl_clip_cull_distance.dart | 3 +++ lib/src/dom/webgl_color_buffer_float.dart | 3 +++ lib/src/dom/webgl_compressed_texture_astc.dart | 3 +++ lib/src/dom/webgl_compressed_texture_etc.dart | 3 +++ lib/src/dom/webgl_compressed_texture_etc1.dart | 3 +++ lib/src/dom/webgl_compressed_texture_pvrtc.dart | 3 +++ lib/src/dom/webgl_compressed_texture_s3tc.dart | 3 +++ .../dom/webgl_compressed_texture_s3tc_srgb.dart | 3 +++ lib/src/dom/webgl_debug_renderer_info.dart | 3 +++ lib/src/dom/webgl_debug_shaders.dart | 3 +++ lib/src/dom/webgl_depth_texture.dart | 3 +++ lib/src/dom/webgl_draw_buffers.dart | 3 +++ ...l_draw_instanced_base_vertex_base_instance.dart | 3 +++ lib/src/dom/webgl_lose_context.dart | 3 +++ lib/src/dom/webgl_multi_draw.dart | 3 +++ ...i_draw_instanced_base_vertex_base_instance.dart | 3 +++ lib/src/dom/webgl_provoking_vertex.dart | 3 +++ lib/src/dom/webgpu.dart | 3 +++ lib/src/dom/webhid.dart | 3 +++ lib/src/dom/webidl.dart | 3 +++ lib/src/dom/webmidi.dart | 3 +++ lib/src/dom/webnn.dart | 3 +++ lib/src/dom/webrtc.dart | 3 +++ lib/src/dom/webrtc_encoded_transform.dart | 3 +++ lib/src/dom/webrtc_ice.dart | 3 +++ lib/src/dom/webrtc_identity.dart | 3 +++ lib/src/dom/webrtc_priority.dart | 5 +++++ lib/src/dom/webrtc_stats.dart | 3 +++ lib/src/dom/websockets.dart | 3 +++ lib/src/dom/webtransport.dart | 3 +++ lib/src/dom/webusb.dart | 3 +++ lib/src/dom/webvtt.dart | 3 +++ lib/src/dom/webxr.dart | 3 +++ lib/src/dom/webxr_ar_module.dart | 5 +++++ lib/src/dom/webxr_depth_sensing.dart | 3 +++ lib/src/dom/webxr_dom_overlays.dart | 3 +++ lib/src/dom/webxr_hand_input.dart | 3 +++ lib/src/dom/webxr_hit_test.dart | 3 +++ lib/src/dom/webxr_lighting_estimation.dart | 3 +++ lib/src/dom/webxrlayers.dart | 3 +++ lib/src/dom/window_controls_overlay.dart | 3 +++ lib/src/dom/window_management.dart | 3 +++ lib/src/dom/xhr.dart | 3 +++ tool/generator/translator.dart | 14 +++++++++++--- 278 files changed, 854 insertions(+), 3 deletions(-) diff --git a/lib/src/dom/accelerometer.dart b/lib/src/dom/accelerometer.dart index 6bd3c2f9..13d51535 100644 --- a/lib/src/dom/accelerometer.dart +++ b/lib/src/dom/accelerometer.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library accelerometer; + import 'dart:js_interop'; import 'generic_sensor.dart'; diff --git a/lib/src/dom/ambient_light.dart b/lib/src/dom/ambient_light.dart index 404c714b..e75510a4 100644 --- a/lib/src/dom/ambient_light.dart +++ b/lib/src/dom/ambient_light.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ambient_light; + import 'dart:js_interop'; import 'generic_sensor.dart'; diff --git a/lib/src/dom/anchors.dart b/lib/src/dom/anchors.dart index 54f1811e..9b0f648b 100644 --- a/lib/src/dom/anchors.dart +++ b/lib/src/dom/anchors.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library anchors; + import 'dart:js_interop'; import 'webxr.dart'; diff --git a/lib/src/dom/angle_instanced_arrays.dart b/lib/src/dom/angle_instanced_arrays.dart index c35494fa..f1b52177 100644 --- a/lib/src/dom/angle_instanced_arrays.dart +++ b/lib/src/dom/angle_instanced_arrays.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library angle_instanced_arrays; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/attribution_reporting_api.dart b/lib/src/dom/attribution_reporting_api.dart index 77cd38e2..890856c4 100644 --- a/lib/src/dom/attribution_reporting_api.dart +++ b/lib/src/dom/attribution_reporting_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library attribution_reporting_api; + import 'dart:js_interop'; extension type AttributionReportingRequestOptions._(JSObject _) diff --git a/lib/src/dom/audio_output.dart b/lib/src/dom/audio_output.dart index e96a1e36..6db193ba 100644 --- a/lib/src/dom/audio_output.dart +++ b/lib/src/dom/audio_output.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library audio_output; + import 'dart:js_interop'; extension type AudioOutputOptions._(JSObject _) implements JSObject { diff --git a/lib/src/dom/audio_session.dart b/lib/src/dom/audio_session.dart index 26b551b8..5bd61f5d 100644 --- a/lib/src/dom/audio_session.dart +++ b/lib/src/dom/audio_session.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library audio_session; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/autoplay_detection.dart b/lib/src/dom/autoplay_detection.dart index b8274aed..0e2380d1 100644 --- a/lib/src/dom/autoplay_detection.dart +++ b/lib/src/dom/autoplay_detection.dart @@ -4,5 +4,10 @@ // Generated from Web IDL definitions. +@JS() +library autoplay_detection; + +import 'dart:js_interop'; + typedef AutoplayPolicy = String; typedef AutoplayPolicyMediaType = String; diff --git a/lib/src/dom/background_fetch.dart b/lib/src/dom/background_fetch.dart index 674958ed..1751e728 100644 --- a/lib/src/dom/background_fetch.dart +++ b/lib/src/dom/background_fetch.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library background_fetch; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/background_sync.dart b/lib/src/dom/background_sync.dart index bacd5a75..46fc682f 100644 --- a/lib/src/dom/background_sync.dart +++ b/lib/src/dom/background_sync.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library background_sync; + import 'dart:js_interop'; import 'service_workers.dart'; diff --git a/lib/src/dom/battery_status.dart b/lib/src/dom/battery_status.dart index 752d5801..31e696b3 100644 --- a/lib/src/dom/battery_status.dart +++ b/lib/src/dom/battery_status.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library battery_status; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/capture_handle_identity.dart b/lib/src/dom/capture_handle_identity.dart index f671de52..522af4d4 100644 --- a/lib/src/dom/capture_handle_identity.dart +++ b/lib/src/dom/capture_handle_identity.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library capture_handle_identity; + import 'dart:js_interop'; extension type CaptureHandleConfig._(JSObject _) implements JSObject { diff --git a/lib/src/dom/captured_mouse_events.dart b/lib/src/dom/captured_mouse_events.dart index 0f473401..8fec3a29 100644 --- a/lib/src/dom/captured_mouse_events.dart +++ b/lib/src/dom/captured_mouse_events.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library captured_mouse_events; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/clipboard_apis.dart b/lib/src/dom/clipboard_apis.dart index e444a1d1..b893a72e 100644 --- a/lib/src/dom/clipboard_apis.dart +++ b/lib/src/dom/clipboard_apis.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library clipboard_apis; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/compression.dart b/lib/src/dom/compression.dart index f7ee1fb6..0f90838f 100644 --- a/lib/src/dom/compression.dart +++ b/lib/src/dom/compression.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library compression; + import 'dart:js_interop'; import 'streams.dart'; diff --git a/lib/src/dom/compute_pressure.dart b/lib/src/dom/compute_pressure.dart index 8e242f2c..e55be470 100644 --- a/lib/src/dom/compute_pressure.dart +++ b/lib/src/dom/compute_pressure.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library compute_pressure; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/console.dart b/lib/src/dom/console.dart index 17b68cbc..8e148d0d 100644 --- a/lib/src/dom/console.dart +++ b/lib/src/dom/console.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library console; + import 'dart:js_interop'; @JS() diff --git a/lib/src/dom/contact_picker.dart b/lib/src/dom/contact_picker.dart index f148e3e6..f3670528 100644 --- a/lib/src/dom/contact_picker.dart +++ b/lib/src/dom/contact_picker.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library contact_picker; + import 'dart:js_interop'; typedef ContactProperty = String; diff --git a/lib/src/dom/content_index.dart b/lib/src/dom/content_index.dart index 4acf9d51..6ae23a4c 100644 --- a/lib/src/dom/content_index.dart +++ b/lib/src/dom/content_index.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library content_index; + import 'dart:js_interop'; import 'service_workers.dart'; diff --git a/lib/src/dom/cookie_store.dart b/lib/src/dom/cookie_store.dart index 0744659a..5791a01c 100644 --- a/lib/src/dom/cookie_store.dart +++ b/lib/src/dom/cookie_store.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library cookie_store; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/crash_reporting.dart b/lib/src/dom/crash_reporting.dart index a041c060..f02c33bc 100644 --- a/lib/src/dom/crash_reporting.dart +++ b/lib/src/dom/crash_reporting.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library crash_reporting; + import 'dart:js_interop'; import 'reporting.dart'; diff --git a/lib/src/dom/credential_management.dart b/lib/src/dom/credential_management.dart index 0a2ceeea..30896a04 100644 --- a/lib/src/dom/credential_management.dart +++ b/lib/src/dom/credential_management.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library credential_management; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/csp.dart b/lib/src/dom/csp.dart index 28f7d1be..58c951fb 100644 --- a/lib/src/dom/csp.dart +++ b/lib/src/dom/csp.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library csp; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/csp_next.dart b/lib/src/dom/csp_next.dart index 009d2653..3da49fa5 100644 --- a/lib/src/dom/csp_next.dart +++ b/lib/src/dom/csp_next.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library csp_next; + import 'dart:js_interop'; import 'reporting.dart'; diff --git a/lib/src/dom/css_anchor_position.dart b/lib/src/dom/css_anchor_position.dart index 9c85f869..fb8b1968 100644 --- a/lib/src/dom/css_anchor_position.dart +++ b/lib/src/dom/css_anchor_position.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_anchor_position; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_animation_worklet.dart b/lib/src/dom/css_animation_worklet.dart index bc8ce068..848d58c2 100644 --- a/lib/src/dom/css_animation_worklet.dart +++ b/lib/src/dom/css_animation_worklet.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_animation_worklet; + import 'dart:js_interop'; import 'html.dart'; diff --git a/lib/src/dom/css_animations.dart b/lib/src/dom/css_animations.dart index 17a60673..f9a7b889 100644 --- a/lib/src/dom/css_animations.dart +++ b/lib/src/dom/css_animations.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_animations; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_animations_2.dart b/lib/src/dom/css_animations_2.dart index 89026622..9d20b801 100644 --- a/lib/src/dom/css_animations_2.dart +++ b/lib/src/dom/css_animations_2.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_animations_2; + import 'dart:js_interop'; import 'web_animations.dart'; diff --git a/lib/src/dom/css_cascade.dart b/lib/src/dom/css_cascade.dart index 2becea6d..338121b8 100644 --- a/lib/src/dom/css_cascade.dart +++ b/lib/src/dom/css_cascade.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_cascade; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_cascade_6.dart b/lib/src/dom/css_cascade_6.dart index 19871c4d..d3dbe451 100644 --- a/lib/src/dom/css_cascade_6.dart +++ b/lib/src/dom/css_cascade_6.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_cascade_6; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_color_5.dart b/lib/src/dom/css_color_5.dart index 08226bdb..e2fc0a19 100644 --- a/lib/src/dom/css_color_5.dart +++ b/lib/src/dom/css_color_5.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_color_5; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_conditional.dart b/lib/src/dom/css_conditional.dart index cba3da83..1f098599 100644 --- a/lib/src/dom/css_conditional.dart +++ b/lib/src/dom/css_conditional.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_conditional; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_contain.dart b/lib/src/dom/css_contain.dart index ce1f3b67..ebf4012d 100644 --- a/lib/src/dom/css_contain.dart +++ b/lib/src/dom/css_contain.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_contain; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/css_contain_3.dart b/lib/src/dom/css_contain_3.dart index ffd352ce..7b8226c8 100644 --- a/lib/src/dom/css_contain_3.dart +++ b/lib/src/dom/css_contain_3.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_contain_3; + import 'dart:js_interop'; import 'css_conditional.dart'; diff --git a/lib/src/dom/css_counter_styles.dart b/lib/src/dom/css_counter_styles.dart index a6acb7d2..459bc2cb 100644 --- a/lib/src/dom/css_counter_styles.dart +++ b/lib/src/dom/css_counter_styles.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_counter_styles; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_font_loading.dart b/lib/src/dom/css_font_loading.dart index b6afae34..fc14cd25 100644 --- a/lib/src/dom/css_font_loading.dart +++ b/lib/src/dom/css_font_loading.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_font_loading; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/css_fonts.dart b/lib/src/dom/css_fonts.dart index a85e4998..90d08d0b 100644 --- a/lib/src/dom/css_fonts.dart +++ b/lib/src/dom/css_fonts.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_fonts; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_highlight_api.dart b/lib/src/dom/css_highlight_api.dart index 905b93fb..8f9ec5f8 100644 --- a/lib/src/dom/css_highlight_api.dart +++ b/lib/src/dom/css_highlight_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_highlight_api; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/css_layout_api.dart b/lib/src/dom/css_layout_api.dart index 33c6abba..2c00dfb8 100644 --- a/lib/src/dom/css_layout_api.dart +++ b/lib/src/dom/css_layout_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_layout_api; + import 'dart:js_interop'; import 'css_typed_om.dart'; diff --git a/lib/src/dom/css_masking.dart b/lib/src/dom/css_masking.dart index 354273c8..655a95bd 100644 --- a/lib/src/dom/css_masking.dart +++ b/lib/src/dom/css_masking.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_masking; + import 'dart:js_interop'; import 'svg.dart'; diff --git a/lib/src/dom/css_nav.dart b/lib/src/dom/css_nav.dart index 2a5a8649..8e87d0a3 100644 --- a/lib/src/dom/css_nav.dart +++ b/lib/src/dom/css_nav.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_nav; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/css_paint_api.dart b/lib/src/dom/css_paint_api.dart index 649abd16..0a7f5d13 100644 --- a/lib/src/dom/css_paint_api.dart +++ b/lib/src/dom/css_paint_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_paint_api; + import 'dart:js_interop'; import 'geometry.dart'; diff --git a/lib/src/dom/css_parser_api.dart b/lib/src/dom/css_parser_api.dart index fe0184df..091816a7 100644 --- a/lib/src/dom/css_parser_api.dart +++ b/lib/src/dom/css_parser_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_parser_api; + import 'dart:js_interop'; typedef CSSStringSource = JSAny; diff --git a/lib/src/dom/css_properties_values_api.dart b/lib/src/dom/css_properties_values_api.dart index 3d80b662..ce28c5f1 100644 --- a/lib/src/dom/css_properties_values_api.dart +++ b/lib/src/dom/css_properties_values_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_properties_values_api; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_pseudo.dart b/lib/src/dom/css_pseudo.dart index 8c9489d8..e9fed080 100644 --- a/lib/src/dom/css_pseudo.dart +++ b/lib/src/dom/css_pseudo.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_pseudo; + import 'dart:js_interop'; import 'cssom_view.dart'; diff --git a/lib/src/dom/css_regions.dart b/lib/src/dom/css_regions.dart index 5bb91537..6cd4c3ea 100644 --- a/lib/src/dom/css_regions.dart +++ b/lib/src/dom/css_regions.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_regions; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/css_transitions.dart b/lib/src/dom/css_transitions.dart index 98ddeaa3..d1bc8e1f 100644 --- a/lib/src/dom/css_transitions.dart +++ b/lib/src/dom/css_transitions.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_transitions; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/css_transitions_2.dart b/lib/src/dom/css_transitions_2.dart index 23804942..e88fb937 100644 --- a/lib/src/dom/css_transitions_2.dart +++ b/lib/src/dom/css_transitions_2.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_transitions_2; + import 'dart:js_interop'; import 'cssom.dart'; diff --git a/lib/src/dom/css_typed_om.dart b/lib/src/dom/css_typed_om.dart index bf8eed69..db9a5964 100644 --- a/lib/src/dom/css_typed_om.dart +++ b/lib/src/dom/css_typed_om.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_typed_om; + import 'dart:js_interop'; import 'geometry.dart'; diff --git a/lib/src/dom/css_view_transitions.dart b/lib/src/dom/css_view_transitions.dart index 43524f7c..0bb00501 100644 --- a/lib/src/dom/css_view_transitions.dart +++ b/lib/src/dom/css_view_transitions.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_view_transitions; + import 'dart:js_interop'; typedef UpdateCallback = JSFunction; diff --git a/lib/src/dom/css_view_transitions_2.dart b/lib/src/dom/css_view_transitions_2.dart index 65eecf68..88130e8a 100644 --- a/lib/src/dom/css_view_transitions_2.dart +++ b/lib/src/dom/css_view_transitions_2.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library css_view_transitions_2; + import 'dart:js_interop'; import 'css_view_transitions.dart'; diff --git a/lib/src/dom/cssom.dart b/lib/src/dom/cssom.dart index 2ed8c7bb..3ea19d30 100644 --- a/lib/src/dom/cssom.dart +++ b/lib/src/dom/cssom.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library cssom; + import 'dart:js_interop'; import 'css_highlight_api.dart'; diff --git a/lib/src/dom/cssom_view.dart b/lib/src/dom/cssom_view.dart index 6c4a1933..346f7d47 100644 --- a/lib/src/dom/cssom_view.dart +++ b/lib/src/dom/cssom_view.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library cssom_view; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/custom_state_pseudo_class.dart b/lib/src/dom/custom_state_pseudo_class.dart index 733ebe3a..b59a8b9f 100644 --- a/lib/src/dom/custom_state_pseudo_class.dart +++ b/lib/src/dom/custom_state_pseudo_class.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library custom_state_pseudo_class; + import 'dart:js_interop'; extension type CustomStateSet._(JSObject _) implements JSObject { diff --git a/lib/src/dom/datacue.dart b/lib/src/dom/datacue.dart index 983e0934..1df2f3c2 100644 --- a/lib/src/dom/datacue.dart +++ b/lib/src/dom/datacue.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library datacue; + import 'dart:js_interop'; import 'html.dart'; diff --git a/lib/src/dom/deprecation_reporting.dart b/lib/src/dom/deprecation_reporting.dart index 5fbf15ed..b32fa190 100644 --- a/lib/src/dom/deprecation_reporting.dart +++ b/lib/src/dom/deprecation_reporting.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library deprecation_reporting; + import 'dart:js_interop'; import 'reporting.dart'; diff --git a/lib/src/dom/device_posture.dart b/lib/src/dom/device_posture.dart index acfefaf8..76d6e28d 100644 --- a/lib/src/dom/device_posture.dart +++ b/lib/src/dom/device_posture.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library device_posture; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/digital_goods.dart b/lib/src/dom/digital_goods.dart index f8856ea4..69859f98 100644 --- a/lib/src/dom/digital_goods.dart +++ b/lib/src/dom/digital_goods.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library digital_goods; + import 'dart:js_interop'; import 'payment_request.dart'; diff --git a/lib/src/dom/document_picture_in_picture.dart b/lib/src/dom/document_picture_in_picture.dart index 37d12819..bbc3a480 100644 --- a/lib/src/dom/document_picture_in_picture.dart +++ b/lib/src/dom/document_picture_in_picture.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library document_picture_in_picture; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/dom.dart b/lib/src/dom/dom.dart index 0f98f051..19a5c43d 100644 --- a/lib/src/dom/dom.dart +++ b/lib/src/dom/dom.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library dom; + import 'dart:js_interop'; import 'css_font_loading.dart'; diff --git a/lib/src/dom/dom_parsing.dart b/lib/src/dom/dom_parsing.dart index 7921cdb5..5754a2ad 100644 --- a/lib/src/dom/dom_parsing.dart +++ b/lib/src/dom/dom_parsing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library dom_parsing; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/edit_context.dart b/lib/src/dom/edit_context.dart index cc40cf47..7f259fa3 100644 --- a/lib/src/dom/edit_context.dart +++ b/lib/src/dom/edit_context.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library edit_context; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/element_capture.dart b/lib/src/dom/element_capture.dart index 55903c74..359c4437 100644 --- a/lib/src/dom/element_capture.dart +++ b/lib/src/dom/element_capture.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library element_capture; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/element_timing.dart b/lib/src/dom/element_timing.dart index ef3eaf3f..641ecaa1 100644 --- a/lib/src/dom/element_timing.dart +++ b/lib/src/dom/element_timing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library element_timing; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/encoding.dart b/lib/src/dom/encoding.dart index c65aef68..57372a04 100644 --- a/lib/src/dom/encoding.dart +++ b/lib/src/dom/encoding.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library encoding; + import 'dart:js_interop'; import 'streams.dart'; diff --git a/lib/src/dom/encrypted_media.dart b/lib/src/dom/encrypted_media.dart index 9aa9b446..82af5c9c 100644 --- a/lib/src/dom/encrypted_media.dart +++ b/lib/src/dom/encrypted_media.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library encrypted_media; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/entries_api.dart b/lib/src/dom/entries_api.dart index 86ca3527..f5a2d3e8 100644 --- a/lib/src/dom/entries_api.dart +++ b/lib/src/dom/entries_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library entries_api; + import 'dart:js_interop'; typedef ErrorCallback = JSFunction; diff --git a/lib/src/dom/event_timing.dart b/lib/src/dom/event_timing.dart index 3076570a..540d58da 100644 --- a/lib/src/dom/event_timing.dart +++ b/lib/src/dom/event_timing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library event_timing; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/ext_blend_minmax.dart b/lib/src/dom/ext_blend_minmax.dart index a4398deb..69c12db3 100644 --- a/lib/src/dom/ext_blend_minmax.dart +++ b/lib/src/dom/ext_blend_minmax.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_blend_minmax; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/ext_color_buffer_float.dart b/lib/src/dom/ext_color_buffer_float.dart index f70aa1f4..870be424 100644 --- a/lib/src/dom/ext_color_buffer_float.dart +++ b/lib/src/dom/ext_color_buffer_float.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_color_buffer_float; + import 'dart:js_interop'; extension type EXT_color_buffer_float._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/ext_color_buffer_half_float.dart b/lib/src/dom/ext_color_buffer_half_float.dart index 7f6ef7dd..77972798 100644 --- a/lib/src/dom/ext_color_buffer_half_float.dart +++ b/lib/src/dom/ext_color_buffer_half_float.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_color_buffer_half_float; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/ext_disjoint_timer_query.dart b/lib/src/dom/ext_disjoint_timer_query.dart index 78161885..e0cdbe8a 100644 --- a/lib/src/dom/ext_disjoint_timer_query.dart +++ b/lib/src/dom/ext_disjoint_timer_query.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_disjoint_timer_query; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/ext_disjoint_timer_query_webgl2.dart b/lib/src/dom/ext_disjoint_timer_query_webgl2.dart index d28f2707..3002cb2c 100644 --- a/lib/src/dom/ext_disjoint_timer_query_webgl2.dart +++ b/lib/src/dom/ext_disjoint_timer_query_webgl2.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_disjoint_timer_query_webgl2; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/ext_float_blend.dart b/lib/src/dom/ext_float_blend.dart index c08ad068..edbb9028 100644 --- a/lib/src/dom/ext_float_blend.dart +++ b/lib/src/dom/ext_float_blend.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_float_blend; + import 'dart:js_interop'; extension type EXT_float_blend._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/ext_frag_depth.dart b/lib/src/dom/ext_frag_depth.dart index 47e4bab6..f195e8ea 100644 --- a/lib/src/dom/ext_frag_depth.dart +++ b/lib/src/dom/ext_frag_depth.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_frag_depth; + import 'dart:js_interop'; extension type EXT_frag_depth._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/ext_shader_texture_lod.dart b/lib/src/dom/ext_shader_texture_lod.dart index d1eaa46b..54c1bfb2 100644 --- a/lib/src/dom/ext_shader_texture_lod.dart +++ b/lib/src/dom/ext_shader_texture_lod.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_shader_texture_lod; + import 'dart:js_interop'; extension type EXT_shader_texture_lod._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/ext_srgb.dart b/lib/src/dom/ext_srgb.dart index 7502c280..fd302904 100644 --- a/lib/src/dom/ext_srgb.dart +++ b/lib/src/dom/ext_srgb.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_srgb; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/ext_texture_compression_bptc.dart b/lib/src/dom/ext_texture_compression_bptc.dart index ac71188e..657657a4 100644 --- a/lib/src/dom/ext_texture_compression_bptc.dart +++ b/lib/src/dom/ext_texture_compression_bptc.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_texture_compression_bptc; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/ext_texture_compression_rgtc.dart b/lib/src/dom/ext_texture_compression_rgtc.dart index ebe4ae3c..3259b5c5 100644 --- a/lib/src/dom/ext_texture_compression_rgtc.dart +++ b/lib/src/dom/ext_texture_compression_rgtc.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_texture_compression_rgtc; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/ext_texture_filter_anisotropic.dart b/lib/src/dom/ext_texture_filter_anisotropic.dart index 086c26b6..3e96b8e9 100644 --- a/lib/src/dom/ext_texture_filter_anisotropic.dart +++ b/lib/src/dom/ext_texture_filter_anisotropic.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_texture_filter_anisotropic; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/ext_texture_norm16.dart b/lib/src/dom/ext_texture_norm16.dart index 950e2bf2..8daed4d9 100644 --- a/lib/src/dom/ext_texture_norm16.dart +++ b/lib/src/dom/ext_texture_norm16.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ext_texture_norm16; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/eyedropper_api.dart b/lib/src/dom/eyedropper_api.dart index b640abe0..bfc3a153 100644 --- a/lib/src/dom/eyedropper_api.dart +++ b/lib/src/dom/eyedropper_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library eyedropper_api; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/fedcm.dart b/lib/src/dom/fedcm.dart index 7e67f4e7..28b17724 100644 --- a/lib/src/dom/fedcm.dart +++ b/lib/src/dom/fedcm.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library fedcm; + import 'dart:js_interop'; import 'credential_management.dart'; diff --git a/lib/src/dom/fenced_frame.dart b/lib/src/dom/fenced_frame.dart index dce2afc0..c3a50f87 100644 --- a/lib/src/dom/fenced_frame.dart +++ b/lib/src/dom/fenced_frame.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library fenced_frame; + import 'dart:js_interop'; import 'html.dart'; diff --git a/lib/src/dom/fetch.dart b/lib/src/dom/fetch.dart index 67bc84d4..fecc3d06 100644 --- a/lib/src/dom/fetch.dart +++ b/lib/src/dom/fetch.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library fetch; + import 'dart:js_interop'; import 'attribution_reporting_api.dart'; diff --git a/lib/src/dom/fido.dart b/lib/src/dom/fido.dart index 081ba407..5365ed6a 100644 --- a/lib/src/dom/fido.dart +++ b/lib/src/dom/fido.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library fido; + import 'dart:js_interop'; extension type HMACGetSecretInput._(JSObject _) implements JSObject { diff --git a/lib/src/dom/file_system_access.dart b/lib/src/dom/file_system_access.dart index d55049a1..5bf650e5 100644 --- a/lib/src/dom/file_system_access.dart +++ b/lib/src/dom/file_system_access.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library file_system_access; + import 'dart:js_interop'; import 'fs.dart'; diff --git a/lib/src/dom/fileapi.dart b/lib/src/dom/fileapi.dart index 5a11c870..6abfeaa7 100644 --- a/lib/src/dom/fileapi.dart +++ b/lib/src/dom/fileapi.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library fileapi; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/filter_effects.dart b/lib/src/dom/filter_effects.dart index 347d0162..4569a580 100644 --- a/lib/src/dom/filter_effects.dart +++ b/lib/src/dom/filter_effects.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library filter_effects; + import 'dart:js_interop'; import 'svg.dart'; diff --git a/lib/src/dom/font_metrics_api.dart b/lib/src/dom/font_metrics_api.dart index e5add12c..2abe5d10 100644 --- a/lib/src/dom/font_metrics_api.dart +++ b/lib/src/dom/font_metrics_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library font_metrics_api; + import 'dart:js_interop'; extension type FontMetrics._(JSObject _) implements JSObject { diff --git a/lib/src/dom/fs.dart b/lib/src/dom/fs.dart index 69b7c7a1..2bea39ad 100644 --- a/lib/src/dom/fs.dart +++ b/lib/src/dom/fs.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library fs; + import 'dart:js_interop'; import 'file_system_access.dart'; diff --git a/lib/src/dom/fullscreen.dart b/lib/src/dom/fullscreen.dart index 814869ac..6f7fdc95 100644 --- a/lib/src/dom/fullscreen.dart +++ b/lib/src/dom/fullscreen.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library fullscreen; + import 'dart:js_interop'; import 'window_management.dart'; diff --git a/lib/src/dom/gamepad.dart b/lib/src/dom/gamepad.dart index f0254092..bff3f892 100644 --- a/lib/src/dom/gamepad.dart +++ b/lib/src/dom/gamepad.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library gamepad; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/gamepad_extensions.dart b/lib/src/dom/gamepad_extensions.dart index 0ccffb5b..61f27d0a 100644 --- a/lib/src/dom/gamepad_extensions.dart +++ b/lib/src/dom/gamepad_extensions.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library gamepad_extensions; + import 'dart:js_interop'; typedef GamepadHand = String; diff --git a/lib/src/dom/generic_sensor.dart b/lib/src/dom/generic_sensor.dart index 59b7a41e..9065d36a 100644 --- a/lib/src/dom/generic_sensor.dart +++ b/lib/src/dom/generic_sensor.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library generic_sensor; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/geolocation.dart b/lib/src/dom/geolocation.dart index aac63069..8298408c 100644 --- a/lib/src/dom/geolocation.dart +++ b/lib/src/dom/geolocation.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library geolocation; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/geolocation_sensor.dart b/lib/src/dom/geolocation_sensor.dart index ac47a4fb..f2bff80f 100644 --- a/lib/src/dom/geolocation_sensor.dart +++ b/lib/src/dom/geolocation_sensor.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library geolocation_sensor; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/geometry.dart b/lib/src/dom/geometry.dart index 93c2e336..617979cb 100644 --- a/lib/src/dom/geometry.dart +++ b/lib/src/dom/geometry.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library geometry; + import 'dart:js_interop'; extension type DOMPointReadOnly._(JSObject _) implements JSObject { diff --git a/lib/src/dom/get_installed_related_apps.dart b/lib/src/dom/get_installed_related_apps.dart index 6a8a050d..d33c3cea 100644 --- a/lib/src/dom/get_installed_related_apps.dart +++ b/lib/src/dom/get_installed_related_apps.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library get_installed_related_apps; + import 'dart:js_interop'; extension type RelatedApplication._(JSObject _) implements JSObject { diff --git a/lib/src/dom/gyroscope.dart b/lib/src/dom/gyroscope.dart index 62295fa1..e93f7552 100644 --- a/lib/src/dom/gyroscope.dart +++ b/lib/src/dom/gyroscope.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library gyroscope; + import 'dart:js_interop'; import 'generic_sensor.dart'; diff --git a/lib/src/dom/hr_time.dart b/lib/src/dom/hr_time.dart index ed17c9b3..10454a8b 100644 --- a/lib/src/dom/hr_time.dart +++ b/lib/src/dom/hr_time.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library hr_time; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/html.dart b/lib/src/dom/html.dart index 30f14e28..34a1be38 100644 --- a/lib/src/dom/html.dart +++ b/lib/src/dom/html.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library html; + import 'dart:js_interop'; import 'audio_session.dart'; diff --git a/lib/src/dom/idle_detection.dart b/lib/src/dom/idle_detection.dart index 5b0492e1..931011f0 100644 --- a/lib/src/dom/idle_detection.dart +++ b/lib/src/dom/idle_detection.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library idle_detection; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/image_capture.dart b/lib/src/dom/image_capture.dart index 13f0600f..c882a32b 100644 --- a/lib/src/dom/image_capture.dart +++ b/lib/src/dom/image_capture.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library image_capture; + import 'dart:js_interop'; import 'mediacapture_streams.dart'; diff --git a/lib/src/dom/image_resource.dart b/lib/src/dom/image_resource.dart index 1391dea1..2f6fe6a1 100644 --- a/lib/src/dom/image_resource.dart +++ b/lib/src/dom/image_resource.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library image_resource; + import 'dart:js_interop'; extension type ImageResource._(JSObject _) implements JSObject { diff --git a/lib/src/dom/indexeddb.dart b/lib/src/dom/indexeddb.dart index 5dcd1eda..81c689c8 100644 --- a/lib/src/dom/indexeddb.dart +++ b/lib/src/dom/indexeddb.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library indexeddb; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/ink_enhancement.dart b/lib/src/dom/ink_enhancement.dart index 178a0bd5..9afe8be4 100644 --- a/lib/src/dom/ink_enhancement.dart +++ b/lib/src/dom/ink_enhancement.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ink_enhancement; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/input_device_capabilities.dart b/lib/src/dom/input_device_capabilities.dart index 9a387389..909ef3da 100644 --- a/lib/src/dom/input_device_capabilities.dart +++ b/lib/src/dom/input_device_capabilities.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library input_device_capabilities; + import 'dart:js_interop'; extension type InputDeviceCapabilities._(JSObject _) implements JSObject { diff --git a/lib/src/dom/intersection_observer.dart b/lib/src/dom/intersection_observer.dart index c600bac3..d8d5ede3 100644 --- a/lib/src/dom/intersection_observer.dart +++ b/lib/src/dom/intersection_observer.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library intersection_observer; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/intervention_reporting.dart b/lib/src/dom/intervention_reporting.dart index 072589dd..34af526b 100644 --- a/lib/src/dom/intervention_reporting.dart +++ b/lib/src/dom/intervention_reporting.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library intervention_reporting; + import 'dart:js_interop'; import 'reporting.dart'; diff --git a/lib/src/dom/is_input_pending.dart b/lib/src/dom/is_input_pending.dart index e9ae7fb1..08bf87a3 100644 --- a/lib/src/dom/is_input_pending.dart +++ b/lib/src/dom/is_input_pending.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library is_input_pending; + import 'dart:js_interop'; extension type IsInputPendingOptions._(JSObject _) implements JSObject { diff --git a/lib/src/dom/js_self_profiling.dart b/lib/src/dom/js_self_profiling.dart index 60a12eeb..f3b60069 100644 --- a/lib/src/dom/js_self_profiling.dart +++ b/lib/src/dom/js_self_profiling.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library js_self_profiling; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/keyboard_lock.dart b/lib/src/dom/keyboard_lock.dart index ca7f308f..e0db4278 100644 --- a/lib/src/dom/keyboard_lock.dart +++ b/lib/src/dom/keyboard_lock.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library keyboard_lock; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/keyboard_map.dart b/lib/src/dom/keyboard_map.dart index 11c717e6..952b7122 100644 --- a/lib/src/dom/keyboard_map.dart +++ b/lib/src/dom/keyboard_map.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library keyboard_map; + import 'dart:js_interop'; extension type KeyboardLayoutMap._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/khr_parallel_shader_compile.dart b/lib/src/dom/khr_parallel_shader_compile.dart index 4fbf74c0..719641f0 100644 --- a/lib/src/dom/khr_parallel_shader_compile.dart +++ b/lib/src/dom/khr_parallel_shader_compile.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library khr_parallel_shader_compile; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/largest_contentful_paint.dart b/lib/src/dom/largest_contentful_paint.dart index b091810a..837b4ded 100644 --- a/lib/src/dom/largest_contentful_paint.dart +++ b/lib/src/dom/largest_contentful_paint.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library largest_contentful_paint; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/layout_instability.dart b/lib/src/dom/layout_instability.dart index 0ed85917..512d1c73 100644 --- a/lib/src/dom/layout_instability.dart +++ b/lib/src/dom/layout_instability.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library layout_instability; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/local_font_access.dart b/lib/src/dom/local_font_access.dart index dee22af2..7aabaf72 100644 --- a/lib/src/dom/local_font_access.dart +++ b/lib/src/dom/local_font_access.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library local_font_access; + import 'dart:js_interop'; extension type QueryOptions._(JSObject _) implements JSObject { diff --git a/lib/src/dom/longtasks.dart b/lib/src/dom/longtasks.dart index c46e3ad9..fd12f1e6 100644 --- a/lib/src/dom/longtasks.dart +++ b/lib/src/dom/longtasks.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library longtasks; + import 'dart:js_interop'; import 'performance_timeline.dart'; diff --git a/lib/src/dom/magnetometer.dart b/lib/src/dom/magnetometer.dart index c4e45884..0c8c46a7 100644 --- a/lib/src/dom/magnetometer.dart +++ b/lib/src/dom/magnetometer.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library magnetometer; + import 'dart:js_interop'; import 'generic_sensor.dart'; diff --git a/lib/src/dom/manifest_incubations.dart b/lib/src/dom/manifest_incubations.dart index a6bbddda..91321b7c 100644 --- a/lib/src/dom/manifest_incubations.dart +++ b/lib/src/dom/manifest_incubations.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library manifest_incubations; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/mathml_core.dart b/lib/src/dom/mathml_core.dart index 473a33be..62511838 100644 --- a/lib/src/dom/mathml_core.dart +++ b/lib/src/dom/mathml_core.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mathml_core; + import 'dart:js_interop'; import 'css_typed_om.dart'; diff --git a/lib/src/dom/media_capabilities.dart b/lib/src/dom/media_capabilities.dart index bbb9e299..92bb97c1 100644 --- a/lib/src/dom/media_capabilities.dart +++ b/lib/src/dom/media_capabilities.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library media_capabilities; + import 'dart:js_interop'; import 'encrypted_media.dart'; diff --git a/lib/src/dom/media_playback_quality.dart b/lib/src/dom/media_playback_quality.dart index bb588ad3..4b885366 100644 --- a/lib/src/dom/media_playback_quality.dart +++ b/lib/src/dom/media_playback_quality.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library media_playback_quality; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/media_source.dart b/lib/src/dom/media_source.dart index 462359bb..f11ffb9d 100644 --- a/lib/src/dom/media_source.dart +++ b/lib/src/dom/media_source.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library media_source; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/mediacapture_automation.dart b/lib/src/dom/mediacapture_automation.dart index 7c9d22b6..6af4ea64 100644 --- a/lib/src/dom/mediacapture_automation.dart +++ b/lib/src/dom/mediacapture_automation.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mediacapture_automation; + import 'dart:js_interop'; typedef MockCapturePromptResult = String; diff --git a/lib/src/dom/mediacapture_fromelement.dart b/lib/src/dom/mediacapture_fromelement.dart index d8c43119..02341465 100644 --- a/lib/src/dom/mediacapture_fromelement.dart +++ b/lib/src/dom/mediacapture_fromelement.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mediacapture_fromelement; + import 'dart:js_interop'; import 'html.dart'; diff --git a/lib/src/dom/mediacapture_handle_actions.dart b/lib/src/dom/mediacapture_handle_actions.dart index 883982d9..b0b64a2d 100644 --- a/lib/src/dom/mediacapture_handle_actions.dart +++ b/lib/src/dom/mediacapture_handle_actions.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mediacapture_handle_actions; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/mediacapture_region.dart b/lib/src/dom/mediacapture_region.dart index 0cff90ef..ee5789da 100644 --- a/lib/src/dom/mediacapture_region.dart +++ b/lib/src/dom/mediacapture_region.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mediacapture_region; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/mediacapture_streams.dart b/lib/src/dom/mediacapture_streams.dart index 946ec59d..f4f5a65d 100644 --- a/lib/src/dom/mediacapture_streams.dart +++ b/lib/src/dom/mediacapture_streams.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mediacapture_streams; + import 'dart:js_interop'; import 'audio_output.dart'; diff --git a/lib/src/dom/mediacapture_transform.dart b/lib/src/dom/mediacapture_transform.dart index 5a4eee35..5be32a6f 100644 --- a/lib/src/dom/mediacapture_transform.dart +++ b/lib/src/dom/mediacapture_transform.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mediacapture_transform; + import 'dart:js_interop'; import 'mediacapture_streams.dart'; diff --git a/lib/src/dom/mediacapture_viewport.dart b/lib/src/dom/mediacapture_viewport.dart index 93f8376f..f3fd8991 100644 --- a/lib/src/dom/mediacapture_viewport.dart +++ b/lib/src/dom/mediacapture_viewport.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mediacapture_viewport; + import 'dart:js_interop'; extension type ViewportMediaStreamConstraints._(JSObject _) diff --git a/lib/src/dom/mediasession.dart b/lib/src/dom/mediasession.dart index 9d4c173c..d386aab6 100644 --- a/lib/src/dom/mediasession.dart +++ b/lib/src/dom/mediasession.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mediasession; + import 'dart:js_interop'; typedef MediaSessionActionHandler = JSFunction; diff --git a/lib/src/dom/mediastream_recording.dart b/lib/src/dom/mediastream_recording.dart index 7d2e5f2d..81902d04 100644 --- a/lib/src/dom/mediastream_recording.dart +++ b/lib/src/dom/mediastream_recording.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mediastream_recording; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/model_element.dart b/lib/src/dom/model_element.dart index f6c13256..1a30be1a 100644 --- a/lib/src/dom/model_element.dart +++ b/lib/src/dom/model_element.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library model_element; + import 'dart:js_interop'; import 'html.dart'; diff --git a/lib/src/dom/mst_content_hint.dart b/lib/src/dom/mst_content_hint.dart index 35eb95fd..ac05cab1 100644 --- a/lib/src/dom/mst_content_hint.dart +++ b/lib/src/dom/mst_content_hint.dart @@ -4,4 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library mst_content_hint; + +import 'dart:js_interop'; + typedef RTCDegradationPreference = String; diff --git a/lib/src/dom/navigation_timing.dart b/lib/src/dom/navigation_timing.dart index 7f923db1..34e308f0 100644 --- a/lib/src/dom/navigation_timing.dart +++ b/lib/src/dom/navigation_timing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library navigation_timing; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/netinfo.dart b/lib/src/dom/netinfo.dart index c1f782e6..9b325df8 100644 --- a/lib/src/dom/netinfo.dart +++ b/lib/src/dom/netinfo.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library netinfo; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/notifications.dart b/lib/src/dom/notifications.dart index 16fdabe7..2bf0deac 100644 --- a/lib/src/dom/notifications.dart +++ b/lib/src/dom/notifications.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library notifications; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/oes_draw_buffers_indexed.dart b/lib/src/dom/oes_draw_buffers_indexed.dart index b12b4fac..e15870f4 100644 --- a/lib/src/dom/oes_draw_buffers_indexed.dart +++ b/lib/src/dom/oes_draw_buffers_indexed.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library oes_draw_buffers_indexed; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/oes_element_index_uint.dart b/lib/src/dom/oes_element_index_uint.dart index 6f09137a..dbc89b58 100644 --- a/lib/src/dom/oes_element_index_uint.dart +++ b/lib/src/dom/oes_element_index_uint.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library oes_element_index_uint; + import 'dart:js_interop'; extension type OES_element_index_uint._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/oes_fbo_render_mipmap.dart b/lib/src/dom/oes_fbo_render_mipmap.dart index 82790c9c..9c91f634 100644 --- a/lib/src/dom/oes_fbo_render_mipmap.dart +++ b/lib/src/dom/oes_fbo_render_mipmap.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library oes_fbo_render_mipmap; + import 'dart:js_interop'; extension type OES_fbo_render_mipmap._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/oes_standard_derivatives.dart b/lib/src/dom/oes_standard_derivatives.dart index 1c6f1756..39cc28f2 100644 --- a/lib/src/dom/oes_standard_derivatives.dart +++ b/lib/src/dom/oes_standard_derivatives.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library oes_standard_derivatives; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/oes_texture_float.dart b/lib/src/dom/oes_texture_float.dart index 360c2304..8667222b 100644 --- a/lib/src/dom/oes_texture_float.dart +++ b/lib/src/dom/oes_texture_float.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library oes_texture_float; + import 'dart:js_interop'; extension type OES_texture_float._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/oes_texture_float_linear.dart b/lib/src/dom/oes_texture_float_linear.dart index 771f27dd..d47d7384 100644 --- a/lib/src/dom/oes_texture_float_linear.dart +++ b/lib/src/dom/oes_texture_float_linear.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library oes_texture_float_linear; + import 'dart:js_interop'; extension type OES_texture_float_linear._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/oes_texture_half_float.dart b/lib/src/dom/oes_texture_half_float.dart index 5cd74fdc..4e244f80 100644 --- a/lib/src/dom/oes_texture_half_float.dart +++ b/lib/src/dom/oes_texture_half_float.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library oes_texture_half_float; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/oes_texture_half_float_linear.dart b/lib/src/dom/oes_texture_half_float_linear.dart index 74a6573b..176ffd05 100644 --- a/lib/src/dom/oes_texture_half_float_linear.dart +++ b/lib/src/dom/oes_texture_half_float_linear.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library oes_texture_half_float_linear; + import 'dart:js_interop'; extension type OES_texture_half_float_linear._(JSObject _) diff --git a/lib/src/dom/oes_vertex_array_object.dart b/lib/src/dom/oes_vertex_array_object.dart index b1121161..d53da132 100644 --- a/lib/src/dom/oes_vertex_array_object.dart +++ b/lib/src/dom/oes_vertex_array_object.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library oes_vertex_array_object; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/orientation_event.dart b/lib/src/dom/orientation_event.dart index a3b5e407..f27d283e 100644 --- a/lib/src/dom/orientation_event.dart +++ b/lib/src/dom/orientation_event.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library orientation_event; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/orientation_sensor.dart b/lib/src/dom/orientation_sensor.dart index 1fd227e1..68617497 100644 --- a/lib/src/dom/orientation_sensor.dart +++ b/lib/src/dom/orientation_sensor.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library orientation_sensor; + import 'dart:js_interop'; import 'generic_sensor.dart'; diff --git a/lib/src/dom/ovr_multiview2.dart b/lib/src/dom/ovr_multiview2.dart index 1f13c602..cf5c272a 100644 --- a/lib/src/dom/ovr_multiview2.dart +++ b/lib/src/dom/ovr_multiview2.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ovr_multiview2; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/page_lifecycle.dart b/lib/src/dom/page_lifecycle.dart index 19a45fa5..a4423717 100644 --- a/lib/src/dom/page_lifecycle.dart +++ b/lib/src/dom/page_lifecycle.dart @@ -4,4 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library page_lifecycle; + +import 'dart:js_interop'; + typedef ClientLifecycleState = String; diff --git a/lib/src/dom/paint_timing.dart b/lib/src/dom/paint_timing.dart index 72d2bbcd..22f4c247 100644 --- a/lib/src/dom/paint_timing.dart +++ b/lib/src/dom/paint_timing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library paint_timing; + import 'dart:js_interop'; import 'performance_timeline.dart'; diff --git a/lib/src/dom/payment_handler.dart b/lib/src/dom/payment_handler.dart index f834c039..e1cf6330 100644 --- a/lib/src/dom/payment_handler.dart +++ b/lib/src/dom/payment_handler.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library payment_handler; + import 'dart:js_interop'; import 'payment_request.dart'; diff --git a/lib/src/dom/payment_request.dart b/lib/src/dom/payment_request.dart index e84c9aca..fdeebe3b 100644 --- a/lib/src/dom/payment_request.dart +++ b/lib/src/dom/payment_request.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library payment_request; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/performance_measure_memory.dart b/lib/src/dom/performance_measure_memory.dart index 52268a99..a258ad89 100644 --- a/lib/src/dom/performance_measure_memory.dart +++ b/lib/src/dom/performance_measure_memory.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library performance_measure_memory; + import 'dart:js_interop'; extension type MemoryMeasurement._(JSObject _) implements JSObject { diff --git a/lib/src/dom/performance_timeline.dart b/lib/src/dom/performance_timeline.dart index 4bb9277f..d75875b7 100644 --- a/lib/src/dom/performance_timeline.dart +++ b/lib/src/dom/performance_timeline.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library performance_timeline; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/periodic_background_sync.dart b/lib/src/dom/periodic_background_sync.dart index 9afd1464..b640fc6a 100644 --- a/lib/src/dom/periodic_background_sync.dart +++ b/lib/src/dom/periodic_background_sync.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library periodic_background_sync; + import 'dart:js_interop'; import 'service_workers.dart'; diff --git a/lib/src/dom/permissions.dart b/lib/src/dom/permissions.dart index 6826e044..62511be5 100644 --- a/lib/src/dom/permissions.dart +++ b/lib/src/dom/permissions.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library permissions; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/permissions_policy.dart b/lib/src/dom/permissions_policy.dart index cf961f7d..5b60d464 100644 --- a/lib/src/dom/permissions_policy.dart +++ b/lib/src/dom/permissions_policy.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library permissions_policy; + import 'dart:js_interop'; import 'reporting.dart'; diff --git a/lib/src/dom/picture_in_picture.dart b/lib/src/dom/picture_in_picture.dart index a3797ddc..3637442a 100644 --- a/lib/src/dom/picture_in_picture.dart +++ b/lib/src/dom/picture_in_picture.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library picture_in_picture; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/pointerevents.dart b/lib/src/dom/pointerevents.dart index 8ed28d28..059888da 100644 --- a/lib/src/dom/pointerevents.dart +++ b/lib/src/dom/pointerevents.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library pointerevents; + import 'dart:js_interop'; import 'uievents.dart'; diff --git a/lib/src/dom/portals.dart b/lib/src/dom/portals.dart index e5b11401..53b53739 100644 --- a/lib/src/dom/portals.dart +++ b/lib/src/dom/portals.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library portals; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/presentation_api.dart b/lib/src/dom/presentation_api.dart index 52283f3e..16835d5d 100644 --- a/lib/src/dom/presentation_api.dart +++ b/lib/src/dom/presentation_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library presentation_api; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/private_network_access.dart b/lib/src/dom/private_network_access.dart index da64e842..106473e6 100644 --- a/lib/src/dom/private_network_access.dart +++ b/lib/src/dom/private_network_access.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library private_network_access; + import 'dart:js_interop'; import 'permissions.dart'; diff --git a/lib/src/dom/proximity.dart b/lib/src/dom/proximity.dart index 8f2d39d7..829ecc0a 100644 --- a/lib/src/dom/proximity.dart +++ b/lib/src/dom/proximity.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library proximity; + import 'dart:js_interop'; import 'generic_sensor.dart'; diff --git a/lib/src/dom/push_api.dart b/lib/src/dom/push_api.dart index eb057478..f47e71e8 100644 --- a/lib/src/dom/push_api.dart +++ b/lib/src/dom/push_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library push_api; + import 'dart:js_interop'; import 'fileapi.dart'; diff --git a/lib/src/dom/raw_camera_access.dart b/lib/src/dom/raw_camera_access.dart index 7e5de01c..4750e6ed 100644 --- a/lib/src/dom/raw_camera_access.dart +++ b/lib/src/dom/raw_camera_access.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library raw_camera_access; + import 'dart:js_interop'; extension type XRCamera._(JSObject _) implements JSObject { diff --git a/lib/src/dom/real_world_meshing.dart b/lib/src/dom/real_world_meshing.dart index bd778e8f..4d12fa28 100644 --- a/lib/src/dom/real_world_meshing.dart +++ b/lib/src/dom/real_world_meshing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library real_world_meshing; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/referrer_policy.dart b/lib/src/dom/referrer_policy.dart index eb6a2324..ccc058f9 100644 --- a/lib/src/dom/referrer_policy.dart +++ b/lib/src/dom/referrer_policy.dart @@ -4,4 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library referrer_policy; + +import 'dart:js_interop'; + typedef ReferrerPolicy = String; diff --git a/lib/src/dom/remote_playback.dart b/lib/src/dom/remote_playback.dart index f9226779..70bd038a 100644 --- a/lib/src/dom/remote_playback.dart +++ b/lib/src/dom/remote_playback.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library remote_playback; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/reporting.dart b/lib/src/dom/reporting.dart index 7cf01219..e9719de2 100644 --- a/lib/src/dom/reporting.dart +++ b/lib/src/dom/reporting.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library reporting; + import 'dart:js_interop'; typedef ReportList = JSArray; diff --git a/lib/src/dom/requestidlecallback.dart b/lib/src/dom/requestidlecallback.dart index 14b1c951..4547da62 100644 --- a/lib/src/dom/requestidlecallback.dart +++ b/lib/src/dom/requestidlecallback.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library requestidlecallback; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/requeststorageaccessfor.dart b/lib/src/dom/requeststorageaccessfor.dart index e7742279..6477a3e9 100644 --- a/lib/src/dom/requeststorageaccessfor.dart +++ b/lib/src/dom/requeststorageaccessfor.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library requeststorageaccessfor; + import 'dart:js_interop'; import 'permissions.dart'; diff --git a/lib/src/dom/resize_observer.dart b/lib/src/dom/resize_observer.dart index ec50968e..28caf44c 100644 --- a/lib/src/dom/resize_observer.dart +++ b/lib/src/dom/resize_observer.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library resize_observer; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/resource_timing.dart b/lib/src/dom/resource_timing.dart index 9cdc7f27..e3666331 100644 --- a/lib/src/dom/resource_timing.dart +++ b/lib/src/dom/resource_timing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library resource_timing; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/sanitizer_api.dart b/lib/src/dom/sanitizer_api.dart index 6add2a0e..3c1e417a 100644 --- a/lib/src/dom/sanitizer_api.dart +++ b/lib/src/dom/sanitizer_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library sanitizer_api; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/scheduling_apis.dart b/lib/src/dom/scheduling_apis.dart index 14270ad0..0a208c7b 100644 --- a/lib/src/dom/scheduling_apis.dart +++ b/lib/src/dom/scheduling_apis.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library scheduling_apis; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/screen_capture.dart b/lib/src/dom/screen_capture.dart index abbfc194..bdca9a63 100644 --- a/lib/src/dom/screen_capture.dart +++ b/lib/src/dom/screen_capture.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library screen_capture; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/screen_orientation.dart b/lib/src/dom/screen_orientation.dart index e2e57f32..5ad3f030 100644 --- a/lib/src/dom/screen_orientation.dart +++ b/lib/src/dom/screen_orientation.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library screen_orientation; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/screen_wake_lock.dart b/lib/src/dom/screen_wake_lock.dart index 350f08cb..bc2e93bd 100644 --- a/lib/src/dom/screen_wake_lock.dart +++ b/lib/src/dom/screen_wake_lock.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library screen_wake_lock; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/scroll_animations.dart b/lib/src/dom/scroll_animations.dart index 03dffed5..fcf9fb22 100644 --- a/lib/src/dom/scroll_animations.dart +++ b/lib/src/dom/scroll_animations.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library scroll_animations; + import 'dart:js_interop'; import 'css_typed_om.dart'; diff --git a/lib/src/dom/scroll_to_text_fragment.dart b/lib/src/dom/scroll_to_text_fragment.dart index 8942292a..035fa884 100644 --- a/lib/src/dom/scroll_to_text_fragment.dart +++ b/lib/src/dom/scroll_to_text_fragment.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library scroll_to_text_fragment; + import 'dart:js_interop'; extension type FragmentDirective._(JSObject _) implements JSObject {} diff --git a/lib/src/dom/secure_payment_confirmation.dart b/lib/src/dom/secure_payment_confirmation.dart index 323cea91..5aaea6d6 100644 --- a/lib/src/dom/secure_payment_confirmation.dart +++ b/lib/src/dom/secure_payment_confirmation.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library secure_payment_confirmation; + import 'dart:js_interop'; import 'payment_request.dart'; diff --git a/lib/src/dom/selection_api.dart b/lib/src/dom/selection_api.dart index 4313e273..4f61deac 100644 --- a/lib/src/dom/selection_api.dart +++ b/lib/src/dom/selection_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library selection_api; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/serial.dart b/lib/src/dom/serial.dart index f6eea3cf..bc1717e2 100644 --- a/lib/src/dom/serial.dart +++ b/lib/src/dom/serial.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library serial; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/server_timing.dart b/lib/src/dom/server_timing.dart index e015ab16..85c55e3d 100644 --- a/lib/src/dom/server_timing.dart +++ b/lib/src/dom/server_timing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library server_timing; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/service_workers.dart b/lib/src/dom/service_workers.dart index e2062ab2..f85dbcb5 100644 --- a/lib/src/dom/service_workers.dart +++ b/lib/src/dom/service_workers.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library service_workers; + import 'dart:js_interop'; import 'background_fetch.dart'; diff --git a/lib/src/dom/shape_detection_api.dart b/lib/src/dom/shape_detection_api.dart index d5c65075..a765da7d 100644 --- a/lib/src/dom/shape_detection_api.dart +++ b/lib/src/dom/shape_detection_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library shape_detection_api; + import 'dart:js_interop'; import 'geometry.dart'; diff --git a/lib/src/dom/shared_storage.dart b/lib/src/dom/shared_storage.dart index f000cbff..63c8a31d 100644 --- a/lib/src/dom/shared_storage.dart +++ b/lib/src/dom/shared_storage.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library shared_storage; + import 'dart:js_interop'; import 'html.dart'; diff --git a/lib/src/dom/speech_api.dart b/lib/src/dom/speech_api.dart index 294ef850..2b82fcdf 100644 --- a/lib/src/dom/speech_api.dart +++ b/lib/src/dom/speech_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library speech_api; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/storage.dart b/lib/src/dom/storage.dart index e56c518d..d2ae297d 100644 --- a/lib/src/dom/storage.dart +++ b/lib/src/dom/storage.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library storage; + import 'dart:js_interop'; extension type StorageManager._(JSObject _) implements JSObject { diff --git a/lib/src/dom/storage_buckets.dart b/lib/src/dom/storage_buckets.dart index b6dd99d1..dfa11137 100644 --- a/lib/src/dom/storage_buckets.dart +++ b/lib/src/dom/storage_buckets.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library storage_buckets; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/streams.dart b/lib/src/dom/streams.dart index 08d8ef9c..c72407f7 100644 --- a/lib/src/dom/streams.dart +++ b/lib/src/dom/streams.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library streams; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/svg.dart b/lib/src/dom/svg.dart index 9f462215..500d3fa8 100644 --- a/lib/src/dom/svg.dart +++ b/lib/src/dom/svg.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library svg; + import 'dart:js_interop'; import 'css_typed_om.dart'; diff --git a/lib/src/dom/svg_animations.dart b/lib/src/dom/svg_animations.dart index db1d3e0c..638d0328 100644 --- a/lib/src/dom/svg_animations.dart +++ b/lib/src/dom/svg_animations.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library svg_animations; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/testutils.dart b/lib/src/dom/testutils.dart index 2b2b6341..f188e6c8 100644 --- a/lib/src/dom/testutils.dart +++ b/lib/src/dom/testutils.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library testutils; + import 'dart:js_interop'; @JS() diff --git a/lib/src/dom/text_detection_api.dart b/lib/src/dom/text_detection_api.dart index c5bb9c50..cd3af91b 100644 --- a/lib/src/dom/text_detection_api.dart +++ b/lib/src/dom/text_detection_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library text_detection_api; + import 'dart:js_interop'; import 'geometry.dart'; diff --git a/lib/src/dom/touch_events.dart b/lib/src/dom/touch_events.dart index f30fbab5..99f90711 100644 --- a/lib/src/dom/touch_events.dart +++ b/lib/src/dom/touch_events.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library touch_events; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/trust_token_api.dart b/lib/src/dom/trust_token_api.dart index bda54fca..c134e46f 100644 --- a/lib/src/dom/trust_token_api.dart +++ b/lib/src/dom/trust_token_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library trust_token_api; + import 'dart:js_interop'; typedef RefreshPolicy = String; diff --git a/lib/src/dom/trusted_types.dart b/lib/src/dom/trusted_types.dart index 3b97235f..a8eec58f 100644 --- a/lib/src/dom/trusted_types.dart +++ b/lib/src/dom/trusted_types.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library trusted_types; + import 'dart:js_interop'; typedef HTMLString = String; diff --git a/lib/src/dom/turtledove.dart b/lib/src/dom/turtledove.dart index 121b2f7f..e9b01dc3 100644 --- a/lib/src/dom/turtledove.dart +++ b/lib/src/dom/turtledove.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library turtledove; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/ua_client_hints.dart b/lib/src/dom/ua_client_hints.dart index 332b01a3..f3e0fd0d 100644 --- a/lib/src/dom/ua_client_hints.dart +++ b/lib/src/dom/ua_client_hints.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library ua_client_hints; + import 'dart:js_interop'; extension type NavigatorUABrandVersion._(JSObject _) implements JSObject { diff --git a/lib/src/dom/uievents.dart b/lib/src/dom/uievents.dart index c9edb0f5..23066bd9 100644 --- a/lib/src/dom/uievents.dart +++ b/lib/src/dom/uievents.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library uievents; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/url.dart b/lib/src/dom/url.dart index b5c9a0cc..d96a9426 100644 --- a/lib/src/dom/url.dart +++ b/lib/src/dom/url.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library url; + import 'dart:js_interop'; extension type URL._(JSObject _) implements JSObject { diff --git a/lib/src/dom/urlpattern.dart b/lib/src/dom/urlpattern.dart index 0b3b36c6..eecb7ab1 100644 --- a/lib/src/dom/urlpattern.dart +++ b/lib/src/dom/urlpattern.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library urlpattern; + import 'dart:js_interop'; typedef URLPatternInput = JSAny; diff --git a/lib/src/dom/user_timing.dart b/lib/src/dom/user_timing.dart index 1a0110c4..d9dea1be 100644 --- a/lib/src/dom/user_timing.dart +++ b/lib/src/dom/user_timing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library user_timing; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/vibration.dart b/lib/src/dom/vibration.dart index c79fbd41..94383d6a 100644 --- a/lib/src/dom/vibration.dart +++ b/lib/src/dom/vibration.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library vibration; + import 'dart:js_interop'; typedef VibratePattern = JSAny; diff --git a/lib/src/dom/video_rvfc.dart b/lib/src/dom/video_rvfc.dart index f0ee8e2a..90a56699 100644 --- a/lib/src/dom/video_rvfc.dart +++ b/lib/src/dom/video_rvfc.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library video_rvfc; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/virtual_keyboard.dart b/lib/src/dom/virtual_keyboard.dart index d349bec1..a0fb61ca 100644 --- a/lib/src/dom/virtual_keyboard.dart +++ b/lib/src/dom/virtual_keyboard.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library virtual_keyboard; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/wasm_js_api.dart b/lib/src/dom/wasm_js_api.dart index 8642a600..cc669eb2 100644 --- a/lib/src/dom/wasm_js_api.dart +++ b/lib/src/dom/wasm_js_api.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library wasm_js_api; + import 'dart:js_interop'; import 'webidl.dart'; diff --git a/lib/src/dom/web_animations.dart b/lib/src/dom/web_animations.dart index 65bb36ed..55c7989b 100644 --- a/lib/src/dom/web_animations.dart +++ b/lib/src/dom/web_animations.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library web_animations; + import 'dart:js_interop'; import 'css_typed_om.dart'; diff --git a/lib/src/dom/web_animations_2.dart b/lib/src/dom/web_animations_2.dart index ae505ad7..a36475ec 100644 --- a/lib/src/dom/web_animations_2.dart +++ b/lib/src/dom/web_animations_2.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library web_animations_2; + import 'dart:js_interop'; import 'css_typed_om.dart'; diff --git a/lib/src/dom/web_app_launch.dart b/lib/src/dom/web_app_launch.dart index 98c5c9d6..81c520d4 100644 --- a/lib/src/dom/web_app_launch.dart +++ b/lib/src/dom/web_app_launch.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library web_app_launch; + import 'dart:js_interop'; typedef LaunchConsumer = JSFunction; diff --git a/lib/src/dom/web_bluetooth.dart b/lib/src/dom/web_bluetooth.dart index 1793b428..152b5ed8 100644 --- a/lib/src/dom/web_bluetooth.dart +++ b/lib/src/dom/web_bluetooth.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library web_bluetooth; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/web_locks.dart b/lib/src/dom/web_locks.dart index f3e46463..46d649eb 100644 --- a/lib/src/dom/web_locks.dart +++ b/lib/src/dom/web_locks.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library web_locks; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/web_nfc.dart b/lib/src/dom/web_nfc.dart index e4216c31..caa30276 100644 --- a/lib/src/dom/web_nfc.dart +++ b/lib/src/dom/web_nfc.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library web_nfc; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/web_otp.dart b/lib/src/dom/web_otp.dart index 7bfbbc06..36f0139b 100644 --- a/lib/src/dom/web_otp.dart +++ b/lib/src/dom/web_otp.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library web_otp; + import 'dart:js_interop'; import 'credential_management.dart'; diff --git a/lib/src/dom/web_share.dart b/lib/src/dom/web_share.dart index 258f2363..86cf48d7 100644 --- a/lib/src/dom/web_share.dart +++ b/lib/src/dom/web_share.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library web_share; + import 'dart:js_interop'; extension type ShareData._(JSObject _) implements JSObject { diff --git a/lib/src/dom/webaudio.dart b/lib/src/dom/webaudio.dart index 6c7ea3a0..183282fd 100644 --- a/lib/src/dom/webaudio.dart +++ b/lib/src/dom/webaudio.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webaudio; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webauthn.dart b/lib/src/dom/webauthn.dart index a5b67cb1..e2b0f12e 100644 --- a/lib/src/dom/webauthn.dart +++ b/lib/src/dom/webauthn.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webauthn; + import 'dart:js_interop'; import 'credential_management.dart'; diff --git a/lib/src/dom/webcodecs.dart b/lib/src/dom/webcodecs.dart index e02678fa..55469a7d 100644 --- a/lib/src/dom/webcodecs.dart +++ b/lib/src/dom/webcodecs.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcodecs; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webcodecs_aac_codec_registration.dart b/lib/src/dom/webcodecs_aac_codec_registration.dart index fb43bda5..09be32ad 100644 --- a/lib/src/dom/webcodecs_aac_codec_registration.dart +++ b/lib/src/dom/webcodecs_aac_codec_registration.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcodecs_aac_codec_registration; + import 'dart:js_interop'; typedef AacBitstreamFormat = String; diff --git a/lib/src/dom/webcodecs_av1_codec_registration.dart b/lib/src/dom/webcodecs_av1_codec_registration.dart index cd458d86..592d5b13 100644 --- a/lib/src/dom/webcodecs_av1_codec_registration.dart +++ b/lib/src/dom/webcodecs_av1_codec_registration.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcodecs_av1_codec_registration; + import 'dart:js_interop'; extension type AV1EncoderConfig._(JSObject _) implements JSObject { diff --git a/lib/src/dom/webcodecs_avc_codec_registration.dart b/lib/src/dom/webcodecs_avc_codec_registration.dart index 56c5a22b..a7928449 100644 --- a/lib/src/dom/webcodecs_avc_codec_registration.dart +++ b/lib/src/dom/webcodecs_avc_codec_registration.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcodecs_avc_codec_registration; + import 'dart:js_interop'; typedef AvcBitstreamFormat = String; diff --git a/lib/src/dom/webcodecs_flac_codec_registration.dart b/lib/src/dom/webcodecs_flac_codec_registration.dart index f06d488c..5765ded7 100644 --- a/lib/src/dom/webcodecs_flac_codec_registration.dart +++ b/lib/src/dom/webcodecs_flac_codec_registration.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcodecs_flac_codec_registration; + import 'dart:js_interop'; extension type FlacEncoderConfig._(JSObject _) implements JSObject { diff --git a/lib/src/dom/webcodecs_hevc_codec_registration.dart b/lib/src/dom/webcodecs_hevc_codec_registration.dart index 872c6b65..93f411b0 100644 --- a/lib/src/dom/webcodecs_hevc_codec_registration.dart +++ b/lib/src/dom/webcodecs_hevc_codec_registration.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcodecs_hevc_codec_registration; + import 'dart:js_interop'; typedef HevcBitstreamFormat = String; diff --git a/lib/src/dom/webcodecs_opus_codec_registration.dart b/lib/src/dom/webcodecs_opus_codec_registration.dart index a576ed1f..bddccdd9 100644 --- a/lib/src/dom/webcodecs_opus_codec_registration.dart +++ b/lib/src/dom/webcodecs_opus_codec_registration.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcodecs_opus_codec_registration; + import 'dart:js_interop'; typedef OpusBitstreamFormat = String; diff --git a/lib/src/dom/webcodecs_vp9_codec_registration.dart b/lib/src/dom/webcodecs_vp9_codec_registration.dart index dc23773e..091c8834 100644 --- a/lib/src/dom/webcodecs_vp9_codec_registration.dart +++ b/lib/src/dom/webcodecs_vp9_codec_registration.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcodecs_vp9_codec_registration; + import 'dart:js_interop'; extension type VideoEncoderEncodeOptionsForVp9._(JSObject _) diff --git a/lib/src/dom/webcrypto_secure_curves.dart b/lib/src/dom/webcrypto_secure_curves.dart index 232c1264..53d27054 100644 --- a/lib/src/dom/webcrypto_secure_curves.dart +++ b/lib/src/dom/webcrypto_secure_curves.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcrypto_secure_curves; + import 'dart:js_interop'; import 'webcryptoapi.dart'; diff --git a/lib/src/dom/webcryptoapi.dart b/lib/src/dom/webcryptoapi.dart index dd8852ed..d4612629 100644 --- a/lib/src/dom/webcryptoapi.dart +++ b/lib/src/dom/webcryptoapi.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webcryptoapi; + import 'dart:js_interop'; import 'webidl.dart'; diff --git a/lib/src/dom/webgl1.dart b/lib/src/dom/webgl1.dart index 4d5e951c..cb26a2e8 100644 --- a/lib/src/dom/webgl1.dart +++ b/lib/src/dom/webgl1.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl1; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webgl2.dart b/lib/src/dom/webgl2.dart index 424e3f28..f38e680f 100644 --- a/lib/src/dom/webgl2.dart +++ b/lib/src/dom/webgl2.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl2; + import 'dart:js_interop'; import 'html.dart'; diff --git a/lib/src/dom/webgl_blend_equation_advanced_coherent.dart b/lib/src/dom/webgl_blend_equation_advanced_coherent.dart index b97e2e67..f22f86b5 100644 --- a/lib/src/dom/webgl_blend_equation_advanced_coherent.dart +++ b/lib/src/dom/webgl_blend_equation_advanced_coherent.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_blend_equation_advanced_coherent; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_clip_cull_distance.dart b/lib/src/dom/webgl_clip_cull_distance.dart index 169fa063..949df30f 100644 --- a/lib/src/dom/webgl_clip_cull_distance.dart +++ b/lib/src/dom/webgl_clip_cull_distance.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_clip_cull_distance; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_color_buffer_float.dart b/lib/src/dom/webgl_color_buffer_float.dart index 196ef9ff..55b158e0 100644 --- a/lib/src/dom/webgl_color_buffer_float.dart +++ b/lib/src/dom/webgl_color_buffer_float.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_color_buffer_float; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_compressed_texture_astc.dart b/lib/src/dom/webgl_compressed_texture_astc.dart index d1b832cf..5006e6c9 100644 --- a/lib/src/dom/webgl_compressed_texture_astc.dart +++ b/lib/src/dom/webgl_compressed_texture_astc.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_compressed_texture_astc; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_compressed_texture_etc.dart b/lib/src/dom/webgl_compressed_texture_etc.dart index f9b3c849..212a8f5b 100644 --- a/lib/src/dom/webgl_compressed_texture_etc.dart +++ b/lib/src/dom/webgl_compressed_texture_etc.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_compressed_texture_etc; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_compressed_texture_etc1.dart b/lib/src/dom/webgl_compressed_texture_etc1.dart index 6f49eb45..78b99d87 100644 --- a/lib/src/dom/webgl_compressed_texture_etc1.dart +++ b/lib/src/dom/webgl_compressed_texture_etc1.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_compressed_texture_etc1; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_compressed_texture_pvrtc.dart b/lib/src/dom/webgl_compressed_texture_pvrtc.dart index 02196807..771f83d2 100644 --- a/lib/src/dom/webgl_compressed_texture_pvrtc.dart +++ b/lib/src/dom/webgl_compressed_texture_pvrtc.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_compressed_texture_pvrtc; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_compressed_texture_s3tc.dart b/lib/src/dom/webgl_compressed_texture_s3tc.dart index 0cc3d4a7..83a7db59 100644 --- a/lib/src/dom/webgl_compressed_texture_s3tc.dart +++ b/lib/src/dom/webgl_compressed_texture_s3tc.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_compressed_texture_s3tc; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_compressed_texture_s3tc_srgb.dart b/lib/src/dom/webgl_compressed_texture_s3tc_srgb.dart index 726b2577..26166fda 100644 --- a/lib/src/dom/webgl_compressed_texture_s3tc_srgb.dart +++ b/lib/src/dom/webgl_compressed_texture_s3tc_srgb.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_compressed_texture_s3tc_srgb; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_debug_renderer_info.dart b/lib/src/dom/webgl_debug_renderer_info.dart index a9c81f4a..a9682c43 100644 --- a/lib/src/dom/webgl_debug_renderer_info.dart +++ b/lib/src/dom/webgl_debug_renderer_info.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_debug_renderer_info; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_debug_shaders.dart b/lib/src/dom/webgl_debug_shaders.dart index 39e80841..f2898d37 100644 --- a/lib/src/dom/webgl_debug_shaders.dart +++ b/lib/src/dom/webgl_debug_shaders.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_debug_shaders; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_depth_texture.dart b/lib/src/dom/webgl_depth_texture.dart index 432dadef..b8c94725 100644 --- a/lib/src/dom/webgl_depth_texture.dart +++ b/lib/src/dom/webgl_depth_texture.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_depth_texture; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_draw_buffers.dart b/lib/src/dom/webgl_draw_buffers.dart index c61d7ba5..0bb72395 100644 --- a/lib/src/dom/webgl_draw_buffers.dart +++ b/lib/src/dom/webgl_draw_buffers.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_draw_buffers; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_draw_instanced_base_vertex_base_instance.dart b/lib/src/dom/webgl_draw_instanced_base_vertex_base_instance.dart index 5ae05046..91325470 100644 --- a/lib/src/dom/webgl_draw_instanced_base_vertex_base_instance.dart +++ b/lib/src/dom/webgl_draw_instanced_base_vertex_base_instance.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_draw_instanced_base_vertex_base_instance; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_lose_context.dart b/lib/src/dom/webgl_lose_context.dart index 046ecb10..f27598e0 100644 --- a/lib/src/dom/webgl_lose_context.dart +++ b/lib/src/dom/webgl_lose_context.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_lose_context; + import 'dart:js_interop'; extension type WEBGL_lose_context._(JSObject _) implements JSObject { diff --git a/lib/src/dom/webgl_multi_draw.dart b/lib/src/dom/webgl_multi_draw.dart index 159beb69..933699be 100644 --- a/lib/src/dom/webgl_multi_draw.dart +++ b/lib/src/dom/webgl_multi_draw.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_multi_draw; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_multi_draw_instanced_base_vertex_base_instance.dart b/lib/src/dom/webgl_multi_draw_instanced_base_vertex_base_instance.dart index 4cd7bd4f..2622ba8d 100644 --- a/lib/src/dom/webgl_multi_draw_instanced_base_vertex_base_instance.dart +++ b/lib/src/dom/webgl_multi_draw_instanced_base_vertex_base_instance.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_multi_draw_instanced_base_vertex_base_instance; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgl_provoking_vertex.dart b/lib/src/dom/webgl_provoking_vertex.dart index 003379d2..faafd24c 100644 --- a/lib/src/dom/webgl_provoking_vertex.dart +++ b/lib/src/dom/webgl_provoking_vertex.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgl_provoking_vertex; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webgpu.dart b/lib/src/dom/webgpu.dart index 9372546f..9211689f 100644 --- a/lib/src/dom/webgpu.dart +++ b/lib/src/dom/webgpu.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webgpu; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webhid.dart b/lib/src/dom/webhid.dart index aab93868..a9a85992 100644 --- a/lib/src/dom/webhid.dart +++ b/lib/src/dom/webhid.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webhid; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webidl.dart b/lib/src/dom/webidl.dart index 2496c4e9..1a9eb206 100644 --- a/lib/src/dom/webidl.dart +++ b/lib/src/dom/webidl.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webidl; + import 'dart:js_interop'; typedef ArrayBufferView = JSObject; diff --git a/lib/src/dom/webmidi.dart b/lib/src/dom/webmidi.dart index e37679cc..2693566c 100644 --- a/lib/src/dom/webmidi.dart +++ b/lib/src/dom/webmidi.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webmidi; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webnn.dart b/lib/src/dom/webnn.dart index d6e5e9a3..4bb5a3c4 100644 --- a/lib/src/dom/webnn.dart +++ b/lib/src/dom/webnn.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webnn; + import 'dart:js_interop'; import 'webgpu.dart'; diff --git a/lib/src/dom/webrtc.dart b/lib/src/dom/webrtc.dart index 4c52054c..6c7b7c38 100644 --- a/lib/src/dom/webrtc.dart +++ b/lib/src/dom/webrtc.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webrtc; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webrtc_encoded_transform.dart b/lib/src/dom/webrtc_encoded_transform.dart index 751a4e67..ffdd0b30 100644 --- a/lib/src/dom/webrtc_encoded_transform.dart +++ b/lib/src/dom/webrtc_encoded_transform.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webrtc_encoded_transform; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webrtc_ice.dart b/lib/src/dom/webrtc_ice.dart index 9f41fd8a..cd3cf4f8 100644 --- a/lib/src/dom/webrtc_ice.dart +++ b/lib/src/dom/webrtc_ice.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webrtc_ice; + import 'dart:js_interop'; import 'webrtc.dart'; diff --git a/lib/src/dom/webrtc_identity.dart b/lib/src/dom/webrtc_identity.dart index 1d862204..a532e06a 100644 --- a/lib/src/dom/webrtc_identity.dart +++ b/lib/src/dom/webrtc_identity.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webrtc_identity; + import 'dart:js_interop'; import 'html.dart'; diff --git a/lib/src/dom/webrtc_priority.dart b/lib/src/dom/webrtc_priority.dart index f053b011..f94c0164 100644 --- a/lib/src/dom/webrtc_priority.dart +++ b/lib/src/dom/webrtc_priority.dart @@ -4,4 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webrtc_priority; + +import 'dart:js_interop'; + typedef RTCPriorityType = String; diff --git a/lib/src/dom/webrtc_stats.dart b/lib/src/dom/webrtc_stats.dart index 7d58862b..58ec6d70 100644 --- a/lib/src/dom/webrtc_stats.dart +++ b/lib/src/dom/webrtc_stats.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webrtc_stats; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/websockets.dart b/lib/src/dom/websockets.dart index 19e3009f..073c3c43 100644 --- a/lib/src/dom/websockets.dart +++ b/lib/src/dom/websockets.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library websockets; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webtransport.dart b/lib/src/dom/webtransport.dart index 52fd7f8d..3d62da8a 100644 --- a/lib/src/dom/webtransport.dart +++ b/lib/src/dom/webtransport.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webtransport; + import 'dart:js_interop'; import 'hr_time.dart'; diff --git a/lib/src/dom/webusb.dart b/lib/src/dom/webusb.dart index 156591c7..3e11bab4 100644 --- a/lib/src/dom/webusb.dart +++ b/lib/src/dom/webusb.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webusb; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webvtt.dart b/lib/src/dom/webvtt.dart index fe872701..4c5e3d9f 100644 --- a/lib/src/dom/webvtt.dart +++ b/lib/src/dom/webvtt.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webvtt; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webxr.dart b/lib/src/dom/webxr.dart index a7411503..725ad15f 100644 --- a/lib/src/dom/webxr.dart +++ b/lib/src/dom/webxr.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webxr; + import 'dart:js_interop'; import 'anchors.dart'; diff --git a/lib/src/dom/webxr_ar_module.dart b/lib/src/dom/webxr_ar_module.dart index 43f15fb2..ff555005 100644 --- a/lib/src/dom/webxr_ar_module.dart +++ b/lib/src/dom/webxr_ar_module.dart @@ -4,5 +4,10 @@ // Generated from Web IDL definitions. +@JS() +library webxr_ar_module; + +import 'dart:js_interop'; + typedef XREnvironmentBlendMode = String; typedef XRInteractionMode = String; diff --git a/lib/src/dom/webxr_depth_sensing.dart b/lib/src/dom/webxr_depth_sensing.dart index 2ceb872b..f8fc5ba4 100644 --- a/lib/src/dom/webxr_depth_sensing.dart +++ b/lib/src/dom/webxr_depth_sensing.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webxr_depth_sensing; + import 'dart:js_interop'; import 'webgl1.dart'; diff --git a/lib/src/dom/webxr_dom_overlays.dart b/lib/src/dom/webxr_dom_overlays.dart index e6fc5ef1..a4b211a6 100644 --- a/lib/src/dom/webxr_dom_overlays.dart +++ b/lib/src/dom/webxr_dom_overlays.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webxr_dom_overlays; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webxr_hand_input.dart b/lib/src/dom/webxr_hand_input.dart index 41e2a4b0..9d4d09f6 100644 --- a/lib/src/dom/webxr_hand_input.dart +++ b/lib/src/dom/webxr_hand_input.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webxr_hand_input; + import 'dart:js_interop'; import 'webxr.dart'; diff --git a/lib/src/dom/webxr_hit_test.dart b/lib/src/dom/webxr_hit_test.dart index aad68d3b..a4a8d6d4 100644 --- a/lib/src/dom/webxr_hit_test.dart +++ b/lib/src/dom/webxr_hit_test.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webxr_hit_test; + import 'dart:js_interop'; import 'geometry.dart'; diff --git a/lib/src/dom/webxr_lighting_estimation.dart b/lib/src/dom/webxr_lighting_estimation.dart index e9836544..853d4fc9 100644 --- a/lib/src/dom/webxr_lighting_estimation.dart +++ b/lib/src/dom/webxr_lighting_estimation.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webxr_lighting_estimation; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/webxrlayers.dart b/lib/src/dom/webxrlayers.dart index b8b15c3b..b1698038 100644 --- a/lib/src/dom/webxrlayers.dart +++ b/lib/src/dom/webxrlayers.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library webxrlayers; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/window_controls_overlay.dart b/lib/src/dom/window_controls_overlay.dart index 05acbfeb..decc6455 100644 --- a/lib/src/dom/window_controls_overlay.dart +++ b/lib/src/dom/window_controls_overlay.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library window_controls_overlay; + import 'dart:js_interop'; import 'dom.dart'; diff --git a/lib/src/dom/window_management.dart b/lib/src/dom/window_management.dart index d70884d9..48ceb53c 100644 --- a/lib/src/dom/window_management.dart +++ b/lib/src/dom/window_management.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library window_management; + import 'dart:js_interop'; import 'cssom_view.dart'; diff --git a/lib/src/dom/xhr.dart b/lib/src/dom/xhr.dart index ec4fe97d..c04f6d0e 100644 --- a/lib/src/dom/xhr.dart +++ b/lib/src/dom/xhr.dart @@ -4,6 +4,9 @@ // Generated from Web IDL definitions. +@JS() +library xhr; + import 'dart:js_interop'; import 'attribution_reporting_api.dart'; diff --git a/tool/generator/translator.dart b/tool/generator/translator.dart index 5bb2a54e..b751401e 100644 --- a/tool/generator/translator.dart +++ b/tool/generator/translator.dart @@ -20,6 +20,7 @@ typedef TranslationResult = Map; class _Library { final Translator translator; + final String name; final String url; // Contains both IDL `interface`s and `namespace`s. final List interfacelikes = []; @@ -31,7 +32,7 @@ class _Library { final List callbacks = []; final List callbackInterfaces = []; - _Library(this.translator, this.url); + _Library(this.translator, this.name, this.url); void _addNamed(idl.Node node, List list) { final named = node as T; @@ -493,14 +494,15 @@ class Translator { } void collect(String shortName, JSArray ast) { - final libraryPath = '$_librarySubDir/${shortName.kebabToSnake}.dart'; + final libraryName = shortName.kebabToSnake; + final libraryPath = '$_librarySubDir/$libraryName.dart'; assert(!_libraries.containsKey(libraryPath)); // TODO: Use the info from the spec to skip generation of some libraries. // ignore: unused_local_variable final spec = webSpecs.specFor(shortName)!; - final library = _Library(this, '$packageRoot/$libraryPath'); + final library = _Library(this, libraryName, '$packageRoot/$libraryPath'); _libraries[libraryPath] = library; for (var i = 0; i < ast.length; i++) { @@ -841,6 +843,12 @@ class Translator { code.Library _library(_Library library) => code.Library((b) => b ..comments.addAll(licenseHeader) ..generatedByComment = generatedFileDisclaimer + // TODO(srujzs): This is to address the issue around extension type object + // literal constructors in https://github.com/dart-lang/sdk/issues/54801. + // Once this package moves to an SDK version that contains a fix for that, + // this can be removed. + ..annotations.addAll(_jsOverride('', alwaysEmit: true)) + ..name = library.name ..body.addAll([ for (final typedef in library.typedefs) _typedef(typedef.name, _getRawType(typedef.idlType)), From 62010a801c1f6b896ad9150159b0c7a06076e441 Mon Sep 17 00:00:00 2001 From: Srujan Gaddam Date: Thu, 1 Feb 2024 13:01:59 -0800 Subject: [PATCH 2/2] Remove library name --- lib/src/dom/accelerometer.dart | 2 +- lib/src/dom/ambient_light.dart | 2 +- lib/src/dom/anchors.dart | 2 +- lib/src/dom/angle_instanced_arrays.dart | 2 +- lib/src/dom/attribution_reporting_api.dart | 2 +- lib/src/dom/audio_output.dart | 2 +- lib/src/dom/audio_session.dart | 2 +- lib/src/dom/autoplay_detection.dart | 2 +- lib/src/dom/background_fetch.dart | 2 +- lib/src/dom/background_sync.dart | 2 +- lib/src/dom/battery_status.dart | 2 +- lib/src/dom/capture_handle_identity.dart | 2 +- lib/src/dom/captured_mouse_events.dart | 2 +- lib/src/dom/clipboard_apis.dart | 2 +- lib/src/dom/compression.dart | 2 +- lib/src/dom/compute_pressure.dart | 2 +- lib/src/dom/console.dart | 2 +- lib/src/dom/contact_picker.dart | 2 +- lib/src/dom/content_index.dart | 2 +- lib/src/dom/cookie_store.dart | 2 +- lib/src/dom/crash_reporting.dart | 2 +- lib/src/dom/credential_management.dart | 2 +- lib/src/dom/csp.dart | 2 +- lib/src/dom/csp_next.dart | 2 +- lib/src/dom/css_anchor_position.dart | 2 +- lib/src/dom/css_animation_worklet.dart | 2 +- lib/src/dom/css_animations.dart | 2 +- lib/src/dom/css_animations_2.dart | 2 +- lib/src/dom/css_cascade.dart | 2 +- lib/src/dom/css_cascade_6.dart | 2 +- lib/src/dom/css_color_5.dart | 2 +- lib/src/dom/css_conditional.dart | 2 +- lib/src/dom/css_contain.dart | 2 +- lib/src/dom/css_contain_3.dart | 2 +- lib/src/dom/css_counter_styles.dart | 2 +- lib/src/dom/css_font_loading.dart | 2 +- lib/src/dom/css_fonts.dart | 2 +- lib/src/dom/css_highlight_api.dart | 2 +- lib/src/dom/css_layout_api.dart | 2 +- lib/src/dom/css_masking.dart | 2 +- lib/src/dom/css_nav.dart | 2 +- lib/src/dom/css_paint_api.dart | 2 +- lib/src/dom/css_parser_api.dart | 2 +- lib/src/dom/css_properties_values_api.dart | 2 +- lib/src/dom/css_pseudo.dart | 2 +- lib/src/dom/css_regions.dart | 2 +- lib/src/dom/css_transitions.dart | 2 +- lib/src/dom/css_transitions_2.dart | 2 +- lib/src/dom/css_typed_om.dart | 2 +- lib/src/dom/css_view_transitions.dart | 2 +- lib/src/dom/css_view_transitions_2.dart | 2 +- lib/src/dom/cssom.dart | 2 +- lib/src/dom/cssom_view.dart | 2 +- lib/src/dom/custom_state_pseudo_class.dart | 2 +- lib/src/dom/datacue.dart | 2 +- lib/src/dom/deprecation_reporting.dart | 2 +- lib/src/dom/device_posture.dart | 2 +- lib/src/dom/digital_goods.dart | 2 +- lib/src/dom/document_picture_in_picture.dart | 2 +- lib/src/dom/dom.dart | 2 +- lib/src/dom/dom_parsing.dart | 2 +- lib/src/dom/edit_context.dart | 2 +- lib/src/dom/element_capture.dart | 2 +- lib/src/dom/element_timing.dart | 2 +- lib/src/dom/encoding.dart | 2 +- lib/src/dom/encrypted_media.dart | 2 +- lib/src/dom/entries_api.dart | 2 +- lib/src/dom/event_timing.dart | 2 +- lib/src/dom/ext_blend_minmax.dart | 2 +- lib/src/dom/ext_color_buffer_float.dart | 2 +- lib/src/dom/ext_color_buffer_half_float.dart | 2 +- lib/src/dom/ext_disjoint_timer_query.dart | 2 +- lib/src/dom/ext_disjoint_timer_query_webgl2.dart | 2 +- lib/src/dom/ext_float_blend.dart | 2 +- lib/src/dom/ext_frag_depth.dart | 2 +- lib/src/dom/ext_shader_texture_lod.dart | 2 +- lib/src/dom/ext_srgb.dart | 2 +- lib/src/dom/ext_texture_compression_bptc.dart | 2 +- lib/src/dom/ext_texture_compression_rgtc.dart | 2 +- lib/src/dom/ext_texture_filter_anisotropic.dart | 2 +- lib/src/dom/ext_texture_norm16.dart | 2 +- lib/src/dom/eyedropper_api.dart | 2 +- lib/src/dom/fedcm.dart | 2 +- lib/src/dom/fenced_frame.dart | 2 +- lib/src/dom/fetch.dart | 2 +- lib/src/dom/fido.dart | 2 +- lib/src/dom/file_system_access.dart | 2 +- lib/src/dom/fileapi.dart | 2 +- lib/src/dom/filter_effects.dart | 2 +- lib/src/dom/font_metrics_api.dart | 2 +- lib/src/dom/fs.dart | 2 +- lib/src/dom/fullscreen.dart | 2 +- lib/src/dom/gamepad.dart | 2 +- lib/src/dom/gamepad_extensions.dart | 2 +- lib/src/dom/generic_sensor.dart | 2 +- lib/src/dom/geolocation.dart | 2 +- lib/src/dom/geolocation_sensor.dart | 2 +- lib/src/dom/geometry.dart | 2 +- lib/src/dom/get_installed_related_apps.dart | 2 +- lib/src/dom/gyroscope.dart | 2 +- lib/src/dom/hr_time.dart | 2 +- lib/src/dom/html.dart | 2 +- lib/src/dom/idle_detection.dart | 2 +- lib/src/dom/image_capture.dart | 2 +- lib/src/dom/image_resource.dart | 2 +- lib/src/dom/indexeddb.dart | 2 +- lib/src/dom/ink_enhancement.dart | 2 +- lib/src/dom/input_device_capabilities.dart | 2 +- lib/src/dom/intersection_observer.dart | 2 +- lib/src/dom/intervention_reporting.dart | 2 +- lib/src/dom/is_input_pending.dart | 2 +- lib/src/dom/js_self_profiling.dart | 2 +- lib/src/dom/keyboard_lock.dart | 2 +- lib/src/dom/keyboard_map.dart | 2 +- lib/src/dom/khr_parallel_shader_compile.dart | 2 +- lib/src/dom/largest_contentful_paint.dart | 2 +- lib/src/dom/layout_instability.dart | 2 +- lib/src/dom/local_font_access.dart | 2 +- lib/src/dom/longtasks.dart | 2 +- lib/src/dom/magnetometer.dart | 2 +- lib/src/dom/manifest_incubations.dart | 2 +- lib/src/dom/mathml_core.dart | 2 +- lib/src/dom/media_capabilities.dart | 2 +- lib/src/dom/media_playback_quality.dart | 2 +- lib/src/dom/media_source.dart | 2 +- lib/src/dom/mediacapture_automation.dart | 2 +- lib/src/dom/mediacapture_fromelement.dart | 2 +- lib/src/dom/mediacapture_handle_actions.dart | 2 +- lib/src/dom/mediacapture_region.dart | 2 +- lib/src/dom/mediacapture_streams.dart | 2 +- lib/src/dom/mediacapture_transform.dart | 2 +- lib/src/dom/mediacapture_viewport.dart | 2 +- lib/src/dom/mediasession.dart | 2 +- lib/src/dom/mediastream_recording.dart | 2 +- lib/src/dom/model_element.dart | 2 +- lib/src/dom/mst_content_hint.dart | 2 +- lib/src/dom/navigation_timing.dart | 2 +- lib/src/dom/netinfo.dart | 2 +- lib/src/dom/notifications.dart | 2 +- lib/src/dom/oes_draw_buffers_indexed.dart | 2 +- lib/src/dom/oes_element_index_uint.dart | 2 +- lib/src/dom/oes_fbo_render_mipmap.dart | 2 +- lib/src/dom/oes_standard_derivatives.dart | 2 +- lib/src/dom/oes_texture_float.dart | 2 +- lib/src/dom/oes_texture_float_linear.dart | 2 +- lib/src/dom/oes_texture_half_float.dart | 2 +- lib/src/dom/oes_texture_half_float_linear.dart | 2 +- lib/src/dom/oes_vertex_array_object.dart | 2 +- lib/src/dom/orientation_event.dart | 2 +- lib/src/dom/orientation_sensor.dart | 2 +- lib/src/dom/ovr_multiview2.dart | 2 +- lib/src/dom/page_lifecycle.dart | 2 +- lib/src/dom/paint_timing.dart | 2 +- lib/src/dom/payment_handler.dart | 2 +- lib/src/dom/payment_request.dart | 2 +- lib/src/dom/performance_measure_memory.dart | 2 +- lib/src/dom/performance_timeline.dart | 2 +- lib/src/dom/periodic_background_sync.dart | 2 +- lib/src/dom/permissions.dart | 2 +- lib/src/dom/permissions_policy.dart | 2 +- lib/src/dom/picture_in_picture.dart | 2 +- lib/src/dom/pointerevents.dart | 2 +- lib/src/dom/portals.dart | 2 +- lib/src/dom/presentation_api.dart | 2 +- lib/src/dom/private_network_access.dart | 2 +- lib/src/dom/proximity.dart | 2 +- lib/src/dom/push_api.dart | 2 +- lib/src/dom/raw_camera_access.dart | 2 +- lib/src/dom/real_world_meshing.dart | 2 +- lib/src/dom/referrer_policy.dart | 2 +- lib/src/dom/remote_playback.dart | 2 +- lib/src/dom/reporting.dart | 2 +- lib/src/dom/requestidlecallback.dart | 2 +- lib/src/dom/requeststorageaccessfor.dart | 2 +- lib/src/dom/resize_observer.dart | 2 +- lib/src/dom/resource_timing.dart | 2 +- lib/src/dom/sanitizer_api.dart | 2 +- lib/src/dom/scheduling_apis.dart | 2 +- lib/src/dom/screen_capture.dart | 2 +- lib/src/dom/screen_orientation.dart | 2 +- lib/src/dom/screen_wake_lock.dart | 2 +- lib/src/dom/scroll_animations.dart | 2 +- lib/src/dom/scroll_to_text_fragment.dart | 2 +- lib/src/dom/secure_payment_confirmation.dart | 2 +- lib/src/dom/selection_api.dart | 2 +- lib/src/dom/serial.dart | 2 +- lib/src/dom/server_timing.dart | 2 +- lib/src/dom/service_workers.dart | 2 +- lib/src/dom/shape_detection_api.dart | 2 +- lib/src/dom/shared_storage.dart | 2 +- lib/src/dom/speech_api.dart | 2 +- lib/src/dom/storage.dart | 2 +- lib/src/dom/storage_buckets.dart | 2 +- lib/src/dom/streams.dart | 2 +- lib/src/dom/svg.dart | 2 +- lib/src/dom/svg_animations.dart | 2 +- lib/src/dom/testutils.dart | 2 +- lib/src/dom/text_detection_api.dart | 2 +- lib/src/dom/touch_events.dart | 2 +- lib/src/dom/trust_token_api.dart | 2 +- lib/src/dom/trusted_types.dart | 2 +- lib/src/dom/turtledove.dart | 2 +- lib/src/dom/ua_client_hints.dart | 2 +- lib/src/dom/uievents.dart | 2 +- lib/src/dom/url.dart | 2 +- lib/src/dom/urlpattern.dart | 2 +- lib/src/dom/user_timing.dart | 2 +- lib/src/dom/vibration.dart | 2 +- lib/src/dom/video_rvfc.dart | 2 +- lib/src/dom/virtual_keyboard.dart | 2 +- lib/src/dom/wasm_js_api.dart | 2 +- lib/src/dom/web_animations.dart | 2 +- lib/src/dom/web_animations_2.dart | 2 +- lib/src/dom/web_app_launch.dart | 2 +- lib/src/dom/web_bluetooth.dart | 2 +- lib/src/dom/web_locks.dart | 2 +- lib/src/dom/web_nfc.dart | 2 +- lib/src/dom/web_otp.dart | 2 +- lib/src/dom/web_share.dart | 2 +- lib/src/dom/webaudio.dart | 2 +- lib/src/dom/webauthn.dart | 2 +- lib/src/dom/webcodecs.dart | 2 +- lib/src/dom/webcodecs_aac_codec_registration.dart | 2 +- lib/src/dom/webcodecs_av1_codec_registration.dart | 2 +- lib/src/dom/webcodecs_avc_codec_registration.dart | 2 +- lib/src/dom/webcodecs_flac_codec_registration.dart | 2 +- lib/src/dom/webcodecs_hevc_codec_registration.dart | 2 +- lib/src/dom/webcodecs_opus_codec_registration.dart | 2 +- lib/src/dom/webcodecs_vp9_codec_registration.dart | 2 +- lib/src/dom/webcrypto_secure_curves.dart | 2 +- lib/src/dom/webcryptoapi.dart | 2 +- lib/src/dom/webgl1.dart | 2 +- lib/src/dom/webgl2.dart | 2 +- lib/src/dom/webgl_blend_equation_advanced_coherent.dart | 2 +- lib/src/dom/webgl_clip_cull_distance.dart | 2 +- lib/src/dom/webgl_color_buffer_float.dart | 2 +- lib/src/dom/webgl_compressed_texture_astc.dart | 2 +- lib/src/dom/webgl_compressed_texture_etc.dart | 2 +- lib/src/dom/webgl_compressed_texture_etc1.dart | 2 +- lib/src/dom/webgl_compressed_texture_pvrtc.dart | 2 +- lib/src/dom/webgl_compressed_texture_s3tc.dart | 2 +- lib/src/dom/webgl_compressed_texture_s3tc_srgb.dart | 2 +- lib/src/dom/webgl_debug_renderer_info.dart | 2 +- lib/src/dom/webgl_debug_shaders.dart | 2 +- lib/src/dom/webgl_depth_texture.dart | 2 +- lib/src/dom/webgl_draw_buffers.dart | 2 +- .../webgl_draw_instanced_base_vertex_base_instance.dart | 2 +- lib/src/dom/webgl_lose_context.dart | 2 +- lib/src/dom/webgl_multi_draw.dart | 2 +- ...l_multi_draw_instanced_base_vertex_base_instance.dart | 2 +- lib/src/dom/webgl_provoking_vertex.dart | 2 +- lib/src/dom/webgpu.dart | 2 +- lib/src/dom/webhid.dart | 2 +- lib/src/dom/webidl.dart | 2 +- lib/src/dom/webmidi.dart | 2 +- lib/src/dom/webnn.dart | 2 +- lib/src/dom/webrtc.dart | 2 +- lib/src/dom/webrtc_encoded_transform.dart | 2 +- lib/src/dom/webrtc_ice.dart | 2 +- lib/src/dom/webrtc_identity.dart | 2 +- lib/src/dom/webrtc_priority.dart | 2 +- lib/src/dom/webrtc_stats.dart | 2 +- lib/src/dom/websockets.dart | 2 +- lib/src/dom/webtransport.dart | 2 +- lib/src/dom/webusb.dart | 2 +- lib/src/dom/webvtt.dart | 2 +- lib/src/dom/webxr.dart | 2 +- lib/src/dom/webxr_ar_module.dart | 2 +- lib/src/dom/webxr_depth_sensing.dart | 2 +- lib/src/dom/webxr_dom_overlays.dart | 2 +- lib/src/dom/webxr_hand_input.dart | 2 +- lib/src/dom/webxr_hit_test.dart | 2 +- lib/src/dom/webxr_lighting_estimation.dart | 2 +- lib/src/dom/webxrlayers.dart | 2 +- lib/src/dom/window_controls_overlay.dart | 2 +- lib/src/dom/window_management.dart | 2 +- lib/src/dom/xhr.dart | 2 +- tool/generator/translator.dart | 9 +++------ 278 files changed, 280 insertions(+), 283 deletions(-) diff --git a/lib/src/dom/accelerometer.dart b/lib/src/dom/accelerometer.dart index 13d51535..b60f7b06 100644 --- a/lib/src/dom/accelerometer.dart +++ b/lib/src/dom/accelerometer.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library accelerometer; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ambient_light.dart b/lib/src/dom/ambient_light.dart index e75510a4..42999f24 100644 --- a/lib/src/dom/ambient_light.dart +++ b/lib/src/dom/ambient_light.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ambient_light; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/anchors.dart b/lib/src/dom/anchors.dart index 9b0f648b..ef81d5c7 100644 --- a/lib/src/dom/anchors.dart +++ b/lib/src/dom/anchors.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library anchors; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/angle_instanced_arrays.dart b/lib/src/dom/angle_instanced_arrays.dart index f1b52177..b410fcee 100644 --- a/lib/src/dom/angle_instanced_arrays.dart +++ b/lib/src/dom/angle_instanced_arrays.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library angle_instanced_arrays; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/attribution_reporting_api.dart b/lib/src/dom/attribution_reporting_api.dart index 890856c4..5084d6a2 100644 --- a/lib/src/dom/attribution_reporting_api.dart +++ b/lib/src/dom/attribution_reporting_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library attribution_reporting_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/audio_output.dart b/lib/src/dom/audio_output.dart index 6db193ba..a9e2b811 100644 --- a/lib/src/dom/audio_output.dart +++ b/lib/src/dom/audio_output.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library audio_output; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/audio_session.dart b/lib/src/dom/audio_session.dart index 5bd61f5d..f0b55a8d 100644 --- a/lib/src/dom/audio_session.dart +++ b/lib/src/dom/audio_session.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library audio_session; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/autoplay_detection.dart b/lib/src/dom/autoplay_detection.dart index 0e2380d1..70c6de03 100644 --- a/lib/src/dom/autoplay_detection.dart +++ b/lib/src/dom/autoplay_detection.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library autoplay_detection; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/background_fetch.dart b/lib/src/dom/background_fetch.dart index 1751e728..ca3c80b0 100644 --- a/lib/src/dom/background_fetch.dart +++ b/lib/src/dom/background_fetch.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library background_fetch; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/background_sync.dart b/lib/src/dom/background_sync.dart index 46fc682f..48c37256 100644 --- a/lib/src/dom/background_sync.dart +++ b/lib/src/dom/background_sync.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library background_sync; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/battery_status.dart b/lib/src/dom/battery_status.dart index 31e696b3..eb20ab46 100644 --- a/lib/src/dom/battery_status.dart +++ b/lib/src/dom/battery_status.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library battery_status; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/capture_handle_identity.dart b/lib/src/dom/capture_handle_identity.dart index 522af4d4..e12bd044 100644 --- a/lib/src/dom/capture_handle_identity.dart +++ b/lib/src/dom/capture_handle_identity.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library capture_handle_identity; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/captured_mouse_events.dart b/lib/src/dom/captured_mouse_events.dart index 8fec3a29..462209fd 100644 --- a/lib/src/dom/captured_mouse_events.dart +++ b/lib/src/dom/captured_mouse_events.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library captured_mouse_events; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/clipboard_apis.dart b/lib/src/dom/clipboard_apis.dart index b893a72e..a2137c78 100644 --- a/lib/src/dom/clipboard_apis.dart +++ b/lib/src/dom/clipboard_apis.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library clipboard_apis; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/compression.dart b/lib/src/dom/compression.dart index 0f90838f..cfe30e83 100644 --- a/lib/src/dom/compression.dart +++ b/lib/src/dom/compression.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library compression; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/compute_pressure.dart b/lib/src/dom/compute_pressure.dart index e55be470..9636c682 100644 --- a/lib/src/dom/compute_pressure.dart +++ b/lib/src/dom/compute_pressure.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library compute_pressure; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/console.dart b/lib/src/dom/console.dart index 8e148d0d..037b5960 100644 --- a/lib/src/dom/console.dart +++ b/lib/src/dom/console.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library console; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/contact_picker.dart b/lib/src/dom/contact_picker.dart index f3670528..e4ebdcb4 100644 --- a/lib/src/dom/contact_picker.dart +++ b/lib/src/dom/contact_picker.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library contact_picker; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/content_index.dart b/lib/src/dom/content_index.dart index 6ae23a4c..152a80dd 100644 --- a/lib/src/dom/content_index.dart +++ b/lib/src/dom/content_index.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library content_index; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/cookie_store.dart b/lib/src/dom/cookie_store.dart index 5791a01c..2914cd57 100644 --- a/lib/src/dom/cookie_store.dart +++ b/lib/src/dom/cookie_store.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library cookie_store; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/crash_reporting.dart b/lib/src/dom/crash_reporting.dart index f02c33bc..33fbb47f 100644 --- a/lib/src/dom/crash_reporting.dart +++ b/lib/src/dom/crash_reporting.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library crash_reporting; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/credential_management.dart b/lib/src/dom/credential_management.dart index 30896a04..b35aed30 100644 --- a/lib/src/dom/credential_management.dart +++ b/lib/src/dom/credential_management.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library credential_management; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/csp.dart b/lib/src/dom/csp.dart index 58c951fb..fc943ee8 100644 --- a/lib/src/dom/csp.dart +++ b/lib/src/dom/csp.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library csp; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/csp_next.dart b/lib/src/dom/csp_next.dart index 3da49fa5..d385723b 100644 --- a/lib/src/dom/csp_next.dart +++ b/lib/src/dom/csp_next.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library csp_next; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_anchor_position.dart b/lib/src/dom/css_anchor_position.dart index fb8b1968..73455956 100644 --- a/lib/src/dom/css_anchor_position.dart +++ b/lib/src/dom/css_anchor_position.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_anchor_position; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_animation_worklet.dart b/lib/src/dom/css_animation_worklet.dart index 848d58c2..95b53212 100644 --- a/lib/src/dom/css_animation_worklet.dart +++ b/lib/src/dom/css_animation_worklet.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_animation_worklet; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_animations.dart b/lib/src/dom/css_animations.dart index f9a7b889..c695a81a 100644 --- a/lib/src/dom/css_animations.dart +++ b/lib/src/dom/css_animations.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_animations; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_animations_2.dart b/lib/src/dom/css_animations_2.dart index 9d20b801..7f778c85 100644 --- a/lib/src/dom/css_animations_2.dart +++ b/lib/src/dom/css_animations_2.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_animations_2; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_cascade.dart b/lib/src/dom/css_cascade.dart index 338121b8..87f3d2ea 100644 --- a/lib/src/dom/css_cascade.dart +++ b/lib/src/dom/css_cascade.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_cascade; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_cascade_6.dart b/lib/src/dom/css_cascade_6.dart index d3dbe451..9bf7726a 100644 --- a/lib/src/dom/css_cascade_6.dart +++ b/lib/src/dom/css_cascade_6.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_cascade_6; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_color_5.dart b/lib/src/dom/css_color_5.dart index e2fc0a19..8eff3dcc 100644 --- a/lib/src/dom/css_color_5.dart +++ b/lib/src/dom/css_color_5.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_color_5; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_conditional.dart b/lib/src/dom/css_conditional.dart index 1f098599..0ad9ad9c 100644 --- a/lib/src/dom/css_conditional.dart +++ b/lib/src/dom/css_conditional.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_conditional; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_contain.dart b/lib/src/dom/css_contain.dart index ebf4012d..45452113 100644 --- a/lib/src/dom/css_contain.dart +++ b/lib/src/dom/css_contain.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_contain; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_contain_3.dart b/lib/src/dom/css_contain_3.dart index 7b8226c8..5a59d73b 100644 --- a/lib/src/dom/css_contain_3.dart +++ b/lib/src/dom/css_contain_3.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_contain_3; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_counter_styles.dart b/lib/src/dom/css_counter_styles.dart index 459bc2cb..365dfde4 100644 --- a/lib/src/dom/css_counter_styles.dart +++ b/lib/src/dom/css_counter_styles.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_counter_styles; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_font_loading.dart b/lib/src/dom/css_font_loading.dart index fc14cd25..5caa35fb 100644 --- a/lib/src/dom/css_font_loading.dart +++ b/lib/src/dom/css_font_loading.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_font_loading; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_fonts.dart b/lib/src/dom/css_fonts.dart index 90d08d0b..c87259b9 100644 --- a/lib/src/dom/css_fonts.dart +++ b/lib/src/dom/css_fonts.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_fonts; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_highlight_api.dart b/lib/src/dom/css_highlight_api.dart index 8f9ec5f8..7236c731 100644 --- a/lib/src/dom/css_highlight_api.dart +++ b/lib/src/dom/css_highlight_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_highlight_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_layout_api.dart b/lib/src/dom/css_layout_api.dart index 2c00dfb8..a9536c8a 100644 --- a/lib/src/dom/css_layout_api.dart +++ b/lib/src/dom/css_layout_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_layout_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_masking.dart b/lib/src/dom/css_masking.dart index 655a95bd..172e4139 100644 --- a/lib/src/dom/css_masking.dart +++ b/lib/src/dom/css_masking.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_masking; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_nav.dart b/lib/src/dom/css_nav.dart index 8e87d0a3..2489460d 100644 --- a/lib/src/dom/css_nav.dart +++ b/lib/src/dom/css_nav.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_nav; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_paint_api.dart b/lib/src/dom/css_paint_api.dart index 0a7f5d13..8c3dd871 100644 --- a/lib/src/dom/css_paint_api.dart +++ b/lib/src/dom/css_paint_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_paint_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_parser_api.dart b/lib/src/dom/css_parser_api.dart index 091816a7..89a01681 100644 --- a/lib/src/dom/css_parser_api.dart +++ b/lib/src/dom/css_parser_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_parser_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_properties_values_api.dart b/lib/src/dom/css_properties_values_api.dart index ce28c5f1..5e7c5767 100644 --- a/lib/src/dom/css_properties_values_api.dart +++ b/lib/src/dom/css_properties_values_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_properties_values_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_pseudo.dart b/lib/src/dom/css_pseudo.dart index e9fed080..058b4631 100644 --- a/lib/src/dom/css_pseudo.dart +++ b/lib/src/dom/css_pseudo.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_pseudo; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_regions.dart b/lib/src/dom/css_regions.dart index 6cd4c3ea..e3f273ea 100644 --- a/lib/src/dom/css_regions.dart +++ b/lib/src/dom/css_regions.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_regions; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_transitions.dart b/lib/src/dom/css_transitions.dart index d1bc8e1f..c4d77794 100644 --- a/lib/src/dom/css_transitions.dart +++ b/lib/src/dom/css_transitions.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_transitions; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_transitions_2.dart b/lib/src/dom/css_transitions_2.dart index e88fb937..9f9368c7 100644 --- a/lib/src/dom/css_transitions_2.dart +++ b/lib/src/dom/css_transitions_2.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_transitions_2; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_typed_om.dart b/lib/src/dom/css_typed_om.dart index db9a5964..c2641192 100644 --- a/lib/src/dom/css_typed_om.dart +++ b/lib/src/dom/css_typed_om.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_typed_om; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_view_transitions.dart b/lib/src/dom/css_view_transitions.dart index 0bb00501..00698a7e 100644 --- a/lib/src/dom/css_view_transitions.dart +++ b/lib/src/dom/css_view_transitions.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_view_transitions; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/css_view_transitions_2.dart b/lib/src/dom/css_view_transitions_2.dart index 88130e8a..17b9646d 100644 --- a/lib/src/dom/css_view_transitions_2.dart +++ b/lib/src/dom/css_view_transitions_2.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library css_view_transitions_2; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/cssom.dart b/lib/src/dom/cssom.dart index 3ea19d30..6892db4f 100644 --- a/lib/src/dom/cssom.dart +++ b/lib/src/dom/cssom.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library cssom; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/cssom_view.dart b/lib/src/dom/cssom_view.dart index 346f7d47..75ca960b 100644 --- a/lib/src/dom/cssom_view.dart +++ b/lib/src/dom/cssom_view.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library cssom_view; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/custom_state_pseudo_class.dart b/lib/src/dom/custom_state_pseudo_class.dart index b59a8b9f..41154189 100644 --- a/lib/src/dom/custom_state_pseudo_class.dart +++ b/lib/src/dom/custom_state_pseudo_class.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library custom_state_pseudo_class; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/datacue.dart b/lib/src/dom/datacue.dart index 1df2f3c2..01f18323 100644 --- a/lib/src/dom/datacue.dart +++ b/lib/src/dom/datacue.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library datacue; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/deprecation_reporting.dart b/lib/src/dom/deprecation_reporting.dart index b32fa190..9a18cef7 100644 --- a/lib/src/dom/deprecation_reporting.dart +++ b/lib/src/dom/deprecation_reporting.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library deprecation_reporting; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/device_posture.dart b/lib/src/dom/device_posture.dart index 76d6e28d..0f5ca000 100644 --- a/lib/src/dom/device_posture.dart +++ b/lib/src/dom/device_posture.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library device_posture; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/digital_goods.dart b/lib/src/dom/digital_goods.dart index 69859f98..3a5aa605 100644 --- a/lib/src/dom/digital_goods.dart +++ b/lib/src/dom/digital_goods.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library digital_goods; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/document_picture_in_picture.dart b/lib/src/dom/document_picture_in_picture.dart index bbc3a480..f73b7f11 100644 --- a/lib/src/dom/document_picture_in_picture.dart +++ b/lib/src/dom/document_picture_in_picture.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library document_picture_in_picture; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/dom.dart b/lib/src/dom/dom.dart index 19a5c43d..c19345d0 100644 --- a/lib/src/dom/dom.dart +++ b/lib/src/dom/dom.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library dom; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/dom_parsing.dart b/lib/src/dom/dom_parsing.dart index 5754a2ad..f50be2ab 100644 --- a/lib/src/dom/dom_parsing.dart +++ b/lib/src/dom/dom_parsing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library dom_parsing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/edit_context.dart b/lib/src/dom/edit_context.dart index 7f259fa3..1a751f81 100644 --- a/lib/src/dom/edit_context.dart +++ b/lib/src/dom/edit_context.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library edit_context; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/element_capture.dart b/lib/src/dom/element_capture.dart index 359c4437..181bd50d 100644 --- a/lib/src/dom/element_capture.dart +++ b/lib/src/dom/element_capture.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library element_capture; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/element_timing.dart b/lib/src/dom/element_timing.dart index 641ecaa1..0cb73bad 100644 --- a/lib/src/dom/element_timing.dart +++ b/lib/src/dom/element_timing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library element_timing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/encoding.dart b/lib/src/dom/encoding.dart index 57372a04..6774d2f2 100644 --- a/lib/src/dom/encoding.dart +++ b/lib/src/dom/encoding.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library encoding; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/encrypted_media.dart b/lib/src/dom/encrypted_media.dart index 82af5c9c..31a81bb3 100644 --- a/lib/src/dom/encrypted_media.dart +++ b/lib/src/dom/encrypted_media.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library encrypted_media; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/entries_api.dart b/lib/src/dom/entries_api.dart index f5a2d3e8..9ebafb0c 100644 --- a/lib/src/dom/entries_api.dart +++ b/lib/src/dom/entries_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library entries_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/event_timing.dart b/lib/src/dom/event_timing.dart index 540d58da..379242e1 100644 --- a/lib/src/dom/event_timing.dart +++ b/lib/src/dom/event_timing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library event_timing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_blend_minmax.dart b/lib/src/dom/ext_blend_minmax.dart index 69c12db3..4593b4b4 100644 --- a/lib/src/dom/ext_blend_minmax.dart +++ b/lib/src/dom/ext_blend_minmax.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_blend_minmax; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_color_buffer_float.dart b/lib/src/dom/ext_color_buffer_float.dart index 870be424..3a51f843 100644 --- a/lib/src/dom/ext_color_buffer_float.dart +++ b/lib/src/dom/ext_color_buffer_float.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_color_buffer_float; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_color_buffer_half_float.dart b/lib/src/dom/ext_color_buffer_half_float.dart index 77972798..ac8b7d57 100644 --- a/lib/src/dom/ext_color_buffer_half_float.dart +++ b/lib/src/dom/ext_color_buffer_half_float.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_color_buffer_half_float; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_disjoint_timer_query.dart b/lib/src/dom/ext_disjoint_timer_query.dart index e0cdbe8a..88e441fb 100644 --- a/lib/src/dom/ext_disjoint_timer_query.dart +++ b/lib/src/dom/ext_disjoint_timer_query.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_disjoint_timer_query; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_disjoint_timer_query_webgl2.dart b/lib/src/dom/ext_disjoint_timer_query_webgl2.dart index 3002cb2c..43f4e354 100644 --- a/lib/src/dom/ext_disjoint_timer_query_webgl2.dart +++ b/lib/src/dom/ext_disjoint_timer_query_webgl2.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_disjoint_timer_query_webgl2; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_float_blend.dart b/lib/src/dom/ext_float_blend.dart index edbb9028..cd3e6da4 100644 --- a/lib/src/dom/ext_float_blend.dart +++ b/lib/src/dom/ext_float_blend.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_float_blend; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_frag_depth.dart b/lib/src/dom/ext_frag_depth.dart index f195e8ea..eeb5431a 100644 --- a/lib/src/dom/ext_frag_depth.dart +++ b/lib/src/dom/ext_frag_depth.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_frag_depth; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_shader_texture_lod.dart b/lib/src/dom/ext_shader_texture_lod.dart index 54c1bfb2..431db193 100644 --- a/lib/src/dom/ext_shader_texture_lod.dart +++ b/lib/src/dom/ext_shader_texture_lod.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_shader_texture_lod; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_srgb.dart b/lib/src/dom/ext_srgb.dart index fd302904..ba00bcf6 100644 --- a/lib/src/dom/ext_srgb.dart +++ b/lib/src/dom/ext_srgb.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_srgb; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_texture_compression_bptc.dart b/lib/src/dom/ext_texture_compression_bptc.dart index 657657a4..bae5d90f 100644 --- a/lib/src/dom/ext_texture_compression_bptc.dart +++ b/lib/src/dom/ext_texture_compression_bptc.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_texture_compression_bptc; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_texture_compression_rgtc.dart b/lib/src/dom/ext_texture_compression_rgtc.dart index 3259b5c5..1ddd15cd 100644 --- a/lib/src/dom/ext_texture_compression_rgtc.dart +++ b/lib/src/dom/ext_texture_compression_rgtc.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_texture_compression_rgtc; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_texture_filter_anisotropic.dart b/lib/src/dom/ext_texture_filter_anisotropic.dart index 3e96b8e9..ea224c12 100644 --- a/lib/src/dom/ext_texture_filter_anisotropic.dart +++ b/lib/src/dom/ext_texture_filter_anisotropic.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_texture_filter_anisotropic; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ext_texture_norm16.dart b/lib/src/dom/ext_texture_norm16.dart index 8daed4d9..6d9ce2e8 100644 --- a/lib/src/dom/ext_texture_norm16.dart +++ b/lib/src/dom/ext_texture_norm16.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ext_texture_norm16; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/eyedropper_api.dart b/lib/src/dom/eyedropper_api.dart index bfc3a153..be5552b5 100644 --- a/lib/src/dom/eyedropper_api.dart +++ b/lib/src/dom/eyedropper_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library eyedropper_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/fedcm.dart b/lib/src/dom/fedcm.dart index 28b17724..c76c600f 100644 --- a/lib/src/dom/fedcm.dart +++ b/lib/src/dom/fedcm.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library fedcm; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/fenced_frame.dart b/lib/src/dom/fenced_frame.dart index c3a50f87..797ade45 100644 --- a/lib/src/dom/fenced_frame.dart +++ b/lib/src/dom/fenced_frame.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library fenced_frame; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/fetch.dart b/lib/src/dom/fetch.dart index fecc3d06..31a72a15 100644 --- a/lib/src/dom/fetch.dart +++ b/lib/src/dom/fetch.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library fetch; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/fido.dart b/lib/src/dom/fido.dart index 5365ed6a..e0f20e93 100644 --- a/lib/src/dom/fido.dart +++ b/lib/src/dom/fido.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library fido; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/file_system_access.dart b/lib/src/dom/file_system_access.dart index 5bf650e5..38a176ce 100644 --- a/lib/src/dom/file_system_access.dart +++ b/lib/src/dom/file_system_access.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library file_system_access; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/fileapi.dart b/lib/src/dom/fileapi.dart index 6abfeaa7..03f75a3d 100644 --- a/lib/src/dom/fileapi.dart +++ b/lib/src/dom/fileapi.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library fileapi; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/filter_effects.dart b/lib/src/dom/filter_effects.dart index 4569a580..db1ba30f 100644 --- a/lib/src/dom/filter_effects.dart +++ b/lib/src/dom/filter_effects.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library filter_effects; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/font_metrics_api.dart b/lib/src/dom/font_metrics_api.dart index 2abe5d10..8ac07879 100644 --- a/lib/src/dom/font_metrics_api.dart +++ b/lib/src/dom/font_metrics_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library font_metrics_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/fs.dart b/lib/src/dom/fs.dart index 2bea39ad..4251ea64 100644 --- a/lib/src/dom/fs.dart +++ b/lib/src/dom/fs.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library fs; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/fullscreen.dart b/lib/src/dom/fullscreen.dart index 6f7fdc95..7f46f994 100644 --- a/lib/src/dom/fullscreen.dart +++ b/lib/src/dom/fullscreen.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library fullscreen; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/gamepad.dart b/lib/src/dom/gamepad.dart index bff3f892..162ce498 100644 --- a/lib/src/dom/gamepad.dart +++ b/lib/src/dom/gamepad.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library gamepad; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/gamepad_extensions.dart b/lib/src/dom/gamepad_extensions.dart index 61f27d0a..69c39654 100644 --- a/lib/src/dom/gamepad_extensions.dart +++ b/lib/src/dom/gamepad_extensions.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library gamepad_extensions; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/generic_sensor.dart b/lib/src/dom/generic_sensor.dart index 9065d36a..efb95bff 100644 --- a/lib/src/dom/generic_sensor.dart +++ b/lib/src/dom/generic_sensor.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library generic_sensor; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/geolocation.dart b/lib/src/dom/geolocation.dart index 8298408c..b3e2fe7e 100644 --- a/lib/src/dom/geolocation.dart +++ b/lib/src/dom/geolocation.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library geolocation; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/geolocation_sensor.dart b/lib/src/dom/geolocation_sensor.dart index f2bff80f..fbfb642c 100644 --- a/lib/src/dom/geolocation_sensor.dart +++ b/lib/src/dom/geolocation_sensor.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library geolocation_sensor; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/geometry.dart b/lib/src/dom/geometry.dart index 617979cb..b00f56df 100644 --- a/lib/src/dom/geometry.dart +++ b/lib/src/dom/geometry.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library geometry; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/get_installed_related_apps.dart b/lib/src/dom/get_installed_related_apps.dart index d33c3cea..13fde7ce 100644 --- a/lib/src/dom/get_installed_related_apps.dart +++ b/lib/src/dom/get_installed_related_apps.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library get_installed_related_apps; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/gyroscope.dart b/lib/src/dom/gyroscope.dart index e93f7552..baff3b68 100644 --- a/lib/src/dom/gyroscope.dart +++ b/lib/src/dom/gyroscope.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library gyroscope; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/hr_time.dart b/lib/src/dom/hr_time.dart index 10454a8b..71bccad5 100644 --- a/lib/src/dom/hr_time.dart +++ b/lib/src/dom/hr_time.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library hr_time; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/html.dart b/lib/src/dom/html.dart index 34a1be38..227ec10b 100644 --- a/lib/src/dom/html.dart +++ b/lib/src/dom/html.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library html; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/idle_detection.dart b/lib/src/dom/idle_detection.dart index 931011f0..916f3079 100644 --- a/lib/src/dom/idle_detection.dart +++ b/lib/src/dom/idle_detection.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library idle_detection; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/image_capture.dart b/lib/src/dom/image_capture.dart index c882a32b..d0246ee8 100644 --- a/lib/src/dom/image_capture.dart +++ b/lib/src/dom/image_capture.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library image_capture; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/image_resource.dart b/lib/src/dom/image_resource.dart index 2f6fe6a1..1cef1f72 100644 --- a/lib/src/dom/image_resource.dart +++ b/lib/src/dom/image_resource.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library image_resource; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/indexeddb.dart b/lib/src/dom/indexeddb.dart index 81c689c8..18730265 100644 --- a/lib/src/dom/indexeddb.dart +++ b/lib/src/dom/indexeddb.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library indexeddb; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ink_enhancement.dart b/lib/src/dom/ink_enhancement.dart index 9afe8be4..a49e87bc 100644 --- a/lib/src/dom/ink_enhancement.dart +++ b/lib/src/dom/ink_enhancement.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ink_enhancement; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/input_device_capabilities.dart b/lib/src/dom/input_device_capabilities.dart index 909ef3da..05e6b009 100644 --- a/lib/src/dom/input_device_capabilities.dart +++ b/lib/src/dom/input_device_capabilities.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library input_device_capabilities; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/intersection_observer.dart b/lib/src/dom/intersection_observer.dart index d8d5ede3..99edf677 100644 --- a/lib/src/dom/intersection_observer.dart +++ b/lib/src/dom/intersection_observer.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library intersection_observer; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/intervention_reporting.dart b/lib/src/dom/intervention_reporting.dart index 34af526b..b8cff729 100644 --- a/lib/src/dom/intervention_reporting.dart +++ b/lib/src/dom/intervention_reporting.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library intervention_reporting; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/is_input_pending.dart b/lib/src/dom/is_input_pending.dart index 08bf87a3..695121e2 100644 --- a/lib/src/dom/is_input_pending.dart +++ b/lib/src/dom/is_input_pending.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library is_input_pending; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/js_self_profiling.dart b/lib/src/dom/js_self_profiling.dart index f3b60069..05023a07 100644 --- a/lib/src/dom/js_self_profiling.dart +++ b/lib/src/dom/js_self_profiling.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library js_self_profiling; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/keyboard_lock.dart b/lib/src/dom/keyboard_lock.dart index e0db4278..abb3e265 100644 --- a/lib/src/dom/keyboard_lock.dart +++ b/lib/src/dom/keyboard_lock.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library keyboard_lock; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/keyboard_map.dart b/lib/src/dom/keyboard_map.dart index 952b7122..ec352c43 100644 --- a/lib/src/dom/keyboard_map.dart +++ b/lib/src/dom/keyboard_map.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library keyboard_map; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/khr_parallel_shader_compile.dart b/lib/src/dom/khr_parallel_shader_compile.dart index 719641f0..308c6328 100644 --- a/lib/src/dom/khr_parallel_shader_compile.dart +++ b/lib/src/dom/khr_parallel_shader_compile.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library khr_parallel_shader_compile; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/largest_contentful_paint.dart b/lib/src/dom/largest_contentful_paint.dart index 837b4ded..fddece51 100644 --- a/lib/src/dom/largest_contentful_paint.dart +++ b/lib/src/dom/largest_contentful_paint.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library largest_contentful_paint; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/layout_instability.dart b/lib/src/dom/layout_instability.dart index 512d1c73..dd092736 100644 --- a/lib/src/dom/layout_instability.dart +++ b/lib/src/dom/layout_instability.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library layout_instability; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/local_font_access.dart b/lib/src/dom/local_font_access.dart index 7aabaf72..d6fa9dcb 100644 --- a/lib/src/dom/local_font_access.dart +++ b/lib/src/dom/local_font_access.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library local_font_access; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/longtasks.dart b/lib/src/dom/longtasks.dart index fd12f1e6..8e8d54c5 100644 --- a/lib/src/dom/longtasks.dart +++ b/lib/src/dom/longtasks.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library longtasks; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/magnetometer.dart b/lib/src/dom/magnetometer.dart index 0c8c46a7..24946a64 100644 --- a/lib/src/dom/magnetometer.dart +++ b/lib/src/dom/magnetometer.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library magnetometer; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/manifest_incubations.dart b/lib/src/dom/manifest_incubations.dart index 91321b7c..5c4895d1 100644 --- a/lib/src/dom/manifest_incubations.dart +++ b/lib/src/dom/manifest_incubations.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library manifest_incubations; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mathml_core.dart b/lib/src/dom/mathml_core.dart index 62511838..7a31d611 100644 --- a/lib/src/dom/mathml_core.dart +++ b/lib/src/dom/mathml_core.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mathml_core; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/media_capabilities.dart b/lib/src/dom/media_capabilities.dart index 92bb97c1..87d3463b 100644 --- a/lib/src/dom/media_capabilities.dart +++ b/lib/src/dom/media_capabilities.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library media_capabilities; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/media_playback_quality.dart b/lib/src/dom/media_playback_quality.dart index 4b885366..b295ace3 100644 --- a/lib/src/dom/media_playback_quality.dart +++ b/lib/src/dom/media_playback_quality.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library media_playback_quality; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/media_source.dart b/lib/src/dom/media_source.dart index f11ffb9d..d52a507b 100644 --- a/lib/src/dom/media_source.dart +++ b/lib/src/dom/media_source.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library media_source; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mediacapture_automation.dart b/lib/src/dom/mediacapture_automation.dart index 6af4ea64..aa675599 100644 --- a/lib/src/dom/mediacapture_automation.dart +++ b/lib/src/dom/mediacapture_automation.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mediacapture_automation; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mediacapture_fromelement.dart b/lib/src/dom/mediacapture_fromelement.dart index 02341465..08f87ca0 100644 --- a/lib/src/dom/mediacapture_fromelement.dart +++ b/lib/src/dom/mediacapture_fromelement.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mediacapture_fromelement; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mediacapture_handle_actions.dart b/lib/src/dom/mediacapture_handle_actions.dart index b0b64a2d..13e74e0d 100644 --- a/lib/src/dom/mediacapture_handle_actions.dart +++ b/lib/src/dom/mediacapture_handle_actions.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mediacapture_handle_actions; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mediacapture_region.dart b/lib/src/dom/mediacapture_region.dart index ee5789da..a9e9dba9 100644 --- a/lib/src/dom/mediacapture_region.dart +++ b/lib/src/dom/mediacapture_region.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mediacapture_region; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mediacapture_streams.dart b/lib/src/dom/mediacapture_streams.dart index f4f5a65d..3a447616 100644 --- a/lib/src/dom/mediacapture_streams.dart +++ b/lib/src/dom/mediacapture_streams.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mediacapture_streams; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mediacapture_transform.dart b/lib/src/dom/mediacapture_transform.dart index 5be32a6f..68a0be8d 100644 --- a/lib/src/dom/mediacapture_transform.dart +++ b/lib/src/dom/mediacapture_transform.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mediacapture_transform; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mediacapture_viewport.dart b/lib/src/dom/mediacapture_viewport.dart index f3fd8991..c1aea2f0 100644 --- a/lib/src/dom/mediacapture_viewport.dart +++ b/lib/src/dom/mediacapture_viewport.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mediacapture_viewport; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mediasession.dart b/lib/src/dom/mediasession.dart index d386aab6..c6775255 100644 --- a/lib/src/dom/mediasession.dart +++ b/lib/src/dom/mediasession.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mediasession; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mediastream_recording.dart b/lib/src/dom/mediastream_recording.dart index 81902d04..d609762c 100644 --- a/lib/src/dom/mediastream_recording.dart +++ b/lib/src/dom/mediastream_recording.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mediastream_recording; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/model_element.dart b/lib/src/dom/model_element.dart index 1a30be1a..534b495a 100644 --- a/lib/src/dom/model_element.dart +++ b/lib/src/dom/model_element.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library model_element; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/mst_content_hint.dart b/lib/src/dom/mst_content_hint.dart index ac05cab1..f5eb02f7 100644 --- a/lib/src/dom/mst_content_hint.dart +++ b/lib/src/dom/mst_content_hint.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library mst_content_hint; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/navigation_timing.dart b/lib/src/dom/navigation_timing.dart index 34e308f0..c4d5f3a4 100644 --- a/lib/src/dom/navigation_timing.dart +++ b/lib/src/dom/navigation_timing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library navigation_timing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/netinfo.dart b/lib/src/dom/netinfo.dart index 9b325df8..1e5a8ab5 100644 --- a/lib/src/dom/netinfo.dart +++ b/lib/src/dom/netinfo.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library netinfo; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/notifications.dart b/lib/src/dom/notifications.dart index 2bf0deac..ce14d50b 100644 --- a/lib/src/dom/notifications.dart +++ b/lib/src/dom/notifications.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library notifications; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/oes_draw_buffers_indexed.dart b/lib/src/dom/oes_draw_buffers_indexed.dart index e15870f4..8ab003a7 100644 --- a/lib/src/dom/oes_draw_buffers_indexed.dart +++ b/lib/src/dom/oes_draw_buffers_indexed.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library oes_draw_buffers_indexed; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/oes_element_index_uint.dart b/lib/src/dom/oes_element_index_uint.dart index dbc89b58..aa8e3dc4 100644 --- a/lib/src/dom/oes_element_index_uint.dart +++ b/lib/src/dom/oes_element_index_uint.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library oes_element_index_uint; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/oes_fbo_render_mipmap.dart b/lib/src/dom/oes_fbo_render_mipmap.dart index 9c91f634..7e7b6287 100644 --- a/lib/src/dom/oes_fbo_render_mipmap.dart +++ b/lib/src/dom/oes_fbo_render_mipmap.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library oes_fbo_render_mipmap; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/oes_standard_derivatives.dart b/lib/src/dom/oes_standard_derivatives.dart index 39cc28f2..bda7ed46 100644 --- a/lib/src/dom/oes_standard_derivatives.dart +++ b/lib/src/dom/oes_standard_derivatives.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library oes_standard_derivatives; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/oes_texture_float.dart b/lib/src/dom/oes_texture_float.dart index 8667222b..9f728f46 100644 --- a/lib/src/dom/oes_texture_float.dart +++ b/lib/src/dom/oes_texture_float.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library oes_texture_float; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/oes_texture_float_linear.dart b/lib/src/dom/oes_texture_float_linear.dart index d47d7384..3f9e491b 100644 --- a/lib/src/dom/oes_texture_float_linear.dart +++ b/lib/src/dom/oes_texture_float_linear.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library oes_texture_float_linear; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/oes_texture_half_float.dart b/lib/src/dom/oes_texture_half_float.dart index 4e244f80..fc9dc2e4 100644 --- a/lib/src/dom/oes_texture_half_float.dart +++ b/lib/src/dom/oes_texture_half_float.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library oes_texture_half_float; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/oes_texture_half_float_linear.dart b/lib/src/dom/oes_texture_half_float_linear.dart index 176ffd05..9b328fc5 100644 --- a/lib/src/dom/oes_texture_half_float_linear.dart +++ b/lib/src/dom/oes_texture_half_float_linear.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library oes_texture_half_float_linear; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/oes_vertex_array_object.dart b/lib/src/dom/oes_vertex_array_object.dart index d53da132..0fb1d6fd 100644 --- a/lib/src/dom/oes_vertex_array_object.dart +++ b/lib/src/dom/oes_vertex_array_object.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library oes_vertex_array_object; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/orientation_event.dart b/lib/src/dom/orientation_event.dart index f27d283e..d264f8d0 100644 --- a/lib/src/dom/orientation_event.dart +++ b/lib/src/dom/orientation_event.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library orientation_event; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/orientation_sensor.dart b/lib/src/dom/orientation_sensor.dart index 68617497..dce7c05b 100644 --- a/lib/src/dom/orientation_sensor.dart +++ b/lib/src/dom/orientation_sensor.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library orientation_sensor; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ovr_multiview2.dart b/lib/src/dom/ovr_multiview2.dart index cf5c272a..37ccd799 100644 --- a/lib/src/dom/ovr_multiview2.dart +++ b/lib/src/dom/ovr_multiview2.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ovr_multiview2; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/page_lifecycle.dart b/lib/src/dom/page_lifecycle.dart index a4423717..0b35cf89 100644 --- a/lib/src/dom/page_lifecycle.dart +++ b/lib/src/dom/page_lifecycle.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library page_lifecycle; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/paint_timing.dart b/lib/src/dom/paint_timing.dart index 22f4c247..a1417264 100644 --- a/lib/src/dom/paint_timing.dart +++ b/lib/src/dom/paint_timing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library paint_timing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/payment_handler.dart b/lib/src/dom/payment_handler.dart index e1cf6330..b88cb1e4 100644 --- a/lib/src/dom/payment_handler.dart +++ b/lib/src/dom/payment_handler.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library payment_handler; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/payment_request.dart b/lib/src/dom/payment_request.dart index fdeebe3b..0c397d60 100644 --- a/lib/src/dom/payment_request.dart +++ b/lib/src/dom/payment_request.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library payment_request; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/performance_measure_memory.dart b/lib/src/dom/performance_measure_memory.dart index a258ad89..6e9d6ab5 100644 --- a/lib/src/dom/performance_measure_memory.dart +++ b/lib/src/dom/performance_measure_memory.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library performance_measure_memory; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/performance_timeline.dart b/lib/src/dom/performance_timeline.dart index d75875b7..8d946080 100644 --- a/lib/src/dom/performance_timeline.dart +++ b/lib/src/dom/performance_timeline.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library performance_timeline; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/periodic_background_sync.dart b/lib/src/dom/periodic_background_sync.dart index b640fc6a..69bbfe2b 100644 --- a/lib/src/dom/periodic_background_sync.dart +++ b/lib/src/dom/periodic_background_sync.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library periodic_background_sync; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/permissions.dart b/lib/src/dom/permissions.dart index 62511be5..d1540ce7 100644 --- a/lib/src/dom/permissions.dart +++ b/lib/src/dom/permissions.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library permissions; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/permissions_policy.dart b/lib/src/dom/permissions_policy.dart index 5b60d464..0d04a3c9 100644 --- a/lib/src/dom/permissions_policy.dart +++ b/lib/src/dom/permissions_policy.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library permissions_policy; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/picture_in_picture.dart b/lib/src/dom/picture_in_picture.dart index 3637442a..15c25122 100644 --- a/lib/src/dom/picture_in_picture.dart +++ b/lib/src/dom/picture_in_picture.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library picture_in_picture; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/pointerevents.dart b/lib/src/dom/pointerevents.dart index 059888da..4a851f31 100644 --- a/lib/src/dom/pointerevents.dart +++ b/lib/src/dom/pointerevents.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library pointerevents; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/portals.dart b/lib/src/dom/portals.dart index 53b53739..fb4ba57f 100644 --- a/lib/src/dom/portals.dart +++ b/lib/src/dom/portals.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library portals; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/presentation_api.dart b/lib/src/dom/presentation_api.dart index 16835d5d..3a97a0b1 100644 --- a/lib/src/dom/presentation_api.dart +++ b/lib/src/dom/presentation_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library presentation_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/private_network_access.dart b/lib/src/dom/private_network_access.dart index 106473e6..9578e0b6 100644 --- a/lib/src/dom/private_network_access.dart +++ b/lib/src/dom/private_network_access.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library private_network_access; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/proximity.dart b/lib/src/dom/proximity.dart index 829ecc0a..5e274227 100644 --- a/lib/src/dom/proximity.dart +++ b/lib/src/dom/proximity.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library proximity; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/push_api.dart b/lib/src/dom/push_api.dart index f47e71e8..546bf76c 100644 --- a/lib/src/dom/push_api.dart +++ b/lib/src/dom/push_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library push_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/raw_camera_access.dart b/lib/src/dom/raw_camera_access.dart index 4750e6ed..bb0ab23f 100644 --- a/lib/src/dom/raw_camera_access.dart +++ b/lib/src/dom/raw_camera_access.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library raw_camera_access; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/real_world_meshing.dart b/lib/src/dom/real_world_meshing.dart index 4d12fa28..09eeb94b 100644 --- a/lib/src/dom/real_world_meshing.dart +++ b/lib/src/dom/real_world_meshing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library real_world_meshing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/referrer_policy.dart b/lib/src/dom/referrer_policy.dart index ccc058f9..859bc631 100644 --- a/lib/src/dom/referrer_policy.dart +++ b/lib/src/dom/referrer_policy.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library referrer_policy; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/remote_playback.dart b/lib/src/dom/remote_playback.dart index 70bd038a..d8a2f2b6 100644 --- a/lib/src/dom/remote_playback.dart +++ b/lib/src/dom/remote_playback.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library remote_playback; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/reporting.dart b/lib/src/dom/reporting.dart index e9719de2..71b3a95e 100644 --- a/lib/src/dom/reporting.dart +++ b/lib/src/dom/reporting.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library reporting; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/requestidlecallback.dart b/lib/src/dom/requestidlecallback.dart index 4547da62..de0e6328 100644 --- a/lib/src/dom/requestidlecallback.dart +++ b/lib/src/dom/requestidlecallback.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library requestidlecallback; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/requeststorageaccessfor.dart b/lib/src/dom/requeststorageaccessfor.dart index 6477a3e9..974f851e 100644 --- a/lib/src/dom/requeststorageaccessfor.dart +++ b/lib/src/dom/requeststorageaccessfor.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library requeststorageaccessfor; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/resize_observer.dart b/lib/src/dom/resize_observer.dart index 28caf44c..18b89bfc 100644 --- a/lib/src/dom/resize_observer.dart +++ b/lib/src/dom/resize_observer.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library resize_observer; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/resource_timing.dart b/lib/src/dom/resource_timing.dart index e3666331..1bbc0c2c 100644 --- a/lib/src/dom/resource_timing.dart +++ b/lib/src/dom/resource_timing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library resource_timing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/sanitizer_api.dart b/lib/src/dom/sanitizer_api.dart index 3c1e417a..b1641164 100644 --- a/lib/src/dom/sanitizer_api.dart +++ b/lib/src/dom/sanitizer_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library sanitizer_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/scheduling_apis.dart b/lib/src/dom/scheduling_apis.dart index 0a208c7b..3c3d70c0 100644 --- a/lib/src/dom/scheduling_apis.dart +++ b/lib/src/dom/scheduling_apis.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library scheduling_apis; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/screen_capture.dart b/lib/src/dom/screen_capture.dart index bdca9a63..c3413b8e 100644 --- a/lib/src/dom/screen_capture.dart +++ b/lib/src/dom/screen_capture.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library screen_capture; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/screen_orientation.dart b/lib/src/dom/screen_orientation.dart index 5ad3f030..1442bac2 100644 --- a/lib/src/dom/screen_orientation.dart +++ b/lib/src/dom/screen_orientation.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library screen_orientation; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/screen_wake_lock.dart b/lib/src/dom/screen_wake_lock.dart index bc2e93bd..528d6add 100644 --- a/lib/src/dom/screen_wake_lock.dart +++ b/lib/src/dom/screen_wake_lock.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library screen_wake_lock; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/scroll_animations.dart b/lib/src/dom/scroll_animations.dart index fcf9fb22..94c945d1 100644 --- a/lib/src/dom/scroll_animations.dart +++ b/lib/src/dom/scroll_animations.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library scroll_animations; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/scroll_to_text_fragment.dart b/lib/src/dom/scroll_to_text_fragment.dart index 035fa884..941666f0 100644 --- a/lib/src/dom/scroll_to_text_fragment.dart +++ b/lib/src/dom/scroll_to_text_fragment.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library scroll_to_text_fragment; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/secure_payment_confirmation.dart b/lib/src/dom/secure_payment_confirmation.dart index 5aaea6d6..f16fa887 100644 --- a/lib/src/dom/secure_payment_confirmation.dart +++ b/lib/src/dom/secure_payment_confirmation.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library secure_payment_confirmation; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/selection_api.dart b/lib/src/dom/selection_api.dart index 4f61deac..6bf14d77 100644 --- a/lib/src/dom/selection_api.dart +++ b/lib/src/dom/selection_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library selection_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/serial.dart b/lib/src/dom/serial.dart index bc1717e2..459a2f8a 100644 --- a/lib/src/dom/serial.dart +++ b/lib/src/dom/serial.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library serial; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/server_timing.dart b/lib/src/dom/server_timing.dart index 85c55e3d..a9d99e56 100644 --- a/lib/src/dom/server_timing.dart +++ b/lib/src/dom/server_timing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library server_timing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/service_workers.dart b/lib/src/dom/service_workers.dart index f85dbcb5..d8ece3d2 100644 --- a/lib/src/dom/service_workers.dart +++ b/lib/src/dom/service_workers.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library service_workers; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/shape_detection_api.dart b/lib/src/dom/shape_detection_api.dart index a765da7d..4dd21a13 100644 --- a/lib/src/dom/shape_detection_api.dart +++ b/lib/src/dom/shape_detection_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library shape_detection_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/shared_storage.dart b/lib/src/dom/shared_storage.dart index 63c8a31d..c7444d47 100644 --- a/lib/src/dom/shared_storage.dart +++ b/lib/src/dom/shared_storage.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library shared_storage; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/speech_api.dart b/lib/src/dom/speech_api.dart index 2b82fcdf..b20909ec 100644 --- a/lib/src/dom/speech_api.dart +++ b/lib/src/dom/speech_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library speech_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/storage.dart b/lib/src/dom/storage.dart index d2ae297d..3bcd60d6 100644 --- a/lib/src/dom/storage.dart +++ b/lib/src/dom/storage.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library storage; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/storage_buckets.dart b/lib/src/dom/storage_buckets.dart index dfa11137..e388c3c2 100644 --- a/lib/src/dom/storage_buckets.dart +++ b/lib/src/dom/storage_buckets.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library storage_buckets; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/streams.dart b/lib/src/dom/streams.dart index c72407f7..223ad454 100644 --- a/lib/src/dom/streams.dart +++ b/lib/src/dom/streams.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library streams; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/svg.dart b/lib/src/dom/svg.dart index 500d3fa8..9a1048d6 100644 --- a/lib/src/dom/svg.dart +++ b/lib/src/dom/svg.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library svg; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/svg_animations.dart b/lib/src/dom/svg_animations.dart index 638d0328..46c63845 100644 --- a/lib/src/dom/svg_animations.dart +++ b/lib/src/dom/svg_animations.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library svg_animations; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/testutils.dart b/lib/src/dom/testutils.dart index f188e6c8..47a7a537 100644 --- a/lib/src/dom/testutils.dart +++ b/lib/src/dom/testutils.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library testutils; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/text_detection_api.dart b/lib/src/dom/text_detection_api.dart index cd3af91b..29c0fa02 100644 --- a/lib/src/dom/text_detection_api.dart +++ b/lib/src/dom/text_detection_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library text_detection_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/touch_events.dart b/lib/src/dom/touch_events.dart index 99f90711..dd66a36a 100644 --- a/lib/src/dom/touch_events.dart +++ b/lib/src/dom/touch_events.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library touch_events; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/trust_token_api.dart b/lib/src/dom/trust_token_api.dart index c134e46f..d92707e3 100644 --- a/lib/src/dom/trust_token_api.dart +++ b/lib/src/dom/trust_token_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library trust_token_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/trusted_types.dart b/lib/src/dom/trusted_types.dart index a8eec58f..8f76cce7 100644 --- a/lib/src/dom/trusted_types.dart +++ b/lib/src/dom/trusted_types.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library trusted_types; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/turtledove.dart b/lib/src/dom/turtledove.dart index e9b01dc3..b24f9e8a 100644 --- a/lib/src/dom/turtledove.dart +++ b/lib/src/dom/turtledove.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library turtledove; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/ua_client_hints.dart b/lib/src/dom/ua_client_hints.dart index f3e0fd0d..e9c88dd8 100644 --- a/lib/src/dom/ua_client_hints.dart +++ b/lib/src/dom/ua_client_hints.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library ua_client_hints; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/uievents.dart b/lib/src/dom/uievents.dart index 23066bd9..2950bcd2 100644 --- a/lib/src/dom/uievents.dart +++ b/lib/src/dom/uievents.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library uievents; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/url.dart b/lib/src/dom/url.dart index d96a9426..40973076 100644 --- a/lib/src/dom/url.dart +++ b/lib/src/dom/url.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library url; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/urlpattern.dart b/lib/src/dom/urlpattern.dart index eecb7ab1..8d57bec9 100644 --- a/lib/src/dom/urlpattern.dart +++ b/lib/src/dom/urlpattern.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library urlpattern; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/user_timing.dart b/lib/src/dom/user_timing.dart index d9dea1be..02fd41ac 100644 --- a/lib/src/dom/user_timing.dart +++ b/lib/src/dom/user_timing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library user_timing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/vibration.dart b/lib/src/dom/vibration.dart index 94383d6a..41d1fc09 100644 --- a/lib/src/dom/vibration.dart +++ b/lib/src/dom/vibration.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library vibration; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/video_rvfc.dart b/lib/src/dom/video_rvfc.dart index 90a56699..3dfa82e4 100644 --- a/lib/src/dom/video_rvfc.dart +++ b/lib/src/dom/video_rvfc.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library video_rvfc; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/virtual_keyboard.dart b/lib/src/dom/virtual_keyboard.dart index a0fb61ca..ab0a8030 100644 --- a/lib/src/dom/virtual_keyboard.dart +++ b/lib/src/dom/virtual_keyboard.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library virtual_keyboard; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/wasm_js_api.dart b/lib/src/dom/wasm_js_api.dart index cc669eb2..a4f3115f 100644 --- a/lib/src/dom/wasm_js_api.dart +++ b/lib/src/dom/wasm_js_api.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library wasm_js_api; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/web_animations.dart b/lib/src/dom/web_animations.dart index 55c7989b..9230d834 100644 --- a/lib/src/dom/web_animations.dart +++ b/lib/src/dom/web_animations.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library web_animations; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/web_animations_2.dart b/lib/src/dom/web_animations_2.dart index a36475ec..b574dd6a 100644 --- a/lib/src/dom/web_animations_2.dart +++ b/lib/src/dom/web_animations_2.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library web_animations_2; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/web_app_launch.dart b/lib/src/dom/web_app_launch.dart index 81c520d4..8cdb431f 100644 --- a/lib/src/dom/web_app_launch.dart +++ b/lib/src/dom/web_app_launch.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library web_app_launch; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/web_bluetooth.dart b/lib/src/dom/web_bluetooth.dart index 152b5ed8..0ae9d10b 100644 --- a/lib/src/dom/web_bluetooth.dart +++ b/lib/src/dom/web_bluetooth.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library web_bluetooth; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/web_locks.dart b/lib/src/dom/web_locks.dart index 46d649eb..e992bf5f 100644 --- a/lib/src/dom/web_locks.dart +++ b/lib/src/dom/web_locks.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library web_locks; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/web_nfc.dart b/lib/src/dom/web_nfc.dart index caa30276..599f01dd 100644 --- a/lib/src/dom/web_nfc.dart +++ b/lib/src/dom/web_nfc.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library web_nfc; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/web_otp.dart b/lib/src/dom/web_otp.dart index 36f0139b..2b720904 100644 --- a/lib/src/dom/web_otp.dart +++ b/lib/src/dom/web_otp.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library web_otp; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/web_share.dart b/lib/src/dom/web_share.dart index 86cf48d7..246e5de1 100644 --- a/lib/src/dom/web_share.dart +++ b/lib/src/dom/web_share.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library web_share; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webaudio.dart b/lib/src/dom/webaudio.dart index 183282fd..b2e1eaf9 100644 --- a/lib/src/dom/webaudio.dart +++ b/lib/src/dom/webaudio.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webaudio; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webauthn.dart b/lib/src/dom/webauthn.dart index e2b0f12e..74a5a947 100644 --- a/lib/src/dom/webauthn.dart +++ b/lib/src/dom/webauthn.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webauthn; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcodecs.dart b/lib/src/dom/webcodecs.dart index 55469a7d..2da6e7e9 100644 --- a/lib/src/dom/webcodecs.dart +++ b/lib/src/dom/webcodecs.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcodecs; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcodecs_aac_codec_registration.dart b/lib/src/dom/webcodecs_aac_codec_registration.dart index 09be32ad..892fcfd3 100644 --- a/lib/src/dom/webcodecs_aac_codec_registration.dart +++ b/lib/src/dom/webcodecs_aac_codec_registration.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcodecs_aac_codec_registration; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcodecs_av1_codec_registration.dart b/lib/src/dom/webcodecs_av1_codec_registration.dart index 592d5b13..08f80de8 100644 --- a/lib/src/dom/webcodecs_av1_codec_registration.dart +++ b/lib/src/dom/webcodecs_av1_codec_registration.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcodecs_av1_codec_registration; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcodecs_avc_codec_registration.dart b/lib/src/dom/webcodecs_avc_codec_registration.dart index a7928449..1dac7ead 100644 --- a/lib/src/dom/webcodecs_avc_codec_registration.dart +++ b/lib/src/dom/webcodecs_avc_codec_registration.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcodecs_avc_codec_registration; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcodecs_flac_codec_registration.dart b/lib/src/dom/webcodecs_flac_codec_registration.dart index 5765ded7..4d8fdeb2 100644 --- a/lib/src/dom/webcodecs_flac_codec_registration.dart +++ b/lib/src/dom/webcodecs_flac_codec_registration.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcodecs_flac_codec_registration; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcodecs_hevc_codec_registration.dart b/lib/src/dom/webcodecs_hevc_codec_registration.dart index 93f411b0..7d1f169a 100644 --- a/lib/src/dom/webcodecs_hevc_codec_registration.dart +++ b/lib/src/dom/webcodecs_hevc_codec_registration.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcodecs_hevc_codec_registration; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcodecs_opus_codec_registration.dart b/lib/src/dom/webcodecs_opus_codec_registration.dart index bddccdd9..e52395d9 100644 --- a/lib/src/dom/webcodecs_opus_codec_registration.dart +++ b/lib/src/dom/webcodecs_opus_codec_registration.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcodecs_opus_codec_registration; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcodecs_vp9_codec_registration.dart b/lib/src/dom/webcodecs_vp9_codec_registration.dart index 091c8834..1d30a99e 100644 --- a/lib/src/dom/webcodecs_vp9_codec_registration.dart +++ b/lib/src/dom/webcodecs_vp9_codec_registration.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcodecs_vp9_codec_registration; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcrypto_secure_curves.dart b/lib/src/dom/webcrypto_secure_curves.dart index 53d27054..26c9c646 100644 --- a/lib/src/dom/webcrypto_secure_curves.dart +++ b/lib/src/dom/webcrypto_secure_curves.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcrypto_secure_curves; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webcryptoapi.dart b/lib/src/dom/webcryptoapi.dart index d4612629..365f9b4d 100644 --- a/lib/src/dom/webcryptoapi.dart +++ b/lib/src/dom/webcryptoapi.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webcryptoapi; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl1.dart b/lib/src/dom/webgl1.dart index cb26a2e8..a5d9cece 100644 --- a/lib/src/dom/webgl1.dart +++ b/lib/src/dom/webgl1.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl1; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl2.dart b/lib/src/dom/webgl2.dart index f38e680f..b541725f 100644 --- a/lib/src/dom/webgl2.dart +++ b/lib/src/dom/webgl2.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl2; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_blend_equation_advanced_coherent.dart b/lib/src/dom/webgl_blend_equation_advanced_coherent.dart index f22f86b5..288fb707 100644 --- a/lib/src/dom/webgl_blend_equation_advanced_coherent.dart +++ b/lib/src/dom/webgl_blend_equation_advanced_coherent.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_blend_equation_advanced_coherent; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_clip_cull_distance.dart b/lib/src/dom/webgl_clip_cull_distance.dart index 949df30f..734c4caf 100644 --- a/lib/src/dom/webgl_clip_cull_distance.dart +++ b/lib/src/dom/webgl_clip_cull_distance.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_clip_cull_distance; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_color_buffer_float.dart b/lib/src/dom/webgl_color_buffer_float.dart index 55b158e0..1bc924bf 100644 --- a/lib/src/dom/webgl_color_buffer_float.dart +++ b/lib/src/dom/webgl_color_buffer_float.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_color_buffer_float; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_compressed_texture_astc.dart b/lib/src/dom/webgl_compressed_texture_astc.dart index 5006e6c9..480ac71b 100644 --- a/lib/src/dom/webgl_compressed_texture_astc.dart +++ b/lib/src/dom/webgl_compressed_texture_astc.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_compressed_texture_astc; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_compressed_texture_etc.dart b/lib/src/dom/webgl_compressed_texture_etc.dart index 212a8f5b..a06296ff 100644 --- a/lib/src/dom/webgl_compressed_texture_etc.dart +++ b/lib/src/dom/webgl_compressed_texture_etc.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_compressed_texture_etc; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_compressed_texture_etc1.dart b/lib/src/dom/webgl_compressed_texture_etc1.dart index 78b99d87..79e5f272 100644 --- a/lib/src/dom/webgl_compressed_texture_etc1.dart +++ b/lib/src/dom/webgl_compressed_texture_etc1.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_compressed_texture_etc1; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_compressed_texture_pvrtc.dart b/lib/src/dom/webgl_compressed_texture_pvrtc.dart index 771f83d2..243cb911 100644 --- a/lib/src/dom/webgl_compressed_texture_pvrtc.dart +++ b/lib/src/dom/webgl_compressed_texture_pvrtc.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_compressed_texture_pvrtc; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_compressed_texture_s3tc.dart b/lib/src/dom/webgl_compressed_texture_s3tc.dart index 83a7db59..eccc9a9e 100644 --- a/lib/src/dom/webgl_compressed_texture_s3tc.dart +++ b/lib/src/dom/webgl_compressed_texture_s3tc.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_compressed_texture_s3tc; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_compressed_texture_s3tc_srgb.dart b/lib/src/dom/webgl_compressed_texture_s3tc_srgb.dart index 26166fda..60a00f03 100644 --- a/lib/src/dom/webgl_compressed_texture_s3tc_srgb.dart +++ b/lib/src/dom/webgl_compressed_texture_s3tc_srgb.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_compressed_texture_s3tc_srgb; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_debug_renderer_info.dart b/lib/src/dom/webgl_debug_renderer_info.dart index a9682c43..ec12c80e 100644 --- a/lib/src/dom/webgl_debug_renderer_info.dart +++ b/lib/src/dom/webgl_debug_renderer_info.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_debug_renderer_info; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_debug_shaders.dart b/lib/src/dom/webgl_debug_shaders.dart index f2898d37..fc255e89 100644 --- a/lib/src/dom/webgl_debug_shaders.dart +++ b/lib/src/dom/webgl_debug_shaders.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_debug_shaders; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_depth_texture.dart b/lib/src/dom/webgl_depth_texture.dart index b8c94725..ca40cbfa 100644 --- a/lib/src/dom/webgl_depth_texture.dart +++ b/lib/src/dom/webgl_depth_texture.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_depth_texture; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_draw_buffers.dart b/lib/src/dom/webgl_draw_buffers.dart index 0bb72395..5836c36d 100644 --- a/lib/src/dom/webgl_draw_buffers.dart +++ b/lib/src/dom/webgl_draw_buffers.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_draw_buffers; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_draw_instanced_base_vertex_base_instance.dart b/lib/src/dom/webgl_draw_instanced_base_vertex_base_instance.dart index 91325470..da379049 100644 --- a/lib/src/dom/webgl_draw_instanced_base_vertex_base_instance.dart +++ b/lib/src/dom/webgl_draw_instanced_base_vertex_base_instance.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_draw_instanced_base_vertex_base_instance; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_lose_context.dart b/lib/src/dom/webgl_lose_context.dart index f27598e0..fdddc3fa 100644 --- a/lib/src/dom/webgl_lose_context.dart +++ b/lib/src/dom/webgl_lose_context.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_lose_context; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_multi_draw.dart b/lib/src/dom/webgl_multi_draw.dart index 933699be..6fc2f2c0 100644 --- a/lib/src/dom/webgl_multi_draw.dart +++ b/lib/src/dom/webgl_multi_draw.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_multi_draw; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_multi_draw_instanced_base_vertex_base_instance.dart b/lib/src/dom/webgl_multi_draw_instanced_base_vertex_base_instance.dart index 2622ba8d..d20cb7d4 100644 --- a/lib/src/dom/webgl_multi_draw_instanced_base_vertex_base_instance.dart +++ b/lib/src/dom/webgl_multi_draw_instanced_base_vertex_base_instance.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_multi_draw_instanced_base_vertex_base_instance; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgl_provoking_vertex.dart b/lib/src/dom/webgl_provoking_vertex.dart index faafd24c..a486d55c 100644 --- a/lib/src/dom/webgl_provoking_vertex.dart +++ b/lib/src/dom/webgl_provoking_vertex.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgl_provoking_vertex; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webgpu.dart b/lib/src/dom/webgpu.dart index 9211689f..fdd96df8 100644 --- a/lib/src/dom/webgpu.dart +++ b/lib/src/dom/webgpu.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webgpu; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webhid.dart b/lib/src/dom/webhid.dart index a9a85992..58c03447 100644 --- a/lib/src/dom/webhid.dart +++ b/lib/src/dom/webhid.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webhid; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webidl.dart b/lib/src/dom/webidl.dart index 1a9eb206..653a92f1 100644 --- a/lib/src/dom/webidl.dart +++ b/lib/src/dom/webidl.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webidl; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webmidi.dart b/lib/src/dom/webmidi.dart index 2693566c..ef2f063d 100644 --- a/lib/src/dom/webmidi.dart +++ b/lib/src/dom/webmidi.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webmidi; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webnn.dart b/lib/src/dom/webnn.dart index 4bb5a3c4..a14c8775 100644 --- a/lib/src/dom/webnn.dart +++ b/lib/src/dom/webnn.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webnn; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webrtc.dart b/lib/src/dom/webrtc.dart index 6c7b7c38..98d4cc88 100644 --- a/lib/src/dom/webrtc.dart +++ b/lib/src/dom/webrtc.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webrtc; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webrtc_encoded_transform.dart b/lib/src/dom/webrtc_encoded_transform.dart index ffdd0b30..1ba36e0e 100644 --- a/lib/src/dom/webrtc_encoded_transform.dart +++ b/lib/src/dom/webrtc_encoded_transform.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webrtc_encoded_transform; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webrtc_ice.dart b/lib/src/dom/webrtc_ice.dart index cd3cf4f8..29c2ddb1 100644 --- a/lib/src/dom/webrtc_ice.dart +++ b/lib/src/dom/webrtc_ice.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webrtc_ice; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webrtc_identity.dart b/lib/src/dom/webrtc_identity.dart index a532e06a..975dc8db 100644 --- a/lib/src/dom/webrtc_identity.dart +++ b/lib/src/dom/webrtc_identity.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webrtc_identity; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webrtc_priority.dart b/lib/src/dom/webrtc_priority.dart index f94c0164..b5721fe7 100644 --- a/lib/src/dom/webrtc_priority.dart +++ b/lib/src/dom/webrtc_priority.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webrtc_priority; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webrtc_stats.dart b/lib/src/dom/webrtc_stats.dart index 58ec6d70..9e6da141 100644 --- a/lib/src/dom/webrtc_stats.dart +++ b/lib/src/dom/webrtc_stats.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webrtc_stats; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/websockets.dart b/lib/src/dom/websockets.dart index 073c3c43..b6af6170 100644 --- a/lib/src/dom/websockets.dart +++ b/lib/src/dom/websockets.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library websockets; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webtransport.dart b/lib/src/dom/webtransport.dart index 3d62da8a..017f9e11 100644 --- a/lib/src/dom/webtransport.dart +++ b/lib/src/dom/webtransport.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webtransport; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webusb.dart b/lib/src/dom/webusb.dart index 3e11bab4..c308a00a 100644 --- a/lib/src/dom/webusb.dart +++ b/lib/src/dom/webusb.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webusb; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webvtt.dart b/lib/src/dom/webvtt.dart index 4c5e3d9f..30bd4bd0 100644 --- a/lib/src/dom/webvtt.dart +++ b/lib/src/dom/webvtt.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webvtt; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webxr.dart b/lib/src/dom/webxr.dart index 725ad15f..ce19e73b 100644 --- a/lib/src/dom/webxr.dart +++ b/lib/src/dom/webxr.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webxr; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webxr_ar_module.dart b/lib/src/dom/webxr_ar_module.dart index ff555005..d219dfaa 100644 --- a/lib/src/dom/webxr_ar_module.dart +++ b/lib/src/dom/webxr_ar_module.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webxr_ar_module; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webxr_depth_sensing.dart b/lib/src/dom/webxr_depth_sensing.dart index f8fc5ba4..82a43ce7 100644 --- a/lib/src/dom/webxr_depth_sensing.dart +++ b/lib/src/dom/webxr_depth_sensing.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webxr_depth_sensing; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webxr_dom_overlays.dart b/lib/src/dom/webxr_dom_overlays.dart index a4b211a6..7e34243b 100644 --- a/lib/src/dom/webxr_dom_overlays.dart +++ b/lib/src/dom/webxr_dom_overlays.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webxr_dom_overlays; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webxr_hand_input.dart b/lib/src/dom/webxr_hand_input.dart index 9d4d09f6..540d04b4 100644 --- a/lib/src/dom/webxr_hand_input.dart +++ b/lib/src/dom/webxr_hand_input.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webxr_hand_input; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webxr_hit_test.dart b/lib/src/dom/webxr_hit_test.dart index a4a8d6d4..d9c110e4 100644 --- a/lib/src/dom/webxr_hit_test.dart +++ b/lib/src/dom/webxr_hit_test.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webxr_hit_test; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webxr_lighting_estimation.dart b/lib/src/dom/webxr_lighting_estimation.dart index 853d4fc9..03736a44 100644 --- a/lib/src/dom/webxr_lighting_estimation.dart +++ b/lib/src/dom/webxr_lighting_estimation.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webxr_lighting_estimation; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/webxrlayers.dart b/lib/src/dom/webxrlayers.dart index b1698038..4c7ac593 100644 --- a/lib/src/dom/webxrlayers.dart +++ b/lib/src/dom/webxrlayers.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library webxrlayers; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/window_controls_overlay.dart b/lib/src/dom/window_controls_overlay.dart index decc6455..5166d5b3 100644 --- a/lib/src/dom/window_controls_overlay.dart +++ b/lib/src/dom/window_controls_overlay.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library window_controls_overlay; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/window_management.dart b/lib/src/dom/window_management.dart index 48ceb53c..ecc11493 100644 --- a/lib/src/dom/window_management.dart +++ b/lib/src/dom/window_management.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library window_management; +library; import 'dart:js_interop'; diff --git a/lib/src/dom/xhr.dart b/lib/src/dom/xhr.dart index c04f6d0e..f2015c22 100644 --- a/lib/src/dom/xhr.dart +++ b/lib/src/dom/xhr.dart @@ -5,7 +5,7 @@ // Generated from Web IDL definitions. @JS() -library xhr; +library; import 'dart:js_interop'; diff --git a/tool/generator/translator.dart b/tool/generator/translator.dart index b751401e..7bf2a6cb 100644 --- a/tool/generator/translator.dart +++ b/tool/generator/translator.dart @@ -20,7 +20,6 @@ typedef TranslationResult = Map; class _Library { final Translator translator; - final String name; final String url; // Contains both IDL `interface`s and `namespace`s. final List interfacelikes = []; @@ -32,7 +31,7 @@ class _Library { final List callbacks = []; final List callbackInterfaces = []; - _Library(this.translator, this.name, this.url); + _Library(this.translator, this.url); void _addNamed(idl.Node node, List list) { final named = node as T; @@ -494,15 +493,14 @@ class Translator { } void collect(String shortName, JSArray ast) { - final libraryName = shortName.kebabToSnake; - final libraryPath = '$_librarySubDir/$libraryName.dart'; + final libraryPath = '$_librarySubDir/${shortName.kebabToSnake}.dart'; assert(!_libraries.containsKey(libraryPath)); // TODO: Use the info from the spec to skip generation of some libraries. // ignore: unused_local_variable final spec = webSpecs.specFor(shortName)!; - final library = _Library(this, libraryName, '$packageRoot/$libraryPath'); + final library = _Library(this, '$packageRoot/$libraryPath'); _libraries[libraryPath] = library; for (var i = 0; i < ast.length; i++) { @@ -848,7 +846,6 @@ class Translator { // Once this package moves to an SDK version that contains a fix for that, // this can be removed. ..annotations.addAll(_jsOverride('', alwaysEmit: true)) - ..name = library.name ..body.addAll([ for (final typedef in library.typedefs) _typedef(typedef.name, _getRawType(typedef.idlType)),