albinasoft-ui-package 1.1.56 → 1.1.58
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/components/CustomFileUploader.d.ts +2 -0
- package/dist/components/CustomFileUploader.js +13 -13
- package/dist/components/CustomForm.d.ts +2 -0
- package/dist/components/CustomForm.js +6 -5
- package/dist/index.d.ts +24 -22
- package/dist/index.js +74 -43
- package/dist/types/notify.d.ts +6 -0
- package/dist/types/notify.js +8 -0
- package/package.json +2 -4
@@ -1,4 +1,5 @@
|
|
1
1
|
import React from "react";
|
2
|
+
import { Notify } from "../types/notify";
|
2
3
|
export declare enum AllowedTypes {
|
3
4
|
PDF = "pdf",
|
4
5
|
FILE = "file",
|
@@ -61,6 +62,7 @@ export interface CustomFileUploaderProps {
|
|
61
62
|
* Bu, yükleme işlemi başladığında ve bittiğinde çağrılabilir.
|
62
63
|
*/
|
63
64
|
onUploadingChange?: (uploading: boolean) => void;
|
65
|
+
onNotify?: Notify;
|
64
66
|
}
|
65
67
|
export type CustomFileUploaderHandle = {
|
66
68
|
/** Pending dosya varsa toast gösterir ve false döner. */
|
@@ -85,7 +85,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
85
85
|
exports.defaultTranslations = exports.AllowedTypes = void 0;
|
86
86
|
// CustomFileUploader.tsx
|
87
87
|
var react_1 = __importStar(require("react"));
|
88
|
-
var react_toastify_1 = require("react-toastify");
|
89
88
|
var fa_1 = require("react-icons/fa");
|
90
89
|
var CustomButton_1 = __importDefault(require("./CustomButton"));
|
91
90
|
// ====================
|
@@ -223,7 +222,7 @@ var isAllowedFileType = function (file, allowedType) {
|
|
223
222
|
// CustomFileUploader Bileşeni
|
224
223
|
// ====================
|
225
224
|
var CustomFileUploader = (0, react_1.forwardRef)(function (props, ref) {
|
226
|
-
var url = props.url, multi = props.multi, allowedTypes = props.allowedTypes, maxFile = props.maxFile, maxSize = props.maxSize, onUploadComplete = props.onUploadComplete, onRemoveUploaded = props.onRemoveUploaded, label = props.label, onPendingChange = props.onPendingChange, translations = props.translations, clearTrigger = props.clearTrigger, onUploadingChange = props.onUploadingChange;
|
225
|
+
var url = props.url, multi = props.multi, allowedTypes = props.allowedTypes, maxFile = props.maxFile, maxSize = props.maxSize, onUploadComplete = props.onUploadComplete, onRemoveUploaded = props.onRemoveUploaded, label = props.label, onPendingChange = props.onPendingChange, translations = props.translations, clearTrigger = props.clearTrigger, onUploadingChange = props.onUploadingChange, onNotify = props.onNotify;
|
227
226
|
// Varsayılan çeviri metinlerini, gelen prop ile birleştiriyoruz.
|
228
227
|
var finalTranslations = __assign(__assign({}, exports.defaultTranslations), translations);
|
229
228
|
var _a = (0, react_1.useState)([]), previews = _a[0], setPreviews = _a[1];
|
@@ -233,12 +232,12 @@ var CustomFileUploader = (0, react_1.forwardRef)(function (props, ref) {
|
|
233
232
|
validateReady: function () {
|
234
233
|
var hasPending = previews.some(function (p) { return !p.uploaded; });
|
235
234
|
if (hasPending) {
|
236
|
-
|
235
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.warning(finalTranslations.pendingBeforeSubmitWarning || exports.defaultTranslations.pendingBeforeSubmitWarning);
|
237
236
|
return false;
|
238
237
|
}
|
239
238
|
return true;
|
240
239
|
}
|
241
|
-
}); }, [previews, finalTranslations]);
|
240
|
+
}); }, [previews, finalTranslations, onNotify]);
|
242
241
|
// CustomFileUploader.tsx içinde component’in üst kısmına, diğer handler’ların yanına ekleyin:
|
243
242
|
var handleClearAll = function () {
|
244
243
|
previews.forEach(function (item) {
|
@@ -280,22 +279,22 @@ var CustomFileUploader = (0, react_1.forwardRef)(function (props, ref) {
|
|
280
279
|
var currentCount = multi ? previews.length : (previews.length > 0 ? 1 : 0);
|
281
280
|
var availableSlots = multi ? maxFile - currentCount : (currentCount === 0 ? 1 : 0);
|
282
281
|
if (availableSlots <= 0) {
|
283
|
-
|
282
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.warning(finalTranslations.uploadWarningLimit);
|
284
283
|
return;
|
285
284
|
}
|
286
285
|
var filesToAdd = filesArray.slice(0, availableSlots);
|
287
286
|
if (filesArray.length > availableSlots) {
|
288
|
-
|
287
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.warning(finalTranslations.uploadWarningExceed + availableSlots);
|
289
288
|
}
|
290
289
|
var newPreviews = [];
|
291
290
|
filesToAdd.forEach(function (file, index) {
|
292
291
|
if (file.size > maxSize) {
|
293
292
|
// Dosya adını eklemek için file.name'i dışarıda ekliyoruz.
|
294
|
-
|
293
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.error(file.name + " " + finalTranslations.fileSizeError);
|
295
294
|
return;
|
296
295
|
}
|
297
296
|
if (!isAllowedFileType(file, allowedTypes)) {
|
298
|
-
|
297
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.error(file.name + " " + finalTranslations.fileTypeError);
|
299
298
|
return;
|
300
299
|
}
|
301
300
|
var isImg = allowedTypes === AllowedTypes.IMAGE || (allowedTypes === AllowedTypes.VISUAL && isImageFile(file));
|
@@ -357,7 +356,8 @@ var CustomFileUploader = (0, react_1.forwardRef)(function (props, ref) {
|
|
357
356
|
onUploadingChange === null || onUploadingChange === void 0 ? void 0 : onUploadingChange(true);
|
358
357
|
filesToUpload = previews.filter(function (item) { return !item.uploaded; }).map(function (item) { return item.file; });
|
359
358
|
if (filesToUpload.length === 0) {
|
360
|
-
|
359
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.warning(finalTranslations.noFileSelectedWarning);
|
360
|
+
onUploadingChange === null || onUploadingChange === void 0 ? void 0 : onUploadingChange(false);
|
361
361
|
return [2 /*return*/];
|
362
362
|
}
|
363
363
|
// Yüklenmeye başlayan dosyaları işaretle
|
@@ -401,23 +401,23 @@ var CustomFileUploader = (0, react_1.forwardRef)(function (props, ref) {
|
|
401
401
|
updatePendingStatus(updatedPreviews);
|
402
402
|
return updatedPreviews;
|
403
403
|
});
|
404
|
-
|
404
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.success(finalTranslations.uploadSuccessToast);
|
405
405
|
}
|
406
406
|
else {
|
407
|
-
|
407
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.error(finalTranslations.uploadErrorToast);
|
408
408
|
}
|
409
409
|
return [3 /*break*/, 6];
|
410
410
|
case 4: return [4 /*yield*/, response.json()];
|
411
411
|
case 5:
|
412
412
|
errorData = _a.sent();
|
413
413
|
console.error("API Hatası:", errorData);
|
414
|
-
|
414
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.error(finalTranslations.uploadErrorToast);
|
415
415
|
_a.label = 6;
|
416
416
|
case 6: return [3 /*break*/, 9];
|
417
417
|
case 7:
|
418
418
|
error_1 = _a.sent();
|
419
419
|
console.error("API çağrısında hata:", error_1);
|
420
|
-
|
420
|
+
onNotify === null || onNotify === void 0 ? void 0 : onNotify.error(finalTranslations.uploadErrorToast);
|
421
421
|
return [3 /*break*/, 9];
|
422
422
|
case 8:
|
423
423
|
onUploadingChange === null || onUploadingChange === void 0 ? void 0 : onUploadingChange(false);
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import React from "react";
|
2
|
+
import { Notify } from "../types/notify";
|
2
3
|
import { TreeNode } from "./CustomTreeView";
|
3
4
|
import { AllowedTypes, FileUploaderTranslations } from "./CustomFileUploader";
|
4
5
|
declare enum ElementType {
|
@@ -220,6 +221,7 @@ interface CustomFormProps {
|
|
220
221
|
showConfirmButton?: boolean;
|
221
222
|
showCancelButton?: boolean;
|
222
223
|
fileUploaderCheck?: () => boolean;
|
224
|
+
onNotify?: Notify;
|
223
225
|
}
|
224
226
|
declare const CustomForm: React.FC<CustomFormProps>;
|
225
227
|
export { CustomForm, ElementType };
|
@@ -76,7 +76,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
76
76
|
exports.ElementType = exports.CustomForm = void 0;
|
77
77
|
//CustomForm.tsx
|
78
78
|
var react_1 = __importStar(require("react"));
|
79
|
-
var
|
79
|
+
var notify_1 = require("../types/notify");
|
80
80
|
var CustomButton_1 = __importDefault(require("./CustomButton"));
|
81
81
|
var CustomInput_1 = __importDefault(require("./CustomInput"));
|
82
82
|
var CustomTextarea_1 = __importDefault(require("./CustomTextarea"));
|
@@ -118,7 +118,8 @@ var CustomForm = function (_a) {
|
|
118
118
|
handleCancel = _a.handleCancel, _d = _a.showConfirmButton, showConfirmButton = _d === void 0 ? true : _d, // Varsayılan olarak görünür
|
119
119
|
_e = _a.showCancelButton, // Varsayılan olarak görünür
|
120
120
|
showCancelButton = _e === void 0 ? false : _e, // Varsayılan olarak görünür
|
121
|
-
fileUploaderCheck = _a.fileUploaderCheck;
|
121
|
+
fileUploaderCheck = _a.fileUploaderCheck, onNotify = _a.onNotify;
|
122
|
+
var notify = onNotify !== null && onNotify !== void 0 ? onNotify : notify_1.noopNotify;
|
122
123
|
var formRef = (0, react_1.useRef)(null);
|
123
124
|
var _f = (0, react_1.useState)(false), isLoading = _f[0], setIsLoading = _f[1];
|
124
125
|
var _g = (0, react_1.useState)(false), submitted = _g[0], setSubmitted = _g[1];
|
@@ -222,14 +223,14 @@ var CustomForm = function (_a) {
|
|
222
223
|
return [3 /*break*/, 5];
|
223
224
|
case 3:
|
224
225
|
error_1 = _b.sent();
|
225
|
-
|
226
|
+
notify.error("Form gönderimi sırasında bir hata oluştu.");
|
226
227
|
return [3 /*break*/, 5];
|
227
228
|
case 4:
|
228
229
|
setIsLoading(false);
|
229
230
|
return [7 /*endfinally*/];
|
230
231
|
case 5: return [3 /*break*/, 7];
|
231
232
|
case 6:
|
232
|
-
|
233
|
+
notify.error("Gerekli tüm alanları doldurunuz.");
|
233
234
|
form.classList.add("was-validated");
|
234
235
|
_b.label = 7;
|
235
236
|
case 7: return [2 /*return*/];
|
@@ -264,7 +265,7 @@ var CustomForm = function (_a) {
|
|
264
265
|
} }))) : element.type === ElementType.DATETIMEPICKER ? (react_1.default.createElement(CustomDateTimePicker_1.default, __assign({}, element, { submitted: submitted }))) : element.type === ElementType.DIVIDER ? (react_1.default.createElement(CustomDivider_1.default, __assign({}, element))) : element.type === ElementType.RICHTEXTBOX ? (react_1.default.createElement(CustomRichTextbox_1.default, __assign({}, element))) : element.type === ElementType.TREEVIEW ? (react_1.default.createElement(CustomTreeView_1.default, __assign({}, element, { submitted: submitted }))) : element.type === ElementType.BUTTON ? (react_1.default.createElement(CustomButton_1.default, __assign({}, element, { isLoading: isLoading }))) : element.type === ElementType.AUTOCOMPLETEINPUT ? (react_1.default.createElement(CustomAutocompleteInput_1.default, __assign({}, element))) : element.type === ElementType.PHONE ? (react_1.default.createElement(CustomPhoneInput_1.default, __assign({}, element))) : element.type === ElementType.FILEUPLOADER ? (
|
265
266
|
// FILEUPLOADER elemanı için CustomFileUploader'ı render ediyoruz
|
266
267
|
react_1.default.createElement(react_1.default.Fragment, null,
|
267
|
-
react_1.default.createElement(CustomFileUploader_1.default, { ref: getUploaderRefCb(element.id), url: element.url, multi: element.multi, allowedTypes: element.allowedTypes, maxFile: element.maxFile, maxSize: element.maxSize, onUploadComplete: element.onUploadComplete, onRemoveUploaded: element.onRemoveUploaded, onPendingChange: element.onPendingChange, clearTrigger: element.clearTrigger, label: element.label, translations: element.translations, onUploadingChange: setIsUploading }))) : null)); })));
|
268
|
+
react_1.default.createElement(CustomFileUploader_1.default, { ref: getUploaderRefCb(element.id), url: element.url, multi: element.multi, allowedTypes: element.allowedTypes, maxFile: element.maxFile, maxSize: element.maxSize, onUploadComplete: element.onUploadComplete, onRemoveUploaded: element.onRemoveUploaded, onPendingChange: element.onPendingChange, clearTrigger: element.clearTrigger, label: element.label, translations: element.translations, onUploadingChange: setIsUploading, onNotify: onNotify }))) : null)); })));
|
268
269
|
})));
|
269
270
|
})));
|
270
271
|
}),
|
package/dist/index.d.ts
CHANGED
@@ -1,22 +1,24 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
export {
|
1
|
+
export { default as AlbinaForm } from './components/AlbinaForm';
|
2
|
+
export { default as CustomAutocompleteInput } from './components/CustomAutocompleteInput';
|
3
|
+
export { default as CustomButton } from './components/CustomButton';
|
4
|
+
export { default as CustomCheckbox } from './components/CustomCheckbox';
|
5
|
+
export { default as CustomInput, InputType } from './components/CustomInput';
|
6
|
+
export { default as CustomTextarea } from './components/CustomTextarea';
|
7
|
+
export { default as CustomPhoneInput } from './components/CustomPhoneInput';
|
8
|
+
export { default as CustomRadioButton } from './components/CustomRadioButton';
|
9
|
+
export { default as CustomSelect } from './components/CustomSelect';
|
10
|
+
export { default as CustomSimpleSelect } from './components/CustomSimpleSelect';
|
11
|
+
export { default as CustomTreeView, type CustomTreeViewProps, type TreeNode } from './components/CustomTreeView';
|
12
|
+
export { default as CustomDateTimePicker, TimeFormat } from './components/CustomDateTimePicker';
|
13
|
+
export { default as CustomText, TextType, TextAlign, FontSize, LineHeight, FontWeight, Color as TextColor, } from './components/CustomText';
|
14
|
+
export { default as CustomDivider, Color as DividerColor, // alias to avoid collision with TextColor
|
15
|
+
Alignment as DividerAlignment, Thickness as DividerThickness, Width as DividerWidth, } from './components/CustomDivider';
|
16
|
+
export { default as CustomModal } from './components/CustomModal';
|
17
|
+
export { default as CustomDatatable, type ColDef, } from './components/CustomDatatable';
|
18
|
+
export { default as CustomFileUploader, AllowedTypes, type FileUploaderTranslations, defaultTranslations, type CustomFileUploaderProps, type CustomFileUploaderHandle, } from './components/CustomFileUploader';
|
19
|
+
export { default as CustomRichTextbox } from './components/CustomRichTextbox';
|
20
|
+
export { default as CustomProgressBar } from './components/CustomProgressBar';
|
21
|
+
export { default as CustomTab, AlignTabs, TabSize, type TabItem, type CustomTabProps, } from './components/CustomTab';
|
22
|
+
export { default as CustomTimeline, DotColor, type AdditionalInfo, type TimelineElement, } from './components/CustomTimeline';
|
23
|
+
export { default as CustomForm, ElementType } from './components/CustomForm';
|
24
|
+
export type { Notify, noopNotify } from './types/notify';
|
package/dist/index.js
CHANGED
@@ -1,48 +1,79 @@
|
|
1
1
|
"use strict";
|
2
|
+
// src/index.ts
|
2
3
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
4
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
5
|
};
|
5
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
var
|
12
|
-
exports
|
13
|
-
var
|
14
|
-
exports
|
15
|
-
var
|
16
|
-
exports
|
17
|
-
var
|
18
|
-
exports
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
var
|
28
|
-
exports
|
29
|
-
var
|
30
|
-
exports
|
31
|
-
var
|
32
|
-
exports
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
exports
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
exports
|
41
|
-
|
42
|
-
exports
|
43
|
-
|
44
|
-
exports
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
exports
|
7
|
+
exports.ElementType = exports.CustomForm = exports.DotColor = exports.CustomTimeline = exports.TabSize = exports.AlignTabs = exports.CustomTab = exports.CustomProgressBar = exports.CustomRichTextbox = exports.defaultTranslations = exports.AllowedTypes = exports.CustomFileUploader = exports.CustomDatatable = exports.CustomModal = exports.DividerWidth = exports.DividerThickness = exports.DividerAlignment = exports.DividerColor = exports.CustomDivider = exports.TextColor = exports.FontWeight = exports.LineHeight = exports.FontSize = exports.TextAlign = exports.TextType = exports.CustomText = exports.TimeFormat = exports.CustomDateTimePicker = exports.CustomTreeView = exports.CustomSimpleSelect = exports.CustomSelect = exports.CustomRadioButton = exports.CustomPhoneInput = exports.CustomTextarea = exports.InputType = exports.CustomInput = exports.CustomCheckbox = exports.CustomButton = exports.CustomAutocompleteInput = exports.AlbinaForm = void 0;
|
8
|
+
// Form / Albina
|
9
|
+
var AlbinaForm_1 = require("./components/AlbinaForm");
|
10
|
+
Object.defineProperty(exports, "AlbinaForm", { enumerable: true, get: function () { return __importDefault(AlbinaForm_1).default; } });
|
11
|
+
// Inputs
|
12
|
+
var CustomAutocompleteInput_1 = require("./components/CustomAutocompleteInput");
|
13
|
+
Object.defineProperty(exports, "CustomAutocompleteInput", { enumerable: true, get: function () { return __importDefault(CustomAutocompleteInput_1).default; } });
|
14
|
+
var CustomButton_1 = require("./components/CustomButton");
|
15
|
+
Object.defineProperty(exports, "CustomButton", { enumerable: true, get: function () { return __importDefault(CustomButton_1).default; } });
|
16
|
+
var CustomCheckbox_1 = require("./components/CustomCheckbox");
|
17
|
+
Object.defineProperty(exports, "CustomCheckbox", { enumerable: true, get: function () { return __importDefault(CustomCheckbox_1).default; } });
|
18
|
+
var CustomInput_1 = require("./components/CustomInput");
|
19
|
+
Object.defineProperty(exports, "CustomInput", { enumerable: true, get: function () { return __importDefault(CustomInput_1).default; } });
|
20
|
+
Object.defineProperty(exports, "InputType", { enumerable: true, get: function () { return CustomInput_1.InputType; } });
|
21
|
+
var CustomTextarea_1 = require("./components/CustomTextarea");
|
22
|
+
Object.defineProperty(exports, "CustomTextarea", { enumerable: true, get: function () { return __importDefault(CustomTextarea_1).default; } });
|
23
|
+
var CustomPhoneInput_1 = require("./components/CustomPhoneInput");
|
24
|
+
Object.defineProperty(exports, "CustomPhoneInput", { enumerable: true, get: function () { return __importDefault(CustomPhoneInput_1).default; } });
|
25
|
+
var CustomRadioButton_1 = require("./components/CustomRadioButton");
|
26
|
+
Object.defineProperty(exports, "CustomRadioButton", { enumerable: true, get: function () { return __importDefault(CustomRadioButton_1).default; } });
|
27
|
+
// Selects / Tree
|
28
|
+
var CustomSelect_1 = require("./components/CustomSelect");
|
29
|
+
Object.defineProperty(exports, "CustomSelect", { enumerable: true, get: function () { return __importDefault(CustomSelect_1).default; } });
|
30
|
+
var CustomSimpleSelect_1 = require("./components/CustomSimpleSelect");
|
31
|
+
Object.defineProperty(exports, "CustomSimpleSelect", { enumerable: true, get: function () { return __importDefault(CustomSimpleSelect_1).default; } });
|
32
|
+
var CustomTreeView_1 = require("./components/CustomTreeView");
|
33
|
+
Object.defineProperty(exports, "CustomTreeView", { enumerable: true, get: function () { return __importDefault(CustomTreeView_1).default; } });
|
34
|
+
// Date & Time
|
35
|
+
var CustomDateTimePicker_1 = require("./components/CustomDateTimePicker");
|
36
|
+
Object.defineProperty(exports, "CustomDateTimePicker", { enumerable: true, get: function () { return __importDefault(CustomDateTimePicker_1).default; } });
|
37
|
+
Object.defineProperty(exports, "TimeFormat", { enumerable: true, get: function () { return CustomDateTimePicker_1.TimeFormat; } });
|
38
|
+
// Layout / Text / Visual
|
39
|
+
var CustomText_1 = require("./components/CustomText");
|
40
|
+
Object.defineProperty(exports, "CustomText", { enumerable: true, get: function () { return __importDefault(CustomText_1).default; } });
|
41
|
+
Object.defineProperty(exports, "TextType", { enumerable: true, get: function () { return CustomText_1.TextType; } });
|
42
|
+
Object.defineProperty(exports, "TextAlign", { enumerable: true, get: function () { return CustomText_1.TextAlign; } });
|
43
|
+
Object.defineProperty(exports, "FontSize", { enumerable: true, get: function () { return CustomText_1.FontSize; } });
|
44
|
+
Object.defineProperty(exports, "LineHeight", { enumerable: true, get: function () { return CustomText_1.LineHeight; } });
|
45
|
+
Object.defineProperty(exports, "FontWeight", { enumerable: true, get: function () { return CustomText_1.FontWeight; } });
|
46
|
+
Object.defineProperty(exports, "TextColor", { enumerable: true, get: function () { return CustomText_1.Color; } });
|
47
|
+
var CustomDivider_1 = require("./components/CustomDivider");
|
48
|
+
Object.defineProperty(exports, "CustomDivider", { enumerable: true, get: function () { return __importDefault(CustomDivider_1).default; } });
|
49
|
+
Object.defineProperty(exports, "DividerColor", { enumerable: true, get: function () { return CustomDivider_1.Color; } });
|
50
|
+
Object.defineProperty(exports, "DividerAlignment", { enumerable: true, get: function () { return CustomDivider_1.Alignment; } });
|
51
|
+
Object.defineProperty(exports, "DividerThickness", { enumerable: true, get: function () { return CustomDivider_1.Thickness; } });
|
52
|
+
Object.defineProperty(exports, "DividerWidth", { enumerable: true, get: function () { return CustomDivider_1.Width; } });
|
53
|
+
var CustomModal_1 = require("./components/CustomModal");
|
54
|
+
Object.defineProperty(exports, "CustomModal", { enumerable: true, get: function () { return __importDefault(CustomModal_1).default; } });
|
55
|
+
// Data
|
56
|
+
var CustomDatatable_1 = require("./components/CustomDatatable");
|
57
|
+
Object.defineProperty(exports, "CustomDatatable", { enumerable: true, get: function () { return __importDefault(CustomDatatable_1).default; } });
|
58
|
+
// Files
|
59
|
+
var CustomFileUploader_1 = require("./components/CustomFileUploader");
|
60
|
+
Object.defineProperty(exports, "CustomFileUploader", { enumerable: true, get: function () { return __importDefault(CustomFileUploader_1).default; } });
|
61
|
+
Object.defineProperty(exports, "AllowedTypes", { enumerable: true, get: function () { return CustomFileUploader_1.AllowedTypes; } });
|
62
|
+
Object.defineProperty(exports, "defaultTranslations", { enumerable: true, get: function () { return CustomFileUploader_1.defaultTranslations; } });
|
63
|
+
// Rich Text
|
64
|
+
var CustomRichTextbox_1 = require("./components/CustomRichTextbox");
|
65
|
+
Object.defineProperty(exports, "CustomRichTextbox", { enumerable: true, get: function () { return __importDefault(CustomRichTextbox_1).default; } });
|
66
|
+
// Progress / Tabs / Timeline
|
67
|
+
var CustomProgressBar_1 = require("./components/CustomProgressBar");
|
68
|
+
Object.defineProperty(exports, "CustomProgressBar", { enumerable: true, get: function () { return __importDefault(CustomProgressBar_1).default; } });
|
69
|
+
var CustomTab_1 = require("./components/CustomTab");
|
70
|
+
Object.defineProperty(exports, "CustomTab", { enumerable: true, get: function () { return __importDefault(CustomTab_1).default; } });
|
71
|
+
Object.defineProperty(exports, "AlignTabs", { enumerable: true, get: function () { return CustomTab_1.AlignTabs; } });
|
72
|
+
Object.defineProperty(exports, "TabSize", { enumerable: true, get: function () { return CustomTab_1.TabSize; } });
|
73
|
+
var CustomTimeline_1 = require("./components/CustomTimeline");
|
74
|
+
Object.defineProperty(exports, "CustomTimeline", { enumerable: true, get: function () { return __importDefault(CustomTimeline_1).default; } });
|
75
|
+
Object.defineProperty(exports, "DotColor", { enumerable: true, get: function () { return CustomTimeline_1.DotColor; } });
|
76
|
+
// Form Orchestrator (barrel + named like before)
|
77
|
+
var CustomForm_1 = require("./components/CustomForm");
|
78
|
+
Object.defineProperty(exports, "CustomForm", { enumerable: true, get: function () { return __importDefault(CustomForm_1).default; } });
|
79
|
+
Object.defineProperty(exports, "ElementType", { enumerable: true, get: function () { return CustomForm_1.ElementType; } });
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "albinasoft-ui-package",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.58",
|
4
4
|
"main": "dist/index.js",
|
5
5
|
"types": "dist/index.d.ts",
|
6
6
|
"scripts": {
|
@@ -25,7 +25,6 @@
|
|
25
25
|
"devDependencies": {
|
26
26
|
"react": "^18.0.0",
|
27
27
|
"react-dom": "^18.0.0",
|
28
|
-
"react-toastify": "^10.0.6",
|
29
28
|
"@types/react": "^19.0.1",
|
30
29
|
"@types/react-bootstrap": "^0.32.37",
|
31
30
|
"@types/react-input-mask": "^3.0.6",
|
@@ -34,8 +33,7 @@
|
|
34
33
|
},
|
35
34
|
"peerDependencies": {
|
36
35
|
"react": "^18.0.0",
|
37
|
-
"react-dom": "^18.0.0"
|
38
|
-
"react-toastify": "^10.0.0"
|
36
|
+
"react-dom": "^18.0.0"
|
39
37
|
},
|
40
38
|
"files": [
|
41
39
|
"dist"
|