@kengic/vue 0.26.6-beta.36 → 0.26.6-beta.37

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.
@@ -2693,9 +2693,9 @@ N.forwardRef((e, n) => KN({
2693
2693
  ...e,
2694
2694
  _ref: n
2695
2695
  }));
2696
- import("./close-outlined-DMcSQWxQ.a580fc39.mjs").then(({ default: e }) => iS("ant-design:close-outlined", e));
2697
- import("./fullscreen-exit-outlined-X1iYkFc4.718bf7aa.mjs").then(({ default: e }) => iS("ant-design:fullscreen-exit-outlined", e));
2698
- import("./fullscreen-outlined-DDBrsRcy.1093efe6.mjs").then(({ default: e }) => iS("ant-design:fullscreen-outlined", e));
2696
+ import("./close-outlined-DMcSQWxQ.9897a61e.mjs").then(({ default: e }) => iS("ant-design:close-outlined", e));
2697
+ import("./fullscreen-exit-outlined-X1iYkFc4.a5ba09fb.mjs").then(({ default: e }) => iS("ant-design:fullscreen-exit-outlined", e));
2698
+ import("./fullscreen-outlined-DDBrsRcy.3fc3617f.mjs").then(({ default: e }) => iS("ant-design:fullscreen-outlined", e));
2699
2699
  var Y1 = { exports: {} }, Wh = {};
2700
2700
  /**
2701
2701
  * @license React
@@ -34675,10 +34675,12 @@ function sB(e, n, r) {
34675
34675
  function cB({}) {
34676
34676
  var l;
34677
34677
  const e = N.useRef(null), n = VV(), [r, o] = N.useState((l = n.kgIsDefaultFullscreen) != null ? l : !1);
34678
+ N.useEffect(() => {
34679
+ const g = sB(e.current, "parentElement.parentElement.parentElement.parentElement.parentElement.parentElement");
34680
+ g && (r ? g.classList.add("kgcr--kg-modal--fullscreen") : g.classList.remove("kgcr--kg-modal--fullscreen"));
34681
+ }, [r]);
34678
34682
  function s(g) {
34679
- g.stopPropagation(), g.preventDefault(), o((b) => !b);
34680
- const m = sB(e.current, "parentElement.parentElement.parentElement.parentElement.parentElement.parentElement");
34681
- m && m.classList.toggle("kgcr--kg-modal--fullscreen");
34683
+ g.stopPropagation(), g.preventDefault(), o((m) => !m);
34682
34684
  }
34683
34685
  return /* @__PURE__ */ nr.jsxs("div", { ref: e, className: "kgcr--kg-modal--header--buttons--fullscreen", onClick: s, children: [
34684
34686
  r && /* @__PURE__ */ nr.jsx(W1, { icon: "ant-design:fullscreen-exit-outlined" }),
@@ -37988,7 +37990,7 @@ const emptyIcon = {
37988
37990
  ...n.data
37989
37991
  }, r);
37990
37992
  }
37991
- }), version = "0.26.6-beta.36";
37993
+ }), version = "0.26.6-beta.37";
37992
37994
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
37993
37995
  const freeGlobal$1 = freeGlobal;
37994
37996
  var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.6-beta.36",
3
+ "version": "0.26.6-beta.37",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
@@ -8,7 +8,7 @@
8
8
  "gen:apis:WMS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WMS",
9
9
  "- ------------------------------------------------": "",
10
10
  "use-node": "nvm use 18.20.4 && corepack enable && corepack prepare pnpm@7.30.5 --activate && corepack use pnpm@7.30.5",
11
- "cnpm:sync": "npx cnpm --yes sync @kengic/vue",
11
+ "cnpm:sync": "npm run use-node && npx cnpm --yes sync @kengic/vue",
12
12
  "-- -----------------------------------------------": "",
13
13
  "publish:major": "npm run bump:major && tsx scripts/publish.ts",
14
14
  "publish:minor": "npm run bump:minor && tsx scripts/publish.ts",
@@ -39,7 +39,7 @@
39
39
  "@iconify-icons/mdi": "1.2.48",
40
40
  "@iconify-icons/ph": "1.2.5",
41
41
  "@iconify/vue": "4.1.1",
42
- "@kengic/core": "6.0.1-beta.40",
42
+ "@kengic/core": "6.0.1-beta.42",
43
43
  "@kengic/pont": "1.2.17-beta.1",
44
44
  "@rys-fe/vite-plugin-theme": "0.8.6",
45
45
  "@thymine/xunee": "0.4.9-beta.8",