@equinor/amplify-component-lib 10.2.0 → 10.3.0
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/atoms/hooks/useFaqsInApplication.d.ts +23 -1
- package/dist/atoms/hooks/useFaqsInApplication.js +1 -1
- package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
- package/dist/atoms/hooks/useSelect.d.ts +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/molecules/Chip/Chip.d.ts +2 -2
- package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
- package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/dist/molecules/Dialog/Dialog.d.ts +2 -2
- package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
- package/dist/molecules/IconCell/IconCell.d.ts +2 -2
- package/dist/molecules/ListItem/ListItem.d.ts +2 -2
- package/dist/molecules/OptionDrawer/OptionDrawer.d.ts +2 -2
- package/dist/molecules/OptionalTooltip/OptionalTooltip.d.ts +4 -4
- package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
- package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +6 -6
- package/dist/molecules/RichTextEditor/index.d.ts +6 -6
- package/dist/molecules/Search/Search.d.ts +2 -2
- package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
- package/dist/molecules/Select/Select.styles.d.ts +4 -4
- package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
- package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
- package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +2 -2
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.js +3 -4
- package/dist/molecules/TableHeader/TableHeader.d.ts +32 -0
- package/dist/molecules/TableHeader/TableHeader.js +1 -0
- package/dist/molecules/TableHeader/TableHeader.styles.js +48 -0
- package/dist/molecules/TableHeader/TableHeader.utils.js +1 -0
- package/dist/molecules/index.d.ts +1 -0
- package/dist/molecules/index.js +1 -1
- package/dist/organisms/Faq/AppPageWrapper.js +8 -0
- package/dist/organisms/Faq/Category/Category.js +1 -9
- package/dist/organisms/Faq/Category/Category.styles.js +14 -0
- package/dist/organisms/Faq/Category/CategorySkeleton.js +17 -0
- package/dist/organisms/Faq/Category/Question/Question.js +1 -0
- package/dist/organisms/Faq/Category/Question/Question.styles.js +64 -0
- package/dist/organisms/Faq/Category/Subcategory.js +34 -0
- package/dist/organisms/Faq/Faq.d.ts +5 -1
- package/dist/organisms/Faq/Faq.js +20 -1
- package/dist/organisms/Faq/Faq.utils.js +1 -0
- package/dist/organisms/Faq/Search.js +5 -0
- package/dist/organisms/Filter/Filter.d.ts +2 -2
- package/dist/organisms/Filter/SortMenu.d.ts +2 -2
- package/dist/organisms/SideBar/SideBar.d.ts +2 -2
- package/dist/organisms/Status/Action.d.ts +2 -2
- package/dist/organisms/Status/Description.d.ts +2 -2
- package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
- package/dist/organisms/Status/Title.d.ts +2 -2
- package/dist/organisms/Status/collections/BadRequest.d.ts +2 -2
- package/dist/organisms/Status/collections/GenericError.d.ts +2 -2
- package/dist/organisms/Status/collections/MissingPermissions.d.ts +2 -2
- package/dist/organisms/Status/collections/PageNotFound.d.ts +2 -2
- package/dist/organisms/Status/collections/ServerError.d.ts +2 -2
- package/dist/organisms/TableOfContents/TableOfContents.styles.js +0 -2
- package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
- package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
- package/dist/organisms/TopBar/Actions.d.ts +2 -2
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +2 -3
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.js +1 -1
- package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
- package/dist/organisms/TopBar/TopBar.d.ts +0 -2
- package/dist/organisms/TopBar/TopBar.js +1 -1
- package/dist/organisms/TopBar/TopBarInternalContextProvider.js +1 -0
- package/package.json +3 -3
- package/dist/organisms/Faq/Category/Question.js +0 -22
- package/dist/organisms/Faq/CategorySkeleton.js +0 -29
- package/dist/organisms/Faq/Faq.styles.js +0 -8
- package/dist/organisms/Faq/Header.js +0 -14
|
@@ -2,6 +2,28 @@ import * as _equinor_subsurface_app_management0 from "@equinor/subsurface-app-ma
|
|
|
2
2
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/hooks/useFaqsInApplication.d.ts
|
|
5
|
-
declare function useFaqsInApplication(): _tanstack_react_query0.UseQueryResult<
|
|
5
|
+
declare function useFaqsInApplication(): _tanstack_react_query0.UseQueryResult<{
|
|
6
|
+
faqs: _equinor_subsurface_app_management0.FaqDto[];
|
|
7
|
+
subCategories: {
|
|
8
|
+
faqs: _equinor_subsurface_app_management0.FaqDto[];
|
|
9
|
+
id: number;
|
|
10
|
+
fkParentCategoryId: number;
|
|
11
|
+
categoryName: string;
|
|
12
|
+
orderBy?: number | null;
|
|
13
|
+
visible: boolean;
|
|
14
|
+
applicationId: string;
|
|
15
|
+
updatedDate?: string | null;
|
|
16
|
+
createdDate?: string | null;
|
|
17
|
+
subCategories?: Array<_equinor_subsurface_app_management0.FaqCategoriesWithFaqDto> | null;
|
|
18
|
+
}[];
|
|
19
|
+
id: number;
|
|
20
|
+
fkParentCategoryId: number;
|
|
21
|
+
categoryName: string;
|
|
22
|
+
orderBy?: number | null;
|
|
23
|
+
visible: boolean;
|
|
24
|
+
applicationId: string;
|
|
25
|
+
updatedDate?: string | null;
|
|
26
|
+
createdDate?: string | null;
|
|
27
|
+
}[], Error>;
|
|
6
28
|
//#endregion
|
|
7
29
|
export { useFaqsInApplication };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{environment as e}from"../utils/auth_environment.js";import{FaqService as t}from"@equinor/subsurface-app-management";import{useQuery as n}from"@tanstack/react-query";function r(){return n({queryKey:[`GET_FAQ_IN_APP`],queryFn:async()=>
|
|
1
|
+
import{environment as e}from"../utils/auth_environment.js";import{FaqService as t}from"@equinor/subsurface-app-management";import{useQuery as n}from"@tanstack/react-query";function r(e,t){return(e.orderBy??2**53-1)-(t.orderBy??2**53-1)}function i(){return n({queryKey:[`GET_FAQ_IN_APP`],queryFn:async()=>t.getCategoriesWithFaqsFromApplicationName(e.getAppName(import.meta.env.VITE_NAME)),select:e=>e.toSorted(r).map(e=>({...e,faqs:(e.faqs??[]).toSorted(r),subCategories:(e.subCategories??[]).toSorted(r).map(e=>({...e,faqs:(e.faqs??[]).toSorted(r)}))})),staleTime:1e3*60*5})}export{i as useFaqsInApplication};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react135 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/hooks/useLocalStorage.d.ts
|
|
4
|
-
declare const useLocalStorage: <T>(key: string, defaultState: T, keepAliveMs?: number) => readonly [T,
|
|
4
|
+
declare const useLocalStorage: <T>(key: string, defaultState: T, keepAliveMs?: number) => readonly [T, react135.Dispatch<react135.SetStateAction<T>>, () => void];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { useLocalStorage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SelectOption, SelectOptionRequired } from "../../molecules/Select/Select.types.js";
|
|
2
2
|
import { SelectComponentProps } from "../../molecules/Select/Select.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react137 from "react";
|
|
4
4
|
import { ChangeEvent, KeyboardEvent } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/hooks/useSelect.d.ts
|
|
@@ -16,8 +16,8 @@ declare const useSelect: <T extends SelectOptionRequired>(props: SelectComponent
|
|
|
16
16
|
handleOnOpen: () => void;
|
|
17
17
|
handleOnRemoveItem: (item: SelectOption<T>) => void;
|
|
18
18
|
search: string;
|
|
19
|
-
searchRef:
|
|
20
|
-
itemRefs:
|
|
19
|
+
searchRef: react137.RefObject<HTMLInputElement | null>;
|
|
20
|
+
itemRefs: react137.RefObject<(HTMLButtonElement | null)[]>;
|
|
21
21
|
selectedValues: T[];
|
|
22
22
|
open: boolean;
|
|
23
23
|
tryingToRemoveItem: T | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ import { RichText } from "./molecules/RichTextEditor/index.js";
|
|
|
79
79
|
import { Tab } from "./molecules/Tabs/Tabs.types.js";
|
|
80
80
|
import { Tabs, TabsProps } from "./molecules/Tabs/Tabs.js";
|
|
81
81
|
import { TableMenuBar, TextTable } from "./molecules/RichTextEditor/MenuBar/Table/TableBar.js";
|
|
82
|
+
import { TableHeader, TableHeaderProps } from "./molecules/TableHeader/TableHeader.js";
|
|
82
83
|
import { Search } from "./molecules/Search/Search.js";
|
|
83
84
|
import { SkeletonBase, SkeletonBaseProps, skeletonBaseloading } from "./molecules/Skeleton/SkeletonBase/SkeletonBase.js";
|
|
84
85
|
import { SkeletonGradient, SkeletonGradientProps } from "./molecules/Skeleton/SkeletonGradient/SkeletonGradient.js";
|
|
@@ -122,4 +123,4 @@ import { Card, CardProps, DataGridProps } from "./organisms/index.js";
|
|
|
122
123
|
import { ExpandingIconButton } from "./deprecated/ExpandingIconButton/ExpandingIconButton.js";
|
|
123
124
|
import { IconToggleButton } from "./deprecated/IconToggleButton.js";
|
|
124
125
|
import { OldStepper } from "./deprecated/OldStepper/OldStepper.js";
|
|
125
|
-
export { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, AmplifyBar, AmplifyKit, AnimatedCheckmark, ApiResponseError, AppIconProps, ApplicationIcon, ApplicationIconProps, AuthProvider, BadRequest, Badge, BadgeProps, Banner, BannerProps, BaseChipProps, BasicSideBarMenuItem, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, CircularProgress, CircularProgressProps, ComboBox, ComboBoxChip, ContentProps, DEFAULT_FEATURES, DataGrid, DataGridProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Dialog, DialogAction, DialogProps, Divider, DividerProps, DotProgress, DotProgressProps, EDSDialog, EDSDialogProps, EditorMenu, EditorPanel, EditorText, ElementItem, Empty, EnvironmentType, EquinorLogo, EquinorLogoProps, ErrorContentType, ErrorType, ExpandingIconButton, Faq, FeaturesProps, FeedBackIcon, FeedBackIconProps, Field, FieldSelector, FieldSelectorProps, FileProgress, FileProgressProps, FileProgressPropsExtension, FileUploadArea, FileUploadAreaProps, Filter, FilterType, FullPageSpinner, FullPageSpinnerProps, GenericError, GroupedComboBoxProps, GroupedSingleSelectProps, GuidelineItem, GuidelineSections, IMG_WITH_ALT, IMG_WITH_SRC_AND_ALT, Icon, IconCell, IconCellColor, IconCellColorObject, IconCellColors, IconCellProps, IconCellState, IconCellStates, IconCellVariant, IconCellVariants, IconItem, IconProps, IconToggleButton, ImageExtensionFnProps, InfoElement, InfoElementProps, ItemType, LinearProgress, LinearProgressProps, ListComboBoxProps, ListItem, ListItemProps, ListSingleSelectProps, LoadingProvider, Menu, MenuProps, MissingAccessToApp, MissingPermissions, OldStepper, OptionDrawer, OptionDrawerProps, OptionDrawerSelectItem, OptionalTooltip, OptionalTooltipProps, PageNotFound, PageTitle, ProfileAvatar, ProfileAvatarProps, Radio, RadioProps, ReleaseNote, ReleaseNoteProps, ReleaseNotesPage, ReleaseNotesProvider, RichText, RichTextDisplay, RichTextDisplayProps, RichTextEditor, RichTextEditorFeatures, RichTextEditorProps, Search, SearchProps, SelectOption, SelectOptionRequired, ServerError, SettingsSection, SideBar, SideBarMenuItem, SideBarMenuItemWithItems, SideBarProvider, SingleSelect, SizeIconProps, SkeletonBase, SkeletonBaseProps, SkeletonGradient, SkeletonGradientProps, SnackbarProvider, SpacingsMode, Status, Stepper, StepperProps, StepperProvider, Switch, SwitchProps, Tab, TableMenuBar, TableOfContents, TableOfContentsItemType, TableOfContentsProps, TableOfContentsProvider, Tabs, TabsProps, Template, TemplateType, TextField, TextFieldProps, TextTable, Theme, ThemeProvider, ToggleGroup, TopBar, TutorialHighlight, TutorialHighlightingProvider, Typography, TypographyProps, Waves, amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_calculator, amplify_failure, amplify_h1, amplify_h2, amplify_h3, amplify_h4, amplify_info_small, amplify_lwd, amplify_merged, amplify_overlay, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_sidebyside, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_success, amplify_table_add_column_left, amplify_table_add_column_right, amplify_table_add_row_above, amplify_table_add_row_below, amplify_table_column_heading, amplify_table_merge_cells, amplify_table_remove_column, amplify_table_remove_row, amplify_table_row_heading, amplify_table_split_cell, amplify_tutorials, amplify_wellbore, amplify_wireline, amplify_wireline_cased_hole, amplify_wireline_open_hole, animation, auth, capitalize, cleanRichTextValue, colors, convertLatLngToUtm, convertUtmToLatLng, defaultQueryOptions, degrees2radians, distanceLatLng, elevation, environment, exportComponent, extractImageUrls, formatBytes, formatDataSize, formatDate, formatDateTime, formatKiloBytes, formatLatLng, formatRelativeDateTime, formatUtm, getFeatures, getHighlightElementBoundingBox, getImagesFromRichText, getVariantIcon, highlightTutorialElementID, imageToB64, isBetweenDates, isValidUrl, setupIcons, shape, skeletonBaseloading, sortByDate, sortByWellboreName, spacings, style, typography, useAmplifyKit, useAuth, useDebounce, useFakeProgress, useFaqsInApplication, useLocalStorage, useNotification, useOnScreenMultiple, usePrefetchRichTextImages, usePrevious, useReleaseNotes, useSelect, useSideBar, useSnackbar, useStatusNavigation, useStepper, useTableOfContents, useThemeProvider, utmProjection };
|
|
126
|
+
export { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, AmplifyBar, AmplifyKit, AnimatedCheckmark, ApiResponseError, AppIconProps, ApplicationIcon, ApplicationIconProps, AuthProvider, BadRequest, Badge, BadgeProps, Banner, BannerProps, BaseChipProps, BasicSideBarMenuItem, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, CircularProgress, CircularProgressProps, ComboBox, ComboBoxChip, ContentProps, DEFAULT_FEATURES, DataGrid, DataGridProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Dialog, DialogAction, DialogProps, Divider, DividerProps, DotProgress, DotProgressProps, EDSDialog, EDSDialogProps, EditorMenu, EditorPanel, EditorText, ElementItem, Empty, EnvironmentType, EquinorLogo, EquinorLogoProps, ErrorContentType, ErrorType, ExpandingIconButton, Faq, FeaturesProps, FeedBackIcon, FeedBackIconProps, Field, FieldSelector, FieldSelectorProps, FileProgress, FileProgressProps, FileProgressPropsExtension, FileUploadArea, FileUploadAreaProps, Filter, FilterType, FullPageSpinner, FullPageSpinnerProps, GenericError, GroupedComboBoxProps, GroupedSingleSelectProps, GuidelineItem, GuidelineSections, IMG_WITH_ALT, IMG_WITH_SRC_AND_ALT, Icon, IconCell, IconCellColor, IconCellColorObject, IconCellColors, IconCellProps, IconCellState, IconCellStates, IconCellVariant, IconCellVariants, IconItem, IconProps, IconToggleButton, ImageExtensionFnProps, InfoElement, InfoElementProps, ItemType, LinearProgress, LinearProgressProps, ListComboBoxProps, ListItem, ListItemProps, ListSingleSelectProps, LoadingProvider, Menu, MenuProps, MissingAccessToApp, MissingPermissions, OldStepper, OptionDrawer, OptionDrawerProps, OptionDrawerSelectItem, OptionalTooltip, OptionalTooltipProps, PageNotFound, PageTitle, ProfileAvatar, ProfileAvatarProps, Radio, RadioProps, ReleaseNote, ReleaseNoteProps, ReleaseNotesPage, ReleaseNotesProvider, RichText, RichTextDisplay, RichTextDisplayProps, RichTextEditor, RichTextEditorFeatures, RichTextEditorProps, Search, SearchProps, SelectOption, SelectOptionRequired, ServerError, SettingsSection, SideBar, SideBarMenuItem, SideBarMenuItemWithItems, SideBarProvider, SingleSelect, SizeIconProps, SkeletonBase, SkeletonBaseProps, SkeletonGradient, SkeletonGradientProps, SnackbarProvider, SpacingsMode, Status, Stepper, StepperProps, StepperProvider, Switch, SwitchProps, Tab, TableHeader, TableHeaderProps, TableMenuBar, TableOfContents, TableOfContentsItemType, TableOfContentsProps, TableOfContentsProvider, Tabs, TabsProps, Template, TemplateType, TextField, TextFieldProps, TextTable, Theme, ThemeProvider, ToggleGroup, TopBar, TutorialHighlight, TutorialHighlightingProvider, Typography, TypographyProps, Waves, amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_calculator, amplify_failure, amplify_h1, amplify_h2, amplify_h3, amplify_h4, amplify_info_small, amplify_lwd, amplify_merged, amplify_overlay, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_sidebyside, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_success, amplify_table_add_column_left, amplify_table_add_column_right, amplify_table_add_row_above, amplify_table_add_row_below, amplify_table_column_heading, amplify_table_merge_cells, amplify_table_remove_column, amplify_table_remove_row, amplify_table_row_heading, amplify_table_split_cell, amplify_tutorials, amplify_wellbore, amplify_wireline, amplify_wireline_cased_hole, amplify_wireline_open_hole, animation, auth, capitalize, cleanRichTextValue, colors, convertLatLngToUtm, convertUtmToLatLng, defaultQueryOptions, degrees2radians, distanceLatLng, elevation, environment, exportComponent, extractImageUrls, formatBytes, formatDataSize, formatDate, formatDateTime, formatKiloBytes, formatLatLng, formatRelativeDateTime, formatUtm, getFeatures, getHighlightElementBoundingBox, getImagesFromRichText, getVariantIcon, highlightTutorialElementID, imageToB64, isBetweenDates, isValidUrl, setupIcons, shape, skeletonBaseloading, sortByDate, sortByWellboreName, spacings, style, typography, useAmplifyKit, useAuth, useDebounce, useFakeProgress, useFaqsInApplication, useLocalStorage, useNotification, useOnScreenMultiple, usePrefetchRichTextImages, usePrevious, useReleaseNotes, useSelect, useSideBar, useSnackbar, useStatusNavigation, useStepper, useTableOfContents, useThemeProvider, utmProjection };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnvironmentType as e}from"./atoms/enums/Environment.js";import{auth as t,environment as n}from"./atoms/utils/auth_environment.js";import{animation as r}from"./atoms/style/animation.js";import{colors as i}from"./atoms/style/colors.js";import{spacings as a}from"./atoms/style/spacings.js";import{elevation as o,shape as s,typography as c}from"./atoms/style/index.js";import{FullPageSpinner as l}from"./molecules/FullPageSpinner/FullPageSpinner.js";import{formatLatLng as u,formatUtm as d}from"./atoms/utils/coordinate.js";import{formatDate as f,formatDateTime as p,formatRelativeDateTime as m,isBetweenDates as h}from"./atoms/utils/date.js";import{exportComponent as g}from"./atoms/utils/export.js";import{setupIcons as _}from"./atoms/utils/favicon.js";import{convertLatLngToUtm as v,convertUtmToLatLng as y,degrees2radians as b,distanceLatLng as x,utmProjection as S}from"./atoms/utils/map.js";import{defaultQueryOptions as C}from"./atoms/utils/reactquery.js";import{DEFAULT_FEATURES as w,RichTextEditorFeatures as T}from"./molecules/RichTextEditor/RichTextEditor.types.js";import{IMG_WITH_ALT as E,IMG_WITH_SRC_AND_ALT as D,cleanRichTextValue as O,extractImageUrls as k,getFeatures as A,getImagesFromRichText as j,imageToB64 as M}from"./atoms/utils/richtext.js";import{formatBytes as N,formatDataSize as P,formatKiloBytes as F}from"./atoms/utils/size.js";import{sortByDate as I,sortByWellboreName as L}from"./atoms/utils/sort.js";import{Empty as R,capitalize as z}from"./atoms/utils/string.js";import{isValidUrl as B}from"./atoms/utils/url.js";import{getHighlightElementBoundingBox as V,highlightTutorialElementID as H}from"./atoms/utils/tutorials.js";import{getVariantIcon as U}from"./atoms/utils/forms.js";import{Status as W}from"./organisms/Status/index.js";import{MissingAccessToApp as G}from"./organisms/Status/collections/MissingAccessToApp.js";import{AuthProvider as K,useAuth as q}from"./providers/AuthProvider/AuthProvider.js";import{SideBarProvider as J,useSideBar as Y}from"./providers/SideBarProvider.js";import{SnackbarProvider as X,useSnackbar as Z}from"./providers/SnackbarProvider/SnackbarProvider.js";import{useOnScreenMultiple as Q}from"./atoms/hooks/useOnScreenMultiple.js";import{TableOfContentsProvider as $,useTableOfContents as ee}from"./providers/TableOfContentsProvider.js";import{useLocalStorage as te}from"./atoms/hooks/useLocalStorage.js";import{AmplifyKit as ne}from"./molecules/RichTextEditor/custom-extensions/AmplifyKit.js";import{useAmplifyKit as re}from"./atoms/hooks/useAmplifyKit.js";import{useDebounce as ie}from"./atoms/hooks/useDebounce.js";import{useFakeProgress as ae}from"./atoms/hooks/useFakeProgress.js";import{usePrevious as oe}from"./atoms/hooks/usePrevious.js";import{useSelect as se}from"./atoms/hooks/useSelect.js";import{useStatusNavigation as ce}from"./atoms/hooks/useStatusNavigation.js";import{useNotification as le}from"./organisms/TopBar/Notifications/NotificationProvider.js";import{StepperProvider as ue,useStepper as de}from"./providers/StepperProvider.js";import{Theme as fe}from"./atoms/enums/Theme.js";import{ThemeProvider as pe,useThemeProvider as me}from"./providers/ThemeProvider/ThemeProvider.js";import{usePrefetchRichTextImages as he}from"./atoms/hooks/usePrefetchRichTextImages.js";import{useFaqsInApplication as ge}from"./atoms/hooks/useFaqsInApplication.js";import{ErrorType as _e}from"./atoms/enums/Errors.js";import{SpacingsMode as ve}from"./atoms/enums/SpacingsMode.js";import{amplify_failure as ye,amplify_lwd as be,amplify_success as xe,amplify_wellbore as Se,amplify_wireline as Ce,amplify_wireline_cased_hole as we,amplify_wireline_open_hole as Te}from"./atoms/icons/drilling.js";import{amplify_calculator as Ee,amplify_overlay as De,amplify_sidebyside as Oe}from"./atoms/icons/map.js";import{amplify_aml as ke,amplify_arrow_up_down as Ae,amplify_branch as je,amplify_info_small as Me,amplify_merged as Ne,amplify_overview as Pe,amplify_resources as Fe,amplify_sharepoint as Ie,amplify_shield_person as Le,amplify_small_portal as Re,amplify_snail as ze,amplify_sort_small as Be,amplify_tutorials as Ve}from"./atoms/icons/other.js";import{amplify_h1 as He,amplify_h2 as Ue,amplify_h3 as We,amplify_h4 as Ge,amplify_table_add_column_left as Ke,amplify_table_add_column_right as qe,amplify_table_add_row_above as Je,amplify_table_add_row_below as Ye,amplify_table_column_heading as Xe,amplify_table_merge_cells as Ze,amplify_table_remove_column as Qe,amplify_table_remove_row as $e,amplify_table_row_heading as et,amplify_table_split_cell as tt}from"./atoms/icons/wysiwyg.js";import{style as nt}from"./atoms/index.js";import{ReleaseNotesProvider as rt,useReleaseNotes as it}from"./providers/ReleaseNotesProvider.js";import{TutorialHighlightingProvider as at}from"./providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js";import{LoadingProvider as ot}from"./providers/LoadingProvider.js";import{AnimatedCheckmark as st}from"./molecules/AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as ct}from"./molecules/ApplicationIcon/ApplicationIcon.js";import{Badge as lt}from"./molecules/Badge/Badge.js";import{Banner as ut}from"./molecules/Banner/Banner.js";import{Button as dt}from"./molecules/Button/Button.js";import{Chip as ft}from"./molecules/Chip/Chip.js";import{SkeletonBase as pt,skeletonBaseloading as mt}from"./molecules/Skeleton/SkeletonBase/SkeletonBase.js";import{DatePicker as ht}from"./molecules/DatePicker/DatePicker.js";import{DateRangePicker as gt}from"./molecules/DateRangePicker/DateRangePicker.js";import{OptionalTooltip as _t}from"./molecules/OptionalTooltip/OptionalTooltip.js";import{Dialog as vt}from"./molecules/Dialog/Dialog.js";import{EquinorLogo as yt}from"./molecules/EquinorLogo/EquinorLogo.js";import{FileProgress as bt}from"./molecules/FileProgress/FileProgress.js";import{FileUploadArea as xt}from"./molecules/FileUploadArea/FileUploadArea.js";import{IconCellColors as St,IconCellStates as Ct,IconCellVariants as wt}from"./molecules/IconCell/IconCell.types.js";import{IconCell as Tt}from"./molecules/IconCell/IconCell.js";import{InfoElement as Et}from"./molecules/InfoElement/InfoElement.js";import{ProfileAvatar as Dt}from"./molecules/ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as Ot}from"./molecules/RichTextDisplay/RichTextDisplay.js";import{TableMenuBar as kt,TextTable as At}from"./molecules/RichTextEditor/MenuBar/Table/TableBar.js";import{TextField as jt}from"./molecules/TextField/TextField.js";import{AmplifyBar as Mt,EditorMenu as Nt,EditorText as Pt}from"./molecules/RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as Ft}from"./molecules/RichTextEditor/RichTextEditor.js";import{RichText as It}from"./molecules/RichTextEditor/index.js";import{Tabs as Lt}from"./molecules/Tabs/Tabs.js";import{Search as Rt}from"./molecules/Search/Search.js";import{SkeletonGradient as zt}from"./molecules/Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as Bt}from"./molecules/Stepper/Stepper.js";import{OptionDrawer as Vt}from"./molecules/OptionDrawer/OptionDrawer.js";import{ComboBoxChip as Ht}from"./molecules/Select/Select.styles.js";import{ComboBox as Ut}from"./molecules/Select/ComboBox/ComboBox.js";import{SingleSelect as Wt}from"./molecules/Select/SingleSelect/SingleSelect.js";import{FeedBackIcon as Gt}from"./molecules/FeedBackIcon/FeedBackIcon.js";import{ListItem as Kt}from"./molecules/ListItem/ListItem.js";import{Checkbox as qt}from"./molecules/SelectionControls/Checkbox/Checkbox.js";import{Radio as Jt}from"./molecules/SelectionControls/Radio/Radio.js";import{Switch as Yt}from"./molecules/SelectionControls/Switch/Switch.js";import{Waves as Xt}from"./molecules/Waves/Waves.js";import{Accordion as Zt,Breadcrumbs as Qt,CircularProgress as $t,Divider as en,DotProgress as tn,EDSDialog as nn,Icon as rn,LinearProgress as an,Menu as on,Typography as sn}from"./molecules/index.js";import{DataGrid as cn}from"./organisms/DataGrid/DataGrid.js";import{Template as ln}from"./organisms/Template/Template.js";import{FieldSelector as un}from"./organisms/FieldSelector/FieldSelector.js";import{Filter as dn}from"./organisms/Filter/index.js";import{SideBar as fn}from"./organisms/SideBar/index.js";import{ReleaseNote as pn}from"./organisms/ReleaseNote/ReleaseNote.js";import{TopBar as mn}from"./organisms/TopBar/index.js";import{BadRequest as hn}from"./organisms/Status/collections/BadRequest.js";import{GenericError as gn}from"./organisms/Status/collections/GenericError.js";import{MissingPermissions as _n}from"./organisms/Status/collections/MissingPermissions.js";import{PageNotFound as vn}from"./organisms/Status/collections/PageNotFound.js";import{ServerError as yn}from"./organisms/Status/collections/ServerError.js";import{ApiResponseError as bn}from"./organisms/Status/collections/ApiResponseError.js";import{TableOfContents as xn}from"./organisms/TableOfContents/TableOfContents.js";import{PageTitle as Sn}from"./organisms/PageTitle/PageTitle.js";import{ToggleGroup as Cn}from"./organisms/ToggleGroup/index.js";import{Faq as wn}from"./organisms/Faq/Faq.js";import{ReleaseNotesPage as Tn}from"./organisms/ReleaseNotesPage/ReleaseNotesPage.js";import{Card as En}from"./organisms/index.js";import{ExpandingIconButton as Dn}from"./deprecated/ExpandingIconButton/ExpandingIconButton.js";import On from"./deprecated/IconToggleButton.js";import{OldStepper as kn}from"./deprecated/OldStepper/OldStepper.js";export{Zt as Accordion,Mt as AmplifyBar,ne as AmplifyKit,st as AnimatedCheckmark,bn as ApiResponseError,ct as ApplicationIcon,K as AuthProvider,hn as BadRequest,lt as Badge,ut as Banner,Qt as Breadcrumbs,dt as Button,En as Card,qt as Checkbox,ft as Chip,$t as CircularProgress,Ut as ComboBox,Ht as ComboBoxChip,w as DEFAULT_FEATURES,cn as DataGrid,ht as DatePicker,gt as DateRangePicker,vt as Dialog,en as Divider,tn as DotProgress,nn as EDSDialog,Nt as EditorMenu,Pt as EditorText,R as Empty,e as EnvironmentType,yt as EquinorLogo,_e as ErrorType,Dn as ExpandingIconButton,wn as Faq,Gt as FeedBackIcon,un as FieldSelector,bt as FileProgress,xt as FileUploadArea,dn as Filter,l as FullPageSpinner,gn as GenericError,E as IMG_WITH_ALT,D as IMG_WITH_SRC_AND_ALT,rn as Icon,Tt as IconCell,St as IconCellColors,Ct as IconCellStates,wt as IconCellVariants,On as IconToggleButton,Et as InfoElement,an as LinearProgress,Kt as ListItem,ot as LoadingProvider,on as Menu,G as MissingAccessToApp,_n as MissingPermissions,kn as OldStepper,Vt as OptionDrawer,_t as OptionalTooltip,vn as PageNotFound,Sn as PageTitle,Dt as ProfileAvatar,Jt as Radio,pn as ReleaseNote,Tn as ReleaseNotesPage,rt as ReleaseNotesProvider,It as RichText,Ot as RichTextDisplay,Ft as RichTextEditor,T as RichTextEditorFeatures,Rt as Search,yn as ServerError,fn as SideBar,J as SideBarProvider,Wt as SingleSelect,pt as SkeletonBase,zt as SkeletonGradient,X as SnackbarProvider,ve as SpacingsMode,W as Status,Bt as Stepper,ue as StepperProvider,Yt as Switch,kt as TableMenuBar,xn as TableOfContents,$ as TableOfContentsProvider,Lt as Tabs,ln as Template,jt as TextField,At as TextTable,fe as Theme,pe as ThemeProvider,Cn as ToggleGroup,mn as TopBar,at as TutorialHighlightingProvider,sn as Typography,Xt as Waves,ke as amplify_aml,Ae as amplify_arrow_up_down,je as amplify_branch,Ee as amplify_calculator,ye as amplify_failure,He as amplify_h1,Ue as amplify_h2,We as amplify_h3,Ge as amplify_h4,Me as amplify_info_small,be as amplify_lwd,Ne as amplify_merged,De as amplify_overlay,Pe as amplify_overview,Fe as amplify_resources,Ie as amplify_sharepoint,Le as amplify_shield_person,Oe as amplify_sidebyside,Re as amplify_small_portal,ze as amplify_snail,Be as amplify_sort_small,xe as amplify_success,Ke as amplify_table_add_column_left,qe as amplify_table_add_column_right,Je as amplify_table_add_row_above,Ye as amplify_table_add_row_below,Xe as amplify_table_column_heading,Ze as amplify_table_merge_cells,Qe as amplify_table_remove_column,$e as amplify_table_remove_row,et as amplify_table_row_heading,tt as amplify_table_split_cell,Ve as amplify_tutorials,Se as amplify_wellbore,Ce as amplify_wireline,we as amplify_wireline_cased_hole,Te as amplify_wireline_open_hole,r as animation,t as auth,z as capitalize,O as cleanRichTextValue,i as colors,v as convertLatLngToUtm,y as convertUtmToLatLng,C as defaultQueryOptions,b as degrees2radians,x as distanceLatLng,o as elevation,n as environment,g as exportComponent,k as extractImageUrls,N as formatBytes,P as formatDataSize,f as formatDate,p as formatDateTime,F as formatKiloBytes,u as formatLatLng,m as formatRelativeDateTime,d as formatUtm,A as getFeatures,V as getHighlightElementBoundingBox,j as getImagesFromRichText,U as getVariantIcon,H as highlightTutorialElementID,M as imageToB64,h as isBetweenDates,B as isValidUrl,_ as setupIcons,s as shape,mt as skeletonBaseloading,I as sortByDate,L as sortByWellboreName,a as spacings,nt as style,c as typography,re as useAmplifyKit,q as useAuth,ie as useDebounce,ae as useFakeProgress,ge as useFaqsInApplication,te as useLocalStorage,le as useNotification,Q as useOnScreenMultiple,he as usePrefetchRichTextImages,oe as usePrevious,it as useReleaseNotes,se as useSelect,Y as useSideBar,Z as useSnackbar,ce as useStatusNavigation,de as useStepper,ee as useTableOfContents,me as useThemeProvider,S as utmProjection};
|
|
1
|
+
import{EnvironmentType as e}from"./atoms/enums/Environment.js";import{auth as t,environment as n}from"./atoms/utils/auth_environment.js";import{animation as r}from"./atoms/style/animation.js";import{colors as i}from"./atoms/style/colors.js";import{spacings as a}from"./atoms/style/spacings.js";import{elevation as o,shape as s,typography as c}from"./atoms/style/index.js";import{FullPageSpinner as l}from"./molecules/FullPageSpinner/FullPageSpinner.js";import{formatLatLng as u,formatUtm as d}from"./atoms/utils/coordinate.js";import{formatDate as f,formatDateTime as p,formatRelativeDateTime as m,isBetweenDates as h}from"./atoms/utils/date.js";import{exportComponent as g}from"./atoms/utils/export.js";import{setupIcons as _}from"./atoms/utils/favicon.js";import{convertLatLngToUtm as v,convertUtmToLatLng as y,degrees2radians as b,distanceLatLng as x,utmProjection as S}from"./atoms/utils/map.js";import{defaultQueryOptions as C}from"./atoms/utils/reactquery.js";import{DEFAULT_FEATURES as w,RichTextEditorFeatures as T}from"./molecules/RichTextEditor/RichTextEditor.types.js";import{IMG_WITH_ALT as E,IMG_WITH_SRC_AND_ALT as D,cleanRichTextValue as O,extractImageUrls as k,getFeatures as A,getImagesFromRichText as j,imageToB64 as M}from"./atoms/utils/richtext.js";import{formatBytes as N,formatDataSize as P,formatKiloBytes as F}from"./atoms/utils/size.js";import{sortByDate as I,sortByWellboreName as L}from"./atoms/utils/sort.js";import{Empty as R,capitalize as z}from"./atoms/utils/string.js";import{isValidUrl as B}from"./atoms/utils/url.js";import{getHighlightElementBoundingBox as V,highlightTutorialElementID as H}from"./atoms/utils/tutorials.js";import{getVariantIcon as U}from"./atoms/utils/forms.js";import{Status as W}from"./organisms/Status/index.js";import{MissingAccessToApp as G}from"./organisms/Status/collections/MissingAccessToApp.js";import{AuthProvider as K,useAuth as q}from"./providers/AuthProvider/AuthProvider.js";import{SideBarProvider as J,useSideBar as Y}from"./providers/SideBarProvider.js";import{SnackbarProvider as X,useSnackbar as Z}from"./providers/SnackbarProvider/SnackbarProvider.js";import{useOnScreenMultiple as Q}from"./atoms/hooks/useOnScreenMultiple.js";import{TableOfContentsProvider as $,useTableOfContents as ee}from"./providers/TableOfContentsProvider.js";import{useLocalStorage as te}from"./atoms/hooks/useLocalStorage.js";import{AmplifyKit as ne}from"./molecules/RichTextEditor/custom-extensions/AmplifyKit.js";import{useAmplifyKit as re}from"./atoms/hooks/useAmplifyKit.js";import{useDebounce as ie}from"./atoms/hooks/useDebounce.js";import{useFakeProgress as ae}from"./atoms/hooks/useFakeProgress.js";import{usePrevious as oe}from"./atoms/hooks/usePrevious.js";import{useSelect as se}from"./atoms/hooks/useSelect.js";import{useStatusNavigation as ce}from"./atoms/hooks/useStatusNavigation.js";import{useNotification as le}from"./organisms/TopBar/Notifications/NotificationProvider.js";import{StepperProvider as ue,useStepper as de}from"./providers/StepperProvider.js";import{Theme as fe}from"./atoms/enums/Theme.js";import{ThemeProvider as pe,useThemeProvider as me}from"./providers/ThemeProvider/ThemeProvider.js";import{usePrefetchRichTextImages as he}from"./atoms/hooks/usePrefetchRichTextImages.js";import{useFaqsInApplication as ge}from"./atoms/hooks/useFaqsInApplication.js";import{ErrorType as _e}from"./atoms/enums/Errors.js";import{SpacingsMode as ve}from"./atoms/enums/SpacingsMode.js";import{amplify_failure as ye,amplify_lwd as be,amplify_success as xe,amplify_wellbore as Se,amplify_wireline as Ce,amplify_wireline_cased_hole as we,amplify_wireline_open_hole as Te}from"./atoms/icons/drilling.js";import{amplify_calculator as Ee,amplify_overlay as De,amplify_sidebyside as Oe}from"./atoms/icons/map.js";import{amplify_aml as ke,amplify_arrow_up_down as Ae,amplify_branch as je,amplify_info_small as Me,amplify_merged as Ne,amplify_overview as Pe,amplify_resources as Fe,amplify_sharepoint as Ie,amplify_shield_person as Le,amplify_small_portal as Re,amplify_snail as ze,amplify_sort_small as Be,amplify_tutorials as Ve}from"./atoms/icons/other.js";import{amplify_h1 as He,amplify_h2 as Ue,amplify_h3 as We,amplify_h4 as Ge,amplify_table_add_column_left as Ke,amplify_table_add_column_right as qe,amplify_table_add_row_above as Je,amplify_table_add_row_below as Ye,amplify_table_column_heading as Xe,amplify_table_merge_cells as Ze,amplify_table_remove_column as Qe,amplify_table_remove_row as $e,amplify_table_row_heading as et,amplify_table_split_cell as tt}from"./atoms/icons/wysiwyg.js";import{style as nt}from"./atoms/index.js";import{ReleaseNotesProvider as rt,useReleaseNotes as it}from"./providers/ReleaseNotesProvider.js";import{TutorialHighlightingProvider as at}from"./providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js";import{LoadingProvider as ot}from"./providers/LoadingProvider.js";import{AnimatedCheckmark as st}from"./molecules/AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as ct}from"./molecules/ApplicationIcon/ApplicationIcon.js";import{Badge as lt}from"./molecules/Badge/Badge.js";import{Banner as ut}from"./molecules/Banner/Banner.js";import{Button as dt}from"./molecules/Button/Button.js";import{Chip as ft}from"./molecules/Chip/Chip.js";import{SkeletonBase as pt,skeletonBaseloading as mt}from"./molecules/Skeleton/SkeletonBase/SkeletonBase.js";import{DatePicker as ht}from"./molecules/DatePicker/DatePicker.js";import{DateRangePicker as gt}from"./molecules/DateRangePicker/DateRangePicker.js";import{OptionalTooltip as _t}from"./molecules/OptionalTooltip/OptionalTooltip.js";import{Dialog as vt}from"./molecules/Dialog/Dialog.js";import{EquinorLogo as yt}from"./molecules/EquinorLogo/EquinorLogo.js";import{FileProgress as bt}from"./molecules/FileProgress/FileProgress.js";import{FileUploadArea as xt}from"./molecules/FileUploadArea/FileUploadArea.js";import{IconCellColors as St,IconCellStates as Ct,IconCellVariants as wt}from"./molecules/IconCell/IconCell.types.js";import{IconCell as Tt}from"./molecules/IconCell/IconCell.js";import{InfoElement as Et}from"./molecules/InfoElement/InfoElement.js";import{ProfileAvatar as Dt}from"./molecules/ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as Ot}from"./molecules/RichTextDisplay/RichTextDisplay.js";import{TableMenuBar as kt,TextTable as At}from"./molecules/RichTextEditor/MenuBar/Table/TableBar.js";import{TextField as jt}from"./molecules/TextField/TextField.js";import{AmplifyBar as Mt,EditorMenu as Nt,EditorText as Pt}from"./molecules/RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as Ft}from"./molecules/RichTextEditor/RichTextEditor.js";import{RichText as It}from"./molecules/RichTextEditor/index.js";import{Tabs as Lt}from"./molecules/Tabs/Tabs.js";import{TableHeader as Rt}from"./molecules/TableHeader/TableHeader.js";import{Search as zt}from"./molecules/Search/Search.js";import{SkeletonGradient as Bt}from"./molecules/Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as Vt}from"./molecules/Stepper/Stepper.js";import{OptionDrawer as Ht}from"./molecules/OptionDrawer/OptionDrawer.js";import{ComboBoxChip as Ut}from"./molecules/Select/Select.styles.js";import{ComboBox as Wt}from"./molecules/Select/ComboBox/ComboBox.js";import{SingleSelect as Gt}from"./molecules/Select/SingleSelect/SingleSelect.js";import{FeedBackIcon as Kt}from"./molecules/FeedBackIcon/FeedBackIcon.js";import{ListItem as qt}from"./molecules/ListItem/ListItem.js";import{Checkbox as Jt}from"./molecules/SelectionControls/Checkbox/Checkbox.js";import{Radio as Yt}from"./molecules/SelectionControls/Radio/Radio.js";import{Switch as Xt}from"./molecules/SelectionControls/Switch/Switch.js";import{Waves as Zt}from"./molecules/Waves/Waves.js";import{Accordion as Qt,Breadcrumbs as $t,CircularProgress as en,Divider as tn,DotProgress as nn,EDSDialog as rn,Icon as an,LinearProgress as on,Menu as sn,Typography as cn}from"./molecules/index.js";import{DataGrid as ln}from"./organisms/DataGrid/DataGrid.js";import{Template as un}from"./organisms/Template/Template.js";import{FieldSelector as dn}from"./organisms/FieldSelector/FieldSelector.js";import{Filter as fn}from"./organisms/Filter/index.js";import{SideBar as pn}from"./organisms/SideBar/index.js";import{ReleaseNote as mn}from"./organisms/ReleaseNote/ReleaseNote.js";import{TopBar as hn}from"./organisms/TopBar/index.js";import{BadRequest as gn}from"./organisms/Status/collections/BadRequest.js";import{GenericError as _n}from"./organisms/Status/collections/GenericError.js";import{MissingPermissions as vn}from"./organisms/Status/collections/MissingPermissions.js";import{PageNotFound as yn}from"./organisms/Status/collections/PageNotFound.js";import{ServerError as bn}from"./organisms/Status/collections/ServerError.js";import{ApiResponseError as xn}from"./organisms/Status/collections/ApiResponseError.js";import{TableOfContents as Sn}from"./organisms/TableOfContents/TableOfContents.js";import{PageTitle as Cn}from"./organisms/PageTitle/PageTitle.js";import{ToggleGroup as wn}from"./organisms/ToggleGroup/index.js";import{Faq as Tn}from"./organisms/Faq/Faq.js";import{ReleaseNotesPage as En}from"./organisms/ReleaseNotesPage/ReleaseNotesPage.js";import{Card as Dn}from"./organisms/index.js";import{ExpandingIconButton as On}from"./deprecated/ExpandingIconButton/ExpandingIconButton.js";import kn from"./deprecated/IconToggleButton.js";import{OldStepper as An}from"./deprecated/OldStepper/OldStepper.js";export{Qt as Accordion,Mt as AmplifyBar,ne as AmplifyKit,st as AnimatedCheckmark,xn as ApiResponseError,ct as ApplicationIcon,K as AuthProvider,gn as BadRequest,lt as Badge,ut as Banner,$t as Breadcrumbs,dt as Button,Dn as Card,Jt as Checkbox,ft as Chip,en as CircularProgress,Wt as ComboBox,Ut as ComboBoxChip,w as DEFAULT_FEATURES,ln as DataGrid,ht as DatePicker,gt as DateRangePicker,vt as Dialog,tn as Divider,nn as DotProgress,rn as EDSDialog,Nt as EditorMenu,Pt as EditorText,R as Empty,e as EnvironmentType,yt as EquinorLogo,_e as ErrorType,On as ExpandingIconButton,Tn as Faq,Kt as FeedBackIcon,dn as FieldSelector,bt as FileProgress,xt as FileUploadArea,fn as Filter,l as FullPageSpinner,_n as GenericError,E as IMG_WITH_ALT,D as IMG_WITH_SRC_AND_ALT,an as Icon,Tt as IconCell,St as IconCellColors,Ct as IconCellStates,wt as IconCellVariants,kn as IconToggleButton,Et as InfoElement,on as LinearProgress,qt as ListItem,ot as LoadingProvider,sn as Menu,G as MissingAccessToApp,vn as MissingPermissions,An as OldStepper,Ht as OptionDrawer,_t as OptionalTooltip,yn as PageNotFound,Cn as PageTitle,Dt as ProfileAvatar,Yt as Radio,mn as ReleaseNote,En as ReleaseNotesPage,rt as ReleaseNotesProvider,It as RichText,Ot as RichTextDisplay,Ft as RichTextEditor,T as RichTextEditorFeatures,zt as Search,bn as ServerError,pn as SideBar,J as SideBarProvider,Gt as SingleSelect,pt as SkeletonBase,Bt as SkeletonGradient,X as SnackbarProvider,ve as SpacingsMode,W as Status,Vt as Stepper,ue as StepperProvider,Xt as Switch,Rt as TableHeader,kt as TableMenuBar,Sn as TableOfContents,$ as TableOfContentsProvider,Lt as Tabs,un as Template,jt as TextField,At as TextTable,fe as Theme,pe as ThemeProvider,wn as ToggleGroup,hn as TopBar,at as TutorialHighlightingProvider,cn as Typography,Zt as Waves,ke as amplify_aml,Ae as amplify_arrow_up_down,je as amplify_branch,Ee as amplify_calculator,ye as amplify_failure,He as amplify_h1,Ue as amplify_h2,We as amplify_h3,Ge as amplify_h4,Me as amplify_info_small,be as amplify_lwd,Ne as amplify_merged,De as amplify_overlay,Pe as amplify_overview,Fe as amplify_resources,Ie as amplify_sharepoint,Le as amplify_shield_person,Oe as amplify_sidebyside,Re as amplify_small_portal,ze as amplify_snail,Be as amplify_sort_small,xe as amplify_success,Ke as amplify_table_add_column_left,qe as amplify_table_add_column_right,Je as amplify_table_add_row_above,Ye as amplify_table_add_row_below,Xe as amplify_table_column_heading,Ze as amplify_table_merge_cells,Qe as amplify_table_remove_column,$e as amplify_table_remove_row,et as amplify_table_row_heading,tt as amplify_table_split_cell,Ve as amplify_tutorials,Se as amplify_wellbore,Ce as amplify_wireline,we as amplify_wireline_cased_hole,Te as amplify_wireline_open_hole,r as animation,t as auth,z as capitalize,O as cleanRichTextValue,i as colors,v as convertLatLngToUtm,y as convertUtmToLatLng,C as defaultQueryOptions,b as degrees2radians,x as distanceLatLng,o as elevation,n as environment,g as exportComponent,k as extractImageUrls,N as formatBytes,P as formatDataSize,f as formatDate,p as formatDateTime,F as formatKiloBytes,u as formatLatLng,m as formatRelativeDateTime,d as formatUtm,A as getFeatures,V as getHighlightElementBoundingBox,j as getImagesFromRichText,U as getVariantIcon,H as highlightTutorialElementID,M as imageToB64,h as isBetweenDates,B as isValidUrl,_ as setupIcons,s as shape,mt as skeletonBaseloading,I as sortByDate,L as sortByWellboreName,a as spacings,nt as style,c as typography,re as useAmplifyKit,q as useAuth,ie as useDebounce,ae as useFakeProgress,ge as useFaqsInApplication,te as useLocalStorage,le as useNotification,Q as useOnScreenMultiple,he as usePrefetchRichTextImages,oe as usePrevious,it as useReleaseNotes,se as useSelect,Y as useSideBar,Z as useSnackbar,ce as useStatusNavigation,de as useStepper,ee as useTableOfContents,me as useThemeProvider,S as utmProjection};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react9 from "react";
|
|
2
2
|
import { HTMLAttributes, KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
3
3
|
import { IconData } from "@equinor/eds-icons";
|
|
4
4
|
|
|
@@ -25,6 +25,6 @@ type DeletableChipProps = BaseChipProps & InteractiveChipBase & {
|
|
|
25
25
|
onDelete: (event: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>) => void;
|
|
26
26
|
};
|
|
27
27
|
type ChipProps = Omit<HTMLAttributes<HTMLDivElement | HTMLButtonElement>, 'onClick'> & (ReadOnlyChipProps | ClickableChipProps | DeletableChipProps);
|
|
28
|
-
declare const Chip:
|
|
28
|
+
declare const Chip: react9.ForwardRefExoticComponent<ChipProps & react9.RefAttributes<HTMLDivElement | HTMLButtonElement>>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { BaseChipProps, Chip, ClickableChipProps, DeletableChipProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Variants } from "../../atoms/types/variants.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react11 from "react";
|
|
3
3
|
import { DatePickerProps } from "@equinor/eds-core-react";
|
|
4
4
|
|
|
5
5
|
//#region src/molecules/DatePicker/DatePicker.d.ts
|
|
@@ -9,11 +9,11 @@ type DatePickerProps$1 = Omit<DatePickerProps, 'variant' | 'defaultValue'> & {
|
|
|
9
9
|
meta?: string;
|
|
10
10
|
loading?: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const DatePicker$1:
|
|
12
|
+
declare const DatePicker$1: react11.ForwardRefExoticComponent<Omit<DatePickerProps, "defaultValue" | "variant"> & {
|
|
13
13
|
variant?: Variants;
|
|
14
14
|
defaultValue?: Date | undefined;
|
|
15
15
|
meta?: string;
|
|
16
16
|
loading?: boolean;
|
|
17
|
-
} &
|
|
17
|
+
} & react11.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { DatePicker$1 as DatePicker, DatePickerProps$1 as DatePickerProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Variants } from "../../atoms/types/variants.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react13 from "react";
|
|
3
3
|
import { DateRangePickerProps } from "@equinor/eds-core-react";
|
|
4
4
|
|
|
5
5
|
//#region src/molecules/DateRangePicker/DateRangePicker.d.ts
|
|
@@ -8,10 +8,10 @@ type DateRangePickerProps$1 = Omit<DateRangePickerProps, 'variant'> & {
|
|
|
8
8
|
meta?: string;
|
|
9
9
|
loading?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const DateRangePicker$1:
|
|
11
|
+
declare const DateRangePicker$1: react13.ForwardRefExoticComponent<Omit<DateRangePickerProps, "variant"> & {
|
|
12
12
|
variant?: Variants;
|
|
13
13
|
meta?: string;
|
|
14
14
|
loading?: boolean;
|
|
15
|
-
} &
|
|
15
|
+
} & react13.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DateRangePicker$1 as DateRangePicker, DateRangePickerProps$1 as DateRangePickerProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react5 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { ButtonProps, DialogProps } from "@equinor/eds-core-react";
|
|
4
4
|
import { IconData } from "@equinor/eds-icons";
|
|
@@ -51,6 +51,6 @@ interface DialogProps$1 extends Omit<DialogProps, 'title'> {
|
|
|
51
51
|
* @param additionalInfo - Defaults to empty, and won't show the additional info button
|
|
52
52
|
* Also inherits props from EDS dialog
|
|
53
53
|
*/
|
|
54
|
-
declare const Dialog$1:
|
|
54
|
+
declare const Dialog$1: react5.ForwardRefExoticComponent<DialogProps$1 & react5.RefAttributes<HTMLDivElement>>;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { Dialog$1 as Dialog, DialogAction, DialogProps$1 as DialogProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SizeIconProps } from "../../atoms/types/Icon.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react7 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/EquinorLogo/EquinorLogo.d.ts
|
|
5
5
|
interface EquinorLogoProps extends Partial<SizeIconProps> {
|
|
6
6
|
large?: boolean;
|
|
7
7
|
color?: 'red' | 'white' | 'black';
|
|
8
8
|
}
|
|
9
|
-
declare const EquinorLogo:
|
|
9
|
+
declare const EquinorLogo: react7.ForwardRefExoticComponent<EquinorLogoProps & react7.RefAttributes<SVGSVGElement>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { EquinorLogo, EquinorLogoProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconCellColor, IconCellState, IconCellVariant, IconCellVariants } from "./IconCell.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react15 from "react";
|
|
3
3
|
import { HTMLAttributes, MouseEventHandler, ReactNode } from "react";
|
|
4
4
|
import { IconData } from "@equinor/eds-icons";
|
|
5
5
|
|
|
@@ -49,6 +49,6 @@ type IconCellProps = ScribbledOutProps | RegularIconCellProps;
|
|
|
49
49
|
* @param {React.Ref<HTMLButtonElement>} ref - Ref forwarded to the inner button element.
|
|
50
50
|
* @returns {JSX.Element} The rendered IconCell.
|
|
51
51
|
*/
|
|
52
|
-
declare const IconCell:
|
|
52
|
+
declare const IconCell: react15.ForwardRefExoticComponent<IconCellProps & react15.RefAttributes<HTMLButtonElement>>;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { IconCell, IconCellProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react90 from "react";
|
|
2
2
|
import { FocusEventHandler, HTMLAttributes, MouseEventHandler, ReactNode } from "react";
|
|
3
3
|
import { IconData } from "@equinor/eds-icons";
|
|
4
4
|
|
|
@@ -15,6 +15,6 @@ interface ListItemProps extends HTMLAttributes<HTMLButtonElement> {
|
|
|
15
15
|
isChild?: boolean;
|
|
16
16
|
borderBottom?: boolean;
|
|
17
17
|
}
|
|
18
|
-
declare const ListItem:
|
|
18
|
+
declare const ListItem: react90.ForwardRefExoticComponent<ListItemProps & react90.RefAttributes<HTMLButtonElement>>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ListItem, ListItemProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeEvent, MouseEvent } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/OptionDrawer/OptionDrawer.d.ts
|
|
5
5
|
interface ToggleEventProps<T> {
|
|
@@ -43,7 +43,7 @@ declare const OptionDrawer: {
|
|
|
43
43
|
openAll,
|
|
44
44
|
showIntermediateParent,
|
|
45
45
|
parentHasNestedItems
|
|
46
|
-
}: OptionDrawerProps<T>):
|
|
46
|
+
}: OptionDrawerProps<T>): react_jsx_runtime0.JSX.Element;
|
|
47
47
|
displayName: string;
|
|
48
48
|
};
|
|
49
49
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react17 from "react";
|
|
2
2
|
import { TooltipProps } from "@equinor/eds-core-react";
|
|
3
3
|
import * as _floating_ui_utils0 from "@floating-ui/utils";
|
|
4
4
|
|
|
@@ -6,14 +6,14 @@ import * as _floating_ui_utils0 from "@floating-ui/utils";
|
|
|
6
6
|
type OptionalTooltipProps = {
|
|
7
7
|
textTransform?: string;
|
|
8
8
|
} & TooltipProps;
|
|
9
|
-
declare const OptionalTooltip:
|
|
9
|
+
declare const OptionalTooltip: react17.ForwardRefExoticComponent<{
|
|
10
10
|
textTransform?: string;
|
|
11
11
|
} & {
|
|
12
12
|
placement?: _floating_ui_utils0.Placement;
|
|
13
|
-
title?:
|
|
13
|
+
title?: react17.ReactNode;
|
|
14
14
|
children: React.ReactElement & React.RefAttributes<HTMLElement>;
|
|
15
15
|
enterDelay?: number;
|
|
16
16
|
portalContainer?: HTMLElement;
|
|
17
|
-
} & Omit<
|
|
17
|
+
} & Omit<react17.HTMLAttributes<HTMLDivElement>, "title"> & react17.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { OptionalTooltip, OptionalTooltipProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react29 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/molecules/ProfileAvatar/ProfileAvatar.d.ts
|
|
4
4
|
interface ProfileAvatarProps {
|
|
@@ -7,6 +7,6 @@ interface ProfileAvatarProps {
|
|
|
7
7
|
size?: 'small' | 'small-medium' | 'medium' | 'large' | 'x-large' | number;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const ProfileAvatar:
|
|
10
|
+
declare const ProfileAvatar: react29.ForwardRefExoticComponent<ProfileAvatarProps & react29.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ProfileAvatar, ProfileAvatarProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EditorPanel, ImageExtensionFnProps, RichTextEditorFeatures } from "../RichTextEditor.types.js";
|
|
2
2
|
import { MenuButtonProps } from "./MenuButton.js";
|
|
3
3
|
import { AddImageProps } from "./AddImageButton.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react21 from "react";
|
|
5
5
|
import { FC } from "react";
|
|
6
6
|
import * as styled_components0 from "styled-components";
|
|
7
7
|
import { Editor } from "@tiptap/react";
|
|
8
|
-
import * as
|
|
8
|
+
import * as styled_components_dist_types0 from "styled-components/dist/types";
|
|
9
9
|
|
|
10
10
|
//#region src/molecules/RichTextEditor/MenuBar/MenuBar.d.ts
|
|
11
11
|
interface MenuBarProps extends Pick<ImageExtensionFnProps, 'onImageUpload'> {
|
|
@@ -14,10 +14,10 @@ interface MenuBarProps extends Pick<ImageExtensionFnProps, 'onImageUpload'> {
|
|
|
14
14
|
}
|
|
15
15
|
declare const AmplifyBar: FC<MenuBarProps>;
|
|
16
16
|
declare const EditorMenu: {
|
|
17
|
-
Bar:
|
|
18
|
-
Bars:
|
|
19
|
-
Button:
|
|
20
|
-
Section:
|
|
17
|
+
Bar: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<react21.DetailedHTMLProps<react21.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
18
|
+
Bars: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<react21.DetailedHTMLProps<react21.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
19
|
+
Button: react21.ForwardRefExoticComponent<Omit<MenuButtonProps, "ref"> & react21.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
Section: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<react21.DetailedHTMLProps<react21.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
21
21
|
AddImageButton: FC<AddImageProps>;
|
|
22
22
|
};
|
|
23
23
|
declare const EditorText: {
|
|
@@ -2,16 +2,16 @@ import { EditorStylingProps, RichTextContentProps } from "./RichTextEditor.style
|
|
|
2
2
|
import { EditorProviderProps } from "./EditorProvider.js";
|
|
3
3
|
import { MenuBarProps } from "./MenuBar/MenuBar.js";
|
|
4
4
|
import { RichTextEditor } from "./RichTextEditor.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react31 from "react";
|
|
6
6
|
import * as _tiptap_react0 from "@tiptap/react";
|
|
7
|
-
import * as
|
|
7
|
+
import * as styled_components_dist_types2 from "styled-components/dist/types";
|
|
8
8
|
|
|
9
9
|
//#region src/molecules/RichTextEditor/index.d.ts
|
|
10
10
|
declare const RichText: {
|
|
11
|
-
Styling:
|
|
12
|
-
Provider:
|
|
13
|
-
Content:
|
|
14
|
-
Bar:
|
|
11
|
+
Styling: styled_components_dist_types2.IStyledComponentBase<"web", styled_components_dist_types2.Substitute<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, EditorStylingProps>> & string;
|
|
12
|
+
Provider: react31.FC<EditorProviderProps>;
|
|
13
|
+
Content: styled_components_dist_types2.IStyledComponentBase<"web", styled_components_dist_types2.Substitute<Omit<_tiptap_react0.EditorContentProps, "ref"> & react31.RefAttributes<HTMLDivElement>, RichTextContentProps>> & string & Omit<react31.NamedExoticComponent<Omit<_tiptap_react0.EditorContentProps, "ref"> & react31.RefAttributes<HTMLDivElement>>, keyof react31.Component<any, {}, any>>;
|
|
14
|
+
Bar: react31.FC<MenuBarProps>;
|
|
15
15
|
};
|
|
16
16
|
//#endregion
|
|
17
17
|
export { RichText };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react39 from "react";
|
|
2
2
|
import { SearchProps } from "@equinor/eds-core-react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/Search/Search.d.ts
|
|
5
|
-
declare const Search$1:
|
|
5
|
+
declare const Search$1: react39.ForwardRefExoticComponent<SearchProps & react39.RefAttributes<HTMLInputElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Search$1 as Search };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonSelectProps, GroupedSelectProps, ListSelectProps, MultiSelectCommon, SelectOptionRequired } from "../Select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/Select/ComboBox/ComboBox.d.ts
|
|
5
5
|
type ListComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T> & MultiSelectCommon<T> & ListSelectProps<T>;
|
|
@@ -18,6 +18,6 @@ type GroupedComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T>
|
|
|
18
18
|
* @param showSelectedAsText - If values should be shown as "5/10 Selected", defaults to false
|
|
19
19
|
* @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
|
|
20
20
|
*/
|
|
21
|
-
declare function ComboBox<T extends SelectOptionRequired>(props: ListComboBoxProps<T> | GroupedComboBoxProps<T>):
|
|
21
|
+
declare function ComboBox<T extends SelectOptionRequired>(props: ListComboBoxProps<T> | GroupedComboBoxProps<T>): react_jsx_runtime1.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { ComboBox, GroupedComboBoxProps, ListComboBoxProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseChipProps, ClickableChipProps, DeletableChipProps } from "../Chip/Chip.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react43 from "react";
|
|
3
3
|
import "@equinor/eds-core-react";
|
|
4
4
|
import "styled-components";
|
|
5
5
|
import * as styled_components_dist_types8 from "styled-components/dist/types";
|
|
@@ -11,12 +11,12 @@ interface ComboBoxChipProps {
|
|
|
11
11
|
$lightBackground?: boolean;
|
|
12
12
|
className: string;
|
|
13
13
|
}
|
|
14
|
-
declare const ComboBoxChip: styled_components_dist_types8.IStyledComponentBase<"web", styled_components_dist_types8.Substitute<((Omit<
|
|
14
|
+
declare const ComboBoxChip: styled_components_dist_types8.IStyledComponentBase<"web", styled_components_dist_types8.Substitute<((Omit<react43.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
|
|
15
15
|
onClick?: undefined;
|
|
16
16
|
onDelete?: undefined;
|
|
17
|
-
}) | ClickableChipProps | DeletableChipProps)) &
|
|
17
|
+
}) | ClickableChipProps | DeletableChipProps)) & react43.RefAttributes<HTMLDivElement | HTMLButtonElement>) & styled_components_dist_types8.BaseObject, ComboBoxChipProps>> & string & Omit<react43.ForwardRefExoticComponent<(Omit<react43.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
|
|
18
18
|
onClick?: undefined;
|
|
19
19
|
onDelete?: undefined;
|
|
20
|
-
}) | ClickableChipProps | DeletableChipProps)) &
|
|
20
|
+
}) | ClickableChipProps | DeletableChipProps)) & react43.RefAttributes<HTMLDivElement | HTMLButtonElement>>, keyof react43.Component<any, {}, any>>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ComboBoxChip };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonSelectProps, GroupedSelectProps, ListSelectProps, SelectOptionRequired, SingleSelectCommon } from "../Select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/Select/SingleSelect/SingleSelect.d.ts
|
|
5
5
|
type ListSingleSelectProps<T extends SelectOptionRequired> = CommonSelectProps<T> & SingleSelectCommon<T> & ListSelectProps<T>;
|
|
@@ -16,6 +16,6 @@ type GroupedSingleSelectProps<T extends SelectOptionRequired> = CommonSelectProp
|
|
|
16
16
|
* @param onSearchFilter - Custom filter function for search, default is "item.label.match(new RegExp(searchValue, 'i'))"
|
|
17
17
|
* @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
|
|
18
18
|
*/
|
|
19
|
-
declare function SingleSelect<T extends SelectOptionRequired>(props: ListSingleSelectProps<T> | GroupedSingleSelectProps<T>):
|
|
19
|
+
declare function SingleSelect<T extends SelectOptionRequired>(props: ListSingleSelectProps<T> | GroupedSingleSelectProps<T>): react_jsx_runtime2.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { GroupedSingleSelectProps, ListSingleSelectProps, SingleSelect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react92 from "react";
|
|
2
2
|
import { CheckboxProps } from "@equinor/eds-core-react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/SelectionControls/Checkbox/Checkbox.d.ts
|
|
@@ -7,6 +7,6 @@ interface CheckboxProps$1 extends CheckboxProps {
|
|
|
7
7
|
outlined?: boolean;
|
|
8
8
|
error?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const Checkbox$1:
|
|
10
|
+
declare const Checkbox$1: react92.ForwardRefExoticComponent<CheckboxProps$1 & react92.RefAttributes<HTMLInputElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Checkbox$1 as Checkbox, CheckboxProps$1 as CheckboxProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react94 from "react";
|
|
2
2
|
import { RadioProps } from "@equinor/eds-core-react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/SelectionControls/Radio/Radio.d.ts
|
|
@@ -7,6 +7,6 @@ interface RadioProps$1 extends RadioProps {
|
|
|
7
7
|
outlined?: boolean;
|
|
8
8
|
error?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const Radio$1:
|
|
10
|
+
declare const Radio$1: react94.ForwardRefExoticComponent<RadioProps$1 & react94.RefAttributes<HTMLInputElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Radio$1 as Radio, RadioProps$1 as RadioProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react41 from "react";
|
|
2
2
|
import * as styled_components_dist_types6 from "styled-components/dist/types";
|
|
3
3
|
import * as styled_components_dist_models_Keyframes0 from "styled-components/dist/models/Keyframes";
|
|
4
4
|
|
|
@@ -7,6 +7,6 @@ declare const skeletonBaseloading: styled_components_dist_models_Keyframes0.defa
|
|
|
7
7
|
interface SkeletonBaseProps {
|
|
8
8
|
$offset?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const SkeletonBase: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<
|
|
10
|
+
declare const SkeletonBase: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<react41.DetailedHTMLProps<react41.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SkeletonBaseProps>> & string;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SkeletonBase, SkeletonBaseProps, skeletonBaseloading };
|
|
@@ -23,8 +23,7 @@ import{COLORS as e}from"../Skeleton.styles.js";import t,{css as n,keyframes as r
|
|
|
23
23
|
top: 0;
|
|
24
24
|
transform: translateX(-100%);
|
|
25
25
|
z-index: 1;
|
|
26
|
-
${e=>e
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
26
|
+
${({$offset:e})=>e?n`
|
|
27
|
+
animation-delay: ${e}ms;
|
|
28
|
+
`:``}
|
|
30
29
|
`;export{a as SkeletonBase,i as skeletonBaseloading};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Variants } from "../../atoms/types/variants.js";
|
|
2
|
+
import { FC, MouseEventHandler } from "react";
|
|
3
|
+
import { IconData } from "@equinor/eds-icons";
|
|
4
|
+
|
|
5
|
+
//#region src/molecules/TableHeader/TableHeader.d.ts
|
|
6
|
+
interface TableHeaderProps {
|
|
7
|
+
as?: 'th' | 'div';
|
|
8
|
+
variant?: Extract<Variants, 'error' | 'warning'>;
|
|
9
|
+
onClick?: MouseEventHandler;
|
|
10
|
+
leadingIcon?: IconData;
|
|
11
|
+
trailingAction?: {
|
|
12
|
+
icon: IconData;
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
};
|
|
15
|
+
sorting?: {
|
|
16
|
+
isSorting?: 'asc' | 'desc';
|
|
17
|
+
onSortClick?: MouseEventHandler;
|
|
18
|
+
};
|
|
19
|
+
children: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @param as - HTML element to render as
|
|
23
|
+
* @param variant - Form variant (error, warning)
|
|
24
|
+
* @param onClick - Click handler for the cell
|
|
25
|
+
* @param leadingIcon - Icon to display before the text, only has defaults when a variant has been set
|
|
26
|
+
* @param trailingAction - Button with icon after text, but before sort icon
|
|
27
|
+
* @param sorting - If the sorting should be enabled, { isSorting, onSortClick } where isSorting determines if the sort icon is shown and onSortClick is the click handler for sorting
|
|
28
|
+
* @param children - Text content of the header cell
|
|
29
|
+
*/
|
|
30
|
+
declare const TableHeader: FC<TableHeaderProps>;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { TableHeader, TableHeaderProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{SpacingsMode as e}from"../../atoms/enums/SpacingsMode.js";import{Button as t}from"../Button/Button.js";import{getActionIconColor as n,getLeadingIcon as r,getLeadingIconColor as i,getSortingIcon as a,getTextColor as o}from"./TableHeader.utils.js";import{ActionsWrapper as s,Container as c,Wrapper as l}from"./TableHeader.styles.js";import{Icon as u,Typography as d}from"@equinor/eds-core-react";import{jsx as f,jsxs as p}from"react/jsx-runtime";const m=({as:m=`th`,variant:h,onClick:g,sorting:_,leadingIcon:v,trailingAction:y,children:b})=>{let x=r({variant:h,leadingIcon:v});return f(l,{as:m,children:p(c,{$hasOnClick:!!g,$hasOnSort:!!_,$variant:h,onClick:e=>{g?g(e):_?.onSortClick?.(e)},children:[x&&f(u,{data:x,color:i({variant:h,onClick:g})}),f(d,{variant:`cell_header`,group:`table`,color:o({variant:h,onClick:g}),children:b}),(!!y||!!_)&&p(s,{children:[y&&f(t,{"data-spacings-mode":e.COMPACT,variant:`ghost_icon`,onClick:y.onClick,children:f(u,{data:y.icon,color:n({variant:h})})}),_?.isSorting&&f(t,{className:`sort-button`,onClick:g?_.onSortClick:void 0,"data-spacings-mode":e.COMPACT,variant:`ghost_icon`,children:f(u,{data:a(_.isSorting),color:n({variant:h})})})]})]})})};export{m as TableHeader};
|