@ckbox/core 1.1.1-dev.0 → 1.2.0-dev.0
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/README.md +3 -3
- package/dist/components/assetSize/AssetSize.d.ts +12 -0
- package/dist/components/assetSize/getAssetSize.d.ts +1 -0
- package/dist/components/assetSize/index.d.ts +2 -0
- package/dist/components/assets/Assets.d.ts +72 -0
- package/dist/components/assets/AssetsBottombar.d.ts +33 -0
- package/dist/components/assets/AssetsTopbar.d.ts +71 -0
- package/dist/components/assets/asset/Asset.d.ts +45 -0
- package/dist/components/assets/asset/AssetPreview.d.ts +45 -0
- package/dist/components/assets/asset/index.d.ts +1 -0
- package/dist/components/assets/assetEditForm/AssetEditForm.d.ts +39 -0
- package/dist/components/assets/assetEditForm/index.d.ts +1 -0
- package/dist/components/assets/assetEditForm/useFormValidation.d.ts +8 -0
- package/dist/components/assets/assetPropertiesDialog/AssetPropertiesDialog.d.ts +27 -0
- package/dist/components/assets/assetPropertiesDialog/index.d.ts +1 -0
- package/dist/components/assets/assetPropertiesDialog/useFormValidation.d.ts +8 -0
- package/dist/components/assets/assetPropertiesDrawer/AssetPropertiesDrawer.d.ts +35 -0
- package/dist/components/assets/assetPropertiesDrawer/index.d.ts +1 -0
- package/dist/components/assets/assetsActions/index.d.ts +1 -0
- package/dist/components/assets/assetsActions/useAssetsActions.d.ts +35 -0
- package/dist/components/assets/assetsContent/AssetGalleryItem.d.ts +73 -0
- package/dist/components/assets/assetsContent/AssetsContent.d.ts +51 -0
- package/dist/components/assets/assetsContent/index.d.ts +1 -0
- package/dist/components/assets/assetsDeleteDialog/AssetsDeleteDialog.d.ts +22 -0
- package/dist/components/assets/assetsDeleteDialog/index.d.ts +1 -0
- package/dist/components/assets/assetsPagination/index.d.ts +1 -0
- package/dist/components/assets/assetsPagination/useAssetsPagination.d.ts +38 -0
- package/dist/components/assets/assetsPreview/AssetsPreview.d.ts +54 -0
- package/dist/components/assets/assetsPreview/index.d.ts +1 -0
- package/dist/components/assets/assetsSearchDialog/AssetsSearchDialog.d.ts +18 -0
- package/dist/components/assets/assetsSearchDialog/constants.d.ts +12 -0
- package/dist/components/assets/assetsSearchDialog/form/AssetsSearchDialogForm.d.ts +22 -0
- package/dist/components/assets/assetsSearchDialog/form/index.d.ts +1 -0
- package/dist/components/assets/assetsSearchDialog/index.d.ts +1 -0
- package/dist/components/assets/assetsSearchDialog/recentSearchItem/RecentSearchItem.d.ts +23 -0
- package/dist/components/assets/assetsSearchDialog/recentSearchItem/index.d.ts +1 -0
- package/dist/components/assets/assetsSearchDialog/utils.d.ts +82 -0
- package/dist/components/assets/assetsSelection/index.d.ts +1 -0
- package/dist/components/assets/assetsSelection/useAssetsSelection.d.ts +25 -0
- package/dist/components/assets/constants/constants.d.ts +13 -0
- package/dist/components/assets/constants/index.d.ts +1 -0
- package/dist/components/assets/displayOptions/DisplayOptions.d.ts +55 -0
- package/dist/components/assets/displayOptions/index.d.ts +2 -0
- package/dist/components/assets/index.d.ts +1 -0
- package/dist/components/assets/loader/GalleryLoader.d.ts +25 -0
- package/dist/components/assets/loader/index.d.ts +2 -0
- package/dist/components/assets/loader/useLoader.d.ts +14 -0
- package/dist/components/assets/srcSet/index.d.ts +1 -0
- package/dist/components/assets/srcSet/useSrcSet.d.ts +37 -0
- package/dist/components/assets/uploadIndicator/UploadIndicator.d.ts +3 -0
- package/dist/components/assets/uploadIndicator/index.d.ts +1 -0
- package/dist/components/categoryPropertiesDrawer/CategoryPropertiesDrawer.d.ts +38 -0
- package/dist/components/categoryPropertiesDrawer/index.d.ts +1 -0
- package/dist/components/date/Date.d.ts +12 -0
- package/dist/components/date/index.d.ts +1 -0
- package/dist/components/errorContainer/ErrorContainer.d.ts +9 -0
- package/dist/components/errorContainer/index.d.ts +1 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/notifications/Notifications.d.ts +3 -0
- package/dist/components/notifications/index.d.ts +1 -0
- package/dist/components/timeLeft/TimeLeft.d.ts +15 -0
- package/dist/components/timeLeft/index.d.ts +1 -0
- package/dist/components/uploadButton/UploadButton.d.ts +10 -0
- package/dist/components/uploadButton/index.d.ts +1 -0
- package/dist/components/uploadDialog/UploadDialog.d.ts +3 -0
- package/dist/components/uploadDialog/index.d.ts +1 -0
- package/dist/components/uploadDialog/uploadDialogFooter/UploadDialogFooter.d.ts +18 -0
- package/dist/components/uploadDialog/uploadDialogFooter/index.d.ts +1 -0
- package/dist/components/uploadDialog/uploadProgressPanel/UploadProgressPanel.d.ts +50 -0
- package/dist/components/uploadDialog/uploadProgressPanel/index.d.ts +1 -0
- package/dist/components/uploadDialog/uploadProgressPanel/utils.d.ts +29 -0
- package/dist/components/uploadDialog/uploadQueue/UploadQueue.d.ts +18 -0
- package/dist/components/uploadDialog/uploadQueue/index.d.ts +1 -0
- package/dist/components/uploadDialog/utils.d.ts +12 -0
- package/dist/constants/constants.d.ts +36 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/core/Core.d.ts +5 -0
- package/dist/core/CoreContext.d.ts +44 -0
- package/dist/core/CoreErrorBoundary.d.ts +26 -0
- package/dist/core/CoreFallbackProviders.d.ts +9 -0
- package/dist/core/CoreProviders.d.ts +3 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/providers/api/ApiContext.d.ts +12 -0
- package/dist/providers/api/ApiProvider.d.ts +17 -0
- package/dist/providers/api/index.d.ts +3 -0
- package/dist/providers/api/useApi.d.ts +42 -0
- package/dist/providers/assetsConfig/AssetsConfigContext.d.ts +41 -0
- package/dist/providers/assetsConfig/AssetsConfigProvider.d.ts +16 -0
- package/dist/providers/assetsConfig/index.d.ts +3 -0
- package/dist/providers/assetsConfig/utils.d.ts +11 -0
- package/dist/providers/auth/AuthContext.d.ts +16 -0
- package/dist/providers/auth/AuthProvider.d.ts +14 -0
- package/dist/providers/auth/index.d.ts +3 -0
- package/dist/providers/auth/useAuth.d.ts +4 -0
- package/dist/providers/categoriesConfig/CategoriesConfigContext.d.ts +24 -0
- package/dist/providers/categoriesConfig/CategoriesConfigProvider.d.ts +10 -0
- package/dist/providers/categoriesConfig/index.d.ts +2 -0
- package/dist/providers/categoriesConfig/utils.d.ts +16 -0
- package/dist/providers/data/hooks/assets/index.d.ts +7 -0
- package/dist/providers/data/hooks/assets/useDeleteAssets.d.ts +71 -0
- package/dist/providers/data/hooks/assets/useGetAsset.d.ts +6 -0
- package/dist/providers/data/hooks/assets/useGetCategoryAssets.d.ts +11 -0
- package/dist/providers/data/hooks/assets/useGetRecentAssets.d.ts +10 -0
- package/dist/providers/data/hooks/assets/useLazyGetAsset.d.ts +10 -0
- package/dist/providers/data/hooks/assets/useUpdateAsset.d.ts +77 -0
- package/dist/providers/data/hooks/assets/useUpdateAssetLastUse.d.ts +71 -0
- package/dist/providers/data/hooks/categories/index.d.ts +8 -0
- package/dist/providers/data/hooks/categories/useCreateCategory.d.ts +71 -0
- package/dist/providers/data/hooks/categories/useDeleteCategory.d.ts +74 -0
- package/dist/providers/data/hooks/categories/useGetAdminCategories.d.ts +7 -0
- package/dist/providers/data/hooks/categories/useGetCategories.d.ts +6 -0
- package/dist/providers/data/hooks/categories/useGetCategory.d.ts +6 -0
- package/dist/providers/data/hooks/categories/useStageCategory.d.ts +14 -0
- package/dist/providers/data/hooks/categories/useUpdateCategoriesOrder.d.ts +71 -0
- package/dist/providers/data/hooks/categories/useUpdateCategory.d.ts +82 -0
- package/dist/providers/data/hooks/errors/index.d.ts +3 -0
- package/dist/providers/data/hooks/errors/useApiErrors.d.ts +4 -0
- package/dist/providers/data/hooks/errors/useAssetErrors.d.ts +3 -0
- package/dist/providers/data/hooks/errors/useCategoryErrors.d.ts +3 -0
- package/dist/providers/data/hooks/images/index.d.ts +2 -0
- package/dist/providers/data/hooks/images/useGetImagesConfig.d.ts +6 -0
- package/dist/providers/data/hooks/images/useUpdateImageFormatConfig.d.ts +76 -0
- package/dist/providers/data/hooks/index.d.ts +5 -0
- package/dist/providers/data/hooks/limits/index.d.ts +1 -0
- package/dist/providers/data/hooks/limits/useGetPlanLimits.d.ts +6 -0
- package/dist/providers/data/hooks/search/index.d.ts +1 -0
- package/dist/providers/data/hooks/search/useSearch.d.ts +12 -0
- package/dist/providers/data/hooks/useMutation.d.ts +67 -0
- package/dist/providers/data/hooks/useQuery.d.ts +3 -0
- package/dist/providers/data/index.d.ts +2 -0
- package/dist/providers/data/parsers/assets/index.d.ts +3 -0
- package/dist/providers/data/parsers/assets/parseAsset.d.ts +9 -0
- package/dist/providers/data/parsers/assets/parseAssets.d.ts +9 -0
- package/dist/providers/data/parsers/assets/types.d.ts +39 -0
- package/dist/providers/data/parsers/assetsMetadata/index.d.ts +2 -0
- package/dist/providers/data/parsers/assetsMetadata/parseAssetMetadata.d.ts +9 -0
- package/dist/providers/data/parsers/assetsMetadata/types.d.ts +22 -0
- package/dist/providers/data/parsers/categories/index.d.ts +4 -0
- package/dist/providers/data/parsers/categories/parseAdminCategories.d.ts +13 -0
- package/dist/providers/data/parsers/categories/parseCategories.d.ts +9 -0
- package/dist/providers/data/parsers/categories/parseCategory.d.ts +9 -0
- package/dist/providers/data/parsers/categories/types.d.ts +39 -0
- package/dist/providers/data/parsers/index.d.ts +3 -0
- package/dist/providers/index.d.ts +12 -0
- package/dist/providers/language/LanguageProvider.d.ts +4 -0
- package/dist/providers/language/index.d.ts +2 -0
- package/dist/providers/language/types.d.ts +22 -0
- package/dist/providers/language/utils.d.ts +16 -0
- package/dist/providers/limits/PlanLimitsContext.d.ts +11 -0
- package/dist/providers/limits/PlanLimitsProvider.d.ts +9 -0
- package/dist/providers/limits/index.d.ts +2 -0
- package/dist/providers/limits/utils.d.ts +7 -0
- package/dist/providers/notifications/NotificationsContext.d.ts +53 -0
- package/dist/providers/notifications/NotificationsProvider.d.ts +9 -0
- package/dist/providers/notifications/index.d.ts +2 -0
- package/dist/providers/query/QueryProvider.d.ts +12 -0
- package/dist/providers/query/index.d.ts +1 -0
- package/dist/providers/ui/UIProvider.d.ts +22 -0
- package/dist/providers/ui/UIProviderContainerMode.d.ts +4 -0
- package/dist/providers/ui/UIProviderDialogMode.d.ts +20 -0
- package/dist/providers/ui/index.d.ts +2 -0
- package/dist/providers/ui/types.d.ts +19 -0
- package/dist/providers/upload/UploadContext.d.ts +48 -0
- package/dist/providers/upload/UploadProvider.d.ts +14 -0
- package/dist/providers/upload/constants.d.ts +142 -0
- package/dist/providers/upload/index.d.ts +5 -0
- package/dist/providers/upload/types.d.ts +282 -0
- package/dist/providers/upload/uploadStateReducer.d.ts +10 -0
- package/dist/providers/upload/useStartUpload.d.ts +10 -0
- package/dist/providers/upload/useUpload.d.ts +21 -0
- package/dist/providers/upload/useUploadComponents.d.ts +21 -0
- package/dist/providers/upload/utils.d.ts +136 -0
- package/dist/providers/user/UserContext.d.ts +68 -0
- package/dist/providers/user/UserProvider.d.ts +13 -0
- package/dist/providers/user/constants.d.ts +19 -0
- package/dist/providers/user/index.d.ts +3 -0
- package/dist/providers/user/persistData.d.ts +14 -0
- package/dist/providers/user/types.d.ts +149 -0
- package/dist/providers/user/useUserData.d.ts +50 -0
- package/dist/services/api/api/api.d.ts +41 -0
- package/dist/services/api/api/index.d.ts +1 -0
- package/dist/services/api/assets/assets.d.ts +98 -0
- package/dist/services/api/assets/index.d.ts +1 -0
- package/dist/services/api/categories/categories.d.ts +50 -0
- package/dist/services/api/categories/index.d.ts +1 -0
- package/dist/services/api/client/ApiClient.d.ts +108 -0
- package/dist/services/api/client/ApiClientError.d.ts +37 -0
- package/dist/services/api/client/index.d.ts +3 -0
- package/dist/services/api/client/types.d.ts +19 -0
- package/dist/services/api/errors/ApiErrorHandler.d.ts +53 -0
- package/dist/services/api/errors/index.d.ts +2 -0
- package/dist/services/api/errors/types.d.ts +6 -0
- package/dist/services/api/images/images.d.ts +18 -0
- package/dist/services/api/images/index.d.ts +1 -0
- package/dist/services/api/index.d.ts +5 -0
- package/dist/services/api/limits/index.d.ts +1 -0
- package/dist/services/api/limits/limits.d.ts +10 -0
- package/dist/services/api/search/index.d.ts +1 -0
- package/dist/services/api/search/search.d.ts +10 -0
- package/dist/services/api/types/assets.d.ts +131 -0
- package/dist/services/api/types/assetsMetadata.d.ts +24 -0
- package/dist/services/api/types/categories.d.ts +86 -0
- package/dist/services/api/types/common.d.ts +16 -0
- package/dist/services/api/types/images.d.ts +8 -0
- package/dist/services/api/types/index.d.ts +7 -0
- package/dist/services/api/types/limits.d.ts +11 -0
- package/dist/services/api/types/search.d.ts +122 -0
- package/dist/services/auth/AuthClient.d.ts +89 -0
- package/dist/services/auth/Token.d.ts +55 -0
- package/dist/services/auth/error.d.ts +6 -0
- package/dist/services/auth/index.d.ts +3 -0
- package/dist/services/auth/types.d.ts +27 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/es-la.js +1 -1
- package/dist/translations/es-mx.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fr-ca.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/mr.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/zh-tw.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/views/adminPanel/AdminPanel.d.ts +3 -0
- package/dist/views/adminPanel/assetCategories/AssetCategories.d.ts +9 -0
- package/dist/views/adminPanel/assetCategories/AssetCategoryPanel.d.ts +23 -0
- package/dist/views/adminPanel/assetCategories/AssetCategoryPanelEdit.d.ts +26 -0
- package/dist/views/adminPanel/assetCategories/AssetCategoryPanelLoader.d.ts +9 -0
- package/dist/views/adminPanel/assetCategories/ConfirmCategoryDialog.d.ts +29 -0
- package/dist/views/adminPanel/assetCategories/index.d.ts +1 -0
- package/dist/views/adminPanel/assetCategories/useAssetCategories.d.ts +28 -0
- package/dist/views/adminPanel/assetCategories/useFormValidation.d.ts +10 -0
- package/dist/views/adminPanel/imagesSettings/ImageFormatSettingsPanel.d.ts +22 -0
- package/dist/views/adminPanel/imagesSettings/ImageFormatSettingsPanelLoader.d.ts +3 -0
- package/dist/views/adminPanel/imagesSettings/ImagesSettings.d.ts +3 -0
- package/dist/views/adminPanel/imagesSettings/constants.d.ts +5 -0
- package/dist/views/adminPanel/imagesSettings/index.d.ts +1 -0
- package/dist/views/adminPanel/imagesSettings/useImageSettings.d.ts +9 -0
- package/dist/views/adminPanel/index.d.ts +1 -0
- package/dist/views/category/Category.d.ts +18 -0
- package/dist/views/category/index.d.ts +1 -0
- package/dist/views/category/utils/index.d.ts +1 -0
- package/dist/views/category/utils/utils.d.ts +12 -0
- package/dist/views/index.d.ts +1 -0
- package/dist/views/recentAssets/RecentAssets.d.ts +19 -0
- package/dist/views/recentAssets/index.d.ts +1 -0
- package/dist/views/search/Search.d.ts +15 -0
- package/dist/views/search/index.d.ts +1 -0
- package/dist/views/search/utils.d.ts +19 -0
- package/dist/views/views/Views.d.ts +3 -0
- package/dist/views/views/index.d.ts +1 -0
- package/dist/views/views/navbar/Navbar.d.ts +46 -0
- package/dist/views/views/navbar/index.d.ts +1 -0
- package/package.json +8 -7
- package/dist/translations/lv.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './search';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiClient } from '../client';
|
|
2
|
+
import { ApiSearchPayload, ApiSearchResponse } from '../types/search';
|
|
3
|
+
export declare const createApiSearch: (apiClient: ApiClient) => {
|
|
4
|
+
/**
|
|
5
|
+
* Makes a search request for assets.
|
|
6
|
+
*
|
|
7
|
+
* @returns search results
|
|
8
|
+
*/
|
|
9
|
+
search: (payload: ApiSearchPayload) => Promise<ApiSearchResponse | undefined>;
|
|
10
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ApiAssetMetadata } from './assetsMetadata';
|
|
2
|
+
import { ApiPaginatedResponse, Maybe } from './common';
|
|
3
|
+
export declare enum ApiSortingOrder {
|
|
4
|
+
ASCENDING = "asc",
|
|
5
|
+
DESCENDING = "desc"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ApiSortBy {
|
|
8
|
+
NAME = "name",
|
|
9
|
+
SIZE = "size",
|
|
10
|
+
UPLOADED_AT = "uploadedAt",
|
|
11
|
+
LAST_MODIFIED_AT = "lastModifiedAt"
|
|
12
|
+
}
|
|
13
|
+
export declare type ApiAsset = {
|
|
14
|
+
/**
|
|
15
|
+
* Asset id.
|
|
16
|
+
*/
|
|
17
|
+
id: Maybe<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Asset name.
|
|
20
|
+
*/
|
|
21
|
+
name: Maybe<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Asset extension.
|
|
24
|
+
*/
|
|
25
|
+
extension: Maybe<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Asset size.
|
|
28
|
+
*/
|
|
29
|
+
size: Maybe<number>;
|
|
30
|
+
/**
|
|
31
|
+
* Asset mime-type.
|
|
32
|
+
*/
|
|
33
|
+
mimeType: Maybe<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Asset category id.
|
|
36
|
+
*/
|
|
37
|
+
categoryId: Maybe<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Asset metadata.
|
|
40
|
+
*/
|
|
41
|
+
metadata: Maybe<ApiAssetMetadata>;
|
|
42
|
+
/**
|
|
43
|
+
* Asset upload time.
|
|
44
|
+
*/
|
|
45
|
+
uploadedAt: Maybe<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Asset last modification time.
|
|
48
|
+
*/
|
|
49
|
+
lastModifiedAt: Maybe<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Asset last usage time.
|
|
52
|
+
*/
|
|
53
|
+
lastUsedAt: Maybe<string>;
|
|
54
|
+
/**
|
|
55
|
+
* List asset tags.
|
|
56
|
+
*/
|
|
57
|
+
tags: Maybe<string[]>;
|
|
58
|
+
};
|
|
59
|
+
export declare type ApiUploadAssetData = {
|
|
60
|
+
/**
|
|
61
|
+
* Asset category id.
|
|
62
|
+
*/
|
|
63
|
+
categoryId: string;
|
|
64
|
+
/**
|
|
65
|
+
* Asset binary.
|
|
66
|
+
*/
|
|
67
|
+
file: File;
|
|
68
|
+
/**
|
|
69
|
+
* Upload progress callback.
|
|
70
|
+
*/
|
|
71
|
+
progressCallback?: (loaded: number, total: number) => void;
|
|
72
|
+
};
|
|
73
|
+
declare type ApiAssetToDelete = {
|
|
74
|
+
/**
|
|
75
|
+
* Asset category id.
|
|
76
|
+
*/
|
|
77
|
+
categoryId: string;
|
|
78
|
+
};
|
|
79
|
+
export declare type ApiAssetsToDelete = Record<string, ApiAssetToDelete>;
|
|
80
|
+
export declare type ApiUpdateAssetPayload = {
|
|
81
|
+
/**
|
|
82
|
+
* Asset name.
|
|
83
|
+
*/
|
|
84
|
+
name?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Asset extension.
|
|
87
|
+
*/
|
|
88
|
+
extension?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Asset category id.
|
|
91
|
+
*/
|
|
92
|
+
categoryId?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Asset metadata.
|
|
95
|
+
*/
|
|
96
|
+
metadata?: ApiAssetMetadata;
|
|
97
|
+
};
|
|
98
|
+
export declare type ApiUpdatedAssetResponse = ApiAsset;
|
|
99
|
+
export declare type ApiAssets = ApiPaginatedResponse & {
|
|
100
|
+
/**
|
|
101
|
+
* Assets.
|
|
102
|
+
*/
|
|
103
|
+
items: Maybe<ApiAsset[]>;
|
|
104
|
+
};
|
|
105
|
+
export declare type ApiDeletedAssetsResponse = Record<string, number>;
|
|
106
|
+
export declare type ApiDeleteAssetsPayload = string[];
|
|
107
|
+
export declare type ApiUpdateLastUseAssetsPayload = string[];
|
|
108
|
+
export declare type ApiCategoryAssetsParams = {
|
|
109
|
+
/**
|
|
110
|
+
* Identifier of the assets category.
|
|
111
|
+
*/
|
|
112
|
+
categoryId: string;
|
|
113
|
+
/**
|
|
114
|
+
* The numbers of assets to return.
|
|
115
|
+
*/
|
|
116
|
+
limit?: number;
|
|
117
|
+
/**
|
|
118
|
+
* The number of assets to skip before starting to collect the result set.
|
|
119
|
+
*/
|
|
120
|
+
offset?: number;
|
|
121
|
+
/**
|
|
122
|
+
* Returns assets in ascending or descending order.
|
|
123
|
+
*/
|
|
124
|
+
order?: ApiSortingOrder;
|
|
125
|
+
/**
|
|
126
|
+
* Sorts assets.
|
|
127
|
+
*/
|
|
128
|
+
sortBy?: ApiSortBy;
|
|
129
|
+
};
|
|
130
|
+
export declare type ApiRecentAssetsParams = Omit<ApiCategoryAssetsParams, 'categoryId' | 'sortBy'>;
|
|
131
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Maybe } from './common';
|
|
2
|
+
export declare type ApiAssetMetadata = {
|
|
3
|
+
/**
|
|
4
|
+
* Asset blurhash.
|
|
5
|
+
*/
|
|
6
|
+
blurHash?: Maybe<string>;
|
|
7
|
+
/**
|
|
8
|
+
* Asset description.
|
|
9
|
+
*/
|
|
10
|
+
description?: Maybe<string>;
|
|
11
|
+
/**
|
|
12
|
+
* Asset width.
|
|
13
|
+
*/
|
|
14
|
+
width?: Maybe<number>;
|
|
15
|
+
/**
|
|
16
|
+
* Asset height.
|
|
17
|
+
*/
|
|
18
|
+
height?: Maybe<number>;
|
|
19
|
+
/**
|
|
20
|
+
* Asset custom attributed.
|
|
21
|
+
*/
|
|
22
|
+
customAttributes?: Maybe<Record<string, unknown>>;
|
|
23
|
+
};
|
|
24
|
+
export declare type ApiUpdateAssetMetadataPayload = Pick<ApiAssetMetadata, 'description' | 'customAttributes'>;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ApiPaginatedResponse, Maybe } from './common';
|
|
2
|
+
export declare type ApiCreateCategoryPayload = {
|
|
3
|
+
/**
|
|
4
|
+
* Staged category id.
|
|
5
|
+
*/
|
|
6
|
+
categoryId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Category name.
|
|
9
|
+
*/
|
|
10
|
+
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* Category extensions.
|
|
13
|
+
*/
|
|
14
|
+
extensions: string[];
|
|
15
|
+
};
|
|
16
|
+
export declare type ApiUpdateCategoryPayload = {
|
|
17
|
+
/**
|
|
18
|
+
* Category name.
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Category extensions.
|
|
23
|
+
*/
|
|
24
|
+
extensions: string[];
|
|
25
|
+
};
|
|
26
|
+
export declare type ApiCreatedCategoryResponse = {
|
|
27
|
+
/**
|
|
28
|
+
* Category id.
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
};
|
|
32
|
+
export interface ApiCategory {
|
|
33
|
+
/**
|
|
34
|
+
* Category id.
|
|
35
|
+
*/
|
|
36
|
+
id: Maybe<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Total number of assets in the category.
|
|
39
|
+
*/
|
|
40
|
+
assetsCount: Maybe<number>;
|
|
41
|
+
/**
|
|
42
|
+
* Category name.
|
|
43
|
+
*/
|
|
44
|
+
name: Maybe<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Allowed extensions.
|
|
47
|
+
*/
|
|
48
|
+
extensions: Maybe<string[]>;
|
|
49
|
+
}
|
|
50
|
+
export interface ApiAdminCategory extends ApiCategory {
|
|
51
|
+
/**
|
|
52
|
+
* Lists extensions in use.
|
|
53
|
+
*/
|
|
54
|
+
extensionsInUse: Maybe<string[]>;
|
|
55
|
+
}
|
|
56
|
+
export declare type ApiCategories = ApiPaginatedResponse & {
|
|
57
|
+
/**
|
|
58
|
+
* List of categories.
|
|
59
|
+
*/
|
|
60
|
+
items: Maybe<ApiCategory[]>;
|
|
61
|
+
};
|
|
62
|
+
export declare type ApiAdminCategories = ApiPaginatedResponse & {
|
|
63
|
+
/**
|
|
64
|
+
* List of categories.
|
|
65
|
+
*/
|
|
66
|
+
items: Maybe<ApiAdminCategory[]>;
|
|
67
|
+
};
|
|
68
|
+
export declare type ApiUpdateCategoriesOrderPayload = string[];
|
|
69
|
+
export declare type ApiCategoriesParams = {
|
|
70
|
+
/**
|
|
71
|
+
* The number of categories to skip before starting to collect the result set.
|
|
72
|
+
*/
|
|
73
|
+
offset?: number;
|
|
74
|
+
/**
|
|
75
|
+
* The numbers of categories to return.
|
|
76
|
+
*/
|
|
77
|
+
limit?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Sort categories by position, createdAt, updatedAt.
|
|
80
|
+
*/
|
|
81
|
+
sortBy?: 'position' | 'createdAt' | 'updatedAt';
|
|
82
|
+
/**
|
|
83
|
+
* Return categories in ascending or descending order
|
|
84
|
+
*/
|
|
85
|
+
order?: 'asc' | 'desc';
|
|
86
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare type Maybe<T> = T | undefined | null;
|
|
2
|
+
export declare type ApiPaginatedResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* Paginated resource total count.
|
|
5
|
+
*/
|
|
6
|
+
totalCount: number;
|
|
7
|
+
/**
|
|
8
|
+
* Paginated resource page offset.
|
|
9
|
+
*/
|
|
10
|
+
offset: number;
|
|
11
|
+
/**
|
|
12
|
+
* Paginated resource page limit.
|
|
13
|
+
*/
|
|
14
|
+
limit: number;
|
|
15
|
+
};
|
|
16
|
+
export declare type SearchParams = Record<string, string | number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Maybe } from './common';
|
|
2
|
+
export declare type ApiPlanLimits = {
|
|
3
|
+
/**
|
|
4
|
+
* Maximum megapixels number that can be uploaded with the current plan.
|
|
5
|
+
*/
|
|
6
|
+
maxImageInMegapixelsLimit: Maybe<number>;
|
|
7
|
+
/**
|
|
8
|
+
* Maximum number of bytes per file that can be uploaded with the current plan.
|
|
9
|
+
*/
|
|
10
|
+
maxFileSizeInBytesLimit: Maybe<number>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { ApiAsset, ApiSortBy, ApiSortingOrder } from './assets';
|
|
2
|
+
export declare enum PredefinedDateMode {
|
|
3
|
+
AnyTime = "0",
|
|
4
|
+
Today = "1",
|
|
5
|
+
Yesterday = "2",
|
|
6
|
+
LastWeek = "3",
|
|
7
|
+
LastMonth = "4",
|
|
8
|
+
LastSixMonths = "5",
|
|
9
|
+
LastYear = "6"
|
|
10
|
+
}
|
|
11
|
+
export declare type SearchFilters = {
|
|
12
|
+
categories?: {
|
|
13
|
+
in: string[];
|
|
14
|
+
};
|
|
15
|
+
extensions?: {
|
|
16
|
+
in: string[];
|
|
17
|
+
};
|
|
18
|
+
tags?: {
|
|
19
|
+
in: string[];
|
|
20
|
+
};
|
|
21
|
+
uploadedAt?: PredefinedDateMode;
|
|
22
|
+
lastModifiedAt?: PredefinedDateMode;
|
|
23
|
+
};
|
|
24
|
+
export declare type SearchCriteria = {
|
|
25
|
+
/**
|
|
26
|
+
* Search phrase.
|
|
27
|
+
*/
|
|
28
|
+
searchPhrase: string;
|
|
29
|
+
/**
|
|
30
|
+
* Advanced filters applied to the search results.
|
|
31
|
+
*/
|
|
32
|
+
filters?: SearchFilters;
|
|
33
|
+
};
|
|
34
|
+
export declare type ApiSearchFilters = {
|
|
35
|
+
categories?: {
|
|
36
|
+
in: string[];
|
|
37
|
+
};
|
|
38
|
+
extensions?: {
|
|
39
|
+
in: string[];
|
|
40
|
+
};
|
|
41
|
+
tags?: {
|
|
42
|
+
in: string[];
|
|
43
|
+
};
|
|
44
|
+
uploadedAt?: {
|
|
45
|
+
from?: string;
|
|
46
|
+
to?: string;
|
|
47
|
+
};
|
|
48
|
+
lastModifiedAt?: {
|
|
49
|
+
from?: string;
|
|
50
|
+
to?: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare type ApiSearchCriteria = {
|
|
54
|
+
/**
|
|
55
|
+
* Search phrase.
|
|
56
|
+
*/
|
|
57
|
+
searchPhrase: string;
|
|
58
|
+
/**
|
|
59
|
+
* Advanced filters applied to the search results.
|
|
60
|
+
*/
|
|
61
|
+
filters?: ApiSearchFilters;
|
|
62
|
+
};
|
|
63
|
+
export declare type ApiSearchPaginationParams = {
|
|
64
|
+
/**
|
|
65
|
+
* The number of assets to skip before starting to collect the result set.
|
|
66
|
+
*/
|
|
67
|
+
offset: number;
|
|
68
|
+
/**
|
|
69
|
+
* The numbers of assets to return.
|
|
70
|
+
*/
|
|
71
|
+
limit: number;
|
|
72
|
+
/**
|
|
73
|
+
* Sorts assets.
|
|
74
|
+
*/
|
|
75
|
+
sortBy?: ApiSortBy;
|
|
76
|
+
/**
|
|
77
|
+
* Returns assets in ascending or descending order.
|
|
78
|
+
*/
|
|
79
|
+
order?: ApiSortingOrder;
|
|
80
|
+
};
|
|
81
|
+
export declare type ApiSearchPayload = ApiSearchCriteria & {
|
|
82
|
+
/**
|
|
83
|
+
* Pagination options applied to the search result.
|
|
84
|
+
*/
|
|
85
|
+
pagination: ApiSearchPaginationParams;
|
|
86
|
+
};
|
|
87
|
+
export declare type ApiSearchParams = ApiSearchCriteria & {
|
|
88
|
+
/**
|
|
89
|
+
* The numbers of assets to return.
|
|
90
|
+
*/
|
|
91
|
+
limit?: number;
|
|
92
|
+
/**
|
|
93
|
+
* The number of assets to skip before starting to collect the result set.
|
|
94
|
+
*/
|
|
95
|
+
offset?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Returns assets in ascending or descending order.
|
|
98
|
+
*/
|
|
99
|
+
order?: ApiSortingOrder;
|
|
100
|
+
/**
|
|
101
|
+
* Sorts assets.
|
|
102
|
+
*/
|
|
103
|
+
sortBy?: ApiSortBy;
|
|
104
|
+
};
|
|
105
|
+
export declare type ApiSearchResponse = {
|
|
106
|
+
/**
|
|
107
|
+
* Assets being the result of the search with used criteria.
|
|
108
|
+
*/
|
|
109
|
+
items: ApiAsset[];
|
|
110
|
+
/**
|
|
111
|
+
* The numbers of assets returned.
|
|
112
|
+
*/
|
|
113
|
+
limit: number;
|
|
114
|
+
/**
|
|
115
|
+
* The number of assets skipped before starting to collect the result set.
|
|
116
|
+
*/
|
|
117
|
+
offset: number;
|
|
118
|
+
/**
|
|
119
|
+
* The total number of assets meeting the search criteria.
|
|
120
|
+
*/
|
|
121
|
+
totalCount: number;
|
|
122
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Token } from './Token';
|
|
2
|
+
export interface AuthConfig {
|
|
3
|
+
/**
|
|
4
|
+
* API endpoint for retrieving tokens.
|
|
5
|
+
*/
|
|
6
|
+
tokenUrl: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Manages JWT token that is used for communication with API.
|
|
10
|
+
*/
|
|
11
|
+
export declare class AuthClient {
|
|
12
|
+
/**
|
|
13
|
+
* Current timeout identifier. Used to cleanup pending timeout.
|
|
14
|
+
*/
|
|
15
|
+
private _tokenTimeout?;
|
|
16
|
+
/**
|
|
17
|
+
* Currently used token.
|
|
18
|
+
*/
|
|
19
|
+
private _token?;
|
|
20
|
+
/**
|
|
21
|
+
* Decoded API secret used to sign REST API requests.
|
|
22
|
+
*/
|
|
23
|
+
private _apiSecret;
|
|
24
|
+
/**
|
|
25
|
+
* Indicates if token is ready to use.
|
|
26
|
+
*/
|
|
27
|
+
private _isReady;
|
|
28
|
+
/**
|
|
29
|
+
* Instance of promise that fetches next token.
|
|
30
|
+
*/
|
|
31
|
+
private _tokenPromise?;
|
|
32
|
+
/**
|
|
33
|
+
* Indicates if an unrecoverable error occurred.
|
|
34
|
+
*/
|
|
35
|
+
private _err?;
|
|
36
|
+
/**
|
|
37
|
+
* URL where tokens are generated.
|
|
38
|
+
*/
|
|
39
|
+
tokenUrl: URL;
|
|
40
|
+
constructor(config: AuthConfig);
|
|
41
|
+
/**
|
|
42
|
+
* Fetches token from a specified url.
|
|
43
|
+
*
|
|
44
|
+
* @returns token
|
|
45
|
+
*/
|
|
46
|
+
private fetchToken;
|
|
47
|
+
/**
|
|
48
|
+
* Initializes token refresh lifecycle.
|
|
49
|
+
*
|
|
50
|
+
* @param initToken initial token
|
|
51
|
+
*/
|
|
52
|
+
private refresh;
|
|
53
|
+
/**
|
|
54
|
+
* Decodes obfuscated api secret.
|
|
55
|
+
*
|
|
56
|
+
* @param key Key used to xor-decode api secret
|
|
57
|
+
* @param encodedApiSecret Obfuscated api secret
|
|
58
|
+
*/
|
|
59
|
+
private decodeApiSecret;
|
|
60
|
+
/**
|
|
61
|
+
* Gets raw value of a token.
|
|
62
|
+
* This method is async because token might not be set and the request might be in progress.
|
|
63
|
+
*
|
|
64
|
+
* @returns token
|
|
65
|
+
*/
|
|
66
|
+
tokenValue(): Promise<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Parses payload of a raw token and returns it.
|
|
69
|
+
*
|
|
70
|
+
* @returns token payload
|
|
71
|
+
*/
|
|
72
|
+
token(): Promise<Token | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Cleans up state.
|
|
75
|
+
*/
|
|
76
|
+
cleanup(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Generates the request signature.
|
|
79
|
+
*
|
|
80
|
+
* @param url request url
|
|
81
|
+
* @param body request body
|
|
82
|
+
* @param apiSecret secret key - obfuscated api secret
|
|
83
|
+
* @returns request signature and timestamp
|
|
84
|
+
*/
|
|
85
|
+
generateSignature(method: string, url: string, body?: string): {
|
|
86
|
+
signature?: string;
|
|
87
|
+
timestamp: number;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { TokenAuth } from './types';
|
|
2
|
+
export declare class Token {
|
|
3
|
+
private readonly _tokenValue;
|
|
4
|
+
private readonly _payload;
|
|
5
|
+
constructor(_tokenValue: string);
|
|
6
|
+
/**
|
|
7
|
+
* Decodes token, validates it, and returns its payload.
|
|
8
|
+
*
|
|
9
|
+
* @param tokenValue
|
|
10
|
+
* @returns token payload
|
|
11
|
+
*/
|
|
12
|
+
private parse;
|
|
13
|
+
/**
|
|
14
|
+
* Returns raw JWT token.
|
|
15
|
+
*
|
|
16
|
+
* @returns raw token
|
|
17
|
+
*/
|
|
18
|
+
getValue(): string;
|
|
19
|
+
/**
|
|
20
|
+
* Returns token expiration timestamp from the `exp` claim in the token payload.
|
|
21
|
+
*
|
|
22
|
+
* @returns token's expiration timestamp
|
|
23
|
+
*/
|
|
24
|
+
getExpirationTime(): number | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Returns token refresh timeout time calculated from expire time in the token payload.
|
|
27
|
+
* If the token parse fails or the token payload doesn't contain exp claim, the default
|
|
28
|
+
* DEFAULT_TOKEN_REFRESH_TIMEOUT_TIME is returned.
|
|
29
|
+
*
|
|
30
|
+
* @returns token's refresh timeout time
|
|
31
|
+
*/
|
|
32
|
+
getRefreshTime(): number;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the environment id from the `aud` claim in the token payload.
|
|
35
|
+
*
|
|
36
|
+
* @returns environment id
|
|
37
|
+
*/
|
|
38
|
+
getEnvironmentId(): string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Returns `auth` claim from the token payload.
|
|
41
|
+
*
|
|
42
|
+
* @returns user authorization claims
|
|
43
|
+
*/
|
|
44
|
+
getAuth(): TokenAuth | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Returns issued-at from the `iat` claim in the token payload.
|
|
47
|
+
*
|
|
48
|
+
* @returns token's issued-at timestamp
|
|
49
|
+
*/
|
|
50
|
+
getIssuedAt(): number | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Returns subject from the `sub` claim in the token payload.
|
|
53
|
+
*/
|
|
54
|
+
getSubject(): string | undefined;
|
|
55
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface TokenAuth {
|
|
2
|
+
ckbox?: {
|
|
3
|
+
role?: 'admin' | 'user';
|
|
4
|
+
};
|
|
5
|
+
}
|
|
6
|
+
export interface TokenPayload {
|
|
7
|
+
/**
|
|
8
|
+
* JWT audience claim.
|
|
9
|
+
*/
|
|
10
|
+
aud?: string;
|
|
11
|
+
/**
|
|
12
|
+
* JWT subject claim.
|
|
13
|
+
*/
|
|
14
|
+
sub?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Authorization claims.
|
|
17
|
+
*/
|
|
18
|
+
auth?: TokenAuth;
|
|
19
|
+
/**
|
|
20
|
+
* JWT 'issued at' timestamp.
|
|
21
|
+
*/
|
|
22
|
+
iat?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Expiration time
|
|
25
|
+
*/
|
|
26
|
+
exp?: number;
|
|
27
|
+
}
|
package/dist/translations/bg.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){const e="undefined"!=typeof globalThis?globalThis:global||self;e.CKBOX_TRANSLATIONS||(e.CKBOX_TRANSLATIONS={}),e.CKBOX_TRANSLATIONS.bg={Settings:"Настройки","Asset categories":"Категории организационни единици",Images:"Изображения","Category name":"Име на категорията","Add category":"Добавете категория","Category ID":"Идентификационен номер на категорията","Allowed extensions":"Разрешени разширения","Add an extension":"Добавете разширение","This extension is in use":"Това разширение вече се използва","Removing an extension in use will result in the permanent removal of files with this extension.":"Премахването на разширение, което се използва ще доведе до постоянното премахване на файловете с това разширение.","Remove extensions in use":"Премахване на използвани разширения","This operation will permanently delete assets from the %s category. Are you sure you want to do that?":"Това действие ще изтрие за постоянно организационните единици от категория <strong>%s</strong>. Сигурни ли сте, че искате да го направите?","Assets with the following extensions will be removed:":"Организационните единици със следните разширения ще бъдат премахнати:","Remove %s extension":"Премахни %s разширение","Use the slider to define the quality of responsive images":"Използвайте плъзгача, за да определите качеството на съответните изображения","Responsive images quality":"Качество на съответните изображения","Image quality:":"Качество на изображението:",Low:"Ниско",Medium:"Средно",Good:"Добро",High:"Високо",Best:"Най-високо","Please type the category name to continue:":"Моля, изпишете името на категорията, за да продължите:","This operation will permanently delete the %s category with all the assets in it. Are you sure you want to do that?":"Това действие ще изтрие за постоянно категорията <strong>%s</strong> заедно с всички организационни единици в нея. Сигурни ли сте, че искате да го направите?","Category name is required.":"Изисква се име на категорията.","Category name cannot exceed 256 characters.":"Името на категорията не може да надвишава 256 знака.","At least one extension must be specified.":"Трябва да бъде посочено поне едно разширение.","Extension cannot contain a dot.":"Разширенията не могат да съдържат точка.","Number of extensions cannot exceed 100.":"Броят разширения не може да надвишава 100.","Extension must not exceed 9 characters.":"Разширението не трябва да надвишава 9 знака","Category name must be unique.":"Вече съществува категория с това име.","Remove category":"Премахни категорията","You are about to permanently delete your files!":"Ще изтриете за постоянно своите файлове!","Category created successfully.":"Категорията е създадена успешно.","Category position updated.":"Позицията на категорията е обновена.","Category updated successfully.":"Категорията е обновена успешно.","Category deleted successfully.":"Категорията е изтрита успешно.","Images quality updated successfully.":"Качеството на изображенията е обновено успешно.",Cancel:"Отказ",Save:"Запази",Delete:"Изтрий",Edit:"Редактирай",Copy:"Копирай",Close:"Затвори","Copied!":"Копирано!",Recent:"Скорошни",Download:"Свали",Rename:"Преименувай",Upload:"Качи",Properties:"Свойства",Choose:"Избери","%d file selected_one":"<strong>%d файл</strong> избран","%d file selected_other":"<strong>%d файл</strong> избран","%d file deleted successfully._one":"%d файлът е изтрит успешно.","%d file deleted successfully._other":"%d файлът е изтрит успешно.","File updated successfully.":"Файлът е обновен успешно","File name":"Име на файла",Description:"Описание","Upload date":"Дата на качване",
|
|
1
|
+
!function(){const e="undefined"!=typeof globalThis?globalThis:global||self;e.CKBOX_TRANSLATIONS||(e.CKBOX_TRANSLATIONS={}),e.CKBOX_TRANSLATIONS.bg={"File manager":"Управление на файлове",Settings:"Настройки","Asset categories":"Категории организационни единици",Images:"Изображения","Category name":"Име на категорията","Add category":"Добавете категория","Category ID":"Идентификационен номер на категорията","Allowed extensions":"Разрешени разширения","Add an extension":"Добавете разширение","This extension is in use":"Това разширение вече се използва","Removing an extension in use will result in the permanent removal of files with this extension.":"Премахването на разширение, което се използва ще доведе до постоянното премахване на файловете с това разширение.","Remove extensions in use":"Премахване на използвани разширения","This operation will permanently delete assets from the %s category. Are you sure you want to do that?":"Това действие ще изтрие за постоянно организационните единици от категория <strong>%s</strong>. Сигурни ли сте, че искате да го направите?","Assets with the following extensions will be removed:":"Организационните единици със следните разширения ще бъдат премахнати:","Remove %s extension":"Премахни %s разширение","Use the slider to define the quality of responsive images":"Използвайте плъзгача, за да определите качеството на съответните изображения","Responsive images quality":"Качество на съответните изображения","Image quality:":"Качество на изображението:",Low:"Ниско",Medium:"Средно",Good:"Добро",High:"Високо",Best:"Най-високо","Please type the category name to continue:":"Моля, изпишете името на категорията, за да продължите:","This operation will permanently delete the %s category with all the assets in it. Are you sure you want to do that?":"Това действие ще изтрие за постоянно категорията <strong>%s</strong> заедно с всички организационни единици в нея. Сигурни ли сте, че искате да го направите?","Category name is required.":"Изисква се име на категорията.","Category name cannot exceed 256 characters.":"Името на категорията не може да надвишава 256 знака.","At least one extension must be specified.":"Трябва да бъде посочено поне едно разширение.","Extension cannot contain a dot.":"Разширенията не могат да съдържат точка.","Number of extensions cannot exceed 100.":"Броят разширения не може да надвишава 100.","Extension must not exceed 9 characters.":"Разширението не трябва да надвишава 9 знака","Category name must be unique.":"Вече съществува категория с това име.","Remove category":"Премахни категорията","You are about to permanently delete your files!":"Ще изтриете за постоянно своите файлове!","Category created successfully.":"Категорията е създадена успешно.","Category position updated.":"Позицията на категорията е обновена.","Category updated successfully.":"Категорията е обновена успешно.","Category deleted successfully.":"Категорията е изтрита успешно.","Images quality updated successfully.":"Качеството на изображенията е обновено успешно.",Cancel:"Отказ",Save:"Запази",Delete:"Изтрий",Edit:"Редактирай",Copy:"Копирай","Remove %s tag":"Премахване на етикет %s.","Add a tag":"Добавяне на етикет",Tags:"Етикети",Close:"Затвори","Copied!":"Копирано!",Recent:"Скорошни",Download:"Свали",Rename:"Преименувай",Upload:"Качи",Properties:"Свойства",View:"Преглед","Assets preview":"Преглед на активите",Choose:"Избери","%d file selected_one":"<strong>%d файл</strong> избран","%d file selected_other":"<strong>%d файл</strong> избран","%d file deleted successfully._one":"%d файлът е изтрит успешно.","%d file deleted successfully._other":"%d файлът е изтрит успешно.","File updated successfully.":"Файлът е обновен успешно","File name":"Име на файла",Description:"Описание","Upload date":"Дата на качване","File size":"Размер на файла",Width:"Ширина",Height:"Височина",URL:"URL","of %d":"от %d","Enter page number":"Въведи номер на страница",Navigation:"Навигация","There are no assets in this category":"В тази категория няма организационни единици","Description cannot exceed 1024 characters.":"Описанието не може да надвишава 1024 знака.","File name is required.":"Изисква се име на файла.","File extension is required.":"Изисква се разширение на файла.","File extension is not allowed.":"Разширението на файла не е позволено в тази категория.","Remove assets":"Премахни организационните категории","Are you sure you want to delete %s file?_one":"Сигурни ли сте, че искате да изтриете файла <strong>%s</strong>?","Are you sure you want to delete %s file?_other":"Сигурни ли сте, че искате да изтриете файла <strong>%s</strong>?","Resize window":"Промени размера на прозореца","Display options":"Покажи възможностите",Assets:"Организационни единици",Thumbnails:"Минимизиран изглед","Thumbnail size":"Размер","Keep aspect ratio":"Запази съотношението",Display:"Покажи","Sort by":"Сортирай по",Order:"Ред",Ascending:"Възходящ",Descending:"Низходящ",Name:"Име",Size:"Размер","Modification date":"Дата на изменение",Pending:"Чакащ",Aborted:"Отказан","%s left":"%s остават","More than 1 day left":"Остава повече от 1 ден","%s of %s":"%s от %s","File extension is not allowed in %s category":"Разширението на файла не е допустимо в категория <strong>%s</strong>","Maximum file size allowed is %s":"Максималният допустим размер на файла е %s","Maximum image resolution allowed is %s":"Максималната допустима резолюция на изображението е %s","Storage quota exceeded":"Надвишена квота за съхранение","An error has occurred":"Възникна грешка","%d error_one":"<strong>%d</strong> грешка","%d error_other":"<strong>%d</strong> грешка","%d of %d file uploaded_one":"<strong>%d</strong> от <strong>%d</strong> качен файл","%d of %d file uploaded_other":"<strong>%d</strong> от <strong>%d</strong> качен файл","Upload aborted":"Качването прекратено","Upload finished":"Качването завършено","Abort upload":"Прекрати качването","Close upload dialog":"Затвори прозореца за качване","Open upload dialog":"Отвори прозорец за качване","Open details":"Отвори детайли","Close details":"Затвори детайли","Internal server error.":"Вътрешна сървърна грешка.","Unauthorized operation.":"Неоторизирана операция.","Forbidden operation.":"Забранена операция.","Category not found.":"Категорията не е намерена.","An unexpected application error has occurred.":"Възникна неочаквана грешка в приложението.","Unexpected error.":"Неочаквана грешка.","Asset not found.":"Организационната категория не е намерена.","Unknown error.":"Неизвестна грешка.","Validation failed.":"Неуспешно потвърждение.","Resource not found.":"Източникът не е намерен.","%d h_one":"%d ч.","%d h_other":"%d ч.","%d min_one":"%d мин.","%d min_other":"%d мин.","%d s_one":"%d сек.","%d s_other":"%d сек.",Next:"Следващ",Previous:"Предишен"}}();
|