@asaleh37/ui-base 1.2.22 → 1.2.24
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 +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/templates/attachment/AttachmentPanel.tsx +2 -2
- package/src/components/templates/index.ts +7 -0
- package/src/main.tsx +1 -1
package/package.json
CHANGED
|
@@ -163,8 +163,7 @@ const PersonGrid: React.FC = () => {
|
|
|
163
163
|
<OrganizationMemberGrid selectedPerson={selectedPerson} />
|
|
164
164
|
</OrganizationMembersWindow>
|
|
165
165
|
<TemplateGrid
|
|
166
|
-
attachment={{ attachmentCode: "
|
|
167
|
-
workFlowDocumentCode="DOC"
|
|
166
|
+
attachment={{ attachmentCode: "EMPLOYEE_PHOTOS" }}
|
|
168
167
|
apiActions={apiActions}
|
|
169
168
|
data={data}
|
|
170
169
|
setData={setData}
|
|
@@ -144,7 +144,7 @@ const AttachmentPanel: React.FC<AttachmentPanelProps> = (props) => {
|
|
|
144
144
|
!isUserAuthorized(attachmentConfig?.downloadAuthorityKey)
|
|
145
145
|
) {
|
|
146
146
|
showAttachments = false;
|
|
147
|
-
}
|
|
147
|
+
}
|
|
148
148
|
let allowUpload = true;
|
|
149
149
|
if (props?.enableAttachment === false) {
|
|
150
150
|
allowUpload = false;
|
|
@@ -172,7 +172,7 @@ const AttachmentPanel: React.FC<AttachmentPanelProps> = (props) => {
|
|
|
172
172
|
<>
|
|
173
173
|
{attachmentConfig?.maxAllowedNumberOfFiles === undefined ||
|
|
174
174
|
attachmentConfig?.maxAllowedNumberOfFiles === null ||
|
|
175
|
-
attachmentConfig?.maxAllowedNumberOfFiles
|
|
175
|
+
attachmentConfig?.maxAllowedNumberOfFiles >
|
|
176
176
|
attachmentConfig.refKeyAttachments.length ? (
|
|
177
177
|
<>
|
|
178
178
|
<h3>
|
|
@@ -12,6 +12,13 @@ export { default as DatetimeField } from "./DataEntryTemplates/TemplateDataForm/
|
|
|
12
12
|
export { default as TemplateTextField } from "./DataEntryTemplates/TemplateDataForm/FormFields/TemplateTextField";
|
|
13
13
|
export { default as TemplateForm } from "./DataEntryTemplates/TemplateDataForm/TemplateForm";
|
|
14
14
|
export { default as TemplateGrid } from "./DataEntryTemplates/TemplateDataGrid/TemplateGrid";
|
|
15
|
+
export { default as AttachmentCard } from "./attachment/AttachmentCard";
|
|
16
|
+
export { default as AttachmentImageViewer } from "./attachment/AttachmentImageViewer";
|
|
17
|
+
export { default as AttachmentPanel } from "./attachment/AttachmentPanel";
|
|
18
|
+
export { default as WorkflowDocumentPanel } from "./workflow/WorkflowDocumentPanel";
|
|
19
|
+
export { default as WorkflowDocumentTimeLine } from "./workflow/WorkflowDocumentTimeLine";
|
|
20
|
+
export { default as WorkflowRouteComponent } from "./workflow/WorkflowRouteComponent";
|
|
21
|
+
|
|
15
22
|
|
|
16
23
|
export type * from "./DataEntryTemplates/DataEntryTypes";
|
|
17
24
|
export type { TransferListProps } from "./TransferList";
|
package/src/main.tsx
CHANGED
|
@@ -5,7 +5,7 @@ import { BaseApp } from "./components";
|
|
|
5
5
|
|
|
6
6
|
createRoot(document.getElementById("root")!).render(
|
|
7
7
|
<BaseApp
|
|
8
|
-
apiBaseUrl="http://localhost:8080/
|
|
8
|
+
apiBaseUrl="http://localhost:8080/demo"
|
|
9
9
|
appLogo={"/public/logo.png"}
|
|
10
10
|
appName="UI Base Library"
|
|
11
11
|
appVersion="0.0"
|