@kengic/core.react 0.0.1-beta.82 → 0.0.1

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.
@@ -23872,7 +23872,6 @@ function noop$4() {
23872
23872
  function formatProdErrorMessage(e) {
23873
23873
  return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
23874
23874
  }
23875
- console.log("BBB KgSlice");
23876
23875
  const KgSlice = createSlice({
23877
23876
  initialState: { option: {} },
23878
23877
  name: "Kg",
@@ -23884,14 +23883,12 @@ const KgSlice = createSlice({
23884
23883
  * @param action
23885
23884
  */
23886
23885
  optionReducer(e, t) {
23887
- console.log("111", e, t.payload), e.option = t.payload ?? {};
23886
+ e.option = t.payload ?? {};
23888
23887
  }
23889
23888
  }
23890
- });
23891
- console.log("CCC KgSlice", KgSlice);
23892
- const { optionReducer } = KgSlice.actions;
23889
+ }), { optionReducer } = KgSlice.actions;
23893
23890
  function optionSelector(e) {
23894
- return console.log("222", e, e.Kg.option), e.Kg.option;
23891
+ return e.Kg.option;
23895
23892
  }
23896
23893
  var classnames = { exports: {} };
23897
23894
  /*!
@@ -67477,9 +67474,7 @@ function json2Plugin() {
67477
67474
  return requireJson2(), {};
67478
67475
  }
67479
67476
  var engine = storeEngine, storages = all, plugins = [json2], store_legacy = engine.createStore(storages, plugins);
67480
- const storejs = /* @__PURE__ */ getDefaultExportFromCjs(store_legacy), LOCAL_STORAGE_KEY__WORK_STATION = "KgWorkStation.workStation", LOCAL_STORAGE_KEY__WORK_STATION_AREA = "KgWorkStation.workStationArea";
67481
- console.log("BBB KgWorkStationSlice");
67482
- const KgWorkStationSlice = createSlice({
67477
+ const storejs = /* @__PURE__ */ getDefaultExportFromCjs(store_legacy), LOCAL_STORAGE_KEY__WORK_STATION = "KgWorkStation.workStation", LOCAL_STORAGE_KEY__WORK_STATION_AREA = "KgWorkStation.workStationArea", KgWorkStationSlice = createSlice({
67483
67478
  initialState: {
67484
67479
  "": {
67485
67480
  isMount: !0,
@@ -67570,9 +67565,7 @@ const KgWorkStationSlice = createSlice({
67570
67565
  delete e[r];
67571
67566
  }
67572
67567
  }
67573
- });
67574
- console.log("CCC KgWorkStationSlice", KgWorkStationSlice);
67575
- const { setReducer, mountReducer, openModalReducer, closeModalReducer, setWorkStationReducer, setWorkStationAreaReducer, unmountReducer } = KgWorkStationSlice.actions;
67568
+ }), { setReducer, mountReducer, openModalReducer, closeModalReducer, setWorkStationReducer, setWorkStationAreaReducer, unmountReducer } = KgWorkStationSlice.actions;
67576
67569
  function isVisibleSelector(e) {
67577
67570
  return (t) => {
67578
67571
  var r, n;
@@ -67872,7 +67865,7 @@ function KgWorkStationModal() {
67872
67865
  function KgWorkStation() {
67873
67866
  var G;
67874
67867
  const e = useSelector(optionSelector);
67875
- if (console.log("333", e), !(((G = e == null ? void 0 : e.KgWorkStation) == null ? void 0 : G.isOn) !== !1))
67868
+ if (!(((G = e == null ? void 0 : e.KgWorkStation) == null ? void 0 : G.isOn) !== !1))
67876
67869
  return null;
67877
67870
  const r = useID(), n = useKg(), a = doKgWorkStation(r), s = useSelector(isVisibleSelector(r)), u = useSelector(workStationSelector()), p = useSelector(workStationAreaSelector()), C = (() => {
67878
67871
  let ne = "text";
@@ -67899,7 +67892,6 @@ function KgWorkStation() {
67899
67892
  /* @__PURE__ */ jsxRuntimeExports.jsx(KgWorkStationModal, {})
67900
67893
  ] });
67901
67894
  }
67902
- console.log("AAA", KgSlice, KgWorkStationSlice);
67903
67895
  const store = configureStore({
67904
67896
  middleware: (e) => e({
67905
67897
  serializableCheck: {
@@ -67938,8 +67930,8 @@ function initWebComponents() {
67938
67930
  }
67939
67931
  function initKgCoreReact(e) {
67940
67932
  const { ref: t, option: r } = e ?? {};
67941
- setRef(t), store.dispatch(optionReducer(r)), store.dispatch(setReducer({ id: "", fn: () => {
67942
- } })), initWebComponents();
67933
+ setRef(t), store.dispatch(setReducer({ id: "", fn: () => {
67934
+ } })), store.dispatch(optionReducer(r)), initWebComponents();
67943
67935
  }
67944
67936
  export {
67945
67937
  doKgWorkStation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/core.react",
3
- "version": "0.0.1-beta.82",
3
+ "version": "0.0.1",
4
4
  "type": "module",
5
5
  "main": "./kengic-core.react.js",
6
6
  "module": "./kengic-core.react.js",