codesaaz-core 0.3.3 → 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 +95 -80
- 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,7 +26006,7 @@ 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 {
|
|
@@ -26020,7 +26020,7 @@ function bx() {
|
|
|
26020
26020
|
}
|
|
26021
26021
|
} };
|
|
26022
26022
|
}
|
|
26023
|
-
function
|
|
26023
|
+
function vx() {
|
|
26024
26024
|
const e = new bt();
|
|
26025
26025
|
return { getAllEntityRecords: async (n, o = !1) => {
|
|
26026
26026
|
try {
|
|
@@ -26034,7 +26034,7 @@ function yx() {
|
|
|
26034
26034
|
}
|
|
26035
26035
|
} };
|
|
26036
26036
|
}
|
|
26037
|
-
function
|
|
26037
|
+
function wx() {
|
|
26038
26038
|
const e = new bt();
|
|
26039
26039
|
return { addEntityRecord: async (n, o, r = !1) => {
|
|
26040
26040
|
const a = {
|
|
@@ -26053,7 +26053,7 @@ function vx() {
|
|
|
26053
26053
|
}
|
|
26054
26054
|
} };
|
|
26055
26055
|
}
|
|
26056
|
-
function
|
|
26056
|
+
function kx() {
|
|
26057
26057
|
const e = new bt();
|
|
26058
26058
|
return { deleteEntityRecord: async (n, o, r = !1) => {
|
|
26059
26059
|
try {
|
|
@@ -26067,7 +26067,7 @@ function wx() {
|
|
|
26067
26067
|
}
|
|
26068
26068
|
} };
|
|
26069
26069
|
}
|
|
26070
|
-
function
|
|
26070
|
+
function xx() {
|
|
26071
26071
|
const e = new fa();
|
|
26072
26072
|
return { externalRestAPICall: async (n, o = !1) => {
|
|
26073
26073
|
try {
|
|
@@ -26081,7 +26081,58 @@ function kx() {
|
|
|
26081
26081
|
}
|
|
26082
26082
|
} };
|
|
26083
26083
|
}
|
|
26084
|
-
function
|
|
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;
|
|
26128
|
+
return r;
|
|
26129
|
+
} catch (r) {
|
|
26130
|
+
throw r;
|
|
26131
|
+
} finally {
|
|
26132
|
+
}
|
|
26133
|
+
} };
|
|
26134
|
+
}
|
|
26135
|
+
function Cx() {
|
|
26085
26136
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26086
26137
|
return {
|
|
26087
26138
|
getThemes: async (f = !1) => {
|
|
@@ -26103,14 +26154,14 @@ function xx() {
|
|
|
26103
26154
|
}
|
|
26104
26155
|
};
|
|
26105
26156
|
}
|
|
26106
|
-
function
|
|
26157
|
+
function Ex() {
|
|
26107
26158
|
const { get: e } = st();
|
|
26108
26159
|
return {
|
|
26109
26160
|
getPlatformComponents: async (o = !1) => await e("/api/platform/v1/search/COMPONENT_PALLET?page=0&size=50&continue", o),
|
|
26110
26161
|
getComponentTemplates: async (o, r = !1) => await e(`api/platform/v1/search/COMPONENT_TEMPLATE?keyword=${o}&page=0&size=50`, r)
|
|
26111
26162
|
};
|
|
26112
26163
|
}
|
|
26113
|
-
function
|
|
26164
|
+
function $x() {
|
|
26114
26165
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26115
26166
|
return {
|
|
26116
26167
|
getLayouts: async (f = !1) => {
|
|
@@ -26135,7 +26186,7 @@ function Cx() {
|
|
|
26135
26186
|
}
|
|
26136
26187
|
};
|
|
26137
26188
|
}
|
|
26138
|
-
function
|
|
26189
|
+
function Ox() {
|
|
26139
26190
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26140
26191
|
return {
|
|
26141
26192
|
getGlobalVars: async (d = !1) => {
|
|
@@ -26164,7 +26215,7 @@ function Ex() {
|
|
|
26164
26215
|
}
|
|
26165
26216
|
};
|
|
26166
26217
|
}
|
|
26167
|
-
function
|
|
26218
|
+
function Tx() {
|
|
26168
26219
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26169
26220
|
return {
|
|
26170
26221
|
getConnectionByID: async (g, h = !1) => {
|
|
@@ -26202,7 +26253,7 @@ function $x() {
|
|
|
26202
26253
|
}
|
|
26203
26254
|
};
|
|
26204
26255
|
}
|
|
26205
|
-
const
|
|
26256
|
+
const sx = { style: {
|
|
26206
26257
|
position: "fixed",
|
|
26207
26258
|
top: 0,
|
|
26208
26259
|
left: 0,
|
|
@@ -26213,7 +26264,7 @@ const ix = { style: {
|
|
|
26213
26264
|
alignItems: "center",
|
|
26214
26265
|
justifyContent: "center",
|
|
26215
26266
|
zIndex: 9999
|
|
26216
|
-
} },
|
|
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 = {
|
|
26217
26268
|
__name: "confirm-dialog",
|
|
26218
26269
|
props: {
|
|
26219
26270
|
type: { type: String, default: "info" },
|
|
@@ -26273,17 +26324,17 @@ const ix = { style: {
|
|
|
26273
26324
|
padding: "1rem"
|
|
26274
26325
|
};
|
|
26275
26326
|
});
|
|
26276
|
-
return (c, l) => (b(), S("div",
|
|
26277
|
-
v("div",
|
|
26327
|
+
return (c, l) => (b(), S("div", sx, [
|
|
26328
|
+
v("div", lx, [
|
|
26278
26329
|
v("div", {
|
|
26279
26330
|
style: Zn(s.value)
|
|
26280
26331
|
}, [
|
|
26281
|
-
v("span",
|
|
26332
|
+
v("span", ux, Z(e.title), 1)
|
|
26282
26333
|
], 4),
|
|
26283
|
-
v("div",
|
|
26334
|
+
v("div", cx, [
|
|
26284
26335
|
v("span", null, Z(e.message), 1)
|
|
26285
26336
|
]),
|
|
26286
|
-
v("div",
|
|
26337
|
+
v("div", dx, [
|
|
26287
26338
|
v("button", {
|
|
26288
26339
|
style: { padding: "0.375rem 1rem", "border-radius": "0.375rem", "background-color": "#f3f4f6", color: "#1f2937", "font-weight": "500", border: "none" },
|
|
26289
26340
|
onClick: a
|
|
@@ -26297,7 +26348,7 @@ const ix = { style: {
|
|
|
26297
26348
|
]));
|
|
26298
26349
|
}
|
|
26299
26350
|
};
|
|
26300
|
-
function
|
|
26351
|
+
function Ix({
|
|
26301
26352
|
type: e = "danger",
|
|
26302
26353
|
title: t = "Warning",
|
|
26303
26354
|
message: n = "All the changes you made will be lost, do you wish to continue?",
|
|
@@ -26322,7 +26373,7 @@ function Ox({
|
|
|
26322
26373
|
s.unmount(), i.parentNode === document.body && document.body.removeChild(i);
|
|
26323
26374
|
}, 300);
|
|
26324
26375
|
}
|
|
26325
|
-
return () => tt(
|
|
26376
|
+
return () => tt(fx, {
|
|
26326
26377
|
modelValue: a.value,
|
|
26327
26378
|
"onUpdate:modelValue": (f) => {
|
|
26328
26379
|
a.value = f, f || u();
|
|
@@ -26337,7 +26388,7 @@ function Ox({
|
|
|
26337
26388
|
});
|
|
26338
26389
|
s.mount(i);
|
|
26339
26390
|
}
|
|
26340
|
-
function
|
|
26391
|
+
function Bx() {
|
|
26341
26392
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26342
26393
|
return {
|
|
26343
26394
|
getAssets: async (u, f = 0, d = 50, p = !1) => {
|
|
@@ -26361,7 +26412,7 @@ function Tx() {
|
|
|
26361
26412
|
}
|
|
26362
26413
|
};
|
|
26363
26414
|
}
|
|
26364
|
-
function
|
|
26415
|
+
function Rx() {
|
|
26365
26416
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26366
26417
|
return {
|
|
26367
26418
|
getExtrenalSystemByID: async (d, p = !1) => {
|
|
@@ -26390,7 +26441,7 @@ function Ix() {
|
|
|
26390
26441
|
}
|
|
26391
26442
|
};
|
|
26392
26443
|
}
|
|
26393
|
-
function
|
|
26444
|
+
function Px() {
|
|
26394
26445
|
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26395
26446
|
return {
|
|
26396
26447
|
getDataBaseSchema: async (u, f = !1) => {
|
|
@@ -26411,76 +26462,40 @@ function Bx() {
|
|
|
26411
26462
|
}
|
|
26412
26463
|
};
|
|
26413
26464
|
}
|
|
26414
|
-
|
|
26415
|
-
const e = Ue(), { get: t, post: n, put: o, del: r } = st(), a = () => e.getAppId();
|
|
26416
|
-
return {
|
|
26417
|
-
getNamedQueryByName: async (m, g = !1) => {
|
|
26418
|
-
const h = a();
|
|
26419
|
-
return await t(`/api/app/v1/${h}/named-query/${m}`, g);
|
|
26420
|
-
},
|
|
26421
|
-
updateNamedQuery: async (m, g, h = !1) => {
|
|
26422
|
-
const y = a();
|
|
26423
|
-
return await o(`/api/app/v1/${y}/named-query/${m}`, g, h);
|
|
26424
|
-
},
|
|
26425
|
-
deleteNamedQuery: async (m, g = !1) => {
|
|
26426
|
-
const h = a();
|
|
26427
|
-
return await r(`/api/app/v1/${h}/named-query/${m}`, {}, g);
|
|
26428
|
-
},
|
|
26429
|
-
getAllNamedQueries: async (m = !1) => {
|
|
26430
|
-
const g = a();
|
|
26431
|
-
return await t(`/api/app/v1/${g}/named-query`, m);
|
|
26432
|
-
},
|
|
26433
|
-
createNewNameQuery: async (m, g = !1) => {
|
|
26434
|
-
const h = a();
|
|
26435
|
-
return await n(`/api/app/v1/${h}/named-query`, m, g);
|
|
26436
|
-
},
|
|
26437
|
-
getAllNamedQueryNames: async (m = !1) => {
|
|
26438
|
-
const g = a();
|
|
26439
|
-
return await t(`/api/app/v1/${g}/named-query`, m);
|
|
26440
|
-
},
|
|
26441
|
-
validateNameQuery: async (m, g = !1) => {
|
|
26442
|
-
const h = a();
|
|
26443
|
-
return await n(`/api/app/v1/${h}/named-query/validate`, m, g);
|
|
26444
|
-
},
|
|
26445
|
-
executeNameQuery: async (m, g = !1) => {
|
|
26446
|
-
const h = a();
|
|
26447
|
-
return await n(`/api/app/v1/${h}/named-query/execute`, m, g);
|
|
26448
|
-
}
|
|
26449
|
-
};
|
|
26450
|
-
}
|
|
26451
|
-
const Px = {
|
|
26465
|
+
const Fx = {
|
|
26452
26466
|
install(e, t) {
|
|
26453
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);
|
|
26454
26468
|
}
|
|
26455
26469
|
};
|
|
26456
26470
|
export {
|
|
26457
|
-
|
|
26458
|
-
|
|
26459
|
-
|
|
26460
|
-
|
|
26471
|
+
Fx as default,
|
|
26472
|
+
Ix as openGlobalDialog,
|
|
26473
|
+
wx as useAddEntityRecord,
|
|
26474
|
+
Bx as useAssetsService,
|
|
26461
26475
|
uw as useClassesService,
|
|
26462
|
-
|
|
26463
|
-
|
|
26464
|
-
|
|
26465
|
-
|
|
26466
|
-
|
|
26476
|
+
Ex as useComponentService,
|
|
26477
|
+
Tx as useConnectionService,
|
|
26478
|
+
hx as useCurrentUser,
|
|
26479
|
+
Px as useDatabaseService,
|
|
26480
|
+
kx as useDeleteEntityRecord,
|
|
26467
26481
|
nv as useEntitiesStore,
|
|
26468
26482
|
bt as useEntityRecordService,
|
|
26469
26483
|
tu as useEntityService,
|
|
26470
|
-
|
|
26484
|
+
Sx as useExecuteQuery,
|
|
26485
|
+
xx as useExternalRestAPI,
|
|
26471
26486
|
fa as useExternalRestService,
|
|
26472
|
-
|
|
26473
|
-
|
|
26474
|
-
|
|
26487
|
+
Rx as useExternalSystemService,
|
|
26488
|
+
vx as useGetAllEntityRecords,
|
|
26489
|
+
yx as useGetEntityRecord,
|
|
26475
26490
|
Ue as useGlobalConfigsStore,
|
|
26476
|
-
|
|
26491
|
+
Ox as useGlobalService,
|
|
26477
26492
|
st as useHttpClient,
|
|
26478
|
-
|
|
26493
|
+
$x as useLayoutService,
|
|
26479
26494
|
Zr as useLoadingStore,
|
|
26480
26495
|
dv as useMenuService,
|
|
26481
|
-
|
|
26496
|
+
ix as useNamedQueryService,
|
|
26482
26497
|
yw as usePageService,
|
|
26483
26498
|
_g as useSecurityService,
|
|
26484
|
-
|
|
26485
|
-
|
|
26499
|
+
bx as useThemeConfig,
|
|
26500
|
+
Cx as useThemeService
|
|
26486
26501
|
};
|