@budibase/server 1.2.53 → 1.2.54
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/builder/assets/{index.72527cd0.js → index.32928f17.js} +1 -1
- package/builder/index.html +1 -1
- package/coverage/clover.xml +2 -2
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +1 -1
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/utils/index.html +1 -1
- package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +1 -1
- package/coverage/lcov-report/db/utils.js.html +1 -1
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +1 -1
- package/coverage/lcov-report/utilities/index.html +1 -1
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/dist/app.js +8 -0
- package/dist/environment.js +1 -2
- package/dist/package.json +7 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -7
- package/src/app.ts +10 -1
- package/src/environment.js +1 -4
|
@@ -915,7 +915,7 @@ ${r.map(i=>{let s=l[i];return s=typeof s=="object"&&!(s instanceof Date)?`"${JSO
|
|
|
915
915
|
`),t=D("i"),l=F(n),i=F("?"),s=F(`
|
|
916
916
|
This action cannot be undone.`)},m(o,a){b(o,e,a),b(o,t,a),P(t,l),P(t,i),b(o,s,a)},p(o,a){a&1&&n!==(n=o[0].name+"")&&ke(l,n)},d(o){o&&v(e),o&&v(t),o&&v(s)}}}function a$e(r){let e,t,n,l,i,s;e=new Lr({props:{$$slots:{control:[s$e],default:[i$e]},$$scope:{ctx:r}}});let o={okText:"Delete Automation",onOk:r[3],title:"Confirm Deletion",$$slots:{default:[o$e]},$$scope:{ctx:r}};n=new Or({props:o}),r[5](n);let a={automation:r[0]};return i=new t$e({props:a}),r[6](i),{c(){C(e.$$.fragment),t=N(),C(n.$$.fragment),l=N(),C(i.$$.fragment)},m(u,f){S(e,u,f),b(u,t,f),S(n,u,f),b(u,l,f),S(i,u,f),s=!0},p(u,[f]){const c={};f&518&&(c.$$scope={dirty:f,ctx:u}),e.$set(c);const p={};f&513&&(p.$$scope={dirty:f,ctx:u}),n.$set(p);const d={};f&1&&(d.automation=u[0]),i.$set(d)},i(u){s||(m(e.$$.fragment,u),m(n.$$.fragment,u),m(i.$$.fragment,u),s=!0)},o(u){_(e.$$.fragment,u),_(n.$$.fragment,u),_(i.$$.fragment,u),s=!1},d(u){A(e,u),u&&v(t),r[5](null),A(n,u),u&&v(l),r[6](null),A(i,u)}}}function u$e(r,e,t){let n,l;oe(r,Mt,p=>t(7,n=p)),oe(r,Yt,p=>t(8,l=p));let{automation:i}=e,s,o;async function a(){try{await Mt.actions.delete(i),ye.success("Automation deleted successfully"),l("../automate")}catch{ye.error("Error deleting automation")}}async function u(){try{await Mt.actions.duplicate(i),ye.success("Automation has been duplicated successfully"),l(`./${n.selectedAutomation.automation._id}`)}catch{ye.error("Error duplicating automation")}}function f(p){te[p?"unshift":"push"](()=>{s=p,t(1,s)})}function c(p){te[p?"unshift":"push"](()=>{o=p,t(2,o)})}return r.$$set=p=>{"automation"in p&&t(0,i=p.automation)},[i,s,o,a,u,f,c]}class f$e extends ie{constructor(e){super();se(this,e,u$e,a$e,re,{automation:0})}}function Q7(r,e,t){const n=r.slice();return n[5]=e[t],n[7]=t,n}function c$e(r){let e,t,n;return e=new f$e({props:{automation:r[5]}}),{c(){C(e.$$.fragment),t=N()},m(l,i){S(e,l,i),b(l,t,i),n=!0},p(l,i){const s={};i&1&&(s.automation=l[5]),e.$set(s)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){_(e.$$.fragment,l),n=!1},d(l){A(e,l),l&&v(t)}}}function K7(r){let e,t;function n(){return r[3](r[5])}return e=new Yi({props:{border:r[7]>0,icon:"ShareAndroid",text:r[5].name,selected:r[5]._id===r[1],$$slots:{default:[c$e]},$$scope:{ctx:r}}}),e.$on("click",n),{c(){C(e.$$.fragment)},m(l,i){S(e,l,i),t=!0},p(l,i){r=l;const s={};i&1&&(s.text=r[5].name),i&3&&(s.selected=r[5]._id===r[1]),i&257&&(s.$$scope={dirty:i,ctx:r}),e.$set(s)},i(l){t||(m(e.$$.fragment,l),t=!0)},o(l){_(e.$$.fragment,l),t=!1},d(l){A(e,l)}}}function p$e(r){let e,t,n=r[0].automations,l=[];for(let s=0;s<n.length;s+=1)l[s]=K7(Q7(r,n,s));const i=s=>_(l[s],1,1,()=>{l[s]=null});return{c(){e=D("div");for(let s=0;s<l.length;s+=1)l[s].c();y(e,"class","automations-list svelte-g64vb")},m(s,o){b(s,e,o);for(let a=0;a<l.length;a+=1)l[a].m(e,null);t=!0},p(s,[o]){if(o&7){n=s[0].automations;let a;for(a=0;a<n.length;a+=1){const u=Q7(s,n,a);l[a]?(l[a].p(u,o),m(l[a],1)):(l[a]=K7(u),l[a].c(),m(l[a],1),l[a].m(e,null))}for(K(),a=n.length;a<l.length;a+=1)i(a);Z()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)m(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)_(l[o]);t=!1},d(s){s&&v(e),at(l,s)}}}function d$e(r,e,t){let n,l,i;oe(r,Yt,a=>t(4,l=a)),oe(r,Mt,a=>t(0,i=a)),It(async()=>{try{await Mt.actions.fetch()}catch{ye.error("Error getting automations list")}});function s(a){Mt.actions.select(a),l(`./${a._id}`)}const o=a=>s(a);return r.$$.update=()=>{var a,u;r.$$.dirty&1&&t(1,n=(u=(a=i.selectedAutomation)==null?void 0:a.automation)==null?void 0:u._id)},[i,n,s,o]}class m$e extends ie{constructor(e){super();se(this,e,d$e,p$e,re,{})}}function Z7(r,e,t){const n=r.slice();return n[17]=e[t][0],n[18]=e[t][1],n}function g$e(r){let e;return{c(){e=F(`Please name your automation, then select a trigger. Every automation must
|
|
917
917
|
start with a trigger.`)},m(t,n){b(t,e,n)},d(t){t&&v(e)}}}function _$e(r){let e;return{c(){e=F("Triggers")},m(t,n){b(t,e,n)},d(t){t&&v(e)}}}function h$e(r){let e=r[18].name+"",t;return{c(){t=F(e)},m(n,l){b(n,t,l)},p(n,l){l&8&&e!==(e=n[18].name+"")&&ke(t,e)},d(n){n&&v(t)}}}function x7(r){let e,t,n,l,i,s,o,a,u,f;n=new Xe({props:{name:r[18].icon}}),s=new Ve({props:{size:"S",$$slots:{default:[h$e]},$$scope:{ctx:r}}});function c(){return r[13](r[18])}return{c(){e=D("div"),t=D("div"),C(n.$$.fragment),l=N(),i=D("span"),C(s.$$.fragment),o=N(),y(i,"class","icon-spacing svelte-d3iboa"),y(t,"class","item-body svelte-d3iboa"),y(e,"class","item svelte-d3iboa"),x(e,"selected",r[2]===r[18].name)},m(p,d){b(p,e,d),P(e,t),S(n,t,null),P(t,l),P(t,i),S(s,i,null),P(e,o),a=!0,u||(f=Ee(e,"click",c),u=!0)},p(p,d){r=p;const g={};d&8&&(g.name=r[18].icon),n.$set(g);const h={};d&2097160&&(h.$$scope={dirty:d,ctx:r}),s.$set(h),d&12&&x(e,"selected",r[2]===r[18].name)},i(p){a||(m(n.$$.fragment,p),m(s.$$.fragment,p),a=!0)},o(p){_(n.$$.fragment,p),_(s.$$.fragment,p),a=!1},d(p){p&&v(e),A(n),A(s),u=!1,f()}}}function $$e(r){let e,t,n,l;e=new Ve({props:{size:"S",$$slots:{default:[_$e]},$$scope:{ctx:r}}});let i=r[3],s=[];for(let a=0;a<i.length;a+=1)s[a]=x7(Z7(r,i,a));const o=a=>_(s[a],1,1,()=>{s[a]=null});return{c(){C(e.$$.fragment),t=N(),n=D("div");for(let a=0;a<s.length;a+=1)s[a].c();y(n,"class","item-list svelte-d3iboa")},m(a,u){S(e,a,u),b(a,t,u),b(a,n,u);for(let f=0;f<s.length;f+=1)s[f].m(n,null);l=!0},p(a,u){const f={};if(u&2097152&&(f.$$scope={dirty:u,ctx:a}),e.$set(f),u&76){i=a[3];let c;for(c=0;c<i.length;c+=1){const p=Z7(a,i,c);s[c]?(s[c].p(p,u),m(s[c],1)):(s[c]=x7(p),s[c].c(),m(s[c],1),s[c].m(n,null))}for(K(),c=i.length;c<s.length;c+=1)o(c);Z()}},i(a){if(!l){m(e.$$.fragment,a);for(let u=0;u<i.length;u+=1)m(s[u]);l=!0}},o(a){_(e.$$.fragment,a),s=s.filter(Boolean);for(let u=0;u<s.length;u+=1)_(s[u]);l=!1},d(a){A(e,a),a&&v(t),a&&v(n),at(s,a)}}}function b$e(r){let e,t,n,l,i,s,o,a,u,f;e=new Oc({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."}}),n=new Ve({props:{size:"XS",$$slots:{default:[g$e]},$$scope:{ctx:r}}});function c(g){r[10](g)}function p(g){r[11](g)}let d={label:"Name"};return r[0]!==void 0&&(d.value=r[0]),r[4]!==void 0&&(d.error=r[4]),i=new ot({props:d}),te.push(()=>ce(i,"value",c)),te.push(()=>ce(i,"error",p)),i.$on("change",r[12]),u=new Be({props:{noPadding:!0,$$slots:{default:[$$e]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment),t=N(),C(n.$$.fragment),l=N(),C(i.$$.fragment),a=N(),C(u.$$.fragment)},m(g,h){S(e,g,h),b(g,t,h),S(n,g,h),b(g,l,h),S(i,g,h),b(g,a,h),S(u,g,h),f=!0},p(g,h){const $={};h&2097152&&($.$$scope={dirty:h,ctx:g}),n.$set($);const w={};!s&&h&1&&(s=!0,w.value=g[0],pe(()=>s=!1)),!o&&h&16&&(o=!0,w.error=g[4],pe(()=>o=!1)),i.$set(w);const k={};h&2097164&&(k.$$scope={dirty:h,ctx:g}),u.$set(k)},i(g){f||(m(e.$$.fragment,g),m(n.$$.fragment,g),m(i.$$.fragment,g),m(u.$$.fragment,g),f=!0)},o(g){_(e.$$.fragment,g),_(n.$$.fragment,g),_(i.$$.fragment,g),_(u.$$.fragment,g),f=!1},d(g){A(e,g),g&&v(t),A(n,g),g&&v(l),A(i,g),g&&v(a),A(u,g)}}}function v$e(r){let e,t;return e=new Bt({props:{title:"Create Automation",confirmText:"Save",size:"M",onConfirm:r[5],disabled:!r[2]||!r[0],$$slots:{default:[b$e]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,[l]){const i={};l&5&&(i.disabled=!n[2]||!n[0]),l&2097183&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function w$e(r,e,t){let n,l,i,s,o,a;oe(r,Mt,T=>t(8,s=T)),oe(r,Yt,T=>t(16,o=T)),oe(r,xs,T=>t(9,a=T));let u,f,c=!1,p,{webhookModal:d}=e;async function g(){var T;try{await Mt.actions.create({name:u,instanceId:n});const E=s.selectedAutomation.constructBlock("TRIGGER",p.stepId,p);Mt.actions.addBlockToAutomation(E),p.stepId===Qo.WEBHOOK&&d.show,await Mt.actions.save((T=s.selectedAutomation)==null?void 0:T.automation),ye.success(`Automation ${u} created`),o(`./${s.selectedAutomation.automation._id}`)}catch{ye.error("Error creating automation")}}const h=T=>{p=T,t(2,f=T.name)};function $(T){u=T,t(0,u)}function w(T){l=T,t(4,l),t(1,c),t(0,u)}const k=()=>t(1,c=!0),O=T=>h(T);return r.$$set=T=>{"webhookModal"in T&&t(7,d=T.webhookModal)},r.$$.update=()=>{r.$$.dirty&512&&(n=a._id),r.$$.dirty&3&&t(4,l=c&&!u?"Please specify a name for the automation.":null),r.$$.dirty&256&&t(3,i=Object.entries(s.blockDefinitions.TRIGGER))},[u,c,f,i,l,g,h,d,s,a,$,w,k,O]}class e9 extends ie{constructor(e){super();se(this,e,w$e,v$e,re,{webhookModal:7})}}function y$e(r){let e,t;return e=new e9({props:{webhookModal:r[1]}}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,l){const i={};l&2&&(i.webhookModal=n[1]),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function k$e(r){let e,t,n,l;e=new m$e({});let i={$$slots:{default:[y$e]},$$scope:{ctx:r}};return n=new Ot({props:i}),r[2](n),{c(){C(e.$$.fragment),t=N(),C(n.$$.fragment)},m(s,o){S(e,s,o),b(s,t,o),S(n,s,o),l=!0},p(s,o){const a={};o&10&&(a.$$scope={dirty:o,ctx:s}),n.$set(a)},i(s){l||(m(e.$$.fragment,s),m(n.$$.fragment,s),l=!0)},o(s){_(e.$$.fragment,s),_(n.$$.fragment,s),l=!1},d(s){A(e,s),s&&v(t),r[2](null),A(n,s)}}}function C$e(r){let e,t;return e=new $n({props:{title:"Automations",$$slots:{default:[k$e]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,l){const i={};l&11&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function S$e(r){let e,t,n,l,i,s;return t=new nl({props:{selected:"Automations",$$slots:{default:[C$e]},$$scope:{ctx:r}}}),i=new Xe({props:{hoverable:!0,name:"AddCircle"}}),i.$on("click",function(){ft(r[0].show)&&r[0].show.apply(this,arguments)}),{c(){e=D("div"),C(t.$$.fragment),n=N(),l=D("div"),C(i.$$.fragment),y(l,"class","add-button svelte-mcmub4"),y(e,"class","title svelte-mcmub4")},m(o,a){b(o,e,a),S(t,e,null),P(e,n),P(e,l),S(i,l,null),s=!0},p(o,[a]){r=o;const u={};a&11&&(u.$$scope={dirty:a,ctx:r}),t.$set(u)},i(o){s||(m(t.$$.fragment,o),m(i.$$.fragment,o),s=!0)},o(o){_(t.$$.fragment,o),_(i.$$.fragment,o),s=!1},d(o){o&&v(e),A(t),A(i)}}}function A$e(r,e,t){let{modal:n}=e,{webhookModal:l}=e;function i(s){te[s?"unshift":"push"](()=>{n=s,t(0,n)})}return r.$$set=s=>{"modal"in s&&t(0,n=s.modal),"webhookModal"in s&&t(1,l=s.webhookModal)},[n,l,i]}class O$e extends ie{constructor(e){super();se(this,e,A$e,S$e,re,{modal:0,webhookModal:1})}}function t9(r,e,t){const n=r.slice();return n[8]=e[t],n[10]=t,n}function n9(r){var u;let e,t,n,l,i;function s(f){r[6](f)}let o={showTestStatus:!0,block:r[8],isTrigger:r[10]===0,testResult:(u=r[2])==null?void 0:u[r[10]]};r[3]!==void 0&&(o.showParameters=r[3]),e=new D7({props:o}),te.push(()=>ce(e,"showParameters",s));let a=r[3]&&r[3][r[8].id]&&r9(r);return{c(){C(e.$$.fragment),n=N(),a&&a.c(),l=Ie()},m(f,c){S(e,f,c),b(f,n,c),a&&a.m(f,c),b(f,l,c),i=!0},p(f,c){var d;const p={};c&2&&(p.block=f[8]),c&4&&(p.testResult=(d=f[2])==null?void 0:d[f[10]]),!t&&c&8&&(t=!0,p.showParameters=f[3],pe(()=>t=!1)),e.$set(p),f[3]&&f[3][f[8].id]?a?(a.p(f,c),c&10&&m(a,1)):(a=r9(f),a.c(),m(a,1),a.m(l.parentNode,l)):a&&(K(),_(a,1,1,()=>{a=null}),Z())},i(f){i||(m(e.$$.fragment,f),m(a),i=!0)},o(f){_(e.$$.fragment,f),_(a),i=!1},d(f){A(e,f),f&&v(n),a&&a.d(f),f&&v(l)}}}function r9(r){var a,u;let e,t,n,l,i,s;e=new Qt({props:{noMargin:!0}});let o=((u=(a=r[2])==null?void 0:a[r[10]])==null?void 0:u.outputs.iterations)&&l9(r);return i=new nl({props:{noHorizPadding:!0,selected:"Input",$$slots:{default:[P$e]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment),t=N(),o&&o.c(),n=N(),l=D("div"),C(i.$$.fragment),y(l,"class","tabs svelte-1iblsnb")},m(f,c){S(e,f,c),b(f,t,c),o&&o.m(f,c),b(f,n,c),b(f,l,c),S(i,l,null),s=!0},p(f,c){var d,g;((g=(d=f[2])==null?void 0:d[f[10]])==null?void 0:g.outputs.iterations)?o?(o.p(f,c),c&4&&m(o,1)):(o=l9(f),o.c(),m(o,1),o.m(n.parentNode,n)):o&&(K(),_(o,1,1,()=>{o=null}),Z());const p={};c&2052&&(p.$$scope={dirty:c,ctx:f}),i.$set(p)},i(f){s||(m(e.$$.fragment,f),m(o),m(i.$$.fragment,f),s=!0)},o(f){_(e.$$.fragment,f),_(o),_(i.$$.fragment,f),s=!1},d(f){A(e,f),f&&v(t),o&&o.d(f),f&&v(n),f&&v(l),A(i)}}}function l9(r){let e,t,n,l,i,s;return t=new Xe({props:{name:"Reuse"}}),i=new Ze({props:{$$slots:{default:[I$e]},$$scope:{ctx:r}}}),{c(){e=D("div"),C(t.$$.fragment),n=N(),l=D("div"),C(i.$$.fragment),Je(l,"margin-left","10px"),Je(e,"display","flex"),Je(e,"padding","10px 10px 0px 12px")},m(o,a){b(o,e,a),S(t,e,null),P(e,n),P(e,l),S(i,l,null),s=!0},p(o,a){const u={};a&2052&&(u.$$scope={dirty:a,ctx:o}),i.$set(u)},i(o){s||(m(t.$$.fragment,o),m(i.$$.fragment,o),s=!0)},o(o){_(t.$$.fragment,o),_(i.$$.fragment,o),s=!1},d(o){o&&v(e),A(t),A(i)}}}function I$e(r){var i,s;let e,t=((s=(i=r[2])==null?void 0:i[r[10]])==null?void 0:s.outputs.iterations)+"",n,l;return{c(){e=F("This loop ran "),n=F(t),l=F(" times.")},m(o,a){b(o,e,a),b(o,n,a),b(o,l,a)},p(o,a){var u,f;a&4&&t!==(t=((f=(u=o[2])==null?void 0:u[o[10]])==null?void 0:f.outputs.iterations)+"")&&ke(n,t)},d(o){o&&v(e),o&&v(n),o&&v(l)}}}function E$e(r){var n,l;let e,t;return e=new yl({props:{minHeight:"80px",disabled:!0,value:Wc((l=(n=r[2])==null?void 0:n[r[10]])==null?void 0:l.inputs,"No input")}}),{c(){C(e.$$.fragment)},m(i,s){S(e,i,s),t=!0},p(i,s){var a,u;const o={};s&4&&(o.value=Wc((u=(a=i[2])==null?void 0:a[i[10]])==null?void 0:u.inputs,"No input")),e.$set(o)},i(i){t||(m(e.$$.fragment,i),t=!0)},o(i){_(e.$$.fragment,i),t=!1},d(i){A(e,i)}}}function T$e(r){var n,l;let e,t;return e=new yl({props:{minHeight:"100px",disabled:!0,value:Wc((l=(n=r[2])==null?void 0:n[r[10]])==null?void 0:l.outputs,"No output")}}),{c(){C(e.$$.fragment)},m(i,s){S(e,i,s),t=!0},p(i,s){var a,u;const o={};s&4&&(o.value=Wc((u=(a=i[2])==null?void 0:a[i[10]])==null?void 0:u.outputs,"No output")),e.$set(o)},i(i){t||(m(e.$$.fragment,i),t=!0)},o(i){_(e.$$.fragment,i),t=!1},d(i){A(e,i)}}}function P$e(r){let e,t,n,l;return e=new $n({props:{title:"Input",$$slots:{default:[E$e]},$$scope:{ctx:r}}}),n=new $n({props:{title:"Output",$$slots:{default:[T$e]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment),t=N(),C(n.$$.fragment)},m(i,s){S(e,i,s),b(i,t,s),S(n,i,s),l=!0},p(i,s){const o={};s&2052&&(o.$$scope={dirty:s,ctx:i}),e.$set(o);const a={};s&2052&&(a.$$scope={dirty:s,ctx:i}),n.$set(a)},i(i){l||(m(e.$$.fragment,i),m(n.$$.fragment,i),l=!0)},o(i){_(e.$$.fragment,i),_(n.$$.fragment,i),l=!1},d(i){A(e,i),i&&v(t),A(n,i)}}}function i9(r){let e;return{c(){e=D("div"),y(e,"class","separator svelte-1iblsnb")},m(t,n){b(t,e,n)},d(t){t&&v(e)}}}function s9(r){let e,t,n,l,i,s=r[8].stepId!==Jl.LOOP&&n9(r),o=r[1].length-1!==r[10]&&i9();return{c(){e=D("div"),s&&s.c(),n=N(),o&&o.c(),l=Ie(),y(e,"class","block svelte-1iblsnb"),y(e,"style",t=r[0]?`width: ${r[0]}`:"")},m(a,u){b(a,e,u),s&&s.m(e,null),b(a,n,u),o&&o.m(a,u),b(a,l,u),i=!0},p(a,u){a[8].stepId!==Jl.LOOP?s?(s.p(a,u),u&2&&m(s,1)):(s=n9(a),s.c(),m(s,1),s.m(e,null)):s&&(K(),_(s,1,1,()=>{s=null}),Z()),(!i||u&1&&t!==(t=a[0]?`width: ${a[0]}`:""))&&y(e,"style",t),a[1].length-1!==a[10]?o||(o=i9(),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null)},i(a){i||(m(s),i=!0)},o(a){_(s),i=!1},d(a){a&&v(e),s&&s.d(),a&&v(n),o&&o.d(a),a&&v(l)}}}function L$e(r){let e,t,n=r[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=s9(t9(r,n,s));const i=s=>_(l[s],1,1,()=>{l[s]=null});return{c(){e=D("div");for(let s=0;s<l.length;s+=1)l[s].c();y(e,"class","container svelte-1iblsnb")},m(s,o){b(s,e,o);for(let a=0;a<l.length;a+=1)l[a].m(e,null);t=!0},p(s,[o]){if(o&15){n=s[1];let a;for(a=0;a<n.length;a+=1){const u=t9(s,n,a);l[a]?(l[a].p(u,o),m(l[a],1)):(l[a]=s9(u),l[a].c(),m(l[a],1),l[a].m(e,null))}for(K(),a=n.length;a<l.length;a+=1)i(a);Z()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)m(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)_(l[o]);t=!1},d(s){s&&v(e),at(l,s)}}}function Wc(r,e){return r?JSON.stringify(r,null,2):e}function N$e(r,e,t){let n,{automation:l}=e,{testResults:i}=e,{width:s="400px"}=e,o,a;function u(c){return c==null?void 0:c.steps.filter(p=>p.stepId!==Jl.LOOP||[])}function f(c){o=c,t(3,o)}return r.$$set=c=>{"automation"in c&&t(4,l=c.automation),"testResults"in c&&t(5,i=c.testResults),"width"in c&&t(0,s=c.width)},r.$$.update=()=>{if(r.$$.dirty&32&&t(2,n=u(i)),r.$$.dirty&22){if(t(1,a=[]),l)l.definition.trigger&&a.push(l.definition.trigger),t(1,a=a.concat(l.definition.steps||[]).filter(c=>c.stepId!==Jl.LOOP));else if(n){t(1,a=n||[]);let c=0;for(let p of a)p.id=c++}}},[s,a,n,o,l,i,f]}class o9 extends ie{constructor(e){super();se(this,e,N$e,L$e,re,{automation:4,testResults:5,width:0})}}function R$e(r){let e,t,n,l,i,s,o,a,u,f,c,p,d;return n=new Xe({props:{name:"MultipleCheck"}}),a=new Xe({props:{hoverable:!0,name:"Close"}}),a.$on("click",r[4]),f=new Qt({}),p=new o9({props:{automation:r[0],testResults:r[2]}}),{c(){e=D("div"),t=D("div"),C(n.$$.fragment),l=N(),i=D("div"),i.textContent="Test Details",s=N(),o=D("div"),C(a.$$.fragment),u=N(),C(f.$$.fragment),c=N(),C(p.$$.fragment),Je(i,"padding-left","var(--spacing-l)"),y(t,"class","title-text svelte-nwwj95"),Je(o,"padding-right","var(--spacing-xl)"),y(e,"class","title svelte-nwwj95")},m(g,h){b(g,e,h),P(e,t),S(n,t,null),P(t,l),P(t,i),P(e,s),P(e,o),S(a,o,null),b(g,u,h),S(f,g,h),b(g,c,h),S(p,g,h),d=!0},p(g,[h]){const $={};h&1&&($.automation=g[0]),h&4&&($.testResults=g[2]),p.$set($)},i(g){d||(m(n.$$.fragment,g),m(a.$$.fragment,g),m(f.$$.fragment,g),m(p.$$.fragment,g),d=!0)},o(g){_(n.$$.fragment,g),_(a.$$.fragment,g),_(f.$$.fragment,g),_(p.$$.fragment,g),d=!1},d(g){g&&v(e),A(n),A(a),g&&v(u),A(f,g),g&&v(c),A(p,g)}}}function M$e(r,e,t){let n;oe(r,Mt,a=>t(1,n=a));let{automation:l}=e,i,s;const o=async()=>{wn(Mt,n.showTestPanel=!1,n)};return r.$$set=a=>{"automation"in a&&t(0,l=a.automation)},r.$$.update=()=>{var a;r.$$.dirty&11&&(t(3,i=[]),l?(l.definition.trigger&&i.push(l.definition.trigger),t(3,i=i.concat(l.definition.steps||[]).filter(u=>u.stepId!==Jl.LOOP))):n.selectedAutomation&&t(0,l=n.selectedAutomation)),r.$$.dirty&2&&t(2,s=(a=n.selectedAutomation)==null?void 0:a.testResults)},[l,n,s,i,o]}class D$e extends ie{constructor(e){super();se(this,e,M$e,R$e,re,{automation:0})}}function B$e(r){let e,t,n,l;return n=new Be({props:{gap:"S",justifyItems:"center",$$slots:{default:[F$e]},$$scope:{ctx:r}}}),{c(){e=D("div"),t=D("div"),C(n.$$.fragment),y(t,"class","main svelte-374m3f"),y(e,"class","centered svelte-374m3f")},m(i,s){b(i,e,s),P(e,t),S(n,t,null),l=!0},p(i,s){const o={};s&258&&(o.$$scope={dirty:s,ctx:i}),n.$set(o)},i(i){l||(m(n.$$.fragment,i),l=!0)},o(i){_(n.$$.fragment,i),l=!1},d(i){i&&v(e),A(n)}}}function j$e(r){let e;const t=r[4].default,n=bt(t,r,r[8],null);return{c(){n&&n.c()},m(l,i){n&&n.m(l,i),e=!0},p(l,i){n&&n.p&&(!e||i&256)&&vt(n,t,l,l[8],e?yt(t,l[8],i,null):wt(l[8]),null)},i(l){e||(m(n,l),e=!0)},o(l){_(n,l),e=!1},d(l){n&&n.d(l)}}}function z$e(r){let e;return{c(){e=F("You have no automations")},m(t,n){b(t,e,n)},d(t){t&&v(e)}}}function q$e(r){let e;return{c(){e=F("Let's fix that. Call the bots!")},m(t,n){b(t,e,n)},d(t){t&&v(e)}}}function U$e(r){let e;return{c(){e=F("Create automation")},m(t,n){b(t,e,n)},d(t){t&&v(e)}}}function F$e(r){let e,t,n,l,i,s,o,a,u;return l=new mt({props:{size:"M",$$slots:{default:[z$e]},$$scope:{ctx:r}}}),s=new Ve({props:{size:"M",$$slots:{default:[q$e]},$$scope:{ctx:r}}}),a=new rt({props:{size:"M",cta:!0,$$slots:{default:[U$e]},$$scope:{ctx:r}}}),a.$on("click",r[5]),{c(){e=de("svg"),t=de("use"),n=N(),C(l.$$.fragment),i=N(),C(s.$$.fragment),o=N(),C(a.$$.fragment),jt(t,"xlink:href","#spectrum-icon-18-WorkflowAdd"),y(e,"width","60px"),y(e,"height","60px"),y(e,"class","spectrum-Icon"),y(e,"focusable","false")},m(f,c){b(f,e,c),P(e,t),b(f,n,c),S(l,f,c),b(f,i,c),S(s,f,c),b(f,o,c),S(a,f,c),u=!0},p(f,c){const p={};c&256&&(p.$$scope={dirty:c,ctx:f}),l.$set(p);const d={};c&256&&(d.$$scope={dirty:c,ctx:f}),s.$set(d);const g={};c&256&&(g.$$scope={dirty:c,ctx:f}),a.$set(g)},i(f){u||(m(l.$$.fragment,f),m(s.$$.fragment,f),m(a.$$.fragment,f),u=!0)},o(f){_(l.$$.fragment,f),_(s.$$.fragment,f),_(a.$$.fragment,f),u=!1},d(f){f&&v(e),f&&v(n),A(l,f),f&&v(i),A(s,f),f&&v(o),A(a,f)}}}function a9(r){let e,t,n;return t=new D$e({props:{automation:r[3]}}),{c(){e=D("div"),C(t.$$.fragment),y(e,"class","setup svelte-374m3f")},m(l,i){b(l,e,i),S(t,e,null),n=!0},p(l,i){const s={};i&8&&(s.automation=l[3]),t.$set(s)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){_(t.$$.fragment,l),n=!1},d(l){l&&v(e),A(t)}}}function V$e(r){let e,t;return e=new e9({props:{webhookModal:r[2]}}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,l){const i={};l&4&&(i.webhookModal=n[2]),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function H$e(r){let e,t;return e=new w1({}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function W$e(r){let e,t,n,l,i,s,o,a,u,f,c,p,d;n=new O$e({props:{modal:r[1],webhookModal:r[2]}});const g=[j$e,B$e],h=[];function $(T,E){return T[3]?0:1}s=$(r),o=h[s]=g[s](r);let w=r[0].showTestPanel&&a9(r),k={$$slots:{default:[V$e]},$$scope:{ctx:r}};f=new Ot({props:k}),r[6](f);let O={width:"30%",$$slots:{default:[H$e]},$$scope:{ctx:r}};return p=new Ot({props:O}),r[7](p),{c(){e=D("div"),t=D("div"),C(n.$$.fragment),l=N(),i=D("div"),o.c(),a=N(),w&&w.c(),u=N(),C(f.$$.fragment),c=N(),C(p.$$.fragment),y(t,"class","nav svelte-374m3f"),y(i,"class","content svelte-374m3f"),y(e,"class","root svelte-374m3f")},m(T,E){b(T,e,E),P(e,t),S(n,t,null),P(e,l),P(e,i),h[s].m(i,null),P(e,a),w&&w.m(e,null),P(e,u),S(f,e,null),P(e,c),S(p,e,null),d=!0},p(T,[E]){const L={};E&2&&(L.modal=T[1]),E&4&&(L.webhookModal=T[2]),n.$set(L);let R=s;s=$(T),s===R?h[s].p(T,E):(K(),_(h[R],1,1,()=>{h[R]=null}),Z(),o=h[s],o?o.p(T,E):(o=h[s]=g[s](T),o.c()),m(o,1),o.m(i,null)),T[0].showTestPanel?w?(w.p(T,E),E&1&&m(w,1)):(w=a9(T),w.c(),m(w,1),w.m(e,u)):w&&(K(),_(w,1,1,()=>{w=null}),Z());const j={};E&260&&(j.$$scope={dirty:E,ctx:T}),f.$set(j);const B={};E&256&&(B.$$scope={dirty:E,ctx:T}),p.$set(B)},i(T){d||(m(n.$$.fragment,T),m(o),m(w),m(f.$$.fragment,T),m(p.$$.fragment,T),d=!0)},o(T){_(n.$$.fragment,T),_(o),_(w),_(f.$$.fragment,T),_(p.$$.fragment,T),d=!1},d(T){T&&v(e),A(n),h[s].d(),w&&w.d(),r[6](null),A(f),r[7](null),A(p)}}}function G$e(r,e,t){let n,l;oe(r,Mt,p=>t(0,l=p));let{$$slots:i={},$$scope:s}=e,o,a;It(()=>{wn(Mt,l.showTestPanel=!1,l)});const u=()=>o.show();function f(p){te[p?"unshift":"push"](()=>{o=p,t(1,o)})}function c(p){te[p?"unshift":"push"](()=>{a=p,t(2,a)})}return r.$$set=p=>{"$$scope"in p&&t(8,s=p.$$scope)},r.$$.update=()=>{var p;r.$$.dirty&1&&t(3,n=((p=l.selectedAutomation)==null?void 0:p.automation)||l.automations[0])},[l,o,a,n,i,u,f,c,s]}class Y$e extends ie{constructor(e){super();se(this,e,G$e,W$e,re,{})}}function X$e(r){let e,t,n,l,i,s,o;function a(f){r[4](f)}let u={};return r[2]!==void 0&&(u.value=r[2]),i=new ot({props:u}),te.push(()=>ce(i,"value",a)),{c(){e=D("span"),e.textContent=`The changes you have made will be deleted and the application reverted
|
|
918
|
-
back to its production state.`,t=N(),n=D("span"),n.textContent="Please enter your app name to continue.",l=N(),C(i.$$.fragment)},m(f,c){b(f,e,c),b(f,t,c),b(f,n,c),b(f,l,c),S(i,f,c),o=!0},p(f,c){const p={};!s&&c&4&&(s=!0,p.value=f[2],pe(()=>s=!1)),i.$set(p)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){_(i.$$.fragment,f),o=!1},d(f){f&&v(e),f&&v(t),f&&v(n),f&&v(l),A(i,f)}}}function J$e(r){let e,t;return e=new Bt({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:r[3],disabled:r[2]!==r[0].name,$$slots:{default:[X$e]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,l){const i={};l&5&&(i.disabled=n[2]!==n[0].name),l&132&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function Q$e(r){let e,t,n,l;e=new Xe({props:{name:"Revert",hoverable:!0,tooltip:"Revert changes",dataCy:"revert-application-topnav"}}),e.$on("click",function(){ft(r[1].show)&&r[1].show.apply(this,arguments)});let i={$$slots:{default:[J$e]},$$scope:{ctx:r}};return n=new Ot({props:i}),r[5](n),{c(){C(e.$$.fragment),t=N(),C(n.$$.fragment)},m(s,o){S(e,s,o),b(s,t,o),S(n,s,o),l=!0},p(s,[o]){r=s;const a={};o&133&&(a.$$scope={dirty:o,ctx:r}),n.$set(a)},i(s){l||(m(e.$$.fragment,s),m(n.$$.fragment,s),l=!0)},o(s){_(e.$$.fragment,s),_(n.$$.fragment,s),l=!1},d(s){A(e,s),s&&v(t),r[5](null),A(n,s)}}}function K$e(r,e,t){let n,l;oe(r,He,f=>t(0,l=f));let i,s;const o=async()=>{try{await Ge.revertAppChanges(n);const f=await Ge.fetchAppPackage(n);await He.actions.initialise(f),ye.info("Changes reverted successfully")}catch(f){ye.error(`Error reverting changes: ${f}`)}};function a(f){s=f,t(2,s)}function u(f){te[f?"unshift":"push"](()=>{i=f,t(1,i)})}return r.$$.update=()=>{r.$$.dirty&1&&(n=l.appId)},[l,i,s,o,a,u]}class Z$e extends ie{constructor(e){super();se(this,e,K$e,Q$e,re,{})}}const x$e="@budibase/client",ebe="1.2.
|
|
918
|
+
back to its production state.`,t=N(),n=D("span"),n.textContent="Please enter your app name to continue.",l=N(),C(i.$$.fragment)},m(f,c){b(f,e,c),b(f,t,c),b(f,n,c),b(f,l,c),S(i,f,c),o=!0},p(f,c){const p={};!s&&c&4&&(s=!0,p.value=f[2],pe(()=>s=!1)),i.$set(p)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){_(i.$$.fragment,f),o=!1},d(f){f&&v(e),f&&v(t),f&&v(n),f&&v(l),A(i,f)}}}function J$e(r){let e,t;return e=new Bt({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:r[3],disabled:r[2]!==r[0].name,$$slots:{default:[X$e]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,l){const i={};l&5&&(i.disabled=n[2]!==n[0].name),l&132&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function Q$e(r){let e,t,n,l;e=new Xe({props:{name:"Revert",hoverable:!0,tooltip:"Revert changes",dataCy:"revert-application-topnav"}}),e.$on("click",function(){ft(r[1].show)&&r[1].show.apply(this,arguments)});let i={$$slots:{default:[J$e]},$$scope:{ctx:r}};return n=new Ot({props:i}),r[5](n),{c(){C(e.$$.fragment),t=N(),C(n.$$.fragment)},m(s,o){S(e,s,o),b(s,t,o),S(n,s,o),l=!0},p(s,[o]){r=s;const a={};o&133&&(a.$$scope={dirty:o,ctx:r}),n.$set(a)},i(s){l||(m(e.$$.fragment,s),m(n.$$.fragment,s),l=!0)},o(s){_(e.$$.fragment,s),_(n.$$.fragment,s),l=!1},d(s){A(e,s),s&&v(t),r[5](null),A(n,s)}}}function K$e(r,e,t){let n,l;oe(r,He,f=>t(0,l=f));let i,s;const o=async()=>{try{await Ge.revertAppChanges(n);const f=await Ge.fetchAppPackage(n);await He.actions.initialise(f),ye.info("Changes reverted successfully")}catch(f){ye.error(`Error reverting changes: ${f}`)}};function a(f){s=f,t(2,s)}function u(f){te[f?"unshift":"push"](()=>{i=f,t(1,i)})}return r.$$.update=()=>{r.$$.dirty&1&&(n=l.appId)},[l,i,s,o,a,u]}class Z$e extends ie{constructor(e){super();se(this,e,K$e,Q$e,re,{})}}const x$e="@budibase/client",ebe="1.2.53",tbe="MPL-2.0",nbe="dist/budibase-client.js",rbe="dist/budibase-client.js",lbe="module",ibe="src/index.js",sbe={".":{import:"./dist/budibase-client.js",require:"./dist/budibase-client.js"},"./package.json":"./package.json","./manifest.json":"./manifest.json"},obe={build:"rollup -c","dev:builder":"rollup -cw"},abe={"@budibase/bbui":"^1.2.53","@budibase/frontend-core":"^1.2.53","@budibase/string-templates":"^1.2.53","@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","rollup-plugin-polyfill-node":"^0.8.0","sanitize-html":"^2.7.0",screenfull:"^6.0.1",shortid:"^2.2.15",svelte:"^3.49.0","svelte-apexcharts":"^1.0.2","svelte-flatpickr":"^3.1.0","svelte-spa-router":"^3.0.5"},ube={"@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-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"},fbe="d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc";var lo={name:x$e,version:ebe,license:tbe,module:nbe,main:rbe,type:lbe,svelte:ibe,exports:sbe,scripts:obe,dependencies:abe,devDependencies:ube,gitHead:fbe};function u9(r){let e,t;return e=new Dl({props:{hoverable:!0,notice:!0,$$slots:{default:[cbe]},$$scope:{ctx:r}}}),e.$on("click",function(){ft(r[2].show)&&r[2].show.apply(this,arguments)}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,l){r=n;const i={};l&4096&&(i.$$scope={dirty:l,ctx:r}),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function cbe(r){let e;return{c(){e=F("Update available")},m(t,n){b(t,e,n)},d(t){t&&v(e)}}}function pbe(r){let e,t;return e=new Ve({props:{size:"S",$$slots:{default:[mbe]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,l){const i={};l&4098&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function dbe(r){let e,t;return e=new Ve({props:{size:"S",$$slots:{default:[gbe]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,l){const i={};l&4098&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function mbe(r){let e,t,n=r[1].version+"",l,i;return{c(){e=F("This app is currently using version "),t=D("b"),l=F(n),i=F(` which is the
|
|
919
919
|
latest version available.`)},m(s,o){b(s,e,o),b(s,t,o),P(t,l),b(s,i,o)},p(s,o){o&2&&n!==(n=s[1].version+"")&&ke(l,n)},d(s){s&&v(e),s&&v(t),s&&v(i)}}}function gbe(r){let e,t,n=r[1].version+"",l,i,s,o;return{c(){e=F("This app is currently using version "),t=D("b"),l=F(n),i=F(`, but version
|
|
920
920
|
`),s=D("b"),s.textContent=`${lo.version}`,o=F(` is available. Updates can contain new features,
|
|
921
921
|
performance improvements and bug fixes.`)},m(a,u){b(a,e,u),b(a,t,u),P(t,l),b(a,i,u),b(a,s,u),b(a,o,u)},p(a,u){u&2&&n!==(n=a[1].version+"")&&ke(l,n)},d(a){a&&v(e),a&&v(t),a&&v(i),a&&v(s),a&&v(o)}}}function f9(r){let e,t;return e=new Ve({props:{size:"S",$$slots:{default:[_be]},$$scope:{ctx:r}}}),{c(){C(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,l){const i={};l&4098&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){_(e.$$.fragment,n),t=!1},d(n){A(e,n)}}}function _be(r){let e,t,n=r[1].revertableVersion+"",l,i;return{c(){e=F(`You can revert this app to version
|
package/builder/index.html
CHANGED
|
@@ -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.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.32928f17.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.6bcafa60.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
|
|
16
16
|
<link rel="stylesheet" href="/builder/assets/index.08dd0c5e.css">
|
package/coverage/clover.xml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
2
|
+
<coverage generated="1661862325873" clover="3.2.0">
|
|
3
|
+
<project timestamp="1661862325874" name="All files">
|
|
4
4
|
<metrics statements="4115" coveredstatements="2982" conditionals="1733" coveredconditionals="922" methods="607" coveredmethods="422" elements="6455" coveredelements="4326" complexity="0" loc="4115" ncloc="4115" packages="22" files="126" classes="126"/>
|
|
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 Aug 30 2022
|
|
235
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
236
236
|
</div>
|
|
237
237
|
<script src="../../prettify.js"></script>
|
|
238
238
|
<script>
|
|
@@ -244,7 +244,7 @@ exports.fetchSelf = async ctx => {
|
|
|
244
244
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
245
245
|
Code coverage generated by
|
|
246
246
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
247
|
-
at Tue Aug 30 2022
|
|
247
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
248
248
|
</div>
|
|
249
249
|
<script src="../../prettify.js"></script>
|
|
250
250
|
<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 Aug 30 2022
|
|
928
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
929
929
|
</div>
|
|
930
930
|
<script src="../../prettify.js"></script>
|
|
931
931
|
<script>
|
|
@@ -124,7 +124,7 @@ exports.exportAppDump = async function (ctx) {
|
|
|
124
124
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
125
125
|
Code coverage generated by
|
|
126
126
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
127
|
-
at Tue Aug 30 2022
|
|
127
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
128
128
|
</div>
|
|
129
129
|
<script src="../../prettify.js"></script>
|
|
130
130
|
<script>
|
|
@@ -409,7 +409,7 @@ exports.importApps = <span class="fstat-no" title="function not covered" >as</sp
|
|
|
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 Aug 30 2022
|
|
412
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
413
413
|
</div>
|
|
414
414
|
<script src="../../prettify.js"></script>
|
|
415
415
|
<script>
|
|
@@ -184,7 +184,7 @@ exports.fetchAppComponentDefinitions = async function (ctx) {
|
|
|
184
184
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
185
185
|
Code coverage generated by
|
|
186
186
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
187
|
-
at Tue Aug 30 2022
|
|
187
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
188
188
|
</div>
|
|
189
189
|
<script src="../../prettify.js"></script>
|
|
190
190
|
<script>
|
|
@@ -859,7 +859,7 @@ const buildSchemaHelper = <span class="fstat-no" title="function not covered" >a
|
|
|
859
859
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
860
860
|
Code coverage generated by
|
|
861
861
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
862
|
-
at Tue Aug 30 2022
|
|
862
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
863
863
|
</div>
|
|
864
864
|
<script src="../../prettify.js"></script>
|
|
865
865
|
<script>
|
|
@@ -475,7 +475,7 @@ exports.getBudibaseVersion = async ctx => {
|
|
|
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 Aug 30 2022
|
|
478
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
479
479
|
</div>
|
|
480
480
|
<script src="../../prettify.js"></script>
|
|
481
481
|
<script>
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
387
387
|
Code coverage generated by
|
|
388
388
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
389
|
-
at Tue Aug 30 2022
|
|
389
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
390
390
|
</div>
|
|
391
391
|
<script src="../../prettify.js"></script>
|
|
392
392
|
<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 Aug 30 2022
|
|
139
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
214
|
+
at Tue Aug 30 2022 12:25:25 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 => {
|
|
|
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 Aug 30 2022
|
|
196
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
112
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
598
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
104
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -220,7 +220,7 @@ exports.generateQueryPreviewValidation = () => {
|
|
|
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 Aug 30 2022
|
|
223
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
397
|
+
at Tue Aug 30 2022 12:25:25 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 => {
|
|
|
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 Aug 30 2022
|
|
349
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
832
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
164
|
+
at Tue Aug 30 2022 12:25:25 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 => {
|
|
|
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 Aug 30 2022
|
|
1480
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
1481
1481
|
</div>
|
|
1482
1482
|
<script src="../../../prettify.js"></script>
|
|
1483
1483
|
<script>
|
|
@@ -1450,7 +1450,7 @@ exports.fullSearch = async (query, params) => {
|
|
|
1450
1450
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1451
1451
|
Code coverage generated by
|
|
1452
1452
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1453
|
-
at Tue Aug 30 2022
|
|
1453
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
1454
1454
|
</div>
|
|
1455
1455
|
<script src="../../../prettify.js"></script>
|
|
1456
1456
|
<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 Aug 30 2022
|
|
541
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
542
542
|
</div>
|
|
543
543
|
<script src="../../../prettify.js"></script>
|
|
544
544
|
<script>
|
|
@@ -355,7 +355,7 @@ exports.validate = async ({ tableId, row, table }) => {
|
|
|
355
355
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
356
356
|
Code coverage generated by
|
|
357
357
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
358
|
-
at Tue Aug 30 2022
|
|
358
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
359
359
|
</div>
|
|
360
360
|
<script src="../../../prettify.js"></script>
|
|
361
361
|
<script>
|
|
@@ -244,7 +244,7 @@ exports.destroy = async ctx => {
|
|
|
244
244
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
245
245
|
Code coverage generated by
|
|
246
246
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
247
|
-
at Tue Aug 30 2022
|
|
247
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
248
248
|
</div>
|
|
249
249
|
<script src="../../prettify.js"></script>
|
|
250
250
|
<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 Aug 30 2022
|
|
106
|
+
at Tue Aug 30 2022 12:25:25 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 }) => {
|
|
|
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 Aug 30 2022
|
|
592
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
1033
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
134
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
406
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
193
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
775
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
151
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
149
|
+
at Tue Aug 30 2022 12:25:25 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 => {
|
|
|
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 Aug 30 2022
|
|
640
|
+
at Tue Aug 30 2022 12:25:25 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) => {
|
|
|
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 Aug 30 2022
|
|
550
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
622
|
+
at Tue Aug 30 2022 12:25:25 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 => {
|
|
|
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 Aug 30 2022
|
|
412
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
104
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
361
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
100
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
109
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
110
110
|
</div>
|
|
111
111
|
<script src="../../prettify.js"></script>
|
|
112
112
|
<script>
|
|
@@ -94,7 +94,7 @@ module.exports = router
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
97
|
-
at Tue Aug 30 2022
|
|
97
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
98
98
|
</div>
|
|
99
99
|
<script src="../../prettify.js"></script>
|
|
100
100
|
<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 Aug 30 2022
|
|
328
|
+
at Tue Aug 30 2022 12:25:25 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 Aug 30 2022
|
|
103
|
+
at Tue Aug 30 2022 12:25:25 GMT+0000 (Coordinated Universal Time)
|
|
104
104
|
</div>
|
|
105
105
|
<script src="../../prettify.js"></script>
|
|
106
106
|
<script>
|