@tmlmobilidade/ui 20250307.1723.25 → 20250310.1959.17
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 +57 -15
- package/dist/src/_virtual/_interop_require_default.js +4 -0
- package/dist/src/_virtual/_interop_require_default.js.map +1 -0
- package/dist/src/_virtual/_interop_require_wildcard.js +4 -0
- package/dist/src/_virtual/_interop_require_wildcard.js.map +1 -0
- package/dist/src/_virtual/action-async-storage-instance.js +4 -0
- package/dist/src/_virtual/action-async-storage-instance.js.map +1 -0
- package/dist/src/_virtual/action-async-storage.external.js +4 -0
- package/dist/src/_virtual/action-async-storage.external.js.map +1 -0
- package/dist/src/_virtual/app-router-context.shared-runtime.js +4 -0
- package/dist/src/_virtual/app-router-context.shared-runtime.js.map +1 -0
- package/dist/src/_virtual/async-local-storage.js +4 -0
- package/dist/src/_virtual/async-local-storage.js.map +1 -0
- package/dist/src/_virtual/bailout-to-client-rendering.js +4 -0
- package/dist/src/_virtual/bailout-to-client-rendering.js.map +1 -0
- package/dist/src/_virtual/bailout-to-csr.js +4 -0
- package/dist/src/_virtual/bailout-to-csr.js.map +1 -0
- package/dist/src/_virtual/dynamic-rendering-utils.js +4 -0
- package/dist/src/_virtual/dynamic-rendering-utils.js.map +1 -0
- package/dist/src/_virtual/dynamic-rendering.js +4 -0
- package/dist/src/_virtual/dynamic-rendering.js.map +1 -0
- package/dist/src/_virtual/forbidden.js +4 -0
- package/dist/src/_virtual/forbidden.js.map +1 -0
- package/dist/src/_virtual/get-segment-value.js +4 -0
- package/dist/src/_virtual/get-segment-value.js.map +1 -0
- package/dist/src/_virtual/hooks-client-context.shared-runtime.js +4 -0
- package/dist/src/_virtual/hooks-client-context.shared-runtime.js.map +1 -0
- package/dist/src/_virtual/hooks-server-context.js +4 -0
- package/dist/src/_virtual/hooks-server-context.js.map +1 -0
- package/dist/src/_virtual/http-access-fallback.js +4 -0
- package/dist/src/_virtual/http-access-fallback.js.map +1 -0
- package/dist/src/_virtual/is-dynamic-usage-error.js +4 -0
- package/dist/src/_virtual/is-dynamic-usage-error.js.map +1 -0
- package/dist/src/_virtual/is-next-router-error.js +4 -0
- package/dist/src/_virtual/is-next-router-error.js.map +1 -0
- package/dist/src/_virtual/is-postpone.js +4 -0
- package/dist/src/_virtual/is-postpone.js.map +1 -0
- package/dist/src/_virtual/metadata-constants.js +4 -0
- package/dist/src/_virtual/metadata-constants.js.map +1 -0
- package/dist/src/_virtual/navigation.js +4 -0
- package/dist/src/_virtual/navigation.js.map +1 -0
- package/dist/src/_virtual/navigation.react-server.js +4 -0
- package/dist/src/_virtual/navigation.react-server.js.map +1 -0
- package/dist/src/_virtual/not-found.js +4 -0
- package/dist/src/_virtual/not-found.js.map +1 -0
- package/dist/src/_virtual/redirect-error.js +4 -0
- package/dist/src/_virtual/redirect-error.js.map +1 -0
- package/dist/src/_virtual/redirect-status-code.js +4 -0
- package/dist/src/_virtual/redirect-status-code.js.map +1 -0
- package/dist/src/_virtual/redirect.js +4 -0
- package/dist/src/_virtual/redirect.js.map +1 -0
- package/dist/src/_virtual/scheduler.js +4 -0
- package/dist/src/_virtual/scheduler.js.map +1 -0
- package/dist/src/_virtual/segment.js +4 -0
- package/dist/src/_virtual/segment.js.map +1 -0
- package/dist/src/_virtual/server-inserted-html.shared-runtime.js +4 -0
- package/dist/src/_virtual/server-inserted-html.shared-runtime.js.map +1 -0
- package/dist/src/_virtual/static-generation-bailout.js +4 -0
- package/dist/src/_virtual/static-generation-bailout.js.map +1 -0
- package/dist/src/_virtual/unauthorized.js +4 -0
- package/dist/src/_virtual/unauthorized.js.map +1 -0
- package/dist/src/_virtual/unstable-rethrow.js +4 -0
- package/dist/src/_virtual/unstable-rethrow.js.map +1 -0
- package/dist/src/_virtual/work-async-storage-instance.js +4 -0
- package/dist/src/_virtual/work-async-storage-instance.js.map +1 -0
- package/dist/src/_virtual/work-async-storage.external.js +4 -0
- package/dist/src/_virtual/work-async-storage.external.js.map +1 -0
- package/dist/src/_virtual/work-unit-async-storage-instance.js +4 -0
- package/dist/src/_virtual/work-unit-async-storage-instance.js.map +1 -0
- package/dist/src/_virtual/work-unit-async-storage.external.js +4 -0
- package/dist/src/_virtual/work-unit-async-storage.external.js.map +1 -0
- package/dist/src/components/AppProvider/index.d.ts +3 -2
- package/dist/src/components/AppProvider/index.js +6 -5
- 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/AppLogos/index.js +1 -1
- package/dist/src/components/common/Badge/index.js +1 -1
- package/dist/src/components/common/Button/index.js +1 -1
- package/dist/src/components/common/Checkbox/index.js +1 -1
- package/dist/src/components/common/Combobox/index.js +1 -1
- package/dist/src/components/common/ComponentWrapper/index.d.ts +7 -0
- package/dist/src/components/common/ComponentWrapper/index.js +9 -0
- package/dist/src/components/common/ComponentWrapper/index.js.map +1 -0
- package/dist/src/components/common/ComponentWrapper/styles.module.css.js +4 -0
- package/dist/src/components/common/ComponentWrapper/styles.module.css.js.map +1 -0
- package/dist/src/components/common/DateTimePicker/index.js +1 -1
- package/dist/src/components/common/DeleteActionIcon/index.js +1 -1
- package/dist/src/components/common/Description/index.js +1 -1
- package/dist/src/components/common/FileButton/index.js +1 -1
- package/dist/src/components/common/Label/index.js +1 -1
- package/dist/src/components/common/Menu/index.js +1 -1
- package/dist/src/components/common/PasswordInput/index.js +1 -1
- package/dist/src/components/common/SegmentedControl/index.js +1 -1
- package/dist/src/components/common/Slider/index.js +1 -1
- package/dist/src/components/common/Switch/index.js +1 -1
- package/dist/src/components/common/Tag/index.js +1 -1
- package/dist/src/components/common/Text/index.js +1 -1
- package/dist/src/components/common/TextArea/index.js +1 -1
- package/dist/src/components/common/TextInput/index.js +1 -1
- package/dist/src/components/common/Tooltip/index.js +1 -1
- package/dist/src/components/common/index.d.ts +1 -0
- package/dist/src/components/datatable/DataTable/index.js +1 -1
- package/dist/src/components/datatable/DataTableContext/index.js +1 -1
- package/dist/src/components/datatable/DataTableHeader/index.js +1 -1
- package/dist/src/components/datatable/DataTableRow/index.js +1 -1
- package/dist/src/components/datatable/DataTableTitle/index.js +1 -1
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/layout/AppWrapper/Header/index.js +1 -1
- package/dist/src/components/layout/AppWrapper/index.js +1 -1
- package/dist/src/components/layout/Grid/index.js +1 -1
- package/dist/src/components/layout/Section/index.js +1 -1
- package/dist/src/components/layout/Sidebar/index.js +1 -1
- package/dist/src/components/layout/SimpleSurface/index.js +1 -1
- package/dist/src/components/layout/Spacer/index.js +1 -1
- package/dist/src/components/layout/Surface/index.js +1 -1
- package/dist/src/components/map/MapView/index.js +2 -2
- package/dist/src/components/map/MapViewStyleActiveStops/index.js +1 -1
- package/dist/src/components/map/MapViewStylePath/index.js +1 -1
- package/dist/src/components/map/MapViewStyleStops/index.js +1 -1
- package/dist/src/components/map/MapViewStyleVehicles/index.js +1 -1
- package/dist/src/components/{AppProvider → providers}/MapOptions.context.d.ts +1 -1
- package/dist/src/components/{AppProvider → providers}/MapOptions.context.js +2 -2
- package/dist/src/components/providers/MapOptions.context.js.map +1 -0
- package/dist/src/components/providers/Me.context.d.ts +20 -0
- package/dist/src/components/providers/Me.context.js +61 -0
- package/dist/src/components/providers/Me.context.js.map +1 -0
- package/dist/src/components/theme/ThemeProvider/index.js +1 -1
- package/dist/src/components/theme/ThemeSwitcher/index.js +1 -1
- package/dist/src/components/theme/Themer/index.js +1 -1
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib/http.d.ts +16 -0
- package/dist/src/lib/http.js +13 -0
- package/dist/src/lib/http.js.map +1 -0
- package/dist/src/lib/map.utils.js +4 -3
- package/dist/src/lib/map.utils.js.map +1 -1
- package/dist/src/lib/utils.d.ts +1 -1
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.js +9 -0
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +1 -0
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +41 -0
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +1 -0
- package/dist/src/node_modules/.pnpm/@turf_helpers@7.2.0/node_modules/@turf/helpers/dist/esm/index.js +49 -0
- package/dist/src/node_modules/.pnpm/@turf_helpers@7.2.0/node_modules/@turf/helpers/dist/esm/index.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/bailout-to-client-rendering.js +45 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/bailout-to-client-rendering.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/forbidden.js +58 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/forbidden.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/hooks-server-context.js +46 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/hooks-server-context.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +73 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/is-next-router-error.js +33 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/is-next-router-error.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/navigation.js +185 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/navigation.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/navigation.react-server.js +85 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/navigation.react-server.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/not-found.js +52 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/not-found.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect-error.js +56 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect-error.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect-status-code.js +32 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect-status-code.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect.js +98 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/redirect.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +29 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/static-generation-bailout.js +46 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/static-generation-bailout.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/unauthorized.js +59 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/unauthorized.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/unstable-rethrow.js +47 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/client/components/unstable-rethrow.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/export/helpers/is-dynamic-usage-error.js +26 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/export/helpers/is-dynamic-usage-error.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/lib/metadata/metadata-constants.js +30 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/lib/metadata/metadata-constants.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/lib/scheduler.js +62 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/lib/scheduler.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/action-async-storage-instance.js +20 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/action-async-storage.external.js +19 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/async-local-storage.js +74 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/async-local-storage.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/dynamic-rendering.js +536 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js +20 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-async-storage.external.js +19 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +20 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +91 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/dynamic-rendering-utils.js +51 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/dynamic-rendering-utils.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/lib/router-utils/is-postpone.js +20 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +50 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +38 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +45 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/segment.js +50 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/segment.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +38 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +1 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/navigation.js +6 -0
- package/dist/src/node_modules/.pnpm/next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/navigation.js.map +1 -0
- package/dist/src/node_modules/.pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs/dist/adapters/next/app.js.map +1 -0
- package/dist/src/node_modules/.pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs/dist/chunk-5WWTJYGR.js.map +1 -0
- package/dist/src/node_modules/{nuqs → .pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs}/dist/chunk-C3RNEY2H.js +3 -3
- package/dist/src/node_modules/.pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs/dist/chunk-C3RNEY2H.js.map +1 -0
- package/dist/src/node_modules/{react → .pnpm/react@19.0.0/node_modules/react}/cjs/react-jsx-runtime.development.js +1 -1
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/src/node_modules/{react → .pnpm/react@19.0.0/node_modules/react}/cjs/react-jsx-runtime.production.js +1 -1
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
- package/dist/src/node_modules/{react → .pnpm/react@19.0.0/node_modules/react}/jsx-runtime.js +1 -1
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/styles-no-reset.css +10283 -0
- package/dist/styles.css +253 -205
- package/package.json +6 -30
- package/README.md +0 -321
- package/dist/src/components/AppProvider/MapOptions.context.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/node_modules/{nuqs → .pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs}/dist/adapters/next/app.js +0 -0
- /package/dist/src/node_modules/{nuqs → .pnpm/nuqs@2.4.1_next@15.2.0_react-dom@19.0.0_react@19.0.0__react@19.0.0__react@19.0.0/node_modules/nuqs}/dist/chunk-5WWTJYGR.js +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../src/components/common/ComponentWrapper/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;AASwB,SAAA,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAyB,EAAA;AACtF,IAAA,QACCA,sBAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,GAAG,MAAM,CAAC,SAAS,CAAA,CAAA,EAAI,SAAS,IAAI,EAAE,CAAA,CAAE,aACvDC,qBAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,UAAU,EAAI,CAAA,EACrCA,+BAAK,SAAS,EAAE,MAAM,CAAC,OAAO,EAAG,QAAA,EAAA,QAAQ,EAAO,CAAA,CAAA,EAAA,CAC3C;AAER;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { DateTimePicker as DateTimePicker$1 } from '@mantine/dates';
|
4
4
|
import { IconCalendar } from '@tabler/icons-react';
|
5
5
|
import styles from './styles.module.css.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { modals } from '@mantine/modals';
|
4
4
|
import { IconTrash } from '@tabler/icons-react';
|
5
5
|
import ActionIcon from '../ActionIcon/index.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import styles from './styles.module.css.js';
|
4
4
|
|
5
5
|
/* * */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { IconUpload } from '@tabler/icons-react';
|
4
4
|
import { useState } from 'react';
|
5
5
|
import { Button } from '../Button/index.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import styles from './styles.module.css.js';
|
4
4
|
|
5
5
|
/* * */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { Menu as Menu$1 } from '@mantine/core';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { PasswordInput as PasswordInput$1 } from '@mantine/core';
|
4
4
|
import { IconEye, IconEyeClosed } from '@tabler/icons-react';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { cn } from '../../../lib/utils.js';
|
4
4
|
import { SegmentedControl as SegmentedControl$1 } from '@mantine/core';
|
5
5
|
import styles from './styles.module.css.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { Slider as Slider$1 } from '@mantine/core';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { Switch as Switch$1 } from '@mantine/core';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import React__default from 'react';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { Text as Text$1 } from '@mantine/core';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { Textarea } from '@mantine/core';
|
4
4
|
|
5
5
|
function Component({ classNames, ...props }) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { TextInput, Tooltip, Text, Center, rem } from '@mantine/core';
|
4
4
|
import { IconInfoCircle } from '@tabler/icons-react';
|
5
5
|
import { useState, useEffect } from 'react';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { Tooltip as Tooltip$1 } from '@mantine/core';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -4,6 +4,7 @@ export { default as Badge } from './Badge';
|
|
4
4
|
export { Button } from './Button';
|
5
5
|
export { default as Checkbox } from './Checkbox';
|
6
6
|
export { default as Combobox, DataItem } from './Combobox';
|
7
|
+
export { default as ComponentWrapper } from './ComponentWrapper';
|
7
8
|
export { default as DateTimePicker } from './DateTimePicker';
|
8
9
|
export { default as DeleteActionIcon } from './DeleteActionIcon';
|
9
10
|
export { default as Description } from './Description';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { cn, getValueAtPath } from '../../../lib/utils.js';
|
4
4
|
import { Table } from '@mantine/core';
|
5
5
|
import { ViewportList } from 'react-viewport-list';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { useSearchQuery } from '../../../hooks/use-search-query.js';
|
4
4
|
import { getValueAtPath, tryParseDateToTimestamp } from '../../../lib/utils.js';
|
5
5
|
import { createContext, useState, useMemo, useCallback, useContext } from 'react';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { cn } from '../../../lib/utils.js';
|
4
4
|
import { Table } from '@mantine/core';
|
5
5
|
import { IconArrowUpRhombus, IconArrowDownRhombus, IconArrowsUpDown } from '@tabler/icons-react';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { cn, getValueAtPath } from '../../../lib/utils.js';
|
4
4
|
import { Table } from '@mantine/core';
|
5
5
|
import styles from './styles.module.css.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import Component from '../../common/TextInput/index.js';
|
4
4
|
import { useDataTableContext } from '../DataTableContext/index.js';
|
5
5
|
import styles from './styles.module.css.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { useState } from 'react';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import Sidebar from '../Sidebar/index.js';
|
4
4
|
import Header from './Header/index.js';
|
5
5
|
import styles from './styles.module.css.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { cn } from '../../../lib/utils.js';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { Accordion } from '@mantine/core';
|
4
4
|
import { IconCaretLeftFilled } from '@tabler/icons-react';
|
5
5
|
import React__default from 'react';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { useIsActiveDomain } from '../../../hooks/use-is-active-domain.js';
|
4
4
|
import { generateIcon } from '../../../lib/generate-icon.js';
|
5
5
|
import { cn } from '../../../lib/utils.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import styles from './styles.module.css.js';
|
4
4
|
|
5
5
|
function SimpleSurface({ children, padding }) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { cn } from '../../../lib/utils.js';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { cn } from '../../../lib/utils.js';
|
4
4
|
import styles from './styles.module.css.js';
|
5
5
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
3
|
-
import { useMapOptionsContext } from '../../
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
|
+
import { useMapOptionsContext } from '../../providers/MapOptions.context.js';
|
4
4
|
import { IconsMap } from '../../../settings/assets.settings.js';
|
5
5
|
import { mapDefaultConfig } from '../../../settings/map.settings.js';
|
6
6
|
import Map, { useMap, NavigationControl, FullscreenControl, GeolocateControl, ScaleControl } from '@vis.gl/react-maplibre';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { getBaseGeoJsonFeatureCollection } from '../../../lib/map.utils.js';
|
4
4
|
import { Source, Layer } from '@vis.gl/react-maplibre';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { getBaseGeoJsonFeatureCollection } from '../../../lib/map.utils.js';
|
4
4
|
import { Source, Layer } from '@vis.gl/react-maplibre';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { getBaseGeoJsonFeatureCollection } from '../../../lib/map.utils.js';
|
4
4
|
import { Source, Layer } from '@vis.gl/react-maplibre';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { getBaseGeoJsonFeatureCollection } from '../../../lib/map.utils.js';
|
4
4
|
import { Source, Layer } from '@vis.gl/react-maplibre';
|
5
5
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import * as turf from '@turf/turf';
|
4
4
|
import maplibregl from 'maplibre-gl';
|
5
|
-
import { createContext, useState, useEffect
|
5
|
+
import { createContext, useContext, useState, useEffect } from 'react';
|
6
6
|
|
7
7
|
/* * */
|
8
8
|
const LOCAL_STORAGE_KEYS = {
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MapOptions.context.js","sources":["../../../../../src/components/providers/MapOptions.context.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;AAWA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,kBAAkB,CAAG,CAAA,CAAA;AAC1B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAe,EAAE,CAAqB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;CACtC;AAED,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,eAAe,CAAG,CAAA,CAAA;CACvB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA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AAA,CAAA,CAAA,CAAA,CAAA;AACxC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAK,CAAE,CAAA;AACN,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,EAAE,CAAK,CAAA,CAAA,CAAA,CAAA;AACjB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;CACD,CAAA,CAAA,CAAA,CAAA;;;AAKD,CAAA,CAAA,CAAA,CAAA,QACCA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,CAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,QAAQ,CAAA,CAAA,CAAA,CAAC,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,YAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAC7C,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,EAAA,CACmB,CAAA;;AAI/B,CAAA;;"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { SidebarItemProps } from '../layout/Sidebar';
|
2
|
+
interface MeContextState {
|
3
|
+
data: {
|
4
|
+
sidebar: SidebarItemProps[];
|
5
|
+
user: any;
|
6
|
+
};
|
7
|
+
flags: {
|
8
|
+
error: null | string;
|
9
|
+
loading: boolean;
|
10
|
+
};
|
11
|
+
}
|
12
|
+
export interface MeContextProviderProps {
|
13
|
+
children: React.ReactNode;
|
14
|
+
initialSidebar?: MeContextState['data']['sidebar'];
|
15
|
+
initialUser?: MeContextState['data']['user'];
|
16
|
+
meApiUrl: string;
|
17
|
+
}
|
18
|
+
export declare function useMeContext(): MeContextState;
|
19
|
+
export declare const MeContextProvider: ({ children, initialSidebar, initialUser, meApiUrl, }: MeContextProviderProps) => import("react/jsx-runtime").JSX.Element;
|
20
|
+
export {};
|
@@ -0,0 +1,61 @@
|
|
1
|
+
'use client';
|
2
|
+
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
|
+
import { swrFetcher } from '../../lib/http.js';
|
4
|
+
import { createContext, useContext, useState, useEffect, useMemo } from 'react';
|
5
|
+
import useSWR from 'swr';
|
6
|
+
import 'clsx';
|
7
|
+
import 'luxon';
|
8
|
+
import '@mantine/core';
|
9
|
+
import { CMIcon } from '../common/AppLogos/index.js';
|
10
|
+
import '@tabler/icons-react';
|
11
|
+
import 'react-viewport-list';
|
12
|
+
import '@mantine/dates';
|
13
|
+
import '@mantine/modals';
|
14
|
+
import '../common/Menu/index.js';
|
15
|
+
import AppWrapper from '../layout/AppWrapper/index.js';
|
16
|
+
|
17
|
+
const MeContext = createContext(undefined);
|
18
|
+
function useMeContext() {
|
19
|
+
const context = useContext(MeContext);
|
20
|
+
if (!context) {
|
21
|
+
throw new Error('useMeContext must be used within a MeContextProvider');
|
22
|
+
}
|
23
|
+
return context;
|
24
|
+
}
|
25
|
+
const MeContextProvider = ({ children, initialSidebar, initialUser, meApiUrl, }) => {
|
26
|
+
//
|
27
|
+
// A. Setup variables
|
28
|
+
const [userState, setUserState] = useState(initialUser ?? ({}));
|
29
|
+
const [sidebarState, setSidebarState] = useState(initialSidebar ?? []);
|
30
|
+
const { data, error, isLoading } = useSWR(meApiUrl, swrFetcher);
|
31
|
+
// Update user
|
32
|
+
useEffect(() => {
|
33
|
+
if (data?.user)
|
34
|
+
setUserState(data.user);
|
35
|
+
if (data?.sidebar)
|
36
|
+
setSidebarState(data.sidebar);
|
37
|
+
}, [data]);
|
38
|
+
//
|
39
|
+
// E. Define context value
|
40
|
+
const contextValue = useMemo(() => ({
|
41
|
+
data: {
|
42
|
+
sidebar: sidebarState,
|
43
|
+
user: userState,
|
44
|
+
},
|
45
|
+
flags: {
|
46
|
+
error: error,
|
47
|
+
loading: isLoading,
|
48
|
+
},
|
49
|
+
}), [userState, isLoading, error, sidebarState]);
|
50
|
+
if (contextValue.flags.loading) {
|
51
|
+
return jsxRuntimeExports.jsx("div", { children: "loading..." });
|
52
|
+
}
|
53
|
+
//
|
54
|
+
// F. Render components
|
55
|
+
return (jsxRuntimeExports.jsx(MeContext.Provider, { value: contextValue, children: jsxRuntimeExports.jsx(AppWrapper, { icon: jsxRuntimeExports.jsx(CMIcon, {}), sidebarItems: sidebarState, headerProps: {
|
56
|
+
user_name: userState?.first_name,
|
57
|
+
}, children: children }) }));
|
58
|
+
};
|
59
|
+
|
60
|
+
export { MeContextProvider, useMeContext };
|
61
|
+
//# sourceMappingURL=Me.context.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Me.context.js","sources":["../../../../../src/components/providers/Me.context.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;;AA6BA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA6B,SAAS,CAAC;SAEtD,YAAY,CAAA,CAAA,CAAA;AAC3B,CAAA,CAAA,CAAA,CAAA,MAAM,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,SAAS,CAAC;CACrC,CAAA,CAAA,CAAA,CAAA,CAAA,CAA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,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAEA,QAAQ,CAAA,CAAA,CACG,EACO,CAAA,CAAA;AAEvB,CAAA;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { themeData } from '../../../styles/theme.js';
|
4
4
|
import { MantineProvider } from '@mantine/core';
|
5
5
|
import { DatesProvider } from '@mantine/dates';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
3
|
import { getCssVariableValue } from '../../../lib/getCssVariableValue.js';
|
4
4
|
import { Menu, ColorSwatch } from '@mantine/core';
|
5
5
|
import { useState, useEffect } from 'react';
|
package/dist/src/index.js
CHANGED
@@ -5,6 +5,7 @@ export { default as Badge } from './components/common/Badge/index.js';
|
|
5
5
|
export { Button } from './components/common/Button/index.js';
|
6
6
|
export { default as Checkbox } from './components/common/Checkbox/index.js';
|
7
7
|
export { default as Combobox } from './components/common/Combobox/index.js';
|
8
|
+
export { default as ComponentWrapper } from './components/common/ComponentWrapper/index.js';
|
8
9
|
export { default as DateTimePicker } from './components/common/DateTimePicker/index.js';
|
9
10
|
export { default as DeleteActionIcon } from './components/common/DeleteActionIcon/index.js';
|
10
11
|
export { default as Description } from './components/common/Description/index.js';
|
@@ -34,6 +35,8 @@ export { MapViewStyleActiveStops, MapViewStyleActiveStopsInteractiveLayerId, Map
|
|
34
35
|
export { MapViewStylePath, MapViewStylePathInteractiveLayerId, MapViewStylePathPrimaryLayerId } from './components/map/MapViewStylePath/index.js';
|
35
36
|
export { MapViewStyleStops, MapViewStyleStopsInteractiveLayerId, MapViewStyleStopsPrimaryLayerId } from './components/map/MapViewStyleStops/index.js';
|
36
37
|
export { MapViewStyleVehicles, MapViewStyleVehiclesInteractiveLayerId, MapViewStyleVehiclesPrimaryLayerId } from './components/map/MapViewStyleVehicles/index.js';
|
38
|
+
export { useMapOptionsContext } from './components/providers/MapOptions.context.js';
|
39
|
+
export { useMeContext } from './components/providers/Me.context.js';
|
37
40
|
export { default as ThemeProvider } from './components/theme/ThemeProvider/index.js';
|
38
41
|
export { default as useTheme } from './components/theme/ThemeProvider/use-theme.js';
|
39
42
|
export { ThemeDark, ThemeLight, Themer } from './components/theme/Themer/index.js';
|
package/dist/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,16 @@
|
|
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>;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// "use client";
|
2
|
+
// Create the fetchData function
|
3
|
+
const swrFetcher = async (url) => {
|
4
|
+
const res = await fetch(url, { credentials: 'include' });
|
5
|
+
const data = await res.json();
|
6
|
+
if (!res.ok) {
|
7
|
+
throw new Error(data.message);
|
8
|
+
}
|
9
|
+
return data;
|
10
|
+
};
|
11
|
+
|
12
|
+
export { swrFetcher };
|
13
|
+
//# sourceMappingURL=http.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"http.js","sources":["../../../../src/lib/http.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AASA;MAiFa,UAAU,GAAG,OAAO,GAAW,KAAI;AAC/C,IAAA,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;AACxD,IAAA,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE;AAE7B,IAAA,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE;AACZ,QAAA,MAAM,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;;AAG9B,IAAA,OAAO,IAAI;AACZ;;;;"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { mapDefaultValues } from '../settings/map.settings.js';
|
2
|
+
import { featureCollection, point } from '../node_modules/.pnpm/@turf_helpers@7.2.0/node_modules/@turf/helpers/dist/esm/index.js';
|
2
3
|
import * as turf from '@turf/turf';
|
3
4
|
|
4
5
|
/* * */
|
@@ -19,8 +20,8 @@ const centerMap = (mapObject, features, options) => {
|
|
19
20
|
//
|
20
21
|
// Create a feature collection from the given features, and get the corresponding envelope.
|
21
22
|
// Return if the envelope is not valid.
|
22
|
-
const
|
23
|
-
const featureCollectionEnvelope = turf.envelope(
|
23
|
+
const tFeatureCollection = featureCollection(features);
|
24
|
+
const featureCollectionEnvelope = turf.envelope(tFeatureCollection);
|
24
25
|
if (!featureCollectionEnvelope || !featureCollectionEnvelope.bbox)
|
25
26
|
return;
|
26
27
|
//
|
@@ -68,7 +69,7 @@ const moveMap = (mapObject, coordinates) => {
|
|
68
69
|
//
|
69
70
|
// Check if the given coordinates are inside the currently rendered map bounds
|
70
71
|
const currentMapBounds = mapObject.getBounds().toArray();
|
71
|
-
const isInside = turf.booleanIntersects(
|
72
|
+
const isInside = turf.booleanIntersects(point(coordinates), turf.bboxPolygon([...currentMapBounds[0], ...currentMapBounds[1]]));
|
72
73
|
//
|
73
74
|
// If the given coordinates are visible and the zoom is not too far back (plus a little margin)...
|
74
75
|
if (isInside && currentZoomWithMargin > (thresholdZoomWithMargin * 1.15)) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"map.utils.js","sources":["../../../../src/lib/map.utils.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"map.utils.js","sources":["../../../../src/lib/map.utils.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;AAYA;;;;;AAKG;AACU,MAAA,SAAS,GAAG,CAAC,SAAc,EAAE,QAAwE,EAAE,OAA0B,KAAI;;;;AAMjJ,IAAA,IAAI,CAAC,SAAS;QAAE;IAChB,IAAI,CAAC,QAAQ,CAAC,MAAM;QAAE;;;;AAMtB,IAAA,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,QAAQ,CAAC;IACtD,MAAM,yBAAyB,GAAG,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC;AACnE,IAAA,IAAI,CAAC,yBAAyB,IAAI,CAAC,yBAAyB,CAAC,IAAI;QAAE;;;AAKnE,IAAA,IAAI,yBAAyB,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC;QAAE;AAC/C,IAAA,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE;QAAE;AACtF,IAAA,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG;QAAE;AACxF,IAAA,IAAI,yBAA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AAI,qBAAqB,IAAI,uBAAuB,GAAG,IAAI,CAAC,EAAE;;QAEzE,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,CAAC,KAAK,GAAG,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;SAEjG;;AAEJ,QAAA,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,CAAC,KAAK,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;;;AAI3G;AAEA;AAEA;;;AAGG;AAEI,MAAM,+BAA+B,GAAG,MAA0C;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC7G;AAEA;;;AAGG;AAEI,MAAM,+BAA+B,GAAG,MAA+F;AAC7I,IAAA,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;AAClE;;;;"}
|
package/dist/src/lib/utils.d.ts
CHANGED
@@ -19,7 +19,7 @@ export declare const truncate: (str: null | string, length: number) => null | st
|
|
19
19
|
* @param {...Parameters<typeof fetch>} args - The arguments to pass to the fetch function.
|
20
20
|
* @returns {Promise<any>} - A promise that resolves to the JSON response.
|
21
21
|
*/
|
22
|
-
export declare const fetcher: (
|
22
|
+
export declare const fetcher: (input: string | URL | Request, init?: RequestInit | undefined) => Promise<any>;
|
23
23
|
/**
|
24
24
|
* Capitalizes first letters of words in string.
|
25
25
|
* @param {string} str String to be modified
|