react-native-theoplayer 9.2.0 → 9.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/theoplayer/media/MediaPlaybackService.kt +7 -11
- package/android/src/main/java/com/theoplayer/presentation/PipConfig.kt +7 -0
- package/android/src/main/java/com/theoplayer/presentation/PipConfigAdapter.kt +7 -1
- package/android/src/main/java/com/theoplayer/presentation/PipUtils.kt +11 -1
- package/android/src/main/java/com/theoplayer/presentation/PresentationManager.kt +1 -1
- package/android/src/main/java/com/theoplayer/track/TextTrackStyleAdapter.kt +8 -0
- package/app.plugin.js +2 -46
- package/ios/THEOplayerRCTMainEventHandler.swift +2 -2
- package/ios/THEOplayerRCTPlayerAPI.swift +14 -1
- package/lib/commonjs/api/backgroundAudio/BackgroundAudioConfiguration.js.map +1 -1
- package/lib/commonjs/api/cache/CachingTaskParameters.js +1 -2
- package/lib/commonjs/api/cache/CachingTaskParameters.js.map +1 -1
- package/lib/commonjs/api/source/SourceDescription.js +1 -2
- package/lib/commonjs/api/source/SourceDescription.js.map +1 -1
- package/lib/commonjs/api/source/ads/Ads.js.map +1 -1
- package/lib/commonjs/api/source/cmcd/CmcdConfiguration.js.map +1 -1
- package/lib/commonjs/api/track/TextTrackStyle.js.map +1 -1
- package/lib/commonjs/internal/THEOplayerView.js +4 -4
- package/lib/commonjs/internal/THEOplayerView.js.map +1 -1
- package/lib/commonjs/internal/adapter/WebEventForwarder.js +4 -4
- package/lib/commonjs/internal/adapter/WebEventForwarder.js.map +1 -1
- package/lib/commonjs/internal/adapter/event/PlayerEvents.js +15 -1
- package/lib/commonjs/internal/adapter/event/PlayerEvents.js.map +1 -1
- package/lib/commonjs/manifest.json +1 -1
- package/lib/commonjs/plugins/expo/withTHEOplayer.js +13 -0
- package/lib/commonjs/plugins/expo/withTHEOplayer.js.map +1 -0
- package/lib/commonjs/plugins/expo/withTHEOplayerAndroid.js +57 -0
- package/lib/commonjs/plugins/expo/withTHEOplayerAndroid.js.map +1 -0
- package/lib/commonjs/plugins/typedoc-platform-icons/package-lock.json +237 -0
- package/lib/commonjs/plugins/typedoc-platform-icons/package.json +20 -0
- package/lib/commonjs/plugins/typedoc-platform-icons/src/index.js +96 -0
- package/lib/commonjs/plugins/typedoc-platform-icons/src/index.js.map +1 -0
- package/lib/commonjs/plugins/typedoc-platform-icons/tsconfig.json +24 -0
- package/lib/module/api/backgroundAudio/BackgroundAudioConfiguration.js.map +1 -1
- package/lib/module/api/cache/CachingTaskParameters.js +1 -2
- package/lib/module/api/cache/CachingTaskParameters.js.map +1 -1
- package/lib/module/api/source/SourceDescription.js +1 -2
- package/lib/module/api/source/SourceDescription.js.map +1 -1
- package/lib/module/api/source/ads/Ads.js.map +1 -1
- package/lib/module/api/source/cmcd/CmcdConfiguration.js.map +1 -1
- package/lib/module/api/track/TextTrackStyle.js.map +1 -1
- package/lib/module/internal/THEOplayerView.js +5 -5
- package/lib/module/internal/THEOplayerView.js.map +1 -1
- package/lib/module/internal/adapter/WebEventForwarder.js +5 -5
- package/lib/module/internal/adapter/WebEventForwarder.js.map +1 -1
- package/lib/module/internal/adapter/event/PlayerEvents.js +12 -0
- package/lib/module/internal/adapter/event/PlayerEvents.js.map +1 -1
- package/lib/module/manifest.json +1 -1
- package/lib/module/plugins/expo/withTHEOplayer.js +9 -0
- package/lib/module/plugins/expo/withTHEOplayer.js.map +1 -0
- package/lib/module/plugins/expo/withTHEOplayerAndroid.js +52 -0
- package/lib/module/plugins/expo/withTHEOplayerAndroid.js.map +1 -0
- package/lib/module/plugins/typedoc-platform-icons/package-lock.json +237 -0
- package/lib/module/plugins/typedoc-platform-icons/package.json +20 -0
- package/lib/module/plugins/typedoc-platform-icons/src/index.js +92 -0
- package/lib/module/plugins/typedoc-platform-icons/src/index.js.map +1 -0
- package/lib/module/plugins/typedoc-platform-icons/tsconfig.json +24 -0
- package/lib/typescript/api/THEOplayerView.d.ts +1 -2
- package/lib/typescript/api/THEOplayerView.d.ts.map +1 -1
- package/lib/typescript/api/abr/ABRConfiguration.d.ts +8 -12
- package/lib/typescript/api/abr/ABRConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/ads/AdsConfiguration.d.ts +5 -5
- package/lib/typescript/api/ads/AdsConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/ads/GoogleImaAd.d.ts +2 -4
- package/lib/typescript/api/ads/GoogleImaAd.d.ts.map +1 -1
- package/lib/typescript/api/ads/GoogleImaConfiguration.d.ts +4 -1
- package/lib/typescript/api/ads/GoogleImaConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/ads/Omid.d.ts +1 -0
- package/lib/typescript/api/ads/Omid.d.ts.map +1 -1
- package/lib/typescript/api/backgroundAudio/BackgroundAudioConfiguration.d.ts +4 -2
- package/lib/typescript/api/backgroundAudio/BackgroundAudioConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/cache/CachingTask.d.ts +2 -1
- package/lib/typescript/api/cache/CachingTask.d.ts.map +1 -1
- package/lib/typescript/api/cache/CachingTaskParameters.d.ts +10 -9
- package/lib/typescript/api/cache/CachingTaskParameters.d.ts.map +1 -1
- package/lib/typescript/api/config/PlayerConfiguration.d.ts +9 -11
- package/lib/typescript/api/config/PlayerConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/event/AdEvent.d.ts +4 -8
- package/lib/typescript/api/event/AdEvent.d.ts.map +1 -1
- package/lib/typescript/api/event/PlayerEvent.d.ts +13 -2
- package/lib/typescript/api/event/PlayerEvent.d.ts.map +1 -1
- package/lib/typescript/api/media/MediaControlConfiguration.d.ts +2 -4
- package/lib/typescript/api/media/MediaControlConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/millicast/MillicastConnectOptions.d.ts +4 -0
- package/lib/typescript/api/millicast/MillicastConnectOptions.d.ts.map +1 -1
- package/lib/typescript/api/pip/PiPConfiguration.d.ts +10 -1
- package/lib/typescript/api/pip/PiPConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/playback/PlaybackSettingsAPI.d.ts +3 -6
- package/lib/typescript/api/playback/PlaybackSettingsAPI.d.ts.map +1 -1
- package/lib/typescript/api/player/THEOplayer.d.ts +5 -9
- package/lib/typescript/api/player/THEOplayer.d.ts.map +1 -1
- package/lib/typescript/api/source/SourceDescription.d.ts +12 -27
- package/lib/typescript/api/source/SourceDescription.d.ts.map +1 -1
- package/lib/typescript/api/source/ads/Ads.d.ts +0 -1
- package/lib/typescript/api/source/ads/Ads.d.ts.map +1 -1
- package/lib/typescript/api/source/ads/TheoAdDescription.d.ts +3 -3
- package/lib/typescript/api/source/ads/ssai/GoogleDAIConfiguration.d.ts +2 -1
- package/lib/typescript/api/source/ads/ssai/GoogleDAIConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/source/cmcd/CmcdConfiguration.d.ts +5 -10
- package/lib/typescript/api/source/cmcd/CmcdConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/source/dash/DashPlaybackConfiguration.d.ts +10 -16
- package/lib/typescript/api/source/dash/DashPlaybackConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/source/hls/HlsPlaybackConfiguration.d.ts +0 -3
- package/lib/typescript/api/source/hls/HlsPlaybackConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/theoads/TheoAdsAPI.d.ts +1 -2
- package/lib/typescript/api/theoads/TheoAdsAPI.d.ts.map +1 -1
- package/lib/typescript/api/theolive/TheoLiveConfiguration.d.ts +4 -8
- package/lib/typescript/api/theolive/TheoLiveConfiguration.d.ts.map +1 -1
- package/lib/typescript/api/track/TextTrackStyle.d.ts +11 -9
- package/lib/typescript/api/track/TextTrackStyle.d.ts.map +1 -1
- package/lib/typescript/internal/THEOplayerView.d.ts.map +1 -1
- package/lib/typescript/internal/adapter/WebEventForwarder.d.ts.map +1 -1
- package/lib/typescript/internal/adapter/event/PlayerEvents.d.ts +9 -3
- package/lib/typescript/internal/adapter/event/PlayerEvents.d.ts.map +1 -1
- package/lib/typescript/internal/adapter/event/native/NativePlayerEvent.d.ts +12 -0
- package/lib/typescript/internal/adapter/event/native/NativePlayerEvent.d.ts.map +1 -1
- package/lib/typescript/plugins/expo/withTHEOplayer.d.ts +4 -0
- package/lib/typescript/plugins/expo/withTHEOplayer.d.ts.map +1 -0
- package/lib/typescript/plugins/expo/withTHEOplayerAndroid.d.ts +8 -0
- package/lib/typescript/plugins/expo/withTHEOplayerAndroid.d.ts.map +1 -0
- package/lib/typescript/plugins/typedoc-platform-icons/src/index.d.ts +3 -0
- package/lib/typescript/plugins/typedoc-platform-icons/src/index.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/api/THEOplayerView.ts +1 -2
- package/src/api/abr/ABRConfiguration.ts +8 -12
- package/src/api/ads/AdsConfiguration.ts +5 -5
- package/src/api/ads/GoogleImaAd.ts +2 -4
- package/src/api/ads/GoogleImaConfiguration.ts +6 -3
- package/src/api/ads/Omid.ts +1 -0
- package/src/api/backgroundAudio/BackgroundAudioConfiguration.ts +4 -2
- package/src/api/cache/CachingTask.ts +2 -1
- package/src/api/cache/CachingTaskParameters.ts +10 -9
- package/src/api/config/PlayerConfiguration.ts +9 -11
- package/src/api/event/AdEvent.ts +4 -8
- package/src/api/event/PlayerEvent.ts +15 -2
- package/src/api/media/MediaControlConfiguration.ts +2 -4
- package/src/api/millicast/MillicastConnectOptions.ts +5 -1
- package/src/api/pip/PiPConfiguration.ts +11 -1
- package/src/api/playback/PlaybackSettingsAPI.ts +3 -6
- package/src/api/player/THEOplayer.ts +5 -9
- package/src/api/source/SourceDescription.ts +12 -27
- package/src/api/source/ads/Ads.ts +0 -1
- package/src/api/source/ads/TheoAdDescription.ts +3 -3
- package/src/api/source/ads/ssai/GoogleDAIConfiguration.ts +2 -1
- package/src/api/source/cmcd/CmcdConfiguration.ts +5 -10
- package/src/api/source/dash/DashPlaybackConfiguration.ts +10 -16
- package/src/api/source/hls/HlsPlaybackConfiguration.ts +0 -3
- package/src/api/theoads/TheoAdsAPI.ts +1 -2
- package/src/api/theolive/TheoLiveConfiguration.ts +4 -8
- package/src/api/track/TextTrackStyle.ts +11 -9
- package/src/internal/THEOplayerView.tsx +10 -6
- package/src/internal/adapter/WebEventForwarder.ts +8 -4
- package/src/internal/adapter/event/PlayerEvents.ts +17 -2
- package/src/internal/adapter/event/native/NativePlayerEvent.ts +14 -0
- package/src/manifest.json +1 -1
- package/src/plugins/expo/withTHEOplayer.ts +9 -0
- package/src/plugins/expo/withTHEOplayerAndroid.ts +58 -0
- package/src/plugins/typedoc-platform-icons/package-lock.json +237 -0
- package/src/plugins/typedoc-platform-icons/package.json +20 -0
- package/src/plugins/typedoc-platform-icons/src/index.tsx +90 -0
- package/src/plugins/typedoc-platform-icons/tsconfig.json +24 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"9.
|
|
1
|
+
{"version":"9.4.0","buildDate":"2025-06-12T09:31:27.640Z"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _withTHEOplayerAndroid = require("./withTHEOplayerAndroid");
|
|
8
|
+
const withTHEOplayerAndroidWrapper = (config, props) => {
|
|
9
|
+
// Apply Android modifications
|
|
10
|
+
return (0, _withTHEOplayerAndroid.withAndroidTHEOplayer)(config, props);
|
|
11
|
+
};
|
|
12
|
+
var _default = exports.default = withTHEOplayerAndroidWrapper;
|
|
13
|
+
//# sourceMappingURL=withTHEOplayer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_withTHEOplayerAndroid","require","withTHEOplayerAndroidWrapper","config","props","withAndroidTHEOplayer","_default","exports","default"],"sourceRoot":"../../../../src","sources":["plugins/expo/withTHEOplayer.ts"],"mappings":";;;;;;AACA,IAAAA,sBAAA,GAAAC,OAAA;AAEA,MAAMC,4BAA0C,GAAGA,CAACC,MAAM,EAAEC,KAAU,KAAK;EACzE;EACA,OAAO,IAAAC,4CAAqB,EAACF,MAAM,EAAEC,KAAK,CAAC;AAC7C,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaN,4BAA4B","ignoreList":[]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.withAndroidTHEOplayer = void 0;
|
|
7
|
+
var _configPlugins = require("@expo/config-plugins");
|
|
8
|
+
function mapAndroidExtensionKey(ext) {
|
|
9
|
+
switch (ext) {
|
|
10
|
+
case 'ima':
|
|
11
|
+
return 'THEOplayer_extensionGoogleIMA';
|
|
12
|
+
case 'dai':
|
|
13
|
+
return 'THEOplayer_extensionGoogleDAI';
|
|
14
|
+
case 'cast':
|
|
15
|
+
return 'THEOplayer_extensionCast';
|
|
16
|
+
case 'theoads':
|
|
17
|
+
return 'THEOplayer_extensionTHEOads';
|
|
18
|
+
case 'millicast':
|
|
19
|
+
return 'THEOplayer_extensionMillicast';
|
|
20
|
+
default:
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const applyAndroidExtensions = (config, extensions) => {
|
|
25
|
+
return (0, _configPlugins.withGradleProperties)(config, config => {
|
|
26
|
+
extensions?.forEach(ext => {
|
|
27
|
+
const key = mapAndroidExtensionKey(ext);
|
|
28
|
+
if (key) {
|
|
29
|
+
const prop = {
|
|
30
|
+
type: 'property',
|
|
31
|
+
key,
|
|
32
|
+
value: 'true'
|
|
33
|
+
};
|
|
34
|
+
config.modResults.push(prop);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
return config;
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
const withAndroidTHEOplayer = (config, props = {}) => {
|
|
41
|
+
const {
|
|
42
|
+
extensions
|
|
43
|
+
} = props;
|
|
44
|
+
|
|
45
|
+
// Apply Android extensions
|
|
46
|
+
config = applyAndroidExtensions(config, extensions);
|
|
47
|
+
|
|
48
|
+
// Add THEOplayer and local Maven repos to the project's repositories
|
|
49
|
+
return (0, _configPlugins.withProjectBuildGradle)(config, config => {
|
|
50
|
+
const localMaven = 'maven { url("$rootDir/../node_modules/react-native-theoplayer/android/local") }';
|
|
51
|
+
const THEOplayerMaven = 'maven { url("https://maven.theoplayer.com/releases") }';
|
|
52
|
+
config.modResults.contents = config.modResults.contents.replace(/allprojects\s*\{\s*repositories\s*\{/, `$&\n\t\t${localMaven}\n\t\t${THEOplayerMaven}`);
|
|
53
|
+
return config;
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
exports.withAndroidTHEOplayer = withAndroidTHEOplayer;
|
|
57
|
+
//# sourceMappingURL=withTHEOplayerAndroid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_configPlugins","require","mapAndroidExtensionKey","ext","undefined","applyAndroidExtensions","config","extensions","withGradleProperties","forEach","key","prop","type","value","modResults","push","withAndroidTHEOplayer","props","withProjectBuildGradle","localMaven","THEOplayerMaven","contents","replace","exports"],"sourceRoot":"../../../../src","sources":["plugins/expo/withTHEOplayerAndroid.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AASA,SAASC,sBAAsBA,CAACC,GAAc,EAAsB;EAClE,QAAQA,GAAG;IACT,KAAK,KAAK;MACR,OAAO,+BAA+B;IACxC,KAAK,KAAK;MACR,OAAO,+BAA+B;IACxC,KAAK,MAAM;MACT,OAAO,0BAA0B;IACnC,KAAK,SAAS;MACZ,OAAO,6BAA6B;IACtC,KAAK,WAAW;MACd,OAAO,+BAA+B;IACxC;MACE,OAAOC,SAAS;EACpB;AACF;AAEA,MAAMC,sBAAyE,GAAGA,CAACC,MAAM,EAAEC,UAAU,KAAK;EACxG,OAAO,IAAAC,mCAAoB,EAACF,MAAM,EAAGA,MAAM,IAAK;IAC9CC,UAAU,EAAEE,OAAO,CAAEN,GAAG,IAAK;MAC3B,MAAMO,GAAG,GAAGR,sBAAsB,CAACC,GAAG,CAAC;MACvC,IAAIO,GAAG,EAAE;QACP,MAAMC,IAAoB,GAAG;UAAEC,IAAI,EAAE,UAAU;UAAEF,GAAG;UAAEG,KAAK,EAAE;QAAO,CAAC;QACrEP,MAAM,CAACQ,UAAU,CAACC,IAAI,CAACJ,IAAI,CAAC;MAC9B;IACF,CAAC,CAAC;IACF,OAAOL,MAAM;EACf,CAAC,CAAC;AACJ,CAAC;AAEM,MAAMU,qBAA0D,GAAGA,CAACV,MAAM,EAAEW,KAAK,GAAG,CAAC,CAAC,KAAK;EAChG,MAAM;IAAEV;EAAW,CAAC,GAAGU,KAAK;;EAE5B;EACAX,MAAM,GAAGD,sBAAsB,CAACC,MAAM,EAAEC,UAAU,CAAC;;EAEnD;EACA,OAAO,IAAAW,qCAAsB,EAACZ,MAAM,EAAGA,MAAM,IAAK;IAChD,MAAMa,UAAU,GAAG,iFAAiF;IACpG,MAAMC,eAAe,GAAG,wDAAwD;IAEhFd,MAAM,CAACQ,UAAU,CAACO,QAAQ,GAAGf,MAAM,CAACQ,UAAU,CAACO,QAAQ,CAACC,OAAO,CAC7D,sCAAsC,EACtC,WAAWH,UAAU,SAASC,eAAe,EAC/C,CAAC;IAED,OAAOd,MAAM;EACf,CAAC,CAAC;AACJ,CAAC;AAACiB,OAAA,CAAAP,qBAAA,GAAAA,qBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "typedoc-platform-icons",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"lockfileVersion": 3,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "typedoc-platform-icons",
|
|
9
|
+
"version": "1.0.0",
|
|
10
|
+
"devDependencies": {
|
|
11
|
+
"typedoc": "^0.28.1",
|
|
12
|
+
"typescript": "^5.1.6"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"node_modules/@gerrit0/mini-shiki": {
|
|
16
|
+
"version": "3.2.1",
|
|
17
|
+
"resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-3.2.1.tgz",
|
|
18
|
+
"integrity": "sha512-HbzRC6MKB6U8kQhczz0APKPIzFHTrcqhaC7es2EXInq1SpjPVnpVSIsBe6hNoLWqqCx1n5VKiPXq6PfXnHZKOQ==",
|
|
19
|
+
"dev": true,
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@shikijs/engine-oniguruma": "^3.2.1",
|
|
23
|
+
"@shikijs/types": "^3.2.1",
|
|
24
|
+
"@shikijs/vscode-textmate": "^10.0.2"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"node_modules/@shikijs/engine-oniguruma": {
|
|
28
|
+
"version": "3.2.1",
|
|
29
|
+
"resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.2.1.tgz",
|
|
30
|
+
"integrity": "sha512-wZZAkayEn6qu2+YjenEoFqj0OyQI64EWsNR6/71d1EkG4sxEOFooowKivsWPpaWNBu3sxAG+zPz5kzBL/SsreQ==",
|
|
31
|
+
"dev": true,
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@shikijs/types": "3.2.1",
|
|
35
|
+
"@shikijs/vscode-textmate": "^10.0.2"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"node_modules/@shikijs/types": {
|
|
39
|
+
"version": "3.2.1",
|
|
40
|
+
"resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.2.1.tgz",
|
|
41
|
+
"integrity": "sha512-/NTWAk4KE2M8uac0RhOsIhYQf4pdU0OywQuYDGIGAJ6Mjunxl2cGiuLkvu4HLCMn+OTTLRWkjZITp+aYJv60yA==",
|
|
42
|
+
"dev": true,
|
|
43
|
+
"license": "MIT",
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@shikijs/vscode-textmate": "^10.0.2",
|
|
46
|
+
"@types/hast": "^3.0.4"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"node_modules/@shikijs/vscode-textmate": {
|
|
50
|
+
"version": "10.0.2",
|
|
51
|
+
"resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz",
|
|
52
|
+
"integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==",
|
|
53
|
+
"dev": true,
|
|
54
|
+
"license": "MIT"
|
|
55
|
+
},
|
|
56
|
+
"node_modules/@types/hast": {
|
|
57
|
+
"version": "3.0.4",
|
|
58
|
+
"resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
|
|
59
|
+
"integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",
|
|
60
|
+
"dev": true,
|
|
61
|
+
"license": "MIT",
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@types/unist": "*"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"node_modules/@types/unist": {
|
|
67
|
+
"version": "3.0.3",
|
|
68
|
+
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
|
|
69
|
+
"integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
|
|
70
|
+
"dev": true,
|
|
71
|
+
"license": "MIT"
|
|
72
|
+
},
|
|
73
|
+
"node_modules/argparse": {
|
|
74
|
+
"version": "2.0.1",
|
|
75
|
+
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
|
76
|
+
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
|
|
77
|
+
"dev": true,
|
|
78
|
+
"license": "Python-2.0"
|
|
79
|
+
},
|
|
80
|
+
"node_modules/balanced-match": {
|
|
81
|
+
"version": "1.0.2",
|
|
82
|
+
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
|
83
|
+
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
|
84
|
+
"dev": true,
|
|
85
|
+
"license": "MIT"
|
|
86
|
+
},
|
|
87
|
+
"node_modules/brace-expansion": {
|
|
88
|
+
"version": "2.0.1",
|
|
89
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
|
90
|
+
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
|
91
|
+
"dev": true,
|
|
92
|
+
"license": "MIT",
|
|
93
|
+
"dependencies": {
|
|
94
|
+
"balanced-match": "^1.0.0"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"node_modules/entities": {
|
|
98
|
+
"version": "4.5.0",
|
|
99
|
+
"resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
|
|
100
|
+
"integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
|
|
101
|
+
"dev": true,
|
|
102
|
+
"license": "BSD-2-Clause",
|
|
103
|
+
"engines": {
|
|
104
|
+
"node": ">=0.12"
|
|
105
|
+
},
|
|
106
|
+
"funding": {
|
|
107
|
+
"url": "https://github.com/fb55/entities?sponsor=1"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"node_modules/linkify-it": {
|
|
111
|
+
"version": "5.0.0",
|
|
112
|
+
"resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz",
|
|
113
|
+
"integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==",
|
|
114
|
+
"dev": true,
|
|
115
|
+
"license": "MIT",
|
|
116
|
+
"dependencies": {
|
|
117
|
+
"uc.micro": "^2.0.0"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"node_modules/lunr": {
|
|
121
|
+
"version": "2.3.9",
|
|
122
|
+
"resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz",
|
|
123
|
+
"integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==",
|
|
124
|
+
"dev": true,
|
|
125
|
+
"license": "MIT"
|
|
126
|
+
},
|
|
127
|
+
"node_modules/markdown-it": {
|
|
128
|
+
"version": "14.1.0",
|
|
129
|
+
"resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz",
|
|
130
|
+
"integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==",
|
|
131
|
+
"dev": true,
|
|
132
|
+
"license": "MIT",
|
|
133
|
+
"dependencies": {
|
|
134
|
+
"argparse": "^2.0.1",
|
|
135
|
+
"entities": "^4.4.0",
|
|
136
|
+
"linkify-it": "^5.0.0",
|
|
137
|
+
"mdurl": "^2.0.0",
|
|
138
|
+
"punycode.js": "^2.3.1",
|
|
139
|
+
"uc.micro": "^2.1.0"
|
|
140
|
+
},
|
|
141
|
+
"bin": {
|
|
142
|
+
"markdown-it": "bin/markdown-it.mjs"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"node_modules/mdurl": {
|
|
146
|
+
"version": "2.0.0",
|
|
147
|
+
"resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz",
|
|
148
|
+
"integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==",
|
|
149
|
+
"dev": true,
|
|
150
|
+
"license": "MIT"
|
|
151
|
+
},
|
|
152
|
+
"node_modules/minimatch": {
|
|
153
|
+
"version": "9.0.5",
|
|
154
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
|
155
|
+
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
|
156
|
+
"dev": true,
|
|
157
|
+
"license": "ISC",
|
|
158
|
+
"dependencies": {
|
|
159
|
+
"brace-expansion": "^2.0.1"
|
|
160
|
+
},
|
|
161
|
+
"engines": {
|
|
162
|
+
"node": ">=16 || 14 >=14.17"
|
|
163
|
+
},
|
|
164
|
+
"funding": {
|
|
165
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"node_modules/punycode.js": {
|
|
169
|
+
"version": "2.3.1",
|
|
170
|
+
"resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz",
|
|
171
|
+
"integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==",
|
|
172
|
+
"dev": true,
|
|
173
|
+
"license": "MIT",
|
|
174
|
+
"engines": {
|
|
175
|
+
"node": ">=6"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"node_modules/typedoc": {
|
|
179
|
+
"version": "0.28.1",
|
|
180
|
+
"resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.28.1.tgz",
|
|
181
|
+
"integrity": "sha512-Mn2VPNMaxoe/hlBiLriG4U55oyAa3Xo+8HbtEwV7F5WEOPXqtxzGuMZhJYHaqFJpajeQ6ZDUC2c990NAtTbdgw==",
|
|
182
|
+
"dev": true,
|
|
183
|
+
"license": "Apache-2.0",
|
|
184
|
+
"dependencies": {
|
|
185
|
+
"@gerrit0/mini-shiki": "^3.2.1",
|
|
186
|
+
"lunr": "^2.3.9",
|
|
187
|
+
"markdown-it": "^14.1.0",
|
|
188
|
+
"minimatch": "^9.0.5",
|
|
189
|
+
"yaml": "^2.7.0 "
|
|
190
|
+
},
|
|
191
|
+
"bin": {
|
|
192
|
+
"typedoc": "bin/typedoc"
|
|
193
|
+
},
|
|
194
|
+
"engines": {
|
|
195
|
+
"node": ">= 18",
|
|
196
|
+
"pnpm": ">= 10"
|
|
197
|
+
},
|
|
198
|
+
"peerDependencies": {
|
|
199
|
+
"typescript": "5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"node_modules/typescript": {
|
|
203
|
+
"version": "5.8.2",
|
|
204
|
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz",
|
|
205
|
+
"integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==",
|
|
206
|
+
"dev": true,
|
|
207
|
+
"license": "Apache-2.0",
|
|
208
|
+
"bin": {
|
|
209
|
+
"tsc": "bin/tsc",
|
|
210
|
+
"tsserver": "bin/tsserver"
|
|
211
|
+
},
|
|
212
|
+
"engines": {
|
|
213
|
+
"node": ">=14.17"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"node_modules/uc.micro": {
|
|
217
|
+
"version": "2.1.0",
|
|
218
|
+
"resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz",
|
|
219
|
+
"integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==",
|
|
220
|
+
"dev": true,
|
|
221
|
+
"license": "MIT"
|
|
222
|
+
},
|
|
223
|
+
"node_modules/yaml": {
|
|
224
|
+
"version": "2.7.0",
|
|
225
|
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz",
|
|
226
|
+
"integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==",
|
|
227
|
+
"dev": true,
|
|
228
|
+
"license": "ISC",
|
|
229
|
+
"bin": {
|
|
230
|
+
"yaml": "bin.mjs"
|
|
231
|
+
},
|
|
232
|
+
"engines": {
|
|
233
|
+
"node": ">= 14"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "typedoc-platform-icons",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "TypeDoc plugin which renders icon tags for iOS, Android and Web",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc"
|
|
9
|
+
},
|
|
10
|
+
"devDependencies": {
|
|
11
|
+
"typedoc": "^0.25.13",
|
|
12
|
+
"typescript": "^5.1.6"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist/plugin.js"
|
|
16
|
+
],
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"typedoc": "0.23.x || 0.24.x || 0.25.x || 0.26.x || 0.27.x || 0.28.x"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.load = load;
|
|
7
|
+
var _typedoc = require("typedoc");
|
|
8
|
+
const style = String.raw`
|
|
9
|
+
<style>
|
|
10
|
+
.platform-tag {
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
border-radius: 20px;
|
|
14
|
+
padding: 2px 4px;
|
|
15
|
+
font-size: small;
|
|
16
|
+
margin-left: 4px;
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.platform-tag-ios {
|
|
21
|
+
border: purple 2px solid;
|
|
22
|
+
background-color: #ffceff;
|
|
23
|
+
color: purple;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.platform-tag-android {
|
|
27
|
+
border: green 2px solid;
|
|
28
|
+
background-color: #ceffce;
|
|
29
|
+
color: green;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.platform-tag-web {
|
|
33
|
+
border: dodgerblue 2px solid;
|
|
34
|
+
background-color: #e7ecff;
|
|
35
|
+
color: dodgerblue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.margin-left-xs {
|
|
39
|
+
margin-left: 4px;
|
|
40
|
+
}
|
|
41
|
+
</style>
|
|
42
|
+
`;
|
|
43
|
+
function load(app) {
|
|
44
|
+
app.renderer.on(_typedoc.PageEvent.END, event => {
|
|
45
|
+
if (event.contents === undefined) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
const html = event.contents;
|
|
49
|
+
const headEndIndex = html.indexOf('</head>');
|
|
50
|
+
event.contents = html.slice(0, headEndIndex) + style + html.slice(headEndIndex);
|
|
51
|
+
});
|
|
52
|
+
app.converter.on(_typedoc.Converter.EVENT_RESOLVE_BEGIN, ctx => {
|
|
53
|
+
for (const reflection of ctx.project.getReflectionsByKind(_typedoc.ReflectionKind.All)) {
|
|
54
|
+
const {
|
|
55
|
+
comment
|
|
56
|
+
} = reflection;
|
|
57
|
+
if (comment) {
|
|
58
|
+
comment.getTags('@platform').forEach(part => {
|
|
59
|
+
const tags = part.content[0];
|
|
60
|
+
if (!tags) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
part.content = [];
|
|
64
|
+
if (tags.text.indexOf('ios') >= 0) {
|
|
65
|
+
part.content.push({
|
|
66
|
+
kind: 'text',
|
|
67
|
+
text: `<div class="platform-tag platform-tag-ios">
|
|
68
|
+
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="14" height="14" viewBox="0 0 20 20"><path fill="purple" d="M17.85 14.227c-.106.307-.217.6-.335.881a10.338 10.338 0 0 1-1.022 1.836c-.536.766-.976 1.296-1.315 1.59-.525.483-1.088.731-1.691.744-.433 0-.954-.123-1.562-.372-.609-.249-1.169-.372-1.681-.372-.537 0-1.113.123-1.729.372-.617.249-1.114.38-1.494.392-.578.025-1.154-.229-1.729-.764-.367-.32-.826-.869-1.376-1.646-.59-.83-1.075-1.793-1.455-2.891-.407-1.185-.611-2.333-.611-3.444 0-1.273.275-2.371.826-3.291a4.846 4.846 0 0 1 1.73-1.75 4.654 4.654 0 0 1 2.339-.66c.459 0 1.061.142 1.809.421.746.28 1.225.422 1.435.422.157 0 .689-.166 1.591-.497.853-.307 1.573-.434 2.163-.384 1.598.129 2.798.759 3.597 1.894-1.429.866-2.136 2.079-2.122 3.635.013 1.212.452 2.221 1.316 3.022.392.371.83.658 1.316.862zM13.83.305c.013.127.019.254.019.38 0 .95-.347 1.837-1.038 2.658-.835.976-1.845 1.54-2.94 1.451a2.95 2.95 0 0 1-.022-.36c0-.912.397-1.888 1.102-2.686.352-.404.8-.74 1.342-1.008.542-.264 1.055-.41 1.537-.435z"/></svg>
|
|
69
|
+
<span class="margin-left-xs">iOS</span>
|
|
70
|
+
</div>`
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
if (tags.text.indexOf('android') >= 0) {
|
|
74
|
+
part.content.push({
|
|
75
|
+
kind: 'text',
|
|
76
|
+
text: `<div class="platform-tag platform-tag-android">
|
|
77
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 675 675"><path fill="green" d="M672.38 514.23c-.22-1.378-.43-2.74-.66-4.102a335.112 335.112 0 0 0-5.13-25.041 337.18 337.18 0 0 0-28.51-75.63 341.207 341.207 0 0 0-24.56-40.072 338.6 338.6 0 0 0-37.1-43.697 334.176 334.176 0 0 0-17.66-16.361 339.62 339.62 0 0 0-42.06-30.98c.13-.214.24-.443.37-.657 6.79-11.732 13.6-23.449 20.39-35.181l19.92-34.361a10427.4 10427.4 0 0 0 14.3-24.68 31.28 31.28 0 0 0 2.69-6.038 30.96 30.96 0 0 0 .45-17.444 31.743 31.743 0 0 0-3.35-7.959c-2.54-4.266-6.17-7.974-10.73-10.682a31.15 31.15 0 0 0-13.16-4.233 31.455 31.455 0 0 0-5.83.05c-1.6.163-3.19.459-4.77.869a30.865 30.865 0 0 0-14.9 9.041 31.106 31.106 0 0 0-3.91 5.333c-4.77 8.221-9.54 16.459-14.3 24.68l-19.92 34.361c-6.79 11.733-13.6 23.449-20.39 35.182-.74 1.279-1.49 2.559-2.23 3.856-1.03-.411-2.05-.821-3.08-1.215-37.44-14.276-78.06-22.087-120.52-22.087-1.16 0-2.31 0-3.48.017-37.75.377-74.02 6.941-107.86 18.723a314.032 314.032 0 0 0-11.62 4.316c-.69-1.198-1.4-2.396-2.08-3.594-6.79-11.733-13.6-23.449-20.39-35.182l-19.92-34.36c-4.78-8.222-9.55-16.46-14.3-24.68a31.643 31.643 0 0 0-3.91-5.333 30.865 30.865 0 0 0-14.9-9.042c-1.58-.41-3.17-.705-4.78-.87a31.34 31.34 0 0 0-5.82-.049 30.784 30.784 0 0 0-13.17 4.234 30.809 30.809 0 0 0-10.72 10.682 30.373 30.373 0 0 0-1.95 3.873 29.589 29.589 0 0 0-1.4 4.086 31.048 31.048 0 0 0 .44 17.443 31.905 31.905 0 0 0 2.69 6.039c4.78 8.22 9.55 16.458 14.3 24.68 6.65 11.453 13.29 22.907 19.93 34.36 6.79 11.733 13.59 23.449 20.38 35.182.05.098.12.197.17.295a339.667 339.667 0 0 0-39.03 28.273 337.741 337.741 0 0 0-21.27 19.445 341.007 341.007 0 0 0-37.1 43.698 335.863 335.863 0 0 0-24.56 40.072 337.18 337.18 0 0 0-28.51 75.63 343.767 343.767 0 0 0-5.13 25.041c-.23 1.362-.44 2.74-.65 4.102a328.42 328.42 0 0 0-1.94 14.818h673.11c-.54-4.972-1.18-9.912-1.93-14.818l.05-.033Z"/><path fill="#202124" d="M512.79 435.987c13.47-8.966 15.43-29.71 4.37-46.331-11.05-16.622-30.93-22.827-44.39-13.861-13.47 8.967-15.43 29.71-4.37 46.331 11.05 16.622 30.93 22.828 44.39 13.861ZM207.6 422.184c11.06-16.622 9.1-37.365-4.37-46.331-13.47-8.967-33.34-2.761-44.4 13.86-11.05 16.622-9.09 37.365 4.37 46.331 13.47 8.967 33.35 2.761 44.4-13.86Z"/></svg>
|
|
78
|
+
<span class="margin-left-xs">Android</span>
|
|
79
|
+
</div>`
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
if (tags.text.indexOf('web') >= 0) {
|
|
83
|
+
part.content.push({
|
|
84
|
+
kind: 'text',
|
|
85
|
+
text: `<div class="platform-tag platform-tag-web">
|
|
86
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path fill="dodgerblue" d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"/></svg>
|
|
87
|
+
<span class="margin-left-xs">Web</span>
|
|
88
|
+
</div>`
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_typedoc","require","style","String","raw","load","app","renderer","on","PageEvent","END","event","contents","undefined","html","headEndIndex","indexOf","slice","converter","Converter","EVENT_RESOLVE_BEGIN","ctx","reflection","project","getReflectionsByKind","ReflectionKind","All","comment","getTags","forEach","part","tags","content","text","push","kind"],"sourceRoot":"../../../../../src","sources":["plugins/typedoc-platform-icons/src/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAEA,MAAMC,KAAK,GAAGC,MAAM,CAACC,GAAG;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAEM,SAASC,IAAIA,CAACC,GAAgB,EAAQ;EAC3CA,GAAG,CAACC,QAAQ,CAACC,EAAE,CAACC,kBAAS,CAACC,GAAG,EAAGC,KAAgB,IAAK;IACnD,IAAIA,KAAK,CAACC,QAAQ,KAAKC,SAAS,EAAE;MAChC;IACF;IACA,MAAMC,IAAI,GAAGH,KAAK,CAACC,QAAQ;IAC3B,MAAMG,YAAY,GAAGD,IAAI,CAACE,OAAO,CAAC,SAAS,CAAC;IAC5CL,KAAK,CAACC,QAAQ,GAAGE,IAAI,CAACG,KAAK,CAAC,CAAC,EAAEF,YAAY,CAAC,GAAGb,KAAK,GAAGY,IAAI,CAACG,KAAK,CAACF,YAAY,CAAC;EACjF,CAAC,CAAC;EAEFT,GAAG,CAACY,SAAS,CAACV,EAAE,CAACW,kBAAS,CAACC,mBAAmB,EAAGC,GAAY,IAAK;IAChE,KAAK,MAAMC,UAAU,IAAID,GAAG,CAACE,OAAO,CAACC,oBAAoB,CAACC,uBAAc,CAACC,GAAG,CAAC,EAAE;MAC7E,MAAM;QAAEC;MAAQ,CAAC,GAAGL,UAAU;MAC9B,IAAIK,OAAO,EAAE;QACXA,OAAO,CAACC,OAAO,CAAC,WAAW,CAAC,CAACC,OAAO,CAAEC,IAAI,IAAK;UAC7C,MAAMC,IAAI,GAAGD,IAAI,CAACE,OAAO,CAAC,CAAC,CAAC;UAC5B,IAAI,CAACD,IAAI,EAAE;YACT;UACF;UACAD,IAAI,CAACE,OAAO,GAAG,EAAE;UACjB,IAAID,IAAI,CAACE,IAAI,CAACjB,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;YACjCc,IAAI,CAACE,OAAO,CAACE,IAAI,CAAC;cAChBC,IAAI,EAAE,MAAM;cACZF,IAAI,EAAE;AACpB;AACA;AACA;YACY,CAAC,CAAC;UACJ;UACA,IAAIF,IAAI,CAACE,IAAI,CAACjB,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE;YACrCc,IAAI,CAACE,OAAO,CAACE,IAAI,CAAC;cAChBC,IAAI,EAAE,MAAM;cACZF,IAAI,EAAE;AACpB;AACA;AACA;YACY,CAAC,CAAC;UACJ;UACA,IAAIF,IAAI,CAACE,IAAI,CAACjB,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;YACjCc,IAAI,CAACE,OAAO,CAACE,IAAI,CAAC;cAChBC,IAAI,EAAE,MAAM;cACZF,IAAI,EAAE;AACpB;AACA;AACA;YACY,CAAC,CAAC;UACJ;QACF,CAAC,CAAC;MACJ;IACF;EACF,CAAC,CAAC;AACJ","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"outDir": "./dist",
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"esModuleInterop": true,
|
|
6
|
+
"experimentalDecorators": true,
|
|
7
|
+
"forceConsistentCasingInFileNames": true,
|
|
8
|
+
"lib": ["es2018", "dom"],
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"noImplicitAny": false,
|
|
11
|
+
"noUnusedLocals": true,
|
|
12
|
+
"removeComments": true,
|
|
13
|
+
"sourceMap": false,
|
|
14
|
+
"strictNullChecks": true,
|
|
15
|
+
"target": "es2018",
|
|
16
|
+
"jsx": "react",
|
|
17
|
+
"jsxFactory": "JSX.createElement",
|
|
18
|
+
"jsxFragmentFactory": "JSX.Fragment",
|
|
19
|
+
"skipLibCheck": true
|
|
20
|
+
},
|
|
21
|
+
"include": [
|
|
22
|
+
"./src"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AudioSessionMode"],"sourceRoot":"../../../../src","sources":["api/backgroundAudio/BackgroundAudioConfiguration.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["AudioSessionMode"],"sourceRoot":"../../../../src","sources":["api/backgroundAudio/BackgroundAudioConfiguration.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;AA4BA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StorageType"],"sourceRoot":"../../../../src","sources":["api/cache/CachingTaskParameters.ts"],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA
|
|
1
|
+
{"version":3,"names":["StorageType"],"sourceRoot":"../../../../src","sources":["api/cache/CachingTaskParameters.ts"],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA,WAAYA,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA;;AAqBvB;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -45,8 +45,7 @@ export let SourceIntegrationId = /*#__PURE__*/function (SourceIntegrationId) {
|
|
|
45
45
|
/**
|
|
46
46
|
* The playback pipeline to use to play a stream.
|
|
47
47
|
*
|
|
48
|
-
* @
|
|
49
|
-
* <br/> - Available on Android only.
|
|
48
|
+
* @platform android
|
|
50
49
|
*/
|
|
51
50
|
export let PlaybackPipeline = /*#__PURE__*/function (PlaybackPipeline) {
|
|
52
51
|
PlaybackPipeline["LEGACY"] = "legacy";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SourceIntegrationId","PlaybackPipeline"],"sourceRoot":"../../../../src","sources":["api/source/SourceDescription.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAYA,mBAAmB,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA;;AAI/B;AACA;AACA;AACA;AACA;AACA
|
|
1
|
+
{"version":3,"names":["SourceIntegrationId","PlaybackPipeline"],"sourceRoot":"../../../../src","sources":["api/source/SourceDescription.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAYA,mBAAmB,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA;;AAI/B;AACA;AACA;AACA;AACA;AACA,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;;AAK5B;AACA;AACA;AACA;AACA;;AAgEA;AACA;AACA;AACA;AACA;;AAmDA;AACA;AACA;AACA;AACA;;AA2FA;AACA;AACA;AACA;AACA;;AA0EA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AdIntegrationKind"],"sourceRoot":"../../../../../src","sources":["api/source/ads/Ads.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;;AAeA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["AdIntegrationKind"],"sourceRoot":"../../../../../src","sources":["api/source/ads/Ads.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;;AAeA;AACA;AACA;AACA;AACA;;AAmDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAYA,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CmcdTransmissionMode"],"sourceRoot":"../../../../../src","sources":["api/source/cmcd/CmcdConfiguration.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["CmcdTransmissionMode"],"sourceRoot":"../../../../../src","sources":["api/source/cmcd/CmcdConfiguration.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAiDA,WAAYA,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["EdgeStyle"],"sourceRoot":"../../../../src","sources":["api/track/TextTrackStyle.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["EdgeStyle"],"sourceRoot":"../../../../src","sources":["api/track/TextTrackStyle.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;AA0GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAYA,SAAS,0BAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAAA,OAATA,SAAS;AAAA","ignoreList":[]}
|
|
@@ -7,7 +7,7 @@ import { CastEventType, PlayerEventType } from 'react-native-theoplayer';
|
|
|
7
7
|
import styles from './THEOplayerView.style';
|
|
8
8
|
import { decodeNanInf } from './utils/TypeUtils';
|
|
9
9
|
import { BaseEvent } from './adapter/event/BaseEvent';
|
|
10
|
-
import { DefaultAdEvent, DefaultAirplayStateChangeEvent, DefaultChromecastChangeEvent, DefaultChromecastErrorEvent, DefaultDurationChangeEvent, DefaultErrorEvent, DefaultLoadedMetadataEvent, DefaultMediaTrackEvent, DefaultMediaTrackListEvent, DefaultPresentationModeChangeEvent, DefaultProgressEvent, DefaultRateChangeEvent, DefaultReadyStateChangeEvent, DefaultSegmentNotFoundEvent, DefaultTextTrackEvent, DefaultTextTrackListEvent, DefaultVolumeChangeEvent, DefaultTimeupdateEvent, DefaultResizeEvent } from './adapter/event/PlayerEvents';
|
|
10
|
+
import { DefaultAdEvent, DefaultAirplayStateChangeEvent, DefaultChromecastChangeEvent, DefaultChromecastErrorEvent, DefaultDurationChangeEvent, DefaultErrorEvent, DefaultLoadedMetadataEvent, DefaultMediaTrackEvent, DefaultMediaTrackListEvent, DefaultPresentationModeChangeEvent, DefaultProgressEvent, DefaultRateChangeEvent, DefaultReadyStateChangeEvent, DefaultSegmentNotFoundEvent, DefaultTextTrackEvent, DefaultTextTrackListEvent, DefaultVolumeChangeEvent, DefaultTimeupdateEvent, DefaultResizeEvent, DefaultSeekingEvent, DefaultSeekedEvent } from './adapter/event/PlayerEvents';
|
|
11
11
|
import { toMediaTrackType, toMediaTrackTypeEventType, toTextTrackEventType, toTrackListEventType } from './adapter/event/native/NativeTrackEvent';
|
|
12
12
|
import { THEOplayerAdapter } from './adapter/THEOplayerAdapter';
|
|
13
13
|
import { getFullscreenSize } from './utils/Dimensions';
|
|
@@ -114,11 +114,11 @@ export class THEOplayerView extends PureComponent {
|
|
|
114
114
|
_onPause = () => {
|
|
115
115
|
this._facade.dispatchEvent(new BaseEvent(PlayerEventType.PAUSE));
|
|
116
116
|
};
|
|
117
|
-
_onSeeking =
|
|
118
|
-
this._facade.dispatchEvent(new
|
|
117
|
+
_onSeeking = event => {
|
|
118
|
+
this._facade.dispatchEvent(new DefaultSeekingEvent(event.nativeEvent.currentTime));
|
|
119
119
|
};
|
|
120
|
-
_onSeeked =
|
|
121
|
-
this._facade.dispatchEvent(new
|
|
120
|
+
_onSeeked = event => {
|
|
121
|
+
this._facade.dispatchEvent(new DefaultSeekedEvent(event.nativeEvent.currentTime));
|
|
122
122
|
};
|
|
123
123
|
_onWaiting = () => {
|
|
124
124
|
this._facade.dispatchEvent(new BaseEvent(PlayerEventType.WAITING));
|