@inceptionbg/iui 2.0.34 → 2.0.36
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 +7 -6
- package/dist/index.js.map +1 -1
- package/dist/iui.css +1 -1
- package/package.json +25 -22
- package/idea/GridTable/GridTable.tsx +0 -119
- package/idea/GridTable/gridTable.scss +0 -42
- package/idea/Menu/Menu.tsx +0 -121
- package/idea/Menu/MenuItem.tsx +0 -75
- package/idea/Menu/hooks/useMenuControl.ts +0 -13
- package/idea/Menu.tsx +0 -133
- package/idea/NoAccessInfo.tsx +0 -193
- package/idea/Table/Components/Edit/ItemActionsMenu.tsx +0 -85
- package/idea/Table/Components/Edit/ItemEditOptionsButtons.tsx +0 -31
- package/idea/Table/Components/Edit/TableEditRow.tsx +0 -57
- package/idea/Table/Components/FilterItem.tsx +0 -20
- package/idea/Table/Components/Header/TableHeader.tsx +0 -46
- package/idea/Table/Components/Header/TableHeaderRow.tsx +0 -37
- package/idea/Table/Components/Print/CustomTablePrint.tsx +0 -115
- package/idea/Table/Components/SetSortList.tsx +0 -30
- package/idea/Table/Components/SetTableFilter.tsx +0 -91
- package/idea/Table/Components/TableFooter.tsx +0 -137
- package/idea/Table/Components/TableOptions.tsx +0 -227
- package/idea/Table/Components/Templates/TemplateCreate.tsx +0 -80
- package/idea/Table/Components/Templates/TemplateCreateDefault.tsx +0 -45
- package/idea/Table/Components/Templates/TemplateList.tsx +0 -167
- package/idea/Table/Components/Templates/repo/TemplateRepo.ts +0 -53
- package/idea/Table/Table.tsx +0 -528
- package/idea/Table/hooks/useDefaultTemplate.ts +0 -20
- package/idea/Table/hooks/useTableKeyboard.ts +0 -137
- package/idea/Table/hooks/useTableSelect.ts +0 -11
- package/rollup.config.js +0 -52
- package/src/assets/icons/duotone/faBell.ts +0 -17
- package/src/assets/icons/duotone/faCircleUser.ts +0 -17
- package/src/assets/icons/regular/faArrowLeft.ts +0 -15
- package/src/assets/icons/regular/faArrowRightArrowLeft.ts +0 -15
- package/src/assets/icons/regular/faCircleCheck.ts +0 -15
- package/src/assets/icons/regular/faCircleExclamation.ts +0 -15
- package/src/assets/icons/regular/faCircleInfo.ts +0 -15
- package/src/assets/icons/regular/faFileArrowDown.ts +0 -15
- package/src/assets/icons/regular/faFilterCircleXmark.ts +0 -15
- package/src/assets/icons/regular/faTriangleExclamation.ts +0 -15
- package/src/assets/icons/solid/faAngleLeft.ts +0 -15
- package/src/assets/icons/solid/faAngleRight.ts +0 -15
- package/src/assets/icons/solid/faArrowDownWideShort.ts +0 -15
- package/src/assets/icons/solid/faCaretDown.ts +0 -15
- package/src/assets/icons/solid/faCheck.ts +0 -15
- package/src/assets/icons/solid/faEllipsisVertical.ts +0 -15
- package/src/assets/icons/solid/faEnvelopeDot.ts +0 -15
- package/src/assets/icons/solid/faFilter.ts +0 -15
- package/src/assets/icons/solid/faFloppyDisk.ts +0 -15
- package/src/assets/icons/solid/faGripDotsVertical.ts +0 -15
- package/src/assets/icons/solid/faListUl.ts +0 -15
- package/src/assets/icons/solid/faMinus.ts +0 -15
- package/src/assets/icons/solid/faPlus.ts +0 -15
- package/src/assets/icons/solid/faPrint.ts +0 -15
- package/src/assets/icons/solid/faRotateRight.ts +0 -15
- package/src/assets/icons/solid/faXmark.ts +0 -15
- package/src/assets/images/logo/inception.svg +0 -22
- package/src/assets/images/logo/mts.svg +0 -5703
- package/src/assets/images/logo/paperless.svg +0 -21
- package/src/assets/images/logo/pismonosa.png +0 -0
- package/src/assets/images/not-found.svg +0 -19
- package/src/components/Accordions/Accordions.tsx +0 -74
- package/src/components/Alert/Alert.tsx +0 -31
- package/src/components/Badge/DotBadge.tsx +0 -16
- package/src/components/Badge/NotificationBadge.tsx +0 -29
- package/src/components/Badge/PillBadge.tsx +0 -13
- package/src/components/Button/Button.tsx +0 -56
- package/src/components/Button/IconButton.tsx +0 -51
- package/src/components/Button/SplitButton.tsx +0 -91
- package/src/components/Dashboard/Dashboard.tsx +0 -9
- package/src/components/Dashboard/DashboardWidget.tsx +0 -44
- package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +0 -36
- package/src/components/Dialog/Dialog.tsx +0 -178
- package/src/components/Dialog/components/DialogFooter.tsx +0 -100
- package/src/components/Header/Components/EnvBadge.tsx +0 -17
- package/src/components/Header/Components/ModuleSelect.tsx +0 -68
- package/src/components/Header/Components/Notifications.tsx +0 -204
- package/src/components/Header/Components/UserMenu.tsx +0 -52
- package/src/components/Header/Header.tsx +0 -45
- package/src/components/Helper/Collapse.tsx +0 -53
- package/src/components/Inputs/Checkbox.tsx +0 -53
- package/src/components/Inputs/CurrencyInput.tsx +0 -124
- package/src/components/Inputs/DateInput/DateInput.tsx +0 -184
- package/src/components/Inputs/DateInput/components/DatePartInput.tsx +0 -159
- package/src/components/Inputs/InputWrapper.tsx +0 -95
- package/src/components/Inputs/NumberInput.tsx +0 -86
- package/src/components/Inputs/PasswordInput.tsx +0 -39
- package/src/components/Inputs/PhoneInput/PhoneInput.tsx +0 -108
- package/src/components/Inputs/PhoneInput/utils/countryCode.ts +0 -20
- package/src/components/Inputs/Radio.tsx +0 -59
- package/src/components/Inputs/RadioGroup.tsx +0 -48
- package/src/components/Inputs/RadioLarge.tsx +0 -39
- package/src/components/Inputs/SearchInput.tsx +0 -46
- package/src/components/Inputs/Selects/Select.tsx +0 -17
- package/src/components/Inputs/Selects/components/CustomSelectComponents.tsx +0 -19
- package/src/components/Inputs/Selects/components/SelectWrapper.tsx +0 -118
- package/src/components/Inputs/Selects/utils/selectStyles.ts +0 -101
- package/src/components/Inputs/TextAreaInput.tsx +0 -68
- package/src/components/Inputs/TextInput.tsx +0 -100
- package/src/components/Inputs/TimeInput/TimeInput.tsx +0 -81
- package/src/components/List/List.tsx +0 -21
- package/src/components/List/ListItem.tsx +0 -70
- package/src/components/Loader/Loader.tsx +0 -66
- package/src/components/Loader/ProgressBar.tsx +0 -41
- package/src/components/Menu/Menu.tsx +0 -81
- package/src/components/Menu/MenuItem.tsx +0 -46
- package/src/components/Menu/NewMenu.tsx +0 -63
- package/src/components/Menu/hooks/useMenuPosition.tsx +0 -116
- package/src/components/PageComponents/ScrollableContent.tsx +0 -11
- package/src/components/Pullover/Pullover.tsx +0 -197
- package/src/components/Router/Router.tsx +0 -52
- package/src/components/Sidebar/AddButton.tsx +0 -22
- package/src/components/Sidebar/Sidebar.tsx +0 -85
- package/src/components/Sidebar/SidebarItem.tsx +0 -84
- package/src/components/Sidebar/types/ISidebar.ts +0 -28
- package/src/components/Table/Table.tsx +0 -258
- package/src/components/Table/components/columns/ColumnsList.tsx +0 -60
- package/src/components/Table/components/columns/TableColumnsEdit.tsx +0 -114
- package/src/components/Table/components/edit/TableEditRow.tsx +0 -78
- package/src/components/Table/components/filters/FilterItem.tsx +0 -15
- package/src/components/Table/components/filters/TableFilters.tsx +0 -126
- package/src/components/Table/components/footer/TableFooter.tsx +0 -126
- package/src/components/Table/components/header/TableHeader.tsx +0 -40
- package/src/components/Table/components/header/TableHeaderRow.tsx +0 -57
- package/src/components/Table/components/items/TableItemActions.tsx +0 -78
- package/src/components/Table/components/print/TablePrint.tsx +0 -200
- package/src/components/Table/components/select/TableSelect.tsx +0 -50
- package/src/components/Table/components/sort/TableSort.tsx +0 -75
- package/src/components/Table/components/templates/CreateTemplateDialog.tsx +0 -58
- package/src/components/Table/components/templates/TableTemplates.tsx +0 -65
- package/src/components/Table/components/templates/TemplatesPullover.tsx +0 -88
- package/src/components/Table/contexts/TableContext.tsx +0 -117
- package/src/components/Table/hooks/localHooks/useLocalTableColumns.tsx +0 -70
- package/src/components/Table/hooks/localHooks/useLocalTableData.tsx +0 -82
- package/src/components/Table/hooks/localHooks/useLocalTableKeyboard.ts +0 -175
- package/src/components/Table/hooks/localHooks/useLocalTablePagination.ts +0 -12
- package/src/components/Table/hooks/useTableColumns.ts +0 -34
- package/src/components/Table/hooks/useTableEdit.tsx +0 -140
- package/src/components/Table/hooks/useTableFilterFields.tsx +0 -150
- package/src/components/Table/hooks/useTablePagination.ts +0 -19
- package/src/components/Table/hooks/useTablePrint.ts +0 -83
- package/src/components/Table/hooks/useTableSearch.ts +0 -31
- package/src/components/Table/hooks/useTableSelect.ts +0 -19
- package/src/components/Table/hooks/useTableSort.ts +0 -8
- package/src/components/Tabs/Tabs.tsx +0 -68
- package/src/components/Tooltip/Tooltip.tsx +0 -191
- package/src/components/Tree/Tree.tsx +0 -22
- package/src/components/Tree/TreeItem.tsx +0 -57
- package/src/components/Wrappers/AppLayout.tsx +0 -17
- package/src/components/Wrappers/ConditionalWrapper.tsx +0 -10
- package/src/components/Wrappers/FormWrapper.tsx +0 -84
- package/src/components/Wrappers/PageLayout.tsx +0 -168
- package/src/hooks/useBackgroundClose.ts +0 -19
- package/src/hooks/useGetFocusableElements.ts +0 -43
- package/src/hooks/useIsMenuOpen.ts +0 -11
- package/src/hooks/useLocalPopoverControl.ts +0 -63
- package/src/hooks/useOnEsc.ts +0 -14
- package/src/hooks/usePopupControl.ts +0 -22
- package/src/hooks/useZendesk.ts +0 -21
- package/src/index.ts +0 -387
- package/src/pages/NoAccessPage.tsx +0 -27
- package/src/pages/NotFoundPage.tsx +0 -26
- package/src/styles/App.scss +0 -47
- package/src/styles/common/_animations.scss +0 -58
- package/src/styles/common/_typography.scss +0 -91
- package/src/styles/common/helpers/_base.scss +0 -55
- package/src/styles/common/helpers/_color.scss +0 -10
- package/src/styles/common/helpers/_display.scss +0 -85
- package/src/styles/common/helpers/_size.scss +0 -25
- package/src/styles/common/maps/_align.scss +0 -21
- package/src/styles/common/maps/_buttonMaps.scss +0 -42
- package/src/styles/common/maps/_info-types.scss +0 -1
- package/src/styles/common/maps/_spacing.scss +0 -78
- package/src/styles/common/maps/_text.scss +0 -14
- package/src/styles/components/_accordions.scss +0 -51
- package/src/styles/components/_alert.scss +0 -23
- package/src/styles/components/_badge.scss +0 -84
- package/src/styles/components/_button.scss +0 -99
- package/src/styles/components/_buttonSplit.scss +0 -65
- package/src/styles/components/_card.scss +0 -24
- package/src/styles/components/_dialog.scss +0 -119
- package/src/styles/components/_form.scss +0 -8
- package/src/styles/components/_header.scss +0 -157
- package/src/styles/components/_input.scss +0 -167
- package/src/styles/components/_inputCheckbox.scss +0 -48
- package/src/styles/components/_inputDateTime.scss +0 -161
- package/src/styles/components/_inputRadio.scss +0 -83
- package/src/styles/components/_inputSelect.scss +0 -8
- package/src/styles/components/_list.scss +0 -58
- package/src/styles/components/_loader.scss +0 -55
- package/src/styles/components/_menu-v2.scss +0 -67
- package/src/styles/components/_menu.scss +0 -62
- package/src/styles/components/_notifications.scss +0 -71
- package/src/styles/components/_page.scss +0 -84
- package/src/styles/components/_portal.scss +0 -8
- package/src/styles/components/_print.scss +0 -77
- package/src/styles/components/_progressBar.scss +0 -83
- package/src/styles/components/_pullover.scss +0 -95
- package/src/styles/components/_scrollbar.scss +0 -18
- package/src/styles/components/_sidebar.scss +0 -204
- package/src/styles/components/_smallComponents.scss +0 -23
- package/src/styles/components/_table.scss +0 -340
- package/src/styles/components/_tabs.scss +0 -33
- package/src/styles/components/_tooltip.scss +0 -48
- package/src/styles/components/_tree.scss +0 -21
- package/src/styles/components/_widget.scss +0 -90
- package/src/styles/pages/_fullScreenPage.scss +0 -64
- package/src/styles/variables/_bp.scss +0 -6
- package/src/styles/variables/_variables.scss +0 -142
- package/src/types/Base/custom.d.ts +0 -9
- package/src/types/IBasic.ts +0 -32
- package/src/types/ICountryCode.ts +0 -5
- package/src/types/IError.ts +0 -5
- package/src/types/IHeader.ts +0 -40
- package/src/types/IInfo.ts +0 -1
- package/src/types/IKeyboard.ts +0 -33
- package/src/types/IMenu.ts +0 -19
- package/src/types/INotifications.ts +0 -15
- package/src/types/IPopup.ts +0 -17
- package/src/types/IRouter.ts +0 -6
- package/src/types/ISelect.ts +0 -54
- package/src/types/ITab.ts +0 -10
- package/src/types/ITable.ts +0 -291
- package/src/types/ITree.ts +0 -6
- package/src/utils/InputPatternValidation.ts +0 -12
- package/src/utils/dateUtils.ts +0 -32
- package/src/utils/fileUtils.ts +0 -177
- package/src/utils/i18n/i18nIUICyrilic.ts +0 -119
- package/src/utils/i18n/i18nIUILatin.ts +0 -120
- package/src/utils/i18n/i18nIUIMe.ts +0 -118
- package/src/utils/icons.ts +0 -13
- package/src/utils/localStorageHelper.ts +0 -24
- package/src/utils/logoUtils.ts +0 -7
- package/src/utils/numberUtils.ts +0 -21
- package/src/utils/objectUtils.ts +0 -114
- package/src/utils/popupUtils.ts +0 -82
- package/src/utils/rootDir.ts +0 -1
- package/src/utils/stringUtils.ts +0 -18
- package/src/utils/tableUtils.ts +0 -130
- package/src/utils/toasts.ts +0 -6
- package/src/utils/urlUtils.ts +0 -4
- package/tsconfig.icons.json +0 -5
- package/tsconfig.json +0 -22
package/src/hooks/useOnEsc.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { useEffect } from 'react';
|
|
2
|
-
|
|
3
|
-
export const useOnEsc = (onEsc: () => void, disabled?: boolean) => {
|
|
4
|
-
useEffect(() => {
|
|
5
|
-
if (!disabled) {
|
|
6
|
-
const onEscPress = (e: KeyboardEvent) => {
|
|
7
|
-
e.code === 'Escape' && onEsc();
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
document.body.addEventListener('keyup', onEscPress);
|
|
11
|
-
return () => document.body.removeEventListener('keyup', onEscPress);
|
|
12
|
-
}
|
|
13
|
-
}, [onEsc, disabled]);
|
|
14
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { IPopupControl, IPopupControlRef } from '../types/IPopup';
|
|
2
|
-
import { useCallback, useRef, useState } from 'react';
|
|
3
|
-
|
|
4
|
-
export const usePopupControl: (props?: {
|
|
5
|
-
onCloseCallback?: () => void;
|
|
6
|
-
}) => IPopupControl = props => {
|
|
7
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
8
|
-
|
|
9
|
-
const controlRef = useRef<IPopupControlRef>(null);
|
|
10
|
-
|
|
11
|
-
const onOpen = useCallback(() => controlRef.current?.onOpen(), []);
|
|
12
|
-
const onClose = useCallback(() => {
|
|
13
|
-
controlRef.current?.onClose();
|
|
14
|
-
props?.onCloseCallback?.();
|
|
15
|
-
}, [props]);
|
|
16
|
-
|
|
17
|
-
return {
|
|
18
|
-
control: { controlRef, isOpen, setIsOpen },
|
|
19
|
-
onOpen,
|
|
20
|
-
onClose,
|
|
21
|
-
};
|
|
22
|
-
};
|
package/src/hooks/useZendesk.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { useEffect } from 'react';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
var zE: {
|
|
5
|
-
show: () => void;
|
|
6
|
-
hide: () => void;
|
|
7
|
-
activate: () => void;
|
|
8
|
-
setLocale: (locale: string) => void;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export const useHideZendesk = () => {
|
|
13
|
-
useEffect(() => {
|
|
14
|
-
const zendesk = window.zE ?? null;
|
|
15
|
-
if (zendesk) {
|
|
16
|
-
// zendesk.setLocale('sr');
|
|
17
|
-
zendesk.hide();
|
|
18
|
-
return () => zendesk.show();
|
|
19
|
-
}
|
|
20
|
-
}, []);
|
|
21
|
-
};
|
package/src/index.ts
DELETED
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
import type { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
-
import type { ToastContainerProps } from 'react-toastify';
|
|
3
|
-
import type { IAlertProps } from './components/Alert/Alert';
|
|
4
|
-
import type { INotificationsProps } from './components/Header/Components/Notifications';
|
|
5
|
-
import type { ISidebarItem } from './components/Sidebar/types/ISidebar';
|
|
6
|
-
import type { ITableSearchProps } from './components/Table/hooks/useTableSearch';
|
|
7
|
-
import type { IFormWrapper } from './components/Wrappers/FormWrapper';
|
|
8
|
-
import type {
|
|
9
|
-
DeepPartial,
|
|
10
|
-
IAnyObject,
|
|
11
|
-
IBooleanObject,
|
|
12
|
-
ISimpleObject,
|
|
13
|
-
ISimpleObjectWithCode,
|
|
14
|
-
IStringObject,
|
|
15
|
-
IValueLabel,
|
|
16
|
-
} from './types/IBasic';
|
|
17
|
-
import type { IError } from './types/IError';
|
|
18
|
-
import type { IHeaderAction, IHeaderUserMenuProps } from './types/IHeader';
|
|
19
|
-
import type { IKeyboardAction } from './types/IKeyboard';
|
|
20
|
-
import type { IMenuItem, IMenuPlacement } from './types/IMenu';
|
|
21
|
-
import type {
|
|
22
|
-
INotification,
|
|
23
|
-
// INotificationType,
|
|
24
|
-
// INotificationValueKey,
|
|
25
|
-
} from './types/INotifications';
|
|
26
|
-
import type { ILocalPopupControl, IPopupControl, IPopupControlRef } from './types/IPopup';
|
|
27
|
-
import type { IRoute } from './types/IRouter';
|
|
28
|
-
import type { ISelectData } from './types/ISelect';
|
|
29
|
-
import type { ITab } from './types/ITab';
|
|
30
|
-
import type {
|
|
31
|
-
IGetPrintData,
|
|
32
|
-
IPagination,
|
|
33
|
-
IPaginationControl,
|
|
34
|
-
IPrintData,
|
|
35
|
-
IReportTemplate,
|
|
36
|
-
IReportTemplateData,
|
|
37
|
-
IReportTemplateFilterValue,
|
|
38
|
-
ITable,
|
|
39
|
-
ITableColumn,
|
|
40
|
-
ITableDataActions,
|
|
41
|
-
ITableDataItem,
|
|
42
|
-
ITableDataItemCells,
|
|
43
|
-
ITableEdit,
|
|
44
|
-
ITableEditSubmit,
|
|
45
|
-
ITableFilter,
|
|
46
|
-
ITableFilterData,
|
|
47
|
-
ITableFilterItem,
|
|
48
|
-
ITableItemDeleteData,
|
|
49
|
-
ITableSort,
|
|
50
|
-
ITableTemplateData,
|
|
51
|
-
} from './types/ITable';
|
|
52
|
-
import type { ITreeItem } from './types/ITree';
|
|
53
|
-
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
54
|
-
import { DragDropContext, Draggable, Droppable } from '@hello-pangea/dnd';
|
|
55
|
-
import clsx from 'clsx';
|
|
56
|
-
import dayjs from 'dayjs';
|
|
57
|
-
import { toast, ToastContainer } from 'react-toastify';
|
|
58
|
-
import { Accordions } from './components/Accordions/Accordions';
|
|
59
|
-
import { Alert } from './components/Alert/Alert';
|
|
60
|
-
import { DotBadge } from './components/Badge/DotBadge';
|
|
61
|
-
import { NotificationBadge } from './components/Badge/NotificationBadge';
|
|
62
|
-
import { PillBadge } from './components/Badge/PillBadge';
|
|
63
|
-
import { Button } from './components/Button/Button';
|
|
64
|
-
import { IconButton } from './components/Button/IconButton';
|
|
65
|
-
import { SplitButton } from './components/Button/SplitButton';
|
|
66
|
-
import { Dashboard } from './components/Dashboard/Dashboard';
|
|
67
|
-
import { DashboardWidget } from './components/Dashboard/DashboardWidget';
|
|
68
|
-
import { FastLinksWidget } from './components/Dashboard/FastLinksWidget/FastLinksWidget';
|
|
69
|
-
import { Dialog } from './components/Dialog/Dialog';
|
|
70
|
-
import { Collapse } from './components/Helper/Collapse';
|
|
71
|
-
import { Checkbox } from './components/Inputs/Checkbox';
|
|
72
|
-
import { CurrencyInput } from './components/Inputs/CurrencyInput';
|
|
73
|
-
import { DateInput } from './components/Inputs/DateInput/DateInput';
|
|
74
|
-
import { NumberInput } from './components/Inputs/NumberInput';
|
|
75
|
-
import { PasswordInput } from './components/Inputs/PasswordInput';
|
|
76
|
-
import { PhoneInput } from './components/Inputs/PhoneInput/PhoneInput';
|
|
77
|
-
import { Radio } from './components/Inputs/Radio';
|
|
78
|
-
import { RadioLarge } from './components/Inputs/RadioLarge';
|
|
79
|
-
import { SearchInput } from './components/Inputs/SearchInput';
|
|
80
|
-
import {
|
|
81
|
-
Select,
|
|
82
|
-
SelectAsyncPaginate,
|
|
83
|
-
SelectCreatable,
|
|
84
|
-
} from './components/Inputs/Selects/Select';
|
|
85
|
-
import { TextAreaInput } from './components/Inputs/TextAreaInput';
|
|
86
|
-
import { TextInput } from './components/Inputs/TextInput';
|
|
87
|
-
import { TimeInput } from './components/Inputs/TimeInput/TimeInput';
|
|
88
|
-
import { List } from './components/List/List';
|
|
89
|
-
import {
|
|
90
|
-
FullScreenLoader,
|
|
91
|
-
LazyLoader,
|
|
92
|
-
Loader,
|
|
93
|
-
SimpleLoader,
|
|
94
|
-
} from './components/Loader/Loader';
|
|
95
|
-
import { ProgressBar } from './components/Loader/ProgressBar';
|
|
96
|
-
import { Menu } from './components/Menu/Menu';
|
|
97
|
-
import { MenuItem } from './components/Menu/MenuItem';
|
|
98
|
-
import { ScrollableContent } from './components/PageComponents/ScrollableContent';
|
|
99
|
-
import { Pullover } from './components/Pullover/Pullover';
|
|
100
|
-
import { Router } from './components/Router/Router';
|
|
101
|
-
import { CreateTemplateDialog } from './components/Table/components/templates/CreateTemplateDialog';
|
|
102
|
-
import { TemplatesPullover } from './components/Table/components/templates/TemplatesPullover';
|
|
103
|
-
// import { ItemEditOptionsButtons } from './components/Table/Components/Edit/ItemEditOptionsButtons';
|
|
104
|
-
// import { TableEditRow } from './components/Table/Components/Edit/TableEditRow';
|
|
105
|
-
// import { FilterItem } from './components/Table/Components/FilterItem';
|
|
106
|
-
// import { SetTableFilter } from './components/Table/Components/SetTableFilter';
|
|
107
|
-
// import { TableFooter } from './components/Table/Components/TableFooter';
|
|
108
|
-
// import { GridTable } from '../idea/GridTable/GridTable';
|
|
109
|
-
// import { TablePrint } from './components/Table/Components/Print/TablePrint';
|
|
110
|
-
import { useTableColumns } from './components/Table/hooks/useTableColumns';
|
|
111
|
-
import { useTableEdit } from './components/Table/hooks/useTableEdit';
|
|
112
|
-
import { useTableFilterFields } from './components/Table/hooks/useTableFilterFields';
|
|
113
|
-
import { useTablePagination } from './components/Table/hooks/useTablePagination';
|
|
114
|
-
import { useTablePrint } from './components/Table/hooks/useTablePrint';
|
|
115
|
-
import { useTableSearch } from './components/Table/hooks/useTableSearch';
|
|
116
|
-
import { useTableSelect } from './components/Table/hooks/useTableSelect';
|
|
117
|
-
import { useTableSort } from './components/Table/hooks/useTableSort';
|
|
118
|
-
import { Table } from './components/Table/Table';
|
|
119
|
-
// import { ItemActionsMenu } from './components/Table/Components/Edit/ItemActionsMenu';
|
|
120
|
-
import { Tabs } from './components/Tabs/Tabs';
|
|
121
|
-
import { Tooltip } from './components/Tooltip/Tooltip';
|
|
122
|
-
import { Tree } from './components/Tree/Tree';
|
|
123
|
-
import { ConditionalWrapper } from './components/Wrappers/ConditionalWrapper';
|
|
124
|
-
import { FormWrapper } from './components/Wrappers/FormWrapper';
|
|
125
|
-
import { PageLayout } from './components/Wrappers/PageLayout';
|
|
126
|
-
import { useIsMenuOpen } from './hooks/useIsMenuOpen';
|
|
127
|
-
import { useOnEsc } from './hooks/useOnEsc';
|
|
128
|
-
import { usePopupControl } from './hooks/usePopupControl';
|
|
129
|
-
import { useHideZendesk } from './hooks/useZendesk';
|
|
130
|
-
import { tableCustomLimit1000 } from './types/ITable';
|
|
131
|
-
import {
|
|
132
|
-
checkIfExpired,
|
|
133
|
-
dateAddDays,
|
|
134
|
-
formatDate,
|
|
135
|
-
formatDateAndTime,
|
|
136
|
-
formatDateYMD,
|
|
137
|
-
formatTime,
|
|
138
|
-
formatYearMonth,
|
|
139
|
-
getCurrentDateFormatted,
|
|
140
|
-
getCurrentDateFormattedYMD,
|
|
141
|
-
getDaysLeft,
|
|
142
|
-
} from './utils/dateUtils';
|
|
143
|
-
import {
|
|
144
|
-
calculateFilesSize,
|
|
145
|
-
dataURLtoFile,
|
|
146
|
-
downloadDocumentFile,
|
|
147
|
-
downloadFile,
|
|
148
|
-
getBase64FromFile,
|
|
149
|
-
getBase64FromUrl,
|
|
150
|
-
getExtensionFromFilename,
|
|
151
|
-
getFileFromUrl,
|
|
152
|
-
rotateBase64Image,
|
|
153
|
-
sizeInBytesPretty,
|
|
154
|
-
splitBase64File,
|
|
155
|
-
} from './utils/fileUtils';
|
|
156
|
-
import { i18nIUICyrilic } from './utils/i18n/i18nIUICyrilic';
|
|
157
|
-
import { i18nIUILatin } from './utils/i18n/i18nIUILatin';
|
|
158
|
-
import { i18nIUIMe } from './utils/i18n/i18nIUIMe';
|
|
159
|
-
import { inputPattern } from './utils/InputPatternValidation';
|
|
160
|
-
import {
|
|
161
|
-
getActiveOrgUuid,
|
|
162
|
-
getDefaultOrgUuid,
|
|
163
|
-
lsGet,
|
|
164
|
-
lsRemove,
|
|
165
|
-
lsSet,
|
|
166
|
-
setActiveOrgUuid,
|
|
167
|
-
setDefaultOrgUuid,
|
|
168
|
-
} from './utils/localStorageHelper';
|
|
169
|
-
import {
|
|
170
|
-
formatCurrency,
|
|
171
|
-
formatCurrencyNoDecimals,
|
|
172
|
-
formatDecimalNumber,
|
|
173
|
-
} from './utils/numberUtils';
|
|
174
|
-
import {
|
|
175
|
-
areStringArraysEqual,
|
|
176
|
-
compareArrayItemsIndex,
|
|
177
|
-
convertArrayToBooleanObject,
|
|
178
|
-
convertBooleanObjectToArray,
|
|
179
|
-
deepCopy,
|
|
180
|
-
deleteEmptyProps,
|
|
181
|
-
deleteEmptyPropsIncludingArray,
|
|
182
|
-
deleteProps,
|
|
183
|
-
deletePropsThatEndsWith,
|
|
184
|
-
flattenTreeForSelect,
|
|
185
|
-
intersectArrays,
|
|
186
|
-
} from './utils/objectUtils';
|
|
187
|
-
import { rootDir } from './utils/rootDir';
|
|
188
|
-
import { getInputHelperText, getInputMinMaxPattern, maxChar } from './utils/stringUtils';
|
|
189
|
-
import {
|
|
190
|
-
convertReportTemplateFilterToSearch,
|
|
191
|
-
convertSearchToReportTemplateFilter,
|
|
192
|
-
getActiveFilterNumber,
|
|
193
|
-
getPrintColumns,
|
|
194
|
-
getVisibleColumnsIds,
|
|
195
|
-
setTemplateData,
|
|
196
|
-
} from './utils/tableUtils';
|
|
197
|
-
import { toastError, toastSuccess } from './utils/toasts';
|
|
198
|
-
import { parseUrlSearch } from './utils/urlUtils';
|
|
199
|
-
|
|
200
|
-
export { Router, type IRoute, type ISidebarItem };
|
|
201
|
-
export { ToastContainer, toast, type ToastContainerProps };
|
|
202
|
-
|
|
203
|
-
export {
|
|
204
|
-
Accordions,
|
|
205
|
-
Alert,
|
|
206
|
-
Button,
|
|
207
|
-
Checkbox,
|
|
208
|
-
CurrencyInput,
|
|
209
|
-
Collapse,
|
|
210
|
-
ConditionalWrapper,
|
|
211
|
-
DateInput,
|
|
212
|
-
Dashboard,
|
|
213
|
-
DashboardWidget,
|
|
214
|
-
FastLinksWidget,
|
|
215
|
-
Dialog,
|
|
216
|
-
DotBadge,
|
|
217
|
-
FormWrapper,
|
|
218
|
-
FullScreenLoader,
|
|
219
|
-
IconButton,
|
|
220
|
-
TextAreaInput,
|
|
221
|
-
LazyLoader,
|
|
222
|
-
Loader,
|
|
223
|
-
SimpleLoader,
|
|
224
|
-
List,
|
|
225
|
-
Menu,
|
|
226
|
-
MenuItem,
|
|
227
|
-
NotificationBadge,
|
|
228
|
-
NumberInput,
|
|
229
|
-
PageLayout,
|
|
230
|
-
PasswordInput,
|
|
231
|
-
PhoneInput,
|
|
232
|
-
ProgressBar,
|
|
233
|
-
Pullover,
|
|
234
|
-
PillBadge,
|
|
235
|
-
Radio,
|
|
236
|
-
RadioLarge,
|
|
237
|
-
ScrollableContent,
|
|
238
|
-
SearchInput,
|
|
239
|
-
Select,
|
|
240
|
-
SelectAsyncPaginate,
|
|
241
|
-
SelectCreatable,
|
|
242
|
-
SplitButton,
|
|
243
|
-
tableCustomLimit1000,
|
|
244
|
-
Tabs,
|
|
245
|
-
TextInput,
|
|
246
|
-
TimeInput,
|
|
247
|
-
Tooltip,
|
|
248
|
-
Tree,
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
export {
|
|
252
|
-
Table,
|
|
253
|
-
CreateTemplateDialog,
|
|
254
|
-
TemplatesPullover,
|
|
255
|
-
// SetTableFilter,
|
|
256
|
-
// GridTable,
|
|
257
|
-
// TablePrint,
|
|
258
|
-
// TableEditRow,
|
|
259
|
-
// TableFooter,
|
|
260
|
-
useTableColumns,
|
|
261
|
-
useTableEdit,
|
|
262
|
-
useTableFilterFields,
|
|
263
|
-
useTablePagination,
|
|
264
|
-
useTablePrint,
|
|
265
|
-
useTableSearch,
|
|
266
|
-
useTableSelect,
|
|
267
|
-
useTableSort,
|
|
268
|
-
};
|
|
269
|
-
|
|
270
|
-
export { useHideZendesk, useOnEsc, useIsMenuOpen, usePopupControl };
|
|
271
|
-
|
|
272
|
-
export type {
|
|
273
|
-
IAlertProps,
|
|
274
|
-
DeepPartial,
|
|
275
|
-
IAnyObject,
|
|
276
|
-
IBooleanObject,
|
|
277
|
-
IKeyboardAction,
|
|
278
|
-
IMenuItem,
|
|
279
|
-
IMenuPlacement,
|
|
280
|
-
IPopupControlRef as PopupControlRef,
|
|
281
|
-
IPopupControl,
|
|
282
|
-
ILocalPopupControl,
|
|
283
|
-
IError,
|
|
284
|
-
IFormWrapper,
|
|
285
|
-
IHeaderAction,
|
|
286
|
-
IHeaderUserMenuProps,
|
|
287
|
-
INotification,
|
|
288
|
-
INotificationsProps,
|
|
289
|
-
IPagination,
|
|
290
|
-
ISelectData,
|
|
291
|
-
IPaginationControl,
|
|
292
|
-
ISimpleObject,
|
|
293
|
-
ISimpleObjectWithCode,
|
|
294
|
-
IStringObject,
|
|
295
|
-
IPrintData,
|
|
296
|
-
ITab,
|
|
297
|
-
ITable,
|
|
298
|
-
ITableColumn,
|
|
299
|
-
ITableDataActions,
|
|
300
|
-
ITableDataItem,
|
|
301
|
-
ITableDataItemCells,
|
|
302
|
-
ITableEdit,
|
|
303
|
-
ITableEditSubmit,
|
|
304
|
-
ITableFilter,
|
|
305
|
-
ITableFilterData,
|
|
306
|
-
ITableSearchProps,
|
|
307
|
-
ITableFilterItem,
|
|
308
|
-
ITableItemDeleteData,
|
|
309
|
-
ITableSort,
|
|
310
|
-
ITableTemplateData,
|
|
311
|
-
IReportTemplate,
|
|
312
|
-
IReportTemplateData,
|
|
313
|
-
IReportTemplateFilterValue,
|
|
314
|
-
IGetPrintData,
|
|
315
|
-
ITreeItem,
|
|
316
|
-
IValueLabel,
|
|
317
|
-
IconDefinition,
|
|
318
|
-
};
|
|
319
|
-
|
|
320
|
-
export { i18nIUICyrilic, i18nIUILatin, i18nIUIMe };
|
|
321
|
-
|
|
322
|
-
export {
|
|
323
|
-
areStringArraysEqual,
|
|
324
|
-
checkIfExpired,
|
|
325
|
-
compareArrayItemsIndex,
|
|
326
|
-
convertBooleanObjectToArray,
|
|
327
|
-
convertArrayToBooleanObject,
|
|
328
|
-
dateAddDays,
|
|
329
|
-
deepCopy,
|
|
330
|
-
deleteEmptyProps,
|
|
331
|
-
deleteEmptyPropsIncludingArray,
|
|
332
|
-
deleteProps,
|
|
333
|
-
deletePropsThatEndsWith,
|
|
334
|
-
formatCurrency,
|
|
335
|
-
formatCurrencyNoDecimals,
|
|
336
|
-
formatDate,
|
|
337
|
-
formatDateAndTime,
|
|
338
|
-
formatDateYMD,
|
|
339
|
-
formatDecimalNumber,
|
|
340
|
-
formatTime,
|
|
341
|
-
formatYearMonth,
|
|
342
|
-
convertReportTemplateFilterToSearch,
|
|
343
|
-
convertSearchToReportTemplateFilter,
|
|
344
|
-
getActiveFilterNumber,
|
|
345
|
-
getCurrentDateFormatted,
|
|
346
|
-
getCurrentDateFormattedYMD,
|
|
347
|
-
getDaysLeft,
|
|
348
|
-
getInputHelperText,
|
|
349
|
-
getInputMinMaxPattern,
|
|
350
|
-
getPrintColumns,
|
|
351
|
-
setTemplateData,
|
|
352
|
-
getVisibleColumnsIds,
|
|
353
|
-
inputPattern,
|
|
354
|
-
flattenTreeForSelect,
|
|
355
|
-
intersectArrays,
|
|
356
|
-
maxChar,
|
|
357
|
-
parseUrlSearch,
|
|
358
|
-
rootDir,
|
|
359
|
-
toastError,
|
|
360
|
-
toastSuccess,
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
export {
|
|
364
|
-
calculateFilesSize,
|
|
365
|
-
dataURLtoFile,
|
|
366
|
-
downloadFile,
|
|
367
|
-
downloadDocumentFile,
|
|
368
|
-
getBase64FromFile,
|
|
369
|
-
getBase64FromUrl,
|
|
370
|
-
getExtensionFromFilename,
|
|
371
|
-
getFileFromUrl,
|
|
372
|
-
rotateBase64Image,
|
|
373
|
-
sizeInBytesPretty,
|
|
374
|
-
splitBase64File,
|
|
375
|
-
};
|
|
376
|
-
|
|
377
|
-
export {
|
|
378
|
-
getActiveOrgUuid,
|
|
379
|
-
getDefaultOrgUuid,
|
|
380
|
-
lsGet,
|
|
381
|
-
lsRemove,
|
|
382
|
-
lsSet,
|
|
383
|
-
setActiveOrgUuid,
|
|
384
|
-
setDefaultOrgUuid,
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
export { DragDropContext, Draggable, Droppable, FontAwesomeIcon, clsx, dayjs };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import { useTranslation } from 'react-i18next';
|
|
3
|
-
import { Link } from 'react-router';
|
|
4
|
-
import { Button } from '../components/Button/Button';
|
|
5
|
-
|
|
6
|
-
const NoAccessPage: FC = () => {
|
|
7
|
-
const { t } = useTranslation();
|
|
8
|
-
|
|
9
|
-
return (
|
|
10
|
-
<div className="full-screen-page">
|
|
11
|
-
<div id="content">
|
|
12
|
-
<h1>{t('NoAccessPage')}</h1>
|
|
13
|
-
<p className="subtitle">{t('NoAccessPageInfo')}</p>
|
|
14
|
-
</div>
|
|
15
|
-
<p id="img" className="img-403">
|
|
16
|
-
403
|
|
17
|
-
</p>
|
|
18
|
-
<div id="actions">
|
|
19
|
-
<Link to="/">
|
|
20
|
-
<Button label={t('ReturnToHomepage')} />
|
|
21
|
-
</Link>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
);
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export default NoAccessPage;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import { useTranslation } from 'react-i18next';
|
|
3
|
-
import { Link } from 'react-router';
|
|
4
|
-
import notFoundImg from '../assets/images/not-found.svg';
|
|
5
|
-
import { Button } from '../components/Button/Button';
|
|
6
|
-
|
|
7
|
-
const NotFoundPage: FC = () => {
|
|
8
|
-
const { t } = useTranslation();
|
|
9
|
-
|
|
10
|
-
return (
|
|
11
|
-
<div className="full-screen-page">
|
|
12
|
-
<div id="content">
|
|
13
|
-
<h1>{t('PageNotFound')}</h1>
|
|
14
|
-
<p className="subtitle">{t('PageNotFoundInfo')}</p>
|
|
15
|
-
</div>
|
|
16
|
-
<img id="img" src={notFoundImg} alt="404" />
|
|
17
|
-
<div id="actions">
|
|
18
|
-
<Link to="/">
|
|
19
|
-
<Button label={t('ReturnToHomepage')} />
|
|
20
|
-
</Link>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
);
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export default NotFoundPage;
|
package/src/styles/App.scss
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
@use './variables/variables';
|
|
2
|
-
|
|
3
|
-
@use './common/typography';
|
|
4
|
-
@use './common/animations';
|
|
5
|
-
@use './common/maps/align';
|
|
6
|
-
@use './common/maps/spacing';
|
|
7
|
-
@use './common/maps/text';
|
|
8
|
-
|
|
9
|
-
@use './common/helpers/base';
|
|
10
|
-
@use './common/helpers/color';
|
|
11
|
-
@use './common/helpers/display';
|
|
12
|
-
@use './common/helpers/size';
|
|
13
|
-
|
|
14
|
-
@use './components/accordions';
|
|
15
|
-
@use './components/alert';
|
|
16
|
-
@use './components/badge';
|
|
17
|
-
@use './components/button';
|
|
18
|
-
@use './components/buttonSplit';
|
|
19
|
-
@use './components/card';
|
|
20
|
-
// @use './components/menu-v2';
|
|
21
|
-
@use './components/dialog';
|
|
22
|
-
@use './components/form';
|
|
23
|
-
@use './components/header';
|
|
24
|
-
@use './components/input';
|
|
25
|
-
@use './components/inputCheckbox';
|
|
26
|
-
@use './components/inputDateTime';
|
|
27
|
-
@use './components/inputRadio';
|
|
28
|
-
@use './components/inputSelect';
|
|
29
|
-
@use './components/list';
|
|
30
|
-
@use './components/loader';
|
|
31
|
-
@use './components/menu';
|
|
32
|
-
@use './components/notifications';
|
|
33
|
-
@use './components/page';
|
|
34
|
-
@use './components/portal';
|
|
35
|
-
@use './components/print';
|
|
36
|
-
@use './components/progressBar';
|
|
37
|
-
@use './components/pullover';
|
|
38
|
-
@use './components/scrollbar';
|
|
39
|
-
@use './components/sidebar';
|
|
40
|
-
@use './components/smallComponents';
|
|
41
|
-
@use './components/table';
|
|
42
|
-
@use './components/tabs';
|
|
43
|
-
@use './components/tooltip';
|
|
44
|
-
@use './components/tree';
|
|
45
|
-
@use './components/widget';
|
|
46
|
-
|
|
47
|
-
@use './pages/fullScreenPage';
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@keyframes fade-in {
|
|
2
|
-
0% {
|
|
3
|
-
opacity: 0;
|
|
4
|
-
}
|
|
5
|
-
100% {
|
|
6
|
-
opacity: 1;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
@keyframes fade-out {
|
|
10
|
-
0% {
|
|
11
|
-
opacity: 1;
|
|
12
|
-
}
|
|
13
|
-
100% {
|
|
14
|
-
opacity: 0;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@keyframes scale-in {
|
|
19
|
-
0% {
|
|
20
|
-
transform: scale(0.5);
|
|
21
|
-
}
|
|
22
|
-
100% {
|
|
23
|
-
transform: scale(1);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@keyframes shimmer {
|
|
28
|
-
0% {
|
|
29
|
-
left: -100%;
|
|
30
|
-
}
|
|
31
|
-
100% {
|
|
32
|
-
left: 100%;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@keyframes auto-fill {
|
|
37
|
-
to {
|
|
38
|
-
font-size: 13px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@keyframes rotate {
|
|
43
|
-
to {
|
|
44
|
-
transform: rotate(360deg);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@keyframes temp-disable-pointer {
|
|
49
|
-
0% {
|
|
50
|
-
pointer-events: none;
|
|
51
|
-
}
|
|
52
|
-
99% {
|
|
53
|
-
pointer-events: none;
|
|
54
|
-
}
|
|
55
|
-
100% {
|
|
56
|
-
pointer-events: auto;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
@use '../variables/bp';
|
|
2
|
-
@import url('@fontsource-variable/ibm-plex-sans');
|
|
3
|
-
|
|
4
|
-
* {
|
|
5
|
-
font-family: 'IBM Plex Sans Variable', sans-serif;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
body {
|
|
9
|
-
color: var(--text);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
p,
|
|
13
|
-
h1,
|
|
14
|
-
h2,
|
|
15
|
-
h3,
|
|
16
|
-
h4,
|
|
17
|
-
h5 {
|
|
18
|
-
margin: 0;
|
|
19
|
-
}
|
|
20
|
-
p {
|
|
21
|
-
font-size: var(--fs-m);
|
|
22
|
-
}
|
|
23
|
-
h1 {
|
|
24
|
-
font-size: 60px;
|
|
25
|
-
line-height: 1.1;
|
|
26
|
-
}
|
|
27
|
-
h2 {
|
|
28
|
-
font-size: 48px;
|
|
29
|
-
}
|
|
30
|
-
h2 {
|
|
31
|
-
font-size: 36px;
|
|
32
|
-
}
|
|
33
|
-
h3 {
|
|
34
|
-
font-size: 24px;
|
|
35
|
-
}
|
|
36
|
-
h4 {
|
|
37
|
-
font-size: 18px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.bold {
|
|
41
|
-
font-weight: 600 !important;
|
|
42
|
-
}
|
|
43
|
-
.italic {
|
|
44
|
-
font-style: italic !important;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.new-line {
|
|
48
|
-
white-space: pre-line !important;
|
|
49
|
-
}
|
|
50
|
-
.no-wrap {
|
|
51
|
-
white-space: nowrap !important;
|
|
52
|
-
}
|
|
53
|
-
.word-break {
|
|
54
|
-
word-break: break-word !important;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.subtitle {
|
|
58
|
-
font-size: 20px;
|
|
59
|
-
color: var(--neutral-600);
|
|
60
|
-
white-space: pre-line;
|
|
61
|
-
}
|
|
62
|
-
.link {
|
|
63
|
-
color: var(--link) !important;
|
|
64
|
-
text-decoration: underline !important;
|
|
65
|
-
&.inactive {
|
|
66
|
-
opacity: 0.5;
|
|
67
|
-
}
|
|
68
|
-
&:not(:disabled) {
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
&:hover {
|
|
71
|
-
color: var(--link-alt) !important;
|
|
72
|
-
opacity: 1;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@media #{bp.$mobile} {
|
|
78
|
-
h1 {
|
|
79
|
-
font-size: 36px;
|
|
80
|
-
line-height: 1.2;
|
|
81
|
-
}
|
|
82
|
-
h2 {
|
|
83
|
-
font-size: 24px;
|
|
84
|
-
}
|
|
85
|
-
h2 {
|
|
86
|
-
font-size: 20px;
|
|
87
|
-
}
|
|
88
|
-
h3 {
|
|
89
|
-
font-size: 16px;
|
|
90
|
-
}
|
|
91
|
-
}
|