@kne-components/components-admin 1.0.9 → 1.0.11

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.
Files changed (57) hide show
  1. package/build/asset-manifest.json +32 -32
  2. package/build/index.html +1 -1
  3. package/build/remoteEntry.js +1 -1
  4. package/build/remoteEntry.js.map +1 -1
  5. package/build/static/css/1156.7cdf0a5e.chunk.css +2 -0
  6. package/build/static/css/{1156.f57a0cff.chunk.css.map → 1156.7cdf0a5e.chunk.css.map} +1 -1
  7. package/build/static/css/1668.82de014e.chunk.css +2 -0
  8. package/build/static/css/{5582.f543b6b2.chunk.css.map → 1668.82de014e.chunk.css.map} +1 -1
  9. package/build/static/css/4283.ba6557aa.chunk.css +2 -0
  10. package/build/static/css/{4283.267159c6.chunk.css.map → 4283.ba6557aa.chunk.css.map} +1 -1
  11. package/build/static/css/5582.82de014e.chunk.css +2 -0
  12. package/build/static/css/{1668.f543b6b2.chunk.css.map → 5582.82de014e.chunk.css.map} +1 -1
  13. package/build/static/css/{7041.a73c664f.chunk.css → 7041.f3092ea7.chunk.css} +2 -2
  14. package/build/static/css/{7041.a73c664f.chunk.css.map → 7041.f3092ea7.chunk.css.map} +1 -1
  15. package/build/static/js/1668.75b1b5d6.chunk.js +3 -0
  16. package/build/static/js/{1668.c48a22cc.chunk.js.map → 1668.75b1b5d6.chunk.js.map} +1 -1
  17. package/build/static/js/192.8e630aca.chunk.js +3 -0
  18. package/build/static/js/192.8e630aca.chunk.js.map +1 -0
  19. package/build/static/js/3263.90da53dd.chunk.js +2 -0
  20. package/build/static/js/3263.90da53dd.chunk.js.map +1 -0
  21. package/build/static/js/4283.df2a5bfe.chunk.js +3 -0
  22. package/build/static/js/4283.df2a5bfe.chunk.js.map +1 -0
  23. package/build/static/js/5582.7f56034e.chunk.js +3 -0
  24. package/build/static/js/5582.7f56034e.chunk.js.map +1 -0
  25. package/build/static/js/7011.b66ed61d.chunk.js +2 -0
  26. package/build/static/js/{7011.da318c28.chunk.js.map → 7011.b66ed61d.chunk.js.map} +1 -1
  27. package/build/static/js/{7041.37497882.chunk.js → 7041.be0752dd.chunk.js} +2 -2
  28. package/build/static/js/{7041.37497882.chunk.js.map → 7041.be0752dd.chunk.js.map} +1 -1
  29. package/build/static/js/7167.a1dc0f98.chunk.js +3 -0
  30. package/build/static/js/7167.a1dc0f98.chunk.js.map +1 -0
  31. package/build/static/js/{8601.1e0ba717.chunk.js → 8601.01f3436b.chunk.js} +2 -2
  32. package/build/static/js/8601.01f3436b.chunk.js.map +1 -0
  33. package/build/static/js/{main.2cc27c9e.js → main.65cafb22.js} +2 -2
  34. package/build/static/js/{main.2cc27c9e.js.map → main.65cafb22.js.map} +1 -1
  35. package/package.json +1 -1
  36. package/build/static/css/1156.f57a0cff.chunk.css +0 -2
  37. package/build/static/css/1668.f543b6b2.chunk.css +0 -2
  38. package/build/static/css/4283.267159c6.chunk.css +0 -2
  39. package/build/static/css/5582.f543b6b2.chunk.css +0 -2
  40. package/build/static/js/1668.c48a22cc.chunk.js +0 -3
  41. package/build/static/js/192.9efaa8d4.chunk.js +0 -3
  42. package/build/static/js/192.9efaa8d4.chunk.js.map +0 -1
  43. package/build/static/js/3263.8bd91682.chunk.js +0 -2
  44. package/build/static/js/3263.8bd91682.chunk.js.map +0 -1
  45. package/build/static/js/4283.98e21806.chunk.js +0 -3
  46. package/build/static/js/4283.98e21806.chunk.js.map +0 -1
  47. package/build/static/js/5582.6adca79b.chunk.js +0 -3
  48. package/build/static/js/5582.6adca79b.chunk.js.map +0 -1
  49. package/build/static/js/7011.da318c28.chunk.js +0 -2
  50. package/build/static/js/7167.034ea8e2.chunk.js +0 -3
  51. package/build/static/js/7167.034ea8e2.chunk.js.map +0 -1
  52. package/build/static/js/8601.1e0ba717.chunk.js.map +0 -1
  53. /package/build/static/js/{1668.c48a22cc.chunk.js.LICENSE.txt → 1668.75b1b5d6.chunk.js.LICENSE.txt} +0 -0
  54. /package/build/static/js/{192.9efaa8d4.chunk.js.LICENSE.txt → 192.8e630aca.chunk.js.LICENSE.txt} +0 -0
  55. /package/build/static/js/{4283.98e21806.chunk.js.LICENSE.txt → 4283.df2a5bfe.chunk.js.LICENSE.txt} +0 -0
  56. /package/build/static/js/{5582.6adca79b.chunk.js.LICENSE.txt → 5582.7f56034e.chunk.js.LICENSE.txt} +0 -0
  57. /package/build/static/js/{7167.034ea8e2.chunk.js.LICENSE.txt → 7167.a1dc0f98.chunk.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ .style_out-left__wOmRS__r2llo{background:url(../../static/media/account_bg.ff605a86f9603c6b64ce.jpg) no-repeat;background-size:cover;height:var(--out-inner-height);max-height:var(--max-height);width:500px}.style_out-right__29XpV__r2llo{align-items:center;display:flex;flex:1 1 auto;height:var(--out-inner-height);max-height:var(--max-height);min-width:0;padding:50px 25px 24px;position:relative}.style_out-right-inner__DZjbq__r2llo{margin:auto;max-height:calc(var(--out-inner-height) - 76px);overflow-x:hidden;overflow-y:auto;padding:0 25px;width:100%}.style_container-left-content__2FtGT__r2llo{left:40px;position:absolute;top:20px}.style_container-left-logo__fR8Ed__r2llo{display:block;height:30px;width:30px}.style_container-left-title__vg7KF__r2llo{color:var(--primary-color);font-size:24px;font-weight:700}.style_out-container__iqnkT__r2llo{--out-inner-height:90vh;--max-height:640px;background:#fff;margin:0 auto;overflow:hidden;position:relative;width:1000px}.style_title__Pn7Uw__r2llo{font-size:20px;font-weight:700;line-height:30px;text-align:center}.style_back-link__TepOq__r2llo{color:#000000a6;font-size:12px;left:12px;padding:0;position:absolute;top:18px}.style_reset-new-desc__sdLt-__r2llo{color:var(--font-color-grey-1);font-size:12px;font-weight:400}.style_form-inner__AnfOK__r2llo{margin:80px auto;width:420px!important}.style_forget-button__4NY6I__r2llo{color:inherit;padding:0}.style_code-field__NvD9i__r2llo{flex:1 1}.style_get-code__j4NF-__r2llo{vertical-align:24px}.style_forget-input__psj0u__r2llo .react-form__field-describable{color:#9c9b9b}.style_success-info__zKcsw__r2llo{color:#373c43;font-size:13px}.style_main__GAYFL__r2llo{min-height:400px}.style_layout-row__WDBZP__r2llo{background:var(--primary-color);height:100vh;position:relative;width:100vw}.style_layout-inner__3pgxa__r2llo{background:#fff;border-radius:5px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.style_layout-inner-wrapper__XoEQK__r2llo{position:relative}.style_language__pn8jJ__r2llo{position:absolute;right:32px;top:32px}.style_icon__KSAP2__r2llo{display:block;transform:scale(.67)}.style_content__akCc4__r2llo{padding:16px 0;width:300px!important}.style_overlay__IH\+0B__r2llo{background:#fff;box-shadow:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.style_overlay__IH\+0B__r2llo .ant-popover-inner{padding:0}.style_info__5uvqI__r2llo{padding:0 16px}.style_tenant__pNb8v__r2llo{background:var(--primary-color-1);border:1px solid var(--primary-color-2);border-radius:2px;margin:0 16px;padding:10px 12px}.style_user-tool__CBaDm__r2llo{cursor:pointer}.style_divider__jcjqI__r2llo{margin:0}.style_options-list__RHknC__r2llo{color:var(--font-color-grey)}.style_options-list-item__IOziy__r2llo{cursor:pointer;padding:10px 16px!important}.style_options-list-item__IOziy__r2llo:hover{background:#f8f8f8;color:#222}.style_org__N0zoJ__r2llo{color:var(--font-color-grey)}.style_tenant-item__0Q6XJ__r2llo{border:1px solid #eee!important;border-block-end:1px solid #eee!important;border-radius:2px!important;cursor:pointer;padding:24px 16px!important}.style_tenant-item__0Q6XJ__r2llo:not(:last-child){margin-bottom:16px}.style_tenant-item__0Q6XJ__r2llo .style_current-sign__11f2P__r2llo{color:var(--primary-color);visibility:hidden}.style_tenant-item__0Q6XJ__r2llo.style_current-tenant__mdi5f__r2llo{background:var(--primary-color-1);border-bottom-color:var(--primary-color-4)!important;border:1px solid var(--primary-color-4)!important;border-block-end:1px solid var(--primary-color-4)!important}.style_tenant-item__0Q6XJ__r2llo.style_current-tenant__mdi5f__r2llo .style_current-sign__11f2P__r2llo{visibility:visible}.style_user-name__q7lY4__r2llo{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_company__wIKmA__r2llo{max-width:180px}.style_company__wIKmA__r2llo,.style_line__rOiNk__r2llo{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_line__rOiNk__r2llo{max-width:200px}
2
+ /*# sourceMappingURL=4283.ba6557aa.chunk.css.map*/
@@ -1 +1 @@
1
- {"version":3,"file":"static/css/4283.267159c6.chunk.css","mappings":"AAAA,8BACE,gFACA,sBAEA,+BACA,6BAGF,CAJE,WAIF,gCAOE,kBACA,CAFA,YACA,CACA,aAGF,CARE,8BACA,6BAEA,CAKF,YAVE,sBAEA,kBAQF,sCAGE,WACA,gDAEA,CAGF,kBAHE,eAGF,CALE,eAFA,UAOF,6CAMA,UAJE,iBAIF,mDAMA,cAHE,WAGF,CAJE,UAIF,2CAGE,2BADA,cACA,iBC3CF,mCAME,uBAAwB,CACxB,kBAAkB,CANlB,gBAIA,cADA,gBADA,kBADA,YAKmB,CAIrB,2BACE,eAEA,gBADA,iBAEA,kBAGF,+BAME,gBADA,eAFA,UACA,UAHA,kBACA,QAIA,CAGF,oCAEE,+BADA,eAEA,gBAGF,gCAEE,iBADA,qBACA,CCnCF,mCACE,cACA,UCFF,gCACE,SAEF,8BACE,oBCFE,iEACE,cAKN,kCAEE,cADA,cACA,CAGF,0BACE,iBCdF,gCAIE,gCAHA,aAEA,kBADA,WAEA,CAGF,kCACE,gBACA,kBAGA,SAFA,kBACA,QAEA,+BAGF,0CACE,kBAGF,8BACE,kBAEA,WADA,QACA,CCvBF,0BACE,cACA,qBAGF,6BAEE,eADA,qBACA,CAGF,8BACE,gBACA,oFAKE,iDACE,UAKN,0BACE,eAGF,4BACE,kCACA,wCACA,kBACA,cACA,kBAGF,+BACE,eAGF,6BACE,SAGF,kCACE,6BAGF,uCAEE,eADA,2BACA,CAEA,6CACE,mBACA,WAIJ,yBACE,6BAGF,iCACE,gCASA,0CARA,4BACA,eACA,2BAMA,CAJA,kDACE,mBAKF,mEAEE,2BADA,iBACA,CAGF,oEACE,kCACA,qDACA,kDACA,4DAEA,sGACE,mBAKN,+BACE,gBACA,gBACA,uBACA,mBAGF,6BACE,eAGA,CAGF,uDALE,gBACA,uBACA,kBAOA,CAJF,0BACE,eAGA","sources":["components/Account/LoginOuterContainer/style.module.scss","components/Account/style.module.scss","components/Account/Login/style.module.scss","components/Account/Register/style.module.scss","components/Account/ForgetByEmail/style.module.scss","components/Account/Account/style.module.scss","components/UserTool/style.module.scss"],"sourcesContent":[".out-left {\n background: url('./account_bg.jpg') no-repeat;\n background-size: cover;\n width: 500px;\n height: var(--out-inner-height);\n max-height: var(--max-height);\n}\n\n.out-right {\n padding: 50px 25px 24px 25px;\n position: relative;\n height: var(--out-inner-height);\n max-height: var(--max-height);\n display: flex;\n align-items: center;\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.out-right-inner {\n width: 100%;\n margin: auto;\n padding: 0 25px;\n max-height: calc(var(--out-inner-height) - 50px - 26px);\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n.container-left-content {\n position: absolute;\n left: 40px;\n top: 20px;\n}\n\n.container-left-logo {\n width: 30px;\n height: 30px;\n display: block;\n}\n\n.container-left-title {\n font-size: 24px;\n font-weight: bold;\n color: var(--primary-color);\n}\n",".out-container {\n background: #ffffff;\n width: 1000px;\n position: relative;\n overflow: hidden;\n margin: 0 auto;\n --out-inner-height: 90vh;\n --max-height: 640px;\n //max-height: var(--max-height);\n}\n\n.title {\n font-size: 20px;\n line-height: 30px;\n font-weight: bold;\n text-align: center;\n}\n\n.back-link {\n position: absolute;\n top: 18px;\n left: 12px;\n padding: 0;\n font-size: 12px;\n color: rgba($color: #000000, $alpha: 0.65);\n}\n\n.reset-new-desc {\n font-size: 12px;\n color: var(--font-color-grey-1);\n font-weight: 400;\n}\n\n.form-inner {\n width: 420px !important;\n margin: 80px auto;\n}\n",".forget-button {\n color: inherit;\n padding: 0;\n}\n",".code-field {\n flex: 1;\n}\n.get-code {\n vertical-align: 24px;\n}\n",".forget-input {\n :global {\n .react-form__field-describable {\n color: #9c9b9b;\n }\n }\n}\n\n.success-info {\n font-size: 13px;\n color: #373c43;\n}\n\n.main {\n min-height: 400px;\n}\n",".layout-row {\n height: 100vh;\n width: 100vw;\n position: relative;\n background: var(--primary-color);\n}\n\n.layout-inner {\n background: #fff;\n border-radius: 5px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.layout-inner-wrapper {\n position: relative;\n}\n\n.language {\n position: absolute;\n top: 32px;\n right: 32px;\n}\n",".icon {\n display: block;\n transform: scale(0.67);\n}\n\n.content {\n width: 300px !important;\n padding: 16px 0;\n}\n\n.overlay {\n background: #ffffff;\n box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n\n :global {\n .ant-popover-inner {\n padding: 0;\n }\n }\n}\n\n.info {\n padding: 0 16px;\n}\n\n.tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-2);\n border-radius: 2px;\n margin: 0 16px;\n padding: 10px 12px;\n}\n\n.user-tool {\n cursor: pointer;\n}\n\n.divider {\n margin: 0;\n}\n\n.options-list {\n color: var(--font-color-grey);\n}\n\n.options-list-item {\n padding: 10px 16px !important;\n cursor: pointer;\n\n &:hover {\n background: #f8f8f8;\n color: #222;\n }\n}\n\n.org {\n color: var(--font-color-grey);\n}\n\n.tenant-item {\n border: 1px solid #eee !important;\n border-radius: 2px !important;\n cursor: pointer;\n padding: 24px 16px !important;\n\n &:not(:last-child) {\n margin-bottom: 16px;\n }\n\n border-block-end: 1px solid #eee !important;\n\n .current-sign {\n visibility: hidden;\n color: var(--primary-color);\n }\n\n &.current-tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-4) !important;\n border-bottom-color: var(--primary-color-4) !important;\n border-block-end: 1px solid var(--primary-color-4) !important;\n\n .current-sign {\n visibility: visible;\n }\n }\n}\n\n.user-name {\n max-width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.company {\n max-width: 180px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.line {\n max-width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"static/css/4283.ba6557aa.chunk.css","mappings":"AAAA,8BACE,gFACA,sBAEA,+BACA,6BAGF,CAJE,WAIF,gCAOE,kBACA,CAFA,YACA,CACA,aAGF,CARE,8BACA,6BAEA,CAKF,YAVE,sBAEA,kBAQF,sCAGE,WACA,gDAEA,CAGF,kBAHE,eAGF,CALE,eAFA,UAOF,6CAMA,UAJE,iBAIF,mDAMA,cAHE,WAGF,CAJE,UAIF,2CAGE,2BADA,cACA,iBC3CF,mCAME,uBAAwB,CACxB,kBAAkB,CANlB,gBAIA,cADA,gBADA,kBADA,YAKmB,CAIrB,2BACE,eAEA,gBADA,iBAEA,kBAGF,+BAME,gBADA,eAFA,UACA,UAHA,kBACA,QAIA,CAGF,oCAEE,+BADA,eAEA,gBAGF,gCAEE,iBADA,qBACA,CCnCF,mCACE,cACA,UCFF,gCACE,SAEF,8BACE,oBCFE,iEACE,cAKN,kCAEE,cADA,cACA,CAGF,0BACE,iBCdF,gCAIE,gCAHA,aAEA,kBADA,WAEA,CAGF,kCACE,gBACA,kBAGA,SAFA,kBACA,QAEA,+BAGF,0CACE,kBAGF,8BACE,kBAEA,WADA,QACA,CCvBF,0BACE,cACA,qBAGF,6BAEE,eADA,qBACA,CAGF,8BACE,gBACA,oFAKE,iDACE,UAKN,0BACE,eAGF,4BACE,kCACA,wCACA,kBACA,cACA,kBAGF,+BACE,eAGF,6BACE,SAGF,kCACE,6BAGF,uCAEE,eADA,2BACA,CAEA,6CACE,mBACA,WAIJ,yBACE,6BAGF,iCACE,gCASA,0CARA,4BACA,eACA,2BAMA,CAJA,kDACE,mBAKF,mEAEE,2BADA,iBACA,CAGF,oEACE,kCACA,qDACA,kDACA,4DAEA,sGACE,mBAKN,+BACE,gBACA,gBACA,uBACA,mBAGF,6BACE,eAGA,CAGF,uDALE,gBACA,uBACA,kBAOA,CAJF,0BACE,eAGA","sources":["components/Account/LoginOuterContainer/style.module.scss","components/Account/style.module.scss","components/Account/Login/style.module.scss","components/Account/Register/style.module.scss","components/Account/ForgetByEmail/style.module.scss","components/Account/Account/style.module.scss","components/UserTool/style.module.scss"],"sourcesContent":[".out-left {\n background: url('./account_bg.jpg') no-repeat;\n background-size: cover;\n width: 500px;\n height: var(--out-inner-height);\n max-height: var(--max-height);\n}\n\n.out-right {\n padding: 50px 25px 24px 25px;\n position: relative;\n height: var(--out-inner-height);\n max-height: var(--max-height);\n display: flex;\n align-items: center;\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.out-right-inner {\n width: 100%;\n margin: auto;\n padding: 0 25px;\n max-height: calc(var(--out-inner-height) - 50px - 26px);\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n.container-left-content {\n position: absolute;\n left: 40px;\n top: 20px;\n}\n\n.container-left-logo {\n width: 30px;\n height: 30px;\n display: block;\n}\n\n.container-left-title {\n font-size: 24px;\n font-weight: bold;\n color: var(--primary-color);\n}\n",".out-container {\n background: #ffffff;\n width: 1000px;\n position: relative;\n overflow: hidden;\n margin: 0 auto;\n --out-inner-height: 90vh;\n --max-height: 640px;\n //max-height: var(--max-height);\n}\n\n.title {\n font-size: 20px;\n line-height: 30px;\n font-weight: bold;\n text-align: center;\n}\n\n.back-link {\n position: absolute;\n top: 18px;\n left: 12px;\n padding: 0;\n font-size: 12px;\n color: rgba($color: #000000, $alpha: 0.65);\n}\n\n.reset-new-desc {\n font-size: 12px;\n color: var(--font-color-grey-1);\n font-weight: 400;\n}\n\n.form-inner {\n width: 420px !important;\n margin: 80px auto;\n}\n",".forget-button {\n color: inherit;\n padding: 0;\n}\n",".code-field {\n flex: 1;\n}\n.get-code {\n vertical-align: 24px;\n}\n",".forget-input {\n :global {\n .react-form__field-describable {\n color: #9c9b9b;\n }\n }\n}\n\n.success-info {\n font-size: 13px;\n color: #373c43;\n}\n\n.main {\n min-height: 400px;\n}\n",".layout-row {\n height: 100vh;\n width: 100vw;\n position: relative;\n background: var(--primary-color);\n}\n\n.layout-inner {\n background: #fff;\n border-radius: 5px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.layout-inner-wrapper {\n position: relative;\n}\n\n.language {\n position: absolute;\n top: 32px;\n right: 32px;\n}\n",".icon {\n display: block;\n transform: scale(0.67);\n}\n\n.content {\n width: 300px !important;\n padding: 16px 0;\n}\n\n.overlay {\n background: #ffffff;\n box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n\n :global {\n .ant-popover-inner {\n padding: 0;\n }\n }\n}\n\n.info {\n padding: 0 16px;\n}\n\n.tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-2);\n border-radius: 2px;\n margin: 0 16px;\n padding: 10px 12px;\n}\n\n.user-tool {\n cursor: pointer;\n}\n\n.divider {\n margin: 0;\n}\n\n.options-list {\n color: var(--font-color-grey);\n}\n\n.options-list-item {\n padding: 10px 16px !important;\n cursor: pointer;\n\n &:hover {\n background: #f8f8f8;\n color: #222;\n }\n}\n\n.org {\n color: var(--font-color-grey);\n}\n\n.tenant-item {\n border: 1px solid #eee !important;\n border-radius: 2px !important;\n cursor: pointer;\n padding: 24px 16px !important;\n\n &:not(:last-child) {\n margin-bottom: 16px;\n }\n\n border-block-end: 1px solid #eee !important;\n\n .current-sign {\n visibility: hidden;\n color: var(--primary-color);\n }\n\n &.current-tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-4) !important;\n border-bottom-color: var(--primary-color-4) !important;\n border-block-end: 1px solid var(--primary-color-4) !important;\n\n .current-sign {\n visibility: visible;\n }\n }\n}\n\n.user-name {\n max-width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.company {\n max-width: 180px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.line {\n max-width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n"],"names":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ .style_icon__KSAP2__r2llo{display:block;transform:scale(.67)}.style_content__akCc4__r2llo{padding:16px 0;width:300px!important}.style_overlay__IH\+0B__r2llo{background:#fff;box-shadow:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.style_overlay__IH\+0B__r2llo .ant-popover-inner{padding:0}.style_info__5uvqI__r2llo{padding:0 16px}.style_tenant__pNb8v__r2llo{background:var(--primary-color-1);border:1px solid var(--primary-color-2);border-radius:2px;margin:0 16px;padding:10px 12px}.style_user-tool__CBaDm__r2llo{cursor:pointer}.style_divider__jcjqI__r2llo{margin:0}.style_options-list__RHknC__r2llo{color:var(--font-color-grey)}.style_options-list-item__IOziy__r2llo{cursor:pointer;padding:10px 16px!important}.style_options-list-item__IOziy__r2llo:hover{background:#f8f8f8;color:#222}.style_org__N0zoJ__r2llo{color:var(--font-color-grey)}.style_tenant-item__0Q6XJ__r2llo{border:1px solid #eee!important;border-block-end:1px solid #eee!important;border-radius:2px!important;cursor:pointer;padding:24px 16px!important}.style_tenant-item__0Q6XJ__r2llo:not(:last-child){margin-bottom:16px}.style_tenant-item__0Q6XJ__r2llo .style_current-sign__11f2P__r2llo{color:var(--primary-color);visibility:hidden}.style_tenant-item__0Q6XJ__r2llo.style_current-tenant__mdi5f__r2llo{background:var(--primary-color-1);border-bottom-color:var(--primary-color-4)!important;border:1px solid var(--primary-color-4)!important;border-block-end:1px solid var(--primary-color-4)!important}.style_tenant-item__0Q6XJ__r2llo.style_current-tenant__mdi5f__r2llo .style_current-sign__11f2P__r2llo{visibility:visible}.style_user-name__q7lY4__r2llo{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_company__wIKmA__r2llo{max-width:180px}.style_company__wIKmA__r2llo,.style_line__rOiNk__r2llo{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_line__rOiNk__r2llo{max-width:200px}
2
+ /*# sourceMappingURL=5582.82de014e.chunk.css.map*/
@@ -1 +1 @@
1
- {"version":3,"file":"static/css/1668.f543b6b2.chunk.css","mappings":"AAAA,0BACE,cACA,qBAGF,6BAEE,eADA,qBACA,CAGF,8BACE,gBACA,oFAKE,iDACE,UAKN,0BACE,eAGF,4BACE,kCACA,wCACA,kBACA,cACA,kBAGF,+BACE,eAGF,6BACE,SAGF,kCACE,6BAGF,uCAEE,eADA,2BACA,CAEA,6CACE,mBACA,WAIJ,yBACE,6BAGF,iCACE,gCASA,0CARA,4BACA,eACA,2BAMA,CAJA,kDACE,mBAKF,mEAEE,2BADA,iBACA,CAGF,oEACE,kCACA,qDACA,kDACA,4DAEA,sGACE,mBAKN,+BACE,gBACA,gBACA,uBACA,mBAGF,6BACE,eAGA,CAGF,uDALE,gBACA,uBACA,kBAOA,CAJF,0BACE,eAGA","sources":["components/UserTool/style.module.scss"],"sourcesContent":[".icon {\n display: block;\n transform: scale(0.67);\n}\n\n.content {\n width: 300px !important;\n padding: 16px 0;\n}\n\n.overlay {\n background: #ffffff;\n box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n\n :global {\n .ant-popover-inner {\n padding: 0;\n }\n }\n}\n\n.info {\n padding: 0 16px;\n}\n\n.tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-2);\n border-radius: 2px;\n margin: 0 16px;\n padding: 10px 12px;\n}\n\n.user-tool {\n cursor: pointer;\n}\n\n.divider {\n margin: 0;\n}\n\n.options-list {\n color: var(--font-color-grey);\n}\n\n.options-list-item {\n padding: 10px 16px !important;\n cursor: pointer;\n\n &:hover {\n background: #f8f8f8;\n color: #222;\n }\n}\n\n.org {\n color: var(--font-color-grey);\n}\n\n.tenant-item {\n border: 1px solid #eee !important;\n border-radius: 2px !important;\n cursor: pointer;\n padding: 24px 16px !important;\n\n &:not(:last-child) {\n margin-bottom: 16px;\n }\n\n border-block-end: 1px solid #eee !important;\n\n .current-sign {\n visibility: hidden;\n color: var(--primary-color);\n }\n\n &.current-tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-4) !important;\n border-bottom-color: var(--primary-color-4) !important;\n border-block-end: 1px solid var(--primary-color-4) !important;\n\n .current-sign {\n visibility: visible;\n }\n }\n}\n\n.user-name {\n max-width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.company {\n max-width: 180px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.line {\n max-width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"static/css/5582.82de014e.chunk.css","mappings":"AAAA,0BACE,cACA,qBAGF,6BAEE,eADA,qBACA,CAGF,8BACE,gBACA,oFAKE,iDACE,UAKN,0BACE,eAGF,4BACE,kCACA,wCACA,kBACA,cACA,kBAGF,+BACE,eAGF,6BACE,SAGF,kCACE,6BAGF,uCAEE,eADA,2BACA,CAEA,6CACE,mBACA,WAIJ,yBACE,6BAGF,iCACE,gCASA,0CARA,4BACA,eACA,2BAMA,CAJA,kDACE,mBAKF,mEAEE,2BADA,iBACA,CAGF,oEACE,kCACA,qDACA,kDACA,4DAEA,sGACE,mBAKN,+BACE,gBACA,gBACA,uBACA,mBAGF,6BACE,eAGA,CAGF,uDALE,gBACA,uBACA,kBAOA,CAJF,0BACE,eAGA","sources":["components/UserTool/style.module.scss"],"sourcesContent":[".icon {\n display: block;\n transform: scale(0.67);\n}\n\n.content {\n width: 300px !important;\n padding: 16px 0;\n}\n\n.overlay {\n background: #ffffff;\n box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n\n :global {\n .ant-popover-inner {\n padding: 0;\n }\n }\n}\n\n.info {\n padding: 0 16px;\n}\n\n.tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-2);\n border-radius: 2px;\n margin: 0 16px;\n padding: 10px 12px;\n}\n\n.user-tool {\n cursor: pointer;\n}\n\n.divider {\n margin: 0;\n}\n\n.options-list {\n color: var(--font-color-grey);\n}\n\n.options-list-item {\n padding: 10px 16px !important;\n cursor: pointer;\n\n &:hover {\n background: #f8f8f8;\n color: #222;\n }\n}\n\n.org {\n color: var(--font-color-grey);\n}\n\n.tenant-item {\n border: 1px solid #eee !important;\n border-radius: 2px !important;\n cursor: pointer;\n padding: 24px 16px !important;\n\n &:not(:last-child) {\n margin-bottom: 16px;\n }\n\n border-block-end: 1px solid #eee !important;\n\n .current-sign {\n visibility: hidden;\n color: var(--primary-color);\n }\n\n &.current-tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-4) !important;\n border-bottom-color: var(--primary-color-4) !important;\n border-block-end: 1px solid var(--primary-color-4) !important;\n\n .current-sign {\n visibility: visible;\n }\n }\n}\n\n.user-name {\n max-width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.company {\n max-width: 180px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.line {\n max-width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n"],"names":[],"sourceRoot":""}
@@ -8,5 +8,5 @@
8
8
 
9
9
  Outdated base version: https://github.com/primer/github-syntax-light
10
10
  Current colors taken from GitHub's CSS
11
- */.hljs{background:#fff;color:#24292e}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{background-color:#f0fff4;color:#22863a}.hljs-deletion{background-color:#ffeef0;color:#b31d28}.style_out-left__wOmRS__XICk7{background:url(../../static/media/account_bg.ff605a86f9603c6b64ce.jpg) no-repeat;background-size:cover;height:var(--out-inner-height);max-height:var(--max-height);width:500px}.style_out-right__29XpV__XICk7{align-items:center;display:flex;flex:1 1 auto;height:var(--out-inner-height);max-height:var(--max-height);min-width:0;padding:50px 25px 24px;position:relative}.style_out-right-inner__DZjbq__XICk7{margin:auto;max-height:calc(var(--out-inner-height) - 76px);overflow-x:hidden;overflow-y:auto;padding:0 25px;width:100%}.style_container-left-content__2FtGT__XICk7{left:40px;position:absolute;top:20px}.style_container-left-logo__fR8Ed__XICk7{display:block;height:30px;width:30px}.style_container-left-title__vg7KF__XICk7{color:var(--primary-color);font-size:24px;font-weight:700}.style_out-container__iqnkT__XICk7{--out-inner-height:90vh;--max-height:640px;background:#fff;margin:0 auto;overflow:hidden;position:relative;width:1000px}.style_title__Pn7Uw__XICk7{font-size:20px;font-weight:700;line-height:30px;text-align:center}.style_back-link__TepOq__XICk7{color:#000000a6;font-size:12px;left:12px;padding:0;position:absolute;top:18px}.style_reset-new-desc__sdLt-__XICk7{color:var(--font-color-grey-1);font-size:12px;font-weight:400}.style_form-inner__AnfOK__XICk7{margin:80px auto;width:420px!important}.style_forget-button__4NY6I__XICk7{color:inherit;padding:0}.style_code-field__NvD9i__XICk7{flex:1 1}.style_get-code__j4NF-__XICk7{vertical-align:24px}.style_forget-input__psj0u__XICk7 .react-form__field-describable{color:#9c9b9b}.style_success-info__zKcsw__XICk7{color:#373c43;font-size:13px}.style_main__GAYFL__XICk7{min-height:400px}.style_layout-row__WDBZP__XICk7{background:var(--primary-color);height:100vh;position:relative;width:100vw}.style_layout-inner__3pgxa__XICk7{background:#fff;border-radius:5px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.style_layout-inner-wrapper__XoEQK__XICk7{position:relative}.style_language__pn8jJ__XICk7{position:absolute;right:32px;top:32px}.style_icon__KSAP2__XICk7{display:block;transform:scale(.67)}.style_content__akCc4__XICk7{padding:16px 0;width:300px!important}.style_overlay__IH\+0B__XICk7{background:#fff;box-shadow:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.style_overlay__IH\+0B__XICk7 .ant-popover-inner{padding:0}.style_info__5uvqI__XICk7{padding:0 16px}.style_tenant__pNb8v__XICk7{background:var(--primary-color-1);border:1px solid var(--primary-color-2);border-radius:2px;margin:0 16px;padding:10px 12px}.style_user-tool__CBaDm__XICk7{cursor:pointer}.style_divider__jcjqI__XICk7{margin:0}.style_options-list__RHknC__XICk7{color:var(--font-color-grey)}.style_options-list-item__IOziy__XICk7{cursor:pointer;padding:10px 16px!important}.style_options-list-item__IOziy__XICk7:hover{background:#f8f8f8;color:#222}.style_org__N0zoJ__XICk7{color:var(--font-color-grey)}.style_tenant-item__0Q6XJ__XICk7{border:1px solid #eee!important;border-block-end:1px solid #eee!important;border-radius:2px!important;cursor:pointer;padding:24px 16px!important}.style_tenant-item__0Q6XJ__XICk7:not(:last-child){margin-bottom:16px}.style_tenant-item__0Q6XJ__XICk7 .style_current-sign__11f2P__XICk7{color:var(--primary-color);visibility:hidden}.style_tenant-item__0Q6XJ__XICk7.style_current-tenant__mdi5f__XICk7{background:var(--primary-color-1);border-bottom-color:var(--primary-color-4)!important;border:1px solid var(--primary-color-4)!important;border-block-end:1px solid var(--primary-color-4)!important}.style_tenant-item__0Q6XJ__XICk7.style_current-tenant__mdi5f__XICk7 .style_current-sign__11f2P__XICk7{visibility:visible}.style_user-name__q7lY4__XICk7{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_company__wIKmA__XICk7{max-width:180px}.style_company__wIKmA__XICk7,.style_line__rOiNk__XICk7{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_line__rOiNk__XICk7{max-width:200px}._7blvP .mark-down-html table{border:1px solid #ebedf0;border-collapse:collapse;border-spacing:0;empty-cells:show;margin:8px 0 16px;width:100%}._7blvP .mark-down-html table th{background:#00000005;color:#5c6b77;font-weight:500;white-space:nowrap}._7blvP .mark-down-html table td,._7blvP .mark-down-html table th{border:1px solid #ebedf0;padding:16px 24px;text-align:left}._7blvP .mark-down-html table td:first-child{color:#595959;font-weight:600}._7blvP .mark-down-html table td:nth-child(3){color:#c41d7f}._7blvP .mark-down-html pre{word-wrap:break-word;background:#f2f4f5;border:1px solid #eee;border-radius:3px;font-size:.9em;padding:.2em .4em;white-space:pre-wrap}._7blvP .mark-down-html code{background:#f2f4f5}._Tj5fw{font-size:30px}._c86gD{background:#0000000a;border-radius:4px;padding:20px}._c86gD pre{margin:0}._fcey2 .example-driver-switch:hover{color:var(--primary-color)}._fcey2 .example-driver-des{white-space:pre-line}._KljNW{margin-top:30px}._vxlb8 .core-page-main-content{background:#fff}
12
- /*# sourceMappingURL=7041.a73c664f.chunk.css.map*/
11
+ */.hljs{background:#fff;color:#24292e}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{background-color:#f0fff4;color:#22863a}.hljs-deletion{background-color:#ffeef0;color:#b31d28}.style_out-left__wOmRS__r2llo{background:url(../../static/media/account_bg.ff605a86f9603c6b64ce.jpg) no-repeat;background-size:cover;height:var(--out-inner-height);max-height:var(--max-height);width:500px}.style_out-right__29XpV__r2llo{align-items:center;display:flex;flex:1 1 auto;height:var(--out-inner-height);max-height:var(--max-height);min-width:0;padding:50px 25px 24px;position:relative}.style_out-right-inner__DZjbq__r2llo{margin:auto;max-height:calc(var(--out-inner-height) - 76px);overflow-x:hidden;overflow-y:auto;padding:0 25px;width:100%}.style_container-left-content__2FtGT__r2llo{left:40px;position:absolute;top:20px}.style_container-left-logo__fR8Ed__r2llo{display:block;height:30px;width:30px}.style_container-left-title__vg7KF__r2llo{color:var(--primary-color);font-size:24px;font-weight:700}.style_out-container__iqnkT__r2llo{--out-inner-height:90vh;--max-height:640px;background:#fff;margin:0 auto;overflow:hidden;position:relative;width:1000px}.style_title__Pn7Uw__r2llo{font-size:20px;font-weight:700;line-height:30px;text-align:center}.style_back-link__TepOq__r2llo{color:#000000a6;font-size:12px;left:12px;padding:0;position:absolute;top:18px}.style_reset-new-desc__sdLt-__r2llo{color:var(--font-color-grey-1);font-size:12px;font-weight:400}.style_form-inner__AnfOK__r2llo{margin:80px auto;width:420px!important}.style_forget-button__4NY6I__r2llo{color:inherit;padding:0}.style_code-field__NvD9i__r2llo{flex:1 1}.style_get-code__j4NF-__r2llo{vertical-align:24px}.style_forget-input__psj0u__r2llo .react-form__field-describable{color:#9c9b9b}.style_success-info__zKcsw__r2llo{color:#373c43;font-size:13px}.style_main__GAYFL__r2llo{min-height:400px}.style_layout-row__WDBZP__r2llo{background:var(--primary-color);height:100vh;position:relative;width:100vw}.style_layout-inner__3pgxa__r2llo{background:#fff;border-radius:5px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.style_layout-inner-wrapper__XoEQK__r2llo{position:relative}.style_language__pn8jJ__r2llo{position:absolute;right:32px;top:32px}.style_icon__KSAP2__r2llo{display:block;transform:scale(.67)}.style_content__akCc4__r2llo{padding:16px 0;width:300px!important}.style_overlay__IH\+0B__r2llo{background:#fff;box-shadow:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.style_overlay__IH\+0B__r2llo .ant-popover-inner{padding:0}.style_info__5uvqI__r2llo{padding:0 16px}.style_tenant__pNb8v__r2llo{background:var(--primary-color-1);border:1px solid var(--primary-color-2);border-radius:2px;margin:0 16px;padding:10px 12px}.style_user-tool__CBaDm__r2llo{cursor:pointer}.style_divider__jcjqI__r2llo{margin:0}.style_options-list__RHknC__r2llo{color:var(--font-color-grey)}.style_options-list-item__IOziy__r2llo{cursor:pointer;padding:10px 16px!important}.style_options-list-item__IOziy__r2llo:hover{background:#f8f8f8;color:#222}.style_org__N0zoJ__r2llo{color:var(--font-color-grey)}.style_tenant-item__0Q6XJ__r2llo{border:1px solid #eee!important;border-block-end:1px solid #eee!important;border-radius:2px!important;cursor:pointer;padding:24px 16px!important}.style_tenant-item__0Q6XJ__r2llo:not(:last-child){margin-bottom:16px}.style_tenant-item__0Q6XJ__r2llo .style_current-sign__11f2P__r2llo{color:var(--primary-color);visibility:hidden}.style_tenant-item__0Q6XJ__r2llo.style_current-tenant__mdi5f__r2llo{background:var(--primary-color-1);border-bottom-color:var(--primary-color-4)!important;border:1px solid var(--primary-color-4)!important;border-block-end:1px solid var(--primary-color-4)!important}.style_tenant-item__0Q6XJ__r2llo.style_current-tenant__mdi5f__r2llo .style_current-sign__11f2P__r2llo{visibility:visible}.style_user-name__q7lY4__r2llo{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_company__wIKmA__r2llo{max-width:180px}.style_company__wIKmA__r2llo,.style_line__rOiNk__r2llo{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_line__rOiNk__r2llo{max-width:200px}._7blvP .mark-down-html table{border:1px solid #ebedf0;border-collapse:collapse;border-spacing:0;empty-cells:show;margin:8px 0 16px;width:100%}._7blvP .mark-down-html table th{background:#00000005;color:#5c6b77;font-weight:500;white-space:nowrap}._7blvP .mark-down-html table td,._7blvP .mark-down-html table th{border:1px solid #ebedf0;padding:16px 24px;text-align:left}._7blvP .mark-down-html table td:first-child{color:#595959;font-weight:600}._7blvP .mark-down-html table td:nth-child(3){color:#c41d7f}._7blvP .mark-down-html pre{word-wrap:break-word;background:#f2f4f5;border:1px solid #eee;border-radius:3px;font-size:.9em;padding:.2em .4em;white-space:pre-wrap}._7blvP .mark-down-html code{background:#f2f4f5}._Tj5fw{font-size:30px}._c86gD{background:#0000000a;border-radius:4px;padding:20px}._c86gD pre{margin:0}._fcey2 .example-driver-switch:hover{color:var(--primary-color)}._fcey2 .example-driver-des{white-space:pre-line}._KljNW{margin-top:30px}._vxlb8 .core-page-main-content{background:#fff}
12
+ /*# sourceMappingURL=7041.f3092ea7.chunk.css.map*/
@@ -1 +1 @@
1
- {"version":3,"file":"static/css/7041.a73c664f.chunk.css","mappings":"AAAA,gBAIE,eAAgB,CAChB,UAAW,CACX,cAAe,CAHf,eAAgB,CADhB,iBAAkB,CADlB,iBAKiB,CACjB,wBAEE,UAAW,CAEX,kBAAmB,CADnB,aAAc,CAFd,sBAGqB,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AgB,CAChB,kBAEF,CACA,kEAIE,wBAAyB,CAFzB,iBAAkB,CAClB,eAEF,CACA,6CACE,aAAc,CACd,eACF,CACA,8CACE,aACF,CACA,4BAEE,oBAAqB,CADrB,kBAAmB,CAKnB,qBAAsB,CACtB,iBAAkB,CAFlB,cAAgB,CADhB,iBAAoB,CADpB,oBAKF,CACA,6BACE,kBACF,CAEA,QACE,cACF,CAEA,QACE,oBAA+B,CAE/B,iBAAkB,CADlB,YAEF,CACA,YACE,QACF,CAEA,qCACE,0BACF,CACA,4BACE,oBACF,CAEA,QACE,eACF,CAEA,gCACE,eACF","sources":["../node_modules/@kne/example-driver/dist/style.scss","../node_modules/highlight.js/styles/github.css","components/Account/LoginOuterContainer/style.module.scss","components/Account/style.module.scss","components/Account/Login/style.module.scss","components/Account/Register/style.module.scss","components/Account/ForgetByEmail/style.module.scss","components/Account/Account/style.module.scss","components/UserTool/style.module.scss","../node_modules/@kne/modules-dev/dist/example.module.scss"],"sourcesContent":[".example-driver {\n text-align: center;\n position: relative;\n overflow: hidden;\n background: #fff;\n color: #333;\n font-size: 14px; }\n .example-driver-preview {\n padding: 42px 24px 30px;\n color: #111;\n overflow: auto;\n margin-bottom: 20px; }\n .example-driver-des {\n border-top: #ebedf0 solid 1px;\n border-bottom: #ebedf0 dashed 1px;\n position: relative;\n padding: 18px 38px 12px 24px;\n min-height: 50px; }\n .example-driver-des:last-child {\n border-bottom: none; }\n .example-driver-title {\n position: absolute;\n display: block;\n padding: 0 10px;\n background: #fff;\n font-size: 12px;\n top: -6px;\n left: 20px; }\n .example-driver-switch {\n position: absolute;\n right: 10px;\n bottom: 15px;\n color: #999;\n font-size: 12px;\n font-weight: bolder;\n cursor: pointer; }\n .example-driver-switch:hover {\n color: #2775ff; }\n .example-driver-code {\n line-height: 1.5; }\n .example-driver-code textarea {\n outline: none; }\n .example-driver-code-import {\n padding: 10px 64px 0;\n background: #fffffe;\n cursor: not-allowed; }\n .example-driver-error pre {\n display: block;\n padding: 0.5rem;\n background: #ff5555;\n color: #f8f8f2;\n white-space: pre-wrap;\n text-align: left;\n font-size: 0.9em;\n font-family: 'Source Code Pro', monospace;\n margin: 0; }\n .example-driver-item {\n width: 50%;\n min-width: 400px;\n display: inline-block;\n vertical-align: top;\n text-align: left; }\n .example-driver-item.is-full {\n width: 100%; }\n .example-driver-inner {\n overflow: hidden;\n position: relative;\n margin: 0 10px 16px;\n border: 1px solid #ebedf0;\n border-radius: 2px; }\n .example-driver-mini-title {\n font-size: 14px;\n font-weight: bold;\n text-align: center; }\n .example-driver-mini-code > img {\n width: 200px;\n height: 200px;\n display: block;\n padding: 20px;\n margin: 0 auto; }\n","pre code.hljs {\n display: block;\n overflow-x: auto;\n padding: 1em\n}\ncode.hljs {\n padding: 3px 5px\n}\n/*!\n Theme: GitHub\n Description: Light theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-light\n Current colors taken from GitHub's CSS\n*/\n.hljs {\n color: #24292e;\n background: #ffffff\n}\n.hljs-doctag,\n.hljs-keyword,\n.hljs-meta .hljs-keyword,\n.hljs-template-tag,\n.hljs-template-variable,\n.hljs-type,\n.hljs-variable.language_ {\n /* prettylights-syntax-keyword */\n color: #d73a49\n}\n.hljs-title,\n.hljs-title.class_,\n.hljs-title.class_.inherited__,\n.hljs-title.function_ {\n /* prettylights-syntax-entity */\n color: #6f42c1\n}\n.hljs-attr,\n.hljs-attribute,\n.hljs-literal,\n.hljs-meta,\n.hljs-number,\n.hljs-operator,\n.hljs-variable,\n.hljs-selector-attr,\n.hljs-selector-class,\n.hljs-selector-id {\n /* prettylights-syntax-constant */\n color: #005cc5\n}\n.hljs-regexp,\n.hljs-string,\n.hljs-meta .hljs-string {\n /* prettylights-syntax-string */\n color: #032f62\n}\n.hljs-built_in,\n.hljs-symbol {\n /* prettylights-syntax-variable */\n color: #e36209\n}\n.hljs-comment,\n.hljs-code,\n.hljs-formula {\n /* prettylights-syntax-comment */\n color: #6a737d\n}\n.hljs-name,\n.hljs-quote,\n.hljs-selector-tag,\n.hljs-selector-pseudo {\n /* prettylights-syntax-entity-tag */\n color: #22863a\n}\n.hljs-subst {\n /* prettylights-syntax-storage-modifier-import */\n color: #24292e\n}\n.hljs-section {\n /* prettylights-syntax-markup-heading */\n color: #005cc5;\n font-weight: bold\n}\n.hljs-bullet {\n /* prettylights-syntax-markup-list */\n color: #735c0f\n}\n.hljs-emphasis {\n /* prettylights-syntax-markup-italic */\n color: #24292e;\n font-style: italic\n}\n.hljs-strong {\n /* prettylights-syntax-markup-bold */\n color: #24292e;\n font-weight: bold\n}\n.hljs-addition {\n /* prettylights-syntax-markup-inserted */\n color: #22863a;\n background-color: #f0fff4\n}\n.hljs-deletion {\n /* prettylights-syntax-markup-deleted */\n color: #b31d28;\n background-color: #ffeef0\n}\n.hljs-char.escape_,\n.hljs-link,\n.hljs-params,\n.hljs-property,\n.hljs-punctuation,\n.hljs-tag {\n /* purposely ignored */\n \n}",".out-left {\n background: url('./account_bg.jpg') no-repeat;\n background-size: cover;\n width: 500px;\n height: var(--out-inner-height);\n max-height: var(--max-height);\n}\n\n.out-right {\n padding: 50px 25px 24px 25px;\n position: relative;\n height: var(--out-inner-height);\n max-height: var(--max-height);\n display: flex;\n align-items: center;\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.out-right-inner {\n width: 100%;\n margin: auto;\n padding: 0 25px;\n max-height: calc(var(--out-inner-height) - 50px - 26px);\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n.container-left-content {\n position: absolute;\n left: 40px;\n top: 20px;\n}\n\n.container-left-logo {\n width: 30px;\n height: 30px;\n display: block;\n}\n\n.container-left-title {\n font-size: 24px;\n font-weight: bold;\n color: var(--primary-color);\n}\n",".out-container {\n background: #ffffff;\n width: 1000px;\n position: relative;\n overflow: hidden;\n margin: 0 auto;\n --out-inner-height: 90vh;\n --max-height: 640px;\n //max-height: var(--max-height);\n}\n\n.title {\n font-size: 20px;\n line-height: 30px;\n font-weight: bold;\n text-align: center;\n}\n\n.back-link {\n position: absolute;\n top: 18px;\n left: 12px;\n padding: 0;\n font-size: 12px;\n color: rgba($color: #000000, $alpha: 0.65);\n}\n\n.reset-new-desc {\n font-size: 12px;\n color: var(--font-color-grey-1);\n font-weight: 400;\n}\n\n.form-inner {\n width: 420px !important;\n margin: 80px auto;\n}\n",".forget-button {\n color: inherit;\n padding: 0;\n}\n",".code-field {\n flex: 1;\n}\n.get-code {\n vertical-align: 24px;\n}\n",".forget-input {\n :global {\n .react-form__field-describable {\n color: #9c9b9b;\n }\n }\n}\n\n.success-info {\n font-size: 13px;\n color: #373c43;\n}\n\n.main {\n min-height: 400px;\n}\n",".layout-row {\n height: 100vh;\n width: 100vw;\n position: relative;\n background: var(--primary-color);\n}\n\n.layout-inner {\n background: #fff;\n border-radius: 5px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.layout-inner-wrapper {\n position: relative;\n}\n\n.language {\n position: absolute;\n top: 32px;\n right: 32px;\n}\n",".icon {\n display: block;\n transform: scale(0.67);\n}\n\n.content {\n width: 300px !important;\n padding: 16px 0;\n}\n\n.overlay {\n background: #ffffff;\n box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n\n :global {\n .ant-popover-inner {\n padding: 0;\n }\n }\n}\n\n.info {\n padding: 0 16px;\n}\n\n.tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-2);\n border-radius: 2px;\n margin: 0 16px;\n padding: 10px 12px;\n}\n\n.user-tool {\n cursor: pointer;\n}\n\n.divider {\n margin: 0;\n}\n\n.options-list {\n color: var(--font-color-grey);\n}\n\n.options-list-item {\n padding: 10px 16px !important;\n cursor: pointer;\n\n &:hover {\n background: #f8f8f8;\n color: #222;\n }\n}\n\n.org {\n color: var(--font-color-grey);\n}\n\n.tenant-item {\n border: 1px solid #eee !important;\n border-radius: 2px !important;\n cursor: pointer;\n padding: 24px 16px !important;\n\n &:not(:last-child) {\n margin-bottom: 16px;\n }\n\n border-block-end: 1px solid #eee !important;\n\n .current-sign {\n visibility: hidden;\n color: var(--primary-color);\n }\n\n &.current-tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-4) !important;\n border-bottom-color: var(--primary-color-4) !important;\n border-block-end: 1px solid var(--primary-color-4) !important;\n\n .current-sign {\n visibility: visible;\n }\n }\n}\n\n.user-name {\n max-width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.company {\n max-width: 180px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.line {\n max-width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n",".main :global(.mark-down-html) table {\n width: 100%;\n margin: 8px 0 16px;\n empty-cells: show;\n border: 1px solid #ebedf0;\n border-collapse: collapse;\n border-spacing: 0;\n}\n.main :global(.mark-down-html) table th {\n color: #5c6b77;\n font-weight: 500;\n white-space: nowrap;\n background: rgba(0, 0, 0, 0.02);\n}\n.main :global(.mark-down-html) table th,\n.main :global(.mark-down-html) table td {\n padding: 16px 24px;\n text-align: left;\n border: 1px solid #ebedf0;\n}\n.main :global(.mark-down-html) table td:first-child {\n color: #595959;\n font-weight: 600;\n}\n.main :global(.mark-down-html) table td:nth-child(3) {\n color: #c41d7f;\n}\n.main :global(.mark-down-html) pre {\n background: #f2f4f5;\n word-wrap: break-word;\n white-space: pre-wrap;\n padding: 0.2em 0.4em;\n font-size: 0.9em;\n border: 1px solid #eee;\n border-radius: 3px;\n}\n.main :global(.mark-down-html) code {\n background: #f2f4f5;\n}\n\n.title {\n font-size: 30px;\n}\n\n.info {\n background: rgba(0, 0, 0, 0.04);\n padding: 20px;\n border-radius: 4px;\n}\n.info pre {\n margin: 0;\n}\n\n.example :global(.example-driver-switch):hover {\n color: var(--primary-color);\n}\n.example :global(.example-driver-des) {\n white-space: pre-line;\n}\n\n.part-title {\n margin-top: 30px;\n}\n\n.example-page :global(.core-page-main-content) {\n background: #FFFFFF;\n}"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"static/css/7041.f3092ea7.chunk.css","mappings":"AAAA,gBAIE,eAAgB,CAChB,UAAW,CACX,cAAe,CAHf,eAAgB,CADhB,iBAAkB,CADlB,iBAKiB,CACjB,wBAEE,UAAW,CAEX,kBAAmB,CADnB,aAAc,CAFd,sBAGqB,CACvB,oBAEE,gCAAiC,CADjC,4BAA6B,CAI7B,eAAgB,CADhB,2BAA4B,CAD5B,iBAEkB,CAClB,+BACE,kBAAqB,CACzB,sBAIE,eAAgB,CAFhB,aAAc,CAGd,cAAe,CAEf,SAAU,CAJV,cAAe,CAFf,iBAAkB,CAKlB,QACY,CACd,uBAGE,WAAY,CACZ,UAAW,CAGX,cAAe,CAFf,cAAe,CACf,kBAAmB,CALnB,iBAAkB,CAClB,UAKiB,CACjB,6BACE,aAAgB,CACpB,qBACE,eAAkB,CAClB,8BACE,YAAe,CACnB,4BAEE,kBAAmB,CACnB,kBAAmB,CAFnB,mBAEqB,CACvB,0BAGE,eAAmB,CACnB,aAAc,CAHd,aAAc,CAOd,qCAAyC,CADzC,cAAgB,CAEhB,QAAS,CAPT,aAAe,CAIf,eAAgB,CADhB,oBAIW,CACb,qBAGE,oBAAqB,CADrB,eAAgB,CAGhB,eAAgB,CADhB,kBAAmB,CAHnB,SAIkB,CAClB,6BACE,UAAa,CACjB,sBAIE,wBAAyB,CACzB,iBAAkB,CAFlB,kBAAmB,CAFnB,eAAgB,CAChB,iBAGoB,CACtB,2BACE,cAAe,CACf,eAAiB,CACjB,iBAAoB,CACtB,8BAGE,aAAc,CADd,YAAa,CAGb,aAAc,CADd,YAAa,CAHb,WAIgB,CC/EpB,cACE,aAAc,CACd,eAAgB,CAChB,WACF,CACA,UACE,eACF;AACA;;;;;;;;;CASC,CACD,MAEE,eAAkB,CADlB,aAEF,C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JA,kDACE,mBAKF,mEAEE,2BADA,iBACA,CAGF,oEACE,kCACA,qDACA,kDACA,4DAEA,sGACE,mBAKN,+BACE,gBACA,gBACA,uBACA,mBAGF,6BACE,eAGA,CAGF,uDALE,gBACA,uBACA,kBAOA,CAJF,0BACE,eAGA,CC5GF,8BAIE,wBAAyB,CACzB,wBAAyB,CACzB,gBAAiB,CAHjB,gBAAiB,CADjB,iBAAkB,CADlB,UAMF,CACA,iCAIE,oBAA+B,CAH/B,aAAc,CACd,eAAgB,CAChB,kBAEF,CACA,kEAIE,wBAAyB,CAFzB,iBAAkB,CAClB,eAEF,CACA,6CACE,aAAc,CACd,eACF,CACA,8CACE,aACF,CACA,4BAEE,oBAAqB,CADrB,kBAAmB,CAKnB,qBAAsB,CACtB,iBAAkB,CAFlB,cAAgB,CADhB,iBAAoB,CADpB,oBAKF,CACA,6BACE,kBACF,CAEA,QACE,cACF,CAEA,QACE,oBAA+B,CAE/B,iBAAkB,CADlB,YAEF,CACA,YACE,QACF,CAEA,qCACE,0BACF,CACA,4BACE,oBACF,CAEA,QACE,eACF,CAEA,gCACE,eACF","sources":["../node_modules/@kne/example-driver/dist/style.scss","../node_modules/highlight.js/styles/github.css","components/Account/LoginOuterContainer/style.module.scss","components/Account/style.module.scss","components/Account/Login/style.module.scss","components/Account/Register/style.module.scss","components/Account/ForgetByEmail/style.module.scss","components/Account/Account/style.module.scss","components/UserTool/style.module.scss","../node_modules/@kne/modules-dev/dist/example.module.scss"],"sourcesContent":[".example-driver {\n text-align: center;\n position: relative;\n overflow: hidden;\n background: #fff;\n color: #333;\n font-size: 14px; }\n .example-driver-preview {\n padding: 42px 24px 30px;\n color: #111;\n overflow: auto;\n margin-bottom: 20px; }\n .example-driver-des {\n border-top: #ebedf0 solid 1px;\n border-bottom: #ebedf0 dashed 1px;\n position: relative;\n padding: 18px 38px 12px 24px;\n min-height: 50px; }\n .example-driver-des:last-child {\n border-bottom: none; }\n .example-driver-title {\n position: absolute;\n display: block;\n padding: 0 10px;\n background: #fff;\n font-size: 12px;\n top: -6px;\n left: 20px; }\n .example-driver-switch {\n position: absolute;\n right: 10px;\n bottom: 15px;\n color: #999;\n font-size: 12px;\n font-weight: bolder;\n cursor: pointer; }\n .example-driver-switch:hover {\n color: #2775ff; }\n .example-driver-code {\n line-height: 1.5; }\n .example-driver-code textarea {\n outline: none; }\n .example-driver-code-import {\n padding: 10px 64px 0;\n background: #fffffe;\n cursor: not-allowed; }\n .example-driver-error pre {\n display: block;\n padding: 0.5rem;\n background: #ff5555;\n color: #f8f8f2;\n white-space: pre-wrap;\n text-align: left;\n font-size: 0.9em;\n font-family: 'Source Code Pro', monospace;\n margin: 0; }\n .example-driver-item {\n width: 50%;\n min-width: 400px;\n display: inline-block;\n vertical-align: top;\n text-align: left; }\n .example-driver-item.is-full {\n width: 100%; }\n .example-driver-inner {\n overflow: hidden;\n position: relative;\n margin: 0 10px 16px;\n border: 1px solid #ebedf0;\n border-radius: 2px; }\n .example-driver-mini-title {\n font-size: 14px;\n font-weight: bold;\n text-align: center; }\n .example-driver-mini-code > img {\n width: 200px;\n height: 200px;\n display: block;\n padding: 20px;\n margin: 0 auto; }\n","pre code.hljs {\n display: block;\n overflow-x: auto;\n padding: 1em\n}\ncode.hljs {\n padding: 3px 5px\n}\n/*!\n Theme: GitHub\n Description: Light theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-light\n Current colors taken from GitHub's CSS\n*/\n.hljs {\n color: #24292e;\n background: #ffffff\n}\n.hljs-doctag,\n.hljs-keyword,\n.hljs-meta .hljs-keyword,\n.hljs-template-tag,\n.hljs-template-variable,\n.hljs-type,\n.hljs-variable.language_ {\n /* prettylights-syntax-keyword */\n color: #d73a49\n}\n.hljs-title,\n.hljs-title.class_,\n.hljs-title.class_.inherited__,\n.hljs-title.function_ {\n /* prettylights-syntax-entity */\n color: #6f42c1\n}\n.hljs-attr,\n.hljs-attribute,\n.hljs-literal,\n.hljs-meta,\n.hljs-number,\n.hljs-operator,\n.hljs-variable,\n.hljs-selector-attr,\n.hljs-selector-class,\n.hljs-selector-id {\n /* prettylights-syntax-constant */\n color: #005cc5\n}\n.hljs-regexp,\n.hljs-string,\n.hljs-meta .hljs-string {\n /* prettylights-syntax-string */\n color: #032f62\n}\n.hljs-built_in,\n.hljs-symbol {\n /* prettylights-syntax-variable */\n color: #e36209\n}\n.hljs-comment,\n.hljs-code,\n.hljs-formula {\n /* prettylights-syntax-comment */\n color: #6a737d\n}\n.hljs-name,\n.hljs-quote,\n.hljs-selector-tag,\n.hljs-selector-pseudo {\n /* prettylights-syntax-entity-tag */\n color: #22863a\n}\n.hljs-subst {\n /* prettylights-syntax-storage-modifier-import */\n color: #24292e\n}\n.hljs-section {\n /* prettylights-syntax-markup-heading */\n color: #005cc5;\n font-weight: bold\n}\n.hljs-bullet {\n /* prettylights-syntax-markup-list */\n color: #735c0f\n}\n.hljs-emphasis {\n /* prettylights-syntax-markup-italic */\n color: #24292e;\n font-style: italic\n}\n.hljs-strong {\n /* prettylights-syntax-markup-bold */\n color: #24292e;\n font-weight: bold\n}\n.hljs-addition {\n /* prettylights-syntax-markup-inserted */\n color: #22863a;\n background-color: #f0fff4\n}\n.hljs-deletion {\n /* prettylights-syntax-markup-deleted */\n color: #b31d28;\n background-color: #ffeef0\n}\n.hljs-char.escape_,\n.hljs-link,\n.hljs-params,\n.hljs-property,\n.hljs-punctuation,\n.hljs-tag {\n /* purposely ignored */\n \n}",".out-left {\n background: url('./account_bg.jpg') no-repeat;\n background-size: cover;\n width: 500px;\n height: var(--out-inner-height);\n max-height: var(--max-height);\n}\n\n.out-right {\n padding: 50px 25px 24px 25px;\n position: relative;\n height: var(--out-inner-height);\n max-height: var(--max-height);\n display: flex;\n align-items: center;\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.out-right-inner {\n width: 100%;\n margin: auto;\n padding: 0 25px;\n max-height: calc(var(--out-inner-height) - 50px - 26px);\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n.container-left-content {\n position: absolute;\n left: 40px;\n top: 20px;\n}\n\n.container-left-logo {\n width: 30px;\n height: 30px;\n display: block;\n}\n\n.container-left-title {\n font-size: 24px;\n font-weight: bold;\n color: var(--primary-color);\n}\n",".out-container {\n background: #ffffff;\n width: 1000px;\n position: relative;\n overflow: hidden;\n margin: 0 auto;\n --out-inner-height: 90vh;\n --max-height: 640px;\n //max-height: var(--max-height);\n}\n\n.title {\n font-size: 20px;\n line-height: 30px;\n font-weight: bold;\n text-align: center;\n}\n\n.back-link {\n position: absolute;\n top: 18px;\n left: 12px;\n padding: 0;\n font-size: 12px;\n color: rgba($color: #000000, $alpha: 0.65);\n}\n\n.reset-new-desc {\n font-size: 12px;\n color: var(--font-color-grey-1);\n font-weight: 400;\n}\n\n.form-inner {\n width: 420px !important;\n margin: 80px auto;\n}\n",".forget-button {\n color: inherit;\n padding: 0;\n}\n",".code-field {\n flex: 1;\n}\n.get-code {\n vertical-align: 24px;\n}\n",".forget-input {\n :global {\n .react-form__field-describable {\n color: #9c9b9b;\n }\n }\n}\n\n.success-info {\n font-size: 13px;\n color: #373c43;\n}\n\n.main {\n min-height: 400px;\n}\n",".layout-row {\n height: 100vh;\n width: 100vw;\n position: relative;\n background: var(--primary-color);\n}\n\n.layout-inner {\n background: #fff;\n border-radius: 5px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.layout-inner-wrapper {\n position: relative;\n}\n\n.language {\n position: absolute;\n top: 32px;\n right: 32px;\n}\n",".icon {\n display: block;\n transform: scale(0.67);\n}\n\n.content {\n width: 300px !important;\n padding: 16px 0;\n}\n\n.overlay {\n background: #ffffff;\n box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n\n :global {\n .ant-popover-inner {\n padding: 0;\n }\n }\n}\n\n.info {\n padding: 0 16px;\n}\n\n.tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-2);\n border-radius: 2px;\n margin: 0 16px;\n padding: 10px 12px;\n}\n\n.user-tool {\n cursor: pointer;\n}\n\n.divider {\n margin: 0;\n}\n\n.options-list {\n color: var(--font-color-grey);\n}\n\n.options-list-item {\n padding: 10px 16px !important;\n cursor: pointer;\n\n &:hover {\n background: #f8f8f8;\n color: #222;\n }\n}\n\n.org {\n color: var(--font-color-grey);\n}\n\n.tenant-item {\n border: 1px solid #eee !important;\n border-radius: 2px !important;\n cursor: pointer;\n padding: 24px 16px !important;\n\n &:not(:last-child) {\n margin-bottom: 16px;\n }\n\n border-block-end: 1px solid #eee !important;\n\n .current-sign {\n visibility: hidden;\n color: var(--primary-color);\n }\n\n &.current-tenant {\n background: var(--primary-color-1);\n border: 1px solid var(--primary-color-4) !important;\n border-bottom-color: var(--primary-color-4) !important;\n border-block-end: 1px solid var(--primary-color-4) !important;\n\n .current-sign {\n visibility: visible;\n }\n }\n}\n\n.user-name {\n max-width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.company {\n max-width: 180px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.line {\n max-width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n",".main :global(.mark-down-html) table {\n width: 100%;\n margin: 8px 0 16px;\n empty-cells: show;\n border: 1px solid #ebedf0;\n border-collapse: collapse;\n border-spacing: 0;\n}\n.main :global(.mark-down-html) table th {\n color: #5c6b77;\n font-weight: 500;\n white-space: nowrap;\n background: rgba(0, 0, 0, 0.02);\n}\n.main :global(.mark-down-html) table th,\n.main :global(.mark-down-html) table td {\n padding: 16px 24px;\n text-align: left;\n border: 1px solid #ebedf0;\n}\n.main :global(.mark-down-html) table td:first-child {\n color: #595959;\n font-weight: 600;\n}\n.main :global(.mark-down-html) table td:nth-child(3) {\n color: #c41d7f;\n}\n.main :global(.mark-down-html) pre {\n background: #f2f4f5;\n word-wrap: break-word;\n white-space: pre-wrap;\n padding: 0.2em 0.4em;\n font-size: 0.9em;\n border: 1px solid #eee;\n border-radius: 3px;\n}\n.main :global(.mark-down-html) code {\n background: #f2f4f5;\n}\n\n.title {\n font-size: 30px;\n}\n\n.info {\n background: rgba(0, 0, 0, 0.04);\n padding: 20px;\n border-radius: 4px;\n}\n.info pre {\n margin: 0;\n}\n\n.example :global(.example-driver-switch):hover {\n color: var(--primary-color);\n}\n.example :global(.example-driver-des) {\n white-space: pre-line;\n}\n\n.part-title {\n margin-top: 30px;\n}\n\n.example-page :global(.core-page-main-content) {\n background: #FFFFFF;\n}"],"names":[],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 1668.75b1b5d6.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_kne_components_components_admin=self.webpackChunk_kne_components_components_admin||[]).push([[1668],{41668:(e,s,r)=>{r.r(s),r.d(s,{RightOptions:()=>f,default:()=>j});var o=r(13050),l=r(55199),n=r(75894);const t="style_icon__KSAP2__r2llo",a="style_content__akCc4__r2llo",i="style_overlay__IH+0B__r2llo",_="style_info__5uvqI__r2llo",c="style_user-tool__CBaDm__r2llo",m="style_divider__jcjqI__r2llo",d="style_options-list__RHknC__r2llo",p="style_options-list-item__IOziy__r2llo",u="style_user-name__q7lY4__r2llo",v="style_line__rOiNk__r2llo";var y=r(70579);const j=(0,o.createWithRemoteLoader)({modules:["components-core:Image","components-core:Icon"]})(e=>{let{remoteModules:s,avatar:r,name:o,email:j,storeKeys:f={token:"X-User-Token"},domain:h}=e;const[x,k]=s;return(0,y.jsx)(l.Dropdown,{trigger:"click",rootClassName:i,popupRender:()=>(0,y.jsxs)(l.Space,{direction:"vertical",className:a,children:[(0,y.jsxs)(l.Space,{className:_,children:[(0,y.jsx)(x.Avatar,{id:r,size:48}),(0,y.jsxs)("div",{children:[(0,y.jsx)("div",{className:v,children:o||"\u672a\u547d\u540d"}),(0,y.jsx)("div",{className:v,children:j||"-"})]})]}),(0,y.jsx)(l.Divider,{className:m}),(0,y.jsx)(l.List,{className:d,children:(0,y.jsx)(l.List.Item,{className:p,onClick:()=>{Object.values(f).forEach(e=>{(0,n.removeToken)(e,h)}),window.location.reload()},children:(0,y.jsxs)(l.Space,{children:[(0,y.jsx)(k,{type:"icon-tuichudenglu"}),(0,y.jsx)("span",{children:"\u9000\u51fa\u767b\u5f55"})]})})})]}),arrow:!1,transitionName:"ant-slide-up",children:(0,y.jsxs)(l.Space,{className:c,children:[(0,y.jsx)(x.Avatar,{id:r,size:32}),(0,y.jsx)("div",{className:u,children:o||"\u672a\u547d\u540d"}),(0,y.jsx)(k,{className:t,type:"triangle-down",size:12})]})})}),f=(0,o.createWithRemoteLoader)({modules:["components-core:Global@GetGlobal"]})(e=>{let{remoteModules:s}=e;const[r]=s;return(0,y.jsx)(r,{globalKey:"userInfo",children:e=>{let{value:s}=e;if(!s)return null;const{userInfo:r,tenantUser:o,tenant:l}=s;return(0,y.jsx)(j,{avatar:o?o.avatar:r.avatar,name:o?o.name:r.nickname,email:o?o.email:r.email,tenant:l,orgName:o&&((null===o||void 0===o?void 0:o.tenantOrgs)||[]).map(e=>e.name).join(",")})}})})},51153:(e,s,r)=>{var o=r(73884),l=Symbol.for("react.element"),n=Symbol.for("react.fragment"),t=Object.prototype.hasOwnProperty,a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function _(e,s,r){var o,n={},_=null,c=null;for(o in void 0!==r&&(_=""+r),void 0!==s.key&&(_=""+s.key),void 0!==s.ref&&(c=s.ref),s)t.call(s,o)&&!i.hasOwnProperty(o)&&(n[o]=s[o]);if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===n[o]&&(n[o]=s[o]);return{$$typeof:l,type:e,key:_,ref:c,props:n,_owner:a.current}}s.Fragment=n,s.jsx=_,s.jsxs=_},70579:(e,s,r)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E,EAAE/B,OAAOgC,UAAUC,eAAeC,EAAET,EAAEU,mDAAmDC,kBAAkBC,EAAE,CAACC,KAAI,EAAGC,KAAI,EAAGC,QAAO,EAAGC,UAAS,GAChP,SAASC,EAAEC,EAAEC,EAAEC,GAAG,IAAIC,EAAEC,EAAE,CAAC,EAAEC,EAAE,KAAKC,EAAE,KAAiF,IAAIH,UAAhF,IAASD,IAAIG,EAAE,GAAGH,QAAG,IAASD,EAAEN,MAAMU,EAAE,GAAGJ,EAAEN,UAAK,IAASM,EAAEL,MAAMU,EAAEL,EAAEL,KAAcK,EAAEb,EAAEmB,KAAKN,EAAEE,KAAKT,EAAEJ,eAAea,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAEQ,aAAa,IAAIL,KAAKF,EAAED,EAAEQ,kBAAe,IAASJ,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACM,SAASzB,EAAEnB,KAAKmC,EAAEL,IAAIU,EAAET,IAAIU,EAAEI,MAAMN,EAAEO,OAAOpB,EAAEqB,QAAQ,CAACC,EAAQC,SAAS3B,EAAE0B,EAAQE,IAAIhB,EAAEc,EAAQG,KAAKjB,C,kBCPxWkB,EAAOJ,QAAU,EAAjBI,M","sources":["webpack://@kne-components/components-admin/./src/components/UserTool/style.module.scss?828d","components/UserTool/UserTool.js","components/UserTool/RightOptions.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"icon\":\"style_icon__KSAP2__XICk7\",\"content\":\"style_content__akCc4__XICk7\",\"overlay\":\"style_overlay__IH+0B__XICk7\",\"info\":\"style_info__5uvqI__XICk7\",\"tenant\":\"style_tenant__pNb8v__XICk7\",\"user-tool\":\"style_user-tool__CBaDm__XICk7\",\"divider\":\"style_divider__jcjqI__XICk7\",\"options-list\":\"style_options-list__RHknC__XICk7\",\"options-list-item\":\"style_options-list-item__IOziy__XICk7\",\"org\":\"style_org__N0zoJ__XICk7\",\"tenant-item\":\"style_tenant-item__0Q6XJ__XICk7\",\"current-sign\":\"style_current-sign__11f2P__XICk7\",\"current-tenant\":\"style_current-tenant__mdi5f__XICk7\",\"user-name\":\"style_user-name__q7lY4__XICk7\",\"company\":\"style_company__wIKmA__XICk7\",\"line\":\"style_line__rOiNk__XICk7\"};","import { createWithRemoteLoader } from '@kne/remote-loader';\nimport { Divider, List, Dropdown, Space } from 'antd';\nimport { removeToken } from '@kne/token-storage';\nimport style from './style.module.scss';\n\nconst UserTool = createWithRemoteLoader({\n modules: ['components-core:Image', 'components-core:Icon']\n})(({ remoteModules, avatar, name, email, storeKeys = { token: 'X-User-Token' }, domain }) => {\n const [Image, Icon] = remoteModules;\n return (\n <Dropdown\n trigger=\"click\"\n rootClassName={style['overlay']}\n popupRender={() => (\n <Space direction={'vertical'} className={style['content']}>\n <Space className={style['info']}>\n <Image.Avatar id={avatar} size={48} />\n <div>\n <div className={style['line']}>{name || '未命名'}</div>\n <div className={style['line']}>{email || '-'}</div>\n </div>\n </Space>\n <Divider className={style['divider']} />\n <List className={style['options-list']}>\n <List.Item\n className={style['options-list-item']}\n onClick={() => {\n Object.values(storeKeys).forEach(tokenKey => {\n removeToken(tokenKey, domain);\n });\n window.location.reload();\n }}\n >\n <Space>\n <Icon type=\"icon-tuichudenglu\" />\n <span>退出登录</span>\n </Space>\n </List.Item>\n </List>\n </Space>\n )}\n arrow={false}\n transitionName={'ant-slide-up'}\n >\n <Space className={style['user-tool']}>\n <Image.Avatar id={avatar} size={32} />\n <div className={style['user-name']}>{name || '未命名'}</div>\n <Icon className={style['icon']} type=\"triangle-down\" size={12} />\n </Space>\n </Dropdown>\n );\n});\n\nexport default UserTool;\n","import {createWithRemoteLoader} from '@kne/remote-loader';\nimport UserTool from './UserTool';\n\nconst RightOptions = createWithRemoteLoader({\n modules: ['components-core:Global@GetGlobal']\n})(({remoteModules}) => {\n const [GetGlobal] = remoteModules;\n\n return (<GetGlobal globalKey=\"userInfo\">\n {({value}) => {\n if (!value) {\n return null;\n }\n const {userInfo, tenantUser, tenant} = value;\n return (<UserTool\n avatar={tenantUser ? tenantUser.avatar : userInfo.avatar}\n name={tenantUser ? tenantUser.name : userInfo.nickname}\n email={tenantUser ? tenantUser.email : userInfo.email}\n tenant={tenant}\n orgName={tenantUser && (tenantUser?.tenantOrgs || []).map(item => item.name).join(',')}\n />);\n }}\n </GetGlobal>);\n});\n\nexport default RightOptions;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["createWithRemoteLoader","modules","_ref","remoteModules","avatar","name","email","storeKeys","token","domain","Image","Icon","_jsx","Dropdown","trigger","rootClassName","style","popupRender","_jsxs","Space","direction","className","children","Avatar","id","size","Divider","List","Item","onClick","Object","values","forEach","tokenKey","removeToken","window","location","reload","type","arrow","transitionName","GetGlobal","globalKey","_ref2","value","userInfo","tenantUser","tenant","UserTool","nickname","orgName","tenantOrgs","map","item","join","f","require","k","Symbol","for","l","m","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","defaultProps","$$typeof","props","_owner","current","exports","Fragment","jsx","jsxs","module"],"sourceRoot":""}
1
+ {"version":3,"file":"static/js/1668.75b1b5d6.chunk.js","mappings":";2OACA,QAAuB,2BAAvB,EAA4D,8BAA5D,EAAoG,8BAApG,EAAyI,2BAAzI,EAAsN,gCAAtN,EAAgQ,8BAAhQ,EAA6S,mCAA7S,EAAoW,wCAApW,EAAglB,gCAAhlB,EAA+pB,2B,eCI/pB,MAgDA,GAhDiBA,EAAAA,EAAAA,wBAAuB,CACtCC,QAAS,CAAC,wBAAyB,yBADpBD,CAEdE,IAA4F,IAA3F,cAAEC,EAAa,OAAEC,EAAM,KAAEC,EAAI,MAAEC,EAAK,UAAEC,EAAY,CAAEC,MAAO,gBAAgB,OAAEC,GAAQP,EACvF,MAAOQ,EAAOC,GAAQR,EACtB,OACES,EAAAA,EAAAA,KAACC,EAAAA,SAAQ,CACPC,QAAQ,QACRC,cAAeC,EACfC,YAAaA,KACXC,EAAAA,EAAAA,MAACC,EAAAA,MAAK,CAACC,UAAW,WAAYC,UAAWL,EAAiBM,SAAA,EACxDJ,EAAAA,EAAAA,MAACC,EAAAA,MAAK,CAACE,UAAWL,EAAcM,SAAA,EAC9BV,EAAAA,EAAAA,KAACF,EAAMa,OAAM,CAACC,GAAIpB,EAAQqB,KAAM,MAChCP,EAAAA,EAAAA,MAAA,OAAAI,SAAA,EACEV,EAAAA,EAAAA,KAAA,OAAKS,UAAWL,EAAcM,SAAEjB,GAAQ,wBACxCO,EAAAA,EAAAA,KAAA,OAAKS,UAAWL,EAAcM,SAAEhB,GAAS,aAG7CM,EAAAA,EAAAA,KAACc,EAAAA,QAAO,CAACL,UAAWL,KACpB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U,IAAVA,OAAU,EAAVA,EAAYK,aAAc,IAAIC,IAAIC,GAAQA,EAAKhD,MAAMiD,KAAK,W,kBCVrF,IAAIC,EAAEC,EAAQ,OAASC,EAAEC,OAAOC,IAAI,iBAAiBC,EAAEF,OAAOC,IAAI,kBAAkBE,EAAE/B,OAAOgC,UAAUC,eAAeC,EAAET,EAAEU,mDAAmDC,kBAAkBC,EAAE,CAACC,KAAI,EAAGC,KAAI,EAAGC,QAAO,EAAGC,UAAS,GAChP,SAASC,EAAEC,EAAEC,EAAEC,GAAG,IAAIC,EAAEC,EAAE,CAAC,EAAEC,EAAE,KAAKC,EAAE,KAAiF,IAAIH,UAAhF,IAASD,IAAIG,EAAE,GAAGH,QAAG,IAASD,EAAEN,MAAMU,EAAE,GAAGJ,EAAEN,UAAK,IAASM,EAAEL,MAAMU,EAAEL,EAAEL,KAAcK,EAAEb,EAAEmB,KAAKN,EAAEE,KAAKT,EAAEJ,eAAea,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAEQ,aAAa,IAAIL,KAAKF,EAAED,EAAEQ,kBAAe,IAASJ,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACM,SAASzB,EAAEnB,KAAKmC,EAAEL,IAAIU,EAAET,IAAIU,EAAEI,MAAMN,EAAEO,OAAOpB,EAAEqB,QAAQ,CAACC,EAAQC,SAAS3B,EAAE0B,EAAQE,IAAIhB,EAAEc,EAAQG,KAAKjB,C,kBCPxWkB,EAAOJ,QAAU,EAAjBI,M","sources":["webpack://@kne-components/components-admin/./src/components/UserTool/style.module.scss?828d","components/UserTool/UserTool.js","components/UserTool/RightOptions.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"icon\":\"style_icon__KSAP2__r2llo\",\"content\":\"style_content__akCc4__r2llo\",\"overlay\":\"style_overlay__IH+0B__r2llo\",\"info\":\"style_info__5uvqI__r2llo\",\"tenant\":\"style_tenant__pNb8v__r2llo\",\"user-tool\":\"style_user-tool__CBaDm__r2llo\",\"divider\":\"style_divider__jcjqI__r2llo\",\"options-list\":\"style_options-list__RHknC__r2llo\",\"options-list-item\":\"style_options-list-item__IOziy__r2llo\",\"org\":\"style_org__N0zoJ__r2llo\",\"tenant-item\":\"style_tenant-item__0Q6XJ__r2llo\",\"current-sign\":\"style_current-sign__11f2P__r2llo\",\"current-tenant\":\"style_current-tenant__mdi5f__r2llo\",\"user-name\":\"style_user-name__q7lY4__r2llo\",\"company\":\"style_company__wIKmA__r2llo\",\"line\":\"style_line__rOiNk__r2llo\"};","import { createWithRemoteLoader } from '@kne/remote-loader';\nimport { Divider, List, Dropdown, Space } from 'antd';\nimport { removeToken } from '@kne/token-storage';\nimport style from './style.module.scss';\n\nconst UserTool = createWithRemoteLoader({\n modules: ['components-core:Image', 'components-core:Icon']\n})(({ remoteModules, avatar, name, email, storeKeys = { token: 'X-User-Token' }, domain }) => {\n const [Image, Icon] = remoteModules;\n return (\n <Dropdown\n trigger=\"click\"\n rootClassName={style['overlay']}\n popupRender={() => (\n <Space direction={'vertical'} className={style['content']}>\n <Space className={style['info']}>\n <Image.Avatar id={avatar} size={48} />\n <div>\n <div className={style['line']}>{name || '未命名'}</div>\n <div className={style['line']}>{email || '-'}</div>\n </div>\n </Space>\n <Divider className={style['divider']} />\n <List className={style['options-list']}>\n <List.Item\n className={style['options-list-item']}\n onClick={() => {\n Object.values(storeKeys).forEach(tokenKey => {\n removeToken(tokenKey, domain);\n });\n window.location.reload();\n }}\n >\n <Space>\n <Icon type=\"icon-tuichudenglu\" />\n <span>退出登录</span>\n </Space>\n </List.Item>\n </List>\n </Space>\n )}\n arrow={false}\n transitionName={'ant-slide-up'}\n >\n <Space className={style['user-tool']}>\n <Image.Avatar id={avatar} size={32} />\n <div className={style['user-name']}>{name || '未命名'}</div>\n <Icon className={style['icon']} type=\"triangle-down\" size={12} />\n </Space>\n </Dropdown>\n );\n});\n\nexport default UserTool;\n","import {createWithRemoteLoader} from '@kne/remote-loader';\nimport UserTool from './UserTool';\n\nconst RightOptions = createWithRemoteLoader({\n modules: ['components-core:Global@GetGlobal']\n})(({remoteModules}) => {\n const [GetGlobal] = remoteModules;\n\n return (<GetGlobal globalKey=\"userInfo\">\n {({value}) => {\n if (!value) {\n return null;\n }\n const {userInfo, tenantUser, tenant} = value;\n return (<UserTool\n avatar={tenantUser ? tenantUser.avatar : userInfo.avatar}\n name={tenantUser ? tenantUser.name : userInfo.nickname}\n email={tenantUser ? tenantUser.email : userInfo.email}\n tenant={tenant}\n orgName={tenantUser && (tenantUser?.tenantOrgs || []).map(item => item.name).join(',')}\n />);\n }}\n </GetGlobal>);\n});\n\nexport default RightOptions;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["createWithRemoteLoader","modules","_ref","remoteModules","avatar","name","email","storeKeys","token","domain","Image","Icon","_jsx","Dropdown","trigger","rootClassName","style","popupRender","_jsxs","Space","direction","className","children","Avatar","id","size","Divider","List","Item","onClick","Object","values","forEach","tokenKey","removeToken","window","location","reload","type","arrow","transitionName","GetGlobal","globalKey","_ref2","value","userInfo","tenantUser","tenant","UserTool","nickname","orgName","tenantOrgs","map","item","join","f","require","k","Symbol","for","l","m","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","defaultProps","$$typeof","props","_owner","current","exports","Fragment","jsx","jsxs","module"],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 192.8e630aca.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_kne_components_components_admin=self.webpackChunk_kne_components_components_admin||[]).push([[192],{30192:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var o=n(13050),a=n(87558),r=n.n(a),s=n(73884),i=n(55199);const l=e=>{let{renderCopyInvokeUrl:t,renderCopySignature:n}=e;return[{name:"id",title:"ID",type:"serialNumber"},{name:"name",title:"\u540d\u79f0"},{name:"url",title:"\u8c03\u7528\u8def\u5f84",type:"otherSmall",valueOf:e=>t(e)},{name:"signature",title:"\u7b7e\u540d",type:"otherSmall",valueOf:e=>n(e)},{name:"signatureLocation",title:"\u7b7e\u540d\u4f4d\u7f6e"},{name:"inputLocation",title:"\u8f93\u5165\u4f4d\u7f6e"},{name:"shouldEncryptVerify",title:"\u662f\u5426\u9a8c\u8bc1\u5b8c\u6574\u6027",valueOf:e=>e.shouldEncryptVerify?"\u662f":"\u5426"}]};var c=n(70579);const u=(0,o.createWithRemoteLoader)({modules:["components-core:FormInfo"]})(e=>{let{remoteModules:t}=e;const[n]=t,{useFormContext:o}=n,{Input:a,DatePicker:r,Switch:s}=n.fields,{formData:i}=o();return(0,c.jsx)(n,{column:1,list:[(0,c.jsx)(a,{name:"name",label:"\u540d\u79f0",description:"\u9700\u8bf4\u660e\u8c03\u7528webhook\u7684\u7aef\u53e3\u7684\u8eab\u4efd",rule:"REQ LEN-0-20"}),(0,c.jsx)(a,{name:"signatureLocation",label:"\u7b7e\u540d\u6240\u5728\u4f4d\u7f6e",rule:"REQ LEN-0-100",defaultValue:"headers['x-signature']"}),(0,c.jsx)(a,{name:"inputLocation",label:"\u8f93\u5165\u53c2\u6570\u4f4d\u7f6e",rule:"REQ LEN-0-100",defaultValue:"body"}),(0,c.jsx)(s,{name:"shouldEncryptVerify",label:"body\u5185\u5bb9\u7b7e\u540d\u9a8c\u8bc1\u5b8c\u6574\u6027",display:"body"===i.inputLocation}),(0,c.jsx)(r,{name:"expire",label:"\u8fc7\u671f\u65f6\u95f4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm"})]})}),m=()=>[{name:"id",title:"ID",type:"serialNumber"},{name:"endTime",title:"\u7ed3\u675f\u65f6\u95f4",type:"datetime"},{name:"duration",title:"\u8fd0\u884c\u65f6\u95f4",valueOf:e=>new Date(e.endTime).getTime()-new Date(e.startTime).getTime()+"ms"},{name:"input",title:"\u8c03\u7528\u53c2\u6570",type:"description",ellipsis:!0,valueOf:e=>e.input&&JSON.stringify(e.input)},{name:"status",title:"\u6267\u884c\u72b6\u6001",type:"tag",valueOf:e=>"success"===e.status?{type:"success",text:"\u6210\u529f"}:{type:"error",text:"\u5931\u8d25"}},{name:"result",title:"\u6267\u884c\u7ed3\u679c",type:"description",ellipsis:!0,valueOf:e=>e.result&&JSON.stringify(e.result)}],p=(0,o.createWithRemoteLoader)({modules:["components-core:Table@TablePage","components-core:Global@usePreset"]})(e=>{let{remoteModules:t,id:n,type:o}=e;const[a,r]=t,{apis:s}=r();return(0,c.jsx)(a,{...Object.assign({},s.webhook.invokeRecord,{params:{id:n,type:o}}),columns:[...m()]})}),d=(0,o.createWithRemoteLoader)({modules:["components-core:Global@usePreset","components-core:Layout@TablePage","components-core:Layout@Menu","components-core:FormInfo@useFormModal","components-core:LoadingButton","components-core:Modal@useModal"]})(e=>{let{remoteModules:t,...n}=e;const[o,a,m,d,y,f]=t,{apis:b,ajax:h}=o(),[g,k]=(0,s.useState)(""),x=d(),j=f(),{message:w}=i.App.useApp();return(0,c.jsx)(r(),{...Object.assign({},b.webhook.list),render:e=>{let{data:t,reload:o}=e;const r=Object.keys(t);return(!g||!t[g])&&k(r[0]),(0,c.jsx)(a,{...n,params:{current:g,data:t},loader:e=>{let{params:t}=e;return{pageData:t.data[t.current]}},columns:[...l({renderCopyInvokeUrl:()=>(0,c.jsx)(y,{type:"link",className:"btn-no-padding",onClick:async()=>{await navigator.clipboard.writeText(`${window.location.origin}${b.webhook.invoke.url}/${g}`),w.success("\u590d\u5236\u6210\u529f")},children:"\u590d\u5236"}),renderCopySignature:e=>(0,c.jsx)(y,{type:"link",className:"btn-no-padding",onClick:async()=>{await navigator.clipboard.writeText(e.signature),w.success("\u590d\u5236\u6210\u529f")},children:"\u590d\u5236"})}),{name:"options",type:"options",title:"\u64cd\u4f5c",fixed:"right",valueOf:e=>[{children:"\u8c03\u7528\u8bb0\u5f55",onClick:async()=>{j({title:"\u8c03\u7528\u8bb0\u5f55",footer:null,children:(0,c.jsx)(p,{id:e.id})})}},{children:"\u5220\u9664",confirm:!0,onClick:async()=>{const{data:t}=await h(Object.assign({},b.webhook.remove,{data:{id:e.id}}));0===t.code&&(w.success("\u5220\u9664\u6210\u529f"),o())}}]}],page:{menu:r.length>0&&(0,c.jsx)(m,{currentKey:g,onChange:k,items:r.map(e=>({key:e,label:e}))}),title:"Webhook",titleExtra:(0,c.jsxs)(i.Flex,{gap:8,children:[(0,c.jsx)(i.Button,{type:"primary",onClick:()=>{x({title:"\u6dfb\u52a0Webhook\u8c03\u7528\u7aef",size:"small",autoClose:!0,formProps:{onSubmit:async e=>{const{data:t}=await h(Object.assign({},b.webhook.create,{data:Object.assign({},e,{type:g})}));if(0!==t.code)return!1;w.success("\u6dfb\u52a0\u6210\u529f"),o()}},children:(0,c.jsx)(u,{})})},children:"\u6dfb\u52a0"}),(0,c.jsx)(i.Button,{onClick:()=>{j({title:"\u5931\u8d25\u8bb0\u5f55",footer:null,children:(0,c.jsx)(p,{type:g})})},children:"\u5931\u8d25\u8bb0\u5f55"})]})}})}})})},51153:(e,t,n)=>{var o=n(73884),a=Symbol.for("react.element"),r=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var o,r={},c=null,u=null;for(o in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,o)&&!l.hasOwnProperty(o)&&(r[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===r[o]&&(r[o]=t[o]);return{$$typeof:a,type:e,key:c,ref:u,props:r,_owner:i.current}}t.Fragment=r,t.jsx=c,t.jsxs=c},70579:(e,t,n)=>{e.exports=n(51153)}}]);
3
+ //# sourceMappingURL=192.8e630aca.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/192.8e630aca.chunk.js","mappings":";2OAEA,MA6CA,EA7CmBA,IAAmD,IAAlD,oBAAEC,EAAmB,oBAAEC,GAAqBF,EAC9D,MAAO,CACL,CACEG,KAAM,KACNC,MAAO,KACPC,KAAM,gBAER,CACEF,KAAM,OACNC,MAAO,gBAET,CACED,KAAM,MACNC,MAAO,2BACPC,KAAM,aACNC,QAASC,GACAN,EAAoBM,IAG/B,CACEJ,KAAM,YACNC,MAAO,eACPC,KAAM,aACNC,QAASC,GACAL,EAAoBK,IAG/B,CACEJ,KAAM,oBACNC,MAAO,4BAET,CACED,KAAM,gBACNC,MAAO,4BAET,CACED,KAAM,sBACNC,MAAO,6CACPE,QAASC,GACAA,EAAKC,oBAAsB,SAAM,Y,eCvChD,MAqBA,GArBkBC,EAA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lB,EAAElE,QAAQ,CAACqF,EAAQC,SAASxB,EAAEuB,EAAQE,IAAId,EAAEY,EAAQG,KAAKf,C,kBCPxWgB,EAAOJ,QAAU,EAAjBI,M","sources":["components/Webhook/getColumns.js","components/Webhook/FormInner.js","components/Webhook/Record/getColumns.js","components/Webhook/Record/index.js","components/Webhook/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["import { Button } from 'antd';\n\nconst getColumns = ({ renderCopyInvokeUrl, renderCopySignature }) => {\n return [\n {\n name: 'id',\n title: 'ID',\n type: 'serialNumber'\n },\n {\n name: 'name',\n title: '名称'\n },\n {\n name: 'url',\n title: '调用路径',\n type: 'otherSmall',\n valueOf: item => {\n return renderCopyInvokeUrl(item);\n }\n },\n {\n name: 'signature',\n title: '签名',\n type: 'otherSmall',\n valueOf: item => {\n return renderCopySignature(item);\n }\n },\n {\n name: 'signatureLocation',\n title: '签名位置'\n },\n {\n name: 'inputLocation',\n title: '输入位置'\n },\n {\n name: 'shouldEncryptVerify',\n title: '是否验证完整性',\n valueOf: item => {\n return item.shouldEncryptVerify ? '是' : '否';\n }\n }\n ];\n};\n\nexport default getColumns;\n","import { createWithRemoteLoader } from '@kne/remote-loader';\n\nconst FormInner = createWithRemoteLoader({\n modules: ['components-core:FormInfo']\n})(({ remoteModules }) => {\n const [FormInfo] = remoteModules;\n const { useFormContext } = FormInfo;\n const { Input, DatePicker, Switch } = FormInfo.fields;\n const { formData } = useFormContext();\n return (\n <FormInfo\n column={1}\n list={[\n <Input name=\"name\" label=\"名称\" description=\"需说明调用webhook的端口的身份\" rule=\"REQ LEN-0-20\" />,\n <Input name=\"signatureLocation\" label=\"签名所在位置\" rule=\"REQ LEN-0-100\" defaultValue=\"headers['x-signature']\" />,\n <Input name=\"inputLocation\" label=\"输入参数位置\" rule=\"REQ LEN-0-100\" defaultValue=\"body\" />,\n <Switch name=\"shouldEncryptVerify\" label=\"body内容签名验证完整性\" display={formData.inputLocation === 'body'} />,\n <DatePicker name=\"expire\" label=\"过期时间\" showTime={{ format: 'HH:mm' }} format=\"YYYY-MM-DD HH:mm\" />\n ]}\n />\n );\n});\n\nexport default FormInner;\n","const getColumns = () => {\n return [\n {\n name: 'id',\n title: 'ID',\n type: 'serialNumber'\n },\n {\n name: 'endTime',\n title: '结束时间',\n type: 'datetime'\n },\n {\n name: 'duration',\n title: '运行时间',\n valueOf: item => {\n return `${new Date(item.endTime).getTime() - new Date(item.startTime).getTime()}ms`;\n }\n },\n {\n name: 'input',\n title: '调用参数',\n type: 'description',\n ellipsis: true,\n valueOf: item => {\n return item.input && JSON.stringify(item.input);\n }\n },\n {\n name: 'status',\n title: '执行状态',\n type: 'tag',\n valueOf: item => {\n if (item.status === 'success') {\n return { type: 'success', text: '成功' };\n }\n return { type: 'error', text: '失败' };\n }\n },\n {\n name: 'result',\n title: '执行结果',\n type: 'description',\n ellipsis: true,\n valueOf: item => {\n return item.result && JSON.stringify(item.result);\n }\n }\n ];\n};\n\nexport default getColumns;\n","import { createWithRemoteLoader } from '@kne/remote-loader';\nimport getColumns from './getColumns';\n\nconst Record = createWithRemoteLoader({\n modules: ['components-core:Table@TablePage', 'components-core:Global@usePreset']\n})(({ remoteModules, id, type }) => {\n const [TablePage, usePreset] = remoteModules;\n const { apis } = usePreset();\n return (\n <TablePage\n {...Object.assign({}, apis.webhook.invokeRecord, {\n params: { id, type }\n })}\n columns={[...getColumns()]}\n />\n );\n});\n\nexport default Record;\n","import { createWithRemoteLoader } from '@kne/remote-loader';\nimport Fetch from '@kne/react-fetch';\nimport { useState } from 'react';\nimport { Button, App, Flex } from 'antd';\nimport getColumns from './getColumns';\nimport FormInner from './FormInner';\nimport Record from './Record';\n\nconst Webhook = createWithRemoteLoader({\n modules: [\n 'components-core:Global@usePreset',\n 'components-core:Layout@TablePage',\n 'components-core:Layout@Menu',\n 'components-core:FormInfo@useFormModal',\n 'components-core:LoadingButton',\n 'components-core:Modal@useModal'\n ]\n})(({ remoteModules, ...props }) => {\n const [usePreset, TablePage, Menu, useFormModal, LoadingButton, useModal] = remoteModules;\n const { apis, ajax } = usePreset();\n const [current, setCurrent] = useState('');\n const formModal = useFormModal();\n const modal = useModal();\n const { message } = App.useApp();\n return (\n <Fetch\n {...Object.assign({}, apis.webhook.list)}\n render={({ data, reload }) => {\n const list = Object.keys(data);\n !(current && data[current]) && setCurrent(list[0]);\n return (\n <TablePage\n {...props}\n params={{ current, data }}\n loader={({ params }) => {\n return { pageData: params.data[params.current] };\n }}\n columns={[\n ...getColumns({\n renderCopyInvokeUrl: () => {\n return (\n <LoadingButton\n type=\"link\"\n className=\"btn-no-padding\"\n onClick={async () => {\n await navigator.clipboard.writeText(`${window.location.origin}${apis.webhook.invoke.url}/${current}`);\n message.success('复制成功');\n }}\n >\n 复制\n </LoadingButton>\n );\n },\n renderCopySignature: item => {\n return (\n <LoadingButton\n type=\"link\"\n className=\"btn-no-padding\"\n onClick={async () => {\n await navigator.clipboard.writeText(item.signature);\n message.success('复制成功');\n }}\n >\n 复制\n </LoadingButton>\n );\n }\n }),\n {\n name: 'options',\n type: 'options',\n title: '操作',\n fixed: 'right',\n valueOf: item => {\n return [\n {\n children: '调用记录',\n onClick: async () => {\n modal({\n title: '调用记录',\n footer: null,\n children: <Record id={item.id} />\n });\n }\n },\n {\n children: '删除',\n confirm: true,\n onClick: async () => {\n const { data: resData } = await ajax(\n Object.assign({}, apis.webhook.remove, {\n data: { id: item.id }\n })\n );\n if (resData.code !== 0) {\n return;\n }\n message.success('删除成功');\n reload();\n }\n }\n ];\n }\n }\n ]}\n page={{\n menu: list.length > 0 && (\n <Menu\n currentKey={current}\n onChange={setCurrent}\n items={list.map(name => {\n return {\n key: name,\n label: name\n };\n })}\n />\n ),\n title: 'Webhook',\n titleExtra: (\n <Flex gap={8}>\n <Button\n type=\"primary\"\n onClick={() => {\n formModal({\n title: '添加Webhook调用端',\n size: 'small',\n autoClose: true,\n formProps: {\n onSubmit: async formData => {\n const { data: resData } = await ajax(\n Object.assign({}, apis.webhook.create, {\n data: Object.assign({}, formData, {\n type: current\n })\n })\n );\n\n if (resData.code !== 0) {\n return false;\n }\n\n message.success('添加成功');\n reload();\n }\n },\n children: <FormInner />\n });\n }}\n >\n 添加\n </Button>\n <Button\n onClick={() => {\n modal({\n title: '失败记录',\n footer: null,\n children: <Record type={current} />\n });\n }}\n >\n 失败记录\n </Button>\n </Flex>\n )\n }}\n />\n );\n }}\n />\n );\n});\n\nexport default Webhook;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["_ref","renderCopyInvokeUrl","renderCopySignature","name","title","type","valueOf","item","shouldEncryptVerify","createWithRemoteLoader","modules","remoteModules","FormInfo","useFormContext","Input","DatePicker","Switch","fields","formData","_jsx","column","list","label","description","rule","defaultValue","display","inputLocation","showTime","format","getColumns","Date","endTime","getTime","startTime","ellipsis","input","JSON","stringify","status","text","result","id","TablePage","usePreset","apis","Object","assign","webhook","invokeRecord","params","columns","props","Menu","useFormModal","LoadingButton","useModal","ajax","current","setCurrent","useState","formModal","modal","message","App","useApp","Fetch","render","_ref2","data","reload","keys","loader","_ref3","pageData","className","onClick","async","navigator","clipboard","writeText","window","location","origin","invoke","url","success","children","signature","fixed","footer","Record","confirm","resData","remove","code","page","menu","length","currentKey","onChange","items","map","key","titleExtra","_jsxs","Flex","gap","Button","size","autoClose","formProps","onSubmit","create","FormInner","f","require","k","Symbol","for","l","m","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","ref","__self","__source","q","c","a","g","b","d","e","h","call","defaultProps","$$typeof","_owner","exports","Fragment","jsx","jsxs","module"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_kne_components_components_admin=self.webpackChunk_kne_components_components_admin||[]).push([[3263],{1740:(e,t,n)=>{n.d(t,{A:()=>a});const a={name:"UserSelect",summary:"<p>\u9009\u62e9\u4e00\u4e2a\u7528\u6237</p>",api:"<table>\n<thead>\n<tr>\n<th>\u5c5e\u6027\u540d</th>\n<th>\u8bf4\u660e</th>\n<th>\u7c7b\u578b</th>\n<th>\u9ed8\u8ba4\u503c</th>\n</tr>\n</thead>\n</table>",example:{isFull:!1,className:"UserSelect_48d48",style:"",list:[{title:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u6807\u9898",description:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u8bf4\u660e",code:"const { default: UserSelect } = _UserSelect;\nconst BaseExample = () => {\n return <UserSelect />;\n};\n\nrender(<BaseExample />);\n\n",scope:[{name:"_UserSelect",packageName:"@components/UserSelect",component:n(98889)}]}]}}},4428:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(13050);const s=()=>[{name:"appId",title:"AppId",type:"other"},{name:"secretKey",title:"SecretKey",type:"other"},{name:"user",title:"\u6240\u5c5e\u7528\u6237",type:"other",valueOf:e=>{let{user:t}=e;return t.nickname||t.email||t.phone}},{name:"description",title:"\u63cf\u8ff0",type:"description"},{name:"lastVisitedAt",title:"\u6700\u540e\u8bbf\u95ee\u65f6\u95f4",type:"datetime"},{name:"status",title:"\u72b6\u6001",type:"tag",valueOf:(e,t)=>{let{name:n}=t;return 0===e[n]?{type:"success",text:"\u542f\u7528"}:{type:"danger",text:"\u7981\u7528"}}},{name:"createdAt",title:"\u521b\u5efa\u65f6\u95f4",type:"datetime"}];var o=n(73884),r=n(55199),l=n(98889),i=n(70579);const c=(0,a.createWithRemoteLoader)({modules:["components-core:Layout@TablePage","components-core:Global@usePreset","components-core:FormInfo","components-core:FormInfo@useFormModal","components-core:InfoPage@CentralContent"]})(e=>{let{remoteModules:t}=e;const[n,a,c,m,d]=t,{ajax:u,apis:p}=a(),h=(0,o.useRef)(null),{TextArea:g,Input:x}=c.fields,b=m(),{modal:j}=r.App.useApp(),{message:y}=r.App.useApp();return(0,i.jsx)(n,{...Object.assign({},p.signature.list),pagination:{paramsType:"params"},name:"signature-list",ref:h,page:{titleExtra:(0,i.jsx)(r.Space,{align:"center",children:(0,i.jsx)(r.Button,{type:"primary",onClick:()=>{const e=b({title:"\u6dfb\u52a0\u5bc6\u94a5",size:"small",formProps:{onSubmit:async t=>{const{data:n}=await u(Object.assign({},p.signature.create,{data:t}));0===n.code&&(h.current.reload(),e.close(),j.info({icon:null,size:"large",width:"800px",title:"\u5bc6\u94a5\u751f\u6210\u6210\u529f",content:(0,i.jsxs)(r.Flex,{vertical:!0,gap:10,children:[(0,i.jsx)(r.Alert,{type:"error",message:"\u8bf7\u59a5\u5584\u4fdd\u5b58\u5f53\u524d\u5bc6\u94a5\uff0c\u5173\u95ed\u7a97\u53e3\u540e\u5c06\u4e0d\u80fd\u518d\u83b7\u53d6\u5230\uff0c\u8bf7\u52ff\u6cc4\u6f0f"}),(0,i.jsx)(d,{dataSource:n.data,col:1,columns:[{name:"appId",title:"AppId"},{name:"secretKey",title:"SecretKey"}]})]})}))}},children:(0,i.jsx)(c,{column:1,list:[(0,i.jsx)(l.default,{name:"userId",label:"\u6240\u5c5e\u7528\u6237",single:!0,interceptor:"object-output-value"}),(0,i.jsx)(g,{name:"description",label:"\u63cf\u8ff0",maxLength:100})]})})},children:"\u6dfb\u52a0\u5bc6\u94a5"})})},columns:[...s(),{name:"options",title:"\u64cd\u4f5c",type:"options",fixed:"right",valueOf:e=>[{children:"\u9a8c\u8bc1",onClick:()=>{b({title:"\u9a8c\u8bc1\u5bc6\u94a5",size:"small",saveText:"\u9a8c\u8bc1",formProps:{rules:{NUM:e=>/^[0-9]+$/.test(e)?{result:!0,errMsg:""}:{result:!1,errMsg:"\u8bf7\u8f93\u5165\u6570\u5b57"}},data:{appId:e.appId,...e},onSubmit:async t=>{const{data:n}=await u(Object.assign({},p.signature.verify,{data:{appId:e.appId,...t}}));0===n.code&&(n.data.result?y.success("\u9a8c\u8bc1\u6210\u529f"):y.error(`\u9a8c\u8bc1\u5931\u8d25,${n.data.message}`))}},children:(0,i.jsx)(c,{column:1,list:[(0,i.jsx)(g,{name:"signature",label:"\u7b7e\u540d",rule:"REQ"}),(0,i.jsx)(x,{name:"timestamp",label:"\u65f6\u95f4\u6233",rule:"REQ NUM"}),(0,i.jsx)(x,{name:"expire",label:"\u8fc7\u671f\u65f6\u95f4",rule:"REQ NUM"})]})})}},{children:0===e.status?"\u7981\u7528":"\u542f\u7528",title:"\u6e29\u99a8\u63d0\u793a",message:0===e.status?(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{children:"\u7981\u7528\u6b64\u5bc6\u94a5\u540e\uff0c\u5c06\u62d2\u7edd\u6b64\u5bc6\u94a5\u7684\u6240\u6709\u8bf7\u6c42\u3002"}),(0,i.jsx)("div",{children:"\u662f\u5426\u786e\u5b9a\u8981\u7981\u7528\u6b64\u5bc6\u94a5\uff1f"})]}):(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{children:"\u542f\u7528\u6b64\u5bc6\u94a5\u540e\uff0c\u5c06\u5141\u8bb8\u6b64\u5bc6\u94a5\u8bbf\u95ee\u8bf7\u6c42\u3002"}),(0,i.jsx)("div",{children:"\u662f\u5426\u786e\u5b9a\u8981\u542f\u7528\u6b64\u5bc6\u94a5\uff1f"})]}),isModal:!0,isDelete:!1,onClick:async()=>{const{data:t}=await u(Object.assign({},p.signature.update,{data:{appId:e.appId,status:0===e.status?1:0}}));0===t.code&&(y.success("\u64cd\u4f5c\u6210\u529f"),h.current.reload())}},{children:"\u5220\u9664",confirm:!0,hidden:0===e.status,onClick:async()=>{const{data:t}=await u(Object.assign({},p.signature.remove,{data:{appId:e.appId}}));0===t.code&&(y.success("\u5220\u9664\u6210\u529f"),h.current.reload())}}]}]})})},5045:(e,t,n)=>{n.r(t),n.d(t,{InitAdmin:()=>y,default:()=>f});var a=n(94679),s=n(73884);const o=(0,s.createContext)("/"),{Provider:r}=o;var l=n(13050),i=n(55199);const c=()=>[{name:"avatar",title:"\u5934\u50cf",type:"avatar",valueOf:(e,t)=>{let{name:n}=t;return Object.assign({},{gender:e.gender||"M"},{id:e[n]})}},{name:"nickname",title:"\u6635\u79f0",type:"mainInfo"},{name:"email",title:"\u90ae\u7bb1",type:"other"},{name:"phone",title:"\u7535\u8bdd",type:"serialNumber"},{name:"isSuperAdmin",title:"\u662f\u5426\u8d85\u7ea7\u7ba1\u7406\u5458",type:"other",valueOf:(e,t)=>{let{name:n}=t;return!0===e[n]?"\u662f":"\u5426"}},{name:"status",title:"\u72b6\u6001",type:"tag",valueOf:(e,t)=>{let{name:n}=t;return 0===e[n]?{type:"success",text:"\u6b63\u5e38"}:10===e[n]?{text:"\u521d\u59cb\u5316\u672a\u6fc0\u6d3b"}:11===e[n]?{type:"danger",text:"\u5df2\u7981\u7528"}:12===e[n]?{type:"danger",text:"\u5df2\u5173\u95ed"}:{text:"\u5176\u4ed6"}}},{name:"description",title:"\u4e2a\u4eba\u7b80\u4ecb",type:"description"}];var m=n(70579);const d=(0,l.createWithRemoteLoader)({modules:["components-core:FormInfo","components-core:FormInfo@formModule"]})(e=>{let{remoteModules:t}=e;const[n,a]=t,{Input:s,TextArea:o,PhoneNumber:r,Avatar:l}=a;return(0,m.jsx)(n,{column:1,list:[(0,m.jsx)(l,{name:"avatar",label:"\u5934\u50cf",labelHidden:!0,interceptor:"photo-string"}),(0,m.jsx)(s,{name:"nickname",label:"\u6635\u79f0",rule:"LEN-0-100"}),(0,m.jsx)(s,{name:"email",label:"\u90ae\u7bb1",rule:"EMAIL ACCOUNT_IS_EXISTS",realtime:!0}),(0,m.jsx)(r,{name:"phone",label:"\u624b\u673a",rule:"ACCOUNT_IS_EXISTS",interceptor:"phone-number-string"}),(0,m.jsx)(o,{name:"description",label:"\u4e2a\u4eba\u7b80\u4ecb"})]})}),u=(0,l.createWithRemoteLoader)({modules:["components-core:FormInfo"]})(e=>{let{remoteModules:t}=e;const[n]=t,{Input:a}=n.fields;return(0,m.jsx)(n,{column:1,list:[(0,m.jsx)(a.Password,{name:"password",label:"\u5bc6\u7801",rule:"REQ LEN-6-50"}),(0,m.jsx)(a.Password,{name:"repeatPwd",label:"\u91cd\u590d\u5bc6\u7801",rule:"REQ LEN-6-50 REPEAT-password"})]})});var p=n(80700),h=n.n(p),g=n(33097),x=n.n(g);const b=(0,l.createWithRemoteLoader)({modules:["components-core:Layout@TablePage","components-core:Filter","components-core:FormInfo@useFormModal","components-core:Global@usePreset"]})(e=>{let{remoteModules:t}=e;const[n,a,o,r]=t,[l,p]=(0,s.useState)([]),{SearchInput:g,getFilterValue:b,fields:j}=a,{InputFilterItem:y,AdvancedSelectFilterItem:f}=j,{ajax:v,apis:_}=r(),k=o(),{message:A}=i.App.useApp(),O=(0,s.useRef)(null),I=b(l);return(0,m.jsx)(n,{...Object.assign({},_.admin.getUserList,{params:{filter:I}}),pagination:{paramsType:"params"},name:"user-list",ref:O,columns:[...c(),{name:"options",title:"\u64cd\u4f5c",type:"options",fixed:"right",valueOf:e=>[{children:"\u7f16\u8f91",onClick:()=>{const t=k({title:"\u7f16\u8f91\u7528\u6237\u4fe1\u606f",size:"small",children:(0,m.jsx)(d,{}),formProps:{data:Object.assign({},e),onSubmit:async n=>{const{data:a}=await v(Object.assign({},_.admin.saveUser,{data:Object.assign({},n,{id:e.id})}));0===a.code&&(A.success("\u4fee\u6539\u6210\u529f"),O.current.reload(),t.close())}}})}},{children:"\u4fee\u6539\u5bc6\u7801",onClick:()=>{const t=k({title:"\u4fee\u6539\u7528\u6237\u5bc6\u7801",size:"small",children:(0,m.jsx)(u,{}),formProps:{onSubmit:async n=>{const{data:a}=await v(Object.assign({},_.admin.resetUserPassword,{data:{password:h()(n.password),userId:e.id}}));0===a.code&&(A.success("\u4fee\u6539\u5bc6\u7801\u6210\u529f"),t.close())}}})}},!0===x()(e,"isSuperAdmin")?{children:"\u53d6\u6d88\u8d85\u7ba1",message:"\u786e\u5b9a\u8981\u53d6\u6d88\u8d26\u53f7\u7684\u8d85\u7ba1\u6743\u9650\u5417\uff1f",isDelete:!1,onClick:async()=>{const{data:t}=await v(Object.assign({},_.admin.setSuperAdmin,{data:{status:!1,userId:e.id}}));0===t.code&&(A.success("\u8bbe\u7f6e\u6210\u529f"),O.current.reload())}}:{children:"\u8bbe\u7f6e\u8d85\u7ba1",message:"\u786e\u5b9a\u8981\u8bbe\u7f6e\u8d26\u53f7\u4e3a\u8d85\u7ba1\u5417\uff1f",isDelete:!1,onClick:async()=>{const{data:t}=await v(Object.assign({},_.admin.setSuperAdmin,{data:{status:!0,userId:e.id}}));0===t.code&&(A.success("\u8bbe\u7f6e\u6210\u529f"),O.current.reload())}},...(()=>{const t=[];return 0!==e.status&&t.push({confirm:!0,children:"\u8bbe\u7f6e\u4e3a\u6b63\u5e38",message:"\u786e\u5b9a\u8981\u8bbe\u7f6e\u8d26\u53f7\u4e3a\u6b63\u5e38\u5417\uff1f",isDelete:!1,onClick:async()=>{const{data:t}=await v(Object.assign({},_.admin.setUserNormal,{data:{id:e.id}}));0===t.code&&(A.success("\u8d26\u53f7\u5df2\u5f00\u542f"),O.current.reload())}}),12!==e.status&&t.push({isDelete:!0,confirm:!0,children:"\u5173\u95ed",message:"\u786e\u5b9a\u8981\u5173\u95ed\u8be5\u8d26\u53f7\u5417\uff1f",okText:"\u786e\u8ba4",onClick:async()=>{const{data:t}=await v(Object.assign({},_.admin.setUserClose,{data:{id:e.id}}));0===t.code&&(A.success("\u8d26\u53f7\u5df2\u5173\u95ed"),O.current.reload())}}),t})()]}],page:{filter:{value:l,onChange:p,list:[[(0,m.jsx)(y,{label:"\u90ae\u7bb1",name:"email"}),(0,m.jsx)(y,{label:"\u7535\u8bdd",name:"phone"}),(0,m.jsx)(f,{label:"\u72b6\u6001",name:"status",single:!0,api:{loader:()=>({pageData:[{label:"\u6b63\u5e38",value:0},{label:"\u521d\u59cb\u5316\u672a\u6fc0\u6d3b",value:1},{label:"\u5df2\u5173\u95ed",value:12}]})}}),(0,m.jsx)(f,{label:"\u662f\u5426\u7ba1\u7406\u5458",name:"isSuperAdmin",single:!0,api:{loader:()=>({pageData:[{label:"\u662f",value:!0},{label:"\u5426",value:!1}]})}})]]},titleExtra:(0,m.jsxs)(i.Space,{align:"center",children:[(0,m.jsx)(g,{name:"nickname",label:"\u6635\u79f0"}),(0,m.jsx)(i.Button,{type:"primary",onClick:()=>{const e=k({title:"\u6dfb\u52a0\u7528\u6237",size:"small",children:(0,m.jsx)(d,{}),formProps:{onSubmit:async t=>{const{data:n}=await v(Object.assign({},_.admin.addUser,{data:Object.assign({},t)}));0===n.code&&(A.success("\u6dfb\u52a0\u6210\u529f"),O.current.reload(),e.close())}}})},children:"\u6dfb\u52a0\u7528\u6237"})]})}})});var j=n(81400);const y=(0,l.createWithRemoteLoader)({modules:["components-core:Global@usePreset"]})(e=>{let{remoteModules:t,baseUrl:n="/admin"}=e;const[o]=t,{ajax:r,apis:l}=o(),{message:c}=i.App.useApp(),d=(0,a.useNavigate)(),u=(0,j.A)(async()=>{const{data:e}=await r(Object.assign({},l.admin.initSuperAdmin));0===e.code&&(c.success("\u521d\u59cb\u5316\u7ba1\u7406\u5458\u6210\u529f\uff01"),d(n,{replace:!0}))});return(0,s.useEffect)(()=>{u()},[u]),(0,m.jsx)(i.Result,{status:"warning",title:"\u521d\u59cb\u5316\u7cfb\u7edf",subTitle:"\u5f53\u524d\u7528\u6237\u5c06\u88ab\u521d\u59cb\u5316\u4e3a\u7cfb\u7edf\u7684\u8d85\u7ea7\u7ba1\u7406\u5458\uff0c\u672c\u64cd\u4f5c\u53ea\u80fd\u6267\u884c\u4e00\u6b21\uff0c\u6267\u884c\u5b8c\u6210\u540e\u7531\u8be5\u7528\u6237\u6765\u6267\u884c\u5176\u4ed6\u7684\u7ba1\u7406\u64cd\u4f5c\u3002"})}),f=e=>{let{baseUrl:t,...n}=e;return(0,m.jsx)(r,{value:{baseUrl:t,...n},children:(0,m.jsxs)(a.Routes,{children:[(0,m.jsx)(a.Route,{path:"user",element:(0,m.jsx)(b,{})}),(0,m.jsx)(a.Route,{element:(0,m.jsx)(a.Navigate,{to:`${t}/user`,replace:!0})})]})})}},17480:(e,t,n)=>{n.d(t,{A:()=>a});const a={name:"Webhook",summary:"<p>\u7528\u6765\u5b9e\u73b0webhook\u7ba1\u7406</p>",api:"<table>\n<thead>\n<tr>\n<th>\u5c5e\u6027\u540d</th>\n<th>\u8bf4\u660e</th>\n<th>\u7c7b\u578b</th>\n<th>\u9ed8\u8ba4\u503c</th>\n</tr>\n</thead>\n</table>",example:{isFull:!1,className:"Webhook_150c7",style:"",list:[{title:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u6807\u9898",description:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u8bf4\u660e",code:"const { default: Webhook } = _Webhook;\nconst BaseExample = () => {\n return <Webhook />;\n};\n\nrender(<BaseExample />);\n\n",scope:[{name:"_Webhook",packageName:"@components/Webhook",component:n(30192)}]}]}}},30192:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var a=n(13050),s=n(87558),o=n.n(s),r=n(73884),l=n(55199);const i=e=>{let{renderCopyInvokeUrl:t,renderCopySignature:n}=e;return[{name:"id",title:"ID",type:"serialNumber"},{name:"name",title:"\u540d\u79f0"},{name:"url",title:"\u8c03\u7528\u8def\u5f84",type:"otherSmall",valueOf:e=>t(e)},{name:"signature",title:"\u7b7e\u540d",type:"otherSmall",valueOf:e=>n(e)},{name:"signatureLocation",title:"\u7b7e\u540d\u4f4d\u7f6e"},{name:"inputLocation",title:"\u8f93\u5165\u4f4d\u7f6e"},{name:"shouldEncryptVerify",title:"\u662f\u5426\u9a8c\u8bc1\u5b8c\u6574\u6027",valueOf:e=>e.shouldEncryptVerify?"\u662f":"\u5426"}]};var c=n(70579);const m=(0,a.createWithRemoteLoader)({modules:["components-core:FormInfo"]})(e=>{let{remoteModules:t}=e;const[n]=t,{useFormContext:a}=n,{Input:s,DatePicker:o,Switch:r}=n.fields,{formData:l}=a();return(0,c.jsx)(n,{column:1,list:[(0,c.jsx)(s,{name:"name",label:"\u540d\u79f0",description:"\u9700\u8bf4\u660e\u8c03\u7528webhook\u7684\u7aef\u53e3\u7684\u8eab\u4efd",rule:"REQ LEN-0-20"}),(0,c.jsx)(s,{name:"signatureLocation",label:"\u7b7e\u540d\u6240\u5728\u4f4d\u7f6e",rule:"REQ LEN-0-100",defaultValue:"headers['x-signature']"}),(0,c.jsx)(s,{name:"inputLocation",label:"\u8f93\u5165\u53c2\u6570\u4f4d\u7f6e",rule:"REQ LEN-0-100",defaultValue:"body"}),(0,c.jsx)(r,{name:"shouldEncryptVerify",label:"body\u5185\u5bb9\u7b7e\u540d\u9a8c\u8bc1\u5b8c\u6574\u6027",display:"body"===l.inputLocation}),(0,c.jsx)(o,{name:"expire",label:"\u8fc7\u671f\u65f6\u95f4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm"})]})}),d=()=>[{name:"id",title:"ID",type:"serialNumber"},{name:"endTime",title:"\u7ed3\u675f\u65f6\u95f4",type:"datetime"},{name:"duration",title:"\u8fd0\u884c\u65f6\u95f4",valueOf:e=>new Date(e.endTime).getTime()-new Date(e.startTime).getTime()+"ms"},{name:"input",title:"\u8c03\u7528\u53c2\u6570",type:"description",ellipsis:!0,valueOf:e=>e.input&&JSON.stringify(e.input)},{name:"status",title:"\u6267\u884c\u72b6\u6001",type:"tag",valueOf:e=>"success"===e.status?{type:"success",text:"\u6210\u529f"}:{type:"error",text:"\u5931\u8d25"}},{name:"result",title:"\u6267\u884c\u7ed3\u679c",type:"description",ellipsis:!0,valueOf:e=>e.result&&JSON.stringify(e.result)}],u=(0,a.createWithRemoteLoader)({modules:["components-core:Table@TablePage","components-core:Global@usePreset"]})(e=>{let{remoteModules:t,id:n,type:a}=e;const[s,o]=t,{apis:r}=o();return(0,c.jsx)(s,{...Object.assign({},r.webhook.invokeRecord,{params:{id:n,type:a}}),columns:[...d()]})}),p=(0,a.createWithRemoteLoader)({modules:["components-core:Global@usePreset","components-core:Layout@TablePage","components-core:Layout@Menu","components-core:FormInfo@useFormModal","components-core:LoadingButton","components-core:Modal@useModal"]})(e=>{let{remoteModules:t,...n}=e;const[a,s,d,p,h,g]=t,{apis:x,ajax:b}=a(),[j,y]=(0,r.useState)(""),f=p(),v=g(),{message:_}=l.App.useApp();return(0,c.jsx)(o(),{...Object.assign({},x.webhook.list),render:e=>{let{data:t,reload:a}=e;const o=Object.keys(t);return(!j||!t[j])&&y(o[0]),(0,c.jsx)(s,{...n,params:{current:j,data:t},loader:e=>{let{params:t}=e;return{pageData:t.data[t.current]}},columns:[...i({renderCopyInvokeUrl:()=>(0,c.jsx)(h,{type:"link",className:"btn-no-padding",onClick:async()=>{await navigator.clipboard.writeText(`${window.location.origin}${x.webhook.invoke.url}/${j}`),_.success("\u590d\u5236\u6210\u529f")},children:"\u590d\u5236"}),renderCopySignature:e=>(0,c.jsx)(h,{type:"link",className:"btn-no-padding",onClick:async()=>{await navigator.clipboard.writeText(e.signature),_.success("\u590d\u5236\u6210\u529f")},children:"\u590d\u5236"})}),{name:"options",type:"options",title:"\u64cd\u4f5c",fixed:"right",valueOf:e=>[{children:"\u8c03\u7528\u8bb0\u5f55",onClick:async()=>{v({title:"\u8c03\u7528\u8bb0\u5f55",footer:null,children:(0,c.jsx)(u,{id:e.id})})}},{children:"\u5220\u9664",confirm:!0,onClick:async()=>{const{data:t}=await b(Object.assign({},x.webhook.remove,{data:{id:e.id}}));0===t.code&&(_.success("\u5220\u9664\u6210\u529f"),a())}}]}],page:{menu:o.length>0&&(0,c.jsx)(d,{currentKey:j,onChange:y,items:o.map(e=>({key:e,label:e}))}),title:"Webhook",titleExtra:(0,c.jsxs)(l.Flex,{gap:8,children:[(0,c.jsx)(l.Button,{type:"primary",onClick:()=>{f({title:"\u6dfb\u52a0Webhook\u8c03\u7528\u7aef",size:"small",autoClose:!0,formProps:{onSubmit:async e=>{const{data:t}=await b(Object.assign({},x.webhook.create,{data:Object.assign({},e,{type:j})}));if(0!==t.code)return!1;_.success("\u6dfb\u52a0\u6210\u529f"),a()}},children:(0,c.jsx)(m,{})})},children:"\u6dfb\u52a0"}),(0,c.jsx)(l.Button,{onClick:()=>{v({title:"\u5931\u8d25\u8bb0\u5f55",footer:null,children:(0,c.jsx)(u,{type:j})})},children:"\u5931\u8d25\u8bb0\u5f55"})]})}})}})})},41668:(e,t,n)=>{n.r(t),n.d(t,{RightOptions:()=>j,default:()=>b});var a=n(13050),s=n(55199),o=n(75894);const r="style_icon__KSAP2__r2llo",l="style_content__akCc4__r2llo",i="style_overlay__IH+0B__r2llo",c="style_info__5uvqI__r2llo",m="style_user-tool__CBaDm__r2llo",d="style_divider__jcjqI__r2llo",u="style_options-list__RHknC__r2llo",p="style_options-list-item__IOziy__r2llo",h="style_user-name__q7lY4__r2llo",g="style_line__rOiNk__r2llo";var x=n(70579);const b=(0,a.createWithRemoteLoader)({modules:["components-core:Image","components-core:Icon"]})(e=>{let{remoteModules:t,avatar:n,name:a,email:b,storeKeys:j={token:"X-User-Token"},domain:y}=e;const[f,v]=t;return(0,x.jsx)(s.Dropdown,{trigger:"click",rootClassName:i,popupRender:()=>(0,x.jsxs)(s.Space,{direction:"vertical",className:l,children:[(0,x.jsxs)(s.Space,{className:c,children:[(0,x.jsx)(f.Avatar,{id:n,size:48}),(0,x.jsxs)("div",{children:[(0,x.jsx)("div",{className:g,children:a||"\u672a\u547d\u540d"}),(0,x.jsx)("div",{className:g,children:b||"-"})]})]}),(0,x.jsx)(s.Divider,{className:d}),(0,x.jsx)(s.List,{className:u,children:(0,x.jsx)(s.List.Item,{className:p,onClick:()=>{Object.values(j).forEach(e=>{(0,o.removeToken)(e,y)}),window.location.reload()},children:(0,x.jsxs)(s.Space,{children:[(0,x.jsx)(v,{type:"icon-tuichudenglu"}),(0,x.jsx)("span",{children:"\u9000\u51fa\u767b\u5f55"})]})})})]}),arrow:!1,transitionName:"ant-slide-up",children:(0,x.jsxs)(s.Space,{className:m,children:[(0,x.jsx)(f.Avatar,{id:n,size:32}),(0,x.jsx)("div",{className:h,children:a||"\u672a\u547d\u540d"}),(0,x.jsx)(v,{className:r,type:"triangle-down",size:12})]})})}),j=(0,a.createWithRemoteLoader)({modules:["components-core:Global@GetGlobal"]})(e=>{let{remoteModules:t}=e;const[n]=t;return(0,x.jsx)(n,{globalKey:"userInfo",children:e=>{let{value:t}=e;if(!t)return null;const{userInfo:n,tenantUser:a,tenant:s}=t;return(0,x.jsx)(b,{avatar:a?a.avatar:n.avatar,name:a?a.name:n.nickname,email:a?a.email:n.email,tenant:s,orgName:a&&((null===a||void 0===a?void 0:a.tenantOrgs)||[]).map(e=>e.name).join(",")})}})})},48537:(e,t,n)=>{n.d(t,{A:()=>a});const a={name:"Signature",summary:"<p>\u7b7e\u540d\u7ba1\u7406\u6a21\u5757</p>",api:"<table>\n<thead>\n<tr>\n<th>\u5c5e\u6027\u540d</th>\n<th>\u8bf4\u660e</th>\n<th>\u7c7b\u578b</th>\n<th>\u9ed8\u8ba4\u503c</th>\n</tr>\n</thead>\n</table>",example:{isFull:!1,className:"Signature_8c090",style:"",list:[{title:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u6807\u9898",description:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u8bf4\u660e",code:"const { default: Signature } = _Signature;\nconst BaseExample = () => {\n return <Signature />;\n};\n\nrender(<BaseExample />);\n\n",scope:[{name:"_Signature",packageName:"@components/Signature",component:n(4428)}]}]}}},78798:(e,t,n)=>{n.d(t,{A:()=>o});var a=n(17011),s=n(55199);const o={name:"Account",summary:"<p>\u7528\u4e8e\u7528\u6237\u6ce8\u518c\u767b\u5f55\u5fd8\u8bb0\u5bc6\u7801</p>",api:"<table>\n<thead>\n<tr>\n<th>\u5c5e\u6027\u540d</th>\n<th>\u8bf4\u660e</th>\n<th>\u7c7b\u578b</th>\n<th>\u9ed8\u8ba4\u503c</th>\n</tr>\n</thead>\n</table>",example:{isFull:!0,className:"Account_08bd4",style:"",list:[{title:"Login",description:"\u767b\u5f55",code:"const { LoginOuterContainer, Login } = _Account;\nconst {Flex, Radio, Space} = antd;\nconst {useState} = React;\nconst BaseExample = () => {\n const [type, setType] = useState('email');\n return (\n <Flex vertical gap={20}>\n <LoginOuterContainer />\n <Flex justify=\"center\">\n <Space><span>\u7c7b\u578b:</span><Radio.Group value={type} onChange={(e) => {\n setType(e.target.value);\n }} options={[{label: '\u90ae\u7bb1', value: 'email'}, {label: '\u624b\u673a', value: 'phone'}]}/></Space>\n </Flex>\n <LoginOuterContainer>\n <Login type={type}/>\n </LoginOuterContainer>\n </Flex>\n );\n};\n\nrender(<BaseExample />);\n\n",scope:[{name:"_Account",packageName:"@components/Account",component:a},{name:"antd",packageName:"antd",component:s}]},{title:"Register",description:"\u6ce8\u518c",code:"const { LoginOuterContainer, Register } = _Account;\nconst { Flex, Radio, Space } = antd;\nconst { useState } = React;\nconst BaseExample = () => {\n const [type, setType] = useState('email');\n return (\n <Flex vertical gap={8}>\n <Space>\n <span>\u7c7b\u578b:</span>\n <Radio.Group\n value={type}\n onChange={e => {\n setType(e.target.value);\n }}\n options={[\n { label: '\u90ae\u7bb1', value: 'email' },\n { label: '\u624b\u673a', value: 'phone' }\n ]}\n />\n </Space>\n <Register type={type} />\n </Flex>\n );\n};\n\nrender(<BaseExample />);\n\n",scope:[{name:"_Account",packageName:"@components/Account",component:a},{name:"antd",packageName:"antd",component:s}]},{title:"Modify",description:"\u4fee\u6539\u5bc6\u7801",code:'const {Modify} = _Account;\nconst {Flex} = antd;\nconst BaseExample = () => {\n return <Flex vertical gap={8}>\n <Modify account="test@test.com"/>\n <Modify type="phone" account="+81 17029292828"/>\n </Flex>;\n};\n\nrender(<BaseExample/>);\n\n',scope:[{name:"_Account",packageName:"@components/Account",component:a},{name:"antd",packageName:"antd",component:s}]},{title:"ForgetByEmail",description:"\u5fd8\u8bb0\u5bc6\u7801\uff08\u90ae\u7bb1\uff09",code:"const {LoginOuterContainer, ForgetByEmail} = _Account;\nconst BaseExample = () => {\n return <LoginOuterContainer>\n <ForgetByEmail onSubmit={(data, callback) => {\n callback();\n }}/>\n </LoginOuterContainer>;\n};\n\nrender(<BaseExample/>);\n\n",scope:[{name:"_Account",packageName:"@components/Account",component:a},{name:"antd",packageName:"antd",component:s}]},{title:"ResetPassword",description:"\u91cd\u7f6e\u5bc6\u7801",code:'const {ResetPassword} = _Account;\nconst {Flex} = antd;\nconst BaseExample = () => {\n return <Flex vertical gap={8}>\n <ResetPassword account="test@test.com"/>\n <ResetPassword type="phone" account="+81 17029292828"/>\n </Flex>;\n};\n\nrender(<BaseExample/>);\n\n',scope:[{name:"_Account",packageName:"@components/Account",component:a},{name:"antd",packageName:"antd",component:s}]}]}}},82046:(e,t,n)=>{n.d(t,{A:()=>a});const a={name:"Authenticate",summary:"<p>\u7528\u6237\u6743\u9650\u7528\u6237\u4fe1\u606f\u83b7\u53d6</p>",api:"<table>\n<thead>\n<tr>\n<th>\u5c5e\u6027\u540d</th>\n<th>\u8bf4\u660e</th>\n<th>\u7c7b\u578b</th>\n<th>\u9ed8\u8ba4\u503c</th>\n</tr>\n</thead>\n</table>",example:{isFull:!1,className:"Authenticate_ea80a",style:"",list:[{title:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u6807\u9898",description:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u8bf4\u660e",code:"const {default:Authenticate} = _Authenticate;\nconst BaseExample = ()=>{\n return <Authenticate />;\n};\n\nrender(<BaseExample />);\n\n",scope:[{name:"_Authenticate",packageName:"@components/Authenticate",component:n(95582)}]}]}}},88358:(e,t,n)=>{n.d(t,{A:()=>a});const a={name:"UserTool",summary:"<p>\u5bfc\u822a\u680f\u53f3\u8fb9\u7528\u6237\u64cd\u4f5c\u9879</p>",api:"<table>\n<thead>\n<tr>\n<th>\u5c5e\u6027\u540d</th>\n<th>\u8bf4\u660e</th>\n<th>\u7c7b\u578b</th>\n<th>\u9ed8\u8ba4\u503c</th>\n</tr>\n</thead>\n</table>",example:{isFull:!1,className:"UserTool_cee11",style:"",list:[{title:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u6807\u9898",description:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u8bf4\u660e",code:"const {default:UserTool} = _UserTool;\nconst BaseExample = ()=>{\n return <UserTool />;\n};\n\nrender(<BaseExample />);\n\n",scope:[{name:"_UserTool",packageName:"@components/UserTool",component:n(41668)}]}]}}},90542:(e,t,n)=>{n.d(t,{A:()=>a});const a={name:"Admin",summary:"<p>\u7528\u4e8e\u5b9e\u73b0\u4e00\u4e2a\u7ba1\u7406\u540e\u53f0</p>",api:"<table>\n<thead>\n<tr>\n<th>\u5c5e\u6027\u540d</th>\n<th>\u8bf4\u660e</th>\n<th>\u7c7b\u578b</th>\n<th>\u9ed8\u8ba4\u503c</th>\n</tr>\n</thead>\n</table>",example:{isFull:!1,className:"Admin_e3afe",style:"",list:[{title:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u6807\u9898",description:"\u8fd9\u91cc\u586b\u5199\u793a\u4f8b\u8bf4\u660e",code:"const {default:Admin} = _Admin;\nconst BaseExample = ()=>{\n return <Admin />;\n};\n\nrender(<BaseExample />);\n\n",scope:[{name:"_Admin",packageName:"@components/Admin",component:n(5045)}]}]}}},95582:(e,t,n)=>{n.r(t),n.d(t,{AfterAdminUserLoginLayout:()=>y,AfterCustomUserLogin:()=>x,AfterCustomUserLoginLayout:()=>g,AfterUserLogin:()=>j,AfterUserLoginLayout:()=>b,BeforeLoginLayout:()=>f,CustomUserInfo:()=>c,MainLayout:()=>p,RightOptions:()=>h,SaveUserInfo:()=>k,SuperAdminInfo:()=>d,UserInfo:()=>m,UserInfoFormInner:()=>_});var a=n(13050),s=n(94679),o=n(87558),r=n.n(o),l=n(70579);const i=e=>{let{data:t,baseUrl:n,children:a}=e;const o=(0,s.useLocation)();return 1===t.userInfo.status?(0,l.jsx)(s.Navigate,{to:`${n||""}/modify/${encodeURIComponent(t.userInfo.email)}?referer=${encodeURIComponent(o.pathname+o.search)}`,replace:!0}):a},c=(0,a.createWithRemoteLoader)({modules:["components-core:Global@SetGlobal"]})(e=>{let{remoteModules:t,cache:n,baseUrl:a,children:s,api:o}=e;const[c]=t;return(0,l.jsx)(r(),{cache:n,...Object.assign({},o),render:e=>{let{data:t,reload:n}=e;return(0,l.jsx)(i,{baseUrl:a,data:t,children:(0,l.jsx)(c,{globalKey:"userInfo",value:{value:t.userInfo,reload:n},needReady:!0,children:s})})}})}),m=(0,a.createWithRemoteLoader)({modules:["components-core:Global@usePreset"]})(e=>{let{remoteModules:t,...n}=e;const[a]=t,{apis:s}=a();return(0,l.jsx)(c,{...n,api:s.user.getUserInfo,cache:"user-info"})}),d=(0,a.createWithRemoteLoader)({modules:["components-core:Global@SetGlobal","components-core:Global@usePreset"]})(e=>{let{remoteModules:t,children:n}=e;const[a,s]=t,{apis:o}=s();return(0,l.jsx)(r(),{cache:"super-admin-info",...Object.assign({},o.admin.getSuperAdminInfo),render:e=>{let{data:t,reload:s}=e;return(0,l.jsx)(a,{globalKey:"userInfo",value:{value:t.userInfo,reload:s},needReady:!0,children:n})}})});var u=n(41668);const p=(0,a.createWithRemoteLoader)({modules:["components-core:Layout"]})(e=>{let{remoteModules:t,navigation:n,title:a,children:s}=e;const[o]=t;return(0,l.jsx)(o,{navigation:{defaultTitle:a,...Object.assign({},n)},children:s})}),h=(0,a.createWithRemoteLoader)({modules:["components-core:Global@GetGlobal"]})(e=>{let{remoteModules:t}=e;const[n]=t;return(0,l.jsx)(n,{globalKey:"userInfo",children:e=>{let{value:t}=e;const{nickname:n,avatar:a,email:s}=Object.assign({},null===t||void 0===t?void 0:t.value);return(0,l.jsx)(u.default,{name:n,email:s,avatar:a})}})}),g=e=>{let{baseUrl:t,navigation:n,api:a,...o}=e;return(0,l.jsx)(c,{baseUrl:t||"/account",api:a,children:(0,l.jsx)(p,{...o,navigation:Object.assign({},{rightOptions:(0,l.jsx)(h,{})},n),children:(0,l.jsx)(s.Outlet,{})})})},x=e=>{let{baseUrl:t,api:n,...a}=e;return(0,l.jsx)(c,{baseUrl:t||"/account",api:n,children:(0,l.jsx)(s.Outlet,{})})},b=e=>{let{baseUrl:t,navigation:n,...a}=e;return(0,l.jsx)(m,{baseUrl:t||"/account",children:(0,l.jsx)(p,{...a,navigation:Object.assign({},{rightOptions:(0,l.jsx)(h,{})},n),children:(0,l.jsx)(s.Outlet,{})})})},j=e=>{let{baseUrl:t,...n}=e;return(0,l.jsx)(m,{baseUrl:t||"/account",children:(0,l.jsx)(s.Outlet,{})})},y=e=>{let{navigation:t,...n}=e;return(0,l.jsx)(d,{children:(0,l.jsx)(p,{...n,navigation:Object.assign({},{rightOptions:(0,l.jsx)(h,{})},t),children:(0,l.jsx)(s.Outlet,{})})})},f=e=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(s.Outlet,{})});var v=n(55199);const _=(0,a.createWithRemoteLoader)({modules:["components-core:FormInfo"]})(e=>{let{remoteModules:t,...n}=e;const[a]=t,{Avatar:s,Input:o,TextArea:r}=a.fields;return(0,l.jsx)(a,{...n,list:[(0,l.jsx)(v.Flex,{justify:"center",children:(0,l.jsx)(s,{name:"avatar",label:"\u5934\u50cf",labelHidden:!0,interceptor:"photo-string"})}),(0,l.jsx)(o,{name:"email",label:"\u90ae\u7bb1",rule:"REQ"}),(0,l.jsx)(o,{name:"nickname",label:"\u6635\u79f0"}),(0,l.jsx)(r,{name:"description",label:"\u7b80\u4ecb",rule:"LEN-0-500"})]})}),k=(0,a.createWithRemoteLoader)({modules:["components-core:FormInfo@useFormModal","components-core:Global@usePreset","components-core:Global@useGlobalContext"]})(e=>{let{remoteModules:t,children:n}=e;const[a,s,o]=t,r=a(),{global:i}=o("userInfo"),{apis:c,ajax:m}=s(),{message:d}=v.App.useApp();return n({onClick:()=>{const e=r({title:"\u7f16\u8f91\u4e2a\u4eba\u57fa\u672c\u4fe1\u606f",size:"small",formProps:{data:i.value,onSubmit:async t=>{const{data:n}=await m(Object.assign({},c.user.saveUserInfo,{data:t}));0===n.code&&(d.success("\u4fdd\u5b58\u6210\u529f"),i.reload(),e.close())}},children:(0,l.jsx)(_,{column:1})})}})})},98889:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var a=n(13050),s=n(70579);const o=(0,a.createWithRemoteLoader)({modules:["components-core:Global@usePreset","components-core:FormInfo"]})(e=>{let{remoteModules:t,status:n=0,api:a,...o}=e;const[r,l]=t,{apis:i}=r(),{SuperSelectUser:c}=l.fields;return(0,s.jsx)(c,{...o,api:Object.assign({},i.admin.getUserList,{data:{filter:Object.assign({},Number.isInteger(n)&&{status:n})},transformData:e=>Object.assign({},e,{pageData:(e.pageData||[]).map(e=>Object.assign({},e,{value:e.id,label:e.nickname||e.email||e.phone}))})},a)})})}}]);
2
+ //# sourceMappingURL=3263.90da53dd.chunk.js.map