@kne-components/components-core 0.2.71 → 0.2.72
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/build/asset-manifest.json +98 -98
- package/build/index.html +1 -1
- package/build/remoteEntry.js +1 -1
- package/build/remoteEntry.js.map +1 -1
- package/build/static/css/{1045.9f931232.chunk.css → 1045.0f400b1d.chunk.css} +2 -2
- package/build/static/css/{1045.9f931232.chunk.css.map → 1045.0f400b1d.chunk.css.map} +1 -1
- package/build/static/css/1046.4d0bac26.chunk.css +2 -0
- package/build/static/css/{1046.c7c67089.chunk.css.map → 1046.4d0bac26.chunk.css.map} +1 -1
- package/build/static/css/1153.109767a6.chunk.css +2 -0
- package/build/static/css/{1153.fd235801.chunk.css.map → 1153.109767a6.chunk.css.map} +1 -1
- package/build/static/css/1554.4ef397d8.chunk.css +2 -0
- package/build/static/css/{1554.f116762f.chunk.css.map → 1554.4ef397d8.chunk.css.map} +1 -1
- package/build/static/css/2716.3f94f0e8.chunk.css +2 -0
- package/build/static/css/{2716.1edd8742.chunk.css.map → 2716.3f94f0e8.chunk.css.map} +1 -1
- package/build/static/css/374.0ccef59d.chunk.css +12 -0
- package/build/static/css/{374.b68a6171.chunk.css.map → 374.0ccef59d.chunk.css.map} +1 -1
- package/build/static/css/3834.ed368ac3.chunk.css +2 -0
- package/build/static/css/{3834.566caac8.chunk.css.map → 3834.ed368ac3.chunk.css.map} +1 -1
- package/build/static/css/3900.b517b750.chunk.css +2 -0
- package/build/static/css/{3900.e39485b0.chunk.css.map → 3900.b517b750.chunk.css.map} +1 -1
- package/build/static/css/4194.04317b31.chunk.css +2 -0
- package/build/static/css/{4194.7f87d3f9.chunk.css.map → 4194.04317b31.chunk.css.map} +1 -1
- package/build/static/css/4602.f3fb8542.chunk.css +2 -0
- package/build/static/css/{4602.2ef21fa5.chunk.css.map → 4602.f3fb8542.chunk.css.map} +1 -1
- package/build/static/css/4666.0086a7c4.chunk.css +2 -0
- package/build/static/css/{4666.9bf596fc.chunk.css.map → 4666.0086a7c4.chunk.css.map} +1 -1
- package/build/static/css/{5371.04e9e1e0.chunk.css → 5371.b817d8ca.chunk.css} +2 -2
- package/build/static/css/{5371.04e9e1e0.chunk.css.map → 5371.b817d8ca.chunk.css.map} +1 -1
- package/build/static/css/5807.cc83e883.chunk.css +2 -0
- package/build/static/css/{5807.74327af0.chunk.css.map → 5807.cc83e883.chunk.css.map} +1 -1
- package/build/static/css/5965.eb03d035.chunk.css +2 -0
- package/build/static/css/{5965.9800a722.chunk.css.map → 5965.eb03d035.chunk.css.map} +1 -1
- package/build/static/css/{624.3361070d.chunk.css → 624.68b2e0db.chunk.css} +2 -2
- package/build/static/css/{624.3361070d.chunk.css.map → 624.68b2e0db.chunk.css.map} +1 -1
- package/build/static/css/6756.e4cdc232.chunk.css +2 -0
- package/build/static/css/{6756.3058bdab.chunk.css.map → 6756.e4cdc232.chunk.css.map} +1 -1
- package/build/static/css/7227.3eccbf1f.chunk.css +2 -0
- package/build/static/css/{7227.ad9211d7.chunk.css.map → 7227.3eccbf1f.chunk.css.map} +1 -1
- package/build/static/css/{7253.b9d06e59.chunk.css → 7253.89fa069f.chunk.css} +2 -2
- package/build/static/css/{7253.b9d06e59.chunk.css.map → 7253.89fa069f.chunk.css.map} +1 -1
- package/build/static/css/7277.180efba2.chunk.css +2 -0
- package/build/static/css/{7277.0b1d04d1.chunk.css.map → 7277.180efba2.chunk.css.map} +1 -1
- package/build/static/css/{7334.a0b1dfe2.chunk.css → 7334.4e1c8fcb.chunk.css} +2 -2
- package/build/static/css/{7334.a0b1dfe2.chunk.css.map → 7334.4e1c8fcb.chunk.css.map} +1 -1
- package/build/static/css/{7866.4857908e.chunk.css → 7866.e22d6b9d.chunk.css} +2 -2
- package/build/static/css/{7866.4857908e.chunk.css.map → 7866.e22d6b9d.chunk.css.map} +1 -1
- package/build/static/css/{8503.3ea64480.chunk.css → 8503.677546bd.chunk.css} +2 -2
- package/build/static/css/{8503.3ea64480.chunk.css.map → 8503.677546bd.chunk.css.map} +1 -1
- package/build/static/js/{1045.e4ce3bd8.chunk.js → 1045.fdf6c4bd.chunk.js} +2 -2
- package/build/static/js/{1045.e4ce3bd8.chunk.js.map → 1045.fdf6c4bd.chunk.js.map} +1 -1
- package/build/static/js/{1046.6edbd07d.chunk.js → 1046.d971efb3.chunk.js} +2 -2
- package/build/static/js/{1046.6edbd07d.chunk.js.map → 1046.d971efb3.chunk.js.map} +1 -1
- package/build/static/js/{1125.ea23f36e.chunk.js → 1125.74b92154.chunk.js} +2 -2
- package/build/static/js/1125.74b92154.chunk.js.map +1 -0
- package/build/static/js/{1153.7cebaff4.chunk.js → 1153.786738ed.chunk.js} +3 -3
- package/build/static/js/{1153.7cebaff4.chunk.js.map → 1153.786738ed.chunk.js.map} +1 -1
- package/build/static/js/1554.3d89385a.chunk.js +3 -0
- package/build/static/js/{1554.10348fe0.chunk.js.map → 1554.3d89385a.chunk.js.map} +1 -1
- package/build/static/js/{2716.68c24b93.chunk.js → 2716.423d3af1.chunk.js} +3 -3
- package/build/static/js/{2716.68c24b93.chunk.js.map → 2716.423d3af1.chunk.js.map} +1 -1
- package/build/static/js/{374.70f8c905.chunk.js → 374.212d7da5.chunk.js} +2 -2
- package/build/static/js/{374.70f8c905.chunk.js.map → 374.212d7da5.chunk.js.map} +1 -1
- package/build/static/js/{3834.db96fecc.chunk.js → 3834.c318c443.chunk.js} +2 -2
- package/build/static/js/{3834.db96fecc.chunk.js.map → 3834.c318c443.chunk.js.map} +1 -1
- package/build/static/js/{3856.6055a0b7.chunk.js → 3856.9d08a0c5.chunk.js} +2 -2
- package/build/static/js/{3856.6055a0b7.chunk.js.map → 3856.9d08a0c5.chunk.js.map} +1 -1
- package/build/static/js/{3900.98a16073.chunk.js → 3900.612643f2.chunk.js} +2 -2
- package/build/static/js/{3900.98a16073.chunk.js.map → 3900.612643f2.chunk.js.map} +1 -1
- package/build/static/js/{4194.899a546b.chunk.js → 4194.1adfd05a.chunk.js} +2 -2
- package/build/static/js/{4194.899a546b.chunk.js.map → 4194.1adfd05a.chunk.js.map} +1 -1
- package/build/static/js/4344.2420f59b.chunk.js +2 -0
- package/build/static/js/4344.2420f59b.chunk.js.map +1 -0
- package/build/static/js/{4602.b233deb3.chunk.js → 4602.8376274f.chunk.js} +2 -2
- package/build/static/js/{4602.b233deb3.chunk.js.map → 4602.8376274f.chunk.js.map} +1 -1
- package/build/static/js/{4666.0e83a21e.chunk.js → 4666.7df19d83.chunk.js} +3 -3
- package/build/static/js/{4666.0e83a21e.chunk.js.map → 4666.7df19d83.chunk.js.map} +1 -1
- package/build/static/js/{5371.77289a50.chunk.js → 5371.c698521b.chunk.js} +2 -2
- package/build/static/js/{5371.77289a50.chunk.js.map → 5371.c698521b.chunk.js.map} +1 -1
- package/build/static/js/{5807.a154dcda.chunk.js → 5807.cd7940fe.chunk.js} +2 -2
- package/build/static/js/{5807.a154dcda.chunk.js.map → 5807.cd7940fe.chunk.js.map} +1 -1
- package/build/static/js/{5965.41b1472c.chunk.js → 5965.ab5f9ac9.chunk.js} +2 -2
- package/build/static/js/{5965.41b1472c.chunk.js.map → 5965.ab5f9ac9.chunk.js.map} +1 -1
- package/build/static/js/{624.2c533e5e.chunk.js → 624.928445fc.chunk.js} +2 -2
- package/build/static/js/{624.2c533e5e.chunk.js.map → 624.928445fc.chunk.js.map} +1 -1
- package/build/static/js/{7227.64890cbd.chunk.js → 7227.5c39386b.chunk.js} +3 -3
- package/build/static/js/{7227.64890cbd.chunk.js.map → 7227.5c39386b.chunk.js.map} +1 -1
- package/build/static/js/{7253.ff51e9b8.chunk.js → 7253.266a036e.chunk.js} +2 -2
- package/build/static/js/{7253.ff51e9b8.chunk.js.map → 7253.266a036e.chunk.js.map} +1 -1
- package/build/static/js/{7277.ce403677.chunk.js → 7277.bdfe93bb.chunk.js} +2 -2
- package/build/static/js/{7277.ce403677.chunk.js.map → 7277.bdfe93bb.chunk.js.map} +1 -1
- package/build/static/js/7334.c5ddca2c.chunk.js +2 -0
- package/build/static/js/{7334.ef5aa09a.chunk.js.map → 7334.c5ddca2c.chunk.js.map} +1 -1
- package/build/static/js/{7866.6540cd95.chunk.js → 7866.534ebe24.chunk.js} +2 -2
- package/build/static/js/{7866.6540cd95.chunk.js.map → 7866.534ebe24.chunk.js.map} +1 -1
- package/build/static/js/8503.67a3e214.chunk.js +2 -0
- package/build/static/js/{8503.f779954d.chunk.js.map → 8503.67a3e214.chunk.js.map} +1 -1
- package/build/static/js/{8731.5b63acd1.chunk.js → 8731.38ce26ed.chunk.js} +2 -2
- package/build/static/js/{8731.5b63acd1.chunk.js.map → 8731.38ce26ed.chunk.js.map} +1 -1
- package/build/static/js/{main.780684af.js → main.6f80e9de.js} +2 -2
- package/build/static/js/{main.780684af.js.map → main.6f80e9de.js.map} +1 -1
- package/package.json +2 -2
- package/build/static/css/1046.c7c67089.chunk.css +0 -2
- package/build/static/css/1153.fd235801.chunk.css +0 -2
- package/build/static/css/1554.f116762f.chunk.css +0 -2
- package/build/static/css/2716.1edd8742.chunk.css +0 -2
- package/build/static/css/374.b68a6171.chunk.css +0 -12
- package/build/static/css/3834.566caac8.chunk.css +0 -2
- package/build/static/css/3900.e39485b0.chunk.css +0 -2
- package/build/static/css/4194.7f87d3f9.chunk.css +0 -2
- package/build/static/css/4602.2ef21fa5.chunk.css +0 -2
- package/build/static/css/4666.9bf596fc.chunk.css +0 -2
- package/build/static/css/5807.74327af0.chunk.css +0 -2
- package/build/static/css/5965.9800a722.chunk.css +0 -2
- package/build/static/css/6756.3058bdab.chunk.css +0 -2
- package/build/static/css/7227.ad9211d7.chunk.css +0 -2
- package/build/static/css/7277.0b1d04d1.chunk.css +0 -2
- package/build/static/js/1125.ea23f36e.chunk.js.map +0 -1
- package/build/static/js/1554.10348fe0.chunk.js +0 -3
- package/build/static/js/4344.8cda4565.chunk.js +0 -2
- package/build/static/js/4344.8cda4565.chunk.js.map +0 -1
- package/build/static/js/7334.ef5aa09a.chunk.js +0 -2
- package/build/static/js/8503.f779954d.chunk.js +0 -2
- /package/build/static/js/{1153.7cebaff4.chunk.js.LICENSE.txt → 1153.786738ed.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{1554.10348fe0.chunk.js.LICENSE.txt → 1554.3d89385a.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{2716.68c24b93.chunk.js.LICENSE.txt → 2716.423d3af1.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{4666.0e83a21e.chunk.js.LICENSE.txt → 4666.7df19d83.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{7227.64890cbd.chunk.js.LICENSE.txt → 7227.5c39386b.chunk.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static/css/7334.a0b1dfe2.chunk.css","mappings":"AAAA,+BACE,qBACA,cAGA,gBADA,eADA,gBAGA,sBAEA,yVAKE,qBAEA,YADA,UACA,CCfJ,iBAKE,wBAAyB,CACzB,sBAAuB,CAJvB,qBAAsB,CACtB,cAAe,CACf,0BAA2B,CAH3B,iBAMF,CAEA,mBAGE,cAAe,CAEf,kBAAmB,CADnB,iBAAkB,CAHlB,eAAgB,CAChB,aAIF,CAEA,gBACE,iBAAkB,CAUlB,qBAAuB,CARvB,eAAgB,CAOhB,oBAAsB,CAEtB,SACF,CAEA,kCAPE,QAAS,CAFT,MAAO,CADP,QAAS,CADT,SAAU,CAFV,iBAAkB,CAOlB,OAAQ,CAFR,KAoBF,CAZA,kBAWE,gCAAiC,CATjC,4BAA8B,CAD9B,2BAA6B,CAE7B,qBASF,CAEA,2BAWE,uBAAwB,CATxB,+BAAiC,CADjC,iBAAkB,CAGlB,aAAc,CACd,WAAY,CAGZ,eAAgB,CADhB,cAAe,CAEf,aAAc,CANd,iBAAkB,CAOlB,oBAAqB,CAJrB,UAMF,CAEA,2FAEE,YAAa,CAEb,QAAS,CADT,OAEF,CAEA,mDAEE,WAAY,CACZ,aACF,CAEA,uBACE,eAAgB,CACh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BAEA","sources":["components/Image/style.module.scss","../node_modules/simplebar/dist/simplebar.css","../node_modules/@kne/button-group/dist/style.module.scss","components/Navigation/style.module.scss"],"sourcesContent":[".img-outer {\n display: inline-block;\n line-height: 0;\n overflow: hidden;\n min-width: 32px;\n min-height: 32px;\n vertical-align: middle;\n\n .img,\n .loading,\n .loading:global(.ant-skeleton) :global(.ant-skeleton-avatar),\n .error:global(.iconfont--color),\n :global(.ant-avatar .iconfont--color) {\n display: inline-block;\n width: 100%;\n height: 100%;\n }\n}\n","[data-simplebar] {\n position: relative;\n flex-direction: column;\n flex-wrap: wrap;\n justify-content: flex-start;\n align-content: flex-start;\n align-items: flex-start;\n}\n\n.simplebar-wrapper {\n overflow: hidden;\n width: inherit;\n height: inherit;\n max-width: inherit;\n max-height: inherit;\n}\n\n.simplebar-mask {\n direction: inherit;\n position: absolute;\n overflow: hidden;\n padding: 0;\n margin: 0;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n width: auto !important;\n height: auto !important;\n z-index: 0;\n}\n\n.simplebar-offset {\n direction: inherit !important;\n box-sizing: inherit !important;\n resize: none !important;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n padding: 0;\n margin: 0;\n -webkit-overflow-scrolling: touch;\n}\n\n.simplebar-content-wrapper {\n direction: inherit;\n box-sizing: border-box !important;\n position: relative;\n display: block;\n height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */\n width: auto;\n max-width: 100%; /* Not required for horizontal scroll to trigger */\n max-height: 100%; /* Needed for vertical scroll to trigger */\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n.simplebar-content-wrapper::-webkit-scrollbar,\n.simplebar-hide-scrollbar::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n}\n\n.simplebar-content:before,\n.simplebar-content:after {\n content: ' ';\n display: table;\n}\n\n.simplebar-placeholder {\n max-height: 100%;\n max-width: 100%;\n width: 100%;\n pointer-events: none;\n}\n\n.simplebar-height-auto-observer-wrapper {\n box-sizing: inherit !important;\n height: 100%;\n width: 100%;\n max-width: 1px;\n position: relative;\n float: left;\n max-height: 1px;\n overflow: hidden;\n z-index: -1;\n padding: 0;\n margin: 0;\n pointer-events: none;\n flex-grow: inherit;\n flex-shrink: 0;\n flex-basis: 0;\n}\n\n.simplebar-height-auto-observer {\n box-sizing: inherit;\n display: block;\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n height: 1000%;\n width: 1000%;\n min-height: 1px;\n min-width: 1px;\n overflow: hidden;\n pointer-events: none;\n z-index: -1;\n}\n\n.simplebar-track {\n z-index: 1;\n position: absolute;\n right: 0;\n bottom: 0;\n pointer-events: none;\n overflow: hidden;\n}\n\n[data-simplebar].simplebar-dragging {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-content {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-track {\n pointer-events: all;\n}\n\n.simplebar-scrollbar {\n position: absolute;\n left: 0;\n right: 0;\n min-height: 10px;\n}\n\n.simplebar-scrollbar:before {\n position: absolute;\n content: '';\n background: black;\n border-radius: 7px;\n left: 2px;\n right: 2px;\n opacity: 0;\n transition: opacity 0.2s 0.5s linear;\n}\n\n.simplebar-scrollbar.simplebar-visible:before {\n opacity: 0.5;\n transition-delay: 0s;\n transition-duration: 0s;\n}\n\n.simplebar-track.simplebar-vertical {\n top: 0;\n width: 11px;\n}\n\n.simplebar-scrollbar:before {\n top: 2px;\n bottom: 2px;\n left: 2px;\n right: 2px;\n}\n\n.simplebar-track.simplebar-horizontal {\n left: 0;\n height: 11px;\n}\n\n.simplebar-track.simplebar-horizontal .simplebar-scrollbar {\n right: auto;\n left: 0;\n top: 0;\n bottom: 0;\n min-height: 0;\n min-width: 10px;\n width: auto;\n}\n\n/* Rtl support */\n[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {\n right: auto;\n left: 0;\n}\n\n.simplebar-dummy-scrollbar-size {\n direction: rtl;\n position: fixed;\n opacity: 0;\n visibility: hidden;\n height: 500px;\n width: 500px;\n overflow-y: hidden;\n overflow-x: scroll;\n -ms-overflow-style: scrollbar !important;\n}\n\n.simplebar-dummy-scrollbar-size > div {\n width: 200%;\n height: 200%;\n margin: 10px 0;\n}\n\n.simplebar-hide-scrollbar {\n position: fixed;\n left: 0;\n visibility: hidden;\n overflow-y: scroll;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n",".width-container {\n width: 100%;\n pointer-events: none;\n}\n\n.hidden-container {\n width: 0;\n height: 0;\n overflow: hidden;\n position: relative;\n pointer-events: none;\n}\n\n.hidden-inner {\n position: absolute;\n}\n\n.menu-list :global .ant-dropdown-menu-item {\n padding: 0 !important;\n background: transparent !important;\n}\n.menu-list .btn-item {\n padding: 5px 8px !important;\n border: none;\n width: 100%;\n}\n.menu-list .btn-item:not(:disabled) {\n color: var(--primary-color);\n}\n.menu-list .btn-item:disabled {\n background: #ffffff;\n}\n.menu-list .btn-item:global(.ant-btn-primary) {\n color: #ffffff;\n}\n.menu-list .btn-item :global(.ant-btn-loading-icon) {\n display: none;\n}\n.menu-list .btn-item:hover:not(:disabled) {\n color: var(--primary-color);\n background: var(--primary-color-1) !important;\n}",".navigation-wrap {\n height: var(--nav-height);\n}\n\n.navigation {\n &.is-fixed {\n min-width: 1100px;\n width: 100%;\n position: fixed;\n z-index: 1000;\n transform: translateX(var(--scroll-left, 0px));\n }\n\n line-height: var(--nav-height) !important;\n height: var(--nav-height) !important;\n\n :global(.ant-row) {\n height: var(--nav-height);\n }\n\n &:global(.ant-layout-header) {\n padding: 0 32px;\n background: var(--primary-color);\n color: #fff;\n z-index: 1000;\n }\n\n :global(.ant-menu) {\n color: #fff;\n background: transparent;\n border-bottom: none;\n line-height: var(--nav-height);\n overflow: hidden;\n }\n\n :global(.ant-menu-submenu-title) {\n font-weight: 500;\n color: #fff !important;\n }\n\n :global(.ant-menu-submenu) {\n padding: 0 16px !important;\n height: 100%;\n }\n\n :global(.ant-menu-item) {\n padding: 0 16px !important;\n\n &:first-child {\n padding-left: 20px !important;\n }\n\n :global(.ant-menu-title-content) {\n font-weight: 500;\n color: var(--bg-color-white);\n &:hover {\n color: var(--bg-color-white);\n }\n }\n }\n\n :global(.ant-menu-item-selected),\n :global(.ant-menu-item-active) {\n color: #fff !important;\n font-weight: bold;\n\n :global(.ant-menu-title-content) {\n color: var(--bg-color-white);\n }\n }\n\n :global(.ant-menu-item),\n :global(.ant-menu-overflow-item) {\n &:global(.ant-menu-item-selected):after,\n &:global(.ant-menu-submenu-selected):after {\n opacity: 1;\n }\n\n &:after {\n border-bottom: none !important;\n bottom: 8px !important;\n display: block;\n height: 2px;\n border-radius: 1px;\n background: var(--bg-color-white);\n transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n opacity: 0;\n left: 16px;\n width: calc(100% - 32px);\n right: unset;\n }\n }\n\n :global(.ant-btn-link) {\n color: #fff;\n }\n}\n\n.navigation-logo {\n display: flex;\n align-items: center;\n}\n\n.logo {\n height: calc(var(--nav-height) - 16px);\n}\n\n.navigation-list {\n margin-left: calc(var(--nav-height) - 16px);\n\n :global(.ant-menu) {\n height: 100%;\n align-items: center;\n\n :global(.ant-menu-item) {\n height: 100%;\n }\n }\n\n :global {\n .ant-menu-item:focus-visible {\n outline: none;\n color: #fff !important;\n border: none;\n box-shadow: none;\n }\n }\n}\n\n.navigation-options {\n flex-shrink: 0;\n\n :global(.ant-space) {\n display: flex;\n height: var(--nav-height);\n }\n}\n\n.menu-overlay {\n :global(.ant-menu-sub) {\n margin: 0;\n }\n}\n\n.more-icon {\n transform: scale(0.85);\n display: inline-block;\n font-size: var(--font-size-small);\n}\n"],"names":[],"sourceRoot":""}
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gCAEE,0BAAkC,CADlC,mBAEF,CACA,gBAEE,WAAY,CADZ,yBAA2B,CAE3B,UACF,CACA,+BACE,0BACF,CACA,yBACE,eACF,CACA,gCACE,UACF,CACA,sCACE,YACF,CACA,qCAEE,2CAA6C,CAD7C,0BAEF,CCzCA,qCACE,yBAGF,gCAUE,mCADA,uCACA,CATA,6DACE,iBAEA,eAEA,mEAHA,WAEA,YACA,CAMF,yCACE,yBAGF,kDAEE,gCACA,WAFA,eAGA,aAGF,0CAEE,iBACA,mBAFA,WAGA,8BACA,gBAGF,wDAEE,qBADA,eACA,CAGF,kDAEE,YADA,wBACA,CAGF,+CACE,yBAEA,2DACE,4BAGF,uEAEE,4BADA,eACA,CACA,6EACE,4BAKN,8GAEE,qBACA,gBAEA,8JACE,4BAMF,wUAEE,UAGF,mHAME,iCALA,6BAIA,kBAHA,qBACA,cACA,WAKA,UADA,UAGA,WAJA,sDAGA,uBACA,CAIJ,8CACE,WAIJ,qCAEE,mBADA,YACA,CAGF,0BACE,sCAGF,qCACE,2CAEA,+CAEE,mBADA,WACA,CAEA,8DACE,YAKF,kEAGE,YACA,gBAFA,qBADA,YAGA,CAKN,wCACE,cAEA,mDACE,aACA,yBAKF,gDACE,SAIJ,+BAEE,qBACA,iCAFA,oBAEA","sources":["components/Image/style.module.scss","../node_modules/simplebar/dist/simplebar.css","../node_modules/@kne/button-group/dist/style.module.scss","components/Navigation/style.module.scss"],"sourcesContent":[".img-outer {\n display: inline-block;\n line-height: 0;\n overflow: hidden;\n min-width: 32px;\n min-height: 32px;\n vertical-align: middle;\n\n .img,\n .loading,\n .loading:global(.ant-skeleton) :global(.ant-skeleton-avatar),\n .error:global(.iconfont--color),\n :global(.ant-avatar .iconfont--color) {\n display: inline-block;\n width: 100%;\n height: 100%;\n }\n}\n","[data-simplebar] {\n position: relative;\n flex-direction: column;\n flex-wrap: wrap;\n justify-content: flex-start;\n align-content: flex-start;\n align-items: flex-start;\n}\n\n.simplebar-wrapper {\n overflow: hidden;\n width: inherit;\n height: inherit;\n max-width: inherit;\n max-height: inherit;\n}\n\n.simplebar-mask {\n direction: inherit;\n position: absolute;\n overflow: hidden;\n padding: 0;\n margin: 0;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n width: auto !important;\n height: auto !important;\n z-index: 0;\n}\n\n.simplebar-offset {\n direction: inherit !important;\n box-sizing: inherit !important;\n resize: none !important;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n padding: 0;\n margin: 0;\n -webkit-overflow-scrolling: touch;\n}\n\n.simplebar-content-wrapper {\n direction: inherit;\n box-sizing: border-box !important;\n position: relative;\n display: block;\n height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */\n width: auto;\n max-width: 100%; /* Not required for horizontal scroll to trigger */\n max-height: 100%; /* Needed for vertical scroll to trigger */\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n.simplebar-content-wrapper::-webkit-scrollbar,\n.simplebar-hide-scrollbar::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n}\n\n.simplebar-content:before,\n.simplebar-content:after {\n content: ' ';\n display: table;\n}\n\n.simplebar-placeholder {\n max-height: 100%;\n max-width: 100%;\n width: 100%;\n pointer-events: none;\n}\n\n.simplebar-height-auto-observer-wrapper {\n box-sizing: inherit !important;\n height: 100%;\n width: 100%;\n max-width: 1px;\n position: relative;\n float: left;\n max-height: 1px;\n overflow: hidden;\n z-index: -1;\n padding: 0;\n margin: 0;\n pointer-events: none;\n flex-grow: inherit;\n flex-shrink: 0;\n flex-basis: 0;\n}\n\n.simplebar-height-auto-observer {\n box-sizing: inherit;\n display: block;\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n height: 1000%;\n width: 1000%;\n min-height: 1px;\n min-width: 1px;\n overflow: hidden;\n pointer-events: none;\n z-index: -1;\n}\n\n.simplebar-track {\n z-index: 1;\n position: absolute;\n right: 0;\n bottom: 0;\n pointer-events: none;\n overflow: hidden;\n}\n\n[data-simplebar].simplebar-dragging {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-content {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-track {\n pointer-events: all;\n}\n\n.simplebar-scrollbar {\n position: absolute;\n left: 0;\n right: 0;\n min-height: 10px;\n}\n\n.simplebar-scrollbar:before {\n position: absolute;\n content: '';\n background: black;\n border-radius: 7px;\n left: 2px;\n right: 2px;\n opacity: 0;\n transition: opacity 0.2s 0.5s linear;\n}\n\n.simplebar-scrollbar.simplebar-visible:before {\n opacity: 0.5;\n transition-delay: 0s;\n transition-duration: 0s;\n}\n\n.simplebar-track.simplebar-vertical {\n top: 0;\n width: 11px;\n}\n\n.simplebar-scrollbar:before {\n top: 2px;\n bottom: 2px;\n left: 2px;\n right: 2px;\n}\n\n.simplebar-track.simplebar-horizontal {\n left: 0;\n height: 11px;\n}\n\n.simplebar-track.simplebar-horizontal .simplebar-scrollbar {\n right: auto;\n left: 0;\n top: 0;\n bottom: 0;\n min-height: 0;\n min-width: 10px;\n width: auto;\n}\n\n/* Rtl support */\n[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {\n right: auto;\n left: 0;\n}\n\n.simplebar-dummy-scrollbar-size {\n direction: rtl;\n position: fixed;\n opacity: 0;\n visibility: hidden;\n height: 500px;\n width: 500px;\n overflow-y: hidden;\n overflow-x: scroll;\n -ms-overflow-style: scrollbar !important;\n}\n\n.simplebar-dummy-scrollbar-size > div {\n width: 200%;\n height: 200%;\n margin: 10px 0;\n}\n\n.simplebar-hide-scrollbar {\n position: fixed;\n left: 0;\n visibility: hidden;\n overflow-y: scroll;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n",".width-container {\n width: 100%;\n pointer-events: none;\n}\n\n.hidden-container {\n width: 0;\n height: 0;\n overflow: hidden;\n position: relative;\n pointer-events: none;\n}\n\n.hidden-inner {\n position: absolute;\n}\n\n.menu-list :global .ant-dropdown-menu-item {\n padding: 0 !important;\n background: transparent !important;\n}\n.menu-list .btn-item {\n padding: 5px 8px !important;\n border: none;\n width: 100%;\n}\n.menu-list .btn-item:not(:disabled) {\n color: var(--primary-color);\n}\n.menu-list .btn-item:disabled {\n background: #ffffff;\n}\n.menu-list .btn-item:global(.ant-btn-primary) {\n color: #ffffff;\n}\n.menu-list .btn-item :global(.ant-btn-loading-icon) {\n display: none;\n}\n.menu-list .btn-item:hover:not(:disabled) {\n color: var(--primary-color);\n background: var(--primary-color-1) !important;\n}",".navigation-wrap {\n height: var(--nav-height);\n}\n\n.navigation {\n &.is-fixed {\n min-width: 1100px;\n width: 100%;\n position: fixed;\n z-index: 1000;\n transform: translateX(var(--scroll-left, 0px));\n }\n\n line-height: var(--nav-height) !important;\n height: var(--nav-height) !important;\n\n :global(.ant-row) {\n height: var(--nav-height);\n }\n\n &:global(.ant-layout-header) {\n padding: 0 32px;\n background: var(--primary-color);\n color: #fff;\n z-index: 1000;\n }\n\n :global(.ant-menu) {\n color: #fff;\n background: transparent;\n border-bottom: none;\n line-height: var(--nav-height);\n overflow: hidden;\n }\n\n :global(.ant-menu-submenu-title) {\n font-weight: 500;\n color: #fff !important;\n }\n\n :global(.ant-menu-submenu) {\n padding: 0 16px !important;\n height: 100%;\n }\n\n :global(.ant-menu-item) {\n padding: 0 16px !important;\n\n &:first-child {\n padding-left: 20px !important;\n }\n\n :global(.ant-menu-title-content) {\n font-weight: 500;\n color: var(--bg-color-white);\n &:hover {\n color: var(--bg-color-white);\n }\n }\n }\n\n :global(.ant-menu-item-selected),\n :global(.ant-menu-item-active) {\n color: #fff !important;\n font-weight: bold;\n\n :global(.ant-menu-title-content) {\n color: var(--bg-color-white);\n }\n }\n\n :global(.ant-menu-item),\n :global(.ant-menu-overflow-item) {\n &:global(.ant-menu-item-selected):after,\n &:global(.ant-menu-submenu-selected):after {\n opacity: 1;\n }\n\n &:after {\n border-bottom: none !important;\n bottom: 8px !important;\n display: block;\n height: 2px;\n border-radius: 1px;\n background: var(--bg-color-white);\n transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n opacity: 0;\n left: 16px;\n width: calc(100% - 32px);\n right: unset;\n }\n }\n\n :global(.ant-btn-link) {\n color: #fff;\n }\n}\n\n.navigation-logo {\n display: flex;\n align-items: center;\n}\n\n.logo {\n height: calc(var(--nav-height) - 16px);\n}\n\n.navigation-list {\n margin-left: calc(var(--nav-height) - 16px);\n\n :global(.ant-menu) {\n height: 100%;\n align-items: center;\n\n :global(.ant-menu-item) {\n height: 100%;\n }\n }\n\n :global {\n .ant-menu-item:focus-visible {\n outline: none;\n color: #fff !important;\n border: none;\n box-shadow: none;\n }\n }\n}\n\n.navigation-options {\n flex-shrink: 0;\n\n :global(.ant-space) {\n display: flex;\n height: var(--nav-height);\n }\n}\n\n.menu-overlay {\n :global(.ant-menu-sub) {\n margin: 0;\n }\n}\n\n.more-icon {\n transform: scale(0.85);\n display: inline-block;\n font-size: var(--font-size-small);\n}\n"],"names":[],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
2
|
-
/*# sourceMappingURL=7866.
|
|
1
|
+
.style_outer__vbHB9__SNeYH{position:relative}.style_outer__vbHB9__SNeYH:after{content:"";cursor:not-allowed;display:block;height:100%;left:0;position:absolute;top:0;width:100%}[data-simplebar]{align-content:flex-start;align-items:flex-start;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;position:relative}.simplebar-wrapper{height:inherit;max-height:inherit;max-width:inherit;overflow:hidden;width:inherit}.simplebar-mask{direction:inherit;height:auto!important;overflow:hidden;width:auto!important;z-index:0}.simplebar-mask,.simplebar-offset{bottom:0;left:0;margin:0;padding:0;position:absolute;right:0;top:0}.simplebar-offset{-webkit-overflow-scrolling:touch;box-sizing:inherit!important;direction:inherit!important;resize:none!important}.simplebar-content-wrapper{-ms-overflow-style:none;box-sizing:border-box!important;direction:inherit;display:block;height:100%;max-height:100%;max-width:100%;overflow:auto;position:relative;scrollbar-width:none;width:auto}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;height:0;width:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;pointer-events:none;width:100%}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;flex-basis:0;flex-grow:inherit;flex-shrink:0;float:left;height:100%;margin:0;max-height:1px;max-width:1px;overflow:hidden;padding:0;pointer-events:none;position:relative;width:100%;z-index:-1}.simplebar-height-auto-observer{box-sizing:inherit;display:block;height:1000%;left:0;min-height:1px;min-width:1px;opacity:0;top:0;width:1000%;z-index:-1}.simplebar-height-auto-observer,.simplebar-track{overflow:hidden;pointer-events:none;position:absolute}.simplebar-track{bottom:0;right:0;z-index:1}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{-webkit-touch-callout:none;pointer-events:none;-webkit-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{left:0;min-height:10px;position:absolute;right:0}.simplebar-scrollbar:before{background:#000;border-radius:7px;content:"";opacity:0;position:absolute;transition:opacity .2s linear .5s}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{bottom:2px;left:2px;right:2px;top:2px}.simplebar-track.simplebar-horizontal{height:11px;left:0}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{bottom:0;left:0;min-height:0;min-width:10px;right:auto;top:0;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{left:0;right:auto}.simplebar-dummy-scrollbar-size{-ms-overflow-style:scrollbar!important;direction:rtl;height:500px;opacity:0;overflow-x:scroll;overflow-y:hidden;position:fixed;visibility:hidden;width:500px}.simplebar-dummy-scrollbar-size>div{height:200%;margin:10px 0;width:200%}.simplebar-hide-scrollbar{-ms-overflow-style:none;left:0;overflow-y:scroll;position:fixed;scrollbar-width:none;visibility:hidden}._zIHFy .ant-popover-inner{border-radius:8px;box-sizing:border-box;max-width:400px;padding:18px 24px}._zIHFy .ant-popover-inner .ant-popconfirm-inner-content{display:flex;flex-direction:column;min-height:60px}._zIHFy .ant-popover-inner .ant-popconfirm-buttons{align-items:flex-end;display:flex;flex:1 1;justify-content:flex-end}._zIHFy .ant-popover-inner .ant-popconfirm-message-icon{display:none}._R-IrF .ant-modal-content{border-radius:8px;box-sizing:border-box;padding:18px 24px}._F1kMl ._Iee0d{color:#222;font-size:14px;font-weight:700}._F1kMl ._aGBVE._0oW1K{color:var(--font-color)}._F1kMl .title-icon{color:#f53f3f;color:var(--state-error-color,#f53f3f);margin-top:4px}._F1kMl .title-icon>svg{display:block}._V58ju{width:100%}._V58ju,._XN3o6{pointer-events:none}._XN3o6{height:0;overflow:hidden;position:relative;width:0}._-depB{position:absolute}._juFTd .ant-dropdown-menu-item{background:#0000!important;padding:0!important}._juFTd ._x6dp-{border:none;padding:5px 8px!important;width:100%}._juFTd ._x6dp-:not(:disabled){color:var(--primary-color)}._juFTd ._x6dp-:disabled{background:#fff}._juFTd ._x6dp-.ant-btn-primary{color:#fff}._juFTd ._x6dp- .ant-btn-loading-icon{display:none}._juFTd ._x6dp-:hover:not(:disabled){background:var(--primary-color-1)!important;color:var(--primary-color)}
|
|
2
|
+
/*# sourceMappingURL=7866.e22d6b9d.chunk.css.map*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static/css/7866.
|
|
1
|
+
{"version":3,"file":"static/css/7866.e22d6b9d.chunk.css","mappings":"AAAA,2BACE,kBAEA,iCACE,WAOA,mBANA,cAEA,YAEA,OADA,kBAEA,MAJA,UAKA,CCXJ,iBAKE,wBAA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2CAA6C,CAD7C,0BAEF","sources":["components/Permissions/style.module.scss","../node_modules/simplebar/dist/simplebar.css","../node_modules/@kne/button-group/dist/style.module.scss"],"sourcesContent":[".outer {\n position: relative;\n\n &:after {\n content: \"\";\n display: block;\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n cursor: not-allowed;\n }\n}\n","[data-simplebar] {\n position: relative;\n flex-direction: column;\n flex-wrap: wrap;\n justify-content: flex-start;\n align-content: flex-start;\n align-items: flex-start;\n}\n\n.simplebar-wrapper {\n overflow: hidden;\n width: inherit;\n height: inherit;\n max-width: inherit;\n max-height: inherit;\n}\n\n.simplebar-mask {\n direction: inherit;\n position: absolute;\n overflow: hidden;\n padding: 0;\n margin: 0;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n width: auto !important;\n height: auto !important;\n z-index: 0;\n}\n\n.simplebar-offset {\n direction: inherit !important;\n box-sizing: inherit !important;\n resize: none !important;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n padding: 0;\n margin: 0;\n -webkit-overflow-scrolling: touch;\n}\n\n.simplebar-content-wrapper {\n direction: inherit;\n box-sizing: border-box !important;\n position: relative;\n display: block;\n height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */\n width: auto;\n max-width: 100%; /* Not required for horizontal scroll to trigger */\n max-height: 100%; /* Needed for vertical scroll to trigger */\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n.simplebar-content-wrapper::-webkit-scrollbar,\n.simplebar-hide-scrollbar::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n}\n\n.simplebar-content:before,\n.simplebar-content:after {\n content: ' ';\n display: table;\n}\n\n.simplebar-placeholder {\n max-height: 100%;\n max-width: 100%;\n width: 100%;\n pointer-events: none;\n}\n\n.simplebar-height-auto-observer-wrapper {\n box-sizing: inherit !important;\n height: 100%;\n width: 100%;\n max-width: 1px;\n position: relative;\n float: left;\n max-height: 1px;\n overflow: hidden;\n z-index: -1;\n padding: 0;\n margin: 0;\n pointer-events: none;\n flex-grow: inherit;\n flex-shrink: 0;\n flex-basis: 0;\n}\n\n.simplebar-height-auto-observer {\n box-sizing: inherit;\n display: block;\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n height: 1000%;\n width: 1000%;\n min-height: 1px;\n min-width: 1px;\n overflow: hidden;\n pointer-events: none;\n z-index: -1;\n}\n\n.simplebar-track {\n z-index: 1;\n position: absolute;\n right: 0;\n bottom: 0;\n pointer-events: none;\n overflow: hidden;\n}\n\n[data-simplebar].simplebar-dragging {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-content {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-track {\n pointer-events: all;\n}\n\n.simplebar-scrollbar {\n position: absolute;\n left: 0;\n right: 0;\n min-height: 10px;\n}\n\n.simplebar-scrollbar:before {\n position: absolute;\n content: '';\n background: black;\n border-radius: 7px;\n left: 2px;\n right: 2px;\n opacity: 0;\n transition: opacity 0.2s 0.5s linear;\n}\n\n.simplebar-scrollbar.simplebar-visible:before {\n opacity: 0.5;\n transition-delay: 0s;\n transition-duration: 0s;\n}\n\n.simplebar-track.simplebar-vertical {\n top: 0;\n width: 11px;\n}\n\n.simplebar-scrollbar:before {\n top: 2px;\n bottom: 2px;\n left: 2px;\n right: 2px;\n}\n\n.simplebar-track.simplebar-horizontal {\n left: 0;\n height: 11px;\n}\n\n.simplebar-track.simplebar-horizontal .simplebar-scrollbar {\n right: auto;\n left: 0;\n top: 0;\n bottom: 0;\n min-height: 0;\n min-width: 10px;\n width: auto;\n}\n\n/* Rtl support */\n[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {\n right: auto;\n left: 0;\n}\n\n.simplebar-dummy-scrollbar-size {\n direction: rtl;\n position: fixed;\n opacity: 0;\n visibility: hidden;\n height: 500px;\n width: 500px;\n overflow-y: hidden;\n overflow-x: scroll;\n -ms-overflow-style: scrollbar !important;\n}\n\n.simplebar-dummy-scrollbar-size > div {\n width: 200%;\n height: 200%;\n margin: 10px 0;\n}\n\n.simplebar-hide-scrollbar {\n position: fixed;\n left: 0;\n visibility: hidden;\n overflow-y: scroll;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n",".width-container {\n width: 100%;\n pointer-events: none;\n}\n\n.hidden-container {\n width: 0;\n height: 0;\n overflow: hidden;\n position: relative;\n pointer-events: none;\n}\n\n.hidden-inner {\n position: absolute;\n}\n\n.menu-list :global .ant-dropdown-menu-item {\n padding: 0 !important;\n background: transparent !important;\n}\n.menu-list .btn-item {\n padding: 5px 8px !important;\n border: none;\n width: 100%;\n}\n.menu-list .btn-item:not(:disabled) {\n color: var(--primary-color);\n}\n.menu-list .btn-item:disabled {\n background: #ffffff;\n}\n.menu-list .btn-item:global(.ant-btn-primary) {\n color: #ffffff;\n}\n.menu-list .btn-item :global(.ant-btn-loading-icon) {\n display: none;\n}\n.menu-list .btn-item:hover:not(:disabled) {\n color: var(--primary-color);\n background: var(--primary-color-1) !important;\n}"],"names":[],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
[data-simplebar]{align-content:flex-start;align-items:flex-start;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;position:relative}.simplebar-wrapper{height:inherit;max-height:inherit;max-width:inherit;overflow:hidden;width:inherit}.simplebar-mask{direction:inherit;height:auto!important;overflow:hidden;width:auto!important;z-index:0}.simplebar-mask,.simplebar-offset{bottom:0;left:0;margin:0;padding:0;position:absolute;right:0;top:0}.simplebar-offset{-webkit-overflow-scrolling:touch;box-sizing:inherit!important;direction:inherit!important;resize:none!important}.simplebar-content-wrapper{-ms-overflow-style:none;box-sizing:border-box!important;direction:inherit;display:block;height:100%;max-height:100%;max-width:100%;overflow:auto;position:relative;scrollbar-width:none;width:auto}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;height:0;width:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;pointer-events:none;width:100%}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;flex-basis:0;flex-grow:inherit;flex-shrink:0;float:left;height:100%;margin:0;max-height:1px;max-width:1px;overflow:hidden;padding:0;pointer-events:none;position:relative;width:100%;z-index:-1}.simplebar-height-auto-observer{box-sizing:inherit;display:block;height:1000%;left:0;min-height:1px;min-width:1px;opacity:0;top:0;width:1000%;z-index:-1}.simplebar-height-auto-observer,.simplebar-track{overflow:hidden;pointer-events:none;position:absolute}.simplebar-track{bottom:0;right:0;z-index:1}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{-webkit-touch-callout:none;pointer-events:none;-webkit-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{left:0;min-height:10px;position:absolute;right:0}.simplebar-scrollbar:before{background:#000;border-radius:7px;content:"";opacity:0;position:absolute;transition:opacity .2s linear .5s}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{bottom:2px;left:2px;right:2px;top:2px}.simplebar-track.simplebar-horizontal{height:11px;left:0}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{bottom:0;left:0;min-height:0;min-width:10px;right:auto;top:0;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{left:0;right:auto}.simplebar-dummy-scrollbar-size{-ms-overflow-style:scrollbar!important;direction:rtl;height:500px;opacity:0;overflow-x:scroll;overflow-y:hidden;position:fixed;visibility:hidden;width:500px}.simplebar-dummy-scrollbar-size>div{height:200%;margin:10px 0;width:200%}.simplebar-hide-scrollbar{-ms-overflow-style:none;left:0;overflow-y:scroll;position:fixed;scrollbar-width:none;visibility:hidden}._zIHFy .ant-popover-inner{border-radius:8px;box-sizing:border-box;max-width:400px;padding:18px 24px}._zIHFy .ant-popover-inner .ant-popconfirm-inner-content{display:flex;flex-direction:column;min-height:60px}._zIHFy .ant-popover-inner .ant-popconfirm-buttons{align-items:flex-end;display:flex;flex:1 1;justify-content:flex-end}._zIHFy .ant-popover-inner .ant-popconfirm-message-icon{display:none}._R-IrF .ant-modal-content{border-radius:8px;box-sizing:border-box;padding:18px 24px}._F1kMl ._Iee0d{color:#222;font-size:14px;font-weight:700}._F1kMl ._aGBVE._0oW1K{color:var(--font-color)}._F1kMl .title-icon{color:#f53f3f;color:var(--state-error-color,#f53f3f);margin-top:4px}._F1kMl .title-icon>svg{display:block}._V58ju{width:100%}._V58ju,._XN3o6{pointer-events:none}._XN3o6{height:0;overflow:hidden;position:relative;width:0}._-depB{position:absolute}._juFTd .ant-dropdown-menu-item{background:#0000!important;padding:0!important}._juFTd ._x6dp-{border:none;padding:5px 8px!important;width:100%}._juFTd ._x6dp-:not(:disabled){color:var(--primary-color)}._juFTd ._x6dp-:disabled{background:#fff}._juFTd ._x6dp-.ant-btn-primary{color:#fff}._juFTd ._x6dp- .ant-btn-loading-icon{display:none}._juFTd ._x6dp-:hover:not(:disabled){background:var(--primary-color-1)!important;color:var(--primary-color)}.style_notification__Vv-
|
|
2
|
-
/*# sourceMappingURL=8503.
|
|
1
|
+
[data-simplebar]{align-content:flex-start;align-items:flex-start;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;position:relative}.simplebar-wrapper{height:inherit;max-height:inherit;max-width:inherit;overflow:hidden;width:inherit}.simplebar-mask{direction:inherit;height:auto!important;overflow:hidden;width:auto!important;z-index:0}.simplebar-mask,.simplebar-offset{bottom:0;left:0;margin:0;padding:0;position:absolute;right:0;top:0}.simplebar-offset{-webkit-overflow-scrolling:touch;box-sizing:inherit!important;direction:inherit!important;resize:none!important}.simplebar-content-wrapper{-ms-overflow-style:none;box-sizing:border-box!important;direction:inherit;display:block;height:100%;max-height:100%;max-width:100%;overflow:auto;position:relative;scrollbar-width:none;width:auto}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;height:0;width:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;pointer-events:none;width:100%}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;flex-basis:0;flex-grow:inherit;flex-shrink:0;float:left;height:100%;margin:0;max-height:1px;max-width:1px;overflow:hidden;padding:0;pointer-events:none;position:relative;width:100%;z-index:-1}.simplebar-height-auto-observer{box-sizing:inherit;display:block;height:1000%;left:0;min-height:1px;min-width:1px;opacity:0;top:0;width:1000%;z-index:-1}.simplebar-height-auto-observer,.simplebar-track{overflow:hidden;pointer-events:none;position:absolute}.simplebar-track{bottom:0;right:0;z-index:1}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{-webkit-touch-callout:none;pointer-events:none;-webkit-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{left:0;min-height:10px;position:absolute;right:0}.simplebar-scrollbar:before{background:#000;border-radius:7px;content:"";opacity:0;position:absolute;transition:opacity .2s linear .5s}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{bottom:2px;left:2px;right:2px;top:2px}.simplebar-track.simplebar-horizontal{height:11px;left:0}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{bottom:0;left:0;min-height:0;min-width:10px;right:auto;top:0;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{left:0;right:auto}.simplebar-dummy-scrollbar-size{-ms-overflow-style:scrollbar!important;direction:rtl;height:500px;opacity:0;overflow-x:scroll;overflow-y:hidden;position:fixed;visibility:hidden;width:500px}.simplebar-dummy-scrollbar-size>div{height:200%;margin:10px 0;width:200%}.simplebar-hide-scrollbar{-ms-overflow-style:none;left:0;overflow-y:scroll;position:fixed;scrollbar-width:none;visibility:hidden}._zIHFy .ant-popover-inner{border-radius:8px;box-sizing:border-box;max-width:400px;padding:18px 24px}._zIHFy .ant-popover-inner .ant-popconfirm-inner-content{display:flex;flex-direction:column;min-height:60px}._zIHFy .ant-popover-inner .ant-popconfirm-buttons{align-items:flex-end;display:flex;flex:1 1;justify-content:flex-end}._zIHFy .ant-popover-inner .ant-popconfirm-message-icon{display:none}._R-IrF .ant-modal-content{border-radius:8px;box-sizing:border-box;padding:18px 24px}._F1kMl ._Iee0d{color:#222;font-size:14px;font-weight:700}._F1kMl ._aGBVE._0oW1K{color:var(--font-color)}._F1kMl .title-icon{color:#f53f3f;color:var(--state-error-color,#f53f3f);margin-top:4px}._F1kMl .title-icon>svg{display:block}._V58ju{width:100%}._V58ju,._XN3o6{pointer-events:none}._XN3o6{height:0;overflow:hidden;position:relative;width:0}._-depB{position:absolute}._juFTd .ant-dropdown-menu-item{background:#0000!important;padding:0!important}._juFTd ._x6dp-{border:none;padding:5px 8px!important;width:100%}._juFTd ._x6dp-:not(:disabled){color:var(--primary-color)}._juFTd ._x6dp-:disabled{background:#fff}._juFTd ._x6dp-.ant-btn-primary{color:#fff}._juFTd ._x6dp- .ant-btn-loading-icon{display:none}._juFTd ._x6dp-:hover:not(:disabled){background:var(--primary-color-1)!important;color:var(--primary-color)}.style_notification__Vv-MM__SNeYH{position:fixed;right:20px;top:var(--nav-only-height);z-index:1000}.style_list__l8KOo__SNeYH{box-sizing:initial;max-height:calc(100vh - var(--nav-only-height) - var(--head-option-height));padding:0 32px;transform:translateX(32px);width:320px}.style_header__3dcv8__SNeYH{background:linear-gradient(90deg,#fff0 17.3%,#fff 0,#fff);padding:4px 0}.style_item__d92RS__SNeYH{position:relative}.style_item__d92RS__SNeYH:after{background:linear-gradient(180deg,#fff0,#fffc 10%,#fff 50%,#fff);bottom:0;content:"";display:block;height:16px;pointer-events:none;position:absolute;width:100%}.style_item-box__dd-Lk__SNeYH{box-shadow:0 4px 32px 0 #0003;width:320px}.style_item-box__dd-Lk__SNeYH:last-child{box-shadow:none}.style_item-box__dd-Lk__SNeYH.style_index-1__f97L0__SNeYH,.style_item-box__dd-Lk__SNeYH.style_index-2__04vAw__SNeYH{background:#fff;border-radius:0 0 2px 2px;height:30px;left:50%;pointer-events:none;position:absolute;transform:translateX(-50%)}.style_item-box__dd-Lk__SNeYH.style_index-1__f97L0__SNeYH{bottom:-10px;width:300px}.style_item-box__dd-Lk__SNeYH.style_index-2__04vAw__SNeYH{bottom:-20px;width:280px}.style_item-box__dd-Lk__SNeYH.style_item-box-main__lnSak__SNeYH{margin-bottom:calc(var(--group-length)*10px);position:relative}.style_item-title__mArMd__SNeYH{border-radius:2px 2px 0 0;display:flex;height:32px;padding:0 16px}.style_item-title__mArMd__SNeYH,.style_item-title__mArMd__SNeYH .ant-typography{color:#fff;font-size:14px;line-height:32px}.style_item-title__mArMd__SNeYH.style_level-high__Uys7Y__SNeYH{background:#f66969}.style_item-title__mArMd__SNeYH.style_level-middle__EewyC__SNeYH{background:#ffb566}.style_item-title__mArMd__SNeYH.style_level-low__8kVyL__SNeYH{background:#7cabfe}.style_title-icon__1EoAG__SNeYH{font-size:16px!important;margin-right:4px}.style_item-subtitle__xeFJs__SNeYH{color:var(--font-color);display:flex;font-weight:700;justify-content:space-between;line-height:20px;margin-bottom:8px}.style_item-subtitle__xeFJs__SNeYH .ant-typography{font-size:12px;line-height:20px}.style_close-btn__7qpG3__SNeYH{color:var(--font-color-grey);cursor:pointer;font-size:14px!important;font-weight:400}.style_close-btn__7qpG3__SNeYH.style_is-loading__upVL\+__SNeYH{color:var(--font-color-grey-2);cursor:wait}.style_item-content__8MlsG__SNeYH{background:#fff;border-radius:0 0 2px 2px;box-shadow:0 4px 32px 0 #0003;color:var(--font-color-grey);font-size:12px;height:148px;line-height:20px;overflow:hidden;padding:16px}.style_item-content__8MlsG__SNeYH .content-content,.style_item-content__8MlsG__SNeYH .content-label{color:var(--font-color-grey)}.style_link-outer__kegyZ__SNeYH{bottom:16px;position:absolute;right:16px}.style_link-outer__kegyZ__SNeYH:before{background:linear-gradient(90deg,#ffffff80,#fff);content:"";display:block;height:100%;pointer-events:none;position:absolute;right:0;top:0;width:92px}.style_link__F2CO-__SNeYH{line-height:22px;position:relative}.style_is-last-item__MytRl__SNeYH{margin-bottom:calc(var(--group-length)*10px + 30px)}
|
|
2
|
+
/*# sourceMappingURL=8503.677546bd.chunk.css.map*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static/css/8503.3ea64480.chunk.css","mappings":"AAAA,iBAKE,wBAAyB,CACzB,sBAAuB,CAJvB,qBAAsB,CACtB,cAAe,CACf,0BAA2B,CAH3B,iBAMF,CAEA,mBAGE,cAAe,CAEf,kBAAmB,CADnB,iBAAkB,CAHlB,eAAgB,CAChB,aAIF,CAEA,gBACE,iBAAkB,CAUlB,qBAAuB,CARvB,eAAgB,CAOhB,oBAAsB,CAEtB,SACF,CAEA,kCAPE,QAAS,CAFT,MAAO,CADP,QAAS,CADT,SAAU,CAFV,iBAAkB,CAOlB,OAAQ,CAFR,KAoBF,CAZA,kBAWE,gCAAiC,CATjC,4BAA8B,CAD9B,2BAA6B,CAE7B,qBASF,CAEA,2BAWE,uBAAwB,CATxB,+BAAiC,CADjC,iBAAkB,CAGlB,aAAc,CACd,WAAY,CAGZ,eAAgB,CADhB,cAAe,CAEf,aAAc,CANd,iBAAkB,CAOlB,oBAAqB,CAJrB,UAMF,CAEA,2FAEE,YAAa,CAEb,QAAS,CADT,OAEF,CAEA,mDAEE,WAAY,CACZ,aACF,CAEA,uBACE,eAAgB,CAChB,cAAe,CAEf,mBAAoB,CADpB,UAEF,CAEA,wCACE,4BAA8B,CAc9B,YAAa,CAFb,iBAAkB,CAClB,aAAc,CARd,UAAW,CAJX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,iDAPA,WACA,cAEA,YASA,oBAVA,kBAGA,QADA,MAEA,UAMA,CAIJ,0BACE,iBACA,kBAGF,kCACE","sources":["../node_modules/simplebar/dist/simplebar.css","../node_modules/@kne/button-group/dist/style.module.scss","components/Notification/style.module.scss"],"sourcesContent":["[data-simplebar] {\n position: relative;\n flex-direction: column;\n flex-wrap: wrap;\n justify-content: flex-start;\n align-content: flex-start;\n align-items: flex-start;\n}\n\n.simplebar-wrapper {\n overflow: hidden;\n width: inherit;\n height: inherit;\n max-width: inherit;\n max-height: inherit;\n}\n\n.simplebar-mask {\n direction: inherit;\n position: absolute;\n overflow: hidden;\n padding: 0;\n margin: 0;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n width: auto !important;\n height: auto !important;\n z-index: 0;\n}\n\n.simplebar-offset {\n direction: inherit !important;\n box-sizing: inherit !important;\n resize: none !important;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n padding: 0;\n margin: 0;\n -webkit-overflow-scrolling: touch;\n}\n\n.simplebar-content-wrapper {\n direction: inherit;\n box-sizing: border-box !important;\n position: relative;\n display: block;\n height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */\n width: auto;\n max-width: 100%; /* Not required for horizontal scroll to trigger */\n max-height: 100%; /* Needed for vertical scroll to trigger */\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n.simplebar-content-wrapper::-webkit-scrollbar,\n.simplebar-hide-scrollbar::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n}\n\n.simplebar-content:before,\n.simplebar-content:after {\n content: ' ';\n display: table;\n}\n\n.simplebar-placeholder {\n max-height: 100%;\n max-width: 100%;\n width: 100%;\n pointer-events: none;\n}\n\n.simplebar-height-auto-observer-wrapper {\n box-sizing: inherit !important;\n height: 100%;\n width: 100%;\n max-width: 1px;\n position: relative;\n float: left;\n max-height: 1px;\n overflow: hidden;\n z-index: -1;\n padding: 0;\n margin: 0;\n pointer-events: none;\n flex-grow: inherit;\n flex-shrink: 0;\n flex-basis: 0;\n}\n\n.simplebar-height-auto-observer {\n box-sizing: inherit;\n display: block;\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n height: 1000%;\n width: 1000%;\n min-height: 1px;\n min-width: 1px;\n overflow: hidden;\n pointer-events: none;\n z-index: -1;\n}\n\n.simplebar-track {\n z-index: 1;\n position: absolute;\n right: 0;\n bottom: 0;\n pointer-events: none;\n overflow: hidden;\n}\n\n[data-simplebar].simplebar-dragging {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-content {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-track {\n pointer-events: all;\n}\n\n.simplebar-scrollbar {\n position: absolute;\n left: 0;\n right: 0;\n min-height: 10px;\n}\n\n.simplebar-scrollbar:before {\n position: absolute;\n content: '';\n background: black;\n border-radius: 7px;\n left: 2px;\n right: 2px;\n opacity: 0;\n transition: opacity 0.2s 0.5s linear;\n}\n\n.simplebar-scrollbar.simplebar-visible:before {\n opacity: 0.5;\n transition-delay: 0s;\n transition-duration: 0s;\n}\n\n.simplebar-track.simplebar-vertical {\n top: 0;\n width: 11px;\n}\n\n.simplebar-scrollbar:before {\n top: 2px;\n bottom: 2px;\n left: 2px;\n right: 2px;\n}\n\n.simplebar-track.simplebar-horizontal {\n left: 0;\n height: 11px;\n}\n\n.simplebar-track.simplebar-horizontal .simplebar-scrollbar {\n right: auto;\n left: 0;\n top: 0;\n bottom: 0;\n min-height: 0;\n min-width: 10px;\n width: auto;\n}\n\n/* Rtl support */\n[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {\n right: auto;\n left: 0;\n}\n\n.simplebar-dummy-scrollbar-size {\n direction: rtl;\n position: fixed;\n opacity: 0;\n visibility: hidden;\n height: 500px;\n width: 500px;\n overflow-y: hidden;\n overflow-x: scroll;\n -ms-overflow-style: scrollbar !important;\n}\n\n.simplebar-dummy-scrollbar-size > div {\n width: 200%;\n height: 200%;\n margin: 10px 0;\n}\n\n.simplebar-hide-scrollbar {\n position: fixed;\n left: 0;\n visibility: hidden;\n overflow-y: scroll;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n",".width-container {\n width: 100%;\n pointer-events: none;\n}\n\n.hidden-container {\n width: 0;\n height: 0;\n overflow: hidden;\n position: relative;\n pointer-events: none;\n}\n\n.hidden-inner {\n position: absolute;\n}\n\n.menu-list :global .ant-dropdown-menu-item {\n padding: 0 !important;\n background: transparent !important;\n}\n.menu-list .btn-item {\n padding: 5px 8px !important;\n border: none;\n width: 100%;\n}\n.menu-list .btn-item:not(:disabled) {\n color: var(--primary-color);\n}\n.menu-list .btn-item:disabled {\n background: #ffffff;\n}\n.menu-list .btn-item:global(.ant-btn-primary) {\n color: #ffffff;\n}\n.menu-list .btn-item :global(.ant-btn-loading-icon) {\n display: none;\n}\n.menu-list .btn-item:hover:not(:disabled) {\n color: var(--primary-color);\n background: var(--primary-color-1) !important;\n}",".notification {\n position: fixed;\n top: var(--nav-only-height);\n right: 20px;\n z-index: 1000;\n}\n\n.list {\n max-height: calc(100vh - var(--nav-only-height) - var(--head-option-height));\n padding: 0 32px;\n width: 320px;\n box-sizing: content-box;\n transform: translateX(32px);\n}\n\n.header {\n padding: 4px 0;\n background: linear-gradient(\n 90deg,\n rgba(255, 255, 255, 0) 17.3%,\n #ffffff 17.3%,\n #ffffff 100%\n );\n}\n\n.item {\n position: relative;\n\n &:after {\n content: \"\";\n display: block;\n width: 100%;\n height: 16px;\n position: absolute;\n bottom: 0;\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 0.8) 10%,\n #ffffff 50%,\n #ffffff 100%\n );\n pointer-events: none;\n }\n}\n\n.item-box {\n box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.2);\n width: 320px;\n\n &:last-child {\n box-shadow: none;\n }\n\n &.index-1,\n &.index-2 {\n position: absolute;\n height: 30px;\n left: 50%;\n transform: translateX(-50%);\n border-radius: 0 0 2px 2px;\n background: #ffffff;\n pointer-events: none;\n }\n\n &.index-1 {\n bottom: -10px;\n width: 300px;\n }\n\n &.index-2 {\n bottom: -20px;\n width: 280px;\n }\n\n &.item-box-main {\n position: relative;\n margin-bottom: calc(var(--group-length) * 10px);\n }\n}\n\n.item-title {\n line-height: 32px;\n height: 32px;\n font-size: 14px;\n color: #ffffff;\n border-radius: 2px 2px 0 0;\n padding: 0 16px;\n display: flex;\n\n :global(.ant-typography) {\n line-height: 32px;\n font-size: 14px;\n color: #ffffff;\n }\n\n &.level-high {\n background: #f66969;\n }\n\n &.level-middle {\n background: #ffb566;\n }\n\n &.level-low {\n background: #7cabfe;\n }\n}\n\n.title-icon {\n margin-right: 4px;\n font-size: 16px !important;\n}\n\n.item-subtitle {\n font-weight: bold;\n line-height: 20px;\n margin-bottom: 8px;\n color: var(--font-color);\n display: flex;\n justify-content: space-between;\n\n :global(.ant-typography) {\n line-height: 20px;\n font-size: 12px;\n }\n}\n\n.close-btn {\n font-size: 14px !important;\n color: var(--font-color-grey);\n font-weight: normal;\n cursor: pointer;\n\n &.is-loading {\n color: var(--font-color-grey-2);\n cursor: wait;\n }\n}\n\n.item-content {\n height: 148px;\n border-radius: 0 0 2px 2px;\n background: #ffffff;\n padding: 16px;\n overflow: hidden;\n color: var(--font-color-grey);\n line-height: 20px;\n font-size: 12px;\n box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.2);\n\n :global(.content-content),\n :global(.content-label) {\n color: var(--font-color-grey);\n }\n}\n\n.link-outer {\n position: absolute;\n right: 16px;\n bottom: 16px;\n\n &:before {\n content: \"\";\n display: block;\n position: absolute;\n height: 100%;\n top: 0;\n right: 0;\n width: 92px;\n background: linear-gradient(\n 90deg,\n rgba(255, 255, 255, 0.5) 0%,\n #ffffff 100%\n );\n pointer-events: none;\n }\n}\n\n.link {\n line-height: 22px;\n position: relative;\n}\n\n.is-last-item {\n margin-bottom: calc(var(--group-length) * 10px + 30px);\n}\n"],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"static/css/8503.677546bd.chunk.css","mappings":"AAAA,iBAKE,wBAAyB,CACzB,sBAAuB,CAJvB,qBAAsB,CACtB,cAAe,CACf,0BAA2B,CAH3B,iBAMF,CAEA,mBAGE,cAAe,CAEf,kBAAmB,CADnB,iBAAkB,CAHlB,eAAgB,CAChB,aAIF,CAEA,gBACE,iBAAkB,CAUlB,qBAAuB,CARvB,eAAgB,CAOhB,oBAAsB,CAEtB,SACF,CAEA,kCAPE,QAAS,CAFT,MAAO,CADP,QAAS,CADT,SAAU,CAFV,iBAAkB,CAOlB,OAAQ,CAFR,KAoBF,CAZA,kBAWE,gCAAiC,CATjC,4BAA8B,CAD9B,2BAA6B,CAE7B,qBASF,CAEA,2BAWE,uBAAwB,CATxB,+BAAiC,CADjC,iBAAkB,CAGlB,aAAc,CACd,WAAY,CAGZ,eAAgB,CADhB,cAAe,CAEf,aAAc,CANd,iBAAkB,CAOlB,oBAAqB,CAJrB,UAMF,CAEA,2FAEE,YAAa,CAEb,QAAS,CADT,OAEF,CAEA,mDAEE,WAAY,CACZ,aACF,CAEA,uBACE,eAAgB,CAChB,cAAe,CAEf,mBAAoB,CADpB,UAEF,CAEA,wCACE,4BAA8B,CAc9B,YAAa,CAFb,iBAAkB,CAClB,aAAc,CARd,UAAW,CAJX,WAAY,CASZ,QAAS,CAJT,cAAe,CAHf,aAAc,CAId,eAAgB,CAEhB,SAAU,CAEV,mBAAoB,CAPpB,iBAAkB,CAFlB,UAAW,CAMX,UAOF,CAEA,gCACE,kBAAmB,CACnB,aAAc,CAKd,YAAa,CADb,MAAO,CAGP,cAAe,CACf,aAAc,CAPd,SAAU,CAEV,KAAM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A,QACE,UAEF,CAEA,gBAHE,mBASF,CANA,QAEE,QAAS,CACT,eAAgB,CAChB,iBAAkB,CAHlB,OAKF,CAEA,QACE,iBACF,CAEA,gCAEE,0BAAkC,CADlC,mBAEF,CACA,gBAEE,WAAY,CADZ,yBAA2B,CAE3B,UACF,CACA,+BACE,0BACF,CACA,yBACE,eACF,CACA,gCACE,UACF,CACA,sCACE,YACF,CACA,qCAEE,2CAA6C,CAD7C,0BAEF,CCzCA,kCACE,eAEA,WADA,2BAEA,aAGF,0BAIE,mBAHA,4EACA,eAGA,2BAFA,WAEA,CAGF,4BAEE,0DADA,aACA,CAQF,0BACE,kBAEA,gCAOE,iEADA,SALA,WACA,cAEA,YAUA,oBATA,kBAFA,UAWA,CAIJ,8BACE,8BACA,YAEA,yCACE,gBAGF,oHAOE,gBADA,0BAHA,YACA,SAIA,oBANA,kBAGA,0BAGA,CAGF,0DACE,aACA,YAGF,0DACE,aACA,YAGF,gEAEE,6CADA,iBACA,CAIJ,gCAKE,0BAEA,aALA,YAIA,cACA,CAEA,gFALA,WADA,eAFA,gBAWE,CAGF,+DACE,mBAGF,iEACE,mBAGF,8DACE,mBAIJ,gCAEE,yBADA,gBACA,CAGF,mCAIE,wBACA,aAJA,gBAKA,8BAJA,iBACA,iBAGA,CAEA,mDAEE,eADA,gBACA,CAIJ,+BAEE,6BAEA,eAHA,yBAEA,eACA,CAEA,+DACE,+BACA,YAIJ,kCAGE,gBADA,0BAOA,8BAHA,6BAEA,eAPA,aAMA,iBAFA,gBADA,YAKA,CAEA,oGAEE,6BAIJ,gCAGE,YAFA,kBACA,UACA,CAEA,uCAQE,iDAPA,WACA,cAEA,YASA,oBAVA,kBAGA,QADA,MAEA,UAMA,CAIJ,0BACE,iBACA,kBAGF,kCACE","sources":["../node_modules/simplebar/dist/simplebar.css","../node_modules/@kne/button-group/dist/style.module.scss","components/Notification/style.module.scss"],"sourcesContent":["[data-simplebar] {\n position: relative;\n flex-direction: column;\n flex-wrap: wrap;\n justify-content: flex-start;\n align-content: flex-start;\n align-items: flex-start;\n}\n\n.simplebar-wrapper {\n overflow: hidden;\n width: inherit;\n height: inherit;\n max-width: inherit;\n max-height: inherit;\n}\n\n.simplebar-mask {\n direction: inherit;\n position: absolute;\n overflow: hidden;\n padding: 0;\n margin: 0;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n width: auto !important;\n height: auto !important;\n z-index: 0;\n}\n\n.simplebar-offset {\n direction: inherit !important;\n box-sizing: inherit !important;\n resize: none !important;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n padding: 0;\n margin: 0;\n -webkit-overflow-scrolling: touch;\n}\n\n.simplebar-content-wrapper {\n direction: inherit;\n box-sizing: border-box !important;\n position: relative;\n display: block;\n height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */\n width: auto;\n max-width: 100%; /* Not required for horizontal scroll to trigger */\n max-height: 100%; /* Needed for vertical scroll to trigger */\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n.simplebar-content-wrapper::-webkit-scrollbar,\n.simplebar-hide-scrollbar::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n}\n\n.simplebar-content:before,\n.simplebar-content:after {\n content: ' ';\n display: table;\n}\n\n.simplebar-placeholder {\n max-height: 100%;\n max-width: 100%;\n width: 100%;\n pointer-events: none;\n}\n\n.simplebar-height-auto-observer-wrapper {\n box-sizing: inherit !important;\n height: 100%;\n width: 100%;\n max-width: 1px;\n position: relative;\n float: left;\n max-height: 1px;\n overflow: hidden;\n z-index: -1;\n padding: 0;\n margin: 0;\n pointer-events: none;\n flex-grow: inherit;\n flex-shrink: 0;\n flex-basis: 0;\n}\n\n.simplebar-height-auto-observer {\n box-sizing: inherit;\n display: block;\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n height: 1000%;\n width: 1000%;\n min-height: 1px;\n min-width: 1px;\n overflow: hidden;\n pointer-events: none;\n z-index: -1;\n}\n\n.simplebar-track {\n z-index: 1;\n position: absolute;\n right: 0;\n bottom: 0;\n pointer-events: none;\n overflow: hidden;\n}\n\n[data-simplebar].simplebar-dragging {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-content {\n pointer-events: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n[data-simplebar].simplebar-dragging .simplebar-track {\n pointer-events: all;\n}\n\n.simplebar-scrollbar {\n position: absolute;\n left: 0;\n right: 0;\n min-height: 10px;\n}\n\n.simplebar-scrollbar:before {\n position: absolute;\n content: '';\n background: black;\n border-radius: 7px;\n left: 2px;\n right: 2px;\n opacity: 0;\n transition: opacity 0.2s 0.5s linear;\n}\n\n.simplebar-scrollbar.simplebar-visible:before {\n opacity: 0.5;\n transition-delay: 0s;\n transition-duration: 0s;\n}\n\n.simplebar-track.simplebar-vertical {\n top: 0;\n width: 11px;\n}\n\n.simplebar-scrollbar:before {\n top: 2px;\n bottom: 2px;\n left: 2px;\n right: 2px;\n}\n\n.simplebar-track.simplebar-horizontal {\n left: 0;\n height: 11px;\n}\n\n.simplebar-track.simplebar-horizontal .simplebar-scrollbar {\n right: auto;\n left: 0;\n top: 0;\n bottom: 0;\n min-height: 0;\n min-width: 10px;\n width: auto;\n}\n\n/* Rtl support */\n[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {\n right: auto;\n left: 0;\n}\n\n.simplebar-dummy-scrollbar-size {\n direction: rtl;\n position: fixed;\n opacity: 0;\n visibility: hidden;\n height: 500px;\n width: 500px;\n overflow-y: hidden;\n overflow-x: scroll;\n -ms-overflow-style: scrollbar !important;\n}\n\n.simplebar-dummy-scrollbar-size > div {\n width: 200%;\n height: 200%;\n margin: 10px 0;\n}\n\n.simplebar-hide-scrollbar {\n position: fixed;\n left: 0;\n visibility: hidden;\n overflow-y: scroll;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n",".width-container {\n width: 100%;\n pointer-events: none;\n}\n\n.hidden-container {\n width: 0;\n height: 0;\n overflow: hidden;\n position: relative;\n pointer-events: none;\n}\n\n.hidden-inner {\n position: absolute;\n}\n\n.menu-list :global .ant-dropdown-menu-item {\n padding: 0 !important;\n background: transparent !important;\n}\n.menu-list .btn-item {\n padding: 5px 8px !important;\n border: none;\n width: 100%;\n}\n.menu-list .btn-item:not(:disabled) {\n color: var(--primary-color);\n}\n.menu-list .btn-item:disabled {\n background: #ffffff;\n}\n.menu-list .btn-item:global(.ant-btn-primary) {\n color: #ffffff;\n}\n.menu-list .btn-item :global(.ant-btn-loading-icon) {\n display: none;\n}\n.menu-list .btn-item:hover:not(:disabled) {\n color: var(--primary-color);\n background: var(--primary-color-1) !important;\n}",".notification {\n position: fixed;\n top: var(--nav-only-height);\n right: 20px;\n z-index: 1000;\n}\n\n.list {\n max-height: calc(100vh - var(--nav-only-height) - var(--head-option-height));\n padding: 0 32px;\n width: 320px;\n box-sizing: content-box;\n transform: translateX(32px);\n}\n\n.header {\n padding: 4px 0;\n background: linear-gradient(\n 90deg,\n rgba(255, 255, 255, 0) 17.3%,\n #ffffff 17.3%,\n #ffffff 100%\n );\n}\n\n.item {\n position: relative;\n\n &:after {\n content: \"\";\n display: block;\n width: 100%;\n height: 16px;\n position: absolute;\n bottom: 0;\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 0.8) 10%,\n #ffffff 50%,\n #ffffff 100%\n );\n pointer-events: none;\n }\n}\n\n.item-box {\n box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.2);\n width: 320px;\n\n &:last-child {\n box-shadow: none;\n }\n\n &.index-1,\n &.index-2 {\n position: absolute;\n height: 30px;\n left: 50%;\n transform: translateX(-50%);\n border-radius: 0 0 2px 2px;\n background: #ffffff;\n pointer-events: none;\n }\n\n &.index-1 {\n bottom: -10px;\n width: 300px;\n }\n\n &.index-2 {\n bottom: -20px;\n width: 280px;\n }\n\n &.item-box-main {\n position: relative;\n margin-bottom: calc(var(--group-length) * 10px);\n }\n}\n\n.item-title {\n line-height: 32px;\n height: 32px;\n font-size: 14px;\n color: #ffffff;\n border-radius: 2px 2px 0 0;\n padding: 0 16px;\n display: flex;\n\n :global(.ant-typography) {\n line-height: 32px;\n font-size: 14px;\n color: #ffffff;\n }\n\n &.level-high {\n background: #f66969;\n }\n\n &.level-middle {\n background: #ffb566;\n }\n\n &.level-low {\n background: #7cabfe;\n }\n}\n\n.title-icon {\n margin-right: 4px;\n font-size: 16px !important;\n}\n\n.item-subtitle {\n font-weight: bold;\n line-height: 20px;\n margin-bottom: 8px;\n color: var(--font-color);\n display: flex;\n justify-content: space-between;\n\n :global(.ant-typography) {\n line-height: 20px;\n font-size: 12px;\n }\n}\n\n.close-btn {\n font-size: 14px !important;\n color: var(--font-color-grey);\n font-weight: normal;\n cursor: pointer;\n\n &.is-loading {\n color: var(--font-color-grey-2);\n cursor: wait;\n }\n}\n\n.item-content {\n height: 148px;\n border-radius: 0 0 2px 2px;\n background: #ffffff;\n padding: 16px;\n overflow: hidden;\n color: var(--font-color-grey);\n line-height: 20px;\n font-size: 12px;\n box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.2);\n\n :global(.content-content),\n :global(.content-label) {\n color: var(--font-color-grey);\n }\n}\n\n.link-outer {\n position: absolute;\n right: 16px;\n bottom: 16px;\n\n &:before {\n content: \"\";\n display: block;\n position: absolute;\n height: 100%;\n top: 0;\n right: 0;\n width: 92px;\n background: linear-gradient(\n 90deg,\n rgba(255, 255, 255, 0.5) 0%,\n #ffffff 100%\n );\n pointer-events: none;\n }\n}\n\n.link {\n line-height: 22px;\n position: relative;\n}\n\n.is-last-item {\n margin-bottom: calc(var(--group-length) * 10px + 30px);\n}\n"],"names":[],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1045,7766],{17342:(e,o,t)=>{t.d(o,{A:()=>s});var l=t(8762),n=t.n(l);t(46733);const s=n()},3382:(e,o,t)=>{t.r(o),t.d(o,{ModalButton:()=>R,TabsModal:()=>
|
|
2
|
-
//# sourceMappingURL=1045.
|
|
1
|
+
"use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1045,7766],{17342:(e,o,t)=>{t.d(o,{A:()=>s});var l=t(8762),n=t.n(l);t(46733);const s=n()},3382:(e,o,t)=>{t.r(o),t.d(o,{ModalButton:()=>R,TabsModal:()=>P,TabsModalButton:()=>M,default:()=>v,useConfirmModal:()=>w,useModal:()=>S,useTabsModal:()=>H});var l=t(73884),n=t(55199),s=t(83136),i=t.n(s);const r={modal:"style_modal__Pm3cF__SNeYH",large:"style_large__iaqVE__SNeYH","modal-body-inner":"style_modal-body-inner__4PhpA__SNeYH","modal-title":"style_modal-title__dswaw__SNeYH","modal-outer":"style_modal-outer__r3SkX__SNeYH","modal-body":"style_modal-body__jQJSI__SNeYH","right-options-modal":"style_right-options-modal__FajDP__SNeYH","right-options-row":"style_right-options-row__-mPb9__SNeYH","right-options-col":"style_right-options-col__3ilee__SNeYH","is-disabled-scroller":"style_is-disabled-scroller__PmHyk__SNeYH",content:"style_content__k6MIF__SNeYH","modal-footer":"style_modal-footer__-prbN__SNeYH","modal-close":"style_modal-close__Oa5Kl__SNeYH","confirm-modal-wrap":"style_confirm-modal-wrap__YFImr__SNeYH","is-danger":"style_is-danger__H5110__SNeYH",title:"style_title__orTym__SNeYH","has-title":"style_has-title__qy0Wp__SNeYH"},a=e=>({"en-US":()=>t.e(4628).then(t.bind(t,74628)),"zh-CN":()=>t.e(7478).then(t.bind(t,87478))}[e]());var c=t(47458),d=t(64671);const m=(e,o)=>"function"===typeof e?e(o):e;var h=t(81014),p=t(17342),_=t(70579);const u="Modal",f=e=>{let{options:o,rightSpan:t=6,children:l}=e;return o?(0,_.jsxs)(n.Row,{wrap:!1,className:r["right-options-row"],children:[(0,_.jsx)(n.Col,{span:24-t,className:r["right-options-col"],children:l}),(0,_.jsx)(n.Col,{span:t,className:r["right-options-col"],children:o})]}):l},y=(e,o)=>e-48-(o?58:0)+"px",g=(e,o)=>"large"===e?{width:`${Math.min(window.innerWidth-64,1500)}px`,style:{"--min-modal-height":y(500,o)}}:"small"===e?{width:"600px",style:{"--min-modal-height":y(300,o)}}:{width:"1000px",style:{"--min-modal-height":y(500,o)}},C=e=>{let{footer:o,footerButtons:t,onConfirm:s,onCancel:i,onClose:r,targetProps:d}=e;return(0,_.jsxs)(n.Row,{gutter:10,wrap:!1,children:[(0,_.jsx)(n.Col,{flex:1,children:o}),Array.isArray(t)&&0===t.length?null:(0,_.jsx)(n.Col,{children:(0,_.jsx)(n.Space,{children:(t||[{children:(0,_.jsx)(c.IntlProvider,{importMessages:a,moduleName:u,children:(0,_.jsx)(c.FormattedMessage,{id:"Cancel",moduleName:u})}),onClick:i},{type:"primary",children:(0,_.jsx)(c.IntlProvider,{importMessages:a,moduleName:u,children:(0,_.jsx)(c.FormattedMessage,{id:"Confirm",moduleName:u})}),onClick:s}]).filter((e=>"function"===typeof(null===e||void 0===e?void 0:e.display)?null===e||void 0===e?void 0:e.display():!1!==(null===e||void 0===e?void 0:e.display))).map(((e,o)=>{let{ButtonComponent:t,onClick:n,autoClose:s=!0,display:i,...a}=e;const c=t||h.default;return(0,l.createElement)(c,{...a,key:o,onClick:async function(){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];const l=await Promise.resolve(n&&n(...o,d));return s&&!1!==l&&r&&r(),l}})}))})})]})},b=e=>{let{title:o,footer:t,disabledScroller:s,footerButtons:a,onClose:c,closable:m,onConfirm:h,onCancel:u,children:f,targetProps:y}=e;const g=(0,l.useRef)(null);return(0,_.jsxs)("div",{className:r["modal-outer"],"data-testid":"components-core-modal",children:[!1===m?null:(0,_.jsx)(n.Button,{"data-testid":"components-core-modal-close-btn",className:r["modal-close"],type:"text",icon:(0,_.jsx)(d.default,{type:"icon-close-thin"}),onClick:e=>{e.stopPropagation(),c&&c()}}),o&&(0,_.jsx)("div",{className:r["modal-title"],children:o}),(0,_.jsx)(p.A,{className:i()(r["modal-body"],{[r["is-disabled-scroller"]]:s},"modal-body"),ref:g,children:(0,_.jsx)("div",{className:i()(r["modal-body-inner"],"modal-body-inner"),children:f})}),null!==t||a?(0,_.jsx)("div",{className:i()(r["modal-footer"],"modal-footer"),children:(0,_.jsx)(C,{footer:t,footerButtons:a,onConfirm:h,onCancel:u,onClose:c,targetProps:y})}):null]})},j=e=>{let{withDecorator:o,footerButtons:t,title:l,closable:n,onClose:s,onConfirm:i,onCancel:r,footer:a,rightOptions:c,rightSpan:d,disabledScroller:h,childrenRef:p,children:u}=e;const y=e=>(e=Object.assign({},{title:l},e),(0,_.jsx)(b,{title:m(e.title,{...e,childrenRef:p,close:s}),closable:n,onClose:s,onConfirm:i,onCancel:r,footerButtons:m(t,{...e,close:s}),disabledScroller:h,footer:m(a,{...e,childrenRef:p,close:s}),targetProps:Object.assign({},e,{childrenRef:p,close:s}),children:(0,_.jsx)(f,{rightSpan:d,options:m(c,{...e,childrenRef:p,close:s}),children:m(u,{...e,childrenRef:p,close:s})})}));return"function"===typeof o?o(y,{childrenRef:p,close:s}):y({})},N=e=>{let{children:o,rightOptions:t,rightSpan:l,footer:n,footerButtons:s,className:d,size:m,title:h,onClose:p,onConfirm:u,onCancel:f,closable:y,disabledScroller:C,withDecorator:b,childrenRef:N,...x}=e;return{...x,icon:null,centered:!0,title:null,maskClosable:!!x.hasOwnProperty("maskClosable")&&x.maskClosable,destroyOnClose:!0,footer:null,closable:!1,onCancel:p,className:i()(d,r.modal,r[m],{[r["right-options-modal"]]:t}),...g(m,!(null===n&&!s)),children:(0,_.jsx)(c.IntlProvider,{importMessages:a,moduleName:"Modal",children:j({withDecorator:b,title:h,closable:y,onClose:p,onConfirm:u,onCancel:f,footer:n,footerButtons:s,rightOptions:t,rightSpan:l,disabledScroller:C,children:o,childrenRef:N})})}},x=e=>{const o=(0,l.useRef)(null);return(0,_.jsx)(n.Modal,{...N(Object.assign({},e,{childrenRef:o}))})};x.defaultProps={size:"default"};const S=()=>{const{modal:e}=n.App.useApp(),o=(0,l.useRef)(null);return t=>{const l={},{children:n,...s}=N({onClose:()=>l.close(),childrenRef:o,...t}),{destroy:i}=e.info({...s,content:n});return l.close=i,l}},w=()=>{const{modal:e}=n.App.useApp();return o=>{const t={},{type:l,icon:s,title:a,danger:c,wrapClassName:m,message:h,iconSetting:p={},confirmType:u="info",...f}={onClose:()=>t.close(),maskClosable:!1,...o},y=Object.assign({},{info:"icon-xinxi-tianchong",confirm:"icon-tishi-tianchong",warning:"icon-tishi-tianchong",error:"icon-shibai",success:"icon-chenggong"},p);if(e[l]){const{destroy:o}=e[l]({...f,icon:null,wrapClassName:i()(r["confirm-modal-wrap"],m,{[r["is-danger"]]:c}),title:(0,_.jsx)(n.Space,{direction:"vertical",onClick:e=>{e.stopPropagation()},children:a&&(0,_.jsxs)(n.Space,{size:0,align:"start",className:r.title,children:[c?(0,_.jsx)(d.default,{className:i()("title-icon",`title-icon-${"confirm"===l?u:l}`),type:s||y["confirm"===l?u:l]}):null,a]})}),content:(0,_.jsxs)(n.Space,{size:0,align:"start",className:i()(r.content,{[r["has-title"]]:a}),children:[!a&&c?(0,_.jsx)(d.default,{className:i()("title-icon",`title-icon-${"confirm"===l?u:l}`),type:s||y["confirm"===l?u:l]}):null,h]})});t.close=o}return t}},v=x,k=e=>{let{items:o,className:t,activeKey:l,withDecorator:s,defaultActiveKey:r,onChange:a,...c}=e;return{...c,className:i()(t,"tabs-modal"),withDecorator:e=>{const t=t=>(0,_.jsx)(n.Tabs,{items:o.map((o=>{let{withDecorator:l,...n}=o;return Object.assign({},n,{children:"function"===typeof l?l((o=>e(Object.assign({},t,o,{children:n.children})))):e(Object.assign({},t,{children:n.children}))})})),destroyInactiveTabPane:!0,activeKey:l,defaultActiveKey:r,onChange:a});return"function"===typeof s?s(t):t()},children:e=>{let{children:o,...t}=e;return"function"===typeof o?o(t):o}}},P=e=>(0,_.jsx)(v,{...k(e)}),H=()=>{const e=S();return o=>e(k(o))};var Y=t(73025);const M=e=>{const o=H();return e.api?(0,_.jsx)(Y.A,{...e,modalFunc:o}):(0,_.jsx)(n.Button,{...e,onClick:()=>{o(e.modalProps)}})},R=e=>{const o=S();if(!e.api){const{modalProps:t,...l}=e;return(0,_.jsx)(n.Button,{...l,onClick:()=>{o(t)}})}return(0,_.jsx)(Y.A,{...e,modalFunc:o})}},46733:()=>{}}]);
|
|
2
|
+
//# sourceMappingURL=1045.fdf6c4bd.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/1045.e4ce3bd8.chunk.js","mappings":"yMAGA,QAAeA,G,6MCFf,SAAgB,MAAQ,4BAA4B,MAAQ,4BAA4B,mBAAmB,uCAAuC,cAAc,kCAAkC,cAAc,kCAAkC,aAAa,iCAAiC,sBAAsB,0CAA0C,oBAAoB,wCAAwC,oBAAoB,wCAAwC,uBAAuB,2CAA2C,QAAU,8BAA8B,eAAe,mCAAmC,cAAc,kCAAkC,qBAAqB,yCAAyC,YAAY,gCAAgC,MAAQ,4BAA4B,YAAY,iCCK9zB,EANwBC,IACZ,CACJ,QAASC,IAAM,gCAAmB,QAASC,IAAM,iCAClDF,M,0BCHP,MAOA,EAP0BG,CAACC,EAAQC,IACX,oBAAXD,EACFA,EAAOC,GAETD,E,qCCOT,MAAME,EAAmB,QAEZC,EAAeC,IAA2C,IAA1C,QAAEH,EAAO,UAAEI,EAAY,EAAC,SAAEC,GAAUF,EAC/D,OAAKH,GAIHM,EAAAA,EAAAA,MAACC,EAAAA,IAAG,CAACC,MAAM,EAAOC,UAAWC,EAAM,qBAAqBL,SAAA,EACtDM,EAAAA,EAAAA,KAACC,EAAAA,IAAG,CAACC,KAAM,GAAKT,EA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pC,KAK3B8E,EAAeA,KAC1B,MAAM/B,EAAQD,IACd,OAAQ9C,GAAU+C,EAAMX,EAAoBpC,GAAO,E,eCtDrD,MAgBa+E,EAAmB/E,IAC9B,MAAMgF,EAAYF,IAClB,OAAK9E,EAAMkD,KAUJzF,EAAAA,EAAAA,KAACwH,EAAAA,EAAW,IAAKjF,EAAOkF,UAAWF,KARtCvH,EAAAA,EAAAA,KAAC2D,EAAAA,OAAM,IACDpB,EACJT,QAASA,KACPyF,EAAUhF,EAAMmF,WAAW,GAKoB,EAEzD,EA9BqBnF,IACnB,MAAM+C,EAAQD,IACd,IAAK9C,EAAMkD,IAAK,CACd,MAAM,WAAEiC,KAAeC,GAAWpF,EAClC,OACEvC,EAAAA,EAAAA,KAAC2D,EAAAA,OAAM,IACDgE,EACJ7F,QAASA,KACPwD,EAAMoC,EAAW,GAIzB,CACA,OAAO1H,EAAAA,EAAAA,KAACwH,EAAAA,EAAW,IAAKjF,EAAOkF,UAAWnC,GAAS,C","sources":["common/components/SimpleBar.js","webpack://@kne-components/components-core/./src/components/Modal/style.module.scss?4fe4","components/Modal/locale/index.js","components/Modal/renderWithOptions.js","components/Modal/Modal.js","components/Modal/TabsModal.js","components/Modal/ModalButton.js"],"sourcesContent":["import SimpleBar from \"simplebar-react\";\nimport \"simplebar-react/dist/simplebar.min.css\";\n\nexport default SimpleBar;\n","// extracted by mini-css-extract-plugin\nexport default {\"modal\":\"style_modal__Pm3cF__V7geH\",\"large\":\"style_large__iaqVE__V7geH\",\"modal-body-inner\":\"style_modal-body-inner__4PhpA__V7geH\",\"modal-title\":\"style_modal-title__dswaw__V7geH\",\"modal-outer\":\"style_modal-outer__r3SkX__V7geH\",\"modal-body\":\"style_modal-body__jQJSI__V7geH\",\"right-options-modal\":\"style_right-options-modal__FajDP__V7geH\",\"right-options-row\":\"style_right-options-row__-mPb9__V7geH\",\"right-options-col\":\"style_right-options-col__3ilee__V7geH\",\"is-disabled-scroller\":\"style_is-disabled-scroller__PmHyk__V7geH\",\"content\":\"style_content__k6MIF__V7geH\",\"modal-footer\":\"style_modal-footer__-prbN__V7geH\",\"modal-close\":\"style_modal-close__Oa5Kl__V7geH\",\"confirm-modal-wrap\":\"style_confirm-modal-wrap__YFImr__V7geH\",\"is-danger\":\"style_is-danger__H5110__V7geH\",\"title\":\"style_title__orTym__V7geH\",\"has-title\":\"style_has-title__qy0Wp__V7geH\"};","const importMessages = (locale) => {\n return ({\n 'en-US': () => import('./en-US'), 'zh-CN': () => import('./zh-CN')\n })[locale]();\n};\n\nexport default importMessages;","const renderWithOptions = (footer, options) => {\n if (typeof footer === \"function\") {\n return footer(options);\n }\n return footer;\n};\n\nexport default renderWithOptions;\n","import React, { useRef } from \"react\";\nimport { App, Button, Col, Modal as AntdModal, Row, Space } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport importMessages from \"./locale\";\nimport { FormattedMessage, IntlProvider } from \"@components/Intl\";\nimport Icon from \"@components/Icon\";\nimport renderWithOptions from \"./renderWithOptions\";\nimport LoadingButton from \"@components/LoadingButton\";\nimport SimpleBar from \"@common/components/SimpleBar\";\n\nconst localeModuleName = \"Modal\";\n\nexport const RightOptions = ({ options, rightSpan = 6, children }) => {\n if (!options) {\n return children;\n }\n return (\n <Row wrap={false} className={style[\"right-options-row\"]}>\n <Col span={24 - rightSpan} className={style[\"right-options-col\"]}>\n {children}\n </Col>\n <Col span={rightSpan} className={style[\"right-options-col\"]}>\n {options}\n </Col>\n </Row>\n );\n};\n\nconst calcHeight = (height, footer) => {\n return `${height - 48 - (footer ? 58 : 0)}px`;\n};\n\nconst sizeMap = (type, footer) => {\n if (type === \"large\") {\n return {\n width: `${Math.min(window.innerWidth - 64, 1500)}px`,\n style: { \"--min-modal-height\": calcHeight(500, footer) },\n };\n }\n if (type === \"small\") {\n return {\n width: \"600px\",\n style: { \"--min-modal-height\": calcHeight(300, footer) },\n };\n }\n return {\n width: \"1000px\",\n style: { \"--min-modal-height\": calcHeight(500, footer) },\n };\n};\n\nconst Footer = ({\n footer,\n footerButtons,\n onConfirm,\n onCancel,\n onClose,\n targetProps,\n}) => {\n return (\n <Row gutter={10} wrap={false}>\n <Col flex={1}>{footer}</Col>\n {Array.isArray(footerButtons) && footerButtons.length === 0 ? null : (\n <Col>\n <Space>\n {(\n footerButtons || [\n {\n children: (\n <IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Cancel\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>\n ),\n onClick: onCancel,\n },\n {\n type: \"primary\",\n children: (\n <IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Confirm\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>\n ),\n onClick: onConfirm,\n },\n ]\n )\n .filter((item) => {\n if (typeof item?.display === \"function\") {\n return item?.display();\n }\n return item?.display !== false;\n })\n .map(\n (\n {\n ButtonComponent,\n onClick,\n autoClose = true,\n display,\n ...props\n },\n index\n ) => {\n const CurrentButton = ButtonComponent || LoadingButton;\n return (\n <CurrentButton\n {...props}\n key={index}\n onClick={async (...args) => {\n const res = await Promise.resolve(\n onClick && onClick(...args, targetProps)\n );\n autoClose && res !== false && onClose && onClose();\n return res;\n }}\n />\n );\n }\n )}\n </Space>\n </Col>\n )}\n </Row>\n );\n};\n\nconst ModalOuter = ({\n title,\n footer,\n disabledScroller,\n footerButtons,\n onClose,\n closable,\n onConfirm,\n onCancel,\n children,\n targetProps,\n}) => {\n const modalBodyRef = useRef(null);\n return (\n <div className={style[\"modal-outer\"]} data-testid=\"components-core-modal\">\n {closable === false ? null : (\n <Button\n data-testid=\"components-core-modal-close-btn\"\n className={style[\"modal-close\"]}\n type=\"text\"\n icon={<Icon type=\"icon-close-thin\" />}\n onClick={(e) => {\n e.stopPropagation();\n onClose && onClose();\n }}\n />\n )}\n {title && <div className={style[\"modal-title\"]}>{title}</div>}\n <SimpleBar\n className={classnames(\n style[\"modal-body\"],\n {\n [style[\"is-disabled-scroller\"]]: disabledScroller,\n },\n \"modal-body\"\n )}\n ref={modalBodyRef}\n >\n <div\n className={classnames(style[\"modal-body-inner\"], \"modal-body-inner\")}\n >\n {children}\n </div>\n </SimpleBar>\n {footer === null && !footerButtons ? null : (\n <div className={classnames(style[\"modal-footer\"], \"modal-footer\")}>\n <Footer\n footer={footer}\n footerButtons={footerButtons}\n onConfirm={onConfirm}\n onCancel={onCancel}\n onClose={onClose}\n targetProps={targetProps}\n />\n </div>\n )}\n </div>\n );\n};\n\nconst runWithDecorator = ({\n withDecorator,\n footerButtons,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n rightOptions,\n rightSpan,\n disabledScroller,\n childrenRef,\n children,\n}) => {\n const getInner = (props) => {\n props = Object.assign({}, { title }, props);\n return (\n <ModalOuter\n title={renderWithOptions(props.title, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n closable={closable}\n onClose={onClose}\n onConfirm={onConfirm}\n onCancel={onCancel}\n footerButtons={renderWithOptions(footerButtons, {\n ...props,\n close: onClose,\n })}\n disabledScroller={disabledScroller}\n footer={renderWithOptions(footer, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n targetProps={Object.assign({}, props, { childrenRef, close: onClose })}\n >\n <RightOptions\n rightSpan={rightSpan}\n options={renderWithOptions(rightOptions, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n >\n {renderWithOptions(children, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n </RightOptions>\n </ModalOuter>\n );\n };\n return typeof withDecorator === \"function\"\n ? withDecorator(getInner, {\n childrenRef,\n close: onClose,\n })\n : getInner({});\n};\n\nconst computedCommonProps = ({\n children,\n rightOptions,\n rightSpan,\n footer,\n footerButtons,\n className,\n size,\n title,\n onClose,\n onConfirm,\n onCancel,\n closable,\n disabledScroller,\n withDecorator,\n childrenRef,\n ...props\n}) => {\n return {\n ...props,\n icon: null,\n centered: true,\n title: null,\n maskClosable: props.hasOwnProperty(\"maskClosable\")\n ? props.maskClosable\n : false,\n destroyOnClose: true,\n footer: null,\n closable: false,\n onCancel: onClose,\n className: classnames(className, style[\"modal\"], style[size], {\n [style[\"right-options-modal\"]]: rightOptions,\n }),\n ...sizeMap(size, !(footer === null && !footerButtons)),\n children: (\n <IntlProvider importMessages={importMessages} moduleName=\"Modal\">\n {runWithDecorator({\n withDecorator,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n footerButtons,\n rightOptions,\n rightSpan,\n disabledScroller,\n children,\n childrenRef,\n })}\n </IntlProvider>\n ),\n };\n};\n\nconst Modal = (props) => {\n const childrenRef = useRef(null);\n return (\n <AntdModal\n {...computedCommonProps(Object.assign({}, props, { childrenRef }))}\n />\n );\n};\n\nModal.defaultProps = {\n size: \"default\", //large small\n};\n\nexport const useModal = () => {\n const { modal } = App.useApp();\n const childrenRef = useRef(null);\n return (props) => {\n const api = {};\n const { children, ...otherProps } = computedCommonProps({\n onClose: () => api.close(),\n childrenRef,\n ...props,\n });\n const { destroy } = modal.info({\n ...otherProps,\n content: children,\n });\n api.close = destroy;\n\n return api;\n };\n};\n\nexport const useConfirmModal = () => {\n const { modal } = App.useApp();\n return (props) => {\n const api = {};\n const {\n type,\n icon,\n title,\n danger,\n wrapClassName,\n message,\n iconSetting = {},\n confirmType = \"info\",\n ...otherProps\n } = {\n onClose: () => api.close(),\n maskClosable: false,\n ...props,\n };\n const typeEnum = Object.assign(\n {},\n {\n info: \"icon-xinxi-tianchong\",\n confirm: \"icon-tishi-tianchong\",\n warning: \"icon-tishi-tianchong\",\n error: \"icon-shibai\",\n success: \"icon-chenggong\",\n },\n iconSetting\n );\n if (modal[type]) {\n const { destroy } = modal[type]({\n ...otherProps,\n icon: null,\n wrapClassName: classnames(style[\"confirm-modal-wrap\"], wrapClassName, {\n [style[\"is-danger\"]]: danger,\n }),\n title: (\n <Space\n direction=\"vertical\"\n onClick={(e) => {\n e.stopPropagation();\n }}\n >\n {title && (\n <Space size={0} align=\"start\" className={style[\"title\"]}>\n {danger ? (\n <Icon\n className={classnames(\n \"title-icon\",\n `title-icon-${type === \"confirm\" ? confirmType : type}`\n )}\n type={\n icon || typeEnum[type === \"confirm\" ? confirmType : type]\n }\n />\n ) : null}\n {title}\n </Space>\n )}\n </Space>\n ),\n content: (\n <Space\n size={0}\n align=\"start\"\n className={classnames(style[\"content\"], {\n [style[\"has-title\"]]: title,\n })}\n >\n {!title && danger ? (\n <Icon\n className={classnames(\n \"title-icon\",\n `title-icon-${type === \"confirm\" ? confirmType : type}`\n )}\n type={icon || typeEnum[type === \"confirm\" ? confirmType : type]}\n />\n ) : null}\n {message}\n </Space>\n ),\n });\n api.close = destroy;\n }\n return api;\n };\n};\n\nexport default Modal;\n","import Modal, { useModal } from \"./Modal\";\nimport { Tabs } from \"antd\";\nimport classnames from \"classnames\";\n\nconst computedCommonProps = ({\n items,\n className,\n activeKey,\n withDecorator,\n defaultActiveKey,\n onChange,\n ...props\n}) => {\n return {\n ...props,\n className: classnames(className, \"tabs-modal\"),\n withDecorator: (render) => {\n const innerRender = (props) => (\n <Tabs\n items={items.map(({ withDecorator: itemWithDecorator, ...item }) => {\n return Object.assign({}, item, {\n children:\n typeof itemWithDecorator === \"function\"\n ? itemWithDecorator((innerProps) =>\n render(\n Object.assign({}, props, innerProps, {\n children: item.children,\n })\n )\n )\n : render(\n Object.assign({}, props, { children: item.children })\n ),\n });\n })}\n destroyInactiveTabPane\n activeKey={activeKey}\n defaultActiveKey={defaultActiveKey}\n onChange={onChange}\n />\n );\n return typeof withDecorator === \"function\"\n ? withDecorator(innerRender)\n : innerRender();\n },\n children: ({ children, ...props }) => {\n return typeof children === \"function\" ? children(props) : children;\n },\n };\n};\n\nconst TabsModal = (props) => {\n return <Modal {...computedCommonProps(props)} />;\n};\n\nexport default TabsModal;\n\nexport const useTabsModal = () => {\n const modal = useModal();\n return (props) => modal(computedCommonProps(props));\n};\n","import { useModal } from \"./Modal\";\nimport { useTabsModal } from \"./TabsModal\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport { Button } from \"antd\";\n\nconst ModalButton = (props) => {\n const modal = useModal();\n if (!props.api) {\n const { modalProps, ...others } = props;\n return (\n <Button\n {...others}\n onClick={() => {\n modal(modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={modal} />;\n};\n\nexport const TabsModalButton = (props) => {\n const tabsModal = useTabsModal();\n if (!props.api) {\n return (\n <Button\n {...props}\n onClick={() => {\n tabsModal(props.modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={tabsModal} />;\n};\nexport default ModalButton;\n"],"names":["SimpleBar","locale","en-US","zh-CN","renderWithOptions","footer","options","localeModuleName","RightOptions","_ref","rightSpan","children","_jsxs","Row","wrap","className","style","_jsx","Col","span","calcHeight","height","sizeMap","type","width","Math","min","window","innerWidth","Footer","_ref2","footerButtons","onConfirm","onCancel","onClose","targetProps","gutter","flex","Array","isArray","length","Space","IntlProvider","importMessages","moduleName","FormattedMessage","id","onClick","filter","item","display","map","_ref3","index","ButtonComponent","autoClose","props","CurrentButton","LoadingButton","_createElement","key","async","_len","arguments","args","_key","res","Promise","resolve","ModalOuter","_ref4","title","disabledScroller","closable","modalBodyRef","useRef","Button","icon","Icon","e","stopPropagation","classnames","ref","runWithDecorator","_ref5","withDecorator","rightOptions","childrenRef","getInner","Object","assign","close","computedCommonProps","_ref6","size","centered","maskClosable","hasOwnProperty","destroyOnClose","Modal","AntdModal","defaultProps","useModal","modal","App","useApp","api","otherProps","destroy","info","content","useConfirmModal","danger","wrapClassName","message","iconSetting","confirmType","typeEnum","confirm","warning","error","success","direction","align","items","activeKey","defaultActiveKey","onChange","render","innerRender","Tabs","itemWithDecorator","innerProps","destroyInactiveTabPane","useTabsModal","TabsModalButton","tabsModal","FetchButton","modalFunc","modalProps","others"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"static/js/1045.fdf6c4bd.chunk.js","mappings":"yMAGA,QAAeA,G,6MCFf,SAAgB,MAAQ,4BAA4B,MAAQ,4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kF,UAAWnC,GAAS,C","sources":["common/components/SimpleBar.js","webpack://@kne-components/components-core/./src/components/Modal/style.module.scss?4fe4","components/Modal/locale/index.js","components/Modal/renderWithOptions.js","components/Modal/Modal.js","components/Modal/TabsModal.js","components/Modal/ModalButton.js"],"sourcesContent":["import SimpleBar from \"simplebar-react\";\nimport \"simplebar-react/dist/simplebar.min.css\";\n\nexport default SimpleBar;\n","// extracted by mini-css-extract-plugin\nexport default {\"modal\":\"style_modal__Pm3cF__SNeYH\",\"large\":\"style_large__iaqVE__SNeYH\",\"modal-body-inner\":\"style_modal-body-inner__4PhpA__SNeYH\",\"modal-title\":\"style_modal-title__dswaw__SNeYH\",\"modal-outer\":\"style_modal-outer__r3SkX__SNeYH\",\"modal-body\":\"style_modal-body__jQJSI__SNeYH\",\"right-options-modal\":\"style_right-options-modal__FajDP__SNeYH\",\"right-options-row\":\"style_right-options-row__-mPb9__SNeYH\",\"right-options-col\":\"style_right-options-col__3ilee__SNeYH\",\"is-disabled-scroller\":\"style_is-disabled-scroller__PmHyk__SNeYH\",\"content\":\"style_content__k6MIF__SNeYH\",\"modal-footer\":\"style_modal-footer__-prbN__SNeYH\",\"modal-close\":\"style_modal-close__Oa5Kl__SNeYH\",\"confirm-modal-wrap\":\"style_confirm-modal-wrap__YFImr__SNeYH\",\"is-danger\":\"style_is-danger__H5110__SNeYH\",\"title\":\"style_title__orTym__SNeYH\",\"has-title\":\"style_has-title__qy0Wp__SNeYH\"};","const importMessages = (locale) => {\n return ({\n 'en-US': () => import('./en-US'), 'zh-CN': () => import('./zh-CN')\n })[locale]();\n};\n\nexport default importMessages;","const renderWithOptions = (footer, options) => {\n if (typeof footer === \"function\") {\n return footer(options);\n }\n return footer;\n};\n\nexport default renderWithOptions;\n","import React, { useRef } from \"react\";\nimport { App, Button, Col, Modal as AntdModal, Row, Space } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport importMessages from \"./locale\";\nimport { FormattedMessage, IntlProvider } from \"@components/Intl\";\nimport Icon from \"@components/Icon\";\nimport renderWithOptions from \"./renderWithOptions\";\nimport LoadingButton from \"@components/LoadingButton\";\nimport SimpleBar from \"@common/components/SimpleBar\";\n\nconst localeModuleName = \"Modal\";\n\nexport const RightOptions = ({ options, rightSpan = 6, children }) => {\n if (!options) {\n return children;\n }\n return (\n <Row wrap={false} className={style[\"right-options-row\"]}>\n <Col span={24 - rightSpan} className={style[\"right-options-col\"]}>\n {children}\n </Col>\n <Col span={rightSpan} className={style[\"right-options-col\"]}>\n {options}\n </Col>\n </Row>\n );\n};\n\nconst calcHeight = (height, footer) => {\n return `${height - 48 - (footer ? 58 : 0)}px`;\n};\n\nconst sizeMap = (type, footer) => {\n if (type === \"large\") {\n return {\n width: `${Math.min(window.innerWidth - 64, 1500)}px`,\n style: { \"--min-modal-height\": calcHeight(500, footer) },\n };\n }\n if (type === \"small\") {\n return {\n width: \"600px\",\n style: { \"--min-modal-height\": calcHeight(300, footer) },\n };\n }\n return {\n width: \"1000px\",\n style: { \"--min-modal-height\": calcHeight(500, footer) },\n };\n};\n\nconst Footer = ({\n footer,\n footerButtons,\n onConfirm,\n onCancel,\n onClose,\n targetProps,\n}) => {\n return (\n <Row gutter={10} wrap={false}>\n <Col flex={1}>{footer}</Col>\n {Array.isArray(footerButtons) && footerButtons.length === 0 ? null : (\n <Col>\n <Space>\n {(\n footerButtons || [\n {\n children: (\n <IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Cancel\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>\n ),\n onClick: onCancel,\n },\n {\n type: \"primary\",\n children: (\n <IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Confirm\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>\n ),\n onClick: onConfirm,\n },\n ]\n )\n .filter((item) => {\n if (typeof item?.display === \"function\") {\n return item?.display();\n }\n return item?.display !== false;\n })\n .map(\n (\n {\n ButtonComponent,\n onClick,\n autoClose = true,\n display,\n ...props\n },\n index\n ) => {\n const CurrentButton = ButtonComponent || LoadingButton;\n return (\n <CurrentButton\n {...props}\n key={index}\n onClick={async (...args) => {\n const res = await Promise.resolve(\n onClick && onClick(...args, targetProps)\n );\n autoClose && res !== false && onClose && onClose();\n return res;\n }}\n />\n );\n }\n )}\n </Space>\n </Col>\n )}\n </Row>\n );\n};\n\nconst ModalOuter = ({\n title,\n footer,\n disabledScroller,\n footerButtons,\n onClose,\n closable,\n onConfirm,\n onCancel,\n children,\n targetProps,\n}) => {\n const modalBodyRef = useRef(null);\n return (\n <div className={style[\"modal-outer\"]} data-testid=\"components-core-modal\">\n {closable === false ? null : (\n <Button\n data-testid=\"components-core-modal-close-btn\"\n className={style[\"modal-close\"]}\n type=\"text\"\n icon={<Icon type=\"icon-close-thin\" />}\n onClick={(e) => {\n e.stopPropagation();\n onClose && onClose();\n }}\n />\n )}\n {title && <div className={style[\"modal-title\"]}>{title}</div>}\n <SimpleBar\n className={classnames(\n style[\"modal-body\"],\n {\n [style[\"is-disabled-scroller\"]]: disabledScroller,\n },\n \"modal-body\"\n )}\n ref={modalBodyRef}\n >\n <div\n className={classnames(style[\"modal-body-inner\"], \"modal-body-inner\")}\n >\n {children}\n </div>\n </SimpleBar>\n {footer === null && !footerButtons ? null : (\n <div className={classnames(style[\"modal-footer\"], \"modal-footer\")}>\n <Footer\n footer={footer}\n footerButtons={footerButtons}\n onConfirm={onConfirm}\n onCancel={onCancel}\n onClose={onClose}\n targetProps={targetProps}\n />\n </div>\n )}\n </div>\n );\n};\n\nconst runWithDecorator = ({\n withDecorator,\n footerButtons,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n rightOptions,\n rightSpan,\n disabledScroller,\n childrenRef,\n children,\n}) => {\n const getInner = (props) => {\n props = Object.assign({}, { title }, props);\n return (\n <ModalOuter\n title={renderWithOptions(props.title, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n closable={closable}\n onClose={onClose}\n onConfirm={onConfirm}\n onCancel={onCancel}\n footerButtons={renderWithOptions(footerButtons, {\n ...props,\n close: onClose,\n })}\n disabledScroller={disabledScroller}\n footer={renderWithOptions(footer, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n targetProps={Object.assign({}, props, { childrenRef, close: onClose })}\n >\n <RightOptions\n rightSpan={rightSpan}\n options={renderWithOptions(rightOptions, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n >\n {renderWithOptions(children, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n </RightOptions>\n </ModalOuter>\n );\n };\n return typeof withDecorator === \"function\"\n ? withDecorator(getInner, {\n childrenRef,\n close: onClose,\n })\n : getInner({});\n};\n\nconst computedCommonProps = ({\n children,\n rightOptions,\n rightSpan,\n footer,\n footerButtons,\n className,\n size,\n title,\n onClose,\n onConfirm,\n onCancel,\n closable,\n disabledScroller,\n withDecorator,\n childrenRef,\n ...props\n}) => {\n return {\n ...props,\n icon: null,\n centered: true,\n title: null,\n maskClosable: props.hasOwnProperty(\"maskClosable\")\n ? props.maskClosable\n : false,\n destroyOnClose: true,\n footer: null,\n closable: false,\n onCancel: onClose,\n className: classnames(className, style[\"modal\"], style[size], {\n [style[\"right-options-modal\"]]: rightOptions,\n }),\n ...sizeMap(size, !(footer === null && !footerButtons)),\n children: (\n <IntlProvider importMessages={importMessages} moduleName=\"Modal\">\n {runWithDecorator({\n withDecorator,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n footerButtons,\n rightOptions,\n rightSpan,\n disabledScroller,\n children,\n childrenRef,\n })}\n </IntlProvider>\n ),\n };\n};\n\nconst Modal = (props) => {\n const childrenRef = useRef(null);\n return (\n <AntdModal\n {...computedCommonProps(Object.assign({}, props, { childrenRef }))}\n />\n );\n};\n\nModal.defaultProps = {\n size: \"default\", //large small\n};\n\nexport const useModal = () => {\n const { modal } = App.useApp();\n const childrenRef = useRef(null);\n return (props) => {\n const api = {};\n const { children, ...otherProps } = computedCommonProps({\n onClose: () => api.close(),\n childrenRef,\n ...props,\n });\n const { destroy } = modal.info({\n ...otherProps,\n content: children,\n });\n api.close = destroy;\n\n return api;\n };\n};\n\nexport const useConfirmModal = () => {\n const { modal } = App.useApp();\n return (props) => {\n const api = {};\n const {\n type,\n icon,\n title,\n danger,\n wrapClassName,\n message,\n iconSetting = {},\n confirmType = \"info\",\n ...otherProps\n } = {\n onClose: () => api.close(),\n maskClosable: false,\n ...props,\n };\n const typeEnum = Object.assign(\n {},\n {\n info: \"icon-xinxi-tianchong\",\n confirm: \"icon-tishi-tianchong\",\n warning: \"icon-tishi-tianchong\",\n error: \"icon-shibai\",\n success: \"icon-chenggong\",\n },\n iconSetting\n );\n if (modal[type]) {\n const { destroy } = modal[type]({\n ...otherProps,\n icon: null,\n wrapClassName: classnames(style[\"confirm-modal-wrap\"], wrapClassName, {\n [style[\"is-danger\"]]: danger,\n }),\n title: (\n <Space\n direction=\"vertical\"\n onClick={(e) => {\n e.stopPropagation();\n }}\n >\n {title && (\n <Space size={0} align=\"start\" className={style[\"title\"]}>\n {danger ? (\n <Icon\n className={classnames(\n \"title-icon\",\n `title-icon-${type === \"confirm\" ? confirmType : type}`\n )}\n type={\n icon || typeEnum[type === \"confirm\" ? confirmType : type]\n }\n />\n ) : null}\n {title}\n </Space>\n )}\n </Space>\n ),\n content: (\n <Space\n size={0}\n align=\"start\"\n className={classnames(style[\"content\"], {\n [style[\"has-title\"]]: title,\n })}\n >\n {!title && danger ? (\n <Icon\n className={classnames(\n \"title-icon\",\n `title-icon-${type === \"confirm\" ? confirmType : type}`\n )}\n type={icon || typeEnum[type === \"confirm\" ? confirmType : type]}\n />\n ) : null}\n {message}\n </Space>\n ),\n });\n api.close = destroy;\n }\n return api;\n };\n};\n\nexport default Modal;\n","import Modal, { useModal } from \"./Modal\";\nimport { Tabs } from \"antd\";\nimport classnames from \"classnames\";\n\nconst computedCommonProps = ({\n items,\n className,\n activeKey,\n withDecorator,\n defaultActiveKey,\n onChange,\n ...props\n}) => {\n return {\n ...props,\n className: classnames(className, \"tabs-modal\"),\n withDecorator: (render) => {\n const innerRender = (props) => (\n <Tabs\n items={items.map(({ withDecorator: itemWithDecorator, ...item }) => {\n return Object.assign({}, item, {\n children:\n typeof itemWithDecorator === \"function\"\n ? itemWithDecorator((innerProps) =>\n render(\n Object.assign({}, props, innerProps, {\n children: item.children,\n })\n )\n )\n : render(\n Object.assign({}, props, { children: item.children })\n ),\n });\n })}\n destroyInactiveTabPane\n activeKey={activeKey}\n defaultActiveKey={defaultActiveKey}\n onChange={onChange}\n />\n );\n return typeof withDecorator === \"function\"\n ? withDecorator(innerRender)\n : innerRender();\n },\n children: ({ children, ...props }) => {\n return typeof children === \"function\" ? children(props) : children;\n },\n };\n};\n\nconst TabsModal = (props) => {\n return <Modal {...computedCommonProps(props)} />;\n};\n\nexport default TabsModal;\n\nexport const useTabsModal = () => {\n const modal = useModal();\n return (props) => modal(computedCommonProps(props));\n};\n","import { useModal } from \"./Modal\";\nimport { useTabsModal } from \"./TabsModal\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport { Button } from \"antd\";\n\nconst ModalButton = (props) => {\n const modal = useModal();\n if (!props.api) {\n const { modalProps, ...others } = props;\n return (\n <Button\n {...others}\n onClick={() => {\n modal(modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={modal} />;\n};\n\nexport const TabsModalButton = (props) => {\n const tabsModal = useTabsModal();\n if (!props.api) {\n return (\n <Button\n {...props}\n onClick={() => {\n tabsModal(props.modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={tabsModal} />;\n};\nexport default ModalButton;\n"],"names":["SimpleBar","locale","en-US","zh-CN","renderWithOptions","footer","options","localeModuleName","RightOptions","_ref","rightSpan","children","_jsxs","Row","wrap","className","style","_jsx","Col","span","calcHeight","height","sizeMap","type","width","Math","min","window","innerWidth","Footer","_ref2","footerButtons","onConfirm","onCancel","onClose","targetProps","gutter","flex","Array","isArray","length","Space","IntlProvider","importMessages","moduleName","FormattedMessage","id","onClick","filter","item","display","map","_ref3","index","ButtonComponent","autoClose","props","CurrentButton","LoadingButton","_createElement","key","async","_len","arguments","args","_key","res","Promise","resolve","ModalOuter","_ref4","title","disabledScroller","closable","modalBodyRef","useRef","Button","icon","Icon","e","stopPropagation","classnames","ref","runWithDecorator","_ref5","withDecorator","rightOptions","childrenRef","getInner","Object","assign","close","computedCommonProps","_ref6","size","centered","maskClosable","hasOwnProperty","destroyOnClose","Modal","AntdModal","defaultProps","useModal","modal","App","useApp","api","otherProps","destroy","info","content","useConfirmModal","danger","wrapClassName","message","iconSetting","confirmType","typeEnum","confirm","warning","error","success","direction","align","items","activeKey","defaultActiveKey","onChange","render","innerRender","Tabs","itemWithDecorator","innerProps","destroyInactiveTabPane","useTabsModal","TabsModalButton","tabsModal","FetchButton","modalFunc","modalProps","others"],"sourceRoot":""}
|