@das-fed/upf-utils 6.4.0-dev.238 → 6.4.0-dev.240
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/api-services/es5.d.ts +2 -0
- package/api-services/es5.js +1360 -1345
- package/api-services/i18n/es5.d.ts +63 -0
- package/api-services/index.js +1076 -1060
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/es5.d.ts +2 -0
- package/api-services/modules/app-manage/es5.js +25 -19
- package/api-services/modules/app-manage/index.js +17 -15
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/es5.d.ts +2 -0
- package/api-services/modules/authentication/es5.js +1100 -1082
- package/api-services/modules/authentication/index.js +911 -891
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/es5.d.ts +6 -0
- package/api-services/modules/bems/es5.js +96 -90
- package/api-services/modules/bems/index.js +75 -73
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/es5.d.ts +2 -0
- package/api-services/modules/contract/es5.js +25 -19
- package/api-services/modules/contract/index.js +17 -15
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/es5.d.ts +7 -0
- package/api-services/modules/duty-manage/es5.js +23 -17
- package/api-services/modules/duty-manage/index.js +16 -14
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/es5.d.ts +2 -0
- package/api-services/modules/enterpriseright/es5.js +829 -826
- package/api-services/modules/enterpriseright/index.js +651 -653
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/es5.d.ts +21 -0
- package/api-services/modules/es5.js +1353 -1356
- package/api-services/modules/file/es5.d.ts +37 -0
- package/api-services/modules/file/es5.js +1226 -1232
- package/api-services/modules/file/index.js +993 -1009
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/es5.d.ts +2 -0
- package/api-services/modules/gateway-edge/es5.js +1343 -1325
- package/api-services/modules/gateway-edge/index.js +1140 -1120
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1062 -1074
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/es5.d.ts +16 -0
- package/api-services/modules/iot/es5.js +33 -27
- package/api-services/modules/iot/index.js +23 -21
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/es5.d.ts +3 -0
- package/api-services/modules/justauth/es5.js +1345 -1351
- package/api-services/modules/justauth/index.js +1127 -1143
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/es5.d.ts +2 -0
- package/api-services/modules/knowledge/es5.js +1343 -1325
- package/api-services/modules/knowledge/index.js +1140 -1120
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/es5.d.ts +2 -0
- package/api-services/modules/link/es5.js +25 -19
- package/api-services/modules/link/index.js +17 -15
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/es5.d.ts +2 -0
- package/api-services/modules/permission/es5.js +1100 -1106
- package/api-services/modules/permission/index.js +897 -913
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/es5.d.ts +14 -0
- package/api-services/modules/platformManage/es5.js +1350 -1356
- package/api-services/modules/platformManage/index.js +1131 -1147
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/es5.d.ts +2 -0
- package/api-services/modules/portal/es5.js +1343 -1349
- package/api-services/modules/portal/index.js +1126 -1142
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/es5.d.ts +2 -0
- package/api-services/modules/space-manage/es5.js +1343 -1349
- package/api-services/modules/space-manage/index.js +1126 -1142
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/es5.d.ts +8 -0
- package/api-services/modules/super-admin/es5.js +1104 -1110
- package/api-services/modules/super-admin/index.js +899 -915
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/es5.d.ts +6 -0
- package/api-services/modules/supplier/es5.js +1104 -1110
- package/api-services/modules/supplier/index.js +899 -915
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/es5.d.ts +2 -0
- package/api-services/modules/supplychain-manage/es5.js +1343 -1325
- package/api-services/modules/supplychain-manage/index.js +1140 -1120
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/es5.d.ts +2 -0
- package/api-services/modules/systemConfiguration/es5.js +25 -19
- package/api-services/modules/systemConfiguration/index.js +17 -15
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/es5.d.ts +2 -0
- package/api-services/modules/tool/es5.js +845 -836
- package/api-services/modules/tool/index.js +660 -654
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/es5.d.ts +1 -0
- package/api-services/src/create-service/es5.js +99 -93
- package/api-services/src/create-service/index.js +78 -76
- package/api-services/src/create-service/index.js.gz +0 -0
- package/atob/es5.d.ts +2 -0
- package/common-info/es5.d.ts +48 -0
- package/common-info/es5.js +915 -965
- package/common-info/getIframeUrl/es5.d.ts +9 -0
- package/common-info/getInfoFromUrl/es5.d.ts +8 -0
- package/common-info/getPermissionMethod/es5.d.ts +77 -0
- package/common-info/getPermissionMethod/es5.js +1371 -1355
- package/common-info/getPermissionMethod/index.d.ts +27 -9
- package/common-info/getPermissionMethod/index.js +1141 -1125
- package/common-info/getPermissionMethod/index.js.gz +0 -0
- package/common-info/index.d.ts +1 -29
- package/common-info/index.js +725 -757
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/es5.d.ts +5 -0
- package/common-info/type.d.ts +2 -2
- package/common-tools/arr-tools/es5.d.ts +15 -0
- package/common-tools/calc-text-width/es5.d.ts +1 -0
- package/common-tools/date-format/es5.d.ts +7 -0
- package/common-tools/es5.d.ts +15 -0
- package/common-tools/es5.js +9 -0
- package/common-tools/extract-file-name/es5.d.ts +1 -0
- package/common-tools/get-file-extension/es5.d.ts +6 -0
- package/common-tools/get-url-params/es5.d.ts +46 -0
- package/common-tools/handle-data/es5.d.ts +34 -0
- package/common-tools/handle-data/es5.js +44 -6
- package/common-tools/handle-data/index.d.ts +16 -1
- package/common-tools/handle-data/index.js +1 -1
- package/common-tools/handle-data/index.js.gz +0 -0
- package/common-tools/index.d.ts +1 -0
- package/common-tools/index.js +1 -0
- package/common-tools/nest-tree-format/es5.d.ts +30 -0
- package/common-tools/obj-tools/es5.d.ts +7 -0
- package/common-tools/platform-tools/es5.d.ts +19 -0
- package/common-tools/queue-promise/es5.d.ts +6 -0
- package/common-tools/setHtmlMinWH/es5.d.ts +5 -0
- package/common-tools/timezone-format/es5.d.ts +28 -0
- package/common-tools/timezone-format/es5.js +140 -0
- package/common-tools/timezone-format/index.d.ts +28 -0
- package/common-tools/timezone-format/index.js +81 -0
- package/common-tools/timezone-format/index.js.gz +0 -0
- package/common-tools/update-browser-title/es5.d.ts +1 -0
- package/common-tools/update-fav-icon/es5.d.ts +11 -0
- package/config/es5.d.ts +2 -0
- package/create-api-service/access-token-auto-refresh/es5.d.ts +20 -0
- package/create-api-service/access-token-auto-refresh/es5.js +27 -26
- package/create-api-service/access-token-auto-refresh/index.js +27 -26
- package/create-api-service/access-token-auto-refresh/index.js.gz +0 -0
- package/create-api-service/check-token/es5.d.ts +12 -0
- package/create-api-service/es5.d.ts +8 -0
- package/create-api-service/es5.js +24 -18
- package/create-api-service/i18n/es5.d.ts +39 -0
- package/create-api-service/index.js +17 -15
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/proxy-sso/es5.d.ts +3 -0
- package/create-api-service/sso/es5.d.ts +21 -0
- package/create-api-service/token-refresh-shared/es5.d.ts +30 -0
- package/curring-http/es5.d.ts +12 -0
- package/dimple-canvas/es5.d.ts +3 -0
- package/directive/auth/es5.d.ts +8 -0
- package/directive/clickOutside/es5.d.ts +6 -0
- package/directive/es5.d.ts +3 -0
- package/directive/hoverInside/es5.d.ts +6 -0
- package/directive/utils/es5.d.ts +7 -0
- package/dom-check-in/es5.d.ts +6 -0
- package/dom-watcher/es5.d.ts +25 -0
- package/esm-map.json +32 -7
- package/hooks/popup-manager/use-zindex/es5.d.ts +3 -0
- package/i18n-bridge/es5.d.ts +10 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/load-js/es5.d.ts +3 -0
- package/nextTiken/es5.d.ts +12 -0
- package/oss/es5.d.ts +2 -0
- package/package.json +4 -3
- package/pinyin-first-character/es5.d.ts +2 -0
- package/process-engine-info/es5.d.ts +13 -0
- package/pure-image-src/es5.d.ts +2 -0
- package/size-watcher/es5.d.ts +6 -0
- package/style/es5.d.ts +2 -0
- package/theme/es5.d.ts +92 -0
- package/theme/es5.js +1365 -0
- package/theme/index.d.ts +92 -0
- package/theme/index.js +871 -0
- package/theme/index.js.gz +0 -0
- package/token-tools/es5.d.ts +21 -0
- package/use-low-code/es5.d.ts +1 -0
- package/vue/es5.d.ts +1 -0
- package/vue/hooks/use-model-value/es5.d.ts +9 -0
- package/webSocket-service/es5.d.ts +41 -0
- package/with-install/es5.d.ts +11 -0
- package/hooks/use-get-auth/es5.js +0 -67
- package/hooks/use-get-auth/index.d.ts +0 -4
- package/hooks/use-get-auth/index.js +0 -19
package/theme/es5.js
ADDED
|
@@ -0,0 +1,1365 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _excluded = ["syncOnInit", "preferWindowSubscription", "onThemeChange", "debug"];
|
|
4
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
6
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
7
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
10
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
11
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
12
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
13
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
15
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
16
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
17
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
19
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
20
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
21
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
22
|
+
var mframe = require('@das-fed/mframe/es5');
|
|
23
|
+
var S = "themeChange",
|
|
24
|
+
f = "#ffffff",
|
|
25
|
+
g = "#000000",
|
|
26
|
+
E = "upf-theme-root-vars",
|
|
27
|
+
_ = /* @__PURE__ */new WeakMap(),
|
|
28
|
+
B = /* @__PURE__ */new WeakSet(),
|
|
29
|
+
y = /* @__PURE__ */new WeakMap(),
|
|
30
|
+
b = function b(e) {
|
|
31
|
+
return e ? Object.entries(h(e)).reduce(function (r, _ref) {
|
|
32
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
33
|
+
o = _ref2[0],
|
|
34
|
+
a = _ref2[1];
|
|
35
|
+
return r[o] = String(a !== null && a !== void 0 ? a : ""), r;
|
|
36
|
+
}, {}) : null;
|
|
37
|
+
},
|
|
38
|
+
h = function h(e) {
|
|
39
|
+
return e;
|
|
40
|
+
},
|
|
41
|
+
t = function t(e, r) {
|
|
42
|
+
var _ref3;
|
|
43
|
+
var o = h(e);
|
|
44
|
+
return String((_ref3 = r ? o[r] : "") !== null && _ref3 !== void 0 ? _ref3 : "");
|
|
45
|
+
},
|
|
46
|
+
i = function i(e, r) {
|
|
47
|
+
return r.map(function (o) {
|
|
48
|
+
return {
|
|
49
|
+
target: o,
|
|
50
|
+
from: e
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
},
|
|
54
|
+
M = function M(e) {
|
|
55
|
+
var r = String(e || "").trim();
|
|
56
|
+
return /^#([\da-f]{3}|[\da-f]{6})$/i.test(r) ? r.length === 4 ? "#".concat(r.slice(1).split("").map(function (o) {
|
|
57
|
+
return "".concat(o).concat(o);
|
|
58
|
+
}).join("")) : r : "";
|
|
59
|
+
},
|
|
60
|
+
T = function T(e) {
|
|
61
|
+
var r = M(e);
|
|
62
|
+
if (!r) return null;
|
|
63
|
+
var o = r.slice(1);
|
|
64
|
+
return {
|
|
65
|
+
red: Number.parseInt(o.slice(0, 2), 16),
|
|
66
|
+
green: Number.parseInt(o.slice(2, 4), 16),
|
|
67
|
+
blue: Number.parseInt(o.slice(4, 6), 16)
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
F = function F(e) {
|
|
71
|
+
return Math.min(255, Math.max(0, Math.round(e)));
|
|
72
|
+
},
|
|
73
|
+
$ = function $(e, r, o, a) {
|
|
74
|
+
var u = T(e),
|
|
75
|
+
l = T(r);
|
|
76
|
+
if (!u || !l) return a;
|
|
77
|
+
var n = Math.min(1, Math.max(0, o)),
|
|
78
|
+
c = F(u.red * n + l.red * (1 - n)),
|
|
79
|
+
s = F(u.green * n + l.green * (1 - n)),
|
|
80
|
+
p = F(u.blue * n + l.blue * (1 - n));
|
|
81
|
+
return "#".concat([c, s, p].map(function (m) {
|
|
82
|
+
return m.toString(16).padStart(2, "0");
|
|
83
|
+
}).join(""));
|
|
84
|
+
},
|
|
85
|
+
P = function P(e, r, o) {
|
|
86
|
+
var a = T(e);
|
|
87
|
+
if (!a) return o;
|
|
88
|
+
var u = Math.min(1, Math.max(0, r));
|
|
89
|
+
return "rgba(".concat(a.red, ", ").concat(a.green, ", ").concat(a.blue, ", ").concat(u, ")");
|
|
90
|
+
},
|
|
91
|
+
j = {
|
|
92
|
+
"#5582f3": "#3761CA",
|
|
93
|
+
"#e63946": "#C9303C"
|
|
94
|
+
},
|
|
95
|
+
A = function A(e, r) {
|
|
96
|
+
var o = e || "#5582F3";
|
|
97
|
+
return j[M(o).toLowerCase()] || r(o, g, 0.84, "#3761CA");
|
|
98
|
+
},
|
|
99
|
+
x = function x(e, r) {
|
|
100
|
+
return r.reduce(function (o, a) {
|
|
101
|
+
var _a$value;
|
|
102
|
+
var u = a.resolve ? a.resolve({
|
|
103
|
+
variables: e,
|
|
104
|
+
result: o,
|
|
105
|
+
mixHexColor: $,
|
|
106
|
+
toRgbaColor: P
|
|
107
|
+
}) : a.from ? t(e, String(a.from)) : String((_a$value = a.value) !== null && _a$value !== void 0 ? _a$value : "");
|
|
108
|
+
return o[a.target] = String(u !== null && u !== void 0 ? u : ""), o;
|
|
109
|
+
}, {});
|
|
110
|
+
},
|
|
111
|
+
W = [{
|
|
112
|
+
target: "--upf-primary",
|
|
113
|
+
from: "--upf-color-primary"
|
|
114
|
+
}, {
|
|
115
|
+
target: "--upf-text",
|
|
116
|
+
from: "--upf-text-primary"
|
|
117
|
+
}, {
|
|
118
|
+
target: "--upf-surface",
|
|
119
|
+
from: "--upf-bg-primary"
|
|
120
|
+
}, {
|
|
121
|
+
target: "--upf-divider",
|
|
122
|
+
from: "--upf-divider-color"
|
|
123
|
+
}, {
|
|
124
|
+
target: "--upf-nav-item-hover-bg",
|
|
125
|
+
from: "--upf-nav-hover-bg"
|
|
126
|
+
}, {
|
|
127
|
+
target: "--upf-nav-item-active-bg",
|
|
128
|
+
from: "--upf-nav-active-bg"
|
|
129
|
+
}, {
|
|
130
|
+
target: "--upf-menu-item-hover-bg",
|
|
131
|
+
from: "--upf-menu-hover-bg"
|
|
132
|
+
}, {
|
|
133
|
+
target: "--upf-menu-item-active-bg",
|
|
134
|
+
from: "--upf-menu-active-bg"
|
|
135
|
+
}, {
|
|
136
|
+
target: "--upf-menu-item-active-text",
|
|
137
|
+
from: "--upf-menu-active-text"
|
|
138
|
+
}],
|
|
139
|
+
G = [{
|
|
140
|
+
target: "--el-color-primary",
|
|
141
|
+
from: "--upf-color-primary"
|
|
142
|
+
}, {
|
|
143
|
+
target: "--el-color-success",
|
|
144
|
+
from: "--upf-color-success"
|
|
145
|
+
}, {
|
|
146
|
+
target: "--el-color-warning",
|
|
147
|
+
from: "--upf-color-warning"
|
|
148
|
+
}, {
|
|
149
|
+
target: "--el-color-danger",
|
|
150
|
+
from: "--upf-color-error"
|
|
151
|
+
}, {
|
|
152
|
+
target: "--el-color-error",
|
|
153
|
+
from: "--upf-color-error"
|
|
154
|
+
}, {
|
|
155
|
+
target: "--el-color-info",
|
|
156
|
+
from: "--upf-color-info"
|
|
157
|
+
}, {
|
|
158
|
+
target: "--el-text-color-primary",
|
|
159
|
+
from: "--upf-text-primary"
|
|
160
|
+
}, {
|
|
161
|
+
target: "--el-text-color-regular",
|
|
162
|
+
from: "--upf-text-primary"
|
|
163
|
+
}, {
|
|
164
|
+
target: "--el-text-color-secondary",
|
|
165
|
+
from: "--upf-text-secondary"
|
|
166
|
+
}, {
|
|
167
|
+
target: "--el-text-color-placeholder",
|
|
168
|
+
from: "--upf-text-placeholder"
|
|
169
|
+
}, {
|
|
170
|
+
target: "--el-text-color-disabled",
|
|
171
|
+
from: "--upf-text-disabled"
|
|
172
|
+
}, {
|
|
173
|
+
target: "--el-border-color",
|
|
174
|
+
from: "--upf-border-color"
|
|
175
|
+
}, {
|
|
176
|
+
target: "--el-border-color-light",
|
|
177
|
+
from: "--upf-divider-color"
|
|
178
|
+
}, {
|
|
179
|
+
target: "--el-border-color-lighter",
|
|
180
|
+
from: "--upf-divider-color"
|
|
181
|
+
}, {
|
|
182
|
+
target: "--el-fill-color-blank",
|
|
183
|
+
from: "--upf-bg-primary"
|
|
184
|
+
}, {
|
|
185
|
+
target: "--el-bg-color",
|
|
186
|
+
from: "--upf-bg-primary"
|
|
187
|
+
}, {
|
|
188
|
+
target: "--el-bg-color-page",
|
|
189
|
+
from: "--upf-bg-secondary"
|
|
190
|
+
}, {
|
|
191
|
+
target: "--el-bg-color-overlay",
|
|
192
|
+
from: "--upf-bg-elevated"
|
|
193
|
+
}, {
|
|
194
|
+
target: "--el-dialog-bg-color",
|
|
195
|
+
from: "--upf-bg-elevated"
|
|
196
|
+
}, {
|
|
197
|
+
target: "--el-mask-color",
|
|
198
|
+
from: "--upf-bg-mask"
|
|
199
|
+
}, {
|
|
200
|
+
target: "--el-tree-text-color",
|
|
201
|
+
from: "--upf-text-secondary"
|
|
202
|
+
}, {
|
|
203
|
+
target: "--el-checkbox-disabled-checked-icon-color",
|
|
204
|
+
from: "--upf-text-disabled"
|
|
205
|
+
}, {
|
|
206
|
+
target: "--el-dialog-content-font-size",
|
|
207
|
+
value: "14px"
|
|
208
|
+
}, {
|
|
209
|
+
target: "--el-transition-duration-fast",
|
|
210
|
+
value: "0.2s"
|
|
211
|
+
}, {
|
|
212
|
+
target: "--el-checkbox-font-weight",
|
|
213
|
+
value: "400"
|
|
214
|
+
}, {
|
|
215
|
+
target: "--el-checkbox-input-width",
|
|
216
|
+
value: "14px"
|
|
217
|
+
}, {
|
|
218
|
+
target: "--el-checkbox-input-height",
|
|
219
|
+
value: "14px"
|
|
220
|
+
}, {
|
|
221
|
+
target: "--el-checkbox-checked-icon-color",
|
|
222
|
+
value: f
|
|
223
|
+
}, {
|
|
224
|
+
target: "--el-checkbox-input-border",
|
|
225
|
+
resolve: function resolve(_ref4) {
|
|
226
|
+
var e = _ref4.variables;
|
|
227
|
+
return "1px solid ".concat(t(e, "--upf-border-color"));
|
|
228
|
+
}
|
|
229
|
+
}],
|
|
230
|
+
q = [{
|
|
231
|
+
target: "--das-ui-color-primary-level1",
|
|
232
|
+
from: "--upf-color-primary-bg"
|
|
233
|
+
}].concat(_toConsumableArray(i("--upf-color-primary-bg", ["--das-ui-color-primary-level1", "--das-ui-upload-bgcolor-hover"])), _toConsumableArray(i("--upf-bg-primary", ["--das-black-list-mange-color-white"])), [{
|
|
234
|
+
target: "--das-ui-color-primary",
|
|
235
|
+
from: "--upf-color-primary"
|
|
236
|
+
}, {
|
|
237
|
+
target: "--das-ui-color-danger",
|
|
238
|
+
from: "--upf-color-error"
|
|
239
|
+
}, {
|
|
240
|
+
target: "--das-ui-color-warning",
|
|
241
|
+
from: "--upf-color-warning"
|
|
242
|
+
}, {
|
|
243
|
+
target: "--das-ui-color-success",
|
|
244
|
+
from: "--upf-color-success"
|
|
245
|
+
}, {
|
|
246
|
+
target: "--das-ui-color-link",
|
|
247
|
+
from: "--upf-color-primary"
|
|
248
|
+
}, {
|
|
249
|
+
target: "--das-ui-color-normal",
|
|
250
|
+
from: "--upf-text-primary"
|
|
251
|
+
}, {
|
|
252
|
+
target: "--das-ui-color-secondary",
|
|
253
|
+
from: "--upf-text-secondary"
|
|
254
|
+
}, {
|
|
255
|
+
target: "--das-ui-color-help",
|
|
256
|
+
from: "--upf-text-disabled"
|
|
257
|
+
}, {
|
|
258
|
+
target: "--das-ui-color-disabled",
|
|
259
|
+
from: "--upf-text-disabled"
|
|
260
|
+
}, {
|
|
261
|
+
target: "--das-ui-color-overlay-error",
|
|
262
|
+
from: "--upf-color-error"
|
|
263
|
+
}, {
|
|
264
|
+
target: "--das-ui-button-primary",
|
|
265
|
+
from: "--upf-color-primary"
|
|
266
|
+
}, {
|
|
267
|
+
target: "--das-ui-input-full-border-color",
|
|
268
|
+
from: "--upf-border-color"
|
|
269
|
+
}, {
|
|
270
|
+
target: "--das-ui-tag-list-border-active-color",
|
|
271
|
+
from: "--upf-color-primary"
|
|
272
|
+
}, {
|
|
273
|
+
target: "--das-ui-tag-dark-temporary-color",
|
|
274
|
+
from: "--upf-text-secondary"
|
|
275
|
+
},
|
|
276
|
+
// 共享桥接先兜底旧加载态、下拉态和范围选择器变量,保证首批迁移组件样式稳定。
|
|
277
|
+
{
|
|
278
|
+
target: "--das-ui-split-panel-color-primary",
|
|
279
|
+
from: "--upf-color-primary"
|
|
280
|
+
}, {
|
|
281
|
+
target: "--das-ui-split-panel-color-line",
|
|
282
|
+
from: "--upf-divider-color"
|
|
283
|
+
}, {
|
|
284
|
+
target: "--das-ui-split-panel-color-btn",
|
|
285
|
+
from: "--upf-text-secondary"
|
|
286
|
+
}, {
|
|
287
|
+
target: "--das-ui-tree-table-highlight-color",
|
|
288
|
+
from: "--upf-color-primary"
|
|
289
|
+
}, {
|
|
290
|
+
target: "--das-ui-tree-table-header-color",
|
|
291
|
+
from: "--upf-text-primary"
|
|
292
|
+
}, {
|
|
293
|
+
target: "--das-ui-tree-table-header-bg-color",
|
|
294
|
+
from: "--upf-bg-secondary"
|
|
295
|
+
}, {
|
|
296
|
+
target: "--das-ui-tree-table-border-color",
|
|
297
|
+
from: "--upf-border-color"
|
|
298
|
+
}, {
|
|
299
|
+
target: "--das-ui-rich-editor-active-font-color",
|
|
300
|
+
from: "--upf-color-primary"
|
|
301
|
+
}, {
|
|
302
|
+
target: "--das-ui-dropdown-bgff-color",
|
|
303
|
+
resolve: function resolve(_ref5) {
|
|
304
|
+
var e = _ref5.variables;
|
|
305
|
+
return t(e, "--upf-bg-elevated") || t(e, "--upf-bg-primary");
|
|
306
|
+
}
|
|
307
|
+
}, {
|
|
308
|
+
target: "--das-ui-dropdown-divided-color",
|
|
309
|
+
from: "--upf-border-color"
|
|
310
|
+
}, {
|
|
311
|
+
target: "--das-ui-dropdown-active-color",
|
|
312
|
+
from: "--upf-color-primary"
|
|
313
|
+
}, {
|
|
314
|
+
target: "--das-ui-dropdown-hover-color",
|
|
315
|
+
from: "--upf-bg-secondary"
|
|
316
|
+
}, {
|
|
317
|
+
target: "--das-ui-spin-logo-1-color",
|
|
318
|
+
from: "--upf-loading-color-1"
|
|
319
|
+
}, {
|
|
320
|
+
target: "--das-ui-spin-logo-2-color",
|
|
321
|
+
from: "--upf-loading-color-2"
|
|
322
|
+
}, {
|
|
323
|
+
target: "--das-ui-spin-logo-3-color",
|
|
324
|
+
from: "--upf-loading-color-3"
|
|
325
|
+
}, {
|
|
326
|
+
target: "--das-ui-spin-logo-4-color",
|
|
327
|
+
from: "--upf-loading-color-4"
|
|
328
|
+
}, {
|
|
329
|
+
target: "--das-ui-spin-logo-5-color",
|
|
330
|
+
from: "--upf-loading-color-5"
|
|
331
|
+
}, {
|
|
332
|
+
target: "--das-ui-spin-logo-6-color",
|
|
333
|
+
from: "--upf-loading-color-6"
|
|
334
|
+
}, {
|
|
335
|
+
target: "--das-ui-special-range-picker-close-btn",
|
|
336
|
+
from: "--upf-text-disabled"
|
|
337
|
+
}, {
|
|
338
|
+
target: "--das-ui-special-range-picker-close-btn-hover",
|
|
339
|
+
from: "--upf-text-secondary"
|
|
340
|
+
}, {
|
|
341
|
+
target: "--das-ui-special-range-picker-color-primary",
|
|
342
|
+
from: "--upf-color-primary"
|
|
343
|
+
}, {
|
|
344
|
+
target: "--das-ui-special-range-picker-color-white",
|
|
345
|
+
from: "--upf-bg-primary"
|
|
346
|
+
}, {
|
|
347
|
+
target: "--das-ui-special-range-picker-hover-color",
|
|
348
|
+
from: "--upf-bg-secondary"
|
|
349
|
+
}, {
|
|
350
|
+
target: "--das-ui-special-range-picker-border-color",
|
|
351
|
+
from: "--upf-border-color"
|
|
352
|
+
}, {
|
|
353
|
+
target: "--das-ui-special-range-picker-header-bgcolor",
|
|
354
|
+
from: "--upf-bg-secondary"
|
|
355
|
+
}, {
|
|
356
|
+
target: "--das-ui-special-range-picker-in-range",
|
|
357
|
+
resolve: function resolve(_ref6) {
|
|
358
|
+
var e = _ref6.variables,
|
|
359
|
+
r = _ref6.mixHexColor;
|
|
360
|
+
return r(t(e, "--upf-color-primary"), t(e, "--upf-bg-primary"), 0.08, "#F2F6FF");
|
|
361
|
+
}
|
|
362
|
+
}, {
|
|
363
|
+
target: "--das-ui-special-range-picker-new-range",
|
|
364
|
+
resolve: function resolve(_ref7) {
|
|
365
|
+
var e = _ref7.variables,
|
|
366
|
+
r = _ref7.mixHexColor;
|
|
367
|
+
return r(t(e, "--upf-color-primary"), t(e, "--upf-bg-primary"), 0.14, "#E3EBFF");
|
|
368
|
+
}
|
|
369
|
+
}, {
|
|
370
|
+
target: "--das-ui-special-range-picker-disabled",
|
|
371
|
+
from: "--upf-divider-color"
|
|
372
|
+
}, {
|
|
373
|
+
target: "--das-ui-special-range-picker-error",
|
|
374
|
+
from: "--upf-color-error"
|
|
375
|
+
}, {
|
|
376
|
+
target: "--das-ui-special-range-picker-overlay-error-bg-color",
|
|
377
|
+
from: "--upf-message-error-bg"
|
|
378
|
+
}, {
|
|
379
|
+
target: "--das-ui-special-range-picker-box-shadow-5",
|
|
380
|
+
value: "rgb(0 0 0 / 5%)"
|
|
381
|
+
}, {
|
|
382
|
+
target: "--das-ui-special-range-picker-box-shadow-8",
|
|
383
|
+
value: "rgb(0 0 0 / 8%)"
|
|
384
|
+
}, {
|
|
385
|
+
target: "--das-ui-special-range-picker-box-shadow-12",
|
|
386
|
+
value: "rgb(0 0 0 / 12%)"
|
|
387
|
+
}, {
|
|
388
|
+
target: "--das-ui-table-checkbox-bg",
|
|
389
|
+
from: "--upf-color-primary"
|
|
390
|
+
}, {
|
|
391
|
+
target: "--das-ui-table-checkbox-border-color",
|
|
392
|
+
from: "--upf-color-primary"
|
|
393
|
+
}, {
|
|
394
|
+
target: "--das-ui-table-sortable-color",
|
|
395
|
+
from: "--upf-color-primary"
|
|
396
|
+
}, {
|
|
397
|
+
target: "--das-ui-table-required-color",
|
|
398
|
+
from: "--upf-color-error"
|
|
399
|
+
}, {
|
|
400
|
+
target: "--das-ui-form-error-label-color",
|
|
401
|
+
from: "--upf-color-error"
|
|
402
|
+
}, {
|
|
403
|
+
target: "--das-ui-scrollbar-thumb-color",
|
|
404
|
+
from: "--upf-text-disabled"
|
|
405
|
+
}, {
|
|
406
|
+
target: "--das-ui-scrollbar-thumb-hover-color",
|
|
407
|
+
from: "--upf-text-secondary"
|
|
408
|
+
}, {
|
|
409
|
+
target: "--das-ui-scrollbar-padding",
|
|
410
|
+
value: "1px"
|
|
411
|
+
}, {
|
|
412
|
+
target: "--das-ui-scrollbar-thumb-size",
|
|
413
|
+
value: "8px"
|
|
414
|
+
}, {
|
|
415
|
+
target: "--das-user-manage-white",
|
|
416
|
+
value: f
|
|
417
|
+
}, {
|
|
418
|
+
target: "--das-user-manage-shadow-color",
|
|
419
|
+
value: "rgba(38, 38, 38, 0.1)"
|
|
420
|
+
}, {
|
|
421
|
+
target: "--das-user-manage-border-color",
|
|
422
|
+
value: "rgba(38, 38, 38, 0.1)"
|
|
423
|
+
}, {
|
|
424
|
+
target: "--das-ui-font-size-sm",
|
|
425
|
+
value: "12px"
|
|
426
|
+
}, {
|
|
427
|
+
target: "--das-ui-font-size-md",
|
|
428
|
+
value: "14px"
|
|
429
|
+
}, {
|
|
430
|
+
target: "--das-ui-font-size-lg",
|
|
431
|
+
value: "16px"
|
|
432
|
+
}, {
|
|
433
|
+
target: "--das-upf-ui-font-size-sm",
|
|
434
|
+
value: "14px"
|
|
435
|
+
}, {
|
|
436
|
+
target: "--das-upf-ui-line-height",
|
|
437
|
+
value: "32px"
|
|
438
|
+
}, {
|
|
439
|
+
target: "--das-ui-text-tooltip-shadow",
|
|
440
|
+
value: "rgba(0, 0, 0, 0.2)"
|
|
441
|
+
}, {
|
|
442
|
+
target: "--das-ui-text-tooltip-bgcolor",
|
|
443
|
+
value: f
|
|
444
|
+
}, {
|
|
445
|
+
target: "--das-ui-search-form-font-color",
|
|
446
|
+
from: "--upf-text-primary"
|
|
447
|
+
}, {
|
|
448
|
+
target: "--das-ui-search-form-filter-font-color",
|
|
449
|
+
from: "--upf-text-secondary"
|
|
450
|
+
}, {
|
|
451
|
+
target: "--das-ui-search-form-filter-bgcolor",
|
|
452
|
+
from: "--upf-bg-secondary"
|
|
453
|
+
}, {
|
|
454
|
+
target: "--das-ui-search-form-filter-border-color",
|
|
455
|
+
from: "--upf-border-color"
|
|
456
|
+
}, {
|
|
457
|
+
target: "--das-ui-select-list-hover-bg",
|
|
458
|
+
from: "--upf-bg-secondary"
|
|
459
|
+
}, {
|
|
460
|
+
target: "--das-ui-select-list-close-btn-hover",
|
|
461
|
+
from: "--upf-color-primary"
|
|
462
|
+
}, {
|
|
463
|
+
target: "--das-ui-select-list-active-bg-color",
|
|
464
|
+
from: "--upf-color-primary-bg"
|
|
465
|
+
}, {
|
|
466
|
+
target: "--das-ui-select-list-active-font-color",
|
|
467
|
+
from: "--upf-color-primary"
|
|
468
|
+
}, {
|
|
469
|
+
target: "--das-ui-steps-color",
|
|
470
|
+
from: "--upf-color-primary"
|
|
471
|
+
}, {
|
|
472
|
+
target: "--das-ui-steps-dashed-color",
|
|
473
|
+
from: "--upf-text-disabled"
|
|
474
|
+
}, {
|
|
475
|
+
target: "--das-ui-steps-wait-color",
|
|
476
|
+
from: "--upf-text-secondary"
|
|
477
|
+
}, {
|
|
478
|
+
target: "--das-ui-steps-finish-color",
|
|
479
|
+
from: "--upf-color-success"
|
|
480
|
+
}, {
|
|
481
|
+
target: "--das-ui-steps-error-color",
|
|
482
|
+
from: "--upf-color-error"
|
|
483
|
+
}, {
|
|
484
|
+
target: "--das-ui-steps-title-font-size",
|
|
485
|
+
value: "12px"
|
|
486
|
+
}, {
|
|
487
|
+
target: "--das-ui-collaspe-bgcolor",
|
|
488
|
+
resolve: function resolve(_ref8) {
|
|
489
|
+
var e = _ref8.variables;
|
|
490
|
+
return t(e, "--upf-bg-elevated") || t(e, "--upf-bg-primary");
|
|
491
|
+
}
|
|
492
|
+
}, {
|
|
493
|
+
target: "--das-ui-calendar-color-text",
|
|
494
|
+
value: "#212121"
|
|
495
|
+
}, {
|
|
496
|
+
target: "--das-ui-calendar-color-border",
|
|
497
|
+
value: "#D9D9D9"
|
|
498
|
+
}, {
|
|
499
|
+
target: "--das-ui-calendar-size-text",
|
|
500
|
+
value: "14px"
|
|
501
|
+
}, {
|
|
502
|
+
target: "--das-ui-calendar-color-head-tip",
|
|
503
|
+
value: "#999999"
|
|
504
|
+
}, {
|
|
505
|
+
target: "--das-ui-calendar-size-head-tip",
|
|
506
|
+
value: "12px"
|
|
507
|
+
}, {
|
|
508
|
+
target: "--das-ui-calendar-span-size",
|
|
509
|
+
value: "28px"
|
|
510
|
+
}, {
|
|
511
|
+
target: "--das-ui-calendar-color-pre-next",
|
|
512
|
+
value: "#B2B2B2"
|
|
513
|
+
}, {
|
|
514
|
+
target: "--das-ui-color-primary-level2",
|
|
515
|
+
resolve: function resolve(_ref9) {
|
|
516
|
+
var e = _ref9.variables,
|
|
517
|
+
r = _ref9.mixHexColor;
|
|
518
|
+
return r(t(e, "--upf-color-primary"), t(e, "--upf-bg-primary"), 0.16, "#E0EFFE");
|
|
519
|
+
}
|
|
520
|
+
}, {
|
|
521
|
+
target: "--das-ui-color-primary-level3",
|
|
522
|
+
resolve: function resolve(_ref0) {
|
|
523
|
+
var e = _ref0.variables,
|
|
524
|
+
r = _ref0.mixHexColor;
|
|
525
|
+
return r(t(e, "--upf-color-primary"), t(e, "--upf-bg-primary"), 0.32, "#B3D5FF");
|
|
526
|
+
}
|
|
527
|
+
}, {
|
|
528
|
+
target: "--das-ui-color-primary-level4",
|
|
529
|
+
resolve: function resolve(_ref1) {
|
|
530
|
+
var e = _ref1.variables,
|
|
531
|
+
r = _ref1.mixHexColor;
|
|
532
|
+
return r(t(e, "--upf-color-primary"), t(e, "--upf-bg-primary"), 0.48, "#85B8FE");
|
|
533
|
+
}
|
|
534
|
+
}, {
|
|
535
|
+
target: "--das-ui-color-primary-level5",
|
|
536
|
+
resolve: function resolve(_ref10) {
|
|
537
|
+
var e = _ref10.variables,
|
|
538
|
+
r = _ref10.mixHexColor;
|
|
539
|
+
return r(t(e, "--upf-color-primary"), t(e, "--upf-bg-primary"), 0.68, "#5797FF");
|
|
540
|
+
}
|
|
541
|
+
}, {
|
|
542
|
+
target: "--das-ui-color-primary-level7",
|
|
543
|
+
resolve: function resolve(_ref11) {
|
|
544
|
+
var e = _ref11.variables,
|
|
545
|
+
r = _ref11.mixHexColor;
|
|
546
|
+
return r(t(e, "--upf-color-primary"), g, 0.82, "#104CCC");
|
|
547
|
+
}
|
|
548
|
+
}, {
|
|
549
|
+
target: "--das-ui-color-primary-level8",
|
|
550
|
+
resolve: function resolve(_ref12) {
|
|
551
|
+
var e = _ref12.variables,
|
|
552
|
+
r = _ref12.mixHexColor;
|
|
553
|
+
return r(t(e, "--upf-color-primary"), g, 0.68, "#002EA3");
|
|
554
|
+
}
|
|
555
|
+
}, {
|
|
556
|
+
target: "--das-ui-color-primary-level9",
|
|
557
|
+
resolve: function resolve(_ref13) {
|
|
558
|
+
var e = _ref13.variables,
|
|
559
|
+
r = _ref13.mixHexColor;
|
|
560
|
+
return r(t(e, "--upf-color-primary"), g, 0.5, "#001F7A");
|
|
561
|
+
}
|
|
562
|
+
}, {
|
|
563
|
+
target: "--das-ui-color-danger-level1",
|
|
564
|
+
resolve: function resolve(_ref14) {
|
|
565
|
+
var e = _ref14.variables,
|
|
566
|
+
r = _ref14.mixHexColor;
|
|
567
|
+
return r(t(e, "--upf-color-error"), t(e, "--upf-bg-primary"), 0.14, "#FFDBE0");
|
|
568
|
+
}
|
|
569
|
+
}, {
|
|
570
|
+
target: "--das-ui-color-danger-level2",
|
|
571
|
+
resolve: function resolve(_ref15) {
|
|
572
|
+
var e = _ref15.variables,
|
|
573
|
+
r = _ref15.mixHexColor;
|
|
574
|
+
return r(t(e, "--upf-color-error"), t(e, "--upf-bg-primary"), 0.08, "#FFF2F4");
|
|
575
|
+
}
|
|
576
|
+
}, {
|
|
577
|
+
target: "--das-ui-color-warning-level1",
|
|
578
|
+
resolve: function resolve(_ref16) {
|
|
579
|
+
var e = _ref16.variables,
|
|
580
|
+
r = _ref16.mixHexColor;
|
|
581
|
+
return r(t(e, "--upf-color-warning"), t(e, "--upf-bg-primary"), 0.08, "#FFFBF2");
|
|
582
|
+
}
|
|
583
|
+
}, {
|
|
584
|
+
target: "--das-ui-color-warning-level2",
|
|
585
|
+
resolve: function resolve(_ref17) {
|
|
586
|
+
var e = _ref17.variables,
|
|
587
|
+
r = _ref17.mixHexColor;
|
|
588
|
+
return r(t(e, "--upf-color-warning"), t(e, "--upf-bg-primary"), 0.16, "#FFF1D4");
|
|
589
|
+
}
|
|
590
|
+
}, {
|
|
591
|
+
target: "--das-ui-color-success-level1",
|
|
592
|
+
resolve: function resolve(_ref18) {
|
|
593
|
+
var e = _ref18.variables,
|
|
594
|
+
r = _ref18.mixHexColor;
|
|
595
|
+
return r(t(e, "--upf-color-success"), t(e, "--upf-bg-primary"), 0.08, "#F2FFF5");
|
|
596
|
+
}
|
|
597
|
+
}, {
|
|
598
|
+
target: "--das-ui-color-success-level2",
|
|
599
|
+
resolve: function resolve(_ref19) {
|
|
600
|
+
var e = _ref19.variables,
|
|
601
|
+
r = _ref19.mixHexColor;
|
|
602
|
+
return r(t(e, "--upf-color-success"), t(e, "--upf-bg-primary"), 0.16, "#DCFAE4");
|
|
603
|
+
}
|
|
604
|
+
}, {
|
|
605
|
+
target: "--das-ui-color-amount",
|
|
606
|
+
resolve: function resolve(_ref20) {
|
|
607
|
+
var e = _ref20.variables,
|
|
608
|
+
r = _ref20.mixHexColor;
|
|
609
|
+
return r(t(e, "--upf-color-warning"), t(e, "--upf-color-error"), 0.55, "#FF5F1F");
|
|
610
|
+
}
|
|
611
|
+
}, {
|
|
612
|
+
target: "--das-ui-button-primary-hover",
|
|
613
|
+
resolve: function resolve(_ref21) {
|
|
614
|
+
var e = _ref21.variables,
|
|
615
|
+
r = _ref21.mixHexColor;
|
|
616
|
+
return r(t(e, "--upf-color-primary"), g, 0.82, "#104CCC");
|
|
617
|
+
}
|
|
618
|
+
}], _toConsumableArray(i("--upf-color-primary", ["--das-ui-search-form-primary-color"])), _toConsumableArray(i("--upf-text-primary", ["--das-ui-tag-list-text-color"])), _toConsumableArray(i("--upf-border-color", ["--das-ui-tag-list-border-color", "--das-ui-upload-border-color"])), _toConsumableArray(i("--upf-bg-secondary", ["--das-ui-upload-bgcolor"])), _toConsumableArray(i("--upf-text-secondary", ["--das-ui-search-form-tip-color"])), [{
|
|
619
|
+
target: "--das-ui-layout-header-menu-border-color",
|
|
620
|
+
from: "--upf-border-color"
|
|
621
|
+
}, {
|
|
622
|
+
target: "--das-ui-layout-header-menu-background-color",
|
|
623
|
+
from: "--upf-nav-bg"
|
|
624
|
+
}, {
|
|
625
|
+
target: "--das-ui-layout-header-menu-color",
|
|
626
|
+
from: "--upf-nav-text"
|
|
627
|
+
}, {
|
|
628
|
+
target: "--das-ui-layout-header-menu-hover-background-color",
|
|
629
|
+
from: "--upf-nav-hover-bg"
|
|
630
|
+
}, {
|
|
631
|
+
target: "--das-ui-layout-header-menu-hover-color",
|
|
632
|
+
from: "--upf-nav-active-text"
|
|
633
|
+
}, {
|
|
634
|
+
target: "--das-ui-layout-header-menu-active-background-color",
|
|
635
|
+
from: "--upf-nav-active-bg"
|
|
636
|
+
}, {
|
|
637
|
+
target: "--das-ui-layout-header-menu-active-color",
|
|
638
|
+
from: "--upf-nav-active-text"
|
|
639
|
+
}, {
|
|
640
|
+
target: "--das-ui-layout-header-menu-remove-btn-color",
|
|
641
|
+
resolve: function resolve(_ref22) {
|
|
642
|
+
var e = _ref22.variables,
|
|
643
|
+
r = _ref22.toRgbaColor;
|
|
644
|
+
return r(t(e, "--upf-nav-text"), 0.72, "rgba(170, 170, 172, 0.72)");
|
|
645
|
+
}
|
|
646
|
+
}, {
|
|
647
|
+
target: "--das-ui-layout-header-menu-remove-btn-hover-color",
|
|
648
|
+
from: "--upf-nav-active-text"
|
|
649
|
+
}, {
|
|
650
|
+
target: "--das-ui-layout-header-icon-color",
|
|
651
|
+
resolve: function resolve(_ref23) {
|
|
652
|
+
var e = _ref23.variables;
|
|
653
|
+
return t(e, "--upf-nav-text") || t(e, "--upf-text-secondary");
|
|
654
|
+
}
|
|
655
|
+
}, {
|
|
656
|
+
target: "--das-ui-layout-header-left-box-line",
|
|
657
|
+
resolve: function resolve(_ref24) {
|
|
658
|
+
var e = _ref24.variables,
|
|
659
|
+
r = _ref24.toRgbaColor;
|
|
660
|
+
return r(t(e, "--upf-nav-text") || t(e, "--upf-text-secondary"), 0.28, "#CCCCCC");
|
|
661
|
+
}
|
|
662
|
+
}, {
|
|
663
|
+
target: "--das-ui-layout-aside-menu-width",
|
|
664
|
+
value: "214px"
|
|
665
|
+
}, {
|
|
666
|
+
target: "--das-ui-layout-aside-collapse-menu-width",
|
|
667
|
+
value: "50px"
|
|
668
|
+
}, {
|
|
669
|
+
target: "--das-ui-layout-aside-menu-item-height",
|
|
670
|
+
value: "50px"
|
|
671
|
+
}, {
|
|
672
|
+
target: "--das-ui-layout-aside-border-color",
|
|
673
|
+
from: "--upf-border-color"
|
|
674
|
+
}, {
|
|
675
|
+
target: "--das-ui-layout-aside-background-color",
|
|
676
|
+
from: "--upf-menu-bg"
|
|
677
|
+
}, {
|
|
678
|
+
target: "--das-ui-layout-aside--item-color",
|
|
679
|
+
from: "--upf-menu-text"
|
|
680
|
+
}, {
|
|
681
|
+
target: "--das-ui-layout-aside--item-arrow-color",
|
|
682
|
+
from: "--upf-text-disabled"
|
|
683
|
+
}, {
|
|
684
|
+
target: "--das-ui-layout-aside--item-active-color",
|
|
685
|
+
from: "--upf-menu-active-text"
|
|
686
|
+
}, {
|
|
687
|
+
target: "--das-ui-layout-aside--item-active-background-color",
|
|
688
|
+
from: "--upf-menu-active-bg"
|
|
689
|
+
}, {
|
|
690
|
+
target: "--das-ui-layout-aside-item-hover-color",
|
|
691
|
+
from: "--upf-menu-active-text"
|
|
692
|
+
}, {
|
|
693
|
+
target: "--das-ui-layout-aside-item-hover-background-color",
|
|
694
|
+
from: "--upf-menu-hover-bg"
|
|
695
|
+
}, {
|
|
696
|
+
target: "--das-ui-layout-aside-submenu-title-border-color",
|
|
697
|
+
from: "--upf-divider-color"
|
|
698
|
+
}, {
|
|
699
|
+
target: "--das-ui-layout-aside-submenu-vertical-background-color",
|
|
700
|
+
from: "--upf-menu-submenu-bg"
|
|
701
|
+
}, {
|
|
702
|
+
target: "--das-ui-layout-aside-submenu-vertical-item-hover-background-color",
|
|
703
|
+
from: "--upf-menu-hover-bg"
|
|
704
|
+
}, {
|
|
705
|
+
target: "--das-ui-layout-aside-submenu-background-color",
|
|
706
|
+
from: "--upf-menu-submenu-bg"
|
|
707
|
+
}, {
|
|
708
|
+
target: "--das-ui-layout-aside-submenu-item-affix-color",
|
|
709
|
+
from: "--upf-color-primary"
|
|
710
|
+
}, {
|
|
711
|
+
target: "--das-ui-layout-aside-submenu-item-color",
|
|
712
|
+
from: "--upf-menu-text"
|
|
713
|
+
}, {
|
|
714
|
+
target: "--das-ui-layout-aside-submenu-item-hover-color",
|
|
715
|
+
from: "--upf-menu-active-text"
|
|
716
|
+
}, {
|
|
717
|
+
target: "--das-ui-layout-aside-submenu-item-hover-background-color",
|
|
718
|
+
from: "--upf-menu-hover-bg"
|
|
719
|
+
}, {
|
|
720
|
+
target: "--das-ui-layout-aside-submenu-item-active-background-color",
|
|
721
|
+
from: "--upf-menu-active-bg"
|
|
722
|
+
}, {
|
|
723
|
+
target: "--das-ui-layout-aside-collapse-icon-bg-color",
|
|
724
|
+
from: "--upf-text-disabled"
|
|
725
|
+
}, {
|
|
726
|
+
target: "--das-ui-layout-aside-collapse-icon-hover-bg-color",
|
|
727
|
+
from: "--upf-menu-active-text"
|
|
728
|
+
}, {
|
|
729
|
+
target: "--das-ui-layout-aside-divise-border-color",
|
|
730
|
+
from: "--upf-divider-color"
|
|
731
|
+
}, {
|
|
732
|
+
target: "--das-ui-layout-aside-menu-expired-color",
|
|
733
|
+
from: "--upf-text-disabled"
|
|
734
|
+
}, {
|
|
735
|
+
target: "--das-ui-layout-aside-menu-top-left-icon-color",
|
|
736
|
+
from: "--upf-color-primary"
|
|
737
|
+
}, {
|
|
738
|
+
target: "--das-ui-layout-aside-menu-top-right-icon-color",
|
|
739
|
+
from: "--upf-text-secondary"
|
|
740
|
+
}]),
|
|
741
|
+
K = [].concat(_toConsumableArray(i("--upf-color-primary", ["--upf-button-primary", "--upf-notification-primary-bg"])), _toConsumableArray(i("--upf-text-primary", ["--upf-button-default-text", "--upf-notification-title-text", "--upf-text-tooltip-text"])), _toConsumableArray(i("--upf-border-color", ["--upf-button-default-border", "--upf-text-tooltip-border"])), _toConsumableArray(i("--upf-text-disabled", ["--upf-button-default-disabled", "--upf-switch-off-color", "--upf-message-thumb", "--upf-text-tooltip-scrollbar-thumb"])), _toConsumableArray(i("--upf-bg-secondary", ["--upf-button-default-disabled-bg", "--upf-table-header-bg"])), _toConsumableArray(i("--upf-bg-primary", ["--upf-checkbox-filter-bg"])), _toConsumableArray(i("--upf-color-info", ["--upf-loading-color-1"])), _toConsumableArray(i("--upf-brand-secondary", ["--upf-loading-color-2"])), _toConsumableArray(i("--upf-color-success", ["--upf-loading-color-3"])), _toConsumableArray(i("--upf-divider-color", ["--upf-loading-color-6"])), _toConsumableArray(i("--upf-text-secondary", ["--upf-message-close", "--upf-notification-description-text", "--upf-notification-close", "--upf-text-tooltip-scrollbar-thumb-hover"])), [{
|
|
742
|
+
target: "--upf-button-primary-text",
|
|
743
|
+
value: f
|
|
744
|
+
}, {
|
|
745
|
+
target: "--upf-button-primary-text-disabled",
|
|
746
|
+
value: "rgba(255, 255, 255, 1)"
|
|
747
|
+
}, {
|
|
748
|
+
target: "--upf-dialog-basic-header-height",
|
|
749
|
+
value: "50px"
|
|
750
|
+
}, {
|
|
751
|
+
target: "--upf-dialog-basic-content-padding",
|
|
752
|
+
value: "30px"
|
|
753
|
+
}, {
|
|
754
|
+
target: "--upf-dialog-feedback-header-height",
|
|
755
|
+
value: "60px"
|
|
756
|
+
}, {
|
|
757
|
+
target: "--upf-dialog-feedback-icon-width",
|
|
758
|
+
value: "168px"
|
|
759
|
+
}, {
|
|
760
|
+
target: "--upf-dialog-feedback-icon-height",
|
|
761
|
+
value: "96px"
|
|
762
|
+
}, {
|
|
763
|
+
target: "--upf-dialog-feedback-content-font-size",
|
|
764
|
+
value: "16px"
|
|
765
|
+
}, {
|
|
766
|
+
target: "--upf-dialog-feedback-content-padding",
|
|
767
|
+
value: "48px"
|
|
768
|
+
}, {
|
|
769
|
+
target: "--upf-dialog-notice-content-font-size",
|
|
770
|
+
value: "14px"
|
|
771
|
+
}, {
|
|
772
|
+
target: "--upf-dialog-notice-content-padding",
|
|
773
|
+
value: "24px"
|
|
774
|
+
}, {
|
|
775
|
+
target: "--upf-table-header-padding-top",
|
|
776
|
+
value: "4px"
|
|
777
|
+
}, {
|
|
778
|
+
target: "--upf-table-header-padding-bottom",
|
|
779
|
+
value: "4px"
|
|
780
|
+
}, {
|
|
781
|
+
target: "--upf-message-font-size-sm",
|
|
782
|
+
value: "12px"
|
|
783
|
+
}, {
|
|
784
|
+
target: "--upf-message-font-size-md",
|
|
785
|
+
value: "14px"
|
|
786
|
+
}, {
|
|
787
|
+
target: "--upf-message-font-size-lg",
|
|
788
|
+
value: "16px"
|
|
789
|
+
}, {
|
|
790
|
+
target: "--upf-notification-font-size-sm",
|
|
791
|
+
value: "12px"
|
|
792
|
+
}, {
|
|
793
|
+
target: "--upf-notification-font-size-md",
|
|
794
|
+
value: "14px"
|
|
795
|
+
}, {
|
|
796
|
+
target: "--upf-notification-font-size-lg",
|
|
797
|
+
value: "16px"
|
|
798
|
+
}, {
|
|
799
|
+
target: "--upf-notification-primary-text",
|
|
800
|
+
value: f
|
|
801
|
+
}, {
|
|
802
|
+
target: "--upf-text-tooltip-scrollbar-padding",
|
|
803
|
+
value: "1px"
|
|
804
|
+
}, {
|
|
805
|
+
target: "--upf-button-primary-hover",
|
|
806
|
+
resolve: function resolve(_ref25) {
|
|
807
|
+
var e = _ref25.variables,
|
|
808
|
+
r = _ref25.mixHexColor;
|
|
809
|
+
return r(t(e, "--upf-color-primary") || "#5582F3", f, 0.82, "#87A9FF");
|
|
810
|
+
}
|
|
811
|
+
}, {
|
|
812
|
+
target: "--upf-button-active",
|
|
813
|
+
resolve: function resolve(_ref26) {
|
|
814
|
+
var e = _ref26.variables,
|
|
815
|
+
r = _ref26.mixHexColor;
|
|
816
|
+
return A(t(e, "--upf-color-primary"), r);
|
|
817
|
+
}
|
|
818
|
+
}, {
|
|
819
|
+
target: "--upf-button-disabled",
|
|
820
|
+
resolve: function resolve(_ref27) {
|
|
821
|
+
var e = _ref27.variables,
|
|
822
|
+
r = _ref27.mixHexColor;
|
|
823
|
+
return r(t(e, "--upf-color-primary") || "#5582F3", f, 0.3, "#B5CAFF");
|
|
824
|
+
}
|
|
825
|
+
}, {
|
|
826
|
+
target: "--upf-button-set",
|
|
827
|
+
resolve: function resolve(_ref28) {
|
|
828
|
+
var e = _ref28.variables,
|
|
829
|
+
r = _ref28.mixHexColor;
|
|
830
|
+
return r(t(e, "--upf-color-primary") || "#5582F3", g, 0.78, "#4367C1");
|
|
831
|
+
}
|
|
832
|
+
}, {
|
|
833
|
+
target: "--upf-button-set-hover",
|
|
834
|
+
resolve: function resolve(_ref29) {
|
|
835
|
+
var e = _ref29.variables,
|
|
836
|
+
r = _ref29.mixHexColor;
|
|
837
|
+
return r(t(e, "--upf-color-primary") || "#5582F3", g, 0.86, "#4C74DA");
|
|
838
|
+
}
|
|
839
|
+
}, {
|
|
840
|
+
target: "--upf-button-set-active",
|
|
841
|
+
resolve: function resolve(_ref30) {
|
|
842
|
+
var e = _ref30.variables,
|
|
843
|
+
r = _ref30.mixHexColor;
|
|
844
|
+
return A(t(e, "--upf-color-primary"), r);
|
|
845
|
+
}
|
|
846
|
+
}, {
|
|
847
|
+
target: "--upf-button-set-disabled",
|
|
848
|
+
resolve: function resolve(_ref31) {
|
|
849
|
+
var e = _ref31.variables,
|
|
850
|
+
r = _ref31.mixHexColor,
|
|
851
|
+
o = _ref31.result;
|
|
852
|
+
return r(o["--upf-button-set"] || t(e, "--upf-color-primary") || "#5582F3", t(e, "--upf-bg-primary"), 0.55, "#95A4C8");
|
|
853
|
+
}
|
|
854
|
+
}, {
|
|
855
|
+
target: "--upf-switch-on-color-disabled",
|
|
856
|
+
resolve: function resolve(_ref32) {
|
|
857
|
+
var e = _ref32.variables,
|
|
858
|
+
r = _ref32.mixHexColor;
|
|
859
|
+
return r(t(e, "--upf-color-primary"), f, 0.32, "#B5CAFF");
|
|
860
|
+
}
|
|
861
|
+
}, {
|
|
862
|
+
target: "--upf-checkbox-focus-shadow",
|
|
863
|
+
resolve: function resolve(_ref33) {
|
|
864
|
+
var e = _ref33.variables,
|
|
865
|
+
r = _ref33.toRgbaColor;
|
|
866
|
+
return r(t(e, "--upf-color-primary") || "#5582F3", 0.1, "rgba(85, 130, 243, 0.1)");
|
|
867
|
+
}
|
|
868
|
+
}, {
|
|
869
|
+
target: "--upf-checkbox-overlay-error-bg",
|
|
870
|
+
resolve: function resolve(_ref34) {
|
|
871
|
+
var e = _ref34.variables,
|
|
872
|
+
r = _ref34.mixHexColor;
|
|
873
|
+
return r(t(e, "--upf-color-error"), t(e, "--upf-bg-primary"), 0.14, "#FFDBE0");
|
|
874
|
+
}
|
|
875
|
+
}, {
|
|
876
|
+
target: "--upf-loading-color-4",
|
|
877
|
+
resolve: function resolve(_ref35) {
|
|
878
|
+
var e = _ref35.variables,
|
|
879
|
+
r = _ref35.mixHexColor;
|
|
880
|
+
return r(t(e, "--upf-brand-secondary"), t(e, "--upf-color-primary"), 0.45, "#A06EFF");
|
|
881
|
+
}
|
|
882
|
+
}, {
|
|
883
|
+
target: "--upf-loading-color-5",
|
|
884
|
+
resolve: function resolve(_ref36) {
|
|
885
|
+
var e = _ref36.variables;
|
|
886
|
+
return t(e, "--upf-color-primary") || "#5582F3";
|
|
887
|
+
}
|
|
888
|
+
}, {
|
|
889
|
+
target: "--upf-table-row-hover-bg",
|
|
890
|
+
from: "--upf-bg-secondary"
|
|
891
|
+
}, {
|
|
892
|
+
target: "--upf-table-row-active-bg",
|
|
893
|
+
resolve: function resolve(_ref37) {
|
|
894
|
+
var e = _ref37.variables,
|
|
895
|
+
r = _ref37.mixHexColor;
|
|
896
|
+
return r(t(e, "--upf-color-primary"), t(e, "--upf-bg-primary"), 0.08, "#F2F6FF");
|
|
897
|
+
}
|
|
898
|
+
}, {
|
|
899
|
+
target: "--upf-table-row-active-hover-bg",
|
|
900
|
+
resolve: function resolve(_ref38) {
|
|
901
|
+
var e = _ref38.variables,
|
|
902
|
+
r = _ref38.mixHexColor;
|
|
903
|
+
return r(t(e, "--upf-color-primary"), t(e, "--upf-bg-primary"), 0.14, "#E3EBFF");
|
|
904
|
+
}
|
|
905
|
+
}, {
|
|
906
|
+
target: "--upf-table-summary-row-color",
|
|
907
|
+
resolve: function resolve(_ref39) {
|
|
908
|
+
var e = _ref39.variables,
|
|
909
|
+
r = _ref39.mixHexColor;
|
|
910
|
+
return r(t(e, "--upf-color-warning"), t(e, "--upf-color-error"), 0.55, "#FF5F1F");
|
|
911
|
+
}
|
|
912
|
+
}, {
|
|
913
|
+
target: "--upf-table-summary-row-bg",
|
|
914
|
+
resolve: function resolve(_ref40) {
|
|
915
|
+
var e = _ref40.variables,
|
|
916
|
+
r = _ref40.mixHexColor;
|
|
917
|
+
return r(t(e, "--upf-color-warning"), t(e, "--upf-bg-primary"), 0.18, "#FFF1D4");
|
|
918
|
+
}
|
|
919
|
+
}, {
|
|
920
|
+
target: "--upf-message-bg",
|
|
921
|
+
resolve: function resolve(_ref41) {
|
|
922
|
+
var e = _ref41.variables,
|
|
923
|
+
r = _ref41.mixHexColor;
|
|
924
|
+
return r(t(e, "--upf-color-info"), t(e, "--upf-bg-primary"), 0.14, "#E0EFFF");
|
|
925
|
+
}
|
|
926
|
+
}, {
|
|
927
|
+
target: "--upf-message-text",
|
|
928
|
+
resolve: function resolve(_ref42) {
|
|
929
|
+
var e = _ref42.variables;
|
|
930
|
+
return t(e, "--upf-color-info") || t(e, "--upf-color-primary") || "#0E5FD8";
|
|
931
|
+
}
|
|
932
|
+
}, {
|
|
933
|
+
target: "--upf-message-border",
|
|
934
|
+
resolve: function resolve(_ref43) {
|
|
935
|
+
var e = _ref43.variables,
|
|
936
|
+
r = _ref43.mixHexColor;
|
|
937
|
+
return r(t(e, "--upf-color-info"), t(e, "--upf-bg-primary"), 0.32, "#B3D5FF");
|
|
938
|
+
}
|
|
939
|
+
}, {
|
|
940
|
+
target: "--upf-message-close-hover",
|
|
941
|
+
resolve: function resolve(_ref44) {
|
|
942
|
+
var e = _ref44.variables;
|
|
943
|
+
return t(e, "--upf-color-primary") || "#5582F3";
|
|
944
|
+
}
|
|
945
|
+
}, {
|
|
946
|
+
target: "--upf-message-success-bg",
|
|
947
|
+
resolve: function resolve(_ref45) {
|
|
948
|
+
var e = _ref45.variables,
|
|
949
|
+
r = _ref45.mixHexColor;
|
|
950
|
+
return r(t(e, "--upf-color-success"), t(e, "--upf-bg-primary"), 0.16, "#DCFAE4");
|
|
951
|
+
}
|
|
952
|
+
}, {
|
|
953
|
+
target: "--upf-message-success-text",
|
|
954
|
+
resolve: function resolve(_ref46) {
|
|
955
|
+
var e = _ref46.variables;
|
|
956
|
+
return t(e, "--upf-color-success") || "#1BA854";
|
|
957
|
+
}
|
|
958
|
+
}, {
|
|
959
|
+
target: "--upf-message-success-border",
|
|
960
|
+
resolve: function resolve(_ref47) {
|
|
961
|
+
var e = _ref47.variables,
|
|
962
|
+
r = _ref47.mixHexColor;
|
|
963
|
+
return r(t(e, "--upf-color-success"), t(e, "--upf-bg-primary"), 0.32, "#A1E6B5");
|
|
964
|
+
}
|
|
965
|
+
}, {
|
|
966
|
+
target: "--upf-message-info-bg",
|
|
967
|
+
resolve: function resolve(_ref48) {
|
|
968
|
+
var e = _ref48.result;
|
|
969
|
+
return e["--upf-message-bg"] || "#E0EFFF";
|
|
970
|
+
}
|
|
971
|
+
}, {
|
|
972
|
+
target: "--upf-message-info-text",
|
|
973
|
+
resolve: function resolve(_ref49) {
|
|
974
|
+
var e = _ref49.result;
|
|
975
|
+
return e["--upf-message-text"] || "#0E5FD8";
|
|
976
|
+
}
|
|
977
|
+
}, {
|
|
978
|
+
target: "--upf-message-info-border",
|
|
979
|
+
resolve: function resolve(_ref50) {
|
|
980
|
+
var e = _ref50.result;
|
|
981
|
+
return e["--upf-message-border"] || "#B3D5FF";
|
|
982
|
+
}
|
|
983
|
+
}, {
|
|
984
|
+
target: "--upf-message-warning-bg",
|
|
985
|
+
resolve: function resolve(_ref51) {
|
|
986
|
+
var e = _ref51.variables,
|
|
987
|
+
r = _ref51.mixHexColor;
|
|
988
|
+
return r(t(e, "--upf-color-warning"), t(e, "--upf-bg-primary"), 0.16, "#FFF1D4");
|
|
989
|
+
}
|
|
990
|
+
}, {
|
|
991
|
+
target: "--upf-message-warning-text",
|
|
992
|
+
resolve: function resolve(_ref52) {
|
|
993
|
+
var e = _ref52.variables;
|
|
994
|
+
return t(e, "--upf-color-warning") || "#FF991C";
|
|
995
|
+
}
|
|
996
|
+
}, {
|
|
997
|
+
target: "--upf-message-warning-border",
|
|
998
|
+
resolve: function resolve(_ref53) {
|
|
999
|
+
var e = _ref53.variables,
|
|
1000
|
+
r = _ref53.mixHexColor;
|
|
1001
|
+
return r(t(e, "--upf-color-warning"), t(e, "--upf-bg-primary"), 0.32, "#FFE0A6");
|
|
1002
|
+
}
|
|
1003
|
+
}, {
|
|
1004
|
+
target: "--upf-message-error-bg",
|
|
1005
|
+
resolve: function resolve(_ref54) {
|
|
1006
|
+
var e = _ref54.variables,
|
|
1007
|
+
r = _ref54.mixHexColor;
|
|
1008
|
+
return r(t(e, "--upf-color-error"), t(e, "--upf-bg-primary"), 0.14, "#FFDBE0");
|
|
1009
|
+
}
|
|
1010
|
+
}, {
|
|
1011
|
+
target: "--upf-message-error-text",
|
|
1012
|
+
resolve: function resolve(_ref55) {
|
|
1013
|
+
var e = _ref55.variables;
|
|
1014
|
+
return t(e, "--upf-color-error") || "#FB2323";
|
|
1015
|
+
}
|
|
1016
|
+
}, {
|
|
1017
|
+
target: "--upf-message-error-border",
|
|
1018
|
+
resolve: function resolve(_ref56) {
|
|
1019
|
+
var e = _ref56.variables,
|
|
1020
|
+
r = _ref56.mixHexColor;
|
|
1021
|
+
return r(t(e, "--upf-color-error"), t(e, "--upf-bg-primary"), 0.32, "#FFADB6");
|
|
1022
|
+
}
|
|
1023
|
+
}, {
|
|
1024
|
+
target: "--upf-notification-bg",
|
|
1025
|
+
resolve: function resolve(_ref57) {
|
|
1026
|
+
var e = _ref57.variables;
|
|
1027
|
+
return t(e, "--upf-bg-elevated") || t(e, "--upf-bg-primary");
|
|
1028
|
+
}
|
|
1029
|
+
}, {
|
|
1030
|
+
target: "--upf-notification-close-hover",
|
|
1031
|
+
resolve: function resolve(_ref58) {
|
|
1032
|
+
var e = _ref58.variables;
|
|
1033
|
+
return t(e, "--upf-color-primary") || "#5582F3";
|
|
1034
|
+
}
|
|
1035
|
+
}, {
|
|
1036
|
+
target: "--upf-text-tooltip-bg",
|
|
1037
|
+
resolve: function resolve(_ref59) {
|
|
1038
|
+
var e = _ref59.variables;
|
|
1039
|
+
return t(e, "--upf-bg-elevated") || t(e, "--upf-bg-primary");
|
|
1040
|
+
}
|
|
1041
|
+
}, {
|
|
1042
|
+
target: "--upf-text-tooltip-shadow-color",
|
|
1043
|
+
resolve: function resolve(_ref60) {
|
|
1044
|
+
var e = _ref60.toRgbaColor;
|
|
1045
|
+
return e("#262626", 0.16, "rgba(38, 38, 38, 0.16)");
|
|
1046
|
+
}
|
|
1047
|
+
}, {
|
|
1048
|
+
target: "--upf-app-container-app-bg-override",
|
|
1049
|
+
from: "--upf-nav-bg"
|
|
1050
|
+
}, {
|
|
1051
|
+
target: "--upf-app-container-app-text-override",
|
|
1052
|
+
from: "--upf-nav-text"
|
|
1053
|
+
}]),
|
|
1054
|
+
Y = function Y(e) {
|
|
1055
|
+
return x(e, W);
|
|
1056
|
+
},
|
|
1057
|
+
J = function J(e) {
|
|
1058
|
+
return x(e, G);
|
|
1059
|
+
},
|
|
1060
|
+
Q = function Q(e) {
|
|
1061
|
+
return x(e, q);
|
|
1062
|
+
},
|
|
1063
|
+
X = function X(e) {
|
|
1064
|
+
return x(e, K);
|
|
1065
|
+
},
|
|
1066
|
+
Z = function Z(e) {
|
|
1067
|
+
var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1068
|
+
var o = h(e),
|
|
1069
|
+
_r$includeElementAndD = r.includeElementAndDasUiBridges,
|
|
1070
|
+
a = _r$includeElementAndD === void 0 ? true : _r$includeElementAndD;
|
|
1071
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, o), X(e)), a ? J(e) : {}), a ? Q(e) : {}), Y(e));
|
|
1072
|
+
},
|
|
1073
|
+
k = function k(e) {
|
|
1074
|
+
return e || ((typeof document === "undefined" ? "undefined" : _typeof(document)) > "u" ? null : document.documentElement);
|
|
1075
|
+
},
|
|
1076
|
+
N = function N(e) {
|
|
1077
|
+
return !!(e && String(e.tagName || "").toLowerCase() === "style");
|
|
1078
|
+
},
|
|
1079
|
+
H = function H(e) {
|
|
1080
|
+
return e.head || e.documentElement;
|
|
1081
|
+
},
|
|
1082
|
+
R = function R(e, r) {
|
|
1083
|
+
var o = H(e);
|
|
1084
|
+
o && (r.parentNode !== o || o.lastElementChild !== r) && o.appendChild(r);
|
|
1085
|
+
},
|
|
1086
|
+
D = function D(e) {
|
|
1087
|
+
var u;
|
|
1088
|
+
if (B.has(e)) return;
|
|
1089
|
+
var r = H(e),
|
|
1090
|
+
o = ((u = e.defaultView) == null ? undefined : u.MutationObserver) || ((typeof MutationObserver === "undefined" ? "undefined" : _typeof(MutationObserver)) < "u" ? MutationObserver : undefined);
|
|
1091
|
+
if (!r || !o) return;
|
|
1092
|
+
new o(function () {
|
|
1093
|
+
var l = e.getElementById(E);
|
|
1094
|
+
N(l) && R(e, l);
|
|
1095
|
+
}).observe(r, {
|
|
1096
|
+
childList: true
|
|
1097
|
+
}), B.add(e);
|
|
1098
|
+
},
|
|
1099
|
+
ee = function ee(e) {
|
|
1100
|
+
var r = e.getElementById(E);
|
|
1101
|
+
if (N(r)) return R(e, r), D(e), r;
|
|
1102
|
+
var o = e.createElement("style");
|
|
1103
|
+
return o.id = E, H(e).appendChild(o), D(e), o;
|
|
1104
|
+
},
|
|
1105
|
+
re = function re(e) {
|
|
1106
|
+
var r = Object.entries(e).map(function (_ref61) {
|
|
1107
|
+
var _ref62 = _slicedToArray(_ref61, 2),
|
|
1108
|
+
o = _ref62[0],
|
|
1109
|
+
a = _ref62[1];
|
|
1110
|
+
return " ".concat(o, ": ").concat(String(a !== null && a !== void 0 ? a : ""), ";");
|
|
1111
|
+
}).join("\n");
|
|
1112
|
+
return r ? ":root {\n".concat(r, "\n}") : ":root {}";
|
|
1113
|
+
},
|
|
1114
|
+
V = function V(e, r) {
|
|
1115
|
+
if (!e.length || !r.length) return;
|
|
1116
|
+
var o = new Set(r);
|
|
1117
|
+
for (var a = e.length - 1; a >= 0; a--) {
|
|
1118
|
+
var u = e[a];
|
|
1119
|
+
o.has(u) && e.removeProperty(u);
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
1122
|
+
oe = function oe(e, r) {
|
|
1123
|
+
var o = ee(e),
|
|
1124
|
+
a = re(r);
|
|
1125
|
+
(_.get(e) !== a || o.textContent !== a) && (o.textContent = a, _.set(e, a));
|
|
1126
|
+
var u = Object.keys(r);
|
|
1127
|
+
V(e.documentElement.style, u), e.body && V(e.body.style, u);
|
|
1128
|
+
},
|
|
1129
|
+
te = function te(e) {
|
|
1130
|
+
(typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" || (window.__UPF_THEME_SNAPSHOT__ = e);
|
|
1131
|
+
},
|
|
1132
|
+
ae = function ae(e, r) {
|
|
1133
|
+
var o = b(r) || {},
|
|
1134
|
+
a = e.ownerDocument || document;
|
|
1135
|
+
y.set(e, o);
|
|
1136
|
+
var u = e === a.documentElement || e === a.body;
|
|
1137
|
+
u && y.set(a, o), u && (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && a === document && (window.__UPF_THEME_RUNTIME_VARIABLES__ = o);
|
|
1138
|
+
},
|
|
1139
|
+
ue = function ue(e) {
|
|
1140
|
+
var r = k(e),
|
|
1141
|
+
o = (r == null ? undefined : r.ownerDocument) || ((typeof document === "undefined" ? "undefined" : _typeof(document)) < "u" ? document : null),
|
|
1142
|
+
a = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && o === document && window.__UPF_THEME_RUNTIME_VARIABLES__ || null;
|
|
1143
|
+
return (r ? y.get(r) : null) || (o ? y.get(o) : null) || a;
|
|
1144
|
+
},
|
|
1145
|
+
le = function le() {
|
|
1146
|
+
var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
|
1147
|
+
var r;
|
|
1148
|
+
if ((typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" || !window.name) return null;
|
|
1149
|
+
try {
|
|
1150
|
+
var o = JSON.parse(window.name),
|
|
1151
|
+
a = (r = o == null ? void 0 : o.parentData) == null ? void 0 : r.theme;
|
|
1152
|
+
return !(a != null && a.variables) || _typeof(a.variables) != "object" ? null : {
|
|
1153
|
+
themeName: String(a.themeName || ""),
|
|
1154
|
+
config: a.config || null,
|
|
1155
|
+
variables: a.variables,
|
|
1156
|
+
timestamp: Number(a.timestamp) || Date.now()
|
|
1157
|
+
};
|
|
1158
|
+
} catch (_unused) {
|
|
1159
|
+
return null;
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
ie = function ie(e, r) {
|
|
1163
|
+
if (r !== undefined) return r;
|
|
1164
|
+
var o = e.config || {};
|
|
1165
|
+
return String(o.basePresetName || o.name || e.themeName || "").trim() || null;
|
|
1166
|
+
},
|
|
1167
|
+
ne = function ne(e) {
|
|
1168
|
+
var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1169
|
+
var o = k(r.root);
|
|
1170
|
+
if (!o) return {};
|
|
1171
|
+
var a = h(e),
|
|
1172
|
+
u = r.includeBridges === false ? Object.entries(a).reduce(function (n, _ref63) {
|
|
1173
|
+
var _ref64 = _slicedToArray(_ref63, 2),
|
|
1174
|
+
c = _ref64[0],
|
|
1175
|
+
s = _ref64[1];
|
|
1176
|
+
return n[c] = String(s !== null && s !== void 0 ? s : ""), n;
|
|
1177
|
+
}, {}) : Z(a, {
|
|
1178
|
+
includeElementAndDasUiBridges: r.includeElementAndDasUiBridges
|
|
1179
|
+
}),
|
|
1180
|
+
l = o.ownerDocument || document;
|
|
1181
|
+
return o === l.documentElement || o === l.body ? oe(l, u) : Object.entries(u).forEach(function (_ref65) {
|
|
1182
|
+
var _ref66 = _slicedToArray(_ref65, 2),
|
|
1183
|
+
n = _ref66[0],
|
|
1184
|
+
c = _ref66[1];
|
|
1185
|
+
o.style.getPropertyValue(n) !== c && o.style.setProperty(n, c);
|
|
1186
|
+
}), ae(o, u), r.themeName && o.setAttribute("data-theme", r.themeName), r.skinName === null ? o.removeAttribute("data-skin") : r.skinName && o.setAttribute("data-skin", r.skinName), u;
|
|
1187
|
+
},
|
|
1188
|
+
O = function O(e) {
|
|
1189
|
+
var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1190
|
+
var o = ne(e.variables || {}, _objectSpread(_objectSpread({}, r), {}, {
|
|
1191
|
+
themeName: r.themeName || e.themeName,
|
|
1192
|
+
skinName: ie(e, r.skinName)
|
|
1193
|
+
}));
|
|
1194
|
+
return te(e), o;
|
|
1195
|
+
},
|
|
1196
|
+
w = function w(e, r) {
|
|
1197
|
+
var o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
1198
|
+
try {
|
|
1199
|
+
return e && e.__THEME_API__ || null;
|
|
1200
|
+
} catch (_unused2) {
|
|
1201
|
+
return null;
|
|
1202
|
+
}
|
|
1203
|
+
},
|
|
1204
|
+
v = function v() {
|
|
1205
|
+
var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
|
1206
|
+
return (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" ? null : w(window, "current", e) || w(window.parent, "parent", e) || w(window.top, "top", e);
|
|
1207
|
+
},
|
|
1208
|
+
I = function I() {
|
|
1209
|
+
var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1210
|
+
var r = v(e.debug),
|
|
1211
|
+
o = r != null && r.getCurrentTheme ? r.getCurrentTheme() : null;
|
|
1212
|
+
if (o) return o;
|
|
1213
|
+
var a = ((typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window.__UPF_THEME_SNAPSHOT__ : null) || null;
|
|
1214
|
+
return a || le(e.debug);
|
|
1215
|
+
},
|
|
1216
|
+
se = function se() {
|
|
1217
|
+
var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1218
|
+
var r = ue(e.root);
|
|
1219
|
+
if (r) return b(r);
|
|
1220
|
+
var o = I(e);
|
|
1221
|
+
if (o != null && o.variables) return b(o.variables);
|
|
1222
|
+
var a = v(e.debug);
|
|
1223
|
+
if (!a) return null;
|
|
1224
|
+
var u = a.getVariables ? a.getVariables() : null;
|
|
1225
|
+
return b(u);
|
|
1226
|
+
},
|
|
1227
|
+
xe = function xe(e) {
|
|
1228
|
+
var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
1229
|
+
var o = v(r);
|
|
1230
|
+
return o != null && o.changeTheme ? (o.changeTheme(e), true) : false;
|
|
1231
|
+
},
|
|
1232
|
+
z = function z() {
|
|
1233
|
+
var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1234
|
+
var r = I(e);
|
|
1235
|
+
return r ? (O(r, e), r) : (e.debug, null);
|
|
1236
|
+
},
|
|
1237
|
+
ve = function ve() {
|
|
1238
|
+
var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1239
|
+
return z(_objectSpread({
|
|
1240
|
+
includeBridges: false,
|
|
1241
|
+
includeElementAndDasUiBridges: false
|
|
1242
|
+
}, e));
|
|
1243
|
+
},
|
|
1244
|
+
ce = function ce(e) {
|
|
1245
|
+
var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
1246
|
+
try {
|
|
1247
|
+
var o = mframe.bus("microApp");
|
|
1248
|
+
return o.event.on(S, e), function () {
|
|
1249
|
+
o.event.off(S, e);
|
|
1250
|
+
};
|
|
1251
|
+
} catch (_unused3) {
|
|
1252
|
+
return null;
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
pe = function pe(e, r) {
|
|
1256
|
+
return e != null && e.onThemeChange ? e.onThemeChange(r) : null;
|
|
1257
|
+
},
|
|
1258
|
+
fe = function fe(e) {
|
|
1259
|
+
return e ? [String(e.themeName || ""), String(e.source || ""), String(Number(e.timestamp) || 0)].join("|") : "";
|
|
1260
|
+
},
|
|
1261
|
+
ge = function ge(e) {
|
|
1262
|
+
var r = "";
|
|
1263
|
+
return function (o) {
|
|
1264
|
+
var a = fe(o);
|
|
1265
|
+
a && a === r || (r = a, e(o));
|
|
1266
|
+
};
|
|
1267
|
+
},
|
|
1268
|
+
me = function me(e, r) {
|
|
1269
|
+
var o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
1270
|
+
var a = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
|
|
1271
|
+
var u = ge(r),
|
|
1272
|
+
l = pe(e, u),
|
|
1273
|
+
n = ce(u, a),
|
|
1274
|
+
s = (o ? [l, n] : [n, l]).filter(Boolean);
|
|
1275
|
+
return s.length ? function () {
|
|
1276
|
+
s.forEach(function (p) {
|
|
1277
|
+
return p();
|
|
1278
|
+
});
|
|
1279
|
+
} : null;
|
|
1280
|
+
},
|
|
1281
|
+
de = function de() {
|
|
1282
|
+
var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1283
|
+
var _e$syncOnInit = e.syncOnInit,
|
|
1284
|
+
r = _e$syncOnInit === void 0 ? true : _e$syncOnInit,
|
|
1285
|
+
_e$preferWindowSubscr = e.preferWindowSubscription,
|
|
1286
|
+
o = _e$preferWindowSubscr === void 0 ? false : _e$preferWindowSubscr,
|
|
1287
|
+
a = e.onThemeChange,
|
|
1288
|
+
_e$debug = e.debug,
|
|
1289
|
+
u = _e$debug === void 0 ? true : _e$debug,
|
|
1290
|
+
l = _objectWithoutProperties(e, _excluded),
|
|
1291
|
+
n = v(u);
|
|
1292
|
+
var c = false,
|
|
1293
|
+
s = null,
|
|
1294
|
+
p = null;
|
|
1295
|
+
var m = function m() {
|
|
1296
|
+
c || z(_objectSpread(_objectSpread({}, l), {}, {
|
|
1297
|
+
debug: u
|
|
1298
|
+
}));
|
|
1299
|
+
},
|
|
1300
|
+
C = me(n, function (d) {
|
|
1301
|
+
O(d, l), a && (d == null ? undefined : d.source) !== "mountSync" && a(d);
|
|
1302
|
+
}, o, u);
|
|
1303
|
+
return r && (m(), (typeof queueMicrotask == "function" ? queueMicrotask : function (U) {
|
|
1304
|
+
return Promise.resolve().then(U);
|
|
1305
|
+
})(m), typeof requestAnimationFrame == "function" ? s = requestAnimationFrame(function () {
|
|
1306
|
+
s = null, m();
|
|
1307
|
+
}) : p = setTimeout(function () {
|
|
1308
|
+
p = null, m();
|
|
1309
|
+
}, 16)), function () {
|
|
1310
|
+
c = true, s !== null && typeof cancelAnimationFrame == "function" && (cancelAnimationFrame(s), s = null), p !== null && (clearTimeout(p), p = null), C == null || C();
|
|
1311
|
+
};
|
|
1312
|
+
},
|
|
1313
|
+
Ce = function Ce() {
|
|
1314
|
+
var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1315
|
+
return de(_objectSpread({
|
|
1316
|
+
includeBridges: false,
|
|
1317
|
+
includeElementAndDasUiBridges: false
|
|
1318
|
+
}, e));
|
|
1319
|
+
},
|
|
1320
|
+
be = function be(e, r) {
|
|
1321
|
+
var _ref67;
|
|
1322
|
+
var l;
|
|
1323
|
+
var o = k(r),
|
|
1324
|
+
a = String(e || "").trim();
|
|
1325
|
+
if (!o || !a) return "";
|
|
1326
|
+
var u = (typeof getComputedStyle === "undefined" ? "undefined" : _typeof(getComputedStyle)) > "u" ? "" : getComputedStyle(o).getPropertyValue(a).trim();
|
|
1327
|
+
return u || String((_ref67 = (l = se({
|
|
1328
|
+
root: o,
|
|
1329
|
+
debug: false
|
|
1330
|
+
})) == null ? undefined : l[a]) !== null && _ref67 !== void 0 ? _ref67 : "");
|
|
1331
|
+
},
|
|
1332
|
+
Fe = function Fe(e) {
|
|
1333
|
+
return "var(".concat(String(e || "").trim(), ")");
|
|
1334
|
+
},
|
|
1335
|
+
we = function we(e, r) {
|
|
1336
|
+
return {
|
|
1337
|
+
value: be(String(e || "").trim(), r)
|
|
1338
|
+
};
|
|
1339
|
+
};
|
|
1340
|
+
exports.DAS_UI_THEME_BRIDGE_ITEMS = q;
|
|
1341
|
+
exports.ELEMENT_THEME_BRIDGE_ITEMS = G;
|
|
1342
|
+
exports.LEGACY_THEME_BRIDGE_ITEMS = W;
|
|
1343
|
+
exports.UPF_COMPONENT_THEME_BRIDGE_ITEMS = K;
|
|
1344
|
+
exports.applyThemeEventToDocument = O;
|
|
1345
|
+
exports.applyThemeVariablesToDocument = ne;
|
|
1346
|
+
exports.buildRuntimeThemeVariables = Z;
|
|
1347
|
+
exports.changeTheme = xe;
|
|
1348
|
+
exports.getCurrentTheme = I;
|
|
1349
|
+
exports.getHostThemeSnapshotFromWindowName = le;
|
|
1350
|
+
exports.getThemeAPI = v;
|
|
1351
|
+
exports.getThemeVariable = be;
|
|
1352
|
+
exports.getThemeVariables = se;
|
|
1353
|
+
exports.getVar = Fe;
|
|
1354
|
+
exports.getVarValue = we;
|
|
1355
|
+
exports.initHostThemeRootSync = Ce;
|
|
1356
|
+
exports.initSubAppThemeSync = de;
|
|
1357
|
+
exports.mixHexColor = $;
|
|
1358
|
+
exports.resolveThemeBridgeVariables = x;
|
|
1359
|
+
exports.syncHostThemeRoot = ve;
|
|
1360
|
+
exports.syncThemeFromHost = z;
|
|
1361
|
+
exports.toDasUiColorOverrides = Q;
|
|
1362
|
+
exports.toElementThemeVariables = J;
|
|
1363
|
+
exports.toLegacyThemeVariables = Y;
|
|
1364
|
+
exports.toRgbaColor = P;
|
|
1365
|
+
exports.toUpfComponentThemeVariables = X;
|