@tmlmobilidade/ui 20250327.1120.2 → 20250327.1457.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +14 -14
- package/dist/index.js +53 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +1 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +1 -0
- package/dist/node_modules/@turf/helpers/dist/esm/index.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/forbidden.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/not-found.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-error.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/redirect.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/unauthorized.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js.map +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js.map +1 -0
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js.map +1 -0
- package/dist/node_modules/next/dist/lib/scheduler.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +1 -0
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +1 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/segment.js.map +1 -0
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +1 -0
- package/dist/node_modules/next/navigation.js.map +1 -0
- package/dist/node_modules/nuqs/dist/adapters/next/app.js.map +1 -0
- package/dist/node_modules/nuqs/dist/chunk-5WWTJYGR.js.map +1 -0
- package/dist/node_modules/nuqs/dist/chunk-C3RNEY2H.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/src/components/AppProvider/index.js +2 -2
- package/dist/src/components/AppProvider/index.js.map +1 -1
- package/dist/src/components/common/ActionIcon/index.js +1 -1
- package/dist/src/components/common/ActionIcon/index.js.map +1 -1
- package/dist/src/components/common/AppLogos/index.js +1 -1
- package/dist/src/components/common/AppLogos/index.js.map +1 -1
- package/dist/src/components/common/Badge/index.js +1 -1
- package/dist/src/components/common/Badge/index.js.map +1 -1
- package/dist/src/components/common/Button/index.js +1 -1
- package/dist/src/components/common/Button/index.js.map +1 -1
- package/dist/src/components/common/Checkbox/index.js +1 -1
- package/dist/src/components/common/Checkbox/index.js.map +1 -1
- package/dist/src/components/common/Combobox/index.js +1 -1
- package/dist/src/components/common/Combobox/index.js.map +1 -1
- package/dist/src/components/common/ComponentWrapper/index.js +1 -1
- package/dist/src/components/common/ComponentWrapper/index.js.map +1 -1
- package/dist/src/components/common/DateTimePicker/index.js +1 -1
- package/dist/src/components/common/DateTimePicker/index.js.map +1 -1
- package/dist/src/components/common/DeleteActionIcon/index.js +1 -1
- package/dist/src/components/common/DeleteActionIcon/index.js.map +1 -1
- package/dist/src/components/common/Description/index.js +1 -1
- package/dist/src/components/common/Description/index.js.map +1 -1
- package/dist/src/components/common/FileButton/index.js +1 -1
- package/dist/src/components/common/FileButton/index.js.map +1 -1
- package/dist/src/components/common/Label/index.js +1 -1
- package/dist/src/components/common/Label/index.js.map +1 -1
- package/dist/src/components/common/Menu/index.js +1 -1
- package/dist/src/components/common/Menu/index.js.map +1 -1
- package/dist/src/components/common/PasswordInput/index.js +1 -1
- package/dist/src/components/common/PasswordInput/index.js.map +1 -1
- package/dist/src/components/common/SegmentedControl/index.js +1 -1
- package/dist/src/components/common/SegmentedControl/index.js.map +1 -1
- package/dist/src/components/common/Slider/index.js +1 -1
- package/dist/src/components/common/Slider/index.js.map +1 -1
- package/dist/src/components/common/Switch/index.js +1 -1
- package/dist/src/components/common/Switch/index.js.map +1 -1
- package/dist/src/components/common/Tag/index.js +1 -1
- package/dist/src/components/common/Tag/index.js.map +1 -1
- package/dist/src/components/common/Text/index.js +1 -1
- package/dist/src/components/common/Text/index.js.map +1 -1
- package/dist/src/components/common/TextArea/index.js +1 -1
- package/dist/src/components/common/TextArea/index.js.map +1 -1
- package/dist/src/components/common/TextInput/index.js +1 -1
- package/dist/src/components/common/TextInput/index.js.map +1 -1
- package/dist/src/components/common/Tooltip/index.js +1 -1
- package/dist/src/components/common/Tooltip/index.js.map +1 -1
- package/dist/src/components/datatable/DataTable/index.js +1 -1
- package/dist/src/components/datatable/DataTable/index.js.map +1 -1
- package/dist/src/components/datatable/DataTableContext/index.js +1 -1
- package/dist/src/components/datatable/DataTableContext/index.js.map +1 -1
- package/dist/src/components/datatable/DataTableHeader/index.js +1 -1
- package/dist/src/components/datatable/DataTableHeader/index.js.map +1 -1
- package/dist/src/components/datatable/DataTableRow/index.js +1 -1
- package/dist/src/components/datatable/DataTableRow/index.js.map +1 -1
- package/dist/src/components/datatable/DataTableTitle/index.js +1 -1
- package/dist/src/components/datatable/DataTableTitle/index.js.map +1 -1
- package/dist/src/components/layout/AppWrapper/Header/index.js +1 -1
- package/dist/src/components/layout/AppWrapper/Header/index.js.map +1 -1
- package/dist/src/components/layout/AppWrapper/index.js +9 -3
- package/dist/src/components/layout/AppWrapper/index.js.map +1 -1
- package/dist/src/components/layout/Grid/index.js +1 -1
- package/dist/src/components/layout/Grid/index.js.map +1 -1
- package/dist/src/components/layout/Section/index.js +1 -1
- package/dist/src/components/layout/Section/index.js.map +1 -1
- package/dist/src/components/layout/Sidebar/index.js +1 -1
- package/dist/src/components/layout/Sidebar/index.js.map +1 -1
- package/dist/src/components/layout/SimpleSurface/index.js +1 -1
- package/dist/src/components/layout/SimpleSurface/index.js.map +1 -1
- package/dist/src/components/layout/Spacer/index.js +1 -1
- package/dist/src/components/layout/Spacer/index.js.map +1 -1
- package/dist/src/components/layout/Surface/index.js +1 -1
- package/dist/src/components/layout/Surface/index.js.map +1 -1
- package/dist/src/components/map/MapView/index.js +1 -1
- package/dist/src/components/map/MapView/index.js.map +1 -1
- package/dist/src/components/map/MapViewStyleActiveStops/index.js +1 -1
- package/dist/src/components/map/MapViewStyleActiveStops/index.js.map +1 -1
- package/dist/src/components/map/MapViewStylePath/index.js +1 -1
- package/dist/src/components/map/MapViewStylePath/index.js.map +1 -1
- package/dist/src/components/map/MapViewStyleStops/index.js +1 -1
- package/dist/src/components/map/MapViewStyleStops/index.js.map +1 -1
- package/dist/src/components/map/MapViewStyleVehicles/index.js +1 -1
- package/dist/src/components/map/MapViewStyleVehicles/index.js.map +1 -1
- package/dist/src/components/theme/ThemeSwitcher/index.js +1 -1
- package/dist/src/components/theme/ThemeSwitcher/index.js.map +1 -1
- package/dist/src/components/theme/Themer/index.js +1 -1
- package/dist/src/components/theme/Themer/index.js.map +1 -1
- package/dist/src/contexts/MapOptions.context.js +1 -1
- package/dist/src/contexts/MapOptions.context.js.map +1 -1
- package/dist/src/contexts/Me.context.js +9 -2
- package/dist/src/contexts/Me.context.js.map +1 -1
- package/dist/src/contexts/Sidebar.context.js +1 -1
- package/dist/src/contexts/Sidebar.context.js.map +1 -1
- package/dist/src/contexts/Theme.context.js +1 -1
- package/dist/src/contexts/Theme.context.js.map +1 -1
- package/dist/src/hooks/toast.js.map +1 -1
- package/dist/src/hooks/use-is-active-domain.js.map +1 -1
- package/dist/src/hooks/use-is-active-page.js.map +1 -1
- package/dist/src/hooks/use-screen-size.js.map +1 -1
- package/dist/src/hooks/use-search-query.js.map +1 -1
- package/dist/src/lib/generate-icon.js.map +1 -1
- package/dist/src/lib/getCssVariableValue.js.map +1 -1
- package/dist/src/lib/http.js.map +1 -1
- package/dist/src/lib/map.utils.js +1 -1
- package/dist/src/lib/map.utils.js.map +1 -1
- package/dist/src/lib/utils.js.map +1 -1
- package/dist/src/settings/assets.settings.js.map +1 -1
- package/dist/src/settings/map.settings.js.map +1 -1
- package/dist/src/styles/theme.js.map +1 -1
- package/package.json +2 -2
- package/dist/src/components/AppProvider/index.d.ts +0 -2
- package/dist/src/components/common/ActionIcon/index.d.ts +0 -6
- package/dist/src/components/common/AppLogos/index.d.ts +0 -5
- package/dist/src/components/common/Badge/index.d.ts +0 -13
- package/dist/src/components/common/Button/index.d.ts +0 -12
- package/dist/src/components/common/Checkbox/index.d.ts +0 -3
- package/dist/src/components/common/Combobox/index.d.ts +0 -30
- package/dist/src/components/common/ComponentWrapper/index.d.ts +0 -7
- package/dist/src/components/common/DateTimePicker/index.d.ts +0 -13
- package/dist/src/components/common/DeleteActionIcon/index.d.ts +0 -54
- package/dist/src/components/common/Description/index.d.ts +0 -6
- package/dist/src/components/common/FileButton/index.d.ts +0 -13
- package/dist/src/components/common/Label/index.d.ts +0 -8
- package/dist/src/components/common/Menu/index.d.ts +0 -18
- package/dist/src/components/common/PasswordInput/index.d.ts +0 -2
- package/dist/src/components/common/SegmentedControl/index.d.ts +0 -5
- package/dist/src/components/common/Slider/index.d.ts +0 -4
- package/dist/src/components/common/Switch/index.d.ts +0 -4
- package/dist/src/components/common/Tag/index.d.ts +0 -8
- package/dist/src/components/common/Text/index.d.ts +0 -8
- package/dist/src/components/common/TextArea/index.d.ts +0 -3
- package/dist/src/components/common/TextInput/index.d.ts +0 -6
- package/dist/src/components/common/Tooltip/index.d.ts +0 -3
- package/dist/src/components/common/Tree/index.d.ts +0 -1
- package/dist/src/components/common/index.d.ts +0 -23
- package/dist/src/components/datatable/DataTable/index.d.ts +0 -2
- package/dist/src/components/datatable/DataTableContext/index.d.ts +0 -30
- package/dist/src/components/datatable/DataTableFilter/index.d.ts +0 -1
- package/dist/src/components/datatable/DataTableHeader/index.d.ts +0 -2
- package/dist/src/components/datatable/DataTableRow/index.d.ts +0 -6
- package/dist/src/components/datatable/DataTableTitle/index.d.ts +0 -2
- package/dist/src/components/datatable/datatable.type.d.ts +0 -149
- package/dist/src/components/datatable/index.d.ts +0 -2
- package/dist/src/components/index.d.ts +0 -6
- package/dist/src/components/layout/AppWrapper/Header/index.d.ts +0 -2
- package/dist/src/components/layout/AppWrapper/Options/index.d.ts +0 -1
- package/dist/src/components/layout/AppWrapper/index.d.ts +0 -14
- package/dist/src/components/layout/Grid/index.d.ts +0 -8
- package/dist/src/components/layout/Section/index.d.ts +0 -12
- package/dist/src/components/layout/Sidebar/index.d.ts +0 -10
- package/dist/src/components/layout/SimpleSurface/index.d.ts +0 -6
- package/dist/src/components/layout/Spacer/index.d.ts +0 -7
- package/dist/src/components/layout/Surface/index.d.ts +0 -19
- package/dist/src/components/layout/index.d.ts +0 -8
- package/dist/src/components/map/MapView/index.d.ts +0 -28
- package/dist/src/components/map/MapViewStyleActiveStops/index.d.ts +0 -8
- package/dist/src/components/map/MapViewStylePath/index.d.ts +0 -10
- package/dist/src/components/map/MapViewStyleStops/index.d.ts +0 -9
- package/dist/src/components/map/MapViewStyleVehicles/index.d.ts +0 -9
- package/dist/src/components/map/index.d.ts +0 -5
- package/dist/src/components/theme/ThemeSwitcher/index.d.ts +0 -5
- package/dist/src/components/theme/Themer/index.d.ts +0 -26
- package/dist/src/components/theme/index.d.ts +0 -2
- package/dist/src/contexts/MapOptions.context.d.ts +0 -23
- package/dist/src/contexts/Me.context.d.ts +0 -14
- package/dist/src/contexts/Sidebar.context.d.ts +0 -14
- package/dist/src/contexts/Theme.context.d.ts +0 -13
- package/dist/src/contexts/index.d.ts +0 -4
- package/dist/src/hooks/index.d.ts +0 -5
- package/dist/src/hooks/toast.d.ts +0 -64
- package/dist/src/hooks/use-is-active-domain.d.ts +0 -1
- package/dist/src/hooks/use-is-active-page.d.ts +0 -1
- package/dist/src/hooks/use-screen-size.d.ts +0 -1
- package/dist/src/hooks/use-search-query.d.ts +0 -9
- package/dist/src/index.d.ts +0 -8
- package/dist/src/index.js +0 -53
- package/dist/src/lib/generate-icon.d.ts +0 -1
- package/dist/src/lib/getCssVariableValue.d.ts +0 -1
- package/dist/src/lib/http.d.ts +0 -16
- package/dist/src/lib/map.utils.d.ts +0 -28
- package/dist/src/lib/utils.d.ts +0 -53
- package/dist/src/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +0 -1
- package/dist/src/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +0 -1
- package/dist/src/node_modules/@turf/helpers/dist/esm/index.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/bailout-to-client-rendering.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/forbidden.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/is-next-router-error.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/navigation.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/navigation.react-server.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/not-found.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/redirect-error.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/redirect-status-code.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/redirect.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/unauthorized.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.browser.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.js.map +0 -1
- package/dist/src/node_modules/next/dist/client/components/unstable-rethrow.server.js.map +0 -1
- package/dist/src/node_modules/next/dist/lib/metadata/metadata-constants.js.map +0 -1
- package/dist/src/node_modules/next/dist/lib/scheduler.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
- package/dist/src/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/segment.js.map +0 -1
- package/dist/src/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +0 -1
- package/dist/src/node_modules/next/navigation.js.map +0 -1
- package/dist/src/node_modules/nuqs/dist/adapters/next/app.js.map +0 -1
- package/dist/src/node_modules/nuqs/dist/chunk-5WWTJYGR.js.map +0 -1
- package/dist/src/node_modules/nuqs/dist/chunk-C3RNEY2H.js.map +0 -1
- package/dist/src/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/src/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/src/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/src/settings/assets.settings.d.ts +0 -128
- package/dist/src/settings/map.settings.d.ts +0 -84
- package/dist/src/styles/theme.d.ts +0 -2
- /package/dist/{src/_virtual → _virtual}/_interop_require_default.js +0 -0
- /package/dist/{src/_virtual → _virtual}/_interop_require_default.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/_interop_require_wildcard.js +0 -0
- /package/dist/{src/_virtual → _virtual}/_interop_require_wildcard.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/action-async-storage-instance.js +0 -0
- /package/dist/{src/_virtual → _virtual}/action-async-storage-instance.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/action-async-storage.external.js +0 -0
- /package/dist/{src/_virtual → _virtual}/action-async-storage.external.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/app-router-context.shared-runtime.js +0 -0
- /package/dist/{src/_virtual → _virtual}/app-router-context.shared-runtime.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/async-local-storage.js +0 -0
- /package/dist/{src/_virtual → _virtual}/async-local-storage.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/bailout-to-client-rendering.js +0 -0
- /package/dist/{src/_virtual → _virtual}/bailout-to-client-rendering.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/bailout-to-csr.js +0 -0
- /package/dist/{src/_virtual → _virtual}/bailout-to-csr.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/dynamic-rendering-utils.js +0 -0
- /package/dist/{src/_virtual → _virtual}/dynamic-rendering-utils.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/dynamic-rendering.js +0 -0
- /package/dist/{src/_virtual → _virtual}/dynamic-rendering.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/forbidden.js +0 -0
- /package/dist/{src/_virtual → _virtual}/forbidden.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/get-segment-value.js +0 -0
- /package/dist/{src/_virtual → _virtual}/get-segment-value.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/hooks-client-context.shared-runtime.js +0 -0
- /package/dist/{src/_virtual → _virtual}/hooks-client-context.shared-runtime.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/hooks-server-context.js +0 -0
- /package/dist/{src/_virtual → _virtual}/hooks-server-context.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/http-access-fallback.js +0 -0
- /package/dist/{src/_virtual → _virtual}/http-access-fallback.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/is-next-router-error.js +0 -0
- /package/dist/{src/_virtual → _virtual}/is-next-router-error.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/is-postpone.js +0 -0
- /package/dist/{src/_virtual → _virtual}/is-postpone.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/jsx-runtime.js +0 -0
- /package/dist/{src/_virtual → _virtual}/jsx-runtime.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/jsx-runtime2.js +0 -0
- /package/dist/{src/_virtual → _virtual}/jsx-runtime2.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/metadata-constants.js +0 -0
- /package/dist/{src/_virtual → _virtual}/metadata-constants.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation.js +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation.react-server.js +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation.react-server.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation2.js +0 -0
- /package/dist/{src/_virtual → _virtual}/navigation2.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/not-found.js +0 -0
- /package/dist/{src/_virtual → _virtual}/not-found.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/react-jsx-runtime.development.js +0 -0
- /package/dist/{src/_virtual → _virtual}/react-jsx-runtime.development.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/react-jsx-runtime.production.js +0 -0
- /package/dist/{src/_virtual → _virtual}/react-jsx-runtime.production.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect-error.js +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect-error.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect-status-code.js +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect-status-code.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect.js +0 -0
- /package/dist/{src/_virtual → _virtual}/redirect.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/scheduler.js +0 -0
- /package/dist/{src/_virtual → _virtual}/scheduler.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/segment.js +0 -0
- /package/dist/{src/_virtual → _virtual}/segment.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/server-inserted-html.shared-runtime.js +0 -0
- /package/dist/{src/_virtual → _virtual}/server-inserted-html.shared-runtime.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/static-generation-bailout.js +0 -0
- /package/dist/{src/_virtual → _virtual}/static-generation-bailout.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/unauthorized.js +0 -0
- /package/dist/{src/_virtual → _virtual}/unauthorized.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.browser.js +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.browser.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.js +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.server.js +0 -0
- /package/dist/{src/_virtual → _virtual}/unstable-rethrow.server.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/work-async-storage-instance.js +0 -0
- /package/dist/{src/_virtual → _virtual}/work-async-storage-instance.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/work-async-storage.external.js +0 -0
- /package/dist/{src/_virtual → _virtual}/work-async-storage.external.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/work-unit-async-storage-instance.js +0 -0
- /package/dist/{src/_virtual → _virtual}/work-unit-async-storage-instance.js.map +0 -0
- /package/dist/{src/_virtual → _virtual}/work-unit-async-storage.external.js +0 -0
- /package/dist/{src/_virtual → _virtual}/work-unit-async-storage.external.js.map +0 -0
- /package/dist/{src/index.css.map → index.css.map} +0 -0
- /package/dist/{src/index.js.map → index.js.map} +0 -0
- /package/dist/{src/node_modules → node_modules}/@swc/helpers/cjs/_interop_require_default.js +0 -0
- /package/dist/{src/node_modules → node_modules}/@swc/helpers/cjs/_interop_require_wildcard.js +0 -0
- /package/dist/{src/node_modules → node_modules}/@turf/helpers/dist/esm/index.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/bailout-to-client-rendering.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/forbidden.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/hooks-server-context.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/is-next-router-error.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/navigation.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/navigation.react-server.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/not-found.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/redirect-error.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/redirect-status-code.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/redirect.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/router-reducer/reducers/get-segment-value.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/static-generation-bailout.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/unauthorized.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/unstable-rethrow.browser.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/unstable-rethrow.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/client/components/unstable-rethrow.server.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/lib/metadata/metadata-constants.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/lib/scheduler.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/action-async-storage-instance.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/action-async-storage.external.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/async-local-storage.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/dynamic-rendering.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/work-async-storage-instance.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/work-async-storage.external.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/app-render/work-unit-async-storage.external.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/dynamic-rendering-utils.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/server/lib/router-utils/is-postpone.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/segment.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -0
- /package/dist/{src/node_modules → node_modules}/next/navigation.js +0 -0
- /package/dist/{src/node_modules → node_modules}/nuqs/dist/adapters/next/app.js +0 -0
- /package/dist/{src/node_modules → node_modules}/nuqs/dist/chunk-5WWTJYGR.js +0 -0
- /package/dist/{src/node_modules → node_modules}/nuqs/dist/chunk-C3RNEY2H.js +0 -0
- /package/dist/{src/node_modules → node_modules}/react/cjs/react-jsx-runtime.development.js +0 -0
- /package/dist/{src/node_modules → node_modules}/react/cjs/react-jsx-runtime.production.js +0 -0
- /package/dist/{src/node_modules → node_modules}/react/jsx-runtime.js +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generate-icon.js","sources":["
|
1
|
+
{"version":3,"file":"generate-icon.js","sources":["../../../src/lib/generate-icon.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEM,CAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAY,CAAC,CAAA,CAAA,CAAA,CAAY,CAAA,CAAA;AACxC,CAAA,CAAA,CAAA,CAAA,MAAM,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAI,CAAA,CAAA,CAAA,CAAC,IAAyB,CAAC;CAErD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAa,CAAE,CAAA;AACnB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAO,CAAI,CAAA,CAAA,CAAA;;AAGZ,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAa,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAwC,CAAC;AAC/D;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getCssVariableValue.js","sources":["
|
1
|
+
{"version":3,"file":"getCssVariableValue.js","sources":["../../../src/lib/getCssVariableValue.ts"],"sourcesContent":[null],"names":[],"mappings":";AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAmB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAoB,CAAI,CAAA,CAAA,CAAA,CAAA;IAC3D,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAO,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACnD,CAAA,CAAA,CAAA,CAAA,OAAO,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,gBAAgB,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAC,CAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;CACrD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAgB,CAAC,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAC7B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAI,CAAE,CAAA;AACT,CAAA;;"}
|
package/dist/src/lib/http.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"http.js","sources":["
|
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,5 +1,5 @@
|
|
1
1
|
import { mapDefaultValues } from '../settings/map.settings.js';
|
2
|
-
import { featureCollection, point } from '
|
2
|
+
import { featureCollection, point } from '../../node_modules/@turf/helpers/dist/esm/index.js';
|
3
3
|
import * as turf from '@turf/turf';
|
4
4
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"map.utils.js","sources":["
|
1
|
+
{"version":3,"file":"map.utils.js","sources":["../../../src/lib/map.utils.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;AAEA;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,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;;;IAKxF,SAAS,CAAC,SAAS,CAClB;AACC,QAAA,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC;AACjC,QAAA,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC;AACjC,QAAA,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC;AACjC,QAAA,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC;KACjC,EACD,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,CACnC;;AAGF;AAEA;AAEA;;;;;AAKG;MACU,OAAO,GAAG,CAAC,SAAc,EAAE,WAA6B,KAAI;;;;AAMxE,IAAA,IAAI,CAAC,SAAS;QAAE;AAChB,IAAA,IAAI,CAAC,WAAW,IAAI,CAAC,WAAW,CAAC,MAAM;QAAE;;;AAKzC,IAAA,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,EAAE;AACvC,IAAA,MAAM,qBAAqB,GAAG,WAAW,GAAG,gBAAgB,CAAC,WAAW;IACxE,MAAM,uBAAuB,GAAG,gBAAgB,CAAC,IAAI,GAAG,gBAAgB,CAAC,WAAW;;;IAKpF,MAAM,gBAAgB,GAAyC,SAAS,CAAC,SAAS,EAAE,CAAC,OAAO,EAAE;AAC9F,IAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,EAAE,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAK/H,IAAI,QAAQ,IAAI,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;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../src/lib/utils.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAGA;;AAEG;AACa,SAAA,EAAE,CAAC,GAAG,MAAoB,EAAA;AACzC,IAAA,OAAO,IAAI,CAAC,MAAM,CAAC;AACpB;AA+DA;;;;AAIG;AACG,SAAU,uBAAuB,CAAC,KAAa,EAAA;IACpD,OAAO,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE;AAC1C;AAEA;;;;;AAKG;AACa,SAAA,cAAc,CAAI,GAAM,EAAE,IAA+C,EAAA;AACxF,IAAA,IAAI,CAAC,IAAI;AAAE,QAAA,OAAO,SAAS;IAC3B,MAAM,SAAS,GAAI,IAAe,CAAC,KAAK,CAAC,aAAa,CAAa;IACnE,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,OAAgB,EAAE,GAAG,KAAK,OAAO,IAAK,OAAmC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC;AAC9G;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"assets.settings.js","sources":["
|
1
|
+
{"version":3,"file":"assets.settings.js","sources":["../../../src/settings/assets.settings.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AAiFA;AAEa,MAAA,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,IAAA,SAAS,EAAE,0BAA0B;AACrC,IAAA,SAAS,EAAE,0BAA0B;AACrC,IAAA,WAAW,EAAE,4BAA4B;AACzC,IAAA,GAAG,EAAE,oBAAoB;AACzB,IAAA,eAAe,EAAE,gCAAgC;AACjD,IAAA,aAAa,EAAE,8BAA8B;AAC7C,IAAA,UAAU,EAAE,2BAA2B;AACvC,IAAA,YAAY,EAAE,6BAA6B;AAC3C,IAAA,UAAU,EAAE,2BAA2B;AACvC,CAAA;AAyBD;AAEA;AAEa,MAAA,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC;AACzC,IAAA,KAAK,EAAE,0BAA0B;AACjC,IAAA,KAAK,EAAE,0BAA0B;AACjC,IAAA,KAAK,EAAE,0BAA0B;AACjC,IAAA,KAAK,EAAE,0BAA0B;AACjC,IAAA,KAAK,EAAE,0BAA0B;AACjC,IAAA,cAAc,EAAE,mCAAmC;AACnD,IAAA,mBAAmB,EAAE,yCAAyC;AAC9D,IAAA,WAAW,EAAE,gCAAgC;AAC7C,CAAA;AAEY,MAAA,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC;AACvC,IAAA,qBAAqB,EAAE,wCAAwC;AAC/D,IAAA,OAAO,EAAE,0BAA0B;AACnC,CAAA;AAEqB,MAAM,CAAC,MAAM,CAAC;AACnC,IAAA,GAAG,YAAY;AACf,IAAA,GAAG,UAAU;AACb,CAAA;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"map.settings.js","sources":["
|
1
|
+
{"version":3,"file":"map.settings.js","sources":["../../../src/settings/map.settings.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AAEA;;AAEG;AAEU,MAAA,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;AAC7C,IAAA,OAAO,EAAE,CAAC;AACV,IAAA,QAAQ,EAAE,IAAI;AACd,IAAA,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,EAAI;AACf,IAAA,KAAK,EAAE,CAAC;AACR,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,IAAI,EAAE,EAAE;AACR,IAAA,WAAW,EAAE,CAAC;AACd,IAAA,QAAQ,EAAE,EAAE;AACZ,IAAA,QAAQ,EAAE,CAAC;AACX,CAAA;AAED;AAEA;;AAEG;AAEU,MAAA,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;AAC7C,IAAA,GAAG,EAAE,+DAA+D;AACpE,IAAA,SAAS,EAAE;AACV,QAAA,MAAM,EAAE,yBAAyB;AACjC,QAAA,MAAM,EAAE;AACP,YAAA;AACC,gBAAA,EAAE,EAAE,cAAc;AAClB,gBAAA,MAAM,EAAE,cAAc;AACtB,gBAAA,IAAI,EAAE,QAAQ;AACd,aAAA;AACD,SAAA;AACD,QAAA,OAAO,EAAE,EAAE;AACX,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,OAAO,EAAE;AACR,YAAA,cAAc,EAAE;AACf,gBAAA,WAAW,EAAE,gEAAgE;gBAC7E,KAAK,EAAE,CAAC,+FAA+F,CAAC;AACxG,gBAAA,QAAQ,EAAE,GAAG;AACb,gBAAA,IAAI,EAAE,QAAQ;AACd,aAAA;AACD,SAAA;AACD,QAAA,OAAO,EAAE,CAAC;AACV,KAAA;AACD,CAAA;AAED;AAEA;;AAEG;AAEU,MAAA,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,gBAAgB,CAAC,QAAQ,CAAC;AAC/D,IAAA,gBAAgB,EAAE;QACjB,OAAO,EAAE,gBAAgB,CAAC,OAAO;QACjC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ;QACnC,SAAS,EAAE,gBAAgB,CAAC,SAAS;QACrC,KAAK,EAAE,gBAAgB,CAAC,KAAK;QAC7B,IAAI,EAAE,gBAAgB,CAAC,IAAI;AAC3B,KAAA;IACD,OAAO,EAAE,gBAAgB,CAAC,QAAQ;IAClC,OAAO,EAAE,gBAAgB,CAAC,QAAQ;AAClC,IAAA,MAAM,EAAE;QACP,OAAO,EAAE,gBAAgB,CAAC,GAAG;QAC7B,GAAG,EAAE,gBAAgB,CAAC,GAAG;QACzB,SAAS,EAAE,gBAAgB,CAAC,SAAS;AACrC,KAAA;AACD,IAAA,QAAQ,EAAE;QACT,OAAO,EAAE,gBAAgB,CAAC,OAAO;QACjC,MAAM,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,gBAAgB,CAAC,QAAQ,CAAC;QAC/D,KAAK,EAAE,gBAAgB,CAAC,KAAK;QAC7B,IAAI,EAAE,gBAAgB,CAAC,IAAI;AAC3B,KAAA;AACD,CAAA;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"theme.js","sources":["
|
1
|
+
{"version":3,"file":"theme.js","sources":["../../../src/styles/theme.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;AAWA;AAEO,MAAM,SAAS,GAAyB,WAAW,CAAC;AAC1D,IAAA,UAAU,EAAE;;AAIX,QAAA,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACrB,UAAU,EAAE,MAAK;AAChB,gBAAA,MAAM,cAAc,GAAG;AACtB,oBAAA,GAAG,cAAc;iBACjB;AACD,gBAAA,OAAO,cAAc;aACrB;SACD,CAAC;;AAIF,QAAA,aAAa,EAAE,aAAa,CAAC,MAAM,CAAC;YACnC,UAAU,EAAE,MAAK;AAChB,gBAAA,MAAM,cAAc,GAAG;;;;;;oBAMtB,UAAU,EAAE,iBAAiB,CAAC,KAAK;oBACnC,KAAK,EAAE,qBAAqB,CAAC,KAAK;oBAClC,IAAI,EAAE,iBAAiB,CAAC,IAAI;oBAC5B,OAAO,EAAE,iBAAiB,CAAC,OAAO;iBAClC;AACD,gBAAA,OAAO,cAAc;aACrB;SACD,CAAC;;AAIF,QAAA,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC;AACzB,YAAA,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,KAAI;AACxB,gBAAA,MAAM,cAAc,GAAG;AACtB,oBAAA,GAAG,iBAAiB;oBACpB,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI,IAAI,mBAAmB,CAAC;AAC/C,oBAAA,IAAI,KAAK,CAAC,OAAO,KAAK,OAAO,IAAI;wBAChC,KAAK,EAAE,mBAAmB,CAAC,YAAY;wBACvC,OAAO,EAAE,mBAAmB,CAAC,YAAY;qBACzC,CAAC;iBACF;AACD,gBAAA,OAAO,cAAc;aACrB;SACD,CAAC;;AAIF,QAAA,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC;AAC3B,YAAA,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,KAAI;AACxB,gBAAA,MAAM,cAAc,GAAG;AACtB,oBAAA,GAAG,iBAAiB;oBACpB,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI,IAAI,mBAAmB,CAAC;AAC/C,oBAAA,IAAI,KAAK,CAAC,OAAO,KAAK,OAAO,IAAI;wBAChC,KAAK,EAAE,mBAAmB,CAAC,YAAY;wBACvC,OAAO,EAAE,mBAAmB,CAAC,YAAY;qBACzC,CAAC;iBACF;AACD,gBAAA,OAAO,cAAc;aACrB;SACD,CAAC;;AAIF,KAAA;AACD,CAAA;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tmlmobilidade/ui",
|
3
|
-
"version": "20250327.
|
3
|
+
"version": "20250327.1457.26",
|
4
4
|
"author": "",
|
5
5
|
"license": "ISC",
|
6
6
|
"publishConfig": {
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"exports": {
|
15
15
|
".": {
|
16
16
|
"types": "./dist/index.d.ts",
|
17
|
-
"default": "./dist/
|
17
|
+
"default": "./dist/index.js"
|
18
18
|
},
|
19
19
|
"./styles": {
|
20
20
|
"default": "./dist/styles.css"
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export interface ActionIconProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
2
|
-
disabled?: boolean;
|
3
|
-
loading?: boolean;
|
4
|
-
variant: 'active' | 'danger' | 'info' | 'muted' | 'primary' | 'secondary' | 'success' | 'warning';
|
5
|
-
}
|
6
|
-
export default function ActionIcon({ children, className, disabled, variant, ...props }: ActionIconProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
export declare function CMIcon(): import("react/jsx-runtime").JSX.Element;
|
2
|
-
export declare function CMLogo(): import("react/jsx-runtime").JSX.Element;
|
3
|
-
export declare function TMLogo(): import("react/jsx-runtime").JSX.Element;
|
4
|
-
export declare function TMLogoDark(): import("react/jsx-runtime").JSX.Element;
|
5
|
-
export declare function TMLogoLight(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { BadgeProps as MantineBadgeProps } from '@mantine/core';
|
2
|
-
import React from 'react';
|
3
|
-
export interface BadgeProps extends MantineBadgeProps {
|
4
|
-
children?: React.ReactNode;
|
5
|
-
disabled?: boolean;
|
6
|
-
filled?: boolean;
|
7
|
-
fullWidth?: boolean;
|
8
|
-
icon?: React.ReactNode;
|
9
|
-
size?: 'lg' | 'md' | 'sm' | 'xl' | 'xs';
|
10
|
-
type?: 'pill' | 'tag';
|
11
|
-
variant?: 'active' | 'danger' | 'disabled' | 'info' | 'muted' | 'primary' | 'secondary' | 'success' | 'warning';
|
12
|
-
}
|
13
|
-
export default function Badge({ children, className, disabled, filled, fullWidth, icon, size, type, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { type ButtonProps as MantineButtonProps } from '@mantine/core';
|
2
|
-
import React from 'react';
|
3
|
-
export interface ButtonProps extends MantineButtonProps {
|
4
|
-
href?: string;
|
5
|
-
icon?: React.ReactNode;
|
6
|
-
label?: string;
|
7
|
-
onClick?: () => void;
|
8
|
-
target?: string;
|
9
|
-
type?: 'button' | 'reset' | 'submit';
|
10
|
-
variant?: 'danger' | 'disabled' | 'muted' | 'primary' | 'secondary';
|
11
|
-
}
|
12
|
-
export declare function Button({ disabled, href, icon, label, loading, onClick, type, variant, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { ComboboxProps as MantineComboboxProps } from '@mantine/core';
|
2
|
-
export interface DataItem {
|
3
|
-
icon?: React.ReactNode;
|
4
|
-
label: string;
|
5
|
-
value: string;
|
6
|
-
}
|
7
|
-
interface BaseProps extends Omit<MantineComboboxProps, 'onChange' | 'value'> {
|
8
|
-
className?: string;
|
9
|
-
clearable?: boolean;
|
10
|
-
data: DataItem[] | string[];
|
11
|
-
description?: string;
|
12
|
-
error?: string;
|
13
|
-
fullWidth?: boolean;
|
14
|
-
label?: string;
|
15
|
-
maxHeight?: number;
|
16
|
-
searchable?: boolean;
|
17
|
-
}
|
18
|
-
interface SingleProps extends BaseProps {
|
19
|
-
multiple?: false;
|
20
|
-
onChange?: (value: string | undefined) => void;
|
21
|
-
value?: string | undefined;
|
22
|
-
}
|
23
|
-
interface MultipleProps extends BaseProps {
|
24
|
-
multiple: true;
|
25
|
-
onChange?: (value: string[] | undefined) => void;
|
26
|
-
value?: string[] | undefined;
|
27
|
-
}
|
28
|
-
export type Props = MultipleProps | SingleProps;
|
29
|
-
export default function ComboboxComponent(props: Props): import("react/jsx-runtime").JSX.Element;
|
30
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { DateTimePickerProps as MantineDateTimePickerProps } from '@mantine/dates';
|
2
|
-
export interface DateTimePickerProps extends MantineDateTimePickerProps {
|
3
|
-
/**
|
4
|
-
* Full width of the input.
|
5
|
-
*/
|
6
|
-
fullWidth?: boolean;
|
7
|
-
/**
|
8
|
-
* Left section of the input.
|
9
|
-
* @default <IconCalendar size={20} />
|
10
|
-
*/
|
11
|
-
leftSection?: React.ReactNode;
|
12
|
-
}
|
13
|
-
export default function DateTimePicker({ leftSection, ...props }: DateTimePickerProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,54 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Props for showing confirmation modal.
|
3
|
-
*/
|
4
|
-
interface ShowConfirmationProps {
|
5
|
-
/**
|
6
|
-
* Label for the cancel button.
|
7
|
-
* @default 'Cancelar'
|
8
|
-
*/
|
9
|
-
cancelLabel?: string;
|
10
|
-
/**
|
11
|
-
* Label for the confirm button.
|
12
|
-
* @default 'Confirmar'
|
13
|
-
*/
|
14
|
-
confirmLabel?: string;
|
15
|
-
/**
|
16
|
-
* Message to display in the confirmation modal.
|
17
|
-
*/
|
18
|
-
confirmMessage: string;
|
19
|
-
/**
|
20
|
-
* Title of the confirmation modal.
|
21
|
-
*/
|
22
|
-
confirmTitle: string;
|
23
|
-
/**
|
24
|
-
* Callback function to execute when the cancel button is clicked.
|
25
|
-
*/
|
26
|
-
onCancel?: () => void;
|
27
|
-
/**
|
28
|
-
* Callback function to execute when the confirm button is clicked.
|
29
|
-
*/
|
30
|
-
onConfirm: () => void;
|
31
|
-
/**
|
32
|
-
* Flag to indicate if the confirmation modal should be shown.
|
33
|
-
*/
|
34
|
-
showConfirmation: true;
|
35
|
-
}
|
36
|
-
/**
|
37
|
-
* Props for hiding confirmation modal.
|
38
|
-
*/
|
39
|
-
interface HideConfirmationProps {
|
40
|
-
/**
|
41
|
-
* Callback function to execute when the action icon is clicked.
|
42
|
-
*/
|
43
|
-
onClick: () => void;
|
44
|
-
/**
|
45
|
-
* Flag to indicate if the confirmation modal should be hidden.
|
46
|
-
*/
|
47
|
-
showConfirmation?: false | undefined;
|
48
|
-
}
|
49
|
-
/**
|
50
|
-
* Union type for confirmation props.
|
51
|
-
*/
|
52
|
-
type ConfirmationProps = HideConfirmationProps | ShowConfirmationProps;
|
53
|
-
export default function DeleteActionIcon(props: ConfirmationProps): import("react/jsx-runtime").JSX.Element;
|
54
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { type ButtonProps } from '../Button';
|
3
|
-
interface FileButtonProps extends ButtonProps {
|
4
|
-
accept?: string;
|
5
|
-
disabled?: boolean;
|
6
|
-
icon?: React.ReactNode;
|
7
|
-
label: string;
|
8
|
-
loading?: boolean;
|
9
|
-
onCancel?: () => void;
|
10
|
-
onFileChange?: (file: File) => void;
|
11
|
-
}
|
12
|
-
export default function FileButton({ accept, disabled, icon, label, loading, onCancel, onFileChange, ...props }: FileButtonProps): import("react/jsx-runtime").JSX.Element;
|
13
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export interface LabelProps {
|
3
|
-
caps?: boolean;
|
4
|
-
children?: React.ReactNode;
|
5
|
-
singleLine?: boolean;
|
6
|
-
size?: 'lg' | 'md' | 'sm';
|
7
|
-
}
|
8
|
-
export declare function Label({ caps, children, singleLine, size }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { MenuDividerProps as MantineMenuDividerProps, MenuDropdownProps as MantineMenuDropdownProps, MenuItemProps as MantineMenuItemProps, MenuLabelProps as MantineMenuLabelProps, MenuProps as MantineMenuProps, MenuTargetProps as MantineMenuTargetProps } from '@mantine/core';
|
2
|
-
export type MenuProps = MantineMenuProps;
|
3
|
-
export type MenuTargetProps = MantineMenuTargetProps;
|
4
|
-
export type MenuDropdownProps = MantineMenuDropdownProps;
|
5
|
-
export type MenuItemProps = MantineMenuItemProps & {
|
6
|
-
href?: string;
|
7
|
-
};
|
8
|
-
export type MenuDividerProps = MantineMenuDividerProps;
|
9
|
-
export type MenuLabelProps = MantineMenuLabelProps;
|
10
|
-
declare function Menu(props: MenuProps): import("react/jsx-runtime").JSX.Element;
|
11
|
-
declare namespace Menu {
|
12
|
-
var Target: (props: MenuTargetProps) => import("react/jsx-runtime").JSX.Element;
|
13
|
-
var Dropdown: (props: MenuDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
14
|
-
var Item: ({ href, ...props }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
15
|
-
var Divider: (props: MenuDividerProps) => import("react/jsx-runtime").JSX.Element;
|
16
|
-
var Label: (props: MenuLabelProps) => import("react/jsx-runtime").JSX.Element;
|
17
|
-
}
|
18
|
-
export default Menu;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { SegmentedControlProps as MantineSegmentedControlProps } from '@mantine/core';
|
2
|
-
export interface SegmentedControlProps extends MantineSegmentedControlProps {
|
3
|
-
fullWidth?: boolean;
|
4
|
-
}
|
5
|
-
export default function SegmentedControl({ ...props }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export interface TagProps {
|
3
|
-
filled?: boolean;
|
4
|
-
icon?: React.ReactNode;
|
5
|
-
label?: number | string;
|
6
|
-
variant?: 'danger' | 'muted' | 'primary' | 'secondary' | 'success' | 'warning';
|
7
|
-
}
|
8
|
-
export declare function Tag({ filled, icon, label, variant }: TagProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { TextProps as MantineTextProps } from '@mantine/core';
|
2
|
-
export interface TextProps extends MantineTextProps {
|
3
|
-
children: React.ReactNode;
|
4
|
-
lineHeight?: '2xl' | 'base' | 'lg' | 'none' | 'sm' | 'xl' | 'xs';
|
5
|
-
size?: '2xl' | 'base' | 'lg' | 'sm' | 'xl' | 'xs';
|
6
|
-
weight?: 'bold' | 'extra-bold' | 'medium' | 'semibold';
|
7
|
-
}
|
8
|
-
export default function Text({ children, lineHeight, size, weight, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { TextInputProps as MantineTextInputProps } from '@mantine/core';
|
2
|
-
export interface TextInputProps extends MantineTextInputProps {
|
3
|
-
tooltip?: string;
|
4
|
-
validation?: RegExp;
|
5
|
-
}
|
6
|
-
export default function Component({ classNames, error, validation, value, ...props }: TextInputProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export { getTreeExpandedState, RenderTreeNodePayload, Tree, TreeNodeData, useTree } from '@mantine/core';
|
@@ -1,23 +0,0 @@
|
|
1
|
-
export { default as ActionIcon } from './ActionIcon';
|
2
|
-
export * from './AppLogos';
|
3
|
-
export { default as Badge } from './Badge';
|
4
|
-
export { Button } from './Button';
|
5
|
-
export { default as Checkbox } from './Checkbox';
|
6
|
-
export { default as Combobox, DataItem } from './Combobox';
|
7
|
-
export { default as ComponentWrapper } from './ComponentWrapper';
|
8
|
-
export { default as DateTimePicker } from './DateTimePicker';
|
9
|
-
export { default as DeleteActionIcon } from './DeleteActionIcon';
|
10
|
-
export { default as Description } from './Description';
|
11
|
-
export { default as FileButton } from './FileButton';
|
12
|
-
export { Label } from './Label';
|
13
|
-
export { default as Menu } from './Menu';
|
14
|
-
export { PasswordInput } from './PasswordInput';
|
15
|
-
export { default as SegmentedControl } from './SegmentedControl';
|
16
|
-
export { default as Slider } from './Slider';
|
17
|
-
export { default as Switch } from './Switch';
|
18
|
-
export { Tag } from './Tag';
|
19
|
-
export { default as Text } from './Text';
|
20
|
-
export { default as TextArea } from './TextArea';
|
21
|
-
export { default as TextInput } from './TextInput';
|
22
|
-
export { default as Tooltip } from './Tooltip';
|
23
|
-
export * from './Tree';
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
import { DataTableSearchProps } from '../datatable.type';
|
3
|
-
interface DataTableContextType<T> {
|
4
|
-
actions: {
|
5
|
-
clearSearchQuery: () => void;
|
6
|
-
handleSort: (accessor: string) => void;
|
7
|
-
updateFilterBySearchQuery: (query: string) => void;
|
8
|
-
};
|
9
|
-
data: {
|
10
|
-
initialRecords: T[];
|
11
|
-
records: T[];
|
12
|
-
};
|
13
|
-
filters: {
|
14
|
-
searchQuery?: string;
|
15
|
-
sortState: null | SortState;
|
16
|
-
};
|
17
|
-
}
|
18
|
-
interface DataTableProviderProps<T> {
|
19
|
-
children: ReactNode;
|
20
|
-
initialRecords: T[];
|
21
|
-
searchAccessors: DataTableSearchProps<T>['accessors'];
|
22
|
-
}
|
23
|
-
type SortOrder = 'asc' | 'desc' | null;
|
24
|
-
interface SortState {
|
25
|
-
accessor: string;
|
26
|
-
order: SortOrder;
|
27
|
-
}
|
28
|
-
export declare function DataTableProvider<T>({ children, initialRecords, searchAccessors }: DataTableProviderProps<T>): import("react/jsx-runtime").JSX.Element;
|
29
|
-
export declare function useDataTableContext<T>(): DataTableContextType<T>;
|
30
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export default function DataTableFilter(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { DataTableRowProps } from '../datatable.type';
|
2
|
-
export default function DataTableRow<T = Record<string, unknown>>({ columns, onRowClick, onRowContextMenu, onRowDoubleClick, record, }: DataTableRowProps<T> & {
|
3
|
-
onRowClick?: (record: T) => void;
|
4
|
-
onRowContextMenu?: (record: T) => void;
|
5
|
-
onRowDoubleClick?: (record: T) => void;
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1,149 +0,0 @@
|
|
1
|
-
export interface DataTableColumn<T> {
|
2
|
-
/**
|
3
|
-
* Column accessor.
|
4
|
-
* You can use dot-notation for nested objects property drilling.
|
5
|
-
* (i.e. `department.name` or `department.company.name`)
|
6
|
-
*/
|
7
|
-
accessor: keyof T | (string & {});
|
8
|
-
/**
|
9
|
-
* Whether the column is hidden.
|
10
|
-
* @default false
|
11
|
-
*/
|
12
|
-
hidden?: boolean;
|
13
|
-
/**
|
14
|
-
* Custom cell data render function.
|
15
|
-
* Accepts the current record and its index in `records` as arguments and returns a React node
|
16
|
-
* (remember that a string is a valid React node too).
|
17
|
-
*
|
18
|
-
* Will override the default render function for this column.
|
19
|
-
*/
|
20
|
-
render?: (record: T) => React.ReactNode;
|
21
|
-
/**
|
22
|
-
* Whether the column is sortable.
|
23
|
-
* @default false
|
24
|
-
*/
|
25
|
-
sortable?: boolean;
|
26
|
-
/**
|
27
|
-
* The key to be used for sorting.
|
28
|
-
* If not provided, the column accessor will be used.
|
29
|
-
*/
|
30
|
-
sortKey?: string;
|
31
|
-
/**
|
32
|
-
* Optional column header title.
|
33
|
-
* If not present, one will be generated by "humanizing" the provided column accessor.
|
34
|
-
* (i.e. `firstName` -> `First name`; `user.firstName` -> `User first name`)
|
35
|
-
*/
|
36
|
-
title?: React.ReactNode | string;
|
37
|
-
/**
|
38
|
-
* The width of the column in pixels.
|
39
|
-
* @default 100%
|
40
|
-
*/
|
41
|
-
width?: number;
|
42
|
-
}
|
43
|
-
export interface DataTableColumnProps<T = Record<string, unknown>> {
|
44
|
-
/**
|
45
|
-
* The columns to be displayed in the table.
|
46
|
-
*/
|
47
|
-
columns: DataTableColumn<T>[];
|
48
|
-
}
|
49
|
-
export interface DataTableHeaderProps<T = Record<string, unknown>> {
|
50
|
-
/**
|
51
|
-
* The columns to be displayed in the table header.
|
52
|
-
*/
|
53
|
-
columns: DataTableColumn<T>[];
|
54
|
-
}
|
55
|
-
export interface DataTableProps<T> {
|
56
|
-
/**
|
57
|
-
* The classnames to be applied to the table.
|
58
|
-
*/
|
59
|
-
classnames?: Partial<Record<'body' | 'cell' | 'footer' | 'header' | 'root' | 'row' | 'table' | 'tableWrapper', string>>;
|
60
|
-
/**
|
61
|
-
* The column configuration for the table.
|
62
|
-
*/
|
63
|
-
columns: DataTableColumn<T>[];
|
64
|
-
/**
|
65
|
-
* The maximum height of the table in pixels.
|
66
|
-
* @default 100%
|
67
|
-
*/
|
68
|
-
maxHeight?: number;
|
69
|
-
/**
|
70
|
-
* Callback function to handle row click events.
|
71
|
-
* @param record - The data record for the clicked row.
|
72
|
-
*/
|
73
|
-
onRowClick?: (record: T) => void;
|
74
|
-
/**
|
75
|
-
* Callback function to handle row context menu events.
|
76
|
-
* @param record - The data record for the row where the context menu was triggered.
|
77
|
-
*/
|
78
|
-
onRowContextMenu?: (record: T) => void;
|
79
|
-
/**
|
80
|
-
* Callback function to handle row double-click events.
|
81
|
-
* @param record - The data record for the double-clicked row.
|
82
|
-
*/
|
83
|
-
onRowDoubleClick?: (record: T) => void;
|
84
|
-
/**
|
85
|
-
* The data to be displayed in the table.
|
86
|
-
*/
|
87
|
-
records: T[];
|
88
|
-
/**
|
89
|
-
* The id of the table.
|
90
|
-
*/
|
91
|
-
rowIdAccessor?: keyof T | (string & {});
|
92
|
-
/**
|
93
|
-
* Whether the table should have a search input.
|
94
|
-
* @default false
|
95
|
-
*/
|
96
|
-
search?: DataTableSearchProps<T>;
|
97
|
-
/**
|
98
|
-
* The title of the table.
|
99
|
-
*/
|
100
|
-
title?: string;
|
101
|
-
}
|
102
|
-
export interface DataTableRowProps<T = Record<string, unknown>> {
|
103
|
-
/**
|
104
|
-
* The column configuration for the row.
|
105
|
-
*/
|
106
|
-
columns: DataTableColumn<T>[];
|
107
|
-
/**
|
108
|
-
* The data record for the row.
|
109
|
-
*/
|
110
|
-
record: T;
|
111
|
-
}
|
112
|
-
export interface DataTableSearchProps<T> {
|
113
|
-
/**
|
114
|
-
* The list of accessors to be used for searching.
|
115
|
-
*/
|
116
|
-
accessors: (keyof T | (string & {}))[];
|
117
|
-
/**
|
118
|
-
* Whether the search functionality is enabled.
|
119
|
-
*/
|
120
|
-
hidden?: boolean;
|
121
|
-
/**
|
122
|
-
* The icon to be displayed in the search input.
|
123
|
-
* @default <SearchIcon />
|
124
|
-
*/
|
125
|
-
icon?: React.ReactNode;
|
126
|
-
/**
|
127
|
-
* Callback function to handle search input changes.
|
128
|
-
* @param value - The new search input value.
|
129
|
-
*/
|
130
|
-
onChange?: (value: string) => void;
|
131
|
-
/**
|
132
|
-
* Placeholder text for the search input.
|
133
|
-
*/
|
134
|
-
placeholder?: string;
|
135
|
-
/**
|
136
|
-
* The current value of the search input.
|
137
|
-
*/
|
138
|
-
value?: string;
|
139
|
-
}
|
140
|
-
export interface DataTableTitleProps<T> {
|
141
|
-
/**
|
142
|
-
* The search configuration for the table.
|
143
|
-
*/
|
144
|
-
search?: DataTableSearchProps<T>;
|
145
|
-
/**
|
146
|
-
* The title of the table.
|
147
|
-
*/
|
148
|
-
title?: string;
|
149
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export default function AppOptions(): import("react/jsx-runtime").JSX.Element;
|