diff --git a/digital-future-summit/.browserslistrc b/digital-future-summit/.browserslistrc new file mode 100644 index 0000000..8084853 --- /dev/null +++ b/digital-future-summit/.browserslistrc @@ -0,0 +1,12 @@ +# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. +# For additional information regarding the format and rule options, please see: +# https://github.com/browserslist/browserslist#queries + +# You can see what browsers were selected by your queries by running: +# npx browserslist + +> 0.5% +last 2 versions +Firefox ESR +not dead +not IE 9-11 # For IE 9-11 support, remove 'not'. \ No newline at end of file diff --git a/digital-future-summit/.editorconfig b/digital-future-summit/.editorconfig new file mode 100644 index 0000000..0301b00 --- /dev/null +++ b/digital-future-summit/.editorconfig @@ -0,0 +1,14 @@ +# Editor configuration, see http://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true +end_of_line = lf + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/digital-future-summit/.eslintrc.json b/digital-future-summit/.eslintrc.json new file mode 100644 index 0000000..305007c --- /dev/null +++ b/digital-future-summit/.eslintrc.json @@ -0,0 +1,177 @@ +{ + "root": true, + "ignorePatterns": [ + "src/test.ts", + "**/*.spec.ts", + "projects/**/*" + ], + "overrides": [ + { + "files": [ + "*.ts" + ], + "parserOptions": { + "project": [ + "tsconfig.json" + ], + "createDefaultProgram": true + }, + "extends": [ + "plugin:@angular-eslint/recommended", + "plugin:@angular-eslint/template/process-inline-templates" + ], + "rules": { + "spaced-comment": [ + "error", + "always", + { + "line": { + "markers": [ + "/" + ], + "exceptions": [ + "-", + "+" + ] + }, + "block": { + "markers": [ + "!" + ], + "exceptions": [ + "*" + ], + "balanced": true + } + } + ], + "curly": [ + "error", + "all" + ], + "eol-last": "error", + "guard-for-in": "error", + "indent": [ + "error", + 2, + { + "SwitchCase": 1 + } + ], + "no-labels": "error", + "max-len": [ + "error", + 140, + 4 + ], + "no-caller": "error", + "no-bitwise": "error", + "no-console": "off", + "no-restricted-syntax": [ + "error", + { + "selector": "CallExpression[callee.object.name=\"console\"][callee.property.name!=/^(log|warn|error|info|trace)$/]", + "message": "Unexpected property on console object was called" + } + ], + "no-new-wrappers": "error", + "no-debugger": "error", + "no-empty": "off", + "no-eval": "error", + "no-shadow": [ + "error", + { + "hoist": "functions" + } + ], + "no-throw-literal": "error", + "no-fallthrough": "error", + "no-trailing-spaces": "error", + "no-unused-expressions": [ + "error", + { + "allowTernary": true + } + ], + "no-var": "error", + "prefer-const": [ + "error", + { + "destructuring": "any", + "ignoreReadBeforeAssign": false + } + ], + "quotes": [ + "error", + "single", + { + "allowTemplateLiterals": true, + "avoidEscape": true + } + ], + "radix": "error", + "semi": [ + "error", + "always" + ], + "eqeqeq": [ + "error", + "allow-null" + ], + "camelcase": "off", + "@angular-eslint/directive-selector": [ + "error", + { + "type": "attribute", + "prefix": [ + "app", + "cust" + ], + "style": "camelCase" + } + ], + "@angular-eslint/component-selector": [ + "error", + { + "type": "element", + "prefix": [ + "app", + "cust" + ], + "style": "kebab-case" + } + ], + "@angular-eslint/no-inputs-metadata-property": "error", + "@angular-eslint/no-outputs-metadata-property": "error", + "@angular-eslint/no-host-metadata-property": "error", + "@angular-eslint/no-input-rename": "error", + "@angular-eslint/no-output-rename": "error", + "@angular-eslint/use-lifecycle-interface": "error", + "@angular-eslint/use-pipe-transform-interface": "error", + "@angular-eslint/component-class-suffix": "error", + "@angular-eslint/directive-class-suffix": "error", + "@angular-eslint/use-component-view-encapsulation": "off", + "@angular-eslint/no-attribute-decorator": "error", + "@angular-eslint/no-output-native": "error", + "@angular-eslint/no-output-on-prefix": "error", + "@angular-eslint/no-forward-ref": "off", + "@angular-eslint/no-unused-css": "off", + "@angular-eslint/contextual-lifecycle": "error", + "@angular-eslint/no-pipe-impure": "error", + "@angular-eslint/no-empty-lifecycle-method": [ + "off" + ], + "@angular-eslint/no-conflicting-lifecycle": "off" + } + }, + { + "files": [ + "*.html" + ], + "extends": [ + "plugin:@angular-eslint/template/recommended" + ], + "rules": {} + } + ] +} \ No newline at end of file diff --git a/digital-future-summit/.gitignore b/digital-future-summit/.gitignore new file mode 100644 index 0000000..b791c11 --- /dev/null +++ b/digital-future-summit/.gitignore @@ -0,0 +1,51 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# compiled output +/dist +/tmp +/out-tsc +/doc + +# dependencies +/node_modules + +# IDEs and editors +/.idea +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# IDE - VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +# misc +/.sass-cache +/connect.lock +/coverage +/libpeerconnection.log +npm-debug.log +testem.log +/typings + +# e2e +/e2e/*.js +/e2e/*.map + +# System Files +.DS_Store +Thumbs.db +package-lock.json + +gitDiff.sh +.update + +# SonarQube +.scannerwork +sonar-project.properties \ No newline at end of file diff --git a/digital-future-summit/.npmrc b/digital-future-summit/.npmrc new file mode 100644 index 0000000..b49fa2a --- /dev/null +++ b/digital-future-summit/.npmrc @@ -0,0 +1,3 @@ +registry=https://registry.npmmirror.com +unsafe-perm=true +@webdpt:registry=https://repo.digiwincloud.com.cn/maven/repository/npm-webdpt/ diff --git a/digital-future-summit/.vscode/launch.json b/digital-future-summit/.vscode/launch.json new file mode 100644 index 0000000..7bbd5a9 --- /dev/null +++ b/digital-future-summit/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Launch via NPM", + "runtimeExecutable": "npm", + "runtimeArgs": [ + "run-script", + "schematics-debug" + ], + "stopOnEntry": true, + "port": 9229, + "skipFiles": [ + "/**" + ], + "resolveSourceMapLocations": [ + "${workspaceFolder}/**", + "!**/node_modules/**" + ], + } + ] +} diff --git a/digital-future-summit/.vscode/settings.json b/digital-future-summit/.vscode/settings.json new file mode 100644 index 0000000..d7207a4 --- /dev/null +++ b/digital-future-summit/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "typescript.tsdk": "node_modules\\typescript\\lib" +} \ No newline at end of file diff --git a/digital-future-summit/README.md b/digital-future-summit/README.md new file mode 100644 index 0000000..167e589 --- /dev/null +++ b/digital-future-summit/README.md @@ -0,0 +1,28 @@ +# Ng-Web端平台 + +This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.8. +需搭配nodejs 8.8以上(含npm) + +## Development server + +Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. + +## Code scaffolding + +Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. + +## Build + +Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. + +## Running unit tests + +Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). + +## Running end-to-end tests + +Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). + +## Further help + +To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). diff --git a/digital-future-summit/angular.json b/digital-future-summit/angular.json new file mode 100644 index 0000000..17e82a5 --- /dev/null +++ b/digital-future-summit/angular.json @@ -0,0 +1,200 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "ng-webdpt": { + "root": "", + "sourceRoot": "src", + "projectType": "application", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "allowedCommonJsDependencies": [ + "crypto-js", + "ag-grid-angular", + "ag-grid-community", + "@ant-design/colors", + "date-fns/format", + "date-fns/parse", + "qs", + "@webdpt/framework/themes" + ], + "outputPath": "dist", + "index": "src/index.html", + "main": "src/main.ts", + "tsConfig": "src/tsconfig.app.json", + "polyfills": "src/polyfills.ts", + "assets": [ + "src/assets", + "src/favicon.ico", + { + "glob": "**/*", + "input": "./node_modules/@webdpt/framework/assets/dw-framework", + "output": "assets/dw-framework" + }, + { + "glob": "**/*", + "input": "src/assets", + "output": "assets" + }, + { + "glob": "**/*", + "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/", + "output": "assets" + }, + "src/manifest.webmanifest" + ], + "styles": [ + "src/styles.less" + ], + "scripts": [ + "node_modules/jsencrypt/bin/jsencrypt.js" + ], + "vendorChunk": true, + "extractLicenses": false, + "buildOptimizer": false, + "sourceMap": true, + "optimization": false, + "namedChunks": true + }, + "configurations": { + "production": { + "budgets": [ + { + "type": "anyComponentStyle", + "maximumWarning": "6kb" + } + ], + "optimization": true, + "outputHashing": "all", + "sourceMap": false, + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true, + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "serviceWorker": true + }, + "service-worker-dev": { + "budgets": [ + { + "type": "anyComponentStyle", + "maximumWarning": "6kb" + } + ], + "outputHashing": "all", + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false, + "serviceWorker": true + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true + } + }, + "defaultConfiguration": "production" + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "ng-webdpt:build:development" + }, + "configurations": { + "production": { + "browserTarget": "ng-webdpt:build:production" + } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "ng-webdpt:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "src/test.ts", + "karmaConfig": "./karma.conf.js", + "polyfills": "src/polyfills.ts", + "tsConfig": "src/tsconfig.spec.json", + "scripts": [ + "node_modules/jsencrypt/bin/jsencrypt.js" + ], + "styles": [ + "src/styles.less" + ], + "assets": [ + "src/assets", + "src/favicon.ico", + { + "glob": "**/*", + "input": "./node_modules/@webdpt/framework/assets/dw-framework", + "output": "assets/dw-framework" + }, + { + "glob": "**/*", + "input": "src/assets", + "output": "assets" + }, + { + "glob": "**/*", + "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/", + "output": "assets" + }, + "src/manifest.webmanifest" + ] + } + }, + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "e2e/protractor.conf.js", + "devServerTarget": "ng-webdpt:serve" + }, + "configurations": { + "production": { + "devServerTarget": "ng-webdpt:serve:production" + } + } + }, + "lint": { + "builder": "@angular-eslint/builder:lint", + "options": { + "lintFilePatterns": [ + "src/**/*.ts", + "src/**/*.html" + ] + } + } + } + } + }, + "defaultProject": "ng-webdpt", + "schematics": { + "@schematics/angular:component": { + "prefix": "app", + "style": "less" + }, + "@schematics/angular:directive": { + "prefix": "app" + } + }, + "cli": { + "warnings": {}, + "analytics": false, + "defaultCollection": "@angular-eslint/schematics" + } +} diff --git a/digital-future-summit/e2e/src/app.e2e-spec.ts b/digital-future-summit/e2e/src/app.e2e-spec.ts new file mode 100644 index 0000000..38305b9 --- /dev/null +++ b/digital-future-summit/e2e/src/app.e2e-spec.ts @@ -0,0 +1,23 @@ +import { AppPage } from './app.po'; +import { browser, logging } from 'protractor'; + +describe('workspace-project App', () => { + let page: AppPage; + + beforeEach(() => { + page = new AppPage(); + }); + + it('should display welcome message', () => { + page.navigateTo(); + expect(page.getTitleText()).toEqual(''); + }); + + afterEach(async () => { + // Assert that there are no errors emitted from the browser + const logs = await browser.manage().logs().get(logging.Type.BROWSER); + expect(logs).not.toContain(jasmine.objectContaining({ + level: logging.Level.SEVERE, + } as logging.Entry)); + }); +}); diff --git a/digital-future-summit/e2e/src/app.po.ts b/digital-future-summit/e2e/src/app.po.ts new file mode 100644 index 0000000..7d57112 --- /dev/null +++ b/digital-future-summit/e2e/src/app.po.ts @@ -0,0 +1,11 @@ +import { browser, by, element } from 'protractor'; + +export class AppPage { + navigateTo(): Promise { + return browser.get(browser.baseUrl) as Promise; + } + + getTitleText(): Promise { + return element(by.css('app-root')).getText() as Promise; + } +} diff --git a/digital-future-summit/e2e/tsconfig.json b/digital-future-summit/e2e/tsconfig.json new file mode 100644 index 0000000..97f75e1 --- /dev/null +++ b/digital-future-summit/e2e/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../out-tsc/e2e", + "module": "commonjs", + "target": "es2015", + "types": [ + "jasmine", + "jasminewd2", + "node" + ] + } +} diff --git a/digital-future-summit/karma.conf.js b/digital-future-summit/karma.conf.js new file mode 100644 index 0000000..e38f272 --- /dev/null +++ b/digital-future-summit/karma.conf.js @@ -0,0 +1,36 @@ +// Karma configuration file, see link for more information +// https://karma-runner.github.io/1.0/config/configuration-file.html + +module.exports = function (config) { + config.set({ + basePath: '', + frameworks: ['jasmine', '@angular-devkit/build-angular'], + plugins: [ + require('karma-jasmine'), + require('karma-chrome-launcher'), + require('karma-jasmine-html-reporter'), + require('karma-coverage'), + require('@angular-devkit/build-angular/plugins/karma') + ], + client: { + clearContext: false // leave Jasmine Spec Runner output visible in browser + }, + coverageReporter: { + dir: require('path').join(__dirname, './coverage/ng-webdpt'), + subdir: '.', + reporters: [ + { type: 'html' }, + { type: 'lcovonly' }, + { type: 'text-summary' } + ] + }, + reporters: ['progress', 'kjhtml'], + port: 9876, + colors: true, + logLevel: config.LOG_INFO, + autoWatch: true, + browsers: ['ChromeHeadless'], + singleRun: false, + restartOnFileChange: true + }); +}; diff --git a/digital-future-summit/ngcc.config.js b/digital-future-summit/ngcc.config.js new file mode 100644 index 0000000..797961a --- /dev/null +++ b/digital-future-summit/ngcc.config.js @@ -0,0 +1,10 @@ +module.exports = { + packages: { + '@webdpt/components': { + ignorableDeepImportMatchers: [ + /ng-quicksilver\/date-picker\/standard-types/, + /iv-viewer\// + ] + } + }, +}; diff --git a/digital-future-summit/ngsw-config.json b/digital-future-summit/ngsw-config.json new file mode 100644 index 0000000..9e2ce5b --- /dev/null +++ b/digital-future-summit/ngsw-config.json @@ -0,0 +1,39 @@ +{ + "index": "/index.html", + "assetGroups": [ + { + "name": "app", + "installMode": "lazy", + "resources": { + "files": [ + "/favicon.ico", + "/index.html", + "/*.css", + "/*.js" + ] + } + }, { + "name": "assets", + "installMode": "lazy", + "updateMode": "lazy", + "resources": { + "files": [ + "/assets/**", + "!/assets/**/*.json" + ] + } + } + ], + "dataGroups": [ + { + "name": "app", + "urls": ["**"], + "cacheConfig": { + "strategy": "freshness", + "maxSize": 0, + "maxAge": "0u", + "timeout": "3s" + } + } + ] +} diff --git a/digital-future-summit/package.json b/digital-future-summit/package.json new file mode 100644 index 0000000..9cff333 --- /dev/null +++ b/digital-future-summit/package.json @@ -0,0 +1,127 @@ +{ + "name": "ng-webdpt", + "version": "0.0.0", + "license": "MIT", + "scripts": { + "postinstall": "npx patch-package@6.5.1 && ngcc", + "ng": "ng", + "start": "node --max_old_space_size=5120 ./node_modules/@angular/cli/bin/ng serve", + "start-prod": "ng serve --configuration production", + "build": "ng build", + "test": "node --max_old_space_size=5120 ./node_modules/@angular/cli/bin/ng test", + "framework-test": "ng test @webdpt/framework --code-coverage --watch", + "components-test": "ng test @webdpt/components --code-coverage --watch", + "mfa-app-test": "ng test @webdpt/mfa-app --code-coverage --watch", + "lint": "ng lint ng-webdpt", + "e2e": "ng e2e", + "buildCss": "node themeCssBuild", + "generate-i18n-files": "ngx-translate-extract -i ./src -o ./src/i18n/default-en.json --clean --sort --format namespaced-json", + "build-prod": "node --max_old_space_size=5120 ./node_modules/@angular/cli/bin/ng build --configuration production && node node_modules/@webdpt/scripts/builds/replace-sw.js && npm run dw-zip", + "doc:build": "compodoc -p src/tsconfig.app.json -d ./doc", + "doc:serve": "compodoc -s -r 4201 -d ./doc", + "doc:buildandserve": "compodoc -p ./tsconfig.json -s -r 4201 -d ./doc", + "sonar": "sonar-scanner", + "gmc": "node node_modules/@webdpt/scripts/builds/generate.js", + "dw-zip": "node node_modules/@webdpt/scripts/builds/dw-zip.js" + }, + "private": true, + "dependencies": { + "@angular-architects/module-federation": "^12.2.0", + "@angular/animations": "12.2.16", + "@angular/cdk": "^12.1.0", + "@angular/common": "12.2.16", + "@angular/compiler": "12.2.16", + "@angular/core": "12.2.16", + "@angular/forms": "12.2.16", + "@angular/platform-browser": "12.2.16", + "@angular/platform-browser-dynamic": "12.2.16", + "@angular/router": "12.2.16", + "@angular/service-worker": "12.2.16", + "@ant-design/icons-angular": "^12.0.3", + "@ng-dynamic-forms/core": "^14.0.0", + "@ngx-translate/core": "^13.0.0", + "@ngx-translate/http-loader": "^6.0.0", + "@types/requirejs": "^2.1.31", + "@webdpt/analytics": "5.2.11-1000", + "@webdpt/components": "5.2.11-1000", + "@webdpt/framework-js": "5.2.11-1000", + "@webdpt/framework": "5.2.11-1000", + "@webdpt/iv-viewer": "2.0.1", + "@webdpt/programs": "5.2.11-1000", + "ag-grid-angular": "^26.0.0", + "ag-grid-community": "^26.0.0", + "angular-gridster2": "^12.0.0", + "angular-in-memory-web-api": "^0.9.0", + "axios": "^1.4.0", + "classlist.js": "1.1.20150312", + "core-js": "^3.8.0", + "crypto-js": "^3.1.9-1", + "date-fns": "^2.10.0", + "fast-deep-equal": "^3.1.3", + "i18next": "^22.5.1", + "injection-js": "^2.4.0", + "jsencrypt": "^3.0.0-rc.1", + "moment": "2.24.0", + "ng-zorro-antd": "https://repo.digiwincloud.com.cn/maven/repository/npm-webdpt/ng-zorro-antd/-/ng-zorro-antd-12.1.1-1000.tgz", + "ngx-color": "5.1.3", + "ngx-highlightjs": "^2.1.1", + "ngx-mask": "^12.0.0", + "resize-observer-polyfill": "^1.5.1", + "rrule": "2.6.0", + "rxjs": "~6.6.0", + "sonarqube-scanner": "^2.4.1", + "tslint-sonarts": "^1.9.0", + "web-animations-js": "^2.3.2" + }, + "devDependencies": { + "@angular-devkit/build-angular": "12.2.16", + "@angular-devkit/core": "12.2.16", + "@angular-devkit/schematics": "12.2.16", + "@angular-devkit/schematics-cli": "12.2.16", + "@angular-eslint/builder": "^12.7.0", + "@angular-eslint/eslint-plugin": "^12.7.0", + "@angular-eslint/eslint-plugin-template": "^12.7.0", + "@angular-eslint/schematics": "^12.7.0", + "@angular-eslint/template-parser": "^12.7.0", + "@angular/cli": "12.2.16", + "@angular/compiler-cli": "12.2.16", + "@angular/language-service": "12.2.16", + "@biesbjerg/ngx-translate-extract": "^2.3.4", + "@compodoc/compodoc": "^1.1.3", + "@phenomnomnominal/tsquery": "^4.1.0", + "@schematics/angular": "12.2.16", + "@schematics/update": "0.1102.12", + "@types/jasmine": "~3.6.0", + "@types/jasminewd2": "~2.0.3", + "@types/node": "^12.11.1", + "@typescript-eslint/eslint-plugin": "4.28.2", + "@typescript-eslint/parser": "4.28.2", + "@webdpt/schematics": "5.2.11-1000", + "@webdpt/scripts": "5.2.11-1000", + "@webdpt/tslint-rules": "5.2.11-1000", + "archiver": "5.3.1", + "codelyzer": "^6.0.0", + "commander": "^5.1.0", + "cpx": "^1.5.0", + "eslint": "^7.26.0", + "inquirer": "^7.3.0", + "jasmine-core": "~3.8.0", + "jasmine-spec-reporter": "~5.0.0", + "karma": "~6.3.15", + "karma-chrome-launcher": "~3.1.0", + "karma-coverage": "~2.0.3", + "karma-jasmine": "~4.0.0", + "karma-jasmine-html-reporter": "^1.5.0", + "less": "^3.10.3", + "ng-packagr": "^12.1.1", + "protractor": "~7.0.0", + "qs": "^6.11.2", + "raw-loader": "0.5.1", + "ts-node": "~7.0.0", + "tslib": "^2.0.0", + "tslint": "~6.1.0", + "typescript": "~4.3.5", + "webpack-bundle-analyzer": "^3.7.0", + "zone.js": "~0.11.4" + } +} \ No newline at end of file diff --git a/digital-future-summit/patches/@schematics+update+0.1102.12.patch b/digital-future-summit/patches/@schematics+update+0.1102.12.patch new file mode 100644 index 0000000..fca13c5 --- /dev/null +++ b/digital-future-summit/patches/@schematics+update+0.1102.12.patch @@ -0,0 +1,24 @@ +diff --git a/node_modules/@schematics/update/migrate/schema.json b/node_modules/@schematics/update/migrate/schema.json +index 58fca36..257ee01 100644 +--- a/node_modules/@schematics/update/migrate/schema.json ++++ b/node_modules/@schematics/update/migrate/schema.json +@@ -1,6 +1,6 @@ + { + "$schema": "http://json-schema.org/schema", +- "id": "PostUpdateSchema", ++ "$id": "PostUpdateSchema", + "type": "object", + "properties": { + "package": { +diff --git a/node_modules/@schematics/update/update/schema.json b/node_modules/@schematics/update/update/schema.json +index d921b9d..465cf9e 100644 +--- a/node_modules/@schematics/update/update/schema.json ++++ b/node_modules/@schematics/update/update/schema.json +@@ -1,6 +1,6 @@ + { + "$schema": "http://json-schema.org/schema", +- "id": "SchematicsUpdateSchema", ++ "$id": "SchematicsUpdateSchema", + "title": "Schematic Options Schema", + "type": "object", + "properties": { diff --git a/digital-future-summit/project.config.json b/digital-future-summit/project.config.json new file mode 100644 index 0000000..4bbf593 --- /dev/null +++ b/digital-future-summit/project.config.json @@ -0,0 +1,9 @@ +{ + "envType": "angular", + "dap": { + "enabled": true + }, + "athena": { + "enabled": false + } +} \ No newline at end of file diff --git a/digital-future-summit/projects/webdpt/webdpt-packages/.gitkeep b/digital-future-summit/projects/webdpt/webdpt-packages/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/.browserslistrc b/digital-future-summit/src/.browserslistrc new file mode 100644 index 0000000..1d9234a --- /dev/null +++ b/digital-future-summit/src/.browserslistrc @@ -0,0 +1,20 @@ +# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. +# For additional information regarding the format and rule options, please see: +# https://github.com/browserslist/browserslist#queries + +# You can see what browsers were selected by your queries by running: +# npx browserslist + +#> 0.5% +#last 2 versions +#Firefox ESR +#not dead +#not IE 9-11 # For IE 9-11 support, remove 'not'. + +last 1 Chrome version +last 1 Firefox version +last 2 Edge major versions +last 2 Safari major versions +last 2 iOS major versions +Firefox ESR +not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line. diff --git a/digital-future-summit/src/app/app-routing.module.ts b/digital-future-summit/src/app/app-routing.module.ts new file mode 100644 index 0000000..7a7f575 --- /dev/null +++ b/digital-future-summit/src/app/app-routing.module.ts @@ -0,0 +1,35 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; + +import { PageNotFoundComponent } from './page-not-found.component'; + +const routes: Routes = [ + { + path: '', + pathMatch: 'prefix', + loadChildren: (): Promise => import('./implementation/implementation.module').then(m => m.ImplementationModule) + }, + { + path: '**', + component: PageNotFoundComponent + } +]; + + +@NgModule({ + imports: [ + RouterModule.forRoot( + routes, + { relativeLinkResolution: 'legacy' } + // , { enableTracing: true } // debugging purposes only + ), + ], + declarations: [ + PageNotFoundComponent + ], + exports: [ + RouterModule + ] +}) +export class AppRoutingModule { +} diff --git a/digital-future-summit/src/app/app.component.css b/digital-future-summit/src/app/app.component.css new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/app/app.component.spec.ts b/digital-future-summit/src/app/app.component.spec.ts new file mode 100644 index 0000000..11336b2 --- /dev/null +++ b/digital-future-summit/src/app/app.component.spec.ts @@ -0,0 +1,29 @@ +import { TestBed, waitForAsync } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import { DwLanguageService } from '@webdpt/framework/language'; +import { of } from 'rxjs/internal/observable/of'; +import { AppComponent } from './app.component'; +describe('AppComponent', () => { + beforeEach(waitForAsync(() => { + TestBed.configureTestingModule({ + imports: [ + RouterTestingModule + ], + providers: [ + { provide: DwLanguageService, useValue: { + currentLanguage: 'zh_TW', + setUp: (lan: string): void => { }, + language$: of('zh_TW') + } } + ], + declarations: [ + AppComponent + ], + }).compileComponents(); + })); + it('should create the app', waitForAsync(() => { + const fixture = TestBed.createComponent(AppComponent); + const app = fixture.debugElement.componentInstance; + expect(app).toBeTruthy(); + })); +}); diff --git a/digital-future-summit/src/app/app.component.ts b/digital-future-summit/src/app/app.component.ts new file mode 100644 index 0000000..9bf8c2f --- /dev/null +++ b/digital-future-summit/src/app/app.component.ts @@ -0,0 +1,13 @@ +import { Component } from '@angular/core'; +import { DwLanguageService } from '@webdpt/framework/language'; + +@Component({ + selector: 'app-root', + template: ` + + `, + styleUrls: ['./app.component.css'] +}) +export class AppComponent { + constructor(langService: DwLanguageService) {} +} diff --git a/digital-future-summit/src/app/app.module.ts b/digital-future-summit/src/app/app.module.ts new file mode 100644 index 0000000..ad8a1ea --- /dev/null +++ b/digital-future-summit/src/app/app.module.ts @@ -0,0 +1,42 @@ +import { BrowserModule } from "@angular/platform-browser"; +import { NgModule } from "@angular/core"; +import { HttpClientJsonpModule, HttpClientModule } from "@angular/common/http"; +import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; + +import { AppComponent } from "./app.component"; +import { AppRoutingModule } from "./app-routing.module"; +import { FrameworkModule } from "@webdpt/framework"; +import { FrameworkUICoreModule } from "@webdpt/components/providers"; +import { DwServiceWorkerModule } from "@webdpt/framework/service-worker"; +import { DwDapModule } from "@webdpt/framework/dap"; +import { DwProgramsModule } from "@webdpt/programs"; +import { ImplementationModule } from "./implementation/implementation.module"; +import { SYSTEM_CONFIG } from "./config/system-config"; +import { SystemModule } from "./config/system.module"; +import { environment } from "../environments/environment"; + +@NgModule({ + imports: [ + BrowserModule, + BrowserAnimationsModule, + AppRoutingModule, + HttpClientModule, + HttpClientJsonpModule, + /** ************* 端平台 ***************/ + FrameworkModule.forRoot([], SYSTEM_CONFIG), + FrameworkUICoreModule.forRoot(), + // --------------------------------------------------------- + // | 選配 + // --------------------------------------------------------- + DwDapModule, // DAP平台 + // DwProgramsModule, // 平台作業 + + SystemModule.forRoot([]), + ImplementationModule.forRoot([]), + // DwServiceWorkerModule.forRoot(60 * 60 * 1000, environment.production), + ], + declarations: [AppComponent], + providers: [], + bootstrap: [AppComponent], +}) +export class AppModule {} diff --git a/digital-future-summit/src/app/config/app-auth-token.ts b/digital-future-summit/src/app/config/app-auth-token.ts new file mode 100644 index 0000000..43c5f82 --- /dev/null +++ b/digital-future-summit/src/app/config/app-auth-token.ts @@ -0,0 +1,9 @@ +/* eslint-disable quotes */ +/** + * IAM 的 digi-middleware-auth-app [各應用系統的AppToken]. + */ +// eslint-disable-next-line max-len +export const DigiMiddlewareAuthApp = + "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IkF0aGVuYSIsInNpZCI6MTYzNjc3NzI1NzgyNTkyfQ.3QLTPVKsk2Mp3j_aQ3X8bQW1wCJMNWeCkL6VPoK352c"; +// export const DigiMiddlewareAuthUser = "981dc293-8ccd-470f-9e36-99ba30af1324"; +export const DigiMiddlewareAuthUser = "66f9ca43-efdc-4f35-b7a1-fc56852ba3a6"; diff --git a/digital-future-summit/src/app/config/system-config.ts b/digital-future-summit/src/app/config/system-config.ts new file mode 100644 index 0000000..5cf3b61 --- /dev/null +++ b/digital-future-summit/src/app/config/system-config.ts @@ -0,0 +1,62 @@ +import { DigiMiddlewareAuthApp } from './app-auth-token'; +import { IDWDmcUserInfo } from '@webdpt/framework/config'; + +// 開發環境變數 +export const SYSTEM_CONFIG: IAppConfig = { + dwAppId: 'Athena', + dwAppName: '数智未来峰会', + defaultApp: '/', + dwLogoPath: './assets/img/dwLogo.svg', + dwDateFormat: 'yyyy/MM/dd', + dwTimeFormat: 'HH:mm:ss', + dwUsingTab: false, + dwTabMultiOpen: false, + defaultLogin: '/login', + dwAppAuthToken: DigiMiddlewareAuthApp, + dwLoadMaskHttp: true, + dwLoadMaskDelay: 0, + dwDmcUserInfo: { + username: '', + password: '' + }, + dwTabStoreStrategy: 'session' +}; + +export interface IAppConfig { + dwAppId: string; // Application ID(對應到互聯應用管理中心) + dwAppName: string; // Application NAME(對應到互聯應用管理中心) + defaultApp: string; // 首頁路徑 + dwLogoPath: string; // Logo圖檔路徑 + dwDateFormat: string; // 日期格式 + dwTimeFormat: string; // 時間格式 + dwUsingTab: boolean; // 是否啟用多頁佈局 + dwTabMultiOpen: boolean; // 多頁佈局預設是否可重覆開啟作業 + defaultLogin: string; // 登入頁路徑 + dwAppAuthToken: string; // IAM 的 digi-middleware-auth-app [各應用系統的AppToken]. + dwLoadMaskHttp: boolean; // HTTP加載遮罩是否啟用 + dwLoadMaskDelay: number; // 延遲顯示加載效果的時間毫秒 + dwDmcUserInfo: IDWDmcUserInfo; // 文檔中心的登入帳密 + dwTabStoreStrategy?: 'session' | 'local' | 'none'; // 多頁籤儲存策略 +} + +function loadJSON(filePath: string): any { + const json = loadTextFileAjaxSync(filePath, 'application/json'); + const obj = JSON.parse(json); + return obj; +} + +function loadTextFileAjaxSync(filePath: string, mimeType: string): string { + const xmlhttp = new XMLHttpRequest(); + xmlhttp.open('GET', filePath, false); + if (mimeType != null) { + if (xmlhttp.overrideMimeType) { + xmlhttp.overrideMimeType(mimeType); + } + } + xmlhttp.send(); + if (xmlhttp.status === 200) { + return xmlhttp.responseText; + } else { + return null; + } +} diff --git a/digital-future-summit/src/app/config/system.module.ts b/digital-future-summit/src/app/config/system.module.ts new file mode 100644 index 0000000..68ac801 --- /dev/null +++ b/digital-future-summit/src/app/config/system.module.ts @@ -0,0 +1,35 @@ +import { ModuleWithProviders, NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { Provider } from '@angular/compiler/src/core'; + +import { DwMockModule } from '@webdpt/framework/mock'; +import { DW_MOCK, DW_APP_AUTH_TOKEN } from '@webdpt/framework/config'; +import { environment } from '../../environments/environment'; +import { DigiMiddlewareAuthApp } from './app-auth-token'; + + +@NgModule({ + imports: [ + CommonModule, + DwMockModule + ], + declarations: [] +}) +export class SystemModule { + static forRoot(providers: Provider[]): ModuleWithProviders { + return { + ngModule: SystemModule, + providers: [ + { + provide: DW_MOCK, + useValue: environment.mock + }, + { + provide: DW_APP_AUTH_TOKEN, + useValue: DigiMiddlewareAuthApp + }, + ...providers + ] + }; + } +} diff --git a/digital-future-summit/src/app/customization/customization-routes.ts b/digital-future-summit/src/app/customization/customization-routes.ts new file mode 100644 index 0000000..f57a513 --- /dev/null +++ b/digital-future-summit/src/app/customization/customization-routes.ts @@ -0,0 +1,11 @@ +import { Routes } from '@angular/router'; + +import { IMPLEMENTATION_ROUTES } from '../implementation/implementation-routes'; + + +export const CUSTOMIZATION_ROUTES: Routes = [ + // 設定客製應用模組路由 + + // 應用開發應用模組路由 + ...IMPLEMENTATION_ROUTES +]; diff --git a/digital-future-summit/src/app/customization/customization-routing.module.ts b/digital-future-summit/src/app/customization/customization-routing.module.ts new file mode 100644 index 0000000..a2fa112 --- /dev/null +++ b/digital-future-summit/src/app/customization/customization-routing.module.ts @@ -0,0 +1,10 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +const routes: Routes = []; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class CustomizationRoutingModule { } diff --git a/digital-future-summit/src/app/customization/customization.module.ts b/digital-future-summit/src/app/customization/customization.module.ts new file mode 100644 index 0000000..793cdd9 --- /dev/null +++ b/digital-future-summit/src/app/customization/customization.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { CustomizationRoutingModule } from './customization-routing.module'; + +@NgModule({ + imports: [ + CommonModule, + CustomizationRoutingModule + ], + declarations: [] +}) +export class CustomizationModule { } diff --git a/digital-future-summit/src/app/customization/style/index.less b/digital-future-summit/src/app/customization/style/index.less new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/app/implementation/auth/forget/forget-routing.module.ts b/digital-future-summit/src/app/implementation/auth/forget/forget-routing.module.ts new file mode 100644 index 0000000..2e7a50f --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/forget/forget-routing.module.ts @@ -0,0 +1,26 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; + +import { ForgetComponent } from './forget.component'; + +const routes: Routes = [ + { + path: '', + component: ForgetComponent, + pathMatch: 'prefix', + data: { + dwRouteData: { + programId: 'dw-forget' + } + } + } +]; + +@NgModule({ + imports: [ + RouterModule.forChild(routes) + ], + exports: [RouterModule] +}) +export class ForgetRoutingModule { +} diff --git a/digital-future-summit/src/app/implementation/auth/forget/forget.component.css b/digital-future-summit/src/app/implementation/auth/forget/forget.component.css new file mode 100644 index 0000000..46a1c97 --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/forget/forget.component.css @@ -0,0 +1,20 @@ +.forget-bg { + background-color: rgba(0, 21, 41, 1); + min-height: 100vh; +} + +.forget-logo { + margin-bottom: 10px; + padding-top: 100px; +} + +.forget-copyright { + text-align: center; + padding-bottom: 1rem; +} +.forget-copyright span { + font-size: 14px; +} +span { + color: white; +} diff --git a/digital-future-summit/src/app/implementation/auth/forget/forget.component.html b/digital-future-summit/src/app/implementation/auth/forget/forget.component.html new file mode 100644 index 0000000..cc9f5d6 --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/forget/forget.component.html @@ -0,0 +1,19 @@ +
+
+
+
+
+
+ + +
+
+
+
+ +
+
diff --git a/digital-future-summit/src/app/implementation/auth/forget/forget.component.spec.ts b/digital-future-summit/src/app/implementation/auth/forget/forget.component.spec.ts new file mode 100644 index 0000000..baf1209 --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/forget/forget.component.spec.ts @@ -0,0 +1,82 @@ +import { Component, Injectable, Input, Pipe, PipeTransform } from '@angular/core'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import { TranslatePipe, TranslateService } from '@ngx-translate/core'; +import { DwForgetModule } from '@webdpt/components/user/forget-block'; +import { Logo_Path } from '@webdpt/framework/config'; +import { Observable } from 'rxjs/internal/Observable'; +import { of } from 'rxjs/internal/observable/of'; +import { ForgetComponent } from './forget.component'; +import { ForgetModule } from './forget.module'; + +describe('ForgetComponent', () => { + let component: ForgetComponent; + let fixture: ComponentFixture; + + beforeEach(waitForAsync(() => { + TestBed.configureTestingModule({ + imports: [ + ForgetModule, + RouterTestingModule + ], + providers: [ + { provide: TranslateService, useClass: TranslateServiceStub }, + { provide: TranslatePipe, useClass: TranslatePipeMock }, + { provide: Logo_Path, useValue: '/mock-logo-path' } + ], + declarations: [ForgetComponent] + }) + .overrideModule(DwForgetModule, + { + set: { + imports: [], + declarations: [MockDwForgetBlockComponent], + exports: [MockDwForgetBlockComponent] + } + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ForgetComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); +@Pipe({ + name: 'translate' +}) +export class TranslatePipeMock implements PipeTransform { + public name = 'translate'; + + public transform(query: string, ...args: any[]): any { + return query; + } +} + +@Injectable() +export class TranslateServiceStub { + public instant(key: string, interpolateParams?: Object): string { + return key; + } + public get(key: T): Observable { + return of(key); + } + public onTranslationChange = of({ lang: 'TW' }); + public onLangChange = of({ translations: null }); + public onDefaultLangChange = of(true); + public currentLang = 'zh_TW'; +} +@Component({ + selector: 'dw-forget-block', + template: ` +
MockDwForgetBlockComponent
+ ` +}) +export class MockDwForgetBlockComponent { + @Input() verificationType: any; +} diff --git a/digital-future-summit/src/app/implementation/auth/forget/forget.component.ts b/digital-future-summit/src/app/implementation/auth/forget/forget.component.ts new file mode 100644 index 0000000..07059d5 --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/forget/forget.component.ts @@ -0,0 +1,26 @@ +import { Component, Inject, OnInit } from '@angular/core'; +import { Logo_Path } from '@webdpt/framework/config'; +import { IDwForgetverificationType } from '@webdpt/framework/account'; + +@Component({ + selector: 'app-forget', + templateUrl: './forget.component.html', + styleUrls: ['./forget.component.css'] +}) +export class ForgetComponent implements OnInit { + verificationType: Array = []; + + constructor( + @Inject(Logo_Path) public dwLogoPath: string + ) { } + + ngOnInit(): void { + this.verificationType = [ + IDwForgetverificationType.EMAIL, + IDwForgetverificationType.MOBILEPHONE + ]; + + } + + +} diff --git a/digital-future-summit/src/app/implementation/auth/forget/forget.module.ts b/digital-future-summit/src/app/implementation/auth/forget/forget.module.ts new file mode 100644 index 0000000..560bbea --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/forget/forget.module.ts @@ -0,0 +1,25 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { SharedModule } from '../../shared/shared.module'; +import { ForgetRoutingModule } from './forget-routing.module'; +import { ForgetComponent } from './forget.component'; +import { DwForgetModule } from '@webdpt/components/user/forget-block'; +import { NzGridModule } from 'ng-zorro-antd/grid'; +import { TranslateModule } from '@ngx-translate/core'; + + +@NgModule({ + imports: [ + CommonModule, + ForgetRoutingModule, + SharedModule, + DwForgetModule, + NzGridModule, + TranslateModule + ], + declarations: [ + ForgetComponent + ] +}) +export class ForgetModule { } diff --git a/digital-future-summit/src/app/implementation/auth/login-routing.module.ts b/digital-future-summit/src/app/implementation/auth/login-routing.module.ts new file mode 100644 index 0000000..9640d92 --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/login-routing.module.ts @@ -0,0 +1,34 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; + +import { LoginComponent } from './login/login.component'; + +const routes: Routes = [ + { + path: '', + component: LoginComponent, + pathMatch: 'prefix', + data: { + dwRouteData: { + programId: 'dw-login' + } + } + }, + // { + // path: 'register', + // component: RegisterComponent + // }, + // { + // path: 'forgot', + // component: ForgotComponent + // } +]; + +@NgModule({ + imports: [ + RouterModule.forChild(routes) + ], + exports: [RouterModule] +}) +export class LoginRoutingModule { +} diff --git a/digital-future-summit/src/app/implementation/auth/login.module.ts b/digital-future-summit/src/app/implementation/auth/login.module.ts new file mode 100644 index 0000000..5e6632e --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/login.module.ts @@ -0,0 +1,24 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { SharedModule } from '../shared/shared.module'; +import { LoginRoutingModule } from './login-routing.module'; +import { LoginComponent } from './login/login.component'; +import { DwLoginModule } from '@webdpt/components/login'; +import { NzGridModule } from 'ng-zorro-antd/grid'; +import { TranslateModule } from '@ngx-translate/core'; + +@NgModule({ + imports: [ + CommonModule, + LoginRoutingModule, + SharedModule, + DwLoginModule, + NzGridModule, + TranslateModule + ], + declarations: [ + LoginComponent + ] +}) +export class LoginModule { } diff --git a/digital-future-summit/src/app/implementation/auth/login/login.component.css b/digital-future-summit/src/app/implementation/auth/login/login.component.css new file mode 100644 index 0000000..65992d2 --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/login/login.component.css @@ -0,0 +1,30 @@ +.login-bg { + background-color: rgba(0, 21, 41, 1); + height: 100%; + padding-top: 100px; +} + +.login-logo { + margin-bottom: 10px; +} +.login-form { + min-width: 250px; +} + +.login-form-forgot { + float: right; +} + +.login-form-button { + width: 100%; +} + +.login-copyright { + text-align: center; +} +.login-copyright span { + font-size: 14px; +} +span { + color: white; +} diff --git a/digital-future-summit/src/app/implementation/auth/login/login.component.html b/digital-future-summit/src/app/implementation/auth/login/login.component.html new file mode 100644 index 0000000..2f44221 --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/login/login.component.html @@ -0,0 +1,19 @@ + diff --git a/digital-future-summit/src/app/implementation/auth/login/login.component.spec.ts b/digital-future-summit/src/app/implementation/auth/login/login.component.spec.ts new file mode 100644 index 0000000..9862a8f --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/login/login.component.spec.ts @@ -0,0 +1,84 @@ +import { Component, Injectable, Input, Pipe, PipeTransform } from '@angular/core'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import { TranslatePipe, TranslateService } from '@ngx-translate/core'; +import { DwLoginModule } from '@webdpt/components/login'; +import { Logo_Path } from '@webdpt/framework/config'; +import { Observable } from 'rxjs/internal/Observable'; +import { of } from 'rxjs/internal/observable/of'; +import { LoginModule } from '../login.module'; + +import { LoginComponent } from './login.component'; + +describe('LoginComponent', () => { + let component: LoginComponent; + let fixture: ComponentFixture; + + beforeEach(waitForAsync(() => { + TestBed.configureTestingModule({ + imports: [ + LoginModule, + RouterTestingModule + ], + providers: [ + { provide: TranslateService, useClass: TranslateServiceStub }, + { provide: TranslatePipe, useClass: TranslatePipeMock }, + { provide: Logo_Path, useValue: '/mock-logo-path' } + ], + declarations: [LoginComponent] + }) + .overrideModule(DwLoginModule, { + set: { + imports: [], + declarations: [MockLoginComponent], + exports: [MockLoginComponent] + } + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(LoginComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); +@Pipe({ + name: 'translate' +}) +export class TranslatePipeMock implements PipeTransform { + public name = 'translate'; + + public transform(query: string, ...args: any[]): any { + return query; + } +} + +@Injectable() +export class TranslateServiceStub { + public instant(key: string, interpolateParams?: Object): string { + return key; + } + public get(key: T): Observable { + return of(key); + } + public onTranslationChange = of({ lang: 'TW' }); + public onLangChange = of({ translations: null }); + public onDefaultLangChange = of(true); + public currentLang = 'zh_TW'; +} +@Component({ + selector: 'dw-login-block', + template: ` +
mockLoginComponent
+ ` +}) +export class MockLoginComponent { + @Input() showRemember; + @Input() showLanguage; +} + diff --git a/digital-future-summit/src/app/implementation/auth/login/login.component.ts b/digital-future-summit/src/app/implementation/auth/login/login.component.ts new file mode 100644 index 0000000..97b6b76 --- /dev/null +++ b/digital-future-summit/src/app/implementation/auth/login/login.component.ts @@ -0,0 +1,16 @@ +import { Component, Inject, OnInit } from '@angular/core'; +import { Logo_Path } from '@webdpt/framework/config'; + +@Component({ + selector: 'app-login', + templateUrl: './login.component.html', + styleUrls: ['./login.component.css'] +}) +export class LoginComponent { + + constructor( + @Inject(Logo_Path) public dwLogoPath: string, + ) { } + + +} diff --git a/digital-future-summit/src/app/implementation/home/home-routing.module.ts b/digital-future-summit/src/app/implementation/home/home-routing.module.ts new file mode 100644 index 0000000..42f9608 --- /dev/null +++ b/digital-future-summit/src/app/implementation/home/home-routing.module.ts @@ -0,0 +1,26 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +import { DwAuthGuardService } from '@webdpt/framework/auth'; +import { DwDefaultAppGuardService } from '@webdpt/framework/program-info'; +import { HomeComponent } from './home.component'; + +const routes: Routes = [ + { + path: '', + component: HomeComponent, + pathMatch: 'prefix', + canActivate: [DwAuthGuardService, DwDefaultAppGuardService], + data: { + dwRouteData: { + programId: 'home' + } + } + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class HomeRoutingModule { } diff --git a/digital-future-summit/src/app/implementation/home/home.component.css b/digital-future-summit/src/app/implementation/home/home.component.css new file mode 100644 index 0000000..dc50b1e --- /dev/null +++ b/digital-future-summit/src/app/implementation/home/home.component.css @@ -0,0 +1,6 @@ +::ng-deep .dw-f-header { + display: none; +} +::ng-deep .dw-f-menusider { + display: none; +} diff --git a/digital-future-summit/src/app/implementation/home/home.component.html b/digital-future-summit/src/app/implementation/home/home.component.html new file mode 100644 index 0000000..f7f6ef4 --- /dev/null +++ b/digital-future-summit/src/app/implementation/home/home.component.html @@ -0,0 +1,3 @@ +

+ home works! +

\ No newline at end of file diff --git a/digital-future-summit/src/app/implementation/home/home.component.ts b/digital-future-summit/src/app/implementation/home/home.component.ts new file mode 100644 index 0000000..6047461 --- /dev/null +++ b/digital-future-summit/src/app/implementation/home/home.component.ts @@ -0,0 +1,28 @@ +/* eslint-disable quotes */ +import { Component, OnInit } from "@angular/core"; +import { DwSsoService } from "@webdpt/framework"; +import { DigiMiddlewareAuthApp } from "../../../app/config/app-auth-token"; +@Component({ + selector: "app-home", + templateUrl: "./home.component.html", + styleUrls: ["./home.component.css"], +}) +export class HomeComponent implements OnInit { + constructor(private ssoService: DwSsoService) {} + userToken: string; + // eslint-disable-next-line @angular-eslint/use-lifecycle-interface + ngOnInit() { + const _this = this; + } + toLink() { + // const url = + // "http://PCC_MECH2-test.apps.digiwincloud.com.cn/sso-login?userToken=981dc293-8ccd-470f-9e36-99ba30af1324"; + const url = + "https://athena-test.digiwincloud.com.cn/sso-login?userToken=" + + this.userToken; + // const url = + // "https://athena-dev-platform-test.digiwincloud.com.cn/sso-login?userToken=981dc293-8ccd-470f-9e36-99ba30af1324"; + // console.log("url", url); + window.open(url); + } +} diff --git a/digital-future-summit/src/app/implementation/home/home.module.ts b/digital-future-summit/src/app/implementation/home/home.module.ts new file mode 100644 index 0000000..806493f --- /dev/null +++ b/digital-future-summit/src/app/implementation/home/home.module.ts @@ -0,0 +1,12 @@ +import { NgModule } from "@angular/core"; +import { CommonModule } from "@angular/common"; + +import { SharedModule } from "../shared/shared.module"; +import { HomeRoutingModule } from "./home-routing.module"; +import { HomeComponent } from "./home.component"; + +@NgModule({ + imports: [CommonModule, SharedModule, HomeRoutingModule], + declarations: [HomeComponent], +}) +export class HomeModule {} diff --git a/digital-future-summit/src/app/implementation/implementation-routes.ts b/digital-future-summit/src/app/implementation/implementation-routes.ts new file mode 100644 index 0000000..1256cc3 --- /dev/null +++ b/digital-future-summit/src/app/implementation/implementation-routes.ts @@ -0,0 +1,23 @@ +/* eslint-disable quotes */ +import { Routes } from "@angular/router"; + +export const IMPLEMENTATION_ROUTES: Routes = [ + // 設定應用開發應用模組路由 + // { + // path: "", // 首頁 + // // eslint-disable-next-line quotes + // pathMatch: "prefix", + // loadChildren: (): Promise => + // import("./programs/large-home/large-home.module").then( + // (m) => m.LargeHomeModule + // ), + // }, + // { + // path: "", // 新的路由 + // pathMatch: "prefix", + // loadChildren: (): any => + // import("./programs/large-home/large-home.module").then( + // (m) => m.LargeHomeModule + // ), + // }, +]; diff --git a/digital-future-summit/src/app/implementation/implementation-routing.module.ts b/digital-future-summit/src/app/implementation/implementation-routing.module.ts new file mode 100644 index 0000000..5932844 --- /dev/null +++ b/digital-future-summit/src/app/implementation/implementation-routing.module.ts @@ -0,0 +1,46 @@ +/* eslint-disable quotes */ +import { NgModule } from "@angular/core"; +import { RouterModule, Routes } from "@angular/router"; +import { MODULE_ROUTES } from "../routes"; +import { DwLayoutDefaultComponent } from "@webdpt/components/layout"; +import { DwSsoLoginComponent } from "@webdpt/components/sso-login"; +import { LayoutComponent } from "./layout/layout.component"; +import { + DwAuthGuardService, + DwDefaultAppGuardService, +} from "@webdpt/framework"; +const routes: Routes = [ + { + path: "", + pathMatch: "prefix", + component: LayoutComponent, + canActivate: [DwAuthGuardService, DwDefaultAppGuardService], // 登录拦截 + children: [...MODULE_ROUTES], + data: { + tabSetHosting: true, + }, + }, + { + path: "login", + pathMatch: "full", + loadChildren: (): Promise => + import("./auth/login.module").then((m) => m.LoginModule), + }, + { + path: "forget", + pathMatch: "full", + loadChildren: (): Promise => + import("./auth/forget/forget.module").then((m) => m.ForgetModule), + }, + { + path: "sso-login", + pathMatch: "full", + component: DwSsoLoginComponent, + }, +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule], +}) +export class ImplementationRoutingModule {} diff --git a/digital-future-summit/src/app/implementation/implementation.module.ts b/digital-future-summit/src/app/implementation/implementation.module.ts new file mode 100644 index 0000000..0ac0ca5 --- /dev/null +++ b/digital-future-summit/src/app/implementation/implementation.module.ts @@ -0,0 +1,77 @@ +import { NgModule, ModuleWithProviders } from "@angular/core"; +import { CommonModule } from "@angular/common"; +import { Provider } from "@angular/compiler/src/core"; +import { HTTP_INTERCEPTORS } from "@angular/common/http"; + +import { + DW_MENU_JSON, + DW_PROGRAM_JSON, + DW_TAB_ROUTE_CONFIG_JSON, + DW_LANGUAGE_JSON, +} from "@webdpt/framework/config"; +import { DW_PROGRAM_PAGE, DW_PROGRAM_ACTION } from "@webdpt/framework/config"; +import { DwHttpApiInterceptor } from "@webdpt/framework/http"; +import { ImplementationRoutingModule } from "./implementation-routing.module"; +import { SharedModule } from "./shared/shared.module"; +import { menuJson } from "./menu/model/menu.config"; +import { programInfoJson } from "./program-info/model/program.config"; +import { programPageInfoJson } from "./program-info/model/program-page.config"; +import { programActionInfoJson } from "./program-info/model/program-action.config"; +import { tabRouteConfigJson } from "./tab-route/model/tab-route-config"; +import { languageList } from "./language/model/language.config"; +import { openSelectModalDefault } from "./shared/select-modal/default"; +import { openOrgTreeModalDefault } from "./shared/organize-tree-modal/default"; +import { DW_SELECT_MODAL_DEFAULT } from "@webdpt/components/modals/select"; +import { DW_ORGTREE_MODAL_DEFAULT } from "@webdpt/framework/organize-tree-core"; +import { LayoutComponent } from "./layout/layout.component"; +// import { themeConfig } from '../config/theme.config'; +import { DwMainLayoutModule } from "@webdpt/components/layout"; + +@NgModule({ + imports: [ + CommonModule, + ImplementationRoutingModule, + SharedModule, // 共享模組 + DwMainLayoutModule, + ], + declarations: [LayoutComponent], + providers: [], +}) +export class ImplementationModule { + static forRoot( + providers: Provider[] + ): ModuleWithProviders { + return { + ngModule: ImplementationModule, + providers: [ + // --------------------------------------------------------- + // | 選配 + // --------------------------------------------------------- + // 靜態設定檔 + // { provide: DW_THEME, useValue: themeConfig }, // 主題設定檔 + { provide: DW_MENU_JSON, useValue: menuJson }, // Menu靜態設定檔 + { provide: DW_LANGUAGE_JSON, useValue: languageList }, // 可用語言清單 + { provide: DW_PROGRAM_JSON, useValue: programInfoJson }, // 作業靜態設定檔 + { provide: DW_PROGRAM_PAGE, useValue: programPageInfoJson }, // 作業子頁面設定檔 + { provide: DW_PROGRAM_ACTION, useValue: programActionInfoJson }, // 作業功能設定檔 + { provide: DW_TAB_ROUTE_CONFIG_JSON, useValue: tabRouteConfigJson }, // 多頁佈局預設開啟作業 + { provide: DW_SELECT_MODAL_DEFAULT, useValue: openSelectModalDefault }, // 開窗服務的共用設定值 + { + provide: DW_ORGTREE_MODAL_DEFAULT, + useValue: openOrgTreeModalDefault, + }, // 組織人員樹開窗元件 + + // Http API 攔截器 + DwHttpApiInterceptor, + { + provide: HTTP_INTERCEPTORS, + // 用來替換api的網址 + // request.url = '/users'; => request.url = 'http://api/users'; + useExisting: DwHttpApiInterceptor, + multi: true, + }, + ...providers, + ], + }; + } +} diff --git a/digital-future-summit/src/app/implementation/language/model/language.config.ts b/digital-future-summit/src/app/implementation/language/model/language.config.ts new file mode 100644 index 0000000..c2ea917 --- /dev/null +++ b/digital-future-summit/src/app/implementation/language/model/language.config.ts @@ -0,0 +1,15 @@ +// 可用語言清單靜態設定檔 +export const languageList = [ + { + 'value': 'en_US', + 'label': 'English' + }, + { + 'value': 'zh_CN', + 'label': '简体' + }, + { + 'value': 'zh_TW', + 'label': '繁體' + } +]; diff --git a/digital-future-summit/src/app/implementation/layout/layout.component.html b/digital-future-summit/src/app/implementation/layout/layout.component.html new file mode 100644 index 0000000..d3b3dae --- /dev/null +++ b/digital-future-summit/src/app/implementation/layout/layout.component.html @@ -0,0 +1,66 @@ + + +
+ + +
+
+
+ 零部件云 +
+
+
+
+
+
+ 数据中台 +
+
+
+
+ chatFile +
+
+
+
+ 知识中台 +
+
+
+
+ 智驱工作台 +
+
+ +
+
+ AIOT +
+
+
+
+ 装备云 +
+
+
+
+
+
+ E10 +
+
+
+
+ T100 +
+
+
+
diff --git a/digital-future-summit/src/app/implementation/layout/layout.component.less b/digital-future-summit/src/app/implementation/layout/layout.component.less new file mode 100644 index 0000000..c4e2e2e --- /dev/null +++ b/digital-future-summit/src/app/implementation/layout/layout.component.less @@ -0,0 +1,159 @@ +/deep/.dw-f-header { + // display: none; + box-shadow: none; +} +/deep/.dw-f-menusider { + display: none; +} +/deep/.dw-f-header .dw-header-left { + display: none; +} +/deep/.dw-f-header .dw-header-right .dw-f-header-item { + display: none; +} +/deep/.dw-header-icon { + position: fixed; + right: 10px; + color: #fff; +} +/deep/nz-layout.ant-layout { + display: inline-block; +} +.layout-box { + position: relative; + width: 100%; + height: 100%; + overflow: hidden; + background-image: url("../../../assets/img/new-bg.jpg"); + background-repeat: no-repeat; + background-size: cover; + background-position: center; + .top-box { + // background: rgba(0, 0, 0, 0.5); + width: 85%; + height: 10%; + position: absolute; + display: flex; + justify-content: flex-end; + box-sizing: border-box; + left: 0; + top: 16%; + /* bottom: 0; */ + right: 0; + margin: auto; + } + .top-system-content { + width: 80px; + height: 80px; + box-shadow: 2px 2px 4px rgba(124, 199, 243, 0.6); + // opacity: 0.6; + border-radius: 40px; + background: rgba(0, 0, 0, 0.5); + margin: 5px; + padding: 10px; + font-weight: bold; + display: flex; + text-align: center; + justify-content: flex-start; + align-items: center; + cursor: pointer; + } + .center-box { + // background: rgba(0, 0, 0, 0.5); + width: 60%; + height: 50%; + position: absolute; + display: flex; + justify-content: space-between; + box-sizing: border-box; + left: 0; + top: 20%; + bottom: 0; + right: 0; + margin: auto; + } + + .system-content { + width: 80px; + height: 80px; + box-shadow: 2px 2px 4px rgba(124, 199, 243, 0.6); + // opacity: 0.6; + border-radius: 40px; + background: rgba(0, 0, 0, 0.5); + margin: 5px; + padding: 10px; + font-weight: bold; + display: flex; + text-align: left; + justify-content: flex-start; + align-items: center; + cursor: pointer; + .div-position7 { + right: 5%; + position: absolute; + top: 35%; + } + } + .div-position1 { + left: 20%; + position: absolute; + top: 20%; + } + .div-position2 { + position: absolute; + right: 20%; + top: 20%; + } + .div-position3 { + right: 22%; + position: absolute; + top: 46%; + } + .div-position4 { + left: 24%; + position: absolute; + top: 46%; + } + .div-position5 { + left: 7%; + position: absolute; + top: 32%; + } + .div-position6 { + right: 5%; + position: absolute; + top: 35%; + } + .bottom-box { + // background: rgba(245, 186, 186, 0.5); + width: 60%; + height: 100px; + position: absolute; + display: flex; + justify-content: flex-start; + box-sizing: border-box; + left: 0; + bottom: 5%; + right: 0; + margin: auto; + } + .bottom-system-content { + width: 80px; + height: 80px; + box-shadow: 2px 2px 4px rgba(124, 199, 243, 0.6); + // opacity: 0.6; + border-radius: 40px; + background: rgba(0, 0, 0, 0.5); + margin: 5px; + padding: 10px; + font-weight: bold; + display: flex; + text-align: center; + justify-content: flex-start; + align-items: center; + cursor: pointer; + } +} +// .system-content:hover .system-box { +// transform: scale(1.1); /* 鼠标悬停时放大1.1倍 */ +// } diff --git a/digital-future-summit/src/app/implementation/layout/layout.component.ts b/digital-future-summit/src/app/implementation/layout/layout.component.ts new file mode 100644 index 0000000..f3cbd7e --- /dev/null +++ b/digital-future-summit/src/app/implementation/layout/layout.component.ts @@ -0,0 +1,140 @@ +/* eslint-disable quotes */ +import { systemList } from "./system"; +// import { DwHttpApiInterceptor } from "@webdpt/framework/http"; +/* eslint-disable quotes */ +import { Component, OnInit } from "@angular/core"; +import { + DigiMiddlewareAuthApp, + DigiMiddlewareAuthUser, +} from "app/config/app-auth-token"; +import { CommonService } from "../service/common.service"; +@Component({ + selector: "app-layout", + templateUrl: "./layout.component.html", + styleUrls: ["./layout.component.less"], +}) +export class LayoutComponent implements OnInit { + // 登出: https://iam-test.digiwincloud.com.cn/api/iam/v2/identity/logout + userToken: string; + systemList = {}; + user_info = { + userId: "", // 当前用户账号 + tenantId: "", // 当前用户租户id + productKey: "", // json字段的头部 + }; + queryDisplayList: any; + constructor(private commonService: CommonService) {} + ngOnInit(): void { + this.systemList = systemList; + this.getSystem(); + } + toLinkSystem(type?) { + // 1. 通过获取user_token获取单点登录链接 + // 请求获取user_token + switch (type) { + case "DMP": + this.getUserToken(type, this.systemList["T100bs"]); + break; + case "chatFile": + this.getUserToken(type, this.systemList["chatFile"]); + break; + case "KMO": + this.getUserToken(type, this.systemList["KMO"]); + break; + case "EIP": + this.getUserToken(type, this.systemList["EIP"]); + break; + case "AIOT": + this.getUserToken(type, this.systemList["AIOT"]); + break; + case "equipmentCloud": + this.getUserToken(type, this.systemList["equipmentCloud"]); + break; + case "partsCloud": + this.getUserToken(type, this.systemList["partsCloud"]); + break; + case "E10229": + this.getUserToken(type, this.systemList["E10229"]); + break; + case "T100bs": + this.getUserToken(type, this.systemList["T100bs"]); + break; + } + } + /** + * 通过请求queryDisplayList接口登录 + */ + getSystem() { + const headers = { + "Digi-Middleware-Auth-App": DigiMiddlewareAuthApp, + "Digi-Middleware-Auth-User": DigiMiddlewareAuthUser, + }; + this.commonService + .getRequestWithHeaders( + "https://semc.apps.digiwincloud.com.cn/tenant/semc/applink/queryDisplayList", + headers + ) + .then((res) => { + this.queryDisplayList = res.response; + console.log("queryDisplayList", this.queryDisplayList); + }) + .catch((error) => console.error(error)); + } + /** + * 通过tenantId获取用户token + */ + async getUserToken(type, item) { + if (item.ssoLogin) { + // 单点登录跳转 queryDisplayList接口的数据 底部 e10 t100 + console.log("单点登录跳转录的方式", type); + const queryDisplayList = this.queryDisplayList.filter((arr) => { + return arr.code === type; + }); + // console.log("cloudwebsite", queryDisplayList[0]["cloudwebsite"]); + window.open(queryDisplayList[0]["cloudwebsite"]); + } else if (item.mockLogin) { + console.log("模拟登录的方式", type); + // 通过书康哥接口请求 模拟登录 + const DwUserInfo = JSON.parse(sessionStorage.getItem("DwUserInfo")); + console.log("DwUserInfo", DwUserInfo); + this.user_info.userId = DwUserInfo["userId"]; + this.user_info.tenantId = DwUserInfo["tenantId"]; + this.user_info.productKey = type; + console.log("user_info", this.user_info); + const getUrl = + "https://demo-athenaopt.apps.digiwincloud.com.cn/restful/standard/demo/api/default/login"; + this.commonService + .postWithHeaders(getUrl, this.user_info, {}) + .then((res) => { + // console.log("res", res); + if (res && res.response) { + this.userToken = res.response.user_token; + const url = item.url + "/sso-login?userToken=" + this.userToken; + window.open(url); + } + }); + } else { + console.log("切换租户的方式", type); + // 接口 refresh/tenant 切换租户方式 + const getUrl = + this.commonService.iamUrl + "/api/iam/v2/identity/token/refresh/tenant"; + console.log("iamUrl", this.commonService.iamUrl); + const headers = { + "Digi-Middleware-Auth-App": DigiMiddlewareAuthApp, + "Digi-Middleware-Auth-User": DigiMiddlewareAuthUser, + }; + const data = { + tenantSid: item.sid, + }; + this.userToken = await this.commonService + .postWithHeaders(getUrl, data, headers) + .then((res) => { + // console.log("res", res); + return res.user_token; + }); + let url = ""; + url = item.url + "/sso-login?userToken=" + this.userToken; + window.open(url); + } + } +} diff --git a/digital-future-summit/src/app/implementation/layout/system.ts b/digital-future-summit/src/app/implementation/layout/system.ts new file mode 100644 index 0000000..a2486d3 --- /dev/null +++ b/digital-future-summit/src/app/implementation/layout/system.ts @@ -0,0 +1,76 @@ +/* eslint-disable quotes */ +export const systemList = { + DMP: { + title: "数据中台", + sid: 150269977879104, + id: "zhoujg", + name: "鼎捷集团售前", + url: "https://dmp-dmf-hw-ys.digiwincloud.com.cn", + mockLogin: false, + ssoLogin: false, + }, + chatFile: { + title: "chatFile", + sid: 610301619790400, + id: "ShanghaiWorldExpo", + name: "ChatFile演示", + url: "https://kcf.apps.digiwincloud.com.cn", + mockLogin: false, + ssoLogin: false, + }, + KMO: { + title: "知识中台", + sid: 610301619790400, + id: "ShanghaiWorldExpo", + name: "ChatFile演示", + url: "https://kcf.apps.digiwincloud.com.cn", + mockLogin: false, + ssoLogin: false, + }, + EIP: { + title: "智驱工作台", + sid: 821224928908288, + id: "digiwinSummit", + name: "数智未来峰会", + url: "https://athena.digiwincloud.com.cn", + mockLogin: false, + ssoLogin: false, + }, + AIOT: { + title: "AIOT", + sid: 190963220054592, + id: "zhoujg999", + name: "鼎鼎塑料集团", + url: "https://console.digiwincloud.com.cn", + mockLogin: false, + ssoLogin: false, + }, + equipmentCloud: { + title: "装备云", + sid: 821224928908288, + id: "digiwinSummit", + name: "数智未来峰会", + url: "https://athena.digiwincloud.com.cn", + mockLogin: false, + ssoLogin: false, + }, + partsCloud: { + title: "零部件云", + sid: 821224928908288, + id: "digiwinSummit", + name: "数智未来峰会", + url: "https://athena.digiwincloud.com.cn", + mockLogin: true, + ssoLogin: false, + }, + E10229: { + title: "E10", + mockLogin: false, + ssoLogin: true, + }, + T100bs: { + title: "T100", + mockLogin: false, + ssoLogin: true, + }, +}; diff --git a/digital-future-summit/src/app/implementation/menu/model/menu.config.ts b/digital-future-summit/src/app/implementation/menu/model/menu.config.ts new file mode 100644 index 0000000..82150db --- /dev/null +++ b/digital-future-summit/src/app/implementation/menu/model/menu.config.ts @@ -0,0 +1,5 @@ +import { menuData } from './menu.model'; // Menu靜態設定檔 + +export const menuJson = [ + ...menuData +]; diff --git a/digital-future-summit/src/app/implementation/menu/model/menu.model.ts b/digital-future-summit/src/app/implementation/menu/model/menu.model.ts new file mode 100644 index 0000000..e5dbc61 --- /dev/null +++ b/digital-future-summit/src/app/implementation/menu/model/menu.model.ts @@ -0,0 +1 @@ +export const menuData = []; diff --git a/digital-future-summit/src/app/implementation/program-info/model/program-action.config.ts b/digital-future-summit/src/app/implementation/program-info/model/program-action.config.ts new file mode 100644 index 0000000..a040812 --- /dev/null +++ b/digital-future-summit/src/app/implementation/program-info/model/program-action.config.ts @@ -0,0 +1,6 @@ +import { programActionData } from './program-action.model'; + + +export const programActionInfoJson = [ + ...programActionData // ProgramAction靜態設定檔 +]; diff --git a/digital-future-summit/src/app/implementation/program-info/model/program-action.model.ts b/digital-future-summit/src/app/implementation/program-info/model/program-action.model.ts new file mode 100644 index 0000000..8bfeba3 --- /dev/null +++ b/digital-future-summit/src/app/implementation/program-info/model/program-action.model.ts @@ -0,0 +1 @@ +export const programActionData = []; diff --git a/digital-future-summit/src/app/implementation/program-info/model/program-page.config.ts b/digital-future-summit/src/app/implementation/program-info/model/program-page.config.ts new file mode 100644 index 0000000..bf81e0c --- /dev/null +++ b/digital-future-summit/src/app/implementation/program-info/model/program-page.config.ts @@ -0,0 +1,6 @@ +import { programPageData } from './program-page.model'; + + +export const programPageInfoJson = [ + ...programPageData // ProgramPage靜態設定檔 +]; diff --git a/digital-future-summit/src/app/implementation/program-info/model/program-page.model.ts b/digital-future-summit/src/app/implementation/program-info/model/program-page.model.ts new file mode 100644 index 0000000..1026693 --- /dev/null +++ b/digital-future-summit/src/app/implementation/program-info/model/program-page.model.ts @@ -0,0 +1 @@ +export const programPageData = []; diff --git a/digital-future-summit/src/app/implementation/program-info/model/program.config.ts b/digital-future-summit/src/app/implementation/program-info/model/program.config.ts new file mode 100644 index 0000000..c53bfdf --- /dev/null +++ b/digital-future-summit/src/app/implementation/program-info/model/program.config.ts @@ -0,0 +1,5 @@ +import { programData } from './program.model'; + +export const programInfoJson = [ + ...programData, // Program靜態設定檔 +]; diff --git a/digital-future-summit/src/app/implementation/program-info/model/program.model.ts b/digital-future-summit/src/app/implementation/program-info/model/program.model.ts new file mode 100644 index 0000000..a5401ee --- /dev/null +++ b/digital-future-summit/src/app/implementation/program-info/model/program.model.ts @@ -0,0 +1,8 @@ +export const programData = [ + { + 'id': 'home', + 'module': 'root', // 沒有模組歸屬不做模組切分,不上傳到IAM做權限控管 + 'type': '', + 'routerLink': '/' + }, +]; diff --git a/digital-future-summit/src/app/implementation/programs/.gitkeep b/digital-future-summit/src/app/implementation/programs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home-routing.module.ts b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home-routing.module.ts new file mode 100644 index 0000000..d08131b --- /dev/null +++ b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home-routing.module.ts @@ -0,0 +1,41 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; +import { LagrgeHomeComponent } from './lagrge-home.component'; +import { DwLanguageService } from '@webdpt/framework/language'; +import { DwAuthGuardService } from '@webdpt/framework/auth'; + +const routes: Routes = [ + { + path: '', + pathMatch: 'prefix', + canActivate: [DwAuthGuardService], + data: { + dwRouteData: { + programId: 'lagrge-home', + dwAuthId: 'lagrge-home' + } + }, + resolve: { + transaction: DwLanguageService + }, + children: [ + { + path: "", + pathMatch: "prefix", + component: LagrgeHomeComponent, + canActivate: [DwAuthGuardService], + data: { + dwRouteData: { + dwAuthId: 'lagrge-home', + } + } + } + ] + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class LagrgeHomeRoutingModule { } diff --git a/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.html b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.html new file mode 100644 index 0000000..4834ea1 --- /dev/null +++ b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.html @@ -0,0 +1,3 @@ +
+ 自定义 +
diff --git a/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.less b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.less new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.spec.ts b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.spec.ts new file mode 100644 index 0000000..228f199 --- /dev/null +++ b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LagrgeHomeComponent } from './lagrge-home.component'; + +describe('LagrgeHomeComponent', () => { + let component: LagrgeHomeComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ LagrgeHomeComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(LagrgeHomeComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.ts b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.ts new file mode 100644 index 0000000..6986b5a --- /dev/null +++ b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-lagrge-home', + templateUrl: './lagrge-home.component.html', + styleUrls: ['./lagrge-home.component.less'] +}) +export class LagrgeHomeComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.module.ts b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.module.ts new file mode 100644 index 0000000..46fc9f7 --- /dev/null +++ b/digital-future-summit/src/app/implementation/programs/large-home/lagrge-home/lagrge-home.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { LagrgeHomeRoutingModule } from './lagrge-home-routing.module'; +import { LagrgeHomeComponent } from './lagrge-home.component'; + + +@NgModule({ + declarations: [ + LagrgeHomeComponent + ], + imports: [ + CommonModule, + LagrgeHomeRoutingModule + ] +}) +export class LagrgeHomeModule { } diff --git a/digital-future-summit/src/app/implementation/programs/large-home/large-home-routing.module.ts b/digital-future-summit/src/app/implementation/programs/large-home/large-home-routing.module.ts new file mode 100644 index 0000000..3382ee4 --- /dev/null +++ b/digital-future-summit/src/app/implementation/programs/large-home/large-home-routing.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +const routes: Routes = [ + { + path: 'lagrge-home', loadChildren: () => import('./lagrge-home/lagrge-home.module').then(m => m.LagrgeHomeModule) + }]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class LargeHomeRoutingModule { } diff --git a/digital-future-summit/src/app/implementation/programs/large-home/large-home.module.ts b/digital-future-summit/src/app/implementation/programs/large-home/large-home.module.ts new file mode 100644 index 0000000..84ed60c --- /dev/null +++ b/digital-future-summit/src/app/implementation/programs/large-home/large-home.module.ts @@ -0,0 +1,18 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { LargeHomeRoutingModule } from './large-home-routing.module'; + +const programsModules = [ + +]; + +@NgModule({ + imports: [ + CommonModule, + LargeHomeRoutingModule, + ...programsModules + ], + declarations: [] +}) +export class LargeHomeModule { } diff --git a/digital-future-summit/src/app/implementation/service/common.service.ts b/digital-future-summit/src/app/implementation/service/common.service.ts new file mode 100644 index 0000000..bccf18c --- /dev/null +++ b/digital-future-summit/src/app/implementation/service/common.service.ts @@ -0,0 +1,117 @@ +/* eslint-disable quotes */ +import { HttpClient } from "@angular/common/http"; +import { Inject, Injectable } from "@angular/core"; +import { Observable } from "rxjs"; +import { DwSystemConfigService } from "@webdpt/framework/config"; +import { DW_AUTH_TOKEN } from "@webdpt/framework/auth"; + +@Injectable({ providedIn: "root" }) +export class CommonService { + atdmUrl: string; + bpmUrl: string; + atmcUrl: any; + frcUrl: any; + eocUrl: any; + iamUrl: any; + themeMapUrl: any; + pageData: any; + // 记录机制的content参数 + content: any; + uibotUrl: string; + isDisabled: boolean; + caLqsUrl: string; + constructor( + @Inject(DW_AUTH_TOKEN) protected authToken: any, + private http: HttpClient, + private configService: DwSystemConfigService + ) { + this.configService.get("atdmUrl").subscribe((url: string): void => { + this.atdmUrl = url; + }); + this.configService.get("bpmUrl").subscribe((url): void => { + this.bpmUrl = url; + }); + this.configService.get("atmcUrl").subscribe((url): void => { + this.atmcUrl = url; + }); + this.configService.get("frcUrl").subscribe((url): void => { + this.frcUrl = url; + }); + this.configService.get("eocUrl").subscribe((url): void => { + this.eocUrl = url; + }); + this.configService.get("uibotUrl").subscribe((url: string): void => { + this.uibotUrl = url; + }); + this.configService.get("caLqsUrl").subscribe((url: string): void => { + this.caLqsUrl = url; + // console.log("caLqsUrl", this.caLqsUrl); + }); + this.configService.get("iamUrl").subscribe((url: string): void => { + this.iamUrl = url; + console.log("iamUrl", this.iamUrl); + }); + } + + getHeader(): any { + if (this.authToken?.token) { + return { + "digi-middleware-auth-user": this.authToken.token, + token: this.authToken.token, + }; + } + return {}; + } + /** + * + * @param url + * @param data + * @param headers + * @returns + */ + postWithHeaders(url, data, headers) { + headers = headers || {}; + headers["Content-Type"] = "application/json"; // 设置默认的Content-Type + const options = { + method: "POST", + headers: headers, + body: JSON.stringify(data), + }; + + return fetch(url, options) + .then((response) => { + if (response.ok) { + return response.json(); + } + throw new Error("请求出错!"); + }) + .catch((error) => { + console.error("请求出错!", error); + throw error; + }); + } + /** + * + * @param url + * @param headers + * @returns + */ + getRequestWithHeaders(url, headers) { + return fetch(url, { + method: "GET", + headers: headers, + }) + .then((response) => { + if (!response.ok) { + throw new Error("Network response was not ok " + response.statusText); + } + return response.json(); + }) + .catch((error) => { + console.error( + "There has been a problem with your fetch operation:", + error + ); + }); + } +} diff --git a/digital-future-summit/src/app/implementation/shared/organize-tree-modal/default.ts b/digital-future-summit/src/app/implementation/shared/organize-tree-modal/default.ts new file mode 100644 index 0000000..1f6d0bc --- /dev/null +++ b/digital-future-summit/src/app/implementation/shared/organize-tree-modal/default.ts @@ -0,0 +1,4 @@ +import { IDwOrgTreeDefault } from '@webdpt/framework/organize-tree-core'; +import { NzTreeNode } from 'ng-zorro-antd/tree'; + +export const openOrgTreeModalDefault: IDwOrgTreeDefault = {}; diff --git a/digital-future-summit/src/app/implementation/shared/select-modal/default.ts b/digital-future-summit/src/app/implementation/shared/select-modal/default.ts new file mode 100644 index 0000000..fc08412 --- /dev/null +++ b/digital-future-summit/src/app/implementation/shared/select-modal/default.ts @@ -0,0 +1,20 @@ +import { IDwSelectModalCustomizeConfig } from '@webdpt/components/modals/select'; + +export const openSelectModalDefault: IDwSelectModalCustomizeConfig = { + modalTitle: 'default', // modal 標題. + modalWidth: '80%', // modal 寬度. + modalOkText: 'dw-determine', // 確認按鈕文字. + modalCancelText: 'dw-cancel', // 取消按鈕文字. + tableIdField: '', // 使用的 id 欄位. + tableNameField: '', // 使用的 name 欄位. + tableColDefs: [], // 表格欄位定義. + tableMultiSelect: true, // 多選或單選. + tableShowTag: true, // 是否顯示下方的 tag. + tableIsFilter: true, // 是否提供搜尋. + tablePageSize: 3, // 每頁展示多少數據,可雙向繫結. + tableShowPagination: true, // 是否顯示分頁器. + tableShowSizeChanger: true, // 是否可以改變 dwPageSize. + tableNoResult: '', // 無數據時顯示內容, 空值則使用預設值. + tablePageSizeOptions: [5, 10, 15, 20], // 頁數選擇器可選值. + dataSource: null // 資料源 service. +}; diff --git a/digital-future-summit/src/app/implementation/shared/shared.module.ts b/digital-future-summit/src/app/implementation/shared/shared.module.ts new file mode 100644 index 0000000..7c55c3b --- /dev/null +++ b/digital-future-summit/src/app/implementation/shared/shared.module.ts @@ -0,0 +1,24 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { DwExceptionModule } from '@webdpt/components/exception'; + +/** + * 共享模組 + * + * @export + * @class SharedModule + */ +@NgModule({ + imports: [ + CommonModule, + FormsModule, + ReactiveFormsModule + ], + exports: [ + FormsModule, + ReactiveFormsModule, + DwExceptionModule + ] +}) +export class SharedModule { } diff --git a/digital-future-summit/src/app/implementation/style/index.less b/digital-future-summit/src/app/implementation/style/index.less new file mode 100644 index 0000000..ffa2b3b --- /dev/null +++ b/digital-future-summit/src/app/implementation/style/index.less @@ -0,0 +1 @@ +@import './variable.less'; diff --git a/digital-future-summit/src/app/implementation/style/variable.less b/digital-future-summit/src/app/implementation/style/variable.less new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/app/implementation/tab-route/model/tab-route-config.ts b/digital-future-summit/src/app/implementation/tab-route/model/tab-route-config.ts new file mode 100644 index 0000000..2b1c018 --- /dev/null +++ b/digital-future-summit/src/app/implementation/tab-route/model/tab-route-config.ts @@ -0,0 +1,10 @@ +// 多頁佈局預設開啟作業 +export const tabRouteConfigJson = [ + { + 'id': 'home', + 'canClose': false, + 'defaultOpen': true, + 'canMultiOpen': false, + 'iconClass': 'dwType:home' + } +]; diff --git a/digital-future-summit/src/app/implementation/tools-routing-wrapper.module.ts b/digital-future-summit/src/app/implementation/tools-routing-wrapper.module.ts new file mode 100644 index 0000000..08faa80 --- /dev/null +++ b/digital-future-summit/src/app/implementation/tools-routing-wrapper.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; + +import { DwToolsRoutingModule } from '@webdpt/components/tools-routing'; +import { SharedModule } from './shared/shared.module'; +import { DwCmsRoutingModule } from '@webdpt/programs'; + +@NgModule({ + imports: [ + SharedModule, // 專案的共享模組 + DwToolsRoutingModule, // 平台組件的預設路由模組 + // --------------------------------------------------------- + // | 選配 + // --------------------------------------------------------- + // DwCmsRoutingModule // 平台作業路由 + ] +}) +export class ToolsRoutingWrapper { } diff --git a/digital-future-summit/src/app/industry/industry-routing.module.ts b/digital-future-summit/src/app/industry/industry-routing.module.ts new file mode 100644 index 0000000..c35e880 --- /dev/null +++ b/digital-future-summit/src/app/industry/industry-routing.module.ts @@ -0,0 +1,10 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +const routes: Routes = []; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class IndustryRoutingModule { } diff --git a/digital-future-summit/src/app/industry/industry.module.ts b/digital-future-summit/src/app/industry/industry.module.ts new file mode 100644 index 0000000..b133026 --- /dev/null +++ b/digital-future-summit/src/app/industry/industry.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { IndustryRoutingModule } from './industry-routing.module'; + +@NgModule({ + imports: [ + CommonModule, + IndustryRoutingModule + ], + declarations: [] +}) +export class IndustryModule { } diff --git a/digital-future-summit/src/app/page-not-found.component.ts b/digital-future-summit/src/app/page-not-found.component.ts new file mode 100644 index 0000000..e32ef0d --- /dev/null +++ b/digital-future-summit/src/app/page-not-found.component.ts @@ -0,0 +1,12 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-prog001', + template: `

404

` +}) +export class PageNotFoundComponent { + + constructor() { } + + +} diff --git a/digital-future-summit/src/app/routes.ts b/digital-future-summit/src/app/routes.ts new file mode 100644 index 0000000..b4e066d --- /dev/null +++ b/digital-future-summit/src/app/routes.ts @@ -0,0 +1,12 @@ +import { Routes } from '@angular/router'; + +import { CUSTOMIZATION_ROUTES } from './customization/customization-routes'; + +export const MODULE_ROUTES: Routes = [ + { + path: 'dpt', // 路徑為/dpt/* + pathMatch: 'prefix', + loadChildren: (): Promise => import('./implementation/tools-routing-wrapper.module').then(m => m.ToolsRoutingWrapper) + }, + ...CUSTOMIZATION_ROUTES +]; diff --git a/digital-future-summit/src/app/style.less b/digital-future-summit/src/app/style.less new file mode 100644 index 0000000..1877254 --- /dev/null +++ b/digital-future-summit/src/app/style.less @@ -0,0 +1,6 @@ +/* You can add global styles to this file, and also import other style files */ +@webdpt-path: "@webdpt"; +@import "~@{webdpt-path}/components/style/index.less"; +@import "~@{webdpt-path}/programs/style/index.less"; +@import './implementation/style/index.less'; +@import './customization/style/index.less'; diff --git a/digital-future-summit/src/assets/api.dev.json b/digital-future-summit/src/assets/api.dev.json new file mode 100644 index 0000000..52a7096 --- /dev/null +++ b/digital-future-summit/src/assets/api.dev.json @@ -0,0 +1,19 @@ +{ + "apiUrl": "@WEB_SERVICE_URL@", + "iamUrl":"https://iam.digiwincloud.com.cn", + "emcUrl": "@EMC_SERVICE_URL@", + "omUrl": "@OM_URL@", + "consoleUrl": "@CONSOLE_URL@", + "marketUrl": "@MARKET_URL@", + "omcUrl": "@OMC_SERVICE_URL@", + "gmcUrl": "@GMC_SERVICE_URL@", + "cacUrl": "@CAC_SERVICE_URL@", + "frUrl": "@FINEREPORT_URL@", + "dmcUrl": "@DMC_SERVICE_URL@", + "analytics": { + "gtm": "@ANALYTICS_GTM@", + "baidu": "@ANALYTICS_BAIDU@" + }, + "multiTenant": "true", + "dwAppSecret": "@DW_APP_SECRET@" +} diff --git a/digital-future-summit/src/assets/api.json b/digital-future-summit/src/assets/api.json new file mode 100644 index 0000000..52a7096 --- /dev/null +++ b/digital-future-summit/src/assets/api.json @@ -0,0 +1,19 @@ +{ + "apiUrl": "@WEB_SERVICE_URL@", + "iamUrl":"https://iam.digiwincloud.com.cn", + "emcUrl": "@EMC_SERVICE_URL@", + "omUrl": "@OM_URL@", + "consoleUrl": "@CONSOLE_URL@", + "marketUrl": "@MARKET_URL@", + "omcUrl": "@OMC_SERVICE_URL@", + "gmcUrl": "@GMC_SERVICE_URL@", + "cacUrl": "@CAC_SERVICE_URL@", + "frUrl": "@FINEREPORT_URL@", + "dmcUrl": "@DMC_SERVICE_URL@", + "analytics": { + "gtm": "@ANALYTICS_GTM@", + "baidu": "@ANALYTICS_BAIDU@" + }, + "multiTenant": "true", + "dwAppSecret": "@DW_APP_SECRET@" +} diff --git a/digital-future-summit/src/assets/i18n/en_US/basic.json b/digital-future-summit/src/assets/i18n/en_US/basic.json new file mode 100644 index 0000000..b1d1ff7 --- /dev/null +++ b/digital-future-summit/src/assets/i18n/en_US/basic.json @@ -0,0 +1,5 @@ +{ + "prog": { + "lagrge-home": "lagrge-home" + } +} \ No newline at end of file diff --git a/digital-future-summit/src/assets/i18n/en_US/lagrge-home.json b/digital-future-summit/src/assets/i18n/en_US/lagrge-home.json new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/assets/i18n/zh_CN/basic.json b/digital-future-summit/src/assets/i18n/zh_CN/basic.json new file mode 100644 index 0000000..d13376c --- /dev/null +++ b/digital-future-summit/src/assets/i18n/zh_CN/basic.json @@ -0,0 +1,5 @@ +{ + "prog": { + "lagrge-home": "大屏首页" + } +} \ No newline at end of file diff --git a/digital-future-summit/src/assets/i18n/zh_CN/lagrge-home.json b/digital-future-summit/src/assets/i18n/zh_CN/lagrge-home.json new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/assets/i18n/zh_TW/basic.json b/digital-future-summit/src/assets/i18n/zh_TW/basic.json new file mode 100644 index 0000000..0306040 --- /dev/null +++ b/digital-future-summit/src/assets/i18n/zh_TW/basic.json @@ -0,0 +1,5 @@ +{ + "prog": { + "lagrge-home": "大屏首頁" + } +} \ No newline at end of file diff --git a/digital-future-summit/src/assets/i18n/zh_TW/lagrge-home.json b/digital-future-summit/src/assets/i18n/zh_TW/lagrge-home.json new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/assets/icons/icon-128x128.png b/digital-future-summit/src/assets/icons/icon-128x128.png new file mode 100644 index 0000000..9f9241f Binary files /dev/null and b/digital-future-summit/src/assets/icons/icon-128x128.png differ diff --git a/digital-future-summit/src/assets/icons/icon-144x144.png b/digital-future-summit/src/assets/icons/icon-144x144.png new file mode 100644 index 0000000..4a5f8c1 Binary files /dev/null and b/digital-future-summit/src/assets/icons/icon-144x144.png differ diff --git a/digital-future-summit/src/assets/icons/icon-152x152.png b/digital-future-summit/src/assets/icons/icon-152x152.png new file mode 100644 index 0000000..34a1a8d Binary files /dev/null and b/digital-future-summit/src/assets/icons/icon-152x152.png differ diff --git a/digital-future-summit/src/assets/icons/icon-192x192.png b/digital-future-summit/src/assets/icons/icon-192x192.png new file mode 100644 index 0000000..9172e5d Binary files /dev/null and b/digital-future-summit/src/assets/icons/icon-192x192.png differ diff --git a/digital-future-summit/src/assets/icons/icon-384x384.png b/digital-future-summit/src/assets/icons/icon-384x384.png new file mode 100644 index 0000000..e54e8d3 Binary files /dev/null and b/digital-future-summit/src/assets/icons/icon-384x384.png differ diff --git a/digital-future-summit/src/assets/icons/icon-512x512.png b/digital-future-summit/src/assets/icons/icon-512x512.png new file mode 100644 index 0000000..51ee297 Binary files /dev/null and b/digital-future-summit/src/assets/icons/icon-512x512.png differ diff --git a/digital-future-summit/src/assets/icons/icon-72x72.png b/digital-future-summit/src/assets/icons/icon-72x72.png new file mode 100644 index 0000000..2814a3f Binary files /dev/null and b/digital-future-summit/src/assets/icons/icon-72x72.png differ diff --git a/digital-future-summit/src/assets/icons/icon-96x96.png b/digital-future-summit/src/assets/icons/icon-96x96.png new file mode 100644 index 0000000..d271025 Binary files /dev/null and b/digital-future-summit/src/assets/icons/icon-96x96.png differ diff --git a/digital-future-summit/src/assets/img/bg.jpg b/digital-future-summit/src/assets/img/bg.jpg new file mode 100644 index 0000000..7068f9f Binary files /dev/null and b/digital-future-summit/src/assets/img/bg.jpg differ diff --git a/digital-future-summit/src/assets/img/dwLogo.svg b/digital-future-summit/src/assets/img/dwLogo.svg new file mode 100644 index 0000000..b7f1aa9 --- /dev/null +++ b/digital-future-summit/src/assets/img/dwLogo.svg @@ -0,0 +1,281 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/digital-future-summit/src/assets/img/new-bg.jpg b/digital-future-summit/src/assets/img/new-bg.jpg new file mode 100644 index 0000000..a6508bf Binary files /dev/null and b/digital-future-summit/src/assets/img/new-bg.jpg differ diff --git a/digital-future-summit/src/assets/img/user-pic.png b/digital-future-summit/src/assets/img/user-pic.png new file mode 100644 index 0000000..cab086b Binary files /dev/null and b/digital-future-summit/src/assets/img/user-pic.png differ diff --git a/digital-future-summit/src/assets/lib/hljs/highlight.pack.js b/digital-future-summit/src/assets/lib/hljs/highlight.pack.js new file mode 100644 index 0000000..6500df2 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/highlight.pack.js @@ -0,0 +1,2 @@ +/*! highlight.js v9.12.0 | BSD3 License | git.io/hljslicense */ +!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(/&/g,"&").replace(//g,">")}function t(e){return e.nodeName.toLowerCase()}function r(e,n){var t=e&&e.exec(n);return t&&0===t.index}function a(e){return k.test(e)}function i(e){var n,t,r,i,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",t=B.exec(o))return w(t[1])?t[1]:"no-highlight";for(o=o.split(/\s+/),n=0,r=o.length;r>n;n++)if(i=o[n],a(i)||w(i))return i}function o(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function u(e){var n=[];return function r(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3===i.nodeType?a+=i.nodeValue.length:1===i.nodeType&&(n.push({event:"start",offset:a,node:i}),a=r(i,a),t(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:a,node:i}));return a}(e,0),n}function c(e,r,a){function i(){return e.length&&r.length?e[0].offset!==r[0].offset?e[0].offset"}function u(e){s+=""}function c(e){("start"===e.event?o:u)(e.node)}for(var l=0,s="",f=[];e.length||r.length;){var g=i();if(s+=n(a.substring(l,g[0].offset)),l=g[0].offset,g===e){f.reverse().forEach(u);do c(g.splice(0,1)[0]),g=i();while(g===e&&g.length&&g[0].offset===l);f.reverse().forEach(o)}else"start"===g[0].event?f.push(g[0].node):f.pop(),c(g.splice(0,1)[0])}return s+n(a.substr(l))}function l(e){return e.v&&!e.cached_variants&&(e.cached_variants=e.v.map(function(n){return o(e,{v:null},n)})),e.cached_variants||e.eW&&[o(e)]||[e]}function s(e){function n(e){return e&&e.source||e}function t(t,r){return new RegExp(n(t),"m"+(e.cI?"i":"")+(r?"g":""))}function r(a,i){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var o={},u=function(n,t){e.cI&&(t=t.toLowerCase()),t.split(" ").forEach(function(e){var t=e.split("|");o[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof a.k?u("keyword",a.k):x(a.k).forEach(function(e){u(e,a.k[e])}),a.k=o}a.lR=t(a.l||/\w+/,!0),i&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=t(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=t(a.e)),a.tE=n(a.e)||"",a.eW&&i.tE&&(a.tE+=(a.e?"|":"")+i.tE)),a.i&&(a.iR=t(a.i)),null==a.r&&(a.r=1),a.c||(a.c=[]),a.c=Array.prototype.concat.apply([],a.c.map(function(e){return l("self"===e?a:e)})),a.c.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,i);var c=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(n).filter(Boolean);a.t=c.length?t(c.join("|"),!0):{exec:function(){return null}}}}r(e)}function f(e,t,a,i){function o(e,n){var t,a;for(t=0,a=n.c.length;a>t;t++)if(r(n.c[t].bR,e))return n.c[t]}function u(e,n){if(r(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?u(e.parent,n):void 0}function c(e,n){return!a&&r(n.iR,e)}function l(e,n){var t=N.cI?n[0].toLowerCase():n[0];return e.k.hasOwnProperty(t)&&e.k[t]}function p(e,n,t,r){var a=r?"":I.classPrefix,i='',i+n+o}function h(){var e,t,r,a;if(!E.k)return n(k);for(a="",t=0,E.lR.lastIndex=0,r=E.lR.exec(k);r;)a+=n(k.substring(t,r.index)),e=l(E,r),e?(B+=e[1],a+=p(e[0],n(r[0]))):a+=n(r[0]),t=E.lR.lastIndex,r=E.lR.exec(k);return a+n(k.substr(t))}function d(){var e="string"==typeof E.sL;if(e&&!y[E.sL])return n(k);var t=e?f(E.sL,k,!0,x[E.sL]):g(k,E.sL.length?E.sL:void 0);return E.r>0&&(B+=t.r),e&&(x[E.sL]=t.top),p(t.language,t.value,!1,!0)}function b(){L+=null!=E.sL?d():h(),k=""}function v(e){L+=e.cN?p(e.cN,"",!0):"",E=Object.create(e,{parent:{value:E}})}function m(e,n){if(k+=e,null==n)return b(),0;var t=o(n,E);if(t)return t.skip?k+=n:(t.eB&&(k+=n),b(),t.rB||t.eB||(k=n)),v(t,n),t.rB?0:n.length;var r=u(E,n);if(r){var a=E;a.skip?k+=n:(a.rE||a.eE||(k+=n),b(),a.eE&&(k=n));do E.cN&&(L+=C),E.skip||(B+=E.r),E=E.parent;while(E!==r.parent);return r.starts&&v(r.starts,""),a.rE?0:n.length}if(c(n,E))throw new Error('Illegal lexeme "'+n+'" for mode "'+(E.cN||"")+'"');return k+=n,n.length||1}var N=w(e);if(!N)throw new Error('Unknown language: "'+e+'"');s(N);var R,E=i||N,x={},L="";for(R=E;R!==N;R=R.parent)R.cN&&(L=p(R.cN,"",!0)+L);var k="",B=0;try{for(var M,j,O=0;;){if(E.t.lastIndex=O,M=E.t.exec(t),!M)break;j=m(t.substring(O,M.index),M[0]),O=M.index+j}for(m(t.substr(O)),R=E;R.parent;R=R.parent)R.cN&&(L+=C);return{r:B,value:L,language:e,top:E}}catch(T){if(T.message&&-1!==T.message.indexOf("Illegal"))return{r:0,value:n(t)};throw T}}function g(e,t){t=t||I.languages||x(y);var r={r:0,value:n(e)},a=r;return t.filter(w).forEach(function(n){var t=f(n,e,!1);t.language=n,t.r>a.r&&(a=t),t.r>r.r&&(a=r,r=t)}),a.language&&(r.second_best=a),r}function p(e){return I.tabReplace||I.useBR?e.replace(M,function(e,n){return I.useBR&&"\n"===e?"
":I.tabReplace?n.replace(/\t/g,I.tabReplace):""}):e}function h(e,n,t){var r=n?L[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}function d(e){var n,t,r,o,l,s=i(e);a(s)||(I.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div"),n.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n")):n=e,l=n.textContent,r=s?f(s,l,!0):g(l),t=u(n),t.length&&(o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),o.innerHTML=r.value,r.value=c(t,u(o),l)),r.value=p(r.value),e.innerHTML=r.value,e.className=h(e.className,s,r.language),e.result={language:r.language,re:r.r},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.r}))}function b(e){I=o(I,e)}function v(){if(!v.called){v.called=!0;var e=document.querySelectorAll("pre code");E.forEach.call(e,d)}}function m(){addEventListener("DOMContentLoaded",v,!1),addEventListener("load",v,!1)}function N(n,t){var r=y[n]=t(e);r.aliases&&r.aliases.forEach(function(e){L[e]=n})}function R(){return x(y)}function w(e){return e=(e||"").toLowerCase(),y[e]||y[L[e]]}var E=[],x=Object.keys,y={},L={},k=/^(no-?highlight|plain|text)$/i,B=/\blang(?:uage)?-([\w-]+)\b/i,M=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,C="
",I={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};return e.highlight=f,e.highlightAuto=g,e.fixMarkup=p,e.highlightBlock=d,e.configure=b,e.initHighlighting=v,e.initHighlightingOnLoad=m,e.registerLanguage=N,e.listLanguages=R,e.getLanguage=w,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.C=function(n,t,r){var a=e.inherit({cN:"comment",b:n,e:t,c:[]},r||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e});hljs.registerLanguage("typescript",function(e){var r={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"};return{aliases:["ts"],k:r,c:[{cN:"meta",b:/^\s*['"]use strict['"]/},e.ASM,e.QSM,{cN:"string",b:"`",e:"`",c:[e.BE,{cN:"subst",b:"\\$\\{",e:"\\}"}]},e.CLCM,e.CBCM,{cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+e.IR+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:e.IR},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:["self",e.CLCM,e.CBCM]}]}]}],r:0},{cN:"function",b:"function",e:/[\{;]/,eE:!0,k:r,c:["self",e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:[e.CLCM,e.CBCM],i:/["'\(]/}],i:/%/,r:0},{bK:"constructor",e:/\{/,eE:!0,c:["self",{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:[e.CLCM,e.CBCM],i:/["'\(]/}]},{b:/module\./,k:{built_in:"module"},r:0},{bK:"module",e:/\{/,eE:!0},{bK:"interface",e:/\{/,eE:!0,k:"interface extends"},{b:/\$[(.]/},{b:"\\."+e.IR,r:0},{cN:"meta",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("css",function(e){var c="[a-zA-Z-][a-zA-Z0-9_-]*",t={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:c,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,t]}]}});hljs.registerLanguage("xml",function(s){var e="[A-Za-z0-9\\._:-]+",t={eW:!0,i:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},s.C("",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"|$)",e:">",k:{name:"style"},c:[t],starts:{e:"",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"|$)",e:">",k:{name:"script"},c:[t],starts:{e:"",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"",c:[{cN:"name",b:/[^\/><\s]+/,r:0},t]}]}});hljs.registerLanguage("json",function(e){var i={literal:"true false null"},n=[e.QSM,e.CNM],r={e:",",eW:!0,eE:!0,c:n,k:i},t={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(r,{b:/:/})],i:"\\S"},c={b:"\\[",e:"\\]",c:[e.inherit(r)],i:"\\S"};return n.splice(n.length,0,t,c),{c:n,k:i,i:"\\S"}});hljs.registerLanguage("javascript",function(e){var r="[A-Za-z$_][0-9A-Za-z$_]*",t={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},n={cN:"subst",b:"\\$\\{",e:"\\}",k:t,c:[]},c={cN:"string",b:"`",e:"`",c:[e.BE,n]};n.c=[e.ASM,e.QSM,c,a,e.RM];var s=n.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:t,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,c,e.CLCM,e.CBCM,a,{b:/[{,]\s*/,r:0,c:[{b:r+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:r,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+r+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:r},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,c:s}]}]},{b://,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:r}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:s}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}}); \ No newline at end of file diff --git a/digital-future-summit/src/assets/lib/hljs/styles/agate.css b/digital-future-summit/src/assets/lib/hljs/styles/agate.css new file mode 100644 index 0000000..8d64547 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/agate.css @@ -0,0 +1,108 @@ +/*! + * Agate by Taufik Nurrohman + * ---------------------------------------------------- + * + * #ade5fc + * #a2fca2 + * #c6b4f0 + * #d36363 + * #fcc28c + * #fc9b9b + * #ffa + * #fff + * #333 + * #62c8f3 + * #888 + * + */ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #333; + color: white; +} + +.hljs-name, +.hljs-strong { + font-weight: bold; +} + +.hljs-code, +.hljs-emphasis { + font-style: italic; +} + +.hljs-tag { + color: #62c8f3; +} + +.hljs-variable, +.hljs-template-variable, +.hljs-selector-id, +.hljs-selector-class { + color: #ade5fc; +} + +.hljs-string, +.hljs-bullet { + color: #a2fca2; +} + +.hljs-type, +.hljs-title, +.hljs-section, +.hljs-attribute, +.hljs-quote, +.hljs-built_in, +.hljs-builtin-name { + color: #ffa; +} + +.hljs-number, +.hljs-symbol, +.hljs-bullet { + color: #d36363; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal { + color: #fcc28c; +} + +.hljs-comment, +.hljs-deletion, +.hljs-code { + color: #888; +} + +.hljs-regexp, +.hljs-link { + color: #c6b4f0; +} + +.hljs-meta { + color: #fc9b9b; +} + +.hljs-deletion { + background-color: #fc9b9b; + color: #333; +} + +.hljs-addition { + background-color: #a2fca2; + color: #333; +} + +.hljs a { + color: inherit; +} + +.hljs a:focus, +.hljs a:hover { + color: inherit; + text-decoration: underline; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/androidstudio.css b/digital-future-summit/src/assets/lib/hljs/styles/androidstudio.css new file mode 100644 index 0000000..bc8e473 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/androidstudio.css @@ -0,0 +1,66 @@ +/* +Date: 24 Fev 2015 +Author: Pedro Oliveira +*/ + +.hljs { + color: #a9b7c6; + background: #282b2e; + display: block; + overflow-x: auto; + padding: 0.5em; +} + +.hljs-number, +.hljs-literal, +.hljs-symbol, +.hljs-bullet { + color: #6897BB; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-deletion { + color: #cc7832; +} + +.hljs-variable, +.hljs-template-variable, +.hljs-link { + color: #629755; +} + +.hljs-comment, +.hljs-quote { + color: #808080; +} + +.hljs-meta { + color: #bbb529; +} + +.hljs-string, +.hljs-attribute, +.hljs-addition { + color: #6A8759; +} + +.hljs-section, +.hljs-title, +.hljs-type { + color: #ffc66d; +} + +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #e8bf6a; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/arduino-light.css b/digital-future-summit/src/assets/lib/hljs/styles/arduino-light.css new file mode 100644 index 0000000..4b8b7fd --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/arduino-light.css @@ -0,0 +1,88 @@ +/* + +Arduino® Light Theme - Stefania Mellai + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #FFFFFF; +} + +.hljs, +.hljs-subst { + color: #434f54; +} + +.hljs-keyword, +.hljs-attribute, +.hljs-selector-tag, +.hljs-doctag, +.hljs-name { + color: #00979D; +} + +.hljs-built_in, +.hljs-literal, +.hljs-bullet, +.hljs-code, +.hljs-addition { + color: #D35400; +} + +.hljs-regexp, +.hljs-symbol, +.hljs-variable, +.hljs-template-variable, +.hljs-link, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #00979D; +} + +.hljs-type, +.hljs-string, +.hljs-selector-id, +.hljs-selector-class, +.hljs-quote, +.hljs-template-tag, +.hljs-deletion { + color: #005C5F; +} + +.hljs-title, +.hljs-section { + color: #880000; + font-weight: bold; +} + +.hljs-comment { + color: rgba(149,165,166,.8); +} + +.hljs-meta-keyword { + color: #728E00; +} + +.hljs-meta { + color: #728E00; + color: #434f54; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-function { + color: #728E00; +} + +.hljs-number { + color: #8A7B52; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/arta.css b/digital-future-summit/src/assets/lib/hljs/styles/arta.css new file mode 100644 index 0000000..75ef3a9 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/arta.css @@ -0,0 +1,73 @@ +/* +Date: 17.V.2011 +Author: pumbur +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #222; +} + +.hljs, +.hljs-subst { + color: #aaa; +} + +.hljs-section { + color: #fff; +} + +.hljs-comment, +.hljs-quote, +.hljs-meta { + color: #444; +} + +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-regexp { + color: #ffcc33; +} + +.hljs-number, +.hljs-addition { + color: #00cc66; +} + +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-template-variable, +.hljs-attribute, +.hljs-link { + color: #32aaee; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #6644aa; +} + +.hljs-title, +.hljs-variable, +.hljs-deletion, +.hljs-template-tag { + color: #bb1166; +} + +.hljs-section, +.hljs-doctag, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/ascetic.css b/digital-future-summit/src/assets/lib/hljs/styles/ascetic.css new file mode 100644 index 0000000..48397e8 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/ascetic.css @@ -0,0 +1,45 @@ +/* + +Original style from softwaremaniacs.org (c) Ivan Sagalaev + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: white; + color: black; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-symbol, +.hljs-bullet, +.hljs-section, +.hljs-addition, +.hljs-attribute, +.hljs-link { + color: #888; +} + +.hljs-comment, +.hljs-quote, +.hljs-meta, +.hljs-deletion { + color: #ccc; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-section, +.hljs-name, +.hljs-type, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-cave-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-cave-dark.css new file mode 100644 index 0000000..65428f3 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-cave-dark.css @@ -0,0 +1,83 @@ +/* Base16 Atelier Cave Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Cave Comment */ +.hljs-comment, +.hljs-quote { + color: #7e7887; +} + +/* Atelier-Cave Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-regexp, +.hljs-link, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #be4678; +} + +/* Atelier-Cave Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #aa573c; +} + +/* Atelier-Cave Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #2a9292; +} + +/* Atelier-Cave Blue */ +.hljs-title, +.hljs-section { + color: #576ddb; +} + +/* Atelier-Cave Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #955ae7; +} + +.hljs-deletion, +.hljs-addition { + color: #19171c; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #be4678; +} + +.hljs-addition { + background-color: #2a9292; +} + +.hljs { + display: block; + overflow-x: auto; + background: #19171c; + color: #8b8792; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-cave-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-cave-light.css new file mode 100644 index 0000000..b419f9f --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-cave-light.css @@ -0,0 +1,85 @@ +/* Base16 Atelier Cave Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Cave Comment */ +.hljs-comment, +.hljs-quote { + color: #655f6d; +} + +/* Atelier-Cave Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #be4678; +} + +/* Atelier-Cave Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #aa573c; +} + +/* Atelier-Cave Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #2a9292; +} + +/* Atelier-Cave Blue */ +.hljs-title, +.hljs-section { + color: #576ddb; +} + +/* Atelier-Cave Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #955ae7; +} + +.hljs-deletion, +.hljs-addition { + color: #19171c; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #be4678; +} + +.hljs-addition { + background-color: #2a9292; +} + +.hljs { + display: block; + overflow-x: auto; + background: #efecf4; + color: #585260; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-dune-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-dune-dark.css new file mode 100644 index 0000000..1684f52 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-dune-dark.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Dune Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Dune Comment */ +.hljs-comment, +.hljs-quote { + color: #999580; +} + +/* Atelier-Dune Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #d73737; +} + +/* Atelier-Dune Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #b65611; +} + +/* Atelier-Dune Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #60ac39; +} + +/* Atelier-Dune Blue */ +.hljs-title, +.hljs-section { + color: #6684e1; +} + +/* Atelier-Dune Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #b854d4; +} + +.hljs { + display: block; + overflow-x: auto; + background: #20201d; + color: #a6a28c; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-dune-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-dune-light.css new file mode 100644 index 0000000..547719d --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-dune-light.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Dune Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Dune Comment */ +.hljs-comment, +.hljs-quote { + color: #7d7a68; +} + +/* Atelier-Dune Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #d73737; +} + +/* Atelier-Dune Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #b65611; +} + +/* Atelier-Dune Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #60ac39; +} + +/* Atelier-Dune Blue */ +.hljs-title, +.hljs-section { + color: #6684e1; +} + +/* Atelier-Dune Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #b854d4; +} + +.hljs { + display: block; + overflow-x: auto; + background: #fefbec; + color: #6e6b5e; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-estuary-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-estuary-dark.css new file mode 100644 index 0000000..a5e5071 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-estuary-dark.css @@ -0,0 +1,84 @@ +/* Base16 Atelier Estuary Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Estuary Comment */ +.hljs-comment, +.hljs-quote { + color: #878573; +} + +/* Atelier-Estuary Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #ba6236; +} + +/* Atelier-Estuary Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #ae7313; +} + +/* Atelier-Estuary Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #7d9726; +} + +/* Atelier-Estuary Blue */ +.hljs-title, +.hljs-section { + color: #36a166; +} + +/* Atelier-Estuary Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #5f9182; +} + +.hljs-deletion, +.hljs-addition { + color: #22221b; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #ba6236; +} + +.hljs-addition { + background-color: #7d9726; +} + +.hljs { + display: block; + overflow-x: auto; + background: #22221b; + color: #929181; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-estuary-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-estuary-light.css new file mode 100644 index 0000000..1daee5d --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-estuary-light.css @@ -0,0 +1,84 @@ +/* Base16 Atelier Estuary Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Estuary Comment */ +.hljs-comment, +.hljs-quote { + color: #6c6b5a; +} + +/* Atelier-Estuary Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #ba6236; +} + +/* Atelier-Estuary Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #ae7313; +} + +/* Atelier-Estuary Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #7d9726; +} + +/* Atelier-Estuary Blue */ +.hljs-title, +.hljs-section { + color: #36a166; +} + +/* Atelier-Estuary Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #5f9182; +} + +.hljs-deletion, +.hljs-addition { + color: #22221b; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #ba6236; +} + +.hljs-addition { + background-color: #7d9726; +} + +.hljs { + display: block; + overflow-x: auto; + background: #f4f3ec; + color: #5f5e4e; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-forest-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-forest-dark.css new file mode 100644 index 0000000..0ef4fae --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-forest-dark.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Forest Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Forest Comment */ +.hljs-comment, +.hljs-quote { + color: #9c9491; +} + +/* Atelier-Forest Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #f22c40; +} + +/* Atelier-Forest Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #df5320; +} + +/* Atelier-Forest Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #7b9726; +} + +/* Atelier-Forest Blue */ +.hljs-title, +.hljs-section { + color: #407ee7; +} + +/* Atelier-Forest Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #6666ea; +} + +.hljs { + display: block; + overflow-x: auto; + background: #1b1918; + color: #a8a19f; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-forest-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-forest-light.css new file mode 100644 index 0000000..bbedde1 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-forest-light.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Forest Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Forest Comment */ +.hljs-comment, +.hljs-quote { + color: #766e6b; +} + +/* Atelier-Forest Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #f22c40; +} + +/* Atelier-Forest Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #df5320; +} + +/* Atelier-Forest Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #7b9726; +} + +/* Atelier-Forest Blue */ +.hljs-title, +.hljs-section { + color: #407ee7; +} + +/* Atelier-Forest Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #6666ea; +} + +.hljs { + display: block; + overflow-x: auto; + background: #f1efee; + color: #68615e; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-heath-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-heath-dark.css new file mode 100644 index 0000000..fe01ff7 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-heath-dark.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Heath Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Heath Comment */ +.hljs-comment, +.hljs-quote { + color: #9e8f9e; +} + +/* Atelier-Heath Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #ca402b; +} + +/* Atelier-Heath Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #a65926; +} + +/* Atelier-Heath Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #918b3b; +} + +/* Atelier-Heath Blue */ +.hljs-title, +.hljs-section { + color: #516aec; +} + +/* Atelier-Heath Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #7b59c0; +} + +.hljs { + display: block; + overflow-x: auto; + background: #1b181b; + color: #ab9bab; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-heath-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-heath-light.css new file mode 100644 index 0000000..ee43786 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-heath-light.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Heath Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Heath Comment */ +.hljs-comment, +.hljs-quote { + color: #776977; +} + +/* Atelier-Heath Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #ca402b; +} + +/* Atelier-Heath Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #a65926; +} + +/* Atelier-Heath Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #918b3b; +} + +/* Atelier-Heath Blue */ +.hljs-title, +.hljs-section { + color: #516aec; +} + +/* Atelier-Heath Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #7b59c0; +} + +.hljs { + display: block; + overflow-x: auto; + background: #f7f3f7; + color: #695d69; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-lakeside-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-lakeside-dark.css new file mode 100644 index 0000000..a937d3b --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-lakeside-dark.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Lakeside Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Lakeside Comment */ +.hljs-comment, +.hljs-quote { + color: #7195a8; +} + +/* Atelier-Lakeside Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #d22d72; +} + +/* Atelier-Lakeside Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #935c25; +} + +/* Atelier-Lakeside Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #568c3b; +} + +/* Atelier-Lakeside Blue */ +.hljs-title, +.hljs-section { + color: #257fad; +} + +/* Atelier-Lakeside Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #6b6bb8; +} + +.hljs { + display: block; + overflow-x: auto; + background: #161b1d; + color: #7ea2b4; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-lakeside-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-lakeside-light.css new file mode 100644 index 0000000..6c7e8f9 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-lakeside-light.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Lakeside Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Lakeside Comment */ +.hljs-comment, +.hljs-quote { + color: #5a7b8c; +} + +/* Atelier-Lakeside Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #d22d72; +} + +/* Atelier-Lakeside Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #935c25; +} + +/* Atelier-Lakeside Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #568c3b; +} + +/* Atelier-Lakeside Blue */ +.hljs-title, +.hljs-section { + color: #257fad; +} + +/* Atelier-Lakeside Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #6b6bb8; +} + +.hljs { + display: block; + overflow-x: auto; + background: #ebf8ff; + color: #516d7b; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-plateau-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-plateau-dark.css new file mode 100644 index 0000000..3bb0526 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-plateau-dark.css @@ -0,0 +1,84 @@ +/* Base16 Atelier Plateau Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Plateau Comment */ +.hljs-comment, +.hljs-quote { + color: #7e7777; +} + +/* Atelier-Plateau Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #ca4949; +} + +/* Atelier-Plateau Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #b45a3c; +} + +/* Atelier-Plateau Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #4b8b8b; +} + +/* Atelier-Plateau Blue */ +.hljs-title, +.hljs-section { + color: #7272ca; +} + +/* Atelier-Plateau Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #8464c4; +} + +.hljs-deletion, +.hljs-addition { + color: #1b1818; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #ca4949; +} + +.hljs-addition { + background-color: #4b8b8b; +} + +.hljs { + display: block; + overflow-x: auto; + background: #1b1818; + color: #8a8585; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-plateau-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-plateau-light.css new file mode 100644 index 0000000..5f0222b --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-plateau-light.css @@ -0,0 +1,84 @@ +/* Base16 Atelier Plateau Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Plateau Comment */ +.hljs-comment, +.hljs-quote { + color: #655d5d; +} + +/* Atelier-Plateau Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #ca4949; +} + +/* Atelier-Plateau Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #b45a3c; +} + +/* Atelier-Plateau Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #4b8b8b; +} + +/* Atelier-Plateau Blue */ +.hljs-title, +.hljs-section { + color: #7272ca; +} + +/* Atelier-Plateau Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #8464c4; +} + +.hljs-deletion, +.hljs-addition { + color: #1b1818; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #ca4949; +} + +.hljs-addition { + background-color: #4b8b8b; +} + +.hljs { + display: block; + overflow-x: auto; + background: #f4ecec; + color: #585050; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-savanna-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-savanna-dark.css new file mode 100644 index 0000000..38f8314 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-savanna-dark.css @@ -0,0 +1,84 @@ +/* Base16 Atelier Savanna Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Savanna Comment */ +.hljs-comment, +.hljs-quote { + color: #78877d; +} + +/* Atelier-Savanna Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #b16139; +} + +/* Atelier-Savanna Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #9f713c; +} + +/* Atelier-Savanna Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #489963; +} + +/* Atelier-Savanna Blue */ +.hljs-title, +.hljs-section { + color: #478c90; +} + +/* Atelier-Savanna Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #55859b; +} + +.hljs-deletion, +.hljs-addition { + color: #171c19; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #b16139; +} + +.hljs-addition { + background-color: #489963; +} + +.hljs { + display: block; + overflow-x: auto; + background: #171c19; + color: #87928a; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-savanna-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-savanna-light.css new file mode 100644 index 0000000..1ccd7c6 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-savanna-light.css @@ -0,0 +1,84 @@ +/* Base16 Atelier Savanna Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Savanna Comment */ +.hljs-comment, +.hljs-quote { + color: #5f6d64; +} + +/* Atelier-Savanna Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #b16139; +} + +/* Atelier-Savanna Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #9f713c; +} + +/* Atelier-Savanna Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #489963; +} + +/* Atelier-Savanna Blue */ +.hljs-title, +.hljs-section { + color: #478c90; +} + +/* Atelier-Savanna Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #55859b; +} + +.hljs-deletion, +.hljs-addition { + color: #171c19; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #b16139; +} + +.hljs-addition { + background-color: #489963; +} + +.hljs { + display: block; + overflow-x: auto; + background: #ecf4ee; + color: #526057; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-seaside-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-seaside-dark.css new file mode 100644 index 0000000..df29949 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-seaside-dark.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Seaside Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Seaside Comment */ +.hljs-comment, +.hljs-quote { + color: #809980; +} + +/* Atelier-Seaside Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #e6193c; +} + +/* Atelier-Seaside Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #87711d; +} + +/* Atelier-Seaside Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #29a329; +} + +/* Atelier-Seaside Blue */ +.hljs-title, +.hljs-section { + color: #3d62f5; +} + +/* Atelier-Seaside Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #ad2bee; +} + +.hljs { + display: block; + overflow-x: auto; + background: #131513; + color: #8ca68c; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-seaside-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-seaside-light.css new file mode 100644 index 0000000..9d960f2 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-seaside-light.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Seaside Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Seaside Comment */ +.hljs-comment, +.hljs-quote { + color: #687d68; +} + +/* Atelier-Seaside Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #e6193c; +} + +/* Atelier-Seaside Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #87711d; +} + +/* Atelier-Seaside Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #29a329; +} + +/* Atelier-Seaside Blue */ +.hljs-title, +.hljs-section { + color: #3d62f5; +} + +/* Atelier-Seaside Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #ad2bee; +} + +.hljs { + display: block; + overflow-x: auto; + background: #f4fbf4; + color: #5e6e5e; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-sulphurpool-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-sulphurpool-dark.css new file mode 100644 index 0000000..c2ab793 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-sulphurpool-dark.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Sulphurpool Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Sulphurpool Comment */ +.hljs-comment, +.hljs-quote { + color: #898ea4; +} + +/* Atelier-Sulphurpool Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #c94922; +} + +/* Atelier-Sulphurpool Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #c76b29; +} + +/* Atelier-Sulphurpool Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #ac9739; +} + +/* Atelier-Sulphurpool Blue */ +.hljs-title, +.hljs-section { + color: #3d8fd1; +} + +/* Atelier-Sulphurpool Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #6679cc; +} + +.hljs { + display: block; + overflow-x: auto; + background: #202746; + color: #979db4; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atelier-sulphurpool-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atelier-sulphurpool-light.css new file mode 100644 index 0000000..96c47d0 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atelier-sulphurpool-light.css @@ -0,0 +1,69 @@ +/* Base16 Atelier Sulphurpool Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +/* Atelier-Sulphurpool Comment */ +.hljs-comment, +.hljs-quote { + color: #6b7394; +} + +/* Atelier-Sulphurpool Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #c94922; +} + +/* Atelier-Sulphurpool Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #c76b29; +} + +/* Atelier-Sulphurpool Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #ac9739; +} + +/* Atelier-Sulphurpool Blue */ +.hljs-title, +.hljs-section { + color: #3d8fd1; +} + +/* Atelier-Sulphurpool Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #6679cc; +} + +.hljs { + display: block; + overflow-x: auto; + background: #f5f7ff; + color: #5e6687; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atom-one-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/atom-one-dark.css new file mode 100644 index 0000000..1616aaf --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atom-one-dark.css @@ -0,0 +1,96 @@ +/* + +Atom One Dark by Daniel Gamage +Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax + +base: #282c34 +mono-1: #abb2bf +mono-2: #818896 +mono-3: #5c6370 +hue-1: #56b6c2 +hue-2: #61aeee +hue-3: #c678dd +hue-4: #98c379 +hue-5: #e06c75 +hue-5-2: #be5046 +hue-6: #d19a66 +hue-6-2: #e6c07b + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #abb2bf; + background: #282c34; +} + +.hljs-comment, +.hljs-quote { + color: #5c6370; + font-style: italic; +} + +.hljs-doctag, +.hljs-keyword, +.hljs-formula { + color: #c678dd; +} + +.hljs-section, +.hljs-name, +.hljs-selector-tag, +.hljs-deletion, +.hljs-subst { + color: #e06c75; +} + +.hljs-literal { + color: #56b6c2; +} + +.hljs-string, +.hljs-regexp, +.hljs-addition, +.hljs-attribute, +.hljs-meta-string { + color: #98c379; +} + +.hljs-built_in, +.hljs-class .hljs-title { + color: #e6c07b; +} + +.hljs-attr, +.hljs-variable, +.hljs-template-variable, +.hljs-type, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-number { + color: #d19a66; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-link, +.hljs-meta, +.hljs-selector-id, +.hljs-title { + color: #61aeee; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-link { + text-decoration: underline; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/atom-one-light.css b/digital-future-summit/src/assets/lib/hljs/styles/atom-one-light.css new file mode 100644 index 0000000..d5bd1d2 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/atom-one-light.css @@ -0,0 +1,96 @@ +/* + +Atom One Light by Daniel Gamage +Original One Light Syntax theme from https://github.com/atom/one-light-syntax + +base: #fafafa +mono-1: #383a42 +mono-2: #686b77 +mono-3: #a0a1a7 +hue-1: #0184bb +hue-2: #4078f2 +hue-3: #a626a4 +hue-4: #50a14f +hue-5: #e45649 +hue-5-2: #c91243 +hue-6: #986801 +hue-6-2: #c18401 + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #383a42; + background: #fafafa; +} + +.hljs-comment, +.hljs-quote { + color: #a0a1a7; + font-style: italic; +} + +.hljs-doctag, +.hljs-keyword, +.hljs-formula { + color: #a626a4; +} + +.hljs-section, +.hljs-name, +.hljs-selector-tag, +.hljs-deletion, +.hljs-subst { + color: #e45649; +} + +.hljs-literal { + color: #0184bb; +} + +.hljs-string, +.hljs-regexp, +.hljs-addition, +.hljs-attribute, +.hljs-meta-string { + color: #50a14f; +} + +.hljs-built_in, +.hljs-class .hljs-title { + color: #c18401; +} + +.hljs-attr, +.hljs-variable, +.hljs-template-variable, +.hljs-type, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-number { + color: #986801; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-link, +.hljs-meta, +.hljs-selector-id, +.hljs-title { + color: #4078f2; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-link { + text-decoration: underline; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/brown-paper.css b/digital-future-summit/src/assets/lib/hljs/styles/brown-paper.css new file mode 100644 index 0000000..f0197b9 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/brown-paper.css @@ -0,0 +1,64 @@ +/* + +Brown Paper style from goldblog.com.ua (c) Zaripov Yura + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background:#b7a68e url(./brown-papersq.png); +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal { + color:#005599; + font-weight:bold; +} + +.hljs, +.hljs-subst { + color: #363c69; +} + +.hljs-string, +.hljs-title, +.hljs-section, +.hljs-type, +.hljs-attribute, +.hljs-symbol, +.hljs-bullet, +.hljs-built_in, +.hljs-addition, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable, +.hljs-link, +.hljs-name { + color: #2c009f; +} + +.hljs-comment, +.hljs-quote, +.hljs-meta, +.hljs-deletion { + color: #802022; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-doctag, +.hljs-title, +.hljs-section, +.hljs-type, +.hljs-name, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/brown-papersq.png b/digital-future-summit/src/assets/lib/hljs/styles/brown-papersq.png new file mode 100644 index 0000000..3813903 Binary files /dev/null and b/digital-future-summit/src/assets/lib/hljs/styles/brown-papersq.png differ diff --git a/digital-future-summit/src/assets/lib/hljs/styles/codepen-embed.css b/digital-future-summit/src/assets/lib/hljs/styles/codepen-embed.css new file mode 100644 index 0000000..195c4a0 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/codepen-embed.css @@ -0,0 +1,60 @@ +/* + codepen.io Embed Theme + Author: Justin Perry + Original theme - https://github.com/chriskempson/tomorrow-theme +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #222; + color: #fff; +} + +.hljs-comment, +.hljs-quote { + color: #777; +} + +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-regexp, +.hljs-meta, +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-params, +.hljs-symbol, +.hljs-bullet, +.hljs-link, +.hljs-deletion { + color: #ab875d; +} + +.hljs-section, +.hljs-title, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-type, +.hljs-attribute { + color: #9b869b; +} + +.hljs-string, +.hljs-keyword, +.hljs-selector-tag, +.hljs-addition { + color: #8f9c6c; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/color-brewer.css b/digital-future-summit/src/assets/lib/hljs/styles/color-brewer.css new file mode 100644 index 0000000..7934d98 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/color-brewer.css @@ -0,0 +1,71 @@ +/* + +Colorbrewer theme +Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock +Ported by Fabrício Tavares de Oliveira + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #fff; +} + +.hljs, +.hljs-subst { + color: #000; +} + +.hljs-string, +.hljs-meta, +.hljs-symbol, +.hljs-template-tag, +.hljs-template-variable, +.hljs-addition { + color: #756bb1; +} + +.hljs-comment, +.hljs-quote { + color: #636363; +} + +.hljs-number, +.hljs-regexp, +.hljs-literal, +.hljs-bullet, +.hljs-link { + color: #31a354; +} + +.hljs-deletion, +.hljs-variable { + color: #88f; +} + + + +.hljs-keyword, +.hljs-selector-tag, +.hljs-title, +.hljs-section, +.hljs-built_in, +.hljs-doctag, +.hljs-type, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-strong { + color: #3182bd; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-attribute { + color: #e6550d; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/darcula.css b/digital-future-summit/src/assets/lib/hljs/styles/darcula.css new file mode 100644 index 0000000..be182d0 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/darcula.css @@ -0,0 +1,77 @@ +/* + +Darcula color scheme from the JetBrains family of IDEs + +*/ + + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #2b2b2b; +} + +.hljs { + color: #bababa; +} + +.hljs-strong, +.hljs-emphasis { + color: #a8a8a2; +} + +.hljs-bullet, +.hljs-quote, +.hljs-link, +.hljs-number, +.hljs-regexp, +.hljs-literal { + color: #6896ba; +} + +.hljs-code, +.hljs-selector-class { + color: #a6e22e; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-section, +.hljs-attribute, +.hljs-name, +.hljs-variable { + color: #cb7832; +} + +.hljs-params { + color: #b9b9b9; +} + +.hljs-string { + color: #6a8759; +} + +.hljs-subst, +.hljs-type, +.hljs-built_in, +.hljs-builtin-name, +.hljs-symbol, +.hljs-selector-id, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-template-tag, +.hljs-template-variable, +.hljs-addition { + color: #e0c46c; +} + +.hljs-comment, +.hljs-deletion, +.hljs-meta { + color: #7f7f7f; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/dark.css b/digital-future-summit/src/assets/lib/hljs/styles/dark.css new file mode 100644 index 0000000..b4724f5 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/dark.css @@ -0,0 +1,63 @@ +/* + +Dark style from softwaremaniacs.org (c) Ivan Sagalaev + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #444; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-section, +.hljs-link { + color: white; +} + +.hljs, +.hljs-subst { + color: #ddd; +} + +.hljs-string, +.hljs-title, +.hljs-name, +.hljs-type, +.hljs-attribute, +.hljs-symbol, +.hljs-bullet, +.hljs-built_in, +.hljs-addition, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable { + color: #d88; +} + +.hljs-comment, +.hljs-quote, +.hljs-deletion, +.hljs-meta { + color: #777; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-title, +.hljs-section, +.hljs-doctag, +.hljs-type, +.hljs-name, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/darkula.css b/digital-future-summit/src/assets/lib/hljs/styles/darkula.css new file mode 100644 index 0000000..f4646c3 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/darkula.css @@ -0,0 +1,6 @@ +/* + Deprecated due to a typo in the name and left here for compatibility purpose only. + Please use darcula.css instead. +*/ + +@import url('darcula.css'); diff --git a/digital-future-summit/src/assets/lib/hljs/styles/default.css b/digital-future-summit/src/assets/lib/hljs/styles/default.css new file mode 100644 index 0000000..f1bfade --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/default.css @@ -0,0 +1,99 @@ +/* + +Original highlight.js style (c) Ivan Sagalaev + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #F0F0F0; +} + + +/* Base color: saturation 0; */ + +.hljs, +.hljs-subst { + color: #444; +} + +.hljs-comment { + color: #888888; +} + +.hljs-keyword, +.hljs-attribute, +.hljs-selector-tag, +.hljs-meta-keyword, +.hljs-doctag, +.hljs-name { + font-weight: bold; +} + + +/* User color: hue: 0 */ + +.hljs-type, +.hljs-string, +.hljs-number, +.hljs-selector-id, +.hljs-selector-class, +.hljs-quote, +.hljs-template-tag, +.hljs-deletion { + color: #880000; +} + +.hljs-title, +.hljs-section { + color: #880000; + font-weight: bold; +} + +.hljs-regexp, +.hljs-symbol, +.hljs-variable, +.hljs-template-variable, +.hljs-link, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #BC6060; +} + + +/* Language color: hue: 90; */ + +.hljs-literal { + color: #78A960; +} + +.hljs-built_in, +.hljs-bullet, +.hljs-code, +.hljs-addition { + color: #397300; +} + + +/* Meta color: hue: 200 */ + +.hljs-meta { + color: #1f7199; +} + +.hljs-meta-string { + color: #4d99bf; +} + + +/* Misc effects */ + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/docco.css b/digital-future-summit/src/assets/lib/hljs/styles/docco.css new file mode 100644 index 0000000..db366be --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/docco.css @@ -0,0 +1,97 @@ +/* +Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #000; + background: #f8f8ff; +} + +.hljs-comment, +.hljs-quote { + color: #408080; + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-subst { + color: #954121; +} + +.hljs-number { + color: #40a070; +} + +.hljs-string, +.hljs-doctag { + color: #219161; +} + +.hljs-selector-id, +.hljs-selector-class, +.hljs-section, +.hljs-type { + color: #19469d; +} + +.hljs-params { + color: #00f; +} + +.hljs-title { + color: #458; + font-weight: bold; +} + +.hljs-tag, +.hljs-name, +.hljs-attribute { + color: #000080; + font-weight: normal; +} + +.hljs-variable, +.hljs-template-variable { + color: #008080; +} + +.hljs-regexp, +.hljs-link { + color: #b68; +} + +.hljs-symbol, +.hljs-bullet { + color: #990073; +} + +.hljs-built_in, +.hljs-builtin-name { + color: #0086b3; +} + +.hljs-meta { + color: #999; + font-weight: bold; +} + +.hljs-deletion { + background: #fdd; +} + +.hljs-addition { + background: #dfd; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/dracula.css b/digital-future-summit/src/assets/lib/hljs/styles/dracula.css new file mode 100644 index 0000000..d591db6 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/dracula.css @@ -0,0 +1,76 @@ +/* + +Dracula Theme v1.2.0 + +https://github.com/zenorocha/dracula-theme + +Copyright 2015, All rights reserved + +Code licensed under the MIT license +http://zenorocha.mit-license.org + +@author Éverton Ribeiro +@author Zeno Rocha + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #282a36; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-section, +.hljs-link { + color: #8be9fd; +} + +.hljs-function .hljs-keyword { + color: #ff79c6; +} + +.hljs, +.hljs-subst { + color: #f8f8f2; +} + +.hljs-string, +.hljs-title, +.hljs-name, +.hljs-type, +.hljs-attribute, +.hljs-symbol, +.hljs-bullet, +.hljs-addition, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable { + color: #f1fa8c; +} + +.hljs-comment, +.hljs-quote, +.hljs-deletion, +.hljs-meta { + color: #6272a4; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-title, +.hljs-section, +.hljs-doctag, +.hljs-type, +.hljs-name, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/far.css b/digital-future-summit/src/assets/lib/hljs/styles/far.css new file mode 100644 index 0000000..2b3f87b --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/far.css @@ -0,0 +1,71 @@ +/* + +FAR Style (c) MajestiC + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #000080; +} + +.hljs, +.hljs-subst { + color: #0ff; +} + +.hljs-string, +.hljs-attribute, +.hljs-symbol, +.hljs-bullet, +.hljs-built_in, +.hljs-builtin-name, +.hljs-template-tag, +.hljs-template-variable, +.hljs-addition { + color: #ff0; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-section, +.hljs-type, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-variable { + color: #fff; +} + +.hljs-comment, +.hljs-quote, +.hljs-doctag, +.hljs-deletion { + color: #888; +} + +.hljs-number, +.hljs-regexp, +.hljs-literal, +.hljs-link { + color: #0f0; +} + +.hljs-meta { + color: #008080; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-title, +.hljs-section, +.hljs-name, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/foundation.css b/digital-future-summit/src/assets/lib/hljs/styles/foundation.css new file mode 100644 index 0000000..f1fe64b --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/foundation.css @@ -0,0 +1,88 @@ +/* +Description: Foundation 4 docs style for highlight.js +Author: Dan Allen +Website: http://foundation.zurb.com/docs/ +Version: 1.0 +Date: 2013-04-02 +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #eee; color: black; +} + +.hljs-link, +.hljs-emphasis, +.hljs-attribute, +.hljs-addition { + color: #070; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong, +.hljs-string, +.hljs-deletion { + color: #d14; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-quote, +.hljs-comment { + color: #998; + font-style: italic; +} + +.hljs-section, +.hljs-title { + color: #900; +} + +.hljs-class .hljs-title, +.hljs-type { + color: #458; +} + +.hljs-variable, +.hljs-template-variable { + color: #336699; +} + +.hljs-bullet { + color: #997700; +} + +.hljs-meta { + color: #3344bb; +} + +.hljs-code, +.hljs-number, +.hljs-literal, +.hljs-keyword, +.hljs-selector-tag { + color: #099; +} + +.hljs-regexp { + background-color: #fff0ff; + color: #880088; +} + +.hljs-symbol { + color: #990073; +} + +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #007700; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/github-gist.css b/digital-future-summit/src/assets/lib/hljs/styles/github-gist.css new file mode 100644 index 0000000..155f0b9 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/github-gist.css @@ -0,0 +1,71 @@ +/** + * GitHub Gist Theme + * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro + */ + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/github.css b/digital-future-summit/src/assets/lib/hljs/styles/github.css new file mode 100644 index 0000000..791932b --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/github.css @@ -0,0 +1,99 @@ +/* + +github.com style (c) Vasily Polovnyov + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #333; + background: #f8f8f8; +} + +.hljs-comment, +.hljs-quote { + color: #998; + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-subst { + color: #333; + font-weight: bold; +} + +.hljs-number, +.hljs-literal, +.hljs-variable, +.hljs-template-variable, +.hljs-tag .hljs-attr { + color: #008080; +} + +.hljs-string, +.hljs-doctag { + color: #d14; +} + +.hljs-title, +.hljs-section, +.hljs-selector-id { + color: #900; + font-weight: bold; +} + +.hljs-subst { + font-weight: normal; +} + +.hljs-type, +.hljs-class .hljs-title { + color: #458; + font-weight: bold; +} + +.hljs-tag, +.hljs-name, +.hljs-attribute { + color: #000080; + font-weight: normal; +} + +.hljs-regexp, +.hljs-link { + color: #009926; +} + +.hljs-symbol, +.hljs-bullet { + color: #990073; +} + +.hljs-built_in, +.hljs-builtin-name { + color: #0086b3; +} + +.hljs-meta { + color: #999; + font-weight: bold; +} + +.hljs-deletion { + background: #fdd; +} + +.hljs-addition { + background: #dfd; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/googlecode.css b/digital-future-summit/src/assets/lib/hljs/styles/googlecode.css new file mode 100644 index 0000000..884ad63 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/googlecode.css @@ -0,0 +1,89 @@ +/* + +Google Code style (c) Aahan Krish + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: white; + color: black; +} + +.hljs-comment, +.hljs-quote { + color: #800; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-section, +.hljs-title, +.hljs-name { + color: #008; +} + +.hljs-variable, +.hljs-template-variable { + color: #660; +} + +.hljs-string, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-regexp { + color: #080; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-meta, +.hljs-number, +.hljs-link { + color: #066; +} + +.hljs-title, +.hljs-doctag, +.hljs-type, +.hljs-attr, +.hljs-built_in, +.hljs-builtin-name, +.hljs-params { + color: #606; +} + +.hljs-attribute, +.hljs-subst { + color: #000; +} + +.hljs-formula { + background-color: #eee; + font-style: italic; +} + +.hljs-selector-id, +.hljs-selector-class { + color: #9B703F +} + +.hljs-addition { + background-color: #baeeba; +} + +.hljs-deletion { + background-color: #ffc8bd; +} + +.hljs-doctag, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/grayscale.css b/digital-future-summit/src/assets/lib/hljs/styles/grayscale.css new file mode 100644 index 0000000..5376f34 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/grayscale.css @@ -0,0 +1,101 @@ +/* + +grayscale style (c) MY Sun + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #333; + background: #fff; +} + +.hljs-comment, +.hljs-quote { + color: #777; + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-subst { + color: #333; + font-weight: bold; +} + +.hljs-number, +.hljs-literal { + color: #777; +} + +.hljs-string, +.hljs-doctag, +.hljs-formula { + color: #333; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat; +} + +.hljs-title, +.hljs-section, +.hljs-selector-id { + color: #000; + font-weight: bold; +} + +.hljs-subst { + font-weight: normal; +} + +.hljs-class .hljs-title, +.hljs-type, +.hljs-name { + color: #333; + font-weight: bold; +} + +.hljs-tag { + color: #333; +} + +.hljs-regexp { + color: #333; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-link { + color: #000; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat; +} + +.hljs-built_in, +.hljs-builtin-name { + color: #000; + text-decoration: underline; +} + +.hljs-meta { + color: #999; + font-weight: bold; +} + +.hljs-deletion { + color: #fff; + background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat; +} + +.hljs-addition { + color: #000; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/gruvbox-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/gruvbox-dark.css new file mode 100644 index 0000000..f563811 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/gruvbox-dark.css @@ -0,0 +1,108 @@ +/* + +Gruvbox style (dark) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox) + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #282828; +} + +.hljs, +.hljs-subst { + color: #ebdbb2; +} + +/* Gruvbox Red */ +.hljs-deletion, +.hljs-formula, +.hljs-keyword, +.hljs-link, +.hljs-selector-tag { + color: #fb4934; +} + +/* Gruvbox Blue */ +.hljs-built_in, +.hljs-emphasis, +.hljs-name, +.hljs-quote, +.hljs-strong, +.hljs-title, +.hljs-variable { + color: #83a598; +} + +/* Gruvbox Yellow */ +.hljs-attr, +.hljs-params, +.hljs-template-tag, +.hljs-type { + color: #fabd2f; +} + +/* Gruvbox Purple */ +.hljs-builtin-name, +.hljs-doctag, +.hljs-literal, +.hljs-number { + color: #8f3f71; +} + +/* Gruvbox Orange */ +.hljs-code, +.hljs-meta, +.hljs-regexp, +.hljs-selector-id, +.hljs-template-variable { + color: #fe8019; +} + +/* Gruvbox Green */ +.hljs-addition, +.hljs-meta-string, +.hljs-section, +.hljs-selector-attr, +.hljs-selector-class, +.hljs-string, +.hljs-symbol { + color: #b8bb26; +} + +/* Gruvbox Aqua */ +.hljs-attribute, +.hljs-bullet, +.hljs-class, +.hljs-function, +.hljs-function .hljs-keyword, +.hljs-meta-keyword, +.hljs-selector-pseudo, +.hljs-tag { + color: #8ec07c; +} + +/* Gruvbox Gray */ +.hljs-comment { + color: #928374; +} + +/* Gruvbox Purple */ +.hljs-link_label, +.hljs-literal, +.hljs-number { + color: #d3869b; +} + +.hljs-comment, +.hljs-emphasis { + font-style: italic; +} + +.hljs-section, +.hljs-strong, +.hljs-tag { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/gruvbox-light.css b/digital-future-summit/src/assets/lib/hljs/styles/gruvbox-light.css new file mode 100644 index 0000000..ff45468 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/gruvbox-light.css @@ -0,0 +1,108 @@ +/* + +Gruvbox style (light) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox) + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #fbf1c7; +} + +.hljs, +.hljs-subst { + color: #3c3836; +} + +/* Gruvbox Red */ +.hljs-deletion, +.hljs-formula, +.hljs-keyword, +.hljs-link, +.hljs-selector-tag { + color: #9d0006; +} + +/* Gruvbox Blue */ +.hljs-built_in, +.hljs-emphasis, +.hljs-name, +.hljs-quote, +.hljs-strong, +.hljs-title, +.hljs-variable { + color: #076678; +} + +/* Gruvbox Yellow */ +.hljs-attr, +.hljs-params, +.hljs-template-tag, +.hljs-type { + color: #b57614; +} + +/* Gruvbox Purple */ +.hljs-builtin-name, +.hljs-doctag, +.hljs-literal, +.hljs-number { + color: #8f3f71; +} + +/* Gruvbox Orange */ +.hljs-code, +.hljs-meta, +.hljs-regexp, +.hljs-selector-id, +.hljs-template-variable { + color: #af3a03; +} + +/* Gruvbox Green */ +.hljs-addition, +.hljs-meta-string, +.hljs-section, +.hljs-selector-attr, +.hljs-selector-class, +.hljs-string, +.hljs-symbol { + color: #79740e; +} + +/* Gruvbox Aqua */ +.hljs-attribute, +.hljs-bullet, +.hljs-class, +.hljs-function, +.hljs-function .hljs-keyword, +.hljs-meta-keyword, +.hljs-selector-pseudo, +.hljs-tag { + color: #427b58; +} + +/* Gruvbox Gray */ +.hljs-comment { + color: #928374; +} + +/* Gruvbox Purple */ +.hljs-link_label, +.hljs-literal, +.hljs-number { + color: #8f3f71; +} + +.hljs-comment, +.hljs-emphasis { + font-style: italic; +} + +.hljs-section, +.hljs-strong, +.hljs-tag { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/hopscotch.css b/digital-future-summit/src/assets/lib/hljs/styles/hopscotch.css new file mode 100644 index 0000000..32e60d2 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/hopscotch.css @@ -0,0 +1,83 @@ +/* + * Hopscotch + * by Jan T. Sott + * https://github.com/idleberg/Hopscotch + * + * This work is licensed under the Creative Commons CC0 1.0 Universal License + */ + +/* Comment */ +.hljs-comment, +.hljs-quote { + color: #989498; +} + +/* Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-link, +.hljs-deletion { + color: #dd464c; +} + +/* Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #fd8b19; +} + +/* Yellow */ +.hljs-class .hljs-title { + color: #fdcc59; +} + +/* Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #8fc13e; +} + +/* Aqua */ +.hljs-meta { + color: #149b93; +} + +/* Blue */ +.hljs-function, +.hljs-section, +.hljs-title { + color: #1290bf; +} + +/* Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #c85e7c; +} + +.hljs { + display: block; + background: #322931; + color: #b9b5b8; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/hybrid.css b/digital-future-summit/src/assets/lib/hljs/styles/hybrid.css new file mode 100644 index 0000000..29735a1 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/hybrid.css @@ -0,0 +1,102 @@ +/* + +vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) + +*/ + +/*background color*/ +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #1d1f21; +} + +/*selection color*/ +.hljs::selection, +.hljs span::selection { + background: #373b41; +} + +.hljs::-moz-selection, +.hljs span::-moz-selection { + background: #373b41; +} + +/*foreground color*/ +.hljs { + color: #c5c8c6; +} + +/*color: fg_yellow*/ +.hljs-title, +.hljs-name { + color: #f0c674; +} + +/*color: fg_comment*/ +.hljs-comment, +.hljs-meta, +.hljs-meta .hljs-keyword { + color: #707880; +} + +/*color: fg_red*/ +.hljs-number, +.hljs-symbol, +.hljs-literal, +.hljs-deletion, +.hljs-link { + color: #cc6666 +} + +/*color: fg_green*/ +.hljs-string, +.hljs-doctag, +.hljs-addition, +.hljs-regexp, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #b5bd68; +} + +/*color: fg_purple*/ +.hljs-attribute, +.hljs-code, +.hljs-selector-id { + color: #b294bb; +} + +/*color: fg_blue*/ +.hljs-keyword, +.hljs-selector-tag, +.hljs-bullet, +.hljs-tag { + color: #81a2be; +} + +/*color: fg_aqua*/ +.hljs-subst, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable { + color: #8abeb7; +} + +/*color: fg_orange*/ +.hljs-type, +.hljs-built_in, +.hljs-builtin-name, +.hljs-quote, +.hljs-section, +.hljs-selector-class { + color: #de935f; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/idea.css b/digital-future-summit/src/assets/lib/hljs/styles/idea.css new file mode 100644 index 0000000..3bf1892 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/idea.css @@ -0,0 +1,97 @@ +/* + +Intellij Idea-like styling (c) Vasily Polovnyov + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #000; + background: #fff; +} + +.hljs-subst, +.hljs-title { + font-weight: normal; + color: #000; +} + +.hljs-comment, +.hljs-quote { + color: #808080; + font-style: italic; +} + +.hljs-meta { + color: #808000; +} + +.hljs-tag { + background: #efefef; +} + +.hljs-section, +.hljs-name, +.hljs-literal, +.hljs-keyword, +.hljs-selector-tag, +.hljs-type, +.hljs-selector-id, +.hljs-selector-class { + font-weight: bold; + color: #000080; +} + +.hljs-attribute, +.hljs-number, +.hljs-regexp, +.hljs-link { + font-weight: bold; + color: #0000ff; +} + +.hljs-number, +.hljs-regexp, +.hljs-link { + font-weight: normal; +} + +.hljs-string { + color: #008000; + font-weight: bold; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-formula { + color: #000; + background: #d0eded; + font-style: italic; +} + +.hljs-doctag { + text-decoration: underline; +} + +.hljs-variable, +.hljs-template-variable { + color: #660e7a; +} + +.hljs-addition { + background: #baeeba; +} + +.hljs-deletion { + background: #ffc8bd; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/ir-black.css b/digital-future-summit/src/assets/lib/hljs/styles/ir-black.css new file mode 100644 index 0000000..bd4c755 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/ir-black.css @@ -0,0 +1,73 @@ +/* + IR_Black style (c) Vasily Mikhailitchenko +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #000; + color: #f8f8f8; +} + +.hljs-comment, +.hljs-quote, +.hljs-meta { + color: #7c7c7c; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-tag, +.hljs-name { + color: #96cbfe; +} + +.hljs-attribute, +.hljs-selector-id { + color: #ffffb6; +} + +.hljs-string, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-addition { + color: #a8ff60; +} + +.hljs-subst { + color: #daefa3; +} + +.hljs-regexp, +.hljs-link { + color: #e9c062; +} + +.hljs-title, +.hljs-section, +.hljs-type, +.hljs-doctag { + color: #ffffb6; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-variable, +.hljs-template-variable, +.hljs-literal { + color: #c6c5fe; +} + +.hljs-number, +.hljs-deletion { + color:#ff73fd; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/kimbie.dark.css b/digital-future-summit/src/assets/lib/hljs/styles/kimbie.dark.css new file mode 100644 index 0000000..d139cb5 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/kimbie.dark.css @@ -0,0 +1,74 @@ +/* + Name: Kimbie (dark) + Author: Jan T. Sott + License: Creative Commons Attribution-ShareAlike 4.0 Unported License + URL: https://github.com/idleberg/Kimbie-highlight.js +*/ + +/* Kimbie Comment */ +.hljs-comment, +.hljs-quote { + color: #d6baad; +} + +/* Kimbie Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-meta { + color: #dc3958; +} + +/* Kimbie Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-deletion, +.hljs-link { + color: #f79a32; +} + +/* Kimbie Yellow */ +.hljs-title, +.hljs-section, +.hljs-attribute { + color: #f06431; +} + +/* Kimbie Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #889b4a; +} + +/* Kimbie Purple */ +.hljs-keyword, +.hljs-selector-tag, +.hljs-function { + color: #98676a; +} + +.hljs { + display: block; + overflow-x: auto; + background: #221a0f; + color: #d3af86; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/kimbie.light.css b/digital-future-summit/src/assets/lib/hljs/styles/kimbie.light.css new file mode 100644 index 0000000..04ff6ed --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/kimbie.light.css @@ -0,0 +1,74 @@ +/* + Name: Kimbie (light) + Author: Jan T. Sott + License: Creative Commons Attribution-ShareAlike 4.0 Unported License + URL: https://github.com/idleberg/Kimbie-highlight.js +*/ + +/* Kimbie Comment */ +.hljs-comment, +.hljs-quote { + color: #a57a4c; +} + +/* Kimbie Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-meta { + color: #dc3958; +} + +/* Kimbie Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-deletion, +.hljs-link { + color: #f79a32; +} + +/* Kimbie Yellow */ +.hljs-title, +.hljs-section, +.hljs-attribute { + color: #f06431; +} + +/* Kimbie Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #889b4a; +} + +/* Kimbie Purple */ +.hljs-keyword, +.hljs-selector-tag, +.hljs-function { + color: #98676a; +} + +.hljs { + display: block; + overflow-x: auto; + background: #fbebd4; + color: #84613d; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/magula.css b/digital-future-summit/src/assets/lib/hljs/styles/magula.css new file mode 100644 index 0000000..44dee5e --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/magula.css @@ -0,0 +1,70 @@ +/* +Description: Magula style for highligh.js +Author: Ruslan Keba +Website: http://rukeba.com/ +Version: 1.0 +Date: 2009-01-03 +Music: Aphex Twin / Xtal +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background-color: #f4f4f4; +} + +.hljs, +.hljs-subst { + color: black; +} + +.hljs-string, +.hljs-title, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute, +.hljs-addition, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable { + color: #050; +} + +.hljs-comment, +.hljs-quote { + color: #777; +} + +.hljs-number, +.hljs-regexp, +.hljs-literal, +.hljs-type, +.hljs-link { + color: #800; +} + +.hljs-deletion, +.hljs-meta { + color: #00e; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-doctag, +.hljs-title, +.hljs-section, +.hljs-built_in, +.hljs-tag, +.hljs-name { + font-weight: bold; + color: navy; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/mono-blue.css b/digital-future-summit/src/assets/lib/hljs/styles/mono-blue.css new file mode 100644 index 0000000..884c97c --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/mono-blue.css @@ -0,0 +1,59 @@ +/* + Five-color theme from a single blue hue. +*/ +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #eaeef3; +} + +.hljs { + color: #00193a; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-title, +.hljs-section, +.hljs-doctag, +.hljs-name, +.hljs-strong { + font-weight: bold; +} + +.hljs-comment { + color: #738191; +} + +.hljs-string, +.hljs-title, +.hljs-section, +.hljs-built_in, +.hljs-literal, +.hljs-type, +.hljs-addition, +.hljs-tag, +.hljs-quote, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #0048ab; +} + +.hljs-meta, +.hljs-subst, +.hljs-symbol, +.hljs-regexp, +.hljs-attribute, +.hljs-deletion, +.hljs-variable, +.hljs-template-variable, +.hljs-link, +.hljs-bullet { + color: #4c81c9; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/monokai-sublime.css b/digital-future-summit/src/assets/lib/hljs/styles/monokai-sublime.css new file mode 100644 index 0000000..2864170 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/monokai-sublime.css @@ -0,0 +1,83 @@ +/* + +Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #23241f; +} + +.hljs, +.hljs-tag, +.hljs-subst { + color: #f8f8f2; +} + +.hljs-strong, +.hljs-emphasis { + color: #a8a8a2; +} + +.hljs-bullet, +.hljs-quote, +.hljs-number, +.hljs-regexp, +.hljs-literal, +.hljs-link { + color: #ae81ff; +} + +.hljs-code, +.hljs-title, +.hljs-section, +.hljs-selector-class { + color: #a6e22e; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-name, +.hljs-attr { + color: #f92672; +} + +.hljs-symbol, +.hljs-attribute { + color: #66d9ef; +} + +.hljs-params, +.hljs-class .hljs-title { + color: #f8f8f2; +} + +.hljs-string, +.hljs-type, +.hljs-built_in, +.hljs-builtin-name, +.hljs-selector-id, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-addition, +.hljs-variable, +.hljs-template-variable { + color: #e6db74; +} + +.hljs-comment, +.hljs-deletion, +.hljs-meta { + color: #75715e; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/monokai.css b/digital-future-summit/src/assets/lib/hljs/styles/monokai.css new file mode 100644 index 0000000..775d53f --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/monokai.css @@ -0,0 +1,70 @@ +/* +Monokai style - ported by Luigi Maselli - http://grigio.org +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #272822; color: #ddd; +} + +.hljs-tag, +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-strong, +.hljs-name { + color: #f92672; +} + +.hljs-code { + color: #66d9ef; +} + +.hljs-class .hljs-title { + color: white; +} + +.hljs-attribute, +.hljs-symbol, +.hljs-regexp, +.hljs-link { + color: #bf79db; +} + +.hljs-string, +.hljs-bullet, +.hljs-subst, +.hljs-title, +.hljs-section, +.hljs-emphasis, +.hljs-type, +.hljs-built_in, +.hljs-builtin-name, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-addition, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable { + color: #a6e22e; +} + +.hljs-comment, +.hljs-quote, +.hljs-deletion, +.hljs-meta { + color: #75715e; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-doctag, +.hljs-title, +.hljs-section, +.hljs-type, +.hljs-selector-id { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/obsidian.css b/digital-future-summit/src/assets/lib/hljs/styles/obsidian.css new file mode 100644 index 0000000..356630f --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/obsidian.css @@ -0,0 +1,88 @@ +/** + * Obsidian style + * ported by Alexander Marenin (http://github.com/ioncreature) + */ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #282b2e; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-selector-id { + color: #93c763; +} + +.hljs-number { + color: #ffcd22; +} + +.hljs { + color: #e0e2e4; +} + +.hljs-attribute { + color: #668bb0; +} + +.hljs-code, +.hljs-class .hljs-title, +.hljs-section { + color: white; +} + +.hljs-regexp, +.hljs-link { + color: #d39745; +} + +.hljs-meta { + color: #557182; +} + +.hljs-tag, +.hljs-name, +.hljs-bullet, +.hljs-subst, +.hljs-emphasis, +.hljs-type, +.hljs-built_in, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-addition, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable { + color: #8cbbad; +} + +.hljs-string, +.hljs-symbol { + color: #ec7600; +} + +.hljs-comment, +.hljs-quote, +.hljs-deletion { + color: #818e96; +} + +.hljs-selector-class { + color: #A082BD +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-doctag, +.hljs-title, +.hljs-section, +.hljs-type, +.hljs-name, +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/ocean.css b/digital-future-summit/src/assets/lib/hljs/styles/ocean.css new file mode 100644 index 0000000..5901581 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/ocean.css @@ -0,0 +1,74 @@ +/* Ocean Dark Theme */ +/* https://github.com/gavsiu */ +/* Original theme - https://github.com/chriskempson/base16 */ + +/* Ocean Comment */ +.hljs-comment, +.hljs-quote { + color: #65737e; +} + +/* Ocean Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-deletion { + color: #bf616a; +} + +/* Ocean Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-meta, +.hljs-link { + color: #d08770; +} + +/* Ocean Yellow */ +.hljs-attribute { + color: #ebcb8b; +} + +/* Ocean Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #a3be8c; +} + +/* Ocean Blue */ +.hljs-title, +.hljs-section { + color: #8fa1b3; +} + +/* Ocean Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #b48ead; +} + +.hljs { + display: block; + overflow-x: auto; + background: #2b303b; + color: #c0c5ce; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/paraiso-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/paraiso-dark.css new file mode 100644 index 0000000..e729240 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/paraiso-dark.css @@ -0,0 +1,72 @@ +/* + Paraíso (dark) + Created by Jan T. Sott (http://github.com/idleberg) + Inspired by the art of Rubens LP (http://www.rubenslp.com.br) +*/ + +/* Paraíso Comment */ +.hljs-comment, +.hljs-quote { + color: #8d8687; +} + +/* Paraíso Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-link, +.hljs-meta { + color: #ef6155; +} + +/* Paraíso Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-deletion { + color: #f99b15; +} + +/* Paraíso Yellow */ +.hljs-title, +.hljs-section, +.hljs-attribute { + color: #fec418; +} + +/* Paraíso Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #48b685; +} + +/* Paraíso Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #815ba4; +} + +.hljs { + display: block; + overflow-x: auto; + background: #2f1e2e; + color: #a39e9b; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/paraiso-light.css b/digital-future-summit/src/assets/lib/hljs/styles/paraiso-light.css new file mode 100644 index 0000000..944857c --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/paraiso-light.css @@ -0,0 +1,72 @@ +/* + Paraíso (light) + Created by Jan T. Sott (http://github.com/idleberg) + Inspired by the art of Rubens LP (http://www.rubenslp.com.br) +*/ + +/* Paraíso Comment */ +.hljs-comment, +.hljs-quote { + color: #776e71; +} + +/* Paraíso Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-link, +.hljs-meta { + color: #ef6155; +} + +/* Paraíso Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-deletion { + color: #f99b15; +} + +/* Paraíso Yellow */ +.hljs-title, +.hljs-section, +.hljs-attribute { + color: #fec418; +} + +/* Paraíso Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #48b685; +} + +/* Paraíso Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #815ba4; +} + +.hljs { + display: block; + overflow-x: auto; + background: #e7e9db; + color: #4f424c; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/pojoaque.css b/digital-future-summit/src/assets/lib/hljs/styles/pojoaque.css new file mode 100644 index 0000000..2e07847 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/pojoaque.css @@ -0,0 +1,83 @@ +/* + +Pojoaque Style by Jason Tate +http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html +Based on Solarized Style from http://ethanschoonover.com/solarized + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #dccf8f; + background: url(./pojoaque.jpg) repeat scroll left top #181914; +} + +.hljs-comment, +.hljs-quote { + color: #586e75; + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-addition { + color: #b64926; +} + +.hljs-number, +.hljs-string, +.hljs-doctag, +.hljs-regexp { + color: #468966; +} + +.hljs-title, +.hljs-section, +.hljs-built_in, +.hljs-name { + color: #ffb03b; +} + +.hljs-variable, +.hljs-template-variable, +.hljs-class .hljs-title, +.hljs-type, +.hljs-tag { + color: #b58900; +} + +.hljs-attribute { + color: #b89859; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-link, +.hljs-subst, +.hljs-meta { + color: #cb4b16; +} + +.hljs-deletion { + color: #dc322f; +} + +.hljs-selector-id, +.hljs-selector-class { + color: #d3a60c; +} + +.hljs-formula { + background: #073642; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/pojoaque.jpg b/digital-future-summit/src/assets/lib/hljs/styles/pojoaque.jpg new file mode 100644 index 0000000..9c07d4a Binary files /dev/null and b/digital-future-summit/src/assets/lib/hljs/styles/pojoaque.jpg differ diff --git a/digital-future-summit/src/assets/lib/hljs/styles/purebasic.css b/digital-future-summit/src/assets/lib/hljs/styles/purebasic.css new file mode 100644 index 0000000..5ce9b9e --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/purebasic.css @@ -0,0 +1,96 @@ +/* + +PureBASIC native IDE style ( version 1.0 - April 2016 ) + +by Tristano Ajmone + +Public Domain + +NOTE_1: PureBASIC code syntax highlighting only applies the following classes: + .hljs-comment + .hljs-function + .hljs-keywords + .hljs-string + .hljs-symbol + + Other classes are added here for the benefit of styling other languages with the look and feel of PureBASIC native IDE style. + If you need to customize a stylesheet for PureBASIC only, remove all non-relevant classes -- PureBASIC-related classes are followed by + a "--- used for PureBASIC ... ---" comment on same line. + +NOTE_2: Color names provided in comments were derived using "Name that Color" online tool: + http://chir.ag/projects/name-that-color +*/ + +.hljs { /* Common set of rules required by highlight.js (don'r remove!) */ + display: block; + overflow-x: auto; + padding: 0.5em; + background: #FFFFDF; /* Half and Half (approx.) */ +/* --- Uncomment to add PureBASIC native IDE styled font! + font-family: Consolas; +*/ +} + +.hljs, /* --- used for PureBASIC base color --- */ +.hljs-type, /* --- used for PureBASIC Procedures return type --- */ +.hljs-function, /* --- used for wrapping PureBASIC Procedures definitions --- */ +.hljs-name, +.hljs-number, +.hljs-attr, +.hljs-params, +.hljs-subst { + color: #000000; /* Black */ +} + +.hljs-comment, /* --- used for PureBASIC Comments --- */ +.hljs-regexp, +.hljs-section, +.hljs-selector-pseudo, +.hljs-addition { + color: #00AAAA; /* Persian Green (approx.) */ +} + +.hljs-title, /* --- used for PureBASIC Procedures Names --- */ +.hljs-tag, +.hljs-variable, +.hljs-code { + color: #006666; /* Blue Stone (approx.) */ +} + +.hljs-keyword, /* --- used for PureBASIC Keywords --- */ +.hljs-class, +.hljs-meta-keyword, +.hljs-selector-class, +.hljs-built_in, +.hljs-builtin-name { + color: #006666; /* Blue Stone (approx.) */ + font-weight: bold; +} + +.hljs-string, /* --- used for PureBASIC Strings --- */ +.hljs-selector-attr { + color: #0080FF; /* Azure Radiance (approx.) */ +} + +.hljs-symbol, /* --- used for PureBASIC Constants --- */ +.hljs-link, +.hljs-deletion, +.hljs-attribute { + color: #924B72; /* Cannon Pink (approx.) */ +} + +.hljs-meta, +.hljs-literal, +.hljs-selector-id { + color: #924B72; /* Cannon Pink (approx.) */ + font-weight: bold; +} + +.hljs-strong, +.hljs-name { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/qtcreator_dark.css b/digital-future-summit/src/assets/lib/hljs/styles/qtcreator_dark.css new file mode 100644 index 0000000..7aa56a3 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/qtcreator_dark.css @@ -0,0 +1,83 @@ +/* + +Qt Creator dark color scheme + +*/ + + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #000000; +} + +.hljs, +.hljs-subst, +.hljs-tag, +.hljs-title { + color: #aaaaaa; +} + +.hljs-strong, +.hljs-emphasis { + color: #a8a8a2; +} + +.hljs-bullet, +.hljs-quote, +.hljs-number, +.hljs-regexp, +.hljs-literal { + color: #ff55ff; +} + +.hljs-code +.hljs-selector-class { + color: #aaaaff; +} + +.hljs-emphasis, +.hljs-stronge, +.hljs-type { + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-function, +.hljs-section, +.hljs-symbol, +.hljs-name { + color: #ffff55; +} + +.hljs-attribute { + color: #ff5555; +} + +.hljs-variable, +.hljs-params, +.hljs-class .hljs-title { + color: #8888ff; +} + +.hljs-string, +.hljs-selector-id, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-type, +.hljs-built_in, +.hljs-builtin-name, +.hljs-template-tag, +.hljs-template-variable, +.hljs-addition, +.hljs-link { + color: #ff55ff; +} + +.hljs-comment, +.hljs-meta, +.hljs-deletion { + color: #55ffff; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/qtcreator_light.css b/digital-future-summit/src/assets/lib/hljs/styles/qtcreator_light.css new file mode 100644 index 0000000..1efa2c6 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/qtcreator_light.css @@ -0,0 +1,83 @@ +/* + +Qt Creator light color scheme + +*/ + + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #ffffff; +} + +.hljs, +.hljs-subst, +.hljs-tag, +.hljs-title { + color: #000000; +} + +.hljs-strong, +.hljs-emphasis { + color: #000000; +} + +.hljs-bullet, +.hljs-quote, +.hljs-number, +.hljs-regexp, +.hljs-literal { + color: #000080; +} + +.hljs-code +.hljs-selector-class { + color: #800080; +} + +.hljs-emphasis, +.hljs-stronge, +.hljs-type { + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-function, +.hljs-section, +.hljs-symbol, +.hljs-name { + color: #808000; +} + +.hljs-attribute { + color: #800000; +} + +.hljs-variable, +.hljs-params, +.hljs-class .hljs-title { + color: #0055AF; +} + +.hljs-string, +.hljs-selector-id, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-type, +.hljs-built_in, +.hljs-builtin-name, +.hljs-template-tag, +.hljs-template-variable, +.hljs-addition, +.hljs-link { + color: #008000; +} + +.hljs-comment, +.hljs-meta, +.hljs-deletion { + color: #008000; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/railscasts.css b/digital-future-summit/src/assets/lib/hljs/styles/railscasts.css new file mode 100644 index 0000000..008cdc5 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/railscasts.css @@ -0,0 +1,106 @@ +/* + +Railscasts-like style (c) Visoft, Inc. (Damien White) + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #232323; + color: #e6e1dc; +} + +.hljs-comment, +.hljs-quote { + color: #bc9458; + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag { + color: #c26230; +} + +.hljs-string, +.hljs-number, +.hljs-regexp, +.hljs-variable, +.hljs-template-variable { + color: #a5c261; +} + +.hljs-subst { + color: #519f50; +} + +.hljs-tag, +.hljs-name { + color: #e8bf6a; +} + +.hljs-type { + color: #da4939; +} + + +.hljs-symbol, +.hljs-bullet, +.hljs-built_in, +.hljs-builtin-name, +.hljs-attr, +.hljs-link { + color: #6d9cbe; +} + +.hljs-params { + color: #d0d0ff; +} + +.hljs-attribute { + color: #cda869; +} + +.hljs-meta { + color: #9b859d; +} + +.hljs-title, +.hljs-section { + color: #ffc66d; +} + +.hljs-addition { + background-color: #144212; + color: #e6e1dc; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #600; + color: #e6e1dc; + display: inline-block; + width: 100%; +} + +.hljs-selector-class { + color: #9b703f; +} + +.hljs-selector-id { + color: #8b98ab; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-link { + text-decoration: underline; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/rainbow.css b/digital-future-summit/src/assets/lib/hljs/styles/rainbow.css new file mode 100644 index 0000000..905eb8e --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/rainbow.css @@ -0,0 +1,85 @@ +/* + +Style with support for rainbow parens + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #474949; + color: #d1d9e1; +} + + +.hljs-comment, +.hljs-quote { + color: #969896; + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-type, +.hljs-addition { + color: #cc99cc; +} + +.hljs-number, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #f99157; +} + +.hljs-string, +.hljs-doctag, +.hljs-regexp { + color: #8abeb7; +} + +.hljs-title, +.hljs-name, +.hljs-section, +.hljs-built_in { + color: #b5bd68; +} + +.hljs-variable, +.hljs-template-variable, +.hljs-selector-id, +.hljs-class .hljs-title { + color: #ffcc66; +} + +.hljs-section, +.hljs-name, +.hljs-strong { + font-weight: bold; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-subst, +.hljs-meta, +.hljs-link { + color: #f99157; +} + +.hljs-deletion { + color: #dc322f; +} + +.hljs-formula { + background: #eee8d5; +} + +.hljs-attr, +.hljs-attribute { + color: #81a2be; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/routeros.css b/digital-future-summit/src/assets/lib/hljs/styles/routeros.css new file mode 100644 index 0000000..ebe2399 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/routeros.css @@ -0,0 +1,108 @@ +/* + + highlight.js style for Microtik RouterOS script + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #F0F0F0; +} + +/* Base color: saturation 0; */ + +.hljs, +.hljs-subst { + color: #444; +} + +.hljs-comment { + color: #888888; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-meta-keyword, +.hljs-doctag, +.hljs-name { + font-weight: bold; +} + +.hljs-attribute { + color: #0E9A00; +} + +.hljs-function { + color: #99069A; +} + +.hljs-builtin-name { + color: #99069A; +} + +/* User color: hue: 0 */ + +.hljs-type, +.hljs-string, +.hljs-number, +.hljs-selector-id, +.hljs-selector-class, +.hljs-quote, +.hljs-template-tag, +.hljs-deletion { + color: #880000; +} + +.hljs-title, +.hljs-section { + color: #880000; + font-weight: bold; +} + +.hljs-regexp, +.hljs-symbol, +.hljs-variable, +.hljs-template-variable, +.hljs-link, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #BC6060; +} + + +/* Language color: hue: 90; */ + +.hljs-literal { + color: #78A960; +} + +.hljs-built_in, +.hljs-bullet, +.hljs-code, +.hljs-addition { + color: #0C9A9A; +} + + +/* Meta color: hue: 200 */ + +.hljs-meta { + color: #1f7199; +} + +.hljs-meta-string { + color: #4d99bf; +} + + +/* Misc effects */ + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/school-book.css b/digital-future-summit/src/assets/lib/hljs/styles/school-book.css new file mode 100644 index 0000000..964b51d --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/school-book.css @@ -0,0 +1,72 @@ +/* + +School Book style from goldblog.com.ua (c) Zaripov Yura + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 15px 0.5em 0.5em 30px; + font-size: 11px; + line-height:16px; +} + +pre{ + background:#f6f6ae url(./school-book.png); + border-top: solid 2px #d2e8b9; + border-bottom: solid 1px #d2e8b9; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal { + color:#005599; + font-weight:bold; +} + +.hljs, +.hljs-subst { + color: #3e5915; +} + +.hljs-string, +.hljs-title, +.hljs-section, +.hljs-type, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute, +.hljs-built_in, +.hljs-builtin-name, +.hljs-addition, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable, +.hljs-link { + color: #2c009f; +} + +.hljs-comment, +.hljs-quote, +.hljs-deletion, +.hljs-meta { + color: #e60415; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-doctag, +.hljs-title, +.hljs-section, +.hljs-type, +.hljs-name, +.hljs-selector-id, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/school-book.png b/digital-future-summit/src/assets/lib/hljs/styles/school-book.png new file mode 100644 index 0000000..956e979 Binary files /dev/null and b/digital-future-summit/src/assets/lib/hljs/styles/school-book.png differ diff --git a/digital-future-summit/src/assets/lib/hljs/styles/solarized-dark.css b/digital-future-summit/src/assets/lib/hljs/styles/solarized-dark.css new file mode 100644 index 0000000..b4c0da1 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/solarized-dark.css @@ -0,0 +1,84 @@ +/* + +Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #002b36; + color: #839496; +} + +.hljs-comment, +.hljs-quote { + color: #586e75; +} + +/* Solarized Green */ +.hljs-keyword, +.hljs-selector-tag, +.hljs-addition { + color: #859900; +} + +/* Solarized Cyan */ +.hljs-number, +.hljs-string, +.hljs-meta .hljs-meta-string, +.hljs-literal, +.hljs-doctag, +.hljs-regexp { + color: #2aa198; +} + +/* Solarized Blue */ +.hljs-title, +.hljs-section, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #268bd2; +} + +/* Solarized Yellow */ +.hljs-attribute, +.hljs-attr, +.hljs-variable, +.hljs-template-variable, +.hljs-class .hljs-title, +.hljs-type { + color: #b58900; +} + +/* Solarized Orange */ +.hljs-symbol, +.hljs-bullet, +.hljs-subst, +.hljs-meta, +.hljs-meta .hljs-keyword, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-link { + color: #cb4b16; +} + +/* Solarized Red */ +.hljs-built_in, +.hljs-deletion { + color: #dc322f; +} + +.hljs-formula { + background: #073642; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/solarized-light.css b/digital-future-summit/src/assets/lib/hljs/styles/solarized-light.css new file mode 100644 index 0000000..fdcfcc7 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/solarized-light.css @@ -0,0 +1,84 @@ +/* + +Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #fdf6e3; + color: #657b83; +} + +.hljs-comment, +.hljs-quote { + color: #93a1a1; +} + +/* Solarized Green */ +.hljs-keyword, +.hljs-selector-tag, +.hljs-addition { + color: #859900; +} + +/* Solarized Cyan */ +.hljs-number, +.hljs-string, +.hljs-meta .hljs-meta-string, +.hljs-literal, +.hljs-doctag, +.hljs-regexp { + color: #2aa198; +} + +/* Solarized Blue */ +.hljs-title, +.hljs-section, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #268bd2; +} + +/* Solarized Yellow */ +.hljs-attribute, +.hljs-attr, +.hljs-variable, +.hljs-template-variable, +.hljs-class .hljs-title, +.hljs-type { + color: #b58900; +} + +/* Solarized Orange */ +.hljs-symbol, +.hljs-bullet, +.hljs-subst, +.hljs-meta, +.hljs-meta .hljs-keyword, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-link { + color: #cb4b16; +} + +/* Solarized Red */ +.hljs-built_in, +.hljs-deletion { + color: #dc322f; +} + +.hljs-formula { + background: #eee8d5; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/sunburst.css b/digital-future-summit/src/assets/lib/hljs/styles/sunburst.css new file mode 100644 index 0000000..f56dd5e --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/sunburst.css @@ -0,0 +1,102 @@ +/* + +Sunburst-like style (c) Vasily Polovnyov + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #000; + color: #f8f8f8; +} + +.hljs-comment, +.hljs-quote { + color: #aeaeae; + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #e28964; +} + +.hljs-string { + color: #65b042; +} + +.hljs-subst { + color: #daefa3; +} + +.hljs-regexp, +.hljs-link { + color: #e9c062; +} + +.hljs-title, +.hljs-section, +.hljs-tag, +.hljs-name { + color: #89bdff; +} + +.hljs-class .hljs-title, +.hljs-doctag { + text-decoration: underline; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-number { + color: #3387cc; +} + +.hljs-params, +.hljs-variable, +.hljs-template-variable { + color: #3e87e3; +} + +.hljs-attribute { + color: #cda869; +} + +.hljs-meta { + color: #8996a8; +} + +.hljs-formula { + background-color: #0e2231; + color: #f8f8f8; + font-style: italic; +} + +.hljs-addition { + background-color: #253b22; + color: #f8f8f8; +} + +.hljs-deletion { + background-color: #420e09; + color: #f8f8f8; +} + +.hljs-selector-class { + color: #9b703f; +} + +.hljs-selector-id { + color: #8b98ab; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night-blue.css b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night-blue.css new file mode 100644 index 0000000..78e59cc --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night-blue.css @@ -0,0 +1,75 @@ +/* Tomorrow Night Blue Theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +/* Tomorrow Comment */ +.hljs-comment, +.hljs-quote { + color: #7285b7; +} + +/* Tomorrow Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-deletion { + color: #ff9da4; +} + +/* Tomorrow Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-meta, +.hljs-link { + color: #ffc58f; +} + +/* Tomorrow Yellow */ +.hljs-attribute { + color: #ffeead; +} + +/* Tomorrow Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #d1f1a9; +} + +/* Tomorrow Blue */ +.hljs-title, +.hljs-section { + color: #bbdaff; +} + +/* Tomorrow Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #ebbbff; +} + +.hljs { + display: block; + overflow-x: auto; + background: #002451; + color: white; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night-bright.css b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night-bright.css new file mode 100644 index 0000000..e05af8a --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night-bright.css @@ -0,0 +1,74 @@ +/* Tomorrow Night Bright Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +/* Tomorrow Comment */ +.hljs-comment, +.hljs-quote { + color: #969896; +} + +/* Tomorrow Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-deletion { + color: #d54e53; +} + +/* Tomorrow Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-meta, +.hljs-link { + color: #e78c45; +} + +/* Tomorrow Yellow */ +.hljs-attribute { + color: #e7c547; +} + +/* Tomorrow Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #b9ca4a; +} + +/* Tomorrow Blue */ +.hljs-title, +.hljs-section { + color: #7aa6da; +} + +/* Tomorrow Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #c397d8; +} + +.hljs { + display: block; + overflow-x: auto; + background: black; + color: #eaeaea; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night-eighties.css b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night-eighties.css new file mode 100644 index 0000000..08fd51c --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night-eighties.css @@ -0,0 +1,74 @@ +/* Tomorrow Night Eighties Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +/* Tomorrow Comment */ +.hljs-comment, +.hljs-quote { + color: #999999; +} + +/* Tomorrow Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-deletion { + color: #f2777a; +} + +/* Tomorrow Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-meta, +.hljs-link { + color: #f99157; +} + +/* Tomorrow Yellow */ +.hljs-attribute { + color: #ffcc66; +} + +/* Tomorrow Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #99cc99; +} + +/* Tomorrow Blue */ +.hljs-title, +.hljs-section { + color: #6699cc; +} + +/* Tomorrow Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #cc99cc; +} + +.hljs { + display: block; + overflow-x: auto; + background: #2d2d2d; + color: #cccccc; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night.css b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night.css new file mode 100644 index 0000000..ddd270a --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow-night.css @@ -0,0 +1,75 @@ +/* Tomorrow Night Theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +/* Tomorrow Comment */ +.hljs-comment, +.hljs-quote { + color: #969896; +} + +/* Tomorrow Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-deletion { + color: #cc6666; +} + +/* Tomorrow Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-meta, +.hljs-link { + color: #de935f; +} + +/* Tomorrow Yellow */ +.hljs-attribute { + color: #f0c674; +} + +/* Tomorrow Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #b5bd68; +} + +/* Tomorrow Blue */ +.hljs-title, +.hljs-section { + color: #81a2be; +} + +/* Tomorrow Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #b294bb; +} + +.hljs { + display: block; + overflow-x: auto; + background: #1d1f21; + color: #c5c8c6; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/tomorrow.css b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow.css new file mode 100644 index 0000000..026a62f --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/tomorrow.css @@ -0,0 +1,72 @@ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +/* Tomorrow Comment */ +.hljs-comment, +.hljs-quote { + color: #8e908c; +} + +/* Tomorrow Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-deletion { + color: #c82829; +} + +/* Tomorrow Orange */ +.hljs-number, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-meta, +.hljs-link { + color: #f5871f; +} + +/* Tomorrow Yellow */ +.hljs-attribute { + color: #eab700; +} + +/* Tomorrow Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #718c00; +} + +/* Tomorrow Blue */ +.hljs-title, +.hljs-section { + color: #4271ae; +} + +/* Tomorrow Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #8959a8; +} + +.hljs { + display: block; + overflow-x: auto; + background: white; + color: #4d4d4c; + padding: 0.5em; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/vs.css b/digital-future-summit/src/assets/lib/hljs/styles/vs.css new file mode 100644 index 0000000..c5d07d3 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/vs.css @@ -0,0 +1,68 @@ +/* + +Visual Studio-like style based on original C# coloring by Jason Diamond + +*/ +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: white; + color: black; +} + +.hljs-comment, +.hljs-quote, +.hljs-variable { + color: #008000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-built_in, +.hljs-name, +.hljs-tag { + color: #00f; +} + +.hljs-string, +.hljs-title, +.hljs-section, +.hljs-attribute, +.hljs-literal, +.hljs-template-tag, +.hljs-template-variable, +.hljs-type, +.hljs-addition { + color: #a31515; +} + +.hljs-deletion, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-meta { + color: #2b91af; +} + +.hljs-doctag { + color: #808080; +} + +.hljs-attr { + color: #f00; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-link { + color: #00b0e8; +} + + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/vs2015.css b/digital-future-summit/src/assets/lib/hljs/styles/vs2015.css new file mode 100644 index 0000000..d1d9be3 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/vs2015.css @@ -0,0 +1,115 @@ +/* + * Visual Studio 2015 dark style + * Author: Nicolas LLOBERA + */ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #1E1E1E; + color: #DCDCDC; +} + +.hljs-keyword, +.hljs-literal, +.hljs-symbol, +.hljs-name { + color: #569CD6; +} +.hljs-link { + color: #569CD6; + text-decoration: underline; +} + +.hljs-built_in, +.hljs-type { + color: #4EC9B0; +} + +.hljs-number, +.hljs-class { + color: #B8D7A3; +} + +.hljs-string, +.hljs-meta-string { + color: #D69D85; +} + +.hljs-regexp, +.hljs-template-tag { + color: #9A5334; +} + +.hljs-subst, +.hljs-function, +.hljs-title, +.hljs-params, +.hljs-formula { + color: #DCDCDC; +} + +.hljs-comment, +.hljs-quote { + color: #57A64A; + font-style: italic; +} + +.hljs-doctag { + color: #608B4E; +} + +.hljs-meta, +.hljs-meta-keyword, +.hljs-tag { + color: #9B9B9B; +} + +.hljs-variable, +.hljs-template-variable { + color: #BD63C5; +} + +.hljs-attr, +.hljs-attribute, +.hljs-builtin-name { + color: #9CDCFE; +} + +.hljs-section { + color: gold; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +/*.hljs-code { + font-family:'Monospace'; +}*/ + +.hljs-bullet, +.hljs-selector-tag, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #D7BA7D; +} + +.hljs-addition { + background-color: #144212; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #600; + display: inline-block; + width: 100%; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/xcode.css b/digital-future-summit/src/assets/lib/hljs/styles/xcode.css new file mode 100644 index 0000000..43dddad --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/xcode.css @@ -0,0 +1,93 @@ +/* + +XCode style (c) Angel Garcia + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #fff; + color: black; +} + +.hljs-comment, +.hljs-quote { + color: #006a00; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal { + color: #aa0d91; +} + +.hljs-name { + color: #008; +} + +.hljs-variable, +.hljs-template-variable { + color: #660; +} + +.hljs-string { + color: #c41a16; +} + +.hljs-regexp, +.hljs-link { + color: #080; +} + +.hljs-title, +.hljs-tag, +.hljs-symbol, +.hljs-bullet, +.hljs-number, +.hljs-meta { + color: #1c00cf; +} + +.hljs-section, +.hljs-class .hljs-title, +.hljs-type, +.hljs-attr, +.hljs-built_in, +.hljs-builtin-name, +.hljs-params { + color: #5c2699; +} + +.hljs-attribute, +.hljs-subst { + color: #000; +} + +.hljs-formula { + background-color: #eee; + font-style: italic; +} + +.hljs-addition { + background-color: #baeeba; +} + +.hljs-deletion { + background-color: #ffc8bd; +} + +.hljs-selector-id, +.hljs-selector-class { + color: #9b703f; +} + +.hljs-doctag, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/xt256.css b/digital-future-summit/src/assets/lib/hljs/styles/xt256.css new file mode 100644 index 0000000..58df82c --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/xt256.css @@ -0,0 +1,92 @@ + +/* + xt256.css + + Contact: initbar [at] protonmail [dot] ch + : github.com/initbar +*/ + +.hljs { + display: block; + overflow-x: auto; + color: #eaeaea; + background: #000; + padding: 0.5; +} + +.hljs-subst { + color: #eaeaea; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-builtin-name, +.hljs-type { + color: #eaeaea; +} + +.hljs-params { + color: #da0000; +} + +.hljs-literal, +.hljs-number, +.hljs-name { + color: #ff0000; + font-weight: bolder; +} + +.hljs-comment { + color: #969896; +} + +.hljs-selector-id, +.hljs-quote { + color: #00ffff; +} + +.hljs-template-variable, +.hljs-variable, +.hljs-title { + color: #00ffff; + font-weight: bold; +} + +.hljs-selector-class, +.hljs-keyword, +.hljs-symbol { + color: #fff000; +} + +.hljs-string, +.hljs-bullet { + color: #00ff00; +} + +.hljs-tag, +.hljs-section { + color: #000fff; +} + +.hljs-selector-tag { + color: #000fff; + font-weight: bold; +} + +.hljs-attribute, +.hljs-built_in, +.hljs-regexp, +.hljs-link { + color: #ff00ff; +} + +.hljs-meta { + color: #fff; + font-weight: bolder; +} diff --git a/digital-future-summit/src/assets/lib/hljs/styles/zenburn.css b/digital-future-summit/src/assets/lib/hljs/styles/zenburn.css new file mode 100644 index 0000000..07be502 --- /dev/null +++ b/digital-future-summit/src/assets/lib/hljs/styles/zenburn.css @@ -0,0 +1,80 @@ +/* + +Zenburn style from voldmar.ru (c) Vladimir Epifanov +based on dark.css by Ivan Sagalaev + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #3f3f3f; + color: #dcdcdc; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-tag { + color: #e3ceab; +} + +.hljs-template-tag { + color: #dcdcdc; +} + +.hljs-number { + color: #8cd0d3; +} + +.hljs-variable, +.hljs-template-variable, +.hljs-attribute { + color: #efdcbc; +} + +.hljs-literal { + color: #efefaf; +} + +.hljs-subst { + color: #8f8f8f; +} + +.hljs-title, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-section, +.hljs-type { + color: #efef8f; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-link { + color: #dca3a3; +} + +.hljs-deletion, +.hljs-string, +.hljs-built_in, +.hljs-builtin-name { + color: #cc9393; +} + +.hljs-addition, +.hljs-comment, +.hljs-quote, +.hljs-meta { + color: #7f9f7f; +} + + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/digital-future-summit/src/e2e/protractor.conf.js b/digital-future-summit/src/e2e/protractor.conf.js new file mode 100644 index 0000000..e69de29 diff --git a/digital-future-summit/src/e2e/tsconfig.json b/digital-future-summit/src/e2e/tsconfig.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/digital-future-summit/src/e2e/tsconfig.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/digital-future-summit/src/environments/environment.prod.ts b/digital-future-summit/src/environments/environment.prod.ts new file mode 100644 index 0000000..80595b7 --- /dev/null +++ b/digital-future-summit/src/environments/environment.prod.ts @@ -0,0 +1,8 @@ +export const environment = { + platformType: 'webdpt', + production: true, + mock: { + db: {}, + methods: {} + } +}; diff --git a/digital-future-summit/src/environments/environment.ts b/digital-future-summit/src/environments/environment.ts new file mode 100644 index 0000000..3b77498 --- /dev/null +++ b/digital-future-summit/src/environments/environment.ts @@ -0,0 +1,15 @@ +// The file contents for the current environment will overwrite these during build. +// The build system defaults to the dev environment which uses `environment.ts`, but if you do +// `ng build --env=prod` then `environment.prod.ts` will be used instead. +// The list of which env maps to which file can be found in `.angular-cli.json`. + +import { mockDB, requestMethodImpl } from '../mock-data'; + +export const environment = { + platformType: 'webdpt', + production: false, + mock: { + db: mockDB, + methods: requestMethodImpl + } +}; diff --git a/digital-future-summit/src/favicon.ico b/digital-future-summit/src/favicon.ico new file mode 100644 index 0000000..51b9b82 Binary files /dev/null and b/digital-future-summit/src/favicon.ico differ diff --git a/digital-future-summit/src/index.html b/digital-future-summit/src/index.html new file mode 100644 index 0000000..2901d33 --- /dev/null +++ b/digital-future-summit/src/index.html @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/digital-future-summit/src/main.ts b/digital-future-summit/src/main.ts new file mode 100644 index 0000000..6ebbff9 --- /dev/null +++ b/digital-future-summit/src/main.ts @@ -0,0 +1,17 @@ +import { enableProdMode } from '@angular/core'; +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; + +import { AppModule } from './app/app.module'; + +import { registerLocaleData } from '@angular/common'; +import zh from '@angular/common/locales/zh'; +import { environment } from './environments/environment'; + +if (environment.production) { + enableProdMode(); +} + +registerLocaleData(zh); + +platformBrowserDynamic().bootstrapModule(AppModule) + .catch(err => console.log(err)); diff --git a/digital-future-summit/src/manifest.webmanifest b/digital-future-summit/src/manifest.webmanifest new file mode 100644 index 0000000..5046c0e --- /dev/null +++ b/digital-future-summit/src/manifest.webmanifest @@ -0,0 +1,51 @@ +{ + "name": "showcaseApp", + "short_name": "showcaseApp", + "theme_color": "#1976d2", + "background_color": "#fafafa", + "display": "standalone", + "scope": "/", + "start_url": "/", + "icons": [ + { + "src": "assets/icons/icon-72x72.png", + "sizes": "72x72", + "type": "image/png" + }, + { + "src": "assets/icons/icon-96x96.png", + "sizes": "96x96", + "type": "image/png" + }, + { + "src": "assets/icons/icon-128x128.png", + "sizes": "128x128", + "type": "image/png" + }, + { + "src": "assets/icons/icon-144x144.png", + "sizes": "144x144", + "type": "image/png" + }, + { + "src": "assets/icons/icon-152x152.png", + "sizes": "152x152", + "type": "image/png" + }, + { + "src": "assets/icons/icon-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "assets/icons/icon-384x384.png", + "sizes": "384x384", + "type": "image/png" + }, + { + "src": "assets/icons/icon-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ] +} diff --git a/digital-future-summit/src/mock-data/index.ts b/digital-future-summit/src/mock-data/index.ts new file mode 100644 index 0000000..e4a2de0 --- /dev/null +++ b/digital-future-summit/src/mock-data/index.ts @@ -0,0 +1,30 @@ +const i18ntw = require('../assets/i18n/zh_TW/basic.json'); +const i18ncn = require('../assets/i18n/zh_CN/basic.json'); +const i18nen = require('../assets/i18n/en_US/basic.json'); + +// import { demo1DocumentOrder } from './showcase/demo1/document-order/document-order'; + + +export const mockDB = {}; + +mockDB['assets/i18n/zh_TW/basic'] = i18ntw; +mockDB['assets/i18n/zh_CN/basic'] = i18ncn; +mockDB['assets/i18n/en_US/basic'] = i18nen; + +// mockDB['DEMO_DAP_CURRENT/DemoOrder/List'] = demo1DocumentOrder.data; +// mockDB['DEMO_DAP_CURRENT/DemoOrder'] = demo1DocumentOrder.data; + + +export const requestMethodImpl = {}; +// requestMethodImpl['DEMO_DAP_CURRENT/DemoOrder/List'] = { +// get: demo1DocumentOrder.getList, +// post: demo1DocumentOrder.postMethod, +// delete: demo1DocumentOrder.deleteMethod, +// put: demo1DocumentOrder.putMethod +// }; +// requestMethodImpl['DEMO_DAP_CURRENT/DemoOrder'] = { +// get: demo1DocumentOrder.getMethod, +// post: demo1DocumentOrder.postMethod, +// delete: demo1DocumentOrder.deleteMethod, +// put: demo1DocumentOrder.putMethod +// }; diff --git a/digital-future-summit/src/mock-data/typings.d.ts b/digital-future-summit/src/mock-data/typings.d.ts new file mode 100644 index 0000000..bbab69d --- /dev/null +++ b/digital-future-summit/src/mock-data/typings.d.ts @@ -0,0 +1,4 @@ +declare module '*.json' { + const value: any; + export default value; +} diff --git a/digital-future-summit/src/polyfills.ts b/digital-future-summit/src/polyfills.ts new file mode 100644 index 0000000..e4298d1 --- /dev/null +++ b/digital-future-summit/src/polyfills.ts @@ -0,0 +1,32 @@ +/** + * Web Animations `@angular/platform-browser/animations` + * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. + * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). + **/ +// import 'web-animations-js'; // Run `npm install --save web-animations-js`. + +/** + * By default, zone.js will patch all possible macroTask and DomEvents + * user can disable parts of macroTask/DomEvents patch by setting following flags + */ + +// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame +// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick +// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames + +/* + * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js + * with the following flag, it will bypass `zone.js` patch for IE/Edge + */ +// (window as any).__Zone_enable_cross_context_check = true; + +/** ************************************************************************************************* + * Zone JS is required by default for Angular itself. + */ +import 'zone.js'; // Included with Angular CLI. + + +/** ************************************************************************************************* + * APPLICATION IMPORTS + */ +import 'reflect-metadata'; diff --git a/digital-future-summit/src/styles.less b/digital-future-summit/src/styles.less new file mode 100644 index 0000000..9eb991e --- /dev/null +++ b/digital-future-summit/src/styles.less @@ -0,0 +1,6 @@ +/* You can add global styles to this file; and also import other style files */ +/* Third Library */ + +/* 平台UI套件 */ +@import '~ng-zorro-antd/src/ng-zorro-antd.less'; +@import './app/style.less'; diff --git a/digital-future-summit/src/test.ts b/digital-future-summit/src/test.ts new file mode 100644 index 0000000..a6f15af --- /dev/null +++ b/digital-future-summit/src/test.ts @@ -0,0 +1,20 @@ +// This file is required by karma.conf.js and loads recursively all the .spec and framework files + +import 'zone.js/testing'; +import { getTestBed } from '@angular/core/testing'; +import { + BrowserDynamicTestingModule, + platformBrowserDynamicTesting +} from '@angular/platform-browser-dynamic/testing'; + +declare const require: any; + +// First, initialize the Angular testing environment. +getTestBed().initTestEnvironment( + BrowserDynamicTestingModule, + platformBrowserDynamicTesting() +); +// Then we find all the tests. +const context = require.context('./', true, /\.spec\.ts$/); +// And load the modules. +context.keys().map(context); diff --git a/digital-future-summit/src/tsconfig.app.json b/digital-future-summit/src/tsconfig.app.json new file mode 100644 index 0000000..6ba02cf --- /dev/null +++ b/digital-future-summit/src/tsconfig.app.json @@ -0,0 +1,14 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../out-tsc/app", + "types": ["node"] + }, + "files": [ + "main.ts", + "polyfills.ts" + ], + "include": [ + "src/**/*.d.ts" + ] +} diff --git a/digital-future-summit/src/tsconfig.spec.json b/digital-future-summit/src/tsconfig.spec.json new file mode 100644 index 0000000..c89454b --- /dev/null +++ b/digital-future-summit/src/tsconfig.spec.json @@ -0,0 +1,19 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../out-tsc/spec", + "baseUrl": "./", + "types": [ + "jasmine", + "node" + ] + }, + "files": [ + "test.ts", + "polyfills.ts" + ], + "include": [ + "**/*.spec.ts", + "**/*.d.ts" + ] +} diff --git a/digital-future-summit/src/typings.d.ts b/digital-future-summit/src/typings.d.ts new file mode 100644 index 0000000..eb21f76 --- /dev/null +++ b/digital-future-summit/src/typings.d.ts @@ -0,0 +1,11 @@ +/* SystemJS module definition */ +declare let module: NodeModule; +interface NodeModule { + id: string; +} +declare module '!raw-loader!*' { + const contents: string; + export = contents; +} + +export {}; diff --git a/digital-future-summit/themeCssBuild.js b/digital-future-summit/themeCssBuild.js new file mode 100644 index 0000000..c0e7beb --- /dev/null +++ b/digital-future-summit/themeCssBuild.js @@ -0,0 +1,111 @@ +var fs = require('fs'), + path = require('path'), + exec = require('child_process').exec, + less = require('less'), + sourcePath, targetPath; +// sourcePath = 'src/styles.less'; +// targetPath = 'src/css/'; +sourcePath = 'src/app/theme'; // less檔來源路徑 +targetPath = 'src/assets/themes'; // 轉換為css後存檔路徑 +cssPath = 'assets/themes'; // 專案存取css路徑 +//自訂路徑:获取命令行中的路径 +process.argv.forEach(function (val, index, array) { + console.log(val); + if (index == 2) { + sourcePath = val; + } + if (index == 3) { + targetPath = val; + } + if (index == 4) { + cssPath = val; + } +}) + +var lessc = function (rootPath, targetPath, cssPath) { + + //**簡易測試寫法 */ + // //判断文件是否为less文件 + // if (path.extname(rootPath) === ".less") { + // var currentFilePath = path.resolve(rootPath); + // var newFilePath = path.resolve(targetPath, path.basename(currentFilePath, '.less') + ".css"); + // if (!fs.existsSync(targetPath)) { + // fs.mkdirSync(targetPath); + // } + // // 方法一:用less render + // less.render(fs.readFileSync(currentFilePath).toString(), { + // filename: path.resolve(currentFilePath), + // }, function (e, output) { + // if (e) { + // console.log(e); + // } + // fs.writeFileSync(newFilePath, output.css); + // }); + // ////方法二:使用命令列lessc,但錯誤訊息不知如何列出 + // // exec("lessc -x" + currentFilePath + " > " + newFilePath); + // } + //**簡易測試寫法END */ + + //取得当前绝对路径 + rootPath = path.resolve(rootPath); + //目标路径绝对路径 + targetPath = path.resolve(targetPath); + + //判断目录是否存在 + fs.exists(rootPath, function (exists) { + //路径存在 + if (exists) { + var jsonArr=[]; + //获取当前路径下的所有文件和路径名 + var childArray = fs.readdirSync(rootPath); + if (childArray.length) { + var id = ''; + var themePath = ''; + var jsonFilePath = path.resolve(targetPath, "themeJson.json"); + for (var i = 0; i < childArray.length; i++) { + var currentFilePath = path.resolve(rootPath, childArray[i]); + var currentTargetPath = path.resolve(targetPath, childArray[i]) + //读取文件信息 + var stats = fs.statSync(currentFilePath); + //若是目录则递归调用 + if (stats.isDirectory()) { + //lessc(currentFilePath, currentTargetPath); + } else { + //判断文件是否为less文件 + if (path.extname(currentFilePath) === ".less") { + var newFilePath = path.resolve(targetPath, path.basename(currentFilePath, '.less') + ".css"); + id = path.basename(currentFilePath, '.less'); + themePath = cssPath + '/' + id + '.css'; + if (!fs.existsSync(targetPath)) { + fs.mkdirSync(targetPath); + } + // 方法一:用less render + (function(currentFilePath, newFilePath, id, themePath) { + less.render(fs.readFileSync(currentFilePath).toString(), { + filename: path.resolve(currentFilePath), + javascriptEnabled: true + }, function (e, output) { + if (e) { + console.log(e); // 錯誤訊息 + } + console.log(newFilePath); + jsonArr.push({"id":id, "path":themePath}); + fs.writeFileSync(newFilePath, output.css); // 寫入css + fs.writeFileSync(jsonFilePath,JSON.stringify(jsonArr)); // 產生css名稱及路徑 + }); + })(currentFilePath, newFilePath, id, themePath); + ////方法二:使用命令列lessc,但錯誤訊息不知如何列出 + // exec("lessc -x " + currentFilePath + " > " + newFilePath); + } + } + } + } + + } else { + console.log("directory is not exists"); + } + }); + +} + +lessc(sourcePath, targetPath, cssPath); diff --git a/digital-future-summit/tsconfig.json b/digital-future-summit/tsconfig.json new file mode 100644 index 0000000..fca89b1 --- /dev/null +++ b/digital-future-summit/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compileOnSave": false, + "compilerOptions": { + "downlevelIteration": true, + "module": "es2020", + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, + "moduleResolution": "node", + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "target": "es2015", + "importHelpers": true, + "types": [ + "node" + ], + "typeRoots": [ + "node_modules/@types" + ], + "baseUrl": "src", + "lib": [ + "es2018", + "dom" + ] + } +}