inl-ui 0.1.95 → 0.1.97

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.
@@ -6855,7 +6855,6 @@ const TabList = vue.defineComponent({
6855
6855
  });
6856
6856
  const handleSelectTab = key => {
6857
6857
  const tab = tabList.value.find(item => getTabUniqueKey(item) === key);
6858
- console.log(tab, 111111111111);
6859
6858
  if (tab) {
6860
6859
  emit("tabSelect", tab);
6861
6860
  }
@@ -6890,7 +6889,10 @@ const TabList = vue.defineComponent({
6890
6889
  // 当前和前一个页签不展示右侧的竖线
6891
6890
  "hide-border": activeTabIndex.value === index || activeTabIndex.value - 1 === index
6892
6891
  }],
6893
- "onClick": () => emit("tabSelect", item)
6892
+ "onClick": () => {
6893
+ console.log("111111111", item);
6894
+ emit("tabSelect", item);
6895
+ }
6894
6896
  }, [item.icon && vue.createVNode(vue.resolveComponent("icon-font"), {
6895
6897
  "class": "icon",
6896
6898
  "type": item.icon
@@ -6923,7 +6925,7 @@ const TabList = vue.defineComponent({
6923
6925
  "key": "right",
6924
6926
  "onClick": () => closeToRight(index)
6925
6927
  }, {
6926
- default: () => ["\u5173\u95ED\u53F3\u4FA7"]
6928
+ default: () => ["\u5173\u95ED\u53F3\u4FA71"]
6927
6929
  }), vue.createVNode(antDesignVue.MenuItem, {
6928
6930
  "key": "left",
6929
6931
  "onClick": () => closeToLeft(index)
@@ -7102,6 +7104,7 @@ const PageContent = vue.defineComponent({
7102
7104
  openedTab.params = isFromMenu ? val.params : queryCombine;
7103
7105
  val.params = isFromMenu ? val.params : queryCombine;
7104
7106
  } else {
7107
+ console.log("add2222222222", tab);
7105
7108
  tabList.value.push({
7106
7109
  ...tab,
7107
7110
  key: key ?? id,
@@ -7156,6 +7159,7 @@ const PageContent = vue.defineComponent({
7156
7159
  activeKey.value = id ? id : `${key}${uniqueKey}`;
7157
7160
  };
7158
7161
  const onTabSelect = tab => {
7162
+ console.log("onTabSelect111111", tab);
7159
7163
  if (tab.isExtra) {
7160
7164
  router.push({
7161
7165
  path: "/",
@@ -7228,6 +7232,7 @@ const PageContent = vue.defineComponent({
7228
7232
  }
7229
7233
  });
7230
7234
  onAddExtraTabs(added => {
7235
+ console.log("add1111111", added);
7231
7236
  tabList.value.push(...added);
7232
7237
  });
7233
7238
  const {
@@ -8730,6 +8735,8 @@ const getDetailContainer = () => vue.defineComponent({
8730
8735
  isExtraTab: true,
8731
8736
  params: ___default["default"].omit(route.query, "name")
8732
8737
  };
8738
+ console.log("tab4444444444444444", tab);
8739
+ console.log("route4444444444444444", route);
8733
8740
  if (!detailList.value.find(item => item.uniqueKey === tab.uniqueKey)) {
8734
8741
  detailList.value.push({
8735
8742
  ...tab,
@@ -6827,7 +6827,6 @@ const TabList = defineComponent({
6827
6827
  });
6828
6828
  const handleSelectTab = key => {
6829
6829
  const tab = tabList.value.find(item => getTabUniqueKey(item) === key);
6830
- console.log(tab, 111111111111);
6831
6830
  if (tab) {
6832
6831
  emit("tabSelect", tab);
6833
6832
  }
@@ -6862,7 +6861,10 @@ const TabList = defineComponent({
6862
6861
  // 当前和前一个页签不展示右侧的竖线
6863
6862
  "hide-border": activeTabIndex.value === index || activeTabIndex.value - 1 === index
6864
6863
  }],
6865
- "onClick": () => emit("tabSelect", item)
6864
+ "onClick": () => {
6865
+ console.log("111111111", item);
6866
+ emit("tabSelect", item);
6867
+ }
6866
6868
  }, [item.icon && createVNode(resolveComponent("icon-font"), {
6867
6869
  "class": "icon",
6868
6870
  "type": item.icon
@@ -6895,7 +6897,7 @@ const TabList = defineComponent({
6895
6897
  "key": "right",
6896
6898
  "onClick": () => closeToRight(index)
6897
6899
  }, {
6898
- default: () => ["\u5173\u95ED\u53F3\u4FA7"]
6900
+ default: () => ["\u5173\u95ED\u53F3\u4FA71"]
6899
6901
  }), createVNode(MenuItem, {
6900
6902
  "key": "left",
6901
6903
  "onClick": () => closeToLeft(index)
@@ -7074,6 +7076,7 @@ const PageContent = defineComponent({
7074
7076
  openedTab.params = isFromMenu ? val.params : queryCombine;
7075
7077
  val.params = isFromMenu ? val.params : queryCombine;
7076
7078
  } else {
7079
+ console.log("add2222222222", tab);
7077
7080
  tabList.value.push({
7078
7081
  ...tab,
7079
7082
  key: key ?? id,
@@ -7128,6 +7131,7 @@ const PageContent = defineComponent({
7128
7131
  activeKey.value = id ? id : `${key}${uniqueKey}`;
7129
7132
  };
7130
7133
  const onTabSelect = tab => {
7134
+ console.log("onTabSelect111111", tab);
7131
7135
  if (tab.isExtra) {
7132
7136
  router.push({
7133
7137
  path: "/",
@@ -7200,6 +7204,7 @@ const PageContent = defineComponent({
7200
7204
  }
7201
7205
  });
7202
7206
  onAddExtraTabs(added => {
7207
+ console.log("add1111111", added);
7203
7208
  tabList.value.push(...added);
7204
7209
  });
7205
7210
  const {
@@ -8702,6 +8707,8 @@ const getDetailContainer = () => defineComponent({
8702
8707
  isExtraTab: true,
8703
8708
  params: _.omit(route.query, "name")
8704
8709
  };
8710
+ console.log("tab4444444444444444", tab);
8711
+ console.log("route4444444444444444", route);
8705
8712
  if (!detailList.value.find(item => item.uniqueKey === tab.uniqueKey)) {
8706
8713
  detailList.value.push({
8707
8714
  ...tab,
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.94";
46
+ var version = "0.1.96";
47
47
 
48
48
  const setTheme = theme => {
49
49
  if (theme === "dark") {
@@ -8010,7 +8010,6 @@ const TabList = vue.defineComponent({
8010
8010
  });
8011
8011
  const handleSelectTab = key => {
8012
8012
  const tab = tabList.value.find(item => getTabUniqueKey(item) === key);
8013
- console.log(tab, 111111111111);
8014
8013
  if (tab) {
8015
8014
  emit("tabSelect", tab);
8016
8015
  }
@@ -8045,7 +8044,10 @@ const TabList = vue.defineComponent({
8045
8044
  // 当前和前一个页签不展示右侧的竖线
8046
8045
  "hide-border": activeTabIndex.value === index || activeTabIndex.value - 1 === index
8047
8046
  }],
8048
- "onClick": () => emit("tabSelect", item)
8047
+ "onClick": () => {
8048
+ console.log("111111111", item);
8049
+ emit("tabSelect", item);
8050
+ }
8049
8051
  }, [item.icon && vue.createVNode(vue.resolveComponent("icon-font"), {
8050
8052
  "class": "icon",
8051
8053
  "type": item.icon
@@ -8078,7 +8080,7 @@ const TabList = vue.defineComponent({
8078
8080
  "key": "right",
8079
8081
  "onClick": () => closeToRight(index)
8080
8082
  }, {
8081
- default: () => ["\u5173\u95ED\u53F3\u4FA7"]
8083
+ default: () => ["\u5173\u95ED\u53F3\u4FA71"]
8082
8084
  }), vue.createVNode(antDesignVue.MenuItem, {
8083
8085
  "key": "left",
8084
8086
  "onClick": () => closeToLeft(index)
@@ -8257,6 +8259,7 @@ const PageContent = vue.defineComponent({
8257
8259
  openedTab.params = isFromMenu ? val.params : queryCombine;
8258
8260
  val.params = isFromMenu ? val.params : queryCombine;
8259
8261
  } else {
8262
+ console.log("add2222222222", tab);
8260
8263
  tabList.value.push({
8261
8264
  ...tab,
8262
8265
  key: key ?? id,
@@ -8311,6 +8314,7 @@ const PageContent = vue.defineComponent({
8311
8314
  activeKey.value = id ? id : `${key}${uniqueKey}`;
8312
8315
  };
8313
8316
  const onTabSelect = tab => {
8317
+ console.log("onTabSelect111111", tab);
8314
8318
  if (tab.isExtra) {
8315
8319
  router.push({
8316
8320
  path: "/",
@@ -8383,6 +8387,7 @@ const PageContent = vue.defineComponent({
8383
8387
  }
8384
8388
  });
8385
8389
  onAddExtraTabs(added => {
8390
+ console.log("add1111111", added);
8386
8391
  tabList.value.push(...added);
8387
8392
  });
8388
8393
  const {
@@ -9716,6 +9721,8 @@ const getDetailContainer = () => vue.defineComponent({
9716
9721
  isExtraTab: true,
9717
9722
  params: ___default["default"].omit(route.query, "name")
9718
9723
  };
9724
+ console.log("tab4444444444444444", tab);
9725
+ console.log("route4444444444444444", route);
9719
9726
  if (!detailList.value.find(item => item.uniqueKey === tab.uniqueKey)) {
9720
9727
  detailList.value.push({
9721
9728
  ...tab,
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.94";
14
+ var version = "0.1.96";
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.94";
16
+ var version = "0.1.96";
17
17
 
18
18
  const setTheme = theme => {
19
19
  if (theme === "dark") {
@@ -7980,7 +7980,6 @@ const TabList = defineComponent({
7980
7980
  });
7981
7981
  const handleSelectTab = key => {
7982
7982
  const tab = tabList.value.find(item => getTabUniqueKey(item) === key);
7983
- console.log(tab, 111111111111);
7984
7983
  if (tab) {
7985
7984
  emit("tabSelect", tab);
7986
7985
  }
@@ -8015,7 +8014,10 @@ const TabList = defineComponent({
8015
8014
  // 当前和前一个页签不展示右侧的竖线
8016
8015
  "hide-border": activeTabIndex.value === index || activeTabIndex.value - 1 === index
8017
8016
  }],
8018
- "onClick": () => emit("tabSelect", item)
8017
+ "onClick": () => {
8018
+ console.log("111111111", item);
8019
+ emit("tabSelect", item);
8020
+ }
8019
8021
  }, [item.icon && createVNode(resolveComponent("icon-font"), {
8020
8022
  "class": "icon",
8021
8023
  "type": item.icon
@@ -8048,7 +8050,7 @@ const TabList = defineComponent({
8048
8050
  "key": "right",
8049
8051
  "onClick": () => closeToRight(index)
8050
8052
  }, {
8051
- default: () => ["\u5173\u95ED\u53F3\u4FA7"]
8053
+ default: () => ["\u5173\u95ED\u53F3\u4FA71"]
8052
8054
  }), createVNode(MenuItem, {
8053
8055
  "key": "left",
8054
8056
  "onClick": () => closeToLeft(index)
@@ -8227,6 +8229,7 @@ const PageContent = defineComponent({
8227
8229
  openedTab.params = isFromMenu ? val.params : queryCombine;
8228
8230
  val.params = isFromMenu ? val.params : queryCombine;
8229
8231
  } else {
8232
+ console.log("add2222222222", tab);
8230
8233
  tabList.value.push({
8231
8234
  ...tab,
8232
8235
  key: key ?? id,
@@ -8281,6 +8284,7 @@ const PageContent = defineComponent({
8281
8284
  activeKey.value = id ? id : `${key}${uniqueKey}`;
8282
8285
  };
8283
8286
  const onTabSelect = tab => {
8287
+ console.log("onTabSelect111111", tab);
8284
8288
  if (tab.isExtra) {
8285
8289
  router.push({
8286
8290
  path: "/",
@@ -8353,6 +8357,7 @@ const PageContent = defineComponent({
8353
8357
  }
8354
8358
  });
8355
8359
  onAddExtraTabs(added => {
8360
+ console.log("add1111111", added);
8356
8361
  tabList.value.push(...added);
8357
8362
  });
8358
8363
  const {
@@ -9686,6 +9691,8 @@ const getDetailContainer = () => defineComponent({
9686
9691
  isExtraTab: true,
9687
9692
  params: _.omit(route.query, "name")
9688
9693
  };
9694
+ console.log("tab4444444444444444", tab);
9695
+ console.log("route4444444444444444", route);
9689
9696
  if (!detailList.value.find(item => item.uniqueKey === tab.uniqueKey)) {
9690
9697
  detailList.value.push({
9691
9698
  ...tab,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.95",
3
+ "version": "0.1.97",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",