inl-ui 0.1.59 → 0.1.60

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.
@@ -7053,13 +7053,13 @@ const PageContent = vue.defineComponent({
7053
7053
  if (iframeEl) {
7054
7054
  iframeEl.contentWindow.postMessage({
7055
7055
  type: "activeChange",
7056
- data: false
7056
+ data: active
7057
7057
  }, "*");
7058
7058
  }
7059
7059
  }
7060
7060
  vue.nextTick(() => {
7061
- if (val && val.mode === 2) postIframeActive(val.id);
7062
- if (oldVal && oldVal.mode === 2) postIframeActive(oldVal.id);
7061
+ if (val && val.mode === 2) postIframeActive(val.id, true);
7062
+ if (oldVal && oldVal.mode === 2) postIframeActive(oldVal.id, true);
7063
7063
  });
7064
7064
  }, {
7065
7065
  immediate: true
@@ -7025,13 +7025,13 @@ const PageContent = defineComponent({
7025
7025
  if (iframeEl) {
7026
7026
  iframeEl.contentWindow.postMessage({
7027
7027
  type: "activeChange",
7028
- data: false
7028
+ data: active
7029
7029
  }, "*");
7030
7030
  }
7031
7031
  }
7032
7032
  nextTick(() => {
7033
- if (val && val.mode === 2) postIframeActive(val.id);
7034
- if (oldVal && oldVal.mode === 2) postIframeActive(oldVal.id);
7033
+ if (val && val.mode === 2) postIframeActive(val.id, true);
7034
+ if (oldVal && oldVal.mode === 2) postIframeActive(oldVal.id, true);
7035
7035
  });
7036
7036
  }, {
7037
7037
  immediate: true
package/dist/index.cjs CHANGED
@@ -43,7 +43,7 @@ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios$2);
43
43
  var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
44
44
  var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
45
45
 
46
- var version = "0.1.58";
46
+ var version = "0.1.59";
47
47
 
48
48
  const setTheme = theme => {
49
49
  if (theme === "dark") {
@@ -8208,13 +8208,13 @@ const PageContent = vue.defineComponent({
8208
8208
  if (iframeEl) {
8209
8209
  iframeEl.contentWindow.postMessage({
8210
8210
  type: "activeChange",
8211
- data: false
8211
+ data: active
8212
8212
  }, "*");
8213
8213
  }
8214
8214
  }
8215
8215
  vue.nextTick(() => {
8216
- if (val && val.mode === 2) postIframeActive(val.id);
8217
- if (oldVal && oldVal.mode === 2) postIframeActive(oldVal.id);
8216
+ if (val && val.mode === 2) postIframeActive(val.id, true);
8217
+ if (oldVal && oldVal.mode === 2) postIframeActive(oldVal.id, true);
8218
8218
  });
8219
8219
  }, {
8220
8220
  immediate: true
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
11
11
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
12
12
  import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
13
13
 
14
- var version = "0.1.58";
14
+ var version = "0.1.59";
15
15
 
16
16
  declare const _default$p: {
17
17
  set(theme: string): void;
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
13
13
  import { marked } from 'marked';
14
14
  import '@sszj-temp/mobile/style.css';
15
15
 
16
- var version = "0.1.58";
16
+ var version = "0.1.59";
17
17
 
18
18
  const setTheme = theme => {
19
19
  if (theme === "dark") {
@@ -8178,13 +8178,13 @@ const PageContent = defineComponent({
8178
8178
  if (iframeEl) {
8179
8179
  iframeEl.contentWindow.postMessage({
8180
8180
  type: "activeChange",
8181
- data: false
8181
+ data: active
8182
8182
  }, "*");
8183
8183
  }
8184
8184
  }
8185
8185
  nextTick(() => {
8186
- if (val && val.mode === 2) postIframeActive(val.id);
8187
- if (oldVal && oldVal.mode === 2) postIframeActive(oldVal.id);
8186
+ if (val && val.mode === 2) postIframeActive(val.id, true);
8187
+ if (oldVal && oldVal.mode === 2) postIframeActive(oldVal.id, true);
8188
8188
  });
8189
8189
  }, {
8190
8190
  immediate: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",