@das-fed/upf-utils 6.4.0-dev.246 → 6.4.0-dev.247

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 (47) hide show
  1. package/api-services/es5.js +973 -976
  2. package/api-services/index.js +729 -733
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +1114 -1102
  5. package/api-services/modules/app-manage/index.js +920 -902
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +1088 -1079
  8. package/api-services/modules/authentication/index.js +897 -883
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/duty-manage/es5.js +1048 -1058
  11. package/api-services/modules/duty-manage/index.js +858 -872
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/file/es5.js +1259 -1271
  14. package/api-services/modules/file/index.js +1030 -1048
  15. package/api-services/modules/file/index.js.gz +0 -0
  16. package/api-services/modules/gateway-edge/es5.js +1079 -1088
  17. package/api-services/modules/gateway-edge/index.js +883 -897
  18. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  19. package/api-services/modules/link/es5.js +1114 -1102
  20. package/api-services/modules/link/index.js +920 -902
  21. package/api-services/modules/link/index.js.gz +0 -0
  22. package/api-services/modules/permission/es5.js +1102 -1114
  23. package/api-services/modules/permission/index.js +902 -920
  24. package/api-services/modules/permission/index.js.gz +0 -0
  25. package/api-services/modules/portal/es5.js +1114 -1102
  26. package/api-services/modules/portal/index.js +920 -902
  27. package/api-services/modules/portal/index.js.gz +0 -0
  28. package/api-services/modules/super-admin/es5.js +1093 -1081
  29. package/api-services/modules/super-admin/index.js +901 -883
  30. package/api-services/modules/super-admin/index.js.gz +0 -0
  31. package/api-services/modules/systemConfiguration/es5.js +1086 -1076
  32. package/api-services/modules/systemConfiguration/index.js +893 -879
  33. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  34. package/common-info/es5.js +916 -913
  35. package/common-info/getPermissionMethod/es5.js +1332 -1344
  36. package/common-info/getPermissionMethod/index.js +1104 -1122
  37. package/common-info/getPermissionMethod/index.js.gz +0 -0
  38. package/common-info/index.js +717 -713
  39. package/common-info/index.js.gz +0 -0
  40. package/esm-map.json +3 -1
  41. package/package.json +3 -3
  42. package/theme/color.d.ts +7 -0
  43. package/theme/es5.d.ts +20 -8
  44. package/theme/es5.js +491 -431
  45. package/theme/index.d.ts +20 -8
  46. package/theme/index.js +249 -222
  47. package/theme/index.js.gz +0 -0
package/theme/index.js CHANGED
@@ -1,8 +1,34 @@
1
- import { bus as q } from "@das-fed/mframe";
2
- const J = {
1
+ import { bus as re } from "@das-fed/mframe";
2
+ const c = "#ffffff", m = "#000000", te = 0.115, U = (e) => {
3
+ const r = String(e || "").trim();
4
+ return /^#([\da-f]{3}|[\da-f]{6})$/i.test(r) ? r.length === 4 ? `#${r.slice(1).split("").map((t) => `${t}${t}`).join("")}` : r : "";
5
+ }, _ = (e) => {
6
+ const r = U(e);
7
+ if (!r)
8
+ return null;
9
+ const t = r.slice(1);
10
+ return {
11
+ red: Number.parseInt(t.slice(0, 2), 16),
12
+ green: Number.parseInt(t.slice(2, 4), 16),
13
+ blue: Number.parseInt(t.slice(4, 6), 16)
14
+ };
15
+ }, w = (e) => Math.min(255, Math.max(0, Math.round(e))), $ = (e, r, t, a) => {
16
+ const u = _(e), f = _(r);
17
+ if (!u || !f)
18
+ return a;
19
+ const l = Math.min(1, Math.max(0, t)), s = w(u.red * l + f.red * (1 - l)), n = w(u.green * l + f.green * (1 - l)), p = w(u.blue * l + f.blue * (1 - l));
20
+ return `#${[s, n, p].map((d) => d.toString(16).padStart(2, "0")).join("")}`;
21
+ }, oe = (e, r, t) => {
22
+ const a = _(e);
23
+ if (!a)
24
+ return t;
25
+ const u = Math.min(1, Math.max(0, r));
26
+ return `rgba(${a.red}, ${a.green}, ${a.blue}, ${u})`;
27
+ }, y = (e, r = c) => $(e || "#5582F3", r || c, te, "#ebf1fe"), N = "#5582f3", ae = {
3
28
  "--upf-brand-primary": "#ffffff",
4
29
  "--upf-brand-secondary": "#f2f6ff",
5
- "--upf-color-primary": "#5582f3",
30
+ "--upf-color-primary": N,
31
+ "--upf-color-primary-bg": y(N),
6
32
  "--upf-color-success": "#52c41a",
7
33
  "--upf-color-warning": "#faad14",
8
34
  "--upf-color-error": "#ff4d4f",
@@ -36,18 +62,19 @@ const J = {
36
62
  "--upf-border-radius": "4px",
37
63
  "--upf-box-shadow": "0 2px 8px rgba(0, 0, 0, 0.08)",
38
64
  "--upf-box-shadow-elevated": "0 4px 16px rgba(0, 0, 0, 0.12)"
39
- }, Y = {
65
+ }, ue = {
40
66
  name: "cjb",
41
67
  displayName: "纯净白",
42
68
  description: "白底壳层主题,内容区沿用浅蓝高亮交互色",
43
69
  mode: "light",
44
70
  source: "preset",
45
71
  basePresetName: "cjb",
46
- variables: J
47
- }, X = {
72
+ variables: ae
73
+ }, D = "#5582f3", fe = {
48
74
  "--upf-brand-primary": "#0e5fd8",
49
75
  "--upf-brand-secondary": "#3579de",
50
- "--upf-color-primary": "#5582f3",
76
+ "--upf-color-primary": D,
77
+ "--upf-color-primary-bg": y(D),
51
78
  "--upf-color-success": "#52c41a",
52
79
  "--upf-color-warning": "#faad14",
53
80
  "--upf-color-error": "#ff4d4f",
@@ -81,18 +108,19 @@ const J = {
81
108
  "--upf-border-radius": "4px",
82
109
  "--upf-box-shadow": "0 2px 8px rgba(0, 0, 0, 0.1)",
83
110
  "--upf-box-shadow-elevated": "0 4px 16px rgba(0, 0, 0, 0.15)"
84
- }, Q = {
111
+ }, le = {
85
112
  name: "default",
86
113
  displayName: "经典蓝",
87
114
  description: "经典蓝导航主题,内容区沿用浅底与高亮蓝交互色",
88
115
  mode: "light",
89
116
  source: "preset",
90
117
  basePresetName: "default",
91
- variables: X
92
- }, Z = {
118
+ variables: fe
119
+ }, R = "#e63946", ne = {
93
120
  "--upf-brand-primary": "#eb0e1b",
94
121
  "--upf-brand-secondary": "#f15760",
95
- "--upf-color-primary": "#e63946",
122
+ "--upf-color-primary": R,
123
+ "--upf-color-primary-bg": y(R),
96
124
  "--upf-color-success": "#52c41a",
97
125
  "--upf-color-warning": "#faad14",
98
126
  "--upf-color-error": "#ff4d4f",
@@ -126,18 +154,19 @@ const J = {
126
154
  "--upf-border-radius": "4px",
127
155
  "--upf-box-shadow": "0 2px 8px rgba(0, 0, 0, 0.08)",
128
156
  "--upf-box-shadow-elevated": "0 4px 16px rgba(0, 0, 0, 0.12)"
129
- }, ee = {
157
+ }, ie = {
130
158
  name: "dkh",
131
159
  displayName: "大咖红",
132
160
  description: "大咖红主题,壳层与内容交互色保持同系红色",
133
161
  mode: "light",
134
162
  source: "preset",
135
163
  basePresetName: "dkh",
136
- variables: Z
137
- }, re = {
164
+ variables: ne
165
+ }, M = "#5582f3", se = {
138
166
  "--upf-brand-primary": "#1f2346",
139
167
  "--upf-brand-secondary": "#2d3158",
140
- "--upf-color-primary": "#5582f3",
168
+ "--upf-color-primary": M,
169
+ "--upf-color-primary-bg": y(M),
141
170
  "--upf-color-success": "#52c41a",
142
171
  "--upf-color-warning": "#faad14",
143
172
  "--upf-color-error": "#ff4d4f",
@@ -151,7 +180,7 @@ const J = {
151
180
  "--upf-bg-elevated": "#ffffff",
152
181
  "--upf-bg-mask": "rgba(15, 23, 42, 0.45)",
153
182
  "--upf-border-color": "#D9D9D9",
154
- "--upf-divider-color": "#ebeff5",
183
+ "--upf-divider-color": "rgba(235, 239, 245, 0.1)",
155
184
  "--upf-nav-bg": "#1f2346",
156
185
  "--upf-nav-text": "#ffffff",
157
186
  "--upf-nav-hover-bg": "rgba(255, 255, 255, 0.16)",
@@ -171,63 +200,47 @@ const J = {
171
200
  "--upf-border-radius": "4px",
172
201
  "--upf-box-shadow": "0 6px 18px rgba(15, 23, 42, 0.08)",
173
202
  "--upf-box-shadow-elevated": "0 10px 28px rgba(35, 41, 75, 0.12)"
174
- }, te = {
203
+ }, ce = {
175
204
  name: "ssl",
176
205
  displayName: "深邃蓝",
177
206
  description: "深邃蓝壳层主题,内容区沿用浅底与高亮蓝交互色",
178
207
  mode: "dark",
179
208
  source: "preset",
180
209
  basePresetName: "ssl",
181
- variables: re
182
- }, oe = ["default", "cjb", "ssl", "dkh"], _ = {
183
- default: Q,
184
- cjb: Y,
185
- ssl: te,
186
- dkh: ee
187
- }, ae = (e) => ({ ...e }), I = (e) => ({
210
+ variables: se
211
+ }, pe = ["default", "cjb", "ssl", "dkh"], k = {
212
+ default: le,
213
+ cjb: ue,
214
+ ssl: ce,
215
+ dkh: ie
216
+ }, me = (e) => ({ ...e }), j = (e) => ({
188
217
  ...e,
189
- variables: ae(e.variables)
190
- }), y = (e) => {
218
+ variables: me(e.variables)
219
+ }), h = (e) => {
191
220
  const r = String(e || "").trim();
192
- return _[r] ? I(_[r]) : void 0;
193
- }, ue = () => oe.map((e) => I(_[e])), A = "themeChange", p = "#ffffff", d = "#000000", v = "upf-theme-root-vars", fe = "upf-default-theme-vars", le = ["--upf-color-primary", "--upf-brand-primary"], D = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakSet(), b = /* @__PURE__ */ new WeakMap(), x = (e) => e ? Object.entries(h(e)).reduce((r, [t, a]) => (r[t] = String(a ?? ""), r), {}) : null, h = (e) => e, o = (e, r) => {
194
- const t = h(e);
221
+ return k[r] ? j(k[r]) : void 0;
222
+ }, de = () => pe.map((e) => j(k[e])), V = "themeChange", v = "upf-theme-root-vars", ge = "upf-default-theme-vars", be = ["--upf-color-primary", "--upf-brand-primary"], P = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakSet(), b = /* @__PURE__ */ new WeakMap(), x = (e) => e ? Object.entries(A(e)).reduce((r, [t, a]) => (r[t] = String(a ?? ""), r), {}) : null, A = (e) => e, o = (e, r) => {
223
+ const t = A(e);
195
224
  return String((r ? t[r] : "") ?? "");
196
- }, n = (e, r) => r.map((t) => ({ target: t, from: e })), P = (e) => {
197
- const r = String(e || "").trim();
198
- return /^#([\da-f]{3}|[\da-f]{6})$/i.test(r) ? r.length === 4 ? `#${r.slice(1).split("").map((t) => `${t}${t}`).join("")}` : r : "";
199
- }, k = (e) => {
200
- const r = P(e);
201
- if (!r)
202
- return null;
203
- const t = r.slice(1);
204
- return {
205
- red: Number.parseInt(t.slice(0, 2), 16),
206
- green: Number.parseInt(t.slice(2, 4), 16),
207
- blue: Number.parseInt(t.slice(4, 6), 16)
208
- };
209
- }, w = (e) => Math.min(255, Math.max(0, Math.round(e))), ne = (e, r, t, a) => {
210
- const u = k(e), f = k(r);
211
- if (!u || !f)
212
- return a;
213
- const l = Math.min(1, Math.max(0, t)), s = w(u.red * l + f.red * (1 - l)), i = w(u.green * l + f.green * (1 - l)), c = w(u.blue * l + f.blue * (1 - l));
214
- return `#${[s, i, c].map((m) => m.toString(16).padStart(2, "0")).join("")}`;
215
- }, ie = (e, r, t) => {
216
- const a = k(e);
217
- if (!a)
218
- return t;
219
- const u = Math.min(1, Math.max(0, r));
220
- return `rgba(${a.red}, ${a.green}, ${a.blue}, ${u})`;
221
- }, se = {
225
+ }, i = (e, r) => r.map((t) => ({ target: t, from: e })), W = (e) => {
226
+ var a;
227
+ const r = A(e), t = Object.entries(r).reduce((u, [f, l]) => (u[f] = String(l ?? ""), u), {});
228
+ return (a = t["--upf-color-primary-bg"]) != null && a.trim() || (t["--upf-color-primary-bg"] = y(
229
+ t["--upf-color-primary"],
230
+ t["--upf-bg-primary"] || c
231
+ )), t;
232
+ }, ye = {
222
233
  "#5582f3": "#3761CA",
223
234
  "#e63946": "#C9303C"
224
- }, V = (e, r) => {
235
+ }, O = (e, r) => {
225
236
  const t = e || "#5582F3";
226
- return se[P(t).toLowerCase()] || r(t, d, 0.84, "#3761CA");
227
- }, E = (e, r) => r.reduce((t, a) => {
228
- const u = a.resolve ? a.resolve({ variables: e, result: t, mixHexColor: ne, toRgbaColor: ie }) : a.from ? o(e, String(a.from)) : String(a.value ?? "");
229
- return t[a.target] = String(u ?? ""), t;
230
- }, {}), ce = [
237
+ return ye[U(t).toLowerCase()] || r(t, m, 0.84, "#3761CA");
238
+ }, xe = "#999", ve = (e) => [e.themeName, e.basePresetName].some((r) => String(r || "").trim() === "dkh"), he = (e) => ve(e) ? xe : o(e.variables, "--upf-color-primary"), Ee = (e) => Array.isArray(e) ? [...e] : [e], E = (e, r, t = {}) => r.reduce((a, u) => {
239
+ const f = u.resolve ? u.resolve({ variables: e, result: a, mixHexColor: $, toRgbaColor: oe, ...t }) : u.from ? o(e, String(u.from)) : String(u.value ?? "");
240
+ return Ee(u.target).forEach((l) => {
241
+ a[l] = String(f ?? "");
242
+ }), a;
243
+ }, {}), Ce = [
231
244
  { target: "--upf-primary", from: "--upf-color-primary" },
232
245
  { target: "--upf-text", from: "--upf-text-primary" },
233
246
  { target: "--upf-surface", from: "--upf-bg-primary" },
@@ -237,7 +250,7 @@ const J = {
237
250
  { target: "--upf-menu-item-hover-bg", from: "--upf-menu-hover-bg" },
238
251
  { target: "--upf-menu-item-active-bg", from: "--upf-menu-active-bg" },
239
252
  { target: "--upf-menu-item-active-text", from: "--upf-menu-active-text" }
240
- ], pe = [
253
+ ], Te = [
241
254
  { target: "--el-color-primary", from: "--upf-color-primary" },
242
255
  { target: "--el-color-success", from: "--upf-color-success" },
243
256
  { target: "--el-color-warning", from: "--upf-color-warning" },
@@ -265,18 +278,18 @@ const J = {
265
278
  { target: "--el-checkbox-font-weight", value: "400" },
266
279
  { target: "--el-checkbox-input-width", value: "14px" },
267
280
  { target: "--el-checkbox-input-height", value: "14px" },
268
- { target: "--el-checkbox-checked-icon-color", value: p },
281
+ { target: "--el-checkbox-checked-icon-color", value: c },
269
282
  {
270
283
  target: "--el-checkbox-input-border",
271
284
  resolve: ({ variables: e }) => `1px solid ${o(e, "--upf-border-color")}`
272
285
  }
273
- ], de = [
286
+ ], Fe = [
274
287
  { target: "--das-ui-color-primary-level1", from: "--upf-color-primary-bg" },
275
- ...n("--upf-color-primary-bg", [
288
+ ...i("--upf-color-primary-bg", [
276
289
  "--das-ui-color-primary-level1",
277
290
  "--das-ui-upload-bgcolor-hover"
278
291
  ]),
279
- ...n("--upf-bg-primary", [
292
+ ...i("--upf-bg-primary", [
280
293
  "--das-black-list-mange-color-white"
281
294
  ]),
282
295
  { target: "--das-ui-color-primary", from: "--upf-color-primary" },
@@ -352,7 +365,10 @@ const J = {
352
365
  { target: "--das-ui-table-required-color", from: "--upf-color-error" },
353
366
  { target: "--das-ui-form-error-label-color", from: "--upf-color-error" },
354
367
  { target: "--das-input-base-border-color", from: "--upf-border-color" },
355
- { target: "--das-input-active-border-color", from: "--upf-color-primary" },
368
+ {
369
+ target: ["--upf-form-active-border-color", "--das-input-active-border-color", "--upf-date-picker-active-border-color"],
370
+ resolve: he
371
+ },
356
372
  { target: "--das-input-font-color", from: "--upf-text-primary" },
357
373
  { target: "--das-input-sub-font-color", from: "--upf-text-placeholder" },
358
374
  { target: "--das-input-disabled-bg-color", from: "--upf-bg-secondary" },
@@ -362,7 +378,7 @@ const J = {
362
378
  { target: "--das-ui-scrollbar-thumb-hover-color", from: "--upf-text-secondary" },
363
379
  { target: "--das-ui-scrollbar-padding", value: "1px" },
364
380
  { target: "--das-ui-scrollbar-thumb-size", value: "8px" },
365
- { target: "--das-user-manage-white", value: p },
381
+ { target: "--das-user-manage-white", value: c },
366
382
  { target: "--das-user-manage-shadow-color", value: "rgba(38, 38, 38, 0.1)" },
367
383
  { target: "--das-user-manage-border-color", value: "rgba(38, 38, 38, 0.1)" },
368
384
  { target: "--das-ui-font-size-sm", value: "12px" },
@@ -371,7 +387,7 @@ const J = {
371
387
  { target: "--das-upf-ui-font-size-sm", value: "14px" },
372
388
  { target: "--das-upf-ui-line-height", value: "32px" },
373
389
  { target: "--das-ui-text-tooltip-shadow", value: "rgba(0, 0, 0, 0.2)" },
374
- { target: "--das-ui-text-tooltip-bgcolor", value: p },
390
+ { target: "--das-ui-text-tooltip-bgcolor", value: c },
375
391
  { target: "--das-ui-search-form-font-color", from: "--upf-text-primary" },
376
392
  { target: "--das-ui-search-form-filter-font-color", from: "--upf-text-secondary" },
377
393
  { target: "--das-ui-search-form-filter-bgcolor", from: "--upf-bg-secondary" },
@@ -435,15 +451,15 @@ const J = {
435
451
  },
436
452
  {
437
453
  target: "--das-ui-color-primary-level7",
438
- resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), d, 0.82, "#104CCC")
454
+ resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), m, 0.82, "#104CCC")
439
455
  },
440
456
  {
441
457
  target: "--das-ui-color-primary-level8",
442
- resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), d, 0.68, "#002EA3")
458
+ resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), m, 0.68, "#002EA3")
443
459
  },
444
460
  {
445
461
  target: "--das-ui-color-primary-level9",
446
- resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), d, 0.5, "#001F7A")
462
+ resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), m, 0.5, "#001F7A")
447
463
  },
448
464
  {
449
465
  target: "--das-ui-color-danger-level1",
@@ -510,22 +526,22 @@ const J = {
510
526
  },
511
527
  {
512
528
  target: "--das-ui-button-primary-hover",
513
- resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), d, 0.82, "#104CCC")
529
+ resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), m, 0.82, "#104CCC")
514
530
  },
515
- ...n("--upf-color-primary", [
531
+ ...i("--upf-color-primary", [
516
532
  "--das-ui-search-form-primary-color"
517
533
  ]),
518
- ...n("--upf-text-primary", [
534
+ ...i("--upf-text-primary", [
519
535
  "--das-ui-tag-list-text-color"
520
536
  ]),
521
- ...n("--upf-border-color", [
537
+ ...i("--upf-border-color", [
522
538
  "--das-ui-tag-list-border-color",
523
539
  "--das-ui-upload-border-color"
524
540
  ]),
525
- ...n("--upf-bg-secondary", [
541
+ ...i("--upf-bg-secondary", [
526
542
  "--das-ui-upload-bgcolor"
527
543
  ]),
528
- ...n("--upf-text-secondary", [
544
+ ...i("--upf-text-secondary", [
529
545
  "--das-ui-search-form-tip-color"
530
546
  ]),
531
547
  { target: "--das-ui-layout-header-menu-border-color", from: "--upf-border-color" },
@@ -578,43 +594,43 @@ const J = {
578
594
  { target: "--das-ui-layout-aside-menu-expired-color", from: "--upf-text-disabled" },
579
595
  { target: "--das-ui-layout-aside-menu-top-left-icon-color", from: "--upf-color-primary" },
580
596
  { target: "--das-ui-layout-aside-menu-top-right-icon-color", from: "--upf-text-secondary" }
581
- ], me = [
597
+ ], we = [
582
598
  // 同源变量集中维护,新增 target 时优先追加到对应 source 分组。
583
- ...n("--upf-color-primary", [
599
+ ...i("--upf-color-primary", [
584
600
  "--upf-button-primary",
585
601
  "--upf-notification-primary-bg"
586
602
  ]),
587
- ...n("--upf-text-primary", [
603
+ ...i("--upf-text-primary", [
588
604
  "--upf-button-default-text",
589
605
  "--upf-notification-title-text",
590
606
  "--upf-text-tooltip-text"
591
607
  ]),
592
- ...n("--upf-border-color", [
608
+ ...i("--upf-border-color", [
593
609
  "--upf-button-default-border",
594
610
  "--upf-text-tooltip-border"
595
611
  ]),
596
- ...n("--upf-text-disabled", [
612
+ ...i("--upf-text-disabled", [
597
613
  "--upf-button-default-disabled",
598
614
  "--upf-switch-off-color",
599
615
  "--upf-message-thumb",
600
616
  "--upf-text-tooltip-scrollbar-thumb"
601
617
  ]),
602
- ...n("--upf-bg-secondary", [
618
+ ...i("--upf-bg-secondary", [
603
619
  "--upf-button-default-disabled-bg",
604
620
  "--upf-table-header-bg"
605
621
  ]),
606
- ...n("--upf-bg-primary", ["--upf-checkbox-filter-bg"]),
607
- ...n("--upf-color-info", ["--upf-loading-color-1"]),
608
- ...n("--upf-brand-secondary", ["--upf-loading-color-2"]),
609
- ...n("--upf-color-success", ["--upf-loading-color-3"]),
610
- ...n("--upf-divider-color", ["--upf-loading-color-6"]),
611
- ...n("--upf-text-secondary", [
622
+ ...i("--upf-bg-primary", ["--upf-checkbox-filter-bg"]),
623
+ ...i("--upf-color-info", ["--upf-loading-color-1"]),
624
+ ...i("--upf-brand-secondary", ["--upf-loading-color-2"]),
625
+ ...i("--upf-color-success", ["--upf-loading-color-3"]),
626
+ ...i("--upf-divider-color", ["--upf-loading-color-6"]),
627
+ ...i("--upf-text-secondary", [
612
628
  "--upf-message-close",
613
629
  "--upf-notification-description-text",
614
630
  "--upf-notification-close",
615
631
  "--upf-text-tooltip-scrollbar-thumb-hover"
616
632
  ]),
617
- { target: "--upf-button-primary-text", value: p },
633
+ { target: "--upf-button-primary-text", value: c },
618
634
  { target: "--upf-button-primary-text-disabled", value: "rgba(255, 255, 255, 1)" },
619
635
  { target: "--upf-dialog-basic-header-height", value: "50px" },
620
636
  { target: "--upf-dialog-basic-content-padding", value: "30px" },
@@ -633,31 +649,31 @@ const J = {
633
649
  { target: "--upf-notification-font-size-sm", value: "12px" },
634
650
  { target: "--upf-notification-font-size-md", value: "14px" },
635
651
  { target: "--upf-notification-font-size-lg", value: "16px" },
636
- { target: "--upf-notification-primary-text", value: p },
652
+ { target: "--upf-notification-primary-text", value: c },
637
653
  { target: "--upf-text-tooltip-scrollbar-padding", value: "1px" },
638
654
  {
639
655
  target: "--upf-button-primary-hover",
640
- resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary") || "#5582F3", p, 0.82, "#87A9FF")
656
+ resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary") || "#5582F3", c, 0.82, "#87A9FF")
641
657
  },
642
658
  {
643
659
  target: "--upf-button-active",
644
- resolve: ({ variables: e, mixHexColor: r }) => V(o(e, "--upf-color-primary"), r)
660
+ resolve: ({ variables: e, mixHexColor: r }) => O(o(e, "--upf-color-primary"), r)
645
661
  },
646
662
  {
647
663
  target: "--upf-button-disabled",
648
- resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary") || "#5582F3", p, 0.3, "#B5CAFF")
664
+ resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary") || "#5582F3", c, 0.3, "#B5CAFF")
649
665
  },
650
666
  {
651
667
  target: "--upf-button-set",
652
- resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary") || "#5582F3", d, 0.78, "#4367C1")
668
+ resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary") || "#5582F3", m, 0.78, "#4367C1")
653
669
  },
654
670
  {
655
671
  target: "--upf-button-set-hover",
656
- resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary") || "#5582F3", d, 0.86, "#4C74DA")
672
+ resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary") || "#5582F3", m, 0.86, "#4C74DA")
657
673
  },
658
674
  {
659
675
  target: "--upf-button-set-active",
660
- resolve: ({ variables: e, mixHexColor: r }) => V(o(e, "--upf-color-primary"), r)
676
+ resolve: ({ variables: e, mixHexColor: r }) => O(o(e, "--upf-color-primary"), r)
661
677
  },
662
678
  {
663
679
  target: "--upf-button-set-disabled",
@@ -670,7 +686,7 @@ const J = {
670
686
  },
671
687
  {
672
688
  target: "--upf-switch-on-color-disabled",
673
- resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), p, 0.32, "#B5CAFF")
689
+ resolve: ({ variables: e, mixHexColor: r }) => r(o(e, "--upf-color-primary"), c, 0.32, "#B5CAFF")
674
690
  },
675
691
  {
676
692
  target: "--upf-checkbox-focus-shadow",
@@ -861,82 +877,88 @@ const J = {
861
877
  },
862
878
  { target: "--upf-app-container-app-bg-override", from: "--upf-nav-bg" },
863
879
  { target: "--upf-app-container-app-text-override", from: "--upf-nav-text" }
864
- ], ge = (e) => E(e, ce), be = (e) => E(e, pe), xe = (e) => E(e, de), ve = (e) => E(e, me), O = (e, r = {}) => {
865
- const t = h(e), { includeElementAndDasUiBridges: a = !0 } = r, u = ve(t), f = {
880
+ ], Se = (e, r = {}) => E(e, Ce, r), _e = (e, r = {}) => E(e, Te, r), ke = (e, r = {}) => E(e, Fe, r), Ae = (e, r = {}) => E(e, we, r), G = (e, r = {}) => {
881
+ const t = W(e), { includeElementAndDasUiBridges: a = !0, themeName: u, basePresetName: f } = r, l = { themeName: u, basePresetName: f }, s = Ae(t, l), n = {
866
882
  ...t,
867
- ...u
883
+ ...s
868
884
  };
869
885
  return {
870
886
  ...t,
871
- ...u,
872
- ...a ? be(f) : {},
873
- ...a ? xe(f) : {},
874
- ...ge(f)
887
+ ...s,
888
+ ...a ? _e(n, l) : {},
889
+ ...a ? ke(n, l) : {},
890
+ ...Se(n, l)
875
891
  };
876
- }, Le = (e) => y(e), Ue = () => ue(), H = () => y("default"), ze = () => ({ ...H().variables }), B = (e) => e || (typeof document > "u" ? null : document.documentElement), L = (e) => !!(e && String(e.tagName || "").toLowerCase() === "style"), C = (e) => e.head || e.documentElement, U = (e, r) => {
892
+ }, Xe = (e) => h(e), Qe = () => de(), B = () => h("default"), Ze = () => ({ ...B().variables }), H = (e) => e || (typeof document > "u" ? null : document.documentElement), K = (e) => !!(e && String(e.tagName || "").toLowerCase() === "style"), C = (e) => e.head || e.documentElement, Y = (e, r) => {
877
893
  const t = C(e);
878
894
  t && (r.parentNode !== t || t.lastElementChild !== r) && t.appendChild(r);
879
- }, M = (e) => {
895
+ }, L = (e) => {
880
896
  var u;
881
- if (N.has(e))
897
+ if (I.has(e))
882
898
  return;
883
899
  const r = C(e), t = ((u = e.defaultView) == null ? void 0 : u.MutationObserver) || (typeof MutationObserver < "u" ? MutationObserver : void 0);
884
900
  if (!r || !t)
885
901
  return;
886
902
  new t(() => {
887
903
  const f = e.getElementById(v);
888
- L(f) && U(e, f);
889
- }).observe(r, { childList: !0 }), N.add(e);
890
- }, ye = (e) => {
904
+ K(f) && Y(e, f);
905
+ }).observe(r, { childList: !0 }), I.add(e);
906
+ }, Be = (e) => {
891
907
  const r = e.getElementById(v);
892
- if (L(r))
893
- return U(e, r), M(e), r;
908
+ if (K(r))
909
+ return Y(e, r), L(e), r;
894
910
  const t = e.createElement("style");
895
- return t.id = v, C(e).appendChild(t), M(e), t;
896
- }, z = (e) => {
911
+ return t.id = v, C(e).appendChild(t), L(e), t;
912
+ }, q = (e) => {
897
913
  const r = Object.entries(e).filter(([, t]) => String(t ?? "").trim()).map(([t, a]) => ` ${t}: ${String(a ?? "")};`).join(`
898
914
  `);
899
915
  return r ? `:root {
900
916
  ${r}
901
917
  }` : ":root {}";
902
- }, $ = (e = "default", r = {}) => {
903
- const t = y(e) || H();
904
- return z(O(t.variables, r));
905
- }, $e = (e = {}) => $("default", e), he = (e) => {
918
+ }, J = (e = "default", r = {}) => {
919
+ const t = h(e) || B();
920
+ return q(G(t.variables, {
921
+ ...r,
922
+ themeName: r.themeName || t.name,
923
+ basePresetName: r.basePresetName || t.basePresetName
924
+ }));
925
+ }, er = (e = {}) => J("default", e), He = (e) => {
906
926
  const r = e.getElementById(v);
907
927
  if (r != null && r.textContent)
908
928
  return !0;
909
929
  const t = b.get(e) || b.get(e.documentElement);
910
930
  return !!(t && Object.keys(t).length);
911
- }, Ee = (e) => {
931
+ }, Ne = (e) => {
912
932
  var a;
913
933
  const r = ((a = e.defaultView) == null ? void 0 : a.getComputedStyle) || (typeof getComputedStyle == "function" ? getComputedStyle : void 0);
914
934
  if (!r || !e.documentElement)
915
935
  return !1;
916
936
  const t = r(e.documentElement);
917
- return le.some((u) => t.getPropertyValue(u).trim());
918
- }, Ce = (e, r) => {
937
+ return be.some((u) => t.getPropertyValue(u).trim());
938
+ }, De = (e, r) => {
919
939
  const t = C(e);
920
940
  (r.parentNode !== t || t.firstChild !== r) && t.insertBefore(r, t.firstChild);
921
- }, je = (e = {}) => {
922
- var i;
941
+ }, rr = (e = {}) => {
942
+ var n;
923
943
  if (typeof document > "u")
924
944
  return null;
925
- const r = ((i = e.root) == null ? void 0 : i.ownerDocument) || document, t = y(e.presetName || "default") || H(), a = e.styleId || fe;
926
- if (!e.force && he(r))
945
+ const r = ((n = e.root) == null ? void 0 : n.ownerDocument) || document, t = h(e.presetName || "default") || B(), a = e.styleId || ge;
946
+ if (!e.force && He(r))
927
947
  return null;
928
948
  const u = r.getElementById(a);
929
- if (!e.force && !u && Ee(r))
949
+ if (!e.force && !u && Ne(r))
930
950
  return null;
931
951
  const f = u || r.createElement("style");
932
952
  f.id || (f.id = a);
933
- const l = $(t.name, {
934
- includeElementAndDasUiBridges: e.includeElementAndDasUiBridges
953
+ const l = J(t.name, {
954
+ includeElementAndDasUiBridges: e.includeElementAndDasUiBridges,
955
+ themeName: e.themeName || t.name,
956
+ basePresetName: e.basePresetName || t.basePresetName
935
957
  });
936
- f.textContent !== l && (f.textContent = l), Ce(r, f);
958
+ f.textContent !== l && (f.textContent = l), De(r, f);
937
959
  const { setThemeAttributes: s = !0 } = e;
938
960
  return s && ((e.themeName || !r.documentElement.getAttribute("data-theme")) && r.documentElement.setAttribute("data-theme", e.themeName || t.name), e.skinName !== null && !r.documentElement.getAttribute("data-skin") && r.documentElement.setAttribute("data-skin", e.skinName || t.basePresetName)), f;
939
- }, R = (e, r) => {
961
+ }, z = (e, r) => {
940
962
  if (!e.length || !r.length)
941
963
  return;
942
964
  const t = new Set(r);
@@ -944,22 +966,22 @@ ${r}
944
966
  const u = e[a];
945
967
  t.has(u) && e.removeProperty(u);
946
968
  }
947
- }, Te = (e, r) => {
948
- const t = ye(e), a = z(r);
949
- (D.get(e) !== a || t.textContent !== a) && (t.textContent = a, D.set(e, a));
969
+ }, Re = (e, r) => {
970
+ const t = Be(e), a = q(r);
971
+ (P.get(e) !== a || t.textContent !== a) && (t.textContent = a, P.set(e, a));
950
972
  const u = Object.keys(r);
951
- R(e.documentElement.style, u), e.body && R(e.body.style, u);
952
- }, Fe = (e) => {
973
+ z(e.documentElement.style, u), e.body && z(e.body.style, u);
974
+ }, Me = (e) => {
953
975
  typeof window > "u" || (window.__UPF_THEME_SNAPSHOT__ = e);
954
- }, we = (e, r) => {
976
+ }, Ve = (e, r) => {
955
977
  const t = x(r) || {}, a = e.ownerDocument || document;
956
978
  b.set(e, t);
957
979
  const u = e === a.documentElement || e === a.body;
958
980
  u && b.set(a, t), u && typeof window < "u" && a === document && (window.__UPF_THEME_RUNTIME_VARIABLES__ = t);
959
- }, Se = (e) => {
960
- const r = B(e), t = (r == null ? void 0 : r.ownerDocument) || (typeof document < "u" ? document : null), a = typeof window < "u" && t === document && window.__UPF_THEME_RUNTIME_VARIABLES__ || null;
981
+ }, Pe = (e) => {
982
+ const r = H(e), t = (r == null ? void 0 : r.ownerDocument) || (typeof document < "u" ? document : null), a = typeof window < "u" && t === document && window.__UPF_THEME_RUNTIME_VARIABLES__ || null;
961
983
  return (r ? b.get(r) : null) || (t ? b.get(t) : null) || a;
962
- }, _e = (e = !0) => {
984
+ }, Ie = (e = !0) => {
963
985
  var r;
964
986
  if (typeof window > "u" || !window.name)
965
987
  return null;
@@ -974,45 +996,48 @@ ${r}
974
996
  } catch {
975
997
  return null;
976
998
  }
977
- }, ke = (e, r) => {
999
+ }, Oe = (e, r) => {
978
1000
  if (r !== void 0)
979
1001
  return r;
980
1002
  const t = e.config || {};
981
1003
  return String(t.basePresetName || t.name || e.themeName || "").trim() || null;
982
- }, He = (e, r = {}) => {
983
- const t = B(r.root);
1004
+ }, Le = (e, r = {}) => {
1005
+ const t = H(r.root);
984
1006
  if (!t)
985
1007
  return {};
986
- const a = h(e), u = r.includeBridges === !1 ? Object.entries(a).reduce((l, [s, i]) => (l[s] = String(i ?? ""), l), {}) : O(a, {
987
- includeElementAndDasUiBridges: r.includeElementAndDasUiBridges
1008
+ const a = W(e), u = r.includeBridges === !1 ? Object.entries(a).reduce((l, [s, n]) => (l[s] = String(n ?? ""), l), {}) : G(a, {
1009
+ includeElementAndDasUiBridges: r.includeElementAndDasUiBridges,
1010
+ themeName: r.themeName,
1011
+ basePresetName: r.basePresetName
988
1012
  }), f = t.ownerDocument || document;
989
- return t === f.documentElement || t === f.body ? Te(f, u) : Object.entries(u).forEach(([l, s]) => {
1013
+ return t === f.documentElement || t === f.body ? Re(f, u) : Object.entries(u).forEach(([l, s]) => {
990
1014
  t.style.getPropertyValue(l) !== s && t.style.setProperty(l, s);
991
- }), we(t, u), r.themeName && t.setAttribute("data-theme", r.themeName), r.skinName === null ? t.removeAttribute("data-skin") : r.skinName && t.setAttribute("data-skin", r.skinName), u;
992
- }, j = (e, r = {}) => {
993
- const t = He(e.variables || {}, {
1015
+ }), Ve(t, u), r.themeName && t.setAttribute("data-theme", r.themeName), r.skinName === null ? t.removeAttribute("data-skin") : r.skinName && t.setAttribute("data-skin", r.skinName), u;
1016
+ }, X = (e, r = {}) => {
1017
+ const t = e.config || {}, a = Le(e.variables || {}, {
994
1018
  ...r,
995
1019
  themeName: r.themeName || e.themeName,
996
- skinName: ke(e, r.skinName)
1020
+ basePresetName: r.basePresetName || String(t.basePresetName || t.name || ""),
1021
+ skinName: Oe(e, r.skinName)
997
1022
  });
998
- return Fe(e), t;
1023
+ return Me(e), a;
999
1024
  }, S = (e, r, t = !0) => {
1000
1025
  try {
1001
1026
  return e && e.__THEME_API__ || null;
1002
1027
  } catch {
1003
1028
  return null;
1004
1029
  }
1005
- }, T = (e = !0) => typeof window > "u" ? null : S(window, "current", e) || S(window.parent, "parent", e) || S(window.top, "top", e), W = (e = {}) => {
1030
+ }, T = (e = !0) => typeof window > "u" ? null : S(window, "current", e) || S(window.parent, "parent", e) || S(window.top, "top", e), Q = (e = {}) => {
1006
1031
  const r = T(e.debug), t = r != null && r.getCurrentTheme ? r.getCurrentTheme() : null;
1007
1032
  if (t)
1008
1033
  return t;
1009
1034
  const a = (typeof window < "u" ? window.__UPF_THEME_SNAPSHOT__ : null) || null;
1010
- return a || _e(e.debug);
1011
- }, Be = (e = {}) => {
1012
- const r = Se(e.root);
1035
+ return a || Ie(e.debug);
1036
+ }, ze = (e = {}) => {
1037
+ const r = Pe(e.root);
1013
1038
  if (r)
1014
1039
  return x(r);
1015
- const t = W(e);
1040
+ const t = Q(e);
1016
1041
  if (t != null && t.variables)
1017
1042
  return x(t.variables);
1018
1043
  const a = T(e.debug);
@@ -1020,99 +1045,101 @@ ${r}
1020
1045
  return null;
1021
1046
  const u = a.getVariables ? a.getVariables() : null;
1022
1047
  return x(u);
1023
- }, We = (e, r = !0) => {
1048
+ }, tr = (e, r = !0) => {
1024
1049
  const t = T(r);
1025
1050
  return t != null && t.changeTheme ? (t.changeTheme(e), !0) : !1;
1026
- }, G = (e = {}) => {
1027
- const r = W(e);
1028
- return r ? (j(r, e), r) : (e.debug, null);
1029
- }, Ge = (e = {}) => G({
1051
+ }, Z = (e = {}) => {
1052
+ const r = Q(e);
1053
+ return r ? (X(r, e), r) : (e.debug, null);
1054
+ }, or = (e = {}) => Z({
1030
1055
  includeBridges: !1,
1031
1056
  includeElementAndDasUiBridges: !1,
1032
1057
  ...e
1033
- }), Ae = (e, r = !0) => {
1058
+ }), Ue = (e, r = !0) => {
1034
1059
  try {
1035
- const t = q("microApp");
1036
- return t.event.on(A, e), () => {
1037
- t.event.off(A, e);
1060
+ const t = re("microApp");
1061
+ return t.event.on(V, e), () => {
1062
+ t.event.off(V, e);
1038
1063
  };
1039
1064
  } catch {
1040
1065
  return null;
1041
1066
  }
1042
- }, De = (e, r) => e != null && e.onThemeChange ? e.onThemeChange(r) : null, Ne = (e) => e ? [String(e.themeName || ""), String(e.source || ""), String(Number(e.timestamp) || 0)].join("|") : "", Ve = (e) => {
1067
+ }, $e = (e, r) => e != null && e.onThemeChange ? e.onThemeChange(r) : null, je = (e) => e ? [String(e.themeName || ""), String(e.source || ""), String(Number(e.timestamp) || 0)].join("|") : "", We = (e) => {
1043
1068
  let r = "";
1044
1069
  return (t) => {
1045
- const a = Ne(t);
1070
+ const a = je(t);
1046
1071
  a && a === r || (r = a, e(t));
1047
1072
  };
1048
- }, Me = (e, r, t = !1, a = !0) => {
1049
- const u = Ve(r), f = De(e, u), l = Ae(u, a), i = (t ? [f, l] : [l, f]).filter(Boolean);
1050
- return i.length ? () => {
1051
- i.forEach((c) => c());
1073
+ }, Ge = (e, r, t = !1, a = !0) => {
1074
+ const u = We(r), f = $e(e, u), l = Ue(u, a), n = (t ? [f, l] : [l, f]).filter(Boolean);
1075
+ return n.length ? () => {
1076
+ n.forEach((p) => p());
1052
1077
  } : null;
1053
- }, Re = (e = {}) => {
1078
+ }, Ke = (e = {}) => {
1054
1079
  const { syncOnInit: r = !0, preferWindowSubscription: t = !1, onThemeChange: a, debug: u = !0, ...f } = e, l = T(u);
1055
- let s = !1, i = null, c = null;
1056
- const m = () => {
1057
- s || G({ ...f, debug: u });
1058
- }, F = Me(l, (g) => {
1059
- j(g, f), a && (g == null ? void 0 : g.source) !== "mountSync" && a(g);
1080
+ let s = !1, n = null, p = null;
1081
+ const d = () => {
1082
+ s || Z({ ...f, debug: u });
1083
+ }, F = Ge(l, (g) => {
1084
+ X(g, f), a && (g == null ? void 0 : g.source) !== "mountSync" && a(g);
1060
1085
  }, t, u);
1061
- return r && (m(), (typeof queueMicrotask == "function" ? queueMicrotask : (K) => Promise.resolve().then(K))(m), typeof requestAnimationFrame == "function" ? i = requestAnimationFrame(() => {
1062
- i = null, m();
1063
- }) : c = setTimeout(() => {
1064
- c = null, m();
1086
+ return r && (d(), (typeof queueMicrotask == "function" ? queueMicrotask : (ee) => Promise.resolve().then(ee))(d), typeof requestAnimationFrame == "function" ? n = requestAnimationFrame(() => {
1087
+ n = null, d();
1088
+ }) : p = setTimeout(() => {
1089
+ p = null, d();
1065
1090
  }, 16)), () => {
1066
- s = !0, i !== null && typeof cancelAnimationFrame == "function" && (cancelAnimationFrame(i), i = null), c !== null && (clearTimeout(c), c = null), F == null || F();
1091
+ s = !0, n !== null && typeof cancelAnimationFrame == "function" && (cancelAnimationFrame(n), n = null), p !== null && (clearTimeout(p), p = null), F == null || F();
1067
1092
  };
1068
- }, Ke = (e = {}) => Re({
1093
+ }, ar = (e = {}) => Ke({
1069
1094
  includeBridges: !1,
1070
1095
  includeElementAndDasUiBridges: !1,
1071
1096
  ...e
1072
- }), Ie = (e, r) => {
1097
+ }), Ye = (e, r) => {
1073
1098
  var f;
1074
- const t = B(r), a = String(e || "").trim();
1099
+ const t = H(r), a = String(e || "").trim();
1075
1100
  if (!t || !a)
1076
1101
  return "";
1077
1102
  const u = typeof getComputedStyle > "u" ? "" : getComputedStyle(t).getPropertyValue(a).trim();
1078
- return u || String(((f = Be({ root: t, debug: !1 })) == null ? void 0 : f[a]) ?? "");
1079
- }, qe = (e) => `var(${String(e || "").trim()})`, Je = (e, r) => ({
1080
- value: Ie(String(e || "").trim(), r)
1103
+ return u || String(((f = ze({ root: t, debug: !1 })) == null ? void 0 : f[a]) ?? "");
1104
+ }, ur = (e) => `var(${String(e || "").trim()})`, fr = (e, r) => ({
1105
+ value: Ye(String(e || "").trim(), r)
1081
1106
  });
1082
1107
  export {
1083
- oe as BUILTIN_PRESET_THEME_NAMES,
1084
- de as DAS_UI_THEME_BRIDGE_ITEMS,
1085
- pe as ELEMENT_THEME_BRIDGE_ITEMS,
1086
- ce as LEGACY_THEME_BRIDGE_ITEMS,
1087
- _ as PRESET_THEMES,
1088
- me as UPF_COMPONENT_THEME_BRIDGE_ITEMS,
1089
- j as applyThemeEventToDocument,
1090
- He as applyThemeVariablesToDocument,
1091
- $e as buildDefaultThemeCssText,
1092
- $ as buildPresetThemeCssText,
1093
- O as buildRuntimeThemeVariables,
1094
- We as changeTheme,
1095
- je as ensureDefaultThemeStyle,
1096
- Ue as getAllPresetThemes,
1097
- W as getCurrentTheme,
1098
- H as getDefaultPresetTheme,
1099
- ze as getDefaultThemeVariables,
1100
- _e as getHostThemeSnapshotFromWindowName,
1101
- Le as getPresetTheme,
1108
+ pe as BUILTIN_PRESET_THEME_NAMES,
1109
+ Fe as DAS_UI_THEME_BRIDGE_ITEMS,
1110
+ Te as ELEMENT_THEME_BRIDGE_ITEMS,
1111
+ Ce as LEGACY_THEME_BRIDGE_ITEMS,
1112
+ k as PRESET_THEMES,
1113
+ we as UPF_COMPONENT_THEME_BRIDGE_ITEMS,
1114
+ X as applyThemeEventToDocument,
1115
+ Le as applyThemeVariablesToDocument,
1116
+ er as buildDefaultThemeCssText,
1117
+ J as buildPresetThemeCssText,
1118
+ G as buildRuntimeThemeVariables,
1119
+ tr as changeTheme,
1120
+ rr as ensureDefaultThemeStyle,
1121
+ Qe as getAllPresetThemes,
1122
+ Q as getCurrentTheme,
1123
+ B as getDefaultPresetTheme,
1124
+ Ze as getDefaultThemeVariables,
1125
+ Ie as getHostThemeSnapshotFromWindowName,
1126
+ Xe as getPresetTheme,
1102
1127
  T as getThemeAPI,
1103
- Ie as getThemeVariable,
1104
- Be as getThemeVariables,
1105
- qe as getVar,
1106
- Je as getVarValue,
1107
- Ke as initHostThemeRootSync,
1108
- Re as initSubAppThemeSync,
1109
- ne as mixHexColor,
1128
+ Ye as getThemeVariable,
1129
+ ze as getThemeVariables,
1130
+ ur as getVar,
1131
+ fr as getVarValue,
1132
+ ar as initHostThemeRootSync,
1133
+ Ke as initSubAppThemeSync,
1134
+ $ as mixHexColor,
1135
+ U as normalizeHexColor,
1136
+ y as resolvePrimaryBgColor,
1110
1137
  E as resolveThemeBridgeVariables,
1111
- Ge as syncHostThemeRoot,
1112
- G as syncThemeFromHost,
1113
- xe as toDasUiColorOverrides,
1114
- be as toElementThemeVariables,
1115
- ge as toLegacyThemeVariables,
1116
- ie as toRgbaColor,
1117
- ve as toUpfComponentThemeVariables
1138
+ or as syncHostThemeRoot,
1139
+ Z as syncThemeFromHost,
1140
+ ke as toDasUiColorOverrides,
1141
+ _e as toElementThemeVariables,
1142
+ Se as toLegacyThemeVariables,
1143
+ oe as toRgbaColor,
1144
+ Ae as toUpfComponentThemeVariables
1118
1145
  };