codefresh 0.88.3 → 0.88.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/lib/interface/cli/completion/tree.json +1 -0
- package/package.json +9 -2
- package/.dockerignore +0 -15
- package/.eslintrc.js +0 -20
- package/.gitattributes +0 -29
- package/.github/CODEOWNERS +0 -1
- package/.github/pull_request_template.md +0 -5
- package/.github/release-drafter.yaml +0 -8
- package/.github/workflows/create-release.yaml +0 -36
- package/.github/workflows/draft-release.yaml +0 -33
- package/.nvmrc +0 -1
- package/Dockerfile +0 -39
- package/Dockerfile-debian +0 -43
- package/Dockerfile-debian-rootless +0 -50
- package/Dockerfile-rootless +0 -47
- package/__mocks__/codefresh.yml +0 -40
- package/__mocks__/requestretry.js +0 -35
- package/cli.gif +0 -0
- package/docs/archetypes/default.md +0 -6
- package/docs/config.toml +0 -44
- package/docs/content/_header.md +0 -6
- package/docs/content/_index.md +0 -19
- package/docs/content/contexts/spec/_index.md +0 -28
- package/docs/content/contexts/spec/config.md +0 -30
- package/docs/content/contexts/spec/helm-repository.md +0 -16
- package/docs/content/contexts/spec/secret-yaml.md +0 -32
- package/docs/content/contexts/spec/secret.md +0 -30
- package/docs/content/contexts/spec/yaml.md +0 -30
- package/docs/content/external-resources.md +0 -8
- package/docs/content/getting-started/_index.md +0 -28
- package/docs/content/installation/_index.md +0 -13
- package/docs/content/installation/docker.md +0 -15
- package/docs/content/installation/homebrew.md +0 -29
- package/docs/content/installation/npm.md +0 -22
- package/docs/content/installation/yarn.md +0 -22
- package/docs/content/more/_index.md +0 -7
- package/docs/content/operate on resources/_index.md +0 -10
- package/docs/content/pipelines/Run Pipeline.md +0 -38
- package/docs/content/pipelines/spec.md +0 -264
- package/docs/docs.spec.js +0 -8
- package/docs/index.js +0 -431
- package/docs/layouts/partials/menu-footer.html +0 -13
- package/docs/themes/docdock/LICENSE.md +0 -22
- package/docs/themes/docdock/README.md +0 -129
- package/docs/themes/docdock/archetypes/default.md +0 -9
- package/docs/themes/docdock/archetypes/slide.md +0 -46
- package/docs/themes/docdock/exampleSite/config.toml +0 -68
- package/docs/themes/docdock/exampleSite/content/_index.md +0 -50
- package/docs/themes/docdock/exampleSite/content/content-organisation/_index.md +0 -138
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/_index.md +0 -66
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/disable.md +0 -24
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/theme-variants.md +0 -35
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/themestyle.md +0 -25
- package/docs/themes/docdock/exampleSite/content/content-organisation/extramenu.md +0 -28
- package/docs/themes/docdock/exampleSite/content/content-organisation/logo.md +0 -12
- package/docs/themes/docdock/exampleSite/content/create-page/_index.md +0 -54
- package/docs/themes/docdock/exampleSite/content/create-page/homepage.md +0 -8
- package/docs/themes/docdock/exampleSite/content/create-page/myslide.md +0 -48
- package/docs/themes/docdock/exampleSite/content/create-page/page-images.md +0 -28
- package/docs/themes/docdock/exampleSite/content/create-page/page-slide.md +0 -114
- package/docs/themes/docdock/exampleSite/content/credits.md +0 -44
- package/docs/themes/docdock/exampleSite/content/getting-start/_index.md +0 -12
- package/docs/themes/docdock/exampleSite/content/getting-start/configuration.md +0 -56
- package/docs/themes/docdock/exampleSite/content/getting-start/installation.md +0 -83
- package/docs/themes/docdock/exampleSite/content/search/_index.md +0 -13
- package/docs/themes/docdock/exampleSite/content/shortcodes/_index.md +0 -10
- package/docs/themes/docdock/exampleSite/content/shortcodes/alert.md +0 -30
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/BachGavotteShort.mp3 +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/Carroll_AliceAuPaysDesMerveilles.pdf +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/adivorciarsetoca00cape.pdf +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/hugo.png +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/movieselectricsheep-flock-244-32500-2.mp4 +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.md +0 -59
- package/docs/themes/docdock/exampleSite/content/shortcodes/button.md +0 -37
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/_index.md +0 -46
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-2/_index.md +0 -11
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-2/test3.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-3/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-4/_index.md +0 -7
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/test.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/excerpt-include.md +0 -25
- package/docs/themes/docdock/exampleSite/content/shortcodes/excerpt.md +0 -39
- package/docs/themes/docdock/exampleSite/content/shortcodes/expand.md +0 -41
- package/docs/themes/docdock/exampleSite/content/shortcodes/icon.md +0 -1254
- package/docs/themes/docdock/exampleSite/content/shortcodes/mermaid.md +0 -98
- package/docs/themes/docdock/exampleSite/content/shortcodes/notice.md +0 -61
- package/docs/themes/docdock/exampleSite/content/shortcodes/panel.md +0 -60
- package/docs/themes/docdock/exampleSite/content/shortcodes/revealjs.md +0 -119
- package/docs/themes/docdock/exampleSite/content/showcase.md +0 -15
- package/docs/themes/docdock/exampleSite/layouts/partials/custom-head.html +0 -10
- package/docs/themes/docdock/exampleSite/layouts/partials/menu-footer.html +0 -13
- package/docs/themes/docdock/exampleSite/layouts/shortcodes/ghcontributors.html +0 -31
- package/docs/themes/docdock/exampleSite/static/menu-entry-icon.png +0 -0
- package/docs/themes/docdock/exampleSite/static/showcase/bitfan.site.png +0 -0
- package/docs/themes/docdock/exampleSite/static/showcase/invincible.site.png +0 -0
- package/docs/themes/docdock/exampleSite/static/style-flex.png +0 -0
- package/docs/themes/docdock/exampleSite/static/style-original.png +0 -0
- package/docs/themes/docdock/exampleSite/static/variant-gold.png +0 -0
- package/docs/themes/docdock/exampleSite/static/variant-gray.png +0 -0
- package/docs/themes/docdock/exampleSite/static/variant-green.png +0 -0
- package/docs/themes/docdock/i18n/en.toml +0 -44
- package/docs/themes/docdock/i18n/es.toml +0 -26
- package/docs/themes/docdock/i18n/fr.toml +0 -44
- package/docs/themes/docdock/i18n/nb.toml +0 -38
- package/docs/themes/docdock/images/screenshot.png +0 -0
- package/docs/themes/docdock/images/tn.png +0 -0
- package/docs/themes/docdock/layouts/404.html +0 -39
- package/docs/themes/docdock/layouts/_default/baseof.html +0 -32
- package/docs/themes/docdock/layouts/_default/li.html +0 -22
- package/docs/themes/docdock/layouts/_default/list.html +0 -20
- package/docs/themes/docdock/layouts/_default/single.html +0 -3
- package/docs/themes/docdock/layouts/index.html +0 -30
- package/docs/themes/docdock/layouts/index.json +0 -12
- package/docs/themes/docdock/layouts/partials/breadcrumb.html +0 -8
- package/docs/themes/docdock/layouts/partials/custom-content-footer.html +0 -6
- package/docs/themes/docdock/layouts/partials/custom-footer.html +0 -0
- package/docs/themes/docdock/layouts/partials/custom-head.html +0 -2
- package/docs/themes/docdock/layouts/partials/flex/body-aftercontent.html +0 -54
- package/docs/themes/docdock/layouts/partials/flex/body-beforecontent.html +0 -68
- package/docs/themes/docdock/layouts/partials/flex/head.html +0 -17
- package/docs/themes/docdock/layouts/partials/flex/scripts.html +0 -11
- package/docs/themes/docdock/layouts/partials/flex/selectnavigation.html +0 -58
- package/docs/themes/docdock/layouts/partials/header.html +0 -10
- package/docs/themes/docdock/layouts/partials/language-selector.html +0 -18
- package/docs/themes/docdock/layouts/partials/menu-footer.html +0 -0
- package/docs/themes/docdock/layouts/partials/menu.html +0 -82
- package/docs/themes/docdock/layouts/partials/next-prev-page.html +0 -44
- package/docs/themes/docdock/layouts/partials/original/body-aftercontent.html +0 -13
- package/docs/themes/docdock/layouts/partials/original/body-beforecontent.html +0 -128
- package/docs/themes/docdock/layouts/partials/original/head.html +0 -23
- package/docs/themes/docdock/layouts/partials/original/scripts.html +0 -10
- package/docs/themes/docdock/layouts/partials/pagination.html +0 -9
- package/docs/themes/docdock/layouts/shortcodes/alert.html +0 -6
- package/docs/themes/docdock/layouts/shortcodes/anchor.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/anchorlink.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/attachmentlink.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/attachments.html +0 -33
- package/docs/themes/docdock/layouts/shortcodes/button.html +0 -6
- package/docs/themes/docdock/layouts/shortcodes/children.html +0 -104
- package/docs/themes/docdock/layouts/shortcodes/code.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/emoticon.html +0 -29
- package/docs/themes/docdock/layouts/shortcodes/excerpt-include.html +0 -14
- package/docs/themes/docdock/layouts/shortcodes/excerpt.html +0 -7
- package/docs/themes/docdock/layouts/shortcodes/expand.html +0 -16
- package/docs/themes/docdock/layouts/shortcodes/header.html +0 -16
- package/docs/themes/docdock/layouts/shortcodes/icon.html +0 -13
- package/docs/themes/docdock/layouts/shortcodes/image.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/info.html +0 -10
- package/docs/themes/docdock/layouts/shortcodes/label.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/mermaid.html +0 -3
- package/docs/themes/docdock/layouts/shortcodes/note.html +0 -4
- package/docs/themes/docdock/layouts/shortcodes/notice.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/pagelink.html +0 -12
- package/docs/themes/docdock/layouts/shortcodes/pagetreesearch.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/panel.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/recently-updated.html +0 -7
- package/docs/themes/docdock/layouts/shortcodes/relref.html +0 -14
- package/docs/themes/docdock/layouts/shortcodes/revealjs.html +0 -66
- package/docs/themes/docdock/layouts/shortcodes/section.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/task.html +0 -10
- package/docs/themes/docdock/layouts/shortcodes/tasklist.html +0 -4
- package/docs/themes/docdock/layouts/shortcodes/tip.html +0 -10
- package/docs/themes/docdock/layouts/shortcodes/toc.html +0 -2
- package/docs/themes/docdock/layouts/shortcodes/unknow.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/userlink.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/viewppt.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/viewxls.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/warning.html +0 -12
- package/docs/themes/docdock/layouts/shortcodes/well.html +0 -1
- package/docs/themes/docdock/layouts/slide/single.html +0 -38
- package/docs/themes/docdock/static/css/auto-complete.css +0 -49
- package/docs/themes/docdock/static/css/bootstrap.min.css +0 -1884
- package/docs/themes/docdock/static/css/featherlight.min.css +0 -8
- package/docs/themes/docdock/static/css/font-awesome.min.css +0 -4
- package/docs/themes/docdock/static/css/horsey.css +0 -35
- package/docs/themes/docdock/static/css/hybrid.css +0 -102
- package/docs/themes/docdock/static/css/nucleus.css +0 -617
- package/docs/themes/docdock/static/fonts/FontAwesome.otf +0 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.eot +0 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.svg +0 -359
- package/docs/themes/docdock/static/fonts/Inconsolata.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.woff +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Bold.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Bold.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Regular.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.eot +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.svg +0 -1019
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.woff +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.eot +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.svg +0 -918
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Roboto-Italic.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Roboto-Medium.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Roboto-Regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/RobotoMono-Medium.ttf +0 -0
- package/docs/themes/docdock/static/fonts/RobotoMono-Regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.eot +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.svg +0 -332
- package/docs/themes/docdock/static/fonts/Work_Sans_200.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.woff +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.eot +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.svg +0 -331
- package/docs/themes/docdock/static/fonts/Work_Sans_300.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.woff +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.eot +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.svg +0 -333
- package/docs/themes/docdock/static/fonts/Work_Sans_500.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.woff +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.eot +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.svg +0 -2671
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.ttf +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.woff +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.eot +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.svg +0 -288
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.woff +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/docs/themes/docdock/static/images/clippy.svg +0 -4
- package/docs/themes/docdock/static/images/favicon.png +0 -0
- package/docs/themes/docdock/static/images/gopher-404.jpg +0 -0
- package/docs/themes/docdock/static/js/auto-complete.js +0 -223
- package/docs/themes/docdock/static/js/clipboard.min.js +0 -7
- package/docs/themes/docdock/static/js/docdock.js +0 -309
- package/docs/themes/docdock/static/js/featherlight.min.js +0 -8
- package/docs/themes/docdock/static/js/highlight.pack.js +0 -2
- package/docs/themes/docdock/static/js/html5shiv-printshiv.min.js +0 -4
- package/docs/themes/docdock/static/js/jquery-2.x.min.js +0 -4
- package/docs/themes/docdock/static/js/lunr.min.js +0 -6
- package/docs/themes/docdock/static/js/modernizr.custom.71422.js +0 -4
- package/docs/themes/docdock/static/js/search.js +0 -91
- package/docs/themes/docdock/static/mermaid/mermaid.css +0 -273
- package/docs/themes/docdock/static/mermaid/mermaid.dark.css +0 -275
- package/docs/themes/docdock/static/mermaid/mermaid.forest.css +0 -353
- package/docs/themes/docdock/static/mermaid/mermaid.js +0 -30
- package/docs/themes/docdock/static/none.html +0 -0
- package/docs/themes/docdock/static/revealjs/.travis.yml +0 -5
- package/docs/themes/docdock/static/revealjs/CONTRIBUTING.md +0 -23
- package/docs/themes/docdock/static/revealjs/Gruntfile.js +0 -192
- package/docs/themes/docdock/static/revealjs/LICENSE +0 -19
- package/docs/themes/docdock/static/revealjs/README.md +0 -1238
- package/docs/themes/docdock/static/revealjs/bower.json +0 -27
- package/docs/themes/docdock/static/revealjs/css/print/paper.css +0 -203
- package/docs/themes/docdock/static/revealjs/css/print/pdf.css +0 -178
- package/docs/themes/docdock/static/revealjs/css/reveal.css +0 -1555
- package/docs/themes/docdock/static/revealjs/css/reveal.scss +0 -1717
- package/docs/themes/docdock/static/revealjs/css/theme/README.md +0 -21
- package/docs/themes/docdock/static/revealjs/css/theme/beige.css +0 -268
- package/docs/themes/docdock/static/revealjs/css/theme/black.css +0 -264
- package/docs/themes/docdock/static/revealjs/css/theme/blood.css +0 -287
- package/docs/themes/docdock/static/revealjs/css/theme/league.css +0 -270
- package/docs/themes/docdock/static/revealjs/css/theme/moon.css +0 -268
- package/docs/themes/docdock/static/revealjs/css/theme/night.css +0 -262
- package/docs/themes/docdock/static/revealjs/css/theme/serif.css +0 -264
- package/docs/themes/docdock/static/revealjs/css/theme/simple.css +0 -267
- package/docs/themes/docdock/static/revealjs/css/theme/sky.css +0 -271
- package/docs/themes/docdock/static/revealjs/css/theme/solarized.css +0 -268
- package/docs/themes/docdock/static/revealjs/css/theme/source/beige.scss +0 -39
- package/docs/themes/docdock/static/revealjs/css/theme/source/black.scss +0 -49
- package/docs/themes/docdock/static/revealjs/css/theme/source/blood.scss +0 -78
- package/docs/themes/docdock/static/revealjs/css/theme/source/league.scss +0 -34
- package/docs/themes/docdock/static/revealjs/css/theme/source/moon.scss +0 -57
- package/docs/themes/docdock/static/revealjs/css/theme/source/night.scss +0 -34
- package/docs/themes/docdock/static/revealjs/css/theme/source/serif.scss +0 -35
- package/docs/themes/docdock/static/revealjs/css/theme/source/simple.scss +0 -43
- package/docs/themes/docdock/static/revealjs/css/theme/source/sky.scss +0 -46
- package/docs/themes/docdock/static/revealjs/css/theme/source/solarized.scss +0 -63
- package/docs/themes/docdock/static/revealjs/css/theme/source/white.scss +0 -49
- package/docs/themes/docdock/static/revealjs/css/theme/template/mixins.scss +0 -29
- package/docs/themes/docdock/static/revealjs/css/theme/template/settings.scss +0 -43
- package/docs/themes/docdock/static/revealjs/css/theme/template/theme.scss +0 -316
- package/docs/themes/docdock/static/revealjs/css/theme/white.css +0 -264
- package/docs/themes/docdock/static/revealjs/demo.html +0 -410
- package/docs/themes/docdock/static/revealjs/index.html +0 -49
- package/docs/themes/docdock/static/revealjs/js/reveal.js +0 -5239
- package/docs/themes/docdock/static/revealjs/lib/css/zenburn.css +0 -80
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/LICENSE +0 -2
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.css +0 -10
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/LICENSE +0 -45
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro.css +0 -39
- package/docs/themes/docdock/static/revealjs/lib/js/classList.js +0 -2
- package/docs/themes/docdock/static/revealjs/lib/js/head.min.js +0 -9
- package/docs/themes/docdock/static/revealjs/lib/js/html5shiv.js +0 -7
- package/docs/themes/docdock/static/revealjs/package.json +0 -43
- package/docs/themes/docdock/static/revealjs/plugin/highlight/highlight.js +0 -77
- package/docs/themes/docdock/static/revealjs/plugin/markdown/example.html +0 -129
- package/docs/themes/docdock/static/revealjs/plugin/markdown/example.md +0 -31
- package/docs/themes/docdock/static/revealjs/plugin/markdown/markdown.js +0 -412
- package/docs/themes/docdock/static/revealjs/plugin/markdown/marked.js +0 -6
- package/docs/themes/docdock/static/revealjs/plugin/math/math.js +0 -67
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/client.js +0 -13
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/index.js +0 -64
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/master.js +0 -34
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/package.json +0 -19
- package/docs/themes/docdock/static/revealjs/plugin/notes/notes.html +0 -759
- package/docs/themes/docdock/static/revealjs/plugin/notes/notes.js +0 -155
- package/docs/themes/docdock/static/revealjs/plugin/notes-server/client.js +0 -65
- package/docs/themes/docdock/static/revealjs/plugin/notes-server/index.js +0 -69
- package/docs/themes/docdock/static/revealjs/plugin/notes-server/notes.html +0 -585
- package/docs/themes/docdock/static/revealjs/plugin/print-pdf/print-pdf.js +0 -69
- package/docs/themes/docdock/static/revealjs/plugin/search/search.js +0 -206
- package/docs/themes/docdock/static/revealjs/plugin/zoom-js/zoom.js +0 -272
- package/docs/themes/docdock/static/revealjs/test/examples/assets/image1.png +0 -0
- package/docs/themes/docdock/static/revealjs/test/examples/assets/image2.png +0 -0
- package/docs/themes/docdock/static/revealjs/test/examples/barebones.html +0 -41
- package/docs/themes/docdock/static/revealjs/test/examples/embedded-media.html +0 -49
- package/docs/themes/docdock/static/revealjs/test/examples/math.html +0 -185
- package/docs/themes/docdock/static/revealjs/test/examples/slide-backgrounds.html +0 -144
- package/docs/themes/docdock/static/revealjs/test/examples/slide-transitions.html +0 -101
- package/docs/themes/docdock/static/revealjs/test/qunit-1.12.0.css +0 -244
- package/docs/themes/docdock/static/revealjs/test/qunit-1.12.0.js +0 -2212
- package/docs/themes/docdock/static/revealjs/test/simple.md +0 -12
- package/docs/themes/docdock/static/revealjs/test/test-markdown-element-attributes.html +0 -134
- package/docs/themes/docdock/static/revealjs/test/test-markdown-element-attributes.js +0 -46
- package/docs/themes/docdock/static/revealjs/test/test-markdown-external.html +0 -36
- package/docs/themes/docdock/static/revealjs/test/test-markdown-external.js +0 -24
- package/docs/themes/docdock/static/revealjs/test/test-markdown-options.html +0 -41
- package/docs/themes/docdock/static/revealjs/test/test-markdown-options.js +0 -26
- package/docs/themes/docdock/static/revealjs/test/test-markdown-slide-attributes.html +0 -128
- package/docs/themes/docdock/static/revealjs/test/test-markdown-slide-attributes.js +0 -47
- package/docs/themes/docdock/static/revealjs/test/test-markdown.html +0 -52
- package/docs/themes/docdock/static/revealjs/test/test-markdown.js +0 -15
- package/docs/themes/docdock/static/revealjs/test/test-pdf.html +0 -83
- package/docs/themes/docdock/static/revealjs/test/test-pdf.js +0 -15
- package/docs/themes/docdock/static/revealjs/test/test.html +0 -86
- package/docs/themes/docdock/static/revealjs/test/test.js +0 -597
- package/docs/themes/docdock/static/scss/flex/article.scss +0 -356
- package/docs/themes/docdock/static/scss/flex/fonts.scss +0 -38
- package/docs/themes/docdock/static/scss/flex/footer.scss +0 -45
- package/docs/themes/docdock/static/scss/flex/header.scss +0 -89
- package/docs/themes/docdock/static/scss/flex/main.scss +0 -164
- package/docs/themes/docdock/static/scss/flex/medias.scss +0 -74
- package/docs/themes/docdock/static/scss/flex/menu.scss +0 -126
- package/docs/themes/docdock/static/scss/flex/shortcode.children.scss +0 -34
- package/docs/themes/docdock/static/scss/flex/shortcode.notice.scss +0 -63
- package/docs/themes/docdock/static/scss/flex/style.scss +0 -14
- package/docs/themes/docdock/static/scss/original/_colours.scss +0 -14
- package/docs/themes/docdock/static/scss/original/_functions.scss +0 -89
- package/docs/themes/docdock/static/scss/original/_variables.scss +0 -137
- package/docs/themes/docdock/static/scss/original/fonts.scss +0 -23
- package/docs/themes/docdock/static/scss/original/main.scss +0 -1233
- package/docs/themes/docdock/static/scss/original/print.scss +0 -29
- package/docs/themes/docdock/static/scss/original/responsive.scss +0 -124
- package/docs/themes/docdock/static/scss/original/shortcodes.scss +0 -32
- package/docs/themes/docdock/static/scss/original/sidebar.scss +0 -276
- package/docs/themes/docdock/static/scss/original/style.scss +0 -16
- package/docs/themes/docdock/static/theme-flex/ribbon.png +0 -0
- package/docs/themes/docdock/static/theme-flex/script.js +0 -277
- package/docs/themes/docdock/static/theme-flex/style.css +0 -728
- package/docs/themes/docdock/static/theme-original/script.js +0 -133
- package/docs/themes/docdock/static/theme-original/style.css +0 -1411
- package/docs/themes/docdock/static/theme-original/variant-blue.css +0 -0
- package/docs/themes/docdock/static/theme-original/variant-gold.css +0 -61
- package/docs/themes/docdock/static/theme-original/variant-gray.css +0 -61
- package/docs/themes/docdock/static/theme-original/variant-green.css +0 -61
- package/docs/themes/docdock/theme.toml +0 -22
- package/e2e/README.md +0 -10
- package/e2e/data/crud.pip.yaml +0 -23
- package/e2e/data/test-run.pip.yaml +0 -23
- package/e2e/e2e.spec.sh +0 -25
- package/e2e/helpers.sh +0 -10
- package/e2e/scenarios/agents.sh +0 -1
- package/e2e/scenarios/annotations.sh +0 -2
- package/e2e/scenarios/boards.sh +0 -3
- package/e2e/scenarios/builds.sh +0 -1
- package/e2e/scenarios/clusters.sh +0 -1
- package/e2e/scenarios/compositions.sh +0 -1
- package/e2e/scenarios/contexts.sh +0 -1
- package/e2e/scenarios/environments.sh +0 -1
- package/e2e/scenarios/helm-repo.sh +0 -1
- package/e2e/scenarios/images.sh +0 -1
- package/e2e/scenarios/pipeline-run.sh +0 -26
- package/e2e/scenarios/pipelines.sh +0 -31
- package/e2e/scenarios/projects.sh +0 -17
- package/e2e/scenarios/registry.sh +0 -1
- package/e2e/scenarios/repository.sh +0 -2
- package/e2e/scenarios/runtime-environment.sh +0 -1
- package/e2e/scenarios/step-types.sh +0 -1
- package/e2e/scenarios/system-runtime-environments.sh +0 -1
- package/e2e/scenarios/teams.sh +0 -1
- package/e2e/scenarios/tokens.sh +0 -1
- package/e2e/scenarios/triggers.sh +0 -3
- package/test-setup.js +0 -34
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Handles finding a text string anywhere in the slides and showing the next occurrence to the user
|
|
3
|
-
* by navigatating to that slide and highlighting it.
|
|
4
|
-
*
|
|
5
|
-
* By Jon Snyder <snyder.jon@gmail.com>, February 2013
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
var RevealSearch = (function() {
|
|
9
|
-
|
|
10
|
-
var matchedSlides;
|
|
11
|
-
var currentMatchedIndex;
|
|
12
|
-
var searchboxDirty;
|
|
13
|
-
var myHilitor;
|
|
14
|
-
|
|
15
|
-
// Original JavaScript code by Chirp Internet: www.chirp.com.au
|
|
16
|
-
// Please acknowledge use of this code by including this header.
|
|
17
|
-
// 2/2013 jon: modified regex to display any match, not restricted to word boundaries.
|
|
18
|
-
|
|
19
|
-
function Hilitor(id, tag)
|
|
20
|
-
{
|
|
21
|
-
|
|
22
|
-
var targetNode = document.getElementById(id) || document.body;
|
|
23
|
-
var hiliteTag = tag || "EM";
|
|
24
|
-
var skipTags = new RegExp("^(?:" + hiliteTag + "|SCRIPT|FORM)$");
|
|
25
|
-
var colors = ["#ff6", "#a0ffff", "#9f9", "#f99", "#f6f"];
|
|
26
|
-
var wordColor = [];
|
|
27
|
-
var colorIdx = 0;
|
|
28
|
-
var matchRegex = "";
|
|
29
|
-
var matchingSlides = [];
|
|
30
|
-
|
|
31
|
-
this.setRegex = function(input)
|
|
32
|
-
{
|
|
33
|
-
input = input.replace(/^[^\w]+|[^\w]+$/g, "").replace(/[^\w'-]+/g, "|");
|
|
34
|
-
matchRegex = new RegExp("(" + input + ")","i");
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
this.getRegex = function()
|
|
38
|
-
{
|
|
39
|
-
return matchRegex.toString().replace(/^\/\\b\(|\)\\b\/i$/g, "").replace(/\|/g, " ");
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// recursively apply word highlighting
|
|
43
|
-
this.hiliteWords = function(node)
|
|
44
|
-
{
|
|
45
|
-
if(node == undefined || !node) return;
|
|
46
|
-
if(!matchRegex) return;
|
|
47
|
-
if(skipTags.test(node.nodeName)) return;
|
|
48
|
-
|
|
49
|
-
if(node.hasChildNodes()) {
|
|
50
|
-
for(var i=0; i < node.childNodes.length; i++)
|
|
51
|
-
this.hiliteWords(node.childNodes[i]);
|
|
52
|
-
}
|
|
53
|
-
if(node.nodeType == 3) { // NODE_TEXT
|
|
54
|
-
if((nv = node.nodeValue) && (regs = matchRegex.exec(nv))) {
|
|
55
|
-
//find the slide's section element and save it in our list of matching slides
|
|
56
|
-
var secnode = node;
|
|
57
|
-
while (secnode != null && secnode.nodeName != 'SECTION') {
|
|
58
|
-
secnode = secnode.parentNode;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
var slideIndex = Reveal.getIndices(secnode);
|
|
62
|
-
var slidelen = matchingSlides.length;
|
|
63
|
-
var alreadyAdded = false;
|
|
64
|
-
for (var i=0; i < slidelen; i++) {
|
|
65
|
-
if ( (matchingSlides[i].h === slideIndex.h) && (matchingSlides[i].v === slideIndex.v) ) {
|
|
66
|
-
alreadyAdded = true;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
if (! alreadyAdded) {
|
|
70
|
-
matchingSlides.push(slideIndex);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
if(!wordColor[regs[0].toLowerCase()]) {
|
|
74
|
-
wordColor[regs[0].toLowerCase()] = colors[colorIdx++ % colors.length];
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
var match = document.createElement(hiliteTag);
|
|
78
|
-
match.appendChild(document.createTextNode(regs[0]));
|
|
79
|
-
match.style.backgroundColor = wordColor[regs[0].toLowerCase()];
|
|
80
|
-
match.style.fontStyle = "inherit";
|
|
81
|
-
match.style.color = "#000";
|
|
82
|
-
|
|
83
|
-
var after = node.splitText(regs.index);
|
|
84
|
-
after.nodeValue = after.nodeValue.substring(regs[0].length);
|
|
85
|
-
node.parentNode.insertBefore(match, after);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
// remove highlighting
|
|
91
|
-
this.remove = function()
|
|
92
|
-
{
|
|
93
|
-
var arr = document.getElementsByTagName(hiliteTag);
|
|
94
|
-
while(arr.length && (el = arr[0])) {
|
|
95
|
-
el.parentNode.replaceChild(el.firstChild, el);
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
// start highlighting at target node
|
|
100
|
-
this.apply = function(input)
|
|
101
|
-
{
|
|
102
|
-
if(input == undefined || !input) return;
|
|
103
|
-
this.remove();
|
|
104
|
-
this.setRegex(input);
|
|
105
|
-
this.hiliteWords(targetNode);
|
|
106
|
-
return matchingSlides;
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
function openSearch() {
|
|
112
|
-
//ensure the search term input dialog is visible and has focus:
|
|
113
|
-
var inputboxdiv = document.getElementById("searchinputdiv");
|
|
114
|
-
var inputbox = document.getElementById("searchinput");
|
|
115
|
-
inputboxdiv.style.display = "inline";
|
|
116
|
-
inputbox.focus();
|
|
117
|
-
inputbox.select();
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
function closeSearch() {
|
|
121
|
-
var inputboxdiv = document.getElementById("searchinputdiv");
|
|
122
|
-
inputboxdiv.style.display = "none";
|
|
123
|
-
if(myHilitor) myHilitor.remove();
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
function toggleSearch() {
|
|
127
|
-
var inputboxdiv = document.getElementById("searchinputdiv");
|
|
128
|
-
if (inputboxdiv.style.display !== "inline") {
|
|
129
|
-
openSearch();
|
|
130
|
-
}
|
|
131
|
-
else {
|
|
132
|
-
closeSearch();
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
function doSearch() {
|
|
137
|
-
//if there's been a change in the search term, perform a new search:
|
|
138
|
-
if (searchboxDirty) {
|
|
139
|
-
var searchstring = document.getElementById("searchinput").value;
|
|
140
|
-
|
|
141
|
-
if (searchstring === '') {
|
|
142
|
-
if(myHilitor) myHilitor.remove();
|
|
143
|
-
matchedSlides = null;
|
|
144
|
-
}
|
|
145
|
-
else {
|
|
146
|
-
//find the keyword amongst the slides
|
|
147
|
-
myHilitor = new Hilitor("slidecontent");
|
|
148
|
-
matchedSlides = myHilitor.apply(searchstring);
|
|
149
|
-
currentMatchedIndex = 0;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
if (matchedSlides) {
|
|
154
|
-
//navigate to the next slide that has the keyword, wrapping to the first if necessary
|
|
155
|
-
if (matchedSlides.length && (matchedSlides.length <= currentMatchedIndex)) {
|
|
156
|
-
currentMatchedIndex = 0;
|
|
157
|
-
}
|
|
158
|
-
if (matchedSlides.length > currentMatchedIndex) {
|
|
159
|
-
Reveal.slide(matchedSlides[currentMatchedIndex].h, matchedSlides[currentMatchedIndex].v);
|
|
160
|
-
currentMatchedIndex++;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
var dom = {};
|
|
166
|
-
dom.wrapper = document.querySelector( '.reveal' );
|
|
167
|
-
|
|
168
|
-
if( !dom.wrapper.querySelector( '.searchbox' ) ) {
|
|
169
|
-
var searchElement = document.createElement( 'div' );
|
|
170
|
-
searchElement.id = "searchinputdiv";
|
|
171
|
-
searchElement.classList.add( 'searchdiv' );
|
|
172
|
-
searchElement.style.position = 'absolute';
|
|
173
|
-
searchElement.style.top = '10px';
|
|
174
|
-
searchElement.style.right = '10px';
|
|
175
|
-
searchElement.style.zIndex = 10;
|
|
176
|
-
//embedded base64 search icon Designed by Sketchdock - http://www.sketchdock.com/:
|
|
177
|
-
searchElement.innerHTML = '<span><input type="search" id="searchinput" class="searchinput" style="vertical-align: top;"/><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJiSURBVHjatFZNaxNBGH5md+Mmu92NVdKDRipSAyqCghgQD4L4cRe86UUtAQ+eFCxoa4/25EXBFi8eBE+eRPoDhB6KgiiixdAPCEkx2pjvTXadd9yNsflwuyUDD/O+u8PzzDPvzOwyx3EwyCZhwG3gAkp7MnpjgbopjsltcD4gjuXZZKeAR348MYLYTm3LzOs/y3j3JTfZxgXWXmTuwPHIc4VmoOmv5IrI53+AO2DdHLjkDWQ3GoEEVFXtXQOvkSnPWcyUceviLhwbDYv8/XIVj97kse7TodLvZXxYxrPUHkQ1ufXs3FEdybEIxucySOesoNvUgWU1cP3MkCBfTFdw9fGaAMVmRELq7LBw2Q3/FaAxxWIRpw+ZIr/7IouPqzUBiqmdHAv7EuhRAwf1er2Vy4x1jW3b2d5Jfvu5IPp7l2LYbcgCFFNb+FoJ7oBqEAqFMPNqFcmEgVMJDfMT+1tvN0pNjERlMS6QA5pFOKxiKVPFhakPeL3It+WGJUDxt2wFR+JhzI7v5ctkd8DXOZAkCYYxhO+lKm4+Xfqz/rIixBuNBl7eOYzkQQNzqX249mRl6zUgEcYkaJrGhUwBinVdh6IouPzwE6/DL5w4oLkH8y981aDf+uq6hlKpJESiUdNfDZi7/ehG9K6KfiA3pml0PLcsq+cSMTj2NL9ukc4UOmz7AZ3+crkC4mHujFvXNaMFB3bEr8xPS6p5O+jXxq4VZtaen7/PwzrntjcLUE0iHPS1Ud1cdiEJl/8WivZk0wXd7zWOMkeF8s0CcAmkNrC2nvXZDbbbN73ccYnZoH9bfgswAFzAe9/h3dbKAAAAAElFTkSuQmCC" id="searchbutton" class="searchicon" style="vertical-align: top; margin-top: -1px;"/></span>';
|
|
178
|
-
dom.wrapper.appendChild( searchElement );
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
document.getElementById("searchbutton").addEventListener( 'click', function(event) {
|
|
182
|
-
doSearch();
|
|
183
|
-
}, false );
|
|
184
|
-
|
|
185
|
-
document.getElementById("searchinput").addEventListener( 'keyup', function( event ) {
|
|
186
|
-
switch (event.keyCode) {
|
|
187
|
-
case 13:
|
|
188
|
-
event.preventDefault();
|
|
189
|
-
doSearch();
|
|
190
|
-
searchboxDirty = false;
|
|
191
|
-
break;
|
|
192
|
-
default:
|
|
193
|
-
searchboxDirty = true;
|
|
194
|
-
}
|
|
195
|
-
}, false );
|
|
196
|
-
|
|
197
|
-
document.addEventListener( 'keydown', function( event ) {
|
|
198
|
-
if( event.key == "F" && (event.ctrlKey || event.metaKey) ) {//Control+Shift+f
|
|
199
|
-
event.preventDefault();
|
|
200
|
-
toggleSearch();
|
|
201
|
-
}
|
|
202
|
-
}, false );
|
|
203
|
-
if( window.Reveal ) Reveal.registerKeyboardShortcut( 'Ctrl-Shift-F', 'Search' );
|
|
204
|
-
closeSearch();
|
|
205
|
-
return { open: openSearch };
|
|
206
|
-
})();
|
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
// Custom reveal.js integration
|
|
2
|
-
(function(){
|
|
3
|
-
var revealElement = document.querySelector( '.reveal' );
|
|
4
|
-
if( revealElement ) {
|
|
5
|
-
|
|
6
|
-
revealElement.addEventListener( 'mousedown', function( event ) {
|
|
7
|
-
var defaultModifier = /Linux/.test( window.navigator.platform ) ? 'ctrl' : 'alt';
|
|
8
|
-
|
|
9
|
-
var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : defaultModifier ) + 'Key';
|
|
10
|
-
var zoomLevel = ( Reveal.getConfig().zoomLevel ? Reveal.getConfig().zoomLevel : 2 );
|
|
11
|
-
|
|
12
|
-
if( event[ modifier ] && !Reveal.isOverview() ) {
|
|
13
|
-
event.preventDefault();
|
|
14
|
-
|
|
15
|
-
zoom.to({
|
|
16
|
-
x: event.clientX,
|
|
17
|
-
y: event.clientY,
|
|
18
|
-
scale: zoomLevel,
|
|
19
|
-
pan: false
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
} );
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
})();
|
|
26
|
-
|
|
27
|
-
/*!
|
|
28
|
-
* zoom.js 0.3 (modified for use with reveal.js)
|
|
29
|
-
* http://lab.hakim.se/zoom-js
|
|
30
|
-
* MIT licensed
|
|
31
|
-
*
|
|
32
|
-
* Copyright (C) 2011-2014 Hakim El Hattab, http://hakim.se
|
|
33
|
-
*/
|
|
34
|
-
var zoom = (function(){
|
|
35
|
-
|
|
36
|
-
// The current zoom level (scale)
|
|
37
|
-
var level = 1;
|
|
38
|
-
|
|
39
|
-
// The current mouse position, used for panning
|
|
40
|
-
var mouseX = 0,
|
|
41
|
-
mouseY = 0;
|
|
42
|
-
|
|
43
|
-
// Timeout before pan is activated
|
|
44
|
-
var panEngageTimeout = -1,
|
|
45
|
-
panUpdateInterval = -1;
|
|
46
|
-
|
|
47
|
-
// Check for transform support so that we can fallback otherwise
|
|
48
|
-
var supportsTransforms = 'WebkitTransform' in document.body.style ||
|
|
49
|
-
'MozTransform' in document.body.style ||
|
|
50
|
-
'msTransform' in document.body.style ||
|
|
51
|
-
'OTransform' in document.body.style ||
|
|
52
|
-
'transform' in document.body.style;
|
|
53
|
-
|
|
54
|
-
if( supportsTransforms ) {
|
|
55
|
-
// The easing that will be applied when we zoom in/out
|
|
56
|
-
document.body.style.transition = 'transform 0.8s ease';
|
|
57
|
-
document.body.style.OTransition = '-o-transform 0.8s ease';
|
|
58
|
-
document.body.style.msTransition = '-ms-transform 0.8s ease';
|
|
59
|
-
document.body.style.MozTransition = '-moz-transform 0.8s ease';
|
|
60
|
-
document.body.style.WebkitTransition = '-webkit-transform 0.8s ease';
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Zoom out if the user hits escape
|
|
64
|
-
document.addEventListener( 'keyup', function( event ) {
|
|
65
|
-
if( level !== 1 && event.keyCode === 27 ) {
|
|
66
|
-
zoom.out();
|
|
67
|
-
}
|
|
68
|
-
} );
|
|
69
|
-
|
|
70
|
-
// Monitor mouse movement for panning
|
|
71
|
-
document.addEventListener( 'mousemove', function( event ) {
|
|
72
|
-
if( level !== 1 ) {
|
|
73
|
-
mouseX = event.clientX;
|
|
74
|
-
mouseY = event.clientY;
|
|
75
|
-
}
|
|
76
|
-
} );
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Applies the CSS required to zoom in, prefers the use of CSS3
|
|
80
|
-
* transforms but falls back on zoom for IE.
|
|
81
|
-
*
|
|
82
|
-
* @param {Object} rect
|
|
83
|
-
* @param {Number} scale
|
|
84
|
-
*/
|
|
85
|
-
function magnify( rect, scale ) {
|
|
86
|
-
|
|
87
|
-
var scrollOffset = getScrollOffset();
|
|
88
|
-
|
|
89
|
-
// Ensure a width/height is set
|
|
90
|
-
rect.width = rect.width || 1;
|
|
91
|
-
rect.height = rect.height || 1;
|
|
92
|
-
|
|
93
|
-
// Center the rect within the zoomed viewport
|
|
94
|
-
rect.x -= ( window.innerWidth - ( rect.width * scale ) ) / 2;
|
|
95
|
-
rect.y -= ( window.innerHeight - ( rect.height * scale ) ) / 2;
|
|
96
|
-
|
|
97
|
-
if( supportsTransforms ) {
|
|
98
|
-
// Reset
|
|
99
|
-
if( scale === 1 ) {
|
|
100
|
-
document.body.style.transform = '';
|
|
101
|
-
document.body.style.OTransform = '';
|
|
102
|
-
document.body.style.msTransform = '';
|
|
103
|
-
document.body.style.MozTransform = '';
|
|
104
|
-
document.body.style.WebkitTransform = '';
|
|
105
|
-
}
|
|
106
|
-
// Scale
|
|
107
|
-
else {
|
|
108
|
-
var origin = scrollOffset.x +'px '+ scrollOffset.y +'px',
|
|
109
|
-
transform = 'translate('+ -rect.x +'px,'+ -rect.y +'px) scale('+ scale +')';
|
|
110
|
-
|
|
111
|
-
document.body.style.transformOrigin = origin;
|
|
112
|
-
document.body.style.OTransformOrigin = origin;
|
|
113
|
-
document.body.style.msTransformOrigin = origin;
|
|
114
|
-
document.body.style.MozTransformOrigin = origin;
|
|
115
|
-
document.body.style.WebkitTransformOrigin = origin;
|
|
116
|
-
|
|
117
|
-
document.body.style.transform = transform;
|
|
118
|
-
document.body.style.OTransform = transform;
|
|
119
|
-
document.body.style.msTransform = transform;
|
|
120
|
-
document.body.style.MozTransform = transform;
|
|
121
|
-
document.body.style.WebkitTransform = transform;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
// Reset
|
|
126
|
-
if( scale === 1 ) {
|
|
127
|
-
document.body.style.position = '';
|
|
128
|
-
document.body.style.left = '';
|
|
129
|
-
document.body.style.top = '';
|
|
130
|
-
document.body.style.width = '';
|
|
131
|
-
document.body.style.height = '';
|
|
132
|
-
document.body.style.zoom = '';
|
|
133
|
-
}
|
|
134
|
-
// Scale
|
|
135
|
-
else {
|
|
136
|
-
document.body.style.position = 'relative';
|
|
137
|
-
document.body.style.left = ( - ( scrollOffset.x + rect.x ) / scale ) + 'px';
|
|
138
|
-
document.body.style.top = ( - ( scrollOffset.y + rect.y ) / scale ) + 'px';
|
|
139
|
-
document.body.style.width = ( scale * 100 ) + '%';
|
|
140
|
-
document.body.style.height = ( scale * 100 ) + '%';
|
|
141
|
-
document.body.style.zoom = scale;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
level = scale;
|
|
146
|
-
|
|
147
|
-
if( document.documentElement.classList ) {
|
|
148
|
-
if( level !== 1 ) {
|
|
149
|
-
document.documentElement.classList.add( 'zoomed' );
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
document.documentElement.classList.remove( 'zoomed' );
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Pan the document when the mosue cursor approaches the edges
|
|
159
|
-
* of the window.
|
|
160
|
-
*/
|
|
161
|
-
function pan() {
|
|
162
|
-
var range = 0.12,
|
|
163
|
-
rangeX = window.innerWidth * range,
|
|
164
|
-
rangeY = window.innerHeight * range,
|
|
165
|
-
scrollOffset = getScrollOffset();
|
|
166
|
-
|
|
167
|
-
// Up
|
|
168
|
-
if( mouseY < rangeY ) {
|
|
169
|
-
window.scroll( scrollOffset.x, scrollOffset.y - ( 1 - ( mouseY / rangeY ) ) * ( 14 / level ) );
|
|
170
|
-
}
|
|
171
|
-
// Down
|
|
172
|
-
else if( mouseY > window.innerHeight - rangeY ) {
|
|
173
|
-
window.scroll( scrollOffset.x, scrollOffset.y + ( 1 - ( window.innerHeight - mouseY ) / rangeY ) * ( 14 / level ) );
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
// Left
|
|
177
|
-
if( mouseX < rangeX ) {
|
|
178
|
-
window.scroll( scrollOffset.x - ( 1 - ( mouseX / rangeX ) ) * ( 14 / level ), scrollOffset.y );
|
|
179
|
-
}
|
|
180
|
-
// Right
|
|
181
|
-
else if( mouseX > window.innerWidth - rangeX ) {
|
|
182
|
-
window.scroll( scrollOffset.x + ( 1 - ( window.innerWidth - mouseX ) / rangeX ) * ( 14 / level ), scrollOffset.y );
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
function getScrollOffset() {
|
|
187
|
-
return {
|
|
188
|
-
x: window.scrollX !== undefined ? window.scrollX : window.pageXOffset,
|
|
189
|
-
y: window.scrollY !== undefined ? window.scrollY : window.pageYOffset
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
return {
|
|
194
|
-
/**
|
|
195
|
-
* Zooms in on either a rectangle or HTML element.
|
|
196
|
-
*
|
|
197
|
-
* @param {Object} options
|
|
198
|
-
* - element: HTML element to zoom in on
|
|
199
|
-
* OR
|
|
200
|
-
* - x/y: coordinates in non-transformed space to zoom in on
|
|
201
|
-
* - width/height: the portion of the screen to zoom in on
|
|
202
|
-
* - scale: can be used instead of width/height to explicitly set scale
|
|
203
|
-
*/
|
|
204
|
-
to: function( options ) {
|
|
205
|
-
|
|
206
|
-
// Due to an implementation limitation we can't zoom in
|
|
207
|
-
// to another element without zooming out first
|
|
208
|
-
if( level !== 1 ) {
|
|
209
|
-
zoom.out();
|
|
210
|
-
}
|
|
211
|
-
else {
|
|
212
|
-
options.x = options.x || 0;
|
|
213
|
-
options.y = options.y || 0;
|
|
214
|
-
|
|
215
|
-
// If an element is set, that takes precedence
|
|
216
|
-
if( !!options.element ) {
|
|
217
|
-
// Space around the zoomed in element to leave on screen
|
|
218
|
-
var padding = 20;
|
|
219
|
-
var bounds = options.element.getBoundingClientRect();
|
|
220
|
-
|
|
221
|
-
options.x = bounds.left - padding;
|
|
222
|
-
options.y = bounds.top - padding;
|
|
223
|
-
options.width = bounds.width + ( padding * 2 );
|
|
224
|
-
options.height = bounds.height + ( padding * 2 );
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
// If width/height values are set, calculate scale from those values
|
|
228
|
-
if( options.width !== undefined && options.height !== undefined ) {
|
|
229
|
-
options.scale = Math.max( Math.min( window.innerWidth / options.width, window.innerHeight / options.height ), 1 );
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
if( options.scale > 1 ) {
|
|
233
|
-
options.x *= options.scale;
|
|
234
|
-
options.y *= options.scale;
|
|
235
|
-
|
|
236
|
-
magnify( options, options.scale );
|
|
237
|
-
|
|
238
|
-
if( options.pan !== false ) {
|
|
239
|
-
|
|
240
|
-
// Wait with engaging panning as it may conflict with the
|
|
241
|
-
// zoom transition
|
|
242
|
-
panEngageTimeout = setTimeout( function() {
|
|
243
|
-
panUpdateInterval = setInterval( pan, 1000 / 60 );
|
|
244
|
-
}, 800 );
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Resets the document zoom state to its default.
|
|
253
|
-
*/
|
|
254
|
-
out: function() {
|
|
255
|
-
clearTimeout( panEngageTimeout );
|
|
256
|
-
clearInterval( panUpdateInterval );
|
|
257
|
-
|
|
258
|
-
magnify( { x: 0, y: 0 }, 1 );
|
|
259
|
-
|
|
260
|
-
level = 1;
|
|
261
|
-
},
|
|
262
|
-
|
|
263
|
-
// Alias
|
|
264
|
-
magnify: function( options ) { this.to( options ) },
|
|
265
|
-
reset: function() { this.out() },
|
|
266
|
-
|
|
267
|
-
zoomLevel: function() {
|
|
268
|
-
return level;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
})();
|
|
Binary file
|
|
Binary file
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
|
|
7
|
-
<title>reveal.js - Barebones</title>
|
|
8
|
-
|
|
9
|
-
<link rel="stylesheet" href="../../css/reveal.css">
|
|
10
|
-
</head>
|
|
11
|
-
|
|
12
|
-
<body>
|
|
13
|
-
|
|
14
|
-
<div class="reveal">
|
|
15
|
-
|
|
16
|
-
<div class="slides">
|
|
17
|
-
|
|
18
|
-
<section>
|
|
19
|
-
<h2>Barebones Presentation</h2>
|
|
20
|
-
<p>This example contains the bare minimum includes and markup required to run a reveal.js presentation.</p>
|
|
21
|
-
</section>
|
|
22
|
-
|
|
23
|
-
<section>
|
|
24
|
-
<h2>No Theme</h2>
|
|
25
|
-
<p>There's no theme included, so it will fall back on browser defaults.</p>
|
|
26
|
-
</section>
|
|
27
|
-
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<script src="../../js/reveal.js"></script>
|
|
33
|
-
|
|
34
|
-
<script>
|
|
35
|
-
|
|
36
|
-
Reveal.initialize();
|
|
37
|
-
|
|
38
|
-
</script>
|
|
39
|
-
|
|
40
|
-
</body>
|
|
41
|
-
</html>
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
|
|
7
|
-
<title>reveal.js - Embedded Media</title>
|
|
8
|
-
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
10
|
-
|
|
11
|
-
<link rel="stylesheet" href="../../css/reveal.css">
|
|
12
|
-
<link rel="stylesheet" href="../../css/theme/default.css" id="theme">
|
|
13
|
-
</head>
|
|
14
|
-
|
|
15
|
-
<body>
|
|
16
|
-
|
|
17
|
-
<div class="reveal">
|
|
18
|
-
|
|
19
|
-
<div class="slides">
|
|
20
|
-
|
|
21
|
-
<section>
|
|
22
|
-
<h2>Embedded Media Test</h2>
|
|
23
|
-
</section>
|
|
24
|
-
|
|
25
|
-
<section>
|
|
26
|
-
<iframe data-autoplay width="420" height="345" src="http://www.youtube.com/embed/l3RQZ4mcr1c"></iframe>
|
|
27
|
-
</section>
|
|
28
|
-
|
|
29
|
-
<section>
|
|
30
|
-
<h2>Empty Slide</h2>
|
|
31
|
-
</section>
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
<script src="../../lib/js/head.min.js"></script>
|
|
38
|
-
<script src="../../js/reveal.js"></script>
|
|
39
|
-
|
|
40
|
-
<script>
|
|
41
|
-
|
|
42
|
-
Reveal.initialize({
|
|
43
|
-
transition: 'linear'
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
</script>
|
|
47
|
-
|
|
48
|
-
</body>
|
|
49
|
-
</html>
|