@sava-info-systems/api-maker-with-extensions 2.1.2 → 2.2.1

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.
Files changed (70) hide show
  1. package/dist/{1025.95948d3d2668bb14.js → 1025.a0db9347453600d0.js} +1 -1
  2. package/dist/{1097.ea0e6db47339f73f.js → 1097.d0d6fd13031aa1f0.js} +1 -1
  3. package/dist/{1928.5c81326985ca5f64.js → 1928.2b376f7cf66ed038.js} +1 -1
  4. package/dist/{2714.9880836f6b8b78a7.js → 2714.0d6939336a02dd0a.js} +1 -1
  5. package/dist/2735.86437a8639a0c1bb.js +1 -0
  6. package/dist/292.c7c794ff29abbe37.js +1 -0
  7. package/dist/{4110.c8b37cab34b21d0d.js → 4110.d108e786ecbdfd1b.js} +1 -1
  8. package/dist/{4186.3bd4de588fe7617d.js → 4186.ac3e8af0efeeac14.js} +1 -1
  9. package/dist/{4211.188f84c688ab656f.js → 4211.1bfe72ce0b7b2f76.js} +1 -1
  10. package/dist/4575.6ad36e53bd72fb6f.js +1 -0
  11. package/dist/485.b546656b466cb8a4.js +1 -0
  12. package/dist/{6236.5b62431db131ce4d.js → 6236.6c0fc469f0c96549.js} +1 -1
  13. package/dist/6393.173ecdfc3b022973.js +1 -0
  14. package/dist/{7368.102769b19d40d3e0.js → 7368.9ebf62d518f8ad7a.js} +1 -1
  15. package/dist/7470.b1ce7eedb9cedb2d.js +1 -0
  16. package/dist/{7975.6f386123f5c64f78.js → 7975.578a00ebd1160a1e.js} +1 -1
  17. package/dist/{7987.d15aacc264588b12.js → 7987.5958ad5b81873058.js} +1 -1
  18. package/dist/{8125.35fe2368910566d5.js → 8125.b2f908096882ed45.js} +1 -1
  19. package/dist/{8296.e4e3f60f70779a30.js → 8296.a387c28f5702c5e8.js} +1 -1
  20. package/dist/{885.c5fd870ec02f004d.js → 885.be44d92efca1aaf6.js} +1 -1
  21. package/dist/assets/public/monaco-editor/index.html +61 -0
  22. package/dist/assets/public/monaco-editor/index.js +1 -0
  23. package/dist/assets/schema-types/InterfaceProps.ts +2 -0
  24. package/dist/assets/schema-types/types.ts +28 -27
  25. package/dist/index.html +1 -28
  26. package/dist/main.d3c81428418939dc.js +1 -0
  27. package/dist/{runtime.94df8f20f115da3f.js → runtime.2f0f434d4763c970.js} +1 -1
  28. package/main.js +1 -1
  29. package/package.json +11 -11
  30. package/sandbox.js +1 -1
  31. package/src/assets/schema-types/types.ts +28 -27
  32. package/src/public/dist-db-masters/browser/index.html +1 -1
  33. package/src/public/dist-db-masters/browser/main-6YSY4AYM.js +139 -0
  34. package/src/tools/local-client.js +1 -1
  35. package/dist/2735.a66ecf607b9654e0.js +0 -1
  36. package/dist/292.885b93c9e38b775a.js +0 -1
  37. package/dist/4575.584a2fd6d6505e7a.js +0 -1
  38. package/dist/485.ec283c2f8b792308.js +0 -1
  39. package/dist/6393.bff610fd50c307e8.js +0 -1
  40. package/dist/7470.1bdcf8e01acb62bd.js +0 -1
  41. package/dist/assets/monaco-assets/configurations/cpp.json +0 -34
  42. package/dist/assets/monaco-assets/configurations/csharp.json +0 -32
  43. package/dist/assets/monaco-assets/configurations/dart.json +0 -29
  44. package/dist/assets/monaco-assets/configurations/go.json +0 -37
  45. package/dist/assets/monaco-assets/configurations/java.json +0 -33
  46. package/dist/assets/monaco-assets/configurations/javascript.json +0 -140
  47. package/dist/assets/monaco-assets/configurations/json.json +0 -22
  48. package/dist/assets/monaco-assets/configurations/python.json +0 -56
  49. package/dist/assets/monaco-assets/configurations/ruby.json +0 -31
  50. package/dist/assets/monaco-assets/configurations/rust.json +0 -34
  51. package/dist/assets/monaco-assets/configurations/swift.json +0 -27
  52. package/dist/assets/monaco-assets/configurations/typescript.json +0 -140
  53. package/dist/assets/monaco-assets/configurations/xml.json +0 -39
  54. package/dist/assets/monaco-assets/configurations/yaml.json +0 -35
  55. package/dist/assets/monaco-assets/grammars/cpp.tmLanguage.json +0 -16309
  56. package/dist/assets/monaco-assets/grammars/csharp.tmLanguage.json +0 -4984
  57. package/dist/assets/monaco-assets/grammars/dart.tmLanguage.json +0 -521
  58. package/dist/assets/monaco-assets/grammars/go.tmLanguage.json +0 -1017
  59. package/dist/assets/monaco-assets/grammars/java.tmLanguage.json +0 -1855
  60. package/dist/assets/monaco-assets/grammars/javascript.tmLanguage.json +0 -5914
  61. package/dist/assets/monaco-assets/grammars/json.tmLanguage.json +0 -213
  62. package/dist/assets/monaco-assets/grammars/magicpython.tmLanguage.json +0 -4213
  63. package/dist/assets/monaco-assets/grammars/ruby.tmLanguage.json +0 -2775
  64. package/dist/assets/monaco-assets/grammars/rust.tmLanguage.json +0 -1170
  65. package/dist/assets/monaco-assets/grammars/swift.tmLanguage.json +0 -3303
  66. package/dist/assets/monaco-assets/grammars/typescript.tmLanguage.json +0 -5665
  67. package/dist/assets/monaco-assets/grammars/xml.tmLanguage.json +0 -387
  68. package/dist/assets/monaco-assets/grammars/yaml.tmLanguage.json +0 -621
  69. package/dist/assets/monaco-assets/onig.wasm +0 -0
  70. package/dist/main.40b9c805b1ee0fc1.js +0 -1
@@ -0,0 +1 @@
1
+ !function(){const e="SET_VALUE",o="GET_VALUE",t="SET_OPTIONS",n="SET_LANGUAGE",r="FORMAT_DOCUMENT",a="INSERT_AT_CURSOR",i="SET_EXTRA_LIBS",c="SET_TS_COMPILER_OPTIONS",d="SET_TS_DIAGNOSTICS_OPTIONS",s="LOAD_TYPES",l="INIT_DIFF",u="RESET",g="FOCUS",f="SET_POSITION",y="SET_SELECTION",p="SET_SCROLL_TOP",k="SET_SCROLL_LEFT",m="TRIGGER",h="ADD_ACTION",C="DELTA_DECORATIONS",E="REMOVE_DECORATIONS",D="REVEAL_POSITION",b="EDITOR_READY",S="CONTENT_CHANGED",A="BLUR",O="VALUE_RESPONSE",I="CURSOR_POSITION_CHANGED",T="CURSOR_SELECTION_CHANGED",w="FONT_SIZE_CHANGED",v="ACTION_TRIGGERED",_="TYPES_LOADING",B="TYPES_LOADED";let M=null,L=null;const F={};let N={};function P(e){window.parent.postMessage(e,"*")}function R(e){F[e]&&P({type:v,payload:{actionId:e}})}const x=[];function U(e){if(M)try{e(M)}catch(e){console.error("[monaco-iframe] whenEditorReady callback failed",e)}else x.push(e)}const G="monaco_ct_v1_",H="monaco_ct_inflight",j=45e3;function V(e,o,t){return G+function(e){let o=5381;for(let t=0;t<e.length;t++)o=Math.imul(o,31)+e.charCodeAt(t)|0;return(o>>>0).toString(36)}(e+"|"+o+"|"+t)}async function K(e){try{const o=localStorage.getItem(e);return o?await async function(e){const o=atob(e),t=new Uint8Array(o.length);for(let e=0;e<o.length;e++)t[e]=o.charCodeAt(e);const n=new DecompressionStream("gzip"),r=n.writable.getWriter();r.write(t),r.close();const a=[],i=n.readable.getReader();for(;;){const e=await i.read();if(e.done)break;a.push(e.value)}const c=a.reduce((function(e,o){return e+o.length}),0),d=new Uint8Array(c);let s=0;return a.forEach((function(e){d.set(e,s),s+=e.length})),JSON.parse((new TextDecoder).decode(d))}(o):null}catch(o){try{localStorage.removeItem(e)}catch(e){}return null}}async function W(e,o){try{const t=await async function(e){const o=(new TextEncoder).encode(JSON.stringify(e)),t=new CompressionStream("gzip"),n=t.writable.getWriter();n.write(o),n.close();const r=[],a=t.readable.getReader();for(;;){const e=await a.read();if(e.done)break;r.push(e.value)}const i=r.reduce((function(e,o){return e+o.length}),0),c=new Uint8Array(i);let d=0;r.forEach((function(e){c.set(e,d),d+=e.length}));let s="";return c.forEach((function(e){s+=String.fromCharCode(e)})),btoa(s)}(o);localStorage.setItem(e,t)}catch(e){!e||"QuotaExceededError"!==e.name&&22!==e.code||console.warn("[monaco-iframe] Common types cache skipped — localStorage quota exceeded")}}function z(){try{const e=localStorage.getItem(H);return!!e&&Date.now()-Number(e)<j}catch(e){return!1}}function J(){try{localStorage.removeItem(H)}catch(e){}}function q(){M&&(M.dispose(),M=null),L&&(L.dispose(),L=null),N={},document.getElementById("editor").innerHTML=""}function Y(e){q();const o=Object.assign({},{automaticLayout:!0,minimap:{enabled:!1},theme:"vscode-dark-plus",fontSize:Number(localStorage.getItem("MONACO_FONT_SIZE")||0)||14,fontFamily:'JetBrains Mono, MonoLisa, Menlo, Monaco, "Courier New", "Lucida Console", monospace',wordWrap:"off",wrappingIndent:"indent",renderLineHighlight:"all",cursorBlinking:"smooth",cursorSmoothCaretAnimation:"on",smoothScrolling:!0,bracketPairColorization:{enabled:!0},guides:{bracketPairs:!0,indentation:!0},"semanticHighlighting.enabled":!0,stickyScroll:{enabled:!1}},e||{});var t;M=monaco.editor.create(document.getElementById("editor"),o),(t=M).addCommand(monaco.KeyMod.Shift|monaco.KeyCode.Delete,(function(){t.trigger("keyboard","editor.action.deleteLines")})),t.addCommand(monaco.KeyMod.Shift|monaco.KeyCode.Backspace,(function(){t.trigger("keyboard","editor.action.deleteLines")})),M.onDidChangeModelContent((function(){P({type:S,payload:{value:M.getValue()}})})),M.onDidBlurEditorText((function(){P({type:A,payload:{value:M.getValue()}})})),M.onDidChangeConfiguration((function(e){const o=monaco.editor.EditorOption;if(e.hasChanged(o.fontSize)){const e=M.getOptions().get(o.fontSize);localStorage.setItem("MONACO_FONT_SIZE",e),P({type:w,payload:{fontSize:e}})}})),M.onDidChangeCursorPosition((function(e){P({type:I,payload:{position:e.position}})})),M.onDidChangeCursorSelection((function(e){P({type:T,payload:{selection:e.selection}})})),function(){if(!M||0===x.length)return;x.splice(0).forEach((function(e){try{e(M)}catch(e){console.error("[monaco-iframe] Pending editor callback failed",e)}}))}()}monaco.editor.defineTheme("vscode-dark-plus",{base:"vs-dark",inherit:!0,rules:[{token:"comment",foreground:"6A9955",fontStyle:"italic"},{token:"comment.line",foreground:"6A9955",fontStyle:"italic"},{token:"comment.block",foreground:"6A9955",fontStyle:"italic"},{token:"keyword",foreground:"569CD6"},{token:"keyword.control",foreground:"C586C0"},{token:"keyword.operator",foreground:"569CD6"},{token:"storage.type",foreground:"569CD6"},{token:"storage.modifier",foreground:"569CD6"},{token:"type",foreground:"4EC9B0"},{token:"entity.name.type",foreground:"4EC9B0"},{token:"entity.name.class",foreground:"4EC9B0"},{token:"support.type",foreground:"4EC9B0"},{token:"entity.name.function",foreground:"DCDCAA"},{token:"support.function",foreground:"DCDCAA"},{token:"identifier",foreground:"9CDCFE"},{token:"string",foreground:"CE9178"},{token:"string.template",foreground:"CE9178"},{token:"number",foreground:"B5CEA8"},{token:"constant.language",foreground:"569CD6"},{token:"variable",foreground:"9CDCFE"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"variable.language",foreground:"569CD6"},{token:"operator",foreground:"D4D4D4"},{token:"delimiter",foreground:"D4D4D4"},{token:"annotation",foreground:"DCDCAA"},{token:"regexp",foreground:"D16969"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"tag.css",foreground:"D7BA7D"},{token:"tag.scss",foreground:"D7BA7D"},{token:"tag.less",foreground:"D7BA7D"},{token:"entity.name.tag.css",foreground:"D7BA7D"},{token:"attribute.name.css",foreground:"9CDCFE"},{token:"attribute.name.scss",foreground:"9CDCFE"},{token:"attribute.name.less",foreground:"9CDCFE"},{token:"attribute.value.css",foreground:"CE9178"},{token:"attribute.value.scss",foreground:"CE9178"},{token:"attribute.value.less",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"9CDCFE"},{token:"attribute.value.hex.css",foreground:"CE9178"},{token:"string.css",foreground:"CE9178"},{token:"string.scss",foreground:"CE9178"},{token:"string.less",foreground:"CE9178"},{token:"keyword.css",foreground:"C586C0"},{token:"keyword.scss",foreground:"C586C0"},{token:"keyword.less",foreground:"C586C0"},{token:"number.css",foreground:"B5CEA8"},{token:"number.scss",foreground:"B5CEA8"},{token:"delimiter.css",foreground:"D4D4D4"},{token:"delimiter.scss",foreground:"D4D4D4"},{token:"delimiter.less",foreground:"D4D4D4"},{token:"pseudo.css",foreground:"D7BA7D"},{token:"unit.css",foreground:"9CDCFE"},{token:"variable.css",foreground:"9CDCFE"},{token:"variable.scss",foreground:"9CDCFE"},{token:"variable.less",foreground:"9CDCFE"},{token:"selector.css",foreground:"D7BA7D"},{token:"operator.css",foreground:"D4D4D4"}],colors:{"editor.background":"#1E1E1E","editor.foreground":"#D4D4D4","editor.lineHighlightBackground":"#2A2D2E","editor.selectionBackground":"#264F78","editor.inactiveSelectionBackground":"#3A3D41","editor.selectionHighlightBackground":"#ADD6FF26","editor.wordHighlightBackground":"#575757B8","editor.wordHighlightStrongBackground":"#004972B8","editorLineNumber.foreground":"#858585","editorLineNumber.activeForeground":"#C6C6C6","editorCursor.foreground":"#AEAFAD","editorWhitespace.foreground":"#3B4048","editorIndentGuide.background":"#404040","editorIndentGuide.activeBackground":"#707070","editorBracketMatch.background":"#0064001A","editorBracketMatch.border":"#888888","editor.findMatchBackground":"#515C6A","editor.findMatchHighlightBackground":"#EA5C0055","editorOverviewRuler.findMatchForeground":"#D186167E","editorSuggestWidget.background":"#252526","editorSuggestWidget.border":"#454545","editorSuggestWidget.foreground":"#D4D4D4","editorSuggestWidget.selectedBackground":"#062F4A","editorSuggestWidget.highlightForeground":"#18A3FF","editorHoverWidget.background":"#252526","editorHoverWidget.border":"#454545","peekView.border":"#007ACC","peekViewEditor.background":"#001F33","peekViewResult.background":"#252526","scrollbarSlider.background":"#79797966","scrollbarSlider.hoverBackground":"#646464B3","scrollbarSlider.activeBackground":"#BFBFBF66"}});let Z=0,Q=null;async function X(e,o){Q=e;const t=++Z;P({type:_});const n={"Content-Type":"application/json",authorization:e.token||""},r=e.hostAndPort,a=e.adminId,i=JSON.stringify(e.typesRequestBody||{});if(!o){if(!!!await K(V(r,a,i))&&(await new Promise((function(e){setTimeout(e,5e3)})),t!==Z))return}const c=[];try{const o=await Promise.all([fetch(e.typesUrl).then((function(e){return e.text()})),fetch(e.storeTypesUrl).then((function(e){return e.text()}))]);c.push({content:o[0],filePath:"file:///node_modules/@types/types/index.d.ts"}),c.push({content:o[1],filePath:"file:///node_modules/@types/store-types/index.d.ts"})}catch(e){console.error("[monaco-iframe] Failed to load asset types",e)}try{const e=V(r,a,i);let t=null;if(o||(t=await K(e)),t||z()&&(t=await(d=e,new Promise((function(e){let o=0;const t=setInterval((async function(){o++;try{const o=await K(d);if(o)return clearInterval(t),void e(o)}catch(e){}(!z()||o>=120)&&(clearInterval(t),e(null))}),500)})))),!t){!function(){try{localStorage.setItem(H,String(Date.now()))}catch(e){}}();try{t=await fetch(r+"/api/sites/types/"+a+"/get-common-types-from-be",{method:"POST",headers:n,body:i}).then((function(e){return e.json()})),t&&await W(e,t)}finally{J()}}t&&t.data&&Object.entries(t.data).forEach((function(e){c.push({content:e[1],filePath:e[0]})}))}catch(e){console.error("[monaco-iframe] Failed to load common types",e)}var d;try{const e=await fetch(r+"/api/sites/types/"+a+"/utility-class-types",{method:"POST",headers:n,body:i}).then((function(e){return e.json()}));e&&e.data&&Object.entries(e.data).forEach((function(e){c.push({content:e[1],filePath:e[0]})}))}catch(e){console.error("[monaco-iframe] Failed to load utility-class types",e)}try{const e=await fetch(r+"/api/sites/types/"+a+"/db-interfaces",{method:"POST",headers:n,body:JSON.stringify({})}).then((function(e){return e.json()}));e&&Object.entries(e).forEach((function(e){c.push({content:e[1],filePath:e[0]})}))}catch(e){console.error("[monaco-iframe] Failed to load DB interfaces",e)}t===Z&&(monaco.languages.typescript.typescriptDefaults.setExtraLibs(c),P({type:B}))}document.fonts.ready.then((function(){Y(),P({type:b})})),function(){const e=document.getElementById("reload-types-btn");e&&e.addEventListener("click",(async function(){if(Q){e.classList.add("loading"),e.textContent="↻ Loading…",function(){try{Object.keys(localStorage).forEach((function(e){e.startsWith(G)&&localStorage.removeItem(e)}))}catch(e){}J()}();try{await X(Q,!0)}finally{e.classList.remove("loading"),e.textContent="↺ Types"}}}))}(),window.addEventListener("keydown",(function(e){if(M)return!e.shiftKey||e.ctrlKey||e.metaKey||e.altKey||"Delete"!==e.key?void(function(e){return(e.ctrlKey||e.metaKey)&&e.altKey&&e.shiftKey&&("Backslash"===e.code||"\\"===e.key||"|"===e.key)}(e)&&(e.preventDefault(),e.stopPropagation(),R("idMonacoToggleZoom"))):(e.preventDefault(),e.stopPropagation(),M.trigger("keyboard","editor.action.deleteLines",void 0),void R("idMonacoDeleteLine"))}),!0),window.addEventListener("message",(function(S){const A=S.data;if(A&&A.type)switch(A.type){case e:U((function(e){e.setValue(A.payload.value||"")}));break;case o:{const e=A.requestId;U((function(o){P({type:O,payload:{value:o.getValue()},requestId:e})}));break}case t:A.payload&&U((function(e){const o=A.payload._modelUri,t=Object.assign({},A.payload);if(delete t._modelUri,e.updateOptions(t),o){const n=e.getModel()&&e.getModel().getLanguageId(),r=t.language||"plaintext"!==n&&n||"typescript",a=e.getValue(),i=monaco.editor.createModel(a,r,monaco.Uri.parse(o));e.setModel(i)}}));break;case n:U((function(e){const o=e.getModel();o&&monaco.editor.setModelLanguage(o,A.payload.language)}));break;case r:U((function(e){e.trigger(void 0,"editor.action.formatDocument",void 0)}));break;case a:A.payload&&null!=A.payload.text&&U((function(e){const o=e.getSelection();e.executeEdits("iframe-insert",[{identifier:{major:1,minor:1},range:o,text:A.payload.text,forceMoveMarkers:!0}])}));break;case s:if(A.payload){X(A.payload);const e=document.getElementById("reload-types-btn");e&&e.classList.add("visible")}break;case i:A.payload&&Array.isArray(A.payload.libs)&&monaco.languages.typescript.typescriptDefaults.setExtraLibs(A.payload.libs);break;case c:A.payload&&monaco.languages.typescript.typescriptDefaults.setCompilerOptions(A.payload);break;case d:A.payload&&monaco.languages.typescript.typescriptDefaults.setDiagnosticsOptions(A.payload);break;case f:A.payload&&A.payload.position&&U((function(e){e.setPosition(A.payload.position)}));break;case y:A.payload&&A.payload.selection&&U((function(e){e.setSelection(A.payload.selection)}));break;case p:A.payload&&null!=A.payload.top&&U((function(e){e.setScrollTop(A.payload.top)}));break;case k:A.payload&&null!=A.payload.left&&U((function(e){e.setScrollLeft(A.payload.left)}));break;case m:A.payload&&U((function(e){e.trigger(A.payload.source,A.payload.handlerId,A.payload.payload)}));break;case h:if(A.payload){const e=A.payload;F[e.id]=!0,U((function(o){o.addAction({id:e.id,label:e.label,keybindings:e.keybindings,precondition:e.precondition||null,keybindingContext:e.keybindingContext||null,contextMenuGroupId:e.contextMenuGroupId,contextMenuOrder:e.contextMenuOrder,run:function(){P({type:v,payload:{actionId:e.id}})}})}))}break;case C:A.payload&&U((function(e){const o=A.payload.oldDecorationIds||[],t=A.payload.newDecorations||[],n=A.payload.newParentIds||[],r=[];o.forEach((function(e){N[e]&&(N[e].forEach((function(e){r.push(e)})),delete N[e])}));const a=e.deltaDecorations(r,t);n.forEach((function(e,o){N[e]=a[o]?[a[o]]:[]}))}));break;case E:A.payload&&Array.isArray(A.payload.decorationIds)&&U((function(e){const o=[];A.payload.decorationIds.forEach((function(e){N[e]&&(N[e].forEach((function(e){o.push(e)})),delete N[e])})),o.length&&e.deltaDecorations(o,[])}));break;case l:{const e=A.payload||{};q();const o=Math.round(1e9*Math.random()),t=Math.round(1e9*Math.random()),n=e.language||"typescript",r=monaco.editor.createModel(e.text||"",n,monaco.Uri.parse("file:///"+o+"_Main.ts")),a=monaco.editor.createModel(e.editedText||"",n,monaco.Uri.parse("file:///"+t+"_Main.ts"));L=monaco.editor.createDiffEditor(document.getElementById("editor"),{originalEditable:!!e.isEditable,readOnly:!!e.isReadOnly,renderSideBySide:!0,automaticLayout:!0,theme:"vscode-dark-plus"}),L.setModel({original:r,modified:a});break}case u:Y(A.payload||{}),P({type:b});break;case g:U((function(e){e.focus()}));break;case D:A.payload&&A.payload.position&&U((function(e){e.revealPositionInCenter(A.payload.position)}))}}))}();
@@ -9,6 +9,8 @@ export enum IUserProps {
9
9
  userType = 'userType',
10
10
  password = 'password',
11
11
  gitUrlWithCredentials = 'gitUrlWithCredentials',
12
+ gitCommitUserEmail = 'gitCommitUserEmail',
13
+ gitBranch = 'gitBranch',
12
14
  }
13
15
 
14
16
  export enum IApiUserProps {
@@ -4079,11 +4079,11 @@ export enum EDBMasterConfigGridColumnVisibilityStatus {
4079
4079
  INVISIBLE = 'INVISIBLE',
4080
4080
  }
4081
4081
 
4082
+ // genericConfig : start
4082
4083
  /**
4083
4084
  * Form field configuration for UI controls.
4084
4085
  * Defines the appearance, behavior, and validation of individual form inputs.
4085
4086
  */
4086
- // genericConfig : start
4087
4087
  export interface IDBMasterConfigFormField {
4088
4088
  /**
4089
4089
  * Unique identifier for programmatic element access.
@@ -4164,10 +4164,10 @@ export interface IDBMasterConfigFormField {
4164
4164
  // gridSettings : end
4165
4165
 
4166
4166
  // Textarea control configuration
4167
+ // textAreaSettings : start
4167
4168
  /**
4168
4169
  * Multi-line text input configuration.
4169
4170
  */
4170
- // textAreaSettings : start
4171
4171
  textAreaSettings?: {
4172
4172
  /** Inline style object (Angular style binding format). */
4173
4173
  style?: any;
@@ -4283,6 +4283,7 @@ export interface IDBMasterConfigFormField {
4283
4283
  };
4284
4284
  // editorSettings : end
4285
4285
 
4286
+ // inputTextSettings : start
4286
4287
  /**
4287
4288
  * Text input control configuration.
4288
4289
  * Single-line text entry with validation and autocomplete support.
@@ -4314,7 +4315,6 @@ export interface IDBMasterConfigFormField {
4314
4315
  * }
4315
4316
  * }
4316
4317
  */
4317
- // inputTextSettings : start
4318
4318
  inputTextSettings?: {
4319
4319
  /** Give style object in angular style. */
4320
4320
  style?: any;
@@ -4379,6 +4379,8 @@ export interface IDBMasterConfigFormField {
4379
4379
  };
4380
4380
  // inputTextSettings : end
4381
4381
 
4382
+ // inputNumberSettings : start
4383
+ /** Doc : https://primeng.org/inputnumber */
4382
4384
  /**
4383
4385
  * Number input control configuration.
4384
4386
  * Numeric entry with spinner buttons, formatting, and validation.
@@ -4436,8 +4438,6 @@ export interface IDBMasterConfigFormField {
4436
4438
  * buttonLayout: 'horizontal'
4437
4439
  * }
4438
4440
  */
4439
- // inputNumberSettings : start
4440
- /** Doc : https://primeng.org/inputnumber */
4441
4441
  inputNumberSettings?: {
4442
4442
  /** Give style object in angular style. */
4443
4443
  style?: any;
@@ -4521,6 +4521,7 @@ export interface IDBMasterConfigFormField {
4521
4521
  };
4522
4522
  // inputNumberSettings : end
4523
4523
 
4524
+ // inputMaskSettings : start
4524
4525
  /**
4525
4526
  * Input mask control configuration.
4526
4527
  * Format text input with predefined patterns (phone, SSN, date, etc.).
@@ -4562,7 +4563,6 @@ export interface IDBMasterConfigFormField {
4562
4563
  * slotChar: 'mm/dd/yyyy'
4563
4564
  * }
4564
4565
  */
4565
- // inputMaskSettings : start
4566
4566
  inputMaskSettings?: {
4567
4567
  /** Give style object in angular style. */
4568
4568
  style?: any;
@@ -4637,6 +4637,7 @@ export interface IDBMasterConfigFormField {
4637
4637
  };
4638
4638
  // inputMaskSettings : end
4639
4639
 
4640
+ // inputOtpSettings : start
4640
4641
  /**
4641
4642
  * OTP (One-Time Password) input control configuration.
4642
4643
  * Multi-character input for verification codes and OTPs.
@@ -4664,7 +4665,6 @@ export interface IDBMasterConfigFormField {
4664
4665
  * uiControlWidth: '250px'
4665
4666
  * }
4666
4667
  */
4667
- // inputOtpSettings : start
4668
4668
  inputOtpSettings?: {
4669
4669
  /** Give style object in angular style. */
4670
4670
  style?: any;
@@ -4690,6 +4690,7 @@ export interface IDBMasterConfigFormField {
4690
4690
  };
4691
4691
  // inputOtpSettings : end
4692
4692
 
4693
+ // inputPasswordSettings : start
4693
4694
  /**
4694
4695
  * Password input control configuration.
4695
4696
  * Secure password entry with strength meter and visibility toggle.
@@ -4719,7 +4720,6 @@ export interface IDBMasterConfigFormField {
4719
4720
  * strongLabel: 'Strong'
4720
4721
  * }
4721
4722
  */
4722
- // inputPasswordSettings : start
4723
4723
  inputPasswordSettings?: {
4724
4724
  /** Give style object in angular style. */
4725
4725
  style?: any;
@@ -4774,6 +4774,7 @@ export interface IDBMasterConfigFormField {
4774
4774
  };
4775
4775
  // inputPasswordSettings : end
4776
4776
 
4777
+ // checkboxSettings : start
4777
4778
  /**
4778
4779
  * Checkbox control configuration.
4779
4780
  * Binary selection control for true/false or yes/no values.
@@ -4803,7 +4804,6 @@ export interface IDBMasterConfigFormField {
4803
4804
  * }]
4804
4805
  * }
4805
4806
  */
4806
- // checkboxSettings : start
4807
4807
  checkboxSettings?: {
4808
4808
  /** Advisory information to display in a tooltip on hover. */
4809
4809
  tooltip?: string;
@@ -4847,6 +4847,7 @@ export interface IDBMasterConfigFormField {
4847
4847
  };
4848
4848
  // checkboxSettings : end
4849
4849
 
4850
+ // ratingSettings : start
4850
4851
  /**
4851
4852
  * Rating control configuration.
4852
4853
  * Star-based rating input with customizable icons and count.
@@ -4884,7 +4885,6 @@ export interface IDBMasterConfigFormField {
4884
4885
  * cancel: false
4885
4886
  * }
4886
4887
  */
4887
- // ratingSettings : start
4888
4888
  ratingSettings?: {
4889
4889
  /** Advisory information to display in a tooltip on hover. */
4890
4890
  tooltip?: string;
@@ -4957,6 +4957,7 @@ export interface IDBMasterConfigFormField {
4957
4957
  };
4958
4958
  // ratingSettings : end
4959
4959
 
4960
+ // radioSettings : start
4960
4961
  /**
4961
4962
  * Radio button control configuration.
4962
4963
  * Single selection from a list of mutually exclusive options.
@@ -4989,7 +4990,6 @@ export interface IDBMasterConfigFormField {
4989
4990
  * ]
4990
4991
  * }
4991
4992
  */
4992
- // radioSettings : start
4993
4993
  radioSettings?: {
4994
4994
  displayType?: 'inline' | 'new_line';
4995
4995
  displayInCenter?: boolean;
@@ -5037,7 +5037,9 @@ export interface IDBMasterConfigFormField {
5037
5037
  };
5038
5038
  // radioSettings : end
5039
5039
 
5040
+ // datePickerSettings : start
5040
5041
  /**
5042
+ * It's value will be Date object.
5041
5043
  * Date picker control configuration.
5042
5044
  * Date and time selection with calendar popup.
5043
5045
  * Stores value as JavaScript Date object.
@@ -5082,8 +5084,6 @@ export interface IDBMasterConfigFormField {
5082
5084
  * dateTimeFormat: 'dd/MM/yyyy'
5083
5085
  * }
5084
5086
  */
5085
- // datePickerSettings : start
5086
- /** It's value will be Date object. */
5087
5087
  datePickerSettings?: {
5088
5088
  /** Give style object in angular style. */
5089
5089
  style?: any;
@@ -5158,6 +5158,7 @@ export interface IDBMasterConfigFormField {
5158
5158
  };
5159
5159
  // datePickerSettings : end
5160
5160
 
5161
+ // colorPickerSettings : start
5161
5162
  /**
5162
5163
  * Color picker control configuration.
5163
5164
  * Interactive color selection with multiple format support.
@@ -5182,7 +5183,6 @@ export interface IDBMasterConfigFormField {
5182
5183
  * tooltipPosition: 'top'
5183
5184
  * }
5184
5185
  */
5185
- // colorPickerSettings : start
5186
5186
  colorPickerSettings?: {
5187
5187
  /** Give style object in angular style. */
5188
5188
  style?: any;
@@ -5234,11 +5234,11 @@ export interface IDBMasterConfigFormField {
5234
5234
  };
5235
5235
  // colorPickerSettings : end
5236
5236
 
5237
+ // dropdownSettings : start
5237
5238
  /**
5238
5239
  * Dropdown (select) control configuration.
5239
5240
  * Supports static data, database queries, and custom API calls.
5240
5241
  */
5241
- // dropdownSettings : start
5242
5242
  dropdownSettings?: {
5243
5243
  /** Inline style object (Angular style binding format). */
5244
5244
  style?: any;
@@ -5375,6 +5375,7 @@ export interface IDBMasterConfigFormField {
5375
5375
  };
5376
5376
  // dropdownSettings : end
5377
5377
 
5378
+ // autocompleteSettings : start
5378
5379
  /**
5379
5380
  * Autocomplete control configuration.
5380
5381
  * Search and select from a list of options with type-ahead functionality.
@@ -5425,7 +5426,6 @@ export interface IDBMasterConfigFormField {
5425
5426
  * dropdown: true
5426
5427
  * }
5427
5428
  */
5428
- // autocompleteSettings : start
5429
5429
  autocompleteSettings?: {
5430
5430
  /** Give style object in angular style. */
5431
5431
  style?: any;
@@ -5536,6 +5536,7 @@ export interface IDBMasterConfigFormField {
5536
5536
  };
5537
5537
  // autocompleteSettings : end
5538
5538
 
5539
+ // multiselectSettings : start
5539
5540
  /**
5540
5541
  * Multiselect control configuration.
5541
5542
  * Select multiple values from a list with chip-based display.
@@ -5589,7 +5590,6 @@ export interface IDBMasterConfigFormField {
5589
5590
  * display: 'chip'
5590
5591
  * }
5591
5592
  */
5592
- // multiselectSettings : start
5593
5593
  multiselectSettings?: {
5594
5594
  /** Give style object in angular style. */
5595
5595
  style?: any;
@@ -5726,6 +5726,7 @@ export interface IDBMasterConfigFormField {
5726
5726
  };
5727
5727
  // multiselectSettings : end
5728
5728
 
5729
+ // fileUploadSettings : start
5729
5730
  /**
5730
5731
  * File upload control configuration.
5731
5732
  * Upload single or multiple files with validation and preview.
@@ -5766,7 +5767,6 @@ export interface IDBMasterConfigFormField {
5766
5767
  * auto: false
5767
5768
  * }
5768
5769
  */
5769
- // fileUploadSettings : start
5770
5770
  fileUploadSettings?: {
5771
5771
  /** Give style object in angular style. */
5772
5772
  style?: any;
@@ -5820,6 +5820,7 @@ export interface IDBMasterConfigFormField {
5820
5820
  };
5821
5821
  // fileUploadSettings : end
5822
5822
 
5823
+ // dividerSettings : start
5823
5824
  /**
5824
5825
  * Divider control configuration.
5825
5826
  * Visual separator for form sections with optional text label.
@@ -5846,7 +5847,6 @@ export interface IDBMasterConfigFormField {
5846
5847
  * }
5847
5848
  * // Use 'label' property in parent field to display text
5848
5849
  */
5849
- // dividerSettings : start
5850
5850
  dividerSettings?: {
5851
5851
  /** Give style object in angular style. */
5852
5852
  style?: any;
@@ -5860,6 +5860,7 @@ export interface IDBMasterConfigFormField {
5860
5860
  };
5861
5861
  // dividerSettings : end
5862
5862
 
5863
+ // accordionSettings : start
5863
5864
  /**
5864
5865
  * Accordion control configuration.
5865
5866
  * Collapsible panels for organizing form fields into sections.
@@ -5909,7 +5910,6 @@ export interface IDBMasterConfigFormField {
5909
5910
  * ]
5910
5911
  * }
5911
5912
  */
5912
- // accordionSettings : start
5913
5913
  accordionSettings?: {
5914
5914
  /** Give style object in angular style. */
5915
5915
  style?: any;
@@ -5976,6 +5976,7 @@ export interface IDBMasterConfigFormField {
5976
5976
  };
5977
5977
  // accordionSettings : end
5978
5978
 
5979
+ // tabViewSettings : start
5979
5980
  /**
5980
5981
  * Tab view control configuration.
5981
5982
  * Tabbed interface for organizing form fields into separate views.
@@ -6027,7 +6028,6 @@ export interface IDBMasterConfigFormField {
6027
6028
  * ]
6028
6029
  * }
6029
6030
  */
6030
- // tabViewSettings : start
6031
6031
  tabViewSettings?: {
6032
6032
  /** Index of the active tab to change selected tab programmatically. */
6033
6033
  activeIndex?: number;
@@ -6093,6 +6093,7 @@ export interface IDBMasterConfigFormField {
6093
6093
  };
6094
6094
  // tabViewSettings : end
6095
6095
 
6096
+ // buttonSettings : start
6096
6097
  /**
6097
6098
  * Button control configuration.
6098
6099
  * Clickable button with icon, loading state, and style variants.
@@ -6144,7 +6145,6 @@ export interface IDBMasterConfigFormField {
6144
6145
  * size: 'large'
6145
6146
  * }
6146
6147
  */
6147
- // buttonSettings : start
6148
6148
  buttonSettings?: {
6149
6149
  /** button label text */
6150
6150
  label: string;
@@ -6236,6 +6236,7 @@ export interface IDBMasterConfigFormField {
6236
6236
  };
6237
6237
  // buttonSettings : end
6238
6238
 
6239
+ // imageSettings : start
6239
6240
  /**
6240
6241
  * Image display control configuration.
6241
6242
  * Display images with preview functionality and custom styling.
@@ -6280,7 +6281,6 @@ export interface IDBMasterConfigFormField {
6280
6281
  * }]
6281
6282
  * }
6282
6283
  */
6283
- // imageSettings : start
6284
6284
  imageSettings?: {
6285
6285
  src: string;
6286
6286
 
@@ -6350,6 +6350,7 @@ export interface IDBMasterConfigFormField {
6350
6350
  };
6351
6351
  // imageSettings : end
6352
6352
 
6353
+ // customHTMLSettings : start
6353
6354
  /**
6354
6355
  * Custom HTML control configuration.
6355
6356
  * Render arbitrary HTML content within the form.
@@ -6380,12 +6381,12 @@ export interface IDBMasterConfigFormField {
6380
6381
  * `
6381
6382
  * }
6382
6383
  */
6383
- // customHTMLSettings : start
6384
6384
  customHTMLSettings?: {
6385
6385
  htmlCode: string;
6386
6386
  };
6387
6387
  // customHTMLSettings : end
6388
6388
 
6389
+ // knobSettings : start
6389
6390
  /**
6390
6391
  * Knob control configuration.
6391
6392
  * Circular dial input for numeric value selection.
@@ -6423,7 +6424,6 @@ export interface IDBMasterConfigFormField {
6423
6424
  * strokeWidth: 12
6424
6425
  * }
6425
6426
  */
6426
- // knobSettings : start
6427
6427
  knobSettings?: {
6428
6428
  /** Advisory information to display in a tooltip on hover. */
6429
6429
  tooltip?: string;
@@ -6505,11 +6505,12 @@ export interface IDBMasterConfigFormField {
6505
6505
 
6506
6506
  // genericConfig : end
6507
6507
 
6508
+ // genericConfig : start
6508
6509
  /**
6509
6510
  * Validation rules for schema properties and form fields.
6510
6511
  * Define constraints that values must satisfy before being saved.
6511
6512
  */
6512
- // genericConfig : start
6513
+
6513
6514
  export interface IPropertyValidation {
6514
6515
  /**
6515
6516
  * Field is mandatory and must have a non-null, non-empty value.
@@ -6952,11 +6953,11 @@ export enum EDBMasterConfigAppendTo {
6952
6953
  processDataBeforePDFExport = 'processDataBeforePDFExport',
6953
6954
  }
6954
6955
 
6956
+ // genericConfig : start
6955
6957
  /**
6956
6958
  * Available form control types for UI generation.
6957
6959
  * Each control type has specific settings and behavior.
6958
6960
  */
6959
- // genericConfig : start
6960
6961
  export enum EDBMasterFormControl {
6961
6962
  /** Single-line text input. */
6962
6963
  input = 'input',
package/dist/index.html CHANGED
@@ -86,33 +86,6 @@
86
86
  <script src="https://cdnjs.cloudflare.com/ajax/libs/apexcharts/3.54.1/apexcharts.min.js" integrity="sha512-yR5RFcmaHqsGbB9WPG104Fk3+x2s9fMYCgA09VaRT2Lqpay6oNhKldYsZKU/rpYqbsNVhN5+RTbQBSd9+DhL6g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
87
87
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/apexcharts/3.54.1/apexcharts.min.css" integrity="sha512-a+TagZggv1pq6n/4xBSDjlpi8MQMsH0OAF2rlFOKifNKlAjk30uAg/EJeRBuL76Zq4dYLHa0ezegidxDgHzjMA==" crossorigin="anonymous" referrerpolicy="no-referrer">
88
88
 
89
- <!-- load required assets -->
90
- <link rel="prefetch" href="/assets/monaco-assets/grammars/typescript.tmLanguage.json" as="fetch" crossorigin="anonymous">
91
- <link rel="prefetch" href="/assets/monaco-assets/grammars/json.tmLanguage.json" as="fetch" crossorigin="anonymous">
92
- <link rel="prefetch" href="/assets/monaco-assets/grammars/xml.tmLanguage.json" as="fetch" crossorigin="anonymous">
93
- <link rel="prefetch" href="/assets/monaco-assets/grammars/yaml.tmLanguage.json" as="fetch" crossorigin="anonymous">
94
- <link rel="prefetch" href="/assets/monaco-assets/onig.wasm" as="fetch" crossorigin="anonymous">
95
-
96
- <!-- monaco supported sub libraries -->
97
- <script src="https://cdn.jsdelivr.net/npm/vscode-textmate@8.0.0/release/main.min.js"></script>
98
- <script src="https://cdn.jsdelivr.net/npm/vscode-oniguruma@1.7.0/release/main.min.js"></script>
99
- <script type="text/javascript">
100
- const onigGlobal = onig;
101
- setTimeout(() => {
102
- window.onigGlobal = onigGlobal;
103
- }, 1000);
104
- </script>
105
-
106
- <!-- monaco editor -->
107
- <script src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.35.0/min/vs/loader.min.js"></script>
108
- <script type="text/javascript">
109
- const requireJs = require;
110
- window.requireJs = requireJs;
111
- requireJs.config({ paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.35.0/min/vs' } });
112
- requireJs(['vs/editor/editor.main'], () => {
113
- });
114
- </script>
115
-
116
89
  <!-- crypto js -->
117
90
  <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/core-min.js" type="text/javascript"></script>
118
91
  <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/aes.js" type="text/javascript"></script>
@@ -173,5 +146,5 @@
173
146
  </style>
174
147
  </noscript>
175
148
 
176
- <script src="runtime.94df8f20f115da3f.js" type="module"></script><script src="polyfills.47193e1d7d4041b5.js" type="module"></script><script src="main.40b9c805b1ee0fc1.js" type="module"></script></body>
149
+ <script src="runtime.2f0f434d4763c970.js" type="module"></script><script src="polyfills.47193e1d7d4041b5.js" type="module"></script><script src="main.d3c81428418939dc.js" type="module"></script></body>
177
150
  </html>