@asaleh37/ui-base 1.2.21 → 1.2.23
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/.env +0 -4
- package/dist/index.d.ts +56 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/administration/admin/PersonGrid.tsx +1 -2
- package/src/components/common/Home.tsx +10 -2
- package/src/components/templates/index.ts +7 -0
- package/src/main.tsx +1 -1
package/.env
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -417,6 +417,61 @@ declare const TemplateForm: react__default.FC<TemplateFormProps>;
|
|
|
417
417
|
|
|
418
418
|
declare const TemplateGrid: react__default.FC<TemplateGridProps>;
|
|
419
419
|
|
|
420
|
+
type attachment = {
|
|
421
|
+
attachmentCode: string;
|
|
422
|
+
setAttachmentConfig: (props: any) => void;
|
|
423
|
+
id: number;
|
|
424
|
+
attachmentConfigId: number;
|
|
425
|
+
attachmentSize: number;
|
|
426
|
+
category: string;
|
|
427
|
+
docType: string;
|
|
428
|
+
fileName: string;
|
|
429
|
+
refKey: string;
|
|
430
|
+
remark: string;
|
|
431
|
+
};
|
|
432
|
+
declare const AttachmentCard: React.FC<attachment>;
|
|
433
|
+
|
|
434
|
+
type AttachmentImageViewerProps = {
|
|
435
|
+
attachmentId?: number;
|
|
436
|
+
attachmentCode?: string;
|
|
437
|
+
refKey?: string;
|
|
438
|
+
category?: string;
|
|
439
|
+
showAsAvatar?: boolean;
|
|
440
|
+
};
|
|
441
|
+
declare const AttachmentImageViewer: React.FC<AttachmentImageViewerProps>;
|
|
442
|
+
|
|
443
|
+
type AttachmentPanelProps = {
|
|
444
|
+
attachmentCode: string;
|
|
445
|
+
enableAttachment?: boolean;
|
|
446
|
+
refKey: string;
|
|
447
|
+
};
|
|
448
|
+
declare const AttachmentPanel: React.FC<AttachmentPanelProps>;
|
|
449
|
+
|
|
450
|
+
type WorkflowDocumentPanelProps = {
|
|
451
|
+
workFlowDocumentCode: string;
|
|
452
|
+
refDocumentId: any;
|
|
453
|
+
postActionCallBk?: () => void;
|
|
454
|
+
cancelActionCallBk?: () => void;
|
|
455
|
+
};
|
|
456
|
+
type workflowDocumentActionHistory = {
|
|
457
|
+
id: number;
|
|
458
|
+
actionTime: string;
|
|
459
|
+
actionMethod: string;
|
|
460
|
+
actionComment: string;
|
|
461
|
+
documentActionArName: string;
|
|
462
|
+
documentActionEnName: string;
|
|
463
|
+
employeeArName: string;
|
|
464
|
+
employeeEnName: string;
|
|
465
|
+
};
|
|
466
|
+
declare const WorkflowDocumentPanel: React.FC<WorkflowDocumentPanelProps>;
|
|
467
|
+
|
|
468
|
+
type WorkflowDocumentTimeLineProp = {
|
|
469
|
+
actionHistory: Array<workflowDocumentActionHistory>;
|
|
470
|
+
};
|
|
471
|
+
declare const WorkflowDocumentTimeLine: React.FC<WorkflowDocumentTimeLineProp>;
|
|
472
|
+
|
|
473
|
+
declare const WorkflowRouteComponent: React.FC;
|
|
474
|
+
|
|
420
475
|
interface APIRequest {
|
|
421
476
|
endPointURI: string;
|
|
422
477
|
parameters?: any;
|
|
@@ -501,5 +556,5 @@ declare const LIGHT_THEME_INITIAL_SECANDARY_COLOR = "#ff6d00";
|
|
|
501
556
|
declare const DARK_THEME_INITIAL_MAIN_COLOR = "#ea690e";
|
|
502
557
|
declare const DARK_THEME_INITIAL_SECANDARY_COLOR = "#74776B";
|
|
503
558
|
|
|
504
|
-
export { BaseApp, CheckBox, ComboBox, DARK_THEME_INITIAL_MAIN_COLOR, DARK_THEME_INITIAL_SECANDARY_COLOR, DATE_FORMAT, DATE_TIME_FORMAT, Datefield, DatetimeField, LIGHT_THEME_INITIAL_MAIN_COLOR, LIGHT_THEME_INITIAL_SECANDARY_COLOR, TemplateBarChart, TemplateDataCard, TemplateForm, TemplateGauge, TemplateGrid, TemplateLineChart, TemplateLineProgress, TemplatePieChart, TemplateTextField, TransferList, capitalizeFirstLetter, hasDigitsOnly, isNumber, isNumeric, isValidEmail, timeAgo, useApiActions, useAxios, useConfirmationWindow, useIsMobile, useLoadingMask, useSession, useWindow };
|
|
559
|
+
export { AttachmentCard, AttachmentImageViewer, AttachmentPanel, BaseApp, CheckBox, ComboBox, DARK_THEME_INITIAL_MAIN_COLOR, DARK_THEME_INITIAL_SECANDARY_COLOR, DATE_FORMAT, DATE_TIME_FORMAT, Datefield, DatetimeField, LIGHT_THEME_INITIAL_MAIN_COLOR, LIGHT_THEME_INITIAL_SECANDARY_COLOR, TemplateBarChart, TemplateDataCard, TemplateForm, TemplateGauge, TemplateGrid, TemplateLineChart, TemplateLineProgress, TemplatePieChart, TemplateTextField, TransferList, WorkflowDocumentPanel, WorkflowDocumentTimeLine, WorkflowRouteComponent, capitalizeFirstLetter, hasDigitsOnly, isNumber, isNumeric, isValidEmail, timeAgo, useApiActions, useAxios, useConfirmationWindow, useIsMobile, useLoadingMask, useSession, useWindow };
|
|
505
560
|
export type { EditDeleteAction, ExtendedTreeItemProps, FormActionProps, FormElementFieldProps, FormElementGroupProps, FormElementNodeProps, FormElementProps, FormElementSize, MakeOptional, ModalFormProps, RecordAction, RecordFieldProps, SystemRoute, TemplateFormProps, TemplateGridAttachmentProps, TemplateGridColDef, TemplateGridColumnProps, TemplateGridProps, TemplateGridTopBarProps, TransferListProps };
|