adnbn 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/adnbn.js +1 -1
- package/dist/cli/builders/app/command.d.ts +6 -0
- package/dist/cli/builders/app/command.js +59 -0
- package/dist/cli/builders/app/command.js.map +1 -0
- package/dist/cli/builders/app/index.d.ts +18 -0
- package/dist/cli/builders/app/index.js +30 -0
- package/dist/cli/builders/app/index.js.map +1 -0
- package/dist/cli/builders/locale/LocaleBuilder.d.ts +23 -0
- package/dist/cli/builders/locale/LocaleBuilder.js +116 -0
- package/dist/cli/builders/locale/LocaleBuilder.js.map +1 -0
- package/dist/cli/builders/locale/LocaleValidator.d.ts +24 -0
- package/dist/cli/builders/locale/LocaleValidator.js +81 -0
- package/dist/cli/builders/locale/LocaleValidator.js.map +1 -0
- package/dist/cli/builders/locale/index.d.ts +20 -0
- package/dist/cli/builders/locale/index.js +14 -0
- package/dist/cli/builders/locale/index.js.map +1 -0
- package/dist/cli/builders/manifest/ManifestBase.d.ts +87 -0
- package/dist/cli/builders/manifest/ManifestBase.js +324 -0
- package/dist/cli/builders/manifest/ManifestBase.js.map +1 -0
- package/dist/cli/builders/manifest/ManifestV2.d.ts +25 -0
- package/dist/cli/builders/manifest/ManifestV2.js +75 -0
- package/dist/cli/builders/manifest/ManifestV2.js.map +1 -0
- package/dist/cli/builders/manifest/ManifestV3.d.ts +24 -0
- package/dist/cli/builders/manifest/ManifestV3.js +86 -0
- package/dist/cli/builders/manifest/ManifestV3.js.map +1 -0
- package/dist/cli/builders/manifest/index.d.ts +18 -0
- package/dist/cli/builders/manifest/index.js +13 -0
- package/dist/cli/builders/manifest/index.js.map +1 -0
- package/dist/cli/builders/manifest/utils.d.ts +12 -0
- package/dist/cli/builders/manifest/utils.js +69 -0
- package/dist/cli/builders/manifest/utils.js.map +1 -0
- package/dist/cli/bundler/index.d.ts +19 -0
- package/dist/cli/bundler/index.js +3 -0
- package/dist/cli/bundler/index.js.map +1 -0
- package/dist/cli/bundler/plugins/EntrypointPlugin.d.ts +42 -0
- package/dist/cli/bundler/plugins/EntrypointPlugin.js +137 -0
- package/dist/cli/bundler/plugins/EntrypointPlugin.js.map +1 -0
- package/dist/cli/bundler/plugins/GenerateJsonPlugin.d.ts +20 -0
- package/dist/cli/bundler/plugins/GenerateJsonPlugin.js +43 -0
- package/dist/cli/bundler/plugins/GenerateJsonPlugin.js.map +1 -0
- package/dist/cli/bundler/plugins/ManifestPlugin.d.ts +21 -0
- package/dist/cli/bundler/plugins/ManifestPlugin.js +77 -0
- package/dist/cli/bundler/plugins/ManifestPlugin.js.map +1 -0
- package/dist/cli/bundler/plugins/ReplacePlugin.d.ts +12 -0
- package/dist/cli/bundler/plugins/ReplacePlugin.js +41 -0
- package/dist/cli/bundler/plugins/ReplacePlugin.js.map +1 -0
- package/dist/cli/bundler/plugins/WatchPlugin.d.ts +10 -0
- package/dist/cli/bundler/plugins/WatchPlugin.js +20 -0
- package/dist/cli/bundler/plugins/WatchPlugin.js.map +1 -0
- package/dist/cli/bundler/plugins/index.d.ts +17 -0
- package/dist/cli/bundler/plugins/index.js +17 -0
- package/dist/cli/bundler/plugins/index.js.map +1 -0
- package/dist/cli/bundler/utils/index.d.ts +3 -0
- package/dist/cli/bundler/utils/index.js +3 -0
- package/dist/cli/bundler/utils/index.js.map +1 -0
- package/dist/cli/bundler/utils/optimization.d.ts +6 -0
- package/dist/cli/bundler/utils/optimization.js +106 -0
- package/dist/cli/bundler/utils/optimization.js.map +1 -0
- package/dist/cli/bundler/utils/output.d.ts +5 -0
- package/dist/cli/bundler/utils/output.js +15 -0
- package/dist/cli/bundler/utils/output.js.map +1 -0
- package/dist/cli/entrypoint/file/ExpressionFile.d.ts +54 -0
- package/dist/cli/entrypoint/file/ExpressionFile.js +271 -0
- package/dist/cli/entrypoint/file/ExpressionFile.js.map +1 -0
- package/dist/cli/entrypoint/file/OptionFile.d.ts +20 -0
- package/dist/cli/entrypoint/file/OptionFile.js +75 -0
- package/dist/cli/entrypoint/file/OptionFile.js.map +1 -0
- package/dist/cli/entrypoint/file/SourceFile.d.ts +26 -0
- package/dist/cli/entrypoint/file/SourceFile.js +235 -0
- package/dist/cli/entrypoint/file/SourceFile.js.map +1 -0
- package/dist/cli/entrypoint/file/index.d.ts +8 -0
- package/dist/cli/entrypoint/file/index.js +10 -0
- package/dist/cli/entrypoint/file/index.js.map +1 -0
- package/dist/cli/entrypoint/file/injectors/core.d.ts +5 -0
- package/dist/cli/entrypoint/file/injectors/core.js +52 -0
- package/dist/cli/entrypoint/file/injectors/core.js.map +1 -0
- package/dist/cli/entrypoint/file/injectors/index.d.ts +5 -0
- package/dist/cli/entrypoint/file/injectors/index.js +11 -0
- package/dist/cli/entrypoint/file/injectors/index.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/AbstractParser.d.ts +42 -0
- package/dist/cli/entrypoint/file/parsers/AbstractParser.js +39 -0
- package/dist/cli/entrypoint/file/parsers/AbstractParser.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/ClassParser.d.ts +46 -0
- package/dist/cli/entrypoint/file/parsers/ClassParser.js +137 -0
- package/dist/cli/entrypoint/file/parsers/ClassParser.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/FunctionParser.d.ts +40 -0
- package/dist/cli/entrypoint/file/parsers/FunctionParser.js +76 -0
- package/dist/cli/entrypoint/file/parsers/FunctionParser.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/JSDocParser.d.ts +81 -0
- package/dist/cli/entrypoint/file/parsers/JSDocParser.js +313 -0
- package/dist/cli/entrypoint/file/parsers/JSDocParser.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/NodeFinder.d.ts +63 -0
- package/dist/cli/entrypoint/file/parsers/NodeFinder.js +98 -0
- package/dist/cli/entrypoint/file/parsers/NodeFinder.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/ObjectParser.d.ts +41 -0
- package/dist/cli/entrypoint/file/parsers/ObjectParser.js +96 -0
- package/dist/cli/entrypoint/file/parsers/ObjectParser.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/SignatureBuilder.d.ts +45 -0
- package/dist/cli/entrypoint/file/parsers/SignatureBuilder.js +99 -0
- package/dist/cli/entrypoint/file/parsers/SignatureBuilder.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/TypeResolver.d.ts +89 -0
- package/dist/cli/entrypoint/file/parsers/TypeResolver.js +347 -0
- package/dist/cli/entrypoint/file/parsers/TypeResolver.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/helpers/memberFilters.d.ts +3 -0
- package/dist/cli/entrypoint/file/parsers/helpers/memberFilters.js +7 -0
- package/dist/cli/entrypoint/file/parsers/helpers/memberFilters.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/index.d.ts +14 -0
- package/dist/cli/entrypoint/file/parsers/index.js +17 -0
- package/dist/cli/entrypoint/file/parsers/index.js.map +1 -0
- package/dist/cli/entrypoint/file/parsers/types.d.ts +31 -0
- package/dist/cli/entrypoint/file/parsers/types.js +1 -0
- package/dist/cli/entrypoint/file/parsers/types.js.map +1 -0
- package/dist/cli/entrypoint/file/resolvers/ImportResolver.d.ts +13 -0
- package/dist/cli/entrypoint/file/resolvers/ImportResolver.js +74 -0
- package/dist/cli/entrypoint/file/resolvers/ImportResolver.js.map +1 -0
- package/dist/cli/entrypoint/file/resolvers/TsResolver.d.ts +17 -0
- package/dist/cli/entrypoint/file/resolvers/TsResolver.js +60 -0
- package/dist/cli/entrypoint/file/resolvers/TsResolver.js.map +1 -0
- package/dist/cli/entrypoint/file/resolvers/index.d.ts +3 -0
- package/dist/cli/entrypoint/file/resolvers/index.js +7 -0
- package/dist/cli/entrypoint/file/resolvers/index.js.map +1 -0
- package/dist/cli/entrypoint/file/types.d.ts +16 -0
- package/dist/cli/entrypoint/file/types.js +1 -0
- package/dist/cli/entrypoint/file/types.js.map +1 -0
- package/dist/cli/entrypoint/finder/AbstractAssetFinder.d.ts +28 -0
- package/dist/cli/entrypoint/finder/AbstractAssetFinder.js +58 -0
- package/dist/cli/entrypoint/finder/AbstractAssetFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/AbstractEntrypointFinder.d.ts +29 -0
- package/dist/cli/entrypoint/finder/AbstractEntrypointFinder.js +107 -0
- package/dist/cli/entrypoint/finder/AbstractEntrypointFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/AbstractFinder.d.ts +33 -0
- package/dist/cli/entrypoint/finder/AbstractFinder.js +73 -0
- package/dist/cli/entrypoint/finder/AbstractFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/AbstractOptionsFinder.d.ts +32 -0
- package/dist/cli/entrypoint/finder/AbstractOptionsFinder.js +57 -0
- package/dist/cli/entrypoint/finder/AbstractOptionsFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/AbstractPluginFinder.d.ts +28 -0
- package/dist/cli/entrypoint/finder/AbstractPluginFinder.js +21 -0
- package/dist/cli/entrypoint/finder/AbstractPluginFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/AbstractTransportFinder.d.ts +39 -0
- package/dist/cli/entrypoint/finder/AbstractTransportFinder.js +59 -0
- package/dist/cli/entrypoint/finder/AbstractTransportFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/AbstractViewFinder.d.ts +51 -0
- package/dist/cli/entrypoint/finder/AbstractViewFinder.js +97 -0
- package/dist/cli/entrypoint/finder/AbstractViewFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/AssetPluginFinder.d.ts +26 -0
- package/dist/cli/entrypoint/finder/AssetPluginFinder.js +69 -0
- package/dist/cli/entrypoint/finder/AssetPluginFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/BackgroundFinder.d.ts +28 -0
- package/dist/cli/entrypoint/finder/BackgroundFinder.js +25 -0
- package/dist/cli/entrypoint/finder/BackgroundFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/CommandFinder.d.ts +35 -0
- package/dist/cli/entrypoint/finder/CommandFinder.js +48 -0
- package/dist/cli/entrypoint/finder/CommandFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/ContentFinder.d.ts +28 -0
- package/dist/cli/entrypoint/finder/ContentFinder.js +25 -0
- package/dist/cli/entrypoint/finder/ContentFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/IconFinder.d.ts +48 -0
- package/dist/cli/entrypoint/finder/IconFinder.js +78 -0
- package/dist/cli/entrypoint/finder/IconFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/LocaleFinder.d.ts +41 -0
- package/dist/cli/entrypoint/finder/LocaleFinder.js +100 -0
- package/dist/cli/entrypoint/finder/LocaleFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/OffscreenFinder.d.ts +35 -0
- package/dist/cli/entrypoint/finder/OffscreenFinder.js +25 -0
- package/dist/cli/entrypoint/finder/OffscreenFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/OffscreenViewFinder.d.ts +37 -0
- package/dist/cli/entrypoint/finder/OffscreenViewFinder.js +24 -0
- package/dist/cli/entrypoint/finder/OffscreenViewFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/PageFinder.d.ts +33 -0
- package/dist/cli/entrypoint/finder/PageFinder.js +39 -0
- package/dist/cli/entrypoint/finder/PageFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/PluginFinder.d.ts +27 -0
- package/dist/cli/entrypoint/finder/PluginFinder.js +44 -0
- package/dist/cli/entrypoint/finder/PluginFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/PopupFinder.d.ts +32 -0
- package/dist/cli/entrypoint/finder/PopupFinder.js +28 -0
- package/dist/cli/entrypoint/finder/PopupFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/RelayFinder.d.ts +34 -0
- package/dist/cli/entrypoint/finder/RelayFinder.js +25 -0
- package/dist/cli/entrypoint/finder/RelayFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/ServiceFinder.d.ts +34 -0
- package/dist/cli/entrypoint/finder/ServiceFinder.js +25 -0
- package/dist/cli/entrypoint/finder/ServiceFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/SidebarFinder.d.ts +32 -0
- package/dist/cli/entrypoint/finder/SidebarFinder.js +28 -0
- package/dist/cli/entrypoint/finder/SidebarFinder.js.map +1 -0
- package/dist/cli/entrypoint/finder/index.d.ts +46 -0
- package/dist/cli/entrypoint/finder/index.js +41 -0
- package/dist/cli/entrypoint/finder/index.js.map +1 -0
- package/dist/cli/entrypoint/index.d.ts +66 -0
- package/dist/cli/entrypoint/index.js +5 -0
- package/dist/cli/entrypoint/index.js.map +1 -0
- package/dist/cli/entrypoint/name/InlineNameGenerator.d.ts +10 -0
- package/dist/cli/entrypoint/name/InlineNameGenerator.js +23 -0
- package/dist/cli/entrypoint/name/InlineNameGenerator.js.map +1 -0
- package/dist/cli/entrypoint/name/NameGenerator.d.ts +17 -0
- package/dist/cli/entrypoint/name/NameGenerator.js +61 -0
- package/dist/cli/entrypoint/name/NameGenerator.js.map +1 -0
- package/dist/cli/entrypoint/name/index.d.ts +4 -0
- package/dist/cli/entrypoint/name/index.js +7 -0
- package/dist/cli/entrypoint/name/index.js.map +1 -0
- package/dist/cli/entrypoint/parser/AbstractParser.d.ts +52 -0
- package/dist/cli/entrypoint/parser/AbstractParser.js +54 -0
- package/dist/cli/entrypoint/parser/AbstractParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/BackgroundParser.d.ts +29 -0
- package/dist/cli/entrypoint/parser/BackgroundParser.js +17 -0
- package/dist/cli/entrypoint/parser/BackgroundParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/CommandParser.d.ts +32 -0
- package/dist/cli/entrypoint/parser/CommandParser.js +52 -0
- package/dist/cli/entrypoint/parser/CommandParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/ContentParser.d.ts +30 -0
- package/dist/cli/entrypoint/parser/ContentParser.js +35 -0
- package/dist/cli/entrypoint/parser/ContentParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/OffscreenParser.d.ts +35 -0
- package/dist/cli/entrypoint/parser/OffscreenParser.js +33 -0
- package/dist/cli/entrypoint/parser/OffscreenParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/PageParser.d.ts +32 -0
- package/dist/cli/entrypoint/parser/PageParser.js +17 -0
- package/dist/cli/entrypoint/parser/PageParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/PopupParser.d.ts +32 -0
- package/dist/cli/entrypoint/parser/PopupParser.js +17 -0
- package/dist/cli/entrypoint/parser/PopupParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/RelayParser.d.ts +35 -0
- package/dist/cli/entrypoint/parser/RelayParser.js +24 -0
- package/dist/cli/entrypoint/parser/RelayParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/ServiceParser.d.ts +34 -0
- package/dist/cli/entrypoint/parser/ServiceParser.js +21 -0
- package/dist/cli/entrypoint/parser/ServiceParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/SidebarParser.d.ts +32 -0
- package/dist/cli/entrypoint/parser/SidebarParser.js +17 -0
- package/dist/cli/entrypoint/parser/SidebarParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/ViewParser.d.ts +1271 -0
- package/dist/cli/entrypoint/parser/ViewParser.js +86 -0
- package/dist/cli/entrypoint/parser/ViewParser.js.map +1 -0
- package/dist/cli/entrypoint/parser/index.d.ts +41 -0
- package/dist/cli/entrypoint/parser/index.js +21 -0
- package/dist/cli/entrypoint/parser/index.js.map +1 -0
- package/dist/cli/entrypoint/utils/file.d.ts +7 -0
- package/dist/cli/entrypoint/utils/file.js +11 -0
- package/dist/cli/entrypoint/utils/file.js.map +1 -0
- package/dist/cli/entrypoint/utils/index.d.ts +4 -0
- package/dist/cli/entrypoint/utils/index.js +2 -0
- package/dist/cli/entrypoint/utils/index.js.map +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +50 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/plugins/asset.d.ts +18 -0
- package/dist/cli/plugins/asset.js +54 -0
- package/dist/cli/plugins/asset.js.map +1 -0
- package/dist/cli/plugins/background/Background.d.ts +26 -0
- package/dist/cli/plugins/background/Background.js +11 -0
- package/dist/cli/plugins/background/Background.js.map +1 -0
- package/dist/cli/plugins/background/BackgroundEntry.d.ts +29 -0
- package/dist/cli/plugins/background/BackgroundEntry.js +29 -0
- package/dist/cli/plugins/background/BackgroundEntry.js.map +1 -0
- package/dist/cli/plugins/background/BackgroundManifest.d.ts +29 -0
- package/dist/cli/plugins/background/BackgroundManifest.js +35 -0
- package/dist/cli/plugins/background/BackgroundManifest.js.map +1 -0
- package/dist/cli/plugins/background/Command.d.ts +36 -0
- package/dist/cli/plugins/background/Command.js +36 -0
- package/dist/cli/plugins/background/Command.js.map +1 -0
- package/dist/cli/plugins/background/Service.d.ts +38 -0
- package/dist/cli/plugins/background/Service.js +25 -0
- package/dist/cli/plugins/background/Service.js.map +1 -0
- package/dist/cli/plugins/background/ServiceDeclaration.d.ts +22 -0
- package/dist/cli/plugins/background/ServiceDeclaration.js +10 -0
- package/dist/cli/plugins/background/ServiceDeclaration.js.map +1 -0
- package/dist/cli/plugins/background/index.d.ts +18 -0
- package/dist/cli/plugins/background/index.js +78 -0
- package/dist/cli/plugins/background/index.js.map +1 -0
- package/dist/cli/plugins/bundler.d.ts +18 -0
- package/dist/cli/plugins/bundler.js +29 -0
- package/dist/cli/plugins/bundler.js.map +1 -0
- package/dist/cli/plugins/content/Content.d.ts +31 -0
- package/dist/cli/plugins/content/Content.js +27 -0
- package/dist/cli/plugins/content/Content.js.map +1 -0
- package/dist/cli/plugins/content/ContentDriver.d.ts +31 -0
- package/dist/cli/plugins/content/ContentDriver.js +29 -0
- package/dist/cli/plugins/content/ContentDriver.js.map +1 -0
- package/dist/cli/plugins/content/ContentManager.d.ts +37 -0
- package/dist/cli/plugins/content/ContentManager.js +97 -0
- package/dist/cli/plugins/content/ContentManager.js.map +1 -0
- package/dist/cli/plugins/content/ContentName.d.ts +26 -0
- package/dist/cli/plugins/content/ContentName.js +32 -0
- package/dist/cli/plugins/content/ContentName.js.map +1 -0
- package/dist/cli/plugins/content/Relay.d.ts +40 -0
- package/dist/cli/plugins/content/Relay.js +30 -0
- package/dist/cli/plugins/content/Relay.js.map +1 -0
- package/dist/cli/plugins/content/RelayDeclaration.d.ts +23 -0
- package/dist/cli/plugins/content/RelayDeclaration.js +13 -0
- package/dist/cli/plugins/content/RelayDeclaration.js.map +1 -0
- package/dist/cli/plugins/content/index.d.ts +18 -0
- package/dist/cli/plugins/content/index.js +71 -0
- package/dist/cli/plugins/content/index.js.map +1 -0
- package/dist/cli/plugins/content/types.d.ts +26 -0
- package/dist/cli/plugins/content/types.js +1 -0
- package/dist/cli/plugins/content/types.js.map +1 -0
- package/dist/cli/plugins/content/utils.d.ts +10 -0
- package/dist/cli/plugins/content/utils.js +18 -0
- package/dist/cli/plugins/content/utils.js.map +1 -0
- package/dist/cli/plugins/dotenv/index.d.ts +19 -0
- package/dist/cli/plugins/dotenv/index.js +34 -0
- package/dist/cli/plugins/dotenv/index.js.map +1 -0
- package/dist/cli/plugins/dotenv/utils.d.ts +5 -0
- package/dist/cli/plugins/dotenv/utils.js +31 -0
- package/dist/cli/plugins/dotenv/utils.js.map +1 -0
- package/dist/cli/plugins/html.d.ts +18 -0
- package/dist/cli/plugins/html.js +29 -0
- package/dist/cli/plugins/html.js.map +1 -0
- package/dist/cli/plugins/icon/Icon.d.ts +31 -0
- package/dist/cli/plugins/icon/Icon.js +52 -0
- package/dist/cli/plugins/icon/Icon.js.map +1 -0
- package/dist/cli/plugins/icon/declaration/IconDeclaration.d.ts +26 -0
- package/dist/cli/plugins/icon/declaration/IconDeclaration.js +29 -0
- package/dist/cli/plugins/icon/declaration/IconDeclaration.js.map +1 -0
- package/dist/cli/plugins/icon/declaration/icon.d.ts +7 -0
- package/dist/cli/plugins/icon/declaration/index.d.ts +16 -0
- package/dist/cli/plugins/icon/declaration/index.js +5 -0
- package/dist/cli/plugins/icon/declaration/index.js.map +1 -0
- package/dist/cli/plugins/icon/index.d.ts +24 -0
- package/dist/cli/plugins/icon/index.js +36 -0
- package/dist/cli/plugins/icon/index.js.map +1 -0
- package/dist/cli/plugins/index.d.ts +61 -0
- package/dist/cli/plugins/index.js +48 -0
- package/dist/cli/plugins/index.js.map +1 -0
- package/dist/cli/plugins/locale/Locale.d.ts +25 -0
- package/dist/cli/plugins/locale/Locale.js +16 -0
- package/dist/cli/plugins/locale/Locale.js.map +1 -0
- package/dist/cli/plugins/locale/declaration/LocaleDeclaration.d.ts +26 -0
- package/dist/cli/plugins/locale/declaration/LocaleDeclaration.js +30 -0
- package/dist/cli/plugins/locale/declaration/LocaleDeclaration.js.map +1 -0
- package/dist/cli/plugins/locale/declaration/index.d.ts +16 -0
- package/dist/cli/plugins/locale/declaration/index.js +5 -0
- package/dist/cli/plugins/locale/declaration/index.js.map +1 -0
- package/dist/cli/plugins/locale/declaration/locale.d.ts +79 -0
- package/dist/cli/plugins/locale/index.d.ts +18 -0
- package/dist/cli/plugins/locale/index.js +104 -0
- package/dist/cli/plugins/locale/index.js.map +1 -0
- package/dist/cli/plugins/meta/AbstractMeta.d.ts +25 -0
- package/dist/cli/plugins/meta/AbstractMeta.js +30 -0
- package/dist/cli/plugins/meta/AbstractMeta.js.map +1 -0
- package/dist/cli/plugins/meta/Author.d.ts +24 -0
- package/dist/cli/plugins/meta/Author.js +29 -0
- package/dist/cli/plugins/meta/Author.js.map +1 -0
- package/dist/cli/plugins/meta/Email.d.ts +23 -0
- package/dist/cli/plugins/meta/Email.js +17 -0
- package/dist/cli/plugins/meta/Email.js.map +1 -0
- package/dist/cli/plugins/meta/Homepage.d.ts +23 -0
- package/dist/cli/plugins/meta/Homepage.js +17 -0
- package/dist/cli/plugins/meta/Homepage.js.map +1 -0
- package/dist/cli/plugins/meta/Incognito.d.ts +23 -0
- package/dist/cli/plugins/meta/Incognito.js +17 -0
- package/dist/cli/plugins/meta/Incognito.js.map +1 -0
- package/dist/cli/plugins/meta/index.d.ts +23 -0
- package/dist/cli/plugins/meta/index.js +21 -0
- package/dist/cli/plugins/meta/index.js.map +1 -0
- package/dist/cli/plugins/offscreen/Offscreen.d.ts +49 -0
- package/dist/cli/plugins/offscreen/Offscreen.js +66 -0
- package/dist/cli/plugins/offscreen/Offscreen.js.map +1 -0
- package/dist/cli/plugins/offscreen/OffscreenDeclaration.d.ts +22 -0
- package/dist/cli/plugins/offscreen/OffscreenDeclaration.js +10 -0
- package/dist/cli/plugins/offscreen/OffscreenDeclaration.js.map +1 -0
- package/dist/cli/plugins/offscreen/index.d.ts +18 -0
- package/dist/cli/plugins/offscreen/index.js +87 -0
- package/dist/cli/plugins/offscreen/index.js.map +1 -0
- package/dist/cli/plugins/optimization.d.ts +18 -0
- package/dist/cli/plugins/optimization.js +48 -0
- package/dist/cli/plugins/optimization.js.map +1 -0
- package/dist/cli/plugins/output.d.ts +18 -0
- package/dist/cli/plugins/output.js +31 -0
- package/dist/cli/plugins/output.js.map +1 -0
- package/dist/cli/plugins/page/Page.d.ts +33 -0
- package/dist/cli/plugins/page/Page.js +31 -0
- package/dist/cli/plugins/page/Page.js.map +1 -0
- package/dist/cli/plugins/page/declaration/PageDeclaration.d.ts +26 -0
- package/dist/cli/plugins/page/declaration/PageDeclaration.js +29 -0
- package/dist/cli/plugins/page/declaration/PageDeclaration.js.map +1 -0
- package/dist/cli/plugins/page/declaration/index.d.ts +16 -0
- package/dist/cli/plugins/page/declaration/index.js +5 -0
- package/dist/cli/plugins/page/declaration/index.js.map +1 -0
- package/dist/cli/plugins/page/declaration/page.d.ts +7 -0
- package/dist/cli/plugins/page/index.d.ts +18 -0
- package/dist/cli/plugins/page/index.js +57 -0
- package/dist/cli/plugins/page/index.js.map +1 -0
- package/dist/cli/plugins/popup/Popup.d.ts +35 -0
- package/dist/cli/plugins/popup/Popup.js +47 -0
- package/dist/cli/plugins/popup/Popup.js.map +1 -0
- package/dist/cli/plugins/popup/declaration/PopupDeclaration.d.ts +26 -0
- package/dist/cli/plugins/popup/declaration/PopupDeclaration.js +29 -0
- package/dist/cli/plugins/popup/declaration/PopupDeclaration.js.map +1 -0
- package/dist/cli/plugins/popup/declaration/index.d.ts +16 -0
- package/dist/cli/plugins/popup/declaration/index.js +5 -0
- package/dist/cli/plugins/popup/declaration/index.js.map +1 -0
- package/dist/cli/plugins/popup/declaration/popup.d.ts +7 -0
- package/dist/cli/plugins/popup/index.d.ts +18 -0
- package/dist/cli/plugins/popup/index.js +57 -0
- package/dist/cli/plugins/popup/index.js.map +1 -0
- package/dist/cli/plugins/public.d.ts +18 -0
- package/dist/cli/plugins/public.js +41 -0
- package/dist/cli/plugins/public.js.map +1 -0
- package/dist/cli/plugins/react.d.ts +18 -0
- package/dist/cli/plugins/react.js +55 -0
- package/dist/cli/plugins/react.js.map +1 -0
- package/dist/cli/plugins/sidebar/Sidebar.d.ts +35 -0
- package/dist/cli/plugins/sidebar/Sidebar.js +47 -0
- package/dist/cli/plugins/sidebar/Sidebar.js.map +1 -0
- package/dist/cli/plugins/sidebar/declaration/SidebarDeclaration.d.ts +26 -0
- package/dist/cli/plugins/sidebar/declaration/SidebarDeclaration.js +29 -0
- package/dist/cli/plugins/sidebar/declaration/SidebarDeclaration.js.map +1 -0
- package/dist/cli/plugins/sidebar/declaration/index.d.ts +16 -0
- package/dist/cli/plugins/sidebar/declaration/index.js +5 -0
- package/dist/cli/plugins/sidebar/declaration/index.js.map +1 -0
- package/dist/cli/plugins/sidebar/declaration/sidebar.d.ts +7 -0
- package/dist/cli/plugins/sidebar/index.d.ts +18 -0
- package/dist/cli/plugins/sidebar/index.js +74 -0
- package/dist/cli/plugins/sidebar/index.js.map +1 -0
- package/dist/cli/plugins/style.d.ts +18 -0
- package/dist/cli/plugins/style.js +105 -0
- package/dist/cli/plugins/style.js.map +1 -0
- package/dist/cli/plugins/typescript/FileBuilder.d.ts +31 -0
- package/dist/cli/plugins/typescript/FileBuilder.js +43 -0
- package/dist/cli/plugins/typescript/FileBuilder.js.map +1 -0
- package/dist/cli/plugins/typescript/TypescriptConfig.d.ts +29 -0
- package/dist/cli/plugins/typescript/TypescriptConfig.js +76 -0
- package/dist/cli/plugins/typescript/TypescriptConfig.js.map +1 -0
- package/dist/cli/plugins/typescript/declaration/VendorDeclaration.d.ts +23 -0
- package/dist/cli/plugins/typescript/declaration/VendorDeclaration.js +19 -0
- package/dist/cli/plugins/typescript/declaration/VendorDeclaration.js.map +1 -0
- package/dist/cli/plugins/typescript/declaration/index.d.ts +17 -0
- package/dist/cli/plugins/typescript/declaration/index.js +6 -0
- package/dist/cli/plugins/typescript/declaration/index.js.map +1 -0
- package/dist/cli/plugins/typescript/declaration/transport/TransportDeclaration.d.ts +33 -0
- package/dist/cli/plugins/typescript/declaration/transport/TransportDeclaration.js +45 -0
- package/dist/cli/plugins/typescript/declaration/transport/TransportDeclaration.js.map +1 -0
- package/dist/cli/plugins/typescript/declaration/transport/index.d.ts +16 -0
- package/dist/cli/plugins/typescript/declaration/transport/index.js +6 -0
- package/dist/cli/plugins/typescript/declaration/transport/index.js.map +1 -0
- package/dist/cli/plugins/typescript/declaration/transport/transport.d.ts +15 -0
- package/dist/cli/plugins/typescript/index.d.ts +23 -0
- package/dist/cli/plugins/typescript/index.js +49 -0
- package/dist/cli/plugins/typescript/index.js.map +1 -0
- package/dist/cli/plugins/version/AbstractVersion.d.ts +24 -0
- package/dist/cli/plugins/version/AbstractVersion.js +19 -0
- package/dist/cli/plugins/version/AbstractVersion.js.map +1 -0
- package/dist/cli/plugins/version/AddonVersion.d.ts +22 -0
- package/dist/cli/plugins/version/AddonVersion.js +34 -0
- package/dist/cli/plugins/version/AddonVersion.js.map +1 -0
- package/dist/cli/plugins/version/BrowserMinimumVersion.d.ts +23 -0
- package/dist/cli/plugins/version/BrowserMinimumVersion.js +28 -0
- package/dist/cli/plugins/version/BrowserMinimumVersion.js.map +1 -0
- package/dist/cli/plugins/version/index.d.ts +21 -0
- package/dist/cli/plugins/version/index.js +17 -0
- package/dist/cli/plugins/version/index.js.map +1 -0
- package/dist/cli/plugins/view/View.d.ts +31 -0
- package/dist/cli/plugins/view/View.js +57 -0
- package/dist/cli/plugins/view/View.js.map +1 -0
- package/dist/cli/plugins/view/index.d.ts +25 -0
- package/dist/cli/plugins/view/index.js +29 -0
- package/dist/cli/plugins/view/index.js.map +1 -0
- package/dist/cli/resolvers/bundler.d.ts +18 -0
- package/dist/cli/resolvers/bundler.js +78 -0
- package/dist/cli/resolvers/bundler.js.map +1 -0
- package/dist/cli/resolvers/config.d.ts +18 -0
- package/dist/cli/resolvers/config.js +278 -0
- package/dist/cli/resolvers/config.js.map +1 -0
- package/dist/cli/resolvers/path.d.ts +25 -0
- package/dist/cli/resolvers/path.js +40 -0
- package/dist/cli/resolvers/path.js.map +1 -0
- package/dist/cli/resolvers/plugin.d.ts +21 -0
- package/dist/cli/resolvers/plugin.js +26 -0
- package/dist/cli/resolvers/plugin.js.map +1 -0
- package/dist/cli/utils/path.d.ts +4 -0
- package/dist/cli/utils/path.js +20 -0
- package/dist/cli/utils/path.js.map +1 -0
- package/dist/cli/utils/string.d.ts +4 -0
- package/dist/cli/utils/string.js +15 -0
- package/dist/cli/utils/string.js.map +1 -0
- package/dist/cli/virtual/index.js +75 -0
- package/dist/cli/virtual/virtual.d.ts +110 -0
- package/dist/{index.d.mts → config-DzmiK3GH.d.ts} +109 -300
- package/dist/entry/background/Builder.d.ts +14 -0
- package/dist/entry/background/Builder.js +21 -0
- package/dist/entry/background/Builder.js.map +1 -0
- package/dist/entry/background/index.d.ts +6 -6
- package/dist/entry/background/index.js +5 -40
- package/dist/entry/background/index.js.map +1 -1
- package/dist/entry/background/resolvers/definition.d.ts +9 -0
- package/dist/entry/background/resolvers/definition.js +11 -0
- package/dist/entry/background/resolvers/definition.js.map +1 -0
- package/dist/entry/background/resolvers/index.d.ts +5 -0
- package/dist/entry/background/resolvers/index.js +2 -0
- package/dist/entry/background/resolvers/index.js.map +1 -0
- package/dist/entry/command/Builder.d.ts +19 -0
- package/dist/entry/command/Builder.js +58 -0
- package/dist/entry/command/Builder.js.map +1 -0
- package/dist/entry/command/index.d.ts +8 -8
- package/dist/entry/command/index.js +5 -83
- package/dist/entry/command/index.js.map +1 -1
- package/dist/entry/command/resolvers/definition.d.ts +12 -0
- package/dist/entry/command/resolvers/definition.js +15 -0
- package/dist/entry/command/resolvers/definition.js.map +1 -0
- package/dist/entry/command/resolvers/index.d.ts +7 -0
- package/dist/entry/command/resolvers/index.js +2 -0
- package/dist/entry/command/resolvers/index.js.map +1 -0
- package/dist/entry/content/adapters/react/Builder.d.ts +20 -0
- package/dist/entry/content/adapters/react/Builder.js +28 -0
- package/dist/entry/content/adapters/react/Builder.js.map +1 -0
- package/dist/entry/content/adapters/react/Node.d.ts +20 -0
- package/dist/entry/content/adapters/react/Node.js +37 -0
- package/dist/entry/content/adapters/react/Node.js.map +1 -0
- package/dist/entry/content/adapters/react/index.d.ts +17 -0
- package/dist/entry/content/adapters/react/index.js +7 -0
- package/dist/entry/content/adapters/react/index.js.map +1 -0
- package/dist/entry/content/adapters/react/resolvers/render.d.ts +10 -0
- package/dist/entry/content/adapters/react/resolvers/render.js +11 -0
- package/dist/entry/content/adapters/react/resolvers/render.js.map +1 -0
- package/dist/entry/content/adapters/vanilla/Builder.d.ts +19 -0
- package/dist/entry/content/adapters/vanilla/Builder.js +21 -0
- package/dist/entry/content/adapters/vanilla/Builder.js.map +1 -0
- package/dist/entry/content/adapters/vanilla/Node.d.ts +19 -0
- package/dist/entry/content/adapters/vanilla/Node.js +40 -0
- package/dist/entry/content/adapters/vanilla/Node.js.map +1 -0
- package/dist/entry/content/adapters/vanilla/index.d.ts +17 -0
- package/dist/entry/content/adapters/vanilla/index.js +7 -0
- package/dist/entry/content/adapters/vanilla/index.js.map +1 -0
- package/dist/entry/content/core/Builder.d.ts +33 -0
- package/dist/entry/content/core/Builder.js +93 -0
- package/dist/entry/content/core/Builder.js.map +1 -0
- package/dist/entry/content/core/Context.d.ts +19 -0
- package/dist/entry/content/core/Context.js +42 -0
- package/dist/entry/content/core/Context.js.map +1 -0
- package/dist/entry/content/core/EventEmitter.d.ts +22 -0
- package/dist/entry/content/core/EventEmitter.js +42 -0
- package/dist/entry/content/core/EventEmitter.js.map +1 -0
- package/dist/entry/content/core/EventNode.d.ts +18 -0
- package/dist/entry/content/core/EventNode.js +30 -0
- package/dist/entry/content/core/EventNode.js.map +1 -0
- package/dist/entry/content/core/ManagedContext.d.ts +13 -0
- package/dist/entry/content/core/ManagedContext.js +12 -0
- package/dist/entry/content/core/ManagedContext.js.map +1 -0
- package/dist/entry/content/core/MountBuilder.d.ts +22 -0
- package/dist/entry/content/core/MountBuilder.js +39 -0
- package/dist/entry/content/core/MountBuilder.js.map +1 -0
- package/dist/entry/content/core/MountNode.d.ts +19 -0
- package/dist/entry/content/core/MountNode.js +37 -0
- package/dist/entry/content/core/MountNode.js.map +1 -0
- package/dist/entry/content/core/Node.d.ts +20 -0
- package/dist/entry/content/core/Node.js +48 -0
- package/dist/entry/content/core/Node.js.map +1 -0
- package/dist/entry/content/core/resolvers/anchor.d.ts +11 -0
- package/dist/entry/content/core/resolvers/anchor.js +42 -0
- package/dist/entry/content/core/resolvers/anchor.js.map +1 -0
- package/dist/entry/content/core/resolvers/container.d.ts +10 -0
- package/dist/entry/content/core/resolvers/container.js +21 -0
- package/dist/entry/content/core/resolvers/container.js.map +1 -0
- package/dist/entry/content/core/resolvers/definition.d.ts +11 -0
- package/dist/entry/content/core/resolvers/definition.js +12 -0
- package/dist/entry/content/core/resolvers/definition.js.map +1 -0
- package/dist/entry/content/core/resolvers/mount.d.ts +10 -0
- package/dist/entry/content/core/resolvers/mount.js +27 -0
- package/dist/entry/content/core/resolvers/mount.js.map +1 -0
- package/dist/entry/content/core/resolvers/render.d.ts +11 -0
- package/dist/entry/content/core/resolvers/render.js +18 -0
- package/dist/entry/content/core/resolvers/render.js.map +1 -0
- package/dist/entry/content/core/resolvers/watch.d.ts +12 -0
- package/dist/entry/content/core/resolvers/watch.js +62 -0
- package/dist/entry/content/core/resolvers/watch.js.map +1 -0
- package/dist/entry/content/index.d.ts +6 -9
- package/dist/entry/content/index.js +2 -39
- package/dist/entry/content/index.js.map +1 -1
- package/dist/{Builder-Df1LUO_f.d.mts → entry/core/Builder.d.ts} +3 -2
- package/dist/entry/core/Builder.js +13 -0
- package/dist/entry/core/Builder.js.map +1 -0
- package/dist/entry/offscreen/Builder.d.ts +32 -0
- package/dist/entry/offscreen/Builder.js +31 -0
- package/dist/entry/offscreen/Builder.js.map +1 -0
- package/dist/entry/offscreen/TransportBuilder.d.ts +27 -0
- package/dist/entry/offscreen/TransportBuilder.js +15 -0
- package/dist/entry/offscreen/TransportBuilder.js.map +1 -0
- package/dist/entry/offscreen/index.d.ts +21 -27
- package/dist/entry/offscreen/index.js +5 -472
- package/dist/entry/offscreen/index.js.map +1 -1
- package/dist/entry/relay/Builder.d.ts +27 -0
- package/dist/entry/relay/Builder.js +37 -0
- package/dist/entry/relay/Builder.js.map +1 -0
- package/dist/entry/relay/TransportBuilder.d.ts +21 -0
- package/dist/entry/relay/TransportBuilder.js +16 -0
- package/dist/entry/relay/TransportBuilder.js.map +1 -0
- package/dist/entry/relay/index.d.ts +16 -26
- package/dist/entry/relay/index.js +5 -212
- package/dist/entry/relay/index.js.map +1 -1
- package/dist/entry/service/Builder.d.ts +25 -0
- package/dist/entry/service/Builder.js +15 -0
- package/dist/entry/service/Builder.js.map +1 -0
- package/dist/entry/service/index.d.ts +7 -5
- package/dist/entry/service/index.js +4 -379
- package/dist/entry/service/index.js.map +1 -1
- package/dist/{AbstractBuilder-BN4TmNJG.d.ts → entry/transport/AbstractBuilder.d.ts} +8 -4
- package/dist/entry/transport/AbstractBuilder.js +49 -0
- package/dist/entry/transport/AbstractBuilder.js.map +1 -0
- package/dist/entry/transport/index.d.ts +11 -16
- package/dist/entry/transport/index.js +1 -16
- package/dist/entry/transport/index.js.map +1 -1
- package/dist/entry/transport/resolvers/definition.d.ts +19 -0
- package/dist/entry/transport/resolvers/definition.js +19 -0
- package/dist/entry/transport/resolvers/definition.js.map +1 -0
- package/dist/entry/transport/resolvers/index.d.ts +13 -0
- package/dist/entry/transport/resolvers/index.js +2 -0
- package/dist/entry/transport/resolvers/index.js.map +1 -0
- package/dist/entry/view/{react/index.d.ts → adapters/react/Builder.d.ts} +7 -7
- package/dist/entry/view/adapters/react/Builder.js +40 -0
- package/dist/entry/view/adapters/react/Builder.js.map +1 -0
- package/dist/entry/view/adapters/react/index.d.ts +15 -0
- package/dist/entry/view/adapters/react/index.js +7 -0
- package/dist/entry/view/adapters/react/index.js.map +1 -0
- package/dist/entry/view/adapters/react/resolvers/render.d.ts +11 -0
- package/dist/entry/view/adapters/react/resolvers/render.js +11 -0
- package/dist/entry/view/adapters/react/resolvers/render.js.map +1 -0
- package/dist/entry/view/adapters/vanilla/Builder.d.ts +18 -0
- package/dist/entry/view/adapters/vanilla/Builder.js +36 -0
- package/dist/entry/view/adapters/vanilla/Builder.js.map +1 -0
- package/dist/entry/view/adapters/vanilla/index.d.ts +14 -0
- package/dist/entry/view/adapters/vanilla/index.js +7 -0
- package/dist/entry/view/adapters/vanilla/index.js.map +1 -0
- package/dist/{Builder-BOLvGGqp.d.ts → entry/view/core/Builder.d.ts} +9 -3
- package/dist/entry/view/core/Builder.js +35 -0
- package/dist/entry/view/core/Builder.js.map +1 -0
- package/dist/entry/view/core/resolvers/container.d.ts +11 -0
- package/dist/entry/view/core/resolvers/container.js +21 -0
- package/dist/entry/view/core/resolvers/container.js.map +1 -0
- package/dist/entry/view/{index.d.mts → core/resolvers/definition.d.ts} +4 -2
- package/dist/entry/view/core/resolvers/definition.js +12 -0
- package/dist/entry/view/core/resolvers/definition.js.map +1 -0
- package/dist/entry/view/core/resolvers/render.d.ts +12 -0
- package/dist/entry/view/core/resolvers/render.js +18 -0
- package/dist/entry/view/core/resolvers/render.js.map +1 -0
- package/dist/entry/view/index.d.ts +5 -7
- package/dist/entry/view/index.js +1 -15
- package/dist/entry/view/index.js.map +1 -1
- package/dist/index.d.ts +40 -882
- package/dist/index.js +1 -1019
- package/dist/index.js.map +1 -1
- package/dist/locale/adapters/react/context.d.ts +18 -0
- package/dist/locale/adapters/react/context.js +27 -0
- package/dist/locale/adapters/react/context.js.map +1 -0
- package/dist/locale/adapters/react/index.d.ts +12 -0
- package/dist/locale/adapters/react/index.js +7 -0
- package/dist/locale/adapters/react/index.js.map +1 -0
- package/dist/locale/{index.d.mts → helpers.d.ts} +4 -35
- package/dist/locale/helpers.js +29 -0
- package/dist/locale/helpers.js.map +1 -0
- package/dist/locale/index.d.ts +9 -78
- package/dist/locale/index.js +11 -556
- package/dist/locale/index.js.map +1 -1
- package/dist/locale/providers/AbstractLocale.d.ts +14 -0
- package/dist/locale/providers/AbstractLocale.js +109 -0
- package/dist/locale/providers/AbstractLocale.js.map +1 -0
- package/dist/locale/providers/CustomLocale.d.ts +17 -0
- package/dist/locale/providers/CustomLocale.js +38 -0
- package/dist/locale/providers/CustomLocale.js.map +1 -0
- package/dist/locale/providers/DynamicLocale.d.ts +25 -0
- package/dist/locale/providers/DynamicLocale.js +89 -0
- package/dist/locale/providers/DynamicLocale.js.map +1 -0
- package/dist/locale/providers/NativeLocale.d.ts +15 -0
- package/dist/locale/providers/NativeLocale.js +53 -0
- package/dist/locale/providers/NativeLocale.js.map +1 -0
- package/dist/locale/providers/index.d.ts +8 -0
- package/dist/locale/providers/index.js +9 -0
- package/dist/locale/providers/index.js.map +1 -0
- package/dist/locale/utils.d.ts +13 -0
- package/dist/locale/utils.js +55 -0
- package/dist/locale/utils.js.map +1 -0
- package/dist/main/app.d.ts +1 -0
- package/dist/main/app.js +6 -0
- package/dist/main/app.js.map +1 -0
- package/dist/main/background.d.ts +9 -0
- package/dist/main/background.js +7 -0
- package/dist/main/background.js.map +1 -0
- package/dist/main/browser.d.ts +1 -0
- package/dist/main/browser.js +5 -0
- package/dist/main/browser.js.map +1 -0
- package/dist/main/command.d.ts +12 -0
- package/dist/main/command.js +15 -0
- package/dist/main/command.js.map +1 -0
- package/dist/main/config.d.ts +19 -0
- package/dist/main/config.js +7 -0
- package/dist/main/config.js.map +1 -0
- package/dist/main/content.d.ts +14 -0
- package/dist/main/content.js +18 -0
- package/dist/main/content.js.map +1 -0
- package/dist/main/env.d.ts +21 -0
- package/dist/main/env.js +43 -0
- package/dist/main/env.js.map +1 -0
- package/dist/main/icon.d.ts +5 -0
- package/dist/main/icon.js +28 -0
- package/dist/main/icon.js.map +1 -0
- package/dist/main/index.d.ts +42 -0
- package/dist/main/index.js +18 -0
- package/dist/main/index.js.map +1 -0
- package/dist/main/manifest.d.ts +10 -0
- package/dist/main/manifest.js +5 -0
- package/dist/main/manifest.js.map +1 -0
- package/dist/main/offscreen.d.ts +21 -0
- package/dist/main/offscreen.js +30 -0
- package/dist/main/offscreen.js.map +1 -0
- package/dist/main/page.d.ts +17 -0
- package/dist/main/page.js +29 -0
- package/dist/main/page.js.map +1 -0
- package/dist/main/plugin.d.ts +19 -0
- package/dist/main/plugin.js +7 -0
- package/dist/main/plugin.js.map +1 -0
- package/dist/main/popup.d.ts +22 -0
- package/dist/main/popup.js +43 -0
- package/dist/main/popup.js.map +1 -0
- package/dist/main/relay.d.ts +19 -0
- package/dist/main/relay.js +12 -0
- package/dist/main/relay.js.map +1 -0
- package/dist/main/service.d.ts +13 -0
- package/dist/main/service.js +12 -0
- package/dist/main/service.js.map +1 -0
- package/dist/main/sidebar.d.ts +22 -0
- package/dist/main/sidebar.js +39 -0
- package/dist/main/sidebar.js.map +1 -0
- package/dist/main/view.d.ts +7 -0
- package/dist/main/view.js +1 -0
- package/dist/main/view.js.map +1 -0
- package/dist/message/MessageManager.d.ts +15 -0
- package/dist/message/MessageManager.js +62 -0
- package/dist/message/MessageManager.js.map +1 -0
- package/dist/message/adapters/react/index.d.ts +2 -0
- package/dist/message/adapters/react/index.js +5 -0
- package/dist/message/adapters/react/index.js.map +1 -0
- package/dist/message/{react/index.d.ts → adapters/react/useMessageHandler.d.ts} +2 -2
- package/dist/message/adapters/react/useMessageHandler.js +13 -0
- package/dist/message/adapters/react/useMessageHandler.js.map +1 -0
- package/dist/message/handlers/AbstractHandler.d.ts +7 -0
- package/dist/message/handlers/AbstractHandler.js +6 -0
- package/dist/message/handlers/AbstractHandler.js.map +1 -0
- package/dist/message/handlers/GeneralHandler.d.ts +10 -0
- package/dist/message/handlers/GeneralHandler.js +14 -0
- package/dist/message/handlers/GeneralHandler.js.map +1 -0
- package/dist/message/handlers/MapHandler.d.ts +10 -0
- package/dist/message/handlers/MapHandler.js +21 -0
- package/dist/message/handlers/MapHandler.js.map +1 -0
- package/dist/message/handlers/SingleHandler.d.ts +11 -0
- package/dist/message/handlers/SingleHandler.js +17 -0
- package/dist/message/handlers/SingleHandler.js.map +1 -0
- package/dist/message/handlers/index.d.ts +5 -0
- package/dist/message/handlers/index.js +9 -0
- package/dist/message/handlers/index.js.map +1 -0
- package/dist/message/index.d.ts +6 -4
- package/dist/message/index.js +8 -163
- package/dist/message/index.js.map +1 -1
- package/dist/message/providers/AbstractMessage.d.ts +11 -0
- package/dist/message/providers/AbstractMessage.js +15 -0
- package/dist/message/providers/AbstractMessage.js.map +1 -0
- package/dist/message/providers/Message.d.ts +18 -0
- package/dist/message/providers/Message.js +42 -0
- package/dist/message/providers/Message.js.map +1 -0
- package/dist/message/providers/index.d.ts +4 -0
- package/dist/message/providers/index.js +5 -0
- package/dist/message/providers/index.js.map +1 -0
- package/dist/offscreen/OffscreenBackground.d.ts +11 -0
- package/dist/offscreen/OffscreenBackground.js +10 -0
- package/dist/offscreen/OffscreenBackground.js.map +1 -0
- package/dist/offscreen/OffscreenBridge.d.ts +17 -0
- package/dist/offscreen/OffscreenBridge.js +37 -0
- package/dist/offscreen/OffscreenBridge.js.map +1 -0
- package/dist/offscreen/OffscreenManager.d.ts +13 -0
- package/dist/offscreen/OffscreenManager.js +12 -0
- package/dist/offscreen/OffscreenManager.js.map +1 -0
- package/dist/offscreen/OffscreenMessage.d.ts +17 -0
- package/dist/offscreen/OffscreenMessage.js +13 -0
- package/dist/offscreen/OffscreenMessage.js.map +1 -0
- package/dist/offscreen/index.d.ts +19 -36
- package/dist/offscreen/index.js +9 -700
- package/dist/offscreen/index.js.map +1 -1
- package/dist/offscreen/providers/Offscreen.d.ts +15 -0
- package/dist/offscreen/providers/Offscreen.js +21 -0
- package/dist/offscreen/providers/Offscreen.js.map +1 -0
- package/dist/offscreen/providers/ProxyOffscreen.d.ts +21 -0
- package/dist/offscreen/providers/ProxyOffscreen.js +49 -0
- package/dist/offscreen/providers/ProxyOffscreen.js.map +1 -0
- package/dist/offscreen/providers/RegisterOffscreen.d.ts +23 -0
- package/dist/offscreen/providers/RegisterOffscreen.js +26 -0
- package/dist/offscreen/providers/RegisterOffscreen.js.map +1 -0
- package/dist/offscreen/providers/index.d.ts +17 -0
- package/dist/offscreen/providers/index.js +9 -0
- package/dist/offscreen/providers/index.js.map +1 -0
- package/dist/offscreen/utils.d.ts +3 -0
- package/dist/offscreen/utils.js +8 -0
- package/dist/offscreen/utils.js.map +1 -0
- package/dist/relay/RelayManager.d.ts +20 -0
- package/dist/relay/RelayManager.js +25 -0
- package/dist/relay/RelayManager.js.map +1 -0
- package/dist/relay/index.d.ts +11 -8
- package/dist/relay/index.js +7 -172
- package/dist/relay/index.js.map +1 -1
- package/dist/{ProxyRelay-DDOSZE3h.d.ts → relay/providers/ProxyRelay.d.ts} +9 -4
- package/dist/relay/providers/ProxyRelay.js +53 -0
- package/dist/relay/providers/ProxyRelay.js.map +1 -0
- package/dist/relay/providers/RegisterRelay.d.ts +16 -0
- package/dist/relay/providers/RegisterRelay.js +19 -0
- package/dist/relay/providers/RegisterRelay.js.map +1 -0
- package/dist/relay/providers/Relay.d.ts +15 -0
- package/dist/relay/providers/Relay.js +21 -0
- package/dist/relay/providers/Relay.js.map +1 -0
- package/dist/relay/providers/index.d.ts +12 -0
- package/dist/relay/providers/index.js +9 -0
- package/dist/relay/providers/index.js.map +1 -0
- package/dist/relay/utils.d.ts +4 -0
- package/dist/relay/utils.js +28 -0
- package/dist/relay/utils.js.map +1 -0
- package/dist/service/ServiceManager.d.ts +13 -0
- package/dist/service/ServiceManager.js +12 -0
- package/dist/service/ServiceManager.js.map +1 -0
- package/dist/service/ServiceMessage.d.ts +17 -0
- package/dist/service/ServiceMessage.js +13 -0
- package/dist/service/ServiceMessage.js.map +1 -0
- package/dist/service/index.d.ts +17 -30
- package/dist/service/index.js +7 -366
- package/dist/service/index.js.map +1 -1
- package/dist/service/providers/ProxyService.d.ts +18 -0
- package/dist/service/providers/ProxyService.js +29 -0
- package/dist/service/providers/ProxyService.js.map +1 -0
- package/dist/service/providers/RegisterService.d.ts +23 -0
- package/dist/service/providers/RegisterService.js +26 -0
- package/dist/service/providers/RegisterService.js.map +1 -0
- package/dist/service/providers/Service.d.ts +15 -0
- package/dist/service/providers/Service.js +21 -0
- package/dist/service/providers/Service.js.map +1 -0
- package/dist/service/providers/index.d.ts +17 -0
- package/dist/service/providers/index.js +9 -0
- package/dist/service/providers/index.js.map +1 -0
- package/dist/storage/adapters/react/index.d.ts +2 -0
- package/dist/storage/adapters/react/index.js +5 -0
- package/dist/storage/adapters/react/index.js.map +1 -0
- package/dist/storage/{react/index.d.mts → adapters/react/useStorage.d.ts} +2 -2
- package/dist/storage/adapters/react/useStorage.js +49 -0
- package/dist/storage/adapters/react/useStorage.js.map +1 -0
- package/dist/storage/index.d.ts +4 -31
- package/dist/storage/index.js +2 -231
- package/dist/storage/index.js.map +1 -1
- package/dist/{Storage-DDIFjeu_.d.ts → storage/providers/AbstractStorage.d.ts} +5 -19
- package/dist/storage/providers/AbstractStorage.js +102 -0
- package/dist/storage/providers/AbstractStorage.js.map +1 -0
- package/dist/storage/{index.d.mts → providers/SecureStorage.d.ts} +3 -5
- package/dist/storage/providers/SecureStorage.js +93 -0
- package/dist/storage/providers/SecureStorage.js.map +1 -0
- package/dist/storage/providers/Storage.d.ts +18 -0
- package/dist/storage/providers/Storage.js +41 -0
- package/dist/storage/providers/Storage.js.map +1 -0
- package/dist/storage/providers/index.d.ts +4 -0
- package/dist/storage/providers/index.js +7 -0
- package/dist/storage/providers/index.js.map +1 -0
- package/dist/transport/BaseTransport.d.ts +16 -0
- package/dist/transport/BaseTransport.js +15 -0
- package/dist/transport/BaseTransport.js.map +1 -0
- package/dist/transport/ProxyTransport.d.ts +15 -0
- package/dist/transport/ProxyTransport.js +26 -0
- package/dist/transport/ProxyTransport.js.map +1 -0
- package/dist/transport/RegisterTransport.d.ts +18 -0
- package/dist/transport/RegisterTransport.js +58 -0
- package/dist/transport/RegisterTransport.js.map +1 -0
- package/dist/transport/TransportManager.d.ts +17 -0
- package/dist/transport/TransportManager.js +26 -0
- package/dist/transport/TransportManager.js.map +1 -0
- package/dist/transport/TransportMessage.d.ts +18 -0
- package/dist/transport/TransportMessage.js +14 -0
- package/dist/transport/TransportMessage.js.map +1 -0
- package/dist/types/app.d.ts +13 -0
- package/dist/types/app.js +20 -0
- package/dist/types/app.js.map +1 -0
- package/dist/{background-CpVjDFHQ.d.ts → types/background.d.ts} +6 -2
- package/dist/types/background.js +5 -0
- package/dist/types/background.js.map +1 -0
- package/dist/types/browser.d.ts +10 -0
- package/dist/types/browser.js +13 -0
- package/dist/types/browser.js.map +1 -0
- package/dist/{command-S2dcqx6Q.d.mts → types/command.d.ts} +8 -3
- package/dist/types/command.js +5 -0
- package/dist/types/command.js.map +1 -0
- package/dist/types/config.d.ts +14 -0
- package/dist/types/config.js +1 -0
- package/dist/types/config.js.map +1 -0
- package/dist/{content-B0znLIjr.d.ts → types/content.d.ts} +4 -2
- package/dist/types/content.js +22 -0
- package/dist/types/content.js.map +1 -0
- package/dist/types/entrypoint.d.ts +89 -0
- package/dist/types/entrypoint.js +19 -0
- package/dist/types/entrypoint.js.map +1 -0
- package/dist/types/framework.d.ts +6 -0
- package/dist/types/framework.js +9 -0
- package/dist/types/framework.js.map +1 -0
- package/dist/types/helpers.d.ts +14 -0
- package/dist/types/helpers.js +1 -0
- package/dist/types/helpers.js.map +1 -0
- package/dist/types/icon.d.ts +3 -0
- package/dist/types/icon.js +5 -0
- package/dist/types/icon.js.map +1 -0
- package/dist/{locale-Do4kUmgC.d.mts → types/locale.d.ts} +32 -1
- package/dist/types/locale.js +84 -0
- package/dist/types/locale.js.map +1 -0
- package/dist/types/manifest.d.ts +151 -0
- package/dist/types/manifest.js +23 -0
- package/dist/types/manifest.js.map +1 -0
- package/dist/{message-jsmkeGHC.d.mts → types/message.d.ts} +3 -1
- package/dist/types/message.js +9 -0
- package/dist/types/message.js.map +1 -0
- package/dist/{offscreen-2EP-rRfx.d.mts → types/offscreen.d.ts} +12 -4
- package/dist/types/offscreen.js +26 -0
- package/dist/types/offscreen.js.map +1 -0
- package/dist/types/page.d.ts +17 -0
- package/dist/types/page.js +1 -0
- package/dist/types/page.js.map +1 -0
- package/dist/types/plugin.d.ts +14 -0
- package/dist/types/plugin.js +1 -0
- package/dist/types/plugin.js.map +1 -0
- package/dist/types/popup.d.ts +17 -0
- package/dist/types/popup.js +1 -0
- package/dist/types/popup.js.map +1 -0
- package/dist/{relay-DT46Ltms.d.ts → types/relay.d.ts} +10 -4
- package/dist/types/relay.js +5 -0
- package/dist/types/relay.js.map +1 -0
- package/dist/types/service.d.ts +16 -0
- package/dist/types/service.js +5 -0
- package/dist/types/service.js.map +1 -0
- package/dist/types/sidebar.d.ts +18 -0
- package/dist/types/sidebar.js +6 -0
- package/dist/types/sidebar.js.map +1 -0
- package/dist/{storage-DNeobNzz.d.mts → types/storage.d.ts} +1 -1
- package/dist/types/storage.js +1 -0
- package/dist/types/storage.js.map +1 -0
- package/dist/{transport-Co9Oxp0-.d.ts → types/transport.d.ts} +5 -3
- package/dist/types/transport.js +1 -0
- package/dist/types/transport.js.map +1 -0
- package/dist/{view-Bs26Jcvi.d.mts → types/view.d.ts} +5 -2
- package/dist/types/view.js +1 -0
- package/dist/types/view.js.map +1 -0
- package/package.json +46 -46
- package/dist/AbstractBuilder-C81kWZzQ.d.mts +0 -15
- package/dist/BaseTransport-DNZ28gFF.d.mts +0 -11
- package/dist/BaseTransport-Ecy2Kzti.d.ts +0 -11
- package/dist/Builder-BP8SDHO1.d.mts +0 -13
- package/dist/Builder-Bc8US0PY.d.ts +0 -9
- package/dist/Message-Bnritk3D.d.mts +0 -36
- package/dist/Message-DFDaS7mV.d.ts +0 -36
- package/dist/MountBuilder-BTltgVF2.d.mts +0 -64
- package/dist/MountBuilder-C9Q-7PeI.d.ts +0 -64
- package/dist/NativeLocale-BwVCqh2v.d.mts +0 -25
- package/dist/NativeLocale-C_gjXClM.d.ts +0 -25
- package/dist/ProxyRelay-Uel0ATcx.d.mts +0 -19
- package/dist/ProxyTransport-35rU8xqa.d.mts +0 -11
- package/dist/ProxyTransport-D4jv5SFh.d.ts +0 -11
- package/dist/RegisterOffscreen-DT0gN5xN.d.mts +0 -17
- package/dist/RegisterOffscreen-df3W5HqA.d.ts +0 -17
- package/dist/RegisterRelay-DCVZ2_NI.d.mts +0 -16
- package/dist/RegisterRelay-PFT2ac4v.d.ts +0 -16
- package/dist/Storage-DSqFjJAp.d.mts +0 -43
- package/dist/TransportMessage-CIKrv3DG.d.mts +0 -22
- package/dist/TransportMessage-CsObvTPq.d.ts +0 -22
- package/dist/background-cxLBji1Q.d.mts +0 -15
- package/dist/cli/index.cjs +0 -7395
- package/dist/cli/index.cjs.map +0 -1
- package/dist/command-TJ2JUrVd.d.ts +0 -25
- package/dist/content-DrrPH4ri.d.mts +0 -156
- package/dist/entry/background/index.cjs +0 -48
- package/dist/entry/background/index.cjs.map +0 -1
- package/dist/entry/background/index.d.mts +0 -9
- package/dist/entry/command/index.cjs +0 -92
- package/dist/entry/command/index.cjs.map +0 -1
- package/dist/entry/command/index.d.mts +0 -11
- package/dist/entry/content/index.cjs +0 -44
- package/dist/entry/content/index.cjs.map +0 -1
- package/dist/entry/content/index.d.mts +0 -11
- package/dist/entry/content/react/index.cjs +0 -543
- package/dist/entry/content/react/index.cjs.map +0 -1
- package/dist/entry/content/react/index.d.mts +0 -16
- package/dist/entry/content/react/index.d.ts +0 -16
- package/dist/entry/content/react/index.js +0 -534
- package/dist/entry/content/react/index.js.map +0 -1
- package/dist/entry/content/vanilla/index.cjs +0 -533
- package/dist/entry/content/vanilla/index.cjs.map +0 -1
- package/dist/entry/content/vanilla/index.d.mts +0 -15
- package/dist/entry/content/vanilla/index.d.ts +0 -15
- package/dist/entry/content/vanilla/index.js +0 -524
- package/dist/entry/content/vanilla/index.js.map +0 -1
- package/dist/entry/offscreen/index.cjs +0 -483
- package/dist/entry/offscreen/index.cjs.map +0 -1
- package/dist/entry/offscreen/index.d.mts +0 -32
- package/dist/entry/relay/index.cjs +0 -223
- package/dist/entry/relay/index.cjs.map +0 -1
- package/dist/entry/relay/index.d.mts +0 -30
- package/dist/entry/service/index.cjs +0 -387
- package/dist/entry/service/index.cjs.map +0 -1
- package/dist/entry/service/index.d.mts +0 -10
- package/dist/entry/transport/index.cjs +0 -22
- package/dist/entry/transport/index.cjs.map +0 -1
- package/dist/entry/transport/index.d.mts +0 -18
- package/dist/entry/view/index.cjs +0 -19
- package/dist/entry/view/index.cjs.map +0 -1
- package/dist/entry/view/react/index.cjs +0 -131
- package/dist/entry/view/react/index.cjs.map +0 -1
- package/dist/entry/view/react/index.d.mts +0 -21
- package/dist/entry/view/react/index.js +0 -126
- package/dist/entry/view/react/index.js.map +0 -1
- package/dist/entry/view/vanilla/index.cjs +0 -119
- package/dist/entry/view/vanilla/index.cjs.map +0 -1
- package/dist/entry/view/vanilla/index.d.mts +0 -18
- package/dist/entry/view/vanilla/index.d.ts +0 -18
- package/dist/entry/view/vanilla/index.js +0 -114
- package/dist/entry/view/vanilla/index.js.map +0 -1
- package/dist/helpers-YDFORuZz.d.mts +0 -64
- package/dist/helpers-YDFORuZz.d.ts +0 -64
- package/dist/index.cjs +0 -1068
- package/dist/index.cjs.map +0 -1
- package/dist/locale/index.cjs +0 -569
- package/dist/locale/index.cjs.map +0 -1
- package/dist/locale/react/index.cjs +0 -595
- package/dist/locale/react/index.cjs.map +0 -1
- package/dist/locale/react/index.d.mts +0 -20
- package/dist/locale/react/index.d.ts +0 -20
- package/dist/locale/react/index.js +0 -588
- package/dist/locale/react/index.js.map +0 -1
- package/dist/locale-Do4kUmgC.d.ts +0 -95
- package/dist/message/index.cjs +0 -172
- package/dist/message/index.cjs.map +0 -1
- package/dist/message/index.d.mts +0 -13
- package/dist/message/react/index.cjs +0 -172
- package/dist/message/react/index.cjs.map +0 -1
- package/dist/message/react/index.d.mts +0 -5
- package/dist/message/react/index.js +0 -170
- package/dist/message/react/index.js.map +0 -1
- package/dist/message-jsmkeGHC.d.ts +0 -33
- package/dist/offscreen/index.cjs +0 -712
- package/dist/offscreen/index.cjs.map +0 -1
- package/dist/offscreen/index.d.mts +0 -40
- package/dist/offscreen-aHdkogKj.d.ts +0 -49
- package/dist/relay/index.cjs +0 -184
- package/dist/relay/index.cjs.map +0 -1
- package/dist/relay/index.d.mts +0 -14
- package/dist/relay-vaJ5R2iC.d.mts +0 -14
- package/dist/service/index.cjs +0 -377
- package/dist/service/index.cjs.map +0 -1
- package/dist/service/index.d.mts +0 -34
- package/dist/service-6FdoYGNC.d.ts +0 -10
- package/dist/service-C9HbDQPE.d.mts +0 -10
- package/dist/storage/index.cjs +0 -235
- package/dist/storage/index.cjs.map +0 -1
- package/dist/storage/react/index.cjs +0 -190
- package/dist/storage/react/index.cjs.map +0 -1
- package/dist/storage/react/index.d.ts +0 -12
- package/dist/storage/react/index.js +0 -188
- package/dist/storage/react/index.js.map +0 -1
- package/dist/storage-DNeobNzz.d.ts +0 -14
- package/dist/transport-BrbirhXv.d.mts +0 -50
- package/dist/view-u9w7nMgw.d.ts +0 -33
package/dist/index.d.ts
CHANGED
|
@@ -1,884 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
|
|
1
|
+
export { Command, Mode } from './types/app.js';
|
|
2
|
+
export { defineBackground } from './main/background.js';
|
|
3
|
+
export { Browser } from './types/browser.js';
|
|
4
|
+
export { defineCommand, defineExecuteActionCommand } from './main/command.js';
|
|
5
|
+
export { defineConfig } from './main/config.js';
|
|
6
|
+
export { defineContentScript, defineContentScriptAppend } from './main/content.js';
|
|
7
|
+
export { getApp, getBrowser, getEnv, getManifestVersion, isBrowser } from './main/env.js';
|
|
8
|
+
export { changeActionIcon, getIcons } from './main/icon.js';
|
|
9
|
+
export { ManifestBuilder, ManifestIncognito } from './types/manifest.js';
|
|
10
|
+
export { OffscreenAlias, OffscreenMap, defineOffscreen, getOffscreen, getOffscreens } from './main/offscreen.js';
|
|
11
|
+
export { PageAlias, PageMap, definePage, getPageUrl, getPages } from './main/page.js';
|
|
12
|
+
export { definePlugin } from './main/plugin.js';
|
|
13
|
+
export { PopupAlias, PopupMap, changePopup, definePopup, getPopups } from './main/popup.js';
|
|
14
|
+
export { defineRelay, getRelay } from './main/relay.js';
|
|
15
|
+
export { defineService, getService } from './main/service.js';
|
|
16
|
+
export { SidebarAlias, SidebarMap, changeSidebar, defineSidebar, getSidebars } from './main/sidebar.js';
|
|
17
|
+
export { ViewDefinition, ViewOptions } from './types/view.js';
|
|
18
|
+
export { BackgroundConfig, BackgroundDefinition, BackgroundMainHandler } from './types/background.js';
|
|
19
|
+
export { CommandConfig, CommandDefinition, CommandExecute, CommandExecuteActionName, CommandUnresolvedDefinition, ExecuteActionCommandDefinition } from './types/command.js';
|
|
20
|
+
export { C as Config, a as ConfigDefinition, P as Plugin, b as PluginDefinition, R as ReadonlyConfig, U as UserConfig } from './config-DzmiK3GH.js';
|
|
21
|
+
export { contentScriptMountAppendResolver } from './entry/content/core/resolvers/mount.js';
|
|
22
|
+
export { isContentScriptDefinition, isValidContentScriptDefinitionRenderValue } from './entry/content/core/resolvers/definition.js';
|
|
23
|
+
export { ContentScriptAnchor, ContentScriptAnchorGetter, ContentScriptAnchorResolver, ContentScriptAppend, ContentScriptAppendDefinition, ContentScriptBuilder, ContentScriptConfig, ContentScriptContainerCreator, ContentScriptContainerFactory, ContentScriptContainerOptions, ContentScriptContainerTag, ContentScriptContext, ContentScriptDefinition, ContentScriptEntrypointOptions, ContentScriptEvent, ContentScriptEventCallback, ContentScriptEventEmitter, ContentScriptMainFunction, ContentScriptMatches, ContentScriptMount, ContentScriptMountFunction, ContentScriptNode, ContentScriptNodeSet, ContentScriptOptions, ContentScriptProps, ContentScriptRenderHandler, ContentScriptRenderReactComponent, ContentScriptRenderValue, ContentScriptResolvedDefinition, ContentScriptWatchStrategy } from './types/content.js';
|
|
24
|
+
export { OffscreenDefinition, OffscreenReason, OffscreenUnresolvedDefinition } from './types/offscreen.js';
|
|
25
|
+
export { PageConfig, PageDefinition, PageProps } from './types/page.js';
|
|
26
|
+
export { RelayDefinition, RelayUnresolvedDefinition } from './types/relay.js';
|
|
27
|
+
export { ServiceDefinition } from './types/service.js';
|
|
28
|
+
import './types/entrypoint.js';
|
|
29
|
+
import './types/helpers.js';
|
|
21
30
|
import 'utility-types';
|
|
22
|
-
import '
|
|
31
|
+
import '@rspack/core';
|
|
32
|
+
import 'html-rspack-tags-plugin';
|
|
33
|
+
import 'react';
|
|
34
|
+
import './types/locale.js';
|
|
35
|
+
import './types/transport.js';
|
|
36
|
+
import './types/message.js';
|
|
37
|
+
import './types/popup.js';
|
|
38
|
+
import './relay/providers/ProxyRelay.js';
|
|
23
39
|
import '@adnbn/inject-script';
|
|
24
|
-
import './ProxyTransport
|
|
25
|
-
import './BaseTransport
|
|
26
|
-
|
|
27
|
-
declare enum Mode {
|
|
28
|
-
None = "none",
|
|
29
|
-
Development = "development",
|
|
30
|
-
Production = "production"
|
|
31
|
-
}
|
|
32
|
-
declare enum Command {
|
|
33
|
-
Build = "build",
|
|
34
|
-
Watch = "watch"
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare const defineBackground: (options: BackgroundDefinition) => BackgroundDefinition;
|
|
38
|
-
|
|
39
|
-
declare const defineCommand: (options: CommandDefinition) => CommandDefinition;
|
|
40
|
-
declare const defineExecuteActionCommand: (options: ExecuteActionCommandDefinition) => CommandDefinition;
|
|
41
|
-
|
|
42
|
-
type ManifestCommon = chrome.runtime.Manifest;
|
|
43
|
-
type ManifestBase = chrome.runtime.ManifestBase;
|
|
44
|
-
type ManifestPermission = chrome.runtime.ManifestPermissions;
|
|
45
|
-
type ManifestFixed<T extends ManifestBase> = Omit<T, "manifest_version"> & {
|
|
46
|
-
manifest_version: ManifestVersion;
|
|
47
|
-
};
|
|
48
|
-
interface ManifestUnstable {
|
|
49
|
-
permissions?: (ManifestPermission | (string & Record<never, never>))[];
|
|
50
|
-
web_accessible_resources?: string[] | chrome.runtime.ManifestV3["web_accessible_resources"];
|
|
51
|
-
}
|
|
52
|
-
type ManifestVersion = 2 | 3;
|
|
53
|
-
declare enum ManifestIncognito {
|
|
54
|
-
Spanning = "spanning",
|
|
55
|
-
Split = "split",
|
|
56
|
-
NotAllowed = "not_allowed"
|
|
57
|
-
}
|
|
58
|
-
type ManifestIncognitoValue = ManifestIncognito | `${ManifestIncognito}`;
|
|
59
|
-
type CoreManifest = ManifestFixed<ManifestBase>;
|
|
60
|
-
type ChromeManifest = ManifestFixed<ManifestCommon>;
|
|
61
|
-
type FirefoxManifest = ChromeManifest & {
|
|
62
|
-
action?: chrome.runtime.ManifestV3["action"] & {
|
|
63
|
-
browser_style?: boolean;
|
|
64
|
-
};
|
|
65
|
-
browser_action?: chrome.runtime.ManifestV2["browser_action"] & {
|
|
66
|
-
browser_style?: boolean;
|
|
67
|
-
};
|
|
68
|
-
page_action?: chrome.runtime.ManifestV2["page_action"] & {
|
|
69
|
-
browser_style?: boolean;
|
|
70
|
-
};
|
|
71
|
-
browser_specific_settings?: {
|
|
72
|
-
gecko?: {
|
|
73
|
-
id?: string;
|
|
74
|
-
strict_min_version?: string;
|
|
75
|
-
strict_max_version?: string;
|
|
76
|
-
update_url?: string;
|
|
77
|
-
};
|
|
78
|
-
gecko_android?: {
|
|
79
|
-
strict_min_version?: string;
|
|
80
|
-
strict_max_version?: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
} & ManifestUnstable;
|
|
84
|
-
type SafariManifest = ChromeManifest & {
|
|
85
|
-
browser_specific_settings?: {
|
|
86
|
-
safari?: {
|
|
87
|
-
strict_min_version?: string;
|
|
88
|
-
strict_max_version?: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
} & ManifestUnstable;
|
|
92
|
-
type Manifest = ChromeManifest | FirefoxManifest | SafariManifest;
|
|
93
|
-
interface ManifestBuilder<T extends CoreManifest = Manifest> {
|
|
94
|
-
setName(name: string): this;
|
|
95
|
-
setShortName(shortName?: string): this;
|
|
96
|
-
setDescription(description?: string): this;
|
|
97
|
-
setEmail(email?: string): this;
|
|
98
|
-
setAuthor(author?: string): this;
|
|
99
|
-
setHomepage(homepage?: string): this;
|
|
100
|
-
setVersion(version?: string): this;
|
|
101
|
-
setIncognito(incognito?: ManifestIncognitoValue): this;
|
|
102
|
-
setMinimumVersion(minimumVersion?: string): this;
|
|
103
|
-
setLocale(lang?: Language): this;
|
|
104
|
-
setIcons(icons?: ManifestIcons): this;
|
|
105
|
-
setIcon(icon?: string): this;
|
|
106
|
-
setBackground(background?: ManifestBackground): this;
|
|
107
|
-
setCommands(commands?: ManifestCommands): this;
|
|
108
|
-
setContentScripts(contentScripts?: ManifestContentScripts): this;
|
|
109
|
-
setPopup(popup?: ManifestPopup): this;
|
|
110
|
-
setSidebar(sidebar?: ManifestSidebar): this;
|
|
111
|
-
setDependencies(dependencies: ManifestDependencies): this;
|
|
112
|
-
addPermission(permission: ManifestPermission): this;
|
|
113
|
-
setPermissions(permissions: ManifestPermissions): this;
|
|
114
|
-
appendPermissions(permissions: ManifestPermissions): this;
|
|
115
|
-
addHostPermission(permission: string): this;
|
|
116
|
-
setHostPermissions(permissions: ManifestHostPermissions): this;
|
|
117
|
-
appendHostPermissions(permissions: ManifestHostPermissions): this;
|
|
118
|
-
setManifestAccessibleResource(accessibleResources: ManifestAccessibleResources): this;
|
|
119
|
-
appendAccessibleResources(accessibleResources: ManifestAccessibleResources): this;
|
|
120
|
-
addAccessibleResource(accessibleResource: ManifestAccessibleResource): this;
|
|
121
|
-
get(): T;
|
|
122
|
-
}
|
|
123
|
-
type Entry = string;
|
|
124
|
-
interface ManifestEntry {
|
|
125
|
-
entry: Entry;
|
|
126
|
-
}
|
|
127
|
-
type ManifestBackground = ManifestEntry & BackgroundConfig;
|
|
128
|
-
type ManifestContentScript = ManifestEntry & ContentScriptConfig;
|
|
129
|
-
type ManifestContentScripts = Set<ManifestContentScript>;
|
|
130
|
-
type ManifestCommand = CommandConfig;
|
|
131
|
-
type ManifestCommands = Set<ManifestCommand>;
|
|
132
|
-
interface ManifestPopup {
|
|
133
|
-
/**
|
|
134
|
-
* Represents the group name of an icon that can be used in UI elements.
|
|
135
|
-
* This property is optional and, if defined, should typically refer to a string
|
|
136
|
-
* that matches the name of an icon resource available in the application or icon library.
|
|
137
|
-
*/
|
|
138
|
-
icon?: string;
|
|
139
|
-
/**
|
|
140
|
-
* Represents an optional title or name or locale key that can be assigned to an entity.
|
|
141
|
-
*/
|
|
142
|
-
title?: string;
|
|
143
|
-
/**
|
|
144
|
-
* Represents an optional HTML path.
|
|
145
|
-
*/
|
|
146
|
-
path?: string;
|
|
147
|
-
}
|
|
148
|
-
interface ManifestSidebar {
|
|
149
|
-
/**
|
|
150
|
-
* Represents the group name of an icon that can be used in UI elements.
|
|
151
|
-
* This property is optional and, if defined, should typically refer to a string
|
|
152
|
-
* that matches the name of an icon resource available in the application or icon library.
|
|
153
|
-
*/
|
|
154
|
-
icon?: string;
|
|
155
|
-
/**
|
|
156
|
-
* Represents an optional title or name or locale key that can be assigned to an entity.
|
|
157
|
-
*/
|
|
158
|
-
title?: string;
|
|
159
|
-
/**
|
|
160
|
-
* Represents an optional HTML path.
|
|
161
|
-
*/
|
|
162
|
-
path?: string;
|
|
163
|
-
}
|
|
164
|
-
interface ManifestAccessibleResource {
|
|
165
|
-
resources: string[];
|
|
166
|
-
matches: string[];
|
|
167
|
-
}
|
|
168
|
-
type ManifestAccessibleResources = Set<ManifestAccessibleResource>;
|
|
169
|
-
interface ManifestDependency {
|
|
170
|
-
js: Set<string>;
|
|
171
|
-
css: Set<string>;
|
|
172
|
-
assets: Set<string>;
|
|
173
|
-
}
|
|
174
|
-
type ManifestIcon = Map<number, string>;
|
|
175
|
-
type ManifestIcons = Map<string, ManifestIcon>;
|
|
176
|
-
type ManifestDependencies = Map<Entry, ManifestDependency>;
|
|
177
|
-
type ManifestPermissions = Set<ManifestPermission>;
|
|
178
|
-
type ManifestHostPermissions = Set<string>;
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* The result of executing the `entrypoint` function in a plugin.
|
|
182
|
-
*
|
|
183
|
-
* Can be one of the following values:
|
|
184
|
-
*
|
|
185
|
-
* - `true` — the entrypoint is considered active, and the file path is automatically
|
|
186
|
-
* inferred based on the key name of the entrypoint. For example, if the key is `background`,
|
|
187
|
-
* the file named `background` will be used by default.
|
|
188
|
-
*
|
|
189
|
-
* - `string` — a path to a single **file**
|
|
190
|
-
*
|
|
191
|
-
* - `string[]` — an array of paths to **files**
|
|
192
|
-
*
|
|
193
|
-
* - `EntrypointFile` — an object describing a single entrypoint file.
|
|
194
|
-
*
|
|
195
|
-
* - `EntrypointFile[]` — an array of `EntrypointFile` objects.
|
|
196
|
-
*
|
|
197
|
-
* - `Set<EntrypointFile>` — a unique set of `EntrypointFile` objects.
|
|
198
|
-
*/
|
|
199
|
-
type PluginEntrypointResult = true | string | string[] | EntrypointFile | EntrypointFile[] | Set<EntrypointFile>;
|
|
200
|
-
interface PluginConfigOptions {
|
|
201
|
-
config: ReadonlyConfig;
|
|
202
|
-
}
|
|
203
|
-
interface PluginManifestOptions extends PluginConfigOptions {
|
|
204
|
-
manifest: ManifestBuilder;
|
|
205
|
-
}
|
|
206
|
-
interface PluginBundlerOptions extends PluginConfigOptions {
|
|
207
|
-
rspack: Configuration;
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* The result of executing the `locales` function in a plugin.
|
|
211
|
-
*
|
|
212
|
-
* Can be one of the following values:
|
|
213
|
-
*
|
|
214
|
-
* - `true` — the system will look for a directory named `locales` and treat all files inside
|
|
215
|
-
* it as localization files.
|
|
216
|
-
*
|
|
217
|
-
* - `string` — a path to a specific **directory**, and all files inside will be treated as localization files.
|
|
218
|
-
*
|
|
219
|
-
* - `string[]` — an array of paths to **files** will be treated as localization files.
|
|
220
|
-
*
|
|
221
|
-
* - `Set<string>` — a unique set of localization files.
|
|
222
|
-
*/
|
|
223
|
-
type PluginLocaleResult = PluginEntrypointResult;
|
|
224
|
-
/**
|
|
225
|
-
* The result of executing the `icons` function in a plugin.
|
|
226
|
-
*
|
|
227
|
-
* Can be one of the following values:
|
|
228
|
-
*
|
|
229
|
-
* - `true` — the system will look for a directory named `icons` and treat all files inside
|
|
230
|
-
* it as image files.
|
|
231
|
-
*
|
|
232
|
-
* - `string` — a path to a specific **directory**, and all files inside will be treated as image files.
|
|
233
|
-
*
|
|
234
|
-
* - `string[]` — an array of paths to **files** will be treated as image files.
|
|
235
|
-
*
|
|
236
|
-
* - `Set<string>` — a unique set of image files.
|
|
237
|
-
*/
|
|
238
|
-
type PluginIconResult = PluginEntrypointResult;
|
|
239
|
-
interface PluginName {
|
|
240
|
-
name: string;
|
|
241
|
-
}
|
|
242
|
-
interface Plugin extends PluginName {
|
|
243
|
-
background?: PluginHandler<PluginConfigOptions, PluginEntrypointResult>;
|
|
244
|
-
bundler?: PluginHandler<PluginBundlerOptions, Configuration>;
|
|
245
|
-
command?: PluginHandler<PluginConfigOptions, PluginEntrypointResult>;
|
|
246
|
-
content?: PluginHandler<PluginConfigOptions, PluginEntrypointResult>;
|
|
247
|
-
page?: PluginHandler<PluginConfigOptions, PluginEntrypointResult>;
|
|
248
|
-
popup?: PluginHandler<PluginConfigOptions, PluginEntrypointResult>;
|
|
249
|
-
relay?: PluginHandler<PluginConfigOptions, PluginEntrypointResult>;
|
|
250
|
-
service?: PluginHandler<PluginConfigOptions, PluginEntrypointResult>;
|
|
251
|
-
sidebar?: PluginHandler<PluginConfigOptions, PluginEntrypointResult>;
|
|
252
|
-
offscreen?: PluginHandler<PluginConfigOptions, PluginEntrypointResult>;
|
|
253
|
-
locale?: PluginHandler<PluginConfigOptions, PluginLocaleResult>;
|
|
254
|
-
icon?: PluginHandler<PluginConfigOptions, PluginIconResult>;
|
|
255
|
-
manifest?: PluginHandlerCallback<PluginManifestOptions>;
|
|
256
|
-
startup?: PluginHandlerCallback<PluginConfigOptions>;
|
|
257
|
-
}
|
|
258
|
-
type PluginHandler<O, T = void> = T | PluginHandlerCallback<O, T>;
|
|
259
|
-
type PluginHandlerCallback<O, T = void> = {
|
|
260
|
-
(options: O): Awaiter<T>;
|
|
261
|
-
};
|
|
262
|
-
type PluginDefinition<T extends any[] = []> = (...args: T) => Plugin;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Interface representing the configuration options for building an extension.
|
|
266
|
-
* This configuration includes settings for directories, output locations,
|
|
267
|
-
* behavior flags, and various merge configurations to define how the build
|
|
268
|
-
* process handles individual components or resources.
|
|
269
|
-
*/
|
|
270
|
-
interface Config {
|
|
271
|
-
/**
|
|
272
|
-
* Enables debug mode during extension building.
|
|
273
|
-
* In debug mode, additional information about the build process is displayed.
|
|
274
|
-
*/
|
|
275
|
-
debug: boolean;
|
|
276
|
-
/**
|
|
277
|
-
* Defines the command to be executed.
|
|
278
|
-
* For example, `build`, `watch`, etc.
|
|
279
|
-
*/
|
|
280
|
-
command: Command;
|
|
281
|
-
/**
|
|
282
|
-
* Build mode for the extension (e.g., `production`, `development`).
|
|
283
|
-
* Affects optimization and other build parameters.
|
|
284
|
-
*/
|
|
285
|
-
mode: Mode;
|
|
286
|
-
/**
|
|
287
|
-
* Browser for which the extension is being built.
|
|
288
|
-
* Determines specific settings and compatibility.
|
|
289
|
-
*/
|
|
290
|
-
browser: Browser;
|
|
291
|
-
/**
|
|
292
|
-
* Name of the application (extension) that will be built.
|
|
293
|
-
* Used to identify a specific extension in a multi-project structure.
|
|
294
|
-
* @example "my-app"
|
|
295
|
-
*/
|
|
296
|
-
app: string;
|
|
297
|
-
/**
|
|
298
|
-
* Author of the application (extension).
|
|
299
|
-
*/
|
|
300
|
-
author: undefined | string | (() => string | undefined);
|
|
301
|
-
/**
|
|
302
|
-
* The version of the extension.
|
|
303
|
-
* Can be either:
|
|
304
|
-
* - a valid version (e.g., "1.0.0"), or a key referencing a value from an .env file.
|
|
305
|
-
* - a function that returns the version or key dynamically.
|
|
306
|
-
*
|
|
307
|
-
* @default "VERSION"
|
|
308
|
-
*/
|
|
309
|
-
version: string | (() => string | undefined);
|
|
310
|
-
/**
|
|
311
|
-
* The minimum supported version of browser.
|
|
312
|
-
* Used to populate fields in the manifest:
|
|
313
|
-
* - `minimum_chrome_version`
|
|
314
|
-
* - `browser_specific_settings.gecko.strict_min_version` for Firefox
|
|
315
|
-
*
|
|
316
|
-
* Can be either:
|
|
317
|
-
* - a valid version, or a key referencing a value from an .env file.
|
|
318
|
-
* - a function that returns the version or key dynamically.
|
|
319
|
-
*
|
|
320
|
-
* @default "MINIMUM_VERSION"
|
|
321
|
-
*/
|
|
322
|
-
minimumVersion: string | number | (() => string | number | undefined);
|
|
323
|
-
/**
|
|
324
|
-
* The URL for the extension's homepage
|
|
325
|
-
* Can be either:
|
|
326
|
-
* - a valid url or a key referencing a value from an .env file.
|
|
327
|
-
* - a function that returns the url or key dynamically.
|
|
328
|
-
*
|
|
329
|
-
* @default HOMEPAGE
|
|
330
|
-
*/
|
|
331
|
-
homepage: string | (() => string | undefined);
|
|
332
|
-
/**
|
|
333
|
-
* Used for Firefox under `browser_specific_settings.gecko.id`,
|
|
334
|
-
* but only if the "storage" permission is declared.
|
|
335
|
-
* Can be either:
|
|
336
|
-
* - a valid email
|
|
337
|
-
* - a function that returns the email
|
|
338
|
-
*
|
|
339
|
-
* @default EMAIL
|
|
340
|
-
*/
|
|
341
|
-
email: string | (() => string | undefined);
|
|
342
|
-
/**
|
|
343
|
-
* Used to specify how this extension will behave in incognito mode
|
|
344
|
-
*
|
|
345
|
-
* @default "not_allowed"
|
|
346
|
-
*/
|
|
347
|
-
incognito?: ManifestIncognitoValue | (() => ManifestIncognitoValue | undefined);
|
|
348
|
-
/**
|
|
349
|
-
* Extension manifest version (e.g., v2 or v3).
|
|
350
|
-
* Defines the manifest structure and available APIs.
|
|
351
|
-
*/
|
|
352
|
-
manifestVersion: ManifestVersion;
|
|
353
|
-
/**
|
|
354
|
-
* Path to the directory with source files for building.
|
|
355
|
-
* This is the base directory relative to which other paths are defined.
|
|
356
|
-
* @example "addon"
|
|
357
|
-
*/
|
|
358
|
-
inputDir: string;
|
|
359
|
-
/**
|
|
360
|
-
* Directory where the built extensions will be placed.
|
|
361
|
-
* Final extension files will be located here.
|
|
362
|
-
* @example "./dist"
|
|
363
|
-
* @path Output path: `{{inputDir}}/{{outputDir}}`
|
|
364
|
-
*
|
|
365
|
-
* @default "dist"
|
|
366
|
-
*/
|
|
367
|
-
outputDir: string;
|
|
368
|
-
/**
|
|
369
|
-
* Directory where the application and shared directory are located.
|
|
370
|
-
* Main directory with source code.
|
|
371
|
-
* @example "src"
|
|
372
|
-
* @path Full path: `{{inputDir}}/{{srcDir}}`
|
|
373
|
-
*
|
|
374
|
-
* @default "src"
|
|
375
|
-
*/
|
|
376
|
-
srcDir: string;
|
|
377
|
-
/**
|
|
378
|
-
* Directory with common modules, content scripts, and background scripts.
|
|
379
|
-
* Contains code used by multiple extensions.
|
|
380
|
-
* @example "shared"
|
|
381
|
-
* @path Full path: `{{inputDir}}/{{srcDir}}//{{sharedDir}}`
|
|
382
|
-
*
|
|
383
|
-
* @default "shared"
|
|
384
|
-
*/
|
|
385
|
-
sharedDir: string;
|
|
386
|
-
/**
|
|
387
|
-
* Directory where all app extensions are located.
|
|
388
|
-
* These extensions can use code from the Shared directory.
|
|
389
|
-
* @example "apps"
|
|
390
|
-
* @path Full path: `{{inputDir}}/{{srcDir}}/{{appsDir}}`
|
|
391
|
-
*
|
|
392
|
-
* @default "apps"
|
|
393
|
-
*/
|
|
394
|
-
appsDir: string;
|
|
395
|
-
/**
|
|
396
|
-
* Directory inside a specific extension application.
|
|
397
|
-
* May contain additional structure, such as a src folder.
|
|
398
|
-
* @example "src"
|
|
399
|
-
* @path Full path: `{{inputDir}}/{{appsDir}}/{{appDir}}/{{appSrcDir}}`
|
|
400
|
-
*
|
|
401
|
-
* @default "."
|
|
402
|
-
*/
|
|
403
|
-
appSrcDir: string;
|
|
404
|
-
/**
|
|
405
|
-
* Directory for output JavaScript files in outputDir.
|
|
406
|
-
* All compiled JS files will be placed here.
|
|
407
|
-
* @example "js"
|
|
408
|
-
* @path Full path: `{{inputDir}}//{{outputDir}}/{{appDir}}/{{jsDir}}`
|
|
409
|
-
*
|
|
410
|
-
* @default "js"
|
|
411
|
-
*/
|
|
412
|
-
jsDir: string;
|
|
413
|
-
/**
|
|
414
|
-
* Directory for output CSS files in outputDir.
|
|
415
|
-
* All compiled styles will be placed here.
|
|
416
|
-
* @example "css"
|
|
417
|
-
* @path Full path: `{{inputDir}}/{{outputDir}}/{{appDir}}/{{cssDir}}`
|
|
418
|
-
*
|
|
419
|
-
* @default "css"
|
|
420
|
-
*/
|
|
421
|
-
cssDir: string;
|
|
422
|
-
/**
|
|
423
|
-
* Directory for assets (images, fonts, etc.) in outputDir.
|
|
424
|
-
* @example "assets"
|
|
425
|
-
* @path Full path: `{{inputDir}}/{{outputDir}}/{{appDir}}/{{assetsDir}}`
|
|
426
|
-
*
|
|
427
|
-
* @default "assets"
|
|
428
|
-
*/
|
|
429
|
-
assetsDir: string;
|
|
430
|
-
/**
|
|
431
|
-
* Directory for HTML files in outputDir.
|
|
432
|
-
* @example "view"
|
|
433
|
-
* @path Full path: `{{inputDir}}/{{outputDir}}/{{appDir}}/{{htmlDir}}`
|
|
434
|
-
*
|
|
435
|
-
* @default "."
|
|
436
|
-
*/
|
|
437
|
-
htmlDir: string;
|
|
438
|
-
/**
|
|
439
|
-
* Represents an HTML configuration, which can either be a single HtmlOptions object,
|
|
440
|
-
* an array of HtmlOptions objects, or a function returning one of these formats.
|
|
441
|
-
*
|
|
442
|
-
* - HtmlOptions: A single HTML configuration object.
|
|
443
|
-
* - HtmlOptions[]: An array containing multiple HTML configuration objects.
|
|
444
|
-
* - { (): HtmlOptions | HtmlOptions[] }: A function that dynamically generates and
|
|
445
|
-
* returns either an HtmlOptions object or an array of HtmlOptions objects.
|
|
446
|
-
*/
|
|
447
|
-
html: Options | Options[] | {
|
|
448
|
-
(): Options | Options[];
|
|
449
|
-
};
|
|
450
|
-
/**
|
|
451
|
-
* Environment configuration for the extension.
|
|
452
|
-
*/
|
|
453
|
-
env: {
|
|
454
|
-
/**
|
|
455
|
-
* Filter that determines which environment variables should be included.
|
|
456
|
-
* Can be a string (interpreted as a prefix) or a function that receives
|
|
457
|
-
* the variable name and returns true if it should be included.
|
|
458
|
-
*/
|
|
459
|
-
filter?: ((value: string) => boolean) | string;
|
|
460
|
-
/**
|
|
461
|
-
* If true, the environment variable values will be obfuscated with simple encryption.
|
|
462
|
-
* This is not secure encryption.
|
|
463
|
-
*
|
|
464
|
-
* @default false
|
|
465
|
-
*/
|
|
466
|
-
crypt?: boolean;
|
|
467
|
-
};
|
|
468
|
-
/**
|
|
469
|
-
* Icon configuration for the extension.
|
|
470
|
-
*/
|
|
471
|
-
icon: {
|
|
472
|
-
/**
|
|
473
|
-
* Directory for icons and logos. Can be located in the Shared directory,
|
|
474
|
-
* in the project root, or in a folder for a specific App.
|
|
475
|
-
*
|
|
476
|
-
* @example "icons"
|
|
477
|
-
*
|
|
478
|
-
* @path Full paths can be:
|
|
479
|
-
*
|
|
480
|
-
* - `{{inputDir}}/{{srcDir}}/{{icon.sourceDir}}`
|
|
481
|
-
* - `{{inputDir}}/{{sharedDir}}/{{icon.sourceDir}}`
|
|
482
|
-
* - `{{inputDir}}/{{appsDir}}/{{appDir}}/{{icon.sourceDir}}`
|
|
483
|
-
*/
|
|
484
|
-
sourceDir?: string;
|
|
485
|
-
/**
|
|
486
|
-
* Directory for image files in outputDir.
|
|
487
|
-
* @example "icons"
|
|
488
|
-
* @path Full path: `{{inputDir}}/{{outputDir}}/{{appDir}}/{{icon.outputDir}}`
|
|
489
|
-
*/
|
|
490
|
-
outputDir?: string;
|
|
491
|
-
/**
|
|
492
|
-
* Default icon group name. If not specified, the default icons set will be used.
|
|
493
|
-
* @example "default"
|
|
494
|
-
*/
|
|
495
|
-
name?: string;
|
|
496
|
-
};
|
|
497
|
-
/**
|
|
498
|
-
* Locale configuration for the extension.
|
|
499
|
-
*/
|
|
500
|
-
locale: {
|
|
501
|
-
/**
|
|
502
|
-
* Directory for localizations. Can be located in the Shared directory,
|
|
503
|
-
* in the project root, or in a folder for a specific App.
|
|
504
|
-
*
|
|
505
|
-
* @example "locales"
|
|
506
|
-
*
|
|
507
|
-
* @path Full paths can be:
|
|
508
|
-
*
|
|
509
|
-
* - `{{inputDir}}/{{srcDir}}/{{localeDir}}`
|
|
510
|
-
* - `{{inputDir}}/{{sharedDir}}/{{localeDir}}`
|
|
511
|
-
* - `{{inputDir}}/{{appsDir}}/{{appDir}}/{{localeDir}}`
|
|
512
|
-
*/
|
|
513
|
-
dir?: string;
|
|
514
|
-
/**
|
|
515
|
-
* Default locale for the extension.
|
|
516
|
-
* @example "en"
|
|
517
|
-
*/
|
|
518
|
-
lang?: string | Language;
|
|
519
|
-
/**
|
|
520
|
-
* Default locale key from translation files or a string.
|
|
521
|
-
* @example "@app.name" or "Awesome App"
|
|
522
|
-
*/
|
|
523
|
-
name?: string;
|
|
524
|
-
/**
|
|
525
|
-
* Default locale key for a short name from translation files or a string.
|
|
526
|
-
* @example "@app.short_name" or "Awesome"
|
|
527
|
-
*/
|
|
528
|
-
shortName?: string;
|
|
529
|
-
/**
|
|
530
|
-
* Default locale key for description from translation files or a string.
|
|
531
|
-
* @example "@app.description" or "My awesome app description"
|
|
532
|
-
*/
|
|
533
|
-
description?: string;
|
|
534
|
-
};
|
|
535
|
-
/**
|
|
536
|
-
* Array of plugins used when building the extension.
|
|
537
|
-
* Allows extending the builder's functionality.
|
|
538
|
-
*/
|
|
539
|
-
plugins: Plugin[];
|
|
540
|
-
/**
|
|
541
|
-
* Flag to enable dependency analyzer.
|
|
542
|
-
* When activated, open RSDoctor during the build, which shows
|
|
543
|
-
* project dependencies and their sizes.
|
|
544
|
-
*
|
|
545
|
-
* @default false
|
|
546
|
-
*/
|
|
547
|
-
analyze: boolean;
|
|
548
|
-
/**
|
|
549
|
-
* Path to the builder configuration file.
|
|
550
|
-
* @example "./adnbn.config.ts"
|
|
551
|
-
*/
|
|
552
|
-
configFile: string;
|
|
553
|
-
/**
|
|
554
|
-
* Flag indicating whether to merge background scripts from App and Shared directories.
|
|
555
|
-
* When `true`, background scripts from both directories will be combined into a single file.
|
|
556
|
-
*
|
|
557
|
-
* @default false
|
|
558
|
-
*/
|
|
559
|
-
mergeBackground: boolean;
|
|
560
|
-
/**
|
|
561
|
-
* Flag indicating whether to merge commands from App and Shared directories.
|
|
562
|
-
* When `true`, commands from both directories will be combined.
|
|
563
|
-
*
|
|
564
|
-
* @default false
|
|
565
|
-
*/
|
|
566
|
-
mergeCommands: boolean;
|
|
567
|
-
/**
|
|
568
|
-
* Flag indicating whether to merge content scripts from App and Shared directories.
|
|
569
|
-
* When `true`, content scripts from both directories will be combined.
|
|
570
|
-
*
|
|
571
|
-
* @default false
|
|
572
|
-
*/
|
|
573
|
-
mergeContentScripts: boolean;
|
|
574
|
-
/**
|
|
575
|
-
* Flag indicating whether to combine content scripts with identical options into one chunk.
|
|
576
|
-
* When `true`, content scripts with identical settings will be compiled into a single file.
|
|
577
|
-
*
|
|
578
|
-
* @default true
|
|
579
|
-
*/
|
|
580
|
-
concatContentScripts: boolean;
|
|
581
|
-
/**
|
|
582
|
-
* Flag indicating whether to merge styles from App and Shared directories.
|
|
583
|
-
* When `true`, styles from both directories will be combined.
|
|
584
|
-
*
|
|
585
|
-
* @default true
|
|
586
|
-
*/
|
|
587
|
-
mergeStyles: boolean;
|
|
588
|
-
/**
|
|
589
|
-
* Flag indicating whether to merge icon files from App and Shared directories.
|
|
590
|
-
* When `true`, icon files from both directories will be combined.
|
|
591
|
-
*
|
|
592
|
-
* @default false
|
|
593
|
-
*/
|
|
594
|
-
mergeIcons: boolean;
|
|
595
|
-
/**
|
|
596
|
-
* Flag indicating whether to merge localizations from App and Shared directories.
|
|
597
|
-
* When `true`, localization files from both directories will be combined.
|
|
598
|
-
*
|
|
599
|
-
* @default true
|
|
600
|
-
*/
|
|
601
|
-
mergeLocales: boolean;
|
|
602
|
-
/**
|
|
603
|
-
* Flag indicating whether to merge page files from App and Shared directories.
|
|
604
|
-
* When `true`, page files from both directories will be combined.
|
|
605
|
-
*
|
|
606
|
-
* @default false
|
|
607
|
-
*/
|
|
608
|
-
mergePages: boolean;
|
|
609
|
-
/**
|
|
610
|
-
* Flag indicating whether to merge popup files from App and Shared directories.
|
|
611
|
-
* When `true`, popup files from both directories will be combined.
|
|
612
|
-
* This is useful for sharing popup components across different parts of the application.
|
|
613
|
-
*
|
|
614
|
-
* @default false
|
|
615
|
-
*/
|
|
616
|
-
mergePopup: boolean;
|
|
617
|
-
/**
|
|
618
|
-
* Flag indicating whether multiple popup files are supported in the extension.
|
|
619
|
-
* When `true`, the build process will handle and include multiple popup files in the extension.
|
|
620
|
-
* This allows the extension to have different popup interfaces for different contexts or states.
|
|
621
|
-
*
|
|
622
|
-
* @default false
|
|
623
|
-
*/
|
|
624
|
-
multiplePopup: boolean;
|
|
625
|
-
/**
|
|
626
|
-
* Flag indicating whether to merge sidebar files from App and Shared directories.
|
|
627
|
-
* When `true`, sidebar files from both directories will be combined.
|
|
628
|
-
* This is useful for sharing sidebar components across different parts of the application.
|
|
629
|
-
*
|
|
630
|
-
* @default false
|
|
631
|
-
*/
|
|
632
|
-
mergeSidebar: boolean;
|
|
633
|
-
/**
|
|
634
|
-
* Flag indicating whether multiple sidebar files are supported in the extension.
|
|
635
|
-
* When `true`, the build process will handle and include multiple sidebar files in the extension.
|
|
636
|
-
* This allows the extension to have different sidebar interfaces for different contexts or states.
|
|
637
|
-
*
|
|
638
|
-
* @default false
|
|
639
|
-
*/
|
|
640
|
-
multipleSidebar: boolean;
|
|
641
|
-
/**
|
|
642
|
-
* Flag indicating whether to merge relay files from App and Shared directories.
|
|
643
|
-
* When `true`, relay files from both directories will be combined.
|
|
644
|
-
*
|
|
645
|
-
* @default false
|
|
646
|
-
*/
|
|
647
|
-
mergeRelay: boolean;
|
|
648
|
-
/**
|
|
649
|
-
* Flag indicating whether to merge service files from App and Shared directories.
|
|
650
|
-
* When `true`, service files from both directories will be combined.
|
|
651
|
-
*
|
|
652
|
-
* @default false
|
|
653
|
-
*/
|
|
654
|
-
mergeService: boolean;
|
|
655
|
-
/**
|
|
656
|
-
* Flag indicating whether to merge offscreen files from App and Shared directories.
|
|
657
|
-
* When `true`, offscreen files from both directories will be combined.
|
|
658
|
-
*
|
|
659
|
-
* @default false
|
|
660
|
-
*/
|
|
661
|
-
mergeOffscreen: boolean;
|
|
662
|
-
/**
|
|
663
|
-
* Path to the directory containing public assets to be copied into the build output.
|
|
664
|
-
* Must be relative to the project root and cannot be "." (the project root itself).
|
|
665
|
-
*
|
|
666
|
-
* @default "public"
|
|
667
|
-
*/
|
|
668
|
-
publicDir: string;
|
|
669
|
-
/**
|
|
670
|
-
* If true, merges the contents of the public directory with corresponding
|
|
671
|
-
* directories from Shared and Apps modules during the copy process.
|
|
672
|
-
*
|
|
673
|
-
* @default true
|
|
674
|
-
*/
|
|
675
|
-
mergePublic: boolean;
|
|
676
|
-
/**
|
|
677
|
-
* Flag indicating whether to create separate chunks for common code.
|
|
678
|
-
* When `true`, common code will be extracted into separate chunks for build size optimization
|
|
679
|
-
* and improved caching. This allows the browser to load common modules once
|
|
680
|
-
* and reuse them across different parts of the extension.
|
|
681
|
-
*
|
|
682
|
-
* @default true
|
|
683
|
-
*/
|
|
684
|
-
commonChunks: boolean;
|
|
685
|
-
/**
|
|
686
|
-
* Template for generating asset output file names.
|
|
687
|
-
*
|
|
688
|
-
* This property defines how asset files (images, fonts, etc.) will be named in the build output.
|
|
689
|
-
* It uses Rspack's Filename type, which can be either a string template or a function
|
|
690
|
-
* that returns a filename string.
|
|
691
|
-
*
|
|
692
|
-
* Supported placeholders in string templates:
|
|
693
|
-
* - `[app]` - Extension name (kebab case)
|
|
694
|
-
* - `[name]` - The original asset file name without extension
|
|
695
|
-
* - `[ext]` - The original asset file extension (including the dot)
|
|
696
|
-
* - `[hash]` - A hash of the asset content
|
|
697
|
-
* - `[contenthash]` - A hash of the content only
|
|
698
|
-
*
|
|
699
|
-
* When used as a function, it receives pathData and assetInfo parameters
|
|
700
|
-
* and should return the final filename string.
|
|
701
|
-
*
|
|
702
|
-
* @example
|
|
703
|
-
* // String template examples:
|
|
704
|
-
* "[name].[hash][ext]"
|
|
705
|
-
* "[app]-[name].[contenthash:8][ext]"
|
|
706
|
-
* "images/[name].[hash][ext]"
|
|
707
|
-
*
|
|
708
|
-
* @example
|
|
709
|
-
* // Function example:
|
|
710
|
-
* (pathData, assetInfo) => {
|
|
711
|
-
* const info = pathData.module.resourceResolveData;
|
|
712
|
-
* return `${info.descriptionFileData.name}.${pathData.contentHash}${info.relativePath}`;
|
|
713
|
-
* }
|
|
714
|
-
*
|
|
715
|
-
* @see {@link https://rspack.dev/config/output#outputassetmodulefilename} Rspack asset module filename documentation
|
|
716
|
-
*/
|
|
717
|
-
assetsFilename: Filename;
|
|
718
|
-
/**
|
|
719
|
-
* Template for generating JavaScript output file names.
|
|
720
|
-
*
|
|
721
|
-
* This property defines how JavaScript files will be named in the build output.
|
|
722
|
-
* It uses Rspack's Filename type, which can be either a string template or a function
|
|
723
|
-
* that returns a filename string.
|
|
724
|
-
*
|
|
725
|
-
* Supported placeholders in string templates:
|
|
726
|
-
* - `[app]` - Extension name (kebab case)
|
|
727
|
-
* - `[name]` - The name of the entry or chunk
|
|
728
|
-
* - `[hash]` - A hash of the module identifier and content
|
|
729
|
-
* - `[chunkhash]` - A hash of the chunk content
|
|
730
|
-
* - `[contenthash]` - A hash of the content only
|
|
731
|
-
*
|
|
732
|
-
* When used as a function, it receives pathData and assetInfo parameters
|
|
733
|
-
* and should return the final filename string.
|
|
734
|
-
*
|
|
735
|
-
* @example
|
|
736
|
-
* // String template examples:
|
|
737
|
-
* "[name].[contenthash].js"
|
|
738
|
-
* "[app]-[name].[hash:8].js"
|
|
739
|
-
*
|
|
740
|
-
* @example
|
|
741
|
-
* // Function example:
|
|
742
|
-
* (pathData, assetInfo) => {
|
|
743
|
-
* return `${pathData.chunk.name}.${pathData.chunk.hash}.js`;
|
|
744
|
-
* }
|
|
745
|
-
*
|
|
746
|
-
* @see {@link https://rspack.dev/config/output#outputfilename} Rspack filename documentation
|
|
747
|
-
*/
|
|
748
|
-
jsFilename: Filename;
|
|
749
|
-
/**
|
|
750
|
-
* Template for generating CSS output file names.
|
|
751
|
-
*
|
|
752
|
-
* This property defines how CSS files will be named in the build output.
|
|
753
|
-
* It uses Rspack's Filename type, which can be either a string template or a function
|
|
754
|
-
* that returns a filename string.
|
|
755
|
-
*
|
|
756
|
-
* Supported placeholders in string templates:
|
|
757
|
-
* - `[app]` - Extension name (kebab case)
|
|
758
|
-
* - `[name]` - The name of the entry or chunk
|
|
759
|
-
* - `[hash]` - A hash of the module identifier and content
|
|
760
|
-
* - `[chunkhash]` - A hash of the chunk content
|
|
761
|
-
* - `[contenthash]` - A hash of the content only
|
|
762
|
-
*
|
|
763
|
-
* When used as a function, it receives pathData and assetInfo parameters
|
|
764
|
-
* and should return the final filename string.
|
|
765
|
-
*
|
|
766
|
-
* @example
|
|
767
|
-
* // String template examples:
|
|
768
|
-
* "[name].[contenthash].css"
|
|
769
|
-
* "[app]-[name].[hash:8].css"
|
|
770
|
-
*
|
|
771
|
-
* @example
|
|
772
|
-
* // Function example:
|
|
773
|
-
* (pathData, assetInfo) => {
|
|
774
|
-
* return `${pathData.chunk.name}.${pathData.chunk.hash}.css`;
|
|
775
|
-
* }
|
|
776
|
-
*
|
|
777
|
-
* @see {@link https://rspack.dev/config/output#outputfilename} Rspack filename documentation
|
|
778
|
-
*/
|
|
779
|
-
cssFilename: Filename;
|
|
780
|
-
/**
|
|
781
|
-
* Template for generating scoped CSS class names.
|
|
782
|
-
*
|
|
783
|
-
* Supported placeholders:
|
|
784
|
-
* - `[app]` – extension name (kebab case)
|
|
785
|
-
* - `[name]` – file basename without extension
|
|
786
|
-
* - `[local]` – original class name from your CSS
|
|
787
|
-
* - `[path]` – path to the resource, relative to the build context
|
|
788
|
-
* - `[folder]` – name of the folder containing the resource
|
|
789
|
-
* - `[file]` – combination of `[path]` and `[name]`
|
|
790
|
-
* - `[ext]` – file extension (including the dot)
|
|
791
|
-
* - `[hash]` – hash based on resourcePath + exportName, uniq for app.
|
|
792
|
-
*
|
|
793
|
-
*
|
|
794
|
-
* Note: all characters illegal in filenames (except inside `[local]`) are replaced with “-”
|
|
795
|
-
*
|
|
796
|
-
* @type {string}
|
|
797
|
-
*/
|
|
798
|
-
cssIdentName: string;
|
|
799
|
-
}
|
|
800
|
-
type OptionalConfig = Partial<Config>;
|
|
801
|
-
type UserConfig = Omit<OptionalConfig, "configFile" | "command">;
|
|
802
|
-
type ReadonlyConfig = Readonly<Config>;
|
|
803
|
-
type UserConfigCallback = (config: ReadonlyConfig) => UserConfig;
|
|
804
|
-
type ConfigDefinition = UserConfigCallback | UserConfig;
|
|
805
|
-
|
|
806
|
-
declare const defineConfig: (config: ConfigDefinition) => ConfigDefinition;
|
|
807
|
-
|
|
808
|
-
declare const defineContentScript: (options: ContentScriptDefinition) => ContentScriptDefinition;
|
|
809
|
-
declare const defineContentScriptAppend: (options: ContentScriptAppendDefinition) => ContentScriptDefinition;
|
|
810
|
-
|
|
811
|
-
declare const getEnv: {
|
|
812
|
-
<T extends string>(key: string): T | undefined;
|
|
813
|
-
<T extends string, D>(key: string, defaults: D): T | D;
|
|
814
|
-
};
|
|
815
|
-
declare const getApp: () => string;
|
|
816
|
-
declare const getBrowser: () => Browser;
|
|
817
|
-
declare const isBrowser: (browser: Browser) => browser is Browser;
|
|
818
|
-
declare const getManifestVersion: () => ManifestVersion;
|
|
819
|
-
|
|
820
|
-
type Tab$2 = chrome.tabs.Tab;
|
|
821
|
-
declare const getIcons: () => Record<string, Record<number, string>>;
|
|
822
|
-
declare const changeActionIcon: (icon?: string, tab?: number | Tab$2) => Promise<void>;
|
|
823
|
-
|
|
824
|
-
type OffscreenParameters = chrome.offscreen.CreateParameters;
|
|
825
|
-
|
|
826
|
-
type OffscreenAlias = string;
|
|
827
|
-
type OffscreenMap = Map<OffscreenAlias, OffscreenParameters>;
|
|
828
|
-
declare const defineOffscreen: <T extends TransportType>(options: OffscreenDefinition<T>) => OffscreenDefinition<T>;
|
|
829
|
-
declare const getOffscreens: () => OffscreenMap;
|
|
830
|
-
declare const getOffscreen: <N extends Extract<keyof TransportDictionary, string>>(name: N) => DeepAsyncProxy<TransportDictionary[N]>;
|
|
831
|
-
|
|
832
|
-
interface PageConfig {
|
|
833
|
-
name?: string;
|
|
834
|
-
matches?: string[];
|
|
835
|
-
}
|
|
836
|
-
type PageEntrypointOptions = PageConfig & ViewOptions;
|
|
837
|
-
type PageProps = PageEntrypointOptions;
|
|
838
|
-
type PageDefinition = PageEntrypointOptions & ViewDefinition<PageProps>;
|
|
839
|
-
|
|
840
|
-
type PageAlias = string;
|
|
841
|
-
type PageMap = Map<PageAlias, string>;
|
|
842
|
-
declare const definePage: (options: PageDefinition) => PageDefinition;
|
|
843
|
-
declare const getPages: () => PageMap;
|
|
844
|
-
declare const getPageUrl: (alias: PageAlias) => string;
|
|
845
|
-
|
|
846
|
-
declare function definePlugin<T extends any[] = []>(plugin: PluginDefinition<T>): PluginDefinition<T>;
|
|
847
|
-
|
|
848
|
-
interface PopupConfig {
|
|
849
|
-
icon?: string;
|
|
850
|
-
apply?: boolean;
|
|
851
|
-
}
|
|
852
|
-
type PopupEntrypointOptions = PopupConfig & ViewOptions;
|
|
853
|
-
type PopupProps = PopupEntrypointOptions;
|
|
854
|
-
type PopupDefinition = PopupEntrypointOptions & ViewDefinition<PopupProps>;
|
|
855
|
-
|
|
856
|
-
type Tab$1 = chrome.tabs.Tab;
|
|
857
|
-
type PopupAlias = string;
|
|
858
|
-
type PopupMap = Map<PopupAlias, ManifestPopup>;
|
|
859
|
-
declare const definePopup: (options: PopupDefinition) => PopupDefinition;
|
|
860
|
-
declare const getPopups: () => PopupMap;
|
|
861
|
-
declare const changePopup: (alias: PopupAlias, tab?: number | Tab$1) => Promise<void>;
|
|
862
|
-
|
|
863
|
-
declare const defineRelay: <T extends TransportType>(options: RelayDefinition<T>) => RelayDefinition<T>;
|
|
864
|
-
declare const getRelay: <N extends Extract<keyof TransportDictionary, string>>(name: N, options: ProxyRelayOptions) => DeepAsyncProxy<TransportDictionary[N]>;
|
|
865
|
-
|
|
866
|
-
declare const defineService: <T extends TransportType>(options: ServiceDefinition<T>) => ServiceDefinition<T>;
|
|
867
|
-
declare const getService: <N extends Extract<keyof TransportDictionary, string>>(name: N) => DeepAsyncProxy<TransportDictionary[N]>;
|
|
868
|
-
|
|
869
|
-
interface SidebarConfig {
|
|
870
|
-
icon?: string;
|
|
871
|
-
apply?: boolean;
|
|
872
|
-
}
|
|
873
|
-
type SidebarEntrypointOptions = SidebarConfig & ViewOptions;
|
|
874
|
-
type SidebarProps = SidebarEntrypointOptions;
|
|
875
|
-
type SidebarDefinition = SidebarEntrypointOptions & ViewDefinition<SidebarProps>;
|
|
876
|
-
|
|
877
|
-
type Tab = chrome.tabs.Tab;
|
|
878
|
-
type SidebarAlias = string;
|
|
879
|
-
type SidebarMap = Map<SidebarAlias, ManifestSidebar>;
|
|
880
|
-
declare const defineSidebar: (options: SidebarDefinition) => SidebarDefinition;
|
|
881
|
-
declare const getSidebars: () => SidebarMap;
|
|
882
|
-
declare const changeSidebar: (alias: SidebarAlias, tab?: number | Tab) => Promise<void>;
|
|
883
|
-
|
|
884
|
-
export { BackgroundConfig, BackgroundDefinition, Browser, Command, CommandConfig, CommandDefinition, type Config, type ConfigDefinition, ContentScriptAppendDefinition, ContentScriptConfig, ContentScriptDefinition, ExecuteActionCommandDefinition, type ManifestBuilder, ManifestIncognito, Mode, type OffscreenAlias, OffscreenDefinition, type OffscreenMap, type PageAlias, type PageConfig, type PageDefinition, type PageMap, type PageProps, type Plugin, type PluginDefinition, type PopupAlias, type PopupMap, type ReadonlyConfig, RelayDefinition, ServiceDefinition, type SidebarAlias, type SidebarMap, type UserConfig, ViewDefinition, ViewOptions, changeActionIcon, changePopup, changeSidebar, defineBackground, defineCommand, defineConfig, defineContentScript, defineContentScriptAppend, defineExecuteActionCommand, defineOffscreen, definePage, definePlugin, definePopup, defineRelay, defineService, defineSidebar, getApp, getBrowser, getEnv, getIcons, getManifestVersion, getOffscreen, getOffscreens, getPageUrl, getPages, getPopups, getRelay, getService, getSidebars, isBrowser };
|
|
40
|
+
import './transport/ProxyTransport.js';
|
|
41
|
+
import './transport/BaseTransport.js';
|
|
42
|
+
import './types/sidebar.js';
|