From 2bfff8ddbe989816e711ddfed5795a44872ac5ee Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 8 Mar 2024 14:45:09 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20open-pio?=
=?UTF-8?q?neer/trails-core-packages@5ff8f304b91d6d5e40febaf65798b1f3efab3?=
=?UTF-8?q?a71=20=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../assets/{4db025a8fa53.js => 6265da8008fb.js} | 2 +-
.../assets/{afc2429a7da1.js => 73a9b51880fc.js} | 2 +-
.../assets/{f664fa8964c8.js => 7cefae59068f.js} | 2 +-
.../assets/{c8636be98652.js => 8cb5dde696b5.js} | 2 +-
.../assets/{df8af7ec6993.js => e833d06c991d.js} | 2 +-
.../docs/classes/_open_pioneer_core.Error.html | 8 ++++----
.../classes/_open_pioneer_core.EventEmitter.html | 8 ++++----
.../_open_pioneer_authentication.useAuthState.html | 2 +-
.../_open_pioneer_core.createAbortError.html | 2 +-
.../functions/_open_pioneer_core.createLogger.html | 2 +-
.../_open_pioneer_core.createManualPromise.html | 2 +-
.../_open_pioneer_core.destroyResource.html | 2 +-
.../_open_pioneer_core.getErrorChain.html | 2 +-
.../functions/_open_pioneer_core.isAbortError.html | 2 +-
.../_open_pioneer_core.rethrowAbortError.html | 2 +-
.../_open_pioneer_core.throwAbortError.html | 2 +-
.../functions/_open_pioneer_notifier.Notifier.html | 2 +-
.../_open_pioneer_runtime.createCustomElement.html | 2 +-
..._pioneer_test_utils.services.createService.html | 2 +-
..._test_utils.web_components.defineComponent.html | 2 +-
..._test_utils.web_components.renderComponent.html | 2 +-
...ls.web_components.renderComponentShadowDOM.html | 2 +-
.../_open_pioneer_authentication.AuthEvents.html | 4 ++--
.../_open_pioneer_authentication.AuthPlugin.html | 12 ++++++------
...en_pioneer_authentication.AuthPluginEvents.html | 4 ++--
.../_open_pioneer_authentication.AuthService.html | 14 +++++++-------
...neer_authentication.AuthStateAuthenticated.html | 4 ++--
...r_authentication.AuthStateNotAuthenticated.html | 4 ++--
...en_pioneer_authentication.AuthStatePending.html | 4 ++--
...open_pioneer_authentication.ForceAuthProps.html | 8 ++++----
.../_open_pioneer_authentication.LoginEffect.html | 4 ++--
..._open_pioneer_authentication.LoginFallback.html | 4 ++--
.../_open_pioneer_authentication.SessionInfo.html | 10 +++++-----
.../interfaces/_open_pioneer_core.LogMethod.html | 2 +-
.../docs/interfaces/_open_pioneer_core.Logger.html | 14 +++++++-------
.../_open_pioneer_core.ManualPromise.html | 4 ++--
.../interfaces/_open_pioneer_core.Resource.html | 4 ++--
.../_open_pioneer_http.BeforeRequestParams.html | 10 +++++-----
.../interfaces/_open_pioneer_http.HttpService.html | 4 ++--
.../_open_pioneer_http.HttpServiceRequestInit.html | 4 ++--
.../interfaces/_open_pioneer_http.Interceptor.html | 4 ++--
.../_open_pioneer_integration.ApiExtension.html | 4 ++--
...n_pioneer_integration.ExternalEventService.html | 6 +++---
...open_pioneer_local_storage.LocalStorageAPI.html | 12 ++++++------
...oneer_local_storage.LocalStorageProperties.html | 4 ++--
..._pioneer_local_storage.LocalStorageService.html | 14 +++++++-------
..._open_pioneer_notifier.NotificationOptions.html | 10 +++++-----
..._open_pioneer_notifier.NotificationService.html | 6 +++---
.../_open_pioneer_notifier.NotifierProps.html | 4 ++--
.../_open_pioneer_runtime.ApiExtension.html | 4 ++--
.../_open_pioneer_runtime.ApiService.html | 4 ++--
.../_open_pioneer_runtime.ApplicationConfig.html | 6 +++---
.../_open_pioneer_runtime.ApplicationContext.html | 12 ++++++------
.../_open_pioneer_runtime.ApplicationElement.html | 4 ++--
...neer_runtime.ApplicationElementConstructor.html | 4 ++--
...oneer_runtime.ApplicationLifecycleListener.html | 6 +++---
...open_pioneer_runtime.ApplicationProperties.html | 2 +-
.../_open_pioneer_runtime.ConfigContext.html | 4 ++--
..._open_pioneer_runtime.CustomElementOptions.html | 12 ++++++------
.../_open_pioneer_runtime.DeclaredService.html | 2 +-
.../_open_pioneer_runtime.ReferenceMeta.html | 4 ++--
...open_pioneer_runtime.ServiceLifecycleHooks.html | 4 ++--
...st_utils.react.PackageContextProviderProps.html | 14 +++++++-------
...r_test_utils.services.CreateServiceOptions.html | 12 ++++++------
.../_open_pioneer_authentication.ForceAuth.html | 2 +-
.../docs/modules/_open_pioneer_base_theme.html | 5 +++--
...er_chakra_integration.CustomChakraProvider.html | 2 +-
.../_open_pioneer_chakra_integration.Portal.html | 2 +-
.../modules/_open_pioneer_chakra_integration.html | 2 +-
.../docs/modules/_open_pioneer_runtime.html | 2 +-
.../docs/modules/_open_pioneer_test_utils.html | 2 +-
...er_test_utils.react.PackageContextProvider.html | 2 +-
.../modules/_open_pioneer_test_utils.react.html | 2 +-
.../modules/_open_pioneer_test_utils.services.html | 2 +-
.../_open_pioneer_test_utils.web_components.html | 2 +-
...pioneer_authentication.AuthPluginEventBase.html | 2 +-
.../_open_pioneer_authentication.AuthState.html | 2 +-
..._open_pioneer_authentication.LoginBehavior.html | 2 +-
.../docs/types/_open_pioneer_core.EventNames.html | 2 +-
.../docs/types/_open_pioneer_core.EventSource.html | 2 +-
.../docs/types/_open_pioneer_core.LogLevel.html | 2 +-
.../docs/types/_open_pioneer_http.ContextData.html | 2 +-
.../_open_pioneer_http.ResolvedRequestOptions.html | 2 +-
.../types/_open_pioneer_integration.ApiMethod.html | 2 +-
.../_open_pioneer_integration.ApiMethods.html | 2 +-
...ioneer_local_storage.LocalStorageNamespace.html | 2 +-
.../_open_pioneer_notifier.NotificationLevel.html | 2 +-
.../types/_open_pioneer_runtime.ApiMethod.html | 2 +-
.../types/_open_pioneer_runtime.ApiMethods.html | 2 +-
...en_pioneer_runtime.AssociatedInterfaceName.html | 2 +-
...ioneer_runtime.InterfaceNameForServiceType.html | 2 +-
.../types/_open_pioneer_runtime.PackageIntl.html | 2 +-
.../_open_pioneer_runtime.ReferencesMeta.html | 2 +-
.../docs/types/_open_pioneer_runtime.Service.html | 2 +-
.../_open_pioneer_runtime.ServiceConstructor.html | 2 +-
.../_open_pioneer_runtime.ServiceOptions.html | 2 +-
.../_open_pioneer_test_utils.react.AnyService.html | 2 +-
.../variables/_open_pioneer_base_theme.theme.html | 2 +-
...pen_pioneer_chakra_integration.AlertDialog.html | 2 +-
.../_open_pioneer_chakra_integration.Drawer.html | 2 +-
.../_open_pioneer_chakra_integration.Modal.html | 2 +-
.../_open_pioneer_chakra_integration.Tooltip.html | 2 +-
..._pioneer_runtime.DECLARE_SERVICE_INTERFACE.html | 2 +-
core-packages/samples/auth-sample/index.html | 2 +-
core-packages/samples/chakra-sample/index.html | 2 +-
core-packages/samples/extension-sample/index.html | 2 +-
core-packages/samples/notify-sample/index.html | 2 +-
core-packages/samples/properties-sample/index.html | 2 +-
108 files changed, 210 insertions(+), 209 deletions(-)
rename core-packages/assets/{4db025a8fa53.js => 6265da8008fb.js} (98%)
rename core-packages/assets/{afc2429a7da1.js => 73a9b51880fc.js} (97%)
rename core-packages/assets/{f664fa8964c8.js => 7cefae59068f.js} (87%)
rename core-packages/assets/{c8636be98652.js => 8cb5dde696b5.js} (90%)
rename core-packages/assets/{df8af7ec6993.js => e833d06c991d.js} (94%)
diff --git a/core-packages/assets/4db025a8fa53.js b/core-packages/assets/6265da8008fb.js
similarity index 98%
rename from core-packages/assets/4db025a8fa53.js
rename to core-packages/assets/6265da8008fb.js
index 3c1849a17..bff49e350 100644
--- a/core-packages/assets/4db025a8fa53.js
+++ b/core-packages/assets/6265da8008fb.js
@@ -1 +1 @@
-import{r as l,j as e,A as Me,m as Y,d as j,w as X,T as Oe,g as ue,e as uo,u as xe,f as po,h as Ae,i as fo,k as ho,l as mo,n as vo,o as xo,p as m,q as v,s as L,t as A,v as yo,M as jo,C as Be,x as k,y as ye,z as bo,B as go,D as se,E as H,F as De,G as Ie,H as _o,I as Po,J as Co,a as ko,K as wo,L as So,N as He,O as To,P as No,Q as Oo,R as Eo,S as Ro,U as Fo,V as Mo,W as Ao,X as Bo,Y as Do,b as Io}from"./f6bce9997efc.js";import{L as Ho}from"./b6adfc9a8c28.js";import{T as Lo}from"./4ebae876f574.js";import{S as $o}from"./bb18577dbf66.js";import{S as Le}from"./ed8cece5af8e.js";import{C as zo,H as $e}from"./29fb1f323e6e.js";import{B as S}from"./d94fd672bb92.js";import{u as Vo}from"./138a1ee7cdf4.js";import{R as Uo,a as ae}from"./9749530ba15d.js";import{S as Go}from"./0895118db53c.js";import{B as g}from"./2e7753f73b7f.js";import"./a6d9340f2712.js";import"./979d11064765.js";function Wo(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ko=Wo(),qo={enter:({transition:o,transitionEnd:r,delay:n}={})=>{var t;return{opacity:1,transition:(t=o?.enter)!=null?t:X.enter(Oe.enter,n),transitionEnd:r?.enter}},exit:({transition:o,transitionEnd:r,delay:n}={})=>{var t;return{opacity:0,transition:(t=o?.exit)!=null?t:X.exit(Oe.exit,n),transitionEnd:r?.exit}}},ze={initial:"exit",animate:"enter",exit:"exit",variants:qo},Xo=l.forwardRef(function(r,n){const{unmountOnExit:t,in:a,className:s,transition:i,transitionEnd:u,delay:d,...c}=r,p=a||t?"enter":"exit",h=t?a&&t:!0,b={transition:i,transitionEnd:u,delay:d};return e.jsx(Me,{custom:b,children:h&&e.jsx(Y.div,{ref:n,className:j("chakra-fade",s),custom:b,...ze,animate:p,...c})})});Xo.displayName="Fade";var Ee={exit:{duration:.15,ease:uo.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Yo={exit:({direction:o,transition:r,transitionEnd:n,delay:t})=>{var a;const{exit:s}=ue({direction:o});return{...s,transition:(a=r?.exit)!=null?a:X.exit(Ee.exit,t),transitionEnd:n?.exit}},enter:({direction:o,transitionEnd:r,transition:n,delay:t})=>{var a;const{enter:s}=ue({direction:o});return{...s,transition:(a=n?.enter)!=null?a:X.enter(Ee.enter,t),transitionEnd:r?.enter}}},Ve=l.forwardRef(function(r,n){const{direction:t="right",style:a,unmountOnExit:s,in:i,className:u,transition:d,transitionEnd:c,delay:p,motionProps:h,...b}=r,w=ue({direction:t}),O=Object.assign({position:"fixed"},w.position,a),P=s?i&&s:!0,x=i||s?"enter":"exit",_={transitionEnd:c,transition:d,direction:t,delay:p};return e.jsx(Me,{custom:_,children:P&&e.jsx(Y.div,{...b,ref:n,initial:"exit",className:j("chakra-slide",u),animate:x,exit:"exit",custom:_,variants:Yo,style:O,...h})})});Ve.displayName="Slide";function Jo(o){return"current"in o}var Ue=()=>typeof window<"u";function Qo(){var o;const r=navigator.userAgentData;return(o=r?.platform)!=null?o:navigator.platform}var Zo=o=>Ue()&&o.test(navigator.vendor),er=o=>Ue()&&o.test(Qo()),or=()=>er(/mac|iphone|ipad|ipod/i),rr=()=>or()&&Zo(/apple/i);function nr(o){const{ref:r,elements:n,enabled:t}=o,a=()=>{var s,i;return(i=(s=r.current)==null?void 0:s.ownerDocument)!=null?i:document};xe(a,"pointerdown",s=>{if(!rr()||!t)return;const i=s.target,d=(n??[r]).some(c=>{const p=Jo(c)?c.current:c;return p?.contains(i)||p===i});a().activeElement!==i&&d&&(s.preventDefault(),i.focus())})}var tr=Ko?l.useLayoutEffect:l.useEffect;function Re(o,r=[]){const n=l.useRef(o);return tr(()=>{n.current=o}),l.useCallback((...t)=>{var a;return(a=n.current)==null?void 0:a.call(n,...t)},r)}function sr(o,r){const n=l.useId();return l.useMemo(()=>o||[r,n].filter(Boolean).join("-"),[o,r,n])}function ar(o,r){const n=o!==void 0;return[n,n&&typeof o<"u"?o:r]}function je(o={}){const{onClose:r,onOpen:n,isOpen:t,id:a}=o,s=Re(n),i=Re(r),[u,d]=l.useState(o.defaultIsOpen||!1),[c,p]=ar(t,u),h=sr(a,"disclosure"),b=l.useCallback(()=>{c||d(!1),i?.()},[c,i]),w=l.useCallback(()=>{c||d(!0),s?.()},[c,s]),O=l.useCallback(()=>{(p?b:w)()},[p,w,b]);return{isOpen:!!p,onOpen:w,onClose:b,onToggle:O,isControlled:c,getButtonProps:(P={})=>({...P,"aria-expanded":p,"aria-controls":h,onClick:po(P.onClick,O)}),getDisclosureProps:(P={})=>({...P,hidden:!p,id:h})}}function ir(o){const r=o.current;if(!r)return!1;const n=mo(r);return!n||r.contains(n)?!1:!!vo(n)}function lr(o,r){const{shouldFocus:n,visible:t,focusRef:a}=r,s=n&&!t;Ae(()=>{if(!s||ir(o))return;const i=a?.current||o.current;let u;if(i)return u=requestAnimationFrame(()=>{i.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(u)}},[s,o,a])}var cr={preventScroll:!0,shouldFocus:!1};function ur(o,r=cr){const{focusRef:n,preventScroll:t,shouldFocus:a,visible:s}=r,i=dr(o)?o.current:o,u=a&&s,d=l.useRef(u),c=l.useRef(s);fo(()=>{!c.current&&s&&(d.current=u),c.current=s},[s,u]);const p=l.useCallback(()=>{if(!(!s||!i||!d.current)&&(d.current=!1,!i.contains(document.activeElement)))if(n?.current)requestAnimationFrame(()=>{var h;(h=n.current)==null||h.focus({preventScroll:t})});else{const h=ho(i);h.length>0&&requestAnimationFrame(()=>{h[0].focus({preventScroll:t})})}},[s,t,i,n]);Ae(()=>{p()},[p]),xe(i,"transitionend",p)}function dr(o){return"current"in o}function pr(o){const{isOpen:r,ref:n}=o,[t,a]=l.useState(r),[s,i]=l.useState(!1);return l.useEffect(()=>{s||(a(r),i(!0))},[r,s,t]),xe(()=>n.current,"animationend",()=>{a(r)}),{present:!(r?!1:!t),onComplete(){var d;const c=xo(n.current),p=new c.CustomEvent("animationend",{bubbles:!0});(d=n.current)==null||d.dispatchEvent(p)}}}function fr(o){const{wasSelected:r,enabled:n,isSelected:t,mode:a="unmount"}=o;return!!(!n||t||a==="keepMounted"&&r)}var hr=m(Ve),Ge=v((o,r)=>{const{className:n,children:t,motionProps:a,containerProps:s,...i}=o,{getDialogProps:u,getDialogContainerProps:d,isOpen:c}=L(),p=u(i,r),h=d(s),b=j("chakra-modal__content",n),w=A(),O={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...w.dialog},P={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...w.dialogContainer},{placement:x}=yo();return e.jsx(jo,{children:e.jsx(m.div,{...h,className:"chakra-modal__content-container",__css:P,children:e.jsx(hr,{motionProps:a,direction:x,in:c,className:b,...p,__css:O,children:t})})})});Ge.displayName="DrawerContent";var J=v((o,r)=>{const{className:n,...t}=o,a=j("chakra-modal__footer",n),i={display:"flex",alignItems:"center",justifyContent:"flex-end",...A().footer};return e.jsx(m.footer,{ref:r,...t,__css:i,className:a})});J.displayName="ModalFooter";var Q=v((o,r)=>{const{className:n,...t}=o,{headerId:a,setHeaderMounted:s}=L();l.useEffect(()=>(s(!0),()=>s(!1)),[s]);const i=j("chakra-modal__header",n),d={flex:0,...A().header};return e.jsx(m.header,{ref:r,className:i,id:a,...t,__css:d})});Q.displayName="ModalHeader";var mr=m(Y.div),Z=v((o,r)=>{const{className:n,transition:t,motionProps:a,...s}=o,i=j("chakra-modal__overlay",n),d={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...A().overlay},{motionPreset:c}=L(),h=a||(c==="none"?{}:ze);return e.jsx(mr,{...h,__css:d,ref:r,className:i,...s})});Z.displayName="ModalOverlay";var ee=v((o,r)=>{const{className:n,...t}=o,{bodyId:a,setBodyMounted:s}=L();l.useEffect(()=>(s(!0),()=>s(!1)),[s]);const i=j("chakra-modal__body",n),u=A();return e.jsx(m.div,{ref:r,className:i,id:a,...t,__css:u.body})});ee.displayName="ModalBody";var be=v((o,r)=>{const{onClick:n,className:t,...a}=o,{onClose:s}=L(),i=j("chakra-modal__close-btn",t),u=A();return e.jsx(Be,{ref:r,__css:u.closeButton,className:i,onClick:k(n,d=>{d.stopPropagation(),s()}),...a})});be.displayName="ModalCloseButton";var[vr,R]=ye({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[xr,B]=ye({name:"PopoverStylesContext",errorMessage:`usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),de=v(function(r,n){const{getHeaderProps:t}=R(),a=B();return e.jsx(m.header,{...t(r,n),className:j("chakra-popover__header",r.className),__css:a.header})});de.displayName="PopoverHeader";function pe(o){const r=l.Children.only(o.children),{getTriggerProps:n}=R();return l.cloneElement(r,n(r.props,r.ref))}pe.displayName="PopoverTrigger";var M={click:"click",hover:"hover"};function yr(o={}){const{closeOnBlur:r=!0,closeOnEsc:n=!0,initialFocusRef:t,id:a,returnFocusOnClose:s=!0,autoFocus:i=!0,arrowSize:u,arrowShadowColor:d,trigger:c=M.click,openDelay:p=200,closeDelay:h=200,isLazy:b,lazyBehavior:w="unmount",computePositionOnMount:O,...P}=o,{isOpen:x,onClose:_,onOpen:oe,onToggle:ge}=bo(o),re=l.useRef(null),$=l.useRef(null),F=l.useRef(null),I=l.useRef(!1),_e=l.useRef(!1);x&&(_e.current=!0);const[Pe,Ye]=l.useState(!1),[Ce,Je]=l.useState(!1),Qe=l.useId(),Ze=a??Qe,[ke,z,V,U]=["popover-trigger","popover-content","popover-header","popover-body"].map(f=>`${f}-${Ze}`),{referenceRef:G,getArrowProps:eo,getPopperProps:we,getArrowInnerProps:oo,forceUpdate:ro}=go({...P,enabled:x||!!O}),Se=pr({isOpen:x,ref:F});nr({enabled:x,ref:$}),lr(F,{focusRef:$,visible:x,shouldFocus:s&&c===M.click}),ur(F,{focusRef:t,visible:x,shouldFocus:i&&c===M.click});const Te=fr({wasSelected:_e.current,enabled:b,mode:w,isSelected:Se.present}),no=l.useCallback((f={},C=null)=>{const y={...f,style:{...f.style,transformOrigin:se.transformOrigin.varRef,[se.arrowSize.var]:u?`${u}px`:void 0,[se.arrowShadowColor.var]:d},ref:H(F,C),children:Te?f.children:null,id:z,tabIndex:-1,role:"dialog",onKeyDown:k(f.onKeyDown,T=>{n&&T.key==="Escape"&&_()}),onBlur:k(f.onBlur,T=>{const W=Fe(T),te=ie(F.current,W),co=ie($.current,W);x&&r&&(!te&&!co)&&_()}),"aria-labelledby":Pe?V:void 0,"aria-describedby":Ce?U:void 0};return c===M.hover&&(y.role="tooltip",y.onMouseEnter=k(f.onMouseEnter,()=>{I.current=!0}),y.onMouseLeave=k(f.onMouseLeave,T=>{T.nativeEvent.relatedTarget!==null&&(I.current=!1,setTimeout(()=>_(),h))})),y},[Te,z,Pe,V,Ce,U,c,n,_,x,r,h,d,u]),to=l.useCallback((f={},C=null)=>we({...f,style:{visibility:x?"visible":"hidden",...f.style}},C),[x,we]),so=l.useCallback((f,C=null)=>({...f,ref:H(C,re,G)}),[re,G]),E=l.useRef(),ne=l.useRef(),Ne=l.useCallback(f=>{re.current==null&&G(f)},[G]),ao=l.useCallback((f={},C=null)=>{const y={...f,ref:H($,C,Ne),id:ke,"aria-haspopup":"dialog","aria-expanded":x,"aria-controls":z};return c===M.click&&(y.onClick=k(f.onClick,ge)),c===M.hover&&(y.onFocus=k(f.onFocus,()=>{E.current===void 0&&oe()}),y.onBlur=k(f.onBlur,T=>{const W=Fe(T),te=!ie(F.current,W);x&&r&&te&&_()}),y.onKeyDown=k(f.onKeyDown,T=>{T.key==="Escape"&&_()}),y.onMouseEnter=k(f.onMouseEnter,()=>{I.current=!0,E.current=window.setTimeout(()=>oe(),p)}),y.onMouseLeave=k(f.onMouseLeave,()=>{I.current=!1,E.current&&(clearTimeout(E.current),E.current=void 0),ne.current=window.setTimeout(()=>{I.current===!1&&_()},h)})),y},[ke,x,z,c,Ne,ge,oe,r,_,p,h]);l.useEffect(()=>()=>{E.current&&clearTimeout(E.current),ne.current&&clearTimeout(ne.current)},[]);const io=l.useCallback((f={},C=null)=>({...f,id:V,ref:H(C,y=>{Ye(!!y)})}),[V]),lo=l.useCallback((f={},C=null)=>({...f,id:U,ref:H(C,y=>{Je(!!y)})}),[U]);return{forceUpdate:ro,isOpen:x,onAnimationComplete:Se.onComplete,onClose:_,getAnchorProps:so,getArrowProps:eo,getArrowInnerProps:oo,getPopoverPositionerProps:to,getPopoverProps:no,getTriggerProps:ao,getHeaderProps:io,getBodyProps:lo}}function ie(o,r){return o===r||o?.contains(r)}function Fe(o){var r;const n=o.currentTarget.ownerDocument.activeElement;return(r=o.relatedTarget)!=null?r:n}function fe(o){const r=De("Popover",o),{children:n,...t}=Ie(o),a=_o(),s=yr({...t,direction:a.direction});return e.jsx(vr,{value:s,children:e.jsx(xr,{value:r,children:Po(n,{isOpen:s.isOpen,onClose:s.onClose,forceUpdate:s.forceUpdate})})})}fe.displayName="Popover";var le=(o,r)=>r?`${o}.${r}, ${r}`:void 0;function he(o){var r;const{bg:n,bgColor:t,backgroundColor:a,shadow:s,boxShadow:i,shadowColor:u}=o,{getArrowProps:d,getArrowInnerProps:c}=R(),p=B(),h=(r=n??t)!=null?r:a,b=s??i;return e.jsx(m.div,{...d(),className:"chakra-popover__arrow-positioner",children:e.jsx(m.div,{className:j("chakra-popover__arrow",o.className),...c(o),__css:{"--popper-arrow-shadow-color":le("colors",u),"--popper-arrow-bg":le("colors",h),"--popper-arrow-shadow":le("shadows",b),...p.arrow}})})}he.displayName="PopoverArrow";var q=v(function(r,n){const{getBodyProps:t}=R(),a=B();return e.jsx(m.div,{...t(r,n),className:j("chakra-popover__body",r.className),__css:a.body})});q.displayName="PopoverBody";var me=v(function(r,n){const{onClose:t}=R(),a=B();return e.jsx(Be,{size:"sm",onClick:t,className:j("chakra-popover__close-btn",r.className),__css:a.closeButton,ref:n,...r})});me.displayName="PopoverCloseButton";function jr(o){if(o)return{enter:{...o.enter,visibility:"visible"},exit:{...o.exit,transitionEnd:{visibility:"hidden"}}}}var br={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},gr=m(Y.section),We=v(function(r,n){const{variants:t=br,...a}=r,{isOpen:s}=R();return e.jsx(gr,{ref:n,variants:jr(t),initial:!1,animate:s?"enter":"exit",...a})});We.displayName="PopoverTransition";var ve=v(function(r,n){const{rootProps:t,motionProps:a,...s}=r,{getPopoverProps:i,getPopoverPositionerProps:u,onAnimationComplete:d}=R(),c=B(),p={position:"relative",display:"flex",flexDirection:"column",...c.content};return e.jsx(m.div,{...u(t),__css:c.popper,className:"chakra-popover__popper",children:e.jsx(We,{...a,...i(s,n),onAnimationComplete:Co(d,s.onAnimationComplete),className:j("chakra-popover__content",r.className),__css:p})})});ve.displayName="PopoverContent";function Ke(o){const r=B();return e.jsx(m.footer,{...o,className:j("chakra-popover__footer",o.className),__css:r.footer})}Ke.displayName="PopoverFooter";var[_r,D]=ye({name:"TableStylesContext",errorMessage:`useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in "
" `}),qe=v((o,r)=>{const n=De("Table",o),{className:t,layout:a,...s}=Ie(o);return e.jsx(_r,{value:n,children:e.jsx(m.table,{ref:r,__css:{tableLayout:a,...n.table},className:j("chakra-table",t),...s})})});qe.displayName="Table";var Pr=v((o,r)=>{const n=D();return e.jsx(m.thead,{...o,ref:r,__css:n.thead})}),K=v((o,r)=>{const n=D();return e.jsx(m.tr,{...o,ref:r,__css:n.tr})}),Xe=v((o,r)=>{const{placement:n="bottom",...t}=o,a=D();return e.jsx(m.caption,{...t,ref:r,__css:{...a.caption,captionSide:n}})});Xe.displayName="TableCaption";var Cr=v((o,r)=>{var n;const{overflow:t,overflowX:a,className:s,...i}=o;return e.jsx(m.div,{ref:r,className:j("chakra-table__container",s),...i,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:(n=t??a)!=null?n:"auto",overflowY:"hidden",maxWidth:"100%"}})}),kr=v((o,r)=>{const n=D();return e.jsx(m.tbody,{...o,ref:r,__css:n.tbody})}),N=v(({isNumeric:o,...r},n)=>{const t=D();return e.jsx(m.td,{...r,ref:n,__css:t.td,"data-is-numeric":o})}),ce=v(({isNumeric:o,...r},n)=>{const t=D();return e.jsx(m.th,{...r,ref:n,__css:t.th,"data-is-numeric":o})});const wr={"chakra-app":{name:"chakra-app",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}}},Sr="",Tr=[];function Nr(o){throw new Error(`Unsupported locale: '${o}'`)}const Or=ko(Sr),Er=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:Nr,locales:Tr,packages:wr,styles:Or},Symbol.toStringTag,{value:"Module"})),Rr=wo({colors:{primary:{50:"#defffd",100:"#b3fffa",200:"#86feee",300:"#5bfedd",400:"#3efec9",500:"#32e5a6",600:"#23b277",700:"#147f4c",800:"#004d23",900:"#001b0a"}},fonts:{heading:"Helvetica"},components:{Button:{defaultProps:{colorScheme:"primary"},variants:{cancel:{color:"font_inverse",bg:"error",_hover:{backgroundColor:"error_hover"}}}},Link:{baseStyle:{color:"font_link"}},Divider:{baseStyle:{borderColor:"border"}}},semanticTokens:{colors:{background_primary:"primary.300",background_secondary:"primary.500",placeholder:"primary.100",font_primary:"black",font_secondary:"grey.500",font_inverse:"white",font_link:"yellow.300",border:"black",error:"red.500",error_hover:"red.600",success:"green.500",highlight:"yellow.300","chakra-body-bg":"background_primary","chakra-subtle-bg":"background_secondary","chakra-body-text":"font_primary","chakra-subtle-text":"font_secondary","chakra-inverse-text":"font_inverse","chakra-border-color":"border","chakra-placeholder-color":"placeholder"}}},So);function Fr(){return e.jsx(Cr,{sx:{border:"solid"},children:e.jsxs(qe,{variant:"striped",children:[e.jsx(Xe,{children:"This is the table cation"}),e.jsx(Pr,{children:e.jsxs(K,{children:[e.jsx(ce,{children:"First"}),e.jsx(ce,{children:"Test"}),e.jsx(ce,{isNumeric:!0,children:"Third (numeric)"})]})}),e.jsxs(kr,{children:[e.jsxs(K,{children:[e.jsx(N,{children:"one"}),e.jsx(N,{children:"bla"}),e.jsx(N,{isNumeric:!0,children:"22,3"})]}),e.jsxs(K,{children:[e.jsx(N,{children:"two"}),e.jsx(N,{children:"blub"}),e.jsx(N,{isNumeric:!0,children:"23.4"})]}),e.jsxs(K,{children:[e.jsx(N,{children:"three"}),e.jsx(N,{children:"blob"}),e.jsx(N,{isNumeric:!0,children:"12"})]})]})]})})}function Mr(){return e.jsx("div",{style:{overflow:"auto",height:"100%",width:"100%"},children:e.jsxs(zo,{children:[e.jsx($e,{mb:5,children:"chakra technical demo"}),e.jsx(Ar,{}),e.jsx(Br,{}),e.jsx(Fr,{}),e.jsx(Wr,{})]})})}function Ar(){return e.jsxs(Lo,{children:["This is a"," ",e.jsx(Ho,{href:"https://chakra-ui.com",isExternal:!0,children:"link to Chakra's Design system"})]})}function Br(){return e.jsxs(Le,{mb:5,mt:5,divider:e.jsx($o,{}),spacing:"24px",align:"stretch",children:[e.jsx(S,{children:e.jsx(Dr,{})}),e.jsx(S,{children:e.jsx(Ir,{})}),e.jsx(S,{children:e.jsx(Hr,{})}),e.jsx(S,{children:e.jsx(Lr,{})}),e.jsx(S,{children:e.jsx($r,{})}),e.jsx(S,{children:e.jsx(zr,{})}),e.jsx(S,{children:e.jsx(Vr,{})}),e.jsx(S,{children:e.jsx(Ur,{})}),e.jsx(S,{children:e.jsx(Gr,{})})]})}function Dr(){return e.jsxs(S,{bg:"background_secondary",children:[e.jsx($e,{size:"sm",children:"Portal Example: "}),"This is box and displayed here. Scroll/Look down to see the portal that is added at the end of document.body. The Portal is part of this Box.",e.jsx(He,{children:"This is the portal content!"})]})}function Ir(){return e.jsx(To,{hasArrow:!0,label:"Button Tooltip","aria-label":"A tooltip",placement:"top",children:e.jsx(g,{children:"Button with a tooltip"})})}function Hr(){const o=Vo();return e.jsx(g,{onClick:()=>o({title:"Account created.",description:"We've created your account for you.",status:"success",duration:9e3,position:"bottom-left",isClosable:!0}),children:"Show Toast"})}function Lr(){return e.jsxs(No,{status:"error",children:[e.jsx(Oo,{}),e.jsx(Eo,{children:"Test Alert!"}),e.jsx(Ro,{children:"This is a test alert (error)"})]})}function $r(){const{isOpen:o,onOpen:r,onClose:n}=je(),t=l.useRef(null);return e.jsxs(e.Fragment,{children:[e.jsx(g,{onClick:r,children:"Open Alert"}),e.jsx(Fo,{isOpen:o,leastDestructiveRef:t,onClose:n,children:e.jsx(Z,{children:e.jsxs(Mo,{className:"class-from-app",children:[e.jsx(Q,{fontSize:"lg",fontWeight:"bold",children:"Alert Title"}),e.jsx(ee,{children:"This is the text in the alert dialog body."}),e.jsxs(J,{children:[e.jsx(g,{ref:t,onClick:n,variant:"cancel",children:"Cancel"}),e.jsx(g,{onClick:n,ml:3,children:"Okay"})]})]})})})]})}function zr(){const{isOpen:o,onOpen:r,onClose:n}=je();return e.jsxs(e.Fragment,{children:[e.jsx(g,{onClick:r,children:"Show Modal"}),e.jsxs(Ao,{closeOnOverlayClick:!1,isOpen:o,onClose:n,children:[e.jsx(Z,{}),e.jsxs(Bo,{children:[e.jsx(Q,{children:"This is a modal"}),e.jsx(be,{}),e.jsx(ee,{pb:6,children:"This is a modal text!"}),e.jsxs(J,{children:[e.jsx(g,{mr:2,children:"Got it"}),e.jsx(g,{onClick:n,children:"Cancel"})]})]})]})]})}function Vr(){const{isOpen:o,onOpen:r,onClose:n}=je(),t=l.useRef(null);return e.jsxs(e.Fragment,{children:[e.jsx(g,{ref:t,onClick:r,children:"Open Drawer"}),e.jsxs(Do,{isOpen:o,placement:"left",onClose:n,finalFocusRef:t,isFullHeight:!1,children:[e.jsx(Z,{}),e.jsxs(Ge,{children:[e.jsx(be,{}),e.jsx(Q,{children:"This is the drawer header"}),e.jsx(ee,{children:"This is the body."}),e.jsxs(J,{children:[e.jsx(g,{variant:"outline",mr:3,onClick:n,children:"Cancel"}),e.jsx(g,{children:"Got it"})]})]})]})]})}function Ur(){return e.jsxs(e.Fragment,{children:[e.jsxs(fe,{children:[e.jsx(pe,{children:e.jsx(g,{children:"Show Popover"})}),e.jsxs(ve,{children:[e.jsx(he,{}),e.jsx(me,{}),e.jsx(de,{children:"Popover!"}),e.jsx(q,{children:"This is a very important Popover"})]})]}),e.jsxs(fe,{children:[e.jsx(pe,{children:e.jsx(g,{ml:5,children:"Show Popover rendered in an portal"})}),e.jsx(He,{children:e.jsxs(ve,{children:[e.jsx(he,{}),e.jsx(de,{children:"Header"}),e.jsx(me,{}),e.jsx(q,{children:e.jsx(q,{children:"This is a very important Popover"})}),e.jsx(Ke,{children:"This is the footer"})]})})]})]})}function Gr(){const[o,r]=l.useState("2");return e.jsxs(e.Fragment,{children:[e.jsx(Uo,{onChange:r,value:o,children:e.jsxs(Le,{spacing:4,direction:"row",children:[e.jsx(ae,{size:"sm",value:"1",isDisabled:!0,children:"Radio 1 (Disabled)"}),e.jsx(ae,{size:"md",value:"2",children:"Radio 2"}),e.jsx(ae,{size:"lg",value:"3",children:"Radio 3"})]})}),e.jsx("p",{children:"Checked radio: "+o})]})}function Wr(){return e.jsxs(Go,{m:5,placeholder:"Select an item",children:[e.jsx("option",{value:"item1",children:"Item 1"}),e.jsx("option",{value:"item2",children:"Item 2"}),e.jsx("option",{value:"item3",children:"Item 3"})]})}const Kr=Io({component:Mr,theme:Rr,appMetadata:Er});customElements.define("chakra-app",Kr);
+import{r as l,j as e,A as Me,m as Y,d as j,w as X,T as Oe,g as ue,e as uo,u as xe,f as po,h as Ae,i as fo,k as ho,l as mo,n as vo,o as xo,p as m,q as v,s as L,t as A,v as yo,M as jo,C as Be,x as k,y as ye,z as bo,B as go,D as se,E as H,F as De,G as Ie,H as _o,I as Po,J as Co,a as ko,K as wo,L as So,N as He,O as To,P as No,Q as Oo,R as Eo,S as Ro,U as Fo,V as Mo,W as Ao,X as Bo,Y as Do,b as Io}from"./f6bce9997efc.js";import{L as Ho}from"./b6adfc9a8c28.js";import{T as Lo}from"./4ebae876f574.js";import{S as $o}from"./bb18577dbf66.js";import{S as Le}from"./ed8cece5af8e.js";import{C as zo,H as $e}from"./29fb1f323e6e.js";import{B as S}from"./d94fd672bb92.js";import{u as Vo}from"./138a1ee7cdf4.js";import{R as Uo,a as ae}from"./9749530ba15d.js";import{S as Go}from"./0895118db53c.js";import{B as g}from"./2e7753f73b7f.js";import"./a6d9340f2712.js";import"./979d11064765.js";function Wo(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ko=Wo(),qo={enter:({transition:o,transitionEnd:r,delay:n}={})=>{var t;return{opacity:1,transition:(t=o?.enter)!=null?t:X.enter(Oe.enter,n),transitionEnd:r?.enter}},exit:({transition:o,transitionEnd:r,delay:n}={})=>{var t;return{opacity:0,transition:(t=o?.exit)!=null?t:X.exit(Oe.exit,n),transitionEnd:r?.exit}}},ze={initial:"exit",animate:"enter",exit:"exit",variants:qo},Xo=l.forwardRef(function(r,n){const{unmountOnExit:t,in:a,className:s,transition:i,transitionEnd:u,delay:d,...c}=r,p=a||t?"enter":"exit",h=t?a&&t:!0,b={transition:i,transitionEnd:u,delay:d};return e.jsx(Me,{custom:b,children:h&&e.jsx(Y.div,{ref:n,className:j("chakra-fade",s),custom:b,...ze,animate:p,...c})})});Xo.displayName="Fade";var Ee={exit:{duration:.15,ease:uo.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Yo={exit:({direction:o,transition:r,transitionEnd:n,delay:t})=>{var a;const{exit:s}=ue({direction:o});return{...s,transition:(a=r?.exit)!=null?a:X.exit(Ee.exit,t),transitionEnd:n?.exit}},enter:({direction:o,transitionEnd:r,transition:n,delay:t})=>{var a;const{enter:s}=ue({direction:o});return{...s,transition:(a=n?.enter)!=null?a:X.enter(Ee.enter,t),transitionEnd:r?.enter}}},Ve=l.forwardRef(function(r,n){const{direction:t="right",style:a,unmountOnExit:s,in:i,className:u,transition:d,transitionEnd:c,delay:p,motionProps:h,...b}=r,w=ue({direction:t}),O=Object.assign({position:"fixed"},w.position,a),P=s?i&&s:!0,x=i||s?"enter":"exit",_={transitionEnd:c,transition:d,direction:t,delay:p};return e.jsx(Me,{custom:_,children:P&&e.jsx(Y.div,{...b,ref:n,initial:"exit",className:j("chakra-slide",u),animate:x,exit:"exit",custom:_,variants:Yo,style:O,...h})})});Ve.displayName="Slide";function Jo(o){return"current"in o}var Ue=()=>typeof window<"u";function Qo(){var o;const r=navigator.userAgentData;return(o=r?.platform)!=null?o:navigator.platform}var Zo=o=>Ue()&&o.test(navigator.vendor),er=o=>Ue()&&o.test(Qo()),or=()=>er(/mac|iphone|ipad|ipod/i),rr=()=>or()&&Zo(/apple/i);function nr(o){const{ref:r,elements:n,enabled:t}=o,a=()=>{var s,i;return(i=(s=r.current)==null?void 0:s.ownerDocument)!=null?i:document};xe(a,"pointerdown",s=>{if(!rr()||!t)return;const i=s.target,d=(n??[r]).some(c=>{const p=Jo(c)?c.current:c;return p?.contains(i)||p===i});a().activeElement!==i&&d&&(s.preventDefault(),i.focus())})}var tr=Ko?l.useLayoutEffect:l.useEffect;function Re(o,r=[]){const n=l.useRef(o);return tr(()=>{n.current=o}),l.useCallback((...t)=>{var a;return(a=n.current)==null?void 0:a.call(n,...t)},r)}function sr(o,r){const n=l.useId();return l.useMemo(()=>o||[r,n].filter(Boolean).join("-"),[o,r,n])}function ar(o,r){const n=o!==void 0;return[n,n&&typeof o<"u"?o:r]}function je(o={}){const{onClose:r,onOpen:n,isOpen:t,id:a}=o,s=Re(n),i=Re(r),[u,d]=l.useState(o.defaultIsOpen||!1),[c,p]=ar(t,u),h=sr(a,"disclosure"),b=l.useCallback(()=>{c||d(!1),i?.()},[c,i]),w=l.useCallback(()=>{c||d(!0),s?.()},[c,s]),O=l.useCallback(()=>{(p?b:w)()},[p,w,b]);return{isOpen:!!p,onOpen:w,onClose:b,onToggle:O,isControlled:c,getButtonProps:(P={})=>({...P,"aria-expanded":p,"aria-controls":h,onClick:po(P.onClick,O)}),getDisclosureProps:(P={})=>({...P,hidden:!p,id:h})}}function ir(o){const r=o.current;if(!r)return!1;const n=mo(r);return!n||r.contains(n)?!1:!!vo(n)}function lr(o,r){const{shouldFocus:n,visible:t,focusRef:a}=r,s=n&&!t;Ae(()=>{if(!s||ir(o))return;const i=a?.current||o.current;let u;if(i)return u=requestAnimationFrame(()=>{i.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(u)}},[s,o,a])}var cr={preventScroll:!0,shouldFocus:!1};function ur(o,r=cr){const{focusRef:n,preventScroll:t,shouldFocus:a,visible:s}=r,i=dr(o)?o.current:o,u=a&&s,d=l.useRef(u),c=l.useRef(s);fo(()=>{!c.current&&s&&(d.current=u),c.current=s},[s,u]);const p=l.useCallback(()=>{if(!(!s||!i||!d.current)&&(d.current=!1,!i.contains(document.activeElement)))if(n?.current)requestAnimationFrame(()=>{var h;(h=n.current)==null||h.focus({preventScroll:t})});else{const h=ho(i);h.length>0&&requestAnimationFrame(()=>{h[0].focus({preventScroll:t})})}},[s,t,i,n]);Ae(()=>{p()},[p]),xe(i,"transitionend",p)}function dr(o){return"current"in o}function pr(o){const{isOpen:r,ref:n}=o,[t,a]=l.useState(r),[s,i]=l.useState(!1);return l.useEffect(()=>{s||(a(r),i(!0))},[r,s,t]),xe(()=>n.current,"animationend",()=>{a(r)}),{present:!(r?!1:!t),onComplete(){var d;const c=xo(n.current),p=new c.CustomEvent("animationend",{bubbles:!0});(d=n.current)==null||d.dispatchEvent(p)}}}function fr(o){const{wasSelected:r,enabled:n,isSelected:t,mode:a="unmount"}=o;return!!(!n||t||a==="keepMounted"&&r)}var hr=m(Ve),Ge=v((o,r)=>{const{className:n,children:t,motionProps:a,containerProps:s,...i}=o,{getDialogProps:u,getDialogContainerProps:d,isOpen:c}=L(),p=u(i,r),h=d(s),b=j("chakra-modal__content",n),w=A(),O={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...w.dialog},P={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...w.dialogContainer},{placement:x}=yo();return e.jsx(jo,{children:e.jsx(m.div,{...h,className:"chakra-modal__content-container",__css:P,children:e.jsx(hr,{motionProps:a,direction:x,in:c,className:b,...p,__css:O,children:t})})})});Ge.displayName="DrawerContent";var J=v((o,r)=>{const{className:n,...t}=o,a=j("chakra-modal__footer",n),i={display:"flex",alignItems:"center",justifyContent:"flex-end",...A().footer};return e.jsx(m.footer,{ref:r,...t,__css:i,className:a})});J.displayName="ModalFooter";var Q=v((o,r)=>{const{className:n,...t}=o,{headerId:a,setHeaderMounted:s}=L();l.useEffect(()=>(s(!0),()=>s(!1)),[s]);const i=j("chakra-modal__header",n),d={flex:0,...A().header};return e.jsx(m.header,{ref:r,className:i,id:a,...t,__css:d})});Q.displayName="ModalHeader";var mr=m(Y.div),Z=v((o,r)=>{const{className:n,transition:t,motionProps:a,...s}=o,i=j("chakra-modal__overlay",n),d={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...A().overlay},{motionPreset:c}=L(),h=a||(c==="none"?{}:ze);return e.jsx(mr,{...h,__css:d,ref:r,className:i,...s})});Z.displayName="ModalOverlay";var ee=v((o,r)=>{const{className:n,...t}=o,{bodyId:a,setBodyMounted:s}=L();l.useEffect(()=>(s(!0),()=>s(!1)),[s]);const i=j("chakra-modal__body",n),u=A();return e.jsx(m.div,{ref:r,className:i,id:a,...t,__css:u.body})});ee.displayName="ModalBody";var be=v((o,r)=>{const{onClick:n,className:t,...a}=o,{onClose:s}=L(),i=j("chakra-modal__close-btn",t),u=A();return e.jsx(Be,{ref:r,__css:u.closeButton,className:i,onClick:k(n,d=>{d.stopPropagation(),s()}),...a})});be.displayName="ModalCloseButton";var[vr,R]=ye({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[xr,B]=ye({name:"PopoverStylesContext",errorMessage:`usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),de=v(function(r,n){const{getHeaderProps:t}=R(),a=B();return e.jsx(m.header,{...t(r,n),className:j("chakra-popover__header",r.className),__css:a.header})});de.displayName="PopoverHeader";function pe(o){const r=l.Children.only(o.children),{getTriggerProps:n}=R();return l.cloneElement(r,n(r.props,r.ref))}pe.displayName="PopoverTrigger";var M={click:"click",hover:"hover"};function yr(o={}){const{closeOnBlur:r=!0,closeOnEsc:n=!0,initialFocusRef:t,id:a,returnFocusOnClose:s=!0,autoFocus:i=!0,arrowSize:u,arrowShadowColor:d,trigger:c=M.click,openDelay:p=200,closeDelay:h=200,isLazy:b,lazyBehavior:w="unmount",computePositionOnMount:O,...P}=o,{isOpen:x,onClose:_,onOpen:oe,onToggle:ge}=bo(o),re=l.useRef(null),$=l.useRef(null),F=l.useRef(null),I=l.useRef(!1),_e=l.useRef(!1);x&&(_e.current=!0);const[Pe,Ye]=l.useState(!1),[Ce,Je]=l.useState(!1),Qe=l.useId(),Ze=a??Qe,[ke,z,V,U]=["popover-trigger","popover-content","popover-header","popover-body"].map(f=>`${f}-${Ze}`),{referenceRef:G,getArrowProps:eo,getPopperProps:we,getArrowInnerProps:oo,forceUpdate:ro}=go({...P,enabled:x||!!O}),Se=pr({isOpen:x,ref:F});nr({enabled:x,ref:$}),lr(F,{focusRef:$,visible:x,shouldFocus:s&&c===M.click}),ur(F,{focusRef:t,visible:x,shouldFocus:i&&c===M.click});const Te=fr({wasSelected:_e.current,enabled:b,mode:w,isSelected:Se.present}),no=l.useCallback((f={},C=null)=>{const y={...f,style:{...f.style,transformOrigin:se.transformOrigin.varRef,[se.arrowSize.var]:u?`${u}px`:void 0,[se.arrowShadowColor.var]:d},ref:H(F,C),children:Te?f.children:null,id:z,tabIndex:-1,role:"dialog",onKeyDown:k(f.onKeyDown,T=>{n&&T.key==="Escape"&&_()}),onBlur:k(f.onBlur,T=>{const W=Fe(T),te=ie(F.current,W),co=ie($.current,W);x&&r&&(!te&&!co)&&_()}),"aria-labelledby":Pe?V:void 0,"aria-describedby":Ce?U:void 0};return c===M.hover&&(y.role="tooltip",y.onMouseEnter=k(f.onMouseEnter,()=>{I.current=!0}),y.onMouseLeave=k(f.onMouseLeave,T=>{T.nativeEvent.relatedTarget!==null&&(I.current=!1,setTimeout(()=>_(),h))})),y},[Te,z,Pe,V,Ce,U,c,n,_,x,r,h,d,u]),to=l.useCallback((f={},C=null)=>we({...f,style:{visibility:x?"visible":"hidden",...f.style}},C),[x,we]),so=l.useCallback((f,C=null)=>({...f,ref:H(C,re,G)}),[re,G]),E=l.useRef(),ne=l.useRef(),Ne=l.useCallback(f=>{re.current==null&&G(f)},[G]),ao=l.useCallback((f={},C=null)=>{const y={...f,ref:H($,C,Ne),id:ke,"aria-haspopup":"dialog","aria-expanded":x,"aria-controls":z};return c===M.click&&(y.onClick=k(f.onClick,ge)),c===M.hover&&(y.onFocus=k(f.onFocus,()=>{E.current===void 0&&oe()}),y.onBlur=k(f.onBlur,T=>{const W=Fe(T),te=!ie(F.current,W);x&&r&&te&&_()}),y.onKeyDown=k(f.onKeyDown,T=>{T.key==="Escape"&&_()}),y.onMouseEnter=k(f.onMouseEnter,()=>{I.current=!0,E.current=window.setTimeout(()=>oe(),p)}),y.onMouseLeave=k(f.onMouseLeave,()=>{I.current=!1,E.current&&(clearTimeout(E.current),E.current=void 0),ne.current=window.setTimeout(()=>{I.current===!1&&_()},h)})),y},[ke,x,z,c,Ne,ge,oe,r,_,p,h]);l.useEffect(()=>()=>{E.current&&clearTimeout(E.current),ne.current&&clearTimeout(ne.current)},[]);const io=l.useCallback((f={},C=null)=>({...f,id:V,ref:H(C,y=>{Ye(!!y)})}),[V]),lo=l.useCallback((f={},C=null)=>({...f,id:U,ref:H(C,y=>{Je(!!y)})}),[U]);return{forceUpdate:ro,isOpen:x,onAnimationComplete:Se.onComplete,onClose:_,getAnchorProps:so,getArrowProps:eo,getArrowInnerProps:oo,getPopoverPositionerProps:to,getPopoverProps:no,getTriggerProps:ao,getHeaderProps:io,getBodyProps:lo}}function ie(o,r){return o===r||o?.contains(r)}function Fe(o){var r;const n=o.currentTarget.ownerDocument.activeElement;return(r=o.relatedTarget)!=null?r:n}function fe(o){const r=De("Popover",o),{children:n,...t}=Ie(o),a=_o(),s=yr({...t,direction:a.direction});return e.jsx(vr,{value:s,children:e.jsx(xr,{value:r,children:Po(n,{isOpen:s.isOpen,onClose:s.onClose,forceUpdate:s.forceUpdate})})})}fe.displayName="Popover";var le=(o,r)=>r?`${o}.${r}, ${r}`:void 0;function he(o){var r;const{bg:n,bgColor:t,backgroundColor:a,shadow:s,boxShadow:i,shadowColor:u}=o,{getArrowProps:d,getArrowInnerProps:c}=R(),p=B(),h=(r=n??t)!=null?r:a,b=s??i;return e.jsx(m.div,{...d(),className:"chakra-popover__arrow-positioner",children:e.jsx(m.div,{className:j("chakra-popover__arrow",o.className),...c(o),__css:{"--popper-arrow-shadow-color":le("colors",u),"--popper-arrow-bg":le("colors",h),"--popper-arrow-shadow":le("shadows",b),...p.arrow}})})}he.displayName="PopoverArrow";var q=v(function(r,n){const{getBodyProps:t}=R(),a=B();return e.jsx(m.div,{...t(r,n),className:j("chakra-popover__body",r.className),__css:a.body})});q.displayName="PopoverBody";var me=v(function(r,n){const{onClose:t}=R(),a=B();return e.jsx(Be,{size:"sm",onClick:t,className:j("chakra-popover__close-btn",r.className),__css:a.closeButton,ref:n,...r})});me.displayName="PopoverCloseButton";function jr(o){if(o)return{enter:{...o.enter,visibility:"visible"},exit:{...o.exit,transitionEnd:{visibility:"hidden"}}}}var br={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},gr=m(Y.section),We=v(function(r,n){const{variants:t=br,...a}=r,{isOpen:s}=R();return e.jsx(gr,{ref:n,variants:jr(t),initial:!1,animate:s?"enter":"exit",...a})});We.displayName="PopoverTransition";var ve=v(function(r,n){const{rootProps:t,motionProps:a,...s}=r,{getPopoverProps:i,getPopoverPositionerProps:u,onAnimationComplete:d}=R(),c=B(),p={position:"relative",display:"flex",flexDirection:"column",...c.content};return e.jsx(m.div,{...u(t),__css:c.popper,className:"chakra-popover__popper",children:e.jsx(We,{...a,...i(s,n),onAnimationComplete:Co(d,s.onAnimationComplete),className:j("chakra-popover__content",r.className),__css:p})})});ve.displayName="PopoverContent";function Ke(o){const r=B();return e.jsx(m.footer,{...o,className:j("chakra-popover__footer",o.className),__css:r.footer})}Ke.displayName="PopoverFooter";var[_r,D]=ye({name:"TableStylesContext",errorMessage:`useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in "
" `}),qe=v((o,r)=>{const n=De("Table",o),{className:t,layout:a,...s}=Ie(o);return e.jsx(_r,{value:n,children:e.jsx(m.table,{ref:r,__css:{tableLayout:a,...n.table},className:j("chakra-table",t),...s})})});qe.displayName="Table";var Pr=v((o,r)=>{const n=D();return e.jsx(m.thead,{...o,ref:r,__css:n.thead})}),K=v((o,r)=>{const n=D();return e.jsx(m.tr,{...o,ref:r,__css:n.tr})}),Xe=v((o,r)=>{const{placement:n="bottom",...t}=o,a=D();return e.jsx(m.caption,{...t,ref:r,__css:{...a.caption,captionSide:n}})});Xe.displayName="TableCaption";var Cr=v((o,r)=>{var n;const{overflow:t,overflowX:a,className:s,...i}=o;return e.jsx(m.div,{ref:r,className:j("chakra-table__container",s),...i,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:(n=t??a)!=null?n:"auto",overflowY:"hidden",maxWidth:"100%"}})}),kr=v((o,r)=>{const n=D();return e.jsx(m.tbody,{...o,ref:r,__css:n.tbody})}),N=v(({isNumeric:o,...r},n)=>{const t=D();return e.jsx(m.td,{...r,ref:n,__css:t.td,"data-is-numeric":o})}),ce=v(({isNumeric:o,...r},n)=>{const t=D();return e.jsx(m.th,{...r,ref:n,__css:t.th,"data-is-numeric":o})});const wr={"chakra-app":{name:"chakra-app",services:{},ui:{references:[]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}}},Sr="",Tr=[];function Nr(o){throw new Error(`Unsupported locale: '${o}'`)}const Or=ko(Sr),Er=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:Nr,locales:Tr,packages:wr,styles:Or},Symbol.toStringTag,{value:"Module"})),Rr=wo({colors:{primary:{50:"#defffd",100:"#b3fffa",200:"#86feee",300:"#5bfedd",400:"#3efec9",500:"#32e5a6",600:"#23b277",700:"#147f4c",800:"#004d23",900:"#001b0a"}},fonts:{heading:"Helvetica"},components:{Button:{defaultProps:{colorScheme:"primary"},variants:{cancel:{color:"font_inverse",bg:"error",_hover:{backgroundColor:"error_hover"}}}},Link:{baseStyle:{color:"font_link"}},Divider:{baseStyle:{borderColor:"border"}}},semanticTokens:{colors:{background_primary:"primary.300",background_secondary:"primary.500",placeholder:"primary.100",font_primary:"black",font_secondary:"grey.500",font_inverse:"white",font_link:"yellow.300",border:"black",error:"red.500",error_hover:"red.600",success:"green.500",highlight:"yellow.300","chakra-body-bg":"background_primary","chakra-subtle-bg":"background_secondary","chakra-body-text":"font_primary","chakra-subtle-text":"font_secondary","chakra-inverse-text":"font_inverse","chakra-border-color":"border","chakra-placeholder-color":"placeholder"}}},So);function Fr(){return e.jsx(Cr,{sx:{border:"solid"},children:e.jsxs(qe,{variant:"striped",children:[e.jsx(Xe,{children:"This is the table cation"}),e.jsx(Pr,{children:e.jsxs(K,{children:[e.jsx(ce,{children:"First"}),e.jsx(ce,{children:"Test"}),e.jsx(ce,{isNumeric:!0,children:"Third (numeric)"})]})}),e.jsxs(kr,{children:[e.jsxs(K,{children:[e.jsx(N,{children:"one"}),e.jsx(N,{children:"bla"}),e.jsx(N,{isNumeric:!0,children:"22,3"})]}),e.jsxs(K,{children:[e.jsx(N,{children:"two"}),e.jsx(N,{children:"blub"}),e.jsx(N,{isNumeric:!0,children:"23.4"})]}),e.jsxs(K,{children:[e.jsx(N,{children:"three"}),e.jsx(N,{children:"blob"}),e.jsx(N,{isNumeric:!0,children:"12"})]})]})]})})}function Mr(){return e.jsx("div",{style:{overflow:"auto",height:"100%",width:"100%"},children:e.jsxs(zo,{children:[e.jsx($e,{mb:5,children:"chakra technical demo"}),e.jsx(Ar,{}),e.jsx(Br,{}),e.jsx(Fr,{}),e.jsx(Wr,{})]})})}function Ar(){return e.jsxs(Lo,{children:["This is a"," ",e.jsx(Ho,{href:"https://chakra-ui.com",isExternal:!0,children:"link to Chakra's Design system"})]})}function Br(){return e.jsxs(Le,{mb:5,mt:5,divider:e.jsx($o,{}),spacing:"24px",align:"stretch",children:[e.jsx(S,{children:e.jsx(Dr,{})}),e.jsx(S,{children:e.jsx(Ir,{})}),e.jsx(S,{children:e.jsx(Hr,{})}),e.jsx(S,{children:e.jsx(Lr,{})}),e.jsx(S,{children:e.jsx($r,{})}),e.jsx(S,{children:e.jsx(zr,{})}),e.jsx(S,{children:e.jsx(Vr,{})}),e.jsx(S,{children:e.jsx(Ur,{})}),e.jsx(S,{children:e.jsx(Gr,{})})]})}function Dr(){return e.jsxs(S,{bg:"background_secondary",children:[e.jsx($e,{size:"sm",children:"Portal Example: "}),"This is box and displayed here. Scroll/Look down to see the portal that is added at the end of document.body. The Portal is part of this Box.",e.jsx(He,{children:"This is the portal content!"})]})}function Ir(){return e.jsx(To,{hasArrow:!0,label:"Button Tooltip","aria-label":"A tooltip",placement:"top",children:e.jsx(g,{children:"Button with a tooltip"})})}function Hr(){const o=Vo();return e.jsx(g,{onClick:()=>o({title:"Account created.",description:"We've created your account for you.",status:"success",duration:9e3,position:"bottom-left",isClosable:!0}),children:"Show Toast"})}function Lr(){return e.jsxs(No,{status:"error",children:[e.jsx(Oo,{}),e.jsx(Eo,{children:"Test Alert!"}),e.jsx(Ro,{children:"This is a test alert (error)"})]})}function $r(){const{isOpen:o,onOpen:r,onClose:n}=je(),t=l.useRef(null);return e.jsxs(e.Fragment,{children:[e.jsx(g,{onClick:r,children:"Open Alert"}),e.jsx(Fo,{isOpen:o,leastDestructiveRef:t,onClose:n,children:e.jsx(Z,{children:e.jsxs(Mo,{className:"class-from-app",children:[e.jsx(Q,{fontSize:"lg",fontWeight:"bold",children:"Alert Title"}),e.jsx(ee,{children:"This is the text in the alert dialog body."}),e.jsxs(J,{children:[e.jsx(g,{ref:t,onClick:n,variant:"cancel",children:"Cancel"}),e.jsx(g,{onClick:n,ml:3,children:"Okay"})]})]})})})]})}function zr(){const{isOpen:o,onOpen:r,onClose:n}=je();return e.jsxs(e.Fragment,{children:[e.jsx(g,{onClick:r,children:"Show Modal"}),e.jsxs(Ao,{closeOnOverlayClick:!1,isOpen:o,onClose:n,children:[e.jsx(Z,{}),e.jsxs(Bo,{children:[e.jsx(Q,{children:"This is a modal"}),e.jsx(be,{}),e.jsx(ee,{pb:6,children:"This is a modal text!"}),e.jsxs(J,{children:[e.jsx(g,{mr:2,children:"Got it"}),e.jsx(g,{onClick:n,children:"Cancel"})]})]})]})]})}function Vr(){const{isOpen:o,onOpen:r,onClose:n}=je(),t=l.useRef(null);return e.jsxs(e.Fragment,{children:[e.jsx(g,{ref:t,onClick:r,children:"Open Drawer"}),e.jsxs(Do,{isOpen:o,placement:"left",onClose:n,finalFocusRef:t,isFullHeight:!1,children:[e.jsx(Z,{}),e.jsxs(Ge,{children:[e.jsx(be,{}),e.jsx(Q,{children:"This is the drawer header"}),e.jsx(ee,{children:"This is the body."}),e.jsxs(J,{children:[e.jsx(g,{variant:"outline",mr:3,onClick:n,children:"Cancel"}),e.jsx(g,{children:"Got it"})]})]})]})]})}function Ur(){return e.jsxs(e.Fragment,{children:[e.jsxs(fe,{children:[e.jsx(pe,{children:e.jsx(g,{children:"Show Popover"})}),e.jsxs(ve,{children:[e.jsx(he,{}),e.jsx(me,{}),e.jsx(de,{children:"Popover!"}),e.jsx(q,{children:"This is a very important Popover"})]})]}),e.jsxs(fe,{children:[e.jsx(pe,{children:e.jsx(g,{ml:5,children:"Show Popover rendered in an portal"})}),e.jsx(He,{children:e.jsxs(ve,{children:[e.jsx(he,{}),e.jsx(de,{children:"Header"}),e.jsx(me,{}),e.jsx(q,{children:e.jsx(q,{children:"This is a very important Popover"})}),e.jsx(Ke,{children:"This is the footer"})]})})]})]})}function Gr(){const[o,r]=l.useState("2");return e.jsxs(e.Fragment,{children:[e.jsx(Uo,{onChange:r,value:o,children:e.jsxs(Le,{spacing:4,direction:"row",children:[e.jsx(ae,{size:"sm",value:"1",isDisabled:!0,children:"Radio 1 (Disabled)"}),e.jsx(ae,{size:"md",value:"2",children:"Radio 2"}),e.jsx(ae,{size:"lg",value:"3",children:"Radio 3"})]})}),e.jsx("p",{children:"Checked radio: "+o})]})}function Wr(){return e.jsxs(Go,{m:5,placeholder:"Select an item",children:[e.jsx("option",{value:"item1",children:"Item 1"}),e.jsx("option",{value:"item2",children:"Item 2"}),e.jsx("option",{value:"item3",children:"Item 3"})]})}const Kr=Io({component:Mr,theme:Rr,appMetadata:Er});customElements.define("chakra-app",Kr);
diff --git a/core-packages/assets/afc2429a7da1.js b/core-packages/assets/73a9b51880fc.js
similarity index 97%
rename from core-packages/assets/afc2429a7da1.js
rename to core-packages/assets/73a9b51880fc.js
index 456ac3d28..372a53533 100644
--- a/core-packages/assets/afc2429a7da1.js
+++ b/core-packages/assets/73a9b51880fc.js
@@ -1 +1 @@
-var v=(i,n,e)=>{if(!n.has(i))throw TypeError("Cannot "+e)};var c=(i,n,e)=>(v(i,n,"read from private field"),e?e.call(i):n.get(i)),p=(i,n,e)=>{if(n.has(i))throw TypeError("Cannot add the same private member more than once");n instanceof WeakSet?n.add(i):n.set(i,e)};import{a as u,j as r,b as f}from"./f6bce9997efc.js";import{u as g}from"./25a5152ddbe5.js";import{B as x}from"./2e7753f73b7f.js";import{C as h,H as d}from"./29fb1f323e6e.js";import{T as a}from"./4ebae876f574.js";import{V as A}from"./423259cadff8.js";import"./ed8cece5af8e.js";var o;class w{constructor(n){p(this,o,new Map);const e=c(this,o),t=n.references.providers;for(const l of t){const m=l.createActions();for(const s of m){if(e.has(s.id))throw new Error(`Action '${s.id}' was defined twice.`);e.set(s.id,s)}}}getActionInfo(){const n=Array.from(c(this,o).values()).map(e=>({id:e.id,text:e.text}));return n.sort((e,t)=>e.text.localeCompare(t.text)),n}triggerAction(n){const e=c(this,o).get(n);if(!e)throw new Error(`Action '${n}' was not defined.`);e.trigger()}}o=new WeakMap;class b{createActions(){return[{id:"logging-action",text:"Log a message",trigger(){console.info("Logging a message!")}}]}}class P{createActions(){return[{id:"clear-browser-action",text:"Clear browser",trigger(){document.body.innerHTML=""}},{id:"refresh-browser-action",text:"Refresh browser",trigger(){window.location.reload()}}]}}class j{createActions(){return[{id:"open-window-action",text:"Open window",trigger(){window.open("https://www.conterra.de")}}]}}const S={"extension-app":{name:"extension-app",services:{ActionServiceImpl:{name:"ActionServiceImpl",clazz:w,provides:[{name:"extension-app.ActionService",qualifier:void 0}],references:{providers:{name:"extension-app.ActionProvider",qualifier:void 0,all:!0}}},LoggingActionProvider:{name:"LoggingActionProvider",clazz:b,provides:[{name:"extension-app.ActionProvider",qualifier:void 0}],references:{}},MultiActionProvider:{name:"MultiActionProvider",clazz:P,provides:[{name:"extension-app.ActionProvider",qualifier:void 0}],references:{}},OpenWindowActionProvider:{name:"OpenWindowActionProvider",clazz:j,provides:[{name:"extension-app.ActionProvider",qualifier:void 0}],references:{}}},ui:{references:[{name:"extension-app.ActionService",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}}},y="",I=[];function z(i){throw new Error(`Unsupported locale: '${i}'`)}const E=u(y),M=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:z,locales:I,packages:S,styles:E},Symbol.toStringTag,{value:"Module"})),T="extension-app",k=g.bind(void 0,T);function C(){const i=k("extension-app.ActionService"),n=i.getActionInfo().map(({id:e,text:t})=>r.jsx(x,{onClick:()=>i.triggerAction(e),children:t},e));return r.jsxs(h,{maxW:"3xl",py:2,children:[r.jsx(d,{as:"h1",size:"4xl",mb:4,children:"Extension Example"}),r.jsx(a,{my:2,children:"This example demonstrates how to provide an extensible API with services and 1-to-N dependencies."}),r.jsxs(a,{my:2,children:["Individual ",r.jsx("code",{children:"ActionProvider"})," instances can provide a number of actions, which are then gathered and indexed by the ",r.jsx("code",{children:"ActionService"}),", which depends on all ActionProviders. The UI references the ",r.jsx("code",{children:"ActionService"})," and renders the provided actions as buttons. When a button is clicked, the appropriate action will be triggered."]}),r.jsxs(a,{my:2,children:["To add a new action, simply add new implementation of"," ",r.jsx("code",{children:'"extension-app.ActionProvider"'}),". The"," ",r.jsx("code",{children:"ActionService"})," will pick it up automatically."]}),r.jsxs(d,{as:"h4",size:"xl",children:["Buttons from ",r.jsx("code",{children:"ActionService"}),":"]}),r.jsx(A,{align:"start",children:n})]})}const q=f({component:C,appMetadata:M});customElements.define("extension-app",q);
+var v=(i,n,e)=>{if(!n.has(i))throw TypeError("Cannot "+e)};var c=(i,n,e)=>(v(i,n,"read from private field"),e?e.call(i):n.get(i)),p=(i,n,e)=>{if(n.has(i))throw TypeError("Cannot add the same private member more than once");n instanceof WeakSet?n.add(i):n.set(i,e)};import{a as u,j as r,b as f}from"./f6bce9997efc.js";import{u as g}from"./25a5152ddbe5.js";import{B as x}from"./2e7753f73b7f.js";import{C as h,H as d}from"./29fb1f323e6e.js";import{T as a}from"./4ebae876f574.js";import{V as A}from"./423259cadff8.js";import"./ed8cece5af8e.js";var o;class w{constructor(n){p(this,o,new Map);const e=c(this,o),t=n.references.providers;for(const l of t){const m=l.createActions();for(const s of m){if(e.has(s.id))throw new Error(`Action '${s.id}' was defined twice.`);e.set(s.id,s)}}}getActionInfo(){const n=Array.from(c(this,o).values()).map(e=>({id:e.id,text:e.text}));return n.sort((e,t)=>e.text.localeCompare(t.text)),n}triggerAction(n){const e=c(this,o).get(n);if(!e)throw new Error(`Action '${n}' was not defined.`);e.trigger()}}o=new WeakMap;class b{createActions(){return[{id:"logging-action",text:"Log a message",trigger(){console.info("Logging a message!")}}]}}class P{createActions(){return[{id:"clear-browser-action",text:"Clear browser",trigger(){document.body.innerHTML=""}},{id:"refresh-browser-action",text:"Refresh browser",trigger(){window.location.reload()}}]}}class j{createActions(){return[{id:"open-window-action",text:"Open window",trigger(){window.open("https://www.conterra.de")}}]}}const S={"extension-app":{name:"extension-app",services:{ActionServiceImpl:{name:"ActionServiceImpl",clazz:w,provides:[{name:"extension-app.ActionService",qualifier:void 0}],references:{providers:{name:"extension-app.ActionProvider",qualifier:void 0,all:!0}}},LoggingActionProvider:{name:"LoggingActionProvider",clazz:b,provides:[{name:"extension-app.ActionProvider",qualifier:void 0}],references:{}},MultiActionProvider:{name:"MultiActionProvider",clazz:P,provides:[{name:"extension-app.ActionProvider",qualifier:void 0}],references:{}},OpenWindowActionProvider:{name:"OpenWindowActionProvider",clazz:j,provides:[{name:"extension-app.ActionProvider",qualifier:void 0}],references:{}}},ui:{references:[{name:"extension-app.ActionService",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}}},y="",I=[];function z(i){throw new Error(`Unsupported locale: '${i}'`)}const E=u(y),M=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:z,locales:I,packages:S,styles:E},Symbol.toStringTag,{value:"Module"})),T="extension-app",k=g.bind(void 0,T);function C(){const i=k("extension-app.ActionService"),n=i.getActionInfo().map(({id:e,text:t})=>r.jsx(x,{onClick:()=>i.triggerAction(e),children:t},e));return r.jsxs(h,{maxW:"3xl",py:2,children:[r.jsx(d,{as:"h1",size:"4xl",mb:4,children:"Extension Example"}),r.jsx(a,{my:2,children:"This example demonstrates how to provide an extensible API with services and 1-to-N dependencies."}),r.jsxs(a,{my:2,children:["Individual ",r.jsx("code",{children:"ActionProvider"})," instances can provide a number of actions, which are then gathered and indexed by the ",r.jsx("code",{children:"ActionService"}),", which depends on all ActionProviders. The UI references the ",r.jsx("code",{children:"ActionService"})," and renders the provided actions as buttons. When a button is clicked, the appropriate action will be triggered."]}),r.jsxs(a,{my:2,children:["To add a new action, simply add new implementation of"," ",r.jsx("code",{children:'"extension-app.ActionProvider"'}),". The"," ",r.jsx("code",{children:"ActionService"})," will pick it up automatically."]}),r.jsxs(d,{as:"h4",size:"xl",children:["Buttons from ",r.jsx("code",{children:"ActionService"}),":"]}),r.jsx(A,{align:"start",children:n})]})}const q=f({component:C,appMetadata:M});customElements.define("extension-app",q);
diff --git a/core-packages/assets/f664fa8964c8.js b/core-packages/assets/7cefae59068f.js
similarity index 87%
rename from core-packages/assets/f664fa8964c8.js
rename to core-packages/assets/7cefae59068f.js
index ad4269694..9497e298d 100644
--- a/core-packages/assets/f664fa8964c8.js
+++ b/core-packages/assets/7cefae59068f.js
@@ -1 +1 @@
-var E=(e,s,t)=>{if(!s.has(e))throw TypeError("Cannot "+t)};var i=(e,s,t)=>(E(e,s,"read from private field"),t?t.call(e):s.get(e)),p=(e,s,t)=>{if(s.has(e))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(e):s.set(e,t)},o=(e,s,t,r)=>(E(e,s,"write to private field"),r?r.call(e,t):s.set(e,t),t);var F=(e,s,t)=>(E(e,s,"access private method"),t);import{p as Y,q as L,j as n,d as R,r as d,P as _,Q as N,R as J,S as W,ac as X,ad as Z,ae as ee,c as te,a as ne,b as se}from"./f6bce9997efc.js";import{E as q}from"./960f2965a833.js";import{u as ie,I as re,F as ae}from"./a98298bb138a.js";import{I as M}from"./443a3944a6a7.js";import{C as U,H as G}from"./29fb1f323e6e.js";import{V as oe}from"./423259cadff8.js";import{T as ce}from"./4ebae876f574.js";import{F as T}from"./a6d9340f2712.js";import{F as z}from"./24631eb4775c.js";import{B as y}from"./2e7753f73b7f.js";import{u as O}from"./25a5152ddbe5.js";import"./ed8cece5af8e.js";var ue=Y("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),b=L(function(s,t){var r,a;const{placement:l="left",...x}=s,A=ie(),c=A.field,I={[l==="left"?"insetStart":"insetEnd"]:"0",width:(r=c?.height)!=null?r:c?.h,height:(a=c?.height)!=null?a:c?.h,fontSize:c?.fontSize,...A.element};return n.jsx(ue,{ref:t,__css:I,...x})});b.id="InputElement";b.displayName="InputElement";var $=L(function(s,t){const{className:r,...a}=s,l=R("chakra-input__left-element",r);return n.jsx(b,{ref:t,placement:"left",className:l,...a})});$.id="InputLeftElement";$.displayName="InputLeftElement";var C=L(function(s,t){const{className:r,...a}=s,l=R("chakra-input__right-element",r);return n.jsx(b,{ref:t,placement:"right",className:l,...a})});C.id="InputRightElement";C.displayName="InputRightElement";function le({doLogin:e,wasLoggedIn:s}){const[t,r]=d.useState(""),[a,l]=d.useState(""),[x,A]=d.useState(!1),[c,P]=d.useState(),[I,K]=d.useState(s),V=S=>{S.preventDefault();const Q=e(t,a);P(Q||""),K(!1)};return n.jsx(U,{p:5,children:n.jsxs(oe,{as:"form",onSubmit:V,spacing:4,children:[n.jsx(G,{as:"h1",textAlign:"center",children:"Login"}),n.jsxs(ce,{textAlign:"center",children:["Please enter your user name and password to authenticate.",n.jsx("br",{}),"Note: credentials are ",'"admin"'," / ",'"admin"']}),c&&n.jsxs(_,{status:"error",children:[n.jsx(N,{}),n.jsx(J,{children:c})]}),I&&n.jsxs(_,{status:"info",mb:5,children:[n.jsx(N,{}),n.jsxs(W,{children:["Logout successful.",n.jsx("br",{}),"You can use the form below to log in again."]})]}),n.jsxs(T,{children:[n.jsx(z,{children:"User name"}),n.jsx(M,{placeholder:"User name",value:t,onChange:S=>r(S.target.value),autoComplete:"username"})]}),n.jsxs(T,{children:[n.jsx(z,{children:"Password"}),n.jsxs(re,{children:[n.jsx(M,{pr:"4.5rem",type:x?"text":"password",placeholder:"Enter password",value:a,onChange:S=>l(S.target.value),autoComplete:"current-password"}),n.jsx(C,{width:"4.5rem",children:n.jsx(y,{h:"1.75rem",size:"sm",onClick:()=>A(!x),children:x?"Hide":"Show"})})]})]}),n.jsx(y,{type:"submit",children:"Login"})]})})}var m,f,k;class he extends q{constructor(){super();p(this,m,{kind:"pending"});p(this,f,void 0);p(this,k,!1);o(this,f,setTimeout(()=>{o(this,m,{kind:"not-authenticated"}),this.emit("changed")},500))}destroy(){clearTimeout(i(this,f)),o(this,f,void 0)}getAuthState(){return i(this,m)}getLoginBehavior(){const t=(a,l)=>{if(a==="admin"&&l==="admin")o(this,m,{kind:"authenticated",sessionInfo:{userId:"admin",userName:"Arnold Administrator"}}),o(this,k,!0),this.emit("changed");else return"Invalid user name or password!"};return{kind:"fallback",Fallback:()=>d.createElement(le,{doLogin:t,wasLoggedIn:i(this,k)})}}logout(){(i(this,m).kind==="authenticated"||i(this,m).kind==="pending")&&(o(this,m,{kind:"not-authenticated"}),clearTimeout(i(this,f)),o(this,f,void 0),this.emit("changed"))}}m=new WeakMap,f=new WeakMap,k=new WeakMap;const w=te("authentication:AuthService");var g,u,h,v,j,H;class de extends q{constructor(t){super();p(this,j);p(this,g,void 0);p(this,u,void 0);p(this,h,void 0);p(this,v,void 0);o(this,g,t.references.plugin),o(this,u,i(this,g).getAuthState()),o(this,v,i(this,g).on?.("changed",()=>F(this,j,H).call(this))),w.debug(`Constructed with initial auth state '${i(this,u).kind}'`,i(this,u))}destroy(){i(this,h)?.reject(X()),o(this,h,void 0),o(this,v,Z(i(this,v)))}getAuthState(){return i(this,u)}getSessionInfo(){return i(this,u).kind!=="pending"?Promise.resolve(B(i(this,u))):(i(this,h)||o(this,h,ee()),i(this,h).promise)}getLoginBehavior(){return i(this,g).getLoginBehavior()}logout(){w.debug("Triggering logout"),i(this,g).logout()}}g=new WeakMap,u=new WeakMap,h=new WeakMap,v=new WeakMap,j=new WeakSet,H=function(){const t=i(this,g).getAuthState();o(this,u,t),t.kind!=="pending"&&i(this,h)&&(i(this,h).resolve(B(t)),o(this,h,void 0)),w.debug(`Auth state changed to '${i(this,u).kind}'`,i(this,u)),this.emit("changed")};function B(e){return e.kind==="authenticated"?e.sessionInfo:void 0}const pe={"auth-app":{name:"auth-app",services:{TestAuthPlugin:{name:"TestAuthPlugin",clazz:he,provides:[{name:"authentication.AuthPlugin",qualifier:void 0}],references:{}}},ui:{references:[{name:"authentication.AuthService",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}},"@open-pioneer/authentication":{name:"@open-pioneer/authentication",services:{AuthServiceImpl:{name:"AuthServiceImpl",clazz:de,provides:[{name:"authentication.AuthService",qualifier:void 0}],references:{plugin:{name:"authentication.AuthPlugin",qualifier:void 0,all:!1}}}},ui:{references:[{name:"authentication.AuthService",qualifier:void 0,all:!1}]},properties:{}}},me="",ge=[];function fe(e){throw new Error(`Unsupported locale: '${e}'`)}const ve=ne(me),xe=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:fe,locales:ge,packages:pe,styles:ve},Symbol.toStringTag,{value:"Module"})),Se="@open-pioneer/authentication",ke=O.bind(void 0,Se);function D(e){const s=d.useCallback(a=>{const l=e.on("changed",a);return()=>l.destroy()},[e]),t=d.useCallback(()=>e.getAuthState(),[e]);return d.useSyncExternalStore(s,t)}const Ae=e=>{const s=ke("authentication.AuthService"),t=D(s),r=d.useMemo(()=>{if(t.kind==="not-authenticated")return s.getLoginBehavior()},[s,t.kind]);switch(d.useEffect(()=>{t.kind==="not-authenticated"&&r?.kind==="effect"&&r.login()},[r,t.kind]),t.kind){case"pending":return null;case"not-authenticated":{if(!r||r.kind!=="fallback")return null;const a=r.Fallback;return e.renderFallback?n.jsx(n.Fragment,{children:e.renderFallback(a)}):n.jsx(a,{...e.fallbackProps})}case"authenticated":return n.jsx(n.Fragment,{children:e.children})}},je="auth-app",be=O.bind(void 0,je);function Ie(){const e=be("authentication.AuthService"),s=D(e),t=()=>{e.logout()};return s.kind==="not-authenticated"||s.kind==="pending"?null:n.jsx(y,{colorScheme:"red",onClick:t,children:"Log out"})}function Ee(){return n.jsx(Ae,{children:n.jsxs(U,{p:5,children:[n.jsx(G,{as:"h1",children:"Authenticated"}),"This is the actual content of the app. Authentication was successful.",n.jsx(ae,{pt:5,flexDirection:"row",justifyContent:"center",children:n.jsx(Ie,{})})]})})}const we=se({component:Ee,appMetadata:xe});customElements.define("auth-app",we);
+var E=(e,s,t)=>{if(!s.has(e))throw TypeError("Cannot "+t)};var i=(e,s,t)=>(E(e,s,"read from private field"),t?t.call(e):s.get(e)),p=(e,s,t)=>{if(s.has(e))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(e):s.set(e,t)},o=(e,s,t,r)=>(E(e,s,"write to private field"),r?r.call(e,t):s.set(e,t),t);var F=(e,s,t)=>(E(e,s,"access private method"),t);import{p as Y,q as L,j as n,d as R,r as d,P as _,Q as N,R as J,S as W,ac as X,ad as Z,ae as ee,c as te,a as ne,b as se}from"./f6bce9997efc.js";import{E as q}from"./960f2965a833.js";import{u as ie,I as re,F as ae}from"./a98298bb138a.js";import{I as M}from"./443a3944a6a7.js";import{C as U,H as G}from"./29fb1f323e6e.js";import{V as oe}from"./423259cadff8.js";import{T as ce}from"./4ebae876f574.js";import{F as T}from"./a6d9340f2712.js";import{F as z}from"./24631eb4775c.js";import{B as y}from"./2e7753f73b7f.js";import{u as O}from"./25a5152ddbe5.js";import"./ed8cece5af8e.js";var ue=Y("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),b=L(function(s,t){var r,a;const{placement:l="left",...x}=s,A=ie(),c=A.field,I={[l==="left"?"insetStart":"insetEnd"]:"0",width:(r=c?.height)!=null?r:c?.h,height:(a=c?.height)!=null?a:c?.h,fontSize:c?.fontSize,...A.element};return n.jsx(ue,{ref:t,__css:I,...x})});b.id="InputElement";b.displayName="InputElement";var $=L(function(s,t){const{className:r,...a}=s,l=R("chakra-input__left-element",r);return n.jsx(b,{ref:t,placement:"left",className:l,...a})});$.id="InputLeftElement";$.displayName="InputLeftElement";var C=L(function(s,t){const{className:r,...a}=s,l=R("chakra-input__right-element",r);return n.jsx(b,{ref:t,placement:"right",className:l,...a})});C.id="InputRightElement";C.displayName="InputRightElement";function le({doLogin:e,wasLoggedIn:s}){const[t,r]=d.useState(""),[a,l]=d.useState(""),[x,A]=d.useState(!1),[c,P]=d.useState(),[I,K]=d.useState(s),V=S=>{S.preventDefault();const Q=e(t,a);P(Q||""),K(!1)};return n.jsx(U,{p:5,children:n.jsxs(oe,{as:"form",onSubmit:V,spacing:4,children:[n.jsx(G,{as:"h1",textAlign:"center",children:"Login"}),n.jsxs(ce,{textAlign:"center",children:["Please enter your user name and password to authenticate.",n.jsx("br",{}),"Note: credentials are ",'"admin"'," / ",'"admin"']}),c&&n.jsxs(_,{status:"error",children:[n.jsx(N,{}),n.jsx(J,{children:c})]}),I&&n.jsxs(_,{status:"info",mb:5,children:[n.jsx(N,{}),n.jsxs(W,{children:["Logout successful.",n.jsx("br",{}),"You can use the form below to log in again."]})]}),n.jsxs(T,{children:[n.jsx(z,{children:"User name"}),n.jsx(M,{placeholder:"User name",value:t,onChange:S=>r(S.target.value),autoComplete:"username"})]}),n.jsxs(T,{children:[n.jsx(z,{children:"Password"}),n.jsxs(re,{children:[n.jsx(M,{pr:"4.5rem",type:x?"text":"password",placeholder:"Enter password",value:a,onChange:S=>l(S.target.value),autoComplete:"current-password"}),n.jsx(C,{width:"4.5rem",children:n.jsx(y,{h:"1.75rem",size:"sm",onClick:()=>A(!x),children:x?"Hide":"Show"})})]})]}),n.jsx(y,{type:"submit",children:"Login"})]})})}var m,f,k;class he extends q{constructor(){super();p(this,m,{kind:"pending"});p(this,f,void 0);p(this,k,!1);o(this,f,setTimeout(()=>{o(this,m,{kind:"not-authenticated"}),this.emit("changed")},500))}destroy(){clearTimeout(i(this,f)),o(this,f,void 0)}getAuthState(){return i(this,m)}getLoginBehavior(){const t=(a,l)=>{if(a==="admin"&&l==="admin")o(this,m,{kind:"authenticated",sessionInfo:{userId:"admin",userName:"Arnold Administrator"}}),o(this,k,!0),this.emit("changed");else return"Invalid user name or password!"};return{kind:"fallback",Fallback:()=>d.createElement(le,{doLogin:t,wasLoggedIn:i(this,k)})}}logout(){(i(this,m).kind==="authenticated"||i(this,m).kind==="pending")&&(o(this,m,{kind:"not-authenticated"}),clearTimeout(i(this,f)),o(this,f,void 0),this.emit("changed"))}}m=new WeakMap,f=new WeakMap,k=new WeakMap;const w=te("authentication:AuthService");var g,u,h,v,j,H;class de extends q{constructor(t){super();p(this,j);p(this,g,void 0);p(this,u,void 0);p(this,h,void 0);p(this,v,void 0);o(this,g,t.references.plugin),o(this,u,i(this,g).getAuthState()),o(this,v,i(this,g).on?.("changed",()=>F(this,j,H).call(this))),w.debug(`Constructed with initial auth state '${i(this,u).kind}'`,i(this,u))}destroy(){i(this,h)?.reject(X()),o(this,h,void 0),o(this,v,Z(i(this,v)))}getAuthState(){return i(this,u)}getSessionInfo(){return i(this,u).kind!=="pending"?Promise.resolve(B(i(this,u))):(i(this,h)||o(this,h,ee()),i(this,h).promise)}getLoginBehavior(){return i(this,g).getLoginBehavior()}logout(){w.debug("Triggering logout"),i(this,g).logout()}}g=new WeakMap,u=new WeakMap,h=new WeakMap,v=new WeakMap,j=new WeakSet,H=function(){const t=i(this,g).getAuthState();o(this,u,t),t.kind!=="pending"&&i(this,h)&&(i(this,h).resolve(B(t)),o(this,h,void 0)),w.debug(`Auth state changed to '${i(this,u).kind}'`,i(this,u)),this.emit("changed")};function B(e){return e.kind==="authenticated"?e.sessionInfo:void 0}const pe={"auth-app":{name:"auth-app",services:{TestAuthPlugin:{name:"TestAuthPlugin",clazz:he,provides:[{name:"authentication.AuthPlugin",qualifier:void 0}],references:{}}},ui:{references:[{name:"authentication.AuthService",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/authentication":{name:"@open-pioneer/authentication",services:{AuthServiceImpl:{name:"AuthServiceImpl",clazz:de,provides:[{name:"authentication.AuthService",qualifier:void 0}],references:{plugin:{name:"authentication.AuthPlugin",qualifier:void 0,all:!1}}}},ui:{references:[{name:"authentication.AuthService",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}}},me="",ge=[];function fe(e){throw new Error(`Unsupported locale: '${e}'`)}const ve=ne(me),xe=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:fe,locales:ge,packages:pe,styles:ve},Symbol.toStringTag,{value:"Module"})),Se="@open-pioneer/authentication",ke=O.bind(void 0,Se);function D(e){const s=d.useCallback(a=>{const l=e.on("changed",a);return()=>l.destroy()},[e]),t=d.useCallback(()=>e.getAuthState(),[e]);return d.useSyncExternalStore(s,t)}const Ae=e=>{const s=ke("authentication.AuthService"),t=D(s),r=d.useMemo(()=>{if(t.kind==="not-authenticated")return s.getLoginBehavior()},[s,t.kind]);switch(d.useEffect(()=>{t.kind==="not-authenticated"&&r?.kind==="effect"&&r.login()},[r,t.kind]),t.kind){case"pending":return null;case"not-authenticated":{if(!r||r.kind!=="fallback")return null;const a=r.Fallback;return e.renderFallback?n.jsx(n.Fragment,{children:e.renderFallback(a)}):n.jsx(a,{...e.fallbackProps})}case"authenticated":return n.jsx(n.Fragment,{children:e.children})}},je="auth-app",be=O.bind(void 0,je);function Ie(){const e=be("authentication.AuthService"),s=D(e),t=()=>{e.logout()};return s.kind==="not-authenticated"||s.kind==="pending"?null:n.jsx(y,{colorScheme:"red",onClick:t,children:"Log out"})}function Ee(){return n.jsx(Ae,{children:n.jsxs(U,{p:5,children:[n.jsx(G,{as:"h1",children:"Authenticated"}),"This is the actual content of the app. Authentication was successful.",n.jsx(ae,{pt:5,flexDirection:"row",justifyContent:"center",children:n.jsx(Ie,{})})]})})}const we=se({component:Ee,appMetadata:xe});customElements.define("auth-app",we);
diff --git a/core-packages/assets/c8636be98652.js b/core-packages/assets/8cb5dde696b5.js
similarity index 90%
rename from core-packages/assets/c8636be98652.js
rename to core-packages/assets/8cb5dde696b5.js
index 7a715e56f..cb3f423f1 100644
--- a/core-packages/assets/c8636be98652.js
+++ b/core-packages/assets/8cb5dde696b5.js
@@ -1 +1 @@
-import{a as l,r as a,j as r,b as m}from"./f6bce9997efc.js";import{E as f}from"./960f2965a833.js";import{u}from"./25a5152ddbe5.js";import{u as d}from"./138a1ee7cdf4.js";import{F as h}from"./a6d9340f2712.js";import{F as v}from"./24631eb4775c.js";import{C as g,H as E}from"./29fb1f323e6e.js";import{V as x}from"./423259cadff8.js";import{T as b}from"./4ebae876f574.js";import{I as j}from"./443a3944a6a7.js";import{H as N}from"./13ce7a9f2023.js";import{B as s}from"./2e7753f73b7f.js";import"./ed8cece5af8e.js";const p={DEBUG:0,INFO:1,ERROR:2};class I extends f{level;constructor(e){super(),this.level=w(e.properties)}notify(e,o="INFO"){p[this.level]>p[o]||this.emit("show-notification",{level:o,message:e})}}function w(t){const e=t.notifierLevel;switch(e){case"DEBUG":case"INFO":case"ERROR":return e}throw new Error(`Invalid notifier level: '${e}'.`)}const F={"properties-app":{name:"properties-app",services:{NotifierImpl:{name:"NotifierImpl",clazz:I,provides:[{name:"properties-app.Notifier",qualifier:void 0}],references:{}}},ui:{references:[{name:"properties-app.Notifier",qualifier:void 0,all:!1}]},properties:{notifierLevel:{value:"INFO",required:!1}}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}}},R="",C=[];function O(t){throw new Error(`Unsupported locale: '${t}'`)}const S=l(R),k=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:O,locales:C,packages:F,styles:S},Symbol.toStringTag,{value:"Module"})),y="properties-app",c=u.bind(void 0,y),T={DEBUG:void 0,INFO:"info",ERROR:"error"};function L(){const t=c("properties-app.Notifier"),e=d();return a.useEffect(()=>{const o=t.on("show-notification",i=>{e({position:"bottom-right",title:i.message,isClosable:!0,status:T[i.level]})});return()=>o.destroy()},[t,e]),null}function U(){return r.jsxs(r.Fragment,{children:[r.jsx(L,{}),r.jsx(A,{})]})}function A(){const t=c("properties-app.Notifier"),[e,o]=a.useState(""),i=n=>{e&&t.notify(e,n)};return r.jsx(g,{children:r.jsxs(x,{my:"20",children:[r.jsx(E,{size:"m",children:"Notifier Sample"}),r.jsxs(b,{children:["This Form attempts to emit a notification with a certain level when clicking one of the button below. The notifier will ignore notifications with a level lower than ",r.jsx("strong",{children:t.level}),". The notifier's level can be configured using an attribute on the web component element."]}),r.jsxs(h,{pt:"3",children:[r.jsx(v,{children:"Enter a message and click one of the buttons to emit a notification"}),r.jsx(j,{placeholder:"Notification text...",value:e,onChange:n=>o(n.target.value)})]}),r.jsxs(N,{children:[r.jsx(s,{onClick:i.bind(void 0,"DEBUG"),children:"Debug"}),r.jsx(s,{onClick:i.bind(void 0,"INFO"),children:"Info"}),r.jsx(s,{onClick:i.bind(void 0,"ERROR"),children:"Error"})]})]})})}const B=m({component:U,appMetadata:k,async resolveConfig(t){const e=t.getAttribute("level");return e?{properties:{"properties-app":{notifierLevel:e}}}:void 0}});customElements.define("properties-app",B);
+import{a as l,r as a,j as r,b as m}from"./f6bce9997efc.js";import{E as f}from"./960f2965a833.js";import{u}from"./25a5152ddbe5.js";import{u as d}from"./138a1ee7cdf4.js";import{F as h}from"./a6d9340f2712.js";import{F as v}from"./24631eb4775c.js";import{C as g,H as E}from"./29fb1f323e6e.js";import{V as x}from"./423259cadff8.js";import{T as b}from"./4ebae876f574.js";import{I as j}from"./443a3944a6a7.js";import{H as N}from"./13ce7a9f2023.js";import{B as s}from"./2e7753f73b7f.js";import"./ed8cece5af8e.js";const p={DEBUG:0,INFO:1,ERROR:2};class I extends f{level;constructor(e){super(),this.level=w(e.properties)}notify(e,o="INFO"){p[this.level]>p[o]||this.emit("show-notification",{level:o,message:e})}}function w(t){const e=t.notifierLevel;switch(e){case"DEBUG":case"INFO":case"ERROR":return e}throw new Error(`Invalid notifier level: '${e}'.`)}const F={"properties-app":{name:"properties-app",services:{NotifierImpl:{name:"NotifierImpl",clazz:I,provides:[{name:"properties-app.Notifier",qualifier:void 0}],references:{}}},ui:{references:[{name:"properties-app.Notifier",qualifier:void 0,all:!1}]},properties:{notifierLevel:{value:"INFO",required:!1}}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}}},R="",C=[];function O(t){throw new Error(`Unsupported locale: '${t}'`)}const S=l(R),k=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:O,locales:C,packages:F,styles:S},Symbol.toStringTag,{value:"Module"})),y="properties-app",c=u.bind(void 0,y),T={DEBUG:void 0,INFO:"info",ERROR:"error"};function L(){const t=c("properties-app.Notifier"),e=d();return a.useEffect(()=>{const o=t.on("show-notification",i=>{e({position:"bottom-right",title:i.message,isClosable:!0,status:T[i.level]})});return()=>o.destroy()},[t,e]),null}function U(){return r.jsxs(r.Fragment,{children:[r.jsx(L,{}),r.jsx(A,{})]})}function A(){const t=c("properties-app.Notifier"),[e,o]=a.useState(""),i=n=>{e&&t.notify(e,n)};return r.jsx(g,{children:r.jsxs(x,{my:"20",children:[r.jsx(E,{size:"m",children:"Notifier Sample"}),r.jsxs(b,{children:["This Form attempts to emit a notification with a certain level when clicking one of the button below. The notifier will ignore notifications with a level lower than ",r.jsx("strong",{children:t.level}),". The notifier's level can be configured using an attribute on the web component element."]}),r.jsxs(h,{pt:"3",children:[r.jsx(v,{children:"Enter a message and click one of the buttons to emit a notification"}),r.jsx(j,{placeholder:"Notification text...",value:e,onChange:n=>o(n.target.value)})]}),r.jsxs(N,{children:[r.jsx(s,{onClick:i.bind(void 0,"DEBUG"),children:"Debug"}),r.jsx(s,{onClick:i.bind(void 0,"INFO"),children:"Info"}),r.jsx(s,{onClick:i.bind(void 0,"ERROR"),children:"Error"})]})]})})}const B=m({component:U,appMetadata:k,async resolveConfig(t){const e=t.getAttribute("level");return e?{properties:{"properties-app":{notifierLevel:e}}}:void 0}});customElements.define("properties-app",B);
diff --git a/core-packages/assets/df8af7ec6993.js b/core-packages/assets/e833d06c991d.js
similarity index 94%
rename from core-packages/assets/df8af7ec6993.js
rename to core-packages/assets/e833d06c991d.js
index 86451e498..f7a88f977 100644
--- a/core-packages/assets/df8af7ec6993.js
+++ b/core-packages/assets/e833d06c991d.js
@@ -1,4 +1,4 @@
var b=(t,e,o)=>{if(!e.has(t))throw TypeError("Cannot "+o)};var u=(t,e,o)=>(b(t,e,"read from private field"),o?o.call(t):e.get(t)),v=(t,e,o)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,o)},y=(t,e,o,r)=>(b(t,e,"write to private field"),r?r.call(t,o):e.set(t,o),o);var S=(t,e,o)=>(b(t,e,"access private method"),o);import{r as c,q as R,j as i,a2 as z,d as G,p as L,c as F,a as P,b as U}from"./f6bce9997efc.js";import{u as H}from"./25a5152ddbe5.js";import{u as O}from"./138a1ee7cdf4.js";import{T as W,C as Z}from"./fe5f8405bb7b.js";import{a as $,B as T}from"./2e7753f73b7f.js";import{C as K,H as V}from"./29fb1f323e6e.js";import{S as N}from"./ed8cece5af8e.js";import{T as J}from"./4ebae876f574.js";import{B as Q}from"./d94fd672bb92.js";import{F as C}from"./a6d9340f2712.js";import{F as w}from"./24631eb4775c.js";import{I as X}from"./443a3944a6a7.js";import{S as Y}from"./0895118db53c.js";import"./979d11064765.js";function ee(t){const{viewBox:e="0 0 24 24",d:o,displayName:r,defaultProps:s={}}=t,l=c.Children.toArray(t.path),f=R((d,n)=>i.jsx(z,{ref:n,viewBox:e,...s,...d,children:l.length?l:i.jsx("path",{fill:"currentColor",d:o})}));return f.displayName=r,f}var te={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},ie={horizontal:t=>({"& > *:not(style) ~ *:not(style)":{marginStart:t}}),vertical:t=>({"& > *:not(style) ~ *:not(style)":{marginTop:t}})},M=R(function(e,o){const{size:r,colorScheme:s,variant:l,className:f,spacing:d="0.5rem",isAttached:n,isDisabled:h,orientation:m="horizontal",...a}=e,B=G("chakra-button__group",f),_=c.useMemo(()=>({size:r,colorScheme:s,variant:l,isDisabled:h}),[r,s,l,h]);let D={display:"inline-flex",...n?te[m]:ie[m](d)};const q=m==="vertical";return i.jsx($,{value:_,children:i.jsx(L.div,{ref:o,role:"group",__css:D,className:B,"data-attached":n?"":void 0,"data-orientation":m,flexDir:q?"column":void 0,...a})})});M.displayName="ButtonGroup";const k=F("notifier:NotificationService");var p,g,x,j,A,E,re;class oe{constructor(){v(this,j);v(this,E);v(this,p,void 0);v(this,g,void 0);v(this,x,void 0)}destroy(){clearTimeout(u(this,x)),y(this,x,void 0)}notify(e){S(this,j,A).call(this,"showNotification",{title:e.title??void 0,message:e.message??void 0,level:e.level??"info",displayDuration:e.displayDuration})}closeAll(){S(this,j,A).call(this,"closeAll")}registerHandler(e){if(u(this,p))return k.warn(`A notification handler has already been registered; this new handler will be ignored.
The component has likely been used twice in your application.`),{destroy(){}};y(this,p,e);const o=u(this,g);if(y(this,g,void 0),o)for(const[s,...l]of o)e[s](...l);let r=!1;return{destroy:()=>{r||(r=!0,u(this,p)===e&&y(this,p,void 0))}}}}p=new WeakMap,g=new WeakMap,x=new WeakMap,j=new WeakSet,A=function(e,...o){if(u(this,p))u(this,p)[e](...o);else{const r=u(this,g)??y(this,g,[]);if(r.length>=1024){k.error(`Internal notification buffer overflow: this event will be dropped to prevent a memory leak.
Make sure that the UI is configured to display notifications (use ).`,{method:e,args:o});return}r.push([e,...o])}},E=new WeakSet,re=function(){u(this,p)||k.warn(`No notification handler has been registered: notifications will not be visible.
-Make sure that your app contains the component.`)};const ne={"notify-app":{name:"notify-app",services:{},ui:{references:[{name:"notifier.NotificationService",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}},"@open-pioneer/notifier":{name:"@open-pioneer/notifier",services:{NotificationServiceImpl:{name:"NotificationServiceImpl",clazz:oe,provides:[{name:"notifier.NotificationService",qualifier:void 0}],references:{}}},ui:{references:[{name:"notifier.NotificationService",qualifier:void 0,all:!1}]},properties:{}}},se="",ae=[];function le(t){throw new Error(`Unsupported locale: '${t}'`)}const ce=P(se),pe=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:le,locales:ae,packages:ne,styles:ce},Symbol.toStringTag,{value:"Module"}));function I(t){const e=c.useRef(null);return c.useLayoutEffect(()=>{e.current=t}),c.useCallback((...r)=>{const s=e.current;return s(...r)},[])}const fe="@open-pioneer/notifier",de=H.bind(void 0,fe);var ue=ee({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});const he=!1;function me(t){const{position:e="top-right"}=t,o=O(),r=de("notifier.NotificationService"),[s,l]=c.useState(!he),f=I(n=>{const h=n.level==="error"?i.jsx(ue,{h:"100%",w:"100%"}):void 0;o({position:e,title:n.title,description:n.message||null,status:n.level,isClosable:!0,duration:n.displayDuration??null,icon:h})}),d=I(()=>{o.closeAll()});return c.useEffect(()=>{const n=r.registerHandler({showNotification:f,closeAll:d});return()=>n.destroy()},[s,r,f,d]),i.jsx(i.Fragment,{})}const ve="notify-app",ye=H.bind(void 0,ve);function ge(){const t=ye("notifier.NotificationService"),[e,o]=c.useState(""),[r,s]=c.useState("info"),[l,f]=c.useState(""),[d,n]=c.useState(!1),h=()=>{const a={title:e,level:r,message:l,displayDuration:d?5e3:void 0};if(!a.title){t.notify({title:"Title is required",level:"error"});return}t.notify(a)},m=()=>{t.closeAll()};return i.jsxs(i.Fragment,{children:[i.jsx(me,{position:"top-right"}),i.jsx(K,{p:5,children:i.jsxs(N,{spacing:8,children:[i.jsxs(N,{align:"center",children:[i.jsx(V,{as:"h1",children:"Notify Sample"}),i.jsx(J,{children:"Use the form below to emit notifications."})]}),i.jsx(Q,{rounded:"lg",boxShadow:"lg",p:8,children:i.jsxs(N,{spacing:4,children:[i.jsxs(C,{isRequired:!0,children:[i.jsx(w,{children:"Title"}),i.jsx(X,{type:"text",value:e,onChange:a=>o(a.target.value)})]}),i.jsxs(C,{isRequired:!0,children:[i.jsx(w,{children:"Level"}),i.jsxs(Y,{value:r,onChange:a=>{s(a.target.value)},children:[i.jsx("option",{value:"success",children:"Success"}),i.jsx("option",{value:"info",children:"Info"}),i.jsx("option",{value:"warning",children:"Warning"}),i.jsx("option",{value:"error",children:"Error"})]})]}),i.jsxs(C,{children:[i.jsx(w,{children:"Message"}),i.jsx(W,{placeholder:"Enter additional message",value:l,onChange:a=>f(a.target.value)})]}),i.jsx(Z,{isChecked:d,onChange:a=>n(a.target.checked),children:"Hide after 5 seconds"}),i.jsxs(M,{justifyContent:"center",children:[i.jsx(T,{flex:"1",onClick:h,children:"Emit Notification"}),i.jsx(T,{flex:"1",variant:"cancel",onClick:m,children:"Clear notifications"})]})]})})]})})]})}const xe=U({component:ge,appMetadata:pe});customElements.define("notify-app",xe);
+Make sure that your app contains the component.`)};const ne={"notify-app":{name:"notify-app",services:{},ui:{references:[{name:"notifier.NotificationService",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/base-theme":{name:"@open-pioneer/base-theme",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/notifier":{name:"@open-pioneer/notifier",services:{NotificationServiceImpl:{name:"NotificationServiceImpl",clazz:oe,provides:[{name:"notifier.NotificationService",qualifier:void 0}],references:{}}},ui:{references:[{name:"notifier.NotificationService",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}}},se="",ae=[];function le(t){throw new Error(`Unsupported locale: '${t}'`)}const ce=P(se),pe=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:le,locales:ae,packages:ne,styles:ce},Symbol.toStringTag,{value:"Module"}));function I(t){const e=c.useRef(null);return c.useLayoutEffect(()=>{e.current=t}),c.useCallback((...r)=>{const s=e.current;return s(...r)},[])}const fe="@open-pioneer/notifier",de=H.bind(void 0,fe);var ue=ee({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});const he=!1;function me(t){const{position:e="top-right"}=t,o=O(),r=de("notifier.NotificationService"),[s,l]=c.useState(!he),f=I(n=>{const h=n.level==="error"?i.jsx(ue,{h:"100%",w:"100%"}):void 0;o({position:e,title:n.title,description:n.message||null,status:n.level,isClosable:!0,duration:n.displayDuration??null,icon:h})}),d=I(()=>{o.closeAll()});return c.useEffect(()=>{const n=r.registerHandler({showNotification:f,closeAll:d});return()=>n.destroy()},[s,r,f,d]),i.jsx(i.Fragment,{})}const ve="notify-app",ye=H.bind(void 0,ve);function ge(){const t=ye("notifier.NotificationService"),[e,o]=c.useState(""),[r,s]=c.useState("info"),[l,f]=c.useState(""),[d,n]=c.useState(!1),h=()=>{const a={title:e,level:r,message:l,displayDuration:d?5e3:void 0};if(!a.title){t.notify({title:"Title is required",level:"error"});return}t.notify(a)},m=()=>{t.closeAll()};return i.jsxs(i.Fragment,{children:[i.jsx(me,{position:"top-right"}),i.jsx(K,{p:5,children:i.jsxs(N,{spacing:8,children:[i.jsxs(N,{align:"center",children:[i.jsx(V,{as:"h1",children:"Notify Sample"}),i.jsx(J,{children:"Use the form below to emit notifications."})]}),i.jsx(Q,{rounded:"lg",boxShadow:"lg",p:8,children:i.jsxs(N,{spacing:4,children:[i.jsxs(C,{isRequired:!0,children:[i.jsx(w,{children:"Title"}),i.jsx(X,{type:"text",value:e,onChange:a=>o(a.target.value)})]}),i.jsxs(C,{isRequired:!0,children:[i.jsx(w,{children:"Level"}),i.jsxs(Y,{value:r,onChange:a=>{s(a.target.value)},children:[i.jsx("option",{value:"success",children:"Success"}),i.jsx("option",{value:"info",children:"Info"}),i.jsx("option",{value:"warning",children:"Warning"}),i.jsx("option",{value:"error",children:"Error"})]})]}),i.jsxs(C,{children:[i.jsx(w,{children:"Message"}),i.jsx(W,{placeholder:"Enter additional message",value:l,onChange:a=>f(a.target.value)})]}),i.jsx(Z,{isChecked:d,onChange:a=>n(a.target.checked),children:"Hide after 5 seconds"}),i.jsxs(M,{justifyContent:"center",children:[i.jsx(T,{flex:"1",onClick:h,children:"Emit Notification"}),i.jsx(T,{flex:"1",variant:"cancel",onClick:m,children:"Clear notifications"})]})]})})]})})]})}const xe=U({component:ge,appMetadata:pe});customElements.define("notify-app",xe);
diff --git a/core-packages/docs/classes/_open_pioneer_core.Error.html b/core-packages/docs/classes/_open_pioneer_core.Error.html
index 54c9cdb11..89f0f6eb3 100644
--- a/core-packages/docs/classes/_open_pioneer_core.Error.html
+++ b/core-packages/docs/classes/_open_pioneer_core.Error.html
@@ -4,9 +4,9 @@
Unique error id
-