@das-fed/upf-utils 6.4.0-dev.234 → 6.4.0-dev.236

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 (119) hide show
  1. package/api-services/es5.js +2144 -2059
  2. package/api-services/index.js +1641 -1559
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +2183 -2119
  5. package/api-services/modules/app-manage/index.js +1810 -1760
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +2380 -2316
  8. package/api-services/modules/authentication/index.js +1977 -1927
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +2096 -2023
  11. package/api-services/modules/bems/index.js +1717 -1653
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +2299 -2223
  14. package/api-services/modules/contract/index.js +1898 -1830
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +2183 -2119
  17. package/api-services/modules/duty-manage/index.js +1808 -1758
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +2380 -2316
  20. package/api-services/modules/enterpriseright/index.js +1977 -1927
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +2128 -2042
  23. package/api-services/modules/file/es5.js +1872 -1796
  24. package/api-services/modules/file/index.js +1458 -1390
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +2299 -2223
  27. package/api-services/modules/gateway-edge/index.js +1898 -1830
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +1621 -1539
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +2197 -2133
  32. package/api-services/modules/iot/index.js +1816 -1766
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +2179 -2115
  35. package/api-services/modules/justauth/index.js +1806 -1756
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +2183 -2119
  38. package/api-services/modules/knowledge/index.js +1810 -1760
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +2299 -2223
  41. package/api-services/modules/link/index.js +1898 -1830
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +2380 -2316
  44. package/api-services/modules/permission/index.js +1977 -1927
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +2194 -2130
  47. package/api-services/modules/platformManage/index.js +1814 -1764
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +2359 -2274
  50. package/api-services/modules/portal/index.js +1971 -1889
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +2299 -2223
  53. package/api-services/modules/space-manage/index.js +1898 -1830
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +2306 -2230
  56. package/api-services/modules/super-admin/index.js +1902 -1834
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +2266 -2193
  59. package/api-services/modules/supplier/index.js +1873 -1809
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +2297 -2223
  62. package/api-services/modules/supplychain-manage/index.js +1896 -1832
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +2299 -2223
  65. package/api-services/modules/systemConfiguration/index.js +1898 -1830
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +2380 -2316
  68. package/api-services/modules/tool/index.js +1977 -1927
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +2181 -2117
  71. package/api-services/src/create-service/index.js +1808 -1758
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +2875 -2774
  74. package/common-info/getPermissionMethod/es5.js +2343 -2218
  75. package/common-info/getPermissionMethod/index.d.ts +9 -2
  76. package/common-info/getPermissionMethod/index.js +1932 -1823
  77. package/common-info/getPermissionMethod/index.js.gz +0 -0
  78. package/common-info/index.d.ts +2 -2
  79. package/common-info/index.js +2395 -2322
  80. package/common-info/index.js.gz +0 -0
  81. package/common-info/set-personal-info/es5.js +1073 -997
  82. package/common-info/set-personal-info/index.js +895 -827
  83. package/common-info/set-personal-info/index.js.gz +0 -0
  84. package/common-tools/extract-file-name/es5.js +1074 -998
  85. package/common-tools/extract-file-name/index.js +889 -821
  86. package/common-tools/extract-file-name/index.js.gz +0 -0
  87. package/common-tools/handle-data/es5.js +1 -1
  88. package/common-tools/update-browser-title/es5.js +1 -1
  89. package/common-tools/update-fav-icon/es5.js +1 -1
  90. package/create-api-service/access-token-auto-refresh/es5.js +1 -1
  91. package/create-api-service/check-token/es5.js +1 -1
  92. package/create-api-service/es5.js +2366 -2278
  93. package/create-api-service/index.js +1976 -1890
  94. package/create-api-service/index.js.gz +0 -0
  95. package/create-api-service/sso/es5.js +1242 -1166
  96. package/create-api-service/sso/index.js +1006 -938
  97. package/create-api-service/sso/index.js.gz +0 -0
  98. package/create-api-service/token-refresh-shared/es5.js +1125 -1049
  99. package/create-api-service/token-refresh-shared/index.js +927 -859
  100. package/create-api-service/token-refresh-shared/index.js.gz +0 -0
  101. package/curring-http/es5.js +1442 -1366
  102. package/curring-http/index.js +1132 -1064
  103. package/curring-http/index.js.gz +0 -0
  104. package/directive/clickOutside/es5.js +1 -1
  105. package/directive/hoverInside/es5.js +1 -1
  106. package/directive/utils/es5.js +1 -1
  107. package/esm-map.json +2 -2
  108. package/hooks/use-get-auth/es5.js +1 -1
  109. package/package.json +3 -3
  110. package/pinyin-first-character/es5.js +47 -45
  111. package/pinyin-first-character/index.js +37 -35
  112. package/pinyin-first-character/index.js.gz +0 -0
  113. package/style/es5.js +11 -11
  114. package/style/index.js +10 -10
  115. package/style/index.js.gz +0 -0
  116. package/use-low-code/es5.js +37 -53
  117. package/use-low-code/index.js +36 -31
  118. package/use-low-code/index.js.gz +0 -0
  119. package/use-low-code/style.css +0 -1
package/style/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.5.17
2
+ * @vue/shared v3.5.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -8,8 +8,8 @@ process.env.NODE_ENV !== "production" && Object.freeze([]);
8
8
  const u = (t) => {
9
9
  const e = /* @__PURE__ */ Object.create(null);
10
10
  return (r) => e[r] || (e[r] = t(r));
11
- }, m = /-(\w)/g, p = u(
12
- (t) => t.replace(m, (e, r) => r ? r.toUpperCase() : "")
11
+ }, m = /-\w/g, p = u(
12
+ (t) => t.replace(m, (e) => e.slice(1).toUpperCase())
13
13
  ), a = (t = "") => t.split(" ").filter((e) => !!e.trim()), h = (t, e) => {
14
14
  if (!t || !e) return !1;
15
15
  if (e.includes(" ")) throw new Error("className should not contain space.");
@@ -46,15 +46,15 @@ const u = (t) => {
46
46
  for (const n of e)
47
47
  r.appendChild(document.createTextNode(`${n.className}{${d(n.style)}}`));
48
48
  }
49
- }, l = (t) => Number(t.toString().replace("px", "")), o = (t, e, r) => {
49
+ }, l = (t) => Number(t.toString().replace("px", "")), c = (t, e, r) => {
50
50
  e = l(e), r = l(r);
51
51
  let n;
52
52
  return t === "add" && (n = e + r), t === "subtract" && (n = e - r), t === "multiply" && (n = e * r), t === "divide" && (n = e / r), e = null, r = null, n;
53
- }, c = (t) => ({
54
- add: (e) => c(o("add", t, e)),
55
- subtract: (e) => c(o("subtract", t, e)),
56
- multiply: (e) => c(o("multiply", t, e)),
57
- divide: (e) => c(o("divide", t, e)),
53
+ }, o = (t) => ({
54
+ add: (e) => o(c("add", t, e)),
55
+ subtract: (e) => o(c("subtract", t, e)),
56
+ multiply: (e) => o(c("multiply", t, e)),
57
+ divide: (e) => o(c("divide", t, e)),
58
58
  res: () => {
59
59
  const e = t + "px";
60
60
  return t = null, e;
@@ -63,7 +63,7 @@ const u = (t) => {
63
63
  export {
64
64
  y as addClass,
65
65
  E as createStyle,
66
- c as curringMath,
66
+ o as curringMath,
67
67
  d as getCSS,
68
68
  N as getStyle,
69
69
  h as hasClass,
package/style/index.js.gz CHANGED
Binary file
@@ -1,15 +1,8 @@
1
1
  'use strict';
2
2
 
3
- function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
4
- 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."); }
5
- 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; } }
6
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
8
- 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; } }
9
- 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; }
10
3
  var vue = require('vue');
11
4
  var x = ["src"],
12
- b = /* @__PURE__ */vue.defineComponent({
5
+ B = /* @__PURE__ */vue.defineComponent({
13
6
  __name: "low-code-iframe",
14
7
  props: {
15
8
  app: {},
@@ -19,61 +12,61 @@ var x = ["src"],
19
12
  }
20
13
  },
21
14
  emits: ["emit-change", "update:iframeLoading"],
22
- setup: function setup(n, _ref) {
23
- var c = _ref.expose,
24
- s = _ref.emit;
25
- var a = n,
26
- r = vue.computed(function () {
15
+ setup: function setup(m, _ref) {
16
+ var f = _ref.expose,
17
+ u = _ref.emit;
18
+ var a = m,
19
+ i = vue.computed(function () {
27
20
  if (!a.app) return;
28
21
  var e = "";
29
22
  var o = "";
30
23
  var t = a.query || {};
31
24
  return a.app && (t.app = a.app), e = "".concat(o, "/api/node-low-code/v1/visitor/views/index?").concat(new URLSearchParams(t).toString()), e;
32
25
  }),
33
- l = s,
34
- d = vue.computed({
26
+ s = u,
27
+ r = vue.computed({
35
28
  get: function get() {
36
29
  return a.iframeLoading;
37
30
  },
38
31
  set: function set(e) {
39
- return l("update:iframeLoading", e);
32
+ return s("update:iframeLoading", e);
40
33
  }
41
34
  }),
42
- p = function p(e) {
35
+ d = function d(e) {
43
36
  var _ref2 = e.data || {},
44
37
  _ref2$emitName = _ref2.emitName,
45
38
  o = _ref2$emitName === void 0 ? "" : _ref2$emitName,
46
39
  _ref2$emitData = _ref2.emitData,
47
40
  t = _ref2$emitData === void 0 ? {} : _ref2$emitData;
48
- o === "app-mounted" ? d.value = false : l("emit-change", o, t);
41
+ o === "app-mounted" ? r.value = false : s("emit-change", o, t);
49
42
  };
50
43
  vue.onMounted(function () {
51
- window.addEventListener("message", p, false);
44
+ window.addEventListener("message", d, false);
52
45
  }), vue.onBeforeUnmount(function () {
53
- window.removeEventListener("message", p, false);
46
+ window.removeEventListener("message", d, false);
54
47
  });
55
- var i = vue.ref(null),
56
- m = function m(e) {
48
+ var n = vue.ref(null),
49
+ l = function l(e) {
57
50
  var o;
58
- d.value || (o = i.value) != null && o.contentWindow && i.value.contentWindow.postMessage(e);
51
+ r.value || (o = n.value) != null && o.contentWindow && n.value.contentWindow.postMessage(e);
59
52
  };
60
- c({
53
+ f({
61
54
  onActivated: function onActivated() {
62
- m({
55
+ l({
63
56
  type: "onActivated"
64
57
  });
65
58
  },
66
59
  onDeactivated: function onDeactivated() {
67
- m({
60
+ l({
68
61
  type: "onDeactivated"
69
62
  });
70
63
  }
71
64
  });
72
65
  var w = function w() {
73
- var o, t, f;
74
- var _URL = new URL(r.value || "", location.origin),
66
+ var o, t, c;
67
+ var _URL = new URL(i.value || "", location.origin),
75
68
  e = _URL.origin;
76
- e && ((f = (t = (o = i.value) == null ? undefined : o.contentWindow) == null ? undefined : t.postMessage) == null || f.call(t, {
69
+ e && ((c = (t = (o = n.value) == null ? undefined : o.contentWindow) == null ? undefined : t.postMessage) == null || c.call(t, {
77
70
  type: "setProxSsoStatus",
78
71
  data: {
79
72
  visible: true,
@@ -83,35 +76,26 @@ var x = ["src"],
83
76
  };
84
77
  return function (e, o) {
85
78
  return vue.openBlock(), vue.createElementBlock("iframe", {
86
- "class": "low-code-iframe",
87
79
  id: "low-code-iframe",
88
- src: r.value,
80
+ "class": "low-code-iframe",
81
+ src: i.value,
89
82
  frameborder: "0",
90
83
  sandbox: "allow-same-origin allow-scripts allow-forms allow-modals allow-popups allow-downloads allow-top-navigation",
91
84
  ref_key: "lowCodeRef",
92
- ref: i,
93
- onLoad: w
85
+ ref: n,
86
+ onLoad: w,
87
+ style: {
88
+ padding: 0,
89
+ margin: 0,
90
+ border: "none",
91
+ outline: "none",
92
+ height: "100%",
93
+ width: "100%",
94
+ minHeight: "100px",
95
+ minWidth: "100px"
96
+ }
94
97
  }, null, 40, x);
95
98
  };
96
99
  }
97
- }),
98
- C = function C(n, c) {
99
- var s = n.__vccOpts || n;
100
- var _iterator = _createForOfIteratorHelper(c),
101
- _step;
102
- try {
103
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
104
- var _step$value = _slicedToArray(_step.value, 2),
105
- a = _step$value[0],
106
- r = _step$value[1];
107
- s[a] = r;
108
- }
109
- } catch (err) {
110
- _iterator.e(err);
111
- } finally {
112
- _iterator.f();
113
- }
114
- return s;
115
- },
116
- B = /* @__PURE__ */C(b, [["__scopeId", "data-v-c5870bec"]]);
100
+ });
117
101
  exports.LowCode = B;
@@ -1,5 +1,5 @@
1
- import { defineComponent as v, computed as u, onMounted as g, onBeforeUnmount as _, ref as L, openBlock as y, createElementBlock as h } from "vue";
2
- const x = ["src"], b = /* @__PURE__ */ v({
1
+ import { defineComponent as g, computed as p, onMounted as v, onBeforeUnmount as h, ref as L, openBlock as y, createElementBlock as _ } from "vue";
2
+ const x = ["src"], B = /* @__PURE__ */ g({
3
3
  __name: "low-code-iframe",
4
4
  props: {
5
5
  app: {},
@@ -7,63 +7,68 @@ const x = ["src"], b = /* @__PURE__ */ v({
7
7
  iframeLoading: { type: Boolean }
8
8
  },
9
9
  emits: ["emit-change", "update:iframeLoading"],
10
- setup(n, { expose: c, emit: s }) {
11
- const a = n, r = u(() => {
10
+ setup(m, { expose: f, emit: u }) {
11
+ const a = m, i = p(() => {
12
12
  if (!a.app) return;
13
13
  let e = "";
14
14
  const o = "";
15
15
  let t = a.query || {};
16
16
  return a.app && (t.app = a.app), e = `${o}/api/node-low-code/v1/visitor/views/index?${new URLSearchParams(t).toString()}`, e;
17
- }), l = s, d = u({
17
+ }), s = u, r = p({
18
18
  get: () => a.iframeLoading,
19
- set: (e) => l("update:iframeLoading", e)
20
- }), p = (e) => {
19
+ set: (e) => s("update:iframeLoading", e)
20
+ }), d = (e) => {
21
21
  const { emitName: o = "", emitData: t = {} } = e.data || {};
22
- o === "app-mounted" ? d.value = !1 : l("emit-change", o, t);
22
+ o === "app-mounted" ? r.value = !1 : s("emit-change", o, t);
23
23
  };
24
- g(() => {
25
- window.addEventListener("message", p, !1);
26
- }), _(() => {
27
- window.removeEventListener("message", p, !1);
24
+ v(() => {
25
+ window.addEventListener("message", d, !1);
26
+ }), h(() => {
27
+ window.removeEventListener("message", d, !1);
28
28
  });
29
- const i = L(null), m = (e) => {
29
+ const n = L(null), l = (e) => {
30
30
  var o;
31
- d.value || (o = i.value) != null && o.contentWindow && i.value.contentWindow.postMessage(e);
31
+ r.value || (o = n.value) != null && o.contentWindow && n.value.contentWindow.postMessage(e);
32
32
  };
33
- c({
33
+ f({
34
34
  onActivated: () => {
35
- m({ type: "onActivated" });
35
+ l({ type: "onActivated" });
36
36
  },
37
37
  onDeactivated: () => {
38
- m({ type: "onDeactivated" });
38
+ l({ type: "onDeactivated" });
39
39
  }
40
40
  });
41
41
  const w = () => {
42
- var o, t, f;
43
- const { origin: e } = new URL(r.value || "", location.origin);
44
- e && ((f = (t = (o = i.value) == null ? void 0 : o.contentWindow) == null ? void 0 : t.postMessage) == null || f.call(
42
+ var o, t, c;
43
+ const { origin: e } = new URL(i.value || "", location.origin);
44
+ e && ((c = (t = (o = n.value) == null ? void 0 : o.contentWindow) == null ? void 0 : t.postMessage) == null || c.call(
45
45
  t,
46
46
  { type: "setProxSsoStatus", data: { visible: !0, parentHref: location.href } },
47
47
  e
48
48
  ));
49
49
  };
50
- return (e, o) => (y(), h("iframe", {
51
- class: "low-code-iframe",
50
+ return (e, o) => (y(), _("iframe", {
52
51
  id: "low-code-iframe",
53
- src: r.value,
52
+ class: "low-code-iframe",
53
+ src: i.value,
54
54
  frameborder: "0",
55
55
  sandbox: "allow-same-origin allow-scripts allow-forms allow-modals allow-popups allow-downloads allow-top-navigation",
56
56
  ref_key: "lowCodeRef",
57
- ref: i,
58
- onLoad: w
57
+ ref: n,
58
+ onLoad: w,
59
+ style: {
60
+ padding: 0,
61
+ margin: 0,
62
+ border: "none",
63
+ outline: "none",
64
+ height: "100%",
65
+ width: "100%",
66
+ minHeight: "100px",
67
+ minWidth: "100px"
68
+ }
59
69
  }, null, 40, x));
60
70
  }
61
- }), C = (n, c) => {
62
- const s = n.__vccOpts || n;
63
- for (const [a, r] of c)
64
- s[a] = r;
65
- return s;
66
- }, B = /* @__PURE__ */ C(b, [["__scopeId", "data-v-c5870bec"]]);
71
+ });
67
72
  export {
68
73
  B as LowCode
69
74
  };
Binary file
@@ -1 +0,0 @@
1
- .low-code-iframe[data-v-c5870bec]{padding:0;margin:0;border:none;outline:none;height:100%;width:100%;min-height:100px;min-width:100px}