ode-explorer 2.4.4-develop-pedago.202512171126 → 2.4.4-develop-pedago.202512181041
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1415,7 +1415,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1415
1415
|
${Object.keys(rt).map(at=>`--${tt}-${at}: ${rt[at]};`).join(`
|
|
1416
1416
|
`)}
|
|
1417
1417
|
}
|
|
1418
|
-
`.trim()}function registerTheme(tt,et){const rt=getStyle(tt,et);canUseDom()&&updateCSS(rt,`${dynamicStyleMark}-dynamic-theme`)}const DisabledContext=reactExports.createContext(!1),DisabledContextProvider=({children:tt,disabled:et})=>{const rt=reactExports.useContext(DisabledContext);return reactExports.createElement(DisabledContext.Provider,{value:et??rt},tt)},SizeContext=reactExports.createContext(void 0),SizeContextProvider=({children:tt,size:et})=>{const rt=reactExports.useContext(SizeContext);return reactExports.createElement(SizeContext.Provider,{value:et||rt},tt)};function useConfig(){const tt=reactExports.useContext(DisabledContext),et=reactExports.useContext(SizeContext);return{componentDisabled:tt,componentSize:et}}function useEvent(tt){var et=reactExports.useRef();et.current=tt;var rt=reactExports.useCallback(function(){for(var nt,st=arguments.length,ot=new Array(st),at=0;at<st;at++)ot[at]=arguments[at];return(nt=et.current)===null||nt===void 0?void 0:nt.call.apply(nt,[et].concat(ot))},[]);return rt}function useSafeState(tt){var et=reactExports.useRef(!1),rt=reactExports.useState(tt),nt=_slicedToArray(rt,2),st=nt[0],ot=nt[1];reactExports.useEffect(function(){return et.current=!1,function(){et.current=!0}},[]);function at(lt,ct){ct&&et.current||ot(lt)}return[st,at]}var BEAT_LIMIT=1e3*60*10,ArrayKeyMap=function(){function tt(){_classCallCheck(this,tt),_defineProperty(this,"map",new Map),_defineProperty(this,"objectIDMap",new WeakMap),_defineProperty(this,"nextID",0),_defineProperty(this,"lastAccessBeat",new Map),_defineProperty(this,"accessBeat",0)}return _createClass(tt,[{key:"set",value:function(rt,nt){this.clear();var st=this.getCompositeKey(rt);this.map.set(st,nt),this.lastAccessBeat.set(st,Date.now())}},{key:"get",value:function(rt){var nt=this.getCompositeKey(rt),st=this.map.get(nt);return this.lastAccessBeat.set(nt,Date.now()),this.accessBeat+=1,st}},{key:"getCompositeKey",value:function(rt){var nt=this,st=rt.map(function(ot){return ot&&_typeof(ot)==="object"?"obj_".concat(nt.getObjectID(ot)):"".concat(_typeof(ot),"_").concat(ot)});return st.join("|")}},{key:"getObjectID",value:function(rt){if(this.objectIDMap.has(rt))return this.objectIDMap.get(rt);var nt=this.nextID;return this.objectIDMap.set(rt,nt),this.nextID+=1,nt}},{key:"clear",value:function(){var rt=this;if(this.accessBeat>1e4){var nt=Date.now();this.lastAccessBeat.forEach(function(st,ot){nt-st>BEAT_LIMIT&&(rt.map.delete(ot),rt.lastAccessBeat.delete(ot))}),this.accessBeat=0}}}]),tt}();new ArrayKeyMap;const version="5.29.
|
|
1418
|
+
`.trim()}function registerTheme(tt,et){const rt=getStyle(tt,et);canUseDom()&&updateCSS(rt,`${dynamicStyleMark}-dynamic-theme`)}const DisabledContext=reactExports.createContext(!1),DisabledContextProvider=({children:tt,disabled:et})=>{const rt=reactExports.useContext(DisabledContext);return reactExports.createElement(DisabledContext.Provider,{value:et??rt},tt)},SizeContext=reactExports.createContext(void 0),SizeContextProvider=({children:tt,size:et})=>{const rt=reactExports.useContext(SizeContext);return reactExports.createElement(SizeContext.Provider,{value:et||rt},tt)};function useConfig(){const tt=reactExports.useContext(DisabledContext),et=reactExports.useContext(SizeContext);return{componentDisabled:tt,componentSize:et}}function useEvent(tt){var et=reactExports.useRef();et.current=tt;var rt=reactExports.useCallback(function(){for(var nt,st=arguments.length,ot=new Array(st),at=0;at<st;at++)ot[at]=arguments[at];return(nt=et.current)===null||nt===void 0?void 0:nt.call.apply(nt,[et].concat(ot))},[]);return rt}function useSafeState(tt){var et=reactExports.useRef(!1),rt=reactExports.useState(tt),nt=_slicedToArray(rt,2),st=nt[0],ot=nt[1];reactExports.useEffect(function(){return et.current=!1,function(){et.current=!0}},[]);function at(lt,ct){ct&&et.current||ot(lt)}return[st,at]}var BEAT_LIMIT=1e3*60*10,ArrayKeyMap=function(){function tt(){_classCallCheck(this,tt),_defineProperty(this,"map",new Map),_defineProperty(this,"objectIDMap",new WeakMap),_defineProperty(this,"nextID",0),_defineProperty(this,"lastAccessBeat",new Map),_defineProperty(this,"accessBeat",0)}return _createClass(tt,[{key:"set",value:function(rt,nt){this.clear();var st=this.getCompositeKey(rt);this.map.set(st,nt),this.lastAccessBeat.set(st,Date.now())}},{key:"get",value:function(rt){var nt=this.getCompositeKey(rt),st=this.map.get(nt);return this.lastAccessBeat.set(nt,Date.now()),this.accessBeat+=1,st}},{key:"getCompositeKey",value:function(rt){var nt=this,st=rt.map(function(ot){return ot&&_typeof(ot)==="object"?"obj_".concat(nt.getObjectID(ot)):"".concat(_typeof(ot),"_").concat(ot)});return st.join("|")}},{key:"getObjectID",value:function(rt){if(this.objectIDMap.has(rt))return this.objectIDMap.get(rt);var nt=this.nextID;return this.objectIDMap.set(rt,nt),this.nextID+=1,nt}},{key:"clear",value:function(){var rt=this;if(this.accessBeat>1e4){var nt=Date.now();this.lastAccessBeat.forEach(function(st,ot){nt-st>BEAT_LIMIT&&(rt.map.delete(ot),rt.lastAccessBeat.delete(ot))}),this.accessBeat=0}}}]),tt}();new ArrayKeyMap;const version="5.29.3";function isStableColor(tt){return tt>=0&&tt<=255}function getAlphaColor(tt,et){const{r:rt,g:nt,b:st,a:ot}=new FastColor(tt).toRgb();if(ot<1)return tt;const{r:at,g:lt,b:ct}=new FastColor(et).toRgb();for(let ut=.01;ut<=1;ut+=.01){const dt=Math.round((rt-at*(1-ut))/ut),ht=Math.round((nt-lt*(1-ut))/ut),ft=Math.round((st-ct*(1-ut))/ut);if(isStableColor(dt)&&isStableColor(ht)&&isStableColor(ft))return new FastColor({r:dt,g:ht,b:ft,a:Math.round(ut*100)/100}).toRgbString()}return new FastColor({r:rt,g:nt,b:st,a:1}).toRgbString()}var __rest$2=function(tt,et){var rt={};for(var nt in tt)Object.prototype.hasOwnProperty.call(tt,nt)&&et.indexOf(nt)<0&&(rt[nt]=tt[nt]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,nt=Object.getOwnPropertySymbols(tt);st<nt.length;st++)et.indexOf(nt[st])<0&&Object.prototype.propertyIsEnumerable.call(tt,nt[st])&&(rt[nt[st]]=tt[nt[st]]);return rt};function formatToken(tt){const{override:et}=tt,rt=__rest$2(tt,["override"]),nt=Object.assign({},et);Object.keys(seedToken).forEach(ft=>{delete nt[ft]});const st=Object.assign(Object.assign({},rt),nt),ot=480,at=576,lt=768,ct=992,ut=1200,dt=1600;if(st.motion===!1){const ft="0s";st.motionDurationFast=ft,st.motionDurationMid=ft,st.motionDurationSlow=ft}return Object.assign(Object.assign(Object.assign({},st),{colorFillContent:st.colorFillSecondary,colorFillContentHover:st.colorFill,colorFillAlter:st.colorFillQuaternary,colorBgContainerDisabled:st.colorFillTertiary,colorBorderBg:st.colorBgContainer,colorSplit:getAlphaColor(st.colorBorderSecondary,st.colorBgContainer),colorTextPlaceholder:st.colorTextQuaternary,colorTextDisabled:st.colorTextQuaternary,colorTextHeading:st.colorText,colorTextLabel:st.colorTextSecondary,colorTextDescription:st.colorTextTertiary,colorTextLightSolid:st.colorWhite,colorHighlight:st.colorError,colorBgTextHover:st.colorFillSecondary,colorBgTextActive:st.colorFill,colorIcon:st.colorTextTertiary,colorIconHover:st.colorText,colorErrorOutline:getAlphaColor(st.colorErrorBg,st.colorBgContainer),colorWarningOutline:getAlphaColor(st.colorWarningBg,st.colorBgContainer),fontSizeIcon:st.fontSizeSM,lineWidthFocus:st.lineWidth*3,lineWidth:st.lineWidth,controlOutlineWidth:st.lineWidth*2,controlInteractiveSize:st.controlHeight/2,controlItemBgHover:st.colorFillTertiary,controlItemBgActive:st.colorPrimaryBg,controlItemBgActiveHover:st.colorPrimaryBgHover,controlItemBgActiveDisabled:st.colorFill,controlTmpOutline:st.colorFillQuaternary,controlOutline:getAlphaColor(st.colorPrimaryBg,st.colorBgContainer),lineType:st.lineType,borderRadius:st.borderRadius,borderRadiusXS:st.borderRadiusXS,borderRadiusSM:st.borderRadiusSM,borderRadiusLG:st.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:st.sizeXXS,paddingXS:st.sizeXS,paddingSM:st.sizeSM,padding:st.size,paddingMD:st.sizeMD,paddingLG:st.sizeLG,paddingXL:st.sizeXL,paddingContentHorizontalLG:st.sizeLG,paddingContentVerticalLG:st.sizeMS,paddingContentHorizontal:st.sizeMS,paddingContentVertical:st.sizeSM,paddingContentHorizontalSM:st.size,paddingContentVerticalSM:st.sizeXS,marginXXS:st.sizeXXS,marginXS:st.sizeXS,marginSM:st.sizeSM,margin:st.size,marginMD:st.sizeMD,marginLG:st.sizeLG,marginXL:st.sizeXL,marginXXL:st.sizeXXL,boxShadow:`
|
|
1419
1419
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
1420
1420
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
1421
1421
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|