Skip to content

Dev > Main for v2.5.1 #1375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 121 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
52c81cf
Increase Heap Size
dragonpoo Nov 20, 2024
3a443bb
Merge pull request #1323 from lowcoder-org/fix/heapsize
FalkWolsky Nov 20, 2024
24ba4bd
convert snapshot migration to use aggregation pipeline
dragonpoo Nov 20, 2024
0c5c344
delete after copying records
dragonpoo Nov 20, 2024
1eca3af
different migration based on mongo version.
dragonpoo Nov 20, 2024
dc98eb3
Merge pull request #1324 from lowcoder-org/fix/migration
FalkWolsky Nov 20, 2024
b605907
modify to use aggregate
dragonpoo Nov 21, 2024
f7a6179
modify snapshot task logic to move from normal collection to timeseri…
dragonpoo Nov 21, 2024
138ebd8
swap ts and normal collection in api endpoint
dragonpoo Nov 22, 2024
a28b90f
application snapshot history count logic fix
dragonpoo Nov 22, 2024
311bae7
page number start from 1
dragonpoo Nov 22, 2024
570e35c
#1284 Fixed duplicate key error for currentUser endpoint when logging…
dragonpoo Nov 22, 2024
d6d7a88
fix test compile issue
dragonpoo Nov 22, 2024
a740d0f
Added tree structure basically.
Imiss-U1025 Nov 19, 2024
69c7415
Added Movefolder in redux.
Imiss-U1025 Nov 21, 2024
b6e07d5
Made be possible Drag and Drop in extension.
Imiss-U1025 Nov 21, 2024
63534ca
Added removing module.
Imiss-U1025 Nov 21, 2024
c8daa8d
Added removing folder.
Imiss-U1025 Nov 22, 2024
39dbd40
Added Renaming folders.
Imiss-U1025 Nov 22, 2024
521370f
Added removing modules
Imiss-U1025 Nov 22, 2024
fdc0145
Fixed UI.
Imiss-U1025 Nov 22, 2024
ff55d93
Fxied ability to module drag and drop in right panel.
Imiss-U1025 Nov 22, 2024
4e4e906
Fixed an issue where subApplications are hidden when rename a folder.
Imiss-U1025 Nov 22, 2024
ab549e4
Merge pull request #1334 from lowcoder-org/feature-extension
FalkWolsky Nov 22, 2024
4871649
Fixed an issue miss loading-indicator.
Imiss-U1025 Nov 23, 2024
9e5a05f
Excluding local definition for EE
Nov 23, 2024
297ae81
Fixed folder or content title overflow in module panel and applied it…
Imiss-U1025 Nov 23, 2024
8cc5a1d
Merge pull request #1336 from lowcoder-org/feature-loading-indicator
FalkWolsky Nov 23, 2024
133e048
Merge branch 'dev' into feature-extension
FalkWolsky Nov 23, 2024
5aa2969
Merge pull request #1339 from lowcoder-org/feature-extension
FalkWolsky Nov 23, 2024
895e184
Fixed enterprise login issue for newcomers
dragonpoo Nov 26, 2024
837fa89
change default page num to 1
dragonpoo Nov 26, 2024
91215b2
fix default value
dragonpoo Nov 26, 2024
29689c8
Fixed pagination start value
dragonpoo Nov 27, 2024
3cf31b6
Fix total count in group list endpoint
dragonpoo Nov 27, 2024
35b044a
fix: add null check to table row selection
Nangelov7 Nov 27, 2024
28a7f2b
Show recent and archived snapshots for app
raheeliftikhar5 Nov 20, 2024
18be56b
#1322: Fix object comparing using Objects.equals()
dragonpoo Nov 27, 2024
e2a9ad0
Merge branch 'dev' into fix/table-row-selection
FalkWolsky Nov 27, 2024
6bf8b1c
Merge pull request #1346 from nangelov-eti/fix/table-row-selection
FalkWolsky Nov 27, 2024
d12d09d
Merge pull request #1344 from lowcoder-org/fix/pagination
FalkWolsky Nov 27, 2024
6827626
Merge pull request #1326 from lowcoder-org/archived_snapshots
FalkWolsky Nov 27, 2024
7a67082
Starting with APITemplate Plugin
Nov 27, 2024
4bd0db5
Add fallback to npm repo config when anonymous user
dragonpoo Nov 27, 2024
bb7fe20
fixed loading indicator
raheeliftikhar5 Nov 27, 2024
bfe7a4c
total count fix for organization member
dragonpoo Nov 28, 2024
067ebb5
support custom image preview soruce
chuntungho Nov 28, 2024
f22e381
Merge pull request #1352 from lowcoder-org/fix/pagination
FalkWolsky Nov 28, 2024
f136074
Merge branch 'dev' into feature/image-preview-source
FalkWolsky Nov 28, 2024
3c88b80
Merge pull request #1353 from chuntungho/feature/image-preview-source
FalkWolsky Nov 28, 2024
edea409
Updating Translation for ImageZoom
Nov 28, 2024
e6415d2
Fix issues with search for application and folder list
dragonpoo Nov 28, 2024
c504c7a
fix: return from authorization error
ludomikula Nov 28, 2024
3a7fe83
fix: plugin endpoint invocation
ludomikula Nov 28, 2024
98d1f18
Fixed null pointer exception when there is streamApi query library ty…
dragonpoo Nov 29, 2024
b9d9716
Merge branch 'dev' into fix/app_search
FalkWolsky Nov 29, 2024
905e616
Merge pull request #1354 from lowcoder-org/fix/app_search
FalkWolsky Nov 29, 2024
e3febbd
Merge pull request #1357 from lowcoder-org/fix/querylibrary
FalkWolsky Nov 29, 2024
9616377
Bump lowcoder-sdk from 0.0.41 to 2.4.16 in /server/node-service
dependabot[bot] Dec 1, 2024
5987c18
upgrade sdk version to publish
raheeliftikhar5 Dec 2, 2024
16d8e1a
Added pagination ui
Imiss-U1025 Nov 14, 2024
b6d8a1b
Removed Your Folder Component
Imiss-U1025 Nov 26, 2024
efa56c3
Added utilities for pagination.
Imiss-U1025 Nov 26, 2024
a602426
Implemented pagination in Your App.
Imiss-U1025 Nov 26, 2024
fd62105
Implemented pagination in trash.
Imiss-U1025 Nov 27, 2024
3d9f56d
Imported types from util/pagination
Imiss-U1025 Nov 27, 2024
fa580fb
Added utilities for pagination.
Imiss-U1025 Nov 27, 2024
7bc6eb6
Implemented pagination in User Group List.
Imiss-U1025 Nov 27, 2024
41927a3
Implemented pagination in Data Sources.
Imiss-U1025 Nov 27, 2024
f2140e4
Implemented pagination in groupUsersPermission.
Imiss-U1025 Nov 27, 2024
8c82fd1
Implemented pagination in organizations's member.
Imiss-U1025 Nov 28, 2024
d65c2d5
Implemented pagination in Query Library and made fetchJsDatasourcePag…
Imiss-U1025 Nov 28, 2024
cce98cd
Implemented pagination in login.
Imiss-U1025 Nov 28, 2024
e2c1efc
Implemented realtime processing of create new folder in HomeView.
Imiss-U1025 Nov 28, 2024
3ce6469
Change search method in query library.
Imiss-U1025 Nov 28, 2024
a0a6fa1
Changed search method in Data Sources.
Imiss-U1025 Nov 28, 2024
b27f13f
Changed search method in marketplace.
Imiss-U1025 Nov 28, 2024
f51f681
Processed immediate activity in TrashView.
Imiss-U1025 Nov 29, 2024
cfe991d
Processed immediate activity in Your Apps.
Imiss-U1025 Nov 29, 2024
add7083
Processed immediate activity in Setting/UserGroup.
Imiss-U1025 Nov 29, 2024
a65c737
Added back button in your apps.
Imiss-U1025 Nov 29, 2024
1d41e80
Processed immediate activity in Query Library.
Imiss-U1025 Nov 29, 2024
4e1e0c0
Processed immediate activity in Data Sources.
Imiss-U1025 Nov 29, 2024
90648dc
Removed unnessary APIs.
Imiss-U1025 Nov 29, 2024
b332980
Fixed Search functions.
Imiss-U1025 Nov 29, 2024
34ce989
Fixed pagination of folders and UI.
Imiss-U1025 Nov 29, 2024
071e0ab
Fixed an issue that can not search Navigation.
Imiss-U1025 Nov 29, 2024
24469a3
Fixed loading indicator in setting/permission.
Imiss-U1025 Dec 1, 2024
56ff238
Fixed an issue that does not display 'Add member' button and 'Remove …
Imiss-U1025 Dec 2, 2024
346760c
Optimized called APIs and in User groups.
Imiss-U1025 Dec 2, 2024
3d75c3a
Fixed an issue that call double API in login.
Imiss-U1025 Dec 3, 2024
ffd2889
Does not show Pagination when No data in Data Source.
Imiss-U1025 Dec 3, 2024
32b3c3b
Implemented update-on-action when import file and create new Data Sou…
Imiss-U1025 Dec 3, 2024
3bbf61b
remove lazyloading from common components
raheeliftikhar5 Dec 3, 2024
bed5f55
Removed unnessary API calling (folders/elements) when first loading.
Imiss-U1025 Dec 3, 2024
6f9b821
Updating Yarn Lock
Dec 3, 2024
326d27e
Fixed an issue that app does not move to folder.
Imiss-U1025 Dec 3, 2024
9fcd924
Added categories dropdown button in Your apps.
Imiss-U1025 Dec 3, 2024
8886606
Fixed an Navigation issue in Trash and Your Apps.
Imiss-U1025 Dec 4, 2024
62c5dec
expose inserted,updated and deleted events + added startTime,endTime …
raheeliftikhar5 Dec 2, 2024
3d1e09e
update data on events drag/drop
raheeliftikhar5 Dec 2, 2024
3a00b21
fix drag/drop event triggers
raheeliftikhar5 Dec 4, 2024
691a168
Add search by category feature
dragonpoo Dec 4, 2024
45f27a4
fix category search
dragonpoo Dec 4, 2024
b06d729
Merge pull request #1370 from lowcoder-org/remove_lazyload_common_comps
FalkWolsky Dec 4, 2024
0ec2a69
Merge branch 'dev' into calendar-updates
FalkWolsky Dec 4, 2024
3b89a88
Merge pull request #1369 from lowcoder-org/calendar-updates
FalkWolsky Dec 4, 2024
38ef370
Merge branch 'dev' into dependabot/npm_and_yarn/server/node-service/d…
FalkWolsky Dec 4, 2024
8af5754
Merge pull request #1368 from lowcoder-org/dependabot/npm_and_yarn/se…
FalkWolsky Dec 4, 2024
0364857
Merge branch 'dev' into feature-pagination
FalkWolsky Dec 4, 2024
6aced74
Merge pull request #1351 from lowcoder-org/feature-pagination
FalkWolsky Dec 4, 2024
edcd490
Updating Version Numbers for Release 2.5.1
Dec 4, 2024
2f9d892
Updating Node-Service
Dec 4, 2024
692d6fd
Updating Lowcoder-Comps Version
Dec 4, 2024
3defa5c
Fix issues where orgid was ignored while searching.
dragonpoo Dec 4, 2024
2bb87ac
Added Category filter.
Imiss-U1025 Dec 4, 2024
50e2198
Fixed Category filter.
Imiss-U1025 Dec 4, 2024
a147cb8
Fixed an axios request parameter(category).
Imiss-U1025 Dec 4, 2024
a7ff39c
Does not display Folder type in folder.
Imiss-U1025 Dec 4, 2024
8354a3a
Fixed an issue that update-on-action would not work when creating folder
Imiss-U1025 Dec 4, 2024
18e2917
Merge pull request #1374 from lowcoder-org/feature-pagination
FalkWolsky Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ application-dev-localhost.yaml
server/api-service/lowcoder-server/src/main/resources/application-local-dev.yaml
translations/locales/node_modules/
.vscode/settings.json
server/api-service/lowcoder-server/src/main/resources/application-local-dev-ee.yaml
2 changes: 1 addition & 1 deletion client/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.0
2.5.1
2 changes: 1 addition & 1 deletion client/packages/lowcoder-comps/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lowcoder-comps",
"version": "2.4.19",
"version": "2.5.1",
"type": "module",
"license": "MIT",
"dependencies": {
Expand Down
209 changes: 175 additions & 34 deletions client/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { default as Form } from "antd/es/form";
import { default as Input } from "antd/es/input";
import { default as ColorPicker } from "antd/es/color-picker";
import { default as Switch } from "antd/es/switch";
import { trans, getCalendarLocale } from "../../i18n/comps";
import { createRef, useContext, useRef, useState, useEffect, useCallback, useMemo, Suspense } from "react";
import dayjs from "dayjs";
Expand All @@ -11,14 +12,15 @@ import adaptivePlugin from "@fullcalendar/adaptive";
import dayGridPlugin from "@fullcalendar/daygrid";
import multiMonthPlugin from '@fullcalendar/multimonth';
import timeGridPlugin from "@fullcalendar/timegrid";
import interactionPlugin from "@fullcalendar/interaction";
import interactionPlugin, { EventResizeDoneArg } from "@fullcalendar/interaction";
import listPlugin from "@fullcalendar/list";
import allLocales from "@fullcalendar/core/locales-all";
import { EventContentArg, DateSelectArg } from "@fullcalendar/core";
import { EventContentArg, DateSelectArg, EventDropArg } from "@fullcalendar/core";
import momentPlugin from "@fullcalendar/moment";

import ErrorBoundary from "./errorBoundary";
import { default as Tabs } from "antd/es/tabs";
import { differenceBy, differenceWith, isEqual, filter, includes } from "lodash";

import {
isValidColor,
Expand Down Expand Up @@ -54,6 +56,8 @@ import {
migrateOldData,
controlItem,
depsConfig,
stateComp,
JSONObject,
} from 'lowcoder-sdk';

import {
Expand All @@ -79,6 +83,7 @@ import {
resourceTimeGridHeaderToolbar,
} from "./calendarConstants";
import { EventOptionControl } from "./eventOptionsControl";
import { EventImpl } from "@fullcalendar/core/internal";

function fixOldData(oldData: any) {
if(!Boolean(oldData)) return;
Expand Down Expand Up @@ -196,6 +201,10 @@ let childrenMap: any = {
currentPremiumView: dropdownControl(DefaultWithPremiumViewOptions, "resourceTimelineDay"),
animationStyle: styleControl(AnimationStyle, 'animationStyle'),
showVerticalScrollbar: withDefault(BoolControl, false),
initialData: stateComp<JSONObject>({}),
updatedEvents: stateComp<JSONObject>({}),
insertedEvents: stateComp<JSONObject>({}),
deletedEvents: stateComp<JSONObject>({}),
};

// this should ensure backwards compatibility with older versions of the SDK
Expand Down Expand Up @@ -233,8 +242,9 @@ let CalendarBasicComp = (function () {
currentFreeView?: string;
currentPremiumView?: string;
animationStyle?:any;
modalStyle?:any
showVerticalScrollbar?:boolean
modalStyle?:any;
showVerticalScrollbar?:boolean;
initialData: Array<EventType>;
}, dispatch: any) => {
const comp = useContext(EditorContext)?.getUICompByName(
useContext(CompNameContext)
Expand All @@ -243,11 +253,13 @@ let CalendarBasicComp = (function () {
const theme = useContext(ThemeContext);
const ref = createRef<HTMLDivElement>();
const editEvent = useRef<EventType>();
const initData = useRef<boolean>(false);
const [form] = Form.useForm();
const [left, setLeft] = useState<number | undefined>(undefined);
const [licensed, setLicensed] = useState<boolean>(props.licenseKey !== "");
const [currentSlotLabelFormat, setCurrentSlotLabelFormat] = useState(slotLabelFormat);

const [initDataMap, setInitDataMap] = useState<Record<string, number>>({});

useEffect(() => {
setLicensed(props.licenseKey !== "");
}, [props.licenseKey]);
Expand Down Expand Up @@ -290,27 +302,53 @@ let CalendarBasicComp = (function () {
start: dayjs(item.start, DateParser).format(),
end: dayjs(item.end, DateParser).format(),
allDay: item.allDay,
resourceId: item.resourceId ? item.resourceId : null,
groupId: item.groupId ? item.groupId : null,
...(item.resourceId ? { resourceId: item.resourceId } : {}),
...(item.groupId ? { groupId: item.groupId } : {}),
backgroundColor: item.backgroundColor,
extendedProps: {
color: isValidColor(item.color || "") ? item.color : theme?.theme?.primary,
...(item.groupId ? { groupId: item.groupId } : {}), // Ensure color is in extendedProps
detail: item.detail,
titleColor:item.titleColor,
detailColor:item.detailColor,
titleFontWeight:item.titleFontWeight,
titleFontStyle:item.titleFontStyle,
detailFontWeight:item.detailFontWeight,
detailFontStyle:item.detailFontStyle,
animation:item?.animation,
animationDelay:item?.animationDelay,
animationDuration:item?.animationDuration,
animationIterationCount:item?.animationIterationCount
}}
extendedProps: { // Ensure color is in extendedProps
color: isValidColor(item.color || "") ? item.color : theme?.theme?.primary,
detail: item.detail,
titleColor:item.titleColor,
detailColor:item.detailColor,
titleFontWeight:item.titleFontWeight,
titleFontStyle:item.titleFontStyle,
detailFontWeight:item.detailFontWeight,
detailFontStyle:item.detailFontStyle,
animation:item?.animation,
animationDelay:item?.animationDelay,
animationDuration:item?.animationDuration,
animationIterationCount:item?.animationIterationCount
}
}
}) : [currentEvents];
}, [currentEvents, theme])

useEffect(() => {
const mapData: Record<string, number> = {};
events?.forEach((item: any, index: number) => {
mapData[`${item.id}`] = index;
})

if (initData.current) {
const difference = differenceWith(events, props.initialData, isEqual);
const inserted = differenceBy(difference, Object.keys(initDataMap)?.map(id => ({ id })), 'id')
const updated = filter(difference, obj => includes(Object.keys(initDataMap), String(obj.id)));
const deleted = differenceBy(props.initialData, Object.keys(mapData)?.map(id => ({ id })), 'id')

comp.children?.comp.children?.updatedEvents.dispatchChangeValueAction(updated);
comp.children?.comp.children?.insertedEvents.dispatchChangeValueAction(inserted);
comp.children?.comp.children?.deletedEvents.dispatchChangeValueAction(deleted);
}

if (!initData.current && events?.length && comp?.children?.comp?.children?.initialData) {
setInitDataMap(mapData);
comp?.children?.comp?.children?.initialData?.dispatch?.(
comp?.children?.comp?.children?.initialData?.changeValueAction?.([...events])
);
initData.current = true;
}
}, [JSON.stringify(events), comp?.children?.comp?.children?.initialData]);

const resources = useMemo(() => props.resources.value, [props.resources.value]);

// list all plugins for Fullcalendar
Expand Down Expand Up @@ -370,12 +408,12 @@ let CalendarBasicComp = (function () {
}, [slotLabelFormat, slotLabelFormatWeek, slotLabelFormatMonth]);

const handleEventDataChange = useCallback((data: Array<Record<string,any>>) => {
comp.children?.comp.children.events.children.manual.children.manual.dispatch(
comp.children?.comp.children.events.children.manual.children.manual.setChildrensAction(
comp?.children?.comp.children.events.children.manual.children.manual.dispatch(
comp?.children?.comp.children.events.children.manual.children.manual.setChildrensAction(
data
)
);
comp.children?.comp.children.events.children.mapData.children.data.dispatchChangeValueAction(
comp?.children?.comp.children.events.children.mapData.children.data.dispatchChangeValueAction(
JSON.stringify(data)
);
props.onEvent("change");
Expand Down Expand Up @@ -506,6 +544,24 @@ let CalendarBasicComp = (function () {
>
<Input />
</Form.Item>
<Form.Item
label={trans("calendar.eventStartTime")}
name="start"
>
<Input />
</Form.Item>
<Form.Item
label={trans("calendar.eventEndTime")}
name="end"
>
<Input />
</Form.Item>
<Form.Item
label={trans("calendar.eventAllDay")}
name="allDay"
>
<Switch />
</Form.Item>
</FormWrapper>
</Tabs.TabPane>
<Tabs.TabPane tab={trans("calendar.colorStyles")} key="2">
Expand Down Expand Up @@ -768,12 +824,35 @@ let CalendarBasicComp = (function () {
showModal(event, false);
}, [editEvent, showModal]);

const handleDrop = useCallback(() => {
const updateEventsOnDragOrResize = useCallback((eventInfo: EventImpl) => {
const {extendedProps, title, ...event} = eventInfo.toJSON();

let eventsList = [...props.events];
const eventIdx = eventsList.findIndex(
(item: EventType) => item.id === event.id
);
if (eventIdx > -1) {
eventsList[eventIdx] = {
label: title,
...event,
...extendedProps,
};
handleEventDataChange(eventsList);
}
}, [props.events, handleEventDataChange]);

const handleDrop = useCallback((eventInfo: EventDropArg) => {
updateEventsOnDragOrResize(eventInfo.event);

if (typeof props.onDropEvent === 'function') {
props.onDropEvent("dropEvent");
props.onDropEvent("drop");
}
}, [props.onDropEvent]);

}, [props.onDropEvent, updateEventsOnDragOrResize]);

const handleResize = useCallback((eventInfo: EventResizeDoneArg) => {
updateEventsOnDragOrResize(eventInfo.event);
}, [props.onDropEvent, updateEventsOnDragOrResize]);

return (
<Wrapper
ref={ref}
Expand All @@ -790,7 +869,7 @@ let CalendarBasicComp = (function () {
slotEventOverlap={false}
events={ events }
dayHeaders={true}
dayHeaderFormat={{ weekday: 'short', month: 'numeric', day: 'numeric', omitCommas: true }}
// dayHeaderFormat={{ weekday: 'short', month: 'numeric', day: 'numeric', omitCommas: true }}
expandRows={true}
multiMonthMinWidth={250}
nowIndicator={true}
Expand Down Expand Up @@ -880,11 +959,13 @@ let CalendarBasicComp = (function () {
props.onEvent("change");
}
}}
eventDragStop={(info) => {
if (info.view) {
handleDrop();
eventDragStart={() => {
if (typeof props.onDropEvent === 'function') {
props.onDropEvent("drag");
}
}}
eventDrop={handleDrop}
eventResize={handleResize}
/>
</ErrorBoundary>
</Wrapper>
Expand Down Expand Up @@ -1007,6 +1088,30 @@ const TmpCalendarComp = withExposingConfigs(CalendarBasicComp, [
return input.events.filter(event => Boolean(event.resourceId));
},
}),
depsConfig({
name: "toUpdatedEvents",
desc: trans("calendar.updatedEvents"),
depKeys: ["updatedEvents"],
func: (input: { updatedEvents: any[]; }) => {
return input.updatedEvents;
},
}),
depsConfig({
name: "toInsertedEvents",
desc: trans("calendar.insertedEvents"),
depKeys: ["insertedEvents"],
func: (input: { insertedEvents: any[]; }) => {
return input.insertedEvents;
},
}),
depsConfig({
name: "toDeletedEvents",
desc: trans("calendar.deletedEvents"),
depKeys: ["deletedEvents"],
func: (input: { deletedEvents: any[]; }) => {
return input.deletedEvents;
},
}),
]);

let CalendarComp = withMethodExposing(TmpCalendarComp, [
Expand Down Expand Up @@ -1124,7 +1229,43 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
const viewKey = comp.children.licenseKey.getView() === "" ? 'defaultFreeView' : 'defaultPremiumView';
comp.children["viewKey"].dispatchChangeValueAction("multiMonthYear");
}
}
},
{
method: {
name: "clearUpdatedEvents",
detail: "Clear updated events list",
params: [],
},
execute: (comp) => {
comp?.children?.updatedEvents.dispatch(
comp?.children?.updatedEvents.changeValueAction([])
);
}
},
{
method: {
name: "clearInsertedEvents",
detail: "Clear inserted events list",
params: [],
},
execute: (comp) => {
comp?.children?.insertedEvents.dispatch(
comp?.children?.insertedEvents.changeValueAction([])
);
}
},
{
method: {
name: "clearDeletedEvents",
detail: "Clear deleted events list",
params: [],
},
execute: (comp) => {
comp?.children?.deletedEvents.dispatch(
comp?.children?.deletedEvents.changeValueAction([])
);
}
},
]);


Expand Down
3 changes: 3 additions & 0 deletions client/packages/lowcoder-comps/src/i18n/comps/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ export const en = {
resourcesDefault: "Rooms",
resourcesName: "Resource Name",
resourcesEvents : "Resources Events Data",
deletedEvents : "List of deleted events",
updatedEvents : "List of updated events",
insertedEvents : "List of inserted events",
editable: "Editable",
license: "Licence Key",
licenseTooltip: "Get your licence key from https://fullcalendar.io/purchase to enable premium views like Resource Timeline and Resource Grid.",
Expand Down
Loading
Loading