@kne-components/components-core 0.4.11 → 0.4.13

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 (145) hide show
  1. package/build/asset-manifest.json +99 -99
  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/1996.b4f38679.chunk.css +2 -0
  6. package/build/static/css/{1996.f4dc895c.chunk.css.map → 1996.b4f38679.chunk.css.map} +1 -1
  7. package/build/static/css/2004.99fe0683.chunk.css +2 -0
  8. package/build/static/css/{2004.1ecfd7c8.chunk.css.map → 2004.99fe0683.chunk.css.map} +1 -1
  9. package/build/static/css/206.05852c5d.chunk.css +2 -0
  10. package/build/static/css/206.05852c5d.chunk.css.map +1 -0
  11. package/build/static/css/254.10beca73.chunk.css +2 -0
  12. package/build/static/css/{254.42f2ab8b.chunk.css.map → 254.10beca73.chunk.css.map} +1 -1
  13. package/build/static/css/2628.21fc08fe.chunk.css +2 -0
  14. package/build/static/css/{2628.0ed41fb0.chunk.css.map → 2628.21fc08fe.chunk.css.map} +1 -1
  15. package/build/static/css/3404.67a9e351.chunk.css +2 -0
  16. package/build/static/css/{3404.47c7883d.chunk.css.map → 3404.67a9e351.chunk.css.map} +1 -1
  17. package/build/static/css/3652.e8f881ae.chunk.css +2 -0
  18. package/build/static/css/{3652.8b8ff706.chunk.css.map → 3652.e8f881ae.chunk.css.map} +1 -1
  19. package/build/static/css/3771.53c92dd6.chunk.css +2 -0
  20. package/build/static/css/{3771.7b5b2292.chunk.css.map → 3771.53c92dd6.chunk.css.map} +1 -1
  21. package/build/static/css/{3790.7a016e7e.chunk.css → 3790.0bd5dcca.chunk.css} +2 -2
  22. package/build/static/css/{3790.7a016e7e.chunk.css.map → 3790.0bd5dcca.chunk.css.map} +1 -1
  23. package/build/static/css/{4277.b3120a24.chunk.css → 4277.1e6d3ee3.chunk.css} +2 -2
  24. package/build/static/css/{4277.b3120a24.chunk.css.map → 4277.1e6d3ee3.chunk.css.map} +1 -1
  25. package/build/static/css/4741.8c1069d9.chunk.css +2 -0
  26. package/build/static/css/{4741.0a947401.chunk.css.map → 4741.8c1069d9.chunk.css.map} +1 -1
  27. package/build/static/css/4832.01d63eb8.chunk.css +2 -0
  28. package/build/static/css/4832.01d63eb8.chunk.css.map +1 -0
  29. package/build/static/css/5195.5df3263a.chunk.css +2 -0
  30. package/build/static/css/5195.5df3263a.chunk.css.map +1 -0
  31. package/build/static/css/6763.dd66ef2f.chunk.css +2 -0
  32. package/build/static/css/{6763.77b252db.chunk.css.map → 6763.dd66ef2f.chunk.css.map} +1 -1
  33. package/build/static/css/6980.5f0b0cb2.chunk.css +12 -0
  34. package/build/static/css/{6980.bd108bfe.chunk.css.map → 6980.5f0b0cb2.chunk.css.map} +1 -1
  35. package/build/static/css/7227.748fb9a1.chunk.css +2 -0
  36. package/build/static/css/{7227.0c0f19b3.chunk.css.map → 7227.748fb9a1.chunk.css.map} +1 -1
  37. package/build/static/css/760.aed85987.chunk.css +2 -0
  38. package/build/static/css/{760.9826cad8.chunk.css.map → 760.aed85987.chunk.css.map} +1 -1
  39. package/build/static/css/8593.44f6d410.chunk.css +2 -0
  40. package/build/static/css/{8593.6023aa62.chunk.css.map → 8593.44f6d410.chunk.css.map} +1 -1
  41. package/build/static/css/9556.e0c6c7f6.chunk.css +2 -0
  42. package/build/static/css/{9556.acbba93b.chunk.css.map → 9556.e0c6c7f6.chunk.css.map} +1 -1
  43. package/build/static/css/9772.94f5f083.chunk.css +2 -0
  44. package/build/static/css/{9772.c55840a8.chunk.css.map → 9772.94f5f083.chunk.css.map} +1 -1
  45. package/build/static/js/{1014.6694d625.chunk.js → 1014.e5b4dfc7.chunk.js} +1 -1
  46. package/build/static/js/1996.3a236927.chunk.js +2 -0
  47. package/build/static/js/{1996.8fbcfb87.chunk.js.map → 1996.3a236927.chunk.js.map} +1 -1
  48. package/build/static/js/{2004.6947f459.chunk.js → 2004.f8dd7cdf.chunk.js} +3 -3
  49. package/build/static/js/{2004.6947f459.chunk.js.map → 2004.f8dd7cdf.chunk.js.map} +1 -1
  50. package/build/static/js/{206.638f611d.chunk.js → 206.6d11e36b.chunk.js} +2 -2
  51. package/build/static/js/{206.638f611d.chunk.js.map → 206.6d11e36b.chunk.js.map} +1 -1
  52. package/build/static/js/{2097.0d6f945c.chunk.js → 2097.cb0ebbbb.chunk.js} +2 -2
  53. package/build/static/js/{2097.0d6f945c.chunk.js.map → 2097.cb0ebbbb.chunk.js.map} +1 -1
  54. package/build/static/js/254.bb219d2f.chunk.js +2 -0
  55. package/build/static/js/{254.54653b3f.chunk.js.map → 254.bb219d2f.chunk.js.map} +1 -1
  56. package/build/static/js/{2628.d1aa2222.chunk.js → 2628.f675039d.chunk.js} +2 -2
  57. package/build/static/js/{2628.d1aa2222.chunk.js.map → 2628.f675039d.chunk.js.map} +1 -1
  58. package/build/static/js/{3404.25647fbc.chunk.js → 3404.94f6275b.chunk.js} +3 -3
  59. package/build/static/js/{3404.25647fbc.chunk.js.map → 3404.94f6275b.chunk.js.map} +1 -1
  60. package/build/static/js/{3652.89e28566.chunk.js → 3652.e5a28adc.chunk.js} +2 -2
  61. package/build/static/js/{3652.89e28566.chunk.js.map → 3652.e5a28adc.chunk.js.map} +1 -1
  62. package/build/static/js/3771.998da4f9.chunk.js +2 -0
  63. package/build/static/js/{3771.f52ce9cf.chunk.js.map → 3771.998da4f9.chunk.js.map} +1 -1
  64. package/build/static/js/{3790.e7cf2694.chunk.js → 3790.effe004b.chunk.js} +2 -2
  65. package/build/static/js/{3790.e7cf2694.chunk.js.map → 3790.effe004b.chunk.js.map} +1 -1
  66. package/build/static/js/3856.d51e240b.chunk.js +2 -0
  67. package/build/static/js/{3856.fd42714f.chunk.js.map → 3856.d51e240b.chunk.js.map} +1 -1
  68. package/build/static/js/4277.c0f74e50.chunk.js +2 -0
  69. package/build/static/js/{4277.c85f1b98.chunk.js.map → 4277.c0f74e50.chunk.js.map} +1 -1
  70. package/build/static/js/4474.8524d82a.chunk.js +2 -0
  71. package/build/static/js/{4474.826aa7b7.chunk.js.map → 4474.8524d82a.chunk.js.map} +1 -1
  72. package/build/static/js/4832.e478f6cf.chunk.js +2 -0
  73. package/build/static/js/{4832.ce1c84fd.chunk.js.map → 4832.e478f6cf.chunk.js.map} +1 -1
  74. package/build/static/js/5195.c7f2e172.chunk.js +2 -0
  75. package/build/static/js/{5195.cb69ec50.chunk.js.map → 5195.c7f2e172.chunk.js.map} +1 -1
  76. package/build/static/js/{6183.b7c1076d.chunk.js → 6183.9f9ecead.chunk.js} +2 -2
  77. package/build/static/js/6183.9f9ecead.chunk.js.map +1 -0
  78. package/build/static/js/{6454.2d3bc0d5.chunk.js → 6454.1dea34c5.chunk.js} +1 -1
  79. package/build/static/js/{6617.5ff2d3a7.chunk.js → 6617.1cb118cb.chunk.js} +1 -1
  80. package/build/static/js/{6629.f017e421.chunk.js → 6629.42f5a044.chunk.js} +2 -2
  81. package/build/static/js/6629.42f5a044.chunk.js.map +1 -0
  82. package/build/static/js/{6763.12b3a896.chunk.js → 6763.c0930523.chunk.js} +2 -2
  83. package/build/static/js/{6763.12b3a896.chunk.js.map → 6763.c0930523.chunk.js.map} +1 -1
  84. package/build/static/js/6980.eb0ca6af.chunk.js +2 -0
  85. package/build/static/js/6980.eb0ca6af.chunk.js.map +1 -0
  86. package/build/static/js/7227.6e355494.chunk.js +3 -0
  87. package/build/static/js/{7227.d7a9fa18.chunk.js.map → 7227.6e355494.chunk.js.map} +1 -1
  88. package/build/static/js/{7338.696be797.chunk.js → 7338.18d781f2.chunk.js} +2 -2
  89. package/build/static/js/{7338.696be797.chunk.js.map → 7338.18d781f2.chunk.js.map} +1 -1
  90. package/build/static/js/{760.706b4b21.chunk.js → 760.0e9d9610.chunk.js} +2 -2
  91. package/build/static/js/{760.706b4b21.chunk.js.map → 760.0e9d9610.chunk.js.map} +1 -1
  92. package/build/static/js/8593.c2266549.chunk.js +2 -0
  93. package/build/static/js/{8593.33bf0ea5.chunk.js.map → 8593.c2266549.chunk.js.map} +1 -1
  94. package/build/static/js/{8601.414f9621.chunk.js → 8601.05ca91fd.chunk.js} +2 -2
  95. package/build/static/js/8601.05ca91fd.chunk.js.map +1 -0
  96. package/build/static/js/9556.e0e3aa34.chunk.js +3 -0
  97. package/build/static/js/{9556.9b5d4ebb.chunk.js.map → 9556.e0e3aa34.chunk.js.map} +1 -1
  98. package/build/static/js/9772.2e6315a6.chunk.js +2 -0
  99. package/build/static/js/9772.2e6315a6.chunk.js.map +1 -0
  100. package/build/static/js/{main.c7e71eb6.js → main.d69b3bad.js} +2 -2
  101. package/build/static/js/{main.c7e71eb6.js.map → main.d69b3bad.js.map} +1 -1
  102. package/package.json +2 -2
  103. package/build/static/css/1996.f4dc895c.chunk.css +0 -2
  104. package/build/static/css/2004.1ecfd7c8.chunk.css +0 -2
  105. package/build/static/css/206.c999783c.chunk.css +0 -2
  106. package/build/static/css/206.c999783c.chunk.css.map +0 -1
  107. package/build/static/css/254.42f2ab8b.chunk.css +0 -2
  108. package/build/static/css/2628.0ed41fb0.chunk.css +0 -2
  109. package/build/static/css/3404.47c7883d.chunk.css +0 -2
  110. package/build/static/css/3652.8b8ff706.chunk.css +0 -2
  111. package/build/static/css/3771.7b5b2292.chunk.css +0 -2
  112. package/build/static/css/4741.0a947401.chunk.css +0 -2
  113. package/build/static/css/4832.308b8775.chunk.css +0 -2
  114. package/build/static/css/4832.308b8775.chunk.css.map +0 -1
  115. package/build/static/css/5195.721fe509.chunk.css +0 -2
  116. package/build/static/css/5195.721fe509.chunk.css.map +0 -1
  117. package/build/static/css/6763.77b252db.chunk.css +0 -2
  118. package/build/static/css/6980.bd108bfe.chunk.css +0 -12
  119. package/build/static/css/7227.0c0f19b3.chunk.css +0 -2
  120. package/build/static/css/760.9826cad8.chunk.css +0 -2
  121. package/build/static/css/8593.6023aa62.chunk.css +0 -2
  122. package/build/static/css/9556.acbba93b.chunk.css +0 -2
  123. package/build/static/css/9772.c55840a8.chunk.css +0 -2
  124. package/build/static/js/1996.8fbcfb87.chunk.js +0 -2
  125. package/build/static/js/254.54653b3f.chunk.js +0 -2
  126. package/build/static/js/3771.f52ce9cf.chunk.js +0 -2
  127. package/build/static/js/3856.fd42714f.chunk.js +0 -2
  128. package/build/static/js/4277.c85f1b98.chunk.js +0 -2
  129. package/build/static/js/4474.826aa7b7.chunk.js +0 -2
  130. package/build/static/js/4832.ce1c84fd.chunk.js +0 -2
  131. package/build/static/js/5195.cb69ec50.chunk.js +0 -2
  132. package/build/static/js/6183.b7c1076d.chunk.js.map +0 -1
  133. package/build/static/js/6629.f017e421.chunk.js.map +0 -1
  134. package/build/static/js/6980.58694ca6.chunk.js +0 -2
  135. package/build/static/js/6980.58694ca6.chunk.js.map +0 -1
  136. package/build/static/js/7227.d7a9fa18.chunk.js +0 -3
  137. package/build/static/js/8593.33bf0ea5.chunk.js +0 -2
  138. package/build/static/js/8601.414f9621.chunk.js.map +0 -1
  139. package/build/static/js/9556.9b5d4ebb.chunk.js +0 -3
  140. package/build/static/js/9772.f275c40a.chunk.js +0 -2
  141. package/build/static/js/9772.f275c40a.chunk.js.map +0 -1
  142. /package/build/static/js/{2004.6947f459.chunk.js.LICENSE.txt → 2004.f8dd7cdf.chunk.js.LICENSE.txt} +0 -0
  143. /package/build/static/js/{3404.25647fbc.chunk.js.LICENSE.txt → 3404.94f6275b.chunk.js.LICENSE.txt} +0 -0
  144. /package/build/static/js/{7227.d7a9fa18.chunk.js.LICENSE.txt → 7227.6e355494.chunk.js.LICENSE.txt} +0 -0
  145. /package/build/static/js/{9556.9b5d4ebb.chunk.js.LICENSE.txt → 9556.e0e3aa34.chunk.js.LICENSE.txt} +0 -0
@@ -1,3 +0,0 @@
1
- /*! For license information please see 7227.d7a9fa18.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[7227],{51153:(e,t,r)=>{var n=r(73884),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,_=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,o={},c=null,b=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(b=t.ref),t)s.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:c,ref:b,props:o,_owner:_.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},70579:(e,t,r)=>{e.exports=r(51153)},87227:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var n=r(55199),a=r(83136),o=r.n(a);const s={"state-bar":"style_state-bar__3jfis__5n2R8","has-children":"style_has-children__oQDqU__5n2R8","tab-tab-control":"style_tab-tab-control__SopeO__5n2R8","tab-radio-control":"style_tab-radio-control__R8X6-__5n2R8","tab-step-control":"style_tab-step-control__EQaCl__5n2R8","inner-state-bar":"style_inner-state-bar__lWmOz__5n2R8"};var _=r(70579);const l=e=>{let{className:t,type:r="tab",stateOption:a=[],isInner:l,...c}=e;return(0,_.jsx)(n.Tabs,{...c,"data-testid":"components-core-state-bar",className:o()(s["state-bar"],s[`tab-${r}-control`],t,{[s["inner-state-bar"]]:l,[s["has-children"]]:a.some(e=>!!e.children)}),style:{"--total-count":a.length},animated:!1,items:a.map(e=>{let{tab:t,label:r,key:n,...a}=e;return{label:t||r,key:n,...a}})})}}}]);
3
- //# sourceMappingURL=7227.d7a9fa18.chunk.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[760,2908,8593],{28148:(e,n,s)=>{s.r(n),s.d(n,{default:()=>g});const t={menu:"style_menu__gvIvn__5n2R8","all-no-start-icon":"style_all-no-start-icon__CA+zR__5n2R8","no-start-icon":"style_no-start-icon__LnC1S__5n2R8","has-children":"style_has-children__m9tce__5n2R8","has-children-node":"style_has-children-node__2bhEB__5n2R8","is-root":"style_is-root__4hhOc__5n2R8",title:"style_title__+Hcar__5n2R8",active:"style_active__WU49K__5n2R8","no-collapse":"style_no-collapse__aIZBM__5n2R8","title-content":"style_title-content__cQXpK__5n2R8",loading:"style_loading__1pU4P__5n2R8"};var l=s(83136),a=s.n(l),r=s(55199),o=s(94679),i=s(29053),c=s(10986),d=s.n(c),p=s(64671),h=s(73884),u=s(18081),_=s.n(u),y=s(87558),m=s(70579);const f=e=>{const n=(0,o.useNavigate)(),{id:s,className:l,label:c,iconType:d,icon:h,path:u,request:_,onClick:f,isOpen:g,isSelected:K,onOpenChange:O,children:v,fetchOptions:C,depth:j,onLoad:k,allowCollapsed:b}=e,x=Array.isArray(v)&&v.length>0||C,{refresh:R,isLoading:A}=(0,y.useFetch)(Object.assign({},C,{auto:!b&&C,onRequestSuccess:e=>{k(e)}}));return(0,m.jsx)(i.default,{request:_,children:(0,m.jsxs)("div",{className:a()(l,t["menu-item"]),children:[(0,m.jsxs)("div",{className:a()(t.title,{[t.active]:K,[t["has-children"]]:x,[t["no-collapse"]]:x&&!b,[t["no-start-icon"]]:!d&&!h,[t["is-root"]]:0===j}),onClick:t=>{t.stopPropagation(),x||!u?x||C?b&&(C&&R({}),O(!g)):null===f||void 0===f||f(s,e):n(u)},children:[d&&!h&&(0,m.jsx)(p.default,{type:d}),h||null,(0,m.jsx)("span",{className:t["title-content"],children:c}),x&&b&&(0,m.jsx)(p.default,{type:g?"icon-arrow-bold-down":"icon-arrow-bold-right"})]}),x?!b||g&&v?(0,m.jsx)("div",{className:t["children-list"],children:v}):!b||g&&A?(0,m.jsx)("div",{className:t["children-list"],children:(0,m.jsx)(r.Spin,{className:t.loading,size:"small"})}):void 0:null]})})},g=e=>{let{className:n,allowCollapsed:s=!0,pathMatch:l,defaultItems:r=[],...i}=e;const{pathname:c,search:p}=(0,o.useLocation)(),[u,y]=d()(i,{value:"currentKey",defaultValue:"defaultCurrentKey"}),[g,K]=d()({defaultItems:r,...i},{defaultValue:"defaultItems",value:"items",onChange:"onItemsChange"}),{items:O,defaultOpenKeys:v,links:C,childrenKeys:j,hasStartIcon:k,hasChildren:b}=(0,h.useMemo)(()=>{var e;const{items:n,childrenKeys:s,nodeMapping:t}=(e=>{const n={},s=[],t=(e,l)=>{const{parentKey:a,depth:r}=Object.assign({parentKey:"root",depth:0,paths:[]},l);return Array.isArray(e)&&e.length>0?e.map((e,l)=>{const o=`${e.key||`${"root"!==a?`${a}-`:""}node-${l}`}`;n[a]||(n[a]=[]),n[a].push(o);const i=t(e.children,{parentKey:o,depth:r+1});n[o]&&n[a].push(...n[o]);const c=Object.assign({},e,{key:o,parentKey:a,depth:r,children:i,originItem:e});return s[o]=c,c}):null};return{items:t(e),childrenKeys:n,nodeMapping:s}})(g);let l=!1,a=!1;const r=[],o=[];return null===s||void 0===s||null===(e=s.root)||void 0===e||e.forEach(e=>{const n=t[e];(n.iconType||n.icon)&&(l=!0),n.path&&r.push({path:n.path,key:e}),Array.isArray(n.children)&&n.children.length>0&&(a=!0,o.push(n.key))}),{defaultOpenKeys:o,links:r,items:n,childrenKeys:s,hasStartIcon:l,hasChildren:a}},[g]);(0,h.useEffect)(()=>{const e=C.find(e=>{let{path:n}=e;return"function"===typeof l?l(n,{pathname:c,search:p}):_()(c.replace(/[#,?].*/,""))===_()(n)||_()(c+p)===_()(n)});e&&y(e.key)},[C,c,p,y,l]);const[x,R]=d()(Object.assign({},i,{defaultOpenKeys:i.defaultOpenKeys||v}),{value:"openKeys",defaultValue:"defaultOpenKeys",onChange:"onOpenChange"}),A=(0,h.useCallback)((e,n)=>{const{parentKey:t,depth:l,selectedKey:a,openKeys:r,paths:o}=Object.assign({parentKey:null,depth:0,paths:[]},n);return Array.isArray(e)&&e.length>0?e.map(e=>{let{children:n,key:i,originItem:c,...d}=e;return(0,h.createElement)(f,{...Object.assign({},d),id:i,parentId:t,depth:l,allowCollapsed:s,isSelected:i===a||j[i]&&j[i].indexOf(a)>-1,onClick:y,onLoad:e=>{K(n=>{const s=n=>Array.isArray(n)&&n.length>0?n.map(n=>Object.assign({},n,{children:c===n?e:s(n.children)})):null;return s(n)})},isOpen:(r||[]).indexOf(i)>-1,key:i,onOpenChange:()=>{R(e=>{const n=e.slice(0);return e.indexOf(i)>-1?n.splice(e.indexOf(i),1):n.push(i),n})}},A(n,{parentKey:t,depth:l+1,selectedKey:a,openKeys:r,paths:[...o,i]}))}):null},[K,R,y,j,s]);return(0,m.jsx)("div",{className:a()(n,t.menu,{[t["all-no-start-icon"]]:!k,[t["has-children-node"]]:b}),children:A(O,{selectedKey:u,openKeys:x})})}},29053:(e,n,s)=>{s.r(n),s.d(n,{computedIsPass:()=>h,default:()=>y,usePermissions:()=>u,usePermissionsPass:()=>_});var t=s(73884),l=s(55199),a=s(33097),r=s.n(a),o=s(83136),i=s.n(o);const c="style_outer__vbHB9__5n2R8";var d=s(63743),p=s(70579);const h=e=>{let{permissions:n,request:s}=e;return!(Array.isArray(s)&&s.length>0)||s.some(e=>(n||[]).indexOf(e)>-1)},u=()=>{const{global:e}=(0,d.useGlobalContext)(),{permissions:n,permissionsPath:s}=(0,d.usePreset)();return{permissions:e.permissions||n||s&&r()(e,s)||[]}},_=e=>{let{request:n}=e;const{permissions:s}=u();return h({permissions:s,request:n})},y=e=>{let{type:n="hidden",className:s,tagName:a="span",message:r="\u60a8\u6682\u65e0\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u7ba1\u7406\u5458",request:o,children:d,...h}=e;const u=_({request:o});return"function"===typeof d?d({isPass:u,type:n,request:o}):!0===u?d:"error"===n?(0,p.jsx)(l.Result,{status:"403",subTitle:r}):"tooltip"===n?(0,p.jsx)(l.Tooltip,{title:r,children:(0,t.createElement)(a,{...h,className:i()(c,s)},d)}):null}}}]);
2
- //# sourceMappingURL=8593.33bf0ea5.chunk.js.map
@@ -1 +0,0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EAAOpH,IAAKC,OAAQmH,EAAOnH,OAAQC,QAASmH,EAAe7D,IAAK4D,EAAO5D,M,kBCRpF,IAAI8D,EAAKlN,EAAQ,OAGbmN,EAActK,OAAOC,UAGrBF,EAAiBuK,EAAYvK,eAsBjCnC,EAAOC,QARP,SAAgC0M,EAAUC,EAAU5I,EAAK/C,GACvD,YAAiBpB,IAAb8M,GACCF,EAAGE,EAAUD,EAAY1I,MAAU7B,EAAeiB,KAAKnC,EAAQ+C,GAC3D4I,EAEFD,CACT,C,kBC1BA,IAkBIzM,EAlBiBX,EAAQ,MAkBRsN,CAfH,CAChB,IAAK,QACL,IAAK,OACL,IAAK,OACL,IAAK,SACL,IAAK,UAYP7M,EAAOC,QAAUC,C,YCjBjBF,EAAOC,QAFQ,kB","sources":["../node_modules/lodash/attempt.js","../node_modules/lodash/escape.js","../node_modules/lodash/templateSettings.js","../node_modules/lodash/assignInWith.js","../node_modules/lodash/_escapeStringChar.js","../node_modules/lodash/template.js","../node_modules/lodash/_reInterpolate.js","../node_modules/lodash/_reEvaluate.js","../node_modules/lodash/_basePropertyOf.js","../node_modules/lodash/isError.js","../node_modules/lodash/_baseValues.js","../node_modules/@kne/remote-loader/src/preset.js","../node_modules/@kne/remote-loader/src/parseToken.js","../node_modules/@kne/remote-loader/src/getOrLoadRemote.js","../node_modules/@kne/remote-loader/src/loadComponent.js","../node_modules/@kne/remote-loader/src/getStaticPath.js","../node_modules/@kne/remote-loader/src/loadModule.js","../node_modules/@kne/remote-loader/src/useLoader.js","../node_modules/@kne/remote-loader/src/withRemoteLoader.js","../node_modules/@kne/remote-loader/src/RemoteLoader.js","../node_modules/@kne/remote-loader/src/getPublicPath.js","../node_modules/lodash/_customDefaultsAssignIn.js","../node_modules/lodash/_escapeHtmlChar.js","../node_modules/lodash/_reEscape.js"],"sourcesContent":["var apply = require('./_apply'),\n baseRest = require('./_baseRest'),\n isError = require('./isError');\n\n/**\n * Attempts to invoke `func`, returning either the result or the caught error\n * object. Any additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Util\n * @param {Function} func The function to attempt.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {*} Returns the `func` result or error object.\n * @example\n *\n * // Avoid throwing errors for invalid selectors.\n * var elements = _.attempt(function(selector) {\n * return document.querySelectorAll(selector);\n * }, '>_>');\n *\n * if (_.isError(elements)) {\n * elements = [];\n * }\n */\nvar attempt = baseRest(function(func, args) {\n try {\n return apply(func, undefined, args);\n } catch (e) {\n return isError(e) ? e : new Error(e);\n }\n});\n\nmodule.exports = attempt;\n","var escapeHtmlChar = require('./_escapeHtmlChar'),\n toString = require('./toString');\n\n/** Used to match HTML entities and HTML characters. */\nvar reUnescapedHtml = /[&<>\"']/g,\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n/**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, &amp; pebbles'\n */\nfunction escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n}\n\nmodule.exports = escape;\n","var escape = require('./escape'),\n reEscape = require('./_reEscape'),\n reEvaluate = require('./_reEvaluate'),\n reInterpolate = require('./_reInterpolate');\n\n/**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\nvar templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': { 'escape': escape }\n }\n};\n\nmodule.exports = templateSettings;\n","var copyObject = require('./_copyObject'),\n createAssigner = require('./_createAssigner'),\n keysIn = require('./keysIn');\n\n/**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n});\n\nmodule.exports = assignInWith;\n","/** Used to escape characters for inclusion in compiled string literals. */\nvar stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n};\n\n/**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\nfunction escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n}\n\nmodule.exports = escapeStringChar;\n","var assignInWith = require('./assignInWith'),\n attempt = require('./attempt'),\n baseValues = require('./_baseValues'),\n customDefaultsAssignIn = require('./_customDefaultsAssignIn'),\n escapeStringChar = require('./_escapeStringChar'),\n isError = require('./isError'),\n isIterateeCall = require('./_isIterateeCall'),\n keys = require('./keys'),\n reInterpolate = require('./_reInterpolate'),\n templateSettings = require('./templateSettings'),\n toString = require('./toString');\n\n/** Error message constants. */\nvar INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n/** Used to match empty string literals in compiled template source. */\nvar reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n/**\n * Used to validate the `validate` option in `_.template` variable.\n *\n * Forbids characters which could potentially change the meaning of the function argument definition:\n * - \"(),\" (modification of function parameters)\n * - \"=\" (default value)\n * - \"[]{}\" (destructuring of function parameters)\n * - \"/\" (beginning of a comment)\n * - whitespace\n */\nvar reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n/**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\nvar reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n/** Used to ensure capturing order of template delimiters. */\nvar reNoMatch = /($^)/;\n\n/** Used to match unescaped characters in compiled string literals. */\nvar reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<b><%- value %></b>');\n * compiled({ 'value': '<script>' });\n * // => '<b>&lt;script&gt;</b>'\n *\n * // Use the \"evaluate\" delimiter to execute JavaScript and generate HTML.\n * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');\n * compiled({ 'users': ['fred', 'barney'] });\n * // => '<li>fred</li><li>barney</li>'\n *\n * // Use the internal `print` function in \"evaluate\" delimiters.\n * var compiled = _.template('<% print(\"hello \" + user); %>!');\n * compiled({ 'user': 'barney' });\n * // => 'hello barney!'\n *\n * // Use the ES template literal delimiter as an \"interpolate\" delimiter.\n * // Disable support by replacing the \"interpolate\" delimiter.\n * var compiled = _.template('hello ${ user }!');\n * compiled({ 'user': 'pebbles' });\n * // => 'hello pebbles!'\n *\n * // Use backslashes to treat delimiters as plain text.\n * var compiled = _.template('<%= \"\\\\<%- value %\\\\>\" %>');\n * compiled({ 'value': 'ignored' });\n * // => '<%- value %>'\n *\n * // Use the `imports` option to import `jQuery` as `jq`.\n * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';\n * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });\n * compiled({ 'users': ['fred', 'barney'] });\n * // => '<li>fred</li><li>barney</li>'\n *\n * // Use the `sourceURL` option to specify a custom sourceURL for the template.\n * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });\n * compiled(data);\n * // => Find the source of \"greeting.jst\" under the Sources tab or Resources panel of the web inspector.\n *\n * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.\n * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });\n * compiled.source;\n * // => function(data) {\n * // var __t, __p = '';\n * // __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';\n * // return __p;\n * // }\n *\n * // Use custom template delimiters.\n * _.templateSettings.interpolate = /{{([\\s\\S]+?)}}/g;\n * var compiled = _.template('hello {{ user }}!');\n * compiled({ 'user': 'mustache' });\n * // => 'hello mustache!'\n *\n * // Use the `source` property to inline compiled templates for meaningful\n * // line numbers in error messages and stack traces.\n * fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\\\n * var JST = {\\\n * \"main\": ' + _.template(mainText).source + '\\\n * };\\\n * ');\n */\nfunction template(string, options, guard) {\n // Based on John Resig's `tmpl` implementation\n // (http://ejohn.org/blog/javascript-micro-templating/)\n // and Laura Doktorova's doT.js (https://github.com/olado/doT).\n var settings = templateSettings.imports._.templateSettings || templateSettings;\n\n if (guard && isIterateeCall(string, options, guard)) {\n options = undefined;\n }\n string = toString(string);\n options = assignInWith({}, options, settings, customDefaultsAssignIn);\n\n var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),\n importsKeys = keys(imports),\n importsValues = baseValues(imports, importsKeys);\n\n var isEscaping,\n isEvaluating,\n index = 0,\n interpolate = options.interpolate || reNoMatch,\n source = \"__p += '\";\n\n // Compile the regexp to match each delimiter.\n var reDelimiters = RegExp(\n (options.escape || reNoMatch).source + '|' +\n interpolate.source + '|' +\n (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +\n (options.evaluate || reNoMatch).source + '|$'\n , 'g');\n\n // Use a sourceURL for easier debugging.\n // The sourceURL gets injected into the source that's eval-ed, so be careful\n // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in\n // and escape the comment, thus injecting code that gets evaled.\n var sourceURL = hasOwnProperty.call(options, 'sourceURL')\n ? ('//# sourceURL=' +\n (options.sourceURL + '').replace(/\\s/g, ' ') +\n '\\n')\n : '';\n\n string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {\n interpolateValue || (interpolateValue = esTemplateValue);\n\n // Escape characters that can't be included in string literals.\n source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);\n\n // Replace delimiters with snippets.\n if (escapeValue) {\n isEscaping = true;\n source += \"' +\\n__e(\" + escapeValue + \") +\\n'\";\n }\n if (evaluateValue) {\n isEvaluating = true;\n source += \"';\\n\" + evaluateValue + \";\\n__p += '\";\n }\n if (interpolateValue) {\n source += \"' +\\n((__t = (\" + interpolateValue + \")) == null ? '' : __t) +\\n'\";\n }\n index = offset + match.length;\n\n // The JS engine embedded in Adobe products needs `match` returned in\n // order to produce the correct `offset` value.\n return match;\n });\n\n source += \"';\\n\";\n\n // If `variable` is not specified wrap a with-statement around the generated\n // code to add the data object to the top of the scope chain.\n var variable = hasOwnProperty.call(options, 'variable') && options.variable;\n if (!variable) {\n source = 'with (obj) {\\n' + source + '\\n}\\n';\n }\n // Throw an error if a forbidden character was found in `variable`, to prevent\n // potential command injection attacks.\n else if (reForbiddenIdentifierChars.test(variable)) {\n throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);\n }\n\n // Cleanup code by stripping empty strings.\n source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)\n .replace(reEmptyStringMiddle, '$1')\n .replace(reEmptyStringTrailing, '$1;');\n\n // Frame code as the function body.\n source = 'function(' + (variable || 'obj') + ') {\\n' +\n (variable\n ? ''\n : 'obj || (obj = {});\\n'\n ) +\n \"var __t, __p = ''\" +\n (isEscaping\n ? ', __e = _.escape'\n : ''\n ) +\n (isEvaluating\n ? ', __j = Array.prototype.join;\\n' +\n \"function print() { __p += __j.call(arguments, '') }\\n\"\n : ';\\n'\n ) +\n source +\n 'return __p\\n}';\n\n var result = attempt(function() {\n return Function(importsKeys, sourceURL + 'return ' + source)\n .apply(undefined, importsValues);\n });\n\n // Provide the compiled function's source by its `toString` method or\n // the `source` property as a convenience for inlining compiled templates.\n result.source = source;\n if (isError(result)) {\n throw result;\n }\n return result;\n}\n\nmodule.exports = template;\n","/** Used to match template delimiters. */\nvar reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\nmodule.exports = reInterpolate;\n","/** Used to match template delimiters. */\nvar reEvaluate = /<%([\\s\\S]+?)%>/g;\n\nmodule.exports = reEvaluate;\n","/**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = basePropertyOf;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike'),\n isPlainObject = require('./isPlainObject');\n\n/** `Object#toString` result references. */\nvar domExcTag = '[object DOMException]',\n errorTag = '[object Error]';\n\n/**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\nfunction isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n}\n\nmodule.exports = isError;\n","var arrayMap = require('./_arrayMap');\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nmodule.exports = baseValues;\n","export const global = {\n remotes: {}, remoteEntryFileName: 'remoteEntry.js', error: null, fallback: null\n};\n\nexport const preset = (options) => {\n return Object.assign(global, options);\n};\n\nexport default preset;\n","import ensureSlash from '@kne/ensure-slash'\n// token: [模块地址/remote/version:]模块名[@子模块][.模块属性]\n\nconst parseToken = (token) => {\n const {url, remote, version} = ((token) => {\n\n const address = ((token) => {\n const res = token.match(/^(.*):.+/);\n if (res && res[1]) {\n return ensureSlash(res[1]);\n }\n return null;\n })(token);\n\n if (!address) {\n return {url: null, remote: null, version: null};\n }\n\n const {addressList, origin} = (() => {\n if (/^https?:\\/\\//.test(address)) {\n const tag = window.document.createElement('a');\n tag.href = address;\n return {addressList: tag.pathname.split('/').filter((name) => !!name), origin: tag.origin};\n }\n\n return {addressList: address.split('/').filter((name) => !!name), origin: null};\n })();\n\n if (addressList.length === 1) {\n return {url: /^https?:\\/\\//.test(address) ? origin : null, remote: addressList[0], version: null}\n }\n\n if (addressList.length === 2 && /^https?:\\/\\//.test(address)) {\n return {url: origin, remote: addressList[0], version: addressList[1]}\n }\n\n return {\n url: /^https?:\\/\\//.test(address) ? origin : null,\n remote: addressList[addressList.length - 2],\n version: addressList[addressList.length - 1]\n };\n })(token);\n\n const module = ((token) => {\n const moduleStr = token.replace(/^.*:/, '');\n const [module, subModule] = moduleStr.split('@').map((module) => {\n const [name, propName] = module.split('.');\n return {name, propName};\n });\n const output = {\n moduleName: module.name, modulePropName: module.propName\n };\n\n if (subModule) {\n Object.assign(output, {\n subModuleName: subModule.name, subModulePropName: subModule.propName\n })\n }\n\n return output;\n })(token);\n\n return {url, remote, version, module};\n};\n\nexport default parseToken;\n","/*eslint-disable*/\n/**\n * The Right Way to Load Dynamic Remotes\n * @author ScriptedAlchemy <zackary.l.jackson@gmail.com>\n * @see {@link https://gist.github.com/ScriptedAlchemy/3a24008ef60adc47fad1af7d3299a063}\n *\n * @param {string} remote - the remote global name\n * @param {object | string} shareScope - the shareScope Object OR scope key\n * @param {string} remoteFallbackUrl - fallback url for remote module\n * @returns {Promise<object>} - Federated Module Container\n */\nexport const getOrLoadRemote = (remote, shareScope, remoteFallbackUrl = undefined) => new Promise((resolve, reject) => {\n // check if remote exists on window\n if (!window[remote]) {\n // search dom to see if remote tag exists, but might still be loading (async)\n const existingRemote = document.querySelector(`[data-webpack=\"${remote}\"]`);\n // when remote is loaded..\n const onload = async (script) => {\n script.setAttribute('data-status', 'success');\n // check if it was initialized\n if (window[remote] && !window[remote].__initialized) {\n if (typeof __webpack_share_scopes__ !== 'undefined' && shareScope) {\n // otherwise, init share scope as usual\n __webpack_share_scopes__[shareScope] && await window[remote].init(__webpack_share_scopes__[shareScope]);\n }\n // mark remote as initialized\n window[remote].__initialized = true;\n }\n // resolve promise so marking remote as loaded\n resolve();\n };\n\n const onerror = (e, script) => {\n script.parentNode.removeChild(script);\n reject(e.message);\n };\n if (existingRemote) {\n // if existing remote but not loaded, hook into its onload and wait for it to be ready\n //existingRemote.onload = onload;\n if (existingRemote.getAttribute('data-status') === 'success') {\n onload(existingRemote);\n return;\n }\n existingRemote.addEventListener('load', () => {\n onload(existingRemote);\n });\n //existingRemote.onerror = reject;\n existingRemote.addEventListener('error', (e) => {\n onerror(e, existingRemote);\n });\n // check if remote fallback exists as param passed to function\n // TODO: should scan public config for a matching key if no override exists\n } else if (remoteFallbackUrl) {\n // inject remote if a fallback exists and call the same onload function\n var d = document, script = d.createElement('script');\n script.type = 'text/javascript';\n // mark as data-webpack so runtime can track it internally\n script.setAttribute('data-webpack', `${remote}`);\n script.async = true;\n //script.onerror = reject;\n script.addEventListener('error', (e) => {\n onerror(e, script);\n });\n //script.onload = onload;\n script.addEventListener('load', () => {\n onload(script);\n });\n script.src = remoteFallbackUrl;\n d.getElementsByTagName('head')[0].appendChild(script);\n } else {\n // no remote and no fallback exist, reject\n reject(`Cannot Find Remote ${remote} to inject`);\n }\n } else {\n // remote already instantiated, resolve\n resolve();\n }\n});\n","import {getOrLoadRemote} from './getOrLoadRemote';\n\nexport const loadComponent = (remote, sharedScope, module, url) => {\n return async () => {\n await getOrLoadRemote(remote, sharedScope, url);\n const container = window[remote];\n const factory = await container.get(module);\n return factory();\n };\n};\n","import template from 'lodash/template';\nimport ensureSlash from '@kne/ensure-slash';\n\nconst getStaticPath = ({url, remote, version, tpl}) => {\n const compiled = template(tpl || '{{url}}/{{remote}}/{{version}}', {interpolate: /{{([\\s\\S]+?)}}/g});\n return ensureSlash(compiled({url: ensureSlash(url || ''), remote: remote || '', version: version || ''}));\n};\n\nexport default getStaticPath;\n","import {global} from './preset';\nimport parseToken from './parseToken';\nimport ensureSlash from '@kne/ensure-slash'\nimport {loadComponent} from \"./loadComponent\";\nimport getStaticPath from './getStaticPath';\nimport get from 'lodash/get';\n\nconst formatRemote = (remote) => {\n return remote.replace(/[-/.@]/g, '_');\n};\n\nconst loadModule = (token) => {\n const remotes = global.remotes;\n const remoteEntryFileName = global.remoteEntryFileName;\n const tokenObject = parseToken(token);\n\n const {url, remote} = ((tokenObject, remotes) => {\n const getStaticPathWithTpl = (options) => getStaticPath(Object.assign({}, options, {\n tpl: get(remotes, `[${options.remote || 'default'}].tpl`)\n }));\n if (tokenObject.url && tokenObject.remote && tokenObject.version) {\n return {\n url: getStaticPathWithTpl({\n url: tokenObject.url,\n remote: tokenObject.remote,\n version: tokenObject.version\n }), remote: tokenObject.remote + '_' + tokenObject.version\n }\n }\n if (tokenObject.url && tokenObject.remote) {\n return {\n url: getStaticPathWithTpl({url: tokenObject.url, remote: tokenObject.remote}),\n remote: tokenObject.remote\n }\n }\n if (tokenObject.remote && remotes[tokenObject.remote] && tokenObject.version) {\n return {\n url: getStaticPathWithTpl({\n url: remotes[tokenObject.remote].url,\n remote: remotes[tokenObject.remote].remote,\n version: tokenObject.version\n }), remote: remotes[tokenObject.remote].remote + '_' + tokenObject.version\n };\n }\n\n if (tokenObject.remote && remotes[tokenObject.remote] && remotes[tokenObject.remote].defaultVersion) {\n return {\n url: getStaticPathWithTpl({\n url: remotes[tokenObject.remote].url,\n remote: remotes[tokenObject.remote].remote,\n version: remotes[tokenObject.remote].defaultVersion\n }), remote: remotes[tokenObject.remote].remote + '_' + remotes[tokenObject.remote].defaultVersion\n };\n }\n\n if (tokenObject.remote && remotes[tokenObject.remote]) {\n return {\n url: getStaticPathWithTpl({\n url: remotes[tokenObject.remote].url, remote: remotes[tokenObject.remote].remote\n }), remote: remotes[tokenObject.remote].remote\n };\n }\n\n if (remotes['default'].defaultVersion) {\n return {\n url: getStaticPathWithTpl({\n url: remotes['default'].url,\n remote: remotes['default'].remote,\n version: remotes['default'].defaultVersion\n }), remote: remotes['default'].remote + '_' + remotes['default'].defaultVersion\n };\n }\n\n return {\n url: getStaticPathWithTpl({url: remotes['default'].url, remote: remotes['default'].remote}),\n remote: remotes['default'].remote\n };\n })(tokenObject, remotes);\n return loadComponent(formatRemote(remote), \"default\", './' + tokenObject.module.moduleName, ensureSlash(url) + '/' + remoteEntryFileName)().then((module) => {\n const Component = ((tokenModule, module) => {\n if (tokenModule.subModuleName && tokenModule.subModulePropName) {\n return module[tokenModule.subModuleName][tokenModule.subModulePropName];\n }\n if (tokenModule.subModuleName) {\n return module[tokenModule.subModuleName];\n }\n if (!tokenModule.subModuleName && tokenModule.modulePropName) {\n return module['default'][tokenModule.modulePropName];\n }\n return module['default'];\n })(tokenObject.module, module);\n return {\n default: Component\n };\n });\n};\n\nexport default loadModule;\n","import useRefCallback from \"@kne/use-ref-callback\";\nimport loadModule from './loadModule';\nimport {useEffect, useRef, useState} from \"react\";\nimport isEqual from \"lodash/isEqual\";\n\nconst cache = new Map();\n\nconst useLoader = ({modules, onLoadComplete}) => {\n const [loading, setLoading] = useState(!modules.every((token) => cache.has(token)));\n const [error, setError] = useState(false);\n const loadComplete = useRefCallback(onLoadComplete);\n const [remotes, setRemotes] = useState(() => {\n if (loading) {\n return [];\n }\n return modules.map((token) => cache.get(token));\n });\n\n const remotesRef = useRef(remotes);\n remotesRef.current = remotes;\n\n useEffect(() => {\n Promise.all(modules.map(async (token) => {\n if (cache.has(token)) {\n return cache.get(token);\n }\n const {default: defaultModal} = await loadModule(token);\n typeof defaultModal.moduleMounted === 'function' && await defaultModal.moduleMounted({\n token,\n module: defaultModal\n });\n cache.set(token, defaultModal);\n return defaultModal;\n })).then((modules) => {\n loadComplete && loadComplete(modules);\n if (!isEqual(remotesRef.current, modules)) {\n setRemotes(modules);\n }\n setLoading(false);\n return modules;\n }, (e) => {\n console.error(e);\n setError(true);\n });\n }, [modules]);\n return {\n loading, error, remoteModules: remotes\n };\n};\n\nexport default useLoader;\n","import React, {forwardRef} from \"react\";\nimport useLoader from './useLoader';\nimport {global} from \"./preset\";\nimport merge from \"lodash/merge\";\n\nconst withRemoteLoader = (WrappedComponent) => {\n return forwardRef(({modules, remoteError, onLoadComplete, fallback, ...props}, ref) => {\n const {loading, error, remoteModules} = useLoader({modules, onLoadComplete});\n if (loading) {\n return fallback || global.fallback;\n }\n if (error) {\n return remoteError || global.error;\n }\n return <WrappedComponent {...props} ref={ref} remoteModules={remoteModules}/>;\n });\n};\n\nexport const createWithRemoteLoader = (params) => (WrappedComponent) => {\n const RemoteComponent = withRemoteLoader(WrappedComponent);\n return forwardRef((props, ref) => <RemoteComponent {...merge({}, params, props)} ref={ref}/>);\n};\n\nexport default withRemoteLoader;\n","import React, {useMemo, forwardRef} from \"react\";\nimport withRemoteLoader from \"./withRemoteLoader\";\n\nconst RemoteLoaders = withRemoteLoader(forwardRef(({remoteModules, ...others}, ref) => {\n const [Component] = remoteModules;\n return <Component {...others} ref={ref}/>;\n}));\n\nconst RemoteLoader = forwardRef(({module, ...props}, ref) => {\n const modules = useMemo(() => {\n return [module];\n }, [module]);\n return <RemoteLoaders {...props} modules={modules} ref={ref}/>\n});\n\nexport default RemoteLoader;\n\n","import {global} from \"./preset\";\nimport getStaticPath from './getStaticPath';\n\nconst getPublicPath = (name, options) => {\n const {remotes, version} = Object.assign({}, {remotes: global.remotes}, options)\n const config = name && remotes[name] || remotes['default'];\n const currentVision = version || config.defaultVersion;\n return getStaticPath({\n url: config.url, remote: config.remote, version: currentVision, tpl: config.tpl\n });\n};\n\nexport default getPublicPath;\n","var eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\nfunction customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n}\n\nmodule.exports = customDefaultsAssignIn;\n","var basePropertyOf = require('./_basePropertyOf');\n\n/** Used to map characters to HTML entities. */\nvar htmlEscapes = {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;'\n};\n\n/**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\nvar escapeHtmlChar = basePropertyOf(htmlEscapes);\n\nmodule.exports = escapeHtmlChar;\n","/** Used to match template delimiters. */\nvar reEscape = /<%-([\\s\\S]+?)%>/g;\n\nmodule.exports = reEscape;\n"],"names":["apply","require","baseRest","isError","attempt","func","args","undefined","e","Error","module","exports","escapeHtmlChar","toString","reUnescapedHtml","reHasUnescapedHtml","RegExp","source","string","test","replace","escape","templateSettings","copyObject","createAssigner","keysIn","assignInWith","object","srcIndex","customizer","stringEscapes","chr","baseValues","customDefaultsAssignIn","escapeStringChar","isIterateeCall","keys","reInterpolate","reEmptyStringLeading","reEmptyStringMiddle","reEmptyStringTrailing","reForbiddenIdentifierChars","reEsTemplate","reNoMatch","reUnescapedString","hasOwnProperty","Object","prototype","options","guard","settings","imports","_","isEscaping","isEvaluating","importsKeys","importsValues","index","interpolate","reDelimiters","evaluate","sourceURL","call","match","escapeValue","interpolateValue","esTemplateValue","evaluateValue","offset","slice","length","variable","result","Function","key","baseGetTag","isObjectLike","isPlainObject","value","tag","message","name","arrayMap","props","global","remotes","remoteEntryFileName","error","fallback","preset","assign","parseToken","token","url","remote","version","address","res","ensureSlash","addressList","origin","window","document","createElement","href","pathname","split","filter","moduleStr","subModule","map","propName","output","moduleName","modulePropName","subModuleName","subModulePropName","getOrLoadRemote","shareScope","remoteFallbackUrl","arguments","Promise","resolve","reject","existingRemote","querySelector","onload","async","script","setAttribute","__initialized","__webpack_share_scopes__","init","onerror","parentNode","removeChild","getAttribute","addEventListener","d","type","src","getElementsByTagName","appendChild","loadComponent","sharedScope","container","get","getStaticPath","_ref3","tpl","compiled","template","loadModule","tokenObject","getStaticPathWithTpl","defaultVersion","formatRemote","then","Component","tokenModule","default","cache","Map","useLoader","_ref4","modules","onLoadComplete","loading","setLoading","useState","every","has","setError","loadComplete","useRefCallback","setRemotes","remotesRef","useRef","current","useEffect","all","defaultModal","moduleMounted","set","isEqual","console","remoteModules","withRemoteLoader","WrappedComponent","forwardRef","_ref","ref","remoteError","_objectWithoutPropertiesLoose","_excluded$1","React","_extends","createWithRemoteLoader","params","RemoteComponent","merge","RemoteLoaders","others","_excluded","RemoteLoader","_ref2","_excluded2","useMemo","getPublicPath","config","currentVision","eq","objectProto","objValue","srcValue","basePropertyOf"],"sourceRoot":""}
@@ -1,3 +0,0 @@
1
- /*! For license information please see 9556.9b5d4ebb.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[4671,9556],{29556:(e,t,n)=>{n.r(t),n.d(t,{TooltipFetch:()=>T,TooltipInfoLabel:()=>C,default:()=>N});var s=n(55199),_=n(83136),l=n.n(_);const o="style_tooltip__zHGMI__5n2R8",r="style_large__lvmsm__5n2R8",a="style_small__nUt0r__5n2R8",i="style_popup-content__-rKQN__5n2R8",c="style_title__1EQPq__5n2R8",p="style_important-info__qTSZY__5n2R8",d="style_error__yTTq3__5n2R8",f="style_warning__CMJxz__5n2R8",y="style_success__AvJVx__5n2R8",m="style_sub-title__uD8CH__5n2R8",u="style_content__lzgUz__5n2R8",h="style_alone__q6q82__5n2R8",v="style_fetch-content__tEOEV__5n2R8",x="style_fetch-loading__tN-WB__5n2R8",R="style_title-info-icon__iY8Q+__5n2R8";var j=n(70579);const N=e=>{let{overlayClassName:t,title:n,size:_,subtitle:v,content:x,importantInfo:R,importantInfoType:N,moreInfo:g,...C}=e;return(0,j.jsx)(s.Tooltip,{...C,rootClassName:l()(t,o,{[a]:"small"===_,[r]:"large"===_}),title:(0,j.jsxs)(s.Space,{direction:"vertical",className:i,children:[n&&(0,j.jsx)("div",{className:c,children:n}),R&&(0,j.jsx)("div",{className:l()(p,{[y]:"success"===N,[f]:"warning"===N,[d]:"error"===N}),children:R}),v&&(0,j.jsx)("div",{className:m,children:v}),x&&(0,j.jsx)("div",{className:l()(u,{[h]:[n,v,R,g].every(e=>!e)}),children:x}),g&&(0,j.jsx)("div",{children:g})]})})};var g=n(64671);const C=e=>{let{title:t,tooltipTitle:n}=e;return(0,j.jsxs)("div",{children:[t,n?(0,j.jsx)(N,{...n,children:(0,j.jsx)("span",{children:(0,j.jsx)(g.default,{type:"icon-xinxi-miaobian",className:R,size:14})})}):null]})};var O=n(73884),b=n(87558);const T=e=>{let{api:t,children:n,fetchContent:_,showLoading:o=!0,loadingClassName:r,force:a,...i}=e;const[c,p]=(0,O.useState)(!1),d=(0,b.useFetch)(Object.assign({},t,{auto:!1})),{isComplete:f,isLoading:y,data:m,send:u}=d;return(0,j.jsx)(N,{...Object.assign({},i,f?_(m,d):{}),open:c,onOpenChange:async e=>{!e||f&&!a||await u({type:"refresh"}),p(e)},children:(0,j.jsxs)("span",{className:v,children:[n,o&&y?(0,j.jsx)(s.Spin,{size:"small",className:l()(r,x)}):null]})})}},51153:(e,t,n)=>{var s=n(73884),_=Symbol.for("react.element"),l=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,n){var s,l={},i=null,c=null;for(s in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:_,type:e,key:i,ref:c,props:l,_owner:r.current}}t.Fragment=l,t.jsx=i,t.jsxs=i},64671:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_.a});var s=n(48781),_=n.n(s),l={};for(const o in s)"default"!==o&&(l[o]=()=>s[o]);n.d(t,l)},70579:(e,t,n)=>{e.exports=n(51153)}}]);
3
- //# sourceMappingURL=9556.9b5d4ebb.chunk.js.map