@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/types/ITable.ts
DELETED
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
Dispatch,
|
|
3
|
-
MouseEvent,
|
|
4
|
-
ReactElement,
|
|
5
|
-
ReactNode,
|
|
6
|
-
SetStateAction,
|
|
7
|
-
} from 'react';
|
|
8
|
-
import type { IAnyObject, ISimpleObject } from './IBasic';
|
|
9
|
-
import type { ITableKeyboardActionsBase } from './IKeyboard';
|
|
10
|
-
import type { IPopupControl } from './IPopup';
|
|
11
|
-
|
|
12
|
-
export interface ITable<T = unknown> {
|
|
13
|
-
id?: string;
|
|
14
|
-
columnData: ITableColumnsData;
|
|
15
|
-
data: ITableDataItem<T>[];
|
|
16
|
-
dataActions?: ITableDataActions<T>;
|
|
17
|
-
rowSelect?: {
|
|
18
|
-
selectedRows: Set<string>;
|
|
19
|
-
setSelectedRows: Dispatch<SetStateAction<Set<string>>>;
|
|
20
|
-
actions?: ITableSelectedAction[];
|
|
21
|
-
};
|
|
22
|
-
filterData?: ITableFilterData;
|
|
23
|
-
sortData?: ITableSortData;
|
|
24
|
-
templateData?: ITableTemplateData;
|
|
25
|
-
printData?: IPrintData<T>;
|
|
26
|
-
sumRows?: ITableDataItem<T>[];
|
|
27
|
-
editable?: ITableEdit<T>;
|
|
28
|
-
selectedRowUuid?: string;
|
|
29
|
-
itemDeleteData?: ITableItemDeleteData;
|
|
30
|
-
keyboard?: {
|
|
31
|
-
enabled: boolean;
|
|
32
|
-
actions?: ITableKeyboardActionsBase;
|
|
33
|
-
};
|
|
34
|
-
headerWrap?: boolean;
|
|
35
|
-
customHeader?: ITableColumn[][];
|
|
36
|
-
// customPrintData?: ICustomPrintData;
|
|
37
|
-
// additionsalOptions?: ReactNode;
|
|
38
|
-
footer?: {
|
|
39
|
-
paginationControl?: IPaginationControl;
|
|
40
|
-
customPagination?: {
|
|
41
|
-
defaultLimit?: number;
|
|
42
|
-
customLimit?: number[];
|
|
43
|
-
};
|
|
44
|
-
totalRows?: number;
|
|
45
|
-
// noTotalRows?: boolean;
|
|
46
|
-
refetch?: () => void;
|
|
47
|
-
hidden?: boolean;
|
|
48
|
-
};
|
|
49
|
-
isLoading?: boolean;
|
|
50
|
-
className?: string;
|
|
51
|
-
rowHeight?: 'xs' | 's' | 'm';
|
|
52
|
-
maxHeight?: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface ITableColumn {
|
|
56
|
-
id: string;
|
|
57
|
-
label?: string | ReactElement;
|
|
58
|
-
labelForFilter?: string;
|
|
59
|
-
align?: 'center' | 'left' | 'right' | 'justify' | undefined;
|
|
60
|
-
unavailable?: boolean;
|
|
61
|
-
hidden?: boolean;
|
|
62
|
-
printHidden?: boolean;
|
|
63
|
-
width?: string;
|
|
64
|
-
minWidth?: string;
|
|
65
|
-
colSpan?: number;
|
|
66
|
-
rowSpan?: number;
|
|
67
|
-
break?: boolean;
|
|
68
|
-
color?: 'secondary';
|
|
69
|
-
sticky?: boolean;
|
|
70
|
-
sortOptions?: {
|
|
71
|
-
asc: string;
|
|
72
|
-
desc: string;
|
|
73
|
-
label: string;
|
|
74
|
-
};
|
|
75
|
-
notFirstCell?: boolean;
|
|
76
|
-
// code?: string;
|
|
77
|
-
className?: string;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface ITableDataItem<T = unknown> {
|
|
81
|
-
uuid: string;
|
|
82
|
-
onRowClick?: (event?: MouseEvent<HTMLTableRowElement>) => void;
|
|
83
|
-
className?: string;
|
|
84
|
-
item?: T;
|
|
85
|
-
disableSelect?: boolean;
|
|
86
|
-
cells: ITableDataItemCells;
|
|
87
|
-
extendable?: {
|
|
88
|
-
element: ReactElement;
|
|
89
|
-
isLoading?: boolean;
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
export interface ITableDataItemCells {
|
|
93
|
-
[id: string]: {
|
|
94
|
-
value: any;
|
|
95
|
-
align?: ITableColumn['align'];
|
|
96
|
-
className?: string;
|
|
97
|
-
onClick?: (event?: MouseEvent<HTMLTableCellElement>) => void;
|
|
98
|
-
link?: boolean;
|
|
99
|
-
tooltip?: string;
|
|
100
|
-
span?: number;
|
|
101
|
-
unclickable?: boolean;
|
|
102
|
-
printValue?: string;
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export interface ITableDataActions<T = unknown> {
|
|
107
|
-
hasEditAccess?: boolean;
|
|
108
|
-
actions?: (item?: T) => {
|
|
109
|
-
label: string;
|
|
110
|
-
onClick: () => void;
|
|
111
|
-
hasAccess: boolean;
|
|
112
|
-
disabled?: boolean;
|
|
113
|
-
}[];
|
|
114
|
-
}
|
|
115
|
-
export interface ITableFilterData {
|
|
116
|
-
filters: ITableFilter;
|
|
117
|
-
customFilterIdList?: string[];
|
|
118
|
-
activeFilterNo?: number;
|
|
119
|
-
additionalFilters?: ReactElement;
|
|
120
|
-
defaultSearch?: IAnyObject;
|
|
121
|
-
search: IAnyObject;
|
|
122
|
-
searchData: IAnyObject;
|
|
123
|
-
setSearchData: (search: IAnyObject) => void;
|
|
124
|
-
onSearch: (search: IAnyObject) => void;
|
|
125
|
-
excludeFromSearch?: string[];
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export interface ITableFilterItem {
|
|
129
|
-
label: string;
|
|
130
|
-
field: ReactElement;
|
|
131
|
-
}
|
|
132
|
-
export interface ITableFilter {
|
|
133
|
-
[id: string]: ITableFilterItem;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export interface ITableSortData {
|
|
137
|
-
sort: string;
|
|
138
|
-
setSort: (sort: string) => void;
|
|
139
|
-
sortOptions: ITableSort[];
|
|
140
|
-
menuSize?: 's' | 'm' | 'l';
|
|
141
|
-
}
|
|
142
|
-
export interface ITableSort {
|
|
143
|
-
label: string;
|
|
144
|
-
value: string;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export interface ITableColumnsData {
|
|
148
|
-
defaultColumns: ITableColumn[];
|
|
149
|
-
columns: ITableColumn[];
|
|
150
|
-
setColumns?: (columns: ITableColumn[]) => void;
|
|
151
|
-
// withSearch?: boolean;
|
|
152
|
-
}
|
|
153
|
-
export interface ITableSelectedAction {
|
|
154
|
-
label: string;
|
|
155
|
-
onClick: (selected: Set<string>) => void;
|
|
156
|
-
hidden?: boolean;
|
|
157
|
-
disabled?: boolean;
|
|
158
|
-
clearSelected?: boolean;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export interface ITableTemplateData {
|
|
162
|
-
identifier: string;
|
|
163
|
-
popupController: IPopupControl;
|
|
164
|
-
defaultTemplate?: IReportTemplate;
|
|
165
|
-
items: IReportTemplate[];
|
|
166
|
-
isLoading?: boolean;
|
|
167
|
-
isFetching?: boolean;
|
|
168
|
-
setSearch?: (search: string) => void;
|
|
169
|
-
setItemToDeleteUuids: (itemUuids: string[]) => void;
|
|
170
|
-
DeleteDialog: ReactNode;
|
|
171
|
-
createItem: {
|
|
172
|
-
allowPublicCreate?: boolean;
|
|
173
|
-
onCreate: (data: Partial<IReportTemplate>) => void;
|
|
174
|
-
onCreateDefault: () => void;
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
///// EDIT /////
|
|
179
|
-
export interface ITableEdit<T = unknown> {
|
|
180
|
-
selectedItem: ITableDataItem<T> | null;
|
|
181
|
-
setSelectedItem: (item: ITableDataItem<T> | null) => void;
|
|
182
|
-
editData: Partial<T>;
|
|
183
|
-
setEditData: Dispatch<SetStateAction<Partial<T>>>;
|
|
184
|
-
onSubmit: ITableEditSubmit<T>;
|
|
185
|
-
cells: ITableDataItemCells;
|
|
186
|
-
defaultDataValue?: T;
|
|
187
|
-
addDisabled?: boolean;
|
|
188
|
-
addLabel?: string;
|
|
189
|
-
// inputFocusRef?: RefObject<any>;
|
|
190
|
-
keepEditOnSubmit?: boolean;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
export type ITableEditSubmit<T> = (data: T, onSuccess: () => void) => void;
|
|
194
|
-
|
|
195
|
-
///// DELETE /////
|
|
196
|
-
export interface ITableItemDeleteData {
|
|
197
|
-
hasAccess: boolean;
|
|
198
|
-
itemToDeleteUuids: string[];
|
|
199
|
-
setItemToDeleteUuids: Dispatch<SetStateAction<string[]>>;
|
|
200
|
-
DeleteDialog: ReactNode;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
///// PRINT /////
|
|
204
|
-
export interface IBasePrintData {
|
|
205
|
-
label: string;
|
|
206
|
-
organization?: {
|
|
207
|
-
name?: string;
|
|
208
|
-
taxId?: string;
|
|
209
|
-
registrationNumber?: string;
|
|
210
|
-
jbkjs?: string;
|
|
211
|
-
email?: string;
|
|
212
|
-
};
|
|
213
|
-
filters?: {
|
|
214
|
-
basic?: { label: string; value?: string }[];
|
|
215
|
-
date?: { label: string; from?: string; to?: string }[];
|
|
216
|
-
};
|
|
217
|
-
saveXlsx?: () => void;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export type IGetPrintData<T> = (props: {
|
|
221
|
-
pagination: IPagination;
|
|
222
|
-
noTotalRows?: boolean;
|
|
223
|
-
}) => Promise<{ items: T[]; totalRows?: number }>;
|
|
224
|
-
|
|
225
|
-
export interface IPrintData<T = unknown> extends IBasePrintData {
|
|
226
|
-
printPopupControl: IPopupControl;
|
|
227
|
-
customHeader?: ITableColumn[][];
|
|
228
|
-
isLoading?: boolean;
|
|
229
|
-
progress?: number;
|
|
230
|
-
tableData?: ITableDataItem[];
|
|
231
|
-
items?: T[];
|
|
232
|
-
paginationControl?: IPaginationControl;
|
|
233
|
-
totals?: ITableDataItem;
|
|
234
|
-
optionalNode?: {
|
|
235
|
-
aboveTable?: ReactNode;
|
|
236
|
-
bellowTable?: ReactNode;
|
|
237
|
-
};
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
export interface ICustomPrintData extends IBasePrintData {
|
|
241
|
-
content: ReactNode;
|
|
242
|
-
}
|
|
243
|
-
///////////////
|
|
244
|
-
|
|
245
|
-
///// PAGINATION /////
|
|
246
|
-
export interface IPagination {
|
|
247
|
-
limit: number;
|
|
248
|
-
offset: number;
|
|
249
|
-
}
|
|
250
|
-
export interface IPaginationControl {
|
|
251
|
-
limit: number;
|
|
252
|
-
offset: number;
|
|
253
|
-
setLimit: Dispatch<SetStateAction<number>>;
|
|
254
|
-
setOffset: Dispatch<SetStateAction<number>>;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
///// REPORT TEMPLATE /////
|
|
258
|
-
|
|
259
|
-
export interface IReportTemplate {
|
|
260
|
-
uuid: string;
|
|
261
|
-
name: string;
|
|
262
|
-
identifier: string;
|
|
263
|
-
filterValues?: IReportTemplateFilterValue[];
|
|
264
|
-
options?: { key: string; value?: any }[];
|
|
265
|
-
columns: string[];
|
|
266
|
-
organization?: ISimpleObject;
|
|
267
|
-
subsystem?: string; // IModuleId;
|
|
268
|
-
sorts?: string[];
|
|
269
|
-
isPublic?: boolean;
|
|
270
|
-
isDefault?: boolean;
|
|
271
|
-
order?: number;
|
|
272
|
-
createdAt?: string;
|
|
273
|
-
createdBy?: ISimpleObject;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
export interface IReportTemplateFilterValue {
|
|
277
|
-
filter: string;
|
|
278
|
-
value: string;
|
|
279
|
-
name?: string;
|
|
280
|
-
type: 'STRING' | 'ARRAY' | 'OBJECT' | 'BOOLEAN';
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
export interface IReportTemplateData {
|
|
284
|
-
searchData?: IAnyObject;
|
|
285
|
-
visibleColumns?: string[];
|
|
286
|
-
sorts?: string[];
|
|
287
|
-
options?: { key: string; value?: any }[];
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
export const tableStandardLimit = [5, 10, 25, 50, 100];
|
|
291
|
-
export const tableCustomLimit1000 = [...tableStandardLimit, 1000];
|
package/src/types/ITree.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export const inputPattern = {
|
|
2
|
-
taxId: '^\\d{9}$',
|
|
3
|
-
businessCode: '^\\d{8}$',
|
|
4
|
-
umcn: '^\\d{13}$',
|
|
5
|
-
idCardNumber: '^\\d{9}$',
|
|
6
|
-
phoneNumber: '^\\+\\d{11,13}$',
|
|
7
|
-
port: '^\\d{4}$',
|
|
8
|
-
year: '^\\d{4}$',
|
|
9
|
-
number: '^\\d*$',
|
|
10
|
-
strongPassword: '^.*(?=.{8,})(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9]).*$',
|
|
11
|
-
email: '\\S+@\\S+\\.\\S+',
|
|
12
|
-
};
|
package/src/utils/dateUtils.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
|
|
3
|
-
type inputDate = string | Date | dayjs.Dayjs;
|
|
4
|
-
|
|
5
|
-
export const formatDate = (date?: inputDate) =>
|
|
6
|
-
date ? dayjs(date).format(`DD.MM.YYYY.`) : '/';
|
|
7
|
-
export const formatDateYMD = (date: inputDate) => dayjs(date).format(`YYYY-MM-DD`);
|
|
8
|
-
|
|
9
|
-
export const formatDateAndTime = (date?: inputDate, withSeconds?: boolean) =>
|
|
10
|
-
date ? dayjs(date).format(`DD.MM.YYYY. HH:mm${withSeconds ? ':ss' : ''}`) : '/';
|
|
11
|
-
|
|
12
|
-
export const formatTime = (date?: inputDate, withSeconds?: boolean) =>
|
|
13
|
-
date ? dayjs(date).format(`HH:mm${withSeconds ? ':ss' : ''}`) : '/';
|
|
14
|
-
|
|
15
|
-
export const dateAddDays = (date: inputDate, addDays: number) =>
|
|
16
|
-
dayjs(date).add(addDays, 'days').toISOString();
|
|
17
|
-
|
|
18
|
-
export const checkIfExpired = (date?: inputDate) =>
|
|
19
|
-
date ? dayjs().isAfter(dayjs(date)) : false;
|
|
20
|
-
|
|
21
|
-
export const getCurrentDateFormatted = () => dayjs().format('DD.MM.YYYY.').toString();
|
|
22
|
-
export const getCurrentDateFormattedYMD = () => dayjs().format('YYYY-MM-DD').toString();
|
|
23
|
-
|
|
24
|
-
export const getDaysLeft = (date?: inputDate) => dayjs(date).diff(new Date(), 'days');
|
|
25
|
-
|
|
26
|
-
export const formatYearMonth = (year: number, month: number) =>
|
|
27
|
-
`${year}-${month < 10 ? `0${month}` : month}`;
|
|
28
|
-
|
|
29
|
-
// export const getDayInputRegex = (max: number) =>
|
|
30
|
-
// `(0[1-9]|1[0-9]|2[0-${max === 28 ? "8" : "9"}]${
|
|
31
|
-
// max > 29 && `|3[0${max > 30 && "-1"}]`
|
|
32
|
-
// })`;
|
package/src/utils/fileUtils.ts
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
// import i18next from 'i18next';
|
|
2
|
-
import type { IBooleanObject } from '../types/IBasic';
|
|
3
|
-
import { lsGet } from './localStorageHelper';
|
|
4
|
-
import { convertBooleanObjectToArray } from './objectUtils';
|
|
5
|
-
import { toastError } from './toasts';
|
|
6
|
-
|
|
7
|
-
export const sizeInBytesPretty = (bytes?: number) => {
|
|
8
|
-
if (bytes === 0) {
|
|
9
|
-
return '0.00 B';
|
|
10
|
-
} else if (bytes === undefined) {
|
|
11
|
-
return '/';
|
|
12
|
-
}
|
|
13
|
-
const e = Math.floor(Math.log(bytes) / Math.log(1024));
|
|
14
|
-
return (bytes / Math.pow(1024, e)).toFixed(2) + ' ' + ' KMGTP'.charAt(e) + 'B';
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export const dataURLtoFile = (dataUrl: string, filename: string, fileExt: string) => {
|
|
18
|
-
const arr = dataUrl.split(',');
|
|
19
|
-
const mime = arr[0].match(/:(.*?);/)![1];
|
|
20
|
-
const bstr = window.atob(arr[1]);
|
|
21
|
-
let n = bstr.length;
|
|
22
|
-
const u8arr = new Uint8Array(n);
|
|
23
|
-
|
|
24
|
-
while (n--) {
|
|
25
|
-
u8arr[n] = bstr.charCodeAt(n);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return new File([u8arr], `${filename}.${fileExt}`, { type: mime });
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export const getExtensionFromFilename = (filename?: string) =>
|
|
32
|
-
filename?.split('.').pop()?.toLowerCase() ?? '';
|
|
33
|
-
|
|
34
|
-
export const calculateFilesSize = (filesList: any[], selectedFiles: IBooleanObject) =>
|
|
35
|
-
filesList.reduce(
|
|
36
|
-
(prev, curr) =>
|
|
37
|
-
convertBooleanObjectToArray(selectedFiles).includes(curr.uuid)
|
|
38
|
-
? prev + curr.storedFile.lengthInBytes
|
|
39
|
-
: prev,
|
|
40
|
-
0
|
|
41
|
-
);
|
|
42
|
-
|
|
43
|
-
export const downloadDocumentFile = (
|
|
44
|
-
fileName: string,
|
|
45
|
-
url: string,
|
|
46
|
-
type: 'pdf' | 'xml' | 'xlsx',
|
|
47
|
-
apiUrl?: string,
|
|
48
|
-
search?: any
|
|
49
|
-
) => {
|
|
50
|
-
let req = new XMLHttpRequest();
|
|
51
|
-
const params =
|
|
52
|
-
search &&
|
|
53
|
-
Object.keys(search)
|
|
54
|
-
.map(key => key + '=' + search[key])
|
|
55
|
-
.join('&');
|
|
56
|
-
|
|
57
|
-
req.open(
|
|
58
|
-
'GET',
|
|
59
|
-
`${
|
|
60
|
-
apiUrl
|
|
61
|
-
// || api.apiUrl
|
|
62
|
-
}${url}${params ? `?${params}` : ''}`,
|
|
63
|
-
true
|
|
64
|
-
);
|
|
65
|
-
req.setRequestHeader('Authorization', 'Bearer ' + lsGet('token'));
|
|
66
|
-
req.responseType = 'blob';
|
|
67
|
-
|
|
68
|
-
req.onload = function () {
|
|
69
|
-
if (req.status === 200) {
|
|
70
|
-
var blob = req.response;
|
|
71
|
-
var link = document.createElement('a');
|
|
72
|
-
link.href = window.URL.createObjectURL(blob);
|
|
73
|
-
link.download = `${fileName}.${type}`;
|
|
74
|
-
link.click();
|
|
75
|
-
}
|
|
76
|
-
// else toastError(i18next.t('ErrorMessage'));
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
req.send();
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export const getFileFromUrl = (url: string, name: string) =>
|
|
83
|
-
fetch(url)
|
|
84
|
-
.then(res => res.blob())
|
|
85
|
-
.then(data => {
|
|
86
|
-
const file = new File([data], name, {
|
|
87
|
-
type: data.type || 'image/png',
|
|
88
|
-
});
|
|
89
|
-
return file;
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
export const getBase64FromFile = (file: Blob): Promise<string> =>
|
|
93
|
-
new Promise((resolve, reject) => {
|
|
94
|
-
const reader = new FileReader();
|
|
95
|
-
reader.readAsDataURL(file);
|
|
96
|
-
reader.onload = () => resolve(reader.result as string);
|
|
97
|
-
reader.onerror = () => reject(new Error('Failed to read file'));
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
export const getBase64FromUrl = (url: string): Promise<string> =>
|
|
101
|
-
getFileFromUrl(url, url).then(file => {
|
|
102
|
-
if (file) {
|
|
103
|
-
return getBase64FromFile(file);
|
|
104
|
-
}
|
|
105
|
-
throw new Error('Failed to create file from URL');
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
export const splitBase64File = (base64: string, type?: 'img') => {
|
|
109
|
-
const regex =
|
|
110
|
-
type === 'img' ? /^data:([a-z]+\/[a-z]+);base64,(.+)$/ : /^data:(.+);base64,(.+)$/;
|
|
111
|
-
const match = base64.match(regex);
|
|
112
|
-
if (match) {
|
|
113
|
-
const contentType = match[1];
|
|
114
|
-
const base64Data = match[2];
|
|
115
|
-
return { contentType, base64Data };
|
|
116
|
-
} else {
|
|
117
|
-
throw new Error(type === 'img' ? 'Invalid base64 image format' : 'Invalid file');
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
export const rotateBase64Image = (
|
|
122
|
-
base64data: string,
|
|
123
|
-
angle: number,
|
|
124
|
-
callback: (data: string) => void
|
|
125
|
-
) => {
|
|
126
|
-
const canvas = document.createElement('canvas');
|
|
127
|
-
let ctx = canvas.getContext('2d');
|
|
128
|
-
let image = new Image();
|
|
129
|
-
|
|
130
|
-
image.onload = function () {
|
|
131
|
-
canvas.width = angle % 180 === 0 ? image.width : image.height;
|
|
132
|
-
canvas.height = angle % 180 === 0 ? image.height : image.width;
|
|
133
|
-
|
|
134
|
-
ctx?.translate(canvas.width / 2, canvas.height / 2);
|
|
135
|
-
ctx?.rotate((angle * Math.PI) / 180);
|
|
136
|
-
ctx?.drawImage(image, image.width / -2, image.height / -2);
|
|
137
|
-
|
|
138
|
-
callback(canvas.toDataURL());
|
|
139
|
-
};
|
|
140
|
-
image.src = base64data;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
export function downloadFile({
|
|
144
|
-
url,
|
|
145
|
-
fileName,
|
|
146
|
-
onSuccess,
|
|
147
|
-
setIsLoading,
|
|
148
|
-
}: {
|
|
149
|
-
url: string;
|
|
150
|
-
fileName: string;
|
|
151
|
-
setIsLoading?: (isLoading: boolean) => void;
|
|
152
|
-
onSuccess?: () => void;
|
|
153
|
-
}) {
|
|
154
|
-
setIsLoading?.(true);
|
|
155
|
-
//Create XMLHTTP Request.
|
|
156
|
-
const req = new XMLHttpRequest();
|
|
157
|
-
req.open('GET', url, true);
|
|
158
|
-
req.responseType = 'blob';
|
|
159
|
-
req.onload = function () {
|
|
160
|
-
//Convert the Byte Data to BLOB object.
|
|
161
|
-
const blob = new Blob([req.response], { type: 'application/octetstream' });
|
|
162
|
-
const url2 = window.URL || window.webkitURL;
|
|
163
|
-
const link = url2.createObjectURL(blob);
|
|
164
|
-
const a = document.createElement('a');
|
|
165
|
-
a.setAttribute('download', fileName);
|
|
166
|
-
a.setAttribute('href', link);
|
|
167
|
-
document.body.appendChild(a);
|
|
168
|
-
a.click();
|
|
169
|
-
document.body.removeChild(a);
|
|
170
|
-
};
|
|
171
|
-
req.onloadend = function () {
|
|
172
|
-
console.info('Finished downloading file');
|
|
173
|
-
onSuccess?.();
|
|
174
|
-
setIsLoading?.(false);
|
|
175
|
-
};
|
|
176
|
-
req.send();
|
|
177
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
export const i18nIUICyrilic = {
|
|
2
|
-
////// BASIC //////
|
|
3
|
-
HomePage: 'Почетна',
|
|
4
|
-
|
|
5
|
-
// Accept: 'Прихвати',
|
|
6
|
-
Actions: 'Акције',
|
|
7
|
-
Active: 'Активан',
|
|
8
|
-
AddInput: 'Унеси',
|
|
9
|
-
Back: 'Назад',
|
|
10
|
-
Cancel: 'Откажи',
|
|
11
|
-
Change: 'Промени',
|
|
12
|
-
Choose: 'Изабери',
|
|
13
|
-
Close: 'Затвори',
|
|
14
|
-
Confirm: 'Потврди',
|
|
15
|
-
Create: 'Креирај',
|
|
16
|
-
Delete: 'Обриши',
|
|
17
|
-
Edit: 'Измени',
|
|
18
|
-
FreeText: 'Слободан унос',
|
|
19
|
-
from: 'од',
|
|
20
|
-
Group: 'Група',
|
|
21
|
-
Groups: 'Групе',
|
|
22
|
-
Next: 'Даље',
|
|
23
|
-
No: 'Не',
|
|
24
|
-
Ok: 'У реду',
|
|
25
|
-
Options: 'Опције',
|
|
26
|
-
or: 'или',
|
|
27
|
-
Save: 'Сачувај',
|
|
28
|
-
Search: 'Претрага',
|
|
29
|
-
Selected: 'Означено',
|
|
30
|
-
Send: 'Пошаљи',
|
|
31
|
-
Sending: 'Слање',
|
|
32
|
-
Title: 'Наслов',
|
|
33
|
-
to: 'до',
|
|
34
|
-
Yes: 'Да',
|
|
35
|
-
LoadingProgress: 'Учитавање...',
|
|
36
|
-
|
|
37
|
-
////// TABLE //////
|
|
38
|
-
RefreshData: 'Освежи податке',
|
|
39
|
-
allResults: 'Сви',
|
|
40
|
-
Columns: 'Колоне',
|
|
41
|
-
DragDropListsInfo:
|
|
42
|
-
'Одаберите колоне за приказивање превлачењем са једне листе на другу',
|
|
43
|
-
TableSelect: 'Акције над изабраним редовима',
|
|
44
|
-
Filter: 'Филтери',
|
|
45
|
-
ApplyFilters: 'Примени филтере',
|
|
46
|
-
HiddenColumns: 'Сакривене колоне',
|
|
47
|
-
NoResults: 'Нема резултата',
|
|
48
|
-
of: 'од',
|
|
49
|
-
page: 'Страна',
|
|
50
|
-
Print: 'Одштампај',
|
|
51
|
-
PrintDate: 'Датум извештаја',
|
|
52
|
-
PrintExport: 'Штампа/Извоз',
|
|
53
|
-
ResetFilter: 'Ресетуј филтере',
|
|
54
|
-
rowsPerPage: 'Број редова',
|
|
55
|
-
SaveXlsx: 'Сачувај XЛСX',
|
|
56
|
-
SelectedColumns: 'Одабране колоне',
|
|
57
|
-
Sort: 'Сортирање',
|
|
58
|
-
AddItem: 'Додај ставку',
|
|
59
|
-
// TEMPLATES
|
|
60
|
-
Templates: 'Шаблони',
|
|
61
|
-
ApplyTemplate: 'Примени шаблон',
|
|
62
|
-
ResetTemplate: 'Поништи шаблон',
|
|
63
|
-
DeleteTemplate: 'Обриши шаблон',
|
|
64
|
-
CreateTemplateLong: 'Сачувај тренутни изглед као шаблон',
|
|
65
|
-
CreateDefaultTemplate: 'Сачувај тренутни изглед као подразумевани',
|
|
66
|
-
CreateTemplate: 'Креирај шаблон',
|
|
67
|
-
TemplateName: 'Назив шаблона',
|
|
68
|
-
NoTemplatesAvailable: `Нема доступних шаблона.
|
|
69
|
-
Кликните на "Креирај шаблон" да бисте направили шаблон са тренутно изабраним колонама, филтерима и сортирањем.`,
|
|
70
|
-
// SelectTemplate: 'Изабери шаблон',
|
|
71
|
-
// TemplateList: 'Листа шаблона',
|
|
72
|
-
PublicTemplate: 'Јавни шаблон',
|
|
73
|
-
// PublicTemplates: 'Јавни шаблони',
|
|
74
|
-
PrivateTemplate: 'Приватни шаблон',
|
|
75
|
-
// DefaultTemplate: 'Основни шаблони',
|
|
76
|
-
// RemoveFiltersAndLook: 'Поништи изглед и филтере',
|
|
77
|
-
// DeleteTemplateDesc: 'Да ли сте сигурни да желите да изришете шаблон?',
|
|
78
|
-
// DeleteTemplateTitle: 'Брисање шаблона',
|
|
79
|
-
|
|
80
|
-
FastLinks: 'Брзи приступ',
|
|
81
|
-
|
|
82
|
-
////// INPUTS //////
|
|
83
|
-
CharMin: 'Минималан број карактера: {{from}}',
|
|
84
|
-
CharRange: 'Број карактера од {{from}} до {{-to}}',
|
|
85
|
-
CharNumber: 'Број карактера {{number}}',
|
|
86
|
-
PhoneValidation: 'Неисправан број телефона',
|
|
87
|
-
Serbia: 'Србија',
|
|
88
|
-
Montenegro: 'Црна Гора',
|
|
89
|
-
|
|
90
|
-
////// TOAST //////
|
|
91
|
-
Pending: 'У току',
|
|
92
|
-
Successfully: 'Успешно',
|
|
93
|
-
DeletedSuccessfully: 'Успешно обрисано',
|
|
94
|
-
ErrorMessage: 'Дошло је до грешке!',
|
|
95
|
-
TryAgain: 'Покушај поново',
|
|
96
|
-
|
|
97
|
-
////// NOTIFICATIONS //////
|
|
98
|
-
InApp: 'U aplikaciji',
|
|
99
|
-
MarkAllAsRead: 'Означи све као прочитано',
|
|
100
|
-
NoNewNotifications: 'Немате нове нотификације',
|
|
101
|
-
Notifications: 'Нотификације',
|
|
102
|
-
NotificationsAll: 'Све',
|
|
103
|
-
NotificationsUnread: 'Непрочитане',
|
|
104
|
-
NotificationsRead: 'Прочитане',
|
|
105
|
-
NotificationSound: 'Звук нотификације',
|
|
106
|
-
// NTitleADD_DOC: 'Додат је документ на платформу',
|
|
107
|
-
// NContentADD_DOC: 'Документ са бројем <documentNumber>{{- documentNumber}}</documentNumber> је додат на платформу',
|
|
108
|
-
|
|
109
|
-
////// PAGES //////
|
|
110
|
-
ReturnToHomepage: 'Повратак на почетну страну',
|
|
111
|
-
FooterText: `Инцептион ЦА је акредитовано сертификационо тело за квалификовану електронску доставу,
|
|
112
|
-
издавање временских жигова, валидацију квалификованог потписа и печата и квалификовано чување докумената.`,
|
|
113
|
-
PageNotFound: 'Страница није пронађена',
|
|
114
|
-
PageNotFoundInfo: `Страница коју тражите није пронађена или је премештена.
|
|
115
|
-
Можете се вратити на почетну страну.`,
|
|
116
|
-
NoAccessPage: 'Немате приступ страници',
|
|
117
|
-
NoAccessPageInfo: `Немате привилегију за приступ овој страници.
|
|
118
|
-
За више информација и доделу приступа, обратите се администратору.`,
|
|
119
|
-
};
|