From 0e5209cfce7e3c1cbaac33b4dc201da48d704e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 4 Mar 2021 14:43:23 +0100 Subject: [PATCH] MOBILE-3646 imscp Add imscp activity module --- src/addons/mod/book/components/toc/toc.html | 2 +- .../mod/imscp/components/components.module.ts | 37 ++ .../index/addon-mod-imscp-index.html | 43 ++ .../mod/imscp/components/index/index.scss | 10 + .../mod/imscp/components/index/index.ts | 176 ++++++++ src/addons/mod/imscp/components/toc/toc.html | 25 ++ src/addons/mod/imscp/components/toc/toc.ts | 57 +++ src/addons/mod/imscp/imscp-lazy.module.ts | 39 ++ src/addons/mod/imscp/imscp.module.ts | 56 +++ src/addons/mod/imscp/lang.json | 6 + src/addons/mod/imscp/pages/index/index.html | 18 + .../mod/imscp/pages/index/index.page.ts | 30 ++ .../mod/imscp/services/handlers/index-link.ts | 40 ++ .../mod/imscp/services/handlers/list-link.ts | 40 ++ .../mod/imscp/services/handlers/module.ts | 83 ++++ .../mod/imscp/services/handlers/pluginfile.ts | 62 +++ .../mod/imscp/services/handlers/prefetch.ts | 102 +++++ src/addons/mod/imscp/services/imscp.ts | 399 ++++++++++++++++++ src/addons/mod/mod.module.ts | 2 + src/theme/theme.base.scss | 4 + 20 files changed, 1230 insertions(+), 1 deletion(-) create mode 100644 src/addons/mod/imscp/components/components.module.ts create mode 100644 src/addons/mod/imscp/components/index/addon-mod-imscp-index.html create mode 100644 src/addons/mod/imscp/components/index/index.scss create mode 100644 src/addons/mod/imscp/components/index/index.ts create mode 100644 src/addons/mod/imscp/components/toc/toc.html create mode 100644 src/addons/mod/imscp/components/toc/toc.ts create mode 100644 src/addons/mod/imscp/imscp-lazy.module.ts create mode 100644 src/addons/mod/imscp/imscp.module.ts create mode 100644 src/addons/mod/imscp/lang.json create mode 100644 src/addons/mod/imscp/pages/index/index.html create mode 100644 src/addons/mod/imscp/pages/index/index.page.ts create mode 100644 src/addons/mod/imscp/services/handlers/index-link.ts create mode 100644 src/addons/mod/imscp/services/handlers/list-link.ts create mode 100644 src/addons/mod/imscp/services/handlers/module.ts create mode 100644 src/addons/mod/imscp/services/handlers/pluginfile.ts create mode 100644 src/addons/mod/imscp/services/handlers/prefetch.ts create mode 100644 src/addons/mod/imscp/services/imscp.ts diff --git a/src/addons/mod/book/components/toc/toc.html b/src/addons/mod/book/components/toc/toc.html index b54fbbf32..5f93f3cad 100644 --- a/src/addons/mod/book/components/toc/toc.html +++ b/src/addons/mod/book/components/toc/toc.html @@ -15,7 +15,7 @@