@ibiz-template/vue3-components 0.7.41-alpha.32 → 0.7.41-alpha.33

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.
Files changed (22) hide show
  1. package/dist/{index-DO51-jN8.js → index-BA-hBsSe.js} +2 -2
  2. package/dist/index.min.css +1 -1
  3. package/dist/index.system.min.js +1 -1
  4. package/dist/{wang-editor-C66Yv1na.js → wang-editor-CYWOJCad.js} +1 -1
  5. package/dist/{xlsx-util-DsxDMCEc.js → xlsx-util-D2V8VJ2T.js} +1 -1
  6. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +1 -1
  7. package/es/control/dashboard/dashboard-design/dashboard-design.mjs +2 -2
  8. package/es/control/dashboard/dashboard-design/dashboard-design.util.mjs +1 -1
  9. package/es/control/dashboard/dashboard.mjs +1 -1
  10. package/es/control/drtab/drtab-control.util.mjs +1 -1
  11. package/es/util/fullscreen/fullscreen-util.mjs +1 -1
  12. package/es/web-app/guard/auth-guard/auth-guard.mjs +8 -4
  13. package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +1 -1
  14. package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +2 -2
  15. package/lib/control/dashboard/dashboard-design/dashboard-design.util.cjs +1 -1
  16. package/lib/control/dashboard/dashboard.cjs +1 -1
  17. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  18. package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
  19. package/lib/web-app/guard/auth-guard/auth-guard.cjs +8 -4
  20. package/package.json +6 -6
  21. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.28_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.41-alpha.33_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
  22. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.28_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.41-alpha.33_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
@@ -35,7 +35,7 @@ const CustomDashboardContainer = /* @__PURE__ */ defineComponent({
35
35
  showTypeDir.value = type === "left";
36
36
  };
37
37
  const getPortletModelByCodeName = (codeName) => {
38
- const app = ibiz.hub.getApp(ibiz.env.appId);
38
+ const app = ibiz.hub.getApp(props.dashboard.model.appId);
39
39
  if (app.model.appPortlets) {
40
40
  const appPortlet = app.model.appPortlets.find((portlet) => {
41
41
  var _a;
@@ -111,7 +111,7 @@ const DashboardDesign = /* @__PURE__ */ defineComponent({
111
111
  };
112
112
  const prepareData = async () => {
113
113
  const list3 = [];
114
- const app = ibiz.hub.getApp(ibiz.env.appId);
114
+ const app = ibiz.hub.getApp(c.model.appId);
115
115
  if (c.model.customizeMode === 2) {
116
116
  const dynamicPortlets = await c.loadAllDynaPortlet();
117
117
  dynamicPortlets == null ? void 0 : dynamicPortlets.forEach((portlet) => {
@@ -210,7 +210,7 @@ const DashboardDesign = /* @__PURE__ */ defineComponent({
210
210
  });
211
211
  };
212
212
  const getPortletModelByCodeName = (tag) => {
213
- const app = ibiz.hub.getApp(ibiz.env.appId);
213
+ const app = ibiz.hub.getApp(c.model.appId);
214
214
  if (app.model.appPortlets) {
215
215
  const appPortlet = app.model.appPortlets.find((portlet) => {
216
216
  var _a;
@@ -143,7 +143,7 @@ function calculatePositions(items, parentPos) {
143
143
  function loadDefaultLayoutModel(dashboard, customDashboard) {
144
144
  var _a;
145
145
  const { layoutRowH, layoutColNum } = customDashboard;
146
- const app = ibiz.hub.getApp(ibiz.env.appId);
146
+ const app = ibiz.hub.getApp(dashboard.model.appId);
147
147
  const recursivePortlePart = (container, parentPos) => {
148
148
  const { controls, layout } = container;
149
149
  const children = (controls == null ? void 0 : controls.filter((child) => !!child.layoutPos)) || [];
@@ -99,7 +99,7 @@ const DashboardControl = /* @__PURE__ */ defineComponent({
99
99
  return item.id === name;
100
100
  });
101
101
  if (targetIndex !== -1) {
102
- const app = ibiz.hub.getApp(ibiz.env.appId);
102
+ const app = ibiz.hub.getApp(c.model.appId);
103
103
  const model = await c.loadDynaPortletById("".concat(app.model.codeName, ".").concat(name));
104
104
  if (model) {
105
105
  refreshTagObj[model.id] = {
@@ -1,5 +1,5 @@
1
1
  import { ref, watch, watchEffect, onUnmounted } from 'vue';
2
- import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.28_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
2
+ import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.33_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
3
3
 
4
4
  "use strict";
5
5
  function useAppDRTab(c, controlRef, counterData) {
@@ -1,6 +1,6 @@
1
1
  import { createApp } from 'vue';
2
2
  import ElementPlus from 'element-plus';
3
- import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.28_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
3
+ import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.33_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
4
4
  import { IBizFullscreenToolbar } from '../../common/fullscreen-toolbar/fullscreen-toolbar.mjs';
5
5
 
6
6
  "use strict";
@@ -272,15 +272,19 @@ class AuthGuard {
272
272
  return uiTheme.themeParams && uiTheme.themeParams["icon-theme"] !== "true";
273
273
  });
274
274
  if (colorThemes.length > 0) {
275
- const colorTheme = colorThemes[0];
276
- await ibiz.util.theme.loadTheme(colorTheme);
275
+ for (let index = 0; index < colorThemes.length; index++) {
276
+ const colorTheme = colorThemes[index];
277
+ await ibiz.util.theme.loadTheme(colorTheme);
278
+ }
277
279
  }
278
280
  const iconThemes = uiThemes.filter((uiTheme) => {
279
281
  return uiTheme.themeParams && uiTheme.themeParams["icon-theme"] === "true";
280
282
  });
281
283
  if (iconThemes.length > 0) {
282
- const iconTheme = iconThemes[0];
283
- await ibiz.util.theme.loadTheme(iconTheme, "ICON");
284
+ for (let index = 0; index < iconThemes.length; index++) {
285
+ const iconTheme = iconThemes[index];
286
+ await ibiz.util.theme.loadTheme(iconTheme, "ICON");
287
+ }
284
288
  }
285
289
  }
286
290
  }
@@ -37,7 +37,7 @@ const CustomDashboardContainer = /* @__PURE__ */ vue.defineComponent({
37
37
  showTypeDir.value = type === "left";
38
38
  };
39
39
  const getPortletModelByCodeName = (codeName) => {
40
- const app = ibiz.hub.getApp(ibiz.env.appId);
40
+ const app = ibiz.hub.getApp(props.dashboard.model.appId);
41
41
  if (app.model.appPortlets) {
42
42
  const appPortlet = app.model.appPortlets.find((portlet) => {
43
43
  var _a;
@@ -113,7 +113,7 @@ const DashboardDesign = /* @__PURE__ */ vue.defineComponent({
113
113
  };
114
114
  const prepareData = async () => {
115
115
  const list3 = [];
116
- const app = ibiz.hub.getApp(ibiz.env.appId);
116
+ const app = ibiz.hub.getApp(c.model.appId);
117
117
  if (c.model.customizeMode === 2) {
118
118
  const dynamicPortlets = await c.loadAllDynaPortlet();
119
119
  dynamicPortlets == null ? void 0 : dynamicPortlets.forEach((portlet) => {
@@ -212,7 +212,7 @@ const DashboardDesign = /* @__PURE__ */ vue.defineComponent({
212
212
  });
213
213
  };
214
214
  const getPortletModelByCodeName = (tag) => {
215
- const app = ibiz.hub.getApp(ibiz.env.appId);
215
+ const app = ibiz.hub.getApp(c.model.appId);
216
216
  if (app.model.appPortlets) {
217
217
  const appPortlet = app.model.appPortlets.find((portlet) => {
218
218
  var _a;
@@ -145,7 +145,7 @@ function calculatePositions(items, parentPos) {
145
145
  function loadDefaultLayoutModel(dashboard, customDashboard) {
146
146
  var _a;
147
147
  const { layoutRowH, layoutColNum } = customDashboard;
148
- const app = ibiz.hub.getApp(ibiz.env.appId);
148
+ const app = ibiz.hub.getApp(dashboard.model.appId);
149
149
  const recursivePortlePart = (container, parentPos) => {
150
150
  const { controls, layout } = container;
151
151
  const children = (controls == null ? void 0 : controls.filter((child) => !!child.layoutPos)) || [];
@@ -101,7 +101,7 @@ const DashboardControl = /* @__PURE__ */ vue.defineComponent({
101
101
  return item.id === name;
102
102
  });
103
103
  if (targetIndex !== -1) {
104
- const app = ibiz.hub.getApp(ibiz.env.appId);
104
+ const app = ibiz.hub.getApp(c.model.appId);
105
105
  const model = await c.loadDynaPortletById("".concat(app.model.codeName, ".").concat(name));
106
106
  if (model) {
107
107
  refreshTagObj[model.id] = {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var vue = require('vue');
4
- var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.28_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs');
4
+ var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.33_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs');
5
5
 
6
6
  "use strict";
7
7
  function useAppDRTab(c, controlRef, counterData) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var vue = require('vue');
4
4
  var ElementPlus = require('element-plus');
5
- var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.28_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs');
5
+ var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.33_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs');
6
6
  var fullscreenToolbar = require('../../common/fullscreen-toolbar/fullscreen-toolbar.cjs');
7
7
 
8
8
  "use strict";
@@ -274,15 +274,19 @@ class AuthGuard {
274
274
  return uiTheme.themeParams && uiTheme.themeParams["icon-theme"] !== "true";
275
275
  });
276
276
  if (colorThemes.length > 0) {
277
- const colorTheme = colorThemes[0];
278
- await ibiz.util.theme.loadTheme(colorTheme);
277
+ for (let index = 0; index < colorThemes.length; index++) {
278
+ const colorTheme = colorThemes[index];
279
+ await ibiz.util.theme.loadTheme(colorTheme);
280
+ }
279
281
  }
280
282
  const iconThemes = uiThemes.filter((uiTheme) => {
281
283
  return uiTheme.themeParams && uiTheme.themeParams["icon-theme"] === "true";
282
284
  });
283
285
  if (iconThemes.length > 0) {
284
- const iconTheme = iconThemes[0];
285
- await ibiz.util.theme.loadTheme(iconTheme, "ICON");
286
+ for (let index = 0; index < iconThemes.length; index++) {
287
+ const iconTheme = iconThemes[index];
288
+ await ibiz.util.theme.loadTheme(iconTheme, "ICON");
289
+ }
286
290
  }
287
291
  }
288
292
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-components",
3
- "version": "0.7.41-alpha.32",
3
+ "version": "0.7.41-alpha.33",
4
4
  "description": "web端组件库(vue3)",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",
@@ -32,14 +32,14 @@
32
32
  "@floating-ui/dom": "^1.5.3",
33
33
  "@ibiz-template-plugin/ai-chat": "^0.0.32",
34
34
  "@ibiz-template-plugin/gantt": "0.1.8-alpha.316",
35
- "@ibiz-template-plugin/bi-report": "0.0.27",
35
+ "@ibiz-template-plugin/bi-report": "0.0.28",
36
36
  "@ibiz-template-plugin/data-view": "0.0.6",
37
- "@ibiz-template/core": "0.7.41-alpha.28",
37
+ "@ibiz-template/core": "0.7.41-alpha.33",
38
38
  "@ibiz-template/devtool": "0.0.13",
39
- "@ibiz-template/model-helper": "0.7.41-alpha.32",
40
- "@ibiz-template/runtime": "0.7.41-alpha.32",
39
+ "@ibiz-template/model-helper": "0.7.41-alpha.33",
40
+ "@ibiz-template/runtime": "0.7.41-alpha.33",
41
41
  "@ibiz-template/theme": "0.7.39",
42
- "@ibiz-template/vue3-util": "0.7.41-alpha.32",
42
+ "@ibiz-template/vue3-util": "0.7.41-alpha.33",
43
43
  "@ibiz-template/web-theme": "3.9.0",
44
44
  "@ibiz/model-core": "^0.1.83",
45
45
  "@imengyu/vue3-context-menu": "^1.3.5",