Home
last modified time | relevance | path

Searched refs:snippet (Results 1 – 25 of 112) sorted by last modified time

12345

/plugin/pagequery/
H A Dreadme.md21 * OR create a great blog-like start page, where links are followed by a neat snippet of the page content
49 {{pagequery>[query];fulltext;sort=key:direction,key2:direction;group;limit=100;cols=6;inwords;proper;snippet=5;border=inside;nostart;case;natsort}}
/plugin/mermaid/
H A Dmermaid.min.js61 `;const g=o1();try{this.type=QW(a,g)}catch(v){this.type="error",this.detectError=v}const w=Bgt(this.type);Kt.debug("Type "+this.type),this.db=w.db,this.renderer=w.renderer,this.parser=w.parser,this.parser.parser.yy=this.db,this.init=w.init,this.parse()}parse(){var f,g,w,v,b;if(this.detectError)throw this.detectError;(g=(f=this.db).clear)==null||g.call(f);const a=o1();(w=this.init)==null||w.call(this,a),this.metadata.title&&((b=(v=this.db).setDiagramTitle)==null||b.call(v,this.metadata.title)),this.parser.parse(this.text)}async render(a,f){await this.renderer.draw(this.text,a,f,this)}getParser(){return this.parser}getType(){return this.type}}const _Pe=async(i,a={})=>{const f=QW(i,o1());try{Bgt(f)}catch{const w=DMe(f);if(!w)throw new VPt(`Diagram ${f} not found.`);const{id:v,diagram:b}=await w();yY(v,b)}return new vBt(i,a)};let yBt=[];const APe=()=>{yBt.forEach(i=>{i()}),yBt=[]};var LPe=sFt(Object.keys,Object);const DPe=LPe;var MPe=Object.prototype,IPe=MPe.hasOwnProperty;function xBt(i){if(!rY(i))return DPe(i);var a=[];for(var f in Object(i))IPe.call(i,f)&&f!="constructor"&&a.push(f);return a}var OPe=m9(Uv,"DataView");const jgt=OPe;var NPe=m9(Uv,"Promise");const $gt=NPe;var PPe=m9(Uv,"Set");const lD=PPe;var FPe=m9(Uv,"WeakMap");const zgt=FPe;var kBt="[object Map]",BPe="[object Object]",EBt="[object Promise]",TBt="[object Set]",CBt="[object WeakMap]",SBt="[object DataView]",RPe=w9(jgt),jPe=w9(_F),$Pe=w9($gt),zPe=w9(lD),qPe=w9(zgt),T9=b9;(jgt&&T9(new jgt(new ArrayBuffer(1)))!=SBt||_F&&T9(new _F)!=kBt||$gt&&T9($gt.resolve())!=EBt||lD&&T9(new lD)!=TBt||zgt&&T9(new zgt)!=CBt)&&(T9=function(i){var a=b9(i),f=a==BPe?i.constructor:void 0,g=f?w9(f):"";if(g)switch(g){case RPe:return SBt;case jPe:return kBt;case $Pe:return EBt;case zPe:return TBt;case qPe:return CBt}return a});const hD=T9;var HPe="[object Map]",VPe="[object Set]",UPe=Object.prototype,GPe=UPe.hasOwnProperty;function BF(i){if(i==null)return!0;if(p8(i)&&(s1(i)||typeof i=="string"||typeof i.splice=="function"||rD(i)||sY(i)||nD(i)))return!i.length;var a=hD(i);if(a==HPe||a==VPe)return!i.size;if(rY(i))return!xBt(i).length;for(var f in i)if(GPe.call(i,f))return!1;return!0}const KPe="graphics-document document";function WPe(i,a){i.attr("role",KPe),a!==""&&i.attr("aria-roledescription",a)}function YPe(i,a,f,g){if(i.insert!==void 0){if(f){const w=`chart-desc-${g}`;i.attr("aria-describedby",w),i.insert("desc",":first-child").attr("id",w).text(f)}if(a){const w=`chart-title-${g}`;i.attr("aria-labelledby",w),i.insert("title",":first-child").attr("id",w).text(a)}}}const XPe=i=>i.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function _Bt(i){return typeof i>"u"||i===null}function QPe(i){return typeof i=="object"&&i!==null}function JPe(i){return Array.isArray(i)?i:_Bt(i)?[]:[i]}function ZPe(i,a){var f,g,w,v;if(a)for(v=Object.keys(a),f=0,g=v.length;f<g;f+=1)w=v[f],i[w]=a[w];return i}function tFe(i,a){var f="",g;for(g=0;g<a;g+=1)f+=i;return f}function eFe(i){return i===0&&Number.NEGATIVE_INFINITY===1/i}var nFe=_Bt,rFe=QPe,iFe=JPe,sFe=tFe,aFe=eFe,oFe=ZPe,tp={isNothing:nFe,isObject:rFe,toArray:iFe,repeat:sFe,isNegativeZero:aFe,extend:oFe};function ABt(i,a){var f="",g=i.reason||"(unknown reason)";return i.mark?(i.mark.name&&(f+='in "'+i.mark.name+'" '),f+="("+(i.mark.line+1)+":"+(i.mark.column+1)+")",!a&&i.mark.snippet&&(f+=`
63 `+i.mark.snippet),g+" "+f):g}function RF(i,a){Error.call(this),this.name="YAMLException",this.reason=i,this.mark=a,this.message=ABt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}RF.prototype=Object.create(Error.prototype),RF.prototype.constructor=RF,RF.prototype.toString=function(a){return this.name+": "+ABt(this,a)};var Ox=RF;function qgt(i,a,f,g,w){var v="",b="",E=Math.floor(w/2)-1;return g-a>E&&(v=" ... ",a=g-E+v.length),f-g>E&&(b=" ...",f=g+E-b.length),{str:v+i.slice(a,f).replace(/\t/g,"→")+b,pos:g-a+v.length}}function Hgt(i,a){return tp.repeat(" ",a-i.length)+i}function cFe(i,a){if(a=Object.create(a||null),!i.buffer)return null;a.maxLength||(a.maxLength=79),typeof a.indent!="number"&&(a.indent=1),typeof a.linesBefore!="number"&&(a.linesBefore=3),typeof a.linesAfter!="number"&&(a.linesAfter=2);for(var f=/\r?\n|\r|\0/g,g=[0],w=[],v,b=-1;v=f.exec(i.buffer);)w.push(v.index),g.push(v.index+v[0].length),i.position<=v.index&&b<0&&(b=g.length-2);b<0&&(b=g.length-1);var E="",S,_,M=Math.min(i.line+a.linesAfter,w.length).toString().length,F=a.maxLength-(a.indent+M+3);for(S=1;S<=a.linesBefore&&!(b-S<0);S++)_=qgt(i.buffer,g[b-S],w[b-S],i.position-(g[b]-g[b-S]),F),E=tp.repeat(" ",a.indent)+Hgt((i.line-S+1).toString(),M)+" | "+_.str+`
70 `:i===118?"\v":i===102?"\f":i===114?"\r":i===101?"\x1B":i===32?" ":i===34?'"':i===47?"/":i===92?"\\":i===78?"…":i===95?" ":i===76?"\u2028":i===80?"\u2029":""}function xBe(i){return i<=65535?String.fromCharCode(i):String.fromCharCode((i-65536>>10)+55296,(i-65536&1023)+56320)}for(var $Bt=new Array(256),zBt=new Array(256),dD=0;dD<256;dD++)$Bt[dD]=jBt(dD)?1:0,zBt[dD]=jBt(dD);function kBe(i,a){this.input=i,this.filename=a.filename||null,this.schema=a.schema||dBe,this.onWarning=a.onWarning||null,this.legacy=a.legacy||!1,this.json=a.json||!1,this.listener=a.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=i.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function qBt(i,a){var f={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};return f.snippet=uFe(f),new Ox(a,f)}function Ks(i,a){throw qBt(i,a)}function EY(i,a){i.onWarning&&i.onWarning.call(null,qBt(i,a))}var HBt={YAML:function(a,f,g){var w,v,b;a.version!==null&&Ks(a,"duplication of %YAML directive"),g.length!==1&&Ks(a,"YAML directive accepts exactly one argument"),w=/^([0-9]+)\.([0-9]+)$/.exec(g[0]),w===null&&Ks(a,"ill-formed argument of the YAML directive"),v=parseInt(w[1],10),b=parseInt(w[2],10),v!==1&&Ks(a,"unacceptable YAML version of the document"),a.version=g[0],a.checkLineBreaks=b<2,b!==1&&b!==2&&EY(a,"unsupported YAML version of the document")},TAG:function(a,f,g){var w,v;g.length!==2&&Ks(a,"TAG directive accepts exactly two arguments"),w=g[0],v=g[1],FBt.test(w)||Ks(a,"ill-formed tag handle (first argument) of the TAG directive"),m8.call(a.tagMap,w)&&Ks(a,'there is a previously declared suffix for "'+w+'" tag handle'),BBt.test(v)||Ks(a,"ill-formed tag prefix (second argument) of the TAG directive");try{v=decodeURIComponent(v)}catch{Ks(a,"tag prefix is malformed: "+v)}a.tagMap[w]=v}};function v8(i,a,f,g){var w,v,b,E;if(a<f){if(E=i.input.slice(a,f),g)for(w=0,v=E.length;w<v;w+=1)b=E.charCodeAt(w),b===9||32<=b&&b<=1114111||Ks(i,"expected valid JSON character");else pBe.test(E)&&Ks(i,"the stream contains non-printable characters");i.result+=E}}function VBt(i,a,f,g){var w,v,b,E;for(tp.isObject(f)||Ks(i,"cannot merge mappings; the provided source object is unacceptable"),w=Object.keys(f),b=0,E=w.length;b<E;b+=1)v=w[b],m8.call(a,v)||(a[v]=f[v],g[v]=!0)}function gD(i,a,f,g,w,v,b,E,S){var _,M;if(Array.isArray(w))for(w=Array.prototype.slice.call(w),_=0,M=w.length;_<M;_+=1)Array.isArray(w[_])&&Ks(i,"nested arrays are not supported inside keys"),typeof w=="object"&&RBt(w[_])==="[object Object]"&&(w[_]="[object Object]");if(typeof w=="object"&&RBt(w)==="[object Object]"&&(w="[object Object]"),w=String(w),a===null&&(a={}),g==="tag:yaml.org,2002:merge")if(Array.isArray(v))for(_=0,M=v.length;_<M;_+=1)VBt(i,a,v[_],f);else VBt(i,a,v,f);else!i.json&&!m8.call(f,w)&&m8.call(a,w)&&(i.line=b||i.line,i.lineStart=E||i.lineStart,i.position=S||i.position,Ks(i,"duplicated mapping key")),w==="__proto__"?Object.defineProperty(a,w,{configurable:!0,enumerable:!0,writable:!0,value:v}):a[w]=v,delete f[w];return a}function Kgt(i){var a;a=i.input.charCodeAt(i.position),a===10?i.position++:a===13?(i.position++,i.input.charCodeAt(i.position)===10&&i.position++):Ks(i,"a line break is expected"),i.line+=1,i.lineStart=i.position,i.firstTabInLine=-1}function c1(i,a,f){for(var g=0,w=i.input.charCodeAt(i.position);w!==0;){for(;C9(w);)w===9&&i.firstTabInLine===-1&&(i.firstTabInLine=i.position),w=i.input.charCodeAt(++i.position);if(a&&w===35)do w=i.input.charCodeAt(++i.position);while(w!==10&&w!==13&&w!==0);if(r4(w))for(Kgt(i),w=i.input.charCodeAt(i.position),g++,i.lineIndent=0;w===32;)i.lineIndent++,w=i.input.charCodeAt(++i.position);else break}return f!==-1&&g!==0&&i.lineIndent<f&&EY(i,"deficient indentation"),g}function TY(i){var a=i.position,f;return f=i.input.charCodeAt(a),!!((f===45||f===46)&&f===i.input.charCodeAt(a+1)&&f===i.input.charCodeAt(a+2)&&(a+=3,f=i.input.charCodeAt(a),f===0||sb(f)))}function Wgt(i,a){a===1?i.result+=" ":a>1&&(i.result+=tp.repeat(`
[all...]
/plugin/openlayersmap/ol7/
H A Dol.js.map
/plugin/imagemapping/
H A DREADME47 to have your plugin handle and create its own area snippet. An example can be found at the
/plugin/combo/ComboStrap/
H A DBootstrap.php224 throw new ExceptionNotFound("No css snippet");
234 * The javascript snippet order is important
288 $snippet = Snippet::createSnippet($path)
294 $snippet->setRemoteUrl($url);
296 $snippet->setIntegrity($script['integrity']);
311 $snippet->setCritical(false);
314 $this->jquerySnippet = $snippet;
317 $this->jsSnippet = $snippet;
320 $this->popperSnippet = $snippet;
323 LogUtility::internalError("The snippet ke
[all...]
H A DHeadingTag.php341 $snippet = $snippetManager->attachCssInternalStyleSheet(Outline::OUTLINE_HEADING_NUMBERING);
342 if (!$snippet->hasInlineContent()) {
344 $snippet->setInlineContent($css);
H A DSnippetSystem.php42 const CANONICAL = "snippet-system";
72 foreach ($snippets as $snippet) {
74 if ($snippet->hasHtmlOutputAlreadyOccurred()) {
78 $xhtmlContent .= $snippet->toXhtml();
97 * @return Snippet[] - the slot snippets (not the request snippet)
103 foreach ($snippets as $snippet) {
104 if ($snippet->hasSlot(Snippet::REQUEST_SCOPE)) {
107 $slotSnippets[] = $snippet;
118 foreach ($snippetsForSlot as $snippet) {
119 $jsonSnippets[] = $snippet
[all...]
H A DFetcherMarkup.php147 * @var bool - when a execution is not a {@link self::isPathExecution()}, the snippet will not be stored automatically.
470 foreach ($jsonDecodeSnippets as $snippet) {
472 $nativeSnippets[] = Snippet::createFromJson($snippet);
474 LogUtility::error("The snippet json array cannot be build into a snippet object. " . $e->getMessage() . "\n" . ArrayUtility::formatAsString($snippet), LogUtility::SUPPORT_CANONICAL,);
509 throw new ExceptionRuntime("There is no snippet cache store for a non-path execution");
848 * @return Path|null - utility class to get the source markup path or null (if this is a markup snippet/string rendering)
869 foreach ($snippets as $snippet) {
871 if ($snippet
921 addSnippet(Snippet $snippet) global() argument
[all...]
H A DSnippet.php32 * A snippet identifier is a {@link Snippet::getLocalUrl() local file}
64 * Not all snippet comes from a component markup
65 * * a menu item may want to add a snippet on a dynamic page
66 * * a snippet may be added just from the head html meta (for anaytics purpose)
76 const CANONICAL = "snippet";
90 public const SNIPPET_BASE = ":snippet"; // quick internal snippet
99 * With a iife, if the javascript snippet is not critical
133 * @var array - the slots that needs this snippet (as key to get only one snippet b
[all...]
/plugin/combo/action/
H A Dsnippetsbootstrap.php220 foreach ($bootstrap->getJsSnippets() as $snippet) {
221 $boostrapSnippetsAsArray[] = $snippet->toDokuWikiArray();
H A Dsnippets.php17 * Add the snippet needed by the components
23 const CLASS_SNIPPET_IN_CONTENT = "snippet-content-combo";
26 * To known if we needs to put all snippet in the content
115 foreach ($snippets as $snippet) {
118 * first, then the content, to not add the snippet in the head and in the content
121 if (!$snippet->hasHtmlOutputAlreadyOccurred()) {
123 $tag = $snippet->toDokuWikiArray();
125 LogUtility::error("We couldn't get the attributes of the snippet ($snippet). It has been skipped. Error: {$e->getMessage()}", self::CANONICAL);
128 $tagType = $snippet
[all...]
/plugin/combo/resources/
H A DREADME.md12 * `snippet` : Snippet are javascript or css needed for a component
/plugin/combo/vendor/symfony/yaml/Exception/
H A DParseException.php23 private $snippet; variable in Symfony\\Component\\Yaml\\Exception\\ParseException
29 * @param string|null $snippet The snippet of code near the problem
32 public function __construct(string $message, int $parsedLine = -1, string $snippet = null, string $parsedFile = null, \Throwable $previous = null) argument
36 $this->snippet = $snippet;
45 * Gets the snippet of code near the error.
51 return $this->snippet;
55 * Sets the snippet of code near the error.
57 public function setSnippet(string $snippet) argument
[all...]
/plugin/elasticsearch/action/
H A Dsearch.php416 // get highlighted snippet
418 $snippet = str_replace(
423 if (!$snippet) $snippet = hsc($doc['abstract']); // always fall back to abstract
457 echo '<dd class="snippet">';
458 echo $snippet;
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dinstallation.asciidoc51 new project, paste the following JSON snippet into a new file called
H A Drelease-notes.asciidoc302 * Fixed missing put mapping code snippet in code examples
H A Dconnecting.asciidoc86 snippet.
189 credentials. For example, this snippet authenticates using Basic HTTP auth and a
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/
H A DCHANGELOG.md187 - Fixed missing put mapping code snippet in code examples
/plugin/achart/assets/
H A Djs-yaml.min.js2snippet&&(n+="\n\n"+e.mark.snippet),i+" "+n):i}function r(e,t){Error.call(this),this.name="YAMLExc…
/plugin/achart/
H A DREADME.md119 Also note that you can include comments in the snippet, both styles (`//` and `/* */`) are supporte…
/plugin/snippets/
H A DREADME7 … choose have files with embedded snippets automatically updated when the snippet file is changed.
H A Dadmin.php175 foreach($snippet_array as $snippet=>$date) {
176 if(in_array($snippet,$remove_array)) {
177 $ret .= "&nbsp;&nbsp;&nbsp;&nbsp;$snippet<br />";
180 $updated['snippets'][$snippet]=$date;
H A Dhelper.php87 * @param snippet string page id of snippet
89 function snippetWasUpdated($id, $snippet) { argument
91 $snip_time = $isref['snippets'][$snippet] ;
93 $this->updateMetaTime($id,$snippet);
95 $time_stamp = $this->mostRecentVersion($snippet, $modified);
103 function updateMetaTime($id,$snippet) { argument
106 if(!$snippet) return;
108 $time = $this->mostRecentVersion($snippet, $modified) ;
115 $isref['snippets'][$snippet] = $time;
/plugin/snippets/exe/
H A Dupdate.php20 $snippet = urldecode($_REQUEST['snippet']); variable
25 $snippet = 'snippet_1'; variable
47 snippets_prune_meta($id,$snippet);
/plugin/ckgedit/ckeditor/
H A DCHANGES.md1051snippet](https://ckeditor.com/cke4/addon/codesnippet) should be presented in the [elements path](h…

12345