Skip to content

Updating Subscription Handling Branch #1181

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 70 commits into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
bcbc6c1
syntax corrected
MenamAfzal Jul 30, 2024
8fd052a
scrollbar added
MenamAfzal Jul 30, 2024
ec73757
vertical and horizontal scrollbar
MenamAfzal Jul 31, 2024
69ddd0a
translation added
MenamAfzal Jul 31, 2024
9f8d867
scrollbar added to container
MenamAfzal Jul 31, 2024
1acf904
tabbed container scrollbar
MenamAfzal Jul 31, 2024
1c4812b
horizontal row
MenamAfzal Aug 1, 2024
4d3fd58
condition changed
MenamAfzal Aug 1, 2024
abc37df
translation changed
MenamAfzal Aug 1, 2024
a5f5919
pull from origin
MenamAfzal Aug 1, 2024
b6e32d6
vertical scrollbar in shapes
MenamAfzal Aug 1, 2024
7a52366
consoles removed
MenamAfzal Sep 9, 2024
55f5546
latest changes
MenamAfzal Sep 9, 2024
e1dca91
pull from origin dev
MenamAfzal Sep 9, 2024
bccd088
removed duplicate code
MenamAfzal Sep 9, 2024
b7c6e8e
tabbed container issue resolved
MenamAfzal Sep 14, 2024
be24fe3
Merge pull request #1137 from lowcoder-org/subscription-handling
FalkWolsky Sep 15, 2024
7153da0
Fixed Language Files en Import
Sep 15, 2024
702d9ae
feat: Bump helm k8s autoscaling api version to v2
dokdo2013 Sep 16, 2024
9cbbd78
Merge branch 'dev' into feat/helm-hpa-api-update
dokdo2013 Sep 16, 2024
e88c25e
minor tweaks
MenamAfzal Sep 16, 2024
8ce9b72
Fix error while dsl == null
goldants Sep 16, 2024
b2634fc
lowcoder-comps backward compatibility fix
raheeliftikhar5 Sep 16, 2024
87037da
Merge pull request #1165 from dokdo2013/feat/helm-hpa-api-update
FalkWolsky Sep 16, 2024
e21c722
fix lowcoder-comps
raheeliftikhar5 Sep 16, 2024
bd579b6
Fix error that erased app content when update.
goldants Sep 16, 2024
dc87672
Fix error while dsl == null
goldants Sep 16, 2024
715ff05
Fix error that erased app content when update.
goldants Sep 16, 2024
853ac34
final tweaks
MenamAfzal Sep 17, 2024
1170d69
pull from dev
MenamAfzal Sep 17, 2024
bd11687
Merge pull request #1080 from MenamAfzal/fix/table-styles
FalkWolsky Sep 17, 2024
aa47da2
add lastEditedAt to the response of edit endpoint.
goldants Sep 17, 2024
7ca6172
fix js query to mark ready for itself as dependency
raheeliftikhar5 Sep 17, 2024
a4b0fae
De-Branding in forget-password eMail Template
Sep 17, 2024
f70f7a1
remove debounce from rich text editor onChange event to avoid cursor …
raheeliftikhar5 Sep 17, 2024
88339bb
fix lastEditedAt issue
dragonpoo Sep 18, 2024
88992dc
Merge pull request #1168 from lowcoder-org/fix/lastEditedAt
FalkWolsky Sep 18, 2024
ad41427
fix for white screen after login/register
raheeliftikhar5 Sep 18, 2024
0d2bf6a
Introducing Supabase as included JavaScript Object
Sep 18, 2024
891be31
set editingUserId, lastEditedAt on put endpoint,
goldants Sep 18, 2024
531c053
Merge pull request #1167 from lowcoder-org/js-query-dependencies-fix
FalkWolsky Sep 18, 2024
c40a038
Merge pull request #1169 from lowcoder-org/feature/editlock
FalkWolsky Sep 18, 2024
f80d8bc
Visual Control for concurrent App Edit
Sep 9, 2024
4ac37a8
Visual Control for concurrent App Edit 2
Sep 9, 2024
8470a42
Block editing if someone else is editing the app
raheeliftikhar5 Sep 16, 2024
737c25c
logic to block editing if someone else is editing
raheeliftikhar5 Sep 18, 2024
ee46fb7
fix overwriting issue on lastEditedAt
goldants Sep 19, 2024
19b7048
Merge pull request #1170 from lowcoder-org/feature/editlock
FalkWolsky Sep 19, 2024
5f6c18f
added memoization in appEditor
raheeliftikhar5 Sep 19, 2024
a6f4bd4
logic to wait for editing enabled
raheeliftikhar5 Sep 19, 2024
750e6ca
SMTP Issue - class not found fixed
dragonpoo Sep 19, 2024
1d2b53d
added popover to show countdown and check editing status button
raheeliftikhar5 Sep 19, 2024
e969ee5
Merge branch 'dev' into concurrency-user-display
FalkWolsky Sep 19, 2024
10b5c35
Small Text Changes
Sep 19, 2024
975bcf8
Text Translations for App Editor concurency Display
Sep 20, 2024
21c7da7
Merge pull request #1175 from lowcoder-org/concurrency-user-display
FalkWolsky Sep 20, 2024
b294990
expose logout action
raheeliftikhar5 Sep 20, 2024
833c12d
Introducing Kanban Preview
Sep 21, 2024
bcecd5c
chore: add more logging into token refresh
ludomikula Sep 21, 2024
54cec7a
Merge pull request #1176 from lowcoder-org/dev
FalkWolsky Sep 21, 2024
3cf5037
Increasing Version
Sep 21, 2024
c3431d3
Merge pull request #1177 from lowcoder-org/dev
FalkWolsky Sep 21, 2024
17dd9f5
Adapting Versions
Sep 21, 2024
381555e
Adapting Versions for Node Service
Sep 21, 2024
3ab7a7e
Adapting Versions for Client
Sep 21, 2024
ed8ad4f
Merge pull request #1178 from lowcoder-org/dev
FalkWolsky Sep 21, 2024
703f283
Adapting Flow Domains
Sep 21, 2024
ff2b1e1
Merge pull request #1179 from lowcoder-org/dev
FalkWolsky Sep 21, 2024
43dea52
Fixing Folders View in Admin Area
Sep 21, 2024
8a9b88e
Merge pull request #1180 from lowcoder-org/dev
FalkWolsky Sep 21, 2024
File filter

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 @@ -17,3 +17,4 @@ application-dev-localhost.yaml
.vscode/launch.json
server/api-service/lowcoder-server/src/main/resources/application-local-dev.yaml
translations/locales/node_modules/
.vscode/settings.json
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"titleBar.activeBackground": "#3B431A",
"titleBar.activeForeground": "#F9FAF2"
},
"java.debug.settings.onBuildFailureProceed": true
"java.debug.settings.onBuildFailureProceed": true,
"java.configuration.updateBuildConfiguration": "automatic"
}
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lowcoder",
"description": "An all-in-one IDE to create internal or customer-facing apps. · Visual UI builder with 50+ built-in components",
"description": "A Visual App builder with 120+ built-in components. Create software applications (internal and customer-facing!) and Meeting/Collaboration tools for your Company and your Customers with minimal coding experience.",
"repository": "https://github.com/lowcoder-org/lowcoder",
"logo": "https://lowcoder.cloud/images/webclip.png",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion client/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.5
2.4.6
5 changes: 3 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lowcoder-root",
"version": "2.4.5",
"name": "lowcoder-frontend",
"version": "2.4.6",
"type": "module",
"private": true,
"workspaces": [
Expand Down Expand Up @@ -73,6 +73,7 @@
"dependencies": {
"@lottiefiles/react-lottie-player": "^3.5.3",
"@remixicon/react": "^4.1.1",
"@supabase/supabase-js": "^2.45.4",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/styled-components": "^5.1.34",
Expand Down
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.14",
"version": "2.4.16",
"type": "module",
"license": "MIT",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ let childrenMap: any = {
currentFreeView: dropdownControl(DefaultWithFreeViewOptions, "timeGridWeek"),
currentPremiumView: dropdownControl(DefaultWithPremiumViewOptions, "resourceTimelineDay"),
animationStyle: styleControl(AnimationStyle, 'animationStyle'),
modalStyle: styleControl(EventModalStyle),
};
// this should ensure backwards compatibility with older versions of the SDK
if (DragEventHandlerControl) {
Expand All @@ -105,6 +104,13 @@ if (DragEventHandlerControl) {
onDropEvent: DragEventHandlerControl,
}
}
if (EventModalStyle) {
childrenMap = {
...childrenMap,
modalStyle: styleControl(EventModalStyle),
}
}

let CalendarBasicComp = (function () {
return new UICompBuilder(childrenMap, (props: {
events: any;
Expand Down Expand Up @@ -795,9 +801,11 @@ let CalendarBasicComp = (function () {
{children.style.getPropertyView()}
</Section>
<Section name={sectionNames.animationStyle} hasTooltip={true}>{children.animationStyle.getPropertyView()}</Section>
<Section name={sectionNames.modalStyle}>
{children.modalStyle.getPropertyView()}
</Section>
{Boolean(children.modalStyle) && (
<Section name={sectionNames.modalStyle}>
{children.modalStyle.getPropertyView()}
</Section>
)}
</>
);
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ export const Event = styled.div<{


export const FormWrapper = styled(Form)<{
$modalStyle: EventModalStyleType
$modalStyle?: EventModalStyleType
}>`
.ant-form-item-label {
width: 125px;
Expand All @@ -789,11 +789,11 @@ export const FormWrapper = styled(Form)<{

// Setting style for input fields
.ant-input {
background-color: ${(props) => props.$modalStyle.labelBackground };
border-color: ${(props) => props.$modalStyle.border};
border-width: ${(props) => props.$modalStyle.borderWidth};
border-style: ${(props) => props.$modalStyle.borderStyle};
color: ${(props) => props.$modalStyle.text};
background-color: ${(props) => props.$modalStyle?.labelBackground };
border-color: ${(props) => props.$modalStyle?.border};
border-width: ${(props) => props.$modalStyle?.borderWidth};
border-style: ${(props) => props.$modalStyle?.borderStyle};
color: ${(props) => props.$modalStyle?.text};
}

`;
Expand Down
235 changes: 121 additions & 114 deletions client/packages/lowcoder-core/lib/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,120 +9,118 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau

var ___default = /*#__PURE__*/_interopDefaultLegacy(_);

/******************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */

// https://github.com/microsoft/tslib

var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};

function __extends(d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}

var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

function __rest(s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}

function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}

function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}

function __generator(thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
}

function __spreadArray(to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
}

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
/******************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */

var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};

function __extends(d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}

var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

function __rest(s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}

function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}

function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}

function __generator(thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
}

function __spreadArray(to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
}

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};

function isEqualArgs(args, cacheArgs, equals) {
Expand Down Expand Up @@ -1780,12 +1778,21 @@ var CodeNode = /** @class */ (function (_super) {
var isFetching_1 = false;
var ready_1 = true;
topDepends.forEach(function (paths, depend) {
var pathsArr = Array.from(paths);
var value = depend.evaluate(exposingNodes);
if ((options === null || options === void 0 ? void 0 : options.ignoreManualDepReadyStatus) &&
___default["default"].has(value, TRIGGER_TYPE_FIELD) &&
value.triggerType === "manual") {
return;
}
// if query is dependent on itself, mark as ready
if ((pathsArr === null || pathsArr === void 0 ? void 0 : pathsArr[0]) === (options === null || options === void 0 ? void 0 : options.queryName))
return;
// wait for lazy loaded comps to load before executing query on page load
if (!Object.keys(value).length && paths.size) {
isFetching_1 = true;
ready_1 = false;
}
if (___default["default"].has(value, IS_FETCHING_FIELD)) {
isFetching_1 = isFetching_1 || value.isFetching === true;
}
Expand Down
3 changes: 2 additions & 1 deletion client/packages/lowcoder-core/lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="react" />
import * as react from 'react';
import { ReactNode } from 'react';
import React, { ReactNode } from 'react';
import * as react_jsx_runtime from 'react/jsx-runtime';

type EvalMethods = Record<string, Record<string, Function>>;
Expand Down Expand Up @@ -32,6 +32,7 @@ type RecordOptionalNodeToValue<T> = {
};
interface FetchInfoOptions {
ignoreManualDepReadyStatus?: boolean;
queryName?: string;
}
/**
* the base structure for evaluate
Expand Down
Loading
Loading