@mrreality255/turbo-react 0.0.4

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/README.md ADDED
@@ -0,0 +1 @@
1
+ # TurboReact
package/dist/index.css ADDED
@@ -0,0 +1 @@
1
+ button{cursor:pointer}button:disabled{color:#bbb!important;cursor:not-allowed;pointer-events:none}button._text_1pooi_25:before{content:"[ "}button._text_1pooi_25:after{content:" ]"}button._fill_1pooi_41{width:100%;height:100%}button._btn_1pooi_55{font-weight:700;color:#333;background-color:#090;font-family:monospace;padding:.2em 1em;margin:0 .5em .5em 0;border-style:none;box-shadow:.5em .65em 3px #00000080}button._default_1pooi_77._btn_1pooi_55{color:#0ff}button._btn_1pooi_55:focus{color:#fff}button._btn_1pooi_55:hover:not(:disabled){color:#fff;transform:translate3d(.05em,.05em,.9em);box-shadow:.4em .4em 3px #00000080}button._btn_1pooi_55:active:not(:disabled){transform:translate3d(.25em,.25em,10em);box-shadow:0 0 #00000080;background:#32cd32}button._btn_1pooi_55:focus{outline:red}button._plain_1pooi_127{font-weight:bolder;margin:0;display:inline-block;padding:4px 10px;font-family:monospace;font-size:.9em;text-align:center;text-decoration:none;transition:background-color .2s,color .2s,box-shadow .2s;color:#000;background-color:#777;border:0px solid #666;box-shadow:0 0 4px #666}button._plain_1pooi_127:hover{background-color:#bbb;color:#000;box-shadow:0 0 6px #ddd}button._plain_1pooi_127:active{transform:translate(1px,1px) scale(.98)}button._link_1pooi_189{background-color:inherit;color:#0f0;font-family:monospace;border:none;margin:0;padding:0}button._link_1pooi_189:hover{color:#ff0}button._link_1pooi_189:active{color:#ff0;transform:scale(.95)}._plain_1pooi_127._default_1pooi_77{color:#fff}._plain_1pooi_127._green_1pooi_237{color:#0f0;background-color:#030;border:1px solid #00ff00;box-shadow:0 0 4px #0f0}._plain_1pooi_127._green_1pooi_237:hover{background-color:#050;color:#0f8;box-shadow:0 0 6px #0f8}._plain_1pooi_127._green_1pooi_237._default_1pooi_77{color:#ff0}._plain_1pooi_127._blue_1pooi_273{color:#000;background-color:#099;border:1px solid #099}._plain_1pooi_127._blue_1pooi_273:hover{background-color:#099;color:#0ff;box-shadow:0 0 6px #0f8}._plain_1pooi_127._blue_1pooi_273._default_1pooi_77{color:#aff}._link_1pooi_189._blue_1pooi_273:hover:not(:disabled){background-color:#090;color:#ff0}._plain_1pooi_127._cyan_1pooi_321{color:#000;background-color:#099;border:1px solid #099}._plain_1pooi_127._cyan_1pooi_321:hover{background-color:#055;color:#0fa;box-shadow:0 0 6px #0f8}._plain_1pooi_127._cyan_1pooi_321._default_1pooi_77{color:#0ff}._link_1pooi_189._cyan_1pooi_321{color:#fff}._link_1pooi_189._cyan_1pooi_321:hover:not(:disabled){background-color:#000;color:#ff7}._plain_1pooi_127._dark_1pooi_373{color:#ff0}._plain_1pooi_127._dark_1pooi_373._default_1pooi_77{color:#fff}._link_1pooi_189._dark_1pooi_373{color:#bb0}._link_1pooi_189._dark_1pooi_373:hover:not(:disabled){background-color:#bb0;color:#000}button._btn_1pooi_55._grey_1pooi_409{background-color:#ddd}button._btn_1pooi_55._grey_1pooi_409:active:not(:disabled){background-color:#ddd}._link_1pooi_189._grey_1pooi_409{color:#222}._link_1pooi_189._grey_1pooi_409:hover:not(:disabled){background-color:#090;color:#000}._link_1pooi_189._dialog_1pooi_443{color:#ff0}._link_1pooi_189._dialog_1pooi_443:hover:not(:disabled){background-color:#090;color:#fff}button._btn_1pooi_55._red_1pooi_463{background-color:red;color:#ff0}button._btn_1pooi_55._red_1pooi_463:active:not(:disabled){background:red}._link_1pooi_189._red_1pooi_463{color:#fff}._link_1pooi_189._red_1pooi_463:hover:not(:disabled){background-color:red;color:#ff0}._plain_1pooi_127._red_1pooi_463{color:#ff0;background-color:#900;border:1px solid #900;box-shadow:0 0 4px red}._plain_1pooi_127._red_1pooi_463:hover{background-color:#500;color:#ff0;box-shadow:0 0 6px red}._plain_1pooi_127._default_1pooi_77._red_1pooi_463{color:#fff}button._btn_1pooi_55._mono_1pooi_533{background-color:#ddd}button._btn_1pooi_55._mono_1pooi_533:active:not(:disabled){background-color:#ddd}._link_1pooi_189._mono_1pooi_533{color:#999}._link_1pooi_189._mono_1pooi_533:hover:not(:disabled){background-color:#999;color:#000}button._btn_1pooi_55._dark_1pooi_373{background-color:#aa0;color:#000}button._btn_1pooi_55._dark_1pooi_373:active:not(:disabled){background-color:#bb0}label._cb_1824p_1{cursor:pointer}input._cb_1824p_1:before{content:"[ ]"}input._cb_1824p_1:checked:before{content:"[x]"}input._cb_1824p_1{cursor:pointer;font-family:monospace;color:inherit;appearance:none;-webkit-appearance:none;-moz-appearance:none}input._cb_1824p_1:disabled{color:#999!important}label._cb_1824p_1._disabled_1824p_51{color:#999!important}input._cb_1824p_1+label._cb_1824p_1:hover{color:#fff}input._cb_1824p_1:hover{color:#fff}input._cb_1824p_1._mono_1824p_75:disabled{color:#444!important}label._cb_1824p_1._mono_1824p_75._disabled_1824p_51{color:#444!important}input._cb_1824p_1._dialog_1824p_91:disabled{color:#999}label._cb_1824p_1._dialog_1824p_91._disabled_1824p_51{color:#999}input._cb_1824p_1._green_1824p_107+label._cb_1824p_1:hover{color:#ff0}input._cb_1824p_1._green_1824p_107:hover{color:#ff0}input._cb_1824p_1._dialog_1824p_91+label._cb_1824p_1:hover{color:#ff0}input._cb_1824p_1._dialog_1824p_91:hover{color:#ff0}label._cb_1824p_1._dialog_1824p_91,input._cb_1824p_1._dialog_1824p_91{color:#fff}input._tb_16rjd_1{flex-grow:1;margin:.5em 0;padding:0;border-style:solid;border-width:0;font-family:monospace;text-decoration:none;outline:none;background-color:inherit;color:inherit}input._tb_16rjd_1:disabled{color:#999}input._tb_16rjd_1[type=number]::-webkit-inner-spin-button,input._tb_16rjd_1[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}div._tb_16rjd_1{background-color:#000;color:#ff0;width:100%;display:flex}div._tb_16rjd_1:focus-within{background-color:#222}div._tb_16rjd_1>div._prefix_16rjd_73{min-width:1em;padding-top:.5em;padding-left:.5em}div._tb_16rjd_1>div._prefix_16rjd_73._empty_16rjd_85{min-width:.25em}div._tb_16rjd_1._dialog_16rjd_97{background-color:#006;color:#fff}div._tb_16rjd_1._dialog_16rjd_97:focus-within{background-color:#008}div._tb_16rjd_1._blue_16rjd_115{background-color:#000}div._tb_16rjd_1._blue_16rjd_115:focus-within{background-color:#222}div._tb_16rjd_1._grey_16rjd_131{color:#fff}div._tb_16rjd_1._mono_16rjd_139{background-color:#333;color:#fff}div._tb_16rjd_1._red_16rjd_149{background-color:#600;color:#ff0}div._tb_16rjd_1._red_16rjd_149:focus-within{background-color:#000;color:#ff0}div._tb_16rjd_1._green_16rjd_169{background-color:#020}div._tb_16rjd_1._green_16rjd_169:focus-within{background-color:#000}html{overscroll-behavior-x:none}div._glass_zhks7_9{position:fixed;inset:0;z-index:2}div._glass_zhks7_9._backdrop_zhks7_27{background-color:#000;opacity:.4;z-index:1}div._clickable_1kzi9_3{cursor:pointer}div._fullSize_1kzi9_11{width:100%;height:100%}div._main_1kzi9_21{position:relative}div._shadow_1kzi9_29{box-shadow:.5em .5em #000000bf}div._frameStd_1kzi9_37{border-style:double;border-width:3px;position:relative}div._frameStd_1kzi9_37._single_1kzi9_49{border-style:solid;border-width:2px}div._frameStd_1kzi9_37._borderless_1kzi9_59{border-style:hidden;border-width:2px}div._contentWithTitle_1kzi9_69{margin-top:.75em}div._close_1kzi9_77{position:absolute}div._titleWrapper_1kzi9_85{background-color:unset;text-align:center;width:calc(100% - 8em);position:absolute;left:4em;top:-.5em}div._title_1kzi9_85{display:inline-block;width:auto;background-color:inherit;padding:0 .5em}div._close_1kzi9_77 button._btn_1kzi9_117{background-color:inherit;color:inherit;margin:0;padding:0;border-style:none;cursor:pointer;transition:transform .1s ease;transform:scale(1.25);outline:none}div._close_1kzi9_77 button._btn_1kzi9_117:active{transform:scale(1)}div._contentInsideWrapper_1kzi9_149{width:100%;height:100%;overflow:auto}div._outerBox_1kzi9_163{width:100%;height:100%;position:relative}div._outerBox_1kzi9_163._shadow_1kzi9_29{width:calc(100% - .5em);height:calc(100% - .5em);position:relative}div._outerBox_1kzi9_163>div>div>div._frameStd_1kzi9_37{position:absolute;inset:6px}div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div>div._title_1kzi9_85{top:-.555em;left:3em}div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203._padding_1kzi9_213{top:1em;left:1em;height:calc(100% - 2em);width:calc(100% - 2em);position:relative}div._outerBox_1kzi9_163 div._content_1kzi9_69{height:calc(100% - 1em);overflow:auto;position:relative}div._outerBox_1kzi9_163 div._content_1kzi9_69{height:100%;overflow:auto}div._outerBox_1kzi9_163 div._content_1kzi9_69._contentPadding_1kzi9_251{height:calc(100% - 1em);margin-right:.5em}div._outerBox_1kzi9_163 div._content_1kzi9_69._contentPaddingSpace_1kzi9_261{height:calc(100% - 3em)}div._outerBox_1kzi9_163 div._contentWithTitle_1kzi9_69{height:calc(100% - .75em)}div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77{top:-.75em;left:.5em}div._outerMargin_1kzi9_291{padding:6px}div._autoSize_1kzi9_299._space_1kzi9_299{margin-bottom:.5em}div._autoSize_1kzi9_299 div._shadow_1kzi9_29{width:calc(100% - .5em)}div._autoSize_1kzi9_299 div._padding_1kzi9_213{padding:1em;position:relative}div._autoSize_1kzi9_299 div._close_1kzi9_77{top:-.75em;left:1.25em}div._autoSize_1kzi9_299 div._padding_1kzi9_213 div._close_1kzi9_77{left:2em;top:.5em}div._autoSize_1kzi9_299 div._title_1kzi9_85{top:0;left:3.5em}div._autoSize_1kzi9_299 div._padding_1kzi9_213 div._title_1kzi9_85{top:.5em;left:4.5em}div._contentPadding_1kzi9_251{margin:.5em 1em .5em .5em}div._contentWithTitle_1kzi9_69._contentPadding_1kzi9_251{margin-top:.75em}div._contentPaddingSpace_1kzi9_261{margin:1.5em}div._main_1kzi9_21._blue_1kzi9_405>div._frameBck_1kzi9_405,div._main_1kzi9_21._blue_1kzi9_405>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div>div._title_1kzi9_85,div._main_1kzi9_21._blue_1kzi9_405>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._blue_1kzi9_405>div._outerBox_1kzi9_163>div._frameBck_1kzi9_405,div._main_1kzi9_21._blue_1kzi9_405>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._blue_1kzi9_405>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div>div._title_1kzi9_85{background-color:#006;color:#fff}div._main_1kzi9_21._cyan_1kzi9_459>div._frameBck_1kzi9_405,div._main_1kzi9_21._cyan_1kzi9_459>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div>div._title_1kzi9_85,div._main_1kzi9_21._cyan_1kzi9_459>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._cyan_1kzi9_459>div._outerBox_1kzi9_163>div._frameBck_1kzi9_405,div._main_1kzi9_21._cyan_1kzi9_459>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._cyan_1kzi9_459>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div>div._title_1kzi9_85{background-color:#066;color:#fff}div._main_1kzi9_21._dark_1kzi9_513>div._frameBck_1kzi9_405,div._main_1kzi9_21._dark_1kzi9_513>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div>div._title_1kzi9_85,div._main_1kzi9_21._dark_1kzi9_513>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._dark_1kzi9_513>div._outerBox_1kzi9_163>div._frameBck_1kzi9_405,div._main_1kzi9_21._dark_1kzi9_513>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._dark_1kzi9_513>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div>div._title_1kzi9_85{background-color:#222;color:#ff0}div._main_1kzi9_21._green_1kzi9_567>div._frameBck_1kzi9_405,div._main_1kzi9_21._green_1kzi9_567>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div>div._title_1kzi9_85,div._main_1kzi9_21._green_1kzi9_567>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._green_1kzi9_567>div._outerBox_1kzi9_163>div._frameBck_1kzi9_405,div._main_1kzi9_21._green_1kzi9_567>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._green_1kzi9_567>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div>div._title_1kzi9_85{background-color:#030;color:#0f0}div._main_1kzi9_21._grey_1kzi9_631>div._frameBck_1kzi9_405,div._main_1kzi9_21._grey_1kzi9_631>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div>div._title_1kzi9_85,div._main_1kzi9_21._grey_1kzi9_631>div._outerBox_1kzi9_163>div._frameBck_1kzi9_405,div._main_1kzi9_21._grey_1kzi9_631>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._grey_1kzi9_631>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div>div._title_1kzi9_85{background-color:#999;color:#000}div._main_1kzi9_21._grey_1kzi9_631>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div._close_1kzi9_77{background-color:#999;color:#000}div._main_1kzi9_21._grey_1kzi9_631>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div._close_1kzi9_77>button{color:#090}div._main_1kzi9_21._dialog_1kzi9_723>div._frameBck_1kzi9_405,div._main_1kzi9_21._dialog_1kzi9_723>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div>div._title_1kzi9_85,div._main_1kzi9_21._dialog_1kzi9_723>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._dialog_1kzi9_723>div._outerBox_1kzi9_163>div._frameBck_1kzi9_405,div._main_1kzi9_21._dialog_1kzi9_723>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._dialog_1kzi9_723>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div>div._title_1kzi9_85{background-color:#666;color:#fff}div._main_1kzi9_21._dialog_1kzi9_723>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77>button{color:#0f0}div._main_1kzi9_21._mono_1kzi9_807>div._frameBck_1kzi9_405,div._main_1kzi9_21._mono_1kzi9_807>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div>div._title_1kzi9_85,div._main_1kzi9_21._mono_1kzi9_807>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._mono_1kzi9_807>div._outerBox_1kzi9_163>div._frameBck_1kzi9_405,div._main_1kzi9_21._mono_1kzi9_807>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._mono_1kzi9_807>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div>div._title_1kzi9_85{background-color:#000;color:#999}div._main_1kzi9_21._red_1kzi9_861>div._frameBck_1kzi9_405,div._main_1kzi9_21._red_1kzi9_861>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div>div._title_1kzi9_85,div._main_1kzi9_21._red_1kzi9_861>div._frameBck_1kzi9_405>div._outerMargin_1kzi9_291>div>div._frameStd_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._red_1kzi9_861>div._outerBox_1kzi9_163>div._frameBck_1kzi9_405,div._main_1kzi9_21._red_1kzi9_861>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div._close_1kzi9_77,div._main_1kzi9_21._red_1kzi9_861>div._outerBox_1kzi9_163>div._fullSize_1kzi9_11>div._wrapper_1kzi9_203>div._frame_1kzi9_37>div>div._title_1kzi9_85{background-color:#900;color:#ff0}div._main_1kzi9_21._blue_1kzi9_405 div._content_1kzi9_69,div._main_1kzi9_21._cyan_1kzi9_459 div._content_1kzi9_69{color:#ff0}div._main_1kzi9_21._blue_1kzi9_405 button._btn_1kzi9_117{color:#0f0}div._menu_1jpcc_1 ul{margin:0;padding:0;list-style:none}div._menu_1jpcc_1 ul li{padding:.5em;transition:background-color .75s ease,color .3s ease}div._menu_1jpcc_1 ul li a{text-decoration:none;color:inherit;display:block;width:100%;outline:none}div._menu_1jpcc_1 ul li:hover,div._menu_1jpcc_1 ul li._selected_1jpcc_51{background-color:#090}div._menu_1jpcc_1 ul li._disabled_1jpcc_59{color:#999!important;pointer-events:none}li._separator_1jpcc_69{border-style:solid;border-width:0 0 2px 0}li a span._secondary_1jpcc_79{float:right}li a span._prefix_1jpcc_87{width:1em;display:inline-block}div._menu_1jpcc_1._cyan_1jpcc_101 ul li:hover,div._menu_1jpcc_1._cyan_1jpcc_101 ul li._selected_1jpcc_51{background-color:#000;color:#ff0}div._menu_1jpcc_1._grey_1jpcc_121 ul li._disabled_1jpcc_59{color:#333!important;pointer-events:none}div._menu_1jpcc_1._mono_1jpcc_131 ul li._disabled_1jpcc_59{color:#444;pointer-events:none}div._menu_1jpcc_1._dark_1jpcc_141 ul li:hover,div._menu_1jpcc_1._dark_1jpcc_141 ul li._selected_1jpcc_51{background-color:#cc0;color:#000}div._menu_1jpcc_1._green_1jpcc_161 ul li:hover,div._menu_1jpcc_1._green_1jpcc_161 ul li._selected_1jpcc_51{background-color:#0d0;color:#000}div._menu_1jpcc_1._mono_1jpcc_131 ul li:hover,div._menu_1jpcc_1._mono_1jpcc_131 ul li._selected_1jpcc_51{background-color:#999;color:#000}div._menu_1jpcc_1._red_1jpcc_201 ul li:hover{background-color:#dd0;color:#000}div._menu_1jpcc_1._red_1jpcc_201 ul li._selected_1jpcc_51{background-color:#ff0;color:#600}div._menu_1jpcc_1._blue_1jpcc_221 ul li._separator_1jpcc_69{border-color:#fff}div._menu_1jpcc_1._dark_1jpcc_141 ul li._separator_1jpcc_69{border-color:#ff0}div._menu_1jpcc_1._green_1jpcc_161 ul li._separator_1jpcc_69{border-color:#0f0}div._menu_1jpcc_1._cyan_1jpcc_101 ul li._separator_1jpcc_69{border-color:#fff}div._menu_1jpcc_1._red_1jpcc_201 ul li._separator_1jpcc_69{color:#dd0}div._gb_1l8j1_1{background-color:#066;overflow:hidden;padding:.25em;position:relative}label._gb_1l8j1_1{color:#fff}label._gb_1l8j1_1._green_1l8j1_23{color:#ff0}label._gb_1l8j1_1._dialog_1l8j1_31{color:#fff}div._gb_1l8j1_1._cyan_1l8j1_39{background-color:#000}div._gb_1l8j1_1._grey_1l8j1_47{background-color:#088}div._gb_1l8j1_1._red_1l8j1_55{background-color:#400}div._gb_1l8j1_1._green_1l8j1_23{background-color:#020}div._gb_1l8j1_1._dark_1l8j1_71{background-color:#000}div._gb_1l8j1_1._mono_1l8j1_79{background-color:#222}h1._heading_1jaeq_1{margin:.5em 0;font-size:1em;width:100%;border-style:solid;border-width:0 0 2px 0px;padding-bottom:.5em;font-weight:400}h1._blue_1jaeq_27._heading_1jaeq_1{color:#0ff}div._editable_1vow5_1{cursor:pointer}div._pb_1vow5_9 div._wrapper_1vow5_9{background-color:#660;width:100%;height:1.5em}div._pb_1vow5_9 div._wrapper_1vow5_9 div{background-color:#ff0;height:1.5em}div._value_1vow5_31{width:100%;text-align:center}div._editSpace_1vow5_41{position:relative;width:100%;height:1em;overflow:hidden}div._cursor_1vow5_55{position:absolute;height:.5em}div._cursor_1vow5_55:before{content:"▲"}div._pb_1vow5_9._dialog_1vow5_77 div._value_1vow5_31,div._pb_1vow5_9._dialog_1vow5_77 div._cursor_1vow5_55{color:#ff0}div._pb_1vow5_9._green_1vow5_93 div._wrapper_1vow5_9{background-color:#060}div._pb_1vow5_9._green_1vow5_93 div._wrapper_1vow5_9 div{background-color:#0f0}div._pb_1vow5_9._grey_1vow5_109 div._value_1vow5_31,div._pb_1vow5_9._grey_1vow5_109 div._cursor_1vow5_55{color:#ff0}div._pb_1vow5_9._mono_1vow5_125 div._wrapper_1vow5_9{background-color:#666}div._pb_1vow5_9._mono_1vow5_125 div._wrapper_1vow5_9 div{background-color:#fff}div._pb_1vow5_9._mono_1vow5_125 div._cursor_1vow5_55,div._pb_1vow5_9._mono_1vow5_125 div._value_1vow5_31{color:#fff}div._nv_vazmc_1{width:100%}div._nv_vazmc_1>._label_vazmc_9{color:#fff}._value_vazmc_17{flex-grow:1}div._nv_vazmc_1>._label_vazmc_9._blue_vazmc_25{color:#0ff}div._nv_vazmc_1>._label_vazmc_9._green_vazmc_33{color:#ff0}div._nv_vazmc_1>._label_vazmc_9._grey_vazmc_41{color:#333}label._rb_khpw4_1{cursor:pointer}input._rb_khpw4_1:before{content:"( )"}input._rb_khpw4_1:checked:before{content:"(•)"}input._rb_khpw4_1{cursor:pointer;font-family:monospace;color:inherit;appearance:none;-webkit-appearance:none;-moz-appearance:none}input._rb_khpw4_1:disabled{color:#999!important}label._rb_khpw4_1._disabled_khpw4_51{color:#999!important}input._rb_khpw4_1+label._rb_khpw4_1:hover{color:#fff}input._rb_khpw4_1:hover{color:#fff}input._rb_khpw4_1._mono_khpw4_75:disabled{color:#444!important}label._rb_khpw4_1._mono_khpw4_75._disabled_khpw4_51{color:#444!important}input._rb_khpw4_1._dialog_khpw4_91:disabled{color:#999}label._rb_khpw4_1._dialog_khpw4_91._disabled_khpw4_51{color:#999}input._rb_khpw4_1._green_khpw4_107+label._rb_khpw4_1:hover{color:#ff0}input._rb_khpw4_1._green_khpw4_107:hover{color:#ff0}input._rb_khpw4_1._dialog_khpw4_91+label._rb_khpw4_1:hover{color:#ff0}input._rb_khpw4_1._dialog_khpw4_91:hover{color:#ff0}label._rb_khpw4_1._dialog_khpw4_91,input._rb_khpw4_1._dialog_khpw4_91{color:#fff}table._tb_12qgu_1{position:absolute;left:0;top:0;width:100%;height:100%;border-collapse:collapse;overflow:auto}tr._hdr_12qgu_21{background-color:#000}table._tb_12qgu_1>thead>tr>th{font-weight:400;color:#fff;padding:3px;position:sticky;top:0;z-index:2;background-color:inherit}._ptr_12qgu_51{cursor:pointer}table._tb_12qgu_1>tbody>tr>td{padding:3px}table._tb_12qgu_1>tbody>tr._alt_12qgu_67>td{background-color:#0003}table._tb_12qgu_1>tbody>tr:hover{background-color:#0006}th>span._icon_12qgu_83{position:absolute;right:0}th>span._iconR_12qgu_93{left:0;right:unset}table._tb_12qgu_1._blue_12qgu_107>thead>tr>th{color:#0ff}table._tb_12qgu_1._red_12qgu_115>thead>tr>th{color:#fff;background-color:#500}table._tb_12qgu_1._green_12qgu_125>thead>tr>th{color:#ff0;background-color:#050}table._tb_12qgu_1._dialog_12qgu_135>thead>tr>th{color:#ff0;background-color:#055}div._field_1sopd_1{display:flex}div._field_1sopd_1>div{flex:1}div._err_1sopd_17{color:red}body{padding:0;margin:0;background-color:#033;font-family:monospace;font-size:14px;color:#fff}
@@ -0,0 +1,593 @@
1
+ import { Context } from 'react';
2
+ import { CSSProperties } from 'react';
3
+ import { default as default_2 } from 'react';
4
+ import { Dispatch } from 'react';
5
+ import { JSX } from 'react/jsx-runtime';
6
+ import { JSXElementConstructor } from 'react';
7
+ import { ReactElement } from 'react';
8
+ import { ReactNode } from 'react';
9
+ import { ReactPortal } from 'react';
10
+ import { RefObject } from 'react';
11
+ import { SetStateAction } from 'react';
12
+
13
+ export declare type CssOption = string | Record<string, boolean>;
14
+
15
+ export declare const CtxPalette: Context<TPalette>;
16
+
17
+ declare function getDataContent(ctx: IDataContext): TDataContent;
18
+
19
+ declare function getInitialState(input: TDataContent | undefined): IDataContext | undefined;
20
+
21
+ export declare interface IDataContext {
22
+ data: Record<string, TDataContextValue>;
23
+ error?: string;
24
+ isValidated: boolean;
25
+ isDisabled: boolean;
26
+ isLoading: boolean;
27
+ isValid: boolean | undefined;
28
+ }
29
+
30
+ declare interface ILayerManager {
31
+ show: (fct: TLayerRenderer) => () => void;
32
+ showRow: (fct: TLayerRenderer) => () => void;
33
+ hide: () => void;
34
+ }
35
+
36
+ export declare const InputUtils: {
37
+ handleChange: (newValue: string, p: TInputProps) => string;
38
+ newDataContext: () => IDataContext;
39
+ newFormContext: (dataContext: IDataContext, updateDataContext: (fct: (prev: IDataContext) => IDataContext) => void) => TFormContext;
40
+ getDataContent: typeof getDataContent;
41
+ getInitialState: typeof getInitialState;
42
+ };
43
+
44
+ export declare const MathUtils: {
45
+ clamp: (n: number, min: number, max: number) => number;
46
+ };
47
+
48
+ export declare const MiscUtils: {
49
+ distint<T>(options: T[]): T[];
50
+ using<T, R = T>(value: T, fct: (value: T) => R): R;
51
+ orUndefined<T, R = T>(x: T | undefined, fct: (x: T) => R, defaultValue?: R | undefined): R | undefined;
52
+ };
53
+
54
+ export declare const StrUtils: {
55
+ classes: (...options: CssOption[]) => string;
56
+ };
57
+
58
+ export declare type TAlignType = "left" | "center" | "right";
59
+
60
+ export declare function TAppContainer(p: TAppContainerProps): JSX.Element;
61
+
62
+ export declare type TAppContainerProps = {
63
+ children?: React.ReactNode;
64
+ };
65
+
66
+ export declare function TAppLayout(p: TAppLayoutProps): JSX.Element;
67
+
68
+ declare type TAppLayoutBlocks = {
69
+ footer?: React.ReactNode;
70
+ header?: React.ReactNode;
71
+ left?: React.ReactNode;
72
+ right?: React.ReactNode;
73
+ };
74
+
75
+ export declare type TAppLayoutProps = TAppLayoutBlocks & {
76
+ children?: React.ReactNode;
77
+ palette?: TPalette;
78
+ sizeUnit?: string;
79
+ sizes?: TAppLayoutSizeBlock;
80
+ mobile?: TAppLayoutBlocks & {
81
+ sizes?: TAppLayoutSizeBlock;
82
+ };
83
+ };
84
+
85
+ declare type TAppLayoutSizeBlock = {
86
+ footer?: number;
87
+ header?: number;
88
+ left?: number;
89
+ right?: number;
90
+ leftSpace?: number;
91
+ rightSpace?: number;
92
+ };
93
+
94
+ export declare function TButton(p: TButtonProps): JSX.Element;
95
+
96
+ export declare type TButtonProps = TControlProps & {
97
+ children?: React.ReactNode;
98
+ default?: boolean;
99
+ fill?: boolean;
100
+ variant?: TButtonVariant;
101
+ width?: string | number;
102
+ w0?: boolean;
103
+ w1?: boolean;
104
+ onClick?: () => void;
105
+ };
106
+
107
+ export declare type TButtonVariant = "standard" | "plain" | "link" | "text";
108
+
109
+ export declare function TCheckbox(p: TCheckBoxProps): JSX.Element;
110
+
111
+ export declare type TCheckBoxProps = TInputProps & {
112
+ caption?: string;
113
+ };
114
+
115
+ export declare type TClosingEffect = "resize" | "opacity";
116
+
117
+ export declare type TClosingEffectProps = {
118
+ animationDuration?: number;
119
+ effect?: TClosingEffect;
120
+ emptyMode?: boolean;
121
+ onClose?: () => void;
122
+ onRender: (closeFct: () => void, props: CSSProperties) => React.ReactNode;
123
+ };
124
+
125
+ export declare function TClosingEffectProvider(p: TClosingEffectProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | JSX.Element | null | undefined;
126
+
127
+ export declare function TColLayout(p: TColLayoutProps): JSX.Element;
128
+
129
+ export declare type TColLayoutProps = {
130
+ cols: number;
131
+ gap?: number | string;
132
+ lineHeight?: string | number;
133
+ minWidth?: string | number;
134
+ children?: React.ReactNode;
135
+ };
136
+
137
+ export declare type TControlProps = TPaletteProps & {
138
+ disabled?: boolean;
139
+ };
140
+
141
+ export declare type TDataContent = {
142
+ [key: string]: TDataContentItem;
143
+ };
144
+
145
+ export declare type TDataContentItem = string | TDataContent | TDataContent[];
146
+
147
+ export declare type TDataContextValue = TFormValue;
148
+
149
+ export declare type TDialogContext<T> = {
150
+ frm: TFormContext;
151
+ close: () => void;
152
+ submit: (result: TDialogSubmitFctResult<T>) => void;
153
+ };
154
+
155
+ export declare type TDialogModalResult = "ok";
156
+
157
+ export declare type TDialogProps = TPaletteProps & {
158
+ header?: React.ReactNode;
159
+ footer?: React.ReactNode;
160
+ content: React.ReactNode;
161
+ items?: TFormFieldProps[];
162
+ caption?: string;
163
+ pos: TViewportProps;
164
+ windowProps?: TWindowProps;
165
+ onBeforeClose?: (modalResult: TDialogModalResult | null) => void;
166
+ };
167
+
168
+ export declare type TDialogResult<T> = {
169
+ result: TDialogModalResult;
170
+ frm: IDataContext;
171
+ data?: T;
172
+ };
173
+
174
+ export declare type TDialogSubmitFctResult<T> = TDialogSubmitResult<T> | Promise<TDialogSubmitResult<T>>;
175
+
176
+ export declare type TDialogSubmitResult<T> = {
177
+ result?: TDialogModalResult;
178
+ data?: T;
179
+ error?: string;
180
+ };
181
+
182
+ export declare type TDialogWrapperProps<T> = {
183
+ fct: (ctx: TDialogContext<T>) => TDialogProps;
184
+ initialState: IDataContext | undefined;
185
+ style?: CSSProperties;
186
+ onCancel: () => void;
187
+ onSubmit: (result: TDialogModalResult, data: T | undefined, frm: TFormContext) => void;
188
+ };
189
+
190
+ export declare function TDropDown(p: TDropDownProps): JSX.Element;
191
+
192
+ export declare type TDropDownProps = Omit<TTextBoxProps, "mode"> & {
193
+ items: TMenuItem[];
194
+ inputRef?: RefObject<HTMLInputElement>;
195
+ wrapperRef?: RefObject<HTMLDivElement>;
196
+ windowPalette?: TPalette;
197
+ };
198
+
199
+ export declare function TErrorPanel(p: TErrorPanelProps): JSX.Element;
200
+
201
+ export declare type TErrorPanelProps = TViewProps;
202
+
203
+ export declare function TForm(p: TFormProps): JSX.Element;
204
+
205
+ export declare function TFormButton(p: TFormButtonProps): JSX.Element;
206
+
207
+ export declare type TFormButtonProps = TButtonProps & {
208
+ cancel?: boolean;
209
+ };
210
+
211
+ declare type TFormContext = IDataContext & {
212
+ updateDataContext: (fct: (prev: IDataContext) => IDataContext) => void;
213
+ checked: (id: string) => boolean;
214
+ get: (id: string) => string | undefined;
215
+ getContent: () => TDataContent;
216
+ update: (id: string, newValue: TFormValueType, isValid: boolean) => void;
217
+ validate: () => boolean;
218
+ initializeField: (id: string, initValue: TFormValueType, isValid: boolean) => void;
219
+ setDisabled: (disabled: boolean) => void;
220
+ setError: (error: string | undefined) => void;
221
+ setLoading: (loading: boolean) => void;
222
+ };
223
+
224
+ export declare function TFormField(p: TFormFieldProps): JSX.Element;
225
+
226
+ export declare type TFormFieldProps = TPaletteProps & {
227
+ id: string;
228
+ caption?: string;
229
+ type: TFormFieldType;
230
+ disabled?: boolean;
231
+ defaultValue?: string;
232
+ isOptional?: boolean;
233
+ value?: string;
234
+ validator?: TFormValidator;
235
+ wrapperFct?: (src: React.ReactNode, value: TFormValue | undefined, props: TFormFieldProps, onAction?: (id: string, customData: unknown) => void) => React.ReactNode;
236
+ children?: React.ReactNode;
237
+ checkBoxProps?: TCheckBoxProps;
238
+ dropDownProps?: TDropDownProps;
239
+ formProps?: Omit<TFormProps, "context" | "children">;
240
+ progressBarProps?: TProgressBarProps;
241
+ templateProps?: Omit<TFormTemplateProps, "items" | "onUpdateItems">;
242
+ textBoxProps?: TTextBoxProps;
243
+ onAction?: (id: string, customData: unknown) => void;
244
+ };
245
+
246
+ export declare type TFormFieldType = "checkbox" | "progress" | "textbox" | "dropdown" | "form" | "template";
247
+
248
+ export declare type TFormProps = {
249
+ disabled?: boolean;
250
+ isValidated?: boolean;
251
+ items?: TFormFieldProps[];
252
+ children?: React.ReactNode;
253
+ context?: TFormContext;
254
+ onAction?: (id: string, data: IDataContext, customData: unknown) => void;
255
+ };
256
+
257
+ export declare type TFormTemplateProps = TPaletteProps & {
258
+ items: IDataContext[];
259
+ itemFct: (ctx: IDataContext, deleteFct: () => void) => React.ReactNode | TFormFieldProps[];
260
+ wrapperFct?: (content: React.ReactNode, addFct: () => void) => React.ReactNode;
261
+ onNewRow?: () => Record<string, TFormValue>;
262
+ onUpdateItems?: (newItems: IDataContext[]) => void;
263
+ };
264
+
265
+ export declare type TFormValidator = {
266
+ signature?: string;
267
+ onValidate?: (value: string) => boolean;
268
+ onValidateForm?: (content: TDataContent) => boolean;
269
+ onValidateList?: (content: TDataContent[]) => boolean;
270
+ };
271
+
272
+ export declare type TFormValue = {
273
+ value: TFormValueType;
274
+ origValue?: string | null;
275
+ isValid: boolean | undefined;
276
+ };
277
+
278
+ export declare type TFormValueType = string | TFormValueTypeDataCtx | TFormValueTypeList;
279
+
280
+ export declare type TFormValueTypeDataCtx = IDataContext & {
281
+ mode: "datacontext";
282
+ };
283
+
284
+ export declare type TFormValueTypeList = {
285
+ mode: "list";
286
+ items: IDataContext[];
287
+ };
288
+
289
+ export declare function TGlass(p: TGlassProps): JSX.Element;
290
+
291
+ export declare type TGlassEvent = {
292
+ clientX: number;
293
+ clientY: number;
294
+ buttons: number;
295
+ };
296
+
297
+ export declare type TGlassProps = {
298
+ backdrop?: boolean;
299
+ children?: React.ReactNode;
300
+ visible: boolean;
301
+ onClick?: () => void;
302
+ onMouseMove?: (e: TGlassEvent) => void;
303
+ onMouseUp?: (e: TGlassEvent) => void;
304
+ };
305
+
306
+ export declare function TGroupBox(p: TGroupBoxProps): JSX.Element;
307
+
308
+ export declare type TGroupBoxProps = TViewProps & {
309
+ caption?: string;
310
+ disabled?: boolean;
311
+ height?: string | number;
312
+ width?: string | number;
313
+ };
314
+
315
+ export declare function THeading(p: THeadingProps): JSX.Element;
316
+
317
+ export declare type THeadingProps = TViewProps;
318
+
319
+ export declare type THorizAlignMode = "right";
320
+
321
+ export declare function THorizLayout(p: THorizLayoutProps): JSX.Element;
322
+
323
+ export declare type THorizLayoutProps = {
324
+ children?: React.ReactNode;
325
+ gap?: number | string;
326
+ left?: React.ReactNode;
327
+ leftWidth?: number | string;
328
+ rightWidth?: number | string;
329
+ alignMode?: THorizAlignMode;
330
+ };
331
+
332
+ export declare type TInputProps = TControlProps & {
333
+ defaultValue?: string;
334
+ value?: string;
335
+ onChange?: (newValue: string) => void;
336
+ onChanging?: (newValue: string) => string;
337
+ };
338
+
339
+ declare type TLayerRenderer = (hideFct: () => void) => React.ReactNode;
340
+
341
+ export declare function TLoadingBar(): JSX.Element;
342
+
343
+ export declare function TMenu(p: TMenuProps): JSX.Element;
344
+
345
+ export declare type TMenuItem = {
346
+ id: string;
347
+ disabled?: boolean;
348
+ label?: string;
349
+ prefix?: string;
350
+ prefixColor?: string;
351
+ prefixWidth?: string | number;
352
+ secondary?: string;
353
+ secondaryColor?: string;
354
+ selected?: boolean;
355
+ withSeparator?: boolean;
356
+ };
357
+
358
+ export declare type TMenuProps = TPaletteProps & {
359
+ selectedRef?: RefObject<HTMLAnchorElement | null>;
360
+ items: TMenuItem[];
361
+ onClick?: (id: string) => void;
362
+ onSelect?: (id: string) => void;
363
+ };
364
+
365
+ export declare type TMouseState = {
366
+ x: number;
367
+ y: number;
368
+ buttons: number;
369
+ };
370
+
371
+ export declare function TNameValue(p: TNameValueProps): JSX.Element;
372
+
373
+ export declare type TNameValueItem = {
374
+ name: string | React.ReactNode;
375
+ value: string | React.ReactNode;
376
+ action?: string | React.ReactNode;
377
+ };
378
+
379
+ export declare type TNameValueProps = TViewProps & {
380
+ name?: string | React.ReactNode;
381
+ action?: string | React.ReactNode;
382
+ actionWidth?: string | number;
383
+ labelWidth?: string | number;
384
+ items?: TNameValueItem[];
385
+ };
386
+
387
+ export declare function TNotification(p: TNotificationProps): JSX.Element;
388
+
389
+ export declare type TNotificationProps = TViewProps & {
390
+ style?: CSSProperties;
391
+ timeout?: number;
392
+ };
393
+
394
+ export declare type TPalette = "blue" | "green" | "cyan" | "grey" | "dark" | "red" | "dialog" | "mono";
395
+
396
+ export declare type TPaletteProps = {
397
+ palette?: TPalette;
398
+ };
399
+
400
+ export declare function TPaletteProvider(p: {
401
+ palette: TPalette;
402
+ children?: React.ReactNode;
403
+ }): JSX.Element;
404
+
405
+ export declare function TProgressBar(p: TProgressBarProps): JSX.Element;
406
+
407
+ export declare type TProgressBarProps = TInputProps & {
408
+ blockWidth?: number;
409
+ caption?: string;
410
+ left?: number;
411
+ readOnly?: boolean;
412
+ showValue?: boolean;
413
+ };
414
+
415
+ export declare function TRadioButton(p: TRadioButtonProps): JSX.Element;
416
+
417
+ export declare type TRadioButtonProps = TInputProps & {
418
+ caption?: string;
419
+ };
420
+
421
+ export declare type TRect = {
422
+ x?: number | string;
423
+ y?: number | string;
424
+ x2?: number | string;
425
+ y2?: number | string;
426
+ };
427
+
428
+ export declare function TRowLayout(p: TRowLayoutProps): JSX.Element;
429
+
430
+ export declare type TRowLayoutProps = {
431
+ children?: React.ReactNode;
432
+ gap?: number | string;
433
+ style?: CSSProperties;
434
+ };
435
+
436
+ export declare function TTable<T extends object>(props: TTableProps<T>): JSX.Element;
437
+
438
+ export declare type TTableColumnProps<T extends object> = {
439
+ id: string;
440
+ align?: TAlignType;
441
+ caption?: string | React.ReactNode;
442
+ data?: TTableValueProvider<T>;
443
+ icon?: string;
444
+ sortIcon?: "up" | "down";
445
+ width?: string | number;
446
+ };
447
+
448
+ export declare type TTableProps<T extends object> = TPaletteProps & {
449
+ data: T[];
450
+ columns: TTableColumnProps<T>[];
451
+ onHeaderClick?: (col: TTableColumnProps<T>, idx: number) => void;
452
+ onRowClick?: (value: T, idx: number) => void;
453
+ };
454
+
455
+ export declare type TTableValueProvider<T> = string | React.ReactNode | ((item: T) => string | React.ReactNode);
456
+
457
+ export declare function TTextBox(p: TTextBoxProps): JSX.Element;
458
+
459
+ export declare type TTextBoxMode = "text" | "password" | "number" | "email";
460
+
461
+ export declare type TTextBoxProps = TInputProps & {
462
+ align?: TAlignType;
463
+ caption?: string;
464
+ mode?: TTextBoxMode;
465
+ prefix?: string;
466
+ prefixColor?: string;
467
+ prefixStyle?: CSSProperties;
468
+ readOnly?: boolean;
469
+ suffix?: string;
470
+ suffixColor?: string;
471
+ suffixStyle?: CSSProperties;
472
+ inputStyle?: CSSProperties;
473
+ wrapperRef?: RefObject<HTMLDivElement | null>;
474
+ inputRef?: RefObject<HTMLInputElement | null>;
475
+ onFocus?: () => void;
476
+ onClick?: () => void;
477
+ };
478
+
479
+ export declare type TValueHook = {
480
+ value: string | undefined;
481
+ set: (newValue: string) => void;
482
+ };
483
+
484
+ export declare function TVertLayout(p: TVertLayoutProps): JSX.Element;
485
+
486
+ export declare type TVertLayoutProps = {
487
+ autoHeight?: boolean;
488
+ children?: React.ReactNode;
489
+ gap?: string | undefined;
490
+ header?: React.ReactNode;
491
+ footer?: React.ReactNode;
492
+ };
493
+
494
+ export declare function TViewport(p: TViewportProps): JSX.Element;
495
+
496
+ export declare type TViewportProps = {
497
+ center?: boolean;
498
+ centerV?: boolean;
499
+ centerH?: boolean;
500
+ fill?: boolean;
501
+ children?: React.ReactNode;
502
+ width?: string | number;
503
+ height?: string | number;
504
+ rect?: TRect;
505
+ bgColor?: string;
506
+ scrollbar?: boolean;
507
+ divRef?: RefObject<HTMLDivElement | null>;
508
+ style?: CSSProperties;
509
+ padding?: {
510
+ left?: string | number;
511
+ right?: string | number;
512
+ top?: string | number;
513
+ bottom?: string | number;
514
+ };
515
+ };
516
+
517
+ export declare type TViewProps = TPaletteProps & {
518
+ children?: React.ReactNode;
519
+ };
520
+
521
+ export declare function TWindow(p: TWindowProps): JSX.Element;
522
+
523
+ export declare type TWindowInnerPadding = "none" | "space";
524
+
525
+ export declare type TWindowProps = TPaletteProps & {
526
+ children?: React.ReactNode;
527
+ fill?: boolean;
528
+ noShadow?: boolean;
529
+ border?: "std" | "single" | "none";
530
+ outerPadding?: boolean;
531
+ innerPadding?: TWindowInnerPadding;
532
+ caption?: string;
533
+ space?: boolean;
534
+ style?: CSSProperties;
535
+ onClick?: () => void;
536
+ onClose?: () => void;
537
+ };
538
+
539
+ export declare function useClosingEffect(mode?: TClosingEffect, delay?: number): {
540
+ get: () => CSSProperties;
541
+ close: (onClose?: () => void) => void;
542
+ };
543
+
544
+ export declare function useDataContext(initialState: IDataContext | undefined): {
545
+ ctx: IDataContext;
546
+ setCtx: Dispatch<SetStateAction<IDataContext>>;
547
+ };
548
+
549
+ export declare function useDialog<T = any>(p: (ctx: TDialogContext<T>) => TDialogProps): {
550
+ show: (inputData?: TDataContent) => Promise<TDialogResult<T> | null>;
551
+ };
552
+
553
+ export declare function useLayer(): ILayerManager;
554
+
555
+ export declare function useMobile(): boolean;
556
+
557
+ export declare function useMouseValue(ref: {
558
+ current: null | {
559
+ getBoundingClientRect(): DOMRect;
560
+ };
561
+ }, handler?: (clientPos: TMouseState, relPos: TMouseState, absPos: TMouseState) => void): {
562
+ rect: DOMRect | null;
563
+ mousePos: TMouseState | null;
564
+ relPos: {
565
+ x: number;
566
+ y: number;
567
+ buttons: number;
568
+ } | null;
569
+ setPos: (e: {
570
+ clientX: number;
571
+ clientY: number;
572
+ buttons: number;
573
+ }) => void;
574
+ done: (_e: {
575
+ clientX: number;
576
+ clientY: number;
577
+ buttons: number;
578
+ }) => void;
579
+ };
580
+
581
+ export declare function useNewFormContext(initialState: IDataContext | undefined): TFormContext;
582
+
583
+ export declare function useNotifications(): {
584
+ show: (msg: string | default_2.ReactNode, p?: TNotificationProps) => void;
585
+ };
586
+
587
+ export declare function useValue(p: TInputProps): TValueHook;
588
+
589
+ export declare const ViewUtils: {
590
+ wrapper: (content: React.ReactNode, wrapperFct?: (x: React.ReactNode) => React.ReactNode, cond?: boolean) => ReactNode;
591
+ };
592
+
593
+ export { }