@tmlmobilidade/ui 20250310.1959.17 → 20250325.1729.37
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 +124 -114
- package/dist/src/_virtual/jsx-runtime.js +4 -2
- package/dist/src/_virtual/jsx-runtime.js.map +1 -1
- package/dist/src/_virtual/jsx-runtime2.js +4 -0
- package/dist/src/_virtual/jsx-runtime2.js.map +1 -0
- package/dist/src/_virtual/navigation.js +4 -2
- package/dist/src/_virtual/navigation.js.map +1 -1
- package/dist/src/_virtual/navigation2.js +4 -0
- package/dist/src/_virtual/navigation2.js.map +1 -0
- package/dist/src/_virtual/unstable-rethrow.browser.js +4 -0
- package/dist/src/_virtual/unstable-rethrow.browser.js.map +1 -0
- package/dist/src/_virtual/unstable-rethrow.server.js +4 -0
- package/dist/src/_virtual/unstable-rethrow.server.js.map +1 -0
- package/dist/src/components/AppProvider/index.d.ts +2 -6
- package/dist/src/components/AppProvider/index.js +8 -9
- 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 +3 -3
- 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.js +1 -1
- 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/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 +6 -8
- package/dist/src/components/layout/AppWrapper/Header/index.js +1 -1
- package/dist/src/components/layout/AppWrapper/index.d.ts +1 -1
- package/dist/src/components/layout/AppWrapper/index.js +3 -2
- 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/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.d.ts +1 -1
- package/dist/src/components/map/MapView/index.js +2 -2
- 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/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/theme/ThemeSwitcher/index.d.ts +1 -1
- package/dist/src/components/theme/ThemeSwitcher/index.js +16 -10
- package/dist/src/components/theme/ThemeSwitcher/index.js.map +1 -1
- package/dist/src/components/theme/Themer/index.d.ts +10 -10
- package/dist/src/components/theme/Themer/index.js +8 -9
- package/dist/src/components/theme/Themer/index.js.map +1 -1
- package/dist/src/components/theme/index.d.ts +1 -3
- package/dist/src/{components/providers → contexts}/MapOptions.context.d.ts +1 -1
- package/dist/src/{components/providers → contexts}/MapOptions.context.js +3 -1
- package/dist/src/contexts/MapOptions.context.js.map +1 -0
- package/dist/src/contexts/Me.context.d.ts +14 -0
- package/dist/src/contexts/Me.context.js +54 -0
- package/dist/src/contexts/Me.context.js.map +1 -0
- package/dist/src/contexts/Sidebar.context.d.ts +14 -0
- package/dist/src/contexts/Sidebar.context.js +53 -0
- package/dist/src/contexts/Sidebar.context.js.map +1 -0
- package/dist/src/contexts/Theme.context.d.ts +13 -0
- package/dist/src/contexts/Theme.context.js +60 -0
- package/dist/src/contexts/Theme.context.js.map +1 -0
- package/dist/src/contexts/index.d.ts +4 -0
- package/dist/src/hooks/index.d.ts +5 -0
- package/dist/src/hooks/use-is-active-page.js +33 -0
- package/dist/src/hooks/use-is-active-page.js.map +1 -0
- package/dist/src/index.css.map +1 -0
- package/dist/src/index.d.ts +4 -5
- package/dist/src/index.js +8 -6
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib/map.utils.js +2 -1
- package/dist/src/lib/map.utils.js.map +1 -1
- package/dist/src/node_modules/@swc/helpers/cjs/_interop_require_default.js +17 -0
- package/dist/src/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +1 -0
- package/dist/src/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +49 -0
- package/dist/src/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +1 -0
- package/dist/src/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 → next}/dist/client/components/bailout-to-client-rendering.js +3 -4
- package/dist/src/node_modules/next/dist/client/components/bailout-to-client-rendering.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/forbidden.js +63 -0
- package/dist/src/node_modules/next/dist/client/components/forbidden.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/hooks-server-context.js +51 -0
- package/dist/src/node_modules/next/dist/client/components/hooks-server-context.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +78 -0
- package/dist/src/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/is-next-router-error.js +38 -0
- package/dist/src/node_modules/next/dist/client/components/is-next-router-error.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/navigation.js +185 -0
- package/dist/src/node_modules/next/dist/client/components/navigation.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/navigation.react-server.js +90 -0
- package/dist/src/node_modules/next/dist/client/components/navigation.react-server.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/not-found.js +57 -0
- package/dist/src/node_modules/next/dist/client/components/not-found.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/redirect-error.js +61 -0
- package/dist/src/node_modules/next/dist/client/components/redirect-error.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/redirect-status-code.js +37 -0
- package/dist/src/node_modules/next/dist/client/components/redirect-status-code.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/redirect.js +102 -0
- package/dist/src/node_modules/next/dist/client/components/redirect.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +34 -0
- package/dist/src/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/static-generation-bailout.js +51 -0
- package/dist/src/node_modules/next/dist/client/components/static-generation-bailout.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/unauthorized.js +64 -0
- package/dist/src/node_modules/next/dist/client/components/unauthorized.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.browser.js +43 -0
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.browser.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.js +42 -0
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.js.map +1 -0
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.server.js +51 -0
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.server.js.map +1 -0
- package/dist/src/node_modules/next/dist/lib/metadata/metadata-constants.js +39 -0
- package/dist/src/node_modules/next/dist/lib/metadata/metadata-constants.js.map +1 -0
- package/dist/src/node_modules/next/dist/lib/scheduler.js +71 -0
- package/dist/src/node_modules/next/dist/lib/scheduler.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/app-render/action-async-storage-instance.js +28 -0
- package/dist/src/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/app-render/action-async-storage.external.js +27 -0
- package/dist/src/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/app-render/async-local-storage.js +83 -0
- package/dist/src/node_modules/next/dist/server/app-render/async-local-storage.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/app-render/dynamic-rendering.js +538 -0
- package/dist/src/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/app-render/work-async-storage-instance.js +28 -0
- package/dist/src/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/app-render/work-async-storage.external.js +27 -0
- package/dist/src/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +28 -0
- package/dist/src/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +99 -0
- package/dist/src/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/dynamic-rendering-utils.js +60 -0
- package/dist/src/node_modules/next/dist/server/dynamic-rendering-utils.js.map +1 -0
- package/dist/src/node_modules/next/dist/server/lib/router-utils/is-postpone.js +29 -0
- package/dist/src/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +1 -0
- package/dist/src/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +58 -0
- package/dist/src/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +1 -0
- package/dist/src/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +47 -0
- package/dist/src/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 → next}/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +1 -1
- package/dist/src/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +1 -0
- package/dist/src/node_modules/next/dist/shared/lib/segment.js +59 -0
- package/dist/src/node_modules/next/dist/shared/lib/segment.js.map +1 -0
- package/dist/src/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +46 -0
- package/dist/src/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +1 -0
- package/dist/src/node_modules/next/navigation.js +14 -0
- package/dist/src/node_modules/next/navigation.js.map +1 -0
- package/dist/src/node_modules/nuqs/dist/adapters/next/app.js.map +1 -0
- package/dist/src/node_modules/nuqs/dist/chunk-5WWTJYGR.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 → nuqs}/dist/chunk-C3RNEY2H.js +3 -3
- package/dist/src/node_modules/nuqs/dist/chunk-C3RNEY2H.js.map +1 -0
- package/dist/src/node_modules/{.pnpm/react@19.0.0/node_modules/react → react}/cjs/react-jsx-runtime.development.js +1 -1
- package/dist/src/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/src/node_modules/{.pnpm/react@19.0.0/node_modules/react → react}/cjs/react-jsx-runtime.production.js +1 -1
- package/dist/src/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
- package/dist/src/node_modules/react/jsx-runtime.js +20 -0
- package/dist/src/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/src/styles/mantine/PasswordInput.module.css.js +4 -0
- package/dist/src/styles/mantine/PasswordInput.module.css.js.map +1 -0
- package/dist/src/styles/mantine/TextInput-sm.module.css.js +4 -0
- package/dist/src/styles/mantine/TextInput-sm.module.css.js.map +1 -0
- package/dist/src/styles/mantine/TextInput.module.css.js +4 -0
- package/dist/src/styles/mantine/TextInput.module.css.js.map +1 -0
- package/dist/src/styles/theme.js +9 -4
- package/dist/src/styles/theme.js.map +1 -1
- package/dist/styles-no-reset.css +276 -329
- package/dist/styles.css +277 -330
- package/package.json +47 -46
- package/dist/src/_virtual/is-dynamic-usage-error.js +0 -4
- package/dist/src/_virtual/is-dynamic-usage-error.js.map +0 -1
- package/dist/src/components/providers/MapOptions.context.js.map +0 -1
- package/dist/src/components/providers/Me.context.d.ts +0 -20
- package/dist/src/components/providers/Me.context.js +0 -61
- package/dist/src/components/providers/Me.context.js.map +0 -1
- package/dist/src/components/theme/ThemeProvider/index.d.ts +0 -12
- package/dist/src/components/theme/ThemeProvider/index.js +0 -49
- package/dist/src/components/theme/ThemeProvider/index.js.map +0 -1
- package/dist/src/components/theme/ThemeProvider/use-theme.d.ts +0 -2
- package/dist/src/components/theme/ThemeProvider/use-theme.js +0 -15
- package/dist/src/components/theme/ThemeProvider/use-theme.js.map +0 -1
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -9
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +0 -1
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -41
- package/dist/src/node_modules/.pnpm/@swc_helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +0 -1
- package/dist/src/node_modules/.pnpm/@turf_helpers@7.2.0/node_modules/@turf/helpers/dist/esm/index.js.map +0 -1
- 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 +0 -1
- 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 +0 -58
- 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 +0 -1
- 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 +0 -46
- 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 +0 -1
- 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 +0 -73
- 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 +0 -1
- 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 +0 -33
- 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 +0 -1
- 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 +0 -185
- 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 +0 -1
- 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 +0 -85
- 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 +0 -1
- 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 +0 -52
- 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 +0 -1
- 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 +0 -56
- 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 +0 -1
- 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 +0 -32
- 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 +0 -1
- 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 +0 -98
- 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 +0 -1
- 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 +0 -29
- 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 +0 -1
- 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 +0 -46
- 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 +0 -1
- 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 +0 -59
- 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 +0 -1
- 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 +0 -47
- 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 +0 -1
- 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 +0 -26
- 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 +0 -1
- 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 +0 -30
- 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 +0 -1
- 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 +0 -62
- 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 +0 -1
- 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 +0 -20
- 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 +0 -1
- 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 +0 -19
- 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 +0 -1
- 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 +0 -74
- 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 +0 -1
- 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 +0 -536
- 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 +0 -1
- 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 +0 -20
- 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 +0 -1
- 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 +0 -19
- 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 +0 -1
- 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 +0 -20
- 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 +0 -1
- 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 +0 -91
- 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 +0 -1
- 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 +0 -51
- 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 +0 -1
- 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 +0 -20
- 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 +0 -1
- 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 +0 -50
- 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 +0 -1
- 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 +0 -38
- 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 +0 -1
- 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 +0 -1
- 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 +0 -50
- 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 +0 -1
- 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 +0 -38
- 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 +0 -1
- 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 +0 -6
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js +0 -14
- package/dist/src/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/src/styles/mantine/button.module.css.js +0 -4
- package/dist/src/styles/mantine/button.module.css.js.map +0 -1
- package/dist/src/styles/mantine/password-input.module.css.js +0 -4
- package/dist/src/styles/mantine/password-input.module.css.js.map +0 -1
- package/dist/src/styles/mantine/text-input-sm.module.css.js +0 -4
- package/dist/src/styles/mantine/text-input-sm.module.css.js.map +0 -1
- package/dist/src/styles/mantine/text-input.module.css.js +0 -4
- package/dist/src/styles/mantine/text-input.module.css.js.map +0 -1
- /package/dist/src/node_modules/{.pnpm/@turf_helpers@7.2.0/node_modules/@turf → @turf}/helpers/dist/esm/index.js +0 -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 → nuqs}/dist/adapters/next/app.js +0 -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 → nuqs}/dist/chunk-5WWTJYGR.js +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tmlmobilidade/ui",
|
3
|
-
"version": "
|
3
|
+
"version": "20250325.1729.37",
|
4
4
|
"author": "",
|
5
5
|
"license": "ISC",
|
6
6
|
"publishConfig": {
|
@@ -16,60 +16,61 @@
|
|
16
16
|
"scripts": {
|
17
17
|
"build": "npm run clean && tsx scripts/build.ts",
|
18
18
|
"clean": "rm -rf dist",
|
19
|
-
"
|
19
|
+
"dev2": "npm run clean && tsx scripts/watch.ts",
|
20
20
|
"lint": "eslint ./src"
|
21
21
|
},
|
22
22
|
"description": "",
|
23
23
|
"peerDependencies": {
|
24
|
-
"@turf/turf": "
|
25
|
-
"@vis.gl/react-maplibre": "
|
26
|
-
"maplibre-gl": "
|
27
|
-
"next": "
|
28
|
-
"nuqs": "
|
29
|
-
"react": "
|
30
|
-
"react-dom": "
|
31
|
-
"swr": "
|
24
|
+
"@turf/turf": "7.x",
|
25
|
+
"@vis.gl/react-maplibre": "8.x",
|
26
|
+
"maplibre-gl": "5.x",
|
27
|
+
"next": "14.x || 15.x",
|
28
|
+
"nuqs": "2.x",
|
29
|
+
"react": "18.x || 19.x",
|
30
|
+
"react-dom": "18.x || 19.x",
|
31
|
+
"swr": "2.x"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@mantine/core": "
|
35
|
-
"@mantine/dates": "
|
36
|
-
"@mantine/form": "
|
37
|
-
"@mantine/hooks": "
|
38
|
-
"@mantine/modals": "
|
39
|
-
"@mantine/notifications": "
|
40
|
-
"@tabler/icons-react": "3.
|
41
|
-
"@types/geojson": "
|
42
|
-
"clsx": "
|
43
|
-
"js-cookie": "
|
44
|
-
"luxon": "
|
45
|
-
"react-viewport-list": "
|
34
|
+
"@mantine/core": "7.17.2",
|
35
|
+
"@mantine/dates": "7.17.2",
|
36
|
+
"@mantine/form": "7.17.2",
|
37
|
+
"@mantine/hooks": "7.17.2",
|
38
|
+
"@mantine/modals": "7.17.2",
|
39
|
+
"@mantine/notifications": "7.17.2",
|
40
|
+
"@tabler/icons-react": "3.31.0",
|
41
|
+
"@types/geojson": "7946.0.16",
|
42
|
+
"clsx": "2.1.1",
|
43
|
+
"js-cookie": "3.0.5",
|
44
|
+
"luxon": "3.5.0",
|
45
|
+
"react-viewport-list": "7.1.2"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
48
|
-
"@rollup/plugin-commonjs": "
|
49
|
-
"@rollup/plugin-node-resolve": "
|
50
|
-
"@rollup/plugin-typescript": "
|
51
|
-
"@turf/helpers": "
|
52
|
-
"@turf/turf": "
|
53
|
-
"@types/js-cookie": "
|
54
|
-
"@types/luxon": "
|
55
|
-
"@types/node": "22.
|
56
|
-
"@types/react": "
|
57
|
-
"@types/react-dom": "19.0.
|
58
|
-
"@vis.gl/react-maplibre": "
|
59
|
-
"maplibre-gl": "
|
60
|
-
"nodemon": "
|
61
|
-
"nuqs": "
|
62
|
-
"postcss": "
|
48
|
+
"@rollup/plugin-commonjs": "28.0.3",
|
49
|
+
"@rollup/plugin-node-resolve": "16.0.1",
|
50
|
+
"@rollup/plugin-typescript": "12.1.2",
|
51
|
+
"@turf/helpers": "7.2.0",
|
52
|
+
"@turf/turf": "7.2.0",
|
53
|
+
"@types/js-cookie": "3.0.6",
|
54
|
+
"@types/luxon": "3.4.2",
|
55
|
+
"@types/node": "22.13.13",
|
56
|
+
"@types/react": "19.0.12",
|
57
|
+
"@types/react-dom": "19.0.4",
|
58
|
+
"@vis.gl/react-maplibre": "8.0.1",
|
59
|
+
"maplibre-gl": "5.2.0",
|
60
|
+
"nodemon": "3.1.9",
|
61
|
+
"nuqs": "2.4.1",
|
62
|
+
"postcss": "8.5.3",
|
63
63
|
"react": "19.0.0",
|
64
64
|
"react-dom": "19.0.0",
|
65
|
-
"rollup": "
|
66
|
-
"rollup-plugin-dts": "
|
67
|
-
"rollup-plugin-postcss": "
|
68
|
-
"rollup-
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
72
|
-
"
|
73
|
-
"
|
65
|
+
"rollup": "4.37.0",
|
66
|
+
"rollup-plugin-dts": "6.2.1",
|
67
|
+
"rollup-plugin-postcss": "4.0.2",
|
68
|
+
"rollup-plugin-tsconfig-paths": "1.5.2",
|
69
|
+
"rollup-preserve-directives": "1.1.3",
|
70
|
+
"swr": "2.3.3",
|
71
|
+
"ts-node-dev": "2.0.0",
|
72
|
+
"tslib": "2.8.1",
|
73
|
+
"tsx": "4.19.3",
|
74
|
+
"typescript": "5.8.2"
|
74
75
|
}
|
75
76
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"is-dynamic-usage-error.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file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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;;"}
|
@@ -1,20 +0,0 @@
|
|
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 {};
|
@@ -1,61 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
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,CAAA,CAAI,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAE,CAAA;AACb,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAK,CAAA,CAAA,CAAA,CAAA,CAAC,sDAAsD,CAAC;;AAExE,CAAA,CAAA,CAAA,CAAA,OAAO,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACf;AAEO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAC,CAAA,CACjC,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACR,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,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,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAC,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,EAChB,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAC1B,WAAW,CAAE,CAAA;gBACZ,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAChC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,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,12 +0,0 @@
|
|
1
|
-
export declare const THEMES: readonly ["ocean", "park", "path", "pool", "royal", "street"];
|
2
|
-
export interface ThemeContextType {
|
3
|
-
setTheme: (theme: typeof THEMES[number]) => void;
|
4
|
-
theme: typeof THEMES[number];
|
5
|
-
}
|
6
|
-
export declare const ThemeContext: import("react").Context<ThemeContextType>;
|
7
|
-
export interface ThemeProviderProps {
|
8
|
-
children: React.ReactNode;
|
9
|
-
fontFamilyStyle?: string;
|
10
|
-
initialTheme?: typeof THEMES[number];
|
11
|
-
}
|
12
|
-
export default function ThemeProvider({ children, fontFamilyStyle, initialTheme }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,49 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
import { j as jsxRuntimeExports } from '../../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js';
|
3
|
-
import { themeData } from '../../../styles/theme.js';
|
4
|
-
import { MantineProvider } from '@mantine/core';
|
5
|
-
import { DatesProvider } from '@mantine/dates';
|
6
|
-
import { ModalsProvider } from '@mantine/modals';
|
7
|
-
import { Notifications } from '@mantine/notifications';
|
8
|
-
import { createContext, useState, useEffect, useMemo } from 'react';
|
9
|
-
|
10
|
-
/* * */
|
11
|
-
const THEMES = ['ocean', 'park', 'path', 'pool', 'royal', 'street'];
|
12
|
-
const ThemeContext = createContext({
|
13
|
-
setTheme: () => { },
|
14
|
-
theme: THEMES[0],
|
15
|
-
});
|
16
|
-
/* * */
|
17
|
-
function ThemeProvider({ children, fontFamilyStyle, initialTheme }) {
|
18
|
-
//
|
19
|
-
//
|
20
|
-
// A. Setup variables
|
21
|
-
const [currentTheme, setCurrentTheme] = useState(initialTheme || THEMES[0]);
|
22
|
-
const mantineDatesSettings = {
|
23
|
-
firstDayOfWeek: 1,
|
24
|
-
locale: 'pt',
|
25
|
-
timezone: 'Europe/Lisbon',
|
26
|
-
weekendDays: [6, 0],
|
27
|
-
};
|
28
|
-
//
|
29
|
-
// B. Define context value
|
30
|
-
useEffect(() => {
|
31
|
-
const root = document.documentElement;
|
32
|
-
root.setAttribute('data-theme', currentTheme);
|
33
|
-
// root.style.setProperty('--font-family', workSans.style.fontFamily);
|
34
|
-
root.style.setProperty('--font-family', fontFamilyStyle || 'system');
|
35
|
-
}, [currentTheme]);
|
36
|
-
//
|
37
|
-
// C. Define context value
|
38
|
-
const contextValue = useMemo(() => ({
|
39
|
-
setTheme: (theme) => setCurrentTheme(theme),
|
40
|
-
theme: currentTheme,
|
41
|
-
}), [currentTheme]);
|
42
|
-
//
|
43
|
-
// D. Render components
|
44
|
-
return (jsxRuntimeExports.jsx(ThemeContext.Provider, { value: contextValue, children: jsxRuntimeExports.jsx(MantineProvider, { defaultColorScheme: "auto", theme: themeData, children: jsxRuntimeExports.jsx(DatesProvider, { settings: mantineDatesSettings, children: jsxRuntimeExports.jsxs(ModalsProvider, { children: [jsxRuntimeExports.jsx(Notifications, { styles: { root: { marginTop: '60px' } } }), children] }) }) }) }));
|
45
|
-
//
|
46
|
-
}
|
47
|
-
|
48
|
-
export { THEMES, ThemeContext, ThemeProvider as default };
|
49
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../src/components/theme/ThemeProvider/index.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;AAYA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,EAAE,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAelE,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAY,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAa,CAAmB;AAC3D,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,CAAG,CAAA,CAAA;AAClB,CAAA,CAAA,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AAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAC5C,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAAC,sBAAA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,CAAA,CAAA,CAAA,CAAA,QAAA,CAAA,CAAA,CACdD,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,aAAa,IAAC,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,EAAE,CAAI,CAAA,CAAA,CAAA,CAAA,CAAE,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,EAAE,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAE,CAAA,CAAA,CAAI,CAAA,CACzD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CACO,CACF,CAAA,CAAA,CAAA,CAAA,CACC,EACK,CAAA,CAAA;;AAI1B;;"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
import { useContext } from 'react';
|
3
|
-
import { ThemeContext } from './index.js';
|
4
|
-
|
5
|
-
/* * */
|
6
|
-
function useTheme() {
|
7
|
-
const context = useContext(ThemeContext);
|
8
|
-
if (!context) {
|
9
|
-
throw new Error('useTheme must be used within a ThemeProvider');
|
10
|
-
}
|
11
|
-
return context;
|
12
|
-
}
|
13
|
-
|
14
|
-
export { useTheme as default };
|
15
|
-
//# sourceMappingURL=use-theme.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use-theme.js","sources":["../../../../../../src/components/theme/ThemeProvider/use-theme.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAQA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,QAAQ,CAAA,CAAA,CAAA;AAC/B,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,YAAY,CAAC;CACxC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAE,CAAA;AACb,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAK,CAAA,CAAA,CAAA,CAAA,CAAC,8CAA8C,CAAC;;AAEhE,CAAA,CAAA,CAAA,CAAA,OAAO,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACf;;"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { __exports as _interop_require_default$1 } from '../../../../../../../_virtual/_interop_require_default.js';
|
2
|
-
|
3
|
-
function _interop_require_default(obj) {
|
4
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
5
|
-
}
|
6
|
-
_interop_require_default$1._ = _interop_require_default;
|
7
|
-
|
8
|
-
export { _interop_require_default$1 as default };
|
9
|
-
//# sourceMappingURL=_interop_require_default.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_interop_require_default.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@swc+helpers@0.5.15/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_1"],"mappings":";;AAEA,SAAS,wBAAwB,CAAC,GAAG,EAAE;AACvC,IAAI,OAAO,GAAG,IAAI,GAAG,CAAC,UAAU,GAAG,GAAG,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE;AACzD;AACAA,0BAAA,CAAA,CAAS,GAAG;;;;","x_google_ignoreList":[0]}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import { __exports as _interop_require_wildcard$1 } from '../../../../../../../_virtual/_interop_require_wildcard.js';
|
2
|
-
|
3
|
-
function _getRequireWildcardCache(nodeInterop) {
|
4
|
-
if (typeof WeakMap !== "function") return null;
|
5
|
-
|
6
|
-
var cacheBabelInterop = new WeakMap();
|
7
|
-
var cacheNodeInterop = new WeakMap();
|
8
|
-
|
9
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
10
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
11
|
-
})(nodeInterop);
|
12
|
-
}
|
13
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
14
|
-
if (!nodeInterop && obj && obj.__esModule) return obj;
|
15
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
|
16
|
-
|
17
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
18
|
-
|
19
|
-
if (cache && cache.has(obj)) return cache.get(obj);
|
20
|
-
|
21
|
-
var newObj = { __proto__: null };
|
22
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
23
|
-
|
24
|
-
for (var key in obj) {
|
25
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
26
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
27
|
-
if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
|
28
|
-
else newObj[key] = obj[key];
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
newObj.default = obj;
|
33
|
-
|
34
|
-
if (cache) cache.set(obj, newObj);
|
35
|
-
|
36
|
-
return newObj;
|
37
|
-
}
|
38
|
-
_interop_require_wildcard$1._ = _interop_require_wildcard;
|
39
|
-
|
40
|
-
export { _interop_require_wildcard$1 as default };
|
41
|
-
//# sourceMappingURL=_interop_require_wildcard.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_interop_require_wildcard.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@swc+helpers@0.5.15/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_1"],"mappings":";;AAEA,SAAS,wBAAwB,CAAC,WAAW,EAAE;AAC/C,IAAI,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE,OAAO,IAAI;;AAElD,IAAI,IAAI,iBAAiB,GAAG,IAAI,O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B,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC;AACvC;AACA;;AAEA,IAAI,MAAM,CAAC,OAAO,GAAG,GAAG;;AAExB,IAAI,IAAI,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC;;AAErC,IAAI,OAAO,MAAM;AACjB;AACAA,2BAAA,CAAA,CAAS,GAAG;;;;","x_google_ignoreList":[0]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/@turf+helpers@7.2.0/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,EA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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]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"bailout-to-client-rendering.js","sources":["../../../../../../../../../../../../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"],"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}\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AC;IACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -1,58 +0,0 @@
|
|
1
|
-
import { __module as forbidden } from '../../../../../../../../_virtual/forbidden.js';
|
2
|
-
import { h as httpAccessFallbackExports } from './http-access-fallback/http-access-fallback.js';
|
3
|
-
|
4
|
-
(function (module, exports) {
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
6
|
-
value: true
|
7
|
-
});
|
8
|
-
Object.defineProperty(exports, "forbidden", {
|
9
|
-
enumerable: true,
|
10
|
-
get: function() {
|
11
|
-
return forbidden;
|
12
|
-
}
|
13
|
-
});
|
14
|
-
const _httpaccessfallback = httpAccessFallbackExports;
|
15
|
-
// TODO: Add `forbidden` docs
|
16
|
-
/**
|
17
|
-
* @experimental
|
18
|
-
* This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)
|
19
|
-
* within a route segment as well as inject a tag.
|
20
|
-
*
|
21
|
-
* `forbidden()` can be used in
|
22
|
-
* [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),
|
23
|
-
* [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and
|
24
|
-
* [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).
|
25
|
-
*
|
26
|
-
* Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)
|
27
|
-
*/ const DIGEST = "" + _httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE + ";403";
|
28
|
-
function forbidden() {
|
29
|
-
if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {
|
30
|
-
throw Object.defineProperty(new Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."), "__NEXT_ERROR_CODE", {
|
31
|
-
value: "E488",
|
32
|
-
enumerable: false,
|
33
|
-
configurable: true
|
34
|
-
});
|
35
|
-
}
|
36
|
-
// eslint-disable-next-line no-throw-literal
|
37
|
-
const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", {
|
38
|
-
value: "E394",
|
39
|
-
enumerable: false,
|
40
|
-
configurable: true
|
41
|
-
});
|
42
|
-
error.digest = DIGEST;
|
43
|
-
throw error;
|
44
|
-
}
|
45
|
-
|
46
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
47
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
48
|
-
Object.assign(exports.default, exports);
|
49
|
-
module.exports = exports.default;
|
50
|
-
}
|
51
|
-
|
52
|
-
|
53
|
-
} (forbidden, forbidden.exports));
|
54
|
-
|
55
|
-
var forbiddenExports = forbidden.exports;
|
56
|
-
|
57
|
-
export { forbiddenExports as f };
|
58
|
-
//# sourceMappingURL=forbidden.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"forbidden.js","sources":["../../../../../../../../../../../../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"],"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,CAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,KAAI,KAAK,EAAE;AACX,EAAC,CAAC;AACF,CAAA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;KACxC,UAAU,EAAE,IAAI;KAChB,GAAG,EAAE,WAAW;AACpB,SAAQ,OAAO,SAAS;AACxB;AACA,EAAC,CAAC;CACF,MAAM,mBAAmB,GAAGA,yBAAsD;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;KACI,MAAM,MAAM,GAAG,EAAE,GAAG,mBAAmB,CAAC,8BAA8B,GAAG,MAAM;AACnF,CAAA,SAAS,SAAS,GAAG;AACrB,KAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE;AAC1D,SAAQ,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,6GAA6G,CAAC,EAAE,mBAAmB,EAAE;aACvK,KAAK,EAAE,MAAM;aACb,UAAU,EAAE,KAAK;AAC7B,aAAY,YAAY,EAAE;AAC1B,UAAS,CAAC;AACV;AACA;AACA,KAAI,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,mBAAmB,EAAE;SACxE,KAAK,EAAE,MAAM;SACb,UAAU,EAAE,KAAK;AACzB,SAAQ,YAAY,EAAE;AACtB,MAAK,CAAC;AACN,KAAI,KAAK,CAAC,MAAM,GAAG,MAAM;AACzB,KAAI,MAAM,KAAK;AACf;;AAEA,CAAA,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,GAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;GACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;GACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -1,46 +0,0 @@
|
|
1
|
-
import { __module as hooksServerContext } from '../../../../../../../../_virtual/hooks-server-context.js';
|
2
|
-
|
3
|
-
(function (module, exports) {
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
function _export(target, all) {
|
8
|
-
for(var name in all)Object.defineProperty(target, name, {
|
9
|
-
enumerable: true,
|
10
|
-
get: all[name]
|
11
|
-
});
|
12
|
-
}
|
13
|
-
_export(exports, {
|
14
|
-
DynamicServerError: function() {
|
15
|
-
return DynamicServerError;
|
16
|
-
},
|
17
|
-
isDynamicServerError: function() {
|
18
|
-
return isDynamicServerError;
|
19
|
-
}
|
20
|
-
});
|
21
|
-
const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';
|
22
|
-
class DynamicServerError extends Error {
|
23
|
-
constructor(description){
|
24
|
-
super("Dynamic server usage: " + description), this.description = description, this.digest = DYNAMIC_ERROR_CODE;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
function isDynamicServerError(err) {
|
28
|
-
if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {
|
29
|
-
return false;
|
30
|
-
}
|
31
|
-
return err.digest === DYNAMIC_ERROR_CODE;
|
32
|
-
}
|
33
|
-
|
34
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
35
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
36
|
-
Object.assign(exports.default, exports);
|
37
|
-
module.exports = exports.default;
|
38
|
-
}
|
39
|
-
|
40
|
-
|
41
|
-
} (hooksServerContext, hooksServerContext.exports));
|
42
|
-
|
43
|
-
var hooksServerContextExports = hooksServerContext.exports;
|
44
|
-
|
45
|
-
export { hooksServerContextExports as h };
|
46
|
-
//# sourceMappingURL=hooks-server-context.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hooks-server-context.js","sources":["../../../../../../../../../../../../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"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n DynamicServerError: null,\n isDynamicServerError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n DynamicServerError: function() {\n return DynamicServerError;\n },\n isDynamicServerError: function() {\n return isDynamicServerError;\n }\n});\nconst DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';\nclass DynamicServerError extends Error {\n constructor(description){\n super(\"Dynamic server usage: \" + description), this.description = description, this.digest = DYNAMIC_ERROR_CODE;\n }\n}\nfunction isDynamicServerError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {\n return false;\n }\n return err.digest === DYNAMIC_ERROR_CODE;\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=hooks-server-context.js.map"],"names":[],"mappings":";;;AACA,CAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,KAAI,KAAK,EAAE;AACX,EAAC,CAAC;AAKF,CAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,KAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;SACpD,UAAU,EAAE,IAAI;AACxB,SAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,MAAK,CAAC;AACN;CACA,OAAO,CAAC,OAAO,EAAE;KACb,kBAAkB,EAAE,WAAW;AACnC,SAAQ,OAAO,kBAAkB;MAC5B;KACD,oBAAoB,EAAE,WAAW;AACrC,SAAQ,OAAO,oBAAoB;AACnC;AACA,EAAC,CAAC;CACF,MAAM,kBAAkB,GAAG,sBAAsB;CACjD,MAAM,kBAAkB,SAAS,KAAK,CAAC;KACnC,WAAW,CAAC,WAAW,CAAC;AAC5B,SAAQ,KAAK,CAAC,wBAAwB,GAAG,WAAW,CAAC,EAAE,IAAI,CAAC,WAAW,GAAG,WAAW,EAAE,IAAI,CAAC,MAAM,GAAG,kBAAkB;AACvH;AACA;CACA,SAAS,oBAAoB,CAAC,GAAG,EAAE;KAC/B,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IA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