@das-fed/web 7.1.0-qatar.5 → 7.1.0-qatar.7

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.
@@ -6,7 +6,7 @@ import { DasSpin as E } from "@das-fed/ui/packages/components/spin/index";
6
6
  import { getTabInfo as L } from "@das-fed/utils/common-info";
7
7
  import { setShowLayout as P } from "@das-fed/utils/common-tools";
8
8
  import { createService as q } from "@das-fed/utils/create-api-service";
9
- import { u as B, p as K, a as l, c as d, b as M, l as N, g as O, d as V } from "./index-DRBlGObU.js";
9
+ import { u as B, p as K, a as l, c as d, b as M, l as N, g as O, d as V } from "./index-CTY55Yai.js";
10
10
  const F = "v1", G = q(`/api/justauth/client/${F}`), H = G.get("/visitor/kingdee/auth/user/auth_code"), oe = /* @__PURE__ */ U({
11
11
  __name: "index",
12
12
  setup(J) {
Binary file
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as c } from "./index-DRBlGObU.js";
2
+ import { _ as c } from "./index-CTY55Yai.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return r(), e("div");
@@ -435,8 +435,12 @@ const qs = (v) => {
435
435
  // 大尺寸圆角,卡片、弹窗、通知等
436
436
  "--das-radius-xl": { light: "4px", qatar: "12px" },
437
437
  // 超大尺寸圆角,强调容器或特殊面板
438
- "--das-radius-pill": { light: "999px", qatar: "999px" }
438
+ "--das-radius-pill": { light: "999px", qatar: "999px" },
439
439
  // 胶囊圆角
440
+ "--das-radius-dropdown": { light: "4px", qatar: "6px" },
441
+ // 下拉框、折叠下拉面板圆角
442
+ "--das-radius-container": { light: "0px", qatar: "8px" }
443
+ // 容器圆角
440
444
  }, js = {
441
445
  "--das-scrollbar-padding": "1px",
442
446
  "--das-scrollbar-thumb-size": "8px"
@@ -20170,7 +20174,7 @@ g("@das-fed/web");
20170
20174
  const W4 = [
20171
20175
  {
20172
20176
  path: re,
20173
- component: () => import("./index-8lHAVOXu.js"),
20177
+ component: () => import("./index-B9S5yxEO.js"),
20174
20178
  meta: {
20175
20179
  layout: {
20176
20180
  minWidth: "0px"
@@ -20179,7 +20183,7 @@ const W4 = [
20179
20183
  },
20180
20184
  {
20181
20185
  path: l5,
20182
- component: () => import("./index-VAdDILqv.js")
20186
+ component: () => import("./index-BO2cf8lW.js")
20183
20187
  }
20184
20188
  ], Zy = {
20185
20189
  routes: W4,
Binary file
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as s, D as t, F as n, E as i, G as r, e as u, m, y as o, q as g, n as l, f as p, k as D, w as h, x as L, A as T, B as b, h as c, i as A, J as R, K as y, r as M, H as W, I, N as F, L as V, C as d, s as f, j as k, o as v, v as w, z as x, t as G } from "./index-DRBlGObU.js";
1
+ import { M as s, D as t, F as n, E as i, G as r, e as u, m, y as o, q as g, n as l, f as p, k as D, w as h, x as L, A as T, B as b, h as c, i as A, J as R, K as y, r as M, H as W, I, N as F, L as V, C as d, s as f, j as k, o as v, v as w, z as x, t as G } from "./index-CTY55Yai.js";
2
2
  export {
3
3
  s as DasMainAppLayout,
4
4
  t as DasWebLayout,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@das-fed/web",
3
- "version": "7.1.0-qatar.5",
3
+ "version": "7.1.0-qatar.7",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "7.1.0-qatar.5",
8
- "@das-fed/utils": "7.1.0-qatar.5",
9
- "@das-fed/web": "7.1.0-qatar.5",
10
- "@das-fed/web-components": "7.1.0-qatar.5",
7
+ "@das-fed/ui": "7.1.0-qatar.7",
8
+ "@das-fed/utils": "7.1.0-qatar.7",
9
+ "@das-fed/web": "7.1.0-qatar.7",
10
+ "@das-fed/web-components": "7.1.0-qatar.7",
11
11
  "@microsoft/signalr": "^8.0.7",
12
12
  "@vueuse/core": "^9.13.0",
13
13
  "animate.css": "^4.1.1",
@@ -19,7 +19,7 @@
19
19
  "vue-router": "^4.4.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@das-fed/cli": "7.1.0-qatar.5",
22
+ "@das-fed/cli": "7.1.0-qatar.7",
23
23
  "@types/crypto-js": "^4.2.2",
24
24
  "@types/lodash": "^4.14.194",
25
25
  "@types/lodash-es": "^4.17.12",
@@ -1,6 +1,6 @@
1
- import { ref as u, computed as b } from "vue";
1
+ import { ref as m, computed as b } from "vue";
2
2
  import { setThemeRule as F } from "@das-fed/web/packages/theme/index";
3
- const f = {
3
+ const p = {
4
4
  "--das-color-brand-primary": { light: "#276ff5", qatar: "#348CAB" },
5
5
  // 品牌主色-默认
6
6
  "--das-color-brand-primary-light": { light: "#F2F9FF", qatar: "#EBFAFF" },
@@ -57,7 +57,7 @@ const f = {
57
57
  // 描边色-常规
58
58
  "--das-color-border-strong": { light: "#D9D9D9", qatar: "#D9D9D9" }
59
59
  // 描边色-强调
60
- }, p = {
60
+ }, f = {
61
61
  "--das-font-size-xxs": "10px",
62
62
  // 极小字号,用于角标、辅助标识、弱提示等低层级信息
63
63
  "--das-font-size-xs": "12px",
@@ -132,78 +132,82 @@ const f = {
132
132
  // 大尺寸圆角,卡片、弹窗、通知等
133
133
  "--das-radius-xl": { light: "4px", qatar: "12px" },
134
134
  // 超大尺寸圆角,强调容器或特殊面板
135
- "--das-radius-pill": { light: "999px", qatar: "999px" }
135
+ "--das-radius-pill": { light: "999px", qatar: "999px" },
136
136
  // 胶囊圆角
137
+ "--das-radius-dropdown": { light: "4px", qatar: "6px" },
138
+ // 下拉框、折叠下拉面板圆角
139
+ "--das-radius-container": { light: "0px", qatar: "8px" }
140
+ // 容器圆角
137
141
  }, y = {
138
142
  "--das-scrollbar-padding": "1px",
139
143
  "--das-scrollbar-thumb-size": "8px"
140
144
  }, T = () => {
141
- const e = /* @__PURE__ */ Object.assign({ "./module/color.ts": f, "./module/fontSize.ts": p, "./module/menu.ts": q, "./module/radius.ts": v, "./module/scrollbar.ts": y });
142
- Object.keys(e).map((a) => F(e[a]));
143
- }, c = u("light"), g = u({
145
+ const a = /* @__PURE__ */ Object.assign({ "./module/color.ts": p, "./module/fontSize.ts": f, "./module/menu.ts": q, "./module/radius.ts": v, "./module/scrollbar.ts": y });
146
+ Object.keys(a).map((e) => F(a[e]));
147
+ }, c = m("light"), g = m({
144
148
  light: {},
145
149
  dark: {}
146
- }), h = u({
150
+ }), h = m({
147
151
  light: {},
148
152
  dark: {}
149
- }), B = "dasTheme", m = "das-theme", _ = (e) => {
150
- let a = {
153
+ }), B = "dasTheme", u = "das-theme", _ = (a) => {
154
+ let e = {
151
155
  light: {},
152
156
  dark: {}
153
157
  };
154
- if (!e) return a;
155
- const { light: s = {}, dark: o = {}, qatar: l = {}, base: t = {}, ...r } = e || {};
156
- a.light = { ...s, ...t }, a.dark = o || {};
158
+ if (!a) return e;
159
+ const { light: s = {}, dark: o = {}, qatar: l = {}, base: t = {}, ...r } = a || {};
160
+ e.light = { ...s, ...t }, e.dark = o || {};
157
161
  for (const d in r) {
158
162
  const i = r[d];
159
- if (typeof i == "string" && (a.light[d] = i), typeof i == "object")
163
+ if (typeof i == "string" && (e.light[d] = i), typeof i == "object")
160
164
  for (const n in i)
161
- a[n] || (a[n] = {}), a[n][d] || (a[n][d] = {}), a[n][d] = i[n];
165
+ e[n] || (e[n] = {}), e[n][d] || (e[n][d] = {}), e[n][d] = i[n];
162
166
  }
163
- return a;
167
+ return e;
164
168
  };
165
- function E(e) {
166
- const a = "das-global-theme", s = "das-custom-theme";
169
+ function E(a) {
170
+ const e = "das-global-theme", s = "das-custom-theme";
167
171
  if (!document.getElementById(s)) {
168
172
  const l = document.createElement("style");
169
173
  l.appendChild(document.createTextNode("")), l.setAttribute("id", s), document.head.appendChild(l);
170
174
  }
171
- if (!document.getElementById(a)) {
175
+ if (!document.getElementById(e)) {
172
176
  const l = document.createElement("style");
173
- l.appendChild(document.createTextNode("")), l.setAttribute("id", a), document.head.appendChild(l);
177
+ l.appendChild(document.createTextNode("")), l.setAttribute("id", e), document.head.appendChild(l);
174
178
  }
175
- e || (e = "custom");
179
+ a || (a = "custom");
176
180
  let o = document.getElementById(s);
177
- return e === "global" && (o = document.getElementById(a)), o.sheet;
181
+ return a === "global" && (o = document.getElementById(e)), o.sheet;
178
182
  }
179
- const x = (e, a) => {
180
- a || (a = "custom");
181
- const s = E(a), o = _(e);
183
+ const x = (a, e) => {
184
+ e || (e = "custom");
185
+ const s = E(e), o = _(a);
182
186
  for (const t in o) {
183
187
  const r = o[t];
184
188
  for (const d in r) {
185
- const i = r[d], n = `${m}-${t}`;
189
+ const i = r[d], n = `${u}-${t}`;
186
190
  s.insertRule(`.${n} { ${d}:${i} } `, s.cssRules.length);
187
191
  }
188
- a === "global" && (h.value[t] || (h.value[t] = {}), h.value[t] = { ...h.value[t], ...r }), a === "custom" && (g.value[t] || (g.value[t] = {}), g.value[t] = { ...g.value[t], ...r });
192
+ e === "global" && (h.value[t] || (h.value[t] = {}), h.value[t] = { ...h.value[t], ...r }), e === "custom" && (g.value[t] || (g.value[t] = {}), g.value[t] = { ...g.value[t], ...r });
189
193
  }
190
- const l = `${m}-${c.value}`;
194
+ const l = `${u}-${c.value}`;
191
195
  document.body.classList.contains(l) || document.body.classList.add(l);
192
- }, z = async (e) => {
196
+ }, z = async (a) => {
193
197
  var o, l;
194
- const a = window[B];
195
- a && x(a, "global");
196
- let s = Object.assign(((o = e == null ? void 0 : e.theme) == null ? void 0 : o.glob) || {});
197
- (l = e == null ? void 0 : e.microApps) == null || l.map((t) => {
198
+ const e = window[B];
199
+ e && x(e, "global");
200
+ let s = Object.assign(((o = a == null ? void 0 : a.theme) == null ? void 0 : o.glob) || {});
201
+ (l = a == null ? void 0 : a.microApps) == null || l.map((t) => {
198
202
  var r;
199
203
  s = Object.assign(s, ((r = t.theme) == null ? void 0 : r.glob) || {});
200
204
  }), Object.values(s).filter((t) => !!t).flat().map((t) => x(t));
201
- }, $ = (e) => {
202
- document.body.classList.add(`${m}-light`), e === "light" && document.body.classList.remove(`${m}-${c.value}`), c.value = e, document.body.classList.add(`${m}-${c.value}`);
203
- }, R = () => c.value, C = (e) => b(() => {
204
- var a, s, o, l, t, r, d, i;
205
- return ((s = (a = h.value) == null ? void 0 : a[c.value]) == null ? void 0 : s[e]) || ((l = (o = g.value) == null ? void 0 : o[c.value]) == null ? void 0 : l[e]) || ((r = (t = h.value) == null ? void 0 : t.light) == null ? void 0 : r[e]) || ((i = (d = g.value) == null ? void 0 : d.light) == null ? void 0 : i[e]) || e;
206
- }), k = (e) => `var(${e})`, I = C;
205
+ }, $ = (a) => {
206
+ document.body.classList.add(`${u}-light`), a === "light" && document.body.classList.remove(`${u}-${c.value}`), c.value = a, document.body.classList.add(`${u}-${c.value}`);
207
+ }, R = () => c.value, C = (a) => b(() => {
208
+ var e, s, o, l, t, r, d, i;
209
+ return ((s = (e = h.value) == null ? void 0 : e[c.value]) == null ? void 0 : s[a]) || ((l = (o = g.value) == null ? void 0 : o[c.value]) == null ? void 0 : l[a]) || ((r = (t = h.value) == null ? void 0 : t.light) == null ? void 0 : r[a]) || ((i = (d = g.value) == null ? void 0 : d.light) == null ? void 0 : i[a]) || a;
210
+ }), k = (a) => `var(${a})`, I = C;
207
211
  export {
208
212
  c as currentTheme,
209
213
  R as getTheme,
Binary file
Binary file
Binary file