Skip to content

Commit

Permalink
0.27.5 (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik authored Jan 5, 2025
2 parents 75a5de5 + 3c05dcd commit cc53b70
Show file tree
Hide file tree
Showing 19 changed files with 17,886 additions and 18,487 deletions.
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/api",
"version": "0.27.4",
"version": "0.27.5",
"author": "implerhq",
"license": "MIT",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion apps/queue-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/queue-manager",
"version": "0.27.4",
"version": "0.27.5",
"author": "implerhq",
"license": "MIT",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/web",
"version": "0.27.4",
"version": "0.27.5",
"author": "implerhq",
"license": "MIT",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion apps/widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/widget",
"version": "0.27.4",
"version": "0.27.5",
"author": "implerhq",
"license": "MIT",
"private": true,
Expand Down
8 changes: 4 additions & 4 deletions apps/widget/src/components/Common/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ interface TableProps {
onCheckAll?: (checked: boolean) => void;
onValueChange?: (row: number, prop: string, oldVal: any, newVal: any) => void;
onRowCheck?: (rowIndex: number, recordIndex: number, checked: boolean) => void;
disableCheckBox?: boolean;
hideCheckBox?: boolean;
}

export const Table = forwardRef<HotTableClass, TableProps>(
Expand All @@ -183,7 +183,7 @@ export const Table = forwardRef<HotTableClass, TableProps>(
headings,
columnDefs,
data,
disableCheckBox,
hideCheckBox,
beforePaste,
columnDescriptions,
allChecked,
Expand All @@ -193,8 +193,8 @@ export const Table = forwardRef<HotTableClass, TableProps>(
minSpareRows,
frozenColumns = 2,
onValueChange,
// Conditionally set selectEnabled based on disableCheckBox
selectEnabled = disableCheckBox === undefined ? true : !disableCheckBox,
// Conditionally set selectEnabled based on hideCheckBox
selectEnabled = hideCheckBox === undefined ? true : !hideCheckBox,
}: TableProps,
gridRef
) => {
Expand Down
12 changes: 6 additions & 6 deletions apps/widget/src/components/widget/Phases/Phase3/Phase3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ export function Phase3(props: IPhase3Props) {
isCompleteImportLoading,
setShowAllDataValidModal,
setShowDeleteConfirmModal,
disableFindAndReplaceButton,
disableDeleteButton,
disableCheckBox,
hideFindAndReplaceButton,
hideDeleteButton,
hideCheckBox,
} = usePhase3({ onNext: onNextClick });
const tableWrapperRef = useRef<HTMLDivElement>() as React.MutableRefObject<HTMLDivElement>;
const [tableWrapperDimensions, setTableWrapperDimentions] = useState({
Expand Down Expand Up @@ -117,11 +117,11 @@ export function Phase3(props: IPhase3Props) {
]}
/>
<Group spacing="xs">
{!disableFindAndReplaceButton && (
{!hideFindAndReplaceButton && (
<Button onClick={() => setShowFindReplaceModal(true)}>{texts.PHASE3.FIND_REPLACE}</Button>
)}

{!disableDeleteButton && (
{!hideDeleteButton && (
<Button
color="red"
disabled={!selectedRowsRef.current.size}
Expand Down Expand Up @@ -209,7 +209,7 @@ export function Phase3(props: IPhase3Props) {
columnDefs={columnDefs}
allChecked={allChecked}
columnDescriptions={columnDescriptions}
disableCheckBox={disableCheckBox}
hideCheckBox={hideCheckBox}
/>
</Stack>
<Pagination page={page} total={totalPages} onChange={onPageChange} />
Expand Down
10 changes: 5 additions & 5 deletions apps/widget/src/hooks/Phase3/usePhase3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function usePhase3({ onNext }: IUsePhase3Props) {
const newColumnDefs: HotItemSchema[] = [];
const newHeadings: string[] = [];

if (!config?.disableCheckBox) {
if (!config?.hideCheckBox) {
newHeadings.push('*');
updatedFrozenColumns++;
newColumnDefs.push({
Expand All @@ -79,7 +79,7 @@ export function usePhase3({ onNext }: IUsePhase3Props) {
});
}

if (!config?.disableSrNo) {
if (!config?.hideSrNo) {
newHeadings.push('Sr. No.');
updatedFrozenColumns++;
newColumnDefs.push({
Expand Down Expand Up @@ -304,8 +304,8 @@ export function usePhase3({ onNext }: IUsePhase3Props) {
totalRecords: uploadInfo.totalRecords ?? undefined,
invalidRecords: uploadInfo.invalidRecords ?? undefined,
refetchReviewData: () => refetchReviewData([page, type]),
disableFindAndReplaceButton: config?.disableFindAndReplaceButton,
disableDeleteButton: config?.disableDeleteButton,
disableCheckBox: config?.disableCheckBox,
hideFindAndReplaceButton: config?.hideFindAndReplaceButton,
hideDeleteButton: config?.hideDeleteButton,
hideCheckBox: config?.hideCheckBox,
};
}
10 changes: 5 additions & 5 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:

api:
privileged: true
image: "ghcr.io/implerhq/impler/api:0.27.4"
image: "ghcr.io/implerhq/impler/api:0.27.5"
depends_on:
- mongodb
- rabbitmq
Expand Down Expand Up @@ -53,7 +53,7 @@ services:
- impler

queue-manager:
image: "ghcr.io/implerhq/impler/queue-manager:0.27.4"
image: "ghcr.io/implerhq/impler/queue-manager:0.27.5"
depends_on:
- api
- rabbitmq
Expand All @@ -78,7 +78,7 @@ services:
- impler

widget:
image: "ghcr.io/implerhq/impler/widget:0.27.4"
image: "ghcr.io/implerhq/impler/widget:0.27.5"
depends_on:
- api
container_name: widget
Expand All @@ -95,7 +95,7 @@ services:
embed:
depends_on:
- widget
image: "ghcr.io/implerhq/impler/embed:0.27.4"
image: "ghcr.io/implerhq/impler/embed:0.27.5"
container_name: embed
environment:
WIDGET_URL: ${WIDGET_BASE_URL}
Expand All @@ -107,7 +107,7 @@ services:
web:
depends_on:
- api
image: "ghcr.io/implerhq/impler/web:0.27.4"
image: "ghcr.io/implerhq/impler/web:0.27.5"
container_name: web
environment:
NEXT_PUBLIC_API_BASE_URL: ${API_ROOT_URL}
Expand Down
8 changes: 2 additions & 6 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"npmClient": "pnpm",
"useNx": true,
"packages": [
"apps/*",
"libs/*",
"packages/*"
],
"version": "0.27.4"
"packages": ["apps/*", "libs/*", "packages/*"],
"version": "0.27.5"
}
2 changes: 1 addition & 1 deletion libs/dal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/dal",
"version": "0.27.4",
"version": "0.27.5",
"author": "implerhq",
"license": "MIT",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion libs/embed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/embed",
"version": "0.27.4",
"version": "0.27.5",
"private": true,
"license": "MIT",
"author": "implerhq",
Expand Down
2 changes: 1 addition & 1 deletion libs/services/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/services",
"version": "0.27.4",
"version": "0.27.5",
"description": "Reusable services to shared between backend api and queue-manager",
"license": "MIT",
"author": "implerhq",
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/shared",
"version": "0.27.4",
"version": "0.27.5",
"description": "Reusable types and classes to shared between apps and libraries",
"license": "MIT",
"author": "implerhq",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "impler.io",
"version": "0.27.3",
"version": "0.27.5",
"description": "Open source infrastructure to import data easily",
"packageManager": "[email protected]",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/angular",
"version": "0.27.4",
"version": "0.27.5",
"description": "Angular library to show CSV Excel Importer in angular applications",
"license": "MIT",
"author": "implerhq",
Expand Down Expand Up @@ -52,6 +52,6 @@
"typescript": "^4.4.4"
},
"dependencies": {
"@impler/client": "^0.27.4"
"@impler/client": "^0.27.5"
}
}
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/client",
"version": "0.27.4",
"version": "0.27.5",
"description": "API client to be used in end user environments",
"license": "MIT",
"author": "implerhq",
Expand Down
8 changes: 4 additions & 4 deletions packages/client/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ export type DeepPartial<T> = T extends object
export type ValueOf<T> = T[keyof T];

export declare type WidgetConfig = {
disableFindAndReplaceButton?: boolean;
disableDeleteButton?: boolean;
disableCheckBox?: boolean;
disableSrNo?: boolean;
hideFindAndReplaceButton?: boolean;
hideDeleteButton?: boolean;
hideCheckBox?: boolean;
hideSrNo?: boolean;
};

export type CustomTexts = DeepPartial<typeof WIDGET_TEXTS>;
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/react",
"version": "0.27.4",
"version": "0.27.5",
"description": "React library to show CSV Excel Importer in react applications",
"license": "MIT",
"author": "implerhq",
Expand Down Expand Up @@ -53,6 +53,6 @@
"typescript": "^4.4.4"
},
"dependencies": {
"@impler/client": "^0.27.4"
"@impler/client": "^0.27.5"
}
}
Loading

0 comments on commit cc53b70

Please sign in to comment.