pixel-react 1.20.20 → 1.20.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Editor/Editor.d.ts +0 -3
- package/lib/components/Editor/Editor.js +1 -1
- package/lib/components/Editor/Editor.js.map +1 -1
- package/lib/components/Editor/MonacoLazy.d.ts +5 -0
- package/lib/components/Editor/MonacoLazy.js +1 -0
- package/lib/components/Editor/MonacoLazy.js.map +1 -0
- package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
- package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { EditorProps } from './types';
|
|
2
2
|
import './Editor.scss';
|
|
3
|
-
import 'monaco-editor/esm/vs/language/json/monaco.contribution.js';
|
|
4
|
-
import 'monaco-editor/esm/vs/language/typescript/monaco.contribution.js';
|
|
5
|
-
import 'monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution.js';
|
|
6
3
|
declare const Editor: import("react").ForwardRefExoticComponent<EditorProps & import("react").RefAttributes<any>>;
|
|
7
4
|
export default Editor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as e,jsx as n}from"react/jsx-runtime";import{
|
|
1
|
+
import{jsxs as e,jsx as n}from"react/jsx-runtime";import{lazy as t,forwardRef as r,useRef as o,useState as i,useEffect as s,useImperativeHandle as l,Suspense as a}from"react";import{j as u}from"../../_virtual/index2.js";import"./Editor.scss.js";import c from"./VariableDropdown.js";import{calculateDropdownPosition as d}from"./calculateDropdownPosition.js";const m=t(()=>import("./MonacoLazy.js")),p=r(({width:t="100%",height:r="100%",VariableDropdownHeight:p="160px",readOnly:g=!1,value:b="",handleChange:h,setValue:f,variableOptionsList:C=[],addForloopPrefix:L=!1,language:_="json",theme:N="light",isRequisiteType:w=!1,onPaste:y,showVariableDropdown:V=!0,defaultValue:x,customOptions:v={},editorVariableZindex:P=99999,showMinimap:I=!0,isFocus:D=!1},R)=>{const M=o(null),T=o([]),E=o(null),j=o(null),[k,S]=i(0),[$,A]=i(!1),[O,G]=i(!1),[W,q]=i({top:0,left:0}),[F,z]=i([]),B=o(C);s(()=>{B.current=C},[C]);s(()=>{const e=M.current;if(!e)return;const n=e.onDidBlurEditorWidget(()=>{G(!1),E.current=null,j.current=null,T.current=[],S(0)}),t=n=>{const t=e.getDomNode(),r=t&&t.contains(n.target);if(!r||r&&!n.target.closest(".view-line, .monaco-editor-textarea")){const e=t?.querySelector("textarea");e&&e.blur()}};return document.addEventListener("mousedown",t),()=>{n.dispose(),document.removeEventListener("mousedown",t)}},[O]),s(()=>{const e=M.current;if(!e||!k)return;const n=[],t=[];$?t.push({range:{startLineNumber:k,startColumn:1,endLineNumber:k,endColumn:1},options:{isWholeLine:!1,linesDecorationsClassName:"active-line-number"}}):n.push({range:{startLineNumber:k,startColumn:1,endLineNumber:k,endColumn:1},options:{isWholeLine:!0,className:"current-line-background"}}),T.current=e.deltaDecorations(T.current,[...n,...t])},[k,$]);const K=(e,n)=>{switch(n){case"json":case"javascript":return u.js(e,{indent_size:4,indent_char:" ",max_preserve_newlines:5,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!0,brace_style:"collapse",space_before_conditional:!0,unescape_strings:!0,jslint_happy:!0,end_with_newline:!0,wrap_line_length:0,comma_first:!1,e4x:!0,indent_empty_lines:!0});case"html":case"xml":return u.html(e,{indent_size:4,indent_char:" ",max_preserve_newlines:5,preserve_newlines:!0,end_with_newline:!0,wrap_line_length:0,indent_empty_lines:!0});default:return e}};return l(R,()=>({getEditorInstance:()=>M.current,focus:()=>{M.current?.focus()},beautify:()=>{if(M.current){const e=M.current.getValue(),n=M.current.getModel()?.getLanguageId(),t=K(e,n||"json");M.current.setValue(t)}}})),e("div",{style:{width:t,height:r},className:"ff-editor-container",children:[n(a,{fallback:n("div",{style:{padding:"12px",color:"#666"},children:"Loading Editor..."}),children:n(m,{defaultValue:x,height:r,width:t,language:_,value:b,options:{minimap:{enabled:I},lineNumbers:"on",wordWrap:"on",autoClosingBrackets:"always",scrollBeyondLastLine:!1,readOnly:g,guides:{indentation:!1},...v},onMount:(e,n)=>{M.current=e,D&&setTimeout(()=>{e.focus()},0),e.onDidChangeCursorPosition(n=>{S(n.position.lineNumber);const t=e.getPosition(),r=e.getModel();if(!t||!r)return;const o=r.getLineContent(t.lineNumber),i=t.column-1;if(0===i)return void G(!1);const s=o.lastIndexOf("$",i-1),l=o.lastIndexOf("${",i-1),a=-1!==l?o.indexOf("}",l+2):-1,u=-1!==l&&-1!==a&&i-1>l&&i-1<a,c=!/\}/.test(o.slice(s+1,i));if(-1!==s&&i>s&&!/\s/.test(o.slice(s+1,i))&&!u&&c){E.current=s,j.current=o.slice(s+1,i);const r=(j.current??"").toLowerCase(),l=B.current.filter(e=>("_startforloop"===e.type&&L?`FLV_for:${e.name}`:e.name).toLowerCase().includes(r));z(l);const a=e.getScrolledVisiblePosition(t),u=e.getDomNode();q(d(a,u,150)),["keyboard","mouse","deleteLeft"].includes(n?.source||"")&&G(!0)}else G(!1),E.current=null,j.current=null}),e.onMouseDown(()=>{setTimeout(()=>{const e=M.current;if(!e)return;const n=e.getPosition(),t=e.getModel();if(!n||!t)return;const r=t.getLineContent(n.lineNumber),o=n.column-2;"$"===r[o]?(E.current=o,j.current=""):(E.current=null,j.current=null)},0)}),e.onDidChangeCursorSelection(()=>{const n=(e.getSelections?.()||[]).some(e=>e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn);A(n)}),e.onDidChangeModelContent(()=>{const n=e.getValue();f(n);const t=e.getPosition(),r=e.getModel();if(!t||!r)return;const o=r.getLineContent(t.lineNumber),i=t.column-2;if("$"===o[E.current??i]){null===E.current&&(E.current=i),j.current=o.slice(E.current+1,i);const n=B.current.filter(e=>("_startforloop"===e.type&&L?`FLV_for:${e.name}`:e.name).toLowerCase().includes(j.current?.toLowerCase()));n.length?z(n):(z([]),E?.current!==i&&" "===o[i]&&(E.current=null,j.current=null,G(!1)));const r=e.getScrolledVisiblePosition(t),s=e.getDomNode();q(d(r,s,150))}else E.current=null,j.current=null}),e.onDidPaste(()=>{const n=e.getValue();if(n){const t=K(n,_);e.setValue(t),y&&y(t)}}),n.languages.registerCompletionItemProvider(_,{triggerCharacters:["."],provideCompletionItems:(e,t)=>{const r=e.getValueInRange({startLineNumber:t.lineNumber,startColumn:1,endLineNumber:t.lineNumber,endColumn:t.column}),o=e.getWordAtPosition(t),i=o?new n.Range(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn):new n.Range(t.lineNumber,t.column,t.lineNumber,t.column),s=[];return r.endsWith("ff.")&&s.push({label:"getVariable",kind:n.languages.CompletionItemKind.Method,insertText:"getVariable(${1:variableName})",insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,detail:"Get a variable value",range:i},{label:"setVariable",kind:n.languages.CompletionItemKind.Method,insertText:"setVariable(${1:variableName}, ${2:value})",insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,detail:"Set a variable value",range:i},{label:"sendRequest",kind:n.languages.CompletionItemKind.Method,insertText:'sendRequest({\n method: "GET",//add your method\n url: "https://fakestoreapi.com/products",//enter your url\n headers: { },//add your headers,\n params: params,//add your params,\n data: body,//add your request body,\n })',insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,detail:"Make your http requests",range:i}),{suggestions:s}}})},onChange:(e,n)=>h(e,n),theme:N})}),O&&W&&V&&n(c,{position:"absolute",width:"300px",height:p,optionsList:F,onSelectVariable:e=>{if(w&&M.current){const n=M.current,t=n.getPosition();if(t){const r=`'${e.name}'`,o=E?.current??0;n.executeEdits("",[{range:{startLineNumber:t.lineNumber,startColumn:o+1,endLineNumber:t.lineNumber,endColumn:o+(t.column-o)},text:r,forceMoveMarkers:!0}]),j.current=null,E.current=null,G(!1)}}else((e,n)=>{if(M.current){const t=M.current,r=t.getPosition();if(r){const o=`{${n}${"FLV_for:"===n?"":"_"}${e}}`,i=E?.current??0;t.executeEdits("",[{range:{startLineNumber:r.lineNumber,startColumn:i+2,endLineNumber:r.lineNumber,endColumn:i+(r.column-i)},text:o,forceMoveMarkers:!1}]);const s=[];s.push({range:{startLineNumber:k,startColumn:1,endLineNumber:k,endColumn:1},options:{isWholeLine:!1}}),T.current=t.deltaDecorations(T.current,s),j.current=null,E.current=null,G(!1)}}})("DATAPROVIDER"===e?.type?e?.dpName+":"+e?.varname:e?.name,"STEPGROUP"===e.parentVariableType?"SGV":"GLOBAL"===e?.type?"GV":"LOCAL"===e?.type?"LV":(e?._id??e?.id??"").includes("PARAMETER")?"SGP":"_startforloop"===e?.type?"FLV_for:":"DATAPROVIDER"===e?.type?"DPV":"PEV")},dropdownPosition:W,zIndex:P})]})});export{p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.js","sourceRoot":"","sources":["../../../src/components/Editor/Editor.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,EACV,mBAAmB,GACpB,MAAM,OAAO,CAAC;AACf,OAAO,YAAY,EAAE,EAAW,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,EAAE,IAAI,UAAU,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,eAAe,CAAC;AACvB,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,MAAM,MAAM,4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AAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,kCAAyB,YACzF,KAAC,YAAY,IACX,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE;wBACP,OAAO,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;wBACjC,WAAW,EAAE,IAAI;wBACjB,QAAQ,EAAE,IAAI;wBACd,mBAAmB,EAAE,QAAQ;wBAC7B,oBAAoB,EAAE,KAAK;wBAC3B,QAAQ;wBACR,MAAM,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;wBAC9B,GAAG,aAAa;qBACjB,EACD,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,EAAE,CAAC,QAAa,EAAE,KAAU,EAAE,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,EACtE,KAAK,EAAE,KAAK,GACZ,GACO,EACV,YAAY,IAAI,gBAAgB,IAAI,oBAAoB,IAAI,CAC3D,KAAC,gBAAgB,IACf,QAAQ,EAAC,UAAU,EACnB,KAAK,EAAC,OAAO,EACb,MAAM,EAAE,sBAAsB,EAC9B,WAAW,EAAE,uBAAuB,EACpC,gBAAgB,EAAE,oBAAoB,EACtC,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,oBAAoB,GAC5B,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import MonacoEditor from '@monaco-editor/react';
|
|
2
|
+
import 'monaco-editor/esm/vs/language/json/monaco.contribution.js';
|
|
3
|
+
import 'monaco-editor/esm/vs/language/typescript/monaco.contribution.js';
|
|
4
|
+
import 'monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution.js';
|
|
5
|
+
export default MonacoEditor;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"../../node_modules/@monaco-editor/react/dist/index.js";import*as r from"../../node_modules/monaco-editor/esm/vs/editor/editor.main.js";import"../../node_modules/monaco-editor/esm/vs/language/json/monaco.contribution.js";import"../../node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution.js";import"../../node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution.js";import e from"../../_virtual/editor.worker.js";import t from"../../_virtual/json.worker.js";import i from"../../_virtual/ts.worker.js";import n from"../../node_modules/@monaco-editor/loader/lib/es/loader/index.js";self.MonacoEnvironment={getWorker:function(o,r){return"json"===r?new t:"typescript"===r||"javascript"===r?new i:new e}},n.config({monaco:r});export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonacoLazy.js","sourceRoot":"","sources":["../../../src/components/Editor/MonacoLazy.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,EAAE,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,MAAM,MAAM,4CAA4C,CAAC;AACrE,OAAO,2DAA2D,CAAC;AACnE,OAAO,iEAAiE,CAAC;AACzE,OAAO,4EAA4E,CAAC;AAEpF,gDAAgD;AAChD,OAAO,YAAY,MAAM,yDAAyD,CAAC;AACnF,OAAO,UAAU,MAAM,8DAA8D,CAAC;AACtF,OAAO,QAAQ,MAAM,kEAAkE,CAAC;AAExF,4CAA4C;AAC5C,IAAI,CAAC,iBAAiB,GAAG;IACvB,SAAS,EAAE,UAAU,SAAS,EAAE,KAAK;QACnC,IAAI,KAAK,KAAK,MAAM;YAAE,OAAO,IAAI,UAAU,EAAE,CAAC;QAC9C,IAAI,KAAK,KAAK,YAAY,IAAI,KAAK,KAAK,YAAY;YAAE,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC5E,OAAO,IAAI,YAAY,EAAE,CAAC;IAC5B,CAAC;CACF,CAAC;AAEF,0DAA0D;AAC1D,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;AAE1B,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__exports as t}from"../../../../../_virtual/
|
|
1
|
+
import{__exports as t}from"../../../../../_virtual/beautifier2.js";import{__require as i}from"./options.js";import{__require as e}from"../core/output.js";import{__require as s}from"../core/inputscanner.js";import{__require as h}from"../core/directives.js";var _;function n(){if(_)return t;_=1;var n=i().Options,p=e().Output,r=s().InputScanner,o=new(0,h().Directives)(/\/\*/,/\*\//),u=/\r\n|[\r\n]/,a=/\r\n|[\r\n]/g,c=/\s/,l=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,f=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function g(t,i){this._source_text=t||"",this._options=new n(i),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}return g.prototype.eatString=function(t){var i="";for(this._ch=this._input.next();this._ch;){if(i+=this._ch,"\\"===this._ch)i+=this._input.next();else if(-1!==t.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return i},g.prototype.eatWhitespace=function(t){for(var i=c.test(this._input.peek()),e=0;c.test(this._input.peek());)this._ch=this._input.next(),t&&"\n"===this._ch&&(0===e||e<this._options.max_preserve_newlines)&&(e++,this._output.add_new_line(!0));return i},g.prototype.foundNestedPseudoClass=function(){for(var t=0,i=1,e=this._input.peek(i);e;){if("{"===e)return!0;if("("===e)t+=1;else if(")"===e){if(0===t)return!1;t-=1}else if(";"===e||"}"===e)return!1;i++,e=this._input.peek(i)}return!1},g.prototype.print_string=function(t){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(t)},g.prototype.preserveSingleSpace=function(t){t&&(this._output.space_before_token=!0)},g.prototype.indent=function(){this._indentLevel++},g.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},g.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,i=this._options.eol;"auto"===i&&(i="\n",t&&u.test(t||"")&&(i=t.match(u)[0]));var e=(t=t.replace(a,"\n")).match(/^[\t ]*/)[0];this._output=new p(this._options,e),this._input=new r(t),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var s,h,_=0,n=!1,g=!1,k=!1,v=!1,S=!1,b=this._ch,w=!1;s=""!==this._input.read(l),h=b,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),b=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var m=this._input.read(d),L=o.get_directives(m);L&&"start"===L.ignore&&(m+=o.readIgnored(this._input)),this.print_string(m),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(f)),this.eatWhitespace(!0);else if("$"===this._ch){this.preserveSingleSpace(s),this.print_string(this._ch);var N=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);N.match(/[ :]$/)&&(N=this.eatString(": ").replace(/\s+$/,""),this.print_string(N),this._output.space_before_token=!0),0===_&&-1!==N.indexOf(":")&&(g=!0,this.indent())}else if("@"===this._ch)if(this.preserveSingleSpace(s),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var O=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);O.match(/[ :]$/)&&(O=this.eatString(": ").replace(/\s+$/,""),this.print_string(O),this._output.space_before_token=!0),0===_&&-1!==O.indexOf(":")?(g=!0,this.indent()):O in this.NESTED_AT_RULE?(this._nestedLevel+=1,O in this.CONDITIONAL_GROUP_RULE&&(k=!0)):0!==_||g||(v=!0)}else if("#"===this._ch&&"{"===this._input.peek())this.preserveSingleSpace(s),this.print_string(this._ch+this.eatString("}"));else if("{"===this._ch)g&&(g=!1,this.outdent()),v=!1,k?(k=!1,n=this._indentLevel>=this._nestedLevel):n=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&n&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):("("===h?this._output.space_before_token=!1:","!==h&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if("}"===this._ch)this.outdent(),this._output.add_new_line(),"{"===h&&this._output.trim(!0),g&&(this.outdent(),g=!1),this.print_string(this._ch),n=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0),")"===this._input.peek()&&(this._output.trim(!0),"expand"===this._options.brace_style&&this._output.add_new_line(!0));else if(":"===this._ch){for(var x=0;x<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;x++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[x])){w=!0;break}!n&&!k||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||v||0!==_?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent()))}else if('"'===this._ch||"'"===this._ch){var E='"'===h||"'"===h;this.preserveSingleSpace(E||s),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(";"===this._ch)w=!1,0===_?(g&&(this.outdent(),g=!1),v=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if("("===this._ch)if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),_++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),_&&(_--,this.outdent()));else{var W=!1;this._input.lookBack("with")&&(W=!0),this.preserveSingleSpace(s||W),this.print_string(this._ch),g&&"$"===h&&this._options.selector_separator_newline?(this._output.add_new_line(),S=!0):(this.eatWhitespace(),_++,this.indent())}else if(")"===this._ch)_&&(_--,this.outdent()),S&&";"===this._input.peek()&&this._options.selector_separator_newline&&(S=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(","===this._ch)this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g&&!S||0!==_||v?this._output.space_before_token=!0:this._output.add_new_line();else if(">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==_)if("]"===this._ch)this.print_string(this._ch);else if("["===this._ch)this.preserveSingleSpace(s),this.print_string(this._ch);else if("="===this._ch)this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="");else if("!"!==this._ch||this._input.lookBack("\\")){var y='"'===h||"'"===h;this.preserveSingleSpace(y||s),this.print_string(this._ch),!this._output.just_added_newline()&&"\n"===this._input.peek()&&w&&this._output.add_new_line()}else this._output.space_before_token=!0,this.print_string(this._ch);else this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(i)},t.Beautifier=g,t}export{n as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__module as r}from"../../../../../_virtual/
|
|
1
|
+
import{__module as r}from"../../../../../_virtual/index9.js";import{__require as e}from"./beautifier.js";import{__require as t}from"./options.js";var i;function o(){if(i)return r.exports;i=1;var o=e().Beautifier,n=t().Options;return r.exports=function(r,e){return new o(r,e).beautify()},r.exports.defaultOptions=function(){return new n},r.exports}export{o as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__exports as e}from"../../../../../_virtual/
|
|
1
|
+
import{__exports as e}from"../../../../../_virtual/options.js";import{__require as t}from"../core/options.js";var r;function s(){if(r)return e;r=1;var s=t().Options;function o(e){s.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t;var r=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var o=0;o<r.length;o++)"expand"!==r[o]?this.brace_style="collapse":this.brace_style=r[o]}return o.prototype=new s,e.Options=o,e}export{s as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__module as r}from"../../../../../_virtual/
|
|
1
|
+
import{__module as r}from"../../../../../_virtual/index10.js";import{__require as e}from"./beautifier.js";import{__require as t}from"./options.js";var i;function o(){if(i)return r.exports;i=1;var o=e().Beautifier,n=t().Options;return r.exports=function(r,e,t,i){return new o(r,e,t,i).beautify()},r.exports.defaultOptions=function(){return new n},r.exports}export{o as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__exports as t}from"../../../../../_virtual/
|
|
1
|
+
import{__exports as t}from"../../../../../_virtual/options2.js";import{__require as e}from"../core/options.js";var i;function n(){if(i)return t;i=1;var n=e().Options;function r(t){n.call(this,t,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return r.prototype=new n,t.Options=r,t}export{n as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__exports as t}from"../../../../../_virtual/beautifier2.js";import{__require as e}from"../core/output.js";import{__require as s}from"../core/token.js";import{__require as _}from"./acorn.js";import{__require as i}from"./options.js";import{__require as n}from"./tokenizer.js";var o;function a(){if(o)return t;o=1;var a=e().Output,l=s().Token,h=_(),r=i().Options,p=n().Tokenizer,f=n().line_starters,u=n().positionable_operators,d=n().TOKEN;function g(t,e){return-1!==e.indexOf(t)}function k(t){return t.replace(/^\s+/g,"")}function c(t,e){return t&&t.type===d.RESERVED&&t.text===e}function m(t,e){return t&&t.type===d.RESERVED&&g(t.text,e)}var w=["case","return","do","if","throw","else","await","break","continue","async"],y=function(t){for(var e={},s=0;s<t.length;s++)e[t[s].replace(/-/g,"_")]=t[s];return e}(["before-newline","after-newline","preserve-newline"]),x=[y.before_newline,y.preserve_newline],b="BlockStatement",v="Statement",E="ObjectLiteral",R="ArrayLiteral",O="ForInitializer",T="Conditional",A="Expression";function S(t,e){e.multiline_frame||e.mode===O||e.mode===T||t.remove_indent(e.start_line_index)}function D(t){return t===R}function N(t){return g(t,[A,O,T])}function P(t,e){e=e||{},this._source_text=t||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new r(e)}P.prototype.create_flags=function(t,e){var s=0;return t&&(s=t.indentation_level,!this._output.just_added_newline()&&t.line_indent_level>s&&(s=t.line_indent_level)),{mode:e,parent:t,last_token:t?t.last_token:new l(d.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:s,alignment:0,line_indent_level:t?t.line_indent_level:s,start_line_index:this._output.get_line_number(),ternary_depth:0}},P.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new a(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(b);var s=new p(t,this._options);return this._tokens=s.tokenize(),t},P.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._reset(this._source_text),e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&h.lineBreak.test(t||"")&&(e=t.match(h.lineBreak)[0]));for(var s=this._tokens.next();s;)this.handle_token(s),this._last_last_text=this._flags.last_token.text,this._flags.last_token=s,s=this._tokens.next();return this._output.get_code(e)},P.prototype.handle_token=function(t,e){t.type===d.START_EXPR?this.handle_start_expr(t):t.type===d.END_EXPR?this.handle_end_expr(t):t.type===d.START_BLOCK?this.handle_start_block(t):t.type===d.END_BLOCK?this.handle_end_block(t):t.type===d.WORD||t.type===d.RESERVED?this.handle_word(t):t.type===d.SEMICOLON?this.handle_semicolon(t):t.type===d.STRING?this.handle_string(t):t.type===d.EQUALS?this.handle_equals(t):t.type===d.OPERATOR?this.handle_operator(t):t.type===d.COMMA?this.handle_comma(t):t.type===d.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===d.COMMENT?this.handle_comment(t,e):t.type===d.DOT?this.handle_dot(t):t.type===d.EOF?this.handle_eof(t):(t.type,d.UNKNOWN,this.handle_unknown(t,e))},P.prototype.handle_whitespace_and_comments=function(t,e){var s=t.newlines,_=this._options.keep_array_indentation&&D(this._flags.mode);if(t.comments_before)for(var i=t.comments_before.next();i;)this.handle_whitespace_and_comments(i,e),this.handle_token(i,e),i=t.comments_before.next();if(_)for(var n=0;n<s;n+=1)this.print_newline(n>0,e);else if(this._options.max_preserve_newlines&&s>this._options.max_preserve_newlines&&(s=this._options.max_preserve_newlines),this._options.preserve_newlines&&s>1){this.print_newline(!1,e);for(var o=1;o<s;o+=1)this.print_newline(!0,e)}};var C=["async","break","continue","return","throw","yield"];return P.prototype.allow_wrap_or_preserved_newline=function(t,e){if(e=void 0!==e&&e,!this._output.just_added_newline()){var s=this._options.preserve_newlines&&t.newlines||e;if(g(this._flags.last_token.text,u)||g(t.text,u)){var _=g(this._flags.last_token.text,u)&&g(this._options.operator_position,x)||g(t.text,u);s=s&&_}if(s)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(m(this._flags.last_token,C))return;this._output.set_wrap_point()}}},P.prototype.print_newline=function(t,e){if(!e&&";"!==this._flags.last_token.text&&","!==this._flags.last_token.text&&"="!==this._flags.last_token.text&&(this._flags.last_token.type!==d.OPERATOR||"--"===this._flags.last_token.text||"++"===this._flags.last_token.text))for(var s=this._tokens.peek();!(this._flags.mode!==v||this._flags.if_block&&c(s,"else")||this._flags.do_block);)this.restore_mode();this._output.add_new_line(t)&&(this._flags.multiline_frame=!0)},P.prototype.print_token_line_indentation=function(t){this._output.just_added_newline()&&(this._options.keep_array_indentation&&t.newlines&&("["===t.text||D(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(t.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},P.prototype.print_token=function(t){if(this._output.raw)this._output.add_raw_token(t);else{if(this._options.comma_first&&t.previous&&t.previous.type===d.COMMA&&this._output.just_added_newline()&&","===this._output.previous_line.last()){var e=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(e),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(t),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(t),this._output.non_breaking_space=!0,this._output.add_token(t.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)}},P.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},P.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},P.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},P.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===v&&S(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},P.prototype.start_of_object_property=function(){return this._flags.parent.mode===E&&this._flags.mode===v&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||m(this._flags.last_token,["get","set"]))},P.prototype.start_of_statement=function(t){var e=!1;return!!(e=(e=(e=(e=(e=(e=(e=e||m(this._flags.last_token,["var","let","const"])&&t.type===d.WORD)||c(this._flags.last_token,"do"))||!(this._flags.parent.mode===E&&this._flags.mode===v)&&m(this._flags.last_token,C)&&!t.newlines)||c(this._flags.last_token,"else")&&!(c(t,"if")&&!t.comments_before))||this._flags.last_token.type===d.END_EXPR&&(this._previous_flags.mode===O||this._previous_flags.mode===T))||this._flags.last_token.type===d.WORD&&this._flags.mode===b&&!this._flags.in_case&&!("--"===t.text||"++"===t.text)&&"function"!==this._last_last_text&&t.type!==d.WORD&&t.type!==d.RESERVED)||this._flags.mode===E&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||m(this._flags.last_token,["get","set"])))&&(this.set_mode(v),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,m(t,["do","for","if","while"])),!0)},P.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=A;if("["===t.text){if(this._flags.last_token.type===d.WORD||")"===this._flags.last_token.text)return m(this._flags.last_token,f)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));e=R,D(this._flags.mode)&&("["!==this._flags.last_token.text&&(","!==this._flags.last_token.text||"]"!==this._last_last_text&&"}"!==this._last_last_text)||this._options.keep_array_indentation||this.print_newline()),g(this._flags.last_token.type,[d.START_EXPR,d.END_EXPR,d.WORD,d.OPERATOR,d.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===d.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,e=O):g(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,e=T):g(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===t.whitespace_before?this._output.space_before_token=!1:(g(this._flags.last_token.text,f)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===d.EQUALS||this._flags.last_token.type===d.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===d.WORD){this._output.space_before_token=!1;var s=this._tokens.peek(-3);if(this._options.space_after_named_function&&s){var _=this._tokens.peek(-4);m(s,["async","function"])||"*"===s.text&&m(_,["async","function"])?this._output.space_before_token=!0:this._flags.mode===E?"{"!==s.text&&","!==s.text&&("*"!==s.text||"{"!==_.text&&","!==_.text)||(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===d.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(g(this._last_last_text,["function","yield"])||this._flags.mode===E&&g(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}";"===this._flags.last_token.text||this._flags.last_token.type===d.START_BLOCK?this.print_newline():this._flags.last_token.type!==d.END_EXPR&&this._flags.last_token.type!==d.START_EXPR&&this._flags.last_token.type!==d.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==d.COMMA||this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},P.prototype.handle_end_expr=function(t){for(;this._flags.mode===v;)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,"]"===t.text&&D(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==d.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(t),this.restore_mode(),S(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===T&&(this._previous_flags.mode=A,this._flags.do_block=!1,this._flags.do_while=!1)},P.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),s=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===d.END_EXPR?(this.set_mode(b),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(b):s&&(g(s.text,[":",","])&&g(e.type,[d.STRING,d.WORD,d.RESERVED])||g(e.text,["get","set","..."])&&g(s.type,[d.WORD,d.RESERVED]))?g(this._last_last_text,["class","interface"])&&!g(s.text,[":",","])?this.set_mode(b):this.set_mode(E):this._flags.last_token.type===d.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(b):g(this._flags.last_token.type,[d.EQUALS,d.START_EXPR,d.COMMA,d.OPERATOR])||m(this._flags.last_token,["return","throw","import","default"])?this.set_mode(E):this.set_mode(b),this._flags.last_token&&m(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var _=!e.comments_before&&"}"===e.text,i=_&&"function"===this._flags.last_word&&this._flags.last_token.type===d.END_EXPR;if(this._options.brace_preserve_inline){var n=0,o=null;this._flags.inline_frame=!0;do{if(n+=1,(o=this._tokens.peek(n-1)).newlines){this._flags.inline_frame=!1;break}}while(o.type!==d.EOF&&(o.type!==d.END_BLOCK||o.opened!==t))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==d.OPERATOR&&(i||this._flags.last_token.type===d.EQUALS||m(this._flags.last_token,w)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!D(this._previous_flags.mode)||this._flags.last_token.type!==d.START_EXPR&&this._flags.last_token.type!==d.COMMA||((this._flags.last_token.type===d.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===d.COMMA||this._flags.last_token.type===d.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==d.OPERATOR&&this._flags.last_token.type!==d.START_EXPR&&(g(this._flags.last_token.type,[d.START_BLOCK,d.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(t),this.indent(),_||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},P.prototype.handle_end_block=function(t){for(this.handle_whitespace_and_comments(t);this._flags.mode===v;)this.restore_mode();var e=this._flags.last_token.type===d.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:"expand"===this._options.brace_style?e||this.print_newline():e||(D(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)},P.prototype.handle_word=function(t){if(t.type===d.RESERVED)if(g(t.text,["set","get"])&&this._flags.mode!==E)t.type=d.WORD;else if("import"===t.text&&g(this._tokens.peek().text,["(","."]))t.type=d.WORD;else if(g(t.text,["as","from"])&&!this._flags.import_block)t.type=d.WORD;else if(this._flags.mode===E){":"===this._tokens.peek().text&&(t.type=d.WORD)}if(this.start_of_statement(t)?m(this._flags.last_token,["var","let","const"])&&t.type===d.WORD&&(this._flags.declaration_statement=!0):!t.newlines||N(this._flags.mode)||this._flags.last_token.type===d.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===d.EQUALS||!this._options.preserve_newlines&&m(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(t):(this.handle_whitespace_and_comments(t),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(c(t,"while"))return this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&c(t,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===v;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&m(t,["case","default"]))return this.print_newline(),this._flags.case_block||!this._flags.case_body&&!this._options.jslint_happy||this.deindent(),this._flags.case_body=!1,this.print_token(t),void(this._flags.in_case=!0);if(this._flags.last_token.type!==d.COMMA&&this._flags.last_token.type!==d.START_EXPR&&this._flags.last_token.type!==d.EQUALS&&this._flags.last_token.type!==d.OPERATOR||this.start_of_object_property()||g(this._flags.last_token.text,["+","-"])&&":"===this._last_last_text&&this._flags.parent.mode===E||this.allow_wrap_or_preserved_newline(t),c(t,"function"))return(g(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!g(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==d.OPERATOR)&&(this._output.just_added_blankline()||t.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===d.RESERVED||this._flags.last_token.type===d.WORD?m(this._flags.last_token,["get","set","new","export"])||m(this._flags.last_token,C)||c(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===d.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!N(this._flags.mode)&&!D(this._flags.mode))&&this.print_newline(),this.print_token(t),void(this._flags.last_word=t.text);var e="NONE";(this._flags.last_token.type===d.END_BLOCK?this._previous_flags.inline_frame?e="SPACE":m(t,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines?e="NEWLINE":(e="SPACE",this._output.space_before_token=!0):e="NEWLINE":this._flags.last_token.type===d.SEMICOLON&&this._flags.mode===b?e="NEWLINE":this._flags.last_token.type===d.SEMICOLON&&N(this._flags.mode)?e="SPACE":this._flags.last_token.type===d.STRING?e="NEWLINE":this._flags.last_token.type===d.RESERVED||this._flags.last_token.type===d.WORD||"*"===this._flags.last_token.text&&(g(this._last_last_text,["function","yield"])||this._flags.mode===E&&g(this._last_last_text,["{",","]))?e="SPACE":this._flags.last_token.type===d.START_BLOCK?e=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===d.END_EXPR&&(this._output.space_before_token=!0,e="NEWLINE"),m(t,f)&&")"!==this._flags.last_token.text&&(e=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),m(t,["else","catch","finally"]))?(this._flags.last_token.type!==d.END_BLOCK||this._previous_flags.mode!==b||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this.print_newline():(this._output.trim(!0),"}"!==this._output.current_line.last()&&this.print_newline(),this._output.space_before_token=!0):"NEWLINE"===e?m(this._flags.last_token,w)||"declare"===this._flags.last_token.text&&m(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==d.END_EXPR?this._flags.last_token.type===d.START_EXPR&&m(t,["var","let","const"])||":"===this._flags.last_token.text||(c(t,"if")&&c(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):m(t,f)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&D(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===e&&(this._output.space_before_token=!0);!t.previous||t.previous.type!==d.WORD&&t.previous.type!==d.RESERVED||(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===d.RESERVED&&("do"===t.text?this._flags.do_block=!0:"if"===t.text?this._flags.if_block=!0:"import"===t.text?this._flags.import_block=!0:this._flags.import_block&&c(t,"from")&&(this._flags.import_block=!1))},P.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);for(var e=this._tokens.peek();!(this._flags.mode!==v||this._flags.if_block&&c(e,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)},P.prototype.handle_string=function(t){(!t.text.startsWith("`")||0!==t.newlines||""!==t.whitespace_before||")"!==t.previous.text&&this._flags.last_token.type!==d.WORD)&&(this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===d.RESERVED||this._flags.last_token.type===d.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===d.COMMA||this._flags.last_token.type===d.START_EXPR||this._flags.last_token.type===d.EQUALS||this._flags.last_token.type===d.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):!t.text.startsWith("`")||this._flags.last_token.type!==d.END_EXPR||"]"!==t.previous.text&&")"!==t.previous.text||0!==t.newlines?this.print_newline():this._output.space_before_token=!0)),this.print_token(t)},P.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0},P.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(N(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):this._flags.mode===E||this._flags.mode===v&&this._flags.parent.mode===E?(this._flags.mode===v&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)},P.prototype.handle_operator=function(t){var e="*"===t.text&&(m(this._flags.last_token,["function","yield"])||g(this._flags.last_token.type,[d.START_BLOCK,d.COMMA,d.END_BLOCK,d.SEMICOLON])),s=g(t.text,["-","+"])&&(g(this._flags.last_token.type,[d.START_BLOCK,d.START_EXPR,d.EQUALS,d.OPERATOR])||g(this._flags.last_token.text,f)||","===this._flags.last_token.text);if(this.start_of_statement(t));else{var _=!e;this.handle_whitespace_and_comments(t,_)}if("*"!==t.text||this._flags.last_token.type!==d.DOT)if("::"!==t.text)if(g(t.text,["-","+"])&&this.start_of_object_property())this.print_token(t);else{if(this._flags.last_token.type===d.OPERATOR&&g(this._options.operator_position,x)&&this.allow_wrap_or_preserved_newline(t),":"===t.text&&this._flags.in_case)return this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==d.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0));var i=!0,n=!0,o=!1;if(":"===t.text?0===this._flags.ternary_depth?i=!1:(this._flags.ternary_depth-=1,o=!0):"?"===t.text&&(this._flags.ternary_depth+=1),!s&&!e&&this._options.preserve_newlines&&g(t.text,u)){var a=":"===t.text,l=a&&o,h=a&&!o;switch(this._options.operator_position){case y.before_newline:return this._output.space_before_token=!h,this.print_token(t),a&&!l||this.allow_wrap_or_preserved_newline(t),void(this._output.space_before_token=!0);case y.after_newline:return this._output.space_before_token=!0,!a||l?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),void(this._output.space_before_token=!0);case y.preserve_newline:return h||this.allow_wrap_or_preserved_newline(t),i=!(this._output.just_added_newline()||h),this._output.space_before_token=i,this.print_token(t),void(this._output.space_before_token=!0)}}if(e){this.allow_wrap_or_preserved_newline(t),i=!1;var r=this._tokens.peek();n=r&&g(r.type,[d.WORD,d.RESERVED])}else if("..."===t.text)this.allow_wrap_or_preserved_newline(t),i=this._flags.last_token.type===d.START_BLOCK,n=!1;else if(g(t.text,["--","++","!","~"])||s){if(this._flags.last_token.type!==d.COMMA&&this._flags.last_token.type!==d.START_EXPR||this.allow_wrap_or_preserved_newline(t),i=!1,n=!1,t.newlines&&("--"===t.text||"++"===t.text||"~"===t.text)){var p=m(this._flags.last_token,w)&&t.newlines;p&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(p,!0)}";"===this._flags.last_token.text&&N(this._flags.mode)&&(i=!0),this._flags.last_token.type===d.RESERVED?i=!0:this._flags.last_token.type===d.END_EXPR?i=!("]"===this._flags.last_token.text&&("--"===t.text||"++"===t.text)):this._flags.last_token.type===d.OPERATOR&&(i=g(t.text,["--","-","++","+"])&&g(this._flags.last_token.text,["--","-","++","+"]),g(t.text,["+","-"])&&g(this._flags.last_token.text,["--","++"])&&(n=!0)),(this._flags.mode!==b||this._flags.inline_frame)&&this._flags.mode!==v||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline()}this._output.space_before_token=this._output.space_before_token||i,this.print_token(t),this._output.space_before_token=n}else this.print_token(t);else this.print_token(t)},P.prototype.handle_block_comment=function(t,e){return this._output.raw?(this._output.add_raw_token(t),void(t.directives&&"end"===t.directives.preserve&&(this._output.raw=this._options.test_output_raw))):t.directives?(this.print_newline(!1,e),this.print_token(t),"start"===t.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):h.newline.test(t.text)||t.newlines?void this.print_block_commment(t,e):(this._output.space_before_token=!0,this.print_token(t),void(this._output.space_before_token=!0))},P.prototype.print_block_commment=function(t,e){var s,_=function(t){for(var e=[],s=(t=t.replace(h.allLineBreaks,"\n")).indexOf("\n");-1!==s;)e.push(t.substring(0,s)),s=(t=t.substring(s+1)).indexOf("\n");return t.length&&e.push(t),e}(t.text),i=!1,n=!1,o=t.whitespace_before,a=o.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(_[0]),this.print_newline(!1,e),_.length>1){for(i=function(t,e){for(var s=0;s<t.length;s++)if(t[s].trim().charAt(0)!==e)return!1;return!0}(_=_.slice(1),"*"),n=function(t,e){for(var s,_=0,i=t.length;_<i;_++)if((s=t[_])&&0!==s.indexOf(e))return!1;return!0}(_,o),i&&(this._flags.alignment=1),s=0;s<_.length;s++)i?(this.print_token_line_indentation(t),this._output.add_token(k(_[s]))):n&&_[s]?(this.print_token_line_indentation(t),this._output.add_token(_[s].substring(a))):(this._output.current_line.set_indent(-1),this._output.add_token(_[s])),this.print_newline(!1,e);this._flags.alignment=0}},P.prototype.handle_comment=function(t,e){t.newlines?this.print_newline(!1,e):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(t),this.print_newline(!1,e)},P.prototype.handle_dot=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),m(this._flags.last_token,w)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(t,")"===this._flags.last_token.text&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(t)},P.prototype.handle_unknown=function(t,e){this.print_token(t),"\n"===t.text[t.text.length-1]&&this.print_newline(!1,e)},P.prototype.handle_eof=function(t){for(;this._flags.mode===v;)this.restore_mode();this.handle_whitespace_and_comments(t)},t.Beautifier=P,t}export{a as __require};
|
|
1
|
+
import{__exports as t}from"../../../../../_virtual/beautifier3.js";import{__require as e}from"../core/output.js";import{__require as s}from"../core/token.js";import{__require as _}from"./acorn.js";import{__require as i}from"./options.js";import{__require as n}from"./tokenizer.js";var o;function a(){if(o)return t;o=1;var a=e().Output,l=s().Token,h=_(),r=i().Options,p=n().Tokenizer,f=n().line_starters,u=n().positionable_operators,d=n().TOKEN;function g(t,e){return-1!==e.indexOf(t)}function k(t){return t.replace(/^\s+/g,"")}function c(t,e){return t&&t.type===d.RESERVED&&t.text===e}function m(t,e){return t&&t.type===d.RESERVED&&g(t.text,e)}var w=["case","return","do","if","throw","else","await","break","continue","async"],y=function(t){for(var e={},s=0;s<t.length;s++)e[t[s].replace(/-/g,"_")]=t[s];return e}(["before-newline","after-newline","preserve-newline"]),x=[y.before_newline,y.preserve_newline],b="BlockStatement",v="Statement",E="ObjectLiteral",R="ArrayLiteral",O="ForInitializer",T="Conditional",A="Expression";function S(t,e){e.multiline_frame||e.mode===O||e.mode===T||t.remove_indent(e.start_line_index)}function D(t){return t===R}function N(t){return g(t,[A,O,T])}function P(t,e){e=e||{},this._source_text=t||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new r(e)}P.prototype.create_flags=function(t,e){var s=0;return t&&(s=t.indentation_level,!this._output.just_added_newline()&&t.line_indent_level>s&&(s=t.line_indent_level)),{mode:e,parent:t,last_token:t?t.last_token:new l(d.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:s,alignment:0,line_indent_level:t?t.line_indent_level:s,start_line_index:this._output.get_line_number(),ternary_depth:0}},P.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new a(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(b);var s=new p(t,this._options);return this._tokens=s.tokenize(),t},P.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._reset(this._source_text),e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&h.lineBreak.test(t||"")&&(e=t.match(h.lineBreak)[0]));for(var s=this._tokens.next();s;)this.handle_token(s),this._last_last_text=this._flags.last_token.text,this._flags.last_token=s,s=this._tokens.next();return this._output.get_code(e)},P.prototype.handle_token=function(t,e){t.type===d.START_EXPR?this.handle_start_expr(t):t.type===d.END_EXPR?this.handle_end_expr(t):t.type===d.START_BLOCK?this.handle_start_block(t):t.type===d.END_BLOCK?this.handle_end_block(t):t.type===d.WORD||t.type===d.RESERVED?this.handle_word(t):t.type===d.SEMICOLON?this.handle_semicolon(t):t.type===d.STRING?this.handle_string(t):t.type===d.EQUALS?this.handle_equals(t):t.type===d.OPERATOR?this.handle_operator(t):t.type===d.COMMA?this.handle_comma(t):t.type===d.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===d.COMMENT?this.handle_comment(t,e):t.type===d.DOT?this.handle_dot(t):t.type===d.EOF?this.handle_eof(t):(t.type,d.UNKNOWN,this.handle_unknown(t,e))},P.prototype.handle_whitespace_and_comments=function(t,e){var s=t.newlines,_=this._options.keep_array_indentation&&D(this._flags.mode);if(t.comments_before)for(var i=t.comments_before.next();i;)this.handle_whitespace_and_comments(i,e),this.handle_token(i,e),i=t.comments_before.next();if(_)for(var n=0;n<s;n+=1)this.print_newline(n>0,e);else if(this._options.max_preserve_newlines&&s>this._options.max_preserve_newlines&&(s=this._options.max_preserve_newlines),this._options.preserve_newlines&&s>1){this.print_newline(!1,e);for(var o=1;o<s;o+=1)this.print_newline(!0,e)}};var C=["async","break","continue","return","throw","yield"];return P.prototype.allow_wrap_or_preserved_newline=function(t,e){if(e=void 0!==e&&e,!this._output.just_added_newline()){var s=this._options.preserve_newlines&&t.newlines||e;if(g(this._flags.last_token.text,u)||g(t.text,u)){var _=g(this._flags.last_token.text,u)&&g(this._options.operator_position,x)||g(t.text,u);s=s&&_}if(s)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(m(this._flags.last_token,C))return;this._output.set_wrap_point()}}},P.prototype.print_newline=function(t,e){if(!e&&";"!==this._flags.last_token.text&&","!==this._flags.last_token.text&&"="!==this._flags.last_token.text&&(this._flags.last_token.type!==d.OPERATOR||"--"===this._flags.last_token.text||"++"===this._flags.last_token.text))for(var s=this._tokens.peek();!(this._flags.mode!==v||this._flags.if_block&&c(s,"else")||this._flags.do_block);)this.restore_mode();this._output.add_new_line(t)&&(this._flags.multiline_frame=!0)},P.prototype.print_token_line_indentation=function(t){this._output.just_added_newline()&&(this._options.keep_array_indentation&&t.newlines&&("["===t.text||D(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(t.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},P.prototype.print_token=function(t){if(this._output.raw)this._output.add_raw_token(t);else{if(this._options.comma_first&&t.previous&&t.previous.type===d.COMMA&&this._output.just_added_newline()&&","===this._output.previous_line.last()){var e=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(e),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(t),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(t),this._output.non_breaking_space=!0,this._output.add_token(t.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)}},P.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},P.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},P.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},P.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===v&&S(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},P.prototype.start_of_object_property=function(){return this._flags.parent.mode===E&&this._flags.mode===v&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||m(this._flags.last_token,["get","set"]))},P.prototype.start_of_statement=function(t){var e=!1;return!!(e=(e=(e=(e=(e=(e=(e=e||m(this._flags.last_token,["var","let","const"])&&t.type===d.WORD)||c(this._flags.last_token,"do"))||!(this._flags.parent.mode===E&&this._flags.mode===v)&&m(this._flags.last_token,C)&&!t.newlines)||c(this._flags.last_token,"else")&&!(c(t,"if")&&!t.comments_before))||this._flags.last_token.type===d.END_EXPR&&(this._previous_flags.mode===O||this._previous_flags.mode===T))||this._flags.last_token.type===d.WORD&&this._flags.mode===b&&!this._flags.in_case&&!("--"===t.text||"++"===t.text)&&"function"!==this._last_last_text&&t.type!==d.WORD&&t.type!==d.RESERVED)||this._flags.mode===E&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||m(this._flags.last_token,["get","set"])))&&(this.set_mode(v),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,m(t,["do","for","if","while"])),!0)},P.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=A;if("["===t.text){if(this._flags.last_token.type===d.WORD||")"===this._flags.last_token.text)return m(this._flags.last_token,f)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));e=R,D(this._flags.mode)&&("["!==this._flags.last_token.text&&(","!==this._flags.last_token.text||"]"!==this._last_last_text&&"}"!==this._last_last_text)||this._options.keep_array_indentation||this.print_newline()),g(this._flags.last_token.type,[d.START_EXPR,d.END_EXPR,d.WORD,d.OPERATOR,d.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===d.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,e=O):g(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,e=T):g(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===t.whitespace_before?this._output.space_before_token=!1:(g(this._flags.last_token.text,f)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===d.EQUALS||this._flags.last_token.type===d.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===d.WORD){this._output.space_before_token=!1;var s=this._tokens.peek(-3);if(this._options.space_after_named_function&&s){var _=this._tokens.peek(-4);m(s,["async","function"])||"*"===s.text&&m(_,["async","function"])?this._output.space_before_token=!0:this._flags.mode===E?"{"!==s.text&&","!==s.text&&("*"!==s.text||"{"!==_.text&&","!==_.text)||(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===d.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(g(this._last_last_text,["function","yield"])||this._flags.mode===E&&g(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}";"===this._flags.last_token.text||this._flags.last_token.type===d.START_BLOCK?this.print_newline():this._flags.last_token.type!==d.END_EXPR&&this._flags.last_token.type!==d.START_EXPR&&this._flags.last_token.type!==d.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==d.COMMA||this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},P.prototype.handle_end_expr=function(t){for(;this._flags.mode===v;)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,"]"===t.text&&D(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==d.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(t),this.restore_mode(),S(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===T&&(this._previous_flags.mode=A,this._flags.do_block=!1,this._flags.do_while=!1)},P.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),s=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===d.END_EXPR?(this.set_mode(b),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(b):s&&(g(s.text,[":",","])&&g(e.type,[d.STRING,d.WORD,d.RESERVED])||g(e.text,["get","set","..."])&&g(s.type,[d.WORD,d.RESERVED]))?g(this._last_last_text,["class","interface"])&&!g(s.text,[":",","])?this.set_mode(b):this.set_mode(E):this._flags.last_token.type===d.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(b):g(this._flags.last_token.type,[d.EQUALS,d.START_EXPR,d.COMMA,d.OPERATOR])||m(this._flags.last_token,["return","throw","import","default"])?this.set_mode(E):this.set_mode(b),this._flags.last_token&&m(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var _=!e.comments_before&&"}"===e.text,i=_&&"function"===this._flags.last_word&&this._flags.last_token.type===d.END_EXPR;if(this._options.brace_preserve_inline){var n=0,o=null;this._flags.inline_frame=!0;do{if(n+=1,(o=this._tokens.peek(n-1)).newlines){this._flags.inline_frame=!1;break}}while(o.type!==d.EOF&&(o.type!==d.END_BLOCK||o.opened!==t))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==d.OPERATOR&&(i||this._flags.last_token.type===d.EQUALS||m(this._flags.last_token,w)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!D(this._previous_flags.mode)||this._flags.last_token.type!==d.START_EXPR&&this._flags.last_token.type!==d.COMMA||((this._flags.last_token.type===d.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===d.COMMA||this._flags.last_token.type===d.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==d.OPERATOR&&this._flags.last_token.type!==d.START_EXPR&&(g(this._flags.last_token.type,[d.START_BLOCK,d.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(t),this.indent(),_||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},P.prototype.handle_end_block=function(t){for(this.handle_whitespace_and_comments(t);this._flags.mode===v;)this.restore_mode();var e=this._flags.last_token.type===d.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:"expand"===this._options.brace_style?e||this.print_newline():e||(D(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)},P.prototype.handle_word=function(t){if(t.type===d.RESERVED)if(g(t.text,["set","get"])&&this._flags.mode!==E)t.type=d.WORD;else if("import"===t.text&&g(this._tokens.peek().text,["(","."]))t.type=d.WORD;else if(g(t.text,["as","from"])&&!this._flags.import_block)t.type=d.WORD;else if(this._flags.mode===E){":"===this._tokens.peek().text&&(t.type=d.WORD)}if(this.start_of_statement(t)?m(this._flags.last_token,["var","let","const"])&&t.type===d.WORD&&(this._flags.declaration_statement=!0):!t.newlines||N(this._flags.mode)||this._flags.last_token.type===d.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===d.EQUALS||!this._options.preserve_newlines&&m(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(t):(this.handle_whitespace_and_comments(t),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(c(t,"while"))return this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&c(t,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===v;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&m(t,["case","default"]))return this.print_newline(),this._flags.case_block||!this._flags.case_body&&!this._options.jslint_happy||this.deindent(),this._flags.case_body=!1,this.print_token(t),void(this._flags.in_case=!0);if(this._flags.last_token.type!==d.COMMA&&this._flags.last_token.type!==d.START_EXPR&&this._flags.last_token.type!==d.EQUALS&&this._flags.last_token.type!==d.OPERATOR||this.start_of_object_property()||g(this._flags.last_token.text,["+","-"])&&":"===this._last_last_text&&this._flags.parent.mode===E||this.allow_wrap_or_preserved_newline(t),c(t,"function"))return(g(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!g(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==d.OPERATOR)&&(this._output.just_added_blankline()||t.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===d.RESERVED||this._flags.last_token.type===d.WORD?m(this._flags.last_token,["get","set","new","export"])||m(this._flags.last_token,C)||c(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===d.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!N(this._flags.mode)&&!D(this._flags.mode))&&this.print_newline(),this.print_token(t),void(this._flags.last_word=t.text);var e="NONE";(this._flags.last_token.type===d.END_BLOCK?this._previous_flags.inline_frame?e="SPACE":m(t,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines?e="NEWLINE":(e="SPACE",this._output.space_before_token=!0):e="NEWLINE":this._flags.last_token.type===d.SEMICOLON&&this._flags.mode===b?e="NEWLINE":this._flags.last_token.type===d.SEMICOLON&&N(this._flags.mode)?e="SPACE":this._flags.last_token.type===d.STRING?e="NEWLINE":this._flags.last_token.type===d.RESERVED||this._flags.last_token.type===d.WORD||"*"===this._flags.last_token.text&&(g(this._last_last_text,["function","yield"])||this._flags.mode===E&&g(this._last_last_text,["{",","]))?e="SPACE":this._flags.last_token.type===d.START_BLOCK?e=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===d.END_EXPR&&(this._output.space_before_token=!0,e="NEWLINE"),m(t,f)&&")"!==this._flags.last_token.text&&(e=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),m(t,["else","catch","finally"]))?(this._flags.last_token.type!==d.END_BLOCK||this._previous_flags.mode!==b||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this.print_newline():(this._output.trim(!0),"}"!==this._output.current_line.last()&&this.print_newline(),this._output.space_before_token=!0):"NEWLINE"===e?m(this._flags.last_token,w)||"declare"===this._flags.last_token.text&&m(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==d.END_EXPR?this._flags.last_token.type===d.START_EXPR&&m(t,["var","let","const"])||":"===this._flags.last_token.text||(c(t,"if")&&c(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):m(t,f)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&D(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===e&&(this._output.space_before_token=!0);!t.previous||t.previous.type!==d.WORD&&t.previous.type!==d.RESERVED||(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===d.RESERVED&&("do"===t.text?this._flags.do_block=!0:"if"===t.text?this._flags.if_block=!0:"import"===t.text?this._flags.import_block=!0:this._flags.import_block&&c(t,"from")&&(this._flags.import_block=!1))},P.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);for(var e=this._tokens.peek();!(this._flags.mode!==v||this._flags.if_block&&c(e,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)},P.prototype.handle_string=function(t){(!t.text.startsWith("`")||0!==t.newlines||""!==t.whitespace_before||")"!==t.previous.text&&this._flags.last_token.type!==d.WORD)&&(this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===d.RESERVED||this._flags.last_token.type===d.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===d.COMMA||this._flags.last_token.type===d.START_EXPR||this._flags.last_token.type===d.EQUALS||this._flags.last_token.type===d.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):!t.text.startsWith("`")||this._flags.last_token.type!==d.END_EXPR||"]"!==t.previous.text&&")"!==t.previous.text||0!==t.newlines?this.print_newline():this._output.space_before_token=!0)),this.print_token(t)},P.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0},P.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(N(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):this._flags.mode===E||this._flags.mode===v&&this._flags.parent.mode===E?(this._flags.mode===v&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)},P.prototype.handle_operator=function(t){var e="*"===t.text&&(m(this._flags.last_token,["function","yield"])||g(this._flags.last_token.type,[d.START_BLOCK,d.COMMA,d.END_BLOCK,d.SEMICOLON])),s=g(t.text,["-","+"])&&(g(this._flags.last_token.type,[d.START_BLOCK,d.START_EXPR,d.EQUALS,d.OPERATOR])||g(this._flags.last_token.text,f)||","===this._flags.last_token.text);if(this.start_of_statement(t));else{var _=!e;this.handle_whitespace_and_comments(t,_)}if("*"!==t.text||this._flags.last_token.type!==d.DOT)if("::"!==t.text)if(g(t.text,["-","+"])&&this.start_of_object_property())this.print_token(t);else{if(this._flags.last_token.type===d.OPERATOR&&g(this._options.operator_position,x)&&this.allow_wrap_or_preserved_newline(t),":"===t.text&&this._flags.in_case)return this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==d.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0));var i=!0,n=!0,o=!1;if(":"===t.text?0===this._flags.ternary_depth?i=!1:(this._flags.ternary_depth-=1,o=!0):"?"===t.text&&(this._flags.ternary_depth+=1),!s&&!e&&this._options.preserve_newlines&&g(t.text,u)){var a=":"===t.text,l=a&&o,h=a&&!o;switch(this._options.operator_position){case y.before_newline:return this._output.space_before_token=!h,this.print_token(t),a&&!l||this.allow_wrap_or_preserved_newline(t),void(this._output.space_before_token=!0);case y.after_newline:return this._output.space_before_token=!0,!a||l?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),void(this._output.space_before_token=!0);case y.preserve_newline:return h||this.allow_wrap_or_preserved_newline(t),i=!(this._output.just_added_newline()||h),this._output.space_before_token=i,this.print_token(t),void(this._output.space_before_token=!0)}}if(e){this.allow_wrap_or_preserved_newline(t),i=!1;var r=this._tokens.peek();n=r&&g(r.type,[d.WORD,d.RESERVED])}else if("..."===t.text)this.allow_wrap_or_preserved_newline(t),i=this._flags.last_token.type===d.START_BLOCK,n=!1;else if(g(t.text,["--","++","!","~"])||s){if(this._flags.last_token.type!==d.COMMA&&this._flags.last_token.type!==d.START_EXPR||this.allow_wrap_or_preserved_newline(t),i=!1,n=!1,t.newlines&&("--"===t.text||"++"===t.text||"~"===t.text)){var p=m(this._flags.last_token,w)&&t.newlines;p&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(p,!0)}";"===this._flags.last_token.text&&N(this._flags.mode)&&(i=!0),this._flags.last_token.type===d.RESERVED?i=!0:this._flags.last_token.type===d.END_EXPR?i=!("]"===this._flags.last_token.text&&("--"===t.text||"++"===t.text)):this._flags.last_token.type===d.OPERATOR&&(i=g(t.text,["--","-","++","+"])&&g(this._flags.last_token.text,["--","-","++","+"]),g(t.text,["+","-"])&&g(this._flags.last_token.text,["--","++"])&&(n=!0)),(this._flags.mode!==b||this._flags.inline_frame)&&this._flags.mode!==v||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline()}this._output.space_before_token=this._output.space_before_token||i,this.print_token(t),this._output.space_before_token=n}else this.print_token(t);else this.print_token(t)},P.prototype.handle_block_comment=function(t,e){return this._output.raw?(this._output.add_raw_token(t),void(t.directives&&"end"===t.directives.preserve&&(this._output.raw=this._options.test_output_raw))):t.directives?(this.print_newline(!1,e),this.print_token(t),"start"===t.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):h.newline.test(t.text)||t.newlines?void this.print_block_commment(t,e):(this._output.space_before_token=!0,this.print_token(t),void(this._output.space_before_token=!0))},P.prototype.print_block_commment=function(t,e){var s,_=function(t){for(var e=[],s=(t=t.replace(h.allLineBreaks,"\n")).indexOf("\n");-1!==s;)e.push(t.substring(0,s)),s=(t=t.substring(s+1)).indexOf("\n");return t.length&&e.push(t),e}(t.text),i=!1,n=!1,o=t.whitespace_before,a=o.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(_[0]),this.print_newline(!1,e),_.length>1){for(i=function(t,e){for(var s=0;s<t.length;s++)if(t[s].trim().charAt(0)!==e)return!1;return!0}(_=_.slice(1),"*"),n=function(t,e){for(var s,_=0,i=t.length;_<i;_++)if((s=t[_])&&0!==s.indexOf(e))return!1;return!0}(_,o),i&&(this._flags.alignment=1),s=0;s<_.length;s++)i?(this.print_token_line_indentation(t),this._output.add_token(k(_[s]))):n&&_[s]?(this.print_token_line_indentation(t),this._output.add_token(_[s].substring(a))):(this._output.current_line.set_indent(-1),this._output.add_token(_[s])),this.print_newline(!1,e);this._flags.alignment=0}},P.prototype.handle_comment=function(t,e){t.newlines?this.print_newline(!1,e):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(t),this.print_newline(!1,e)},P.prototype.handle_dot=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),m(this._flags.last_token,w)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(t,")"===this._flags.last_token.text&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(t)},P.prototype.handle_unknown=function(t,e){this.print_token(t),"\n"===t.text[t.text.length-1]&&this.print_newline(!1,e)},P.prototype.handle_eof=function(t){for(;this._flags.mode===v;)this.restore_mode();this.handle_whitespace_and_comments(t)},t.Beautifier=P,t}export{a as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__module as r}from"../../../../../_virtual/
|
|
1
|
+
import{__module as r}from"../../../../../_virtual/index11.js";import{__require as e}from"./beautifier.js";import{__require as t}from"./options.js";var i;function o(){if(i)return r.exports;i=1;var o=e().Beautifier,n=t().Options;return r.exports=function(r,e){return new o(r,e).beautify()},r.exports.defaultOptions=function(){return new n},r.exports}export{o as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__exports as e}from"../../../../../_virtual/
|
|
1
|
+
import{__exports as e}from"../../../../../_virtual/options3.js";import{__require as t}from"../core/options.js";var n;function i(){if(n)return e;n=1;var i=t().Options,_=["before-newline","after-newline","preserve-newline"];function s(e){i.call(this,e,"js");var t=this.raw_options.brace_style||null;"expand-strict"===t?this.raw_options.brace_style="expand":"collapse-preserve-inline"===t?this.raw_options.brace_style="collapse,preserve-inline":void 0!==this.raw_options.braces_on_own_line&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var s=0;s<n.length;s++)"preserve-inline"===n[s]?this.brace_preserve_inline=!0:this.brace_style=n[s];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",_),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return s.prototype=new i,e.Options=s,e}export{i as __require};
|
package/lib/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/index.ts","../src/componentprops/treenodeprops.ts","../src/styleguide/colorpalette/colorpalette.tsx","../src/styleguide/colorpalette/colorpalettelist.ts","../src/styleguide/colorpalette/index.ts","../src/styleguide/colorpalette/types.ts","../src/styleguide/typography/typography.tsx","../src/styleguide/typography/typographylist.ts","../src/styleguide/typography/types.ts","../src/thirdpartypackages/adapter.ts","../src/thirdpartypackages/janusgateway.ts","../src/assets/utils/functionutils.ts","../src/components/accordion/accordion.tsx","../src/components/accordion/index.ts","../src/components/accordion/types.ts","../src/components/addcontentbutton/addcontentbutton.tsx","../src/components/addcontentbutton/index.ts","../src/components/addcontentbutton/types.ts","../src/components/addresourcebutton/addresourcebutton.tsx","../src/components/addresourcebutton/index.ts","../src/components/addresourcebutton/type.ts","../src/components/addresourcebutton/arrowsbutton/arrowsbutton.tsx","../src/components/aitoggle/aitoggle.tsx","../src/components/aitoggle/index.ts","../src/components/aitoggle/types.ts","../src/components/allprojectsdropdown/allprojectsdropdown.tsx","../src/components/allprojectsdropdown/index.ts","../src/components/allprojectsdropdown/types.ts","../src/components/animatedsetting/animatedsetting.tsx","../src/components/animatedsetting/index.ts","../src/components/animatedsetting/type.ts","../src/components/appheader/appheader.tsx","../src/components/appheader/index.ts","../src/components/appheader/types.ts","../src/components/attachmedia/attachmedia.tsx","../src/components/attachmedia/index.ts","../src/components/attachmedia/types.ts","../src/components/attachmentbutton/attachmentbutton.tsx","../src/components/attachmentbutton/index.ts","../src/components/attachmentbutton/types.ts","../src/components/autotruncatetext/autotruncatetext.tsx","../src/components/autotruncatetext/index.ts","../src/components/autotruncatetext/resizeobserverservice.ts","../src/components/autotruncatetext/types.ts","../src/components/autotruncatetext/useresizesignal.ts","../src/components/avatar/avatar.tsx","../src/components/avatar/index.ts","../src/components/avatar/types.ts","../src/components/box/box.tsx","../src/components/box/index.ts","../src/components/box/types.ts","../src/components/browsertabs/browsertabs.tsx","../src/components/browsertabs/index.ts","../src/components/browsertabs/types.ts","../src/components/button/button.tsx","../src/components/button/index.ts","../src/components/button/types.ts","../src/components/carousel/carousel.tsx","../src/components/carousel/index.ts","../src/components/carousel/type.ts","../src/components/charts/barchart/barchart.tsx","../src/components/charts/barchart/index.ts","../src/components/charts/barchart/types.ts","../src/components/charts/dashboarddonutchart/dashboarddonutchart.tsx","../src/components/charts/dashboarddonutchart/index.ts","../src/components/charts/dashboarddonutchart/types.ts","../src/components/charts/donutchart/donutchart.tsx","../src/components/charts/donutchart/index.ts","../src/components/charts/donutchart/type.ts","../src/components/charts/iconradialchart/iconradialchart.tsx","../src/components/charts/iconradialchart/index.ts","../src/components/charts/iconradialchart/types.ts","../src/components/charts/linechart/linechart.tsx","../src/components/charts/linechart/index.ts","../src/components/charts/linechart/types.ts","../src/components/charts/multiradialchart/multiradialchart.tsx","../src/components/charts/multiradialchart/index.ts","../src/components/charts/multiradialchart/types.ts","../src/components/charts/piechart/piechart.tsx","../src/components/charts/piechart/index.ts","../src/components/charts/piechart/types.ts","../src/components/charts/radialchart/radialchart.tsx","../src/components/charts/radialchart/index.ts","../src/components/charts/radialchart/types.ts","../src/components/chatmodal/chatmodal.tsx","../src/components/chatmodal/index.ts","../src/components/chatmodal/types.ts","../src/components/chatmodalai/chatmodalai.tsx","../src/components/chatmodalai/index.ts","../src/components/chatmodalai/types.ts","../src/components/checkbox/checkbox.tsx","../src/components/checkbox/index.ts","../src/components/checkbox/types.ts","../src/components/chip/chip.tsx","../src/components/chip/index.ts","../src/components/chip/types.ts","../src/components/chipwithcount/chipwithcount.tsx","../src/components/chipwithcount/index.ts","../src/components/chipwithcount/types.ts","../src/components/choosefile/choosefile.tsx","../src/components/choosefile/types.ts","../src/components/comments/comments.tsx","../src/components/comments/commentcommonutils.ts","../src/components/comments/index.ts","../src/components/comments/type.ts","../src/components/comments/childcomment/childcomment.tsx","../src/components/comments/childcomment/usenode.ts","../src/components/comments/mentionuser/mentionuser.tsx","../src/components/conditionaldropdown/conditionaldropdown.tsx","../src/components/conditionaldropdown/optionsdropdown.tsx","../src/components/conditionaldropdown/index.ts","../src/components/conditionaldropdown/types.ts","../src/components/connectingbranch/connectingbranch.tsx","../src/components/connectingbranch/data.ts","../src/components/connectingbranch/index.ts","../src/components/connectingbranch/types.ts","../src/components/connectingbranch/branchcomponents/machineinstances.tsx","../src/components/contentcard/contentcard.tsx","../src/components/contentcard/index.ts","../src/components/contentcard/types.ts","../src/components/createvariable/createvariableslider.tsx","../src/components/createvariable/index.ts","../src/components/createvariable/types.ts","../src/components/datepicker/datepicker.tsx","../src/components/datepicker/timepicker.tsx","../src/components/datepicker/index.ts","../src/components/datepicker/types.ts","../src/components/debugtoolspanel/debugtoolspanel.tsx","../src/components/debugtoolspanel/index.ts","../src/components/debugtoolspanel/type.ts","../src/components/downloadclient/downloadclient.tsx","../src/components/downloadclient/index.ts","../src/components/downloadclient/type.ts","../src/components/draganddrop/draganddrop.ts","../src/components/draganddrop/draganddroplist.tsx","../src/components/draganddrop/index.ts","../src/components/drawer/drawer.tsx","../src/components/drawer/types.ts","../src/components/drawer/index.ts","../src/components/editlabel/editlabel.tsx","../src/components/editlabel/index.ts","../src/components/editlabel/types.ts","../src/components/edittextfield/edittextfield.tsx","../src/components/edittextfield/index.ts","../src/components/edittextfield/types.ts","../src/components/editor/dynamicwidthtooltip.tsx","../src/components/editor/editor.tsx","../src/components/editor/variabledropdown.tsx","../src/components/editor/calculatedropdownposition.ts","../src/components/editor/constants.ts","../src/components/editor/index.ts","../src/components/editor/types.ts","../src/components/errorboundary/errorboundary.tsx","../src/components/errorboundary/errorboundary.types.ts","../src/components/excel/data.ts","../src/components/excel/data2.ts","../src/components/excel/types.ts","../src/components/excel/dataconversion.ts","../src/components/excel/index.ts","../src/components/excel/colorbarselector/colorbarselector.tsx","../src/components/excel/excelcontextmenu/excelcontextmenu.tsx","../src/components/excel/excelfile/excelfile.tsx","../src/components/excel/excelfile/excelfilecomponents/activecell.tsx","../src/components/excel/excelfile/excelfilecomponents/cell.tsx","../src/components/excel/excelfile/excelfilecomponents/columnindicator.tsx","../src/components/excel/excelfile/excelfilecomponents/copied.tsx","../src/components/excel/excelfile/excelfilecomponents/cornerindicator.tsx","../src/components/excel/excelfile/excelfilecomponents/dataeditor.tsx","../src/components/excel/excelfile/excelfilecomponents/dataviewer.tsx","../src/components/excel/excelfile/excelfilecomponents/editablecell.tsx","../src/components/excel/excelfile/excelfilecomponents/floatingrect.tsx","../src/components/excel/excelfile/excelfilecomponents/headerrow.tsx","../src/components/excel/excelfile/excelfilecomponents/row.tsx","../src/components/excel/excelfile/excelfilecomponents/rowindicator.tsx","../src/components/excel/excelfile/excelfilecomponents/selected.tsx","../src/components/excel/excelfile/excelfilecomponents/spreadsheet.tsx","../src/components/excel/excelfile/excelfilecomponents/table.tsx","../src/components/excel/excelfile/excelfilecomponents/actions.ts","../src/components/excel/excelfile/excelfilecomponents/aremodelsequal.ts","../src/components/excel/excelfile/excelfilecomponents/context.ts","../src/components/excel/excelfile/excelfilecomponents/index.ts","../src/components/excel/excelfile/excelfilecomponents/matrix.ts","../src/components/excel/excelfile/excelfilecomponents/point-range.ts","../src/components/excel/excelfile/excelfilecomponents/point.ts","../src/components/excel/excelfile/excelfilecomponents/reducer.ts","../src/components/excel/excelfile/excelfilecomponents/reducerfunctions.ts","../src/components/excel/excelfile/excelfilecomponents/selection.ts","../src/components/excel/excelfile/excelfilecomponents/types.ts","../src/components/excel/excelfile/excelfilecomponents/use-dispatch.ts","../src/components/excel/excelfile/excelfilecomponents/use-selector.ts","../src/components/excel/excelfile/excelfilecomponents/util.ts","../src/components/excel/excelfile/excelfilecomponents/engine/engine.ts","../src/components/excel/excelfile/excelfilecomponents/engine/formula.ts","../src/components/excel/excelfile/excelfilecomponents/engine/index.ts","../src/components/excel/excelfile/excelfilecomponents/engine/point-graph.ts","../src/components/excel/excelfile/excelfilecomponents/engine/point-hash.ts","../src/components/excel/excelfile/excelfilecomponents/engine/point-set.ts","../src/components/excel/excelfile/excelfilecomponents/typings/fast-formula-parser.d.ts","../src/components/excel/exceltoolbar/exceltoolbar.tsx","../src/components/expandablemenu/expandablemenu.tsx","../src/components/expandablemenu/index.ts","../src/components/expandablemenu/types.ts","../src/components/expandabletable/expandabletable.tsx","../src/components/ff_captcha/recaptcha.tsx","../src/components/ff_captcha/index.ts","../src/components/ff_captcha/types.ts","../src/components/fieldset/fieldset.tsx","../src/components/fieldset/index.ts","../src/components/fieldset/types.ts","../src/components/filedropzone/dropzone.tsx","../src/components/filedropzone/filedropzone.tsx","../src/components/filedropzone/filepreview.tsx","../src/components/filedropzone/radiofilepreview.tsx","../src/components/filedropzone/index.ts","../src/components/filedropzone/types.ts","../src/components/form/form.ts","../src/components/form/forms.tsx","../src/components/form/index.ts","../src/components/form/types.ts","../src/components/gridlayout/gridlayout.tsx","../src/components/gridlayout/index.ts","../src/components/gridlayout/types.ts","../src/components/highlighttext/highlighttext.tsx","../src/components/highlighttext/index.ts","../src/components/highlighttext/types.ts","../src/components/historycard/historycard.tsx","../src/components/historycard/index.ts","../src/components/icon/icon.tsx","../src/components/icon/iconlist.ts","../src/components/icon/index.ts","../src/components/icon/types.ts","../src/components/iconbutton/iconbutton.tsx","../src/components/iconbutton/index.ts","../src/components/iconbutton/types.ts","../src/components/iconradiogroup/iconradiogroup.tsx","../src/components/iconradiogroup/index.ts","../src/components/iconradiogroup/type.ts","../src/components/input/input.tsx","../src/components/input/index.ts","../src/components/input/types.ts","../src/components/inputwithdropdown/inputwithdropdown.tsx","../src/components/inputwithdropdown/index.ts","../src/components/inputwithdropdown/types.ts","../src/components/labeledittextfield/labeledittextfield.tsx","../src/components/labeledittextfield/index.ts","../src/components/labeledittextfield/types.ts","../src/components/lazyload/lazyload.ts","../src/components/lazyload/lazyloading.tsx","../src/components/lazyload/index.ts","../src/components/lineloader/lineloader.tsx","../src/components/lineloader/index.ts","../src/components/lineloader/types.ts","../src/components/link/link.tsx","../src/components/link/index.ts","../src/components/link/types.ts","../src/components/machineinputfield/machineinputfield.tsx","../src/components/machineinputfield/index.ts","../src/components/machineinputfield/types.ts","../src/components/mediapreview/mediapreview.tsx","../src/components/mediapreview/index.ts","../src/components/mediapreview/types.ts","../src/components/mediaviewermodal/mediaviewermodal.tsx","../src/components/mediaviewermodal/index.ts","../src/components/mediaviewermodal/type.ts","../src/components/menuoption/menuoption.tsx","../src/components/menuoption/index.ts","../src/components/menuoption/types.ts","../src/components/messagebox/messagebox.tsx","../src/components/messagebox/index.ts","../src/components/messagebox/types.ts","../src/components/minimodal/minimodal.tsx","../src/components/minimodal/index.ts","../src/components/minimodal/types.ts","../src/components/mobileskin/mobileskin.tsx","../src/components/mobileskin/mobileskininterface.ts","../src/components/mobileskin/index.ts","../src/components/mobileskin/types.ts","../src/components/modal/modal.tsx","../src/components/modal/index.tsx","../src/components/modal/types.ts","../src/components/moduleschip/modulechip.tsx","../src/components/moduleschip/index.ts","../src/components/moduleschip/types.ts","../src/components/multiselect/dropdown.tsx","../src/components/multiselect/multiselect.tsx","../src/components/multiselect/multiselecttypes.ts","../src/components/multiselect/dropdowntypes.ts","../src/components/multiselect/index.ts","../src/components/nlpinput/nlpinput.tsx","../src/components/nlpinput/index.ts","../src/components/nlpinput/sampledata.ts","../src/components/nlpinput/types.tsx","../src/components/nlpinput/components/chipsfolder/chipsaccordion.tsx","../src/components/nlpinput/components/nlpdropdown/nlpdropdowntype.ts","../src/components/nlpinput/components/nlpdropdown/nlpdropdown.tsx","../src/components/nodatacontent/nodatacontent.tsx","../src/components/nodatacontent/index.ts","../src/components/nodatacontent/type.ts","../src/components/ostree/ostree.tsx","../src/components/ostree/index.ts","../src/components/ostree/type.ts","../src/components/otpverification/otpverification.tsx","../src/components/otpverification/index.ts","../src/components/otpverification/type.ts","../src/components/overviewmodal/index.ts","../src/components/overviewmodal/overviewmodal.tsx","../src/components/overviewmodal/types.ts","../src/components/paper/paper.tsx","../src/components/paper/index.ts","../src/components/paper/types.ts","../src/components/phoneinput/phoneinput.tsx","../src/components/phoneinput/index.ts","../src/components/phoneinput/types.ts","../src/components/popupmodal/popupmodal.tsx","../src/components/popupmodal/types.ts","../src/components/preposttable/preposttable.tsx","../src/components/preposttable/types.ts","../src/components/preposttable/index.ts","../src/components/preposttable/components/draggabletablerow.tsx","../src/components/preposttable/components/prepoststepaccordions.tsx","../src/components/preposttable/components/stepgroupdetailview.tsx","../src/components/progressbar/progressbar.tsx","../src/components/progressbar/index.ts","../src/components/progressbar/types.ts","../src/components/prompt/prompt.tsx","../src/components/prompt/index.ts","../src/components/prompt/types.ts","../src/components/promptcontainer/promptcontainer.tsx","../src/components/promptcontainer/index.ts","../src/components/promptcontainer/types.ts","../src/components/radiobutton/radiobutton.tsx","../src/components/radiobutton/index.ts","../src/components/radiobutton/radiobuttontypes.tsx","../src/components/radiogroup/radiogroup.tsx","../src/components/radiogroup/index.ts","../src/components/radiogroup/radiogrouptypes.tsx","../src/components/scriptgenerationloader/scriptgenerationloader.tsx","../src/components/scriptgenerationloader/index.ts","../src/components/scriptgenerationloader/types.ts","../src/components/scriptswitchbutton/scriptswitchbutton.tsx","../src/components/scriptswitchbutton/index.ts","../src/components/search/search.tsx","../src/components/search/index.ts","../src/components/search/types.ts","../src/components/select/select.tsx","../src/components/select/index.ts","../src/components/select/types.ts","../src/components/select/components/dropdown.tsx","../src/components/select/components/types.ts","../src/components/selectionswitcher/selectionswitcher.tsx","../src/components/selectionswitcher/index.ts","../src/components/selectionswitcher/types.ts","../src/components/sequentialconnectingbranch/sequentialconnectingbranch.tsx","../src/components/sequentialconnectingbranch/index.ts","../src/components/sequentialconnectingbranch/types.ts","../src/components/sequentialconnectingbranch/components/branches/branches.tsx","../src/components/sequentialconnectingbranch/components/branches/types.ts","../src/components/sequentialconnectingbranch/components/connectingbranches/connectingbranches.tsx","../src/components/sequentialconnectingbranch/components/connectingbranches/types.ts","../src/components/sequentialconnectingbranch/components/datasettooltip/datasettooltip.tsx","../src/components/sequentialconnectingbranch/components/datasettooltip/types.ts","../src/components/sequentialconnectingbranch/context/environmentvariablemapscontext.ts","../src/components/sessiondropdown/sessiondropdown.tsx","../src/components/sessiondropdown/index.ts","../src/components/sessiondropdown/type.ts","../src/components/sessionmanager/sessionmanager.tsx","../src/components/sessionmanager/index.ts","../src/components/sessionmanager/types.ts","../src/components/statedropdown/statedropdown.tsx","../src/components/statedropdown/statedropdowntypes.tsx","../src/components/statedropdown/index.ts","../src/components/statusbadge/statusbadge.tsx","../src/components/statusbadge/index.ts","../src/components/statusbutton/statusbutton.tsx","../src/components/statusbutton/index.ts","../src/components/statusbutton/types.ts","../src/components/statuscard/statuscard.tsx","../src/components/statuscard/index.ts","../src/components/statuscard/types.ts","../src/components/statusindicator/statusindicator.tsx","../src/components/statusindicator/index.ts","../src/components/statusindicator/types.ts","../src/components/stepslandingtable/steplandingtable.tsx","../src/components/stepslandingtable/constant.tsx","../src/components/stepslandingtable/index.ts","../src/components/stepslandingtable/types.ts","../src/components/stepslandingtable/components/editcomponent.tsx","../src/components/stepslandingtable/components/rendernlpinput.tsx","../src/components/stepslandingtable/components/stepgroupaccordions.tsx","../src/components/stepslandingtable/components/stepinnertable.tsx","../src/components/stepslandingtable/components/stepresultstats.tsx","../src/components/stepslandingtable/components/steptablemainrow.tsx","../src/components/stepslandingtable/components/stepstitle.tsx","../src/components/stepslandingtable/components/types.ts","../src/components/stepslandingtable/components/handlestepcheckbox.ts","../src/components/stepslandingtable/components/index.ts","../src/components/storageusagebar/storageusagebar.tsx","../src/components/storageusagebar/index.ts","../src/components/storageusagebar/types.ts","../src/components/switchbutton/switchbutton.tsx","../src/components/switchbutton/index.ts","../src/components/switchbutton/types.ts","../src/components/table/editcomponent.tsx","../src/components/table/nodatacontent.tsx","../src/components/table/table.tsx","../src/components/table/types.ts","../src/components/table/index.ts","../src/components/table/components/sortablerow.tsx","../src/components/table/components/tableheader.tsx","../src/components/table/components/virtualizedrows.tsx","../src/components/table/utils/constants.ts","../src/components/table/utils/virtualization.ts","../src/components/tabletree/tabletree.tsx","../src/components/tabletree/data.ts","../src/components/tabletree/index.ts","../src/components/tabletree/types.ts","../src/components/tabletree/components/tablebody.tsx","../src/components/tabletree/components/tablecell.tsx","../src/components/tabletree/components/tablehead.tsx","../src/components/tabletree/components/tablerow.tsx","../src/components/tabletree/utils/addlastchild.ts","../src/components/tabletree/utils/addnewrow.ts","../src/components/tabletree/utils/formatdatacell.ts","../src/components/tabletree/utils/getallchildids.ts","../src/components/tabletree/utils/renderspaces.ts","../src/components/tabletreefn/tabletreefn.tsx","../src/components/tabletreefn/data.ts","../src/components/tabletreefn/index.ts","../src/components/tabletreefn/types.ts","../src/components/tabletreefn/components/tablebody.tsx","../src/components/tabletreefn/components/tablecell.tsx","../src/components/tabletreefn/components/tablehead.tsx","../src/components/tabletreefn/components/tablerow.tsx","../src/components/tabletreefn/utils/tablecell.ts","../src/components/tabletreefn/utils/addlastchild.ts","../src/components/tabletreefn/utils/addnewrow.ts","../src/components/tabletreefn/utils/formatdatacell.ts","../src/components/tabletreefn/utils/getallchildids.ts","../src/components/tabletreefn/utils/renderspaces.ts","../src/components/tabletreefn/utils/updateparentsibling.ts","../src/components/tablewithaccordion/tablewithaccordion.tsx","../src/components/tablewithaccordion/data.ts","../src/components/tablewithaccordion/index.ts","../src/components/tablewithaccordion/types.ts","../src/components/tabs/tabs.tsx","../src/components/tabs/index.ts","../src/components/tabs/types.ts","../src/components/tabswithsilder/tabswithsilder.tsx","../src/components/tabswithsilder/index.ts","../src/components/tabswithsilder/types.ts","../src/components/textarea/textarea.tsx","../src/components/textarea/types.ts","../src/components/textarea/index.tsx","../src/components/texteditor/texteditor.tsx","../src/components/texteditor/index.ts","../src/components/texteditor/types.ts","../src/components/themeprovider/themeprovider.tsx","../src/components/themeprovider/index.ts","../src/components/themeprovider/types.ts","../src/components/toast/toast.tsx","../src/components/toast/index.ts","../src/components/toast/types.ts","../src/components/toastify/toastify.tsx","../src/components/toastify/index.ts","../src/components/toastify/types.ts","../src/components/toggle/toggle.tsx","../src/components/toggle/index.ts","../src/components/toggle/types.ts","../src/components/toggleswitch/toggleswitch.tsx","../src/components/toggleswitch/index.ts","../src/components/tooltip/tooltip.tsx","../src/components/tooltip/index.ts","../src/components/tooltip/types.ts","../src/components/tooltipservice/tooltipservice.ts","../src/components/tooltipservice/index.ts","../src/components/truncatedtooltip/truncatedtooltip.tsx","../src/components/truncatedtooltip/index.ts","../src/components/typography/typography.tsx","../src/components/typography/index.ts","../src/components/typography/types.ts","../src/components/variableinput/variableinput.tsx","../src/components/variableinput/index.ts","../src/components/variableinput/types.ts","../src/components/zoomcontrol/zoomcontrol.tsx","../src/components/zoomcontrol/index.ts","../src/components/zoomcontrol/types.ts","../src/components/variablesuggestioninputdropdown/optionsdropdown.tsx","../src/components/variablesuggestioninputdropdown/variablesuggestioninputdropdown.tsx","../src/components/variablesuggestioninputdropdown/index.ts","../src/components/variablesuggestioninputdropdown/types.ts","../src/hooks/useclickoutside.tsx","../src/hooks/usefiledropzone.tsx","../src/hooks/useintersectionobserver.tsx","../src/hooks/usemergerefs.tsx","../src/hooks/useportalposition.tsx","../src/hooks/usetheme.tsx","../src/hooks/usetriggercontrol.tsx","../src/hooks/keyboardevents/useesckeyevent.tsx","../src/utils/convertocamelcase.ts","../src/utils/addstepgroup/addstepgroup.ts","../src/utils/appendnewrow/appendnewrow.ts","../src/utils/copytoclipboard/copytoclipboard.ts","../src/utils/formatstring/formatstring.tsx","../src/utils/scrolltoview/scrolltoview.tsx","../src/utils/tablecell/tablecell.ts","../src/utils/treenavigateutils/getnavigatetokey.ts","../src/utils/treenavigateutils/types.ts","../src/utils/autoscrolltotablelastrow/autoscrolltotablelastrow.ts","../src/utils/capitalize/capitalize.tsx","../src/utils/checkduplicates/checkduplicates.ts","../src/utils/checkempty/checkempty.ts","../src/utils/checkmicrophoneaccess/checkmicrophoneaccess.ts","../src/utils/comparearrays/comparearrays.ts","../src/utils/compareobjects/compareobjects.ts","../src/utils/converttobytes/converttobytes.ts","../src/utils/converttogb/converttogb.ts","../src/utils/converttoiso/converttoiso.ts","../src/utils/converttokb/converttokb.ts","../src/utils/converttomb/converttomb.ts","../src/utils/converttotb/converttotb.ts","../src/utils/dateformatter/dateformatutils.ts","../src/utils/debounce/debounce.ts","../src/utils/downloadfile/savefilefromblob.ts","../src/utils/ffid/ffid.ts","../src/utils/findandinsert/findandinsert.ts","../src/utils/formdata/convertformdatatoobject.ts","../src/utils/formatdate/formatdate.ts","../src/utils/functioncheck/functioncheck.ts","../src/utils/getanchorelement/getanchorelement.ts","../src/utils/getencrypteddata/getencrypteddata.ts","../src/utils/getextension/getextension.ts","../src/utils/getselectoptionvalue/getselectoptionvalue.ts","../src/utils/getsequentialpayload/getsequentialpayload.ts","../src/utils/getsequentialpayload/types.ts","../src/utils/getstatuscolor/getstatuscolor.ts","../src/utils/gettopvisiblenodekey/gettopvisiblenodekey.ts","../src/utils/gettreedetails/gettreedetails.ts","../src/utils/handlebeforeunload/usebeforeunload.tsx","../src/utils/handletreeexpandallcollapseall/handletreeexpandallcollapseall.ts","../src/utils/handletreenodeexpandcollapse/handletreenodeexpandcollapse.ts","../src/utils/handletreenodeselect/handletreenodeselect.ts","../src/utils/handleuncheckalltreenodeswithupdates/handleuncheckalltreenodeswithupdates.ts","../src/utils/indexdbstore/indexdb copy.ts","../src/utils/indexdbstore/indexdb.ts","../src/utils/isemptyobject/isemptyobject.ts","../src/utils/keyboardactionutil/usekeyboardactions.tsx","../src/utils/keyboardactionutil/types.ts","../src/utils/nlpinputdelay/nlpinputdelay.ts","../src/utils/swaparrayitem/draganddroputils.ts","../src/utils/throttle/throttle.ts","../src/utils/timezonechange/handletimezonechange.ts","../src/utils/tocamelcase/tocamelcase.ts","../src/utils/totitlecase/totitlecase.ts","../src/utils/toggleshowhideentity/toggleshowhideentity.ts","../src/utils/truncatetext/truncatetext.ts","../src/utils/usedevicetype/usedevicetype.ts","../src/utils/validatefile/validatefile.ts","../src/validations/regex.ts","../globals.d.ts"],"version":"5.9.3"}
|
|
1
|
+
{"root":["../src/index.ts","../src/componentprops/treenodeprops.ts","../src/styleguide/colorpalette/colorpalette.tsx","../src/styleguide/colorpalette/colorpalettelist.ts","../src/styleguide/colorpalette/index.ts","../src/styleguide/colorpalette/types.ts","../src/styleguide/typography/typography.tsx","../src/styleguide/typography/typographylist.ts","../src/styleguide/typography/types.ts","../src/thirdpartypackages/adapter.ts","../src/thirdpartypackages/janusgateway.ts","../src/assets/utils/functionutils.ts","../src/components/accordion/accordion.tsx","../src/components/accordion/index.ts","../src/components/accordion/types.ts","../src/components/addcontentbutton/addcontentbutton.tsx","../src/components/addcontentbutton/index.ts","../src/components/addcontentbutton/types.ts","../src/components/addresourcebutton/addresourcebutton.tsx","../src/components/addresourcebutton/index.ts","../src/components/addresourcebutton/type.ts","../src/components/addresourcebutton/arrowsbutton/arrowsbutton.tsx","../src/components/aitoggle/aitoggle.tsx","../src/components/aitoggle/index.ts","../src/components/aitoggle/types.ts","../src/components/allprojectsdropdown/allprojectsdropdown.tsx","../src/components/allprojectsdropdown/index.ts","../src/components/allprojectsdropdown/types.ts","../src/components/animatedsetting/animatedsetting.tsx","../src/components/animatedsetting/index.ts","../src/components/animatedsetting/type.ts","../src/components/appheader/appheader.tsx","../src/components/appheader/index.ts","../src/components/appheader/types.ts","../src/components/attachmedia/attachmedia.tsx","../src/components/attachmedia/index.ts","../src/components/attachmedia/types.ts","../src/components/attachmentbutton/attachmentbutton.tsx","../src/components/attachmentbutton/index.ts","../src/components/attachmentbutton/types.ts","../src/components/autotruncatetext/autotruncatetext.tsx","../src/components/autotruncatetext/index.ts","../src/components/autotruncatetext/resizeobserverservice.ts","../src/components/autotruncatetext/types.ts","../src/components/autotruncatetext/useresizesignal.ts","../src/components/avatar/avatar.tsx","../src/components/avatar/index.ts","../src/components/avatar/types.ts","../src/components/box/box.tsx","../src/components/box/index.ts","../src/components/box/types.ts","../src/components/browsertabs/browsertabs.tsx","../src/components/browsertabs/index.ts","../src/components/browsertabs/types.ts","../src/components/button/button.tsx","../src/components/button/index.ts","../src/components/button/types.ts","../src/components/carousel/carousel.tsx","../src/components/carousel/index.ts","../src/components/carousel/type.ts","../src/components/charts/barchart/barchart.tsx","../src/components/charts/barchart/index.ts","../src/components/charts/barchart/types.ts","../src/components/charts/dashboarddonutchart/dashboarddonutchart.tsx","../src/components/charts/dashboarddonutchart/index.ts","../src/components/charts/dashboarddonutchart/types.ts","../src/components/charts/donutchart/donutchart.tsx","../src/components/charts/donutchart/index.ts","../src/components/charts/donutchart/type.ts","../src/components/charts/iconradialchart/iconradialchart.tsx","../src/components/charts/iconradialchart/index.ts","../src/components/charts/iconradialchart/types.ts","../src/components/charts/linechart/linechart.tsx","../src/components/charts/linechart/index.ts","../src/components/charts/linechart/types.ts","../src/components/charts/multiradialchart/multiradialchart.tsx","../src/components/charts/multiradialchart/index.ts","../src/components/charts/multiradialchart/types.ts","../src/components/charts/piechart/piechart.tsx","../src/components/charts/piechart/index.ts","../src/components/charts/piechart/types.ts","../src/components/charts/radialchart/radialchart.tsx","../src/components/charts/radialchart/index.ts","../src/components/charts/radialchart/types.ts","../src/components/chatmodal/chatmodal.tsx","../src/components/chatmodal/index.ts","../src/components/chatmodal/types.ts","../src/components/chatmodalai/chatmodalai.tsx","../src/components/chatmodalai/index.ts","../src/components/chatmodalai/types.ts","../src/components/checkbox/checkbox.tsx","../src/components/checkbox/index.ts","../src/components/checkbox/types.ts","../src/components/chip/chip.tsx","../src/components/chip/index.ts","../src/components/chip/types.ts","../src/components/chipwithcount/chipwithcount.tsx","../src/components/chipwithcount/index.ts","../src/components/chipwithcount/types.ts","../src/components/choosefile/choosefile.tsx","../src/components/choosefile/types.ts","../src/components/comments/comments.tsx","../src/components/comments/commentcommonutils.ts","../src/components/comments/index.ts","../src/components/comments/type.ts","../src/components/comments/childcomment/childcomment.tsx","../src/components/comments/childcomment/usenode.ts","../src/components/comments/mentionuser/mentionuser.tsx","../src/components/conditionaldropdown/conditionaldropdown.tsx","../src/components/conditionaldropdown/optionsdropdown.tsx","../src/components/conditionaldropdown/index.ts","../src/components/conditionaldropdown/types.ts","../src/components/connectingbranch/connectingbranch.tsx","../src/components/connectingbranch/data.ts","../src/components/connectingbranch/index.ts","../src/components/connectingbranch/types.ts","../src/components/connectingbranch/branchcomponents/machineinstances.tsx","../src/components/contentcard/contentcard.tsx","../src/components/contentcard/index.ts","../src/components/contentcard/types.ts","../src/components/createvariable/createvariableslider.tsx","../src/components/createvariable/index.ts","../src/components/createvariable/types.ts","../src/components/datepicker/datepicker.tsx","../src/components/datepicker/timepicker.tsx","../src/components/datepicker/index.ts","../src/components/datepicker/types.ts","../src/components/debugtoolspanel/debugtoolspanel.tsx","../src/components/debugtoolspanel/index.ts","../src/components/debugtoolspanel/type.ts","../src/components/downloadclient/downloadclient.tsx","../src/components/downloadclient/index.ts","../src/components/downloadclient/type.ts","../src/components/draganddrop/draganddrop.ts","../src/components/draganddrop/draganddroplist.tsx","../src/components/draganddrop/index.ts","../src/components/drawer/drawer.tsx","../src/components/drawer/types.ts","../src/components/drawer/index.ts","../src/components/editlabel/editlabel.tsx","../src/components/editlabel/index.ts","../src/components/editlabel/types.ts","../src/components/edittextfield/edittextfield.tsx","../src/components/edittextfield/index.ts","../src/components/edittextfield/types.ts","../src/components/editor/dynamicwidthtooltip.tsx","../src/components/editor/editor.tsx","../src/components/editor/monacolazy.tsx","../src/components/editor/variabledropdown.tsx","../src/components/editor/calculatedropdownposition.ts","../src/components/editor/constants.ts","../src/components/editor/index.ts","../src/components/editor/types.ts","../src/components/errorboundary/errorboundary.tsx","../src/components/errorboundary/errorboundary.types.ts","../src/components/excel/data.ts","../src/components/excel/data2.ts","../src/components/excel/types.ts","../src/components/excel/dataconversion.ts","../src/components/excel/index.ts","../src/components/excel/colorbarselector/colorbarselector.tsx","../src/components/excel/excelcontextmenu/excelcontextmenu.tsx","../src/components/excel/excelfile/excelfile.tsx","../src/components/excel/excelfile/excelfilecomponents/activecell.tsx","../src/components/excel/excelfile/excelfilecomponents/cell.tsx","../src/components/excel/excelfile/excelfilecomponents/columnindicator.tsx","../src/components/excel/excelfile/excelfilecomponents/copied.tsx","../src/components/excel/excelfile/excelfilecomponents/cornerindicator.tsx","../src/components/excel/excelfile/excelfilecomponents/dataeditor.tsx","../src/components/excel/excelfile/excelfilecomponents/dataviewer.tsx","../src/components/excel/excelfile/excelfilecomponents/editablecell.tsx","../src/components/excel/excelfile/excelfilecomponents/floatingrect.tsx","../src/components/excel/excelfile/excelfilecomponents/headerrow.tsx","../src/components/excel/excelfile/excelfilecomponents/row.tsx","../src/components/excel/excelfile/excelfilecomponents/rowindicator.tsx","../src/components/excel/excelfile/excelfilecomponents/selected.tsx","../src/components/excel/excelfile/excelfilecomponents/spreadsheet.tsx","../src/components/excel/excelfile/excelfilecomponents/table.tsx","../src/components/excel/excelfile/excelfilecomponents/actions.ts","../src/components/excel/excelfile/excelfilecomponents/aremodelsequal.ts","../src/components/excel/excelfile/excelfilecomponents/context.ts","../src/components/excel/excelfile/excelfilecomponents/index.ts","../src/components/excel/excelfile/excelfilecomponents/matrix.ts","../src/components/excel/excelfile/excelfilecomponents/point-range.ts","../src/components/excel/excelfile/excelfilecomponents/point.ts","../src/components/excel/excelfile/excelfilecomponents/reducer.ts","../src/components/excel/excelfile/excelfilecomponents/reducerfunctions.ts","../src/components/excel/excelfile/excelfilecomponents/selection.ts","../src/components/excel/excelfile/excelfilecomponents/types.ts","../src/components/excel/excelfile/excelfilecomponents/use-dispatch.ts","../src/components/excel/excelfile/excelfilecomponents/use-selector.ts","../src/components/excel/excelfile/excelfilecomponents/util.ts","../src/components/excel/excelfile/excelfilecomponents/engine/engine.ts","../src/components/excel/excelfile/excelfilecomponents/engine/formula.ts","../src/components/excel/excelfile/excelfilecomponents/engine/index.ts","../src/components/excel/excelfile/excelfilecomponents/engine/point-graph.ts","../src/components/excel/excelfile/excelfilecomponents/engine/point-hash.ts","../src/components/excel/excelfile/excelfilecomponents/engine/point-set.ts","../src/components/excel/excelfile/excelfilecomponents/typings/fast-formula-parser.d.ts","../src/components/excel/exceltoolbar/exceltoolbar.tsx","../src/components/expandablemenu/expandablemenu.tsx","../src/components/expandablemenu/index.ts","../src/components/expandablemenu/types.ts","../src/components/expandabletable/expandabletable.tsx","../src/components/ff_captcha/recaptcha.tsx","../src/components/ff_captcha/index.ts","../src/components/ff_captcha/types.ts","../src/components/fieldset/fieldset.tsx","../src/components/fieldset/index.ts","../src/components/fieldset/types.ts","../src/components/filedropzone/dropzone.tsx","../src/components/filedropzone/filedropzone.tsx","../src/components/filedropzone/filepreview.tsx","../src/components/filedropzone/radiofilepreview.tsx","../src/components/filedropzone/index.ts","../src/components/filedropzone/types.ts","../src/components/form/form.ts","../src/components/form/forms.tsx","../src/components/form/index.ts","../src/components/form/types.ts","../src/components/gridlayout/gridlayout.tsx","../src/components/gridlayout/index.ts","../src/components/gridlayout/types.ts","../src/components/highlighttext/highlighttext.tsx","../src/components/highlighttext/index.ts","../src/components/highlighttext/types.ts","../src/components/historycard/historycard.tsx","../src/components/historycard/index.ts","../src/components/icon/icon.tsx","../src/components/icon/iconlist.ts","../src/components/icon/index.ts","../src/components/icon/types.ts","../src/components/iconbutton/iconbutton.tsx","../src/components/iconbutton/index.ts","../src/components/iconbutton/types.ts","../src/components/iconradiogroup/iconradiogroup.tsx","../src/components/iconradiogroup/index.ts","../src/components/iconradiogroup/type.ts","../src/components/input/input.tsx","../src/components/input/index.ts","../src/components/input/types.ts","../src/components/inputwithdropdown/inputwithdropdown.tsx","../src/components/inputwithdropdown/index.ts","../src/components/inputwithdropdown/types.ts","../src/components/labeledittextfield/labeledittextfield.tsx","../src/components/labeledittextfield/index.ts","../src/components/labeledittextfield/types.ts","../src/components/lazyload/lazyload.ts","../src/components/lazyload/lazyloading.tsx","../src/components/lazyload/index.ts","../src/components/lineloader/lineloader.tsx","../src/components/lineloader/index.ts","../src/components/lineloader/types.ts","../src/components/link/link.tsx","../src/components/link/index.ts","../src/components/link/types.ts","../src/components/machineinputfield/machineinputfield.tsx","../src/components/machineinputfield/index.ts","../src/components/machineinputfield/types.ts","../src/components/mediapreview/mediapreview.tsx","../src/components/mediapreview/index.ts","../src/components/mediapreview/types.ts","../src/components/mediaviewermodal/mediaviewermodal.tsx","../src/components/mediaviewermodal/index.ts","../src/components/mediaviewermodal/type.ts","../src/components/menuoption/menuoption.tsx","../src/components/menuoption/index.ts","../src/components/menuoption/types.ts","../src/components/messagebox/messagebox.tsx","../src/components/messagebox/index.ts","../src/components/messagebox/types.ts","../src/components/minimodal/minimodal.tsx","../src/components/minimodal/index.ts","../src/components/minimodal/types.ts","../src/components/mobileskin/mobileskin.tsx","../src/components/mobileskin/mobileskininterface.ts","../src/components/mobileskin/index.ts","../src/components/mobileskin/types.ts","../src/components/modal/modal.tsx","../src/components/modal/index.tsx","../src/components/modal/types.ts","../src/components/moduleschip/modulechip.tsx","../src/components/moduleschip/index.ts","../src/components/moduleschip/types.ts","../src/components/multiselect/dropdown.tsx","../src/components/multiselect/multiselect.tsx","../src/components/multiselect/multiselecttypes.ts","../src/components/multiselect/dropdowntypes.ts","../src/components/multiselect/index.ts","../src/components/nlpinput/nlpinput.tsx","../src/components/nlpinput/index.ts","../src/components/nlpinput/sampledata.ts","../src/components/nlpinput/types.tsx","../src/components/nlpinput/components/chipsfolder/chipsaccordion.tsx","../src/components/nlpinput/components/nlpdropdown/nlpdropdowntype.ts","../src/components/nlpinput/components/nlpdropdown/nlpdropdown.tsx","../src/components/nodatacontent/nodatacontent.tsx","../src/components/nodatacontent/index.ts","../src/components/nodatacontent/type.ts","../src/components/ostree/ostree.tsx","../src/components/ostree/index.ts","../src/components/ostree/type.ts","../src/components/otpverification/otpverification.tsx","../src/components/otpverification/index.ts","../src/components/otpverification/type.ts","../src/components/overviewmodal/index.ts","../src/components/overviewmodal/overviewmodal.tsx","../src/components/overviewmodal/types.ts","../src/components/paper/paper.tsx","../src/components/paper/index.ts","../src/components/paper/types.ts","../src/components/phoneinput/phoneinput.tsx","../src/components/phoneinput/index.ts","../src/components/phoneinput/types.ts","../src/components/popupmodal/popupmodal.tsx","../src/components/popupmodal/types.ts","../src/components/preposttable/preposttable.tsx","../src/components/preposttable/types.ts","../src/components/preposttable/index.ts","../src/components/preposttable/components/draggabletablerow.tsx","../src/components/preposttable/components/prepoststepaccordions.tsx","../src/components/preposttable/components/stepgroupdetailview.tsx","../src/components/progressbar/progressbar.tsx","../src/components/progressbar/index.ts","../src/components/progressbar/types.ts","../src/components/prompt/prompt.tsx","../src/components/prompt/index.ts","../src/components/prompt/types.ts","../src/components/promptcontainer/promptcontainer.tsx","../src/components/promptcontainer/index.ts","../src/components/promptcontainer/types.ts","../src/components/radiobutton/radiobutton.tsx","../src/components/radiobutton/index.ts","../src/components/radiobutton/radiobuttontypes.tsx","../src/components/radiogroup/radiogroup.tsx","../src/components/radiogroup/index.ts","../src/components/radiogroup/radiogrouptypes.tsx","../src/components/scriptgenerationloader/scriptgenerationloader.tsx","../src/components/scriptgenerationloader/index.ts","../src/components/scriptgenerationloader/types.ts","../src/components/scriptswitchbutton/scriptswitchbutton.tsx","../src/components/scriptswitchbutton/index.ts","../src/components/search/search.tsx","../src/components/search/index.ts","../src/components/search/types.ts","../src/components/select/select.tsx","../src/components/select/index.ts","../src/components/select/types.ts","../src/components/select/components/dropdown.tsx","../src/components/select/components/types.ts","../src/components/selectionswitcher/selectionswitcher.tsx","../src/components/selectionswitcher/index.ts","../src/components/selectionswitcher/types.ts","../src/components/sequentialconnectingbranch/sequentialconnectingbranch.tsx","../src/components/sequentialconnectingbranch/index.ts","../src/components/sequentialconnectingbranch/types.ts","../src/components/sequentialconnectingbranch/components/branches/branches.tsx","../src/components/sequentialconnectingbranch/components/branches/types.ts","../src/components/sequentialconnectingbranch/components/connectingbranches/connectingbranches.tsx","../src/components/sequentialconnectingbranch/components/connectingbranches/types.ts","../src/components/sequentialconnectingbranch/components/datasettooltip/datasettooltip.tsx","../src/components/sequentialconnectingbranch/components/datasettooltip/types.ts","../src/components/sequentialconnectingbranch/context/environmentvariablemapscontext.ts","../src/components/sessiondropdown/sessiondropdown.tsx","../src/components/sessiondropdown/index.ts","../src/components/sessiondropdown/type.ts","../src/components/sessionmanager/sessionmanager.tsx","../src/components/sessionmanager/index.ts","../src/components/sessionmanager/types.ts","../src/components/statedropdown/statedropdown.tsx","../src/components/statedropdown/statedropdowntypes.tsx","../src/components/statedropdown/index.ts","../src/components/statusbadge/statusbadge.tsx","../src/components/statusbadge/index.ts","../src/components/statusbutton/statusbutton.tsx","../src/components/statusbutton/index.ts","../src/components/statusbutton/types.ts","../src/components/statuscard/statuscard.tsx","../src/components/statuscard/index.ts","../src/components/statuscard/types.ts","../src/components/statusindicator/statusindicator.tsx","../src/components/statusindicator/index.ts","../src/components/statusindicator/types.ts","../src/components/stepslandingtable/steplandingtable.tsx","../src/components/stepslandingtable/constant.tsx","../src/components/stepslandingtable/index.ts","../src/components/stepslandingtable/types.ts","../src/components/stepslandingtable/components/editcomponent.tsx","../src/components/stepslandingtable/components/rendernlpinput.tsx","../src/components/stepslandingtable/components/stepgroupaccordions.tsx","../src/components/stepslandingtable/components/stepinnertable.tsx","../src/components/stepslandingtable/components/stepresultstats.tsx","../src/components/stepslandingtable/components/steptablemainrow.tsx","../src/components/stepslandingtable/components/stepstitle.tsx","../src/components/stepslandingtable/components/types.ts","../src/components/stepslandingtable/components/handlestepcheckbox.ts","../src/components/stepslandingtable/components/index.ts","../src/components/storageusagebar/storageusagebar.tsx","../src/components/storageusagebar/index.ts","../src/components/storageusagebar/types.ts","../src/components/switchbutton/switchbutton.tsx","../src/components/switchbutton/index.ts","../src/components/switchbutton/types.ts","../src/components/table/editcomponent.tsx","../src/components/table/nodatacontent.tsx","../src/components/table/table.tsx","../src/components/table/types.ts","../src/components/table/index.ts","../src/components/table/components/sortablerow.tsx","../src/components/table/components/tableheader.tsx","../src/components/table/components/virtualizedrows.tsx","../src/components/table/utils/constants.ts","../src/components/table/utils/virtualization.ts","../src/components/tabletree/tabletree.tsx","../src/components/tabletree/data.ts","../src/components/tabletree/index.ts","../src/components/tabletree/types.ts","../src/components/tabletree/components/tablebody.tsx","../src/components/tabletree/components/tablecell.tsx","../src/components/tabletree/components/tablehead.tsx","../src/components/tabletree/components/tablerow.tsx","../src/components/tabletree/utils/addlastchild.ts","../src/components/tabletree/utils/addnewrow.ts","../src/components/tabletree/utils/formatdatacell.ts","../src/components/tabletree/utils/getallchildids.ts","../src/components/tabletree/utils/renderspaces.ts","../src/components/tabletreefn/tabletreefn.tsx","../src/components/tabletreefn/data.ts","../src/components/tabletreefn/index.ts","../src/components/tabletreefn/types.ts","../src/components/tabletreefn/components/tablebody.tsx","../src/components/tabletreefn/components/tablecell.tsx","../src/components/tabletreefn/components/tablehead.tsx","../src/components/tabletreefn/components/tablerow.tsx","../src/components/tabletreefn/utils/tablecell.ts","../src/components/tabletreefn/utils/addlastchild.ts","../src/components/tabletreefn/utils/addnewrow.ts","../src/components/tabletreefn/utils/formatdatacell.ts","../src/components/tabletreefn/utils/getallchildids.ts","../src/components/tabletreefn/utils/renderspaces.ts","../src/components/tabletreefn/utils/updateparentsibling.ts","../src/components/tablewithaccordion/tablewithaccordion.tsx","../src/components/tablewithaccordion/data.ts","../src/components/tablewithaccordion/index.ts","../src/components/tablewithaccordion/types.ts","../src/components/tabs/tabs.tsx","../src/components/tabs/index.ts","../src/components/tabs/types.ts","../src/components/tabswithsilder/tabswithsilder.tsx","../src/components/tabswithsilder/index.ts","../src/components/tabswithsilder/types.ts","../src/components/textarea/textarea.tsx","../src/components/textarea/types.ts","../src/components/textarea/index.tsx","../src/components/texteditor/texteditor.tsx","../src/components/texteditor/index.ts","../src/components/texteditor/types.ts","../src/components/themeprovider/themeprovider.tsx","../src/components/themeprovider/index.ts","../src/components/themeprovider/types.ts","../src/components/toast/toast.tsx","../src/components/toast/index.ts","../src/components/toast/types.ts","../src/components/toastify/toastify.tsx","../src/components/toastify/index.ts","../src/components/toastify/types.ts","../src/components/toggle/toggle.tsx","../src/components/toggle/index.ts","../src/components/toggle/types.ts","../src/components/toggleswitch/toggleswitch.tsx","../src/components/toggleswitch/index.ts","../src/components/tooltip/tooltip.tsx","../src/components/tooltip/index.ts","../src/components/tooltip/types.ts","../src/components/tooltipservice/tooltipservice.ts","../src/components/tooltipservice/index.ts","../src/components/truncatedtooltip/truncatedtooltip.tsx","../src/components/truncatedtooltip/index.ts","../src/components/typography/typography.tsx","../src/components/typography/index.ts","../src/components/typography/types.ts","../src/components/variableinput/variableinput.tsx","../src/components/variableinput/index.ts","../src/components/variableinput/types.ts","../src/components/zoomcontrol/zoomcontrol.tsx","../src/components/zoomcontrol/index.ts","../src/components/zoomcontrol/types.ts","../src/components/variablesuggestioninputdropdown/optionsdropdown.tsx","../src/components/variablesuggestioninputdropdown/variablesuggestioninputdropdown.tsx","../src/components/variablesuggestioninputdropdown/index.ts","../src/components/variablesuggestioninputdropdown/types.ts","../src/hooks/useclickoutside.tsx","../src/hooks/usefiledropzone.tsx","../src/hooks/useintersectionobserver.tsx","../src/hooks/usemergerefs.tsx","../src/hooks/useportalposition.tsx","../src/hooks/usetheme.tsx","../src/hooks/usetriggercontrol.tsx","../src/hooks/keyboardevents/useesckeyevent.tsx","../src/utils/convertocamelcase.ts","../src/utils/addstepgroup/addstepgroup.ts","../src/utils/appendnewrow/appendnewrow.ts","../src/utils/copytoclipboard/copytoclipboard.ts","../src/utils/formatstring/formatstring.tsx","../src/utils/scrolltoview/scrolltoview.tsx","../src/utils/tablecell/tablecell.ts","../src/utils/treenavigateutils/getnavigatetokey.ts","../src/utils/treenavigateutils/types.ts","../src/utils/autoscrolltotablelastrow/autoscrolltotablelastrow.ts","../src/utils/capitalize/capitalize.tsx","../src/utils/checkduplicates/checkduplicates.ts","../src/utils/checkempty/checkempty.ts","../src/utils/checkmicrophoneaccess/checkmicrophoneaccess.ts","../src/utils/comparearrays/comparearrays.ts","../src/utils/compareobjects/compareobjects.ts","../src/utils/converttobytes/converttobytes.ts","../src/utils/converttogb/converttogb.ts","../src/utils/converttoiso/converttoiso.ts","../src/utils/converttokb/converttokb.ts","../src/utils/converttomb/converttomb.ts","../src/utils/converttotb/converttotb.ts","../src/utils/dateformatter/dateformatutils.ts","../src/utils/debounce/debounce.ts","../src/utils/downloadfile/savefilefromblob.ts","../src/utils/ffid/ffid.ts","../src/utils/findandinsert/findandinsert.ts","../src/utils/formdata/convertformdatatoobject.ts","../src/utils/formatdate/formatdate.ts","../src/utils/functioncheck/functioncheck.ts","../src/utils/getanchorelement/getanchorelement.ts","../src/utils/getencrypteddata/getencrypteddata.ts","../src/utils/getextension/getextension.ts","../src/utils/getselectoptionvalue/getselectoptionvalue.ts","../src/utils/getsequentialpayload/getsequentialpayload.ts","../src/utils/getsequentialpayload/types.ts","../src/utils/getstatuscolor/getstatuscolor.ts","../src/utils/gettopvisiblenodekey/gettopvisiblenodekey.ts","../src/utils/gettreedetails/gettreedetails.ts","../src/utils/handlebeforeunload/usebeforeunload.tsx","../src/utils/handletreeexpandallcollapseall/handletreeexpandallcollapseall.ts","../src/utils/handletreenodeexpandcollapse/handletreenodeexpandcollapse.ts","../src/utils/handletreenodeselect/handletreenodeselect.ts","../src/utils/handleuncheckalltreenodeswithupdates/handleuncheckalltreenodeswithupdates.ts","../src/utils/indexdbstore/indexdb copy.ts","../src/utils/indexdbstore/indexdb.ts","../src/utils/isemptyobject/isemptyobject.ts","../src/utils/keyboardactionutil/usekeyboardactions.tsx","../src/utils/keyboardactionutil/types.ts","../src/utils/nlpinputdelay/nlpinputdelay.ts","../src/utils/swaparrayitem/draganddroputils.ts","../src/utils/throttle/throttle.ts","../src/utils/timezonechange/handletimezonechange.ts","../src/utils/tocamelcase/tocamelcase.ts","../src/utils/totitlecase/totitlecase.ts","../src/utils/toggleshowhideentity/toggleshowhideentity.ts","../src/utils/truncatetext/truncatetext.ts","../src/utils/usedevicetype/usedevicetype.ts","../src/utils/validatefile/validatefile.ts","../src/validations/regex.ts","../globals.d.ts"],"version":"5.9.3"}
|
package/package.json
CHANGED