@docsvision/management-console 6.2.0-beta.6 → 6.2.0-beta.7
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/index.css +1 -1
- package/index.js +9 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -59062,7 +59062,7 @@ const WarningIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
|
|
|
59062
59062
|
}));
|
|
59063
59063
|
function DatabaseSettingsCard(props) {
|
|
59064
59064
|
const { title, label, isDefault, children, size = "sm", error } = props;
|
|
59065
|
-
return /* @__PURE__ */ jsx(Grid$1, { className: classNames("database-settings-card__wrapper", { "database-settings-card__wrapper_medium": size === "md" }), children: /* @__PURE__ */ jsxs(Paper$3, {
|
|
59065
|
+
return /* @__PURE__ */ jsx(Grid$1, { className: classNames("database-settings-card__wrapper", { "database-settings-card__wrapper_medium": size === "md" }), children: /* @__PURE__ */ jsxs(Paper$3, { children: [
|
|
59066
59066
|
/* @__PURE__ */ jsxs(Grid$1, { container: true, alignItems: "center", justifyContent: "space-between", wrap: "nowrap", className: "database-settings-card__head", children: [
|
|
59067
59067
|
/* @__PURE__ */ jsxs(Grid$1, { container: true, alignItems: "center", children: [
|
|
59068
59068
|
/* @__PURE__ */ jsx(StorageRounded, { color: "secondary", fontSize: "large" }),
|
|
@@ -85307,9 +85307,16 @@ class ProcessTemplatesLogic extends ComponentLogic {
|
|
|
85307
85307
|
{ hasSelected: this.$hasSelectedTemplate, isPending: this.reinstallProcessTemplatesFx.pending },
|
|
85308
85308
|
({ hasSelected, isPending }) => hasSelected && !isPending
|
|
85309
85309
|
);
|
|
85310
|
-
this
|
|
85310
|
+
this.inProcessChanged = this.domain.event("inProcessChanged");
|
|
85311
|
+
this.$inProcess = this.domain.store(false, { name: "$inProcess" });
|
|
85311
85312
|
}
|
|
85312
85313
|
init() {
|
|
85314
|
+
v({
|
|
85315
|
+
clock: this.inProcessChanged,
|
|
85316
|
+
fn: (value) => !!value,
|
|
85317
|
+
target: this.$inProcess
|
|
85318
|
+
});
|
|
85319
|
+
this.inProcessChanged(!!this.options.inProcess);
|
|
85313
85320
|
v({
|
|
85314
85321
|
clock: this.processTemplatesLoaded,
|
|
85315
85322
|
fn: () => ({ ...this.options.value, templates: this.options.value.templates.map((template) => ({ ...template, selected: false })) }),
|
|
@@ -85360,8 +85367,6 @@ async function reinstallProcessTemplates({ value, services, elementId }) {
|
|
|
85360
85367
|
}, []);
|
|
85361
85368
|
const requestData = { timestamp: value.timestamp, templateIds };
|
|
85362
85369
|
await processTemplatesController.installProcessTemplates(serviceId, pageId, elementId, requestData);
|
|
85363
|
-
await messageWindow.showConfirmation(resources.TemplatesReinstalledReloadPageConfirm);
|
|
85364
|
-
location.reload();
|
|
85365
85370
|
}
|
|
85366
85371
|
function ProcessTemplates(props) {
|
|
85367
85372
|
const services = React__default.useContext(ServicesContext);
|