@inceptionbg/iui 2.0.5 → 2.0.7

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.
Files changed (257) hide show
  1. package/dist/{NoAccessPage-C6nBt-PN.js → NoAccessPage-BozT_Suz.js} +2 -2
  2. package/dist/{NoAccessPage-C6nBt-PN.js.map → NoAccessPage-BozT_Suz.js.map} +1 -1
  3. package/dist/{NotFoundPage-DatmJOrr.js → NotFoundPage-WWiekDef.js} +2 -2
  4. package/dist/{NotFoundPage-DatmJOrr.js.map → NotFoundPage-WWiekDef.js.map} +1 -1
  5. package/dist/icons/index.d.ts +43 -0
  6. package/dist/icons/index.js +1 -0
  7. package/dist/index.d.ts +32 -20
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/iui.css +1 -1
  11. package/idea/Menu/Menu.tsx +119 -0
  12. package/idea/Menu/MenuItem.tsx +74 -0
  13. package/idea/Menu/hooks/useMenuControl.ts +13 -0
  14. package/idea/Menu.tsx +132 -0
  15. package/idea/NoAccessInfo.tsx +193 -0
  16. package/idea/Notifications.tsx +245 -0
  17. package/idea/Table2/Components/Columns/ColumnsList.tsx +56 -0
  18. package/idea/Table2/Components/Columns/SetColumnsList.tsx +107 -0
  19. package/idea/Table2/Components/Edit/ItemActionsMenu.tsx +87 -0
  20. package/idea/Table2/Components/Edit/ItemEditOptionsButtons.tsx +32 -0
  21. package/idea/Table2/Components/Edit/TableEditRow.tsx +56 -0
  22. package/idea/Table2/Components/FilterItem.tsx +20 -0
  23. package/idea/Table2/Components/Header/TableHeader.tsx +35 -0
  24. package/idea/Table2/Components/Header/TableHeaderRow.tsx +37 -0
  25. package/idea/Table2/Components/Print/CustomTablePrint.tsx +119 -0
  26. package/idea/Table2/Components/Print/TablePrint.tsx +208 -0
  27. package/idea/Table2/Components/SetSortList.tsx +33 -0
  28. package/idea/Table2/Components/SetTableFilter.tsx +90 -0
  29. package/idea/Table2/Components/TableFooter.tsx +107 -0
  30. package/idea/Table2/Components/TableOptions.tsx +211 -0
  31. package/idea/Table2/Components/Templates/TemplateCreate.tsx +75 -0
  32. package/idea/Table2/Components/Templates/TemplateCreateDefault.tsx +45 -0
  33. package/idea/Table2/Components/Templates/TemplateList.tsx +167 -0
  34. package/idea/Table2/Components/Templates/repo/TemplateRepo.ts +51 -0
  35. package/idea/Table2/Table.tsx +657 -0
  36. package/idea/Table2/_table.scss +300 -0
  37. package/idea/Table2/hooks/useDefaultTemplate.ts +22 -0
  38. package/idea/Table2/hooks/useTableKeyboard.ts +115 -0
  39. package/package.json +9 -4
  40. package/rollup.config.js +80 -0
  41. package/src/assets/icons/duotone/faCircleUser.ts +17 -0
  42. package/src/assets/icons/index.ts +20 -0
  43. package/src/assets/icons/light/faArrowDownShortWide.ts +15 -0
  44. package/src/assets/icons/light/faArrowDownWideShort.ts +15 -0
  45. package/src/assets/icons/light/faArrowUpArrowDown.ts +15 -0
  46. package/src/assets/icons/light/faArrowUpRightFromSquare.ts +15 -0
  47. package/src/assets/icons/light/faArrowsToLine.ts +15 -0
  48. package/src/assets/icons/light/faArrowsUpDown.ts +15 -0
  49. package/src/assets/icons/light/faCalendarPlus.ts +15 -0
  50. package/src/assets/icons/light/faCheck.ts +15 -0
  51. package/src/assets/icons/light/faChevronDown.ts +15 -0
  52. package/src/assets/icons/light/faChevronRight.ts +15 -0
  53. package/src/assets/icons/light/faCircleInfo.ts +15 -0
  54. package/src/assets/icons/light/faCircleXmark.ts +15 -0
  55. package/src/assets/icons/light/faClockRotateLeft.ts +15 -0
  56. package/src/assets/icons/light/faEllipsisVertical.ts +15 -0
  57. package/src/assets/icons/light/faEye.ts +15 -0
  58. package/src/assets/icons/light/faEyeSlash.ts +15 -0
  59. package/src/assets/icons/light/faFilter.ts +15 -0
  60. package/src/assets/icons/light/faGear.ts +15 -0
  61. package/src/assets/icons/light/faHouse.ts +15 -0
  62. package/src/assets/icons/light/faIdBadge.ts +15 -0
  63. package/src/assets/icons/light/faLineColumns.ts +15 -0
  64. package/src/assets/icons/light/faLink.ts +15 -0
  65. package/src/assets/icons/light/faMagnifyingGlass.ts +15 -0
  66. package/src/assets/icons/light/faPenField.ts +15 -0
  67. package/src/assets/icons/light/faPrint.ts +15 -0
  68. package/src/assets/icons/light/faQuestion.ts +15 -0
  69. package/src/assets/icons/light/faRotateRight.ts +15 -0
  70. package/src/assets/icons/light/faTrashCan.ts +15 -0
  71. package/src/assets/icons/light/faTriangleExclamation.ts +15 -0
  72. package/src/assets/icons/light/faXmark.ts +15 -0
  73. package/src/assets/icons/regular/faArrowLeft.ts +15 -0
  74. package/src/assets/icons/regular/faArrowRightArrowLeft.ts +15 -0
  75. package/src/assets/icons/regular/faCircleCheck.ts +15 -0
  76. package/src/assets/icons/regular/faCircleExclamation.ts +15 -0
  77. package/src/assets/icons/regular/faCircleInfo.ts +15 -0
  78. package/src/assets/icons/regular/faFileArrowDown.ts +15 -0
  79. package/src/assets/icons/regular/faFilterCircleXmark.ts +15 -0
  80. package/src/assets/icons/regular/faTriangleExclamation.ts +15 -0
  81. package/src/assets/icons/solid/faAngleLeft.ts +15 -0
  82. package/src/assets/icons/solid/faAngleRight.ts +15 -0
  83. package/src/assets/icons/solid/faArrowDownWideShort.ts +15 -0
  84. package/src/assets/icons/solid/faCaretDown.ts +15 -0
  85. package/src/assets/icons/solid/faCheck.ts +15 -0
  86. package/src/assets/icons/solid/faEllipsisVertical.ts +15 -0
  87. package/src/assets/icons/solid/faFilter.ts +15 -0
  88. package/src/assets/icons/solid/faFloppyDisk.ts +15 -0
  89. package/src/assets/icons/solid/faGripDotsVertical.ts +15 -0
  90. package/src/assets/icons/solid/faListUl.ts +15 -0
  91. package/src/assets/icons/solid/faMagnifyingGlass.ts +15 -0
  92. package/src/assets/icons/solid/faMinus.ts +15 -0
  93. package/src/assets/icons/solid/faPlus.ts +15 -0
  94. package/src/assets/icons/solid/faPrint.ts +15 -0
  95. package/src/assets/icons/solid/faRotateRight.ts +15 -0
  96. package/src/assets/icons/solid/faXmark.ts +15 -0
  97. package/src/assets/images/logo/mts.svg +5703 -0
  98. package/src/assets/images/logo/paperless.svg +21 -0
  99. package/src/assets/images/logo/pismonosa.png +0 -0
  100. package/src/assets/images/not-found.svg +19 -0
  101. package/src/components/Accordions/Accordions.tsx +64 -0
  102. package/src/components/Alert/Alert.tsx +31 -0
  103. package/src/components/Badge/DotBadge.tsx +16 -0
  104. package/src/components/Badge/NotificationBadge.tsx +29 -0
  105. package/src/components/Badge/PillBadge.tsx +13 -0
  106. package/src/components/Button/Button.tsx +56 -0
  107. package/src/components/Button/IconButton.tsx +49 -0
  108. package/src/components/Dashboard/Dashboard.tsx +9 -0
  109. package/src/components/Dashboard/DashboardWidget.tsx +44 -0
  110. package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +37 -0
  111. package/src/components/Dialog/DeleteItemDialog.tsx +52 -0
  112. package/src/components/Dialog/Dialog.tsx +226 -0
  113. package/src/components/Dialog/hooks/useDialogKeyboard.ts +41 -0
  114. package/src/components/Dialog/hooks/useDialogObserver.ts +21 -0
  115. package/src/components/Header/Components/ModuleSelect.tsx +55 -0
  116. package/src/components/Header/Components/UserMenu.tsx +52 -0
  117. package/src/components/Header/Header.tsx +31 -0
  118. package/src/components/Helper/Collapse.tsx +52 -0
  119. package/src/components/Inputs/Checkbox.tsx +53 -0
  120. package/src/components/Inputs/CurrencyInput.tsx +123 -0
  121. package/src/components/Inputs/DateInput/DateInput.tsx +177 -0
  122. package/src/components/Inputs/DateInput/components/DatePartInput.tsx +154 -0
  123. package/src/components/Inputs/InputWrapper.tsx +90 -0
  124. package/src/components/Inputs/NumberInput.tsx +83 -0
  125. package/src/components/Inputs/PasswordInput.tsx +38 -0
  126. package/src/components/Inputs/Radio.tsx +59 -0
  127. package/src/components/Inputs/RadioGroup.tsx +48 -0
  128. package/src/components/Inputs/RadioLarge.tsx +39 -0
  129. package/src/components/Inputs/SearchInput.tsx +40 -0
  130. package/src/components/Inputs/Select2/Select.tsx +224 -0
  131. package/src/components/Inputs/Select2/select.scss +43 -0
  132. package/src/components/Inputs/Selects/Select.tsx +17 -0
  133. package/src/components/Inputs/Selects/components/CustomSelectComponents.tsx +19 -0
  134. package/src/components/Inputs/Selects/components/SelectWrapper.tsx +126 -0
  135. package/src/components/Inputs/Selects/utils/selectStyles.ts +104 -0
  136. package/src/components/Inputs/TextAreaInput.tsx +67 -0
  137. package/src/components/Inputs/TextInput.tsx +98 -0
  138. package/src/components/Inputs/TimeInput/TimeInput.tsx +81 -0
  139. package/src/components/Loader/Loader.tsx +53 -0
  140. package/src/components/Menu/Menu.tsx +68 -0
  141. package/src/components/Menu/MenuItem.tsx +47 -0
  142. package/src/components/Menu/NewMenu.tsx +66 -0
  143. package/src/components/Menu/hooks/useMenuPosition.tsx +80 -0
  144. package/src/components/Pullover/Pullover.tsx +89 -0
  145. package/src/components/Router/Router.tsx +51 -0
  146. package/src/components/Sidebar/AddButton.tsx +22 -0
  147. package/src/components/Sidebar/Sidebar.tsx +81 -0
  148. package/src/components/Sidebar/SidebarItem.tsx +84 -0
  149. package/src/components/Sidebar/types/ISidebar.ts +28 -0
  150. package/src/components/Table/Components/Columns/ColumnsList.tsx +61 -0
  151. package/src/components/Table/Components/Columns/SetColumnsList.tsx +113 -0
  152. package/src/components/Table/Components/Edit/ItemActionsMenu.tsx +84 -0
  153. package/src/components/Table/Components/Edit/ItemEditOptionsButtons.tsx +31 -0
  154. package/src/components/Table/Components/Edit/TableEditRow.tsx +56 -0
  155. package/src/components/Table/Components/FilterItem.tsx +20 -0
  156. package/src/components/Table/Components/Header/TableHeader.tsx +45 -0
  157. package/src/components/Table/Components/Header/TableHeaderRow.tsx +37 -0
  158. package/src/components/Table/Components/Print/CustomTablePrint.tsx +114 -0
  159. package/src/components/Table/Components/Print/TablePrint.tsx +207 -0
  160. package/src/components/Table/Components/SetSortList.tsx +30 -0
  161. package/src/components/Table/Components/SetTableFilter.tsx +90 -0
  162. package/src/components/Table/Components/TableFooter.tsx +135 -0
  163. package/src/components/Table/Components/TableOptions.tsx +226 -0
  164. package/src/components/Table/Components/Templates/TemplateCreate.tsx +80 -0
  165. package/src/components/Table/Components/Templates/TemplateCreateDefault.tsx +45 -0
  166. package/src/components/Table/Components/Templates/TemplateList.tsx +167 -0
  167. package/src/components/Table/Components/Templates/repo/TemplateRepo.ts +53 -0
  168. package/src/components/Table/Table.tsx +527 -0
  169. package/src/components/Table/hooks/useDefaultTemplate.ts +20 -0
  170. package/src/components/Table/hooks/useTableKeyboard.ts +138 -0
  171. package/src/components/Table/hooks/useTableSelect.ts +11 -0
  172. package/src/components/Tabs/Tabs.tsx +66 -0
  173. package/src/components/Tooltip/Tooltip.tsx +133 -0
  174. package/src/components/Tree/Tree.tsx +22 -0
  175. package/src/components/Tree/TreeItem.tsx +56 -0
  176. package/src/components/Wrappers/AppLayout.tsx +17 -0
  177. package/src/components/Wrappers/ConditionalWrapper.tsx +10 -0
  178. package/src/components/Wrappers/FormWrapper.tsx +81 -0
  179. package/src/components/Wrappers/PageLayout.tsx +152 -0
  180. package/src/hooks/useBackgroundClose.ts +18 -0
  181. package/src/hooks/useIsMenuOpen.ts +11 -0
  182. package/src/hooks/useOnEsc.ts +14 -0
  183. package/src/hooks/useZendesk.ts +21 -0
  184. package/src/index.ts +324 -0
  185. package/src/pages/NoAccessPage.tsx +27 -0
  186. package/src/pages/NotFoundPage.tsx +26 -0
  187. package/src/styles/App.scss +43 -0
  188. package/src/styles/common/_animations.scss +64 -0
  189. package/src/styles/common/_typography.scss +88 -0
  190. package/src/styles/common/helpers/_base.scss +55 -0
  191. package/src/styles/common/helpers/_color.scss +7 -0
  192. package/src/styles/common/helpers/_display.scss +85 -0
  193. package/src/styles/common/helpers/_size.scss +25 -0
  194. package/src/styles/common/maps/_align.scss +21 -0
  195. package/src/styles/common/maps/_info-types.scss +1 -0
  196. package/src/styles/common/maps/_spacing.scss +78 -0
  197. package/src/styles/common/maps/_text.scss +14 -0
  198. package/src/styles/components/_accordions.scss +46 -0
  199. package/src/styles/components/_alert.scss +23 -0
  200. package/src/styles/components/_badge.scss +76 -0
  201. package/src/styles/components/_button.scss +138 -0
  202. package/src/styles/components/_card.scss +24 -0
  203. package/src/styles/components/_dialog.scss +111 -0
  204. package/src/styles/components/_form.scss +8 -0
  205. package/src/styles/components/_header.scss +109 -0
  206. package/src/styles/components/_input.scss +158 -0
  207. package/src/styles/components/_inputCheckbox.scss +105 -0
  208. package/src/styles/components/_inputDateTime.scss +161 -0
  209. package/src/styles/components/_inputRadio.scss +83 -0
  210. package/src/styles/components/_inputSelect.scss +6 -0
  211. package/src/styles/components/_loader.scss +44 -0
  212. package/src/styles/components/_menu-v2.scss +67 -0
  213. package/src/styles/components/_menu.scss +53 -0
  214. package/src/styles/components/_page.scss +62 -0
  215. package/src/styles/components/_portal.scss +8 -0
  216. package/src/styles/components/_print.scss +87 -0
  217. package/src/styles/components/_pullover.scss +43 -0
  218. package/src/styles/components/_scrollbar.scss +18 -0
  219. package/src/styles/components/_sidebar.scss +206 -0
  220. package/src/styles/components/_smallComponents.scss +23 -0
  221. package/src/styles/components/_table.scss +270 -0
  222. package/src/styles/components/_tabs.scss +33 -0
  223. package/src/styles/components/_tooltip.scss +48 -0
  224. package/src/styles/components/_tree.scss +21 -0
  225. package/src/styles/components/_widget.scss +90 -0
  226. package/src/styles/pages/_fullScreenPage.scss +64 -0
  227. package/src/styles/variables/_bp.scss +5 -0
  228. package/src/styles/variables/_variables.scss +130 -0
  229. package/src/types/Base/custom.d.ts +9 -0
  230. package/src/types/IBasic.ts +31 -0
  231. package/src/types/IError.ts +5 -0
  232. package/src/types/IHeader.ts +34 -0
  233. package/src/types/IInfo.ts +1 -0
  234. package/src/types/IKeyboard.ts +37 -0
  235. package/src/types/IMenu.ts +18 -0
  236. package/src/types/IRouter.ts +6 -0
  237. package/src/types/ISelect.ts +52 -0
  238. package/src/types/ITab.ts +10 -0
  239. package/src/types/ITable.ts +249 -0
  240. package/src/types/ITree.ts +6 -0
  241. package/src/utils/DateUtils.ts +32 -0
  242. package/src/utils/InputPatternValidation.ts +12 -0
  243. package/src/utils/LocalStorageHelper.ts +24 -0
  244. package/src/utils/NumberUtils.ts +21 -0
  245. package/src/utils/ObjectUtils.ts +85 -0
  246. package/src/utils/RootDir.ts +1 -0
  247. package/src/utils/StringUtils.ts +18 -0
  248. package/src/utils/TableUtils.ts +130 -0
  249. package/src/utils/Toasts.ts +6 -0
  250. package/src/utils/UrlUtils.ts +4 -0
  251. package/src/utils/fileUtils.ts +176 -0
  252. package/src/utils/i18n/i18nIUICyrilic.ts +90 -0
  253. package/src/utils/i18n/i18nIUILatin.ts +90 -0
  254. package/src/utils/i18n/i18nIUIMe.ts +88 -0
  255. package/src/utils/icons.ts +13 -0
  256. package/tsconfig.icons.json +5 -0
  257. 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,8 @@
1
+ .portal-background {
2
+ position: fixed;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ z-index: 1000;
8
+ }
@@ -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
+ }