@kengic/core.react 0.0.1-beta.18 → 0.0.1-beta.19
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/kengic-core.react.js
CHANGED
|
@@ -45754,28 +45754,28 @@ function Pne(e) {
|
|
|
45754
45754
|
}
|
|
45755
45755
|
) });
|
|
45756
45756
|
}
|
|
45757
|
-
function Dne(
|
|
45758
|
-
const [
|
|
45757
|
+
function Dne() {
|
|
45758
|
+
const [e, t] = xZ({ open: !1 });
|
|
45759
45759
|
lZ(["ctrl.shift.f7"], () => {
|
|
45760
|
-
|
|
45760
|
+
r();
|
|
45761
45761
|
});
|
|
45762
|
-
function
|
|
45763
|
-
|
|
45764
|
-
|
|
45765
|
-
}) :
|
|
45766
|
-
|
|
45762
|
+
function r() {
|
|
45763
|
+
e.open ? t((l) => {
|
|
45764
|
+
l.open = !1;
|
|
45765
|
+
}) : t((l) => {
|
|
45766
|
+
l.open = !0;
|
|
45767
45767
|
});
|
|
45768
45768
|
}
|
|
45769
|
-
function
|
|
45770
|
-
|
|
45771
|
-
|
|
45769
|
+
function i() {
|
|
45770
|
+
t((l) => {
|
|
45771
|
+
l.open = !1;
|
|
45772
45772
|
});
|
|
45773
45773
|
}
|
|
45774
|
-
return /* @__PURE__ */ wn.jsx(wn.Fragment, { children:
|
|
45774
|
+
return /* @__PURE__ */ wn.jsx(wn.Fragment, { children: e.open && /* @__PURE__ */ wn.jsx(
|
|
45775
45775
|
Pne,
|
|
45776
45776
|
{
|
|
45777
|
-
open:
|
|
45778
|
-
onClose:
|
|
45777
|
+
open: e.open,
|
|
45778
|
+
onClose: i
|
|
45779
45779
|
}
|
|
45780
45780
|
) });
|
|
45781
45781
|
}
|
|
@@ -45785,7 +45785,6 @@ class kne extends HTMLElement {
|
|
|
45785
45785
|
yw(this, "unmount", null);
|
|
45786
45786
|
}
|
|
45787
45787
|
connectedCallback() {
|
|
45788
|
-
this.id = this.getAttribute("id") ?? "";
|
|
45789
45788
|
const r = FS(this);
|
|
45790
45789
|
r.render(
|
|
45791
45790
|
/* @__PURE__ */ wn.jsx(NF, { id: this.id, children: /* @__PURE__ */ wn.jsx(Dne, {}) })
|
|
@@ -47273,21 +47272,21 @@ function Zre() {
|
|
|
47273
47272
|
}
|
|
47274
47273
|
) });
|
|
47275
47274
|
}
|
|
47276
|
-
function Jre(
|
|
47277
|
-
const
|
|
47278
|
-
let
|
|
47279
|
-
return
|
|
47275
|
+
function Jre() {
|
|
47276
|
+
const e = GQ(), t = Sj(tR(e)), r = (() => {
|
|
47277
|
+
let i = "text";
|
|
47278
|
+
return t || (i += " kgcrant-kg-invisible"), i;
|
|
47280
47279
|
})();
|
|
47281
|
-
return /* @__PURE__ */ wn.jsxs(qre, { value:
|
|
47280
|
+
return /* @__PURE__ */ wn.jsxs(qre, { value: e, children: [
|
|
47282
47281
|
/* @__PURE__ */ wn.jsxs(
|
|
47283
47282
|
jR,
|
|
47284
47283
|
{
|
|
47285
|
-
className:
|
|
47284
|
+
className: r,
|
|
47286
47285
|
placement: "bottomRight",
|
|
47287
47286
|
title: "TITLE",
|
|
47288
47287
|
children: [
|
|
47289
47288
|
"TODO[",
|
|
47290
|
-
|
|
47289
|
+
e,
|
|
47291
47290
|
"]"
|
|
47292
47291
|
]
|
|
47293
47292
|
}
|
|
@@ -47301,7 +47300,7 @@ class eae extends HTMLElement {
|
|
|
47301
47300
|
yw(this, "unmount", null);
|
|
47302
47301
|
}
|
|
47303
47302
|
connectedCallback() {
|
|
47304
|
-
|
|
47303
|
+
ji.dispatch(Ure({ id: this.id }));
|
|
47305
47304
|
const r = FS(this);
|
|
47306
47305
|
r.render(
|
|
47307
47306
|
/* @__PURE__ */ wn.jsx(NF, { id: this.id, children: /* @__PURE__ */ wn.jsx(Qne, { store: ji, children: /* @__PURE__ */ wn.jsx(Jre, {}) }) })
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './KgWorkStation.css';
|
|
3
|
-
import { KgWorkStationProps } from './index.vm';
|
|
4
3
|
/**
|
|
5
4
|
* 选择工作站.
|
|
6
5
|
*/
|
|
7
|
-
export declare function KgWorkStation(
|
|
6
|
+
export declare function KgWorkStation(): React.JSX.Element;
|