@quoreadmin/ui 1.0.12 → 1.0.13
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.js +2 -3
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -78828,8 +78828,7 @@ const Yfe = /* @__PURE__ */ ze(Nde, [["render", Rde], ["__scopeId", "data-v-3862
|
|
|
78828
78828
|
}, b = () => {
|
|
78829
78829
|
window.removeEventListener("resize", le), window.removeEventListener("scroll", le, !0);
|
|
78830
78830
|
}, S = async () => {
|
|
78831
|
-
|
|
78832
|
-
n.beforeStartTour && await n.beforeStartTour();
|
|
78831
|
+
h(), n.beforeStartTour && await n.beforeStartTour();
|
|
78833
78832
|
const W = localStorage.getItem(`tour-current-${n.name}`);
|
|
78834
78833
|
n.saveProgress && W ? f.currentStep = parseInt(W || "0") : f.currentStep = 0;
|
|
78835
78834
|
const se = async () => {
|
|
@@ -78878,7 +78877,7 @@ const Yfe = /* @__PURE__ */ ze(Nde, [["render", Rde], ["__scopeId", "data-v-3862
|
|
|
78878
78877
|
}, N = () => {
|
|
78879
78878
|
w(), e("onTourSnooze");
|
|
78880
78879
|
}, O = () => {
|
|
78881
|
-
w(), u.value = !1,
|
|
78880
|
+
w(), u.value = !1, e("onTourEnd");
|
|
78882
78881
|
}, $ = async (W) => {
|
|
78883
78882
|
await R(W), f.currentStep = W, f.lastStep = W - 1, f.lastStep < 0 && (f.lastStep = 0), f.nextStep = W + 1, y(W), n.saveProgress && localStorage.setItem(
|
|
78884
78883
|
`tour-current-${n.name}`,
|
package/dist/index.umd.cjs
CHANGED
|
@@ -402,7 +402,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
`);this.responsiveStyleElement.innerHTML=o}},destroyResponsiveStyle:function(){this.responsiveStyleElement&&(document.head.removeChild(this.responsiveStyleElement),this.responsiveStyleElement=null)},destroyStyleElement:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},dataToRender:function(e){var t=e||this.processedData;if(t&&this.paginator){var r=this.lazy?0:this.d_first;return t.slice(r,r+this.d_rows)}return t},getVirtualScrollerRef:function(){return this.$refs.virtualScroller},hasSpacerStyle:function(e){return j.isNotEmpty(e)}},computed:{columns:function(){var e=this.d_columns.get(this);if(this.reorderableColumns&&this.d_columnOrder){var t=[],r=nf(this.d_columnOrder),i;try{for(r.s();!(i=r.n()).done;){var o=i.value,s=this.findColumnByKey(e,o);s&&!this.columnProp(s,"hidden")&&t.push(s)}}catch(l){r.e(l)}finally{r.f()}return[].concat(t,mt(e.filter(function(l){return t.indexOf(l)<0})))}return e},columnGroups:function(){return this.d_columnGroups.get(this)},headerColumnGroup:function(){var e,t=this;return(e=this.columnGroups)===null||e===void 0?void 0:e.find(function(r){return t.columnProp(r,"type")==="header"})},footerColumnGroup:function(){var e,t=this;return(e=this.columnGroups)===null||e===void 0?void 0:e.find(function(r){return t.columnProp(r,"type")==="footer"})},hasFilters:function(){return this.filters&&Object.keys(this.filters).length>0&&this.filters.constructor===Object},processedData:function(){var e,t=this.value||[];return!this.lazy&&!((e=this.virtualScrollerOptions)!==null&&e!==void 0&&e.lazy)&&t&&t.length&&(this.hasFilters&&(t=this.filter(t)),this.sorted&&(this.sortMode==="single"?t=this.sortSingle(t):this.sortMode==="multiple"&&(t=this.sortMultiple(t)))),t},totalRecordsLength:function(){if(this.lazy)return this.totalRecords;var e=this.processedData;return e?e.length:0},empty:function(){var e=this.processedData;return!e||e.length===0},paginatorTop:function(){return this.paginator&&(this.paginatorPosition!=="bottom"||this.paginatorPosition==="both")},paginatorBottom:function(){return this.paginator&&(this.paginatorPosition!=="top"||this.paginatorPosition==="both")},sorted:function(){return this.d_sortField||this.d_multiSortMeta&&this.d_multiSortMeta.length>0},allRowsSelected:function(){var e=this;if(this.selectAll!==null)return this.selectAll;var t=this.frozenValue?[].concat(mt(this.frozenValue),mt(this.processedData)):this.processedData;return j.isNotEmpty(t)&&this.selection&&Array.isArray(this.selection)&&t.every(function(r){return e.selection.some(function(i){return e.equals(i,r)})})},attributeSelector:function(){return Ei()},groupRowSortField:function(){return this.sortMode==="single"?this.sortField:this.d_groupRowsSortMeta?this.d_groupRowsSortMeta.field:null},virtualScrollerDisabled:function(){return j.isEmpty(this.virtualScrollerOptions)||!this.scrollable}},components:{DTPaginator:Lx,DTTableHeader:cO,DTTableBody:Yx,DTTableFooter:tO,DTVirtualScroller:my,ArrowDownIcon:nx,ArrowUpIcon:rx,SpinnerIcon:Du}};function rf(n){"@babel/helpers - typeof";return rf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rf(n)}function pO(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function mO(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?pO(Object(t),!0).forEach(function(r){s1e(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):pO(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function s1e(n,e,t){return e=a1e(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function a1e(n){var e=l1e(n,"string");return rf(e)=="symbol"?e:String(e)}function l1e(n,e){if(rf(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(rf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function c1e(n,e,t,r,i,o){var s=a.resolveComponent("SpinnerIcon"),l=a.resolveComponent("DTPaginator"),c=a.resolveComponent("DTTableHeader"),d=a.resolveComponent("DTTableBody"),u=a.resolveComponent("DTTableFooter"),f=a.resolveComponent("DTVirtualScroller");return a.openBlock(),a.createElementBlock("div",a.mergeProps({class:n.cx("root"),"data-scrollselectors":".p-datatable-wrapper"},n.ptmi("root")),[a.renderSlot(n.$slots,"default"),n.loading?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,class:n.cx("loadingOverlay")},n.ptm("loadingOverlay")),[n.$slots.loading?a.renderSlot(n.$slots,"loading",{key:0}):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[n.$slots.loadingicon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.$slots.loadingicon),{key:0,class:a.normalizeClass(n.cx("loadingIcon"))},null,8,["class"])):n.loadingIcon?(a.openBlock(),a.createElementBlock("i",a.mergeProps({key:1,class:[n.cx("loadingIcon"),"pi-spin",n.loadingIcon]},n.ptm("loadingIcon")),null,16)):(a.openBlock(),a.createBlock(s,a.mergeProps({key:2,spin:"",class:n.cx("loadingIcon")},n.ptm("loadingIcon")),null,16,["class"]))],64))],16)):a.createCommentVNode("",!0),n.$slots.header?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:1,class:n.cx("header")},n.ptm("header")),[a.renderSlot(n.$slots,"header")],16)):a.createCommentVNode("",!0),o.paginatorTop?(a.openBlock(),a.createBlock(l,{key:2,rows:i.d_rows,first:i.d_first,totalRecords:o.totalRecordsLength,pageLinkSize:n.pageLinkSize,template:n.paginatorTemplate,rowsPerPageOptions:n.rowsPerPageOptions,currentPageReportTemplate:n.currentPageReportTemplate,class:a.normalizeClass(n.cx("paginator")),onPage:e[0]||(e[0]=function(h){return o.onPage(h)}),alwaysShow:n.alwaysShowPaginator,unstyled:n.unstyled,pt:n.ptm("paginator")},a.createSlots({_:2},[n.$slots.paginatorstart?{name:"start",fn:a.withCtx(function(){return[a.renderSlot(n.$slots,"paginatorstart")]}),key:"0"}:void 0,n.$slots.paginatorend?{name:"end",fn:a.withCtx(function(){return[a.renderSlot(n.$slots,"paginatorend")]}),key:"1"}:void 0,n.$slots.paginatorfirstpagelinkicon?{name:"firstpagelinkicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorfirstpagelinkicon",{class:a.normalizeClass(h.class)})]}),key:"2"}:void 0,n.$slots.paginatorprevpagelinkicon?{name:"prevpagelinkicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorprevpagelinkicon",{class:a.normalizeClass(h.class)})]}),key:"3"}:void 0,n.$slots.paginatornextpagelinkicon?{name:"nextpagelinkicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatornextpagelinkicon",{class:a.normalizeClass(h.class)})]}),key:"4"}:void 0,n.$slots.paginatorlastpagelinkicon?{name:"lastpagelinkicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorlastpagelinkicon",{class:a.normalizeClass(h.class)})]}),key:"5"}:void 0,n.$slots.paginatorjumptopagedropdownicon?{name:"jumptopagedropdownicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorjumptopagedropdownicon",{class:a.normalizeClass(h.class)})]}),key:"6"}:void 0,n.$slots.paginatorrowsperpagedropdownicon?{name:"rowsperpagedropdownicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorrowsperpagedropdownicon",{class:a.normalizeClass(h.class)})]}),key:"7"}:void 0]),1032,["rows","first","totalRecords","pageLinkSize","template","rowsPerPageOptions","currentPageReportTemplate","class","alwaysShow","unstyled","pt"])):a.createCommentVNode("",!0),a.createElementVNode("div",a.mergeProps({class:n.cx("wrapper"),style:[n.sx("wrapper"),{maxHeight:o.virtualScrollerDisabled?n.scrollHeight:""}]},n.ptm("wrapper")),[a.createVNode(f,a.mergeProps({ref:"virtualScroller"},n.virtualScrollerOptions,{items:o.processedData,columns:o.columns,style:n.scrollHeight!=="flex"?{height:n.scrollHeight}:void 0,scrollHeight:n.scrollHeight!=="flex"?void 0:"100%",disabled:o.virtualScrollerDisabled,loaderDisabled:"",inline:"",autoSize:"",showSpacer:!1,pt:n.ptm("virtualScroller")}),{content:a.withCtx(function(h){return[a.createElementVNode("table",a.mergeProps({ref:"table",role:"table",class:[n.cx("table"),n.tableClass],style:[n.tableStyle,h.spacerStyle]},mO(mO({},n.tableProps),n.ptm("table"))),[a.createVNode(c,{columnGroup:o.headerColumnGroup,columns:h.columns,rowGroupMode:n.rowGroupMode,groupRowsBy:n.groupRowsBy,groupRowSortField:o.groupRowSortField,reorderableColumns:n.reorderableColumns,resizableColumns:n.resizableColumns,allRowsSelected:o.allRowsSelected,empty:o.empty,sortMode:n.sortMode,sortField:i.d_sortField,sortOrder:i.d_sortOrder,multiSortMeta:i.d_multiSortMeta,filters:i.d_filters,filtersStore:n.filters,filterDisplay:n.filterDisplay,filterInputProps:n.filterInputProps,onColumnClick:e[1]||(e[1]=function(p){return o.onColumnHeaderClick(p)}),onColumnMousedown:e[2]||(e[2]=function(p){return o.onColumnHeaderMouseDown(p)}),onFilterChange:o.onFilterChange,onFilterApply:o.onFilterApply,onColumnDragstart:e[3]||(e[3]=function(p){return o.onColumnHeaderDragStart(p)}),onColumnDragover:e[4]||(e[4]=function(p){return o.onColumnHeaderDragOver(p)}),onColumnDragleave:e[5]||(e[5]=function(p){return o.onColumnHeaderDragLeave(p)}),onColumnDrop:e[6]||(e[6]=function(p){return o.onColumnHeaderDrop(p)}),onColumnResizestart:e[7]||(e[7]=function(p){return o.onColumnResizeStart(p)}),onCheckboxChange:e[8]||(e[8]=function(p){return o.toggleRowsWithCheckbox(p)}),unstyled:n.unstyled,pt:n.pt},null,8,["columnGroup","columns","rowGroupMode","groupRowsBy","groupRowSortField","reorderableColumns","resizableColumns","allRowsSelected","empty","sortMode","sortField","sortOrder","multiSortMeta","filters","filtersStore","filterDisplay","filterInputProps","onFilterChange","onFilterApply","unstyled","pt"]),n.frozenValue?(a.openBlock(),a.createBlock(d,{key:0,ref:"frozenBodyRef",value:n.frozenValue,frozenRow:!0,columns:h.columns,first:i.d_first,dataKey:n.dataKey,selection:n.selection,selectionKeys:i.d_selectionKeys,selectionMode:n.selectionMode,contextMenu:n.contextMenu,contextMenuSelection:n.contextMenuSelection,rowGroupMode:n.rowGroupMode,groupRowsBy:n.groupRowsBy,expandableRowGroups:n.expandableRowGroups,rowClass:n.rowClass,rowStyle:n.rowStyle,editMode:n.editMode,compareSelectionBy:n.compareSelectionBy,scrollable:n.scrollable,expandedRowIcon:n.expandedRowIcon,collapsedRowIcon:n.collapsedRowIcon,expandedRows:n.expandedRows,expandedRowGroups:n.expandedRowGroups,editingRows:n.editingRows,editingRowKeys:i.d_editingRowKeys,templates:n.$slots,responsiveLayout:n.responsiveLayout,isVirtualScrollerDisabled:!0,onRowgroupToggle:o.toggleRowGroup,onRowClick:e[9]||(e[9]=function(p){return o.onRowClick(p)}),onRowDblclick:e[10]||(e[10]=function(p){return o.onRowDblClick(p)}),onRowRightclick:e[11]||(e[11]=function(p){return o.onRowRightClick(p)}),onRowTouchend:o.onRowTouchEnd,onRowKeydown:o.onRowKeyDown,onRowMousedown:o.onRowMouseDown,onRowDragstart:e[12]||(e[12]=function(p){return o.onRowDragStart(p)}),onRowDragover:e[13]||(e[13]=function(p){return o.onRowDragOver(p)}),onRowDragleave:e[14]||(e[14]=function(p){return o.onRowDragLeave(p)}),onRowDragend:e[15]||(e[15]=function(p){return o.onRowDragEnd(p)}),onRowDrop:e[16]||(e[16]=function(p){return o.onRowDrop(p)}),onRowToggle:e[17]||(e[17]=function(p){return o.toggleRow(p)}),onRadioChange:e[18]||(e[18]=function(p){return o.toggleRowWithRadio(p)}),onCheckboxChange:e[19]||(e[19]=function(p){return o.toggleRowWithCheckbox(p)}),onCellEditInit:e[20]||(e[20]=function(p){return o.onCellEditInit(p)}),onCellEditComplete:e[21]||(e[21]=function(p){return o.onCellEditComplete(p)}),onCellEditCancel:e[22]||(e[22]=function(p){return o.onCellEditCancel(p)}),onRowEditInit:e[23]||(e[23]=function(p){return o.onRowEditInit(p)}),onRowEditSave:e[24]||(e[24]=function(p){return o.onRowEditSave(p)}),onRowEditCancel:e[25]||(e[25]=function(p){return o.onRowEditCancel(p)}),editingMeta:i.d_editingMeta,onEditingMetaChange:o.onEditingMetaChange,unstyled:n.unstyled,pt:n.pt},null,8,["value","columns","first","dataKey","selection","selectionKeys","selectionMode","contextMenu","contextMenuSelection","rowGroupMode","groupRowsBy","expandableRowGroups","rowClass","rowStyle","editMode","compareSelectionBy","scrollable","expandedRowIcon","collapsedRowIcon","expandedRows","expandedRowGroups","editingRows","editingRowKeys","templates","responsiveLayout","onRowgroupToggle","onRowTouchend","onRowKeydown","onRowMousedown","editingMeta","onEditingMetaChange","unstyled","pt"])):a.createCommentVNode("",!0),a.createVNode(d,{ref:"bodyRef",value:o.dataToRender(h.rows),class:a.normalizeClass(h.styleClass),columns:h.columns,empty:o.empty,first:i.d_first,dataKey:n.dataKey,selection:n.selection,selectionKeys:i.d_selectionKeys,selectionMode:n.selectionMode,contextMenu:n.contextMenu,contextMenuSelection:n.contextMenuSelection,rowGroupMode:n.rowGroupMode,groupRowsBy:n.groupRowsBy,expandableRowGroups:n.expandableRowGroups,rowClass:n.rowClass,rowStyle:n.rowStyle,editMode:n.editMode,compareSelectionBy:n.compareSelectionBy,scrollable:n.scrollable,expandedRowIcon:n.expandedRowIcon,collapsedRowIcon:n.collapsedRowIcon,expandedRows:n.expandedRows,expandedRowGroups:n.expandedRowGroups,editingRows:n.editingRows,editingRowKeys:i.d_editingRowKeys,templates:n.$slots,responsiveLayout:n.responsiveLayout,virtualScrollerContentProps:h,isVirtualScrollerDisabled:o.virtualScrollerDisabled,onRowgroupToggle:o.toggleRowGroup,onRowClick:e[26]||(e[26]=function(p){return o.onRowClick(p)}),onRowDblclick:e[27]||(e[27]=function(p){return o.onRowDblClick(p)}),onRowRightclick:e[28]||(e[28]=function(p){return o.onRowRightClick(p)}),onRowTouchend:o.onRowTouchEnd,onRowKeydown:function(g){return o.onRowKeyDown(g,h)},onRowMousedown:o.onRowMouseDown,onRowDragstart:e[29]||(e[29]=function(p){return o.onRowDragStart(p)}),onRowDragover:e[30]||(e[30]=function(p){return o.onRowDragOver(p)}),onRowDragleave:e[31]||(e[31]=function(p){return o.onRowDragLeave(p)}),onRowDragend:e[32]||(e[32]=function(p){return o.onRowDragEnd(p)}),onRowDrop:e[33]||(e[33]=function(p){return o.onRowDrop(p)}),onRowToggle:e[34]||(e[34]=function(p){return o.toggleRow(p)}),onRadioChange:e[35]||(e[35]=function(p){return o.toggleRowWithRadio(p)}),onCheckboxChange:e[36]||(e[36]=function(p){return o.toggleRowWithCheckbox(p)}),onCellEditInit:e[37]||(e[37]=function(p){return o.onCellEditInit(p)}),onCellEditComplete:e[38]||(e[38]=function(p){return o.onCellEditComplete(p)}),onCellEditCancel:e[39]||(e[39]=function(p){return o.onCellEditCancel(p)}),onRowEditInit:e[40]||(e[40]=function(p){return o.onRowEditInit(p)}),onRowEditSave:e[41]||(e[41]=function(p){return o.onRowEditSave(p)}),onRowEditCancel:e[42]||(e[42]=function(p){return o.onRowEditCancel(p)}),editingMeta:i.d_editingMeta,onEditingMetaChange:o.onEditingMetaChange,unstyled:n.unstyled,pt:n.pt},null,8,["value","class","columns","empty","first","dataKey","selection","selectionKeys","selectionMode","contextMenu","contextMenuSelection","rowGroupMode","groupRowsBy","expandableRowGroups","rowClass","rowStyle","editMode","compareSelectionBy","scrollable","expandedRowIcon","collapsedRowIcon","expandedRows","expandedRowGroups","editingRows","editingRowKeys","templates","responsiveLayout","virtualScrollerContentProps","isVirtualScrollerDisabled","onRowgroupToggle","onRowTouchend","onRowKeydown","onRowMousedown","editingMeta","onEditingMetaChange","unstyled","pt"]),o.hasSpacerStyle(h.spacerStyle)?(a.openBlock(),a.createElementBlock("tbody",a.mergeProps({key:1,class:n.cx("virtualScrollerSpacer"),style:{height:"calc(".concat(h.spacerStyle.height," - ").concat(h.rows.length*h.itemSize,"px)")}},n.ptm("virtualScrollerSpacer")),null,16)):a.createCommentVNode("",!0),a.createVNode(u,{columnGroup:o.footerColumnGroup,columns:h.columns,pt:n.pt},null,8,["columnGroup","columns","pt"])],16)]}),_:1},16,["items","columns","style","scrollHeight","disabled","pt"])],16),n.$slots.footer?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:3,class:n.cx("footer")},n.ptm("footer")),[a.renderSlot(n.$slots,"footer")],16)):a.createCommentVNode("",!0),o.paginatorBottom?(a.openBlock(),a.createBlock(l,{key:4,rows:i.d_rows,first:i.d_first,totalRecords:o.totalRecordsLength,pageLinkSize:n.pageLinkSize,template:n.paginatorTemplate,rowsPerPageOptions:n.rowsPerPageOptions,currentPageReportTemplate:n.currentPageReportTemplate,class:a.normalizeClass(n.cx("paginator")),onPage:e[43]||(e[43]=function(h){return o.onPage(h)}),alwaysShow:n.alwaysShowPaginator,unstyled:n.unstyled,pt:n.ptm("paginator")},a.createSlots({_:2},[n.$slots.paginatorstart?{name:"start",fn:a.withCtx(function(){return[a.renderSlot(n.$slots,"paginatorstart")]}),key:"0"}:void 0,n.$slots.paginatorend?{name:"end",fn:a.withCtx(function(){return[a.renderSlot(n.$slots,"paginatorend")]}),key:"1"}:void 0,n.$slots.paginatorfirstpagelinkicon?{name:"firstpagelinkicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorfirstpagelinkicon",{class:a.normalizeClass(h.class)})]}),key:"2"}:void 0,n.$slots.paginatorprevpagelinkicon?{name:"prevpagelinkicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorprevpagelinkicon",{class:a.normalizeClass(h.class)})]}),key:"3"}:void 0,n.$slots.paginatornextpagelinkicon?{name:"nextpagelinkicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatornextpagelinkicon",{class:a.normalizeClass(h.class)})]}),key:"4"}:void 0,n.$slots.paginatorlastpagelinkicon?{name:"lastpagelinkicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorlastpagelinkicon",{class:a.normalizeClass(h.class)})]}),key:"5"}:void 0,n.$slots.paginatorjumptopagedropdownicon?{name:"jumptopagedropdownicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorjumptopagedropdownicon",{class:a.normalizeClass(h.class)})]}),key:"6"}:void 0,n.$slots.paginatorrowsperpagedropdownicon?{name:"rowsperpagedropdownicon",fn:a.withCtx(function(h){return[a.renderSlot(n.$slots,"paginatorrowsperpagedropdownicon",{class:a.normalizeClass(h.class)})]}),key:"7"}:void 0]),1032,["rows","first","totalRecords","pageLinkSize","template","rowsPerPageOptions","currentPageReportTemplate","class","alwaysShow","unstyled","pt"])):a.createCommentVNode("",!0),a.createElementVNode("div",a.mergeProps({ref:"resizeHelper",class:n.cx("resizeHelper"),style:{display:"none"}},n.ptm("resizeHelper")),null,16),n.reorderableColumns?(a.openBlock(),a.createElementBlock("span",a.mergeProps({key:5,ref:"reorderIndicatorUp",class:n.cx("reorderIndicatorUp"),style:{position:"absolute",display:"none"}},n.ptm("reorderIndicatorUp")),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.$slots.reorderindicatorupicon||"ArrowDownIcon")))],16)):a.createCommentVNode("",!0),n.reorderableColumns?(a.openBlock(),a.createElementBlock("span",a.mergeProps({key:6,ref:"reorderIndicatorDown",class:n.cx("reorderIndicatorDown"),style:{position:"absolute",display:"none"}},n.ptm("reorderIndicatorDown")),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.$slots.reorderindicatordownicon||"ArrowUpIcon")))],16)):a.createCommentVNode("",!0)],16)}hO.render=c1e;var d1e={},u1e={name:"BaseColumn",extends:Te,props:{columnKey:{type:null,default:null},field:{type:[String,Function],default:null},sortField:{type:[String,Function],default:null},filterField:{type:[String,Function],default:null},dataType:{type:String,default:"text"},sortable:{type:Boolean,default:!1},header:{type:null,default:null},footer:{type:null,default:null},style:{type:null,default:null},class:{type:String,default:null},headerStyle:{type:null,default:null},headerClass:{type:String,default:null},bodyStyle:{type:null,default:null},bodyClass:{type:String,default:null},footerStyle:{type:null,default:null},footerClass:{type:String,default:null},showFilterMenu:{type:Boolean,default:!0},showFilterOperator:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!0},showApplyButton:{type:Boolean,default:!0},showFilterMatchModes:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},filterMatchModeOptions:{type:Array,default:null},maxConstraints:{type:Number,default:2},excludeGlobalFilter:{type:Boolean,default:!1},filterHeaderClass:{type:String,default:null},filterHeaderStyle:{type:null,default:null},filterMenuClass:{type:String,default:null},filterMenuStyle:{type:null,default:null},selectionMode:{type:String,default:null},expander:{type:Boolean,default:!1},colspan:{type:Number,default:null},rowspan:{type:Number,default:null},rowReorder:{type:Boolean,default:!1},rowReorderIcon:{type:String,default:void 0},reorderableColumn:{type:Boolean,default:!0},rowEditor:{type:Boolean,default:!1},frozen:{type:Boolean,default:!1},alignFrozen:{type:String,default:"left"},exportable:{type:Boolean,default:!0},exportHeader:{type:String,default:null},exportFooter:{type:String,default:null},filterMatchMode:{type:String,default:null},hidden:{type:Boolean,default:!1}},style:d1e,provide:function(){return{$parentInstance:this}}},f1e={name:"Column",extends:u1e,inheritAttrs:!1,inject:["$columns"],mounted:function(){var e;(e=this.$columns)===null||e===void 0||e.add(this.$)},unmounted:function(){var e;(e=this.$columns)===null||e===void 0||e.delete(this.$)},render:function(){return null}},h1e={},p1e={name:"BaseColumnGroup",extends:Te,props:{type:{type:String,default:null}},style:h1e,provide:function(){return{$parentInstance:this}}},m1e={name:"ColumnGroup",extends:p1e,inheritAttrs:!1,inject:["$columnGroups"],mounted:function(){var e;(e=this.$columnGroups)===null||e===void 0||e.add(this.$)},unmounted:function(){var e;(e=this.$columnGroups)===null||e===void 0||e.delete(this.$)},render:function(){return null}},g1e={name:"Row",extends:Te,inject:["$rows"],mounted:function(){var e;(e=this.$rows)===null||e===void 0||e.add(this.$)},unmounted:function(){var e;(e=this.$rows)===null||e===void 0||e.delete(this.$)},render:function(){return null}};const y1e=a.defineComponent({name:"QTable",components:{Column:f1e,ColumnGroup:m1e,DataTable:hO,Row:g1e,QBadge:Zs,QTooltip:R2},props:{id:{type:String,default:""},modelValue:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]},hasSearch:{type:Boolean,default:!0},sortBy:{type:String,default:""},itemsPerPage:{type:Number,default:20},currentPage:{type:Number,default:1},searchPlaceholder:{type:String,default:""},filters:{type:Object,default:()=>({})},filtersAction:{type:Function,default:()=>{}},filtersCount:{type:Number,default:0},globalFilters:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},isMultiSort:{type:Boolean,default:!1},isMultiSelect:{type:Boolean,default:!1},rowSelect:{type:Function,default:()=>{}},rowUnselect:{type:Function,default:()=>{}},fixedTopOffset:{type:Number,default:0},skeletonRows:{type:Number,default:6},leftScrollAmount:{type:Number,default:200},rightScrollAmount:{type:Number,default:200},overrideFrozen:{type:Boolean,default:!1},searchDelay:{type:Number,default:300}},emits:["is-empty"],setup(n,{emit:e}){const{deviceType:t}=V2(),r=a.ref(),i=a.ref(!1),o=a.ref(!1),s=a.ref(!1),l=a.ref(!1),c=a.ref(!1),d=a.ref(!0),u=a.ref(hI),f=a.ref(),h=a.ref(""),p=a.ref([]),g=a.ref(),b=a.ref(0),y=a.computed(()=>yc(n.modelValue,h.value,n.filters,void 0,void 0,[])),w=a.computed(()=>t.value==="desktop"),v=a.computed(()=>{var G;const R=!n.loading&&((G=r.value)==null?void 0:G.empty);return e("is-empty",R),R}),S=a.computed(()=>{const R=[],G={};let re=0;return n.columns.forEach(Q=>{G[Q.key]=""}),[...Array(n.skeletonRows)].forEach(()=>{R.push({...G,shimmer:re%2?"bg-gray-10":"bg-gray-30"}),re++}),R}),C=()=>{D(),B(),E(),O(),V()},T=R=>{n.rowSelect(R)},k=R=>{n.rowUnselect(R)},E=()=>{var Q,F;const R=g.value.offsetTop-n.fixedTopOffset,G=document.querySelector('div[data-pc-section="header"]'),re=(Q=f.value)==null?void 0:Q.querySelector("thead");if(o.value=!!n.fixedTopOffset&&g.value&&window.scrollY>=R,o.value)if(G.style.top=n.fixedTopOffset+"px",i.value)re.style.top="";else{const P=n.fixedTopOffset+G.clientHeight+1;re.style.top=P+"px"}else G.style.top="",re.style.top="";if(o.value&&i.value){const P=document.querySelector('div[data-pc-section="header"] > div[data-pc-section="wrapper"]');(F=P==null?void 0:P.querySelectorAll("th"))==null||F.forEach((_,$)=>{var te;const Y=(te=f.value)==null?void 0:te.querySelector(`th:nth-child(${$+1})`),oe=Y==null?void 0:Y.getAttribute("aria-sort");_==null||_.setAttribute("aria-sort",oe),_.classList.contains("actions")&&(_.style.minWidth=(Y==null?void 0:Y.clientWidth)+"px")}),P&&(P.scrollLeft=f.value.scrollLeft)}B(),O(),V()},O=()=>{const G=f.value.scrollWidth-f.value.clientWidth;d.value=Math.abs(f.value.scrollLeft)<=1,c.value=Math.abs(f.value.scrollLeft-G)<=1},x=()=>{D(),s.value=!1,l.value=!1,n.columns.forEach((R,G)=>{R.frozen&&(s.value||(s.value=!0),g.value.querySelectorAll(`th:nth-child(${G+1}), td:nth-child(${G+1})`).forEach(re=>{re.classList.add("sticky"),G===0?re.classList.add("left-0"):G===n.columns.length-1&&R.frozen&&(re.classList.add("right-0"),l.value=!0)}))})},N=()=>{var G,re,Q,F;const R=(G=f.value)==null?void 0:G.cloneNode(!0);if(R){const P=document.querySelector('div[data-pc-section="header"]');P==null||P.append(R);const _=P==null?void 0:P.querySelector('div[data-pc-section="wrapper"]');(re=_==null?void 0:_.querySelector("tbody"))==null||re.remove(),_==null||_.addEventListener("scroll",()=>{f.value.scrollLeft=_.scrollLeft,O(),V()}),(Q=f.value)==null||Q.addEventListener("scroll",()=>{var $;_.scrollLeft=f.value.scrollLeft,O(),($=f.value)==null||$.setAttribute("data-scroll",f.value.scrollLeft.toString()),V()}),(F=_==null?void 0:_.querySelectorAll("th"))==null||F.forEach(($,Y)=>{$==null||$.addEventListener("click",async()=>{var oe;if(o.value&&i.value){const te=(oe=f.value)==null?void 0:oe.querySelector(`th:nth-child(${Y+1})`);await(te==null?void 0:te.click());const ee=te==null?void 0:te.getAttribute("aria-sort");$==null||$.setAttribute("aria-sort",ee)}})})}},D=()=>{var R,G;f.value.scrollWidth>f.value.clientWidth?(i.value=!0,(R=f.value)==null||R.classList.add("is-scrolled")):(i.value=!1,(G=f.value)==null||G.classList.remove("is-scrolled")),f.value&&f.value.setAttribute("data-scroll",f.value.scrollLeft.toString())},B=()=>{const R=f.value.clientWidth+"px",G=document.querySelector('div[data-pc-section="header"]'),re=G.querySelector('div[data-pc-section="wrapper"] thead');G.style.width=R,f.value.querySelector("thead").style.width=R,re&&(re.style.width=R)},z=()=>{if(f.value){const R=-Math.min(n.leftScrollAmount,f.value.scrollLeft),G=o.value?"instant":"smooth";f.value.scrollBy({left:R,behavior:G})}},Z=()=>{if(f.value){const R=f.value.scrollWidth-f.value.clientWidth,G=Math.min(n.rightScrollAmount,R-f.value.scrollLeft),re=o.value?"instant":"smooth";f.value.scrollBy({left:G,behavior:re})}},U=()=>{var R,G,re;if(i.value||!w.value){const Q=d.value?"hidden":"",F=c.value?"hidden":"";(R=g.value)==null||R.insertAdjacentHTML("beforeend",`<button type="button" class="q-table-scroll-button scroll-button scroll-left ${Q}"></button>
|
|
405
|
-
<button type="button" class="q-table-scroll-button scroll-button scroll-right ${F}"></button>`);const P=a.h(C0,{icon:"chevron-left",type:"",size:"md",class:"p-[0.1875rem]"}),_=a.h(C0,{icon:"chevron-right",type:"",size:"md",class:"p-[0.1875rem]"}),$=(G=g.value)==null?void 0:G.querySelector(".scroll-button.scroll-left"),Y=(re=g.value)==null?void 0:re.querySelector(".scroll-button.scroll-right");a.render(P,$),a.render(_,Y),$==null||$.addEventListener("click",z),Y==null||Y.addEventListener("click",Z),V()}},H=()=>{var R,G;(G=(R=g.value)==null?void 0:R.querySelectorAll(".scroll-button"))==null||G.forEach(re=>{re.remove()})},V=()=>{var $,Y,oe,te;const R=($=g.value)==null?void 0:$.querySelector(".scroll-button.scroll-left"),G=(Y=g.value)==null?void 0:Y.querySelector(".scroll-button.scroll-right"),re=(oe=f.value)==null?void 0:oe.querySelector("td.sticky:first-child"),Q=(te=g.value)==null?void 0:te.getBoundingClientRect(),F=document.querySelector('div[data-pc-section="header"]'),P=(F==null?void 0:F.getBoundingClientRect().height)||0,_=f.value;if(g.value&&Q&&_){const ee=(re==null?void 0:re.getBoundingClientRect().width)||0;g.value.style.setProperty("--first-sticky-width",`${ee}px`);const me=_.getBoundingClientRect(),Ie=Math.max(me.top,P),Ue=Math.min(me.bottom,window.innerHeight),qt=Ie<window.innerHeight&&Ue>P,Vn=Ue-Ie,dn=Ie+Vn/2;if(R&&G)if(qt&&i.value){R.classList.remove("hidden"),G.classList.remove("hidden");const $n=Math.max(Ie,Math.min(dn,Ue-R.offsetHeight));R.style.top=`${$n}px`,G.style.top=`${$n}px`,R.style.left=`${Q.left+ee+8}px`,G.style.right=`${window.innerWidth-Q.right+8}px`}else R.classList.add("hidden"),G.classList.add("hidden");R&&(d.value||!i.value?R.classList.add("hidden"):R.classList.remove("hidden")),G&&(c.value||!i.value?G.classList.add("hidden"):G.classList.remove("hidden"))}},K=f5(R=>{h.value=R},n.searchDelay);return a.onMounted(()=>{f.value=document.querySelector('div[data-pc-section="wrapper"]'),C(),window.addEventListener("resize",C),window.addEventListener("scroll",E),N(),w.value||U()}),a.onUnmounted(()=>{window.removeEventListener("resize",C),window.removeEventListener("scroll",E)}),{dataTableRef:r,horizontalScroll:i,isFixed:o,isSticky:s,isLastCellSticky:l,isScrolledToEnd:c,isScrolledToStart:d,noResultsPath:u,scrollableElement:f,scrollLeft:z,scrollRight:Z,search:h,selectedRows:p,tableContainer:g,tableHeight:b,isDesktop:w,isEmpty:v,skeletonData:S,filteredData:y,addScrollButtons:U,onPageResizeOrLoad:C,onSelectRow:T,onUnselectRow:k,removeScrollButtons:H,setSticky:x,mq:fn,deviceType:t,debouncedSearch:K}}}),b1e=["id"],w1e={class:"search-and-filters"},v1e={class:"inspections-search"},C1e={for:"search",class:"search-label"},S1e={key:0,class:"inspection-actions"},k1e={class:"flex relative"},M1e={key:0},E1e={key:1},A1e={key:0,class:"table-empty flex flex-col items-center justify-center"},T1e=["src"];function I1e(n,e,t,r,i,o){const s=a.resolveComponent("q-icon"),l=a.resolveComponent("q-input"),c=a.resolveComponent("q-badge"),d=a.resolveComponent("q-tooltip"),u=a.resolveComponent("column"),f=a.resolveComponent("data-table");return a.openBlock(),a.createElementBlock("div",a.mergeProps({id:n.id,class:["table-container",{"is-fixed":n.isFixed},{"using-scroll":n.horizontalScroll},{"is-loading":n.loading},{"has-sticky-columns":n.isSticky},{"scroll-start":n.isScrolledToStart},{"scroll-end":n.isScrolledToEnd},{"is-empty bg-white":n.isEmpty},{"last-cell-sticky":n.isLastCellSticky}],ref:"tableContainer"},{[a.toHandlerKey(n.isDesktop&&"mouseenter")]:e[1]||(e[1]=(...h)=>n.addScrollButtons&&n.addScrollButtons(...h))},{[a.toHandlerKey(n.isDesktop&&"mouseleave")]:e[2]||(e[2]=(...h)=>n.removeScrollButtons&&n.removeScrollButtons(...h))}),[a.createVNode(f,{selection:n.selectedRows,"onUpdate:selection":e[0]||(e[0]=h=>n.selectedRows=h),loading:n.loading,"meta-key-selection":!1,"scroll-height":n.horizontalScroll&&n.tableHeight?`${n.tableHeight}px`:"","selection-mode":n.isMultiSelect?"multiple":"single","sort-mode":n.isMultiSort?"multiple":"single",value:n.loading?n.skeletonData:n.filteredData,"data-key":"id","filter-display":"menu",ref:"dataTableRef","removable-sort":"",scrollable:"",onRowSelect:n.onSelectRow,onRowUnselect:n.onUnselectRow,onValueChange:n.setSticky},{header:a.withCtx(()=>[n.hasSearch?a.renderSlot(n.$slots,"search-and-filters",{key:0},()=>{var h,p;return[a.createElementVNode("div",w1e,[a.createElementVNode("div",v1e,[n.hasSearch?a.renderSlot(n.$slots,"search",{key:0},()=>[a.createElementVNode("label",C1e,[a.createVNode(s,{class:"mr-2",color:"gray-40",icon:"search",size:"md",type:""}),a.createVNode(l,{id:"search","model-value":n.search,"onUpdate:modelValue":n.debouncedSearch,"hide-clear":!!n.mq.md,placeholder:n.searchPlaceholder||n.$t("HC_SEARCH"),class:"text-base","control-class":"!border-0 !px-0"},null,8,["model-value","onUpdate:modelValue","hide-clear","placeholder"])])],!0):a.createCommentVNode("",!0)]),(h=n.filters)!=null&&h.length||n.$slots.tableActions?(a.openBlock(),a.createElementBlock("div",S1e,[(p=n.filters)!=null&&p.length?a.renderSlot(n.$slots,"filters",{key:0},()=>[a.createVNode(d,{class:"z-[45] ml-2"},{trigger:a.withCtx(()=>[a.createElementVNode("div",k1e,[a.createVNode(s,{class:"filters-icon ml-0",color:"gray-40",icon:"filter",size:"md",onClick:n.filtersAction},null,8,["onClick"]),n.filtersCount?(a.openBlock(),a.createBlock(c,{key:0,class:"filters-count",color:"white"},{text:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(n.filtersCount),1)]),_:1})):a.createCommentVNode("",!0)])]),content:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(n.$t("HC_FILTERS")),1)]),_:1})],!0):a.createCommentVNode("",!0),n.$slots.tableActions?a.renderSlot(n.$slots,"tableActions",{key:1},void 0,!0):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)])]},!0):a.createCommentVNode("",!0)]),empty:a.withCtx(()=>e[3]||(e[3]=[])),default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.columns,h=>(a.openBlock(),a.createBlock(u,{key:h.key,field:h.key,"filter-field":h.key,header:h.name,sortable:h.sortable,frozen:h.frozen&&!n.overrideFrozen,class:a.normalizeClass([h.key,h.size?`cell-${h.size}`:"",{"text-right":h.key==="actions"}])},{body:a.withCtx(({data:p})=>[n.loading?n.loading?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["animate-shimmer",p.shimmer])}," ",2)):a.createCommentVNode("",!0):a.renderSlot(n.$slots,h.key,a.mergeProps({key:0,ref_for:!0},p),()=>[h.key.match(/\./)?(a.openBlock(),a.createElementBlock("div",E1e,a.toDisplayString(p[h.key.split(".")[0]][h.key.split(".")[1]]),1)):(a.openBlock(),a.createElementBlock("div",M1e,a.toDisplayString(p[h.key]),1))],!0)]),_:2},1032,["field","filter-field","header","sortable","frozen","class"]))),128))]),_:3},8,["selection","loading","scroll-height","selection-mode","sort-mode","value","onRowSelect","onRowUnselect","onValueChange"]),n.isEmpty?(a.openBlock(),a.createElementBlock("div",A1e,[a.renderSlot(n.$slots,"no-results-illustration",{},()=>[a.createElementVNode("img",{class:"mb-5",src:n.noResultsPath},null,8,T1e)],!0),a.renderSlot(n.$slots,"no-results-text",a.normalizeProps(a.guardReactiveProps({search:n.search})),void 0,!0)])):a.createCommentVNode("",!0)],16,b1e)}const x1e=Se(y1e,[["render",I1e],["__scopeId","data-v-a76fc032"]]),O1e=a.defineComponent({name:"QTag",components:{},props:{tagClass:{type:String,default:""},bgColor:{type:String,default:"bg-green-0"},textColor:{type:String,default:"text-green-20"},shape:{type:String,default:"square"}},setup(n,{slots:e}){return{hasIcon:!!e.icon}}});function D1e(n,e,t,r,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["tag flex items-center",[n.tagClass,n.bgColor,n.textColor,"tag-"+n.shape,{"has-icon":n.hasIcon}]])},[n.hasIcon?a.renderSlot(n.$slots,"icon",{key:0},void 0,!0):a.createCommentVNode("",!0),a.renderSlot(n.$slots,"default",{},void 0,!0)],2)}const N1e=Se(O1e,[["render",D1e],["__scopeId","data-v-1a01844c"]]),gO="update:model-value",P1e=a.defineComponent({name:"QTextarea",inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},controlClass:{type:String,default:""},persistentPlaceholder:{type:Boolean,default:!1},placeholder:{type:String,default:""},rows:{type:Number,default:2},status:{type:String,default:""},textareaClass:{type:String,default:""},isDisabled:{type:Boolean,default:!1}},emits:[gO],setup(n,{attrs:e,emit:t,slots:r}){const i=a.ref(!1),o=a.ref(),s=a.computed(()=>!!r.actions),l=a.computed(()=>!!e.disabled||!!n.isDisabled),c=a.computed(()=>[{[`has-${n.status}`]:n.status&&!l.value},{"is-focused":i.value},{"is-disabled":l.value}]),d=a.computed(()=>["textarea",n.textareaClass,{[n.status]:n.status&&!l.value},{populated:!!n.modelValue&&n.persistentPlaceholder},{"is-focused":i.value&&n.persistentPlaceholder}]),u=()=>{o.value.style.height="auto",o.value.style.height=o.value.scrollHeight+"px"},f=h=>{t(gO,h.target.value)};return a.onMounted(()=>{u()}),{focused:i,disabled:l,rootClasses:c,textarea:o,textareaClasses:d,hasActions:s,resizeTextarea:u,updateValue:f}}}),L1e=["id","disabled","placeholder","rows","value"],B1e={key:0,class:"action flex items-end py-2 pr-4"},_1e=["for"];function R1e(n,e,t,r,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([[n.rootClasses,n.controlClass],"control flex"])},[a.createElementVNode("textarea",a.mergeProps({id:String(n.$attrs.id),ref:"textarea",disabled:n.isDisabled,class:[n.textareaClasses],placeholder:n.persistentPlaceholder?"":n.placeholder,rows:n.rows,value:n.modelValue},n.$attrs,{onInput:e[0]||(e[0]=(...s)=>n.updateValue&&n.updateValue(...s)),onFocusin:e[1]||(e[1]=s=>n.focused=!n.focused),onFocusout:e[2]||(e[2]=s=>n.focused=!n.focused),onKeyup:e[3]||(e[3]=(...s)=>n.resizeTextarea&&n.resizeTextarea(...s))})," ",16,L1e),n.hasActions?(a.openBlock(),a.createElementBlock("div",B1e,[a.renderSlot(n.$slots,"actions",{},void 0,!0)])):a.createCommentVNode("",!0),n.persistentPlaceholder?(a.openBlock(),a.createElementBlock("label",{key:1,for:String(n.$attrs.id),class:"placeholder"},a.toDisplayString(n.placeholder),9,_1e)):a.createCommentVNode("",!0)],2)}const V1e=Se(P1e,[["render",R1e],["__scopeId","data-v-fda73545"]]),yO="update:modelValue",bO="undo-action",wO="timeout-done",$1e=a.defineComponent({name:"QToast",props:{modelValue:{type:Boolean,default:!1,required:!0},icon:{type:String,default:""},message:{type:String,default:""},variant:{type:String,default:""},duration:{type:Number,default:null,required:!1},position:{type:[String,Array],default:null,required:!1},withTransition:{type:Boolean,default:!1},transitionClass:{type:String,default:"component-slide-right"},closeButton:{type:Boolean,default:!1},undoButton:{type:Boolean,default:!1}},emits:[yO,bO,wO],setup(n,{emit:e}){const t=a.ref(null),r=a.computed({get:()=>n.modelValue,set:d=>{e(yO,d)}}),i=a.computed(()=>n.variant?"is-"+n.variant:""),o=a.computed(()=>n.position?"toast-fixed "+n.position:""),s=a.computed(()=>n.withTransition&&n.transitionClass),l=()=>{e(bO)},c=()=>{t.value=setTimeout(()=>{r.value=!1,e(wO)},n.duration)};return a.onBeforeUnmount(()=>{t.value&&(clearTimeout(t.value),t.value=null)}),a.watchEffect(()=>{r.value&&n.duration?c():t.value&&(clearTimeout(t.value),t.value=null)}),{show:r,statusClass:i,positionClass:o,computedTransition:s,startTimeout:c,undoAction:l}}}),F1e=["aria-live"],j1e={class:"message flex-grow"},z1e=["aria-label"];function H1e(n,e,t,r,i,o){const s=a.resolveComponent("q-icon");return a.openBlock(),a.createBlock(a.Transition,{name:String(n.computedTransition),appear:""},{default:a.withCtx(()=>[n.show?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["toast flex",n.statusClass,n.positionClass,n.undoButton?"gap-2":"gap-3"]),role:"alert","aria-live":n.variant=="error"?"assertive":"polite","aria-atomic":"true"},[n.icon?(a.openBlock(),a.createBlock(s,{key:0,icon:n.icon,class:"status-icon",type:"fill","aria-hidden":"true"},null,8,["icon"])):a.createCommentVNode("",!0),a.createElementVNode("span",j1e,[a.renderSlot(n.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(n.message),1)],!0)]),n.undoButton?(a.openBlock(),a.createElementBlock("button",{key:1,class:"button-link",onClick:e[0]||(e[0]=l=>n.undoAction())},[a.renderSlot(n.$slots,"undo-message",{},()=>[a.createTextVNode(a.toDisplayString(n.$t("HC_UNDO")),1)],!0)])):a.createCommentVNode("",!0),n.closeButton?(a.openBlock(),a.createElementBlock("button",{key:2,class:"close-icon",onClick:e[1]||(e[1]=l=>n.show=!n.show),"aria-label":n.$t("HC_CLOSE")},[a.createVNode(s,{icon:"close",type:"line",color:"inkwell-30",class:"close","aria-hidden":"true"})],8,z1e)):a.createCommentVNode("",!0)],10,F1e)):a.createCommentVNode("",!0)]),_:3},8,["name"])}const U1e=Se($1e,[["render",H1e],["__scopeId","data-v-3862f72b"]]),Z1e={variantFlipOrder:{start:"sme",middle:"mse",end:"ems"},positionFlipOrder:{top:"tbrl",right:"rltb",bottom:"btrl",left:"lrbt"},position:"bottom",margin:8,padding:0},W1e=(n,e,t)=>{const{container:r,arrow:i,margin:o,padding:s,position:l,variantFlipOrder:c,positionFlipOrder:d}={container:document.documentElement.getBoundingClientRect(),...Z1e,...t},{left:u,top:f}=e.style;e.style.left="0",e.style.top="0";const h=n.getBoundingClientRect(),p=e.getBoundingClientRect(),g={t:h.top-p.height-o,b:h.bottom+o,r:h.right+o,l:h.left-p.width-o},b={vs:h.left,vm:h.left+h.width/2-p.width/2,ve:h.left+h.width-p.width,hs:h.top,hm:h.bottom-h.height/2-p.height/2,he:h.bottom-p.height},[y,w="middle"]=l.split("-"),v=d[y],S=c[w],{top:C,left:T,bottom:k,right:E}=r;for(const O of v){const x=O==="t"||O==="b";let N=g[O];const[D,B]=x?["top","left"]:["left","top"],[z,Z]=x?[p.height,p.width]:[p.width,p.height],[U,H]=x?[k,E]:[E,k],[V,K]=x?[C,T]:[T,C];if(!(N<V||N+z+s>U))for(const R of S){let G=b[(x?"v":"h")+R];if(!(G<K||G+Z+s>H)){if(G-=p[B],N-=p[D],e.style[B]=`${G}px`,e.style[D]=`${N}px`,i){const re=x?h.width/2:h.height/2,Q=Z/2,F=re>Q,P={s:F?Q:re,m:Q,e:F?Q:Z-re},_={t:z,b:0,r:0,l:z},$=G+P[R],Y=N+_[O];i.style[B]=`${$}px`,i.style[D]=`${Y}px`}return O+R}}}return e.style.left=u,e.style.top=f,null},G1e=(n,e,t)=>{const r=typeof n=="object"&&!(n instanceof HTMLElement)?n:{reference:n,popper:e,...t};return{update(i=r){const{reference:o,popper:s}=Object.assign(r,i);if(!s||!o)throw new Error("Popper- or reference-element missing.");return W1e(o,s,r)}}},q1e=a.defineComponent({name:"QTour",props:{name:{type:String,default:"default"},steps:{type:Array,required:!0},backdrop:{type:Boolean,default:!0},autoStart:{type:Boolean,default:!1},startDelay:{type:Number,default:2e3},highlight:{type:Boolean,default:!0},margin:{type:Number,default:8},buttonLabels:{type:Object,default:()=>{const{t:n}=no();return{next:n("HC_NEXT"),back:n("HC_BACK"),end:n("HC_GOT_IT"),snooze:n("HC_SNOOZE")}}},saveProgress:{type:Boolean,default:!0},hideSnooze:{type:Boolean,default:!1},hideArrow:{type:Boolean,default:!1},noScroll:{type:Boolean,default:!1},backdropBlur:{type:Number,default:1},outlineWidth:{type:Number,default:4},animateButton:{type:Boolean,default:!1},fixedPositioning:{type:Boolean,default:!1},beforeStartTour:{type:Function,default:void 0},popoverBottom:{type:String,default:"1.5rem"},popoverLeft:{type:String,default:"1.5rem"},hideCTA:{type:Boolean,default:!0}},emits:["onTourStart","onTourStop","onTourEnd","onTourStep","onTourSnooze"],setup(n,{emit:e,expose:t}){const r=`tour-${n.name}`,i=`${r}-tooltip`,o=`${r}-backdrop`,s=`${r}-arrow`,l=a.ref(null),c=a.ref(null),d=a.ref(!1),u=a.ref(new Set),f=a.computed(()=>n.steps.filter(R=>{var G;return!((G=R.skip)!=null&&G.call(R))})),h=a.reactive({currentStep:0,lastStep:0,nextStep:1,getCurrentStep:a.computed(()=>f.value[h.currentStep]),getLastStep:a.computed(()=>f.value[h.lastStep]),getNextStep:a.computed(()=>f.value[h.nextStep])}),p=()=>{try{const R=localStorage.getItem(`tour-steps-${n.name}`);R&&(u.value=new Set(JSON.parse(R)))}catch{localStorage.removeItem(`tour-steps-${n.name}`)}},g=()=>{n.saveProgress&&localStorage.setItem(`tour-steps-${n.name}`,JSON.stringify([...u.value]))},b=R=>{u.value.add(R),g()},y=a.computed(()=>h.currentStep===f.value.length-1?n.buttonLabels.end:n.buttonLabels.next),w=()=>{window.addEventListener("resize",K),window.addEventListener("scroll",K,!0)},v=()=>{window.removeEventListener("resize",K),window.removeEventListener("scroll",K,!0)},S=async()=>{if(p(),localStorage.getItem("tour-"+n.name)==="true")return;n.beforeStartTour&&await n.beforeStartTour();const R=localStorage.getItem(`tour-current-${n.name}`);n.saveProgress&&R?h.currentStep=parseInt(R||"0"):h.currentStep=0;const G=async()=>{if(await D(h.currentStep),!l.value){const re=document.querySelector(h.getCurrentStep.target);l.value=G1e(re,c.value,{position:h.getCurrentStep.placement||"right",margin:h.getCurrentStep.margin!==void 0?h.getCurrentStep.margin:n.margin||8})}b(h.currentStep),B(),w()};n.autoStart?setTimeout(G,n.startDelay):G(),e("onTourStart")},C=async()=>{var R,G;h.currentStep<f.value.length&&h.getCurrentStep.onAfter&&await h.getCurrentStep.onAfter(),n.backdrop&&((R=document.querySelector(`#${o}`))==null||R.setAttribute("data-hidden","")),(n.highlight||h.getLastStep.highlight)&&document.querySelectorAll(".tour-highlight").forEach(re=>re.classList.remove("tour-highlight")),(G=c.value)==null||G.setAttribute("data-hidden",""),v(),e("onTourStop")},T=R=>{C(),h.currentStep=0,h.lastStep=0,h.nextStep=1,u.value.clear(),localStorage.removeItem(`tour-steps-${n.name}`),localStorage.removeItem(`tour-current-${n.name}`),localStorage.removeItem("tour-"+n.name),R&&S()},k=async()=>{if(h.getCurrentStep.onAfter&&await h.getCurrentStep.onAfter(),h.lastStep=h.currentStep,h.currentStep++,h.currentStep>=f.value.length){x();return}await D(h.currentStep),h.nextStep=h.currentStep+1,b(h.currentStep),n.saveProgress&&localStorage.setItem(`tour-current-${n.name}`,h.currentStep.toString()),B()},E=async()=>{var R,G;if(await((G=(R=h.getCurrentStep).onAfter)==null?void 0:G.call(R)),await D(h.lastStep),h.currentStep=h.lastStep,h.lastStep--,h.lastStep<0&&(h.lastStep=0),h.currentStep<0){x();return}n.saveProgress&&localStorage.setItem(`tour-current-${n.name}`,h.currentStep.toString()),h.nextStep=h.currentStep+1,B()},O=()=>{C(),e("onTourSnooze")},x=()=>{C(),d.value=!1,n.saveProgress&&localStorage.setItem("tour-"+n.name,"true"),e("onTourEnd")},N=async R=>{await D(R),h.currentStep=R,h.lastStep=R-1,h.lastStep<0&&(h.lastStep=0),h.nextStep=R+1,b(R),n.saveProgress&&localStorage.setItem(`tour-current-${n.name}`,R.toString()),B()},D=async R=>{var re,Q,F,P;document.querySelectorAll(".tour-highlight").forEach(_=>_.classList.remove("tour-highlight"));const G=document.querySelector(`#${o}`);G&&(G.style.clipPath=""),(re=c.value)==null||re.setAttribute("data-hidden",""),await((F=(Q=f.value[R])==null?void 0:Q.onBefore)==null?void 0:F.call(Q)),(P=c.value)==null||P.removeAttribute("data-hidden")},B=async()=>{var P,_,$,Y,oe;if(z(),Z(),(P=c.value)==null||P.setAttribute("data-hidden",""),h.getCurrentStep.tooltipWidth?(_=c.value)==null||_.style.setProperty("width",h.getCurrentStep.tooltipWidth):($=c.value)==null||$.style.removeProperty("width"),!n.noScroll&&!h.getCurrentStep.noScroll){const te=document.querySelector(h.getCurrentStep.target);if(te){const ee=te.getBoundingClientRect();ee.top>=0&&ee.left>=0&&ee.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&ee.right<=(window.innerWidth||document.documentElement.clientWidth)||te.scrollIntoView({behavior:"smooth",block:"center"})}}(Y=c.value)==null||Y.removeAttribute("data-hidden");const R=document.querySelector(h.getCurrentStep.target);if(!R||!c.value)return;(h.getCurrentStep.fixedPositioning!==void 0?h.getCurrentStep.fixedPositioning:n.fixedPositioning)?c.value.style.position="fixed":c.value.style.position="";const re=h.getCurrentStep.placement||"right",Q=((oe=l.value)==null?void 0:oe.update({reference:R,position:re,margin:h.getCurrentStep.margin!==void 0?h.getCurrentStep.margin:n.margin||8}))||re;c.value.setAttribute("data-arrow",Q);const F=document.querySelector(`#${s}`);if(F){const te=R.getBoundingClientRect(),ee=c.value.getBoundingClientRect(),me=te.left+te.width/2,Ie=te.top+te.height/2;if(F.style.left="",F.style.top="",F.style.right="",F.style.bottom="",F.style.transform="",Q.startsWith("t")){const Ue=me-ee.left;F.style.left=`${Math.max(10,Math.min(ee.width-10,Ue))}px`,F.style.bottom="-5px",F.style.transform="translateX(-50%)"}else if(Q.startsWith("b")){const Ue=me-ee.left;F.style.left=`${Math.max(10,Math.min(ee.width-10,Ue))}px`,F.style.top="-5px",F.style.transform="translateX(-50%)"}else if(Q.startsWith("l")){const Ue=Ie-ee.top;F.style.top=`${Math.max(10,Math.min(ee.height-10,Ue))}px`,F.style.right="-5px",F.style.transform="translateY(-50%)"}else if(Q.startsWith("r")){const Ue=Ie-ee.top;F.style.top=`${Math.max(10,Math.min(ee.height-10,Ue))}px`,F.style.left="-5px",F.style.transform="translateY(-50%)"}}n.saveProgress&&(localStorage.setItem(`tour-current-${n.name}`,h.currentStep.toString()),b(h.currentStep)),e("onTourStep")},z=()=>{if(document.querySelectorAll(".tour-highlight").forEach(re=>re.classList.remove("tour-highlight")),!(n.highlight&&h.getCurrentStep.highlight!==!1||h.getCurrentStep.highlight===!0))return;const G=document.querySelector(h.getCurrentStep.target);G==null||G.classList.add("tour-highlight")},Z=()=>{const R=document.querySelector(`#${o}`),G=R==null?void 0:R.querySelector(".tour-highlight-outline");if(!n.backdrop||!R){R==null||R.setAttribute("data-hidden","");return}const re=document.querySelector(h.getCurrentStep.target);if(!re){R.setAttribute("data-hidden","");return}const Q=re.getBoundingClientRect(),F=h.getCurrentStep.clipPaddingHorizontal??h.getCurrentStep.clipPadding??0,P=h.getCurrentStep.clipPaddingVertical??h.getCurrentStep.clipPadding??0,_=n.outlineWidth??4,$=h.getCurrentStep.clipWidth??Q.width,Y=h.getCurrentStep.clipHeight??Q.height,oe=h.getCurrentStep.clipAlign??"center";let te,ee;oe==="left"?te=Q.left:oe==="right"?te=Q.right-$:te=Q.left+Q.width/2-$/2,oe==="top"?ee=Q.top:oe==="bottom"?ee=Q.bottom-Y:ee=Q.top+Q.height/2-Y/2;const me=te+$,Ie=ee+Y,Ue=`path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${te-F},${ee-P} L ${me+F},${ee-P} L ${me+F},${Ie+P} L ${te-F},${Ie+P} Z')`,qt=`path('M ${te-F-_},${ee-P-_} L ${me+F+_},${ee-P-_} L ${me+F+_},${Ie+P+_} L ${te-F-_},${Ie+P+_} Z')`;R.style.clipPath=Ue,n.highlight&&h.getCurrentStep.highlight!==!1?G.style.clipPath=qt:G.style.clipPath="none",R.removeAttribute("data-hidden")},U=()=>{d.value=!d.value},H=R=>{d.value=!1,localStorage.setItem(`tour-current-${n.name}`,R.toString()),S()},V=R=>u.value.has(R),K=()=>{if(h.getCurrentStep){const R=h.getCurrentStep.fixedPositioning!==void 0?h.getCurrentStep.fixedPositioning:n.fixedPositioning;Z(),z(),R?B():window.requestAnimationFrame(()=>{B()})}};return a.onMounted(()=>{c.value=document.querySelector(`#${i}`),p(),n.autoStart&&S()}),a.onUnmounted(()=>{v()}),t({startTour:S,nextStep:k,lastStep:E,endTour:x,stopTour:C,snoozeTour:O,goToStep:N,resetTour:T}),{_CurrentStep:h,getNextLabel:y,startTour:S,nextStep:k,lastStep:E,endTour:x,stopTour:C,snoozeTour:O,goToStep:N,resetTour:T,props:n,tooltipId:i,backdropId:o,arrowId:s,showPopover:d,togglePopover:U,startStepFromPopover:H,isStepViewed:V,visibleSteps:f,viewedSteps:u}}}),K1e={key:0,class:"tour-steps-container"},Y1e={class:"mt-[1px]"},Q1e={class:"popover-heading"},X1e={class:"step-list"},J1e={class:"text-black"},ede={class:"text-black/70"},tde=["onClick"],nde={key:0,class:"skip-cta"},rde=["id"],ide=["id"],ode={class:"tour-title"},sde=["innerHTML"],ade={class:"tour-actions"},lde={class:"flex items-center gap-6"},cde={class:"flex gap-1"},dde=["onClick"],ude={class:"flex items-center gap-1"},fde=["id"];function hde(n,e,t,r,i,o){const s=a.resolveComponent("q-icon"),l=a.resolveComponent("i18n-t");return a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",{class:"tour-popover",style:a.normalizeStyle({bottom:n.props.popoverBottom,left:n.props.popoverLeft})},[n.showPopover?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:a.normalizeClass(["tour-fab",{"animate-bounce":n.props.animateButton}]),onClick:e[0]||(e[0]=(...c)=>n.togglePopover&&n.togglePopover(...c))},[a.createVNode(s,{icon:"quore-glyph",type:"",size:"sm",color:"white"})],2)),a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[n.showPopover?(a.openBlock(),a.createElementBlock("div",K1e,[a.createElementVNode("button",{class:"hide-button",onClick:e[1]||(e[1]=(...c)=>n.togglePopover&&n.togglePopover(...c))},[a.createElementVNode("span",Y1e,a.toDisplayString(n.$t("HC_HIDE")),1),a.createVNode(s,{icon:"close",type:"",size:"sm",color:"inkwell-30"})]),a.createElementVNode("div",Q1e,[a.createVNode(l,{keypath:"HC_CONTINUE_THE_TOUR",tag:"div",scope:"global",class:"flex items-center"},{icon:a.withCtx(()=>[a.createVNode(s,{icon:"quore-glyph",type:"",size:"lg",color:"green-quore",class:"mx-1"})]),_:1})]),a.createElementVNode("div",X1e,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.visibleSteps,(c,d)=>(a.openBlock(),a.createElementBlock("div",{key:d,class:a.normalizeClass(["step-item",{viewed:n.isStepViewed(d)}])},[a.createElementVNode("div",null,[a.createElementVNode("span",J1e,a.toDisplayString(d+1)+".",1),e[7]||(e[7]=a.createTextVNode()),a.createElementVNode("span",ede,a.toDisplayString(c.title),1)]),a.createElementVNode("button",{class:a.normalizeClass(["step-button",{viewed:n.isStepViewed(d)}]),onClick:u=>n.startStepFromPopover(d)},a.toDisplayString(n.isStepViewed(d)?n.$t("HC_OPEN"):n.$t("HC_START")),11,tde)],2))),128))]),n.props.hideCTA?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",nde,[a.createElementVNode("button",{class:"text-blue-10 text-center mt-5",onClick:e[2]||(e[2]=c=>n.endTour())},a.toDisplayString(n.$t("HC_I_DONT_NEED_HELP")),1)]))])):a.createCommentVNode("",!0)]),_:1})],4),a.createElementVNode("div",{id:n.backdropId,class:"tour-backdrop","data-hidden":!0,style:a.normalizeStyle({"--tour-backdrop-blur":`${n.props.backdropBlur}px`})},e[8]||(e[8]=[a.createElementVNode("div",{class:"tour-highlight-outline"},null,-1)]),12,rde),a.createElementVNode("div",{id:n.tooltipId,class:"tour-tooltip",role:"tooltip","data-hidden":""},[n._CurrentStep.getCurrentStep?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("button",{class:"close-button",onClick:e[3]||(e[3]=a.withModifiers(c=>n.snoozeTour(),["prevent"]))},[a.createVNode(s,{icon:"close",size:"sm",color:"inkwell-40",type:""})]),a.renderSlot(n.$slots,"header",{currentStep:n._CurrentStep.getCurrentStep},()=>[a.createElementVNode("div",ode,a.toDisplayString(n._CurrentStep.getCurrentStep.title),1)]),a.renderSlot(n.$slots,"body",{currentStep:n._CurrentStep.getCurrentStep},()=>[typeof n._CurrentStep.getCurrentStep.content=="object"?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n._CurrentStep.getCurrentStep.content),{key:0})):(a.openBlock(),a.createElementBlock("div",{key:1,class:"tour-content",innerHTML:n._CurrentStep.getCurrentStep.content},null,8,sde))]),a.renderSlot(n.$slots,"footer",{currentStep:n._CurrentStep.getCurrentStep,snoozeTour:n.snoozeTour,lastStep:n.lastStep,nextStep:n.nextStep,buttonLabels:n.props.buttonLabels},()=>[a.createElementVNode("div",ade,[a.createElementVNode("div",lde,[n.props.hideSnooze?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"snooze-button",onClick:e[4]||(e[4]=a.withModifiers(c=>n.snoozeTour(),["prevent"]))},a.toDisplayString(n.props.buttonLabels.snooze),1)),a.createElementVNode("div",cde,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.visibleSteps,(c,d)=>(a.openBlock(),a.createElementBlock("button",{key:d,onClick:u=>n.goToStep(d),class:a.normalizeClass(["w-2 h-2 rounded-full",n._CurrentStep.currentStep===d?"step-button-active bg-blue-20 border border-gray-30 scale-125":"step-button bg-blue-5"])},null,10,dde))),128))])]),a.createElementVNode("div",ude,[n._CurrentStep.lastStep<n._CurrentStep.currentStep?(a.openBlock(),a.createElementBlock("button",{key:0,class:"back-button",onClick:e[5]||(e[5]=a.withModifiers(c=>n.lastStep(),["prevent"]))},a.toDisplayString(n.props.buttonLabels.back),1)):a.createCommentVNode("",!0),a.createElementVNode("button",{class:"next-button",onClick:e[6]||(e[6]=a.withModifiers(c=>n.nextStep(),["prevent"]))},a.toDisplayString(n.getNextLabel),1)])])])],64)):a.createCommentVNode("",!0),n.props.hideArrow?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:1,id:n.arrowId,class:"tour-arrow"},null,8,fde))],8,ide)],64)}const pde=Se(q1e,[["render",hde]]),mde={install:({config:n,provide:e})=>{n.globalProperties.$datetime=wt,e("$datetime",wt)}};function of(n){"@babel/helpers - typeof";return of=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},of(n)}function vO(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function xy(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?vO(Object(t),!0).forEach(function(r){gde(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):vO(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function gde(n,e,t){return e=yde(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function yde(n){var e=bde(n,"string");return of(e)=="symbol"?e:String(e)}function bde(n,e){if(of(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(of(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var CO={ripple:!1,inputStyle:null,locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"Page {page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}},filterMatchModeOptions:{text:[nn.STARTS_WITH,nn.CONTAINS,nn.NOT_CONTAINS,nn.ENDS_WITH,nn.EQUALS,nn.NOT_EQUALS],numeric:[nn.EQUALS,nn.NOT_EQUALS,nn.LESS_THAN,nn.LESS_THAN_OR_EQUAL_TO,nn.GREATER_THAN,nn.GREATER_THAN_OR_EQUAL_TO],date:[nn.DATE_IS,nn.DATE_IS_NOT,nn.DATE_BEFORE,nn.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},unstyled:!1,csp:{nonce:void 0}},wde=Symbol();function vde(n,e,t,r){if(n!==e){var i=document.getElementById(t),o=i.cloneNode(!0),s=i.getAttribute("href").replace(n,e);o.setAttribute("id",t+"-clone"),o.setAttribute("href",s),o.addEventListener("load",function(){i.remove(),o.setAttribute("id",t),r&&r()}),i.parentNode&&i.parentNode.insertBefore(o,i.nextSibling)}}var Cde={install:function(e,t){var r=t?xy(xy({},CO),t):xy({},CO),i={config:a.reactive(r),changeTheme:vde};e.config.globalProperties.$primevue=i,e.provide(wde,i)}};const Sde={global:{css:`
|
|
405
|
+
<button type="button" class="q-table-scroll-button scroll-button scroll-right ${F}"></button>`);const P=a.h(C0,{icon:"chevron-left",type:"",size:"md",class:"p-[0.1875rem]"}),_=a.h(C0,{icon:"chevron-right",type:"",size:"md",class:"p-[0.1875rem]"}),$=(G=g.value)==null?void 0:G.querySelector(".scroll-button.scroll-left"),Y=(re=g.value)==null?void 0:re.querySelector(".scroll-button.scroll-right");a.render(P,$),a.render(_,Y),$==null||$.addEventListener("click",z),Y==null||Y.addEventListener("click",Z),V()}},H=()=>{var R,G;(G=(R=g.value)==null?void 0:R.querySelectorAll(".scroll-button"))==null||G.forEach(re=>{re.remove()})},V=()=>{var $,Y,oe,te;const R=($=g.value)==null?void 0:$.querySelector(".scroll-button.scroll-left"),G=(Y=g.value)==null?void 0:Y.querySelector(".scroll-button.scroll-right"),re=(oe=f.value)==null?void 0:oe.querySelector("td.sticky:first-child"),Q=(te=g.value)==null?void 0:te.getBoundingClientRect(),F=document.querySelector('div[data-pc-section="header"]'),P=(F==null?void 0:F.getBoundingClientRect().height)||0,_=f.value;if(g.value&&Q&&_){const ee=(re==null?void 0:re.getBoundingClientRect().width)||0;g.value.style.setProperty("--first-sticky-width",`${ee}px`);const me=_.getBoundingClientRect(),Ie=Math.max(me.top,P),Ue=Math.min(me.bottom,window.innerHeight),qt=Ie<window.innerHeight&&Ue>P,Vn=Ue-Ie,dn=Ie+Vn/2;if(R&&G)if(qt&&i.value){R.classList.remove("hidden"),G.classList.remove("hidden");const $n=Math.max(Ie,Math.min(dn,Ue-R.offsetHeight));R.style.top=`${$n}px`,G.style.top=`${$n}px`,R.style.left=`${Q.left+ee+8}px`,G.style.right=`${window.innerWidth-Q.right+8}px`}else R.classList.add("hidden"),G.classList.add("hidden");R&&(d.value||!i.value?R.classList.add("hidden"):R.classList.remove("hidden")),G&&(c.value||!i.value?G.classList.add("hidden"):G.classList.remove("hidden"))}},K=f5(R=>{h.value=R},n.searchDelay);return a.onMounted(()=>{f.value=document.querySelector('div[data-pc-section="wrapper"]'),C(),window.addEventListener("resize",C),window.addEventListener("scroll",E),N(),w.value||U()}),a.onUnmounted(()=>{window.removeEventListener("resize",C),window.removeEventListener("scroll",E)}),{dataTableRef:r,horizontalScroll:i,isFixed:o,isSticky:s,isLastCellSticky:l,isScrolledToEnd:c,isScrolledToStart:d,noResultsPath:u,scrollableElement:f,scrollLeft:z,scrollRight:Z,search:h,selectedRows:p,tableContainer:g,tableHeight:b,isDesktop:w,isEmpty:v,skeletonData:S,filteredData:y,addScrollButtons:U,onPageResizeOrLoad:C,onSelectRow:T,onUnselectRow:k,removeScrollButtons:H,setSticky:x,mq:fn,deviceType:t,debouncedSearch:K}}}),b1e=["id"],w1e={class:"search-and-filters"},v1e={class:"inspections-search"},C1e={for:"search",class:"search-label"},S1e={key:0,class:"inspection-actions"},k1e={class:"flex relative"},M1e={key:0},E1e={key:1},A1e={key:0,class:"table-empty flex flex-col items-center justify-center"},T1e=["src"];function I1e(n,e,t,r,i,o){const s=a.resolveComponent("q-icon"),l=a.resolveComponent("q-input"),c=a.resolveComponent("q-badge"),d=a.resolveComponent("q-tooltip"),u=a.resolveComponent("column"),f=a.resolveComponent("data-table");return a.openBlock(),a.createElementBlock("div",a.mergeProps({id:n.id,class:["table-container",{"is-fixed":n.isFixed},{"using-scroll":n.horizontalScroll},{"is-loading":n.loading},{"has-sticky-columns":n.isSticky},{"scroll-start":n.isScrolledToStart},{"scroll-end":n.isScrolledToEnd},{"is-empty bg-white":n.isEmpty},{"last-cell-sticky":n.isLastCellSticky}],ref:"tableContainer"},{[a.toHandlerKey(n.isDesktop&&"mouseenter")]:e[1]||(e[1]=(...h)=>n.addScrollButtons&&n.addScrollButtons(...h))},{[a.toHandlerKey(n.isDesktop&&"mouseleave")]:e[2]||(e[2]=(...h)=>n.removeScrollButtons&&n.removeScrollButtons(...h))}),[a.createVNode(f,{selection:n.selectedRows,"onUpdate:selection":e[0]||(e[0]=h=>n.selectedRows=h),loading:n.loading,"meta-key-selection":!1,"scroll-height":n.horizontalScroll&&n.tableHeight?`${n.tableHeight}px`:"","selection-mode":n.isMultiSelect?"multiple":"single","sort-mode":n.isMultiSort?"multiple":"single",value:n.loading?n.skeletonData:n.filteredData,"data-key":"id","filter-display":"menu",ref:"dataTableRef","removable-sort":"",scrollable:"",onRowSelect:n.onSelectRow,onRowUnselect:n.onUnselectRow,onValueChange:n.setSticky},{header:a.withCtx(()=>[n.hasSearch?a.renderSlot(n.$slots,"search-and-filters",{key:0},()=>{var h,p;return[a.createElementVNode("div",w1e,[a.createElementVNode("div",v1e,[n.hasSearch?a.renderSlot(n.$slots,"search",{key:0},()=>[a.createElementVNode("label",C1e,[a.createVNode(s,{class:"mr-2",color:"gray-40",icon:"search",size:"md",type:""}),a.createVNode(l,{id:"search","model-value":n.search,"onUpdate:modelValue":n.debouncedSearch,"hide-clear":!!n.mq.md,placeholder:n.searchPlaceholder||n.$t("HC_SEARCH"),class:"text-base","control-class":"!border-0 !px-0"},null,8,["model-value","onUpdate:modelValue","hide-clear","placeholder"])])],!0):a.createCommentVNode("",!0)]),(h=n.filters)!=null&&h.length||n.$slots.tableActions?(a.openBlock(),a.createElementBlock("div",S1e,[(p=n.filters)!=null&&p.length?a.renderSlot(n.$slots,"filters",{key:0},()=>[a.createVNode(d,{class:"z-[45] ml-2"},{trigger:a.withCtx(()=>[a.createElementVNode("div",k1e,[a.createVNode(s,{class:"filters-icon ml-0",color:"gray-40",icon:"filter",size:"md",onClick:n.filtersAction},null,8,["onClick"]),n.filtersCount?(a.openBlock(),a.createBlock(c,{key:0,class:"filters-count",color:"white"},{text:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(n.filtersCount),1)]),_:1})):a.createCommentVNode("",!0)])]),content:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(n.$t("HC_FILTERS")),1)]),_:1})],!0):a.createCommentVNode("",!0),n.$slots.tableActions?a.renderSlot(n.$slots,"tableActions",{key:1},void 0,!0):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)])]},!0):a.createCommentVNode("",!0)]),empty:a.withCtx(()=>e[3]||(e[3]=[])),default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.columns,h=>(a.openBlock(),a.createBlock(u,{key:h.key,field:h.key,"filter-field":h.key,header:h.name,sortable:h.sortable,frozen:h.frozen&&!n.overrideFrozen,class:a.normalizeClass([h.key,h.size?`cell-${h.size}`:"",{"text-right":h.key==="actions"}])},{body:a.withCtx(({data:p})=>[n.loading?n.loading?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["animate-shimmer",p.shimmer])}," ",2)):a.createCommentVNode("",!0):a.renderSlot(n.$slots,h.key,a.mergeProps({key:0,ref_for:!0},p),()=>[h.key.match(/\./)?(a.openBlock(),a.createElementBlock("div",E1e,a.toDisplayString(p[h.key.split(".")[0]][h.key.split(".")[1]]),1)):(a.openBlock(),a.createElementBlock("div",M1e,a.toDisplayString(p[h.key]),1))],!0)]),_:2},1032,["field","filter-field","header","sortable","frozen","class"]))),128))]),_:3},8,["selection","loading","scroll-height","selection-mode","sort-mode","value","onRowSelect","onRowUnselect","onValueChange"]),n.isEmpty?(a.openBlock(),a.createElementBlock("div",A1e,[a.renderSlot(n.$slots,"no-results-illustration",{},()=>[a.createElementVNode("img",{class:"mb-5",src:n.noResultsPath},null,8,T1e)],!0),a.renderSlot(n.$slots,"no-results-text",a.normalizeProps(a.guardReactiveProps({search:n.search})),void 0,!0)])):a.createCommentVNode("",!0)],16,b1e)}const x1e=Se(y1e,[["render",I1e],["__scopeId","data-v-a76fc032"]]),O1e=a.defineComponent({name:"QTag",components:{},props:{tagClass:{type:String,default:""},bgColor:{type:String,default:"bg-green-0"},textColor:{type:String,default:"text-green-20"},shape:{type:String,default:"square"}},setup(n,{slots:e}){return{hasIcon:!!e.icon}}});function D1e(n,e,t,r,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["tag flex items-center",[n.tagClass,n.bgColor,n.textColor,"tag-"+n.shape,{"has-icon":n.hasIcon}]])},[n.hasIcon?a.renderSlot(n.$slots,"icon",{key:0},void 0,!0):a.createCommentVNode("",!0),a.renderSlot(n.$slots,"default",{},void 0,!0)],2)}const N1e=Se(O1e,[["render",D1e],["__scopeId","data-v-1a01844c"]]),gO="update:model-value",P1e=a.defineComponent({name:"QTextarea",inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},controlClass:{type:String,default:""},persistentPlaceholder:{type:Boolean,default:!1},placeholder:{type:String,default:""},rows:{type:Number,default:2},status:{type:String,default:""},textareaClass:{type:String,default:""},isDisabled:{type:Boolean,default:!1}},emits:[gO],setup(n,{attrs:e,emit:t,slots:r}){const i=a.ref(!1),o=a.ref(),s=a.computed(()=>!!r.actions),l=a.computed(()=>!!e.disabled||!!n.isDisabled),c=a.computed(()=>[{[`has-${n.status}`]:n.status&&!l.value},{"is-focused":i.value},{"is-disabled":l.value}]),d=a.computed(()=>["textarea",n.textareaClass,{[n.status]:n.status&&!l.value},{populated:!!n.modelValue&&n.persistentPlaceholder},{"is-focused":i.value&&n.persistentPlaceholder}]),u=()=>{o.value.style.height="auto",o.value.style.height=o.value.scrollHeight+"px"},f=h=>{t(gO,h.target.value)};return a.onMounted(()=>{u()}),{focused:i,disabled:l,rootClasses:c,textarea:o,textareaClasses:d,hasActions:s,resizeTextarea:u,updateValue:f}}}),L1e=["id","disabled","placeholder","rows","value"],B1e={key:0,class:"action flex items-end py-2 pr-4"},_1e=["for"];function R1e(n,e,t,r,i,o){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([[n.rootClasses,n.controlClass],"control flex"])},[a.createElementVNode("textarea",a.mergeProps({id:String(n.$attrs.id),ref:"textarea",disabled:n.isDisabled,class:[n.textareaClasses],placeholder:n.persistentPlaceholder?"":n.placeholder,rows:n.rows,value:n.modelValue},n.$attrs,{onInput:e[0]||(e[0]=(...s)=>n.updateValue&&n.updateValue(...s)),onFocusin:e[1]||(e[1]=s=>n.focused=!n.focused),onFocusout:e[2]||(e[2]=s=>n.focused=!n.focused),onKeyup:e[3]||(e[3]=(...s)=>n.resizeTextarea&&n.resizeTextarea(...s))})," ",16,L1e),n.hasActions?(a.openBlock(),a.createElementBlock("div",B1e,[a.renderSlot(n.$slots,"actions",{},void 0,!0)])):a.createCommentVNode("",!0),n.persistentPlaceholder?(a.openBlock(),a.createElementBlock("label",{key:1,for:String(n.$attrs.id),class:"placeholder"},a.toDisplayString(n.placeholder),9,_1e)):a.createCommentVNode("",!0)],2)}const V1e=Se(P1e,[["render",R1e],["__scopeId","data-v-fda73545"]]),yO="update:modelValue",bO="undo-action",wO="timeout-done",$1e=a.defineComponent({name:"QToast",props:{modelValue:{type:Boolean,default:!1,required:!0},icon:{type:String,default:""},message:{type:String,default:""},variant:{type:String,default:""},duration:{type:Number,default:null,required:!1},position:{type:[String,Array],default:null,required:!1},withTransition:{type:Boolean,default:!1},transitionClass:{type:String,default:"component-slide-right"},closeButton:{type:Boolean,default:!1},undoButton:{type:Boolean,default:!1}},emits:[yO,bO,wO],setup(n,{emit:e}){const t=a.ref(null),r=a.computed({get:()=>n.modelValue,set:d=>{e(yO,d)}}),i=a.computed(()=>n.variant?"is-"+n.variant:""),o=a.computed(()=>n.position?"toast-fixed "+n.position:""),s=a.computed(()=>n.withTransition&&n.transitionClass),l=()=>{e(bO)},c=()=>{t.value=setTimeout(()=>{r.value=!1,e(wO)},n.duration)};return a.onBeforeUnmount(()=>{t.value&&(clearTimeout(t.value),t.value=null)}),a.watchEffect(()=>{r.value&&n.duration?c():t.value&&(clearTimeout(t.value),t.value=null)}),{show:r,statusClass:i,positionClass:o,computedTransition:s,startTimeout:c,undoAction:l}}}),F1e=["aria-live"],j1e={class:"message flex-grow"},z1e=["aria-label"];function H1e(n,e,t,r,i,o){const s=a.resolveComponent("q-icon");return a.openBlock(),a.createBlock(a.Transition,{name:String(n.computedTransition),appear:""},{default:a.withCtx(()=>[n.show?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["toast flex",n.statusClass,n.positionClass,n.undoButton?"gap-2":"gap-3"]),role:"alert","aria-live":n.variant=="error"?"assertive":"polite","aria-atomic":"true"},[n.icon?(a.openBlock(),a.createBlock(s,{key:0,icon:n.icon,class:"status-icon",type:"fill","aria-hidden":"true"},null,8,["icon"])):a.createCommentVNode("",!0),a.createElementVNode("span",j1e,[a.renderSlot(n.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(n.message),1)],!0)]),n.undoButton?(a.openBlock(),a.createElementBlock("button",{key:1,class:"button-link",onClick:e[0]||(e[0]=l=>n.undoAction())},[a.renderSlot(n.$slots,"undo-message",{},()=>[a.createTextVNode(a.toDisplayString(n.$t("HC_UNDO")),1)],!0)])):a.createCommentVNode("",!0),n.closeButton?(a.openBlock(),a.createElementBlock("button",{key:2,class:"close-icon",onClick:e[1]||(e[1]=l=>n.show=!n.show),"aria-label":n.$t("HC_CLOSE")},[a.createVNode(s,{icon:"close",type:"line",color:"inkwell-30",class:"close","aria-hidden":"true"})],8,z1e)):a.createCommentVNode("",!0)],10,F1e)):a.createCommentVNode("",!0)]),_:3},8,["name"])}const U1e=Se($1e,[["render",H1e],["__scopeId","data-v-3862f72b"]]),Z1e={variantFlipOrder:{start:"sme",middle:"mse",end:"ems"},positionFlipOrder:{top:"tbrl",right:"rltb",bottom:"btrl",left:"lrbt"},position:"bottom",margin:8,padding:0},W1e=(n,e,t)=>{const{container:r,arrow:i,margin:o,padding:s,position:l,variantFlipOrder:c,positionFlipOrder:d}={container:document.documentElement.getBoundingClientRect(),...Z1e,...t},{left:u,top:f}=e.style;e.style.left="0",e.style.top="0";const h=n.getBoundingClientRect(),p=e.getBoundingClientRect(),g={t:h.top-p.height-o,b:h.bottom+o,r:h.right+o,l:h.left-p.width-o},b={vs:h.left,vm:h.left+h.width/2-p.width/2,ve:h.left+h.width-p.width,hs:h.top,hm:h.bottom-h.height/2-p.height/2,he:h.bottom-p.height},[y,w="middle"]=l.split("-"),v=d[y],S=c[w],{top:C,left:T,bottom:k,right:E}=r;for(const O of v){const x=O==="t"||O==="b";let N=g[O];const[D,B]=x?["top","left"]:["left","top"],[z,Z]=x?[p.height,p.width]:[p.width,p.height],[U,H]=x?[k,E]:[E,k],[V,K]=x?[C,T]:[T,C];if(!(N<V||N+z+s>U))for(const R of S){let G=b[(x?"v":"h")+R];if(!(G<K||G+Z+s>H)){if(G-=p[B],N-=p[D],e.style[B]=`${G}px`,e.style[D]=`${N}px`,i){const re=x?h.width/2:h.height/2,Q=Z/2,F=re>Q,P={s:F?Q:re,m:Q,e:F?Q:Z-re},_={t:z,b:0,r:0,l:z},$=G+P[R],Y=N+_[O];i.style[B]=`${$}px`,i.style[D]=`${Y}px`}return O+R}}}return e.style.left=u,e.style.top=f,null},G1e=(n,e,t)=>{const r=typeof n=="object"&&!(n instanceof HTMLElement)?n:{reference:n,popper:e,...t};return{update(i=r){const{reference:o,popper:s}=Object.assign(r,i);if(!s||!o)throw new Error("Popper- or reference-element missing.");return W1e(o,s,r)}}},q1e=a.defineComponent({name:"QTour",props:{name:{type:String,default:"default"},steps:{type:Array,required:!0},backdrop:{type:Boolean,default:!0},autoStart:{type:Boolean,default:!1},startDelay:{type:Number,default:2e3},highlight:{type:Boolean,default:!0},margin:{type:Number,default:8},buttonLabels:{type:Object,default:()=>{const{t:n}=no();return{next:n("HC_NEXT"),back:n("HC_BACK"),end:n("HC_GOT_IT"),snooze:n("HC_SNOOZE")}}},saveProgress:{type:Boolean,default:!0},hideSnooze:{type:Boolean,default:!1},hideArrow:{type:Boolean,default:!1},noScroll:{type:Boolean,default:!1},backdropBlur:{type:Number,default:1},outlineWidth:{type:Number,default:4},animateButton:{type:Boolean,default:!1},fixedPositioning:{type:Boolean,default:!1},beforeStartTour:{type:Function,default:void 0},popoverBottom:{type:String,default:"1.5rem"},popoverLeft:{type:String,default:"1.5rem"},hideCTA:{type:Boolean,default:!0}},emits:["onTourStart","onTourStop","onTourEnd","onTourStep","onTourSnooze"],setup(n,{emit:e,expose:t}){const r=`tour-${n.name}`,i=`${r}-tooltip`,o=`${r}-backdrop`,s=`${r}-arrow`,l=a.ref(null),c=a.ref(null),d=a.ref(!1),u=a.ref(new Set),f=a.computed(()=>n.steps.filter(R=>{var G;return!((G=R.skip)!=null&&G.call(R))})),h=a.reactive({currentStep:0,lastStep:0,nextStep:1,getCurrentStep:a.computed(()=>f.value[h.currentStep]),getLastStep:a.computed(()=>f.value[h.lastStep]),getNextStep:a.computed(()=>f.value[h.nextStep])}),p=()=>{try{const R=localStorage.getItem(`tour-steps-${n.name}`);R&&(u.value=new Set(JSON.parse(R)))}catch{localStorage.removeItem(`tour-steps-${n.name}`)}},g=()=>{n.saveProgress&&localStorage.setItem(`tour-steps-${n.name}`,JSON.stringify([...u.value]))},b=R=>{u.value.add(R),g()},y=a.computed(()=>h.currentStep===f.value.length-1?n.buttonLabels.end:n.buttonLabels.next),w=()=>{window.addEventListener("resize",K),window.addEventListener("scroll",K,!0)},v=()=>{window.removeEventListener("resize",K),window.removeEventListener("scroll",K,!0)},S=async()=>{p(),n.beforeStartTour&&await n.beforeStartTour();const R=localStorage.getItem(`tour-current-${n.name}`);n.saveProgress&&R?h.currentStep=parseInt(R||"0"):h.currentStep=0;const G=async()=>{if(await D(h.currentStep),!l.value){const re=document.querySelector(h.getCurrentStep.target);l.value=G1e(re,c.value,{position:h.getCurrentStep.placement||"right",margin:h.getCurrentStep.margin!==void 0?h.getCurrentStep.margin:n.margin||8})}b(h.currentStep),B(),w()};n.autoStart?setTimeout(G,n.startDelay):G(),e("onTourStart")},C=async()=>{var R,G;h.currentStep<f.value.length&&h.getCurrentStep.onAfter&&await h.getCurrentStep.onAfter(),n.backdrop&&((R=document.querySelector(`#${o}`))==null||R.setAttribute("data-hidden","")),(n.highlight||h.getLastStep.highlight)&&document.querySelectorAll(".tour-highlight").forEach(re=>re.classList.remove("tour-highlight")),(G=c.value)==null||G.setAttribute("data-hidden",""),v(),e("onTourStop")},T=R=>{C(),h.currentStep=0,h.lastStep=0,h.nextStep=1,u.value.clear(),localStorage.removeItem(`tour-steps-${n.name}`),localStorage.removeItem(`tour-current-${n.name}`),localStorage.removeItem("tour-"+n.name),R&&S()},k=async()=>{if(h.getCurrentStep.onAfter&&await h.getCurrentStep.onAfter(),h.lastStep=h.currentStep,h.currentStep++,h.currentStep>=f.value.length){x();return}await D(h.currentStep),h.nextStep=h.currentStep+1,b(h.currentStep),n.saveProgress&&localStorage.setItem(`tour-current-${n.name}`,h.currentStep.toString()),B()},E=async()=>{var R,G;if(await((G=(R=h.getCurrentStep).onAfter)==null?void 0:G.call(R)),await D(h.lastStep),h.currentStep=h.lastStep,h.lastStep--,h.lastStep<0&&(h.lastStep=0),h.currentStep<0){x();return}n.saveProgress&&localStorage.setItem(`tour-current-${n.name}`,h.currentStep.toString()),h.nextStep=h.currentStep+1,B()},O=()=>{C(),e("onTourSnooze")},x=()=>{C(),d.value=!1,e("onTourEnd")},N=async R=>{await D(R),h.currentStep=R,h.lastStep=R-1,h.lastStep<0&&(h.lastStep=0),h.nextStep=R+1,b(R),n.saveProgress&&localStorage.setItem(`tour-current-${n.name}`,R.toString()),B()},D=async R=>{var re,Q,F,P;document.querySelectorAll(".tour-highlight").forEach(_=>_.classList.remove("tour-highlight"));const G=document.querySelector(`#${o}`);G&&(G.style.clipPath=""),(re=c.value)==null||re.setAttribute("data-hidden",""),await((F=(Q=f.value[R])==null?void 0:Q.onBefore)==null?void 0:F.call(Q)),(P=c.value)==null||P.removeAttribute("data-hidden")},B=async()=>{var P,_,$,Y,oe;if(z(),Z(),(P=c.value)==null||P.setAttribute("data-hidden",""),h.getCurrentStep.tooltipWidth?(_=c.value)==null||_.style.setProperty("width",h.getCurrentStep.tooltipWidth):($=c.value)==null||$.style.removeProperty("width"),!n.noScroll&&!h.getCurrentStep.noScroll){const te=document.querySelector(h.getCurrentStep.target);if(te){const ee=te.getBoundingClientRect();ee.top>=0&&ee.left>=0&&ee.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&ee.right<=(window.innerWidth||document.documentElement.clientWidth)||te.scrollIntoView({behavior:"smooth",block:"center"})}}(Y=c.value)==null||Y.removeAttribute("data-hidden");const R=document.querySelector(h.getCurrentStep.target);if(!R||!c.value)return;(h.getCurrentStep.fixedPositioning!==void 0?h.getCurrentStep.fixedPositioning:n.fixedPositioning)?c.value.style.position="fixed":c.value.style.position="";const re=h.getCurrentStep.placement||"right",Q=((oe=l.value)==null?void 0:oe.update({reference:R,position:re,margin:h.getCurrentStep.margin!==void 0?h.getCurrentStep.margin:n.margin||8}))||re;c.value.setAttribute("data-arrow",Q);const F=document.querySelector(`#${s}`);if(F){const te=R.getBoundingClientRect(),ee=c.value.getBoundingClientRect(),me=te.left+te.width/2,Ie=te.top+te.height/2;if(F.style.left="",F.style.top="",F.style.right="",F.style.bottom="",F.style.transform="",Q.startsWith("t")){const Ue=me-ee.left;F.style.left=`${Math.max(10,Math.min(ee.width-10,Ue))}px`,F.style.bottom="-5px",F.style.transform="translateX(-50%)"}else if(Q.startsWith("b")){const Ue=me-ee.left;F.style.left=`${Math.max(10,Math.min(ee.width-10,Ue))}px`,F.style.top="-5px",F.style.transform="translateX(-50%)"}else if(Q.startsWith("l")){const Ue=Ie-ee.top;F.style.top=`${Math.max(10,Math.min(ee.height-10,Ue))}px`,F.style.right="-5px",F.style.transform="translateY(-50%)"}else if(Q.startsWith("r")){const Ue=Ie-ee.top;F.style.top=`${Math.max(10,Math.min(ee.height-10,Ue))}px`,F.style.left="-5px",F.style.transform="translateY(-50%)"}}n.saveProgress&&(localStorage.setItem(`tour-current-${n.name}`,h.currentStep.toString()),b(h.currentStep)),e("onTourStep")},z=()=>{if(document.querySelectorAll(".tour-highlight").forEach(re=>re.classList.remove("tour-highlight")),!(n.highlight&&h.getCurrentStep.highlight!==!1||h.getCurrentStep.highlight===!0))return;const G=document.querySelector(h.getCurrentStep.target);G==null||G.classList.add("tour-highlight")},Z=()=>{const R=document.querySelector(`#${o}`),G=R==null?void 0:R.querySelector(".tour-highlight-outline");if(!n.backdrop||!R){R==null||R.setAttribute("data-hidden","");return}const re=document.querySelector(h.getCurrentStep.target);if(!re){R.setAttribute("data-hidden","");return}const Q=re.getBoundingClientRect(),F=h.getCurrentStep.clipPaddingHorizontal??h.getCurrentStep.clipPadding??0,P=h.getCurrentStep.clipPaddingVertical??h.getCurrentStep.clipPadding??0,_=n.outlineWidth??4,$=h.getCurrentStep.clipWidth??Q.width,Y=h.getCurrentStep.clipHeight??Q.height,oe=h.getCurrentStep.clipAlign??"center";let te,ee;oe==="left"?te=Q.left:oe==="right"?te=Q.right-$:te=Q.left+Q.width/2-$/2,oe==="top"?ee=Q.top:oe==="bottom"?ee=Q.bottom-Y:ee=Q.top+Q.height/2-Y/2;const me=te+$,Ie=ee+Y,Ue=`path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${te-F},${ee-P} L ${me+F},${ee-P} L ${me+F},${Ie+P} L ${te-F},${Ie+P} Z')`,qt=`path('M ${te-F-_},${ee-P-_} L ${me+F+_},${ee-P-_} L ${me+F+_},${Ie+P+_} L ${te-F-_},${Ie+P+_} Z')`;R.style.clipPath=Ue,n.highlight&&h.getCurrentStep.highlight!==!1?G.style.clipPath=qt:G.style.clipPath="none",R.removeAttribute("data-hidden")},U=()=>{d.value=!d.value},H=R=>{d.value=!1,localStorage.setItem(`tour-current-${n.name}`,R.toString()),S()},V=R=>u.value.has(R),K=()=>{if(h.getCurrentStep){const R=h.getCurrentStep.fixedPositioning!==void 0?h.getCurrentStep.fixedPositioning:n.fixedPositioning;Z(),z(),R?B():window.requestAnimationFrame(()=>{B()})}};return a.onMounted(()=>{c.value=document.querySelector(`#${i}`),p(),n.autoStart&&S()}),a.onUnmounted(()=>{v()}),t({startTour:S,nextStep:k,lastStep:E,endTour:x,stopTour:C,snoozeTour:O,goToStep:N,resetTour:T}),{_CurrentStep:h,getNextLabel:y,startTour:S,nextStep:k,lastStep:E,endTour:x,stopTour:C,snoozeTour:O,goToStep:N,resetTour:T,props:n,tooltipId:i,backdropId:o,arrowId:s,showPopover:d,togglePopover:U,startStepFromPopover:H,isStepViewed:V,visibleSteps:f,viewedSteps:u}}}),K1e={key:0,class:"tour-steps-container"},Y1e={class:"mt-[1px]"},Q1e={class:"popover-heading"},X1e={class:"step-list"},J1e={class:"text-black"},ede={class:"text-black/70"},tde=["onClick"],nde={key:0,class:"skip-cta"},rde=["id"],ide=["id"],ode={class:"tour-title"},sde=["innerHTML"],ade={class:"tour-actions"},lde={class:"flex items-center gap-6"},cde={class:"flex gap-1"},dde=["onClick"],ude={class:"flex items-center gap-1"},fde=["id"];function hde(n,e,t,r,i,o){const s=a.resolveComponent("q-icon"),l=a.resolveComponent("i18n-t");return a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",{class:"tour-popover",style:a.normalizeStyle({bottom:n.props.popoverBottom,left:n.props.popoverLeft})},[n.showPopover?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:a.normalizeClass(["tour-fab",{"animate-bounce":n.props.animateButton}]),onClick:e[0]||(e[0]=(...c)=>n.togglePopover&&n.togglePopover(...c))},[a.createVNode(s,{icon:"quore-glyph",type:"",size:"sm",color:"white"})],2)),a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[n.showPopover?(a.openBlock(),a.createElementBlock("div",K1e,[a.createElementVNode("button",{class:"hide-button",onClick:e[1]||(e[1]=(...c)=>n.togglePopover&&n.togglePopover(...c))},[a.createElementVNode("span",Y1e,a.toDisplayString(n.$t("HC_HIDE")),1),a.createVNode(s,{icon:"close",type:"",size:"sm",color:"inkwell-30"})]),a.createElementVNode("div",Q1e,[a.createVNode(l,{keypath:"HC_CONTINUE_THE_TOUR",tag:"div",scope:"global",class:"flex items-center"},{icon:a.withCtx(()=>[a.createVNode(s,{icon:"quore-glyph",type:"",size:"lg",color:"green-quore",class:"mx-1"})]),_:1})]),a.createElementVNode("div",X1e,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.visibleSteps,(c,d)=>(a.openBlock(),a.createElementBlock("div",{key:d,class:a.normalizeClass(["step-item",{viewed:n.isStepViewed(d)}])},[a.createElementVNode("div",null,[a.createElementVNode("span",J1e,a.toDisplayString(d+1)+".",1),e[7]||(e[7]=a.createTextVNode()),a.createElementVNode("span",ede,a.toDisplayString(c.title),1)]),a.createElementVNode("button",{class:a.normalizeClass(["step-button",{viewed:n.isStepViewed(d)}]),onClick:u=>n.startStepFromPopover(d)},a.toDisplayString(n.isStepViewed(d)?n.$t("HC_OPEN"):n.$t("HC_START")),11,tde)],2))),128))]),n.props.hideCTA?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",nde,[a.createElementVNode("button",{class:"text-blue-10 text-center mt-5",onClick:e[2]||(e[2]=c=>n.endTour())},a.toDisplayString(n.$t("HC_I_DONT_NEED_HELP")),1)]))])):a.createCommentVNode("",!0)]),_:1})],4),a.createElementVNode("div",{id:n.backdropId,class:"tour-backdrop","data-hidden":!0,style:a.normalizeStyle({"--tour-backdrop-blur":`${n.props.backdropBlur}px`})},e[8]||(e[8]=[a.createElementVNode("div",{class:"tour-highlight-outline"},null,-1)]),12,rde),a.createElementVNode("div",{id:n.tooltipId,class:"tour-tooltip",role:"tooltip","data-hidden":""},[n._CurrentStep.getCurrentStep?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("button",{class:"close-button",onClick:e[3]||(e[3]=a.withModifiers(c=>n.snoozeTour(),["prevent"]))},[a.createVNode(s,{icon:"close",size:"sm",color:"inkwell-40",type:""})]),a.renderSlot(n.$slots,"header",{currentStep:n._CurrentStep.getCurrentStep},()=>[a.createElementVNode("div",ode,a.toDisplayString(n._CurrentStep.getCurrentStep.title),1)]),a.renderSlot(n.$slots,"body",{currentStep:n._CurrentStep.getCurrentStep},()=>[typeof n._CurrentStep.getCurrentStep.content=="object"?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n._CurrentStep.getCurrentStep.content),{key:0})):(a.openBlock(),a.createElementBlock("div",{key:1,class:"tour-content",innerHTML:n._CurrentStep.getCurrentStep.content},null,8,sde))]),a.renderSlot(n.$slots,"footer",{currentStep:n._CurrentStep.getCurrentStep,snoozeTour:n.snoozeTour,lastStep:n.lastStep,nextStep:n.nextStep,buttonLabels:n.props.buttonLabels},()=>[a.createElementVNode("div",ade,[a.createElementVNode("div",lde,[n.props.hideSnooze?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"snooze-button",onClick:e[4]||(e[4]=a.withModifiers(c=>n.snoozeTour(),["prevent"]))},a.toDisplayString(n.props.buttonLabels.snooze),1)),a.createElementVNode("div",cde,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.visibleSteps,(c,d)=>(a.openBlock(),a.createElementBlock("button",{key:d,onClick:u=>n.goToStep(d),class:a.normalizeClass(["w-2 h-2 rounded-full",n._CurrentStep.currentStep===d?"step-button-active bg-blue-20 border border-gray-30 scale-125":"step-button bg-blue-5"])},null,10,dde))),128))])]),a.createElementVNode("div",ude,[n._CurrentStep.lastStep<n._CurrentStep.currentStep?(a.openBlock(),a.createElementBlock("button",{key:0,class:"back-button",onClick:e[5]||(e[5]=a.withModifiers(c=>n.lastStep(),["prevent"]))},a.toDisplayString(n.props.buttonLabels.back),1)):a.createCommentVNode("",!0),a.createElementVNode("button",{class:"next-button",onClick:e[6]||(e[6]=a.withModifiers(c=>n.nextStep(),["prevent"]))},a.toDisplayString(n.getNextLabel),1)])])])],64)):a.createCommentVNode("",!0),n.props.hideArrow?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:1,id:n.arrowId,class:"tour-arrow"},null,8,fde))],8,ide)],64)}const pde=Se(q1e,[["render",hde]]),mde={install:({config:n,provide:e})=>{n.globalProperties.$datetime=wt,e("$datetime",wt)}};function of(n){"@babel/helpers - typeof";return of=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},of(n)}function vO(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function xy(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?vO(Object(t),!0).forEach(function(r){gde(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):vO(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function gde(n,e,t){return e=yde(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function yde(n){var e=bde(n,"string");return of(e)=="symbol"?e:String(e)}function bde(n,e){if(of(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(of(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var CO={ripple:!1,inputStyle:null,locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"Page {page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}},filterMatchModeOptions:{text:[nn.STARTS_WITH,nn.CONTAINS,nn.NOT_CONTAINS,nn.ENDS_WITH,nn.EQUALS,nn.NOT_EQUALS],numeric:[nn.EQUALS,nn.NOT_EQUALS,nn.LESS_THAN,nn.LESS_THAN_OR_EQUAL_TO,nn.GREATER_THAN,nn.GREATER_THAN_OR_EQUAL_TO],date:[nn.DATE_IS,nn.DATE_IS_NOT,nn.DATE_BEFORE,nn.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},unstyled:!1,csp:{nonce:void 0}},wde=Symbol();function vde(n,e,t,r){if(n!==e){var i=document.getElementById(t),o=i.cloneNode(!0),s=i.getAttribute("href").replace(n,e);o.setAttribute("id",t+"-clone"),o.setAttribute("href",s),o.addEventListener("load",function(){i.remove(),o.setAttribute("id",t),r&&r()}),i.parentNode&&i.parentNode.insertBefore(o,i.nextSibling)}}var Cde={install:function(e,t){var r=t?xy(xy({},CO),t):xy({},CO),i={config:a.reactive(r),changeTheme:vde};e.config.globalProperties.$primevue=i,e.provide(wde,i)}};const Sde={global:{css:`
|
|
406
406
|
*[data-pd-ripple="true"]{
|
|
407
407
|
overflow: hidden;
|
|
408
408
|
position: relative;
|