Add consultation module assets and libraries

This commit is contained in:
Power BI Dev
2026-05-02 10:11:07 +07:00
parent a52c2a8462
commit 5fb1151fea
1239 changed files with 392281 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
/* ===========================================================
* trumbowyg.specialchars.js v0.99
* Unicode characters picker plugin for Trumbowyg
* http://alex-d.github.com/Trumbowyg
* ===========================================================
* Author : Renaud Hoyoux (geektortoise)
*/
(function ($) {
'use strict';
var defaultOptions = {
symbolList: [
// currencies
'0024', '20AC', '00A3', '00A2', '00A5', '00A4', '2030', null,
// legal signs
'00A9', '00AE', '2122', null,
// textual sign
'00A7', '00B6', '00C6', '00E6', '0152', '0153', null,
'2022', '25CF', '2023', '25B6', '2B29', '25C6', null,
//maths
'00B1', '00D7', '00F7', '21D2', '21D4', '220F', '2211', '2243', '2264', '2265'
]
};
$.extend(true, $.trumbowyg, {
langs: {
en: {
specialChars: 'Special characters'
},
fr: {
specialChars: 'Caractères spéciaux'
},
ko: {
specialChars: '특수문자'
},
},
plugins: {
specialchars: {
init: function (trumbowyg) {
trumbowyg.o.plugins.specialchars = trumbowyg.o.plugins.specialchars || defaultOptions;
var specialCharsBtnDef = {
dropdown: buildDropdown(trumbowyg)
};
trumbowyg.addBtnDef('specialChars', specialCharsBtnDef);
}
}
}
});
function buildDropdown(trumbowyg) {
var dropdown = [];
$.each(trumbowyg.o.plugins.specialchars.symbolList, function (i, symbol) {
if (symbol === null) {
symbol = '&nbsp';
} else {
symbol = '&#x' + symbol;
}
var btn = symbol.replace(/:/g, ''),
defaultSymbolBtnName = 'symbol-' + btn,
defaultSymbolBtnDef = {
text: symbol,
hasIcon: false,
fn: function () {
var encodedSymbol = String.fromCodePoint(parseInt(symbol.replace('&#', '0')));
trumbowyg.execCmd('insertText', encodedSymbol);
return true;
}
};
trumbowyg.addBtnDef(defaultSymbolBtnName, defaultSymbolBtnDef);
dropdown.push(defaultSymbolBtnName);
});
return dropdown;
}
})(jQuery);

View File

@@ -0,0 +1 @@
!function(s){"use strict";function a(a){var n=[];return s.each(a.o.plugins.specialchars.symbolList,function(s,e){e=null===e?"&nbsp":"&#x"+e;var r=e.replace(/:/g,""),l="symbol-"+r,c={text:e,hasIcon:!1,fn:function(){var s=String.fromCodePoint(parseInt(e.replace("&#","0")));return a.execCmd("insertText",s),!0}};a.addBtnDef(l,c),n.push(l)}),n}var n={symbolList:["0024","20AC","00A3","00A2","00A5","00A4","2030",null,"00A9","00AE","2122",null,"00A7","00B6","00C6","00E6","0152","0153",null,"2022","25CF","2023","25B6","2B29","25C6",null,"00B1","00D7","00F7","21D2","21D4","220F","2211","2243","2264","2265"]};s.extend(!0,s.trumbowyg,{langs:{en:{specialChars:"Special characters"},fr:{specialChars:"Caractères spéciaux"},ko:{specialChars:"특수문자"}},plugins:{specialchars:{init:function(s){s.o.plugins.specialchars=s.o.plugins.specialchars||n;var e={dropdown:a(s)};s.addBtnDef("specialChars",e)}}}})}(jQuery);

View File

@@ -0,0 +1,56 @@
/**
* Trumbowyg v2.21.0 - A lightweight WYSIWYG editor
* Default stylesheet for Trumbowyg editor plugin
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
* @license MIT
* @author Alexandre Demode (Alex-D)
* Twitter : @AlexandreDemode
* Website : alex-d.fr
*/
.trumbowyg-symbol-\&nbsp-dropdown-button {
display: none !important;
}
.trumbowyg-symbol-\&nbsp-dropdown-button + button {
clear: both;
}
.trumbowyg-dropdown-specialChars {
width: 248px;
padding: 5px 3px 3px;
}
.trumbowyg-dropdown-specialChars button {
display: block;
position: relative;
float: left;
height: 26px;
width: 26px;
padding: 0;
margin: 2px;
line-height: 24px;
text-align: center;
&:hover,
&:focus {
&::after {
display: block;
position: absolute;
top: -5px;
left: -5px;
height: 27px;
width: 27px;
background: inherit;
box-shadow: #000 0 0 2px;
z-index: 10;
background-color: transparent;
}
}
}
.trumbowyg .specialChars {
width: 22px;
height: 22px;
display: inline-block;
}

View File

@@ -0,0 +1,47 @@
/**
* Trumbowyg v2.21.0 - A lightweight WYSIWYG editor
* Trumbowyg plugin stylesheet
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
* @license MIT
* @author Alexandre Demode (Alex-D)
* Twitter : @AlexandreDemode
* Website : alex-d.fr
*/
.trumbowyg-symbol-\&nbsp-dropdown-button {
display: none !important; }
.trumbowyg-symbol-\&nbsp-dropdown-button + button {
clear: both; }
.trumbowyg-dropdown-specialChars {
width: 248px;
padding: 5px 3px 3px; }
.trumbowyg-dropdown-specialChars button {
display: block;
position: relative;
float: left;
height: 26px;
width: 26px;
padding: 0;
margin: 2px;
line-height: 24px;
text-align: center; }
.trumbowyg-dropdown-specialChars button:hover::after, .trumbowyg-dropdown-specialChars button:focus::after {
display: block;
position: absolute;
top: -5px;
left: -5px;
height: 27px;
width: 27px;
background: inherit;
box-shadow: #000 0 0 2px;
z-index: 10;
background-color: transparent; }
.trumbowyg .specialChars {
width: 22px;
height: 22px;
display: inline-block; }

View File

@@ -0,0 +1,2 @@
/** Trumbowyg v2.21.0 - A lightweight WYSIWYG editor - alex-d.github.io/Trumbowyg - License MIT - Author : Alexandre Demode (Alex-D) / alex-d.fr */
.trumbowyg-symbol-\&nbsp-dropdown-button{display:none!important}.trumbowyg-symbol-\&nbsp-dropdown-button+button{clear:both}.trumbowyg-dropdown-specialChars{width:248px;padding:5px 3px 3px}.trumbowyg-dropdown-specialChars button{display:block;position:relative;float:left;height:26px;width:26px;padding:0;margin:2px;line-height:24px;text-align:center}.trumbowyg-dropdown-specialChars button:focus::after,.trumbowyg-dropdown-specialChars button:hover::after{display:block;position:absolute;top:-5px;left:-5px;height:27px;width:27px;background:inherit;box-shadow:#000 0 0 2px;z-index:10;background-color:transparent}.trumbowyg .specialChars{width:22px;height:22px;display:inline-block}