@budibase/server 1.3.21-alpha.0 → 1.3.21-alpha.2
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.75653b72.js → index.da0d40d9.js} +1 -1
- package/builder/index.html +1 -1
- package/coverage/clover.xml +92 -183
- package/coverage/coverage-final.json +1 -3
- 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/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +9 -39
- 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/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 +18 -18
- 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 +13 -37
- 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 +27 -27
- 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/coverage/lcov.info +169 -332
- package/dist/api/controllers/component.js +12 -12
- package/dist/api/controllers/plugin/index.js +15 -71
- package/dist/api/controllers/screen.js +21 -23
- package/dist/db/utils.js +1 -7
- package/dist/package.json +6 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/index.js +0 -6
- package/dist/watch.js +1 -1
- package/package.json +7 -7
- package/src/api/controllers/{component.js → component.ts} +13 -13
- package/src/api/controllers/plugin/index.ts +16 -97
- package/src/api/controllers/{screen.js → screen.ts} +26 -27
- package/src/db/utils.js +0 -8
- package/src/utilities/fileSystem/index.js +0 -7
- package/src/watch.ts +2 -2
- package/coverage/lcov-report/api/controllers/component.js.html +0 -256
- package/coverage/lcov-report/api/controllers/screen.js.html +0 -454
|
@@ -929,7 +929,7 @@ Use Save As... to download, then click back to return to this page.`)&&(location
|
|
|
929
929
|
`),t=J("i"),i=le(r),a=le("?"),o=le(`
|
|
930
930
|
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+"")&&vt(i,r)},d(l){l&&C(e),l&&C(t),l&&C(o)}}}function Ttt(n){let e,t,r,i,a,o;e=new L2({props:{$$slots:{control:[Ltt],default:[Stt]},$$scope:{ctx:n}}});let l={okText:"Delete Automation",onOk:n[3],title:"Confirm Deletion",$$slots:{default:[Ett]},$$scope:{ctx:n}};r=new Nu({props:l}),n[5](r);let s={automation:n[0]};return a=new ztt({props:s}),n[6](a),{c(){I(e.$$.fragment),t=q(),I(r.$$.fragment),i=q(),I(a.$$.fragment)},m(u,c){B(e,u,c),S(u,t,c),B(r,u,c),S(u,i,c),B(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){O(e,u),u&&C(t),n[5](null),O(r,u),u&&C(i),n[6](null),O(a,u)}}}function Dtt(n,e,t){let r,i;xe(n,Or,h=>t(7,r=h)),xe(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){Be[h?"unshift":"push"](()=>{o=h,t(1,o)})}function f(h){Be[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 Htt extends Ne{constructor(e){super(),Re(this,e,Dtt,Ttt,Pe,{automation:0})}}function qR(n,e,t){const r=n.slice();return r[5]=e[t],r[7]=t,r}function Btt(n){let e,t,r;return e=new Htt({props:{automation:n[5]}}),{c(){I(e.$$.fragment),t=q()},m(i,a){B(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){O(e,i),i&&C(t)}}}function WR(n){let e,t;function r(){return n[3](n[5])}return e=new _5({props:{border:n[7]>0,icon:"ShareAndroid",text:n[5].name,selected:n[5]._id===n[1],$$slots:{default:[Btt]},$$scope:{ctx:n}}}),e.$on("click",r),{c(){I(e.$$.fragment)},m(i,a){B(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){O(e,i)}}}function Ott(n){let e,t,r=n[0].automations.sort(GR),i=[];for(let o=0;o<r.length;o+=1)i[o]=WR(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","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(GR);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]=WR(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 GR=n=>n.name;function Itt(n,e,t){let r,i,a;xe(n,si,s=>t(4,i=s)),xe(n,Or,s=>t(0,a=s)),rr(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 Ptt extends Ne{constructor(e){super(),Re(this,e,Itt,Ott,Pe,{})}}function YR(n,e,t){const r=n.slice();return r[17]=e[t][0],r[18]=e[t][1],r}function Vtt(n){let e;return{c(){e=le(`Please name your automation, then select a trigger. Every automation must
|
|
931
931
|
start with a trigger.`)},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function Rtt(n){let e;return{c(){e=le("Triggers")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function Ntt(n){let e=n[18].name+"",t;return{c(){t=le(e)},m(r,i){S(r,t,i)},p(r,i){i&8&&e!==(e=r[18].name+"")&&vt(t,e)},d(r){r&&C(t)}}}function KR(n){let e,t,r,i,a,o,l,s,u,c;r=new dn({props:{name:n[18].icon}}),o=new Ft({props:{size:"S",$$slots:{default:[Ntt]},$$scope:{ctx:n}}});function f(){return n[13](n[18])}return{c(){e=J("div"),t=J("div"),I(r.$$.fragment),i=q(),a=J("span"),I(o.$$.fragment),l=q(),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),B(r,t,null),j(t,i),j(t,a),B(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),O(r),O(o),u=!1,c()}}}function Ftt(n){let e,t,r,i;e=new Ft({props:{size:"S",$$slots:{default:[Rtt]},$$scope:{ctx:n}}});let a=n[3],o=[];for(let s=0;s<a.length;s+=1)o[s]=KR(YR(n,a,s));const l=s=>$(o[s],1,1,()=>{o[s]=null});return{c(){I(e.$$.fragment),t=q(),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){B(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=YR(s,a,f);o[f]?(o[f].p(h,u),b(o[f],1)):(o[f]=KR(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){O(e,s),s&&C(t),s&&C(r),Dn(o,s)}}}function xtt(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 Ft({props:{size:"XS",$$slots:{default:[Vtt]},$$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 Tn({props:m}),Be.push(()=>at(a,"value",f)),Be.push(()=>at(a,"error",h)),a.$on("change",n[12]),u=new Nt({props:{noPadding:!0,$$slots:{default:[Ftt]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment),t=q(),I(r.$$.fragment),i=q(),I(a.$$.fragment),s=q(),I(u.$$.fragment)},m(_,y){B(e,_,y),S(_,t,y),B(r,_,y),S(_,i,y),B(a,_,y),S(_,s,y),B(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],ot(()=>o=!1)),!l&&y&16&&(l=!0,A.error=_[4],ot(()=>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(_){O(e,_),_&&C(t),O(r,_),_&&C(i),O(a,_),_&&C(s),O(u,_)}}}function jtt(n){let e,t;return e=new br({props:{title:"Create Automation",confirmText:"Save",size:"M",onConfirm:n[5],disabled:!n[2]||!n[0],$$slots:{default:[xtt]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function Utt(n,e,t){let r,i,a,o,l,s;xe(n,Or,P=>t(8,o=P)),xe(n,si,P=>t(16,l=P)),xe(n,Rd,P=>t(9,s=P));let u,c,f=!1,h,{webhookModal:m}=e;async function _(){var P;try{await Or.actions.create({name:u,instanceId:r});const H=o.selectedAutomation.constructBlock("TRIGGER",h.stepId,h);Or.actions.addBlockToAutomation(H),h.stepId===l6.WEBHOOK&&m.show,await Or.actions.save((P=o.selectedAutomation)==null?void 0:P.automation),yt.success(`Automation ${u} created`),l(`./${o.selectedAutomation.automation._id}`)}catch{yt.error("Error creating automation")}}const y=P=>{h=P,t(2,c=P.name)};function w(P){u=P,t(0,u)}function A(P){i=P,t(4,i),t(1,f),t(0,u)}const E=()=>t(1,f=!0),T=P=>y(P);return n.$$set=P=>{"webhookModal"in P&&t(7,m=P.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 gX extends Ne{constructor(e){super(),Re(this,e,Utt,jtt,Pe,{webhookModal:7})}}function qtt(n){let e,t;return e=new gX({props:{webhookModal:n[1]}}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function Wtt(n){let e,t,r,i;e=new Ptt({});let a={$$slots:{default:[qtt]},$$scope:{ctx:n}};return r=new ar({props:a}),n[2](r),{c(){I(e.$$.fragment),t=q(),I(r.$$.fragment)},m(o,l){B(e,o,l),S(o,t,l),B(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){O(e,o),o&&C(t),n[2](null),O(r,o)}}}function Gtt(n){let e,t;return e=new N1({props:{title:"Automations",$$slots:{default:[Wtt]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function Ytt(n){let e,t,r,i,a,o;return t=new Xc({props:{selected:"Automations",$$slots:{default:[Gtt]},$$scope:{ctx:n}}}),a=new dn({props:{hoverable:!0,name:"AddCircle"}}),a.$on("click",function(){zn(n[0].show)&&n[0].show.apply(this,arguments)}),{c(){e=J("div"),I(t.$$.fragment),r=q(),i=J("div"),I(a.$$.fragment),D(i,"class","add-button svelte-mcmub4"),D(e,"class","title svelte-mcmub4")},m(l,s){S(l,e,s),B(t,e,null),j(e,r),j(e,i),B(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),O(t),O(a)}}}function Ktt(n,e,t){let{modal:r}=e,{webhookModal:i}=e;function a(o){Be[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 Xtt extends Ne{constructor(e){super(),Re(this,e,Ktt,Ytt,Pe,{modal:0,webhookModal:1})}}function XR(n,e,t){const r=n.slice();return r[8]=e[t],r[10]=t,r}function JR(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 mX({props:l}),Be.push(()=>at(e,"showParameters",o));let s=n[3]&&n[3][n[8].id]&&ZR(n);return{c(){I(e.$$.fragment),r=q(),s&&s.c(),i=$t()},m(c,f){B(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],ot(()=>t=!1)),e.$set(h),c[3]&&c[3][c[8].id]?s?(s.p(c,f),f&10&&b(s,1)):(s=ZR(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){O(e,c),c&&C(r),s&&s.d(c),c&&C(i)}}}function ZR(n){var s,u;let e,t,r,i,a,o;e=new yi({props:{noMargin:!0}});let l=((u=(s=n[2])==null?void 0:s[n[10]])==null?void 0:u.outputs.iterations)&&QR(n);return a=new Xc({props:{noHorizPadding:!0,selected:"Input",$$slots:{default:[ent]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment),t=q(),l&&l.c(),r=q(),i=J("div"),I(a.$$.fragment),D(i,"class","tabs svelte-1iblsnb")},m(c,f){B(e,c,f),S(c,t,f),l&&l.m(c,f),S(c,r,f),S(c,i,f),B(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=QR(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){O(e,c),c&&C(t),l&&l.d(c),c&&C(r),c&&C(i),O(a)}}}function QR(n){let e,t,r,i,a,o;return t=new dn({props:{name:"Reuse"}}),a=new cn({props:{$$slots:{default:[Jtt]},$$scope:{ctx:n}}}),{c(){e=J("div"),I(t.$$.fragment),r=q(),i=J("div"),I(a.$$.fragment),sn(i,"margin-left","10px"),sn(e,"display","flex"),sn(e,"padding","10px 10px 0px 12px")},m(l,s){S(l,e,s),B(t,e,null),j(e,r),j(e,i),B(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),O(t),O(a)}}}function Jtt(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=le("This loop ran "),r=le(t),i=le(" 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)+"")&&vt(r,t)},d(l){l&&C(e),l&&C(r),l&&C(i)}}}function Ztt(n){var r,i;let e,t;return e=new n3({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(){I(e.$$.fragment)},m(a,o){B(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){O(e,a)}}}function Qtt(n){var r,i;let e,t;return e=new n3({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(){I(e.$$.fragment)},m(a,o){B(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){O(e,a)}}}function ent(n){let e,t,r,i;return e=new N1({props:{title:"Input",$$slots:{default:[Ztt]},$$scope:{ctx:n}}}),r=new N1({props:{title:"Output",$$slots:{default:[Qtt]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment),t=q(),I(r.$$.fragment)},m(a,o){B(e,a,o),S(a,t,o),B(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){O(e,a),a&&C(t),O(r,a)}}}function eN(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 tN(n){let e,t,r,i,a,o=n[8].stepId!==P3.LOOP&&JR(n),l=n[1].length-1!==n[10]&&eN();return{c(){e=J("div"),o&&o.c(),r=q(),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!==P3.LOOP?o?(o.p(s,u),u&2&&b(o,1)):(o=JR(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=eN(),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 tnt(n){let e,t,r=n[1],i=[];for(let o=0;o<r.length;o+=1)i[o]=tN(XR(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=XR(o,r,s);i[s]?(i[s].p(u,l),b(i[s],1)):(i[s]=tN(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 nnt(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!==P3.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!==P3.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 vX extends Ne{constructor(e){super(),Re(this,e,nnt,tnt,Pe,{automation:4,testResults:5,width:0})}}function rnt(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 yi({}),h=new vX({props:{automation:n[0],testResults:n[2]}}),{c(){e=J("div"),t=J("div"),I(r.$$.fragment),i=q(),a=J("div"),a.textContent="Test Details",o=q(),l=J("div"),I(s.$$.fragment),u=q(),I(c.$$.fragment),f=q(),I(h.$$.fragment),sn(a,"padding-left","var(--spacing-l)"),D(t,"class","title-text svelte-nwwj95"),sn(l,"padding-right","var(--spacing-xl)"),D(e,"class","title svelte-nwwj95")},m(_,y){S(_,e,y),j(e,t),B(r,t,null),j(t,i),j(t,a),j(e,o),j(e,l),B(s,l,null),S(_,u,y),B(c,_,y),S(_,f,y),B(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),O(r),O(s),_&&C(u),O(c,_),_&&C(f),O(h,_)}}}function int(n,e,t){let r;xe(n,Or,s=>t(1,r=s));let{automation:i}=e,a,o;const l=async()=>{W1(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!==P3.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 ant extends Ne{constructor(e){super(),Re(this,e,int,rnt,Pe,{automation:0})}}function ont(n){let e,t,r,i;return r=new Nt({props:{gap:"S",justifyItems:"center",$$slots:{default:[fnt]},$$scope:{ctx:n}}}),{c(){e=J("div"),t=J("div"),I(r.$$.fragment),D(t,"class","main svelte-374m3f"),D(e,"class","centered svelte-374m3f")},m(a,o){S(a,e,o),j(e,t),B(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),O(r)}}}function lnt(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 snt(n){let e;return{c(){e=le("You have no automations")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function unt(n){let e;return{c(){e=le("Let's fix that. Call the bots!")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function cnt(n){let e;return{c(){e=le("Create automation")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function fnt(n){let e,t,r,i,a,o,l,s,u;return i=new Vn({props:{size:"M",$$slots:{default:[snt]},$$scope:{ctx:n}}}),o=new Ft({props:{size:"M",$$slots:{default:[unt]},$$scope:{ctx:n}}}),s=new kn({props:{size:"M",cta:!0,$$slots:{default:[cnt]},$$scope:{ctx:n}}}),s.$on("click",n[5]),{c(){e=ct("svg"),t=ct("use"),r=q(),I(i.$$.fragment),a=q(),I(o.$$.fragment),l=q(),I(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),B(i,c,f),S(c,a,f),B(o,c,f),S(c,l,f),B(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),O(i,c),c&&C(a),O(o,c),c&&C(l),O(s,c)}}}function nN(n){let e,t,r;return t=new ant({props:{automation:n[3]}}),{c(){e=J("div"),I(t.$$.fragment),D(e,"class","setup svelte-374m3f")},m(i,a){S(i,e,a),B(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),O(t)}}}function pnt(n){let e,t;return e=new gX({props:{webhookModal:n[2]}}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function dnt(n){let e,t;return e=new Wz({}),{c(){I(e.$$.fragment)},m(r,i){B(e,r,i),t=!0},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function hnt(n){let e,t,r,i,a,o,l,s,u,c,f,h,m;r=new Xtt({props:{modal:n[1],webhookModal:n[2]}});const _=[lnt,ont],y=[];function w(P,H){return P[3]?0:1}o=w(n),l=y[o]=_[o](n);let A=n[0].showTestPanel&&nN(n),E={$$slots:{default:[pnt]},$$scope:{ctx:n}};c=new ar({props:E}),n[6](c);let T={width:"30%",$$slots:{default:[dnt]},$$scope:{ctx:n}};return h=new ar({props:T}),n[7](h),{c(){e=J("div"),t=J("div"),I(r.$$.fragment),i=q(),a=J("div"),l.c(),s=q(),A&&A.c(),u=q(),I(c.$$.fragment),f=q(),I(h.$$.fragment),D(t,"class","nav svelte-374m3f"),D(a,"class","content svelte-374m3f"),D(e,"class","root svelte-374m3f")},m(P,H){S(P,e,H),j(e,t),B(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),B(c,e,null),j(e,f),B(h,e,null),m=!0},p(P,[H]){const V={};H&2&&(V.modal=P[1]),H&4&&(V.webhookModal=P[2]),r.$set(V);let x=o;o=w(P),o===x?y[o].p(P,H):(Ae(),$(y[x],1,1,()=>{y[x]=null}),Me(),l=y[o],l?l.p(P,H):(l=y[o]=_[o](P),l.c()),b(l,1),l.m(a,null)),P[0].showTestPanel?A?(A.p(P,H),H&1&&b(A,1)):(A=nN(P),A.c(),b(A,1),A.m(e,u)):A&&(Ae(),$(A,1,1,()=>{A=null}),Me());const X={};H&260&&(X.$$scope={dirty:H,ctx:P}),c.$set(X);const Y={};H&256&&(Y.$$scope={dirty:H,ctx:P}),h.$set(Y)},i(P){m||(b(r.$$.fragment,P),b(l),b(A),b(c.$$.fragment,P),b(h.$$.fragment,P),m=!0)},o(P){$(r.$$.fragment,P),$(l),$(A),$(c.$$.fragment,P),$(h.$$.fragment,P),m=!1},d(P){P&&C(e),O(r),y[o].d(),A&&A.d(),n[6](null),O(c),n[7](null),O(h)}}}function mnt(n,e,t){let r,i;xe(n,Or,h=>t(0,i=h));let{$$slots:a={},$$scope:o}=e,l,s;rr(()=>{W1(Or,i.showTestPanel=!1,i)});const u=()=>l.show();function c(h){Be[h?"unshift":"push"](()=>{l=h,t(1,l)})}function f(h){Be[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 gnt extends Ne{constructor(e){super(),Re(this,e,mnt,hnt,Pe,{})}}function vnt(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 Tn({props:u}),Be.push(()=>at(a,"value",s)),{c(){e=J("span"),e.textContent=`The changes you have made will be deleted and the application reverted
|
|
932
|
-
back to its production state.`,t=q(),r=J("span"),r.textContent="Please enter your app name to continue.",i=q(),I(a.$$.fragment)},m(c,f){S(c,e,f),S(c,t,f),S(c,r,f),S(c,i,f),B(a,c,f),l=!0},p(c,f){const h={};!o&&f&4&&(o=!0,h.value=c[2],ot(()=>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),O(a,c)}}}function _nt(n){let e,t;return e=new br({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:n[3],disabled:n[2]!==n[0].name,$$slots:{default:[vnt]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function bnt(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(){zn(n[1].show)&&n[1].show.apply(this,arguments)});let a={$$slots:{default:[_nt]},$$scope:{ctx:n}};return r=new ar({props:a}),n[5](r),{c(){I(e.$$.fragment),t=q(),I(r.$$.fragment)},m(o,l){B(e,o,l),S(o,t,l),B(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){O(e,o),o&&C(t),n[5](null),O(r,o)}}}function ynt(n,e,t){let r,i;xe(n,nn,c=>t(0,i=c));let a,o;const l=async()=>{try{await on.revertAppChanges(r);const c=await on.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){Be[c?"unshift":"push"](()=>{a=c,t(1,a)})}return n.$$.update=()=>{n.$$.dirty&1&&(r=i.appId)},[i,a,o,l,s,u]}class $nt extends Ne{constructor(e){super(),Re(this,e,ynt,bnt,Pe,{})}}const wnt="@budibase/client",knt="1.3.
|
|
932
|
+
back to its production state.`,t=q(),r=J("span"),r.textContent="Please enter your app name to continue.",i=q(),I(a.$$.fragment)},m(c,f){S(c,e,f),S(c,t,f),S(c,r,f),S(c,i,f),B(a,c,f),l=!0},p(c,f){const h={};!o&&f&4&&(o=!0,h.value=c[2],ot(()=>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),O(a,c)}}}function _nt(n){let e,t;return e=new br({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:n[3],disabled:n[2]!==n[0].name,$$slots:{default:[vnt]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function bnt(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(){zn(n[1].show)&&n[1].show.apply(this,arguments)});let a={$$slots:{default:[_nt]},$$scope:{ctx:n}};return r=new ar({props:a}),n[5](r),{c(){I(e.$$.fragment),t=q(),I(r.$$.fragment)},m(o,l){B(e,o,l),S(o,t,l),B(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){O(e,o),o&&C(t),n[5](null),O(r,o)}}}function ynt(n,e,t){let r,i;xe(n,nn,c=>t(0,i=c));let a,o;const l=async()=>{try{await on.revertAppChanges(r);const c=await on.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){Be[c?"unshift":"push"](()=>{a=c,t(1,a)})}return n.$$.update=()=>{n.$$.dirty&1&&(r=i.appId)},[i,a,o,l,s,u]}class $nt extends Ne{constructor(e){super(),Re(this,e,ynt,bnt,Pe,{})}}const wnt="@budibase/client",knt="1.3.21-alpha.1",znt="MPL-2.0",Ant="dist/budibase-client.js",Mnt="dist/budibase-client.js",Cnt="module",Snt="src/index.js",Lnt={".":{import:"./dist/budibase-client.js",require:"./dist/budibase-client.js"},"./package.json":"./package.json","./manifest.json":"./manifest.json"},Ent={build:"rollup -c","dev:builder":"rollup -cw"},Tnt={"@budibase/bbui":"1.3.21-alpha.1","@budibase/frontend-core":"1.3.21-alpha.1","@budibase/string-templates":"1.3.21-alpha.1","@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","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"},Dnt={"@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"},Hnt="d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc",Td={name:wnt,version:knt,license:znt,module:Ant,main:Mnt,type:Cnt,svelte:Snt,exports:Lnt,scripts:Ent,dependencies:Tnt,devDependencies:Dnt,gitHead:Hnt};function rN(n){let e,t;return e=new N3({props:{hoverable:!0,notice:!0,$$slots:{default:[Bnt]},$$scope:{ctx:n}}}),e.$on("click",function(){zn(n[2].show)&&n[2].show.apply(this,arguments)}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function Bnt(n){let e;return{c(){e=le("Update available")},m(t,r){S(t,e,r)},d(t){t&&C(e)}}}function Ont(n){let e,t;return e=new Ft({props:{size:"S",$$slots:{default:[Pnt]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function Int(n){let e,t;return e=new Ft({props:{size:"S",$$slots:{default:[Vnt]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function Pnt(n){let e,t,r=n[1].version+"",i,a;return{c(){e=le("This app is currently using version "),t=J("b"),i=le(r),a=le(` which is the
|
|
933
933
|
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+"")&&vt(i,r)},d(o){o&&C(e),o&&C(t),o&&C(a)}}}function Vnt(n){let e,t,r=n[1].version+"",i,a,o,l;return{c(){e=le("This app is currently using version "),t=J("b"),i=le(r),a=le(`, but version
|
|
934
934
|
`),o=J("b"),o.textContent=`${Td.version}`,l=le(` is available. Updates can contain new features,
|
|
935
935
|
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+"")&&vt(i,r)},d(s){s&&C(e),s&&C(t),s&&C(a),s&&C(o),s&&C(l)}}}function iN(n){let e,t;return e=new Ft({props:{size:"S",$$slots:{default:[Rnt]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(r,i){B(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){O(e,r)}}}function Rnt(n){let e,t,r=n[1].revertableVersion+"",i,a;return{c(){e=le(`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.da0d40d9.js"></script>
|
|
14
14
|
<link rel="stylesheet" href="/builder/assets/index.f1b70f52.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body id="app">
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1663494437873" clover="3.2.0">
|
|
3
|
+
<project timestamp="1663494437873" name="All files">
|
|
4
|
+
<metrics statements="4138" coveredstatements="3019" conditionals="1763" coveredconditionals="967" methods="613" coveredmethods="431" elements="6514" coveredelements="4417" complexity="0" loc="4138" ncloc="4138" packages="22" files="124" classes="124"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="35" coveredstatements="34" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</file>
|
|
45
45
|
</package>
|
|
46
46
|
<package name="api.controllers">
|
|
47
|
-
<metrics statements="
|
|
47
|
+
<metrics statements="931" coveredstatements="657" conditionals="290" coveredconditionals="130" methods="135" coveredmethods="89"/>
|
|
48
48
|
<file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
|
|
49
49
|
<metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
50
50
|
<line num="1" count="28" type="stmt"/>
|
|
@@ -316,36 +316,6 @@
|
|
|
316
316
|
<line num="109" count="0" type="stmt"/>
|
|
317
317
|
<line num="110" count="0" type="stmt"/>
|
|
318
318
|
</file>
|
|
319
|
-
<file name="component.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/component.js">
|
|
320
|
-
<metrics statements="27" coveredstatements="22" conditionals="2" coveredconditionals="2" methods="5" coveredmethods="2"/>
|
|
321
|
-
<line num="1" count="28" type="stmt"/>
|
|
322
|
-
<line num="2" count="28" type="stmt"/>
|
|
323
|
-
<line num="3" count="28" type="stmt"/>
|
|
324
|
-
<line num="4" count="28" type="stmt"/>
|
|
325
|
-
<line num="6" count="28" type="stmt"/>
|
|
326
|
-
<line num="7" count="1" type="stmt"/>
|
|
327
|
-
<line num="8" count="1" type="stmt"/>
|
|
328
|
-
<line num="9" count="1" type="stmt"/>
|
|
329
|
-
<line num="11" count="1" type="stmt"/>
|
|
330
|
-
<line num="13" count="1" type="stmt"/>
|
|
331
|
-
<line num="14" count="1" type="stmt"/>
|
|
332
|
-
<line num="20" count="1" type="stmt"/>
|
|
333
|
-
<line num="21" count="1" type="stmt"/>
|
|
334
|
-
<line num="22" count="1" type="stmt"/>
|
|
335
|
-
<line num="23" count="52" type="cond" truecount="2" falsecount="0"/>
|
|
336
|
-
<line num="24" count="1" type="stmt"/>
|
|
337
|
-
<line num="26" count="51" type="stmt"/>
|
|
338
|
-
<line num="27" count="51" type="stmt"/>
|
|
339
|
-
<line num="36" count="1" type="stmt"/>
|
|
340
|
-
<line num="37" count="1" type="stmt"/>
|
|
341
|
-
<line num="42" count="1" type="stmt"/>
|
|
342
|
-
<line num="43" count="0" type="stmt"/>
|
|
343
|
-
<line num="44" count="0" type="stmt"/>
|
|
344
|
-
<line num="46" count="0" type="stmt"/>
|
|
345
|
-
<line num="47" count="0" type="stmt"/>
|
|
346
|
-
<line num="53" count="1" type="stmt"/>
|
|
347
|
-
<line num="55" count="0" type="stmt"/>
|
|
348
|
-
</file>
|
|
349
319
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
350
320
|
<metrics statements="141" coveredstatements="82" conditionals="61" coveredconditionals="20" methods="20" coveredmethods="11"/>
|
|
351
321
|
<line num="8" count="45" type="stmt"/>
|
|
@@ -846,65 +816,6 @@
|
|
|
846
816
|
<line num="87" count="0" type="stmt"/>
|
|
847
817
|
<line num="91" count="2" type="stmt"/>
|
|
848
818
|
</file>
|
|
849
|
-
<file name="screen.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/screen.js">
|
|
850
|
-
<metrics statements="56" coveredstatements="40" conditionals="24" coveredconditionals="11" methods="10" coveredmethods="6"/>
|
|
851
|
-
<line num="6" count="44" type="stmt"/>
|
|
852
|
-
<line num="7" count="44" type="stmt"/>
|
|
853
|
-
<line num="8" count="44" type="stmt"/>
|
|
854
|
-
<line num="9" count="44" type="stmt"/>
|
|
855
|
-
<line num="10" count="44" type="stmt"/>
|
|
856
|
-
<line num="11" count="44" type="stmt"/>
|
|
857
|
-
<line num="13" count="44" type="stmt"/>
|
|
858
|
-
<line num="14" count="1" type="stmt"/>
|
|
859
|
-
<line num="16" count="1" type="stmt"/>
|
|
860
|
-
<line num="22" count="1" type="stmt"/>
|
|
861
|
-
<line num="24" count="1" type="stmt"/>
|
|
862
|
-
<line num="30" count="44" type="stmt"/>
|
|
863
|
-
<line num="31" count="24" type="stmt"/>
|
|
864
|
-
<line num="32" count="24" type="stmt"/>
|
|
865
|
-
<line num="35" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
866
|
-
<line num="36" count="23" type="stmt"/>
|
|
867
|
-
<line num="37" count="23" type="stmt"/>
|
|
868
|
-
<line num="40" count="24" type="stmt"/>
|
|
869
|
-
<line num="43" count="24" type="stmt"/>
|
|
870
|
-
<line num="44" count="24" type="stmt"/>
|
|
871
|
-
<line num="45" count="24" type="stmt"/>
|
|
872
|
-
<line num="46" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
873
|
-
<line num="47" count="0" type="stmt"/>
|
|
874
|
-
<line num="48" count="0" type="stmt"/>
|
|
875
|
-
<line num="53" count="0" type="stmt"/>
|
|
876
|
-
<line num="54" count="0" type="stmt"/>
|
|
877
|
-
<line num="56" count="0" type="stmt"/>
|
|
878
|
-
<line num="63" count="0" type="stmt"/>
|
|
879
|
-
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
880
|
-
<line num="66" count="0" type="stmt"/>
|
|
881
|
-
<line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
882
|
-
<line num="68" count="0" type="stmt"/>
|
|
883
|
-
<line num="69" count="0" type="stmt"/>
|
|
884
|
-
<line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
885
|
-
<line num="80" count="0" type="stmt"/>
|
|
886
|
-
<line num="84" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
887
|
-
<line num="85" count="23" type="stmt"/>
|
|
888
|
-
<line num="87" count="24" type="stmt"/>
|
|
889
|
-
<line num="88" count="24" type="stmt"/>
|
|
890
|
-
<line num="96" count="44" type="stmt"/>
|
|
891
|
-
<line num="97" count="1" type="stmt"/>
|
|
892
|
-
<line num="98" count="1" type="stmt"/>
|
|
893
|
-
<line num="99" count="1" type="stmt"/>
|
|
894
|
-
<line num="101" count="1" type="stmt"/>
|
|
895
|
-
<line num="103" count="1" type="stmt"/>
|
|
896
|
-
<line num="104" count="1" type="stmt"/>
|
|
897
|
-
<line num="107" count="1" type="stmt"/>
|
|
898
|
-
<line num="110" count="44" type="stmt"/>
|
|
899
|
-
<line num="111" count="48" type="cond" truecount="1" falsecount="1"/>
|
|
900
|
-
<line num="112" count="0" type="stmt"/>
|
|
901
|
-
<line num="114" count="48" type="cond" truecount="1" falsecount="1"/>
|
|
902
|
-
<line num="115" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
903
|
-
<line num="116" count="0" type="stmt"/>
|
|
904
|
-
<line num="119" count="48" type="cond" truecount="4" falsecount="0"/>
|
|
905
|
-
<line num="120" count="24" type="stmt"/>
|
|
906
|
-
<line num="122" count="24" type="stmt"/>
|
|
907
|
-
</file>
|
|
908
819
|
<file name="script.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/script.js">
|
|
909
820
|
<metrics statements="7" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
910
821
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -3263,7 +3174,7 @@
|
|
|
3263
3174
|
</file>
|
|
3264
3175
|
</package>
|
|
3265
3176
|
<package name="db">
|
|
3266
|
-
<metrics statements="
|
|
3177
|
+
<metrics statements="145" coveredstatements="115" conditionals="59" coveredconditionals="19" methods="38" coveredmethods="27"/>
|
|
3267
3178
|
<file name="inMemoryView.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/inMemoryView.js">
|
|
3268
3179
|
<metrics statements="23" coveredstatements="4" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
3269
3180
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -3308,16 +3219,17 @@
|
|
|
3308
3219
|
<line num="4" count="968" type="stmt"/>
|
|
3309
3220
|
</file>
|
|
3310
3221
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3311
|
-
<metrics statements="
|
|
3222
|
+
<metrics statements="111" coveredstatements="100" conditionals="49" coveredconditionals="18" methods="32" coveredmethods="25"/>
|
|
3312
3223
|
<line num="1" count="59" type="stmt"/>
|
|
3313
3224
|
<line num="16" count="59" type="stmt"/>
|
|
3314
3225
|
<line num="18" count="59" type="stmt"/>
|
|
3315
3226
|
<line num="20" count="59" type="stmt"/>
|
|
3316
3227
|
<line num="26" count="59" type="stmt"/>
|
|
3317
|
-
<line num="
|
|
3318
|
-
<line num="
|
|
3319
|
-
<line num="
|
|
3320
|
-
<line num="
|
|
3228
|
+
<line num="47" count="59" type="stmt"/>
|
|
3229
|
+
<line num="51" count="59" type="stmt"/>
|
|
3230
|
+
<line num="55" count="59" type="stmt"/>
|
|
3231
|
+
<line num="57" count="59" type="stmt"/>
|
|
3232
|
+
<line num="65" count="59" type="stmt"/>
|
|
3321
3233
|
<line num="66" count="59" type="stmt"/>
|
|
3322
3234
|
<line num="67" count="59" type="stmt"/>
|
|
3323
3235
|
<line num="68" count="59" type="stmt"/>
|
|
@@ -3334,94 +3246,91 @@
|
|
|
3334
3246
|
<line num="79" count="59" type="stmt"/>
|
|
3335
3247
|
<line num="80" count="59" type="stmt"/>
|
|
3336
3248
|
<line num="81" count="59" type="stmt"/>
|
|
3337
|
-
<line num="
|
|
3249
|
+
<line num="83" count="59" type="stmt"/>
|
|
3338
3250
|
<line num="84" count="59" type="stmt"/>
|
|
3339
|
-
<line num="
|
|
3340
|
-
<line num="
|
|
3341
|
-
<line num="102" count="
|
|
3342
|
-
<line num="
|
|
3343
|
-
<line num="
|
|
3344
|
-
<line num="
|
|
3345
|
-
<line num="117" count="
|
|
3346
|
-
<line num="
|
|
3347
|
-
<line num="125" count="
|
|
3348
|
-
<line num="
|
|
3349
|
-
<line num="137" count="
|
|
3350
|
-
<line num="138" count="
|
|
3351
|
-
<line num="
|
|
3352
|
-
<line num="
|
|
3353
|
-
<line num="
|
|
3354
|
-
<line num="152" count="
|
|
3355
|
-
<line num="
|
|
3356
|
-
<line num="
|
|
3357
|
-
<line num="165" count="
|
|
3358
|
-
<line num="166" count="321" type="
|
|
3359
|
-
<line num="
|
|
3360
|
-
<line num="173" count="
|
|
3361
|
-
<line num="
|
|
3362
|
-
<line num="182" count="
|
|
3363
|
-
<line num="
|
|
3364
|
-
<line num="189" count="
|
|
3365
|
-
<line num="190" count="3" type="
|
|
3366
|
-
<line num="191" count="
|
|
3367
|
-
<line num="
|
|
3368
|
-
<line num="
|
|
3369
|
-
<line num="200" count="
|
|
3370
|
-
<line num="
|
|
3371
|
-
<line num="208" count="
|
|
3372
|
-
<line num="
|
|
3373
|
-
<line num="
|
|
3251
|
+
<line num="86" count="59" type="stmt"/>
|
|
3252
|
+
<line num="101" count="879" type="cond" truecount="2" falsecount="0"/>
|
|
3253
|
+
<line num="102" count="862" type="stmt"/>
|
|
3254
|
+
<line num="104" count="879" type="stmt"/>
|
|
3255
|
+
<line num="111" count="59" type="stmt"/>
|
|
3256
|
+
<line num="116" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3257
|
+
<line num="117" count="271" type="stmt"/>
|
|
3258
|
+
<line num="124" count="59" type="stmt"/>
|
|
3259
|
+
<line num="125" count="130" type="stmt"/>
|
|
3260
|
+
<line num="136" count="59" type="cond" truecount="0" falsecount="3"/>
|
|
3261
|
+
<line num="137" count="44" type="cond" truecount="2" falsecount="0"/>
|
|
3262
|
+
<line num="138" count="30" type="stmt"/>
|
|
3263
|
+
<line num="141" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
3264
|
+
<line num="143" count="14" type="stmt"/>
|
|
3265
|
+
<line num="151" count="59" type="stmt"/>
|
|
3266
|
+
<line num="152" count="0" type="stmt"/>
|
|
3267
|
+
<line num="155" count="0" type="stmt"/>
|
|
3268
|
+
<line num="164" count="59" type="cond" truecount="1" falsecount="0"/>
|
|
3269
|
+
<line num="165" count="321" type="cond" truecount="2" falsecount="0"/>
|
|
3270
|
+
<line num="166" count="321" type="stmt"/>
|
|
3271
|
+
<line num="172" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3272
|
+
<line num="173" count="3" type="stmt"/>
|
|
3273
|
+
<line num="181" count="59" type="stmt"/>
|
|
3274
|
+
<line num="182" count="242" type="stmt"/>
|
|
3275
|
+
<line num="188" count="59" type="stmt"/>
|
|
3276
|
+
<line num="189" count="3" type="stmt"/>
|
|
3277
|
+
<line num="190" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
3278
|
+
<line num="191" count="1" type="stmt"/>
|
|
3279
|
+
<line num="193" count="2" type="stmt"/>
|
|
3280
|
+
<line num="199" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3281
|
+
<line num="200" count="279" type="stmt"/>
|
|
3282
|
+
<line num="207" count="59" type="stmt"/>
|
|
3283
|
+
<line num="208" count="27" type="stmt"/>
|
|
3284
|
+
<line num="222" count="59" type="stmt"/>
|
|
3285
|
+
<line num="230" count="9" type="stmt"/>
|
|
3374
3286
|
<line num="231" count="9" type="stmt"/>
|
|
3375
3287
|
<line num="232" count="9" type="stmt"/>
|
|
3376
3288
|
<line num="233" count="9" type="stmt"/>
|
|
3377
|
-
<line num="
|
|
3378
|
-
<line num="240" count="
|
|
3379
|
-
<line num="
|
|
3380
|
-
<line num="248" count="
|
|
3381
|
-
<line num="
|
|
3382
|
-
<line num="255" count="
|
|
3383
|
-
<line num="
|
|
3384
|
-
<line num="263" count="
|
|
3385
|
-
<line num="
|
|
3386
|
-
<line num="270" count="
|
|
3387
|
-
<line num="
|
|
3388
|
-
<line num="278" count="
|
|
3389
|
-
<line num="
|
|
3390
|
-
<line num="285" count="
|
|
3391
|
-
<line num="
|
|
3392
|
-
<line num="293" count="
|
|
3393
|
-
<line num="
|
|
3394
|
-
<line num="302" count="
|
|
3395
|
-
<line num="
|
|
3396
|
-
<line num="310" count="
|
|
3397
|
-
<line num="
|
|
3398
|
-
<line num="320" count="
|
|
3399
|
-
<line num="
|
|
3400
|
-
<line num="327" count="
|
|
3401
|
-
<line num="
|
|
3402
|
-
<line num="334" count="
|
|
3403
|
-
<line num="335" count="
|
|
3404
|
-
<line num="
|
|
3405
|
-
<line num="
|
|
3406
|
-
<line num="350" count="
|
|
3407
|
-
<line num="
|
|
3408
|
-
<line num="354" count="
|
|
3409
|
-
<line num="
|
|
3410
|
-
<line num="358" count="
|
|
3411
|
-
<line num="359" count="0" type="
|
|
3412
|
-
<line num="360" count="0" type="
|
|
3413
|
-
<line num="
|
|
3414
|
-
<line num="
|
|
3415
|
-
<line num="366" count="
|
|
3416
|
-
<line num="
|
|
3417
|
-
<line num="370" count="
|
|
3418
|
-
<line num="
|
|
3419
|
-
<line num="374" count="
|
|
3420
|
-
<line num="
|
|
3421
|
-
<line num="381" count="
|
|
3422
|
-
<line num="382" count="60" type="stmt"/>
|
|
3423
|
-
<line num="391" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3424
|
-
<line num="392" count="3" type="stmt"/>
|
|
3289
|
+
<line num="239" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3290
|
+
<line num="240" count="0" type="stmt"/>
|
|
3291
|
+
<line num="247" count="59" type="stmt"/>
|
|
3292
|
+
<line num="248" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
3293
|
+
<line num="254" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3294
|
+
<line num="255" count="9" type="stmt"/>
|
|
3295
|
+
<line num="262" count="59" type="stmt"/>
|
|
3296
|
+
<line num="263" count="23" type="stmt"/>
|
|
3297
|
+
<line num="269" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3298
|
+
<line num="270" count="11" type="stmt"/>
|
|
3299
|
+
<line num="277" count="59" type="stmt"/>
|
|
3300
|
+
<line num="278" count="10" type="stmt"/>
|
|
3301
|
+
<line num="284" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3302
|
+
<line num="285" count="2" type="stmt"/>
|
|
3303
|
+
<line num="292" count="59" type="cond" truecount="1" falsecount="1"/>
|
|
3304
|
+
<line num="293" count="64" type="stmt"/>
|
|
3305
|
+
<line num="301" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3306
|
+
<line num="302" count="5" type="stmt"/>
|
|
3307
|
+
<line num="309" count="59" type="stmt"/>
|
|
3308
|
+
<line num="310" count="139" type="stmt"/>
|
|
3309
|
+
<line num="319" count="59" type="stmt"/>
|
|
3310
|
+
<line num="320" count="0" type="stmt"/>
|
|
3311
|
+
<line num="326" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3312
|
+
<line num="327" count="253" type="stmt"/>
|
|
3313
|
+
<line num="333" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3314
|
+
<line num="334" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3315
|
+
<line num="335" count="4" type="stmt"/>
|
|
3316
|
+
<line num="338" count="1" type="stmt"/>
|
|
3317
|
+
<line num="349" count="59" type="stmt"/>
|
|
3318
|
+
<line num="350" count="0" type="stmt"/>
|
|
3319
|
+
<line num="353" count="59" type="stmt"/>
|
|
3320
|
+
<line num="354" count="10" type="stmt"/>
|
|
3321
|
+
<line num="357" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3322
|
+
<line num="358" count="0" type="stmt"/>
|
|
3323
|
+
<line num="359" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3324
|
+
<line num="360" count="0" type="stmt"/>
|
|
3325
|
+
<line num="362" count="0" type="stmt"/>
|
|
3326
|
+
<line num="365" count="59" type="stmt"/>
|
|
3327
|
+
<line num="366" count="1" type="stmt"/>
|
|
3328
|
+
<line num="369" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3329
|
+
<line num="370" count="0" type="stmt"/>
|
|
3330
|
+
<line num="373" count="59" type="stmt"/>
|
|
3331
|
+
<line num="374" count="0" type="stmt"/>
|
|
3332
|
+
<line num="380" count="59" type="stmt"/>
|
|
3333
|
+
<line num="381" count="60" type="stmt"/>
|
|
3425
3334
|
</file>
|
|
3426
3335
|
</package>
|
|
3427
3336
|
<package name="db.linkedRows">
|