CI Build Artifacts (commit: b3961a3483, version: 1.10.0-dev)

This commit is contained in:
github-actions[bot] committed 2026-11-18 00:28:50 +00:00
1 parent 16ef728225
commit 4f9742a203
30 files changed
+57 -57

No files matched your search

@@ -1,2 +1,2 @@
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_10_0_dev"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_10_0_dev"]||[]).push([[918],{13756:function(e,t,o){"use strict";o.d(t,{A:function(){return a.A}});var a=o(51194)},99435:function(e,t,o){"use strict";o.d(t,{A:function(){return a.A}});var a=o(53440)},77537:function(e,t,o){"use strict";o.d(t,{x:function(){return w},h:function(){return C}});var a=o(9274),r=o(65359),i=o(95457),l=o(82149),n=o(92043),s=o(71126),c=o(25509);const d={small:480,medium:640,large:960},u=e=>{const t=d[e]??d.medium;return`${t}px`},p=["aria-labelledby"],v={class:"content"},f=["tabindex","role","aria-labelledby"];var m=(0,a.defineComponent)({inheritAttrs:!1,__name:"RcModalDialog",props:{title:{},size:{},clickToClose:{type:Boolean}},emits:["open","close","cancel","primary-action"],setup(e,{emit:t}){(0,a.useCssVars)(e=>({v1dbe94c7:k.value}));const o=e,d=t,m=(0,a.useSlots)(),h=(0,r.Pj)(),{t:y}=(0,i.s)(h),b=(0,n.aR)(12),x=`rc-modal-${b}`,g=`rc-modal-title-${b}`,k=(0,a.computed)(()=>u(o.size)),w=(0,a.computed)(()=>!!o.title||!!m.title),C=(0,a.computed)(()=>!!m.actions||!!m["primary-action"]),_=(0,a.ref)(null),$=(0,a.ref)(null),z=(0,a.ref)(null),B=(0,a.ref)(!1),S=()=>{B.value=!!$.value&&$.value.scrollHeight>$.value.clientHeight},A=(0,a.computed)(()=>B.value&&w.value);function P(e){const t=e&&(0,l.$4)(e);return t&&t!==document.body?t:null}function M(){const e=_.value?.querySelector("[autofocus]");return e?e.tabIndex>=0||e.hasAttribute("tabindex")?e:P(e):null}function V(){return M()||P($.value)||(B.value?$.value:null)||P(z.value)||$.value||_.value}let R;function N(){d("close")}function E(){d("cancel"),N()}function T(){d("primary-action")}(0,a.onMounted)(()=>{d("open"),S(),$.value&&"undefined"!==typeof ResizeObserver&&(R=new ResizeObserver(S),R.observe($.value))}),(0,a.onBeforeUnmount)(()=>R?.disconnect()),(0,l.kS)(`#${x}`,{...l.mG,escapeDeactivates:!1,fallbackFocus:`#${x}`,initialFocus:V});const j={close:N,cancel:E,primaryAction:T};function D(e){"Escape"===e.key&&(e.stopPropagation(),E())}function I(){o.clickToClose&&E()}return(t,o)=>((0,a.openBlock)(),(0,a.createElementBlock)("div",{class:"rc-modal-overlay",onMousedown:o[0]||(o[0]=(0,a.withModifiers)(()=>{},["self","prevent"])),onClick:(0,a.withModifiers)(I,["self"])},[(0,a.createElementVNode)("div",(0,a.mergeProps)({id:x,ref_key:"dialog",ref:_},t.$attrs,{class:"rc-modal",role:"dialog","aria-modal":"true","aria-labelledby":w.value?g:void 0,tabindex:"-1",onKeydown:D}),[(0,a.createElementVNode)("div",v,[w.value?((0,a.openBlock)(),(0,a.createBlock)((0,a.unref)(c.m),{key:0,id:g,size:3,class:"title","data-testid":"rc-modal-title"},{default:(0,a.withCtx)(()=>[(0,a.renderSlot)(t.$slots,"title",{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.title),1)])]),_:3})):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("div",{ref_key:"body",ref:$,class:"body",tabindex:B.value?0:void 0,role:A.value?"region":void 0,"aria-labelledby":A.value?g:void 0,"data-testid":"rc-modal-body"},[(0,a.renderSlot)(t.$slots,"default")],8,f)]),C.value?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:0,ref_key:"actions",ref:z,class:"actions","data-testid":"rc-modal-actions"},[(0,a.renderSlot)(t.$slots,"actions",(0,a.normalizeProps)((0,a.guardReactiveProps)(j)),()=>[(0,a.createVNode)(s.A,{variant:"tertiary",size:"large","data-testid":"rc-modal-cancel",onClick:E},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)((0,a.unref)(y)("generic.cancel")),1)]),_:1}),(0,a.renderSlot)(t.$slots,"primary-action",(0,a.normalizeProps)((0,a.guardReactiveProps)(j)))])],512)):(0,a.createCommentVNode)("",!0)],16,p)],32))}}),h=(o(30975),o(47433));const y=(0,h.A)(m,[["__scopeId","data-v-3e5249a6"]]);var b=y;const x="#modals";var g=(0,a.defineComponent)({inheritAttrs:!1,__name:"RcModal",props:{show:{type:Boolean,default:!1},title:{default:""},size:{default:"medium"},clickToClose:{type:Boolean,default:!0}},emits:["open","close","cancel","primary-action"],setup(e){const t=e,o=(0,a.computed)(()=>t.show&&document.querySelector(x)?x:"body");return(t,r)=>((0,a.openBlock)(),(0,a.createBlock)(a.Teleport,{to:o.value},[e.show?((0,a.openBlock)(),(0,a.createBlock)(b,(0,a.mergeProps)({key:0},t.$attrs,{title:e.title,size:e.size,"click-to-close":e.clickToClose,onOpen:r[0]||(r[0]=e=>t.$emit("open")),onClose:r[1]||(r[1]=e=>t.$emit("close")),onCancel:r[2]||(r[2]=e=>t.$emit("cancel")),onPrimaryAction:r[3]||(r[3]=e=>t.$emit("primary-action"))}),(0,a.createSlots)({default:(0,a.withCtx)(()=>[(0,a.renderSlot)(t.$slots,"default")]),_:2},[t.$slots.title?{name:"title",fn:(0,a.withCtx)(()=>[(0,a.renderSlot)(t.$slots,"title")]),key:"0"}:void 0,t.$slots.actions?{name:"actions",fn:(0,a.withCtx)(e=>[(0,a.renderSlot)(t.$slots,"actions",(0,a.normalizeProps)((0,a.guardReactiveProps)(e)))]),key:"1"}:void 0,t.$slots["primary-action"]?{name:"primary-action",fn:(0,a.withCtx)(e=>[(0,a.renderSlot)(t.$slots,"primary-action",(0,a.normalizeProps)((0,a.guardReactiveProps)(e)Line truncated
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_10_0_dev"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_10_0_dev"]||[]).push([[918],{13756:function(e,t,o){"use strict";o.d(t,{A:function(){return a.A}});var a=o(51194)},99435:function(e,t,o){"use strict";o.d(t,{A:function(){return a.A}});var a=o(53440)},77537:function(e,t,o){"use strict";o.d(t,{x:function(){return w},h:function(){return C}});var a=o(9274),r=o(65359),l=o(95457),i=o(82149),n=o(92043),c=o(71126),s=o(25509);const d={small:480,medium:640,large:960},u=e=>{var t;const o=null!==(t=d[e])&&void 0!==t?t:d.medium;return`${o}px`},p=["aria-labelledby"],v={class:"content"},f=["tabindex","role","aria-labelledby"];var m=(0,a.defineComponent)({inheritAttrs:!1,__name:"RcModalDialog",props:{title:{},size:{},clickToClose:{type:Boolean}},emits:["open","close","cancel","primary-action"],setup(e,{emit:t}){(0,a.useCssVars)(e=>({v1dbe94c7:k.value}));const o=e,d=t,m=(0,a.useSlots)(),h=(0,r.Pj)(),{t:y}=(0,l.s)(h),b=(0,n.aR)(12),x=`rc-modal-${b}`,g=`rc-modal-title-${b}`,k=(0,a.computed)(()=>u(o.size)),w=(0,a.computed)(()=>!!o.title||!!m.title),C=(0,a.computed)(()=>!!m.actions||!!m["primary-action"]),_=(0,a.ref)(null),$=(0,a.ref)(null),z=(0,a.ref)(null),B=(0,a.ref)(!1),S=()=>{B.value=!!$.value&&$.value.scrollHeight>$.value.clientHeight},A=(0,a.computed)(()=>B.value&&w.value);function P(e){const t=e&&(0,i.$4)(e);return t&&t!==document.body?t:null}function M(){var e;const t=null===(e=_.value)||void 0===e?void 0:e.querySelector("[autofocus]");return t?t.tabIndex>=0||t.hasAttribute("tabindex")?t:P(t):null}function V(){return M()||P($.value)||(B.value?$.value:null)||P(z.value)||$.value||_.value}let R;function N(){d("close")}function E(){d("cancel"),N()}function T(){d("primary-action")}(0,a.onMounted)(()=>{d("open"),S(),$.value&&"undefined"!==typeof ResizeObserver&&(R=new ResizeObserver(S),R.observe($.value))}),(0,a.onBeforeUnmount)(()=>null===R||void 0===R?void 0:R.disconnect()),(0,i.kS)(`#${x}`,{...i.mG,escapeDeactivates:!1,fallbackFocus:`#${x}`,initialFocus:V});const j={close:N,cancel:E,primaryAction:T};function D(e){"Escape"===e.key&&(e.stopPropagation(),E())}function I(){o.clickToClose&&E()}return(t,o)=>((0,a.openBlock)(),(0,a.createElementBlock)("div",{class:"rc-modal-overlay",onMousedown:o[0]||(o[0]=(0,a.withModifiers)(()=>{},["self","prevent"])),onClick:(0,a.withModifiers)(I,["self"])},[(0,a.createElementVNode)("div",(0,a.mergeProps)({id:x,ref_key:"dialog",ref:_},t.$attrs,{class:"rc-modal",role:"dialog","aria-modal":"true","aria-labelledby":w.value?g:void 0,tabindex:"-1",onKeydown:D}),[(0,a.createElementVNode)("div",v,[w.value?((0,a.openBlock)(),(0,a.createBlock)((0,a.unref)(s.m),{key:0,id:g,size:3,class:"title","data-testid":"rc-modal-title"},{default:(0,a.withCtx)(()=>[(0,a.renderSlot)(t.$slots,"title",{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.title),1)])]),_:3})):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("div",{ref_key:"body",ref:$,class:"body",tabindex:B.value?0:void 0,role:A.value?"region":void 0,"aria-labelledby":A.value?g:void 0,"data-testid":"rc-modal-body"},[(0,a.renderSlot)(t.$slots,"default")],8,f)]),C.value?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:0,ref_key:"actions",ref:z,class:"actions","data-testid":"rc-modal-actions"},[(0,a.renderSlot)(t.$slots,"actions",(0,a.normalizeProps)((0,a.guardReactiveProps)(j)),()=>[(0,a.createVNode)(c.A,{variant:"tertiary",size:"large","data-testid":"rc-modal-cancel",onClick:E},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)((0,a.unref)(y)("generic.cancel")),1)]),_:1}),(0,a.renderSlot)(t.$slots,"primary-action",(0,a.normalizeProps)((0,a.guardReactiveProps)(j)))])],512)):(0,a.createCommentVNode)("",!0)],16,p)],32))}}),h=(o(30975),o(47433));const y=(0,h.A)(m,[["__scopeId","data-v-3e5249a6"]]);var b=y;const x="#modals";var g=(0,a.defineComponent)({inheritAttrs:!1,__name:"RcModal",props:{show:{type:Boolean,default:!1},title:{default:""},size:{default:"medium"},clickToClose:{type:Boolean,default:!0}},emits:["open","close","cancel","primary-action"],setup(e){const t=e,o=(0,a.computed)(()=>t.show&&document.querySelector(x)?x:"body");return(t,r)=>((0,a.openBlock)(),(0,a.createBlock)(a.Teleport,{to:o.value},[e.show?((0,a.openBlock)(),(0,a.createBlock)(b,(0,a.mergeProps)({key:0},t.$attrs,{title:e.title,size:e.size,"click-to-close":e.clickToClose,onOpen:r[0]||(r[0]=e=>t.$emit("open")),onClose:r[1]||(r[1]=e=>t.$emit("close")),onCancel:r[2]||(r[2]=e=>t.$emit("cancel")),onPrimaryAction:r[3]||(r[3]=e=>t.$emit("primary-action"))}),(0,a.createSlots)({default:(0,a.withCtx)(()=>[(0,a.renderSlot)(t.$slots,"default")]),_:2},[t.$slots.title?{name:"title",fn:(0,a.withCtx)(()=>[(0,a.renderSlot)(t.$slots,"title")]),key:"0"}:void 0,t.$slots.actions?{name:"actions",fn:(0,a.withCtx)(e=>[(0,a.renderSlot)(t.$slots,"actions",(0,a.normalizeProps)((0,a.guardReactiveProps)(e)))]),key:"1"}:void 0,t.$slots["primary-action"]?{name:"primary-action",fn:(0,a.withCtx)(eLine truncated
//# sourceMappingURL=harvester-1.10.0-dev.umd.min.918.js.map