@elcrm/form 0.0.38 → 0.0.39
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.css +1 -1
- package/dist/index.es.js +92 -92
- package/dist/index.umd.js +30 -30
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 0px 14px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a;--field-placeholder: #84919a}._l_do7az_13{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._l_do7az_13[data-field=group] div{cursor:pointer;border-bottom:var(--field-border);margin:0;padding:var(--field-padding)}._l_do7az_13[data-field=group] div:last-child{border-bottom:0}._l_do7az_13 [placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._l_do7az_13 [placeholder]:focus:before{display:none}._f_do7az_37{box-sizing:border-box;display:flex;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);padding:0;min-height:var(--field-height);line-height:var(--field-height)}._f_do7az_37>div{outline:0;flex:1;margin:var(--field-padding);text-wrap:pretty}._n_do7az_55 div{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._w_do7az_60>div{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_do7az_60>div::-webkit-scrollbar{width:0;height:0}._t_do7az_70{color:var(--field-label-color);padding-bottom:8px}._g_do7az_75{flex-direction:column}._h_do7az_79{--field-border: 0}._h_do7az_79 div{border:var(--field-check-box-border, --field-border);width:var(--field-height);height:var(--field-height);border-radius:var(--field-radius);background:var(--field-background);margin:0;flex:none;cursor:pointer;position:relative;gap:10px}._h_do7az_79 div[aria-checked=true]{background:var(--field-background-active)}._h_do7az_79 div:after{content:"";width:9px;height:5px;position:absolute;top:5px;left:4px;border:3px solid #fcfff4;border-top:none;border-right:none;background:transparent;transform:rotate(-45deg);margin:4px}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
|
|
1
|
+
@charset "UTF-8";._l_fqry8_12{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._l_fqry8_12[data-field=group] div{cursor:pointer;border-bottom:var(--field-border);margin:0;padding:var(--field-padding)}._l_fqry8_12[data-field=group] div:last-child{border-bottom:0}._l_fqry8_12 [placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._l_fqry8_12 [placeholder]:focus:before{display:none}._f_fqry8_36{box-sizing:border-box;display:flex;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);padding:0;min-height:var(--field-height);line-height:var(--field-height)}._f_fqry8_36>div{outline:0;flex:1;margin:var(--field-padding);text-wrap:pretty}._n_fqry8_54 div{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._w_fqry8_59>div{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_fqry8_59>div::-webkit-scrollbar{width:0;height:0}._t_fqry8_69{color:var(--field-label-color);padding-bottom:8px}._g_fqry8_74{flex-direction:column}._h_fqry8_78{--field-border: 0}._h_fqry8_78 div{border:var(--field-check-box-border, --field-border);width:var(--field-height);height:var(--field-height);border-radius:var(--field-radius);background:var(--field-background);margin:0;flex:none;cursor:pointer;position:relative;gap:10px}._h_fqry8_78 div[aria-checked=true]{background:var(--field-background-active)}._h_fqry8_78 div:after{content:"";width:9px;height:5px;position:absolute;top:5px;left:4px;border:3px solid #fcfff4;border-top:none;border-right:none;background:transparent;transform:rotate(-45deg);margin:4px}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
|
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import U, { forwardRef as Jt, useEffect as Zt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Vt = "0.0.
|
|
3
|
+
import './index.css';const Vt = "0.0.39", Xt = {
|
|
4
4
|
version: Vt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, mt = {};
|
|
@@ -65,10 +65,10 @@ function er() {
|
|
|
65
65
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var q = !1, K = !1, L = !1, Y = !1, R = !1, T;
|
|
69
69
|
T = Symbol.for("react.module.reference");
|
|
70
70
|
function O(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C ||
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C || q || K || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
@@ -207,8 +207,8 @@ function er() {
|
|
|
207
207
|
}
|
|
208
208
|
var ue = !1, re;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
re = new
|
|
210
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
re = new qe();
|
|
212
212
|
}
|
|
213
213
|
function je(e, t) {
|
|
214
214
|
if (!e || ue)
|
|
@@ -281,7 +281,7 @@ function er() {
|
|
|
281
281
|
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
282
282
|
return typeof e == "function" && re.set(e, z), z;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Ke(e, t, r) {
|
|
285
285
|
return je(e, !1);
|
|
286
286
|
}
|
|
287
287
|
function Ye(e) {
|
|
@@ -304,7 +304,7 @@ function er() {
|
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case s:
|
|
307
|
-
return
|
|
307
|
+
return Ke(e.render);
|
|
308
308
|
case d:
|
|
309
309
|
return ae(e.type, t, r);
|
|
310
310
|
case b: {
|
|
@@ -670,7 +670,7 @@ ee.Blur = (a) => {
|
|
|
670
670
|
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
ee.ContentEditable = "plaintext-only";
|
|
673
|
-
const tr = "
|
|
673
|
+
const tr = "_l_fqry8_12", rr = "_f_fqry8_36", ar = "_n_fqry8_54", nr = "_w_fqry8_59", or = "_t_fqry8_69", _r = "_g_fqry8_74", ir = "_h_fqry8_78", _e = {
|
|
674
674
|
l: tr,
|
|
675
675
|
f: rr,
|
|
676
676
|
n: ar,
|
|
@@ -738,9 +738,9 @@ function ka({
|
|
|
738
738
|
name: u,
|
|
739
739
|
reload: E
|
|
740
740
|
});
|
|
741
|
-
}, K = (R) => {
|
|
742
|
-
C && R.target.textContent.trim().length >= C && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
743
741
|
}, q = (R) => {
|
|
742
|
+
C && R.target.textContent.trim().length >= C && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
743
|
+
}, K = (R) => {
|
|
744
744
|
R.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
745
745
|
if (C) {
|
|
746
746
|
let O = R.target.textContent.length;
|
|
@@ -772,9 +772,9 @@ function ka({
|
|
|
772
772
|
"div",
|
|
773
773
|
{
|
|
774
774
|
onBlur: Y,
|
|
775
|
-
onPaste:
|
|
775
|
+
onPaste: K,
|
|
776
776
|
onInput: M,
|
|
777
|
-
onKeyDown:
|
|
777
|
+
onKeyDown: q,
|
|
778
778
|
spellCheck: "true",
|
|
779
779
|
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
780
780
|
suppressContentEditableWarning: !0,
|
|
@@ -847,10 +847,10 @@ function lr() {
|
|
|
847
847
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
var
|
|
850
|
+
var q = !1, K = !1, L = !1, Y = !1, R = !1, T;
|
|
851
851
|
T = Symbol.for("react.module.reference");
|
|
852
852
|
function O(e) {
|
|
853
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C ||
|
|
853
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C || q || K || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
854
854
|
// types supported by any Flight configuration anywhere since
|
|
855
855
|
// we don't know which Flight build this will end up being used
|
|
856
856
|
// with.
|
|
@@ -989,8 +989,8 @@ function lr() {
|
|
|
989
989
|
}
|
|
990
990
|
var ue = !1, re;
|
|
991
991
|
{
|
|
992
|
-
var
|
|
993
|
-
re = new
|
|
992
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
993
|
+
re = new qe();
|
|
994
994
|
}
|
|
995
995
|
function je(e, t) {
|
|
996
996
|
if (!e || ue)
|
|
@@ -1063,7 +1063,7 @@ function lr() {
|
|
|
1063
1063
|
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
1064
1064
|
return typeof e == "function" && re.set(e, z), z;
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function Ke(e, t, r) {
|
|
1067
1067
|
return je(e, !1);
|
|
1068
1068
|
}
|
|
1069
1069
|
function Ye(e) {
|
|
@@ -1086,7 +1086,7 @@ function lr() {
|
|
|
1086
1086
|
if (typeof e == "object")
|
|
1087
1087
|
switch (e.$$typeof) {
|
|
1088
1088
|
case s:
|
|
1089
|
-
return
|
|
1089
|
+
return Ke(e.render);
|
|
1090
1090
|
case d:
|
|
1091
1091
|
return ae(e.type, t, r);
|
|
1092
1092
|
case b: {
|
|
@@ -1528,9 +1528,9 @@ var wt = {};
|
|
|
1528
1528
|
* This source code is licensed under the MIT license found in the
|
|
1529
1529
|
* LICENSE file in the root directory of this source tree.
|
|
1530
1530
|
*/
|
|
1531
|
-
var
|
|
1531
|
+
var qt;
|
|
1532
1532
|
function Br() {
|
|
1533
|
-
return
|
|
1533
|
+
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1534
1534
|
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, B = "@@iterator";
|
|
1535
1535
|
function I(e) {
|
|
1536
1536
|
if (e === null || typeof e != "object")
|
|
@@ -1556,10 +1556,10 @@ function Br() {
|
|
|
1556
1556
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
|
-
var
|
|
1559
|
+
var q = !1, K = !1, L = !1, Y = !1, R = !1, T;
|
|
1560
1560
|
T = Symbol.for("react.module.reference");
|
|
1561
1561
|
function O(e) {
|
|
1562
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C ||
|
|
1562
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C || q || K || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1563
1563
|
// types supported by any Flight configuration anywhere since
|
|
1564
1564
|
// we don't know which Flight build this will end up being used
|
|
1565
1565
|
// with.
|
|
@@ -1698,8 +1698,8 @@ function Br() {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
var ue = !1, re;
|
|
1700
1700
|
{
|
|
1701
|
-
var
|
|
1702
|
-
re = new
|
|
1701
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1702
|
+
re = new qe();
|
|
1703
1703
|
}
|
|
1704
1704
|
function je(e, t) {
|
|
1705
1705
|
if (!e || ue)
|
|
@@ -1772,7 +1772,7 @@ function Br() {
|
|
|
1772
1772
|
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
1773
1773
|
return typeof e == "function" && re.set(e, z), z;
|
|
1774
1774
|
}
|
|
1775
|
-
function
|
|
1775
|
+
function Ke(e, t, r) {
|
|
1776
1776
|
return je(e, !1);
|
|
1777
1777
|
}
|
|
1778
1778
|
function Ye(e) {
|
|
@@ -1795,7 +1795,7 @@ function Br() {
|
|
|
1795
1795
|
if (typeof e == "object")
|
|
1796
1796
|
switch (e.$$typeof) {
|
|
1797
1797
|
case s:
|
|
1798
|
-
return
|
|
1798
|
+
return Ke(e.render);
|
|
1799
1799
|
case d:
|
|
1800
1800
|
return ae(e.type, t, r);
|
|
1801
1801
|
case b: {
|
|
@@ -2120,12 +2120,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2120
2120
|
}
|
|
2121
2121
|
process.env.NODE_ENV === "production" ? Pt.exports = Ar() : Pt.exports = Br();
|
|
2122
2122
|
var Et = Pt.exports;
|
|
2123
|
-
const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20",
|
|
2123
|
+
const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", qr = "_action_1k1b3_25", Kr = "_disabled_1k1b3_30", Yr = "_m_1k1b3_44", Gr = "_l_1k1b3_48", jt = {
|
|
2124
2124
|
btn: Lr,
|
|
2125
2125
|
confirm: Wr,
|
|
2126
2126
|
cancel: Ur,
|
|
2127
|
-
action:
|
|
2128
|
-
disabled:
|
|
2127
|
+
action: qr,
|
|
2128
|
+
disabled: Kr,
|
|
2129
2129
|
await: "_await_1k1b3_37",
|
|
2130
2130
|
m: Yr,
|
|
2131
2131
|
l: Gr
|
|
@@ -2251,7 +2251,7 @@ var Ct;
|
|
|
2251
2251
|
shake: I = !0,
|
|
2252
2252
|
menu: E
|
|
2253
2253
|
}) {
|
|
2254
|
-
const [p, M] = U.useState(!0),
|
|
2254
|
+
const [p, M] = U.useState(!0), q = U.useRef(), K = (Y) => {
|
|
2255
2255
|
if (b) {
|
|
2256
2256
|
if (b.onClick)
|
|
2257
2257
|
return Y(!1), b.onClick({ setOpen: M });
|
|
@@ -2263,8 +2263,8 @@ var Ct;
|
|
|
2263
2263
|
}
|
|
2264
2264
|
}, L = () => {
|
|
2265
2265
|
if (!I) return M(!1);
|
|
2266
|
-
|
|
2267
|
-
|
|
2266
|
+
q.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2267
|
+
q.current.setAttribute("shake", !1);
|
|
2268
2268
|
}, 1e3);
|
|
2269
2269
|
};
|
|
2270
2270
|
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${ie.modal}`, children: [
|
|
@@ -2273,7 +2273,7 @@ var Ct;
|
|
|
2273
2273
|
"div",
|
|
2274
2274
|
{
|
|
2275
2275
|
className: [ie.w, ie[`s${F}`], B].filter((Y) => Y != "").join(" "),
|
|
2276
|
-
ref:
|
|
2276
|
+
ref: q,
|
|
2277
2277
|
children: [
|
|
2278
2278
|
/* @__PURE__ */ H.jsxs("div", { className: ie.h, children: [
|
|
2279
2279
|
/* @__PURE__ */ H.jsx("div", { className: ie.t, children: o }),
|
|
@@ -2314,7 +2314,7 @@ var Ct;
|
|
|
2314
2314
|
zr,
|
|
2315
2315
|
{
|
|
2316
2316
|
label: b.label,
|
|
2317
|
-
onSend:
|
|
2317
|
+
onSend: K,
|
|
2318
2318
|
className: ie.btn,
|
|
2319
2319
|
size: b.size
|
|
2320
2320
|
}
|
|
@@ -2348,25 +2348,25 @@ function wa({
|
|
|
2348
2348
|
if (!(s && v) || !b) return;
|
|
2349
2349
|
let M = b.split(".");
|
|
2350
2350
|
Ct.Open(M[0], M[1], {
|
|
2351
|
-
callback: (
|
|
2351
|
+
callback: (q) => {
|
|
2352
2352
|
if (_)
|
|
2353
2353
|
switch (o) {
|
|
2354
2354
|
case "array":
|
|
2355
|
-
_({ value: Object.keys(
|
|
2355
|
+
_({ value: Object.keys(q), name: c });
|
|
2356
2356
|
break;
|
|
2357
2357
|
case "string":
|
|
2358
2358
|
_({
|
|
2359
|
-
value: Object.keys(
|
|
2359
|
+
value: Object.keys(q).filter((K) => q[K]).join(y),
|
|
2360
2360
|
name: c
|
|
2361
2361
|
});
|
|
2362
2362
|
break;
|
|
2363
2363
|
default:
|
|
2364
|
-
_({ value:
|
|
2364
|
+
_({ value: q, name: c });
|
|
2365
2365
|
}
|
|
2366
2366
|
I(
|
|
2367
2367
|
Object.fromEntries(
|
|
2368
|
-
Object.entries(
|
|
2369
|
-
([
|
|
2368
|
+
Object.entries(q).filter(
|
|
2369
|
+
([K, L]) => L !== !1
|
|
2370
2370
|
)
|
|
2371
2371
|
)
|
|
2372
2372
|
);
|
|
@@ -2420,9 +2420,9 @@ function ja({
|
|
|
2420
2420
|
isReload: B = !1
|
|
2421
2421
|
}) {
|
|
2422
2422
|
var W, h;
|
|
2423
|
-
const I = U.useRef(null), [E, p] = U.useState(S), [M,
|
|
2423
|
+
const I = U.useRef(null), [E, p] = U.useState(S), [M, q] = U.useState(x), [K, L] = U.useState(!1);
|
|
2424
2424
|
U.useEffect(() => {
|
|
2425
|
-
p(S),
|
|
2425
|
+
p(S), q(x);
|
|
2426
2426
|
}, [S, x]), y = !!(y && (S === 0 || ((W = M == null ? void 0 : M[S]) == null ? void 0 : W.n) === void 0)) && !(c && u);
|
|
2427
2427
|
let R = (k) => {
|
|
2428
2428
|
p(k), P && P({ value: k, name: d, reload: B });
|
|
@@ -2444,7 +2444,7 @@ function ja({
|
|
|
2444
2444
|
children: /* @__PURE__ */ g.jsx("div", { ...O, children: (h = M == null ? void 0 : M[E]) == null ? void 0 : h.n })
|
|
2445
2445
|
}
|
|
2446
2446
|
),
|
|
2447
|
-
|
|
2447
|
+
K && Mt(
|
|
2448
2448
|
/* @__PURE__ */ g.jsx(
|
|
2449
2449
|
Qr,
|
|
2450
2450
|
{
|
|
@@ -2538,10 +2538,10 @@ function xa({
|
|
|
2538
2538
|
options: F,
|
|
2539
2539
|
className: B
|
|
2540
2540
|
}) {
|
|
2541
|
-
const [I, E] = U.useState(a), p = (
|
|
2541
|
+
const [I, E] = U.useState(a), p = (q) => {
|
|
2542
2542
|
if (!(x && v) || !b) return;
|
|
2543
|
-
let
|
|
2544
|
-
Ct.Open(
|
|
2543
|
+
let K = b.split(".");
|
|
2544
|
+
Ct.Open(K[0], K[1], {
|
|
2545
2545
|
callback: (L) => {
|
|
2546
2546
|
_ && _({ value: L, name: c }), E(L);
|
|
2547
2547
|
},
|
|
@@ -2592,7 +2592,7 @@ function Ca({
|
|
|
2592
2592
|
});
|
|
2593
2593
|
}, M = (R) => {
|
|
2594
2594
|
R.key === "Enter" && R.preventDefault();
|
|
2595
|
-
},
|
|
2595
|
+
}, q = (R) => {
|
|
2596
2596
|
R.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
2597
2597
|
if (C) {
|
|
2598
2598
|
let O = R.target.textContent.length;
|
|
@@ -2606,7 +2606,7 @@ function Ca({
|
|
|
2606
2606
|
);
|
|
2607
2607
|
}).catch((T) => {
|
|
2608
2608
|
});
|
|
2609
|
-
},
|
|
2609
|
+
}, K = (R) => {
|
|
2610
2610
|
ee.Blur(R), c == null || c({ value: R.target.textContent.trim(), name: u });
|
|
2611
2611
|
};
|
|
2612
2612
|
const L = {};
|
|
@@ -2617,10 +2617,10 @@ function Ca({
|
|
|
2617
2617
|
/* @__PURE__ */ g.jsx(
|
|
2618
2618
|
"dd",
|
|
2619
2619
|
{
|
|
2620
|
-
onPaste:
|
|
2620
|
+
onPaste: q,
|
|
2621
2621
|
onInput: p,
|
|
2622
2622
|
onKeyDown: M,
|
|
2623
|
-
onBlur:
|
|
2623
|
+
onBlur: K,
|
|
2624
2624
|
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
2625
2625
|
...Y,
|
|
2626
2626
|
suppressContentEditableWarning: !0,
|
|
@@ -2654,12 +2654,12 @@ function Sa({
|
|
|
2654
2654
|
y = y !== void 0 ? y : !0, c = c !== void 0 ? c : !0, s = !!(s && (v === "" || v === void 0)) && !(y && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2655
2655
|
let p = !1, M = (T) => {
|
|
2656
2656
|
a == null || a({ value: T.target.textContent, name: C });
|
|
2657
|
-
},
|
|
2657
|
+
}, q = (T) => {
|
|
2658
2658
|
if (!(p && T.which === 86)) {
|
|
2659
2659
|
if (T.which === 17 || T.which === 91) return p = !0;
|
|
2660
2660
|
T.key !== "Backspace" && (T.target.textContent.length === u && T.preventDefault(), T.key === "Enter" && T.preventDefault(), isNaN(T.key) && T.preventDefault());
|
|
2661
2661
|
}
|
|
2662
|
-
},
|
|
2662
|
+
}, K = (T) => {
|
|
2663
2663
|
if (T.which === 17 || T.which === 91) return p = !1;
|
|
2664
2664
|
}, L = (T) => {
|
|
2665
2665
|
T.preventDefault(), navigator.clipboard.readText().then((O) => {
|
|
@@ -2689,8 +2689,8 @@ function Sa({
|
|
|
2689
2689
|
onPaste: L,
|
|
2690
2690
|
onInput: M,
|
|
2691
2691
|
onBlur: Y,
|
|
2692
|
-
onKeyDown:
|
|
2693
|
-
onKeyUp:
|
|
2692
|
+
onKeyDown: q,
|
|
2693
|
+
onKeyUp: K,
|
|
2694
2694
|
spellCheck: "true",
|
|
2695
2695
|
contentEditable: y && c ? ee.ContentEditable : "false",
|
|
2696
2696
|
suppressContentEditableWarning: !0,
|
|
@@ -2711,10 +2711,10 @@ var Ft = { exports: {} }, ht = {};
|
|
|
2711
2711
|
* This source code is licensed under the MIT license found in the
|
|
2712
2712
|
* LICENSE file in the root directory of this source tree.
|
|
2713
2713
|
*/
|
|
2714
|
-
var
|
|
2714
|
+
var Kt;
|
|
2715
2715
|
function ta() {
|
|
2716
|
-
if (
|
|
2717
|
-
|
|
2716
|
+
if (Kt) return ht;
|
|
2717
|
+
Kt = 1;
|
|
2718
2718
|
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2719
2719
|
function P(x, s, v) {
|
|
2720
2720
|
var o, d = {}, b = null, C = null;
|
|
@@ -2763,10 +2763,10 @@ function ra() {
|
|
|
2763
2763
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
2764
2764
|
}
|
|
2765
2765
|
}
|
|
2766
|
-
var
|
|
2766
|
+
var q = !1, K = !1, L = !1, Y = !1, R = !1, T;
|
|
2767
2767
|
T = Symbol.for("react.module.reference");
|
|
2768
2768
|
function O(e) {
|
|
2769
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C ||
|
|
2769
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C || q || K || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2770
2770
|
// types supported by any Flight configuration anywhere since
|
|
2771
2771
|
// we don't know which Flight build this will end up being used
|
|
2772
2772
|
// with.
|
|
@@ -2905,8 +2905,8 @@ function ra() {
|
|
|
2905
2905
|
}
|
|
2906
2906
|
var ue = !1, re;
|
|
2907
2907
|
{
|
|
2908
|
-
var
|
|
2909
|
-
re = new
|
|
2908
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
2909
|
+
re = new qe();
|
|
2910
2910
|
}
|
|
2911
2911
|
function je(e, t) {
|
|
2912
2912
|
if (!e || ue)
|
|
@@ -2979,7 +2979,7 @@ function ra() {
|
|
|
2979
2979
|
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
2980
2980
|
return typeof e == "function" && re.set(e, z), z;
|
|
2981
2981
|
}
|
|
2982
|
-
function
|
|
2982
|
+
function Ke(e, t, r) {
|
|
2983
2983
|
return je(e, !1);
|
|
2984
2984
|
}
|
|
2985
2985
|
function Ye(e) {
|
|
@@ -3002,7 +3002,7 @@ function ra() {
|
|
|
3002
3002
|
if (typeof e == "object")
|
|
3003
3003
|
switch (e.$$typeof) {
|
|
3004
3004
|
case s:
|
|
3005
|
-
return
|
|
3005
|
+
return Ke(e.render);
|
|
3006
3006
|
case d:
|
|
3007
3007
|
return ae(e.type, t, r);
|
|
3008
3008
|
case b: {
|
|
@@ -3491,12 +3491,12 @@ function Ra({
|
|
|
3491
3491
|
let I = y, E = !0, p = 0, M = (h, k) => {
|
|
3492
3492
|
let $ = document.createRange(), G = window.getSelection();
|
|
3493
3493
|
$.setStart(k.childNodes[0], h), $.collapse(!0), G.removeAllRanges(), G.addRange($), k.focus();
|
|
3494
|
-
},
|
|
3494
|
+
}, q = (h) => {
|
|
3495
3495
|
h.preventDefault(), navigator.clipboard.readText().then((k) => {
|
|
3496
3496
|
window.document.execCommand("insertText", !1, k);
|
|
3497
3497
|
}).catch((k) => {
|
|
3498
3498
|
});
|
|
3499
|
-
},
|
|
3499
|
+
}, K = (h) => {
|
|
3500
3500
|
let k = 0, $ = "", G = h.replace(/\D/g, "");
|
|
3501
3501
|
G === "" && (E = !0);
|
|
3502
3502
|
let X = G.split(""), oe = "";
|
|
@@ -3515,8 +3515,8 @@ function Ra({
|
|
|
3515
3515
|
function(k) {
|
|
3516
3516
|
}
|
|
3517
3517
|
);
|
|
3518
|
-
}, Y =
|
|
3519
|
-
let k =
|
|
3518
|
+
}, Y = K(a), R = (h) => {
|
|
3519
|
+
let k = K(h.target.textContent);
|
|
3520
3520
|
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== I ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), _ && _({ value: k.q.replace(/\D/g, ""), name: u });
|
|
3521
3521
|
}, T = (h) => {
|
|
3522
3522
|
h.key === "Enter" && h.preventDefault();
|
|
@@ -3538,7 +3538,7 @@ function Ra({
|
|
|
3538
3538
|
children: /* @__PURE__ */ g.jsx(
|
|
3539
3539
|
"div",
|
|
3540
3540
|
{
|
|
3541
|
-
onPaste:
|
|
3541
|
+
onPaste: q,
|
|
3542
3542
|
onInput: R,
|
|
3543
3543
|
onKeyDown: T,
|
|
3544
3544
|
onContextMenu: L,
|
|
@@ -3574,9 +3574,9 @@ function Ea({
|
|
|
3574
3574
|
E = s ? !0 : E;
|
|
3575
3575
|
let M = (R) => {
|
|
3576
3576
|
c == null || c({ value: R.target.innerText, name: u });
|
|
3577
|
-
}, K = (R) => {
|
|
3578
|
-
b && R.target.textContent.trim().length >= b && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
3579
3577
|
}, q = (R) => {
|
|
3578
|
+
b && R.target.textContent.trim().length >= b && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
3579
|
+
}, K = (R) => {
|
|
3580
3580
|
R.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
3581
3581
|
if (b) {
|
|
3582
3582
|
let O = R.target.textContent.length;
|
|
@@ -3608,10 +3608,10 @@ function Ea({
|
|
|
3608
3608
|
children: /* @__PURE__ */ g.jsx(
|
|
3609
3609
|
"div",
|
|
3610
3610
|
{
|
|
3611
|
-
onPaste:
|
|
3611
|
+
onPaste: K,
|
|
3612
3612
|
onInput: M,
|
|
3613
3613
|
onBlur: Y,
|
|
3614
|
-
onKeyDown:
|
|
3614
|
+
onKeyDown: q,
|
|
3615
3615
|
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
3616
3616
|
suppressContentEditableWarning: !0,
|
|
3617
3617
|
...L,
|
|
@@ -5024,14 +5024,14 @@ function Oa({
|
|
|
5024
5024
|
let k = document.createRange(), $ = window.getSelection();
|
|
5025
5025
|
k.setStart(h.childNodes[0], W), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
|
|
5026
5026
|
}, M = (W) => {
|
|
5027
|
-
let h =
|
|
5027
|
+
let h = K(W.target.textContent);
|
|
5028
5028
|
W.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== B ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, W.target), _ && _({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5029
|
-
},
|
|
5029
|
+
}, q = (W) => {
|
|
5030
5030
|
W.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5031
5031
|
window.document.execCommand("insertText", !1, h);
|
|
5032
5032
|
}).catch((h) => {
|
|
5033
5033
|
});
|
|
5034
|
-
},
|
|
5034
|
+
}, K = (W) => {
|
|
5035
5035
|
let h = 0, k = "", $ = W.replace(/\D/g, "");
|
|
5036
5036
|
$ === "" && (I = !0);
|
|
5037
5037
|
let G = $.split(""), X = "";
|
|
@@ -5056,7 +5056,7 @@ function Oa({
|
|
|
5056
5056
|
function(h) {
|
|
5057
5057
|
}
|
|
5058
5058
|
);
|
|
5059
|
-
}, Y =
|
|
5059
|
+
}, Y = K(a), R = (W) => {
|
|
5060
5060
|
W.key === "Enter" && W.preventDefault();
|
|
5061
5061
|
};
|
|
5062
5062
|
const T = (W) => {
|
|
@@ -5076,7 +5076,7 @@ function Oa({
|
|
|
5076
5076
|
children: /* @__PURE__ */ g.jsx(
|
|
5077
5077
|
"div",
|
|
5078
5078
|
{
|
|
5079
|
-
onPaste:
|
|
5079
|
+
onPaste: q,
|
|
5080
5080
|
onInput: M,
|
|
5081
5081
|
onKeyDown: R,
|
|
5082
5082
|
onContextMenu: L,
|
|
@@ -5118,12 +5118,12 @@ function Ta({
|
|
|
5118
5118
|
}, [d]);
|
|
5119
5119
|
let M = (L) => {
|
|
5120
5120
|
F(L), s == null || s({ value: L, name: o });
|
|
5121
|
-
},
|
|
5121
|
+
}, q = (L) => {
|
|
5122
5122
|
const Y = L.target.getBoundingClientRect(), R = Y.left, T = Y.bottom, O = Y.top;
|
|
5123
5123
|
B.position = { x: R, b: T, y: O }, E(!0);
|
|
5124
5124
|
};
|
|
5125
|
-
const
|
|
5126
|
-
return S && (
|
|
5125
|
+
const K = {};
|
|
5126
|
+
return S && (K.placeholder = S), p ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5127
5127
|
v ? v() : /* @__PURE__ */ g.jsxs(
|
|
5128
5128
|
"dl",
|
|
5129
5129
|
{
|
|
@@ -5134,9 +5134,9 @@ function Ta({
|
|
|
5134
5134
|
/* @__PURE__ */ g.jsxs(
|
|
5135
5135
|
"dd",
|
|
5136
5136
|
{
|
|
5137
|
-
onClick:
|
|
5137
|
+
onClick: q,
|
|
5138
5138
|
className: [_e.f, _e.w].join(" "),
|
|
5139
|
-
...
|
|
5139
|
+
...K,
|
|
5140
5140
|
"data-edit": (c && u) + "",
|
|
5141
5141
|
children: [
|
|
5142
5142
|
fa(C, "dd.mm.yyyy"),
|
|
@@ -5195,9 +5195,9 @@ const ua = ({
|
|
|
5195
5195
|
P(!1);
|
|
5196
5196
|
}, M = () => {
|
|
5197
5197
|
L(d.m + 1, d.y);
|
|
5198
|
-
},
|
|
5198
|
+
}, q = () => {
|
|
5199
5199
|
L(d.m - 1, d.y);
|
|
5200
|
-
},
|
|
5200
|
+
}, K = (h) => {
|
|
5201
5201
|
_(
|
|
5202
5202
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5203
5203
|
), p();
|
|
@@ -5229,7 +5229,7 @@ const ua = ({
|
|
|
5229
5229
|
style: { top: O + "px", left: W + "px" },
|
|
5230
5230
|
children: [
|
|
5231
5231
|
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
5232
|
-
/* @__PURE__ */ g.jsx("i", { onClick:
|
|
5232
|
+
/* @__PURE__ */ g.jsx("i", { onClick: q, children: /* @__PURE__ */ g.jsx(
|
|
5233
5233
|
"svg",
|
|
5234
5234
|
{
|
|
5235
5235
|
width: "16",
|
|
@@ -5264,7 +5264,7 @@ const ua = ({
|
|
|
5264
5264
|
{
|
|
5265
5265
|
...Y(h),
|
|
5266
5266
|
...R(h),
|
|
5267
|
-
onClick: () =>
|
|
5267
|
+
onClick: () => K(h),
|
|
5268
5268
|
children: h
|
|
5269
5269
|
}
|
|
5270
5270
|
) : /* @__PURE__ */ g.jsx("p", { ...Y(h), ...R(h), children: h !== 0 ? h : "" }) }, k))
|
|
@@ -5333,8 +5333,8 @@ function Da({
|
|
|
5333
5333
|
d(p), _ && _({ value: p, name: c });
|
|
5334
5334
|
}, I = (p) => {
|
|
5335
5335
|
if (!S || !P) return;
|
|
5336
|
-
const M = p.target.getBoundingClientRect(),
|
|
5337
|
-
b.position = { x:
|
|
5336
|
+
const M = p.target.getBoundingClientRect(), q = M.left, K = M.top;
|
|
5337
|
+
b.position = { x: q, y: K }, F(!0);
|
|
5338
5338
|
};
|
|
5339
5339
|
const E = {};
|
|
5340
5340
|
return s && (E.placeholder = s), y || /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
@@ -5481,12 +5481,12 @@ function Pa({
|
|
|
5481
5481
|
let E = !!(P && (a === "" || a === void 0)), p = (O) => C === "multi" ? O.replace(/[^+\d.+-]/g, "") : O.replace(/[^+\d.]/g, ""), M = (O, W) => {
|
|
5482
5482
|
let h = document.createRange(), k = window.getSelection();
|
|
5483
5483
|
h.setStart(W.childNodes[0], O), h.collapse(!0), k.removeAllRanges(), k.addRange(h), W.focus();
|
|
5484
|
-
},
|
|
5484
|
+
}, q = (O) => {
|
|
5485
5485
|
_ == null || _({
|
|
5486
5486
|
value: p(O.target.textContent) * d,
|
|
5487
5487
|
name: c
|
|
5488
5488
|
}), O.target.textContent = p(O.target.textContent), O.target.textContent.length > 0 && M(O.target.textContent.length, O.target);
|
|
5489
|
-
},
|
|
5489
|
+
}, K = (O) => {
|
|
5490
5490
|
ee.Blur(O), O.target.textContent === "" && (O.target.textContent = 0), F == null || F({ value: p(O.target.textContent) * d, name: c }), _ == null || _({
|
|
5491
5491
|
value: p(O.target.textContent) * d,
|
|
5492
5492
|
name: c
|
|
@@ -5514,9 +5514,9 @@ function Pa({
|
|
|
5514
5514
|
"div",
|
|
5515
5515
|
{
|
|
5516
5516
|
...T,
|
|
5517
|
-
onInput:
|
|
5517
|
+
onInput: q,
|
|
5518
5518
|
onPaste: R,
|
|
5519
|
-
onBlur:
|
|
5519
|
+
onBlur: K,
|
|
5520
5520
|
onKeyDown: Y,
|
|
5521
5521
|
onFocus: L,
|
|
5522
5522
|
contentEditable: x && s ? ee.ContentEditable : "false",
|