PageSourceSearch

https://dash.event1.io/timeslot.module-O26YYQNZ.js

js event1.io collected 2026-10-01 23:58:02 UTC 20,668 bytes, 101 lines download raw bytes

1import{a as Ne,b as Me}from"./chunk-VZMKCWKU.js";import{a as De,b as we}from"./chunk-VBTDM5OT.js";import{b as Fe}from"./chunk-QYWSF3HC.js";import{e as Se,j as Ee}from"./chunk-A3RTOHAE.js";import"./chunk-LNDWG6JC.js";import"./chunk-ARDNRIV2.js";import"./chunk-HQTVHAQW.js";import{d as xe,e as Ce}from"./chunk-MEYOPHYL.js";import"./chunk-Z25JQFZY.js";import{i as j}from"./chunk-O4ZIPW7U.js";import{b}from"./chunk-4CTEXQP5.js";import"./chunk-2OC6HQNA.js";import{j as de,k as ce,l as pe,m as ue,o as fe,p as ge,q as ve,r as _e,s as he,t as ye,v as Ie,w as Te,z as be}from"./chunk-SYEZTLVW.js";import"./chunk-JP3XDRFL.js";import"./chunk-2RC3DEBP.js";import{m as V,o as g}from"./chunk-5RXBQWLG.js";import{B as se,C as le,c as $,e as O,f as L,g as ie,i as ne,l as w,m as oe,n as ae,s as re,t as me}from"./chunk-J6EGUZAK.js";import{Ac as X,Bc as Z,Cc as ee,Db as S,Ec as te,Fb as N,Hb as q,La as l,Na as _,Pb as M,Qa as u,Ra as x,Sa as c,Ta as m,Ua as r,Va as v,Za as T,ab as h,bb as p,ec as Y,fa as W,fc as F,ja as C,jc as Q,ka as H,kb as d,mb as D,mc as K,nb as E,oa as y,pa as I,xb as U,yb as R,zc as k}from"./chunk-ZJRTJZFI.js";import{a as P,b as B,j as z}from"./chunk-GM3POKX7.js";var $e=(()=>{let a=class{},i=a;return(()=>{a.\u0275fac=function(t){return new(t||a)}})(),(()=>{a.\u0275cmp=C({type:a,selectors:[["app-timeslot"]],decls:1,vars:0,template:function(t,n){t&1&&v(0,"router-outlet")},dependencies:[X],styles:[`
2/*# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K */`]})})(),i})();function qe(i,a){if(i&1){let o=T();m(0,"input",14),h("change",function(t){y(o);let n=p(),s=x(8);return I(n.onNewDate(t,s))}),r()}}function Je(i,a){if(i&1){let o=T();m(0,"button",38),h("click",function(){y(o);let t=p(2).$implicit,n=p(2);return I(n.deleteDate(t.id))}),d(1," Delete "),r()}}function Ge(i,a){if(i&1){let o=T();m(0,"input",40),h("change",function(t){y(o),p(2);let n=x(11),s=p().$implicit,f=p(2);return I(f.onDateChange(t,s.id,n))}),r()}if(i&2){let o=p(5);c("ngModel",o.dayModel)}}function We(i,a){if(i&1&&u(0,Ge,1,1,"input",39),i&2){let o=p(4);c("ngIf",o.dayModel!==null)}}
2var He=function(i){return[i]};function Ue(i,a){if(i&1&&(m(0,"tr")(1,"th",41)(2,"a",42),d(3),r()(),m(4,"td"),d(5),S(6,"luxon"),r(),m(7,"td"),d(8),S(9,"luxon"),r()()),i&2){let o=a.$implicit,e=p(4);l(2),c("routerLink",R(14,He,o.id)),l(1),D(" ",o.name," "),l(2),D(" ",q(6,4,o.startTime,"h:mm a",!1,e.event.timezone)," "),l(3),D(" ",q(9,9,o.endTime,"h:mm a",!1,e.event.timezone)," ")}}var Ye=function(){return["add"]},Qe=function(i){return{dayId:i}};function Ke(i,a){if(i&1){let o=T();m(0,"div",0)(1,"div",24)(2,"div",25)(3,"button",26),d(4," New Timeslot "),r(),m(5,"div",2)(6,"button",27),d(7," Delete Date "),r(),u(8,Je,2,0,"ng-template",null,28,M),m(10,"button",29,30),h("click",function(){y(o);let t=p().$implicit,n=p(2);return I(n.initChangeDate(t.date))}),d(12," Change Date "),r(),u(13,We,1,1,"ng-template",null,31,M),r()(),m(15,"div",32)(16,"table",33)(17,"thead",34)(18,"tr")(19,"th",35),d(20,"Name"),r(),m(21,"th",35),d(22,"Start Time"),r(),m(23,"th",35),d(24,"End Time"),r()()(),m(25,"tbody",36),u(26,Ue,10,16,"tr",37),S(27,"sortDate"),r()()()()()}if(i&2){let o=x(9),e=x(14),t=p().$implicit;l(3),c("routerLink",U(9,Ye))("queryParams",R(10,Qe,t.id)),l(3),c("ngbPopover",o),l(4),c("ngbPopover",e)("autoClose","outside"),l(16),c("ngForOf",N(27,6,t.timeslots,"startTime"))}}function Xe(i,a){if(i&1&&(m(0,"li",21)(1,"a",22),d(2),S(3,"date"),r(),u(4,Ke,28,12,"ng-template",23),r()),i&2){let o=a.$implicit,e=a.index;c("ngbNavItem",e),l(2),E(" ",o.name," ",N(3,3,o.date,"shortDate")," ")}}function Ze(i,a){if(i&1){let o=T();m(0,"div")(1,"div",15)(2,"ul",16,17),h("activeIdChange",function(t){y(o);let n=p();return I(n.activeTab=t)}),u(4,Xe,5,6,"li",18),S(5,"sortDate"),r()(),m(6,"div",19),v(7,"div",20),r()()}if(i&2){let o=x(3),e=p();l(2),c("activeId",e.activeTab),l(2),c("ngForOf",N(5,3,e.days,"date")),l(3),c("ngbNavOutlet",o)}}var Oe=g`
3  query Dash_GetEventForAgenda($org: String, $event: String) {
4    getEvent(org: $org, event: $event) {
5      id
6      name
7      slug
8      timezone
9      days {
10        id
11        name
12        date
13        timeslots {
14          id
15          name
16          startTime
17          endTime
18        }
19      }
20    }
21  }
22`,et={columns:[{name:"Day",key:"day",required:!0,description:`The name of the day this timeslot belongs to (e.g., "Monday", "Day 1"). Will be created if it doesn't exist.`,suggested_mappings:["day","dayName","day_name","dayId"]},{name:"Name",key:"name",required:!0,description:"The name of the timeslot",suggested_mappings:["name","title","timeslot_name"]},{name:"Start Time",key:"startTime",description:"Start time in ISO 8601 format (e.g., 2024-01-15T09:00:00Z)",suggested_mappings:["startTime","start_time","start time","start","time_start","beginTime"]},{name:"End Time",key:"endTime",description:"End time in ISO 8601 format (e.g., 2024-01-15T10:00:00Z)",suggested_mappings:["endTime","end_time","end time","end","time_end","finishTime"]},{name:"Order",key:"order",description:"Order of the timeslot (optional)",suggested_mappings:["order","sort_order","position"]}]},Le=(()=>{let a=class{constructor(e,t,n,s){this.route=e,this.apollo=t,this.toast=n,this.modalService=s,this.dayModel=null,this.eventQuery={query:Oe,variables:{}}}importTimeslots(){return z(this,null,function*(){try{let e=window.CSVImporter.createCSVImporter({domElement:document.getElementById("importer"),modalOnCloseTriggered:()=>e?.closeModal(),onComplete:t=>{let n=t.rows.map(s=>s.values);this.importData(n),e?.closeModal()},primaryColor:"#0566db",darkMode:!1,template:et});e?.showModal()}catch(e){console.error(e),this.toast.error(e?.message||"Something went wrong...")}})}importData(e){return z(this,null,function*(){let t=this.modalService.open(Se);t.componentInstance.cancelClick.subscribe(()=>t.close()),t.componentInstance.statusTitle="Importing...",t.componentInstance.state="loading",t.componentInstance.statusText=`Importing ${e.length} timeslots...`,e=e.map(n=>{if(n.eventId=this.event.id,n.order==="")delete n.order;else if(n.order!==void 0&&n.order!==null){let s=parseFloat(n.order);Number.isNaN(s)?delete n.order:n.order=s}return n});try{let{data:n}=yield this.apollo.mutate({mutation:g`
23            mutation Dash_BulkCreateTimeslots(
24              $eventId: ID!
25              $timeslots: [TimeslotInput]!
26            ) {
27              bulkCreateTimeslots(eventId: $eventId, timeslots: $timeslots) {
28                id
29              }
30            }
31          `,variables:{eventId:this.event.id,timeslots:e}}).toPromise(),s=n?.bulkCreateTimeslots,f=0;for(let A of s)A&&(f+=1);this.getData(),t.componentInstance.statusTitle="Import Complete",t.componentInstance.state="success",t.componentInstance.statusText=`Successfully imported ${f} timeslot${f!==1?"s":""}!`,t.componentInstance.cancelButtonText="Close",t.componentInstance.showContinueButton=!1}catch(n){console.error(n),t.componentInstance.statusTitle="Import Failed",t.componentInstance.state="error",t.componentInstance.statusText=n.message,t.componentInstance.cancelButtonText="Close",t.componentInstance.showContinueButton=!1}})}getData(){this.apollo.query(this.eventQuery).subscribe(({data:e,errors:t,loading:n})=>{this.event=e&&e.getEvent,this.days=this.event.days,this.handleError(t),this.errors=t,this.loading=n})}ngOnInit(){this.route.params.subscribe(({org:e,event:t})=>{this.orgSlug=e,this.eventSlug=t,this.eventQuery={query:Oe,variables:{org:this.orgSlug,event:this.eventSlug}},this.getData()})}initChangeDate(e){this.dayModel=b.fromISO(e).toFormat("yyyy-MM-dd")}onDateChange(e,t,n){let s=e.target.value;s&&(this.updateDate(t,s),n.close())}onNewDate(e,t){let n=e.target.value;n&&(this.createDate(n),t.close())}createDate(e){let t=b.fromISO(e,{zone:this.event.timezone}),n={day:{eventId:this.event.id,date:t.toISO(),name:t.toFormat("cccc")}};this.apollo.mutate({mutation:g`
32          mutation Dash_CreateDay($day: DayInput!) {
33            createDay(day: $day) {
34              id
35              date
36              name
37            }
38          }
39        `,variables:n}).subscribe(({data:s})=>{s&&(this.toast.success("Day created!"),this.getData())})}deleteDate(e){let t={dayId:e};this.apollo.mutate({mutation:g`
40          mutation Dash_DeleteDay($dayId: ID!) {
41            removeDay(dayId: $dayId) {
42              id
43              message
44            }
45          }
46        `,variables:t}).subscribe(({data:n})=>{n&&(this.toast.success("Day deleted!"),this.getData())})}updateDate(e,t){let n=b.fromISO(t,{zone:this.event.timezone}),s={dayId:e,day:{eventId:this.event.id,date:n.toISO(),name:n.toFormat("cccc")}};this.dayModel=null,this.apollo.mutate({mutation:g`
47          mutation Dash_UpdateDay($dayId: ID!, $day: DayInput!) {
48            updateDay(dayId: $dayId, day: $day) {
49              id
50              date
51              name
52            }
53          }
54        `,variables:s}).subscribe(({data:f})=>{f&&(this.toast.success("Date updated!"),this.getData())})}handleError(e){e&&console.log("ERRORS",e)}},i=a;return(()=>{a.\u0275fac=function(t){return new(t||a)(_(k),_(V),_(j),_(fe))}})(),(()=>{a.\u0275cmp=C({type:a,selectors:[["app-timeslot-list"]],decls:21,vars:3,consts:[[1,"row"],[1,"col"],[1,"float-right"],[1,"btn-group"],["type","button","popoverTitle","New day","placement","bottom-right",1,"btn","btn-primary",3,"ngbPopover","autoClose"],["newDayPopover","ngbPopover"],["ngbDropdown","","role","group","aria-label","Button group with nested dropdown",1,"btn-group"],["ngbDropdownToggle","",1,"btn","btn-primary","dropdown-toggle-split"],["ngbDropdownMenu","",1,"dropdown-menu"],["ngbDropdownItem","",3,"click"],["newDayTemplate",""],["id","importer"],[1,"row","mt-3"],[4,"ngIf"],["type","date","name","newDay","autocomplete","off",1,"form-control",3,"change"],[1,"nav-wrapper"],["id","tabs-icons-text","role","tablist","ngbNav","",1,"nav","nav-pills","nav-fill","flex-column","flex-md-row",3,"activeId","activeIdChange"],["nav","ngbNav"],["class","nav-item",3,"ngbNavItem",4,"ngFor","ngForOf"],[1,"card","shadow"],[1,"card-body",3,"ngbNavOutlet"],[1,"nav-item",3,"ngbNavItem"],["ngbNavLink","",1,"nav-link","mb-sm-3","mb-md-0"],["ngbNavContent",""],[1,"col-12"],[1,"mb-3"],[1,"btn","btn-primary","btn-sm",3,"routerLink","queryParams"],["popoverTitle","Are you sure?","placement","bottom",1,"btn","btn-danger","btn-sm","mr-2",3,"ngbPopover"],["deleteDateTemplate",""],["popoverTitle","Change date","placement","bottom",1,"btn","btn-primary","btn-sm",3,"ngbPopover","autoClose","click"],["changeDatePopover","ngbPopover"],["changeDateTemplate",""],[1,"table-responsive"],[1,"table","align-items-center"],[1,"thead-light"],["scope","col"],[1,"list"],[4,"ngFor","ngForOf"],[1,"btn","btn-danger","btn-sm",3,"click"],["type","date","name","newDayChange","class","form-control","autocomplete","off",3,"ngModel","change",4,"ngIf"],["type","date","name","newDayChange","autocomplete","off",1,"form-control",3,"ngModel","change"],["scope","row"],[3,"routerLink"]],template:function(t,n){if(t&1&&(m(0,"div",0)(1,"div",1)(2,"h2"),d(3,"Agenda"),r()(),m(4,"div",1)(5,"div",2)(6,"div",3)(7,"button",4,5),d(9," New Day "),r(),m(10,"div",6),v(11,"button",7),m(12,"div",8)(13,"button",9),h("click",function(){return n.importTimeslots()}),d(14," Bulk Import "),r()()()()(),u(15,qe,1,0,"ng-template",null,10,M),r()(),v(17,"div",11),m(18,"div",12)(19,"div",1),u(20,Ze,8,6,"div",13),r()()),t&2){let s=x(16);l(7),c("ngbPopover",s)("autoClose","outside"),l(13),c("ngIf",n.event&&n.days)}},dependencies:[Y,F,ee,ue,pe,ce,de,ge,_e,ve,he,ye,Ie,$,L,oe,Q,Ne,De],styles:[`
55/*# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K */`]})})(),i})();function tt(i,a){i&1&&(m(0,"small",14),d(1," Please specify a name up to 100 characters long. "),r())}function it(i,a){i&1&&(m(0,"small",14),d(1," Please specify a day. "),r())}function nt(i,a){if(i&1&&(m(0,"div",8)(1,"label",15),d(2,"Day"),r(),v(3,"ng-select",16),u(4,it,2,0,"small",11),r()),i&2){let o=p(2);l(3),c("items",o.dayOpts),l(1),c("ngIf",o.form.controls.dayId.invalid&&(o.form.controls.dayId.dirty||o.form.controls.dayId.touched))}}function ot(i,a){if(i&1&&(m(0,"small",25),d(1),r()),i&2){let o=p(3);l(1),E(" ",o.getTimeStringFromObject(o.form.controls.startTime.value)," in ",o.event.timezone," ")}}function at(i,a){i&1&&(m(0,"small",14),d(1," Please specify a start time. "),r())}function rt(i,a){if(i&1&&(m(0,"small",26),d(1),r()),i&2){let o=p(3);l(1),E(" ",o.getTimeStringFromObject(o.form.controls.endTime.value)," in ",o.event.timezone," ")}}function mt(i,a){i&1&&(m(0,"small",14),d(1," Please specify an end time. "),r())}function st(i,a){if(i&1&&(m(0,"div",17)(1,"div",18)(2,"div",8)(3,"label",19),d(4,"Start time"),r(),v(5,"ngb-timepicker",20),u(6,ot,2,2,"small",21),u(7,at,2,0,"small",11),r()(),m(8,"div",18)(9,"div",8)(10,"label",22),d(11,"End time"),r(),v(12,"ngb-timepicker",23),u(13,rt,2,2,"small",24),u(14,mt,2,0,"small",11),r()()()),i&2){let o=p(2);l(5),c("meridian",!0),l(1),c("ngIf",o.event&&o.form.controls.startTime.value),l(1),c("ngIf",o.form.controls.startTime.invali
55d&&(o.form.controls.startTime.dirty||o.form.controls.startTime.touched)),l(5),c("meridian",!0),l(1),c("ngIf",o.event&&o.form.controls.endTime.value),l(1),c("ngIf",o.form.controls.endTime.invalid&&(o.form.controls.endTime.dirty||o.form.controls.endTime.touched))}}function lt(i,a){if(i&1&&(m(0,"form",7)(1,"div",8)(2,"label",9),d(3,"Name"),r(),v(4,"input",10),u(5,tt,2,0,"small",11),r(),u(6,nt,5,2,"div",12),u(7,st,15,6,"div",13),r()),i&2){let o=p();c("formGroup",o.form),l(5),c("ngIf",o.form.controls.name.invalid&&(o.form.controls.name.dirty||o.form.controls.name.touched)),l(1),c("ngIf",o.dayOpts.length>0),l(1),c("ngIf",o.form.controls.dayId.value)}}function dt(i,a){if(i&1){let o=T();m(0,"div",2)(1,"div",3)(2,"h6",4),d(3,"Danger zone"),r(),m(4,"button",27),h("click",function(){y(o);let t=p();return I(t.delete())}),d(5),r()()()}if(i&2){let o=p();l(5),D(" ",o.deleteClick?"Confirm delete":"Delete"," ")}}var G=(()=>{let a=class{constructor(e,t,n,s){this.route=e,this.apollo=t,this.router=n,this.toast=s,this.dayOpts=[],this.deleteClick=!1,this.loading=!0}
55parseDateString(e){return b.fromMillis(parseFloat(e))}getTimeStringFromObject(e){if(!e||e.hour===null||e.minute===null)return null;let t=this.parseTimeObject(e);return t?b.fromISO(t).setZone(this.event?.timezone).toFormat("h:mm a"):null}getTimeObjectFromString(e){if(!e)return null;let t=this.parseDateString(e);return{hour:t.hour,minute:t.minute}}ngOnInit(){this.route.queryParams.subscribe(({dayId:e})=>{this.dayId=e}),this.route.params.subscribe(({org:e,event:t,timeslotId:n})=>{this.getEvent({org:e,event:t}),n?(this.timeslotId=n,this.getTimeslot({timeslotId:n})):this.loading=!1}),this.form=new ne({name:new w(null,[O.required,O.maxLength(100)]),startTime:new w(null,[]),endTime:new w(null,[]),dayId:new w(null,[O.required])}),this.dayId&&!this.timeslotId&&this.form.controls.dayId.setValue(this.dayId)}getTimeslot(e){this.apollo.query({query:g`
56          query Dash_GetTimeslot($timeslotId: ID) {
57            getTimeslot(timeslotId: $timeslotId) {
58              id
59              slug
60              name
61              startTime
62              endTime
63              dayId
64            }
65          }
66        `,variables:e}).subscribe(({errors:t,loading:n,data:s})=>{this.timeslot=s&&s.getTimeslot,this.loading=n,this.form.patchValue(this.timeslot),this.form.controls.startTime.setValue(this.getTimeObjectFromString(this.timeslot.startTime)),this.form.controls.endTime.setValue(this.getTimeObjectFromString(this.timeslot.endTime))})}getEvent(e){this.apollo.query({query:g`
67          query Dash_GetEventForAgendaEdit($org: String, $event: String) {
68            getEvent(org: $org, event: $event) {
69              id
70              timezone
71              days {
72                id
73                name
74                date
75              }
76              org {
77                id
78              }
79            }
80          }
81        `,variables:e}).subscribe(({errors:t,loading:n,data:s})=>{if(this.event=s&&s.getEvent,this.event&&this.event.days)for(let f of this.event.days)this.dayOpts.push({label:f.name,value:f.id})})}save(){this.timeslotId?this.update():this.create()}update(){this.apollo.mutate({mutation:g`
82          mutation Dash_UpdateTimeslot($timeslotId: ID!, $timeslot: TimeslotInput!) {
83            updateTimeslot(timeslotId: $timeslotId, timeslot: $timeslot) {
84              id
85            }
86          }
87        `,variables:{timeslotId:this.timeslotId,timeslot:B(P({eventId:this.event.id},this.form.value),{startTime:this.parseTimeObject(this.form.controls.startTime.value),endTime:this.parseTimeObject(this.form.controls.endTime.value)})}}).subscribe(({data:e})=>{this.onSave()})}create(){this.apollo.mutate({mutation:g`
88          mutation Dash_CreateTimeslot($timeslot: TimeslotInput!) {
89            createTimeslot(timeslot: $timeslot) {
90              id
91            }
92          }
93        `,variables:{timeslot:B(P({eventId:this.event.id},this.form.value),{startTime:this.parseTimeObject(this.form.controls.startTime.value),endTime:this.parseTimeObject(this.form.controls.endTime.value)})}}).subscribe(({data:e})=>{this.onSave()})}delete(){if(!this.deleteClick){this.deleteClick=!0;return}this.apollo.mutate({mutation:g`
94          mutation Dash_DeleteTimeslot($timeslotId: ID!) {
95            removeTimeslot(timeslotId: $timeslotId) {
96              message
97            }
98          }
99        `,variables:{timeslotId:this.timeslotId}}).subscribe(({data:e})=>{let t=e&&e.removeTimeslot;t&&(this.toast.success(t.message),this.router.navigate(["../"],{relativeTo:this.route}))})}parseTimeObject(e){if(!this.event||!this.event.days||!e)return null;let t=this.event.days.find(je=>je.id===this.form.controls.dayId.value),n=this.parseDateString(t.date),s=n.year,f=n.month,A=n.day,Ve=`${e.hour}:${e.minute}`;return b.fromFormat(`${s}-${f}-${A} ${Ve}`,"yyyy-M-d H:m").toISO()}onSave(){this.toast.success("Saved!"),this.router.navigate(["../"],{relativeTo:this.route})}},i=a;return(()=>{a.\u0275fac=function(t){return new(t||a)(_(k),_(V),_(Z),_(j))}})(),(()=>{a.\u0275cmp=C({type:a,selectors:[["app-timeslot-edit"]],decls:11,vars:3,consts:[[1,"d-flex","justify-content-between","align-items-center","mb-3"],["type","submit",1,"btn","btn-primary","float-right",3,"disabled","click"],[1,"card","shadow-sm","rounded-xl","mb-4"],[1,"card-body"],[1,"card-title","font-weight-bold"],["novalidate","",3,"formGroup",4,"ngIf"],["class","card shadow-sm rounded-xl mb-4",4,"ngIf"],["novalidate","",3,"formGroup"],[1,"form-group"],["for","name"],["type","text","id","name","name","name","formControlName","name",1,"form-control"],["class","form-text text-danger",4,"ngIf"],["class","form-group",4,"ngIf"],["class","form-row pt-3",4,"ngIf"],[1,"form-text","text-danger"],["for","dayId"],["placeholder","Choose a day","bindValue","value","labelForId","dayId","formControlName","dayId","name","dayId",3,"items"],[1,"form-row","pt-3"],[1,"col"],["for","startTime"],["formControlName","startTime","aria-describedby","startTimeHelpBlock",3,"meridian"],["id","startTimeHelpBlock","class","form-text text-muted mt-0 mb-4",4,"ngIf"],["for","endTime"],["formControlName","endTime","aria-describedby","endTimeHelpBlock",3,"meridian"],["id","endTimeHelpBlock","class","form-text text-muted mt-0 mb-4",4,"ngIf"],["id","startTimeHelpBlock",1,"form-text","text-muted","mt-0","mb-4"],["id","endTimeHelpBlock",1,"form-text","text-muted","mt-0","mb-4"],["type","button",1,"btn","btn-danger",3,"click"]],template:function(t,n){t&1&&(m(0,"div",0)(1,"h2"),d(2,"Timeslot"),r(),m(3,"button",1),h("click",function(){return n.save()}),d(4," Save "),r()(),m(5,"div",2)(6,"div",3)(7,"h6",4),d(8,"Basic info"),r(),u(9,lt,8,4,"form",5),r()(),u(10,dt,6,1,"div",6)),t&2&&(l(3),c("disabled",!n.form.valid),l(6),c("ngIf",!n.loading),l(1),c("ngIf",n.timeslotId))},dependencies:[F,Te,xe,ae,$,L,ie,re,me],styles:[`
100/*# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K */`]})})(),i})();var ct=[{path:"",component:$e,children:[{path:"",component:Le},{path:"add",component:G},{path:":timeslotId",component:G}]}],Bt=(()=>{let a=class{},i=a;return(()=>{a.\u0275fac=function(t){return new(t||a)}})(),(()=>{a.\u0275mod=H({type:a})})(),(()=>{a.\u0275inj=W({imports:[K,te.forChild(ct),be,Ce,se,le,Fe,Me,Ee,we]})})(),i})();export{Bt as TimeslotModule};
101//# sourceMappingURL=timeslot.module-O26YYQNZ.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.