@flatbiz/pro-layout 5.0.27 → 5.2.1
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.d.ts +2 -31
- package/dist/index.js +107 -133
- package/dist/index.js.map +1 -1
- package/package.json +6 -12
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.bread-wrapper{align-items:center;border-radius:6px;display:flex;justify-content:space-between;margin-bottom:5px;padding:3px 15px 6px 8px}.bread-wrapper .bread{display:inline-block}.bread-wrapper .ant-breadcrumb ol{margin:0;padding:0}.bread-extend{flex:1}.dev-float-help-active,.dev-float-help-active .ant-float-btn-body{background-color:var(--header-bgColor)!important}.dev-float-help-active .ant-float-btn-body:hover{background-color:transparent!important}.header-account{color:unset;cursor:pointer;flex-shrink:0;height:100%;line-height:normal;margin-right:20px}.header-account:hover{background:var(--header-menuSelectedBgColor);color:var(--header-menuSelectedTextColor)}.header-account .header-account-wraper{align-items:center;display:flex;height:100%;padding:0 15px}.header-account .header-account-wraper img.user-avatar{border-radius:100%;height:24px;object-fit:cover;width:24px}.account-dropdown-overlay{box-shadow:0 4px 8px 0 rgba(0,0,0,.08);z-index:900}.layout-brand{align-items:center;background:var(--header-bgColor);color:var(--header-textColor);display:flex;justify-content:center;overflow:hidden;position:relative;transition:all .2s;white-space:nowrap}.brand-logo{background-position:50%;background-repeat:no-repeat;background-size:40px 100%;height:100%;width:40px}.brand-name{font-size:18px;margin-left:15px;white-space:nowrap}.ant-layout-sider-collapsed .layout-brand{display:block;overflow:hidden}.ant-layout-sider-collapsed .brand-logo{width:60px}.flatbiz-layout-main-header{background:var(--header-bgColor);color:var(--header-textColor);display:flex;flex-shrink:0;z-index:10}.flatbiz-layout-system-name{align-items:center;color:unset;display:flex;flex-shrink:0;font-size:18px;margin-left:15px}.flatbiz-layout-header-fill{display:flex;flex:1;justify-content:flex-end;overflow:hidden}.flatbiz-layout-header-fill>.ant-menu{background:unset;border-bottom:none;height:unset}.flatbiz-layout-header-fill>.ant-menu.ant-menu-horizontal{border-bottom:none;line-height:inherit}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item{align-items:center;border-radius:0!important;display:flex}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item:hover:after{border:none}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item:after{border-bottom:0;bottom:12px}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item.ant-menu-item-selected:after{background:var(--header-menuSelectedTextColor);border:none}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected){background:var(--header-menuActiveBgColor)}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected):after{background:var(--header-menuActiveTextColor);border:none}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item-active:after,.flatbiz-layout-header-fill>.ant-menu .ant-menu-item-selected:after{border-radius:3px;bottom:12px;content:"";height:3px;left:50%!important;min-width:22px;position:absolute;transform:translateX(-50%);width:30%}.flatbiz-layout-header-fill>.ant-menu .ant-menu-overflow-item-rest{align-items:center;background-color:transparent!important;display:flex}.flatbiz-layout-header-fill>.ant-menu .ant-menu-overflow-item-rest .ant-menu-submenu-title{color:var(--header-textColor)!important}.flatbiz-layout-header-fill>.ant-menu .ant-menu-overflow-item-rest .ant-menu-submenu-title:hover{color:unset!important}.flatbiz-layout-header-fill>.ant-menu .ant-menu-overflow-item-rest:after{width:0}.flatbiz-layout-topmenu{flex:1;overflow:hidden}.flatbiz-layout-main-header-has-menu .flatbiz-layout-header-fill{justify-content:space-between}.flatbiz-layout-topmenu-overflowed-modal .ant-menu-submenu{background-color:transparent!important}.light-theme .flatbiz-layout-topmenu-overflowed-modal .ant-menu-item{color:#000!important}.dark-theme .flatbiz-layout-topmenu-overflowed-modal .ant-menu-item{color:#fff}.loader{align-items:center;background-color:var(--block-bg-color);bottom:0;display:flex;justify-content:center;left:0;opacity:1;position:absolute;right:0;text-align:center;top:0;z-index:100000}.loader.fullScreen{position:fixed}.loader .loader-wrapper{display:inline-flex;flex-direction:column;height:100px;justify-content:space-around;width:100px}.loader .loader-inner{animation:spinner .6s linear infinite;border:2px solid rgba(0,128,227,.08);border-left-color:rgba(0,84,153,.7);border-radius:50%;height:30px;margin:0 auto;text-indent:-12345px;width:30px;z-index:100001}.loader .loader-text{color:#0080e3;font-size:12px;height:20px;letter-spacing:4px;text-align:center;width:100px}.loader.hidden{display:none}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.page{flex:1;overflow-x:hidden;overflow-y:auto;position:relative}.page-flex{display:flex;flex-direction:column}.page-full{flex:1;overflow-y:auto}.layout-shrink{align-items:center;cursor:pointer;display:flex;font-size:18px;justify-content:center;padding:10px 0;transition:all .3s ease-out}.sider-bar-shrink{background-color:var(--sidebar-bgColor);box-shadow:0 0 17px rgba(0,0,0,.1);color:var(--sidebar-menuSelectedTextColor)}.sider-bar-shrink:hover{color:var(--sidebar-menuSelectedBgColor)}.header-shrink{color:var(--header-textColor);width:50px}.header-shrink:hover{color:var(--header-menuSelectedBgColor)}.icon-change-show-active .menu-icon-img-active{display:block}.icon-change-show-active .menu-icon-img{display:none}.menu-icon-img,.menu-icon-img-active{background-position:0;background-repeat:no-repeat;background-size:100% 100%;display:none;flex-shrink:0;height:16px;width:16px}.menu-icon-img{display:block}.flatbiz-layout-sider{display:flex;flex:1!important;flex-direction:column;height:100%;overflow:hidden;z-index:10}.flatbiz-layout-sider .ant-layout-sider-children{display:flex;flex-direction:column}.flatbiz-layout-sider .ant-layout-sider-children>.ant-menu-root{padding-bottom:30px}.flatbiz-layout-sider .ant-menu-root{flex:1;overflow-x:hidden;overflow-y:auto}.flatbiz-layout-sider .ant-menu-title-content{margin-left:5px}.flatbiz-layout-sider .ant-menu-item-selected .menu-icon-img-active{display:block}.flatbiz-layout-sider .ant-menu-item-selected .menu-icon-img{display:none}.flatbiz-layout-sider .ant-menu-item-active .menu-icon-img-active{display:block}.flatbiz-layout-sider .ant-menu-item-active .menu-icon-img{display:none}.flatbiz-layout-sider .ant-menu-submenu-active .ant-menu-submenu-title .menu-icon-img-active,.flatbiz-layout-sider .ant-menu-submenu-selected .ant-menu-submenu-title .menu-icon-img-active{display:block}.flatbiz-layout-sider .ant-menu-submenu-active .ant-menu-submenu-title .menu-icon-img,.flatbiz-layout-sider .ant-menu-submenu-selected .ant-menu-submenu-title .menu-icon-img{display:none}.flatbiz-layout-sider .ant-menu-light.ant-menu-root.ant-menu-inline,.flatbiz-layout-sider .ant-menu-light.ant-menu-root.ant-menu-vertical{border-inline-end:none}.ant-menu-root.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu-root.ant-menu-inline-collapsed>.ant-menu-submenu .ant-menu-submenu-title{align-items:center;display:flex}.ant-menu-root.ant-menu-inline-collapsed .collapsed-menu-icon-badge+span,.ant-menu-root.ant-menu-inline-collapsed .menu-icon-img-active+span{display:none}.menu-icon-wrapper{align-items:center;display:flex}.flatbiz-layout-sider-submenu-popup .ant-menu-item-selected .menu-icon-img-active{display:block}.flatbiz-layout-sider-submenu-popup .ant-menu-item-selected .menu-icon-img{display:none}.flatbiz-layout-sider-submenu-popup .ant-menu-item-selected .ant-menu-title-content{color:var(--sidebar-menuSelectedTextColor)}.flatbiz-layout-sider-submenu-popup .ant-menu-item-active .menu-icon-img-active{display:block}.flatbiz-layout-sider-submenu-popup .ant-menu-item-active .menu-icon-img{display:none}.flatbiz-layout-sider-submenu-popup .ant-menu-item-active .ant-menu-title-content{color:var(--sidebar-menuSelectedTextColor)}.flatbiz-layout-sider-submenu-popup .ant-menu-item{align-items:center!important;display:flex!important}.flatbiz-layout-sider-submenu-popup .ant-menu-title-content{color:rgba(0,0,0,.88);margin-left:5px}.sider-bar-search{align-items:center;background-color:var(--sidebar-bgColor);display:flex;padding:10px}.sider-bar-search input{background-color:transparent}.sider-bar-search:not(.sider-bar-search-bgfff) input{color:#fff}.sider-bar-search:not(.sider-bar-search-bgfff) input::placeholder{color:#fff}.flatbiz-layout-sider .ant-menu:not(.ant-menu-inline-collapsed) .sider-bar-menu-badge-parent{align-items:center;display:flex;justify-content:center;position:absolute;right:40px;top:50%;transform:translateY(-50%)}.sider-bar-menu-badge{align-items:center;display:flex;justify-content:center;position:absolute;right:15px;top:50%;transform:translateY(-50%)}.iframe-tabs{overflow:hidden;z-index:5}.iframe-tabs .ant-tabs-tab{background:transparent!important;border:none!important;border-radius:0!important;height:38px;margin:0!important;padding:0 16px!important}.iframe-tabs .ant-tabs-tab.ant-tabs-tab-active{background-color:var(--bg-color)!important;border-bottom:none!important}.iframe-tabs .ant-tabs-tab-btn{margin:0 auto}.iframe-tabs .ant-tabs-tab-remove{display:flex;height:16px;margin-left:4px;padding:0;width:16px}.iframe-tabs .tab-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAV5JREFUWEftVTtSwzAQfZuchJqL2KGJDAMFyKkIDZ+GUJGZDNDwafg0QGUbCpjBdkPsg3AALoKXUUhsF8YfKNRYnaTdt2/falcEzYs0x0dLoFWgVaBSAeftfdLtdtaY6UQK47VO23pBvE7g868kcQarK5Myn0oCT2H0wYxlBdIB2ZvC8MoAvTC2wewoGwI+t4S59C8CKhuAXxYgzDy0rd5jEagXREMA99kdbVSpVqmAAnsOYpmA3RzwnhTGXZ6E60f7RLhOz4gGsm/kfIp1qEVAubr+dJuIHrIAPJL93pXae340AuEiF2JHCjOzLalBbQKzQEG8C/BtWg5gPK/1aVYiHNiWeVPnsc5965r+2Hnh9BBMl4VejCNpmcV3v4RppMACww2iYwLSrNU5A2NbmGfN0pl1SvOllYDWEmh9hFrbUOsg0j6KtX9G2r/j5lOimcefBlGzEOXWLYFWgVaBb9EEtCFLbAZ7AAAAAElFTkSuQmCC);background-size:100% 100%;border-radius:100%;display:inline-block;height:100%;width:100%}.iframe-tabs .tab-icon:hover{background-color:#f96868;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAASdJREFUWEftljtOBDEQRF8dhZjrIIhYIpaET8ISsRICEj4JCwkQARGchwNwk0KWvFJrNcN4dpCcjKORu11dXW13j6i8VDk+I4FRgVGBTgVsXwBbwKWkr5Jna3sbuAHeJKXzrauEwDewmREmkj7+ArQ9SYGzz4+kjaEEUjafAWQq6bUJ1PYUeA62nS7VOhVIYLZ3gfcAfCTpKZKwfQw8hL09SfFMoxBFBDKJfeAloMwk3WfbDLgNtgNJ0Xf9O7CS5SHwGPbm+fsq7J1IWpRc1uRTrMAS0PYpcNcS4ExSm21YCVaUOAdi1sk8l3RdmvnSr7cCueb1CFQtge16l9B2vWdYtRHlwVKvFduuPozqjuO+jaWv/1qNqG+QQf8D/xmsCWtUYFSgugK/gSWEIdTkUcAAAAAASUVORK5CYII=");background-size:100% 100%}.iframe-tabs .ant-tabs-nav{background-color:var(--block-bg-color);margin:0!important}.iframe-tabs .ant-tabs-nav:before{border:none!important}.iframe-tabs .ant-tabs-content{height:100%}.iframe-tabs .ant-tabs-extra-content{margin-right:20px}.iframe-tabs .menu-tabs-operate{text-align:center;width:24px}.content-top-menus{margin:0}.content-top-menus .ant-tabs-tab{background:transparent!important;border:none!important;border-radius:0!important;height:38px;margin:0!important;padding:0 16px!important}.content-top-menus .ant-tabs-tab.ant-tabs-tab-active{background-color:var(--bg-color)!important;border-bottom:none!important}.content-top-menus .ant-tabs-nav{background-color:var(--block-bg-color);margin:0!important}.content-top-menus .ant-tabs-nav:before{border:none!important}.iframe-tabs-tab-badge{position:absolute}.iframe-tabs-tab-badge .ant-badge-dot{transform:none!important}.layout-page-wrapper{background:var(--bg-color);flex:1;padding:8px 8px 0}.layout-page,.layout-page-wrapper{height:100%;overflow:hidden;position:relative}.layout-page{display:flex;flex-direction:column}.layout-page-noheader{padding:0}.layout-page-noheader .bread-wrapper{padding:5px 15px 5px 8px}.layout-page-noheader .page{padding:0 8px 8px}#app,#app>.ant-app,body,html{height:100%;margin:0;width:100%}*,:after,:before{box-sizing:border-box}#app{background-color:var(--bg-color)}.flatbiz-layout{bottom:0;display:flex;flex-direction:row;height:100vh;left:0;overflow:auto;position:fixed;right:0;top:0}.flatbiz-layout-main{display:flex;flex:1;overflow:hidden}.flatbiz-layout-main-content{flex:1;overflow-y:auto}.flatbiz-layout-windows ::-webkit-scrollbar,.layout-page-windows ::-webkit-scrollbar,.page-windows ::-webkit-scrollbar{background-color:#eee;height:8px;width:8px}.flatbiz-layout-windows ::-webkit-scrollbar-thumb,.layout-page-windows ::-webkit-scrollbar-thumb,.page-windows ::-webkit-scrollbar-thumb{background-color:#cfcfcf;border-radius:10px}.flatbiz-layout-windows ::-webkit-scrollbar-thumb:hover,.layout-page-windows ::-webkit-scrollbar-thumb:hover,.page-windows ::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}.flatbiz-layout-windows ::-webkit-scrollbar-thumb:active,.layout-page-windows ::-webkit-scrollbar-thumb:active,.page-windows ::-webkit-scrollbar-thumb:active{background-color:#787878}
|
|
1
|
+
.bread-wrapper{align-items:center;border-radius:6px;display:flex;justify-content:space-between;margin-bottom:5px;padding:3px 15px 6px 8px}.bread-wrapper .bread{display:inline-block}.bread-wrapper .ant-breadcrumb ol{margin:0;padding:0}.bread-extend{flex:1}.dev-float-help-active,.dev-float-help-active .ant-float-btn-body{background-color:var(--header-bgColor)!important}.dev-float-help-active .ant-float-btn-body:hover{background-color:transparent!important}.header-account{color:unset;cursor:pointer;flex-shrink:0;height:100%;line-height:normal;margin-right:20px}.header-account:hover{background:var(--header-menuSelectedBgColor);color:var(--header-menuSelectedTextColor)}.header-account .header-account-wraper{align-items:center;display:flex;height:100%;padding:0 15px}.header-account .header-account-wraper img.user-avatar{border-radius:100%;height:20px;object-fit:cover;width:20px}.header-account .header-account-wraper>.ant-space{background-color:rgba(0,0,0,.3);border-radius:100px;padding:5px 10px}.account-dropdown-overlay{box-shadow:0 4px 8px 0 rgba(0,0,0,.08);z-index:900}.layout-brand{align-items:center;background:var(--header-bgColor);color:var(--header-textColor);display:flex;justify-content:center;overflow:hidden;position:relative;transition:all .2s;white-space:nowrap}.brand-logo{background-position:50%;background-repeat:no-repeat;background-size:40px 100%;height:100%;width:40px}.brand-name{font-size:18px;margin-left:15px;white-space:nowrap}.ant-layout-sider-collapsed .layout-brand{display:block;overflow:hidden}.ant-layout-sider-collapsed .brand-logo{width:60px}.flatbiz-layout-main-header{background:var(--header-bgColor);color:var(--header-textColor);display:flex;flex-shrink:0;z-index:10}.flatbiz-layout-system-name{align-items:center;color:unset;display:flex;flex-shrink:0;font-size:18px;margin-left:15px}.flatbiz-layout-header-fill{display:flex;flex:1;justify-content:flex-end;overflow:hidden}.flatbiz-layout-header-fill>.ant-menu{background:unset;border-bottom:none;height:unset}.flatbiz-layout-header-fill>.ant-menu.ant-menu-horizontal{border-bottom:none;line-height:inherit}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item{align-items:center;border-radius:0!important;display:flex}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item:hover:after{border:none}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item:after{border-bottom:0;bottom:12px}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item.ant-menu-item-selected:after{background:var(--header-menuSelectedTextColor);border:none}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected){background:var(--header-menuActiveBgColor)}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected):after{background:var(--header-menuActiveTextColor);border:none}.flatbiz-layout-header-fill>.ant-menu .ant-menu-item-active:after,.flatbiz-layout-header-fill>.ant-menu .ant-menu-item-selected:after{border-radius:3px;bottom:12px;content:"";height:3px;left:50%!important;min-width:22px;position:absolute;transform:translateX(-50%);width:30%}.flatbiz-layout-header-fill>.ant-menu .ant-menu-overflow-item-rest{align-items:center;background-color:transparent!important;display:flex}.flatbiz-layout-header-fill>.ant-menu .ant-menu-overflow-item-rest .ant-menu-submenu-title{color:var(--header-textColor)!important}.flatbiz-layout-header-fill>.ant-menu .ant-menu-overflow-item-rest .ant-menu-submenu-title:hover{color:unset!important}.flatbiz-layout-header-fill>.ant-menu .ant-menu-overflow-item-rest:after{width:0}.flatbiz-layout-topmenu{flex:1;overflow:hidden}.flatbiz-layout-main-header-has-menu .flatbiz-layout-header-fill{justify-content:space-between}.flatbiz-layout-topmenu-overflowed-modal .ant-menu-submenu{background-color:transparent!important}.light-theme .flatbiz-layout-topmenu-overflowed-modal .ant-menu-item{color:#000!important}.dark-theme .flatbiz-layout-topmenu-overflowed-modal .ant-menu-item{color:#fff}.loader{align-items:center;background-color:var(--block-bg-color);bottom:0;display:flex;justify-content:center;left:0;opacity:1;position:absolute;right:0;text-align:center;top:0;z-index:100000}.loader.fullScreen{position:fixed}.loader .loader-wrapper{display:inline-flex;flex-direction:column;height:100px;justify-content:space-around;width:100px}.loader .loader-inner{animation:spinner .6s linear infinite;border:2px solid rgba(0,128,227,.08);border-left-color:rgba(0,84,153,.7);border-radius:50%;height:30px;margin:0 auto;text-indent:-12345px;width:30px;z-index:100001}.loader .loader-text{color:#0080e3;font-size:12px;height:20px;letter-spacing:4px;text-align:center;width:100px}.loader.hidden{display:none}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.page{flex:1;overflow-x:hidden;overflow-y:auto;position:relative}.page-flex{display:flex;flex-direction:column}.page-full{flex:1;overflow-y:auto}.layout-shrink{align-items:center;cursor:pointer;display:flex;font-size:18px;justify-content:center;padding:10px 0;transition:all .3s ease-out}.sider-bar-shrink{background-color:var(--sidebar-bgColor);box-shadow:0 0 17px rgba(0,0,0,.1);color:var(--sidebar-menuSelectedTextColor)}.sider-bar-shrink:hover{color:var(--sidebar-menuSelectedBgColor)}.header-shrink{color:var(--header-textColor);width:50px}.header-shrink:hover{color:var(--header-menuSelectedBgColor)}.icon-change-show-active .menu-icon-img-active{display:block}.icon-change-show-active .menu-icon-img{display:none}.menu-icon-img,.menu-icon-img-active{background-position:0;background-repeat:no-repeat;background-size:100% 100%;display:none;flex-shrink:0;height:16px;width:16px}.menu-icon-img{display:block}.flatbiz-layout-sider{display:flex;flex:1!important;flex-direction:column;height:100%;overflow:hidden;z-index:10}.flatbiz-layout-sider .ant-layout-sider-children{display:flex;flex-direction:column}.flatbiz-layout-sider .ant-layout-sider-children>.ant-menu-root{padding-bottom:30px}.flatbiz-layout-sider .ant-menu-root{flex:1;overflow-x:hidden;overflow-y:auto}.flatbiz-layout-sider .ant-menu-title-content{margin-left:5px}.flatbiz-layout-sider .ant-menu-item-selected .menu-icon-img-active{display:block}.flatbiz-layout-sider .ant-menu-item-selected .menu-icon-img{display:none}.flatbiz-layout-sider .ant-menu-item-active .menu-icon-img-active{display:block}.flatbiz-layout-sider .ant-menu-item-active .menu-icon-img{display:none}.flatbiz-layout-sider .ant-menu-submenu-active .ant-menu-submenu-title .menu-icon-img-active,.flatbiz-layout-sider .ant-menu-submenu-selected .ant-menu-submenu-title .menu-icon-img-active{display:block}.flatbiz-layout-sider .ant-menu-submenu-active .ant-menu-submenu-title .menu-icon-img,.flatbiz-layout-sider .ant-menu-submenu-selected .ant-menu-submenu-title .menu-icon-img{display:none}.flatbiz-layout-sider .ant-menu-light.ant-menu-root.ant-menu-inline,.flatbiz-layout-sider .ant-menu-light.ant-menu-root.ant-menu-vertical{border-inline-end:none}.ant-menu-root.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu-root.ant-menu-inline-collapsed>.ant-menu-submenu .ant-menu-submenu-title{align-items:center;display:flex}.ant-menu-root.ant-menu-inline-collapsed .collapsed-menu-icon-badge+span,.ant-menu-root.ant-menu-inline-collapsed .menu-icon-img-active+span{display:none}.menu-icon-wrapper{align-items:center;display:flex}.flatbiz-layout-sider-submenu-popup .ant-menu-item-selected .menu-icon-img-active{display:block}.flatbiz-layout-sider-submenu-popup .ant-menu-item-selected .menu-icon-img{display:none}.flatbiz-layout-sider-submenu-popup .ant-menu-item-selected .ant-menu-title-content{color:var(--sidebar-menuSelectedTextColor)}.flatbiz-layout-sider-submenu-popup .ant-menu-item-active .menu-icon-img-active{display:block}.flatbiz-layout-sider-submenu-popup .ant-menu-item-active .menu-icon-img{display:none}.flatbiz-layout-sider-submenu-popup .ant-menu-item-active .ant-menu-title-content{color:var(--sidebar-menuSelectedTextColor)}.flatbiz-layout-sider-submenu-popup .ant-menu-item{align-items:center!important;display:flex!important}.flatbiz-layout-sider-submenu-popup .ant-menu-title-content{color:rgba(0,0,0,.88);margin-left:5px}.sider-bar-search{align-items:center;background-color:var(--sidebar-bgColor);display:flex;padding:10px}.sider-bar-search input{background-color:transparent}.sider-bar-search:not(.sider-bar-search-bgfff) input{color:#fff}.sider-bar-search:not(.sider-bar-search-bgfff) input::placeholder{color:#fff}.flatbiz-layout-sider .ant-menu:not(.ant-menu-inline-collapsed) .sider-bar-menu-badge-parent{align-items:center;display:flex;justify-content:center;position:absolute;right:40px;top:50%;transform:translateY(-50%)}.sider-bar-menu-badge{align-items:center;display:flex;justify-content:center;position:absolute;right:15px;top:50%;transform:translateY(-50%)}.iframe-tabs{overflow:hidden;z-index:5}.iframe-tabs .ant-tabs-tab{background:transparent!important;border:none!important;border-radius:0!important;height:38px;margin:0!important;padding:0 16px!important}.iframe-tabs .ant-tabs-tab.ant-tabs-tab-active{background-color:var(--bg-color)!important;border-bottom:none!important}.iframe-tabs .ant-tabs-tab-btn{margin:0 auto}.iframe-tabs .ant-tabs-tab-remove{display:flex;height:16px;margin-left:4px;padding:0;width:16px}.iframe-tabs .tab-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAV5JREFUWEftVTtSwzAQfZuchJqL2KGJDAMFyKkIDZ+GUJGZDNDwafg0QGUbCpjBdkPsg3AALoKXUUhsF8YfKNRYnaTdt2/falcEzYs0x0dLoFWgVaBSAeftfdLtdtaY6UQK47VO23pBvE7g868kcQarK5Myn0oCT2H0wYxlBdIB2ZvC8MoAvTC2wewoGwI+t4S59C8CKhuAXxYgzDy0rd5jEagXREMA99kdbVSpVqmAAnsOYpmA3RzwnhTGXZ6E60f7RLhOz4gGsm/kfIp1qEVAubr+dJuIHrIAPJL93pXae340AuEiF2JHCjOzLalBbQKzQEG8C/BtWg5gPK/1aVYiHNiWeVPnsc5965r+2Hnh9BBMl4VejCNpmcV3v4RppMACww2iYwLSrNU5A2NbmGfN0pl1SvOllYDWEmh9hFrbUOsg0j6KtX9G2r/j5lOimcefBlGzEOXWLYFWgVaBb9EEtCFLbAZ7AAAAAElFTkSuQmCC);background-size:100% 100%;border-radius:100%;display:inline-block;height:100%;width:100%}.iframe-tabs .tab-icon:hover{background-color:#f96868;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAASdJREFUWEftljtOBDEQRF8dhZjrIIhYIpaET8ISsRICEj4JCwkQARGchwNwk0KWvFJrNcN4dpCcjKORu11dXW13j6i8VDk+I4FRgVGBTgVsXwBbwKWkr5Jna3sbuAHeJKXzrauEwDewmREmkj7+ArQ9SYGzz4+kjaEEUjafAWQq6bUJ1PYUeA62nS7VOhVIYLZ3gfcAfCTpKZKwfQw8hL09SfFMoxBFBDKJfeAloMwk3WfbDLgNtgNJ0Xf9O7CS5SHwGPbm+fsq7J1IWpRc1uRTrMAS0PYpcNcS4ExSm21YCVaUOAdi1sk8l3RdmvnSr7cCueb1CFQtge16l9B2vWdYtRHlwVKvFduuPozqjuO+jaWv/1qNqG+QQf8D/xmsCWtUYFSgugK/gSWEIdTkUcAAAAAASUVORK5CYII=");background-size:100% 100%}.iframe-tabs .ant-tabs-nav{background-color:var(--block-bg-color);margin:0!important}.iframe-tabs .ant-tabs-nav:before{border:none!important}.iframe-tabs .ant-tabs-content{height:100%}.iframe-tabs .ant-tabs-extra-content{margin-right:20px}.iframe-tabs .menu-tabs-operate{text-align:center;width:24px}.content-top-menus{margin:0}.content-top-menus .ant-tabs-tab{background:transparent!important;border:none!important;border-radius:0!important;height:38px;margin:0!important;padding:0 16px!important}.content-top-menus .ant-tabs-tab.ant-tabs-tab-active{background-color:var(--bg-color)!important;border-bottom:none!important}.content-top-menus .ant-tabs-nav{background-color:var(--block-bg-color);margin:0!important}.content-top-menus .ant-tabs-nav:before{border:none!important}.iframe-tabs-tab-badge{position:absolute}.iframe-tabs-tab-badge .ant-badge-dot{transform:none!important}.layout-page-wrapper{background:var(--bg-color);flex:1;padding:8px 8px 0}.layout-page,.layout-page-wrapper{height:100%;overflow:hidden;position:relative}.layout-page{display:flex;flex-direction:column}.layout-page-noheader{padding:0}.layout-page-noheader .bread-wrapper{padding:5px 15px 5px 8px}.layout-page-noheader .page{padding:0 8px 8px}#app,#app>.ant-app,body,html{height:100%;margin:0;width:100%}*,:after,:before{box-sizing:border-box}#app{background-color:var(--bg-color)}.flatbiz-layout{bottom:0;display:flex;flex-direction:row;height:100vh;left:0;overflow:auto;position:fixed;right:0;top:0}.flatbiz-layout-main{display:flex;flex:1;overflow:hidden}.flatbiz-layout-main-content{flex:1;overflow-y:auto}.flatbiz-layout-windows ::-webkit-scrollbar,.layout-page-windows ::-webkit-scrollbar,.page-windows ::-webkit-scrollbar{background-color:#eee;height:8px;width:8px}.flatbiz-layout-windows ::-webkit-scrollbar-thumb,.layout-page-windows ::-webkit-scrollbar-thumb,.page-windows ::-webkit-scrollbar-thumb{background-color:#cfcfcf;border-radius:10px}.flatbiz-layout-windows ::-webkit-scrollbar-thumb:hover,.layout-page-windows ::-webkit-scrollbar-thumb:hover,.page-windows ::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}.flatbiz-layout-windows ::-webkit-scrollbar-thumb:active,.layout-page-windows ::-webkit-scrollbar-thumb:active,.page-windows ::-webkit-scrollbar-thumb:active{background-color:#787878}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ModelType } from '@dimjs/model';
|
|
2
1
|
import { ButtonWrapperProps, ConfigProviderWrapperProps } from '@flatbiz/antd';
|
|
3
2
|
import { TAny, TPlainObject } from '@flatbiz/utils';
|
|
4
3
|
import { BreadcrumbProps, MenuProps } from 'antd';
|
|
@@ -522,26 +521,8 @@ export type BootstrapOptions = {
|
|
|
522
521
|
}) => void;
|
|
523
522
|
/** 初始化ErrorBoundary异常重置回调 */
|
|
524
523
|
onErrorReset?: (...args: any[]) => void;
|
|
525
|
-
/**
|
|
526
|
-
* model全局异常服务拦截,是否禁用全局异常处理
|
|
527
|
-
* @deprecated 已过期,判断业务中是否使用了model的全局异常拦截功能,如果没有使用可删除
|
|
528
|
-
*/
|
|
529
|
-
disableErrorHandling?: boolean;
|
|
530
|
-
/**
|
|
531
|
-
* model全局异常服务拦截,自定义ErrorHandling
|
|
532
|
-
* @deprecated 已过期,判断业务中是否使用了model的全局异常拦截功能,如果没有使用可删除
|
|
533
|
-
*/
|
|
534
|
-
ErrorHandling?: (() => JSX.Element) | null;
|
|
535
|
-
/**
|
|
536
|
-
* model全局异常服务拦截,session 失效处理
|
|
537
|
-
* @deprecated 已过期,判断业务中是否使用了model的全局异常拦截功能,如果没有使用可删除
|
|
538
|
-
*/
|
|
524
|
+
/** session 失效处理 */
|
|
539
525
|
onSessionExpired?: (user: TAdminUser, hostUrl: string) => void;
|
|
540
|
-
/**
|
|
541
|
-
* model全局异常服务拦截,判断是否session失效,返回true则失效
|
|
542
|
-
* @deprecated 已过期,判断业务中是否使用了model的全局异常拦截功能,如果没有使用可删除
|
|
543
|
-
*/
|
|
544
|
-
verifySessionExpired?: (err: any) => boolean;
|
|
545
526
|
/**
|
|
546
527
|
* sidebar菜单层级限制,层级以外的一级菜单会显示在内容区顶部
|
|
547
528
|
* ```
|
|
@@ -647,7 +628,6 @@ export interface LeaveMenuProps {
|
|
|
647
628
|
* name: '详情',
|
|
648
629
|
* },
|
|
649
630
|
* };
|
|
650
|
-
* 2. 在后续版本中会废弃`全局拦截model异常处理功能`,废弃ErrorHandling、onSessionExpired、verifySessionExpired三个属性的使用
|
|
651
631
|
* ```
|
|
652
632
|
*/
|
|
653
633
|
export declare const bootstrap: (options: BootstrapOptions) => void;
|
|
@@ -792,16 +772,7 @@ export declare const LayoutPage: (props: {
|
|
|
792
772
|
showProdEnvGuide: BootstrapOptions["showProdEnvGuide"];
|
|
793
773
|
developmentEnvGuideConfigs: BootstrapOptions["developmentEnvGuideConfigs"];
|
|
794
774
|
}) => import("react").JSX.Element;
|
|
795
|
-
export
|
|
796
|
-
isDark?: boolean;
|
|
797
|
-
};
|
|
798
|
-
export type ActionParams = {
|
|
799
|
-
onSetTheme: "dark" | "light";
|
|
800
|
-
};
|
|
801
|
-
export declare const ProLayoutModel: ModelType<IState, ActionParams>;
|
|
802
|
-
export declare const proLayoutModels: import("@dimjs/model").APIs<{
|
|
803
|
-
ProLayoutModel: ModelType<IState, ActionParams>;
|
|
804
|
-
}>;
|
|
775
|
+
export declare const onUpdateTheme: (theme: "dark" | "light") => void;
|
|
805
776
|
/**
|
|
806
777
|
* 获取iframeTab下的唯一值,iframeTab未删除时,唯一值不变,iframeTab删除后再打开,唯一值变化
|
|
807
778
|
*/
|
package/dist/index.js
CHANGED
|
@@ -2,32 +2,34 @@
|
|
|
2
2
|
import './index.css';
|
|
3
3
|
/*! @flatjs/forge MIT @flatbiz/pro-layout */
|
|
4
4
|
|
|
5
|
-
import { App as App$1, Breadcrumb, FloatButton, Result, Button,
|
|
5
|
+
import { App as App$1, Breadcrumb, FloatButton, Result, Button, Dropdown, Space, Menu, Badge, Layout, message as message$1, Tabs, Typography, theme } from 'antd';
|
|
6
6
|
import { classNames } from '@dimjs/utils/class-names/class-names';
|
|
7
|
-
import {
|
|
7
|
+
import { useEffect, useMemo, Fragment, Children, cloneElement, forwardRef, useState, useImperativeHandle, isValidElement, Suspense, useRef, memo, Component } from 'react';
|
|
8
8
|
import { useParams, useLocation, useSearchParams, matchPath, Link, useNavigate, Routes, Route, Navigate, BrowserRouter } from 'react-router-dom';
|
|
9
9
|
import { getGlobalData, sessionStorageCache, ensureSlash as ensureSlash$1, removeSlash, toLinkPath, isHttpUri, toArray, urlJoinMulti, urlJoin, isWindowsEnv, valueIsEqual, toLinkPathWithQuery, openNewWindow, treeToArray, cloneObject, getUuid, EventEmitter, treeFilter, arrayFindByLoosely, arrayFindIndexByLoosely, isUndefinedOrNull, localStorageCache } from '@flatbiz/utils';
|
|
10
|
-
import {
|
|
10
|
+
import { fbaHooks } from '@flatbiz/antd/fba-hooks';
|
|
11
11
|
import { parse } from '@dimjs/utils/json/parse';
|
|
12
|
+
import { useMemoizedFn, useUpdateEffect, useDebounceFn } from 'ahooks';
|
|
12
13
|
import { isArray } from '@dimjs/lang/is-array';
|
|
13
14
|
import { pick } from '@dimjs/utils/pick/pick';
|
|
14
15
|
import { paramStrToJson } from '@dimjs/utils/uri/param-str-to-json';
|
|
15
16
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
17
|
+
import { ButtonWrapper } from '@flatbiz/antd/button-wrapper';
|
|
16
18
|
import { isPromise } from '@dimjs/lang/is-promise';
|
|
17
|
-
import { ButtonWrapper, fbaHooks, ConfigProviderWrapper, SvgHttpView, InputWrapper, IconWrapper, Gap, FbaApp } from '@flatbiz/antd';
|
|
18
19
|
import { modifyQueryString } from '@dimjs/utils/uri/modify-query-string';
|
|
19
20
|
import { uriParse } from '@dimjs/utils/uri/uri-parse';
|
|
20
21
|
import { isUndefined } from '@dimjs/lang/is-undefined';
|
|
21
22
|
import { isFragment } from 'react-is';
|
|
22
|
-
import { createCtx as createCtx$1 } from '@wove/react/create-ctx';
|
|
23
23
|
import { createRoot } from 'react-dom/client';
|
|
24
|
+
import { ConfigProviderWrapper } from '@flatbiz/antd/config-provider-wrapper';
|
|
25
|
+
import { FbaApp } from '@flatbiz/antd/fba-app';
|
|
24
26
|
import { getQueryString } from '@dimjs/utils/uri/get-query-string';
|
|
25
27
|
import { extend } from '@dimjs/utils/extend/extend';
|
|
26
28
|
import { get } from '@dimjs/utils/get/get';
|
|
27
29
|
import { isString } from '@dimjs/lang/is-string';
|
|
28
|
-
import { exception } from '@wove/react/exception';
|
|
29
30
|
import _CloseOutlined from '@ant-design/icons/es/icons/CloseOutlined.js';
|
|
30
31
|
import { useMediaQuery } from 'react-responsive';
|
|
32
|
+
import { SvgHttpView } from '@flatbiz/antd/svg-http-view';
|
|
31
33
|
import { findAncestors } from '@dimjs/utils/tree/find-ancestors';
|
|
32
34
|
import { getEnvName } from '@dimjs/utils/env/get-env-name';
|
|
33
35
|
import { isPlainObject } from '@dimjs/lang/is-plain-object';
|
|
@@ -35,11 +37,13 @@ import _MenuFoldOutlined from '@ant-design/icons/es/icons/MenuFoldOutlined.js';
|
|
|
35
37
|
import _MenuUnfoldOutlined from '@ant-design/icons/es/icons/MenuUnfoldOutlined.js';
|
|
36
38
|
import _UserOutlined from '@ant-design/icons/es/icons/UserOutlined.js';
|
|
37
39
|
import _LogoutOutlined from '@ant-design/icons/es/icons/LogoutOutlined.js';
|
|
40
|
+
import { IconWrapper } from '@flatbiz/antd/icon-wrapper';
|
|
41
|
+
import { InputWrapper } from '@flatbiz/antd/input-wrapper';
|
|
42
|
+
import { Gap } from '@flatbiz/antd/gap';
|
|
38
43
|
import _CaretDownOutlined from '@ant-design/icons/es/icons/CaretDownOutlined.js';
|
|
39
44
|
import _LoadingOutlined from '@ant-design/icons/es/icons/LoadingOutlined.js';
|
|
40
45
|
import _RedoOutlined from '@ant-design/icons/es/icons/RedoOutlined.js';
|
|
41
46
|
import { arrayRemove } from '@dimjs/utils/array/array-remove';
|
|
42
|
-
import { Model } from '@dimjs/model-react';
|
|
43
47
|
|
|
44
48
|
var message;
|
|
45
49
|
var notification;
|
|
@@ -232,28 +236,14 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
232
236
|
}
|
|
233
237
|
}
|
|
234
238
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
if (c === undefined) throw new Error('useCtx must be inside a Provider with a value');
|
|
244
|
-
return c;
|
|
245
|
-
}
|
|
246
|
-
return [useCtx, ctx.Provider]; // 'as const' makes TypeScript infer a tuple
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
var _createCtx$1 = createCtx(),
|
|
250
|
-
_createCtx2$1 = _slicedToArray(_createCtx$1, 2),
|
|
251
|
-
useLayoutCtx = _createCtx2$1[0],
|
|
252
|
-
LayoutProvider = _createCtx2$1[1];
|
|
253
|
-
var _createCtx3 = createCtx(),
|
|
254
|
-
_createCtx4 = _slicedToArray(_createCtx3, 2),
|
|
255
|
-
bootstrapCtx = _createCtx4[0],
|
|
256
|
-
BootstrapCtx = _createCtx4[1];
|
|
239
|
+
var _fbaHooks$createCtx$1 = fbaHooks.createCtx(),
|
|
240
|
+
_fbaHooks$createCtx2$1 = _slicedToArray(_fbaHooks$createCtx$1, 2),
|
|
241
|
+
useLayoutCtx = _fbaHooks$createCtx2$1[0],
|
|
242
|
+
LayoutProvider = _fbaHooks$createCtx2$1[1];
|
|
243
|
+
var _fbaHooks$createCtx3 = fbaHooks.createCtx(),
|
|
244
|
+
_fbaHooks$createCtx4 = _slicedToArray(_fbaHooks$createCtx3, 2),
|
|
245
|
+
bootstrapCtx = _fbaHooks$createCtx4[0],
|
|
246
|
+
BootstrapCtx = _fbaHooks$createCtx4[1];
|
|
257
247
|
|
|
258
248
|
var IFrameEvents = /*#__PURE__*/function (IFrameEvents) {
|
|
259
249
|
/**
|
|
@@ -583,7 +573,7 @@ var useIframe = function useIframe() {
|
|
|
583
573
|
var onReceivedMessageCallback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function () {
|
|
584
574
|
/** */
|
|
585
575
|
};
|
|
586
|
-
var callbackRef =
|
|
576
|
+
var callbackRef = useMemoizedFn(onReceivedMessageCallback);
|
|
587
577
|
useEffect(function () {
|
|
588
578
|
iframeEvent.off(IFrameEvents.messageReceived, callbackRef).on(IFrameEvents.messageReceived, callbackRef);
|
|
589
579
|
return function () {
|
|
@@ -1266,7 +1256,7 @@ var HistoryBackButton = function HistoryBackButton(props) {
|
|
|
1266
1256
|
console.warn("\u672A\u83B7\u53D6\u5230\u9762\u5305\u5C51\u6570\u636E\uFF0C\u65E0\u8FD4\u56DE\u94FE\u63A5");
|
|
1267
1257
|
}
|
|
1268
1258
|
};
|
|
1269
|
-
var onClick =
|
|
1259
|
+
var onClick = useMemoizedFn(function (event) {
|
|
1270
1260
|
var _props$onClick;
|
|
1271
1261
|
var result = props === null || props === void 0 || (_props$onClick = props.onClick) === null || _props$onClick === void 0 ? void 0 : _props$onClick.call(props, event);
|
|
1272
1262
|
if (result && isPromise(result)) {
|
|
@@ -1351,7 +1341,7 @@ var Page = function Page(props) {
|
|
|
1351
1341
|
'page-flex': !isUndefined(props.fullIndex),
|
|
1352
1342
|
'page-windows': isWindows
|
|
1353
1343
|
}, props.className);
|
|
1354
|
-
var backTopTarget =
|
|
1344
|
+
var backTopTarget = useMemoizedFn(function () {
|
|
1355
1345
|
if (!isUndefined(props.fullIndex)) {
|
|
1356
1346
|
return document.querySelector('.page-full');
|
|
1357
1347
|
}
|
|
@@ -1383,10 +1373,10 @@ var Page = function Page(props) {
|
|
|
1383
1373
|
});
|
|
1384
1374
|
};
|
|
1385
1375
|
|
|
1386
|
-
var
|
|
1387
|
-
|
|
1388
|
-
usePageWrapperCtx =
|
|
1389
|
-
PageWrapperCtxProvider =
|
|
1376
|
+
var _fbaHooks$createCtx = fbaHooks.createCtx(),
|
|
1377
|
+
_fbaHooks$createCtx2 = _slicedToArray(_fbaHooks$createCtx, 2),
|
|
1378
|
+
usePageWrapperCtx = _fbaHooks$createCtx2[0],
|
|
1379
|
+
PageWrapperCtxProvider = _fbaHooks$createCtx2[1];
|
|
1390
1380
|
|
|
1391
1381
|
var _excluded$2 = ["respData"],
|
|
1392
1382
|
_excluded2 = ["serviceConfig", "isAsync", "errorRender"];
|
|
@@ -1473,13 +1463,13 @@ var PageWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
1473
1463
|
});
|
|
1474
1464
|
};
|
|
1475
1465
|
fbaHooks.useEffectCustomAsync(onRequest, []);
|
|
1476
|
-
var onReload =
|
|
1466
|
+
var onReload = useMemoizedFn(function () {
|
|
1477
1467
|
setResult({
|
|
1478
1468
|
status: 'loading'
|
|
1479
1469
|
});
|
|
1480
1470
|
void onRequest();
|
|
1481
1471
|
});
|
|
1482
|
-
var onRefresh =
|
|
1472
|
+
var onRefresh = useMemoizedFn(function () {
|
|
1483
1473
|
setAgainRefresh(true);
|
|
1484
1474
|
onRequest().finally(function () {
|
|
1485
1475
|
setAgainRefresh(false);
|
|
@@ -1748,35 +1738,12 @@ var ContentLayoutCheck = function ContentLayoutCheck(props) {
|
|
|
1748
1738
|
return props.children;
|
|
1749
1739
|
};
|
|
1750
1740
|
|
|
1751
|
-
var ErrorHandling = function ErrorHandling(props) {
|
|
1752
|
-
var iframeApi = useIframe();
|
|
1753
|
-
// 可以通过`isFabricException(error)`获取异常类型进行过滤 action里面throw new FabricException()
|
|
1754
|
-
var _exception$useExcepti = exception.useException(),
|
|
1755
|
-
_exception$useExcepti2 = _slicedToArray(_exception$useExcepti, 2),
|
|
1756
|
-
error = _exception$useExcepti2[0],
|
|
1757
|
-
clearError = _exception$useExcepti2[1];
|
|
1758
|
-
hooks.useUpdateEffect(function () {
|
|
1759
|
-
if (error && error.message) {
|
|
1760
|
-
var _props$verifySessionE;
|
|
1761
|
-
clearError();
|
|
1762
|
-
if ((_props$verifySessionE = props.verifySessionExpired) !== null && _props$verifySessionE !== void 0 && _props$verifySessionE.call(props, error)) {
|
|
1763
|
-
iframeApi.postMessage({
|
|
1764
|
-
type: 'session_expired'
|
|
1765
|
-
});
|
|
1766
|
-
return;
|
|
1767
|
-
}
|
|
1768
|
-
void message$1.error(error.message);
|
|
1769
|
-
}
|
|
1770
|
-
}, [error]);
|
|
1771
|
-
return null;
|
|
1772
|
-
};
|
|
1773
|
-
|
|
1774
1741
|
var IframeTabRoutesTiming = function IframeTabRoutesTiming() {
|
|
1775
1742
|
var iframeApi = useIframe();
|
|
1776
1743
|
var _useLocation = useLocation(),
|
|
1777
1744
|
pathname = _useLocation.pathname,
|
|
1778
1745
|
search = _useLocation.search;
|
|
1779
|
-
|
|
1746
|
+
useUpdateEffect(function () {
|
|
1780
1747
|
iframeApi.tabItemHistoryChange(location.href);
|
|
1781
1748
|
}, [pathname, search]);
|
|
1782
1749
|
return /*#__PURE__*/jsx(Fragment, {});
|
|
@@ -1949,13 +1916,10 @@ var LayoutPage = function LayoutPage(props) {
|
|
|
1949
1916
|
var AppNoLayout = function AppNoLayout(props) {
|
|
1950
1917
|
useAntdApp();
|
|
1951
1918
|
var LayoutContent = props.LayoutComponent || LayoutPage;
|
|
1952
|
-
var ErrorHandlingRender = props.ErrorHandling || ErrorHandling;
|
|
1953
1919
|
return /*#__PURE__*/jsx(ContentLayoutCheck, {
|
|
1954
1920
|
layoutMode: props.iframeTabAloneView ? undefined : props.layoutMode,
|
|
1955
1921
|
children: /*#__PURE__*/jsxs(Fragment, {
|
|
1956
|
-
children: [props.
|
|
1957
|
-
verifySessionExpired: props.verifySessionExpired
|
|
1958
|
-
}), props.layoutMode === 'iframe-tab' && /*#__PURE__*/jsx(IframeTabRoutesTiming, {}), /*#__PURE__*/jsx(LayoutContent, {
|
|
1922
|
+
children: [props.layoutMode === 'iframe-tab' && /*#__PURE__*/jsx(IframeTabRoutesTiming, {}), /*#__PURE__*/jsx(LayoutContent, {
|
|
1959
1923
|
hideHeader: props.hideHeader,
|
|
1960
1924
|
className: props.layoutPageClassName,
|
|
1961
1925
|
showDevFloatHelp: props.layoutMode != 'iframe-tab' && props.hidenEnvGuide !== true,
|
|
@@ -2445,7 +2409,7 @@ var getIframeTabName = function getIframeTabName(pathOrUrl, initName) {
|
|
|
2445
2409
|
|
|
2446
2410
|
var Shrink = function Shrink(props) {
|
|
2447
2411
|
var layoutCtx = useLayoutCtx();
|
|
2448
|
-
var onCollapseClick =
|
|
2412
|
+
var onCollapseClick = useMemoizedFn(function () {
|
|
2449
2413
|
// 设置手动控制侧边栏菜单收缩
|
|
2450
2414
|
if (layoutCtx.collapsed) {
|
|
2451
2415
|
var _layoutCtx$onShrinkCh;
|
|
@@ -2475,9 +2439,9 @@ var Shrink = function Shrink(props) {
|
|
|
2475
2439
|
|
|
2476
2440
|
var HeaderAccount = function HeaderAccount() {
|
|
2477
2441
|
var _layoutCtx$onCustomUs2, _global$user2;
|
|
2478
|
-
var global =
|
|
2442
|
+
var global = getGlobalData();
|
|
2479
2443
|
var layoutCtx = useLayoutCtx();
|
|
2480
|
-
var onSignOutHandle =
|
|
2444
|
+
var onSignOutHandle = useMemoizedFn(function () {
|
|
2481
2445
|
var _layoutCtx$onSignOut;
|
|
2482
2446
|
// 清除缓存
|
|
2483
2447
|
clearStorage();
|
|
@@ -2515,8 +2479,9 @@ var HeaderAccount = function HeaderAccount() {
|
|
|
2515
2479
|
children: /*#__PURE__*/jsx(Dropdown, {
|
|
2516
2480
|
menu: {
|
|
2517
2481
|
items: layoutCtx.accountOperateMenuItems ? layoutCtx.accountOperateMenuItems : defaultMenuItems
|
|
2518
|
-
}
|
|
2519
|
-
arrow
|
|
2482
|
+
}
|
|
2483
|
+
// arrow={true}
|
|
2484
|
+
,
|
|
2520
2485
|
trigger: ['hover'],
|
|
2521
2486
|
overlayClassName: "account-dropdown-overlay",
|
|
2522
2487
|
getPopupContainer: function getPopupContainer() {
|
|
@@ -2536,10 +2501,10 @@ var HeaderAccount = function HeaderAccount() {
|
|
|
2536
2501
|
};
|
|
2537
2502
|
|
|
2538
2503
|
var HeaderBrand = function HeaderBrand() {
|
|
2539
|
-
var
|
|
2540
|
-
defaultPage =
|
|
2504
|
+
var _getGlobalData = getGlobalData(),
|
|
2505
|
+
defaultPage = _getGlobalData.defaultPage;
|
|
2541
2506
|
var layoutCtx = useLayoutCtx();
|
|
2542
|
-
var toDefaultPage =
|
|
2507
|
+
var toDefaultPage = useMemoizedFn(function () {
|
|
2543
2508
|
if (defaultPage) {
|
|
2544
2509
|
window.location.href = defaultPage;
|
|
2545
2510
|
}
|
|
@@ -2660,7 +2625,7 @@ var Header = function Header() {
|
|
|
2660
2625
|
};
|
|
2661
2626
|
});
|
|
2662
2627
|
}, [activeColor, layoutCtx.disableTopbarMenu, layoutCtx.showHeaderMenuIcon, menus, textColor, topMenuActiveItem]);
|
|
2663
|
-
var onClick =
|
|
2628
|
+
var onClick = useMemoizedFn(function (data) {
|
|
2664
2629
|
var targetItem = menus.filter(function (item) {
|
|
2665
2630
|
return valueIsEqual(data.key, item.id);
|
|
2666
2631
|
})[0];
|
|
@@ -2755,16 +2720,16 @@ var Header = function Header() {
|
|
|
2755
2720
|
});
|
|
2756
2721
|
};
|
|
2757
2722
|
|
|
2758
|
-
var eventEmitter = new EventEmitter();
|
|
2723
|
+
var eventEmitter$1 = new EventEmitter();
|
|
2759
2724
|
var menuPubSub = {
|
|
2760
2725
|
/** 发布 */publish: function publish(event, data) {
|
|
2761
|
-
eventEmitter.publish(event, data);
|
|
2726
|
+
eventEmitter$1.publish(event, data);
|
|
2762
2727
|
},
|
|
2763
2728
|
/** 订阅 */subscribe: function subscribe(event, callback) {
|
|
2764
|
-
eventEmitter.subscribe(event, callback);
|
|
2729
|
+
eventEmitter$1.subscribe(event, callback);
|
|
2765
2730
|
},
|
|
2766
2731
|
/** 取消订阅 */unsubscribe: function unsubscribe(event, callback) {
|
|
2767
|
-
eventEmitter.subscribe(event, callback);
|
|
2732
|
+
eventEmitter$1.subscribe(event, callback);
|
|
2768
2733
|
}
|
|
2769
2734
|
};
|
|
2770
2735
|
|
|
@@ -2869,7 +2834,7 @@ var SiderBar = function SiderBar() {
|
|
|
2869
2834
|
menuBadgeMap = _useState4[0],
|
|
2870
2835
|
setMenuBadgeMap = _useState4[1];
|
|
2871
2836
|
var menuItemActiveKeyRef = useRef();
|
|
2872
|
-
var changeMenuBadgeFn =
|
|
2837
|
+
var changeMenuBadgeFn = useMemoizedFn(function (data) {
|
|
2873
2838
|
var newData = [];
|
|
2874
2839
|
var sortedTileMenusByPath = sortItemsByPath(layoutCtx.siderBarTileMenus);
|
|
2875
2840
|
data === null || data === void 0 || data.forEach(function (item) {
|
|
@@ -2978,7 +2943,7 @@ var SiderBar = function SiderBar() {
|
|
|
2978
2943
|
};
|
|
2979
2944
|
return _getMenuItem(menusTreeList, 0);
|
|
2980
2945
|
}, [layoutCtx.siderBarMenus, layoutCtx.collapsed, searchValue, colorActive, textColor, menuBadgeMap]);
|
|
2981
|
-
var onMenuClick =
|
|
2946
|
+
var onMenuClick = useMemoizedFn(function (data) {
|
|
2982
2947
|
if (!valueIsEqual(menuItemActiveKeyRef.current, data.key)) {
|
|
2983
2948
|
var _layoutCtx$siderBarMe;
|
|
2984
2949
|
(_layoutCtx$siderBarMe = layoutCtx.siderBarMenuOnChange) === null || _layoutCtx$siderBarMe === void 0 || _layoutCtx$siderBarMe.call(layoutCtx, data);
|
|
@@ -3008,7 +2973,7 @@ var SiderBar = function SiderBar() {
|
|
|
3008
2973
|
document.title = targetItem.metaTitle || layoutCtx.browserTitle || targetItem.name;
|
|
3009
2974
|
}
|
|
3010
2975
|
});
|
|
3011
|
-
var onOpenChange =
|
|
2976
|
+
var onOpenChange = useMemoizedFn(function (openKeys) {
|
|
3012
2977
|
if (!multipleOpen && openKeys.length > 0) {
|
|
3013
2978
|
var target = openKeys[openKeys.length - 1];
|
|
3014
2979
|
// 判断点击的是否为一级菜单
|
|
@@ -3052,12 +3017,17 @@ var SiderBar = function SiderBar() {
|
|
|
3052
3017
|
layoutCtx.onChangeCollapsed(true);
|
|
3053
3018
|
}
|
|
3054
3019
|
};
|
|
3055
|
-
var
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3020
|
+
var _useDebounceFn = useDebounceFn(function () {
|
|
3021
|
+
if (manualControlShrink || !layoutCtx.sidebarMouseHoverOpen) return;
|
|
3022
|
+
if (layoutCtx.collapsed) {
|
|
3023
|
+
layoutCtx.onChangeCollapsed(false);
|
|
3024
|
+
}
|
|
3025
|
+
}, {
|
|
3026
|
+
wait: 500,
|
|
3027
|
+
leading: true,
|
|
3028
|
+
trailing: false
|
|
3029
|
+
}),
|
|
3030
|
+
onMouseEnter = _useDebounceFn.run;
|
|
3061
3031
|
return /*#__PURE__*/jsxs(Sider, {
|
|
3062
3032
|
theme: "light",
|
|
3063
3033
|
className: "flatbiz-layout-sider",
|
|
@@ -3133,9 +3103,9 @@ var _excluded$1 = ["_isClosed"];
|
|
|
3133
3103
|
var EventHandling = function EventHandling() {
|
|
3134
3104
|
var navigate = useNavigate();
|
|
3135
3105
|
var layoutCtx = useLayoutCtx();
|
|
3136
|
-
var
|
|
3137
|
-
user =
|
|
3138
|
-
hostUrl =
|
|
3106
|
+
var _getGlobalData = getGlobalData(),
|
|
3107
|
+
user = _getGlobalData.user,
|
|
3108
|
+
hostUrl = _getGlobalData.hostUrl;
|
|
3139
3109
|
useIframe(function (result) {
|
|
3140
3110
|
if (result.type === 'redirect_to_frame_layout_menu_item') {
|
|
3141
3111
|
var _ref = result.data,
|
|
@@ -3295,11 +3265,11 @@ var PageContent = function PageContent() {
|
|
|
3295
3265
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
3296
3266
|
refreshIframeIds = _useState4[0],
|
|
3297
3267
|
setRefreshIframeIds = _useState4[1];
|
|
3298
|
-
var refreshIframeStart =
|
|
3268
|
+
var refreshIframeStart = useMemoizedFn(function (tabItem) {
|
|
3299
3269
|
refreshIframeIds.push(tabItem.id);
|
|
3300
3270
|
setRefreshIframeIds(_toConsumableArray(refreshIframeIds));
|
|
3301
3271
|
});
|
|
3302
|
-
var refreshIframeStartEnd =
|
|
3272
|
+
var refreshIframeStartEnd = useMemoizedFn(function (tabItem) {
|
|
3303
3273
|
var newArray = arrayRemove(refreshIframeIds, tabItem.id);
|
|
3304
3274
|
setRefreshIframeIds(_toConsumableArray(newArray));
|
|
3305
3275
|
});
|
|
@@ -3313,20 +3283,25 @@ var PageContent = function PageContent() {
|
|
|
3313
3283
|
};
|
|
3314
3284
|
}
|
|
3315
3285
|
}, [iframeTabActiveItem === null || iframeTabActiveItem === void 0 ? void 0 : iframeTabActiveItem.id]);
|
|
3316
|
-
var
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3286
|
+
var _useDebounceFn = useDebounceFn(function (key) {
|
|
3287
|
+
if (key === (iframeTabActiveItem === null || iframeTabActiveItem === void 0 ? void 0 : iframeTabActiveItem.id) && redDotMap[(iframeTabActiveItem === null || iframeTabActiveItem === void 0 ? void 0 : iframeTabActiveItem.id) || '']) {
|
|
3288
|
+
onChangeActiveTabItemRedDot(false);
|
|
3289
|
+
}
|
|
3290
|
+
onIframeChange(key, 'iframeTabClick');
|
|
3291
|
+
}, {
|
|
3292
|
+
wait: 200,
|
|
3293
|
+
leading: true,
|
|
3294
|
+
trailing: false
|
|
3295
|
+
}),
|
|
3296
|
+
onTabClick = _useDebounceFn.run;
|
|
3297
|
+
var onTabItemRemove = useMemoizedFn(function (tabItemKey) {
|
|
3323
3298
|
if (valueIsEqual(tabItemKey, iframeTabActiveItem.id)) {
|
|
3324
3299
|
onDeleteIframeTabItemAndSetActive('me', tabItemKey);
|
|
3325
3300
|
} else {
|
|
3326
3301
|
onDeleteIframeTabItemAndSetActive('other', tabItemKey);
|
|
3327
3302
|
}
|
|
3328
3303
|
});
|
|
3329
|
-
var onClick =
|
|
3304
|
+
var onClick = useMemoizedFn(function (data) {
|
|
3330
3305
|
if (data.key === '1') {
|
|
3331
3306
|
onIframeChange(iframeTabActiveItem.id, 'iframeRefresh');
|
|
3332
3307
|
} else if (data.key === '2') {
|
|
@@ -3716,7 +3691,7 @@ var NormalRoutesTiming = function NormalRoutesTiming() {
|
|
|
3716
3691
|
var _useLocation = useLocation(),
|
|
3717
3692
|
pathname = _useLocation.pathname,
|
|
3718
3693
|
search = _useLocation.search;
|
|
3719
|
-
|
|
3694
|
+
useUpdateEffect(function () {
|
|
3720
3695
|
if (!window['__sider_bar_menu_click']) {
|
|
3721
3696
|
layoutCtx.normalModePositionMenu(location.href);
|
|
3722
3697
|
}
|
|
@@ -3778,10 +3753,10 @@ var AppProvider = function AppProvider(props) {
|
|
|
3778
3753
|
setSiderBarMenus = _useState12[1];
|
|
3779
3754
|
// const initSiderBarMenuActiveItemRef = useRef<TMenuItem>();
|
|
3780
3755
|
|
|
3781
|
-
|
|
3756
|
+
useUpdateEffect(function () {
|
|
3782
3757
|
setCollapsed(isMobile);
|
|
3783
3758
|
}, [isMobile]);
|
|
3784
|
-
|
|
3759
|
+
fbaHooks.useEffectOnce(function () {
|
|
3785
3760
|
if (props.initSidebarShrinkClosed) {
|
|
3786
3761
|
setCollapsed(true);
|
|
3787
3762
|
} else {
|
|
@@ -3794,7 +3769,6 @@ var AppProvider = function AppProvider(props) {
|
|
|
3794
3769
|
return typeof options.hideSidebarMenu === 'function' ? options.hideSidebarMenu(location.pathname) : options.hideSidebarMenu;
|
|
3795
3770
|
}, [options.disableTopbarMenu, options.hideSidebarMenu, siderBarMenus, location.pathname]);
|
|
3796
3771
|
var opendKeysTempRef = useRef();
|
|
3797
|
-
var ErrorHandlingRender = options.ErrorHandling || ErrorHandling;
|
|
3798
3772
|
var siderBarTileMenus = useMemo(function () {
|
|
3799
3773
|
return treeToArray(siderBarMenus, 'children');
|
|
3800
3774
|
}, [siderBarMenus]);
|
|
@@ -4308,9 +4282,7 @@ var AppProvider = function AppProvider(props) {
|
|
|
4308
4282
|
});
|
|
4309
4283
|
return /*#__PURE__*/jsxs(LayoutProvider, {
|
|
4310
4284
|
value: appProviderValue,
|
|
4311
|
-
children: [
|
|
4312
|
-
verifySessionExpired: appProviderValue.verifySessionExpired
|
|
4313
|
-
}), /*#__PURE__*/jsx(App, {}), !isIframeMain && /*#__PURE__*/jsx(NormalRoutesTiming, {})]
|
|
4285
|
+
children: [/*#__PURE__*/jsx(App, {}), !isIframeMain && /*#__PURE__*/jsx(NormalRoutesTiming, {})]
|
|
4314
4286
|
});
|
|
4315
4287
|
};
|
|
4316
4288
|
|
|
@@ -4514,31 +4486,25 @@ var IframeMainRegister = function IframeMainRegister() {
|
|
|
4514
4486
|
return /*#__PURE__*/jsx(Fragment, {});
|
|
4515
4487
|
};
|
|
4516
4488
|
|
|
4517
|
-
var
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
actions: {
|
|
4522
|
-
onSetTheme: function onSetTheme(theme) {
|
|
4523
|
-
return new Promise(function ($return, $error) {
|
|
4524
|
-
return $return(function (state) {
|
|
4525
|
-
state.isDark = theme === 'dark';
|
|
4526
|
-
});
|
|
4527
|
-
});
|
|
4528
|
-
}
|
|
4489
|
+
var eventEmitter = new EventEmitter();
|
|
4490
|
+
var layoutPubSub = {
|
|
4491
|
+
/** 发布 */publish: function publish(event, data) {
|
|
4492
|
+
eventEmitter.publish(event, data);
|
|
4529
4493
|
},
|
|
4530
|
-
|
|
4494
|
+
/** 订阅 */subscribe: function subscribe(event, callback) {
|
|
4495
|
+
eventEmitter.subscribe(event, callback);
|
|
4496
|
+
},
|
|
4497
|
+
/** 取消订阅 */unsubscribe: function unsubscribe(event, callback) {
|
|
4498
|
+
eventEmitter.unsubscribe(event, callback);
|
|
4499
|
+
}
|
|
4531
4500
|
};
|
|
4532
|
-
var proLayoutModels = Model({
|
|
4533
|
-
ProLayoutModel: ProLayoutModel
|
|
4534
|
-
});
|
|
4535
4501
|
|
|
4536
4502
|
var Bootstrap = function Bootstrap(options) {
|
|
4537
4503
|
var _options$headerThemeC, _options$headerThemeC2, _options$headerThemeC3, _options$sidebarTheme, _options$sidebarTheme2, _options$sidebarTheme3;
|
|
4538
|
-
var
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4504
|
+
var _useState = useState(options.initDark),
|
|
4505
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4506
|
+
isDark = _useState2[0],
|
|
4507
|
+
setIsDark = _useState2[1];
|
|
4542
4508
|
var globalValue = getGlobalData();
|
|
4543
4509
|
var sidebarWidth = options.sidebarWidth || 220;
|
|
4544
4510
|
var componentSize = options.componentSize || 'middle';
|
|
@@ -4546,6 +4512,12 @@ var Bootstrap = function Bootstrap(options) {
|
|
|
4546
4512
|
var logoPath = options.logoPath || '';
|
|
4547
4513
|
var isIframeMain = options.layoutMode === 'iframe-main';
|
|
4548
4514
|
var isIframeTabItem = options.layoutMode === 'iframe-tab';
|
|
4515
|
+
var updateThemeFn = useMemoizedFn(function (data) {
|
|
4516
|
+
setIsDark(data.theme === 'dark');
|
|
4517
|
+
});
|
|
4518
|
+
useEffect(function () {
|
|
4519
|
+
layoutPubSub.subscribe('updateTheme', updateThemeFn);
|
|
4520
|
+
}, [updateThemeFn]);
|
|
4549
4521
|
var customHeaderThemeConfig = (_options$headerThemeC = options.headerThemeConfig) !== null && _options$headerThemeC !== void 0 && _options$headerThemeC['dark'] || (_options$headerThemeC2 = options.headerThemeConfig) !== null && _options$headerThemeC2 !== void 0 && _options$headerThemeC2['light'] ? (_options$headerThemeC3 = options.headerThemeConfig) === null || _options$headerThemeC3 === void 0 ? void 0 : _options$headerThemeC3[isDark ? 'dark' : 'light'] : options.headerThemeConfig;
|
|
4550
4522
|
customHeaderThemeConfig = !customHeaderThemeConfig ? getDefaultHeaderThemeConfig() : customHeaderThemeConfig;
|
|
4551
4523
|
var headerThemeConfig = {
|
|
@@ -4734,7 +4706,6 @@ var Bootstrap = function Bootstrap(options) {
|
|
|
4734
4706
|
menus: menus,
|
|
4735
4707
|
ignoreMenuEmptyJudge: appProviderValue.ignoreMenuEmptyJudge,
|
|
4736
4708
|
children: isNoLayout ? /*#__PURE__*/jsx(AppNoLayout, {
|
|
4737
|
-
verifySessionExpired: appProviderValue.verifySessionExpired,
|
|
4738
4709
|
routeList: routeList,
|
|
4739
4710
|
layoutMode: layoutMode,
|
|
4740
4711
|
LayoutComponent: appProviderValue.LayoutComponent,
|
|
@@ -4743,8 +4714,6 @@ var Bootstrap = function Bootstrap(options) {
|
|
|
4743
4714
|
hideDefaultBread: appProviderValue.hideDefaultBread,
|
|
4744
4715
|
hideHeader: appProviderValue.hideHeader,
|
|
4745
4716
|
breadTitle: appProviderValue.breadTitle,
|
|
4746
|
-
disableErrorHandling: appProviderValue.disableErrorHandling,
|
|
4747
|
-
ErrorHandling: appProviderValue.ErrorHandling,
|
|
4748
4717
|
iframeTabAloneView: appProviderValue.iframeTabAloneView,
|
|
4749
4718
|
layoutPageClassName: appProviderValue.layoutPageClassName,
|
|
4750
4719
|
hideBreadsPathList: appProviderValue.hideBreadsPathList,
|
|
@@ -4770,7 +4739,6 @@ var Bootstrap = function Bootstrap(options) {
|
|
|
4770
4739
|
* name: '详情',
|
|
4771
4740
|
* },
|
|
4772
4741
|
* };
|
|
4773
|
-
* 2. 在后续版本中会废弃`全局拦截model异常处理功能`,废弃ErrorHandling、onSessionExpired、verifySessionExpired三个属性的使用
|
|
4774
4742
|
* ```
|
|
4775
4743
|
*/
|
|
4776
4744
|
var bootstrap = function bootstrap(options) {
|
|
@@ -4778,5 +4746,11 @@ var bootstrap = function bootstrap(options) {
|
|
|
4778
4746
|
root.render(/*#__PURE__*/jsx(Bootstrap, _objectSpread2({}, options)));
|
|
4779
4747
|
};
|
|
4780
4748
|
|
|
4781
|
-
|
|
4749
|
+
var onUpdateTheme = function onUpdateTheme(theme) {
|
|
4750
|
+
layoutPubSub.publish('updateTheme', {
|
|
4751
|
+
theme: theme
|
|
4752
|
+
});
|
|
4753
|
+
};
|
|
4754
|
+
|
|
4755
|
+
export { Bread, HistoryBackButton, LayoutPage, Page, PageWrapper, bootstrap, getIframeTabUid, menuPubSub, message, modal, notification, onUpdateTheme, useHistoryBack, useIframe, useIframeTabActive, usePageWrapper, useRefreshRegisterIframeTab, useRegisterRefreshCurrentIframeTab };
|
|
4782
4756
|
//# sourceMappingURL=index.js.map
|