@inceptionbg/iui 2.0.4 → 2.0.6
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/{NoAccessPage-BllwaG2u.js → NoAccessPage-C6nBt-PN.js} +2 -2
- package/dist/{NoAccessPage-BllwaG2u.js.map → NoAccessPage-C6nBt-PN.js.map} +1 -1
- package/dist/{NotFoundPage-DVm00-sr.js → NotFoundPage-DatmJOrr.js} +2 -2
- package/dist/{NotFoundPage-DVm00-sr.js.map → NotFoundPage-DatmJOrr.js.map} +1 -1
- package/dist/icons/index.d.ts +43 -0
- package/dist/icons/index.js +1 -0
- package/dist/index.d.ts +57 -49
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/iui.css +1 -1
- package/idea/Menu/Menu.tsx +119 -0
- package/idea/Menu/MenuItem.tsx +74 -0
- package/idea/Menu/hooks/useMenuControl.ts +13 -0
- package/idea/Menu.tsx +132 -0
- package/idea/NoAccessInfo.tsx +193 -0
- package/idea/Notifications.tsx +245 -0
- package/idea/Table2/Components/Columns/ColumnsList.tsx +56 -0
- package/idea/Table2/Components/Columns/SetColumnsList.tsx +107 -0
- package/idea/Table2/Components/Edit/ItemActionsMenu.tsx +87 -0
- package/idea/Table2/Components/Edit/ItemEditOptionsButtons.tsx +32 -0
- package/idea/Table2/Components/Edit/TableEditRow.tsx +56 -0
- package/idea/Table2/Components/FilterItem.tsx +20 -0
- package/idea/Table2/Components/Header/TableHeader.tsx +35 -0
- package/idea/Table2/Components/Header/TableHeaderRow.tsx +37 -0
- package/idea/Table2/Components/Print/CustomTablePrint.tsx +119 -0
- package/idea/Table2/Components/Print/TablePrint.tsx +208 -0
- package/idea/Table2/Components/SetSortList.tsx +33 -0
- package/idea/Table2/Components/SetTableFilter.tsx +90 -0
- package/idea/Table2/Components/TableFooter.tsx +107 -0
- package/idea/Table2/Components/TableOptions.tsx +211 -0
- package/idea/Table2/Components/Templates/TemplateCreate.tsx +75 -0
- package/idea/Table2/Components/Templates/TemplateCreateDefault.tsx +45 -0
- package/idea/Table2/Components/Templates/TemplateList.tsx +167 -0
- package/idea/Table2/Components/Templates/repo/TemplateRepo.ts +51 -0
- package/idea/Table2/Table.tsx +657 -0
- package/idea/Table2/_table.scss +300 -0
- package/idea/Table2/hooks/useDefaultTemplate.ts +22 -0
- package/idea/Table2/hooks/useTableKeyboard.ts +115 -0
- package/package.json +15 -11
- package/rollup.config.js +80 -0
- package/src/assets/icons/duotone/faCircleUser.ts +17 -0
- package/src/assets/icons/index.ts +20 -0
- package/src/assets/icons/light/faArrowDownShortWide.ts +15 -0
- package/src/assets/icons/light/faArrowDownWideShort.ts +15 -0
- package/src/assets/icons/light/faArrowUpArrowDown.ts +15 -0
- package/src/assets/icons/light/faArrowUpRightFromSquare.ts +15 -0
- package/src/assets/icons/light/faArrowsToLine.ts +15 -0
- package/src/assets/icons/light/faArrowsUpDown.ts +15 -0
- package/src/assets/icons/light/faCalendarPlus.ts +15 -0
- package/src/assets/icons/light/faCheck.ts +15 -0
- package/src/assets/icons/light/faChevronDown.ts +15 -0
- package/src/assets/icons/light/faChevronRight.ts +15 -0
- package/src/assets/icons/light/faCircleInfo.ts +15 -0
- package/src/assets/icons/light/faCircleXmark.ts +15 -0
- package/src/assets/icons/light/faClockRotateLeft.ts +15 -0
- package/src/assets/icons/light/faEllipsisVertical.ts +15 -0
- package/src/assets/icons/light/faEye.ts +15 -0
- package/src/assets/icons/light/faEyeSlash.ts +15 -0
- package/src/assets/icons/light/faFilter.ts +15 -0
- package/src/assets/icons/light/faGear.ts +15 -0
- package/src/assets/icons/light/faHouse.ts +15 -0
- package/src/assets/icons/light/faIdBadge.ts +15 -0
- package/src/assets/icons/light/faLineColumns.ts +15 -0
- package/src/assets/icons/light/faLink.ts +15 -0
- package/src/assets/icons/light/faMagnifyingGlass.ts +15 -0
- package/src/assets/icons/light/faPenField.ts +15 -0
- package/src/assets/icons/light/faPrint.ts +15 -0
- package/src/assets/icons/light/faQuestion.ts +15 -0
- package/src/assets/icons/light/faRotateRight.ts +15 -0
- package/src/assets/icons/light/faTrashCan.ts +15 -0
- package/src/assets/icons/light/faTriangleExclamation.ts +15 -0
- package/src/assets/icons/light/faXmark.ts +15 -0
- package/src/assets/icons/regular/faArrowLeft.ts +15 -0
- package/src/assets/icons/regular/faArrowRightArrowLeft.ts +15 -0
- package/src/assets/icons/regular/faCircleCheck.ts +15 -0
- package/src/assets/icons/regular/faCircleExclamation.ts +15 -0
- package/src/assets/icons/regular/faCircleInfo.ts +15 -0
- package/src/assets/icons/regular/faFileArrowDown.ts +15 -0
- package/src/assets/icons/regular/faFilterCircleXmark.ts +15 -0
- package/src/assets/icons/regular/faTriangleExclamation.ts +15 -0
- package/src/assets/icons/solid/faAngleLeft.ts +15 -0
- package/src/assets/icons/solid/faAngleRight.ts +15 -0
- package/src/assets/icons/solid/faArrowDownWideShort.ts +15 -0
- package/src/assets/icons/solid/faCaretDown.ts +15 -0
- package/src/assets/icons/solid/faCheck.ts +15 -0
- package/src/assets/icons/solid/faEllipsisVertical.ts +15 -0
- package/src/assets/icons/solid/faFilter.ts +15 -0
- package/src/assets/icons/solid/faFloppyDisk.ts +15 -0
- package/src/assets/icons/solid/faGripDotsVertical.ts +15 -0
- package/src/assets/icons/solid/faListUl.ts +15 -0
- package/src/assets/icons/solid/faMagnifyingGlass.ts +15 -0
- package/src/assets/icons/solid/faMinus.ts +15 -0
- package/src/assets/icons/solid/faPlus.ts +15 -0
- package/src/assets/icons/solid/faPrint.ts +15 -0
- package/src/assets/icons/solid/faRotateRight.ts +15 -0
- package/src/assets/icons/solid/faXmark.ts +15 -0
- package/src/assets/images/logo/mts.svg +5703 -0
- package/src/assets/images/logo/paperless.svg +21 -0
- package/src/assets/images/logo/pismonosa.png +0 -0
- package/src/assets/images/not-found.svg +19 -0
- package/src/components/Accordions/Accordions.tsx +64 -0
- package/src/components/Alert/Alert.tsx +31 -0
- package/src/components/Badge/DotBadge.tsx +16 -0
- package/src/components/Badge/NotificationBadge.tsx +29 -0
- package/src/components/Badge/PillBadge.tsx +13 -0
- package/src/components/Button/Button.tsx +56 -0
- package/src/components/Button/IconButton.tsx +49 -0
- package/src/components/Dashboard/Dashboard.tsx +9 -0
- package/src/components/Dashboard/DashboardWidget.tsx +44 -0
- package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +37 -0
- package/src/components/Dialog/DeleteItemDialog.tsx +52 -0
- package/src/components/Dialog/Dialog.tsx +226 -0
- package/src/components/Dialog/hooks/useDialogKeyboard.ts +41 -0
- package/src/components/Dialog/hooks/useDialogObserver.ts +21 -0
- package/src/components/Header/Components/ModuleSelect.tsx +55 -0
- package/src/components/Header/Components/UserMenu.tsx +44 -0
- package/src/components/Header/Header.tsx +36 -0
- package/src/components/Helper/Collapse.tsx +52 -0
- package/src/components/Inputs/Checkbox.tsx +53 -0
- package/src/components/Inputs/CurrencyInput.tsx +123 -0
- package/src/components/Inputs/DateInput/DateInput.tsx +176 -0
- package/src/components/Inputs/DateInput/components/DatePartInput.tsx +154 -0
- package/src/components/Inputs/InputWrapper.tsx +90 -0
- package/src/components/Inputs/NumberInput.tsx +83 -0
- package/src/components/Inputs/PasswordInput.tsx +38 -0
- package/src/components/Inputs/Radio.tsx +59 -0
- package/src/components/Inputs/RadioGroup.tsx +48 -0
- package/src/components/Inputs/RadioLarge.tsx +39 -0
- package/src/components/Inputs/SearchInput.tsx +40 -0
- package/src/components/Inputs/Select2/Select.tsx +224 -0
- package/src/components/Inputs/Select2/select.scss +43 -0
- package/src/components/Inputs/Selects/Select.tsx +17 -0
- package/src/components/Inputs/Selects/components/CustomSelectComponents.tsx +19 -0
- package/src/components/Inputs/Selects/components/SelectWrapper.tsx +126 -0
- package/src/components/Inputs/Selects/utils/selectStyles.ts +104 -0
- package/src/components/Inputs/TextAreaInput.tsx +67 -0
- package/src/components/Inputs/TextInput.tsx +98 -0
- package/src/components/Inputs/TimeInput/TimeInput.tsx +81 -0
- package/src/components/Loader/Loader.tsx +53 -0
- package/src/components/Menu/Menu.tsx +68 -0
- package/src/components/Menu/MenuItem.tsx +47 -0
- package/src/components/Menu/NewMenu.tsx +66 -0
- package/src/components/Menu/hooks/useMenuPosition.tsx +80 -0
- package/src/components/Pullover/Pullover.tsx +89 -0
- package/src/components/Router/Router.tsx +51 -0
- package/src/components/Sidebar/AddButton.tsx +22 -0
- package/src/components/Sidebar/Sidebar.tsx +81 -0
- package/src/components/Sidebar/SidebarItem.tsx +84 -0
- package/src/components/Sidebar/types/ISidebar.ts +28 -0
- package/src/components/Table/Components/Columns/ColumnsList.tsx +61 -0
- package/src/components/Table/Components/Columns/SetColumnsList.tsx +113 -0
- package/src/components/Table/Components/Edit/ItemActionsMenu.tsx +84 -0
- package/src/components/Table/Components/Edit/ItemEditOptionsButtons.tsx +31 -0
- package/src/components/Table/Components/Edit/TableEditRow.tsx +56 -0
- package/src/components/Table/Components/FilterItem.tsx +20 -0
- package/src/components/Table/Components/Header/TableHeader.tsx +45 -0
- package/src/components/Table/Components/Header/TableHeaderRow.tsx +37 -0
- package/src/components/Table/Components/Print/CustomTablePrint.tsx +114 -0
- package/src/components/Table/Components/Print/TablePrint.tsx +207 -0
- package/src/components/Table/Components/SetSortList.tsx +30 -0
- package/src/components/Table/Components/SetTableFilter.tsx +90 -0
- package/src/components/Table/Components/TableFooter.tsx +135 -0
- package/src/components/Table/Components/TableOptions.tsx +226 -0
- package/src/components/Table/Components/Templates/TemplateCreate.tsx +80 -0
- package/src/components/Table/Components/Templates/TemplateCreateDefault.tsx +45 -0
- package/src/components/Table/Components/Templates/TemplateList.tsx +167 -0
- package/src/components/Table/Components/Templates/repo/TemplateRepo.ts +53 -0
- package/src/components/Table/Table.tsx +527 -0
- package/src/components/Table/hooks/useDefaultTemplate.ts +20 -0
- package/src/components/Table/hooks/useTableKeyboard.ts +138 -0
- package/src/components/Table/hooks/useTableSelect.ts +11 -0
- package/src/components/Tabs/Tabs.tsx +66 -0
- package/src/components/Tooltip/Tooltip.tsx +133 -0
- package/src/components/Tree/Tree.tsx +22 -0
- package/src/components/Tree/TreeItem.tsx +56 -0
- package/src/components/Wrappers/AppLayout.tsx +17 -0
- package/src/components/Wrappers/ConditionalWrapper.tsx +10 -0
- package/src/components/Wrappers/FormWrapper.tsx +81 -0
- package/src/components/Wrappers/PageLayout.tsx +152 -0
- package/src/hooks/useBackgroundClose.ts +18 -0
- package/src/hooks/useIsMenuOpen.ts +11 -0
- package/src/hooks/useOnEsc.ts +14 -0
- package/src/hooks/useZendesk.ts +21 -0
- package/src/index.ts +324 -0
- package/src/pages/NoAccessPage.tsx +27 -0
- package/src/pages/NotFoundPage.tsx +26 -0
- package/src/styles/App.scss +43 -0
- package/src/styles/common/_animations.scss +64 -0
- package/src/styles/common/_typography.scss +88 -0
- package/src/styles/common/helpers/_base.scss +55 -0
- package/src/styles/common/helpers/_color.scss +7 -0
- package/src/styles/common/helpers/_display.scss +85 -0
- package/src/styles/common/helpers/_size.scss +25 -0
- package/src/styles/common/maps/_align.scss +21 -0
- package/src/styles/common/maps/_info-types.scss +1 -0
- package/src/styles/common/maps/_spacing.scss +78 -0
- package/src/styles/common/maps/_text.scss +14 -0
- package/src/styles/components/_accordions.scss +46 -0
- package/src/styles/components/_alert.scss +23 -0
- package/src/styles/components/_badge.scss +76 -0
- package/src/styles/components/_button.scss +138 -0
- package/src/styles/components/_card.scss +24 -0
- package/src/styles/components/_dialog.scss +111 -0
- package/src/styles/components/_form.scss +8 -0
- package/src/styles/components/_header.scss +109 -0
- package/src/styles/components/_input.scss +158 -0
- package/src/styles/components/_inputCheckbox.scss +105 -0
- package/src/styles/components/_inputDateTime.scss +161 -0
- package/src/styles/components/_inputRadio.scss +83 -0
- package/src/styles/components/_inputSelect.scss +6 -0
- package/src/styles/components/_loader.scss +44 -0
- package/src/styles/components/_menu-v2.scss +67 -0
- package/src/styles/components/_menu.scss +53 -0
- package/src/styles/components/_page.scss +62 -0
- package/src/styles/components/_portal.scss +8 -0
- package/src/styles/components/_print.scss +87 -0
- package/src/styles/components/_pullover.scss +43 -0
- package/src/styles/components/_scrollbar.scss +18 -0
- package/src/styles/components/_sidebar.scss +206 -0
- package/src/styles/components/_smallComponents.scss +23 -0
- package/src/styles/components/_table.scss +270 -0
- package/src/styles/components/_tabs.scss +33 -0
- package/src/styles/components/_tooltip.scss +48 -0
- package/src/styles/components/_tree.scss +21 -0
- package/src/styles/components/_widget.scss +90 -0
- package/src/styles/pages/_fullScreenPage.scss +64 -0
- package/src/styles/variables/_bp.scss +5 -0
- package/src/styles/variables/_variables.scss +130 -0
- package/src/types/Base/custom.d.ts +9 -0
- package/src/types/IBasic.ts +31 -0
- package/src/types/IError.ts +5 -0
- package/src/types/IHeader.ts +24 -0
- package/src/types/IInfo.ts +1 -0
- package/src/types/IKeyboard.ts +37 -0
- package/src/types/IMenu.ts +18 -0
- package/src/types/IRouter.ts +6 -0
- package/src/types/ISelect.ts +52 -0
- package/src/types/ITab.ts +10 -0
- package/src/types/ITable.ts +249 -0
- package/src/types/ITree.ts +6 -0
- package/src/utils/DateUtils.ts +32 -0
- package/src/utils/InputPatternValidation.ts +12 -0
- package/src/utils/LocalStorageHelper.ts +24 -0
- package/src/utils/NumberUtils.ts +21 -0
- package/src/utils/ObjectUtils.ts +85 -0
- package/src/utils/RootDir.ts +1 -0
- package/src/utils/StringUtils.ts +18 -0
- package/src/utils/TableUtils.ts +130 -0
- package/src/utils/Toasts.ts +6 -0
- package/src/utils/UrlUtils.ts +4 -0
- package/src/utils/fileUtils.ts +176 -0
- package/src/utils/i18n/i18nIUICyrilic.ts +90 -0
- package/src/utils/i18n/i18nIUILatin.ts +90 -0
- package/src/utils/i18n/i18nIUIMe.ts +88 -0
- package/src/utils/icons.ts +13 -0
- package/tsconfig.icons.json +5 -0
- package/tsconfig.json +19 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.iui-menu-v2 {
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset: unset;
|
|
4
|
+
margin: 4px 0;
|
|
5
|
+
padding: 4px 0;
|
|
6
|
+
border: none;
|
|
7
|
+
border-radius: 8px;
|
|
8
|
+
background: var(--white);
|
|
9
|
+
box-shadow: var(--deep-shadow);
|
|
10
|
+
animation: fade-in 200ms forwards;
|
|
11
|
+
overscroll-behavior: none;
|
|
12
|
+
// POSITION
|
|
13
|
+
position-try-fallbacks: --top, --bottom, --left, --right;
|
|
14
|
+
&.bottom-left {
|
|
15
|
+
top: anchor(bottom);
|
|
16
|
+
left: anchor(left);
|
|
17
|
+
}
|
|
18
|
+
&.bottom-right {
|
|
19
|
+
top: anchor(bottom);
|
|
20
|
+
right: anchor(right);
|
|
21
|
+
}
|
|
22
|
+
&.top-left {
|
|
23
|
+
bottom: anchor(top);
|
|
24
|
+
left: anchor(left);
|
|
25
|
+
}
|
|
26
|
+
&.top-right {
|
|
27
|
+
bottom: anchor(top);
|
|
28
|
+
right: anchor(right);
|
|
29
|
+
}
|
|
30
|
+
// SIZE
|
|
31
|
+
&.s {
|
|
32
|
+
min-width: 150px;
|
|
33
|
+
}
|
|
34
|
+
&.m {
|
|
35
|
+
min-width: 250px;
|
|
36
|
+
}
|
|
37
|
+
&.l {
|
|
38
|
+
min-width: 500px;
|
|
39
|
+
}
|
|
40
|
+
// SCROLLBAR
|
|
41
|
+
&::-webkit-scrollbar {
|
|
42
|
+
width: 5px;
|
|
43
|
+
}
|
|
44
|
+
// TRANSITION
|
|
45
|
+
// transition: display 0.3s, opacity 0.3s;
|
|
46
|
+
|
|
47
|
+
// &::backdrop {
|
|
48
|
+
// background-color: var(--neutral-t);
|
|
49
|
+
// }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@position-try --top {
|
|
53
|
+
bottom: unset;
|
|
54
|
+
top: anchor(bottom);
|
|
55
|
+
}
|
|
56
|
+
@position-try --bottom {
|
|
57
|
+
top: unset;
|
|
58
|
+
bottom: anchor(top);
|
|
59
|
+
}
|
|
60
|
+
@position-try --left {
|
|
61
|
+
left: unset;
|
|
62
|
+
right: anchor(right);
|
|
63
|
+
}
|
|
64
|
+
@position-try --right {
|
|
65
|
+
right: unset;
|
|
66
|
+
left: anchor(left);
|
|
67
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.iui-menu {
|
|
2
|
+
position: absolute;
|
|
3
|
+
padding: 4px 0;
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
background: var(--white);
|
|
6
|
+
box-shadow: var(--deep-shadow);
|
|
7
|
+
overflow: auto;
|
|
8
|
+
animation: fade-in 200ms forwards;
|
|
9
|
+
overscroll-behavior: none;
|
|
10
|
+
&::-webkit-scrollbar {
|
|
11
|
+
width: 5px;
|
|
12
|
+
}
|
|
13
|
+
&.s {
|
|
14
|
+
min-width: 150px;
|
|
15
|
+
}
|
|
16
|
+
&.m {
|
|
17
|
+
min-width: 250px;
|
|
18
|
+
}
|
|
19
|
+
&.l {
|
|
20
|
+
min-width: 500px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.iui-menu-item {
|
|
25
|
+
user-select: none;
|
|
26
|
+
padding: 8px 16px;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: 4px;
|
|
30
|
+
&.clickable:hover:not(:disabled):not(.disabled) {
|
|
31
|
+
background-color: var(--neutral-hover);
|
|
32
|
+
}
|
|
33
|
+
&.with-devider:not(:last-child) {
|
|
34
|
+
border-bottom: var(--border);
|
|
35
|
+
}
|
|
36
|
+
.menu-item-icon {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
min-width: 24px;
|
|
40
|
+
color: var(--text);
|
|
41
|
+
svg {
|
|
42
|
+
height: 16px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
// .menu-item-label {
|
|
46
|
+
// width: 100%;
|
|
47
|
+
// }
|
|
48
|
+
.menu-item-badge {
|
|
49
|
+
top: -3px;
|
|
50
|
+
right: -3px;
|
|
51
|
+
background-color: var(--danger);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@use '../variables/bp';
|
|
2
|
+
|
|
3
|
+
.iui-header {
|
|
4
|
+
grid-area: header;
|
|
5
|
+
}
|
|
6
|
+
.iui-sidebar {
|
|
7
|
+
grid-area: sidebar;
|
|
8
|
+
grid-row: auto;
|
|
9
|
+
align-items: stretch;
|
|
10
|
+
}
|
|
11
|
+
.app-content {
|
|
12
|
+
grid-area: content;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.app-layout {
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-template-columns: auto 1fr;
|
|
18
|
+
grid-template-rows: auto calc(100dvh - var(--header-height));
|
|
19
|
+
grid-template-areas:
|
|
20
|
+
'header header'
|
|
21
|
+
'sidebar content';
|
|
22
|
+
width: 100dvw;
|
|
23
|
+
height: 100dvh;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.page-container {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
min-height: calc(100vh - var(--header-height));
|
|
31
|
+
max-height: calc(100vh - var(--header-height));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.page-content {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
padding: 1.5rem 1.5rem 1rem 1.5rem;
|
|
38
|
+
flex: 1;
|
|
39
|
+
overflow-y: auto;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.page-header {
|
|
43
|
+
display: flex;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
align-items: center;
|
|
46
|
+
padding: 0 1.5rem;
|
|
47
|
+
min-height: 55px;
|
|
48
|
+
max-height: 55px;
|
|
49
|
+
border-bottom: var(--border);
|
|
50
|
+
|
|
51
|
+
@media #{bp.$mobileTablet} {
|
|
52
|
+
.breadcrumbs {
|
|
53
|
+
font-size: 16px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.footer {
|
|
59
|
+
text-align: center;
|
|
60
|
+
padding: 36px 0 8px;
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
.iui-print-dialog {
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 2000;
|
|
4
|
+
left: 0;
|
|
5
|
+
top: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
min-height: 100vh;
|
|
9
|
+
width: 100%;
|
|
10
|
+
animation: fade-in 200ms forwards;
|
|
11
|
+
& > .content {
|
|
12
|
+
background: #fefefe;
|
|
13
|
+
padding: 10px 50px 60px 50px;
|
|
14
|
+
p,
|
|
15
|
+
td {
|
|
16
|
+
font-size: 10pt;
|
|
17
|
+
}
|
|
18
|
+
h4 {
|
|
19
|
+
font-size: 12pt;
|
|
20
|
+
}
|
|
21
|
+
.name {
|
|
22
|
+
font-size: 11pt;
|
|
23
|
+
font-weight: bold;
|
|
24
|
+
margin-bottom: 5px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
@media print {
|
|
28
|
+
.content {
|
|
29
|
+
padding: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.iui-print-actions {
|
|
34
|
+
position: fixed;
|
|
35
|
+
left: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
bottom: 0;
|
|
38
|
+
height: 50px;
|
|
39
|
+
background-color: #fefefe;
|
|
40
|
+
box-shadow: var(--container-shadow);
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.print-table {
|
|
47
|
+
@media print and (orientation: landscape) {
|
|
48
|
+
width: 842pt;
|
|
49
|
+
}
|
|
50
|
+
@media print and (orientation: portrait) {
|
|
51
|
+
width: 595pt;
|
|
52
|
+
}
|
|
53
|
+
// font-size: 10pt;
|
|
54
|
+
thead tr {
|
|
55
|
+
background: #f1f1f1;
|
|
56
|
+
}
|
|
57
|
+
th {
|
|
58
|
+
padding: 5px;
|
|
59
|
+
border: 1px solid silver;
|
|
60
|
+
p {
|
|
61
|
+
// font-size: 10pt;
|
|
62
|
+
padding: 4px 8px !important;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
td {
|
|
66
|
+
padding: 3px;
|
|
67
|
+
border: 1px solid silver;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@media print {
|
|
72
|
+
@page {
|
|
73
|
+
margin: 6.5mm;
|
|
74
|
+
}
|
|
75
|
+
#root,
|
|
76
|
+
.no-print {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
body {
|
|
80
|
+
-webkit-print-color-adjust: exact;
|
|
81
|
+
print-color-adjust: exact;
|
|
82
|
+
// overflow: visible !important;
|
|
83
|
+
}
|
|
84
|
+
tbody td {
|
|
85
|
+
white-space: pre-wrap !important;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.pullover {
|
|
2
|
+
position: fixed;
|
|
3
|
+
inset: 0;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: end;
|
|
6
|
+
z-index: 100;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
background: rgba(0, 0, 0, 0.4);
|
|
9
|
+
backdrop-filter: blur(3px);
|
|
10
|
+
animation: fade-in 0.2s forwards;
|
|
11
|
+
.container {
|
|
12
|
+
transition: width, 0.2s;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
background: var(--white);
|
|
15
|
+
height: 100%;
|
|
16
|
+
width: 0;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
max-width: 100vw;
|
|
19
|
+
.content {
|
|
20
|
+
padding: 24px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
&.open .container {
|
|
24
|
+
&.s {
|
|
25
|
+
width: 25vw;
|
|
26
|
+
}
|
|
27
|
+
&.m {
|
|
28
|
+
width: 50vw;
|
|
29
|
+
}
|
|
30
|
+
&.l {
|
|
31
|
+
width: 75vw;
|
|
32
|
+
}
|
|
33
|
+
&.xl {
|
|
34
|
+
width: 100vw;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
&.closing {
|
|
38
|
+
animation: fade-out 0.2s forwards;
|
|
39
|
+
.container {
|
|
40
|
+
width: 0px !important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
div {
|
|
2
|
+
&::-webkit-scrollbar {
|
|
3
|
+
width: 13px;
|
|
4
|
+
height: 13px;
|
|
5
|
+
}
|
|
6
|
+
&::-webkit-scrollbar-track {
|
|
7
|
+
background-color: var(--primary-200);
|
|
8
|
+
border-radius: 100px;
|
|
9
|
+
}
|
|
10
|
+
&::-webkit-scrollbar-thumb {
|
|
11
|
+
background-color: var(--primary);
|
|
12
|
+
border-radius: 100px;
|
|
13
|
+
box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);
|
|
14
|
+
&:hover {
|
|
15
|
+
background-color: var(--primary-600);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
@use '../variables/bp';
|
|
2
|
+
|
|
3
|
+
.iui-sidebar {
|
|
4
|
+
--animation: 0.2s cubic-bezier(0.7, 0.1, 0.5, 1);
|
|
5
|
+
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
border-right: var(--border);
|
|
10
|
+
height: calc(100dvh - var(--header-height));
|
|
11
|
+
width: var(--sidebar-width);
|
|
12
|
+
transition: width var(--animation);
|
|
13
|
+
hr {
|
|
14
|
+
margin-inline: 12px;
|
|
15
|
+
}
|
|
16
|
+
.iui-collapse-btn {
|
|
17
|
+
opacity: 0;
|
|
18
|
+
position: absolute;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
top: 40px;
|
|
21
|
+
right: -16px;
|
|
22
|
+
border-radius: 50%;
|
|
23
|
+
background-color: white;
|
|
24
|
+
height: 32px;
|
|
25
|
+
width: 32px;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
transition: opacity 0.15s ease-in-out;
|
|
30
|
+
border: 1px solid var(--primary);
|
|
31
|
+
z-index: 2;
|
|
32
|
+
&:active {
|
|
33
|
+
transform: translateY(2px);
|
|
34
|
+
}
|
|
35
|
+
svg {
|
|
36
|
+
color: var(--primary);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
&:hover {
|
|
40
|
+
.iui-collapse-btn {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.collapsed {
|
|
46
|
+
animation: temp-disable-pointer 0.2s forwards;
|
|
47
|
+
width: var(--sidebar-collapsed-width);
|
|
48
|
+
&:hover {
|
|
49
|
+
width: var(--sidebar-width);
|
|
50
|
+
}
|
|
51
|
+
&:not(:hover) {
|
|
52
|
+
.iui-sidebar-content {
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
}
|
|
55
|
+
.iui-sidebar-items .iui-collapse {
|
|
56
|
+
max-height: 0px !important;
|
|
57
|
+
}
|
|
58
|
+
.item-only {
|
|
59
|
+
padding-left: 15px;
|
|
60
|
+
.sidebar-item-label {
|
|
61
|
+
padding-left: 6px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
.sidebar-footer p {
|
|
65
|
+
font-size: 10px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
///// ITEMS CONTENT /////
|
|
72
|
+
.iui-sidebar-content {
|
|
73
|
+
flex: 1;
|
|
74
|
+
overflow-y: auto;
|
|
75
|
+
overflow-x: hidden;
|
|
76
|
+
overscroll-behavior: none;
|
|
77
|
+
.iui-sidebar-items {
|
|
78
|
+
flex: 1;
|
|
79
|
+
padding: 8px 0;
|
|
80
|
+
|
|
81
|
+
// All items and sub-items
|
|
82
|
+
.iui-sidebar-item {
|
|
83
|
+
display: grid;
|
|
84
|
+
grid-auto-flow: column;
|
|
85
|
+
align-items: center;
|
|
86
|
+
width: var(--sidebar-width);
|
|
87
|
+
gap: 8px;
|
|
88
|
+
white-space: pre-line;
|
|
89
|
+
user-select: none;
|
|
90
|
+
// border-right: 3px solid #fff;
|
|
91
|
+
.sidebar-item-label {
|
|
92
|
+
overflow-x: hidden;
|
|
93
|
+
text-overflow: ellipsis;
|
|
94
|
+
line-height: unset;
|
|
95
|
+
}
|
|
96
|
+
// &.active {
|
|
97
|
+
// background-color: var(--primary-100);
|
|
98
|
+
// }
|
|
99
|
+
&.active,
|
|
100
|
+
&.clickable:hover/*:not(:disabled):not(.disabled)*/ {
|
|
101
|
+
// border-color: var(--primary);
|
|
102
|
+
.sidebar-item-label,
|
|
103
|
+
.sidebar-item-icon {
|
|
104
|
+
color: var(--primary);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
.sidebar-badge {
|
|
108
|
+
width: 28px;
|
|
109
|
+
height: 28px;
|
|
110
|
+
background-color: var(--primary-200);
|
|
111
|
+
border-radius: 50px;
|
|
112
|
+
color: var(--text);
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
font-size: 12px;
|
|
117
|
+
font-weight: 500;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
// Items only
|
|
121
|
+
.item-only {
|
|
122
|
+
grid-auto-columns: auto 1fr auto auto;
|
|
123
|
+
padding: 12px 20px;
|
|
124
|
+
transition: padding var(--animation);
|
|
125
|
+
.sidebar-item-label {
|
|
126
|
+
transition: padding var(--animation);
|
|
127
|
+
font-weight: 500;
|
|
128
|
+
}
|
|
129
|
+
.sidebar-item-icon {
|
|
130
|
+
height: 24px;
|
|
131
|
+
width: 24px;
|
|
132
|
+
color: var(--text);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
// Sub-items only
|
|
136
|
+
.sub-item {
|
|
137
|
+
grid-auto-columns: 1fr auto auto;
|
|
138
|
+
gap: 4px;
|
|
139
|
+
padding: 8px 16px 8px 56px;
|
|
140
|
+
&.primary {
|
|
141
|
+
.sidebar-item-label {
|
|
142
|
+
font-weight: 500;
|
|
143
|
+
color: var(--primary-700);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
// Expand Icon
|
|
148
|
+
.sidebar-expand-icon {
|
|
149
|
+
height: 16px;
|
|
150
|
+
width: 16px;
|
|
151
|
+
color: var(--text);
|
|
152
|
+
transition: transform 0.2s;
|
|
153
|
+
&.rotate {
|
|
154
|
+
transform: rotate(180deg);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
&::-webkit-scrollbar {
|
|
159
|
+
width: 5px;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
///// FOOTER /////
|
|
164
|
+
.sidebar-footer {
|
|
165
|
+
display: flex;
|
|
166
|
+
flex-direction: column;
|
|
167
|
+
gap: 4px;
|
|
168
|
+
align-items: center;
|
|
169
|
+
padding: 16px 0;
|
|
170
|
+
.sidebar-logo {
|
|
171
|
+
width: 70%;
|
|
172
|
+
max-width: 160px;
|
|
173
|
+
max-height: 70px;
|
|
174
|
+
object-fit: contain;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@media #{bp.$mobileTablet} {
|
|
179
|
+
.iui-collapse-btn {
|
|
180
|
+
display: none !important;
|
|
181
|
+
}
|
|
182
|
+
.iui-sidebar:not(:hover) {
|
|
183
|
+
width: var(--sidebar-collapsed-width);
|
|
184
|
+
.iui-sidebar-content {
|
|
185
|
+
overflow: hidden;
|
|
186
|
+
}
|
|
187
|
+
.iui-sidebar-items .iui-collapse {
|
|
188
|
+
max-height: 0px !important;
|
|
189
|
+
}
|
|
190
|
+
.item-only {
|
|
191
|
+
padding-left: 15px;
|
|
192
|
+
.sidebar-item-label {
|
|
193
|
+
padding-left: 6px;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
.sidebar-footer p {
|
|
197
|
+
font-size: 10px;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@media #{bp.$desktop} {
|
|
203
|
+
.sidebar-footer:not(.collapsed) {
|
|
204
|
+
padding: 16px;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
hr {
|
|
2
|
+
margin: 8px 0;
|
|
3
|
+
border-width: 0px 0px thin;
|
|
4
|
+
border-color: var(--border-color);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.iui-collapse {
|
|
8
|
+
transition: max-height 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.form-disabled {
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
opacity: 0.6;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.Toastify__toast {
|
|
18
|
+
border-radius: 15px !important;
|
|
19
|
+
opacity: 0.95;
|
|
20
|
+
hr {
|
|
21
|
+
border-color: var(--white);
|
|
22
|
+
}
|
|
23
|
+
}
|