@commercetools/nimbus 2.1.0 → 2.3.0
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/README.md +87 -21
- package/dist/chunks/{CollectionBuilder-ZlIN4SR4.es.js → CollectionBuilder-BOe312C_.es.js} +6 -24
- package/dist/chunks/{CollectionBuilder-ZlIN4SR4.es.js.map → CollectionBuilder-BOe312C_.es.js.map} +1 -1
- package/dist/chunks/{CollectionBuilder-BipvtvSl.cjs.js → CollectionBuilder-DjRx57vm.cjs.js} +2 -18
- package/dist/chunks/{CollectionBuilder-BipvtvSl.cjs.js.map → CollectionBuilder-DjRx57vm.cjs.js.map} +1 -1
- package/dist/chunks/DateField-BxXzaXAv.cjs.js +2 -0
- package/dist/chunks/DateField-BxXzaXAv.cjs.js.map +1 -0
- package/dist/chunks/{DateField-C5JgBb30.es.js → DateField-DCWy1Ysp.es.js} +662 -631
- package/dist/chunks/DateField-DCWy1Ysp.es.js.map +1 -0
- package/dist/chunks/{DatePicker-DeknOPX6.es.js → DatePicker-CL72jbDo.es.js} +6 -6
- package/dist/chunks/{DatePicker-DeknOPX6.es.js.map → DatePicker-CL72jbDo.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-DGLrUdLu.cjs.js → DatePicker-NWRDzwUt.cjs.js} +2 -2
- package/dist/chunks/{DatePicker-DGLrUdLu.cjs.js.map → DatePicker-NWRDzwUt.cjs.js.map} +1 -1
- package/dist/chunks/{Dialog-DUbUCf4o.es.js → Dialog-B0BQfdQa.es.js} +58 -58
- package/dist/chunks/{Dialog-DUbUCf4o.es.js.map → Dialog-B0BQfdQa.es.js.map} +1 -1
- package/dist/chunks/{Dialog-Ye_7tQZU.cjs.js → Dialog-CSr6lHSd.cjs.js} +2 -2
- package/dist/chunks/{Dialog-Ye_7tQZU.cjs.js.map → Dialog-CSr6lHSd.cjs.js.map} +1 -1
- package/dist/chunks/{Header-Bvl-gjeR.cjs.js → Header-BXEPjypM.cjs.js} +2 -2
- package/dist/chunks/{Header-Bvl-gjeR.cjs.js.map → Header-BXEPjypM.cjs.js.map} +1 -1
- package/dist/chunks/{Header-Bvo6aMcQ.es.js → Header-CiYtrnTw.es.js} +3 -3
- package/dist/chunks/{Header-Bvo6aMcQ.es.js.map → Header-CiYtrnTw.es.js.map} +1 -1
- package/dist/chunks/{Heading-D7Ut7eK3.es.js → Heading-BMsylHxq.es.js} +3 -3
- package/dist/chunks/{Heading-D7Ut7eK3.es.js.map → Heading-BMsylHxq.es.js.map} +1 -1
- package/dist/chunks/{Heading-kcnZ-PKv.cjs.js → Heading-C7J8IDnn.cjs.js} +2 -2
- package/dist/chunks/{Heading-kcnZ-PKv.cjs.js.map → Heading-C7J8IDnn.cjs.js.map} +1 -1
- package/dist/chunks/{ListBox-C8TVMFFY.es.js → ListBox-RrHJjnuq.es.js} +34 -36
- package/dist/chunks/{ListBox-C8TVMFFY.es.js.map → ListBox-RrHJjnuq.es.js.map} +1 -1
- package/dist/chunks/{ListBox-Dcnj8pHo.cjs.js → ListBox-rm_vuzPg.cjs.js} +2 -2
- package/dist/chunks/{ListBox-Dcnj8pHo.cjs.js.map → ListBox-rm_vuzPg.cjs.js.map} +1 -1
- package/dist/chunks/LocalizedStringDictionary-DZNwHzto.cjs.js +2 -0
- package/dist/chunks/LocalizedStringDictionary-DZNwHzto.cjs.js.map +1 -0
- package/dist/chunks/LocalizedStringDictionary-rmcyf3BY.es.js +48 -0
- package/dist/chunks/LocalizedStringDictionary-rmcyf3BY.es.js.map +1 -0
- package/dist/chunks/{Modal-CMJEwrBs.es.js → Modal-K4JEy19g.es.js} +3 -3
- package/dist/chunks/{Modal-CMJEwrBs.es.js.map → Modal-K4JEy19g.es.js.map} +1 -1
- package/dist/chunks/{Modal-DjOIA2BE.cjs.js → Modal-u97jKK9t.cjs.js} +2 -2
- package/dist/chunks/{Modal-DjOIA2BE.cjs.js.map → Modal-u97jKK9t.cjs.js.map} +1 -1
- package/dist/chunks/{SelectionManager-CCETIs4l.cjs.js → SelectionManager-5YkuhVau.cjs.js} +2 -2
- package/dist/chunks/{SelectionManager-CCETIs4l.cjs.js.map → SelectionManager-5YkuhVau.cjs.js.map} +1 -1
- package/dist/chunks/{SelectionManager-bgcDT3lR.es.js → SelectionManager-CX9btso_.es.js} +24 -31
- package/dist/chunks/{SelectionManager-bgcDT3lR.es.js.map → SelectionManager-CX9btso_.es.js.map} +1 -1
- package/dist/chunks/{Separator-DyU2njbj.cjs.js → Separator-BvA4UGuq.cjs.js} +2 -2
- package/dist/chunks/{Separator-DyU2njbj.cjs.js.map → Separator-BvA4UGuq.cjs.js.map} +1 -1
- package/dist/chunks/{Separator-BmVimNX_.es.js → Separator-x6wk4JUe.es.js} +2 -2
- package/dist/chunks/{Separator-BmVimNX_.es.js.map → Separator-x6wk4JUe.es.js.map} +1 -1
- package/dist/chunks/{accordion-Bu9iEN-Z.es.js → accordion-Cwy8ywRo.es.js} +2 -2
- package/dist/chunks/{accordion-Bu9iEN-Z.es.js.map → accordion-Cwy8ywRo.es.js.map} +1 -1
- package/dist/chunks/{accordion-AupzDJ2i.cjs.js → accordion-DvftRW7J.cjs.js} +2 -2
- package/dist/chunks/{accordion-AupzDJ2i.cjs.js.map → accordion-DvftRW7J.cjs.js.map} +1 -1
- package/dist/chunks/{accordion.content-DwLtYzIy.cjs.js → accordion.content-DBBMLq5x.cjs.js} +2 -2
- package/dist/chunks/{accordion.content-DwLtYzIy.cjs.js.map → accordion.content-DBBMLq5x.cjs.js.map} +1 -1
- package/dist/chunks/{accordion.content-C8iYlvoi.es.js → accordion.content-DR_1dtdK.es.js} +2 -2
- package/dist/chunks/{accordion.content-C8iYlvoi.es.js.map → accordion.content-DR_1dtdK.es.js.map} +1 -1
- package/dist/chunks/alert-D5SDMEKA.cjs.js +2 -0
- package/dist/chunks/alert-D5SDMEKA.cjs.js.map +1 -0
- package/dist/chunks/alert-WiLa3ap4.es.js +158 -0
- package/dist/chunks/alert-WiLa3ap4.es.js.map +1 -0
- package/dist/chunks/avatar-1Y7cLjZT.es.js +59 -0
- package/dist/chunks/avatar-1Y7cLjZT.es.js.map +1 -0
- package/dist/chunks/avatar-BVQ91Ccd.cjs.js +2 -0
- package/dist/chunks/avatar-BVQ91Ccd.cjs.js.map +1 -0
- package/dist/chunks/box-CWni3A32.cjs.js.map +1 -1
- package/dist/chunks/box-DuBoAZvq.es.js.map +1 -1
- package/dist/chunks/{button-DF_RV6pd.cjs.js → button-Bz1hc0LL.cjs.js} +2 -2
- package/dist/chunks/{button-DF_RV6pd.cjs.js.map → button-Bz1hc0LL.cjs.js.map} +1 -1
- package/dist/chunks/{button-czddlTvJ.es.js → button-CANeXX_D.es.js} +2 -2
- package/dist/chunks/{button-czddlTvJ.es.js.map → button-CANeXX_D.es.js.map} +1 -1
- package/dist/chunks/calendar-Bnw0u0vz.es.js +227 -0
- package/dist/chunks/calendar-Bnw0u0vz.es.js.map +1 -0
- package/dist/chunks/calendar-D0OrT88Y.cjs.js +2 -0
- package/dist/chunks/calendar-D0OrT88Y.cjs.js.map +1 -0
- package/dist/chunks/card-BHw7lWYe.es.js +115 -0
- package/dist/chunks/card-BHw7lWYe.es.js.map +1 -0
- package/dist/chunks/card-CgBcH7Zm.cjs.js +2 -0
- package/dist/chunks/card-CgBcH7Zm.cjs.js.map +1 -0
- package/dist/chunks/{checkbox-CWhwDnrI.cjs.js → checkbox-BYBGaSV9.cjs.js} +2 -2
- package/dist/chunks/{checkbox-CWhwDnrI.cjs.js.map → checkbox-BYBGaSV9.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-BAZ2ps7B.es.js → checkbox-UATxAVti.es.js} +2 -2
- package/dist/chunks/{checkbox-BAZ2ps7B.es.js.map → checkbox-UATxAVti.es.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-dMfEe4kv.es.js → collapsible-motion-BsyuKtxS.es.js} +2 -2
- package/dist/chunks/{collapsible-motion-dMfEe4kv.es.js.map → collapsible-motion-BsyuKtxS.es.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-D4u7W2de.cjs.js → collapsible-motion-Cj6ESwsR.cjs.js} +2 -2
- package/dist/chunks/{collapsible-motion-D4u7W2de.cjs.js.map → collapsible-motion-Cj6ESwsR.cjs.js.map} +1 -1
- package/dist/chunks/combobox-B30crY-T.es.js +1563 -0
- package/dist/chunks/combobox-B30crY-T.es.js.map +1 -0
- package/dist/chunks/combobox-D_L2EmTy.cjs.js +2 -0
- package/dist/chunks/combobox-D_L2EmTy.cjs.js.map +1 -0
- package/dist/chunks/{data-table-C0rC7Jgu.es.js → data-table-B7orK0Y6.es.js} +1715 -1670
- package/dist/chunks/data-table-B7orK0Y6.es.js.map +1 -0
- package/dist/chunks/data-table-Cg75JPdu.cjs.js +2 -0
- package/dist/chunks/data-table-Cg75JPdu.cjs.js.map +1 -0
- package/dist/chunks/{date-input-DlQD1DQ3.cjs.js → date-input-BL7owE4Q.cjs.js} +2 -2
- package/dist/chunks/{date-input-DlQD1DQ3.cjs.js.map → date-input-BL7owE4Q.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-Cnlg-VXW.es.js → date-input-Ba6r9wMb.es.js} +4 -4
- package/dist/chunks/{date-input-Cnlg-VXW.es.js.map → date-input-Ba6r9wMb.es.js.map} +1 -1
- package/dist/chunks/date-picker-Bm6DjFOx.cjs.js +2 -0
- package/dist/chunks/date-picker-Bm6DjFOx.cjs.js.map +1 -0
- package/dist/chunks/date-picker-DwQ1WWNP.es.js +228 -0
- package/dist/chunks/date-picker-DwQ1WWNP.es.js.map +1 -0
- package/dist/chunks/date-range-picker-DaSUwkke.cjs.js +2 -0
- package/dist/chunks/date-range-picker-DaSUwkke.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-dw7c9idV.es.js +364 -0
- package/dist/chunks/date-range-picker-dw7c9idV.es.js.map +1 -0
- package/dist/chunks/{date-range-picker-field-D3tLPzMb.es.js → date-range-picker-field-D-kCkHEF.es.js} +4 -4
- package/dist/chunks/date-range-picker-field-D-kCkHEF.es.js.map +1 -0
- package/dist/chunks/{date-range-picker-field-DipL5QZq.cjs.js → date-range-picker-field-J2b1-A1l.cjs.js} +2 -2
- package/dist/chunks/date-range-picker-field-J2b1-A1l.cjs.js.map +1 -0
- package/dist/chunks/dialog-ByHd6RlA.cjs.js +2 -0
- package/dist/chunks/dialog-ByHd6RlA.cjs.js.map +1 -0
- package/dist/chunks/{dialog-z8EM12xr.es.js → dialog-vnnSNnUC.es.js} +89 -89
- package/dist/chunks/dialog-vnnSNnUC.es.js.map +1 -0
- package/dist/chunks/{draggable-list-DNQAZADx.cjs.js → draggable-list-CGpLzk-D.cjs.js} +3 -3
- package/dist/chunks/{draggable-list-DNQAZADx.cjs.js.map → draggable-list-CGpLzk-D.cjs.js.map} +1 -1
- package/dist/chunks/{draggable-list-B0MpgfeC.es.js → draggable-list-DR-559Qk.es.js} +1406 -1601
- package/dist/chunks/{draggable-list-B0MpgfeC.es.js.map → draggable-list-DR-559Qk.es.js.map} +1 -1
- package/dist/chunks/{drawer-BZBluK-I.es.js → drawer-CasegOAE.es.js} +96 -88
- package/dist/chunks/drawer-CasegOAE.es.js.map +1 -0
- package/dist/chunks/drawer-CmxHDgtW.cjs.js +2 -0
- package/dist/chunks/drawer-CmxHDgtW.cjs.js.map +1 -0
- package/dist/chunks/{extract-style-props-BilMyFTD.cjs.js → extract-style-props-BvvBKXOu.cjs.js} +2 -2
- package/dist/chunks/{extract-style-props-BilMyFTD.cjs.js.map → extract-style-props-BvvBKXOu.cjs.js.map} +1 -1
- package/dist/chunks/{extract-style-props-DChosa6I.es.js → extract-style-props-CM4QZGaE.es.js} +2 -2
- package/dist/chunks/{extract-style-props-DChosa6I.es.js.map → extract-style-props-CM4QZGaE.es.js.map} +1 -1
- package/dist/chunks/field-errors-D1BQvoYg.es.js +219 -0
- package/dist/chunks/field-errors-D1BQvoYg.es.js.map +1 -0
- package/dist/chunks/field-errors-aqrV93vp.cjs.js +2 -0
- package/dist/chunks/field-errors-aqrV93vp.cjs.js.map +1 -0
- package/dist/chunks/form-field-52--hhlj.cjs.js +2 -0
- package/dist/chunks/form-field-52--hhlj.cjs.js.map +1 -0
- package/dist/chunks/{form-field-BqlkPY29.es.js → form-field-DCWDyNJx.es.js} +16 -16
- package/dist/chunks/form-field-DCWDyNJx.es.js.map +1 -0
- package/dist/chunks/icon-DJsVh7VR.es.js +19 -0
- package/dist/chunks/{icon-CenxuChf.es.js.map → icon-DJsVh7VR.es.js.map} +1 -1
- package/dist/chunks/icon-RyFjTAmU.cjs.js +2 -0
- package/dist/chunks/{icon-D39U--jA.cjs.js.map → icon-RyFjTAmU.cjs.js.map} +1 -1
- package/dist/chunks/icon-button-5pYAEokc.cjs.js +2 -0
- package/dist/chunks/icon-button-5pYAEokc.cjs.js.map +1 -0
- package/dist/chunks/icon-button-DhHKxd27.es.js +28 -0
- package/dist/chunks/icon-button-DhHKxd27.es.js.map +1 -0
- package/dist/chunks/{icon-toggle-button-D3spgxe2.cjs.js → icon-toggle-button-BsQzSrKe.cjs.js} +2 -2
- package/dist/chunks/icon-toggle-button-BsQzSrKe.cjs.js.map +1 -0
- package/dist/chunks/{icon-toggle-button-BKmjmlZt.es.js → icon-toggle-button-C7HZUXh5.es.js} +2 -2
- package/dist/chunks/icon-toggle-button-C7HZUXh5.es.js.map +1 -0
- package/dist/chunks/image-CGOYoc2s.cjs.js.map +1 -1
- package/dist/chunks/image-DRigLU80.es.js.map +1 -1
- package/dist/chunks/index-CBRmb4jF.cjs.js +34 -0
- package/dist/chunks/index-CBRmb4jF.cjs.js.map +1 -0
- package/dist/chunks/{index-BEgCT-l6.es.js → index-D3KlpJA5.es.js} +673 -559
- package/dist/chunks/index-D3KlpJA5.es.js.map +1 -0
- package/dist/chunks/inline-svg-BzzKpbrB.cjs.js +2 -0
- package/dist/chunks/{inline-svg-Yb2OyzRw.cjs.js.map → inline-svg-BzzKpbrB.cjs.js.map} +1 -1
- package/dist/chunks/inline-svg-Cwl9dFvu.es.js +21 -0
- package/dist/chunks/{inline-svg-CbSC6O5X.es.js.map → inline-svg-Cwl9dFvu.es.js.map} +1 -1
- package/dist/chunks/list-DJC9BmoC.cjs.js.map +1 -1
- package/dist/chunks/list-Nz5KjWzs.es.js.map +1 -1
- package/dist/chunks/loading-spinner-DYEYnI5N.cjs.js +2 -0
- package/dist/chunks/loading-spinner-DYEYnI5N.cjs.js.map +1 -0
- package/dist/chunks/loading-spinner-gf62wtm3.es.js +53 -0
- package/dist/chunks/loading-spinner-gf62wtm3.es.js.map +1 -0
- package/dist/chunks/localized-field-BJTWKclB.cjs.js +2 -0
- package/dist/chunks/localized-field-BJTWKclB.cjs.js.map +1 -0
- package/dist/chunks/localized-field-CHXN7Zf1.es.js +483 -0
- package/dist/chunks/localized-field-CHXN7Zf1.es.js.map +1 -0
- package/dist/chunks/{menu-Vj3cVc_v.cjs.js → menu-Cu7gIVGQ.cjs.js} +2 -2
- package/dist/chunks/menu-Cu7gIVGQ.cjs.js.map +1 -0
- package/dist/chunks/{menu-C3Ovi5Mr.es.js → menu-SxqgiwJf.es.js} +6 -6
- package/dist/chunks/menu-SxqgiwJf.es.js.map +1 -0
- package/dist/chunks/{money-input-BEek-VSq.es.js → money-input-B5kFhLR0.es.js} +116 -106
- package/dist/chunks/money-input-B5kFhLR0.es.js.map +1 -0
- package/dist/chunks/money-input-CBKb1D73.cjs.js +2 -0
- package/dist/chunks/money-input-CBKb1D73.cjs.js.map +1 -0
- package/dist/chunks/money-input-field-0vXOOTvx.es.js +51 -0
- package/dist/chunks/money-input-field-0vXOOTvx.es.js.map +1 -0
- package/dist/chunks/money-input-field-DjpKPCGo.cjs.js +2 -0
- package/dist/chunks/money-input-field-DjpKPCGo.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-DN9yF7Di.cjs.js +2 -0
- package/dist/chunks/multiline-text-input-DN9yF7Di.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-DkruVK6m.es.js +98 -0
- package/dist/chunks/multiline-text-input-DkruVK6m.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-field-QLmo_I6Q.cjs.js +2 -0
- package/dist/chunks/multiline-text-input-field-QLmo_I6Q.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-field-ipwTTNg6.es.js +56 -0
- package/dist/chunks/multiline-text-input-field-ipwTTNg6.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-4H3HucGg.es.js +101 -0
- package/dist/chunks/nimbus-provider-4H3HucGg.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-CbD64J_V.cjs.js +2 -0
- package/dist/chunks/nimbus-provider-CbD64J_V.cjs.js.map +1 -0
- package/dist/chunks/normalize-messages-CaDzkuUm.cjs.js +2 -0
- package/dist/chunks/normalize-messages-CaDzkuUm.cjs.js.map +1 -0
- package/dist/chunks/normalize-messages-D5T4I93D.es.js +52 -0
- package/dist/chunks/normalize-messages-D5T4I93D.es.js.map +1 -0
- package/dist/chunks/number-input-B29DJ2_U.cjs.js +2 -0
- package/dist/chunks/number-input-B29DJ2_U.cjs.js.map +1 -0
- package/dist/chunks/{number-input-DrhSvm6o.es.js → number-input-BVTqEzzS.es.js} +224 -229
- package/dist/chunks/number-input-BVTqEzzS.es.js.map +1 -0
- package/dist/chunks/number-input-field-DHBy_GKG.cjs.js +2 -0
- package/dist/chunks/number-input-field-DHBy_GKG.cjs.js.map +1 -0
- package/dist/chunks/number-input-field-DenXeCQQ.es.js +51 -0
- package/dist/chunks/number-input-field-DenXeCQQ.es.js.map +1 -0
- package/dist/chunks/pagination-BjUXs0hd.es.js +226 -0
- package/dist/chunks/pagination-BjUXs0hd.es.js.map +1 -0
- package/dist/chunks/pagination-D8Tn2HGh.cjs.js +2 -0
- package/dist/chunks/pagination-D8Tn2HGh.cjs.js.map +1 -0
- package/dist/chunks/password-input-DQM-caak.cjs.js +2 -0
- package/dist/chunks/password-input-DQM-caak.cjs.js.map +1 -0
- package/dist/chunks/password-input-field-CNLpabCL.es.js +56 -0
- package/dist/chunks/password-input-field-CNLpabCL.es.js.map +1 -0
- package/dist/chunks/password-input-field-CgQEW15R.cjs.js +2 -0
- package/dist/chunks/password-input-field-CgQEW15R.cjs.js.map +1 -0
- package/dist/chunks/password-input-vu3kFdzW.es.js +47 -0
- package/dist/chunks/password-input-vu3kFdzW.es.js.map +1 -0
- package/dist/chunks/popover-CuA9VugH.es.js +11 -0
- package/dist/chunks/popover-CuA9VugH.es.js.map +1 -0
- package/dist/chunks/popover-Dhg--8YC.cjs.js +2 -0
- package/dist/chunks/popover-Dhg--8YC.cjs.js.map +1 -0
- package/dist/chunks/{progress-bar-NAFgbTy5.cjs.js → progress-bar-CMRmoNou.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-NAFgbTy5.cjs.js.map → progress-bar-CMRmoNou.cjs.js.map} +1 -1
- package/dist/chunks/{progress-bar-vRz1k6ol.es.js → progress-bar-D99U1mF3.es.js} +2 -2
- package/dist/chunks/{progress-bar-vRz1k6ol.es.js.map → progress-bar-D99U1mF3.es.js.map} +1 -1
- package/dist/chunks/{radio-input-CRvjsU1E.cjs.js → radio-input-B91hQHjX.cjs.js} +2 -2
- package/dist/chunks/{radio-input-CRvjsU1E.cjs.js.map → radio-input-B91hQHjX.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-C2lCxDiv.es.js → radio-input-S4OwAttR.es.js} +8 -8
- package/dist/chunks/{radio-input-C2lCxDiv.es.js.map → radio-input-S4OwAttR.es.js.map} +1 -1
- package/dist/chunks/range-calendar-qoiJRxsH.es.js +229 -0
- package/dist/chunks/range-calendar-qoiJRxsH.es.js.map +1 -0
- package/dist/chunks/range-calendar-tLrCZyTQ.cjs.js +2 -0
- package/dist/chunks/range-calendar-tLrCZyTQ.cjs.js.map +1 -0
- package/dist/chunks/rich-text-input-COjV3y9x.es.js +1200 -0
- package/dist/chunks/rich-text-input-COjV3y9x.es.js.map +1 -0
- package/dist/chunks/rich-text-input-Cx9u2DDm.cjs.js +4 -0
- package/dist/chunks/rich-text-input-Cx9u2DDm.cjs.js.map +1 -0
- package/dist/chunks/scoped-search-input-DYOcOZ0t.cjs.js +2 -0
- package/dist/chunks/scoped-search-input-DYOcOZ0t.cjs.js.map +1 -0
- package/dist/chunks/scoped-search-input-Qf2F3cu-.es.js +151 -0
- package/dist/chunks/scoped-search-input-Qf2F3cu-.es.js.map +1 -0
- package/dist/chunks/{search-input-CMrPbAUI.es.js → search-input-Ba7KSi4m.es.js} +147 -147
- package/dist/chunks/search-input-Ba7KSi4m.es.js.map +1 -0
- package/dist/chunks/search-input-DrTdsAJB.cjs.js +2 -0
- package/dist/chunks/search-input-DrTdsAJB.cjs.js.map +1 -0
- package/dist/chunks/search-input-field-Dan6FtWD.cjs.js +2 -0
- package/dist/chunks/search-input-field-Dan6FtWD.cjs.js.map +1 -0
- package/dist/chunks/search-input-field-G080Ti8W.es.js +51 -0
- package/dist/chunks/search-input-field-G080Ti8W.es.js.map +1 -0
- package/dist/chunks/{select-DG6qOekv.es.js → select-B3w10lhg.es.js} +229 -229
- package/dist/chunks/select-B3w10lhg.es.js.map +1 -0
- package/dist/chunks/select-DzHoPh1S.cjs.js +2 -0
- package/dist/chunks/select-DzHoPh1S.cjs.js.map +1 -0
- package/dist/chunks/{separator-DYCn6JPo.cjs.js → separator-D0uGdP2M.cjs.js} +2 -2
- package/dist/chunks/{separator-DYCn6JPo.cjs.js.map → separator-D0uGdP2M.cjs.js.map} +1 -1
- package/dist/chunks/{separator-B-ibkWW-.es.js → separator-DX_ZJMkp.es.js} +4 -4
- package/dist/chunks/{separator-B-ibkWW-.es.js.map → separator-DX_ZJMkp.es.js.map} +1 -1
- package/dist/chunks/split-button-BGDUOZcq.es.js +106 -0
- package/dist/chunks/split-button-BGDUOZcq.es.js.map +1 -0
- package/dist/chunks/split-button-Cu7MwPgo.cjs.js +2 -0
- package/dist/chunks/split-button-Cu7MwPgo.cjs.js.map +1 -0
- package/dist/chunks/stack-CIN13EDn.cjs.js.map +1 -1
- package/dist/chunks/stack-CoNreM7B.es.js.map +1 -1
- package/dist/chunks/{switch-_TfZ37Nm.es.js → switch-GD8BjCPZ.es.js} +3 -3
- package/dist/chunks/{switch-_TfZ37Nm.es.js.map → switch-GD8BjCPZ.es.js.map} +1 -1
- package/dist/chunks/{switch-BzYS9qlr.cjs.js → switch-dDLFRsag.cjs.js} +2 -2
- package/dist/chunks/{switch-BzYS9qlr.cjs.js.map → switch-dDLFRsag.cjs.js.map} +1 -1
- package/dist/chunks/tabs-Dh_AK8jc.es.js +521 -0
- package/dist/chunks/tabs-Dh_AK8jc.es.js.map +1 -0
- package/dist/chunks/tabs-Dxwwd4jH.cjs.js +2 -0
- package/dist/chunks/tabs-Dxwwd4jH.cjs.js.map +1 -0
- package/dist/chunks/{tag-group-Aa30DcsU.es.js → tag-group-CMfyCIc3.es.js} +209 -208
- package/dist/chunks/tag-group-CMfyCIc3.es.js.map +1 -0
- package/dist/chunks/tag-group-rbUwxsaP.cjs.js +2 -0
- package/dist/chunks/tag-group-rbUwxsaP.cjs.js.map +1 -0
- package/dist/chunks/text-BtRhIklG.cjs.js.map +1 -1
- package/dist/chunks/text-CIb_VDvO.es.js.map +1 -1
- package/dist/chunks/{text-input-DOTYCJyJ.es.js → text-input-UaixbZjE.es.js} +3 -3
- package/dist/chunks/{text-input-DOTYCJyJ.es.js.map → text-input-UaixbZjE.es.js.map} +1 -1
- package/dist/chunks/text-input-field-C_Ykb6V3.cjs.js +2 -0
- package/dist/chunks/text-input-field-C_Ykb6V3.cjs.js.map +1 -0
- package/dist/chunks/text-input-field-ChGQsEAJ.es.js +58 -0
- package/dist/chunks/text-input-field-ChGQsEAJ.es.js.map +1 -0
- package/dist/chunks/{text-input-D3KWm-NF.cjs.js → text-input-n7jUFat6.cjs.js} +2 -2
- package/dist/chunks/{text-input-D3KWm-NF.cjs.js.map → text-input-n7jUFat6.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-BYGEbCd6.cjs.js → time-input-G64QnJLm.cjs.js} +2 -2
- package/dist/chunks/{time-input-BYGEbCd6.cjs.js.map → time-input-G64QnJLm.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-KrO-X3uW.es.js → time-input-T4jAE9kM.es.js} +4 -4
- package/dist/chunks/{time-input-KrO-X3uW.es.js.map → time-input-T4jAE9kM.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-C03AKN2I.es.js → toggle-button-J0Vys1xC.es.js} +3 -3
- package/dist/chunks/{toggle-button-C03AKN2I.es.js.map → toggle-button-J0Vys1xC.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-BKXhwp3e.cjs.js → toggle-button-aX7Gr-Ib.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-BKXhwp3e.cjs.js.map → toggle-button-aX7Gr-Ib.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-DMowluJ2.cjs.js → toolbar-Bw9mLuBU.cjs.js} +2 -2
- package/dist/chunks/{toolbar-DMowluJ2.cjs.js.map → toolbar-Bw9mLuBU.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-D0WjTxz2.es.js → toolbar-QZSD0kko.es.js} +3 -3
- package/dist/chunks/{toolbar-D0WjTxz2.es.js.map → toolbar-QZSD0kko.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-886GJ5w1.es.js → useDateFormatter-9juUpmrj.es.js} +246 -244
- package/dist/chunks/useDateFormatter-9juUpmrj.es.js.map +1 -0
- package/dist/chunks/useDateFormatter-Bq98mt4A.cjs.js +2 -0
- package/dist/chunks/useDateFormatter-Bq98mt4A.cjs.js.map +1 -0
- package/dist/chunks/{useGridListItem-BETI-KGO.cjs.js → useGridListItem-Bjqm2KGe.cjs.js} +2 -2
- package/dist/chunks/{useGridListItem-BETI-KGO.cjs.js.map → useGridListItem-Bjqm2KGe.cjs.js.map} +1 -1
- package/dist/chunks/{useGridListItem-DAGp36bD.es.js → useGridListItem-CJrr2QNO.es.js} +4 -4
- package/dist/chunks/{useGridListItem-DAGp36bD.es.js.map → useGridListItem-CJrr2QNO.es.js.map} +1 -1
- package/dist/chunks/useListData-BGzhnkuO.cjs.js +2 -0
- package/dist/chunks/useListData-BGzhnkuO.cjs.js.map +1 -0
- package/dist/chunks/useListData-CX8_NxJv.es.js +211 -0
- package/dist/chunks/useListData-CX8_NxJv.es.js.map +1 -0
- package/dist/chunks/useListState-BjCb6LLO.cjs.js +2 -0
- package/dist/chunks/{useListState-QQtJHpsQ.cjs.js.map → useListState-BjCb6LLO.cjs.js.map} +1 -1
- package/dist/chunks/{useListState-BHLGQlP3.es.js → useListState-Dd0Mtev3.es.js} +17 -18
- package/dist/chunks/{useListState-BHLGQlP3.es.js.map → useListState-Dd0Mtev3.es.js.map} +1 -1
- package/dist/chunks/useLocalizedStringFormatter-CJ-iYW1Z.cjs.js +2 -0
- package/dist/chunks/useLocalizedStringFormatter-CJ-iYW1Z.cjs.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-DWb0DkHL.es.js +53 -0
- package/dist/chunks/useLocalizedStringFormatter-DWb0DkHL.es.js.map +1 -0
- package/dist/chunks/{useSpinButton-YcV6vlPf.es.js → useSpinButton-D8B_x4uj.es.js} +2 -2
- package/dist/chunks/{useSpinButton-YcV6vlPf.es.js.map → useSpinButton-D8B_x4uj.es.js.map} +1 -1
- package/dist/chunks/{useSpinButton-Dyt6kG4o.cjs.js → useSpinButton-RB0J1fiP.cjs.js} +2 -2
- package/dist/chunks/{useSpinButton-Dyt6kG4o.cjs.js.map → useSpinButton-RB0J1fiP.cjs.js.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +2 -2
- package/dist/components/alert/alert.d.ts +4 -4
- package/dist/components/alert/alert.messages.d.ts +6 -0
- package/dist/components/alert/alert.types.d.ts +2 -2
- package/dist/components/alert/components/alert.actions.d.ts +1 -1
- package/dist/components/alert/components/alert.description.d.ts +1 -1
- package/dist/components/alert/components/alert.dismiss-button.d.ts +1 -1
- package/dist/components/alert/components/alert.root.d.ts +0 -9
- package/dist/components/alert/components/alert.title.d.ts +1 -1
- package/dist/components/alert/intl/de.d.ts +9 -0
- package/dist/components/alert/intl/en.d.ts +9 -0
- package/dist/components/alert/intl/es.d.ts +9 -0
- package/dist/components/alert/intl/fr-FR.d.ts +9 -0
- package/dist/components/alert/intl/pt-BR.d.ts +9 -0
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/avatar/avatar.messages.d.ts +6 -0
- package/dist/components/avatar/intl/de.d.ts +9 -0
- package/dist/components/avatar/intl/en.d.ts +9 -0
- package/dist/components/avatar/intl/es.d.ts +9 -0
- package/dist/components/avatar/intl/fr-FR.d.ts +9 -0
- package/dist/components/avatar/intl/pt-BR.d.ts +9 -0
- package/dist/components/avatar.cjs +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/box/box.d.ts +2 -0
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar/calendar.messages.d.ts +6 -0
- package/dist/components/calendar/intl/de.d.ts +12 -0
- package/dist/components/calendar/intl/en.d.ts +12 -0
- package/dist/components/calendar/intl/es.d.ts +12 -0
- package/dist/components/calendar/intl/fr-FR.d.ts +12 -0
- package/dist/components/calendar/intl/pt-BR.d.ts +12 -0
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card/card.recipe.d.ts +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/collapsible-motion.cjs +1 -1
- package/dist/components/collapsible-motion.es.js +1 -1
- package/dist/components/combo-box/combo-box.messages.d.ts +6 -0
- package/dist/components/combo-box/intl/de.d.ts +12 -0
- package/dist/components/combo-box/intl/en.d.ts +12 -0
- package/dist/components/combo-box/intl/es.d.ts +12 -0
- package/dist/components/combo-box/intl/fr-FR.d.ts +12 -0
- package/dist/components/combo-box/intl/pt-BR.d.ts +12 -0
- package/dist/components/combobox/combobox.d.ts +203 -27
- package/dist/components/combobox/combobox.i18n.d.ts +3 -13
- package/dist/components/combobox/combobox.messages.d.ts +6 -0
- package/dist/components/combobox/combobox.recipe.d.ts +18 -17
- package/dist/components/combobox/combobox.slots.d.ts +14 -28
- package/dist/components/combobox/combobox.types.d.ts +704 -105
- package/dist/components/combobox/components/combobox.hidden-input.d.ts +17 -0
- package/dist/components/combobox/components/combobox.input.d.ts +20 -0
- package/dist/components/combobox/components/combobox.leading-element.d.ts +5 -5
- package/dist/components/combobox/components/combobox.listbox.d.ts +27 -0
- package/dist/components/combobox/components/combobox.option.d.ts +29 -5
- package/dist/components/combobox/components/combobox.popover.d.ts +27 -0
- package/dist/components/combobox/components/combobox.root-context.d.ts +13 -0
- package/dist/components/combobox/components/combobox.root.d.ts +26 -6
- package/dist/components/combobox/components/combobox.section.d.ts +32 -0
- package/dist/components/combobox/components/combobox.tag-group.d.ts +26 -0
- package/dist/components/combobox/components/combobox.trigger.d.ts +26 -0
- package/dist/components/combobox/components/index.d.ts +4 -9
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/intl/de.d.ts +12 -0
- package/dist/components/combobox/intl/en.d.ts +12 -0
- package/dist/components/combobox/intl/es.d.ts +12 -0
- package/dist/components/combobox/intl/fr-FR.d.ts +12 -0
- package/dist/components/combobox/intl/pt-BR.d.ts +12 -0
- package/dist/components/combobox/utils/collection.d.ts +13 -0
- package/dist/components/combobox/utils/filters.d.ts +339 -0
- package/dist/components/combobox/utils/selection.d.ts +10 -0
- package/dist/components/combobox/utils/test-data.d.ts +6 -0
- package/dist/components/combobox/utils/test-utils.d.ts +30 -0
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +1 -1
- package/dist/components/data-table/components/data-table.body.d.ts +1 -1
- package/dist/components/data-table/components/data-table.context.d.ts +3 -1
- package/dist/components/data-table/components/data-table.header.d.ts +1 -1
- package/dist/components/data-table/components/data-table.table.d.ts +1 -1
- package/dist/components/data-table/components/index.d.ts +1 -1
- package/dist/components/data-table/data-table.d.ts +3 -3
- package/dist/components/data-table/data-table.i18n.d.ts +5 -0
- package/dist/components/data-table/data-table.messages.d.ts +6 -0
- package/dist/components/data-table/data-table.recipe.d.ts +1 -1
- package/dist/components/data-table/data-table.types.d.ts +11 -2
- package/dist/components/data-table/intl/de.d.ts +40 -0
- package/dist/components/data-table/intl/en.d.ts +40 -0
- package/dist/components/data-table/intl/es.d.ts +40 -0
- package/dist/components/data-table/intl/fr-FR.d.ts +40 -0
- package/dist/components/data-table/intl/pt-BR.d.ts +40 -0
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker/date-picker.messages.d.ts +6 -0
- package/dist/components/date-picker/date-picker.types.d.ts +1 -1
- package/dist/components/date-picker/intl/de.d.ts +14 -0
- package/dist/components/date-picker/intl/en.d.ts +14 -0
- package/dist/components/date-picker/intl/es.d.ts +14 -0
- package/dist/components/date-picker/intl/fr-FR.d.ts +14 -0
- package/dist/components/date-picker/intl/pt-BR.d.ts +14 -0
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.messages.d.ts +6 -0
- package/dist/components/date-range-picker/intl/de.d.ts +21 -0
- package/dist/components/date-range-picker/intl/en.d.ts +21 -0
- package/dist/components/date-range-picker/intl/es.d.ts +21 -0
- package/dist/components/date-range-picker/intl/fr-FR.d.ts +21 -0
- package/dist/components/date-range-picker/intl/pt-BR.d.ts +21 -0
- package/dist/components/date-range-picker-field.cjs +1 -1
- package/dist/components/date-range-picker-field.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/dialog/dialog.messages.d.ts +6 -0
- package/dist/components/dialog/dialog.types.d.ts +2 -2
- package/dist/components/dialog/intl/de.d.ts +9 -0
- package/dist/components/dialog/intl/en.d.ts +9 -0
- package/dist/components/dialog/intl/es.d.ts +9 -0
- package/dist/components/dialog/intl/fr-FR.d.ts +9 -0
- package/dist/components/dialog/intl/pt-BR.d.ts +9 -0
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/draggable-list/draggable-list.messages.d.ts +6 -0
- package/dist/components/draggable-list/intl/de.d.ts +10 -0
- package/dist/components/draggable-list/intl/en.d.ts +10 -0
- package/dist/components/draggable-list/intl/es.d.ts +10 -0
- package/dist/components/draggable-list/intl/fr-FR.d.ts +10 -0
- package/dist/components/draggable-list/intl/pt-BR.d.ts +10 -0
- package/dist/components/draggable-list.cjs +1 -1
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/drawer/components/drawer.context.d.ts +8 -2
- package/dist/components/drawer/drawer.messages.d.ts +6 -0
- package/dist/components/drawer/drawer.types.d.ts +2 -2
- package/dist/components/drawer/intl/de.d.ts +9 -0
- package/dist/components/drawer/intl/en.d.ts +9 -0
- package/dist/components/drawer/intl/es.d.ts +9 -0
- package/dist/components/drawer/intl/fr-FR.d.ts +9 -0
- package/dist/components/drawer/intl/pt-BR.d.ts +9 -0
- package/dist/components/drawer.cjs +1 -1
- package/dist/components/drawer.es.js +1 -1
- package/dist/components/field-errors/field-errors.d.ts +1 -1
- package/dist/components/field-errors/field-errors.messages.d.ts +6 -0
- package/dist/components/field-errors/field-errors.types.d.ts +1 -1
- package/dist/components/field-errors/intl/de.d.ts +23 -0
- package/dist/components/field-errors/intl/en.d.ts +23 -0
- package/dist/components/field-errors/intl/es.d.ts +23 -0
- package/dist/components/field-errors/intl/fr-FR.d.ts +23 -0
- package/dist/components/field-errors/intl/pt-BR.d.ts +23 -0
- package/dist/components/field-errors.cjs +1 -1
- package/dist/components/field-errors.es.js +1 -1
- package/dist/components/fields.cjs +1 -1
- package/dist/components/fields.es.js +13 -3
- package/dist/components/fields.es.js.map +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/icon-button/icon-button.types.d.ts +15 -3
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button/icon-toggle-button.types.d.ts +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/icon.cjs +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/image/image.d.ts +2 -0
- package/dist/components/inline-svg.cjs +1 -1
- package/dist/components/inline-svg.es.js +1 -1
- package/dist/components/list/components/index.d.ts +3 -0
- package/dist/components/list/components/list.indicator.d.ts +19 -0
- package/dist/components/list/components/list.item.d.ts +15 -0
- package/dist/components/list/components/list.root.d.ts +25 -0
- package/dist/components/list/list.d.ts +3 -6
- package/dist/components/loading-spinner/intl/de.d.ts +9 -0
- package/dist/components/loading-spinner/intl/en.d.ts +9 -0
- package/dist/components/loading-spinner/intl/es.d.ts +9 -0
- package/dist/components/loading-spinner/intl/fr-FR.d.ts +9 -0
- package/dist/components/loading-spinner/intl/pt-BR.d.ts +9 -0
- package/dist/components/loading-spinner/loading-spinner.messages.d.ts +6 -0
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/localized-field/intl/de.d.ts +14 -0
- package/dist/components/localized-field/intl/en.d.ts +14 -0
- package/dist/components/localized-field/intl/es.d.ts +14 -0
- package/dist/components/localized-field/intl/fr-FR.d.ts +14 -0
- package/dist/components/localized-field/intl/pt-BR.d.ts +14 -0
- package/dist/components/localized-field/localized-field.messages.d.ts +6 -0
- package/dist/components/localized-field/localized-field.types.d.ts +1 -1
- package/dist/components/localized-field.cjs +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/money-input/intl/de.d.ts +11 -0
- package/dist/components/money-input/intl/en.d.ts +11 -0
- package/dist/components/money-input/intl/es.d.ts +11 -0
- package/dist/components/money-input/intl/fr-FR.d.ts +11 -0
- package/dist/components/money-input/intl/pt-BR.d.ts +11 -0
- package/dist/components/money-input/money-input.messages.d.ts +6 -0
- package/dist/components/money-input/money-input.recipe.d.ts +1 -1
- package/dist/components/money-input-field.cjs +2 -0
- package/dist/components/money-input-field.cjs.map +1 -0
- package/dist/components/money-input-field.es.js +5 -0
- package/dist/components/money-input-field.es.js.map +1 -0
- package/dist/components/money-input.cjs +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/multiline-text-input/multiline-text-input.types.d.ts +1 -1
- package/dist/components/multiline-text-input-field.cjs +2 -0
- package/dist/components/multiline-text-input-field.cjs.map +1 -0
- package/dist/components/multiline-text-input-field.es.js +5 -0
- package/dist/components/multiline-text-input-field.es.js.map +1 -0
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider/index.d.ts +0 -1
- package/dist/components/nimbus-provider/nimbus-provider.d.ts +1 -0
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -3
- package/dist/components/nimbus-provider.es.js.map +1 -1
- package/dist/components/number-input/intl/de.d.ts +10 -0
- package/dist/components/number-input/intl/en.d.ts +10 -0
- package/dist/components/number-input/intl/es.d.ts +10 -0
- package/dist/components/number-input/intl/fr-FR.d.ts +10 -0
- package/dist/components/number-input/intl/pt-BR.d.ts +10 -0
- package/dist/components/number-input/number-input.messages.d.ts +6 -0
- package/dist/components/number-input-field.cjs +2 -0
- package/dist/components/number-input-field.cjs.map +1 -0
- package/dist/components/number-input-field.es.js +5 -0
- package/dist/components/number-input-field.es.js.map +1 -0
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/pagination/intl/de.d.ts +16 -0
- package/dist/components/pagination/intl/en.d.ts +16 -0
- package/dist/components/pagination/intl/es.d.ts +16 -0
- package/dist/components/pagination/intl/fr-FR.d.ts +16 -0
- package/dist/components/pagination/intl/pt-BR.d.ts +16 -0
- package/dist/components/pagination/pagination.messages.d.ts +6 -0
- package/dist/components/pagination.cjs +1 -1
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/password-input/intl/de.d.ts +10 -0
- package/dist/components/password-input/intl/en.d.ts +10 -0
- package/dist/components/password-input/intl/es.d.ts +10 -0
- package/dist/components/password-input/intl/fr-FR.d.ts +10 -0
- package/dist/components/password-input/intl/pt-BR.d.ts +10 -0
- package/dist/components/password-input/password-input.messages.d.ts +6 -0
- package/dist/components/password-input-field.cjs +2 -0
- package/dist/components/password-input-field.cjs.map +1 -0
- package/dist/components/password-input-field.es.js +5 -0
- package/dist/components/password-input-field.es.js.map +1 -0
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/patterns.cjs +1 -1
- package/dist/components/patterns.es.js +13 -3
- package/dist/components/patterns.es.js.map +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.slots.d.ts +2 -4
- package/dist/components/popover/popover.types.d.ts +12 -2
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar/intl/de.d.ts +12 -0
- package/dist/components/range-calendar/intl/en.d.ts +12 -0
- package/dist/components/range-calendar/intl/es.d.ts +12 -0
- package/dist/components/range-calendar/intl/fr-FR.d.ts +12 -0
- package/dist/components/range-calendar/intl/pt-BR.d.ts +12 -0
- package/dist/components/range-calendar/range-calendar.messages.d.ts +6 -0
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input/constants/text-styles.d.ts +2 -3
- package/dist/components/rich-text-input/intl/de.d.ts +32 -0
- package/dist/components/rich-text-input/intl/en.d.ts +32 -0
- package/dist/components/rich-text-input/intl/es.d.ts +32 -0
- package/dist/components/rich-text-input/intl/fr-FR.d.ts +32 -0
- package/dist/components/rich-text-input/intl/pt-BR.d.ts +32 -0
- package/dist/components/rich-text-input/rich-text-input.messages.d.ts +6 -0
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/scoped-search-input/intl/de.d.ts +10 -0
- package/dist/components/scoped-search-input/intl/en.d.ts +10 -0
- package/dist/components/scoped-search-input/intl/es.d.ts +10 -0
- package/dist/components/scoped-search-input/intl/fr-FR.d.ts +10 -0
- package/dist/components/scoped-search-input/intl/pt-BR.d.ts +10 -0
- package/dist/components/scoped-search-input/scoped-search-input.messages.d.ts +6 -0
- package/dist/components/scoped-search-input.cjs +1 -1
- package/dist/components/scoped-search-input.es.js +1 -1
- package/dist/components/search-input/intl/de.d.ts +9 -0
- package/dist/components/search-input/intl/en.d.ts +9 -0
- package/dist/components/search-input/intl/es.d.ts +9 -0
- package/dist/components/search-input/intl/fr-FR.d.ts +9 -0
- package/dist/components/search-input/intl/pt-BR.d.ts +9 -0
- package/dist/components/search-input/search-input.messages.d.ts +6 -0
- package/dist/components/search-input-field.cjs +2 -0
- package/dist/components/search-input-field.cjs.map +1 -0
- package/dist/components/search-input-field.es.js +5 -0
- package/dist/components/search-input-field.es.js.map +1 -0
- package/dist/components/search-input.cjs +1 -1
- package/dist/components/search-input.es.js +1 -1
- package/dist/components/select/components/select.root.d.ts +2 -2
- package/dist/components/select/intl/de.d.ts +9 -0
- package/dist/components/select/intl/en.d.ts +9 -0
- package/dist/components/select/intl/es.d.ts +9 -0
- package/dist/components/select/intl/fr-FR.d.ts +9 -0
- package/dist/components/select/intl/pt-BR.d.ts +9 -0
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/select.messages.d.ts +6 -0
- package/dist/components/select/select.recipe.d.ts +1 -1
- package/dist/components/select/select.types.d.ts +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/split-button/intl/de.d.ts +9 -0
- package/dist/components/split-button/intl/en.d.ts +9 -0
- package/dist/components/split-button/intl/es.d.ts +9 -0
- package/dist/components/split-button/intl/fr-FR.d.ts +9 -0
- package/dist/components/split-button/intl/pt-BR.d.ts +9 -0
- package/dist/components/split-button/split-button.messages.d.ts +6 -0
- package/dist/components/split-button/split-button.types.d.ts +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/stack/index.d.ts +2 -1
- package/dist/components/stack/stack.d.ts +3 -5
- package/dist/components/stack/stack.types.d.ts +33 -0
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabs/components/tabs.root.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tabs/tabs.recipe.d.ts +12 -11
- package/dist/components/tabs/tabs.slots.d.ts +10 -0
- package/dist/components/tabs/tabs.types.d.ts +14 -0
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group/intl/de.d.ts +9 -0
- package/dist/components/tag-group/intl/en.d.ts +9 -0
- package/dist/components/tag-group/intl/es.d.ts +9 -0
- package/dist/components/tag-group/intl/fr-FR.d.ts +9 -0
- package/dist/components/tag-group/intl/pt-BR.d.ts +9 -0
- package/dist/components/tag-group/tag-group.messages.d.ts +6 -0
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text/text.d.ts +2 -0
- package/dist/components/text-input-field.cjs +1 -1
- package/dist/components/text-input-field.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/utils.cjs +2 -2
- package/dist/components/utils.cjs.map +1 -1
- package/dist/components/utils.es.js +121 -122
- package/dist/components/utils.es.js.map +1 -1
- package/dist/constants/color-palettes.d.ts +24 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use-localized-string-formatter/index.d.ts +1 -0
- package/dist/hooks/use-localized-string-formatter/use-localized-string-formatter.d.ts +56 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +278 -268
- package/dist/index.es.js.map +1 -1
- package/dist/patterns/fields/date-range-picker-field/date-range-picker-field.types.d.ts +12 -14
- package/dist/patterns/fields/index.d.ts +5 -0
- package/dist/patterns/fields/money-input-field/index.d.ts +2 -0
- package/dist/patterns/fields/money-input-field/money-input-field.d.ts +32 -0
- package/dist/patterns/fields/money-input-field/money-input-field.types.d.ts +56 -0
- package/dist/patterns/fields/multiline-text-input-field/index.d.ts +2 -0
- package/dist/patterns/fields/multiline-text-input-field/multiline-text-input-field.d.ts +30 -0
- package/dist/patterns/fields/multiline-text-input-field/multiline-text-input-field.types.d.ts +44 -0
- package/dist/patterns/fields/number-input-field/index.d.ts +2 -0
- package/dist/patterns/fields/number-input-field/number-input-field.d.ts +31 -0
- package/dist/patterns/fields/number-input-field/number-input-field.types.d.ts +52 -0
- package/dist/patterns/fields/password-input-field/index.d.ts +2 -0
- package/dist/patterns/fields/password-input-field/password-input-field.d.ts +28 -0
- package/dist/patterns/fields/password-input-field/password-input-field.types.d.ts +43 -0
- package/dist/patterns/fields/search-input-field/index.d.ts +2 -0
- package/dist/patterns/fields/search-input-field/search-input-field.d.ts +30 -0
- package/dist/patterns/fields/search-input-field/search-input-field.types.d.ts +50 -0
- package/dist/patterns/fields/text-input-field/text-input-field.d.ts +1 -1
- package/dist/patterns/fields/text-input-field/text-input-field.types.d.ts +8 -3
- package/dist/setup-jsdom-polyfills.cjs +1 -1
- package/dist/setup-jsdom-polyfills.cjs.map +1 -1
- package/dist/setup-jsdom-polyfills.es.js +17 -0
- package/dist/setup-jsdom-polyfills.es.js.map +1 -1
- package/dist/theme/semantic-tokens/colors.d.ts +2 -8
- package/dist/theme/semantic-tokens/index.d.ts +1 -4
- package/dist/theme/slot-recipes/index.d.ts +34 -32
- package/dist/type-utils/shared-types.d.ts +12 -4
- package/dist/utils/display-color-palettes.d.ts +39 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/normalize-messages.d.ts +10 -0
- package/package.json +32 -28
- package/dist/chunks/DateField-B5u8QZFY.cjs.js +0 -2
- package/dist/chunks/DateField-B5u8QZFY.cjs.js.map +0 -1
- package/dist/chunks/DateField-C5JgBb30.es.js.map +0 -1
- package/dist/chunks/TextArea-2QJpeMJq.cjs.js +0 -2
- package/dist/chunks/TextArea-2QJpeMJq.cjs.js.map +0 -1
- package/dist/chunks/TextArea-CXEdUjgW.es.js +0 -42
- package/dist/chunks/TextArea-CXEdUjgW.es.js.map +0 -1
- package/dist/chunks/alert-ByKnzJtr.cjs.js +0 -2
- package/dist/chunks/alert-ByKnzJtr.cjs.js.map +0 -1
- package/dist/chunks/alert-Cb8WoJYV.es.js +0 -211
- package/dist/chunks/alert-Cb8WoJYV.es.js.map +0 -1
- package/dist/chunks/avatar-Dx_Cda2J.es.js +0 -47
- package/dist/chunks/avatar-Dx_Cda2J.es.js.map +0 -1
- package/dist/chunks/avatar-wRR1leVi.cjs.js +0 -2
- package/dist/chunks/avatar-wRR1leVi.cjs.js.map +0 -1
- package/dist/chunks/calendar-B--ZxTlQ.es.js +0 -217
- package/dist/chunks/calendar-B--ZxTlQ.es.js.map +0 -1
- package/dist/chunks/calendar-DLSOwy_e.cjs.js +0 -2
- package/dist/chunks/calendar-DLSOwy_e.cjs.js.map +0 -1
- package/dist/chunks/card-B2TxE_Ez.cjs.js +0 -2
- package/dist/chunks/card-B2TxE_Ez.cjs.js.map +0 -1
- package/dist/chunks/card-CEfEgF48.es.js +0 -120
- package/dist/chunks/card-CEfEgF48.es.js.map +0 -1
- package/dist/chunks/combobox-B2nkVE2H.cjs.js +0 -2
- package/dist/chunks/combobox-B2nkVE2H.cjs.js.map +0 -1
- package/dist/chunks/combobox-COyroO64.es.js +0 -2497
- package/dist/chunks/combobox-COyroO64.es.js.map +0 -1
- package/dist/chunks/data-table-BzY3lLyR.cjs.js +0 -2
- package/dist/chunks/data-table-BzY3lLyR.cjs.js.map +0 -1
- package/dist/chunks/data-table-C0rC7Jgu.es.js.map +0 -1
- package/dist/chunks/date-picker-8kdn6Ih5.es.js +0 -218
- package/dist/chunks/date-picker-8kdn6Ih5.es.js.map +0 -1
- package/dist/chunks/date-picker-CxJ6zMkz.cjs.js +0 -2
- package/dist/chunks/date-picker-CxJ6zMkz.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-B2VUcKjG.cjs.js +0 -2
- package/dist/chunks/date-range-picker-B2VUcKjG.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-Di9p8cKs.es.js +0 -356
- package/dist/chunks/date-range-picker-Di9p8cKs.es.js.map +0 -1
- package/dist/chunks/date-range-picker-field-D3tLPzMb.es.js.map +0 -1
- package/dist/chunks/date-range-picker-field-DipL5QZq.cjs.js.map +0 -1
- package/dist/chunks/dialog-qw6IMWj3.cjs.js +0 -2
- package/dist/chunks/dialog-qw6IMWj3.cjs.js.map +0 -1
- package/dist/chunks/dialog-z8EM12xr.es.js.map +0 -1
- package/dist/chunks/drawer-BZBluK-I.es.js.map +0 -1
- package/dist/chunks/drawer-DfJY_5pD.cjs.js +0 -2
- package/dist/chunks/drawer-DfJY_5pD.cjs.js.map +0 -1
- package/dist/chunks/field-errors-ClQprmQz.es.js +0 -213
- package/dist/chunks/field-errors-ClQprmQz.es.js.map +0 -1
- package/dist/chunks/field-errors-D2re_C_c.cjs.js +0 -2
- package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +0 -1
- package/dist/chunks/form-field-BqlkPY29.es.js.map +0 -1
- package/dist/chunks/form-field-lALRYL6D.cjs.js +0 -2
- package/dist/chunks/form-field-lALRYL6D.cjs.js.map +0 -1
- package/dist/chunks/icon-CenxuChf.es.js +0 -11
- package/dist/chunks/icon-D39U--jA.cjs.js +0 -2
- package/dist/chunks/icon-button-BUmqYcIF.cjs.js +0 -2
- package/dist/chunks/icon-button-BUmqYcIF.cjs.js.map +0 -1
- package/dist/chunks/icon-button-DgL7XNUZ.es.js +0 -14
- package/dist/chunks/icon-button-DgL7XNUZ.es.js.map +0 -1
- package/dist/chunks/icon-toggle-button-BKmjmlZt.es.js.map +0 -1
- package/dist/chunks/icon-toggle-button-D3spgxe2.cjs.js.map +0 -1
- package/dist/chunks/index-BEgCT-l6.es.js.map +0 -1
- package/dist/chunks/index-DzRjEtIu.cjs.js +0 -34
- package/dist/chunks/index-DzRjEtIu.cjs.js.map +0 -1
- package/dist/chunks/inline-svg-CbSC6O5X.es.js +0 -21
- package/dist/chunks/inline-svg-Yb2OyzRw.cjs.js +0 -2
- package/dist/chunks/loading-spinner-DF6c3rBM.es.js +0 -59
- package/dist/chunks/loading-spinner-DF6c3rBM.es.js.map +0 -1
- package/dist/chunks/loading-spinner-DsKcjJ2b.cjs.js +0 -2
- package/dist/chunks/loading-spinner-DsKcjJ2b.cjs.js.map +0 -1
- package/dist/chunks/localized-field-CtLqzEnl.cjs.js +0 -2
- package/dist/chunks/localized-field-CtLqzEnl.cjs.js.map +0 -1
- package/dist/chunks/localized-field-XLDcWlU1.es.js +0 -470
- package/dist/chunks/localized-field-XLDcWlU1.es.js.map +0 -1
- package/dist/chunks/menu-C3Ovi5Mr.es.js.map +0 -1
- package/dist/chunks/menu-Vj3cVc_v.cjs.js.map +0 -1
- package/dist/chunks/money-input-B2tSXXU9.cjs.js +0 -2
- package/dist/chunks/money-input-B2tSXXU9.cjs.js.map +0 -1
- package/dist/chunks/money-input-BEek-VSq.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-D5vbZHyU.es.js +0 -64
- package/dist/chunks/multiline-text-input-D5vbZHyU.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-G1ZSL7hm.cjs.js +0 -2
- package/dist/chunks/multiline-text-input-G1ZSL7hm.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-BHwVMxgZ.es.js +0 -102
- package/dist/chunks/nimbus-provider-BHwVMxgZ.es.js.map +0 -1
- package/dist/chunks/nimbus-provider-DHZ_RRPR.cjs.js +0 -2
- package/dist/chunks/nimbus-provider-DHZ_RRPR.cjs.js.map +0 -1
- package/dist/chunks/number-input-CwrgDAWw.cjs.js +0 -2
- package/dist/chunks/number-input-CwrgDAWw.cjs.js.map +0 -1
- package/dist/chunks/number-input-DrhSvm6o.es.js.map +0 -1
- package/dist/chunks/pagination-C6OYOaIl.cjs.js +0 -2
- package/dist/chunks/pagination-C6OYOaIl.cjs.js.map +0 -1
- package/dist/chunks/pagination-aj1F0182.es.js +0 -210
- package/dist/chunks/pagination-aj1F0182.es.js.map +0 -1
- package/dist/chunks/password-input-BILx_1d0.cjs.js +0 -2
- package/dist/chunks/password-input-BILx_1d0.cjs.js.map +0 -1
- package/dist/chunks/password-input-DTPr52a3.es.js +0 -54
- package/dist/chunks/password-input-DTPr52a3.es.js.map +0 -1
- package/dist/chunks/popover-BAIwOPdC.es.js +0 -14
- package/dist/chunks/popover-BAIwOPdC.es.js.map +0 -1
- package/dist/chunks/popover-DY7ASSCU.cjs.js +0 -2
- package/dist/chunks/popover-DY7ASSCU.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-BagHIF-Y.es.js +0 -219
- package/dist/chunks/range-calendar-BagHIF-Y.es.js.map +0 -1
- package/dist/chunks/range-calendar-sHWelH3C.cjs.js +0 -2
- package/dist/chunks/range-calendar-sHWelH3C.cjs.js.map +0 -1
- package/dist/chunks/rich-text-input-B4ksKYJh.cjs.js +0 -10
- package/dist/chunks/rich-text-input-B4ksKYJh.cjs.js.map +0 -1
- package/dist/chunks/rich-text-input-CZqXRWdM.es.js +0 -1200
- package/dist/chunks/rich-text-input-CZqXRWdM.es.js.map +0 -1
- package/dist/chunks/scoped-search-input-BKTc1h-7.cjs.js +0 -2
- package/dist/chunks/scoped-search-input-BKTc1h-7.cjs.js.map +0 -1
- package/dist/chunks/scoped-search-input-DY4w22Ki.es.js +0 -152
- package/dist/chunks/scoped-search-input-DY4w22Ki.es.js.map +0 -1
- package/dist/chunks/search-input-Bl0EswfK.cjs.js +0 -2
- package/dist/chunks/search-input-Bl0EswfK.cjs.js.map +0 -1
- package/dist/chunks/search-input-CMrPbAUI.es.js.map +0 -1
- package/dist/chunks/select-B2MAR-fq.cjs.js +0 -2
- package/dist/chunks/select-B2MAR-fq.cjs.js.map +0 -1
- package/dist/chunks/select-DG6qOekv.es.js.map +0 -1
- package/dist/chunks/split-button-BpZ8jMvw.es.js +0 -106
- package/dist/chunks/split-button-BpZ8jMvw.es.js.map +0 -1
- package/dist/chunks/split-button-C99oShiQ.cjs.js +0 -2
- package/dist/chunks/split-button-C99oShiQ.cjs.js.map +0 -1
- package/dist/chunks/tabs-HOHhoLn5.es.js +0 -502
- package/dist/chunks/tabs-HOHhoLn5.es.js.map +0 -1
- package/dist/chunks/tabs-gitNliDG.cjs.js +0 -2
- package/dist/chunks/tabs-gitNliDG.cjs.js.map +0 -1
- package/dist/chunks/tag-group-Aa30DcsU.es.js.map +0 -1
- package/dist/chunks/tag-group-Ci_H89V0.cjs.js +0 -2
- package/dist/chunks/tag-group-Ci_H89V0.cjs.js.map +0 -1
- package/dist/chunks/text-input-field-BgQ4Te_a.cjs.js +0 -2
- package/dist/chunks/text-input-field-BgQ4Te_a.cjs.js.map +0 -1
- package/dist/chunks/text-input-field-CkcoMrv2.es.js +0 -55
- package/dist/chunks/text-input-field-CkcoMrv2.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-886GJ5w1.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-WCaFojul.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-WCaFojul.cjs.js.map +0 -1
- package/dist/chunks/useFilter-BgT0isJK.es.js +0 -36
- package/dist/chunks/useFilter-BgT0isJK.es.js.map +0 -1
- package/dist/chunks/useFilter-CAVKltBB.cjs.js +0 -2
- package/dist/chunks/useFilter-CAVKltBB.cjs.js.map +0 -1
- package/dist/chunks/useListState-QQtJHpsQ.cjs.js +0 -2
- package/dist/chunks/useLocalizedStringFormatter-DaRRUvyV.es.js +0 -97
- package/dist/chunks/useLocalizedStringFormatter-DaRRUvyV.es.js.map +0 -1
- package/dist/chunks/useLocalizedStringFormatter-kWoZGAh5.cjs.js +0 -2
- package/dist/chunks/useLocalizedStringFormatter-kWoZGAh5.cjs.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-B29G7the.es.js +0 -35
- package/dist/chunks/useSingleSelectListState-B29G7the.es.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-CsD7W9nK.cjs.js +0 -2
- package/dist/chunks/useSingleSelectListState-CsD7W9nK.cjs.js.map +0 -1
- package/dist/components/combobox/components/combobox.multi-select-button-group.d.ts +0 -7
- package/dist/components/combobox/components/combobox.multi-select-root.d.ts +0 -7
- package/dist/components/combobox/components/combobox.multi-select-tag-group.d.ts +0 -7
- package/dist/components/combobox/components/combobox.option-group.d.ts +0 -11
- package/dist/components/combobox/components/combobox.options.d.ts +0 -10
- package/dist/components/combobox/components/combobox.single-select-button-group.d.ts +0 -7
- package/dist/components/combobox/components/combobox.single-select-input.d.ts +0 -7
- package/dist/components/combobox/components/combobox.single-select-root.d.ts +0 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as j } from "./usePress-BuLomD_X.es.js";
|
|
2
|
-
import { $ as
|
|
3
|
-
import { useRef as
|
|
4
|
-
function
|
|
5
|
-
let t =
|
|
2
|
+
import { $ as gr } from "./context-DW7UvQ8z.es.js";
|
|
3
|
+
import { useRef as Mr, useMemo as Dr } from "react";
|
|
4
|
+
function pr(r, e) {
|
|
5
|
+
let t = Mr(null);
|
|
6
6
|
return r && t.current && e(r, t.current) && (r = t.current), t.current = r, r;
|
|
7
7
|
}
|
|
8
8
|
function S(r, e) {
|
|
@@ -10,14 +10,14 @@ function S(r, e) {
|
|
|
10
10
|
}
|
|
11
11
|
const Ne = 1721426;
|
|
12
12
|
function v(r, e, t, n) {
|
|
13
|
-
e =
|
|
13
|
+
e = _(r, e);
|
|
14
14
|
let a = e - 1, o = -2;
|
|
15
15
|
return t <= 2 ? o = 0 : D(e) && (o = -1), Ne - 1 + 365 * a + Math.floor(a / 4) - Math.floor(a / 100) + Math.floor(a / 400) + Math.floor((367 * t - 362) / 12 + o + n);
|
|
16
16
|
}
|
|
17
17
|
function D(r) {
|
|
18
18
|
return r % 4 === 0 && (r % 100 !== 0 || r % 400 === 0);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function _(r, e) {
|
|
21
21
|
return r === "BC" ? 1 - e : e;
|
|
22
22
|
}
|
|
23
23
|
function X(r) {
|
|
@@ -27,7 +27,7 @@ function X(r) {
|
|
|
27
27
|
r
|
|
28
28
|
];
|
|
29
29
|
}
|
|
30
|
-
const
|
|
30
|
+
const wr = {
|
|
31
31
|
standard: [
|
|
32
32
|
31,
|
|
33
33
|
28,
|
|
@@ -59,16 +59,16 @@ const pr = {
|
|
|
59
59
|
};
|
|
60
60
|
class $ {
|
|
61
61
|
fromJulianDay(e) {
|
|
62
|
-
let t = e, n = t - Ne, a = Math.floor(n / 146097), o = S(n, 146097), i = Math.floor(o / 36524), f = S(o, 36524),
|
|
62
|
+
let t = e, n = t - Ne, a = Math.floor(n / 146097), o = S(n, 146097), i = Math.floor(o / 36524), f = S(o, 36524), s = Math.floor(f / 1461), l = S(f, 1461), I = Math.floor(l / 365), A = a * 400 + i * 100 + s * 4 + I + (i !== 4 && I !== 4 ? 1 : 0), [x, p] = X(A), g = t - v(x, p, 1, 1), ee = 2;
|
|
63
63
|
t < v(x, p, 3, 1) ? ee = 0 : D(p) && (ee = 1);
|
|
64
|
-
let ve = Math.floor(((g + ee) * 12 + 373) / 367),
|
|
65
|
-
return new
|
|
64
|
+
let ve = Math.floor(((g + ee) * 12 + 373) / 367), br = t - v(x, p, ve, 1) + 1;
|
|
65
|
+
return new c(x, p, ve, br);
|
|
66
66
|
}
|
|
67
67
|
toJulianDay(e) {
|
|
68
68
|
return v(e.era, e.year, e.month, e.day);
|
|
69
69
|
}
|
|
70
70
|
getDaysInMonth(e) {
|
|
71
|
-
return
|
|
71
|
+
return wr[D(e.year) ? "leapyear" : "standard"][e.month - 1];
|
|
72
72
|
}
|
|
73
73
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
74
74
|
getMonthsInYear(e) {
|
|
@@ -97,7 +97,7 @@ class $ {
|
|
|
97
97
|
this.identifier = "gregory";
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
const
|
|
100
|
+
const vr = {
|
|
101
101
|
"001": 1,
|
|
102
102
|
AD: 1,
|
|
103
103
|
AE: 6,
|
|
@@ -197,20 +197,20 @@ const wr = {
|
|
|
197
197
|
function qe(r, e) {
|
|
198
198
|
return e = h(e, r.calendar), r.era === e.era && r.year === e.year && r.month === e.month && r.day === e.day;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function vt(r, e) {
|
|
201
201
|
return e = h(e, r.calendar), r = Z(r), e = Z(e), r.era === e.era && r.year === e.year && r.month === e.month;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Et(r, e) {
|
|
204
204
|
return He(r.calendar, e.calendar) && qe(r, e);
|
|
205
205
|
}
|
|
206
206
|
function He(r, e) {
|
|
207
207
|
var t, n, a, o;
|
|
208
208
|
return (o = (a = (t = r.isEqual) === null || t === void 0 ? void 0 : t.call(r, e)) !== null && a !== void 0 ? a : (n = e.isEqual) === null || n === void 0 ? void 0 : n.call(e, r)) !== null && o !== void 0 ? o : r.identifier === e.identifier;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
return qe(r,
|
|
210
|
+
function It(r, e) {
|
|
211
|
+
return qe(r, Ar(e));
|
|
212
212
|
}
|
|
213
|
-
const
|
|
213
|
+
const Er = {
|
|
214
214
|
sun: 0,
|
|
215
215
|
mon: 1,
|
|
216
216
|
tue: 2,
|
|
@@ -220,14 +220,14 @@ const vr = {
|
|
|
220
220
|
sat: 6
|
|
221
221
|
};
|
|
222
222
|
function Pe(r, e, t) {
|
|
223
|
-
let n = r.calendar.toJulianDay(r), a = t ?
|
|
223
|
+
let n = r.calendar.toJulianDay(r), a = t ? Er[t] : Sr(e), o = Math.ceil(n + 1 - a) % 7;
|
|
224
224
|
return o < 0 && (o += 7), o;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Ir(r) {
|
|
227
227
|
return m(Date.now(), r);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
return
|
|
229
|
+
function Ar(r) {
|
|
230
|
+
return Tr(Ir(r));
|
|
231
231
|
}
|
|
232
232
|
function Ze(r, e) {
|
|
233
233
|
return r.calendar.toJulianDay(r) - e.calendar.toJulianDay(e);
|
|
@@ -247,35 +247,35 @@ function Z(r) {
|
|
|
247
247
|
days: r.day - 1
|
|
248
248
|
});
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function At(r) {
|
|
251
251
|
return r.add({
|
|
252
252
|
days: r.calendar.getDaysInMonth(r) - r.day
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function xt(r) {
|
|
256
256
|
return Z(r.subtract({
|
|
257
257
|
months: r.month - 1
|
|
258
258
|
}));
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function Ct(r) {
|
|
261
261
|
return r.calendar.getMinimumMonthInYear ? r.calendar.getMinimumMonthInYear(r) : 1;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function St(r) {
|
|
264
264
|
return r.calendar.getMinimumDayInMonth ? r.calendar.getMinimumDayInMonth(r) : 1;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function xr(r, e, t) {
|
|
267
267
|
let n = Pe(r, e, t);
|
|
268
268
|
return r.subtract({
|
|
269
269
|
days: n
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
function
|
|
273
|
-
return
|
|
272
|
+
function Yt(r, e, t) {
|
|
273
|
+
return xr(r, e, t).add({
|
|
274
274
|
days: 6
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
const Ie = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Map();
|
|
278
|
-
function
|
|
278
|
+
function Cr(r) {
|
|
279
279
|
if (Intl.Locale) {
|
|
280
280
|
let t = Ie.get(r);
|
|
281
281
|
return t || (t = new Intl.Locale(r).maximize().region, t && Ie.set(r, t)), t;
|
|
@@ -283,7 +283,7 @@ function xr(r) {
|
|
|
283
283
|
let e = r.split("-")[1];
|
|
284
284
|
return e === "u" ? void 0 : e;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Sr(r) {
|
|
287
287
|
let e = te.get(r);
|
|
288
288
|
if (!e) {
|
|
289
289
|
if (Intl.Locale) {
|
|
@@ -291,7 +291,7 @@ function Cr(r) {
|
|
|
291
291
|
if ("getWeekInfo" in n && (e = n.getWeekInfo(), e))
|
|
292
292
|
return te.set(r, e), e.firstDay;
|
|
293
293
|
}
|
|
294
|
-
let t =
|
|
294
|
+
let t = Cr(r);
|
|
295
295
|
if (r.includes("-fw-")) {
|
|
296
296
|
let n = r.split("-fw-")[1].split("-")[0];
|
|
297
297
|
n === "mon" ? e = {
|
|
@@ -312,32 +312,32 @@ function Cr(r) {
|
|
|
312
312
|
} else r.includes("-ca-iso8601") ? e = {
|
|
313
313
|
firstDay: 1
|
|
314
314
|
} : e = {
|
|
315
|
-
firstDay: t &&
|
|
315
|
+
firstDay: t && vr[t] || 0
|
|
316
316
|
};
|
|
317
317
|
te.set(r, e);
|
|
318
318
|
}
|
|
319
319
|
return e.firstDay;
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Bt(r, e, t) {
|
|
322
322
|
let n = r.calendar.getDaysInMonth(r);
|
|
323
323
|
return Math.ceil((Pe(Z(r), e, t) + n) / 7);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Tt(r, e) {
|
|
326
326
|
return r && e ? r.compare(e) <= 0 ? r : e : r || e;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Ut(r, e) {
|
|
329
329
|
return r && e ? r.compare(e) >= 0 ? r : e : r || e;
|
|
330
330
|
}
|
|
331
331
|
function T(r) {
|
|
332
332
|
r = h(r, new $());
|
|
333
|
-
let e =
|
|
333
|
+
let e = _(r.era, r.year);
|
|
334
334
|
return Ke(e, r.month, r.day, r.hour, r.minute, r.second, r.millisecond);
|
|
335
335
|
}
|
|
336
336
|
function Ke(r, e, t, n, a, o, i) {
|
|
337
337
|
let f = /* @__PURE__ */ new Date();
|
|
338
338
|
return f.setUTCHours(n, a, o, i), f.setUTCFullYear(r, e - 1, t), f.getTime();
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function se(r, e) {
|
|
341
341
|
if (e === "UTC") return 0;
|
|
342
342
|
if (r > 0 && e === Ve()) return new Date(r).getTimezoneOffset() * -6e4;
|
|
343
343
|
let { year: t, month: n, day: a, hour: o, minute: i, second: f } = Ge(r, e);
|
|
@@ -370,27 +370,27 @@ function Ge(r, e) {
|
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
372
|
const xe = 864e5;
|
|
373
|
-
function
|
|
373
|
+
function Yr(r, e, t, n) {
|
|
374
374
|
return (t === n ? [
|
|
375
375
|
t
|
|
376
376
|
] : [
|
|
377
377
|
t,
|
|
378
378
|
n
|
|
379
|
-
]).filter((o) =>
|
|
379
|
+
]).filter((o) => Br(r, e, o));
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function Br(r, e, t) {
|
|
382
382
|
let n = Ge(t, e);
|
|
383
383
|
return r.year === n.year && r.month === n.month && r.day === n.day && r.hour === n.hour && r.minute === n.minute && r.second === n.second;
|
|
384
384
|
}
|
|
385
385
|
function y(r, e, t = "compatible") {
|
|
386
|
-
let n =
|
|
386
|
+
let n = U(r);
|
|
387
387
|
if (e === "UTC") return T(n);
|
|
388
388
|
if (e === Ve() && t === "compatible") {
|
|
389
389
|
n = h(n, new $());
|
|
390
|
-
let
|
|
391
|
-
return
|
|
390
|
+
let s = /* @__PURE__ */ new Date(), l = _(n.era, n.year);
|
|
391
|
+
return s.setFullYear(l, n.month - 1, n.day), s.setHours(n.hour, n.minute, n.second, n.millisecond), s.getTime();
|
|
392
392
|
}
|
|
393
|
-
let a = T(n), o =
|
|
393
|
+
let a = T(n), o = se(a - xe, e), i = se(a + xe, e), f = Yr(n, e, a - o, a - i);
|
|
394
394
|
if (f.length === 1) return f[0];
|
|
395
395
|
if (f.length > 1) switch (t) {
|
|
396
396
|
// 'compatible' means 'earlier' for "fall back" transitions
|
|
@@ -417,13 +417,13 @@ function je(r, e, t = "compatible") {
|
|
|
417
417
|
return new Date(y(r, e, t));
|
|
418
418
|
}
|
|
419
419
|
function m(r, e) {
|
|
420
|
-
let t =
|
|
421
|
-
return new Q(a < 1 ? "BC" : "AD", a < 1 ? -a + 1 : a, o, i, e, t, f,
|
|
420
|
+
let t = se(r, e), n = new Date(r + t), a = n.getUTCFullYear(), o = n.getUTCMonth() + 1, i = n.getUTCDate(), f = n.getUTCHours(), s = n.getUTCMinutes(), l = n.getUTCSeconds(), I = n.getUTCMilliseconds();
|
|
421
|
+
return new Q(a < 1 ? "BC" : "AD", a < 1 ? -a + 1 : a, o, i, e, t, f, s, l, I);
|
|
422
422
|
}
|
|
423
|
-
function
|
|
424
|
-
return new
|
|
423
|
+
function Tr(r) {
|
|
424
|
+
return new c(r.calendar, r.era, r.year, r.month, r.day);
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function U(r, e) {
|
|
427
427
|
let t = 0, n = 0, a = 0, o = 0;
|
|
428
428
|
if ("timeZone" in r) ({ hour: t, minute: n, second: a, millisecond: o } = r);
|
|
429
429
|
else if ("hour" in r && !e) return r;
|
|
@@ -437,9 +437,9 @@ function h(r, e) {
|
|
|
437
437
|
let t = e.fromJulianDay(r.calendar.toJulianDay(r)), n = r.copy();
|
|
438
438
|
return n.calendar = e, n.era = t.era, n.year = t.year, n.month = t.month, n.day = t.day, E(n), n;
|
|
439
439
|
}
|
|
440
|
-
function
|
|
440
|
+
function Ur(r, e, t) {
|
|
441
441
|
if (r instanceof Q)
|
|
442
|
-
return r.timeZone === e ? r :
|
|
442
|
+
return r.timeZone === e ? r : Jr(r, e);
|
|
443
443
|
let n = y(r, e, t);
|
|
444
444
|
return m(n, e);
|
|
445
445
|
}
|
|
@@ -447,36 +447,36 @@ function Rr(r) {
|
|
|
447
447
|
let e = T(r) - r.offset;
|
|
448
448
|
return new Date(e);
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function Jr(r, e) {
|
|
451
451
|
let t = T(r) - r.offset;
|
|
452
452
|
return h(m(t, e), r.calendar);
|
|
453
453
|
}
|
|
454
|
-
const
|
|
454
|
+
const R = 36e5;
|
|
455
455
|
function z(r, e) {
|
|
456
456
|
let t = r.copy(), n = "hour" in t ? rr(t, e) : 0;
|
|
457
|
-
|
|
457
|
+
ce(t, e.years || 0), t.calendar.balanceYearMonth && t.calendar.balanceYearMonth(t, r), t.month += e.months || 0, le(t), Xe(t), t.day += (e.weeks || 0) * 7, t.day += e.days || 0, t.day += n, Lr(t), t.calendar.balanceDate && t.calendar.balanceDate(t), t.year < 1 && (t.year = 1, t.month = 1, t.day = 1);
|
|
458
458
|
let a = t.calendar.getYearsInEra(t);
|
|
459
459
|
if (t.year > a) {
|
|
460
460
|
var o, i;
|
|
461
|
-
let
|
|
462
|
-
t.year = a, t.month =
|
|
461
|
+
let s = (o = (i = t.calendar).isInverseEra) === null || o === void 0 ? void 0 : o.call(i, t);
|
|
462
|
+
t.year = a, t.month = s ? 1 : t.calendar.getMonthsInYear(t), t.day = s ? 1 : t.calendar.getDaysInMonth(t);
|
|
463
463
|
}
|
|
464
464
|
t.month < 1 && (t.month = 1, t.day = 1);
|
|
465
465
|
let f = t.calendar.getMonthsInYear(t);
|
|
466
466
|
return t.month > f && (t.month = f, t.day = t.calendar.getDaysInMonth(t)), t.day = Math.max(1, Math.min(t.calendar.getDaysInMonth(t), t.day)), t;
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function ce(r, e) {
|
|
469
469
|
var t, n;
|
|
470
470
|
!((t = (n = r.calendar).isInverseEra) === null || t === void 0) && t.call(n, r) && (e = -e), r.year += e;
|
|
471
471
|
}
|
|
472
472
|
function le(r) {
|
|
473
473
|
for (; r.month < 1; )
|
|
474
|
-
|
|
474
|
+
ce(r, -1), r.month += r.calendar.getMonthsInYear(r);
|
|
475
475
|
let e = 0;
|
|
476
476
|
for (; r.month > (e = r.calendar.getMonthsInYear(r)); )
|
|
477
|
-
r.month -= e,
|
|
477
|
+
r.month -= e, ce(r, 1);
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function Lr(r) {
|
|
480
480
|
for (; r.day < 1; )
|
|
481
481
|
r.month--, le(r), r.day += r.calendar.getDaysInMonth(r);
|
|
482
482
|
for (; r.day > r.calendar.getDaysInMonth(r); )
|
|
@@ -500,19 +500,19 @@ function ye(r, e) {
|
|
|
500
500
|
let t = r.copy();
|
|
501
501
|
return e.era != null && (t.era = e.era), e.year != null && (t.year = e.year), e.month != null && (t.month = e.month), e.day != null && (t.day = e.day), E(t), t;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function k(r, e) {
|
|
504
504
|
let t = r.copy();
|
|
505
505
|
return e.hour != null && (t.hour = e.hour), e.minute != null && (t.minute = e.minute), e.second != null && (t.second = e.second), e.millisecond != null && (t.millisecond = e.millisecond), er(t), t;
|
|
506
506
|
}
|
|
507
507
|
function kr(r) {
|
|
508
|
-
r.second += Math.floor(r.millisecond / 1e3), r.millisecond =
|
|
508
|
+
r.second += Math.floor(r.millisecond / 1e3), r.millisecond = F(r.millisecond, 1e3), r.minute += Math.floor(r.second / 60), r.second = F(r.second, 60), r.hour += Math.floor(r.minute / 60), r.minute = F(r.minute, 60);
|
|
509
509
|
let e = Math.floor(r.hour / 24);
|
|
510
|
-
return r.hour =
|
|
510
|
+
return r.hour = F(r.hour, 24), e;
|
|
511
511
|
}
|
|
512
512
|
function er(r) {
|
|
513
513
|
r.millisecond = Math.max(0, Math.min(r.millisecond, 1e3)), r.second = Math.max(0, Math.min(r.second, 59)), r.minute = Math.max(0, Math.min(r.minute, 59)), r.hour = Math.max(0, Math.min(r.hour, 23));
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function F(r, e) {
|
|
516
516
|
let t = r % e;
|
|
517
517
|
return t < 0 && (t += e), t;
|
|
518
518
|
}
|
|
@@ -523,16 +523,16 @@ function tr(r, e) {
|
|
|
523
523
|
let t = r.copy();
|
|
524
524
|
return rr(t, e), t;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function Or(r, e) {
|
|
527
527
|
return tr(r, de(e));
|
|
528
528
|
}
|
|
529
529
|
function me(r, e, t, n) {
|
|
530
530
|
let a = r.copy();
|
|
531
531
|
switch (e) {
|
|
532
532
|
case "era": {
|
|
533
|
-
let f = r.calendar.getEras(),
|
|
534
|
-
if (
|
|
535
|
-
|
|
533
|
+
let f = r.calendar.getEras(), s = f.indexOf(r.era);
|
|
534
|
+
if (s < 0) throw new Error("Invalid era: " + r.era);
|
|
535
|
+
s = b(s, t, 0, f.length - 1, n?.round), a.era = f[s], E(a);
|
|
536
536
|
break;
|
|
537
537
|
}
|
|
538
538
|
case "year":
|
|
@@ -556,8 +556,8 @@ function be(r, e, t, n) {
|
|
|
556
556
|
case "hour": {
|
|
557
557
|
let o = r.hour, i = 0, f = 23;
|
|
558
558
|
if (n?.hourCycle === 12) {
|
|
559
|
-
let
|
|
560
|
-
i =
|
|
559
|
+
let s = o >= 12;
|
|
560
|
+
i = s ? 12 : 0, f = s ? 23 : 11;
|
|
561
561
|
}
|
|
562
562
|
a.hour = b(o, t, i, f, n?.round);
|
|
563
563
|
break;
|
|
@@ -588,7 +588,7 @@ function b(r, e, t, n, a = !1) {
|
|
|
588
588
|
function nr(r, e) {
|
|
589
589
|
let t;
|
|
590
590
|
if (e.years != null && e.years !== 0 || e.months != null && e.months !== 0 || e.weeks != null && e.weeks !== 0 || e.days != null && e.days !== 0) {
|
|
591
|
-
let a = z(
|
|
591
|
+
let a = z(U(r), {
|
|
592
592
|
years: e.years,
|
|
593
593
|
months: e.months,
|
|
594
594
|
weeks: e.weeks,
|
|
@@ -601,10 +601,10 @@ function nr(r, e) {
|
|
|
601
601
|
let n = m(t, r.timeZone);
|
|
602
602
|
return h(n, r.calendar);
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function Qr(r, e) {
|
|
605
605
|
return nr(r, de(e));
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function _r(r, e, t, n) {
|
|
608
608
|
switch (e) {
|
|
609
609
|
case "hour": {
|
|
610
610
|
let a = 0, o = 23;
|
|
@@ -612,18 +612,18 @@ function Qr(r, e, t, n) {
|
|
|
612
612
|
let g = r.hour >= 12;
|
|
613
613
|
a = g ? 12 : 0, o = g ? 23 : 11;
|
|
614
614
|
}
|
|
615
|
-
let i =
|
|
615
|
+
let i = U(r), f = h(k(i, {
|
|
616
616
|
hour: a
|
|
617
|
-
}), new $()),
|
|
617
|
+
}), new $()), s = [
|
|
618
618
|
y(f, r.timeZone, "earlier"),
|
|
619
619
|
y(f, r.timeZone, "later")
|
|
620
|
-
].filter((g) => m(g, r.timeZone).day === f.day)[0], l = h(
|
|
620
|
+
].filter((g) => m(g, r.timeZone).day === f.day)[0], l = h(k(i, {
|
|
621
621
|
hour: o
|
|
622
622
|
}), new $()), I = [
|
|
623
623
|
y(l, r.timeZone, "earlier"),
|
|
624
624
|
y(l, r.timeZone, "later")
|
|
625
|
-
].filter((g) => m(g, r.timeZone).day === l.day).pop(), A = T(r) - r.offset, x = Math.floor(A /
|
|
626
|
-
return A = b(x, t, Math.floor(
|
|
625
|
+
].filter((g) => m(g, r.timeZone).day === l.day).pop(), A = T(r) - r.offset, x = Math.floor(A / R), p = A % R;
|
|
626
|
+
return A = b(x, t, Math.floor(s / R), Math.floor(I / R), n?.round) * R + p, h(m(A, r.timeZone), r.calendar);
|
|
627
627
|
}
|
|
628
628
|
case "minute":
|
|
629
629
|
case "second":
|
|
@@ -633,7 +633,7 @@ function Qr(r, e, t, n) {
|
|
|
633
633
|
case "year":
|
|
634
634
|
case "month":
|
|
635
635
|
case "day": {
|
|
636
|
-
let a = me(
|
|
636
|
+
let a = me(U(r), e, t, n), o = y(a, r.timeZone);
|
|
637
637
|
return h(m(o, r.timeZone), r.calendar);
|
|
638
638
|
}
|
|
639
639
|
default:
|
|
@@ -641,21 +641,23 @@ function Qr(r, e, t, n) {
|
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
643
|
function Fr(r, e, t) {
|
|
644
|
-
let n =
|
|
644
|
+
let n = U(r), a = k(ye(n, e), e);
|
|
645
645
|
if (a.compare(n) === 0) return r;
|
|
646
646
|
let o = y(a, r.timeZone, t);
|
|
647
647
|
return h(m(o, r.timeZone), r.calendar);
|
|
648
648
|
}
|
|
649
|
-
const
|
|
650
|
-
function Ut(r) {
|
|
651
|
-
let e = r.match(_r);
|
|
652
|
-
if (!e) throw new Error("Invalid ISO 8601 date string: " + r);
|
|
653
|
-
let t = new s(d(e[1], 0, 9999), d(e[2], 1, 12), 1);
|
|
654
|
-
return t.day = d(e[3], 1, t.calendar.getDaysInMonth(t)), t;
|
|
655
|
-
}
|
|
649
|
+
const Nr = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/, qr = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/, ar = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;
|
|
656
650
|
function Jt(r) {
|
|
657
651
|
let e = r.match(Nr);
|
|
658
|
-
if (!e)
|
|
652
|
+
if (!e)
|
|
653
|
+
throw ar.test(r) ? new Error(`Invalid ISO 8601 date string: ${r}. Use parseAbsolute() instead.`) : new Error("Invalid ISO 8601 date string: " + r);
|
|
654
|
+
let t = new c(d(e[1], 0, 9999), d(e[2], 1, 12), 1);
|
|
655
|
+
return t.day = d(e[3], 1, t.calendar.getDaysInMonth(t)), t;
|
|
656
|
+
}
|
|
657
|
+
function Lt(r) {
|
|
658
|
+
let e = r.match(qr);
|
|
659
|
+
if (!e)
|
|
660
|
+
throw ar.test(r) ? new Error(`Invalid ISO 8601 date time string: ${r}. Use parseAbsolute() instead.`) : new Error("Invalid ISO 8601 date time string: " + r);
|
|
659
661
|
let t = d(e[1], -9999, 9999), n = t < 1 ? "BC" : "AD", a = new O(n, t < 1 ? -t + 1 : t, d(e[2], 1, 12), 1, e[4] ? d(e[4], 0, 23) : 0, e[5] ? d(e[5], 0, 59) : 0, e[6] ? d(e[6], 0, 59) : 0, e[7] ? d(e[7], 0, 1 / 0) * 1e3 : 0);
|
|
660
662
|
return a.day = d(e[3], 0, a.calendar.getDaysInMonth(a)), a;
|
|
661
663
|
}
|
|
@@ -664,24 +666,24 @@ function d(r, e, t) {
|
|
|
664
666
|
if (n < e || n > t) throw new RangeError(`Value out of range: ${e} <= ${n} <= ${t}`);
|
|
665
667
|
return n;
|
|
666
668
|
}
|
|
667
|
-
function
|
|
669
|
+
function or(r) {
|
|
668
670
|
return `${String(r.hour).padStart(2, "0")}:${String(r.minute).padStart(2, "0")}:${String(r.second).padStart(2, "0")}${r.millisecond ? String(r.millisecond / 1e3).slice(1) : ""}`;
|
|
669
671
|
}
|
|
670
|
-
function
|
|
672
|
+
function ir(r) {
|
|
671
673
|
let e = h(r, new $()), t;
|
|
672
674
|
return e.era === "BC" ? t = e.year === 1 ? "0000" : "-" + String(Math.abs(1 - e.year)).padStart(6, "00") : t = String(e.year).padStart(4, "0"), `${t}-${String(e.month).padStart(2, "0")}-${String(e.day).padStart(2, "0")}`;
|
|
673
675
|
}
|
|
674
|
-
function
|
|
675
|
-
return `${
|
|
676
|
+
function fr(r) {
|
|
677
|
+
return `${ir(r)}T${or(r)}`;
|
|
676
678
|
}
|
|
677
|
-
function
|
|
679
|
+
function Hr(r) {
|
|
678
680
|
let e = Math.sign(r) < 0 ? "-" : "+";
|
|
679
681
|
r = Math.abs(r);
|
|
680
682
|
let t = Math.floor(r / 36e5), n = Math.floor(r % 36e5 / 6e4), a = Math.floor(r % 36e5 % 6e4 / 1e3), o = `${e}${String(t).padStart(2, "0")}:${String(n).padStart(2, "0")}`;
|
|
681
683
|
return a !== 0 && (o += `:${String(a).padStart(2, "0")}`), o;
|
|
682
684
|
}
|
|
683
|
-
function
|
|
684
|
-
return `${
|
|
685
|
+
function Pr(r) {
|
|
686
|
+
return `${fr(r)}${Hr(r.offset)}[${r.timeZone}]`;
|
|
685
687
|
}
|
|
686
688
|
function ge(r) {
|
|
687
689
|
let e = typeof r[0] == "object" ? r.shift() : new $(), t;
|
|
@@ -699,11 +701,11 @@ function ge(r) {
|
|
|
699
701
|
o
|
|
700
702
|
];
|
|
701
703
|
}
|
|
702
|
-
var
|
|
703
|
-
class
|
|
704
|
+
var Zr = /* @__PURE__ */ new WeakMap();
|
|
705
|
+
class c {
|
|
704
706
|
/** Returns a copy of this date. */
|
|
705
707
|
copy() {
|
|
706
|
-
return this.era ? new
|
|
708
|
+
return this.era ? new c(this.calendar, this.era, this.year, this.month, this.day) : new c(this.calendar, this.year, this.month, this.day);
|
|
707
709
|
}
|
|
708
710
|
/** Returns a new `CalendarDate` with the given duration added to it. */
|
|
709
711
|
add(e) {
|
|
@@ -730,14 +732,14 @@ class s {
|
|
|
730
732
|
}
|
|
731
733
|
/** Converts the date to an ISO 8601 formatted string. */
|
|
732
734
|
toString() {
|
|
733
|
-
return
|
|
735
|
+
return ir(this);
|
|
734
736
|
}
|
|
735
737
|
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
|
|
736
738
|
compare(e) {
|
|
737
739
|
return Ze(this, e);
|
|
738
740
|
}
|
|
739
741
|
constructor(...e) {
|
|
740
|
-
j(this,
|
|
742
|
+
j(this, Zr, {
|
|
741
743
|
writable: !0,
|
|
742
744
|
value: void 0
|
|
743
745
|
});
|
|
@@ -745,7 +747,7 @@ class s {
|
|
|
745
747
|
this.calendar = t, this.era = n, this.year = a, this.month = o, this.day = i, E(this);
|
|
746
748
|
}
|
|
747
749
|
}
|
|
748
|
-
var
|
|
750
|
+
var Wr = /* @__PURE__ */ new WeakMap();
|
|
749
751
|
class Me {
|
|
750
752
|
/** Returns a copy of this time. */
|
|
751
753
|
copy() {
|
|
@@ -757,11 +759,11 @@ class Me {
|
|
|
757
759
|
}
|
|
758
760
|
/** Returns a new `Time` with the given duration subtracted from it. */
|
|
759
761
|
subtract(e) {
|
|
760
|
-
return
|
|
762
|
+
return Or(this, e);
|
|
761
763
|
}
|
|
762
764
|
/** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */
|
|
763
765
|
set(e) {
|
|
764
|
-
return
|
|
766
|
+
return k(this, e);
|
|
765
767
|
}
|
|
766
768
|
/**
|
|
767
769
|
* Returns a new `Time` with the given field adjusted by a specified amount.
|
|
@@ -772,20 +774,20 @@ class Me {
|
|
|
772
774
|
}
|
|
773
775
|
/** Converts the time to an ISO 8601 formatted string. */
|
|
774
776
|
toString() {
|
|
775
|
-
return
|
|
777
|
+
return or(this);
|
|
776
778
|
}
|
|
777
779
|
/** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */
|
|
778
780
|
compare(e) {
|
|
779
781
|
return We(this, e);
|
|
780
782
|
}
|
|
781
783
|
constructor(e = 0, t = 0, n = 0, a = 0) {
|
|
782
|
-
j(this,
|
|
784
|
+
j(this, Wr, {
|
|
783
785
|
writable: !0,
|
|
784
786
|
value: void 0
|
|
785
787
|
}), this.hour = e, this.minute = t, this.second = n, this.millisecond = a, er(this);
|
|
786
788
|
}
|
|
787
789
|
}
|
|
788
|
-
var
|
|
790
|
+
var Vr = /* @__PURE__ */ new WeakMap();
|
|
789
791
|
class O {
|
|
790
792
|
/** Returns a copy of this date. */
|
|
791
793
|
copy() {
|
|
@@ -801,7 +803,7 @@ class O {
|
|
|
801
803
|
}
|
|
802
804
|
/** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
|
|
803
805
|
set(e) {
|
|
804
|
-
return ye(
|
|
806
|
+
return ye(k(this, e), e);
|
|
805
807
|
}
|
|
806
808
|
/**
|
|
807
809
|
* Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.
|
|
@@ -824,15 +826,15 @@ class O {
|
|
|
824
826
|
}
|
|
825
827
|
/** Converts the date to an ISO 8601 formatted string. */
|
|
826
828
|
toString() {
|
|
827
|
-
return
|
|
829
|
+
return fr(this);
|
|
828
830
|
}
|
|
829
831
|
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
|
|
830
832
|
compare(e) {
|
|
831
833
|
let t = Ze(this, e);
|
|
832
|
-
return t === 0 ? We(this,
|
|
834
|
+
return t === 0 ? We(this, U(e)) : t;
|
|
833
835
|
}
|
|
834
836
|
constructor(...e) {
|
|
835
|
-
j(this,
|
|
837
|
+
j(this, Vr, {
|
|
836
838
|
writable: !0,
|
|
837
839
|
value: void 0
|
|
838
840
|
});
|
|
@@ -840,7 +842,7 @@ class O {
|
|
|
840
842
|
this.calendar = t, this.era = n, this.year = a, this.month = o, this.day = i, this.hour = e.shift() || 0, this.minute = e.shift() || 0, this.second = e.shift() || 0, this.millisecond = e.shift() || 0, E(this);
|
|
841
843
|
}
|
|
842
844
|
}
|
|
843
|
-
var
|
|
845
|
+
var Kr = /* @__PURE__ */ new WeakMap();
|
|
844
846
|
class Q {
|
|
845
847
|
/** Returns a copy of this date. */
|
|
846
848
|
copy() {
|
|
@@ -852,7 +854,7 @@ class Q {
|
|
|
852
854
|
}
|
|
853
855
|
/** Returns a new `ZonedDateTime` with the given duration subtracted from it. */
|
|
854
856
|
subtract(e) {
|
|
855
|
-
return
|
|
857
|
+
return Qr(this, e);
|
|
856
858
|
}
|
|
857
859
|
/** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
|
|
858
860
|
set(e, t) {
|
|
@@ -863,7 +865,7 @@ class Q {
|
|
|
863
865
|
* When the resulting value reaches the limits of the field, it wraps around.
|
|
864
866
|
*/
|
|
865
867
|
cycle(e, t, n) {
|
|
866
|
-
return
|
|
868
|
+
return _r(this, e, t, n);
|
|
867
869
|
}
|
|
868
870
|
/** Converts the date to a native JavaScript Date object. */
|
|
869
871
|
toDate() {
|
|
@@ -871,7 +873,7 @@ class Q {
|
|
|
871
873
|
}
|
|
872
874
|
/** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */
|
|
873
875
|
toString() {
|
|
874
|
-
return
|
|
876
|
+
return Pr(this);
|
|
875
877
|
}
|
|
876
878
|
/** Converts the date to an ISO 8601 formatted string in UTC. */
|
|
877
879
|
toAbsoluteString() {
|
|
@@ -879,15 +881,15 @@ class Q {
|
|
|
879
881
|
}
|
|
880
882
|
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
|
|
881
883
|
compare(e) {
|
|
882
|
-
return this.toDate().getTime() -
|
|
884
|
+
return this.toDate().getTime() - Ur(e, this.timeZone).toDate().getTime();
|
|
883
885
|
}
|
|
884
886
|
constructor(...e) {
|
|
885
|
-
j(this,
|
|
887
|
+
j(this, Kr, {
|
|
886
888
|
writable: !0,
|
|
887
889
|
value: void 0
|
|
888
890
|
});
|
|
889
|
-
let [t, n, a, o, i] = ge(e), f = e.shift(),
|
|
890
|
-
this.calendar = t, this.era = n, this.year = a, this.month = o, this.day = i, this.timeZone = f, this.offset =
|
|
891
|
+
let [t, n, a, o, i] = ge(e), f = e.shift(), s = e.shift();
|
|
892
|
+
this.calendar = t, this.era = n, this.year = a, this.month = o, this.day = i, this.timeZone = f, this.offset = s, this.hour = e.shift() || 0, this.minute = e.shift() || 0, this.second = e.shift() || 0, this.millisecond = e.shift() || 0, E(this);
|
|
891
893
|
}
|
|
892
894
|
}
|
|
893
895
|
const Y = [
|
|
@@ -916,7 +918,7 @@ const Y = [
|
|
|
916
918
|
5,
|
|
917
919
|
1
|
|
918
920
|
]
|
|
919
|
-
],
|
|
921
|
+
], Gr = [
|
|
920
922
|
[
|
|
921
923
|
1912,
|
|
922
924
|
7,
|
|
@@ -957,12 +959,12 @@ function Ce(r) {
|
|
|
957
959
|
function ne(r) {
|
|
958
960
|
let e = q[M.indexOf(r.era)];
|
|
959
961
|
if (!e) throw new Error("Unknown era: " + r.era);
|
|
960
|
-
return new
|
|
962
|
+
return new c(r.year + e, r.month, r.day);
|
|
961
963
|
}
|
|
962
|
-
class
|
|
964
|
+
class jr extends $ {
|
|
963
965
|
fromJulianDay(e) {
|
|
964
966
|
let t = super.fromJulianDay(e), n = Ce(t);
|
|
965
|
-
return new
|
|
967
|
+
return new c(this, M[n], t.year - q[n], t.month, t.day);
|
|
966
968
|
}
|
|
967
969
|
toJulianDay(e) {
|
|
968
970
|
return super.toJulianDay(ne(e));
|
|
@@ -972,7 +974,7 @@ class Gr extends $ {
|
|
|
972
974
|
M[n] !== e.era && (e.era = M[n], e.year = t.year - q[n]), this.constrainDate(e);
|
|
973
975
|
}
|
|
974
976
|
constrainDate(e) {
|
|
975
|
-
let t = M.indexOf(e.era), n =
|
|
977
|
+
let t = M.indexOf(e.era), n = Gr[t];
|
|
976
978
|
if (n != null) {
|
|
977
979
|
let [a, o, i] = n, f = a - q[t];
|
|
978
980
|
e.year = Math.max(1, Math.min(f, e.year)), e.year === f && (e.month = Math.min(o, e.month), e.month === o && (e.day = Math.min(i, e.day)));
|
|
@@ -1013,11 +1015,11 @@ function Se(r) {
|
|
|
1013
1015
|
return Y[e];
|
|
1014
1016
|
}
|
|
1015
1017
|
}
|
|
1016
|
-
const
|
|
1017
|
-
class
|
|
1018
|
+
const sr = -543;
|
|
1019
|
+
class Xr extends $ {
|
|
1018
1020
|
fromJulianDay(e) {
|
|
1019
|
-
let t = super.fromJulianDay(e), n =
|
|
1020
|
-
return new
|
|
1021
|
+
let t = super.fromJulianDay(e), n = _(t.era, t.year);
|
|
1022
|
+
return new c(this, n - sr, t.month, t.day);
|
|
1021
1023
|
}
|
|
1022
1024
|
toJulianDay(e) {
|
|
1023
1025
|
return super.toJulianDay(Ye(e));
|
|
@@ -1037,8 +1039,8 @@ class jr extends $ {
|
|
|
1037
1039
|
}
|
|
1038
1040
|
}
|
|
1039
1041
|
function Ye(r) {
|
|
1040
|
-
let [e, t] = X(r.year +
|
|
1041
|
-
return new
|
|
1042
|
+
let [e, t] = X(r.year + sr);
|
|
1043
|
+
return new c(e, t, r.month, r.day);
|
|
1042
1044
|
}
|
|
1043
1045
|
const W = 1911;
|
|
1044
1046
|
function cr(r) {
|
|
@@ -1054,10 +1056,10 @@ function Be(r) {
|
|
|
1054
1056
|
1 - e
|
|
1055
1057
|
];
|
|
1056
1058
|
}
|
|
1057
|
-
class
|
|
1059
|
+
class zr extends $ {
|
|
1058
1060
|
fromJulianDay(e) {
|
|
1059
|
-
let t = super.fromJulianDay(e), n =
|
|
1060
|
-
return new
|
|
1061
|
+
let t = super.fromJulianDay(e), n = _(t.era, t.year), [a, o] = Be(n);
|
|
1062
|
+
return new c(this, a, o, t.month, t.day);
|
|
1061
1063
|
}
|
|
1062
1064
|
toJulianDay(e) {
|
|
1063
1065
|
return super.toJulianDay(Te(e));
|
|
@@ -1087,9 +1089,9 @@ class Xr extends $ {
|
|
|
1087
1089
|
}
|
|
1088
1090
|
function Te(r) {
|
|
1089
1091
|
let [e, t] = X(cr(r));
|
|
1090
|
-
return new
|
|
1092
|
+
return new c(e, t, r.month, r.day);
|
|
1091
1093
|
}
|
|
1092
|
-
const
|
|
1094
|
+
const Ue = 1948320, Re = [
|
|
1093
1095
|
0,
|
|
1094
1096
|
31,
|
|
1095
1097
|
62,
|
|
@@ -1104,14 +1106,14 @@ const Re = 1948320, Ue = [
|
|
|
1104
1106
|
336
|
|
1105
1107
|
// Esfand
|
|
1106
1108
|
];
|
|
1107
|
-
class
|
|
1109
|
+
class et {
|
|
1108
1110
|
fromJulianDay(e) {
|
|
1109
|
-
let t = e -
|
|
1110
|
-
return new
|
|
1111
|
+
let t = e - Ue, n = 1 + Math.floor((33 * t + 3) / 12053), a = 365 * (n - 1) + Math.floor((8 * n + 21) / 33), o = t - a, i = o < 216 ? Math.floor(o / 31) : Math.floor((o - 6) / 30), f = o - Re[i] + 1;
|
|
1112
|
+
return new c(this, n, i + 1, f);
|
|
1111
1113
|
}
|
|
1112
1114
|
toJulianDay(e) {
|
|
1113
|
-
let t =
|
|
1114
|
-
return t +=
|
|
1115
|
+
let t = Ue - 1 + 365 * (e.year - 1) + Math.floor((8 * e.year + 21) / 33);
|
|
1116
|
+
return t += Re[e.month - 1], t += e.day, t;
|
|
1115
1117
|
}
|
|
1116
1118
|
getMonthsInYear() {
|
|
1117
1119
|
return 12;
|
|
@@ -1132,7 +1134,7 @@ class zr {
|
|
|
1132
1134
|
}
|
|
1133
1135
|
}
|
|
1134
1136
|
const ae = 78, Je = 80;
|
|
1135
|
-
class
|
|
1137
|
+
class rt extends $ {
|
|
1136
1138
|
fromJulianDay(e) {
|
|
1137
1139
|
let t = super.fromJulianDay(e), n = t.year - ae, a = e - v(t.era, t.year, 1, 1), o;
|
|
1138
1140
|
a < Je ? (n--, o = D(t.year - 1) ? 31 : 30, a += o + 155 + 90 + 10) : (o = D(t.year) ? 31 : 30, a -= Je);
|
|
@@ -1140,10 +1142,10 @@ class et extends $ {
|
|
|
1140
1142
|
if (a < o)
|
|
1141
1143
|
i = 1, f = a + 1;
|
|
1142
1144
|
else {
|
|
1143
|
-
let
|
|
1144
|
-
|
|
1145
|
+
let s = a - o;
|
|
1146
|
+
s < 155 ? (i = Math.floor(s / 31) + 2, f = s % 31 + 1) : (s -= 155, i = Math.floor(s / 30) + 7, f = s % 30 + 1);
|
|
1145
1147
|
}
|
|
1146
|
-
return new
|
|
1148
|
+
return new c(this, n, i, f);
|
|
1147
1149
|
}
|
|
1148
1150
|
toJulianDay(e) {
|
|
1149
1151
|
let t = e.year + ae, [n, a] = X(t), o, i;
|
|
@@ -1166,33 +1168,33 @@ class et extends $ {
|
|
|
1166
1168
|
super(...e), this.identifier = "indian";
|
|
1167
1169
|
}
|
|
1168
1170
|
}
|
|
1169
|
-
const V = 1948440,
|
|
1171
|
+
const V = 1948440, Le = 1948439, u = 1300, C = 1600, tt = 460322;
|
|
1170
1172
|
function K(r, e, t, n) {
|
|
1171
1173
|
return n + Math.ceil(29.5 * (t - 1)) + (e - 1) * 354 + Math.floor((3 + 11 * e) / 30) + r - 1;
|
|
1172
1174
|
}
|
|
1173
|
-
function
|
|
1175
|
+
function lr(r, e, t) {
|
|
1174
1176
|
let n = Math.floor((30 * (t - e) + 10646) / 10631), a = Math.min(12, Math.ceil((t - (29 + K(e, n, 1, 1))) / 29.5) + 1), o = t - K(e, n, a, 1) + 1;
|
|
1175
|
-
return new
|
|
1177
|
+
return new c(r, n, a, o);
|
|
1176
1178
|
}
|
|
1177
|
-
function
|
|
1179
|
+
function ke(r) {
|
|
1178
1180
|
return (14 + 11 * r) % 30 < 11;
|
|
1179
1181
|
}
|
|
1180
1182
|
class De {
|
|
1181
1183
|
fromJulianDay(e) {
|
|
1182
|
-
return
|
|
1184
|
+
return lr(this, V, e);
|
|
1183
1185
|
}
|
|
1184
1186
|
toJulianDay(e) {
|
|
1185
1187
|
return K(V, e.year, e.month, e.day);
|
|
1186
1188
|
}
|
|
1187
1189
|
getDaysInMonth(e) {
|
|
1188
1190
|
let t = 29 + e.month % 2;
|
|
1189
|
-
return e.month === 12 &&
|
|
1191
|
+
return e.month === 12 && ke(e.year) && t++, t;
|
|
1190
1192
|
}
|
|
1191
1193
|
getMonthsInYear() {
|
|
1192
1194
|
return 12;
|
|
1193
1195
|
}
|
|
1194
1196
|
getDaysInYear(e) {
|
|
1195
|
-
return
|
|
1197
|
+
return ke(e.year) ? 355 : 354;
|
|
1196
1198
|
}
|
|
1197
1199
|
getYearsInEra() {
|
|
1198
1200
|
return 9665;
|
|
@@ -1206,21 +1208,21 @@ class De {
|
|
|
1206
1208
|
this.identifier = "islamic-civil";
|
|
1207
1209
|
}
|
|
1208
1210
|
}
|
|
1209
|
-
class
|
|
1211
|
+
class nt extends De {
|
|
1210
1212
|
fromJulianDay(e) {
|
|
1211
|
-
return
|
|
1213
|
+
return lr(this, Le, e);
|
|
1212
1214
|
}
|
|
1213
1215
|
toJulianDay(e) {
|
|
1214
|
-
return K(
|
|
1216
|
+
return K(Le, e.year, e.month, e.day);
|
|
1215
1217
|
}
|
|
1216
1218
|
constructor(...e) {
|
|
1217
1219
|
super(...e), this.identifier = "islamic-tbla";
|
|
1218
1220
|
}
|
|
1219
1221
|
}
|
|
1220
|
-
const
|
|
1222
|
+
const at = "qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";
|
|
1221
1223
|
let ue, B;
|
|
1222
1224
|
function H(r) {
|
|
1223
|
-
return
|
|
1225
|
+
return tt + B[r - u];
|
|
1224
1226
|
}
|
|
1225
1227
|
function J(r, e) {
|
|
1226
1228
|
let t = r - u, n = 1 << 11 - (e - 1);
|
|
@@ -1234,7 +1236,7 @@ function Oe(r, e) {
|
|
|
1234
1236
|
function Qe(r) {
|
|
1235
1237
|
return B[r + 1 - u] - B[r - u];
|
|
1236
1238
|
}
|
|
1237
|
-
class
|
|
1239
|
+
class ot extends De {
|
|
1238
1240
|
fromJulianDay(e) {
|
|
1239
1241
|
let t = e - V, n = H(u), a = H(C);
|
|
1240
1242
|
if (t < n || t > a) return super.fromJulianDay(e);
|
|
@@ -1242,18 +1244,18 @@ class at extends De {
|
|
|
1242
1244
|
let o = u - 1, i = 1, f = 1;
|
|
1243
1245
|
for (; f > 0; ) {
|
|
1244
1246
|
o++, f = t - H(o) + 1;
|
|
1245
|
-
let
|
|
1246
|
-
if (f ===
|
|
1247
|
+
let s = Qe(o);
|
|
1248
|
+
if (f === s) {
|
|
1247
1249
|
i = 12;
|
|
1248
1250
|
break;
|
|
1249
|
-
} else if (f <
|
|
1251
|
+
} else if (f < s) {
|
|
1250
1252
|
let l = J(o, i);
|
|
1251
1253
|
for (i = 1; f > l; )
|
|
1252
1254
|
f -= l, i++, l = J(o, i);
|
|
1253
1255
|
break;
|
|
1254
1256
|
}
|
|
1255
1257
|
}
|
|
1256
|
-
return new
|
|
1258
|
+
return new c(this, o, i, t - Oe(o, i) + 1);
|
|
1257
1259
|
}
|
|
1258
1260
|
}
|
|
1259
1261
|
toJulianDay(e) {
|
|
@@ -1266,7 +1268,7 @@ class at extends De {
|
|
|
1266
1268
|
return e.year < u || e.year > C ? super.getDaysInYear(e) : Qe(e.year);
|
|
1267
1269
|
}
|
|
1268
1270
|
constructor() {
|
|
1269
|
-
if (super(), this.identifier = "islamic-umalqura", ue || (ue = new Uint16Array(Uint8Array.from(atob(
|
|
1271
|
+
if (super(), this.identifier = "islamic-umalqura", ue || (ue = new Uint16Array(Uint8Array.from(atob(at), (e) => e.charCodeAt(0)).buffer)), !B) {
|
|
1270
1272
|
B = new Uint32Array(C - u + 1);
|
|
1271
1273
|
let e = 0;
|
|
1272
1274
|
for (let t = u; t <= C; t++) {
|
|
@@ -1276,7 +1278,7 @@ class at extends De {
|
|
|
1276
1278
|
}
|
|
1277
1279
|
}
|
|
1278
1280
|
}
|
|
1279
|
-
const
|
|
1281
|
+
const _e = 347997, ur = 1080, hr = 24 * ur, it = 29, ft = 12 * ur + 793, st = it * hr + ft;
|
|
1280
1282
|
function w(r) {
|
|
1281
1283
|
return S(r * 7 + 1, 19) < 7;
|
|
1282
1284
|
}
|
|
@@ -1288,14 +1290,14 @@ function ct(r) {
|
|
|
1288
1290
|
let e = P(r - 1), t = P(r);
|
|
1289
1291
|
return P(r + 1) - t === 356 ? 2 : t - e === 382 ? 1 : 0;
|
|
1290
1292
|
}
|
|
1291
|
-
function
|
|
1293
|
+
function L(r) {
|
|
1292
1294
|
return P(r) + ct(r);
|
|
1293
1295
|
}
|
|
1294
|
-
function
|
|
1295
|
-
return
|
|
1296
|
+
function $r(r) {
|
|
1297
|
+
return L(r + 1) - L(r);
|
|
1296
1298
|
}
|
|
1297
|
-
function
|
|
1298
|
-
let e =
|
|
1299
|
+
function lt(r) {
|
|
1300
|
+
let e = $r(r);
|
|
1299
1301
|
switch (e > 380 && (e -= 30), e) {
|
|
1300
1302
|
case 353:
|
|
1301
1303
|
return 0;
|
|
@@ -1309,25 +1311,25 @@ function st(r) {
|
|
|
1309
1311
|
}
|
|
1310
1312
|
function N(r, e) {
|
|
1311
1313
|
if (e >= 6 && !w(r) && e++, e === 4 || e === 7 || e === 9 || e === 11 || e === 13) return 29;
|
|
1312
|
-
let t =
|
|
1314
|
+
let t = lt(r);
|
|
1313
1315
|
return e === 2 ? t === 2 ? 30 : 29 : e === 3 ? t === 0 ? 29 : 30 : e === 6 ? w(r) ? 30 : 0 : 30;
|
|
1314
1316
|
}
|
|
1315
|
-
class
|
|
1317
|
+
class ut {
|
|
1316
1318
|
fromJulianDay(e) {
|
|
1317
|
-
let t = e -
|
|
1319
|
+
let t = e - _e, n = t * hr / st, a = Math.floor((19 * n + 234) / 235) + 1, o = L(a), i = Math.floor(t - o);
|
|
1318
1320
|
for (; i < 1; )
|
|
1319
|
-
a--, o =
|
|
1320
|
-
let f = 1,
|
|
1321
|
-
for (;
|
|
1322
|
-
|
|
1323
|
-
f--,
|
|
1324
|
-
let l = i -
|
|
1325
|
-
return new
|
|
1321
|
+
a--, o = L(a), i = Math.floor(t - o);
|
|
1322
|
+
let f = 1, s = 0;
|
|
1323
|
+
for (; s < i; )
|
|
1324
|
+
s += N(a, f), f++;
|
|
1325
|
+
f--, s -= N(a, f);
|
|
1326
|
+
let l = i - s;
|
|
1327
|
+
return new c(this, a, f, l);
|
|
1326
1328
|
}
|
|
1327
1329
|
toJulianDay(e) {
|
|
1328
|
-
let t =
|
|
1330
|
+
let t = L(e.year);
|
|
1329
1331
|
for (let n = 1; n < e.month; n++) t += N(e.year, n);
|
|
1330
|
-
return t + e.day +
|
|
1332
|
+
return t + e.day + _e;
|
|
1331
1333
|
}
|
|
1332
1334
|
getDaysInMonth(e) {
|
|
1333
1335
|
return N(e.year, e.month);
|
|
@@ -1336,7 +1338,7 @@ class lt {
|
|
|
1336
1338
|
return w(e.year) ? 13 : 12;
|
|
1337
1339
|
}
|
|
1338
1340
|
getDaysInYear(e) {
|
|
1339
|
-
return
|
|
1341
|
+
return $r(e.year);
|
|
1340
1342
|
}
|
|
1341
1343
|
getYearsInEra() {
|
|
1342
1344
|
return 9999;
|
|
@@ -1353,7 +1355,7 @@ class lt {
|
|
|
1353
1355
|
this.identifier = "hebrew";
|
|
1354
1356
|
}
|
|
1355
1357
|
}
|
|
1356
|
-
const he = 1723856,
|
|
1358
|
+
const he = 1723856, Fe = 1824665, $e = 5500;
|
|
1357
1359
|
function G(r, e, t, n) {
|
|
1358
1360
|
return r + 365 * e + Math.floor(e / 4) + 30 * (t - 1) + n - 1;
|
|
1359
1361
|
}
|
|
@@ -1365,29 +1367,29 @@ function pe(r, e) {
|
|
|
1365
1367
|
a
|
|
1366
1368
|
];
|
|
1367
1369
|
}
|
|
1368
|
-
function
|
|
1370
|
+
function dr(r) {
|
|
1369
1371
|
return Math.floor(r % 4 / 3);
|
|
1370
1372
|
}
|
|
1371
|
-
function
|
|
1372
|
-
return e % 13 !== 0 ? 30 :
|
|
1373
|
+
function yr(r, e) {
|
|
1374
|
+
return e % 13 !== 0 ? 30 : dr(r) + 5;
|
|
1373
1375
|
}
|
|
1374
1376
|
class we {
|
|
1375
1377
|
fromJulianDay(e) {
|
|
1376
1378
|
let [t, n, a] = pe(he, e), o = "AM";
|
|
1377
|
-
return t <= 0 && (o = "AA", t += $e), new
|
|
1379
|
+
return t <= 0 && (o = "AA", t += $e), new c(this, o, t, n, a);
|
|
1378
1380
|
}
|
|
1379
1381
|
toJulianDay(e) {
|
|
1380
1382
|
let t = e.year;
|
|
1381
1383
|
return e.era === "AA" && (t -= $e), G(he, t, e.month, e.day);
|
|
1382
1384
|
}
|
|
1383
1385
|
getDaysInMonth(e) {
|
|
1384
|
-
return
|
|
1386
|
+
return yr(e.year, e.month);
|
|
1385
1387
|
}
|
|
1386
1388
|
getMonthsInYear() {
|
|
1387
1389
|
return 13;
|
|
1388
1390
|
}
|
|
1389
1391
|
getDaysInYear(e) {
|
|
1390
|
-
return 365 +
|
|
1392
|
+
return 365 + dr(e.year);
|
|
1391
1393
|
}
|
|
1392
1394
|
getYearsInEra(e) {
|
|
1393
1395
|
return e.era === "AA" ? 9999 : 9991;
|
|
@@ -1402,10 +1404,10 @@ class we {
|
|
|
1402
1404
|
this.identifier = "ethiopic";
|
|
1403
1405
|
}
|
|
1404
1406
|
}
|
|
1405
|
-
class
|
|
1407
|
+
class ht extends we {
|
|
1406
1408
|
fromJulianDay(e) {
|
|
1407
1409
|
let [t, n, a] = pe(he, e);
|
|
1408
|
-
return t += $e, new
|
|
1410
|
+
return t += $e, new c(this, "AA", t, n, a);
|
|
1409
1411
|
}
|
|
1410
1412
|
getEras() {
|
|
1411
1413
|
return [
|
|
@@ -1419,18 +1421,18 @@ class ut extends we {
|
|
|
1419
1421
|
super(...e), this.identifier = "ethioaa";
|
|
1420
1422
|
}
|
|
1421
1423
|
}
|
|
1422
|
-
class
|
|
1424
|
+
class $t extends we {
|
|
1423
1425
|
fromJulianDay(e) {
|
|
1424
|
-
let [t, n, a] = pe(
|
|
1425
|
-
return t <= 0 && (o = "BCE", t = 1 - t), new
|
|
1426
|
+
let [t, n, a] = pe(Fe, e), o = "CE";
|
|
1427
|
+
return t <= 0 && (o = "BCE", t = 1 - t), new c(this, o, t, n, a);
|
|
1426
1428
|
}
|
|
1427
1429
|
toJulianDay(e) {
|
|
1428
1430
|
let t = e.year;
|
|
1429
|
-
return e.era === "BCE" && (t = 1 - t), G(
|
|
1431
|
+
return e.era === "BCE" && (t = 1 - t), G(Fe, t, e.month, e.day);
|
|
1430
1432
|
}
|
|
1431
1433
|
getDaysInMonth(e) {
|
|
1432
1434
|
let t = e.year;
|
|
1433
|
-
return e.era === "BCE" && (t = 1 - t),
|
|
1435
|
+
return e.era === "BCE" && (t = 1 - t), yr(t, e.month);
|
|
1434
1436
|
}
|
|
1435
1437
|
isInverseEra(e) {
|
|
1436
1438
|
return e.era === "BCE";
|
|
@@ -1454,36 +1456,36 @@ class ht extends we {
|
|
|
1454
1456
|
function kt(r) {
|
|
1455
1457
|
switch (r) {
|
|
1456
1458
|
case "buddhist":
|
|
1457
|
-
return new
|
|
1459
|
+
return new Xr();
|
|
1458
1460
|
case "ethiopic":
|
|
1459
1461
|
return new we();
|
|
1460
1462
|
case "ethioaa":
|
|
1461
|
-
return new ut();
|
|
1462
|
-
case "coptic":
|
|
1463
1463
|
return new ht();
|
|
1464
|
+
case "coptic":
|
|
1465
|
+
return new $t();
|
|
1464
1466
|
case "hebrew":
|
|
1465
|
-
return new
|
|
1467
|
+
return new ut();
|
|
1466
1468
|
case "indian":
|
|
1467
|
-
return new
|
|
1469
|
+
return new rt();
|
|
1468
1470
|
case "islamic-civil":
|
|
1469
1471
|
return new De();
|
|
1470
1472
|
case "islamic-tbla":
|
|
1471
|
-
return new
|
|
1473
|
+
return new nt();
|
|
1472
1474
|
case "islamic-umalqura":
|
|
1473
|
-
return new
|
|
1475
|
+
return new ot();
|
|
1474
1476
|
case "japanese":
|
|
1475
|
-
return new
|
|
1477
|
+
return new jr();
|
|
1476
1478
|
case "persian":
|
|
1477
|
-
return new
|
|
1479
|
+
return new et();
|
|
1478
1480
|
case "roc":
|
|
1479
|
-
return new
|
|
1481
|
+
return new zr();
|
|
1480
1482
|
case "gregory":
|
|
1481
1483
|
default:
|
|
1482
1484
|
return new $();
|
|
1483
1485
|
}
|
|
1484
1486
|
}
|
|
1485
1487
|
let oe = /* @__PURE__ */ new Map();
|
|
1486
|
-
class
|
|
1488
|
+
class dt {
|
|
1487
1489
|
/** Formats a date as a string according to the locale and format options passed to the constructor. */
|
|
1488
1490
|
format(e) {
|
|
1489
1491
|
return this.formatter.format(e);
|
|
@@ -1524,25 +1526,25 @@ class $t {
|
|
|
1524
1526
|
/** Returns the resolved formatting options based on the values passed to the constructor. */
|
|
1525
1527
|
resolvedOptions() {
|
|
1526
1528
|
let e = this.formatter.resolvedOptions();
|
|
1527
|
-
return
|
|
1529
|
+
return bt() && (this.resolvedHourCycle || (this.resolvedHourCycle = gt(e.locale, this.options)), e.hourCycle = this.resolvedHourCycle, e.hour12 = this.resolvedHourCycle === "h11" || this.resolvedHourCycle === "h12"), e.calendar === "ethiopic-amete-alem" && (e.calendar = "ethioaa"), e;
|
|
1528
1530
|
}
|
|
1529
1531
|
constructor(e, t = {}) {
|
|
1530
|
-
this.formatter =
|
|
1532
|
+
this.formatter = mr(e, t), this.options = t;
|
|
1531
1533
|
}
|
|
1532
1534
|
}
|
|
1533
|
-
const
|
|
1535
|
+
const yt = {
|
|
1534
1536
|
true: {
|
|
1535
1537
|
// Only Japanese uses the h11 style for 12 hour time. All others use h12.
|
|
1536
1538
|
ja: "h11"
|
|
1537
1539
|
},
|
|
1538
1540
|
false: {}
|
|
1539
1541
|
};
|
|
1540
|
-
function
|
|
1541
|
-
if (typeof e.hour12 == "boolean" &&
|
|
1542
|
+
function mr(r, e = {}) {
|
|
1543
|
+
if (typeof e.hour12 == "boolean" && mt()) {
|
|
1542
1544
|
e = {
|
|
1543
1545
|
...e
|
|
1544
1546
|
};
|
|
1545
|
-
let a =
|
|
1547
|
+
let a = yt[String(e.hour12)][r.split("-")[0]], o = e.hour12 ? "h12" : "h23";
|
|
1546
1548
|
e.hourCycle = a ?? o, delete e.hour12;
|
|
1547
1549
|
}
|
|
1548
1550
|
let t = r + (e ? Object.entries(e).sort((a, o) => a[0] < o[0] ? -1 : 1).join() : "");
|
|
@@ -1551,23 +1553,23 @@ function yr(r, e = {}) {
|
|
|
1551
1553
|
return oe.set(t, n), n;
|
|
1552
1554
|
}
|
|
1553
1555
|
let ie = null;
|
|
1554
|
-
function
|
|
1556
|
+
function mt() {
|
|
1555
1557
|
return ie == null && (ie = new Intl.DateTimeFormat("en-US", {
|
|
1556
1558
|
hour: "numeric",
|
|
1557
1559
|
hour12: !1
|
|
1558
1560
|
}).format(new Date(2020, 2, 3, 0)) === "24"), ie;
|
|
1559
1561
|
}
|
|
1560
1562
|
let fe = null;
|
|
1561
|
-
function
|
|
1563
|
+
function bt() {
|
|
1562
1564
|
return fe == null && (fe = new Intl.DateTimeFormat("fr", {
|
|
1563
1565
|
hour: "numeric",
|
|
1564
1566
|
hour12: !1
|
|
1565
1567
|
}).resolvedOptions().hourCycle === "h12"), fe;
|
|
1566
1568
|
}
|
|
1567
|
-
function
|
|
1569
|
+
function gt(r, e) {
|
|
1568
1570
|
if (!e.timeStyle && !e.hour) return;
|
|
1569
1571
|
r = r.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, ""), r += (r.includes("-u-") ? "" : "-u") + "-nu-latn";
|
|
1570
|
-
let t =
|
|
1572
|
+
let t = mr(r, {
|
|
1571
1573
|
...e,
|
|
1572
1574
|
timeZone: void 0
|
|
1573
1575
|
// use local timezone
|
|
@@ -1578,15 +1580,15 @@ function bt(r, e) {
|
|
|
1578
1580
|
if (n === 12 && a === 11) return "h12";
|
|
1579
1581
|
throw new Error("Unexpected hour cycle result");
|
|
1580
1582
|
}
|
|
1581
|
-
function
|
|
1582
|
-
r =
|
|
1583
|
-
let { locale: e } =
|
|
1584
|
-
return
|
|
1583
|
+
function Ot(r) {
|
|
1584
|
+
r = pr(r ?? {}, Mt);
|
|
1585
|
+
let { locale: e } = gr();
|
|
1586
|
+
return Dr(() => new dt(e, r), [
|
|
1585
1587
|
e,
|
|
1586
1588
|
r
|
|
1587
1589
|
]);
|
|
1588
1590
|
}
|
|
1589
|
-
function
|
|
1591
|
+
function Mt(r, e) {
|
|
1590
1592
|
if (r === e) return !0;
|
|
1591
1593
|
let t = Object.keys(r), n = Object.keys(e);
|
|
1592
1594
|
if (t.length !== n.length) return !1;
|
|
@@ -1595,38 +1597,38 @@ function gt(r, e) {
|
|
|
1595
1597
|
return !0;
|
|
1596
1598
|
}
|
|
1597
1599
|
export {
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1600
|
+
dt as $,
|
|
1601
|
+
St as A,
|
|
1602
|
+
Ct as B,
|
|
1603
|
+
Ur as C,
|
|
1602
1604
|
Rt as D,
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1605
|
+
Lt as E,
|
|
1606
|
+
Jt as F,
|
|
1607
|
+
U as a,
|
|
1608
|
+
Tr as b,
|
|
1607
1609
|
Ve as c,
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
+
Ar as d,
|
|
1611
|
+
Ot as e,
|
|
1610
1612
|
qe as f,
|
|
1611
1613
|
Z as g,
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1614
|
+
At as h,
|
|
1615
|
+
xr as i,
|
|
1616
|
+
Bt as j,
|
|
1617
|
+
pr as k,
|
|
1618
|
+
Et as l,
|
|
1619
|
+
It as m,
|
|
1620
|
+
Ut as n,
|
|
1621
|
+
Tt as o,
|
|
1622
|
+
xt as p,
|
|
1621
1623
|
h as q,
|
|
1622
1624
|
He as r,
|
|
1623
1625
|
Pe as s,
|
|
1624
|
-
|
|
1626
|
+
Yt as t,
|
|
1625
1627
|
$ as u,
|
|
1626
1628
|
kt as v,
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
+
vt as w,
|
|
1630
|
+
c as x,
|
|
1629
1631
|
Me as y,
|
|
1630
|
-
|
|
1632
|
+
Ir as z
|
|
1631
1633
|
};
|
|
1632
|
-
//# sourceMappingURL=useDateFormatter-
|
|
1634
|
+
//# sourceMappingURL=useDateFormatter-9juUpmrj.es.js.map
|