@budibase/server 2.0.17 → 2.0.18

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 (151) hide show
  1. package/builder/assets/{index.e349ec0e.js → index.bef2492f.js} +1 -1
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +2 -2
  4. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  5. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  6. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/index.html +1 -1
  11. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  17. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  22. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  30. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  35. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  39. package/coverage/lcov-report/api/index.html +1 -1
  40. package/coverage/lcov-report/api/index.js.html +1 -1
  41. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  42. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  43. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  44. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  45. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/index.html +1 -1
  51. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  65. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  68. package/coverage/lcov-report/automations/actions.js.html +1 -1
  69. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  70. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  71. package/coverage/lcov-report/automations/index.html +1 -1
  72. package/coverage/lcov-report/automations/index.js.html +1 -1
  73. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  74. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  75. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  76. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  77. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  78. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/index.html +1 -1
  80. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  90. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  91. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  92. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  93. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  94. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  95. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  99. package/coverage/lcov-report/constants/index.html +1 -1
  100. package/coverage/lcov-report/constants/index.js.html +1 -1
  101. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  102. package/coverage/lcov-report/constants/screens.js.html +1 -1
  103. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  104. package/coverage/lcov-report/db/index.html +1 -1
  105. package/coverage/lcov-report/db/index.js.html +1 -1
  106. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  107. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  108. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  109. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  110. package/coverage/lcov-report/db/newid.js.html +1 -1
  111. package/coverage/lcov-report/db/utils.js.html +1 -1
  112. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  113. package/coverage/lcov-report/events/index.html +1 -1
  114. package/coverage/lcov-report/events/index.js.html +1 -1
  115. package/coverage/lcov-report/events/utils.js.html +1 -1
  116. package/coverage/lcov-report/index.html +1 -1
  117. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  118. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  119. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  120. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  121. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  122. package/coverage/lcov-report/middleware/index.html +1 -1
  123. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  124. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  125. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  126. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  127. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  128. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  129. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  130. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  131. package/coverage/lcov-report/utilities/global.js.html +1 -1
  132. package/coverage/lcov-report/utilities/index.html +1 -1
  133. package/coverage/lcov-report/utilities/index.js.html +1 -1
  134. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  135. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  136. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  137. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  138. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  139. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  140. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  141. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  142. package/coverage/lcov-report/utilities/security.js.html +1 -1
  143. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  144. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  145. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  146. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  147. package/coverage/lcov-report/utilities/users.js.html +1 -1
  148. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  149. package/dist/package.json +6 -6
  150. package/dist/tsconfig.build.tsbuildinfo +1 -1
  151. package/package.json +7 -7
@@ -932,7 +932,7 @@ Use Save As... to download, then click back to return to this page.`)&&(location
932
932
  `),t=J("i"),i=oe(r),a=oe("?"),o=oe(`
933
933
  This action cannot be undone.`)},m(l,s){S(l,e,s),S(l,t,s),j(t,i),j(t,a),S(l,o,s)},p(l,s){s&1&&r!==(r=l[0].name+"")&&_t(i,r)},d(l){l&&C(e),l&&C(t),l&&C(o)}}}function _nt(n){let e,t,r,i,a,o;e=new Sc({props:{$$slots:{control:[gnt],default:[mnt]},$$scope:{ctx:n}}});let l={okText:"Delete Automation",onOk:n[3],title:"Confirm Deletion",$$slots:{default:[vnt]},$$scope:{ctx:n}};r=new au({props:l}),n[5](r);let s={automation:n[0]};return a=new fnt({props:s}),n[6](a),{c(){O(e.$$.fragment),t=U(),O(r.$$.fragment),i=U(),O(a.$$.fragment)},m(u,c){H(e,u,c),S(u,t,c),H(r,u,c),S(u,i,c),H(a,u,c),o=!0},p(u,[c]){const f={};c&518&&(f.$$scope={dirty:c,ctx:u}),e.$set(f);const h={};c&513&&(h.$$scope={dirty:c,ctx:u}),r.$set(h);const m={};c&1&&(m.automation=u[0]),a.$set(m)},i(u){o||(b(e.$$.fragment,u),b(r.$$.fragment,u),b(a.$$.fragment,u),o=!0)},o(u){$(e.$$.fragment,u),$(r.$$.fragment,u),$(a.$$.fragment,u),o=!1},d(u){B(e,u),u&&C(t),n[5](null),B(r,u),u&&C(i),n[6](null),B(a,u)}}}function bnt(n,e,t){let r,i;Ne(n,Or,h=>t(7,r=h)),Ne(n,si,h=>t(8,i=h));let{automation:a}=e,o,l;async function s(){try{await Or.actions.delete(a),yt.success("Automation deleted successfully"),i("../automate")}catch{yt.error("Error deleting automation")}}async function u(){try{await Or.actions.duplicate(a),yt.success("Automation has been duplicated successfully"),i(`./${r.selectedAutomation.automation._id}`)}catch{yt.error("Error duplicating automation")}}function c(h){He[h?"unshift":"push"](()=>{o=h,t(1,o)})}function f(h){He[h?"unshift":"push"](()=>{l=h,t(2,l)})}return n.$$set=h=>{"automation"in h&&t(0,a=h.automation)},[a,o,l,s,u,c,f]}class ynt extends Re{constructor(e){super(),Ve(this,e,bnt,_nt,Oe,{automation:0})}}function YR(n,e,t){const r=n.slice();return r[5]=e[t],r[7]=t,r}function $nt(n){let e,t,r;return e=new ynt({props:{automation:n[5]}}),{c(){O(e.$$.fragment),t=U()},m(i,a){H(e,i,a),S(i,t,a),r=!0},p(i,a){const o={};a&1&&(o.automation=i[5]),e.$set(o)},i(i){r||(b(e.$$.fragment,i),r=!0)},o(i){$(e.$$.fragment,i),r=!1},d(i){B(e,i),i&&C(t)}}}function KR(n){let e,t;function r(){return n[3](n[5])}return e=new k5({props:{border:n[7]>0,icon:"ShareAndroid",text:n[5].name,selected:n[5]._id===n[1],$$slots:{default:[$nt]},$$scope:{ctx:n}}}),e.$on("click",r),{c(){O(e.$$.fragment)},m(i,a){H(e,i,a),t=!0},p(i,a){n=i;const o={};a&1&&(o.text=n[5].name),a&3&&(o.selected=n[5]._id===n[1]),a&257&&(o.$$scope={dirty:a,ctx:n}),e.$set(o)},i(i){t||(b(e.$$.fragment,i),t=!0)},o(i){$(e.$$.fragment,i),t=!1},d(i){B(e,i)}}}function wnt(n){let e,t,r=n[0].automations.sort(XR),i=[];for(let o=0;o<r.length;o+=1)i[o]=KR(YR(n,r,o));const a=o=>$(i[o],1,1,()=>{i[o]=null});return{c(){e=J("div");for(let o=0;o<i.length;o+=1)i[o].c();D(e,"class","automations-list svelte-g64vb")},m(o,l){S(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,[l]){if(l&7){r=o[0].automations.sort(XR);let s;for(s=0;s<r.length;s+=1){const u=YR(o,r,s);i[s]?(i[s].p(u,l),b(i[s],1)):(i[s]=KR(u),i[s].c(),b(i[s],1),i[s].m(e,null))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)b(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)$(i[l]);t=!1},d(o){o&&C(e),Dn(i,o)}}}const XR=n=>n.name;function knt(n,e,t){let r,i,a;Ne(n,si,s=>t(4,i=s)),Ne(n,Or,s=>t(0,a=s)),ar(async()=>{try{await Or.actions.fetch()}catch{yt.error("Error getting automations list")}});function o(s){Or.actions.select(s),i(`./${s._id}`)}const l=s=>o(s);return n.$$.update=()=>{var s,u;n.$$.dirty&1&&t(1,r=(u=(s=a.selectedAutomation)==null?void 0:s.automation)==null?void 0:u._id)},[a,r,o,l]}class znt extends Re{constructor(e){super(),Ve(this,e,knt,wnt,Oe,{})}}function JR(n,e,t){const r=n.slice();return r[17]=e[t][0],r[18]=e[t][1],r}function Ant(n){let e;return{c(){e=oe(`Please name your automation, then select a trigger. Every automation must
934
934
  start with a trigger.`)},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function Mnt(n){let e;return{c(){e=oe("Triggers")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function Cnt(n){let e=n[18].name+"",t;return{c(){t=oe(e)},m(r,i){S(r,t,i)},p(r,i){i&8&&e!==(e=r[18].name+"")&&_t(t,e)},d(r){r&&C(t)}}}function ZR(n){let e,t,r,i,a,o,l,s,u,c;r=new dn({props:{name:n[18].icon}}),o=new xt({props:{size:"S",$$slots:{default:[Cnt]},$$scope:{ctx:n}}});function f(){return n[13](n[18])}return{c(){e=J("div"),t=J("div"),O(r.$$.fragment),i=U(),a=J("span"),O(o.$$.fragment),l=U(),D(a,"class","icon-spacing svelte-d3iboa"),D(t,"class","item-body svelte-d3iboa"),D(e,"class","item svelte-d3iboa"),De(e,"selected",n[2]===n[18].name)},m(h,m){S(h,e,m),j(e,t),H(r,t,null),j(t,i),j(t,a),H(o,a,null),j(e,l),s=!0,u||(c=At(e,"click",f),u=!0)},p(h,m){n=h;const _={};m&8&&(_.name=n[18].icon),r.$set(_);const y={};m&2097160&&(y.$$scope={dirty:m,ctx:n}),o.$set(y),m&12&&De(e,"selected",n[2]===n[18].name)},i(h){s||(b(r.$$.fragment,h),b(o.$$.fragment,h),s=!0)},o(h){$(r.$$.fragment,h),$(o.$$.fragment,h),s=!1},d(h){h&&C(e),B(r),B(o),u=!1,c()}}}function Snt(n){let e,t,r,i;e=new xt({props:{size:"S",$$slots:{default:[Mnt]},$$scope:{ctx:n}}});let a=n[3],o=[];for(let s=0;s<a.length;s+=1)o[s]=ZR(JR(n,a,s));const l=s=>$(o[s],1,1,()=>{o[s]=null});return{c(){O(e.$$.fragment),t=U(),r=J("div");for(let s=0;s<o.length;s+=1)o[s].c();D(r,"class","item-list svelte-d3iboa")},m(s,u){H(e,s,u),S(s,t,u),S(s,r,u);for(let c=0;c<o.length;c+=1)o[c].m(r,null);i=!0},p(s,u){const c={};if(u&2097152&&(c.$$scope={dirty:u,ctx:s}),e.$set(c),u&76){a=s[3];let f;for(f=0;f<a.length;f+=1){const h=JR(s,a,f);o[f]?(o[f].p(h,u),b(o[f],1)):(o[f]=ZR(h),o[f].c(),b(o[f],1),o[f].m(r,null))}for(Ae(),f=a.length;f<o.length;f+=1)l(f);Me()}},i(s){if(!i){b(e.$$.fragment,s);for(let u=0;u<a.length;u+=1)b(o[u]);i=!0}},o(s){$(e.$$.fragment,s),o=o.filter(Boolean);for(let u=0;u<o.length;u+=1)$(o[u]);i=!1},d(s){B(e,s),s&&C(t),s&&C(r),Dn(o,s)}}}function Lnt(n){let e,t,r,i,a,o,l,s,u,c;e=new h_({props:{header:"You must publish your app to activate your automations.",message:"To test your automation before publishing, you can use the 'Run Test' functionality on the next screen."}}),r=new xt({props:{size:"XS",$$slots:{default:[Ant]},$$scope:{ctx:n}}});function f(_){n[10](_)}function h(_){n[11](_)}let m={label:"Name"};return n[0]!==void 0&&(m.value=n[0]),n[4]!==void 0&&(m.error=n[4]),a=new En({props:m}),He.push(()=>rt(a,"value",f)),He.push(()=>rt(a,"error",h)),a.$on("change",n[12]),u=new Rt({props:{noPadding:!0,$$slots:{default:[Snt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment),t=U(),O(r.$$.fragment),i=U(),O(a.$$.fragment),s=U(),O(u.$$.fragment)},m(_,y){H(e,_,y),S(_,t,y),H(r,_,y),S(_,i,y),H(a,_,y),S(_,s,y),H(u,_,y),c=!0},p(_,y){const w={};y&2097152&&(w.$$scope={dirty:y,ctx:_}),r.$set(w);const A={};!o&&y&1&&(o=!0,A.value=_[0],it(()=>o=!1)),!l&&y&16&&(l=!0,A.error=_[4],it(()=>l=!1)),a.$set(A);const E={};y&2097164&&(E.$$scope={dirty:y,ctx:_}),u.$set(E)},i(_){c||(b(e.$$.fragment,_),b(r.$$.fragment,_),b(a.$$.fragment,_),b(u.$$.fragment,_),c=!0)},o(_){$(e.$$.fragment,_),$(r.$$.fragment,_),$(a.$$.fragment,_),$(u.$$.fragment,_),c=!1},d(_){B(e,_),_&&C(t),B(r,_),_&&C(i),B(a,_),_&&C(s),B(u,_)}}}function Ent(n){let e,t;return e=new _r({props:{title:"Create Automation",confirmText:"Save",size:"M",onConfirm:n[5],disabled:!n[2]||!n[0],$$slots:{default:[Lnt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,[i]){const a={};i&5&&(a.disabled=!r[2]||!r[0]),i&2097183&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function Tnt(n,e,t){let r,i,a,o,l,s;Ne(n,Or,I=>t(8,o=I)),Ne(n,si,I=>t(16,l=I)),Ne(n,Fd,I=>t(9,s=I));let u,c,f=!1,h,{webhookModal:m}=e;async function _(){var I;try{await Or.actions.create({name:u,instanceId:r});const P=o.selectedAutomation.constructBlock("TRIGGER",h.stepId,h);Or.actions.addBlockToAutomation(P),h.stepId===c6.WEBHOOK&&m.show,await Or.actions.save((I=o.selectedAutomation)==null?void 0:I.automation),yt.success(`Automation ${u} created`),l(`./${o.selectedAutomation.automation._id}`)}catch{yt.error("Error creating automation")}}const y=I=>{h=I,t(2,c=I.name)};function w(I){u=I,t(0,u)}function A(I){i=I,t(4,i),t(1,f),t(0,u)}const E=()=>t(1,f=!0),T=I=>y(I);return n.$$set=I=>{"webhookModal"in I&&t(7,m=I.webhookModal)},n.$$.update=()=>{n.$$.dirty&512&&(r=s._id),n.$$.dirty&3&&t(4,i=f&&!u?"Please specify a name for the automation.":null),n.$$.dirty&256&&t(3,a=Object.entries(o.blockDefinitions.TRIGGER))},[u,f,c,a,i,_,y,m,o,s,w,A,E,T]}class BX extends Re{constructor(e){super(),Ve(this,e,Tnt,Ent,Oe,{webhookModal:7})}}function Dnt(n){let e,t;return e=new BX({props:{webhookModal:n[1]}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&2&&(a.webhookModal=r[1]),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function Hnt(n){let e,t,r,i;e=new znt({});let a={$$slots:{default:[Dnt]},$$scope:{ctx:n}};return r=new ir({props:a}),n[2](r),{c(){O(e.$$.fragment),t=U(),O(r.$$.fragment)},m(o,l){H(e,o,l),S(o,t,l),H(r,o,l),i=!0},p(o,l){const s={};l&10&&(s.$$scope={dirty:l,ctx:o}),r.$set(s)},i(o){i||(b(e.$$.fragment,o),b(r.$$.fragment,o),i=!0)},o(o){$(e.$$.fragment,o),$(r.$$.fragment,o),i=!1},d(o){B(e,o),o&&C(t),n[2](null),B(r,o)}}}function Bnt(n){let e,t;return e=new x1({props:{title:"Automations",$$slots:{default:[Hnt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&11&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function Ont(n){let e,t,r,i,a,o;return t=new K2({props:{selected:"Automations",$$slots:{default:[Bnt]},$$scope:{ctx:n}}}),a=new dn({props:{hoverable:!0,name:"AddCircle"}}),a.$on("click",function(){An(n[0].show)&&n[0].show.apply(this,arguments)}),{c(){e=J("div"),O(t.$$.fragment),r=U(),i=J("div"),O(a.$$.fragment),D(i,"class","add-button svelte-mcmub4"),D(e,"class","title svelte-mcmub4")},m(l,s){S(l,e,s),H(t,e,null),j(e,r),j(e,i),H(a,i,null),o=!0},p(l,[s]){n=l;const u={};s&11&&(u.$$scope={dirty:s,ctx:n}),t.$set(u)},i(l){o||(b(t.$$.fragment,l),b(a.$$.fragment,l),o=!0)},o(l){$(t.$$.fragment,l),$(a.$$.fragment,l),o=!1},d(l){l&&C(e),B(t),B(a)}}}function Int(n,e,t){let{modal:r}=e,{webhookModal:i}=e;function a(o){He[o?"unshift":"push"](()=>{r=o,t(0,r)})}return n.$$set=o=>{"modal"in o&&t(0,r=o.modal),"webhookModal"in o&&t(1,i=o.webhookModal)},[r,i,a]}class Pnt extends Re{constructor(e){super(),Ve(this,e,Int,Ont,Oe,{modal:0,webhookModal:1})}}function QR(n,e,t){const r=n.slice();return r[8]=e[t],r[10]=t,r}function eN(n){var u;let e,t,r,i,a;function o(c){n[6](c)}let l={showTestStatus:!0,block:n[8],isTrigger:n[10]===0,testResult:(u=n[2])==null?void 0:u[n[10]]};n[3]!==void 0&&(l.showParameters=n[3]),e=new HX({props:l}),He.push(()=>rt(e,"showParameters",o));let s=n[3]&&n[3][n[8].id]&&tN(n);return{c(){O(e.$$.fragment),r=U(),s&&s.c(),i=$t()},m(c,f){H(e,c,f),S(c,r,f),s&&s.m(c,f),S(c,i,f),a=!0},p(c,f){var m;const h={};f&2&&(h.block=c[8]),f&4&&(h.testResult=(m=c[2])==null?void 0:m[c[10]]),!t&&f&8&&(t=!0,h.showParameters=c[3],it(()=>t=!1)),e.$set(h),c[3]&&c[3][c[8].id]?s?(s.p(c,f),f&10&&b(s,1)):(s=tN(c),s.c(),b(s,1),s.m(i.parentNode,i)):s&&(Ae(),$(s,1,1,()=>{s=null}),Me())},i(c){a||(b(e.$$.fragment,c),b(s),a=!0)},o(c){$(e.$$.fragment,c),$(s),a=!1},d(c){B(e,c),c&&C(r),s&&s.d(c),c&&C(i)}}}function tN(n){var s,u;let e,t,r,i,a,o;e=new hi({props:{noMargin:!0}});let l=((u=(s=n[2])==null?void 0:s[n[10]])==null?void 0:u.outputs.iterations)&&nN(n);return a=new K2({props:{noHorizPadding:!0,selected:"Input",$$slots:{default:[Fnt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment),t=U(),l&&l.c(),r=U(),i=J("div"),O(a.$$.fragment),D(i,"class","tabs svelte-1iblsnb")},m(c,f){H(e,c,f),S(c,t,f),l&&l.m(c,f),S(c,r,f),S(c,i,f),H(a,i,null),o=!0},p(c,f){var m,_;(_=(m=c[2])==null?void 0:m[c[10]])!=null&&_.outputs.iterations?l?(l.p(c,f),f&4&&b(l,1)):(l=nN(c),l.c(),b(l,1),l.m(r.parentNode,r)):l&&(Ae(),$(l,1,1,()=>{l=null}),Me());const h={};f&2052&&(h.$$scope={dirty:f,ctx:c}),a.$set(h)},i(c){o||(b(e.$$.fragment,c),b(l),b(a.$$.fragment,c),o=!0)},o(c){$(e.$$.fragment,c),$(l),$(a.$$.fragment,c),o=!1},d(c){B(e,c),c&&C(t),l&&l.d(c),c&&C(r),c&&C(i),B(a)}}}function nN(n){let e,t,r,i,a,o;return t=new dn({props:{name:"Reuse"}}),a=new cn({props:{$$slots:{default:[Vnt]},$$scope:{ctx:n}}}),{c(){e=J("div"),O(t.$$.fragment),r=U(),i=J("div"),O(a.$$.fragment),yn(i,"margin-left","10px"),yn(e,"display","flex"),yn(e,"padding","10px 10px 0px 12px")},m(l,s){S(l,e,s),H(t,e,null),j(e,r),j(e,i),H(a,i,null),o=!0},p(l,s){const u={};s&2052&&(u.$$scope={dirty:s,ctx:l}),a.$set(u)},i(l){o||(b(t.$$.fragment,l),b(a.$$.fragment,l),o=!0)},o(l){$(t.$$.fragment,l),$(a.$$.fragment,l),o=!1},d(l){l&&C(e),B(t),B(a)}}}function Vnt(n){var a,o;let e,t=((o=(a=n[2])==null?void 0:a[n[10]])==null?void 0:o.outputs.iterations)+"",r,i;return{c(){e=oe("This loop ran "),r=oe(t),i=oe(" times.")},m(l,s){S(l,e,s),S(l,r,s),S(l,i,s)},p(l,s){var u,c;s&4&&t!==(t=((c=(u=l[2])==null?void 0:u[l[10]])==null?void 0:c.outputs.iterations)+"")&&_t(r,t)},d(l){l&&C(e),l&&C(r),l&&C(i)}}}function Rnt(n){var r,i;let e,t;return e=new F3({props:{minHeight:"80px",disabled:!0,value:Kv((i=(r=n[2])==null?void 0:r[n[10]])==null?void 0:i.inputs,"No input")}}),{c(){O(e.$$.fragment)},m(a,o){H(e,a,o),t=!0},p(a,o){var s,u;const l={};o&4&&(l.value=Kv((u=(s=a[2])==null?void 0:s[a[10]])==null?void 0:u.inputs,"No input")),e.$set(l)},i(a){t||(b(e.$$.fragment,a),t=!0)},o(a){$(e.$$.fragment,a),t=!1},d(a){B(e,a)}}}function Nnt(n){var r,i;let e,t;return e=new F3({props:{minHeight:"100px",disabled:!0,value:Kv((i=(r=n[2])==null?void 0:r[n[10]])==null?void 0:i.outputs,"No output")}}),{c(){O(e.$$.fragment)},m(a,o){H(e,a,o),t=!0},p(a,o){var s,u;const l={};o&4&&(l.value=Kv((u=(s=a[2])==null?void 0:s[a[10]])==null?void 0:u.outputs,"No output")),e.$set(l)},i(a){t||(b(e.$$.fragment,a),t=!0)},o(a){$(e.$$.fragment,a),t=!1},d(a){B(e,a)}}}function Fnt(n){let e,t,r,i;return e=new x1({props:{title:"Input",$$slots:{default:[Rnt]},$$scope:{ctx:n}}}),r=new x1({props:{title:"Output",$$slots:{default:[Nnt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment),t=U(),O(r.$$.fragment)},m(a,o){H(e,a,o),S(a,t,o),H(r,a,o),i=!0},p(a,o){const l={};o&2052&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&2052&&(s.$$scope={dirty:o,ctx:a}),r.$set(s)},i(a){i||(b(e.$$.fragment,a),b(r.$$.fragment,a),i=!0)},o(a){$(e.$$.fragment,a),$(r.$$.fragment,a),i=!1},d(a){B(e,a),a&&C(t),B(r,a)}}}function rN(n){let e;return{c(){e=J("div"),D(e,"class","separator svelte-1iblsnb")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function iN(n){let e,t,r,i,a,o=n[8].stepId!==V3.LOOP&&eN(n),l=n[1].length-1!==n[10]&&rN();return{c(){e=J("div"),o&&o.c(),r=U(),l&&l.c(),i=$t(),D(e,"class","block svelte-1iblsnb"),D(e,"style",t=n[0]?`width: ${n[0]}`:"")},m(s,u){S(s,e,u),o&&o.m(e,null),S(s,r,u),l&&l.m(s,u),S(s,i,u),a=!0},p(s,u){s[8].stepId!==V3.LOOP?o?(o.p(s,u),u&2&&b(o,1)):(o=eN(s),o.c(),b(o,1),o.m(e,null)):o&&(Ae(),$(o,1,1,()=>{o=null}),Me()),(!a||u&1&&t!==(t=s[0]?`width: ${s[0]}`:""))&&D(e,"style",t),s[1].length-1!==s[10]?l||(l=rN(),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i(s){a||(b(o),a=!0)},o(s){$(o),a=!1},d(s){s&&C(e),o&&o.d(),s&&C(r),l&&l.d(s),s&&C(i)}}}function xnt(n){let e,t,r=n[1],i=[];for(let o=0;o<r.length;o+=1)i[o]=iN(QR(n,r,o));const a=o=>$(i[o],1,1,()=>{i[o]=null});return{c(){e=J("div");for(let o=0;o<i.length;o+=1)i[o].c();D(e,"class","container svelte-1iblsnb")},m(o,l){S(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,[l]){if(l&15){r=o[1];let s;for(s=0;s<r.length;s+=1){const u=QR(o,r,s);i[s]?(i[s].p(u,l),b(i[s],1)):(i[s]=iN(u),i[s].c(),b(i[s],1),i[s].m(e,null))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)b(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)$(i[l]);t=!1},d(o){o&&C(e),Dn(i,o)}}}function Kv(n,e){return n?JSON.stringify(n,null,2):e}function jnt(n,e,t){let r,{automation:i}=e,{testResults:a}=e,{width:o="400px"}=e,l,s;function u(f){return f==null?void 0:f.steps.filter(h=>h.stepId!==V3.LOOP||[])}function c(f){l=f,t(3,l)}return n.$$set=f=>{"automation"in f&&t(4,i=f.automation),"testResults"in f&&t(5,a=f.testResults),"width"in f&&t(0,o=f.width)},n.$$.update=()=>{if(n.$$.dirty&32&&t(2,r=u(a)),n.$$.dirty&22){if(t(1,s=[]),i)i.definition.trigger&&s.push(i.definition.trigger),t(1,s=s.concat(i.definition.steps||[]).filter(f=>f.stepId!==V3.LOOP));else if(r){t(1,s=r||[]);let f=0;for(let h of s)h.id=f++}}},[o,s,r,l,i,a,c]}class OX extends Re{constructor(e){super(),Ve(this,e,jnt,xnt,Oe,{automation:4,testResults:5,width:0})}}function Unt(n){let e,t,r,i,a,o,l,s,u,c,f,h,m;return r=new dn({props:{name:"MultipleCheck"}}),s=new dn({props:{hoverable:!0,name:"Close"}}),s.$on("click",n[4]),c=new hi({}),h=new OX({props:{automation:n[0],testResults:n[2]}}),{c(){e=J("div"),t=J("div"),O(r.$$.fragment),i=U(),a=J("div"),a.textContent="Test Details",o=U(),l=J("div"),O(s.$$.fragment),u=U(),O(c.$$.fragment),f=U(),O(h.$$.fragment),yn(a,"padding-left","var(--spacing-l)"),D(t,"class","title-text svelte-nwwj95"),yn(l,"padding-right","var(--spacing-xl)"),D(e,"class","title svelte-nwwj95")},m(_,y){S(_,e,y),j(e,t),H(r,t,null),j(t,i),j(t,a),j(e,o),j(e,l),H(s,l,null),S(_,u,y),H(c,_,y),S(_,f,y),H(h,_,y),m=!0},p(_,[y]){const w={};y&1&&(w.automation=_[0]),y&4&&(w.testResults=_[2]),h.$set(w)},i(_){m||(b(r.$$.fragment,_),b(s.$$.fragment,_),b(c.$$.fragment,_),b(h.$$.fragment,_),m=!0)},o(_){$(r.$$.fragment,_),$(s.$$.fragment,_),$(c.$$.fragment,_),$(h.$$.fragment,_),m=!1},d(_){_&&C(e),B(r),B(s),_&&C(u),B(c,_),_&&C(f),B(h,_)}}}function qnt(n,e,t){let r;Ne(n,Or,s=>t(1,r=s));let{automation:i}=e,a,o;const l=async()=>{Y1(Or,r.showTestPanel=!1,r)};return n.$$set=s=>{"automation"in s&&t(0,i=s.automation)},n.$$.update=()=>{var s;n.$$.dirty&11&&(t(3,a=[]),i?(i.definition.trigger&&a.push(i.definition.trigger),t(3,a=a.concat(i.definition.steps||[]).filter(u=>u.stepId!==V3.LOOP))):r.selectedAutomation&&t(0,i=r.selectedAutomation)),n.$$.dirty&2&&t(2,o=(s=r.selectedAutomation)==null?void 0:s.testResults)},[i,r,o,a,l]}class Wnt extends Re{constructor(e){super(),Ve(this,e,qnt,Unt,Oe,{automation:0})}}function Gnt(n){let e,t,r,i;return r=new Rt({props:{gap:"S",justifyItems:"center",$$slots:{default:[Znt]},$$scope:{ctx:n}}}),{c(){e=J("div"),t=J("div"),O(r.$$.fragment),D(t,"class","main svelte-374m3f"),D(e,"class","centered svelte-374m3f")},m(a,o){S(a,e,o),j(e,t),H(r,t,null),i=!0},p(a,o){const l={};o&258&&(l.$$scope={dirty:o,ctx:a}),r.$set(l)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){$(r.$$.fragment,a),i=!1},d(a){a&&C(e),B(r)}}}function Ynt(n){let e;const t=n[4].default,r=Xn(t,n,n[8],null);return{c(){r&&r.c()},m(i,a){r&&r.m(i,a),e=!0},p(i,a){r&&r.p&&(!e||a&256)&&Zn(r,t,i,i[8],e?Jn(t,i[8],a,null):Qn(i[8]),null)},i(i){e||(b(r,i),e=!0)},o(i){$(r,i),e=!1},d(i){r&&r.d(i)}}}function Knt(n){let e;return{c(){e=oe("You have no automations")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function Xnt(n){let e;return{c(){e=oe("Let's fix that. Call the bots!")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function Jnt(n){let e;return{c(){e=oe("Create automation")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function Znt(n){let e,t,r,i,a,o,l,s,u;return i=new Rn({props:{size:"M",$$slots:{default:[Knt]},$$scope:{ctx:n}}}),o=new xt({props:{size:"M",$$slots:{default:[Xnt]},$$scope:{ctx:n}}}),s=new $n({props:{size:"M",cta:!0,$$slots:{default:[Jnt]},$$scope:{ctx:n}}}),s.$on("click",n[5]),{c(){e=ut("svg"),t=ut("use"),r=U(),O(i.$$.fragment),a=U(),O(o.$$.fragment),l=U(),O(s.$$.fragment),Wr(t,"xlink:href","#spectrum-icon-18-WorkflowAdd"),D(e,"width","60px"),D(e,"height","60px"),D(e,"class","spectrum-Icon"),D(e,"focusable","false")},m(c,f){S(c,e,f),j(e,t),S(c,r,f),H(i,c,f),S(c,a,f),H(o,c,f),S(c,l,f),H(s,c,f),u=!0},p(c,f){const h={};f&256&&(h.$$scope={dirty:f,ctx:c}),i.$set(h);const m={};f&256&&(m.$$scope={dirty:f,ctx:c}),o.$set(m);const _={};f&256&&(_.$$scope={dirty:f,ctx:c}),s.$set(_)},i(c){u||(b(i.$$.fragment,c),b(o.$$.fragment,c),b(s.$$.fragment,c),u=!0)},o(c){$(i.$$.fragment,c),$(o.$$.fragment,c),$(s.$$.fragment,c),u=!1},d(c){c&&C(e),c&&C(r),B(i,c),c&&C(a),B(o,c),c&&C(l),B(s,c)}}}function aN(n){let e,t,r;return t=new Wnt({props:{automation:n[3]}}),{c(){e=J("div"),O(t.$$.fragment),D(e,"class","setup svelte-374m3f")},m(i,a){S(i,e,a),H(t,e,null),r=!0},p(i,a){const o={};a&8&&(o.automation=i[3]),t.$set(o)},i(i){r||(b(t.$$.fragment,i),r=!0)},o(i){$(t.$$.fragment,i),r=!1},d(i){i&&C(e),B(t)}}}function Qnt(n){let e,t;return e=new BX({props:{webhookModal:n[2]}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&4&&(a.webhookModal=r[2]),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function ert(n){let e,t;return e=new Jz({}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function trt(n){let e,t,r,i,a,o,l,s,u,c,f,h,m;r=new Pnt({props:{modal:n[1],webhookModal:n[2]}});const _=[Ynt,Gnt],y=[];function w(I,P){return I[3]?0:1}o=w(n),l=y[o]=_[o](n);let A=n[0].showTestPanel&&aN(n),E={$$slots:{default:[Qnt]},$$scope:{ctx:n}};c=new ir({props:E}),n[6](c);let T={width:"30%",$$slots:{default:[ert]},$$scope:{ctx:n}};return h=new ir({props:T}),n[7](h),{c(){e=J("div"),t=J("div"),O(r.$$.fragment),i=U(),a=J("div"),l.c(),s=U(),A&&A.c(),u=U(),O(c.$$.fragment),f=U(),O(h.$$.fragment),D(t,"class","nav svelte-374m3f"),D(a,"class","content svelte-374m3f"),D(e,"class","root svelte-374m3f")},m(I,P){S(I,e,P),j(e,t),H(r,t,null),j(e,i),j(e,a),y[o].m(a,null),j(e,s),A&&A.m(e,null),j(e,u),H(c,e,null),j(e,f),H(h,e,null),m=!0},p(I,[P]){const F={};P&2&&(F.modal=I[1]),P&4&&(F.webhookModal=I[2]),r.$set(F);let x=o;o=w(I),o===x?y[o].p(I,P):(Ae(),$(y[x],1,1,()=>{y[x]=null}),Me(),l=y[o],l?l.p(I,P):(l=y[o]=_[o](I),l.c()),b(l,1),l.m(a,null)),I[0].showTestPanel?A?(A.p(I,P),P&1&&b(A,1)):(A=aN(I),A.c(),b(A,1),A.m(e,u)):A&&(Ae(),$(A,1,1,()=>{A=null}),Me());const G={};P&260&&(G.$$scope={dirty:P,ctx:I}),c.$set(G);const W={};P&256&&(W.$$scope={dirty:P,ctx:I}),h.$set(W)},i(I){m||(b(r.$$.fragment,I),b(l),b(A),b(c.$$.fragment,I),b(h.$$.fragment,I),m=!0)},o(I){$(r.$$.fragment,I),$(l),$(A),$(c.$$.fragment,I),$(h.$$.fragment,I),m=!1},d(I){I&&C(e),B(r),y[o].d(),A&&A.d(),n[6](null),B(c),n[7](null),B(h)}}}function nrt(n,e,t){let r,i;Ne(n,Or,h=>t(0,i=h));let{$$slots:a={},$$scope:o}=e,l,s;ar(()=>{Y1(Or,i.showTestPanel=!1,i)});const u=()=>l.show();function c(h){He[h?"unshift":"push"](()=>{l=h,t(1,l)})}function f(h){He[h?"unshift":"push"](()=>{s=h,t(2,s)})}return n.$$set=h=>{"$$scope"in h&&t(8,o=h.$$scope)},n.$$.update=()=>{var h;n.$$.dirty&1&&t(3,r=((h=i.selectedAutomation)==null?void 0:h.automation)||i.automations[0])},[i,l,s,r,a,u,c,f,o]}class rrt extends Re{constructor(e){super(),Ve(this,e,nrt,trt,Oe,{})}}function irt(n){let e,t,r,i,a,o,l;function s(c){n[4](c)}let u={};return n[2]!==void 0&&(u.value=n[2]),a=new En({props:u}),He.push(()=>rt(a,"value",s)),{c(){e=J("span"),e.textContent=`The changes you have made will be deleted and the application reverted
935
- back to its production state.`,t=U(),r=J("span"),r.textContent="Please enter your app name to continue.",i=U(),O(a.$$.fragment)},m(c,f){S(c,e,f),S(c,t,f),S(c,r,f),S(c,i,f),H(a,c,f),l=!0},p(c,f){const h={};!o&&f&4&&(o=!0,h.value=c[2],it(()=>o=!1)),a.$set(h)},i(c){l||(b(a.$$.fragment,c),l=!0)},o(c){$(a.$$.fragment,c),l=!1},d(c){c&&C(e),c&&C(t),c&&C(r),c&&C(i),B(a,c)}}}function art(n){let e,t;return e=new _r({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:n[3],disabled:n[2]!==n[0].name,$$slots:{default:[irt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&5&&(a.disabled=r[2]!==r[0].name),i&132&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function ort(n){let e,t,r,i;e=new dn({props:{name:"Revert",hoverable:!0,tooltip:"Revert changes",dataCy:"revert-application-topnav"}}),e.$on("click",function(){An(n[1].show)&&n[1].show.apply(this,arguments)});let a={$$slots:{default:[art]},$$scope:{ctx:n}};return r=new ir({props:a}),n[5](r),{c(){O(e.$$.fragment),t=U(),O(r.$$.fragment)},m(o,l){H(e,o,l),S(o,t,l),H(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&133&&(s.$$scope={dirty:l,ctx:n}),r.$set(s)},i(o){i||(b(e.$$.fragment,o),b(r.$$.fragment,o),i=!0)},o(o){$(e.$$.fragment,o),$(r.$$.fragment,o),i=!1},d(o){B(e,o),o&&C(t),n[5](null),B(r,o)}}}function lrt(n,e,t){let r,i;Ne(n,nn,c=>t(0,i=c));let a,o;const l=async()=>{try{await tn.revertAppChanges(r);const c=await tn.fetchAppPackage(r);await nn.actions.initialise(c),yt.info("Changes reverted successfully")}catch(c){yt.error(`Error reverting changes: ${c}`)}};function s(c){o=c,t(2,o)}function u(c){He[c?"unshift":"push"](()=>{a=c,t(1,a)})}return n.$$.update=()=>{n.$$.dirty&1&&(r=i.appId)},[i,a,o,l,s,u]}class srt extends Re{constructor(e){super(),Ve(this,e,lrt,ort,Oe,{})}}const urt="@budibase/client",crt="2.0.16",frt="MPL-2.0",prt="dist/budibase-client.js",drt="dist/budibase-client.js",hrt="module",mrt="src/index.js",grt={".":{import:"./dist/budibase-client.js",require:"./dist/budibase-client.js"},"./package.json":"./package.json","./manifest.json":"./manifest.json"},vrt={build:"rollup -c","dev:builder":"rollup -cw"},_rt={"@budibase/bbui":"^2.0.16","@budibase/frontend-core":"^2.0.16","@budibase/string-templates":"^2.0.16","@spectrum-css/button":"^3.0.3","@spectrum-css/card":"^3.0.3","@spectrum-css/divider":"^1.0.3","@spectrum-css/link":"^3.1.3","@spectrum-css/page":"^3.0.1","@spectrum-css/tag":"^3.1.4","@spectrum-css/typography":"^3.0.2","@spectrum-css/vars":"^3.0.1",apexcharts:"^3.22.1",dayjs:"^1.10.5",downloadjs:"1.4.7",leaflet:"^1.7.1",regexparam:"^1.3.0","sanitize-html":"^2.7.0",screenfull:"^6.0.1",shortid:"^2.2.15","socket.io-client":"^4.5.1",svelte:"^3.49.0","svelte-apexcharts":"^1.0.2","svelte-flatpickr":"^3.1.0","svelte-spa-router":"^3.0.5"},brt={"@rollup/plugin-alias":"^3.1.5","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1",postcss:"^8.2.10",rollup:"^2.44.0","rollup-plugin-json":"^4.0.0","rollup-plugin-polyfill-node":"^0.8.0","rollup-plugin-postcss":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-svg":"^2.0.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-visualizer":"^5.5.4"},yrt="d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc",Ed={name:urt,version:crt,license:frt,module:prt,main:drt,type:hrt,svelte:mrt,exports:grt,scripts:vrt,dependencies:_rt,devDependencies:brt,gitHead:yrt};function oN(n){let e,t;return e=new x3({props:{hoverable:!0,notice:!0,$$slots:{default:[$rt]},$$scope:{ctx:n}}}),e.$on("click",function(){An(n[2].show)&&n[2].show.apply(this,arguments)}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){n=r;const a={};i&4096&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function $rt(n){let e;return{c(){e=oe("Update available")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function wrt(n){let e,t;return e=new xt({props:{size:"S",$$slots:{default:[zrt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function krt(n){let e,t;return e=new xt({props:{size:"S",$$slots:{default:[Art]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function zrt(n){let e,t,r=n[1].version+"",i,a;return{c(){e=oe("This app is currently using version "),t=J("b"),i=oe(r),a=oe(` which is the
935
+ back to its production state.`,t=U(),r=J("span"),r.textContent="Please enter your app name to continue.",i=U(),O(a.$$.fragment)},m(c,f){S(c,e,f),S(c,t,f),S(c,r,f),S(c,i,f),H(a,c,f),l=!0},p(c,f){const h={};!o&&f&4&&(o=!0,h.value=c[2],it(()=>o=!1)),a.$set(h)},i(c){l||(b(a.$$.fragment,c),l=!0)},o(c){$(a.$$.fragment,c),l=!1},d(c){c&&C(e),c&&C(t),c&&C(r),c&&C(i),B(a,c)}}}function art(n){let e,t;return e=new _r({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:n[3],disabled:n[2]!==n[0].name,$$slots:{default:[irt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&5&&(a.disabled=r[2]!==r[0].name),i&132&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function ort(n){let e,t,r,i;e=new dn({props:{name:"Revert",hoverable:!0,tooltip:"Revert changes",dataCy:"revert-application-topnav"}}),e.$on("click",function(){An(n[1].show)&&n[1].show.apply(this,arguments)});let a={$$slots:{default:[art]},$$scope:{ctx:n}};return r=new ir({props:a}),n[5](r),{c(){O(e.$$.fragment),t=U(),O(r.$$.fragment)},m(o,l){H(e,o,l),S(o,t,l),H(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&133&&(s.$$scope={dirty:l,ctx:n}),r.$set(s)},i(o){i||(b(e.$$.fragment,o),b(r.$$.fragment,o),i=!0)},o(o){$(e.$$.fragment,o),$(r.$$.fragment,o),i=!1},d(o){B(e,o),o&&C(t),n[5](null),B(r,o)}}}function lrt(n,e,t){let r,i;Ne(n,nn,c=>t(0,i=c));let a,o;const l=async()=>{try{await tn.revertAppChanges(r);const c=await tn.fetchAppPackage(r);await nn.actions.initialise(c),yt.info("Changes reverted successfully")}catch(c){yt.error(`Error reverting changes: ${c}`)}};function s(c){o=c,t(2,o)}function u(c){He[c?"unshift":"push"](()=>{a=c,t(1,a)})}return n.$$.update=()=>{n.$$.dirty&1&&(r=i.appId)},[i,a,o,l,s,u]}class srt extends Re{constructor(e){super(),Ve(this,e,lrt,ort,Oe,{})}}const urt="@budibase/client",crt="2.0.17",frt="MPL-2.0",prt="dist/budibase-client.js",drt="dist/budibase-client.js",hrt="module",mrt="src/index.js",grt={".":{import:"./dist/budibase-client.js",require:"./dist/budibase-client.js"},"./package.json":"./package.json","./manifest.json":"./manifest.json"},vrt={build:"rollup -c","dev:builder":"rollup -cw"},_rt={"@budibase/bbui":"^2.0.17","@budibase/frontend-core":"^2.0.17","@budibase/string-templates":"^2.0.17","@spectrum-css/button":"^3.0.3","@spectrum-css/card":"^3.0.3","@spectrum-css/divider":"^1.0.3","@spectrum-css/link":"^3.1.3","@spectrum-css/page":"^3.0.1","@spectrum-css/tag":"^3.1.4","@spectrum-css/typography":"^3.0.2","@spectrum-css/vars":"^3.0.1",apexcharts:"^3.22.1",dayjs:"^1.10.5",downloadjs:"1.4.7",leaflet:"^1.7.1",regexparam:"^1.3.0","sanitize-html":"^2.7.0",screenfull:"^6.0.1",shortid:"^2.2.15","socket.io-client":"^4.5.1",svelte:"^3.49.0","svelte-apexcharts":"^1.0.2","svelte-flatpickr":"^3.1.0","svelte-spa-router":"^3.0.5"},brt={"@rollup/plugin-alias":"^3.1.5","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1",postcss:"^8.2.10",rollup:"^2.44.0","rollup-plugin-json":"^4.0.0","rollup-plugin-polyfill-node":"^0.8.0","rollup-plugin-postcss":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-svg":"^2.0.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-visualizer":"^5.5.4"},yrt="d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc",Ed={name:urt,version:crt,license:frt,module:prt,main:drt,type:hrt,svelte:mrt,exports:grt,scripts:vrt,dependencies:_rt,devDependencies:brt,gitHead:yrt};function oN(n){let e,t;return e=new x3({props:{hoverable:!0,notice:!0,$$slots:{default:[$rt]},$$scope:{ctx:n}}}),e.$on("click",function(){An(n[2].show)&&n[2].show.apply(this,arguments)}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){n=r;const a={};i&4096&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function $rt(n){let e;return{c(){e=oe("Update available")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function wrt(n){let e,t;return e=new xt({props:{size:"S",$$slots:{default:[zrt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function krt(n){let e,t;return e=new xt({props:{size:"S",$$slots:{default:[Art]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function zrt(n){let e,t,r=n[1].version+"",i,a;return{c(){e=oe("This app is currently using version "),t=J("b"),i=oe(r),a=oe(` which is the
936
936
  latest version available.`)},m(o,l){S(o,e,l),S(o,t,l),j(t,i),S(o,a,l)},p(o,l){l&2&&r!==(r=o[1].version+"")&&_t(i,r)},d(o){o&&C(e),o&&C(t),o&&C(a)}}}function Art(n){let e,t,r=n[1].version+"",i,a,o,l;return{c(){e=oe("This app is currently using version "),t=J("b"),i=oe(r),a=oe(`, but version
937
937
  `),o=J("b"),o.textContent=`${Ed.version}`,l=oe(` is available. Updates can contain new features,
938
938
  performance improvements and bug fixes.`)},m(s,u){S(s,e,u),S(s,t,u),j(t,i),S(s,a,u),S(s,o,u),S(s,l,u)},p(s,u){u&2&&r!==(r=s[1].version+"")&&_t(i,r)},d(s){s&&C(e),s&&C(t),s&&C(a),s&&C(o),s&&C(l)}}}function lN(n){let e,t;return e=new xt({props:{size:"S",$$slots:{default:[Mrt]},$$scope:{ctx:n}}}),{c(){O(e.$$.fragment)},m(r,i){H(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function Mrt(n){let e,t,r=n[1].revertableVersion+"",i,a;return{c(){e=oe(`You can revert this app to version
@@ -10,7 +10,7 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.e349ec0e.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.bef2492f.js"></script>
14
14
  <link rel="stylesheet" href="/builder/assets/index.dfa4073c.css">
15
15
  </head>
16
16
  <body id="app">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1664889606217" clover="3.2.0">
3
- <project timestamp="1664889606217" name="All files">
2
+ <coverage generated="1664892575233" clover="3.2.0">
3
+ <project timestamp="1664892575233" name="All files">
4
4
  <metrics statements="4111" coveredstatements="2993" conditionals="1766" coveredconditionals="970" methods="612" coveredmethods="429" elements="6489" coveredelements="4392" complexity="0" loc="4111" ncloc="4111" packages="22" files="122" classes="122"/>
5
5
  <package name="api">
6
6
  <metrics statements="35" coveredstatements="34" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
@@ -232,7 +232,7 @@ exports.update = async function (ctx) {
232
232
  <div class='footer quiet pad2 space-top1 center small'>
233
233
  Code coverage generated by
234
234
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
235
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
235
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
236
236
  </div>
237
237
  <script src="../../prettify.js"></script>
238
238
  <script>
@@ -925,7 +925,7 @@ exports.test = async function (ctx) {
925
925
  <div class='footer quiet pad2 space-top1 center small'>
926
926
  Code coverage generated by
927
927
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
928
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
928
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
929
929
  </div>
930
930
  <script src="../../prettify.js"></script>
931
931
  <script>
@@ -127,7 +127,7 @@ exports.exportAppDump = async function (ctx) {
127
127
  <div class='footer quiet pad2 space-top1 center small'>
128
128
  Code coverage generated by
129
129
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
130
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
130
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
131
131
  </div>
132
132
  <script src="../../prettify.js"></script>
133
133
  <script>
@@ -400,7 +400,7 @@ exports.importApps = <span class="fstat-no" title="function not covered" >as</sp
400
400
  <div class='footer quiet pad2 space-top1 center small'>
401
401
  Code coverage generated by
402
402
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
403
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
403
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
404
404
  </div>
405
405
  <script src="../../prettify.js"></script>
406
406
  <script>
@@ -919,7 +919,7 @@ const buildSchemaHelper = <span class="fstat-no" title="function not covered" >a
919
919
  <div class='footer quiet pad2 space-top1 center small'>
920
920
  Code coverage generated by
921
921
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
922
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
922
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
923
923
  </div>
924
924
  <script src="../../prettify.js"></script>
925
925
  <script>
@@ -475,7 +475,7 @@ exports.getBudibaseVersion = async ctx =&gt; {
475
475
  <div class='footer quiet pad2 space-top1 center small'>
476
476
  Code coverage generated by
477
477
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
478
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
478
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
479
479
  </div>
480
480
  <script src="../../prettify.js"></script>
481
481
  <script>
@@ -341,7 +341,7 @@
341
341
  <div class='footer quiet pad2 space-top1 center small'>
342
342
  Code coverage generated by
343
343
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
344
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
344
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
345
345
  </div>
346
346
  <script src="../../prettify.js"></script>
347
347
  <script>
@@ -136,7 +136,7 @@ exports.find = async function (ctx) {
136
136
  <div class='footer quiet pad2 space-top1 center small'>
137
137
  Code coverage generated by
138
138
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
139
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
139
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
140
140
  </div>
141
141
  <script src="../../prettify.js"></script>
142
142
  <script>
@@ -211,7 +211,7 @@ exports.destroy = async function (ctx) {
211
211
  <div class='footer quiet pad2 space-top1 center small'>
212
212
  Code coverage generated by
213
213
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
214
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
214
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
215
215
  </div>
216
216
  <script src="../../prettify.js"></script>
217
217
  <script>
@@ -193,7 +193,7 @@ exports.getMetadata = async ctx =&gt; {
193
193
  <div class='footer quiet pad2 space-top1 center small'>
194
194
  Code coverage generated by
195
195
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
196
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
196
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
197
197
  </div>
198
198
  <script src="../../prettify.js"></script>
199
199
  <script>
@@ -109,7 +109,7 @@ exports.fetchDefinitions = <span class="fstat-no" title="function not covered" >
109
109
  <div class='footer quiet pad2 space-top1 center small'>
110
110
  Code coverage generated by
111
111
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
112
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
112
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
113
113
  </div>
114
114
  <script src="../../prettify.js"></script>
115
115
  <script>
@@ -595,7 +595,7 @@ exports.removePermission = async function (ctx) {
595
595
  <div class='footer quiet pad2 space-top1 center small'>
596
596
  Code coverage generated by
597
597
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
598
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
598
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
599
599
  </div>
600
600
  <script src="../../prettify.js"></script>
601
601
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
104
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
105
105
  </div>
106
106
  <script src="../../../prettify.js"></script>
107
107
  <script>
@@ -220,7 +220,7 @@ exports.generateQueryPreviewValidation = () =&gt; {
220
220
  <div class='footer quiet pad2 space-top1 center small'>
221
221
  Code coverage generated by
222
222
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
223
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
223
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
224
224
  </div>
225
225
  <script src="../../../prettify.js"></script>
226
226
  <script>
@@ -394,7 +394,7 @@ exports.destroy = async function (ctx) {
394
394
  <div class='footer quiet pad2 space-top1 center small'>
395
395
  Code coverage generated by
396
396
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
397
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
397
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
398
398
  </div>
399
399
  <script src="../../prettify.js"></script>
400
400
  <script>
@@ -346,7 +346,7 @@ exports.clientFetch = async ctx =&gt; {
346
346
  <div class='footer quiet pad2 space-top1 center small'>
347
347
  Code coverage generated by
348
348
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
349
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
349
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
350
350
  </div>
351
351
  <script src="../../prettify.js"></script>
352
352
  <script>
@@ -829,7 +829,7 @@ exports.fetchEnrichedRow = <span class="fstat-no" title="function not covered" >
829
829
  <div class='footer quiet pad2 space-top1 center small'>
830
830
  Code coverage generated by
831
831
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
832
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
832
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
833
833
  </div>
834
834
  <script src="../../../prettify.js"></script>
835
835
  <script>
@@ -161,7 +161,7 @@
161
161
  <div class='footer quiet pad2 space-top1 center small'>
162
162
  Code coverage generated by
163
163
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
164
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
164
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
165
165
  </div>
166
166
  <script src="../../../prettify.js"></script>
167
167
  <script>
@@ -1477,7 +1477,7 @@ exports.fetchEnrichedRow = async ctx =&gt; {
1477
1477
  <div class='footer quiet pad2 space-top1 center small'>
1478
1478
  Code coverage generated by
1479
1479
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1480
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
1480
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
1481
1481
  </div>
1482
1482
  <script src="../../../prettify.js"></script>
1483
1483
  <script>
@@ -1585,7 +1585,7 @@ exports.fullSearch = async (query, params) =&gt; {
1585
1585
  <div class='footer quiet pad2 space-top1 center small'>
1586
1586
  Code coverage generated by
1587
1587
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1588
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
1588
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
1589
1589
  </div>
1590
1590
  <script src="../../../prettify.js"></script>
1591
1591
  <script>
@@ -538,7 +538,7 @@ exports.finaliseRow = async (
538
538
  <div class='footer quiet pad2 space-top1 center small'>
539
539
  Code coverage generated by
540
540
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
541
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
541
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
542
542
  </div>
543
543
  <script src="../../../prettify.js"></script>
544
544
  <script>
@@ -364,7 +364,7 @@ exports.validate = async ({ tableId, row, table }) =&gt; {
364
364
  <div class='footer quiet pad2 space-top1 center small'>
365
365
  Code coverage generated by
366
366
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
367
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
367
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
368
368
  </div>
369
369
  <script src="../../../prettify.js"></script>
370
370
  <script>
@@ -103,7 +103,7 @@ exports.save = <span class="fstat-no" title="function not covered" >as</span>ync
103
103
  <div class='footer quiet pad2 space-top1 center small'>
104
104
  Code coverage generated by
105
105
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
106
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
106
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
107
107
  </div>
108
108
  <script src="../../prettify.js"></script>
109
109
  <script>
@@ -589,7 +589,7 @@ exports.runStaticFormulaChecks = async (table, { oldTable, deletion }) =&gt; {
589
589
  <div class='footer quiet pad2 space-top1 center small'>
590
590
  Code coverage generated by
591
591
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
592
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
592
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
593
593
  </div>
594
594
  <script src="../../../prettify.js"></script>
595
595
  <script>
@@ -1030,7 +1030,7 @@ exports.bulkImport = <span class="fstat-no" title="function not covered" >as</sp
1030
1030
  <div class='footer quiet pad2 space-top1 center small'>
1031
1031
  Code coverage generated by
1032
1032
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1033
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
1033
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
1034
1034
  </div>
1035
1035
  <script src="../../../prettify.js"></script>
1036
1036
  <script>
@@ -131,7 +131,7 @@
131
131
  <div class='footer quiet pad2 space-top1 center small'>
132
132
  Code coverage generated by
133
133
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
134
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
135
135
  </div>
136
136
  <script src="../../../prettify.js"></script>
137
137
  <script>
@@ -403,7 +403,7 @@ exports.validateCSVSchema = async function (ctx) {
403
403
  <div class='footer quiet pad2 space-top1 center small'>
404
404
  Code coverage generated by
405
405
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
406
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
406
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
407
407
  </div>
408
408
  <script src="../../../prettify.js"></script>
409
409
  <script>
@@ -190,7 +190,7 @@ exports.downloadTemplate = async function (ctx) {
190
190
  <div class='footer quiet pad2 space-top1 center small'>
191
191
  Code coverage generated by
192
192
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
193
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
193
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
194
194
  </div>
195
195
  <script src="../../prettify.js"></script>
196
196
  <script>
@@ -772,7 +772,7 @@ exports.getFlags = <span class="fstat-no" title="function not covered" >as</span
772
772
  <div class='footer quiet pad2 space-top1 center small'>
773
773
  Code coverage generated by
774
774
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
775
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
775
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
776
776
  </div>
777
777
  <script src="../../prettify.js"></script>
778
778
  <script>
@@ -148,7 +148,7 @@ exports.ExportFormats = {
148
148
  <div class='footer quiet pad2 space-top1 center small'>
149
149
  Code coverage generated by
150
150
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
151
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
151
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
152
152
  </div>
153
153
  <script src="../../../prettify.js"></script>
154
154
  <script>
@@ -146,7 +146,7 @@
146
146
  <div class='footer quiet pad2 space-top1 center small'>
147
147
  Code coverage generated by
148
148
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
149
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
149
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
150
150
  </div>
151
151
  <script src="../../../prettify.js"></script>
152
152
  <script>
@@ -637,7 +637,7 @@ exports.exportView = async ctx =&gt; {
637
637
  <div class='footer quiet pad2 space-top1 center small'>
638
638
  Code coverage generated by
639
639
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
640
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
640
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
641
641
  </div>
642
642
  <script src="../../../prettify.js"></script>
643
643
  <script>
@@ -547,7 +547,7 @@ exports.getFromMemoryDoc = async (db, viewName) =&gt; {
547
547
  <div class='footer quiet pad2 space-top1 center small'>
548
548
  Code coverage generated by
549
549
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
550
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
550
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
551
551
  </div>
552
552
  <script src="../../../prettify.js"></script>
553
553
  <script>
@@ -619,7 +619,7 @@ module.exports = viewTemplate
619
619
  <div class='footer quiet pad2 space-top1 center small'>
620
620
  Code coverage generated by
621
621
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
622
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
622
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
623
623
  </div>
624
624
  <script src="../../../prettify.js"></script>
625
625
  <script>
@@ -409,7 +409,7 @@ exports.trigger = async ctx =&gt; {
409
409
  <div class='footer quiet pad2 space-top1 center small'>
410
410
  Code coverage generated by
411
411
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
412
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
412
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
413
413
  </div>
414
414
  <script src="../../prettify.js"></script>
415
415
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
104
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
@@ -358,7 +358,7 @@ module.exports.shutdown = shutdown
358
358
  <div class='footer quiet pad2 space-top1 center small'>
359
359
  Code coverage generated by
360
360
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
361
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
361
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
362
362
  </div>
363
363
  <script src="../prettify.js"></script>
364
364
  <script>
@@ -97,7 +97,7 @@ module.exports = router
97
97
  <div class='footer quiet pad2 space-top1 center small'>
98
98
  Code coverage generated by
99
99
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
100
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
100
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
101
101
  </div>
102
102
  <script src="../../prettify.js"></script>
103
103
  <script>
@@ -106,7 +106,7 @@ module.exports = router
106
106
  <div class='footer quiet pad2 space-top1 center small'>
107
107
  Code coverage generated by
108
108
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
109
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
109
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
110
110
  </div>
111
111
  <script src="../../prettify.js"></script>
112
112
  <script>
@@ -325,7 +325,7 @@ module.exports = router
325
325
  <div class='footer quiet pad2 space-top1 center small'>
326
326
  Code coverage generated by
327
327
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
328
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
328
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
329
329
  </div>
330
330
  <script src="../../prettify.js"></script>
331
331
  <script>
@@ -100,7 +100,7 @@ module.exports = router
100
100
  <div class='footer quiet pad2 space-top1 center small'>
101
101
  Code coverage generated by
102
102
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
103
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
103
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
104
104
  </div>
105
105
  <script src="../../prettify.js"></script>
106
106
  <script>
@@ -112,7 +112,7 @@ module.exports = router
112
112
  <div class='footer quiet pad2 space-top1 center small'>
113
113
  Code coverage generated by
114
114
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
115
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
115
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
116
116
  </div>
117
117
  <script src="../../prettify.js"></script>
118
118
  <script>
@@ -112,7 +112,7 @@ module.exports = router
112
112
  <div class='footer quiet pad2 space-top1 center small'>
113
113
  Code coverage generated by
114
114
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
115
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
115
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
116
116
  </div>
117
117
  <script src="../../prettify.js"></script>
118
118
  <script>
@@ -223,7 +223,7 @@ module.exports = router
223
223
  <div class='footer quiet pad2 space-top1 center small'>
224
224
  Code coverage generated by
225
225
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
226
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
226
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
227
227
  </div>
228
228
  <script src="../../prettify.js"></script>
229
229
  <script>
@@ -121,7 +121,7 @@ module.exports = router
121
121
  <div class='footer quiet pad2 space-top1 center small'>
122
122
  Code coverage generated by
123
123
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
124
- at Tue Oct 04 2022 13:20:06 GMT+0000 (Coordinated Universal Time)
124
+ at Tue Oct 04 2022 14:09:35 GMT+0000 (Coordinated Universal Time)
125
125
  </div>
126
126
  <script src="../../prettify.js"></script>
127
127
  <script>