@tmlmobilidade/ui 20250327.1120.2 → 20250327.1457.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +14 -14
- package/dist/index.js +53 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +1 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +1 -0
- package/dist/node_modules/@turf/helpers/dist/esm/index.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/forbidden.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/not-found.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-error.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/redirect.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/unauthorized.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js.map +1 -0
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js.map +1 -0
- package/dist/node_modules/next/dist/lib/scheduler.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +1 -0
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +1 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/segment.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +1 -0
- package/dist/node_modules/next/navigation.js.map +1 -0
- package/dist/node_modules/nuqs/dist/adapters/next/app.js.map +1 -0
- package/dist/node_modules/nuqs/dist/chunk-5WWTJYGR.js.map +1 -0
- package/dist/node_modules/nuqs/dist/chunk-C3RNEY2H.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/src/components/AppProvider/index.js +2 -2
- package/dist/src/components/AppProvider/index.js.map +1 -1
- package/dist/src/components/common/ActionIcon/index.js +1 -1
- package/dist/src/components/common/ActionIcon/index.js.map +1 -1
- package/dist/src/components/common/AppLogos/index.js +1 -1
- package/dist/src/components/common/AppLogos/index.js.map +1 -1
- package/dist/src/components/common/Badge/index.js +1 -1
- package/dist/src/components/common/Badge/index.js.map +1 -1
- package/dist/src/components/common/Button/index.js +1 -1
- package/dist/src/components/common/Button/index.js.map +1 -1
- package/dist/src/components/common/Checkbox/index.js +1 -1
- package/dist/src/components/common/Checkbox/index.js.map +1 -1
- package/dist/src/components/common/Combobox/index.js +1 -1
- package/dist/src/components/common/Combobox/index.js.map +1 -1
- package/dist/src/components/common/ComponentWrapper/index.js +1 -1
- package/dist/src/components/common/ComponentWrapper/index.js.map +1 -1
- package/dist/src/components/common/DateTimePicker/index.js +1 -1
- package/dist/src/components/common/DateTimePicker/index.js.map +1 -1
- package/dist/src/components/common/DeleteActionIcon/index.js +1 -1
- package/dist/src/components/common/DeleteActionIcon/index.js.map +1 -1
- package/dist/src/components/common/Description/index.js +1 -1
- package/dist/src/components/common/Description/index.js.map +1 -1
- package/dist/src/components/common/FileButton/index.js +1 -1
- package/dist/src/components/common/FileButton/index.js.map +1 -1
- package/dist/src/components/common/Label/index.js +1 -1
- package/dist/src/components/common/Label/index.js.map +1 -1
- package/dist/src/components/common/Menu/index.js +1 -1
- package/dist/src/components/common/Menu/index.js.map +1 -1
- package/dist/src/components/common/PasswordInput/index.js +1 -1
- package/dist/src/components/common/PasswordInput/index.js.map +1 -1
- package/dist/src/components/common/SegmentedControl/index.js +1 -1
- package/dist/src/components/common/SegmentedControl/index.js.map +1 -1
- package/dist/src/components/common/Slider/index.js +1 -1
- package/dist/src/components/common/Slider/index.js.map +1 -1
- package/dist/src/components/common/Switch/index.js +1 -1
- package/dist/src/components/common/Switch/index.js.map +1 -1
- package/dist/src/components/common/Tag/index.js +1 -1
- package/dist/src/components/common/Tag/index.js.map +1 -1
- package/dist/src/components/common/Text/index.js +1 -1
- package/dist/src/components/common/Text/index.js.map +1 -1
- package/dist/src/components/common/TextArea/index.js +1 -1
- package/dist/src/components/common/TextArea/index.js.map +1 -1
- package/dist/src/components/common/TextInput/index.js +1 -1
- package/dist/src/components/common/TextInput/index.js.map +1 -1
- package/dist/src/components/common/Tooltip/index.js +1 -1
- package/dist/src/components/common/Tooltip/index.js.map +1 -1
- package/dist/src/components/datatable/DataTable/index.js +1 -1
- package/dist/src/components/datatable/DataTable/index.js.map +1 -1
- package/dist/src/components/datatable/DataTableContext/index.js +1 -1
- package/dist/src/components/datatable/DataTableContext/index.js.map +1 -1
- package/dist/src/components/datatable/DataTableHeader/index.js +1 -1
- package/dist/src/components/datatable/DataTableHeader/index.js.map +1 -1
- package/dist/src/components/datatable/DataTableRow/index.js +1 -1
- package/dist/src/components/datatable/DataTableRow/index.js.map +1 -1
- package/dist/src/components/datatable/DataTableTitle/index.js +1 -1
- package/dist/src/components/datatable/DataTableTitle/index.js.map +1 -1
- package/dist/src/components/layout/AppWrapper/Header/index.js +1 -1
- package/dist/src/components/layout/AppWrapper/Header/index.js.map +1 -1
- package/dist/src/components/layout/AppWrapper/index.js +9 -3
- package/dist/src/components/layout/AppWrapper/index.js.map +1 -1
- package/dist/src/components/layout/Grid/index.js +1 -1
- package/dist/src/components/layout/Grid/index.js.map +1 -1
- package/dist/src/components/layout/Section/index.js +1 -1
- package/dist/src/components/layout/Section/index.js.map +1 -1
- package/dist/src/components/layout/Sidebar/index.js +1 -1
- package/dist/src/components/layout/Sidebar/index.js.map +1 -1
- package/dist/src/components/layout/SimpleSurface/index.js +1 -1
- package/dist/src/components/layout/SimpleSurface/index.js.map +1 -1
- package/dist/src/components/layout/Spacer/index.js +1 -1
- package/dist/src/components/layout/Spacer/index.js.map +1 -1
- package/dist/src/components/layout/Surface/index.js +1 -1
- package/dist/src/components/layout/Surface/index.js.map +1 -1
- package/dist/src/components/map/MapView/index.js +1 -1
- package/dist/src/components/map/MapView/index.js.map +1 -1
- package/dist/src/components/map/MapViewStyleActiveStops/index.js +1 -1
- package/dist/src/components/map/MapViewStyleActiveStops/index.js.map +1 -1
- package/dist/src/components/map/MapViewStylePath/index.js +1 -1
- package/dist/src/components/map/MapViewStylePath/index.js.map +1 -1
- package/dist/src/components/map/MapViewStyleStops/index.js +1 -1
- package/dist/src/components/map/MapViewStyleStops/index.js.map +1 -1
- package/dist/src/components/map/MapViewStyleVehicles/index.js +1 -1
- package/dist/src/components/map/MapViewStyleVehicles/index.js.map +1 -1
- package/dist/src/components/theme/ThemeSwitcher/index.js +1 -1
- package/dist/src/components/theme/ThemeSwitcher/index.js.map +1 -1
- package/dist/src/components/theme/Themer/index.js +1 -1
- package/dist/src/components/theme/Themer/index.js.map +1 -1
- package/dist/src/contexts/MapOptions.context.js +1 -1
- package/dist/src/contexts/MapOptions.context.js.map +1 -1
- package/dist/src/contexts/Me.context.js +9 -2
- package/dist/src/contexts/Me.context.js.map +1 -1
- package/dist/src/contexts/Sidebar.context.js +1 -1
- package/dist/src/contexts/Sidebar.context.js.map +1 -1
- package/dist/src/contexts/Theme.context.js +1 -1
- package/dist/src/contexts/Theme.context.js.map +1 -1
- package/dist/src/hooks/toast.js.map +1 -1
- package/dist/src/hooks/use-is-active-domain.js.map +1 -1
- package/dist/src/hooks/use-is-active-page.js.map +1 -1
- package/dist/src/hooks/use-screen-size.js.map +1 -1
- package/dist/src/hooks/use-search-query.js.map +1 -1
- package/dist/src/lib/generate-icon.js.map +1 -1
- package/dist/src/lib/getCssVariableValue.js.map +1 -1
- package/dist/src/lib/http.js.map +1 -1
- package/dist/src/lib/map.utils.js +1 -1
- package/dist/src/lib/map.utils.js.map +1 -1
- package/dist/src/lib/utils.js.map +1 -1
- package/dist/src/settings/assets.settings.js.map +1 -1
- package/dist/src/settings/map.settings.js.map +1 -1
- package/dist/src/styles/theme.js.map +1 -1
- package/package.json +2 -2
- package/dist/src/components/AppProvider/index.d.ts +0 -2
- package/dist/src/components/common/ActionIcon/index.d.ts +0 -6
- package/dist/src/components/common/AppLogos/index.d.ts +0 -5
- package/dist/src/components/common/Badge/index.d.ts +0 -13
- package/dist/src/components/common/Button/index.d.ts +0 -12
- package/dist/src/components/common/Checkbox/index.d.ts +0 -3
- package/dist/src/components/common/Combobox/index.d.ts +0 -30
- package/dist/src/components/common/ComponentWrapper/index.d.ts +0 -7
- package/dist/src/components/common/DateTimePicker/index.d.ts +0 -13
- package/dist/src/components/common/DeleteActionIcon/index.d.ts +0 -54
- package/dist/src/components/common/Description/index.d.ts +0 -6
- package/dist/src/components/common/FileButton/index.d.ts +0 -13
- package/dist/src/components/common/Label/index.d.ts +0 -8
- package/dist/src/components/common/Menu/index.d.ts +0 -18
- package/dist/src/components/common/PasswordInput/index.d.ts +0 -2
- package/dist/src/components/common/SegmentedControl/index.d.ts +0 -5
- package/dist/src/components/common/Slider/index.d.ts +0 -4
- package/dist/src/components/common/Switch/index.d.ts +0 -4
- package/dist/src/components/common/Tag/index.d.ts +0 -8
- package/dist/src/components/common/Text/index.d.ts +0 -8
- package/dist/src/components/common/TextArea/index.d.ts +0 -3
- package/dist/src/components/common/TextInput/index.d.ts +0 -6
- package/dist/src/components/common/Tooltip/index.d.ts +0 -3
- package/dist/src/components/common/Tree/index.d.ts +0 -1
- package/dist/src/components/common/index.d.ts +0 -23
- package/dist/src/components/datatable/DataTable/index.d.ts +0 -2
- package/dist/src/components/datatable/DataTableContext/index.d.ts +0 -30
- package/dist/src/components/datatable/DataTableFilter/index.d.ts +0 -1
- package/dist/src/components/datatable/DataTableHeader/index.d.ts +0 -2
- package/dist/src/components/datatable/DataTableRow/index.d.ts +0 -6
- package/dist/src/components/datatable/DataTableTitle/index.d.ts +0 -2
- package/dist/src/components/datatable/datatable.type.d.ts +0 -149
- package/dist/src/components/datatable/index.d.ts +0 -2
- package/dist/src/components/index.d.ts +0 -6
- package/dist/src/components/layout/AppWrapper/Header/index.d.ts +0 -2
- package/dist/src/components/layout/AppWrapper/Options/index.d.ts +0 -1
- package/dist/src/components/layout/AppWrapper/index.d.ts +0 -14
- package/dist/src/components/layout/Grid/index.d.ts +0 -8
- package/dist/src/components/layout/Section/index.d.ts +0 -12
- package/dist/src/components/layout/Sidebar/index.d.ts +0 -10
- package/dist/src/components/layout/SimpleSurface/index.d.ts +0 -6
- package/dist/src/components/layout/Spacer/index.d.ts +0 -7
- package/dist/src/components/layout/Surface/index.d.ts +0 -19
- package/dist/src/components/layout/index.d.ts +0 -8
- package/dist/src/components/map/MapView/index.d.ts +0 -28
- package/dist/src/components/map/MapViewStyleActiveStops/index.d.ts +0 -8
- package/dist/src/components/map/MapViewStylePath/index.d.ts +0 -10
- package/dist/src/components/map/MapViewStyleStops/index.d.ts +0 -9
- package/dist/src/components/map/MapViewStyleVehicles/index.d.ts +0 -9
- package/dist/src/components/map/index.d.ts +0 -5
- package/dist/src/components/theme/ThemeSwitcher/index.d.ts +0 -5
- package/dist/src/components/theme/Themer/index.d.ts +0 -26
- package/dist/src/components/theme/index.d.ts +0 -2
- package/dist/src/contexts/MapOptions.context.d.ts +0 -23
- package/dist/src/contexts/Me.context.d.ts +0 -14
- package/dist/src/contexts/Sidebar.context.d.ts +0 -14
- package/dist/src/contexts/Theme.context.d.ts +0 -13
- package/dist/src/contexts/index.d.ts +0 -4
- package/dist/src/hooks/index.d.ts +0 -5
- package/dist/src/hooks/toast.d.ts +0 -64
- package/dist/src/hooks/use-is-active-domain.d.ts +0 -1
- package/dist/src/hooks/use-is-active-page.d.ts +0 -1
- package/dist/src/hooks/use-screen-size.d.ts +0 -1
- package/dist/src/hooks/use-search-query.d.ts +0 -9
- package/dist/src/index.d.ts +0 -8
- package/dist/src/index.js +0 -53
- package/dist/src/lib/generate-icon.d.ts +0 -1
- package/dist/src/lib/getCssVariableValue.d.ts +0 -1
- package/dist/src/lib/http.d.ts +0 -16
- package/dist/src/lib/map.utils.d.ts +0 -28
- package/dist/src/lib/utils.d.ts +0 -53
- package/dist/src/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +0 -1
- package/dist/src/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +0 -1
- package/dist/src/node_modules/@turf/helpers/dist/esm/index.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/bailout-to-client-rendering.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/forbidden.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/is-next-router-error.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/navigation.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/navigation.react-server.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/not-found.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/redirect-error.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/redirect-status-code.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/redirect.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/unauthorized.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.browser.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.server.js.map +0 -1
- package/dist/src/node_modules/next/dist/lib/metadata/metadata-constants.js.map +0 -1
- package/dist/src/node_modules/next/dist/lib/scheduler.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/segment.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +0 -1
- package/dist/src/node_modules/next/navigation.js.map +0 -1
- package/dist/src/node_modules/nuqs/dist/adapters/next/app.js.map +0 -1
- package/dist/src/node_modules/nuqs/dist/chunk-5WWTJYGR.js.map +0 -1
- package/dist/src/node_modules/nuqs/dist/chunk-C3RNEY2H.js.map +0 -1
- package/dist/src/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/src/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/src/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/src/settings/assets.settings.d.ts +0 -128
- package/dist/src/settings/map.settings.d.ts +0 -84
- package/dist/src/styles/theme.d.ts +0 -2
- /package/dist/{src/_virtual → _virtual}/_interop_require_default.js +0 -0
- /package/dist/{src/_virtual → _virtual}/_interop_require_default.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/_interop_require_wildcard.js +0 -0
- /package/dist/{src/_virtual → _virtual}/_interop_require_wildcard.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/action-async-storage-instance.js +0 -0
- /package/dist/{src/_virtual → _virtual}/action-async-storage-instance.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/action-async-storage.external.js +0 -0
- /package/dist/{src/_virtual → _virtual}/action-async-storage.external.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/app-router-context.shared-runtime.js +0 -0
- /package/dist/{src/_virtual → _virtual}/app-router-context.shared-runtime.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/async-local-storage.js +0 -0
- /package/dist/{src/_virtual → _virtual}/async-local-storage.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/bailout-to-client-rendering.js +0 -0
- /package/dist/{src/_virtual → _virtual}/bailout-to-client-rendering.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/bailout-to-csr.js +0 -0
- /package/dist/{src/_virtual → _virtual}/bailout-to-csr.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/dynamic-rendering-utils.js +0 -0
- /package/dist/{src/_virtual → _virtual}/dynamic-rendering-utils.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/dynamic-rendering.js +0 -0
- /package/dist/{src/_virtual → _virtual}/dynamic-rendering.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/forbidden.js +0 -0
- /package/dist/{src/_virtual → _virtual}/forbidden.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/get-segment-value.js +0 -0
- /package/dist/{src/_virtual → _virtual}/get-segment-value.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/hooks-client-context.shared-runtime.js +0 -0
- /package/dist/{src/_virtual → _virtual}/hooks-client-context.shared-runtime.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/hooks-server-context.js +0 -0
- /package/dist/{src/_virtual → _virtual}/hooks-server-context.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/http-access-fallback.js +0 -0
- /package/dist/{src/_virtual → _virtual}/http-access-fallback.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/is-next-router-error.js +0 -0
- /package/dist/{src/_virtual → _virtual}/is-next-router-error.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/is-postpone.js +0 -0
- /package/dist/{src/_virtual → _virtual}/is-postpone.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/jsx-runtime.js +0 -0
- /package/dist/{src/_virtual → _virtual}/jsx-runtime.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/jsx-runtime2.js +0 -0
- /package/dist/{src/_virtual → _virtual}/jsx-runtime2.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/metadata-constants.js +0 -0
- /package/dist/{src/_virtual → _virtual}/metadata-constants.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation.js +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation.react-server.js +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation.react-server.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation2.js +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation2.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/not-found.js +0 -0
- /package/dist/{src/_virtual → _virtual}/not-found.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/react-jsx-runtime.development.js +0 -0
- /package/dist/{src/_virtual → _virtual}/react-jsx-runtime.development.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/react-jsx-runtime.production.js +0 -0
- /package/dist/{src/_virtual → _virtual}/react-jsx-runtime.production.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect-error.js +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect-error.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect-status-code.js +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect-status-code.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect.js +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/scheduler.js +0 -0
- /package/dist/{src/_virtual → _virtual}/scheduler.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/segment.js +0 -0
- /package/dist/{src/_virtual → _virtual}/segment.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/server-inserted-html.shared-runtime.js +0 -0
- /package/dist/{src/_virtual → _virtual}/server-inserted-html.shared-runtime.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/static-generation-bailout.js +0 -0
- /package/dist/{src/_virtual → _virtual}/static-generation-bailout.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/unauthorized.js +0 -0
- /package/dist/{src/_virtual → _virtual}/unauthorized.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.browser.js +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.browser.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.js +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.server.js +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.server.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/work-async-storage-instance.js +0 -0
- /package/dist/{src/_virtual → _virtual}/work-async-storage-instance.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/work-async-storage.external.js +0 -0
- /package/dist/{src/_virtual → _virtual}/work-async-storage.external.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/work-unit-async-storage-instance.js +0 -0
- /package/dist/{src/_virtual → _virtual}/work-unit-async-storage-instance.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/work-unit-async-storage.external.js +0 -0
- /package/dist/{src/_virtual → _virtual}/work-unit-async-storage.external.js.map +0 -0
- /package/dist/{src/index.css.map → index.css.map} +0 -0
- /package/dist/{src/index.js.map → index.js.map} +0 -0
- /package/dist/{src/node_modules → node_modules}/@swc/helpers/cjs/_interop_require_default.js +0 -0
- /package/dist/{src/node_modules → node_modules}/@swc/helpers/cjs/_interop_require_wildcard.js +0 -0
- /package/dist/{src/node_modules → node_modules}/@turf/helpers/dist/esm/index.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/bailout-to-client-rendering.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/forbidden.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/hooks-server-context.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/is-next-router-error.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/navigation.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/navigation.react-server.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/not-found.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/redirect-error.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/redirect-status-code.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/redirect.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/router-reducer/reducers/get-segment-value.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/static-generation-bailout.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/unauthorized.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/unstable-rethrow.browser.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/unstable-rethrow.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/unstable-rethrow.server.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/lib/metadata/metadata-constants.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/lib/scheduler.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/action-async-storage-instance.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/action-async-storage.external.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/async-local-storage.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/dynamic-rendering.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/work-async-storage-instance.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/work-async-storage.external.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/work-unit-async-storage.external.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/dynamic-rendering-utils.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/lib/router-utils/is-postpone.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/segment.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/navigation.js +0 -0
- /package/dist/{src/node_modules → node_modules}/nuqs/dist/adapters/next/app.js +0 -0
- /package/dist/{src/node_modules → node_modules}/nuqs/dist/chunk-5WWTJYGR.js +0 -0
- /package/dist/{src/node_modules → node_modules}/nuqs/dist/chunk-C3RNEY2H.js +0 -0
- /package/dist/{src/node_modules → node_modules}/react/cjs/react-jsx-runtime.development.js +0 -0
- /package/dist/{src/node_modules → node_modules}/react/cjs/react-jsx-runtime.production.js +0 -0
- /package/dist/{src/node_modules → node_modules}/react/jsx-runtime.js +0 -0
@@ -1,14 +0,0 @@
|
|
1
|
-
import { SidebarItemProps } from '../Sidebar';
|
2
|
-
export interface HeaderProps {
|
3
|
-
user_name?: string;
|
4
|
-
}
|
5
|
-
export interface AppWrapperProps {
|
6
|
-
children: React.ReactNode;
|
7
|
-
headerProps?: HeaderProps;
|
8
|
-
icon: React.ReactNode | {
|
9
|
-
href: string;
|
10
|
-
icon: React.ReactNode;
|
11
|
-
};
|
12
|
-
sidebarItems: SidebarItemProps[];
|
13
|
-
}
|
14
|
-
export default function AppWrapper({ children, headerProps, icon, sidebarItems }: AppWrapperProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
interface Props extends React.HTMLAttributes<HTMLDivElement> {
|
2
|
-
columns?: 'a' | 'aab' | 'ab' | 'abb' | 'abc' | 'abcd';
|
3
|
-
gap?: 'lg' | 'md' | 'none' | 'sm' | 'xl' | 'xs';
|
4
|
-
hAlign?: 'center' | 'end' | 'start';
|
5
|
-
vAlign?: 'center' | 'end' | 'start';
|
6
|
-
}
|
7
|
-
export default function Grid({ children, className, columns, gap, hAlign, vAlign, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { AccordionStylesNames } from '@mantine/core';
|
2
|
-
import React from 'react';
|
3
|
-
interface SectionProps {
|
4
|
-
children: React.ReactNode;
|
5
|
-
classNames?: Partial<Record<AccordionStylesNames, string>>;
|
6
|
-
description?: string;
|
7
|
-
icon?: React.ReactNode;
|
8
|
-
title: string;
|
9
|
-
titleAs?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
10
|
-
}
|
11
|
-
export default function Section({ children, classNames, description, icon, title, titleAs, }: SectionProps): import("react/jsx-runtime").JSX.Element;
|
12
|
-
export {};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
export interface SidebarItemProps {
|
2
|
-
disabled?: boolean;
|
3
|
-
href: string;
|
4
|
-
icon: React.ReactNode | string;
|
5
|
-
label: string;
|
6
|
-
}
|
7
|
-
export interface SidebarProps {
|
8
|
-
items: SidebarItemProps[];
|
9
|
-
}
|
10
|
-
export default function Sidebar({ items, }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
interface SpacerProps {
|
2
|
-
className?: string;
|
3
|
-
orientation: 'horizontal' | 'vertical';
|
4
|
-
size: '2xl' | '3xl' | '4xl' | 'lg' | 'md' | 'sm' | 'xl' | 'xs';
|
5
|
-
}
|
6
|
-
export default function Spacer({ className, orientation, size }: SpacerProps): import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
@@ -1,19 +0,0 @@
|
|
1
|
-
interface SurfaceClassNames {
|
2
|
-
divider?: string;
|
3
|
-
root?: string;
|
4
|
-
surface?: string;
|
5
|
-
}
|
6
|
-
interface SurfaceProps extends React.HTMLAttributes<HTMLDivElement> {
|
7
|
-
alignItems?: 'center' | 'end' | 'start';
|
8
|
-
borderRadius?: 'lg' | 'md' | 'none' | 'sm' | 'xl';
|
9
|
-
children: React.ReactNode;
|
10
|
-
classNames?: SurfaceClassNames;
|
11
|
-
divider?: boolean;
|
12
|
-
flexDirection?: 'column' | 'row';
|
13
|
-
gap?: 'lg' | 'md' | 'none' | 'sm' | 'xl';
|
14
|
-
justifyContent?: 'center' | 'end' | 'space-around' | 'space-between' | 'space-evenly' | 'start';
|
15
|
-
padding?: 'lg' | 'md' | 'none' | 'sm' | 'xl';
|
16
|
-
variant?: 'default' | 'primary' | 'secondary';
|
17
|
-
}
|
18
|
-
export default function Surface({ alignItems, borderRadius, children, classNames, divider, flexDirection, gap, justifyContent, padding, variant, ...props }: SurfaceProps): import("react/jsx-runtime").JSX.Element;
|
19
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export { default as AppWrapper } from './AppWrapper';
|
2
|
-
export { default as Grid } from './Grid';
|
3
|
-
export { default as Section } from './Section';
|
4
|
-
export { SidebarItemProps } from './Sidebar';
|
5
|
-
export { default as Sidebar } from './Sidebar';
|
6
|
-
export { SimpleSurface } from './SimpleSurface';
|
7
|
-
export { default as Spacer } from './Spacer';
|
8
|
-
export { default as Surface } from './Surface';
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { type MapStyle } from '@/contexts/MapOptions.context';
|
2
|
-
import { MapLayerMouseEvent, MapRef, ViewStateChangeEvent } from '@vis.gl/react-maplibre';
|
3
|
-
interface Props {
|
4
|
-
children: React.ReactNode;
|
5
|
-
fullscreen?: boolean;
|
6
|
-
geolocate?: boolean;
|
7
|
-
id?: string;
|
8
|
-
interactiveLayerIds?: string[];
|
9
|
-
mapObject?: MapRef;
|
10
|
-
mapStyle?: MapStyle;
|
11
|
-
navigation?: boolean;
|
12
|
-
onCenterMap?: () => void;
|
13
|
-
onClick?: (e: MapLayerMouseEvent) => void;
|
14
|
-
onDrag?: (e: ViewStateChangeEvent) => void;
|
15
|
-
onDragEnd?: (e: ViewStateChangeEvent) => void;
|
16
|
-
onDragStart?: (e: ViewStateChangeEvent) => void;
|
17
|
-
onMouseDrag?: (e: ViewStateChangeEvent) => void;
|
18
|
-
onMouseEnter?: (e: MapLayerMouseEvent) => void;
|
19
|
-
onMouseLeave?: (e: MapLayerMouseEvent) => void;
|
20
|
-
onMouseOut?: (e: MapLayerMouseEvent) => void;
|
21
|
-
onMouseOver?: (e: MapLayerMouseEvent) => void;
|
22
|
-
primarySourceId?: string;
|
23
|
-
scale?: boolean;
|
24
|
-
scrollZoom?: boolean;
|
25
|
-
toolbar?: boolean;
|
26
|
-
}
|
27
|
-
export declare function MapView({ children, fullscreen, geolocate, id, interactiveLayerIds, mapStyle, navigation, onClick, onDragEnd, onDragStart, onMouseEnter, onMouseLeave, onMouseOut, onMouseOver, scale, scrollZoom, }: Props): import("react/jsx-runtime").JSX.Element;
|
28
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export declare const MapViewStyleActiveStopsPrimaryLayerId = "default-layer-active-stops-circle";
|
2
|
-
export declare const MapViewStyleActiveStopsInteractiveLayerId = "";
|
3
|
-
interface Props {
|
4
|
-
presentBeforeId?: string;
|
5
|
-
stopsData?: GeoJSON.FeatureCollection;
|
6
|
-
}
|
7
|
-
export declare function MapViewStyleActiveStops({ presentBeforeId, stopsData }: Props): import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
export declare const MapViewStylePathPrimaryLayerId = "default-layer-path-shape-line";
|
2
|
-
export declare const MapViewStylePathInteractiveLayerId = "default-layer-path-waypoints";
|
3
|
-
interface Props {
|
4
|
-
presentBeforeId?: string;
|
5
|
-
shapeData?: GeoJSON.Feature | GeoJSON.FeatureCollection;
|
6
|
-
viewId: string;
|
7
|
-
waypointsData?: GeoJSON.FeatureCollection;
|
8
|
-
}
|
9
|
-
export declare function MapViewStylePath({ presentBeforeId, shapeData, viewId, waypointsData }: Props): import("react/jsx-runtime").JSX.Element;
|
10
|
-
export {};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export declare const MapViewStyleStopsPrimaryLayerId = "default-layer-stops-all";
|
2
|
-
export declare const MapViewStyleStopsInteractiveLayerId = "default-layer-stops-all";
|
3
|
-
interface Props {
|
4
|
-
presentBeforeId?: string;
|
5
|
-
stopsData?: GeoJSON.FeatureCollection;
|
6
|
-
style?: 'muted' | 'primary';
|
7
|
-
}
|
8
|
-
export declare function MapViewStyleStops({ presentBeforeId, stopsData, style }: Props): import("react/jsx-runtime").JSX.Element;
|
9
|
-
export {};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export declare const MapViewStyleVehiclesPrimaryLayerId = "default-layer-vehicles-regular";
|
2
|
-
export declare const MapViewStyleVehiclesInteractiveLayerId = "default-layer-vehicles-regular";
|
3
|
-
interface Props {
|
4
|
-
presentBeforeId?: string;
|
5
|
-
showCounter?: 'always' | 'positive';
|
6
|
-
vehiclesData?: GeoJSON.FeatureCollection;
|
7
|
-
}
|
8
|
-
export declare function MapViewStyleVehicles({ presentBeforeId, vehiclesData }: Props): import("react/jsx-runtime").JSX.Element;
|
9
|
-
export {};
|
@@ -1,26 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Use to show children only when light theme is active. Hidden otherwise.
|
3
|
-
* @param {React.ReactElement} children The content to display in light theme.
|
4
|
-
* @returns {React.ReactElement} The rendered ThemeLight component.
|
5
|
-
*/
|
6
|
-
export declare function ThemeLight({ children }: {
|
7
|
-
children: React.ReactNode;
|
8
|
-
}): React.ReactElement;
|
9
|
-
/**
|
10
|
-
* Use to show children only when dark theme is active. Hidden otherwise.
|
11
|
-
* @param {React.ReactNode} children The content to display in dark theme.
|
12
|
-
* @returns {React.ReactElement} The rendered ThemeDark component.
|
13
|
-
*/
|
14
|
-
export declare function ThemeDark({ children }: {
|
15
|
-
children: React.ReactNode;
|
16
|
-
}): React.ReactElement;
|
17
|
-
/**
|
18
|
-
* ThemeSwitch component to automatically toggle children components between dark and light themes.
|
19
|
-
* @param {React.ReactNode} dark The content to display in dark theme.
|
20
|
-
* @param {React.ReactNode} light The content to display in light theme.
|
21
|
-
* @returns {React.ReactElement} The rendered ThemeSwitch component.
|
22
|
-
*/
|
23
|
-
export declare function Themer({ dark, light }: {
|
24
|
-
dark: React.ReactNode;
|
25
|
-
light: React.ReactNode;
|
26
|
-
}): React.ReactElement;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { MapRef } from '@vis.gl/react-maplibre';
|
2
|
-
export type MapStyle = 'map' | 'satellite';
|
3
|
-
interface MapOptionsContextState {
|
4
|
-
actions: {
|
5
|
-
centerMap: (source: string) => void;
|
6
|
-
setMap: (map: MapRef) => void;
|
7
|
-
setStyle: (value: MapStyle) => void;
|
8
|
-
setViewportHeight: (value: number) => void;
|
9
|
-
};
|
10
|
-
data: {
|
11
|
-
map: MapRef | undefined;
|
12
|
-
style: string;
|
13
|
-
viewport_height: null | number;
|
14
|
-
};
|
15
|
-
flags: {
|
16
|
-
is_loading: boolean;
|
17
|
-
};
|
18
|
-
}
|
19
|
-
export declare function useMapOptionsContext(): MapOptionsContextState;
|
20
|
-
export declare const MapOptionsContextProvider: ({ children }: {
|
21
|
-
children: React.ReactNode;
|
22
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
23
|
-
export {};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { type User } from '@tmlmobilidade/types';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
interface MeContextState {
|
4
|
-
data: {
|
5
|
-
user: null | User;
|
6
|
-
};
|
7
|
-
flags: {
|
8
|
-
error: null | string;
|
9
|
-
loading: boolean;
|
10
|
-
};
|
11
|
-
}
|
12
|
-
export declare function useMeContext(): MeContextState;
|
13
|
-
export declare const MeContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
14
|
-
export {};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { type SidebarItemProps } from '@/components/layout/Sidebar';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
interface SidebarContextState {
|
4
|
-
data: {
|
5
|
-
sidebar: SidebarItemProps[];
|
6
|
-
};
|
7
|
-
flags: {
|
8
|
-
error: null | string;
|
9
|
-
loading: boolean;
|
10
|
-
};
|
11
|
-
}
|
12
|
-
export declare function useSidebarContext(): SidebarContextState;
|
13
|
-
export declare const SidebarContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
14
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
2
|
-
export declare const AVAILABLE_THEMES: readonly ["ocean", "park", "path", "pool", "royal", "street"];
|
3
|
-
interface ThemeContextState {
|
4
|
-
actions: {
|
5
|
-
activateTheme: (theme: typeof AVAILABLE_THEMES[number]) => void;
|
6
|
-
};
|
7
|
-
data: {
|
8
|
-
active_theme: typeof AVAILABLE_THEMES[number];
|
9
|
-
};
|
10
|
-
}
|
11
|
-
export declare function useThemeContext(): ThemeContextState;
|
12
|
-
export declare const ThemeContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
13
|
-
export {};
|
@@ -1,64 +0,0 @@
|
|
1
|
-
import { NotificationData } from '@mantine/notifications';
|
2
|
-
export interface ToastProps extends NotificationData {
|
3
|
-
type?: 'error' | 'info' | 'success' | 'warning';
|
4
|
-
}
|
5
|
-
export interface ToastPromiseParams {
|
6
|
-
error?: string;
|
7
|
-
pending?: string;
|
8
|
-
success?: string;
|
9
|
-
}
|
10
|
-
declare class Toast {
|
11
|
-
/**
|
12
|
-
* Hides all toasts
|
13
|
-
*/
|
14
|
-
clean(): void;
|
15
|
-
/**
|
16
|
-
* Shows an error toast
|
17
|
-
* @param props - The toast props
|
18
|
-
*/
|
19
|
-
error(props: Omit<ToastProps, 'type'>): string;
|
20
|
-
/**
|
21
|
-
* Hides specific toast
|
22
|
-
* @param id - The toast id
|
23
|
-
*/
|
24
|
-
hide(id: string): void;
|
25
|
-
/**
|
26
|
-
* Shows an info toast
|
27
|
-
* @param props - The toast props
|
28
|
-
*/
|
29
|
-
info(props: Omit<ToastProps, 'type'>): string;
|
30
|
-
/**
|
31
|
-
* Shows a loading toast
|
32
|
-
* @param props - The toast props
|
33
|
-
*/
|
34
|
-
loading(props: Omit<ToastProps, 'loading' | 'type'>): string;
|
35
|
-
/**
|
36
|
-
* Promise wrapper for toast
|
37
|
-
* @param promise - The promise to be wrapped
|
38
|
-
* @param statusMessages - The status messages for the promise
|
39
|
-
*/
|
40
|
-
promise<T>(promise: (() => Promise<T>) | Promise<T>, { error, pending, success }: ToastPromiseParams): void;
|
41
|
-
/**
|
42
|
-
* Shows a toast
|
43
|
-
* @param props - The toast props
|
44
|
-
*/
|
45
|
-
show(props: ToastProps): string;
|
46
|
-
/**
|
47
|
-
* Shows a success toast
|
48
|
-
* @param props - The toast props
|
49
|
-
*/
|
50
|
-
success(props: Omit<ToastProps, 'type'>): string;
|
51
|
-
/**
|
52
|
-
* Updates a toast given its id
|
53
|
-
* @param id - The toast id
|
54
|
-
* @param props - The toast props
|
55
|
-
*/
|
56
|
-
update(id: string, props: ToastProps): void;
|
57
|
-
/**
|
58
|
-
* Shows a warning toast
|
59
|
-
* @param props - The toast props
|
60
|
-
*/
|
61
|
-
warning(props: Omit<ToastProps, 'type'>): string;
|
62
|
-
}
|
63
|
-
export declare const useToast: Toast;
|
64
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function useIsActiveDomain(domain: string): boolean;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function useIsActivePage(href: string): boolean;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function useScreenSize(): "desktop" | "mobile" | "tablet" | undefined;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export declare function useSearchQuery<T>(data: T[], { accessors, customSearch, debounce, }?: {
|
2
|
-
accessors?: (keyof T | (string & {}))[];
|
3
|
-
customSearch?: (record: T, query: string) => boolean;
|
4
|
-
debounce?: number;
|
5
|
-
}): {
|
6
|
-
filteredData: T[];
|
7
|
-
searchQuery: string | undefined;
|
8
|
-
setSearchQuery: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
|
9
|
-
};
|
package/dist/src/index.d.ts
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
import '@/styles/index.css';
|
2
|
-
export * from '@/components/index';
|
3
|
-
export * from '@/contexts/index';
|
4
|
-
export * from '@/hooks/index';
|
5
|
-
export * from '@/lib/map.utils';
|
6
|
-
export * from '@mantine/form';
|
7
|
-
export * from '@mantine/hooks';
|
8
|
-
export * from '@mantine/modals';
|
package/dist/src/index.js
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
export { AppProvider } from './components/AppProvider/index.js';
|
2
|
-
export { default as ActionIcon } from './components/common/ActionIcon/index.js';
|
3
|
-
export { CMIcon, CMLogo, TMLogo, TMLogoDark, TMLogoLight } from './components/common/AppLogos/index.js';
|
4
|
-
export { default as Badge } from './components/common/Badge/index.js';
|
5
|
-
export { Button } from './components/common/Button/index.js';
|
6
|
-
export { default as Checkbox } from './components/common/Checkbox/index.js';
|
7
|
-
export { default as Combobox } from './components/common/Combobox/index.js';
|
8
|
-
export { default as ComponentWrapper } from './components/common/ComponentWrapper/index.js';
|
9
|
-
export { default as DateTimePicker } from './components/common/DateTimePicker/index.js';
|
10
|
-
export { default as DeleteActionIcon } from './components/common/DeleteActionIcon/index.js';
|
11
|
-
export { default as Description } from './components/common/Description/index.js';
|
12
|
-
export { default as FileButton } from './components/common/FileButton/index.js';
|
13
|
-
export { Label } from './components/common/Label/index.js';
|
14
|
-
export { default as Menu } from './components/common/Menu/index.js';
|
15
|
-
export { PasswordInput } from './components/common/PasswordInput/index.js';
|
16
|
-
export { default as SegmentedControl } from './components/common/SegmentedControl/index.js';
|
17
|
-
export { default as Slider } from './components/common/Slider/index.js';
|
18
|
-
export { default as Switch } from './components/common/Switch/index.js';
|
19
|
-
export { Tag } from './components/common/Tag/index.js';
|
20
|
-
export { default as Text } from './components/common/Text/index.js';
|
21
|
-
export { default as TextArea } from './components/common/TextArea/index.js';
|
22
|
-
export { default as TextInput } from './components/common/TextInput/index.js';
|
23
|
-
export { default as Tooltip } from './components/common/Tooltip/index.js';
|
24
|
-
export { Tree, getTreeExpandedState, useTree } from '@mantine/core';
|
25
|
-
export { default as DataTable } from './components/datatable/DataTable/index.js';
|
26
|
-
export { default as AppWrapper } from './components/layout/AppWrapper/index.js';
|
27
|
-
export { default as Grid } from './components/layout/Grid/index.js';
|
28
|
-
export { default as Section } from './components/layout/Section/index.js';
|
29
|
-
export { default as Sidebar } from './components/layout/Sidebar/index.js';
|
30
|
-
export { SimpleSurface } from './components/layout/SimpleSurface/index.js';
|
31
|
-
export { default as Spacer } from './components/layout/Spacer/index.js';
|
32
|
-
export { default as Surface } from './components/layout/Surface/index.js';
|
33
|
-
export { MapView } from './components/map/MapView/index.js';
|
34
|
-
export { MapViewStyleActiveStops, MapViewStyleActiveStopsInteractiveLayerId, MapViewStyleActiveStopsPrimaryLayerId } from './components/map/MapViewStyleActiveStops/index.js';
|
35
|
-
export { MapViewStylePath, MapViewStylePathInteractiveLayerId, MapViewStylePathPrimaryLayerId } from './components/map/MapViewStylePath/index.js';
|
36
|
-
export { MapViewStyleStops, MapViewStyleStopsInteractiveLayerId, MapViewStyleStopsPrimaryLayerId } from './components/map/MapViewStyleStops/index.js';
|
37
|
-
export { MapViewStyleVehicles, MapViewStyleVehiclesInteractiveLayerId, MapViewStyleVehiclesPrimaryLayerId } from './components/map/MapViewStyleVehicles/index.js';
|
38
|
-
export { ThemeDark, ThemeLight, Themer } from './components/theme/Themer/index.js';
|
39
|
-
export { ThemeSwitcher } from './components/theme/ThemeSwitcher/index.js';
|
40
|
-
export { MapOptionsContextProvider, useMapOptionsContext } from './contexts/MapOptions.context.js';
|
41
|
-
export { MeContextProvider, useMeContext } from './contexts/Me.context.js';
|
42
|
-
export { SidebarContextProvider, useSidebarContext } from './contexts/Sidebar.context.js';
|
43
|
-
export { AVAILABLE_THEMES, ThemeContextProvider, useThemeContext } from './contexts/Theme.context.js';
|
44
|
-
export { useToast } from './hooks/toast.js';
|
45
|
-
export { useIsActiveDomain } from './hooks/use-is-active-domain.js';
|
46
|
-
export { useIsActivePage } from './hooks/use-is-active-page.js';
|
47
|
-
export { useScreenSize } from './hooks/use-screen-size.js';
|
48
|
-
export { useSearchQuery } from './hooks/use-search-query.js';
|
49
|
-
export { centerMap, getBaseGeoJsonFeatureCollection, getBaseGeoJsonFeatureLineString, moveMap } from './lib/map.utils.js';
|
50
|
-
export * from '@mantine/form';
|
51
|
-
export * from '@mantine/hooks';
|
52
|
-
export * from '@mantine/modals';
|
53
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function generateIcon(name: string): React.ReactNode;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const getCssVariableValue: (variableName: string) => string | undefined;
|
package/dist/src/lib/http.d.ts
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
export interface HttpResponse<T> {
|
2
|
-
data: null | T;
|
3
|
-
error: null | string;
|
4
|
-
status: number;
|
5
|
-
}
|
6
|
-
export declare function fetchData<T>(url: string, method?: 'DELETE' | 'GET' | 'POST' | 'PUT', body?: unknown, headers?: HeadersInit, options?: Omit<RequestInit, 'body' | 'headers' | 'method'>): Promise<HttpResponse<T>>;
|
7
|
-
export declare function uploadFile(url: string, file: File): Promise<{
|
8
|
-
data: null;
|
9
|
-
error: any;
|
10
|
-
status: number;
|
11
|
-
} | {
|
12
|
-
data: any;
|
13
|
-
error: null;
|
14
|
-
status: number;
|
15
|
-
}>;
|
16
|
-
export declare const swrFetcher: (url: string) => Promise<any>;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
interface CenterMapOptions {
|
2
|
-
padding: number;
|
3
|
-
}
|
4
|
-
/**
|
5
|
-
*
|
6
|
-
* @param mapObject The map that should be manipulated
|
7
|
-
* @param features The features to center the map on
|
8
|
-
* @param options Optional settings to customize the centering
|
9
|
-
*/
|
10
|
-
export declare const centerMap: (mapObject: any, features: GeoJSON.Feature<GeoJSON.Geometry, GeoJSON.GeoJsonProperties>[], options?: CenterMapOptions) => void;
|
11
|
-
/**
|
12
|
-
*
|
13
|
-
* @param mapObject THe map that should be manipulated
|
14
|
-
* @param coordinates The destination coordinates to move the map to
|
15
|
-
* @param options Optional settings to customize the movement
|
16
|
-
*/
|
17
|
-
export declare const moveMap: (mapObject: any, coordinates: GeoJSON.Position) => void;
|
18
|
-
/**
|
19
|
-
* Return a base GeoJSON Feature for LineString object
|
20
|
-
* @returns A GeoJSON Feature for LineString object with an empty features array
|
21
|
-
*/
|
22
|
-
export declare const getBaseGeoJsonFeatureLineString: () => GeoJSON.Feature<GeoJSON.LineString>;
|
23
|
-
/**
|
24
|
-
* Return a base GeoJSON FeatureCollection object
|
25
|
-
* @returns A GeoJSON FeatureCollection object with an empty features array
|
26
|
-
*/
|
27
|
-
export declare const getBaseGeoJsonFeatureCollection: () => GeoJSON.FeatureCollection<GeoJSON.LineString | GeoJSON.Point, GeoJSON.GeoJsonProperties>;
|
28
|
-
export {};
|
package/dist/src/lib/utils.d.ts
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
import { type ClassValue } from 'clsx';
|
2
|
-
/**
|
3
|
-
* Utility function that merges class names together
|
4
|
-
*/
|
5
|
-
export declare function cn(...inputs: ClassValue[]): string;
|
6
|
-
/**
|
7
|
-
* Utility function that returns a humanized version of a string, e.g. "camelCase" -> "Camel Case"
|
8
|
-
*/
|
9
|
-
export declare function humanize(value: string): string;
|
10
|
-
/**
|
11
|
-
* Truncates a string to a specified length and adds ellipsis if necessary.
|
12
|
-
* @param {string | null} str - The string to truncate.
|
13
|
-
* @param {number} length - The maximum length of the truncated string.
|
14
|
-
* @returns {string | null} - The truncated string with ellipsis if it exceeds the specified length, or the original string if it does not.
|
15
|
-
*/
|
16
|
-
export declare const truncate: (str: null | string, length: number) => null | string;
|
17
|
-
/**
|
18
|
-
* Fetches data from a given URL and returns the JSON response.
|
19
|
-
* @param {...Parameters<typeof fetch>} args - The arguments to pass to the fetch function.
|
20
|
-
* @returns {Promise<any>} - A promise that resolves to the JSON response.
|
21
|
-
*/
|
22
|
-
export declare const fetcher: (input: string | URL | Request, init?: RequestInit | undefined) => Promise<any>;
|
23
|
-
/**
|
24
|
-
* Capitalizes first letters of words in string.
|
25
|
-
* @param {string} str String to be modified
|
26
|
-
* @param {boolean=false} lower Whether all other letters should be lowercased
|
27
|
-
* @return {string}
|
28
|
-
* @see https://stackoverflow.com/questions/2332811/capitalize-words-in-string/7592235#7592235
|
29
|
-
* @usage
|
30
|
-
* capitalize('fix this string'); // -> 'Fix This String'
|
31
|
-
* capitalize('javaSCrIPT'); // -> 'JavaSCrIPT'
|
32
|
-
* capitalize('javaSCrIPT', true); // -> 'Javascript'
|
33
|
-
*/
|
34
|
-
export declare const capitalize: (str: string, lower?: boolean) => string;
|
35
|
-
/**
|
36
|
-
* Formats a date input into a human-readable string.
|
37
|
-
* @param {number | string} input - The date input to format.
|
38
|
-
* @returns {string} - The formatted date string.
|
39
|
-
*/
|
40
|
-
export declare function formatDate(input: number | string): string;
|
41
|
-
/**
|
42
|
-
* Tries to parse an ISO date string into a timestamp.
|
43
|
-
* @param {string} input - The ISO date string to parse.
|
44
|
-
* @returns {number | undefined} - The parsed timestamp or undefined if parsing fails.
|
45
|
-
*/
|
46
|
-
export declare function tryParseDateToTimestamp(input: string): number | undefined;
|
47
|
-
/**
|
48
|
-
* Utility function that returns the value at a given path in an object.
|
49
|
-
* @param {T} obj - The object to retrieve the value from.
|
50
|
-
* @param {keyof T | string} path - The path to the value in the object.
|
51
|
-
* @returns {unknown} - The value at the given path or undefined if the path is invalid.
|
52
|
-
*/
|
53
|
-
export declare function getValueAtPath<T>(obj: T, path: keyof T | (NonNullable<unknown> & string)): unknown;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_interop_require_default.js","sources":["../../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs"],"sourcesContent":["\"use strict\";\n\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nexports._ = _interop_require_default;\n"],"names":["_interop_require_default","_interop_require_default_1"],"mappings":";;;;;;;;CAEA,SAASA,0BAAwB,CAAC,GAAG,EAAE;AACvC,KAAI,OAAO,GAAG,IAAI,GAAG,CAAC,UAAU,GAAG,GAAG,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE;AACzD;AACA,CAAAC,wBAAA,CAAA,CAAS,GAAGD,0BAAwB;;;;;;","x_google_ignoreList":[0]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_interop_require_wildcard.js","sources":["../../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"],"sourcesContent":["\"use strict\";\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexports._ = _interop_require_wildcard;\n"],"names":["_interop_require_wildcard","_interop_require_wildcard_1"],"mappings":";;;;;;;;CAEA,SAAS,wBAAwB,CAAC,WAAW,EAAE;AAC/C,KAAI,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE,OAAO,IAAI;;AAElD,KAAI,IAAI,iBAAiB,GAAG,IAAI,OAAO,EAAE;AACzC,KAAI,IAAI,gBAAgB,GAAG,IAAI,OAAO,EAAE;;AAExC,KAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,WAAW,EAAE;AAC7D,SAAQ,OAAO,WAAW,GAAG,gBAAgB,GAAG,iBAAiB;MAC5D,EAAE,WAAW,CAAC;AACnB;AACA,CAAA,SAASA,2BAAyB,CAAC,GAAG,EAAE,WAAW,EAAE;KACjD,IAAI,CAAC,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE,OAAO,GAAG;KACrD,IAAI,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE;;AAErG,KAAI,IAAI,KAAK,GAAG,wBAAwB,CAAC,WAAW,CAAC;;AAErD,KAAI,IAAI,KAAK,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC;;AAEtD,KAAI,IAAI,MAAM,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE;KAChC,IAAI,qBAAqB,GAAG,MAAM,CAAC,cAAc,IAAI,MAAM,CAAC,wBAAwB;;AAExF,KAAI,KAAK,IAAI,GAAG,IAAI,GAAG,EAAE;AACzB,SAAQ,IAAI,GAAG,KAAK,SAAS,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;AACjF,aAAY,IAAI,IAAI,GAAG,qBAAqB,GAAG,MAAM,CAAC,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,IAAI;aACnF,IAAI,IAAI,KAAK,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC;kBACvE,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC;AACvC;AACA;;AAEA,KAAI,MAAM,CAAC,OAAO,GAAG,GAAG;;KAEpB,IAAI,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC;;AAErC,KAAI,OAAO,MAAM;AACjB;AACA,CAAAC,yBAAA,CAAA,CAAS,GAAGD,2BAAyB;;;;;;","x_google_ignoreList":[0]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../../node_modules/@turf/helpers/dist/esm/index.js"],"sourcesContent":["// index.ts\nvar earthRadius = 63710088e-1;\nvar factors = {\n centimeters: earthRadius * 100,\n centimetres: earthRadius * 100,\n degrees: 360 / (2 * Math.PI),\n feet: earthRadius * 3.28084,\n inches: earthRadius * 39.37,\n kilometers: earthRadius / 1e3,\n kilometres: earthRadius / 1e3,\n meters: earthRadius,\n metres: earthRadius,\n miles: earthRadius / 1609.344,\n millimeters: earthRadius * 1e3,\n millimetres: earthRadius * 1e3,\n nauticalmiles: earthRadius / 1852,\n radians: 1,\n yards: earthRadius * 1.0936\n};\nvar areaFactors = {\n acres: 247105e-9,\n centimeters: 1e4,\n centimetres: 1e4,\n feet: 10.763910417,\n hectares: 1e-4,\n inches: 1550.003100006,\n kilometers: 1e-6,\n kilometres: 1e-6,\n meters: 1,\n metres: 1,\n miles: 386e-9,\n nauticalmiles: 29155334959812285e-23,\n millimeters: 1e6,\n millimetres: 1e6,\n yards: 1.195990046\n};\nfunction feature(geom, properties, options = {}) {\n const feat = { type: \"Feature\" };\n if (options.id === 0 || options.id) {\n feat.id = options.id;\n }\n if (options.bbox) {\n feat.bbox = options.bbox;\n }\n feat.properties = properties || {};\n feat.geometry = geom;\n return feat;\n}\nfunction geometry(type, coordinates, _options = {}) {\n switch (type) {\n case \"Point\":\n return point(coordinates).geometry;\n case \"LineString\":\n return lineString(coordinates).geometry;\n case \"Polygon\":\n return polygon(coordinates).geometry;\n case \"MultiPoint\":\n return multiPoint(coordinates).geometry;\n case \"MultiLineString\":\n return multiLineString(coordinates).geometry;\n case \"MultiPolygon\":\n return multiPolygon(coordinates).geometry;\n default:\n throw new Error(type + \" is invalid\");\n }\n}\nfunction point(coordinates, properties, options = {}) {\n if (!coordinates) {\n throw new Error(\"coordinates is required\");\n }\n if (!Array.isArray(coordinates)) {\n throw new Error(\"coordinates must be an Array\");\n }\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be at least 2 numbers long\");\n }\n if (!isNumber(coordinates[0]) || !isNumber(coordinates[1])) {\n throw new Error(\"coordinates must contain numbers\");\n }\n const geom = {\n type: \"Point\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction points(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return point(coords, properties);\n }),\n options\n );\n}\nfunction polygon(coordinates, properties, options = {}) {\n for (const ring of coordinates) {\n if (ring.length < 4) {\n throw new Error(\n \"Each LinearRing of a Polygon must have 4 or more Positions.\"\n );\n }\n if (ring[ring.length - 1].length !== ring[0].length) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n for (let j = 0; j < ring[ring.length - 1].length; j++) {\n if (ring[ring.length - 1][j] !== ring[0][j]) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n }\n }\n const geom = {\n type: \"Polygon\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction polygons(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return polygon(coords, properties);\n }),\n options\n );\n}\nfunction lineString(coordinates, properties, options = {}) {\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be an array of two or more positions\");\n }\n const geom = {\n type: \"LineString\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction lineStrings(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return lineString(coords, properties);\n }),\n options\n );\n}\nfunction featureCollection(features, options = {}) {\n const fc = { type: \"FeatureCollection\" };\n if (options.id) {\n fc.id = options.id;\n }\n if (options.bbox) {\n fc.bbox = options.bbox;\n }\n fc.features = features;\n return fc;\n}\nfunction multiLineString(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiLineString\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction multiPoint(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiPoint\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction multiPolygon(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiPolygon\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction geometryCollection(geometries, properties, options = {}) {\n const geom = {\n type: \"GeometryCollection\",\n geometries\n };\n return feature(geom, properties, options);\n}\nfunction round(num, precision = 0) {\n if (precision && !(precision >= 0)) {\n throw new Error(\"precision must be a positive number\");\n }\n const multiplier = Math.pow(10, precision || 0);\n return Math.round(num * multiplier) / multiplier;\n}\nfunction radiansToLength(radians, units = \"kilometers\") {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return radians * factor;\n}\nfunction lengthToRadians(distance, units = \"kilometers\") {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return distance / factor;\n}\nfunction lengthToDegrees(distance, units) {\n return radiansToDegrees(lengthToRadians(distance, units));\n}\nfunction bearingToAzimuth(bearing) {\n let angle = bearing % 360;\n if (angle < 0) {\n angle += 360;\n }\n return angle;\n}\nfunction azimuthToBearing(angle) {\n angle = angle % 360;\n if (angle > 180) {\n return angle - 360;\n } else if (angle < -180) {\n return angle + 360;\n }\n return angle;\n}\nfunction radiansToDegrees(radians) {\n const normalisedRadians = radians % (2 * Math.PI);\n return normalisedRadians * 180 / Math.PI;\n}\nfunction degreesToRadians(degrees) {\n const normalisedDegrees = degrees % 360;\n return normalisedDegrees * Math.PI / 180;\n}\nfunction convertLength(length, originalUnit = \"kilometers\", finalUnit = \"kilometers\") {\n if (!(length >= 0)) {\n throw new Error(\"length must be a positive number\");\n }\n return radiansToLength(lengthToRadians(length, originalUnit), finalUnit);\n}\nfunction convertArea(area, originalUnit = \"meters\", finalUnit = \"kilometers\") {\n if (!(area >= 0)) {\n throw new Error(\"area must be a positive number\");\n }\n const startFactor = areaFactors[originalUnit];\n if (!startFactor) {\n throw new Error(\"invalid original units\");\n }\n const finalFactor = areaFactors[finalUnit];\n if (!finalFactor) {\n throw new Error(\"invalid final units\");\n }\n return area / startFactor * finalFactor;\n}\nfunction isNumber(num) {\n return !isNaN(num) && num !== null && !Array.isArray(num);\n}\nfunction isObject(input) {\n return input !== null && typeof input === \"object\" && !Array.isArray(input);\n}\nfunction validateBBox(bbox) {\n if (!bbox) {\n throw new Error(\"bbox is required\");\n }\n if (!Array.isArray(bbox)) {\n throw new Error(\"bbox must be an Array\");\n }\n if (bbox.length !== 4 && bbox.length !== 6) {\n throw new Error(\"bbox must be an Array of 4 or 6 numbers\");\n }\n bbox.forEach((num) => {\n if (!isNumber(num)) {\n throw new Error(\"bbox must only contain numbers\");\n }\n });\n}\nfunction validateId(id) {\n if (!id) {\n throw new Error(\"id is required\");\n }\n if ([\"string\", \"number\"].indexOf(typeof id) === -1) {\n throw new Error(\"id must be a number or a string\");\n }\n}\nexport {\n areaFactors,\n azimuthToBearing,\n bearingToAzimuth,\n convertArea,\n convertLength,\n degreesToRadians,\n earthRadius,\n factors,\n feature,\n featureCollection,\n geometry,\n geometryCollection,\n isNumber,\n isObject,\n lengthToDegrees,\n lengthToRadians,\n lineString,\n lineStrings,\n multiLineString,\n multiPoint,\n multiPolygon,\n point,\n points,\n polygon,\n polygons,\n radiansToDegrees,\n radiansToLength,\n round,\n validateBBox,\n validateId\n};\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":"AAAA;AAoCA,SAAS,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE;AACjD,EAAE,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE;AAClC,EAAE,IAAI,OAAO,CAAC,EAAE,KAAK,CAAC,IAAI,OAAO,CAAC,EAAE,EAAE;AACtC,IAAI,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE;AACxB;AACA,EAAE,IAAI,OAAO,CAAC,IAAI,EAAE;AACpB,IAAI,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI;AAC5B;AACA,EAAE,IAAI,CAAC,UAAU,GAAiB,EAAE;AACpC,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI;AACtB,EAAE,OAAO,IAAI;AACb;AAmBA,SAAS,KAAK,CAAC,WAAW,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE;AACtD,EAAE,IAAI,CAAC,WAAW,EAAE;AACpB,IAAI,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC;AAC9C;AACA,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE;AACnC,IAAI,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC;AACnD;AACA,EAAE,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE;AAC9B,IAAI,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC;AAClE;AACA,EAAE,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE;AAC9D,IAAI,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC;AACvD;AACA,EAAE,MAAM,IAAI,GAAG;AACf,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI;AACJ,GAAG;AACH,EAAE,OAAO,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC;AAC3C;AAyDA,SAAS,iBAAiB,CAAC,QAAQ,EAAE,OAAO,GAAG,EAAE,EAAE;AACnD,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,mBAAmB,EAAE;AAC1C,EAAE,IAAI,OAAO,CAAC,EAAE,EAAE;AAClB,IAAI,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE;AACtB;AACA,EAAE,IAAI,OAAO,CAAC,IAAI,EAAE;AACpB,IAAI,EAAE,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI;AAC1B;AACA,EAAE,EAAE,CAAC,QAAQ,GAAG,QAAQ;AACxB,EAAE,OAAO,EAAE;AACX;AAiGA,SAAS,QAAQ,CAAC,GAAG,EAAE;AACvB,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;AAC3D;;;;","x_google_ignoreList":[0]}
|
package/dist/src/node_modules/next/dist/client/components/bailout-to-client-rendering.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"bailout-to-client-rendering.js","sources":["../../../../../../../../../node_modules/next/dist/client/components/bailout-to-client-rendering.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"bailoutToClientRendering\", {\n enumerable: true,\n get: function() {\n return bailoutToClientRendering;\n }\n});\nconst _bailouttocsr = require(\"../../shared/lib/lazy-dynamic/bailout-to-csr\");\nconst _workasyncstorageexternal = require(\"../../server/app-render/work-async-storage.external\");\nfunction bailoutToClientRendering(reason) {\n const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();\n if (workStore == null ? void 0 : workStore.forceStatic) return;\n if (workStore == null ? void 0 : workStore.isStaticGeneration) throw Object.defineProperty(new _bailouttocsr.BailoutToCSRError(reason), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=bailout-to-client-rendering.js.map"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,0BAA0B,EAAE;MACvD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,wBAAwB;AACvC;AACA,GAAC,CAAC;EACF,MAAM,aAAa,GAAGA,mBAAuD,EAAA;EAC7E,MAAM,yBAAyB,GAAGC,gCAA8D,EAAA;EAChG,SAAS,wBAAwB,CAAC,MAAM,EAAE;MACtC,MAAM,SAAS,GAAG,yBAAyB,CAAC,gBAAgB,CAAC,QAAQ,EAAE;MACvE,IAAI,SAAS,IAAI,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC,WAAW,EAAE;MACxD,IAAI,SAAS,IAAI,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC,kBAAkB,EAAE,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,aAAa,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,mBAAmB,EAAE;UACzJ,KAAK,EAAE,MAAM;UACb,UAAU,EAAE,KAAK;AACzB,UAAQ,YAAY,EAAE;AACtB,OAAK,CAAC;AACN;;AAEA,EAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"forbidden.js","sources":["../../../../../../../../../node_modules/next/dist/client/components/forbidden.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"forbidden\", {\n enumerable: true,\n get: function() {\n return forbidden;\n }\n});\nconst _httpaccessfallback = require(\"./http-access-fallback/http-access-fallback\");\n// TODO: Add `forbidden` docs\n/**\n * @experimental\n * This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)\n * within a route segment as well as inject a tag.\n *\n * `forbidden()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)\n */ const DIGEST = \"\" + _httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE + \";403\";\nfunction forbidden() {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw Object.defineProperty(new Error(\"`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled.\"), \"__NEXT_ERROR_CODE\", {\n value: \"E488\",\n enumerable: false,\n configurable: true\n });\n }\n // eslint-disable-next-line no-throw-literal\n const error = Object.defineProperty(new Error(DIGEST), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = DIGEST;\n throw error;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=forbidden.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;MACxC,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,SAAS;AACxB;AACA,GAAC,CAAC;EACF,MAAM,mBAAmB,GAAGA,yBAAsD,EAAA;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACI,MAAM,MAAM,GAAG,EAAE,GAAG,mBAAmB,CAAC,8BAA8B,GAAG,MAAM;AACnF,EAAA,SAAS,SAAS,GAAG;AACrB,MAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE;AAC1D,UAAQ,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,6GAA6G,CAAC,EAAE,mBAAmB,EAAE;cACvK,KAAK,EAAE,MAAM;cACb,UAAU,EAAE,KAAK;AAC7B,cAAY,YAAY,EAAE;AAC1B,WAAS,CAAC;AACV;AACA;AACA,MAAI,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,mBAAmB,EAAE;UACxE,KAAK,EAAE,MAAM;UACb,UAAU,EAAE,KAAK;AACzB,UAAQ,YAAY,EAAE;AACtB,OAAK,CAAC;AACN,MAAI,KAAK,CAAC,MAAM,GAAG,MAAM;AACzB,MAAI,MAAM,KAAK;AACf;;AAEA,EAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|