@kengic/core.react 0.0.1-beta.73 → 0.0.1-beta.74
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 +6 -7
- package/package.json +1 -1
package/kengic-core.react.js
CHANGED
|
@@ -24243,12 +24243,12 @@ const KgSlice = createSlice({
|
|
|
24243
24243
|
* @param action
|
|
24244
24244
|
*/
|
|
24245
24245
|
setOption(e, t) {
|
|
24246
|
-
e.option = t.payload ?? {};
|
|
24246
|
+
console.log("111", t.payload), e.option = t.payload ?? {};
|
|
24247
24247
|
}
|
|
24248
24248
|
}
|
|
24249
24249
|
}), { setOption } = KgSlice.actions;
|
|
24250
24250
|
function getOption(e) {
|
|
24251
|
-
return e.option;
|
|
24251
|
+
return console.log("222", e.option), e.option;
|
|
24252
24252
|
}
|
|
24253
24253
|
const kgStore = configureStore({
|
|
24254
24254
|
middleware: (e) => e({
|
|
@@ -67720,9 +67720,8 @@ class KgUtil {
|
|
|
67720
67720
|
),
|
|
67721
67721
|
keyboard: !1,
|
|
67722
67722
|
maskTransitionName: "",
|
|
67723
|
-
// @ts-ignore
|
|
67724
|
-
autoInsertSpace: !1,
|
|
67725
67723
|
okButtonProps: {
|
|
67724
|
+
// TODO LT 此处的 autoInsertSpace 未生效, 是否是 antd 的 bug ?
|
|
67726
67725
|
autoInsertSpace: !1,
|
|
67727
67726
|
danger: !0,
|
|
67728
67727
|
...t.okButtonProps ?? {}
|
|
@@ -67891,8 +67890,8 @@ function KgWorkStationModal() {
|
|
|
67891
67890
|
}
|
|
67892
67891
|
function KgWorkStation() {
|
|
67893
67892
|
var G;
|
|
67894
|
-
const e = useKgSelector(getOption);
|
|
67895
|
-
if (
|
|
67893
|
+
const e = useKgSelector(getOption), t = ((G = e == null ? void 0 : e.KgWorkStation) == null ? void 0 : G.isOn) !== !1;
|
|
67894
|
+
if (console.log("333", t), !t)
|
|
67896
67895
|
return null;
|
|
67897
67896
|
const r = useID(), n = useKg(), a = doKgWorkStation(r), s = useKgWorkStationSelector(getIsVisible(r)), u = useKgWorkStationSelector(getWorkStation()), p = useKgWorkStationSelector(getWorkStationArea()), C = (() => {
|
|
67898
67897
|
let ne = "text";
|
|
@@ -67944,7 +67943,7 @@ function initWebComponents() {
|
|
|
67944
67943
|
}
|
|
67945
67944
|
function initKgCoreReact(e) {
|
|
67946
67945
|
const { ref: t, option: r } = e ?? {};
|
|
67947
|
-
setRef(t), kgStore.dispatch(setOption(r)), initWebComponents();
|
|
67946
|
+
setRef(t), console.log("000", r), kgStore.dispatch(setOption(r)), initWebComponents();
|
|
67948
67947
|
}
|
|
67949
67948
|
export {
|
|
67950
67949
|
doKgWorkStation,
|