freemium-ui 2.0.62 → 2.0.64
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/lib/index.cjs.js +44 -43
- package/lib/index.d.ts +1 -0
- package/lib/index.js +44 -43
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/lib/index.cjs.js
CHANGED
|
@@ -17234,70 +17234,71 @@ e.preventDefault(),a?.("button",e)},"aria-label":i},i)),u&&e.createElement(Yy,{
|
|
|
17234
17234
|
asChild:!0},e.createElement(xm,{variant:"primary","aria-disabled":s,disabled:s,
|
|
17235
17235
|
onClick:e=>{e.preventDefault(),o?.(e)},"aria-label":u},u))))))
|
|
17236
17236
|
},exports.CrossIcon=ro,exports.DatePicker=t=>{
|
|
17237
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,
|
|
17238
|
-
;return e.createElement(WN,{id:`date-picker-container-${
|
|
17239
|
-
"aria-invalid":i,dir:
|
|
17237
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,portalContainer:u,disabled:d,displayFormat:h="YYYY-MM-DD",...p}=t,f=cr()
|
|
17238
|
+
;return e.createElement(WN,{id:`date-picker-container-${s??""}`.trim(),
|
|
17239
|
+
"aria-invalid":i,dir:f.direction},a&&e.createElement(Do,{htmlFor:t.id,
|
|
17240
17240
|
className:"input-label"
|
|
17241
17241
|
},a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
|
|
17242
17242
|
disabled:t.disabled}),e.createElement(vN,{canClearSelection:!0,
|
|
17243
|
-
closeOnSelection:!1,disabled:
|
|
17244
|
-
fill:!0,highlightCurrentDay:!0,
|
|
17245
|
-
"aria-disabled":
|
|
17246
|
-
Dropdown:t=>e.createElement(qN,{...t,
|
|
17247
|
-
popoverProps:{minimal:!1,
|
|
17248
|
-
placement:"ltr"===
|
|
17249
|
-
portalContainer:
|
|
17250
|
-
formatDate:e=>e?FN(e).format(
|
|
17243
|
+
closeOnSelection:!1,disabled:d,locale:l||"en",
|
|
17244
|
+
maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
|
|
17245
|
+
inputProps:{placeholder:n||h,name:r,id:s,"aria-disabled":d},dayPickerProps:{
|
|
17246
|
+
disabled:d,dir:f.direction,components:{Dropdown:t=>e.createElement(qN,{...t,
|
|
17247
|
+
disabled:d})}},showActionsBar:!0,popoverProps:{minimal:!1,
|
|
17248
|
+
placement:"ltr"===f.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
17249
|
+
portalContainer:u??document.body},parseDate:e=>e?FN(e).toDate():new Date,
|
|
17250
|
+
formatDate:e=>e?FN(e).format(h):"",...p}),i&&c&&e.createElement(lm,null,c))
|
|
17251
17251
|
},exports.DateRangePicker=t=>{
|
|
17252
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,displayFormat:
|
|
17252
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,language:u,displayFormat:d="YYYY-MM-DD",...h}=t,p=cr()
|
|
17253
17253
|
;return e.createElement(WN,{id:`date-picker-container-${c??""}`.trim(),
|
|
17254
|
-
"aria-invalid":i,dir:
|
|
17254
|
+
"aria-invalid":i,dir:p.direction},a&&e.createElement(Do,{htmlFor:t.id,
|
|
17255
17255
|
className:"input-label"
|
|
17256
17256
|
},a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
|
|
17257
17257
|
disabled:t.disabled}),e.createElement(PN,{closeOnSelection:!1,disabled:s,
|
|
17258
|
-
maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,
|
|
17259
|
-
shortcuts:!1,startInputProps:{placeholder:n||
|
|
17260
|
-
"aria-disabled":s},endInputProps:{placeholder:n||
|
|
17261
|
-
"aria-disabled":s},dayPickerProps:{disabled:s,dir:
|
|
17262
|
-
Dropdown:t=>e.createElement(qN,{...t,disabled:s})}},
|
|
17258
|
+
locale:u||"en",maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,
|
|
17259
|
+
highlightCurrentDay:!0,shortcuts:!1,startInputProps:{placeholder:n||d,name:r,
|
|
17260
|
+
id:`start-${c}`,"aria-disabled":s},endInputProps:{placeholder:n||d,name:r,
|
|
17261
|
+
id:`end-${c}`,"aria-disabled":s},dayPickerProps:{disabled:s,dir:p.direction,
|
|
17262
|
+
components:{Dropdown:t=>e.createElement(qN,{...t,disabled:s})}},
|
|
17263
17263
|
footerElement:e.createElement(YN,null,e.createElement(UN,{onClick:()=>{
|
|
17264
|
-
|
|
17265
|
-
placement:"ltr"===
|
|
17266
|
-
parseDate:e=>e?FN(e).toDate():new Date,formatDate:e=>e?FN(e).format(
|
|
17264
|
+
h.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
|
|
17265
|
+
placement:"ltr"===p.direction?"bottom-start":"bottom-end",usePortal:!0},
|
|
17266
|
+
parseDate:e=>e?FN(e).toDate():new Date,formatDate:e=>e?FN(e).format(d):"",...h
|
|
17267
17267
|
}),i&&l&&e.createElement(lm,null,l))},exports.DateTimePicker=t=>{
|
|
17268
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,
|
|
17268
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,language:s,portalContainer:u,disabled:d,displayFormat:h="YYYY-MM-DD hh:mm A",...p}=t,f=cr()
|
|
17269
17269
|
;return e.createElement(WN,{id:`datetime-picker-container-${c??""}`.trim(),
|
|
17270
|
-
"aria-invalid":i,dir:
|
|
17270
|
+
"aria-invalid":i,dir:f.direction},a&&e.createElement(Do,{htmlFor:t.id,
|
|
17271
17271
|
className:"input-label"
|
|
17272
17272
|
},a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
|
|
17273
17273
|
disabled:t.disabled}),e.createElement(vN,{canClearSelection:!0,
|
|
17274
|
-
closeOnSelection:!1,disabled:
|
|
17274
|
+
closeOnSelection:!1,disabled:d,locale:s||"en",
|
|
17275
|
+
maxDate:FN(new Date).add(10,"years").toDate(),
|
|
17275
17276
|
minDate:FN(new Date).subtract(100,"years").toDate(),fill:!0,
|
|
17276
|
-
highlightCurrentDay:!0,inputProps:{placeholder:n||
|
|
17277
|
-
"aria-disabled":
|
|
17278
|
-
Dropdown:t=>e.createElement(qN,{...t,disabled:
|
|
17277
|
+
highlightCurrentDay:!0,inputProps:{placeholder:n||h,name:r,id:c,
|
|
17278
|
+
"aria-disabled":d},dayPickerProps:{disabled:d,dir:f.direction,components:{
|
|
17279
|
+
Dropdown:t=>e.createElement(qN,{...t,disabled:d})}},showActionsBar:!0,
|
|
17279
17280
|
timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
|
|
17280
17281
|
showTimezoneSelect:!1,disableTimezoneSelect:!0,popoverProps:{minimal:!1,
|
|
17281
|
-
placement:"ltr"===
|
|
17282
|
-
portalContainer:
|
|
17283
|
-
formatDate:e=>e?FN(e).format(
|
|
17282
|
+
placement:"ltr"===f.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
17283
|
+
portalContainer:u??document.body},parseDate:e=>e?FN(e).toDate():new Date,
|
|
17284
|
+
formatDate:e=>e?FN(e).format(h):"",...p}),i&&l&&e.createElement(lm,null,l))
|
|
17284
17285
|
},exports.DateTimeRangePicker=t=>{
|
|
17285
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,
|
|
17286
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,language:s,disabled:u,displayFormat:d="YYYY-MM-DD hh:mm A",...h}=t,p=cr()
|
|
17286
17287
|
;return e.createElement(WN,{id:`date-picker-container-${c??""}`.trim(),
|
|
17287
|
-
"aria-invalid":i,dir:
|
|
17288
|
+
"aria-invalid":i,dir:p.direction},a&&e.createElement(Do,{htmlFor:t.id,
|
|
17288
17289
|
className:"input-label"
|
|
17289
17290
|
},a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
|
|
17290
|
-
disabled:t.disabled}),e.createElement(PN,{closeOnSelection:!1,disabled:
|
|
17291
|
-
maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,
|
|
17292
|
-
shortcuts:!1,startInputProps:{placeholder:n||
|
|
17293
|
-
"aria-disabled":
|
|
17294
|
-
"aria-disabled":
|
|
17295
|
-
Dropdown:t=>e.createElement(qN,{...t,disabled:
|
|
17296
|
-
timePickerProps:{useAmPm:!0,showArrowButtons:!1},
|
|
17291
|
+
disabled:t.disabled}),e.createElement(PN,{closeOnSelection:!1,disabled:u,
|
|
17292
|
+
locale:s||"en",maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,
|
|
17293
|
+
highlightCurrentDay:!0,shortcuts:!1,startInputProps:{placeholder:n||d,name:r,
|
|
17294
|
+
id:`start-${c}`,"aria-disabled":u},endInputProps:{placeholder:n||d,name:r,
|
|
17295
|
+
id:`end-${c}`,"aria-disabled":u},dayPickerProps:{disabled:u,dir:p.direction,
|
|
17296
|
+
components:{Dropdown:t=>e.createElement(qN,{...t,disabled:u})}},
|
|
17297
|
+
timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
|
|
17297
17298
|
footerElement:e.createElement(YN,null,e.createElement(UN,{onClick:()=>{
|
|
17298
|
-
|
|
17299
|
-
placement:"ltr"===
|
|
17300
|
-
parseDate:e=>e?FN(e).toDate():new Date,formatDate:e=>e?FN(e).format(
|
|
17299
|
+
h.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
|
|
17300
|
+
placement:"ltr"===p.direction?"bottom-start":"bottom-end",usePortal:!0},
|
|
17301
|
+
parseDate:e=>e?FN(e).toDate():new Date,formatDate:e=>e?FN(e).format(d):"",...h
|
|
17301
17302
|
}),i&&l&&e.createElement(lm,null,l))
|
|
17302
17303
|
},exports.Drawer=({isOpen:t,children:n,hideDismissIcon:r,customClass:o="",size:a="default",isFullHeight:i=!0,placement:l="right",clickOutToClose:c=!1,onDismiss:s})=>{
|
|
17303
17304
|
const u=cr(),d="rtl"===u.direction?"right"===l?"left":"right":l
|
|
@@ -17585,7 +17586,7 @@ enableRowSelection:!0,manualPagination:!0,rowCount:J?-1:b
|
|
|
17585
17586
|
}),{getPageCount:re,getRowModel:oe,getState:ae,getCanNextPage:ie,getCanPreviousPage:le,getPageOptions:ce,previousPage:se,setPageIndex:ue,nextPage:de,lastPage:he,firstPage:pe}=ne,{rows:fe}=oe(),{pagination:{pageIndex:me,pageSize:ve}}=ae(),ge=me*ve+(me<re()-1?ve:fe.length),ye=ne.getAllColumns().filter((e=>e.getIsVisible())).length+(k?0:1)+(_?1:0)
|
|
17586
17587
|
;return e.createElement(bU,{className:"TableContainer"},y&&e.createElement(EU,{
|
|
17587
17588
|
className:"table-actions"},e.createElement(HU,{
|
|
17588
|
-
className:"table-header-component"},u??null)
|
|
17589
|
+
className:"table-header-component"},u??null),!!w&&e.createElement(kU,{
|
|
17589
17590
|
className:"table-header-dropdown-pagination"},e.createElement(AU,{
|
|
17590
17591
|
className:"pagination-actions"
|
|
17591
17592
|
},!p&&e.createElement(e.Fragment,null,e.createElement(Yo,{variant:"primary",
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -13605,70 +13605,71 @@ defaultSelectedItem:n.find((t=>t.id===e.value))??null,style:e.style,
|
|
|
13605
13605
|
className:`${e.className??""} bp-custom-dropdown bp-custom-dropdown-${e.name??""}`.trim(),
|
|
13606
13606
|
onChange:t=>{e?.onChange?.({target:{value:t?.id}})}})}
|
|
13607
13607
|
return t.createElement(kb,{itemToString:()=>"",type:"button"})},EF=e=>{
|
|
13608
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,
|
|
13609
|
-
;return t.createElement(CF,{id:`date-picker-container-${
|
|
13610
|
-
"aria-invalid":i,dir:
|
|
13608
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,portalContainer:u,disabled:d,displayFormat:h="YYYY-MM-DD",...p}=e,f=Hr()
|
|
13609
|
+
;return t.createElement(CF,{id:`date-picker-container-${s??""}`.trim(),
|
|
13610
|
+
"aria-invalid":i,dir:f.direction},a&&t.createElement(Zo,{htmlFor:e.id,
|
|
13611
13611
|
className:"input-label"
|
|
13612
13612
|
},a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
|
|
13613
13613
|
disabled:e.disabled}),t.createElement(YN,{canClearSelection:!0,
|
|
13614
|
-
closeOnSelection:!1,disabled:
|
|
13615
|
-
fill:!0,highlightCurrentDay:!0,
|
|
13616
|
-
"aria-disabled":
|
|
13617
|
-
Dropdown:e=>t.createElement(xF,{...e,
|
|
13618
|
-
popoverProps:{minimal:!1,
|
|
13619
|
-
placement:"ltr"===
|
|
13620
|
-
portalContainer:
|
|
13621
|
-
formatDate:e=>e?mF(e).format(
|
|
13614
|
+
closeOnSelection:!1,disabled:d,locale:l||"en",
|
|
13615
|
+
maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
|
|
13616
|
+
inputProps:{placeholder:n||h,name:r,id:s,"aria-disabled":d},dayPickerProps:{
|
|
13617
|
+
disabled:d,dir:f.direction,components:{Dropdown:e=>t.createElement(xF,{...e,
|
|
13618
|
+
disabled:d})}},showActionsBar:!0,popoverProps:{minimal:!1,
|
|
13619
|
+
placement:"ltr"===f.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
13620
|
+
portalContainer:u??document.body},parseDate:e=>e?mF(e).toDate():new Date,
|
|
13621
|
+
formatDate:e=>e?mF(e).format(h):"",...p}),i&&c&&t.createElement(Dm,null,c))
|
|
13622
13622
|
},SF=e=>{
|
|
13623
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,
|
|
13623
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,language:s,portalContainer:u,disabled:d,displayFormat:h="YYYY-MM-DD hh:mm A",...p}=e,f=Hr()
|
|
13624
13624
|
;return t.createElement(CF,{id:`datetime-picker-container-${c??""}`.trim(),
|
|
13625
|
-
"aria-invalid":i,dir:
|
|
13625
|
+
"aria-invalid":i,dir:f.direction},a&&t.createElement(Zo,{htmlFor:e.id,
|
|
13626
13626
|
className:"input-label"
|
|
13627
13627
|
},a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
|
|
13628
13628
|
disabled:e.disabled}),t.createElement(YN,{canClearSelection:!0,
|
|
13629
|
-
closeOnSelection:!1,disabled:
|
|
13629
|
+
closeOnSelection:!1,disabled:d,locale:s||"en",
|
|
13630
|
+
maxDate:mF(new Date).add(10,"years").toDate(),
|
|
13630
13631
|
minDate:mF(new Date).subtract(100,"years").toDate(),fill:!0,
|
|
13631
|
-
highlightCurrentDay:!0,inputProps:{placeholder:n||
|
|
13632
|
-
"aria-disabled":
|
|
13633
|
-
Dropdown:e=>t.createElement(xF,{...e,disabled:
|
|
13632
|
+
highlightCurrentDay:!0,inputProps:{placeholder:n||h,name:r,id:c,
|
|
13633
|
+
"aria-disabled":d},dayPickerProps:{disabled:d,dir:f.direction,components:{
|
|
13634
|
+
Dropdown:e=>t.createElement(xF,{...e,disabled:d})}},showActionsBar:!0,
|
|
13634
13635
|
timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
|
|
13635
13636
|
showTimezoneSelect:!1,disableTimezoneSelect:!0,popoverProps:{minimal:!1,
|
|
13636
|
-
placement:"ltr"===
|
|
13637
|
-
portalContainer:
|
|
13638
|
-
formatDate:e=>e?mF(e).format(
|
|
13637
|
+
placement:"ltr"===f.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
13638
|
+
portalContainer:u??document.body},parseDate:e=>e?mF(e).toDate():new Date,
|
|
13639
|
+
formatDate:e=>e?mF(e).format(h):"",...p}),i&&l&&t.createElement(Dm,null,l))
|
|
13639
13640
|
},_F=e=>{
|
|
13640
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,displayFormat:
|
|
13641
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,language:u,displayFormat:d="YYYY-MM-DD",...h}=e,p=Hr()
|
|
13641
13642
|
;return t.createElement(CF,{id:`date-picker-container-${c??""}`.trim(),
|
|
13642
|
-
"aria-invalid":i,dir:
|
|
13643
|
+
"aria-invalid":i,dir:p.direction},a&&t.createElement(Zo,{htmlFor:e.id,
|
|
13643
13644
|
className:"input-label"
|
|
13644
13645
|
},a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
|
|
13645
13646
|
disabled:e.disabled}),t.createElement(dF,{closeOnSelection:!1,disabled:s,
|
|
13646
|
-
maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,
|
|
13647
|
-
shortcuts:!1,startInputProps:{placeholder:n||
|
|
13648
|
-
"aria-disabled":s},endInputProps:{placeholder:n||
|
|
13649
|
-
"aria-disabled":s},dayPickerProps:{disabled:s,dir:
|
|
13650
|
-
Dropdown:e=>t.createElement(xF,{...e,disabled:s})}},
|
|
13647
|
+
locale:u||"en",maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,
|
|
13648
|
+
highlightCurrentDay:!0,shortcuts:!1,startInputProps:{placeholder:n||d,name:r,
|
|
13649
|
+
id:`start-${c}`,"aria-disabled":s},endInputProps:{placeholder:n||d,name:r,
|
|
13650
|
+
id:`end-${c}`,"aria-disabled":s},dayPickerProps:{disabled:s,dir:p.direction,
|
|
13651
|
+
components:{Dropdown:e=>t.createElement(xF,{...e,disabled:s})}},
|
|
13651
13652
|
footerElement:t.createElement(wF,null,t.createElement(bF,{onClick:()=>{
|
|
13652
|
-
|
|
13653
|
-
placement:"ltr"===
|
|
13654
|
-
parseDate:e=>e?mF(e).toDate():new Date,formatDate:e=>e?mF(e).format(
|
|
13653
|
+
h.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
|
|
13654
|
+
placement:"ltr"===p.direction?"bottom-start":"bottom-end",usePortal:!0},
|
|
13655
|
+
parseDate:e=>e?mF(e).toDate():new Date,formatDate:e=>e?mF(e).format(d):"",...h
|
|
13655
13656
|
}),i&&l&&t.createElement(Dm,null,l))},HF=e=>{
|
|
13656
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,
|
|
13657
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,language:s,disabled:u,displayFormat:d="YYYY-MM-DD hh:mm A",...h}=e,p=Hr()
|
|
13657
13658
|
;return t.createElement(CF,{id:`date-picker-container-${c??""}`.trim(),
|
|
13658
|
-
"aria-invalid":i,dir:
|
|
13659
|
+
"aria-invalid":i,dir:p.direction},a&&t.createElement(Zo,{htmlFor:e.id,
|
|
13659
13660
|
className:"input-label"
|
|
13660
13661
|
},a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
|
|
13661
|
-
disabled:e.disabled}),t.createElement(dF,{closeOnSelection:!1,disabled:
|
|
13662
|
-
maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,
|
|
13663
|
-
shortcuts:!1,startInputProps:{placeholder:n||
|
|
13664
|
-
"aria-disabled":
|
|
13665
|
-
"aria-disabled":
|
|
13666
|
-
Dropdown:e=>t.createElement(xF,{...e,disabled:
|
|
13667
|
-
timePickerProps:{useAmPm:!0,showArrowButtons:!1},
|
|
13662
|
+
disabled:e.disabled}),t.createElement(dF,{closeOnSelection:!1,disabled:u,
|
|
13663
|
+
locale:s||"en",maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,
|
|
13664
|
+
highlightCurrentDay:!0,shortcuts:!1,startInputProps:{placeholder:n||d,name:r,
|
|
13665
|
+
id:`start-${c}`,"aria-disabled":u},endInputProps:{placeholder:n||d,name:r,
|
|
13666
|
+
id:`end-${c}`,"aria-disabled":u},dayPickerProps:{disabled:u,dir:p.direction,
|
|
13667
|
+
components:{Dropdown:e=>t.createElement(xF,{...e,disabled:u})}},
|
|
13668
|
+
timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
|
|
13668
13669
|
footerElement:t.createElement(wF,null,t.createElement(bF,{onClick:()=>{
|
|
13669
|
-
|
|
13670
|
-
placement:"ltr"===
|
|
13671
|
-
parseDate:e=>e?mF(e).toDate():new Date,formatDate:e=>e?mF(e).format(
|
|
13670
|
+
h.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
|
|
13671
|
+
placement:"ltr"===p.direction?"bottom-start":"bottom-end",usePortal:!0},
|
|
13672
|
+
parseDate:e=>e?mF(e).toDate():new Date,formatDate:e=>e?mF(e).format(d):"",...h
|
|
13672
13673
|
}),i&&l&&t.createElement(Dm,null,l))},DF=[{id:"AM",name:"AM"},{id:"PM",name:"PM"
|
|
13673
13674
|
}],AF=e=>{
|
|
13674
13675
|
const{isRequired:n,label:r,isErrored:o,errorText:a,id:i,disabled:l,precision:c="minute",useAmPm:s,value:u="",onChange:d}=e,h=Hr()
|
|
@@ -17391,7 +17392,7 @@ enableRowSelection:!0,manualPagination:!0,rowCount:J?-1:b
|
|
|
17391
17392
|
}),{getPageCount:re,getRowModel:oe,getState:ae,getCanNextPage:ie,getCanPreviousPage:le,getPageOptions:ce,previousPage:se,setPageIndex:ue,nextPage:de,lastPage:he,firstPage:pe}=ne,{rows:fe}=oe(),{pagination:{pageIndex:me,pageSize:ve}}=ae(),ge=me*ve+(me<re()-1?ve:fe.length),ye=ne.getAllColumns().filter((e=>e.getIsVisible())).length+(A?0:1)+(_?1:0)
|
|
17392
17393
|
;return t.createElement(eY,{className:"TableContainer"},y&&t.createElement(iY,{
|
|
17393
17394
|
className:"table-actions"},t.createElement(sY,{
|
|
17394
|
-
className:"table-header-component"},u??null)
|
|
17395
|
+
className:"table-header-component"},u??null),!!w&&t.createElement(dY,{
|
|
17395
17396
|
className:"table-header-dropdown-pagination"},t.createElement(hY,{
|
|
17396
17397
|
className:"pagination-actions"
|
|
17397
17398
|
},!p&&t.createElement(t.Fragment,null,t.createElement(ha,{variant:"primary",
|
package/lib/package.json
CHANGED