feat(ecma): JavaScript moduled to ECMAScripts imports.

This commit is contained in:
KyMAN 2024-12-16 18:01:25 +01:00
parent acbec23f2b
commit 0a9172ef04
5 changed files with 1004 additions and 966 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
__pycache__
/Data
/Public/data
*.[Ss]ecrets.*
/Python/Abstracts/AnPMap.py
/Python/Abstracts/Applications.py
.sass-cache
__pycache__

View File

@ -29,12 +29,21 @@
*/
/**
* @class
* @constructor
* @param {Object.<string, any|null>} [inputs = {}]
* @returns {void}
* @access public
*/
const AnyankaKeys = function(inputs = {}){
export const AnyankaKeys = (function(){
/**
* @constructs AnyankaKeys
* @param {Object.<string, any|null>} [inputs = {}]
* @returns {void}
* @access private
*/
const AnyankaKeys = function(inputs = {}){
/** @type {AnyankaKeys} */
const self = this,
@ -370,10 +379,10 @@ const AnyankaKeys = function(inputs = {}){
constructor();
};
};
/** @type {Object.<string, string|number|boolean|null>} */
AnyankaKeys.SETTINGS = {
/** @type {Object.<string, string|number|boolean|null>} */
AnyankaKeys.SETTINGS = {
/** @type {string} */
alphabet : "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",
/** @type {number} */
@ -404,16 +413,16 @@ AnyankaKeys.SETTINGS = {
scape_character : 92, // Character ["\\", 92]
/** @type {number} */
scape_blocks : 2 // Bits: [UTF-8, UTF-16, URI, Force UTF-16]
};
};
/**
/**
* @param {!number} length
* @param {!anyanka_keys_convert_callback} item_callback
* @returns {void}
* @access public
* @static
*/
AnyankaKeys.bucle = (length, item_callback) => {
AnyankaKeys.bucle = (length, item_callback) => {
/** @type {number} */
let i = 0;
@ -421,9 +430,9 @@ AnyankaKeys.bucle = (length, item_callback) => {
while(i < length)
item_callback(i ++);
};
};
/**
/**
* @param {!number} length
* @param {!anyanka_keys_convert_callback} callback
* @param {!number} [start = 0]
@ -432,34 +441,34 @@ AnyankaKeys.bucle = (length, item_callback) => {
* @access public
* @static
*/
AnyankaKeys.summatory = (length, callback, start = 0, limit = null) => {
AnyankaKeys.summatory = (length, callback, start = 0, limit = null) => {
limit || (limit = ~-(1 << 31));
AnyankaKeys.bucle(length, i => start = (start + callback(i)) % limit);
return start;
};
};
/**
/**
* @param {!Array.<any|null>} array
* @param {Array.<any|null>} [new_data = []]
* @returns {void}
* @access public
* @static
*/
AnyankaKeys.reset_array_with = (array, new_data = []) => {
AnyankaKeys.reset_array_with = (array, new_data = []) => {
array.splice(0, array.length, ...new_data);
};
};
/**
/**
* @constructor
* @param {!Object.<string, number>} [inputs = {}]
* @returns {void}
* @access public
* @static
*/
AnyankaKeys.Options = function(inputs = {}){
AnyankaKeys.Options = function(inputs = {}){
/** @type {number} */
this.scape_blocks = (
@ -486,9 +495,9 @@ AnyankaKeys.Options = function(inputs = {}){
/** @type {boolean} */
this.scape = this.scape_utf8 || this.scape_utf16;
};
};
/**
/**
* @constructor
* @param {string|number} [name = "unknown"]
* @param {string|null} [data = null]
@ -497,7 +506,7 @@ AnyankaKeys.Options = function(inputs = {}){
* @returns {void}
* @access public
*/
AnyankaKeys.Type = function(name = "unknown", data = null, length = 0, options = null){
AnyankaKeys.Type = function(name = "unknown", data = null, length = 0, options = null){
/** @type {AnyankaKeys.Type} */
const self = this;
@ -726,34 +735,34 @@ AnyankaKeys.Type = function(name = "unknown", data = null, length = 0, options =
constructor();
};
};
/** @type {Array.<string>} */
AnyankaKeys.Type.TYPES = [
/** @type {Array.<string>} */
AnyankaKeys.Type.TYPES = [
"unknown", "string", "undefined", "null", "json", "utf8", "utf16",
"utf32", "bytes", "bool", "integer", "float", "custom"
];
];
/**
/**
* @constructor
* @param {?Object.<string, number>} [inputs = null]
* @returns {void}
* @access public
*/
AnyankaKeys.BaseChange = function(inputs = null){
AnyankaKeys.BaseChange = function(inputs = null){
/** @type {number} */
this.FROM = (inputs || (inputs = {})).from || inputs.base_from || AnyankaKeys.SETTINGS.base_from;
/** @type {number} */
this.TO = inputs.to || inputs.base_to || AnyankaKeys.SETTINGS.base_to;
};
};
/**
/**
* @constructor
* @param {?Object.<string, number>} [inputs = null]
* @returns {void}
* @access public
*/
AnyankaKeys.BaseChange.Parameters = function(inputs){
AnyankaKeys.BaseChange.Parameters = function(inputs){
/** @type {AnyankaKeys.BaseChange.Parameters} */
const self = this;
@ -816,30 +825,30 @@ AnyankaKeys.BaseChange.Parameters = function(inputs){
*/
this.get_size = data => Math.round(data.length * Math.log2(self.BASE.FROM) / Math.log2(self.BASE.TO));
};
};
/**
/**
* @param {!(any|null)} value
* @returns {boolean}
* @access public
* @static
*/
AnyankaKeys.is_dictionary = value => (
AnyankaKeys.is_dictionary = value => (
value !== undefined &&
value !== null &&
value.constructor == Object
);
);
/**
/**
* @param {!string} string
* @param {!anyanka_keys_convert_callback} set
* @param {!AnyankaKeys.Options} options
* @returns {void}
* @access public
*/
AnyankaKeys.get_each_bytes_in_string = (string, set, options) => [...(
AnyankaKeys.get_each_bytes_in_string = (string, set, options) => [...(
options.scape_uri ? encodeURIComponent(string) : string
)].forEach(character => {
)].forEach(character => {
/** @type {number} */
const code = character.charCodeAt(0),
@ -861,9 +870,9 @@ AnyankaKeys.get_each_bytes_in_string = (string, set, options) => [...(
}else
set(code);
});
});
/**
/**
* @param {!(any|null)} data
* @param {!anyanka_keys_convert_callback} set
* @param {!AnyankaKeys.Options} options
@ -871,7 +880,7 @@ AnyankaKeys.get_each_bytes_in_string = (string, set, options) => [...(
* @access public
* @static
*/
AnyankaKeys.get_each_bytes = (data, set, options) => {
AnyankaKeys.get_each_bytes = (data, set, options) => {
/** @type {AnyankaKeys.Type} */
let type = new AnyankaKeys.Type();
@ -942,9 +951,9 @@ AnyankaKeys.get_each_bytes = (data, set, options) => {
};
return type;
};
};
/**
/**
* @param {!(number|Array.<number>)} data
* @param {!anyanka_keys_convert_callback} set
* @param {?(AnyankaKeys.BaseChange.Parameters|Object.<string, any|null>)} [parameters = null]
@ -952,7 +961,7 @@ AnyankaKeys.get_each_bytes = (data, set, options) => {
* @access public
* @static
*/
AnyankaKeys.change_base_iteration = (data, set, parameters = null) => {
AnyankaKeys.change_base_iteration = (data, set, parameters = null) => {
(
!parameters ||
@ -964,9 +973,9 @@ AnyankaKeys.change_base_iteration = (data, set, parameters = null) => {
parameters.process(set);
});
};
};
/**
/**
* @param {!(string|Array.<number>)} value
* @param {!number} to
* @param {?number} [from = null]
@ -975,7 +984,7 @@ AnyankaKeys.change_base_iteration = (data, set, parameters = null) => {
* @access public
* @static
*/
AnyankaKeys.change_base = (value, to, from = null, type = null) => {
AnyankaKeys.change_base = (value, to, from = null, type = null) => {
from || (from = AnyankaKeys.SETTINGS.base_from);
type || (type = (
@ -1017,4 +1026,7 @@ AnyankaKeys.change_base = (value, to, from = null, type = null) => {
};
return response;
};
};
return AnyankaKeys;
})();

View File

@ -22,19 +22,19 @@
.anyanka-keys[data-gui-mode=light], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] {
background-color: #EFEFEF;
color: #222; }
.anyanka-keys[data-gui-mode=light] a[href], .anyanka-keys[data-gui-mode=light] [onclick], .anyanka-keys[data-gui-mode=light] [onmouseover], .anyanka-keys[data-gui-mode=light] [onmousedown], .anyanka-keys[data-gui-mode=light] button, .anyanka-keys[data-gui-mode=light] [type=button], .anyanka-keys[data-gui-mode=light] [type=reset], .anyanka-keys[data-gui-mode=light] [type=submit], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] a[href], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onclick], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmouseover], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmousedown], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] button, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=reset], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=submit] {
.anyanka-keys[data-gui-mode=light] a[href], .anyanka-keys[data-gui-mode=light] [onclick], .anyanka-keys[data-gui-mode=light] [onmouseover], .anyanka-keys[data-gui-mode=light] [onmousedown], .anyanka-keys[data-gui-mode=light] button, .anyanka-keys[data-gui-mode=light] [type=button], .anyanka-keys[data-gui-mode=light] [type=reset], .anyanka-keys[data-gui-mode=light] [type=submit], .anyanka-keys[data-gui-mode=light] [data-role=link], .anyanka-keys[data-gui-mode=light] [data-role=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] a[href], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onclick], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmouseover], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmousedown], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] button, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=reset], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=submit], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [data-role=link], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [data-role=button] {
color: #2272D4; }
.anyanka-keys[data-gui-mode=light] a[href]:hover, .anyanka-keys[data-gui-mode=light] [onclick]:hover, .anyanka-keys[data-gui-mode=light] [onmouseover]:hover, .anyanka-keys[data-gui-mode=light] [onmousedown]:hover, .anyanka-keys[data-gui-mode=light] button:hover, .anyanka-keys[data-gui-mode=light] [type=button]:hover, .anyanka-keys[data-gui-mode=light] [type=reset]:hover, .anyanka-keys[data-gui-mode=light] [type=submit]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] a[href]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onclick]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmouseover]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmousedown]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] button:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=reset]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=submit]:hover {
.anyanka-keys[data-gui-mode=light] a[href]:hover, .anyanka-keys[data-gui-mode=light] [onclick]:hover, .anyanka-keys[data-gui-mode=light] [onmouseover]:hover, .anyanka-keys[data-gui-mode=light] [onmousedown]:hover, .anyanka-keys[data-gui-mode=light] button:hover, .anyanka-keys[data-gui-mode=light] [type=button]:hover, .anyanka-keys[data-gui-mode=light] [type=reset]:hover, .anyanka-keys[data-gui-mode=light] [type=submit]:hover, .anyanka-keys[data-gui-mode=light] [data-role=link]:hover, .anyanka-keys[data-gui-mode=light] [data-role=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] a[href]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onclick]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmouseover]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmousedown]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] button:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=reset]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=submit]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [data-role=link]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [data-role=button]:hover {
color: #D47222; }
.anyanka-keys[data-gui-mode=light] [onmouseover], .anyanka-keys[data-gui-mode=light] [onmousedown], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmouseover], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmousedown] {
color: #224a7b; }
.anyanka-keys[data-gui-mode=light] [onmouseover]:hover, .anyanka-keys[data-gui-mode=light] [onmousedown]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmouseover]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [onmousedown]:hover {
color: #7b4a22; }
.anyanka-keys[data-gui-mode=light] button, .anyanka-keys[data-gui-mode=light] [type=button], .anyanka-keys[data-gui-mode=light] [type=reset], .anyanka-keys[data-gui-mode=light] [type=submit], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] button, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=reset], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=submit] {
border-color: 0.1em solid #2272D4;
.anyanka-keys[data-gui-mode=light] button, .anyanka-keys[data-gui-mode=light] [type=button], .anyanka-keys[data-gui-mode=light] [type=reset], .anyanka-keys[data-gui-mode=light] [type=submit], .anyanka-keys[data-gui-mode=light] [data-role=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] button, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=reset], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=submit], .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [data-role=button] {
border: 0.1em solid #2272D4;
box-shadow: 0em 0em 0.4em #2272D4; }
.anyanka-keys[data-gui-mode=light] button:hover, .anyanka-keys[data-gui-mode=light] [type=button]:hover, .anyanka-keys[data-gui-mode=light] [type=reset]:hover, .anyanka-keys[data-gui-mode=light] [type=submit]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] button:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=reset]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=submit]:hover {
border-color: 0.1em solid #D47222;
.anyanka-keys[data-gui-mode=light] button:hover, .anyanka-keys[data-gui-mode=light] [type=button]:hover, .anyanka-keys[data-gui-mode=light] [type=reset]:hover, .anyanka-keys[data-gui-mode=light] [type=submit]:hover, .anyanka-keys[data-gui-mode=light] [data-role=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] button:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=reset]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [type=submit]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] [data-role=button]:hover {
border-color: #D47222;
box-shadow: 0em 0em 0.4em #D47222; }
.anyanka-keys[data-gui-mode=light] .wmd-dictionary-item, .anyanka-keys[data-gui-mode=default][data-dark-mode=false] .wmd-dictionary-item {
color: #224a7b; }
@ -50,19 +50,19 @@
.anyanka-keys[data-gui-mode=dark], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] {
background-color: #222;
color: #EFEFEF; }
.anyanka-keys[data-gui-mode=dark] a[href], .anyanka-keys[data-gui-mode=dark] [onclick], .anyanka-keys[data-gui-mode=dark] [onmouseover], .anyanka-keys[data-gui-mode=dark] [onmousedown], .anyanka-keys[data-gui-mode=dark] button, .anyanka-keys[data-gui-mode=dark] [type=button], .anyanka-keys[data-gui-mode=dark] [type=reset], .anyanka-keys[data-gui-mode=dark] [type=submit], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] a[href], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onclick], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmouseover], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmousedown], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] button, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=reset], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=submit] {
.anyanka-keys[data-gui-mode=dark] a[href], .anyanka-keys[data-gui-mode=dark] [onclick], .anyanka-keys[data-gui-mode=dark] [onmouseover], .anyanka-keys[data-gui-mode=dark] [onmousedown], .anyanka-keys[data-gui-mode=dark] button, .anyanka-keys[data-gui-mode=dark] [type=button], .anyanka-keys[data-gui-mode=dark] [type=reset], .anyanka-keys[data-gui-mode=dark] [type=submit], .anyanka-keys[data-gui-mode=dark] [data-role=link], .anyanka-keys[data-gui-mode=dark] [data-role=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] a[href], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onclick], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmouseover], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmousedown], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] button, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=reset], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=submit], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [data-role=link], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [data-role=button] {
color: #4b8bd9; }
.anyanka-keys[data-gui-mode=dark] a[href]:hover, .anyanka-keys[data-gui-mode=dark] [onclick]:hover, .anyanka-keys[data-gui-mode=dark] [onmouseover]:hover, .anyanka-keys[data-gui-mode=dark] [onmousedown]:hover, .anyanka-keys[data-gui-mode=dark] button:hover, .anyanka-keys[data-gui-mode=dark] [type=button]:hover, .anyanka-keys[data-gui-mode=dark] [type=reset]:hover, .anyanka-keys[data-gui-mode=dark] [type=submit]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] a[href]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onclick]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmouseover]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmousedown]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] button:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=reset]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=submit]:hover {
.anyanka-keys[data-gui-mode=dark] a[href]:hover, .anyanka-keys[data-gui-mode=dark] [onclick]:hover, .anyanka-keys[data-gui-mode=dark] [onmouseover]:hover, .anyanka-keys[data-gui-mode=dark] [onmousedown]:hover, .anyanka-keys[data-gui-mode=dark] button:hover, .anyanka-keys[data-gui-mode=dark] [type=button]:hover, .anyanka-keys[data-gui-mode=dark] [type=reset]:hover, .anyanka-keys[data-gui-mode=dark] [type=submit]:hover, .anyanka-keys[data-gui-mode=dark] [data-role=link]:hover, .anyanka-keys[data-gui-mode=dark] [data-role=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] a[href]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onclick]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmouseover]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmousedown]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] button:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=reset]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=submit]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [data-role=link]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [data-role=button]:hover {
color: #d98b4b; }
.anyanka-keys[data-gui-mode=dark] [onmouseover], .anyanka-keys[data-gui-mode=dark] [onmousedown], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmouseover], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmousedown] {
color: #9dbde4; }
.anyanka-keys[data-gui-mode=dark] [onmouseover]:hover, .anyanka-keys[data-gui-mode=dark] [onmousedown]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmouseover]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [onmousedown]:hover {
color: #e4bd9d; }
.anyanka-keys[data-gui-mode=dark] button, .anyanka-keys[data-gui-mode=dark] [type=button], .anyanka-keys[data-gui-mode=dark] [type=reset], .anyanka-keys[data-gui-mode=dark] [type=submit], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] button, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=reset], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=submit] {
border-color: 0.1em solid #4b8bd9;
.anyanka-keys[data-gui-mode=dark] button, .anyanka-keys[data-gui-mode=dark] [type=button], .anyanka-keys[data-gui-mode=dark] [type=reset], .anyanka-keys[data-gui-mode=dark] [type=submit], .anyanka-keys[data-gui-mode=dark] [data-role=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] button, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=button], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=reset], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=submit], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [data-role=button] {
border: 0.1em solid #4b8bd9;
box-shadow: 0em 0em 0.4em #4b8bd9; }
.anyanka-keys[data-gui-mode=dark] button:hover, .anyanka-keys[data-gui-mode=dark] [type=button]:hover, .anyanka-keys[data-gui-mode=dark] [type=reset]:hover, .anyanka-keys[data-gui-mode=dark] [type=submit]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] button:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=reset]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=submit]:hover {
border-color: 0.1em solid #d98b4b;
.anyanka-keys[data-gui-mode=dark] button:hover, .anyanka-keys[data-gui-mode=dark] [type=button]:hover, .anyanka-keys[data-gui-mode=dark] [type=reset]:hover, .anyanka-keys[data-gui-mode=dark] [type=submit]:hover, .anyanka-keys[data-gui-mode=dark] [data-role=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] button:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=button]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=reset]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [type=submit]:hover, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] [data-role=button]:hover {
border-color: #d98b4b;
box-shadow: 0em 0em 0.4em #d98b4b; }
.anyanka-keys[data-gui-mode=dark] .wmd-dictionary-item, .anyanka-keys[data-gui-mode=default][data-dark-mode=true] .wmd-dictionary-item {
color: #9dbde4; }
@ -75,17 +75,17 @@
box-shadow: 0.1em 0.1em 0.2em #EFEFEF; }
.anyanka-keys[data-gui-mode=dark] .wmd-dictionary-box a[href], .anyanka-keys[data-gui-mode=default][data-dark-mode=true] .wmd-dictionary-box a[href] {
background-color: rgba(255, 255, 255, 0.1); }
.anyanka-keys a[href] {
.anyanka-keys a[href], .anyanka-keys [data-role=link] {
text-decoration: none;
word-break: break-word; }
.anyanka-keys a[href], .anyanka-keys [onclick], .anyanka-keys [onmouseover], .anyanka-keys [onmousedown], .anyanka-keys button, .anyanka-keys [type=button], .anyanka-keys [type=reset], .anyanka-keys [type=submit] {
.anyanka-keys a[href], .anyanka-keys [onclick], .anyanka-keys [onmouseover], .anyanka-keys [onmousedown], .anyanka-keys button, .anyanka-keys [type=button], .anyanka-keys [type=reset], .anyanka-keys [type=submit], .anyanka-keys [data-role=link], .anyanka-keys [data-role=button] {
cursor: pointer;
transition-duration: 1s; }
.anyanka-keys a[href]:hover, .anyanka-keys [onclick]:hover, .anyanka-keys [onmouseover]:hover, .anyanka-keys [onmousedown]:hover, .anyanka-keys button:hover, .anyanka-keys [type=button]:hover, .anyanka-keys [type=reset]:hover, .anyanka-keys [type=submit]:hover {
.anyanka-keys a[href]:hover, .anyanka-keys [onclick]:hover, .anyanka-keys [onmouseover]:hover, .anyanka-keys [onmousedown]:hover, .anyanka-keys button:hover, .anyanka-keys [type=button]:hover, .anyanka-keys [type=reset]:hover, .anyanka-keys [type=submit]:hover, .anyanka-keys [data-role=link]:hover, .anyanka-keys [data-role=button]:hover {
transition-duration: 0.2s; }
.anyanka-keys a[href], .anyanka-keys [onclick], .anyanka-keys [onmouseover], .anyanka-keys [onmousedown], .anyanka-keys button, .anyanka-keys [type=button], .anyanka-keys [type=reset], .anyanka-keys [type=submit] {
.anyanka-keys a[href], .anyanka-keys [onclick], .anyanka-keys [onmouseover], .anyanka-keys [onmousedown], .anyanka-keys button, .anyanka-keys [type=button], .anyanka-keys [type=reset], .anyanka-keys [type=submit], .anyanka-keys [data-role=link], .anyanka-keys [data-role=button] {
transition-property: color; }
.anyanka-keys button, .anyanka-keys [type=button], .anyanka-keys [type=reset], .anyanka-keys [type=submit] {
.anyanka-keys button, .anyanka-keys [type=button], .anyanka-keys [type=reset], .anyanka-keys [type=submit], .anyanka-keys [data-role=button] {
transition-property: color,border-color,box-shadow; }
.anyanka-keys h2 {
font-size: 2.6em; }
@ -140,6 +140,9 @@
overflow: auto;
box-sizing: border-box; }
.anyanka-keys footer {
display: flex;
flex-direction: row;
justify-items: center;
bottom: 0em;
height: 2.5em;
z-index: 30; }
@ -157,14 +160,11 @@
display: flex;
flex-direction: row;
justify-content: center;
position: absolute;
left: 0em;
bottom: 0em;
width: 100%;
flex: auto;
text-align: center;
padding: .1em .2em;
font-weight: 900;
font-size: .85em;
font-size: .65em;
box-sizing: border-box; }
.anyanka-keys .license {
display: flex;
@ -180,7 +180,28 @@
vertical-align: middle; }
.anyanka-keys .license img {
width: auto;
height: 2.5em;
height: 3em;
margin: .2em .2em; }
.anyanka-keys .gui-controls {
display: flex;
flex-direction: row;
justify-items: center;
align-items: stretch;
flex-grow: 0;
order: -1;
border: none;
font-size: .85em; }
.anyanka-keys .gui-controls button[data-i18n=zoom_less], .anyanka-keys .gui-controls button[data-i18n=zoom_reset], .anyanka-keys .gui-controls button[data-i18n=zoom_more], .anyanka-keys .gui-controls span[data-i18n], .anyanka-keys .gui-controls legend {
display: none; }
.anyanka-keys .gui-controls [data-icon]::before {
margin: 0em; }
.anyanka-keys .gui-controls [type=number] {
display: none;
width: 3em;
font-family: "Roboto Mono"; }
.anyanka-keys .gui-controls button[data-i18n=zoom_mode] {
border-radius: 0.3em 0em 0em 0.3em; }
.anyanka-keys .gui-controls > :last-child {
border-radius: 0em 0.3em 0.3em 0em; }
/*# sourceMappingURL=AnyankaKeys.css.map */

View File

@ -1,6 +1,6 @@
{
"version": 3,
"mappings": "AAAoE,gBAAgB;AAGpF,aAAa;EC8BT,QAAQ,EAAG,QAAQ;EACnB,GAAG,EAAG,GAAG;EACT,IAAI,EAAG,GAAG;EACV,KAAK,EAAG,IAAI;EACZ,MAAM,EAAG,IAAI;EACb,QAAQ,EAAG,MAAM;EAEjB,8EAAqB;IAAC,WAAW,EC3BtB,QAAQ;ED4BnB;;;4CAG0B;IAAC,WAAW,EC7B7B,aAAa;ED8BtB,iCAAmB;IAAC,WAAW,EC5BtB,OAAO;ED6BhB,uFAA4B;IAAC,SAAS,EAAG,GAAG;EAE5C,oEAAuC;IAAC,OAAO,EAAG,IAAI;EAEtD,8FAAqE;IAmC7D,gBAAgB,EAzDL,OAAW;IA0DtB,KAAK,EAzDM,IAAW;IAsB1B,07BAA6F;MACzF,KAAK,EA3BU,OAAc;MA4B7B,0hCAAO;QAAC,KAAK,EA3BI,OAAgB;IA6BrC,sPAA2B;MACvB,KAAK,EAAG,OAAiD;MACzD,8QAAO;QAAC,KAAK,EAAG,OAAmD;IAMvE,8dAA+C;MAC3C,YAAY,EAAG,mBAA+B;MAC9C,UAAU,EAAG,qBAAiC;MAC9C,8gBAAO;QACH,YAAY,EAAG,mBAAiC;QAChD,UAAU,EAAG,qBAAmC;IAGxD,wIAAoB;MAChB,KAAK,EAAG,OAAiD;MACzD,oJAAO;QAAC,KAAK,EAAG,OAAmD;IAevE,0NAAa;MA3EjB,UAAU,EACN,gHAIkB;IAuElB,oQAAkC;MAC9B,gBAAgB,EA9DL,OAAW;MA+DtB,UAAU,EAAG,sBAAgC;IAEjD,sJAA2B;MAAC,gBAAgB,EAAG,kBAAiB;EAGpE,4FAAmE;IAmC3D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AAG,GAAG;IAEjB,2BAAE;MACE,OAAO,EAAG,YAAY;MACtB,MAAM,EAAG,QAAQ;EAIzB,uBAAS;IACL,OAAO,EAAG,IAAI;IACd,cAAc,EAAG,GAAG;IACpB,eAAe,EAAG,MAAM;IACxB,IAAI,EAAG,IAAI;IAKX,UAAU,EAAG,MAAM;IACnB,OAAO,EAAG,SAAS;IACnB,WAAW,EAAG,GAAG;IACjB,SAAS,EAAG,KAAK;IACjB,UAAU,EAAG,UAAU;EAG3B,sBAAQ;IACJ,OAAO,EAAG,IAAI;IACd,cAAc,EAAG,GAAG;IACpB,UAAU,EAAG,MAAM;IACnB,MAAM,EAAG,QAAQ;IACjB,UAAU,EAAG,MAAM;IACnB,UAAU,EAAG,UAAU;IACvB,2BAAI;MACA,IAAI,EAAG,IAAI;MACX,UAAU,EAAG,MAAM;IAEvB,0BAAG;MAAC,cAAc,EAAG,MAAM;IAC3B,0BAAG;MACC,KAAK,EAAG,IAAI;MACZ,MAAM,EAAG,GAAG;MACZ,MAAM,EAAG,SAAS;EAI1B,2BAAa;IACT,OAAO,EAAG,IAAI;IACd,cAAc,EAAG,GAAG;IACpB,aAAa,EAAG,MAAM;IACtB,WAAW,EAAG,OAAO;IACrB,SAAS,EAAG,CAAC;IACb,KAAK,EAAG,EAAE;IACV,MAAM,EAAG,IAAI;IACb,SAAS,EAAG,KAAK;IACjB,2PAA2G;MAAC,OAAO,EAAG,IAAI;IAC1H,+CAAmB;MAAC,MAAM,EAAG,GAAG;IAChC,yCAAa;MACT,OAAO,EAAG,IAAI;MACd,KAAK,EAAG,GAAG;MACX,WAAW,EC1QV,aAAa;ID6QlB,uDAA2B;MAAC,aAAa,EAAG,mBAAmC;IAC/E,yCAAa;MAAC,aAAa,EAAG,mBAAmC",
"sources": ["AnyankaKeys.scss","../../../AnP/Public/scss/AnP.common.scss","../../../AnP/Public/scss/AnP.settings.scss"],
"names": [],
"file": "AnyankaKeys.css"

View File

@ -1 +1 @@
0.0.3.0
0.0.3.1