codesaaz-core 0.3.2 → 0.3.4
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/codesaaz.es.js +114 -95
- package/dist/codesaaz.umd.js +28 -28
- package/package.json +1 -1
package/dist/codesaaz.es.js
CHANGED
|
@@ -20505,7 +20505,7 @@ const vw = { class: "w-full" }, Es = {
|
|
|
20505
20505
|
]);
|
|
20506
20506
|
};
|
|
20507
20507
|
}
|
|
20508
|
-
},
|
|
20508
|
+
}, hx = /* @__PURE__ */ qo("currentUser", {
|
|
20509
20509
|
state: () => ({
|
|
20510
20510
|
user: {}
|
|
20511
20511
|
}),
|
|
@@ -25848,7 +25848,7 @@ var ax = Os(Os({}, Ew), {}, {
|
|
|
25848
25848
|
ripple: Tk
|
|
25849
25849
|
}
|
|
25850
25850
|
});
|
|
25851
|
-
function
|
|
25851
|
+
function bx() {
|
|
25852
25852
|
const { layoutState: e, layoutConfig: t, setMenuMode: n, isDarkTheme: o } = ww(), r = { Aura: ax };
|
|
25853
25853
|
E(Object.keys(r));
|
|
25854
25854
|
const a = E(t.preset);
|
|
@@ -26006,33 +26006,35 @@ function hx() {
|
|
|
26006
26006
|
onPresetChange: p
|
|
26007
26007
|
};
|
|
26008
26008
|
}
|
|
26009
|
-
function
|
|
26009
|
+
function yx() {
|
|
26010
26010
|
const e = new bt();
|
|
26011
26011
|
return { getEntityRecord: async (n, o, r = !1) => {
|
|
26012
26012
|
try {
|
|
26013
26013
|
const a = await e.getRecord(n, o, r);
|
|
26014
|
-
if (a
|
|
26015
|
-
|
|
26016
|
-
} catch (a) {
|
|
26014
|
+
if ((a == null ? void 0 : a.success) === !1)
|
|
26015
|
+
throw a;
|
|
26017
26016
|
return a;
|
|
26017
|
+
} catch (a) {
|
|
26018
|
+
throw a;
|
|
26018
26019
|
} finally {
|
|
26019
26020
|
}
|
|
26020
26021
|
} };
|
|
26021
26022
|
}
|
|
26022
|
-
function
|
|
26023
|
+
function vx() {
|
|
26023
26024
|
const e = new bt();
|
|
26024
26025
|
return { getAllEntityRecords: async (n, o = !1) => {
|
|
26025
26026
|
try {
|
|
26026
26027
|
const r = await e.getEntityRecords(n, o);
|
|
26027
|
-
if (r
|
|
26028
|
-
|
|
26029
|
-
} catch (r) {
|
|
26028
|
+
if ((r == null ? void 0 : r.success) === !1)
|
|
26029
|
+
throw r;
|
|
26030
26030
|
return r;
|
|
26031
|
+
} catch {
|
|
26032
|
+
throw error;
|
|
26031
26033
|
} finally {
|
|
26032
26034
|
}
|
|
26033
26035
|
} };
|
|
26034
26036
|
}
|
|
26035
|
-
function
|
|
26037
|
+
function wx() {
|
|
26036
26038
|
const e = new bt();
|
|
26037
26039
|
return { addEntityRecord: async (n, o, r = !1) => {
|
|
26038
26040
|
const a = {
|
|
@@ -26043,41 +26045,94 @@ function vx() {
|
|
|
26043
26045
|
};
|
|
26044
26046
|
try {
|
|
26045
26047
|
const i = await e.addRecord(n, a, r);
|
|
26046
|
-
if (i
|
|
26047
|
-
|
|
26048
|
-
} catch (i) {
|
|
26048
|
+
if ((i == null ? void 0 : i.success) === !1)
|
|
26049
|
+
throw i;
|
|
26049
26050
|
return i;
|
|
26050
|
-
}
|
|
26051
|
+
} catch (i) {
|
|
26052
|
+
throw i;
|
|
26051
26053
|
}
|
|
26052
26054
|
} };
|
|
26053
26055
|
}
|
|
26054
|
-
function
|
|
26056
|
+
function kx() {
|
|
26055
26057
|
const e = new bt();
|
|
26056
26058
|
return { deleteEntityRecord: async (n, o, r = !1) => {
|
|
26057
26059
|
try {
|
|
26058
26060
|
const a = await e.deleteRecord(n, o, r);
|
|
26059
|
-
if (a
|
|
26060
|
-
|
|
26061
|
-
} catch (a) {
|
|
26061
|
+
if ((a == null ? void 0 : a.success) === !1)
|
|
26062
|
+
throw a;
|
|
26062
26063
|
return a;
|
|
26064
|
+
} catch (a) {
|
|
26065
|
+
throw a;
|
|
26063
26066
|
} finally {
|
|
26064
26067
|
}
|
|
26065
26068
|
} };
|
|
26066
26069
|
}
|
|
26067
|
-
function
|
|
26070
|
+
function xx() {
|
|
26068
26071
|
const e = new fa();
|
|
26069
26072
|
return { externalRestAPICall: async (n, o = !1) => {
|
|
26070
26073
|
try {
|
|
26071
26074
|
const r = await e.externalRestAPI(n, o);
|
|
26072
|
-
if (r
|
|
26073
|
-
|
|
26075
|
+
if ((r == null ? void 0 : r.success) === !1)
|
|
26076
|
+
throw r;
|
|
26077
|
+
return r;
|
|
26074
26078
|
} catch (r) {
|
|
26079
|
+
throw r;
|
|
26080
|
+
} finally {
|
|
26081
|
+
}
|
|
26082
|
+
} };
|
|
26083
|
+
}
|
|
26084
|
+
function ix() {
|
|
26085
|
+
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26086
|
+
return {
|
|
26087
|
+
getNamedQueryByName: async (m, g = !1) => {
|
|
26088
|
+
const h = a();
|
|
26089
|
+
return await t(`/api/app/v1/${h}/named-query/${m}`, g);
|
|
26090
|
+
},
|
|
26091
|
+
updateNamedQuery: async (m, g, h = !1) => {
|
|
26092
|
+
const y = a();
|
|
26093
|
+
return await o(`/api/app/v1/${y}/named-query/${m}`, g, h);
|
|
26094
|
+
},
|
|
26095
|
+
deleteNamedQuery: async (m, g = !1) => {
|
|
26096
|
+
const h = a();
|
|
26097
|
+
return await r(`/api/app/v1/${h}/named-query/${m}`, {}, g);
|
|
26098
|
+
},
|
|
26099
|
+
getAllNamedQueries: async (m = !1) => {
|
|
26100
|
+
const g = a();
|
|
26101
|
+
return await t(`/api/app/v1/${g}/named-query`, m);
|
|
26102
|
+
},
|
|
26103
|
+
createNewNameQuery: async (m, g = !1) => {
|
|
26104
|
+
const h = a();
|
|
26105
|
+
return await n(`/api/app/v1/${h}/named-query`, m, g);
|
|
26106
|
+
},
|
|
26107
|
+
getAllNamedQueryNames: async (m = !1) => {
|
|
26108
|
+
const g = a();
|
|
26109
|
+
return await t(`/api/app/v1/${g}/named-query`, m);
|
|
26110
|
+
},
|
|
26111
|
+
validateNameQuery: async (m, g = !1) => {
|
|
26112
|
+
const h = a();
|
|
26113
|
+
return await n(`/api/app/v1/${h}/named-query/validate`, m, g);
|
|
26114
|
+
},
|
|
26115
|
+
executeNameQuery: async (m, g = !1) => {
|
|
26116
|
+
const h = a();
|
|
26117
|
+
return await n(`/api/app/v1/${h}/named-query/execute`, m, g);
|
|
26118
|
+
}
|
|
26119
|
+
};
|
|
26120
|
+
}
|
|
26121
|
+
function Sx() {
|
|
26122
|
+
const e = new ix();
|
|
26123
|
+
return { executeQuery: async (n, o = !1) => {
|
|
26124
|
+
try {
|
|
26125
|
+
const r = await e.executeNameQuery(n, o);
|
|
26126
|
+
if ((r == null ? void 0 : r.success) === !1)
|
|
26127
|
+
throw r;
|
|
26075
26128
|
return r;
|
|
26129
|
+
} catch (r) {
|
|
26130
|
+
throw r;
|
|
26076
26131
|
} finally {
|
|
26077
26132
|
}
|
|
26078
26133
|
} };
|
|
26079
26134
|
}
|
|
26080
|
-
function
|
|
26135
|
+
function Cx() {
|
|
26081
26136
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26082
26137
|
return {
|
|
26083
26138
|
getThemes: async (f = !1) => {
|
|
@@ -26099,14 +26154,14 @@ function xx() {
|
|
|
26099
26154
|
}
|
|
26100
26155
|
};
|
|
26101
26156
|
}
|
|
26102
|
-
function
|
|
26157
|
+
function Ex() {
|
|
26103
26158
|
const { get: e } = st();
|
|
26104
26159
|
return {
|
|
26105
26160
|
getPlatformComponents: async (o = !1) => await e("/api/platform/v1/search/COMPONENT_PALLET?page=0&size=50&continue", o),
|
|
26106
26161
|
getComponentTemplates: async (o, r = !1) => await e(`api/platform/v1/search/COMPONENT_TEMPLATE?keyword=${o}&page=0&size=50`, r)
|
|
26107
26162
|
};
|
|
26108
26163
|
}
|
|
26109
|
-
function
|
|
26164
|
+
function $x() {
|
|
26110
26165
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26111
26166
|
return {
|
|
26112
26167
|
getLayouts: async (f = !1) => {
|
|
@@ -26131,7 +26186,7 @@ function Cx() {
|
|
|
26131
26186
|
}
|
|
26132
26187
|
};
|
|
26133
26188
|
}
|
|
26134
|
-
function
|
|
26189
|
+
function Ox() {
|
|
26135
26190
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26136
26191
|
return {
|
|
26137
26192
|
getGlobalVars: async (d = !1) => {
|
|
@@ -26160,7 +26215,7 @@ function Ex() {
|
|
|
26160
26215
|
}
|
|
26161
26216
|
};
|
|
26162
26217
|
}
|
|
26163
|
-
function
|
|
26218
|
+
function Tx() {
|
|
26164
26219
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26165
26220
|
return {
|
|
26166
26221
|
getConnectionByID: async (g, h = !1) => {
|
|
@@ -26198,7 +26253,7 @@ function $x() {
|
|
|
26198
26253
|
}
|
|
26199
26254
|
};
|
|
26200
26255
|
}
|
|
26201
|
-
const
|
|
26256
|
+
const sx = { style: {
|
|
26202
26257
|
position: "fixed",
|
|
26203
26258
|
top: 0,
|
|
26204
26259
|
left: 0,
|
|
@@ -26209,7 +26264,7 @@ const ix = { style: {
|
|
|
26209
26264
|
alignItems: "center",
|
|
26210
26265
|
justifyContent: "center",
|
|
26211
26266
|
zIndex: 9999
|
|
26212
|
-
} },
|
|
26267
|
+
} }, lx = { style: { "background-color": "white", "border-radius": "0.5rem", "min-width": "320px", "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.1)", overflow: "hidden" } }, ux = { style: { "font-size": "1.125rem", "font-weight": "600" } }, cx = { style: { padding: "1rem", "font-size": "1rem", color: "#1f2937" } }, dx = { style: { padding: "0.75rem 1rem", display: "flex", "justify-content": "flex-end", gap: "0.5rem", "border-top": "1px solid #e5e7eb" } }, fx = {
|
|
26213
26268
|
__name: "confirm-dialog",
|
|
26214
26269
|
props: {
|
|
26215
26270
|
type: { type: String, default: "info" },
|
|
@@ -26269,17 +26324,17 @@ const ix = { style: {
|
|
|
26269
26324
|
padding: "1rem"
|
|
26270
26325
|
};
|
|
26271
26326
|
});
|
|
26272
|
-
return (c, l) => (b(), S("div",
|
|
26273
|
-
v("div",
|
|
26327
|
+
return (c, l) => (b(), S("div", sx, [
|
|
26328
|
+
v("div", lx, [
|
|
26274
26329
|
v("div", {
|
|
26275
26330
|
style: Zn(s.value)
|
|
26276
26331
|
}, [
|
|
26277
|
-
v("span",
|
|
26332
|
+
v("span", ux, Z(e.title), 1)
|
|
26278
26333
|
], 4),
|
|
26279
|
-
v("div",
|
|
26334
|
+
v("div", cx, [
|
|
26280
26335
|
v("span", null, Z(e.message), 1)
|
|
26281
26336
|
]),
|
|
26282
|
-
v("div",
|
|
26337
|
+
v("div", dx, [
|
|
26283
26338
|
v("button", {
|
|
26284
26339
|
style: { padding: "0.375rem 1rem", "border-radius": "0.375rem", "background-color": "#f3f4f6", color: "#1f2937", "font-weight": "500", border: "none" },
|
|
26285
26340
|
onClick: a
|
|
@@ -26293,7 +26348,7 @@ const ix = { style: {
|
|
|
26293
26348
|
]));
|
|
26294
26349
|
}
|
|
26295
26350
|
};
|
|
26296
|
-
function
|
|
26351
|
+
function Ix({
|
|
26297
26352
|
type: e = "danger",
|
|
26298
26353
|
title: t = "Warning",
|
|
26299
26354
|
message: n = "All the changes you made will be lost, do you wish to continue?",
|
|
@@ -26318,7 +26373,7 @@ function Ox({
|
|
|
26318
26373
|
s.unmount(), i.parentNode === document.body && document.body.removeChild(i);
|
|
26319
26374
|
}, 300);
|
|
26320
26375
|
}
|
|
26321
|
-
return () => tt(
|
|
26376
|
+
return () => tt(fx, {
|
|
26322
26377
|
modelValue: a.value,
|
|
26323
26378
|
"onUpdate:modelValue": (f) => {
|
|
26324
26379
|
a.value = f, f || u();
|
|
@@ -26333,7 +26388,7 @@ function Ox({
|
|
|
26333
26388
|
});
|
|
26334
26389
|
s.mount(i);
|
|
26335
26390
|
}
|
|
26336
|
-
function
|
|
26391
|
+
function Bx() {
|
|
26337
26392
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26338
26393
|
return {
|
|
26339
26394
|
getAssets: async (u, f = 0, d = 50, p = !1) => {
|
|
@@ -26357,7 +26412,7 @@ function Tx() {
|
|
|
26357
26412
|
}
|
|
26358
26413
|
};
|
|
26359
26414
|
}
|
|
26360
|
-
function
|
|
26415
|
+
function Rx() {
|
|
26361
26416
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26362
26417
|
return {
|
|
26363
26418
|
getExtrenalSystemByID: async (d, p = !1) => {
|
|
@@ -26386,7 +26441,7 @@ function Ix() {
|
|
|
26386
26441
|
}
|
|
26387
26442
|
};
|
|
26388
26443
|
}
|
|
26389
|
-
function
|
|
26444
|
+
function Px() {
|
|
26390
26445
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26391
26446
|
return {
|
|
26392
26447
|
getDataBaseSchema: async (u, f = !1) => {
|
|
@@ -26407,76 +26462,40 @@ function Bx() {
|
|
|
26407
26462
|
}
|
|
26408
26463
|
};
|
|
26409
26464
|
}
|
|
26410
|
-
|
|
26411
|
-
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26412
|
-
return {
|
|
26413
|
-
getNamedQueryByName: async (m, g = !1) => {
|
|
26414
|
-
const h = a();
|
|
26415
|
-
return await t(`/api/app/v1/${h}/named-query/${m}`, g);
|
|
26416
|
-
},
|
|
26417
|
-
updateNamedQuery: async (m, g, h = !1) => {
|
|
26418
|
-
const y = a();
|
|
26419
|
-
return await o(`/api/app/v1/${y}/named-query/${m}`, g, h);
|
|
26420
|
-
},
|
|
26421
|
-
deleteNamedQuery: async (m, g = !1) => {
|
|
26422
|
-
const h = a();
|
|
26423
|
-
return await r(`/api/app/v1/${h}/named-query/${m}`, {}, g);
|
|
26424
|
-
},
|
|
26425
|
-
getAllNamedQueries: async (m = !1) => {
|
|
26426
|
-
const g = a();
|
|
26427
|
-
return await t(`/api/app/v1/${g}/named-query`, m);
|
|
26428
|
-
},
|
|
26429
|
-
createNewNameQuery: async (m, g = !1) => {
|
|
26430
|
-
const h = a();
|
|
26431
|
-
return await n(`/api/app/v1/${h}/named-query`, m, g);
|
|
26432
|
-
},
|
|
26433
|
-
getAllNamedQueryNames: async (m = !1) => {
|
|
26434
|
-
const g = a();
|
|
26435
|
-
return await t(`/api/app/v1/${g}/named-query`, m);
|
|
26436
|
-
},
|
|
26437
|
-
validateNameQuery: async (m, g = !1) => {
|
|
26438
|
-
const h = a();
|
|
26439
|
-
return await n(`/api/app/v1/${h}/named-query/validate`, m, g);
|
|
26440
|
-
},
|
|
26441
|
-
executeNameQuery: async (m, g = !1) => {
|
|
26442
|
-
const h = a();
|
|
26443
|
-
return await n(`/api/app/v1/${h}/named-query/execute`, m, g);
|
|
26444
|
-
}
|
|
26445
|
-
};
|
|
26446
|
-
}
|
|
26447
|
-
const Px = {
|
|
26465
|
+
const Fx = {
|
|
26448
26466
|
install(e, t) {
|
|
26449
26467
|
e.component("CSEntityGrid", Lr), e.component("csentitygrid", Lr), e.component("CSEntityList", bi), e.component("csentitylist", bi), e.component("CSFieldExpression", Zi), e.component("csfieldexpression", Zi), e.component("CSEntity360View", gi), e.component("csentity360view", gi), e.component("CSEntityListing", Ci), e.component("csentitylisting", Ci), e.component("CSEntityListingTile", Ei), e.component("csentitylistingtile", Ei), e.component("CSEntityListingCarousel", Ui), e.component("csentitylistingcarousel", Ui), e.component("CSEntitySelection", ps), e.component("csentityselection", ps), e.component("CSEntitySelectionWithRest", ms), e.component("csentityselectionwithrest", ms), e.component("CSEntityExplorer", es), e.component("csentityexplorer", es), e.component("CSMenu", ts), e.component("csmenu", ts), e.component("CSTextInput", ns), e.component("cstextinput", ns), e.component("CSButton", os), e.component("csbutton", os), e.component("CSStateText", rs), e.component("csstatetext", rs), e.component("CSRangeInput", as), e.component("csrangeinput", as), e.component("CSSelector", ds), e.component("csselector", ds), e.component("CSDynamicSelection", go), e.component("csdynamicselection", go), e.component("CSEntityRecordSelection", fs), e.component("csentityrecordselection", fs), e.component("CSMenuSelection", gs), e.component("csmenuSelection", gs), e.component("CSlabel", ys), e.component("cslabel", ys), e.component("CSLogin", vs), e.component("cslogin", vs), e.component("CSSignup", ws), e.component("cssignup", ws), e.component("CSRolesSelection", hs), e.component("csrolesselection", hs), e.component("CSPermissionSelection", bs), e.component("cspermissionselection", bs), e.component("CSIconSelection", ks), e.component("csiconselection", ks), e.component("CSIconComponent", xs), e.component("csiconcomponent", xs), e.component("ClassesSelection", Cs), e.component("classesselection", Cs), e.component("CSPageSelection", Es), e.component("cspageselection", Es), e.component("CSGlobalLoader", Ss), e.component("csgloballoader", Ss), e.component("CSInputText", ma), e.component("csinputtext", ma), e.component("CSInputNumber", ga), e.component("csinputnumber", ga), e.component("CSToggleButton", ha), e.component("cstogglebutton", ha), e.component("CSRadioButton", ba), e.component("csradiobutton", ba), e.component("CSColorPicker", ya), e.component("cscolorpicker", ya), e.component("CSDatePicker", va), e.component("csdatepicker", va), e.component("CSTextArea", wa), e.component("cstextarea", wa), e.component("CSInputPassword", ka), e.component("csinputpassword", ka), e.component("CSRangeDatePicker", xa), e.component("csrangedatepicker", xa), e.component("CSInputKnob", Sa), e.component("csinputknob", Sa), e.component("CSInputMask", Ca), e.component("csinputmask", Ca), e.component("CSInputOtp", Ea), e.component("csinputotp", Ea), e.component("CSInputRating", $a), e.component("csinputrating", $a), e.component("CSInputSlider", Oa), e.component("csinputslider", Oa);
|
|
26450
26468
|
}
|
|
26451
26469
|
};
|
|
26452
26470
|
export {
|
|
26453
|
-
|
|
26454
|
-
|
|
26455
|
-
|
|
26456
|
-
|
|
26471
|
+
Fx as default,
|
|
26472
|
+
Ix as openGlobalDialog,
|
|
26473
|
+
wx as useAddEntityRecord,
|
|
26474
|
+
Bx as useAssetsService,
|
|
26457
26475
|
uw as useClassesService,
|
|
26458
|
-
|
|
26459
|
-
|
|
26460
|
-
|
|
26461
|
-
|
|
26462
|
-
|
|
26476
|
+
Ex as useComponentService,
|
|
26477
|
+
Tx as useConnectionService,
|
|
26478
|
+
hx as useCurrentUser,
|
|
26479
|
+
Px as useDatabaseService,
|
|
26480
|
+
kx as useDeleteEntityRecord,
|
|
26463
26481
|
nv as useEntitiesStore,
|
|
26464
26482
|
bt as useEntityRecordService,
|
|
26465
26483
|
tu as useEntityService,
|
|
26466
|
-
|
|
26484
|
+
Sx as useExecuteQuery,
|
|
26485
|
+
xx as useExternalRestAPI,
|
|
26467
26486
|
fa as useExternalRestService,
|
|
26468
|
-
|
|
26469
|
-
|
|
26470
|
-
|
|
26487
|
+
Rx as useExternalSystemService,
|
|
26488
|
+
vx as useGetAllEntityRecords,
|
|
26489
|
+
yx as useGetEntityRecord,
|
|
26471
26490
|
Ue as useGlobalConfigsStore,
|
|
26472
|
-
|
|
26491
|
+
Ox as useGlobalService,
|
|
26473
26492
|
st as useHttpClient,
|
|
26474
|
-
|
|
26493
|
+
$x as useLayoutService,
|
|
26475
26494
|
Zr as useLoadingStore,
|
|
26476
26495
|
dv as useMenuService,
|
|
26477
|
-
|
|
26496
|
+
ix as useNamedQueryService,
|
|
26478
26497
|
yw as usePageService,
|
|
26479
26498
|
_g as useSecurityService,
|
|
26480
|
-
|
|
26481
|
-
|
|
26499
|
+
bx as useThemeConfig,
|
|
26500
|
+
Cx as useThemeService
|
|
26482
26501
|
};
|