inl-ui 0.1.91 → 0.1.93
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 +6 -8
- package/dist/components/index.js +6 -8
- package/dist/index.cjs +7 -9
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -9
- 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 && !microAppName.startsWith("mtip-")
|
|
552
|
+
if (!microAppDefine && !(microAppName.startsWith("mtip-") || microAppName.startsWith("innovateDept-"))) return;
|
|
553
553
|
const domId = `microApp_${microAppName}`;
|
|
554
554
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
555
555
|
appContainerList.value.push({
|
|
@@ -7047,7 +7047,6 @@ const PageContent = vue.defineComponent({
|
|
|
7047
7047
|
iframeList.value.splice(idx, 1);
|
|
7048
7048
|
}
|
|
7049
7049
|
};
|
|
7050
|
-
console.log(loadAppList, appDomList, 777777777777777);
|
|
7051
7050
|
const extraPageList = vue.ref([]);
|
|
7052
7051
|
const handleExtraPageClose = tab => {
|
|
7053
7052
|
const idx = extraPageList.value.findIndex(item => item.key === tab.key && item.uniqueKey === tab.uniqueKey);
|
|
@@ -7173,7 +7172,6 @@ const PageContent = vue.defineComponent({
|
|
|
7173
7172
|
};
|
|
7174
7173
|
const activeMenu = useActiveMenu(() => props.menu, props.extraPages, false, false, extraIframeList);
|
|
7175
7174
|
vue.watch(activeMenu, (val, oldVal) => {
|
|
7176
|
-
console.log(val, oldVal, 888888888);
|
|
7177
7175
|
handleMenuChange(val);
|
|
7178
7176
|
function postIframeActive(id, active) {
|
|
7179
7177
|
const iframeEl = document.querySelector(`#iframe${id}`);
|
|
@@ -7305,13 +7303,13 @@ const PageContent = vue.defineComponent({
|
|
|
7305
7303
|
"alt": ""
|
|
7306
7304
|
}, null)]), [[vue.vShow, show]]);
|
|
7307
7305
|
};
|
|
7308
|
-
const childTypes =
|
|
7309
|
-
childTypes.
|
|
7306
|
+
const childTypes = [];
|
|
7307
|
+
childTypes.push(vue.createVNode(vue.Fragment, null, [appDomList.value.map(item => vue.withDirectives(vue.createVNode("div", {
|
|
7310
7308
|
"key": item.id,
|
|
7311
7309
|
"id": item.id
|
|
7312
7310
|
}, null), [[vue.vShow, item.name === activeAppName.value]]))]));
|
|
7313
|
-
childTypes.
|
|
7314
|
-
childTypes.
|
|
7311
|
+
childTypes.push(vue.createVNode(vue.Fragment, null, [iframeList.value.map(iframeRender)]));
|
|
7312
|
+
childTypes.push(vue.createVNode(vue.Fragment, null, [extraPageList.value.map(item => {
|
|
7315
7313
|
const extraPageShoe = getTabUniqueKey(item) === activeKey.value;
|
|
7316
7314
|
return vue.withDirectives(vue.createVNode("div", {
|
|
7317
7315
|
"key": item.key + item.refreshKey,
|
|
@@ -7328,7 +7326,7 @@ const PageContent = vue.defineComponent({
|
|
|
7328
7326
|
}, [props.showTabList && tabs, vue.createVNode("div", {
|
|
7329
7327
|
"class": ["page-container", containerCns],
|
|
7330
7328
|
"ref": props.pageContainerRef
|
|
7331
|
-
}, [childTypes
|
|
7329
|
+
}, [childTypes])]);
|
|
7332
7330
|
};
|
|
7333
7331
|
}
|
|
7334
7332
|
});
|
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 && !microAppName.startsWith("mtip-")
|
|
524
|
+
if (!microAppDefine && !(microAppName.startsWith("mtip-") || microAppName.startsWith("innovateDept-"))) return;
|
|
525
525
|
const domId = `microApp_${microAppName}`;
|
|
526
526
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
527
527
|
appContainerList.value.push({
|
|
@@ -7019,7 +7019,6 @@ const PageContent = defineComponent({
|
|
|
7019
7019
|
iframeList.value.splice(idx, 1);
|
|
7020
7020
|
}
|
|
7021
7021
|
};
|
|
7022
|
-
console.log(loadAppList, appDomList, 777777777777777);
|
|
7023
7022
|
const extraPageList = ref([]);
|
|
7024
7023
|
const handleExtraPageClose = tab => {
|
|
7025
7024
|
const idx = extraPageList.value.findIndex(item => item.key === tab.key && item.uniqueKey === tab.uniqueKey);
|
|
@@ -7145,7 +7144,6 @@ const PageContent = defineComponent({
|
|
|
7145
7144
|
};
|
|
7146
7145
|
const activeMenu = useActiveMenu(() => props.menu, props.extraPages, false, false, extraIframeList);
|
|
7147
7146
|
watch(activeMenu, (val, oldVal) => {
|
|
7148
|
-
console.log(val, oldVal, 888888888);
|
|
7149
7147
|
handleMenuChange(val);
|
|
7150
7148
|
function postIframeActive(id, active) {
|
|
7151
7149
|
const iframeEl = document.querySelector(`#iframe${id}`);
|
|
@@ -7277,13 +7275,13 @@ const PageContent = defineComponent({
|
|
|
7277
7275
|
"alt": ""
|
|
7278
7276
|
}, null)]), [[vShow, show]]);
|
|
7279
7277
|
};
|
|
7280
|
-
const childTypes =
|
|
7281
|
-
childTypes.
|
|
7278
|
+
const childTypes = [];
|
|
7279
|
+
childTypes.push(createVNode(Fragment, null, [appDomList.value.map(item => withDirectives(createVNode("div", {
|
|
7282
7280
|
"key": item.id,
|
|
7283
7281
|
"id": item.id
|
|
7284
7282
|
}, null), [[vShow, item.name === activeAppName.value]]))]));
|
|
7285
|
-
childTypes.
|
|
7286
|
-
childTypes.
|
|
7283
|
+
childTypes.push(createVNode(Fragment, null, [iframeList.value.map(iframeRender)]));
|
|
7284
|
+
childTypes.push(createVNode(Fragment, null, [extraPageList.value.map(item => {
|
|
7287
7285
|
const extraPageShoe = getTabUniqueKey(item) === activeKey.value;
|
|
7288
7286
|
return withDirectives(createVNode("div", {
|
|
7289
7287
|
"key": item.key + item.refreshKey,
|
|
@@ -7300,7 +7298,7 @@ const PageContent = defineComponent({
|
|
|
7300
7298
|
}, [props.showTabList && tabs, createVNode("div", {
|
|
7301
7299
|
"class": ["page-container", containerCns],
|
|
7302
7300
|
"ref": props.pageContainerRef
|
|
7303
|
-
}, [childTypes
|
|
7301
|
+
}, [childTypes])]);
|
|
7304
7302
|
};
|
|
7305
7303
|
}
|
|
7306
7304
|
});
|
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.92";
|
|
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 && !microAppName.startsWith("mtip-")
|
|
7662
|
+
if (!microAppDefine && !(microAppName.startsWith("mtip-") || microAppName.startsWith("innovateDept-"))) return;
|
|
7663
7663
|
const domId = `microApp_${microAppName}`;
|
|
7664
7664
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
7665
7665
|
appContainerList.value.push({
|
|
@@ -8202,7 +8202,6 @@ const PageContent = vue.defineComponent({
|
|
|
8202
8202
|
iframeList.value.splice(idx, 1);
|
|
8203
8203
|
}
|
|
8204
8204
|
};
|
|
8205
|
-
console.log(loadAppList, appDomList, 777777777777777);
|
|
8206
8205
|
const extraPageList = vue.ref([]);
|
|
8207
8206
|
const handleExtraPageClose = tab => {
|
|
8208
8207
|
const idx = extraPageList.value.findIndex(item => item.key === tab.key && item.uniqueKey === tab.uniqueKey);
|
|
@@ -8328,7 +8327,6 @@ const PageContent = vue.defineComponent({
|
|
|
8328
8327
|
};
|
|
8329
8328
|
const activeMenu = useActiveMenu(() => props.menu, props.extraPages, false, false, extraIframeList);
|
|
8330
8329
|
vue.watch(activeMenu, (val, oldVal) => {
|
|
8331
|
-
console.log(val, oldVal, 888888888);
|
|
8332
8330
|
handleMenuChange(val);
|
|
8333
8331
|
function postIframeActive(id, active) {
|
|
8334
8332
|
const iframeEl = document.querySelector(`#iframe${id}`);
|
|
@@ -8460,13 +8458,13 @@ const PageContent = vue.defineComponent({
|
|
|
8460
8458
|
"alt": ""
|
|
8461
8459
|
}, null)]), [[vue.vShow, show]]);
|
|
8462
8460
|
};
|
|
8463
|
-
const childTypes =
|
|
8464
|
-
childTypes.
|
|
8461
|
+
const childTypes = [];
|
|
8462
|
+
childTypes.push(vue.createVNode(vue.Fragment, null, [appDomList.value.map(item => vue.withDirectives(vue.createVNode("div", {
|
|
8465
8463
|
"key": item.id,
|
|
8466
8464
|
"id": item.id
|
|
8467
8465
|
}, null), [[vue.vShow, item.name === activeAppName.value]]))]));
|
|
8468
|
-
childTypes.
|
|
8469
|
-
childTypes.
|
|
8466
|
+
childTypes.push(vue.createVNode(vue.Fragment, null, [iframeList.value.map(iframeRender)]));
|
|
8467
|
+
childTypes.push(vue.createVNode(vue.Fragment, null, [extraPageList.value.map(item => {
|
|
8470
8468
|
const extraPageShoe = getTabUniqueKey(item) === activeKey.value;
|
|
8471
8469
|
return vue.withDirectives(vue.createVNode("div", {
|
|
8472
8470
|
"key": item.key + item.refreshKey,
|
|
@@ -8483,7 +8481,7 @@ const PageContent = vue.defineComponent({
|
|
|
8483
8481
|
}, [props.showTabList && tabs, vue.createVNode("div", {
|
|
8484
8482
|
"class": ["page-container", containerCns],
|
|
8485
8483
|
"ref": props.pageContainerRef
|
|
8486
|
-
}, [childTypes
|
|
8484
|
+
}, [childTypes])]);
|
|
8487
8485
|
};
|
|
8488
8486
|
}
|
|
8489
8487
|
});
|
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.92";
|
|
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.92";
|
|
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 && !microAppName.startsWith("mtip-")
|
|
7632
|
+
if (!microAppDefine && !(microAppName.startsWith("mtip-") || microAppName.startsWith("innovateDept-"))) return;
|
|
7633
7633
|
const domId = `microApp_${microAppName}`;
|
|
7634
7634
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
7635
7635
|
appContainerList.value.push({
|
|
@@ -8172,7 +8172,6 @@ const PageContent = defineComponent({
|
|
|
8172
8172
|
iframeList.value.splice(idx, 1);
|
|
8173
8173
|
}
|
|
8174
8174
|
};
|
|
8175
|
-
console.log(loadAppList, appDomList, 777777777777777);
|
|
8176
8175
|
const extraPageList = ref([]);
|
|
8177
8176
|
const handleExtraPageClose = tab => {
|
|
8178
8177
|
const idx = extraPageList.value.findIndex(item => item.key === tab.key && item.uniqueKey === tab.uniqueKey);
|
|
@@ -8298,7 +8297,6 @@ const PageContent = defineComponent({
|
|
|
8298
8297
|
};
|
|
8299
8298
|
const activeMenu = useActiveMenu(() => props.menu, props.extraPages, false, false, extraIframeList);
|
|
8300
8299
|
watch(activeMenu, (val, oldVal) => {
|
|
8301
|
-
console.log(val, oldVal, 888888888);
|
|
8302
8300
|
handleMenuChange(val);
|
|
8303
8301
|
function postIframeActive(id, active) {
|
|
8304
8302
|
const iframeEl = document.querySelector(`#iframe${id}`);
|
|
@@ -8430,13 +8428,13 @@ const PageContent = defineComponent({
|
|
|
8430
8428
|
"alt": ""
|
|
8431
8429
|
}, null)]), [[vShow, show]]);
|
|
8432
8430
|
};
|
|
8433
|
-
const childTypes =
|
|
8434
|
-
childTypes.
|
|
8431
|
+
const childTypes = [];
|
|
8432
|
+
childTypes.push(createVNode(Fragment, null, [appDomList.value.map(item => withDirectives(createVNode("div", {
|
|
8435
8433
|
"key": item.id,
|
|
8436
8434
|
"id": item.id
|
|
8437
8435
|
}, null), [[vShow, item.name === activeAppName.value]]))]));
|
|
8438
|
-
childTypes.
|
|
8439
|
-
childTypes.
|
|
8436
|
+
childTypes.push(createVNode(Fragment, null, [iframeList.value.map(iframeRender)]));
|
|
8437
|
+
childTypes.push(createVNode(Fragment, null, [extraPageList.value.map(item => {
|
|
8440
8438
|
const extraPageShoe = getTabUniqueKey(item) === activeKey.value;
|
|
8441
8439
|
return withDirectives(createVNode("div", {
|
|
8442
8440
|
"key": item.key + item.refreshKey,
|
|
@@ -8453,7 +8451,7 @@ const PageContent = defineComponent({
|
|
|
8453
8451
|
}, [props.showTabList && tabs, createVNode("div", {
|
|
8454
8452
|
"class": ["page-container", containerCns],
|
|
8455
8453
|
"ref": props.pageContainerRef
|
|
8456
|
-
}, [childTypes
|
|
8454
|
+
}, [childTypes])]);
|
|
8457
8455
|
};
|
|
8458
8456
|
}
|
|
8459
8457
|
});
|