@sava-info-systems/api-maker-with-extensions 1.19.6 → 1.19.8
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/dist/238.ec990f26e1e29a5e.js +1 -0
- package/dist/3081.dd32ee0f5db41577.js +1 -0
- package/dist/4211.ad181f08e1073d52.js +1 -0
- package/dist/5249.73e35de880a7af92.js +1 -0
- package/dist/5765.2b385a8405d8e7b2.js +1 -0
- package/dist/7987.5202964524a17ffa.js +1 -0
- package/dist/913.e60cadd27b99097f.js +1 -0
- package/dist/assets/primeng-theme/primeng-theme-overrides.scss +1 -1
- package/dist/assets/schema-types/types.ts +21 -2
- package/dist/assets/styles/out/styles.css +1 -1
- package/dist/assets/styles/styles.scss +2 -1
- package/dist/index.html +9 -2
- package/dist/main.ca1eb95b67ff9761.js +1 -0
- package/dist/runtime.66bf12954a778fb7.js +1 -0
- package/dist/{styles.1764f1e35ed631e4.css → styles.242217e145c3f7ab.css} +1 -1
- package/main.js +1 -1
- package/package.json +4 -4
- package/sandbox/sandbox.js +1 -1
- package/src/assets/schema-types/types.ts +21 -2
- package/src/public/dist-db-masters/browser/index.html +1 -1
- package/src/public/dist-db-masters/browser/main-ANQDJFEO.js +139 -0
- package/src/tools/local-client.js +1 -1
- package/dist/238.6207cf874f0ff82a.js +0 -1
- package/dist/3081.e470a8aeed4a7745.js +0 -1
- package/dist/4211.b7a72c8db8263edf.js +0 -1
- package/dist/5249.52aa732ef6a173c5.js +0 -1
- package/dist/5765.e70cd773673bfe27.js +0 -1
- package/dist/7987.37367b65a76d5083.js +0 -1
- package/dist/913.7d41933171ab9fbe.js +0 -1
- package/dist/assets/styles/out/bootstrap-overrides.css.map +0 -1
- package/dist/assets/styles/out/colors-dark.css.map +0 -1
- package/dist/assets/styles/out/colors-light.css.map +0 -1
- package/dist/assets/styles/out/monaco-editor-overrides.css.map +0 -1
- package/dist/assets/styles/out/styles.css.map +0 -1
- package/dist/assets/styles/out/variables.css.map +0 -1
- package/dist/main.9630ecd9c9613e82.js +0 -1
- package/dist/runtime.21919a870e05d69b.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkapi_maker_fe=self.webpackChunkapi_maker_fe||[]).push([[7987],{1137:(v,g,a)=>{a.d(g,{u:()=>ae});var m=a(5861),l=a(3157),_=a(328),p=a(6990),M=a(9361),u=a(1162),S=a(7672),O=a(553),C=a(5085),P=a(1601),f=a(3531),T=a(9989),e=a(4946),F=a(9961),A=a(7629),h=a(7240),b=a(3429),U=a(7414),R=a(5852),B=a(2304),y=a(2915),x=a(6814),Z=a(2660),L=a(8917),W=a(5860),K=a(756),N=a(7680),D=a(4844),H=a(3259),J=a(5025);const Q=["QuillEditorC"],V=["insertCodeModalC"],G=["monacoEditorModalC"];function w(s,c){if(1&s&&e._UZ(0,"span",31),2&s){const t=e.oxw();e.Q6J("innerHTML",t.userNoteHtml,e.oJD)}}function Y(s,c){1&s&&(e.TgZ(0,"span"),e._UZ(1,"i",32),e._uU(2," Add Custom API"),e.qZA())}function j(s,c){1&s&&(e.TgZ(0,"span"),e._UZ(1,"i",33),e._uU(2," View Custom API"),e.qZA())}function k(s,c){if(1&s&&(e.TgZ(0,"span"),e._UZ(1,"i",34),e._uU(2," Edit Custom API "),e.TgZ(3,"span",35),e._uU(4),e.qZA()()),2&s){const t=e.oxw();e.xp6(4),e.Oqu((null==t.updateObj?null:t.updateObj.name)||"")}}function X(s,c){if(1&s){const t=e.EpF();e.TgZ(0,"div",36)(1,"app-monaco-editor",37),e.NdJ("editorGenerated",function(o){e.CHM(t);const i=e.oxw();return e.KtG(i.editorGeneratedBasicInfo(o))}),e.qZA()()}if(2&s){const t=e.oxw();e.xp6(1),e.Q6J("isSchemaEditor",!0)("editorOptions",t.editorOptionsSchema)}}function z(s,c){if(1&s){const t=e.EpF();e.TgZ(0,"div",36)(1,"app-monaco-editor",37),e.NdJ("editorGenerated",function(o){e.CHM(t);const i=e.oxw();return e.KtG(i.editorGenerated(o))}),e.qZA()()}if(2&s){const t=e.oxw();e.xp6(1),e.Q6J("isSchemaEditor",!0)("editorOptions",t.editorOptionsSchema)}}function q(s,c){if(1&s){const t=e.EpF();e.TgZ(0,"a",38),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.viewError())}),e._uU(1,"View error"),e.qZA()}}function ee(s,c){1&s&&(e.TgZ(0,"span"),e._uU(1,"Save"),e.qZA())}function te(s,c){1&s&&(e.TgZ(0,"span"),e._uU(1,"Update"),e.qZA())}function oe(s,c){if(1&s){const t=e.EpF();e.TgZ(0,"button",39),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.save())}),e._UZ(1,"i",40),e.YNc(2,ee,2,0,"span",5),e.YNc(3,te,2,0,"span",5),e.qZA()}if(2&s){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.data.mode===t.EFormMode.ADD),e.xp6(1),e.Q6J("ngIf",t.data.mode===t.EFormMode.EDIT)}}function ne(s,c){1&s&&e._UZ(0,"p-progressSpinner",41)}let ae=(()=>{class s{ns;functionS;generalS;instanceS;constantsS;authCS;monacoS;eventCenterS;generalCS;data;loading={form:!1};EFormMode=_.D;subscriptions=[];EAPIAccessType=S.di;editorFunctions;editorFunctionsBasicInfo;editorOptionsSchema={readOnly:!1,language:"typescript",contextmenu:!0};lastError;editorOptionsMonacoEditorModal={readOnly:!0,language:"json",contextmenu:!0};updateObj;QuillEditorC;userNoteHtml='\n <span class="font-weight-bold text-success">Note:</span><br/>\n <span>Name might be used in code,<br/> so consider changing in code also.</span>\n ';BE_HOST_PORT=O.N.BE_HOST_PORT;DOCS_HOST_PORT=O.N.DOCS_HOST_PORT;shouldLoadMonacoEditor=!1;insertCodeModalC;viewDockerfileModelC;constructor(t,n,o,i,r,d,E,se,ie){this.ns=t,this.functionS=n,this.generalS=o,this.instanceS=i,this.constantsS=r,this.authCS=d,this.monacoS=E,this.eventCenterS=se,this.generalCS=ie}ngOnInit(){var t=this;this.subscriptions.push(this.data.eventChannel.subscribe(function(){var n=(0,m.Z)(function*(o){if(o)if(o.action===l.F.OPEN_FORM_IN_EDIT_MODE||o.action===l.F.OPEN_FORM_IN_VIEW_MODE){const r=`${t.data.formData.guid}:${t.authCS.gUser._id}`,d=yield t.functionS.getById(r).toPromise();t.updateObj=d.data,t.generalCS.setValueInEditor(t,"editorFunctionsBasicInfo",d.data?.functionBasicInfo||""),t.generalCS.setValueInEditor(t,"editorFunctions",d.data?.functionCode||""),t.generalCS.setValueInEditor(t,"QuillEditorC",d.data?.apiDocs||"");const E={};t.updateObj.separateSandboxSettings?.enableSeparateSandboxForThis&&(E.enableSeparateSandboxForThis=t.updateObj.separateSandboxSettings.enableSeparateSandboxForThis,E.allowAllPackagesOfAdmin=t.updateObj.separateSandboxSettings?.packages?.allowAllPackagesOfAdmin??!1),yield t.monacoS.loadTypesInMonaco(t.BE_HOST_PORT,t.authCS.getUserId(),E)}else if(o.action===l.F.OPEN_FORM_IN_ADD_MODE){const i=yield t.instanceS.getDefaultContent(t.BE_HOST_PORT,C.R.CUSTOM_API_JSON).toPromise(),r=yield t.instanceS.getDefaultContent(t.BE_HOST_PORT,C.R.CUSTOM_APIS).toPromise();t.generalCS.setValueInEditor(t,"editorFunctionsBasicInfo",i.data),t.generalCS.setValueInEditor(t,"editorFunctions",r.data),setTimeout(()=>{t.QuillEditorC.quill.setContents([{insert:"### API "},{insert:"Documentation",attributes:{bold:!0}},{insert:"\n"}])},1e3),t.updateObj={}}});return function(o){return n.apply(this,arguments)}}()))}showModal(){this.lastError=void 0,this.shouldLoadMonacoEditor=!0,setTimeout(()=>{$("#idFunctionForm").modal("show")},100)}hideModal(){$("#idFunctionForm").modal("hide")}save(){var t=this;return(0,m.Z)(function*(){let o;o=t.data.formData&&t.data.formData._id?yield t.functionS.queryOne({find:{guid:t.data.formData.guid,user:t.authCS.gUser._id}}):{};const i=p.find(o.versions||[],{isActive:!0});i&&(i.apiCodeStr=t.editorFunctions.getValue());let r=Object.assign({},o,{});r.user=t.authCS.getUserId(),r.functionCode=t.editorFunctions.getValue(),r.functionBasicInfo=t.editorFunctionsBasicInfo.getValue(),r.apiDocs=t.QuillEditorC.getValue();for(const d of r?.versions||[])d.version=d.version.toString();r=Object.assign({},t.updateObj||{},r);try{let d;t.loading.form=!0,t.lastError=void 0,t.data.mode===_.D.ADD?d=yield t.functionS.post(r).toPromise():t.data.mode===_.D.EDIT&&(d=yield t.functionS.replace(r._id,r,{select:u.iH._id}).toPromise()),t.ns.showSuccess(t.data.mode===_.D.ADD?t.constantsS.functions.addSuccess:t.constantsS.functions.editSuccess),t.data.eventChannel.emit({action:t.data.mode===_.D.ADD?l.F.SAVED:l.F.UPDATED}),t.eventCenterS.customApiSavedAndUpdate.next(!0),t.loading.form=!1}catch(d){t.ns.showErrorMessageFromErrorObject(d),t.loading.form=!1,t.lastError=d.error}})()}selectedTabTitle;tabSelected(t){this.selectedTabTitle=(t.originalEvent.originalTarget||t.originalEvent.currentTarget).text}setMessageReceiver(){this.generalCS.messageReceivedFor=void 0===this.selectedTabTitle||"Basic Info"===this.selectedTabTitle?M.H.Settings:M.H.All}showInsertCodeModel(){this.setMessageReceiver(),this.insertCodeModalC.showModal(f.b.FunManFormC)}editorGenerated(t){var n=this;return(0,m.Z)(function*(){n.editorFunctions=t,yield n.monacoS.loadSchemaEditorSettings(n.BE_HOST_PORT,n.authCS.getUserId(),null),n.monacoS.addSaveCodeKeyBinding(t,o=>{n.data.mode!==_.D.VIEW&&n.save()}),n.monacoS.addInsertCodeKeyBinding(t,o=>{n.data.mode!==_.D.VIEW&&(n.setMessageReceiver(),n.insertCodeModalC.showModal(f.b.FunManFormC))}),n.subscriptions.push(n.generalS.messageReceived.subscribe(o=>{o.type&&o.type===T.g.TEXT_COPIED&&"Code"===n.selectedTabTitle&&o.componentName===f.b.FunManFormC&&(n.monacoS.insertAtCursor(t,o.selectedText),n.insertCodeModalC.hideModal())}))})()}editorGeneratedBasicInfo(t){var n=this;return(0,m.Z)(function*(){n.editorFunctionsBasicInfo=t,yield n.monacoS.loadSchemaEditorSettings(n.BE_HOST_PORT,n.authCS.getUserId(),null),n.monacoS.addSaveCodeKeyBinding(t,o=>{n.data.mode!==_.D.VIEW&&n.save()}),n.monacoS.addInsertCodeKeyBinding(t,o=>{n.data.mode!==_.D.VIEW&&(n.setMessageReceiver(),n.insertCodeModalC.showModal(f.b.FunManFormC))}),n.subscriptions.push(n.generalS.messageReceived.subscribe(o=>{o.type&&o.type===T.g.TEXT_COPIED&&o.componentName===f.b.FunManFormC&&(void 0===n.selectedTabTitle||"Basic Info"===n.selectedTabTitle)&&(n.monacoS.insertAtCursor(t,o.selectedText),n.insertCodeModalC.hideModal())}))})()}viewError(){this.viewDockerfileModelC.showModal(this.generalS.stringify(this.lastError),P.d.json)}ngOnDestroy(){this.generalS.unsubscribe(this.subscriptions),this.eventCenterS.customApiSavedAndUpdate.next(!1)}static \u0275fac=function(n){return new(n||s)(e.Y36(F.W),e.Y36(A.d),e.Y36(h.b),e.Y36(b.E),e.Y36(U.L),e.Y36(R.D),e.Y36(B.b),e.Y36(y.u),e.Y36(h.b))};static \u0275cmp=e.Xpm({type:s,selectors:[["app-w-fun-man-form"]],viewQuery:function(n,o){if(1&n&&(e.Gf(Q,5),e.Gf(V,5),e.Gf(G,5)),2&n){let i;e.iGM(i=e.CRH())&&(o.QuillEditorC=i.first),e.iGM(i=e.CRH())&&(o.insertCodeModalC=i.first),e.iGM(i=e.CRH())&&(o.viewDockerfileModelC=i.first)}},inputs:{data:"data"},decls:37,vars:14,consts:[["template",""],["aria-hidden","true","aria-labelledby","exampleModalLabel","id","idFunctionForm","role","dialog","data-backdrop","static","data-keyboard","false",1,"modal"],["role","document",1,"modal-dialog","modal-full"],[1,"modal-content"],[1,"modal-header"],[4,"ngIf"],[1,"float-right"],["aria-label","Close","data-dismiss","modal","type","button",1,"close",3,"click"],["aria-hidden","true"],[1,"fas","fa-window-close"],["pTooltip","Insert Code","sava-no-dbl-click","",1,"cursor-pointer","mr-1",2,"font-size","1.4em",3,"click"],[1,"fas","fa-info-circle","text-info","fa-fw"],["href","https://docs.apimaker.dev/v1/docs/apis-all/custom-apis/user-created-custom-api.html","target","_blank"],["src","/assets/images/logo/logo_docs.svg",1,"fa-fw","ml-2","mr-1","mt-n2",2,"font-size","25px"],[1,"modal-body","overflow-auto"],[3,"onChange"],["header","Basic Info"],["class","overflow-hidden","style","height: calc(100vh - 188px);",4,"ngIf"],["header","Code"],["header","Docs"],["QuillEditorC",""],[1,"modal-footer"],["href","javascript:;","class","text-danger",3,"click",4,"ngIf"],["data-dismiss","modal","type","button",1,"btn","btn-sm","btn-secondary",3,"click"],[1,"fas","fa-times","text-danger","fa-fw"],["class","btn btn-primary btn-sm","sava-no-dbl-click","","type","button",3,"click",4,"ngIf"],["styleClass","w-4rem h-4rem","strokeWidth","4","animationDuration",".5s",4,"ngIf"],[3,"frameId","modalId","docsHostPort"],["insertCodeModalC",""],[3,"modalId","editorOptionsMonacoEditorModal","modalTitle"],["monacoEditorModalC",""],[3,"innerHTML"],[1,"fas","fa-plus","text-success","fa-fw","mr-1"],[1,"far","fa-eye","text-info","fa-fw","mr-1"],[1,"fas","fa-pencil-alt","text-light","fa-fw","mr-1"],[1,"ml-2","font-weight-normal","small","text-muted"],[1,"overflow-hidden",2,"height","calc(100vh - 188px)"],[3,"isSchemaEditor","editorOptions","editorGenerated"],["href","javascript:;",1,"text-danger",3,"click"],["sava-no-dbl-click","","type","button",1,"btn","btn-primary","btn-sm",3,"click"],[1,"fas","fa-save","text-success","fa-fw","mr-1"],["styleClass","w-4rem h-4rem","strokeWidth","4","animationDuration",".5s"]],template:function(n,o){1&n&&(e.YNc(0,w,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),e.YNc(6,Y,3,0,"span",5),e.YNc(7,j,3,0,"span",5),e.YNc(8,k,5,1,"span",5),e.TgZ(9,"div",6)(10,"button",7),e.NdJ("click",function(){return o.hideModal()}),e.TgZ(11,"span",8),e._UZ(12,"i",9),e.qZA()(),e.TgZ(13,"span",10),e.NdJ("click",function(){return o.showInsertCodeModel()}),e._UZ(14,"i",11),e.qZA(),e.TgZ(15,"a",12),e._UZ(16,"img",13),e.qZA()()(),e.TgZ(17,"div",14)(18,"p-tabView",15),e.NdJ("onChange",function(r){return o.tabSelected(r)}),e.TgZ(19,"p-tabPanel",16),e.YNc(20,X,2,2,"div",17),e.qZA(),e.TgZ(21,"p-tabPanel",18),e.YNc(22,z,2,2,"div",17),e.qZA(),e.TgZ(23,"p-tabPanel",19),e._UZ(24,"app-quill-editor",null,20),e.qZA()()(),e.TgZ(26,"div",21),e.YNc(27,q,2,0,"a",22),e.TgZ(28,"button",23),e.NdJ("click",function(){return o.hideModal()}),e._UZ(29,"i",24),e._uU(30," Close"),e.qZA(),e.YNc(31,oe,4,2,"button",25),e.qZA(),e.YNc(32,ne,1,0,"p-progressSpinner",26),e.qZA()()(),e._UZ(33,"app-insert-code-modal",27,28)(35,"app-monaco-editor-modal",29,30)),2&n&&(e.xp6(6),e.Q6J("ngIf",o.data.mode===o.EFormMode.ADD),e.xp6(1),e.Q6J("ngIf",o.data.mode===o.EFormMode.VIEW),e.xp6(1),e.Q6J("ngIf",o.data.mode===o.EFormMode.EDIT),e.xp6(12),e.Q6J("ngIf",o.shouldLoadMonacoEditor),e.xp6(2),e.Q6J("ngIf",o.shouldLoadMonacoEditor),e.xp6(5),e.Q6J("ngIf",o.lastError),e.xp6(4),e.Q6J("ngIf",o.data.mode!==o.EFormMode.VIEW),e.xp6(1),e.Q6J("ngIf",o.loading.form),e.xp6(1),e.Q6J("frameId","idInsertCodeCusApi")("modalId","idInsertCodeCusApiForm")("docsHostPort",o.DOCS_HOST_PORT),e.xp6(2),e.Q6J("modalId","idMonacoEditorModalInCustomApi")("editorOptionsMonacoEditorModal",o.editorOptionsMonacoEditorModal)("modalTitle","Error info"))},dependencies:[x.O5,Z.y,L.l,W.P,K.O,N.G,D.xf,D.x4,H.u,J.A],encapsulation:2})}return s})()},7987:(v,g,a)=>{a.d(g,{X:()=>M});var m=a(7017),l=a(4950),p=(a(1137),a(4946));let M=(()=>{class u{static \u0275fac=function(C){return new(C||u)};static \u0275mod=p.oAB({type:u});static \u0275inj=p.cJS({imports:[m.u,l.A]})}return u})()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkapi_maker_fe=self.webpackChunkapi_maker_fe||[]).push([[913],{6215:(J,b,s)=>{"use strict";s.d(b,{B:()=>I});var I=function(g){return g.DRAFT="DRAFT",g.PENDING_APPROVAL="PENDING_APPROVAL",g.PUBLISHED="PUBLISHED",g.DEPRECATED="DEPRECATED",g.BLOCKED="BLOCKED",g}(I||{})},913:(J,b,s)=>{"use strict";s.r(b),s.d(b,{AppStoreM:()=>Rt});var I=s(7664),g=s(7017),u=s(5861),T=s(553),O=function(i){return i.DRAFT="DRAFT",i.PENDING_APPROVAL="PENDING_APPROVAL",i.PUBLISHED="PUBLISHED",i.BLOCKED="BLOCKED",i}(O||{}),e=s(4946),Z=s(7240),S=s(3429),w=s(7414),V=s(1027),Y=s(1344),r=s(5852),d=s(4977),m=s(9961),C=s(2915),c=s(95),_=s(6814),E=s(7680),M=s(3259),h=s(5219),v=s(218),y=s(707),k=s(2076),ee=s(3714),F=s(5807),H=s(4480),B=s(6489),A=s(2332),K=s(8468),P=s(8717),z=s(7778),R=s(6005);const te=["container"],ie=["in"],ne=["multiIn"],oe=["multiContainer"],le=["ddBtn"],ae=["items"],se=["scroller"],pe=["overlay"],re=function(i,a){return{"p-autocomplete-dd-input":i,"p-disabled":a}};function ce(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"input",11,12),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputClick(o))})("input",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInput(o))})("keydown",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onKeydown(o))})("keyup",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onKeyup(o))})("focus",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputFocus(o))})("blur",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputBlur(o))})("change",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputChange(o))})("paste",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputPaste(o))}),e.qZA()}if(2&i){const t=e.oxw();e.Tol(t.inputStyleClass),e.Q6J("autofocus",t.autofocus)("ngStyle",t.inputStyle)("autocomplete",t.autocomplete)("ngClass",e.WLB(20,re,t.dropdown,t.disabled))("value",t.inputFieldValue)("readonly",t.readonly)("disabled",t.disabled),e.uIk("type",t.type)("id",t.inputId)("required",t.required)("name",t.name)("placeholder",t.placeholder)("size",t.size)("maxlength",t.maxlength)("tabindex",t.tabindex)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledBy)("aria-required",t.required)}}function ue(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"TimesIcon",15),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.clear())}),e.qZA()}2&i&&e.Q6J("styleClass","p-autocomplete-clear-icon")}function de(i,a){}function me(i,a){1&i&&e.YNc(0,de,0,0,"ng-template")}function _e(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"span",16),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.clear())}),e.YNc(1,me,1,0,null,8),e.qZA()}if(2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",t.clearIconTemplate)}}function he(i,a){if(1&i&&(e.ynx(0),e.YNc(1,ue,1,1,"TimesIcon",13),e.YNc(2,_e,2,1,"span",14),e.BQk()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.clearIconTemplate),e.xp6(1),e.Q6J("ngIf",t.clearIconTemplate)}}function ge(i,a){1&i&&e.GkF(0)}function fe(i,a){if(1&i&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(2);e.xp6(1),e.Oqu(n.resolveFieldData(t))}}function Ce(i,a){1&i&&e._UZ(0,"TimesCircleIcon",31),2&i&&e.Q6J("styleClass","p-autocomplete-token-icon")}function xe(i,a){}function ve(i,a){1&i&&e.YNc(0,xe,0,0,"ng-template")}function Te(i,a){if(1&i&&(e.TgZ(0,"span",32),e.YNc(1,ve,1,0,null,8),e.qZA()),2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("ngTemplateOutlet",t.removeIconTemplate)}}const N=function(i){return{$implicit:i}};function ye(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"li",23,24),e.YNc(2,ge,1,0,"ng-container",25),e.YNc(3,fe,2,1,"span",26),e.TgZ(4,"span",27),e.NdJ("click",function(){e.CHM(t);const o=e.MAs(1),l=e.oxw(2);return e.KtG(l.removeItem(o))}),e.YNc(5,Ce,1,1,"TimesCircleIcon",28),e.YNc(6,Te,2,1,"span",29),e.qZA()()}if(2&i){const t=a.$implicit,n=e.oxw(2);e.xp6(2),e.Q6J("ngTemplateOutlet",n.selectedItemTemplate)("ngTemplateOutletContext",e.VKq(5,N,t)),e.xp6(1),e.Q6J("ngIf",!n.selectedItemTemplate),e.xp6(2),e.Q6J("ngIf",!n.removeIconTemplate),e.xp6(1),e.Q6J("ngIf",n.removeIconTemplate)}}const Ie=function(i,a){return{"p-disabled":i,"p-focus":a}};function Ae(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"ul",17,18),e.NdJ("click",function(){e.CHM(t);const o=e.MAs(5);return e.KtG(o.focus())}),e.YNc(2,ye,7,7,"li",19),e.TgZ(3,"li",20)(4,"input",21,22),e.NdJ("input",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInput(o))})("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputClick(o))})("keydown",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onKeydown(o))})("keyup",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onKeyup(o))})("focus",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputFocus(o))})("blur",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputBlur(o))})("change",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputChange(o))})("paste",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onInputPaste(o))}),e.qZA()()()}if(2&i){const t=e.oxw();e.Q6J("ngClass",e.WLB(20,Ie,t.disabled,t.focus)),e.xp6(2),e.Q6J("ngForOf",t.value),e.xp6(2),e.Tol(t.inputStyleClass),e.Q6J("autofocus",t.autofocus)("disabled",t.disabled)("readonly",t.readonly)("autocomplete",t.autocomplete)("ngStyle",t.inputStyle),e.uIk("type",t.type)("id",t.inputId)("placeholder",t.value&&t.value.length?null:t.placeholder)("tabindex",t.tabindex)("maxlength",t.maxlength)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledBy)("aria-required",t.required)("aria-controls",t.listId)("aria-expanded",t.overlayVisible)("aria-activedescendant","p-highlighted-option")}}function be(i,a){1&i&&e._UZ(0,"SpinnerIcon",35),2&i&&e.Q6J("styleClass","p-autocomplete-loader")("spin",!0)}function Se(i,a){}function we(i,a){1&i&&e.YNc(0,Se,0,0,"ng-template")}function Me(i,a){if(1&i&&(e.TgZ(0,"span",36),e.YNc(1,we,1,0,null,8),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",t.loadingIconTemplate)}}function Oe(i,a){if(1&i&&(e.ynx(0),e.YNc(1,be,1,2,"SpinnerIcon",33),e.YNc(2,Me,2,1,"span",34),e.BQk()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.loadingIconTemplate),e.xp6(1),e.Q6J("ngIf",t.loadingIconTemplate)}}function Ee(i,a){if(1&i&&e._UZ(0,"span",40),2&i){const t=e.oxw(2);e.Q6J("ngClass",t.dropdownIcon)}}function ke(i,a){1&i&&e._UZ(0,"ChevronDownIcon")}function Le(i,a){}function Ze(i,a){1&i&&e.YNc(0,Le,0,0,"ng-template")}function Ve(i,a){if(1&i&&(e.ynx(0),e.YNc(1,ke,1,0,"ChevronDownIcon",3),e.YNc(2,Ze,1,0,null,8),e.BQk()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.dropdownIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.dropdownIconTemplate)}}function Ne(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",37,38),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.handleDropdownClick(o))}),e.YNc(2,Ee,1,1,"span",39),e.YNc(3,Ve,3,2,"ng-container",3),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("disabled",t.disabled),e.uIk("aria-label",t.dropdownAriaLabel)("tabindex",t.tabindex),e.xp6(2),e.Q6J("ngIf",t.dropdownIcon),e.xp6(1),e.Q6J("ngIf",!t.dropdownIcon)}}function De(i,a){1&i&&e.GkF(0)}function Je(i,a){1&i&&e.GkF(0)}const q=function(i,a){return{$implicit:i,options:a}};function Ye(i,a){if(1&i&&e.YNc(0,Je,1,0,"ng-container",25),2&i){const t=a.$implicit,n=a.options;e.oxw(2);const o=e.MAs(14);e.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",e.WLB(2,q,t,n))}}function Fe(i,a){1&i&&e.GkF(0)}const Be=function(i){return{options:i}};function Ge(i,a){if(1&i&&e.YNc(0,Fe,1,0,"ng-container",25),2&i){const t=a.options,n=e.oxw(3);e.Q6J("ngTemplateOutlet",n.loaderTemplate)("ngTemplateOutletContext",e.VKq(2,Be,t))}}function Qe(i,a){1&i&&(e.ynx(0),e.YNc(1,Ge,1,4,"ng-template",44),e.BQk())}const D=function(i){return{height:i}};function Ue(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"p-scroller",41,42),e.NdJ("onLazyLoad",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onLazyLoad.emit(o))}),e.YNc(2,Ye,1,5,"ng-template",43),e.YNc(3,Qe,2,0,"ng-container",3),e.qZA()}if(2&i){const t=e.oxw();e.Akn(e.VKq(8,D,t.scrollHeight)),e.Q6J("items",t.suggestions)("itemSize",t.virtualScrollItemSize||t._itemSize)("autoSize",!0)("lazy",t.lazy)("options",t.virtualScrollOptions),e.xp6(3),e.Q6J("ngIf",t.loaderTemplate)}}function He(i,a){1&i&&e.GkF(0)}const Ke=function(){return{}};function Pe(i,a){if(1&i&&(e.ynx(0),e.YNc(1,He,1,0,"ng-container",25),e.BQk()),2&i){const t=e.oxw(),n=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",e.WLB(3,q,t.suggestions,e.DdM(2,Ke)))}}function ze(i,a){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(3);e.xp6(1),e.Oqu(n.getOptionGroupLabel(t)||"empty")}}function Re(i,a){1&i&&e.GkF(0)}function qe(i,a){1&i&&e.GkF(0)}function $e(i,a){if(1&i&&(e.TgZ(0,"li",50),e.YNc(1,ze,2,1,"span",3),e.YNc(2,Re,1,0,"ng-container",25),e.qZA(),e.YNc(3,qe,1,0,"ng-container",25)),2&i){const t=a.$implicit,n=e.oxw(2).options,o=e.MAs(5),l=e.oxw();e.Q6J("ngStyle",e.VKq(6,D,n.itemSize+"px")),e.xp6(1),e.Q6J("ngIf",!l.groupTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",l.groupTemplate)("ngTemplateOutletContext",e.VKq(8,N,t)),e.xp6(1),e.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",e.VKq(10,N,l.getOptionGroupChildren(t)))}}function We(i,a){if(1&i&&(e.ynx(0),e.YNc(1,$e,4,12,"ng-template",49),e.BQk()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngForOf",t)}}function je(i,a){1&i&&e.GkF(0)}function Xe(i,a){if(1&i&&(e.ynx(0),e.YNc(1,je,1,0,"ng-container",25),e.BQk()),2&i){const t=e.oxw().$implicit,n=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",e.VKq(2,N,t))}}function et(i,a){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(3);e.xp6(1),e.Oqu(n.resolveFieldData(t))}}function tt(i,a){1&i&&e.GkF(0)}const it=function(i){return{"p-highlight":i}},nt=function(i,a){return{$implicit:i,index:a}};function ot(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"li",52),e.NdJ("click",function(){const l=e.CHM(t).$implicit,p=e.oxw(3);return e.KtG(p.selectItem(l))}),e.YNc(1,et,2,1,"span",3),e.YNc(2,tt,1,0,"ng-container",25),e.qZA()}if(2&i){const t=a.$implicit,n=a.index,o=e.oxw(2).options,l=e.oxw();e.Q6J("ngStyle",e.VKq(6,D,o.itemSize+"px"))("ngClass",e.VKq(8,it,t===l.highlightOption))("id",l.highlightOption==t?"p-highlighted-option":""),e.xp6(1),e.Q6J("ngIf",!l.itemTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",l.itemTemplate)("ngTemplateOutletContext",e.WLB(10,nt,t,o.getOptions?o.getOptions(n):n))}}function lt(i,a){1&i&&e.YNc(0,ot,3,13,"li",51),2&i&&e.Q6J("ngForOf",a.$implicit)}function at(i,a){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.emptyMessageLabel," ")}}function st(i,a){1&i&&e.GkF(0,null,55)}function pt(i,a){if(1&i&&(e.TgZ(0,"li",53),e.YNc(1,at,2,1,"ng-container",54),e.YNc(2,st,2,0,"ng-container",8),e.qZA()),2&i){const t=e.oxw().options,n=e.oxw();e.Q6J("ngStyle",e.VKq(4,D,t.itemSize+"px")),e.xp6(1),e.Q6J("ngIf",!n.emptyTemplate)("ngIfElse",n.empty),e.xp6(1),e.Q6J("ngTemplateOutlet",n.emptyTemplate)}}function rt(i,a){if(1&i&&(e.TgZ(0,"ul",45,46),e.YNc(2,We,2,1,"ng-container",3),e.YNc(3,Xe,2,4,"ng-container",3),e.YNc(4,lt,1,1,"ng-template",null,47,e.W1O),e.YNc(6,pt,3,6,"li",48),e.qZA()),2&i){const t=a.options,n=e.oxw();e.Akn(t.contentStyle),e.Q6J("ngClass",t.contentStyleClass),e.uIk("id",n.listId),e.xp6(2),e.Q6J("ngIf",n.group),e.xp6(1),e.Q6J("ngIf",!n.group),e.xp6(3),e.Q6J("ngIf",n.noResults&&n.showEmptyMessage)}}function ct(i,a){1&i&&e.GkF(0)}const ut=function(i,a){return{"p-autocomplete p-component":!0,"p-autocomplete-dd":i,"p-autocomplete-multiple":a}},dt=function(){return["p-autocomplete-panel p-component"]},mt={provide:c.JU,useExisting:(0,e.Gpc)(()=>W),multi:!0};let W=(()=>{class i{document;el;renderer;cd;differs;config;overlayService;zone;minLength=1;delay=300;style;panelStyle;styleClass;panelStyleClass;inputStyle;inputId;inputStyleClass;placeholder;readonly;disabled;scrollHeight="200px";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;maxlength;name;required;size;appendTo;autoHighlight;forceSelection;type="text";_autoZIndex;get autoZIndex(){return this._autoZIndex}set autoZIndex(t){this._autoZIndex=t,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_baseZIndex;get baseZIndex(){return this._baseZIndex}set baseZIndex(t){this._baseZIndex=t,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}ariaLabel;dropdownAriaLabel;ariaLabelledBy;dropdownIcon;unique=!0;group;completeOnFocus=!1;showClear=!1;field;dropdown;showEmptyMessage;dropdownMode="blank";multiple;tabindex;dataKey;emptyMessage;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";autofocus;autocomplete="off";optionGroupChildren;optionGroupLabel;overlayOptions;get suggestions(){return this._suggestions}set suggestions(t){this._suggestions=t,this.handleSuggestionsChange()}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}completeMethod=new e.vpe;onSelect=new e.vpe;onUnselect=new e.vpe;onFocus=new e.vpe;onBlur=new e.vpe;onDropdownClick=new e.vpe;onClear=new e.vpe;onKeyUp=new e.vpe;onShow=new e.vpe;onHide=new e.vpe;onLazyLoad=new e.vpe;containerEL;inputEL;multiInputEl;multiContainerEL;dropdownButton;itemsViewChild;scroller;overlayViewChild;templates;_itemSize;itemsWrapper;itemTemplate;emptyTemplate;headerTemplate;footerTemplate;selectedItemTemplate;groupTemplate;loaderTemplate;removeIconTemplate;loadingIconTemplate;clearIconTemplate;dropdownIconTemplate;value;_suggestions;onModelChange=()=>{};onModelTouched=()=>{};timeout;overlayVisible=!1;suggestionsUpdated;highlightOption;highlightOptionChanged;focus=!1;filled;inputClick;inputKeyDown;noResults;differ;inputFieldValue=null;loading;scrollHandler;documentResizeListener;forceSelectionUpdateModelTimeout;listId;itemClicked;inputValue=null;isSearching=!1;constructor(t,n,o,l,p,x,f,L){this.document=t,this.el=n,this.renderer=o,this.cd=l,this.differs=p,this.config=x,this.overlayService=f,this.zone=L,this.differ=p.find([]).create(void 0),this.listId=(0,A.Th)()+"_list"}ngAfterViewChecked(){this.suggestionsUpdated&&this.overlayViewChild&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1),this.suggestionsUpdated=!1}),this.highlightOptionChanged&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{if(this.overlayViewChild&&this.itemsWrapper){let t=k.p.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,"li.p-highlight");t&&k.p.scrollInView(this.itemsWrapper,t)}},1),this.highlightOptionChanged=!1})}handleSuggestionsChange(){null!=this._suggestions&&this.loading&&(this.highlightOption=null,this._suggestions.length?(this.noResults=!1,this.show(),this.suggestionsUpdated=!0,this.autoHighlight&&(this.highlightOption=this._suggestions[0])):(this.noResults=!0,this.showEmptyMessage?(this.show(),this.suggestionsUpdated=!0):this.hide()),this.loading=!1,this.isSearching=!1)}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"item":default:this.itemTemplate=t.template;break;case"group":this.groupTemplate=t.template;break;case"selectedItem":this.selectedItemTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"empty":this.emptyTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"loader":this.loaderTemplate=t.template;break;case"removetokenicon":this.removeIconTemplate=t.template;break;case"loadingicon":this.loadingIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"dropdownicon":this.dropdownIconTemplate=t.template}})}writeValue(t){this.value=t,this.filled=!(!this.value||!this.value.length),this.updateInputField(),this.cd.markForCheck()}getOptionGroupChildren(t){return this.optionGroupChildren?A.gb.resolveFieldData(t,this.optionGroupChildren):t.items}getOptionGroupLabel(t){return this.optionGroupLabel?A.gb.resolveFieldData(t,this.optionGroupLabel):null!=t.label?t.label:t}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onInput(t){if(!this.inputKeyDown&&k.p.isIE())return;this.timeout&&clearTimeout(this.timeout);let n=t.target.value;this.inputValue=n,!this.multiple&&!this.forceSelection&&this.onModelChange(n),0===n.length&&!this.multiple&&(this.value=null,this.hide(),this.onClear.emit(t),this.onModelChange(n)),n.length>=this.minLength?this.timeout=setTimeout(()=>{this.search(t,n)},this.delay):this.hide(),this.updateFilledState(),this.inputKeyDown=!1}onInputClick(t){this.inputClick=!0}search(t,n){this.isSearching||(this.isSearching=!0,this.loading=!0,this.completeMethod.emit({originalEvent:t,query:n}),setTimeout(()=>{this.isSearching=!1},100))}selectItem(t,n=!0){this.forceSelectionUpdateModelTimeout&&(clearTimeout(this.forceSelectionUpdateModelTimeout),this.forceSelectionUpdateModelTimeout=null),this.multiple?(this.multiInputEl.nativeElement.value="",this.value=this.value||[],(!this.isSelected(t)||!this.unique)&&(this.value=[...this.value,t],this.onModelChange(this.value))):(this.inputEL.nativeElement.value=this.resolveFieldData(t),this.value=t,this.onModelChange(this.value)),this.onSelect.emit(t),this.updateFilledState(),n&&(this.itemClicked=!0,this.focusInput()),this.hide()}show(t){(this.multiInputEl||this.inputEL)&&!this.overlayVisible&&(this.multiple?this.multiInputEl?.nativeElement.ownerDocument.activeElement==this.multiInputEl?.nativeElement:this.inputEL?.nativeElement.ownerDocument.activeElement==this.inputEL?.nativeElement)&&(this.overlayVisible=!0),this.onShow.emit(t),this.cd.markForCheck()}clear(){this.value=null,this.inputValue=null,this.multiple?this.multiInputEl.nativeElement.value="":(this.inputValue=null,this.inputEL.nativeElement.value=""),this.updateFilledState(),this.onModelChange(this.value),this.onClear.emit()}onOverlayAnimationStart(t){"visible"===t.toState&&(this.itemsWrapper=k.p.findSingle(this.overlayViewChild.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-autocomplete-panel"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement))}resolveFieldData(t){let n=this.field?A.gb.resolveFieldData(t,this.field):t;return void 0!==n?n:""}hide(t){this.overlayVisible=!1,this.onHide.emit(t),this.cd.markForCheck()}handleDropdownClick(t){if(this.overlayVisible)this.hide(t);else{this.focusInput();let n=this.multiple?this.multiInputEl.nativeElement.value:this.inputEL.nativeElement.value;"blank"===this.dropdownMode?(this.onDropdownClick.emit({originalEvent:t,query:""}),this.search(t,"")):"current"===this.dropdownMode&&(this.onDropdownClick.emit({originalEvent:t,query:n}),this.search(t,n))}}focusInput(){this.multiple?this.multiInputEl.nativeElement.focus():this.inputEL?.nativeElement.focus()}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(h.ws.EMPTY_MESSAGE)}removeItem(t){let n=k.p.index(t),o=this.value[n];this.value=this.value.filter((l,p)=>p!=n),this.onModelChange(this.value),this.updateFilledState(),this.onUnselect.emit(o)}onKeydown(t){if(this.overlayVisible)switch(t.which){case 40:if(this.group){let o=this.findOptionGroupIndex(this.highlightOption,this.suggestions);if(-1!==o){let l=o.itemIndex+1;l<this.getOptionGroupChildren(this.suggestions[o.groupIndex]).length?(this.highlightOption=this.getOptionGroupChildren(this.suggestions[o.groupIndex])[l],this.highlightOptionChanged=!0):this.suggestions[o.groupIndex+1]&&(this.highlightOption=this.getOptionGroupChildren(this.suggestions[o.groupIndex+1])[0],this.highlightOptionChanged=!0)}else this.highlightOption=this.getOptionGroupChildren(this.suggestions[0])[0]}else{let o=this.findOptionIndex(this.highlightOption,this.suggestions);if(-1!=o){var n=o+1;n!=this.suggestions.length&&(this.highlightOption=this.suggestions[n],this.highlightOptionChanged=!0)}else this.highlightOption=this.suggestions[0]}t.preventDefault();break;case 38:if(this.group){let o=this.findOptionGroupIndex(this.highlightOption,this.suggestions);if(-1!==o){let l=o.itemIndex-1;if(l>=0)this.highlightOption=this.getOptionGroupChildren(this.suggestions[o.groupIndex])[l],this.highlightOptionChanged=!0;else if(l<0){let p=this.suggestions[o.groupIndex-1];p&&(this.highlightOption=this.getOptionGroupChildren(p)[this.getOptionGroupChildren(p).length-1],this.highlightOptionChanged=!0)}}}else{let o=this.findOptionIndex(this.highlightOption,this.suggestions);o>0&&(this.highlightOption=this.suggestions[o-1],this.highlightOptionChanged=!0)}t.preventDefault();break;case 13:this.highlightOption&&(this.selectItem(this.highlightOption),this.hide()),t.preventDefault();break;case 27:this.hide(),t.preventDefault();break;case 9:this.highlightOption&&this.selectItem(this.highlightOption),this.hide()}else 40===t.which&&this.suggestions?this.search(t,t.target.value):t.ctrlKey&&"z"===t.key&&!this.multiple?(this.inputEL.nativeElement.value=this.resolveFieldData(null),this.value="",this.onModelChange(this.value)):t.ctrlKey&&"z"===t.key&&this.multiple&&(this.value.pop(),this.onModelChange(this.value),this.updateFilledState());if(this.multiple&&8===t.which&&this.value&&this.value.length&&!this.multiInputEl?.nativeElement.value){this.value=[...this.value];const o=this.value.pop();this.onModelChange(this.value),this.updateFilledState(),this.onUnselect.emit(o)}this.inputKeyDown=!0}onKeyup(t){this.onKeyUp.emit(t)}onInputFocus(t){!this.itemClicked&&this.completeOnFocus&&this.search(t,this.multiple?this.multiInputEl?.nativeElement.value:this.inputEL?.nativeElement.value),this.focus=!0,this.onFocus.emit(t),this.itemClicked=!1}onInputBlur(t){this.focus=!1,this.onModelTouched(),this.onBlur.emit(t)}onInputChange(t){if(this.forceSelection){let n=!1,l=t.target.value.trim();if(this.suggestions){let p=[...this.suggestions];if(this.group){let x=this.suggestions.filter(f=>f[this.optionGroupChildren]).flatMap(f=>f[this.optionGroupChildren]);p=p.concat(x)}for(let x of p){let f=this.field?A.gb.resolveFieldData(x,this.field):x;if(f&&l.toLowerCase()===f.toLowerCase().trim()){n=!0,this.forceSelectionUpdateModelTimeout=setTimeout(()=>{this.selectItem(x,!1)},250);break}}}n||(this.multiple?this.multiInputEl.nativeElement.value="":(this.value=null,this.inputEL.nativeElement.value=""),this.onClear.emit(t),this.onModelChange(this.value),this.updateFilledState())}}onInputPaste(t){this.onKeydown(t)}isSelected(t){let n=!1;if(this.value&&this.value.length)for(let o=0;o<this.value.length;o++)if(A.gb.equals(this.value[o],t,this.dataKey)){n=!0;break}return n}findOptionIndex(t,n){let o=-1;if(n)for(let l=0;l<n.length;l++)if(A.gb.equals(t,n[l])){o=l;break}return o}findOptionGroupIndex(t,n){let o,l;if(n)for(let p=0;p<n.length&&(o=p,l=this.findOptionIndex(t,this.getOptionGroupChildren(n[p])),-1===l);p++);return-1!==l?{groupIndex:o,itemIndex:l}:-1}updateFilledState(){this.filled=this.multiple?this.value&&this.value.length||this.multiInputEl&&this.multiInputEl.nativeElement&&""!=this.multiInputEl.nativeElement.value:this.inputFieldValue&&""!=this.inputFieldValue||this.inputEL&&this.inputEL.nativeElement&&""!=this.inputEL.nativeElement.value}updateInputField(){let t=this.resolveFieldData(this.value);this.inputFieldValue=t,this.inputEL&&this.inputEL.nativeElement&&(this.inputEL.nativeElement.value=t),this.updateFilledState()}ngOnDestroy(){this.forceSelectionUpdateModelTimeout&&(clearTimeout(this.forceSelectionUpdateModelTimeout),this.forceSelectionUpdateModelTimeout=null),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(n){return new(n||i)(e.Y36(_.K0),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(e.ZZ4),e.Y36(h.b4),e.Y36(h.F0),e.Y36(e.R0b))};static \u0275cmp=e.Xpm({type:i,selectors:[["p-autoComplete"]],contentQueries:function(n,o,l){if(1&n&&e.Suo(l,h.jx,4),2&n){let p;e.iGM(p=e.CRH())&&(o.templates=p)}},viewQuery:function(n,o){if(1&n&&(e.Gf(te,5),e.Gf(ie,5),e.Gf(ne,5),e.Gf(oe,5),e.Gf(le,5),e.Gf(ae,5),e.Gf(se,5),e.Gf(pe,5)),2&n){let l;e.iGM(l=e.CRH())&&(o.containerEL=l.first),e.iGM(l=e.CRH())&&(o.inputEL=l.first),e.iGM(l=e.CRH())&&(o.multiInputEl=l.first),e.iGM(l=e.CRH())&&(o.multiContainerEL=l.first),e.iGM(l=e.CRH())&&(o.dropdownButton=l.first),e.iGM(l=e.CRH())&&(o.itemsViewChild=l.first),e.iGM(l=e.CRH())&&(o.scroller=l.first),e.iGM(l=e.CRH())&&(o.overlayViewChild=l.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(n,o){2&n&&e.ekj("p-inputwrapper-filled",o.filled)("p-inputwrapper-focus",o.focus&&!o.disabled||o.autofocus||o.overlayVisible)("p-autocomplete-clearable",o.showClear&&!o.disabled)},inputs:{minLength:"minLength",delay:"delay",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",inputStyle:"inputStyle",inputId:"inputId",inputStyleClass:"inputStyleClass",placeholder:"placeholder",readonly:"readonly",disabled:"disabled",scrollHeight:"scrollHeight",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",maxlength:"maxlength",name:"name",required:"required",size:"size",appendTo:"appendTo",autoHighlight:"autoHighlight",forceSelection:"forceSelection",type:"type",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",ariaLabel:"ariaLabel",dropdownAriaLabel:"dropdownAriaLabel",ariaLabelledBy:"ariaLabelledBy",dropdownIcon:"dropdownIcon",unique:"unique",group:"group",completeOnFocus:"completeOnFocus",showClear:"showClear",field:"field",dropdown:"dropdown",showEmptyMessage:"showEmptyMessage",dropdownMode:"dropdownMode",multiple:"multiple",tabindex:"tabindex",dataKey:"dataKey",emptyMessage:"emptyMessage",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",autofocus:"autofocus",autocomplete:"autocomplete",optionGroupChildren:"optionGroupChildren",optionGroupLabel:"optionGroupLabel",overlayOptions:"overlayOptions",suggestions:"suggestions",itemSize:"itemSize"},outputs:{completeMethod:"completeMethod",onSelect:"onSelect",onUnselect:"onUnselect",onFocus:"onFocus",onBlur:"onBlur",onDropdownClick:"onDropdownClick",onClear:"onClear",onKeyUp:"onKeyUp",onShow:"onShow",onHide:"onHide",onLazyLoad:"onLazyLoad"},features:[e._Bn([mt])],decls:16,vars:31,consts:[[3,"ngClass","ngStyle"],["container",""],["pAutoFocus","","class","p-autocomplete-input p-inputtext p-component","aria-autocomplete","list","role","searchbox",3,"autofocus","ngStyle","class","autocomplete","ngClass","value","readonly","disabled","click","input","keydown","keyup","focus","blur","change","paste",4,"ngIf"],[4,"ngIf"],["class","p-autocomplete-multiple-container p-component p-inputtext",3,"ngClass","click",4,"ngIf"],["type","button","pButton","","class","p-autocomplete-dropdown p-button-icon-only","pRipple","",3,"disabled","click",4,"ngIf"],[3,"visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions","visibleChange","onAnimationStart","onShow","onHide"],["overlay",""],[4,"ngTemplateOutlet"],[3,"items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],["buildInItems",""],["pAutoFocus","","aria-autocomplete","list","role","searchbox",1,"p-autocomplete-input","p-inputtext","p-component",3,"autofocus","ngStyle","autocomplete","ngClass","value","readonly","disabled","click","input","keydown","keyup","focus","blur","change","paste"],["in",""],[3,"styleClass","click",4,"ngIf"],["class","p-autocomplete-clear-icon",3,"click",4,"ngIf"],[3,"styleClass","click"],[1,"p-autocomplete-clear-icon",3,"click"],[1,"p-autocomplete-multiple-container","p-component","p-inputtext",3,"ngClass","click"],["multiContainer",""],["class","p-autocomplete-token",4,"ngFor","ngForOf"],[1,"p-autocomplete-input-token"],["pAutoFocus","","aria-autocomplete","list","role","searchbox","aria-haspopup","true",3,"autofocus","disabled","readonly","autocomplete","ngStyle","input","click","keydown","keyup","focus","blur","change","paste"],["multiIn",""],[1,"p-autocomplete-token"],["token",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","p-autocomplete-token-label",4,"ngIf"],[1,"p-autocomplete-token-icon",3,"click"],[3,"styleClass",4,"ngIf"],["class","p-autocomplete-token-icon",4,"ngIf"],[1,"p-autocomplete-token-label"],[3,"styleClass"],[1,"p-autocomplete-token-icon"],[3,"styleClass","spin",4,"ngIf"],["class","p-autocomplete-loader pi-spin ",4,"ngIf"],[3,"styleClass","spin"],[1,"p-autocomplete-loader","pi-spin"],["type","button","pButton","","pRipple","",1,"p-autocomplete-dropdown","p-button-icon-only",3,"disabled","click"],["ddBtn",""],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"items","itemSize","autoSize","lazy","options","onLazyLoad"],["scroller",""],["pTemplate","content"],["pTemplate","loader"],["role","listbox",1,"p-autocomplete-items",3,"ngClass"],["items",""],["itemslist",""],["class","p-autocomplete-empty-message",3,"ngStyle",4,"ngIf"],["ngFor","",3,"ngForOf"],[1,"p-autocomplete-item-group",3,"ngStyle"],["role","option","class","p-autocomplete-item","pRipple","",3,"ngStyle","ngClass","id","click",4,"ngFor","ngForOf"],["role","option","pRipple","",1,"p-autocomplete-item",3,"ngStyle","ngClass","id","click"],[1,"p-autocomplete-empty-message",3,"ngStyle"],[4,"ngIf","ngIfElse"],["empty",""]],template:function(n,o){1&n&&(e.TgZ(0,"span",0,1),e.YNc(2,ce,2,23,"input",2),e.YNc(3,he,3,2,"ng-container",3),e.YNc(4,Ae,6,23,"ul",4),e.YNc(5,Oe,3,2,"ng-container",3),e.YNc(6,Ne,4,5,"button",5),e.TgZ(7,"p-overlay",6,7),e.NdJ("visibleChange",function(p){return o.overlayVisible=p})("onAnimationStart",function(p){return o.onOverlayAnimationStart(p)})("onShow",function(p){return o.show(p)})("onHide",function(p){return o.hide(p)}),e.TgZ(9,"div",0),e.YNc(10,De,1,0,"ng-container",8),e.YNc(11,Ue,4,10,"p-scroller",9),e.YNc(12,Pe,2,6,"ng-container",3),e.YNc(13,rt,7,7,"ng-template",null,10,e.W1O),e.YNc(15,ct,1,0,"ng-container",8),e.qZA()()()),2&n&&(e.Tol(o.styleClass),e.Q6J("ngClass",e.WLB(27,ut,o.dropdown,o.multiple))("ngStyle",o.style),e.xp6(2),e.Q6J("ngIf",!o.multiple),e.xp6(1),e.Q6J("ngIf",o.filled&&!o.disabled&&o.showClear&&!o.loading),e.xp6(1),e.Q6J("ngIf",o.multiple),e.xp6(1),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",o.dropdown),e.xp6(1),e.Q6J("visible",o.overlayVisible)("options",o.overlayOptions)("target","@parent")("appendTo",o.appendTo)("autoZIndex",o.autoZIndex)("baseZIndex",o.baseZIndex)("showTransitionOptions",o.showTransitionOptions)("hideTransitionOptions",o.hideTransitionOptions),e.xp6(2),e.Tol(o.panelStyleClass),e.Udp("max-height",o.virtualScroll?"auto":o.scrollHeight),e.Q6J("ngClass",e.DdM(30,dt))("ngStyle",o.panelStyle),e.xp6(1),e.Q6J("ngTemplateOutlet",o.headerTemplate),e.xp6(1),e.Q6J("ngIf",o.virtualScroll),e.xp6(1),e.Q6J("ngIf",!o.virtualScroll),e.xp6(3),e.Q6J("ngTemplateOutlet",o.footerTemplate))},dependencies:function(){return[_.mk,_.sg,_.O5,_.tP,_.PC,F.aV,h.jx,y.Hq,H.H,B.T,v.P,K.x,P.L,z.q,R.v]},styles:["@layer primeng{.p-autocomplete{display:inline-flex;position:relative}.p-autocomplete-loader{position:absolute;top:50%;margin-top:-.5rem}.p-autocomplete-dd .p-autocomplete-input{flex:1 1 auto;width:1%}.p-autocomplete-dd .p-autocomplete-input,.p-autocomplete-dd .p-autocomplete-multiple-container{border-top-right-radius:0;border-bottom-right-radius:0}.p-autocomplete-dd .p-autocomplete-dropdown{border-top-left-radius:0;border-bottom-left-radius:0}.p-autocomplete-panel{overflow:auto}.p-autocomplete-items{margin:0;padding:0;list-style-type:none}.p-autocomplete-item{cursor:pointer;white-space:nowrap;position:relative;overflow:hidden}.p-autocomplete-multiple-container{margin:0;padding:0;list-style-type:none;cursor:text;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap}.p-autocomplete-token{width:-moz-fit-content;width:fit-content;cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-autocomplete-token-icon{display:flex;cursor:pointer}.p-autocomplete-input-token{flex:1 1 auto;display:inline-flex}.p-autocomplete-input-token input{border:0 none;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.p-fluid .p-autocomplete{display:flex}.p-fluid .p-autocomplete-dd .p-autocomplete-input{width:1%}.p-autocomplete-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-autocomplete-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return i})(),_t=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=e.oAB({type:i});static \u0275inj=e.cJS({imports:[_.ez,F.U8,ee.j,y.hJ,h.m8,H.T,B.v,v.E,K.x,P.L,z.q,R.v,F.U8,h.m8,B.v,v.E]})}return i})();var ht=s(2712),gt=s(6215),ft=s(1601),Ct=s(3835),xt=s(5405),vt=s(3965),Tt=s(5025);const yt=["monacoEditorModalC"];function It(i,a){1&i&&e._UZ(0,"i",37)}function At(i,a){1&i&&e._UZ(0,"i",38)}function bt(i,a){if(1&i&&(e.TgZ(0,"div",34)(1,"span"),e._uU(2),e.qZA(),e.YNc(3,It,1,0,"i",35),e.YNc(4,At,1,0,"i",36),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(2);e.xp6(2),e.Oqu(t.apiVersion),e.xp6(1),e.Q6J("ngIf",n.tpApiVersionIdMap&&n.tpApiVersionIdMap[t.bundleName]&&n.tpApiVersionIdMap[t.bundleName][t.apiVersion]),e.xp6(1),e.Q6J("ngIf",t.dockerFile)}}function St(i,a){1&i&&e.YNc(0,bt,5,3,"div",33),2&i&&e.Q6J("ngIf",a.$implicit)}function wt(i,a){1&i&&e._UZ(0,"i",37)}function Mt(i,a){1&i&&e._UZ(0,"i",38)}function Ot(i,a){if(1&i&&(e.TgZ(0,"div",34)(1,"span"),e._uU(2),e.qZA(),e.YNc(3,wt,1,0,"i",35),e.YNc(4,Mt,1,0,"i",36),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(2);e.xp6(2),e.Oqu(t.apiVersion),e.xp6(1),e.Q6J("ngIf",n.tpApiVersionIdMap&&n.tpApiVersionIdMap[t.bundleName]&&n.tpApiVersionIdMap[t.bundleName][t.apiVersion]),e.xp6(1),e.Q6J("ngIf",t.dockerFile)}}function Et(i,a){1&i&&e.YNc(0,Ot,5,3,"div",33),2&i&&e.Q6J("ngIf",a.$implicit)}function kt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"span",39),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.viewDockerfile())}),e._UZ(1,"i",40),e._uU(2," View dockerfile"),e.qZA()}}function Lt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.uninstallSchema())}),e._uU(1,"Uninstall API Version "),e.qZA()}}function Zt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",42),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.installVersionAndSchemaHandler("install"))}),e._uU(1,"Install API Version"),e.qZA()}}function Vt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",43),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.installVersionAndSchemaHandler("uninstall"))}),e._uU(1,"Uninstall Library "),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("disabled",t.loading.form)}}function Nt(i,a){1&i&&e._UZ(0,"p-progressSpinner",44)}function Dt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",5)(1,"div",6)(2,"span"),e._UZ(3,"i",7),e._uU(4," API Bundle Details"),e.qZA(),e.TgZ(5,"button",8)(6,"span",9),e._UZ(7,"i",10),e.qZA()()(),e.TgZ(8,"div",11)(9,"div",12),e._UZ(10,"img",13),e.qZA(),e.TgZ(11,"div",14)(12,"h6",15),e._uU(13),e.qZA(),e.TgZ(14,"div",16),e._uU(15),e.qZA(),e.TgZ(16,"div",17)(17,"div",18)(18,"span",19),e._uU(19,"API Version"),e.qZA(),e.TgZ(20,"p-dropdown",20),e.NdJ("onChange",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedApiVersion=o.value)}),e.YNc(21,St,1,1,"ng-template",21),e.YNc(22,Et,1,1,"ng-template",22),e.qZA(),e.TgZ(23,"div",23),e.YNc(24,kt,3,0,"span",24),e.qZA()(),e.TgZ(25,"div",25)(26,"span",19),e._uU(27,"Operation"),e.qZA(),e.YNc(28,Lt,2,0,"button",26),e.YNc(29,Zt,2,0,"ng-template",null,27,e.W1O),e.qZA()()()(),e.TgZ(31,"div",28),e.YNc(32,Vt,2,1,"button",29),e.TgZ(33,"button",30),e._UZ(34,"i",31),e._uU(35," Close"),e.qZA()(),e.YNc(36,Nt,1,0,"p-progressSpinner",32),e.qZA()}if(2&i){const t=e.MAs(30),n=e.oxw();e.xp6(10),e.s9C("src",n.apiBundle.iconUrl,e.LSH),e.s9C("alt",n.apiBundle.name),e.xp6(3),e.Oqu(n.apiBundle.label),e.xp6(2),e.Oqu(n.apiBundle.description),e.xp6(5),e.Q6J("options",n.apiVersions)("ngModel",n.selectedApiVersion)("filter",!0),e.xp6(4),e.Q6J("ngIf",null==n.selectedApiVersion?null:n.selectedApiVersion.dockerFile),e.xp6(4),e.Q6J("ngIf",n.tpApiVersionIdMap&&n.tpApiVersionIdMap[null==n.selectedApiVersion?null:n.selectedApiVersion.bundleName]&&n.tpApiVersionIdMap[null==n.selectedApiVersion?null:n.selectedApiVersion.bundleName][null==n.selectedApiVersion?null:n.selectedApiVersion.apiVersion])("ngIfElse",t),e.xp6(4),e.Q6J("ngIf",n.tpApiVersionIdMap[n.apiBundle._id]),e.xp6(4),e.Q6J("ngIf",n.loading.form)}}let j=(()=>{class i{fb;ns;confirmationService;userS;generalS;cs;eventCenterCS;authCS;storeApisCS;cd;tpStoreApiVersionS;STORE_BE_HOST_PORT_SITES=T.N.STORE_BE_HOST_PORT_SITES;apiBundle;tpApiVersionIdMap;tpApiBundleIdMap;change=new e.vpe;loading={form:!1};subscriptions=[];selectedApiVersion;apiVersions=[];editorOptionsMonacoEditorModal={readOnly:!0,language:"dockerfile",contextmenu:!0};monacoEditorModalC;constructor(t,n,o,l,p,x,f,L,G,Q,U){this.fb=t,this.ns=n,this.confirmationService=o,this.userS=l,this.generalS=p,this.cs=x,this.eventCenterCS=f,this.authCS=L,this.storeApisCS=G,this.cd=Q,this.tpStoreApiVersionS=U}ngOnInit(){}init(){var t=this;return(0,u.Z)(function*(){if(!t.apiBundle)return;t.apiVersions=[],t.selectedApiVersion=void 0;const n={find:{bundleName:t.apiBundle.name,active:!0,apiVersionState:gt.B.PUBLISHED},select:{bundleName:1,apiVersion:1,dependencies:1,secretKeys:1,dockerFile:1}};t.apiVersions=(yield t.storeApisCS.storeAPIVersion(t.STORE_BE_HOST_PORT_SITES,n)).data,t.apiVersions.length&&(t.selectedApiVersion=t.apiVersions[0]),t.sortAPIVersions(),t.cd.detectChanges()})()}showLibraryModal(t){this.apiBundle=t,this.init(),this.loading.form=!1,$("#idLibDetailModal").modal("show"),this.cd.detectChanges()}hideLibraryModal(){$("#idLibDetailModal").modal("hide")}sortAPIVersions(){this.apiVersions.sort((t,n)=>ht(n.apiVersion,t.apiVersion))}installVersionAndSchemaHandler(t){var n=this;return(0,u.Z)(function*(){var o;n.selectedApiVersion.dockerFile?n.confirmationService.confirm({message:n.cs.appStore.dockerfileInstallConfirmation,header:"Confirmation",icon:"pi pi-exclamation-triangle",accept:(o=(0,u.Z)(function*(){yield n.installOrUninstallAPIVersion(t)}),function(){return o.apply(this,arguments)})}):yield n.installOrUninstallAPIVersion(t)})()}installOrUninstallAPIVersion(t){var n=this;return(0,u.Z)(function*(){try{n.loading.form=!0;let o=null;"install"===t&&(o={apiBundleName:n.apiBundle.name,apiBundleLabel:n.apiBundle.label,storeApiVersion:n.selectedApiVersion.apiVersion,dependencies:n.selectedApiVersion.dependencies,secretKeys:n.selectedApiVersion.secretKeys,user:n.authCS.getUserId(),active:!0}),yield n.tpStoreApiVersionS.installApisFromStore(o,t).toPromise(),n.loading.form=!1,t.toString().toUpperCase(),n.ns.showSuccess("APIs installed successfully."),n.change.emit(Math.random())}catch(o){n.loading.form=!1,n.cd.detectChanges(),n.ns.showErrorFromResponse(o.error||o,"Unable to API bundle install.")}})()}uninstallSchema(){var t=this;return(0,u.Z)(function*(){t.loading.form=!0,yield t.tpStoreApiVersionS.uninstallSchemaApis(t.selectedApiVersion).toPromise(),t.ns.showSuccess("APIs uninstalled successfully."),t.change.emit(Math.random()),t.loading.form=!1})()}viewDockerfile(){this.monacoEditorModalC.showModal(this.selectedApiVersion.dockerFile,ft.d.dockerfile)}ngOnDestroy(){this.generalS.unsubscribe(this.subscriptions)}static \u0275fac=function(n){return new(n||i)(e.Y36(c.qu),e.Y36(m.W),e.Y36(h.YP),e.Y36(Ct.K),e.Y36(Z.b),e.Y36(w.L),e.Y36(xt.M),e.Y36(r.D),e.Y36(V.V),e.Y36(e.sBO),e.Y36(d.f))};static \u0275cmp=e.Xpm({type:i,selectors:[["app-lib-details-modal"]],viewQuery:function(n,o){if(1&n&&e.Gf(yt,5),2&n){let l;e.iGM(l=e.CRH())&&(o.monacoEditorModalC=l.first)}},inputs:{tpApiVersionIdMap:"tpApiVersionIdMap",tpApiBundleIdMap:"tpApiBundleIdMap"},outputs:{change:"change"},decls:5,vars:4,consts:[["aria-hidden","true","aria-labelledby","exampleModalLabel","id","idLibDetailModal","role","dialog","data-backdrop","static","data-keyboard","false",1,"modal"],["role","document",1,"modal-dialog"],["class","modal-content",4,"ngIf"],[3,"modalId","editorOptionsMonacoEditorModal","modalTitle"],["monacoEditorModalC",""],[1,"modal-content"],[1,"modal-header"],[1,"fas","fa-cube","text-info","fa-fw","mr-1"],["aria-label","Close","data-dismiss","modal","type","button",1,"close"],["aria-hidden","true"],[1,"fas","fa-window-close"],[1,"modal-body","overflow-auto","pt-3"],[1,"pl-4","pr-4","pt-2","text-center",2,"height","125px"],[1,"card-img-top","mt-3",2,"height","70%","width","auto",3,"src","alt"],[1,"p-2"],[1,"card-title","mb-3","text-overflow-ellipsis"],[1,"small","line-height-1","mt-2","block-desc"],[1,"row","mt-2","mb-4"],[1,"col-6","pr-0"],[1,"bold","small"],["filterBy","schemaVersion","appendTo","body","styleClass","w-100 p-input-filled",3,"options","ngModel","filter","onChange"],["pTemplate","item"],["pTemplate","selectedItem"],[1,"text-right"],["class","small text-info cursor-pointer",3,"click",4,"ngIf"],[1,"col-6"],["class","btn btn-sm btn-warning btn-block","type","button",3,"click",4,"ngIf","ngIfElse"],["install",""],[1,"modal-footer","d-block"],["class","btn btn-sm btn-danger","type","button",3,"disabled","click",4,"ngIf"],["data-dismiss","modal","type","button",1,"btn","btn-sm","btn-secondary","float-right"],[1,"fas","fa-times","text-danger","fa-fw"],["styleClass","w-4rem h-4rem","strokeWidth","4","animationDuration",".5s",4,"ngIf"],["class","text-nowrap w-100",4,"ngIf"],[1,"text-nowrap","w-100"],["class","fas fa-check fa-fw float-right text-success pt-1 ml-2",4,"ngIf"],["class","fab fa-docker fa-fw float-right text-info pt-1",4,"ngIf"],[1,"fas","fa-check","fa-fw","float-right","text-success","pt-1","ml-2"],[1,"fab","fa-docker","fa-fw","float-right","text-info","pt-1"],[1,"small","text-info","cursor-pointer",3,"click"],[1,"fab","fa-docker"],["type","button",1,"btn","btn-sm","btn-warning","btn-block",3,"click"],["type","button",1,"btn","btn-sm","btn-success","btn-block",3,"click"],["type","button",1,"btn","btn-sm","btn-danger",3,"disabled","click"],["styleClass","w-4rem h-4rem","strokeWidth","4","animationDuration",".5s"]],template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Dt,37,12,"div",2),e.qZA()(),e._UZ(3,"app-monaco-editor-modal",3,4)),2&n&&(e.xp6(2),e.Q6J("ngIf",o.apiBundle),e.xp6(1),e.Q6J("modalId","idViewDockerfileModel")("editorOptionsMonacoEditorModal",o.editorOptionsMonacoEditorModal)("modalTitle","View dockerfile"))},dependencies:[c.JJ,c.On,_.O5,h.jx,E.G,vt.Lt,Tt.A],encapsulation:2,changeDetection:0})}return i})();var Jt=s(4066);const Yt=["libDetailModalC"];function Ft(i,a){1&i&&(e.TgZ(0,"span",26),e._uU(1,"Installed"),e.qZA())}function Bt(i,a){1&i&&(e.TgZ(0,"span",27),e._uU(1,"Install"),e.qZA())}function Gt(i,a){if(1&i&&(e.TgZ(0,"div",23),e.YNc(1,Ft,2,0,"span",24),e.YNc(2,Bt,2,0,"span",25),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.tpApiBundleIdMap[t.name]),e.xp6(1),e.Q6J("ngIf",!n.tpApiBundleIdMap[t.name])}}function Qt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",14),e.NdJ("click",function(){const l=e.CHM(t).$implicit,p=e.oxw();return e.KtG(p.libraryClick(l))}),e.TgZ(1,"div",15),e._UZ(2,"img",16),e.qZA(),e.TgZ(3,"div",17)(4,"h6",18),e._uU(5),e.qZA(),e.TgZ(6,"div",19)(7,"span",20),e._uU(8),e.ALo(9,"moment"),e.qZA()(),e.TgZ(10,"div",21),e._uU(11),e.qZA(),e.YNc(12,Gt,3,2,"div",22),e.qZA()()}if(2&i){const t=a.$implicit,n=e.oxw();e.xp6(2),e.s9C("src",t.iconUrl,e.LSH),e.s9C("alt",t.label),e.xp6(3),e.Oqu(t.label),e.xp6(2),e.Q6J("pTooltip","Last published on."),e.xp6(1),e.Oqu(e.xi3(9,7,t.lastPublished,n.cs.DATE_FORMAT_USER)),e.xp6(3),e.Oqu(t.description),e.xp6(1),e.Q6J("ngIf",n.tpApiBundleIdMap)}}function Ut(i,a){1&i&&e._UZ(0,"p-progressSpinner",28)}const Ht=function(){return{"padding-top":"5px","padding-bottom":"5px","padding-left":"5px",width:"1000px"}};let X=(()=>{class i{generalS;instanceS;cs;storeApisCS;feStoreCS;authCS;tpStoreApiVersionS;notificationS;eventCenterS;constantsS;cd;searchText="";autoCompleteData=[];virtual={itemHeight:28};apiBundles=[];selectedLib;tpApiVersionIdMap={};tpApiBundleIdMap={};loading={apiPackages:!1};STORE_BE_HOST_PORT_SITES=T.N.STORE_BE_HOST_PORT_SITES;STORE_IMAGE_DOMAIN=T.N.STORE_IMAGE_DOMAIN;LICENSE_KEY=T.N.LICENSE_KEY;passStoreCommunication=T.N.crypto.passStoreCommunication;libDetailModalC;constructor(t,n,o,l,p,x,f,L,G,Q,U){this.generalS=t,this.instanceS=n,this.cs=o,this.storeApisCS=l,this.feStoreCS=p,this.authCS=x,this.tpStoreApiVersionS=f,this.notificationS=L,this.eventCenterS=G,this.constantsS=Q,this.cd=U}ngOnInit(){this.loadAutoComplete(),this.findAPIBundles(),this.loadDependenciesAndSchemas(),this.generalS.setNewTitle("API Maker Store")}findAPIBundles(){var t=this;return(0,u.Z)(function*(){t.searchText=t.searchText.trim(),t.loading.apiPackages=!0,setTimeout((0,u.Z)(function*(){t.apiBundles=(yield t.storeApisCS.findAPIBundles(t.STORE_BE_HOST_PORT_SITES,{name:{$regex:`.*(${t.searchText}).*`,$options:"i"},apiBundleState:O.PUBLISHED}).toPromise()).data,yield t.feStoreCS.setDefaultLibIcon(t.STORE_IMAGE_DOMAIN,t.apiBundles),t.loading.apiPackages=!1,t.cd.detectChanges()})),t.cd.detectChanges()})()}loadAutoComplete(){var t=this;return(0,u.Z)(function*(){t.autoCompleteData=(yield t.storeApisCS.distinct_field(t.STORE_BE_HOST_PORT_SITES,{},"name","asc",t.LICENSE_KEY,t.passStoreCommunication).toPromise()).data,t.cd.detectChanges()})()}loadDependenciesAndSchemas(){var t=this;return(0,u.Z)(function*(){const{tpApiVersionIdMap:n,tpApiBundleIdMap:o}=(yield t.instanceS.getInstalledPackagesAndSchemas().toPromise()).data;t.tpApiVersionIdMap=n,t.tpApiBundleIdMap=o,t.cd.detectChanges()})()}versionChanged(){var t=this;return(0,u.Z)(function*(){yield t.loadDependenciesAndSchemas()})()}libraryClick(t){var n=this;return(0,u.Z)(function*(){n.selectedLib=t,n.libDetailModalC.showLibraryModal(n.selectedLib)})()}static \u0275fac=function(n){return new(n||i)(e.Y36(Z.b),e.Y36(S.E),e.Y36(w.L),e.Y36(V.V),e.Y36(Y.e),e.Y36(r.D),e.Y36(d.f),e.Y36(m.W),e.Y36(C.u),e.Y36(w.L),e.Y36(e.sBO))};static \u0275cmp=e.Xpm({type:i,selectors:[["app-app-store-layout"]],viewQuery:function(n,o){if(1&n&&e.Gf(Yt,5),2&n){let l;e.iGM(l=e.CRH())&&(o.libDetailModalC=l.first)}},decls:18,vars:9,consts:[[1,"p-1"],[1,"container","mt-3"],[1,"row"],[1,"col-12"],[1,"text-center","mb-3"],[1,"input-group","input-group-lg","mb-3","shadow-sm"],["inputStyleClass","form-control","placeholder","Search Package",3,"ngModel","suggestions","ngModelChange","keyup.enter"],[1,"input-group-append"],["type","button","id","button-addon2",1,"btn","btn-primary",3,"click"],[1,"d-flex","flex-wrap","justify-content-center","overflow-auto",2,"height","calc(100vh - 206px)","align-content","flex-start"],["class","card shadow-sm d-inline-block m-2 cursor-pointer","style","width: 14rem; height: 280px; overflow: hidden;",3,"click",4,"ngFor","ngForOf"],["styleClass","w-4rem h-4rem","strokeWidth","4","animationDuration",".5s",4,"ngIf"],[3,"tpApiVersionIdMap","tpApiBundleIdMap","change"],["libDetailModalC",""],[1,"card","shadow-sm","d-inline-block","m-2","cursor-pointer",2,"width","14rem","height","280px","overflow","hidden",3,"click"],[1,"pl-4","pr-4","pt-2","text-center",2,"height","125px"],[1,"card-img-top","mt-3",2,"height","70%","width","auto",3,"src","alt"],[1,"pl-2","pr-2","pb-2"],[1,"card-title","mb-2","line-height-1-plain","block-desc-2-lines","text-center",2,"color","#D27E00"],[1,"mb-1","text-right"],[1,"small","text-warning","italic",3,"pTooltip"],[1,"small","line-height-1","block-desc-4-lines","text-center"],["class","text-right",4,"ngIf"],[1,"text-right"],["class","text-muted pr-1 italic small",4,"ngIf"],["class","text-info pr-1 small",4,"ngIf"],[1,"text-muted","pr-1","italic","small"],[1,"text-info","pr-1","small"],["styleClass","w-4rem h-4rem","strokeWidth","4","animationDuration",".5s"]],template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"div",3)(5,"h2",4),e._uU(6,"API Maker Store"),e.qZA()(),e.TgZ(7,"div",3)(8,"div",5)(9,"p-autoComplete",6),e.NdJ("ngModelChange",function(p){return o.searchText=p})("keyup.enter",function(){return o.findAPIBundles()}),e.qZA(),e.TgZ(10,"div",7)(11,"button",8),e.NdJ("click",function(){return o.findAPIBundles()}),e._uU(12,"Search"),e.qZA()()()()()()(),e.TgZ(13,"div",9),e.YNc(14,Qt,13,10,"div",10),e.YNc(15,Ut,1,0,"p-progressSpinner",11),e.qZA()(),e.TgZ(16,"app-lib-details-modal",12,13),e.NdJ("change",function(){return o.versionChanged()}),e.qZA()),2&n&&(e.xp6(9),e.Akn(e.DdM(8,Ht)),e.Q6J("ngModel",o.searchText)("suggestions",o.autoCompleteData),e.xp6(5),e.Q6J("ngForOf",o.apiBundles),e.xp6(1),e.Q6J("ngIf",o.loading.apiPackages),e.xp6(1),e.Q6J("tpApiVersionIdMap",o.tpApiVersionIdMap)("tpApiBundleIdMap",o.tpApiBundleIdMap))},dependencies:[c.JJ,c.On,_.sg,_.O5,E.G,M.u,W,j,Jt.d],styles:[".block-desc-2-lines[_ngcontent-%COMP%]{height:30px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.block-desc-4-lines[_ngcontent-%COMP%]{height:60px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0})}return i})();var Kt=s(3726),Pt=s(4950);const zt=[{path:"main",component:X,canActivate:[Kt.P]}];let Rt=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=e.oAB({type:i});static \u0275inj=e.cJS({imports:[I.Bz.forChild(zt),g.u,Pt.A,_t]})}return i})()},2712:function(J,b){var s,g;void 0!==(g="function"==typeof(s=function(){var u=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function O(r){var d=r.replace(/^v/,"").replace(/\+.*$/,""),m=function T(r,d){return-1===r.indexOf(d)?r.length:r.indexOf(d)}(d,"-"),C=d.substring(0,m).split(".");return C.push(d.substring(m+1)),C}function e(r){return isNaN(Number(r))?r:Number(r)}function Z(r){if("string"!=typeof r)throw new TypeError("Invalid argument expected string");if(!u.test(r))throw new Error("Invalid argument not valid semver ('"+r+"' received)")}function S(r,d){[r,d].forEach(Z);for(var m=O(r),C=O(d),c=0;c<Math.max(m.length-1,C.length-1);c++){var _=parseInt(m[c]||0,10),E=parseInt(C[c]||0,10);if(_>E)return 1;if(E>_)return-1}var M=m[m.length-1],h=C[C.length-1];if(M&&h){var v=M.split(".").map(e),y=h.split(".").map(e);for(c=0;c<Math.max(v.length,y.length);c++){if(void 0===v[c]||"string"==typeof y[c]&&"number"==typeof v[c])return-1;if(void 0===y[c]||"string"==typeof v[c]&&"number"==typeof y[c]||v[c]>y[c])return 1;if(y[c]>v[c])return-1}}else if(M||h)return M?-1:1;return 0}var w=[">",">=","=","<","<="],V={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};return S.validate=function(r){return"string"==typeof r&&u.test(r)},S.compare=function(r,d,m){!function Y(r){if("string"!=typeof r)throw new TypeError("Invalid operator type, expected string but got "+typeof r);if(-1===w.indexOf(r))throw new TypeError("Invalid operator, expected one of "+w.join("|"))}(m);var C=S(r,d);return V[m].indexOf(C)>-1},S})?s.apply(b,[]):s)&&(J.exports=g)}}]);
|
|
@@ -63,7 +63,7 @@ p-progressSpinner .p-progress-spinner {
|
|
|
63
63
|
|
|
64
64
|
// Dropdown size related changes
|
|
65
65
|
.p-inputtext { font-size: 14px; padding: .25rem .5rem; }
|
|
66
|
-
.p-component.p-overlay { z-index:
|
|
66
|
+
.p-component.p-overlay { z-index: 1100 !important; }
|
|
67
67
|
.p-dropdown-panel .p-dropdown-header { padding: 0.3rem 0.3rem; }
|
|
68
68
|
.p-dropdown-panel .p-dropdown-items .p-dropdown-item { padding: .25rem 1rem; }
|
|
69
69
|
ol, ul, dl { margin-bottom: 0; }
|
|
@@ -229,6 +229,9 @@ export interface IAMGlobalResponse {
|
|
|
229
229
|
|
|
230
230
|
/** List of errors. If any error occurs. It will be returned to user. */
|
|
231
231
|
warnings?: IResponseError[];
|
|
232
|
+
|
|
233
|
+
/** Set value of headers for response. */
|
|
234
|
+
headers?: any;
|
|
232
235
|
}
|
|
233
236
|
|
|
234
237
|
export enum EType {
|
|
@@ -264,7 +267,12 @@ export interface ISchemaType {
|
|
|
264
267
|
[key: string]: IAnySchemaPropertyType;
|
|
265
268
|
}
|
|
266
269
|
|
|
270
|
+
export interface ISchemaTypeCustomApi {
|
|
271
|
+
[key: string]: IAnySchemaPropertyTypeCustomApi;
|
|
272
|
+
}
|
|
273
|
+
|
|
267
274
|
export type IAnySchemaPropertyType = EType | [EType] | ISchemaProperty | [ISchemaProperty] | ISchemaType | [ISchemaType];
|
|
275
|
+
export type IAnySchemaPropertyTypeCustomApi = EType | [EType] | ISchemaPropertyCustomApi | [ISchemaPropertyCustomApi] | ISchemaTypeCustomApi | [ISchemaTypeCustomApi];
|
|
268
276
|
|
|
269
277
|
export interface ISchemaProperty { // Add new schema property in ValidateDBSchema too
|
|
270
278
|
__type?: EType;
|
|
@@ -338,6 +346,8 @@ export interface ISchemaProperty { // Add new schema property in ValidateDBSchem
|
|
|
338
346
|
isVirtualField?: boolean;
|
|
339
347
|
}
|
|
340
348
|
|
|
349
|
+
export type ISchemaPropertyCustomApi = Pick<ISchemaProperty, '__type' | 'conversions' | 'validations'>;
|
|
350
|
+
|
|
341
351
|
export interface IIsAutoIncrementByAM {
|
|
342
352
|
start: number;
|
|
343
353
|
step?: number; // default value will be 1
|
|
@@ -784,8 +794,8 @@ export interface ICustomApiSettingsTypes extends IAuthTokenInfoCommon {
|
|
|
784
794
|
resetCacheOnModificationOf?: string[]; // ins.db.col | api_bundle.version
|
|
785
795
|
acceptOnlyEncryptedData?: boolean; // database & collection & api level setting
|
|
786
796
|
|
|
787
|
-
reqBodySchema?:
|
|
788
|
-
reqQueryParametersSchema?:
|
|
797
|
+
reqBodySchema?: ISchemaTypeCustomApi;
|
|
798
|
+
reqQueryParametersSchema?: ISchemaTypeCustomApi;
|
|
789
799
|
|
|
790
800
|
/**
|
|
791
801
|
* - If true, code will execute on original Node.js process and not in sandbox.<br/>
|
|
@@ -2083,6 +2093,15 @@ export interface IDBMasterConfig {
|
|
|
2083
2093
|
/** Default: false, If true, it will hide close button. */
|
|
2084
2094
|
hideCloseButton?: boolean;
|
|
2085
2095
|
|
|
2096
|
+
/** Default: Save, It will be used as label of save button */
|
|
2097
|
+
labelOfSaveButton?: string;
|
|
2098
|
+
|
|
2099
|
+
/** Default: Update, It will be used as label of update button in edit operation */
|
|
2100
|
+
labelOfUpdateButton?: string;
|
|
2101
|
+
|
|
2102
|
+
/** Default: Cancel, It will be used as label of cancel/close button */
|
|
2103
|
+
labelOfCancelButton?: string;
|
|
2104
|
+
|
|
2086
2105
|
/** Default : true,
|
|
2087
2106
|
* If multiple is coming from API which is not mapped to any field, it will show in table.
|
|
2088
2107
|
* In case of only one error, it will show in notification.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@font-face{font-family:Verdana;src:url(../fonts/Verdana.ttf)}@font-face{font-family:JetBrains Mono;src:url(../fonts/JetBrainsMonoRegular.ttf)}body{min-width:1349px}::-webkit-scrollbar{height:7px;width:7px}::-webkit-scrollbar-track{background:transparent;border-radius:8px}::-webkit-scrollbar-thumb{background:#5b5b5b;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#5b5b5b}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}@keyframes fadein{0%{opacity:0}to{opacity:1}}.cursor-pointer{cursor:pointer}.text-v-small{font-size:70%}.mt-1px{margin-top:1px}.mt--1px{margin-top:-1px}.mt--2px{margin-top:-2px}.dialog-text{margin:30px;text-align:center}.full-body{height:calc(100vh - 56px)}.line-height-1-3{line-height:1.3rem}.line-height-1{line-height:1rem}.line-height-1-plain{line-height:1}.icon-inside-table-cell{height:30px;padding:0!important;text-align:center!important;vertical-align:middle!important;width:30px}.icon-inside-table-cell img{height:20px;width:20px}.font-monospaced{font-family:JetBrains Mono,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-verdana{font-family:Verdana,sans-serif}.font-jetbrains-mono{font-family:JetBrains Mono,Monaco,SFMono-Regular,Menlo,Consolas,Liberation Mono,Courier New,monospace}.text-overflow-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.italic{font-style:italic}.w-10-nowrap{white-space:nowrap;width:10px}.btn-xsm-custom{height:23px;line-height:.5;padding:0;width:30px}.text-yellow{color:#dbdb37}textarea{resize:none}.request-cancel-button{left:calc(50% - 50px);margin:0;position:absolute;text-transform:uppercase;top:calc(50% + 40px);width:100px;z-index:2}.maximize-testing-tab{height:calc(100vh - 26px);left:0;position:absolute;top:0;width:100%}.maximize-testing-panel{border:0;position:absolute;top:0;width:100%}.panel-body-h{height:calc(100vh - 75px)}.tab-content-h{height:calc(100vh - 80px)}.tab-content-h-maximize{height:calc(100vh - 64px)}.tab-content-h-maximize .monaco-code-h{height:calc(100vh - 100px)!important}.api-list .monaco-code-h{height:calc(100vh - 238px)}.api-list-test-hook .monaco-code-h{height:calc(100vh - 360px)}.modal-full{max-width:calc(100vw - 100px)}.table-no-padding td{height:30px;padding:0}.table-no-padding td div{min-height:30px;padding:.2rem .75rem}.table-no-padding td div.selected-row{background-color:rgba(47,100,115,.341)}.font-label{font-size:.875rem}.highlightMatchedWord{background:#ff0!important;color:#000!important;font-weight:700!important}.highlightLineHavingError{border-bottom:1px dashed red}.parent-notes-modal .child-notes-grid{height:calc(100% - 10px)!important}.prevent-text-selection{-webkit-user-select:none;-moz-user-select:none;user-select:none}.logs-collapse-div{background:#3d3d3d;height:25px}.preHookCounter{right:.5em;rotate:270deg}.postHookCounter,.preHookCounter{align-items:center;background-color:grey;border-radius:.8em;color:#fff;display:flex;font-size:.8em;height:1.5em;justify-content:center;min-width:1.5em;position:absolute}.postHookCounter{right:-.5em;rotate:90deg}div.delta-to-html .ql-size-huge{font-size:xx-large}div.delta-to-html pre{background:#1d1d1d;color:inherit;display:block;font-size:87.5%;padding:10px}div.delta-to-html table,div.delta-to-html td,div.delta-to-html th{border:1px solid grey;text-align:left}div.delta-to-html table{background:#3b3b3b;border-collapse:collapse;border-color:grey;border-spacing:2px;box-sizing:border-box;display:table;text-indent:0;width:100%}div.delta-to-html td,div.delta-to-html th{padding:6px}div.delta-to-html tr:nth-of-type(odd){background:rgba(40,40,40,.78)}app-fun-man-layout .custom-api-grid-height{height:calc(100vh - 82px)}app-db-cell-layout app-w-instances .instance-grid-height{height:calc(100vh - 94px)}app-db-cell-layout app-w-collections .collection-grid-height,app-db-cell-layout app-w-databases .database-grid-height{height:calc(50vh - 68px)}app-system-api-layout app-system-api-w .system-api-grid-height{height:calc(100vh - 82px)}app-event-man-layout app-events-grid .events-grid-height,app-tp-api-layout app-w-supported-tp-api .system-api-grid-height{height:calc(100vh - 94px)}app-scheduler-man-layout app-scheduler-man-w .schedulers-grid-height,app-web-socket-events-layout-grid app-web-socket-events-grid .ws-events-grid-height{height:calc(100vh - 82px)}app-logprofile-layout app-w-logprofiles .log-profile-grid-height,app-utility-classes-layout app-utility-classes-list .utility-classes-grid-height{height:calc(100vh - 94px)}app-notes-layout app-notes-list .notes-grid-height{height:calc(100vh - 86px)}app-notes-layout app-notes-form .notes-form-height{height:calc(100vh - 94px)}app-notes-modal app-notes-list .notes-grid-height{height:calc(100vh - 102px)}app-notes-modal app-notes-form .notes-form-height{height:calc(100vh - 94px)}app-code-finder-modal app-code-finder-w .code-finder-height{height:calc(100vh - 72px)!important}app-root app-code-finder-w .code-finder-height{height:calc(100vh - 52px)}.dropdown-menu{z-index:1051}a{color:#aaa}.p-tree-empty-message{padding-top:20px;position:absolute;text-align:center;width:100%}.json-key{color:#9d74af}.json-val{color:#6aab73}#svgContainerId svg{height:calc(100vh - 88px);width:calc(100vw - 20px)}#svgContainerId rect,#svgContainerId text{cursor:grab}.p-datatable-header{padding:0!important}.width-300{width:300px}.p-datatable.p-datatable-hoverable-rows .p-datatable-tbody>tr:not(.p-highlight):hover{background:none!important;color:inherit!important}p-radioButton.inline-small-radio .p-radiobutton-label{margin-bottom:0!important}.word-break-all{word-break:break-all}#id_api_maker_deploy_file_upload .p-fileupload-content{padding:10px 0;text-align:left}#id_api_maker_deploy_file_upload .p-fileupload-content .p-fileupload-row div:first-of-type{display:none}#id_api_maker_deploy_file_upload .p-fileupload-content .p-fileupload-row div:nth-of-type(2){padding:0 0 0 10px;width:75%}#id_api_maker_deploy_file_upload .p-fileupload-content .p-fileupload-row div:nth-of-type(3){padding:0;text-align:center}#id_api_maker_deploy_file_upload .p-fileupload-content .p-fileupload-row div:nth-of-type(4){padding:0 10px 0 0;width:74px}.id_ptree_db_master_config_outline .p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler{height:1.5rem;margin-right:0;width:1.5rem}.id_ptree_db_master_config_outline .tree-width{width:auto}.id_ptree_db_master_config_outline .tree-width .p-tree-container{display:table}p-dropdown .fix-height-issue{height:29px}
|
|
1
|
+
@font-face{font-family:Verdana;src:url(../fonts/Verdana.ttf)}@font-face{font-family:JetBrains Mono;src:url(../fonts/JetBrainsMonoRegular.ttf)}body{min-width:1349px}::-webkit-scrollbar{height:7px;width:7px}::-webkit-scrollbar-track{background:transparent;border-radius:8px}::-webkit-scrollbar-thumb{background:#5b5b5b;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#5b5b5b}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}@keyframes fadein{0%{opacity:0}to{opacity:1}}.cursor-pointer{cursor:pointer}.text-v-small{font-size:70%}.mt-1px{margin-top:1px}.mt--1px{margin-top:-1px}.mt--2px{margin-top:-2px}.dialog-text{margin:30px;text-align:center}.full-body{height:calc(100vh - 56px)}.line-height-1-3{line-height:1.3rem}.line-height-1{line-height:1rem}.line-height-1-plain{line-height:1}.icon-inside-table-cell{height:30px;padding:0!important;text-align:center!important;vertical-align:middle!important;width:30px}.icon-inside-table-cell img{height:20px;width:20px}.font-monospaced{font-family:JetBrains Mono,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-verdana{font-family:Verdana,sans-serif}.font-jetbrains-mono{font-family:JetBrains Mono,Monaco,SFMono-Regular,Menlo,Consolas,Liberation Mono,Courier New,monospace}.text-overflow-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.italic{font-style:italic}.w-10-nowrap{white-space:nowrap;width:10px}.btn-xsm-custom{height:23px;line-height:.5;padding:0;width:30px}.text-yellow{color:#dbdb37}textarea{resize:none}.request-cancel-button{left:calc(50% - 50px);margin:0;position:absolute;text-transform:uppercase;top:calc(50% + 40px);width:100px;z-index:2}.maximize-testing-tab{height:calc(100vh - 26px);left:0;position:absolute;top:0;width:100%}.maximize-testing-panel{border:0;position:absolute;top:0;width:100%}.panel-body-h{height:calc(100vh - 75px)}.tab-content-h{height:calc(100vh - 80px)}.tab-content-h-maximize{height:calc(100vh - 64px)}.tab-content-h-maximize .monaco-code-h{height:calc(100vh - 100px)!important}.api-list .monaco-code-h{height:calc(100vh - 238px)}.api-list-test-hook .monaco-code-h{height:calc(100vh - 360px)}.modal-full{max-width:calc(100vw - 100px)}.table-no-padding td{height:30px;padding:0}.table-no-padding td div{min-height:30px;padding:.2rem .75rem}.table-no-padding td div.selected-row{background-color:rgba(47,100,115,.341)}.font-label{font-size:.875rem}.highlightMatchedWord{background:#ff0!important;color:#000!important;font-weight:700!important}.highlightLineHavingError{border-bottom:1px dashed red}.parent-notes-modal .child-notes-grid{height:calc(100% - 10px)!important}.prevent-text-selection{-webkit-user-select:none;-moz-user-select:none;user-select:none}.logs-collapse-div{background:#3d3d3d;height:25px}.preHookCounter{right:.5em;rotate:270deg}.postHookCounter,.preHookCounter{align-items:center;background-color:grey;border-radius:.8em;color:#fff;display:flex;font-size:.8em;height:1.5em;justify-content:center;min-width:1.5em;position:absolute}.postHookCounter{right:-.5em;rotate:90deg}div.delta-to-html .ql-size-huge{font-size:xx-large}div.delta-to-html pre{background:#1d1d1d;color:inherit;display:block;font-size:87.5%;padding:10px}div.delta-to-html table,div.delta-to-html td,div.delta-to-html th{border:1px solid grey;text-align:left}div.delta-to-html table{background:#3b3b3b;border-collapse:collapse;border-color:grey;border-spacing:2px;box-sizing:border-box;display:table;text-indent:0;width:100%}div.delta-to-html td,div.delta-to-html th{padding:6px}div.delta-to-html tr:nth-of-type(odd){background:rgba(40,40,40,.78)}app-fun-man-layout .custom-api-grid-height{height:calc(100vh - 82px)}app-db-cell-layout app-w-instances .instance-grid-height{height:calc(100vh - 94px)}app-db-cell-layout app-w-collections .collection-grid-height,app-db-cell-layout app-w-databases .database-grid-height{height:calc(50vh - 68px)}app-system-api-layout app-system-api-w .system-api-grid-height{height:calc(100vh - 82px)}app-event-man-layout app-events-grid .events-grid-height,app-tp-api-layout app-w-supported-tp-api .system-api-grid-height{height:calc(100vh - 94px)}app-scheduler-man-layout app-scheduler-man-w .schedulers-grid-height,app-web-socket-events-layout-grid app-web-socket-events-grid .ws-events-grid-height{height:calc(100vh - 82px)}app-logprofile-layout app-w-logprofiles .log-profile-grid-height,app-utility-classes-layout app-utility-classes-list .utility-classes-grid-height{height:calc(100vh - 94px)}app-notes-layout app-notes-list .notes-grid-height{height:calc(100vh - 86px)}app-notes-layout app-notes-form .notes-form-height{height:calc(100vh - 94px)}app-notes-modal app-notes-list .notes-grid-height{height:calc(100vh - 102px)}app-notes-modal app-notes-form .notes-form-height{height:calc(100vh - 94px)}app-code-finder-modal app-code-finder-w .code-finder-height{height:calc(100vh - 72px)!important}app-root app-code-finder-w .code-finder-height{height:calc(100vh - 52px)}.dropdown-menu{z-index:1051}a{color:#aaa}.p-tree-empty-message{padding-top:20px;position:absolute;text-align:center;width:100%}.json-key{color:#9d74af}.json-val{color:#6aab73}#svgContainerId svg{height:calc(100vh - 88px);width:calc(100vw - 20px)}#svgContainerId rect,#svgContainerId text{cursor:grab}.p-datatable-header{padding:0!important}.width-300{width:300px}.p-datatable.p-datatable-hoverable-rows .p-datatable-tbody>tr:not(.p-highlight):hover{background:none!important;color:inherit!important}p-radioButton.inline-small-radio .p-radiobutton-label{margin-bottom:0!important}.word-break-all{word-break:break-all}#id_api_maker_deploy_file_upload .p-fileupload-content{padding:10px 0;text-align:left}#id_api_maker_deploy_file_upload .p-fileupload-content .p-fileupload-row div:first-of-type{display:none}#id_api_maker_deploy_file_upload .p-fileupload-content .p-fileupload-row div:nth-of-type(2){padding:0 0 0 10px;width:75%}#id_api_maker_deploy_file_upload .p-fileupload-content .p-fileupload-row div:nth-of-type(3){padding:0;text-align:center}#id_api_maker_deploy_file_upload .p-fileupload-content .p-fileupload-row div:nth-of-type(4){padding:0 10px 0 0;width:74px}.id_ptree_db_master_config_outline .p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler{height:1.5rem;margin-right:0;width:1.5rem}.id_ptree_db_master_config_outline .tree-width{width:auto}.id_ptree_db_master_config_outline .tree-width .p-tree-container{display:table}p-dropdown .fix-height-issue{height:29px}.grid-pill-custom-api{border-radius:3px;font-size:x-small;padding:2px 5px}
|
|
2
2
|
/*# sourceMappingURL=styles.css.map */
|
package/dist/index.html
CHANGED
|
@@ -82,6 +82,13 @@
|
|
|
82
82
|
<!-- svg -->
|
|
83
83
|
<script src="/assets/lib/svg-pan-zoom.min.js" type="text/javascript"></script>
|
|
84
84
|
|
|
85
|
+
<!-- load required assets -->
|
|
86
|
+
<link rel="prefetch" href="/assets/monaco-assets/grammars/typescript.tmLanguage.json" as="fetch" crossorigin="anonymous">
|
|
87
|
+
<link rel="prefetch" href="/assets/monaco-assets/grammars/json.tmLanguage.json" as="fetch" crossorigin="anonymous">
|
|
88
|
+
<link rel="prefetch" href="/assets/monaco-assets/grammars/xml.tmLanguage.json" as="fetch" crossorigin="anonymous">
|
|
89
|
+
<link rel="prefetch" href="/assets/monaco-assets/grammars/yaml.tmLanguage.json" as="fetch" crossorigin="anonymous">
|
|
90
|
+
<link rel="prefetch" href="/assets/monaco-assets/onig.wasm" as="fetch" crossorigin="anonymous">
|
|
91
|
+
|
|
85
92
|
<!-- monaco supported sub libraries -->
|
|
86
93
|
<script src="https://cdn.jsdelivr.net/npm/vscode-textmate@8.0.0/release/main.min.js"></script>
|
|
87
94
|
<script src="https://cdn.jsdelivr.net/npm/vscode-oniguruma@1.7.0/release/main.min.js"></script>
|
|
@@ -112,7 +119,7 @@
|
|
|
112
119
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/components/prism-core.min.js" type="text/javascript"></script>
|
|
113
120
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/plugins/autoloader/prism-autoloader.min.js" type="text/javascript"></script>
|
|
114
121
|
|
|
115
|
-
<style>@layer primeng{}:root{--surface-a:#3b3b3b;--surface-b:#303030;--surface-c:#610000;--surface-d:#4f4f4f;--surface-e:#3b3b3b;--surface-f:#3b3b3b;--text-color:#b0b0b0;--text-color-secondary:#7a7a7a;--primary-color:#790109;--primary-color-text:#ebebeb;--font-family:-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;--surface-0:#20262e;--surface-50:#363c43;--surface-100:#4d5158;--surface-200:#63676d;--surface-300:#797d82;--surface-400:#909397;--surface-500:#a6a8ab;--surface-600:#bcbec0;--surface-700:#d2d4d5;--surface-800:#e9e9ea;--surface-900:#ffffff;--gray-50:#e9e9ea;--gray-100:#d2d4d5;--gray-200:#bcbec0;--gray-300:#a6a8ab;--gray-400:#909397;--gray-500:#797d82;--gray-600:#63676d;--gray-700:#4d5158;--gray-800:#363c43;--gray-900:#20262e;--content-padding:1.25rem;--inline-spacing:.5rem;--border-radius:4px;--surface-ground:#20262e;--surface-section:#20262e;--surface-card:#2a323d;--surface-overlay:#2a323d;--surface-border:#3f4b5b;--surface-hover:rgba(255,255,255,.04);--maskbg:rgba(0, 0, 0, .4);--focus-ring:0 0 0 1px #8a0000;--highlight-bg:#750008;--highlight-text-color:#dedede;color-scheme:dark}*{box-sizing:border-box}:root{--blue-50:#f3f8ff;--blue-100:#c5dcff;--blue-200:#97c1fe;--blue-300:#69a5fe;--blue-400:#3b8afd;--blue-500:#0d6efd;--blue-600:#0b5ed7;--blue-700:#094db1;--blue-800:#073d8b;--blue-900:#052c65;--green-50:#f4f9f6;--green-100:#c8e2d6;--green-200:#9ccbb5;--green-300:#70b595;--green-400:#459e74;--green-500:#198754;--green-600:#157347;--green-700:#125f3b;--green-800:#0e4a2e;--green-900:#0a3622;--yellow-50:#fffcf3;--yellow-100:#fff0c3;--yellow-200:#ffe494;--yellow-300:#ffd965;--yellow-400:#ffcd36;--yellow-500:#ffc107;--yellow-600:#d9a406;--yellow-700:#b38705;--yellow-800:#8c6a04;--yellow-900:#664d03;--cyan-50:#f3fcfe;--cyan-100:#c5f2fb;--cyan-200:#97e8f9;--cyan-300:#69def6;--cyan-400:#3bd4f3;--cyan-500:#0dcaf0;--cyan-600:#0baccc;--cyan-700:#098da8;--cyan-800:#076f84;--cyan-900:#055160;--pink-50:#fdf5f9;--pink-100:#f5cee1;--pink-200:#eda7ca;--pink-300:#e681b3;--pink-400:#de5a9b;--pink-500:#d63384;--pink-600:#b62b70;--pink-700:#96245c;--pink-800:#761c49;--pink-900:#561435;--indigo-50:#f7f3fe;--indigo-100:#dac6fc;--indigo-200:#bd98f9;--indigo-300:#a06bf7;--indigo-400:#833df4;--indigo-500:#6610f2;--indigo-600:#570ece;--indigo-700:#470ba9;--indigo-800:#380985;--indigo-900:#290661;--teal-50:#f4fcfa;--teal-100:#c9f2e6;--teal-200:#9fe8d2;--teal-300:#75debf;--teal-400:#4ad3ab;--teal-500:#20c997;--teal-600:#1bab80;--teal-700:#168d6a;--teal-800:#126f53;--teal-900:#0d503c;--orange-50:#fff9f3;--orange-100:#ffe0c7;--orange-200:#fec89a;--orange-300:#feaf6d;--orange-400:#fd9741;--orange-500:#fd7e14;--orange-600:#d76b11;--orange-700:#b1580e;--orange-800:#8b450b;--orange-900:#653208;--bluegray-50:#f8f9fb;--bluegray-100:#e0e4ea;--bluegray-200:#c7ced9;--bluegray-300:#aeb9c8;--bluegray-400:#95a3b8;--bluegray-500:#7c8ea7;--bluegray-600:#69798e;--bluegray-700:#576375;--bluegray-800:#444e5c;--bluegray-900:#323943;--purple-50:#f8f6fc;--purple-100:#dcd2f0;--purple-200:#c1aee4;--purple-300:#a68ad9;--purple-400:#8a66cd;--purple-500:#6f42c1;--purple-600:#5e38a4;--purple-700:#4e2e87;--purple-800:#3d246a;--purple-900:#2c1a4d;--red-50:#fdf5f6;--red-100:#f7cfd2;--red-200:#f0a8af;--red-300:#e9828c;--red-400:#e35b68;--red-500:#dc3545;--red-600:#bb2d3b;--red-700:#9a2530;--red-800:#791d26;--red-900:#58151c;--primary-50:#f8f2f3;--primary-100:#dfc2c4;--primary-200:#c59295;--primary-300:#ac6266;--primary-400:#923138;--primary-500:#790109;--primary-600:#670108;--primary-700:#550106;--primary-800:#430105;--primary-900:#300004}</style><link rel="stylesheet" href="styles.
|
|
122
|
+
<style>@layer primeng{}:root{--surface-a:#3b3b3b;--surface-b:#303030;--surface-c:#610000;--surface-d:#4f4f4f;--surface-e:#3b3b3b;--surface-f:#3b3b3b;--text-color:#b0b0b0;--text-color-secondary:#7a7a7a;--primary-color:#790109;--primary-color-text:#ebebeb;--font-family:-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;--surface-0:#20262e;--surface-50:#363c43;--surface-100:#4d5158;--surface-200:#63676d;--surface-300:#797d82;--surface-400:#909397;--surface-500:#a6a8ab;--surface-600:#bcbec0;--surface-700:#d2d4d5;--surface-800:#e9e9ea;--surface-900:#ffffff;--gray-50:#e9e9ea;--gray-100:#d2d4d5;--gray-200:#bcbec0;--gray-300:#a6a8ab;--gray-400:#909397;--gray-500:#797d82;--gray-600:#63676d;--gray-700:#4d5158;--gray-800:#363c43;--gray-900:#20262e;--content-padding:1.25rem;--inline-spacing:.5rem;--border-radius:4px;--surface-ground:#20262e;--surface-section:#20262e;--surface-card:#2a323d;--surface-overlay:#2a323d;--surface-border:#3f4b5b;--surface-hover:rgba(255,255,255,.04);--maskbg:rgba(0, 0, 0, .4);--focus-ring:0 0 0 1px #8a0000;--highlight-bg:#750008;--highlight-text-color:#dedede;color-scheme:dark}*{box-sizing:border-box}:root{--blue-50:#f3f8ff;--blue-100:#c5dcff;--blue-200:#97c1fe;--blue-300:#69a5fe;--blue-400:#3b8afd;--blue-500:#0d6efd;--blue-600:#0b5ed7;--blue-700:#094db1;--blue-800:#073d8b;--blue-900:#052c65;--green-50:#f4f9f6;--green-100:#c8e2d6;--green-200:#9ccbb5;--green-300:#70b595;--green-400:#459e74;--green-500:#198754;--green-600:#157347;--green-700:#125f3b;--green-800:#0e4a2e;--green-900:#0a3622;--yellow-50:#fffcf3;--yellow-100:#fff0c3;--yellow-200:#ffe494;--yellow-300:#ffd965;--yellow-400:#ffcd36;--yellow-500:#ffc107;--yellow-600:#d9a406;--yellow-700:#b38705;--yellow-800:#8c6a04;--yellow-900:#664d03;--cyan-50:#f3fcfe;--cyan-100:#c5f2fb;--cyan-200:#97e8f9;--cyan-300:#69def6;--cyan-400:#3bd4f3;--cyan-500:#0dcaf0;--cyan-600:#0baccc;--cyan-700:#098da8;--cyan-800:#076f84;--cyan-900:#055160;--pink-50:#fdf5f9;--pink-100:#f5cee1;--pink-200:#eda7ca;--pink-300:#e681b3;--pink-400:#de5a9b;--pink-500:#d63384;--pink-600:#b62b70;--pink-700:#96245c;--pink-800:#761c49;--pink-900:#561435;--indigo-50:#f7f3fe;--indigo-100:#dac6fc;--indigo-200:#bd98f9;--indigo-300:#a06bf7;--indigo-400:#833df4;--indigo-500:#6610f2;--indigo-600:#570ece;--indigo-700:#470ba9;--indigo-800:#380985;--indigo-900:#290661;--teal-50:#f4fcfa;--teal-100:#c9f2e6;--teal-200:#9fe8d2;--teal-300:#75debf;--teal-400:#4ad3ab;--teal-500:#20c997;--teal-600:#1bab80;--teal-700:#168d6a;--teal-800:#126f53;--teal-900:#0d503c;--orange-50:#fff9f3;--orange-100:#ffe0c7;--orange-200:#fec89a;--orange-300:#feaf6d;--orange-400:#fd9741;--orange-500:#fd7e14;--orange-600:#d76b11;--orange-700:#b1580e;--orange-800:#8b450b;--orange-900:#653208;--bluegray-50:#f8f9fb;--bluegray-100:#e0e4ea;--bluegray-200:#c7ced9;--bluegray-300:#aeb9c8;--bluegray-400:#95a3b8;--bluegray-500:#7c8ea7;--bluegray-600:#69798e;--bluegray-700:#576375;--bluegray-800:#444e5c;--bluegray-900:#323943;--purple-50:#f8f6fc;--purple-100:#dcd2f0;--purple-200:#c1aee4;--purple-300:#a68ad9;--purple-400:#8a66cd;--purple-500:#6f42c1;--purple-600:#5e38a4;--purple-700:#4e2e87;--purple-800:#3d246a;--purple-900:#2c1a4d;--red-50:#fdf5f6;--red-100:#f7cfd2;--red-200:#f0a8af;--red-300:#e9828c;--red-400:#e35b68;--red-500:#dc3545;--red-600:#bb2d3b;--red-700:#9a2530;--red-800:#791d26;--red-900:#58151c;--primary-50:#f8f2f3;--primary-100:#dfc2c4;--primary-200:#c59295;--primary-300:#ac6266;--primary-400:#923138;--primary-500:#790109;--primary-600:#670108;--primary-700:#550106;--primary-800:#430105;--primary-900:#300004}</style><link rel="stylesheet" href="styles.242217e145c3f7ab.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.242217e145c3f7ab.css"></noscript></head>
|
|
116
123
|
<body>
|
|
117
124
|
<app-root></app-root>
|
|
118
125
|
|
|
@@ -162,5 +169,5 @@
|
|
|
162
169
|
</style>
|
|
163
170
|
</noscript>
|
|
164
171
|
|
|
165
|
-
<script src="runtime.
|
|
172
|
+
<script src="runtime.66bf12954a778fb7.js" type="module"></script><script src="polyfills.93062920aa87d580.js" type="module"></script><script src="main.ca1eb95b67ff9761.js" type="module"></script></body>
|
|
166
173
|
</html>
|