@lanaco/lnc-react-ui 4.0.199 → 4.0.200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion.cjs +5 -5
- package/dist/Accordion.js +45 -56
- package/dist/AccordionDetails.cjs +3 -3
- package/dist/AccordionDetails.js +11 -25
- package/dist/AccordionSummary.cjs +4 -4
- package/dist/AccordionSummary.js +34 -44
- package/dist/ActionsToolbar.cjs +2 -3
- package/dist/ActionsToolbar.js +83 -135
- package/dist/Alert.cjs +10 -10
- package/dist/Alert.js +32 -64
- package/dist/Avatar.cjs +9 -9
- package/dist/Avatar.js +33 -72
- package/dist/Badge.cjs +6 -6
- package/dist/Badge.js +22 -47
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +12 -14
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +1 -1
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +1 -1
- package/dist/Breadcrumbs.cjs +5 -5
- package/dist/Breadcrumbs.js +57 -87
- package/dist/Button.cjs +11 -11
- package/dist/Button.js +126 -173
- package/dist/ButtonGroup.cjs +8 -8
- package/dist/ButtonGroup.js +37 -49
- package/dist/CalorieCalculatorSection.cjs +8 -8
- package/dist/CalorieCalculatorSection.js +90 -97
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +2 -5
- package/dist/Chip.cjs +14 -14
- package/dist/Chip.js +73 -111
- package/dist/ConfirmationForm.cjs +6 -6
- package/dist/ConfirmationForm.js +67 -109
- package/dist/ContactSection.cjs +1 -0
- package/dist/ContactSection.js +1 -0
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +7 -15
- package/dist/{DailyMotion-ByXblnua.js → DailyMotion-BBcJkMo_.js} +1 -1
- package/dist/{DailyMotion-BaFUcQKQ.cjs → DailyMotion-CpZExcrg.cjs} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +30 -50
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +1347 -1383
- package/dist/DecimalInput.cjs +6 -6
- package/dist/DecimalInput.js +210 -263
- package/dist/DecimalInputV2.cjs +23 -23
- package/dist/DecimalInputV2.js +119 -176
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +1 -1
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/DetailsView.cjs +9 -9
- package/dist/DetailsView.js +111 -162
- package/dist/DoubleRangeSlider.cjs +22 -22
- package/dist/DoubleRangeSlider.js +70 -95
- package/dist/DragAndDropFile.cjs +10 -10
- package/dist/DragAndDropFile.js +347 -402
- package/dist/DragDropFiles.cjs +4 -4
- package/dist/DragDropFiles.js +70 -124
- package/dist/Drawer.cjs +5 -5
- package/dist/Drawer.js +97 -135
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +44 -213
- package/dist/DropdownItem.cjs +14 -14
- package/dist/DropdownItem.js +106 -142
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +61 -242
- package/dist/DropdownMenu.cjs +4 -4
- package/dist/DropdownMenu.js +87 -149
- package/dist/EditableTable.cjs +10 -10
- package/dist/EditableTable.js +165 -331
- package/dist/{Facebook-BCqiOWZO.js → Facebook-BSWPEXjA.js} +1 -1
- package/dist/{Facebook-D9wwecSW.cjs → Facebook-DoKw-XxT.cjs} +1 -1
- package/dist/FaqSection.cjs +3 -3
- package/dist/FaqSection.js +119 -153
- package/dist/FileInput.cjs +7 -7
- package/dist/FileInput.js +66 -94
- package/dist/{FilePlayer-ktaNhf3p.js → FilePlayer-BtGpIWnK.js} +1 -1
- package/dist/{FilePlayer-DB6jnpeC.cjs → FilePlayer-D9az_lc_.cjs} +1 -1
- package/dist/FlexBox.cjs +6 -6
- package/dist/FlexBox.js +28 -63
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +27 -67
- package/dist/FlexGridItem.cjs +6 -6
- package/dist/FlexGridItem.js +34 -62
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +7 -15
- package/dist/FormField.cjs +7 -7
- package/dist/FormField.js +22 -47
- package/dist/FormView.cjs +6 -6
- package/dist/FormView.js +148 -195
- package/dist/Grid.cjs +2 -2
- package/dist/Grid.js +40 -65
- package/dist/GridItem.cjs +2 -2
- package/dist/GridItem.js +47 -80
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +7 -15
- package/dist/HelpBannerSection.cjs +3 -3
- package/dist/HelpBannerSection.js +9 -15
- package/dist/Icon.cjs +4 -4
- package/dist/Icon.js +29 -55
- package/dist/IconButton.cjs +9 -9
- package/dist/IconButton.js +89 -127
- package/dist/{Kaltura-CvlN0HDg.js → Kaltura-BDqlEQpd.js} +1 -1
- package/dist/{Kaltura-CCdXLzOa.cjs → Kaltura-CK6JHUZC.cjs} +1 -1
- package/dist/Kanban.cjs +7 -7
- package/dist/Kanban.js +2033 -2098
- package/dist/KanbanActionsToolbar.cjs +4 -5
- package/dist/KanbanActionsToolbar.js +61 -96
- package/dist/KanbanCard-B9V9EjVE.js +137 -0
- package/dist/KanbanCard-DihrKn-I.cjs +30 -0
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -3
- package/dist/KanbanFooter.cjs +3 -3
- package/dist/KanbanFooter.js +37 -55
- package/dist/KanbanHeader.cjs +4 -4
- package/dist/KanbanHeader.js +49 -81
- package/dist/KanbanView.cjs +2 -2
- package/dist/KanbanView.js +106 -173
- package/dist/Link.cjs +7 -7
- package/dist/Link.js +20 -37
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/MenuItem.cjs +13 -13
- package/dist/MenuItem.js +101 -139
- package/dist/{Mixcloud-nG_VyBNt.cjs → Mixcloud-C1Boh2Bm.cjs} +1 -1
- package/dist/{Mixcloud-Bb8MTclI.js → Mixcloud-zAh6j7Ha.js} +1 -1
- package/dist/Modal.cjs +18 -19
- package/dist/Modal.js +131 -166
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +25 -196
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +27 -209
- package/dist/{Mux-DfYpGTiP.js → Mux-BGTG_Tvc.js} +1 -1
- package/dist/{Mux-BgB2a8kM.cjs → Mux-C6TwZeaq.cjs} +1 -1
- package/dist/NestedDropdownItem.cjs +3 -3
- package/dist/NestedDropdownItem.js +45 -67
- package/dist/NestedMenuItem.cjs +5 -5
- package/dist/NestedMenuItem.js +51 -78
- package/dist/NotificationContainer.cjs +10 -10
- package/dist/NotificationContainer.js +46 -79
- package/dist/NotificationMessage.cjs +2 -2
- package/dist/NotificationMessage.js +47 -64
- package/dist/NumberInput.cjs +23 -23
- package/dist/NumberInput.js +89 -149
- package/dist/PageLayout.cjs +2 -2
- package/dist/PageLayout.js +20 -28
- package/dist/Pagination.cjs +3 -3
- package/dist/Pagination.js +102 -185
- package/dist/PasswordInput.cjs +23 -23
- package/dist/PasswordInput.js +108 -137
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +7 -32
- package/dist/PopoverContent.cjs +5 -5
- package/dist/PopoverContent.js +22 -28
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +7 -12
- package/dist/ProgressBar.cjs +8 -8
- package/dist/ProgressBar.js +32 -59
- package/dist/RadioGroup.cjs +3 -3
- package/dist/RadioGroup.js +41 -72
- package/dist/RadioInput.cjs +28 -28
- package/dist/RadioInput.js +78 -123
- package/dist/RangeSlider.cjs +19 -19
- package/dist/RangeSlider.js +92 -119
- package/dist/ReviewsSection.cjs +13 -13
- package/dist/ReviewsSection.js +81 -101
- package/dist/SalesCampaignsSection.cjs +19 -19
- package/dist/SalesCampaignsSection.js +283 -324
- package/dist/SearchBar.cjs +10 -10
- package/dist/SearchBar.js +168 -188
- package/dist/SearchSection-B94YN_6P.cjs +161 -0
- package/dist/{SearchSection-DDQ_K98T.js → SearchSection-DAaMecR4.js} +337 -359
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +2 -3
- package/dist/Separator.cjs +3 -3
- package/dist/Separator.js +14 -19
- package/dist/Sidebar.cjs +4 -5
- package/dist/Sidebar.js +33 -56
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/{SoundCloud-C86xwUG6.cjs → SoundCloud-C6R6E6Zc.cjs} +1 -1
- package/dist/{SoundCloud-DG91z39R.js → SoundCloud-lO8wg_0s.js} +1 -1
- package/dist/Spinner.cjs +18 -18
- package/dist/Spinner.js +37 -54
- package/dist/StatsSection.cjs +6 -6
- package/dist/StatsSection.js +15 -25
- package/dist/{Streamable-4uAnb3WN.cjs → Streamable-DZO95CiT.cjs} +1 -1
- package/dist/{Streamable-BAIWLgyD.js → Streamable-Dwa5ZEK4.js} +1 -1
- package/dist/Surface.cjs +4 -4
- package/dist/Surface.js +19 -34
- package/dist/SwipeableDrawer.cjs +8 -8
- package/dist/SwipeableDrawer.js +84 -136
- package/dist/TabItem.cjs +11 -11
- package/dist/TabItem.js +83 -118
- package/dist/Table.cjs +65 -65
- package/dist/Table.js +786 -1167
- package/dist/TableView.cjs +2 -2
- package/dist/TableView.js +113 -197
- package/dist/Tabs.cjs +4 -4
- package/dist/Tabs.js +41 -60
- package/dist/TextAreaInput.cjs +14 -14
- package/dist/TextAreaInput.js +131 -181
- package/dist/TextInput.cjs +23 -23
- package/dist/TextInput.js +78 -126
- package/dist/ThemeProvider.cjs +5 -5
- package/dist/ThemeProvider.js +35 -39
- package/dist/TimeInput.cjs +7 -7
- package/dist/TimeInput.js +46 -72
- package/dist/Toggle.cjs +20 -20
- package/dist/Toggle.js +78 -109
- package/dist/ToggleSection.cjs +5 -5
- package/dist/ToggleSection.js +48 -55
- package/dist/TreeMenu.cjs +5 -5
- package/dist/TreeMenu.js +43 -67
- package/dist/TreeMenuSeparator.cjs +3 -3
- package/dist/TreeMenuSeparator.js +12 -20
- package/dist/{Twitch-CVAj24ti.cjs → Twitch-B17oKtD0.cjs} +1 -1
- package/dist/{Twitch-DfXeW5Xs.js → Twitch-C73-dwWo.js} +1 -1
- package/dist/UploadedFile.cjs +11 -11
- package/dist/UploadedFile.js +73 -99
- package/dist/{Vidyard-De3pges0.js → Vidyard-B6GdBHsM.js} +1 -1
- package/dist/{Vidyard-DaCcaaH4.cjs → Vidyard-s1MMcaRm.cjs} +1 -1
- package/dist/{Vimeo-8wXdCXGs.cjs → Vimeo-J1l_SU2E.cjs} +1 -1
- package/dist/{Vimeo-N6I2qi_h.js → Vimeo-kzHz4Gco.js} +1 -1
- package/dist/{Wistia-BrUzHQoq.cjs → Wistia-CudQyDHM.cjs} +1 -1
- package/dist/{Wistia-dlV6n6tO.js → Wistia-w4jnqd7y.js} +1 -1
- package/dist/{YouTube-Cfsj4ZaP.cjs → YouTube-BAYKouHS.cjs} +1 -1
- package/dist/{YouTube-DNJxWqRm.js → YouTube-BKyipPZx.js} +1 -1
- package/dist/index-BdKi2ogu.js +39 -0
- package/dist/index-CRk3vcd4.cjs +95 -0
- package/dist/index-CX2A-q39.cjs +4 -0
- package/dist/{index-CWALXP1T.js → index-CwMCk9wV.js} +118 -145
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
- package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
- package/package.json +1 -1
- package/dist/KanbanCard-68kSAXL6.js +0 -175
- package/dist/KanbanCard-BDvoqTDS.cjs +0 -30
- package/dist/SearchSection-BcbHP6QF.cjs +0 -161
- package/dist/index-Be-_NM9Q.cjs +0 -4
- package/dist/index-C0LcDEqa.js +0 -47
- package/dist/index-CSNxZFTX.cjs +0 -95
package/dist/Table.cjs
CHANGED
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("react/jsx-runtime"),R=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./index-BpbMKBf_.cjs"),a=require("./utils-RnrgDDZP.cjs"),H=require("./_commonjsHelpers-DwTZ_eVU.cjs"),V=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),Nt=require("./index-DA7SIHV1.cjs"),Or=require("./CheckBoxInput.cjs"),Dt=require("./Icon.cjs"),kt=require("./Spinner.cjs");var Ft=a.isBrowser?R.useLayoutEffect:R.useEffect,Lr={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function zt(){var r=R.useState(null),p=r[0],i=r[1],c=R.useState(Lr),m=c[0],f=c[1],_=R.useMemo(function(){return new window.ResizeObserver(function(C){if(C[0]){var P=C[0].contentRect,S=P.x,w=P.y,A=P.width,y=P.height,x=P.top,L=P.left,F=P.bottom,E=P.right;f({x:S,y:w,width:A,height:y,top:x,left:L,bottom:F,right:E})}})},[]);return Ft(function(){if(p)return _.observe(p),function(){_.disconnect()}},[p]),[i,m]}const Gt=a.isBrowser&&typeof window.ResizeObserver<"u"?zt:function(){return[a.noop,Lr]};var je={exports:{}};je.exports;(function(r,p){var i=200,c="__lodash_hash_undefined__",m=9007199254740991,f="[object Arguments]",_="[object Array]",C="[object Boolean]",P="[object Date]",S="[object Error]",w="[object Function]",A="[object GeneratorFunction]",y="[object Map]",x="[object Number]",L="[object Object]",F="[object Promise]",E="[object RegExp]",g="[object Set]",v="[object String]",D="[object Symbol]",q="[object WeakMap]",fe="[object ArrayBuffer]",W="[object DataView]",z="[object Float32Array]",me="[object Float64Array]",ge="[object Int8Array]",be="[object Int16Array]",ie="[object Int32Array]",he="[object Uint8Array]",ye="[object Uint8ClampedArray]",Te="[object Uint16Array]",ve="[object Uint32Array]",Ie=/[\\^$.*+?()[\]{}|]/g,re=/\w*$/,_e=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,T={};T[f]=T[_]=T[fe]=T[W]=T[C]=T[P]=T[z]=T[me]=T[ge]=T[be]=T[ie]=T[y]=T[x]=T[L]=T[E]=T[g]=T[v]=T[D]=T[he]=T[ye]=T[Te]=T[ve]=!0,T[S]=T[w]=T[q]=!1;var Y=typeof H.commonjsGlobal=="object"&&H.commonjsGlobal&&H.commonjsGlobal.Object===Object&&H.commonjsGlobal,He=typeof self=="object"&&self&&self.Object===Object&&self,B=Y||He||Function("return this")(),K=p&&!p.nodeType&&p,Ce=K&&!0&&r&&!r.nodeType&&r,Be=Ce&&Ce.exports===K;function X(e,t){return e.set(t[0],t[1]),e}function $e(e,t){return e.add(t),e}function Ne(e,t){for(var n=-1,s=e?e.length:0;++n<s&&t(e[n],n,e)!==!1;);return e}function De(e,t){for(var n=-1,s=t.length,I=e.length;++n<s;)e[I+n]=t[n];return e}function Ee(e,t,n,s){for(var I=-1,$=e?e.length:0;++I<$;)n=t(n,e[I],I,e);return n}function ke(e,t){for(var n=-1,s=Array(e);++n<e;)s[n]=t(n);return s}function Fe(e,t){return e==null?void 0:e[t]}function we(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function Pe(e){var t=-1,n=Array(e.size);return e.forEach(function(s,I){n[++t]=[I,s]}),n}function ce(e,t){return function(n){return e(t(n))}}function Re(e){var t=-1,n=Array(e.size);return e.forEach(function(s){n[++t]=s}),n}var ze=Array.prototype,Ge=Function.prototype,te=Object.prototype,de=B["__core-js_shared__"],Se=function(){var e=/[^.]+$/.exec(de&&de.keys&&de.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ve=Ge.toString,l=te.hasOwnProperty,u=te.toString,b=RegExp("^"+Ve.call(l).replace(Ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=Be?B.Buffer:void 0,k=B.Symbol,G=B.Uint8Array,ne=ce(Object.getPrototypeOf,Object),We=Object.create,Ye=te.propertyIsEnumerable,vr=ze.splice,pr=Object.getOwnPropertySymbols,Ir=h?h.isBuffer:void 0,Hr=ce(Object.keys,Object),Me=le(B,"DataView"),ue=le(B,"Map"),Ue=le(B,"Promise"),qe=le(B,"Set"),Ke=le(B,"WeakMap"),pe=le(Object,"create"),Br=Q(Me),$r=Q(ue),Nr=Q(Ue),Dr=Q(qe),kr=Q(Ke),fr=k?k.prototype:void 0,mr=fr?fr.valueOf:void 0;function J(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function Fr(){this.__data__=pe?pe(null):{}}function zr(e){return this.has(e)&&delete this.__data__[e]}function Gr(e){var t=this.__data__;if(pe){var n=t[e];return n===c?void 0:n}return l.call(t,e)?t[e]:void 0}function Vr(e){var t=this.__data__;return pe?t[e]!==void 0:l.call(t,e)}function Wr(e,t){var n=this.__data__;return n[e]=pe&&t===void 0?c:t,this}J.prototype.clear=Fr,J.prototype.delete=zr,J.prototype.get=Gr,J.prototype.has=Vr,J.prototype.set=Wr;function M(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function Yr(){this.__data__=[]}function Mr(e){var t=this.__data__,n=Ae(t,e);if(n<0)return!1;var s=t.length-1;return n==s?t.pop():vr.call(t,n,1),!0}function Ur(e){var t=this.__data__,n=Ae(t,e);return n<0?void 0:t[n][1]}function qr(e){return Ae(this.__data__,e)>-1}function Kr(e,t){var n=this.__data__,s=Ae(n,e);return s<0?n.push([e,t]):n[s][1]=t,this}M.prototype.clear=Yr,M.prototype.delete=Mr,M.prototype.get=Ur,M.prototype.has=qr,M.prototype.set=Kr;function oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function Xr(){this.__data__={hash:new J,map:new(ue||M),string:new J}}function Jr(e){return Oe(this,e).delete(e)}function Zr(e){return Oe(this,e).get(e)}function Qr(e){return Oe(this,e).has(e)}function et(e,t){return Oe(this,e).set(e,t),this}oe.prototype.clear=Xr,oe.prototype.delete=Jr,oe.prototype.get=Zr,oe.prototype.has=Qr,oe.prototype.set=et;function ae(e){this.__data__=new M(e)}function rt(){this.__data__=new M}function tt(e){return this.__data__.delete(e)}function nt(e){return this.__data__.get(e)}function ot(e){return this.__data__.has(e)}function at(e,t){var n=this.__data__;if(n instanceof M){var s=n.__data__;if(!ue||s.length<i-1)return s.push([e,t]),this;n=this.__data__=new oe(s)}return n.set(e,t),this}ae.prototype.clear=rt,ae.prototype.delete=tt,ae.prototype.get=nt,ae.prototype.has=ot,ae.prototype.set=at;function lt(e,t){var n=Ze(e)||xt(e)?ke(e.length,String):[],s=n.length,I=!!s;for(var $ in e)l.call(e,$)&&!(I&&($=="length"||St($,s)))&&n.push($);return n}function gr(e,t,n){var s=e[t];(!(l.call(e,t)&&Tr(s,n))||n===void 0&&!(t in e))&&(e[t]=n)}function Ae(e,t){for(var n=e.length;n--;)if(Tr(e[n][0],t))return n;return-1}function st(e,t){return e&&br(t,Qe(t),e)}function Xe(e,t,n,s,I,$,U){var N;if(s&&(N=$?s(e,I,$,U):s(e)),N!==void 0)return N;if(!Le(e))return e;var Er=Ze(e);if(Er){if(N=wt(e),!t)return _t(e,N)}else{var se=Z(e),wr=se==w||se==A;if(vt(e))return ft(e,t);if(se==L||se==f||wr&&!$){if(we(e))return $?e:{};if(N=Pt(wr?{}:e),!t)return Ct(e,st(N,e))}else{if(!T[se])return $?e:{};N=Rt(e,se,Xe,t)}}U||(U=new ae);var Pr=U.get(e);if(Pr)return Pr;if(U.set(e,N),!Er)var Rr=n?Et(e):Qe(e);return Ne(Rr||e,function(er,xe){Rr&&(xe=er,er=e[xe]),gr(N,xe,Xe(er,t,n,s,xe,e,U))}),N}function it(e){return Le(e)?We(e):{}}function ct(e,t,n){var s=t(e);return Ze(e)?s:De(s,n(e))}function dt(e){return u.call(e)}function ut(e){if(!Le(e)||Ot(e))return!1;var t=Cr(e)||we(e)?b:_e;return t.test(Q(e))}function pt(e){if(!yr(e))return Hr(e);var t=[];for(var n in Object(e))l.call(e,n)&&n!="constructor"&&t.push(n);return t}function ft(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function Je(e){var t=new e.constructor(e.byteLength);return new G(t).set(new G(e)),t}function mt(e,t){var n=t?Je(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function gt(e,t,n){var s=t?n(Pe(e),!0):Pe(e);return Ee(s,X,new e.constructor)}function bt(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}function ht(e,t,n){var s=t?n(Re(e),!0):Re(e);return Ee(s,$e,new e.constructor)}function yt(e){return mr?Object(mr.call(e)):{}}function Tt(e,t){var n=t?Je(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function _t(e,t){var n=-1,s=e.length;for(t||(t=Array(s));++n<s;)t[n]=e[n];return t}function br(e,t,n,s){n||(n={});for(var I=-1,$=t.length;++I<$;){var U=t[I],N=void 0;gr(n,U,N===void 0?e[U]:N)}return n}function Ct(e,t){return br(e,hr(e),t)}function Et(e){return ct(e,Qe,hr)}function Oe(e,t){var n=e.__data__;return At(t)?n[typeof t=="string"?"string":"hash"]:n.map}function le(e,t){var n=Fe(e,t);return ut(n)?n:void 0}var hr=pr?ce(pr,Object):Bt,Z=dt;(Me&&Z(new Me(new ArrayBuffer(1)))!=W||ue&&Z(new ue)!=y||Ue&&Z(Ue.resolve())!=F||qe&&Z(new qe)!=g||Ke&&Z(new Ke)!=q)&&(Z=function(e){var t=u.call(e),n=t==L?e.constructor:void 0,s=n?Q(n):void 0;if(s)switch(s){case Br:return W;case $r:return y;case Nr:return F;case Dr:return g;case kr:return q}return t});function wt(e){var t=e.length,n=e.constructor(t);return t&&typeof e[0]=="string"&&l.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Pt(e){return typeof e.constructor=="function"&&!yr(e)?it(ne(e)):{}}function Rt(e,t,n,s){var I=e.constructor;switch(t){case fe:return Je(e);case C:case P:return new I(+e);case W:return mt(e,s);case z:case me:case ge:case be:case ie:case he:case ye:case Te:case ve:return Tt(e,s);case y:return gt(e,s,n);case x:case v:return new I(e);case E:return bt(e);case g:return ht(e,s,n);case D:return yt(e)}}function St(e,t){return t=t??m,!!t&&(typeof e=="number"||O.test(e))&&e>-1&&e%1==0&&e<t}function At(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ot(e){return!!Se&&Se in e}function yr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||te;return e===n}function Q(e){if(e!=null){try{return Ve.call(e)}catch{}try{return e+""}catch{}}return""}function Lt(e){return Xe(e,!1,!0)}function Tr(e,t){return e===t||e!==e&&t!==t}function xt(e){return jt(e)&&l.call(e,"callee")&&(!Ye.call(e,"callee")||u.call(e)==f)}var Ze=Array.isArray;function _r(e){return e!=null&&It(e.length)&&!Cr(e)}function jt(e){return Ht(e)&&_r(e)}var vt=Ir||$t;function Cr(e){var t=Le(e)?u.call(e):"";return t==w||t==A}function It(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=m}function Le(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Ht(e){return!!e&&typeof e=="object"}function Qe(e){return _r(e)?lt(e):pt(e)}function Bt(){return[]}function $t(){return!1}r.exports=Lt})(je,je.exports);var Vt=je.exports;const Sr=H.getDefaultExportFromCjs(Vt);var Wt=typeof H.commonjsGlobal=="object"&&H.commonjsGlobal&&H.commonjsGlobal.Object===Object&&H.commonjsGlobal,Yt=typeof self=="object"&&self&&self.Object===Object&&self,Mt=Wt||Yt||Function("return this")(),Ut=Mt.isFinite;function qt(r){return typeof r=="number"&&Ut(r)}var Kt=qt;const Xt=H.getDefaultExportFromCjs(Kt);function Jt(r){var p=typeof r;return!!r&&(p=="object"||p=="function")}var Zt=Jt;const Qt=H.getDefaultExportFromCjs(Zt),en=j.styled.tbody``,rr=r=>{const{__TYPE__:p="TABLE_BODY",className:i="",size:c="small",color:m="primary"}=r,f=V.useTheme(),_={className:i,size:c,color:m,theme:f};return d.jsx(en,{"data-tbody":!0,..._,children:r.children})};rr.propTypes={__TYPE__:o.PropTypes.string,className:o.PropTypes.string,size:o.PropTypes.oneOf(["small","medium","large"]),color:o.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};rr.displayName="TABLE_BODY";const rn=j.styled.thead`
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("react/jsx-runtime"),E=require("react"),L=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-RnrgDDZP.cjs"),I=require("./_commonjsHelpers-DwTZ_eVU.cjs"),F=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),Nr=require("./index-DA7SIHV1.cjs"),mt=require("./CheckBoxInput.cjs"),Pr=require("./Icon.cjs"),Dr=require("./Spinner.cjs");var kr=o.isBrowser?E.useLayoutEffect:E.useEffect,bt={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function Fr(){var t=E.useState(null),l=t[0],i=t[1],f=E.useState(bt),h=f[0],b=f[1],T=E.useMemo(function(){return new window.ResizeObserver(function(A){if(A[0]){var g=A[0].contentRect,w=g.x,R=g.y,_=g.width,S=g.height,v=g.top,N=g.left,p=g.bottom,m=g.right;b({x:w,y:R,width:_,height:S,top:v,left:N,bottom:p,right:m})}})},[]);return kr(function(){if(l)return T.observe(l),function(){T.disconnect()}},[l]),[i,h]}const Vr=o.isBrowser&&typeof window.ResizeObserver<"u"?Fr:function(){return[o.noop,bt]};var Oe={exports:{}};Oe.exports;(function(t,l){var i=200,f="__lodash_hash_undefined__",h=9007199254740991,b="[object Arguments]",T="[object Array]",A="[object Boolean]",g="[object Date]",w="[object Error]",R="[object Function]",_="[object GeneratorFunction]",S="[object Map]",v="[object Number]",N="[object Object]",p="[object Promise]",m="[object RegExp]",j="[object Set]",P="[object String]",ee="[object Symbol]",se="[object WeakMap]",M="[object ArrayBuffer]",H="[object DataView]",fe="[object Float32Array]",he="[object Float64Array]",me="[object Int8Array]",ie="[object Int16Array]",be="[object Int32Array]",ge="[object Uint8Array]",Ce="[object Uint8ClampedArray]",pe="[object Uint16Array]",q="[object Uint32Array]",ye=/[\\^$.*+?()[\]{}|]/g,x=/\w*$/,Ie=/^\[object .+?Constructor\]$/,z=/^(?:0|[1-9]\d*)$/,C={};C[b]=C[T]=C[M]=C[H]=C[A]=C[g]=C[fe]=C[he]=C[me]=C[ie]=C[be]=C[S]=C[v]=C[N]=C[m]=C[j]=C[P]=C[ee]=C[ge]=C[Ce]=C[pe]=C[q]=!0,C[w]=C[R]=C[se]=!1;var K=typeof I.commonjsGlobal=="object"&&I.commonjsGlobal&&I.commonjsGlobal.Object===Object&&I.commonjsGlobal,te=typeof self=="object"&&self&&self.Object===Object&&self,k=K||te||Function("return this")(),Te=l&&!l.nodeType&&l,U=Te&&!0&&t&&!t.nodeType&&t,He=U&&U.exports===Te;function $e(e,r){return e.set(r[0],r[1]),e}function Be(e,r){return e.add(r),e}function Ne(e,r){for(var n=-1,a=e?e.length:0;++n<a&&r(e[n],n,e)!==!1;);return e}function Pe(e,r){for(var n=-1,a=r.length,O=e.length;++n<a;)e[O+n]=r[n];return e}function _e(e,r,n,a){for(var O=-1,$=e?e.length:0;++O<$;)n=r(n,e[O],O,e);return n}function De(e,r){for(var n=-1,a=Array(e);++n<e;)a[n]=r(n);return a}function ke(e,r){return e==null?void 0:e[r]}function Ee(e){var r=!1;if(e!=null&&typeof e.toString!="function")try{r=!!(e+"")}catch{}return r}function we(e){var r=-1,n=Array(e.size);return e.forEach(function(a,O){n[++r]=[O,a]}),n}function ce(e,r){return function(n){return e(r(n))}}function Re(e){var r=-1,n=Array(e.size);return e.forEach(function(a){n[++r]=a}),n}var Fe=Array.prototype,Ve=Function.prototype,re=Object.prototype,Se=k["__core-js_shared__"],s=function(){var e=/[^.]+$/.exec(Se&&Se.keys&&Se.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),d=Ve.toString,u=re.hasOwnProperty,y=re.toString,V=RegExp("^"+d.call(u).replace(ye,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),D=He?k.Buffer:void 0,Y=k.Symbol,xe=k.Uint8Array,ze=ce(Object.getPrototypeOf,Object),vt=Object.create,Lt=re.propertyIsEnumerable,Ot=Fe.splice,Ze=Object.getOwnPropertySymbols,It=D?D.isBuffer:void 0,Ht=ce(Object.keys,Object),Ge=le(k,"DataView"),de=le(k,"Map"),We=le(k,"Promise"),Me=le(k,"Set"),Ue=le(k,"WeakMap"),ue=le(Object,"create"),$t=Z(Ge),Bt=Z(de),Nt=Z(We),Pt=Z(Me),Dt=Z(Ue),Qe=Y?Y.prototype:void 0,et=Qe?Qe.valueOf:void 0;function X(e){var r=-1,n=e?e.length:0;for(this.clear();++r<n;){var a=e[r];this.set(a[0],a[1])}}function kt(){this.__data__=ue?ue(null):{}}function Ft(e){return this.has(e)&&delete this.__data__[e]}function Vt(e){var r=this.__data__;if(ue){var n=r[e];return n===f?void 0:n}return u.call(r,e)?r[e]:void 0}function zt(e){var r=this.__data__;return ue?r[e]!==void 0:u.call(r,e)}function Gt(e,r){var n=this.__data__;return n[e]=ue&&r===void 0?f:r,this}X.prototype.clear=kt,X.prototype.delete=Ft,X.prototype.get=Vt,X.prototype.has=zt,X.prototype.set=Gt;function G(e){var r=-1,n=e?e.length:0;for(this.clear();++r<n;){var a=e[r];this.set(a[0],a[1])}}function Wt(){this.__data__=[]}function Mt(e){var r=this.__data__,n=Ae(r,e);if(n<0)return!1;var a=r.length-1;return n==a?r.pop():Ot.call(r,n,1),!0}function Ut(e){var r=this.__data__,n=Ae(r,e);return n<0?void 0:r[n][1]}function qt(e){return Ae(this.__data__,e)>-1}function Kt(e,r){var n=this.__data__,a=Ae(n,e);return a<0?n.push([e,r]):n[a][1]=r,this}G.prototype.clear=Wt,G.prototype.delete=Mt,G.prototype.get=Ut,G.prototype.has=qt,G.prototype.set=Kt;function ne(e){var r=-1,n=e?e.length:0;for(this.clear();++r<n;){var a=e[r];this.set(a[0],a[1])}}function Yt(){this.__data__={hash:new X,map:new(de||G),string:new X}}function Xt(e){return je(this,e).delete(e)}function Jt(e){return je(this,e).get(e)}function Zt(e){return je(this,e).has(e)}function Qt(e,r){return je(this,e).set(e,r),this}ne.prototype.clear=Yt,ne.prototype.delete=Xt,ne.prototype.get=Jt,ne.prototype.has=Zt,ne.prototype.set=Qt;function oe(e){this.__data__=new G(e)}function er(){this.__data__=new G}function tr(e){return this.__data__.delete(e)}function rr(e){return this.__data__.get(e)}function nr(e){return this.__data__.has(e)}function or(e,r){var n=this.__data__;if(n instanceof G){var a=n.__data__;if(!de||a.length<i-1)return a.push([e,r]),this;n=this.__data__=new ne(a)}return n.set(e,r),this}oe.prototype.clear=er,oe.prototype.delete=tr,oe.prototype.get=rr,oe.prototype.has=nr,oe.prototype.set=or;function lr(e,r){var n=Ye(e)||vr(e)?De(e.length,String):[],a=n.length,O=!!a;for(var $ in e)u.call(e,$)&&!(O&&($=="length"||Sr($,a)))&&n.push($);return n}function tt(e,r,n){var a=e[r];(!(u.call(e,r)&<(a,n))||n===void 0&&!(r in e))&&(e[r]=n)}function Ae(e,r){for(var n=e.length;n--;)if(lt(e[n][0],r))return n;return-1}function ar(e,r){return e&&rt(r,Xe(r),e)}function qe(e,r,n,a,O,$,W){var B;if(a&&(B=$?a(e,O,$,W):a(e)),B!==void 0)return B;if(!ve(e))return e;var it=Ye(e);if(it){if(B=Er(e),!r)return yr(e,B)}else{var ae=J(e),ct=ae==R||ae==_;if(Or(e))return fr(e,r);if(ae==N||ae==b||ct&&!$){if(Ee(e))return $?e:{};if(B=wr(ct?{}:e),!r)return Tr(e,ar(B,e))}else{if(!C[ae])return $?e:{};B=Rr(e,ae,qe,r)}}W||(W=new oe);var dt=W.get(e);if(dt)return dt;if(W.set(e,B),!it)var ut=n?_r(e):Xe(e);return Ne(ut||e,function(Je,Le){ut&&(Le=Je,Je=e[Le]),tt(B,Le,qe(Je,r,n,a,Le,e,W))}),B}function sr(e){return ve(e)?vt(e):{}}function ir(e,r,n){var a=r(e);return Ye(e)?a:Pe(a,n(e))}function cr(e){return y.call(e)}function dr(e){if(!ve(e)||Ar(e))return!1;var r=st(e)||Ee(e)?V:Ie;return r.test(Z(e))}function ur(e){if(!ot(e))return Ht(e);var r=[];for(var n in Object(e))u.call(e,n)&&n!="constructor"&&r.push(n);return r}function fr(e,r){if(r)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function Ke(e){var r=new e.constructor(e.byteLength);return new xe(r).set(new xe(e)),r}function hr(e,r){var n=r?Ke(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function mr(e,r,n){var a=r?n(we(e),!0):we(e);return _e(a,$e,new e.constructor)}function br(e){var r=new e.constructor(e.source,x.exec(e));return r.lastIndex=e.lastIndex,r}function gr(e,r,n){var a=r?n(Re(e),!0):Re(e);return _e(a,Be,new e.constructor)}function Cr(e){return et?Object(et.call(e)):{}}function pr(e,r){var n=r?Ke(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function yr(e,r){var n=-1,a=e.length;for(r||(r=Array(a));++n<a;)r[n]=e[n];return r}function rt(e,r,n,a){n||(n={});for(var O=-1,$=r.length;++O<$;){var W=r[O],B=void 0;tt(n,W,B===void 0?e[W]:B)}return n}function Tr(e,r){return rt(e,nt(e),r)}function _r(e){return ir(e,Xe,nt)}function je(e,r){var n=e.__data__;return xr(r)?n[typeof r=="string"?"string":"hash"]:n.map}function le(e,r){var n=ke(e,r);return dr(n)?n:void 0}var nt=Ze?ce(Ze,Object):$r,J=cr;(Ge&&J(new Ge(new ArrayBuffer(1)))!=H||de&&J(new de)!=S||We&&J(We.resolve())!=p||Me&&J(new Me)!=j||Ue&&J(new Ue)!=se)&&(J=function(e){var r=y.call(e),n=r==N?e.constructor:void 0,a=n?Z(n):void 0;if(a)switch(a){case $t:return H;case Bt:return S;case Nt:return p;case Pt:return j;case Dt:return se}return r});function Er(e){var r=e.length,n=e.constructor(r);return r&&typeof e[0]=="string"&&u.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function wr(e){return typeof e.constructor=="function"&&!ot(e)?sr(ze(e)):{}}function Rr(e,r,n,a){var O=e.constructor;switch(r){case M:return Ke(e);case A:case g:return new O(+e);case H:return hr(e,a);case fe:case he:case me:case ie:case be:case ge:case Ce:case pe:case q:return pr(e,a);case S:return mr(e,a,n);case v:case P:return new O(e);case m:return br(e);case j:return gr(e,a,n);case ee:return Cr(e)}}function Sr(e,r){return r=r??h,!!r&&(typeof e=="number"||z.test(e))&&e>-1&&e%1==0&&e<r}function xr(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function Ar(e){return!!s&&s in e}function ot(e){var r=e&&e.constructor,n=typeof r=="function"&&r.prototype||re;return e===n}function Z(e){if(e!=null){try{return d.call(e)}catch{}try{return e+""}catch{}}return""}function jr(e){return qe(e,!1,!0)}function lt(e,r){return e===r||e!==e&&r!==r}function vr(e){return Lr(e)&&u.call(e,"callee")&&(!Lt.call(e,"callee")||y.call(e)==b)}var Ye=Array.isArray;function at(e){return e!=null&&Ir(e.length)&&!st(e)}function Lr(e){return Hr(e)&&at(e)}var Or=It||Br;function st(e){var r=ve(e)?y.call(e):"";return r==R||r==_}function Ir(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=h}function ve(e){var r=typeof e;return!!e&&(r=="object"||r=="function")}function Hr(e){return!!e&&typeof e=="object"}function Xe(e){return at(e)?lr(e):ur(e)}function $r(){return[]}function Br(){return!1}t.exports=jr})(Oe,Oe.exports);var zr=Oe.exports;const ft=I.getDefaultExportFromCjs(zr);var Gr=typeof I.commonjsGlobal=="object"&&I.commonjsGlobal&&I.commonjsGlobal.Object===Object&&I.commonjsGlobal,Wr=typeof self=="object"&&self&&self.Object===Object&&self,Mr=Gr||Wr||Function("return this")(),Ur=Mr.isFinite;function qr(t){return typeof t=="number"&&Ur(t)}var Kr=qr;const Yr=I.getDefaultExportFromCjs(Kr);function Xr(t){var l=typeof t;return!!t&&(l=="object"||l=="function")}var Jr=Xr;const Zr=I.getDefaultExportFromCjs(Jr),Qr=L.styled.tbody``,gt=t=>{const{className:l="",size:i="small",color:f="primary"}=t,h=F.useTheme(),b={className:l,size:i,color:f,theme:h};return c.jsx(Qr,{"data-tbody":!0,...b,children:t.children})};gt.displayName="TABLE_BODY";const en=L.styled.thead`
|
|
2
2
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
3
|
-
`,
|
|
4
|
-
${
|
|
5
|
-
${
|
|
6
|
-
${
|
|
3
|
+
`,Ct=t=>{const{className:l="",size:i="small",color:f="primary"}=t,h=F.useTheme(),b={className:l,size:i,color:f,theme:h};return c.jsx(en,{...b,children:t.children})};Ct.displayName="TABLE_HEAD";const tn=L.styled.tr`
|
|
4
|
+
${t=>t.noBorder==!1&&`border-bottom: 1px solid ${o.getColorRgbaValue(t.theme,"TableRow",null,"enabled","border")};`}
|
|
5
|
+
${t=>t.noBorder==!1&&`border-left: 1px solid ${o.getColorRgbaValue(t.theme,"TableRow",null,"enabled","border")};`}
|
|
6
|
+
${t=>t.noBorder==!1&&`border-right: 1px solid ${o.getColorRgbaValue(t.theme,"TableRow",null,"enabled","border")};`}
|
|
7
7
|
|
|
8
|
-
${
|
|
8
|
+
${t=>t.rowCss||""}
|
|
9
9
|
&:last-of-type > td:first-of-type {
|
|
10
10
|
border-radius: 0 0 0 0.5rem;
|
|
11
11
|
}
|
|
12
12
|
&:last-of-type > td:last-of-type {
|
|
13
13
|
border-radius: 0 0 0.5rem 0;
|
|
14
14
|
}
|
|
15
|
-
${
|
|
15
|
+
${t=>t.IsSelected!==!0?`
|
|
16
16
|
&:hover {
|
|
17
17
|
& > td {
|
|
18
|
-
background-color: ${
|
|
18
|
+
background-color: ${o.getColorRgbaValue(t.theme,"TableRow",null,"hover","background")};
|
|
19
19
|
}
|
|
20
20
|
}`:""}
|
|
21
|
-
${
|
|
21
|
+
${t=>t.IsSelected===!0?`
|
|
22
22
|
& > td {
|
|
23
|
-
background-color: ${
|
|
23
|
+
background-color: ${o.getColorRgbaValue(t.theme,"TableRow",t.color,"active","background")};
|
|
24
24
|
}
|
|
25
25
|
`:""}
|
|
26
|
-
`,
|
|
26
|
+
`,pt=t=>{const{onRowClick:l=()=>{},RowData:i={},Index:f,IsSelected:h=null,noBorder:b=!1,rowCss:T="",className:A="",size:g="small",color:w="primary"}=t,R=F.useTheme(),_={className:A,size:g,color:w,theme:R},S=v=>{v.stopPropagation(),v.nativeEvent.stopImmediatePropagation(),l&&l(v,i)};return E.createElement(tn,{..._,IsSelected:h,key:f,onClick:S,noBorder:b,rowCss:T},t.children)};pt.displayName="TABLE_ROW";var rn="[object AsyncFunction]",nn="[object Function]",on="[object GeneratorFunction]",ln="[object Null]",an="[object Proxy]",sn="[object Undefined]",cn=typeof I.commonjsGlobal=="object"&&I.commonjsGlobal&&I.commonjsGlobal.Object===Object&&I.commonjsGlobal,dn=typeof self=="object"&&self&&self.Object===Object&&self,un=cn||dn||Function("return this")(),yt=Object.prototype,fn=yt.hasOwnProperty,Tt=yt.toString,ht=un.Symbol,Q=ht?ht.toStringTag:void 0;function hn(t){return t==null?t===void 0?sn:ln:Q&&Q in Object(t)?mn(t):bn(t)}function mn(t){var l=fn.call(t,Q),i=t[Q];try{t[Q]=void 0;var f=!0}catch{}var h=Tt.call(t);return f&&(l?t[Q]=i:delete t[Q]),h}function bn(t){return Tt.call(t)}function gn(t){if(!Cn(t))return!1;var l=hn(t);return l==nn||l==on||l==rn||l==an}function Cn(t){var l=typeof t;return t!=null&&(l=="object"||l=="function")}var pn=gn;const yn=I.getDefaultExportFromCjs(pn),Tn=L.styled.td`
|
|
27
27
|
white-space: nowrap;
|
|
28
28
|
overflow: hidden;
|
|
29
29
|
text-overflow: ellipsis;
|
|
30
|
-
width: ${
|
|
30
|
+
width: ${t=>t.width};
|
|
31
31
|
padding: 0.875rem 1.5rem;
|
|
32
32
|
|
|
33
|
-
background-color: ${
|
|
33
|
+
background-color: ${t=>o.getColorRgbaValue(t.theme,"TableRow",null,"enabled","background")};
|
|
34
34
|
|
|
35
|
-
${
|
|
35
|
+
${t=>t.bgColor}
|
|
36
36
|
|
|
37
|
-
${
|
|
38
|
-
`,
|
|
39
|
-
background-color: ${
|
|
40
|
-
`:""},
|
|
37
|
+
${t=>o.getComponentTypographyCss(t.theme,"TableCell",t.size,"enabled")};
|
|
38
|
+
`,_t=t=>{const{Column:l={},RowData:i={},Index:f=0,EnableSelection:h=!1,EnableRowHighlight:b=!1,GetRowHighlightColor:T=()=>"",className:A="",size:g="small",color:w="primary"}=t,R=F.useTheme(),_={className:A,size:g,color:w,theme:R},S=m=>{const j=new Option().style;return j.color=m,j.color!==""},v=()=>l&&l.width?l.width+"%":"auto",N=()=>{var m=T(i);return b===!0&&S(m)?`
|
|
39
|
+
background-color: ${m};
|
|
40
|
+
`:""},p=()=>{if(l.render&&yn(l.render)){var m=l.render(i);if(E.isValidElement(m))return m;console.error(`${l.id}/${l.accessor}: invalid render function.`)}return Nr.isEmpty(l.accessor)&&console.error(`${l.index}: accessor property is required when the render function is not suplied`),i[l.accessor]};return E.createElement(Tn,{..._,bgColor:N(),selection:h,width:v(),key:f,title:i[l.accessor]},p())};_t.displayName="TABLE_CELL";const _n=L.styled.td`
|
|
41
41
|
padding: 0 0 0 1.25rem;
|
|
42
|
-
background-color: ${
|
|
42
|
+
background-color: ${t=>o.getColorRgbaValue(t.theme,"TableRow",null,"enabled","background")};
|
|
43
43
|
|
|
44
|
-
width: ${
|
|
45
|
-
${
|
|
46
|
-
`,
|
|
47
|
-
background-color: ${
|
|
48
|
-
`:""};return
|
|
44
|
+
width: ${t=>t.width}%;
|
|
45
|
+
${t=>t.bgColor}
|
|
46
|
+
`,Et=t=>{const{RowData:l={},onSelectRow:i=()=>{},IsSelected:f=null,Index:h=0,EnableRowHighlight:b=!1,GetRowHighlightColor:T=()=>"",className:A="",size:g="small",color:w="primary"}=t,R=F.useTheme(),_={className:A,size:g,color:w,theme:R},S=p=>{i(p,l,f)},v=p=>{const m=new Option().style;return m.color=p,m.color!==""},N=()=>{var p=T(l);return b===!0&&v(p)?`
|
|
47
|
+
background-color: ${p};
|
|
48
|
+
`:""};return E.createElement(_n,{bgColor:N(),..._,key:h,width:t.width},c.jsx(mt,{id:h,checked:f,onChange:S}))};Et.displayName="TABLE_SELECTION_CELL";const En=L.styled.tr`
|
|
49
49
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
50
|
-
`,
|
|
50
|
+
`,wt=t=>{const{Index:l=0,className:i="",size:f="small",color:h="primary"}=t,b=F.useTheme(),T={className:i,size:f,color:h,theme:b};return E.createElement(En,{...T,key:l},t.children)};wt.displayName="TABLE_HEAD_ROW";const wn=L.styled.th`
|
|
51
51
|
white-space: nowrap;
|
|
52
52
|
overflow: hidden;
|
|
53
53
|
text-overflow: ellipsis;
|
|
54
54
|
text-align: left;
|
|
55
55
|
transition: all 250ms ease;
|
|
56
56
|
padding: 0.875rem 1.5rem;
|
|
57
|
-
cursor: ${
|
|
58
|
-
width: ${
|
|
57
|
+
cursor: ${t=>t.ordering?"pointer":"default"};
|
|
58
|
+
width: ${t=>t.width};
|
|
59
59
|
|
|
60
60
|
&:hover {
|
|
61
|
-
${
|
|
61
|
+
${t=>t.ordering?`background-color: ${o.getColorRgbaValue(t.theme,"TableHeadCell",null,"hover","background")};`:""}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
${
|
|
64
|
+
${t=>o.getComponentTypographyCss(t.theme,"TableHeadCell",t.size,"enabled")};
|
|
65
65
|
|
|
66
|
-
color: ${
|
|
66
|
+
color: ${t=>o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","text")};
|
|
67
67
|
|
|
68
|
-
background-color: ${
|
|
68
|
+
background-color: ${t=>o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","background")};
|
|
69
69
|
|
|
70
|
-
border-top: ${
|
|
70
|
+
border-top: ${t=>"1px solid "+o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","border")};
|
|
71
71
|
|
|
72
|
-
border-bottom: ${
|
|
72
|
+
border-bottom: ${t=>"1px solid "+o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","border")};
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
&:first-of-type {
|
|
76
76
|
border-radius: 0.5rem 0 0 0;
|
|
77
|
-
border-left: ${
|
|
77
|
+
border-left: ${t=>"1px solid "+o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","border")};
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
&:last-of-type {
|
|
81
81
|
border-radius: 0 0.5rem 0 0;
|
|
82
|
-
border-right: ${
|
|
82
|
+
border-right: ${t=>"1px solid "+o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","border")};
|
|
83
83
|
}
|
|
84
|
-
`,Rn=
|
|
84
|
+
`,Rn=L.styled.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: row;
|
|
87
87
|
align-items: center;
|
|
88
|
-
`,Sn=
|
|
88
|
+
`,Sn=L.styled.span`
|
|
89
89
|
padding-right: 0.25rem;
|
|
90
90
|
white-space: nowrap;
|
|
91
91
|
overflow: hidden;
|
|
92
92
|
text-overflow: ellipsis;
|
|
93
93
|
|
|
94
|
-
color: ${
|
|
94
|
+
color: ${t=>o.getColorRgbaValue(t.theme,"TableHeadCell",t.color,"enabled","text")};
|
|
95
95
|
|
|
96
|
-
font-weight: ${
|
|
97
|
-
`,
|
|
96
|
+
font-weight: ${t=>o.getColorRgbaValue(t.theme,"TableHeadCell",t.color,"enabled","fontWeight")};
|
|
97
|
+
`,xn=L.styled.span`
|
|
98
98
|
& i {
|
|
99
|
-
color: ${
|
|
99
|
+
color: ${t=>t.sort?"transparent":o.getColorRgbaValue(t.theme,"TableHeadCell",t.color,"enabled","text")};
|
|
100
100
|
|
|
101
|
-
font-weight: ${
|
|
101
|
+
font-weight: ${t=>o.getColorRgbaValue(t.theme,"TableHeadCell",t.color,"enabled","fontWeight")};
|
|
102
102
|
}
|
|
103
|
-
`,
|
|
103
|
+
`,Rt=t=>{const{Column:l={},Ordering:i={},Index:f=0,onColumnClick:h=()=>{},EnableSelectAll:b=!1,EnableOrdering:T=!1,className:A="",size:g="small",color:w="primary"}=t,R=F.useTheme(),_={className:A,size:g,color:w,theme:R},S=()=>{if(l.sortable===!0&&T===!0){let p;return i&&i.columnId===l.id?(i.ascending===!0&&(p="angle-up"),i.descending===!0&&(p="angle-down"),i.ascending&&i.descending&&(p="sort")):p="sort",c.jsx(xn,{..._,sort:p==="sort",children:c.jsx(Pr,{..._,sizeInUnits:"14px",icon:p})})}return c.jsx(c.Fragment,{})},v=p=>{var m={columnId:l.id,ascending:!1,descending:!0};T===!0&&l.sortable===!0&&i&&i.columnId===l.id&&(i.ascending===!0&&(m.ascending=!1,m.descending=!1),i.descending===!0&&(m.ascending=!0,m.descending=!1),i.descending===!1&&i.ascending===!1&&(m.ascending=!1,m.descending=!0),h(p,l,m)),T===!0&&l.sortable===!0&&i&&i.columnId!==l.id&&h(p,l,m),(l.sortable!==!0||T!==!0)&&h(p,l)},N=()=>l&&l.width?l.width+"%":"auto";return E.createElement(wn,{onClick:v,..._,selection:b,ordering:T===!0&&l.sortable===!0,key:f,width:N(),title:l.displayName},c.jsxs(Rn,{..._,children:[c.jsx(Sn,{..._,children:l.displayName}),S()]}))};Rt.displayName="TABLE_HEAD_CELL";const An=L.styled.th`
|
|
104
104
|
text-align: left;
|
|
105
|
-
width: ${
|
|
105
|
+
width: ${t=>t.width};
|
|
106
106
|
padding-left: 1.25rem;
|
|
107
|
-
background-color: ${
|
|
108
|
-
border-top: ${
|
|
107
|
+
background-color: ${t=>o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","background")};
|
|
108
|
+
border-top: ${t=>"1px solid "+o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","border")};
|
|
109
109
|
|
|
110
|
-
border-bottom: ${
|
|
110
|
+
border-bottom: ${t=>"1px solid "+o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","border")};
|
|
111
111
|
|
|
112
112
|
border-radius: 0.5rem 0 0 0;
|
|
113
|
-
`,
|
|
113
|
+
`,St=t=>{const{EnableSelectAll:l,IsSelected:i=null,Index:f=0,onSelectAll:h,className:b="",size:T="small",color:A="primary"}=t,g=F.useTheme(),w={className:b,size:T,color:A,theme:g};return E.createElement(An,{...w,selection:l,key:f,width:t.width},l&&c.jsx(mt,{id:f,checked:i||!1,onChange:R=>h(R,i)}))};St.displayName="TABLE_HEAD_SELECTION_CELL";const jn=L.styled.td`
|
|
114
114
|
white-space: nowrap;
|
|
115
115
|
overflow: hidden;
|
|
116
116
|
text-overflow: ellipsis;
|
|
117
117
|
padding: 0.25rem 0.125rem;
|
|
118
|
-
`,
|
|
119
|
-
width: ${
|
|
118
|
+
`,vn=L.styled.div`
|
|
119
|
+
width: ${t=>t.width};
|
|
120
120
|
height: 100%;
|
|
121
121
|
border-radius: 100px;
|
|
122
|
-
background-color: ${
|
|
123
|
-
`,
|
|
122
|
+
background-color: ${t=>t.bgColor} !important;
|
|
123
|
+
`,xt=t=>{const{RowData:l={},Index:i,GetRowStatusIndicatorColor:f,className:h="",size:b="small",color:T="Primary"}=t,A=F.useTheme(),g={className:h,size:b,color:T,theme:A},w=()=>"4px",R=_=>{const S=new Option().style;return S.color=_,S.color!==""};return E.createElement(jn,{...g,width:w(),key:i,bgColor:()=>{var _=f(l);return R(_)?_:o.statusColor.NONE}},c.jsx(vn,{...g,width:w(),bgColor:()=>{var _=f(l);return R(_)?_:o.statusColor.NONE}}))};xt.displayName="TABLE_ROW_STATUS_INDICATOR_CELL";const Ln=L.styled.th`
|
|
124
124
|
padding: 0.125rem;
|
|
125
125
|
width: 8px;
|
|
126
126
|
|
|
127
|
-
background-color: ${
|
|
127
|
+
background-color: ${t=>o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","background")};
|
|
128
128
|
|
|
129
|
-
border-bottom: ${
|
|
129
|
+
border-bottom: ${t=>"1px solid "+o.getColorRgbaValue(t.theme,"TableHeadCell",null,"enabled","border")};
|
|
130
130
|
|
|
131
131
|
border-radius: 0.5rem 0 0 0;
|
|
132
|
-
`,
|
|
132
|
+
`,At=t=>{const{Index:l,className:i="",size:f="small",color:h="primary"}=t,b=F.useTheme(),T={className:i,size:f,color:h,theme:b};return E.createElement(Ln,{...T,key:l})};At.displayName="TABLE_HEAD_ROW_STATUS_INDICATOR_CELL";const On=L.styled.div`
|
|
133
133
|
display: flex;
|
|
134
134
|
flex-direction: column;
|
|
135
135
|
padding: 0.625rem;
|
|
136
136
|
margin: 0.125rem;
|
|
137
137
|
border-radius: 0.125rem;
|
|
138
|
-
overflow-x: ${
|
|
138
|
+
overflow-x: ${t=>t.isLoading?"hidden":"auto"};
|
|
139
139
|
white-space: nowrap;
|
|
140
140
|
position: relative;
|
|
141
141
|
|
|
142
|
-
${
|
|
143
|
-
`,In=
|
|
142
|
+
${t=>o.getComponentTypographyCss(t.theme,"Table",t.size,"enabled")};
|
|
143
|
+
`,In=L.styled.div`
|
|
144
144
|
position: absolute;
|
|
145
145
|
top: 0px;
|
|
146
146
|
right: 0px;
|
|
@@ -149,24 +149,24 @@ white-space: nowrap;
|
|
|
149
149
|
overflow: auto;
|
|
150
150
|
z-index: 1000;
|
|
151
151
|
opacity: 0.7;
|
|
152
|
-
background-color: ${
|
|
152
|
+
background-color: ${t=>o.getColorRgbaValue(t.theme,"Background","primary","enabled","background")};
|
|
153
153
|
filter: alpha(opacity=10);
|
|
154
154
|
display: flex;
|
|
155
155
|
align-items: center;
|
|
156
156
|
justify-content: center;
|
|
157
|
-
`,Hn=
|
|
157
|
+
`,Hn=L.styled.table`
|
|
158
158
|
height: 1px;
|
|
159
|
-
width: ${
|
|
159
|
+
width: ${t=>t.tableWidth};
|
|
160
160
|
white-space: nowrap;
|
|
161
161
|
border-collapse: collapse;
|
|
162
162
|
border-radius: 0.5rem;
|
|
163
163
|
border-style: hidden;
|
|
164
164
|
table-layout: fixed;
|
|
165
|
-
${
|
|
166
|
-
|
|
165
|
+
${t=>t.noBorder==!1&&`box-shadow: 0 0 0 0.0625rem ${o.getColorRgbaValue(t.theme,"Table",null,"enabled","border")};`}
|
|
166
|
+
`,$n=L.styled.span`
|
|
167
167
|
display: flex;
|
|
168
168
|
align-items: center;
|
|
169
169
|
justify-content: center;
|
|
170
|
-
${
|
|
170
|
+
${t=>o.getComponentTypographyCss(t.theme,"Table",t.size,"enabled")};
|
|
171
171
|
padding: 0.5rem;
|
|
172
|
-
|
|
172
|
+
`,Bn={TableContainer:"TABLE_CONTAINER",TableRow:"TABLE_ROW",TableCell:"TABLE_CELL",TableSelectionCell:"TABLE_SELLECTION_CELL",TableHeadRow:"TABLE_HEAD_ROW",TableHeadCell:"TABLE_HEAD_CELL",TableHeadSelectionCell:"TABLE_HEAD_SELECTION_CELL",TableHeader:"TABLE_HEADER",TableFooter:"TABLE_FOOTER",TableSpecialLastRow:"TABLE_SPECIAL_LAST_ROW",TableRowStatusIndicatorCell:"TABLE_ROW_STATUS_INDICATOR_CELL",TableHeadRowStatusIndicatorCell:"TABLE_HEAD_ROW_STATUS_INDICATOR_CELL",TableLoader:"TABLE_LOADER",TableBody:"TABLE_BODY",TableHead:"TABLE_HEAD"},jt=E.forwardRef((t,l)=>{var{EnableSelection:i=!1,EnableOrdering:f=!1,EnableSelectAll:h=!1,EnableLoader:b=!1,PreRenderedTableBody:T=!1,PreRenderedTableHead:A=!1,noBorder:g=!1,EnableRowStatusIndicator:w=!1,EnableRowHighlight:R=!1,GetRowStatusIndicatorColor:_=()=>{},GetRowHighlightColor:S=()=>{},GetRowHighlightCss:v=()=>{},NoDataText:N="No data to show",NoDataComponent:p=null,Loading:m=!1,Columns:j=[],Data:P=[],SelectedData:ee=[],SelectedEntirePage:se=!1,RowIdentifier:M="id",VisibilityPattern:H=null,Ordering:fe={},onColumnClick:he=()=>{},onRowClick:me=()=>{},onSelectRow:ie=()=>{},onSelectAll:be=()=>{},tableWidth:ge="100%",className:Ce="",color:pe="primary",size:q="small"}=t;const ye=F.useTheme(),x={theme:ye,color:pe,size:q};E.useImperativeHandle(l,()=>({getTableData:()=>P}),[P]);const[Ie,{width:z}]=Vr();var C=o.useScreenSize();E.useEffect(()=>{i===!0&&(M===null||M==="")&&console.error("Error: Selection is enabled but the 'RowIdentifier' is empty")},[]),E.useEffect(()=>{(j==null||j.length===0)&&console.error("Error: Columns array must have at least one item.")},[j]),E.useEffect(()=>{H&&(Object.hasOwn(H,o.screenSizes.XS.type)||console.error(K(o.screenSizes.XS.type)),Object.hasOwn(H,o.screenSizes.S.type)||console.error(K(o.screenSizes.S.type)),Object.hasOwn(H,o.screenSizes.M.type)||console.error(K(o.screenSizes.M.type)),Object.hasOwn(H,o.screenSizes.L.type)||console.error(K(o.screenSizes.L.type)),Object.hasOwn(H,o.screenSizes.XL.type)||console.error(K(o.screenSizes.XL.type)))},[H]);const K=s=>`Error: 'VisibilityPattern' missing property ${s}.`,te=()=>{let s=[];if(Zr(H)){if(s=H[C].map(d=>({...j.find(y=>String(y.id)===String(d.id)),...d})),i===!0){let d=U()/z*100/s.length;w===!0&&(d+=3/z*100),s=s.map(u=>({...u,width:u.width-d}))}}else if(s=j.map(d=>({...d})),i===!0){let d=U()/z*100/s.length;w===!0&&(d+=3/z*100),s=s.map(u=>({...u,width:u.width-d}))}return s},k=(s,d)=>{if(s&&s.length>0){var u=0,y=s.map(D=>D.width).reduce((D,Y)=>D+Y);i===!0&&(u=U()/z*100);var V=y+u;Yr(V)&&(V>101||V<98)&&console.error(`Error: Row ${d} - sum of column widths is ${V}.`)}},Te=s=>{let d={},u=ee.find(y=>String(y[M])===String(s[M]));return u!=null?d.IsSelected=!0:d.IsSelected=!1,d},U=()=>q==="small"?37:q==="medium"?43:q==="large"?49:37,He=(s={},d)=>{let u={};var y=te(),V=(v==null?void 0:v(s))||"";k(y,d),i===!0&&(u=Te(s));var D={onRowClick:me,onSelectRow:ie,RowData:s,SelectedData:ee,EnableSelection:i,Columns:j,ColumnsToRender:y,Index:d,key:d,rowCss:V,...x,...u},Y=c.jsxs(c.Fragment,{children:[w===!0&&ce(s),i===!0&&Be(u.IsSelected,s),y.map((xe,ze)=>$e(s,xe,ze,d,y))]});return o.renderCustomElement(o.getCustomRender("TABLE_ROW",t.children),D,Y)||E.createElement(pt,{...D,key:d,noBorder:g},Y)},$e=(s,d,u,y,V)=>{var D={RowData:s,Column:d,ColumnsToRender:V,Index:u,RowIndex:y,key:u,EnableSelection:i,RowIdentifier:M,EnableRowHighlight:R,GetRowHighlightColor:S,...x};return o.renderCustomElement(o.getCustomRender("TABLE_CELL",t.children),D)||E.createElement(_t,{...D,key:u})},Be=(s,d,u=-1)=>{var y={SelectedData:ee,RowData:d,onSelectRow:ie,Index:u,key:u,IsSelected:s,EnableRowHighlight:R,GetRowHighlightColor:S,...x};return o.renderCustomElement(o.getCustomRender("TABLE_SELLECTION_CELL",t.children),y)||E.createElement(Et,{...y,key:u,width:U()/z*100})},Ne=()=>{var s={Columns:j,...x},d=c.jsxs(c.Fragment,{children:[w===!0&&Re(),i===!0&&_e(),te().map((u,y)=>Pe(u,y))]});return o.renderCustomElement(o.getCustomRender("TABLE_HEAD_ROW",t.children),s,d)||E.createElement(wt,{...s,key:0},d)},Pe=(s,d,u)=>{var y={Index:d,Column:s,Ordering:fe,EnableOrdering:f,EnableSelectAll:h,onColumnClick:he,ColumnsToRender:u,...x};return o.renderCustomElement(o.getCustomRender("TABLE_HEAD_CELL",t.children),y)||E.createElement(Rt,{...y,key:d})},_e=()=>{var s={Index:-1,IsSelected:se,onSelectAll:be,EnableSelectAll:h,...x};return o.renderCustomElement(o.getCustomRender("TABLE_HEAD_SELECTION_CELL",t.children),s)||E.createElement(St,{...s,key:-1,width:U()/z*100})},De=()=>o.renderCustomElement(o.getCustomRender("TABLE_HEADER",t.children),{Data:P,Columns:j,...x})||c.jsx(c.Fragment,{}),ke=()=>o.renderCustomElement(o.getCustomRender("TABLE_FOOTER",t.children),{Data:P,Columns:j,...x})||c.jsx(c.Fragment,{}),Ee=()=>o.renderCustomElement(o.getCustomRender("TABLE_SPECIAL_LAST_ROW",t.children),{Data:P,Columns:j,ColumnsToRender:te(),Disabled:m,...x})||c.jsx(c.Fragment,{}),we=()=>{if(P==null||P&&P.length===0){var s=te().length;return i===!0&&s++,w===!0&&s++,c.jsx("tr",{children:c.jsx("td",{colSpan:s,children:p?c.jsx(p,{}):c.jsx($n,{...x,children:N})})})}return c.jsx(c.Fragment,{})},ce=s=>{var d={...x,key:-1,RowData:s,GetRowStatusIndicatorColor:_};return w===!0?c.jsx(c.Fragment,{children:o.renderCustomElement(o.getCustomRender("TABLE_ROW_STATUS_INDICATOR_CELL",t.children),d)||c.jsx(xt,{...d,noBorder:g})}):c.jsx(c.Fragment,{})},Re=()=>{var s={...x,key:-1};return w===!0?c.jsx(c.Fragment,{children:o.renderCustomElement(o.getCustomRender("TABLE_HEAD_ROW_STATUS_INDICATOR_CELL",t.children),s)||c.jsx(At,{...s})}):c.jsx(c.Fragment,{})},Fe=()=>b===!0&&m===!0?c.jsx(c.Fragment,{children:c.jsx(In,{theme:ye,children:o.renderCustomElement(o.getCustomRender("TABLE_LOADER",t.children),{...x,Loading:m})||c.jsx(Dr,{...x})})}):c.jsx(c.Fragment,{}),Ve=()=>{var s=ft(t);delete s.__TYPE__;var d=c.jsxs(c.Fragment,{children:[P.map((u,y)=>He(u,y)),we()]});return o.renderCustomElement(o.getCustomRender("TABLE_BODY",t.children),s,T?d:void 0)||c.jsx(gt,{...x,children:d})},re=()=>{var s=ft(t);delete s.__TYPE__;var d=c.jsx(c.Fragment,{children:Ne()});return o.renderCustomElement(o.getCustomRender("TABLE_HEAD",t.children),s,A?d:null)||c.jsx(Ct,{...x,children:d})};return(()=>{var s={className:Ce,Loading:m,...x},d=c.jsxs(c.Fragment,{children:[Fe(),De(),c.jsxs(Hn,{...x,width:ge||"100%","data-table":!0,ref:Ie,noBorder:g,children:[re(),Ve()]}),Ee(),ke()]});return o.renderCustomElement(o.getCustomRender("TABLE_CONTAINER",t.children),s,d)||c.jsx(On,{...s,isLoading:b?m:!1,children:d})})()});jt.displayName="TABLE";exports.TableComponentOverrides=Bn;exports.default=jt;
|