@12-apps/ui 6.94.0 → 6.95.1
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/NATIVE.md +1 -1
- package/components-catalog.md +7 -0
- package/dist/_internal/components/data-display/Avatar/Avatar.js +2 -2
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +1 -1
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +1 -1
- package/dist/_internal/components/data-display/Carousel/Carousel.js +3 -3
- package/dist/_internal/components/data-display/Chart/SpecChart.js +3 -3
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +27 -27
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +32 -32
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +1 -1
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-layout.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +10 -10
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +25 -25
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +6 -6
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +2 -2
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +2 -2
- package/dist/_internal/components/data-display/DayRuler/DayRuler.js +3 -3
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +1 -1
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +5 -5
- package/dist/_internal/components/data-display/Lightbox/LightboxControls.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/LightboxOverlay.js +3 -3
- package/dist/_internal/components/data-display/Lightbox/LightboxThumbnails.js +2 -2
- package/dist/_internal/components/data-display/RegionMap/RegionMap.js +2 -2
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.js +1 -1
- package/dist/_internal/components/data-display/Sheet/Sheet.body.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +5 -5
- package/dist/_internal/components/data-display/Sheet/Sheet.parts.js +1 -1
- package/dist/_internal/components/data-display/Table/Table.js +3 -3
- package/dist/_internal/components/data-display/index.js +39 -39
- package/dist/_internal/components/feedback/StackedModal/StackedModal.hooks.js +2 -2
- package/dist/_internal/components/feedback/StackedModal/StackedModal.js +4 -4
- package/dist/_internal/components/feedback/StackedModal/modal-stack.js +3 -1
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialOverlay.js +2 -2
- package/dist/_internal/components/feedback/UsableModal/UsableModal.js +11 -0
- package/dist/_internal/components/feedback/UsableModal/UsableModal.js.map +1 -0
- package/dist/_internal/components/feedback/UsableModal/UsableModal.modal.js +87 -0
- package/dist/_internal/components/feedback/UsableModal/UsableModal.modal.js.map +1 -0
- package/dist/_internal/components/feedback/UsableModal/UsableModal.sheet.js +91 -0
- package/dist/_internal/components/feedback/UsableModal/UsableModal.sheet.js.map +1 -0
- package/dist/_internal/components/feedback/UsableModal/UsableModal.types.js +1 -0
- package/dist/_internal/components/feedback/UsableModal/UsableModal.types.js.map +1 -0
- package/dist/_internal/components/feedback/UsableModal/has-footer.js +8 -0
- package/dist/_internal/components/feedback/UsableModal/has-footer.js.map +1 -0
- package/dist/_internal/components/feedback/UsableModal/recover-chunk.js +10 -0
- package/dist/_internal/components/feedback/UsableModal/recover-chunk.js.map +1 -0
- package/dist/_internal/components/feedback/index.js +9 -9
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.hooks.js +3 -3
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +5 -5
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +2 -2
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +2 -2
- package/dist/_internal/components/form/Command/Command.js +2 -2
- package/dist/_internal/components/form/Menubar/Menubar.js +2 -2
- package/dist/_internal/components/form/UploadButton/UploadButton.js +2 -2
- package/dist/_internal/components/form/index.js +43 -43
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +3 -3
- package/dist/_internal/components/form/total-form/Fields/index.js +9 -9
- package/dist/_internal/components/index.js +125 -125
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +3 -3
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +3 -3
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +3 -3
- package/dist/_internal/components/layout/SettingsLayout/SettingsPanel.js +2 -2
- package/dist/_internal/components/layout/index.js +17 -17
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +6 -6
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMegaSection.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.js +4 -4
- package/dist/_internal/components/navigation/NavigationMenu/NavigationStandardBody.js +2 -2
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +3 -3
- package/dist/_internal/components/navigation/index.js +19 -19
- package/dist/_internal/components/utility/index.js +4 -4
- package/dist/_internal/user-avatar/user-avatar.js +3 -3
- package/dist/charts.js +11 -11
- package/dist/{chunk-NQDOKJLI.js → chunk-2365CQJU.js} +2 -2
- package/dist/{chunk-4E2RQOSQ.js → chunk-24G3BWKD.js} +2 -2
- package/dist/{chunk-NASLJO2R.js → chunk-2KSFBZ2H.js} +5 -4
- package/dist/chunk-2KSFBZ2H.js.map +1 -0
- package/dist/{chunk-XE33EZVS.js → chunk-2SBQ47RI.js} +5 -5
- package/dist/{chunk-HWZETMO4.js → chunk-37SNQQ7P.js} +3 -3
- package/dist/{chunk-2L6TANRY.js → chunk-4RF4BALN.js} +3 -3
- package/dist/{chunk-X6D5JEUV.js → chunk-4RSFYS2V.js} +6 -6
- package/dist/{chunk-LYVTJLCF.js → chunk-56JF5PZK.js} +4 -4
- package/dist/{chunk-7WE432RQ.js → chunk-5HXVXW22.js} +5 -5
- package/dist/{chunk-N3GLX64O.js → chunk-5I75WRXT.js} +4 -4
- package/dist/{chunk-BP3ZKIPE.js → chunk-64UNVW6D.js} +4 -4
- package/dist/{chunk-NQ6P7O7C.js → chunk-6AKDAQSS.js} +2 -2
- package/dist/{chunk-PGJIWCQR.js → chunk-6EZQLNPK.js} +4 -4
- package/dist/{chunk-EE6DJPB7.js → chunk-6HXNFNOB.js} +4 -4
- package/dist/{chunk-4QTPERAY.js → chunk-6RW4WNGS.js} +4 -4
- package/dist/{chunk-GBB23QLL.js → chunk-6ZAKPYWX.js} +4 -4
- package/dist/{chunk-CWXX5JR3.js → chunk-75GAQL2Q.js} +5 -5
- package/dist/{chunk-JZRSHDNY.js → chunk-77FQFWA3.js} +6 -3
- package/dist/chunk-77FQFWA3.js.map +1 -0
- package/dist/{chunk-LY5I3ZSV.js → chunk-A2YLFKQU.js} +4 -4
- package/dist/{chunk-6DGNMASB.js → chunk-ALREWFRX.js} +4 -4
- package/dist/{chunk-F2UP5ZF4.js → chunk-BMC5KGH2.js} +4 -4
- package/dist/{chunk-3ODEBPGT.js → chunk-BRFL7OWI.js} +5 -5
- package/dist/chunk-BTMBQIED.js +7 -0
- package/dist/chunk-BTMBQIED.js.map +1 -0
- package/dist/{chunk-UIIHUWOV.js → chunk-C7IFBYIJ.js} +7 -7
- package/dist/{chunk-FKS2PNJF.js → chunk-CSD6SWBZ.js} +6 -6
- package/dist/{chunk-6LGKJVOA.js → chunk-E2UOEI7N.js} +2 -2
- package/dist/{chunk-K2VDRODL.js → chunk-E4NFH77Z.js} +4 -4
- package/dist/chunk-FRAFGRRD.js +53 -0
- package/dist/chunk-FRAFGRRD.js.map +1 -0
- package/dist/{chunk-VM4UYCD4.js → chunk-FTYOCFTV.js} +3 -3
- package/dist/{chunk-JVQ56E3U.js → chunk-FWTVIRZZ.js} +6 -6
- package/dist/{chunk-ALMGYCHY.js → chunk-I54YFYBS.js} +2 -2
- package/dist/chunk-IQDPMLDM.js +39 -0
- package/dist/chunk-IQDPMLDM.js.map +1 -0
- package/dist/{chunk-TSMF7K37.js → chunk-J4UA744J.js} +9 -2
- package/dist/chunk-J4UA744J.js.map +1 -0
- package/dist/{chunk-4J62V5OE.js → chunk-JIEVKHOH.js} +6 -6
- package/dist/{chunk-MKNW4FRR.js → chunk-JOQGKXR5.js} +5 -5
- package/dist/{chunk-Y3FYOKWF.js → chunk-KHDKG7XB.js} +2 -2
- package/dist/{chunk-TSID4257.js → chunk-KMMFN24G.js} +4 -4
- package/dist/{chunk-E5OBAS3U.js → chunk-LTJC7TGB.js} +4 -2
- package/dist/chunk-LTJC7TGB.js.map +1 -0
- package/dist/{chunk-LKWXU6NH.js → chunk-LV6AD6XC.js} +2 -2
- package/dist/{chunk-WQO5WONV.js → chunk-MWXZXCVX.js} +4 -4
- package/dist/{chunk-PNZH6CDD.js → chunk-NI3MC742.js} +4 -4
- package/dist/{chunk-BZYLTGOE.js → chunk-OKDKKBLI.js} +4 -4
- package/dist/{chunk-AJ6KFHEE.js → chunk-PJDAZG65.js} +2 -2
- package/dist/{chunk-FPNVOB52.js → chunk-RNIJL54W.js} +4 -4
- package/dist/{chunk-2M3W6ACW.js → chunk-S46LGAQ2.js} +4 -4
- package/dist/{chunk-6N2U67KF.js → chunk-T3KVZTO3.js} +4 -4
- package/dist/{chunk-GY53SDVL.js → chunk-U2SAW6DH.js} +4 -4
- package/dist/{chunk-P772HCHI.js → chunk-W676GY42.js} +4 -4
- package/dist/{chunk-T2G4LDU5.js → chunk-WLLUARTC.js} +2 -2
- package/dist/{chunk-SI5SKX52.js → chunk-WW3F7DCX.js} +2 -2
- package/dist/{chunk-UOKXYV3U.js → chunk-XALDXR3F.js} +2 -2
- package/dist/{chunk-ZM6FJCWS.js → chunk-XNAI7QGU.js} +4 -4
- package/dist/{chunk-LZ5PGB7U.js → chunk-XTYBJAZG.js} +21 -13
- package/dist/chunk-XTYBJAZG.js.map +1 -0
- package/dist/{chunk-JXK53XJW.js → chunk-YOLLISEY.js} +9 -9
- package/dist/{chunk-FKUVFPQZ.js → chunk-Z6QFIRD7.js} +4 -4
- package/dist/data-display/Avatar.js +2 -2
- package/dist/data-display/CardKit.js +1 -1
- package/dist/data-display/Carousel.js +3 -3
- package/dist/data-display/Chart.js +11 -11
- package/dist/data-display/DataViews.js +40 -40
- package/dist/data-display/DayRuler.js +3 -3
- package/dist/data-display/HoverCard.js +1 -1
- package/dist/data-display/Lightbox.js +5 -5
- package/dist/data-display/RegionMap.js +2 -2
- package/dist/data-display/ScheduleGrid.js +5 -5
- package/dist/data-display/Sheet.js +5 -5
- package/dist/data-display/Table.js +3 -3
- package/dist/feedback/ConfirmAction.js +3 -3
- package/dist/feedback/StackedModal.js +4 -4
- package/dist/feedback/TutorialOverlay.js +2 -2
- package/dist/feedback/UsableModal.js +9 -0
- package/dist/feedback/UsableModal.js.map +1 -0
- package/dist/form/AddressAutocomplete.js +5 -5
- package/dist/form/CategorySelect.js +2 -2
- package/dist/form/CodeEditor.js +2 -2
- package/dist/form/Command.js +2 -2
- package/dist/form/Menubar.js +2 -2
- package/dist/form/UploadButton.js +2 -2
- package/dist/form/total-form.js +7 -7
- package/dist/layout/ContentToolbar.js +3 -3
- package/dist/layout/SettingCard.js +7 -7
- package/dist/layout/SettingsLayout.js +3 -3
- package/dist/locales.js +4 -4
- package/dist/navigation/AppHeader.js +8 -8
- package/dist/navigation/NavigationMenu.js +4 -4
- package/dist/navigation/SectionNav.js +3 -3
- package/dist/pt-BR.js +5 -5
- package/dist/types/components/data-display/Sheet/Sheet.body.d.ts +2 -0
- package/dist/types/components/data-display/Sheet/Sheet.body.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.types.d.ts +14 -0
- package/dist/types/components/data-display/Sheet/Sheet.types.d.ts.map +1 -1
- package/dist/types/components/feedback/StackedModal/StackedModal.hooks.d.ts.map +1 -1
- package/dist/types/components/feedback/StackedModal/modal-stack.d.ts +6 -0
- package/dist/types/components/feedback/StackedModal/modal-stack.d.ts.map +1 -1
- package/dist/types/components/feedback/UsableModal/UsableModal.d.ts +20 -0
- package/dist/types/components/feedback/UsableModal/UsableModal.d.ts.map +1 -0
- package/dist/types/components/feedback/UsableModal/UsableModal.modal.d.ts +11 -0
- package/dist/types/components/feedback/UsableModal/UsableModal.modal.d.ts.map +1 -0
- package/dist/types/components/feedback/UsableModal/UsableModal.sheet.d.ts +17 -0
- package/dist/types/components/feedback/UsableModal/UsableModal.sheet.d.ts.map +1 -0
- package/dist/types/components/feedback/UsableModal/UsableModal.types.d.ts +35 -0
- package/dist/types/components/feedback/UsableModal/UsableModal.types.d.ts.map +1 -0
- package/dist/types/components/feedback/UsableModal/has-footer.d.ts +4 -0
- package/dist/types/components/feedback/UsableModal/has-footer.d.ts.map +1 -0
- package/dist/types/components/feedback/UsableModal/index.d.ts +3 -0
- package/dist/types/components/feedback/UsableModal/index.d.ts.map +1 -0
- package/dist/types/components/feedback/UsableModal/recover-chunk.d.ts +24 -0
- package/dist/types/components/feedback/UsableModal/recover-chunk.d.ts.map +1 -0
- package/dist/user-avatar.js +3 -3
- package/package.json +5 -1
- package/src/components/data-display/Sheet/Sheet.body.tsx +4 -0
- package/src/components/data-display/Sheet/Sheet.md +5 -0
- package/src/components/data-display/Sheet/Sheet.parts.tsx +5 -3
- package/src/components/data-display/Sheet/Sheet.tsx +29 -9
- package/src/components/data-display/Sheet/Sheet.types.ts +14 -0
- package/src/components/feedback/StackedModal/StackedModal.hooks.ts +16 -0
- package/src/components/feedback/StackedModal/modal-stack.tsx +12 -2
- package/src/components/feedback/UsableModal/UsableModal.md +95 -0
- package/src/components/feedback/UsableModal/UsableModal.modal.tsx +76 -0
- package/src/components/feedback/UsableModal/UsableModal.sheet.tsx +65 -0
- package/src/components/feedback/UsableModal/UsableModal.tsx +92 -0
- package/src/components/feedback/UsableModal/UsableModal.types.ts +38 -0
- package/src/components/feedback/UsableModal/has-footer.ts +4 -0
- package/src/components/feedback/UsableModal/index.ts +2 -0
- package/src/components/feedback/UsableModal/recover-chunk.ts +61 -0
- package/dist/chunk-E5OBAS3U.js.map +0 -1
- package/dist/chunk-JZRSHDNY.js.map +0 -1
- package/dist/chunk-LZ5PGB7U.js.map +0 -1
- package/dist/chunk-NASLJO2R.js.map +0 -1
- package/dist/chunk-TSMF7K37.js.map +0 -1
- /package/dist/{chunk-NQDOKJLI.js.map → chunk-2365CQJU.js.map} +0 -0
- /package/dist/{chunk-4E2RQOSQ.js.map → chunk-24G3BWKD.js.map} +0 -0
- /package/dist/{chunk-XE33EZVS.js.map → chunk-2SBQ47RI.js.map} +0 -0
- /package/dist/{chunk-HWZETMO4.js.map → chunk-37SNQQ7P.js.map} +0 -0
- /package/dist/{chunk-2L6TANRY.js.map → chunk-4RF4BALN.js.map} +0 -0
- /package/dist/{chunk-X6D5JEUV.js.map → chunk-4RSFYS2V.js.map} +0 -0
- /package/dist/{chunk-LYVTJLCF.js.map → chunk-56JF5PZK.js.map} +0 -0
- /package/dist/{chunk-7WE432RQ.js.map → chunk-5HXVXW22.js.map} +0 -0
- /package/dist/{chunk-N3GLX64O.js.map → chunk-5I75WRXT.js.map} +0 -0
- /package/dist/{chunk-BP3ZKIPE.js.map → chunk-64UNVW6D.js.map} +0 -0
- /package/dist/{chunk-NQ6P7O7C.js.map → chunk-6AKDAQSS.js.map} +0 -0
- /package/dist/{chunk-PGJIWCQR.js.map → chunk-6EZQLNPK.js.map} +0 -0
- /package/dist/{chunk-EE6DJPB7.js.map → chunk-6HXNFNOB.js.map} +0 -0
- /package/dist/{chunk-4QTPERAY.js.map → chunk-6RW4WNGS.js.map} +0 -0
- /package/dist/{chunk-GBB23QLL.js.map → chunk-6ZAKPYWX.js.map} +0 -0
- /package/dist/{chunk-CWXX5JR3.js.map → chunk-75GAQL2Q.js.map} +0 -0
- /package/dist/{chunk-LY5I3ZSV.js.map → chunk-A2YLFKQU.js.map} +0 -0
- /package/dist/{chunk-6DGNMASB.js.map → chunk-ALREWFRX.js.map} +0 -0
- /package/dist/{chunk-F2UP5ZF4.js.map → chunk-BMC5KGH2.js.map} +0 -0
- /package/dist/{chunk-3ODEBPGT.js.map → chunk-BRFL7OWI.js.map} +0 -0
- /package/dist/{chunk-UIIHUWOV.js.map → chunk-C7IFBYIJ.js.map} +0 -0
- /package/dist/{chunk-FKS2PNJF.js.map → chunk-CSD6SWBZ.js.map} +0 -0
- /package/dist/{chunk-6LGKJVOA.js.map → chunk-E2UOEI7N.js.map} +0 -0
- /package/dist/{chunk-K2VDRODL.js.map → chunk-E4NFH77Z.js.map} +0 -0
- /package/dist/{chunk-VM4UYCD4.js.map → chunk-FTYOCFTV.js.map} +0 -0
- /package/dist/{chunk-JVQ56E3U.js.map → chunk-FWTVIRZZ.js.map} +0 -0
- /package/dist/{chunk-ALMGYCHY.js.map → chunk-I54YFYBS.js.map} +0 -0
- /package/dist/{chunk-4J62V5OE.js.map → chunk-JIEVKHOH.js.map} +0 -0
- /package/dist/{chunk-MKNW4FRR.js.map → chunk-JOQGKXR5.js.map} +0 -0
- /package/dist/{chunk-Y3FYOKWF.js.map → chunk-KHDKG7XB.js.map} +0 -0
- /package/dist/{chunk-TSID4257.js.map → chunk-KMMFN24G.js.map} +0 -0
- /package/dist/{chunk-LKWXU6NH.js.map → chunk-LV6AD6XC.js.map} +0 -0
- /package/dist/{chunk-WQO5WONV.js.map → chunk-MWXZXCVX.js.map} +0 -0
- /package/dist/{chunk-PNZH6CDD.js.map → chunk-NI3MC742.js.map} +0 -0
- /package/dist/{chunk-BZYLTGOE.js.map → chunk-OKDKKBLI.js.map} +0 -0
- /package/dist/{chunk-AJ6KFHEE.js.map → chunk-PJDAZG65.js.map} +0 -0
- /package/dist/{chunk-FPNVOB52.js.map → chunk-RNIJL54W.js.map} +0 -0
- /package/dist/{chunk-2M3W6ACW.js.map → chunk-S46LGAQ2.js.map} +0 -0
- /package/dist/{chunk-6N2U67KF.js.map → chunk-T3KVZTO3.js.map} +0 -0
- /package/dist/{chunk-GY53SDVL.js.map → chunk-U2SAW6DH.js.map} +0 -0
- /package/dist/{chunk-P772HCHI.js.map → chunk-W676GY42.js.map} +0 -0
- /package/dist/{chunk-T2G4LDU5.js.map → chunk-WLLUARTC.js.map} +0 -0
- /package/dist/{chunk-SI5SKX52.js.map → chunk-WW3F7DCX.js.map} +0 -0
- /package/dist/{chunk-UOKXYV3U.js.map → chunk-XALDXR3F.js.map} +0 -0
- /package/dist/{chunk-ZM6FJCWS.js.map → chunk-XNAI7QGU.js.map} +0 -0
- /package/dist/{chunk-JXK53XJW.js.map → chunk-YOLLISEY.js.map} +0 -0
- /package/dist/{chunk-FKUVFPQZ.js.map → chunk-Z6QFIRD7.js.map} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Sheet
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-XTYBJAZG.js";
|
|
4
|
+
import "../../../../chunk-LTJC7TGB.js";
|
|
5
5
|
import "../../../../chunk-3ROCD7XF.js";
|
|
6
6
|
import {
|
|
7
7
|
SheetContent,
|
|
8
8
|
SheetFooter,
|
|
9
9
|
SheetHeader,
|
|
10
10
|
SheetOverlay
|
|
11
|
-
} from "../../../../chunk-
|
|
12
|
-
import "../../../../chunk-
|
|
13
|
-
import "../../../../chunk-CRN4KKNI.js";
|
|
11
|
+
} from "../../../../chunk-2KSFBZ2H.js";
|
|
12
|
+
import "../../../../chunk-56JF5PZK.js";
|
|
14
13
|
import "../../../../chunk-IM4DMKH4.js";
|
|
14
|
+
import "../../../../chunk-CRN4KKNI.js";
|
|
15
15
|
import "../../../../chunk-XOXXG7Q5.js";
|
|
16
16
|
import "../../../../chunk-HPK33ACY.js";
|
|
17
17
|
import "../../../../chunk-B7ZHEOQQ.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Table
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-L5KPBMMF.js";
|
|
3
|
+
} from "../../../../chunk-YOLLISEY.js";
|
|
5
4
|
import "../../../../chunk-BVHIKXCN.js";
|
|
6
5
|
import "../../../../chunk-RZSMRBOX.js";
|
|
7
|
-
import "../../../../chunk-Y3DV7LGC.js";
|
|
8
6
|
import "../../../../chunk-XIXR2L3L.js";
|
|
7
|
+
import "../../../../chunk-L5KPBMMF.js";
|
|
8
|
+
import "../../../../chunk-Y3DV7LGC.js";
|
|
9
9
|
import "../../../../chunk-LL2BWQPM.js";
|
|
10
10
|
import "../../../../chunk-XOXXG7Q5.js";
|
|
11
11
|
import "../../../../chunk-O6MJWHU5.js";
|
|
@@ -31,18 +31,18 @@ import "../../../chunk-YSTHOE66.js";
|
|
|
31
31
|
import "../../../chunk-UM35GGCS.js";
|
|
32
32
|
import {
|
|
33
33
|
Lightbox_default
|
|
34
|
-
} from "../../../chunk-
|
|
34
|
+
} from "../../../chunk-FWTVIRZZ.js";
|
|
35
35
|
import "../../../chunk-UOS7DEQZ.js";
|
|
36
|
-
import "../../../chunk-
|
|
36
|
+
import "../../../chunk-64UNVW6D.js";
|
|
37
37
|
import "../../../chunk-SYGM4SHY.js";
|
|
38
|
-
import "../../../chunk-
|
|
38
|
+
import "../../../chunk-WLLUARTC.js";
|
|
39
39
|
import "../../../chunk-RBGUS7WO.js";
|
|
40
40
|
import "../../../chunk-IOCY5G43.js";
|
|
41
|
-
import "../../../chunk-
|
|
42
|
-
import "../../../chunk-TEQYTEM2.js";
|
|
41
|
+
import "../../../chunk-W676GY42.js";
|
|
43
42
|
import "../../../chunk-HZBDTPPV.js";
|
|
44
43
|
import "../../../chunk-WZERH7E3.js";
|
|
45
44
|
import "../../../chunk-VQU3CBAL.js";
|
|
45
|
+
import "../../../chunk-TEQYTEM2.js";
|
|
46
46
|
import "../../../chunk-EJDOH7IN.js";
|
|
47
47
|
import "../../../chunk-6CUNJ4JF.js";
|
|
48
48
|
import {
|
|
@@ -58,27 +58,27 @@ import "../../../chunk-5JEOLUWJ.js";
|
|
|
58
58
|
import "../../../chunk-ITACE45O.js";
|
|
59
59
|
import {
|
|
60
60
|
Sheet
|
|
61
|
-
} from "../../../chunk-
|
|
62
|
-
import "../../../chunk-
|
|
61
|
+
} from "../../../chunk-XTYBJAZG.js";
|
|
62
|
+
import "../../../chunk-LTJC7TGB.js";
|
|
63
63
|
import "../../../chunk-3ROCD7XF.js";
|
|
64
64
|
import {
|
|
65
65
|
SheetContent,
|
|
66
66
|
SheetFooter,
|
|
67
67
|
SheetHeader,
|
|
68
68
|
SheetOverlay
|
|
69
|
-
} from "../../../chunk-
|
|
70
|
-
import "../../../chunk-
|
|
71
|
-
import "../../../chunk-CRN4KKNI.js";
|
|
69
|
+
} from "../../../chunk-2KSFBZ2H.js";
|
|
70
|
+
import "../../../chunk-56JF5PZK.js";
|
|
72
71
|
import "../../../chunk-IM4DMKH4.js";
|
|
72
|
+
import "../../../chunk-CRN4KKNI.js";
|
|
73
73
|
import "../../../chunk-WG2WFANT.js";
|
|
74
74
|
import {
|
|
75
75
|
Table
|
|
76
|
-
} from "../../../chunk-
|
|
77
|
-
import "../../../chunk-L5KPBMMF.js";
|
|
76
|
+
} from "../../../chunk-YOLLISEY.js";
|
|
78
77
|
import "../../../chunk-BVHIKXCN.js";
|
|
79
78
|
import "../../../chunk-RZSMRBOX.js";
|
|
80
|
-
import "../../../chunk-Y3DV7LGC.js";
|
|
81
79
|
import "../../../chunk-XIXR2L3L.js";
|
|
80
|
+
import "../../../chunk-L5KPBMMF.js";
|
|
81
|
+
import "../../../chunk-Y3DV7LGC.js";
|
|
82
82
|
import "../../../chunk-JBE3LH4C.js";
|
|
83
83
|
import {
|
|
84
84
|
Timeline
|
|
@@ -119,8 +119,7 @@ import "../../../chunk-MIUPTZS6.js";
|
|
|
119
119
|
import "../../../chunk-DY2I6LMX.js";
|
|
120
120
|
import {
|
|
121
121
|
RegionMap
|
|
122
|
-
} from "../../../chunk-
|
|
123
|
-
import "../../../chunk-BRZKOUEL.js";
|
|
122
|
+
} from "../../../chunk-5I75WRXT.js";
|
|
124
123
|
import "../../../chunk-PBRCKHN3.js";
|
|
125
124
|
import "../../../chunk-NGXL4R54.js";
|
|
126
125
|
import "../../../chunk-J3AWGTJY.js";
|
|
@@ -134,16 +133,17 @@ import {
|
|
|
134
133
|
hitRegion,
|
|
135
134
|
projectionAt
|
|
136
135
|
} from "../../../chunk-COOSJKZL.js";
|
|
136
|
+
import "../../../chunk-BRZKOUEL.js";
|
|
137
137
|
import "../../../chunk-PUFA7FQ7.js";
|
|
138
138
|
import "../../../chunk-ESOM4KVQ.js";
|
|
139
|
-
import {
|
|
140
|
-
ScheduleGrid
|
|
141
|
-
} from "../../../chunk-SKQPUAMK.js";
|
|
142
|
-
import "../../../chunk-FYSS2PYA.js";
|
|
143
139
|
import {
|
|
144
140
|
SCHEDULE_GRID_LABELS
|
|
145
141
|
} from "../../../chunk-DDGYTY4E.js";
|
|
146
142
|
import "../../../chunk-LVZYKETN.js";
|
|
143
|
+
import {
|
|
144
|
+
ScheduleGrid
|
|
145
|
+
} from "../../../chunk-SKQPUAMK.js";
|
|
146
|
+
import "../../../chunk-FYSS2PYA.js";
|
|
147
147
|
import "../../../chunk-ZHKCE5LR.js";
|
|
148
148
|
import "../../../chunk-NMXYHPOG.js";
|
|
149
149
|
import "../../../chunk-5MXVKZKZ.js";
|
|
@@ -166,9 +166,9 @@ import {
|
|
|
166
166
|
HoverCard
|
|
167
167
|
} from "../../../chunk-YBAK2WN5.js";
|
|
168
168
|
import "../../../chunk-ABF64CAQ.js";
|
|
169
|
-
import "../../../chunk-ZHV7TCAC.js";
|
|
170
169
|
import "../../../chunk-Z3USLQQT.js";
|
|
171
170
|
import "../../../chunk-NRIV2CQ2.js";
|
|
171
|
+
import "../../../chunk-ZHV7TCAC.js";
|
|
172
172
|
import "../../../chunk-TAF3YYMK.js";
|
|
173
173
|
import {
|
|
174
174
|
InteractiveTooltip
|
|
@@ -188,16 +188,16 @@ import "../../../chunk-7WDPC46N.js";
|
|
|
188
188
|
import "../../../chunk-62FET2BM.js";
|
|
189
189
|
import {
|
|
190
190
|
Carousel
|
|
191
|
-
} from "../../../chunk-
|
|
192
|
-
import "../../../chunk-TB5CRHTF.js";
|
|
191
|
+
} from "../../../chunk-U2SAW6DH.js";
|
|
193
192
|
import "../../../chunk-Z64TMGYT.js";
|
|
194
193
|
import "../../../chunk-6FDLBWTE.js";
|
|
194
|
+
import "../../../chunk-RUIV5TVA.js";
|
|
195
|
+
import "../../../chunk-TB5CRHTF.js";
|
|
195
196
|
import {
|
|
196
197
|
CarouselArrows,
|
|
197
198
|
CarouselIndicators,
|
|
198
199
|
CarouselThumbnails
|
|
199
200
|
} from "../../../chunk-M2M4IDFU.js";
|
|
200
|
-
import "../../../chunk-RUIV5TVA.js";
|
|
201
201
|
import {
|
|
202
202
|
Chip
|
|
203
203
|
} from "../../../chunk-NI67M453.js";
|
|
@@ -219,8 +219,7 @@ import "../../../chunk-G3E66C6J.js";
|
|
|
219
219
|
import "../../../chunk-M6K6PCOS.js";
|
|
220
220
|
import {
|
|
221
221
|
DayRuler
|
|
222
|
-
} from "../../../chunk-
|
|
223
|
-
import "../../../chunk-U4Z6GZDW.js";
|
|
222
|
+
} from "../../../chunk-75GAQL2Q.js";
|
|
224
223
|
import "../../../chunk-MPVH2GM5.js";
|
|
225
224
|
import "../../../chunk-WSSD7H5E.js";
|
|
226
225
|
import "../../../chunk-FGZIEZEP.js";
|
|
@@ -230,17 +229,18 @@ import {
|
|
|
230
229
|
} from "../../../chunk-EZBBLLEU.js";
|
|
231
230
|
import "../../../chunk-F2ZUUEXC.js";
|
|
232
231
|
import "../../../chunk-ZHCZOPKE.js";
|
|
232
|
+
import "../../../chunk-U4Z6GZDW.js";
|
|
233
233
|
import "../../../chunk-WG7CAT5D.js";
|
|
234
234
|
import "../../../chunk-KXDLLS62.js";
|
|
235
235
|
import "../../../chunk-273OLFJD.js";
|
|
236
236
|
import "../../../chunk-L5CAHQIN.js";
|
|
237
237
|
import "../../../chunk-SJAOQGQI.js";
|
|
238
|
-
import "../../../chunk-35HMJQLO.js";
|
|
239
238
|
import "../../../chunk-CGS2LQE5.js";
|
|
240
239
|
import "../../../chunk-GARM5SX6.js";
|
|
241
240
|
import "../../../chunk-3UAHDLKH.js";
|
|
242
241
|
import "../../../chunk-3R6BR22L.js";
|
|
243
242
|
import "../../../chunk-YE44HUFF.js";
|
|
243
|
+
import "../../../chunk-35HMJQLO.js";
|
|
244
244
|
import "../../../chunk-LL2BWQPM.js";
|
|
245
245
|
import "../../../chunk-SNCSGLJ6.js";
|
|
246
246
|
import {
|
|
@@ -285,17 +285,6 @@ import {
|
|
|
285
285
|
import {
|
|
286
286
|
Chart
|
|
287
287
|
} from "../../../chunk-AMLHEKSV.js";
|
|
288
|
-
import "../../../chunk-6ATXOJVQ.js";
|
|
289
|
-
import "../../../chunk-TZC6KIK2.js";
|
|
290
|
-
import "../../../chunk-TCWISGSS.js";
|
|
291
|
-
import "../../../chunk-SOHQPPYJ.js";
|
|
292
|
-
import {
|
|
293
|
-
ChartContainer,
|
|
294
|
-
ChartLegend,
|
|
295
|
-
ChartLegendContent,
|
|
296
|
-
ChartTooltip,
|
|
297
|
-
ChartTooltipContent
|
|
298
|
-
} from "../../../chunk-RIRTW5EU.js";
|
|
299
288
|
import {
|
|
300
289
|
CHART_SEMANTIC_COLORS,
|
|
301
290
|
ChartSpecError,
|
|
@@ -311,14 +300,25 @@ import {
|
|
|
311
300
|
getRegisteredChartSpecTypes,
|
|
312
301
|
registerChartSpecRenderer
|
|
313
302
|
} from "../../../chunk-WKUA6P3W.js";
|
|
303
|
+
import "../../../chunk-6ATXOJVQ.js";
|
|
304
|
+
import "../../../chunk-TZC6KIK2.js";
|
|
305
|
+
import "../../../chunk-TCWISGSS.js";
|
|
306
|
+
import "../../../chunk-SOHQPPYJ.js";
|
|
307
|
+
import {
|
|
308
|
+
ChartContainer,
|
|
309
|
+
ChartLegend,
|
|
310
|
+
ChartLegendContent,
|
|
311
|
+
ChartTooltip,
|
|
312
|
+
ChartTooltipContent
|
|
313
|
+
} from "../../../chunk-RIRTW5EU.js";
|
|
314
314
|
import {
|
|
315
315
|
Avatar,
|
|
316
316
|
AvatarGroup
|
|
317
|
-
} from "../../../chunk-
|
|
318
|
-
import "../../../chunk-3ZVUNSFF.js";
|
|
317
|
+
} from "../../../chunk-JIEVKHOH.js";
|
|
319
318
|
import "../../../chunk-7XSCEHGA.js";
|
|
320
319
|
import "../../../chunk-MTEQEPNY.js";
|
|
321
320
|
import "../../../chunk-6ZZGK5DT.js";
|
|
321
|
+
import "../../../chunk-3ZVUNSFF.js";
|
|
322
322
|
import "../../../chunk-AJBRO76D.js";
|
|
323
323
|
import "../../../chunk-36VXZCJT.js";
|
|
324
324
|
import "../../../chunk-XOXXG7Q5.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePanelChrome
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-J4UA744J.js";
|
|
4
|
+
import "../../../../chunk-77FQFWA3.js";
|
|
5
5
|
import "../../../../chunk-MFU4Y25U.js";
|
|
6
6
|
import "../../../../chunk-PZ5AY32C.js";
|
|
7
7
|
export {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StackedModal
|
|
3
|
-
} from "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-MWXZXCVX.js";
|
|
4
|
+
import "../../../../chunk-J4UA744J.js";
|
|
4
5
|
import {
|
|
5
6
|
StackedModalActions,
|
|
6
7
|
StackedModalContent
|
|
7
8
|
} from "../../../../chunk-EYFDIUVR.js";
|
|
8
|
-
import "../../../../chunk-
|
|
9
|
+
import "../../../../chunk-YKQA4NPM.js";
|
|
9
10
|
import {
|
|
10
11
|
ModalStackProvider,
|
|
11
12
|
useModalStack
|
|
12
|
-
} from "../../../../chunk-
|
|
13
|
-
import "../../../../chunk-YKQA4NPM.js";
|
|
13
|
+
} from "../../../../chunk-77FQFWA3.js";
|
|
14
14
|
import "../../../../chunk-XOXXG7Q5.js";
|
|
15
15
|
import "../../../../chunk-AKZWDZCZ.js";
|
|
16
16
|
import "../../../../chunk-XJAD6E3V.js";
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModalStackProvider,
|
|
3
|
+
useInModalStack,
|
|
3
4
|
useModalStack
|
|
4
|
-
} from "../../../../chunk-
|
|
5
|
+
} from "../../../../chunk-77FQFWA3.js";
|
|
5
6
|
import "../../../../chunk-MFU4Y25U.js";
|
|
6
7
|
import "../../../../chunk-PZ5AY32C.js";
|
|
7
8
|
export {
|
|
8
9
|
ModalStackProvider,
|
|
10
|
+
useInModalStack,
|
|
9
11
|
useModalStack
|
|
10
12
|
};
|
|
11
13
|
//# sourceMappingURL=modal-stack.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TutorialOverlay,
|
|
3
3
|
TutorialOverlay_default
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-6EZQLNPK.js";
|
|
5
|
+
import "../../../../chunk-DE7E2GBP.js";
|
|
5
6
|
import "../../../../chunk-34643ATX.js";
|
|
6
7
|
import "../../../../chunk-RXJQA3FQ.js";
|
|
7
|
-
import "../../../../chunk-DE7E2GBP.js";
|
|
8
8
|
import "../../../../chunk-ETSASQXI.js";
|
|
9
9
|
import "../../../../chunk-XJAD6E3V.js";
|
|
10
10
|
import "../../../../chunk-F5H2ZXST.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SURFACE_EXIT_MS,
|
|
3
|
+
UsableModal
|
|
4
|
+
} from "../../../../chunk-FRAFGRRD.js";
|
|
5
|
+
import "../../../../chunk-IQDPMLDM.js";
|
|
6
|
+
import "../../../../chunk-PZ5AY32C.js";
|
|
7
|
+
export {
|
|
8
|
+
SURFACE_EXIT_MS,
|
|
9
|
+
UsableModal
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=UsableModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import {
|
|
2
|
+
hasFooter
|
|
3
|
+
} from "../../../../chunk-BTMBQIED.js";
|
|
4
|
+
import {
|
|
5
|
+
StackedModal
|
|
6
|
+
} from "../../../../chunk-MWXZXCVX.js";
|
|
7
|
+
import "../../../../chunk-J4UA744J.js";
|
|
8
|
+
import {
|
|
9
|
+
StackedModalContent
|
|
10
|
+
} from "../../../../chunk-EYFDIUVR.js";
|
|
11
|
+
import "../../../../chunk-YKQA4NPM.js";
|
|
12
|
+
import {
|
|
13
|
+
ModalStackProvider,
|
|
14
|
+
useInModalStack
|
|
15
|
+
} from "../../../../chunk-77FQFWA3.js";
|
|
16
|
+
import "../../../../chunk-XOXXG7Q5.js";
|
|
17
|
+
import {
|
|
18
|
+
safeAreaBottom
|
|
19
|
+
} from "../../../../chunk-AKZWDZCZ.js";
|
|
20
|
+
import "../../../../chunk-XJAD6E3V.js";
|
|
21
|
+
import "../../../../chunk-F5H2ZXST.js";
|
|
22
|
+
import "../../../../chunk-N3GAFIXG.js";
|
|
23
|
+
import "../../../../chunk-YKCAJ2TN.js";
|
|
24
|
+
import "../../../../chunk-MFU4Y25U.js";
|
|
25
|
+
import "../../../../chunk-PZ5AY32C.js";
|
|
26
|
+
|
|
27
|
+
// src/components/feedback/UsableModal/UsableModal.modal.tsx
|
|
28
|
+
import Box from "@mui/material/Box/index.js";
|
|
29
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
30
|
+
function UsableModalStacked(props) {
|
|
31
|
+
const inStack = useInModalStack();
|
|
32
|
+
const panel = /* @__PURE__ */ jsx(StackedPanel, { ...props });
|
|
33
|
+
return inStack ? panel : /* @__PURE__ */ jsx(ModalStackProvider, { children: panel });
|
|
34
|
+
}
|
|
35
|
+
function StackedPanel({
|
|
36
|
+
open,
|
|
37
|
+
onClose,
|
|
38
|
+
title,
|
|
39
|
+
children,
|
|
40
|
+
footer,
|
|
41
|
+
closeLabel,
|
|
42
|
+
backLabel,
|
|
43
|
+
size,
|
|
44
|
+
panelWidth,
|
|
45
|
+
dataTestId
|
|
46
|
+
}) {
|
|
47
|
+
return /* @__PURE__ */ jsx(
|
|
48
|
+
StackedModal,
|
|
49
|
+
{
|
|
50
|
+
open,
|
|
51
|
+
onClose,
|
|
52
|
+
navigationTitle: title,
|
|
53
|
+
closeLabel,
|
|
54
|
+
backLabel,
|
|
55
|
+
size,
|
|
56
|
+
panelWidth,
|
|
57
|
+
dataTestId,
|
|
58
|
+
children: /* @__PURE__ */ jsxs(StackedModalContent, { sx: { p: 0, display: "flex", flexDirection: "column", minHeight: "100%" }, children: [
|
|
59
|
+
/* @__PURE__ */ jsx(Box, { sx: { flex: 1, p: 3 }, children }),
|
|
60
|
+
hasFooter(footer) && /* @__PURE__ */ jsx(PinnedFooter, { dataTestId, children: footer })
|
|
61
|
+
] })
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
function PinnedFooter({ dataTestId, children }) {
|
|
66
|
+
return /* @__PURE__ */ jsx(
|
|
67
|
+
Box,
|
|
68
|
+
{
|
|
69
|
+
sx: {
|
|
70
|
+
position: "sticky",
|
|
71
|
+
bottom: 0,
|
|
72
|
+
px: 3,
|
|
73
|
+
py: 2,
|
|
74
|
+
bgcolor: "background.paper",
|
|
75
|
+
borderTop: (theme) => `1px solid ${theme.palette.divider}`,
|
|
76
|
+
// Full screen under `sm` (`layout="modal"` on a phone): clear of the iOS home indicator.
|
|
77
|
+
...safeAreaBottom(16)
|
|
78
|
+
},
|
|
79
|
+
"data-testid": dataTestId ? `${dataTestId}-footer` : void 0,
|
|
80
|
+
children
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
export {
|
|
85
|
+
UsableModalStacked
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=UsableModal.modal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/feedback/UsableModal/UsableModal.modal.tsx"],"sourcesContent":["import Box from '@mui/material/Box/index.js';\nimport type { ReactNode } from 'react';\n\nimport { safeAreaBottom } from '../../../utils/viewport';\nimport { StackedModal, StackedModalContent } from '../StackedModal/StackedModal';\nimport { ModalStackProvider, useInModalStack } from '../StackedModal/modal-stack';\nimport { hasFooter } from './has-footer';\nimport type { UsableModalSurfaceProps } from './UsableModal.types';\n\n/**\n * The computer's surface: a `StackedModal`, loaded only when this layout is the\n * one drawn (`./UsableModal`).\n *\n * The footer is pinned at the bottom of the panel's scroll, not handed to\n * `StackedModal`'s `actions`: those sit in the header from `sm` up, and a\n * screen's acts belong under what they act on.\n */\nexport function UsableModalStacked(props: UsableModalSurfaceProps): React.JSX.Element {\n const inStack = useInModalStack();\n const panel = <StackedPanel {...props} />;\n // A host that keeps its own stack gets this panel pushed onto it; one that\n // keeps none gets a stack of one, which is what `StackedModal` needs to draw.\n return inStack ? panel : <ModalStackProvider>{panel}</ModalStackProvider>;\n}\n\nfunction StackedPanel({\n open,\n onClose,\n title,\n children,\n footer,\n closeLabel,\n backLabel,\n size,\n panelWidth,\n dataTestId,\n}: UsableModalSurfaceProps): React.JSX.Element {\n return (\n <StackedModal\n open={open}\n onClose={onClose}\n navigationTitle={title}\n closeLabel={closeLabel}\n backLabel={backLabel}\n size={size}\n panelWidth={panelWidth}\n dataTestId={dataTestId}\n >\n <StackedModalContent sx={{ p: 0, display: 'flex', flexDirection: 'column', minHeight: '100%' }}>\n <Box sx={{ flex: 1, p: 3 }}>{children}</Box>\n {hasFooter(footer) && <PinnedFooter dataTestId={dataTestId}>{footer}</PinnedFooter>}\n </StackedModalContent>\n </StackedModal>\n );\n}\n\n/** The action bar, held at the panel's bottom edge while the body scrolls under it. */\nfunction PinnedFooter({ dataTestId, children }: { dataTestId?: string; children: ReactNode }): React.JSX.Element {\n return (\n <Box\n sx={{\n position: 'sticky',\n bottom: 0,\n px: 3,\n py: 2,\n bgcolor: 'background.paper',\n borderTop: (theme) => `1px solid ${theme.palette.divider}`,\n // Full screen under `sm` (`layout=\"modal\"` on a phone): clear of the iOS home indicator.\n ...safeAreaBottom(16),\n }}\n data-testid={dataTestId ? `${dataTestId}-footer` : undefined}\n >\n {children}\n </Box>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,SAAS;AAmBA,cA6BV,YA7BU;AAFT,SAAS,mBAAmB,OAAmD;AACpF,QAAM,UAAU,gBAAgB;AAChC,QAAM,QAAQ,oBAAC,gBAAc,GAAG,OAAO;AAGvC,SAAO,UAAU,QAAQ,oBAAC,sBAAoB,iBAAM;AACtD;AAEA,SAAS,aAAa;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAA+C;AAC7C,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,iBAAiB;AAAA,MACjB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MAEA,+BAAC,uBAAoB,IAAI,EAAE,GAAG,GAAG,SAAS,QAAQ,eAAe,UAAU,WAAW,OAAO,GAC3F;AAAA,4BAAC,OAAI,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,GAAI,UAAS;AAAA,QACrC,UAAU,MAAM,KAAK,oBAAC,gBAAa,YAAyB,kBAAO;AAAA,SACtE;AAAA;AAAA,EACF;AAEJ;AAGA,SAAS,aAAa,EAAE,YAAY,SAAS,GAAoE;AAC/G,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI;AAAA,QACF,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,WAAW,CAAC,UAAU,aAAa,MAAM,QAAQ,OAAO;AAAA;AAAA,QAExD,GAAG,eAAe,EAAE;AAAA,MACtB;AAAA,MACA,eAAa,aAAa,GAAG,UAAU,YAAY;AAAA,MAElD;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import {
|
|
2
|
+
hasFooter
|
|
3
|
+
} from "../../../../chunk-BTMBQIED.js";
|
|
4
|
+
import {
|
|
5
|
+
Sheet
|
|
6
|
+
} from "../../../../chunk-XTYBJAZG.js";
|
|
7
|
+
import "../../../../chunk-LTJC7TGB.js";
|
|
8
|
+
import "../../../../chunk-3ROCD7XF.js";
|
|
9
|
+
import "../../../../chunk-2KSFBZ2H.js";
|
|
10
|
+
import "../../../../chunk-56JF5PZK.js";
|
|
11
|
+
import "../../../../chunk-IM4DMKH4.js";
|
|
12
|
+
import "../../../../chunk-CRN4KKNI.js";
|
|
13
|
+
import {
|
|
14
|
+
useModalStack
|
|
15
|
+
} from "../../../../chunk-77FQFWA3.js";
|
|
16
|
+
import "../../../../chunk-XOXXG7Q5.js";
|
|
17
|
+
import {
|
|
18
|
+
safeAreaBottom
|
|
19
|
+
} from "../../../../chunk-AKZWDZCZ.js";
|
|
20
|
+
import "../../../../chunk-HPK33ACY.js";
|
|
21
|
+
import "../../../../chunk-B7ZHEOQQ.js";
|
|
22
|
+
import "../../../../chunk-BRHRK7BK.js";
|
|
23
|
+
import "../../../../chunk-25MSGLNU.js";
|
|
24
|
+
import "../../../../chunk-GAXHYRX6.js";
|
|
25
|
+
import "../../../../chunk-NP6SHLQ3.js";
|
|
26
|
+
import "../../../../chunk-7ZPUN7TV.js";
|
|
27
|
+
import "../../../../chunk-TZ23DNKY.js";
|
|
28
|
+
import "../../../../chunk-PT6TCWIW.js";
|
|
29
|
+
import "../../../../chunk-RGVNXES5.js";
|
|
30
|
+
import "../../../../chunk-GDN2LUTZ.js";
|
|
31
|
+
import "../../../../chunk-7ZADLRLP.js";
|
|
32
|
+
import "../../../../chunk-3NGE6NE6.js";
|
|
33
|
+
import "../../../../chunk-2FBGDSGC.js";
|
|
34
|
+
import "../../../../chunk-VBP46YP4.js";
|
|
35
|
+
import "../../../../chunk-44BD7SFH.js";
|
|
36
|
+
import "../../../../chunk-AG66JBNH.js";
|
|
37
|
+
import "../../../../chunk-FZXKH2ZT.js";
|
|
38
|
+
import "../../../../chunk-26X4CZVR.js";
|
|
39
|
+
import "../../../../chunk-O6MJWHU5.js";
|
|
40
|
+
import "../../../../chunk-XJAD6E3V.js";
|
|
41
|
+
import "../../../../chunk-F5H2ZXST.js";
|
|
42
|
+
import "../../../../chunk-N3GAFIXG.js";
|
|
43
|
+
import {
|
|
44
|
+
rem
|
|
45
|
+
} from "../../../../chunk-YKCAJ2TN.js";
|
|
46
|
+
import {
|
|
47
|
+
MODAL_STACK_BASE_Z_INDEX,
|
|
48
|
+
MODAL_STACK_Z_INDEX_STEP
|
|
49
|
+
} from "../../../../chunk-MFU4Y25U.js";
|
|
50
|
+
import "../../../../chunk-PZ5AY32C.js";
|
|
51
|
+
|
|
52
|
+
// src/components/feedback/UsableModal/UsableModal.sheet.tsx
|
|
53
|
+
import Box from "@mui/material/Box/index.js";
|
|
54
|
+
import { useTheme } from "@mui/material/styles/index.js";
|
|
55
|
+
import { jsx } from "react/jsx-runtime";
|
|
56
|
+
var sheetCeiling = (theme) => ({ maxHeight: `calc(100% - ${rem(theme, 48)})` });
|
|
57
|
+
function UsableModalSheet({
|
|
58
|
+
open,
|
|
59
|
+
onClose,
|
|
60
|
+
title,
|
|
61
|
+
children,
|
|
62
|
+
footer,
|
|
63
|
+
closeLabel,
|
|
64
|
+
dataTestId
|
|
65
|
+
}) {
|
|
66
|
+
const { currentDepth } = useModalStack();
|
|
67
|
+
const theme = useTheme();
|
|
68
|
+
return /* @__PURE__ */ jsx(
|
|
69
|
+
Sheet,
|
|
70
|
+
{
|
|
71
|
+
open,
|
|
72
|
+
onOpenChange: (next) => {
|
|
73
|
+
if (!next) onClose();
|
|
74
|
+
},
|
|
75
|
+
position: "bottom",
|
|
76
|
+
size: "xl",
|
|
77
|
+
style: sheetCeiling(theme),
|
|
78
|
+
title,
|
|
79
|
+
closeLabel,
|
|
80
|
+
asDialog: true,
|
|
81
|
+
zIndex: MODAL_STACK_BASE_Z_INDEX + currentDepth * MODAL_STACK_Z_INDEX_STEP,
|
|
82
|
+
footer: hasFooter(footer) ? /* @__PURE__ */ jsx(Box, { sx: safeAreaBottom(0), children: footer }) : void 0,
|
|
83
|
+
dataTestId,
|
|
84
|
+
children
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
UsableModalSheet
|
|
90
|
+
};
|
|
91
|
+
//# sourceMappingURL=UsableModal.sheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/feedback/UsableModal/UsableModal.sheet.tsx"],"sourcesContent":["import Box from '@mui/material/Box/index.js';\nimport { useTheme, type Theme } from '@mui/material/styles/index.js';\n\nimport { Sheet } from '../../data-display/Sheet/Sheet';\nimport { MODAL_STACK_BASE_Z_INDEX, MODAL_STACK_Z_INDEX_STEP } from '../../../tokens/layers';\nimport { rem } from '../../../tokens/relative';\nimport { safeAreaBottom } from '../../../utils/viewport';\nimport { useModalStack } from '../StackedModal/modal-stack';\nimport { hasFooter } from './has-footer';\nimport type { UsableModalSurfaceProps } from './UsableModal.types';\n\n/**\n * How tall the sheet may grow: the whole screen but a strip of the dimmed page\n * above it, so it still reads as a sheet over the screen it came from. The\n * Sheet's own `xl` ceiling is 600px — a phone of 844 lost a quarter of the\n * screen to it, and a modal's body (a form, a cardápio) is what needs it.\n */\nconst sheetCeiling = (theme: Theme) => ({ maxHeight: `calc(100% - ${rem(theme, 48)})` });\n\n/**\n * The phone's surface: a bottom `Sheet`, loaded only when this layout is the one\n * drawn (`./UsableModal`). Its height is a ceiling, not a height: a short body\n * gives a short sheet, and a long one grows to `sheetCeiling` and scrolls above\n * the pinned footer.\n *\n * It is a named modal dialog (`asDialog`), like the stacked surface. And it\n * takes the level a panel pushed onto the stack would take (`BASE + depth *\n * STEP`): above any `StackedModal` already open — a drawer's default (1200) is\n * under the stack's 1300 and up, and a sheet opened from a panel would slide in\n * behind it, invisible, holding the focus — and never above the menus its own\n * body opens. With no stack that is 1300, MUI's `zIndex.modal`, the level a\n * Select's or a Popover's menu opens at; portalled later, the menu is on top.\n */\nexport function UsableModalSheet({\n open,\n onClose,\n title,\n children,\n footer,\n closeLabel,\n dataTestId,\n}: UsableModalSurfaceProps): React.JSX.Element {\n const { currentDepth } = useModalStack();\n const theme = useTheme();\n return (\n <Sheet\n open={open}\n onOpenChange={(next) => {\n if (!next) onClose();\n }}\n position=\"bottom\"\n size=\"xl\"\n style={sheetCeiling(theme)}\n title={title}\n closeLabel={closeLabel}\n asDialog\n zIndex={MODAL_STACK_BASE_Z_INDEX + currentDepth * MODAL_STACK_Z_INDEX_STEP}\n // The sheet marks its own footer `${dataTestId}-footer`, as the stacked surface does.\n footer={hasFooter(footer) ? <Box sx={safeAreaBottom(0)}>{footer}</Box> : undefined}\n dataTestId={dataTestId}\n >\n {children}\n </Sheet>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,SAAS;AAChB,SAAS,gBAA4B;AAyDH;AAzClC,IAAM,eAAe,CAAC,WAAkB,EAAE,WAAW,eAAe,IAAI,OAAO,EAAE,CAAC,IAAI;AAgB/E,SAAS,iBAAiB;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAA+C;AAC7C,QAAM,EAAE,aAAa,IAAI,cAAc;AACvC,QAAM,QAAQ,SAAS;AACvB,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,cAAc,CAAC,SAAS;AACtB,YAAI,CAAC,KAAM,SAAQ;AAAA,MACrB;AAAA,MACA,UAAS;AAAA,MACT,MAAK;AAAA,MACL,OAAO,aAAa,KAAK;AAAA,MACzB;AAAA,MACA;AAAA,MACA,UAAQ;AAAA,MACR,QAAQ,2BAA2B,eAAe;AAAA,MAElD,QAAQ,UAAU,MAAM,IAAI,oBAAC,OAAI,IAAI,eAAe,CAAC,GAAI,kBAAO,IAAS;AAAA,MACzE;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=UsableModal.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
import "../../../chunk-QJCZ3IQP.js";
|
|
40
40
|
import {
|
|
41
41
|
TutorialOverlay
|
|
42
|
-
} from "../../../chunk-
|
|
42
|
+
} from "../../../chunk-6EZQLNPK.js";
|
|
43
|
+
import "../../../chunk-DE7E2GBP.js";
|
|
43
44
|
import "../../../chunk-34643ATX.js";
|
|
44
45
|
import "../../../chunk-RXJQA3FQ.js";
|
|
45
|
-
import "../../../chunk-DE7E2GBP.js";
|
|
46
46
|
import "../../../chunk-ETSASQXI.js";
|
|
47
47
|
import "../../../chunk-A4TYNHBR.js";
|
|
48
48
|
import {
|
|
@@ -59,27 +59,27 @@ import "../../../chunk-5JEOLUWJ.js";
|
|
|
59
59
|
import "../../../chunk-CN46HGXE.js";
|
|
60
60
|
import {
|
|
61
61
|
StackedModal
|
|
62
|
-
} from "../../../chunk-
|
|
62
|
+
} from "../../../chunk-MWXZXCVX.js";
|
|
63
|
+
import "../../../chunk-J4UA744J.js";
|
|
63
64
|
import {
|
|
64
65
|
StackedModalActions,
|
|
65
66
|
StackedModalContent
|
|
66
67
|
} from "../../../chunk-EYFDIUVR.js";
|
|
67
|
-
import "../../../chunk-
|
|
68
|
+
import "../../../chunk-YKQA4NPM.js";
|
|
68
69
|
import {
|
|
69
70
|
ModalStackProvider,
|
|
70
71
|
useModalStack
|
|
71
|
-
} from "../../../chunk-
|
|
72
|
-
import "../../../chunk-YKQA4NPM.js";
|
|
72
|
+
} from "../../../chunk-77FQFWA3.js";
|
|
73
73
|
import "../../../chunk-XCBQXSTR.js";
|
|
74
74
|
import {
|
|
75
75
|
createConfirmButton
|
|
76
76
|
} from "../../../chunk-KOGJBAFI.js";
|
|
77
|
-
import {
|
|
78
|
-
withConfirmation
|
|
79
|
-
} from "../../../chunk-3TZUZXY5.js";
|
|
80
77
|
import {
|
|
81
78
|
ConfirmAction
|
|
82
79
|
} from "../../../chunk-TE6HAWDM.js";
|
|
80
|
+
import {
|
|
81
|
+
withConfirmation
|
|
82
|
+
} from "../../../chunk-3TZUZXY5.js";
|
|
83
83
|
import {
|
|
84
84
|
ConfirmActionDialog
|
|
85
85
|
} from "../../../chunk-SW7JCF4Z.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAddressAutocomplete
|
|
3
|
-
} from "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-Z6QFIRD7.js";
|
|
4
|
+
import "../../../../chunk-QVYBRD6U.js";
|
|
5
|
+
import "../../../../chunk-NNKIM73H.js";
|
|
4
6
|
import "../../../../chunk-L7N4AFZD.js";
|
|
5
7
|
import "../../../../chunk-44FY2YZL.js";
|
|
6
8
|
import "../../../../chunk-6JKECOZ2.js";
|
|
7
9
|
import "../../../../chunk-6HLWZR3X.js";
|
|
8
|
-
import "../../../../chunk-QVYBRD6U.js";
|
|
9
|
-
import "../../../../chunk-NNKIM73H.js";
|
|
10
10
|
import "../../../../chunk-O7QPPJAK.js";
|
|
11
11
|
import "../../../../chunk-LL2BWQPM.js";
|
|
12
12
|
import "../../../../chunk-DVRNW33K.js";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AddressAutocomplete,
|
|
3
3
|
AddressAutocomplete_default
|
|
4
|
-
} from "../../../../chunk-
|
|
5
|
-
import "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-4RF4BALN.js";
|
|
5
|
+
import "../../../../chunk-Z6QFIRD7.js";
|
|
6
|
+
import "../../../../chunk-QVYBRD6U.js";
|
|
6
7
|
import "../../../../chunk-IU2WSJ4F.js";
|
|
7
|
-
import "../../../../chunk-
|
|
8
|
+
import "../../../../chunk-4RSFYS2V.js";
|
|
9
|
+
import "../../../../chunk-NNKIM73H.js";
|
|
8
10
|
import "../../../../chunk-EIOGJBJ5.js";
|
|
9
11
|
import "../../../../chunk-P5JCOFK3.js";
|
|
10
12
|
import "../../../../chunk-NYA26GV2.js";
|
|
@@ -13,8 +15,6 @@ import "../../../../chunk-L7N4AFZD.js";
|
|
|
13
15
|
import "../../../../chunk-44FY2YZL.js";
|
|
14
16
|
import "../../../../chunk-6JKECOZ2.js";
|
|
15
17
|
import "../../../../chunk-6HLWZR3X.js";
|
|
16
|
-
import "../../../../chunk-QVYBRD6U.js";
|
|
17
|
-
import "../../../../chunk-NNKIM73H.js";
|
|
18
18
|
import "../../../../chunk-O7QPPJAK.js";
|
|
19
19
|
import "../../../../chunk-LL2BWQPM.js";
|
|
20
20
|
import "../../../../chunk-DVRNW33K.js";
|