@kengic/core.react 0.0.1-beta.72 → 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.
@@ -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({
@@ -67721,6 +67721,7 @@ class KgUtil {
67721
67721
  keyboard: !1,
67722
67722
  maskTransitionName: "",
67723
67723
  okButtonProps: {
67724
+ // TODO LT 此处的 autoInsertSpace 未生效, 是否是 antd 的 bug ?
67724
67725
  autoInsertSpace: !1,
67725
67726
  danger: !0,
67726
67727
  ...t.okButtonProps ?? {}
@@ -67845,9 +67846,10 @@ function KgWorkStationModal() {
67845
67846
  confirmLoading: !1,
67846
67847
  wrapClassName: "kgcrant-kg-work-station-modal",
67847
67848
  zIndex: 2e3,
67849
+ kgMinWidth: 600,
67848
67850
  onCancel: va,
67849
67851
  onOk: ya,
67850
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex" }, children: [
67852
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex", height: "100%" }, children: [
67851
67853
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { flex: "1" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
67852
67854
  ForwardTable,
67853
67855
  {
@@ -67888,8 +67890,8 @@ function KgWorkStationModal() {
67888
67890
  }
67889
67891
  function KgWorkStation() {
67890
67892
  var G;
67891
- const e = useKgSelector(getOption);
67892
- if (!(((G = e == null ? void 0 : e.KgWorkStation) == null ? void 0 : G.isOn) !== !1))
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)
67893
67895
  return null;
67894
67896
  const r = useID(), n = useKg(), a = doKgWorkStation(r), s = useKgWorkStationSelector(getIsVisible(r)), u = useKgWorkStationSelector(getWorkStation()), p = useKgWorkStationSelector(getWorkStationArea()), C = (() => {
67895
67897
  let ne = "text";
@@ -67941,7 +67943,7 @@ function initWebComponents() {
67941
67943
  }
67942
67944
  function initKgCoreReact(e) {
67943
67945
  const { ref: t, option: r } = e ?? {};
67944
- setRef(t), kgStore.dispatch(setOption(r)), initWebComponents();
67946
+ setRef(t), console.log("000", r), kgStore.dispatch(setOption(r)), initWebComponents();
67945
67947
  }
67946
67948
  export {
67947
67949
  doKgWorkStation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/core.react",
3
- "version": "0.0.1-beta.72",
3
+ "version": "0.0.1-beta.74",
4
4
  "type": "module",
5
5
  "main": "./kengic-core.react.js",
6
6
  "module": "./kengic-core.react.js",