@quoreadmin/ui 1.3.50 → 1.3.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.js +10 -4
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/assets/illustrations/brand-badge.svg +45 -0
package/dist/index.js
CHANGED
|
@@ -60627,7 +60627,7 @@ const BN = /* @__PURE__ */ qe(gae, [["render", Sae], ["__scopeId", "data-v-6c7a3
|
|
|
60627
60627
|
mq: Fn
|
|
60628
60628
|
};
|
|
60629
60629
|
}
|
|
60630
|
-
}), Aae = ["id"], Tae = { class: "flex items-start mb-1" }, Eae = { class: "grow" }, Iae = { class: "w-full block text-sm leading-4 font-bold" }, Oae = { class: "text-inkwell-0 text-xs leading-4 flex gap-1 flex-wrap" }, Dae = { key: 0 }, xae = { class: "w-full py-1" }, Nae = ["onClick"], Pae = { key: 2 }, Lae = { class: "translate" }, Rae = {
|
|
60630
|
+
}), Aae = ["id"], Tae = { class: "flex items-start mb-1" }, Eae = { class: "grow" }, Iae = { class: "w-full block text-sm leading-4 font-bold" }, Oae = { class: "text-inkwell-0 text-xs leading-4 flex gap-1 flex-wrap" }, Dae = { key: 0 }, xae = { class: "w-full py-1" }, Nae = ["onClick"], Pae = { key: 2 }, Lae = { class: "translate wrap-anywhere" }, Rae = {
|
|
60631
60631
|
key: 1,
|
|
60632
60632
|
class: "pl-[3rem]"
|
|
60633
60633
|
}, _ae = { class: "h-8 flex items-center" }, $ae = { key: 2 };
|
|
@@ -60803,7 +60803,7 @@ function Fae(t, e, n, r, i, s) {
|
|
|
60803
60803
|
}, 8, ["action", "toggle", "processing"])
|
|
60804
60804
|
], 10, Aae)) : P("", !0);
|
|
60805
60805
|
}
|
|
60806
|
-
const Bae = /* @__PURE__ */ qe(Mae, [["render", Fae], ["__scopeId", "data-v-
|
|
60806
|
+
const Bae = /* @__PURE__ */ qe(Mae, [["render", Fae], ["__scopeId", "data-v-ccf07453"]]), Vae = xe({
|
|
60807
60807
|
name: "QCommentSection",
|
|
60808
60808
|
components: {
|
|
60809
60809
|
QComment: Bae,
|
|
@@ -61313,6 +61313,11 @@ const t0e = /* @__PURE__ */ qe(Xae, [["render", e0e], ["__scopeId", "data-v-f19b
|
|
|
61313
61313
|
type: String,
|
|
61314
61314
|
default: "asc"
|
|
61315
61315
|
},
|
|
61316
|
+
// Should the built in popover be repositioned and realigned automatically if it is outside viewport.
|
|
61317
|
+
repositionPopover: {
|
|
61318
|
+
type: Boolean,
|
|
61319
|
+
default: !0
|
|
61320
|
+
},
|
|
61316
61321
|
search: {
|
|
61317
61322
|
type: String,
|
|
61318
61323
|
default: ""
|
|
@@ -61448,6 +61453,7 @@ function g0e(t, e, n, r, i, s) {
|
|
|
61448
61453
|
key: 0,
|
|
61449
61454
|
modelValue: t.showFilterPopover,
|
|
61450
61455
|
"onUpdate:modelValue": e[0] || (e[0] = (f) => t.showFilterPopover = f),
|
|
61456
|
+
reposition: t.repositionPopover,
|
|
61451
61457
|
position: "bottom",
|
|
61452
61458
|
align: "right",
|
|
61453
61459
|
trigger: "click",
|
|
@@ -61489,7 +61495,7 @@ function g0e(t, e, n, r, i, s) {
|
|
|
61489
61495
|
H(t.$slots, "filterContent", Nn(Vr({ closePopover: t.closePopover })), void 0, !0)
|
|
61490
61496
|
]),
|
|
61491
61497
|
_: 3
|
|
61492
|
-
}, 8, ["modelValue"])) : t.$slots.filterSheetContent && !t.mq.md ? (w(), k("div", c0e, [
|
|
61498
|
+
}, 8, ["modelValue", "reposition"])) : t.$slots.filterSheetContent && !t.mq.md ? (w(), k("div", c0e, [
|
|
61493
61499
|
x("div", d0e, [
|
|
61494
61500
|
R(o, {
|
|
61495
61501
|
class: "filters-icon ml-0 cursor-pointer",
|
|
@@ -61580,7 +61586,7 @@ function g0e(t, e, n, r, i, s) {
|
|
|
61580
61586
|
])) : P("", !0)
|
|
61581
61587
|
], 8, r0e);
|
|
61582
61588
|
}
|
|
61583
|
-
const y0e = /* @__PURE__ */ qe(n0e, [["render", g0e], ["__scopeId", "data-v-
|
|
61589
|
+
const y0e = /* @__PURE__ */ qe(n0e, [["render", g0e], ["__scopeId", "data-v-a0babcc4"]]), v0e = xe({
|
|
61584
61590
|
name: "QDataList",
|
|
61585
61591
|
components: {
|
|
61586
61592
|
QBadge: pl,
|
package/dist/index.umd.cjs
CHANGED
|
@@ -248,7 +248,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
248
248
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(t)},n:function(){var d=n.next();return o=d.done,d},e:function(d){s=!0,l=d},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function hO(t,e){if(t){if(typeof t=="string")return Fy(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fy(t,e)}}function Fy(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var pO={name:"FileUpload",extends:Wie,inheritAttrs:!1,emits:["select","uploader","before-upload","progress","upload","error","before-send","clear","remove","remove-uploaded-file"],duplicateIEEvent:!1,data:function(){return{uploadedFileCount:0,files:[],messages:[],focused:!1,progress:null,uploadedFiles:[]}},methods:{onFileSelect:function(e){if(e.type!=="drop"&&this.isIE11()&&this.duplicateIEEvent){this.duplicateIEEvent=!1;return}this.messages=[],this.files=this.files||[];var n=e.dataTransfer?e.dataTransfer.files:e.target.files,r=Mg(n),i;try{for(r.s();!(i=r.n()).done;){var o=i.value;this.isFileSelected(o)||this.validate(o)&&(this.isImage(o)&&(o.objectURL=window.URL.createObjectURL(o)),this.files.push(o))}}catch(s){r.e(s)}finally{r.f()}this.$emit("select",{originalEvent:e,files:this.files}),this.fileLimit&&this.checkFileLimit(),this.auto&&this.hasFiles&&!this.isFileLimitExceeded()&&this.upload(),e.type!=="drop"&&this.isIE11()?this.clearIEInput():this.clearInputElement()},choose:function(){this.$refs.fileInput.click()},upload:function(){var e=this;if(this.customUpload)this.fileLimit&&(this.uploadedFileCount+=this.files.length),this.$emit("uploader",{files:this.files}),this.clear();else{var n=new XMLHttpRequest,r=new FormData;this.$emit("before-upload",{xhr:n,formData:r});var i=Mg(this.files),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;r.append(this.name,s,s.name)}}catch(l){i.e(l)}finally{i.f()}n.upload.addEventListener("progress",function(l){l.lengthComputable&&(e.progress=Math.round(l.loaded*100/l.total)),e.$emit("progress",{originalEvent:l,progress:e.progress})}),n.onreadystatechange=function(){if(n.readyState===4){var l;e.progress=0,n.status>=200&&n.status<300?(e.fileLimit&&(e.uploadedFileCount+=e.files.length),e.$emit("upload",{xhr:n,files:e.files})):e.$emit("error",{xhr:n,files:e.files}),(l=e.uploadedFiles).push.apply(l,$y(e.files)),e.clear()}},n.open("POST",this.url,!0),this.$emit("before-send",{xhr:n,formData:r}),n.withCredentials=this.withCredentials,n.send(r)}},clear:function(){this.files=[],this.messages=null,this.$emit("clear"),this.isAdvanced&&this.clearInputElement()},onFocus:function(){this.focused=!0},onBlur:function(){this.focused=!1},isFileSelected:function(e){if(this.files&&this.files.length){var n=Mg(this.files),r;try{for(n.s();!(r=n.n()).done;){var i=r.value;if(i.name+i.type+i.size===e.name+e.type+e.size)return!0}}catch(o){n.e(o)}finally{n.f()}}return!1},isIE11:function(){return!!window.MSInputMethodContext&&!!document.documentMode},validate:function(e){return this.accept&&!this.isFileTypeValid(e)?(this.messages.push(this.invalidFileTypeMessage.replace("{0}",e.name).replace("{1}",this.accept)),!1):this.maxFileSize&&e.size>this.maxFileSize?(this.messages.push(this.invalidFileSizeMessage.replace("{0}",e.name).replace("{1}",this.formatSize(this.maxFileSize))),!1):!0},isFileTypeValid:function(e){var n=this.accept.split(",").map(function(l){return l.trim()}),r=Mg(n),i;try{for(r.s();!(i=r.n()).done;){var o=i.value,s=this.isWildcard(o)?this.getTypeClass(e.type)===this.getTypeClass(o):e.type==o||this.getFileExtension(e).toLowerCase()===o.toLowerCase();if(s)return!0}}catch(l){r.e(l)}finally{r.f()}return!1},getTypeClass:function(e){return e.substring(0,e.indexOf("/"))},isWildcard:function(e){return e.indexOf("*")!==-1},getFileExtension:function(e){return"."+e.name.split(".").pop()},isImage:function(e){return/^image\//.test(e.type)},onDragEnter:function(e){this.disabled||(e.stopPropagation(),e.preventDefault())},onDragOver:function(e){this.disabled||(!this.isUnstyled&&B.addClass(this.$refs.content,"p-fileupload-highlight"),this.$refs.content.setAttribute("data-p-highlight",!0),e.stopPropagation(),e.preventDefault())},onDragLeave:function(){this.disabled||(!this.isUnstyled&&B.removeClass(this.$refs.content,"p-fileupload-highlight"),this.$refs.content.setAttribute("data-p-highlight",!1))},onDrop:function(e){if(!this.disabled){!this.isUnstyled&&B.removeClass(this.$refs.content,"p-fileupload-highlight"),this.$refs.content.setAttribute("data-p-highlight",!1),e.stopPropagation(),e.preventDefault();var n=e.dataTransfer?e.dataTransfer.files:e.target.files,r=this.multiple||n&&n.length===1;r&&this.onFileSelect(e)}},onBasicUploaderClick:function(e){this.hasFiles?this.upload():e.button===0&&this.$refs.fileInput.click()},remove:function(e){this.clearInputElement();var n=this.files.splice(e,1)[0];this.files=$y(this.files),this.$emit("remove",{file:n,files:this.files})},removeUploadedFile:function(e){var n=this.uploadedFiles.splice(e,1)[0];this.uploadedFiles=$y(this.uploadedFiles),this.$emit("remove-uploaded-file",{file:n,files:this.uploadedFiles})},clearInputElement:function(){this.$refs.fileInput.value=""},clearIEInput:function(){this.$refs.fileInput&&(this.duplicateIEEvent=!0,this.$refs.fileInput.value="")},formatSize:function(e){var n,r=1024,i=3,o=((n=this.$primevue.config.locale)===null||n===void 0?void 0:n.fileSizeTypes)||["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(e===0)return"0 ".concat(o[0]);var s=Math.floor(Math.log(e)/Math.log(r)),l=parseFloat((e/Math.pow(r,s)).toFixed(i));return"".concat(l," ").concat(o[s])},isFileLimitExceeded:function(){return this.fileLimit&&this.fileLimit<=this.files.length+this.uploadedFileCount&&this.focused&&(this.focused=!1),this.fileLimit&&this.fileLimit<this.files.length+this.uploadedFileCount},checkFileLimit:function(){this.isFileLimitExceeded()&&this.messages.push(this.invalidFileLimitMessage.replace("{0}",this.fileLimit.toString()))},onMessageClose:function(){this.messages=null}},computed:{isAdvanced:function(){return this.mode==="advanced"},isBasic:function(){return this.mode==="basic"},chooseButtonClass:function(){return[this.cx("chooseButton"),this.class]},basicChooseButtonLabel:function(){return this.auto?this.chooseButtonLabel:this.hasFiles?this.files.map(function(e){return e.name}).join(", "):this.chooseButtonLabel},hasFiles:function(){return this.files&&this.files.length>0},hasUploadedFiles:function(){return this.uploadedFiles&&this.uploadedFiles.length>0},chooseDisabled:function(){return this.disabled||this.fileLimit&&this.fileLimit<=this.files.length+this.uploadedFileCount},uploadDisabled:function(){return this.disabled||!this.hasFiles||this.fileLimit&&this.fileLimit<this.files.length},cancelDisabled:function(){return this.disabled||!this.hasFiles},chooseButtonLabel:function(){return this.chooseLabel||this.$primevue.config.locale.choose},uploadButtonLabel:function(){return this.uploadLabel||this.$primevue.config.locale.upload},cancelButtonLabel:function(){return this.cancelLabel||this.$primevue.config.locale.cancel},completedLabel:function(){return this.$primevue.config.locale.completed},pendingLabel:function(){return this.$primevue.config.locale.pending}},components:{FileUploadButton:hf,FileUploadProgressBar:uO,FileUploadMessage:cO,FileContent:fO,PlusIcon:Ly,UploadIcon:lO,TimesIcon:i0},directives:{ripple:Sr}},Jie=["multiple","accept","disabled"],eoe=["accept","disabled","multiple"];function toe(t,e,n,r,i,o){var s=a.resolveComponent("FileUploadButton"),l=a.resolveComponent("FileUploadProgressBar"),c=a.resolveComponent("FileUploadMessage"),d=a.resolveComponent("FileContent"),u=a.resolveDirective("ripple");return o.isAdvanced?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,class:t.cx("root")},t.ptmi("root")),[a.createElementVNode("input",a.mergeProps({ref:"fileInput",type:"file",onChange:e[0]||(e[0]=function(){return o.onFileSelect&&o.onFileSelect.apply(o,arguments)}),multiple:t.multiple,accept:t.accept,disabled:o.chooseDisabled},t.ptm("input")),null,16,Jie),a.createElementVNode("div",a.mergeProps({class:t.cx("buttonbar")},t.ptm("buttonbar")),[a.renderSlot(t.$slots,"header",{files:i.files,uploadedFiles:i.uploadedFiles,chooseCallback:o.choose,uploadCallback:o.upload,clearCallback:o.clear},function(){return[a.withDirectives((a.openBlock(),a.createElementBlock("span",a.mergeProps({class:o.chooseButtonClass,style:t.style,onClick:e[1]||(e[1]=function(){return o.choose&&o.choose.apply(o,arguments)}),onKeydown:e[2]||(e[2]=a.withKeys(function(){return o.choose&&o.choose.apply(o,arguments)},["enter"])),onFocus:e[3]||(e[3]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:e[4]||(e[4]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)}),tabindex:"0"},t.ptm("chooseButton")),[a.renderSlot(t.$slots,"chooseicon",{class:a.normalizeClass(t.cx("chooseIcon"))},function(){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.chooseIcon?"span":"PlusIcon"),a.mergeProps({class:[t.cx("chooseIcon"),t.chooseIcon],"aria-hidden":"true"},t.ptm("chooseIcon")),null,16,["class"]))]}),a.createElementVNode("span",a.mergeProps({class:t.cx("chooseButtonLabel")},t.ptm("chooseButtonLabel")),a.toDisplayString(o.chooseButtonLabel),17)],16)),[[u]]),t.showUploadButton?(a.openBlock(),a.createBlock(s,{key:0,label:o.uploadButtonLabel,onClick:o.upload,disabled:o.uploadDisabled,unstyled:t.unstyled,pt:t.ptm("uploadButton")},{icon:a.withCtx(function(f){return[a.renderSlot(t.$slots,"uploadicon",{},function(){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.uploadIcon?"span":"UploadIcon"),a.mergeProps({class:[f.class,t.uploadIcon],"aria-hidden":"true"},t.ptm("uploadButton").icon,{"data-pc-section":"uploadbuttonicon"}),null,16,["class"]))]})]}),_:3},8,["label","onClick","disabled","unstyled","pt"])):a.createCommentVNode("",!0),t.showCancelButton?(a.openBlock(),a.createBlock(s,{key:1,label:o.cancelButtonLabel,onClick:o.clear,disabled:o.cancelDisabled,unstyled:t.unstyled,pt:t.ptm("cancelButton")},{icon:a.withCtx(function(f){return[a.renderSlot(t.$slots,"cancelicon",{},function(){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.cancelIcon?"span":"TimesIcon"),a.mergeProps({class:[f.class,t.cancelIcon],"aria-hidden":"true"},t.ptm("cancelButton").icon,{"data-pc-section":"cancelbuttonicon"}),null,16,["class"]))]})]}),_:3},8,["label","onClick","disabled","unstyled","pt"])):a.createCommentVNode("",!0)]})],16),a.createElementVNode("div",a.mergeProps({ref:"content",class:t.cx("content"),onDragenter:e[5]||(e[5]=function(){return o.onDragEnter&&o.onDragEnter.apply(o,arguments)}),onDragover:e[6]||(e[6]=function(){return o.onDragOver&&o.onDragOver.apply(o,arguments)}),onDragleave:e[7]||(e[7]=function(){return o.onDragLeave&&o.onDragLeave.apply(o,arguments)}),onDrop:e[8]||(e[8]=function(){return o.onDrop&&o.onDrop.apply(o,arguments)})},t.ptm("content"),{"data-p-highlight":!1}),[a.renderSlot(t.$slots,"content",{files:i.files,uploadedFiles:i.uploadedFiles,removeUploadedFileCallback:o.removeUploadedFile,removeFileCallback:o.remove,progress:i.progress,messages:i.messages},function(){return[o.hasFiles?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createVNode(l,{value:i.progress,showValue:!1,unstyled:t.unstyled,pt:t.ptm("progressbar")},null,8,["value","unstyled","pt"]),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.messages,function(f){return a.openBlock(),a.createBlock(c,{key:f,severity:"error",onClose:o.onMessageClose,unstyled:t.unstyled,pt:t.ptm("message")},{default:a.withCtx(function(){return[a.createTextVNode(a.toDisplayString(f),1)]}),_:2},1032,["onClose","unstyled","pt"])}),128)),a.createVNode(d,{files:i.files,onRemove:o.remove,badgeValue:o.pendingLabel,previewWidth:t.previewWidth,templates:t.$slots,unstyled:t.unstyled,pt:t.pt},null,8,["files","onRemove","badgeValue","previewWidth","templates","unstyled","pt"])],64)):a.createCommentVNode("",!0),a.createVNode(d,{files:i.uploadedFiles,onRemove:o.removeUploadedFile,badgeValue:o.completedLabel,badgeSeverity:"success",previewWidth:t.previewWidth,templates:t.$slots,unstyled:t.unstyled,pt:t.pt},null,8,["files","onRemove","badgeValue","previewWidth","templates","unstyled","pt"])]}),t.$slots.empty&&!o.hasFiles&&!o.hasUploadedFiles?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,class:t.cx("empty")},t.ptm("empty")),[a.renderSlot(t.$slots,"empty")],16)):a.createCommentVNode("",!0)],16)],16)):o.isBasic?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:1,class:t.cx("root")},t.ptmi("root")),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.messages,function(f){return a.openBlock(),a.createBlock(c,{key:f,severity:"error",onClose:o.onMessageClose,unstyled:t.unstyled,pt:t.ptm("messages")},{default:a.withCtx(function(){return[a.createTextVNode(a.toDisplayString(f),1)]}),_:2},1032,["onClose","unstyled","pt"])}),128)),a.withDirectives((a.openBlock(),a.createElementBlock("span",a.mergeProps({class:o.chooseButtonClass,style:t.style,onMouseup:e[12]||(e[12]=function(){return o.onBasicUploaderClick&&o.onBasicUploaderClick.apply(o,arguments)}),onKeydown:e[13]||(e[13]=a.withKeys(function(){return o.choose&&o.choose.apply(o,arguments)},["enter"])),onFocus:e[14]||(e[14]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:e[15]||(e[15]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)}),tabindex:"0"},t.ptm("chooseButton")),[!o.hasFiles||t.auto?a.renderSlot(t.$slots,"uploadicon",{key:0,class:a.normalizeClass(t.cx("uploadIcon"))},function(){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.uploadIcon?"span":"UploadIcon"),a.mergeProps({class:[t.cx("uploadIcon"),t.uploadIcon],"aria-hidden":"true"},t.ptm("uploadIcon")),null,16,["class"]))]}):a.renderSlot(t.$slots,"chooseicon",{key:1,class:a.normalizeClass(t.cx("chooseIcon"))},function(){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.chooseIcon?"span":"PlusIcon"),a.mergeProps({class:[t.cx("chooseIcon"),t.chooseIcon],"aria-hidden":"true"},t.ptm("chooseIcon")),null,16,["class"]))]}),a.createElementVNode("span",a.mergeProps({class:t.cx("label")},t.ptm("label")),a.toDisplayString(o.basicChooseButtonLabel),17),o.hasFiles?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("input",a.mergeProps({key:2,ref:"fileInput",type:"file",accept:t.accept,disabled:t.disabled,multiple:t.multiple,onChange:e[9]||(e[9]=function(){return o.onFileSelect&&o.onFileSelect.apply(o,arguments)}),onFocus:e[10]||(e[10]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:e[11]||(e[11]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)})},t.ptm("input")),null,16,eoe))],16)),[[u]])],16)):a.createCommentVNode("",!0)}pO.render=toe;const noe=a.defineComponent({name:"QModalContent",props:{useFlex:{type:Boolean,default:!1},contentClass:{type:String,default:""},footerClass:{type:String,default:""}},setup(t,{slots:e}){const n=a.inject("size"),r=a.computed(()=>!!e.header),i=a.computed(()=>!!e.footer);return{modalSize:n,hasHeader:r,hasFooter:i}}}),roe={key:0,class:"modal-title mb-2"},ioe={class:"text-lg pb-4 font-bold leading-6"};function ooe(t,e,n,r,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["modal-content",t.useFlex?"flex flex-col min-h-full":"","modal-"+t.modalSize])},[t.hasHeader?(a.openBlock(),a.createElementBlock("div",roe,[a.createElementVNode("h2",ioe,[a.renderSlot(t.$slots,"header",{},void 0,!0)])])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["modal-body",t.useFlex?"flex-grow":"",t.contentClass])},[a.renderSlot(t.$slots,"body",{},void 0,!0)],2),t.hasFooter?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["modal-actions",t.footerClass])},[a.renderSlot(t.$slots,"footer",{},void 0,!0)],2)):a.createCommentVNode("",!0)],2)}const mO=Te(noe,[["render",ooe],["__scopeId","data-v-01edcc7b"]]),soe=a.defineComponent({name:"QFileUpload",components:{FileUpload:pO,QBadge:ds,QImageGallery:v7,QModal:Ym,QModalContent:mO},props:{name:{type:Array,default:null},files:{type:Array,default:()=>[]},url:{type:String,default:""},multiple:{type:Boolean,default:!0},filesAllowed:{type:String,default:"image/*,.pdf"},maxFileSize:{type:Number,default:33554432},autoUpload:{type:Boolean,default:!1},customUpload:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},expands:{type:Boolean,default:!1},processing:{type:Boolean,default:!1}},emits:["file-list","upload-error","uploading"],setup(t,{emit:e}){const n=a.ref(null),r=a.ref(),i=a.ref([]),o=a.ref([]),s=a.computed(()=>t.files),l=a.computed(()=>t.filesAllowed.replace(/,/g,", ")),c=()=>{n.value&&n.value.clear()},d=()=>{i.value=[],o.value=[]},u=A=>{const S=t.filesAllowed.split(",").map(M=>M.trim());for(const M of S)if(f(M)?h(A.type)===h(M):A.type==M||p(A).toLowerCase()===M.toLowerCase())return!0;return!1},f=A=>A.indexOf("*")!==-1,p=A=>"."+A.name.split(".").pop(),h=A=>A.substring(0,A.indexOf("/")),g=A=>{var D;const S=A.originalEvent;let M=[];S.type==="drop"?M=(D=S.dataTransfer)==null?void 0:D.files:M=S.target.files;for(const I of M)I.size>t.maxFileSize&&i.value.push(I.name),u(I)||o.value.push(I.name)},b=A=>{e("upload-error",A)},y=()=>{n.value&&n.value.upload()},w=A=>{e("uploading",A)},C=A=>{const S=s.value,M=S.findIndex(D=>D.lastModified===A.lastModified);M!==-1&&(S.splice(M,1),e("file-list",S)),n.value.messages=null},k=A=>{g(A),e("file-list",A.files)},{isOverDropZone:v}=VL(r);return{fileUpload:n,dropZoneRef:r,allFiles:s,sizeErrors:i,typeErrors:o,isOverDropZone:v,displayAllowedTypes:l,clear:c,clearErrors:d,getFileExtension:p,getTypeClass:h,isValidFileType:u,isWildcard:f,onBeforeSelect:g,onUpload:y,onUploadError:b,onUploading:w,onRemoveFile:C,onSelectedFiles:k,mq:en}}}),aoe={class:"file-upload-container w-full"},loe={ref:"dropZoneRef",class:"flex flex-col relative"},coe={class:"mt-2 mb-0 text-inkwell-0 text-sm"},doe={key:1,class:"image-gallery-container"},uoe={id:"add-file-label",class:"text-inkwell-20 leading-[1.25rem] text-xs"},foe={id:"file-upload-error-message",class:"flex flex-col gap-2 text-center"},hoe={class:"font-bold md:leading-6 text-center text-[1.25rem] md:text-lg text-inkwell-30"},poe={key:0,class:"sm-down:text-sm text-center text-inkwell-0"},moe={key:1,id:"file-size-errors",class:"mb-2 md:mb-6 sm-down:text-sm text-center text-inkwell-0 text-left"},goe={key:2,class:"sm-down:text-sm text-center text-inkwell-0"},yoe={key:3,id:"file-type-errors",class:"mb-2 md:mb-6 sm-down:text-sm text-center text-inkwell-0 text-left"};function boe(t,e,n,r,i,o){const s=a.resolveComponent("q-icon"),l=a.resolveComponent("q-image-gallery"),c=a.resolveComponent("FileUpload",!0),d=a.resolveComponent("q-button"),u=a.resolveComponent("q-modal-content"),f=a.resolveComponent("q-modal");return a.openBlock(),a.createElementBlock("div",aoe,[a.createVNode(c,{ref:"fileUpload",name:t.name,url:t.url,multiple:t.multiple,accept:t.filesAllowed,maxFileSize:t.maxFileSize,auto:t.autoUpload,"custom-upload":t.customUpload,disabled:t.disabled,onError:e[3]||(e[3]=p=>t.onUploadError(p)),onUpload:t.onUpload,onUploader:e[4]||(e[4]=p=>t.onUploading(p)),onSelect:t.onSelectedFiles,pt:{root:{class:"flex flex-col"},content:`!py-0 !px-0 !border-none ${t.expands?"md:!rounded-lg !rounded-2xl":"!rounded-lg"}`,buttonbar:{class:"order-last hidden"}},ptOptions:{mergeProps:!0}},{content:a.withCtx(p=>{var h,g,b;return[a.createElementVNode("div",loe,[t.isOverDropZone&&t.mq.md?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["flex flex-col items-center justify-center","bg-gray-0 border border-blue-20 border-dashed","rounded-lg h-[calc(100%+2px)] w-[calc(100%+2px)] -m-px","absolute top-0 left-0 z-30",{"cursor-pointer":!t.disabled,"border-red-30":p.messages&&p.messages.length>0}]),style:a.normalizeStyle(`
|
|
249
249
|
height: ${(((g=(h=t.dropZoneRef)==null?void 0:h.closest(".editor-container"))==null?void 0:g.clientHeight)||0)+2}px;
|
|
250
250
|
top: ${(b=t.dropZoneRef)!=null&&b.closest(".show-formatting-menu")?-36:0}px;
|
|
251
|
-
`)},[a.createVNode(s,{icon:"paperclip",size:"lg",type:"line",color:"gray-40"}),a.createElementVNode("div",coe,a.toDisplayString(t.$t("HC_CLICK_DRAG_FILES_HERE")),1)],6)):a.createCommentVNode("",!0),a.renderSlot(t.$slots,"default"),t.allFiles.length?(a.openBlock(),a.createElementBlock("div",doe,[a.createVNode(l,{files:t.allFiles,"show-remove":!0,processing:t.processing,class:"px-4 mt-2 mb-2","onUpdate:modelValue":t.onRemoveFile},{actions:a.withCtx(()=>[a.createElementVNode("div",a.mergeProps({"aria-labelledby":"add-file-label",class:"p-0 relative rounded-lg shrink-0 my-2 bg-gray-7 hover:bg-gray-20 focus:bg-gray-20 outline-none cursor-pointer py-2 size-16 md:py-[1.125rem] md:size-20 rounded-lg flex align-center items-center flex-col",role:"button",tabindex:"0"},{[a.toHandlerKey(!t.processing&&"click")]:e[0]||(e[0]=y=>t.fileUpload.choose())},{[a.toHandlerKey(!t.processing&&"keydown.enter")]:e[1]||(e[1]=y=>t.fileUpload.choose())},{[a.toHandlerKey(!t.processing&&"keydown.space.prevent")]:e[2]||(e[2]=y=>t.fileUpload.choose())}),[a.createVNode(s,{icon:"circle-plus",color:"inkwell-0",class:"shrink-0",size:"md"}),a.createElementVNode("div",uoe,a.toDisplayString(t.$t("HC_ADD")),1)],16)]),_:1},8,["files","processing","onUpdate:modelValue"])])):a.createCommentVNode("",!0)],512)]}),_:3},8,["name","url","multiple","accept","maxFileSize","auto","custom-upload","disabled","onUpload","onSelect","pt"]),a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[t.sizeErrors.length||t.typeErrors.length?(a.openBlock(),a.createBlock(f,{key:0,id:"file-upload-error-modal",dismissible:!1,overlay:t.mq.md?"white-transparent":"black-transparent","container-class":"h-fit min-h-fit"},{default:a.withCtx(()=>[a.createVNode(u,null,{body:a.withCtx(()=>[a.createElementVNode("div",foe,[a.createElementVNode("h2",hoe,a.toDisplayString(t.typeErrors.length?t.$t("HC_INVALID_FILES"):t.$t("HC_FILE_TOO_LARGE")),1),t.sizeErrors.length?(a.openBlock(),a.createElementBlock("p",poe,a.toDisplayString(t.$t("HC_UPLOAD_FILE_SIZE_ERROR",{size:t.maxFileSize/1024/1024})),1)):a.createCommentVNode("",!0),t.sizeErrors.length?(a.openBlock(),a.createElementBlock("ul",moe,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.sizeErrors,p=>(a.openBlock(),a.createElementBlock("li",{key:p},a.toDisplayString(p),1))),128))])):a.createCommentVNode("",!0),t.typeErrors.length?(a.openBlock(),a.createElementBlock("p",goe,a.toDisplayString(t.$t("HC_INVALID_FILE_TYPES",{types:t.displayAllowedTypes})+":"),1)):a.createCommentVNode("",!0),t.typeErrors.length?(a.openBlock(),a.createElementBlock("ul",yoe,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.typeErrors,p=>(a.openBlock(),a.createElementBlock("li",{key:p},a.toDisplayString(p),1))),128))])):a.createCommentVNode("",!0)])]),footer:a.withCtx(()=>[a.createVNode(d,{class:a.normalizeClass([t.mq.md?"mx-3":"w-full"]),status:t.mq.md?"primary":"primary-blue",size:"lg",onClick:e[5]||(e[5]=p=>t.clearErrors())},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_OK")),1)]),_:1},8,["class","status"])]),_:1})]),_:1},8,["overlay"])):a.createCommentVNode("",!0)]))]),_:1})])}const gO=Te(soe,[["render",boe]]),woe=a.defineComponent({components:{EditorContent:oee,EmojiPicker:Tne,QFileUpload:gO},props:{modelValue:{type:String,default:""},attachments:{type:Object,default:()=>[]},allowEmojis:{type:Boolean,default:!1},allowAttachments:{type:Boolean,default:!1},allowFormatting:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},filesAllowed:{type:String,default:"image/*,.pdf"},expands:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!0},isStandalone:{type:Boolean,default:!1},placeholder:{type:String,default:""},processing:{type:Boolean,default:!1}},emits:["update:model-value","update:attachments","keyboard-open"],setup(t,{emit:e}){const n=a.ref(),r=a.ref(!1),i=a.ref(""),o=a.ref(),s=a.ref(),l=a.ref(!1),c=a.ref(!1),d=a.ref(!1),u=a.ref([]),f=a.ref(),p=a.ref(),h=a.ref(),g=a.ref(!1),b=a.ref(window.innerHeight),y=a.computed(()=>H.value.getAttributes("textStyle").color||"#121517"),w=a.computed(()=>t.attachments),C=a.computed(()=>t.isStacked||t.expands&&(w.value.length>0||d.value||!H.value.isEmpty)||c.value),v=Ew(LL).greaterOrEqual("md"),A=()=>{const _=window.prompt("URL");H.value.chain().focus().extendMarkRange("link").setLink({href:_||""}).run()},S=_=>{H.value.chain().focus().setColor(_).run(),D()},M=()=>{l.value=!l.value},D=()=>{l.value=!1},I=()=>{var _,G;(G=(_=f.value)==null?void 0:_.fileUpload)==null||G.choose()},N=_=>{H.value.chain().focus().insertContent(_).run(),o.value.$el.click()},x=async()=>{if(await a.nextTick(),d.value){const _=g.value,G=(visualViewport==null?void 0:visualViewport.height)||window.innerHeight;g.value=b.value-G>0,_!==g.value&&(d.value=g.value,e("keyboard-open",g.value))}},L=()=>{d.value&&t.expands&&(g.value=!1,e("keyboard-open",g.value)),d.value=!1},z=_=>{H.value.chain().focus().insertContent(_.i).run(),r.value=!1},U=_=>{u.value=_,F()},F=()=>{let _="";H.value.isEmpty||(_=t.allowFormatting?H.value.getHTML():H.value.getText()),u.value!==t.attachments&&e("update:attachments",u.value),e("update:model-value",_)},H=a.ref(see({extensions:[Are.configure({heading:{levels:[1,2]}}),Tre,Ire,Ore,Yre.configure({openOnClick:!1}),Qre.configure({placeholder:t.placeholder})],content:t.modelValue,onUpdate:F,editable:!t.disabled}));return a.watch(()=>t.modelValue,_=>{H.value&&!_&&H.value.commands.clearContent()}),a.watch(()=>t.disabled,_=>{H.value&&(H.value.options.editable=!_,H.value.view.update(H.value.view.props))}),a.onBeforeUnmount(()=>{var _;(_=H.value)==null||_.destroy()}),a.onMounted(()=>{visualViewport&&t.expands&&visualViewport.addEventListener("resize",x)}),a.onUnmounted(()=>{visualViewport&&t.expands&&visualViewport.removeEventListener("resize",x)}),Bp(n,()=>{r.value=!1}),Bp(h,()=>{d.value&&t.expands&&(g.value=!1,e("keyboard-open",g.value)),d.value=!1}),{colors:Sk.theme.colors,colorExclusions:["success","success-light","error","error-light","warning","warning-light","info","info-light","transparent","current","green-quore","blue-sky","blue-quore","complaint","recurring","workorder"],editor:H,editorRef:p,emojiPickerElement:n,showEmojiPicker:r,emojiSearch:i,invoker:o,isExpanded:C,multiUploader:s,showColorMenu:l,focused:d,files:w,showFormatOptions:c,uploadedfiles:u,fileUploadRef:f,wysiwygRef:h,setColor:y,mdAndLarger:v,setLink:A,selectColor:S,showColors:M,onClickAction:L,onClickOutColors:D,attachFiles:I,appendEmoji:N,onSelectEmoji:z,onSelectFiles:U}}}),Coe={key:0,class:"menu flex items-center justify-between !pb-0 !pr-0"},voe={class:"toolbar flex items-center md:gap-x-4"},koe={class:"flex items-center gap-x-1"},Soe={class:"toolbar flex items-center md:gap-x-4"},Eoe={name:"fade-zoom",class:"flex items-center items-center"};function Moe(t,e,n,r,i,o){const s=a.resolveComponent("q-icon"),l=a.resolveComponent("editor-content"),c=a.resolveComponent("q-file-upload"),d=a.resolveComponent("emoji-picker");return t.editor?(a.openBlock(),a.createElementBlock("div",{key:0,ref:"wysiwygRef",class:a.normalizeClass(["editor-container rounded-lg",{"has-placeholder":!!t.placeholder,"is-focused":t.focused,"is-stacked":t.isExpanded,"is-standalone":t.isStandalone,"show-formatting-menu":t.showFormatOptions,"!rounded-2xl md:!rounded-lg expands":t.expands}]),onMousedown:e[11]||(e[11]=u=>{t.focused=!0})},[a.createElementVNode("div",{class:a.normalizeClass(["wysiwyg-layout flex justify-between",{"flex-wrap":t.isExpanded}])},[t.showFormatOptions?(a.openBlock(),a.createElementBlock("div",Coe,[a.createElementVNode("div",voe,[a.createElementVNode("div",koe,[a.createVNode(s,{icon:"bold",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("bold")}),onClick:e[0]||(e[0]=u=>t.editor.chain().focus().toggleBold().run())},null,8,["class"]),a.createVNode(s,{icon:"italic",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("italic")}),onClick:e[1]||(e[1]=u=>t.editor.chain().focus().toggleItalic().run())},null,8,["class"]),a.createVNode(s,{icon:"underline",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("underline")}),onClick:e[2]||(e[2]=u=>t.editor.chain().focus().toggleUnderline().run())},null,8,["class"]),a.createVNode(s,{icon:"strikethrough",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("strike")}),onClick:e[3]||(e[3]=u=>t.editor.chain().focus().toggleStrike().run())},null,8,["class"]),a.createVNode(s,{icon:"link",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("link")}),onClick:t.setLink},null,8,["class","onClick"]),t.editor.isActive("link")?(a.openBlock(),a.createBlock(s,{key:0,icon:"link",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("link")}),onClick:e[4]||(e[4]=u=>t.editor.chain().focus().unsetLink().run())},null,8,["class"])):a.createCommentVNode("",!0),a.createVNode(s,{icon:"list",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("bulletList")}),onClick:e[5]||(e[5]=u=>t.editor.chain().focus().toggleBulletList().run())},null,8,["class"]),a.createVNode(s,{icon:"numberlist",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("orderedList")}),onClick:e[6]||(e[6]=u=>t.editor.chain().focus().toggleOrderedList().run())},null,8,["class"])])])])):a.createCommentVNode("",!0),t.allowAttachments?(a.openBlock(),a.createBlock(c,{key:1,ref:"fileUploadRef",disabled:t.disabled,expands:t.expands,files:t.files,"files-allowed":t.filesAllowed,processing:t.processing,class:a.normalizeClass(["grow",t.expands&&"rounded-t-2xl md:rounded-t-lg",!t.isExpanded&&!t.mdAndLarger?"order-2 -ml-2":"order-1"]),onFileList:t.onSelectFiles},{default:a.withCtx(()=>[a.createVNode(l,{ref:"editorRef",editor:t.editor,class:"grow"},null,8,["editor"])]),_:1},8,["disabled","expands","files","files-allowed","processing","class","onFileList"])):(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(["grow w-full",t.expands?"rounded-t-2xl md:rounded-t-lg":"rounded-t-lg",!t.isExpanded&&!t.mdAndLarger?"order-2 -ml-2":"order-1"])},[a.createVNode(l,{ref:"editorRef",editor:t.editor,class:"grow"},null,8,["editor"])],2)),t.showEmojiPicker?(a.openBlock(),a.createBlock(d,{key:3,ref:"emojiPickerElement",class:"absolute top-2 left-2 z-[9999]",onSelect:t.onSelectEmoji},null,8,["onSelect"])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["menu flex items-center justify-between",!t.isExpanded&&!t.mdAndLarger?"order-1":"order-2"])},[a.createElementVNode("div",Soe,[a.createElementVNode("div",Eoe,[a.createVNode(a.TransitionGroup,{name:"fade-zoom"},{default:a.withCtx(()=>[t.allowFormatting&&t.showFormatOptions?(a.openBlock(),a.createBlock(s,{icon:"close",key:"close",size:"lg",type:"",color:"inkwell-0",class:"md:!hidden bg-gray-7 !p-2 !rounded-full",onClick:e[7]||(e[7]=u=>t.showFormatOptions=!t.showFormatOptions)})):a.createCommentVNode("",!0),t.allowEmojis&&(!t.showFormatOptions||t.mdAndLarger)?(a.openBlock(),a.createBlock(s,{icon:"face-smile",key:"face-smile",size:"lg",type:"outline",color:"inkwell-0",class:a.normalizeClass({"is-active":t.showEmojiPicker}),onClick:e[8]||(e[8]=u=>t.showEmojiPicker=!t.showEmojiPicker)},null,8,["class"])):a.createCommentVNode("",!0),t.allowAttachments&&(!t.showFormatOptions||t.mdAndLarger)?(a.openBlock(),a.createBlock(s,{icon:"paperclip",key:"paperclip",size:"lg",type:"line",class:a.normalizeClass(t.disabled&&"!cursor-not-allowed hover:!text-inkwell-0"),color:"inkwell-0",onClick:t.attachFiles},null,8,["class","onClick"])):a.createCommentVNode("",!0),t.allowFormatting&&(!t.showFormatOptions||t.mdAndLarger)?(a.openBlock(),a.createBlock(s,{icon:"text-format",key:"text-format",size:"lg",type:"outline",color:"inkwell-0",class:a.normalizeClass({"is-active":t.showFormatOptions}),onClick:e[9]||(e[9]=u=>t.showFormatOptions=!t.showFormatOptions)},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})])])],2),a.createElementVNode("div",{class:"flex items-center px-2 py-1 pr-4 order-3",onClick:e[10]||(e[10]=(...u)=>t.onClickAction&&t.onClickAction(...u))},[a.renderSlot(t.$slots,"action",{},void 0,!0)])],2)],34)):a.createCommentVNode("",!0)}const jy=Te(woe,[["render",Moe],["__scopeId","data-v-6c7a3a19"]]),Aoe={id:{type:[Number,String],default:null},attachments:{type:Array,default:[]},attachmentClickEvent:{type:Function,default:()=>{}},attachmentRemoveEvent:{type:Function,default:()=>{}},canCopyLink:{type:Boolean,default:!1},canDelete:{type:[Boolean,Number],default:!1},canEdit:{type:[Boolean,Number],default:!1},canPin:{type:Boolean,default:!1},user:{type:Object,default:null},comment:{type:String,default:""},dateUtc:{type:String,default:null},dateLocal:{type:String,default:""},created:{type:Object,default:null},edited:{type:Object,default:null},onUpdateComment:{type:Function,default:()=>{}},pinned:{type:Boolean,default:!1},processing:{type:Boolean,default:!1},showAvatar:{type:Boolean,default:!0},showRemoveButton:{type:Object,default:()=>{}}},Toe=a.defineComponent({name:"QComment",components:{QAvatar:Hb,QImageGallery:v7,QMenu:B6,QPopover:Qm,QWarningModal:RE,QWysiwyg:jy},props:Aoe,emits:["update:model-value"],setup(t){const{t:e}=Qi(),n=[{text:e("HC_CANCEL")}],r=a.ref(null),i=a.ref(!1),o=a.ref(""),s=a.ref(!1),l=a.ref(!1),c=a.ref(!1),d=a.ref(""),u=a.ref(),f=a.computed(()=>{const x=[];return t.canCopyLink&&x.push({text:e("HC_COPY_LINK"),classes:"!text-blue-20 md:!text-inkwell-0",event:y}),t.canPin&&x.push({text:e(t.pinned?"HC_UNPIN_COMMENT":"HC_PIN_COMMENT"),classes:"!text-blue-20 md:!text-inkwell-0",event:I}),t.canEdit&&x.push({text:e("HC_EDIT_COMMENT"),classes:"!text-blue-20 md:!text-inkwell-0",event:S}),t.canDelete&&x.push({text:e("HC_DELETE_COMMENT"),classes:"!text-red-20",event:k}),x}),p=a.computed(()=>t.user.firstName+" "+t.user.lastName.substring(0,1)),h=a.computed(()=>Ke.fromISO(t.dateUtc).toLocaleString(Ke.DATETIME_MED)),g=a.computed(()=>{var F,H;const x=t.user.name.split(" "),L=((F=x[0])==null?void 0:F.charAt(0))||"",z=((H=x[1])==null?void 0:H.charAt(0))||"";return(L+z).toUpperCase()}),b=()=>{i.value=!1,o.value=""},y=()=>{navigator.clipboard.writeText(`${window.location.href}#comment-${t.id}`),s.value=!1},w=x=>{r.value=x,d.value="attachment",c.value=!0,s.value=!1},C=async()=>{r.value&&await t.onUpdateComment({event:"delete-attachment",value:r.value.id}),c.value=!1},k=()=>{d.value="comment",c.value=!0,s.value=!1},v=async()=>{await t.onUpdateComment({event:"delete-comment",value:t.id}),c.value=!1},A=()=>{d.value==="comment"?v():C()},S=async()=>{var L,z;i.value=!0,o.value=t.comment,await a.nextTick(),(z=(L=u.value)==null?void 0:L.editor)==null||z.chain().focus("end").run(),s.value=!1;const x=document.getElementById(`comment-${t.id}`);x&&!en.md&&x.scrollIntoView({block:"center",behavior:"smooth"})},M=()=>{s.value=!s.value},D=x=>{x.event()},I=async()=>{s.value=!1,await t.onUpdateComment({event:"update-pin",value:!t.pinned})},N=async()=>{await t.onUpdateComment({event:"update-comment",value:o.value})};return a.watch(()=>t.processing,x=>{var L,z,U;x||(i.value=!1,o.value="",c.value=!1,u.value&&u.value.allowAttachments&&((U=(z=(L=u.value)==null?void 0:L.fileUploadRef)==null?void 0:z.fileUpload)==null||U.clear(),u.value.uploadedfiles=[]))}),{menuActions:n,activeAttachment:r,editMode:i,editText:o,showControls:s,warningAction:l,warningModal:c,warningType:d,wysiwygRef:u,allowedActions:f,displayName:p,formatDate:h,userInitials:g,onClickCancel:b,onClickCopyLink:y,onClickDeleteAttachment:w,onClickDeleteAttachmentConfirm:C,onClickDeleteComment:k,onClickDeleteCommentConfirm:v,onClickDeleteConfirm:A,onClickEditComment:S,onClickMenu:M,onClickMobileMenuLink:D,onClickSave:N,mq:en}}}),Ioe=["id"],Ooe={class:"flex items-start mb-1"},Doe={class:"grow"},Noe={class:"w-full block text-sm leading-4 font-bold"},xoe={class:"text-inkwell-0 text-xs leading-4 flex gap-1 flex-wrap"},Poe={key:0},Boe={class:"w-full py-1"},Loe=["onClick"],Roe={key:2},Voe={class:"translate"},_oe={key:1,class:"pl-[3rem]"},$oe={class:"h-8 flex items-center"},Foe={key:2};function joe(t,e,n,r,i,o){var g,b,y;const s=a.resolveComponent("q-avatar"),l=a.resolveComponent("q-icon"),c=a.resolveComponent("q-popover"),d=a.resolveComponent("q-menu"),u=a.resolveComponent("q-button"),f=a.resolveComponent("q-wysiwyg"),p=a.resolveComponent("q-image-gallery"),h=a.resolveComponent("q-warning-modal");return t.comment||t.attachments.length?(a.openBlock(),a.createElementBlock("div",{key:0,id:`comment-${t.id}`,class:a.normalizeClass(["comment-container flex flex-col mb-3 py-2",{"-mx-2 px-2 rounded-lg bg-yellow-0":t.pinned}])},[a.createElementVNode("div",Ooe,[t.showAvatar?(a.openBlock(),a.createBlock(s,{key:0,src:t.user.profileImg,text:t.userInitials,class:"mr-4"},null,8,["src","text"])):a.createCommentVNode("",!0),a.createElementVNode("div",Doe,[a.createElementVNode("div",Noe,a.toDisplayString(t.user.name),1),a.createElementVNode("div",xoe,[a.createElementVNode("span",null,a.toDisplayString(((g=t.created)==null?void 0:g.dateLocal)||t.dateLocal||t.formatDate),1),(b=t.edited)!=null&&b.dateLocal?(a.openBlock(),a.createElementBlock("span",Poe,a.toDisplayString(`(${t.$t("HC_EDITED")} ${(y=t.edited)==null?void 0:y.dateLocal})`),1)):a.createCommentVNode("",!0)])]),t.allowedActions.length&&t.mq.md?(a.openBlock(),a.createBlock(c,{key:1,modelValue:t.showControls,"onUpdate:modelValue":e[0]||(e[0]=w=>t.showControls=w),align:"right",position:"bottom",size:"sm"},{trigger:a.withCtx(()=>[a.createVNode(l,{icon:"ellipsis-h",type:"fill",class:a.normalizeClass(["shrink-0 cursor-pointer",t.showControls&&"!text-blue-20"]),color:"gray-40",onClick:t.onClickMenu},null,8,["class","onClick"])]),content:a.withCtx(()=>[a.createElementVNode("ul",Boe,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.allowedActions,(w,C)=>(a.openBlock(),a.createElementBlock("li",{key:C,class:a.normalizeClass(w.classes),onClick:k=>w.event(k)},a.toDisplayString(w.text),11,Loe))),128))])]),_:1},8,["modelValue"])):a.createCommentVNode("",!0),t.allowedActions.length&&!t.mq.md?(a.openBlock(),a.createElementBlock("div",Roe,[a.createVNode(l,{icon:"ellipsis-h",type:"fill",class:"shrink-0 cursor-pointer",color:"gray-40",onClick:t.onClickMenu},null,8,["onClick"]),a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[t.showControls?(a.openBlock(),a.createBlock(d,{key:0,modelValue:t.showControls,"onUpdate:modelValue":e[1]||(e[1]=w=>t.showControls=w),actions:t.menuActions,links:t.allowedActions,"links-background":"light-gray","onClick:link":t.onClickMobileMenuLink,"onClick:action":t.onClickMenu},null,8,["modelValue","actions","links","onClick:link","onClick:action"])):a.createCommentVNode("",!0)]),_:1})])):a.createCommentVNode("",!0)]),t.editMode?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["leading-normal text-sm",{"ml-12":t.showAvatar}])},[a.createElementVNode("p",Voe,a.toDisplayString(t.comment),1)],2)),t.editMode?(a.openBlock(),a.createElementBlock("div",_oe,[a.createVNode(f,{ref:"wysiwygRef",modelValue:t.editText,"onUpdate:modelValue":e[2]||(e[2]=w=>t.editText=w),"is-stacked":!0},{action:a.withCtx(()=>[a.createElementVNode("div",$oe,[a.createVNode(u,{disabled:t.processing,status:"link",class:"!text-gray-40 mr-4 hover:!text-inkwell-0 hover:!no-underline",onClick:t.onClickCancel},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_CANCEL")),1)]),_:1},8,["disabled","onClick"]),a.createVNode(u,{disabled:t.processing,loading:t.processing,class:"text-xs hover:!text-blue-40 hover:!no-underline",status:"link",onClick:t.onClickSave},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_SAVE")),1)]),_:1},8,["disabled","loading","onClick"])])]),_:1},8,["modelValue"])])):(a.openBlock(),a.createElementBlock("div",Foe,[t.attachments.length?(a.openBlock(),a.createBlock(p,{key:0,class:a.normalizeClass(["mt-3",{"ml-12":t.showAvatar}]),files:t.attachments,"onClick:file":t.attachmentClickEvent,"onUpdate:modelValue":t.onClickDeleteAttachment},null,8,["class","files","onClick:file","onUpdate:modelValue"])):a.createCommentVNode("",!0)])),a.createVNode(h,{id:"warning-modal",action:t.onClickDeleteConfirm,"onUpdate:action":e[3]||(e[3]=w=>t.onClickDeleteConfirm=w),toggle:t.warningModal,"onUpdate:toggle":[e[4]||(e[4]=w=>t.warningModal=w),e[5]||(e[5]=w=>t.warningModal=!1)],processing:t.processing},{desktopHeader:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_WARNING_CONFIRM_DELETE_COMMENT":"HC_ARE_YOU_SURE_DELETE_ATTACHMENT")),1)]),desktopMessage:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_CLICK_DELETE_COMMENT_NO_LONGER_SEE":"HC_CLICK_DELETE_ATTACHMENT_NO_LONGER_SEE")),1)]),mobileHeader:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_DELETE_COMMENT":"HC_ARE_YOU_SURE_DELETE_ATTACHMENT")),1)]),mobileMessage:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_WARNING_CONFIRM_DELETE_COMMENT":"HC_CLICK_DELETE_ATTACHMENT_NO_LONGER_SEE")),1)]),buttonText:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_DELETE_COMMENT":"HC_DELETE_ATTACHMENT")),1)]),_:1},8,["action","toggle","processing"])],10,Ioe)):a.createCommentVNode("",!0)}const yO=Te(Toe,[["render",joe],["__scopeId","data-v-df0de570"]]),Hoe=a.defineComponent({name:"QCommentSection",components:{QComment:yO,QWysiwyg:jy},props:{comments:{type:Array,default:()=>[]},allowAttachments:{type:Boolean,default:!1},allowEmojis:{type:Boolean,default:!1},allowFormatting:{type:Boolean,default:!1},addCommentEvent:{type:Function,default:()=>{}},disabled:{type:Boolean,default:!1},filesAllowed:{type:String,default:"image/*,.pdf"},updateCommentEvent:{type:Function,default:()=>{}},placeholder:{type:String,default:""},processing:{type:Boolean,default:!1},showRemoveButton:{type:Object,default:()=>{}}},setup(t){const{t:e}=Qi(),n=a.ref([]),r=a.ref(""),i=a.ref(t.placeholder||e("HC_ADD_A_COMMENT")),o=a.ref(),s=async()=>{await t.addCommentEvent({text:r.value,attachments:n.value})},l=async(c,d)=>{await t.updateCommentEvent({comment:c,...d})};return a.watch(()=>t.processing,c=>{var d,u;c||(n.value=[],r.value="",o.value&&o.value.allowAttachments&&((u=(d=o.value.fileUploadRef)==null?void 0:d.fileUpload)==null||u.clear(),o.value.uploadedfiles=[]))}),{files:n,placeholderText:i,textareaValue:r,wysiwygRef:o,onClickPost:s,onUpdateComment:l}}}),zoe={class:"comment-section"},Uoe={key:0,class:"comments"},Zoe={key:1,class:"no-comments text-center mb-6 mt-4"},qoe={class:"text-md mb-2 leading-6 font-bold text-inkwell-30"},Woe={class:"text-sm text-inkwell-0"};function Goe(t,e,n,r,i,o){const s=a.resolveComponent("q-comment"),l=a.resolveComponent("q-icon"),c=a.resolveComponent("q-button"),d=a.resolveComponent("q-wysiwyg");return a.openBlock(),a.createElementBlock("div",zoe,[t.comments&&t.comments.length?(a.openBlock(),a.createElementBlock("div",Uoe,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.comments,(u,f)=>(a.openBlock(),a.createBlock(s,a.mergeProps({ref_for:!0},u,{key:f,"on-update-comment":p=>t.onUpdateComment(u,p)}),null,16,["on-update-comment"]))),128))])):(a.openBlock(),a.createElementBlock("div",Zoe,[a.createElementVNode("h4",qoe,a.toDisplayString(t.$t("HC_NO_COMMENTS_YET")),1),a.createElementVNode("p",Woe,a.toDisplayString(t.$t("HC_START_THE_CONVERSATION")),1)])),a.renderSlot(t.$slots,"default",{},()=>[a.createVNode(d,{ref:"wysiwygRef",modelValue:t.textareaValue,"onUpdate:modelValue":[e[0]||(e[0]=u=>t.textareaValue=u),e[2]||(e[2]=u=>t.textareaValue=u)],attachments:t.files,disabled:t.disabled,"is-stacked":!0,"allow-attachments":t.allowAttachments,"allow-emojis":t.allowEmojis,"allow-formatting":t.allowFormatting,"files-allowed":t.filesAllowed,placeholder:t.placeholderText,processing:t.processing,"onUpdate:attachments":e[1]||(e[1]=u=>t.files=u)},{action:a.withCtx(()=>[a.createVNode(c,{loading:t.processing,disabled:t.processing||!t.files.length&&!t.textareaValue||t.disabled,"is-fab":"",size:"sm",status:"primary-blue",class:"post-button",onClick:t.onClickPost},{default:a.withCtx(()=>[a.createVNode(l,{icon:"arrow-up",type:"line",size:"md",color:"white","custom-class":"!stroke-white",class:"p-[0.1875rem]"})]),_:1},8,["loading","disabled","onClick"])]),_:1},8,["modelValue","attachments","disabled","allow-attachments","allow-emojis","allow-formatting","files-allowed","placeholder","processing"])],!0)])}const bO=Te(Hoe,[["render",Goe],["__scopeId","data-v-70f939a4"]]),Koe=a.defineComponent({name:"QCounter",props:{modelValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,default:100},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:e}){return{updateCount:r=>{let o=t.modelValue+r;return o>t.max?o=t.max:o<t.min&&(o=t.min),e("update:modelValue",o),o}}}}),Yoe={class:"counter flex items-center"},Qoe={class:"grow text-center"};function Xoe(t,e,n,r,i,o){const s=a.resolveComponent("q-icon");return a.openBlock(),a.createElementBlock("div",Yoe,[a.createVNode(s,a.mergeProps({icon:"minus-circle",type:"outline",size:"sm",color:"inkwell-30",class:"cursor-pointer mr-1"},{[a.toHandlerKey(!t.disabled&&"click")]:e[0]||(e[0]=l=>t.updateCount(-1))}),null,16),a.createElementVNode("span",Qoe,a.toDisplayString(t.modelValue),1),a.createVNode(s,a.mergeProps({icon:"circle-plus",type:"outline",size:"sm",color:"inkwell-30",class:"cursor-pointer ml-1"},{[a.toHandlerKey(!t.disabled&&"click")]:e[1]||(e[1]=l=>t.updateCount(1))}),null,16)])}const Joe=Te(Koe,[["render",Xoe]]),wO="eye",CO="eye-slash",ese=a.defineComponent({name:"QInput",inheritAttrs:!1,props:{modelValue:{type:[Number,Object,String],default:""},type:{type:String,default:"text",validator:t=>["email","number","password","phone","search","text"].includes(t)},placeholder:{type:String,default:""},maxlength:{type:Number,default:null},size:{type:String,default:"md"},status:{type:String,default:""},controlClass:{type:String,default:""},inputClass:{type:String,default:""},disabled:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},expands:{type:Boolean,default:!1},hideClear:{type:Boolean,default:!1},iconPosition:{type:String,default:"right"}},emits:["update:model-value","update-type"],setup(t,{emit:e}){const n=a.useSlots(),r=a.ref(null),i=a.ref(!1),o=a.ref(t.type==="password"?wO:""),s=a.ref(!t.expands),l=a.computed(()=>!!t.disabled),c=a.computed(()=>{const y=o.value;return!!t.modelValue&&!l.value&&(f.value&&t.iconPosition==="left"||!y)}),d=a.computed(()=>["control flex items-center",{focused:!!i.value},{disabled:l.value},{[t.status]:t.status&&!l.value},{[`has-icon-${t.iconPosition}`]:!!t.iconPosition},t.controlClass,{["size-"+t.size]:t.size},{collapsed:!s.value}]),u=a.computed(()=>["input",{[t.status]:t.status&&!l.value},{[t.inputClass]:!!t.inputClass},{populated:!!t.modelValue}]),f=a.computed(()=>!!(n!=null&&n.default)),p=()=>{var C;const y=t.type==="password",w=t.type==="text"&&o.value===CO;(y||w)&&g(),t.expands&&r.value&&!s.value&&(s.value=!s.value,i.value=s.value,(C=r.value.querySelector("input"))==null||C.focus())},h=()=>{i.value=!i.value,!t.modelValue&&t.expands&&(s.value=!1)},g=()=>{const y=t.type==="text"?"password":"text";o.value=y==="text"?CO:wO,e("update-type",y)};return{currentInput:r,focused:i,icon:o,isExpanded:s,rootClasses:d,inputClasses:u,isDisabled:l,showClearIcon:c,isSlotAvailable:f,onClickIcon:p,onFocusOut:h,togglePasswordVisibility:g,updateValue:y=>{e("update:model-value",y.target.value)},mq:en}}}),tse=["id","type","disabled","autocomplete","maxlength","value","placeholder"];function nse(t,e,n,r,i,o){const s=a.resolveComponent("q-icon");return a.openBlock(),a.createElementBlock("div",{ref:"currentInput",class:a.normalizeClass(t.rootClasses)},[a.createElementVNode("input",a.mergeProps({id:String(t.$attrs.id),ref:String(t.$attrs.id),type:t.type,disabled:t.isDisabled,class:t.inputClasses,autocomplete:t.autocomplete,maxlength:t.maxlength,value:t.modelValue,placeholder:t.placeholder},t.$attrs,{onInput:e[0]||(e[0]=l=>t.updateValue(l)),onFocusin:e[1]||(e[1]=l=>t.focused=!t.focused),onFocusout:e[2]||(e[2]=(...l)=>t.onFocusOut&&t.onFocusOut(...l)),onBlur:e[3]||(e[3]=l=>t.focused=!0)}),null,16,tse),t.isSlotAvailable||t.icon?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["icon-container flex",{"order-first pr-2":t.iconPosition==="left"}])},[a.renderSlot(t.$slots,"default",a.normalizeProps(a.guardReactiveProps({icon:t.icon,onClickIcon:t.onClickIcon})),()=>[a.createVNode(s,{icon:t.icon,size:"md",class:"cursor-pointer",onClick:t.onClickIcon},null,8,["icon","onClick"])],!0)],2)):a.createCommentVNode("",!0),t.showClearIcon&&!t.hideClear?(a.openBlock(),a.createElementBlock("div",{key:1,class:"close cursor-pointer flex order-3",onClick:e[4]||(e[4]=l=>t.$emit("update:model-value","")),onMousedown:e[5]||(e[5]=a.withModifiers(()=>{},["prevent"]))},[t.mq.md?(a.openBlock(),a.createBlock(s,{key:0,icon:"close",size:"sm",type:"line"})):(a.openBlock(),a.createBlock(s,{key:1,icon:"delete-circle",color:"inkwell-0",size:"md",type:"fill"}))],32)):a.createCommentVNode("",!0)],2)}const vO=Te(ese,[["render",nse],["__scopeId","data-v-f19bb4f5"]]),Uc=(t,e,n,r,i,o=[],s=!0)=>{const l=n;if(e||l&&l.length){let c=s;t=t.filter(d=>{if(l&&l.length){const u=[];l.forEach(p=>{let h=p.selected;if(!h||!h.length){u.push(s);return}const g=p.key,b=p.attribute||"id";Array.isArray(h)||(h=[h]);let y=!1;h.forEach(w=>{const C=w&&w.key?w.key:g;if(w&&C){const v=C.split(/\./),A=v[0],S=v[1]||null,M=w[b],D=d[A];!S&&(typeof M!="boolean"&&Array.isArray(D)&&!D.find(I=>I[b]===M)||typeof M!="boolean"&&!Array.isArray(D)&&D!==M||typeof M=="boolean"&&typeof D!="boolean"&&!!D!==M||typeof M=="boolean"&&typeof D=="boolean"&&D!==M)||S&&(typeof M=="object"&&Array.isArray(D[S])&&!D[S].find(I=>I[b]===M)||typeof M!="boolean"&&!Array.isArray(D[S])&&D[S]!==M||typeof M=="boolean"&&typeof D[S]!="boolean"&&!!D[S]!==M||typeof M=="boolean"&&typeof D[S]=="boolean"&&D[S]!==M)||(y=!0)}}),u.push(y)});const f=u.filter(p=>!!p).length;if(u.length===0||f!==u.length)return!1}if(e){if(typeof d=="string")return String(d).toLocaleLowerCase().includes(e.toLocaleLowerCase());c=Object.keys(d).some(u=>o.includes(u)?!1:typeof d[u]=="object"&&d[u]?Object.keys(d[u]).some(f=>o.includes(f)?!1:String(d[u][f]).toLocaleLowerCase().includes(e.toLocaleLowerCase())):String(d[u]).toLocaleLowerCase().includes(e.toLocaleLowerCase()))}return c})}return r&&(t=t.sort((c,d)=>{if(c===null||c==="")return 1;if(d===null||d==="")return-1;if(r.includes(".")){const u=r.split(".")[0],f=r.split(".")[1];if(c[u]===null||c[u]==="")return 1;if(d[u]===null||d[u]==="")return-1;c=c[u][f],d=d[u][f]}else c=c[r],d=d[r];return typeof c=="string"&&typeof d=="string"&&(c=c.toLowerCase(),d=d.toLowerCase()),typeof c!="string"&&typeof d!="string"&&(c=parseInt(c),d=parseInt(d)),typeof c=="number"&&typeof d=="string"?-1*i:typeof d=="number"&&typeof c=="string"?1*i:(c===d?0:c>d?1:-1)*i})),t},rse=a.defineComponent({name:"QDataFilter",components:{QBadge:ds,QBottomSheet:x4,QIcon:va,QInput:vO,QTooltip:d0,QPopover:Qm},props:{data:{type:Array,default:()=>[]},id:{type:String,default:""},excludedFields:{type:Array,default:()=>[]},filters:{type:Array,default:()=>[]},hasSearch:{type:Boolean,default:!0},orderBy:{type:String,default:"asc"},search:{type:String,default:""},searchDelay:{type:Number,default:300},searchPlaceholder:{type:String,default:""},showResultsCount:{type:Boolean,default:!1},sortBy:{type:String,default:"name"},noneEqualsAll:{type:Boolean,default:!0},filtersActive:{type:Boolean,default:!1}},emits:["update:data","update:search","click:filters","popover:close","bottom-sheet:close"],setup(t,{emit:e}){const n=s4(f=>{e("update:search",f)},t.searchDelay),r=u0(),i=a.ref(0),o=a.ref(!1),s=a.ref(!1),l=a.computed(()=>{let f=0;return t.filters.forEach(p=>{(typeof p.selected=="string"&&p.selected||typeof p.selected!="string"&&p.selected.length)&&f++}),f}),c=()=>{s.value=!1,e("bottom-sheet:close")},d=()=>{o.value=!1,e("popover:close")},u=f=>{f(),e("click:filters")};return a.watch(t,()=>{const f=Uc(t.data,t.search,t.filters,t.sortBy,t.orderBy==="desc"?-1:1,t.excludedFields,t.noneEqualsAll);i.value=f.length,e("update:data",f)},{deep:!0}),a.watch(o,(f,p)=>{p===!0&&f===!1&&e("popover:close")}),a.watch(s,(f,p)=>{p===!0&&f===!1&&e("bottom-sheet:close")}),{debouncedSearch:n,filteredCount:i,showFilterBottomSheet:s,showFilterPopover:o,closeBottomSheet:c,closePopover:d,onFilterClick:u,filtersCount:l,deviceType:r,filterData:Uc,mq:en}}}),ise=["id"],ose={class:"search grow"},sse={class:"search-label flex items-center",for:"search"},ase={class:"results-count mx-1 shrink-0 text-xs text-gray-40 capitalize"},lse={key:1,class:"filters shrink-0 h-6"},cse={class:"flex relative"},dse={class:"!text-blue-20 text-tiny font-bold"},use={key:1},fse={class:"flex relative"},hse={class:"!text-blue-20 text-tiny font-bold"},pse={class:"flex relative"},mse={class:"!text-blue-20 text-tiny font-bold"},gse={key:2,class:"actions shrink-0 flex items-center h-6"};function yse(t,e,n,r,i,o){var p;const s=a.resolveComponent("q-icon"),l=a.resolveComponent("q-input"),c=a.resolveComponent("q-badge"),d=a.resolveComponent("q-tooltip"),u=a.resolveComponent("q-popover"),f=a.resolveComponent("q-bottom-sheet");return a.openBlock(),a.createElementBlock("div",{id:t.id,class:"data-filter flex items-center p-4 bg-white"},[a.createElementVNode("div",ose,[t.hasSearch?a.renderSlot(t.$slots,"search",{key:0},()=>[a.createElementVNode("label",sse,[a.createVNode(s,{class:"mr-2 shrink-0",color:"gray-40",icon:"search",size:"md",type:""}),a.createVNode(l,{id:"search","model-value":t.search,"hide-clear":t.mq.md,placeholder:t.searchPlaceholder||t.$t("HC_SEARCH"),class:"text-base grow","control-class":"!border-0 !px-0",size:"xxs","onUpdate:modelValue":t.debouncedSearch},null,8,["model-value","hide-clear","placeholder","onUpdate:modelValue"])])],!0):a.createCommentVNode("",!0)]),t.showResultsCount?a.renderSlot(t.$slots,"resultsCount",{key:0},()=>[a.createElementVNode("div",ase,a.toDisplayString(t.filteredCount===1?"1 "+t.$t("HC_RESULT"):t.$t("HC_X_RESULTS",{count:t.filteredCount})),1)],!0):a.createCommentVNode("",!0),a.renderSlot(t.$slots,"beforeFilters",{},void 0,!0),(p=t.filters)!=null&&p.length?(a.openBlock(),a.createElementBlock("div",lse,[a.renderSlot(t.$slots,"filters",a.normalizeProps(a.guardReactiveProps({filtersCount:t.filtersCount})),()=>[t.$slots.filterContent&&t.mq.md?(a.openBlock(),a.createBlock(u,{key:0,modelValue:t.showFilterPopover,"onUpdate:modelValue":e[0]||(e[0]=h=>t.showFilterPopover=h),position:"bottom",align:"right",trigger:"click",size:"lg"},{trigger:a.withCtx(({onClick:h})=>[a.createVNode(d,{class:"z-[45] ml-2"},{trigger:a.withCtx(()=>[a.createElementVNode("div",cse,[a.createVNode(s,{class:"filters-icon ml-0 cursor-pointer",color:t.showFilterPopover?"blue-20":"gray-40",icon:"filter",size:"md",onClick:g=>t.onFilterClick(h)},null,8,["color","onClick"]),t.filtersCount?(a.openBlock(),a.createBlock(c,{key:0,class:a.normalizeClass(["filters-count absolute !h-4 !w-4","-top-[0.3125rem] -right-[0.375rem]"]),color:"white"},{text:a.withCtx(()=>[a.createElementVNode("span",dse,a.toDisplayString(t.filtersCount),1)]),_:1})):a.createCommentVNode("",!0)])]),content:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_FILTERS")),1)]),_:2},1024)]),content:a.withCtx(()=>[a.renderSlot(t.$slots,"filterContent",a.normalizeProps(a.guardReactiveProps({closePopover:t.closePopover})),void 0,!0)]),_:3},8,["modelValue"])):t.$slots.filterSheetContent&&!t.mq.md?(a.openBlock(),a.createElementBlock("div",use,[a.createElementVNode("div",fse,[a.createVNode(s,{class:"filters-icon ml-0 cursor-pointer",color:t.showFilterBottomSheet?"blue-20":"gray-40",icon:"filter",size:"md",onClick:e[1]||(e[1]=h=>t.showFilterBottomSheet=!0)},null,8,["color"]),t.filtersCount?(a.openBlock(),a.createBlock(c,{key:0,class:a.normalizeClass(["filters-count absolute !h-4 !w-4","-top-[0.3125rem] -right-[0.375rem]"]),color:"white"},{text:a.withCtx(()=>[a.createElementVNode("span",hse,a.toDisplayString(t.filtersCount),1)]),_:1})):a.createCommentVNode("",!0)]),a.createVNode(a.Transition,{name:"slide-up-fade",appear:""},{default:a.withCtx(()=>[t.showFilterBottomSheet?(a.openBlock(),a.createBlock(f,{key:0,modelValue:t.showFilterBottomSheet,"onUpdate:modelValue":e[2]||(e[2]=h=>t.showFilterBottomSheet=h),"background-color":"gray-00"},{backAction:a.withCtx(()=>[a.renderSlot(t.$slots,"filterSheetBackAction",a.normalizeProps(a.guardReactiveProps({closeBottomSheet:t.closeBottomSheet})),void 0,!0)]),header:a.withCtx(()=>[a.renderSlot(t.$slots,"filterSheetHeader",{},void 0,!0)]),headerAction:a.withCtx(()=>[a.renderSlot(t.$slots,"filterSheetHeaderAction",a.normalizeProps(a.guardReactiveProps({closeBottomSheet:t.closeBottomSheet})),void 0,!0)]),default:a.withCtx(()=>[a.renderSlot(t.$slots,"filterSheetContent",a.normalizeProps(a.guardReactiveProps({closeBottomSheet:t.closeBottomSheet})),void 0,!0)]),_:3},8,["modelValue"])):a.createCommentVNode("",!0)]),_:3})])):(a.openBlock(),a.createBlock(d,{key:2,class:"z-[45] ml-2"},{trigger:a.withCtx(()=>[a.createElementVNode("div",pse,[a.createVNode(s,{class:"filters-icon ml-0 cursor-pointer",color:t.filtersActive?"blue-20":"gray-40",icon:"filter",size:"md",onClick:e[3]||(e[3]=h=>t.$emit("click:filters"))},null,8,["color"]),t.filtersCount?(a.openBlock(),a.createBlock(c,{key:0,class:a.normalizeClass(["filters-count absolute !h-4 !w-4","-top-[0.3125rem] -right-[0.375rem]"]),color:"white"},{text:a.withCtx(()=>[a.createElementVNode("span",mse,a.toDisplayString(t.filtersCount),1)]),_:1})):a.createCommentVNode("",!0)])]),content:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_FILTERS")),1)]),_:1}))],!0)])):a.createCommentVNode("",!0),t.$slots.actions?(a.openBlock(),a.createElementBlock("div",gse,[a.renderSlot(t.$slots,"actions",{},void 0,!0)])):a.createCommentVNode("",!0)],8,ise)}const kO=Te(rse,[["render",yse],["__scopeId","data-v-786847ac"]]),bse=a.defineComponent({name:"QDataList",components:{QBadge:ds,QDataFilter:kO},props:{id:{type:String,default:"data-list"},modelValue:{type:Array,default:()=>[]},hideSearch:{type:Boolean,default:!1},hasSearch:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!1},itemsPerPage:{type:Number,default:50},loading:{type:Boolean,default:!1},noResultMessage:{type:String,default:""},skeletonRows:{type:Number,default:6},type:{type:String,default:"row"}},emits:["filters-action","page-updated","click:list-item"],setup(t,{emit:e}){const{deviceType:n}=u0(),{y:r}=a4(),{y:i}=Rp(window,{behavior:"smooth"}),o=a.ref(0),s=a.ref("down"),l=a.ref(null),c=a.ref(0),d=a.ref(!1),u=a.ref(!0),f=a.ref(en.md?!1:t.hideSearch),p=a.ref(!f.value),h={type:"keyframe",ease:"linear",duration:0,delay:0},g=a.ref(null),b=a.ref(1),y=a.ref(null),w=a.ref(window.innerHeight),{motionProperties:C}=qp(g),{push:k}=Zp(),v=a.computed(()=>n.value==="desktop"),A=a.computed(()=>b.value*t.itemsPerPage-1),S=a.computed(()=>r.value<=0?70:r.value>70?0:70-r.value),M=a.computed(()=>{var F;return Math.ceil(((F=t.modelValue)==null?void 0:F.length)/t.itemsPerPage)||1}),D=F=>{!F.dragging&&r.value<=24&&r.value>=0&&(i.value=0),!F.dragging&&r.value>24&&r.value<70&&(i.value=70),!(r.value>0)&&(d.value?N(F):I(F))};f.value&&Q5(D,{domTarget:g,filterTaps:!0,useTouch:!0,delay:100});const I=F=>{F.tap||F.axis==="x"||(d.value=!0)},N=F=>{if(F.tap||F.axis==="x")return;const H=F.direction[1],_=H>=0,G=H<=0&&r.value<=0;!p.value&&(_||G)&&L(!G,"drag"),d.value=!1},x=async()=>{const F=r.value+w.value,H=l.value.offsetTop+l.value.offsetHeight;F>H-400&&b.value<M.value&&(b.value++,e("page-updated"))},L=async(F,H)=>{if(p.value=F,await a.nextTick(),u.value&&s.value==="up"&&r.value<=0||H==="drag"){const _=S.value?S.value:0;k("y",_,C,h),u.value=!1}},z=()=>{const F=Math.max(0,r.value)>o.value?"down":"up";F!==s.value&&(s.value=F),r.value<70&&L(!0,"scroll"),o.value=Math.max(0,r.value),x()},U=async()=>{w.value=window.innerHeight,await a.nextTick()};return a.onMounted(()=>{f.value?(c.value=g.value.offsetTop-16,window.addEventListener("scroll",z)):window.addEventListener("scroll",x),window.addEventListener("resize",U)}),a.onUnmounted(()=>{f.value?window.removeEventListener("scroll",z):window.removeEventListener("scroll",x),window.removeEventListener("resize",U)}),{dataListRef:l,defaultSearchTop:c,isDragging:d,isSearchVisible:p,hiddenSearch:f,listRef:g,page:b,prevScrollY:o,scrollY:r,scrollToY:i,searchRef:y,windowHeight:w,direction:s,isDesktop:v,lastOnPage:A,searchHeight:S,totalPages:M,onScroll:z,scrollWatcher:x,toggleSearch:L,deviceType:n,mq:en}}}),wse=["id"],Cse=["id"],vse=["id"],kse=["id"],Sse=["id"],Ese=["id"],Mse=["id"],Ase=["id","onClick"],Tse={key:1,class:"list ordered-list"},Ise=["id","onClick"],Ose=["id"],Dse={key:1,class:"list-wrapper"},Nse=["id"],xse=["id"];function Pse(t,e,n,r,i,o){return a.openBlock(),a.createElementBlock("div",{id:t.id,class:a.normalizeClass(["q-data-list",{"has-data-filter":!!t.$slots.dataFilter,"has-no-results":!t.modelValue.length,"is-device":!t.isDesktop,"is-fixed":t.isFixed,"is-loading":t.loading}]),ref:"dataListRef"},[t.hasSearch?a.renderSlot(t.$slots,"search-and-filters",{key:0},()=>[a.createElementVNode("div",{ref:"searchRef",id:`${t.id?t.id+"-":""}search-and-filters`,class:a.normalizeClass(["data-filter-wrapper search-and-filters",{"fixed right-0 left-0 top-0 pt-4 pl-4 pr-4 z-10 bg-white overflow-hidden":t.hiddenSearch},{"is-shown border-b border-gray-20":t.hiddenSearch&&t.isSearchVisible},{"!hidden h-px":t.hiddenSearch&&t.searchHeight<=16}]),style:a.normalizeStyle([t.hiddenSearch&&t.searchHeight>=0?`height: ${t.searchHeight}px;`:"",`top: ${t.defaultSearchTop}px;`])},[t.$slots.dataFilter?(a.openBlock(),a.createElementBlock("div",{key:0,id:`${t.id?t.id+"-":""}data-filter-container`,class:"data-filter-container mb-4"},[a.renderSlot(t.$slots,"dataFilter",{},void 0,!0)],8,vse)):(a.openBlock(),a.createElementBlock("div",{key:1,id:`${t.id?t.id+"-":""}data-filter-loading`,class:"data-filter-container loading-state"},e[0]||(e[0]=[a.createElementVNode("div",{class:"loading-search animate-shimmer bg-gray-10"},null,-1),a.createElementVNode("div",{class:"loading-filters animate-shimmer bg-gray-30"},null,-1)]),8,kse)),a.renderSlot(t.$slots,"search-separator",{},()=>[a.createElementVNode("hr",{class:a.normalizeClass(["search-separator",{"!mb-0 hidden":t.hiddenSearch}])},null,2)],!0)],14,Cse)],!0):a.createCommentVNode("",!0),a.createElementVNode("div",{ref:"listRef",id:`${t.id?t.id+"-":""}outer-wrapper`,class:"outer-list-wrapper select-none"},[t.loading?(a.openBlock(),a.createElementBlock("div",Dse,[a.createElementVNode("ul",{id:`${t.id?t.id+"-":""}loading-list`,class:"list loading-list"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.skeletonRows,s=>(a.openBlock(),a.createElementBlock("li",{key:s,id:`${t.id?t.id+"-":""}loading-list-li-${s}`,class:"list-item"},e[1]||(e[1]=[a.createElementVNode("div",{class:"animate-shimmer bg-gray-30 loading-top mb-3"},null,-1),a.createElementVNode("div",{class:"animate-shimmer bg-gray-10 loading-bottom"},null,-1)]),8,xse))),128))],8,Nse)])):(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.modelValue.length?(a.openBlock(),a.createElementBlock("div",{key:0,id:`${t.id?t.id+"-":""}wrapper`,class:"list-wrapper"},[t.type!=="ordered"?(a.openBlock(),a.createElementBlock("ul",{key:0,id:`${t.id?t.id+"-":""}ul`,class:a.normalizeClass(["list",`${t.type}-list`])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.totalPages,s=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:s},[s<=t.page?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(t.modelValue.slice((s-1)*t.itemsPerPage,(s-1)*t.itemsPerPage+t.itemsPerPage),(l,c)=>(a.openBlock(),a.createElementBlock("li",{id:`${t.id?t.id+"-":""}li-${(s-1)*t.itemsPerPage+c}`,key:c,class:"list-item",onClick:d=>t.$emit("click:list-item",l)},[a.renderSlot(t.$slots,"listItem",a.mergeProps({ref_for:!0},{data:l}),()=>[a.createTextVNode(a.toDisplayString(l),1)],!0)],8,Ase))),128)):a.createCommentVNode("",!0)],64))),128))],10,Mse)):(a.openBlock(),a.createElementBlock("ol",Tse,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.totalPages,s=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:s},[s<=t.page?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(t.modelValue.slice((s-1)*t.itemsPerPage,(s-1)*t.itemsPerPage+t.itemsPerPage),(l,c)=>(a.openBlock(),a.createElementBlock("li",{id:`${t.id?t.id+"-":""}li-${(s-1)*t.itemsPerPage+c}`,key:c,class:"list-item",onClick:d=>t.$emit("click:list-item",l)},[a.renderSlot(t.$slots,"listItem",a.mergeProps({ref_for:!0},{data:l}),()=>[a.createTextVNode(a.toDisplayString(l),1)],!0)],8,Ise))),128)):a.createCommentVNode("",!0)],64))),128))]))],8,Ese)):(a.openBlock(),a.createElementBlock("div",{key:1,id:`${t.id?t.id+"-":""}no-results`,class:"no-results"},[a.renderSlot(t.$slots,"no-results",{},()=>[a.createElementVNode("p",null,a.toDisplayString(t.noResultMessage||t.$t("HC_NO_RESULTS_FOUND")),1)],!0)],8,Ose))],64))],8,Sse)],10,wse)}const Bse=Te(bse,[["render",Pse],["__scopeId","data-v-aedd5d55"]]),Lse=a.defineComponent({name:"QTableCell",props:{id:{type:String,default:""},align:{type:String,default:"left"},isColumnHeader:{type:Boolean,default:!1},sortable:{Boolean,default:!1}},setup(){return{}}}),Rse=["id","align"],Vse=["id","align"];function _se(t,e,n,r,i,o){return t.isColumnHeader?(a.openBlock(),a.createElementBlock("th",{key:0,id:t.id?`${t.id.toString().toLowerCase()}-th`:"",align:t.align,class:a.normalizeClass({"cursor-pointer":t.sortable})},[a.renderSlot(t.$slots,"default",{},void 0,!0)],10,Rse)):(a.openBlock(),a.createElementBlock("td",{key:1,id:t.id?`${t.id.toString().toLowerCase()}-td`:"",align:t.align},[a.renderSlot(t.$slots,"default",{},void 0,!0)],8,Vse))}const Hy=Te(Lse,[["render",_se],["__scopeId","data-v-b1f22bf6"]]),$se=a.defineComponent({name:"QTableHead",components:{QTableCell:Hy},props:{id:{type:String,default:""},columns:{type:Array,default:()=>[]},rowCount:{type:Number,default:0},scrollable:{type:Boolean,default:!1},scrollableContainerX:{type:Number,default:0},scrollMax:{type:Number,default:0},thClasses:{type:String,default:""}},setup(){return{}}}),Fse=["id"],jse=["id"];function Hse(t,e,n,r,i,o){const s=a.resolveComponent("q-table-cell");return a.openBlock(),a.createElementBlock("thead",{id:`${t.id?t.id+"-":""}thead`},[a.createElementVNode("tr",{id:`${t.id?t.id+"-":""}thead-tr`,class:"bg-gray-7"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.columns,(l,c)=>(a.openBlock(),a.createBlock(s,{id:l.key?(t.id?t.id+"-":"")+l.key:l?(t.id?t.id+"-":"")+l:(t.id?t.id+"-":"")+c,"is-column-header":!0,key:c,class:a.normalizeClass([l.key,t.thClasses,`cell-${l.size||"md"}`,{"cursor-default":!l.sortable,"sticky left-0 bg-gray-7 z-20":l.frozen,"text-right":l.key==="actions","left-auto right-0":l.key==="actions"&&l.frozen,"shadow-right":l.frozen&&t.rowCount&&c===0&&t.scrollable&&t.scrollableContainerX>0,"shadow-left":l.frozen&&t.rowCount&&c===t.columns.length-1&&t.scrollable&&t.scrollableContainerX<t.scrollMax}]),sortable:l.sortable,onClick:d=>l.sortable&&t.$emit("click:th",l)},{default:a.withCtx(()=>[a.renderSlot(t.$slots,`head(${l.key||l})`,{},()=>[a.createTextVNode(a.toDisplayString(typeof l=="string"?l:l.name),1)],!0)]),_:2},1032,["id","class","sortable","onClick"]))),128))],8,jse)],8,Fse)}const SO=Te($se,[["render",Hse],["__scopeId","data-v-94510a06"]]),EO="data:image/svg+xml,%3csvg%20width='118'%20height='99'%20viewBox='0%200%20118%2099'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M104.165%2059.815C107.107%2062.7762%20108.893%2066.692%20109.201%2070.8549C109.508%2075.0179%20108.317%2079.1536%20105.842%2082.515L105.642%2082.782L105.412%2083.082L117.521%2095.245C117.828%2095.5546%20118%2095.973%20118%2096.409C118%2096.845%20117.828%2097.2634%20117.521%2097.573C117.232%2097.8651%20116.844%2098.0376%20116.434%2098.0561C116.023%2098.0746%20115.621%2097.9378%20115.307%2097.673L115.207%2097.573L103.122%2085.438L102.822%2085.682C99.4939%2088.3942%2095.2763%2089.772%2090.9889%2089.5476C86.7016%2089.3233%2082.6508%2087.5127%2079.624%2084.468C76.3686%2081.1921%2074.5414%2076.7614%2074.5414%2072.143C74.5414%2067.5247%2076.3686%2063.0939%2079.624%2059.818C81.2316%2058.2001%2083.1433%2056.916%2085.2491%2056.0397C87.3548%2055.1634%2089.6131%2054.7121%2091.8939%2054.7118C94.1747%2054.7115%2096.4331%2055.1622%2098.539%2056.0381C100.645%2056.9139%20102.557%2058.1975%20104.165%2059.815ZM81.935%2062.131C79.2951%2064.7964%2077.8142%2068.3961%2077.8142%2072.1475C77.8142%2075.8989%2079.2951%2079.4986%2081.935%2082.164C83.2368%2083.4792%2084.7865%2084.5233%2086.4944%2085.2358C88.2022%2085.9484%2090.0344%2086.3153%2091.885%2086.3153C93.7355%2086.3153%2095.5678%2085.9484%2097.2756%2085.2358C98.9835%2084.5233%20100.533%2083.4792%20101.835%2082.164C104.475%2079.4986%20105.956%2075.8989%20105.956%2072.1475C105.956%2068.3961%20104.475%2064.7964%20101.835%2062.131C100.533%2060.8158%2098.9835%2059.7717%2097.2756%2059.0592C95.5678%2058.3466%2093.7355%2057.9797%2091.885%2057.9797C90.0344%2057.9797%2088.2022%2058.3466%2086.4944%2059.0592C84.7865%2059.7717%2083.2368%2060.8158%2081.935%2062.131ZM31.4%2075.042V76.442C31.4001%2076.5544%2031.4224%2076.6656%2031.4656%2076.7694C31.5087%2076.8731%2031.5719%2076.9673%2031.6515%2077.0466C31.7311%2077.126%2031.8255%2077.1888%2031.9294%2077.2316C32.0333%2077.2744%2032.1446%2077.2963%2032.257%2077.296H72.357C72.5818%2078.1673%2072.8638%2079.0228%2073.201%2079.857H32.258C31.3506%2079.8589%2030.4796%2079.5003%2029.8366%2078.86C29.1935%2078.2198%2028.8311%2077.3504%2028.829%2076.443V75.043L31.4%2075.042ZM86.162%2022C87.0694%2021.9981%2087.9404%2022.3568%2088.5834%2022.997C89.2265%2023.6372%2089.5889%2024.5066%2089.591%2025.414V51.808C88.7243%2051.9101%2087.8652%2052.0684%2087.019%2052.282V25.414C87.0189%2025.3016%2086.9966%2025.1904%2086.9534%2025.0867C86.9103%2024.9829%2086.8471%2024.8887%2086.7675%2024.8094C86.6879%2024.7301%2086.5935%2024.6672%2086.4896%2024.6244C86.3857%2024.5816%2086.2744%2024.5597%2086.162%2024.56H25.429C25.3166%2024.5597%2025.2053%2024.5816%2025.1014%2024.6244C24.9975%2024.6672%2024.9031%2024.7301%2024.8235%2024.8094C24.7439%2024.8887%2024.6807%2024.9829%2024.6376%2025.0867C24.5944%2025.1904%2024.5721%2025.3016%2024.572%2025.414V69.587C24.5721%2069.6994%2024.5944%2069.8106%2024.6376%2069.9144C24.6807%2070.0181%2024.7439%2070.1123%2024.8235%2070.1916C24.9031%2070.271%2024.9975%2070.3338%2025.1014%2070.3766C25.2053%2070.4194%2025.3166%2070.4413%2025.429%2070.441H71.766C71.697%2071.2932%2071.6806%2072.1488%2071.717%2073.003H25.429C24.5216%2073.0049%2023.6506%2072.6463%2023.0076%2072.006C22.3645%2071.3658%2022.0021%2070.4964%2022%2069.589V25.414C22.0021%2024.5066%2022.3645%2023.6372%2023.0076%2022.997C23.6506%2022.3568%2024.5216%2021.9981%2025.429%2022H86.162ZM77.701%2054.948C77.8695%2054.9484%2078.0362%2054.982%2078.1918%2055.0468C78.3473%2055.1117%2078.4885%2055.2065%2078.6073%2055.3259C78.7262%2055.4453%2078.8204%2055.587%2078.8845%2055.7428C78.9486%2055.8986%2078.9814%2056.0655%2078.981%2056.234C78.9811%2056.2983%2078.9764%2056.3624%2078.967%2056.426C78.557%2056.7693%2078.159%2057.1327%2077.773%2057.516H77.701H34.374C34.0329%2057.516%2033.7058%2057.3805%2033.4647%2057.1393C33.2235%2056.8982%2033.088%2056.5711%2033.088%2056.23C33.088%2055.8889%2033.2235%2055.5618%2033.4647%2055.3207C33.7058%2055.0795%2034.0329%2054.944%2034.374%2054.944L77.701%2054.948ZM92.991%2028.859C93.8984%2028.8571%2094.7694%2029.2158%2095.4124%2029.856C96.0555%2030.4962%2096.4179%2031.3656%2096.42%2032.273V52.168C95.5725%2051.9753%2094.7133%2051.8377%2093.848%2051.756V32.273C93.8479%2032.1606%2093.8256%2032.0494%2093.7824%2031.9457C93.7393%2031.8419%2093.6761%2031.7477%2093.5965%2031.6684C93.5169%2031.5891%2093.4225%2031.5262%2093.3186%2031.4834C93.2147%2031.4406%2093.1034%2031.4187%2092.991%2031.419H91.291V28.858L92.991%2028.859ZM77.701%2046.375C78.0421%2046.375%2078.3692%2046.5105%2078.6103%2046.7517C78.8515%2046.9928%2078.987%2047.3199%2078.987%2047.661C78.987%2048.0021%2078.8515%2048.3292%2078.6103%2048.5703C78.3692%2048.8115%2078.0421%2048.947%2077.701%2048.947H34.374C34.0329%2048.947%2033.7058%2048.8115%2033.4647%2048.5703C33.2235%2048.3292%2033.088%2048.0021%2033.088%2047.661C33.088%2047.3199%2033.2235%2046.9928%2033.4647%2046.7517C33.7058%2046.5105%2034.0329%2046.375%2034.374%2046.375H77.701ZM59.983%2037.801C60.3241%2037.801%2060.6512%2037.9365%2060.8923%2038.1777C61.1335%2038.4188%2061.269%2038.7459%2061.269%2039.087C61.269%2039.4281%2061.1335%2039.7552%2060.8923%2039.9963C60.6512%2040.2375%2060.3241%2040.373%2059.983%2040.373H34.374C34.0329%2040.373%2033.7058%2040.2375%2033.4647%2039.9963C33.2235%2039.7552%2033.088%2039.4281%2033.088%2039.087C33.088%2038.7459%2033.2235%2038.4188%2033.4647%2038.1777C33.7058%2037.9365%2034.0329%2037.801%2034.374%2037.801H59.983Z'%20fill='%238D9AA5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%200C4.2066%200%204.40475%200.0820729%204.55084%200.228164C4.69693%200.374255%204.779%200.572397%204.779%200.779V3.221H7.221C7.41393%203.221%207.6%203.29258%207.74317%203.4219C7.88634%203.55122%207.97643%203.72907%207.996%203.921V4.001C7.996%204.2076%207.91393%204.40575%207.76784%204.55184C7.62175%204.69793%207.4236%204.78%207.217%204.78H4.779V7.222C4.779%207.41493%204.70742%207.601%204.5781%207.74417C4.44878%207.88734%204.27093%207.97744%204.079%207.997H3.999C3.7924%207.997%203.59425%207.91493%203.44816%207.76884C3.30207%207.62275%203.22%207.4246%203.22%207.218V4.779H0.779C0.585538%204.78002%200.398617%204.70902%200.254623%204.57981C0.110629%204.45061%200.0198653%204.27244%200%204.08V4C0%203.7934%200.082073%203.59526%200.228164%203.44916C0.374255%203.30307%200.572396%203.221%200.779%203.221H3.221V0.779C3.221%200.586071%203.29258%200.400004%203.4219%200.256831C3.55122%200.113658%203.72907%200.023565%203.921%200.00399971L4%200Z'%20fill='%238D9AA5'/%3e%3cpath%20d='M11%2099C11.5304%2099%2012.0391%2098.7893%2012.4142%2098.4142C12.7893%2098.0391%2013%2097.5304%2013%2097C13%2096.4696%2012.7893%2095.9609%2012.4142%2095.5858C12.0391%2095.2107%2011.5304%2095%2011%2095C10.4696%2095%209.96086%2095.2107%209.58579%2095.5858C9.21071%2095.9609%209%2096.4696%209%2097C9%2097.5304%209.21071%2098.0391%209.58579%2098.4142C9.96086%2098.7893%2010.4696%2099%2011%2099Z'%20fill='%238D9AA5'/%3e%3cpath%20d='M104.518%2015.035C103.055%2015.035%20101.651%2014.4538%20100.617%2013.4192C99.5817%2012.3846%2099.0003%2010.9813%2099%209.518C99%208.05454%2099.5814%206.65101%20100.616%205.61619C101.651%204.58136%20103.055%204%20104.518%204C105.981%204%20107.385%204.58136%20108.42%205.61619C109.455%206.65101%20110.036%208.05454%20110.036%209.518C110.036%2010.9813%20109.454%2012.3846%20108.419%2013.4192C107.385%2014.4538%20105.981%2015.035%20104.518%2015.035ZM104.518%2013.035C105.451%2013.035%20106.346%2012.6645%20107.005%2012.005C107.665%2011.3454%20108.036%2010.4509%20108.036%209.518C108.036%209.05601%20107.945%208.59854%20107.768%208.17172C107.591%207.7449%20107.332%207.35707%20107.006%207.0304C106.679%206.70372%20106.291%206.44459%20105.864%206.26779C105.437%206.091%20104.98%206%20104.518%206C103.585%206%20102.69%206.37065%20102.03%207.0304C101.371%207.69015%20101%208.58497%20101%209.518C101%2010.4509%20101.371%2011.3454%20102.031%2012.005C102.69%2012.6645%20103.585%2013.035%20104.518%2013.035Z'%20fill='%238D9AA5'/%3e%3c/svg%3e",zse=a.defineComponent({name:"QDataTable",components:{QDataTableCell:Hy,QDataTableHead:SO,QTooltip:d0},props:{id:{type:String,default:"table"},modelValue:{type:Array,default:()=>[]},canClickRow:{type:Boolean,default:!1},columns:{type:Array,default:()=>[]},currentPage:{type:Number,default:1},fixedTopOffset:{type:Number,default:0},hasSearch:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!1},isMultiSort:{type:Boolean,default:!1},isMultiSelect:{type:Boolean,default:!1},selected:{type:Array,default:void 0},itemsPerPage:{type:Number,default:50},leftScrollAmount:{type:Number,default:200},loading:{type:Boolean,default:!1},orderBy:{type:String,default:""},rightScrollAmount:{type:Number,default:200},searchDelay:{type:Number,default:300},searchPlaceholder:{type:String,default:""},skeletonRows:{type:Number,default:6},sortBy:{type:String,default:""},tdClasses:{type:String,default:"text-sm"},thClasses:{type:String,default:"text-xs cursor-pointer"},thHeight:{type:Number,default:48}},emits:["click:row","deselect:row","select:row","update:order-by","update:selected","update:sort-by"],setup(t,{emit:e}){const{deviceType:n}=u0(),r=a.ref(),i=a.ref(),o=a.ref(),s=a.ref(),l=a.ref(),c=a.ref(0),{x:d}=Rp(o,{behavior:"auto"}),{x:u}=Rp(i,{behavior:"auto"}),{y:f}=a4(),{bottom:p,top:h,width:g,height:b}=$L(o),y=a.ref(0),w=a.ref(0),C=a.ref(0),k=a.ref(window.innerHeight),v=a.ref(0),A=a.ref(!1),S=a.ref(1),M=a.ref(!1),D=a.ref(0),I=a.computed(()=>t.selected!==void 0&&t.selected!==null),N=a.ref(t.selected?[...t.selected]:[]),x=a.computed({get(){return I.value?t.selected||[]:N.value},set(de){I.value||(N.value=de),e("update:selected",de)}}),L=()=>{M.value=!!t.modelValue.length&&x.value.length===t.modelValue.length&&!!x.value.length},z=a.computed(()=>n.value==="desktop"),U=a.computed(()=>S.value*t.itemsPerPage-1),F=a.computed(()=>t.isFixed&&f.value>=C.value),H=a.computed(()=>_.value>0),_=a.computed(()=>o.value?c.value-g.value:0),G=a.computed(()=>(!z.value||A.value)&&d.value>0&&t.modelValue.length&&!t.loading),J=a.computed(()=>(!z.value||A.value)&&d.value<_.value&&t.modelValue.length&&!t.loading),ee=a.computed(()=>{const de=[],Ee={};let Ne=0;return t.columns.forEach(je=>{Ee[je.key]=""}),[...Array(t.skeletonRows)].forEach(()=>{de.push({...Ee,shimmer:Ne%2?"bg-gray-10":"bg-gray-30"}),Ne++}),de}),ce=a.computed(()=>{var de;return Math.ceil(((de=t.modelValue)==null?void 0:de.length)/t.itemsPerPage)||1}),Q=()=>{var Ee;let de=0;if(H.value){const Ne=(((Ee=r.value)==null?void 0:Ee.clientHeight)||0)+t.thHeight,je=s.value.clientHeight+s.value.offsetTop;k.value<je?de=(k.value-(s.value.offsetTop+Ne))/2:de=(s.value.clientHeight-Ne)/2}v.value=de},$=()=>{d.value=o.value.scrollLeft,u.value=o.value.scrollLeft},P=()=>{u.value=i.value.scrollLeft,d.value=i.value.scrollLeft},R=async()=>{var de;c.value=(de=o.value)==null?void 0:de.scrollWidth,k.value=window.innerHeight,Q(),await a.nextTick()},V=async()=>{const de=f.value+k.value-t.fixedTopOffset,Ee=C.value+b.value;de>Ee-400&&S.value<ce.value&&S.value++,Q()},Z=(de,Ee,Ne)=>{const je=de.scrollLeft,qe=Ee-je,It=performance.now(),Xt=()=>{const Ct=performance.now()-It,er=Math.min(Ct/Ne,1);de.scrollLeft=je+qe*er,er<1&&requestAnimationFrame(Xt)};requestAnimationFrame(Xt)},re=()=>{Z(o.value,d.value-t.leftScrollAmount,250)},fe=()=>{Z(o.value,d.value+t.leftScrollAmount,250)},le=(de,Ee)=>{const Ne=[...x.value],je=Ne.indexOf(Ee);je<0&&de&&(Ne.push(Ee),e("select:row",Ee)),je>=0&&!de&&(Ne.splice(je,1),e("deselect:row",Ee)),x.value=Ne,L()},me=de=>{const Ee=[];de&&t.modelValue.forEach(Ne=>{Ee.push(Ne)}),x.value=Ee,L()},De=de=>{if(!(de!=null&&de.sortable))return;const Ee=de.key,Ne=t.orderBy===""||t.sortBy!==Ee?"asc":t.orderBy==="asc"?"desc":"";e("update:sort-by",Ee),e("update:order-by",Ne)};return a.watch(()=>t.modelValue,()=>{L(),Q()}),a.watch(()=>t.loading,async()=>{await a.nextTick(),Q()}),a.watch(x,()=>{L()},{deep:!0}),a.onMounted(()=>{var de,Ee,Ne,je,qe;C.value=s.value.offsetTop-t.fixedTopOffset,c.value=(de=o.value)==null?void 0:de.scrollWidth,D.value=s.value.offsetLeft+1,y.value=(Ne=(Ee=s.value)==null?void 0:Ee.querySelector("table > thead > tr > th:first-child"))==null?void 0:Ne.clientWidth,w.value=(qe=(je=s.value)==null?void 0:je.querySelector("table > thead > tr > th:last-child"))==null?void 0:qe.clientWidth,window.addEventListener("resize",R),window.addEventListener("scroll",V),o.value.addEventListener("scroll",$),i.value.addEventListener("scroll",P)}),a.onUnmounted(()=>{window.removeEventListener("resize",R),window.removeEventListener("scroll",V),o.value&&o.value.removeEventListener("scroll",$),i.value&&i.value.removeEventListener("scroll",P)}),{deviceType:n,mq:en,noResults:EO,allCheckboxSelected:M,dataFilterContainer:r,fixedScrollableContainer:i,fixedScrollableContainerX:u,hovered:A,leftScrollButtonX:y,page:S,rightScrollButtonX:w,scrollButtonTop:v,scrollableContainer:o,scrollableContainerBottom:p,scrollableContainerHeight:b,scrollableContainerTop:h,scrollableContainerWidth:g,scrollableContainerX:d,scrollWidth:c,selectedRows:x,tableContainer:s,tableLeftOffset:D,tbodyContainer:l,totalOffset:C,windowHeight:k,windowY:f,isDesktop:z,lastOnPage:U,pinHeaders:F,scrollable:H,scrollMax:_,showLeftScrollButton:G,showRightScrollButton:J,skeletonData:ee,totalPages:ce,handleScroll:$,handleFixedScroll:P,onClickColumnHeader:De,onUpdateCheckbox:le,onUpdateAllCheckboxes:me,getScrollButtonTop:Q,scrollWatcher:V,smoothScroll:Z,triggerScrollLeft:re,triggerScrollRight:fe}}}),Use=["id"],Zse=["id"],qse={class:a.normalizeClass(["fixed-scrollable overflow-x-auto overflow-y-hidden z-20"]),ref:"fixedScrollableContainer"},Wse={class:"min-w-full"},Gse={class:"flex items-center"},Kse={key:0},Yse=["id"],Qse={class:"min-w-full"},Xse={class:"flex items-center"},Jse={key:0},eae=["id"],tae=["id","onClick"],nae={key:1,id:"no-results",class:a.normalizeClass(["flex flex-col items-center justify-center","bg-white rounded-b-lg p-12"])},rae=["src"],iae={class:"font-bold text-inkwell-0 text-base"};function oae(t,e,n,r,i,o){var u,f,p;const s=a.resolveComponent("q-checkbox"),l=a.resolveComponent("q-data-table-head"),c=a.resolveComponent("q-data-table-cell"),d=a.resolveComponent("q-icon");return a.openBlock(),a.createElementBlock("div",a.mergeProps({id:t.id,class:["table-container relative border border-gray-20 rounded-lg",{"has-data-filter":!!t.$slots.dataFilter,"has-no-results":!t.modelValue.length,"has-pinned-headers":t.pinHeaders,"is-device":!t.isDesktop,"is-fixed":t.isFixed,"is-loading":t.loading,scrollable:t.scrollable}],style:`
|
|
251
|
+
`)},[a.createVNode(s,{icon:"paperclip",size:"lg",type:"line",color:"gray-40"}),a.createElementVNode("div",coe,a.toDisplayString(t.$t("HC_CLICK_DRAG_FILES_HERE")),1)],6)):a.createCommentVNode("",!0),a.renderSlot(t.$slots,"default"),t.allFiles.length?(a.openBlock(),a.createElementBlock("div",doe,[a.createVNode(l,{files:t.allFiles,"show-remove":!0,processing:t.processing,class:"px-4 mt-2 mb-2","onUpdate:modelValue":t.onRemoveFile},{actions:a.withCtx(()=>[a.createElementVNode("div",a.mergeProps({"aria-labelledby":"add-file-label",class:"p-0 relative rounded-lg shrink-0 my-2 bg-gray-7 hover:bg-gray-20 focus:bg-gray-20 outline-none cursor-pointer py-2 size-16 md:py-[1.125rem] md:size-20 rounded-lg flex align-center items-center flex-col",role:"button",tabindex:"0"},{[a.toHandlerKey(!t.processing&&"click")]:e[0]||(e[0]=y=>t.fileUpload.choose())},{[a.toHandlerKey(!t.processing&&"keydown.enter")]:e[1]||(e[1]=y=>t.fileUpload.choose())},{[a.toHandlerKey(!t.processing&&"keydown.space.prevent")]:e[2]||(e[2]=y=>t.fileUpload.choose())}),[a.createVNode(s,{icon:"circle-plus",color:"inkwell-0",class:"shrink-0",size:"md"}),a.createElementVNode("div",uoe,a.toDisplayString(t.$t("HC_ADD")),1)],16)]),_:1},8,["files","processing","onUpdate:modelValue"])])):a.createCommentVNode("",!0)],512)]}),_:3},8,["name","url","multiple","accept","maxFileSize","auto","custom-upload","disabled","onUpload","onSelect","pt"]),a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[t.sizeErrors.length||t.typeErrors.length?(a.openBlock(),a.createBlock(f,{key:0,id:"file-upload-error-modal",dismissible:!1,overlay:t.mq.md?"white-transparent":"black-transparent","container-class":"h-fit min-h-fit"},{default:a.withCtx(()=>[a.createVNode(u,null,{body:a.withCtx(()=>[a.createElementVNode("div",foe,[a.createElementVNode("h2",hoe,a.toDisplayString(t.typeErrors.length?t.$t("HC_INVALID_FILES"):t.$t("HC_FILE_TOO_LARGE")),1),t.sizeErrors.length?(a.openBlock(),a.createElementBlock("p",poe,a.toDisplayString(t.$t("HC_UPLOAD_FILE_SIZE_ERROR",{size:t.maxFileSize/1024/1024})),1)):a.createCommentVNode("",!0),t.sizeErrors.length?(a.openBlock(),a.createElementBlock("ul",moe,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.sizeErrors,p=>(a.openBlock(),a.createElementBlock("li",{key:p},a.toDisplayString(p),1))),128))])):a.createCommentVNode("",!0),t.typeErrors.length?(a.openBlock(),a.createElementBlock("p",goe,a.toDisplayString(t.$t("HC_INVALID_FILE_TYPES",{types:t.displayAllowedTypes})+":"),1)):a.createCommentVNode("",!0),t.typeErrors.length?(a.openBlock(),a.createElementBlock("ul",yoe,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.typeErrors,p=>(a.openBlock(),a.createElementBlock("li",{key:p},a.toDisplayString(p),1))),128))])):a.createCommentVNode("",!0)])]),footer:a.withCtx(()=>[a.createVNode(d,{class:a.normalizeClass([t.mq.md?"mx-3":"w-full"]),status:t.mq.md?"primary":"primary-blue",size:"lg",onClick:e[5]||(e[5]=p=>t.clearErrors())},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_OK")),1)]),_:1},8,["class","status"])]),_:1})]),_:1},8,["overlay"])):a.createCommentVNode("",!0)]))]),_:1})])}const gO=Te(soe,[["render",boe]]),woe=a.defineComponent({components:{EditorContent:oee,EmojiPicker:Tne,QFileUpload:gO},props:{modelValue:{type:String,default:""},attachments:{type:Object,default:()=>[]},allowEmojis:{type:Boolean,default:!1},allowAttachments:{type:Boolean,default:!1},allowFormatting:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},filesAllowed:{type:String,default:"image/*,.pdf"},expands:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!0},isStandalone:{type:Boolean,default:!1},placeholder:{type:String,default:""},processing:{type:Boolean,default:!1}},emits:["update:model-value","update:attachments","keyboard-open"],setup(t,{emit:e}){const n=a.ref(),r=a.ref(!1),i=a.ref(""),o=a.ref(),s=a.ref(),l=a.ref(!1),c=a.ref(!1),d=a.ref(!1),u=a.ref([]),f=a.ref(),p=a.ref(),h=a.ref(),g=a.ref(!1),b=a.ref(window.innerHeight),y=a.computed(()=>H.value.getAttributes("textStyle").color||"#121517"),w=a.computed(()=>t.attachments),C=a.computed(()=>t.isStacked||t.expands&&(w.value.length>0||d.value||!H.value.isEmpty)||c.value),v=Ew(LL).greaterOrEqual("md"),A=()=>{const _=window.prompt("URL");H.value.chain().focus().extendMarkRange("link").setLink({href:_||""}).run()},S=_=>{H.value.chain().focus().setColor(_).run(),D()},M=()=>{l.value=!l.value},D=()=>{l.value=!1},I=()=>{var _,G;(G=(_=f.value)==null?void 0:_.fileUpload)==null||G.choose()},N=_=>{H.value.chain().focus().insertContent(_).run(),o.value.$el.click()},x=async()=>{if(await a.nextTick(),d.value){const _=g.value,G=(visualViewport==null?void 0:visualViewport.height)||window.innerHeight;g.value=b.value-G>0,_!==g.value&&(d.value=g.value,e("keyboard-open",g.value))}},L=()=>{d.value&&t.expands&&(g.value=!1,e("keyboard-open",g.value)),d.value=!1},z=_=>{H.value.chain().focus().insertContent(_.i).run(),r.value=!1},U=_=>{u.value=_,F()},F=()=>{let _="";H.value.isEmpty||(_=t.allowFormatting?H.value.getHTML():H.value.getText()),u.value!==t.attachments&&e("update:attachments",u.value),e("update:model-value",_)},H=a.ref(see({extensions:[Are.configure({heading:{levels:[1,2]}}),Tre,Ire,Ore,Yre.configure({openOnClick:!1}),Qre.configure({placeholder:t.placeholder})],content:t.modelValue,onUpdate:F,editable:!t.disabled}));return a.watch(()=>t.modelValue,_=>{H.value&&!_&&H.value.commands.clearContent()}),a.watch(()=>t.disabled,_=>{H.value&&(H.value.options.editable=!_,H.value.view.update(H.value.view.props))}),a.onBeforeUnmount(()=>{var _;(_=H.value)==null||_.destroy()}),a.onMounted(()=>{visualViewport&&t.expands&&visualViewport.addEventListener("resize",x)}),a.onUnmounted(()=>{visualViewport&&t.expands&&visualViewport.removeEventListener("resize",x)}),Bp(n,()=>{r.value=!1}),Bp(h,()=>{d.value&&t.expands&&(g.value=!1,e("keyboard-open",g.value)),d.value=!1}),{colors:Sk.theme.colors,colorExclusions:["success","success-light","error","error-light","warning","warning-light","info","info-light","transparent","current","green-quore","blue-sky","blue-quore","complaint","recurring","workorder"],editor:H,editorRef:p,emojiPickerElement:n,showEmojiPicker:r,emojiSearch:i,invoker:o,isExpanded:C,multiUploader:s,showColorMenu:l,focused:d,files:w,showFormatOptions:c,uploadedfiles:u,fileUploadRef:f,wysiwygRef:h,setColor:y,mdAndLarger:v,setLink:A,selectColor:S,showColors:M,onClickAction:L,onClickOutColors:D,attachFiles:I,appendEmoji:N,onSelectEmoji:z,onSelectFiles:U}}}),Coe={key:0,class:"menu flex items-center justify-between !pb-0 !pr-0"},voe={class:"toolbar flex items-center md:gap-x-4"},koe={class:"flex items-center gap-x-1"},Soe={class:"toolbar flex items-center md:gap-x-4"},Eoe={name:"fade-zoom",class:"flex items-center items-center"};function Moe(t,e,n,r,i,o){const s=a.resolveComponent("q-icon"),l=a.resolveComponent("editor-content"),c=a.resolveComponent("q-file-upload"),d=a.resolveComponent("emoji-picker");return t.editor?(a.openBlock(),a.createElementBlock("div",{key:0,ref:"wysiwygRef",class:a.normalizeClass(["editor-container rounded-lg",{"has-placeholder":!!t.placeholder,"is-focused":t.focused,"is-stacked":t.isExpanded,"is-standalone":t.isStandalone,"show-formatting-menu":t.showFormatOptions,"!rounded-2xl md:!rounded-lg expands":t.expands}]),onMousedown:e[11]||(e[11]=u=>{t.focused=!0})},[a.createElementVNode("div",{class:a.normalizeClass(["wysiwyg-layout flex justify-between",{"flex-wrap":t.isExpanded}])},[t.showFormatOptions?(a.openBlock(),a.createElementBlock("div",Coe,[a.createElementVNode("div",voe,[a.createElementVNode("div",koe,[a.createVNode(s,{icon:"bold",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("bold")}),onClick:e[0]||(e[0]=u=>t.editor.chain().focus().toggleBold().run())},null,8,["class"]),a.createVNode(s,{icon:"italic",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("italic")}),onClick:e[1]||(e[1]=u=>t.editor.chain().focus().toggleItalic().run())},null,8,["class"]),a.createVNode(s,{icon:"underline",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("underline")}),onClick:e[2]||(e[2]=u=>t.editor.chain().focus().toggleUnderline().run())},null,8,["class"]),a.createVNode(s,{icon:"strikethrough",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("strike")}),onClick:e[3]||(e[3]=u=>t.editor.chain().focus().toggleStrike().run())},null,8,["class"]),a.createVNode(s,{icon:"link",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("link")}),onClick:t.setLink},null,8,["class","onClick"]),t.editor.isActive("link")?(a.openBlock(),a.createBlock(s,{key:0,icon:"link",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("link")}),onClick:e[4]||(e[4]=u=>t.editor.chain().focus().unsetLink().run())},null,8,["class"])):a.createCommentVNode("",!0),a.createVNode(s,{icon:"list",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("bulletList")}),onClick:e[5]||(e[5]=u=>t.editor.chain().focus().toggleBulletList().run())},null,8,["class"]),a.createVNode(s,{icon:"numberlist",size:"lg",color:"inkwell-0",class:a.normalizeClass({"is-active":t.editor.isActive("orderedList")}),onClick:e[6]||(e[6]=u=>t.editor.chain().focus().toggleOrderedList().run())},null,8,["class"])])])])):a.createCommentVNode("",!0),t.allowAttachments?(a.openBlock(),a.createBlock(c,{key:1,ref:"fileUploadRef",disabled:t.disabled,expands:t.expands,files:t.files,"files-allowed":t.filesAllowed,processing:t.processing,class:a.normalizeClass(["grow",t.expands&&"rounded-t-2xl md:rounded-t-lg",!t.isExpanded&&!t.mdAndLarger?"order-2 -ml-2":"order-1"]),onFileList:t.onSelectFiles},{default:a.withCtx(()=>[a.createVNode(l,{ref:"editorRef",editor:t.editor,class:"grow"},null,8,["editor"])]),_:1},8,["disabled","expands","files","files-allowed","processing","class","onFileList"])):(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(["grow w-full",t.expands?"rounded-t-2xl md:rounded-t-lg":"rounded-t-lg",!t.isExpanded&&!t.mdAndLarger?"order-2 -ml-2":"order-1"])},[a.createVNode(l,{ref:"editorRef",editor:t.editor,class:"grow"},null,8,["editor"])],2)),t.showEmojiPicker?(a.openBlock(),a.createBlock(d,{key:3,ref:"emojiPickerElement",class:"absolute top-2 left-2 z-[9999]",onSelect:t.onSelectEmoji},null,8,["onSelect"])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["menu flex items-center justify-between",!t.isExpanded&&!t.mdAndLarger?"order-1":"order-2"])},[a.createElementVNode("div",Soe,[a.createElementVNode("div",Eoe,[a.createVNode(a.TransitionGroup,{name:"fade-zoom"},{default:a.withCtx(()=>[t.allowFormatting&&t.showFormatOptions?(a.openBlock(),a.createBlock(s,{icon:"close",key:"close",size:"lg",type:"",color:"inkwell-0",class:"md:!hidden bg-gray-7 !p-2 !rounded-full",onClick:e[7]||(e[7]=u=>t.showFormatOptions=!t.showFormatOptions)})):a.createCommentVNode("",!0),t.allowEmojis&&(!t.showFormatOptions||t.mdAndLarger)?(a.openBlock(),a.createBlock(s,{icon:"face-smile",key:"face-smile",size:"lg",type:"outline",color:"inkwell-0",class:a.normalizeClass({"is-active":t.showEmojiPicker}),onClick:e[8]||(e[8]=u=>t.showEmojiPicker=!t.showEmojiPicker)},null,8,["class"])):a.createCommentVNode("",!0),t.allowAttachments&&(!t.showFormatOptions||t.mdAndLarger)?(a.openBlock(),a.createBlock(s,{icon:"paperclip",key:"paperclip",size:"lg",type:"line",class:a.normalizeClass(t.disabled&&"!cursor-not-allowed hover:!text-inkwell-0"),color:"inkwell-0",onClick:t.attachFiles},null,8,["class","onClick"])):a.createCommentVNode("",!0),t.allowFormatting&&(!t.showFormatOptions||t.mdAndLarger)?(a.openBlock(),a.createBlock(s,{icon:"text-format",key:"text-format",size:"lg",type:"outline",color:"inkwell-0",class:a.normalizeClass({"is-active":t.showFormatOptions}),onClick:e[9]||(e[9]=u=>t.showFormatOptions=!t.showFormatOptions)},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})])])],2),a.createElementVNode("div",{class:"flex items-center px-2 py-1 pr-4 order-3",onClick:e[10]||(e[10]=(...u)=>t.onClickAction&&t.onClickAction(...u))},[a.renderSlot(t.$slots,"action",{},void 0,!0)])],2)],34)):a.createCommentVNode("",!0)}const jy=Te(woe,[["render",Moe],["__scopeId","data-v-6c7a3a19"]]),Aoe={id:{type:[Number,String],default:null},attachments:{type:Array,default:[]},attachmentClickEvent:{type:Function,default:()=>{}},attachmentRemoveEvent:{type:Function,default:()=>{}},canCopyLink:{type:Boolean,default:!1},canDelete:{type:[Boolean,Number],default:!1},canEdit:{type:[Boolean,Number],default:!1},canPin:{type:Boolean,default:!1},user:{type:Object,default:null},comment:{type:String,default:""},dateUtc:{type:String,default:null},dateLocal:{type:String,default:""},created:{type:Object,default:null},edited:{type:Object,default:null},onUpdateComment:{type:Function,default:()=>{}},pinned:{type:Boolean,default:!1},processing:{type:Boolean,default:!1},showAvatar:{type:Boolean,default:!0},showRemoveButton:{type:Object,default:()=>{}}},Toe=a.defineComponent({name:"QComment",components:{QAvatar:Hb,QImageGallery:v7,QMenu:B6,QPopover:Qm,QWarningModal:RE,QWysiwyg:jy},props:Aoe,emits:["update:model-value"],setup(t){const{t:e}=Qi(),n=[{text:e("HC_CANCEL")}],r=a.ref(null),i=a.ref(!1),o=a.ref(""),s=a.ref(!1),l=a.ref(!1),c=a.ref(!1),d=a.ref(""),u=a.ref(),f=a.computed(()=>{const x=[];return t.canCopyLink&&x.push({text:e("HC_COPY_LINK"),classes:"!text-blue-20 md:!text-inkwell-0",event:y}),t.canPin&&x.push({text:e(t.pinned?"HC_UNPIN_COMMENT":"HC_PIN_COMMENT"),classes:"!text-blue-20 md:!text-inkwell-0",event:I}),t.canEdit&&x.push({text:e("HC_EDIT_COMMENT"),classes:"!text-blue-20 md:!text-inkwell-0",event:S}),t.canDelete&&x.push({text:e("HC_DELETE_COMMENT"),classes:"!text-red-20",event:k}),x}),p=a.computed(()=>t.user.firstName+" "+t.user.lastName.substring(0,1)),h=a.computed(()=>Ke.fromISO(t.dateUtc).toLocaleString(Ke.DATETIME_MED)),g=a.computed(()=>{var F,H;const x=t.user.name.split(" "),L=((F=x[0])==null?void 0:F.charAt(0))||"",z=((H=x[1])==null?void 0:H.charAt(0))||"";return(L+z).toUpperCase()}),b=()=>{i.value=!1,o.value=""},y=()=>{navigator.clipboard.writeText(`${window.location.href}#comment-${t.id}`),s.value=!1},w=x=>{r.value=x,d.value="attachment",c.value=!0,s.value=!1},C=async()=>{r.value&&await t.onUpdateComment({event:"delete-attachment",value:r.value.id}),c.value=!1},k=()=>{d.value="comment",c.value=!0,s.value=!1},v=async()=>{await t.onUpdateComment({event:"delete-comment",value:t.id}),c.value=!1},A=()=>{d.value==="comment"?v():C()},S=async()=>{var L,z;i.value=!0,o.value=t.comment,await a.nextTick(),(z=(L=u.value)==null?void 0:L.editor)==null||z.chain().focus("end").run(),s.value=!1;const x=document.getElementById(`comment-${t.id}`);x&&!en.md&&x.scrollIntoView({block:"center",behavior:"smooth"})},M=()=>{s.value=!s.value},D=x=>{x.event()},I=async()=>{s.value=!1,await t.onUpdateComment({event:"update-pin",value:!t.pinned})},N=async()=>{await t.onUpdateComment({event:"update-comment",value:o.value})};return a.watch(()=>t.processing,x=>{var L,z,U;x||(i.value=!1,o.value="",c.value=!1,u.value&&u.value.allowAttachments&&((U=(z=(L=u.value)==null?void 0:L.fileUploadRef)==null?void 0:z.fileUpload)==null||U.clear(),u.value.uploadedfiles=[]))}),{menuActions:n,activeAttachment:r,editMode:i,editText:o,showControls:s,warningAction:l,warningModal:c,warningType:d,wysiwygRef:u,allowedActions:f,displayName:p,formatDate:h,userInitials:g,onClickCancel:b,onClickCopyLink:y,onClickDeleteAttachment:w,onClickDeleteAttachmentConfirm:C,onClickDeleteComment:k,onClickDeleteCommentConfirm:v,onClickDeleteConfirm:A,onClickEditComment:S,onClickMenu:M,onClickMobileMenuLink:D,onClickSave:N,mq:en}}}),Ioe=["id"],Ooe={class:"flex items-start mb-1"},Doe={class:"grow"},Noe={class:"w-full block text-sm leading-4 font-bold"},xoe={class:"text-inkwell-0 text-xs leading-4 flex gap-1 flex-wrap"},Poe={key:0},Boe={class:"w-full py-1"},Loe=["onClick"],Roe={key:2},Voe={class:"translate wrap-anywhere"},_oe={key:1,class:"pl-[3rem]"},$oe={class:"h-8 flex items-center"},Foe={key:2};function joe(t,e,n,r,i,o){var g,b,y;const s=a.resolveComponent("q-avatar"),l=a.resolveComponent("q-icon"),c=a.resolveComponent("q-popover"),d=a.resolveComponent("q-menu"),u=a.resolveComponent("q-button"),f=a.resolveComponent("q-wysiwyg"),p=a.resolveComponent("q-image-gallery"),h=a.resolveComponent("q-warning-modal");return t.comment||t.attachments.length?(a.openBlock(),a.createElementBlock("div",{key:0,id:`comment-${t.id}`,class:a.normalizeClass(["comment-container flex flex-col mb-3 py-2",{"-mx-2 px-2 rounded-lg bg-yellow-0":t.pinned}])},[a.createElementVNode("div",Ooe,[t.showAvatar?(a.openBlock(),a.createBlock(s,{key:0,src:t.user.profileImg,text:t.userInitials,class:"mr-4"},null,8,["src","text"])):a.createCommentVNode("",!0),a.createElementVNode("div",Doe,[a.createElementVNode("div",Noe,a.toDisplayString(t.user.name),1),a.createElementVNode("div",xoe,[a.createElementVNode("span",null,a.toDisplayString(((g=t.created)==null?void 0:g.dateLocal)||t.dateLocal||t.formatDate),1),(b=t.edited)!=null&&b.dateLocal?(a.openBlock(),a.createElementBlock("span",Poe,a.toDisplayString(`(${t.$t("HC_EDITED")} ${(y=t.edited)==null?void 0:y.dateLocal})`),1)):a.createCommentVNode("",!0)])]),t.allowedActions.length&&t.mq.md?(a.openBlock(),a.createBlock(c,{key:1,modelValue:t.showControls,"onUpdate:modelValue":e[0]||(e[0]=w=>t.showControls=w),align:"right",position:"bottom",size:"sm"},{trigger:a.withCtx(()=>[a.createVNode(l,{icon:"ellipsis-h",type:"fill",class:a.normalizeClass(["shrink-0 cursor-pointer",t.showControls&&"!text-blue-20"]),color:"gray-40",onClick:t.onClickMenu},null,8,["class","onClick"])]),content:a.withCtx(()=>[a.createElementVNode("ul",Boe,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.allowedActions,(w,C)=>(a.openBlock(),a.createElementBlock("li",{key:C,class:a.normalizeClass(w.classes),onClick:k=>w.event(k)},a.toDisplayString(w.text),11,Loe))),128))])]),_:1},8,["modelValue"])):a.createCommentVNode("",!0),t.allowedActions.length&&!t.mq.md?(a.openBlock(),a.createElementBlock("div",Roe,[a.createVNode(l,{icon:"ellipsis-h",type:"fill",class:"shrink-0 cursor-pointer",color:"gray-40",onClick:t.onClickMenu},null,8,["onClick"]),a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[t.showControls?(a.openBlock(),a.createBlock(d,{key:0,modelValue:t.showControls,"onUpdate:modelValue":e[1]||(e[1]=w=>t.showControls=w),actions:t.menuActions,links:t.allowedActions,"links-background":"light-gray","onClick:link":t.onClickMobileMenuLink,"onClick:action":t.onClickMenu},null,8,["modelValue","actions","links","onClick:link","onClick:action"])):a.createCommentVNode("",!0)]),_:1})])):a.createCommentVNode("",!0)]),t.editMode?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["leading-normal text-sm",{"ml-12":t.showAvatar}])},[a.createElementVNode("p",Voe,a.toDisplayString(t.comment),1)],2)),t.editMode?(a.openBlock(),a.createElementBlock("div",_oe,[a.createVNode(f,{ref:"wysiwygRef",modelValue:t.editText,"onUpdate:modelValue":e[2]||(e[2]=w=>t.editText=w),"is-stacked":!0},{action:a.withCtx(()=>[a.createElementVNode("div",$oe,[a.createVNode(u,{disabled:t.processing,status:"link",class:"!text-gray-40 mr-4 hover:!text-inkwell-0 hover:!no-underline",onClick:t.onClickCancel},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_CANCEL")),1)]),_:1},8,["disabled","onClick"]),a.createVNode(u,{disabled:t.processing,loading:t.processing,class:"text-xs hover:!text-blue-40 hover:!no-underline",status:"link",onClick:t.onClickSave},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_SAVE")),1)]),_:1},8,["disabled","loading","onClick"])])]),_:1},8,["modelValue"])])):(a.openBlock(),a.createElementBlock("div",Foe,[t.attachments.length?(a.openBlock(),a.createBlock(p,{key:0,class:a.normalizeClass(["mt-3",{"ml-12":t.showAvatar}]),files:t.attachments,"onClick:file":t.attachmentClickEvent,"onUpdate:modelValue":t.onClickDeleteAttachment},null,8,["class","files","onClick:file","onUpdate:modelValue"])):a.createCommentVNode("",!0)])),a.createVNode(h,{id:"warning-modal",action:t.onClickDeleteConfirm,"onUpdate:action":e[3]||(e[3]=w=>t.onClickDeleteConfirm=w),toggle:t.warningModal,"onUpdate:toggle":[e[4]||(e[4]=w=>t.warningModal=w),e[5]||(e[5]=w=>t.warningModal=!1)],processing:t.processing},{desktopHeader:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_WARNING_CONFIRM_DELETE_COMMENT":"HC_ARE_YOU_SURE_DELETE_ATTACHMENT")),1)]),desktopMessage:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_CLICK_DELETE_COMMENT_NO_LONGER_SEE":"HC_CLICK_DELETE_ATTACHMENT_NO_LONGER_SEE")),1)]),mobileHeader:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_DELETE_COMMENT":"HC_ARE_YOU_SURE_DELETE_ATTACHMENT")),1)]),mobileMessage:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_WARNING_CONFIRM_DELETE_COMMENT":"HC_CLICK_DELETE_ATTACHMENT_NO_LONGER_SEE")),1)]),buttonText:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t(t.warningType==="comment"?"HC_DELETE_COMMENT":"HC_DELETE_ATTACHMENT")),1)]),_:1},8,["action","toggle","processing"])],10,Ioe)):a.createCommentVNode("",!0)}const yO=Te(Toe,[["render",joe],["__scopeId","data-v-ccf07453"]]),Hoe=a.defineComponent({name:"QCommentSection",components:{QComment:yO,QWysiwyg:jy},props:{comments:{type:Array,default:()=>[]},allowAttachments:{type:Boolean,default:!1},allowEmojis:{type:Boolean,default:!1},allowFormatting:{type:Boolean,default:!1},addCommentEvent:{type:Function,default:()=>{}},disabled:{type:Boolean,default:!1},filesAllowed:{type:String,default:"image/*,.pdf"},updateCommentEvent:{type:Function,default:()=>{}},placeholder:{type:String,default:""},processing:{type:Boolean,default:!1},showRemoveButton:{type:Object,default:()=>{}}},setup(t){const{t:e}=Qi(),n=a.ref([]),r=a.ref(""),i=a.ref(t.placeholder||e("HC_ADD_A_COMMENT")),o=a.ref(),s=async()=>{await t.addCommentEvent({text:r.value,attachments:n.value})},l=async(c,d)=>{await t.updateCommentEvent({comment:c,...d})};return a.watch(()=>t.processing,c=>{var d,u;c||(n.value=[],r.value="",o.value&&o.value.allowAttachments&&((u=(d=o.value.fileUploadRef)==null?void 0:d.fileUpload)==null||u.clear(),o.value.uploadedfiles=[]))}),{files:n,placeholderText:i,textareaValue:r,wysiwygRef:o,onClickPost:s,onUpdateComment:l}}}),zoe={class:"comment-section"},Uoe={key:0,class:"comments"},Zoe={key:1,class:"no-comments text-center mb-6 mt-4"},qoe={class:"text-md mb-2 leading-6 font-bold text-inkwell-30"},Woe={class:"text-sm text-inkwell-0"};function Goe(t,e,n,r,i,o){const s=a.resolveComponent("q-comment"),l=a.resolveComponent("q-icon"),c=a.resolveComponent("q-button"),d=a.resolveComponent("q-wysiwyg");return a.openBlock(),a.createElementBlock("div",zoe,[t.comments&&t.comments.length?(a.openBlock(),a.createElementBlock("div",Uoe,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.comments,(u,f)=>(a.openBlock(),a.createBlock(s,a.mergeProps({ref_for:!0},u,{key:f,"on-update-comment":p=>t.onUpdateComment(u,p)}),null,16,["on-update-comment"]))),128))])):(a.openBlock(),a.createElementBlock("div",Zoe,[a.createElementVNode("h4",qoe,a.toDisplayString(t.$t("HC_NO_COMMENTS_YET")),1),a.createElementVNode("p",Woe,a.toDisplayString(t.$t("HC_START_THE_CONVERSATION")),1)])),a.renderSlot(t.$slots,"default",{},()=>[a.createVNode(d,{ref:"wysiwygRef",modelValue:t.textareaValue,"onUpdate:modelValue":[e[0]||(e[0]=u=>t.textareaValue=u),e[2]||(e[2]=u=>t.textareaValue=u)],attachments:t.files,disabled:t.disabled,"is-stacked":!0,"allow-attachments":t.allowAttachments,"allow-emojis":t.allowEmojis,"allow-formatting":t.allowFormatting,"files-allowed":t.filesAllowed,placeholder:t.placeholderText,processing:t.processing,"onUpdate:attachments":e[1]||(e[1]=u=>t.files=u)},{action:a.withCtx(()=>[a.createVNode(c,{loading:t.processing,disabled:t.processing||!t.files.length&&!t.textareaValue||t.disabled,"is-fab":"",size:"sm",status:"primary-blue",class:"post-button",onClick:t.onClickPost},{default:a.withCtx(()=>[a.createVNode(l,{icon:"arrow-up",type:"line",size:"md",color:"white","custom-class":"!stroke-white",class:"p-[0.1875rem]"})]),_:1},8,["loading","disabled","onClick"])]),_:1},8,["modelValue","attachments","disabled","allow-attachments","allow-emojis","allow-formatting","files-allowed","placeholder","processing"])],!0)])}const bO=Te(Hoe,[["render",Goe],["__scopeId","data-v-70f939a4"]]),Koe=a.defineComponent({name:"QCounter",props:{modelValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,default:100},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:e}){return{updateCount:r=>{let o=t.modelValue+r;return o>t.max?o=t.max:o<t.min&&(o=t.min),e("update:modelValue",o),o}}}}),Yoe={class:"counter flex items-center"},Qoe={class:"grow text-center"};function Xoe(t,e,n,r,i,o){const s=a.resolveComponent("q-icon");return a.openBlock(),a.createElementBlock("div",Yoe,[a.createVNode(s,a.mergeProps({icon:"minus-circle",type:"outline",size:"sm",color:"inkwell-30",class:"cursor-pointer mr-1"},{[a.toHandlerKey(!t.disabled&&"click")]:e[0]||(e[0]=l=>t.updateCount(-1))}),null,16),a.createElementVNode("span",Qoe,a.toDisplayString(t.modelValue),1),a.createVNode(s,a.mergeProps({icon:"circle-plus",type:"outline",size:"sm",color:"inkwell-30",class:"cursor-pointer ml-1"},{[a.toHandlerKey(!t.disabled&&"click")]:e[1]||(e[1]=l=>t.updateCount(1))}),null,16)])}const Joe=Te(Koe,[["render",Xoe]]),wO="eye",CO="eye-slash",ese=a.defineComponent({name:"QInput",inheritAttrs:!1,props:{modelValue:{type:[Number,Object,String],default:""},type:{type:String,default:"text",validator:t=>["email","number","password","phone","search","text"].includes(t)},placeholder:{type:String,default:""},maxlength:{type:Number,default:null},size:{type:String,default:"md"},status:{type:String,default:""},controlClass:{type:String,default:""},inputClass:{type:String,default:""},disabled:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},expands:{type:Boolean,default:!1},hideClear:{type:Boolean,default:!1},iconPosition:{type:String,default:"right"}},emits:["update:model-value","update-type"],setup(t,{emit:e}){const n=a.useSlots(),r=a.ref(null),i=a.ref(!1),o=a.ref(t.type==="password"?wO:""),s=a.ref(!t.expands),l=a.computed(()=>!!t.disabled),c=a.computed(()=>{const y=o.value;return!!t.modelValue&&!l.value&&(f.value&&t.iconPosition==="left"||!y)}),d=a.computed(()=>["control flex items-center",{focused:!!i.value},{disabled:l.value},{[t.status]:t.status&&!l.value},{[`has-icon-${t.iconPosition}`]:!!t.iconPosition},t.controlClass,{["size-"+t.size]:t.size},{collapsed:!s.value}]),u=a.computed(()=>["input",{[t.status]:t.status&&!l.value},{[t.inputClass]:!!t.inputClass},{populated:!!t.modelValue}]),f=a.computed(()=>!!(n!=null&&n.default)),p=()=>{var C;const y=t.type==="password",w=t.type==="text"&&o.value===CO;(y||w)&&g(),t.expands&&r.value&&!s.value&&(s.value=!s.value,i.value=s.value,(C=r.value.querySelector("input"))==null||C.focus())},h=()=>{i.value=!i.value,!t.modelValue&&t.expands&&(s.value=!1)},g=()=>{const y=t.type==="text"?"password":"text";o.value=y==="text"?CO:wO,e("update-type",y)};return{currentInput:r,focused:i,icon:o,isExpanded:s,rootClasses:d,inputClasses:u,isDisabled:l,showClearIcon:c,isSlotAvailable:f,onClickIcon:p,onFocusOut:h,togglePasswordVisibility:g,updateValue:y=>{e("update:model-value",y.target.value)},mq:en}}}),tse=["id","type","disabled","autocomplete","maxlength","value","placeholder"];function nse(t,e,n,r,i,o){const s=a.resolveComponent("q-icon");return a.openBlock(),a.createElementBlock("div",{ref:"currentInput",class:a.normalizeClass(t.rootClasses)},[a.createElementVNode("input",a.mergeProps({id:String(t.$attrs.id),ref:String(t.$attrs.id),type:t.type,disabled:t.isDisabled,class:t.inputClasses,autocomplete:t.autocomplete,maxlength:t.maxlength,value:t.modelValue,placeholder:t.placeholder},t.$attrs,{onInput:e[0]||(e[0]=l=>t.updateValue(l)),onFocusin:e[1]||(e[1]=l=>t.focused=!t.focused),onFocusout:e[2]||(e[2]=(...l)=>t.onFocusOut&&t.onFocusOut(...l)),onBlur:e[3]||(e[3]=l=>t.focused=!0)}),null,16,tse),t.isSlotAvailable||t.icon?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["icon-container flex",{"order-first pr-2":t.iconPosition==="left"}])},[a.renderSlot(t.$slots,"default",a.normalizeProps(a.guardReactiveProps({icon:t.icon,onClickIcon:t.onClickIcon})),()=>[a.createVNode(s,{icon:t.icon,size:"md",class:"cursor-pointer",onClick:t.onClickIcon},null,8,["icon","onClick"])],!0)],2)):a.createCommentVNode("",!0),t.showClearIcon&&!t.hideClear?(a.openBlock(),a.createElementBlock("div",{key:1,class:"close cursor-pointer flex order-3",onClick:e[4]||(e[4]=l=>t.$emit("update:model-value","")),onMousedown:e[5]||(e[5]=a.withModifiers(()=>{},["prevent"]))},[t.mq.md?(a.openBlock(),a.createBlock(s,{key:0,icon:"close",size:"sm",type:"line"})):(a.openBlock(),a.createBlock(s,{key:1,icon:"delete-circle",color:"inkwell-0",size:"md",type:"fill"}))],32)):a.createCommentVNode("",!0)],2)}const vO=Te(ese,[["render",nse],["__scopeId","data-v-f19bb4f5"]]),Uc=(t,e,n,r,i,o=[],s=!0)=>{const l=n;if(e||l&&l.length){let c=s;t=t.filter(d=>{if(l&&l.length){const u=[];l.forEach(p=>{let h=p.selected;if(!h||!h.length){u.push(s);return}const g=p.key,b=p.attribute||"id";Array.isArray(h)||(h=[h]);let y=!1;h.forEach(w=>{const C=w&&w.key?w.key:g;if(w&&C){const v=C.split(/\./),A=v[0],S=v[1]||null,M=w[b],D=d[A];!S&&(typeof M!="boolean"&&Array.isArray(D)&&!D.find(I=>I[b]===M)||typeof M!="boolean"&&!Array.isArray(D)&&D!==M||typeof M=="boolean"&&typeof D!="boolean"&&!!D!==M||typeof M=="boolean"&&typeof D=="boolean"&&D!==M)||S&&(typeof M=="object"&&Array.isArray(D[S])&&!D[S].find(I=>I[b]===M)||typeof M!="boolean"&&!Array.isArray(D[S])&&D[S]!==M||typeof M=="boolean"&&typeof D[S]!="boolean"&&!!D[S]!==M||typeof M=="boolean"&&typeof D[S]=="boolean"&&D[S]!==M)||(y=!0)}}),u.push(y)});const f=u.filter(p=>!!p).length;if(u.length===0||f!==u.length)return!1}if(e){if(typeof d=="string")return String(d).toLocaleLowerCase().includes(e.toLocaleLowerCase());c=Object.keys(d).some(u=>o.includes(u)?!1:typeof d[u]=="object"&&d[u]?Object.keys(d[u]).some(f=>o.includes(f)?!1:String(d[u][f]).toLocaleLowerCase().includes(e.toLocaleLowerCase())):String(d[u]).toLocaleLowerCase().includes(e.toLocaleLowerCase()))}return c})}return r&&(t=t.sort((c,d)=>{if(c===null||c==="")return 1;if(d===null||d==="")return-1;if(r.includes(".")){const u=r.split(".")[0],f=r.split(".")[1];if(c[u]===null||c[u]==="")return 1;if(d[u]===null||d[u]==="")return-1;c=c[u][f],d=d[u][f]}else c=c[r],d=d[r];return typeof c=="string"&&typeof d=="string"&&(c=c.toLowerCase(),d=d.toLowerCase()),typeof c!="string"&&typeof d!="string"&&(c=parseInt(c),d=parseInt(d)),typeof c=="number"&&typeof d=="string"?-1*i:typeof d=="number"&&typeof c=="string"?1*i:(c===d?0:c>d?1:-1)*i})),t},rse=a.defineComponent({name:"QDataFilter",components:{QBadge:ds,QBottomSheet:x4,QIcon:va,QInput:vO,QTooltip:d0,QPopover:Qm},props:{data:{type:Array,default:()=>[]},id:{type:String,default:""},excludedFields:{type:Array,default:()=>[]},filters:{type:Array,default:()=>[]},hasSearch:{type:Boolean,default:!0},orderBy:{type:String,default:"asc"},repositionPopover:{type:Boolean,default:!0},search:{type:String,default:""},searchDelay:{type:Number,default:300},searchPlaceholder:{type:String,default:""},showResultsCount:{type:Boolean,default:!1},sortBy:{type:String,default:"name"},noneEqualsAll:{type:Boolean,default:!0},filtersActive:{type:Boolean,default:!1}},emits:["update:data","update:search","click:filters","popover:close","bottom-sheet:close"],setup(t,{emit:e}){const n=s4(f=>{e("update:search",f)},t.searchDelay),r=u0(),i=a.ref(0),o=a.ref(!1),s=a.ref(!1),l=a.computed(()=>{let f=0;return t.filters.forEach(p=>{(typeof p.selected=="string"&&p.selected||typeof p.selected!="string"&&p.selected.length)&&f++}),f}),c=()=>{s.value=!1,e("bottom-sheet:close")},d=()=>{o.value=!1,e("popover:close")},u=f=>{f(),e("click:filters")};return a.watch(t,()=>{const f=Uc(t.data,t.search,t.filters,t.sortBy,t.orderBy==="desc"?-1:1,t.excludedFields,t.noneEqualsAll);i.value=f.length,e("update:data",f)},{deep:!0}),a.watch(o,(f,p)=>{p===!0&&f===!1&&e("popover:close")}),a.watch(s,(f,p)=>{p===!0&&f===!1&&e("bottom-sheet:close")}),{debouncedSearch:n,filteredCount:i,showFilterBottomSheet:s,showFilterPopover:o,closeBottomSheet:c,closePopover:d,onFilterClick:u,filtersCount:l,deviceType:r,filterData:Uc,mq:en}}}),ise=["id"],ose={class:"search grow"},sse={class:"search-label flex items-center",for:"search"},ase={class:"results-count mx-1 shrink-0 text-xs text-gray-40 capitalize"},lse={key:1,class:"filters shrink-0 h-6"},cse={class:"flex relative"},dse={class:"!text-blue-20 text-tiny font-bold"},use={key:1},fse={class:"flex relative"},hse={class:"!text-blue-20 text-tiny font-bold"},pse={class:"flex relative"},mse={class:"!text-blue-20 text-tiny font-bold"},gse={key:2,class:"actions shrink-0 flex items-center h-6"};function yse(t,e,n,r,i,o){var p;const s=a.resolveComponent("q-icon"),l=a.resolveComponent("q-input"),c=a.resolveComponent("q-badge"),d=a.resolveComponent("q-tooltip"),u=a.resolveComponent("q-popover"),f=a.resolveComponent("q-bottom-sheet");return a.openBlock(),a.createElementBlock("div",{id:t.id,class:"data-filter flex items-center p-4 bg-white"},[a.createElementVNode("div",ose,[t.hasSearch?a.renderSlot(t.$slots,"search",{key:0},()=>[a.createElementVNode("label",sse,[a.createVNode(s,{class:"mr-2 shrink-0",color:"gray-40",icon:"search",size:"md",type:""}),a.createVNode(l,{id:"search","model-value":t.search,"hide-clear":t.mq.md,placeholder:t.searchPlaceholder||t.$t("HC_SEARCH"),class:"text-base grow","control-class":"!border-0 !px-0",size:"xxs","onUpdate:modelValue":t.debouncedSearch},null,8,["model-value","hide-clear","placeholder","onUpdate:modelValue"])])],!0):a.createCommentVNode("",!0)]),t.showResultsCount?a.renderSlot(t.$slots,"resultsCount",{key:0},()=>[a.createElementVNode("div",ase,a.toDisplayString(t.filteredCount===1?"1 "+t.$t("HC_RESULT"):t.$t("HC_X_RESULTS",{count:t.filteredCount})),1)],!0):a.createCommentVNode("",!0),a.renderSlot(t.$slots,"beforeFilters",{},void 0,!0),(p=t.filters)!=null&&p.length?(a.openBlock(),a.createElementBlock("div",lse,[a.renderSlot(t.$slots,"filters",a.normalizeProps(a.guardReactiveProps({filtersCount:t.filtersCount})),()=>[t.$slots.filterContent&&t.mq.md?(a.openBlock(),a.createBlock(u,{key:0,modelValue:t.showFilterPopover,"onUpdate:modelValue":e[0]||(e[0]=h=>t.showFilterPopover=h),reposition:t.repositionPopover,position:"bottom",align:"right",trigger:"click",size:"lg"},{trigger:a.withCtx(({onClick:h})=>[a.createVNode(d,{class:"z-[45] ml-2"},{trigger:a.withCtx(()=>[a.createElementVNode("div",cse,[a.createVNode(s,{class:"filters-icon ml-0 cursor-pointer",color:t.showFilterPopover?"blue-20":"gray-40",icon:"filter",size:"md",onClick:g=>t.onFilterClick(h)},null,8,["color","onClick"]),t.filtersCount?(a.openBlock(),a.createBlock(c,{key:0,class:a.normalizeClass(["filters-count absolute !h-4 !w-4","-top-[0.3125rem] -right-[0.375rem]"]),color:"white"},{text:a.withCtx(()=>[a.createElementVNode("span",dse,a.toDisplayString(t.filtersCount),1)]),_:1})):a.createCommentVNode("",!0)])]),content:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_FILTERS")),1)]),_:2},1024)]),content:a.withCtx(()=>[a.renderSlot(t.$slots,"filterContent",a.normalizeProps(a.guardReactiveProps({closePopover:t.closePopover})),void 0,!0)]),_:3},8,["modelValue","reposition"])):t.$slots.filterSheetContent&&!t.mq.md?(a.openBlock(),a.createElementBlock("div",use,[a.createElementVNode("div",fse,[a.createVNode(s,{class:"filters-icon ml-0 cursor-pointer",color:t.showFilterBottomSheet?"blue-20":"gray-40",icon:"filter",size:"md",onClick:e[1]||(e[1]=h=>t.showFilterBottomSheet=!0)},null,8,["color"]),t.filtersCount?(a.openBlock(),a.createBlock(c,{key:0,class:a.normalizeClass(["filters-count absolute !h-4 !w-4","-top-[0.3125rem] -right-[0.375rem]"]),color:"white"},{text:a.withCtx(()=>[a.createElementVNode("span",hse,a.toDisplayString(t.filtersCount),1)]),_:1})):a.createCommentVNode("",!0)]),a.createVNode(a.Transition,{name:"slide-up-fade",appear:""},{default:a.withCtx(()=>[t.showFilterBottomSheet?(a.openBlock(),a.createBlock(f,{key:0,modelValue:t.showFilterBottomSheet,"onUpdate:modelValue":e[2]||(e[2]=h=>t.showFilterBottomSheet=h),"background-color":"gray-00"},{backAction:a.withCtx(()=>[a.renderSlot(t.$slots,"filterSheetBackAction",a.normalizeProps(a.guardReactiveProps({closeBottomSheet:t.closeBottomSheet})),void 0,!0)]),header:a.withCtx(()=>[a.renderSlot(t.$slots,"filterSheetHeader",{},void 0,!0)]),headerAction:a.withCtx(()=>[a.renderSlot(t.$slots,"filterSheetHeaderAction",a.normalizeProps(a.guardReactiveProps({closeBottomSheet:t.closeBottomSheet})),void 0,!0)]),default:a.withCtx(()=>[a.renderSlot(t.$slots,"filterSheetContent",a.normalizeProps(a.guardReactiveProps({closeBottomSheet:t.closeBottomSheet})),void 0,!0)]),_:3},8,["modelValue"])):a.createCommentVNode("",!0)]),_:3})])):(a.openBlock(),a.createBlock(d,{key:2,class:"z-[45] ml-2"},{trigger:a.withCtx(()=>[a.createElementVNode("div",pse,[a.createVNode(s,{class:"filters-icon ml-0 cursor-pointer",color:t.filtersActive?"blue-20":"gray-40",icon:"filter",size:"md",onClick:e[3]||(e[3]=h=>t.$emit("click:filters"))},null,8,["color"]),t.filtersCount?(a.openBlock(),a.createBlock(c,{key:0,class:a.normalizeClass(["filters-count absolute !h-4 !w-4","-top-[0.3125rem] -right-[0.375rem]"]),color:"white"},{text:a.withCtx(()=>[a.createElementVNode("span",mse,a.toDisplayString(t.filtersCount),1)]),_:1})):a.createCommentVNode("",!0)])]),content:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.$t("HC_FILTERS")),1)]),_:1}))],!0)])):a.createCommentVNode("",!0),t.$slots.actions?(a.openBlock(),a.createElementBlock("div",gse,[a.renderSlot(t.$slots,"actions",{},void 0,!0)])):a.createCommentVNode("",!0)],8,ise)}const kO=Te(rse,[["render",yse],["__scopeId","data-v-a0babcc4"]]),bse=a.defineComponent({name:"QDataList",components:{QBadge:ds,QDataFilter:kO},props:{id:{type:String,default:"data-list"},modelValue:{type:Array,default:()=>[]},hideSearch:{type:Boolean,default:!1},hasSearch:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!1},itemsPerPage:{type:Number,default:50},loading:{type:Boolean,default:!1},noResultMessage:{type:String,default:""},skeletonRows:{type:Number,default:6},type:{type:String,default:"row"}},emits:["filters-action","page-updated","click:list-item"],setup(t,{emit:e}){const{deviceType:n}=u0(),{y:r}=a4(),{y:i}=Rp(window,{behavior:"smooth"}),o=a.ref(0),s=a.ref("down"),l=a.ref(null),c=a.ref(0),d=a.ref(!1),u=a.ref(!0),f=a.ref(en.md?!1:t.hideSearch),p=a.ref(!f.value),h={type:"keyframe",ease:"linear",duration:0,delay:0},g=a.ref(null),b=a.ref(1),y=a.ref(null),w=a.ref(window.innerHeight),{motionProperties:C}=qp(g),{push:k}=Zp(),v=a.computed(()=>n.value==="desktop"),A=a.computed(()=>b.value*t.itemsPerPage-1),S=a.computed(()=>r.value<=0?70:r.value>70?0:70-r.value),M=a.computed(()=>{var F;return Math.ceil(((F=t.modelValue)==null?void 0:F.length)/t.itemsPerPage)||1}),D=F=>{!F.dragging&&r.value<=24&&r.value>=0&&(i.value=0),!F.dragging&&r.value>24&&r.value<70&&(i.value=70),!(r.value>0)&&(d.value?N(F):I(F))};f.value&&Q5(D,{domTarget:g,filterTaps:!0,useTouch:!0,delay:100});const I=F=>{F.tap||F.axis==="x"||(d.value=!0)},N=F=>{if(F.tap||F.axis==="x")return;const H=F.direction[1],_=H>=0,G=H<=0&&r.value<=0;!p.value&&(_||G)&&L(!G,"drag"),d.value=!1},x=async()=>{const F=r.value+w.value,H=l.value.offsetTop+l.value.offsetHeight;F>H-400&&b.value<M.value&&(b.value++,e("page-updated"))},L=async(F,H)=>{if(p.value=F,await a.nextTick(),u.value&&s.value==="up"&&r.value<=0||H==="drag"){const _=S.value?S.value:0;k("y",_,C,h),u.value=!1}},z=()=>{const F=Math.max(0,r.value)>o.value?"down":"up";F!==s.value&&(s.value=F),r.value<70&&L(!0,"scroll"),o.value=Math.max(0,r.value),x()},U=async()=>{w.value=window.innerHeight,await a.nextTick()};return a.onMounted(()=>{f.value?(c.value=g.value.offsetTop-16,window.addEventListener("scroll",z)):window.addEventListener("scroll",x),window.addEventListener("resize",U)}),a.onUnmounted(()=>{f.value?window.removeEventListener("scroll",z):window.removeEventListener("scroll",x),window.removeEventListener("resize",U)}),{dataListRef:l,defaultSearchTop:c,isDragging:d,isSearchVisible:p,hiddenSearch:f,listRef:g,page:b,prevScrollY:o,scrollY:r,scrollToY:i,searchRef:y,windowHeight:w,direction:s,isDesktop:v,lastOnPage:A,searchHeight:S,totalPages:M,onScroll:z,scrollWatcher:x,toggleSearch:L,deviceType:n,mq:en}}}),wse=["id"],Cse=["id"],vse=["id"],kse=["id"],Sse=["id"],Ese=["id"],Mse=["id"],Ase=["id","onClick"],Tse={key:1,class:"list ordered-list"},Ise=["id","onClick"],Ose=["id"],Dse={key:1,class:"list-wrapper"},Nse=["id"],xse=["id"];function Pse(t,e,n,r,i,o){return a.openBlock(),a.createElementBlock("div",{id:t.id,class:a.normalizeClass(["q-data-list",{"has-data-filter":!!t.$slots.dataFilter,"has-no-results":!t.modelValue.length,"is-device":!t.isDesktop,"is-fixed":t.isFixed,"is-loading":t.loading}]),ref:"dataListRef"},[t.hasSearch?a.renderSlot(t.$slots,"search-and-filters",{key:0},()=>[a.createElementVNode("div",{ref:"searchRef",id:`${t.id?t.id+"-":""}search-and-filters`,class:a.normalizeClass(["data-filter-wrapper search-and-filters",{"fixed right-0 left-0 top-0 pt-4 pl-4 pr-4 z-10 bg-white overflow-hidden":t.hiddenSearch},{"is-shown border-b border-gray-20":t.hiddenSearch&&t.isSearchVisible},{"!hidden h-px":t.hiddenSearch&&t.searchHeight<=16}]),style:a.normalizeStyle([t.hiddenSearch&&t.searchHeight>=0?`height: ${t.searchHeight}px;`:"",`top: ${t.defaultSearchTop}px;`])},[t.$slots.dataFilter?(a.openBlock(),a.createElementBlock("div",{key:0,id:`${t.id?t.id+"-":""}data-filter-container`,class:"data-filter-container mb-4"},[a.renderSlot(t.$slots,"dataFilter",{},void 0,!0)],8,vse)):(a.openBlock(),a.createElementBlock("div",{key:1,id:`${t.id?t.id+"-":""}data-filter-loading`,class:"data-filter-container loading-state"},e[0]||(e[0]=[a.createElementVNode("div",{class:"loading-search animate-shimmer bg-gray-10"},null,-1),a.createElementVNode("div",{class:"loading-filters animate-shimmer bg-gray-30"},null,-1)]),8,kse)),a.renderSlot(t.$slots,"search-separator",{},()=>[a.createElementVNode("hr",{class:a.normalizeClass(["search-separator",{"!mb-0 hidden":t.hiddenSearch}])},null,2)],!0)],14,Cse)],!0):a.createCommentVNode("",!0),a.createElementVNode("div",{ref:"listRef",id:`${t.id?t.id+"-":""}outer-wrapper`,class:"outer-list-wrapper select-none"},[t.loading?(a.openBlock(),a.createElementBlock("div",Dse,[a.createElementVNode("ul",{id:`${t.id?t.id+"-":""}loading-list`,class:"list loading-list"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.skeletonRows,s=>(a.openBlock(),a.createElementBlock("li",{key:s,id:`${t.id?t.id+"-":""}loading-list-li-${s}`,class:"list-item"},e[1]||(e[1]=[a.createElementVNode("div",{class:"animate-shimmer bg-gray-30 loading-top mb-3"},null,-1),a.createElementVNode("div",{class:"animate-shimmer bg-gray-10 loading-bottom"},null,-1)]),8,xse))),128))],8,Nse)])):(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.modelValue.length?(a.openBlock(),a.createElementBlock("div",{key:0,id:`${t.id?t.id+"-":""}wrapper`,class:"list-wrapper"},[t.type!=="ordered"?(a.openBlock(),a.createElementBlock("ul",{key:0,id:`${t.id?t.id+"-":""}ul`,class:a.normalizeClass(["list",`${t.type}-list`])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.totalPages,s=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:s},[s<=t.page?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(t.modelValue.slice((s-1)*t.itemsPerPage,(s-1)*t.itemsPerPage+t.itemsPerPage),(l,c)=>(a.openBlock(),a.createElementBlock("li",{id:`${t.id?t.id+"-":""}li-${(s-1)*t.itemsPerPage+c}`,key:c,class:"list-item",onClick:d=>t.$emit("click:list-item",l)},[a.renderSlot(t.$slots,"listItem",a.mergeProps({ref_for:!0},{data:l}),()=>[a.createTextVNode(a.toDisplayString(l),1)],!0)],8,Ase))),128)):a.createCommentVNode("",!0)],64))),128))],10,Mse)):(a.openBlock(),a.createElementBlock("ol",Tse,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.totalPages,s=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:s},[s<=t.page?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(t.modelValue.slice((s-1)*t.itemsPerPage,(s-1)*t.itemsPerPage+t.itemsPerPage),(l,c)=>(a.openBlock(),a.createElementBlock("li",{id:`${t.id?t.id+"-":""}li-${(s-1)*t.itemsPerPage+c}`,key:c,class:"list-item",onClick:d=>t.$emit("click:list-item",l)},[a.renderSlot(t.$slots,"listItem",a.mergeProps({ref_for:!0},{data:l}),()=>[a.createTextVNode(a.toDisplayString(l),1)],!0)],8,Ise))),128)):a.createCommentVNode("",!0)],64))),128))]))],8,Ese)):(a.openBlock(),a.createElementBlock("div",{key:1,id:`${t.id?t.id+"-":""}no-results`,class:"no-results"},[a.renderSlot(t.$slots,"no-results",{},()=>[a.createElementVNode("p",null,a.toDisplayString(t.noResultMessage||t.$t("HC_NO_RESULTS_FOUND")),1)],!0)],8,Ose))],64))],8,Sse)],10,wse)}const Bse=Te(bse,[["render",Pse],["__scopeId","data-v-aedd5d55"]]),Lse=a.defineComponent({name:"QTableCell",props:{id:{type:String,default:""},align:{type:String,default:"left"},isColumnHeader:{type:Boolean,default:!1},sortable:{Boolean,default:!1}},setup(){return{}}}),Rse=["id","align"],Vse=["id","align"];function _se(t,e,n,r,i,o){return t.isColumnHeader?(a.openBlock(),a.createElementBlock("th",{key:0,id:t.id?`${t.id.toString().toLowerCase()}-th`:"",align:t.align,class:a.normalizeClass({"cursor-pointer":t.sortable})},[a.renderSlot(t.$slots,"default",{},void 0,!0)],10,Rse)):(a.openBlock(),a.createElementBlock("td",{key:1,id:t.id?`${t.id.toString().toLowerCase()}-td`:"",align:t.align},[a.renderSlot(t.$slots,"default",{},void 0,!0)],8,Vse))}const Hy=Te(Lse,[["render",_se],["__scopeId","data-v-b1f22bf6"]]),$se=a.defineComponent({name:"QTableHead",components:{QTableCell:Hy},props:{id:{type:String,default:""},columns:{type:Array,default:()=>[]},rowCount:{type:Number,default:0},scrollable:{type:Boolean,default:!1},scrollableContainerX:{type:Number,default:0},scrollMax:{type:Number,default:0},thClasses:{type:String,default:""}},setup(){return{}}}),Fse=["id"],jse=["id"];function Hse(t,e,n,r,i,o){const s=a.resolveComponent("q-table-cell");return a.openBlock(),a.createElementBlock("thead",{id:`${t.id?t.id+"-":""}thead`},[a.createElementVNode("tr",{id:`${t.id?t.id+"-":""}thead-tr`,class:"bg-gray-7"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.columns,(l,c)=>(a.openBlock(),a.createBlock(s,{id:l.key?(t.id?t.id+"-":"")+l.key:l?(t.id?t.id+"-":"")+l:(t.id?t.id+"-":"")+c,"is-column-header":!0,key:c,class:a.normalizeClass([l.key,t.thClasses,`cell-${l.size||"md"}`,{"cursor-default":!l.sortable,"sticky left-0 bg-gray-7 z-20":l.frozen,"text-right":l.key==="actions","left-auto right-0":l.key==="actions"&&l.frozen,"shadow-right":l.frozen&&t.rowCount&&c===0&&t.scrollable&&t.scrollableContainerX>0,"shadow-left":l.frozen&&t.rowCount&&c===t.columns.length-1&&t.scrollable&&t.scrollableContainerX<t.scrollMax}]),sortable:l.sortable,onClick:d=>l.sortable&&t.$emit("click:th",l)},{default:a.withCtx(()=>[a.renderSlot(t.$slots,`head(${l.key||l})`,{},()=>[a.createTextVNode(a.toDisplayString(typeof l=="string"?l:l.name),1)],!0)]),_:2},1032,["id","class","sortable","onClick"]))),128))],8,jse)],8,Fse)}const SO=Te($se,[["render",Hse],["__scopeId","data-v-94510a06"]]),EO="data:image/svg+xml,%3csvg%20width='118'%20height='99'%20viewBox='0%200%20118%2099'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M104.165%2059.815C107.107%2062.7762%20108.893%2066.692%20109.201%2070.8549C109.508%2075.0179%20108.317%2079.1536%20105.842%2082.515L105.642%2082.782L105.412%2083.082L117.521%2095.245C117.828%2095.5546%20118%2095.973%20118%2096.409C118%2096.845%20117.828%2097.2634%20117.521%2097.573C117.232%2097.8651%20116.844%2098.0376%20116.434%2098.0561C116.023%2098.0746%20115.621%2097.9378%20115.307%2097.673L115.207%2097.573L103.122%2085.438L102.822%2085.682C99.4939%2088.3942%2095.2763%2089.772%2090.9889%2089.5476C86.7016%2089.3233%2082.6508%2087.5127%2079.624%2084.468C76.3686%2081.1921%2074.5414%2076.7614%2074.5414%2072.143C74.5414%2067.5247%2076.3686%2063.0939%2079.624%2059.818C81.2316%2058.2001%2083.1433%2056.916%2085.2491%2056.0397C87.3548%2055.1634%2089.6131%2054.7121%2091.8939%2054.7118C94.1747%2054.7115%2096.4331%2055.1622%2098.539%2056.0381C100.645%2056.9139%20102.557%2058.1975%20104.165%2059.815ZM81.935%2062.131C79.2951%2064.7964%2077.8142%2068.3961%2077.8142%2072.1475C77.8142%2075.8989%2079.2951%2079.4986%2081.935%2082.164C83.2368%2083.4792%2084.7865%2084.5233%2086.4944%2085.2358C88.2022%2085.9484%2090.0344%2086.3153%2091.885%2086.3153C93.7355%2086.3153%2095.5678%2085.9484%2097.2756%2085.2358C98.9835%2084.5233%20100.533%2083.4792%20101.835%2082.164C104.475%2079.4986%20105.956%2075.8989%20105.956%2072.1475C105.956%2068.3961%20104.475%2064.7964%20101.835%2062.131C100.533%2060.8158%2098.9835%2059.7717%2097.2756%2059.0592C95.5678%2058.3466%2093.7355%2057.9797%2091.885%2057.9797C90.0344%2057.9797%2088.2022%2058.3466%2086.4944%2059.0592C84.7865%2059.7717%2083.2368%2060.8158%2081.935%2062.131ZM31.4%2075.042V76.442C31.4001%2076.5544%2031.4224%2076.6656%2031.4656%2076.7694C31.5087%2076.8731%2031.5719%2076.9673%2031.6515%2077.0466C31.7311%2077.126%2031.8255%2077.1888%2031.9294%2077.2316C32.0333%2077.2744%2032.1446%2077.2963%2032.257%2077.296H72.357C72.5818%2078.1673%2072.8638%2079.0228%2073.201%2079.857H32.258C31.3506%2079.8589%2030.4796%2079.5003%2029.8366%2078.86C29.1935%2078.2198%2028.8311%2077.3504%2028.829%2076.443V75.043L31.4%2075.042ZM86.162%2022C87.0694%2021.9981%2087.9404%2022.3568%2088.5834%2022.997C89.2265%2023.6372%2089.5889%2024.5066%2089.591%2025.414V51.808C88.7243%2051.9101%2087.8652%2052.0684%2087.019%2052.282V25.414C87.0189%2025.3016%2086.9966%2025.1904%2086.9534%2025.0867C86.9103%2024.9829%2086.8471%2024.8887%2086.7675%2024.8094C86.6879%2024.7301%2086.5935%2024.6672%2086.4896%2024.6244C86.3857%2024.5816%2086.2744%2024.5597%2086.162%2024.56H25.429C25.3166%2024.5597%2025.2053%2024.5816%2025.1014%2024.6244C24.9975%2024.6672%2024.9031%2024.7301%2024.8235%2024.8094C24.7439%2024.8887%2024.6807%2024.9829%2024.6376%2025.0867C24.5944%2025.1904%2024.5721%2025.3016%2024.572%2025.414V69.587C24.5721%2069.6994%2024.5944%2069.8106%2024.6376%2069.9144C24.6807%2070.0181%2024.7439%2070.1123%2024.8235%2070.1916C24.9031%2070.271%2024.9975%2070.3338%2025.1014%2070.3766C25.2053%2070.4194%2025.3166%2070.4413%2025.429%2070.441H71.766C71.697%2071.2932%2071.6806%2072.1488%2071.717%2073.003H25.429C24.5216%2073.0049%2023.6506%2072.6463%2023.0076%2072.006C22.3645%2071.3658%2022.0021%2070.4964%2022%2069.589V25.414C22.0021%2024.5066%2022.3645%2023.6372%2023.0076%2022.997C23.6506%2022.3568%2024.5216%2021.9981%2025.429%2022H86.162ZM77.701%2054.948C77.8695%2054.9484%2078.0362%2054.982%2078.1918%2055.0468C78.3473%2055.1117%2078.4885%2055.2065%2078.6073%2055.3259C78.7262%2055.4453%2078.8204%2055.587%2078.8845%2055.7428C78.9486%2055.8986%2078.9814%2056.0655%2078.981%2056.234C78.9811%2056.2983%2078.9764%2056.3624%2078.967%2056.426C78.557%2056.7693%2078.159%2057.1327%2077.773%2057.516H77.701H34.374C34.0329%2057.516%2033.7058%2057.3805%2033.4647%2057.1393C33.2235%2056.8982%2033.088%2056.5711%2033.088%2056.23C33.088%2055.8889%2033.2235%2055.5618%2033.4647%2055.3207C33.7058%2055.0795%2034.0329%2054.944%2034.374%2054.944L77.701%2054.948ZM92.991%2028.859C93.8984%2028.8571%2094.7694%2029.2158%2095.4124%2029.856C96.0555%2030.4962%2096.4179%2031.3656%2096.42%2032.273V52.168C95.5725%2051.9753%2094.7133%2051.8377%2093.848%2051.756V32.273C93.8479%2032.1606%2093.8256%2032.0494%2093.7824%2031.9457C93.7393%2031.8419%2093.6761%2031.7477%2093.5965%2031.6684C93.5169%2031.5891%2093.4225%2031.5262%2093.3186%2031.4834C93.2147%2031.4406%2093.1034%2031.4187%2092.991%2031.419H91.291V28.858L92.991%2028.859ZM77.701%2046.375C78.0421%2046.375%2078.3692%2046.5105%2078.6103%2046.7517C78.8515%2046.9928%2078.987%2047.3199%2078.987%2047.661C78.987%2048.0021%2078.8515%2048.3292%2078.6103%2048.5703C78.3692%2048.8115%2078.0421%2048.947%2077.701%2048.947H34.374C34.0329%2048.947%2033.7058%2048.8115%2033.4647%2048.5703C33.2235%2048.3292%2033.088%2048.0021%2033.088%2047.661C33.088%2047.3199%2033.2235%2046.9928%2033.4647%2046.7517C33.7058%2046.5105%2034.0329%2046.375%2034.374%2046.375H77.701ZM59.983%2037.801C60.3241%2037.801%2060.6512%2037.9365%2060.8923%2038.1777C61.1335%2038.4188%2061.269%2038.7459%2061.269%2039.087C61.269%2039.4281%2061.1335%2039.7552%2060.8923%2039.9963C60.6512%2040.2375%2060.3241%2040.373%2059.983%2040.373H34.374C34.0329%2040.373%2033.7058%2040.2375%2033.4647%2039.9963C33.2235%2039.7552%2033.088%2039.4281%2033.088%2039.087C33.088%2038.7459%2033.2235%2038.4188%2033.4647%2038.1777C33.7058%2037.9365%2034.0329%2037.801%2034.374%2037.801H59.983Z'%20fill='%238D9AA5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%200C4.2066%200%204.40475%200.0820729%204.55084%200.228164C4.69693%200.374255%204.779%200.572397%204.779%200.779V3.221H7.221C7.41393%203.221%207.6%203.29258%207.74317%203.4219C7.88634%203.55122%207.97643%203.72907%207.996%203.921V4.001C7.996%204.2076%207.91393%204.40575%207.76784%204.55184C7.62175%204.69793%207.4236%204.78%207.217%204.78H4.779V7.222C4.779%207.41493%204.70742%207.601%204.5781%207.74417C4.44878%207.88734%204.27093%207.97744%204.079%207.997H3.999C3.7924%207.997%203.59425%207.91493%203.44816%207.76884C3.30207%207.62275%203.22%207.4246%203.22%207.218V4.779H0.779C0.585538%204.78002%200.398617%204.70902%200.254623%204.57981C0.110629%204.45061%200.0198653%204.27244%200%204.08V4C0%203.7934%200.082073%203.59526%200.228164%203.44916C0.374255%203.30307%200.572396%203.221%200.779%203.221H3.221V0.779C3.221%200.586071%203.29258%200.400004%203.4219%200.256831C3.55122%200.113658%203.72907%200.023565%203.921%200.00399971L4%200Z'%20fill='%238D9AA5'/%3e%3cpath%20d='M11%2099C11.5304%2099%2012.0391%2098.7893%2012.4142%2098.4142C12.7893%2098.0391%2013%2097.5304%2013%2097C13%2096.4696%2012.7893%2095.9609%2012.4142%2095.5858C12.0391%2095.2107%2011.5304%2095%2011%2095C10.4696%2095%209.96086%2095.2107%209.58579%2095.5858C9.21071%2095.9609%209%2096.4696%209%2097C9%2097.5304%209.21071%2098.0391%209.58579%2098.4142C9.96086%2098.7893%2010.4696%2099%2011%2099Z'%20fill='%238D9AA5'/%3e%3cpath%20d='M104.518%2015.035C103.055%2015.035%20101.651%2014.4538%20100.617%2013.4192C99.5817%2012.3846%2099.0003%2010.9813%2099%209.518C99%208.05454%2099.5814%206.65101%20100.616%205.61619C101.651%204.58136%20103.055%204%20104.518%204C105.981%204%20107.385%204.58136%20108.42%205.61619C109.455%206.65101%20110.036%208.05454%20110.036%209.518C110.036%2010.9813%20109.454%2012.3846%20108.419%2013.4192C107.385%2014.4538%20105.981%2015.035%20104.518%2015.035ZM104.518%2013.035C105.451%2013.035%20106.346%2012.6645%20107.005%2012.005C107.665%2011.3454%20108.036%2010.4509%20108.036%209.518C108.036%209.05601%20107.945%208.59854%20107.768%208.17172C107.591%207.7449%20107.332%207.35707%20107.006%207.0304C106.679%206.70372%20106.291%206.44459%20105.864%206.26779C105.437%206.091%20104.98%206%20104.518%206C103.585%206%20102.69%206.37065%20102.03%207.0304C101.371%207.69015%20101%208.58497%20101%209.518C101%2010.4509%20101.371%2011.3454%20102.031%2012.005C102.69%2012.6645%20103.585%2013.035%20104.518%2013.035Z'%20fill='%238D9AA5'/%3e%3c/svg%3e",zse=a.defineComponent({name:"QDataTable",components:{QDataTableCell:Hy,QDataTableHead:SO,QTooltip:d0},props:{id:{type:String,default:"table"},modelValue:{type:Array,default:()=>[]},canClickRow:{type:Boolean,default:!1},columns:{type:Array,default:()=>[]},currentPage:{type:Number,default:1},fixedTopOffset:{type:Number,default:0},hasSearch:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!1},isMultiSort:{type:Boolean,default:!1},isMultiSelect:{type:Boolean,default:!1},selected:{type:Array,default:void 0},itemsPerPage:{type:Number,default:50},leftScrollAmount:{type:Number,default:200},loading:{type:Boolean,default:!1},orderBy:{type:String,default:""},rightScrollAmount:{type:Number,default:200},searchDelay:{type:Number,default:300},searchPlaceholder:{type:String,default:""},skeletonRows:{type:Number,default:6},sortBy:{type:String,default:""},tdClasses:{type:String,default:"text-sm"},thClasses:{type:String,default:"text-xs cursor-pointer"},thHeight:{type:Number,default:48}},emits:["click:row","deselect:row","select:row","update:order-by","update:selected","update:sort-by"],setup(t,{emit:e}){const{deviceType:n}=u0(),r=a.ref(),i=a.ref(),o=a.ref(),s=a.ref(),l=a.ref(),c=a.ref(0),{x:d}=Rp(o,{behavior:"auto"}),{x:u}=Rp(i,{behavior:"auto"}),{y:f}=a4(),{bottom:p,top:h,width:g,height:b}=$L(o),y=a.ref(0),w=a.ref(0),C=a.ref(0),k=a.ref(window.innerHeight),v=a.ref(0),A=a.ref(!1),S=a.ref(1),M=a.ref(!1),D=a.ref(0),I=a.computed(()=>t.selected!==void 0&&t.selected!==null),N=a.ref(t.selected?[...t.selected]:[]),x=a.computed({get(){return I.value?t.selected||[]:N.value},set(de){I.value||(N.value=de),e("update:selected",de)}}),L=()=>{M.value=!!t.modelValue.length&&x.value.length===t.modelValue.length&&!!x.value.length},z=a.computed(()=>n.value==="desktop"),U=a.computed(()=>S.value*t.itemsPerPage-1),F=a.computed(()=>t.isFixed&&f.value>=C.value),H=a.computed(()=>_.value>0),_=a.computed(()=>o.value?c.value-g.value:0),G=a.computed(()=>(!z.value||A.value)&&d.value>0&&t.modelValue.length&&!t.loading),J=a.computed(()=>(!z.value||A.value)&&d.value<_.value&&t.modelValue.length&&!t.loading),ee=a.computed(()=>{const de=[],Ee={};let Ne=0;return t.columns.forEach(je=>{Ee[je.key]=""}),[...Array(t.skeletonRows)].forEach(()=>{de.push({...Ee,shimmer:Ne%2?"bg-gray-10":"bg-gray-30"}),Ne++}),de}),ce=a.computed(()=>{var de;return Math.ceil(((de=t.modelValue)==null?void 0:de.length)/t.itemsPerPage)||1}),Q=()=>{var Ee;let de=0;if(H.value){const Ne=(((Ee=r.value)==null?void 0:Ee.clientHeight)||0)+t.thHeight,je=s.value.clientHeight+s.value.offsetTop;k.value<je?de=(k.value-(s.value.offsetTop+Ne))/2:de=(s.value.clientHeight-Ne)/2}v.value=de},$=()=>{d.value=o.value.scrollLeft,u.value=o.value.scrollLeft},P=()=>{u.value=i.value.scrollLeft,d.value=i.value.scrollLeft},R=async()=>{var de;c.value=(de=o.value)==null?void 0:de.scrollWidth,k.value=window.innerHeight,Q(),await a.nextTick()},V=async()=>{const de=f.value+k.value-t.fixedTopOffset,Ee=C.value+b.value;de>Ee-400&&S.value<ce.value&&S.value++,Q()},Z=(de,Ee,Ne)=>{const je=de.scrollLeft,qe=Ee-je,It=performance.now(),Xt=()=>{const Ct=performance.now()-It,er=Math.min(Ct/Ne,1);de.scrollLeft=je+qe*er,er<1&&requestAnimationFrame(Xt)};requestAnimationFrame(Xt)},re=()=>{Z(o.value,d.value-t.leftScrollAmount,250)},fe=()=>{Z(o.value,d.value+t.leftScrollAmount,250)},le=(de,Ee)=>{const Ne=[...x.value],je=Ne.indexOf(Ee);je<0&&de&&(Ne.push(Ee),e("select:row",Ee)),je>=0&&!de&&(Ne.splice(je,1),e("deselect:row",Ee)),x.value=Ne,L()},me=de=>{const Ee=[];de&&t.modelValue.forEach(Ne=>{Ee.push(Ne)}),x.value=Ee,L()},De=de=>{if(!(de!=null&&de.sortable))return;const Ee=de.key,Ne=t.orderBy===""||t.sortBy!==Ee?"asc":t.orderBy==="asc"?"desc":"";e("update:sort-by",Ee),e("update:order-by",Ne)};return a.watch(()=>t.modelValue,()=>{L(),Q()}),a.watch(()=>t.loading,async()=>{await a.nextTick(),Q()}),a.watch(x,()=>{L()},{deep:!0}),a.onMounted(()=>{var de,Ee,Ne,je,qe;C.value=s.value.offsetTop-t.fixedTopOffset,c.value=(de=o.value)==null?void 0:de.scrollWidth,D.value=s.value.offsetLeft+1,y.value=(Ne=(Ee=s.value)==null?void 0:Ee.querySelector("table > thead > tr > th:first-child"))==null?void 0:Ne.clientWidth,w.value=(qe=(je=s.value)==null?void 0:je.querySelector("table > thead > tr > th:last-child"))==null?void 0:qe.clientWidth,window.addEventListener("resize",R),window.addEventListener("scroll",V),o.value.addEventListener("scroll",$),i.value.addEventListener("scroll",P)}),a.onUnmounted(()=>{window.removeEventListener("resize",R),window.removeEventListener("scroll",V),o.value&&o.value.removeEventListener("scroll",$),i.value&&i.value.removeEventListener("scroll",P)}),{deviceType:n,mq:en,noResults:EO,allCheckboxSelected:M,dataFilterContainer:r,fixedScrollableContainer:i,fixedScrollableContainerX:u,hovered:A,leftScrollButtonX:y,page:S,rightScrollButtonX:w,scrollButtonTop:v,scrollableContainer:o,scrollableContainerBottom:p,scrollableContainerHeight:b,scrollableContainerTop:h,scrollableContainerWidth:g,scrollableContainerX:d,scrollWidth:c,selectedRows:x,tableContainer:s,tableLeftOffset:D,tbodyContainer:l,totalOffset:C,windowHeight:k,windowY:f,isDesktop:z,lastOnPage:U,pinHeaders:F,scrollable:H,scrollMax:_,showLeftScrollButton:G,showRightScrollButton:J,skeletonData:ee,totalPages:ce,handleScroll:$,handleFixedScroll:P,onClickColumnHeader:De,onUpdateCheckbox:le,onUpdateAllCheckboxes:me,getScrollButtonTop:Q,scrollWatcher:V,smoothScroll:Z,triggerScrollLeft:re,triggerScrollRight:fe}}}),Use=["id"],Zse=["id"],qse={class:a.normalizeClass(["fixed-scrollable overflow-x-auto overflow-y-hidden z-20"]),ref:"fixedScrollableContainer"},Wse={class:"min-w-full"},Gse={class:"flex items-center"},Kse={key:0},Yse=["id"],Qse={class:"min-w-full"},Xse={class:"flex items-center"},Jse={key:0},eae=["id"],tae=["id","onClick"],nae={key:1,id:"no-results",class:a.normalizeClass(["flex flex-col items-center justify-center","bg-white rounded-b-lg p-12"])},rae=["src"],iae={class:"font-bold text-inkwell-0 text-base"};function oae(t,e,n,r,i,o){var u,f,p;const s=a.resolveComponent("q-checkbox"),l=a.resolveComponent("q-data-table-head"),c=a.resolveComponent("q-data-table-cell"),d=a.resolveComponent("q-icon");return a.openBlock(),a.createElementBlock("div",a.mergeProps({id:t.id,class:["table-container relative border border-gray-20 rounded-lg",{"has-data-filter":!!t.$slots.dataFilter,"has-no-results":!t.modelValue.length,"has-pinned-headers":t.pinHeaders,"is-device":!t.isDesktop,"is-fixed":t.isFixed,"is-loading":t.loading,scrollable:t.scrollable}],style:`
|
|
252
252
|
padding-top: ${t.isFixed&&t.pinHeaders&&((u=t.dataFilterContainer)==null?void 0:u.clientHeight)||0}px;
|
|
253
253
|
`,ref:"tableContainer"},{[a.toHandlerKey(t.isDesktop&&"mouseenter")]:e[7]||(e[7]=h=>{t.hovered=!0,t.getScrollButtonTop()})},{[a.toHandlerKey(t.isDesktop&&"mouseleave")]:e[8]||(e[8]=h=>t.hovered=!1)}),[t.$slots.dataFilter?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["data-filter-container rounded-t-lg z-30",{"fixed z-20 border border-b-0 border-gray-20 -ml-px -mt-px":t.isFixed&&t.pinHeaders}]),style:a.normalizeStyle(`
|
|
254
254
|
top: ${t.isFixed&&t.pinHeaders?t.fixedTopOffset:0}px;
|
package/package.json
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_10897_24345)">
|
|
3
|
+
<rect width="20" height="20" rx="4" fill="#5DB407"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M-1 2H21V17.4012H-1V2Z" fill="#5DB407"/>
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.0538 15.1587C15.5865 15.3548 15.0999 15.4318 14.6059 15.4454C14.405 15.4509 14.2027 15.4454 14 15.4341C13.5962 15.4109 13.1907 15.3607 12.7903 15.3132C12.5157 15.2807 12.2433 15.2493 11.9753 15.2289C11.6913 15.2072 11.4049 15.2011 11.1169 15.2064C10.4144 15.2195 9.70509 15.3004 9.00634 15.3873C8.75435 15.4189 8.50366 15.4511 8.25539 15.4813C7.9274 15.5212 7.58444 15.5483 7.23677 15.5568C6.83276 15.568 6.42846 15.5498 6.02707 15.5024C5.81439 15.4769 5.60316 15.4406 5.39419 15.3935C3.95875 15.0675 2.75403 14.2086 2.5551 12.3583C2.45258 11.3462 2.65705 10.3266 3.14191 9.43222C3.29707 9.15243 3.85493 8.17617 4.94342 7.64055C5.77494 7.23128 6.71969 7.19606 7.62565 7.391C8.25311 7.5259 8.86131 7.77104 9.40092 8.07878C9.56819 8.17418 9.7339 8.27571 9.89889 8.38081C10.083 8.49803 10.2662 8.61939 10.4499 8.74117C11.3274 9.32328 12.2141 9.91095 13.2402 10.0705C13.2688 10.0751 13.2976 10.0792 13.3267 10.0829C13.4759 10.1016 13.626 10.1125 13.7764 10.1156C14.0524 10.1227 14.3293 10.1112 14.6059 10.1093C14.7187 10.1093 14.8314 10.1093 14.9439 10.1137C16.0317 10.1557 16.9908 10.7412 17.3425 11.9047C17.7254 13.1727 17.2381 14.6618 16.0538 15.1587L16.0538 15.1587Z" fill="#9CD662"/>
|
|
6
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.3375 7.46681H12.3732V4.62173C12.3732 4.47437 12.2537 4.35492 12.1063 4.35492H11.891V3.96689C11.891 3.8256 11.7765 3.71106 11.6352 3.71106H8.36158C8.22029 3.71106 8.10575 3.8256 8.10575 3.96689V4.35492H7.89042C7.74306 4.35492 7.62361 4.47437 7.62361 4.62173V7.46681H5.65924C5.51195 7.46688 5.39258 7.58632 5.39258 7.73362V15.3936C5.60154 15.4406 5.81277 15.477 6.02545 15.5025V14.8065C6.02545 14.4843 6.26859 14.203 6.59002 14.1821C6.75708 14.171 6.92128 14.2296 7.04354 14.344C7.1658 14.4584 7.23518 14.6184 7.23516 14.7858V15.5568C7.58283 15.5484 7.92565 15.5213 8.25378 15.4814C8.50205 15.4512 8.75289 15.4189 9.00472 15.3874V14.3451C9.00472 13.7623 9.47718 13.2899 10.06 13.2899C10.6428 13.2899 11.1153 13.7623 11.1153 14.3451V15.2065C11.403 15.2012 11.6897 15.2073 11.9737 15.229C12.2417 15.2494 12.5141 15.2808 12.7887 15.3133V14.7856C12.7886 14.4516 13.0595 14.1807 13.3936 14.1807C13.7277 14.1807 13.9985 14.4515 13.9985 14.7856L13.9984 15.4341C14.2011 15.446 14.4034 15.4509 14.6043 15.4453V7.73362C14.6043 7.58626 14.4849 7.46681 14.3375 7.46681ZM7.01796 12.4604C7.018 12.4805 7.01004 12.4997 6.99583 12.514C6.98162 12.5282 6.96234 12.5361 6.94224 12.5361H6.31807C6.27625 12.5361 6.24235 12.5022 6.24235 12.4604V11.8362C6.24235 11.7944 6.27625 11.7605 6.31807 11.7605H6.94224C6.98406 11.7605 7.01796 11.7944 7.01796 11.8362V12.4604ZM7.01796 10.7706C7.01796 10.8124 6.98406 10.8463 6.94224 10.8463H6.31807C6.27625 10.8463 6.24235 10.8124 6.24235 10.7706V10.1463C6.24235 10.1045 6.27625 10.0706 6.31807 10.0706H6.94224C6.98406 10.0706 7.01796 10.1045 7.01796 10.1463V10.7706ZM7.01796 9.08097C7.01796 9.12279 6.98406 9.15669 6.94224 9.15669H6.31807C6.27625 9.15669 6.24235 9.12279 6.24235 9.08097V8.45651C6.24235 8.41469 6.27625 8.38079 6.31807 8.38079H6.94224C6.98406 8.38079 7.01796 8.41469 7.01796 8.45651V9.08097ZM13.0059 8.45646C13.0059 8.41464 13.0398 8.38074 13.0816 8.38074H13.7058C13.7476 8.38074 13.7815 8.41464 13.7815 8.45646V9.08078C13.7815 9.1226 13.7476 9.1565 13.7058 9.1565H13.0816C13.0398 9.1565 13.0059 9.1226 13.0059 9.08078V8.45646ZM11.1154 5.07683C11.1154 5.03501 11.1493 5.0011 11.1911 5.0011H11.8154C11.8572 5.0011 11.8911 5.03501 11.8911 5.07683V5.70143C11.8911 5.74325 11.8572 5.77715 11.8154 5.77715H11.1911C11.1493 5.77715 11.1154 5.74325 11.1154 5.70143V5.07683ZM11.1154 6.76661C11.1154 6.72479 11.1493 6.69089 11.1911 6.69089H11.8154C11.8572 6.69089 11.8911 6.72479 11.8911 6.76661V7.39078C11.8911 7.4326 11.8572 7.46651 11.8154 7.46651H11.1911C11.1493 7.46651 11.1154 7.4326 11.1154 7.39078V6.76661ZM11.1154 8.45639C11.1154 8.41457 11.1493 8.38067 11.1911 8.38067H11.8154C11.8572 8.38067 11.8911 8.41457 11.8911 8.45639V9.08071C11.8911 9.12253 11.8572 9.15643 11.8154 9.15643H11.1911C11.1493 9.15643 11.1154 9.12253 11.1154 9.08071V8.45639ZM9.67188 5.07682C9.67188 5.035 9.70578 5.0011 9.7476 5.0011H10.3719C10.4137 5.0011 10.4476 5.035 10.4476 5.07682V5.70142C10.4476 5.74324 10.4137 5.77714 10.3719 5.77714H9.74817C9.72799 5.77729 9.70858 5.76939 9.69425 5.75517C9.67993 5.74095 9.67188 5.7216 9.67188 5.70142V5.07682ZM9.67188 6.76664C9.67188 6.72482 9.70578 6.69092 9.7476 6.69092H10.3719C10.4137 6.69092 10.4476 6.72482 10.4476 6.76664V7.39081C10.4476 7.43264 10.4137 7.46654 10.3719 7.46654H9.74817C9.70635 7.46654 9.67245 7.43264 9.67245 7.39081L9.67188 6.76664ZM8.23047 5.07682C8.23047 5.035 8.26437 5.0011 8.30619 5.0011H8.93051C8.97233 5.0011 9.00623 5.035 9.00623 5.07682V5.70142C9.00623 5.74324 8.97233 5.77714 8.93051 5.77714H8.30619C8.26437 5.77714 8.23047 5.74324 8.23047 5.70142V5.07682ZM8.23047 6.76664C8.23047 6.72482 8.26437 6.69092 8.30619 6.69092H8.93051C8.97233 6.69092 9.00623 6.72482 9.00623 6.76664V7.39081C9.00623 7.43264 8.97233 7.46654 8.93051 7.46654H8.30619C8.26437 7.46654 8.23047 7.43264 8.23047 7.39081V6.76664ZM9.00623 12.4601C9.00623 12.5019 8.97233 12.5358 8.93051 12.5358H8.30619C8.26437 12.5358 8.23047 12.5019 8.23047 12.4601V11.8362C8.23047 11.7944 8.26437 11.7605 8.30619 11.7605H8.93051C8.97233 11.7605 9.00623 11.7944 9.00623 11.8362V12.4601ZM9.00623 10.7703C9.00623 10.8121 8.97233 10.846 8.93051 10.846H8.30619C8.26437 10.846 8.23047 10.8121 8.23047 10.7703V10.1463C8.23047 10.1045 8.26437 10.0706 8.30619 10.0706H8.93051C8.97233 10.0706 9.00623 10.1045 9.00623 10.1463V10.7703ZM9.00623 9.08063C9.00623 9.12245 8.97233 9.15636 8.93051 9.15636H8.30619C8.26437 9.15636 8.23047 9.12245 8.23047 9.08063V8.45646C8.23047 8.41464 8.26437 8.38074 8.30619 8.38074H8.93051C8.97233 8.38074 9.00623 8.41464 9.00623 8.45646V9.08063ZM10.4476 12.4604C10.4476 12.5022 10.4137 12.5361 10.3719 12.5361H9.7476C9.70578 12.5361 9.67188 12.5022 9.67188 12.4604V11.8362C9.67188 11.7944 9.70578 11.7605 9.7476 11.7605H10.3719C10.4137 11.7605 10.4476 11.7944 10.4476 11.8362V12.4604ZM10.4476 10.7706C10.4476 10.8124 10.4137 10.8463 10.3719 10.8463H9.7476C9.70578 10.8463 9.67188 10.8124 9.67188 10.7706V10.1463C9.67188 10.1045 9.70578 10.0706 9.7476 10.0706H10.3719C10.4137 10.0706 10.4476 10.1045 10.4476 10.1463V10.7706ZM10.4476 9.08092C10.4476 9.12274 10.4137 9.15664 10.3719 9.15664H9.7476C9.70578 9.15664 9.67188 9.12274 9.67188 9.08092V8.45646C9.67188 8.41464 9.70578 8.38074 9.7476 8.38074H10.3719C10.4137 8.38074 10.4476 8.41464 10.4476 8.45646V9.08092ZM11.8911 12.4607C11.8911 12.5025 11.8572 12.5364 11.8154 12.5364H11.1911C11.1493 12.5364 11.1154 12.5025 11.1154 12.4607V11.8362C11.1154 11.7944 11.1493 11.7605 11.1911 11.7605H11.8154C11.8572 11.7605 11.8911 11.7944 11.8911 11.8362V12.4607ZM11.8911 10.7709C11.8911 10.8127 11.8572 10.8466 11.8154 10.8466H11.1911C11.1493 10.8466 11.1154 10.8127 11.1154 10.7709V10.1463C11.1154 10.1045 11.1493 10.0706 11.1911 10.0706H11.8154C11.8572 10.0706 11.8911 10.1045 11.8911 10.1463V10.7709ZM13.7815 12.4604C13.7815 12.4805 13.7736 12.4998 13.7593 12.514C13.7451 12.5282 13.7259 12.5362 13.7058 12.5361H13.0816C13.0615 12.5362 13.0422 12.5282 13.028 12.514C13.0138 12.4998 13.0058 12.4805 13.0059 12.4604V11.8362C13.0059 11.7944 13.0398 11.7605 13.0816 11.7605H13.7058C13.7476 11.7605 13.7815 11.7944 13.7815 11.8362L13.7815 12.4604ZM13.7815 10.7706C13.7815 10.8124 13.7476 10.8463 13.7058 10.8463H13.0816C13.0398 10.8463 13.0059 10.8124 13.0059 10.7706V10.1463C13.0059 10.1045 13.0398 10.0706 13.0816 10.0706H13.7058C13.7357 10.0706 13.7628 10.0882 13.7749 10.1156C13.7793 10.1253 13.7815 10.1357 13.7815 10.1463V10.7706Z" fill="#E9F7DA"/>
|
|
7
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.262 9.11529C16.3506 9.11529 16.4224 9.04346 16.4224 8.95486C16.4224 8.86626 16.3506 8.79443 16.262 8.79443C16.1734 8.79443 16.1016 8.86626 16.1016 8.95486C16.1016 9.04346 16.1734 9.11529 16.262 9.11529Z" fill="#9CD662"/>
|
|
8
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5159 9.11529C16.6045 9.11529 16.6763 9.04346 16.6763 8.95486C16.6763 8.86626 16.6045 8.79443 16.5159 8.79443C16.4273 8.79443 16.3555 8.86626 16.3555 8.95486C16.3555 9.04346 16.4273 9.11529 16.5159 9.11529Z" fill="#9CD662"/>
|
|
9
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.7698 9.11529C16.8584 9.11529 16.9302 9.04346 16.9302 8.95486C16.9302 8.86626 16.8584 8.79443 16.7698 8.79443C16.6812 8.79443 16.6094 8.86626 16.6094 8.95486C16.6094 9.04346 16.6812 9.11529 16.7698 9.11529Z" fill="#9CD662"/>
|
|
10
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.262 9.36895C16.3506 9.36895 16.4224 9.29713 16.4224 9.20852C16.4224 9.11992 16.3506 9.0481 16.262 9.0481C16.1734 9.0481 16.1016 9.11992 16.1016 9.20852C16.1016 9.29713 16.1734 9.36895 16.262 9.36895Z" fill="#9CD662"/>
|
|
11
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5159 9.36895C16.6045 9.36895 16.6763 9.29713 16.6763 9.20852C16.6763 9.11992 16.6045 9.0481 16.5159 9.0481C16.4273 9.0481 16.3555 9.11992 16.3555 9.20852C16.3555 9.29713 16.4273 9.36895 16.5159 9.36895Z" fill="#9CD662"/>
|
|
12
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.7698 9.36895C16.8584 9.36895 16.9302 9.29713 16.9302 9.20852C16.9302 9.11992 16.8584 9.0481 16.7698 9.0481C16.6812 9.0481 16.6094 9.11992 16.6094 9.20852C16.6094 9.29713 16.6812 9.36895 16.7698 9.36895Z" fill="#9CD662"/>
|
|
13
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.262 9.62274C16.3506 9.62274 16.4224 9.55091 16.4224 9.46231C16.4224 9.37371 16.3506 9.30188 16.262 9.30188C16.1734 9.30188 16.1016 9.37371 16.1016 9.46231C16.1016 9.55091 16.1734 9.62274 16.262 9.62274Z" fill="#9CD662"/>
|
|
14
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5159 9.62274C16.6045 9.62274 16.6763 9.55091 16.6763 9.46231C16.6763 9.37371 16.6045 9.30188 16.5159 9.30188C16.4273 9.30188 16.3555 9.37371 16.3555 9.46231C16.3555 9.55091 16.4273 9.62274 16.5159 9.62274Z" fill="#9CD662"/>
|
|
15
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.7698 9.62274C16.8584 9.62274 16.9302 9.55091 16.9302 9.46231C16.9302 9.37371 16.8584 9.30188 16.7698 9.30188C16.6812 9.30188 16.6094 9.37371 16.6094 9.46231C16.6094 9.55091 16.6812 9.62274 16.7698 9.62274Z" fill="#9CD662"/>
|
|
16
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.32449 6.42095C4.41309 6.42095 4.48492 6.34913 4.48492 6.26053C4.48492 6.17192 4.41309 6.1001 4.32449 6.1001C4.23589 6.1001 4.16406 6.17192 4.16406 6.26053C4.16406 6.34913 4.23589 6.42095 4.32449 6.42095Z" fill="#9CD662"/>
|
|
17
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5784 6.42095C4.667 6.42095 4.73883 6.34913 4.73883 6.26053C4.73883 6.17192 4.667 6.1001 4.5784 6.1001C4.48979 6.1001 4.41797 6.17192 4.41797 6.26053C4.41797 6.34913 4.48979 6.42095 4.5784 6.42095Z" fill="#9CD662"/>
|
|
18
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.8323 6.42095C4.92091 6.42095 4.99273 6.34913 4.99273 6.26053C4.99273 6.17192 4.92091 6.1001 4.8323 6.1001C4.7437 6.1001 4.67188 6.17192 4.67188 6.26053C4.67188 6.34913 4.7437 6.42095 4.8323 6.42095Z" fill="#9CD662"/>
|
|
19
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.32449 6.67474C4.41309 6.67474 4.48492 6.60291 4.48492 6.51431C4.48492 6.42571 4.41309 6.35388 4.32449 6.35388C4.23589 6.35388 4.16406 6.42571 4.16406 6.51431C4.16406 6.60291 4.23589 6.67474 4.32449 6.67474Z" fill="#9CD662"/>
|
|
20
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5784 6.67474C4.667 6.67474 4.73883 6.60291 4.73883 6.51431C4.73883 6.42571 4.667 6.35388 4.5784 6.35388C4.48979 6.35388 4.41797 6.42571 4.41797 6.51431C4.41797 6.60291 4.48979 6.67474 4.5784 6.67474Z" fill="#9CD662"/>
|
|
21
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.8323 6.67474C4.92091 6.67474 4.99273 6.60291 4.99273 6.51431C4.99273 6.42571 4.92091 6.35388 4.8323 6.35388C4.7437 6.35388 4.67188 6.42571 4.67188 6.51431C4.67188 6.60291 4.7437 6.67474 4.8323 6.67474Z" fill="#9CD662"/>
|
|
22
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.32449 6.92852C4.41309 6.92852 4.48492 6.8567 4.48492 6.76809C4.48492 6.67949 4.41309 6.60767 4.32449 6.60767C4.23589 6.60767 4.16406 6.67949 4.16406 6.76809C4.16406 6.8567 4.23589 6.92852 4.32449 6.92852Z" fill="#9CD662"/>
|
|
23
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5784 6.92852C4.667 6.92852 4.73883 6.8567 4.73883 6.76809C4.73883 6.67949 4.667 6.60767 4.5784 6.60767C4.48979 6.60767 4.41797 6.67949 4.41797 6.76809C4.41797 6.8567 4.48979 6.92852 4.5784 6.92852Z" fill="#9CD662"/>
|
|
24
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.8323 6.92852C4.92091 6.92852 4.99273 6.8567 4.99273 6.76809C4.99273 6.67949 4.92091 6.60767 4.8323 6.60767C4.7437 6.60767 4.67188 6.67949 4.67188 6.76809C4.67188 6.8567 4.7437 6.92852 4.8323 6.92852Z" fill="#9CD662"/>
|
|
25
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.17011 5.73925C6.14772 5.74168 6.12855 5.74799 6.11698 5.75672C6.1054 5.76545 6.10241 5.77586 6.10869 5.78557L6.25589 6.03066C6.26156 6.0404 6.27608 6.0487 6.29607 6.05364C6.31606 6.05858 6.33981 6.05974 6.3618 6.05684C6.38411 6.05434 6.40318 6.04802 6.41474 6.03931C6.4263 6.03059 6.42936 6.02022 6.42324 6.01051L6.27602 5.7638C6.26955 5.75436 6.2547 5.74645 6.2348 5.74184C6.21489 5.73722 6.1916 5.73629 6.17012 5.73925H6.17011Z" fill="#9CD662"/>
|
|
26
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.2636 6.09818C6.24138 6.10072 6.2224 6.10702 6.21087 6.11568C6.19934 6.12434 6.19621 6.13464 6.20218 6.14431L6.34938 6.38997C6.35519 6.39963 6.36972 6.40785 6.38968 6.41276C6.40964 6.41767 6.43331 6.41885 6.45529 6.41603C6.50161 6.41073 6.52933 6.39009 6.51725 6.3699L6.36951 6.12425C6.36371 6.11459 6.34917 6.10636 6.32921 6.10145C6.30926 6.09654 6.28558 6.09536 6.2636 6.09818V6.09818Z" fill="#9CD662"/>
|
|
27
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.18601 6.02502L5.94012 6.17606C5.92009 6.18803 5.90811 6.23463 5.91333 6.28022C5.91584 6.30202 5.92213 6.3206 5.93075 6.33168C5.93938 6.34277 5.94962 6.34544 5.95912 6.33907L6.20502 6.18752C6.2147 6.18203 6.22299 6.16785 6.22799 6.14823C6.233 6.1286 6.23429 6.1052 6.23157 6.08335C6.22907 6.06168 6.22281 6.04324 6.21422 6.03225C6.20564 6.02126 6.19546 6.01865 6.18602 6.02503L6.18601 6.02502Z" fill="#9CD662"/>
|
|
28
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.549 5.92676L6.30318 6.07806C6.28325 6.09025 6.27139 6.13671 6.27663 6.18205C6.27914 6.20382 6.28542 6.22237 6.29405 6.23343C6.30267 6.2445 6.3129 6.24717 6.32241 6.2408L6.56846 6.08949C6.58839 6.0773 6.60025 6.03086 6.59501 5.9855C6.59245 5.96368 6.58612 5.94515 6.57746 5.93408C6.5688 5.92301 6.55853 5.92037 6.549 5.92675V5.92676Z" fill="#9CD662"/>
|
|
29
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.57201 5.27015C5.52632 5.27562 5.49901 5.29584 5.51039 5.31576L5.65887 5.56169C5.66451 5.57132 5.67885 5.57957 5.69866 5.58458C5.71846 5.5896 5.74209 5.59096 5.76422 5.58837C5.78638 5.58586 5.80531 5.57965 5.81687 5.57109C5.82843 5.56253 5.83165 5.55234 5.82584 5.54276L5.67797 5.29683C5.67234 5.28714 5.65791 5.27884 5.63797 5.27382C5.61802 5.2688 5.59423 5.26748 5.572 5.27015L5.57201 5.27015Z" fill="#9CD662"/>
|
|
30
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.65403 5.58106C5.60834 5.58653 5.58103 5.60675 5.59243 5.62667L5.74091 5.87255C5.7464 5.88222 5.76071 5.89051 5.78056 5.89554C5.80041 5.90056 5.82412 5.90189 5.84627 5.89922C5.86842 5.89671 5.88736 5.8905 5.8989 5.88194C5.91047 5.87339 5.91368 5.8632 5.90787 5.85362L5.75939 5.60773C5.7539 5.59806 5.73959 5.58977 5.71974 5.58475C5.69989 5.57972 5.67619 5.57839 5.65403 5.58106V5.58106Z" fill="#9CD662"/>
|
|
31
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.61799 5.51637L5.37141 5.66879C5.35172 5.68119 5.33996 5.72705 5.34486 5.77222C5.34729 5.79405 5.35347 5.81275 5.362 5.82412C5.37054 5.8355 5.38071 5.83859 5.39025 5.83271L5.6371 5.68029C5.65682 5.66844 5.66858 5.6224 5.66337 5.57746C5.65817 5.53252 5.63797 5.50571 5.61825 5.51758L5.61799 5.51637Z" fill="#9CD662"/>
|
|
32
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.93054 5.43248L5.68388 5.58421C5.66421 5.59656 5.65246 5.64221 5.65736 5.68718C5.65979 5.70891 5.66596 5.72752 5.67448 5.73885C5.68301 5.75018 5.69318 5.75325 5.70272 5.7474L5.94937 5.59566C5.95891 5.59 5.96706 5.57598 5.97203 5.55666C5.97701 5.53734 5.97839 5.51433 5.97589 5.4927C5.97353 5.47087 5.96737 5.45215 5.95882 5.44081C5.95028 5.42946 5.94007 5.42646 5.93054 5.43249V5.43248Z" fill="#9CD662"/>
|
|
33
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.65776 5.06271C6.82039 5.06271 6.95223 4.93087 6.95223 4.76823C6.95223 4.6056 6.82039 4.47375 6.65776 4.47375C6.49512 4.47375 6.36328 4.6056 6.36328 4.76823C6.36328 4.93087 6.49512 5.06271 6.65776 5.06271Z" fill="#9CD662"/>
|
|
34
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.5234 8.1359C15.5012 8.13845 15.4822 8.14475 15.4706 8.1534C15.4591 8.16206 15.456 8.17237 15.462 8.18204L15.6093 8.42769C15.6151 8.43735 15.6297 8.44557 15.6497 8.45048C15.6697 8.45539 15.6934 8.45657 15.7154 8.45375C15.7376 8.45121 15.7566 8.44491 15.7682 8.43625C15.7797 8.42759 15.7828 8.41729 15.7769 8.40762L15.6295 8.16197C15.6237 8.15231 15.6091 8.14408 15.5892 8.13917C15.5692 8.13426 15.5455 8.13308 15.5234 8.1359Z" fill="#9CD662"/>
|
|
35
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.6172 8.49527C15.595 8.49781 15.576 8.50412 15.5644 8.51278C15.5529 8.52144 15.5497 8.53174 15.5557 8.54141L15.7031 8.78711C15.7091 8.79674 15.7237 8.80492 15.7436 8.80983C15.7636 8.81473 15.7872 8.81594 15.8092 8.81319C15.8554 8.80778 15.8829 8.78717 15.8707 8.76704L15.7228 8.52134C15.7171 8.5117 15.7026 8.50347 15.6827 8.49856C15.6628 8.49364 15.6392 8.49246 15.6172 8.49527Z" fill="#9CD662"/>
|
|
36
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.5413 8.42137L15.2954 8.57262C15.2858 8.57835 15.2776 8.59255 15.2726 8.61205C15.2676 8.63157 15.2663 8.65479 15.2689 8.67657C15.2713 8.69842 15.2776 8.71705 15.2862 8.72813C15.2949 8.73922 15.3051 8.74182 15.3147 8.7353L15.5605 8.58404C15.5702 8.57844 15.5784 8.56427 15.5834 8.54471C15.5884 8.52516 15.5897 8.50188 15.5871 8.48009C15.5846 8.45833 15.5783 8.43979 15.5697 8.42873C15.5611 8.41766 15.5508 8.415 15.5413 8.42136L15.5413 8.42137Z" fill="#9CD662"/>
|
|
37
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.9047 8.32343L15.6587 8.47482C15.6491 8.48055 15.6409 8.49475 15.6359 8.51429C15.6309 8.53382 15.6296 8.55706 15.6321 8.57887C15.6347 8.60065 15.6409 8.61921 15.6496 8.63028C15.6582 8.64135 15.6684 8.64402 15.6779 8.63765L15.9239 8.48678C15.9439 8.47458 15.9557 8.4281 15.9505 8.38273C15.948 8.36092 15.9417 8.34234 15.9331 8.33119C15.9244 8.32002 15.9142 8.31722 15.9047 8.32342V8.32343Z" fill="#9CD662"/>
|
|
38
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.2542 7.26422C16.3428 7.26422 16.4146 7.19239 16.4146 7.10379C16.4146 7.01519 16.3428 6.94336 16.2542 6.94336C16.1656 6.94336 16.0938 7.01519 16.0938 7.10379C16.0938 7.19239 16.1656 7.26422 16.2542 7.26422Z" fill="#9CD662"/>
|
|
39
|
+
</g>
|
|
40
|
+
<defs>
|
|
41
|
+
<clipPath id="clip0_10897_24345">
|
|
42
|
+
<rect width="20" height="20" rx="4" fill="white"/>
|
|
43
|
+
</clipPath>
|
|
44
|
+
</defs>
|
|
45
|
+
</svg>
|