inl-ui 0.1.93 → 0.1.96
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.
- package/dist/components/index.cjs +10 -3
- package/dist/components/index.js +10 -3
- package/dist/index.cjs +11 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -4
- package/package.json +1 -1
|
@@ -549,7 +549,7 @@ function useMicroApp(appList) {
|
|
|
549
549
|
const handleRouteChange = core.useThrottleFn(async () => {
|
|
550
550
|
const microAppName = activeAppName.value;
|
|
551
551
|
let microAppDefine = appList.find(item => item.name === microAppName);
|
|
552
|
-
if (!microAppDefine && !
|
|
552
|
+
if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
|
|
553
553
|
const domId = `microApp_${microAppName}`;
|
|
554
554
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
555
555
|
appContainerList.value.push({
|
|
@@ -6889,7 +6889,10 @@ const TabList = vue.defineComponent({
|
|
|
6889
6889
|
// 当前和前一个页签不展示右侧的竖线
|
|
6890
6890
|
"hide-border": activeTabIndex.value === index || activeTabIndex.value - 1 === index
|
|
6891
6891
|
}],
|
|
6892
|
-
"onClick": () =>
|
|
6892
|
+
"onClick": () => {
|
|
6893
|
+
console.log("111111111", item);
|
|
6894
|
+
emit("tabSelect", item);
|
|
6895
|
+
}
|
|
6893
6896
|
}, [item.icon && vue.createVNode(vue.resolveComponent("icon-font"), {
|
|
6894
6897
|
"class": "icon",
|
|
6895
6898
|
"type": item.icon
|
|
@@ -6922,7 +6925,7 @@ const TabList = vue.defineComponent({
|
|
|
6922
6925
|
"key": "right",
|
|
6923
6926
|
"onClick": () => closeToRight(index)
|
|
6924
6927
|
}, {
|
|
6925
|
-
default: () => ["\u5173\u95ED\u53F3\
|
|
6928
|
+
default: () => ["\u5173\u95ED\u53F3\u4FA71"]
|
|
6926
6929
|
}), vue.createVNode(antDesignVue.MenuItem, {
|
|
6927
6930
|
"key": "left",
|
|
6928
6931
|
"onClick": () => closeToLeft(index)
|
|
@@ -7101,6 +7104,7 @@ const PageContent = vue.defineComponent({
|
|
|
7101
7104
|
openedTab.params = isFromMenu ? val.params : queryCombine;
|
|
7102
7105
|
val.params = isFromMenu ? val.params : queryCombine;
|
|
7103
7106
|
} else {
|
|
7107
|
+
console.log("add2222222222", tab);
|
|
7104
7108
|
tabList.value.push({
|
|
7105
7109
|
...tab,
|
|
7106
7110
|
key: key ?? id,
|
|
@@ -7155,6 +7159,7 @@ const PageContent = vue.defineComponent({
|
|
|
7155
7159
|
activeKey.value = id ? id : `${key}${uniqueKey}`;
|
|
7156
7160
|
};
|
|
7157
7161
|
const onTabSelect = tab => {
|
|
7162
|
+
console.log("onTabSelect111111", tab);
|
|
7158
7163
|
if (tab.isExtra) {
|
|
7159
7164
|
router.push({
|
|
7160
7165
|
path: "/",
|
|
@@ -7164,6 +7169,7 @@ const PageContent = vue.defineComponent({
|
|
|
7164
7169
|
handleMenuChange(tab);
|
|
7165
7170
|
} else {
|
|
7166
7171
|
const resolveRes = router.resolve(tab.url);
|
|
7172
|
+
console.log(resolveRes, 2222222222);
|
|
7167
7173
|
router.push({
|
|
7168
7174
|
path: resolveRes.path,
|
|
7169
7175
|
query: Object.assign(resolveRes.query, tab.params)
|
|
@@ -7226,6 +7232,7 @@ const PageContent = vue.defineComponent({
|
|
|
7226
7232
|
}
|
|
7227
7233
|
});
|
|
7228
7234
|
onAddExtraTabs(added => {
|
|
7235
|
+
console.log("add1111111", added);
|
|
7229
7236
|
tabList.value.push(...added);
|
|
7230
7237
|
});
|
|
7231
7238
|
const {
|
package/dist/components/index.js
CHANGED
|
@@ -521,7 +521,7 @@ function useMicroApp(appList) {
|
|
|
521
521
|
const handleRouteChange = useThrottleFn(async () => {
|
|
522
522
|
const microAppName = activeAppName.value;
|
|
523
523
|
let microAppDefine = appList.find(item => item.name === microAppName);
|
|
524
|
-
if (!microAppDefine && !
|
|
524
|
+
if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
|
|
525
525
|
const domId = `microApp_${microAppName}`;
|
|
526
526
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
527
527
|
appContainerList.value.push({
|
|
@@ -6861,7 +6861,10 @@ const TabList = defineComponent({
|
|
|
6861
6861
|
// 当前和前一个页签不展示右侧的竖线
|
|
6862
6862
|
"hide-border": activeTabIndex.value === index || activeTabIndex.value - 1 === index
|
|
6863
6863
|
}],
|
|
6864
|
-
"onClick": () =>
|
|
6864
|
+
"onClick": () => {
|
|
6865
|
+
console.log("111111111", item);
|
|
6866
|
+
emit("tabSelect", item);
|
|
6867
|
+
}
|
|
6865
6868
|
}, [item.icon && createVNode(resolveComponent("icon-font"), {
|
|
6866
6869
|
"class": "icon",
|
|
6867
6870
|
"type": item.icon
|
|
@@ -6894,7 +6897,7 @@ const TabList = defineComponent({
|
|
|
6894
6897
|
"key": "right",
|
|
6895
6898
|
"onClick": () => closeToRight(index)
|
|
6896
6899
|
}, {
|
|
6897
|
-
default: () => ["\u5173\u95ED\u53F3\
|
|
6900
|
+
default: () => ["\u5173\u95ED\u53F3\u4FA71"]
|
|
6898
6901
|
}), createVNode(MenuItem, {
|
|
6899
6902
|
"key": "left",
|
|
6900
6903
|
"onClick": () => closeToLeft(index)
|
|
@@ -7073,6 +7076,7 @@ const PageContent = defineComponent({
|
|
|
7073
7076
|
openedTab.params = isFromMenu ? val.params : queryCombine;
|
|
7074
7077
|
val.params = isFromMenu ? val.params : queryCombine;
|
|
7075
7078
|
} else {
|
|
7079
|
+
console.log("add2222222222", tab);
|
|
7076
7080
|
tabList.value.push({
|
|
7077
7081
|
...tab,
|
|
7078
7082
|
key: key ?? id,
|
|
@@ -7127,6 +7131,7 @@ const PageContent = defineComponent({
|
|
|
7127
7131
|
activeKey.value = id ? id : `${key}${uniqueKey}`;
|
|
7128
7132
|
};
|
|
7129
7133
|
const onTabSelect = tab => {
|
|
7134
|
+
console.log("onTabSelect111111", tab);
|
|
7130
7135
|
if (tab.isExtra) {
|
|
7131
7136
|
router.push({
|
|
7132
7137
|
path: "/",
|
|
@@ -7136,6 +7141,7 @@ const PageContent = defineComponent({
|
|
|
7136
7141
|
handleMenuChange(tab);
|
|
7137
7142
|
} else {
|
|
7138
7143
|
const resolveRes = router.resolve(tab.url);
|
|
7144
|
+
console.log(resolveRes, 2222222222);
|
|
7139
7145
|
router.push({
|
|
7140
7146
|
path: resolveRes.path,
|
|
7141
7147
|
query: Object.assign(resolveRes.query, tab.params)
|
|
@@ -7198,6 +7204,7 @@ const PageContent = defineComponent({
|
|
|
7198
7204
|
}
|
|
7199
7205
|
});
|
|
7200
7206
|
onAddExtraTabs(added => {
|
|
7207
|
+
console.log("add1111111", added);
|
|
7201
7208
|
tabList.value.push(...added);
|
|
7202
7209
|
});
|
|
7203
7210
|
const {
|
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.
|
|
46
|
+
var version = "0.1.95";
|
|
47
47
|
|
|
48
48
|
const setTheme = theme => {
|
|
49
49
|
if (theme === "dark") {
|
|
@@ -7659,7 +7659,7 @@ function useMicroApp(appList) {
|
|
|
7659
7659
|
const handleRouteChange = core.useThrottleFn(async () => {
|
|
7660
7660
|
const microAppName = activeAppName.value;
|
|
7661
7661
|
let microAppDefine = appList.find(item => item.name === microAppName);
|
|
7662
|
-
if (!microAppDefine && !
|
|
7662
|
+
if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
|
|
7663
7663
|
const domId = `microApp_${microAppName}`;
|
|
7664
7664
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
7665
7665
|
appContainerList.value.push({
|
|
@@ -8044,7 +8044,10 @@ const TabList = vue.defineComponent({
|
|
|
8044
8044
|
// 当前和前一个页签不展示右侧的竖线
|
|
8045
8045
|
"hide-border": activeTabIndex.value === index || activeTabIndex.value - 1 === index
|
|
8046
8046
|
}],
|
|
8047
|
-
"onClick": () =>
|
|
8047
|
+
"onClick": () => {
|
|
8048
|
+
console.log("111111111", item);
|
|
8049
|
+
emit("tabSelect", item);
|
|
8050
|
+
}
|
|
8048
8051
|
}, [item.icon && vue.createVNode(vue.resolveComponent("icon-font"), {
|
|
8049
8052
|
"class": "icon",
|
|
8050
8053
|
"type": item.icon
|
|
@@ -8077,7 +8080,7 @@ const TabList = vue.defineComponent({
|
|
|
8077
8080
|
"key": "right",
|
|
8078
8081
|
"onClick": () => closeToRight(index)
|
|
8079
8082
|
}, {
|
|
8080
|
-
default: () => ["\u5173\u95ED\u53F3\
|
|
8083
|
+
default: () => ["\u5173\u95ED\u53F3\u4FA71"]
|
|
8081
8084
|
}), vue.createVNode(antDesignVue.MenuItem, {
|
|
8082
8085
|
"key": "left",
|
|
8083
8086
|
"onClick": () => closeToLeft(index)
|
|
@@ -8256,6 +8259,7 @@ const PageContent = vue.defineComponent({
|
|
|
8256
8259
|
openedTab.params = isFromMenu ? val.params : queryCombine;
|
|
8257
8260
|
val.params = isFromMenu ? val.params : queryCombine;
|
|
8258
8261
|
} else {
|
|
8262
|
+
console.log("add2222222222", tab);
|
|
8259
8263
|
tabList.value.push({
|
|
8260
8264
|
...tab,
|
|
8261
8265
|
key: key ?? id,
|
|
@@ -8310,6 +8314,7 @@ const PageContent = vue.defineComponent({
|
|
|
8310
8314
|
activeKey.value = id ? id : `${key}${uniqueKey}`;
|
|
8311
8315
|
};
|
|
8312
8316
|
const onTabSelect = tab => {
|
|
8317
|
+
console.log("onTabSelect111111", tab);
|
|
8313
8318
|
if (tab.isExtra) {
|
|
8314
8319
|
router.push({
|
|
8315
8320
|
path: "/",
|
|
@@ -8319,6 +8324,7 @@ const PageContent = vue.defineComponent({
|
|
|
8319
8324
|
handleMenuChange(tab);
|
|
8320
8325
|
} else {
|
|
8321
8326
|
const resolveRes = router.resolve(tab.url);
|
|
8327
|
+
console.log(resolveRes, 2222222222);
|
|
8322
8328
|
router.push({
|
|
8323
8329
|
path: resolveRes.path,
|
|
8324
8330
|
query: Object.assign(resolveRes.query, tab.params)
|
|
@@ -8381,6 +8387,7 @@ const PageContent = vue.defineComponent({
|
|
|
8381
8387
|
}
|
|
8382
8388
|
});
|
|
8383
8389
|
onAddExtraTabs(added => {
|
|
8390
|
+
console.log("add1111111", added);
|
|
8384
8391
|
tabList.value.push(...added);
|
|
8385
8392
|
});
|
|
8386
8393
|
const {
|
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.
|
|
14
|
+
var version = "0.1.95";
|
|
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.
|
|
16
|
+
var version = "0.1.95";
|
|
17
17
|
|
|
18
18
|
const setTheme = theme => {
|
|
19
19
|
if (theme === "dark") {
|
|
@@ -7629,7 +7629,7 @@ function useMicroApp(appList) {
|
|
|
7629
7629
|
const handleRouteChange = useThrottleFn(async () => {
|
|
7630
7630
|
const microAppName = activeAppName.value;
|
|
7631
7631
|
let microAppDefine = appList.find(item => item.name === microAppName);
|
|
7632
|
-
if (!microAppDefine && !
|
|
7632
|
+
if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
|
|
7633
7633
|
const domId = `microApp_${microAppName}`;
|
|
7634
7634
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
7635
7635
|
appContainerList.value.push({
|
|
@@ -8014,7 +8014,10 @@ const TabList = defineComponent({
|
|
|
8014
8014
|
// 当前和前一个页签不展示右侧的竖线
|
|
8015
8015
|
"hide-border": activeTabIndex.value === index || activeTabIndex.value - 1 === index
|
|
8016
8016
|
}],
|
|
8017
|
-
"onClick": () =>
|
|
8017
|
+
"onClick": () => {
|
|
8018
|
+
console.log("111111111", item);
|
|
8019
|
+
emit("tabSelect", item);
|
|
8020
|
+
}
|
|
8018
8021
|
}, [item.icon && createVNode(resolveComponent("icon-font"), {
|
|
8019
8022
|
"class": "icon",
|
|
8020
8023
|
"type": item.icon
|
|
@@ -8047,7 +8050,7 @@ const TabList = defineComponent({
|
|
|
8047
8050
|
"key": "right",
|
|
8048
8051
|
"onClick": () => closeToRight(index)
|
|
8049
8052
|
}, {
|
|
8050
|
-
default: () => ["\u5173\u95ED\u53F3\
|
|
8053
|
+
default: () => ["\u5173\u95ED\u53F3\u4FA71"]
|
|
8051
8054
|
}), createVNode(MenuItem, {
|
|
8052
8055
|
"key": "left",
|
|
8053
8056
|
"onClick": () => closeToLeft(index)
|
|
@@ -8226,6 +8229,7 @@ const PageContent = defineComponent({
|
|
|
8226
8229
|
openedTab.params = isFromMenu ? val.params : queryCombine;
|
|
8227
8230
|
val.params = isFromMenu ? val.params : queryCombine;
|
|
8228
8231
|
} else {
|
|
8232
|
+
console.log("add2222222222", tab);
|
|
8229
8233
|
tabList.value.push({
|
|
8230
8234
|
...tab,
|
|
8231
8235
|
key: key ?? id,
|
|
@@ -8280,6 +8284,7 @@ const PageContent = defineComponent({
|
|
|
8280
8284
|
activeKey.value = id ? id : `${key}${uniqueKey}`;
|
|
8281
8285
|
};
|
|
8282
8286
|
const onTabSelect = tab => {
|
|
8287
|
+
console.log("onTabSelect111111", tab);
|
|
8283
8288
|
if (tab.isExtra) {
|
|
8284
8289
|
router.push({
|
|
8285
8290
|
path: "/",
|
|
@@ -8289,6 +8294,7 @@ const PageContent = defineComponent({
|
|
|
8289
8294
|
handleMenuChange(tab);
|
|
8290
8295
|
} else {
|
|
8291
8296
|
const resolveRes = router.resolve(tab.url);
|
|
8297
|
+
console.log(resolveRes, 2222222222);
|
|
8292
8298
|
router.push({
|
|
8293
8299
|
path: resolveRes.path,
|
|
8294
8300
|
query: Object.assign(resolveRes.query, tab.params)
|
|
@@ -8351,6 +8357,7 @@ const PageContent = defineComponent({
|
|
|
8351
8357
|
}
|
|
8352
8358
|
});
|
|
8353
8359
|
onAddExtraTabs(added => {
|
|
8360
|
+
console.log("add1111111", added);
|
|
8354
8361
|
tabList.value.push(...added);
|
|
8355
8362
|
});
|
|
8356
8363
|
const {
|