@inceptionbg/iui 2.0.5 → 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/icons/index.d.ts +43 -0
- package/dist/icons/index.js +1 -0
- package/dist/index.d.ts +24 -15
- 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 +8 -4
- 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,270 @@
|
|
|
1
|
+
@use '../variables/bp';
|
|
2
|
+
|
|
3
|
+
$pagination-color: rgba(0, 0, 0, 0.8);
|
|
4
|
+
|
|
5
|
+
table {
|
|
6
|
+
border-spacing: 0px;
|
|
7
|
+
border-collapse: collapse;
|
|
8
|
+
}
|
|
9
|
+
.iui-table {
|
|
10
|
+
//// Header ////
|
|
11
|
+
thead {
|
|
12
|
+
z-index: 2;
|
|
13
|
+
background-color: #f9fafb;
|
|
14
|
+
}
|
|
15
|
+
th {
|
|
16
|
+
padding: 0;
|
|
17
|
+
border-left: var(--border);
|
|
18
|
+
border-right: var(--border);
|
|
19
|
+
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
p {
|
|
22
|
+
font-size: 12px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.table-container {
|
|
26
|
+
overflow: auto;
|
|
27
|
+
// scroll-snap-type: y mandatory;
|
|
28
|
+
}
|
|
29
|
+
.sticky-header {
|
|
30
|
+
position: -webkit-sticky;
|
|
31
|
+
position: sticky;
|
|
32
|
+
top: 0;
|
|
33
|
+
}
|
|
34
|
+
.border-row {
|
|
35
|
+
height: 1px;
|
|
36
|
+
background-color: #dfe1eb;
|
|
37
|
+
width: 100%;
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
//// Body ////
|
|
42
|
+
// tbody.no-last-border tr:last-child td {
|
|
43
|
+
// border: none;
|
|
44
|
+
// }
|
|
45
|
+
// Row
|
|
46
|
+
tr {
|
|
47
|
+
// scroll-snap-align: start;
|
|
48
|
+
&.clickable:hover,
|
|
49
|
+
&.selected {
|
|
50
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
51
|
+
}
|
|
52
|
+
&.focused {
|
|
53
|
+
background-color: var(--primary-o10);
|
|
54
|
+
}
|
|
55
|
+
&.loading {
|
|
56
|
+
opacity: 0.5;
|
|
57
|
+
pointer-events: none;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
// Cell
|
|
61
|
+
th,
|
|
62
|
+
td {
|
|
63
|
+
// 1px solid #f2f4f7;
|
|
64
|
+
// Cell colors
|
|
65
|
+
&.secondary {
|
|
66
|
+
background-color: rgba(0, 0, 0, 0.04);
|
|
67
|
+
// border-bottom: 1px solid #d3d3d3;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
td {
|
|
71
|
+
border: var(--border);
|
|
72
|
+
// border-bottom: var(--border);
|
|
73
|
+
font-size: 14px;
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
height: 52px;
|
|
76
|
+
padding: 7px 16px;
|
|
77
|
+
&.s {
|
|
78
|
+
height: 40px;
|
|
79
|
+
padding: 2px 16px;
|
|
80
|
+
}
|
|
81
|
+
&.xs {
|
|
82
|
+
height: 30px;
|
|
83
|
+
padding: 2px 16px;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
.clickable-column:hover {
|
|
87
|
+
background-color: var(--primary-o10) !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
//// Footer ////
|
|
91
|
+
|
|
92
|
+
.table-footer {
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: 52px;
|
|
97
|
+
padding: 8px;
|
|
98
|
+
font-size: var(--fs-m);
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
}
|
|
101
|
+
.pagination {
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
gap: 16px;
|
|
105
|
+
color: $pagination-color;
|
|
106
|
+
p,
|
|
107
|
+
// select,
|
|
108
|
+
.offset-input {
|
|
109
|
+
font-size: 12px !important;
|
|
110
|
+
}
|
|
111
|
+
p {
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
}
|
|
114
|
+
.separator {
|
|
115
|
+
height: 16px;
|
|
116
|
+
width: 1px;
|
|
117
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
118
|
+
}
|
|
119
|
+
select {
|
|
120
|
+
appearance: none;
|
|
121
|
+
color: $pagination-color;
|
|
122
|
+
background: none;
|
|
123
|
+
border: none;
|
|
124
|
+
text-align: right;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
padding: 0 8px;
|
|
127
|
+
user-select: none;
|
|
128
|
+
margin-left: 8px;
|
|
129
|
+
margin-right: 16px;
|
|
130
|
+
}
|
|
131
|
+
.offset-input {
|
|
132
|
+
width: 40px;
|
|
133
|
+
input {
|
|
134
|
+
font-size: 12px !important;
|
|
135
|
+
height: 24px;
|
|
136
|
+
text-align: center;
|
|
137
|
+
padding: 0 5px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@media #{bp.$mobile} {
|
|
142
|
+
flex-direction: column;
|
|
143
|
+
align-items: end;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@media #{bp.$portrait} {
|
|
148
|
+
tbody,
|
|
149
|
+
tr {
|
|
150
|
+
display: block;
|
|
151
|
+
}
|
|
152
|
+
tr {
|
|
153
|
+
padding: 20px 0;
|
|
154
|
+
}
|
|
155
|
+
td {
|
|
156
|
+
display: flex;
|
|
157
|
+
align-items: center;
|
|
158
|
+
height: unset !important;
|
|
159
|
+
text-align: left;
|
|
160
|
+
}
|
|
161
|
+
thead {
|
|
162
|
+
display: none;
|
|
163
|
+
}
|
|
164
|
+
tbody tr td {
|
|
165
|
+
&:before {
|
|
166
|
+
content: attr(data-th);
|
|
167
|
+
font-weight: bold;
|
|
168
|
+
text-align: left;
|
|
169
|
+
padding-right: 10px;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.iui-table-filter {
|
|
176
|
+
.iui-dialog-content {
|
|
177
|
+
padding: 0;
|
|
178
|
+
margin: 8px 0;
|
|
179
|
+
}
|
|
180
|
+
.filters-search {
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
justify-content: space-between;
|
|
184
|
+
gap: 8px;
|
|
185
|
+
.search-input {
|
|
186
|
+
max-width: 250px;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
.table-filter-item {
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
justify-content: space-between;
|
|
193
|
+
padding: 8px 16px;
|
|
194
|
+
// .label {
|
|
195
|
+
// width: 150px;
|
|
196
|
+
// }
|
|
197
|
+
.field {
|
|
198
|
+
// display: inline-flex;
|
|
199
|
+
// margin: 0 8px;
|
|
200
|
+
// width: 100%;
|
|
201
|
+
flex: 1;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.dual-list-container {
|
|
207
|
+
.dual-list-content {
|
|
208
|
+
display: grid;
|
|
209
|
+
grid-template-columns: 1fr auto 1fr;
|
|
210
|
+
gap: 12px;
|
|
211
|
+
}
|
|
212
|
+
.list-box {
|
|
213
|
+
border: var(--border);
|
|
214
|
+
border-radius: 16px;
|
|
215
|
+
padding: 10px;
|
|
216
|
+
user-select: none;
|
|
217
|
+
& > .item {
|
|
218
|
+
display: flex;
|
|
219
|
+
justify-content: space-between;
|
|
220
|
+
align-items: center;
|
|
221
|
+
padding: 8px;
|
|
222
|
+
font-size: 12px;
|
|
223
|
+
svg {
|
|
224
|
+
color: rgba(0, 0, 0, 0.6);
|
|
225
|
+
margin-left: 1rem;
|
|
226
|
+
}
|
|
227
|
+
&:hover {
|
|
228
|
+
background-color: var(--primary-o10);
|
|
229
|
+
}
|
|
230
|
+
&:active {
|
|
231
|
+
background-color: var(--primary-o25);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
.exchange-icon {
|
|
236
|
+
display: flex;
|
|
237
|
+
align-items: center;
|
|
238
|
+
svg {
|
|
239
|
+
height: 20px;
|
|
240
|
+
width: 20px;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.edit-row {
|
|
246
|
+
background: var(--neutral-100);
|
|
247
|
+
td {
|
|
248
|
+
padding: 4px !important;
|
|
249
|
+
// padding: 0 !important;
|
|
250
|
+
}
|
|
251
|
+
.iui-input-wrapper-field {
|
|
252
|
+
border: none;
|
|
253
|
+
border-radius: 0;
|
|
254
|
+
// height: 51px;
|
|
255
|
+
box-shadow: none !important;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
.primary-row {
|
|
259
|
+
background-color: rgba(var(--primary-rgb), 0.15);
|
|
260
|
+
}
|
|
261
|
+
.secondary-row {
|
|
262
|
+
background-color: #f1f1f1;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.table-options {
|
|
266
|
+
display: flex;
|
|
267
|
+
align-items: center;
|
|
268
|
+
justify-content: space-between;
|
|
269
|
+
padding: 8px;
|
|
270
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.iui-tabs {
|
|
2
|
+
display: flex;
|
|
3
|
+
overflow: auto;
|
|
4
|
+
border-bottom: var(--border);
|
|
5
|
+
padding-bottom: 4px;
|
|
6
|
+
&::-webkit-scrollbar {
|
|
7
|
+
height: 5px;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.iui-tab {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
gap: 8px;
|
|
14
|
+
border-bottom: 2px solid white;
|
|
15
|
+
color: var(--neutral-400);
|
|
16
|
+
user-select: none;
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
padding: 12px 12px 8px;
|
|
20
|
+
svg {
|
|
21
|
+
font-size: 15px;
|
|
22
|
+
}
|
|
23
|
+
&:hover:not(.disabled) {
|
|
24
|
+
color: var(--text);
|
|
25
|
+
}
|
|
26
|
+
&.selected:not(.disabled) {
|
|
27
|
+
border-color: var(--primary);
|
|
28
|
+
color: var(--primary);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.iui-tab-content {
|
|
32
|
+
padding: 8px;
|
|
33
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
$tooltip-bg: var(--neutral-700);
|
|
2
|
+
|
|
3
|
+
.tooltip-container {
|
|
4
|
+
position: fixed;
|
|
5
|
+
border-radius: 8px;
|
|
6
|
+
background: $tooltip-bg;
|
|
7
|
+
color: var(--text-inverse);
|
|
8
|
+
font-size: 12px;
|
|
9
|
+
font-weight: bold;
|
|
10
|
+
padding: 8px 16px;
|
|
11
|
+
text-align: center;
|
|
12
|
+
z-index: 1001;
|
|
13
|
+
transition: 0.3s opacity;
|
|
14
|
+
&:not(.visible) {
|
|
15
|
+
visibility: hidden;
|
|
16
|
+
opacity: 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.tooltip {
|
|
20
|
+
position: relative;
|
|
21
|
+
height: 100%;
|
|
22
|
+
white-space: pre-line;
|
|
23
|
+
.arrow {
|
|
24
|
+
position: absolute;
|
|
25
|
+
border: 8px solid $tooltip-bg;
|
|
26
|
+
z-index: 1001;
|
|
27
|
+
&.top {
|
|
28
|
+
top: calc(100% + 8px);
|
|
29
|
+
left: calc(50% - 8px);
|
|
30
|
+
border-color: $tooltip-bg transparent transparent transparent;
|
|
31
|
+
}
|
|
32
|
+
&.bottom {
|
|
33
|
+
bottom: calc(100% + 8px);
|
|
34
|
+
left: calc(50% - 8px);
|
|
35
|
+
border-color: transparent transparent $tooltip-bg transparent;
|
|
36
|
+
}
|
|
37
|
+
&.left {
|
|
38
|
+
top: calc(50% - 8px);
|
|
39
|
+
left: calc(100% + 16px);
|
|
40
|
+
border-color: transparent transparent transparent $tooltip-bg;
|
|
41
|
+
}
|
|
42
|
+
&.right {
|
|
43
|
+
top: calc(50% - 8px);
|
|
44
|
+
right: calc(100% + 16px);
|
|
45
|
+
border-color: transparent $tooltip-bg transparent transparent;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.tree-item {
|
|
2
|
+
min-height: 28px;
|
|
3
|
+
padding: 4px 0;
|
|
4
|
+
.extendable-icon {
|
|
5
|
+
width: 28px;
|
|
6
|
+
.rotate {
|
|
7
|
+
transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1) all;
|
|
8
|
+
&.rotate90 {
|
|
9
|
+
transform: rotate(90deg);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.tree-item-name {
|
|
14
|
+
padding: 4px;
|
|
15
|
+
&:hover,
|
|
16
|
+
&.active {
|
|
17
|
+
background-color: var(--primary-o25);
|
|
18
|
+
border-radius: 4px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
.widget-container {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
4
|
+
grid-auto-flow: dense;
|
|
5
|
+
gap: 60px;
|
|
6
|
+
.grid-span2 {
|
|
7
|
+
grid-column: span 2;
|
|
8
|
+
}
|
|
9
|
+
.grid-span3 {
|
|
10
|
+
grid-column: span 3;
|
|
11
|
+
}
|
|
12
|
+
.grid-span4 {
|
|
13
|
+
grid-column: span 4;
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 1500px) and (max-width: 1800px) {
|
|
16
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
17
|
+
.grid-span4 {
|
|
18
|
+
grid-column: span 3;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
@media (min-width: 1150px) and (max-width: 1499px) {
|
|
22
|
+
grid-template-columns: 1fr 1fr;
|
|
23
|
+
.grid-span3,
|
|
24
|
+
.grid-span4 {
|
|
25
|
+
grid-column: span 2;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
@media (max-width: 1149px) {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
gap: 30px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.dashboard-widget {
|
|
36
|
+
background: var(--white);
|
|
37
|
+
box-shadow: var(--container-shadow);
|
|
38
|
+
padding: 30px;
|
|
39
|
+
color: #000;
|
|
40
|
+
border-radius: var(--container-radius);
|
|
41
|
+
width: inherit;
|
|
42
|
+
h1 {
|
|
43
|
+
margin: 15px 0;
|
|
44
|
+
}
|
|
45
|
+
.widget-icon {
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: center;
|
|
49
|
+
background-color: var(--primary-o10);
|
|
50
|
+
color: var(--primary);
|
|
51
|
+
height: 48px;
|
|
52
|
+
width: 48px;
|
|
53
|
+
border-radius: 10px;
|
|
54
|
+
svg {
|
|
55
|
+
height: 22px;
|
|
56
|
+
width: 22px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
&.warning {
|
|
60
|
+
border: 10px solid var(--warning);
|
|
61
|
+
padding: 20px;
|
|
62
|
+
.widget-icon {
|
|
63
|
+
color: var(--danger);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
&.info {
|
|
67
|
+
border: 10px solid var(--primary);
|
|
68
|
+
padding: 20px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.short-links-widget {
|
|
73
|
+
font-size: var(--fs-m);
|
|
74
|
+
ul {
|
|
75
|
+
list-style-type: none;
|
|
76
|
+
margin: 0;
|
|
77
|
+
padding: 0;
|
|
78
|
+
display: grid;
|
|
79
|
+
li {
|
|
80
|
+
margin: 0;
|
|
81
|
+
padding: 15px 5px;
|
|
82
|
+
&:hover {
|
|
83
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
84
|
+
}
|
|
85
|
+
&:not(:last-child) {
|
|
86
|
+
border-bottom: 1px solid silver;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
@use '../variables/bp';
|
|
2
|
+
|
|
3
|
+
#content {
|
|
4
|
+
grid-area: content;
|
|
5
|
+
align-self: center;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
gap: 24px;
|
|
9
|
+
}
|
|
10
|
+
#img {
|
|
11
|
+
grid-area: img;
|
|
12
|
+
align-self: flex-end;
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
#actions {
|
|
16
|
+
grid-area: actions;
|
|
17
|
+
align-self: flex-start;
|
|
18
|
+
padding-top: 24px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.full-screen-page {
|
|
22
|
+
height: 100dvh;
|
|
23
|
+
width: 100dvw;
|
|
24
|
+
display: grid;
|
|
25
|
+
grid-template-columns: 1fr 1fr;
|
|
26
|
+
grid-template-areas:
|
|
27
|
+
'content img'
|
|
28
|
+
'actions .';
|
|
29
|
+
align-items: center;
|
|
30
|
+
align-content: center;
|
|
31
|
+
gap: 32px;
|
|
32
|
+
padding: 64px 128px;
|
|
33
|
+
}
|
|
34
|
+
.img-403 {
|
|
35
|
+
font-size: 200px;
|
|
36
|
+
color: var(--danger);
|
|
37
|
+
text-align: center;
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@media #{bp.$mobile} {
|
|
42
|
+
.full-screen-page {
|
|
43
|
+
grid-template-columns: 1fr;
|
|
44
|
+
grid-template-rows: 1fr 1fr auto;
|
|
45
|
+
grid-template-areas:
|
|
46
|
+
'img'
|
|
47
|
+
'content'
|
|
48
|
+
'actions';
|
|
49
|
+
padding: 16px;
|
|
50
|
+
}
|
|
51
|
+
#content {
|
|
52
|
+
align-self: flex-start;
|
|
53
|
+
gap: 16px;
|
|
54
|
+
}
|
|
55
|
+
#actions {
|
|
56
|
+
align-self: flex-end;
|
|
57
|
+
}
|
|
58
|
+
.iui-btn {
|
|
59
|
+
width: 100%;
|
|
60
|
+
}
|
|
61
|
+
.img-403 {
|
|
62
|
+
font-size: 150px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/////// COLORS ////////
|
|
3
|
+
--primary-100: #e7f2f9;
|
|
4
|
+
--primary-200: #c2deed;
|
|
5
|
+
--primary-300: #86c0df;
|
|
6
|
+
--primary-400: #1375aa;
|
|
7
|
+
--primary-500: #0f5f8a;
|
|
8
|
+
--primary-600: #0b4b6f;
|
|
9
|
+
--primary-700: #093858;
|
|
10
|
+
|
|
11
|
+
--neutral-100: #edf0f2;
|
|
12
|
+
--neutral-200: #e3e8ee;
|
|
13
|
+
--neutral-300: #bac5ce;
|
|
14
|
+
--neutral-400: #8f9aa8;
|
|
15
|
+
--neutral-500: #667085;
|
|
16
|
+
--neutral-600: #545f78;
|
|
17
|
+
--neutral-700: #3a4764;
|
|
18
|
+
// --neutral-800: #253050;
|
|
19
|
+
--neutral-t: rgba(16, 24, 40, 0.5);
|
|
20
|
+
|
|
21
|
+
--info-100: #e0ecfc;
|
|
22
|
+
--info-200: #9fcaff;
|
|
23
|
+
--info-300: #6babf7;
|
|
24
|
+
--info-400: #448fe6;
|
|
25
|
+
--info-500: #2f7bd0;
|
|
26
|
+
--info-600: #2261a7;
|
|
27
|
+
--info-700: #13457c;
|
|
28
|
+
// --info-800: #143962;
|
|
29
|
+
|
|
30
|
+
--success-100: #d3f1da;
|
|
31
|
+
--success-200: #b9e2c8;
|
|
32
|
+
--success-300: #44c379;
|
|
33
|
+
--success-400: #33a865;
|
|
34
|
+
--success-500: #2f8653;
|
|
35
|
+
--success-600: #2d7248;
|
|
36
|
+
--success-700: #28593a;
|
|
37
|
+
// --success-800: #223e2b;
|
|
38
|
+
|
|
39
|
+
--warning-100: #fef0c7;
|
|
40
|
+
--warning-200: #e8b275;
|
|
41
|
+
--warning-300: #e79d47;
|
|
42
|
+
--warning-400: #ee9528;
|
|
43
|
+
--warning-500: #d17f14;
|
|
44
|
+
--warning-600: #b17a42;
|
|
45
|
+
--warning-700: #845d30;
|
|
46
|
+
// --warning-800: #694a26;
|
|
47
|
+
|
|
48
|
+
--danger-100: #fceae8;
|
|
49
|
+
--danger-200: #f7d7d4;
|
|
50
|
+
--danger-300: #dc776f;
|
|
51
|
+
--danger-400: #de4f45;
|
|
52
|
+
--danger-500: #d92d20;
|
|
53
|
+
--danger-600: #c5261b;
|
|
54
|
+
--danger-700: #a11b12;
|
|
55
|
+
// --danger-800: #83120c;
|
|
56
|
+
|
|
57
|
+
--primary: var(--primary-500);
|
|
58
|
+
--neutral: var(--neutral-500);
|
|
59
|
+
--info: var(--info-500);
|
|
60
|
+
--success: var(--success-500);
|
|
61
|
+
--warning: var(--warning-500);
|
|
62
|
+
--danger: var(--danger-500);
|
|
63
|
+
|
|
64
|
+
--white: #ffffff;
|
|
65
|
+
--text: var(--neutral-700);
|
|
66
|
+
--text-inverse: var(--white);
|
|
67
|
+
--text-disabled: var(--neutral-400);
|
|
68
|
+
--background-disabled: var(--neutral-100);
|
|
69
|
+
--neutral-hover: var(--neutral-200);
|
|
70
|
+
--border-color: var(--neutral-300);
|
|
71
|
+
|
|
72
|
+
--link: #126c88;
|
|
73
|
+
--link-alt: #004459;
|
|
74
|
+
|
|
75
|
+
/////// SIZES ////////
|
|
76
|
+
// --fs-xs: 10px;
|
|
77
|
+
// --fs-s: 12px;
|
|
78
|
+
--fs-m: 14px;
|
|
79
|
+
// --fs-l: 16px;
|
|
80
|
+
|
|
81
|
+
/////// OTHER ////////
|
|
82
|
+
--header-height: 60px;
|
|
83
|
+
--border: 1px solid var(--border-color);
|
|
84
|
+
--sidebar-width: 260px;
|
|
85
|
+
--sidebar-collapsed-width: 54px;
|
|
86
|
+
|
|
87
|
+
--container-radius: 25px;
|
|
88
|
+
--container-radius-bottom: 0 0 25px 25px;
|
|
89
|
+
--container-shadow: 0px 0px 5px rgba(180, 177, 177, 0.5);
|
|
90
|
+
--deep-shadow: 0px 5px 5px -3px rgb(0 0 0 / 20%), 0px 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
91
|
+
0px 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
[data-theme='MTS'] {
|
|
95
|
+
--primary-100: hsl(351, 77%, 95%);
|
|
96
|
+
--primary-200: hsl(351, 85%, 90%);
|
|
97
|
+
--primary-300: hsl(351, 71%, 75%);
|
|
98
|
+
--primary-400: hsl(351, 80%, 65%);
|
|
99
|
+
--primary-500: hsl(351, 85%, 52%);
|
|
100
|
+
--primary-600: hsl(351, 85%, 44%);
|
|
101
|
+
--primary-700: hsl(351, 85%, 35%);
|
|
102
|
+
|
|
103
|
+
--neutral-100: hsl(351, 0%, 94%);
|
|
104
|
+
--neutral-200: hsl(351, 0%, 91%);
|
|
105
|
+
--neutral-300: hsl(351, 0%, 77%);
|
|
106
|
+
--neutral-400: hsl(351, 0%, 61%);
|
|
107
|
+
--neutral-500: hsl(351, 0%, 46%);
|
|
108
|
+
--neutral-600: hsl(351, 0%, 40%);
|
|
109
|
+
--neutral-700: hsl(351, 0%, 31%);
|
|
110
|
+
--neutral-t: rgba(16, 24, 40, 0.5);
|
|
111
|
+
|
|
112
|
+
--primary: var(--primary-500);
|
|
113
|
+
--neutral: var(--neutral-500);
|
|
114
|
+
|
|
115
|
+
--text: var(--neutral-700);
|
|
116
|
+
--text-disabled: var(--neutral-400);
|
|
117
|
+
--background-disabled: var(--neutral-100);
|
|
118
|
+
--neutral-hover: var(--neutral-200);
|
|
119
|
+
--border-color: var(--neutral-200);
|
|
120
|
+
|
|
121
|
+
--secondary: #ff9500;
|
|
122
|
+
}
|
|
123
|
+
[data-theme='PPL'] {
|
|
124
|
+
--primary-rgb: 0, 144, 223;
|
|
125
|
+
// --primary: rgb(var(--primary-rgb));
|
|
126
|
+
// --primary-o10: rgba(var(--primary-rgb), 0.1);
|
|
127
|
+
// --primary-o25: rgba(var(--primary-rgb), 0.25);
|
|
128
|
+
--primary-light: #309dbf;
|
|
129
|
+
--primary-dark: #004459;
|
|
130
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type DeepPartial<T> = T extends Array<infer U>
|
|
2
|
+
? Array<DeepPartial<U>>
|
|
3
|
+
: T extends object
|
|
4
|
+
? { [P in keyof T]?: DeepPartial<T[P]> }
|
|
5
|
+
: T;
|
|
6
|
+
|
|
7
|
+
export interface IAnyObject {
|
|
8
|
+
[id: string]: any;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface IStringObject {
|
|
12
|
+
[id: string]: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface IBooleanObject {
|
|
16
|
+
[id: string]: boolean;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface ISimpleObject {
|
|
20
|
+
uuid: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface ISimpleObjectWithCode extends ISimpleObject {
|
|
25
|
+
code: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface IValueLabel {
|
|
29
|
+
value: any;
|
|
30
|
+
label: string;
|
|
31
|
+
}
|