@oxy.so/bloom 23.3.0 → 23.3.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/docs/admonition.mdx +1 -2
- package/docs/adoption-matrix.mdx +3 -12
- package/docs/bloom-language-modifiers.mdx +9 -48
- package/docs/bloom-language-nodes.mdx +2 -195
- package/docs/bloom-language-tokens.mdx +2 -2
- package/docs/bloom-language.mdx +18 -56
- package/docs/empty-state.mdx +1 -2
- package/docs/fab.mdx +5 -3
- package/docs/field.mdx +1 -1
- package/docs/public-parts.mdx +2 -18
- package/docs/screen.mdx +10 -0
- package/docs/scroll.mdx +7 -0
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/lib/commonjs/button/Button.web.js +5 -2
- package/lib/commonjs/button/Button.web.js.map +1 -1
- package/lib/commonjs/button/shared.js.map +1 -1
- package/lib/commonjs/chat-composer/shared.js.map +1 -1
- package/lib/commonjs/chat-people/StoryViewer.js +2 -1
- package/lib/commonjs/chat-people/StoryViewer.js.map +1 -1
- package/lib/commonjs/date-picker/PickerShell.js +2 -1
- package/lib/commonjs/date-picker/PickerShell.js.map +1 -1
- package/lib/commonjs/dialog/DetailDialogMotion.js +10 -4
- package/lib/commonjs/dialog/DetailDialogMotion.js.map +1 -1
- package/lib/commonjs/fab/constants.js +5 -2
- package/lib/commonjs/fab/constants.js.map +1 -1
- package/lib/commonjs/fab/index.js +6 -0
- package/lib/commonjs/fab/index.js.map +1 -1
- package/lib/commonjs/fab/index.web.js +6 -0
- package/lib/commonjs/fab/index.web.js.map +1 -1
- package/lib/commonjs/fab/use-fab-props.js +1 -1
- package/lib/commonjs/fab/use-fab-props.js.map +1 -1
- package/lib/commonjs/field/FieldConstraintScope.js +2 -2
- package/lib/commonjs/floating/lens/lens-button-host.js +2 -1
- package/lib/commonjs/floating/lens/lens-button-host.js.map +1 -1
- package/lib/commonjs/floating/lens/lens-tint.js +19 -0
- package/lib/commonjs/floating/lens/lens-tint.js.map +1 -0
- package/lib/commonjs/floating/lens/use-lens-menu.js +2 -1
- package/lib/commonjs/floating/lens/use-lens-menu.js.map +1 -1
- package/lib/commonjs/index.js +229 -866
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +229 -866
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/listing-actions/ApplicationChecklist.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +0 -262
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +0 -234
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +0 -249
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +0 -246
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +0 -249
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +0 -249
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +0 -240
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +0 -234
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +0 -249
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +0 -234
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +0 -249
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +0 -259
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +0 -238
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +0 -234
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/overlay/Overlay.js +13 -22
- package/lib/commonjs/overlay/Overlay.js.map +1 -1
- package/lib/commonjs/panel-routing/expo-router/StackScene.js +42 -3
- package/lib/commonjs/panel-routing/expo-router/StackScene.js.map +1 -1
- package/lib/commonjs/queue-panel/QueueIconButton.js.map +1 -1
- package/lib/commonjs/screen/index.js +7 -0
- package/lib/commonjs/screen/index.js.map +1 -1
- package/lib/commonjs/screen/index.web.js +7 -0
- package/lib/commonjs/screen/index.web.js.map +1 -1
- package/lib/commonjs/screen/use-screen-entered.js +28 -0
- package/lib/commonjs/screen/use-screen-entered.js.map +1 -0
- package/lib/commonjs/screen/use-screen-scroll.js +21 -2
- package/lib/commonjs/screen/use-screen-scroll.js.map +1 -1
- package/lib/commonjs/sidebar/Sidebar.js +18 -9
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/tab-pager/expo-router/TabPager.js +18 -13
- package/lib/commonjs/tab-pager/expo-router/TabPager.js.map +1 -1
- package/lib/commonjs/tabs/expo-router/RouterTabs.js.map +1 -1
- package/lib/commonjs/toast/ToastHost.js +1 -0
- package/lib/commonjs/toast/ToastHost.js.map +1 -1
- package/lib/commonjs/toast/ToastHost.native.js +1 -0
- package/lib/commonjs/toast/ToastHost.native.js.map +1 -1
- package/lib/module/button/Button.web.js +6 -3
- package/lib/module/button/Button.web.js.map +1 -1
- package/lib/module/button/shared.js.map +1 -1
- package/lib/module/chat-composer/shared.js.map +1 -1
- package/lib/module/chat-people/StoryViewer.js +1 -2
- package/lib/module/chat-people/StoryViewer.js.map +1 -1
- package/lib/module/date-picker/PickerShell.js +1 -2
- package/lib/module/date-picker/PickerShell.js.map +1 -1
- package/lib/module/dialog/DetailDialogMotion.js +11 -5
- package/lib/module/dialog/DetailDialogMotion.js.map +1 -1
- package/lib/module/fab/constants.js +4 -1
- package/lib/module/fab/constants.js.map +1 -1
- package/lib/module/fab/index.js +1 -1
- package/lib/module/fab/index.js.map +1 -1
- package/lib/module/fab/index.web.js +1 -1
- package/lib/module/fab/index.web.js.map +1 -1
- package/lib/module/fab/use-fab-props.js +2 -2
- package/lib/module/fab/use-fab-props.js.map +1 -1
- package/lib/module/field/FieldConstraintScope.js +2 -2
- package/lib/module/floating/lens/lens-button-host.js +2 -1
- package/lib/module/floating/lens/lens-button-host.js.map +1 -1
- package/lib/module/floating/lens/lens-tint.js +15 -0
- package/lib/module/floating/lens/lens-tint.js.map +1 -0
- package/lib/module/floating/lens/use-lens-menu.js +2 -1
- package/lib/module/floating/lens/use-lens-menu.js.map +1 -1
- package/lib/module/index.js +0 -23
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +0 -23
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/listing-actions/ApplicationChecklist.js.map +1 -1
- package/lib/module/locale/translations/ar.js +0 -262
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +0 -234
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +0 -249
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +0 -246
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +0 -249
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +0 -249
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +0 -240
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +0 -234
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +0 -249
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +0 -234
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +0 -249
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +0 -259
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +0 -238
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +0 -234
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/overlay/Overlay.js +13 -22
- package/lib/module/overlay/Overlay.js.map +1 -1
- package/lib/module/panel-routing/expo-router/StackScene.js +42 -4
- package/lib/module/panel-routing/expo-router/StackScene.js.map +1 -1
- package/lib/module/queue-panel/QueueIconButton.js.map +1 -1
- package/lib/module/screen/index.js +1 -0
- package/lib/module/screen/index.js.map +1 -1
- package/lib/module/screen/index.web.js +1 -0
- package/lib/module/screen/index.web.js.map +1 -1
- package/lib/module/screen/use-screen-entered.js +24 -0
- package/lib/module/screen/use-screen-entered.js.map +1 -0
- package/lib/module/screen/use-screen-scroll.js +21 -2
- package/lib/module/screen/use-screen-scroll.js.map +1 -1
- package/lib/module/sidebar/Sidebar.js +18 -9
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/tab-pager/expo-router/TabPager.js +19 -14
- package/lib/module/tab-pager/expo-router/TabPager.js.map +1 -1
- package/lib/module/tabs/expo-router/RouterTabs.js.map +1 -1
- package/lib/module/toast/ToastHost.js +1 -0
- package/lib/module/toast/ToastHost.js.map +1 -1
- package/lib/module/toast/ToastHost.native.js +1 -0
- package/lib/module/toast/ToastHost.native.js.map +1 -1
- package/lib/typescript/commonjs/agent-reply/types.d.ts +2 -2
- package/lib/typescript/commonjs/agent-reply/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/badge/types.d.ts +1 -1
- package/lib/typescript/commonjs/badge/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/breadcrumb/types.d.ts +3 -2
- package/lib/typescript/commonjs/breadcrumb/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/shared.d.ts +3 -2
- package/lib/typescript/commonjs/button/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/types.d.ts +3 -3
- package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/carousel/types.d.ts +3 -2
- package/lib/typescript/commonjs/carousel/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/shared.d.ts +4 -3
- package/lib/typescript/commonjs/chat-composer/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/types.d.ts +9 -9
- package/lib/typescript/commonjs/chat-composer/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-people/StoryViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/date-picker/PickerShell.d.ts +2 -2
- package/lib/typescript/commonjs/date-picker/PickerShell.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DetailDialogMotion.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/constants.d.ts +3 -1
- package/lib/typescript/commonjs/fab/constants.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/index.d.ts +1 -1
- package/lib/typescript/commonjs/fab/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/index.web.d.ts +1 -1
- package/lib/typescript/commonjs/fab/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/types.d.ts +2 -2
- package/lib/typescript/commonjs/fab/use-fab-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/field/FieldConstraintScope.d.ts +2 -2
- package/lib/typescript/commonjs/floating/lens/lens-button-host.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/lens/lens-tint.d.ts +13 -0
- package/lib/typescript/commonjs/floating/lens/lens-tint.d.ts.map +1 -0
- package/lib/typescript/commonjs/floating/lens/use-lens-menu.d.ts.map +1 -1
- package/lib/typescript/commonjs/home-search/types.d.ts +1 -1
- package/lib/typescript/commonjs/home-search/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +0 -21
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +0 -21
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/listing-actions/ApplicationChecklist.d.ts.map +1 -1
- package/lib/typescript/commonjs/listing-actions/types.d.ts +2 -2
- package/lib/typescript/commonjs/listing-actions/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/types.d.ts +0 -14
- package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/Overlay.d.ts +1 -1
- package/lib/typescript/commonjs/overlay/Overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/types.d.ts +10 -0
- package/lib/typescript/commonjs/overlay/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/types.d.ts +1 -1
- package/lib/typescript/commonjs/page-header/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts +32 -5
- package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts.map +1 -1
- package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts +2 -2
- package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/index.d.ts +1 -0
- package/lib/typescript/commonjs/screen/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/index.web.d.ts +1 -0
- package/lib/typescript/commonjs/screen/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/use-screen-entered.d.ts +16 -0
- package/lib/typescript/commonjs/screen/use-screen-entered.d.ts.map +1 -0
- package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts +3 -2
- package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +9 -9
- package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/stay-search/types.d.ts +3 -3
- package/lib/typescript/commonjs/stay-search/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-pager/expo-router/TabPager.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/expo-router/RouterTabs.d.ts +3 -2
- package/lib/typescript/commonjs/tabs/expo-router/RouterTabs.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/types.d.ts +1 -1
- package/lib/typescript/commonjs/tabs/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/toast/ToastHost.native.d.ts.map +1 -1
- package/lib/typescript/module/agent-reply/types.d.ts +2 -2
- package/lib/typescript/module/agent-reply/types.d.ts.map +1 -1
- package/lib/typescript/module/badge/types.d.ts +1 -1
- package/lib/typescript/module/badge/types.d.ts.map +1 -1
- package/lib/typescript/module/breadcrumb/types.d.ts +3 -2
- package/lib/typescript/module/breadcrumb/types.d.ts.map +1 -1
- package/lib/typescript/module/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/module/button/shared.d.ts +3 -2
- package/lib/typescript/module/button/shared.d.ts.map +1 -1
- package/lib/typescript/module/button/types.d.ts +3 -3
- package/lib/typescript/module/button/types.d.ts.map +1 -1
- package/lib/typescript/module/carousel/types.d.ts +3 -2
- package/lib/typescript/module/carousel/types.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/shared.d.ts +4 -3
- package/lib/typescript/module/chat-composer/shared.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/types.d.ts +9 -9
- package/lib/typescript/module/chat-composer/types.d.ts.map +1 -1
- package/lib/typescript/module/chat-people/StoryViewer.d.ts.map +1 -1
- package/lib/typescript/module/date-picker/PickerShell.d.ts +2 -2
- package/lib/typescript/module/date-picker/PickerShell.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DetailDialogMotion.d.ts.map +1 -1
- package/lib/typescript/module/dialog/types.d.ts.map +1 -1
- package/lib/typescript/module/fab/constants.d.ts +3 -1
- package/lib/typescript/module/fab/constants.d.ts.map +1 -1
- package/lib/typescript/module/fab/index.d.ts +1 -1
- package/lib/typescript/module/fab/index.d.ts.map +1 -1
- package/lib/typescript/module/fab/index.web.d.ts +1 -1
- package/lib/typescript/module/fab/index.web.d.ts.map +1 -1
- package/lib/typescript/module/fab/types.d.ts +2 -2
- package/lib/typescript/module/fab/use-fab-props.d.ts.map +1 -1
- package/lib/typescript/module/field/FieldConstraintScope.d.ts +2 -2
- package/lib/typescript/module/floating/lens/lens-button-host.d.ts.map +1 -1
- package/lib/typescript/module/floating/lens/lens-tint.d.ts +13 -0
- package/lib/typescript/module/floating/lens/lens-tint.d.ts.map +1 -0
- package/lib/typescript/module/floating/lens/use-lens-menu.d.ts.map +1 -1
- package/lib/typescript/module/home-search/types.d.ts +1 -1
- package/lib/typescript/module/home-search/types.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +0 -21
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +0 -21
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/listing-actions/ApplicationChecklist.d.ts.map +1 -1
- package/lib/typescript/module/listing-actions/types.d.ts +2 -2
- package/lib/typescript/module/listing-actions/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/types.d.ts +0 -14
- package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/overlay/Overlay.d.ts +1 -1
- package/lib/typescript/module/overlay/Overlay.d.ts.map +1 -1
- package/lib/typescript/module/overlay/types.d.ts +10 -0
- package/lib/typescript/module/overlay/types.d.ts.map +1 -1
- package/lib/typescript/module/page-header/types.d.ts +1 -1
- package/lib/typescript/module/page-header/types.d.ts.map +1 -1
- package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts +32 -5
- package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts.map +1 -1
- package/lib/typescript/module/queue-panel/QueueIconButton.d.ts +2 -2
- package/lib/typescript/module/queue-panel/QueueIconButton.d.ts.map +1 -1
- package/lib/typescript/module/screen/index.d.ts +1 -0
- package/lib/typescript/module/screen/index.d.ts.map +1 -1
- package/lib/typescript/module/screen/index.web.d.ts +1 -0
- package/lib/typescript/module/screen/index.web.d.ts.map +1 -1
- package/lib/typescript/module/screen/use-screen-entered.d.ts +16 -0
- package/lib/typescript/module/screen/use-screen-entered.d.ts.map +1 -0
- package/lib/typescript/module/screen/use-screen-scroll.d.ts +3 -2
- package/lib/typescript/module/screen/use-screen-scroll.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +9 -9
- package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/module/stay-search/types.d.ts +3 -3
- package/lib/typescript/module/stay-search/types.d.ts.map +1 -1
- package/lib/typescript/module/tab-pager/expo-router/TabPager.d.ts.map +1 -1
- package/lib/typescript/module/tabs/expo-router/RouterTabs.d.ts +3 -2
- package/lib/typescript/module/tabs/expo-router/RouterTabs.d.ts.map +1 -1
- package/lib/typescript/module/tabs/types.d.ts +1 -1
- package/lib/typescript/module/tabs/types.d.ts.map +1 -1
- package/lib/typescript/module/toast/ToastHost.native.d.ts.map +1 -1
- package/package.json +1 -120
- package/src/__tests__/support/adoption-matrix.ts +0 -9
- package/src/__tests__/support/public-part-classifications.json +0 -16
- package/src/agent-reply/types.ts +2 -2
- package/src/badge/types.ts +1 -1
- package/src/breadcrumb/types.ts +3 -2
- package/src/button/Button.web.tsx +15 -2
- package/src/button/shared.ts +3 -4
- package/src/button/types.ts +3 -3
- package/src/carousel/types.ts +3 -2
- package/src/chat-composer/shared.ts +4 -4
- package/src/chat-composer/types.ts +9 -9
- package/src/chat-people/StoryViewer.tsx +2 -2
- package/src/date-picker/PickerShell.tsx +2 -2
- package/src/dialog/DetailDialogMotion.tsx +15 -9
- package/src/dialog/types.ts +0 -1
- package/src/fab/constants.ts +4 -1
- package/src/fab/index.ts +1 -1
- package/src/fab/index.web.ts +1 -1
- package/src/fab/types.ts +2 -2
- package/src/fab/use-fab-props.ts +2 -2
- package/src/field/FieldConstraintScope.tsx +2 -2
- package/src/floating/lens/lens-button-host.tsx +2 -1
- package/src/floating/lens/lens-tint.ts +12 -0
- package/src/floating/lens/use-lens-menu.tsx +2 -1
- package/src/home-search/types.ts +1 -1
- package/src/index.ts +0 -195
- package/src/index.web.ts +0 -195
- package/src/listing-actions/ApplicationChecklist.tsx +3 -2
- package/src/listing-actions/types.ts +2 -2
- package/src/locale/translations/ar.ts +0 -232
- package/src/locale/translations/bn.ts +0 -200
- package/src/locale/translations/ca.ts +0 -210
- package/src/locale/translations/de.ts +0 -213
- package/src/locale/translations/es.ts +0 -210
- package/src/locale/translations/fr.ts +0 -214
- package/src/locale/translations/hi.ts +0 -201
- package/src/locale/translations/id.ts +0 -206
- package/src/locale/translations/it.ts +0 -214
- package/src/locale/translations/ja.ts +0 -202
- package/src/locale/translations/pt.ts +0 -220
- package/src/locale/translations/ru.ts +0 -225
- package/src/locale/translations/tr.ts +0 -202
- package/src/locale/translations/types.ts +0 -14
- package/src/locale/translations/zh.ts +0 -200
- package/src/overlay/Overlay.tsx +23 -21
- package/src/overlay/types.ts +10 -0
- package/src/page-header/types.ts +1 -1
- package/src/panel-routing/expo-router/StackScene.tsx +62 -5
- package/src/queue-panel/QueueIconButton.tsx +2 -2
- package/src/screen/index.ts +1 -0
- package/src/screen/index.web.ts +1 -0
- package/src/screen/use-screen-entered.ts +21 -0
- package/src/screen/use-screen-scroll.ts +36 -2
- package/src/sidebar/Sidebar.tsx +17 -11
- package/src/sidebar/types.ts +9 -9
- package/src/stay-search/types.ts +3 -3
- package/src/tab-pager/expo-router/TabPager.tsx +35 -16
- package/src/tabs/expo-router/RouterTabs.tsx +3 -2
- package/src/tabs/types.ts +1 -1
- package/src/toast/ToastHost.native.tsx +5 -1
- package/src/toast/ToastHost.tsx +1 -1
- package/docs/carrier-quote.mdx +0 -121
- package/docs/delivery-slot.mdx +0 -91
- package/docs/earnings.mdx +0 -89
- package/docs/job-board.mdx +0 -82
- package/docs/proof-of-delivery.mdx +0 -86
- package/docs/shipment-request.mdx +0 -139
- package/docs/vehicle-picker.mdx +0 -92
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js +0 -547
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js.map +0 -1
- package/lib/commonjs/carrier-quote/CarrierQuoteList.js +0 -274
- package/lib/commonjs/carrier-quote/CarrierQuoteList.js.map +0 -1
- package/lib/commonjs/carrier-quote/constants.js +0 -64
- package/lib/commonjs/carrier-quote/constants.js.map +0 -1
- package/lib/commonjs/carrier-quote/index.js +0 -82
- package/lib/commonjs/carrier-quote/index.js.map +0 -1
- package/lib/commonjs/carrier-quote/messages.js +0 -50
- package/lib/commonjs/carrier-quote/messages.js.map +0 -1
- package/lib/commonjs/carrier-quote/shared.js +0 -150
- package/lib/commonjs/carrier-quote/shared.js.map +0 -1
- package/lib/commonjs/carrier-quote/types.js +0 -6
- package/lib/commonjs/carrier-quote/types.js.map +0 -1
- package/lib/commonjs/delivery-slot/DeliverySlotDays.js +0 -92
- package/lib/commonjs/delivery-slot/DeliverySlotDays.js.map +0 -1
- package/lib/commonjs/delivery-slot/DeliverySlotOption.js +0 -131
- package/lib/commonjs/delivery-slot/DeliverySlotOption.js.map +0 -1
- package/lib/commonjs/delivery-slot/DeliverySlotPicker.js +0 -265
- package/lib/commonjs/delivery-slot/DeliverySlotPicker.js.map +0 -1
- package/lib/commonjs/delivery-slot/constants.js +0 -52
- package/lib/commonjs/delivery-slot/constants.js.map +0 -1
- package/lib/commonjs/delivery-slot/index.js +0 -101
- package/lib/commonjs/delivery-slot/index.js.map +0 -1
- package/lib/commonjs/delivery-slot/messages.js +0 -27
- package/lib/commonjs/delivery-slot/messages.js.map +0 -1
- package/lib/commonjs/delivery-slot/shared.js +0 -60
- package/lib/commonjs/delivery-slot/shared.js.map +0 -1
- package/lib/commonjs/delivery-slot/types.js +0 -6
- package/lib/commonjs/delivery-slot/types.js.map +0 -1
- package/lib/commonjs/earnings/EarningsBreakdown.js +0 -85
- package/lib/commonjs/earnings/EarningsBreakdown.js.map +0 -1
- package/lib/commonjs/earnings/EarningsPayoutRow.js +0 -156
- package/lib/commonjs/earnings/EarningsPayoutRow.js.map +0 -1
- package/lib/commonjs/earnings/EarningsSummary.js +0 -295
- package/lib/commonjs/earnings/EarningsSummary.js.map +0 -1
- package/lib/commonjs/earnings/constants.js +0 -61
- package/lib/commonjs/earnings/constants.js.map +0 -1
- package/lib/commonjs/earnings/index.js +0 -77
- package/lib/commonjs/earnings/index.js.map +0 -1
- package/lib/commonjs/earnings/messages.js +0 -30
- package/lib/commonjs/earnings/messages.js.map +0 -1
- package/lib/commonjs/earnings/shared.js +0 -72
- package/lib/commonjs/earnings/shared.js.map +0 -1
- package/lib/commonjs/earnings/types.js +0 -6
- package/lib/commonjs/earnings/types.js.map +0 -1
- package/lib/commonjs/job-board/JobBoard.js +0 -464
- package/lib/commonjs/job-board/JobBoard.js.map +0 -1
- package/lib/commonjs/job-board/JobCard.js +0 -582
- package/lib/commonjs/job-board/JobCard.js.map +0 -1
- package/lib/commonjs/job-board/constants.js +0 -119
- package/lib/commonjs/job-board/constants.js.map +0 -1
- package/lib/commonjs/job-board/index.js +0 -106
- package/lib/commonjs/job-board/index.js.map +0 -1
- package/lib/commonjs/job-board/messages.js +0 -68
- package/lib/commonjs/job-board/messages.js.map +0 -1
- package/lib/commonjs/job-board/shared.js +0 -179
- package/lib/commonjs/job-board/shared.js.map +0 -1
- package/lib/commonjs/job-board/types.js +0 -6
- package/lib/commonjs/job-board/types.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js +0 -306
- package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/SignaturePad.js +0 -304
- package/lib/commonjs/proof-of-delivery/SignaturePad.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/constants.js +0 -51
- package/lib/commonjs/proof-of-delivery/constants.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/index.js +0 -106
- package/lib/commonjs/proof-of-delivery/index.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/messages.js +0 -41
- package/lib/commonjs/proof-of-delivery/messages.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/shared.js +0 -171
- package/lib/commonjs/proof-of-delivery/shared.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/types.js +0 -6
- package/lib/commonjs/proof-of-delivery/types.js.map +0 -1
- package/lib/commonjs/shipment-request/ShipmentLoadPicker.js +0 -272
- package/lib/commonjs/shipment-request/ShipmentLoadPicker.js.map +0 -1
- package/lib/commonjs/shipment-request/ShipmentOptionsList.js +0 -188
- package/lib/commonjs/shipment-request/ShipmentOptionsList.js.map +0 -1
- package/lib/commonjs/shipment-request/ShipmentRequestForm.js +0 -155
- package/lib/commonjs/shipment-request/ShipmentRequestForm.js.map +0 -1
- package/lib/commonjs/shipment-request/constants.js +0 -118
- package/lib/commonjs/shipment-request/constants.js.map +0 -1
- package/lib/commonjs/shipment-request/index.js +0 -95
- package/lib/commonjs/shipment-request/index.js.map +0 -1
- package/lib/commonjs/shipment-request/messages.js +0 -79
- package/lib/commonjs/shipment-request/messages.js.map +0 -1
- package/lib/commonjs/shipment-request/shared.js +0 -65
- package/lib/commonjs/shipment-request/shared.js.map +0 -1
- package/lib/commonjs/shipment-request/types.js +0 -6
- package/lib/commonjs/shipment-request/types.js.map +0 -1
- package/lib/commonjs/vehicle-picker/VehiclePicker.js +0 -238
- package/lib/commonjs/vehicle-picker/VehiclePicker.js.map +0 -1
- package/lib/commonjs/vehicle-picker/constants.js +0 -76
- package/lib/commonjs/vehicle-picker/constants.js.map +0 -1
- package/lib/commonjs/vehicle-picker/index.js +0 -45
- package/lib/commonjs/vehicle-picker/index.js.map +0 -1
- package/lib/commonjs/vehicle-picker/messages.js +0 -49
- package/lib/commonjs/vehicle-picker/messages.js.map +0 -1
- package/lib/commonjs/vehicle-picker/shared.js +0 -24
- package/lib/commonjs/vehicle-picker/shared.js.map +0 -1
- package/lib/commonjs/vehicle-picker/types.js +0 -6
- package/lib/commonjs/vehicle-picker/types.js.map +0 -1
- package/lib/module/carrier-quote/CarrierQuoteCard.js +0 -543
- package/lib/module/carrier-quote/CarrierQuoteCard.js.map +0 -1
- package/lib/module/carrier-quote/CarrierQuoteList.js +0 -270
- package/lib/module/carrier-quote/CarrierQuoteList.js.map +0 -1
- package/lib/module/carrier-quote/constants.js +0 -61
- package/lib/module/carrier-quote/constants.js.map +0 -1
- package/lib/module/carrier-quote/index.js +0 -7
- package/lib/module/carrier-quote/index.js.map +0 -1
- package/lib/module/carrier-quote/messages.js +0 -47
- package/lib/module/carrier-quote/messages.js.map +0 -1
- package/lib/module/carrier-quote/shared.js +0 -139
- package/lib/module/carrier-quote/shared.js.map +0 -1
- package/lib/module/carrier-quote/types.js +0 -4
- package/lib/module/carrier-quote/types.js.map +0 -1
- package/lib/module/delivery-slot/DeliverySlotDays.js +0 -86
- package/lib/module/delivery-slot/DeliverySlotDays.js.map +0 -1
- package/lib/module/delivery-slot/DeliverySlotOption.js +0 -125
- package/lib/module/delivery-slot/DeliverySlotOption.js.map +0 -1
- package/lib/module/delivery-slot/DeliverySlotPicker.js +0 -259
- package/lib/module/delivery-slot/DeliverySlotPicker.js.map +0 -1
- package/lib/module/delivery-slot/constants.js +0 -48
- package/lib/module/delivery-slot/constants.js.map +0 -1
- package/lib/module/delivery-slot/index.js +0 -8
- package/lib/module/delivery-slot/index.js.map +0 -1
- package/lib/module/delivery-slot/messages.js +0 -24
- package/lib/module/delivery-slot/messages.js.map +0 -1
- package/lib/module/delivery-slot/shared.js +0 -52
- package/lib/module/delivery-slot/shared.js.map +0 -1
- package/lib/module/delivery-slot/types.js +0 -4
- package/lib/module/delivery-slot/types.js.map +0 -1
- package/lib/module/earnings/EarningsBreakdown.js +0 -79
- package/lib/module/earnings/EarningsBreakdown.js.map +0 -1
- package/lib/module/earnings/EarningsPayoutRow.js +0 -150
- package/lib/module/earnings/EarningsPayoutRow.js.map +0 -1
- package/lib/module/earnings/EarningsSummary.js +0 -289
- package/lib/module/earnings/EarningsSummary.js.map +0 -1
- package/lib/module/earnings/constants.js +0 -58
- package/lib/module/earnings/constants.js.map +0 -1
- package/lib/module/earnings/index.js +0 -8
- package/lib/module/earnings/index.js.map +0 -1
- package/lib/module/earnings/messages.js +0 -27
- package/lib/module/earnings/messages.js.map +0 -1
- package/lib/module/earnings/shared.js +0 -63
- package/lib/module/earnings/shared.js.map +0 -1
- package/lib/module/earnings/types.js +0 -4
- package/lib/module/earnings/types.js.map +0 -1
- package/lib/module/job-board/JobBoard.js +0 -460
- package/lib/module/job-board/JobBoard.js.map +0 -1
- package/lib/module/job-board/JobCard.js +0 -578
- package/lib/module/job-board/JobCard.js.map +0 -1
- package/lib/module/job-board/constants.js +0 -114
- package/lib/module/job-board/constants.js.map +0 -1
- package/lib/module/job-board/index.js +0 -7
- package/lib/module/job-board/index.js.map +0 -1
- package/lib/module/job-board/messages.js +0 -65
- package/lib/module/job-board/messages.js.map +0 -1
- package/lib/module/job-board/shared.js +0 -167
- package/lib/module/job-board/shared.js.map +0 -1
- package/lib/module/job-board/types.js +0 -4
- package/lib/module/job-board/types.js.map +0 -1
- package/lib/module/proof-of-delivery/ProofOfDelivery.js +0 -300
- package/lib/module/proof-of-delivery/ProofOfDelivery.js.map +0 -1
- package/lib/module/proof-of-delivery/SignaturePad.js +0 -298
- package/lib/module/proof-of-delivery/SignaturePad.js.map +0 -1
- package/lib/module/proof-of-delivery/constants.js +0 -47
- package/lib/module/proof-of-delivery/constants.js.map +0 -1
- package/lib/module/proof-of-delivery/index.js +0 -7
- package/lib/module/proof-of-delivery/index.js.map +0 -1
- package/lib/module/proof-of-delivery/messages.js +0 -38
- package/lib/module/proof-of-delivery/messages.js.map +0 -1
- package/lib/module/proof-of-delivery/shared.js +0 -157
- package/lib/module/proof-of-delivery/shared.js.map +0 -1
- package/lib/module/proof-of-delivery/types.js +0 -4
- package/lib/module/proof-of-delivery/types.js.map +0 -1
- package/lib/module/shipment-request/ShipmentLoadPicker.js +0 -266
- package/lib/module/shipment-request/ShipmentLoadPicker.js.map +0 -1
- package/lib/module/shipment-request/ShipmentOptionsList.js +0 -184
- package/lib/module/shipment-request/ShipmentOptionsList.js.map +0 -1
- package/lib/module/shipment-request/ShipmentRequestForm.js +0 -149
- package/lib/module/shipment-request/ShipmentRequestForm.js.map +0 -1
- package/lib/module/shipment-request/constants.js +0 -112
- package/lib/module/shipment-request/constants.js.map +0 -1
- package/lib/module/shipment-request/index.js +0 -8
- package/lib/module/shipment-request/index.js.map +0 -1
- package/lib/module/shipment-request/messages.js +0 -76
- package/lib/module/shipment-request/messages.js.map +0 -1
- package/lib/module/shipment-request/shared.js +0 -58
- package/lib/module/shipment-request/shared.js.map +0 -1
- package/lib/module/shipment-request/types.js +0 -4
- package/lib/module/shipment-request/types.js.map +0 -1
- package/lib/module/vehicle-picker/VehiclePicker.js +0 -232
- package/lib/module/vehicle-picker/VehiclePicker.js.map +0 -1
- package/lib/module/vehicle-picker/constants.js +0 -71
- package/lib/module/vehicle-picker/constants.js.map +0 -1
- package/lib/module/vehicle-picker/index.js +0 -6
- package/lib/module/vehicle-picker/index.js.map +0 -1
- package/lib/module/vehicle-picker/messages.js +0 -46
- package/lib/module/vehicle-picker/messages.js.map +0 -1
- package/lib/module/vehicle-picker/shared.js +0 -20
- package/lib/module/vehicle-picker/shared.js.map +0 -1
- package/lib/module/vehicle-picker/types.js +0 -4
- package/lib/module/vehicle-picker/types.js.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts +0 -6
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts +0 -29
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/constants.d.ts +0 -55
- package/lib/typescript/commonjs/carrier-quote/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/index.d.ts +0 -8
- package/lib/typescript/commonjs/carrier-quote/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/messages.d.ts +0 -38
- package/lib/typescript/commonjs/carrier-quote/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/shared.d.ts +0 -58
- package/lib/typescript/commonjs/carrier-quote/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/types.d.ts +0 -191
- package/lib/typescript/commonjs/carrier-quote/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts +0 -28
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts +0 -27
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts +0 -34
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/constants.d.ts +0 -34
- package/lib/typescript/commonjs/delivery-slot/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/index.d.ts +0 -8
- package/lib/typescript/commonjs/delivery-slot/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/messages.d.ts +0 -23
- package/lib/typescript/commonjs/delivery-slot/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/shared.d.ts +0 -36
- package/lib/typescript/commonjs/delivery-slot/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/types.d.ts +0 -178
- package/lib/typescript/commonjs/delivery-slot/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts +0 -24
- package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts +0 -25
- package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts +0 -6
- package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/constants.d.ts +0 -41
- package/lib/typescript/commonjs/earnings/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/index.d.ts +0 -9
- package/lib/typescript/commonjs/earnings/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/messages.d.ts +0 -26
- package/lib/typescript/commonjs/earnings/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/shared.d.ts +0 -43
- package/lib/typescript/commonjs/earnings/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/types.d.ts +0 -171
- package/lib/typescript/commonjs/earnings/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/JobBoard.d.ts +0 -38
- package/lib/typescript/commonjs/job-board/JobBoard.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/JobCard.d.ts +0 -6
- package/lib/typescript/commonjs/job-board/JobCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/constants.d.ts +0 -79
- package/lib/typescript/commonjs/job-board/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/index.d.ts +0 -8
- package/lib/typescript/commonjs/job-board/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/messages.d.ts +0 -56
- package/lib/typescript/commonjs/job-board/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/shared.d.ts +0 -78
- package/lib/typescript/commonjs/job-board/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/types.d.ts +0 -269
- package/lib/typescript/commonjs/job-board/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts +0 -51
- package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts +0 -6
- package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts +0 -43
- package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/index.d.ts +0 -8
- package/lib/typescript/commonjs/proof-of-delivery/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/messages.d.ts +0 -13
- package/lib/typescript/commonjs/proof-of-delivery/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts +0 -79
- package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/types.d.ts +0 -165
- package/lib/typescript/commonjs/proof-of-delivery/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts +0 -32
- package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts +0 -5
- package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts +0 -33
- package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/constants.d.ts +0 -50
- package/lib/typescript/commonjs/shipment-request/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/index.d.ts +0 -8
- package/lib/typescript/commonjs/shipment-request/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/messages.d.ts +0 -45
- package/lib/typescript/commonjs/shipment-request/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/shared.d.ts +0 -40
- package/lib/typescript/commonjs/shipment-request/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/types.d.ts +0 -219
- package/lib/typescript/commonjs/shipment-request/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts +0 -7
- package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/constants.d.ts +0 -45
- package/lib/typescript/commonjs/vehicle-picker/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/index.d.ts +0 -6
- package/lib/typescript/commonjs/vehicle-picker/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/messages.d.ts +0 -26
- package/lib/typescript/commonjs/vehicle-picker/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/shared.d.ts +0 -19
- package/lib/typescript/commonjs/vehicle-picker/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/types.d.ts +0 -82
- package/lib/typescript/commonjs/vehicle-picker/types.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts +0 -6
- package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts +0 -29
- package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/constants.d.ts +0 -55
- package/lib/typescript/module/carrier-quote/constants.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/index.d.ts +0 -8
- package/lib/typescript/module/carrier-quote/index.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/messages.d.ts +0 -38
- package/lib/typescript/module/carrier-quote/messages.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/shared.d.ts +0 -58
- package/lib/typescript/module/carrier-quote/shared.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/types.d.ts +0 -191
- package/lib/typescript/module/carrier-quote/types.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts +0 -28
- package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts +0 -27
- package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts +0 -34
- package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/constants.d.ts +0 -34
- package/lib/typescript/module/delivery-slot/constants.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/index.d.ts +0 -8
- package/lib/typescript/module/delivery-slot/index.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/messages.d.ts +0 -23
- package/lib/typescript/module/delivery-slot/messages.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/shared.d.ts +0 -36
- package/lib/typescript/module/delivery-slot/shared.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/types.d.ts +0 -178
- package/lib/typescript/module/delivery-slot/types.d.ts.map +0 -1
- package/lib/typescript/module/earnings/EarningsBreakdown.d.ts +0 -24
- package/lib/typescript/module/earnings/EarningsBreakdown.d.ts.map +0 -1
- package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts +0 -25
- package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts.map +0 -1
- package/lib/typescript/module/earnings/EarningsSummary.d.ts +0 -6
- package/lib/typescript/module/earnings/EarningsSummary.d.ts.map +0 -1
- package/lib/typescript/module/earnings/constants.d.ts +0 -41
- package/lib/typescript/module/earnings/constants.d.ts.map +0 -1
- package/lib/typescript/module/earnings/index.d.ts +0 -9
- package/lib/typescript/module/earnings/index.d.ts.map +0 -1
- package/lib/typescript/module/earnings/messages.d.ts +0 -26
- package/lib/typescript/module/earnings/messages.d.ts.map +0 -1
- package/lib/typescript/module/earnings/shared.d.ts +0 -43
- package/lib/typescript/module/earnings/shared.d.ts.map +0 -1
- package/lib/typescript/module/earnings/types.d.ts +0 -171
- package/lib/typescript/module/earnings/types.d.ts.map +0 -1
- package/lib/typescript/module/job-board/JobBoard.d.ts +0 -38
- package/lib/typescript/module/job-board/JobBoard.d.ts.map +0 -1
- package/lib/typescript/module/job-board/JobCard.d.ts +0 -6
- package/lib/typescript/module/job-board/JobCard.d.ts.map +0 -1
- package/lib/typescript/module/job-board/constants.d.ts +0 -79
- package/lib/typescript/module/job-board/constants.d.ts.map +0 -1
- package/lib/typescript/module/job-board/index.d.ts +0 -8
- package/lib/typescript/module/job-board/index.d.ts.map +0 -1
- package/lib/typescript/module/job-board/messages.d.ts +0 -56
- package/lib/typescript/module/job-board/messages.d.ts.map +0 -1
- package/lib/typescript/module/job-board/shared.d.ts +0 -78
- package/lib/typescript/module/job-board/shared.d.ts.map +0 -1
- package/lib/typescript/module/job-board/types.d.ts +0 -269
- package/lib/typescript/module/job-board/types.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts +0 -51
- package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts +0 -6
- package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/constants.d.ts +0 -43
- package/lib/typescript/module/proof-of-delivery/constants.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/index.d.ts +0 -8
- package/lib/typescript/module/proof-of-delivery/index.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/messages.d.ts +0 -13
- package/lib/typescript/module/proof-of-delivery/messages.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/shared.d.ts +0 -79
- package/lib/typescript/module/proof-of-delivery/shared.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/types.d.ts +0 -165
- package/lib/typescript/module/proof-of-delivery/types.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts +0 -32
- package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts +0 -5
- package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts +0 -33
- package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/constants.d.ts +0 -50
- package/lib/typescript/module/shipment-request/constants.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/index.d.ts +0 -8
- package/lib/typescript/module/shipment-request/index.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/messages.d.ts +0 -45
- package/lib/typescript/module/shipment-request/messages.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/shared.d.ts +0 -40
- package/lib/typescript/module/shipment-request/shared.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/types.d.ts +0 -219
- package/lib/typescript/module/shipment-request/types.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts +0 -7
- package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/constants.d.ts +0 -45
- package/lib/typescript/module/vehicle-picker/constants.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/index.d.ts +0 -6
- package/lib/typescript/module/vehicle-picker/index.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/messages.d.ts +0 -26
- package/lib/typescript/module/vehicle-picker/messages.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/shared.d.ts +0 -19
- package/lib/typescript/module/vehicle-picker/shared.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/types.d.ts +0 -82
- package/lib/typescript/module/vehicle-picker/types.d.ts.map +0 -1
- package/src/carrier-quote/CarrierQuoteCard.tsx +0 -558
- package/src/carrier-quote/CarrierQuoteList.tsx +0 -271
- package/src/carrier-quote/constants.ts +0 -57
- package/src/carrier-quote/index.ts +0 -28
- package/src/carrier-quote/messages.ts +0 -66
- package/src/carrier-quote/shared.ts +0 -168
- package/src/carrier-quote/types.ts +0 -199
- package/src/delivery-slot/DeliverySlotDays.tsx +0 -91
- package/src/delivery-slot/DeliverySlotOption.tsx +0 -123
- package/src/delivery-slot/DeliverySlotPicker.tsx +0 -275
- package/src/delivery-slot/constants.ts +0 -47
- package/src/delivery-slot/index.ts +0 -24
- package/src/delivery-slot/messages.ts +0 -33
- package/src/delivery-slot/shared.ts +0 -84
- package/src/delivery-slot/types.ts +0 -191
- package/src/earnings/EarningsBreakdown.tsx +0 -75
- package/src/earnings/EarningsPayoutRow.tsx +0 -141
- package/src/earnings/EarningsSummary.tsx +0 -310
- package/src/earnings/constants.ts +0 -61
- package/src/earnings/index.ts +0 -24
- package/src/earnings/messages.ts +0 -45
- package/src/earnings/shared.ts +0 -94
- package/src/earnings/types.ts +0 -180
- package/src/job-board/JobBoard.tsx +0 -514
- package/src/job-board/JobCard.tsx +0 -597
- package/src/job-board/constants.ts +0 -106
- package/src/job-board/index.ts +0 -34
- package/src/job-board/messages.ts +0 -96
- package/src/job-board/shared.ts +0 -215
- package/src/job-board/types.ts +0 -274
- package/src/proof-of-delivery/ProofOfDelivery.tsx +0 -321
- package/src/proof-of-delivery/SignaturePad.tsx +0 -309
- package/src/proof-of-delivery/constants.ts +0 -54
- package/src/proof-of-delivery/index.ts +0 -29
- package/src/proof-of-delivery/messages.ts +0 -43
- package/src/proof-of-delivery/shared.ts +0 -190
- package/src/proof-of-delivery/types.ts +0 -174
- package/src/shipment-request/ShipmentLoadPicker.tsx +0 -249
- package/src/shipment-request/ShipmentOptionsList.tsx +0 -192
- package/src/shipment-request/ShipmentRequestForm.tsx +0 -160
- package/src/shipment-request/constants.ts +0 -138
- package/src/shipment-request/index.ts +0 -37
- package/src/shipment-request/messages.ts +0 -85
- package/src/shipment-request/shared.ts +0 -72
- package/src/shipment-request/types.ts +0 -235
- package/src/vehicle-picker/VehiclePicker.tsx +0 -233
- package/src/vehicle-picker/constants.ts +0 -77
- package/src/vehicle-picker/index.ts +0 -15
- package/src/vehicle-picker/messages.ts +0 -61
- package/src/vehicle-picker/shared.ts +0 -27
- package/src/vehicle-picker/types.ts +0 -86
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { ProofOfDelivery } from './ProofOfDelivery';
|
|
2
|
-
export { SignaturePad } from './SignaturePad';
|
|
3
|
-
export { PROOF_GEOMETRY, PROOF_LABELS, PROOF_ORDER } from './constants';
|
|
4
|
-
export type { ProofGeometry } from './constants';
|
|
5
|
-
export { EMPTY_PROOF, EMPTY_SIGNATURE, completeProofValue, hasSignatureInk, isProofGiven, isSignatureGiven, missingProofs, orderProofs, resolveProofPaint, shouldKeepSignaturePoint, signaturePath, } from './shared';
|
|
6
|
-
export type { ProofPaint } from './shared';
|
|
7
|
-
export type { ProofKind, ProofOfDeliveryLabels, ProofOfDeliveryProps, ProofOfDeliveryResult, ProofOfDeliveryValue, SignaturePadProps, SignaturePoint, SignatureStroke, SignatureValue, } from './types';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/proof-of-delivery/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACxE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,wBAAwB,EACxB,aAAa,GACd,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,YAAY,EACV,SAAS,EACT,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,cAAc,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type MessageCatalog } from '../locale/messages';
|
|
2
|
-
import type { ProofOfDeliveryLabels } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Every fixed string the proof-of-delivery family draws or announces, in each
|
|
5
|
-
* Bloom language. A caller's `labels` and `accessibilityLabel` still win.
|
|
6
|
-
*/
|
|
7
|
-
export interface ProofOfDeliveryMessages {
|
|
8
|
-
labels: Required<ProofOfDeliveryLabels>;
|
|
9
|
-
/** Names the form. */
|
|
10
|
-
proofOfDelivery: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const PROOF_OF_DELIVERY_MESSAGES: MessageCatalog<ProofOfDeliveryMessages>;
|
|
13
|
-
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/proof-of-delivery/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAAC;IACxC,sBAAsB;IACtB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,0BAA0B,EAAE,cAAc,CAAC,uBAAuB,CA4B3E,CAAC"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import type { SurfaceTextPaint } from '../styles/surface-levels';
|
|
2
|
-
import type { Theme } from '../theme/types';
|
|
3
|
-
import type { ProofKind, ProofOfDeliveryValue, SignaturePoint, SignatureStroke, SignatureValue } from './types';
|
|
4
|
-
export interface ProofPaint {
|
|
5
|
-
surface: string;
|
|
6
|
-
hairline: string;
|
|
7
|
-
/** The pad's own fill — the next level up from whatever it is drawn on. */
|
|
8
|
-
pad: string;
|
|
9
|
-
text: string;
|
|
10
|
-
textSecondary: string;
|
|
11
|
-
textTertiary: string;
|
|
12
|
-
/** The text rungs that clear AA on the PAD, which is not the form's fill. */
|
|
13
|
-
padText: SurfaceTextPaint;
|
|
14
|
-
}
|
|
15
|
-
export declare function resolveProofPaint(theme: Theme, surface: string): ProofPaint;
|
|
16
|
-
/** The empty value: nothing drawn, nothing typed, nothing photographed. */
|
|
17
|
-
export declare const EMPTY_SIGNATURE: SignatureValue;
|
|
18
|
-
export declare const EMPTY_PROOF: ProofOfDeliveryValue;
|
|
19
|
-
/** Fills the gaps in a partial value with the empty one, leaving the rest alone. */
|
|
20
|
-
export declare function completeProofValue(value: Partial<ProofOfDeliveryValue> | undefined): ProofOfDeliveryValue;
|
|
21
|
-
/**
|
|
22
|
-
* One stroke as SVG path data, smoothed.
|
|
23
|
-
*
|
|
24
|
-
* no points `''` — nothing drawn is not a path of length zero, it is no
|
|
25
|
-
* path at all, and an `<path d="">` is an element the browser
|
|
26
|
-
* still lays out
|
|
27
|
-
* one point a DOT: a zero-length line with a round cap, which is what a
|
|
28
|
-
* full stop in a signature is. Without this a tap lays down
|
|
29
|
-
* nothing and the reader taps harder
|
|
30
|
-
* two or more a move, then a quadratic through the MIDPOINTS of successive
|
|
31
|
-
* points, ending on the last point. Midpoint smoothing is what
|
|
32
|
-
* turns a 60-samples-a-second polyline into something that
|
|
33
|
-
* reads as handwriting; joining the raw points draws the
|
|
34
|
-
* pointer's own stair-stepping
|
|
35
|
-
*
|
|
36
|
-
* Coordinates are rounded to two places: a signature does not need a
|
|
37
|
-
* ten-thousandth of a pixel, and the untrimmed floats triple the size of a
|
|
38
|
-
* value an app is about to upload.
|
|
39
|
-
*/
|
|
40
|
-
export declare function signaturePath(stroke: SignatureStroke): string;
|
|
41
|
-
/**
|
|
42
|
-
* Whether a point is far enough from the last one to be worth keeping.
|
|
43
|
-
*
|
|
44
|
-
* A pointer reports the same coordinate many times while a finger rests, and
|
|
45
|
-
* every repeat is a quadratic segment of length zero that the smoothing then
|
|
46
|
-
* has to average. Dropping them is what keeps the path proportional to the
|
|
47
|
-
* MOVEMENT rather than to the duration of the press.
|
|
48
|
-
*/
|
|
49
|
-
export declare function shouldKeepSignaturePoint(last: SignaturePoint | undefined, point: SignaturePoint, minDistance?: number): boolean;
|
|
50
|
-
/** Whether anything has been drawn. A stroke with no points is not one. */
|
|
51
|
-
export declare function hasSignatureInk(value: SignatureValue | undefined): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Whether a signature has been GIVEN, by either path.
|
|
54
|
-
*
|
|
55
|
-
* Drawn ink and a typed name are the same answer, and this is the one place
|
|
56
|
-
* that is decided — so a screen-reader user who typed their name is never told
|
|
57
|
-
* the signature is missing.
|
|
58
|
-
*/
|
|
59
|
-
export declare function isSignatureGiven(value: SignatureValue | undefined): boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Whether one proof has been given.
|
|
62
|
-
*
|
|
63
|
-
* A code counts only once it is FULL: `InputOtp` reports every keystroke, and
|
|
64
|
-
* "2 of 4 digits" is not a code the recipient read out. `codeLength` is
|
|
65
|
-
* therefore part of the question rather than something the caller checks after.
|
|
66
|
-
*/
|
|
67
|
-
export declare function isProofGiven(kind: ProofKind, value: ProofOfDeliveryValue, codeLength: number): boolean;
|
|
68
|
-
/**
|
|
69
|
-
* The required proofs that have not been given, in the order they were asked.
|
|
70
|
-
*
|
|
71
|
-
* A proof that is required but NOT DRAWN cannot be missing: an app that asks for
|
|
72
|
-
* four proofs and requires a fifth it never showed would refuse a delivery over
|
|
73
|
-
* a control nobody could see. The intersection is taken deliberately, and the
|
|
74
|
-
* ORDER is the drawn order so the summary reads down the form.
|
|
75
|
-
*/
|
|
76
|
-
export declare function missingProofs(value: ProofOfDeliveryValue, required: readonly ProofKind[], shown: readonly ProofKind[], codeLength: number): ProofKind[];
|
|
77
|
-
/** The proofs to draw, in the canonical order, with anything unknown dropped. */
|
|
78
|
-
export declare function orderProofs(proofs: readonly ProofKind[]): ProofKind[];
|
|
79
|
-
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/proof-of-delivery/shared.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,KAAK,EACV,SAAS,EACT,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,UAAU,CAY3E;AAED,2EAA2E;AAC3E,eAAO,MAAM,eAAe,EAAE,cAA+C,CAAC;AAE9E,eAAO,MAAM,WAAW,EAAE,oBAMzB,CAAC;AAEF,oFAAoF;AACpF,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,SAAS,GAC/C,oBAAoB,CAQtB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM,CAe7D;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,cAAc,GAAG,SAAS,EAChC,KAAK,EAAE,cAAc,EACrB,WAAW,GAAE,MAAiC,GAC7C,OAAO,CAGT;AAED,2EAA2E;AAC3E,wBAAgB,eAAe,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,SAAS,EACf,KAAK,EAAE,oBAAoB,EAC3B,UAAU,EAAE,MAAM,GACjB,OAAO,CAaT;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,oBAAoB,EAC3B,QAAQ,EAAE,SAAS,SAAS,EAAE,EAC9B,KAAK,EAAE,SAAS,SAAS,EAAE,EAC3B,UAAU,EAAE,MAAM,GACjB,SAAS,EAAE,CAEb;AAED,iFAAiF;AACjF,wBAAgB,WAAW,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,SAAS,EAAE,CAErE"}
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import type { SortablePhoto } from '../sortable-media';
|
|
4
|
-
/** One point of a drawn stroke, in the pad's own coordinates. */
|
|
5
|
-
export interface SignaturePoint {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
}
|
|
9
|
-
/** One unbroken line: the points between a finger going down and coming up. */
|
|
10
|
-
export type SignatureStroke = readonly SignaturePoint[];
|
|
11
|
-
/**
|
|
12
|
-
* A signature, which is EITHER drawn OR typed and never has to be both.
|
|
13
|
-
*
|
|
14
|
-
* Both halves live in one value because they are one answer to one question.
|
|
15
|
-
* A pad that reported only strokes would make the typed name a second field the
|
|
16
|
-
* app had to remember to collect, and the first app that forgot it would ship a
|
|
17
|
-
* signature step no screen-reader user could complete.
|
|
18
|
-
*/
|
|
19
|
-
export interface SignatureValue {
|
|
20
|
-
/** What was drawn, oldest stroke first. */
|
|
21
|
-
strokes: readonly SignatureStroke[];
|
|
22
|
-
/** What was typed instead. */
|
|
23
|
-
typedName?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* The five things an app can ask for at the door.
|
|
27
|
-
*
|
|
28
|
-
* Each is independent: an app asks for none, one, or all five, and says
|
|
29
|
-
* separately which of the ones it asked for it will not accept a delivery
|
|
30
|
-
* without.
|
|
31
|
-
*/
|
|
32
|
-
export type ProofKind = 'signature' | 'photo' | 'code' | 'recipient' | 'note';
|
|
33
|
-
/** Everything collected at the door. */
|
|
34
|
-
export interface ProofOfDeliveryValue {
|
|
35
|
-
signature: SignatureValue;
|
|
36
|
-
/** The photos, in order, handed to `SortablePhotoGrid` unchanged. */
|
|
37
|
-
photos: readonly SortablePhoto[];
|
|
38
|
-
/** The code the recipient read out. Digits only — `InputOtp` cleans it. */
|
|
39
|
-
code: string;
|
|
40
|
-
/** Who took it. */
|
|
41
|
-
recipient: string;
|
|
42
|
-
/** Anything else about how it went. */
|
|
43
|
-
note: string;
|
|
44
|
-
}
|
|
45
|
-
/** What the whole thing reports: the value, and what is still missing from it. */
|
|
46
|
-
export interface ProofOfDeliveryResult extends ProofOfDeliveryValue {
|
|
47
|
-
/**
|
|
48
|
-
* The REQUIRED proofs that have not been given, in the order they were asked.
|
|
49
|
-
* Empty means the delivery can be recorded.
|
|
50
|
-
*/
|
|
51
|
-
missing: readonly ProofKind[];
|
|
52
|
-
}
|
|
53
|
-
/** Every word the family speaks, in one prop. */
|
|
54
|
-
export interface ProofOfDeliveryLabels {
|
|
55
|
-
/** Over the signature block. Default `"Signature"`. */
|
|
56
|
-
signature?: string;
|
|
57
|
-
/** The pad's own name and hint. Defaults `"Signature"` / `"Sign with your finger"`. */
|
|
58
|
-
signaturePad?: string;
|
|
59
|
-
signatureHint?: string;
|
|
60
|
-
/** Said instead of the hint once something has been drawn. Default `"Signed"`. */
|
|
61
|
-
signed?: string;
|
|
62
|
-
/** The clear control. Default `"Clear the signature"`. */
|
|
63
|
-
clear?: string;
|
|
64
|
-
/** The typed alternative's label and placeholder. Defaults `"Or type your name"` / `"Full name"`. */
|
|
65
|
-
typeName?: string;
|
|
66
|
-
typeNamePlaceholder?: string;
|
|
67
|
-
/** Over the photo block. Default `"Photo"`. */
|
|
68
|
-
photo?: string;
|
|
69
|
-
/** Under it. Default `"Where you left it, or the parcel with the recipient."`. */
|
|
70
|
-
photoHint?: string;
|
|
71
|
-
/** Over the code block. Default `"Delivery code"`. */
|
|
72
|
-
code?: string;
|
|
73
|
-
/** Under it. Default `"Ask the recipient to read out the code in their app."`. */
|
|
74
|
-
codeHint?: string;
|
|
75
|
-
/** Over the recipient block. Default `"Who received it"`. */
|
|
76
|
-
recipient?: string;
|
|
77
|
-
recipientPlaceholder?: string;
|
|
78
|
-
/** Over the note block. Default `"Note"`. */
|
|
79
|
-
note?: string;
|
|
80
|
-
notePlaceholder?: string;
|
|
81
|
-
/** The submit control. Default `"Confirm the delivery"`. */
|
|
82
|
-
submit?: string;
|
|
83
|
-
/** Marks a block the app will not accept without. Default `"Required"`. */
|
|
84
|
-
required?: string;
|
|
85
|
-
/** Shown on a required block that is still empty, after a submit. Default `"This is needed before you can confirm."`. */
|
|
86
|
-
missing?: string;
|
|
87
|
-
/** The line over the missing list, after a failed submit. Default `` (n) => n === 1 ? 'One thing is still missing' : `${n} things are still missing` ``. */
|
|
88
|
-
missingSummary?: (count: number) => string;
|
|
89
|
-
}
|
|
90
|
-
export interface SignaturePadProps {
|
|
91
|
-
/** Controlled value. */
|
|
92
|
-
value?: SignatureValue;
|
|
93
|
-
/** Uncontrolled initial value. Default no strokes and no typed name. */
|
|
94
|
-
defaultValue?: SignatureValue;
|
|
95
|
-
onChange?: (value: SignatureValue) => void;
|
|
96
|
-
/** Called with the finished stroke each time the finger comes up. */
|
|
97
|
-
onStrokeEnd?: (stroke: SignatureStroke) => void;
|
|
98
|
-
/** How tall the drawing surface is. Default 180. */
|
|
99
|
-
height?: number;
|
|
100
|
-
/** The ink. Default the theme's text colour — a signature is writing, not a brand mark. */
|
|
101
|
-
ink?: string;
|
|
102
|
-
/** How thick the ink is. Default 2.5. */
|
|
103
|
-
strokeWidth?: number;
|
|
104
|
-
/**
|
|
105
|
-
* Draws the "or type your name" field under the pad. Default `true`.
|
|
106
|
-
*
|
|
107
|
-
* SETTING IT TO `false` REMOVES THE ONLY PATH A SCREEN-READER USER HAS. Do it
|
|
108
|
-
* only where the app collects the name somewhere else on the same screen.
|
|
109
|
-
*/
|
|
110
|
-
typed?: boolean;
|
|
111
|
-
/** Stops drawing and typing, and dims the whole block. */
|
|
112
|
-
disabled?: boolean;
|
|
113
|
-
labels?: ProofOfDeliveryLabels;
|
|
114
|
-
/** Names the block. Default `"Signature"`. */
|
|
115
|
-
accessibilityLabel?: string;
|
|
116
|
-
style?: StyleProp<ViewStyle>;
|
|
117
|
-
/** Derives `-pad`, `-stroke-<n>`, `-clear`, `-typed`. */
|
|
118
|
-
testID?: string;
|
|
119
|
-
}
|
|
120
|
-
export interface ProofOfDeliveryProps {
|
|
121
|
-
/** Which proofs are drawn, in the order they are asked. Default all five. */
|
|
122
|
-
proofs?: readonly ProofKind[];
|
|
123
|
-
/**
|
|
124
|
-
* Which of the drawn proofs the app will not record a delivery without.
|
|
125
|
-
* Default none — every proof is optional until an app says otherwise.
|
|
126
|
-
*/
|
|
127
|
-
required?: readonly ProofKind[];
|
|
128
|
-
/** Controlled value. Any field left out falls back to the empty one. */
|
|
129
|
-
value?: Partial<ProofOfDeliveryValue>;
|
|
130
|
-
/** Uncontrolled initial value. */
|
|
131
|
-
defaultValue?: Partial<ProofOfDeliveryValue>;
|
|
132
|
-
onChange?: (value: ProofOfDeliveryValue) => void;
|
|
133
|
-
/**
|
|
134
|
-
* The one result. It fires on EVERY press, with `missing` filled in — see
|
|
135
|
-
* `ProofOfDelivery`'s note on why the confirm control is never disabled.
|
|
136
|
-
*/
|
|
137
|
-
onSubmit?: (result: ProofOfDeliveryResult) => void;
|
|
138
|
-
/** Opens the app's own picker. Without it the photo block draws no add tile. */
|
|
139
|
-
onAddPhoto?: () => void;
|
|
140
|
-
/** Draws the retry control on a failed photo. */
|
|
141
|
-
onRetryPhoto?: (id: string) => void;
|
|
142
|
-
/** How many boxes the code has. Default `4`. */
|
|
143
|
-
codeLength?: number;
|
|
144
|
-
/** How tall the signature pad is. Default 180. */
|
|
145
|
-
signatureHeight?: number;
|
|
146
|
-
/** Hides the add tile once this many photos are in. Default `4`. */
|
|
147
|
-
maxPhotos?: number;
|
|
148
|
-
/** Dims the confirm control and stops the press while the app is saving. */
|
|
149
|
-
submitting?: boolean;
|
|
150
|
-
/** Stops every control. */
|
|
151
|
-
disabled?: boolean;
|
|
152
|
-
/** A heading over the whole thing. */
|
|
153
|
-
title?: string;
|
|
154
|
-
/** A line under the heading. */
|
|
155
|
-
description?: string;
|
|
156
|
-
/** Replaces the confirm control entirely. */
|
|
157
|
-
actions?: ReactNode;
|
|
158
|
-
labels?: ProofOfDeliveryLabels;
|
|
159
|
-
/** Names the form. Default `"Proof of delivery"`. */
|
|
160
|
-
accessibilityLabel?: string;
|
|
161
|
-
style?: StyleProp<ViewStyle>;
|
|
162
|
-
/** Derives `-signature`, `-photo`, `-code`, `-recipient`, `-note`, `-submit`. */
|
|
163
|
-
testID?: string;
|
|
164
|
-
}
|
|
165
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/proof-of-delivery/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,iEAAiE;AACjE,MAAM,WAAW,cAAc;IAC7B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,+EAA+E;AAC/E,MAAM,MAAM,eAAe,GAAG,SAAS,cAAc,EAAE,CAAC;AAExD;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,2CAA2C;IAC3C,OAAO,EAAE,SAAS,eAAe,EAAE,CAAC;IACpC,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;AAE9E,wCAAwC;AACxC,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,cAAc,CAAC;IAC1B,qEAAqE;IACrE,MAAM,EAAE,SAAS,aAAa,EAAE,CAAC;IACjC,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,kFAAkF;AAClF,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IACjE;;;OAGG;IACH,OAAO,EAAE,SAAS,SAAS,EAAE,CAAC;CAC/B;AAED,iDAAiD;AACjD,MAAM,WAAW,qBAAqB;IACpC,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uFAAuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qGAAqG;IACrG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kFAAkF;IAClF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yHAAyH;IACzH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4JAA4J;IAC5J,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC5C;AAED,MAAM,WAAW,iBAAiB;IAChC,wBAAwB;IACxB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,wEAAwE;IACxE,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC3C,qEAAqE;IACrE,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAChD,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2FAA2F;IAC3F,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,yDAAyD;IACzD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,6EAA6E;IAC7E,MAAM,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;IAChC,wEAAwE;IACxE,KAAK,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACtC,kCAAkC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC7C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACjD;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACnD,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,iDAAiD;IACjD,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,qDAAqD;IACrD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,iFAAiF;IACjF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ShipmentLoadPickerProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* What is being moved, how big it is, how heavy and how many.
|
|
5
|
-
*
|
|
6
|
-
* kind the editor's selectable cards, one answer: a 44 icon tile, the
|
|
7
|
-
* kind at `headline-semibold`, what it covers under it, a radio
|
|
8
|
-
* indicator on the right
|
|
9
|
-
* size a `SegmentedControl` of single letters, with the chosen rung's
|
|
10
|
-
* sentence under it — four words never fit in one control at phone
|
|
11
|
-
* width, and a control whose every option carries a sentence is a
|
|
12
|
-
* list, not a segmented control
|
|
13
|
-
* weight a `TextField` with its unit as a `TextFieldSuffix`, beside the
|
|
14
|
-
* quantity from 480 wide and stacked under it below
|
|
15
|
-
* quantity a `StepperRow` from 1
|
|
16
|
-
* notes an auto-resizing `Textarea`, drawn only when asked for
|
|
17
|
-
*
|
|
18
|
-
* **THE VALUE IS ONE OBJECT AND IT ARRIVES WHOLE.** `onValueChange` is called
|
|
19
|
-
* with the next `ShipmentLoad`, never with a patch: a form that merges patches
|
|
20
|
-
* in four places has four chances to drop a field, and this one has none.
|
|
21
|
-
*
|
|
22
|
-
* **THE UNIT IS NOT PART OF THE VALUE.** `weight` holds digits and at most one
|
|
23
|
-
* dot (`sanitizeWeight`), so an app parses a number; the "kg" beside it is
|
|
24
|
-
* drawn, announced, and never stored.
|
|
25
|
-
*
|
|
26
|
-
* Validation is the app's. `errors` is keyed by field and each message sits
|
|
27
|
-
* under its own control, in the error colour — the kind's under the cards.
|
|
28
|
-
*/
|
|
29
|
-
declare function ShipmentLoadPickerComponent({ value, onValueChange, kinds: kindsProp, sizes: sizesProp, notes, maxQuantity, errors, labels: labelOverrides, disabled: disabledProp, style, testID, }: ShipmentLoadPickerProps): React.JSX.Element;
|
|
30
|
-
export declare const ShipmentLoadPicker: React.MemoExoticComponent<typeof ShipmentLoadPickerComponent>;
|
|
31
|
-
export {};
|
|
32
|
-
//# sourceMappingURL=ShipmentLoadPicker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShipmentLoadPicker.d.ts","sourceRoot":"","sources":["../../../../src/shipment-request/ShipmentLoadPicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwB,MAAM,OAAO,CAAC;AA8B7C,OAAO,KAAK,EAAE,uBAAuB,EAAoB,MAAM,SAAS,CAAC;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,iBAAS,2BAA2B,CAAC,EACnC,KAAK,EACL,aAAa,EACb,KAAK,EAAE,SAAS,EAChB,KAAK,EAAE,SAAS,EAChB,KAAa,EACb,WAAgB,EAChB,MAAW,EACX,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,YAAoB,EAC9B,KAAK,EACL,MAAM,GACP,EAAE,uBAAuB,qBA4KzB;AAED,eAAO,MAAM,kBAAkB,+DAAoC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ShipmentOptionsListProps } from './types';
|
|
2
|
-
declare function ShipmentOptionsListComponent({ extras, selectedExtras, onExtrasChange, accessOptions, access, onAccessChange, windows, window: windowId, onWindowChange, labels: labelOverrides, disabled, style, testID, }: ShipmentOptionsListProps): import("react").JSX.Element;
|
|
3
|
-
export declare const ShipmentOptionsList: import("react").MemoExoticComponent<typeof ShipmentOptionsListComponent>;
|
|
4
|
-
export {};
|
|
5
|
-
//# sourceMappingURL=ShipmentOptionsList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShipmentOptionsList.d.ts","sourceRoot":"","sources":["../../../../src/shipment-request/ShipmentOptionsList.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AA0BxD,iBAAS,4BAA4B,CAAC,EACpC,MAAM,EACN,cAAmB,EACnB,cAAc,EACd,aAAa,EACb,MAAa,EACb,cAAc,EACd,OAAO,EACP,MAAM,EAAE,QAAe,EACvB,cAAc,EACd,MAAM,EAAE,cAAc,EACtB,QAAgB,EAChB,KAAK,EACL,MAAM,GACP,EAAE,wBAAwB,+BAuI1B;AAED,eAAO,MAAM,mBAAmB,0EAAqC,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ShipmentRequestFormProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Describing a job: where it goes, what is being moved, what it looks like,
|
|
5
|
-
* what changes the price, and what that price currently is.
|
|
6
|
-
*
|
|
7
|
-
* It is the REGISTER a Bloom multi-part form is written in — one column of
|
|
8
|
-
* sections, each a heading over its controls with a hairline under it, no card
|
|
9
|
-
* per section and no step counter. The one decision it makes is the ORDER, and
|
|
10
|
-
* the order is the order of the questions a carrier needs answered:
|
|
11
|
-
*
|
|
12
|
-
* 1 route `RouteStops` — the origin, the destination, the stops between
|
|
13
|
-
* 2 load `ShipmentLoadPicker` — kind, size, weight, quantity, notes
|
|
14
|
-
* 3 photos `SortablePhotoGrid` — drawn only when `photos` is given
|
|
15
|
-
* 4 options `ShipmentOptionsList` — the answers that move the number
|
|
16
|
-
* 5 price `PriceSummary` — last, so the options and the number they move
|
|
17
|
-
* are on one screen
|
|
18
|
-
*
|
|
19
|
-
* **IT DRAWS NOTHING OF ITS OWN.** Every section is an existing Bloom family
|
|
20
|
-
* handed its props unchanged: there is one component that knows what a route
|
|
21
|
-
* looks like, one that knows what a photo grid looks like, one that knows what
|
|
22
|
-
* an itemised price looks like, and a form that redrew any of them would be a
|
|
23
|
-
* copy that drifts. A section whose props are absent is not drawn — a job that
|
|
24
|
-
* needs no photograph should not be asked for one.
|
|
25
|
-
*
|
|
26
|
-
* **THE LAST SECTION HAS NO RULE UNDER IT**, and the footer sits below it with
|
|
27
|
-
* none either: a divider is a separator between two things, and there is
|
|
28
|
-
* nothing after the last one.
|
|
29
|
-
*/
|
|
30
|
-
declare function ShipmentRequestFormComponent({ route, load, onLoadChange, loadProps, photos, options, price, footer, labels: labelOverrides, disabled, accessibilityLabel: accessibilityLabelProp, style, testID, }: ShipmentRequestFormProps): React.JSX.Element;
|
|
31
|
-
export declare const ShipmentRequestForm: React.MemoExoticComponent<typeof ShipmentRequestFormComponent>;
|
|
32
|
-
export {};
|
|
33
|
-
//# sourceMappingURL=ShipmentRequestForm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShipmentRequestForm.d.ts","sourceRoot":"","sources":["../../../../src/shipment-request/ShipmentRequestForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAY7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,iBAAS,4BAA4B,CAAC,EACpC,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,MAAM,EAAE,cAAc,EACtB,QAAgB,EAChB,kBAAkB,EAAE,sBAAsB,EAC1C,KAAK,EACL,MAAM,GACP,EAAE,wBAAwB,qBAoG1B;AAED,eAAO,MAAM,mBAAmB,gEAAqC,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { type ShipmentRequestMessages } from './messages';
|
|
2
|
-
import type { ShipmentAccessOption, ShipmentLoadKindOption, ShipmentLoadPickerLabels, ShipmentLoadSizeOption, ShipmentOptionsLabels, ShipmentRequestFormLabels } from './types';
|
|
3
|
-
/** The five built-in kinds in one language's words. */
|
|
4
|
-
export declare function builtInLoadKinds(messages: ShipmentRequestMessages): readonly ShipmentLoadKindOption[];
|
|
5
|
-
/** The four built-in size rungs in one language's words. */
|
|
6
|
-
export declare function builtInLoadSizes(messages: ShipmentRequestMessages): readonly ShipmentLoadSizeOption[];
|
|
7
|
-
/**
|
|
8
|
-
* The five kinds, in the order a marketplace draws them: the two a bike can
|
|
9
|
-
* take first, then the two that need a van, then food — which is not a size at
|
|
10
|
-
* all but a condition.
|
|
11
|
-
*/
|
|
12
|
-
export declare const SHIPMENT_LOAD_KINDS: readonly ShipmentLoadKindOption[];
|
|
13
|
-
/**
|
|
14
|
-
* The four size rungs.
|
|
15
|
-
*
|
|
16
|
-
* The segments are single letters because they sit in one control at phone
|
|
17
|
-
* width and four words never fit; the sentence each one means is drawn UNDER
|
|
18
|
-
* the control, for the chosen rung only. A control whose options all carry
|
|
19
|
-
* their own sentence is a list, not a segmented control.
|
|
20
|
-
*
|
|
21
|
-
* In English, like the kinds and access words; a picker given no `kinds` or
|
|
22
|
-
* `sizes` draws them in the resolved locale's words.
|
|
23
|
-
*/
|
|
24
|
-
export declare const SHIPMENT_LOAD_SIZES: readonly ShipmentLoadSizeOption[];
|
|
25
|
-
/** Ground floor, stairs, lift. One of them is true, so they are a single choice. */
|
|
26
|
-
export declare const SHIPMENT_ACCESS_OPTIONS: readonly ShipmentAccessOption[];
|
|
27
|
-
/** The load picker's default copy. */
|
|
28
|
-
export declare const SHIPMENT_LOAD_LABELS: Required<ShipmentLoadPickerLabels>;
|
|
29
|
-
/** The options list's default copy. */
|
|
30
|
-
export declare const SHIPMENT_OPTIONS_LABELS: Required<ShipmentOptionsLabels>;
|
|
31
|
-
/** The form's default section headings. */
|
|
32
|
-
export declare const SHIPMENT_REQUEST_LABELS: Required<ShipmentRequestFormLabels>;
|
|
33
|
-
/**
|
|
34
|
-
* The picker geometry this family owns.
|
|
35
|
-
*
|
|
36
|
-
* The SECTION geometry is deliberately absent: `ShipmentRequestForm` draws its
|
|
37
|
-
* sections with `FilterSection`, which already owns the inset, the heading gap
|
|
38
|
-
* and the rule between two sections. A second set of numbers here would be a
|
|
39
|
-
* copy that drifts from the one actually drawn.
|
|
40
|
-
*/
|
|
41
|
-
export declare const SHIPMENT_REQUEST_GEOMETRY: {
|
|
42
|
-
readonly controlGap: 20;
|
|
43
|
-
readonly chipGap: 8;
|
|
44
|
-
/** The weight field's width beside the stepper on a wide form. */
|
|
45
|
-
readonly weightWidth: 180;
|
|
46
|
-
/** The form's OWN width under which the paired controls stack. */
|
|
47
|
-
readonly narrowWidth: 480;
|
|
48
|
-
};
|
|
49
|
-
export type ShipmentRequestGeometry = typeof SHIPMENT_REQUEST_GEOMETRY;
|
|
50
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/shipment-request/constants.ts"],"names":[],"mappings":"AASA,OAAO,EAA6B,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AACrF,OAAO,KAAK,EAEV,oBAAoB,EAEpB,sBAAsB,EACtB,wBAAwB,EAExB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AAgCjB,uDAAuD;AACvD,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,uBAAuB,GAChC,SAAS,sBAAsB,EAAE,CAEnC;AAED,4DAA4D;AAC5D,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,uBAAuB,GAChC,SAAS,sBAAsB,EAAE,CAEnC;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,sBAAsB,EAEhE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,sBAAsB,EAEhE,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,uBAAuB,EAAE,SAAS,oBAAoB,EAMlE,CAAC;AAMF,sCAAsC;AACtC,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,wBAAwB,CAInE,CAAC;AAEF,uCAAuC;AACvC,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,qBAAqB,CAAc,CAAC;AAEnF,2CAA2C;AAC3C,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,yBAAyB,CAIvE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB;;;IAGpC,kEAAkE;;IAElE,kEAAkE;;CAE1D,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,OAAO,yBAAyB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { ShipmentLoadPicker } from './ShipmentLoadPicker';
|
|
2
|
-
export { ShipmentOptionsList } from './ShipmentOptionsList';
|
|
3
|
-
export { ShipmentRequestForm } from './ShipmentRequestForm';
|
|
4
|
-
export { SHIPMENT_ACCESS_OPTIONS, SHIPMENT_LOAD_KINDS, SHIPMENT_LOAD_LABELS, SHIPMENT_LOAD_SIZES, SHIPMENT_OPTIONS_LABELS, SHIPMENT_REQUEST_GEOMETRY, SHIPMENT_REQUEST_LABELS, } from './constants';
|
|
5
|
-
export type { ShipmentRequestGeometry } from './constants';
|
|
6
|
-
export { isShipmentLoadComplete, joinShipmentName, sanitizeWeight, toggleShipmentExtra, } from './shared';
|
|
7
|
-
export type { ShipmentAccess, ShipmentAccessOption, ShipmentExtra, ShipmentLoad, ShipmentLoadErrors, ShipmentLoadKind, ShipmentLoadKindOption, ShipmentLoadPickerLabels, ShipmentLoadPickerProps, ShipmentLoadSize, ShipmentLoadSizeOption, ShipmentOptionsLabels, ShipmentOptionsListProps, ShipmentRequestFormLabels, ShipmentRequestFormProps, ShipmentTimeWindow, } from './types';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shipment-request/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,GACpB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,SAAS,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { type MessageCatalog } from '../locale/messages';
|
|
2
|
-
import type { ShipmentAccess, ShipmentLoadKind, ShipmentLoadSize } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Every fixed string the shipment-request family draws or announces — its
|
|
5
|
-
* headings and the built-in kinds, sizes and access words — in each Bloom
|
|
6
|
-
* language. The weight unit is a symbol and stays `kg`. A caller's `labels`,
|
|
7
|
-
* `kinds`, `sizes`, `accessOptions` and `accessibilityLabel` still win.
|
|
8
|
-
*/
|
|
9
|
-
export interface ShipmentRequestMessages {
|
|
10
|
-
kinds: Record<ShipmentLoadKind, {
|
|
11
|
-
label: string;
|
|
12
|
-
description: string;
|
|
13
|
-
}>;
|
|
14
|
-
/** The sentence under the size control for the chosen rung. */
|
|
15
|
-
sizes: Record<ShipmentLoadSize, string>;
|
|
16
|
-
access: Record<ShipmentAccess, string>;
|
|
17
|
-
load: {
|
|
18
|
-
kind: string;
|
|
19
|
-
size: string;
|
|
20
|
-
weight: string;
|
|
21
|
-
quantity: string;
|
|
22
|
-
quantityValue: (quantity: number) => string;
|
|
23
|
-
notes: string;
|
|
24
|
-
notesPlaceholder: string;
|
|
25
|
-
};
|
|
26
|
-
options: {
|
|
27
|
-
extras: string;
|
|
28
|
-
access: string;
|
|
29
|
-
window: string;
|
|
30
|
-
};
|
|
31
|
-
form: {
|
|
32
|
-
route: string;
|
|
33
|
-
routeDescription: string;
|
|
34
|
-
load: string;
|
|
35
|
-
photos: string;
|
|
36
|
-
photosDescription: string;
|
|
37
|
-
options: string;
|
|
38
|
-
optionsDescription: string;
|
|
39
|
-
price: string;
|
|
40
|
-
};
|
|
41
|
-
/** Names the form. */
|
|
42
|
-
shipmentRequest: string;
|
|
43
|
-
}
|
|
44
|
-
export declare const SHIPMENT_REQUEST_MESSAGES: MessageCatalog<ShipmentRequestMessages>;
|
|
45
|
-
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/shipment-request/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElF;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC,gBAAgB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxE,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;QAC5C,KAAK,EAAE,MAAM,CAAC;QACd,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,OAAO,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5D,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,gBAAgB,EAAE,MAAM,CAAC;QACzB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,iBAAiB,EAAE,MAAM,CAAC;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,sBAAsB;IACtB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,uBAAuB,CA6C1E,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The pure decisions `shipment-request` makes, kept out of the render so each
|
|
3
|
-
* one can be walked at its boundary.
|
|
4
|
-
*/
|
|
5
|
-
import type { ShipmentLoad } from './types';
|
|
6
|
-
/**
|
|
7
|
-
* What a weight field KEEPS of what was typed.
|
|
8
|
-
*
|
|
9
|
-
* Digits, and one decimal separator — a comma is accepted and emitted as a dot,
|
|
10
|
-
* because half of Europe types one and no app wants to parse both. Everything
|
|
11
|
-
* else goes, including the unit: `"18,5 kg"` is `"18.5"`. The unit is drawn
|
|
12
|
-
* beside the field and never stored, so an app parses a number rather than a
|
|
13
|
-
* sentence.
|
|
14
|
-
*
|
|
15
|
-
* A leading separator becomes `"0."`, because `".5"` is a number a person means
|
|
16
|
-
* and `Number('.5')` happening to work is not a reason to store it that way.
|
|
17
|
-
*/
|
|
18
|
-
export declare function sanitizeWeight(text: string): string;
|
|
19
|
-
/**
|
|
20
|
-
* Whether the load has been described enough to ask for quotes.
|
|
21
|
-
*
|
|
22
|
-
* It is the FORM's question, not the app's: an app that prices a job has its
|
|
23
|
-
* own rules, and this only answers whether every control the picker draws has
|
|
24
|
-
* been answered. Exported so a submit button can be disabled from the same
|
|
25
|
-
* decision the picker makes, rather than from a second copy of it.
|
|
26
|
-
*/
|
|
27
|
-
export declare function isShipmentLoadComplete(load: ShipmentLoad): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* The next selection of extras, in the OPTIONS' order.
|
|
30
|
-
*
|
|
31
|
-
* Reporting in the options' order rather than the tap order means the value is
|
|
32
|
-
* stable: a form that round-trips through a server does not reorder its own
|
|
33
|
-
* switches, and two equal selections compare equal.
|
|
34
|
-
*/
|
|
35
|
-
export declare function toggleShipmentExtra(options: readonly {
|
|
36
|
-
key: string;
|
|
37
|
-
}[], selected: readonly string[], key: string): string[];
|
|
38
|
-
/** Joins the non-empty parts of an accessible name. */
|
|
39
|
-
export declare function joinShipmentName(parts: ReadonlyArray<string | false | null | undefined>, separator?: string): string;
|
|
40
|
-
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/shipment-request/shared.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAOnD;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAQlE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,SAAS;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,EAAE,EACnC,QAAQ,EAAE,SAAS,MAAM,EAAE,EAC3B,GAAG,EAAE,MAAM,GACV,MAAM,EAAE,CAKV;AAED,uDAAuD;AACvD,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,aAAa,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,EACvD,SAAS,SAAO,GACf,MAAM,CAIR"}
|