.editorconfig 0000664 0000000 0000000 00000000640 15177622273 0013547 0 ustar 00root root 0000000 0000000 # EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
# Change these settings to your own preference
indent_style = space
indent_size = 4
# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
.github/ 0000775 0000000 0000000 00000000000 15177622273 0012432 5 ustar 00root root 0000000 0000000 .github/workflows/ 0000775 0000000 0000000 00000000000 15177622273 0014467 5 ustar 00root root 0000000 0000000 .github/workflows/build.yml 0000664 0000000 0000000 00000001676 15177622273 0016323 0 ustar 00root root 0000000 0000000 # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: build
on:
schedule:
- cron: '0 0 1 * *'
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['lts/*']
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm i -g grunt-cli
- run: npm install
- run: grunt
.gitignore 0000664 0000000 0000000 00000000337 15177622273 0013065 0 ustar 00root root 0000000 0000000 /build
/node_modules
/*.log
/*.iws
.idea/workspace.xml
.idea/tasks.xml
.idea/profiles_settings.xml
.idea/inspectionProfiles/Project_Default.xml
.idea/inspectionProfiles/profiles_settings.xml
node_modules/.yarn-integrity
.gitmodules 0000664 0000000 0000000 00000000552 15177622273 0013251 0 ustar 00root root 0000000 0000000 [submodule "corifeus-utils"]
path=corifeus-utils
url=https://github.com/patrikx3/corifeus-utils
branch=master
[submodule "corifeus-builder"]
path=corifeus-builder
url=https://github.com/patrikx3/corifeus-builder
branch=master
[submodule "corifeus-app-web-pages"]
path=corifeus-app-web-pages
url=https://github.com/patrikx3/corifeus-app-web-pages
branch=master
.npmignore 0000664 0000000 0000000 00000000261 15177622273 0013070 0 ustar 00root root 0000000 0000000 /.idea
/artifacts
/build
/Gemfile
/_layouts
/_site
/_includes
/test
/node_modules
/*.iml
/*.ipr
/*.iws
/.travis.yml
/.scrutinizer.yml
/Gruntfile.js
/corifeus-boot.json
/.github
.travis.yml 0000664 0000000 0000000 00000001457 15177622273 0013212 0 ustar 00root root 0000000 0000000 language: node_js
cache:
npm: false
node_js:
- lts/*
before_script:
- npm install -g grunt-cli npm
env:
global:
secure: X2PB9oS2zxBG1t66YbDIjDqt1t/CHPL53wG/SY8diAHgnq2FjoKT4bp2Y9PWsO74xw22AdaqbRowLjqJAb5cjEEINW+olyvwKGjFF6KE3smJDZtBq9twk5/mMQaOBYpbunkiuIV8yghhXUOoKUKTieJn87nLSBq27MagBTZosmwxH8ja87eLUcHfAULtf4htThznZaBBXgfqWj4kYVm/a7pA2pqnFN0YVTc4sBNjRKXjoqSxSBqTgX7fYEGKbgSxpmwbUJdPqLLtG3hFknSvsFcVJzql8R30WGeKJsh0de9Gxfm66jsKAeZ7EUiA6uimCmqFaFW1FAhrhtE0EqiI0EiNPMm7mPTiLnKDbilu5wIkf1aIKMqJ3+AcNsqG+S7CDbZbBo3yP5jxvWXZeTHfTcrHyIeTi9H7inKqQjr8ZDhahlsvkSKfIjbWf3uuXUj5+GRiaOgmzgFab1IdpMh7xolh+AfCrMbGY4ABIT8XBI8CdwLlFNHrNYE6tD9pK/0fpQD2+IQZk/KxX5TOosJj7dfKd5WCOqIN9DwJ+KXqaaegbTkxJH4DG00LDyyNqsmUGbfrzl+3ZfN+wmPFzngxlSDUqz5tPL6uHx3b8wN3bis7Fts5kGEpcPOJwCAeKFZ2+q6TJnKbhNNtWfVxgKTRJZA1xLVKcV2zP2tUPZQOunk=
Gruntfile.js 0000664 0000000 0000000 00000004371 15177622273 0013374 0 ustar 00root root 0000000 0000000 const utils = require('corifeus-utils');
module.exports = (grunt) => {
const _ = require('lodash');
const builder = require(`corifeus-builder`);
const loader = new builder.loader(grunt);
loader.js();
grunt.registerTask('cory-load-modules', async function() {
const done = this.async();
try {
let replace = '';
/*
let finds = await utils.fs.find({
find: 'package.json',
});
const path = require('path')
const findsP3x = await utils.fs.find({
root: path.resolve(process.cwd(), '../p3x'),
find: 'package.json',
});
finds = finds.concat(findsP3x)
*/
const packages = (await utils.http.request('https://server.patrikx3.com/api/patrikx3/git/repos')).body.repo
let sortedObject = {}
sortedObject = Object.keys(packages).sort((a, b) => {
return packages[b].corifeus.stargazers_count - packages[a].corifeus.stargazers_count
}).reduce((prev, curr, i) => {
prev[i] = packages[curr]
return prev
}, {})
//console.log(JSON.stringify(sortedObject, null, 4))
Object.keys(sortedObject).forEach((key) => {
const pkg = sortedObject[key]
const desc = pkg.description ;
const hiddenStars = ``;;
replace += `
### ${hiddenStars} ${desc}
[README](https://corifeus.com/${pkg.corifeus.reponame === 'corifeus' ? 'matrix' : pkg.corifeus.reponame}) | [Github](https://github.com/patrikx3/${pkg.corifeus.reponame})
---
`
})
const config = grunt.config.get('cory-replace');
config['projects'] = {
prefix: '[//]: #@corifeus-projects',
postfix: '[//]: #@corifeus-projects:end',
replace: replace,
files: [
'README.md',
]
}
grunt.config.set('cory-replace', config)
done();
} catch(e) {
done(e)
}
});
grunt.registerTask('default', ['cory-load-modules'].concat(builder.config.task.build.js));
}
LICENSE 0000664 0000000 0000000 00000002253 15177622273 0012101 0 ustar 00root root 0000000 0000000
@license corifeus v2023.10.113
🎮 Corifeus Matrix
https://corifeus.com/matrix
Copyright (c) 2023 Patrik Laszlo / P3X / Corifeus and contributors.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
README.md 0000664 0000000 0000000 00000021532 15177622273 0012354 0 ustar 00root root 0000000 0000000 [//]: #@corifeus-header
[](https://paypal.me/patrikx3) [](https://www.patrikx3.com/en/front/contact) [](https://www.facebook.com/corifeus.software) [](https://github.com/patrikx3/corifeus/actions?query=workflow%3Abuild)
[](https://stats.uptimerobot.com/9ggnzcWrw)
---
# 🎮 Corifeus Matrix v2023.10.113
**Bugs are evident™ - MATRIX️**
### NodeJS LTS is supported
### Built on NodeJs version
```txt
v20.4.0
```
# Description
[//]: #@corifeus-header:end
The fun nonsense passion derivate.
## Applications
[//]: #@corifeus-projects
### 📚 P3X OneNote Linux
[README](https://corifeus.com/onenote) | [Github](https://github.com/patrikx3/onenote)
---
### 📡 P3X Redis UI is a very functional handy database GUI and works in your pocket on the responsive web or as a desktop app
[README](https://corifeus.com/redis-ui) | [Github](https://github.com/patrikx3/redis-ui)
---
### 🆖 Angular Dynamic Compile - Convert strings to Angular components
[README](https://corifeus.com/angular-compile) | [Github](https://github.com/patrikx3/angular-compile)
---
### 🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer
[README](https://corifeus.com/gitlist) | [Github](https://github.com/patrikx3/gitlist)
---
### 💾 Linux RAM disk persistent with Systemd timer, service and suspend
[README](https://corifeus.com/ramdisk) | [Github](https://github.com/patrikx3/ramdisk)
---
### ☕ OpenWrt with latest NodeJs for Linksys WRT
[README](https://corifeus.com/openwrt-insomnia) | [Github](https://github.com/patrikx3/openwrt-insomnia)
---
### 🌐 Freenom API - Promise and auto renew expiring domains
[README](https://corifeus.com/freenom) | [Github](https://github.com/patrikx3/freenom)
---
### 🏍️ The p3x-redis-ui-server package motor that is connected to the p3x-redis-ui-material web user interface
[README](https://corifeus.com/redis-ui-server) | [Github](https://github.com/patrikx3/redis-ui-server)
---
### ⌚ SystemD Manager, watchdog, notifier and service
[README](https://corifeus.com/systemd-manager) | [Github](https://github.com/patrikx3/systemd-manager)
---
### 🎮 Corifeus Matrix
[README](https://corifeus.com/matrix) | [Github](https://github.com/patrikx3/corifeus)
---
### Converts xml to json and vice-versa, using node-expat
[README](https://corifeus.com/xml2json) | [Github](https://github.com/patrikx3/xml2json)
---
### 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io
[README](https://corifeus.com/redis-ui-material) | [Github](https://github.com/patrikx3/redis-ui-material)
---
### 🔥 Cache every request in Angular, not only the GET, but all methods of this interceptor, and allows you to interact with the interceptor via specific headers and modify the request, and these specific headers will be not included in the final request
[README](https://corifeus.com/angular-http-cache-interceptor) | [Github](https://github.com/patrikx3/angular-http-cache-interceptor)
---
### 📃 Generates PDF from HTML with custom headers and footers with wkhtmltopdf
[README](https://corifeus.com/html-pdf) | [Github](https://github.com/patrikx3/html-pdf)
---
### 🕸️ Corifeus App Web Pages
[README](https://corifeus.com/corifeus-app-web-pages) | [Github](https://github.com/patrikx3/corifeus-app-web-pages)
---
### 🍶 Verdaccio CLI
[README](https://corifeus.com/verdaccio-cli) | [Github](https://github.com/patrikx3/verdaccio-cli)
---
### 🚅 Find the closest or exact value using binary search
[README](https://corifeus.com/binary-search-closest) | [Github](https://github.com/patrikx3/binary-search-closest)
---
### 📈 Convert JSON to Excel XLSX with offloading the constructing the data using a worker thread
[README](https://corifeus.com/json2xls-worker-thread) | [Github](https://github.com/patrikx3/json2xls-worker-thread)
---
### 💣 Tools
[README](https://corifeus.com/tools) | [Github](https://github.com/patrikx3/tools)
---
### 🚧 Grunt Express Server updated with additional options
[README](https://corifeus.com/grunt-p3x-express) | [Github](https://github.com/patrikx3/grunt-p3x-express)
---
### 🏗️ Corifeus Builder
[README](https://corifeus.com/corifeus-builder) | [Github](https://github.com/patrikx3/corifeus-builder)
---
### ❤️ Corifeus Utils
[README](https://corifeus.com/corifeus-utils) | [Github](https://github.com/patrikx3/corifeus-utils)
---
[//]: #@corifeus-projects:end
## History ...
#### [Code style](artifacts/readme/code-style.md)
#### [Architecture](artifacts/readme/arthictecture/overview.md)
#### [The name of the original company](https://en.wikipedia.org/wiki/Coryphaeus)
[//]: #@corifeus-footer
---
🙏 This is an open-source project. Star this repository, if you like it, or even donate to maintain the servers and the development. Thank you so much!
Possible, this server, rarely, is down, please, hang on for 15-30 minutes and the server will be back up.
All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://corifeus.com)) could have minor errors, since I am developing in my free time. However, it is usually stable.
**Note about versioning:** Versions are cut in Major.Minor.Patch schema. Major is always the current year. Minor is either 4 (January - June) or 10 (July - December). Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.
---
[**CORIFEUS**](https://corifeus.com/matrix) Build v2023.10.113
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [](https://www.patrikx3.com/en/front/contact) [](https://www.facebook.com/corifeus.software)
[//]: #@corifeus-footer:end
artifacts/ 0000775 0000000 0000000 00000000000 15177622273 0013052 5 ustar 00root root 0000000 0000000 artifacts/readme/ 0000775 0000000 0000000 00000000000 15177622273 0014307 5 ustar 00root root 0000000 0000000 artifacts/readme/arthictecture/ 0000775 0000000 0000000 00000000000 15177622273 0017155 5 ustar 00root root 0000000 0000000 artifacts/readme/arthictecture/overview.md 0000664 0000000 0000000 00000006145 15177622273 0021353 0 ustar 00root root 0000000 0000000 [//]: #@corifeus-header
# 🎮 Corifeus Matrix
[//]: #@corifeus-header:end
# Architecture

[//]: #@corifeus-footer
---
🙏 This is an open-source project. Star this repository, if you like it, or even donate to maintain the servers and the development. Thank you so much!
Possible, this server, rarely, is down, please, hang on for 15-30 minutes and the server will be back up.
All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://corifeus.com)) could have minor errors, since I am developing in my free time. However, it is usually stable.
**Note about versioning:** Versions are cut in Major.Minor.Patch schema. Major is always the current year. Minor is either 4 (January - June) or 10 (July - December). Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.
---
[**CORIFEUS**](https://corifeus.com/matrix) Build v2023.10.113
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [](https://www.patrikx3.com/en/front/contact) [](https://www.facebook.com/corifeus.software)
[//]: #@corifeus-footer:end
artifacts/readme/code-style.md 0000664 0000000 0000000 00000010000 15177622273 0016670 0 ustar 00root root 0000000 0000000 [//]: #@corifeus-header
# 🎮 Corifeus Matrix
[//]: #@corifeus-header:end
# Code style
## Cases we use
```camelCase = theFirstIsSmallTheRestIsCapital```
```kabeb-case = meaning-only-lower-case-and-a-z-and-dash-and-numbers```
```PascalCase = JustAlphaAndAlwaysCapitalWords```
## CSS Prefix
``` kabeb-case ```
**Prefix so that get away form namespace clashes.**
```.cory = corifeus```
```css
.cory-something { font-family: "Corifeus"; }
```
## HTML Prefix
``` kabeb-case ```
**Prefix so that get away form namespace clashes.** It is both for tags and attributes.
``cory = corifeus``
```html
```
## Url
``` kabeb-case ```
```bash
https://localhost/very-long-sentance/is/just/kebab-case.html
```
## Path
``` kabeb-case ```
```bash
/module-one/love/live/path.js
/try/code-style/by/class.js
```
## Filename
``` kabeb-case ```
```bash
// function
camel-case.js
// class
camel-case-is-kebab-as-well.js
// html file
kabeb-case.html
// regular file
kebab-case.any
kabeb-case.js
kabeb-case.pdf
kabeb-case.html
kabeb-case.css
```
## Namespace
``` camelCase ```
The namespace = ```corifeus```
```js
// JavaScript
global.corifeus.camelCase = () => console.log('camelCase');
global.corifeus.camelCase = class camelCaseClass {};
```
## Variables
``` camelCase ```
```js
// JavaScript
const variableIsCool = 'camelCase';
let anotherVariable = false;
var oldTypeVariable = 'cool';
```
## Functions
``` camelCase ```
```js
// JavaScript
function justSimpleFunction() {
console.log('alsoCamelCase')
}
```
## Prototype based class
I prefer ``` camelCase ``` , though `PascalCase` is fine.
```js
// JavaScript
function prototypeBasedClass() {
console.log('likeAClassIsCamelCase');
}
prototypeBasedClass.staticFunction = function() {}
prototypeBasedClass.staticVariable = true;
prototypeBasedClass.prototype.instanceFunction = function() {}
prototypeBasedClass.prototype.instanceVariable = true;
```
## Classes
I rarely use classes, but sometimes it is good, I prefer `camelCase` but for classes it is ok to use `PascalCase`.
``` camelCase ```
```js
// JavaScript
class simpleClass {
constructor() {}
instanceFunctionCamelCase() {}
get instanceProperty() { return true; }
set instanceProperty(value) { this._instanceProperty = value; }
static classMethod() { console.log('camelCase'); }
static get classProperty() { return 'camelCase'; }
}
```
## Objects
``` camelCase ```
```js
// JavaScript
const objects = {
variableNow: camelCase,
methodName: camelCase,
nameOfTheClass: camelCase,
staticFuncitonName: camelCase.static,
instance: camelCase.variable
}
```
[//]: #@corifeus-footer
---
🙏 This is an open-source project. Star this repository, if you like it, or even donate to maintain the servers and the development. Thank you so much!
Possible, this server, rarely, is down, please, hang on for 15-30 minutes and the server will be back up.
All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://corifeus.com)) could have minor errors, since I am developing in my free time. However, it is usually stable.
**Note about versioning:** Versions are cut in Major.Minor.Patch schema. Major is always the current year. Minor is either 4 (January - June) or 10 (July - December). Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.
---
[**CORIFEUS**](https://corifeus.com/matrix) Build v2023.10.113
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [](https://www.patrikx3.com/en/front/contact) [](https://www.facebook.com/corifeus.software)
[//]: #@corifeus-footer:end
artifacts/readme/patterns.md 0000664 0000000 0000000 00000004247 15177622273 0016500 0 ustar 00root root 0000000 0000000 [//]: #@corifeus-header
# 🎮 Corifeus Matrix
[//]: #@corifeus-header:end
# Patterns
* core - implemented in server / client
* schema
* validation
* types
* relations by schema
* json schema
* data
* query
* paginate / page
* limit / max
* sort
* count
* search / find
* delete
* disable
* id
* all
* last
* first
* auth
* login
* logout
* live / socket.io / reactivex / observable
* model
* entity
* created
* modified
* version
* disabled
* deleted
* validation
* user
* role
* category / tag
* client
* notification / growl / smack - multiple!
* angular
* virtual list / like facebook list with live update
* live / socket.io
* form
* validation
* grid / list / thumbnail
* pagination
* query / search
* sort
[//]: #@corifeus-footer
---
🙏 This is an open-source project. Star this repository, if you like it, or even donate to maintain the servers and the development. Thank you so much!
Possible, this server, rarely, is down, please, hang on for 15-30 minutes and the server will be back up.
All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://corifeus.com)) could have minor errors, since I am developing in my free time. However, it is usually stable.
**Note about versioning:** Versions are cut in Major.Minor.Patch schema. Major is always the current year. Minor is either 4 (January - June) or 10 (July - December). Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.
---
[**CORIFEUS**](https://corifeus.com/matrix) Build v2023.10.113
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [](https://www.patrikx3.com/en/front/contact) [](https://www.facebook.com/corifeus.software)
[//]: #@corifeus-footer:end
corifeus-app-web-pages/ 0000775 0000000 0000000 00000000000 15177622273 0015337 5 ustar 00root root 0000000 0000000 corifeus-builder/ 0000775 0000000 0000000 00000000000 15177622273 0014335 5 ustar 00root root 0000000 0000000 corifeus-utils/ 0000775 0000000 0000000 00000000000 15177622273 0014047 5 ustar 00root root 0000000 0000000 corifeus-web-material/ 0000775 0000000 0000000 00000000000 15177622273 0015260 5 ustar 00root root 0000000 0000000 corifeus-web-material/LICENSE 0000664 0000000 0000000 00000002323 15177622273 0016265 0 ustar 00root root 0000000 0000000
@license corifeus-web-material v2019.10.456
🌴 Corifeus Web Material
https://pages.corifeus.com/corifeus-web-material
Copyright (c) 2019 Patrik Laszlo / P3X / Corifeus and contributors.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
corifeus-web-material/README.md 0000664 0000000 0000000 00000010143 15177622273 0016536 0 ustar 00root root 0000000 0000000 [//]: #@corifeus-header
[](https://paypal.me/patrikx3) [](https://www.patrikx3.com/en/front/contact) [](https://www.facebook.com/corifeus.software) [](https://travis-ci.com/patrikx3/corifeus-web-material)
[](https://uptimerobot.patrikx3.com/)
[](https://www.npmjs.com/package/corifeus-web-material/)
---
# 🌴 Corifeus Web Material v2019.10.456
**Bugs are evident™ - MATRIX️**
### Node Version Requirement
```
>=10.16.0
```
### Built on Node
```
v12.8.0
```
The ```async``` and ```await``` keywords are required.
Install NodeJs:
https://nodejs.org/en/download/package-manager/
# Built on Angular
```text
8.2.2
```
# Description
[//]: #@corifeus-header:end
Corifeus Web Material.
https://material.corifeus.com
# Error
There is in ```uglifyjs``` or ```cssminify``` is making it not working with this repo, right now it is using the ```---cory-verbose``` build (which removes the compression - uglifys and cssminfier).
# Hack
For now in beta, uses ```@angular/cdk```, required.
* Component
* Loading
* Http 404
* Theme menu button
* Translation menu button
* Themes
* Corifeus light
* Corifeus dark
* Pink blue-gray
* Purple green
* Deep-purple Amber
* Indigo pink
* Services
* Notify
* Themes
# Dev info
## Contrast color
https://github.com/angular/material2/issues/4229#issuecomment-296611188
```scss
.test {
color: mat-color($button-primary, 900-contrast)
}
```
## ElementRef Material
The default ```@ViewChild``` is not `ElementRef` with Material.
Need to use like:
```typescript
@ViewChild('elementButton', {read: ElementRef}) elementButton : ElementRef;
```
https://github.com/angular/material2/blob/master/src/lib/core/theming/_theming.scss
## Queue task
* Override ```console.error``` as a Notify error
## Colors
monochromatic, analogous, complementary, tradic
[//]: #@corifeus-footer
---
🙏 This is an open-source project. Star this repository, if you like it, or even donate to maintain the servers and the development. Thank you so much!
Possible, this server, rarely, is down, please, hang on for 15-30 minutes and the server will be back up.
All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://corifeus.com)) could have minor errors, since I am developing in my free time. However, it is usually stable.
**Note about versioning:** Versions are cut in Major.Minor.Patch schema. Major is always the current year. Minor is either 4 (January - June) or 10 (July - December). Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.
---
[**CORIFEUS-WEB-MATERIAL**](https://pages.corifeus.com/corifeus-web-material) Build v2019.10.456
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [](https://www.patrikx3.com/en/front/contact) [](https://www.facebook.com/corifeus.software)
## P3X Sponsors
[IntelliJ - The most intelligent Java IDE](https://www.jetbrains.com/?from=patrikx3)
[](https://www.jetbrains.com/?from=patrikx3) [](https://www.nosqlbooster.com/)
[The Smartest IDE for MongoDB](https://www.nosqlbooster.com)
[//]: #@corifeus-footer:end
corifeus-web-material/index.ts 0000664 0000000 0000000 00000000027 15177622273 0016736 0 ustar 00root root 0000000 0000000 export * from './src';
corifeus-web-material/src/ 0000775 0000000 0000000 00000000000 15177622273 0016047 5 ustar 00root root 0000000 0000000 corifeus-web-material/src/boot.ts 0000664 0000000 0000000 00000003122 15177622273 0017360 0 ustar 00root root 0000000 0000000 import {
Injectable,
Inject,
} from '@angular/core';
require('@fortawesome/fontawesome-free/js/all')
import {
log
} from './index';
import {
ThemeService,
} from './services/theme';
import {
SettingsService,
LocaleService
} from 'corifeus-web';
//let booted = false
@Injectable()
export class Boot {
constructor(
private settings: SettingsService,
private locale: LocaleService,
private theme: ThemeService,
) {
// if (booted === true) {
// return
// }
// booted = true
log('booted');
const module = 'material';
settings.register(module, require('./json/settings.json'));
locale.register(module, {
en: require('./json/translation/english.json'),
hu: require('./json/translation/hungarian.json'),
});
this.theme.boot();
//TODO uglify breaks CSS imports
//FIXME material icons, roboto, font-awesome
// @import url(https://fonts.googleapis.com/css?family=Roboto);
// @import url(https://fonts.googleapis.com/icon?family=Material+Icons);
// @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
/*
const css = `
`;
const head = document.head || document.getElementsByTagName('head')[0];
const style = document.createElement('style');
style.type = 'text/css';
style.appendChild(document.createTextNode(css));
head.appendChild(style);
*/
}
}
corifeus-web-material/src/bundle.ts 0000664 0000000 0000000 00000000374 15177622273 0017674 0 ustar 00root root 0000000 0000000 import 'hammerjs';
//import '@angular/material';
//import 'font-awesome/css/font-awesome.css';
import 'roboto-fontface/css/roboto/sass/roboto-fontface.scss'
import 'material-design-icons/iconfont/material-icons.css'
import './scss/material/_all.scss';
corifeus-web-material/src/component/ 0000775 0000000 0000000 00000000000 15177622273 0020051 5 ustar 00root root 0000000 0000000 corifeus-web-material/src/component/cory-mat-http-404.ts 0000664 0000000 0000000 00000003047 15177622273 0023442 0 ustar 00root root 0000000 0000000 import {
Component,
OnDestroy
} from '@angular/core';
import {State, LocaleService, LocaleSubject} from 'corifeus-web';
@Component({
selector: 'cory-mat-http-404',
template: `