@mux/mux-player 0.1.0-beta.21
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 +281 -0
- package/LICENSE +9 -0
- package/README.md +231 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +161 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/dialog.ts.html +247 -0
- package/coverage/lcov-report/src/errors.ts.html +574 -0
- package/coverage/lcov-report/src/helpers.ts.html +478 -0
- package/coverage/lcov-report/src/html.ts.html +580 -0
- package/coverage/lcov-report/src/index.html +251 -0
- package/coverage/lcov-report/src/index.ts.html +2941 -0
- package/coverage/lcov-report/src/logger.ts.html +163 -0
- package/coverage/lcov-report/src/media-chrome/dialog.ts.html +661 -0
- package/coverage/lcov-report/src/media-chrome/index.html +131 -0
- package/coverage/lcov-report/src/media-chrome/time-display.ts.html +295 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/airplay.svg.html +109 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/captions-off.svg.html +100 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/captions-on.svg.html +100 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/fullscreen-enter.svg.html +100 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/fullscreen-exit.svg.html +100 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/index.html +326 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/pause.svg.html +100 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/pip-enter.svg.html +100 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/pip-exit.svg.html +100 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/play.svg.html +100 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/seek-backward.svg.html +124 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/seek-forward.svg.html +124 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/volume-high.svg.html +103 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/volume-low.svg.html +103 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/volume-medium.svg.html +103 -0
- package/coverage/lcov-report/src/media-theme-mux/icons/volume-off.svg.html +103 -0
- package/coverage/lcov-report/src/media-theme-mux/icons.ts.html +184 -0
- package/coverage/lcov-report/src/media-theme-mux/index.html +146 -0
- package/coverage/lcov-report/src/media-theme-mux/media-theme-mux.ts.html +1279 -0
- package/coverage/lcov-report/src/media-theme-mux/styles.css.html +586 -0
- package/coverage/lcov-report/src/styles.css.html +211 -0
- package/coverage/lcov-report/src/template.ts.html +463 -0
- package/coverage/lcov-report/src/utils.ts.html +385 -0
- package/coverage/lcov-report/src/video-api.ts.html +979 -0
- package/coverage/lcov.info +4058 -0
- package/dist/index.cjs.js +1432 -0
- package/dist/index.mjs +709 -0
- package/dist/mux-player.js +1478 -0
- package/dist/mux-player.mjs +1478 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/dialog.d.ts +6 -0
- package/dist/types/errors.d.ts +6 -0
- package/dist/types/helpers.d.ts +26 -0
- package/dist/types/html.d.ts +18 -0
- package/dist/types/index.d.ts +199 -0
- package/dist/types/logger.d.ts +5 -0
- package/dist/types/media-chrome/dialog.d.ts +12 -0
- package/dist/types/media-chrome/time-display.d.ts +9 -0
- package/dist/types/media-theme-mux/icons.d.ts +15 -0
- package/dist/types/media-theme-mux/media-theme-mux.d.ts +29 -0
- package/dist/types/template.d.ts +5 -0
- package/dist/types/utils.d.ts +10 -0
- package/dist/types/video-api.d.ts +64 -0
- package/dist/types-ts3.4/dialog.d.ts +6 -0
- package/dist/types-ts3.4/errors.d.ts +6 -0
- package/dist/types-ts3.4/helpers.d.ts +26 -0
- package/dist/types-ts3.4/html.d.ts +18 -0
- package/dist/types-ts3.4/index.d.ts +180 -0
- package/dist/types-ts3.4/logger.d.ts +5 -0
- package/dist/types-ts3.4/media-chrome/dialog.d.ts +12 -0
- package/dist/types-ts3.4/media-chrome/time-display.d.ts +9 -0
- package/dist/types-ts3.4/media-theme-mux/icons.d.ts +15 -0
- package/dist/types-ts3.4/media-theme-mux/media-theme-mux.d.ts +29 -0
- package/dist/types-ts3.4/template.d.ts +5 -0
- package/dist/types-ts3.4/utils.d.ts +10 -0
- package/dist/types-ts3.4/video-api.d.ts +53 -0
- package/lang/en.json +32 -0
- package/lang/nl.json +31 -0
- package/package.json +107 -0
- package/src/dialog.ts +54 -0
- package/src/errors.ts +163 -0
- package/src/helpers.ts +131 -0
- package/src/html.ts +165 -0
- package/src/index.ts +952 -0
- package/src/logger.ts +26 -0
- package/src/media-chrome/dialog.ts +192 -0
- package/src/media-chrome/time-display.ts +70 -0
- package/src/media-theme-mux/icons/airplay.svg +8 -0
- package/src/media-theme-mux/icons/captions-off.svg +5 -0
- package/src/media-theme-mux/icons/captions-on.svg +5 -0
- package/src/media-theme-mux/icons/fullscreen-enter.svg +5 -0
- package/src/media-theme-mux/icons/fullscreen-exit.svg +5 -0
- package/src/media-theme-mux/icons/pause.svg +5 -0
- package/src/media-theme-mux/icons/pip-enter.svg +5 -0
- package/src/media-theme-mux/icons/pip-exit.svg +5 -0
- package/src/media-theme-mux/icons/play.svg +5 -0
- package/src/media-theme-mux/icons/seek-backward.svg +13 -0
- package/src/media-theme-mux/icons/seek-forward.svg +13 -0
- package/src/media-theme-mux/icons/volume-high.svg +6 -0
- package/src/media-theme-mux/icons/volume-low.svg +6 -0
- package/src/media-theme-mux/icons/volume-medium.svg +6 -0
- package/src/media-theme-mux/icons/volume-off.svg +6 -0
- package/src/media-theme-mux/icons.ts +33 -0
- package/src/media-theme-mux/media-theme-mux.ts +398 -0
- package/src/media-theme-mux/styles.css +167 -0
- package/src/styles.css +42 -0
- package/src/template.ts +126 -0
- package/src/types.d.ts +52 -0
- package/src/utils.ts +100 -0
- package/src/video-api.ts +298 -0
- package/test/errors.test.js +169 -0
- package/test/helpers.test.js +78 -0
- package/test/player.test.js +696 -0
- package/test/template.test.js +70 -0
- package/test/utils.test.js +21 -0
- package/test/web-test-runner.config.mjs +29 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.full.d.ts","../src/media-chrome/dialog.ts","../src/dialog.ts","../../../node_modules/hls.js/dist/hls.js.d.ts","../../playback-core/dist/types/autoplay.d.ts","../../playback-core/dist/types/errors.d.ts","../../playback-core/dist/types/index.d.ts","../../mux-video/dist/types/CustomVideoElement.d.ts","../../mux-video/dist/types/index.d.ts","../src/utils.ts","../src/types.d.ts","../src/errors.ts","../../../node_modules/@github/template-parts/lib/types.d.ts","../../../node_modules/@github/template-parts/lib/template-instance.d.ts","../../../node_modules/@github/template-parts/lib/template-string-parser.d.ts","../../../node_modules/@github/template-parts/lib/attribute-template-part.d.ts","../../../node_modules/@github/template-parts/lib/node-template-part.d.ts","../../../node_modules/@github/template-parts/lib/processors.d.ts","../../../node_modules/@github/template-parts/lib/index.d.ts","../src/html.ts","../src/media-chrome/time-display.ts","../src/media-theme-mux/icons.ts","../src/media-theme-mux/media-theme-mux.ts","../src/logger.ts","../src/video-api.ts","../src/template.ts","../src/index.ts","../src/helpers.ts","../../../types/mux-embed.d.ts","../../../types/mux.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"dbb73d4d99be496175cb432c74c2615f78c76f4272f1d83cba11ee0ed6dbddf0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f","7e08426eb45c7c4a31fe409daf429a67dac33174ef413f1fcb2346b61a6da291","f3feb7da2b5509e262e56d65698358456e5760a0e270a41ad11793bfb69fd8e1","ece0cccc693a3364f05f68d7feb4d472e05b9f2eaea80f19fc10b17a0a6aa14d","e19277f843527448cadd35fd674e358d0d2a7f261e9631026ecc82feb85ecec8","8b1a6692156440f6585937b6b8de1c2692e7cac5c43aeb8893bfbd293f719552","eb22b463efe9cdd4c0852f62cf92ca3dfa59b136d82e28b7473b67105d19c780","6b8ca5a4e0a75f6c8e48c0fc2ff204502f780db438b3d56d07d5c8b5da2da9c2",{"version":"35a3049e63a6c25a98834a50fad77e7879dfed1eedd1fa77924006ef93e6fecb","affectsGlobalScope":true},"9e56cc4a629d54c40657b20d5ee01ebb1ced2982ef57a7781cb0411caccc05b0","7633b0f919890ed255ccf6f54bb7aa067acf0c1a707ecc5531ffd4dab6cee1db","189efc6e09cd74946b1aa31e4e11cd9efea53313572311b2b588e30c59386efc","be4924b84f3f22834fe05e2cc0355be39759d318451137345697b64c9a1bcc5c","5c987a8e29048c496e003c908afd887f777729d7e89101f185076dcc711f5425","eed0609c3c7354c007bc6c5cf475f4c926e0e42a1d8f3c20315a59b08a096003","3c0fb83cadbbf57972e17794100705f40db3fde5e8527230f2f62bfe54ffaed3","226ae3ab8f056ee36204777b5c708d3638ca821f916edeab554b0a4d864382c2","c5fad06768578f22d8bb78e7ecbeebf5ad4ead6d3918493a84ee84a70eb59703","d86614ca2ee667ee898911e2c45e68f74562a3d59b332ca9295e1f054e1a3591","b30fd1fed49948b9188a855bf058f31c7f93146187666d63120ab31f4e290e03","b1f201bb669b96e00ebc5be8cf243bce47c82c48e60da6ae7c1c826442fa4e55","0e6e9e6a5bd19d35ed6347db8f1392ff9079cfdcd960ac7ec5fcde2fecfb212e","f2fa80f6c67d02caa694c6ef09cf4504bed6740bba0eece0b138db928ea822d8","9b767b6c40d380d0d8f17807042f8f16ab950bd0d0c57ebec712b497e47c22a6","7360cc475c9db8f0c97c1b73bea9d15715a8bd0916b67491d96980690010af95","24f420bf48ff9d265f1558c91dc21a0771ec3aef6b99f8d1717bbaeceb8f62cb","66f5030e4d12c0146689bdb751d78b1a3e2bf0d21d765afcb4a7b9a0a0064a75","0e8215c3fb549a5d735d16fabc4f430e01ffe5dc72eee841138ceb168e23f774","c5a4764697efe3b6b4eaf19b3dc1880cf3df665d30ec93e212233c29a2fa7207",{"version":"ee8e401f800f3d48020eda76c4fd27afd5bab992195252939329ae56dc9d1889","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":5,"noImplicitAny":true,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":6},"fileIdsList":[[47],[47,48,49,50,51,52],[48],[36],[43,44,45],[41,44,61],[53],[41,43,44,45,46,54,57,58,59,60,62],[44,45,62],[54],[41,54,55,56],[37,41,44,45,54,57,62],[43],[43,58],[42],[38,41,42],[38],[38,39,40,63]],"referencedMap":[[50,1],[53,2],[51,1],[52,1],[48,1],[47,3],[37,4],[46,5],[62,6],[54,7],[61,8],[58,9],[56,10],[57,11],[60,12],[45,13],[59,14],[42,15],[43,16],[39,17],[41,18],[64,17]],"exportedModulesMap":[[50,1],[53,2],[51,1],[52,1],[48,1],[47,3],[37,4],[46,5],[62,6],[54,7],[61,8],[58,9],[56,10],[57,11],[60,12],[45,13],[59,14],[42,15],[43,16],[39,17],[41,18],[64,17]],"semanticDiagnosticsPerFile":[50,53,51,52,48,49,47,38,7,8,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,35,32,33,34,1,10,9,37,46,62,54,61,58,36,55,56,57,60,45,44,59,42,43,39,40,41,63,64]},"version":"4.6.4"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MediaError } from '@mux/mux-video';
|
|
2
|
+
import type { DialogOptions, DevlogOptions } from './types';
|
|
3
|
+
export declare function getErrorLogs(error: MediaError, offline?: boolean, playbackId?: string, playbackToken?: string, translate?: boolean): {
|
|
4
|
+
dialog: DialogOptions;
|
|
5
|
+
devlog: DevlogOptions;
|
|
6
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type MuxPlayerElement from '.';
|
|
2
|
+
export declare const getPlayerVersion: () => any;
|
|
3
|
+
export declare const getSrcFromPlaybackId: (playbackId?: string | undefined, { token, domain }?: {
|
|
4
|
+
token?: string | undefined;
|
|
5
|
+
domain?: string | undefined;
|
|
6
|
+
}) => string;
|
|
7
|
+
export declare const getPosterURLFromPlaybackId: (playbackId?: string | undefined, { token, thumbnailTime, domain }?: {
|
|
8
|
+
token?: string | undefined;
|
|
9
|
+
domain?: string | undefined;
|
|
10
|
+
thumbnailTime?: number | undefined;
|
|
11
|
+
}) => string;
|
|
12
|
+
export declare const getStoryboardURLFromPlaybackId: (playbackId?: string | undefined, { token, domain }?: {
|
|
13
|
+
token?: string | undefined;
|
|
14
|
+
domain?: string | undefined;
|
|
15
|
+
}) => string;
|
|
16
|
+
export declare function toPropName(attrName: string): string;
|
|
17
|
+
export declare const getTestMediaEl: (nodeName?: string) => HTMLMediaElement | undefined;
|
|
18
|
+
export declare const hasVolumeSupportAsync: (mediaEl?: HTMLMediaElement | undefined) => Promise<boolean>;
|
|
19
|
+
export declare function getCcSubTracks(el: MuxPlayerElement): TextTrack[];
|
|
20
|
+
export declare const getLiveTime: (el: MuxPlayerElement) => number | undefined;
|
|
21
|
+
export declare const seekToLive: (el: MuxPlayerElement) => void;
|
|
22
|
+
export declare const LL_LIVE_SEGMENT_SECS = 1;
|
|
23
|
+
export declare const LIVE_SEGMENT_SECS = 5;
|
|
24
|
+
export declare const DEFAULT_HOLDBACK = 3;
|
|
25
|
+
export declare const LIVE_HOLDBACK_MOE = 0.5;
|
|
26
|
+
export declare const isInLiveWindow: (el: MuxPlayerElement) => boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TemplateInstance, NodeTemplatePart } from '@github/template-parts';
|
|
2
|
+
import type { TemplatePart, TemplateTypeInit } from '@github/template-parts';
|
|
3
|
+
export declare function processEvent(part: TemplatePart, value: unknown): boolean;
|
|
4
|
+
export declare function processPropertyIdentity(part: TemplatePart, value: unknown): boolean;
|
|
5
|
+
export declare function processBooleanAttribute(part: TemplatePart, value: unknown): boolean;
|
|
6
|
+
export declare function processBooleanNode(part: TemplatePart, value: unknown): boolean;
|
|
7
|
+
export declare function processPart(part: TemplatePart, value: unknown): void;
|
|
8
|
+
export declare class TemplateResult {
|
|
9
|
+
readonly strings: TemplateStringsArray;
|
|
10
|
+
readonly values: unknown[];
|
|
11
|
+
readonly processor: TemplateTypeInit;
|
|
12
|
+
constructor(strings: TemplateStringsArray, values: unknown[], processor: TemplateTypeInit);
|
|
13
|
+
get template(): HTMLTemplateElement;
|
|
14
|
+
renderInto(element: Node | NodeTemplatePart): void;
|
|
15
|
+
}
|
|
16
|
+
export declare function html(strings: TemplateStringsArray, ...values: unknown[]): TemplateResult;
|
|
17
|
+
export declare function render(result: TemplateResult, element: Node | NodeTemplatePart): void;
|
|
18
|
+
export declare function createTemplateInstance(content: string, props?: any): TemplateInstance;
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import '@mux/playback-core';
|
|
2
|
+
import { MediaController } from 'media-chrome';
|
|
3
|
+
import { MediaError } from '@mux/mux-video';
|
|
4
|
+
import { Metadata } from '@mux/playback-core';
|
|
5
|
+
import VideoApiElement from './video-api';
|
|
6
|
+
export { MediaError };
|
|
7
|
+
export declare type Tokens = {
|
|
8
|
+
playback?: string;
|
|
9
|
+
thumbnail?: string;
|
|
10
|
+
storyboard?: string;
|
|
11
|
+
};
|
|
12
|
+
declare type MediaController = Element & {
|
|
13
|
+
media: HTMLVideoElement;
|
|
14
|
+
};
|
|
15
|
+
declare class MuxPlayerElement extends VideoApiElement {
|
|
16
|
+
#private;
|
|
17
|
+
static get observedAttributes(): string[];
|
|
18
|
+
constructor();
|
|
19
|
+
get theme(): Element | null | undefined;
|
|
20
|
+
get mediaController(): MediaController | null | undefined;
|
|
21
|
+
connectedCallback(): void;
|
|
22
|
+
disconnectedCallback(): void;
|
|
23
|
+
attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string): void;
|
|
24
|
+
get hasPlayed(): boolean;
|
|
25
|
+
get inLiveWindow(): boolean | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated please use ._hls instead
|
|
28
|
+
*/
|
|
29
|
+
get hls(): import("hls.js").default | undefined;
|
|
30
|
+
get _hls(): import("hls.js").default | undefined;
|
|
31
|
+
get mux(): Readonly<import("../../../types/mux").MuxOnVideoElement | import("../../../types/mux").DeletedMuxOnVideoElement | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Get the thumbnailTime offset used for the poster image.
|
|
34
|
+
*/
|
|
35
|
+
get audio(): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Set the thumbnailTime offset used for the poster image.
|
|
38
|
+
*/
|
|
39
|
+
set audio(val: boolean);
|
|
40
|
+
/**
|
|
41
|
+
* Get the thumbnailTime offset used for the poster image.
|
|
42
|
+
*/
|
|
43
|
+
get thumbnailTime(): number | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Set the thumbnailTime offset used for the poster image.
|
|
46
|
+
*/
|
|
47
|
+
set thumbnailTime(val: number | undefined);
|
|
48
|
+
/**
|
|
49
|
+
* Get the primary color used by the player.
|
|
50
|
+
*/
|
|
51
|
+
get primaryColor(): string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Set the primary color used by the player.
|
|
54
|
+
*/
|
|
55
|
+
set primaryColor(val: string | undefined);
|
|
56
|
+
/**
|
|
57
|
+
* Get the secondary color used by the player.
|
|
58
|
+
*/
|
|
59
|
+
get secondaryColor(): string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Set the secondary color used by the player.
|
|
62
|
+
*/
|
|
63
|
+
set secondaryColor(val: string | undefined);
|
|
64
|
+
/**
|
|
65
|
+
* Get the offset applied to the forward seek button.
|
|
66
|
+
*/
|
|
67
|
+
get forwardSeekOffset(): number | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Set the offset applied to the forward seek button.
|
|
70
|
+
*/
|
|
71
|
+
set forwardSeekOffset(val: number | undefined);
|
|
72
|
+
/**
|
|
73
|
+
* Get the offset applied to the backward seek button.
|
|
74
|
+
*/
|
|
75
|
+
get backwardSeekOffset(): number | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Set the offset applied to the forward seek button.
|
|
78
|
+
*/
|
|
79
|
+
set backwardSeekOffset(val: number | undefined);
|
|
80
|
+
/**
|
|
81
|
+
* Get the boolean value of default hidden captions.
|
|
82
|
+
* By default returns false so captions are enabled on initial load.
|
|
83
|
+
*/
|
|
84
|
+
get defaultHiddenCaptions(): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Get the player software name. Used by Mux Data.
|
|
87
|
+
*/
|
|
88
|
+
get playerSoftwareName(): string;
|
|
89
|
+
/**
|
|
90
|
+
* Get the player software version. Used by Mux Data.
|
|
91
|
+
*/
|
|
92
|
+
get playerSoftwareVersion(): any;
|
|
93
|
+
/**
|
|
94
|
+
* Get the beacon collection domain. Used by Mux Data.
|
|
95
|
+
*/
|
|
96
|
+
get beaconCollectionDomain(): string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Set the beacon collection domain. Used by Mux Data.
|
|
99
|
+
*/
|
|
100
|
+
set beaconCollectionDomain(val: string | undefined);
|
|
101
|
+
/**
|
|
102
|
+
* Get Mux asset playback id.
|
|
103
|
+
*/
|
|
104
|
+
get playbackId(): string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Set Mux asset playback id.
|
|
107
|
+
*/
|
|
108
|
+
set playbackId(val: string | undefined);
|
|
109
|
+
/**
|
|
110
|
+
* Get Mux asset custom domain.
|
|
111
|
+
*/
|
|
112
|
+
get customDomain(): string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* Set Mux asset custom domain.
|
|
115
|
+
*/
|
|
116
|
+
set customDomain(val: string | undefined);
|
|
117
|
+
/**
|
|
118
|
+
* Get Mux Data env key.
|
|
119
|
+
*/
|
|
120
|
+
get envKey(): string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* Set Mux Data env key.
|
|
123
|
+
*/
|
|
124
|
+
set envKey(val: string | undefined);
|
|
125
|
+
/**
|
|
126
|
+
* Get video engine debug flag.
|
|
127
|
+
*/
|
|
128
|
+
get debug(): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Set video engine debug flag.
|
|
131
|
+
*/
|
|
132
|
+
set debug(val: boolean);
|
|
133
|
+
/**
|
|
134
|
+
* Get stream type.
|
|
135
|
+
*/
|
|
136
|
+
get streamType(): string | null;
|
|
137
|
+
/**
|
|
138
|
+
* Set stream type.
|
|
139
|
+
*/
|
|
140
|
+
set streamType(val: string | null);
|
|
141
|
+
/**
|
|
142
|
+
* Get the start time.
|
|
143
|
+
*/
|
|
144
|
+
get startTime(): number | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* Set the start time.
|
|
147
|
+
*/
|
|
148
|
+
set startTime(val: number | undefined);
|
|
149
|
+
/**
|
|
150
|
+
* Get the preference flag for using media source.
|
|
151
|
+
*/
|
|
152
|
+
get preferMse(): boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Set the preference flag for using media source.
|
|
155
|
+
*/
|
|
156
|
+
set preferMse(val: boolean);
|
|
157
|
+
/**
|
|
158
|
+
* Get the metadata object for Mux Data.
|
|
159
|
+
*/
|
|
160
|
+
get metadata(): Readonly<Metadata> | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Set the metadata object for Mux Data.
|
|
163
|
+
*/
|
|
164
|
+
set metadata(val: Readonly<Metadata> | undefined);
|
|
165
|
+
/**
|
|
166
|
+
* Get the signing tokens for the Mux asset URL's.
|
|
167
|
+
*/
|
|
168
|
+
get tokens(): Tokens;
|
|
169
|
+
/**
|
|
170
|
+
* Set the signing tokens for the Mux asset URL's.
|
|
171
|
+
*/
|
|
172
|
+
set tokens(val: Tokens | undefined);
|
|
173
|
+
/**
|
|
174
|
+
* Get the playback token for signing the src URL.
|
|
175
|
+
*/
|
|
176
|
+
get playbackToken(): string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* Set the playback token for signing the src URL.
|
|
179
|
+
*/
|
|
180
|
+
set playbackToken(val: string | undefined);
|
|
181
|
+
/**
|
|
182
|
+
* Get the thumbnail token for signing the poster URL.
|
|
183
|
+
*/
|
|
184
|
+
get thumbnailToken(): string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Set the thumbnail token for signing the poster URL.
|
|
187
|
+
*/
|
|
188
|
+
set thumbnailToken(val: string | undefined);
|
|
189
|
+
/**
|
|
190
|
+
* Get the storyboard token for signing the storyboard URL.
|
|
191
|
+
*/
|
|
192
|
+
get storyboardToken(): string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* Set the storyboard token for signing the storyboard URL.
|
|
195
|
+
*/
|
|
196
|
+
set storyboardToken(val: string | undefined);
|
|
197
|
+
}
|
|
198
|
+
export declare function getVideoAttribute(el: MuxPlayerElement, name: string): string | null;
|
|
199
|
+
export default MuxPlayerElement;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare class MediaDialog extends HTMLElement {
|
|
2
|
+
static styles: string;
|
|
3
|
+
static template: HTMLTemplateElement;
|
|
4
|
+
static observedAttributes: string[];
|
|
5
|
+
_previouslyFocusedElement?: Element | null;
|
|
6
|
+
constructor();
|
|
7
|
+
show(): void;
|
|
8
|
+
close(): void;
|
|
9
|
+
attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string): void;
|
|
10
|
+
connectedCallback(): void;
|
|
11
|
+
}
|
|
12
|
+
export default MediaDialog;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare class MxpTimeDisplay extends HTMLElement {
|
|
2
|
+
static styles: string;
|
|
3
|
+
static template: HTMLTemplateElement;
|
|
4
|
+
timeDisplayEl: HTMLElement | null | undefined;
|
|
5
|
+
constructor();
|
|
6
|
+
toggleTimeDisplay(): void;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
}
|
|
9
|
+
export default MxpTimeDisplay;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Airplay: () => import("@github/template-parts").TemplateInstance;
|
|
2
|
+
export declare const CaptionsOff: () => import("@github/template-parts").TemplateInstance;
|
|
3
|
+
export declare const CaptionsOn: () => import("@github/template-parts").TemplateInstance;
|
|
4
|
+
export declare const FullscreenEnter: () => import("@github/template-parts").TemplateInstance;
|
|
5
|
+
export declare const FullscreenExit: () => import("@github/template-parts").TemplateInstance;
|
|
6
|
+
export declare const Pause: () => import("@github/template-parts").TemplateInstance;
|
|
7
|
+
export declare const PipEnter: () => import("@github/template-parts").TemplateInstance;
|
|
8
|
+
export declare const PipExit: () => import("@github/template-parts").TemplateInstance;
|
|
9
|
+
export declare const Play: () => import("@github/template-parts").TemplateInstance;
|
|
10
|
+
export declare const SeekBackward: (p: any) => import("@github/template-parts").TemplateInstance;
|
|
11
|
+
export declare const SeekForward: (p: any) => import("@github/template-parts").TemplateInstance;
|
|
12
|
+
export declare const VolumeHigh: () => import("@github/template-parts").TemplateInstance;
|
|
13
|
+
export declare const VolumeLow: () => import("@github/template-parts").TemplateInstance;
|
|
14
|
+
export declare const VolumeMedium: () => import("@github/template-parts").TemplateInstance;
|
|
15
|
+
export declare const VolumeOff: () => import("@github/template-parts").TemplateInstance;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import 'media-chrome';
|
|
2
|
+
import '../media-chrome/time-display';
|
|
3
|
+
declare type ThemeMuxTemplateProps = {
|
|
4
|
+
streamType: string;
|
|
5
|
+
audio: boolean;
|
|
6
|
+
playerSize: string;
|
|
7
|
+
defaultHiddenCaptions: boolean;
|
|
8
|
+
hasCaptions: boolean;
|
|
9
|
+
forwardSeekOffset: number;
|
|
10
|
+
backwardSeekOffset: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const AudioVodChrome: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
13
|
+
export declare const AudioDvrChrome: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
14
|
+
export declare const AudioLiveChrome: (_props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
15
|
+
export declare const VodChromeExtraSmall: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
16
|
+
export declare const VodChromeSmall: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
17
|
+
export declare const VodChromeLarge: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
18
|
+
export declare const LiveChromeExtraSmall: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
19
|
+
export declare const LiveChromeSmall: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
20
|
+
export declare const LiveChromeLarge: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
21
|
+
export declare const DvrChromeExtraSmall: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
22
|
+
export declare const DvrChromeSmall: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
23
|
+
export declare const DvrChromeLarge: (props: ThemeMuxTemplateProps) => import("../html").TemplateResult;
|
|
24
|
+
declare class MediaThemeMux extends HTMLElement {
|
|
25
|
+
static get observedAttributes(): string[];
|
|
26
|
+
constructor();
|
|
27
|
+
attributeChangedCallback(): void;
|
|
28
|
+
}
|
|
29
|
+
export default MediaThemeMux;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './media-theme-mux/media-theme-mux';
|
|
2
|
+
import './dialog';
|
|
3
|
+
import type { MuxTemplateProps } from './types';
|
|
4
|
+
export declare const template: (props: MuxTemplateProps) => import("./html").TemplateResult;
|
|
5
|
+
export declare const content: (props: MuxTemplateProps) => import("./html").TemplateResult;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function i18n(str: string, translate?: boolean): any;
|
|
2
|
+
export declare function stylePropsToString(props: any): string | undefined;
|
|
3
|
+
export declare function kebabCase(name: string): string;
|
|
4
|
+
export declare function camelCase(name: string): string;
|
|
5
|
+
export declare function uniqueId(prefix: string): string;
|
|
6
|
+
export declare function toNumberOrUndefined(val: any): number | undefined;
|
|
7
|
+
export declare function toQuery(obj: Record<string, any>): string;
|
|
8
|
+
export declare function toParams(obj: Record<string, any>): URLSearchParams;
|
|
9
|
+
export declare function parseJwt(token: string): any;
|
|
10
|
+
export declare const containsComposedNode: (rootNode: Node, childNode?: Node | Element | null | undefined) => boolean;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type MuxVideoElement from '@mux/mux-video';
|
|
2
|
+
export declare type CastOptions = {
|
|
3
|
+
receiverApplicationId: string;
|
|
4
|
+
autoJoinPolicy: string;
|
|
5
|
+
androidReceiverCompatible: boolean;
|
|
6
|
+
language: string;
|
|
7
|
+
resumeSavedSession: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare type MuxVideoElementExt = MuxVideoElement & {
|
|
10
|
+
requestCast(options: CastOptions): Promise<undefined>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Gets called from mux-player when mux-video is rendered and upgraded.
|
|
14
|
+
* We might just merge VideoApiElement in MuxPlayerElement and remove this?
|
|
15
|
+
*/
|
|
16
|
+
export declare function initVideoApi(el: VideoApiElement): void;
|
|
17
|
+
declare class VideoApiElement extends HTMLElement {
|
|
18
|
+
static get observedAttributes(): string[];
|
|
19
|
+
/**
|
|
20
|
+
* Create a HTMLVideoElement like API with opt-in methods to expose publicly.
|
|
21
|
+
* This class is intentionally not extending MuxVideoElement but composing it
|
|
22
|
+
* to opt in methods and not expose too much. More flexibility in the future.
|
|
23
|
+
*/
|
|
24
|
+
constructor();
|
|
25
|
+
attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string): void;
|
|
26
|
+
play(): Promise<void> | undefined;
|
|
27
|
+
pause(): void;
|
|
28
|
+
requestCast(options: CastOptions): Promise<undefined> | undefined;
|
|
29
|
+
get media(): MuxVideoElementExt | null | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated please use .media instead
|
|
32
|
+
*/
|
|
33
|
+
get video(): MuxVideoElementExt | null | undefined;
|
|
34
|
+
get paused(): boolean;
|
|
35
|
+
get duration(): number;
|
|
36
|
+
get ended(): boolean;
|
|
37
|
+
get buffered(): TimeRanges | undefined;
|
|
38
|
+
get readyState(): number;
|
|
39
|
+
get videoWidth(): number | undefined;
|
|
40
|
+
get videoHeight(): number | undefined;
|
|
41
|
+
get currentTime(): number;
|
|
42
|
+
set currentTime(val: number);
|
|
43
|
+
get volume(): number;
|
|
44
|
+
set volume(val: number);
|
|
45
|
+
get src(): string | null;
|
|
46
|
+
set src(val: string | null);
|
|
47
|
+
get poster(): string;
|
|
48
|
+
set poster(val: string);
|
|
49
|
+
get playbackRate(): number;
|
|
50
|
+
set playbackRate(val: number);
|
|
51
|
+
get crossOrigin(): string | null;
|
|
52
|
+
set crossOrigin(val: string | null);
|
|
53
|
+
get autoplay(): boolean;
|
|
54
|
+
set autoplay(val: boolean);
|
|
55
|
+
get loop(): boolean;
|
|
56
|
+
set loop(val: boolean);
|
|
57
|
+
get muted(): boolean;
|
|
58
|
+
set muted(val: boolean);
|
|
59
|
+
get playsInline(): boolean;
|
|
60
|
+
set playsInline(val: boolean);
|
|
61
|
+
get preload(): string | null;
|
|
62
|
+
set preload(val: string | null);
|
|
63
|
+
}
|
|
64
|
+
export default VideoApiElement;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MediaError } from '@mux/mux-video';
|
|
2
|
+
import { DialogOptions, DevlogOptions } from './types';
|
|
3
|
+
export declare function getErrorLogs(error: MediaError, offline?: boolean, playbackId?: string, playbackToken?: string, translate?: boolean): {
|
|
4
|
+
dialog: DialogOptions;
|
|
5
|
+
devlog: DevlogOptions;
|
|
6
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import MuxPlayerElement from '.';
|
|
2
|
+
export declare const getPlayerVersion: () => any;
|
|
3
|
+
export declare const getSrcFromPlaybackId: (playbackId?: string | undefined, { token, domain }?: {
|
|
4
|
+
token?: string | undefined;
|
|
5
|
+
domain?: string | undefined;
|
|
6
|
+
}) => string;
|
|
7
|
+
export declare const getPosterURLFromPlaybackId: (playbackId?: string | undefined, { token, thumbnailTime, domain }?: {
|
|
8
|
+
token?: string | undefined;
|
|
9
|
+
domain?: string | undefined;
|
|
10
|
+
thumbnailTime?: number | undefined;
|
|
11
|
+
}) => string;
|
|
12
|
+
export declare const getStoryboardURLFromPlaybackId: (playbackId?: string | undefined, { token, domain }?: {
|
|
13
|
+
token?: string | undefined;
|
|
14
|
+
domain?: string | undefined;
|
|
15
|
+
}) => string;
|
|
16
|
+
export declare function toPropName(attrName: string): string;
|
|
17
|
+
export declare const getTestMediaEl: (nodeName?: string) => HTMLMediaElement | undefined;
|
|
18
|
+
export declare const hasVolumeSupportAsync: (mediaEl?: HTMLMediaElement | undefined) => Promise<boolean>;
|
|
19
|
+
export declare function getCcSubTracks(el: MuxPlayerElement): TextTrack[];
|
|
20
|
+
export declare const getLiveTime: (el: MuxPlayerElement) => number | undefined;
|
|
21
|
+
export declare const seekToLive: (el: MuxPlayerElement) => void;
|
|
22
|
+
export declare const LL_LIVE_SEGMENT_SECS = 1;
|
|
23
|
+
export declare const LIVE_SEGMENT_SECS = 5;
|
|
24
|
+
export declare const DEFAULT_HOLDBACK = 3;
|
|
25
|
+
export declare const LIVE_HOLDBACK_MOE = 0.5;
|
|
26
|
+
export declare const isInLiveWindow: (el: MuxPlayerElement) => boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TemplateInstance, NodeTemplatePart } from '@github/template-parts';
|
|
2
|
+
import { TemplatePart, TemplateTypeInit } from '@github/template-parts';
|
|
3
|
+
export declare function processEvent(part: TemplatePart, value: unknown): boolean;
|
|
4
|
+
export declare function processPropertyIdentity(part: TemplatePart, value: unknown): boolean;
|
|
5
|
+
export declare function processBooleanAttribute(part: TemplatePart, value: unknown): boolean;
|
|
6
|
+
export declare function processBooleanNode(part: TemplatePart, value: unknown): boolean;
|
|
7
|
+
export declare function processPart(part: TemplatePart, value: unknown): void;
|
|
8
|
+
export declare class TemplateResult {
|
|
9
|
+
readonly strings: TemplateStringsArray;
|
|
10
|
+
readonly values: unknown[];
|
|
11
|
+
readonly processor: TemplateTypeInit;
|
|
12
|
+
constructor(strings: TemplateStringsArray, values: unknown[], processor: TemplateTypeInit);
|
|
13
|
+
readonly template: HTMLTemplateElement;
|
|
14
|
+
renderInto(element: Node | NodeTemplatePart): void;
|
|
15
|
+
}
|
|
16
|
+
export declare function html(strings: TemplateStringsArray, ...values: unknown[]): TemplateResult;
|
|
17
|
+
export declare function render(result: TemplateResult, element: Node | NodeTemplatePart): void;
|
|
18
|
+
export declare function createTemplateInstance(content: string, props?: any): TemplateInstance;
|